/* 4Quizz — the "App Slate" look (2026-10-25). A quiz page sets its theme as CSS variables on .page
   (App\Support\Look::vars); everything here reads them. Phone first: the boards are 390 wide. */

:root {
    --ink: #111827; --muted: #4B5563; --accent: #6D28D9; --kicker: #6D28D9; --g1: #EC4899; --g2: #8B5CF6; --g3: #1D4ED8;
    --b1: #111827; --b2: #111827; --bg: #FFFFFF; --line: #E5E7EB; --soft: #F3F4F6; --tile: #F3F4F6; --tile-ink: #111827;
    --tile-text: #4B5563; --icon: #6D28D9; --w1: rgba(251, 207, 232, .6); --w2: rgba(254, 215, 170, .55); --w3: rgba(221, 214, 254, .6);
    --marker: #FDE047; --display: Inter, system-ui, sans-serif; --display-style: normal;
    --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    --rainbow: linear-gradient(90deg, #EC4899, #F97316, #EAB308, #10B981, #0D9488, #1D4ED8, #6D28D9);
    color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.5; }
a { color: var(--accent); }
a:hover { opacity: .85; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------------ page + decoration */
.page { position: relative; min-height: 100vh; overflow: hidden; background-color: var(--bg); color: var(--ink);
    background-image: radial-gradient(360px 320px at 12% 6%, var(--w1), transparent 70%), radial-gradient(340px 320px at 96% 34%, var(--w2), transparent 70%),
        radial-gradient(380px 340px at 26% 92%, var(--w3), transparent 70%); display: flex; flex-direction: column; }
@media (min-width: 760px) {
    .page { background-image: radial-gradient(640px 520px at 10% 4%, var(--w1), transparent 70%), radial-gradient(620px 520px at 92% 30%, var(--w2), transparent 70%),
        radial-gradient(680px 560px at 30% 96%, var(--w3), transparent 70%); }
}
.deco-grid { background-image: linear-gradient(rgba(234, 88, 12, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(234, 88, 12, .07) 1px, transparent 1px),
    radial-gradient(360px 320px at 12% 6%, var(--w1), transparent 70%), radial-gradient(340px 320px at 96% 70%, var(--w2), transparent 70%);
    background-size: 28px 28px, 28px 28px, auto, auto; }
.deco-dots { background-image: radial-gradient(#D1D5DB 1.2px, transparent 1.6px), radial-gradient(360px 300px at 4% 0%, var(--w1), transparent 70%),
    radial-gradient(360px 340px at 100% 80%, var(--w2), transparent 70%); background-size: 22px 22px, auto, auto; }
.deco-film::before, .deco-film::after { content: ""; position: absolute; left: 0; right: 0; height: 14px; z-index: 2;
    background: radial-gradient(circle, #FFFFFF 3.5px, transparent 4px) 0 50% / 16px 14px repeat-x, var(--accent); }
.deco-film::before { top: 0; } .deco-film::after { bottom: 0; }
.deco-film > .qhead { margin-top: 14px; }
.floaters { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.floaters svg { position: absolute; animation: drift 5s ease-in-out infinite; }
@keyframes drift { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-8px) rotate(var(--r, 0deg)); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.14); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }
@keyframes pulse { 0%, 100% { transform: scale(1); box-shadow: 0 24px 50px -18px var(--b2); } 50% { transform: scale(1.05); } }
@keyframes bar { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
.beat { animation: beat 1.6s ease-in-out infinite; }

/* ------------------------------------------------------------------ columns */
.col { position: relative; z-index: 1; width: 100%; max-width: 460px; margin: 0 auto; padding: 0 20px; }
.col.read { max-width: 720px; }
.col.wide { max-width: 1200px; padding: 0 24px; }
main.col { flex: 1; padding-top: 26px; padding-bottom: 24px; display: flex; flex-direction: column; align-items: center; }
main.col.left { align-items: stretch; }

/* ------------------------------------------------------------------ header */
.qhead { position: relative; z-index: 3; width: 100%; max-width: 460px; margin: 0 auto; padding: 20px 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.qhead.center { justify-content: center; }
.qhead.read { max-width: 720px; }
.logo { text-decoration: none; font-weight: 900; font-size: 22px; letter-spacing: -.04em; color: var(--ink); white-space: nowrap; }
.logo .q { background: linear-gradient(90deg, var(--g1), var(--g2), var(--g3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo .four { background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brutal .logo { display: inline-flex; align-items: center; gap: 8px; }
.brutal .logo .four { -webkit-background-clip: border-box; background-clip: border-box; color: var(--ink); background: var(--marker); border: 2.5px solid var(--ink);
    border-radius: 10px; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.brutal .logo .q { color: var(--ink); background: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: #FFFFFF; font-size: 12px; font-weight: 700;
    color: var(--tile-ink); box-shadow: 0 6px 16px -10px rgba(17, 24, 39, .45); text-decoration: none; white-space: nowrap; }
.brutal .pill { border: 2px solid var(--ink); box-shadow: none; color: var(--ink); }
.pill.dark { background: var(--ink); color: #FFFFFF; }

/* ------------------------------------------------------------------ type */
.kicker { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #FFFFFF; color: var(--kicker); font-size: 12px; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 6px 16px -10px rgba(17, 24, 39, .4); }
.kicker.bare { background: none; box-shadow: none; padding: 0; letter-spacing: .12em; }
.ticket-style .kicker.bare, .ticket-style .display-kicker { font-family: var(--display); font-size: 22px; font-weight: 400; letter-spacing: .06em; color: var(--kicker); }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.title { margin: 16px 0 0; text-align: center; font-weight: 900; font-size: clamp(36px, 10.6vw, 46px); letter-spacing: -.04em; line-height: 1.02; color: var(--ink); overflow-wrap: break-word; }
.title.left { text-align: left; }
.title.s { font-size: clamp(30px, 8.4vw, 36px); }
.hl { font-family: var(--display); font-style: var(--display-style); background: linear-gradient(90deg, var(--g1), var(--g2), var(--g3)); -webkit-background-clip: text;
    background-clip: text; color: transparent; padding-right: .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ticket-style .title .hl, .past-style .title .hl, .grid-style .title .hl { font-family: Inter, system-ui, sans-serif; font-style: normal; }
.brutal .hl { background: var(--marker); color: var(--ink); -webkit-text-fill-color: var(--ink); padding: 0 .14em; border-radius: 10px; box-shadow: 0 4px 0 var(--ink);
    font-family: Inter, system-ui, sans-serif; font-style: normal; }
.sub { margin: 12px 0 0; text-align: center; font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 330px; }
.sub.left { text-align: left; max-width: none; }
.muted { color: var(--muted); }
.fine { margin: 0; padding: 10px 20px 18px; text-align: center; font-size: 12px; line-height: 1.5; color: var(--muted); position: relative; z-index: 1; }
.fine a { color: var(--muted); }
h2.h { margin: 0; font-weight: 900; font-size: 28px; letter-spacing: -.03em; line-height: 1.1; }

/* ------------------------------------------------------------------ cards, fields, buttons */
.card { width: 100%; margin-top: 26px; padding: 18px; border-radius: 28px; background: rgba(255, 255, 255, .8); border: 1px solid var(--line);
    box-shadow: 0 28px 50px -30px rgba(17, 24, 39, .35); display: flex; flex-direction: column; }
.card.solid { background: #FFFFFF; }
.brutal .card { background: #FFFFFF; border: 2.5px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.lbl { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-left: 8px; margin: 0 0 8px; }
.lbl + .in, .in + .lbl { margin-top: 0; }
.in { width: 100%; height: 54px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #FFFFFF; font: inherit; font-size: 17px;
    font-weight: 600; color: var(--ink); }
.in::placeholder { color: var(--muted); opacity: .7; font-weight: 500; }
.in:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.brutal .in { border: 2px solid var(--ink); }
.field + .field { margin-top: 14px; }
.row3 { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 10px; }
.row3 .in { padding: 0 14px; }
select.in { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; padding: 0 22px; border-radius: 999px; border: none;
    background: linear-gradient(90deg, var(--b1), var(--b2)); color: #FFFFFF; font: inherit; font-size: 17px; font-weight: 800; text-decoration: none; cursor: pointer;
    box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--b2) 65%, transparent); transition: transform .15s ease, box-shadow .15s ease; text-align: center; line-height: 1.2; }
.btn:hover { opacity: 1; transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled], .btn.off { background: color-mix(in srgb, var(--accent) 14%, #FFFFFF); color: color-mix(in srgb, var(--ink) 70%, #FFFFFF); box-shadow: none; cursor: default; transform: none; }
.btn.ghost { background: #FFFFFF; color: var(--tile-ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn.small { min-height: 48px; width: auto; font-size: 15px; font-weight: 650; }
.btn.dark { background: var(--ink); }
.brutal .btn { border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); background: var(--accent); }
.brutal .btn.ghost { background: #FFFFFF; color: var(--ink); }
.brutal .btn.yellow { background: var(--marker); color: var(--ink); }
.brutal .btn[disabled] { background: #F3F4F6; color: #6B7280; box-shadow: none; border-color: #D1D5DB; }
.btns { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.btns > form { display: contents; }
.btns .btn { min-height: 56px; font-size: 16px; padding: 0 14px; }
.waves { display: inline-flex; align-items: center; gap: 3px; height: 20px; }
.waves i { display: block; width: 4px; border-radius: 99px; background: linear-gradient(180deg, var(--g1), var(--g3)); }
.link { margin-top: 14px; font-weight: 700; font-size: 16px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; cursor: pointer; font-family: inherit; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ink); text-align: left; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--accent); }
.note { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }
.alert { width: 100%; margin-top: 18px; padding: 14px 16px; border-radius: 18px; background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; font-size: 14px; font-weight: 600; }
.alert.ok { background: #ECFDF5; border-color: #A7F3D0; color: #065F46; }

/* ------------------------------------------------------------------ scored runner */
.run-top { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 15px; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.prog { width: 100%; height: 8px; margin-top: 12px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 16%, #FFFFFF); overflow: hidden; }
.prog > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--g1), var(--g3)); transition: width .4s ease; }
.brutal .prog { border: 2px solid var(--ink); height: 12px; background: #FFFFFF; }
.brutal .prog > i { background: var(--accent); border-radius: 0; }
.stem { margin: 26px 0 0; font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; text-align: left; width: 100%; }
.prompt { margin: 8px 0 0; width: 100%; font-weight: 900; font-size: clamp(26px, 7.6vw, 34px); letter-spacing: -.035em; line-height: 1.1; text-align: left; overflow-wrap: anywhere; }
.prompt.emoji { text-align: center; font-size: 56px; letter-spacing: .08em; padding: 26px 10px; border-radius: 28px; background: #FFFFFF; box-shadow: 0 28px 50px -30px rgba(17, 24, 39, .35); }
.opts { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.opts.one { grid-template-columns: 1fr; }
.opt { position: relative; min-height: 64px; padding: 14px 16px; border-radius: 22px; border: 1.5px solid var(--line); background: #FFFFFF; color: var(--ink); font: inherit;
    font-size: 17px; font-weight: 700; line-height: 1.25; cursor: pointer; text-align: center; box-shadow: 0 14px 30px -24px rgba(17, 24, 39, .4);
    transition: transform .12s ease, border-color .12s ease, background .12s ease; overflow-wrap: anywhere; }
.opt:hover:not([disabled]) { transform: translateY(-2px); border-color: var(--accent); }
.opt .letter { display: block; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.opt.right { border-color: #16A34A; background: #DCFCE7; color: #14532D; }
.opt.wrong { border-color: #DC2626; background: #FEE2E2; color: #7F1D1D; }
.opt[disabled] { cursor: default; }
.brutal .opt { border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); border-radius: 18px; }
.brutal .opt:hover:not([disabled]) { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.ticket-style .opt { border: none; border-radius: 18px; background: radial-gradient(circle at 0 50%, transparent 9px, #FFFFFF 10px) left / 51% 100% no-repeat,
    radial-gradient(circle at 100% 50%, transparent 9px, #FFFFFF 10px) right / 51% 100% no-repeat; box-shadow: 0 18px 30px -22px rgba(76, 29, 149, .45); min-height: 72px; }
.ticket-style .opt.right { background: radial-gradient(circle at 0 50%, transparent 9px, #DCFCE7 10px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 9px, #DCFCE7 10px) right / 51% 100% no-repeat; }
.ticket-style .opt.wrong { background: radial-gradient(circle at 0 50%, transparent 9px, #FEE2E2 10px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 9px, #FEE2E2 10px) right / 51% 100% no-repeat; }
.feedback { width: 100%; margin-top: 18px; min-height: 24px; text-align: center; }
.feedback strong { display: block; font-size: 17px; }
.feedback span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
.run-cta { width: 100%; margin-top: auto; padding-top: 22px; }

/* ------------------------------------------------------------------ results */
.result-kicker { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--kicker); text-align: center; }
.result-kicker.mono { color: var(--muted); letter-spacing: .2em; }
.names { margin: 6px 0 0; text-align: center; font-weight: 900; font-size: clamp(32px, 9vw, 40px); letter-spacing: -.04em; line-height: 1.05; overflow-wrap: anywhere; }
.names .amp { font-family: var(--display); font-style: var(--display-style); background: linear-gradient(90deg, var(--g1), var(--g3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.heart { position: relative; width: min(260px, 70vw); margin: 18px auto 0; }
.heart svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 26px 30px color-mix(in srgb, var(--b2) 35%, transparent)); }
.heart .pct { position: absolute; inset: 0; padding-bottom: 8%; display: flex; align-items: center; justify-content: center; color: #FFFFFF; font-weight: 900;
    font-size: clamp(64px, 19vw, 84px); letter-spacing: -.05em; }
.heart .pct small { font-size: .38em; margin-left: .04em; align-self: flex-end; margin-bottom: 1.6em; }
.verdict { margin: 18px 0 0; text-align: center; font-family: var(--display); font-style: var(--display-style); font-weight: 800; font-size: clamp(30px, 8vw, 36px);
    line-height: 1.1; color: var(--accent); letter-spacing: -.01em; }
.summary { margin: 8px 0 0; text-align: center; font-size: 16px; line-height: 1.5; color: var(--muted); }
.sections { width: 100%; margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.sec { padding: 16px 18px; border-radius: 22px; background: rgba(255, 255, 255, .85); border: 1px solid var(--line); text-align: left; }
.sec h3 { margin: 0; font-size: 16px; font-weight: 800; color: var(--ink); }
.sec p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.big-num { margin: 4px 0 0; font-weight: 900; font-size: clamp(110px, 34vw, 150px); letter-spacing: -.06em; line-height: 1; text-align: center;
    background: linear-gradient(90deg, var(--g1), var(--g2), var(--g3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.band { display: inline-block; margin-top: 14px; padding: 10px 22px; border-radius: 999px; background: linear-gradient(90deg, var(--b1), var(--b2)); color: #FFFFFF;
    font-weight: 800; font-size: 17px; text-align: center; }
.brutal .band { border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); background: var(--accent); }
.curve { width: 100%; margin-top: 22px; padding: 18px 14px 12px; border-radius: 28px; background: #FFFFFF; border: 1px solid var(--line); }
.curve svg { display: block; width: 100%; height: auto; }
.stats { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.stats.two { grid-template-columns: 1fr 1fr; }
.stat { padding: 14px 10px; border-radius: 20px; background: #FFFFFF; border: 1px solid var(--line); text-align: center; }
.stat b { display: block; font-size: 26px; font-weight: 900; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.stat span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.brutal .stat { border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.brutal .stat.hot { background: var(--marker); }
.stars { display: flex; justify-content: center; align-items: flex-end; gap: 10px; margin-top: 14px; }
.stars svg:nth-child(2) { width: 74px; height: 74px; }
.score-line { margin: 10px 0 0; text-align: center; font-weight: 900; font-size: clamp(96px, 28vw, 128px); letter-spacing: -.06em; line-height: .95; color: var(--ink); }
.score-line small { font-size: .4em; color: var(--muted); letter-spacing: -.03em; }
.marquee { margin: 6px 0 0; text-align: center; font-family: var(--display); font-weight: 400; font-size: clamp(56px, 17vw, 76px); line-height: .95; letter-spacing: .01em;
    background: linear-gradient(90deg, var(--g1), var(--g2), var(--g3)); -webkit-background-clip: text; background-clip: text; color: transparent; text-transform: uppercase; }
.ticket { width: 100%; margin-top: 24px; display: grid; grid-template-columns: 1.45fr 1fr; border-radius: 28px; overflow: hidden; box-shadow: 0 28px 50px -30px rgba(76, 29, 149, .45); }
.ticket > div { padding: 22px 20px; }
.ticket .stub { background: #FFFFFF; border-right: 3px dashed var(--accent); }
.ticket .side { background: var(--accent); color: #FFFFFF; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; text-align: center; }
.ticket .side b { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; }
.ticket .side span { font-size: 13px; font-weight: 700; opacity: .9; }
.ticket .lbl { padding: 0; color: var(--muted); }
.ticket .score { font-weight: 900; font-size: 84px; line-height: .9; letter-spacing: -.05em; }
.ticket .score small { font-size: .45em; color: var(--muted); }
.tag { display: inline-block; margin-top: 10px; padding: 8px 16px; border-radius: 999px; background: var(--soft); color: var(--tile-ink); font-weight: 800; font-size: 15px; }
.pair { position: relative; width: 100%; margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pair .side { position: relative; aspect-ratio: 3 / 4; border-radius: 30px; overflow: hidden; background: linear-gradient(160deg, #A7F3D0, #6EE7B7); }
.pair .side.b { background: linear-gradient(160deg, #DDD6FE, #C4B5FD); }
.pair .side .who { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; background: #FFFFFF; font-size: 13px; font-weight: 800; color: var(--tile-ink); }
.pair .side.b .who { left: auto; right: 14px; color: #6D28D9; }
.pair .side svg { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 82%; }
.pair .side .cap { position: absolute; left: 14px; right: 14px; bottom: 14px; font-size: 14px; font-weight: 800; color: var(--tile-ink); }
.pair .side.b .cap { text-align: right; color: #4C1D95; }
.pair .badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 120px; height: 120px; border-radius: 50%; background: #FFFFFF; display: flex;
    flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 20px 40px -18px rgba(17, 24, 39, .45); }
.pair .badge b { font-size: 38px; font-weight: 900; letter-spacing: -.04em; line-height: 1; background: linear-gradient(90deg, var(--g1), var(--g3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pair .badge span { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.life { width: 100%; margin-top: 4px; border-radius: 30px; background: #FFFFFF; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 28px 50px -30px rgba(42, 31, 20, .45); }
.life .art { position: relative; height: 170px; background: linear-gradient(135deg, #99F6E4, #5EEAD4 45%, #FDE68A); display: flex; align-items: center; justify-content: center; }
.life .art .era { position: absolute; top: 16px; left: 16px; padding: 8px 16px; border-radius: 999px; background: #FFFFFF; font-family: 'Cinzel', Georgia, serif; font-weight: 800;
    font-size: 14px; letter-spacing: .12em; color: #92400E; }
.life .body { padding: 20px 20px 22px; text-align: left; }
.life .body .k { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.life .body h2 { margin: 8px 0 0; font-family: 'Cinzel', Georgia, serif; font-weight: 800; font-size: clamp(26px, 7.4vw, 32px); line-height: 1.1; color: var(--ink); }
.life .body p { margin: 12px 0 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
.lives-k { width: 100%; margin: 24px 0 10px; font-family: 'Cinzel', Georgia, serif; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 14px; color: var(--muted); }
.star-name { margin: 8px 0 0; text-align: center; font-weight: 900; font-size: clamp(34px, 10vw, 44px); letter-spacing: -.04em; line-height: 1.05;
    background: linear-gradient(90deg, var(--g1), var(--g2), var(--g3)); -webkit-background-clip: text; background-clip: text; color: transparent; overflow-wrap: anywhere; }
.list { width: 100%; margin-top: 22px; padding: 18px; border-radius: 28px; background: #FFFFFF; border: 1px solid var(--line); }
.list .row { display: flex; align-items: center; gap: 14px; padding: 8px 0; }
.list .row .dot { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #FDE68A, #FECDD3); flex: none; }
.list .row .name { flex: 1; font-weight: 800; }
.list .row .name span { font-weight: 500; color: var(--muted); }
.list .row .p { font-weight: 800; color: var(--accent); }
.locked { filter: blur(5px); user-select: none; }
.wait { width: 100%; margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.spinner { width: 64px; height: 64px; border-radius: 50%; border: 6px solid color-mix(in srgb, var(--accent) 18%, #FFFFFF); border-top-color: var(--accent); animation: spin 1s linear infinite; }

/* ------------------------------------------------------------------ face screen */
.frame { width: min(240px, 64vw); aspect-ratio: 240 / 280; margin-top: 26px; border-radius: 36px; background: #FFFFFF; border: 1px solid var(--line); position: relative;
    box-shadow: 0 28px 50px -30px rgba(17, 24, 39, .35); display: flex; align-items: center; justify-content: center; }
.frame.gold { border: 3px solid transparent; background: linear-gradient(#FFFFFF, #FFFFFF) padding-box, linear-gradient(160deg, #D4A017, #F5D77A, #BE123C) border-box; }
.frame .oval { width: 66%; height: 74%; border-radius: 50%; border: 3px dashed var(--accent); overflow: hidden; display: flex; align-items: flex-end; justify-content: center;
    background: color-mix(in srgb, var(--accent) 6%, #FFFFFF); }
.frame.gold .oval { border-color: #D4A017; }
.frame .oval svg { width: 90%; }
.frame .cap { position: absolute; left: 10px; right: 10px; bottom: 12px; text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.soon { display: inline-block; margin-top: 18px; padding: 8px 16px; border-radius: 999px; background: var(--ink); color: #FFFFFF; font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }

/* ------------------------------------------------------------------ voice */
.voice-space { flex: 1; min-height: 40px; }
.bubble { align-self: flex-start; max-width: 88%; margin-top: 28px; padding: 16px 20px; border-radius: 24px 24px 24px 8px; background: #FFFFFF; border: 1px solid var(--line);
    box-shadow: 0 18px 36px -26px rgba(17, 24, 39, .4); text-align: left; }
.bubble b { display: block; font-size: 14px; font-weight: 700; color: var(--accent); }
.past-style .bubble b { font-family: 'Cinzel', Georgia, serif; letter-spacing: .12em; text-transform: uppercase; }
.bubble p { margin: 4px 0 0; font-size: 17px; line-height: 1.45; color: var(--ink); }
.brutal .bubble { border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); border-radius: 22px; }
.mic { margin-top: 30px; width: 124px; height: 124px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 5px;
    background: radial-gradient(circle at 30% 25%, var(--g1), transparent 60%), linear-gradient(140deg, var(--b1), var(--b2) 70%, var(--g3)); box-shadow: 0 24px 50px -18px var(--b2);
    text-decoration: none; }
.mic i { display: block; width: 7px; border-radius: 9px; background: #FFFFFF; }
.mic.live { animation: pulse 1.6s ease-in-out infinite; }
.mic.live i { animation: bar 1s ease-in-out infinite; }
.mic.live i:nth-child(2n) { animation-delay: .2s; } .mic.live i:nth-child(3n) { animation-delay: .4s; }
.brutal .mic { background: var(--accent); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.brutal .mic i:nth-child(odd) { background: var(--marker); }
.mic-label { margin: 16px 0 0; font-size: 17px; font-weight: 700; color: var(--tile-ink); text-align: center; }
.status { margin: 6px 0 0; min-height: 20px; font-size: 14px; color: var(--muted); text-align: center; }

/* ------------------------------------------------------------------ landing */
.steps { width: 100%; margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.steps h2 { text-align: center; margin-bottom: 4px; }
.step { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 22px; background: rgba(255, 255, 255, .75); border: 1px solid var(--line); text-align: left; }
.step .n { flex: none; width: 40px; height: 40px; border-radius: 999px; background: var(--soft); color: var(--tile-ink); font-weight: 900; display: flex; align-items: center; justify-content: center; }
.step strong { display: block; font-size: 15px; }
.step span { color: var(--muted); font-size: 15px; line-height: 1.4; }
.brutal .step { border: 2.5px solid var(--ink); background: #FFFFFF; box-shadow: 4px 4px 0 var(--ink); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { padding: 10px 14px; border-radius: 999px; background: #FFFFFF; border: 1px solid var(--line); font-size: 14px; font-weight: 650; color: var(--ink); text-decoration: none; }
.teaser { position: relative; width: 170px; height: 155px; margin-top: 14px; }
.teaser .blur { position: absolute; inset: 0; padding-top: 12px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 48px;
    letter-spacing: -.05em; color: #FFFFFF; filter: blur(7px); user-select: none; }
.dock { position: sticky; bottom: 0; z-index: 5; width: 100%; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(8px); border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.dock .t { flex: 1; font-size: 13px; line-height: 1.35; }
.dock .t span { color: var(--muted); }
.dock .btn { width: auto; min-height: 52px; font-size: 16px; }
@media (min-width: 760px) { .dock { display: none; } }
.foot { position: relative; z-index: 1; padding: 36px 20px 24px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); text-align: center; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.foot a { color: var(--muted); }

/* ------------------------------------------------------------------ blog */
.blog-head { width: 100%; padding-top: 26px; }
.featured { display: block; width: 100%; margin-top: 24px; border-radius: 28px; overflow: hidden; background: #FFFFFF; border: 1px solid var(--line); text-decoration: none; color: inherit;
    box-shadow: 0 28px 50px -30px rgba(17, 24, 39, .35); }
.cover { position: relative; height: 210px; background: linear-gradient(135deg, var(--g1), var(--g2) 55%, var(--g3)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover svg { width: 96px; height: 96px; }
.featured .body { padding: 20px; }
.meta { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--kicker); }
.featured h2 { margin: 8px 0 0; font-size: 24px; font-weight: 900; letter-spacing: -.03em; line-height: 1.15; }
.featured p { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.skip { width: 100%; margin-top: 22px; padding: 20px; border-radius: 26px; background: linear-gradient(135deg, var(--tile-ink), color-mix(in srgb, var(--tile-ink) 70%, var(--accent)));
    color: #FFFFFF; display: flex; align-items: center; gap: 14px; }
.skip .t { flex: 1; } .skip strong { display: block; font-size: 18px; } .skip span { font-size: 14px; opacity: .85; }
.skip .btn { width: auto; min-height: 48px; background: #FFFFFF; color: var(--tile-ink); box-shadow: none; font-size: 15px; flex: none; }
.posts { width: 100%; margin-top: 10px; display: flex; flex-direction: column; gap: 14px; }
.post { display: flex; gap: 16px; align-items: center; text-decoration: none; color: inherit; }
.post .thumb { flex: none; width: 96px; height: 80px; border-radius: 20px; background: linear-gradient(135deg, var(--g1), var(--g3)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.post .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post .thumb svg { width: 34px; height: 34px; }
.post h3 { margin: 4px 0 0; font-size: 17px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.endcard { width: 100%; margin-top: 30px; padding: 26px 20px; border-radius: 28px; background: #FFFFFF; border: 1px solid var(--line); text-align: center; }
.endcard h2 { margin: 0 0 18px; font-size: 28px; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; }
.prose { width: 100%; font-size: 17px; line-height: 1.7; color: var(--ink); }
.prose h2 { font-size: 24px; letter-spacing: -.02em; margin: 32px 0 8px; line-height: 1.2; }
.prose p { margin: 14px 0; color: color-mix(in srgb, var(--ink) 82%, #FFFFFF); }
.empty { width: 100%; margin-top: 24px; padding: 24px; border-radius: 24px; border: 2px dashed var(--line); text-align: center; color: var(--muted); }
@media (min-width: 760px) {
    .posts.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
}

/* ------------------------------------------------------------------ the site home (all quizzes, 1280) */
.site { min-height: 100vh; background-color: #FFFFFF; color: #111827;
    background-image: radial-gradient(520px 420px at 8% 4%, rgba(251, 207, 232, .6), transparent 70%), radial-gradient(520px 420px at 92% 10%, rgba(254, 215, 170, .55), transparent 70%),
        radial-gradient(560px 460px at 50% 52%, rgba(209, 250, 229, .5), transparent 70%), radial-gradient(520px 420px at 90% 92%, rgba(221, 214, 254, .6), transparent 70%); }
.site a { color: #111827; }
.site-head { max-width: 1200px; margin: 0 auto; padding: 20px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.site-head .logo { font-size: 26px; letter-spacing: -.045em; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 15px; font-weight: 650; }
.site-nav a, .site-nav button.navlink { padding: 10px 14px; border-radius: 999px; text-decoration: none; background: none; border: 0; font: inherit; color: #111827; cursor: pointer; }
.site-nav a:hover, .site-nav button.navlink:hover { background: rgba(17, 24, 39, .05); opacity: 1; }
.site-nav .cta { padding: 12px 20px; background: #111827; color: #FFFFFF !important; font-weight: 800; box-shadow: 0 12px 26px -14px rgba(17, 24, 39, .5); }
.site-nav .cta:hover { background: #1F2937; }
.lang-select { height: 44px; padding: 0 30px 0 14px; border-radius: 999px; border: 1px solid #E5E7EB; background: #FFFFFF; font: inherit; font-size: 14px; font-weight: 700; color: #111827;
    appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #111827 50%), linear-gradient(135deg, #111827 50%, transparent 50%);
    background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.hero { max-width: 1200px; margin: 0 auto; padding: 56px 24px 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero .copy { flex: 1 1 480px; min-width: 0; }
.hero .chip { display: inline-block; padding: 8px 14px; font-size: 13px; font-weight: 700; color: #374151; }
.hero h1 { margin: 20px 0 0; font-weight: 900; font-size: clamp(44px, 6vw, 76px); letter-spacing: -.045em; line-height: .98; }
.rb { background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin: 20px 0 0; font-size: 19px; line-height: 1.55; color: #4B5563; max-width: 500px; }
.hero .ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .ctas a { padding: 16px 28px; border-radius: 999px; text-decoration: none; font-size: 17px; font-weight: 800; display: inline-flex; align-items: center; gap: 10px; }
.hero .ctas .primary { background: #111827; color: #FFFFFF; box-shadow: 0 14px 30px -14px rgba(17, 24, 39, .55); }
.hero .ctas .secondary { background: #FFFFFF; border: 1px solid #D1D5DB; font-weight: 700; padding: 16px 24px; }
.hero .then { margin: 14px 0 0; font-size: 13px; color: #6B7280; }
.hero .art { flex: 1 1 420px; min-width: 0; position: relative; height: 420px; }
.hero .art .card-a, .hero .art .card-b, .hero .art .card-c, .hero .art .card-d { position: absolute; padding: 20px; border-radius: 28px; }
.hero .art .card-a { left: 6%; top: 20px; width: 230px; background: #FFE4EF; transform: rotate(-7deg); box-shadow: 0 30px 50px -30px rgba(157, 23, 77, .6); color: #9D174D; }
.hero .art .card-b { right: 4%; top: 0; width: 210px; background: #FFEDD5; transform: rotate(6deg); box-shadow: 0 30px 50px -30px rgba(194, 65, 12, .6); color: #C2410C; }
.hero .art .card-c { left: 22%; bottom: 10px; width: 260px; background: #D1FAE5; transform: rotate(3deg); box-shadow: 0 30px 50px -30px rgba(4, 120, 87, .6); color: #047857; }
.hero .art .card-d { right: 8%; bottom: 70px; padding: 12px 16px; border-radius: 999px; background: #EDE9FE; transform: rotate(-4deg); font-weight: 900; font-size: 16px; color: #5B21B6; }
.hero .art p { margin: 0; }
.hero .art .k { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero .art .v { margin-top: 8px; font-weight: 900; font-size: 46px; letter-spacing: -.05em; line-height: 1.05; }
.hero .art .w { font-size: 14px; font-weight: 700; }
.hero .art svg { display: block; margin-top: 10px; }
.sect { max-width: 1200px; margin: 0 auto; padding: 40px 24px; }
.sect-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.sect h2 { margin: 0; font-weight: 900; font-size: clamp(30px, 4vw, 40px); letter-spacing: -.035em; }
.tiles { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tile { text-decoration: none; padding: 22px; border-radius: 26px; background: var(--tile); display: flex; flex-direction: column; gap: 10px; transition: transform .18s ease, box-shadow .18s ease; color: var(--tile-ink) !important; }
.tile:hover { opacity: 1; transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(17, 24, 39, .45); }
.tile .ic { width: 52px; height: 52px; border-radius: 16px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.tile strong { font-size: 21px; font-weight: 900; letter-spacing: -.02em; color: var(--tile-ink); }
.tile .tl { font-size: 15px; line-height: 1.45; color: var(--tile-text); }
.tile .go { margin-top: auto; padding-top: 4px; font-size: 14px; font-weight: 800; color: var(--tile-ink); }
.tile.brutal-tile { border: 2px solid #111827; box-shadow: 4px 4px 0 #111827; }
.tile.brutal-tile .ic { border: 2px solid #111827; }
.tile.brutal-tile .go { color: #1D4ED8; }
.tile.soon-tile { background: transparent; border: 2px dashed #D1D5DB; justify-content: center; gap: 8px; color: #111827 !important; }
.tile.soon-tile:hover { transform: none; box-shadow: none; }
.tile .badge { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: #111827; color: #FFFFFF; font-size: 12px; font-weight: 700; }
.how { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.how > div { padding: 24px; border-radius: 24px; background: #FFFFFF; border: 1px solid #E5E7EB; }
.how .n { font-weight: 900; font-size: 40px; line-height: 1; }
.how h3 { margin: 8px 0 0; font-size: 20px; font-weight: 900; }
.how p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: #4B5563; }
.langs { max-width: 1200px; margin: 0 auto; padding: 24px 24px 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.langs strong { margin-right: 6px; }
.langs a { padding: 10px 16px; border-radius: 999px; background: #FFFFFF; border: 1px solid #E5E7EB; font-weight: 700; text-decoration: none; }
.langs a[aria-current] { background: #111827; color: #FFFFFF !important; border-color: #111827; }
.site-foot { border-top: 1px solid #E5E7EB; background: rgba(255, 255, 255, .85); }
.site-foot > div { max-width: 1200px; margin: 0 auto; padding: 28px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; font-size: 14px; color: #4B5563; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-foot nav a, .site-foot nav button { color: #4B5563; background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }
.panel { margin-top: 16px; padding: 22px; border-radius: 24px; background: #FFFFFF; border: 1px solid #E5E7EB; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.panel .ic { width: 52px; height: 52px; border-radius: 16px; background: #111827; display: flex; align-items: center; justify-content: center; flex: none; }
.panel .t { flex: 1 1 240px; } .panel strong { display: block; font-size: 18px; } .panel span { color: #4B5563; font-size: 15px; }
.panel input { flex: 1 1 260px; height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid #E5E7EB; font: inherit; font-size: 14px; background: #F9FAFB; color: #111827; }
@media (max-width: 759px) {
    .hero { padding-top: 28px; gap: 28px; }
    .hero .art { height: 300px; flex-basis: 100%; }
    .hero .art .card-a { left: 0; width: 200px; } .hero .art .card-b { right: 0; width: 170px; top: 96px; }
    .hero .art .card-c { left: 4%; bottom: 0; width: 230px; } .hero .art .card-d { right: 0; bottom: 34px; }
    .hero .art .v { font-size: 38px; }
    .site-nav { width: 100%; justify-content: flex-start; }
    .site-nav .hide-s { display: none; }
}

/* ------------------------------------------------------------------ engine pages (login, paywall, legal) */
.eng main { flex: 1; width: 100%; max-width: 520px; margin: 0 auto; padding: 24px 20px 64px; position: relative; z-index: 1; }
.eng h1 { font-weight: 900; font-size: clamp(32px, 8vw, 44px); letter-spacing: -.04em; line-height: 1.05; margin: 18px 0 14px; }
.eng .card { margin-top: 18px; padding: 22px; background: #FFFFFF; }
.eng .card .btn { margin-top: 6px; }
.eng label { display: block; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 14px 0 8px 8px; }
.eng label.muted { text-transform: none; letter-spacing: 0; font-size: 15px; margin: 0; display: inline-flex; gap: 8px; align-items: center; }
.eng input:not([type=radio]):not([type=checkbox]), .eng select { width: 100%; height: 54px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #FFFFFF; font: inherit; font-size: 17px; font-weight: 600; color: var(--ink); }
.eng .row { display: flex; gap: 18px; padding-left: 8px; }
.eng .error { color: #B91C1C; font-size: 14px; margin: 6px 0 0 8px; }
.eng .muted { font-size: 14px; }
.eng article h2 { font-size: 22px; margin-top: 28px; }
.eng .pagination, .eng nav[role=navigation] { margin-top: 20px; }

/* ------------------------------------------------------------------ calm motion when asked */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.qhead .logo .four { background: none; color: var(--ink); }
.hero h1 .rb { display: inline-block; }
.past-style main > .kicker { font-family: 'Cinzel', Georgia, serif; letter-spacing: .16em; font-size: 13px; }
.ticket-style main > .kicker { background: none; box-shadow: none; padding: 0; font-family: var(--display); font-size: 24px; font-weight: 400; letter-spacing: .06em; }
.frame { align-items: flex-start; padding-top: 22px; }
.frame .oval { height: 68%; }
.site-home-hello { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: #4B5563; }
@media (max-width: 759px) {
    .hero .art { display: none; }
    .site-nav { width: auto; margin-left: auto; }
    .site-head { flex-wrap: nowrap; }
    .site-nav .cta { padding: 10px 16px; }
}
.heart .pct { align-items: center; }
.heart .pct small { align-self: auto; margin: 0 0 0 .04em; position: relative; top: .5em; }
.btns .btn { font-size: 15px; }
.prompt:focus { outline: none; }
.grid-style .hl, .ticket-style .hl, .past-style .hl { font-family: Inter, system-ui, sans-serif; font-style: normal; }
.skip { flex-wrap: wrap; }
.skip .t { flex: 1 1 170px; }
.frame .oval { height: 62%; } .site-nav form { display: inline; } @media (max-width: 759px) { .site-nav form.hide-s { display: none; } }
