:root {
  --bg: #f6f1e6; --bg2: #efe7d6; --ink: #1d1a14; --ink2: #4a4436; --ink3: #7a725f; --line: #e2d8c3; --card: #fffdf8;
  --accent: #e76f51; --accent2: #f4a261; --good: #2a9d8f; --bad: #d1495b;
  --blue: #3b82f6; --blue-d: #1e40af; --red: #ef4444; --red-d: #991b1b;
  --grass: #79bf5f; --grass2: #6cb453; --sand: #e9c46a; --water: #38b6e8; --water2: #1f8fd0;
  --chrome: 300px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #15130f; --bg2: #1d1a15; --ink: #f1ebdd; --ink2: #cfc6b3; --ink3: #9a917e; --line: #34302a; --card: #221f1a; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Noto Sans SC", sans-serif; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.emoji, .rules-art, .result-icon, .choice-icon { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }


/* ---------- fx, toast, screens ---------- */
.ac-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 6; }
.ac-toast { position: absolute; left: 50%; top: 10px; transform: translate(-50%, -12px); opacity: 0; z-index: 7; max-width: 92%; padding: 8px 14px; border-radius: 99px; background: rgba(20, 18, 14, .86); color: #fff; font-size: 13.5px; font-weight: 600; text-align: center; pointer-events: none; transition: opacity .2s, transform .2s; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.ac-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.ac-toast.good { background: rgba(21, 128, 61, .92); } .ac-toast.bad { background: rgba(185, 28, 28, .92); }
.ac-banner { margin: 6px 0; padding: 8px 12px; border-radius: 12px; background: #fff4d6; color: #7a4e00; font-size: 13.5px; font-weight: 600; text-align: center; }
.ac-screen { position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; padding: 12px; border-radius: 16px; background: rgba(20, 26, 14, .42); backdrop-filter: blur(5px) saturate(1.1); -webkit-backdrop-filter: blur(5px); animation: fade .25s; }
.ac-screen[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.panel { position: relative; width: min(100%, 380px); max-height: 100%; overflow: auto; padding: 22px 20px 18px; border-radius: 22px; background: var(--card); color: var(--ink); text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); animation: rise .35s cubic-bezier(.2,.8,.3,1.2); }
@keyframes rise { from { transform: translateY(16px) scale(.97); opacity: 0; } }
.panel h2 { margin: 6px 0 6px; font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; }
.panel p { margin: 0 0 12px; color: var(--ink2); font-size: 15px; }
.panel .muted { color: var(--ink3); }
.row { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; }
.btn { flex: 1; min-height: 46px; padding: 0 18px; border: 0; border-radius: 14px; background: linear-gradient(180deg, #f08a6c, var(--accent)); color: #fff; font-weight: 800; font-size: 16px; box-shadow: 0 4px 0 #b9533a; transition: transform .1s, box-shadow .1s; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #b9533a; }
.btn--ghost { background: var(--bg2); color: var(--ink); box-shadow: 0 4px 0 var(--line); }
.btn--ghost:active { box-shadow: 0 1px 0 var(--line); }
.skip { position: absolute; top: 10px; right: 10px; border: 0; background: var(--bg2); border-radius: 99px; padding: 6px 12px; font-size: 13px; font-weight: 700; color: var(--ink2); }
.rules-art { font-size: 40px; line-height: 1.25; margin: 14px 0 4px; letter-spacing: 2px; }
.rules-art small { display: block; font: 700 12px/1.4 Inter, system-ui, sans-serif; color: var(--ink3); letter-spacing: .02em; }
.dots { display: flex; justify-content: center; gap: 6px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: width .2s; }
.dots i.on { width: 20px; border-radius: 99px; background: var(--accent); }
.choice { display: flex; align-items: center; gap: 12px; width: 100%; margin: 10px 0 0; padding: 14px; border-radius: 18px; border: 2px solid var(--line); background: var(--bg); text-align: left; flex-wrap: wrap; }
button.choice:hover, button.choice:focus-visible { border-color: var(--accent); }
.choice--online { background: linear-gradient(135deg, #fff1e8, #ffe0cf); border-color: #f6b79f; }
@media (prefers-color-scheme: dark) { .choice--online { background: linear-gradient(135deg, #3a2419, #4a2a1c); border-color: #7a4430; } }
.choice-icon { font-size: 30px; width: 44px; text-align: center; }
.choice b { display: block; font-size: 17px; } .choice small { display: block; color: var(--ink3); font-size: 13px; }
.link { margin-top: 12px; border: 0; background: none; color: var(--ink3); text-decoration: underline; font-size: 13.5px; }
@keyframes boom { from { transform: scale(2.4); opacity: 0; } }
.result-icon { font-size: 58px; line-height: 1; margin-top: 4px; animation: boom .6s cubic-bezier(.2,.8,.3,1.6); }
.panel--result.is-win h2 { color: #c47f00; } .panel--result.is-lose h2 { color: var(--bad); }


/* ---------- ad slots (hidden until ads are switched on; see public/js/ads.js) ---------- */
.ad-slot[hidden] { display: none !important; }
.ad-content { display: block; max-width: 760px; min-height: 280px; margin: 28px auto; padding: 0 18px; }
.ad-content::before, .ad-rail::before, .ad-banner::before { content: 'Advertisement'; display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); margin-bottom: 4px; text-align: center; }
html[lang^="zh"] .ad-content::before, html[lang^="zh"] .ad-rail::before, html[lang^="zh"] .ad-banner::before { content: '广告'; }
.ad-rail { display: none; }
@media (min-width: 1280px) and (min-height: 700px) {
  main { position: relative; }
  .ad-rail { position: absolute; top: 96px; width: 160px; min-height: 600px; }
  .ad-rail:not([hidden]) { display: block; }
  .ad-rail--left { left: max(16px, calc(50% - 280px - 32px - 160px)); }
  .ad-rail--right { right: max(16px, calc(50% - 280px - 32px - 160px)); }
}
.ad-slot.is-preview { background: repeating-linear-gradient(45deg, var(--bg2) 0 10px, transparent 10px 20px); border: 1px dashed var(--line); border-radius: 12px; }
.ad-content.is-preview { min-height: 250px; }

/* ---------- share sheet ---------- */
.ac-share { color: var(--ink); }
.share-link { display: block; margin: 12px auto 0; font-weight: 600; text-decoration: none; color: var(--accent); }
.share-dialog { width: min(94vw, 440px); max-width: none; max-height: 96svh; overflow: auto; }
.share-wrap { position: relative; padding: 16px 16px 14px; text-align: center; }
.share-title { margin: 2px 0 12px; font-size: 18px; }
.share-close { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--bg2); font-size: 15px; }
.share-card { position: relative; border-radius: 16px; overflow: hidden; background: var(--bg2); aspect-ratio: 4 / 5; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.share-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.share-card .share-loading { position: absolute; inset: 0; display: none; place-items: center; color: var(--ink3); font-size: 14px; }
.share-card.is-loading .share-loading { display: grid; }
.share-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.share-actions .share-native { grid-column: 1 / -1; }
.share-actions .share-native[hidden] + .share-copy { grid-column: auto; }
.share-actions .btn { min-height: 44px; font-size: 15px; }
.share-note { min-height: 20px; margin: 8px 0 0; font-size: 13px; color: var(--ink3); }
@media (orientation: landscape) and (max-height: 560px) { .share-card { max-height: 60svh; aspect-ratio: auto; } .share-card img { object-fit: contain; } }

/* ---------- dialogs ---------- */
dialog { border: 0; border-radius: 20px; padding: 0; max-width: min(92vw, 520px); background: var(--card); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(10, 10, 8, .5); }
.dlg { padding: 20px; }
.dlg h2 { margin: 0 0 8px; font-size: 20px; }
.dlg ul { padding-left: 20px; margin: 0; } .dlg li { margin: 4px 0; }
.dlg .row { margin-top: 16px; }

/* ---------- content ---------- */
.ac-content { max-width: 760px; margin: 28px auto 0; padding: 0 18px 40px; }
.ac-content h2 { font-size: 24px; letter-spacing: -0.01em; margin: 36px 0 10px; line-height: 1.25; }
.ac-content h3 { font-size: 18px; margin: 22px 0 6px; }
.ac-content p, .ac-content li { color: var(--ink2); }
.ac-content table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 15px; }
.ac-content th, .ac-content td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.ac-content th { color: var(--ink3); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.ac-content td.e { font-size: 22px; width: 44px; }
.ac-content details { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 8px 0; background: var(--card); }
.ac-content summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.ac-content details p { margin: 8px 0 0; }
.ac-content .note { font-size: 14px; color: var(--ink3); }
.ac-cta { display: inline-block; margin-top: 6px; padding: 10px 16px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; }
.ac-foot { border-top: 1px solid var(--line); padding: 22px 18px 36px; text-align: center; color: var(--ink3); font-size: 13.5px; }
.ac-foot a { color: var(--ink2); }
.ac-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-bottom: 8px; }
.noscript { padding: 16px; text-align: center; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }


/* lobby: seats filling one by one, room code */
.lobby { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0 12px; }
.slot { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px; border-radius: 14px; background: var(--bg2); border: 2px dashed var(--line); min-height: 56px; }
.slot.is-filled { border-style: solid; border-color: var(--seat); background: color-mix(in srgb, var(--seat) 12%, var(--card)); animation: rise .35s cubic-bezier(.2,.8,.3,1.4); }
.slot .sa { width: 36px; height: 36px; border-radius: 10px; overflow: hidden; flex: none; display: grid; place-items: center; background: var(--line); font-size: 20px; font-family: "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif; }
.slot .sa img { width: 100%; height: 100%; object-fit: cover; }
.slot b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.slot small { display: block; font-size: 11px; color: var(--ink3); }
.slot.is-empty .sa { animation: pulse 1.2s infinite; }
.code { font: 900 40px/1 ui-monospace, Menlo, monospace; letter-spacing: .18em; color: var(--ink); margin: 4px 0 2px; }
.code-in { display: flex; gap: 8px; margin: 10px 0 4px; }
.code-in input { flex: 1; min-width: 0; height: 46px; border-radius: 12px; border: 2px solid var(--line); background: var(--card); color: var(--ink); font: 800 22px/1 ui-monospace, Menlo, monospace; letter-spacing: .3em; text-align: center; }
.code-in .btn { flex: none; min-width: 92px; }
.choice .code-in { width: 100%; }
.btn--wide { width: 100%; }
.panel--lobby .muted { margin: 4px 0; }
.friends { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.friends .btn { min-height: 42px; font-size: 14px; }


.code-in input:placeholder-shown { letter-spacing: normal; font: 600 15px/1 Inter, system-ui, sans-serif; }
.panel--friends .or { margin: 14px 0 0; }
.panel--friends .btn--wide { margin-top: 6px; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 70% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
@keyframes pulse { 50% { transform: scale(1.06); } }

/* ===================== Dou Dizhu table: green felt, gold trim, white cards ===================== */
:root { --accent: #e0574a; --gold: #f6c544; --gold-d: #b8812a; --felt: #13795f; --felt2: #0c5545; --cw: 64px; --ch: 90px; --pw: 40px; --ph: 56px; }
.btn { background: linear-gradient(180deg, #ffd56a, #f2a92a); color: #4a2a00; box-shadow: 0 4px 0 #b9761a; }
.btn:active { box-shadow: 0 1px 0 #b9761a; }
.btn--ghost { background: var(--bg2); color: var(--ink); box-shadow: 0 4px 0 var(--line); }
.choice--online { background: linear-gradient(135deg, #fff7df, #ffe7ad); border-color: #efc767; }
@media (prefers-color-scheme: dark) { .choice--online { background: linear-gradient(135deg, #3a2d12, #4a3612); border-color: #7a5a1c; } }
.dots i.on { background: var(--gold-d); }
.share-link { color: #b77408; }

.dz-game { position: relative; height: 100svh; min-height: 320px; overflow: hidden; color: #fff; display: flex; flex-direction: column;
  background: radial-gradient(130% 85% at 50% 42%, #1c8d70 0%, #11705a 42%, #0b4f40 78%, #06382d 100%); -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.dz-game::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(70% 45% at 50% 46%, rgba(255,255,255,.08), transparent 70%), repeating-linear-gradient(115deg, rgba(255,255,255,.018) 0 2px, transparent 2px 5px); }
.dz-inner { position: relative; flex: 1; display: flex; flex-direction: column; width: min(100%, 1100px); margin: 0 auto; min-height: 0; }

/* toolbar */
.dz-toolbar { display: flex; align-items: center; gap: 8px; height: 56px; padding: 6px 10px 0; flex: none; position: relative; z-index: 9; }
.tb { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 2px solid rgba(255,255,255,.28); border-radius: 12px; background: linear-gradient(180deg, #1f6c5a, #123f35); color: #fff; box-shadow: 0 3px 0 rgba(0,0,0,.22); line-height: 1; }
.tb .ic { font-size: 17px; font-family: "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif; }
.tb small { font-size: 10px; font-weight: 800; margin-top: -2px; }
.tb--exit { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8a6a, #e0574a 60%, #b0301f); border-color: #fff; }
.tb--exit svg { width: 22px; height: 22px; }
.tb:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,.2); }
.tb-space { flex: 1; }
.dz-online { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border-radius: 99px; background: rgba(0,0,0,.24); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.dz-online i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: live 2s infinite; }
.dz-lang { color: #fff; font-size: 12.5px; font-weight: 700; text-decoration: none; padding: 6px 9px; border-radius: 10px; background: rgba(0,0,0,.24); white-space: nowrap; }

/* title, base score, multiplier, landlord cards */
.dz-info { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 26px; flex: none; padding: 0 8px; }
.dz-info h1 { margin: 0; font-size: 14px; font-weight: 800; opacity: .9; white-space: nowrap; }
.chip { padding: 2px 9px; border-radius: 99px; background: rgba(0,0,0,.28); font-size: 12px; font-weight: 800; white-space: nowrap; }
.chip b { color: var(--gold); font-size: 13px; }
.chip.bump { animation: bump .6s cubic-bezier(.2,.8,.3,1.8); }
@keyframes bump { 30% { transform: scale(1.5); background: #e0574a; } }
.dz-info { flex-wrap: wrap; row-gap: 2px; }
.dz-bottom { display: flex; justify-content: center; gap: 4px; height: calc(var(--ph) * .78); flex: 0 0 100%; perspective: 400px; }
.dz-bottom .card { position: relative; --cw: calc(var(--pw) * .78); --ch: calc(var(--ph) * .78); }

/* the felt: opponents at the upper corners, plays between, my play above the buttons */
.dz-table { position: relative; flex: 1; min-height: 0; }
.opp { position: absolute; top: 2px; display: flex; flex-direction: column; align-items: center; gap: 3px; width: 76px; z-index: 2; }
.opp--l { left: 8px; } .opp--r { right: 8px; }
.ava { position: relative; width: 56px; height: 56px; border-radius: 12px; border: 3px solid rgba(255,255,255,.75); background: #c9d8d2; box-shadow: 0 4px 10px rgba(0,0,0,.3); flex: none; }
.ava img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 9px; }
.ava .emo { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 9px; font-size: 28px; font-family: "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif; }
.ava .nm { position: absolute; left: 50%; bottom: -8px; z-index: 1; transform: translateX(-50%); width: max-content; max-width: 96px; padding: 1px 7px; border-radius: 99px; background: rgba(0,0,0,.66); font-size: 11px; font-weight: 800; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.is-turn .ava { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(246,197,68,.45), 0 0 18px rgba(246,197,68,.8); }
.role { position: absolute; top: -9px; left: -9px; z-index: 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 15px; box-shadow: 0 2px 4px rgba(0,0,0,.35); font-family: "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif; }
.role--lord { background: radial-gradient(circle at 35% 30%, #fff1b0, #f6c544 55%, #c98b16); animation: hat .7s cubic-bezier(.2,.8,.3,1.6); }
.role--farm { background: radial-gradient(circle at 35% 30%, #d8f5c8, #7cc96a 60%, #3f8a2f); }
@keyframes hat { from { transform: translateY(-60px) rotate(-30deg) scale(1.8); opacity: 0; } }
.cnt { display: flex; align-items: center; gap: 4px; margin-top: 6px; font-weight: 900; font-size: 17px; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.cnt .mini { width: 16px; height: 22px; border-radius: 3px; }
.cnt.warn b { color: #ff7a6b; animation: blink .7s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.auto-tag { padding: 1px 6px; border-radius: 6px; background: #3b82f6; font-size: 10.5px; font-weight: 800; }
.bubble { position: absolute; z-index: 3; padding: 4px 11px; border-radius: 14px; background: #fff; color: #3b2a12; font-weight: 900; font-size: 15px; white-space: nowrap; box-shadow: 0 4px 10px rgba(0,0,0,.3); animation: pop .3s cubic-bezier(.2,.8,.3,1.7); }
.bubble.is-yes { background: #fff3c4; color: #a3510a; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.bubble--l { left: 90px; top: 16px; } .bubble--r { right: 90px; top: 16px; } .bubble--me { left: 50%; bottom: 10px; transform: translateX(-50%); animation: none; }
.plays { position: absolute; z-index: 2; display: flex; pointer-events: none; }
.plays--l { left: 90px; top: 4px; } .plays--r { right: 90px; top: 4px; }
.plays--me { left: 50%; bottom: 4px; transform: translateX(-50%); }
.plays .card { position: relative; --cw: var(--pw); --ch: var(--ph); flex: none; }
/* each later card overlaps the one before on its right, so every rank stays visible; app.js sets --step to fit */
.plays .card + .card { margin-left: calc(var(--step, calc(var(--pw) * .42)) - var(--pw)); }
.clock { position: absolute; z-index: 4; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #ffe7a6 70%, #e2b23c); color: #6b3d00; font-weight: 900; font-size: 15px; box-shadow: 0 0 0 3px rgba(0,0,0,.18), 0 4px 10px rgba(0,0,0,.35); }
.clock::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 6px; margin-left: -5px; border-radius: 3px 3px 0 0; background: #e2b23c; }
.clock.hurry { background: radial-gradient(circle at 35% 30%, #fff, #ffb3a6 70%, #e0574a); color: #6b0f00; animation: shakeX .3s infinite; }
@keyframes shakeX { 25% { transform: translateX(-2px) rotate(-5deg); } 75% { transform: translateX(2px) rotate(5deg); } }
.clock--l { left: 92px; top: 14px; } .clock--r { right: 92px; top: 14px; } .clock--me { left: 50%; bottom: 8px; margin-left: -19px; }
.callout { position: absolute; left: 50%; top: 40%; z-index: 7; transform: translate(-50%, -50%); pointer-events: none; text-align: center; white-space: nowrap;
  font: 900 clamp(26px, 7.5vw, 52px)/1.1 Inter, system-ui, "PingFang SC", "Noto Sans SC", sans-serif; letter-spacing: .02em; color: #ffe36e; white-space: normal; width: max-content; max-width: 92%;
  text-shadow: 0 3px 0 #b8541a, 0 6px 0 #6b2a00, 0 10px 24px rgba(0,0,0,.5); animation: callout 1.3s cubic-bezier(.2,.8,.3,1.3) forwards; }
.callout small { display: block; margin-top: 6px; font-size: .38em; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.6); letter-spacing: .04em; }
.callout.is-bomb { color: #ffb347; } .callout.is-rocket { color: #ff6b6b; } .callout.is-spring { color: #ffb3d9; } .callout.is-lord { color: #ffe36e; }
@keyframes callout { 0% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; } 18% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 78% { opacity: 1; } 100% { transform: translate(-50%, -64%) scale(.96); opacity: 0; } }
.flyer { position: absolute; z-index: 8; pointer-events: none; font-size: 54px; line-height: 1; font-family: "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif; filter: drop-shadow(0 6px 10px rgba(0,0,0,.4)); }
.flash { position: absolute; inset: 0; z-index: 6; pointer-events: none; background: radial-gradient(circle at 50% 45%, rgba(255,240,200,.95), rgba(255,170,60,.4) 40%, transparent 70%); animation: flash .5s forwards; }
@keyframes flash { from { opacity: 1; } to { opacity: 0; } }

/* buttons for the current decision, my status line, my hand */
.dz-actions { position: relative; z-index: 5; display: flex; justify-content: center; align-items: center; gap: 10px; height: 50px; flex: none; }
.act { min-width: 88px; height: 42px; padding: 0 16px; border-radius: 21px; border: 2px solid rgba(255,255,255,.55); font-weight: 900; font-size: 16px; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.25); box-shadow: 0 4px 0 rgba(0,0,0,.28); animation: pop .25s cubic-bezier(.2,.8,.3,1.5); }
.act:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,.28); }
.act--go { background: linear-gradient(180deg, #ffbf4d, #f0891c); color: #4a2400; text-shadow: none; }
.act--no { background: linear-gradient(180deg, #5aaeff, #1f74d6); }
.act--hint { background: linear-gradient(180deg, #6bd8a2, #23a46a); }
.act--rob { background: linear-gradient(180deg, #ff8a7a, #e0453a); }
.act:disabled { filter: grayscale(.8); opacity: .55; }
.act-note { font-size: 13px; font-weight: 700; opacity: .9; }
.dz-me { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; flex: none; position: relative; z-index: 3; }
.dz-me .ava { width: 30px; height: 30px; border-width: 2px; border-radius: 8px; }
.dz-me .ava .emo { font-size: 16px; }
.dz-me .role { width: 20px; height: 20px; font-size: 12px; top: -7px; left: -7px; }
.dz-me .me-name { font-size: 13px; font-weight: 800; white-space: nowrap; }
.dz-me .me-score { font-size: 12px; font-weight: 800; color: var(--gold); white-space: nowrap; }
.dz-me .status { flex: 1; min-width: 0; text-align: right; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .95; }
.dz-hand { position: relative; height: calc(var(--ch) + 20px); flex: none; margin: 0 6px 8px; touch-action: none; z-index: 4; }

/* cards */
.card { position: absolute; bottom: 0; width: var(--cw); height: var(--ch); border-radius: calc(var(--cw) * .1); background: linear-gradient(170deg, #ffffff 0%, #f6f2e8 100%); color: #1d1d22; box-shadow: -1px 0 3px rgba(0,0,0,.2), 0 2px 5px rgba(0,0,0,.28); overflow: hidden; transition: transform .14s, left .22s, filter .1s; font-family: "Arial Narrow", "Roboto Condensed", Inter, system-ui, sans-serif; }
.card.red { color: #d3252f; }
.card .cr { position: absolute; left: 6%; top: 3%; font-weight: 900; font-size: calc(var(--cw) * .36); line-height: 1; letter-spacing: -.06em; }
.card .cs { position: absolute; left: 8%; top: calc(var(--cw) * .38); font-size: calc(var(--cw) * .27); line-height: 1; }
.card .cc { position: absolute; right: 7%; bottom: 5%; font-size: calc(var(--cw) * .52); line-height: 1; }
.card .face { position: absolute; right: 6%; bottom: 5%; width: 54%; height: 52%; border-radius: 10%; display: grid; place-items: center; font-weight: 900; font-size: calc(var(--cw) * .42); background: linear-gradient(160deg, rgba(246,197,68,.35), rgba(246,197,68,.08)); border: 1px solid rgba(184,129,42,.45); }
.card.jk .cr { font-size: calc(var(--cw) * .18); line-height: .92; width: 1em; text-align: center; letter-spacing: 0; top: 6%; left: 7%; }
.card.jk .cc { font-size: calc(var(--cw) * .58); right: 6%; bottom: 6%; }
.card.jk.red .cc { filter: drop-shadow(0 0 4px rgba(255,180,0,.6)); }
.dz-hand .card { cursor: pointer; }
.dz-hand .card.sel { transform: translateY(-16px); box-shadow: -1px 0 3px rgba(0,0,0,.2), 0 0 0 2px var(--gold), 0 6px 12px rgba(0,0,0,.3); }
.dz-hand .card.sweep { filter: brightness(.78); }
.dz-hand .card.new { box-shadow: -1px 0 3px rgba(0,0,0,.2), 0 0 0 2px #7cf0c0, 0 0 12px #7cf0c0; }
.card.back, .mini.back { background-color: #b83a3f; background-image: radial-gradient(circle at 50% 50%, #e3b04b 0 16%, transparent 17%), repeating-linear-gradient(45deg, #c4444b 0 5px, #a3313a 5px 10px); border: 2px solid #fff; box-shadow: inset 0 0 0 2px #e7b850, 0 2px 4px rgba(0,0,0,.3); }
.card.flip { animation: flip .5s ease-out both; }
@keyframes flip { 0% { transform: rotateY(90deg); } 100% { transform: rotateY(0); } }

/* result table */
.res { width: 100%; border-collapse: collapse; margin: 6px 0 10px; font-size: 14px; }
.res td { padding: 6px 4px; border-bottom: 1px solid var(--line); text-align: left; color: var(--ink2); }
.res td:last-child { text-align: right; font-weight: 900; }
.res .pos { color: #15803d; } .res .neg { color: var(--bad); }
.res tr.me td { color: var(--ink); font-weight: 800; }
.res .left-cards { display: flex; flex-wrap: wrap; gap: 0; }
.res .left-cards .card { position: relative; --cw: 22px; --ch: 30px; margin-right: -9px; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.res .left-cards .card .cs, .res .left-cards .card .cc, .res .left-cards .card .face { display: none; }
.tot { font-size: 13px; color: var(--ink3); margin: 0 0 6px; }

/* overlays sit on the table, below the toolbar */
.dz-game .ac-screen { inset: 56px 0 0 0; border-radius: 0; background: rgba(4, 30, 24, .5); }
.dz-game .ac-toast { top: 64px; z-index: 9; }
.dz-game .ac-banner { position: absolute; left: 50%; top: 92px; transform: translateX(-50%); z-index: 9; }
.dz-game .ac-fx { z-index: 6; }

/* lobby: three seats */
.lobby--3 { grid-template-columns: 1fr; }

/* short screens and landscape phones: smaller chrome, opponents beside the plays */
@media (max-height: 700px) { .dz-toolbar { height: 48px; } .tb { width: 38px; height: 38px; } .tb small { display: none; } .ava { width: 46px; height: 46px; } .opp { width: 66px; } .bubble--l, .plays--l, .clock--l { left: 76px; } .bubble--r, .plays--r, .clock--r { right: 76px; } .dz-game .ac-screen { inset: 48px 0 0 0; } }
@media (orientation: landscape) and (max-height: 520px) {
  .dz-info h1 { display: none; }
  .dz-actions { height: 44px; } .act { height: 36px; min-width: 76px; font-size: 14px; }
  .dz-me { height: 26px; }
  .opp { top: 0; flex-direction: row; width: auto; gap: 6px; align-items: flex-start; }
  .opp .cnt { flex-direction: column; margin-top: 0; }
  .bubble--l, .plays--l, .clock--l { left: 116px; } .bubble--r, .plays--r, .clock--r { right: 116px; }
}

.ac-content table.combos { width: 100%; border-collapse: collapse; margin: 10px 0 14px; font-size: 14.5px; }
.ac-content table.combos th, .ac-content table.combos td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ac-content table.combos th { font-size: 13px; color: var(--ink3); }
.ac-content table.combos td:first-child { font-weight: 800; white-space: nowrap; }
.ac-content table.combos td:last-child { font-family: ui-monospace, Menlo, monospace; white-space: nowrap; }
.dz-me.is-turn .ava { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(246,197,68,.5), 0 0 10px rgba(246,197,68,.8); }

/* overlapped cards show only the corner (rank and small suit); the top card shows its big suit too */
.dz-hand.tight .card:not(:last-child) .cc, .dz-hand.tight .card:not(:last-child) .face, .plays .card:not(:last-child) .cc, .plays .card:not(:last-child) .face { display: none; }
.card .cr.ten { letter-spacing: -.16em; transform: scaleX(.72); transform-origin: left top; }
@media (max-width: 600px) { .ac-content table.combos td:last-child, .ac-content table.combos td:first-child { white-space: normal; } .ac-content table.combos { font-size: 13.5px; } }
/* landscape phones: landlord cards and the score chips go up into the toolbar row, my name joins the button row */
@media (orientation: landscape) and (max-height: 520px) {
  .dz-toolbar { height: 48px; }
  .dz-info { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); z-index: 10; flex-wrap: nowrap; min-height: 0; }
  .dz-bottom { flex: none; height: calc(var(--ph) * .7); }
  .dz-bottom .card { --cw: calc(var(--pw) * .7); --ch: calc(var(--ph) * .7); }
  .dz-me { position: absolute; left: 4px; bottom: calc(var(--ch) + 28px); height: 44px; z-index: 6; max-width: 30%; }
  .dz-me .status { display: none; }
  .dz-hand { margin-bottom: 4px; }
}

/* phones held upright: the other players' plays sit under their avatars, each in its half of the felt */
@media (orientation: portrait) and (max-width: 600px) {
  .plays--l, .plays--r { top: 104px; }
  .plays--l { left: 10px; } .plays--r { right: 10px; }
}
@media (orientation: portrait) and (max-width: 600px) and (max-height: 700px) { .plays--l, .plays--r { top: 88px; } }

/* ---------- the table sits in a fixed frame on tablets and desktops, leaving room for ads ----------
   phones: the table fills the screen (ads go below the game, like the other sites);
   >= 720x560: a framed table up to 960x680, a 728x90 banner slot right under it (content1);
   >= 1280x700: 160px rails beside the frame (railLeft / railRight). */
.dz-wrap { position: relative; background: radial-gradient(120% 80% at 50% 30%, #0f4d3f 0%, #072a22 70%, #041c17 100%); }
.dz-wrap .ad-banner { display: block; width: min(728px, calc(100% - 32px)); min-height: 90px; margin: 0 auto; padding: 14px 0; }
.dz-wrap .ad-banner::before { color: rgba(255,255,255,.55); }
.dz-wrap .ad-banner.is-preview { background: repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 10px, transparent 10px 20px); border: 1px dashed rgba(255,255,255,.3); border-radius: 12px; min-height: 104px; margin: 14px auto 0; }
@media (min-width: 720px) and (min-height: 560px) {
  :root { --frame-w: min(960px, calc(100vw - 48px)); --frame-h: min(680px, calc(100svh - 170px)); }
  .dz-wrap { padding: 22px 0 18px; min-height: 100svh; }
  .dz-game { width: var(--frame-w); height: max(500px, var(--frame-h)); min-height: 0; margin: 0 auto; border-radius: 28px;
    box-shadow: 0 0 0 9px #7a4a22, 0 0 0 12px #4a2b12, 0 0 0 13px rgba(255,255,255,.1), 0 26px 60px rgba(0,0,0,.55); }
  .dz-wrap .ad-banner { margin-top: 18px; }
}
@media (min-width: 1280px) and (min-height: 700px) {
  :root { --frame-w: min(960px, calc(100vw - 420px)); }
  .ad-rail { top: 22px; }
  .ad-rail--left { left: max(12px, calc(50% - var(--frame-w) / 2 - 34px - 160px)); }
  .ad-rail--right { right: max(12px, calc(50% - var(--frame-w) / 2 - 34px - 160px)); }
}
.ad-rail { z-index: 3; }
.ad-rail::before { color: rgba(255,255,255,.55); }
.ad-rail.is-preview { background: repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 10px, transparent 10px 20px); border: 1px dashed rgba(255,255,255,.3); }

/* ---------- account card, avatar picker, leaderboard ---------- */
.me-card { display: flex; align-items: center; gap: 10px; margin: -4px 0 8px; padding: 8px 10px; border-radius: 16px; background: var(--bg2); text-align: left; }
.me-ava { position: relative; flex: none; width: 48px; height: 48px; padding: 0; border: 2px solid var(--gold); border-radius: 12px; overflow: visible; background: var(--card); display: grid; place-items: center; font-size: 24px; }
.me-ava img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.me-ava i { position: absolute; right: -6px; bottom: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: #4a2a00; font: 900 12px/20px system-ui; font-style: normal; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.me-meta { flex: 1; min-width: 0; }
.me-meta b { display: block; font-size: 15px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-meta small { display: block; font-size: 12px; color: var(--ink3); }
.me-card .link { margin: 0; white-space: nowrap; }
.btn--sm { flex: none; min-height: 34px; padding: 0 12px; border-radius: 11px; font-size: 13.5px; display: inline-grid; place-items: center; text-decoration: none; box-shadow: 0 3px 0 #b9761a; }
.choice--board { background: linear-gradient(135deg, #fff9e6, #fff0c2); border-color: #f0d27a; }
@media (prefers-color-scheme: dark) { .choice--board { background: linear-gradient(135deg, #2e2810, #3a3112); border-color: #6a5a1c; } }
.av-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 8px 0 4px; }
.av-pick { aspect-ratio: 1; padding: 0; border: 3px solid transparent; border-radius: 14px; overflow: hidden; background: var(--bg2); }
.av-pick img { width: 100%; height: 100%; object-fit: cover; display: block; }
.av-pick.on { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(246,197,68,.35); }
.av-pick:active { transform: scale(.95); }
.panel--board { width: min(100%, 440px); }
.tabs { display: flex; gap: 6px; margin: 4px 0 10px; padding: 4px; border-radius: 12px; background: var(--bg2); }
.tab { flex: 1; min-height: 34px; border: 0; border-radius: 9px; background: none; font-weight: 800; color: var(--ink3); }
.tab.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.board-wrap { max-height: min(46svh, 420px); overflow: auto; border-radius: 12px; border: 1px solid var(--line); }
.board { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.board th { position: sticky; top: 0; background: var(--bg2); color: var(--ink3); font-size: 12px; font-weight: 700; padding: 6px 4px; text-align: right; }
.board th:nth-child(2) { text-align: left; }
.board td { padding: 6px 4px; border-top: 1px solid var(--line); text-align: right; color: var(--ink2); white-space: nowrap; }
.board td.rk { width: 30px; text-align: center; font-weight: 900; color: var(--ink); }
.board td.pl { text-align: left; max-width: 150px; overflow: hidden; text-overflow: ellipsis; color: var(--ink); font-weight: 700; }
.board td.pl img { width: 26px; height: 26px; border-radius: 7px; vertical-align: middle; margin-right: 6px; object-fit: cover; }
.board td.empty { text-align: center; white-space: normal; padding: 18px 10px; color: var(--ink3); }
.board tr.me td { background: color-mix(in srgb, var(--gold) 22%, transparent); }
.my-rank { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 0 8px; padding: 8px 10px; border-radius: 12px; background: color-mix(in srgb, var(--gold) 18%, var(--bg2)); font-size: 13px; font-weight: 700; color: var(--ink2); text-align: left; }
.my-rank img { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; }
.my-rank b { color: var(--ink); }
.board-login { display: flex; align-items: center; gap: 10px; margin: 10px 0 2px; padding: 10px; border-radius: 12px; background: var(--bg2); text-align: left; font-size: 13px; color: var(--ink2); }
.board-login span { flex: 1; }
.panel .small { font-size: 12px; margin: 8px 0 0; }
.rank-note { margin: 4px 0 0 !important; font-size: 13px !important; color: var(--ink3) !important; }
.rank-note.ok { color: #15803d !important; font-weight: 700; }
.rank-note a, .rank-note .link { color: #b77408; font-size: 13px; }

.panel--board .share-rank { margin: 10px auto 0; display: inline-grid; }

/* ===================== Guandan: blue felt, four seats, the hand in columns by rank ===================== */
:root { --felt: #1f5fa8; --felt2: #123a66; }
.dz-game { background: radial-gradient(130% 85% at 50% 42%, #2f78c4 0%, #1f5fa8 42%, #153f73 78%, #0c2a4f 100%); }
.dz-wrap { background: radial-gradient(120% 80% at 50% 30%, #173e6b 0%, #0b223f 70%, #07172c 100%); }
.tb { background: linear-gradient(180deg, #2a64a8, #173c6b); }
.dz-game .ac-screen { background: rgba(6, 20, 40, .52); }
@media (min-width: 720px) and (min-height: 560px) {
  .dz-game { box-shadow: 0 0 0 9px #6b4424, 0 0 0 12px #3f2612, 0 0 0 13px rgba(255,255,255,.1), 0 26px 60px rgba(0,0,0,.55); }
}

/* level chips */
.gd-info { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 28px; flex: none; padding: 0 8px; flex-wrap: wrap; }
.gd-info h1 { margin: 0; font-size: 14px; font-weight: 800; opacity: .9; white-space: nowrap; }
.chip--lvl { background: linear-gradient(180deg, #ffd56a, #f2a92a); color: #4a2a00; font-size: 13px; }
.chip--lvl b { color: #7a1d00; font-size: 15px; }
.chip.bump { animation: bump .7s cubic-bezier(.2,.8,.3,1.8); }

/* four seats: partner on top, opponents left and right */
.opp--t { left: 50%; top: 2px; transform: translateX(-50%); flex-direction: row; width: auto; gap: 8px; align-items: center; }
.opp--l { left: 8px; top: 34%; } .opp--r { right: 8px; top: 34%; }
.opp--t .cnt { margin-top: 0; }
.mate { position: absolute; top: -9px; right: -12px; z-index: 2; padding: 0 6px; border-radius: 99px; background: #22c55e; color: #fff; font-size: 10.5px; font-weight: 900; line-height: 18px; box-shadow: 0 2px 4px rgba(0,0,0,.3); }
.opp.is-partner .ava { border-color: #86efac; }
.place { position: absolute; top: -9px; left: -10px; z-index: 3; padding: 0 6px; border-radius: 99px; background: radial-gradient(circle at 35% 30%, #fff1b0, #f6c544 55%, #c98b16); color: #4a2a00; font-size: 10.5px; font-weight: 900; line-height: 18px; white-space: nowrap; box-shadow: 0 2px 4px rgba(0,0,0,.35); animation: hat .6s cubic-bezier(.2,.8,.3,1.6); }
.place--1 { background: radial-gradient(circle at 35% 30%, #f1f5f9, #cbd5e1 60%, #94a3b8); }
.place--2 { background: radial-gradient(circle at 35% 30%, #fde3c8, #e0a874 60%, #a76a35); }
.place--3 { background: #64748b; color: #fff; }
.res .place { position: static; display: inline-block; animation: none; margin-right: 2px; }
.cnt b:empty { display: none; }
.cnt.few b { color: #ffe36e; }
.plays--t { left: 50%; top: 66px; transform: translateX(-50%); }
.plays--l { left: 90px; top: 34%; } .plays--r { right: 90px; top: 34%; }
.plays.is-left { opacity: .92; }
.bubble--t { left: 50%; top: 70px; transform: translateX(-50%); }
.bubble--l { left: 90px; top: calc(34% + 8px); } .bubble--r { right: 90px; top: calc(34% + 8px); }
.clock--t { left: calc(50% + 70px); top: 10px; }
.clock--l { left: 92px; top: calc(34% - 30px); } .clock--r { right: 92px; top: calc(34% - 30px); }

/* the hand: columns of one rank each, the front card at the bottom */
.gd-hand { height: calc(var(--ch) * 2.1); }
.gd-hand .card { bottom: auto; transition: transform .14s, left .22s, top .22s, filter .1s; }
.gd-hand .card.sel { transform: translateY(-12px); box-shadow: -1px 0 3px rgba(0,0,0,.2), 0 0 0 2px var(--gold), 0 6px 12px rgba(0,0,0,.3); filter: brightness(1.04); }
.gd-hand .card.dim { filter: brightness(.6) saturate(.6); }
.dz-hand.gd-hand.tight .card .cc, .dz-hand.gd-hand.tight .card .face { display: none; }
.card.lvl { background: linear-gradient(170deg, #fffaf0 0%, #fbe9c6 100%); }
.card .wtag { position: absolute; right: 4%; top: 4%; padding: 0 3px; border-radius: 4px; background: #e0453a; color: #fff; font: 900 calc(var(--cw) * .2)/1.25 Inter, "PingFang SC", "Noto Sans SC", sans-serif; }
.card.wild { box-shadow: -1px 0 3px rgba(0,0,0,.2), 0 2px 5px rgba(0,0,0,.28), inset 0 0 0 2px #f6c544; }
.plays .card .wtag { font-size: calc(var(--pw) * .2); }

/* tribute: who gave what, in the middle of the felt */
.tribute-box { position: absolute; left: 50%; top: 56%; z-index: 7; transform: translate(-50%, -50%); min-width: 220px; max-width: 92%; padding: 12px 16px; border-radius: 16px; background: rgba(8, 22, 44, .86); color: #fff; text-align: center; box-shadow: 0 12px 30px rgba(0,0,0,.4); animation: rise .35s cubic-bezier(.2,.8,.3,1.3); transition: opacity .3s; }
.tribute-box.out { opacity: 0; }
.tribute-box b { display: block; font-size: 18px; color: #ffe36e; margin-bottom: 6px; }
.tribute-box small { display: block; font-size: 13px; opacity: .9; }
.trib { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 6px 0 0; font-size: 13.5px; font-weight: 700; }
.trib .card { position: relative; --cw: 34px; --ch: 48px; flex: none; }
.trib .card .cc, .trib .card .face { display: none; }
.trib .arrow { color: #ffe36e; }

/* actions: a chooser when wild cards allow two readings */
.act--sm { min-width: 0; height: 36px; padding: 0 12px; font-size: 14px; }

/* lobby: four seats, two teams */
.panel--lobby .lobby, .panel--vs .lobby, .panel--lobby .lobby { grid-template-columns: 1fr 1fr; }
.res tr.win td:first-child { color: #15803d; }
.res td small { color: var(--ink3); font-weight: 600; }
.res td:last-child { text-align: left; }
.panel--result .levels { font-weight: 700; color: var(--ink2); }
.panel--result .levels b { color: #c47f00; }

@media (max-height: 700px) {
  .bubble--l, .plays--l, .clock--l { left: 76px; } .bubble--r, .plays--r, .clock--r { right: 76px; }
  .plays--t { top: 58px; } .bubble--t { top: 60px; }
}
/* phones held upright: side players' plays go under their avatars */
@media (orientation: portrait) and (max-width: 600px) {
  .opp--l, .opp--r { top: 30%; }
  .plays--l, .plays--r { top: calc(30% + 86px); }
  .plays--l { left: 8px; } .plays--r { right: 8px; }
  .bubble--l { left: 8px; top: calc(30% + 90px); } .bubble--r { right: 8px; top: calc(30% + 90px); }
  .clock--l { left: 70px; top: calc(30% - 4px); } .clock--r { right: 70px; top: calc(30% - 4px); }
}
@media (orientation: landscape) and (max-height: 520px) {
  .gd-info { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); z-index: 10; flex-wrap: nowrap; min-height: 0; }
  .gd-info h1 { display: none; }
  .gd-hand { height: calc(var(--ch) * 1.72); }
  .opp--t { top: 0; }
  .opp--l, .opp--r { top: 18%; }
  .plays--t { top: 4px; left: calc(50% + 120px); transform: none; }
  .bubble--t { top: 8px; left: calc(50% + 120px); transform: none; }
  .plays--l, .bubble--l { left: 120px; top: 22%; } .plays--r, .bubble--r { right: 120px; top: 22%; }
  .clock--l { left: 120px; top: 2%; } .clock--r { right: 120px; top: 2%; }
}
