/* Status color coding for archive category status */
.collection-status[data-status="archived"] {
  color: #b44c4c;
}
.collection-status[data-status="stable"] {
  color: #3cb371;
}
.collection-status[data-status="experimental"] {
  color: #e6b800;
}
/* Barely visible floating glyphs for device anchors */
@media (min-width: 900px) {
          [data-category="datarelics"] {
            --glyph-img: url(../assets/core/glyph-datarelics.png);
          }
          [data-category="biomechs"] {
            --glyph-img: url(../assets/core/glyph-biomechs.png);
          }
          [data-category="lightforms"] {
            --glyph-img: url(../assets/core/glyph-lightforms.png);
          }
          [data-category="chronoworks"] {
            --glyph-img: url(../assets/core/glyph-chronoworks.png);
          }
          [data-category="vectorforce"] {
            --glyph-img: url(../assets/core/glyph-vectorforce.png);
          }
        .glyph-cyborgworks-anchor {
          position: relative;
        }
        .glyph-cyborgworks-anchor::after {
      content: "";
          display: block;
          position: absolute;
          bottom: 19px;
          right: 0rem;
          width: 140px;
          height: 127px;
          /* background: url(../assets/core/glyph-cyborgworks.png)  no-repeat bottom right / contain; */
          opacity: 0.03;
          /* opacity: 0.6; */
          pointer-events: none;
          /* transform: translateY(-50%); */
          z-index: 2;
        }

        .glyph-glyphmarks-anchor {
          position: relative;
        }
        .glyph-glyphmarks-anchor::after {
          content: "";
          display: block;
          position: absolute;
          bottom: 19px;
          right: 0rem;
          width: 140px;
          height: 127px;
          /* background: url(../assets/core/glyph-glyphmarks.png) no-repeat bottom right / contain; */
          opacity: 0.03;
          /* opacity: 0.6; */
          pointer-events: none;
          /* transform: translateY(-50%); */
          z-index: 2;
        }

        .glyph-canvasworks-anchor {
          position: relative;
        }
        .glyph-canvasworks-anchor::after {
          content: "";
          display: block;
          position: absolute;
          bottom: 19px;
          right: 0rem;
          width: 140px;
          height: 127px;
          /* background: url(../assets/core/glyph-canvasworks.png) no-repeat bottom right / contain; */
          opacity: 0.03;
          pointer-events: none;
          /* transform: translateY(-50%); */
          z-index: 2;
        }

        .glyph-compositefields-anchor {
          position: relative;
        }
        .glyph-compositefields-anchor::after {
          content: "";
          display: block;
          position: absolute;
          bottom: 19px;
          right: 0rem;
          width: 140px;
          height: 127px;
          /* background: url(../assets/core/glyph-compositefields.png) no-repeat bottom right / contain; */
          opacity: 0.03;
          pointer-events: none;
          /* transform: translateY(-50%); */
          z-index: 2;
        }

        .glyph-typefacevault-anchor {
          position: relative;
        }
        .glyph-typefacevault-anchor::after {
          content: "";
          display: block;
          position: absolute;
          bottom: 19px;
          right: 0rem;
          width: 140px;
          height: 127px;
          /* background: url(../assets/core/glyph-typefacevault.png) no-repeat bottom right / contain; */
          opacity: 0.03;
          pointer-events: none;
          /* transform: translateY(-50%); */
          z-index: 2;
        }

        .glyph-signalsheets-anchor {
          position: relative;
        }
        .glyph-signalsheets-anchor::after {
          content: "";
          display: block;
          position: absolute;
          bottom: 19px;
          right: 0rem;
          width: 140px;
          height: 127px;
          /* background: url(../assets/core/glyph-signalsheets.png) no-repeat bottom right / contain; */
          opacity: 0.03;
          pointer-events: none;
          /* transform: translateY(-50%); */
          z-index: 2;
        }

        .glyph-processrelics-anchor {
          position: relative;
        }
        .glyph-processrelics-anchor::after {
          content: "";
          display: block;
          position: absolute;
          bottom: 19px;
          right: 0rem;
          width: 140px;
          height: 127px;
          /* background: url(../assets/core/glyph-processrelics.png) no-repeat bottom right / contain; */
          opacity: 0.03;
          pointer-events: none;
          /* transform: translateY(-50%); */
          z-index: 2;
        }

        .glyph-eracollections-anchor {
          position: relative;
        }
        .glyph-eracollections-anchor::after {
          content: "";
          display: block;
          position: absolute;
          bottom: 19px;
          right: 0rem;
          width: 140px;
          height: 127px;
          /* background: url(../assets/core/glyph-eracollections.png) no-repeat bottom right / contain; */
          opacity: 0.03;
          pointer-events: none;
          /* transform: translateY(-50%); */
          z-index: 2;
        }
      .glyph-hologrids-anchor {
        position: relative;
      }
      .glyph-hologrids-anchor::after {
        content: "";
        display: block;
        position: absolute;
        bottom: 19px;
        right: 0rem;
        width: 140px;
        height: 127px;
        background: url(../assets/core/glyph-hologrids.png) no-repeat bottom right / contain;
          opacity: 0.03;
          /* opacity: 0.6; */
        pointer-events: none;
        /* transform: translateY(-50%); */
        z-index: 2;
      }

      .glyph-techpanels-anchor {
        position: relative;
      }
      .glyph-techpanels-anchor::after {
        content: "";
        display: block;
        position: absolute;
        bottom: 19px;
        right: 0rem;
        width: 140px;
        height: 127px;
        background: url(../assets/core/glyph-techpanels.png) no-repeat bottom right / contain;
        opacity: 0.03;
           /* opacity: 0.6; */
        pointer-events: none;
        /* transform: translateY(-50%); */
        z-index: 2;
      }

      .glyph-quantumlattice-anchor {
        position: relative;
      }
      .glyph-quantumlattice-anchor::after {
        content: "";
        display: block;
        position: absolute;
        bottom: 19px;
        right: 0rem;
        width: 140px;
        height: 127px;
        background: url(../assets/core/glyph-quantumlattice.png) no-repeat bottom right / contain;
        opacity: 0.03;
           /* opacity: 0.6; */
        pointer-events: none;
        /* transform: translateY(-50%); */
        z-index: 2;
      }

      .glyph-futurecircuits-anchor {
        position: relative;
      }
      .glyph-futurecircuits-anchor::after {
        content: "";
        display: block;
        position: absolute;
        bottom: 19px;
        right: 0rem;
        width: 140px;
        height: 127px;
        background: url(../assets/core/glyph-futurecircuits.png) no-repeat bottom right / contain;
        opacity: 0.03;
           /* opacity: 0.6; */
        pointer-events: none;
        /* transform: translateY(-50%); */
        z-index: 2;
      }
  [data-category] {
    position: relative;
  }

  [data-category]::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 10px;
    right: 0rem;
    width: 140px;
    height: 127px;
    background: var(--glyph-img) no-repeat bottom right / contain;
    opacity: 0.047;
       /* opacity: 0.6; */
    pointer-events: none;
    /* transform: translateY(-50%); */
    z-index: 2;
  }

  [data-category="cybertools"] {
    --glyph-img: url(../assets/core/glyph-cybertools.png);
  }
  [data-category="controldeck"] {
    --glyph-img: url(../assets/core/glyph-controldeck.png);
  }
  [data-category="cyberwear"] {
    --glyph-img: url(../assets/core/glyph-cyberwear.png);
  }
}
.enlargeable-image-style {
  /* outline: 1.5px solid #5fffd7 !important; */
  outline:  1.5px solid  dodgerblue !important
}
.enlargeable-image-style:hover,
.enlargeable-image-style:focus {
  /* outline: 3px solid #5fffd7 !important; */
  outline:  3px solid  dodgerblue !important
}
/* Enlargement image style and states */
.enlargeable-image-style {
  cursor: zoom-in;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
  transition: box-shadow 0.2s, outline 0.2s;
}
.enlargeable-image-style:hover,
.enlargeable-image-style:focus {
  box-shadow: 0 4px 24px 0 rgba(95,255,215,0.18), 0 2px 12px 0 rgba(0,0,0,0.18);
  outline: 2px solid #5fffd7;
  outline-offset: 2px;
}
/* Accessibility focus ring for enlargeable image */
.enlargeable-image:focus {
  outline: 2px solid #5fffd7;
  outline-offset: 2px;
}
/* Venus image sizing for normal and modal view */
.item-detail img {
  max-width: 35em;
  transition: max-width 0.2s;
}
.image-modal.active img {
  max-width: 70em;
  outline:  1.5px solid  dodgerblue !important
}

/* Modal-style image enlarge for venus.html */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.2s;
  opacity: 0;
}
.image-modal.active {
  opacity: 1;
}
.image-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  /* background: rgba(30,32,40,0.65); */
      background: rgb(6 6 6 / 91%);
  z-index: 0;
  transition: background 0.2s;
}
.image-modal-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 90vh;
}
.image-modal-content img {
  max-width: 80vw;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.35);
  background: #222;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.modal-open {
  overflow: hidden;
}


.item-image img {
  /* cursor: zoom-in;   */
  transition: transform 0.2s ease; /* optional, for smooth hover effects */
}

/* .item-image img:hover {
  transform: scale(1.02);  
} */







.scanline {
  position: relative;
}

.scanline::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.03),
    rgba(255,255,255,0.03) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  opacity: 0.15;
}


 
[data-augmented-ui] {
  position: relative;
  background: transparent !important;
  z-index: 0;
}

[data-augmented-ui]::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: var(--aug-border-bg, #21211f); */
  z-index: -2;
}

[data-augmented-ui]::after {
  content: "";
  position: absolute;
  inset: var(--aug-border, 1px);
  background: var(--aug-inlay-bg, transparent);
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--aug-cut, 16px)),
    calc(100% - var(--aug-cut, 16px)) 100%,
    0 100%
  );
  z-index: -1;
}


 

/* content grid */
.panel-info .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

/* Fullscreen image effect for venus.html */
.image-fullscreen {
  overflow: hidden;
}
.fullscreen-toggle.fullscreen-active {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
  z-index: 9999;
  background: rgba(0,0,0,0.95);
  box-shadow: 0 0 40px 10px rgba(0,0,0,0.7);
  cursor: zoom-out;
}
.fullscreen-toggle {
  cursor: zoom-in;
  transition: box-shadow 0.2s, transform 0.2s;
}

.info-card h3 {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted, #9aa0b2);
  margin-bottom: 0.25rem;
}

.info-card p {
  font-size: 0.9rem;
  margin: 0;
}

/* .cut-br {
    --aug-border: 1px;
    --aug-cut: 16px;
    --aug-border-bg: #4545ff;
    --aug-inlay-bg: #1a202f;
    border: 5px solid #4545ff;
    border-right: 25px solid #4545ff;
} */

.cut-br {
  --aug-border: 1px;
  --aug-cut: 16px;
  --aug-border-bg: #0e0e18;  
  --aug-inlay-bg: #1a202f;    
   --aug-inlay-bg: #0a152f; 
    border-left: 3px solid #0088ff;
}


.cut-br.dim {
  --aug-border-bg: #21211f;
}

.cut-br.alert {
  --aug-border-bg: #ff3b3b;
}


[data-augmented-ui] {
  position: relative;
  z-index: 0;
  background: transparent;
}

[data-augmented-ui]::before,
[data-augmented-ui]::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

[data-augmented-ui]::before {
  background: var(--aug-border-bg);
  z-index: -2;
}

[data-augmented-ui]::after {
  inset: var(--aug-border);
  background: var(--aug-inlay-bg);
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--aug-cut)),
    calc(100% - var(--aug-cut)) 100%,
    0 100%
  );
  z-index: -1;
}



section.panel-info.cut-br {
    padding-top: 0.005em;
    padding-bottom: 0.05em;
}


section.panel-info.cut-br p {
    padding-top: 0.005em;
    padding-bottom: 0.05em;
    margin: 0.05em;
        padding-left: 0.5rem;
}

.border-top-purple, .bt-purple {

      border-top: 4px #8000ff solid;
}

.border-top-red, .bt-red {

      border-top: 4px #ff0000 solid;
}

.border-top-yellow, .bt-yellow {

      border-top: 4px #ffcc00 solid;
}

.border-top-green, .bt-green {

      border-top: 4px #00ff00 solid;
}

.border-top-blue, .bt-blue {

      border-top: 4px #0000ff solid;
}

.inset-blue {
    --aug-border: 1px;
    --aug-cut: 16px;
    --aug-border-bg: #4545ff;
    --aug-inlay-bg: #1a202f;
    border: 5px solid #4545ff;
    border-right: 25px solid #4545ff;
}

/* .collection-entry:hover.glyph-glyphmarks-anchor::after,
.collection-entry:hover.glyph-canvasworks-anchor::after,
.collection-entry:hover.glyph-compositefields-anchor::after,
.collection-entry:hover.glyph-typefacevault-anchor::after,
.collection-entry:hover.glyph-signalsheets-anchor::after,
.collection-entry:hover.glyph-processrelics-anchor::after,
.collection-entry:hover.glyph-eracollections-anchor::after,
.collection-entry:hover.glyph-hologrids-anchor::after,
.collection-entry:hover.glyph-techpanels-anchor::after,
.collection-entry:hover.glyph-quantumlattice-anchor::after,
.collection-entry:hover.glyph-futurecircuits-anchor::after,
.collection-entry:hover [data-category]::after {
  opacity: 0.6;
} */

 .collection-entry:hover::after {
  opacity: 0.3;
 }

  .collection-entry:focus::after {
  opacity: 0.3;
 }