/* Where in the World? — "the cartographer's desk".
   A parchment globe in a brass meridian ring sits under a lamp on a walnut desk. The question
   is an inked cartouche with brass rivets, progress is a row of wax seals, controls are brass
   knobs and oxblood-leather buttons, feedback comes on a parchment note with a verdict in
   words, a glyph and a compass arrow, and the results are a ruled ledger. Result inks differ
   in lightness (ochre light, verdigris mid, vermilion dark) and always carry ✓ / ≈ / ✕. */
:root {
  --ww-paper: #f3e6c8; --ww-paper-2: #e8d6ae; --ww-ink: #2a1d12; --ww-muted: #7d6448; --ww-line: #cdb68a; --ww-soft: #efe0bd;
  --ww-hit: #3f9a5f; --ww-close: #f0c45a; --ww-miss: #b8432e; --ww-pin: #2f4f8f; --ww-sea: #2f6670;
  --ww-wood: #2a1a10; --ww-wood-2: #3d2716; --ww-brass: #c9a04a; --ww-brass-hi: #f6dfa0; --ww-brass-lo: #7a5a1c;
  --ww-leather: #6e2a1f; --ww-leather-2: #4f1c14;
  --ww-display: 'Fraunces', Georgia, serif; --ww-fell: 'IM Fell English', 'Fraunces', Georgia, serif; --ww-body: 'Nunito', system-ui, sans-serif;
  --ww-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .27 0 0 0 0 .1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --ww-parchment: var(--ww-noise), radial-gradient(120% 90% at 50% 20%, #fbf1d8, var(--ww-paper) 55%, var(--ww-paper-2));
}
.ww-page {
  background:
    repeating-linear-gradient(92deg, rgba(0,0,0,.08) 0 2px, transparent 2px 9px, rgba(255,220,170,.03) 9px 11px, transparent 11px 23px),
    linear-gradient(180deg, #24160d, var(--ww-wood) 30%, #1e130b);
  padding-bottom: 24px; overflow-x: clip;
  position: relative; z-index: 1;   /* above the shared footer's glow pseudo-element */
}
.ww, .ww-content { font-family: var(--ww-body); color: var(--ww-ink); }
.ww *, .ww *::before, .ww *::after { box-sizing: border-box; }
.ww [hidden] { display: none !important; }
.ww button { font-family: var(--ww-body); cursor: pointer; margin: 0; touch-action: manipulation; color: inherit; -webkit-tap-highlight-color: transparent; }
.ww button:focus-visible { outline: 3px solid var(--ww-brass-hi); outline-offset: 2px; }

/* ---------- the desk under the lamp ---------- */
.ww-stage {
  position: relative; height: calc(100dvh - 104px); min-height: 460px; max-height: 920px; overflow: hidden;
  background:
    radial-gradient(62% 48% at 50% 46%, rgba(255,214,150,.30), rgba(255,190,120,.08) 55%, transparent 75%),
    repeating-linear-gradient(88deg, rgba(0,0,0,.10) 0 3px, transparent 3px 11px, rgba(255,210,160,.035) 11px 13px, transparent 13px 27px),
    radial-gradient(120% 90% at 50% 40%, #5a3820, var(--ww-wood-2) 50%, #1d110a);
}
.ww-stage::after { /* lamp vignette */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 75% at 50% 45%, transparent 55%, rgba(10,5,2,.5));
}
.ww-globe { position: absolute; inset: 0; animation: ww-globe-in 1s cubic-bezier(.2,1,.3,1) both; }
.ww-globe canvas { display: block; touch-action: none; outline: none; }
@keyframes ww-globe-in { from { transform: scale(.86) translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.ww-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ww-label {
  position: absolute; left: 0; top: 0; white-space: nowrap; font: italic 400 15px/1.15 var(--ww-fell); color: var(--ww-ink);
  background: var(--ww-parchment); background-size: 160px 160px, auto; padding: 4px 10px 5px; border-radius: 6px;
  border: 1.5px solid var(--ww-ink);
  box-shadow: inset 0 0 0 2px var(--ww-paper), inset 0 0 0 3px rgba(42,29,18,.35), 0 1px 0 #b99a62, 0 2px 0 #9a7c48, 0 8px 16px rgba(20,10,4,.4);
  transition: opacity .2s; margin-top: -8px;
}
.ww-label::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; background: var(--ww-paper); border-right: 1.5px solid var(--ww-ink); border-bottom: 1.5px solid var(--ww-ink); transform: translateX(-50%) rotate(45deg); }
.ww-label.hit, .ww-label.close, .ww-label.miss { font: 900 14px/1.15 var(--ww-body); font-style: normal; }
.ww-label.hit::before { content: '✓ '; color: #1f6a3a; }
.ww-label.close::before { content: '≈ '; color: #8a6200; }
.ww-label.miss::before { content: '✕ '; color: var(--ww-miss); }
.ww-label.hit { border-color: #1f6a3a; box-shadow: inset 0 0 0 2px var(--ww-paper), inset 0 0 0 4px var(--ww-hit), 0 1px 0 #b99a62, 0 2px 0 #9a7c48, 0 8px 16px rgba(20,10,4,.4); padding: 5px 11px 6px; }
.ww-label.close { border-color: #8a6200; box-shadow: inset 0 0 0 2px var(--ww-paper), inset 0 0 0 4px var(--ww-close), 0 1px 0 #b99a62, 0 2px 0 #9a7c48, 0 8px 16px rgba(20,10,4,.4); padding: 5px 11px 6px; }
.ww-label.miss { border-color: var(--ww-miss); box-shadow: inset 0 0 0 2px var(--ww-paper), inset 0 0 0 4px var(--ww-miss), 0 1px 0 #b99a62, 0 2px 0 #9a7c48, 0 8px 16px rgba(20,10,4,.4); padding: 5px 11px 6px; }
.ww-label.pin { font: 900 12px/1.15 var(--ww-body); color: #2a1a06; border-color: var(--ww-brass-lo); background: linear-gradient(180deg, var(--ww-brass-hi), var(--ww-brass)); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 1px 0 var(--ww-brass-lo), 0 6px 12px rgba(20,10,4,.4); }
.ww-label.pin::after { background: var(--ww-brass); border-color: var(--ww-brass-lo); }
.ww-label small { display: block; font-weight: 800; font-size: 11px; opacity: .85; }

/* ---------- the question: an inked cartouche ---------- */
.ww-top { position: absolute; left: 0; right: 0; top: 10px; display: flex; flex-direction: column; align-items: center; gap: 7px; pointer-events: none; padding: 0 12px; z-index: 2; animation: ww-drop .6s .25s cubic-bezier(.2,1.3,.4,1) both; }
.ww-ask {
  position: relative; pointer-events: auto; text-align: center; max-width: 100%; padding: 7px 22px 9px; border-radius: 10px;
  background: var(--ww-parchment); background-size: 160px 160px, auto;
  border: 2px solid var(--ww-ink);
  box-shadow: inset 0 0 0 3px var(--ww-paper), inset 0 0 0 4px rgba(42,29,18,.6), inset 0 0 18px rgba(140,95,40,.25),
    0 1px 0 #c9ab72, 0 2px 0 #b0935c, 0 3px 0 #957847, 0 4px 0 #7a5f35, 0 14px 26px rgba(10,5,2,.45);
}
.ww-ask::before, .ww-ask::after { /* brass rivets */
  content: ''; position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3c8, var(--ww-brass) 50%, var(--ww-brass-lo));
  box-shadow: 0 1px 1px rgba(0,0,0,.45);
}
.ww-ask::before { left: 7px; } .ww-ask::after { right: 7px; }
.ww-ask .lab { display: block; font: italic 400 13px var(--ww-fell); letter-spacing: .06em; color: var(--ww-muted); }
.ww-ask b { display: block; font: 900 clamp(24px, 6.5vw, 34px)/1.05 var(--ww-display); letter-spacing: -.01em; overflow-wrap: anywhere; color: var(--ww-ink); text-shadow: 0 1px 0 rgba(255,250,235,.8); }
.ww-ask .sub { display: block; font: italic 400 15px var(--ww-fell); color: var(--ww-sea); margin-top: 2px; }
@keyframes ww-drop { from { transform: translateY(-16px); opacity: 0; } to { transform: none; opacity: 1; } }

/* progress: wax seals */
.ww-dots { display: flex; gap: 6px; }
.ww-dots i {
  position: relative; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font: 900 10px/1 var(--ww-body); font-style: normal; color: #fff;
  background: rgba(243,230,200,.25); border: 1.5px solid rgba(243,230,200,.7); box-shadow: inset 0 1px 3px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.4);
}
.ww-dots i.now { background: radial-gradient(circle at 35% 30%, #5b7bbd, var(--ww-pin) 60%, #1c3160); border-color: var(--ww-brass-hi); box-shadow: 0 0 0 3px rgba(246,223,160,.25), 0 2px 4px rgba(0,0,0,.5); }
.ww-dots i.hit, .ww-dots i.close, .ww-dots i.miss { border: 0; animation: ww-seal .4s cubic-bezier(.2,1.6,.4,1); box-shadow: inset 0 -2px 3px rgba(0,0,0,.3), inset 0 1px 1px rgba(255,255,255,.35), 0 2px 3px rgba(0,0,0,.45); }
.ww-dots i.hit { background: radial-gradient(circle at 35% 30%, #6fc08b, var(--ww-hit) 55%, #24663b); }
.ww-dots i.close { background: radial-gradient(circle at 35% 30%, #ffe7a6, var(--ww-close) 55%, #b98a22); color: #3a2800; }
.ww-dots i.miss { background: radial-gradient(circle at 35% 30%, #e07560, var(--ww-miss) 55%, #742314); }
.ww-dots i.hit::after { content: '✓'; } .ww-dots i.close::after { content: '≈'; } .ww-dots i.miss::after { content: '✕'; }
@keyframes ww-seal { from { transform: scale(1.6); opacity: 0; } to { transform: none; opacity: 1; } }
.ww-banner { pointer-events: auto; color: #f6e7c4; font-weight: 800; font-size: 14px; border-radius: 10px; padding: 7px 14px; text-align: center; max-width: 420px;
  background: linear-gradient(180deg, var(--ww-leather), var(--ww-leather-2)); border: 1px solid rgba(246,223,160,.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 6px 14px rgba(10,5,2,.4); }

/* ---------- zoom: brass knobs ---------- */
.ww-zoom { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 2; animation: ww-fade .6s .5s both; }
.ww-zoom button {
  width: 44px; height: 44px; border-radius: 50%; border: 0; font: 900 22px/1 var(--ww-body); color: #3a2706 !important; text-shadow: 0 1px 0 rgba(255,245,210,.7);
  background: radial-gradient(circle at 35% 28%, #fff3c8, var(--ww-brass-hi) 22%, var(--ww-brass) 58%, var(--ww-brass-lo));
  box-shadow: inset 0 0 0 2px rgba(255,240,200,.35), inset 0 -3px 4px rgba(0,0,0,.25), 0 1px 0 #8a6a28, 0 2px 0 #6e521c, 0 3px 0 #553f14, 0 8px 14px rgba(10,5,2,.5);
  transition: transform .1s, box-shadow .1s;
}
.ww-zoom button:active { transform: translateY(2px); box-shadow: inset 0 0 0 2px rgba(255,240,200,.35), inset 0 -2px 3px rgba(0,0,0,.25), 0 1px 0 #553f14, 0 4px 8px rgba(10,5,2,.5); }
@keyframes ww-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- bottom bar + feedback note ---------- */
.ww-bar { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; gap: 8px; justify-content: center; padding: 0 12px; z-index: 2; animation: ww-up-bar .6s .4s cubic-bezier(.2,1.2,.4,1) both; }
@keyframes ww-up-bar { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.ww-btn {
  border: 0; border-radius: 14px; min-height: 54px; padding: 8px 16px; font: 900 16px/1.15 var(--ww-body); color: var(--ww-ink);
  background: var(--ww-parchment); background-size: 160px 160px, auto;
  box-shadow: inset 0 0 0 1.5px rgba(42,29,18,.55), inset 0 0 0 3px rgba(255,248,228,.6), inset 0 1px 0 #fff8e4,
    0 1px 0 #c9ab72, 0 2px 0 #b0935c, 0 3px 0 #957847, 0 4px 0 #7a5f35, 0 10px 20px rgba(10,5,2,.35);
  transition: transform .1s, box-shadow .1s;
}
.ww-btn small { display: block; font-size: 11px; font-weight: 800; color: var(--ww-muted); }
.ww-btn:active:not(:disabled) { transform: translateY(3px); box-shadow: inset 0 0 0 1.5px rgba(42,29,18,.55), inset 0 0 0 3px rgba(255,248,228,.6), 0 1px 0 #7a5f35, 0 4px 10px rgba(10,5,2,.35); }
.ww-btn.main {
  flex: 1; max-width: 360px; color: #f8e6b8; text-shadow: 0 1px 0 rgba(0,0,0,.5);
  background: repeating-linear-gradient(100deg, rgba(255,255,255,.025) 0 2px, transparent 2px 5px), linear-gradient(180deg, #84382a, var(--ww-leather) 45%, var(--ww-leather-2));
  box-shadow: inset 0 0 0 1.5px rgba(246,223,160,.55), inset 0 0 0 3.5px rgba(60,18,10,.6), inset 0 1px 0 rgba(255,220,190,.3),
    0 1px 0 #3d140d, 0 2px 0 #33110b, 0 3px 0 #290d08, 0 4px 0 #1f0905, 0 10px 22px rgba(10,5,2,.45);
}
.ww-btn.main:active:not(:disabled) { box-shadow: inset 0 0 0 1.5px rgba(246,223,160,.55), inset 0 0 0 3.5px rgba(60,18,10,.6), 0 1px 0 #1f0905, 0 4px 10px rgba(10,5,2,.45); }
.ww-btn.main:disabled {
  color: var(--ww-muted); text-shadow: none; cursor: default; transform: none;
  background: var(--ww-parchment); background-size: 160px 160px, auto;
  box-shadow: inset 0 0 0 1.5px rgba(42,29,18,.3), inset 0 0 0 3px rgba(255,248,228,.6), 0 1px 0 #c9ab72, 0 2px 0 #b0935c, 0 3px 0 #957847, 0 4px 0 #7a5f35, 0 10px 20px rgba(10,5,2,.3);
  font-style: italic;
}
.ww-btn:disabled:not(.main) { opacity: .55; cursor: default; }
.ww-card {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); width: min(440px, calc(100% - 20px)); z-index: 3;
  background: var(--ww-parchment); background-size: 160px 160px, auto; border-radius: 12px; padding: 13px 14px 13px 16px;
  border: 1.5px solid var(--ww-ink);
  box-shadow: inset 0 0 0 3px var(--ww-paper), inset 0 0 0 4px rgba(42,29,18,.4), inset 0 0 24px rgba(140,95,40,.22),
    0 1px 0 #c9ab72, 0 2px 0 #b0935c, 0 3px 0 #957847, 0 4px 0 #7a5f35, 0 18px 36px rgba(10,5,2,.5);
  display: flex; align-items: center; gap: 12px; animation: ww-up .45s cubic-bezier(.2,1.3,.4,1);
}
@keyframes ww-up { from { transform: translate(-50%, 30px) rotate(-1.5deg); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.ww-card .txt { flex: 1; min-width: 0; }
.ww-card .tag {
  display: inline-block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: 900 12px/18px var(--ww-body); letter-spacing: .02em; padding: 3px 9px 3px 3px; border-radius: 99px; margin-bottom: 5px;
  background: rgba(42,29,18,.08); box-shadow: inset 0 0 0 1px rgba(42,29,18,.25);
}
.ww-card .tag i { display: inline-grid; vertical-align: top; margin-right: 5px; place-items: center; width: 18px; height: 18px; border-radius: 50%; font: 900 11px/1 var(--ww-body); font-style: normal; color: #fff; }
.ww-card .tag b { font-size: 14px; }
.ww-card.hit .tag i { background: var(--ww-hit); } .ww-card.close .tag i { background: var(--ww-close); color: #3a2800; } .ww-card.miss .tag i { background: var(--ww-miss); }
.ww-card .big { font: 900 20px/1.15 var(--ww-display); }
.ww-card .small { font: italic 400 15px var(--ww-fell); color: var(--ww-muted); margin-top: 2px; }
.ww-card .pts { font: 900 22px var(--ww-display); color: var(--ww-ink); font-variant-numeric: tabular-nums; }
.ww-card.hit .pts { color: #2a7a46; } .ww-card.close .pts { color: #9a6c00; } .ww-card.miss .pts { color: var(--ww-miss); }
.ww-card .ww-btn.main { flex: none; min-height: 50px; padding: 8px 18px; }

/* ---------- results: a ruled ledger ---------- */
.ww-sheet {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(520px, 100%); max-height: 60%; overflow-y: auto; overscroll-behavior: contain; z-index: 4;
  background: var(--ww-parchment); background-size: 160px 160px, auto; border-radius: 20px 20px 0 0; padding: 8px 18px 20px;
  border-top: 2px solid var(--ww-brass);
  box-shadow: inset 0 3px 0 rgba(255,248,228,.7), inset 0 0 30px rgba(140,95,40,.2), 0 -14px 40px rgba(10,5,2,.5);
  animation: ww-sheet .5s cubic-bezier(.2,1.1,.3,1);
}
@keyframes ww-sheet { from { transform: translate(-50%, 100%); } to { transform: translate(-50%, 0); } }
.ww-sheet.min { max-height: 70px; overflow: hidden; }
.ww-grab { display: block; width: 100%; border: 0; background: none; padding: 4px 0 8px; font: italic 400 14px var(--ww-fell); color: var(--ww-muted) !important; }
.ww-grab::before { content: ''; display: block; width: 46px; height: 6px; border-radius: 99px; margin: 0 auto 5px;
  background: linear-gradient(180deg, var(--ww-brass-hi), var(--ww-brass) 60%, var(--ww-brass-lo)); box-shadow: 0 1px 1px rgba(0,0,0,.35); }
.ww-sheet h2 { font: 900 26px/1.1 var(--ww-display); margin: 0; }
.ww-sheet .score { font: 900 42px/1 var(--ww-display); margin: 6px 0 2px; font-variant-numeric: tabular-nums; color: var(--ww-ink); text-shadow: 0 1px 0 rgba(255,250,235,.8); }
.ww-sheet .score small { font: italic 400 18px var(--ww-fell); color: var(--ww-muted); }
.ww-sheet .vs { font-weight: 900; color: var(--ww-sea); margin: 6px 0 0; }
.ww-rows { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 0; border-top: 1.5px solid rgba(42,29,18,.45); }
.ww-rows li { display: flex; align-items: center; gap: 10px; padding: 9px 4px; font-weight: 800; font-size: 15px; border-bottom: 1px solid rgba(42,29,18,.2); animation: ww-ink .4s both; }
.ww-rows li:nth-child(2) { animation-delay: .08s; } .ww-rows li:nth-child(3) { animation-delay: .16s; } .ww-rows li:nth-child(4) { animation-delay: .24s; } .ww-rows li:nth-child(5) { animation-delay: .32s; }
@keyframes ww-ink { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.ww-rows li i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; flex: none; font: 900 12px/1 var(--ww-body); font-style: normal; color: #fff;
  box-shadow: inset 0 -2px 3px rgba(0,0,0,.3), inset 0 1px 1px rgba(255,255,255,.35), 0 1px 2px rgba(0,0,0,.35); }
.ww-rows li i.hit { background: radial-gradient(circle at 35% 30%, #6fc08b, var(--ww-hit) 55%, #24663b); }
.ww-rows li i.close { background: radial-gradient(circle at 35% 30%, #ffe7a6, var(--ww-close) 55%, #b98a22); color: #3a2800; }
.ww-rows li i.miss { background: radial-gradient(circle at 35% 30%, #e07560, var(--ww-miss) 55%, #742314); }
.ww-rows li i.hit::after { content: '✓'; } .ww-rows li i.close::after { content: '≈'; } .ww-rows li i.miss::after { content: '✕'; }
.ww-rows li span { flex: 1; min-width: 0; }
.ww-rows li span small { display: block; font: italic 400 14px var(--ww-fell); color: var(--ww-muted); }
.ww-rows li b { font: 900 17px var(--ww-display); font-variant-numeric: tabular-nums; }
.ww-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 14px 0 0; }
.ww-chips span { border-radius: 10px; padding: 8px 4px; text-align: center; font-weight: 800; font-size: 11px; color: #5a420f;
  background: linear-gradient(180deg, #f8e7b4, #e2c27a); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 0 0 1px rgba(122,90,28,.45), 0 1px 0 #a88440, 0 2px 0 #7a5a1c, 0 4px 8px rgba(10,5,2,.2); }
.ww-chips b { display: block; font: 900 18px var(--ww-display); color: var(--ww-ink); font-variant-numeric: tabular-nums; }
.ww-sheet .ww-btn { display: block; width: 100%; margin-top: 10px; }
.ww-next { text-align: center; font: italic 400 15px var(--ww-fell); color: var(--ww-muted); margin: 12px 0 0; }

.ww-msg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font: italic 400 20px var(--ww-fell); color: #e9d6aa; padding: 24px; pointer-events: none; z-index: 1; }
.ww-more { display: block; text-align: center; padding: 12px; font: italic 400 15px var(--ww-fell); color: #d9c193; text-decoration: none; }
.ww-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; color: #f8e6b8; font: 800 15px var(--ww-body); padding: 11px 16px; border-radius: 12px; transition: .25s; pointer-events: none; z-index: 1000;
  background: linear-gradient(180deg, var(--ww-leather), var(--ww-leather-2)); box-shadow: inset 0 0 0 1px rgba(246,223,160,.5), 0 10px 24px rgba(0,0,0,.4); }
.ww-toast.on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- reading content: parchment leaves on the desk ---------- */
.ww-content { max-width: 720px; margin: 8px auto 0; padding: 0 16px; }
.ww-cardtext {
  background: var(--ww-parchment); background-size: 160px 160px, auto; border-radius: 14px; padding: 18px 20px; margin-bottom: 14px; line-height: 1.55; font-size: 16px;
  box-shadow: inset 0 0 0 1px rgba(42,29,18,.25), inset 0 0 30px rgba(140,95,40,.18), 0 2px 0 #9a7c48, 0 10px 22px rgba(0,0,0,.3);
}
.ww-cardtext h2 { font: 900 24px var(--ww-display); margin: 0 0 8px; }
.ww-cardtext h3 { font: italic 400 20px var(--ww-fell); margin: 16px 0 4px; }
.ww-cardtext ul { padding-left: 20px; margin: 6px 0; }
.ww-cardtext details { border-top: 1.5px solid rgba(42,29,18,.18); padding: 10px 0; }
.ww-cardtext summary { font-weight: 900; cursor: pointer; }
.ww-cardtext .fine { font-size: 13px; color: var(--ww-muted); }
#postGameLinks { max-width: 720px; margin: 16px auto 0; padding: 0 16px; }

@media (min-width: 900px) {
  .ww-stage {
    max-width: 1100px; margin: 12px auto 0; border-radius: 26px; height: calc(100dvh - 140px);
    box-shadow: inset 0 0 0 3px var(--ww-brass), inset 0 0 0 5px rgba(60,40,10,.7), inset 0 0 0 6px rgba(246,223,160,.35), inset 0 0 60px rgba(0,0,0,.5),
      0 2px 0 #1a0f08, 0 4px 0 #140b06, 0 24px 50px rgba(0,0,0,.5);
  }
  .ww-sheet { left: auto; right: 16px; top: 16px; bottom: 16px; width: 400px; max-height: none; transform: none; border-radius: 16px; border: 1.5px solid var(--ww-ink);
    box-shadow: inset 0 0 0 3px var(--ww-paper), inset 0 0 0 4px rgba(42,29,18,.4), inset 0 0 30px rgba(140,95,40,.2), 0 2px 0 #9a7c48, 0 4px 0 #7a5f35, 0 20px 40px rgba(10,5,2,.5);
    animation: ww-side .5s cubic-bezier(.2,1.1,.3,1); }
  .ww-sheet.min { bottom: auto; max-height: 70px; }
  @keyframes ww-side { from { transform: translateX(110%); } to { transform: none; } }
}
@media (max-width: 380px) {
  .ww-card { gap: 8px; padding: 11px 10px 11px 12px; }
  .ww-card .big { font-size: 18px; }
  .ww-card .ww-btn.main { padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) { .ww-card, .ww-sheet, .ww-globe, .ww-top, .ww-bar, .ww-zoom, .ww-rows li, .ww-dots i { animation: none !important; } .ww-btn, .ww-zoom button { transition: none; } }
@media (min-width: 900px) {
  .ww-stage:has(.ww-sheet:not([hidden]):not(.min)) .ww-zoom { opacity: 0; pointer-events: none; }
}
