/* VOICE   occasion: a cheeky Christmas food-fight poster
   IDEA    the festive table at night, two bejgli armies on a red tablecloth
   PICTURE two giant slices clashing in the hero, then the playable battlefield
   COLOUR  plum night ground, poppy blue vs walnut amber, tablecloth red, gold glints
   TYPE    Luckiest Guy display + Nunito text
   LAYOUT  hero: title, full-bleed clash arena on the table, three CTAs; game next; bands below; phones stack */
:root {
  color-scheme: dark;
  --mak: #8fa3ff;
  --dio: #f0a95a;
  --gold: #f5d27a;
  --red: #9a1d2a;
  --bg: #120c18;
  --ink: #f6eee3;
  --muted: #c3b8c9;
  --card: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .14);
  --display: "Luckiest Guy", "Arial Black", Impact, sans-serif;
  --text: "Nunito", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--text); overflow-x: clip; }
body.noscroll { overflow: hidden; }
a { color: inherit; }
button { font: inherit; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
#snowfx { position: fixed; inset: 0; pointer-events: none; z-index: 40; }

/* ---------- hero ---------- */
.hero {
  position: relative; display: flex; flex-direction: column;
  min-height: min(100svh, 980px); overflow: hidden;
  background:
    radial-gradient(ellipse at 22% 65%, rgba(143, 163, 255, .3), transparent 55%),
    radial-gradient(ellipse at 78% 65%, rgba(240, 169, 90, .3), transparent 55%),
    linear-gradient(100deg, #1b1840 0%, #120f28 49.8%, #2e180a 50.2%, #432610 100%);
}
nav.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px max(5vw, 16px); position: relative; z-index: 2; }
.logo { font-family: var(--display); font-size: 22px; text-decoration: none; color: var(--gold); letter-spacing: .02em; }
.links { display: flex; gap: 18px; flex-wrap: wrap; }
.links a { text-decoration: none; font-weight: 700; color: var(--muted); padding: 8px 0; }
.links a:hover { color: var(--gold); }
.hero-head { text-align: center; padding: 0 max(5vw, 16px); position: relative; z-index: 2; }
.title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(54px, 11vw, 138px); line-height: 1; margin: 0; letter-spacing: .01em;
  background: linear-gradient(90deg, var(--mak), #fff 50%, var(--dio));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .45)) drop-shadow(0 18px 30px rgba(0, 0, 0, .5));
  text-wrap: balance;
}
.tagline { max-width: 600px; margin: 10px auto 0; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); text-wrap: balance; }
.arena { position: relative; flex: 1; min-height: clamp(230px, 42vh, 460px); }
#clash { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-cta {
  position: relative; display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 6px 16px 40px; background: linear-gradient(#5e0e18, #3b0810);
}
.hero-cta::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 12px;
  background: radial-gradient(circle at 10px 0, #f3ece2 9px, transparent 10px) 0 0 / 20px 12px repeat-x;
  z-index: 3;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; padding: 12px 26px; min-height: 48px;
  font-family: var(--display); font-size: 20px; letter-spacing: .03em; text-decoration: none;
  background: var(--gold); color: #2a1608;
  box-shadow: 0 5px 0 rgba(0, 0, 0, .4);
  transition: transform .12s, box-shadow .12s, filter .12s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0, 0, 0, .4); }
.btn.mak { background: var(--mak); color: #0d0b22; }
.btn.dio { background: var(--dio); color: #2a1608; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn.big { font-size: 26px; padding: 14px 38px; }

/* ---------- sections ---------- */
.band { padding: clamp(46px, 6vw, 90px) max(5vw, 16px); }
.inner { max-width: 1180px; margin: 0 auto; }
.game-band { background: linear-gradient(#3b0810 0, #1a0d1c 140px, var(--bg) 420px); padding-top: clamp(56px, 7vw, 96px); }
.sec-head { max-width: 1120px; margin: 0 auto 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px 30px; flex-wrap: wrap; }
.sec-head .lead { text-align: left; margin: 0; max-width: 520px; }
h2.sec { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; margin: 0 0 .2em; color: var(--gold); text-align: center; }
.sec-head h2.sec { text-align: left; margin: 0; }
.lead { text-align: center; color: var(--muted); max-width: 680px; margin: 0 auto 36px; }
.note { text-align: center; color: var(--muted); }
.small { font-size: 13px; opacity: .85; }

/* ---------- game ---------- */
.game-shell { max-width: 1120px; margin: 0 auto; }
.game-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--muted); font-weight: 700; flex-wrap: wrap; }
.tools { display: flex; gap: 6px; margin-left: auto; }
.mini {
  width: 44px; height: 44px; padding: 0; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  display: grid; place-items: center;
}
.mini:hover { border-color: var(--gold); }
.mini svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mini .slash, .mini .co { display: none; }
.mini.off { color: var(--muted); }
.mini.off .slash { display: inline; }
.full .mini .co { display: inline; }
.full .mini .ex { display: none; }
.rotate-hint { display: none; font-size: 13px; color: var(--gold); }

.game-wrap {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 2px solid rgba(245, 210, 122, .35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 6px rgba(245, 210, 122, .06);
  background: #1c1030;
}
.stage { position: relative; width: 100%; aspect-ratio: 1000 / 520; touch-action: manipulation; overflow: hidden; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#game3d, .hud3d { display: none; }
.r3d #game { display: none; }
.r3d #game3d, .r3d .hud3d { display: block; }

/* 3D kijelzők a vászon felett */
.hud3d { position: absolute; inset: 0; pointer-events: none; overflow: hidden; font-family: var(--text); }
.hb { position: absolute; top: 2.4%; width: 31%; height: clamp(20px, 4.6%, 28px); border-radius: 10px; background: rgba(10, 6, 16, .72); border: 4px solid rgba(10, 6, 16, .72); overflow: hidden; }
.hb.l { left: 1.6%; } .hb.r { right: 1.6%; }
.hb::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .08); }
.hb i { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 6px; transition: width .25s; }
.hb.r i { left: auto; right: 0; }
.hb .nm, .hb b { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-weight: 900; font-size: clamp(10px, 1.3vw, 13px); text-shadow: 0 1px 3px #000, 0 0 6px rgba(0, 0, 0, .8); white-space: nowrap; }
.hb .nm { left: 8px; max-width: 72%; overflow: hidden; text-overflow: ellipsis; }
.hb b { right: 8px; }
.hb.r .nm { left: auto; right: 8px; } .hb.r b { right: auto; left: 8px; }
.hud3d .tm { position: absolute; top: 2%; left: 50%; transform: translateX(-50%); padding: 3px 12px; border-radius: 999px; background: rgba(10, 6, 16, .72); color: var(--gold); font-weight: 900; font-size: clamp(11px, 1.5vw, 15px); }
.h3flash { position: absolute; inset: 0; background: #fff8e6; opacity: 0; }
.floats .fl { position: absolute; left: 0; top: 0; font-family: var(--display); white-space: nowrap; text-shadow: 0 0 4px rgba(0, 0, 0, .9), 2px 2px 0 rgba(0, 0, 0, .75), -1px -1px 0 rgba(0, 0, 0, .75); will-change: transform; }
.banner3d { position: absolute; left: 50%; top: 36%; opacity: 0; text-align: center; white-space: nowrap; }
.banner3d strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 6vw, 64px); line-height: 1; -webkit-text-stroke: 2px rgba(0, 0, 0, .7); text-shadow: 0 4px 0 rgba(0, 0, 0, .6), 0 0 24px rgba(0, 0, 0, .6); }
.banner3d small { display: block; margin-top: 8px; font-weight: 900; font-size: clamp(13px, 2vw, 20px); color: #fff; text-shadow: 0 2px 4px #000; }

/* online lobbi */
.online-box { margin: 16px auto 0; padding: 12px 14px 6px; border-top: 1px solid var(--line); max-width: 460px; }
.ob-title { font-family: var(--display); font-size: 20px; color: var(--gold); letter-spacing: .03em; }
.ob-title small { font-family: var(--text); font-size: 13px; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.online-box .btn { font-size: 17px; padding: 8px 18px; min-height: 42px; }
.spinner { display: flex; gap: 8px; justify-content: center; margin: 4px 0 14px; }
.spinner i { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); animation: bounce 1s ease-in-out infinite; }
.spinner i:nth-child(2) { animation-delay: .15s; background: var(--mak); } .spinner i:nth-child(3) { animation-delay: .3s; background: var(--dio); }
@keyframes bounce { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-10px); opacity: 1; } }
.linkbox { display: flex; gap: 8px; margin: 0 auto 10px; max-width: 520px; }
.linkbox input { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(0, 0, 0, .4); color: var(--ink); font: 700 15px var(--text); }
.linkbox .btn { font-size: 17px; padding: 8px 18px; min-height: 42px; }
.rmnote { margin: 12px 0 0 !important; color: var(--gold); font-weight: 700; min-height: 1.4em; }
[hidden] { display: none !important; }
.omode { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 8px 0 4px; }
.omode button { border: 1px solid var(--line); background: transparent; color: var(--ink); min-height: 38px; padding: 6px 14px; border-radius: 999px; font-weight: 700; }
.omode button.on { background: var(--gold); color: #2a1608; border-color: var(--gold); }

/* fejlesztés-menü a csatatér alján */
.upmenu {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 4;
  width: min(940px, calc(100% - 20px)); padding: 10px 12px 12px; border-radius: 18px;
  background: rgba(16, 9, 24, .9); border: 1px solid rgba(245, 210, 122, .45); backdrop-filter: blur(6px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55); animation: upin .18s ease-out;
}
@keyframes upin { from { opacity: 0; transform: translate(-50%, 14px); } }
.up-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.up-head b { font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--gold); letter-spacing: .03em; }
.up-head small { color: var(--muted); font-size: 13px; flex: 1; }
.up-x { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 22px; line-height: 1; }
.up-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.upb {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center;
  padding: 8px 6px; border-radius: 14px; background: var(--card); color: var(--ink); border: 1px solid var(--line);
  transition: transform .1s, border-color .15s, opacity .15s;
}
.upb:not(:disabled):hover { transform: translateY(-2px); border-color: var(--gold); }
.upb:not(:disabled):active { transform: scale(.97); }
.upb:disabled { opacity: .5; cursor: not-allowed; }
.upb.maxed { opacity: .75; border-color: rgba(157, 240, 176, .5); }
.upb .nm { font-weight: 900; font-size: 14px; line-height: 1.15; }
.upb .pips { color: var(--gold); letter-spacing: 2px; font-size: 12px; }
.upb .ds { font-size: 12px; color: var(--muted); line-height: 1.2; }
.upb .cost { margin-top: auto; font-weight: 900; color: var(--gold); font-size: 13px; }
.upb.maxed .cost { color: #9df0b0; }
.upb kbd { position: absolute; top: 5px; left: 7px; font: 700 11px/1 var(--text); color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 3px 5px; }
.card.upc.ready { border-color: rgba(245, 210, 122, .7); }
@media (max-width: 700px), (max-height: 560px) {
  .upmenu { bottom: 4px; padding: 6px 8px 8px; }
  .up-head { margin-bottom: 4px; } .up-head small { display: none; }
  .up-list { gap: 5px; }
  .upb { padding: 5px 4px; } .upb .ds, .upb kbd { display: none; }
  .upb .nm { font-size: 12px; }
}
@media (pointer: coarse) { .upb kbd { display: none; } }

/* 3D nyitókép feliratai */
.clash-vs, .clash-word, .clash-lbl { position: absolute; pointer-events: none; font-family: var(--display); line-height: 1; white-space: nowrap; }
.clash-vs { left: 50%; transform: translate(-50%, -50%); font-size: clamp(40px, 7vw, 84px); color: var(--gold); -webkit-text-stroke: 3px rgba(20, 6, 8, .9); paint-order: stroke fill; text-shadow: 0 6px 0 rgba(0, 0, 0, .4); }
.clash-word { left: 50%; top: 20%; opacity: 0; font-size: clamp(34px, 6vw, 70px); color: #fff6d8; -webkit-text-stroke: 3px #7a0f1c; paint-order: stroke fill; }
.clash-word.pop { animation: pop .9s ease-out forwards; }
@keyframes pop { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.4) rotate(-8deg); } 15% { opacity: 1; transform: translate(-50%, -50%) scale(1.15) rotate(-5deg); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.35) rotate(-5deg); } }
.clash-lbl { transform: translate(-50%, 0); font-size: clamp(18px, 2.6vw, 30px); -webkit-text-stroke: 2px rgba(20, 6, 8, .85); paint-order: stroke fill; }
.clash-lbl.mak { color: var(--mak); } .clash-lbl.dio { color: var(--dio); }
.overlay {
  position: absolute; inset: 0; z-index: 5; overflow: auto; padding: 12px;
  display: grid; place-items: center;
  background: rgba(10, 6, 16, .72); backdrop-filter: blur(4px);
}
.overlay.hidden, .panel.hidden { display: none; }
.panel { text-align: center; padding: 12px; max-width: 640px; }
.panel h3 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.05; margin: 0 0 14px; color: var(--gold); }
.panel p { margin: 0 0 14px; }
.panel .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.pick { display: flex; gap: 16px; justify-content: center; margin-bottom: 14px; }
.pick-btn {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  width: 150px; padding: 10px; border-radius: 18px;
  background: var(--card); color: var(--ink); border: 2px solid var(--line); font-weight: 900;
  transition: transform .15s, border-color .15s, background .15s;
}
.pick-btn canvas { width: 76px; height: 76px; }
.pick-btn:hover { transform: translateY(-3px); }
.pick-btn.mak.sel { border-color: var(--mak); background: rgba(143, 163, 255, .18); box-shadow: 0 0 30px rgba(143, 163, 255, .3); }
.pick-btn.dio.sel { border-color: var(--dio); background: rgba(240, 169, 90, .18); box-shadow: 0 0 30px rgba(240, 169, 90, .3); }
.diff { display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 16px; color: var(--muted); }
.diff button { border: 1px solid var(--line); background: transparent; color: var(--ink); min-height: 40px; padding: 6px 14px; border-radius: 999px; font-weight: 700; }
.diff button.on { background: var(--gold); color: #2a1608; border-color: var(--gold); }
.keys { color: var(--muted); font-size: 13px; margin: 14px 0 0 !important; }
.endstats { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin: 6px 0 16px; color: var(--muted); font-size: 14px; }
.endstats b { display: block; font-family: var(--display); font-weight: 400; font-size: 30px; color: var(--ink); }

.hud { display: flex; gap: 10px; margin-top: 12px; align-items: stretch; }
.sugar {
  flex: 0 0 190px; display: flex; flex-direction: column; justify-content: center; gap: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px;
}
.sugar-top { display: flex; justify-content: space-between; align-items: center; font-weight: 900; }
.sugar-top b { color: var(--gold); white-space: nowrap; }
.cube { display: inline-block; width: 13px; height: 13px; margin-right: 7px; border-radius: 3px; background: linear-gradient(135deg, #fff, #d9d2c4); box-shadow: 2px 2px 0 #9b9384; vertical-align: -1px; }
.sbar { height: 12px; border-radius: 999px; background: rgba(0, 0, 0, .5); overflow: hidden; }
.sbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #fff4d6, var(--gold)); border-radius: 999px; }
.sugar small { color: var(--muted); font-size: 13px; }
.cards { flex: 1; display: flex; flex-wrap: wrap; gap: 8px; --per: 6; }
.cards > .card { flex: 0 0 calc((100% - (var(--per) - 1) * 8px) / var(--per)); }
.card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 6px 10px; border-radius: 16px; text-align: center;
  background: var(--card); color: var(--ink); border: 1px solid var(--line);
  transition: transform .1s, border-color .15s, opacity .15s;
  user-select: none; -webkit-user-select: none;
}
.card:not(:disabled):hover { transform: translateY(-2px); border-color: var(--gold); }
.card:not(:disabled):active { transform: translateY(2px) scale(.97); }
.card:disabled { opacity: .42; cursor: not-allowed; }
.card canvas { width: 48px; height: 48px; flex: none; }
.card .nm { font-weight: 900; font-size: 14px; line-height: 1.15; }
.card .ds { font-size: 13px; color: var(--muted); line-height: 1.2; }
.card .cost { margin-top: auto; }
.card .cost { font-weight: 900; color: var(--gold); font-size: 13px; white-space: nowrap; }
.card kbd { position: absolute; top: 5px; right: 7px; font: 700 11px/1 var(--text); color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 3px 5px; }
.card .fill { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--gold); }
.card.sp.ready { border-color: var(--gold); box-shadow: 0 0 24px rgba(245, 210, 122, .35); animation: glow 1.2s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 36px rgba(245, 210, 122, .65); } }

.howto { max-width: 1120px; margin: 26px auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.howto div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.howto b { font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--gold); }
.howto p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }

/* full-screen play mode (phones) */
.game-shell.full {
  position: fixed; inset: 0; z-index: 100; max-width: none; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
  padding: max(6px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  background: #0d0814;
}
.full .game-top { margin: 0; }
.full .game-wrap { flex: 1; min-height: 0; display: grid; place-items: center; border: 0; border-radius: 12px; box-shadow: none; background: #0d0814; }
.full .stage { aspect-ratio: auto; border-radius: 10px; }
.full .hud { margin: 0; }

/* ---------- vote ---------- */
.votebar { display: flex; height: 72px; border-radius: 999px; overflow: hidden; border: 2px solid var(--line); background: #000; box-shadow: 0 10px 40px rgba(0, 0, 0, .4); }
.votebar > div { display: flex; align-items: center; padding: 0 24px; font-family: var(--display); font-size: 28px; min-width: 76px; white-space: nowrap; transition: width .6s cubic-bezier(.2, .9, .3, 1.2); }
.vm { background: linear-gradient(90deg, #2c2a6e, var(--mak)); color: #fff; width: 50%; }
.vd { background: linear-gradient(90deg, var(--dio), #6b3d1a); color: #fff; width: 50%; justify-content: flex-end; }
.verdict { text-align: center; font-family: var(--display); font-size: 26px; margin: 22px 0 12px; }
.vote-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.vote-btn { position: relative; }
.plus { position: absolute; left: 50%; top: 0; pointer-events: none; font-family: var(--display); font-size: 24px; color: var(--gold); animation: plus .9s ease-out forwards; }
@keyframes plus { from { transform: translate(-50%, 0); opacity: 1; } to { transform: translate(-50%, -60px); opacity: 0; } }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 40px 0 12px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; text-align: center; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 48px; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 14px; }
.stat.mak b { color: var(--mak); }
.stat.dio b { color: var(--dio); }
.stat.total b { color: var(--gold); }

/* ---------- arguments ---------- */
#ervek { background: linear-gradient(var(--bg), #1a0d1c); }
.args { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.argcol { border-radius: 22px; padding: 26px 28px; border: 1px solid var(--line); }
.argcol.mak { background: linear-gradient(160deg, rgba(143, 163, 255, .18), rgba(26, 23, 53, .6)); }
.argcol.dio { background: linear-gradient(160deg, rgba(240, 169, 90, .18), rgba(61, 34, 14, .6)); }
.argcol h3 { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.1; margin: 0 0 10px; }
.argcol.mak h3 { color: var(--mak); }
.argcol.dio h3 { color: var(--dio); }
.argcol ul { margin: 0; padding: 0; list-style: none; }
.argcol li { padding: 11px 0; border-top: 1px solid var(--line); }
.argcol li:first-child { border-top: 0; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.fact > b { font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--gold); }
.fact p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.fact p b { color: var(--ink); }

footer { text-align: center; padding: 50px max(5vw, 16px) 60px; border-top: 1px solid var(--line); color: var(--muted); background: #1a0d1c; }
.truce { font-size: 18px; color: var(--ink); margin: 0 0 18px; }
footer .small { margin-top: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hud { flex-direction: column; }
  .sugar { flex: none; }
  .card .ds { display: none; }
  .howto { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .cards { --per: 3; }
  .game-shell:not(.full) .game-wrap.menu .stage { display: none; }
  .game-shell:not(.full) .game-wrap.menu .overlay { position: static; background: radial-gradient(ellipse at 50% 0, #3a1830, #140b1a 70%); }
  .args, .facts, .stats, .howto { grid-template-columns: minmax(0, 1fr); }
  .stats { gap: 10px; }
  .votebar { height: 60px; }
  .votebar > div { font-size: 22px; padding: 0 16px; }
  .btn.big { font-size: 22px; padding: 12px 28px; }
  .hero-cta { gap: 10px; }
  .hero-cta .join { font-size: 17px; padding: 10px 18px; }
  .pick-btn { width: 128px; }
}
@media (orientation: portrait) {
  .full .rotate-hint { display: block; }
  .full #hudLabel { display: none; }
}
@media (orientation: landscape) and (max-height: 560px) {
  .full .game-top { margin: 0; }
  .full #hudLabel { font-size: 13px; }
  .full .hud { flex-direction: row; }
  .full .sugar { flex: 0 0 150px; padding: 6px 10px; gap: 3px; }
  .full .sugar small { display: none; }
  .full .cards { --per: 6; gap: 6px; }
  .full .cards > .card { flex-basis: calc((100% - 30px) / 6); }
  .full .card { padding: 4px; border-radius: 12px; }
  .full .card .nm, .full .card .ds { display: none; }
  .full .card canvas { width: 36px; height: 36px; }
  .full .mini { width: 38px; height: 38px; }
  .panel h3 { font-size: 26px; margin-bottom: 8px; }
  .pick { margin-bottom: 8px; }
  .pick-btn { width: 116px; padding: 6px; }
  .pick-btn canvas { width: 48px; height: 48px; }
  .diff { margin-bottom: 8px; }
  .keys { display: none; }
  .panel .btn.big { font-size: 20px; padding: 10px 28px; min-height: 44px; }
}
@media (pointer: coarse) {
  .keys, .card kbd { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .card.sp.ready { animation: none; }
  html { scroll-behavior: auto; }
}
