@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #f6f5fb;
  --surface: #ffffff;
  --surface-2: #f1effa;
  --text: #15122b;
  --text-2: #3d3958;
  --muted: #6b6787;
  --border: #e6e3f2;
  --border-strong: #d3cee8;
  --brand: #5b37f0;
  --brand-2: #8b6cff;
  --brand-soft: #eeeaff;
  --gold: #ffbf1f;
  --gold-2: #f5a300;
  --yes: #16a34a;
  --no: #e11d48;
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(21, 18, 43, .05);
  --shadow: 0 1px 2px rgba(21, 18, 43, .04), 0 6px 20px -8px rgba(21, 18, 43, .12);
  --shadow-lg: 0 2px 4px rgba(21, 18, 43, .04), 0 24px 48px -16px rgba(43, 24, 140, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.025em; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: #4021c9; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: var(--surface-2); padding: .1em .35em; border-radius: 6px; overflow-wrap: anywhere; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid rgba(91, 55, 240, .45); outline-offset: 2px; border-radius: 8px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); font-weight: 800; font-size: 1.3rem; letter-spacing: -.04em; }
.brand:hover { color: var(--text); }
.mark { width: 32px; height: 32px; flex: none; }
.main-nav { display: flex; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a { color: var(--text-2); font-size: .92rem; font-weight: 600; padding: 7px 12px; border-radius: 10px; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current] { background: var(--brand-soft); color: var(--brand); }
@media (max-width: 720px) {
  .header-inner { height: auto; padding: 10px 0; flex-wrap: wrap; gap: 8px; }
  .main-nav { margin-left: 0; width: 100%; margin-bottom: -2px; }
  .main-nav a { padding: 6px 10px; font-size: .88rem; }
}

/* ---------- Buttons & fields ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 650; font-size: .95rem; line-height: 1; cursor: pointer;
  border: 1px solid transparent; border-radius: 12px; padding: 11px 16px; white-space: nowrap;
  transition: transform .08s, background .15s, box-shadow .15s, border-color .15s; color: inherit; background: none;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { padding: 14px 22px; font-size: 1.02rem; border-radius: 14px; }
.btn-primary { background: linear-gradient(180deg, #6a48ff, var(--brand)); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 6px 16px -6px rgba(91, 55, 240, .7); }
.btn-primary:hover { color: #fff; background: linear-gradient(180deg, #5f3cfa, #4c29e0); }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text-2); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn[hidden] { display: none; }
.text-btn { font: inherit; font-size: .85rem; color: var(--muted); background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 4px; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); }
.text-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 650; }
.text-link .icon { width: 16px; height: 16px; }

.controls { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 12px; margin-top: 18px; }
.controls-left { justify-content: flex-start; }
.field { display: inline-flex; flex-direction: column; gap: 5px; font-size: .8rem; font-weight: 650; color: var(--muted); text-align: left; }
.field-block { display: flex; width: 100%; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; font-weight: 550; color: var(--text); background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: 12px; padding: 10px 12px; min-width: 0;
}
.field input[type="number"] { width: 110px; }
.field input[type="text"] { width: 150px; }
.field select { padding-right: 30px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6787' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 9px center; background-size: 16px; }
.field textarea { width: 100%; resize: vertical; line-height: 1.5; font-weight: 500; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(91, 55, 240, .14); }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--text-2); padding: 10px 2px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.error { color: var(--no); font-weight: 600; font-size: .92rem; margin: 10px 0 0; min-height: 0; }
.error:empty { display: none; }
.hint { color: var(--muted); font-size: .88rem; margin: 14px 0 0; }

/* ---------- Tool hero ---------- */
.tool-hero { padding: 26px 0 34px; background: radial-gradient(800px 340px at 50% -80px, rgba(139, 108, 255, .2), transparent 70%); }
.crumbs { display: flex; align-items: center; gap: 4px; font-size: .84rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.crumbs .icon { width: 14px; height: 14px; }
.tool-hero h1 { font-size: clamp(2rem, 5vw, 2.9rem); letter-spacing: -.04em; overflow-wrap: anywhere; }
.lede { color: var(--text-2); font-size: 1.08rem; margin: 10px 0 0; max-width: 62ch; }
.tool {
  margin-top: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 28px;
  padding: 30px 26px; box-shadow: var(--shadow-lg); text-align: center; position: relative;
}
@media (max-width: 560px) { .tool { padding: 22px 16px; border-radius: 22px; } }
.big-result { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin: 14px 0 0; min-height: 1.4em; }
.eyebrow { font-size: .74rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.stats div { background: var(--surface-2); border-radius: 14px; padding: 10px 16px; min-width: 96px; }
.stats dt { font-size: .74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.stats dd { margin: 0; font-size: 1.35rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.history { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 16px 0 6px; padding: 0; min-height: 30px; }
.history li { font-size: .82rem; font-weight: 700; background: var(--surface-2); color: var(--text-2); border-radius: 999px; padding: 4px 10px; font-variant-numeric: tabular-nums; }
.history li:first-child { background: var(--brand-soft); color: var(--brand); }

/* ---------- Coin ---------- */
.coin-stage { perspective: 900px; display: grid; place-items: center; height: 230px; }
.coin {
  position: relative; width: 190px; height: 190px; border: 0; padding: 0; background: none; cursor: pointer;
  transform-style: preserve-3d; transition: transform 1.25s cubic-bezier(.2, .7, .25, 1);
}
.coin.tossing { animation: toss 1.25s cubic-bezier(.25, .8, .35, 1); }
@keyframes toss { 0% { translate: 0 0; } 45% { translate: 0 -70px; } 100% { translate: 0 0; } }
.coin-face {
  position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: radial-gradient(circle at 35% 30%, #fff1b8 0, #ffd24d 30%, #f5a300 72%, #c77f00 100%);
  box-shadow: inset 0 0 0 7px #e09600, inset 0 0 0 9px #ffe08a, inset 0 0 0 14px rgba(199, 127, 0, .35), 0 14px 30px -10px rgba(120, 70, 0, .55);
  color: #7a4b00; font-weight: 900;
}
.coin-face span { font-size: 4.4rem; line-height: 1; text-shadow: 0 2px 0 rgba(255, 255, 255, .45); }
.coin-face small { font-size: .72rem; letter-spacing: .3em; margin-top: 2px; margin-right: -.3em; }
.coin-tails { transform: rotateY(180deg); background: radial-gradient(circle at 35% 30%, #fff6d6 0, #ffdb70 30%, #f0a400 72%, #b87400 100%); }
.multi-coins { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 640px; margin: 14px auto 0; }
.mini-coin { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: .9rem; color: #7a4b00; background: radial-gradient(circle at 35% 30%, #fff1b8, #ffc933 45%, #e39a00); box-shadow: inset 0 0 0 3px #e09600; animation: pop .35s both; }
.mini-coin.t { filter: hue-rotate(-12deg) saturate(.85) brightness(.95); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* ---------- Dice ---------- */
.dice-tray { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; min-height: 120px; align-items: center; }
.die {
  width: 96px; height: 96px; border-radius: 20px; background: linear-gradient(160deg, #fff, #f1effa);
  border: 1px solid var(--border-strong); box-shadow: 0 10px 22px -10px rgba(43, 24, 140, .35), inset 0 -4px 0 rgba(43, 24, 140, .06);
  display: grid; place-items: center; font-size: 2.3rem; font-weight: 850; color: var(--text); position: relative;
}
.die.small { width: 64px; height: 64px; border-radius: 14px; font-size: 1.5rem; }
.die.rolling { animation: wobble .12s infinite alternate; }
@keyframes wobble { from { transform: rotate(-9deg) translateY(-3px); } to { transform: rotate(8deg) translateY(2px); } }
.die .pips { position: absolute; inset: 14%; display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); }
.die .pip { width: 72%; aspect-ratio: 1; margin: auto; border-radius: 50%; background: var(--text); }
.die .tag { position: absolute; bottom: 6px; right: 9px; font-size: .62rem; font-weight: 700; color: var(--muted); }
.die.crit { border-color: var(--yes); color: var(--yes); box-shadow: 0 0 0 4px rgba(22, 163, 74, .15), 0 10px 22px -10px rgba(22, 163, 74, .5); }
.die.fumble { border-color: var(--no); color: var(--no); box-shadow: 0 0 0 4px rgba(225, 29, 72, .12); }
.die.dropped { opacity: .35; }

/* ---------- Numbers & letters ---------- */
.big-number { font-size: clamp(3.5rem, 14vw, 6.5rem); font-weight: 900; letter-spacing: -.05em; line-height: 1.05; color: var(--brand); font-variant-numeric: tabular-nums; min-height: 1.1em; overflow-wrap: anywhere; }
.big-number.pulse { animation: pulse .4s; }
@keyframes pulse { 0% { transform: scale(.85); opacity: .3; } 60% { transform: scale(1.04); } }
.big-letters { letter-spacing: .04em; }
.number-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 4px 0 0; max-height: 320px; overflow: auto; }
.number-list li { background: var(--brand-soft); color: var(--brand); font-weight: 800; border-radius: 12px; padding: 8px 12px; font-variant-numeric: tabular-nums; }
.controls-wrap { gap: 12px 14px; }

/* ---------- Wheel ---------- */
.wheel-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: center; }
@media (max-width: 820px) { .wheel-layout { grid-template-columns: minmax(0, 1fr); } }
.wheel-wrap { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin: 0 auto; }
.wheel-canvas { width: 100%; height: 100%; display: block; border-radius: 50%; box-shadow: 0 18px 40px -18px rgba(43, 24, 140, .45); cursor: pointer; }
.wheel-pointer { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 17px solid transparent; border-right: 17px solid transparent; border-top: 34px solid var(--text); z-index: 2; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .25)); }
.wheel-hub { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 74px; height: 74px; border-radius: 50%; border: 5px solid #fff; background: var(--text); color: #fff; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.wheel-side { text-align: left; }
.winner { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 4px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(6px); border-radius: inherit; z-index: 5; padding: 20px; animation: pop .3s both; }
.winner[hidden] { display: none; }
.winner-name { font-size: clamp(2rem, 7vw, 3.6rem); font-weight: 900; letter-spacing: -.04em; color: var(--brand); margin: 0; overflow-wrap: anywhere; max-width: 100%; }

/* ---------- Picker & teams ---------- */
.picker-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; text-align: left; }
@media (max-width: 760px) { .picker-layout { grid-template-columns: minmax(0, 1fr); } }
.picker-out { text-align: center; }
.big-name { font-size: clamp(2rem, 6vw, 3rem); font-weight: 900; letter-spacing: -.035em; color: var(--brand); background: var(--brand-soft); border-radius: 20px; padding: 26px 16px; min-height: 120px; display: grid; place-items: center; overflow-wrap: anywhere; }
.big-name.spinning { color: var(--muted); }
.pick-list { text-align: left; margin: 14px auto 0; max-width: 360px; font-weight: 700; padding-left: 1.6em; }
.pick-list li { padding: 3px 0; }
.teams-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 22px; text-align: left; }
.team { background: var(--surface-2); border-radius: 16px; padding: 14px 16px; animation: pop .3s both; }
.team h3 { font-size: .95rem; margin-bottom: 8px; display: flex; justify-content: space-between; }
.team h3 span { color: var(--muted); font-weight: 600; font-size: .82rem; }
.team ul { margin: 0; padding-left: 1.1em; }
.team li { font-weight: 600; color: var(--text-2); }

/* ---------- Yes / no ---------- */
.question { max-width: 460px; margin: 0 auto; }
.question input { width: 100%; }
.answer { font-size: clamp(4rem, 18vw, 8rem); font-weight: 950; letter-spacing: -.05em; line-height: 1; margin: 22px 0 6px; color: var(--border-strong); }
.answer[data-state="yes"] { color: var(--yes); }
.answer[data-state="no"] { color: var(--no); }
.answer[data-state="maybe"] { color: var(--gold-2); }
.answer.thinking { animation: blink .18s infinite alternate; }
@keyframes blink { to { opacity: .25; } }

/* ---------- 8 ball ---------- */
.eightball {
  width: min(280px, 72vw); aspect-ratio: 1; border-radius: 50%; border: 0; cursor: pointer; margin: 6px auto 0; display: grid; place-items: center;
  background: radial-gradient(circle at 32% 28%, #5d5d70 0, #24242f 28%, #0b0b10 70%);
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .6), inset -10px -14px 30px rgba(0, 0, 0, .6);
}
.eightball.shaking { animation: shake .7s; }
@keyframes shake { 10%, 50%, 90% { transform: translate(-8px, 4px) rotate(-4deg); } 30%, 70% { transform: translate(8px, -4px) rotate(4deg); } }
.eightball-window { width: 46%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; position: relative; overflow: hidden; box-shadow: inset 0 3px 8px rgba(0, 0, 0, .3); }
.eightball-eight { font-size: 4.2rem; font-weight: 900; color: #0b0b10; }
.eightball.revealed .eightball-window { background: radial-gradient(circle, #1d2b6b, #070b24); }
.eightball.revealed .eightball-eight { display: none; }
.eightball-triangle { display: none; position: absolute; inset: 8%; clip-path: polygon(50% 100%, 0 8%, 100% 8%); background: #2747d6; color: #fff; font-size: .78rem; font-weight: 800; line-height: 1.15; text-transform: uppercase; place-items: start center; padding: 22% 22% 0; text-align: center; }
.eightball.revealed .eightball-triangle { display: grid; animation: rise .8s ease-out both; }
@keyframes rise { from { opacity: 0; transform: scale(.7) translateY(10px); } }

/* ---------- Rock paper scissors ---------- */
.rps-board { display: flex; align-items: center; justify-content: center; gap: 20px; }
.rps-side { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rps-hand { font-size: 5rem; line-height: 1; width: 130px; height: 130px; display: grid; place-items: center; background: var(--surface-2); border-radius: 50%; }
.rps-vs { font-weight: 900; color: var(--muted); }
.rps-moves .btn-move { flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 18px; padding: 12px 20px; min-width: 104px; box-shadow: var(--shadow-sm); }
.rps-moves .btn-move:hover { border-color: var(--brand); background: var(--brand-soft); }
.rps-moves .btn-move span { font-size: 2rem; }
.rps-hand.shake { animation: shake .5s; }
@media (max-width: 440px) { .rps-hand { width: 96px; height: 96px; font-size: 3.4rem; } }

/* ---------- Cards ---------- */
.card-table { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; min-height: 160px; align-items: center; }
.pcard {
  width: 104px; height: 148px; border-radius: 12px; background: #fff; border: 1px solid var(--border-strong);
  box-shadow: 0 12px 24px -12px rgba(21, 18, 43, .45); position: relative; color: #15122b; animation: deal .35s both;
}
.pcard.red { color: #d0103a; }
.pcard .corner { position: absolute; display: flex; flex-direction: column; align-items: center; line-height: 1; font-weight: 800; font-size: 1.05rem; }
.pcard .corner small { font-size: .95rem; }
.pcard .tl { top: 8px; left: 8px; }
.pcard .br { bottom: 8px; right: 8px; transform: rotate(180deg); }
.pcard .center { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3rem; }
.pcard.joker .center { font-size: 1rem; font-weight: 900; letter-spacing: .1em; writing-mode: vertical-rl; }
@keyframes deal { from { opacity: 0; transform: translateY(-30px) rotate(-6deg); } }
@media (max-width: 480px) { .pcard { width: 78px; height: 112px; } .pcard .center { font-size: 2.2rem; } }

/* ---------- Colors ---------- */
.swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .swatches { grid-template-columns: minmax(0, 1fr); } }
.swatch { border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; }
.swatch-color { height: 170px; position: relative; transition: background .25s; }
@media (max-width: 640px) { .swatch { flex-direction: row; } .swatch-color { height: 64px; flex: 1; } }
.swatch-lock { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .85); cursor: pointer; display: grid; place-items: center; color: var(--text-2); }
.swatch-lock[aria-pressed="true"] { background: var(--text); color: #fff; }
.swatch-lock .icon { width: 18px; height: 18px; }
.swatch-code { font: 700 .9rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: none; border: 0; padding: 12px 8px; cursor: pointer; color: var(--text); }
@media (max-width: 640px) { .swatch-code { width: 46%; } }
.swatch-code:hover { background: var(--surface-2); }

/* ---------- Password ---------- */
.pw-out { display: flex; gap: 10px; align-items: center; max-width: 720px; margin: 0 auto; }
.pw { flex: 1; min-width: 0; font: 650 clamp(1rem, 3vw, 1.35rem) ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--surface-2); border-radius: 14px; padding: 14px 16px; text-align: left; overflow-wrap: anywhere; letter-spacing: .02em; }
.pw-strength { max-width: 720px; height: 8px; border-radius: 4px; background: var(--surface-2); margin: 14px auto 6px; overflow: hidden; }
.pw-strength span { display: block; height: 100%; width: 0; border-radius: 4px; transition: width .3s, background .3s; }
.pw-meta { font-size: .9rem; color: var(--muted); font-weight: 600; margin: 0; }
.field-range { flex-direction: row; align-items: center; gap: 10px; font-size: .92rem; color: var(--text-2); }
.field-range input { width: 180px; accent-color: var(--brand); }
.field-range b { min-width: 2ch; font-size: 1.1rem; color: var(--text); }
@media (max-width: 480px) { .pw-out { flex-wrap: wrap; } .pw { flex-basis: 100%; } }

/* ---------- Lottery ---------- */
.lotto-lines { display: grid; gap: 12px; justify-items: center; min-height: 64px; }
.lotto-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lball { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 850; font-size: 1.05rem; background: radial-gradient(circle at 35% 30%, #fff, #e9e5fb 60%, #cfc8f0); color: var(--text); box-shadow: 0 6px 14px -6px rgba(43, 24, 140, .4); animation: pop .3s both; }
.lball.extra { background: radial-gradient(circle at 35% 30%, #fff3c4, #ffc933 55%, #e39a00); color: #6b4100; }
.lotto-sep { width: 1px; background: var(--border-strong); margin: 4px 4px; }
.custom-game { display: contents; }
.custom-game[hidden] { display: none; }

/* ---------- Content ---------- */
.content { padding: 34px 0 10px; }
.prose { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow); margin-bottom: 22px; max-width: 820px; }
@media (max-width: 560px) { .prose { padding: 22px 18px; } }
.prose h2 { font-size: 1.3rem; margin: 26px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-2); line-height: 1.7; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.prose.narrow { margin: 10px 0 40px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding-left: 42px; min-height: 28px; margin: 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.table { width: 100%; border-collapse: collapse; margin: 6px 0 16px; font-size: .95rem; }
.table th, .table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--border); }
.table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.faq details { border-top: 1px solid var(--border); }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; font-weight: 700; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 14px; }
.more { margin: 10px 0 30px; }
.more h2, .home-group h2 { font-size: 1.3rem; margin-bottom: 14px; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-bottom: 14px; }
.tool-card { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 14px 16px; color: var(--text); box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s, border-color .15s; }
.tool-card:hover { color: var(--text); transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.tool-card > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.tool-card b { font-size: .98rem; }
.tool-card > span:last-child span { color: var(--muted); font-size: .84rem; }
.tool-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.tool-icon .icon { width: 24px; height: 24px; }
.ad { margin: 0 0 22px; min-height: 90px; max-width: 820px; }

/* ---------- Home ---------- */
.home-hero { padding: 56px 0 46px; background: radial-gradient(900px 420px at 80% -10%, rgba(255, 191, 31, .25), transparent 60%), radial-gradient(900px 480px at 0% 0%, rgba(139, 108, 255, .28), transparent 60%); }
.home-hero-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 30px; align-items: center; }
.home-hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); letter-spacing: -.055em; line-height: 1; }
.kicker { display: inline-block; font-size: .82rem; font-weight: 750; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 5px 12px; margin-bottom: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-coin { justify-self: center; display: block; width: min(240px, 60vw); animation: float 4s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(43, 24, 140, .35)); }
.hero-coin .mark { width: 100%; height: auto; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-4deg); } }
@media (max-width: 760px) { .home-hero-inner { grid-template-columns: minmax(0, 1fr); } .hero-coin { display: none; } }
.home-group { margin-bottom: 22px; }
.home-about { margin-top: 20px; }
.page-head { padding: 40px 0 8px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: -.04em; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; background: #15122b; color: #b6b1d1; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 28px; padding: 46px 0 28px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { font-size: .9rem; margin-top: 12px; max-width: 30ch; }
.site-footer h3 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px; }
.site-footer nav { display: flex; flex-direction: column; gap: 6px; }
.site-footer nav a, .footer-legal a { color: #b6b1d1; font-size: .88rem; }
.site-footer nav a:hover, .footer-legal a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0 26px; }
.footer-legal p { margin: 0; font-size: .84rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--text); color: #fff; font-weight: 650; font-size: .92rem; padding: 10px 16px; border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 50; animation: pop .2s both; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
[hidden] { display: none !important; }
.eightball-triangle.long { font-size: .64rem; padding-top: 20%; }

/* =====================================================================
   flipj 2: rooms, giveaways, stream wheel, party pack
   ===================================================================== */
.btn-xl { padding: 18px 34px; font-size: 1.2rem; border-radius: 16px; min-width: 220px; }
.btn-sm { padding: 8px 12px; font-size: .86rem; border-radius: 10px; }
.btn .icon { width: 18px; height: 18px; }
.small { font-size: .84rem; }
.grad { background: linear-gradient(90deg, var(--brand), #c026d3 55%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker .icon { width: 15px; height: 15px; vertical-align: -3px; margin-right: 4px; }

/* Feature heroes */
.feature-hero { padding: 26px 0 36px; background: radial-gradient(900px 380px at 85% -60px, rgba(255, 191, 31, .2), transparent 65%), radial-gradient(900px 420px at 0% -40px, rgba(139, 108, 255, .25), transparent 65%); }
.feature-hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.3rem); letter-spacing: -.045em; line-height: 1.05; max-width: 20ch; overflow-wrap: anywhere; }
.feature-hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 34px; align-items: center; }
@media (max-width: 900px) { .feature-hero-inner { grid-template-columns: minmax(0, 1fr); } }

/* Three-phone demo */
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 14px; }
.phone { width: 150px; background: #15122b; border-radius: 28px; padding: 26px 10px 16px; box-shadow: 0 30px 50px -24px rgba(43, 24, 140, .55); position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.phone::before { content: ""; position: absolute; top: 9px; left: 50%; width: 42px; height: 6px; margin-left: -21px; border-radius: 3px; background: #2c2850; }
.phone-1 { transform: translateY(-18px) scale(1.06); z-index: 2; }
.phone-name { color: #b6b1d1; font-size: .74rem; font-weight: 700; }
.phone-result { color: #fff; font-weight: 800; font-size: .92rem; min-height: 1.3em; }
.wheel-wrap.mini { width: 124px; }
.wheel-wrap.mini .wheel-pointer { border-left-width: 7px; border-right-width: 7px; border-top-width: 14px; top: -3px; border-top-color: #fff; }
@media (max-width: 520px) { .phone { width: 31%; padding: 20px 6px 12px; border-radius: 20px; } .wheel-wrap.mini { width: 100%; } .phone-1 { transform: translateY(-10px); } }

/* Mode pills */
.mode-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.mode-tab input { position: absolute; opacity: 0; pointer-events: none; }
.mode-tab span, .mode-tab-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); font: inherit; font-weight: 650; font-size: .92rem; color: var(--text-2); cursor: pointer; }
.mode-tab span .icon, .mode-tab-btn .icon { width: 17px; height: 17px; }
.mode-tab input:checked + span, .mode-tab-btn[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.mode-tab input:focus-visible + span { outline: 3px solid rgba(91, 55, 240, .45); outline-offset: 2px; }
.room-create { text-align: left; margin-top: 22px; display: grid; gap: 14px; justify-items: start; }
.room-create .field-block { width: 100%; }

/* Live room */
.room-wrap { padding: 22px 0 10px; }
.room-top { display: flex; align-items: center; gap: 12px; }
.room-title { flex: 1; min-width: 0; font: inherit; font-size: clamp(1.4rem, 4vw, 2.1rem); font-weight: 850; letter-spacing: -.03em; border: 1px solid transparent; border-radius: 12px; background: transparent; padding: 4px 8px; margin-left: -8px; color: var(--text); }
.room-title:hover, .room-title:focus { border-color: var(--border-strong); background: var(--surface); outline: none; }
.room-status { font-size: .8rem; font-weight: 750; border-radius: 999px; padding: 4px 10px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.room-status[data-state="live"] { background: #dcfce7; color: #15803d; }
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 18px; }
.share-url { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px dashed var(--border-strong); border-radius: 10px; padding: 7px 12px; font-size: .9rem; color: var(--text-2); min-width: 0; overflow-wrap: anywhere; }
.share-url .icon { width: 16px; height: 16px; }
.room-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
@media (max-width: 900px) { .room-grid { grid-template-columns: minmax(0, 1fr); } }
.room-stage { background: var(--surface); border: 1px solid var(--border); border-radius: 26px; padding: 24px; box-shadow: var(--shadow-lg); text-align: center; display: grid; gap: 16px; justify-items: center; }
.room-stage > .stage-wheel, .room-stage > .stage-coin, .room-stage > .stage-dice, .room-stage > .stage-person, .room-stage > .stage-vote { display: none; width: 100%; }
.room[data-mode="wheel"] .stage-wheel, .room[data-mode="coin"] .stage-coin, .room[data-mode="dice"] .stage-dice, .room[data-mode="person"] .stage-person, .room[data-mode="vote"] .stage-vote { display: block; }
.room-stage .wheel-wrap { width: min(100%, 440px); }
.stage-dice .field { margin: 12px auto 0; }
.stage-vote p { color: var(--text-2); max-width: 46ch; margin: 0 auto; }
.big-name.cycling { color: var(--muted); }
.room-result { min-height: 64px; display: grid; place-items: center; align-content: center; gap: 2px; }
.room-result strong { font-size: clamp(1.6rem, 6vw, 2.6rem); letter-spacing: -.035em; color: var(--brand); line-height: 1.1; overflow-wrap: anywhere; }
.room-result small { color: var(--muted); }
.room-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow-sm); margin-top: 16px; }
.room-side .room-panel:first-child { margin-top: 0; }
.room-panel h2 { font-size: 1rem; margin-bottom: 10px; display: flex; gap: 8px; align-items: baseline; }
.room-panel h2 .muted { font-size: .82rem; font-weight: 600; }
.add-form { display: flex; gap: 8px; margin-bottom: 10px; }
.add-form input { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 12px; }
.add-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(91, 55, 240, .14); }
.opt-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; }
.opt-list li { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border-radius: 12px; padding: 6px 6px 6px 12px; min-height: 42px; }
.opt-list li.muted { background: none; padding-left: 0; }
.opt-text { flex: 1; min-width: 0; font-weight: 650; overflow-wrap: anywhere; }
.opt-list small { color: var(--muted); font-size: .76rem; }
.opt-list .x { border: 0; background: none; font-size: 1.3rem; color: var(--muted); cursor: pointer; padding: 2px 8px; border-radius: 8px; }
.opt-list .x:hover { background: var(--surface); color: var(--no); }
.vote-btn { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; font: inherit; font-weight: 650; text-align: left; border: 1px solid var(--border-strong); background: var(--surface); border-radius: 10px; padding: 8px 12px; cursor: pointer; overflow: hidden; color: var(--text); }
.vote-btn[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(91, 55, 240, .25); }
.vote-bar { position: absolute; inset: 0 auto 0 0; background: var(--brand-soft); transition: width .3s; }
.vote-text, .vote-btn b { position: relative; }
.vote-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.vote-btn b { color: var(--brand); }
.people { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.people li { display: inline-flex; align-items: center; gap: 6px; background: var(--surface-2); border-radius: 999px; padding: 3px 10px 3px 3px; font-weight: 650; font-size: .88rem; }
.people li.me { outline: 2px solid var(--brand-soft); }
.people small { color: var(--muted); font-weight: 600; }
.avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .78rem; background: hsl(var(--h) 65% 52%); }
.history-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.history-list li { display: flex; flex-direction: column; border-bottom: 1px solid var(--border); padding-bottom: 6px; }
.history-list li:last-child { border-bottom: 0; }
.history-list span { color: var(--muted); font-size: .8rem; }
.dialog { border: 0; border-radius: 22px; padding: 26px; box-shadow: var(--shadow-lg); max-width: min(92vw, 420px); width: 100%; }
.dialog::backdrop { background: rgba(21, 18, 43, .55); backdrop-filter: blur(3px); }
.dialog form { display: grid; gap: 12px; }
.dialog input { font: inherit; font-size: 1.1rem; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 12px; }
.dialog h2 { font-size: 1.4rem; }
.qr-dialog { text-align: center; max-width: min(94vw, 460px); }
.qr-box { display: grid; place-items: center; margin: 14px auto; min-height: 120px; }
.qr-box img, .qr-box canvas { width: min(70vw, 320px) !important; height: auto !important; border: 12px solid #fff; border-radius: 12px; }

/* Giveaways */
.trust-row { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 20px 0 0; }
@media (max-width: 720px) { .trust-row { grid-template-columns: minmax(0, 1fr); } }
.trust-row li { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; }
.trust-row .icon { grid-row: span 2; width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }
.trust-row span { color: var(--muted); font-size: .86rem; }
.giveaway-form { text-align: left; display: grid; gap: 14px; justify-items: start; }
.giveaway-form .field-block { width: 100%; }
.certificate { background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 30px; box-shadow: var(--shadow-lg); max-width: 900px; margin: 0 auto; position: relative; overflow: hidden; }
.certificate::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--brand), #c026d3, var(--gold-2)); }
@media (max-width: 560px) { .certificate { padding: 22px 16px; border-radius: 20px; } }
.cert-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 800; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 5px 12px; margin: 0 0 12px; }
.cert-badge .icon { width: 16px; height: 16px; }
.certificate h1 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); letter-spacing: -.04em; overflow-wrap: anywhere; }
.cert-result { text-align: center; padding: 26px 10px 18px; }
.countdown { font-size: clamp(3rem, 12vw, 5.4rem); font-weight: 900; letter-spacing: -.05em; color: var(--brand); margin: 4px 0; font-variant-numeric: tabular-nums; }
.winners { list-style: none; counter-reset: w; padding: 0; margin: 8px auto 18px; display: grid; gap: 8px; max-width: 520px; }
.winners li { counter-increment: w; display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, #fff7d6, #ffe7a3); border-radius: 16px; padding: 14px 18px; text-align: left; }
.winners li::before { content: counter(w); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #6b4100; font-weight: 900; flex: none; }
.winners span { flex: 1; min-width: 0; font-size: 1.3rem; font-weight: 850; overflow-wrap: anywhere; }
.winners small { color: #8a6a1a; font-weight: 600; }
.winners.reserves li { background: var(--surface-2); }
.winners.reserves li::before { background: var(--border-strong); color: var(--text-2); }
.winners.reserves span { font-size: 1.05rem; }
.cert-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 6px 0 18px; }
.cert-facts div { background: var(--surface-2); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.cert-facts .wide { grid-column: 1 / -1; }
.cert-facts dt { font-size: .74rem; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.cert-facts dd { margin: 2px 0 0; font-weight: 650; overflow-wrap: anywhere; }
.cert-facts code { background: none; padding: 0; font-size: .82rem; }
@media (max-width: 560px) { .cert-facts { grid-template-columns: minmax(0, 1fr); } }
.cert-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.verify-out { margin: 14px 0 0; color: var(--text-2); }
.verify-out .ok { color: var(--yes); }
.verify-out .bad { color: var(--no); }
.entrant-list { columns: 3 180px; column-gap: 24px; max-height: 420px; overflow: auto; padding-left: 1.8em; margin-bottom: 12px; font-size: .92rem; }
.entrant-list li { break-inside: avoid; overflow-wrap: anywhere; }

/* Stream wheel builder */
.stream-tool { text-align: left; }
.stream-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; align-items: start; }
@media (max-width: 900px) { .stream-grid { grid-template-columns: minmax(0, 1fr); } }
.stream-form { display: grid; gap: 12px; }
.stream-form .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.stream-form .row .field input, .stream-form .row .field select { width: 100%; }
.fs { border: 1px solid var(--border); border-radius: 16px; padding: 12px 14px 14px; margin: 0; display: grid; gap: 10px; }
.fs legend { font-weight: 750; padding: 0 6px; }
.fs .hint { margin: 0; }
.stream-preview { display: grid; gap: 12px; }
.preview-frame { aspect-ratio: 1; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: repeating-conic-gradient(#e9e6f5 0 25%, #f7f6fc 0 50%) 0 0 / 22px 22px; }
.preview-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
#ov-url { width: 100%; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8rem; }

/* Overlay page (OBS browser source) */
body.bare { background: transparent; margin: 0; overflow: hidden; }
html[data-bg="transparent"], html[data-bg="transparent"] body { background: transparent; }
html[data-bg="dark"] body { background: #0f0c22; }
html[data-bg="checker"] body { background: repeating-conic-gradient(#e9e6f5 0 25%, #f7f6fc 0 50%) 0 0 / 22px 22px; }
.overlay { position: fixed; inset: 0; display: grid; place-items: center; cursor: pointer; }
.ov-wheel-wrap { position: relative; width: min(94vw, 94vh); aspect-ratio: 1; }
.ov-wheel-wrap .wheel-canvas { width: 100%; height: 100%; box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .6); }
.ov-wheel-wrap .wheel-pointer { border-left-width: 4vmin; border-right-width: 4vmin; border-top-width: 8vmin; top: -1vmin; border-top-color: #fff; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .5)); }
.ov-banner { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(21, 18, 43, .92); color: #fff; border-radius: 3vmin; padding: 3vmin 5vmin; text-align: center; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); max-width: 86vw; }
.ov-banner small { display: block; font-size: 3vmin; font-weight: 700; color: #ffd24d; text-transform: uppercase; letter-spacing: .08em; }
.ov-banner b { display: block; font-size: 8vmin; line-height: 1.1; letter-spacing: -.03em; overflow-wrap: anywhere; }
.ov-hint { position: fixed; bottom: 2vmin; left: 50%; transform: translateX(-50%); margin: 0; background: rgba(21, 18, 43, .85); color: #fff; font-weight: 800; font-size: 3.4vmin; padding: 1vmin 3vmin; border-radius: 999px; white-space: nowrap; }
.ov-status { position: fixed; top: 1vmin; left: 1vmin; margin: 0; font-size: 2.4vmin; color: #fff; text-shadow: 0 1px 3px #000; }

/* Party pack */
.party-stage { display: grid; gap: 18px; justify-items: center; }
.party-stage .controls { margin-top: 0; }
.bill-names { max-width: 520px; margin: 0 auto; text-align: left; }
.party-card { width: min(100%, 760px); min-height: 260px; border-radius: 26px; padding: 34px 26px; display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; background: linear-gradient(135deg, #6a48ff, #4a26d8 60%, #2c1490); color: #fff; box-shadow: 0 30px 60px -28px rgba(43, 24, 140, .7); }
.party-card.in { animation: deal .35s both; }
.party-card small { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #ffd24d; font-size: .84rem; }
.party-card p { margin: 0; font-size: clamp(1.4rem, 4.4vw, 2.3rem); font-weight: 850; letter-spacing: -.02em; line-height: 1.2; max-width: 28ch; }
.party-card .hint, .party-card .muted { color: rgba(255, 255, 255, .75); }
.party-card.truth { background: linear-gradient(135deg, #06b6d4, #0e7490); }
.party-card.dare { background: linear-gradient(135deg, #f43f5e, #9f1239); }
.btn-truth { background: #0891b2; color: #fff; }
.btn-dare { background: #e11d48; color: #fff; }
.btn-truth:hover, .btn-dare:hover { color: #fff; filter: brightness(1.08); }
.wyr { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: stretch; width: 100%; }
.wyr span { align-self: center; font-weight: 900; color: #ffd24d; }
.wyr-opt { font: inherit; font-size: clamp(1.05rem, 3vw, 1.4rem); font-weight: 800; color: #fff; background: rgba(255, 255, 255, .12); border: 2px solid rgba(255, 255, 255, .25); border-radius: 18px; padding: 22px 14px; cursor: pointer; }
.wyr-opt.picked { background: #fff; color: var(--brand); border-color: #fff; }
@media (max-width: 560px) { .wyr { grid-template-columns: minmax(0, 1fr); } }
.bill-chips { list-style: none; padding: 0; margin: 6px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bill-chips li { background: rgba(255, 255, 255, .14); border-radius: 999px; padding: 8px 16px; font-weight: 800; font-size: 1.05rem; transition: opacity .3s, transform .2s, background .15s; }
.bill-chips li.hot { background: #ffd24d; color: #15122b; transform: scale(1.08); }
.bill-chips li.out { opacity: .3; text-decoration: line-through; }
.bill-chips li.loser { background: #ffd24d; color: #15122b; transform: scale(1.25); }
.party-card .bill-msg { font-size: 1.3rem; }
.bill-msg b { font-size: clamp(2rem, 7vw, 3.4rem); color: #ffd24d; }
.party-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.party-foot .hint { margin: 0; }
.party-stage.is-full, .party-stage.pseudo-full { position: fixed; inset: 0; z-index: 100; background: #15122b; border-radius: 0; margin: 0; align-content: center; padding: 4vmin; }
.party-stage.is-full .party-card, .party-stage.pseudo-full .party-card { width: 100%; max-width: none; min-height: 70vh; }
.party-stage.is-full .party-card p, .party-stage.pseudo-full .party-card p { font-size: clamp(2rem, 6vmin, 4.4rem); max-width: 22ch; }
.party-stage.is-full .party-foot .hint, .party-stage.pseudo-full .party-foot .hint { color: #b6b1d1; }
.big-grid .tool-card { padding: 20px; }

/* Home */
.world { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 22px 0 0; font-size: .92rem; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; }
.world b { color: var(--text); font-variant-numeric: tabular-nums; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); animation: blink 1.2s infinite alternate; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 6px 0 34px; }
@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: minmax(0, 1fr); } }
.feature-card { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 20px; color: var(--text); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.feature-card:hover { color: var(--text); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; margin-bottom: 6px; }
.feature-icon .icon { width: 25px; height: 25px; }
.feature-card b { font-size: 1.12rem; letter-spacing: -.02em; }
.feature-text { color: var(--text-2); font-size: .92rem; line-height: 1.5; }
.feature-cta { margin-top: auto; padding-top: 6px; color: var(--brand); font-weight: 750; display: inline-flex; align-items: center; gap: 4px; }
.feature-cta .icon { width: 16px; height: 16px; }
.tools-section .section-head { margin-bottom: 14px; }
.tools-section .section-head h2 { font-size: 1.5rem; }
.tools-section .section-head p { margin: 4px 0 0; }
.tools-section h3 { font-size: 1rem; color: var(--text-2); margin-bottom: 10px; }
.home-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 1040px) { .home-hero-inner { grid-template-columns: minmax(0, 1fr); } .home-hero .phones { margin-top: 26px; } }
.home-hero .phones { min-width: 0; }
