:root {
  color-scheme: dark;
  --ink: #090b0e;
  --paper: #d7c49c;
  --paper-light: #efe1bf;
  --red: #9e1f25;
  --red-bright: #cf3740;
  --steel: #8e999d;
  --line: rgba(229, 211, 169, 0.38);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; margin: 0; }

body {
  background: var(--ink);
  color: var(--paper-light);
  font-family: "Cormorant Garamond", Georgia, serif;
  overflow-x: hidden;
}

button { font: inherit; }

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  transform: translateY(-180%);
  background: var(--paper-light);
  color: var(--ink);
  padding: .65rem 1rem;
}
.skip-link:focus { transform: none; }

.archive {
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(440px, 1fr) auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 26%, rgba(125, 144, 153, .18), transparent 32%),
    linear-gradient(135deg, #0b1015, #050607 74%);
}

.grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .18;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.masthead {
  position: absolute;
  z-index: 5;
  top: clamp(1.2rem, 3vw, 2.8rem);
  left: clamp(1.25rem, 5vw, 5rem);
  text-shadow: 0 3px 18px #000;
}

.eyebrow, .entry-code, footer, .progress-copy {
  font-family: "Special Elite", "Courier New", monospace;
  letter-spacing: .13em;
}

.eyebrow {
  margin: 0 0 .45rem;
  color: #c7b481;
  font-size: clamp(.72rem, 1.1vw, .9rem);
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 6.7rem);
  line-height: .76;
  font-weight: 600;
}

.subtitle {
  margin: .65rem 0 0 clamp(1rem, 5vw, 5rem);
  color: #c7b481;
  font-size: clamp(1.25rem, 2.8vw, 2.4rem);
  font-style: italic;
}

.desk {
  grid-row: 1 / 4;
  min-height: 100svh;
  position: relative;
}

.desk-art {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 4, 5, .38), transparent 30%, transparent 72%, rgba(3, 4, 5, .25)),
    url("desk-belux.png") center / cover no-repeat;
  filter: saturate(.82) contrast(1.08);
}

.griffin-shadow {
  position: absolute;
  z-index: 2;
  top: 47%;
  left: 57%;
  width: clamp(20rem, 39vw, 42rem);
  height: auto;
  opacity: .48;
  pointer-events: none;
  mix-blend-mode: multiply;
  filter: blur(1.2px);
  transform-origin: 50% 48%;
  animation: griffin-flight 8s ease-in-out infinite;
}

.hotspot {
  --size: clamp(3.25rem, 5vw, 5rem);
  position: absolute;
  z-index: 4;
  width: var(--size);
  height: var(--size);
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.hotspot .pulse {
  position: absolute;
  inset: 30%;
  border: 1px solid rgba(231, 219, 190, .8);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(158, 31, 37, .6), 0 0 18px rgba(255,255,255,.22);
  animation: signal 2.8s infinite;
  opacity: .24;
  transition: opacity .2s, transform .2s;
}
.hotspot:hover .pulse, .hotspot:focus-visible .pulse {
  opacity: 1;
  transform: scale(1.15);
}
.hotspot:focus-visible { outline: 1px dashed var(--paper-light); outline-offset: 3px; }
.hotspot.found .pulse { background: var(--red); border-color: #e9b8ad; opacity: .8; }

.hotspot-label {
  position: absolute;
  top: calc(100% + .2rem);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  white-space: nowrap;
  padding: .25rem .45rem;
  background: rgba(6, 7, 8, .82);
  border: 1px solid var(--line);
  font: .78rem "Special Elite", monospace;
  opacity: 0;
  transition: .2s ease;
}
.hotspot:hover .hotspot-label, .hotspot:focus-visible .hotspot-label { opacity: 1; transform: translateX(-50%); }

.hotspot-star { left: 54%; top: 17%; }
.hotspot-file {
  --size: clamp(11rem, 19vw, 18rem);
  left: 7%;
  top: 34%;
  border-radius: 3px;
  filter: drop-shadow(0 13px 9px rgba(0, 0, 0, .58));
  transform: rotate(-7deg);
}
.hotspot-file img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .28s ease, filter .28s ease;
}
.hotspot-file:hover img,
.hotspot-file:focus-visible img { transform: translateY(-5px) rotate(2deg) scale(1.035); filter: brightness(1.08); }
.hotspot-file .pulse { inset: 42%; }
.hotspot-file .hotspot-label { top: 78%; }
.hotspot-compass {
  --size: clamp(9.5rem, 11.5vw, 12rem);
  left: 23.75%;
  top: 81%;
  transform: translate(-50%, -50%);
}
.hotspot-compass::before {
  content: "";
  position: absolute;
  inset: 7%;
  z-index: 1;
  border: 1px solid rgba(188, 159, 100, .2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(202, 184, 144, .03) 0 45%, rgba(16, 14, 11, .18) 76%, rgba(5, 5, 4, .28));
  box-shadow: inset 0 0 18px rgba(0, 0, 0, .38), 0 0 8px rgba(173, 137, 72, .08);
  pointer-events: none;
}
.compass-needle {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 76%;
  border-radius: 100%;
  background: linear-gradient(to bottom, #b62e31 0 48%, #262421 49% 100%);
  box-shadow: 0 0 2px rgba(0, 0, 0, .9), 0 0 5px rgba(182, 46, 49, .35);
  transform: translate(-50%, -50%) rotate(90deg);
  animation: compass-bearing 14s cubic-bezier(.45, 0, .25, 1) infinite;
}
.compass-needle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: .62rem;
  height: .62rem;
  border-radius: 50%;
  background: #a78b55;
  border: 1px solid #2e2518;
  transform: translate(-50%, -50%);
}
.hotspot-tower { left: 74%; top: 39%; }
.hotspot-griffin { left: 70%; top: 72%; }
.hotspot-ring {
  --size: clamp(7.5rem, 12vw, 11.5rem);
  left: 49%;
  top: 52%;
  filter: drop-shadow(0 12px 10px rgba(0, 0, 0, .62));
}
.hotspot-ring img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .3s ease, filter .3s ease;
}
.hotspot-ring:hover img,
.hotspot-ring:focus-visible img { transform: rotate(-4deg) scale(1.08); filter: brightness(1.13); }
.hotspot-ring .pulse { inset: 39%; }
.hotspot-ring .hotspot-label { top: 88%; }

.progress-wrap {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 3.2rem;
  width: min(24rem, calc(100% - 2.5rem));
  transform: translateX(-50%);
  text-align: center;
  text-shadow: 0 2px 7px #000;
}
.progress-copy { font-size: .8rem; }
.progress-track { height: 3px; margin-top: .5rem; background: rgba(255,255,255,.18); }
#progress-bar { display: block; width: 0; height: 100%; background: var(--red-bright); transition: width .45s ease; }

footer {
  position: absolute;
  z-index: 5;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1rem;
  display: flex;
  justify-content: space-between;
  color: rgba(224, 216, 196, .66);
  font-size: .68rem;
}

dialog {
  width: min(38rem, calc(100% - 2rem));
  padding: 0;
  border: 1px solid #8c774d;
  background: #191713;
  color: #262015;
  box-shadow: 0 24px 90px rgba(0,0,0,.76);
}
dialog::backdrop { background: rgba(0,0,0,.76); backdrop-filter: blur(5px); }

.reader-dialog {
  width: min(96vw, 70rem);
  max-width: none;
  max-height: 96svh;
  overflow: hidden;
  border-color: rgba(197, 170, 112, .5);
  background: #080909;
  color: var(--paper-light);
}
.reader-shell {
  padding: clamp(1rem, 2.5vw, 1.75rem);
  background:
    radial-gradient(circle at 50% 15%, rgba(116, 96, 61, .16), transparent 42%),
    linear-gradient(145deg, #151411, #070808 72%);
}
.reader-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, 58rem);
  margin: 0 auto .8rem;
}
.reader-actions { display: flex; align-items: center; gap: .65rem; }
.zoom-controls {
  display: grid;
  grid-template-columns: 40px 3.7rem 40px;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .42);
  font-family: "Special Elite", monospace;
}
.zoom-controls button {
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--paper-light);
  font-size: 1.45rem;
  cursor: pointer;
}
.zoom-controls button:hover:not(:disabled), .zoom-controls button:focus-visible { background: rgba(199, 180, 129, .13); }
.zoom-controls button:disabled { opacity: .3; cursor: default; }
.zoom-controls output { color: #c7b481; font-size: .72rem; text-align: center; }
.reader-header .entry-code { margin: 0 0 .25rem; color: #ba6563; }
.reader-header h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1; }
.reader-close {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .42);
  color: var(--paper-light);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.book-stage {
  width: min(100%, 62rem);
  max-height: calc(96svh - 10.5rem);
  margin: 0 auto;
  padding: .25rem 2rem 1.35rem;
  overflow: auto;
  scrollbar-color: #725d37 #11100e;
  scrollbar-width: thin;
}
.book-stage:focus-visible { outline: 1px dashed var(--paper-light); outline-offset: -2px; }
.book {
  --book-zoom: 1;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 58rem, calc((96svh - 10rem) * 1.331));
  margin: 0 auto;
  zoom: var(--book-zoom);
  perspective: 1800px;
  filter: drop-shadow(0 22px 24px rgba(0, 0, 0, .62));
}
.book::before {
  content: "";
  position: absolute;
  z-index: 6;
  inset: 0;
  opacity: 0;
  background: radial-gradient(ellipse at 50% 52%, rgba(0, 0, 0, .48), transparent 62%);
  pointer-events: none;
}
.book::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 16px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(30, 24, 16, .3), rgba(255,255,255,.08), rgba(30, 24, 16, .28), transparent);
  pointer-events: none;
}
.book-page {
  position: relative;
  aspect-ratio: 432 / 649;
  margin: 0;
  overflow: hidden;
  background: #f6f2e8;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  will-change: transform, filter;
}
.book-page img { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.page-left { transform-origin: right center; }
.page-right { transform-origin: left center; }
.turn-sheet {
  position: absolute;
  z-index: 8;
  top: 0;
  bottom: 0;
  left: 50%;
  display: none;
  width: 50%;
  pointer-events: none;
  transform-style: preserve-3d;
  will-change: transform, filter, border-radius;
}
.turn-sheet.is-active { display: block; }
.turn-sheet.turning-next {
  transform-origin: left center;
  animation: leaf-next 1.08s cubic-bezier(.3, .03, .16, 1) forwards;
}
.turn-sheet.turning-prev {
  left: 0;
  transform-origin: right center;
  animation: leaf-prev 1.08s cubic-bezier(.3, .03, .16, 1) forwards;
}
.turn-face {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #f6f2e8;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}
.turn-face::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .08;
  background: linear-gradient(90deg, rgba(16, 12, 8, .54), transparent 22%, rgba(255,255,255,.12) 72%, rgba(16, 12, 8, .36));
  animation: leaf-light 1.08s cubic-bezier(.3, .03, .16, 1) forwards;
  pointer-events: none;
}
.turn-face img { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.turn-back { transform: rotateY(180deg); }
.book.page-in-motion::before { animation: spread-shadow 1.08s ease-in-out forwards; }
.reader-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  width: min(100%, 58rem);
  margin: .9rem auto 0;
  font-family: "Special Elite", monospace;
}
.reader-controls button {
  min-height: 44px;
  border: 1px solid var(--line);
  background: rgba(9, 10, 10, .76);
  color: var(--paper-light);
  padding: .6rem .9rem;
  cursor: pointer;
}
.reader-controls button:first-child { justify-self: start; }
.reader-controls button:last-child { justify-self: end; }
.reader-controls button:disabled { opacity: .32; cursor: default; }
.reader-controls p { margin: 0; color: #c7b481; font-size: .82rem; text-align: center; }
.reader-hint { margin: .55rem 0 0; color: #8d887c; font-size: .78rem; text-align: center; }

.dossier, .unlock-card {
  position: relative;
  padding: clamp(1.5rem, 5vw, 3rem);
  background:
    linear-gradient(rgba(225, 207, 164, .9), rgba(196, 174, 127, .92)),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.7' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
}
.dossier::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(65, 47, 24, .28); pointer-events: none; }
.close-button { position: absolute; z-index: 2; top: .65rem; right: .75rem; border: 0; background: transparent; color: #2b2114; font-size: 2rem; cursor: pointer; }
.entry-code { color: #6d2725; font-size: .74rem; }
.dossier h2, .unlock-card h2 { margin: .4rem 0 1rem; font-size: clamp(2rem, 5vw, 3.4rem); line-height: .95; }
.entry-body { font-size: 1.12rem; line-height: 1.55; }
.entry-body p { margin: .8rem 0; }
.character-reveal { margin: .2rem 0 1rem; }
.character-reveal img {
  display: block;
  width: 100%;
  max-height: 48vh;
  object-fit: contain;
  border: 1px solid rgba(65, 47, 24, .35);
  filter: sepia(.08) contrast(1.04);
}
.character-reveal figcaption {
  margin-top: .45rem;
  color: #6d2725;
  font: .7rem "Special Elite", monospace;
  letter-spacing: .08em;
  text-align: center;
}
.entry-body blockquote {
  margin: 1rem 0;
  padding: .7rem 1rem;
  border-left: 3px solid #7f1f21;
  background: rgba(87, 56, 25, .08);
  font-style: italic;
  font-weight: 600;
}
.entry-mark { margin: 1.4rem 0 0; color: #7f1f21; font: .75rem "Special Elite", monospace; letter-spacing: .08em; }
.seal-button { min-height: 44px; margin-top: 1rem; border: 1px solid #762124; background: #8f272b; color: #f6e8c8; padding: .7rem 1rem; cursor: pointer; font-family: "Special Elite", monospace; }

@keyframes signal {
  0%, 100% { box-shadow: 0 0 0 0 rgba(158, 31, 37, .55); }
  50% { box-shadow: 0 0 0 13px rgba(158, 31, 37, 0); }
}

@keyframes griffin-flight {
  0%, 100% { transform: translate3d(-1.5%, 1%, 0) rotate(-2deg) scale(.96, 1); opacity: .35; }
  35% { transform: translate3d(1.5%, -2%, 0) rotate(1deg) scale(1.02, .94); opacity: .56; }
  67% { transform: translate3d(3%, 1%, 0) rotate(3deg) scale(.97, 1.04); opacity: .43; }
}

@keyframes compass-bearing {
  0%, 22%, 100% { transform: translate(-50%, -50%) rotate(90deg); }
  28%, 43% { transform: translate(-50%, -50%) rotate(0deg); }
  49%, 64% { transform: translate(-50%, -50%) rotate(45deg); }
  70% { transform: translate(-50%, -50%) rotate(90deg); }
}

@keyframes leaf-next {
  0% { transform: rotateY(0) translateZ(0) scaleX(1) skewY(0); border-radius: 0; filter: brightness(1); box-shadow: 0 0 0 rgba(0,0,0,0); }
  18% { transform: rotateY(-23deg) translateZ(7px) scaleX(.985) skewY(-.22deg); border-radius: 0 4% 4% 0 / 0 36% 36% 0; box-shadow: -9px 5px 16px rgba(0,0,0,.2); }
  48% { transform: rotateY(-86deg) translateZ(15px) scaleX(.93) skewY(-.72deg); border-radius: 0 11% 11% 0 / 0 48% 48% 0; filter: brightness(.74); box-shadow: -30px 10px 38px rgba(0,0,0,.48); }
  73% { transform: rotateY(-148deg) translateZ(8px) scaleX(.97) skewY(-.28deg); border-radius: 8% 0 0 8% / 46% 0 0 46%; filter: brightness(.86); box-shadow: -17px 7px 24px rgba(0,0,0,.32); }
  100% { transform: rotateY(-180deg) translateZ(0) scaleX(1) skewY(0); border-radius: 0; filter: brightness(1); box-shadow: 0 0 0 rgba(0,0,0,0); }
}

@keyframes leaf-prev {
  0% { transform: rotateY(0) translateZ(0) scaleX(1) skewY(0); border-radius: 0; filter: brightness(1); box-shadow: 0 0 0 rgba(0,0,0,0); }
  18% { transform: rotateY(23deg) translateZ(7px) scaleX(.985) skewY(.22deg); border-radius: 4% 0 0 4% / 36% 0 0 36%; box-shadow: 9px 5px 16px rgba(0,0,0,.2); }
  48% { transform: rotateY(86deg) translateZ(15px) scaleX(.93) skewY(.72deg); border-radius: 11% 0 0 11% / 48% 0 0 48%; filter: brightness(.74); box-shadow: 30px 10px 38px rgba(0,0,0,.48); }
  73% { transform: rotateY(148deg) translateZ(8px) scaleX(.97) skewY(.28deg); border-radius: 0 8% 8% 0 / 0 46% 46% 0; filter: brightness(.86); box-shadow: 17px 7px 24px rgba(0,0,0,.32); }
  100% { transform: rotateY(180deg) translateZ(0) scaleX(1) skewY(0); border-radius: 0; filter: brightness(1); box-shadow: 0 0 0 rgba(0,0,0,0); }
}

@keyframes leaf-light {
  0%, 100% { opacity: .05; transform: translateX(0); }
  42% { opacity: .78; transform: translateX(-8%); }
  62% { opacity: .48; transform: translateX(7%); }
}

@keyframes spread-shadow {
  0%, 100% { opacity: 0; transform: scaleX(.35); }
  48% { opacity: .68; transform: scaleX(1); }
}

@media (max-width: 720px) {
  .archive {
    min-height: max(205svh, 1500px);
    overflow: hidden;
  }

  .desk {
    min-height: max(205svh, 1500px);
  }

  .desk-art {
    background-image:
      linear-gradient(180deg, rgba(3, 4, 5, .3), rgba(3, 4, 5, .06) 70%, rgba(3, 4, 5, .36)),
      url("desk-belux.png"),
      linear-gradient(180deg, rgba(3, 4, 5, .28), rgba(3, 4, 5, .04) 70%, rgba(3, 4, 5, .34)),
      url("desk-belux.png"),
      linear-gradient(180deg, rgba(3, 4, 5, .26), rgba(3, 4, 5, .08) 68%, rgba(3, 4, 5, .74)),
      url("desk-belux.png");
    background-position:
      center top, left top,
      center center, center center,
      center bottom, right bottom;
    background-size:
      100% 33.5%, auto 33.5%,
      100% 33.5%, auto 33.5%,
      100% 33.5%, auto 33.5%;
    background-repeat: no-repeat;
  }

  .masthead {
    top: 1rem;
    left: 1rem;
    right: 1rem;
    text-align: center;
  }

  .masthead h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
    line-height: .86;
  }

  .subtitle {
    margin: .55rem 0 0;
    font-size: clamp(1.1rem, 6vw, 1.6rem);
  }

  .griffin-shadow { display: none; }

  .hotspot {
    --size: 4rem;
    position: absolute;
    inset: auto;
    width: var(--size);
    height: var(--size);
    min-height: 0;
    border: 0;
    overflow: visible;
    background-color: transparent;
    box-shadow: none;
    transform: none;
    filter: none;
    backdrop-filter: none;
  }

  .hotspot .pulse {
    inset: 50% auto auto 50%;
    width: 1.5rem;
    height: 1.5rem;
    opacity: .78;
    transform: translate(-50%, -50%);
  }

  .hotspot:hover .pulse,
  .hotspot:focus-visible .pulse { transform: translate(-50%, -50%) scale(1.15); }

  .hotspot-label {
    z-index: 5;
    top: calc(100% + .2rem);
    bottom: auto;
    width: max-content;
    max-width: 9rem;
    padding: .32rem .48rem;
    opacity: 1;
    transform: translateX(-50%);
    font-size: .68rem;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .hotspot-star {
    --size: 7rem;
    left: 54%;
    top: 12%;
    background: url("favicon.png") center / contain no-repeat;
    filter: drop-shadow(0 0 1.2rem rgba(205, 31, 33, .44));
  }

  .hotspot-file {
    --size: 11rem;
    left: 3%;
    top: 23%;
    transform: rotate(-6deg);
    filter: drop-shadow(0 .8rem .65rem rgba(0, 0, 0, .55));
  }

  .hotspot-file img,
  .hotspot-ring img {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hotspot-file:hover img,
  .hotspot-file:focus-visible img,
  .hotspot-ring:hover img,
  .hotspot-ring:focus-visible img { transform: scale(1.035); }

  .hotspot-ring {
    --size: 8.5rem;
    left: 53%;
    top: 39%;
    filter: drop-shadow(0 .7rem .6rem rgba(0, 0, 0, .62));
  }

  .hotspot-tower {
    --size: 9rem;
    left: 8%;
    top: 53%;
    height: 7.2rem;
    border: .35rem solid rgba(221, 205, 168, .82);
    border-radius: .12rem;
    background:
      linear-gradient(rgba(5, 6, 7, .06), rgba(5, 6, 7, .18)),
      url("desk-belux.png") 87% 18% / 360% auto no-repeat;
    box-shadow: 0 .75rem 1rem rgba(0, 0, 0, .42);
    transform: rotate(3deg);
  }

  .hotspot-griffin {
    --size: 13rem;
    left: 38%;
    top: 67%;
    height: 8rem;
    background: url("sombra-grifo.webp") center / contain no-repeat;
    opacity: .68;
    filter: drop-shadow(0 .5rem .5rem rgba(0, 0, 0, .5));
  }

  .hotspot-compass {
    --size: 8.5rem;
    left: 8%;
    top: 82%;
  }

  .hotspot-compass::before { inset: 6%; }
  .hotspot-compass .compass-needle { height: 74%; }

  .hotspot-file .hotspot-label { top: 78%; }
  .hotspot-ring .hotspot-label { top: 88%; }
  .hotspot-tower .hotspot-label { top: calc(100% + .55rem); }
  .hotspot-griffin .hotspot-label { top: 82%; }

  .progress-wrap { bottom: 2.7rem; }
  footer span:first-child { display: none; }
  footer { bottom: .8rem; justify-content: center; }
}

@media (max-width: 390px) {
  .hotspot-label { font-size: .64rem; }
  .hotspot-star { left: 52%; }
  .hotspot-file { --size: 9.8rem; }
  .hotspot-ring { --size: 7.7rem; left: 55%; }
  .hotspot-tower { --size: 8.2rem; }
  .hotspot-griffin { --size: 11.5rem; left: 39%; }
  .hotspot-compass { --size: 7.8rem; left: 7%; }
}

@media (max-width: 760px) {
  .reader-dialog { width: calc(100vw - 1rem); max-height: 98svh; }
  .reader-shell { padding: .85rem; }
  .reader-header { margin-bottom: .65rem; }
  .reader-header h2 { font-size: 1.35rem; }
  .reader-actions { gap: .4rem; }
  .zoom-controls { grid-template-columns: 34px 3.1rem 34px; }
  .zoom-controls button { width: 34px; }
  .book-stage { max-height: calc(98svh - 10rem); padding: .2rem 1rem 1rem; }
  .book { display: block; width: min(100%, 25rem, calc((98svh - 9rem) * .666)); }
  .book::after, .page-left { display: none; }
  .turn-sheet { left: 0; width: 100%; }
  .turn-sheet.turning-prev { left: 0; }
  .reader-controls { gap: .45rem; }
  .reader-controls button { padding: .55rem .65rem; font-size: .83rem; }
  .reader-controls p { font-size: .72rem; }
  .reader-hint { display: none; }
}

@media (max-width: 480px) {
  .reader-header { align-items: center; }
  .reader-header .entry-code { display: none; }
  .zoom-controls { grid-template-columns: 32px 2.8rem 32px; }
  .zoom-controls output { font-size: .65rem; }
  .reader-close { width: 40px; height: 40px; flex-basis: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
