:root {
  color-scheme: light;
  --ink:#2e2636; --muted:#60556a; --paper:#fcfaff; --card:#fff; --line:#e1d8ec;
  --brand:#583777; --accent:#704b93; --coral:#f25c54; --yellow:#f2b705; --mint:#2ec4b6;
  --wash:#e9dff8; --soft:#f3edfc; --edge:#9985ae; --shadow:#49305c26; --cta-ink:#261b17;
  --display-tracking:-.034em; --heading-tracking:-.018em;
  font-family:"Noto Sans SC Web","Noto Sans SC","PingFang SC","Microsoft YaHei UI",system-ui,sans-serif;
  background:var(--paper); color:var(--ink);
}
html:lang(zh) { --display-tracking:0em; --heading-tracking:0em }
* { box-sizing:border-box }
body { margin:0; line-height:1.55 }
[hidden] { display:none!important }
a { color:var(--brand); text-underline-offset:.2em }
img { display:block; max-width:100% }
button,input,select,textarea { font:inherit }
button { cursor:pointer }
input:not([type=radio]) { display:block; width:100%; padding:.8rem .95rem; border:1px solid var(--edge); border-radius:.65rem; background:var(--card); color:var(--ink) }
:focus-visible { outline:3px solid var(--accent); outline-offset:4px }
[tabindex="-1"]:focus { outline:none }
.wrap { width:min(100% - 3rem, 1160px); margin-inline:auto }
.skiplink { position:absolute; top:.5rem; left:.5rem; padding:.5rem; z-index:4; background:white; transform:translateY(-150%) }
.skiplink:focus { transform:none }
.top { border-bottom:1px solid var(--line); background:var(--card); color:var(--ink) }
.top-inner { display:flex; align-items:center; justify-content:space-between; gap:1rem; min-height:74px }
.brand { display:inline-flex; width:197px; flex-shrink:0 }
.brand img { height:auto; align-self:center }
.nav,.actions { display:flex; flex-wrap:wrap; align-items:center; gap:.65rem }
.nav a { color:inherit; text-decoration:none; padding:.4rem .55rem; border-radius:.4rem; font-weight:650 }
.nav a:hover { background:var(--soft) }
.nav a[aria-current] { color:var(--brand); background:var(--soft); box-shadow:inset 0 -2px var(--accent) }
.hero { position:relative; isolation:isolate; margin-block:1.5rem 2.25rem; background:var(--wash); color:var(--ink); border-radius:1.15rem; display:grid; grid-template-columns:54% 46%; overflow:hidden; box-shadow:0 4px 0 var(--shadow) }
.hero-copy { position:relative; z-index:1; align-self:center; padding:clamp(1.5rem,4vw,3rem) }
.hero-photo { position:absolute; inset:0 0 0 auto; width:68%; overflow:hidden }
.hero-photo img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:54% 54% }
.hero-photo::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(to right,var(--wash) 8%,var(--wash) 26%,color-mix(in srgb,var(--wash) 70%,transparent) 47%,transparent 74%);
}
h1,h2,h3,p { margin-top:0 }
h1,h2,h3 { line-height:1.15; text-wrap:balance }
h1 { font-size:clamp(2.45rem,6vw,5.1rem); letter-spacing:var(--display-tracking); margin-bottom:1.1rem }
h2 { font-size:clamp(1.65rem,3.5vw,2.65rem); letter-spacing:var(--heading-tracking); margin-bottom:.85rem }
h3 { font-size:1.25rem; letter-spacing:var(--heading-tracking) }
.hero h1 { font-size:clamp(2.55rem,5.7vw,4.65rem); white-space:pre-line }
.hero h1 span { color:var(--brand) }
.hero p { max-width:42ch; color:var(--ink); font-size:clamp(1rem,1.4vw,1.2rem); margin-bottom:1.4rem }
.hero .actions { gap:1rem }
.hero-link { font-weight:700 }
.button { display:inline-flex; justify-content:center; align-items:center; min-height:46px; text-decoration:none; background:var(--accent); color:white; font-weight:750; border:1px solid transparent; border-radius:.55rem; padding:.64rem 1.1rem; text-align:center; overflow-wrap:anywhere; box-shadow:0 2px 0 var(--shadow) }
.button:hover { background:var(--brand); transform:translateY(-1px) }
.button:active { transform:translateY(1px); box-shadow:none }
.secondary { background:var(--card); color:var(--brand); border-color:var(--edge) }
.secondary:hover { background:var(--soft) }
.cta { background:var(--coral); color:var(--cta-ink) }
.cta:hover,.cta:focus-visible,.game:hover .cta { background:#ff766f; color:var(--cta-ink) }
.cta:active,.game:active .cta { background:var(--coral); color:var(--cta-ink) }
.section { margin-block:2.8rem 3.4rem }
.section-head { display:flex; align-items:end; justify-content:space-between; gap:1rem; margin-bottom:1rem }
.section-head h2 { margin:0 }
.library { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:1rem }
.library .section-head { margin:0 }
.library h1 { margin:0 }
.library > .grid,.library-options[open],.library-status,.library-recovery { grid-column:1/-1 }
.library-options summary { display:flex; align-items:center; justify-content:space-between; gap:.75rem; width:fit-content; min-height:44px; padding:.45rem .8rem; cursor:pointer; color:var(--brand); font-weight:700 }
.library-options summary::-webkit-details-marker { display:none }
.library-options summary::after { content:"+"; font-size:1.15em; line-height:1 }
.library-options[open] summary::after { content:"−" }
.search { width:min(100%, 320px) }
.library-controls { display:flex; align-items:end; flex-wrap:wrap; gap:.85rem; padding:.75rem .8rem 1rem; border-block:1px solid var(--line) }
.library-controls .search { min-width:min(15rem,100%); flex:1 }
.library-controls .filters { flex:2 1 26rem; margin-bottom:0; align-items:end }
.library-controls .filters label { max-width:none; min-width:0 }
.library-controls input,.library-controls select { min-height:47px; padding:.65rem .8rem }
.library-controls .search label { margin:0 0 .25rem }
.search label,.form-label,form > label { display:block; font-weight:650; margin-bottom:.3rem }
.filters { display:flex; gap:.7rem; flex-wrap:wrap; margin-bottom:1rem }
.filters label { flex:1 1 9rem; max-width:15rem; font-weight:650 }
.filters select { display:block; width:100%; margin-top:.25rem; border-radius:.6rem; padding:.66rem; color:var(--ink); background:var(--card); border:1px solid var(--edge); font:inherit }
.grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem }
.theme-likely {
  --brand:#1e5d55; --accent:#267268; --wash:#d7efe7; --soft:#eef8f4; --score:#bce6d7;
  --line:#cde3db; --edge:#729e91; --shadow:#24584d26;
}
.theme-truth {
  --brand:#754521; --accent:#925729; --wash:#fae6bf; --soft:#fff4df; --score:#f4d29b;
  --line:#ebd9b9; --edge:#ad8a61; --shadow:#6f491f26;
}
.theme-wolf {
  --brand:#33536e; --accent:#3b6482; --wash:#e1edf7; --soft:#f1f7fc; --score:#cde3f3;
  --line:#d3e1ed; --edge:#7a98ae; --shadow:#33536e26;
}
.theme-wolf .game-art {
  background:radial-gradient(ellipse at 54% 24%,#fbf9ef 0%,var(--wash) 45%,transparent 80%);
}
.cover-phases { display:grid; gap:.55rem }
.cover-phases span { display:flex; align-items:center; gap:.7rem; background:var(--card); color:var(--brand); padding:.4rem .65rem; border:1px solid var(--line); border-radius:.35rem }
.cover-phases strong { min-width:1.5rem; text-align:center; background:var(--wash); border-radius:.25rem }
.theme-wolf .play { padding:clamp(.9rem,3vw,1.75rem); }
.wolf-status-line { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-start; gap:.25rem .75rem; margin-bottom:.45rem; text-align:start }
.wolf-phases { display:flex; flex-wrap:wrap; align-items:center; gap:.2rem; list-style:none; margin:0; padding:0 }
.wolf-phases li { color:var(--muted); padding:.18rem .48rem; border-radius:.35rem; font-size:.82rem; font-weight:650; white-space:nowrap }
.wolf-phases [aria-current="step"] { background:#ffd46d; color:#412506; font-weight:850 }
.wolf-panel { background:var(--card); border:1px solid var(--line); border-radius:.9rem; padding:clamp(1rem,3.5vw,2rem) }
.wolf-panel h2 { color:var(--brand) }
.wolf-panel .wolf-status-line .wolf-state { margin:0; color:var(--brand); font-size:.8rem; font-weight:700; font-variant-numeric:tabular-nums }
.wolf-panel > header.wolf-copy { text-align:start; padding:.2rem 0 .65rem; border-bottom:1px solid var(--line) }
.wolf-panel > header.wolf-copy h2 { margin:0; text-wrap:wrap }
.wolf-instructions { margin-top:.3rem; color:var(--muted); font-size:.95rem; line-height:1.45 }
.wolf-instructions p { margin:0 }
.wolf-instructions p + p { margin-top:.2rem }
.wolf-panel .wolf-role-notes { margin-top:.3rem; color:var(--ink); font-size:.95rem; line-height:1.4 }
.wolf-panel .wolf-role-notes p { margin:0; max-width:68ch }
.wolf-panel .wolf-role-notes p + p { margin-top:.2rem }
.wolf-role-notes > strong { display:none }
.theme-wolf .play form { max-width:none }
.wolf-settings { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.7rem }
.wolf-setting { display:flex; justify-content:space-between; align-items:center; gap:.65rem; min-height:46px; font-weight:750; color:var(--brand) }
.wolf-setting select,.wolf-setting output { font:inherit; min-width:4rem; min-height:43px; border:1px solid var(--edge); border-radius:.45rem; padding:.45rem .55rem; background:var(--card); color:var(--ink) }
.wolf-setting output { text-align:center; background:var(--wash); border-color:var(--line) }
.wolf-lineup { margin:1rem 0; border:1px solid var(--line); padding:.8rem; border-radius:.8rem; min-width:0 }
.wolf-lineup legend,.wolf-names summary { color:var(--brand); font-weight:800 }
.wolf-setting-role { background:var(--soft); border:1px solid var(--line); border-radius:.6rem; padding:.6rem .7rem }
.wolf-setting-role .hint { margin:.35rem 0 0 }
.wolf-names { margin:1rem 0 }
.wolf-names summary { cursor:pointer; padding:.45rem 0 }
.wolf-names label { font-size:.93rem; font-weight:650 }
.wolf-names input { padding:.5rem .65rem }
.wolf-night { background:linear-gradient(160deg,var(--wash),var(--card) 78%) }
.wolf-table { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(.75rem,1.5vw,1.3rem); list-style:none; margin:1.2rem 0 0; padding:.3rem }
.wolf-table li { min-width:0; display:flex; perspective:650px }
.wolf-card { --wolf-name-height:4.4rem; position:relative; display:flex; flex:1; min-width:0; min-height:11.5rem; padding:0; border:0; border-radius:.85rem; background:transparent; color:#243b4e; text-align:center }
.wolf-card:disabled { cursor:default }
[data-card-turning] .wolf-card:not(:disabled) { cursor:progress }
.wolf-card-sheet { position:relative; flex:1; min-width:0; display:grid; grid-template-rows:auto minmax(var(--wolf-name-height),1fr); border-radius:inherit; overflow:hidden; border:1px solid #a4b6c1; background:#1d2b39; box-shadow:0 2px 0 #19324629,0 7px 12px #1a364115; backface-visibility:hidden }
.wolf-card-art { position:relative; isolation:isolate; display:block; align-self:start; width:100%; aspect-ratio:1; overflow:hidden; container-type:inline-size; background:#233646 url("./wolf-card-back.webp") center/contain no-repeat }
.wolf-card:not(.is-face) .wolf-card-art::after { content:""; position:absolute; inset:auto 0 0; height:.55rem; background:linear-gradient(transparent,#161d26b3); pointer-events:none }
.wolf-card-name { min-height:var(--wolf-name-height); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.18rem; padding:.5rem .35rem; background:linear-gradient(#181f28,#243647); color:#f6ebd9 }
.wolf-card-name strong { overflow-wrap:anywhere; max-width:100% }
.wolf-card.is-active { z-index:1; transform:scale(1.035) }
.wolf-card.is-active::before { content:""; position:absolute; z-index:2; inset:0; border:3px solid #ffc95d; border-radius:inherit; box-shadow:0 0 0 1px #915506,0 0 14px #f9aa387d; pointer-events:none }
.wolf-table.has-active .wolf-card:not(.is-active,.is-fog,.is-out) .wolf-card-art { filter:brightness(.73) saturate(.8) }
.wolf-card.is-active:not(.is-face) .wolf-card-art { filter:brightness(1.13) }
.wolf-card:not(:disabled):hover .wolf-card-sheet { border-color:#446d89; box-shadow:0 0 0 2px #9db9ce,0 7px 15px #304d6436 }
.wolf-card.is-face { --wolf-parchment:#f4e8ce }
.wolf-card.is-face .wolf-card-art { background:var(--wolf-parchment) }
.wolf-card.face-wolf { --wolf-portrait:url("./wolf-card-wolf.webp"); --role-ink:#50345a }
.wolf-card.face-guard { --wolf-portrait:url("./wolf-card-guard.webp"); --role-ink:#285843 }
.wolf-card.face-lantern { --wolf-portrait:url("./wolf-card-lantern.webp"); --role-ink:#654017 }
.wolf-card.face-village { --wolf-portrait:url("./wolf-card-village.webp"); --role-ink:#6b3d28 }
.wolf-card-portrait { position:absolute; inset:0; background:var(--wolf-portrait) center/contain no-repeat }
.wolf-face-caption { position:absolute; inset:auto 0 0; display:grid; gap:.18rem; align-content:center; padding:.22rem .6rem .15rem; background:var(--wolf-parchment); color:#3b2b1a }
.wolf-face-caption::before { content:""; position:absolute; inset:auto 0 100%; height:clamp(1.3rem,3.8vw,3.5rem); background:linear-gradient(transparent,var(--wolf-parchment)); pointer-events:none }
.wolf-card.is-face .wolf-card-name { background:linear-gradient(var(--wolf-parchment),#ebdbb9); color:#68513a }
.wolf-card-role { font-weight:850; font-size:clamp(.95rem,1.7vw,1.35rem); color:var(--role-ink) }
.wolf-face-description { font-size:clamp(.76rem,1.2vw,.92rem); line-height:1.4; overflow-wrap:anywhere }
.wolf-card-tag { font-size:.76em; font-weight:700 }
.wolf-card-mist { position:absolute; z-index:2; inset:0; overflow:hidden; pointer-events:none; isolation:isolate; background:linear-gradient(156deg,#667785 0%,#a4b0b9 54%,#617381 100%) }
.wolf-card-mist::before,.wolf-card-mist::after { content:""; position:absolute; inset:-35%; }
.wolf-card-mist::before { background:
  radial-gradient(ellipse at 29% 49%,#f2f5f4 0%,#d4dedfe8 13%,transparent 32%),
  radial-gradient(ellipse at 69% 34%,#e7eeef 0%,#d2dce1d9 17%,transparent 34%),
  radial-gradient(ellipse at 56% 64%,#f2f4f1 0%,#c7d3dcd9 16%,transparent 35%);
  filter:blur(9px)
}
.wolf-card-mist::after { background:
  radial-gradient(ellipse at 38% 60%,#f4f7f6cb 0%,transparent 29%),
  radial-gradient(ellipse at 69% 56%,#eef4f5e5 0%,transparent 27%),
  radial-gradient(ellipse at 47% 29%,#f5f8f78c 0%,transparent 28%);
  filter:blur(5px)
}
.wolf-card.is-fog .wolf-card-sheet { border-color:#7c8d97 }
.wolf-card.is-fog .wolf-card-name { background:linear-gradient(#283e4e,#213440); color:#f5f9fb }
.wolf-card.is-fog .wolf-card-tag { color:#d4e0e7 }
.wolf-card.is-cleared .wolf-card-mist { opacity:0 }
.wolf-card.is-cleared .wolf-card-name { color:#b9ebcc }
.wolf-card.is-out .wolf-card-sheet { filter:grayscale(1); opacity:.68 }
.wolf-card-time { padding:.15rem .42rem; border-radius:.4rem; background:#193a51; color:#fff; font-size:1.17rem; font-weight:850; font-variant-numeric:tabular-nums }
.wolf-card.is-ballot .wolf-card-sheet { grid-template-rows:auto minmax(var(--wolf-name-height),1fr) auto }
.wolf-vote-count { position:absolute; top:.35rem; inset-inline-end:.35rem; z-index:1; padding:.12rem .4rem; border-radius:.35rem; background:#f3f8fc; color:#24475f; font-size:.8em; font-weight:850; font-variant-numeric:tabular-nums }
.has-new-vote .wolf-vote-count { background:#ffdc88; color:#51360a }
.wolf-vote-action { min-height:2.15rem; display:grid; place-content:center; padding:.25rem; color:white; font-size:.82em; font-weight:750 }
.wolf-card.is-ballot:not(:disabled) .wolf-vote-action { background:#365f7b }
.wolf-card.is-ballot:not(:disabled):is(:hover,:focus-visible) .wolf-vote-action { background:#244b65 }
.wolf-card.is-active .wolf-card-name { background:linear-gradient(#fff1c4,#f6cf78); color:#412506 }
.wolf-card.is-active .wolf-card-tag { color:#513000 }
.game { display:flex; flex-direction:column; overflow:hidden; border:1px solid var(--line); border-radius:1rem; background:var(--card); color:var(--ink); text-decoration:none; box-shadow:0 4px 0 var(--shadow) }
.game:hover,.game:focus-visible { border-color:var(--edge); box-shadow:0 6px 0 var(--shadow) }
.game-cover { display:grid; place-items:center; container-type:inline-size }
.game-art { display:grid; place-items:center; aspect-ratio:1.86; background:linear-gradient(var(--wash) 0%,var(--soft) 63%,var(--card) 100%) }
.theme-likely .game-art { background:radial-gradient(ellipse at 50% 37%,var(--wash) 0%,var(--soft) 57%,transparent 81%) }
.theme-truth .game-art {
  background:linear-gradient(to bottom,transparent 60%,var(--card)),
    repeating-linear-gradient(0deg,var(--line) 0 1px,transparent 1px 1.15rem),var(--soft);
}
.game-logo { height:auto; aspect-ratio:1 }
.game-art .game-logo { width:46%; max-width:10.5rem }
.theme-wolf .game-logo { border-radius:.55rem; box-shadow:0 3px 8px #19324640 }
.cover-design { width:min(79cqi,16.5rem); color:var(--ink); font-size:clamp(.7rem,4.1cqi,.95rem); line-height:1.25; font-weight:750 }
.cover-guess .cover-design { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:1rem }
.cover-clues { display:grid; justify-items:start; gap:.65rem }
.cover-clues span { background:var(--card); border:1px solid var(--edge); border-radius:.8rem .8rem .8rem .15rem; padding:.55em .7em; box-shadow:0 2px 0 var(--shadow) }
.cover-clues span + span { justify-self:end }
.cover-mystery { display:grid; place-items:center; width:1.42em; height:1.56em; border-radius:.16em; background:var(--brand); color:#ffe8a6; box-shadow:4px 5px 0 var(--shadow); font-size:clamp(2.55rem,15cqi,4rem); line-height:1; transform:rotate(8deg) }
.cover-votes { width:90%; margin-inline:auto; padding:.35em .7em; border:1px solid var(--edge); border-radius:.8rem; background:var(--card); box-shadow:0 4px 0 var(--shadow) }
.cover-vote { display:grid; grid-template-columns:3.35em 1fr 1em; align-items:center; gap:.55em; min-height:2.4em; padding-inline:.28em }
.cover-vote + .cover-vote { border-top:1px solid var(--line) }
.cover-vote strong { text-align:right; font-variant-numeric:tabular-nums }
.cover-ballots { display:flex; gap:.28em }
.cover-ballots i { width:.68em; height:.68em; border-radius:50%; background:var(--edge) }
.cover-vote:first-child i { background:var(--accent) }
.cover-statements { display:grid; gap:.42em }
.cover-statements > div { display:grid; grid-template-columns:1.8em 1fr; align-items:center; gap:.65em; min-height:2.28em; padding:.32em .6em; background:var(--card); border:1px solid var(--edge); border-radius:.35rem; box-shadow:0 2px 0 var(--shadow) }
.cover-statements > div:first-child { transform:rotate(-3deg) }
.cover-statements > div:last-child { transform:rotate(3deg) }
.cover-statements strong { display:grid; place-items:center; border-radius:.22rem; background:var(--soft); min-height:1.65em; font-variant-numeric:tabular-nums }
.game-copy { padding:.75rem 1.25rem 1.25rem; flex:1; display:flex; flex-direction:column; align-items:flex-start }
.game h3 { margin:0 0 .55rem; font-size:clamp(1.34rem,2.2vw,1.78rem); font-weight:800; color:var(--ink) }
.game p { margin:.7rem 0 1rem; color:var(--ink) }
.game .meta { background:var(--soft); color:var(--brand); padding:.2rem .55rem; border-radius:.35rem }
.game-launch { --cta-ink:#fff; margin-top:auto }
.meta { font-size:.9rem; color:var(--muted); font-weight:650 }
.plain-card { display:block; text-decoration:none; border:1px solid var(--line); border-radius:.7rem; background:var(--card); color:var(--brand); padding:1.12rem; font-weight:700 }
.plain-card:hover { background:var(--soft); border-color:var(--edge) }
.occasions { padding-top:1.75rem; border-top:1px solid var(--line) }
.title { padding-block:2.5rem 1.3rem }
.title h1 { font-size:clamp(2.35rem,5.4vw,4.25rem) }
.title p { max-width:65ch; color:var(--muted) }
.game-shell { border:1px solid var(--line); border-radius:1rem; overflow:hidden; background:var(--soft); color:var(--ink); margin-block:1.5rem 1rem; box-shadow:0 4px 0 var(--shadow) }
.game-mast { min-height:13rem; display:grid; grid-template-columns:minmax(0,1fr) minmax(15rem,37%); align-items:center; padding:clamp(1.25rem,4vw,2.75rem); gap:1.5rem; background:var(--wash) }
.game-mast-art { grid-column:2; grid-row:1; min-height:9.5rem; padding-block:.6rem; border-radius:.8rem; background:var(--soft) }
.theme-likely .game-mast-art {
  background:radial-gradient(circle,transparent 3.9rem,#26726829 3.95rem 4rem,transparent 4.05rem),
    radial-gradient(circle,transparent 5.1rem,#26726829 5.15rem 5.2rem,transparent 5.25rem),var(--soft);
}
.theme-truth .game-mast-art {
  background:repeating-linear-gradient(0deg,var(--line) 0 1px,transparent 1px 1.15rem),var(--soft);
}
.game-mast-copy { grid-column:1; grid-row:1 }
.game-mast-title { display:flex; align-items:center; gap:clamp(.6rem,1.6vw,1.15rem); margin-bottom:.65rem }
.game-mast-title .game-logo { flex:none; width:clamp(3.25rem,7vw,5.5rem) }
.game-mast h1 { min-width:0; font-size:clamp(2.35rem,5vw,4rem); margin:0; overflow-wrap:anywhere }
.game-mast p { max-width:43ch; margin-bottom:.75rem }
.game-mast .meta { display:inline-block; border-radius:.35rem; padding:.23rem .6rem; background:var(--yellow); color:var(--cta-ink) }
.game-toolbar { display:flex; justify-content:flex-end; align-items:center; gap:.75rem; flex-wrap:wrap; background:var(--soft); padding:.5rem clamp(1.15rem,3.5vw,2rem); border-block:1px solid var(--line) }
.game-toolbar-actions,.game-jumps { display:flex; align-items:center; flex-wrap:wrap; gap:.6rem }
.game-toolbar .button { min-height:42px; padding:.4rem .8rem }
.game-rules-dialog { width:min(38rem,calc(100% - 2rem)); max-height:calc(100% - 2rem); border:1px solid var(--line); border-radius:.85rem; background:var(--card); color:var(--ink); padding:clamp(1rem,4vw,2rem) }
.game-rules-dialog::backdrop { background:#2e263699 }
.game-rules-dialog li + li { margin-top:.55rem }
.game-rules-dialog form { margin-top:1rem }
.reading.wolf-rules { width:100%; max-width:none; margin:1.75rem 0 3rem; padding:clamp(1rem,3vw,2.25rem); border:1px solid var(--line); border-radius:.9rem; background:var(--card) }
.reading.wolf-rules > h2 { margin:0 0 .8rem; font-size:clamp(1.6rem,3vw,2.15rem) }
.wolf-rules:lang(de) .wolf-manual :is(p,li) { max-inline-size:100ch }
.wolf-manual { line-height:1.65; overflow-wrap:anywhere }
.wolf-manual-lead { padding:.8rem 1rem; border-inline-start:3px solid #3b6482; background:#f1f7fc; border-radius:.25rem }
.wolf-manual h3 { font-size:1.24rem; margin:1.65rem 0 .65rem; color:#33536e }
.wolf-manual :is(ol,ul) { margin:.5rem 0; padding-inline-start:1.4rem }
.wolf-manual li + li { margin-top:.6rem }
.wolf-manual .wolf-manual-roles { list-style:none; padding:0; border-block:1px solid #d3e1ed }
.wolf-manual-roles li { padding:.65rem .25rem }
.wolf-manual .wolf-manual-roles li + li { border-top:1px solid #d3e1ed; margin:0 }
.wolf-manual-roles li > div { display:flex; align-items:baseline; flex-wrap:wrap; gap:.25rem .7rem }
.wolf-manual-roles span { color:var(--muted); font-size:.9rem }
.wolf-manual-roles p,.wolf-manual-flow p { margin:.25rem 0 0 }
.wolf-manual-flow h4 { margin:0; font-size:1.06rem }
.wolf-manual-flow > li + li { margin-top:1rem }
.wolf-manual-dialog { width:min(46rem,calc(100% - 2rem)); padding:0 }
.wolf-manual-dialog-head { position:sticky; top:0; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:.75rem; padding:.75rem clamp(1rem,4vw,1.5rem); border-bottom:1px solid var(--line); background:var(--card) }
.wolf-manual-dialog-head h2 { margin:0; font-size:clamp(1.35rem,4vw,1.8rem) }
.wolf-manual-dialog-head form { margin:0 }
.wolf-manual-dialog [data-running-note] { margin:.65rem clamp(1rem,4vw,1.5rem) 0 }
.wolf-manual-dialog > .wolf-manual { padding:1rem clamp(1rem,4vw,1.5rem) 1.5rem }
.play { padding:clamp(1.15rem,3.5vw,2rem); min-height:15rem; overflow-wrap:anywhere }
.play [data-action="got"] { background:var(--mint); color:var(--ink) }
.play [data-action="got"]:hover { background:#54d6ca }
.play .actions { row-gap:.85rem; margin-top:1.25rem }
.play input[type="radio"] { accent-color:var(--accent) }
.play .hint { color:var(--muted) }
.play:has([data-setup]) { background:var(--card) }
.play:has([data-setup]) h2 { color:var(--brand) }
.game-prompt { min-width:0; border:1px solid var(--line); border-top:3px solid var(--accent); border-radius:.85rem; background:var(--card); color:var(--ink); padding:clamp(1rem,3.5vw,2.2rem); }
.play .game-prompt h2 { font-size:clamp(1.7rem,4.1vw,3.55rem); margin:0; text-wrap:balance }
.play .game-prompt .meta { color:var(--ink); opacity:.8 }
.game-round { display:grid; grid-template-columns:minmax(0,1fr) minmax(10rem,24%); align-items:stretch; gap:1rem }
.game-clock { border:1px solid var(--edge); border-radius:.8rem; background:var(--wash); color:var(--ink); display:grid; place-content:center; justify-items:center; gap:.35rem; padding:.8rem 1rem; min-width:0 }
.game-clock .timer { margin:0; font-size:clamp(2rem,4.5vw,4.05rem); line-height:1; letter-spacing:-.035em }
.game-clock .unit { font-size:.46em; margin-left:.25ch }
.game-clock[data-low="true"] { color:var(--brand); border-color:var(--accent) }
.time-track { width:100%; min-width:5.5rem; height:.45rem; overflow:hidden; border-radius:1rem; background:#d7c5ee }
.time-track span { display:block; width:var(--time-left,100%); height:100%; background:var(--accent) }
.round-guide { margin:1rem 0 .65rem }
.play .scores li strong { display:grid; place-items:center; min-width:2.1em; min-height:1.8em; border-radius:.35rem; background:var(--score,var(--yellow)); color:var(--ink); font-variant-numeric:tabular-nums }
.theme-likely .scores li strong { border-radius:50rem }
.play .ballot .button { border-left:4px solid var(--accent); justify-content:flex-start; text-align:left }
.play .answer { border-left:5px solid var(--accent); padding:.6rem .85rem; background:var(--card); color:var(--ink); border-radius:.3rem }
.round-history { margin:1rem 0; max-width:48rem }
.round-history summary { font-weight:700; cursor:pointer }
.top-state { margin-bottom:.65rem }
.game-wide { overflow:hidden }
.game-shell.wide { position:fixed; inset:0; z-index:5; width:100%; height:100%; height:100dvh; max-height:none; margin:0; border:0; border-radius:0; overflow:auto; box-shadow:none }
.game-shell.wide .game-mast { display:none }
.game-shell.wide .game-toolbar { position:sticky; top:0; z-index:2; padding:.2rem clamp(.5rem,1.5vw,1.2rem) }
.game-shell.wide .play { min-height:0; max-width:78rem; margin:auto; padding:clamp(.4rem,1.6vw,1.2rem); text-align:center }
.game-shell.wide .play h2 { font-size:clamp(1.35rem,min(4.5vw,6vh),3.25rem); margin:0 auto .35rem }
.game-shell.wide .play p { margin:.25rem auto .45rem; max-width:67ch }
.game-shell.wide .play .actions { justify-content:center; gap:.45rem; margin-top:.55rem }
.game-shell.wide .play .button { min-height:42px; padding:.38rem .7rem }
.game-shell.wide .game-prompt,.game-shell.wide .game-clock { padding:clamp(.55rem,1.7vw,1.3rem) }
.game-shell.wide .game-round { gap:.5rem }
.game-shell.wide .play .timer { font-size:clamp(2rem,min(6vw,9vh),4rem) }
.game-shell.wide .scores,.game-shell.wide .round-history,.game-shell.wide .ballot { margin-inline:auto; text-align:left }
.game-shell.wide .scores { margin-block:.45rem; columns:2; column-gap:1rem; max-width:46rem }
.game-shell.wide .scores li { break-inside:avoid; padding:.2rem 0 }
.game-shell.wide [data-truth] { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.4rem; max-width:none; margin-top:.5rem; text-align:left }
.game-shell.wide [data-truth] .statement { margin:0; padding:.3rem .45rem .15rem }
.game-shell.wide [data-truth] :is(.actions,[data-error]) { grid-column:1 / -1 }
.game-shell.theme-wolf.wide .play { max-width:95rem; padding:clamp(.3rem,1.2vw,.75rem) }
.game-shell.theme-wolf.wide .play h2 { font-size:clamp(1.2rem,min(4vw,5.5vh),2.7rem); margin-bottom:.15rem }
.game-shell.wide .wolf-panel { padding:.4rem clamp(.3rem,1.4vw,1.1rem) .55rem }
.game-shell.wide .wolf-phases li { font-size:.76rem }
.game-shell.wide .wolf-panel p { margin-block:.18rem .3rem; line-height:1.35 }
.game-shell.wide .wolf-panel > header.wolf-copy { width:min(100%,max(34rem,var(--wolf-table-width,100%))); margin-inline:auto; padding:.3rem .18rem .6rem }
.game-shell.wide .wolf-panel > header.wolf-copy h2 { margin:0; font-size:clamp(1.35rem,min(3vw,5vh),2.45rem) }
.game-shell.wide .wolf-panel .wolf-status-line .wolf-state { margin:0 }
.game-shell.wide .wolf-instructions p,.game-shell.wide .wolf-panel .wolf-role-notes p { margin:0; max-width:70ch }
.game-shell.wide .wolf-instructions p + p,.game-shell.wide .wolf-panel .wolf-role-notes p + p { margin-top:.2rem }
.game-shell.theme-wolf.wide .wolf-followup .button:is(:hover,:active) { transform:none }
.game-shell.wide .wolf-table { width:min(100%,var(--wolf-table-width,100%)); grid-template-columns:repeat(var(--wolf-table-columns,4),minmax(0,1fr)); gap:clamp(.28rem,.85vw,.7rem); margin:.55rem auto 0; padding:.18rem }
.game-shell.wide .wolf-card { --wolf-name-height:2rem; min-height:0; font-size:clamp(.72rem,1.45vw,.98rem); line-height:1.2; border-radius:.6rem }
.game-shell.wide .wolf-card-name { padding:.19rem .1rem; gap:.1rem }
.game-shell.wide .wolf-card-time { padding:.05rem .25rem; font-size:.92rem }
.game-shell.wide .wolf-vote-action { min-height:1.45rem; padding:.13rem .05rem }
.game-shell.wide .wolf-vote-count { top:.2rem; inset-inline-end:.2rem; padding:.1rem .25rem }
.game-shell.wide .wolf-face-caption { gap:.12rem; padding:.1rem .24rem .14rem }
.game-shell.wide .wolf-face-caption::before { height:1.3rem }
.game-shell.wide .wolf-card-role { font-size:clamp(.74rem,1.45vw,1.15rem); overflow-wrap:anywhere }
.game-shell.wide .wolf-face-description { font-size:clamp(.61rem,1.1vw,.85rem); line-height:1.16 }
@container(max-width:82px) {
 .wolf-card .wolf-face-description { display:none }
 .game-shell.wide .wolf-card-role { font-size:.66rem }
}
@media(max-width:600px) {
 .game-shell.wide [data-truth] { grid-template-columns:minmax(0,1fr) }
 .wolf-phases li:not([aria-current]) { display:none }
 .game-shell.wide .wolf-panel > header.wolf-copy { padding-inline:.38rem }
}
@media(min-width:800px) and (min-height:501px) {
 .wolf-panel > header.wolf-role-copy { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:1.35rem }
 .wolf-panel .wolf-role-copy .wolf-role-notes { contain:size; overflow:auto; margin:0; padding:.16rem .45rem .15rem 1rem; border-inline-start:1px solid var(--line) }
 .wolf-role-copy .wolf-role-notes > strong { display:block; color:var(--brand); font-size:1.05rem; margin-bottom:.2rem }
}
@media(min-width:800px) and (max-width:1100px) and (min-height:501px) {
 .wolf-role-copy .wolf-instructions { min-block-size:2lh }
 .wolf-role-copy .wolf-phases li { padding-inline:.3rem }
 .wolf-role-copy .wolf-status-line { column-gap:.5rem }
}
@media(max-height:500px) and (orientation:landscape) {
 .game-shell.wide .play { padding-block:.35rem }
 .game-shell.wide .scores { columns:3; column-gap:.75rem; font-size:.9rem }
 .game-shell.wide .round-history { margin-block:.45rem }
 .game-shell.wide [data-truth] input:not([type=radio]) { padding-block:.48rem }
 .game-shell.theme-wolf.wide .play { padding:.25rem .5rem }
 .game-shell.wide .wolf-panel { padding-block:.25rem .4rem }
 .game-shell.wide .wolf-panel:has(.wolf-board) { display:grid; grid-template-columns:minmax(10rem,26%) minmax(0,1fr); grid-template-rows:auto 1fr; align-content:start; align-items:start; column-gap:.6rem }
 .game-shell.wide .wolf-panel > header.wolf-copy { align-self:end; grid-area:1 / 1; width:100%; padding:.2rem .25rem .35rem }
 .game-shell.wide .wolf-panel > header.wolf-copy h2 { font-size:1.18rem }
 .game-shell.wide .wolf-phases li:not([aria-current]) { display:none }
 .game-shell.wide .wolf-followup { grid-area:2 / 1 }
 .game-shell.wide .wolf-board { grid-area:1 / 2 / 3; align-self:center }
 .game-shell.wide .wolf-board .wolf-table { margin-block:0 }
 .game-shell.wide .wolf-panel p { font-size:.86rem; margin-block:.12rem .22rem }
 .game-shell.wide .wolf-phases li { padding-block:.08rem }
 .game-shell.wide .wolf-panel .actions { margin-top:.3rem }
 .game-shell.wide .wolf-card { --wolf-name-height:1.62rem }
 .game-shell.wide .wolf-vote-action { min-height:1.15rem }
}
.play h2 { margin-bottom:.9rem }
.play form { max-width:38rem }
.play [data-setup] { max-width:none }
.play [data-setup] #players { max-width:38rem }
.play .filters { margin:.8rem 0 }
.setup-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin-top:1rem }
.setup-mode { padding:1rem; border:1px solid var(--line); border-radius:.8rem; background:var(--soft) }
.setup-mode h3 { color:var(--brand); margin-bottom:.5rem }
.setup-mode p { max-width:42ch }
.setup-mode [data-action="idea"] { margin:.65rem .4rem 0 0 }
.setup-mode [data-action="speak"] { margin:.65rem .35rem 0 0 }
.game-steps > li > strong { color:var(--brand) }
.feedback { margin-top:1.25rem }
.game-jumps { gap:.25rem 1.25rem; padding-block:.5rem; border-bottom:1px solid var(--line) }
.game-jumps a { display:inline-flex; align-items:center; min-height:44px; font-weight:700 }
.game-reading section { scroll-margin-top:1rem }
.game-reading h3 { margin-top:1.2rem }
.game-prep { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr)); gap:.85rem; margin:1rem 0 }
.game-prep > div,.game-demo { background:var(--card); border:1px solid var(--line); border-radius:.7rem; padding:.85rem 1rem }
.game-prep dt { color:var(--brand); font-weight:750 }
.game-prep dd { margin:0 }
.game-demo ol { margin-top:0 }
.game-demo details { border-bottom:0; padding-bottom:0 }
.idea { margin-block:.75rem; padding:.7rem 1rem; background:var(--card); color:var(--ink); border-left:5px solid var(--accent); border-radius:.5rem }
.hint,[data-error] { font-size:.92rem; margin:.55rem 0 .8rem }
[data-error] { color:#922c26 }
[data-error]:empty { display:none }
.timer { font-size:2.55rem; font-variant-numeric:tabular-nums; font-weight:750; margin-block:.7rem; }
.ballot { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr)); gap:.6rem; max-width:54rem }
.scores { padding:0; max-width:32rem; list-style:none }
.scores li { display:flex; justify-content:space-between; align-items:center; gap:.55rem; border-bottom:1px solid var(--line); padding:.5rem 0 }
.statement { margin-bottom:.75rem }
.theme-truth .statement { padding:.7rem .85rem .3rem; border:1px solid var(--line); border-inline-start:4px solid var(--edge); border-radius:.35rem; background:var(--card) }
.radio { display:block; padding:.35rem 0 }
.answer { font-size:1.35rem; font-weight:750 }
.reading { max-width:69ch; margin-bottom:3rem }
.reading h2 { font-size:1.6rem; margin-top:1.8rem }
.reading li + li { margin-top:.45rem }
.reading details { border-bottom:1px solid var(--line); padding:.8rem 0 }
.reading summary { font-weight:700; cursor:pointer }
.reading details p { margin:.65rem 0 0 }
.notice { padding:.75rem 1rem; border-left:4px solid var(--yellow); background:#fff1c6 }
.footer { border-top:1px solid var(--line); padding:1.3rem 0 1.8rem; margin-top:3rem; color:var(--ink); background:var(--soft) }
.footer .wrap { display:flex; flex-wrap:wrap; gap:.9rem 1.6rem; align-items:center }
.footer a { font-size:.94rem }
@media (min-width:641px) and (max-width:900px) {
 .grid:has(> .game) { grid-template-columns:repeat(2,minmax(0,1fr)) }
 .wolf-table { grid-template-columns:repeat(3,minmax(0,1fr)) }
}
@media (min-width:1100px) {
 .library > .grid { grid-template-columns:repeat(4,minmax(0,1fr)) }
}
@media(max-width:760px) {
 .wrap { width:calc(100% - 2rem) }
 .hero { grid-template-columns:1fr }
 .hero-photo { position:relative; inset:auto; width:100%; aspect-ratio:1.75 }
 .hero-photo::after {
  inset:0 0 auto; width:auto; height:clamp(32px,11vw,58px);
  background:linear-gradient(to bottom,var(--wash) 1%,color-mix(in srgb,var(--wash) 65%,transparent) 35%,transparent 100%);
 }
 .grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr)) }
 .game-mast { grid-template-columns:minmax(0,1fr) minmax(13rem,37%); min-height:11rem }
 .section-head { align-items:stretch; flex-direction:column }
 .filters label { max-width:none }
 .library-controls .search { width:100%; max-width:none }
 .game-round { grid-template-columns:1fr }
 .game-clock { grid-auto-flow:column; align-items:center; justify-content:space-between; justify-items:start; gap:1rem }
 .time-track { width:min(32vw,11rem) }
}
@media(max-width:640px) {
 .grid { grid-template-columns:1fr }
 .hero { margin-block:1rem 1.75rem }
 .hero p { margin-bottom:1rem }
 .hero-photo { aspect-ratio:2 }
 .library { margin-top:1.75rem; gap:.7rem }
 .game-toolbar { padding-inline:1rem }
 .game-mast { grid-template-columns:minmax(0,1fr); gap:1rem }
 .game-mast-art { grid-column:1; grid-row:2; min-height:8.25rem }
 .setup-choices { grid-template-columns:1fr }
 .wolf-settings { grid-template-columns:1fr }
 .wolf-names .wolf-settings { grid-template-columns:repeat(2,minmax(0,1fr)) }
 .wolf-table { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem }
 .wolf-card { --wolf-name-height:3.6rem; min-height:8rem; font-size:.9rem }
}
@media(prefers-reduced-motion:no-preference) {
 @keyframes wolf-turn-pulse {
   from { box-shadow:0 0 0 1px #915506,0 0 12px #f9aa387d }
   45% { box-shadow:0 0 0 3px #ffe59be6,0 0 22px #f9aa38de }
   to { box-shadow:0 0 0 1px #915506,0 0 14px #f9aa387d }
 }
 .wolf-card.is-active::before { animation:wolf-turn-pulse .72s ease-out 2 }
 @keyframes wolf-fog-drift { from { transform:translate(-10%,-7%) } to { transform:translate(12%,7%) } }
 @keyframes wolf-fog-enter { from { opacity:0; mask-position:100% 0; transform:translateX(-14%) } to { opacity:1; mask-position:0 0; transform:translateX(0) } }
 @keyframes wolf-fog-clear { from { opacity:1; mask-position:100% 0; transform:translate(0) } to { opacity:0; mask-position:0 0; transform:translate(25%,-8%) scale(1.15) } }
 @keyframes wolf-vote-bump { 55% { transform:scale(1.12) } }
 .has-new-vote .wolf-vote-count { animation:wolf-vote-bump .24s ease-out }
 .wolf-card-mist::before { animation:wolf-fog-drift 6s ease-in-out infinite alternate }
 .wolf-card-mist::after { animation:wolf-fog-drift 8s ease-in-out infinite alternate-reverse }
 .wolf-card.is-fresh-fog .wolf-card-mist { mask-image:linear-gradient(90deg,#000 34%,transparent 75%); mask-size:300% 100%; animation:wolf-fog-enter .62s ease-out both }
 .wolf-card.is-cleared .wolf-card-mist { mask-image:linear-gradient(90deg,transparent 25%,#000 66%); mask-size:300% 100%; animation:wolf-fog-clear .75s ease-out both }
 .button,.game { transition:transform .15s, box-shadow .15s, background-color .15s }
 .game:hover { transform:translateY(-2px) }
}

.theme-undercover { --brand:#4c316b; --accent:#694589; --soft:#f4eef9; --wash:#e9d9f4; --line:#e1d5ec; --edge:#9e85b7; --stage-ink:#2e1b42; --stage-glow:#bb91e1 }
.theme-mime { --brand:#78344e; --accent:#913f60; --soft:#fbf0f3; --wash:#f5dbe3; --line:#ead5de; --edge:#ba8095; --stage-ink:#36192a; --stage-glow:#e891a1 }
.theme-either { --brand:#50509b; --accent:#5452a2; --soft:#f3f1ff; --wash:#e7e1ff; --line:#dbd6f0; --edge:#958bc5; --stage-ink:#31295b; --stage-glow:#b4a4ea }
.theme-never { --brand:#276659; --accent:#277766; --soft:#edf8f3; --wash:#d3efe5; --line:#cae4db; --edge:#76ae9d; --stage-ink:#174e45; --stage-glow:#82c6af }
.theme-questions { --brand:#234e73; --accent:#2c6391; --soft:#edf5fa; --wash:#d6eafa; --line:#cce2ef; --edge:#83a8c1; --stage-ink:#183653; --stage-glow:#99c8ec }
.theme-draw { --brand:#6c4630; --accent:#86583a; --soft:#faf3e6; --wash:#f6e5c4; --line:#e9ddc8; --edge:#bc9c78; --stage-ink:#51371f; --stage-glow:#e6ba6c }
.theme-categories { --brand:#22625d; --accent:#2b776f; --soft:#edf7f6; --wash:#d5ede8; --line:#cde3df; --edge:#77a9a4; --stage-ink:#164e46; --stage-glow:#8ecebb }
.theme-chain { --brand:#6a456b; --accent:#815180; --soft:#f7eff7; --wash:#eedfeb; --line:#e5d7e5; --edge:#ad8aad; --stage-ink:#472943; --stage-glow:#d7abd0 }
.theme-numbers { --brand:#214e65; --accent:#2d6a83; --soft:#edf6f9; --wash:#d6ebf1; --line:#cce2ea; --edge:#80aebd; --stage-ink:#173e50; --stage-glow:#7bc9d3 }
.theme-code { --brand:#384b69; --accent:#4a6183; --soft:#f0f4fa; --wash:#dee8f5; --line:#d1ddec; --edge:#879ab6; --stage-ink:#25364e; --stage-glow:#a7c5ee }
.theme-taboo,.theme-toss { --brand:#883e3b; --accent:#974642; --soft:#fdf2ef; --wash:#f8ddd5; --line:#eed6cf; --edge:#c18d82; --stage-ink:#472421 }
.theme-five,.theme-count { --brand:#5b417b; --accent:#66488b; --soft:#f6f1fb; --wash:#e9dff5; --line:#e1d5ef; --edge:#ab92c4; --stage-ink:#342347 }
.theme-tray,.theme-bingo { --brand:#2d6556; --accent:#36715f; --soft:#edf7ef; --wash:#d7ebdc; --line:#cadfd0; --edge:#88ad99; --stage-ink:#1b3f34 }
.theme-sketch,.theme-timeline { --brand:#315a81; --accent:#34628a; --soft:#edf4fa; --wash:#d9e7f5; --line:#cfdeeb; --edge:#89a9c6; --stage-ink:#1b3a59 }
.theme-rhythm,.theme-story { --brand:#805528; --accent:#8a5b2b; --soft:#fcf5e8; --wash:#f4e5c8; --line:#ebdab9; --edge:#c7a677; --stage-ink:#492e19 }
.exp-theme-stage { --brand:#853e53; --accent:#994965; --soft:#fbf0f1; --wash:#f6dfe3; --line:#edced5; --edge:#c38d9b; --stage-ink:#502537 }
.exp-theme-social { --brand:#594180; --accent:#665094; --soft:#f6f1fa; --wash:#eadef4; --line:#e1d3ed; --edge:#ad93c5; --stage-ink:#392753 }
.exp-theme-memory { --brand:#2c6558; --accent:#377365; --soft:#ebf7f0; --wash:#d8eee2; --line:#c7e1d2; --edge:#8bad9b; --stage-ink:#1d4138 }
.exp-theme-board { --brand:#324f7e; --accent:#3a5d8a; --soft:#eff4fb; --wash:#dce8f8; --line:#cbd9ed; --edge:#8fa7c9; --stage-ink:#203956 }
.exp-theme-physical { --brand:#825321; --accent:#956028; --soft:#fdf5e6; --wash:#f9e9c8; --line:#ead7b4; --edge:#c9ad80; --stage-ink:#4d351b }

.session-entry .game-art { background:radial-gradient(ellipse at 50% 42%,var(--wash),var(--soft) 64%,transparent 83%) }
.session-entry .game-logo { width:clamp(5rem,9vw,7rem); filter:drop-shadow(0 5px 7px #35304a22) }
.session-game .game-mast-art { background:radial-gradient(ellipse at 55% 50%,var(--stage-glow) 0%,var(--soft) 74%) }
.session-cover { min-width:min(11rem,100%); display:grid; justify-items:center; gap:.35rem; padding:.8rem 1rem; border:1px solid var(--stage-glow); border-radius:.7rem; background:var(--stage-ink); color:#fff8f1; box-shadow:0 4px 0 #0002; text-align:center }
.session-cover strong { font-size:clamp(1.25rem,2.65vw,2.25rem); line-height:1.12 }
.session-cover span { font-size:.85rem }
.session-game .play { --panel-space:clamp(.65rem,2vw,1.35rem) }
.session-game .play form { margin-inline:auto; max-width:45rem }
.session-game .play form[data-infiltration],.session-game .play form[data-mime] { max-width:52rem }
.session-fields { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(9.5rem,100%),1fr)); gap:.7rem; align-items:end; margin:.75rem 0 1rem; text-align:start }
.session-fields label,.session-game label { display:grid; gap:.25rem; color:var(--brand); font-weight:700 }
.session-game form > label { margin-bottom:.7rem; text-align:start }
.session-fields select { width:100%; min-height:44px; border:1px solid var(--edge); border-radius:.55rem; background:var(--card); color:var(--ink); padding:.35rem .55rem; font:inherit }
.session-fields input:not([type="radio"]) { min-height:44px; padding:.5rem .65rem }
.session-banner { margin:0 auto .65rem; max-width:58rem; text-align:center }
.session-banner .meta { color:var(--brand); font-weight:800 }
.session-banner h2 { margin-block:.22rem .45rem; color:var(--stage-ink) }
.session-game .play :is(.actions,.scores) { margin-inline:auto }
.session-game .play .actions { justify-content:center }
.session-game .play .button:is(:hover,:active) { transform:none }
.infiltration-card,.mime-card { display:grid; place-content:center; justify-items:center; gap:.45rem; width:min(100%,31rem); min-height:clamp(8.5rem,25dvh,15rem); margin:0 auto; padding:var(--panel-space); border:2px solid var(--stage-glow); border-radius:.85rem; background:radial-gradient(ellipse at 35% 20%,var(--brand),var(--stage-ink) 68%); color:white; box-shadow:0 5px 0 color-mix(in srgb,var(--stage-ink),transparent 75%); overflow-wrap:anywhere; text-align:center }
button:is(.infiltration-card,.mime-card):hover { border-color:var(--brand); box-shadow:0 0 0 3px var(--stage-glow) }
:is(.infiltration-card,.mime-card) > span { color:var(--stage-glow); font-size:1.9rem }
:is(.infiltration-card,.mime-card).is-open { background:var(--card); color:var(--stage-ink) }
:is(.infiltration-card,.mime-card).is-open strong { font-size:clamp(1.45rem,4vw,3.1rem); line-height:1.17 }
.infiltration-ballot,.finger-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(7.75rem,100%),1fr)); gap:.45rem; max-width:58rem; margin:0 auto }
.infiltration-seat,.finger-seat { min-height:48px; border:1px solid var(--edge); border-radius:.55rem; background:var(--card); color:var(--ink); padding:.4rem; overflow-wrap:anywhere }
.infiltration-ballot { grid-template-columns:repeat(auto-fit,minmax(min(8.5rem,100%),1fr)); max-width:56rem; padding:.5rem; border:1px solid var(--line); border-radius:.75rem; background:var(--wash) }
.infiltration-seat { display:grid; grid-template-columns:1fr auto; align-items:center; gap:.15rem .35rem; min-height:68px; padding:.35rem .5rem; text-align:start }
.seat-number { grid-column:1/-1; color:var(--brand); font-size:.74rem; font-weight:850; font-variant-numeric:tabular-nums }
.seat-tally { min-width:1.8em; padding:.05rem .25rem; border-radius:.28rem; background:var(--wash); text-align:center; font-weight:800 }
.infiltration-seat:hover,.finger-seat[aria-pressed=true] { background:var(--wash); border-color:var(--brand); box-shadow:inset 0 0 0 1px var(--brand) }
.infiltration-seat[aria-current=true] { background:#ffefc4; border-color:#b5873b; box-shadow:inset 0 0 0 1px #d79e42; color:#4b2f09; cursor:default }
.infiltration-seat[aria-current=true] .seat-tally { background:#ffe1a0; color:#4b2f09 }
.infiltration-key,.answer-compare { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.55rem; max-width:38rem; margin:.7rem auto }
.infiltration-key div,.answer-compare div { background:var(--card); border:1px solid var(--line); border-radius:.55rem; padding:.6rem }
.infiltration-key dt,.answer-compare dt { color:var(--muted); font-weight:700; font-size:.85rem }
.infiltration-key dd,.answer-compare dd { margin:0; font-weight:850; color:var(--brand) }
.mime-stage { display:flex; gap:.6rem; align-items:stretch; justify-content:center; max-width:46rem; margin:auto }
.mime-stage .mime-card { flex:1; margin:0; background:repeating-linear-gradient(103deg,#fff0 0 19px,#fff1 20px 21px,#fff0 22px 37px),var(--stage-ink) }
.mime-stage .mime-card.is-open { background:var(--card) }
.mime-clock,.table-clock { display:grid; align-content:center; justify-items:center; gap:.25rem; padding:.5rem .75rem; min-width:5.25rem; border-radius:.6rem; background:var(--wash); color:var(--brand); text-align:center }
.mime-clock span,.table-clock span { font-size:.82rem; font-weight:700 }
.mime-clock strong,.table-clock strong { font-variant-numeric:tabular-nums; font-size:clamp(1.45rem,4vw,2.25rem); line-height:1 }
.mime-clock progress { width:min(14vw,6.5rem); height:.5rem; accent-color:var(--accent) }
.mime-score { text-align:center; color:var(--brand); font-weight:750 }
.mime-review { display:grid; grid-template-columns:repeat(auto-fit,minmax(11rem,1fr)); margin:.6rem auto; padding:.4rem; max-width:48rem; max-height:40dvh; overflow:auto; gap:.4rem; list-style:none }
.mime-review li { background:var(--card); border:1px solid var(--line); border-radius:.4rem; padding:.3rem .5rem }
.mime-review strong { display:block; color:var(--brand); font-size:.8rem }
.choice-duel { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.55rem; max-width:54rem; margin:0 auto }
.choice-side { display:grid; gap:.5rem; justify-items:start; align-content:center; padding:var(--panel-space); min-height:clamp(7.5rem,25dvh,14rem); border:1px solid var(--edge); border-radius:.8rem; color:var(--stage-ink); background:#f3eaff; text-align:start; line-height:1.3 }
.choice-side:nth-child(2) { background:#e3f2ef; color:#164c46; border-color:#73a59b }
button.choice-side:hover { box-shadow:inset 0 0 0 2px currentColor }
.choice-key { display:grid; place-items:center; width:1.6em; aspect-ratio:1; border-radius:.35rem; background:var(--card); font-weight:850 }
.choice-side strong,.secret-term { font-size:clamp(1.15rem,2.7vw,2rem); line-height:1.21 }
.choice-count { font-weight:850 }
.choice-meter { width:100%; height:.45rem; background:#1e244125; border-radius:1rem; overflow:hidden }
.choice-meter i { display:block; height:100%; background:currentColor }
.finger-seat { display:grid; text-align:start; gap:.15rem }
.finger-seat strong { color:var(--brand) }
.finger-track { display:grid; grid-template-columns:repeat(10,minmax(0,1fr)); gap:2px; padding-top:.16rem }
.finger-track i { height:.31rem; border-radius:.2rem; background:var(--line) }
.finger-track .filled { background:var(--accent) }
.question-log { display:flex; flex-wrap:wrap; justify-content:center; gap:.35rem; list-style:none; margin:.7rem auto; padding:0; max-width:38rem }
.question-log li { font-size:.85rem; font-weight:750; padding:.22rem .48rem; border-radius:.3rem; background:var(--card); border:1px solid var(--line) }
.question-log .answer-yes { background:#d9f1e6; color:#25483c }
.question-log .answer-no { background:#f8e1e3; color:#65333b }
.secret-term,.interval-board { max-width:41rem; padding:.75rem; margin:.55rem auto; border-radius:.6rem; text-align:center; background:var(--stage-ink); color:white; font-weight:850 }
.interval-board strong { font-variant-numeric:tabular-nums; font-size:clamp(2rem,7vw,3.8rem); line-height:1.15 }
.interval-board span { color:var(--stage-glow) }
.interval-guide { text-align:center }
.theme-draw .play { --paper-width:min(100%,50rem,80dvh) }
.drawing-header { display:flex; justify-content:space-between; gap:.5rem; align-items:center; width:var(--paper-width); margin:0 auto .45rem }
.drawing-header .session-banner { margin:0; text-align:start }
.drawing-paper { width:var(--paper-width); margin:auto; border:2px solid var(--edge); border-radius:.7rem; overflow:hidden; background-color:#fffdf6; background-image:radial-gradient(#c7af8f55 .75px,transparent .8px); background-size:14px 14px; box-shadow:0 4px 0 #91704b22 }
.drawing-paper canvas { width:100%; display:block; aspect-ratio:2; touch-action:none; cursor:crosshair }
.drawing-tools { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:.35rem; margin:.55rem auto 0 }
.drawing-ink { width:42px; height:42px; border:2px solid var(--card); border-radius:50%; box-shadow:0 0 0 1px var(--line); background:var(--ink-sample) }
.drawing-ink[aria-pressed=true] { box-shadow:0 0 0 2px var(--stage-ink) }
.category-arena { display:flex; align-items:stretch; justify-content:center; flex-wrap:wrap; gap:.55rem; max-width:49rem; margin:auto }
.letter-tile { display:grid; place-content:center; min-width:4.2rem; border-radius:.5rem; background:var(--stage-ink); color:white; font-size:clamp(1.8rem,5vw,3.5rem); padding:.4rem .5rem; line-height:1.1 }
.category-grid { display:flex; flex-basis:65%; flex-wrap:wrap; justify-content:center; gap:.4rem; list-style:none; padding:0; margin:.4rem auto }
.category-grid li { align-content:center; flex:1 0 6rem; padding:.35rem .5rem; border:1px solid var(--edge); border-radius:.45rem; color:var(--brand); background:var(--card); font-weight:750; text-align:center }
.chain-arena { display:flex; justify-content:center; gap:.45rem; margin:0 auto .45rem; max-width:33rem }
.chain-arena div:first-child { display:grid; justify-items:center; flex:1; background:var(--stage-ink); color:white; padding:.35rem .6rem; border-radius:.55rem }
.chain-arena div:first-child strong { font-size:clamp(1.7rem,5vw,3rem); line-height:1.1 }
.chain-history ol { display:flex; flex-wrap:wrap; justify-content:center; gap:.35rem; padding:0; list-style:none }
.chain-history li { border-radius:.35rem; padding:.2rem .5rem; border:1px solid var(--line); background:var(--card); font-weight:700 }
.code-panel { max-width:42rem; margin:auto; border:1px solid var(--edge); background:var(--card); border-radius:.65rem; padding:.5rem }
.code-slots,.code-palette,.code-solution { display:flex; flex-wrap:wrap; justify-content:center; gap:.35rem }
.code-slots { padding:.2rem 0 .6rem; border-bottom:1px solid var(--line) }
.code-palette { margin-top:.55rem }
.code-panel button { display:inline-flex; align-items:center; gap:.22rem; min-height:42px; border-radius:.5rem; border:1px solid var(--line); padding:.15rem .35rem; color:var(--ink); background:var(--soft) }
.code-panel button[aria-pressed=true] { outline:2px solid var(--brand) }
.code-panel button:disabled { opacity:.5; cursor:default }
.code-dot { display:inline-grid; place-items:center; width:2rem; height:2rem; border-radius:50%; font-variant-numeric:tabular-nums; font-weight:850; color:var(--chip-ink,#fff); background:var(--chip) }
.code-dot.empty { background:#e8eef4; color:var(--muted); text-shadow:none }
.code-history { max-width:38rem; max-height:27dvh; overflow:auto; margin:.6rem auto 0; text-align:start }
.code-history summary { cursor:pointer; font-weight:750 }
.code-history ol { padding-inline-start:1.3rem }
.code-history li { padding:.3rem 0; border-bottom:1px solid var(--line) }
.code-history li > div { display:inline-flex; gap:.22rem; margin-inline-end:.6rem }
.code-history .code-dot { width:1.65rem; height:1.65rem }

@media (max-width:480px) {
  .session-fields { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.45rem }
  .session-fields label { font-size:.88rem }
  .choice-side { padding:.55rem; min-height:8.5rem }
  .code-palette { justify-content:flex-start }
  .code-history { max-height:23dvh }
  .infiltration-ballot:has(> :nth-child(13)) { grid-template-columns:repeat(3,minmax(0,1fr)); padding:.32rem; gap:.3rem }
  .infiltration-seat { font-size:.88rem }
}
@media (orientation:landscape) and (max-height:500px) {
  .session-banner { margin-bottom:.3rem }
  .theme-draw .play { --paper-width:min(100%,70dvh) }
  .infiltration-ballot { grid-template-columns:repeat(auto-fit,minmax(min(5.5rem,100%),1fr)); gap:.3rem }
  .infiltration-seat { min-height:44px; padding:.18rem .25rem; font-size:.9rem }
  .infiltration-seat .seat-number { display:none }
  .game-shell.session-game.wide .play .actions { margin-top:.35rem }
  .session-game .play .code-history { max-height:20dvh }
  .session-game.wide :is([data-table-form="word"],[data-table-form="guess"]) { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:.1rem .45rem; max-width:33rem }
  .session-game.wide :is([data-table-form="word"],[data-table-form="guess"]) > label { margin:0 }
  .session-game.wide :is([data-table-form="word"],[data-table-form="guess"]) input { padding-block:.4rem }
  .session-game.wide [data-table-form="word"] [data-error] { grid-area:2 / 1 / 3 / -1 }
  .chain-history ol { margin-block:.3rem }
  .session-game .interval-board { padding-block:.4rem }
  :is(.infiltration-card,.mime-card,.choice-side) { min-height:7rem }
}


/* Wer würde eher? */
.game-shell.theme-likely {
  --table-green:#123c35;
  --table-deep:#0c2e29;
  --table-paper:#fffbeb;
  --table-mint:#bce7ce;
  --table-gold:#f8cf72;
}
.likely-setup-heading { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem clamp(1rem,3vw,2.4rem) }
.play .likely-setup-heading h2 { margin:0; font-size:clamp(1.25rem,3.1vw,2.25rem) }
.likely-deck { display:flex; align-items:center; flex-wrap:wrap; gap:.25rem .65rem; min-width:0 }
.likely-setup .likely-deck .filters { margin:0 }
.likely-deck .filters label { display:flex; align-items:center; gap:.45rem; max-width:none }
.likely-deck .filters select { width:clamp(7rem,15vw,11rem); margin:0; padding:.35rem .55rem; min-height:40px }
.likely-setup [data-deck-size] { margin:0; font-size:.78rem }
.likely-setup .setup-choices { gap:0; margin-top:.65rem; border-top:1px solid #c9d8ce }
.likely-setup .setup-mode { padding:.7rem clamp(.9rem,3vw,2rem) .1rem; background:none; border:0; border-radius:0 }
.likely-setup .setup-mode:first-child { padding-inline-start:0 }
.likely-setup .setup-mode + .setup-mode { border-inline-start:1px solid #c9d8ce }
.likely-setup .setup-mode h3 { font-size:clamp(1.12rem,2vw,1.55rem); margin:0 0 .3rem }
.likely-setup .setup-mode p { margin-bottom:.55rem }
.likely-setup #players { padding:.45rem .65rem; min-height:42px }
.likely-setup #names-help { margin:.3rem 0 .45rem; font-size:.82rem }
.likely-setup .setup-mode .button { min-height:42px; padding:.4rem .8rem }
.likely-setup .setup-mode .cta { color:white; background:var(--table-green) }
.likely-setup .setup-mode .cta:is(:hover,:focus-visible) { color:white; background:#286052 }

.likely-round {
  display:grid;
  grid-template-columns:minmax(0,2.35fr) minmax(13rem,1fr);
  gap:clamp(1rem,3vw,3rem);
}
.likely-ticket {
  display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:.85rem;
  min-height:clamp(16rem,30vw,24rem);
  padding:clamp(1rem,3.6vw,3.1rem);
  border-radius:.75rem;
  background:var(--table-paper);
  color:var(--table-deep);
  text-align:start;
}
.theme-likely.game-shell .likely-ticket .meta { margin:0; color:#225447 }
.theme-likely.game-shell .likely-ticket h2 {
  margin:0; color:inherit; font-size:clamp(1.65rem,4.25vw,3.65rem);
  line-height:1.12; letter-spacing:-.045em; text-wrap:balance;
}
.likely-round-controls {
  display:flex; flex-direction:column; justify-content:center; align-items:flex-start;
  color:#f8f6e9; text-align:start;
}
.likely-round-controls h3 { font-size:clamp(1rem,1.7vw,1.45rem); margin:0; color:var(--table-mint) }
.theme-likely.game-shell .likely-round-controls .round-guide { margin:.5rem 0; font-size:.92rem; color:#e1efe4 }
.likely-signal { display:flex; align-items:center; flex-wrap:wrap; column-gap:.58rem; min-height:2.7rem }
.likely-dots { display:inline-flex; gap:.33rem }
.likely-dots i { width:.57rem; aspect-ratio:1; border-radius:50%; background:#648d80 }
.likely-dots i:first-child,.likely-signal:is([data-step="3"],[data-step="2"],[data-step="0"]) i:nth-child(2),
.likely-signal:is([data-step="3"],[data-step="0"]) i:nth-child(3) { background:var(--table-gold) }
.likely-signal:not([data-step]) i { background:#648d80 }
.theme-likely.game-shell .likely-cue { margin:0; color:var(--table-gold); font-size:1.38rem; font-weight:850; line-height:1.1; font-variant-numeric:tabular-nums }
.likely-round-controls .actions,.theme-likely.wide .likely-round-controls .actions { justify-content:flex-start; margin:.4rem 0 0; gap:.45rem }
.likely-round-controls .button { min-height:42px; padding:.42rem .75rem; background:transparent; color:#fff; border-color:#88aa98; box-shadow:none }
.likely-round-controls .button:hover { background:#285e51; transform:none }
.likely-round-controls :is([data-action="point"],[data-action="vote-start"]) { background:var(--table-gold); color:var(--table-deep); border-color:transparent }
.likely-round-controls :is([data-action="point"],[data-action="vote-start"]):hover { background:#ffdd92 }
.likely-round-controls [data-action="reset"] { border-color:transparent; color:#d5e9d9 }
.likely-panel { padding:clamp(1rem,4vw,2rem); background:var(--table-paper); border-radius:.75rem; text-align:center }
.likely-panel h2 { color:var(--table-deep) }
.likely-panel :is(.ballot,.scores) { margin-inline:auto }
.likely-panel .actions { justify-content:center }
.likely-panel .ballot .button { min-height:3.15rem; color:var(--table-deep); border-color:#9abeac; background:#eff5e8 }
.likely-panel .ballot .button:hover { background:#dcebd8; transform:none }
.likely-panel .scores li strong { background:#dcebd8; color:var(--table-deep) }

.game-shell.theme-likely:has(.likely-round),.theme-likely.wide:has(.likely-panel) { background:radial-gradient(ellipse at 50% 45%,#296052,#102f2a 72%); border-color:transparent; box-shadow:none }
.game-shell.theme-likely:has(.likely-round) .game-toolbar,.theme-likely.wide:has(.likely-panel) .game-toolbar { background:transparent; border-color:transparent }
.theme-likely.wide:has(.likely-round,.likely-panel) .play { min-height:calc(100dvh - 52px); display:grid; grid-template-columns:minmax(0,1fr); align-items:center; max-width:84rem; padding-inline:clamp(.8rem,4vw,3rem) }
.theme-likely.wide .likely-ticket { min-height:clamp(17rem,50dvh,34rem) }
.theme-likely.wide .likely-ticket h2 { font-size:clamp(1.85rem,min(5vw,8dvh),5.1rem) }
@media(max-width:650px) {
  .likely-round { grid-template-columns:minmax(0,1fr) }
  .likely-ticket { min-height:10rem }
  .likely-round-controls { padding-inline:.25rem }
  .theme-likely.wide .likely-ticket { min-height:clamp(10rem,32dvh,17rem) }
}
@media (max-height:500px) and (orientation:landscape) {
  .theme-likely.wide .likely-round { grid-template-columns:minmax(0,1.55fr) minmax(0,1fr); gap:1rem }
  .theme-likely.wide .likely-panel { padding-block:.65rem }
  .theme-likely.wide .likely-ticket { min-height:10rem; padding:1.45rem }
  .theme-likely.wide .likely-ticket h2 { font-size:clamp(1.55rem,4vw,2.5rem) }
  .theme-likely.game-shell.wide .likely-round-controls .round-guide { line-height:1.35 }
  .theme-likely.wide .likely-signal { min-height:2rem }
  .theme-likely.wide .likely-round-controls .button { font-size:.88rem }
}
@media(prefers-reduced-motion:no-preference) {
  .likely-ticket { animation:likely-deal .2s ease-out both }
  @keyframes likely-deal { from { opacity:.65; transform:translateY(.3rem) } to { opacity:1; transform:translateY(0) } }
}


/* The page around the game */
.game-shell.theme-likely:not(.wide) { border:0; box-shadow:none; background:var(--table-paper) }
.theme-likely .game-mast {
  position:relative;
  grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);
  gap:0; padding:0; background:var(--table-paper); color:var(--table-deep);
}
.likely-mast-photo {
  position:absolute; inset:0 0 0 auto; display:block; width:49%; height:100%;
  object-fit:cover; object-position:54% 57%;
  mask-image:linear-gradient(to right,transparent,#000 22%),linear-gradient(to bottom,#000 86%,transparent);
  mask-composite:intersect;
}
.theme-likely .game-mast-copy { position:relative; padding:clamp(1rem,2.4vw,1.8rem) clamp(1.15rem,4vw,3rem) }
.theme-likely .game-mast-title { gap:.7rem; align-items:center }
.theme-likely .game-mast-title .game-logo { width:clamp(2.6rem,5.5vw,5rem) }
.theme-likely .game-mast h1 { font-size:clamp(1.75rem,4vw,3.4rem); text-wrap:balance; line-height:1.04 }
.theme-likely .game-mast p { color:#34564e; margin:.6rem 0 .3rem; font-size:clamp(.93rem,1.25vw,1.08rem) }
.theme-likely .game-mast .meta { background:transparent; color:#426b60; padding:0 }
.theme-likely:not(.wide):not(:has(.likely-round)) .game-toolbar { background:transparent; border-block:0; padding:.15rem clamp(1.15rem,4vw,3rem) }
.theme-likely:not(.wide):has(.likely-setup) { display:grid; grid-template-columns:minmax(0,1fr); margin-block-start:.75rem }
.theme-likely:not(.wide):has(.likely-setup) :is(.game-mast,.game-toolbar) { grid-area:1 / 1 }
.theme-likely:not(.wide):has(.likely-setup) .game-toolbar { z-index:1; align-self:end; justify-self:end; margin:0 .85rem .55rem 0; padding:0 }
.theme-likely:not(.wide) .play:has(.likely-setup) { background:transparent; padding:0 clamp(1.15rem,4vw,3rem) 1.15rem }
#likely-play { scroll-margin-top:1rem }
.likely-jumps { border-color:#bad4c6; gap:.1rem clamp(.7rem,3vw,2rem); margin-top:1.5rem }
.likely-jumps a { color:#276359; text-decoration:none }
.likely-jumps a:hover { text-decoration:underline; text-underline-offset:.3em }
.likely-reading {
  width:100%; max-width:none;
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  column-gap:clamp(1rem,5vw,4rem); row-gap:clamp(1.3rem,4vw,2.8rem);
  margin-top:1.45rem;
}
.likely-reading > section { min-width:0; border-top:1px solid #c6dacf; padding-top:1rem }
.likely-reading :is(#rules,#example) { border-top:0; padding-top:0 }
.likely-reading h2 { margin:0 0 .75rem; color:#123c35; font-size:clamp(1.45rem,2.75vw,2.25rem); text-wrap:balance }
.likely-reading:lang(zh) h2 { font-size:clamp(1.4rem,2.25vw,1.85rem); text-wrap:wrap }
.likely-reading h3 { margin-top:1rem; margin-bottom:.35rem; color:#225447 }
.likely-reading .game-prep { display:block; margin:.7rem 0 1rem }
.likely-reading .game-prep > div { padding:.3rem 0 .55rem; border:0; background:none }
.likely-reading .game-prep dt,.likely-reading .game-steps strong,.likely-reading summary { color:#225447 }
.likely-reading .game-steps { padding-inline-start:1.4rem }
.likely-reading li::marker { color:#2e7162; font-weight:800 }
.likely-reading details { border-color:#c6dacf }
.likely-reading > .feedback { grid-column:1 / -1; margin:0 }
.likely-related,.likely-occasions { border-top:1px solid #bad4c6; padding-top:1.25rem }
.likely-occasions .plain-card { border:0; border-bottom:1px solid #c6dacf; border-radius:0; padding-inline:0; background:none; box-shadow:none }
.likely-related .game { border:0; border-radius:.75rem; box-shadow:none }
.likely-score-name { display:grid; gap:.28rem; flex:1; min-width:0 }
.likely-score-track { display:block; height:.3rem; border-radius:1rem; background:#dcebd8; overflow:hidden }
.likely-score-track i { display:block; height:100%; width:var(--vote-share); background:#267568; transform-origin:left }
.likely-round-controls .button:focus-visible { outline-color:var(--table-gold); outline-offset:4px }
@media(max-width:650px) {
  .theme-likely .game-mast { grid-template-columns:1fr }
  .likely-mast-photo { position:static; grid-area:2 / 1; width:100%; height:auto; aspect-ratio:2.05; mask-image:linear-gradient(to bottom,transparent,#000 13%,#000 83%,transparent) }
  .theme-likely .game-mast-copy { padding:1.35rem 1.15rem .55rem }
  .theme-likely .game-mast h1 { font-size:clamp(1.9rem,8vw,2.5rem) }
  .theme-likely .game-mast p { margin:.75rem 0 .45rem }
  .theme-likely:not(.wide) .play:has(.likely-setup) { padding:.75rem 1.15rem 1.35rem }
  .likely-setup-heading { flex-direction:column; align-items:flex-start; gap:.75rem }
  .likely-setup .setup-choices { grid-template-columns:1fr; margin-top:1rem }
  .likely-setup .setup-mode { padding:.9rem 0 .25rem }
  .likely-setup .setup-mode + .setup-mode { border-inline-start:0; border-top:1px solid #c9d8ce; margin-top:.8rem }
  .likely-setup .setup-mode .button,.likely-deck .filters select { min-height:44px }
  .likely-reading { grid-template-columns:minmax(0,1fr); gap:1.35rem }
  .likely-reading #example { border-top:1px solid #c6dacf; padding-top:1rem }
}
@media(prefers-reduced-motion:no-preference) {
  .likely-score-track i { animation:likely-vote-reveal .45s cubic-bezier(.2,.65,.25,1) both }
  .likely-signal[data-step="0"] .likely-cue { animation:likely-point-signal .27s ease-out both }
  @keyframes likely-vote-reveal { from { transform:scaleX(0) } to { transform:scaleX(1) } }
  @keyframes likely-point-signal { from { opacity:.55; transform:scale(.94) } to { opacity:1; transform:scale(1) } }
}

