/* onlinetambolahousie.com – one design system for every page (generated by scripts/site/build.py).
   Brand = the app: plum night, coral-red ball, ticket yellow. Display: Baloo 2 · Text: Inter.
   Phone first: 16px+ text, nothing wider than the screen. */
:root {
  --night: #1c1428; --night-2: #261b36; --night-3: #33254a; --plum-ink: #271120;
  --coral: #dc5f5d; --coral-2: #c84a48; --coral-3: #a93937; --coral-soft: #fbe6e3;
  --sun: #f8cc53; --sun-2: #e9b52f; --sun-soft: #f7db98; --cream: #fff8ec; --paper: #fffdf8;
  --ink: #2a1d2f; --muted: #6e6272; --line: #efe4d4; --line-dark: rgba(255,255,255,.12);
  --accent: var(--coral); --accent-2: var(--sun);
  --r: 18px; --r-sm: 12px;
  --shadow: 0 1px 2px rgba(39,17,32,.06), 0 8px 24px rgba(39,17,32,.08);
  --shadow-lg: 0 24px 60px rgba(20,10,30,.35);
  --display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --text: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
/* event accents – same layout, a different festive glow */
.t-diwali { --accent: #ff8a1f; --accent-2: #ffd36b; }
.t-christmas { --accent: #2fa36b; --accent-2: #ff6b6b; }
.t-newyear { --accent: #c9a2ff; --accent-2: #ffd36b; }
.t-birthday { --accent: #ff6fae; --accent-2: #7fd8ff; }
.t-kitty { --accent: #ff5fa2; --accent-2: #f8cc53; }
.t-corporate { --accent: #4cc3b5; --accent-2: #f8cc53; }
.t-business { --accent: #7b8cff; --accent-2: #f8cc53; }
.t-friends { --accent: #dc5f5d; --accent-2: #7fd8ff; }

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body.site { margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--paper); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.site img { max-width: 100%; }
.site h1, .site h2, .site h3, .site h4 { font-family: var(--display); color: inherit; line-height: 1.12; letter-spacing: -.01em; margin: 0; }
.site h1 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 800; }
.site h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.site h3 { font-size: 22px; font-weight: 700; }
.site p { margin: 0 0 14px; }
.site a { color: var(--coral-3); text-underline-offset: 3px; }
.site a:hover { color: var(--coral-2); }
.site b, .site strong { font-weight: 700; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 2000; border-radius: 8px; }
.skip:focus { left: 8px; }
.kicker { display: inline-block; font: 700 13px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--coral-2); margin-bottom: 12px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn, .btn-play, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 16px/1 var(--text); padding: 14px 22px; border-radius: 999px; border: 0; text-decoration: none !important; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s; white-space: nowrap; }
.btn .i { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.btn-primary, .btn-play { background: linear-gradient(180deg, #e86e6b 0%, var(--coral) 55%, var(--coral-2) 100%); color: #fff !important; box-shadow: 0 4px 0 var(--coral-3), 0 10px 22px rgba(220,95,93,.35); }
.btn-primary:hover, .btn-play:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--coral-3), 0 14px 28px rgba(220,95,93,.42); color: #fff !important; }
.btn-primary:active, .btn-play:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--coral-3), 0 4px 10px rgba(220,95,93,.3); }
.btn-sun { background: linear-gradient(180deg, #ffdb72, var(--sun) 60%, var(--sun-2)); color: var(--plum-ink) !important; box-shadow: 0 4px 0 #b98912, 0 10px 22px rgba(248,204,83,.3); }
.btn-sun:hover { transform: translateY(-1px); color: var(--plum-ink) !important; }
.btn-sun:active { transform: translateY(3px); box-shadow: 0 1px 0 #b98912; }
.btn-ghost { background: #fff; color: var(--plum-ink) !important; box-shadow: inset 0 0 0 2px var(--line), 0 2px 0 var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--coral), 0 2px 0 var(--coral-soft); }
.btn-ghost[aria-pressed="true"] { background: var(--coral-soft); box-shadow: inset 0 0 0 2px var(--coral); }
.btn-lg { font-size: 18px; padding: 17px 28px; }
.btn-sm { font-size: 15px; padding: 10px 18px; box-shadow: 0 3px 0 var(--coral-3); }
.btn-wa { background: #1faa59; color: #fff !important; box-shadow: 0 4px 0 #13813f; }
.btn-wa:hover { color: #fff !important; transform: translateY(-1px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin: 26px 0 0; }
.cta-row .hint { font-size: 14px; color: rgba(255,255,255,.7); }

/* store badges (drawn, so they're crisp and match the theme) */
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 12px; background: #0d0a12; color: #fff !important; text-decoration: none !important; border: 1px solid rgba(255,255,255,.18); min-height: 50px; transition: transform .15s; }
.store:hover { transform: translateY(-1px); color: #fff !important; }
.store svg { width: 24px; height: 24px; flex: none; }
.store span { display: flex; flex-direction: column; font: 600 17px/1.1 var(--text); }
.store small { font-size: 10px; font-weight: 500; letter-spacing: .04em; opacity: .85; }

.stars { color: #ffb400; letter-spacing: 2px; font-size: 15px; }
.stars .off { color: rgba(0,0,0,.15); }
.rating-line { font-size: 15px !important; margin: 16px 0 0 !important; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.rating-line b { color: var(--ink); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 900; background: rgba(28,20,40,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line-dark); }
.nav-in { display: flex; align-items: center; gap: 14px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none !important; font: 700 22px/1 var(--display); white-space: nowrap; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 2px 10px rgba(0,0,0,.35); }
.brand b { color: var(--sun); font-weight: 800; }
.menu { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.menu .nl, .dd-btn { color: rgba(255,255,255,.86) !important; font: 600 15px/1 var(--text); padding: 11px 13px; border-radius: 10px; text-decoration: none !important; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.menu .nl:hover, .dd-btn:hover, .dd:focus-within .dd-btn, .menu .nl[aria-current] { background: rgba(255,255,255,.08); color: #fff !important; }
.dd { position: relative; }
.dd-btn svg { width: 16px; height: 16px; opacity: .7; transition: transform .2s; }
.dd-panel { position: absolute; top: calc(100% + 8px); left: -12px; min-width: 330px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease; }
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.dd:hover .dd-panel, .dd:focus-within .dd-panel, .dd.open .dd-panel { opacity: 1; visibility: visible; transform: none; }
.dd:hover .dd-btn svg, .dd.open .dd-btn svg { transform: rotate(180deg); }
.dd-panel a { display: flex; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 12px; color: var(--ink) !important; text-decoration: none !important; }
.dd-panel a:hover { background: var(--cream); }
.dd-panel b { display: block; font-size: 15px; line-height: 1.25; }
.dd-panel small { display: block; font-size: 13px; color: var(--muted); line-height: 1.3; }
.mi { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral-2); }
.mi .i { width: 20px; height: 20px; }
.nav-cta { margin-left: 6px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.08); border-radius: 12px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }
.nav.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1000px) {
  .burger { display: inline-flex; }
  .nav-cta { margin-left: auto; }
  .menu { position: fixed; inset: 68px 0 auto 0; max-height: calc(100vh - 68px); overflow-y: auto; background: var(--night); flex-direction: column; align-items: stretch; padding: 8px 16px 24px; gap: 0; border-top: 1px solid var(--line-dark); display: none; margin: 0; }
  .nav.open .menu { display: flex; }
  .dd-btn { width: 100%; justify-content: space-between; font-size: 17px; padding: 14px 8px; }
  .menu .nl { font-size: 17px; padding: 14px 8px; border-top: 1px solid var(--line-dark); }
  .dd { border-top: 1px solid var(--line-dark); }
  .dd:first-child { border-top: 0; }
  .dd-panel { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; background: transparent; box-shadow: none; padding: 0 0 10px; display: none; }
  .dd.open .dd-panel { display: grid; }
  .dd:hover .dd-btn svg { transform: none; }
  .dd.open .dd-btn svg { transform: rotate(180deg); }
  .dd-panel a { color: #fff !important; }
  .dd-panel a:hover { background: rgba(255,255,255,.06); }
  .dd-panel small { color: rgba(255,255,255,.6); }
  .mi { background: rgba(255,255,255,.08); color: var(--sun); }
}
@media (max-width: 420px) { .brand { font-size: 19px; } .brand img { width: 34px; height: 34px; } .nav-cta { padding: 9px 14px; } }

/* ---------- dark hero surfaces (home hero, page heroes) ---------- */
.hero, .phero { position: relative; color: #fff; background: var(--night); overflow: hidden; isolation: isolate; }
.hero::before, .phero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 420px at 85% 10%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 70%),
              radial-gradient(600px 400px at 0% 100%, rgba(248,204,83,.16), transparent 70%),
              linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); }
.hero::after, .phero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07;
  background-image: linear-gradient(rgba(255,255,255,.9) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.9) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero h1 b, .phero h1 b { color: var(--sun); font-weight: 800; }
.hero .kicker, .phero .kicker { color: var(--sun); }
.hero .rating-line, .phero .rating-line { color: rgba(255,255,255,.72); }
.hero .rating-line b, .phero .rating-line b { color: #fff; }

.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(40px, 4.5vw, 60px); }
.hero .sub { font-size: 20px; color: rgba(255,255,255,.8); max-width: 34ch; margin: 18px 0 0; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 48px; gap: 28px; } .hero .sub { font-size: 18px; } }

/* page hero */
.phero .wrap { padding-top: 34px; padding-bottom: 52px; }
.phero h1 { font-size: clamp(32px, 4.6vw, 52px); max-width: 22ch; }
.phero .lead { font-size: 19px; color: rgba(255,255,255,.82); max-width: 62ch; margin: 16px 0 0; }
.phero .lead a { color: var(--sun); }
.bc { font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.bc a { color: rgba(255,255,255,.75) !important; text-decoration: none; }
.bc a:hover { color: #fff !important; }
.ev-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.phero-ev .wrap { padding-bottom: 64px; }
@media (max-width: 920px) { .ev-grid { grid-template-columns: 1fr; gap: 32px; } .phero .lead { font-size: 17px; } }

/* event hero art */
.ev-art { position: relative; justify-self: center; width: min(420px, 100%); padding: 30px 0 0 24px; }
.ev-emoji { position: absolute; left: -6px; top: -4px; z-index: 2; width: 92px; height: 92px; border-radius: 28px; display: grid; place-items: center; font-size: 50px; background: linear-gradient(145deg, var(--accent-2), var(--accent)); box-shadow: 0 16px 34px rgba(0,0,0,.35); transform: rotate(-8deg); animation: bob 5s ease-in-out infinite; }
.ev-card { background: #fff; color: var(--ink); border-radius: 22px; padding: 14px; box-shadow: var(--shadow-lg); transform: rotate(2.5deg); }
.ev-card-h { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 12px 64px; font: 700 18px/1.2 var(--display); }
.ev-card-h span { font: 700 12px/1 var(--text); color: #fff; background: var(--coral); padding: 6px 9px; border-radius: 999px; letter-spacing: .06em; }
.ev-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ev-chips span { font: 700 13px/1 var(--text); padding: 8px 11px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); }
.ev-chips span:first-child { background: var(--coral); color: #fff; border-color: var(--coral); }
@keyframes bob { 0%, 100% { transform: rotate(-8deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-8px); } }

/* ticket (app look: yellow numbers, red-circle strikes) */
.tkt { display: grid; grid-template-columns: repeat(9, 1fr); gap: 3px; background: #e7c25a; padding: 3px; border-radius: 10px; }
.tkt > * { aspect-ratio: 1; display: grid; place-items: center; border-radius: 5px; font: 700 clamp(12px, 2.6vw, 17px)/1 var(--text); font-style: normal; }
.tkt b { background: var(--sun); color: var(--plum-ink); }
.tkt i { background: var(--sun-soft); }
.tkt b.x { background: var(--sun); position: relative; color: #fff; }
.tkt b.x::before { content: ""; position: absolute; left: 50%; top: 50%; height: min(80%, 100cqh); max-width: 80%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: var(--coral); z-index: 0; box-shadow: inset 0 -2px 0 rgba(0,0,0,.15); }
.tkt b.x { isolation: isolate; }
.tkt b.x::before { z-index: -1; }

/* ---------- home demo device: a live game, close to the app's game screen ---------- */
.device-stage { position: relative; padding: 18px 0 24%; }
.device { position: relative; width: 100%; max-width: 620px; margin: 0 auto; aspect-ratio: 19.5 / 9; background: #0b0810; border-radius: 34px; padding: 10px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2b2335, inset 0 0 0 5px #000; transform: perspective(1600px) rotateY(-6deg) rotateX(3deg); container-type: inline-size; }
.device::before { content: ""; position: absolute; left: 5px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #1d1824; }
.screen { width: 100%; height: 100%; border-radius: 24px; background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.04) 0 14cqw, transparent 14.2cqw), #2a1626; overflow: hidden; display: grid; grid-template-columns: 15cqw 1fr 17cqw; grid-template-rows: auto 1fr; gap: 1.4cqw 1.8cqw; padding: 1.8cqw 2cqw; color: #fff; }
.g-top { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.2cqw; font-size: 1.9cqw; font-weight: 600; min-width: 0; }
.g-count { width: 15cqw; flex: none; font-size: 2cqw; }
.g-msg { flex: 1; text-align: center; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .3s; }
.g-ball { width: 7.4cqw; height: 7.4cqw; flex: none; border-radius: 50%; display: grid; place-items: center; font: 800 3.8cqw/1 var(--display); color: #fff; background: radial-gradient(circle at 32% 28%, #ff9b97 0, var(--coral) 45%, var(--coral-3) 100%); box-shadow: 0 .8cqw 1.8cqw rgba(0,0,0,.45), inset 0 -.5cqw .8cqw rgba(0,0,0,.2); }
.g-ball.roll, .mini-ball.roll { animation: roll .55s cubic-bezier(.3,1.4,.5,1); }
@keyframes roll { from { transform: translateY(-40%) scale(.6) rotate(-90deg); opacity: 0; } to { transform: none; opacity: 1; } }
.g-recent { display: flex; gap: .6cqw; width: 17cqw; flex: none; }
.g-recent span:nth-child(n+4) { display: none; }
.g-recent span { flex: 1; text-align: center; font-weight: 700; font-size: 1.9cqw; padding: .6cqw 0; border-radius: 99px; background: rgba(255,255,255,.1); }
/* players (left): yellow cards, plum initials square, green online dot */
.g-players { display: flex; flex-direction: column; gap: 1cqw; min-height: 0; }
.g-pl { position: relative; background: var(--sun); border-radius: 1cqw; padding: .9cqw .6cqw .5cqw; display: flex; flex-direction: column; align-items: center; color: var(--plum-ink); }
.g-sq { width: 5.6cqw; height: 4.4cqw; border-radius: .7cqw; display: grid; place-items: center; background: #7e3a63; color: #fff; font: 700 2.1cqw/1 var(--text); }
.g-sq.s2 { background: #3c2a4e; } .g-sq.s3 { background: #5b2340; }
.g-pl b { font-size: 1.7cqw; font-weight: 600; line-height: 1.5; }
.g-on { position: absolute; right: 2.6cqw; top: 3.6cqw; width: 1.5cqw; height: 1.5cqw; border-radius: 50%; background: #1fa64a; border: .3cqw solid var(--sun); }
.g-pl em { position: absolute; left: 2.4cqw; top: 3.4cqw; font-style: normal; color: #1d7a2b; font-size: 2cqw; }
.g-chat { margin-top: auto; background: var(--sun); color: var(--plum-ink); border-radius: 1cqw; text-align: center; font: 600 2.1cqw/1 var(--text); padding: 1.2cqw 0; }
.g-players .g-pl:nth-child(3) { display: none; }
/* ticket (centre) */
.g-mid { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 1.4cqw; min-width: 0; }
.g-mid .tkt { gap: .5cqw; padding: .5cqw; border-radius: 1cqw; box-shadow: 0 0 0 .4cqw var(--coral); }
.g-mid .tkt > * { aspect-ratio: 1.15; font-size: 2.6cqw; border-radius: .5cqw; }
.g-mid .tkt b.x.new::before { animation: pop .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes pop { from { scale: 0; } to { scale: 1; } }
.g-bubble { align-self: flex-start; background: #fff; color: var(--ink); font-size: 1.9cqw; padding: .9cqw 1.6cqw; border-radius: 1.6cqw 1.6cqw 1.6cqw .3cqw; box-shadow: 0 .6cqw 1.6cqw rgba(0,0,0,.3); transition: opacity .35s, transform .35s; }
.g-bubble.hide { opacity: 0; transform: translateY(1cqw); }
/* prizes (right): stacked yellow buttons, claimed ones dimmed with the winner */
.g-divs { display: flex; flex-direction: column; gap: .8cqw; min-height: 0; }
.g-divs span { text-align: center; font-weight: 600; font-size: 1.85cqw; padding: .95cqw .4cqw; border-radius: .9cqw; background: var(--sun); color: var(--plum-ink); box-shadow: 0 .35cqw 0 #b98912; white-space: nowrap; transition: background .3s; }
.g-divs span small { font-size: 1.5cqw; font-weight: 700; color: #9cf0b4; margin-left: .3cqw; }
.g-divs span.won { background: #4a3a52; color: rgba(255,255,255,.7); box-shadow: none; }
.g-divs span.flash { animation: flash .9s ease 2; }
@keyframes flash { 50% { background: #fff1b8; } }
/* a second player's phone (portrait), in sync with the main screen */
.mini { position: absolute; left: 1%; bottom: 0; width: 22%; max-width: 150px; background: #0b0810; border-radius: 18px; padding: 6px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2b2335; container-type: inline-size; z-index: 2; transform: rotate(-4deg); }
.mini > * { position: relative; z-index: 1; }
.mini::after { content: ""; position: absolute; inset: 6px; border-radius: 13px; background: #2a1626; z-index: 0; }
.mini-top { display: flex; align-items: center; gap: 4cqw; padding: 6cqw 6cqw 0; color: #fff; }
.mini-top .g-sq { width: 16cqw; height: 13cqw; font-size: 6cqw; border-radius: 3cqw; }
.mini-top b { font-size: 9cqw; }
.mini-top small { margin-left: auto; font-size: 6.5cqw; opacity: .7; }
.mini-ball { width: 34cqw; height: 34cqw; margin: 7cqw auto 2cqw; border-radius: 50%; display: grid; place-items: center; font: 800 17cqw/1 var(--display); color: #fff; background: radial-gradient(circle at 32% 28%, #ff9b97 0, var(--coral) 45%, var(--coral-3) 100%); }
.mini-cap { display: block; text-align: center; color: var(--sun); font-size: 6.6cqw; font-weight: 600; margin-bottom: 5cqw; }
.mini .tkt { margin: 0 4cqw 6cqw; gap: 1cqw; padding: 1cqw; border-radius: 2cqw; }
.mini .tkt > * { font-size: 4.6cqw; border-radius: 1cqw; }
/* live reactions + toasts */
.reacts { position: absolute; right: 22%; bottom: 40%; width: 60px; height: 0; z-index: 4; pointer-events: none; }
.reacts span { position: absolute; bottom: 0; font-size: 26px; animation: rise 2.4s ease-out forwards; }
@keyframes rise { 0% { transform: translate(0, 0) scale(.6); opacity: 0; } 15% { opacity: 1; transform: translate(0, -20px) scale(1.1); } 100% { transform: translate(var(--dx, 0), -180px) scale(1); opacity: 0; } }
.toast { position: absolute; right: 2%; bottom: 7%; background: #fff; color: var(--ink); font-size: 15px; padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow-lg); white-space: nowrap; transition: .35s ease; z-index: 3; max-width: 72%; overflow: hidden; text-overflow: ellipsis; }
.toast.hide { opacity: 0; transform: translateY(10px); }
@media (max-width: 920px) { .device { transform: none; } }
@media (max-width: 520px) { .device { border-radius: 22px; padding: 6px; } .screen { border-radius: 17px; } .device-stage { padding-bottom: 33%; } .mini { width: 29%; left: 0; } .toast { font-size: 13px; padding: 8px 12px; bottom: 9%; max-width: 64%; } .reacts span { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ---------- sections ---------- */
.sec { padding: 88px 0; }
.sec-cream { background: var(--cream); }
.sec-dark { background: var(--night); color: #fff; }
.sec-head { max-width: 720px; margin: 0 0 40px; }
.sec-head.c { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head p { font-size: 19px; color: var(--muted); margin: 14px 0 0; }
.sec-dark .sec-head p { color: rgba(255,255,255,.72); }
.sec-dark .kicker { color: var(--sun); }
@media (max-width: 720px) { .sec { padding: 60px 0; } .sec-head { margin-bottom: 28px; } .sec-head p { font-size: 17px; } }

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; z-index: 2; }
.stats > div { padding: 22px 16px; text-align: center; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats strong { display: block; font: 800 38px/1 var(--display); color: var(--plum-ink); }
.stats strong small { font-size: 22px; color: var(--coral); margin-left: 1px; }
.stats span { display: block; font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.3; }
.stats-wrap { margin-top: -44px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats > div { border-left: 0; border-top: 1px solid var(--line); } .stats > div:nth-child(-n+2) { border-top: 0; } .stats > div:nth-child(even) { border-left: 1px solid var(--line); } .stats > div:last-child { grid-column: 1 / -1; } .stats strong { font-size: 32px; } }
.page > .stats { margin: 0 0 32px; }

/* feature cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; margin: 22px 0; }
.card-lite { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: 0 1px 2px rgba(39,17,32,.04); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card-lite h3 { font-size: 21px; margin: 0 0 8px; }
.card-lite p { margin: 0; color: var(--muted); font-size: 16px; }
.card-lite .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; background: var(--coral-soft); color: var(--coral-2); font-size: 26px; }
.card-lite .ico .i { width: 26px; height: 26px; }
.cards > .card-lite:nth-child(3n+2) .ico { background: #fdf0c8; color: #a77a00; }
.cards > .card-lite:nth-child(3n+3) .ico { background: #ece4f7; color: #5b3d8a; }
a.card-lite { display: block; color: inherit !important; text-decoration: none !important; }
a.card-lite::after { content: "→"; position: absolute; right: 22px; top: 24px; font-weight: 700; color: var(--coral); opacity: 0; transform: translateX(-6px); transition: .2s; }
a.card-lite:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #f1cfc9; }
a.card-lite:hover::after { opacity: 1; transform: none; }
.sec-dark .card-lite { background: var(--night-2); border-color: var(--line-dark); }
.sec-dark .card-lite p { color: rgba(255,255,255,.7); }
.sec-dark .card-lite .ico { background: rgba(255,255,255,.08); color: var(--sun); }

/* event tiles (home) */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px; padding: 22px; border-radius: 22px; color: #fff !important; text-decoration: none !important; overflow: hidden; isolation: isolate; background: var(--night-2); transition: transform .2s; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(260px 200px at 85% 0%, color-mix(in srgb, var(--accent) 70%, transparent), transparent 75%), linear-gradient(160deg, var(--night-3), var(--night)); }
.tile .em { position: absolute; right: 16px; top: 14px; font-size: 52px; line-height: 1; filter: drop-shadow(0 8px 14px rgba(0,0,0,.35)); transition: transform .3s; }
.tile b { font: 800 23px/1.15 var(--display); }
.tile small { font-size: 15px; color: rgba(255,255,255,.75); margin-top: 4px; }
.tile:hover { transform: translateY(-4px); }
.tile:hover .em { transform: scale(1.1) rotate(-6deg); }
.tile.big { grid-column: span 2; }
@media (max-width: 920px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } .tile.big { grid-column: auto; } .tile { min-height: 150px; } }

/* steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 74px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 800 20px/1 var(--display); color: #fff; background: radial-gradient(circle at 32% 28%, #ff9b97 0, var(--coral) 50%, var(--coral-3) 100%); box-shadow: 0 4px 10px rgba(220,95,93,.35); }
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps-row li { padding: 76px 22px 22px; }
.steps-row li::before { top: 22px; left: 22px; }
.steps-row li b:first-child { font: 800 22px/1.2 var(--display); display: block; margin-bottom: 4px; }
@media (max-width: 820px) { .steps-row { grid-template-columns: 1fr; } .steps-row li { padding: 18px 20px 18px 74px; } .steps-row li::before { top: 16px; left: 18px; } }

/* split feature (text + visual) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split ul.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.split-visual { display: grid; gap: 14px; }
.split-visual .tkt { box-shadow: var(--shadow); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 1px 2px rgba(39,17,32,.04); }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.6; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.review figcaption b { display: block; font-size: 15px; }
.review figcaption small { display: block; font-size: 13px; color: var(--muted); }
.av { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--cream); border: 1px solid var(--line); }
.av svg { width: 22px; height: 22px; }
.av-ios { background: #111; color: #fff; border-color: #111; }
.reviews-wrap { margin: 56px 0 0; }
.sec .reviews-wrap { margin: 0; }
@media (max-width: 920px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .reviews { grid-template-columns: 1fr; } }

/* collage (real players, loaded live from the backend) */
#collage { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
#collage .avatar img { width: 64px; height: 64px; object-fit: cover; display: block; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.collage-title { text-align: center; }

/* ---------- content pages ---------- */
.page { max-width: 820px; margin: 0 auto; padding: 48px 20px 72px; }
.page.wide { max-width: 1180px; }
.page h2 { margin: 56px 0 16px; position: relative; }
.page h2:first-child { margin-top: 0; }
.page h3 { margin: 30px 0 10px; }
.page .lead { font-size: 19px; color: var(--muted); }
.page ul, .page ol:not(.steps) { padding-left: 22px; }
.page li { margin-bottom: 6px; }
.updated { color: var(--muted); font-size: 14px !important; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.toc a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink) !important; text-decoration: none; font-size: 15px; font-weight: 600; }
.toc a:hover { border-color: var(--coral); color: var(--coral-2) !important; }
.note { background: #fff6dc; border: 1px solid #f5e1a4; border-left: 5px solid var(--sun); padding: 16px 20px; border-radius: var(--r-sm); margin: 22px 0; }
blockquote.note small { color: var(--muted); }
.callout { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; background: var(--night); color: #fff; border-radius: 22px; padding: 24px 28px; margin: 36px 0; }
.callout .ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--sun); }
.callout .ico .i { width: 28px; height: 28px; }
.callout h3 { margin: 0 0 4px; font-size: 22px; }
.callout p { margin: 0; color: rgba(255,255,255,.75); font-size: 16px; }
.callout a:not(.btn) { color: var(--sun); }
@media (max-width: 700px) { .callout { grid-template-columns: 1fr; padding: 22px; } }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; padding: 0 !important; list-style: none; }
.pill-list li { margin: 0; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 15px; }

/* tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r); background: #fff; margin: 18px 0; }
table.lite { width: 100%; border-collapse: collapse; }
table.lite th, table.lite td { border-bottom: 1px solid var(--line); padding: 12px 16px; text-align: left; vertical-align: top; font-size: 16px; }
table.lite tr:last-child td { border-bottom: 0; }
table.lite th { background: var(--cream); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
table.lite td.num { width: 64px; text-align: center; }
table.lite td.num, .numchip { font: 800 20px/1 var(--display); color: #fff; }
table.lite td.num { position: relative; }
table.lite td.num::before { content: ""; position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #ff9b97 0, var(--coral) 50%, var(--coral-3) 100%); z-index: 0; }
table.lite td.num { isolation: isolate; }
table.lite td.num::before { z-index: -1; }

/* FAQ */
details.qa, .page details:not(.qa) { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); margin: 10px 0; padding: 0; transition: border-color .2s; }
details.qa[open] { border-color: #f1cfc9; box-shadow: var(--shadow); }
details.qa summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 17px; line-height: 1.45; padding: 16px 52px 16px 20px; position: relative; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral-2); font: 700 20px/1 var(--text); transition: transform .2s; }
details.qa[open] summary::after { content: "–"; }
details.qa .a { padding: 0 20px 16px; color: #4a3f4e; }
details.qa .a p:last-child { margin-bottom: 0; }

/* ---------- CTA card + footer ---------- */
.cta { padding: 24px 0 88px; background: var(--paper); }
.cta-card { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px 40px; align-items: center; padding: 48px; border-radius: 30px; color: #fff; background: radial-gradient(500px 300px at 100% 0%, rgba(248,204,83,.28), transparent 70%), linear-gradient(135deg, var(--coral) 0%, #b5405e 45%, var(--night-3) 100%); box-shadow: var(--shadow-lg); }
.cta-card h2 { font-size: clamp(28px, 3.4vw, 40px); }
.cta-card p { color: rgba(255,255,255,.88); margin: 12px 0 0; font-size: 18px; }
.cta-card .kicker { color: var(--sun); }
.cta-card .rating-line { color: rgba(255,255,255,.85); }
.cta-card .rating-line b { color: #fff; }
.cta-card .stars .off { color: rgba(255,255,255,.3); }
.cta-act { justify-self: end; display: flex; flex-direction: column; align-items: flex-start; }
.cta-balls { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta-balls span { position: absolute; z-index: -1; border-radius: 50%; display: grid; place-items: center; font: 800 28px/1 var(--display); color: rgba(255,255,255,.9); background: rgba(255,255,255,.1); }
.cta-balls span:nth-child(1) { width: 120px; height: 120px; right: -30px; bottom: -40px; }
.cta-balls span:nth-child(2) { width: 70px; height: 70px; left: 46%; top: -22px; font-size: 22px; }
.cta-balls span:nth-child(3) { width: 90px; height: 90px; left: -26px; bottom: -30px; }
@media (max-width: 860px) { .cta-card { grid-template-columns: 1fr; padding: 32px 24px; } .cta-act { justify-self: start; } .cta { padding-bottom: 60px; } }

.foot { background: var(--night); color: rgba(255,255,255,.72); padding: 64px 0 28px; }
.foot-top { display: grid; grid-template-columns: 1fr 2.2fr; gap: 48px; }
.foot-brand p { font-size: 15px; margin: 16px 0 0; max-width: 34ch; }
.foot-brand .brand img { width: 48px; height: 48px; border-radius: 13px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.foot h4 { font: 700 14px/1 var(--text); color: #fff; text-transform: uppercase; letter-spacing: .1em; margin: 6px 0 16px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: 0 0 10px; font-size: 15px; line-height: 1.35; }
.foot a { color: rgba(255,255,255,.72) !important; text-decoration: none; word-break: break-word; }
.foot a:hover { color: #fff !important; }
.legal { border-top: 1px solid var(--line-dark); margin: 48px 0 0; padding-top: 22px; font-size: 14px; color: rgba(255,255,255,.5); }
@media (max-width: 920px) { .foot-top { grid-template-columns: 1fr; } .foot-cols { grid-template-columns: 1fr 1fr; } }

/* ---------- tools ---------- */
.tool { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px; margin: 0 0 24px; box-shadow: var(--shadow); }
.tool label { font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.tool input[type=text], .tool input[type=number], .tool select, .tool textarea { font: 16px var(--text); padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; max-width: 100%; background: var(--paper); color: var(--ink); }
.tool input:focus, .tool select:focus, .tool textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-soft); }
.tool input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--coral); }
.tool .row-c { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin: 12px 0; }

/* number caller */
#caller { background: var(--night); color: #fff; border: 0; }
#caller label { color: rgba(255,255,255,.85); }
#caller select { background: var(--night-2); color: #fff; border-color: var(--line-dark); }
#caller .note { color: var(--ink); }
.caller-top { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: center; padding: 8px 0; }
.caller-ball { width: 156px; height: 156px; border-radius: 50%; display: grid; place-items: center; font: 800 72px/1 var(--display); color: #fff; background: radial-gradient(circle at 32% 28%, #ff9b97 0, var(--coral) 45%, var(--coral-3) 100%); box-shadow: 0 16px 40px rgba(0,0,0,.45), inset 0 -8px 16px rgba(0,0,0,.18); }
.caller-info { min-width: 220px; text-align: center; }
.caller-info .phrase { font: 700 22px/1.3 var(--display); min-height: 30px; color: var(--sun); }
.caller-info .count { color: rgba(255,255,255,.65); font-size: 15px; }
.caller-last { display: flex; gap: 6px; justify-content: center; margin: 10px 0; flex-wrap: wrap; }
.caller-last span { min-width: 40px; padding: 6px 8px; border-radius: 999px; background: rgba(255,255,255,.1); font-weight: 700; text-align: center; }
.caller-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 18px 0 8px; }
#caller .btn-ghost { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
#caller .btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--sun); }
.board { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; margin-top: 18px; }
.board div { aspect-ratio: 1; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.07); font-weight: 700; font-size: 17px; color: rgba(255,255,255,.6); }
.board div.on { background: var(--sun); color: var(--plum-ink); }
.board div.last { background: var(--coral); color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.6); }
@media (max-width: 480px) { .board div { font-size: 13px; border-radius: 6px; } .board { gap: 3px; } .caller-ball { width: 120px; height: 120px; font-size: 54px; } .tool { padding: 18px; } }

/* printable ticket sheets (generator) – screen: app colours; print: pure black & white, 1 sheet per A4 */
.sheet { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; margin-top: 18px; box-shadow: var(--shadow); }
.sheet-tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.sheet-foot { font-size: 12px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.tk { border-radius: 12px; padding: 4px; background: #e7c25a; break-inside: avoid; page-break-inside: avoid; }
.tk .tk-head { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; padding: 3px 6px 5px; color: var(--plum-ink); }
.tk .tk-head b { font-size: 14px; }
.tk .grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 3px; }
.tk .grid div { aspect-ratio: 1; display: grid; place-items: center; background: var(--sun); font-weight: 700; font-size: 16px; border-radius: 5px; color: var(--plum-ink); }
.tk .grid div.e { background: var(--sun-soft); }

/* black & white option (screen and print look the same): same shapes, no colour */
.print-area.bw .sheet { background: #fff; }
.print-area.bw .tk { background: #fff; border: 2px solid #111; }
.print-area.bw .tk .tk-head { color: #111; }
.print-area.bw .tk .grid div { background: #fff; color: #111; box-shadow: inset 0 0 0 1.5px #111; }
.print-area.bw .tk .grid div.e { background: #e6e6e6; box-shadow: none; }
.print-mode { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }

/* legal text */
.legal-doc { font-size: 16px; }
.legal-doc h2 { font-size: 26px; margin: 40px 0 12px; }
.legal-doc h3 { font-size: 20px; }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 16px 0; display: block; overflow-x: auto; }
.legal-doc td, .legal-doc th { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; font-size: 15px; }

@media print {
  @page { size: A4; margin: 10mm; }
  body.site:has(.print-area) > *:not(main), body.site:has(.print-area) main > *:not(.page),
  body.site:has(.print-area) .page > *:not(.print-area) { display: none !important; }
  body.site { background: #fff; }
  .page { padding: 0 !important; margin: 0 !important; max-width: none !important; }
  .sheet { border: 0; box-shadow: none; padding: 0; margin: 0; border-radius: 0; background: none; break-after: page; page-break-after: always; }
  .sheet:last-child { break-after: auto; page-break-after: auto; }
  /* same look as on screen (colour or B/W, whichever is picked) – only bigger, sized for one sheet per A4 */
  .print-area, .print-area * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sheet-tickets { grid-template-columns: 1fr 1fr; gap: 8mm 6mm; }
  .tk { box-shadow: none; }
  .tk .tk-head { font-size: 9pt; } .tk .tk-head b { font-size: 10.5pt; }
  .tk .grid div { aspect-ratio: auto; height: 14mm; font-size: 15pt; }
  .sheet-foot { font-size: 8pt; margin-top: 4mm; }
  .nav, .app-bar { display: none !important; }
}
@media (max-width: 920px) { .hero .wrap { padding-bottom: 84px; } .stats-wrap { margin-top: -40px; } }
@media (max-width: 560px) { .stats > div { padding: 16px 10px; } .stats strong { font-size: 28px; } .stats strong small { font-size: 18px; } .stats span { font-size: 13px; } .hero .sub { font-size: 17px; } .cta-row .btn-lg { width: 100%; } .device { border-radius: 22px; padding: 7px; } .screen { border-radius: 16px; } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr 1fr; gap: 12px; } .tile.big { grid-column: span 2; } .tile { min-height: 150px; padding: 16px; border-radius: 18px; } .tile b { font-size: 19px; } .tile small { font-size: 13px; } .tile .em { font-size: 38px; right: 12px; top: 12px; } }
/* homepage extras */
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .cards.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards.c4 { grid-template-columns: 1fr; } }
.manifesto { text-align: center; padding: 96px 0 40px; }
.manifesto h2 { font-size: clamp(34px, 5vw, 58px); max-width: 16ch; margin: 0 auto; }
.manifesto h2 b { color: var(--coral); }
.manifesto p { font-size: 20px; color: var(--muted); max-width: 60ch; margin: 18px auto 0; }
.manifesto + .sec { padding-top: 40px; }
.sec-tight { padding: 40px 0 8px; }
.also { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: center; }
.also b { margin-right: 4px; color: var(--muted); font-weight: 600; }
.also a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink) !important; text-decoration: none; font-weight: 600; font-size: 15px; }
.also a:hover { border-color: var(--coral); }
.also .i { width: 18px; height: 18px; color: var(--coral-2); }
/* how-to visuals */
.howto { list-style: none; padding: 0 !important; margin: 8px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.howto li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 14px 14px 22px; margin: 0; }
.howto .hv { height: 150px; border-radius: 16px; background: var(--cream); display: grid; place-items: center; padding: 14px; margin-bottom: 18px; overflow: hidden; }
.howto .hv .tkt { width: 100%; }
.howto .hv .tkt > * { font-size: 12px; }
.howto .hn { position: absolute; left: 26px; top: 146px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 800 18px/1 var(--display); color: #fff; background: var(--night); border: 3px solid #fff; }
.howto h3 { font-size: 21px; margin: 8px 6px 4px !important; }
.howto p { margin: 0 6px; color: var(--muted); font-size: 16px; }
.hball { width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; font: 800 40px/1 var(--display); color: #fff; background: radial-gradient(circle at 32% 28%, #ff9b97 0, var(--coral) 45%, var(--coral-3) 100%); box-shadow: 0 10px 22px rgba(220,95,93,.4); }
.hv:has(.hball) { grid-template-rows: auto auto; gap: 6px; align-content: center; }
.hsay { font: 700 16px/1.2 var(--display); color: var(--plum-ink); }
.hclaim { display: flex; flex-direction: column; align-items: center; gap: 2px; background: #fff; border-radius: 16px; padding: 14px 20px; box-shadow: var(--shadow); text-align: center; }
.hclaim .i { width: 34px; height: 34px; color: #1faa59; }
.hclaim b { font: 800 22px/1.1 var(--display); }
.hclaim small { font-size: 13px; color: #1a8a49; font-weight: 600; }
@media (max-width: 980px) { .howto { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .howto { grid-template-columns: 1fr; } }
.tkt.dim b:not(.x) { color: rgba(39,17,32,.35); }
.colstrip { display: grid; grid-template-columns: repeat(9, 1fr); gap: 3px; margin-top: 8px; padding: 0 3px; }
.colstrip span { text-align: center; font: 700 12px/1 var(--text); color: var(--muted); padding: 6px 0; border-radius: 6px; background: #fff; border: 1px solid var(--line); }
.ticket-explain { margin-top: 18px; align-items: center; }
.ticket-explain .tkt { box-shadow: var(--shadow); }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 22px 0; }
.pgrid figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px; }
.pgrid figcaption { padding: 12px 4px 2px; color: var(--muted); font-size: 15px; }
.pgrid figcaption b { display: block; font: 800 20px/1.2 var(--display); color: var(--ink); }
@media (max-width: 860px) { .pgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pgrid { grid-template-columns: 1fr; } }
.ticket-explain > div { max-width: 480px; }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.share-row label { font-size: 14px; }
#caller .share-row input { flex: 1; min-width: 200px; background: var(--night-2); color: #fff; border-color: var(--line-dark); font-size: 14px; }
/* fun calls */
.callgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 22px 0; }
.callcard { margin: 0; background: var(--night); color: #fff; border-radius: 20px; padding: 20px; position: relative; overflow: hidden; }
.callcard::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,.05); }
.cball { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font: 800 24px/1 var(--display); color: #fff; background: radial-gradient(circle at 32% 28%, #ff9b97 0, var(--coral) 45%, var(--coral-3) 100%); margin-bottom: 14px; }
.callcard blockquote { margin: 0; font: 700 21px/1.25 var(--display); color: var(--sun); }
.callcard figcaption { font-size: 14px; color: rgba(255,255,255,.6); margin-top: 8px; }
@media (max-width: 920px) { .callgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .card-lite { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; padding: 18px; align-items: start; }
  .card-lite .ico { width: 46px; height: 46px; border-radius: 14px; margin: 0; grid-row: span 2; }
  .card-lite .ico .i { width: 22px; height: 22px; }
  .card-lite h3 { font-size: 19px; margin: 2px 0 4px; }
  a.card-lite::after { display: none; }
  .page { padding-top: 32px; }
  .page h2 { margin-top: 44px; }
}

/* create → invite → play walkthrough with real app screenshots ({{HOST_STEPS}}) */
.host-steps { margin: 18px 0 8px; }
.timer-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--sun); color: var(--plum-ink); font-weight: 700; font-size: 15px; padding: 8px 16px; border-radius: 999px; margin: 0 0 18px; }
.timer-pill .i { width: 18px; height: 18px; }
.hsteps { list-style: none; padding: 0 !important; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; counter-reset: none; }
.hsteps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 14px 16px 20px; margin: 0; box-shadow: var(--shadow); }
.hsteps h3 { margin: 14px 0 4px 44px; font-size: 21px; line-height: 1.25; }
.hsteps p { margin: 0; font-size: 15.5px; color: var(--muted); }
.hsteps .hn { position: absolute; left: 16px; margin-top: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); color: #fff; font: 800 17px var(--display); }
.phone-shot { margin: 0; position: relative; }
.ph-frame { background: #0e0a14; border-radius: 22px; padding: 7px; box-shadow: 0 10px 26px rgba(20,10,30,.25); }
.ph-frame img { display: block; width: 100%; height: auto; border-radius: 16px; aspect-ratio: 734 / 343; }
.wa-bubble { position: absolute; right: -6px; bottom: -18px; width: 62%; max-width: 250px; background: #dcf8c6; color: #111; border-radius: 12px 12px 2px 12px; padding: 8px 10px 6px; font-size: 12px; line-height: 1.35; box-shadow: 0 6px 18px rgba(0,0,0,.25); display: flex; flex-direction: column; gap: 2px; }
.wa-bubble .wa-link { color: #027eb5; text-decoration: underline; word-break: break-all; }
.wa-bubble small { align-self: flex-end; color: #5f7d5a; font-size: 10px; }
.hsteps li:nth-child(2) p { padding-right: 0; }
.hsteps li:nth-child(2) h3 { margin-top: 26px; }
.join-note { display: flex; gap: 12px; align-items: flex-start; background: var(--cream); border: 1px dashed var(--sun-2); border-radius: 16px; padding: 14px 16px; margin: 22px 0 14px; font-size: 16px; }
.join-note .i { flex: none; width: 22px; height: 22px; color: var(--coral); margin-top: 2px; }
.free-line { margin: 10px 0 0; font-weight: 600; }
@media (max-width: 760px) { .hsteps { grid-template-columns: 1fr; } .wa-bubble { width: 58%; font-size: 11.5px; } }
/* copy deterrent on the dividends + fun-calls lists (text stays in the HTML for search engines) */
.nocopy { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
/* caller controls: segmented buttons + full screen */
.caller-opts { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: center; margin: 10px 0 4px; }
.caller-opts .opt { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.caller-opts .opt > span { opacity: .8; }
.seg { display: inline-flex; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 3px; }
.seg button { font: 700 14px/1 var(--text); color: inherit; background: transparent; border: 0; border-radius: 999px; padding: 9px 14px; cursor: pointer; min-height: 36px; }
.seg button[aria-pressed="true"] { background: var(--sun); color: var(--plum-ink); box-shadow: 0 2px 0 var(--sun-2); }
.seg button:focus-visible { outline: 2px solid var(--sun); outline-offset: 2px; }
.tool:not(#caller) .seg { background: var(--cream); border-color: var(--line); }
#caller.fs, #caller:fullscreen { position: fixed; inset: 0; z-index: 1000; margin: 0; border-radius: 0; overflow: auto; display: flex; flex-direction: column; justify-content: center; padding: 3vh 4vw; }
#caller.fs .caller-ball, #caller:fullscreen .caller-ball { width: min(30vh, 260px); height: min(30vh, 260px); font-size: min(14vh, 120px); }
#caller.fs .caller-info .phrase, #caller:fullscreen .caller-info .phrase { font-size: clamp(22px, 3.4vh, 40px); }
#caller.fs .board div, #caller:fullscreen .board div { font-size: clamp(14px, 2.6vh, 28px); aspect-ratio: auto; height: 5.2vh; }
#caller.fs .share-row, #caller:fullscreen .share-row, #caller.fs #nudge, #caller:fullscreen #nudge { display: none; }
@media (max-width: 480px) { .seg button { padding: 8px 11px; font-size: 13px; } }
.store-tally { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 0; }
.store-tally a { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 15px; color: var(--ink) !important; text-decoration: none !important; }
.store-tally svg { width: 18px; height: 18px; }
.sec-head.c .store-tally { justify-content: center; }
/* about: story + founders */
.story { align-items: center; }
.founders { display: grid; gap: 12px; }
.founder { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; color: var(--ink) !important; text-decoration: none !important; box-shadow: var(--shadow); }
.founder .fav { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #7b3a63; color: #fff; font: 800 20px var(--display); }
.founder b { display: block; font-size: 18px; } .founder small { color: var(--muted); font-size: 14px; }
/* Telegram help – visible in the nav (desktop), the phone menu, the footer and event CTAs */
.nav-help { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.85) !important; font-weight: 600; font-size: 15px; text-decoration: none !important; margin-right: 6px; padding: 8px 10px; border-radius: 999px; }
.nav-help:hover { background: rgba(255,255,255,.08); color: #fff !important; }
.nav-help .i { width: 18px; height: 18px; color: #6cc7f2; }
.nl-help { display: none !important; }
.foot-help { display: flex; align-items: center; gap: 12px; margin: 26px 0 0; padding: 14px 18px; border-radius: 16px; background: rgba(108,199,242,.12); border: 1px solid rgba(108,199,242,.35); color: #fff !important; text-decoration: none !important; font-size: 16px; }
.foot-help .i { flex: none; width: 24px; height: 24px; color: #6cc7f2; }
.btn-tg { background: #2aabee; color: #fff !important; box-shadow: 0 4px 0 #1b86bd; }
@media (max-width: 1000px) { .nav-help { display: none; } .menu .nl-help { display: flex !important; color: #6cc7f2 !important; } }
@media (max-width: 400px) { .nav-in { gap: 8px; } .brand { font-size: 19px; } .nav-cta { padding: 9px 12px; font-size: 14px; } }
/* home: free extras */
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.extra { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; color: var(--ink) !important; text-decoration: none !important; box-shadow: var(--shadow); transition: transform .15s; }
.extra:hover { transform: translateY(-2px); }
.extra .ex-ico { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--sun); color: var(--plum-ink); }
.extra .ex-ico .i { width: 24px; height: 24px; }
.extra b { font-size: 17px; line-height: 1.3; } .extra small { color: var(--muted); font-size: 14px; line-height: 1.4; }
@media (max-width: 900px) { .extras { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .extras { grid-template-columns: 1fr; } }
.wrap.narrow { max-width: 860px; }
.phero-cta { margin-top: 18px; } .phero-cta .badges { margin-top: 0; }
/* drawn, app-inspired step screens ({{HOST_STEPS}}) – all sizes in container units so they scale with the card */
.mk { container-type: inline-size; background: #0e0a14; border-radius: 22px; padding: 7px; box-shadow: 0 10px 26px rgba(20,10,30,.25); }
.mk-screen { aspect-ratio: 734 / 343; border-radius: 16px; overflow: hidden; background: radial-gradient(circle at 15% 20%, #3a1c33 0, #271120 55%, #1e0d19 100%); color: #fff;
  display: grid; grid-template-columns: 17cqw 1fr 19cqw; gap: 2.4cqw; padding: 3cqw; font: 600 2.4cqw/1.2 var(--text); position: relative; }
.mk--home .mk-screen, .mk--settings .mk-screen { grid-template-columns: 1fr; place-items: center; align-content: center; gap: 3.5cqw; }
.mk-players { display: flex; flex-direction: column; gap: 1.6cqw; }
.mk-count { font-size: 2.2cqw; opacity: .85; }
.mk-pc { position: relative; background: var(--sun); color: var(--plum-ink); border-radius: 1.2cqw; padding: 1.4cqw; display: flex; flex-direction: column; align-items: center; gap: .6cqw; font-size: 2.1cqw; }
.mk-pc i { font-style: normal; width: 8cqw; height: 6cqw; border-radius: .8cqw; display: grid; place-items: center; background: #7b3a63; color: var(--plum-ink); font-size: 3cqw; }
.mk-pc i.b { background: #3c2c4a; color: #fff; }
.mk-pc em { position: absolute; right: 1.2cqw; top: 5.4cqw; width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: #1fa34a; border: .3cqw solid var(--sun); }
.mk-pc.big { padding: 2cqw 3cqw; font-size: 3cqw; } .mk-pc.big i { width: 12cqw; height: 9cqw; font-size: 4.5cqw; } .mk-pc.big em { top: 8.5cqw; right: 1.6cqw; width: 2.6cqw; height: 2.6cqw; }
.mk-prizes { display: flex; flex-direction: column; gap: 1.3cqw; }
.mk-prizes span { background: var(--sun); color: var(--plum-ink); border-radius: 1cqw; padding: 1.5cqw .6cqw; text-align: center; font-size: 2.2cqw; white-space: nowrap; }
.mk-prizes span.won { background: #4a3a52; color: rgba(255,255,255,.7); }
.mk-mid { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2cqw; min-width: 0; }
.mk-mid .tkt { width: 100%; gap: .5cqw; padding: .5cqw; border-radius: 1.2cqw; box-shadow: 0 0 0 .4cqw var(--coral); }
.mk-mid .tkt > * { font-size: 2.6cqw; border-radius: .6cqw; }
.mk-logo { font: 800 9cqw/1 var(--display); letter-spacing: .02em; background: linear-gradient(180deg, #e8605c 0 55%, #f0a860 55% 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: .25cqw #fff; }
.mk-homerow { display: flex; gap: 3cqw; align-items: stretch; }
.mk-homebtns { display: flex; flex-direction: column; gap: 2.4cqw; justify-content: center; }
.mk-btn { background: var(--sun); color: var(--plum-ink); border-radius: 1.2cqw; padding: 2.2cqw 6cqw; font-size: 3.4cqw; text-align: center; position: relative; }
.mk-label { font-size: 3.2cqw; }
.mk-code { display: flex; align-items: stretch; }
.mk-code b { border: .5cqw solid #fff; padding: 1.6cqw 3cqw; font: 600 5cqw/1 var(--text); letter-spacing: .05em; }
.mk-wa { position: relative; background: #25d366; display: grid; place-items: center; padding: 0 2.4cqw; border-radius: 0 1cqw 1cqw 0; }
.mk-wa .i { width: 6cqw; height: 6cqw; color: #fff; }
.mk-sub { font-size: 2.2cqw; opacity: .8; font-weight: 500; }
.mk-set { width: 100%; display: flex; flex-direction: column; gap: 2.6cqw; }
.mk-title { text-align: center; font-size: 4cqw; }
.mk-row { display: flex; justify-content: space-between; align-items: center; gap: 2cqw; font-size: 2.8cqw; }
.mk-seg { display: inline-flex; background: #6a6070; border-radius: 1cqw; overflow: hidden; }
.mk-seg i { font-style: normal; padding: 1.3cqw 2cqw; font-size: 2.6cqw; } .mk-seg i.on { background: var(--sun); color: var(--plum-ink); }
.mk-slider { display: flex; align-items: center; gap: 2cqw; width: 42cqw; } .mk-slider b { font-size: 3cqw; }
.mk-slider i { flex: 1; height: .9cqw; border-radius: 1cqw; background: linear-gradient(90deg, #fff 0 22%, #6a6070 22%); position: relative; }
.mk-slider i::after { content: ""; position: absolute; left: 20%; top: 50%; width: 3.6cqw; height: 3.6cqw; margin: -1.8cqw 0 0 -1.8cqw; border-radius: 50%; background: var(--sun); }
.mk-chips { display: flex; gap: 1cqw; flex-wrap: wrap; justify-content: flex-end; }
.mk-chips i { font-style: normal; font-size: 2.2cqw; padding: 1cqw 1.6cqw; border-radius: 99px; background: rgba(255,255,255,.12); }
.mk-chips b { font-size: 2.4cqw; padding: 1cqw 2cqw; border-radius: .8cqw; background: var(--sun); color: var(--plum-ink); }
.mk-top { display: flex; align-items: center; gap: 2cqw; font-size: 2.8cqw; align-self: flex-end; }
.mk-play { position: relative; background: var(--sun); color: var(--plum-ink); width: 7cqw; height: 7cqw; border-radius: 1.2cqw; display: grid; place-items: center; font-size: 3.4cqw; }
/* the tap hint: a soft ring on the button to press */
.tap::after { content: ""; position: absolute; inset: -1.2cqw; border-radius: 1.8cqw; border: .5cqw solid rgba(255,255,255,.85); animation: tapring 1.8s ease-out infinite; pointer-events: none; }
@keyframes tapring { 0% { opacity: .9; transform: scale(.92); } 80%, 100% { opacity: 0; transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .tap::after { animation: none; opacity: .6; } }
.guide-link { margin: 6px 0 14px; font-weight: 600; }
@media (max-width: 760px) { .wa-bubble { position: relative; right: auto; bottom: auto; width: 82%; max-width: none; margin: -14px 0 0 auto; } .hsteps li:nth-child(2) h3 { margin-top: 14px; } }
.manifesto .punch { margin-top: 14px; font: 700 20px/1.4 var(--display); color: var(--coral-2); }
/* compact host flow ({{HOST_FLOW}}) – same card style as the rules steps */
.hflow .hv { background: var(--cream); }
.hf-btn { position: relative; display: inline-block; background: var(--sun); color: var(--plum-ink); font: 700 18px/1 var(--display); padding: 16px 26px; border-radius: 12px; box-shadow: 0 4px 0 var(--sun-2); }
.hf-green { background: #25c865; color: #fff; box-shadow: 0 4px 0 #1b9a4d; font-size: 15px; padding: 12px 16px; }
.hf-btn.tap::after { inset: -8px; border-radius: 16px; border-width: 3px; border-color: rgba(220,95,93,.6); }
.hf-wa { background: #dcf8c6; border-radius: 12px 12px 2px 12px; padding: 10px 12px; font-size: 13px; line-height: 1.35; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 4px 12px rgba(0,0,0,.12); max-width: 100%; }
.hf-wa span:nth-of-type(1) { color: #027eb5; text-decoration: underline; }
.hf-share { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hf-code { font: 700 22px/1 var(--text); letter-spacing: .06em; border: 2.5px solid var(--plum-ink); border-radius: 8px; padding: 9px 14px; background: #fff; }
.hf-apps { display: flex; gap: 6px; } .hf-apps i { font-style: normal; font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 99px; background: #fff; border: 1px solid var(--line); }
.hf-join { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hf-link { font-size: 14px; font-weight: 600; color: #027eb5; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; }
.mk-green { background: #25c865; color: #fff; padding: 1.6cqw 4cqw; font-size: 2.8cqw; }
@media (max-width: 1000px) { .hflow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hflow { grid-template-columns: 1fr; } }
/* playful invite pictures in the host flow */
.hf-wa2 { position: relative; display: flex; align-items: flex-end; gap: 6px; }
.hf-walogo { flex: none; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(37,211,102,.45); transform: rotate(-8deg); }
.hf-walogo svg { width: 36px; height: 36px; }
.hf-bubble { position: relative; background: #25d366; color: #fff; border-radius: 18px 18px 18px 4px; padding: 8px 13px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 6px 16px rgba(0,0,0,.15); margin-bottom: 8px; transform: rotate(2deg); }
.hf-bubble b { font: 800 15px/1.15 var(--display); white-space: nowrap; }
.hf-bubble u { font-weight: 700; font-size: 14px; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hf-bubble small { font-size: 12px; opacity: .9; letter-spacing: .03em; }
.hf-copy { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hf-copybtn { position: relative; display: inline-flex; align-items: center; gap: 8px; background: var(--night); color: #fff; font: 700 15px/1 var(--text); padding: 12px 16px; border-radius: 12px; }
.hf-copybtn .i { width: 18px; height: 18px; color: var(--sun); }
.hf-copybtn.tap::after { inset: -7px; border-radius: 16px; border-width: 3px; border-color: rgba(220,95,93,.55); }
.hf-or { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.hf-copy .hf-code { font-size: 19px; padding: 7px 12px; }
/* step 4: live together – online players, claim toast, chat */
.hf-live { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hf-avs { display: flex; }
.hf-avs i { position: relative; font-style: normal; width: 34px; height: 34px; margin-left: -8px; border-radius: 50%; display: grid; place-items: center; font: 700 12px var(--text); color: #fff; background: #7b3a63; border: 2px solid var(--cream); }
.hf-avs i:first-child { margin-left: 0; } .hf-avs i.b { background: #3c2c4a; } .hf-avs i.c { background: var(--coral); } .hf-avs i.d { background: var(--sun); color: var(--plum-ink); }
.hf-avs i:not(.d)::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; background: #1fa34a; border: 2px solid var(--cream); }
.hf-toast { display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: 99px; padding: 6px 12px; font-size: 13px; box-shadow: var(--shadow); }
.hf-toast .i { width: 16px; height: 16px; color: #1faa59; }
.hf-chat { background: var(--night); color: #fff; font-size: 12.5px; padding: 6px 11px; border-radius: 12px 12px 12px 3px; }

/* ---------- UX pass 2 (Dec 2026): hierarchy, mobile density, contrast ---------- */
h1, h2, h3, .tile b { text-wrap: balance; }
/* stats strip: 4 cells, 2×2 on phones (no orphan cell) */
.stats { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:last-child { grid-column: auto; }
}
.rating-line > span { white-space: nowrap; }
/* host flow ends with the install ask */
.hf-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 22px; }
.hf-foot .badges { margin: 0; }
.hf-foot .guide-link { margin: 0; }
@media (max-width: 560px) {
  .hflow { gap: 12px; }
  .howto.hflow .hv { height: 128px; margin-bottom: 14px; padding: 10px; }
  .howto.hflow .hn { top: 124px; }
  .howto.hflow h3 { font-size: 19px; }
  .howto.hflow p { font-size: 15px; }
  .hf-foot { flex-direction: column; align-items: flex-start; }
}
/* reviews: a swipeable row on phones instead of six stacked cards */
@media (max-width: 600px) {
  .reviews { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -20px; padding: 4px 20px 14px; scrollbar-width: none; }
  .reviews::-webkit-scrollbar { display: none; }
  .reviews > .review { flex: 0 0 84%; scroll-snap-align: center; }
}
/* occasions: shorter tiles on phones */
@media (max-width: 520px) { .tile { min-height: 124px; } .tile.big { min-height: 120px; } }
/* fair play: one ticket is enough on a phone */
@media (max-width: 860px) { .split-visual .tkt + .tkt { display: none; } }
/* event hero art: smaller on phones so the page content starts sooner */
@media (max-width: 920px) { .ev-art { width: min(340px, 92%); padding: 22px 0 0 18px; } .ev-grid { gap: 22px; } }
/* CTA card: AA contrast for white text (coral → deeper coral), badges side by side */
.cta-card { background: radial-gradient(500px 300px at 100% 0%, rgba(248,204,83,.22), transparent 70%), linear-gradient(135deg, var(--coral-3) 0%, #9c3552 45%, var(--night-3) 100%); }
.cta-card .kicker { color: #fff; opacity: .9; }
@media (max-width: 860px) { .cta-act { flex-direction: row; flex-wrap: wrap; } .cta-act .badges { margin: 0; } }
@media (max-width: 420px) { .cta-card { padding: 28px 18px; } .badges { gap: 8px; } .store { padding: 7px 12px 7px 10px; gap: 8px; } .store span { font-size: 16px; } }
/* footer links: ≥ 32px tap targets */
.foot li { margin: 0 0 4px; }
.foot li a { display: inline-block; padding: 5px 0; }
