/* BRAND: Casino Spidsn, METAPHOR: The Grand Apothecary — Ancient Alchemical Laboratory, BG PROMPT: Dark ancient apothecary laboratory interior with emerald glass vials on wooden shelves, golden candlelight casting warm shadows on stone walls, brass instruments and leather-bound grimoires, baroque ornamental details, volumetric fog, cinematic moody lighting --ar 21:9 --v 6 --style raw */

:root {
  --void: #0d0d0d;
  --obsidian: #151210;
  --mahogany: #1e1714;
  --emerald-deep: #0a3622;
  --emerald-mid: #14734e;
  --viridian: #1a6b4a;
  --aurum: #c9a84c;
  --aurum-bright: #f0d078;
  --aurum-dim: #8b6d2e;
  --ignis: #8b1a1a;
  --ignis-glow: #c43a3a;
  --parchment: #f5ecd7;
  --parchment-dim: #e0d4b8;
  --amber: #d4940a;
  --copper: #b87333;
  --mist: #c8bda6;
  --smoke: rgba(13,13,13,.92);
  --glass: rgba(20,18,16,.85);
  --serif-display: 'Cinzel', 'Palatino Linotype', 'Georgia', serif;
  --serif-body: 'Cormorant Garamond', 'Palatino', 'Georgia', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius-flask: 0 0 42% 42% / 0 0 28% 28%;
  --radius-seal: 50%;
  --radius-card: 6px 6px 28px 28px;
  --radius-pill: 100px;
  --shadow-candle: 0 4px 30px rgba(201,168,76,.12), 0 1px 3px rgba(0,0,0,.4);
  --shadow-deep: 0 8px 40px rgba(0,0,0,.6), 0 2px 6px rgba(0,0,0,.3);
  --shadow-glow: 0 0 20px rgba(201,168,76,.15);
  --transition-elixir: .4s cubic-bezier(.25,.46,.45,.94);
  --chamber-w: 100vw;
  --chamber-h: 100vh;
  --nav-h: 64px;
  --bar-h: 36px;
  --header-total: calc(var(--nav-h) + var(--bar-h));
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--void);
  color: var(--parchment);
  font-family: var(--serif-body);
  font-size: 1.05rem;
  line-height: 1.7;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
  width: 100vw;
}

body.veil-active {
  overflow: hidden !important;
}

body.scroll-unlocked {
  overflow: visible;
  height: auto;
}

::selection {
  background: var(--emerald-deep);
  color: var(--aurum-bright);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--aurum);
  text-decoration: none;
  transition: color var(--transition-elixir);
}

a:hover {
  color: var(--aurum-bright);
}

h1, h2, h3, h4 {
  font-family: var(--serif-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--parchment);
}

h1 { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: .06em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); letter-spacing: .04em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); letter-spacing: .03em; }
h4 { font-size: clamp(1rem, 2vw, 1.3rem); }

.responsible-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 910;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  height: var(--bar-h);
  background: var(--emerald-deep);
  border-bottom: 1px solid rgba(201,168,76,.2);
  padding: 0 1rem;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .03em;
  color: var(--parchment-dim);
}

.responsible-bar .age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ignis);
  color: #fff;
  font-weight: 700;
  font-size: .6rem;
  flex-shrink: 0;
}

.responsible-bar a {
  color: var(--aurum-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.responsible-bar a:hover {
  color: #fff;
}

.responsible-bar .bar-sep {
  color: var(--aurum-dim);
}

.compass-dial {
  position: fixed;
  top: var(--bar-h);
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  height: var(--nav-h);
  background: var(--smoke);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--aurum-dim);
  padding: 0 1.5rem;
  gap: 1rem;
}

.dial-brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.dial-brand img {
  height: 36px;
  width: auto;
}

.dial-brand .brand-text {
  font-family: var(--serif-display);
  font-size: .85rem;
  letter-spacing: .12em;
  color: var(--aurum);
  text-transform: uppercase;
  white-space: nowrap;
}

.dial-nodes {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.dial-nodes::-webkit-scrollbar { display: none; }

.dial-node {
  display: inline-flex;
  align-items: center;
  padding: .4rem .9rem;
  font-family: var(--serif-display);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mist);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  transition: all var(--transition-elixir);
  white-space: nowrap;
  cursor: pointer;
}

.dial-node:hover {
  color: var(--aurum);
  border-color: var(--aurum-dim);
}

.dial-node.active {
  color: var(--aurum-bright);
  border-color: var(--aurum);
  background: rgba(201,168,76,.08);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--aurum);
  transition: all .3s ease;
}

.chamber-scroll {
  display: flex;
  width: 100%;
  height: var(--chamber-h);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-top: var(--header-total);
}

.chamber-scroll::-webkit-scrollbar { display: none; }

.chamber {
  flex: 0 0 var(--chamber-w);
  min-width: var(--chamber-w);
  height: calc(var(--chamber-h) - var(--header-total));
  overflow-y: auto;
  scroll-snap-align: start;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--aurum-dim) var(--obsidian);
}

.chamber::-webkit-scrollbar { width: 6px; }
.chamber::-webkit-scrollbar-track { background: var(--obsidian); }
.chamber::-webkit-scrollbar-thumb { background: var(--aurum-dim); border-radius: 3px; }

.chamber-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.chamber.chamber-hidden .chamber-inner {
  opacity: 0;
  transform: translateX(80px);
}

.chamber.chamber-visible .chamber-inner {
  animation: chamber-emerge .7s cubic-bezier(.25,.46,.45,.94) both;
}

.chamber--atrium {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(10,54,34,.4) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(201,168,76,.06) 0%, transparent 50%),
    var(--obsidian);
}

.chamber--atrium .chamber-inner {
  max-width: 800px;
}

.atrium-sigil {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  opacity: .7;
  animation: sigil-pulse 4s ease-in-out infinite;
}

@keyframes sigil-pulse {
  0%, 100% { opacity: .5; transform: scale(1); }
  50% { opacity: .85; transform: scale(1.05); }
}

.atrium-title {
  margin-bottom: .5rem;
  background: linear-gradient(135deg, var(--aurum), var(--aurum-bright), var(--aurum));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.atrium-subtitle {
  font-family: var(--serif-display);
  font-size: clamp(.85rem, 1.5vw, 1.1rem);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 2rem;
}

.atrium-prose {
  font-size: 1.15rem;
  color: var(--parchment-dim);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.elixir-btn {
  display: inline-block;
  padding: .85rem 2.2rem;
  font-family: var(--serif-display);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--void);
  background: linear-gradient(135deg, var(--aurum), var(--aurum-bright));
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-elixir);
  text-decoration: none;
  box-shadow: var(--shadow-candle);
}

.elixir-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow), var(--shadow-candle);
  color: var(--void);
}

.elixir-btn--outline {
  background: transparent;
  color: var(--aurum);
  border: 1px solid var(--aurum);
}

.elixir-btn--outline:hover {
  background: rgba(201,168,76,.1);
  color: var(--aurum-bright);
}

.chamber--shelf {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,168,76,.04) 0%, transparent 50%),
    var(--void);
}

.shelf-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.shelf-header h2 {
  background: linear-gradient(135deg, var(--aurum), var(--parchment));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .5rem;
}

.shelf-header p {
  color: var(--mist);
  font-size: .95rem;
}

.specimen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.specimen-card {
  background: linear-gradient(180deg, var(--mahogany), var(--obsidian));
  border: 1px solid var(--aurum-dim);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all var(--transition-elixir);
  position: relative;
}

.specimen-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--aurum), transparent);
  opacity: 0;
  transition: opacity var(--transition-elixir);
}

.specimen-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-candle);
  border-color: var(--aurum);
}

.specimen-card:hover::before {
  opacity: 1;
}

.specimen-card.priority-specimen {
  border-color: var(--aurum);
  box-shadow: var(--shadow-glow);
}

.specimen-card.priority-specimen::after {
  content: 'RARE';
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--serif-display);
  font-size: .55rem;
  letter-spacing: .15em;
  padding: .2rem .6rem;
  background: var(--aurum);
  color: var(--void);
  border-radius: var(--radius-pill);
}

.specimen-crest {
  padding: 1.5rem 1.5rem .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  background: rgba(0,0,0,.2);
}

.specimen-crest img {
  max-height: 48px;
  max-width: 180px;
  object-fit: contain;
  filter: brightness(1.05);
}

.specimen-body {
  padding: 1.2rem 1.5rem 1.5rem;
}

.specimen-usp {
  font-family: var(--serif-display);
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--aurum);
  margin-bottom: .6rem;
}

.specimen-name {
  font-family: var(--serif-display);
  font-size: 1.15rem;
  color: var(--parchment);
  margin-bottom: .5rem;
}

.specimen-desc {
  font-size: .92rem;
  color: var(--mist);
  line-height: 1.6;
  margin-bottom: .8rem;
}

.specimen-incentive {
  font-size: .82rem;
  color: var(--parchment-dim);
  padding: .6rem .8rem;
  background: rgba(201,168,76,.05);
  border-left: 2px solid var(--aurum-dim);
  border-radius: 0 4px 4px 0;
  margin-bottom: 1rem;
}

.specimen-incentive strong {
  color: var(--aurum);
  font-family: var(--serif-display);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.quintessence {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
}

.quintessence-label {
  font-family: var(--serif-display);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mist);
}

.quintessence-phials {
  display: flex;
  gap: 3px;
}

.phial {
  width: 10px;
  height: 18px;
  border-radius: 2px 2px 5px 5px;
  border: 1px solid var(--aurum-dim);
  position: relative;
  overflow: hidden;
}

.phial.filled::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(to top, var(--emerald-mid), var(--viridian));
  border-radius: 0 0 4px 4px;
}

.specimen-extract {
  display: inline-block;
  padding: .55rem 1.4rem;
  font-family: var(--serif-display);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--aurum);
  border: 1px solid var(--aurum-dim);
  border-radius: var(--radius-pill);
  transition: all var(--transition-elixir);
}

.specimen-extract:hover {
  background: var(--aurum);
  color: var(--void);
  box-shadow: var(--shadow-glow);
}

.chamber--essence {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(10,54,34,.3) 0%, transparent 50%),
    var(--obsidian);
}

.essence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.essence-block {
  padding: 2rem;
  background: var(--glass);
  border: 1px solid rgba(201,168,76,.15);
  border-radius: 8px;
}

.essence-block h3 {
  color: var(--aurum);
  margin-bottom: .8rem;
  font-size: 1.1rem;
}

.essence-block p {
  color: var(--mist);
  font-size: .95rem;
}

.chamber--codex {
  background:
    linear-gradient(180deg, var(--void) 0%, var(--mahogany) 100%);
  display: flex;
  flex-direction: column;
}

.codex-seals {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 0;
  margin: 2rem 0;
  border-top: 1px solid rgba(201,168,76,.15);
  border-bottom: 1px solid rgba(201,168,76,.15);
}

.codex-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .7;
  transition: opacity var(--transition-elixir);
}

.codex-seal:hover {
  opacity: 1;
}

.codex-seal img {
  max-height: 48px;
  max-width: 140px;
  object-fit: contain;
}

.codex-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.codex-links a {
  font-family: var(--serif-display);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mist);
  padding: .3rem 0;
  border-bottom: 1px solid transparent;
  transition: all var(--transition-elixir);
}

.codex-links a:hover {
  color: var(--aurum);
  border-bottom-color: var(--aurum);
}

.codex-copy {
  text-align: center;
  font-size: .8rem;
  color: var(--mist);
  margin-top: 2rem;
  opacity: .6;
}

.veil-portal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 1;
  transition: opacity .5s ease;
}

.veil-portal.dismissed {
  opacity: 0;
  pointer-events: none;
}

.veil-content {
  text-align: center;
  max-width: 440px;
  padding: 3rem 2.5rem;
  background: var(--mahogany);
  border: 1px solid var(--aurum-dim);
  border-radius: 12px;
  box-shadow: var(--shadow-deep);
}

.veil-content img {
  height: 50px;
  margin: 0 auto 1.5rem;
}

.veil-content h2 {
  font-size: 1.4rem;
  margin-bottom: .6rem;
  color: var(--aurum);
}

.veil-content p {
  font-size: .95rem;
  color: var(--mist);
  margin-bottom: 1.5rem;
}

.veil-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.elixir-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8000;
  background: var(--smoke);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--aurum-dim);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transform: translateY(0);
  transition: transform .5s ease;
}

.elixir-notice.dismissed {
  transform: translateY(100%);
}

.elixir-notice p {
  font-size: .85rem;
  color: var(--mist);
  flex: 1;
}

.elixir-notice a {
  color: var(--aurum);
  text-decoration: underline;
}

.notice-actions {
  display: flex;
  gap: .75rem;
  flex-shrink: 0;
}

@keyframes chamber-emerge {
  0% {
    opacity: 0;
    transform: translateX(80px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes seal-drift {
  0% {
    opacity: 0;
    transform: translateX(20px);
  }
  100% {
    opacity: .7;
    transform: translateX(0);
  }
}

.page-static {
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
}

.page-static .chamber-scroll {
  display: block;
  overflow: visible;
  height: auto;
  scroll-snap-type: none;
}

.page-static .chamber {
  flex: none;
  min-width: 0;
  height: auto;
  overflow: visible;
  scroll-snap-align: unset;
}

.page-static .chamber-inner {
  padding-top: calc(var(--header-total) + 3rem);
  padding-bottom: 4rem;
  min-height: 100vh;
  animation: chamber-emerge .7s cubic-bezier(.25,.46,.45,.94) both;
}

.page-static .grand-footer {
  animation: chamber-emerge .7s cubic-bezier(.25,.46,.45,.94) .15s both;
}

.page-static .grand-footer .codex-seal {
  animation: seal-drift .5s ease .3s both;
}

.page-static .grand-footer .codex-seal:nth-child(2) { animation-delay: .4s; }
.page-static .grand-footer .codex-seal:nth-child(3) { animation-delay: .5s; }
.page-static .grand-footer .codex-seal:nth-child(4) { animation-delay: .6s; }

.prose-body {
  max-width: 780px;
  margin: 0 auto;
}

.prose-body h1 {
  text-align: center;
  margin-bottom: .5rem;
  background: linear-gradient(135deg, var(--aurum), var(--aurum-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.prose-body .page-subtitle {
  text-align: center;
  font-family: var(--serif-display);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 3rem;
}

.prose-body h2 {
  color: var(--aurum);
  margin: 2.5rem 0 1rem;
  font-size: 1.3rem;
}

.prose-body h3 {
  color: var(--parchment);
  margin: 2rem 0 .8rem;
  font-size: 1.1rem;
}

.prose-body p {
  margin-bottom: 1rem;
  color: var(--parchment-dim);
}

.prose-body ul, .prose-body ol {
  margin: 1rem 0 1rem 1.5rem;
  color: var(--parchment-dim);
}

.prose-body li {
  margin-bottom: .4rem;
}

.prose-body a {
  color: var(--aurum);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form {
  max-width: 500px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-field label {
  font-family: var(--serif-display);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--aurum);
}

.form-field input,
.form-field textarea {
  background: var(--glass);
  border: 1px solid var(--aurum-dim);
  border-radius: 6px;
  padding: .75rem 1rem;
  font-family: var(--serif-body);
  font-size: 1rem;
  color: var(--parchment);
  transition: border-color var(--transition-elixir);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--aurum);
  box-shadow: var(--shadow-glow);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.wildcard-hero {
  text-align: center;
  padding: 2rem 0 3rem;
  border-bottom: 1px solid rgba(201,168,76,.15);
  margin-bottom: 3rem;
}

.wildcard-hero h1 {
  background: linear-gradient(135deg, var(--aurum), var(--aurum-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wildcard-hero p {
  color: var(--mist);
  max-width: 600px;
  margin: 1rem auto 0;
}

.guide-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--glass);
  border: 1px solid rgba(201,168,76,.1);
  border-radius: 8px;
}

.guide-section h2 {
  color: var(--aurum);
  margin-bottom: 1rem;
}

.guide-section p {
  color: var(--parchment-dim);
  margin-bottom: .8rem;
}

.chronicle-entry {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(201,168,76,.1);
}

.chronicle-entry:last-child {
  border-bottom: none;
}

.chronicle-date {
  font-family: var(--serif-display);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--aurum-dim);
  margin-bottom: .5rem;
}

.chronicle-entry h3 {
  color: var(--aurum);
  margin-bottom: .8rem;
}

.chronicle-entry p {
  color: var(--parchment-dim);
}

.grand-footer {
  background: linear-gradient(180deg, var(--void) 0%, var(--mahogany) 100%);
  border-top: 1px solid var(--aurum-dim);
  padding: 3rem 2rem 2rem;
  text-align: center;
}

.grand-footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.grand-footer .codex-seals {
  margin: 0 0 1.5rem;
  padding: 0 0 1.5rem;
  border-top: none;
  border-bottom: 1px solid rgba(201,168,76,.15);
}

.grand-footer .codex-seal img {
  max-height: 44px;
  max-width: 130px;
}

.grand-footer .codex-copy {
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  body {
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
  }

  .chamber-scroll {
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: visible;
    scroll-snap-type: none;
    height: auto;
  }

  .chamber {
    flex: none;
    min-width: 100%;
    height: auto;
    min-height: auto;
    overflow-y: visible;
    scroll-snap-align: unset;
  }

  .chamber--atrium {
    min-height: 80vh;
    display: flex;
    align-items: center;
  }

  .compass-dial {
    padding: 0 1rem;
  }

  .dial-brand .brand-text {
    display: none;
  }

  .dial-nodes {
    display: none;
  }

  .dial-nodes.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--smoke);
    backdrop-filter: blur(14px);
    padding: 1rem;
    border-bottom: 1px solid var(--aurum-dim);
    gap: .5rem;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .specimen-grid {
    grid-template-columns: 1fr;
  }

  .essence-grid {
    grid-template-columns: 1fr;
  }

  .veil-content {
    margin: 1rem;
    padding: 2rem 1.5rem;
  }

  .elixir-notice {
    flex-direction: column;
    text-align: center;
    padding: 1.2rem 1rem;
  }

  .codex-seals {
    gap: 1.2rem;
  }

  .codex-seal img {
    max-height: 36px;
  }
}

@media (max-width: 480px) {
  .chamber-inner {
    padding: 2rem 1rem 3rem;
  }

  .specimen-card {
    border-radius: 6px 6px 20px 20px;
  }

  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }
}
