/* CINNANA — Emre interactive archive containment + holo display */

#shelves.emre-holo-archive {
  --holo-cyan: #a9f5fb;
  --holo-cyan-soft: rgba(169, 245, 251, 0.72);
  --holo-line: rgba(142, 233, 244, 0.4);
  position: relative;
  overflow: hidden;
  display: block;
  min-width: 0;
  min-height: 520px;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  color: #ecffff;
  background:
    linear-gradient(165deg, rgba(7, 20, 28, 0.99), rgba(18, 41, 53, 0.98) 48%, rgba(10, 24, 34, 0.99)),
    radial-gradient(circle at 82% 18%, rgba(88, 238, 255, 0.22), transparent 17rem);
  border: 1px solid rgba(130, 234, 247, 0.52);
  border-radius: 1rem;
  box-shadow:
    0 26px 65px rgba(3, 18, 27, 0.42),
    0 0 0 1px rgba(168, 244, 250, 0.06) inset,
    0 0 38px rgba(65, 218, 235, 0.08) inset;
  isolation: isolate;
  animation: emreBoardFlicker 7.5s linear infinite;
}

#shelves.emre-holo-archive::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(220, 255, 255, 0.028) 0 1px,
      transparent 1px 4px
    ),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.015),
      rgba(255,255,255,0.002) 24%,
      rgba(126, 235, 247, 0.03) 55%,
      rgba(255,255,255,0.006)
    );
  mix-blend-mode: screen;
}

#shelves.emre-holo-archive::after {
  content: "";
  position: absolute;
  inset: -18% -30%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(150, 249, 255, 0.09), transparent 22%),
    linear-gradient(100deg, transparent 20%, rgba(189, 252, 255, 0.04) 42%, transparent 58%);
  animation: emreScreenSweep 10s linear infinite;
}

#shelves .emre-holo-title {
  position: relative;
  min-width: 0;
  margin: 0 0 1.35rem;
  padding: 1rem 1.15rem 1.1rem;
  color: #ecffff;
  background: linear-gradient(180deg, rgba(15, 39, 49, 0.72), rgba(8, 20, 30, 0.35));
  border: 1px solid rgba(142, 234, 245, 0.16);
  clip-path: polygon(0 0, calc(100% - 1.25rem) 0, 100% 1.25rem, 100% 100%, 0 100%);
  box-shadow: inset 0 0 18px rgba(91, 226, 242, 0.05);
}

#shelves .emre-holo-title .eyebrow {
  color: #9deef6;
}

#shelves .emre-holo-title h2 {
  position: relative;
  display: inline-block;
  margin: 0;
  color: #f2feff;
  text-shadow: 0 0 12px rgba(152, 245, 252, 0.1);
  animation: emreHeadingGlitch 9s steps(1, end) infinite;
}

#shelves .emre-holo-title h2::before,
#shelves .emre-holo-title h2::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

#shelves .emre-holo-title .reliquary-intro {
  margin-bottom: 0;
  color: rgba(229, 250, 252, 0.78);
}

#shelves .emre-holo-statusbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

#shelves .emre-holo-statusbar span {
  display: inline-flex;
  min-width: 0;
  padding: 0.35rem 0.6rem;
  color: #b7f9ff;
  background: rgba(89, 196, 214, 0.08);
  border: 1px solid rgba(143, 233, 244, 0.22);
  border-radius: 999px;
  font-size: 0.53rem;
  letter-spacing: 0.1em;
  overflow-wrap: anywhere;
}

#shelves .emre-holo-grid {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  width: 100%;
  min-width: 0;
  align-items: stretch;
}

#shelves .emre-holo-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: auto;
  min-width: 0 !important;
  max-width: 100%;
  min-height: 330px;
  padding: 1rem 1rem 1.2rem;
  color: #efffff;
  background:
    linear-gradient(180deg, rgba(12, 34, 44, 0.9), rgba(9, 24, 35, 0.94)),
    radial-gradient(circle at 50% 0%, rgba(119, 242, 255, 0.08), transparent 40%);
  border: 1px solid var(--holo-line);
  border-radius: 0.2rem;
  clip-path: polygon(0 0, calc(100% - 1rem) 0, 100% 1rem, 100% 100%, 1rem 100%, 0 calc(100% - 1rem));
  box-shadow:
    0 0 0 1px rgba(128, 234, 245, 0.06) inset,
    0 0 22px rgba(84, 217, 234, 0.08),
    inset 0 0 26px rgba(102, 222, 238, 0.035);
}

#shelves .emre-holo-card,
#shelves .emre-holo-card * {
  box-sizing: border-box;
}

#shelves .emre-holo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.018), transparent 18%, transparent 78%, rgba(119, 228, 239, 0.02)),
    repeating-linear-gradient(to bottom, rgba(255,255,255,0.016) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
}

#shelves .emre-holo-card::after {
  content: "";
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  width: 1.9rem;
  height: 1.9rem;
  border-right: 1px solid rgba(153, 240, 249, 0.44);
  border-bottom: 1px solid rgba(153, 240, 249, 0.44);
}

#shelves .holo-card-glowline {
  position: absolute;
  top: 0.55rem;
  left: 0.8rem;
  width: calc(100% - 1.6rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 246, 251, 0.85), transparent);
  box-shadow: 0 0 12px rgba(149, 242, 249, 0.3);
}

#shelves .holo-card-topline {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 0;
  margin-bottom: 0.9rem;
  padding-top: 0.2rem;
  color: rgba(179, 244, 250, 0.72);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#shelves .holo-card-topline span {
  min-width: 0;
  overflow-wrap: anywhere;
}

#shelves .emre-holo-card .eyebrow {
  color: #8de3ee;
  overflow-wrap: anywhere;
}

#shelves .emre-holo-card h3 {
  margin: 0 0 0.7rem;
  color: #f4feff;
  font-family: "Fraunces", serif;
  font-size: clamp(1.05rem, 1.45vw, 1.4rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

#shelves .emre-holo-card p:not(.eyebrow) {
  color: rgba(226, 248, 251, 0.82);
}

#shelves .holo-card-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 3.2rem;
  height: 3.2rem;
  max-width: 100%;
  margin-bottom: 1rem;
  color: #c5fbff;
  background: radial-gradient(circle at 50% 40%, rgba(137, 243, 253, 0.12), rgba(78, 189, 204, 0.04));
  border: 1px solid rgba(155, 240, 248, 0.36);
  font-size: 1.3rem;
}

#shelves .holo-note-copy {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 9.8rem;
  margin: 0 0 1.6rem;
  color: rgba(226, 248, 251, 0.84);
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  line-height: 1.82;
  overflow-wrap: anywhere;
}

#shelves .holo-typed-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

#shelves .holo-type-cursor {
  display: inline-block;
  margin-left: 0.08em;
  color: #b8f9ff;
  animation: emreCursorBlink 0.78s steps(1, end) infinite;
}

#shelves .holo-card-status {
  position: static;
  display: block;
  margin-top: auto;
  color: rgba(166, 239, 247, 0.58);
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}

#shelves .holo-gallery-open {
  display: block;
  flex: 0 0 auto;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding: 0;
  margin: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

#shelves .holo-gallery-frame {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  aspect-ratio: 16 / 10;
  margin-bottom: 1rem;
  background: #071923;
  border: 1px solid rgba(142, 233, 244, 0.38);
  clip-path: polygon(0 0, calc(100% - 0.85rem) 0, 100% 0.85rem, 100% 100%, 0.85rem 100%, 0 calc(100% - 0.85rem));
}

#shelves .holo-gallery-image {
  position: absolute !important;
  inset: 0 !important;
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  opacity: 0.84;
  filter: saturate(0.72) contrast(1.08) brightness(0.9);
  transition: opacity 180ms ease, transform 420ms ease, filter 180ms ease;
}

#shelves .holo-gallery-open:hover .holo-gallery-image,
#shelves .holo-gallery-open:focus-visible .holo-gallery-image {
  opacity: 1;
  filter: saturate(0.88) contrast(1.08) brightness(1);
  transform: scale(1.025);
}

#shelves .holo-gallery-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(to bottom, rgba(229, 255, 255, 0.035) 0 1px, transparent 1px 5px),
    linear-gradient(100deg, transparent 20%, rgba(213, 255, 255, 0.08) 45%, transparent 62%);
  mix-blend-mode: screen;
  animation: emreGallerySweep 6.5s linear infinite;
}

#shelves .holo-gallery-expand {
  position: absolute;
  right: 0.7rem;
  bottom: 0.65rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: #c9fbff;
  background: rgba(4, 20, 29, 0.68);
  border: 1px solid rgba(157, 239, 248, 0.4);
}

#shelves .holo-gallery-copy {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 8.8rem;
}

#shelves .holo-gallery-copy p {
  overflow-wrap: anywhere;
}

#shelves .holo-gallery-controls {
  display: grid;
  grid-template-columns: 2rem auto minmax(0, 1fr) 2rem;
  gap: 0.4rem;
  align-items: center;
  width: 100%;
  min-width: 0;
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(139, 230, 241, 0.16);
}

#shelves .holo-gallery-controls button {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  color: #c5faff;
  background: rgba(91, 199, 214, 0.08);
  border: 1px solid rgba(143, 233, 244, 0.26);
  cursor: pointer;
}

#shelves .holo-gallery-count {
  color: rgba(183, 241, 247, 0.65);
  font-size: 0.48rem;
  white-space: nowrap;
}

#shelves .holo-gallery-dots {
  display: flex;
  min-width: 0;
  justify-content: flex-end;
  gap: 0.28rem;
}

#shelves .holo-gallery-dot {
  flex: 0 0 auto;
  width: 0.34rem;
  height: 0.34rem;
  background: rgba(165, 236, 244, 0.22);
  border: 1px solid rgba(165, 236, 244, 0.22);
  border-radius: 50%;
}

#shelves .holo-gallery-dot.is-active {
  background: #baf7fc;
  box-shadow: 0 0 8px rgba(154, 242, 249, 0.35);
}

/* Boot screen */
#shelves .emre-holo-boot {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  color: #d9fdff;
  background:
    repeating-linear-gradient(to bottom, rgba(229, 255, 255, 0.04) 0 1px, transparent 1px 5px),
    rgba(3, 17, 24, 0.97);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#shelves.is-booting .emre-holo-boot {
  opacity: 1;
  visibility: visible;
  animation: emreBootFlash 1.65s steps(1, end) both;
}

#shelves .emre-holo-boot-frame {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  width: min(82%, 30rem);
  padding: 2rem;
  border: 1px solid rgba(151, 240, 249, 0.48);
  text-align: center;
}

/* Lightbox containment */
.emre-lightbox[hidden] {
  display: none !important;
}

.emre-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}

.emre-lightbox-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 14, 21, 0.88);
  border: 0;
  backdrop-filter: blur(10px);
}

.emre-lightbox-panel {
  position: relative;
  z-index: 1;
  overflow: auto;
  width: min(100%, 66rem);
  max-height: calc(100vh - 2rem);
  padding: clamp(1rem, 2vw, 1.6rem);
  color: #edfeff;
  background: linear-gradient(155deg, rgba(9, 30, 39, 0.99), rgba(5, 18, 27, 0.99));
  border: 1px solid rgba(146, 237, 247, 0.48);
}

.emre-lightbox-image-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  max-height: 62vh;
  background: #061722;
  border: 1px solid rgba(147, 235, 245, 0.28);
}

.emre-lightbox-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 62vh;
  object-fit: contain;
}

@keyframes emreBoardFlicker {
  0%, 9%, 11%, 35%, 37%, 62%, 64%, 100% { opacity: 1; }
  10% { opacity: 0.985; }
  36% { opacity: 0.992; }
  63% { opacity: 0.987; }
}

@keyframes emreScreenSweep {
  0% { transform: translateX(-3%) translateY(0%); opacity: 0.45; }
  50% { transform: translateX(2%) translateY(1.5%); opacity: 0.62; }
  100% { transform: translateX(-3%) translateY(0%); opacity: 0.45; }
}

@keyframes emreHeadingGlitch {
  0%, 7%, 9%, 43%, 45%, 78%, 80%, 100% { transform: none; }
  8% { transform: translateX(1px); }
  44% { transform: translateX(-1px); }
  79% { transform: translateY(1px); }
}

@keyframes emreCursorBlink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

@keyframes emreGallerySweep {
  0% { transform: translateX(-20%); opacity: 0.5; }
  50% { opacity: 0.9; }
  100% { transform: translateX(20%); opacity: 0.5; }
}

@keyframes emreBootFlash {
  0% { opacity: 1; filter: brightness(1.7); }
  8% { opacity: 0.42; }
  12% { opacity: 1; }
  18% { opacity: 0.62; }
  24%, 72% { opacity: 1; filter: brightness(1); }
  78% { opacity: 0.18; }
  82% { opacity: 0.9; }
  100% { opacity: 0; visibility: hidden; }
}

@media (max-width: 1120px) {
  #shelves .emre-holo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  #shelves.emre-holo-archive {
    padding: 1rem;
  }

  #shelves .emre-holo-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  #shelves .emre-holo-card {
    min-height: 0;
  }

  #shelves .holo-note-copy,
  #shelves .holo-gallery-copy {
    min-height: 0;
  }

  .emre-lightbox {
    padding: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #shelves.emre-holo-archive,
  #shelves.emre-holo-archive::after,
  #shelves .emre-holo-title h2,
  #shelves .holo-type-cursor,
  #shelves .holo-gallery-scan,
  #shelves.is-booting .emre-holo-boot {
    animation: none !important;
  }

  #shelves .emre-holo-boot {
    display: none !important;
  }

  #shelves .holo-gallery-image {
    transition: none !important;
  }
}


/* =========================
   EMRE SHRINE — EVIDENCE LOCKER
   ========================= */

.emre-evidence-locker {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  background:
    linear-gradient(rgba(255, 248, 240, 0.94), rgba(255, 248, 240, 0.94)),
    repeating-linear-gradient(
      0deg,
      transparent 0 27px,
      rgba(73, 106, 120, 0.07) 27px 28px
    );
  border-color: rgba(73, 106, 120, 0.34);
  box-shadow:
    0 18px 42px rgba(45, 72, 83, 0.13),
    inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

.emre-evidence-locker::before,
.emre-evidence-locker::after {
  content: "";
  position: absolute;
  width: 2.6rem;
  height: 2.6rem;
  pointer-events: none;
  opacity: 0.52;
}

.emre-evidence-locker::before {
  top: 0.85rem;
  left: 0.85rem;
  border-top: 1px solid #6f929d;
  border-left: 1px solid #6f929d;
}

.emre-evidence-locker::after {
  right: 0.85rem;
  bottom: 0.85rem;
  border-right: 1px solid #6f929d;
  border-bottom: 1px solid #6f929d;
}

.evidence-paperclip {
  position: absolute;
  top: -0.3rem;
  right: 4.5rem;
  z-index: 3;
  width: 1.15rem;
  height: 3.7rem;
  border: 2px solid rgba(72, 92, 98, 0.5);
  border-bottom: 0;
  border-radius: 0.7rem 0.7rem 0 0;
  transform: rotate(8deg);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.26);
}

.evidence-paperclip::after {
  content: "";
  position: absolute;
  top: 0.35rem;
  left: 0.22rem;
  width: 0.52rem;
  height: 2.65rem;
  border: 1px solid rgba(72, 92, 98, 0.42);
  border-bottom: 0;
  border-radius: 0.55rem 0.55rem 0 0;
}

.evidence-coffee-ring {
  position: absolute;
  right: -1.8rem;
  bottom: -2.4rem;
  width: 8.5rem;
  height: 8.5rem;
  border: 8px double rgba(121, 72, 52, 0.075);
  border-radius: 50%;
  transform: rotate(-12deg);
  pointer-events: none;
}

.evidence-locker-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1rem;
}

.evidence-locker-header h2 {
  margin-bottom: 0;
}

.evidence-case-tab {
  flex: 0 0 auto;
  margin-top: -0.15rem;
  padding: 0.48rem 0.7rem;
  color: #edfafd;
  background: #496a78;
  border: 1px solid #344d59;
  border-radius: 0.2rem 0.2rem 0 0;
  box-shadow: 4px 5px 0 rgba(52, 77, 89, 0.12);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  transform: rotate(1.2deg);
  white-space: nowrap;
}

.evidence-file-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.65rem 0.75rem;
  color: #496a78;
  background: rgba(184, 220, 224, 0.17);
  border: 1px solid rgba(73, 106, 120, 0.2);
  font-size: 0.5rem;
  letter-spacing: 0.09em;
}

.evidence-file-meta span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.evidence-registration-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.65rem;
  align-items: center;
  margin: 0.95rem 0 0.4rem;
  color: rgba(73, 106, 120, 0.75);
  font-size: 0.5rem;
  letter-spacing: 0.14em;
}

.evidence-registration-line span {
  height: 1px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(73, 106, 120, 0.42) 0 5px,
      transparent 5px 9px
    );
}

.evidence-ledger {
  position: relative;
  z-index: 1;
  display: grid;
}

.evidence-item {
  position: relative;
  border-bottom: 1px dashed rgba(73, 106, 120, 0.25);
}

.evidence-item:last-child {
  border-bottom: 0;
}

.evidence-item summary {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) 1.8rem;
  gap: 0.75rem;
  align-items: center;
  min-width: 0;
  padding: 0.9rem 0.15rem;
  cursor: pointer;
  list-style: none;
}

.evidence-item summary::-webkit-details-marker {
  display: none;
}

.evidence-item summary:hover,
.evidence-item summary:focus-visible {
  background: linear-gradient(90deg, rgba(103, 160, 171, 0.08), transparent);
  outline: none;
}

.evidence-id {
  color: #496a78;
  font-family: "Fraunces", serif;
  font-size: 1rem;
  font-weight: 700;
}

.evidence-main {
  min-width: 0;
}

.evidence-main strong,
.evidence-main small {
  display: block;
}

.evidence-main strong {
  color: var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 0.69rem;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.evidence-main small {
  margin-top: 0.22rem;
  color: var(--ink-soft);
  font-size: 0.52rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.evidence-toggle {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  color: #496a78;
  border: 1px solid rgba(73, 106, 120, 0.27);
  border-radius: 50%;
  font-size: 0.8rem;
  transition: transform 160ms ease;
}

.evidence-item[open] .evidence-toggle {
  transform: rotate(45deg);
}

.evidence-item-note {
  position: relative;
  display: grid;
  gap: 0.55rem;
  margin: 0 0.25rem 0.9rem 4rem;
  padding: 0.75rem 0.85rem;
  color: var(--ink-soft);
  background: rgba(223, 240, 239, 0.18);
  border-left: 2px solid rgba(73, 106, 120, 0.36);
}

.evidence-item-note p {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 0.72rem;
  line-height: 1.65;
}

.evidence-stamp {
  justify-self: start;
  padding: 0.28rem 0.45rem;
  color: #496a78;
  border: 2px solid rgba(73, 106, 120, 0.48);
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transform: rotate(-1deg);
}

.evidence-domestic-stamp {
  color: #8e354a;
  border-color: rgba(142, 53, 74, 0.48);
  transform: rotate(1.3deg);
}

.evidence-handwriting {
  justify-self: end;
  color: #a03f59;
  font-family: "Fraunces", serif;
  font-size: 0.84rem;
  font-style: italic;
  transform: rotate(-2deg);
}

.evidence-handwriting-loud {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: rotate(-3deg);
}

.evidence-pages::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1.45rem;
  height: 1.45rem;
  background:
    linear-gradient(
      225deg,
      rgba(73, 106, 120, 0.13) 0 49%,
      transparent 50%
    );
  pointer-events: none;
}

.evidence-ink-test {
  justify-self: start;
  max-width: 9rem;
  overflow: hidden;
  color: rgba(73, 106, 120, 0.42);
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, #000 0 58%, transparent 100%);
}

.evidence-locker-footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: end;
  margin-top: 1rem;
  padding-top: 0.85rem;
  color: rgba(73, 106, 120, 0.7);
  border-top: 1px solid rgba(73, 106, 120, 0.22);
  font-size: 0.46rem;
  letter-spacing: 0.09em;
}

.evidence-barcode {
  display: block;
  width: 7rem;
  height: 1.65rem;
  background:
    repeating-linear-gradient(
      90deg,
      #496a78 0 2px,
      transparent 2px 4px,
      #496a78 4px 5px,
      transparent 5px 8px,
      #496a78 8px 12px,
      transparent 12px 14px
    );
  opacity: 0.72;
}

@media (max-width: 760px) {
  .evidence-locker-header {
    flex-direction: column;
  }

  .evidence-file-meta {
    grid-template-columns: 1fr;
  }

  .evidence-item summary {
    grid-template-columns: 2.7rem minmax(0, 1fr) 1.7rem;
    gap: 0.55rem;
  }

  .evidence-item-note {
    margin-left: 3.3rem;
  }

  .evidence-locker-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .evidence-toggle {
    transition: none;
  }
}
