:root{--ink:#26283f;--muted:#666977;--paper:#faf9f2;--line:#d9d8cd;--dark:#28273f;--lime:#e5f78d;--pixel:ui-monospace,'Courier New',monospace;color-scheme:light;font-family:'Apple SD Gothic Neo','Malgun Gothic',system-ui,sans-serif;color:var(--ink);background:var(--paper);font-weight:500}
*{box-sizing:border-box}body{margin:0;min-height:100dvh;background-image:radial-gradient(#77775114 .7px,transparent .85px);background-size:5px 5px}button,a,input{font:inherit}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #377bac;outline-offset:3px}a{color:inherit;text-decoration:none}button{border:0}h1,h2,h3,p{margin:0}.wrap{width:min(1152px,calc(100% - 88px));margin:auto}.mast{border-bottom:1px solid var(--line);background:#faf9f2f7}.mast-inner,.header-actions,.brand,.dialog-head,.catalog-head,.chips,.stepper,.pref,.round-head,.actions,.menu-nav{display:flex;align-items:center}.mast-inner{height:70px;justify-content:space-between}.brand{font-weight:900;font-size:19px;letter-spacing:-.07em;gap:8px}.header-actions{gap:12px}.icon-button,.quiet,.chip,.stepper button,.choice{background:#fffef8;border:1.5px solid #bcbdb5;border-radius:8px}.icon-button{display:inline-grid;place-items:center;width:40px;height:40px}.ico{width:19px;height:19px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.hero{isolation:isolate;overflow:hidden;position:relative;margin:30px 0 31px;background:#24243e;color:#fff8ec;border:2px solid #26243a;border-radius:15px;box-shadow:0 4px 0 #c9c8bb;min-height:237px;display:flex;align-items:center}.hero-copy{position:relative;z-index:2;padding:30px 40px;max-width:57%}.hero h1{font-size:clamp(36px,4.5vw,64px);font-weight:950;line-height:1.12;letter-spacing:-.08em}.hero p{font-size:15px;color:#e0dce4;line-height:1.6;margin:10px 0 20px;letter-spacing:-.035em}.hero-art{position:absolute;z-index:-1;inset:0 0 0 38%;width:62%;height:100%;object-fit:cover;object-position:67% 54%}.hero:after{content:"";position:absolute;z-index:0;inset:0;pointer-events:none;background:linear-gradient(90deg,#25243d 27%,#25243de3 39%,#25243d00 64%)}.big-button,.hero-play,.start,.secondary,.quiet,.choice{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;line-height:1.3;padding:10px 17px;font-weight:800}.hero-play,.big-button,.start{background:var(--lime);color:#272f23;border:2px solid #292b32;border-radius:8px;box-shadow:0 3px 0 #242638;font-size:15px}.hero-play{border-color:#111627;box-shadow:0 3px 0 #131327}.hero-play:active,.big-button:active,.start:active{transform:translateY(2px);box-shadow:none}.catalog-head{justify-content:space-between;margin-bottom:17px;gap:14px;flex-wrap:wrap}.section-title{display:flex;align-items:center;gap:10px}.section-title h2{font-size:26px;letter-spacing:-.07em}.num{font:700 13px var(--pixel);letter-spacing:.035em;padding:4px 8px;border:1px solid #c9cabe;border-radius:5px;background:#f0f0e6;color:#535b52}.chips{gap:5px}.chip{border-color:transparent;background:transparent;font-size:13px;padding:8px 13px;min-height:36px;font-weight:700;color:#666875}.chip[aria-pressed=true]{background:#2c2b40;color:#fff}.chip:hover:not([aria-pressed=true]){background:#ecece2}.games{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:17px}.game-card{min-width:0;background:#fffef9;border:1.5px solid #babbb0;border-radius:11px;overflow:hidden;box-shadow:0 3px 0 #cecec3;text-align:left;padding:0;position:relative;transition:transform .15s,box-shadow .15s,border-color .15s}.game-card:hover{transform:translateY(-3px);box-shadow:0 6px 0 #c8c7bb;border-color:#777889}.card-art,.stage-art{--pastel:#c8ddc3;position:relative;isolation:isolate;background-color:var(--pastel);background-image:radial-gradient(#49415b24 .9px,transparent 1px);background-size:7px 7px;overflow:hidden;display:grid;place-items:center}.card-art{height:clamp(118px,10.4vw,149px);border-bottom:1px solid #33334830}.card-art:after,.stage-art:after{content:"";position:absolute;width:75%;height:13px;border-radius:50%;background:#433b4a16;bottom:12%;z-index:-1;filter:blur(3px)}.card-num{position:absolute;top:9px;left:10px;color:#24263bc4;font:bold 11px var(--pixel);background:#fffef994;border:1px solid #40425642;border-radius:4px;padding:3px 5px}.card-copy{display:block;min-height:77px;padding:13px 12px 12px}.card-title{display:block;font-size:18px;font-weight:850;letter-spacing:-.065em}.card-sub{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#666873;margin-top:7px;gap:4px}.card-sub .ico{height:15px;width:15px}.catalog-foot{text-align:center;padding:29px 0 32px;font:700 11px var(--pixel);color:#707167;letter-spacing:.05em}
dialog{margin:auto;width:min(92vw,410px);border:2px solid var(--ink);border-radius:14px;background:var(--paper);color:var(--ink);padding:22px;box-shadow:0 6px 0 #1e1f3470;max-height:86dvh;overflow-y:auto}dialog::backdrop{background:#1c1b31a3}.dialog-head{justify-content:space-between}.dialog-head h2{font-size:23px;letter-spacing:-.06em}dialog p{font-size:14px;color:var(--muted);line-height:1.55;margin:12px 0 19px}.stepper{gap:10px;margin-bottom:12px}.stepper strong{margin-right:auto}.stepper button{width:38px;height:38px}.stepper button:disabled{opacity:.35}#name-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}#name-fields label{font-size:12px;color:var(--muted)}#name-fields input{width:100%;background:white;border:1px solid #bdbdb5;border-radius:6px;padding:8px;margin-top:3px;color:var(--ink);font-size:16px}dialog .big-button{width:100%}.pref{justify-content:space-between;min-height:52px;border-bottom:1px solid var(--line);font-weight:700}.pref input{width:24px;height:24px;accent-color:#506a3f}
.menu-nav{gap:7px;color:#686975;font-size:14px;font-weight:750;background:transparent;padding:10px 0;margin:12px 0}.menu-nav .ico{width:15px}.play-shell{width:min(100%,660px);margin:0 auto 40px;border:2px solid var(--ink);border-radius:15px;background:#fffef8;box-shadow:0 5px 0 #c9c8bc;overflow:hidden}.round-head{justify-content:space-between;gap:8px;background:#f2f2e7;padding:14px 22px;border-bottom:1px solid var(--line)}.round-head h1{font-size:19px;letter-spacing:-.045em}.round-head span{font-size:13px;color:#616374;font-weight:700}.stage-art{height:170px}.play-body{padding:24px;text-align:center;min-height:228px}.play-body h2{font-size:clamp(23px,4vw,32px);letter-spacing:-.065em;line-height:1.32;overflow-wrap:anywhere}.play-body p{color:#606374;margin:10px auto 18px;font-size:16px;line-height:1.6;word-break:keep-all;overflow-wrap:anywhere}.turn-tag{display:inline-flex;margin:0 0 13px;padding:5px 11px;border:1px solid #c3c8ba;border-radius:20px;background:#f1f3e6;font-size:13px;font-weight:750}.actions{margin:17px auto 1px;gap:10px;justify-content:center;flex-wrap:wrap}.secondary,.quiet{border-radius:8px;background:#f4f3ec;color:#3f4252;border:1px solid #bebfb6}.choice{background:#f7f5eb;font-size:17px;min-width:76px}.options{display:flex;gap:9px;flex-wrap:wrap;justify-content:center;margin:20px 0}.private-card{max-width:330px;margin:14px auto;padding:27px 14px;border:2px solid #3a354e;border-radius:10px;background:#e9e0f4;box-shadow:0 4px 0 #b7abc8}.private-card.hidden-face{background:repeating-linear-gradient(135deg,#e3daee,#e3daee 7px,#d9cde6 7px,#d9cde6 9px)}.private-card strong{font-size:26px;display:block;padding:6px;background:#f8f4fbe6;border-radius:5px;overflow-wrap:anywhere}.question{font-size:clamp(20px,4vw,27px);font-weight:800;line-height:1.5;letter-spacing:-.04em;margin:16px auto;padding:24px 14px;background:#fff0e9;border:1.5px solid #ceaa9c;border-radius:9px;word-break:keep-all}.field{border-radius:7px;border:1px solid #a5a5a5;padding:11px;width:min(100%,330px);font:inherit;font-size:16px}.dial{position:relative;width:min(268px,90%);aspect-ratio:1;margin:13px auto;border-radius:50%;border:3px double #79998b;background:repeating-conic-gradient(from -1deg,#aac8b3 0deg 1deg,transparent 1deg 30deg),radial-gradient(circle,#e9efde 57%,#bed6c5 58%,#d9e8d7 60%)}.seat{position:absolute;transform:translate(-50%,-50%);width:25px;height:25px;display:grid;place-items:center;border:1px solid #6e8a7d;background:#fcfaec;border-radius:50%;font:bold 12px var(--pixel)}.pulse{animation:pulse .85s infinite alternate}@keyframes pulse{to{transform:scale(1.06)}}.mini-art{height:100px;max-width:90%;object-fit:contain}.countdown{font:800 44px var(--pixel);color:#96523a}.results-line{border-radius:8px;padding:14px;background:#eff2e8;margin:10px auto;max-width:440px;word-break:keep-all;overflow-wrap:anywhere}.options .selected{background:var(--lime)}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}button:disabled:not(.block):not(.tooth){cursor:default}
@media(min-width:1400px){.hero{min-height:258px}}@media(max-width:980px){.wrap{width:calc(100% - 48px)}.games{grid-template-columns:repeat(4,minmax(0,1fr))}.hero{min-height:222px}.hero-copy{padding:27px}.card-art{height:128px}}@media(max-width:720px){.wrap{width:calc(100% - 28px)}.mast-inner{height:57px}.brand{font-size:16px;gap:3px}.header-actions{gap:6px}.icon-button{width:36px;height:36px}.hero{min-height:205px;margin:18px 0 22px}.hero-copy{padding:18px;max-width:64%}.hero h1{font-size:clamp(33px,6.4vw,43px)}.hero p{font-size:13px;margin:8px 0 16px}.hero-play{font-size:13px;padding:8px 12px;min-height:38px}.hero-art{inset:0 -14% 0 auto;width:72%;object-position:63% center}.hero:after{background:linear-gradient(90deg,#25243d 19%,#25243df0 34%,#25243d30 62%,transparent 80%)}.games{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.card-art{height:110px}.card-title{font-size:16px}.catalog-head{gap:8px}.section-title h2{font-size:23px}.chip{font-size:12px;padding:7px 10px}.round-head{padding:12px 16px}.play-body{padding:20px 14px}.stage-art{height:140px}}
@media(max-width:520px){.games{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{min-height:190px}.hero-copy{max-width:67%;padding:16px}.hero-art{right:-22%;width:82%}.hero p{max-width:150px}.card-art{height:107px}.card-copy{padding:11px;min-height:65px}.catalog-head{align-items:flex-start;flex-direction:column}.chips{width:100%;border-bottom:1px solid var(--line);padding-bottom:7px}.chip{min-height:38px}.card-sub{font-size:11px}.round-head span{font-size:12px}.hero-play .ico{width:15px}.num{font-size:11px}.play-body p{font-size:15px}.brand{white-space:nowrap}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}
.private-card{position:relative;overflow:hidden;padding:10px 18px 18px;background-image:radial-gradient(#58476229 1px,transparent 1px);background-size:8px 8px;animation:flip-in .18s ease-out}.secret-art{display:block;height:84px;width:100%;object-fit:contain}.private-card:not(.hidden-face){border-color:#66537e;box-shadow:0 4px 0 #9988a8}.private-card strong{font-size:23px}.private-card.hidden-face .secret-art{filter:grayscale(.45)}@keyframes flip-in{from{transform:perspective(600px) rotateY(13deg) translateY(3px)}}
.burst-stage{width:220px;height:138px;position:relative;isolation:isolate;margin:8px auto 15px;display:grid;place-items:center}.burst-stage i{position:absolute;width:150px;height:125px;background:#ffac4b;clip-path:polygon(51% 0,62% 25%,90% 10%,79% 39%,100% 46%,76% 59%,92% 94%,60% 76%,46% 100%,38% 76%,10% 91%,22% 59%,0 47%,26% 37%,14% 10%,43% 26%);animation:burst .48s both}.burst-stage b{z-index:1;font-size:41px;transform:rotate(-9deg);color:#492a3b;animation:burst .48s both}.burst-bomb{position:absolute;height:105px;opacity:.25}.options .choice:hover,.quiet:hover{background:#ebece1}@keyframes burst{from{scale:.25}60%{scale:1.11}to{scale:1}}@media(prefers-reduced-motion:reduce){.private-card,.burst-stage i,.burst-stage b{animation:none}}

/* Photographic tabletop edition */
:root {
  --paper: #f8f6ef;
  --ink: #252921;
  --dark: #23372f;
  --muted: #596157;
  --line: #dbd8cc;
  --lime: #edce87;
}
body { background: radial-gradient(ellipse at 45% 0, #fffdf6, #f6f4ec 70%); }
.mast { background: #fcfaf4; }
.mast-inner { height: 64px; }
.brand { gap: 10px; color: #20382b; }
.brand-mark { width: 37px; height: 37px; border-radius: 10px; }
.game-art { display: block; object-fit: contain; pointer-events: none; user-select: none; }
.hero {
  margin: 24px 0 31px;
  min-height: clamp(245px, 26vw, 330px);
  border: 0;
  border-radius: 20px;
  box-shadow: 0 8px 24px #34272823;
  background: #110e16;
}
.hero-art { inset: 0; width: 100%; height: 100%; }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero:after { background: linear-gradient(90deg,#0d0b12c9, #110e161a 50%, transparent 68%); }
.hero-copy { padding: 35px clamp(24px,4.1vw,58px); max-width: 50%; }
.hero h1 { font-weight: 850; line-height: 1.16; letter-spacing: -.08em; }
.hero p { color: #eee7dd; }
.hero-play,.big-button,.start { border: 1px solid #bca368; background: linear-gradient(#fce2a3, #ecc87b); color: #332919; box-shadow: 0 2px 5px #34281d26; border-radius: 10px; }
.hero-play:hover,.big-button:hover,.start:hover { filter: brightness(1.04); }
.chip[aria-pressed=true] { background: #284636; color: #fffdf6; }
.num { background: #eaeade; color:#4b5a49; border-color:#d8d8c9; }
.games { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 17px; }
.game-card { background:#fffdf8; border:1px solid #ddd8ca; border-radius:14px; box-shadow:0 3px 8px #392d1810; }
.game-card:hover { border-color: #a49d86; box-shadow: 0 8px 15px #33281820; }
.card-art { display:block; height:auto; aspect-ratio:1 / 1; background:var(--pastel); border:0; }
.card-art:after, .stage-art:after { display:none; }
.card-art .game-art { width:100%;height:100%;object-fit:cover;transition:transform .25s; }
.game-card:hover .card-art .game-art { transform:scale(1.035); }
.card-num { left:9px; top:9px; background:#fff9e6d9; border:0; border-radius:12px; color:#3a382a; font:700 10px system-ui,sans-serif; padding:2px 7px; }
.card-copy { padding:12px 14px 15px; min-height:74px; }
.card-title { color:#27362c; line-height:1.3; }
.card-sub { color:#62665c; }
.round-head { background: #f4f3e9; }
.round-head h1 { display:flex; align-items:center; gap:10px; color:#273b2d; }
.round-mark { width:34px; height:34px; border-radius:8px; }
.play-shell { border:1px solid #d4d1c3; background:#fffdf7; box-shadow:0 8px 28px #3a342512; }
.stage-art {
  display:grid;
  isolation:isolate;
  height:clamp(165px,25vw,232px);
  background:var(--pastel);
}
.stage-art:before {
  content:""; position:absolute; z-index:-1; inset:-30px;
  background:var(--scene) center/cover; filter:blur(23px) saturate(.86);
}
.stage-art .game-art {
  width:auto; max-width:100%; height:100%; aspect-ratio:1;
  mask-image:linear-gradient(90deg,transparent,#000 12% 88%,transparent);
}
.play-body { padding:22px clamp(14px,3vw,28px) 25px; }
.play-body h2 { color:#29382e; }
.turn-tag { background:#edf1e5; color:#405437; }
.question { background:linear-gradient(140deg,#fff6eb,#f6e0cd); border-color:#d2af92; color:#523835; }
.mini-art,.burst-bomb { width:132px;height:132px;object-fit:cover;margin:auto;border-radius:18px; }
.burst-bomb { opacity:.5; }
.private-card { max-width:245px; padding:10px; background:#faf7ed; border:1px solid #b6a684; border-radius:16px; box-shadow:0 5px 12px #30292020; }
.private-card .secret-art { width:100%;height:clamp(104px,17vh,156px);object-fit:cover;border-radius:9px; }
.private-card.hidden-face { padding:0; background:#193131; border-color:#5b6150; }
.private-card.hidden-face .secret-art { height:clamp(158px,24vh,210px);object-fit:contain;background:#10302f;filter:none; }
.private-card strong { margin-top:5px;background:transparent;color:#354233; }
.private-card.hidden-face strong { margin:0 0 6px; font-size:15px;color:#e6cea1; }
.dial {
  border:7px solid #b99a58;
  box-shadow:inset 0 0 0 2px #e8d29c,0 3px 4px #44351e40;
  background:repeating-conic-gradient(from -1deg,#ecd69c50 0deg 1deg,transparent 1deg 30deg),
    radial-gradient(circle,#215741,#143829 70%);
}
.dial .game-art {
  position:absolute; inset:10% 0; width:100%; height:80%;
  object-fit:contain; transform-origin:center;
  filter:drop-shadow(3px 5px 3px #17231965);
  will-change:transform;
}
.seat { background:#fff3d4; border-color:#bda570; color:#423819; }
.bomb-launch { display:grid;place-items:center;width:min(260px,100%);margin:16px auto; }
.bomb-launch > * { grid-area:1 / 1; }
.bomb-launch .game-art { width:100%;height:auto;border-radius:18px; }
.bomb-launch .start { position:relative;min-width:108px;min-height:50px; }
.bomb-timer { max-width:340px;margin:18px auto 22px;text-align:left; }
.bomb-timer-head,.bomb-timer-limits { display:flex;align-items:center;justify-content:space-between;gap:12px; }
.bomb-timer-head label { font-weight:700; }
.bomb-timer-head strong { margin-left:8px;font-variant-numeric:tabular-nums; }
.bomb-timer-head .quiet { min-height:44px;padding:6px 14px; }
.bomb-timer input { display:block;width:100%;height:36px;margin:4px 0 0;accent-color:#38634a; }
.bomb-timer-limits { color:#596254;font-size:13px; }
.bomb-timer #bomb-window { margin:12px 0 0;font-size:15px;text-align:center; }
.bottle-setup { max-width:440px;margin:22px auto;text-align:left;display:grid;gap:16px; }
.bottle-setup fieldset { padding:0;border:0;margin:0;min-width:0; }
.bottle-setup legend { font-size:15px;font-weight:750;color:#324a38; }
.bottle-setup legend { margin-bottom:7px;padding:0; }
.table-options,.direction-options { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px; }
.direction-options { grid-template-columns:1fr 1fr; }
.table-option,.direction-option { position:relative;cursor:pointer; }
.table-option input,.direction-option input { position:absolute;opacity:0;width:1px;height:1px; }
.table-option span,.direction-option span {
  min-height:76px;display:grid;justify-items:center;align-content:center;gap:7px;padding:6px 2px;
  border:1px solid #c4cbb7;border-radius:10px;background:#f4f4e9;color:#273d30;font-size:14px;font-weight:700;text-align:center;
}
.direction-option span { min-height:44px; }
.bottle-setup input:checked+span { background:#e4ecda;border-color:#3f634a;box-shadow:inset 0 0 0 1px #3f634a; }
.bottle-setup input:focus-visible+span { outline:3px solid #377bac;outline-offset:2px; }
.table-mini { display:block;height:30px;width:30px;border:3px solid #bc9f65;background:linear-gradient(125deg,#36684e,#193c2c);box-shadow:0 2px 2px #3b3b2d38; }
.table-mini.round,.table-mini.oval { border-radius:50%; }
.table-mini.square,.table-mini.long { border-radius:4px; }
.table-mini.long,.table-mini.oval { width:46px;height:26px; }
.bottle-setup:has(input[value="vertical"]:checked) .table-mini:is(.long,.oval) { transform:rotate(90deg) scale(.75); }
.bottle-dial { container-type:inline-size;width:min(var(--board-width),100%);margin:18px auto;border:0;box-shadow:inset 0 0 0 5px #b99a58,inset 0 0 0 7px #e8d29c,0 3px 5px #44351e40; }
.bottle-dial.table-square,.bottle-dial.table-long {
  border-radius:15px;
  background:radial-gradient(ellipse at 48% 42%,#34694d,#153c2b 80%);
}
.bottle-dial .game-art { inset:0;margin:auto;height:74%;height:min(74%,74cqw); }
.bottle-dial .seat { width:clamp(28px,10cqw,44px);height:clamp(28px,10cqw,44px);padding:0;font-size:15px; }
.bottle-dial button.seat { border:2px solid #c5a86c;box-shadow:0 2px 4px #082c20aa; }
.bottle-dial button.seat:disabled { color:#f1e8bf;background:#345441;border-color:#849371; }
.bottle-dial .winning-seat { color:#30240e;background:#ffdc7c;box-shadow:0 0 0 3px #fff3c5; }
/* The main bottle control stays under the same thumb as its action changes. */
#spin-status button:is([data-action="spin"],[data-action="brake"]) {
  position:fixed;left:50%;top:50%;top:50dvh;translate:-50% -50%;z-index:8;
  width:min(144px,calc(100vw - 24px));min-height:52px;margin:0;
}
.play-body:has(.seat-surface:focus) #spin-status [data-action="spin"] { visibility:hidden; }
#spin-status .actions:has(> :only-child[data-action="brake"]) { margin:0; }
.bottle-seats { display:flex;flex-wrap:wrap;gap:6px 12px;justify-content:center;list-style:none;padding:0;margin:18px auto 0; }
.bottle-seats li { display:inline-flex;align-items:center;gap:5px;font-size:13px;color:#405041;overflow-wrap:anywhere; }
.bottle-seats b { background:#e9e8d6;color:#354134;border-radius:50%;min-width:22px;line-height:22px; }

.seat-surface { position:absolute;inset:0;width:100%;height:100%;padding:0;background:transparent;border:0;border-radius:inherit;cursor:crosshair; }
.seat-surface:focus-visible::after { content:'+';position:absolute;left:var(--cursor-x);top:var(--cursor-y);transform:translate(-50%,-50%);width:22px;height:22px;line-height:20px;border:1px dashed #fff4cf;border-radius:50%;background:#194330;color:white; }
.bottle-dial button.seat { touch-action:none;cursor:grab; }
.bottle-dial button.seat:active { cursor:grabbing; }
.bottle-dial button.seat[aria-pressed=true] { outline:2px solid #fff8d7;outline-offset:2px;z-index:1; }
.bottle-seats button { display:inline-flex;align-items:center;gap:5px;min-height:36px;padding:3px 8px;border:1px solid #ccd3be;border-radius:9px;background:#fafaf0;color:#324537; }
.bottle-seats button[aria-pressed=true] { background:#e4ecda;border-color:#3f634a;box-shadow:inset 0 0 0 1px #3f634a; }

.croc-toy {
  position:relative; isolation:isolate; margin:0 auto; width:min(100%,420px);
  border-radius:18px; overflow:hidden;
  background:#c7d4ad; box-shadow:0 3px 10px #384c2622;
}
.croc-board { width:100%; height:auto; }
.teeth { position:absolute; inset:0; }
.tooth {
  position:absolute; transform:translate(-50%,-50%); padding:0; border:0;
  background:transparent; color:#77583b; touch-action:manipulation;
  border-radius:35%; overflow:visible;
  font:700 clamp(10px,2.9vw,13px)/1 system-ui,sans-serif;
}
.tooth-crown {
  position:absolute; inset:1% 5% 5%; display:grid; place-items:center;
  pointer-events:none; transform:rotate(var(--tilt)); transform-origin:50% 18%;
  border:1px solid #b18a66;
  border-radius:44% 42% 55% 55% / 18% 20% 92% 90%;
  background:radial-gradient(ellipse at 35% 35%,#fffdf0 10%,#fff7df 43%,#ead4af 79%,#bd9871 100%);
  box-shadow:inset 0 3px 3px #9f664a59,inset 1px -2px 2px #fff6df88,0 3px 3px #2d0e0a70;
  text-shadow:0 1px #fff5da; transition:transform .12s,opacity .12s;
}
.tooth[data-jaw=lower] .tooth-crown {
  inset:5% 5% 1%; transform-origin:50% 82%;
  border-radius:54% 55% 40% 43% / 92% 90% 16% 20%;
  box-shadow:inset 0 -3px 3px #ac77504f,inset 1px 2px 2px #fff9e5aa,0 2px 2px #411b0d59;
}
.tooth.sunk .tooth-crown { opacity:.48; transform:rotate(var(--tilt)) scale(.86,.49); }
.tooth.trap .tooth-crown { background:radial-gradient(ellipse at 35% 24%,#ffe8c2,#ffa075 77%); outline:2px solid #ffe4a1; }
.tooth:not(:disabled):active .tooth-crown { transform:rotate(var(--tilt)) scale(.94,.78); }
.play-body:has(.snapped) .actions { margin:0 auto 14px; }
.snapped { animation:croc-snap .47s ease-out; }
@keyframes croc-snap { 30% { transform:translateY(-3px) scale(.99,.95); } 65% {transform:rotate(-1deg);} }
@media(max-width:980px) { .games{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;} }
@media(max-width:720px) {
 .games{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
 .mast-inner{height:55px;} .brand-mark{width:31px;height:31px;} .brand{gap:6px;}
 .hero{min-height:218px;margin:16px 0 22px;border-radius:16px;} .hero-copy{padding:20px;max-width:64%;}
 .hero-art img{object-position:66% 50%;} .hero:after{background:linear-gradient(90deg,#0d0a13ee 2%,#0d0a13b8 30%,transparent 75%);}
 .card-copy{padding:10px;min-height:65px;}
}
@media(max-width:520px) {
 .games{grid-template-columns:repeat(2,minmax(0,1fr));}
 .hero{min-height:200px;} .hero-copy{padding:16px;max-width:69%;}
 .round-mark{width:29px;height:29px;} .round-head h1{gap:7px;}
}
@media(prefers-reduced-motion:reduce){.game-card:hover .card-art .game-art,.snapped{transform:none;animation:none;}}
.stage-art { grid-template-rows:minmax(0,1fr); }


/* A brass stopwatch with a recessed LCD. The dial stays still during the hidden interval. */
.watch-art,.watch-board {
  position:relative; isolation:isolate; overflow:hidden; background:
    radial-gradient(ellipse at 28% 18%,#f4f1d9 0,transparent 62%),linear-gradient(155deg,#e1e6ce,#8ba694);
}
.card-art .watch-art,.watch-art.round-mark,.watch-board { display:grid; place-items:center; container-type:inline-size; }
.watch-art.round-mark { flex:none; }
.watch-board { width:min(100%,320px); height:174px; margin:16px auto; border:1px solid #b3c4af; border-radius:18px; }
.watch-case {
  position:relative; display:grid; place-items:center;
  width:55%; aspect-ratio:1; margin-top:7%; border-radius:50%;
  background:linear-gradient(128deg,#f9e7a9 4%,#ac893e 22%,#fff1b8 40%,#bd9655 63%,#70542d 84%,#d8ba72 96%);
  box-shadow:inset 0 0 0 1px #8d764a,1px 3px 1px #6e5834,4px 8px 12px #243d3545;
}
.watch-crown {
  position:absolute; width:24%; height:14%; top:-13%; left:38%; z-index:-1; border-radius:26% 26% 15% 15%;
  background:repeating-linear-gradient(90deg,#987435 0 8%,#d7bb7b 9% 17%); border:1px solid #8d7044;
}
.watch-bezel {
  position:relative; display:grid; place-items:center; width:86%; height:86%; border-radius:50%;
  background:radial-gradient(ellipse at 35% 22%,#4c5c47,#1f302b 72%); border:2px solid #6d634a;
}
.watch-scale {
  position:absolute; inset:6%; border-radius:50%; background:repeating-conic-gradient(#f3dea6 0deg 1.6deg,transparent 1.6deg 12deg);
  mask-image:radial-gradient(circle,transparent 60%,#000 61%); -webkit-mask-image:radial-gradient(circle,transparent 60%,#000 61%);
}
.watch-lcd {
  position:relative; display:grid; place-items:center; width:74%; min-height:31%; border-radius:6%;
  background:linear-gradient(150deg,#a6b299,#d4dfc4); color:#28362b; box-shadow:inset 0 2px 4px #15231c65;
  font:700 9cqw/1 ui-monospace,monospace; font-variant-numeric:tabular-nums; letter-spacing:-.075em; padding-right:.07em;
}
.watch-pin { position:absolute; bottom:15%; width:6%; aspect-ratio:1; border-radius:50%; background:#c6a56c; }
.watch-board .watch-case { width:130px; margin-top:10px; }
.watch-board .watch-lcd { font-size:26px; }
.watch-config { margin:18px auto 24px; width:min(100%,340px); }
.watch-config label { color:#40513e; font-weight:700; }
.watch-step { display:flex; align-items:center; justify-content:center; gap:14px; margin:10px 0 3px; }
.watch-step output { min-width:4.2em; color:#284a38; font:750 34px/1.3 system-ui,sans-serif; font-variant-numeric:tabular-nums; }
.watch-step button { width:44px; height:44px; font-size:21px; color:#304839; background:#eff3e9; border:1px solid #b6c6af; border-radius:50%; }
.watch-step button:disabled { opacity:.38; }
.watch-config input { width:100%; height:38px; margin:0; accent-color:#396649; }
.watch-limits { display:flex; justify-content:space-between; font-size:13px; color:#57654f; }
.watch-results { border-collapse:collapse; width:min(100%,410px); margin:15px auto 24px; font-variant-numeric:tabular-nums; }
.watch-results td,.watch-results th { padding:9px 5px; text-align:right; border-bottom:1px solid #dee3d6; }
.watch-results th:first-child { text-align:left; overflow-wrap:anywhere; }
.watch-results thead { color:#51614d; font-size:13px; }

.truth-pair {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(8px,3vw,18px);
  width:min(100%,410px);margin:20px auto 4px;
}
.truth-back {
  display:block;min-width:0;overflow:hidden;aspect-ratio:1;padding:0;
  border:2px solid #a18248;border-radius:14px;background:#143134;
  box-shadow:0 3px 0 #746249;cursor:pointer;touch-action:manipulation;
}
.truth-back .game-art { width:100%;height:100%;object-fit:cover; }
.truth-back:focus-visible { outline:3px solid #4c6aa0;outline-offset:3px; }
.truth-back:active { transform:translateY(2px);box-shadow:none; }
.truth-front {
  display:grid;justify-items:center;align-content:center;gap:16px;width:min(100%,410px);
  min-height:190px;margin:18px auto;padding:24px 18px;border:1px solid;
  border-radius:16px;box-shadow:inset 0 0 0 5px #fff6,0 3px 8px #29251d14;
  text-align:center;animation:flip-in .2s ease-out;
}
.truth-mild { background:#e3edcf;border-color:#9dab7b;color:#354c2e; }
.truth-spicy { background:#f9d4c6;border-color:#cb9383;color:#782f27; }
.truth-front h2 { color:inherit;font-size:17px;margin:0; }
.truth-front p { color:inherit;font-size:clamp(19px,4vw,25px);font-weight:700;line-height:1.5;margin:0;word-break:keep-all;overflow-wrap:anywhere; }
#truth-form { display:grid;gap:8px; }
#truth-form label { font-weight:700; }
#truth-form .field { width:100%;background:white;color:var(--ink); }
#truth-question { resize:vertical;min-height:5em; }
#truth-editor details { border-top:1px solid var(--line);padding-top:12px; }
#truth-editor summary { cursor:pointer;font-weight:700;padding-bottom:10px; }
#truth-message { margin:8px 0; }
#truth-editor ul { list-style:none;margin:0;padding:0; }
#truth-editor li { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0; }
#truth-editor li span { overflow-wrap:anywhere; }
#truth-editor li button,#truth-edit-actions button { flex-shrink:0;min-height:44px; }
#truth-editor [hidden] { display:none; }

.king-order { margin:0 auto;width:min(100%,26rem);text-align:center; }
.king-order-label { color:#745222;font-size:14px;font-weight:700;overflow-wrap:anywhere; }
.king-order :is(h1,h2) { color:#263d32;font-size:clamp(24px,6vw,34px);line-height:1.35;margin:6px 0 20px;word-break:keep-all;overflow-wrap:anywhere; }
.king-recipients { margin:0 0 20px;padding:0 14px;background:#f6f3e9;border:1px solid #dfdac9;border-radius:12px;text-align:left; }
.king-recipients div { display:grid;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:16px;padding:10px 0; }
.king-recipients div+div { border-top:1px solid #dfdac9; }
.king-recipients dt { color:#675b43;font-size:14px;white-space:nowrap; }
.king-recipients dd { margin:0;color:#283c2f;text-align:right;font-weight:700;overflow-wrap:anywhere; }
.play-shell:has(.king-order) .stage-art { height:clamp(84px,16vw,120px); }

.main-roster { display:flex;align-items:center;justify-content:space-between;gap:14px;
  margin:16px 0;padding:15px 18px;background:#fffdf7;border:1px solid #d4d1c3;border-radius:14px;color:#293d30; }
.main-roster h2 { font-size:18px;margin:0; }
.main-roster h2 b { color:#436745; }
.main-roster p { font-size:14px;color:#566257;margin:4px 0 0;overflow-wrap:anywhere; }
.main-roster button { flex:none;min-height:44px; }
@media(max-width:400px){.main-roster { padding:12px;gap:8px; }.main-roster button { padding:8px 12px; }}

.party-prompt { display:grid; gap:8px; width:min(100%,28rem); margin:16px auto; text-align:left; }
.party-prompt label { font-weight:750; }
.party-prompt .field { width:100%; min-width:0; font:inherit; resize:vertical; background:white; color:var(--ink); }
.party-prompt .actions { margin-top:8px; }
.fold-players,.party-scores { width:min(100%,28rem); margin:16px auto; padding:0; border:0; text-align:left; }
.fold-players { display:grid; gap:8px; grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr)); }
.fold-players label,.party-scores li { display:flex; align-items:center; gap:8px; padding:8px 12px; overflow-wrap:anywhere; }
.fold-players label { min-height:46px; border:1px solid #c9ccbd; border-radius:8px; cursor:pointer; }
.fold-players label:has(:checked) { border-color:#36583d; background:#e5eddb; }
.fold-players input { width:18px; height:18px; flex:none; accent-color:#36583d; }
.fold-players small,.party-scores b { flex:none; margin-left:auto; color:#415641; }
.party-scores { list-style:none; }
.party-scores li { border-bottom:1px solid #dde0d4; }

.updown-form { margin-top:24px; }
.updown-form label { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.updown-form label strong { font-size:1.4rem; color:var(--ink); font-variant-numeric:tabular-nums; }
.updown-form > div { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
.updown-form .field { font-size:1.15rem; }
.updown-form #updown-error { margin:0; color:#963e37; text-align:left; }
.updown-form #updown-error:empty { display:none; }
.updown-hint.higher { color:#8a492a; }
.updown-hint.lower { color:#2d5e80; }

.multi-room-entry { display:flex; align-items:center; gap:10px; padding:14px 18px; margin:0 0 12px;
  border-radius:12px; background:#254c3a; color:#fff9e8; text-decoration:none; font-weight:750; }
.multi-room-entry .ico:last-child { margin-left:auto; }
.multi-room-entry:focus-visible { outline:3px solid #8c691f; outline-offset:3px; }

.mode-back { display:inline-flex; align-items:center; min-height:44px; padding:0 6px; font-size:.88rem; font-weight:600; color:var(--dark); text-decoration:underline; text-underline-offset:.2em; }

.arcade-return {
  display:inline-flex; min-height:44px; align-items:center; gap:8px; padding:0 13px;
  border:1px solid #b8c5b7; border-radius:10px; background:#edf1e8; color:#254433;
  font-size:.9rem; font-weight:700; text-decoration:none;
}
.arcade-return:hover { background:#e0e8d9; }
.arcade-return:focus-visible { outline:2px solid #315b42; outline-offset:2px; }

.player-actions { display:grid; grid-template-columns:auto 1fr; gap:10px; }
#player-status:empty, #roster-feedback:empty { display:none; }

.icon-button, .stepper button {
  display:inline-grid; place-items:center; flex:none;
  width:44px; height:44px; padding:0; line-height:1;
}
.chips { flex-wrap:wrap; }
