body { min-height: 100dvh; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 10px;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px; background: linear-gradient(var(--bg) 60%, transparent); }
.mark { width: 44px; height: auto; border-radius: 10px; }
.steps { flex: 1; display: flex; gap: 4px; }
.steps i { flex: 1; height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; position: relative; }
.steps i.done::after, .steps i.now::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--grad), var(--copper), var(--green)); }
.steps i.now::after { animation: fillStep 280ms var(--ease-out) both; }
@keyframes fillStep { from { transform: translateX(calc(var(--fill-sign, -1) * 100%)); } }
.hud { display: flex; gap: 6px; }
.xp, .streak { display: inline-flex; gap: 4px; align-items: center; padding: 6px 10px; border-radius: 999px; font-size: .9rem;
  background: var(--card2); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.xp b { color: var(--gold); }
.xp.bump { animation: bump .35s var(--ease-back); }
@keyframes bump { 40% { transform: scale(1.35);  } }

main { position: relative; z-index: 1; flex: 1; width: 100%; max-width: 520px; margin: 0 auto; padding: 6px 16px 24px; }
.loading { text-align: center; padding-top: 12vh; color: var(--muted); }
.loading img { margin: 0 auto; }
.foot { position: relative; z-index: 1; text-align: center; font-size: .75rem; color: var(--muted); padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); }
.foot a { color: var(--muted); text-decoration: none; }

h1 { font-size: clamp(1.7rem, 7.5vw, 2.3rem); line-height: 1.1; margin: 8px 0 12px; letter-spacing: -.01em; }
h2 { font-size: 1.35rem; line-height: 1.2; margin: 6px 0 12px; }
p.lead { color: #d9cdbb; font-size: 1.05rem; margin: 0 0 14px; }
.card { padding: 18px; margin: 12px 0; }
.center { text-align: center; }

/* Welcome */
.hero-logo { width: min(68vw, 280px); height: auto; margin: 4px auto 0; }

.howto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.howto div { padding: 12px 6px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); text-align: center; font-size: .85rem; }

/* Stats */
.stat { display: flex; gap: 14px; align-items: center; }
.stat .big { font-size: 3rem; font-weight: 900; line-height: 1; min-width: 4.2ch; font-variant-numeric: tabular-nums; }
.stat p { margin: 0; color: #d9cdbb; }
.ring { --p: 0; width: 86px; height: 86px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 1.3rem;
  background: conic-gradient(var(--copper) calc(var(--p) * 1%), rgba(255, 255, 255, .08) 0); position: relative; }
.ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--bg2); }
.ring span { position: relative; }

/* Points list */
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.points li { display: flex; gap: 12px; padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.points li b { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--copper), var(--green)); color: #10120c; }

/* Flip cards */
.flips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.flip { perspective: 900px; min-height: 140px; text-align: start; padding: 0; }
.flip:last-child:nth-child(odd) { grid-column: span 2; }
.flip .in { position: relative; width: 100%; height: 100%; min-height: 140px; transition: transform .7s var(--ease-back); transform-style: preserve-3d; }
.flip.on .in { transform: rotateY(180deg); }
.flip .face { position: absolute; inset: 0; border-radius: 18px; padding: 14px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); }
.flip .front { background: linear-gradient(150deg, rgba(227, 137, 79, .22), rgba(143, 174, 106, .12)); }
.flip .front .n { font-size: 2rem; font-weight: 900; color: var(--copper2); }
.flip .front .t { font-weight: 800; font-size: 1.05rem; }
.flip .front small { color: var(--muted); }
.flip .back { transform: rotateY(180deg); background: #1f2618; font-size: .95rem; }
.flip .back b { color: var(--green2); }
.collect { display: flex; justify-content: space-between; align-items: center; margin: 4px 2px 10px; color: var(--muted); font-size: .9rem; }

/* Swipe card */
.deck { position: relative; height: 300px; margin: 8px 0 14px; touch-action: none; }
.deck::before, .deck::after { content: ""; position: absolute; inset: 14px 14px -10px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); transform: rotate(-3deg); }
.deck::after { transform: rotate(2.5deg); inset: 8px 8px -5px; }
.swipe { position: absolute; inset: 0; z-index: 2; border-radius: 24px; padding: 15px; overflow: hidden; isolation: isolate; display: flex; flex-direction: column;
  background: linear-gradient(160deg, #2a2418, #1a1f14); border: 1px solid rgba(246, 181, 130, .35); box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
  touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; will-change: transform; }
.swipe .q { font-size: 1.35rem; font-weight: 750; line-height: 1.3; margin: auto 0; }
.swipe .tag { position: absolute; top: 18px; padding: 6px 12px; border-radius: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; opacity: 0; border: 3px solid; transition: opacity .1s; }
.swipe .tag.r { right: 18px; color: var(--green2); transform: rotate(10deg); }
.swipe .tag.l { left: 18px; color: var(--red); transform: rotate(-10deg); }
.swipe .tag.u { left: 50%; top: auto; bottom: 18px; transform: translateX(-50%); color: var(--copper2); }
.swipe .hint { display: flex; justify-content: space-between; font-size: .78rem; color: var(--cream); direction: ltr; gap: 5px; }
.swipe.fly { transition: transform .45s var(--ease-out), opacity .45s; }
.choices { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 8px; }
.choice { padding: 14px 6px; border-radius: 16px; font-weight: 800; font-size: .95rem; border: 1px solid var(--line); background: var(--card2); transition: transform .15s; }
.choice:active { transform: scale(.94); }
.choice .ic { display: block; font-size: 1.5rem; }
.choice.stop, .choice.not { color: #ffb3a6; }
.choice.check, .choice.depends { color: var(--copper2); }
.choice.publish, .choice.ethical { color: var(--green2); }
.choice.sel { outline: 3px solid currentColor; background: rgba(255, 255, 255, .1); animation: pop .4s var(--ease-back); }

/* Result */
.result { padding: 20px; border-radius: 24px; text-align: center; margin: 10px 0 14px; }
.result.ok { background: radial-gradient(circle at 50% 0, rgba(143, 174, 106, .35), rgba(143, 174, 106, .06)); border: 1px solid rgba(143, 174, 106, .5); }
.result.bad { background: radial-gradient(circle at 50% 0, rgba(229, 101, 79, .3), rgba(229, 101, 79, .05)); border: 1px solid rgba(229, 101, 79, .45); }
.result .emoji { font-size: 3.2rem; display: block; animation: pop .3s var(--ease-back) both; }
.result h2 { margin: 6px 0; }
.result .gain { display: inline-block; font-weight: 900; color: var(--gold); font-size: 1.3rem; animation: floatUp .4s var(--ease-out) both; }
@keyframes floatUp { 0% { opacity: 0; transform: translateY(14px) scale(.7); } 30% { opacity: 1; transform: none; } }
.sub { color: var(--muted); font-size: .88rem; margin: 6px 0 8px; }

/* Badge */
.medal { width: 170px; height: 170px; margin: 10px auto; border-radius: 50%; display: grid; place-items: center; font-size: 4.4rem;
  background: conic-gradient(from 0deg, var(--copper), var(--gold), var(--green), var(--copper)); animation: spinIn 380ms var(--ease-back) both; position: relative; }
.medal::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #2d3322, #12150e); }
.medal span { position: relative; }
@keyframes spinIn { from { transform: rotate(-12deg) scale(.8); opacity: 0; } }

/* Priorities */
.chips { display: grid; gap: 8px; }
.chip { display: flex; align-items: center; gap: 12px; text-align: start; padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: transform .15s; }
.chip .box { flex: none; width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--muted); display: grid; place-items: center; font-weight: 900; transition: transform .25s var(--ease-back); }
.chip.on { background: rgba(227, 137, 79, .14); border-color: rgba(227, 137, 79, .5); }
.chip.on .box { background: var(--copper); border-color: var(--copper); color: #10120c; transform: rotate(360deg); }
.chip:disabled { opacity: .45; }
.counter { font-weight: 800; color: var(--copper2); }
.cta { display: block; width: 100%; padding: 17px; border-radius: var(--control); font-weight: 900; font-size: 1.05rem; color: #14160f; text-align: center; text-decoration: none;
  background: linear-gradient(100deg, var(--copper2), var(--copper) 50%, var(--green)); margin: 14px 0 6px; }
.cta:disabled { filter: grayscale(.8); opacity: .5; }
.cta.yt { background: linear-gradient(100deg, var(--copper2), var(--copper)); }
.sticky { position: sticky; bottom: 10px; z-index: 3; }

.waiting { text-align: center; color: var(--muted); padding: 14px; }


.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; padding: 12px 18px; border-radius: 14px;
  background: #2a2e22; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); width: max-content; max-width: 90vw; text-align: center; }
.net { position: fixed; top: calc(64px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); z-index: 20; font-size: .8rem; padding: 6px 12px; border-radius: 999px; background: rgba(229, 101, 79, .2); color: #ffc4b8; }

/* Quiz */
.qtop { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.tnum { font-variant-numeric: tabular-nums; color: var(--muted); }
.tnum b { font-size: 1.4rem; color: var(--cream); }
.timer { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; margin: 8px 0 12px; }
.timer i { display: block; height: 100%; background: linear-gradient(var(--grad), var(--green), var(--gold), var(--copper)); transform-origin: var(--origin); will-change: transform; }
.timer.hurry i { background: var(--red); }

.qcard { padding: 20px; margin-bottom: 12px; }
.qcard h2 { margin: 0; font-size: 1.25rem; }
.opts { display: grid; gap: 10px; }
.opt { display: flex; gap: 12px; align-items: center; text-align: start; padding: 14px; border-radius: 16px; background: var(--card2); border: 1px solid var(--line); font-weight: 600; transition: transform .15s; }
.opt:active { transform: scale(.97); }
.opt .letter { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 900; background: rgba(255, 255, 255, .08); color: var(--copper2); }
.opt.right { background: rgba(143, 174, 106, .25); border-color: var(--green); animation: pop .3s var(--ease-back); }
.opt.right .letter { background: var(--green); color: #10120c; }
.opt.wrong { background: rgba(229, 101, 79, .2); border-color: var(--red); animation: shake .3s; }
.opt.wrong .letter { background: var(--red); color: #10120c; }
.opt:disabled:not(.right):not(.wrong) { opacity: .45; }
.src { font-size: .78rem; color: var(--muted); margin: 6px 0 0; }

/* Leaderboard */
.lb { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.lb li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.lb li.me { background: rgba(227, 137, 79, .2); outline: 1px solid var(--copper); }
.lb .rk { width: 28px; text-align: center; font-weight: 900; }
.lb .nm { flex: 1; }
.lb .score { color: var(--gold); font-variant-numeric: tabular-nums; }

/* Topics */
.topic-head { display: flex; gap: 14px; align-items: center; }
.topic-head h1 { margin: 0; font-size: clamp(1.4rem, 6.4vw, 1.9rem); }
.ticon { flex: none; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 2.1rem;
  background: linear-gradient(145deg, rgba(227, 137, 79, .3), rgba(143, 174, 106, .2)); border: 1px solid var(--line); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); margin-top: 12px; }
.tab { padding: 11px 6px; border-radius: 12px; font-weight: 800; font-size: .9rem; color: var(--muted);  }
.tab.on { background: var(--card2); color: var(--cream); box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.args { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 8px; }
.args li { padding: 14px; padding-inline-start: 44px; border-radius: 14px; position: relative; background: var(--card); border: 1px solid var(--line); }
.args li::before { position: absolute; inset-inline-start: 14px; top: 13px; font-size: 1.1rem; }
.args.for li::before { content: "✓"; color: var(--green2); font-weight: 900; }
.args.against li::before { content: "✕"; color: #ffb3a6; font-weight: 900; }
.args.for li { border-color: rgba(143, 174, 106, .35); }
.args.against li { border-color: rgba(229, 101, 79, .35); }
.swipe .q { text-align: center; }
.link { color: var(--copper2); text-decoration: underline; font-weight: 700; padding: 0; }
.lbl-ethical { color: var(--green2); } .lbl-depends { color: var(--copper2); } .lbl-not { color: #ffb3a6; }

/* Agenda */
.agenda { display: grid; gap: 10px; }
.ag { padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.ag-h { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-weight: 700; }
.badge-pill.sm { padding: 4px 10px; font-size: .75rem; white-space: nowrap; }
.stack { display: flex; height: 12px; border-radius: 6px; overflow: hidden; margin-top: 10px; background: rgba(255, 255, 255, .06); }
.stack i { display: block; height: 100%; }
.stack .c-ethical { background: var(--green); } .stack .c-depends { background: var(--copper); } .stack .c-not { background: var(--red); }
.ag .sub { margin: 6px 0 0; font-size: .78rem; }

/* Join */
.name-in { width: 100%; margin: 10px 0 4px; padding: 16px; border-radius: 14px; font: inherit; font-size: 1.15rem; font-weight: 700;
  color: var(--cream); background: #10130c; border: 1px solid var(--line); outline: none;  }
.name-in:focus { border-color: var(--copper); box-shadow: 0 0 0 4px rgba(227, 137, 79, .2); }
.msg { min-height: 1.2em; margin: 4px 0 0; color: #ffb3a6; font-size: .9rem; }

/* Closing question + YouTube */
.like-q h2 { margin: 6px 0 14px; }
.like-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.like-btns .choice { padding: 18px 8px; font-size: 1rem; }
.cta-card { animation: pop .3s var(--ease-back) both; border-color: rgba(227, 137, 79, .45); background: radial-gradient(circle at 50% 0, rgba(227, 137, 79, .22), rgba(255, 244, 228, .04)); }
.cta-card h2 { margin: 4px 0 6px; }
.cta-card p { margin: 0 0 6px; }
.big-emoji { font-size: 3rem; display: block; animation: pop .32s var(--ease-back) both; }
.cta.share { background: linear-gradient(100deg, var(--green2), var(--green)); margin-top: 6px; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 10px; }
.share-row a, .share-row button { padding: 10px 14px; border-radius: 12px; background: var(--card2); border: 1px solid var(--line); color: var(--cream); text-decoration: none; font-weight: 700; font-size: .9rem; }

:root[dir="rtl"] { --fill-sign: 1; }
body[data-view="language"], body[data-view="join"], body[data-view="lobby"] {
  background-color: var(--bg);
  background-image: linear-gradient(to bottom, transparent 7%, #0c0e0914 22%, #0c0e09d9 49%, var(--bg) 72%), url("img/hero.webp");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: min(100%, 620px) auto;
}
@media (min-resolution: 1.5dppx) {
  body[data-view="language"], body[data-view="join"], body[data-view="lobby"] {
    background-image: linear-gradient(to bottom, transparent 7%, #0c0e0914 22%, #0c0e09d9 49%, var(--bg) 72%), url("img/hero@2x.webp");
  }
}
body[data-view="language"] main { padding-block-start: 30px; }
.hero-lockup { margin-block-end: 20px; text-align: center; }
.hero-lockup .hero-logo {
  width: min(46vw, 182px); height: auto; margin: 0 auto; border-radius: 16px;
  mask-image: radial-gradient(ellipse at center, #000 43%, #000 49%, transparent 75%);
}
.hero-lockup h1 { font-size: clamp(2.15rem, 9.5vw, 3.35rem); font-weight: 800; line-height: 1.04; text-wrap: balance; margin-inline: auto; max-width: 13ch; }
[dir="rtl"] .hero-lockup h1 { line-height: 1.42; max-width: 18ch; }
.hero-lockup .kicker { margin-block: 4px; }
.language-picker { display: grid; gap: 10px; }
.language-picker h2 { font-size: 1rem; margin: 0 0 2px; color: var(--cream); }
.lang-card {
  display: flex; justify-content: space-between; gap: 10px; align-items: center; min-height: 60px; padding: 12px 17px;
  border: 1px solid #795a3a; border-radius: var(--control); background: linear-gradient(115deg, #29251a, #171b13);
  color: var(--cream); font-weight: 800; font-size: 1.2rem; text-align: start;
}
.lang-card .arrow { color: var(--copper2); font-size: 1.15rem; }
.lang-card:hover, .lang-card:focus-visible { border-color: var(--copper2); background: #32271b; }
.lang-card:active { transform: scale(.99); }
.lang-card:disabled { opacity: .8; }
.lang-switch { border: 1px solid var(--line); border-radius: 11px; background: var(--card2); min-width: 45px; min-height: 44px; padding: 4px 8px; font-weight: 800; font-size: .85rem; }
.progress { flex: 1; min-width: 0; }
#stepName { color: var(--cream); font-size: .7rem; font-weight: 750; }
#stepName:empty { display: none; }
#stepName:not(:empty) { margin-block-end: 4px; }
.foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 3px 12px; }
.foot a { color: var(--copper2); text-decoration: underline; }
.foot span:last-child { flex-basis: 100%; }
.howto div { display: grid; place-items: center; gap: 6px; font-weight: 750; }
.howto .step-icon { width: 24px; }
.link { min-height: 44px; padding-inline: 5px; }
.flip .in { display: grid; transition-duration: .4s; }
.flip .face { position: static; grid-area: 1/1; gap: 5px; }
.flip .face[aria-hidden="true"] { pointer-events: none; }
[dir="rtl"] .flip.on .in { transform: rotateY(-180deg); }
.timer { height: 13px; }
.topic-art:not(.swipe-art) { aspect-ratio: 16 / 9; margin-block-end: 12px; }
.topic-art img { object-position: center 48%; }
.swipe .swipe-art { position: absolute; z-index: -2; inset: 0; border: 0; border-radius: inherit; }
.swipe::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(#0c0e09bd, #0c0e09a8 40%, #0c0e09f2); }
.swipe .tag { z-index: 1; background: var(--bg); }
.swipe .q { font-size: clamp(1.13rem, 5vw, 1.4rem); text-shadow: 0 2px 6px #000; }
[dir="rtl"] .swipe .q { line-height: 1.6; }
.choices { direction: ltr; }
[dir="rtl"] .choices button { direction: rtl; }
.deck { height: clamp(230px, 72vw, 305px); }
.earned-medal { width: 152px; height: 152px; background: transparent; }
.earned-medal::before { display: none; }
.earned-medal img { width: 100%; height: 100%; object-fit: contain; }
.finale .hero-logo { max-width: 110px; }
.cta-card { padding: clamp(16px, 5vw, 26px); }
.cta-card .cta { padding-block: 18px; font-size: 1.1rem; }
.cta.share { border: 1px solid var(--green2); }
#fb { scroll-margin-block: 75px; }
@media (max-width: 355px) {
  .hud { gap: 3px; }
  .xp, .streak { padding-inline: 6px; }
  .top { gap: 6px; padding-inline: 10px; }
  .swipe .hint { font-size: .69rem; }
}

/* ---------- 12-minute flow (intro → quiz → read → vote → YouTube) ---------- */
.retry { margin: 12px 0; padding: 12px 14px; border-radius: 14px; text-align: center; font-weight: 800; color: var(--gold);
  background: rgba(242, 200, 107, .12); border: 1px solid rgba(242, 200, 107, .45); }
.rank { text-align: center; font-weight: 800; color: var(--gold); margin: 6px 0; }
.timer.done i { transform: scaleX(0) !important; }
.read-art { margin: 6px 0 12px; }
.read-art img { width: 100%; height: auto; border-radius: 18px; display: block; }
.read-title { font-size: 1.6rem; line-height: 1.2; margin: 4px 0 6px; }
.two-sides { display: grid; gap: 8px; margin: 10px 0; }
.decision { padding: 14px 16px; margin-top: 10px; }
.decision p { margin: 4px 0 0; }
.vote-dots { display: flex; gap: 6px; margin: 4px 0 8px; }
.vote-dots i { flex: 1; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .1); transition: background .3s; }
.vote-dots i.done { background: var(--green); }
.vote-dots i.now { background: var(--copper); }
.vote-h { margin: 4px 0 10px; font-size: 1.2rem; }
.choice.sel { outline: 2px solid var(--gold); }
.my-votes { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 6px; }
.my-votes li { display: flex; gap: 10px; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, .04); font-size: .92rem; animation: pop .3s var(--ease-out) both; }
.my-votes li span { flex: none; font-weight: 800; }
.yt-hero { margin-top: 8px; }
.yt-logo svg { width: 96px; height: 96px; filter: drop-shadow(0 10px 24px rgba(255, 0, 51, .35)); }
.cta.sub-btn { display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; color: #0f0f0f; font-size: 1.15rem; margin: 14px 0 6px; }
.cta.sub-btn .ico svg { width: 34px; height: 34px; display: block; }
.share-k { margin-top: 22px; }
.share-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 10px 0 18px; }
.sico { width: 58px; height: 58px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; display: grid; place-items: center;
  transition: transform .15s var(--ease-back); animation: pop .35s var(--ease-back) both; }
.sico:nth-child(2) { animation-delay: 15ms; } .sico:nth-child(3) { animation-delay: 30ms; } .sico:nth-child(4) { animation-delay: 50ms; }
.sico:nth-child(5) { animation-delay: 70ms; } .sico:nth-child(6) { animation-delay: 90ms; }
.sico:active { transform: scale(.9); }
.sico svg { width: 100%; height: 100%; display: block; }
@media (prefers-reduced-motion: reduce) { .float, .pulse { animation: none; } }
.host { padding: 16px 18px; margin: 10px 0; text-align: center; }
.host h2 { margin: 2px 0; font-size: 1.6rem; }
.host-role { margin: 0 0 8px; font-weight: 800; color: var(--green2); }
.host-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; color: var(--muted); }
.players-in { font-weight: 900; font-size: 1.2rem; color: var(--green2); margin: 10px 0; }
.front { padding: 12px 14px; margin-top: 14px; }
.front .kicker { margin: 0 0 2px; }
#stepName .step-icon { width: 14px; height: 14px; margin-inline-end: 4px; }
[dir="rtl"] .hint bdi { direction: rtl; }
.deck { touch-action: auto; }
.deck .swipe { touch-action: none; }
.read-art + .read-title { margin-block: 10px 12px; }
.read-title + .card p:last-child { margin-block-end: 0; }
.cta.sub-btn { background: linear-gradient(110deg, var(--copper2), var(--copper)); color: var(--bg); }

/* ---------- Self-paced rounds: header clock, time plan, reading nav ---------- */
#stepName { font-size: .95rem; font-weight: 900; }
#stepName .clock { color: var(--gold); font-variant-numeric: tabular-nums; }
.steps i.tbar { height: 6px; background: linear-gradient(var(--grad), var(--green), var(--gold), var(--copper)); transform-origin: var(--origin); transition: transform .25s linear; }
body.hurry #stepName .clock { color: var(--red); animation: pulse 1s ease-in-out infinite; display: inline-block; }
body.hurry .steps i.tbar { background: var(--red); }
.plan { padding: 16px 18px; margin: 12px 0; }
.plan h2 { margin: 0 0 10px; }
.plan-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; }
.plan-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); }
.plan-list .big-emoji { font-size: 1.8rem; }
.plan-list b { flex: 1; font-size: 1.1rem; }
.plan-list .mins { font-weight: 900; color: var(--gold); font-size: 1.1rem; }
.read-nav { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; margin: 14px 0 6px; }
.cta.ghost { background: var(--card2); color: var(--cream); border: 1px solid var(--line); }
#nextQ { margin-top: 10px; }
#stepName { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swipe .q-topic { display: block; margin-block-end: 10px; font-size: .78rem; font-weight: 800; color: var(--copper2); text-shadow: none; }
[dir="rtl"] .swipe .q-topic { font-size: .88rem; }
/* Header: the round name may shorten, the countdown never does. */
#stepName { display: flex; align-items: center; gap: 6px; }
#stepName .sn-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
#stepName .clock { flex: none; }

/* Event strip on the language screen: AMSO summit and working group. */
.event-strip { display: grid; justify-items: center; gap: 4px; margin: 4px auto 18px; text-align: center; }
.event-strip img { width: 150px; height: auto; padding: 6px 12px; border-radius: 12px; background: #fff; }
.event-name { margin: 8px 0 0; font-size: .95rem; font-weight: 800; color: var(--cream); }
.event-group { margin: 0; font-size: .82rem; font-weight: 700; color: var(--copper2); }
body[data-view="language"] .hero-lockup .hero-logo { width: min(40vw, 170px); }
