/* HEJİR website — no framework, no build step besides site/build.py */
:root {
  --bg: #050505; --bg2: #0b0b0b; --panel: #111; --line: #1d1d1d; --line2: #2a2a2a;
  --fg: #f5f5f5; --fg2: #a5a5a5; --fg3: #848484; --acc: #44d62c; --acc2: #2f9e1f; --accfg: #061003;
  --r: 22px; --maxw: 1400px; --font: "Barlow", system-ui, -apple-system, Segoe UI, sans-serif; --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --mx: 50%; --my: 30%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 500 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(68,214,44,0.3); }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 26px; font-weight: 700; font-size: 16px; letter-spacing: 0.01em; border: 1px solid var(--line2); background: rgba(255,255,255,0.04); color: var(--fg); transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; cursor: pointer; }
.btn:hover { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.08); transform: translateY(-1px); }
.btn.primary { background: var(--acc); border-color: var(--acc); color: var(--accfg); }
.btn.primary:hover { background: #5ae742; border-color: #5ae742; box-shadow: 0 10px 40px rgba(68,214,44,0.25); }
.btn.sm { height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(5,5,5,0.72); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); border-color: rgba(255,255,255,0.06); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: 0.18em; font-size: 18px; }
.brand svg { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 26px; margin-left: 18px; }
.nav-links a { color: var(--fg2); font-weight: 600; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav .grow { flex: 1; }
.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line2); font-size: 13px; font-weight: 700; color: var(--fg2); cursor: pointer; user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: #fff; border-color: #3a3a3a; }
.lang-pop { position: absolute; top: calc(100% + 8px); right: 0; min-width: 180px; padding: 6px; border-radius: 14px; background: #0d0d0d; border: 1px solid var(--line2); box-shadow: 0 20px 50px rgba(0,0,0,.6); display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 2px; z-index: 60; }
.lang-pop a { padding: 8px 12px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--fg2); }
.lang-pop a:hover { background: #161616; color: #fff; }
.lang-pop a.on { color: var(--acc); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line2); background: transparent; color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(600px circle at var(--mx) var(--my), rgba(68,214,44,0.12), transparent 60%),
  radial-gradient(1200px 600px at 75% 30%, rgba(255,255,255,0.05), transparent 70%), var(--bg); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(70% 60% at 60% 45%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(70% 60% at 60% 45%, #000 20%, transparent 75%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; gap: 20px; padding-top: 90px; padding-bottom: 60px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px; border-radius: 17px; border: 1px solid rgba(68,214,44,0.35); background: rgba(68,214,44,0.08); color: var(--acc); font-size: 13.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
/* the hero line is longer since the free tier ("Free · Pro free for 3 days"): on a phone it may wrap; the pill grows with it */
@media (max-width: 560px) { .eyebrow { height: auto; min-height: 34px; padding: 7px 14px; border-radius: 14px; line-height: 1.35; letter-spacing: 0.06em; font-size: 12.5px; } .eyebrow i { flex: none; } }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 0 rgba(68,214,44,0.6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(68,214,44,0); } 100% { box-shadow: 0 0 0 0 rgba(68,214,44,0); } }
.hero h1 { font-size: clamp(46px, 6.4vw, 92px); line-height: 0.98; letter-spacing: -0.03em; margin: 22px 0 22px; font-weight: 800; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s cubic-bezier(.2,.8,.2,1) forwards; }
.hero h1.fit .line > span { white-space: nowrap; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
.hero h1 em { font-style: normal; background: linear-gradient(92deg, #44d62c, #b7ff9f 45%, #44d62c 90%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: rise 1s cubic-bezier(.2,.8,.2,1) .24s forwards, shimmer 6s linear 1.2s infinite; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes shimmer { to { background-position: -200% 0; } }
.hero p.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--fg2); max-width: 520px; margin: 0 0 34px; opacity: 0; animation: fadein .9s ease .5s forwards; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; opacity: 0; animation: fadein .9s ease .65s forwards; }
.hero .meta { margin-top: 22px; color: var(--fg3); font-size: 14px; display: flex; gap: 18px; flex-wrap: wrap; opacity: 0; animation: fadein .9s ease .8s forwards; }
.hero .meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero .meta svg { width: 15px; height: 15px; color: var(--acc); }
@keyframes fadein { to { opacity: 1; } }
.stage3d { position: relative; perspective: 1400px; height: min(600px, 68vh); }
.mouse-wrap { position: absolute; inset: 0; display: grid; place-items: center; transform-style: preserve-3d; transition: transform .25s ease-out; }
.mouse-wrap img { width: 96%; height: auto; max-width: none; margin-top: -4%; animation: float 7s ease-in-out infinite, appear 1.4s cubic-bezier(.2,.8,.2,1) .2s both; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-0.8deg); } }
@keyframes appear { from { opacity: 0; transform: translateY(40px) scale(.94); } }
.ring { position: absolute; left: 50%; top: 56%; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; border: 1px solid rgba(68,214,44,0.18); transform: rotateX(72deg); animation: spin 18s linear infinite; }
.ring.r2 { width: 720px; height: 720px; margin: -360px 0 0 -360px; border-color: rgba(255,255,255,0.06); animation-duration: 30s; animation-direction: reverse; }
.ring::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 14px var(--acc); }
@keyframes spin { to { transform: rotateX(72deg) rotateZ(360deg); } }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(18,18,18,0.75); border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; font-weight: 700; box-shadow: 0 20px 40px rgba(0,0,0,0.45); animation: chipin .8s cubic-bezier(.2,.8,.2,1) both, bob 6s ease-in-out infinite; }
.chip small { display: block; color: var(--fg3); font-weight: 600; font-size: 12px; }
.chip .ci { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(68,214,44,0.12); color: var(--acc); }
.chip .ci svg { width: 16px; height: 16px; }
.chip.c1 { left: 2%; top: 18%; animation-delay: .9s, 0s; }
.chip.c2 { right: 0; top: 10%; animation-delay: 1.05s, -2s; }
.chip.c3 { right: 4%; bottom: 14%; animation-delay: 1.2s, -4s; }
.chip.c4 { left: 6%; bottom: 10%; animation-delay: 1.35s, -1s; }
@keyframes chipin { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes bob { 50% { translate: 0 -8px; } }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 24px; height: 38px; border-radius: 12px; border: 2px solid rgba(255,255,255,0.25); }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(12px); opacity: 0; } 61% { transform: none; opacity: 0; } 100% { opacity: 1; } }

/* ---------- marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); overflow: hidden; padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .track { display: flex; gap: 56px; width: max-content; animation: marq 40s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 56px; font-size: 22px; font-weight: 700; color: #555; white-space: nowrap; letter-spacing: 0.02em; }
.marquee span::after { content: "◆"; color: var(--acc); font-size: 12px; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section.block { padding: 140px 0; position: relative; }
.kicker { color: var(--acc); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 13.5px; }
h2.big { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.025em; margin: 14px 0 20px; font-weight: 800; }
h2.big em { font-style: normal; color: var(--acc); }
p.sub { color: var(--fg2); font-size: clamp(17px, 1.4vw, 20px); max-width: 640px; margin: 0; }
.center { text-align: center; }
.center p.sub { margin: 0 auto; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; } .rv.d4 { transition-delay: .32s; }

/* ---------- product tour (sticky) ---------- */
.tour { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 70px; margin-top: 70px; }
.tour-steps { display: flex; flex-direction: column; }
.tstep { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 20px 0; opacity: .28; transition: opacity .5s ease; }
.tstep.on { opacity: 1; }
.tstep .num { font-family: var(--mono); color: var(--acc); font-size: 14px; }
.tstep h3 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.08; margin: 10px 0 14px; letter-spacing: -0.015em; }
.tstep p { color: var(--fg2); margin: 0 0 16px; font-size: 18px; }
.tstep ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tstep li { display: flex; gap: 10px; color: #d6d6d6; font-size: 16px; }
.tstep li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 6px; background: rgba(68,214,44,0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2344d62c' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.tour-view { position: sticky; top: 14vh; height: 72vh; display: flex; align-items: center; }
.device { position: relative; width: 100%; aspect-ratio: 1282 / 802; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); background: #000; box-shadow: 0 60px 120px rgba(0,0,0,0.75), 0 0 0 10px rgba(255,255,255,0.025); transform: perspective(1600px) rotateY(-6deg) rotateX(3deg); transition: transform .6s ease; }
.device:hover { transform: perspective(1600px) rotateY(-2deg) rotateX(1deg); }
.device img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s ease, transform 1.4s cubic-bezier(.2,.8,.2,1); }
.device img.on { opacity: 1; transform: scale(1); }
.device::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,0.08), transparent 30%); pointer-events: none; }
.tour-dots { position: absolute; right: -28px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; }
.tour-dots i { width: 6px; height: 6px; border-radius: 3px; background: #333; transition: height .3s ease, background .3s ease; }
.tour-dots i.on { height: 22px; background: var(--acc); }

/* ---------- script ---------- */
.script { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 60px; align-items: center; }
.code-card { border-radius: var(--r); border: 1px solid var(--line2); background: #0a0b0a; box-shadow: 0 40px 100px rgba(0,0,0,0.6); overflow: hidden; }
.code-top { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-bottom: 1px solid #191919; color: var(--fg3); font-size: 13px; font-weight: 600; }
.code-top i { width: 11px; height: 11px; border-radius: 50%; background: #2a2a2a; }
.code-top span { margin-left: 8px; }
.code-top b { margin-left: auto; color: var(--acc); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.code-top b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); animation: ping 1.8s infinite; }
pre.code { margin: 0; padding: 20px 22px; min-height: 360px; font: 14px/1.7 var(--mono); color: #d4d4d4; white-space: pre-wrap; }
pre.code .k { color: #ff7a90; } pre.code .s { color: #e6b673; } pre.code .n { color: #b388ff; } pre.code .c { color: #5f6b5f; font-style: italic; } pre.code .f { color: #6fdc5a; }
pre.code .caret { display: inline-block; width: 8px; height: 17px; background: var(--acc); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.code-log { border-top: 1px solid #191919; padding: 12px 22px; font: 13px/1.7 var(--mono); color: #6fdc5a; min-height: 86px; }
.code-log div { opacity: 0; transform: translateX(-6px); transition: opacity .4s, transform .4s; }
.code-log div.in { opacity: 1; transform: none; }
.code-log span { color: #444; margin-right: 10px; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.feat { padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); }
.feat b { display: block; font-size: 16px; margin-bottom: 4px; }
.feat span { color: var(--fg2); font-size: 14.5px; line-height: 1.45; }

/* ---------- overlay demo ---------- */
.ov-stage { position: relative; margin-top: 60px; aspect-ratio: 16 / 7; border-radius: 26px; overflow: hidden; border: 1px solid var(--line2); background: linear-gradient(180deg, #6f93bb 0%, #a8c3dd 45%, #5c6b47 46%, #2f3923 100%); }
.ov-stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(30% 40% at 72% 36%, rgba(255,255,255,0.35), transparent 70%), repeating-linear-gradient(0deg, rgba(0,0,0,0.04) 0 2px, transparent 2px 4px); }
.ov-hills { position: absolute; left: 0; right: 0; bottom: 0; height: 58%; background: radial-gradient(60% 80% at 20% 100%, #3d4a2c, transparent 70%), radial-gradient(50% 70% at 80% 100%, #333f26, transparent 70%); }
.ov-cross { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); }
.ov-cross i { position: absolute; background: #2bff2b; box-shadow: 0 0 0 1px rgba(0,0,0,0.7); border-radius: 1px; }
.ov-cross i:nth-child(1) { left: 22px; top: 0; width: 2px; height: 14px; } .ov-cross i:nth-child(2) { left: 22px; bottom: 0; width: 2px; height: 14px; }
.ov-cross i:nth-child(3) { top: 22px; left: 0; height: 2px; width: 14px; } .ov-cross i:nth-child(4) { top: 22px; right: 0; height: 2px; width: 14px; }
.ov-hud { position: absolute; right: 24px; top: 24px; display: flex; border-radius: 14px; overflow: hidden; background: rgba(12,12,12,0.88); border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 14px 30px rgba(0,0,0,0.4); font-family: var(--font); }
.ov-hud .edge { width: 4px; background: var(--acc); transition: background .3s; }
.ov-hud .body { padding: 10px 18px 12px 14px; text-align: right; }
.ov-hud .st { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; color: var(--acc); transition: color .3s; }
.ov-hud .main { display: flex; align-items: baseline; gap: 10px; justify-content: flex-end; }
.ov-hud .pf { font-size: 21px; font-weight: 800; }
.ov-hud .lv { font-size: 13px; font-weight: 800; padding: 2px 9px; border-radius: 7px; background: var(--acc); color: #071003; }
.ov-hud .steps { display: flex; gap: 4px; justify-content: flex-end; margin-top: 4px; }
.ov-hud .steps i { width: 18px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.16); }
.ov-hud .steps i.on { background: var(--acc); }
.ov-hud.off .edge { background: #6e6e6e; } .ov-hud.off .st { color: #8a8a8a; }
.ov-mini { position: absolute; left: 24px; bottom: 24px; display: flex; gap: 14px; align-items: center; width: 360px; padding: 12px 14px; border-radius: 16px; background: rgba(12,12,12,0.85); border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ov-mini .cv { width: 64px; height: 64px; flex: none; border-radius: 10px; background: conic-gradient(from 210deg, #44d62c, #0f3d0a, #2ec5ff, #44d62c); animation: hue 12s linear infinite; }
@keyframes hue { to { filter: hue-rotate(360deg); } }
.ov-mini .t { flex: 1; min-width: 0; }
.ov-mini b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-mini small { color: var(--fg2); font-size: 13px; }
.ov-mini .bar { height: 3px; border-radius: 2px; background: rgba(255,255,255,0.15); margin-top: 8px; overflow: hidden; }
.ov-mini .bar i { display: block; height: 100%; width: 30%; background: var(--acc); animation: prog 22s linear infinite; }
@keyframes prog { from { width: 0; } to { width: 100%; } }
.eqb { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; margin-right: 6px; }
.eqb i { width: 3px; height: 6px; background: var(--acc); border-radius: 1px; animation: eqb .9s ease-in-out infinite; }
.eqb i:nth-child(2) { animation-delay: -.3s; } .eqb i:nth-child(3) { animation-delay: -.55s; }
@keyframes eqb { 0%, 100% { height: 3px; } 50% { height: 12px; } }
.ov-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.ov-legend div { padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }
.ov-legend b { display: block; font-size: 18px; margin-bottom: 4px; }
.ov-legend span { color: var(--fg2); font-size: 15px; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 60px; }
.stat { padding: 30px 26px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, #111, #0b0b0b); }
.stat .v { font-size: clamp(40px, 4.4vw, 60px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stat .v small { font-size: .45em; color: var(--acc); margin-left: 4px; }
.stat p { color: var(--fg2); margin: 10px 0 0; font-size: 15.5px; }

/* ---------- comparison ---------- */
.cmp { margin-top: 56px; border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; background: var(--panel); }
/* minmax(0,…): a long word ("Endlosschleife") no longer widens its column, so the green column keeps one edge;
   stretch + flex: the green background fills the whole row height */
.cmp-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; border-top: 1px solid var(--line); }
.cmp-row:first-child { border-top: 0; background: #0d0d0d; font-weight: 800; }
.cmp-row > div { padding: 18px 24px; font-size: 16px; display: flex; align-items: center; overflow-wrap: break-word; }
.cmp-row > div:nth-child(2) { color: var(--fg3); }
.cmp-row > div:nth-child(3) { color: #fff; background: rgba(68,214,44,0.05); border-left: 1px solid rgba(68,214,44,0.18); }
.cmp-row:first-child > div:nth-child(3) { color: var(--acc); }
.yes { color: var(--acc); font-weight: 800; margin-right: 6px; }
.no { color: #ff6b6b; font-weight: 800; margin-right: 6px; }

/* ---------- pricing ---------- */
.free-note { max-width: 760px; margin: 26px auto 0; text-align: center; color: var(--fg2, #b8b8b8); font-size: 15px; line-height: 1.6; }
.free-note b { color: var(--fg, #fff); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 56px; }
.plan { position: relative; padding: 34px 30px; border-radius: 26px; border: 1px solid var(--line2); background: linear-gradient(180deg, #121212, #0b0b0b); display: flex; flex-direction: column; transition: transform .3s ease, border-color .3s ease; }
.plan:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.3); }
.plan.best { border-color: rgba(68,214,44,0.6); background: radial-gradient(120% 80% at 50% 0%, rgba(68,214,44,0.14), transparent 60%), #0e0e0e; }
.plan .tag { position: absolute; top: -13px; left: 30px; height: 26px; padding: 0 12px; border-radius: 13px; background: var(--acc); color: var(--accfg); font-size: 12.5px; font-weight: 800; letter-spacing: .06em; display: flex; align-items: center; }
.plan h3 { margin: 0; font-size: 20px; }
.plan .ph { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan .save { padding: 4px 10px; border-radius: 8px; border: 1px solid rgba(68,214,44,0.5); background: rgba(68,214,44,0.10); color: var(--acc); font-size: 13px; font-weight: 800; }
.plan .price { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; margin: 18px 0 0; line-height: 1; display: flex; align-items: baseline; gap: 8px; }
.plan .price small { font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--fg2); text-transform: uppercase; }
.plan .total { margin: 10px 0 22px; color: var(--fg2); font-size: 14px; }
.plan .total s { opacity: .6; } .plan .total b { color: var(--acc); }
.plan.best { transform: scale(1.03); box-shadow: 0 0 0 1px rgba(68,214,44,0.35), 0 30px 80px rgba(68,214,44,0.12); }
.plan.best:hover { transform: scale(1.03) translateY(-4px); }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; color: #d6d6d6; }
.plan li::before { content: "✓"; color: var(--acc); font-weight: 900; }
.plan .btn { margin-top: auto; }
.guarantee { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; margin-top: 30px; color: var(--fg2); font-size: 15px; }
.guarantee span { display: inline-flex; align-items: center; gap: 8px; }
.guarantee svg { width: 18px; height: 18px; color: var(--acc); }

/* ---------- faq ---------- */
.faq { max-width: 860px; margin: 50px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; font-size: 19px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; font-size: 20px; color: var(--fg2); transition: transform .3s ease, background .3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: #1a1a1a; }
.faq details p { margin: 0 4px 24px; color: var(--fg2); font-size: 16.5px; max-width: 760px; }

/* ---------- final cta ---------- */
.final { position: relative; overflow: hidden; padding: 160px 0; text-align: center; isolation: isolate; }
.final::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; margin: -450px 0 0 -450px; z-index: -1; background: radial-gradient(closest-side, rgba(68,214,44,0.16), transparent); }
.final .mark { width: 96px; height: 96px; margin: 0 auto 26px; border-radius: 26px; display: grid; place-items: center; background: linear-gradient(180deg, #1b1b1b, #070707); border: 1px solid #2a2a2a; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.final .mark svg { width: 60px; height: 60px; }
.final .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 50px 0 60px; color: var(--fg3); font-size: 14.5px; }
footer .wrap { display: block; }
/* 7 Nov: the full footer, six columns on a desktop, three on a tablet, two on a phone */
.ft-cols { display: grid; grid-template-columns: 1.3fr repeat(5, minmax(0, 1fr)); gap: 34px 28px; }
.ft-brand p { margin: 14px 0 18px; max-width: 260px; }
.ft-brand .btn { display: inline-flex; color: var(--accfg); }
footer .ft-cols a { line-height: 1.35; padding: 5px 0; }
footer .ft-cols a.ft-all { color: var(--acc); font-weight: 600; margin-top: 4px; }
footer .legal .lang { position: relative; }
footer .legal .lang-pop { top: auto; bottom: calc(100% + 8px); }
@media (max-width: 1100px) { .ft-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ft-brand { grid-column: 1 / -1; } }
/* the waiting-list window every download button opens before launch */
.nt-dlg { width: min(560px, calc(100vw - 32px)); padding: 34px 30px 26px; border-radius: 24px; border: 1px solid var(--line2); background: #0b0b0b; color: var(--fg); box-shadow: 0 40px 120px rgba(0,0,0,.7); }
.nt-dlg::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(4px); }
.nt-dlg .wl { margin: 0; padding: 0; border: 0; background: none; max-width: none; text-align: left; }
.nt-dlg .wl h3 { font-size: 26px; margin: 0 0 8px; }
.nt-mark { width: 46px; height: 46px; margin-bottom: 14px; }
.nt-mark svg { width: 100%; height: 100%; }
.nt-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 12px; border: 1px solid var(--line2); background: transparent; color: var(--fg2); font-size: 22px; line-height: 1; cursor: pointer; }
.nt-x:hover { color: #fff; border-color: #444; }
:lang(ar) .nt-x { right: auto; left: 14px; }
/* the consent box under the sign-up field */
.wl-ok { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 4px; font-size: 14px; color: var(--fg2); text-align: left; cursor: pointer; }
.wl-ok input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--acc); flex: none; }
.wl-ok a { color: var(--acc); text-decoration: underline; }
footer h4 { color: var(--fg); margin: 0 0 12px; font-size: 15px; }
footer a { display: block; padding: 4px 0; color: var(--fg2); }
footer a:hover { color: #fff; }
footer .legal { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 10px; }

/* ---------- legal pages ---------- */
.doc { max-width: 820px; margin: 0 auto; padding: 140px 28px 100px; }
.doc h1 { font-size: clamp(36px, 4vw, 54px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 14px; }
/* the body's reading line-height made long guide titles 86 px apart on desktop; scripts with tall marks get more */
:lang(ar) .doc h1, :lang(th) .doc h1 { line-height: 1.3; }
:lang(vi) .doc h1 { line-height: 1.18; }
/* long guide titles on a phone: smaller and tighter, so the answer starts on the first screen */
@media (max-width: 560px) { .doc h1 { font-size: 28px; line-height: 1.18; } }
.doc .ver { color: var(--fg3); margin: 0 0 40px; }
.nf { min-height: 70vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.nf-code { margin: 0; font: 800 15px/1 var(--mono); color: var(--acc); letter-spacing: 0.2em; }
.nf p#nf-p { color: var(--fg2); margin: 8px 0 28px; }
.doc h2 { font-size: 22px; margin: 38px 0 10px; }
.doc p, .doc li { color: #cfcfcf; font-size: 16.5px; }
.doc .note { padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(68,214,44,0.3); background: rgba(68,214,44,0.06); color: #e8e8e8; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); text-align: start; padding-top: 110px; }
  .stage3d { height: 380px; }
  .chip.c1, .chip.c4 { display: none; }
  .tour { grid-template-columns: 1fr; gap: 0; }
  .tour-view { order: -1; position: sticky; top: 64px; height: auto; z-index: 2; padding: 10px 0 18px; background: linear-gradient(180deg, var(--bg) 85%, transparent); }
  .tour-dots { display: none; }
  .tstep { min-height: 60vh; }
  .device { transform: none; }
  .script { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .ov-legend { grid-template-columns: 1fr; }
  .cmp-row { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); }
  .cmp-row > div { padding: 14px; font-size: 14px; }
  .ft-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .lang { position: static; } /* the menu hangs from the fixed nav, inside the screen gutters */
  .lang-pop { top: calc(100% - 4px); left: 16px; right: 16px; }
  .nav-links { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .nav.open .nav-links { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px 20px 20px; background: rgba(5,5,5,0.96); border-bottom: 1px solid var(--line); margin: 0; }
  .nav.open .nav-links a { padding: 12px 0; font-size: 18px; }
  .nav .btn.sm { display: none; }
  .wrap { padding: 0 16px; }
  section.block { padding: 90px 0; }
  .ov-stage { aspect-ratio: 4 / 5; }
  .ov-mini { width: auto; right: 16px; left: 16px; }
  .feats { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}
/* ---- crosshair gallery */
.gallery { max-width: 1100px; }
.gl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.gl-card { display: grid; gap: 10px; padding: 10px 10px 14px; border-radius: 16px; border: 1px solid var(--line2); background: var(--panel); }
.gl-card .gl-prev { display: block; position: relative; min-height: 0; width: 100%; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; } /* beats .share-prev, which comes later */
.gl-card .gl-svg { width: 200px; height: 200px; }
.gl-row { display: flex; gap: 8px; }
.gl-row .btn { white-space: nowrap; }
.gl-card b { padding: 0 4px; }
/* ---- guides */
.guide h2 { margin-top: 34px; }
.guide ul, .guide ol { color: var(--fg2); display: grid; gap: 8px; padding-inline-start: 22px; }
.gd-crumb { margin: 0 0 10px; font-size: 14px; }
.gd-crumb a { color: var(--acc); }
.gd-steps li::marker { color: var(--acc); font-weight: 800; }
.gd-shot { display: block; width: 100%; height: auto; margin: 22px 0; border-radius: 14px; border: 1px solid var(--line2); }
.gd-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 26px 0 8px; padding: 18px; border-radius: 16px; border: 1px solid rgba(68,214,44,.35); background: rgba(68,214,44,.06); }
.gd-cta span { color: var(--fg2); font-size: 14px; }
.gd-faq { margin-top: 10px; }
.gd-list { display: grid; gap: 8px; }
.gd-more { color: var(--acc); }
.gd-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gd-card { display: grid; gap: 8px; padding: 12px; border-radius: 16px; border: 1px solid var(--line2); background: var(--panel); color: var(--fg); }
.gd-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 10px; }
.gd-card span { color: var(--fg2); font-size: 14px; }
.gd-card:hover { border-color: rgba(68,214,44,.5); }
/* ---- creator programme */
.lead-doc { color: var(--fg2); font-size: 19px; margin: 0 0 30px; }
.cr-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cr-tier { padding: 18px; border-radius: 16px; border: 1px solid var(--line2); background: var(--panel); display: grid; gap: 4px; }
.cr-tier b { color: var(--acc); font-size: 20px; }
.cr-tier span { color: var(--fg2); }
.cr-rules { display: grid; gap: 10px; padding-inline-start: 22px; color: var(--fg2); }
@media (max-width: 760px) { .cr-tiers { grid-template-columns: minmax(0, 1fr); } }
/* ---- /s/ share page */
.share { min-height: 100vh; display: grid; place-items: center; padding: 110px 20px 60px; }
.share-card { width: min(980px, 100%); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border-radius: var(--r); border: 1px solid var(--line2); background: #0b0b0b; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.6); }
.share-prev { position: relative; min-height: 340px; background: #0e0e0e; }
.share-prev.xh { background: center/cover no-repeat var(--scene, none), var(--scene-fb, #101210); }
/* the app's nine preview scenes (7 Nov): -m for tiles, full size on the share page, -s for the picker */
.share-prev.xh[data-scene="flood"] { --scene: url(/img/scenes/flood-m.jpg); }
.share-prev.xh.big[data-scene="flood"] { --scene: url(/img/scenes/flood.jpg); }
.xs-flood { background-image: url(/img/scenes/flood-s.jpg); }
.share-prev.xh[data-scene="port"] { --scene: url(/img/scenes/port-m.jpg); }
.share-prev.xh.big[data-scene="port"] { --scene: url(/img/scenes/port.jpg); }
.xs-port { background-image: url(/img/scenes/port-s.jpg); }
.share-prev.xh[data-scene="servers"] { --scene: url(/img/scenes/servers-m.jpg); }
.share-prev.xh.big[data-scene="servers"] { --scene: url(/img/scenes/servers.jpg); }
.xs-servers { background-image: url(/img/scenes/servers-s.jpg); }
.share-prev.xh[data-scene="subway"] { --scene: url(/img/scenes/subway-m.jpg); }
.share-prev.xh.big[data-scene="subway"] { --scene: url(/img/scenes/subway.jpg); }
.xs-subway { background-image: url(/img/scenes/subway-s.jpg); }
.share-prev.xh[data-scene="forest"] { --scene: url(/img/scenes/forest-m.jpg); }
.share-prev.xh.big[data-scene="forest"] { --scene: url(/img/scenes/forest.jpg); }
.xs-forest { background-image: url(/img/scenes/forest-s.jpg); }
.share-prev.xh[data-scene="snow"] { --scene: url(/img/scenes/snow-m.jpg); }
.share-prev.xh.big[data-scene="snow"] { --scene: url(/img/scenes/snow.jpg); }
.xs-snow { background-image: url(/img/scenes/snow-s.jpg); }
.share-prev.xh[data-scene="desert"] { --scene: url(/img/scenes/desert-m.jpg); }
.share-prev.xh.big[data-scene="desert"] { --scene: url(/img/scenes/desert.jpg); }
.xs-desert { background-image: url(/img/scenes/desert-s.jpg); }
.share-prev.xh[data-scene="tunnel"] { --scene: url(/img/scenes/tunnel-m.jpg); }
.share-prev.xh.big[data-scene="tunnel"] { --scene: url(/img/scenes/tunnel.jpg); }
.xs-tunnel { background-image: url(/img/scenes/tunnel-s.jpg); }
.share-prev.xh[data-scene="hangar"] { --scene: url(/img/scenes/hangar-m.jpg); }
.share-prev.xh.big[data-scene="hangar"] { --scene: url(/img/scenes/hangar.jpg); }
.xs-hangar { background-image: url(/img/scenes/hangar-s.jpg); }
.xh-svg { position: absolute; left: 50%; top: 50%; width: 360px; height: 360px; translate: -50% -50%; }
.share-prev .xh-scenes { position: absolute; inset-inline-end: 12px; bottom: 12px; max-width: calc(100% - 24px); display: flex; gap: 6px; padding: 4px; border-radius: 12px; background: rgba(0,0,0,.55); }
.share-prev .xs { flex: 0 1 30px; min-width: 18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); width: 30px; height: 30px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; background-size: cover; background-position: center; }
.share-prev .xs.on { border-color: #fff; }
.share-prev.list, .share-prev.code { padding: 22px; overflow: auto; max-height: 460px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: s; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: #141414; border: 1px solid var(--line); font: 600 14px/1.3 var(--mono); color: var(--fg2); }
.steps li b { min-width: 34px; color: var(--acc); }
.share-prev pre { margin: 0; font: 13px/1.6 var(--mono); color: #cfe8c8; white-space: pre-wrap; }
.share-body { padding: 32px 30px; display: flex; flex-direction: column; justify-content: center; }
.share-body h1 { margin: 0 0 6px; font-size: 28px; line-height: 1.15; }
.share-from { margin: 0 0 22px; color: var(--fg2); }
.share-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.share-actions .btn svg { width: 18px; height: 18px; }
.share-meta { margin: 12px 0 0; color: var(--fg3); font-size: 14px; }
.share-how { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--fg2); font-size: 15px; }
@media (max-width: 760px) { .share-card { grid-template-columns: minmax(0, 1fr); } .share-prev { min-height: 260px; } .xh-svg { width: 280px; height: 280px; } }
/* ---- /i/ invite page */
.invite-page { background: linear-gradient(180deg, rgba(5,5,5,.55), #050505 85%), center/cover no-repeat url(/img/scenes/subway.jpg); }
.invite-card { width: min(620px, 100%); grid-template-columns: minmax(0, 1fr); }
.invite-offer { margin: 0 0 22px; color: var(--fg2); font-size: 18px; }
.invite-codebox { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.invite-bigcode { padding: 12px 18px; border-radius: 14px; border: 1px dashed rgba(68,214,44,.5); background: rgba(68,214,44,.08); color: var(--acc); font: 800 30px/1 var(--mono); letter-spacing: .18em; }
.invite-steps { margin: 0 0 24px; padding-inline-start: 22px; color: var(--fg2); display: grid; gap: 8px; }
.invite-codebox .btn svg { width: 18px; height: 18px; }
/* keyboard focus: an accent ring, never on mouse clicks */
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 10px; }
/* ---- right-to-left (Arabic). Code, the overlay scene and the marquee are pictures of LTR things and stay LTR. */
:lang(ar) { --font: "Segoe UI", Tahoma, "Geeza Pro", "Noto Sans Arabic", system-ui, sans-serif; } /* system Arabic fonts: nothing loads from a font service */
:lang(ar) *, :lang(ar) *::before, :lang(ar) *::after { letter-spacing: 0 !important; } /* spacing breaks the joined letters */
:lang(ar) .hero h1 { line-height: 1.25; }
:lang(ar) .hero h1 .line { padding: 0.04em 0 0.12em; }
:lang(ar) h2, :lang(ar) h2.big { line-height: 1.3; }
[dir=rtl] .nav-links { margin-left: 0; margin-right: 18px; }
@media (min-width: 761px) { [dir=rtl] .lang-pop { right: auto; left: 0; } }
[dir=rtl] .tour-dots { right: auto; left: -28px; }
[dir=rtl] .chip.c1 { left: auto; right: 2%; } [dir=rtl] .chip.c2 { right: auto; left: 0; }
[dir=rtl] .chip.c3 { right: auto; left: 4%; } [dir=rtl] .chip.c4 { left: auto; right: 6%; }
[dir=rtl] .code-card, [dir=rtl] .ov-stage, [dir=rtl] .marquee { direction: ltr; }
[dir=rtl] .marquee span { direction: rtl; }
[dir=rtl] .stat .v small { margin-left: 0; margin-right: 4px; }
[dir=rtl] .yes, [dir=rtl] .no { margin-right: 0; margin-left: 6px; }
[dir=rtl] .eqb { margin-right: 0; margin-left: 6px; }
[dir=rtl] .cmp-row > div:nth-child(3) { border-left: 0; border-right: 1px solid rgba(68,214,44,0.18); }
[dir=rtl] .plan .tag { left: auto; right: 30px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* screenshot / review mode */
html.static .rv { opacity: 1; transform: none; transition: none; }
html.static .hero *, html.static .hero *::before, html.static .hero *::after { animation-delay: 0s !important; animation-duration: .001s !important; animation-iteration-count: 1 !important; }
html.static .hero { min-height: 900px; }
html.static .tstep { min-height: 560px; }
html.static .tour-view { height: 600px; top: 100px; }
html.static .nav { position: absolute; }
html.static .tstep { opacity: 1; }

/* CJK: break at phrase boundaries (ja) and keep Korean words whole */
:lang(ja), :lang(zh-CN), :lang(zh-TW), :lang(ko) { line-break: strict; }
:lang(ja) { word-break: auto-phrase; }
/* CJK glyphs are square and wide: smaller headings keep each phrase on one line */
:lang(ja) .hero h1, :lang(zh-CN) .hero h1, :lang(zh-TW) .hero h1, :lang(ko) .hero h1 { font-size: clamp(34px, 4.2vw, 62px); line-height: 1.12; letter-spacing: 0; }
:lang(ja) h2.big, :lang(zh-CN) h2.big, :lang(zh-TW) h2.big, :lang(ko) h2.big { letter-spacing: 0; }
:lang(ko) { word-break: keep-all; overflow-wrap: anywhere; }
/* Thai and Vietnamese marks sit above/below the line: give them room inside the clipped hero lines */
:lang(th) .hero h1 { font-size: clamp(34px, 4.6vw, 66px); line-height: 1.3; letter-spacing: 0; }
:lang(vi) .hero h1 { line-height: 1.12; }
:lang(th) .hero h1 .line, :lang(vi) .hero h1 .line { padding: 0.04em 0 0.14em; }
:lang(th) h2.big, :lang(th) h2 { letter-spacing: 0; line-height: 1.3; }

/* news blog (blog.py) */
.doc.wide { max-width: 1120px; }
.bl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.bl-chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line2); color: var(--fg2); font-size: 14px; font-weight: 700; }
.bl-chip:hover { color: var(--fg); border-color: rgba(68,214,44,.5); }
.bl-chip.on { color: #04140a; background: var(--acc); border-color: var(--acc); }
.bl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.bl-card { display: grid; align-content: start; gap: 8px; padding: 12px; border-radius: 16px; border: 1px solid var(--line2); background: var(--panel); color: var(--fg); transition: border-color .2s, transform .2s; }
.bl-card:hover { border-color: rgba(68,214,44,.5); transform: translateY(-3px); }
.bl-img { display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #111; }
.bl-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bl-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--fg3); }
.bl-meta i { font-style: normal; font-weight: 800; color: var(--acc); letter-spacing: .02em; }
.bl-meta em { font-style: normal; font-weight: 800; color: #ffc93c; border: 1px solid rgba(255,201,60,.45); border-radius: 6px; padding: 1px 6px; }
.bl-card b { font-size: 17px; line-height: 1.3; }
.bl-card > span:last-child { color: var(--fg2); font-size: 14px; }
.bl-when { color: var(--fg3); margin: 0 0 10px; font-size: 14px; }
.bl-hero { margin: 24px 0 8px; }
.bl-hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; border: 1px solid var(--line2); background: #111; }
.bl-hero figcaption { margin-top: 8px; color: var(--fg3); font-size: 13px; }
.blog li::marker { color: var(--acc); }
.bl-src { margin-top: 26px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line2); color: var(--fg2); font-size: 14.5px; }
.bl-src a, .bl-x { color: var(--acc); }
.bl-video { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 24px 0; padding: 16px; border-radius: 14px; border: 1px solid var(--line2); background: var(--panel); }
.bl-video span { color: var(--fg3); font-size: 13.5px; }
.bl-video.on { padding: 0; border: 0; background: none; display: block; }
.bl-video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; }
.bl-draft { margin: 0 0 18px; padding: 10px 14px; border-radius: 10px; border: 1px dashed rgba(255,201,60,.6); color: #ffc93c; font-size: 13.5px; font-weight: 700; }

/* crosshair codes page: VALORANT code converter */
.vc { margin: 26px 0 30px; padding: 20px; border-radius: 18px; border: 1px solid rgba(68,214,44,.35); background: radial-gradient(120% 160% at 0% 0%, rgba(68,214,44,.08), transparent 55%), var(--panel); }
.vc h2 { margin: 0 0 6px; }
.vc p { margin: 0 0 14px; }
.vc-row { display: grid; grid-template-columns: 1fr 240px; gap: 14px; align-items: center; }
.vc-in { height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line2); background: #0b0b0b; color: #fff; font: 600 15px ui-monospace, Consolas, monospace; min-width: 0; }
.vc-in:focus { outline: none; border-color: rgba(68,214,44,.6); }
/* the code's crosshair at the game's own size (1 game pixel = 1 screen pixel), zoom 2x / 4x on the chips */
.vc .vc-prev { width: 240px; height: 160px; min-height: 0; aspect-ratio: auto; border-radius: 12px; overflow: hidden; }
.vc .vc-prev .xh-svg { width: var(--vz, 120px); height: var(--vz, 120px); }
.vc-zoom { position: absolute; right: 6px; bottom: 6px; display: flex; gap: 4px; z-index: 2; }
.vc-zoom button { min-width: 30px; height: 24px; padding: 0 6px; border-radius: 7px; border: 1px solid rgba(255,255,255,.18); background: rgba(8,9,8,.72); color: #dfe5df; font: 700 12px/1 inherit; cursor: pointer; }
.vc-zoom button.on { background: #44d62c; color: #061003; border-color: #44d62c; }
.vc-out { display: flex; gap: 10px; margin-top: 12px; }
.vc-msg { margin: 10px 0 0 !important; color: #ff8080; font-size: 14px; min-height: 1em; }
@media (max-width: 560px) { .vc-row { grid-template-columns: 1fr; } .vc .vc-prev { width: 100%; } }


/* ---- free web tools (tools.py, js/tools.js) */
.tool .tl-modes { display: flex; gap: 8px; margin: 18px 0 8px; }
.tool .tl-modes .btn.on { border-color: #44d62c; color: #44d62c; }
.tl-big { font-size: 34px; font-weight: 900; margin: 6px 0 12px; font-variant-numeric: tabular-nums; }
.tl-area { position: relative; overflow: hidden; display: grid; place-items: center; height: 240px; border-radius: 18px; border: 1px dashed rgba(255,255,255,.18); background: radial-gradient(60% 80% at 50% 40%, rgba(68,214,44,.08), transparent 70%), #0d0e0f; color: #aaa; font-size: 18px; font-weight: 700; user-select: none; cursor: pointer; }
.tl-area.done { border-style: solid; border-color: rgba(68,214,44,.5); color: #44d62c; }
.tl-area.hit { animation: tl-hit .18s ease; }
@keyframes tl-hit { 50% { background-color: #141815; } }
.tl-pad { height: 300px; cursor: crosshair; }
.tl-ripple { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; border: 2px solid #44d62c; animation: tl-rip .5s ease-out forwards; pointer-events: none; }
@keyframes tl-rip { to { transform: scale(5); opacity: 0; } }
.tl-best, .tl-note, .tl-private { color: #8a8a8a; font-size: 14px; }
.tl-btns { display: grid; gap: 8px; margin-top: 14px; }
.tl-btnrow { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 12px; background: #111; border: 1px solid #222; }
.tl-btnrow .n { color: #8a8a8a; font-size: 14px; }
.tl-btnrow.ok { border-color: rgba(68,214,44,.4); } .tl-btnrow.ok .st { color: #44d62c; font-weight: 700; }
.tl-btnrow.bad { border-color: rgba(255,80,80,.5); } .tl-btnrow.bad .st { color: #ff6b6b; font-weight: 800; }
.tl-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 12px; }
.tl-stat { display: grid; min-width: 110px; padding: 12px 16px; border-radius: 14px; background: #111; border: 1px solid #222; }
.tl-stat span { color: #8a8a8a; font-size: 13px; } .tl-stat b { font-size: 28px; font-weight: 900; font-variant-numeric: tabular-nums; } .tl-stat small { color: #8a8a8a; }
.kt { display: grid; gap: 6px; padding: 14px; border-radius: 16px; background: #0d0e0f; border: 1px solid #222; overflow-x: auto; }
.kt-row { display: flex; gap: 6px; min-width: 640px; }
.kt-key { flex: 1 1 0; display: grid; place-items: center; height: 40px; border-radius: 8px; background: #1a1b1d; border: 1px solid #2a2b2e; color: #bbb; font-size: 12px; font-weight: 700; transition: background .12s, color .12s; }
.kt-key.seen { background: rgba(68,214,44,.16); border-color: rgba(68,214,44,.35); color: #cfe9c8; }
.kt-key.down { background: #44d62c; color: #0b0b0b; border-color: #44d62c; }

.tl-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 18px 0 4px; }
.tl-f { display: grid; gap: 6px; } .tl-f span { color: #8a8a8a; font-size: 13px; }
.tl-in { height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid #2a2b2e; background: #111; color: #eee; font: inherit; font-size: 15px; }
.tl-in:focus { outline: none; border-color: #44d62c; }

.tl-strip .tl-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.tl-chip { padding: 10px 16px; border-radius: 999px; background: #111; border: 1px solid #2a2a2a; color: #e8e8e8; text-decoration: none; font-weight: 600; font-size: 14px; transition: border-color .2s, color .2s; }
.tl-chip:hover { border-color: #44d62c; color: #44d62c; }

.tl-share { margin: 6px 0 0; }

/* phones: three columns left ~110 px per answer and broke words in half ("Telemetri-e"); the row's title now sits on
   its own line and the two answers share the width below it */
@media (max-width: 560px) {
  .cmp-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cmp-row > div:first-child { grid-column: 1 / -1; padding: 14px 14px 2px; }
  .cmp-row:first-child > div:first-child { display: none; }
  .cmp-row > div:nth-child(2), .cmp-row > div:nth-child(3) { padding: 8px 14px 14px; align-items: flex-start; }
  .cmp-row > div:nth-child(3) { padding-top: 8px; }
}

/* quests, Jade and mouse skins */
.skin-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.skin-facts span { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(68, 214, 44, .35); background: rgba(68, 214, 44, .08); color: var(--fg); font-size: 14px; font-weight: 600; }
.skins { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.skin { aspect-ratio: 1; border-radius: 20px; border: 1px solid var(--line); background: radial-gradient(70% 60% at 50% 40%, rgba(68, 214, 44, .10), transparent 70%), var(--panel); display: grid; place-items: center; overflow: hidden; transition: transform .25s ease, border-color .25s ease; }
/* the skin on a mouse's shape, as the app's store and Mouse page wear it */
.skin i { position: relative; width: 46%; height: 72%; border-radius: 50% 50% 46% 46% / 41% 41% 57% 57%; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 -22px 34px rgba(0, 0, 0, .55), 0 18px 34px rgba(0, 0, 0, .6); transition: transform .3s ease; }
.skin i::before { content: ""; position: absolute; left: 50%; top: 0; height: 40%; width: 1px; background: rgba(255, 255, 255, .25); }
.skin i::after { content: ""; position: absolute; left: 50%; top: 14%; width: 10%; height: 16%; transform: translateX(-50%); border-radius: 6px; background: rgba(10, 10, 10, .75); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.skin:hover i { transform: rotate(-6deg) scale(1.04); }
.skin:hover { transform: translateY(-4px); border-color: rgba(68, 214, 44, .45); }
@media (max-width: 900px) { .skins { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .skins { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }

/* skins as product photos: wider tiles, the photo's edges fade into the card */
.skins:has(.photo) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.skin.photo { aspect-ratio: 3 / 2; background: #070908; }
.skin.photo img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); transition: transform .3s ease; }
.skin.photo:hover img { transform: scale(1.06); }
@media (max-width: 900px) { .skins:has(.photo) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* quests and Jade (7 Nov): the gem, no skins */
.jade { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; align-items: center; gap: 64px; }
.jade-gem { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.jade-gem img { position: relative; width: 78%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.6)); animation: jade-float 6s ease-in-out infinite; }
.jade-gem .glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(68,214,44,.38), rgba(68,214,44,0) 68%); filter: blur(10px); }
.jade-txt .sub { max-width: 520px; }
.jade-facts { justify-content: flex-start; }
@keyframes jade-float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .jade-gem img { animation: none; } }
@media (max-width: 860px) { .jade { grid-template-columns: 1fr; gap: 24px; text-align: center; } .jade-gem { max-width: 260px; margin: 0 auto; } .jade-facts { justify-content: center; } .jade-txt .sub { margin-inline: auto; } }

/* the hero (7 Nov): the app's own screens, layered, tilting with the pointer like the mouse did */
.stage3d.shots { height: min(620px, 70vh); }
.stage3d.shots .ring { top: 62%; }
.hs-stack { position: relative; width: 100%; aspect-ratio: 1282 / 900; transform-style: preserve-3d; animation: appear 1.4s cubic-bezier(.2,.8,.2,1) .2s both; }
.hs { position: absolute; display: block; height: auto; max-width: none; border-radius: 14px; border: 1px solid rgba(255,255,255,.10); background: #070707;
  box-shadow: 0 40px 90px rgba(0,0,0,.7), 0 0 0 1px rgba(0,0,0,.6), 0 0 80px rgba(68,214,44,.10); }
.hs.main { left: 4%; top: 6%; width: 92%; transform: translateZ(0); }
.hs.xh { right: -7%; top: -4%; width: 44%; transform: translateZ(70px); animation: bob 7s ease-in-out infinite; border-color: rgba(68,214,44,.35); }
.hs.ms { left: -6%; bottom: -2%; width: 42%; transform: translateZ(90px); animation: bob 8s ease-in-out -3s infinite; }
.hs-mini { position: absolute; right: -2%; bottom: 4%; display: flex; gap: 12px; align-items: center; width: 290px; padding: 11px 13px; border-radius: 16px; transform: translateZ(120px);
  background: rgba(12,12,12,.88); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 24px 50px rgba(0,0,0,.6); animation: bob 6s ease-in-out -1.5s infinite; }
.hs-mini .cv { width: 52px; height: 52px; flex: none; border-radius: 10px; background: conic-gradient(from 210deg, #44d62c, #0f3d0a, #2ec5ff, #44d62c); animation: hue 12s linear infinite; }
.hs-mini .t { min-width: 0; flex: 1; } .hs-mini b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-mini small { display: flex; align-items: center; gap: 6px; color: var(--fg3); font-size: 12px; }
.hs-mini .bar { height: 3px; margin-top: 8px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; } .hs-mini .bar i { display: block; height: 100%; width: 42%; background: var(--acc); }
[dir=rtl] .hs.xh { right: auto; left: -7%; } [dir=rtl] .hs.ms { left: auto; right: -6%; } [dir=rtl] .hs-mini { right: auto; left: -2%; }
@media (max-width: 1000px) { .stage3d.shots { height: auto; margin: 20px 0 10px; } .hs.xh { right: -2%; } .hs.ms { left: -2%; } .hs-mini { right: 2%; width: 240px; } }
@media (max-width: 560px) { .hs.xh, .hs.ms { width: 46%; } .hs-mini { display: none; } }
@media (prefers-reduced-motion: reduce) { .hs, .hs-mini { animation: none !important; } }

/* the waiting list (7 Nov) */
.wl { max-width: 560px; margin: 56px auto 0; padding: 26px 26px 20px; border-radius: 20px; border: 1px solid rgba(68,214,44,.25); background: linear-gradient(180deg, rgba(68,214,44,.07), rgba(68,214,44,.02)); text-align: center; }
.wl h3 { margin: 0 0 6px; font-size: 22px; }
.wl > p { margin: 0 0 16px; color: var(--fg2); font-size: 15px; }
.wl-row { display: flex; gap: 10px; }
.wl-row input[type=email] { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: #0a0a0a; color: var(--fg); font: inherit; font-size: 15px; outline: 0; transition: border-color .2s; }
.wl-row input[type=email]:focus { border-color: var(--acc); }
.wl-row .btn { height: 48px; flex: none; }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-note { display: block; margin-top: 10px; color: var(--fg3); font-size: 12.5px; }
.wl-msg { min-height: 1.2em; margin: 8px 0 0; font-size: 14px; font-weight: 600; }
.wl-msg.ok { color: var(--acc); } .wl-msg.bad { color: #ffb84d; }
.wl.done .wl-row { display: none; }
@media (max-width: 560px) { .wl-row { flex-direction: column; } .wl-row input[type=email] { flex: none; width: 100%; } .wl-row .btn { width: 100%; justify-content: center; } }

/* "about a coffee a month" and the free / Pro table (7 Nov) */
.coffee { display: flex; align-items: center; gap: 16px; max-width: 680px; margin: 30px auto 40px; padding: 16px 22px; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.coffee .cup { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: rgba(68,214,44,.12); }
.coffee b { display: block; font-size: 19px; } .coffee span { color: var(--fg2); font-size: 15px; }
.ptable { max-width: 860px; margin: 40px auto 0; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.pt-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1.2fr); }
.pt-row > div { padding: 13px 18px; font-size: 14.5px; border-top: 1px solid rgba(255,255,255,.06); color: var(--fg2); }
.pt-row > div:first-child { color: var(--fg); font-weight: 600; }
.pt-row .pro { background: rgba(68,214,44,.05); color: var(--fg); }
.pt-head > div { border-top: 0; font-weight: 800; color: var(--fg); background: rgba(255,255,255,.03); }
.pt-head .pro { color: var(--acc); background: rgba(68,214,44,.10); }
.pt-row .yes { color: var(--acc); font-weight: 800; } .pt-row .no { color: var(--fg3); }
@media (max-width: 640px) { .pt-row { grid-template-columns: minmax(0, 1.2fr) minmax(0, .7fr) minmax(0, 1fr); } .pt-row > div { padding: 11px 10px; font-size: 13px; } .coffee { flex-direction: column; text-align: center; } }
@media (max-width: 1000px) { .stage3d.shots ~ .scroll-hint, .hero:has(.shots) .scroll-hint { display: none; } }
@media (max-width: 560px) { .hs.xh, [dir=rtl] .hs.xh { right: 0; left: auto; top: -6%; } .hs.ms, [dir=rtl] .hs.ms { left: 0; right: auto; } [dir=rtl] .hs.xh { left: 0; right: auto; } [dir=rtl] .hs.ms { right: 0; left: auto; } .hs.main { left: 2%; width: 96%; } }

/* HEJİR AI section (7 Nov): a chat in the page's language and the voice notice over a game */
.aisec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.ai-pts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ai-pts li { display: flex; gap: 10px; align-items: center; font-size: 16px; color: var(--fg); }
.ai-pts li svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 7px; background: rgba(68,214,44,.14); }
.ai-demo { position: relative; padding: 20px 0 78px; }
.ai-win { border-radius: 22px; border: 1px solid rgba(255,255,255,.1); background: linear-gradient(180deg, #141714, #0b0c0b); box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 80px rgba(68,214,44,.08); overflow: hidden; }
.ai-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.06); }
.ai-top .av { width: 30px; height: 30px; border-radius: 10px; background: url(/img/icon.png) center/70% no-repeat, #1b201c; }
.ai-top b { font-size: 15px; } .ai-top small { color: var(--fg3); font-size: 12.5px; }
.ai-msgs { padding: 18px 16px; display: grid; gap: 10px; }
.ai-msgs .m { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; }
.ai-msgs .m.u { justify-self: end; background: var(--acc); color: #07120a; font-weight: 700; border-bottom-right-radius: 5px; }
.ai-msgs .m.a { justify-self: start; background: #1a1e1b; border: 1px solid rgba(255,255,255,.06); border-bottom-left-radius: 5px; display: grid; gap: 6px; }
.ai-msgs .m.a em { display: flex; align-items: center; gap: 7px; font-style: normal; color: var(--fg2); font-size: 13px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.06); }
.ai-msgs .m.a em + em { border-top: 0; padding-top: 0; }
.ai-in { display: flex; align-items: center; justify-content: space-between; margin: 0 14px 14px; padding: 10px 10px 10px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); background: #080908; color: var(--fg3); font-size: 14px; }
.ai-in i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #ff4d5e; }
.ai-osd { position: absolute; right: -14px; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(10,12,10,.94); border: 1px solid rgba(68,214,44,.45); box-shadow: 0 20px 50px rgba(0,0,0,.6), 0 0 24px rgba(68,214,44,.18); animation: bob 6s ease-in-out infinite; }
.ai-osd > span { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #ff4d5e; animation: osdmic 1.2s ease-in-out infinite; }
.ai-osd b { display: block; font-size: 16px; } .ai-osd small { color: var(--fg2); font-size: 12.5px; }
@keyframes osdmic { 50% { box-shadow: 0 0 0 7px rgba(255,77,94,.22); } }
[dir=rtl] .ai-osd { right: auto; left: -14px; }
@media (max-width: 900px) { .aisec { grid-template-columns: 1fr; gap: 30px; } .ai-osd { right: 8px; } [dir=rtl] .ai-osd { left: 8px; } }
@media (prefers-reduced-motion: reduce) { .ai-osd, .ai-osd > span { animation: none; } }

/* the overlay demo over the owner's flooded street (7 Nov: "the scenes can go on the site too") */
.ov-stage { background: #0b0d0b url(/img/scenes/flood.jpg) center 55% / cover no-repeat; }
.ov-stage::before { background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.25)); }
.ov-hills { display: none; }

/* the AI chat plays itself once when it comes into view (7 Nov): question, typing dots, answer, next */
.ai-msgs .m.t { justify-self: start; display: flex; gap: 5px; padding: 13px 15px; background: #1a1e1b; border: 1px solid rgba(255,255,255,.06); border-bottom-left-radius: 5px; }
.ai-msgs .m.t i { width: 7px; height: 7px; border-radius: 50%; background: var(--fg3); animation: aidot 1s infinite; }
.ai-msgs .m.t i:nth-child(2) { animation-delay: .15s; } .ai-msgs .m.t i:nth-child(3) { animation-delay: .3s; }
@keyframes aidot { 0%, 100% { opacity: .3; transform: none; } 50% { opacity: 1; transform: translateY(-3px); } }
.ai-msgs .m.t { display: none; }
.ai-demo.in .ai-msgs .m { opacity: 0; transform: translateY(8px); animation: aimsg .35s cubic-bezier(.2,.8,.2,1) forwards; }
.ai-demo.in .ai-msgs .m.t { display: flex; animation: aityping 1.1s ease forwards; }
.ai-demo.in .ai-msgs .m.s1 { animation-delay: .2s; }
.ai-demo.in .ai-msgs .m.s2 { animation-delay: .7s; }
.ai-demo.in .ai-msgs .m.s3 { animation-delay: 1.8s; }
.ai-demo.in .ai-msgs .m.s4 { animation-delay: 2.8s; }
.ai-demo.in .ai-msgs .m.s5 { animation-delay: 3.3s; }
.ai-demo.in .ai-msgs .m.s6 { animation-delay: 4.4s; }
.ai-demo.in .ai-msgs .m.a em { opacity: 0; animation: aimsg .3s ease forwards; animation-delay: inherit; }
.ai-demo.in .ai-msgs .m.s3 em { animation-delay: 2.2s; } .ai-demo.in .ai-msgs .m.s6 em { animation-delay: 4.8s; } .ai-demo.in .ai-msgs .m.s6 em.late { animation-delay: 5.1s; }
@keyframes aimsg { to { opacity: 1; transform: none; } }
@keyframes aityping { 0% { opacity: 0; max-height: 40px; } 15%, 85% { opacity: 1; max-height: 40px; } 100% { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: -10px; border-width: 0; } }
@media (prefers-reduced-motion: reduce) { .ai-demo.in .ai-msgs .m, .ai-demo.in .ai-msgs .m.a em { animation: none; opacity: 1; transform: none; } .ai-demo.in .ai-msgs .m.t { display: none; } }

/* the promo video window (7 Nov) */
.vid-pop { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.82); backdrop-filter: blur(6px); animation: fadein .2s ease; }
.vid-in { position: relative; width: min(1100px, 100%); }
.vid-in video { display: block; width: 100%; border-radius: 18px; border: 1px solid rgba(68,214,44,.35); box-shadow: 0 40px 100px rgba(0,0,0,.7), 0 0 60px rgba(68,214,44,.15); background: #000; }
.vid-in button { position: absolute; top: -14px; right: -14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: #111; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.cr-video { display: block; width: 100%; margin: 14px 0 10px; border-radius: 16px; border: 1px solid rgba(68,214,44,.3); background: #000; }
.cr-kit { font-size: 14px; } .cr-kit a { font-weight: 700; }
/* the newest posts on the home page (7 Nov) */
.news-strip .ns-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.news-strip .ns-head h2 { font-size: clamp(26px, 3vw, 36px); margin: 0; }
.news-strip .ns-head a { color: var(--acc); font-weight: 700; white-space: nowrap; }
.news-strip .bl-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .news-strip .bl-cards { grid-template-columns: minmax(0, 1fr); } }
.nt-dlg .rv { opacity: 1 !important; transform: none !important; }
/* 7 Nov: reading pages on a desktop: the text at a readable width with a sticky side column next to it */
.doc-wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.doc-wrap > .doc { max-width: 820px; margin: 0; padding-left: 0; padding-right: 0; }
.doc-side { position: sticky; top: 96px; margin-top: 140px; display: grid; gap: 18px; }
.sd-card { padding: 22px; border-radius: 20px; border: 1px solid rgba(68,214,44,.28); background: linear-gradient(180deg, rgba(68,214,44,.08), rgba(68,214,44,.02)); }
.sd-card svg { width: 38px; height: 38px; display: block; margin-bottom: 10px; }
.sd-card b { font-size: 20px; letter-spacing: .06em; }
.sd-card p { margin: 8px 0 16px; color: var(--fg2); font-size: 14.5px; line-height: 1.5; }
.sd-card .btn { width: 100%; color: var(--accfg); }
.sd-box { padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }
.sd-box h4 { margin: 0 0 10px; font-size: 14px; color: var(--fg); letter-spacing: .02em; }
.sd-box a { display: block; padding: 7px 0; color: var(--fg2); font-size: 14px; line-height: 1.4; border-top: 1px solid var(--line); }
.sd-box a:first-of-type { border-top: 0; }
.sd-box a:hover { color: #fff; }
@media (max-width: 1100px) { .doc-wrap { display: block; padding: 0; } .doc-wrap > .doc { max-width: 820px; margin: 0 auto; padding-left: 28px; padding-right: 28px; } .doc-side { display: none; } }
/* listing pages (guides, news, tests) use the full width */
.doc.wide { max-width: 1240px; }
.doc.wide .gd-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .doc.wide .gd-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .doc.wide .gd-cards { grid-template-columns: 1fr; } }
/* 7 Nov: the longer chat: three ticks one after another, then the follow-up question */
.ai-msgs .m.a .q { color: var(--fg); padding-top: 6px; border-top: 1px solid rgba(255,255,255,.06); }
.ai-demo.in .ai-msgs .m.s3 em:nth-of-type(2) { animation-delay: 2.45s; }
.ai-demo.in .ai-msgs .m.s3 em:nth-of-type(3) { animation-delay: 2.7s; }
.ai-demo.in .ai-msgs .m.s3 .q { opacity: 0; animation: aimsg .3s ease forwards; animation-delay: 3.1s; }
.ai-demo.in .ai-msgs .m.s4 { animation-delay: 4.2s; }
.ai-demo.in .ai-msgs .m.s5 { animation-delay: 4.7s; }
.ai-demo.in .ai-msgs .m.s6 { animation-delay: 5.8s; }
.ai-demo.in .ai-msgs .m.s6 em.late { animation-delay: 6.1s; }
@media (prefers-reduced-motion: reduce) { .ai-demo.in .ai-msgs .m.s3 .q { animation: none; opacity: 1; } }
/* 7 Nov: the origin story, four moments in a row */
.st-beats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 56px; }
.st-beat { position: relative; padding: 28px 24px 26px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, #111, #0b0b0b); }
.st-beat:nth-child(3) { border-color: rgba(68,214,44,.45); background: linear-gradient(180deg, rgba(68,214,44,.12), rgba(68,214,44,.03)); }
.st-n { display: block; font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--acc); margin-bottom: 16px; }
.st-beat h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.25; }
.st-beat p { margin: 0; color: var(--fg2); font-size: 15px; line-height: 1.6; }
.st-close { margin: 44px auto 0; text-align: center; font-size: clamp(20px, 2.2vw, 28px); font-weight: 800; letter-spacing: -.01em; }
@media (max-width: 1000px) { .st-beats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .st-beats { grid-template-columns: 1fr; } }
.about { padding-top: 60px; }

/* 7 Nov: the About page, a narrator's timeline like Discord's company page */
.about .ab-hero { padding: 170px 0 40px; text-align: center; }
.about .ab-hero h1 { margin: 14px auto 22px; }
.ab-intro { max-width: 760px; margin: 0 auto; color: var(--fg2); font-size: 19px; line-height: 1.7; font-style: italic; }
.ab-line .wrap { position: relative; padding: 50px 28px 40px; }
.ab-line .wrap::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-1px); background: linear-gradient(180deg, transparent, rgba(68,214,44,.55) 8%, rgba(68,214,44,.55) 92%, transparent); }
.ab-ch { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; margin: 0 0 110px; }
.ab-ch::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--acc); box-shadow: 0 0 0 6px rgba(68,214,44,.15), 0 0 24px rgba(68,214,44,.6); }
.ab-ch.r .ab-pic { order: 2; justify-self: start; }
.ab-pic { justify-self: end; width: min(360px, 100%); aspect-ratio: 5 / 4; display: grid; place-items: center; border-radius: 28px; border: 1px solid var(--line2); background: radial-gradient(120% 90% at 50% 20%, #142012, #0a0a0a 70%); }
.ab-pic svg { width: 78%; height: auto; overflow: visible; }
.ab-when { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--acc); margin-bottom: 12px; }
.ab-txt h2 { margin: 0 0 14px; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.05; letter-spacing: -.02em; }
.ab-txt p { margin: 0; color: #cfcfcf; font-size: 17px; line-height: 1.75; max-width: 520px; }
.ab-ch.r .ab-txt { text-align: right; justify-self: end; }
.ab-ch.r .ab-txt p { margin-left: auto; }
.ab-ch.in .sp-price { animation: spPop 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.ab-ch.in .sp-key.d { animation: spPress 1.6s ease-in-out infinite; }
.ab-ch.in .sp-skull { animation: spBlink 1.6s ease-in-out infinite; }
.ab-ch.in .sp-f9 { animation: spGlow 2s ease-in-out infinite; }
.ab-ch.in .sp-dpibtn { animation: spBlink 1.2s ease-in-out infinite; }
.ab-ch.in .sp-dots circle { animation: spBlink 2.4s ease-in-out infinite; }
.ab-ch.in .sp-dots circle:nth-child(2) { animation-delay: .4s; } .ab-ch.in .sp-dots circle:nth-child(3) { animation-delay: .8s; } .ab-ch.in .sp-dots circle:nth-child(4) { animation-delay: 1.2s; } .ab-ch.in .sp-dots circle:nth-child(5) { animation-delay: 1.6s; }
@keyframes spPop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes spPress { 0%, 100% { transform: translateY(0); } 45%, 55% { transform: translateY(5px); } }
@keyframes spBlink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes spGlow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(68,214,44,0)); } 50% { filter: drop-shadow(0 0 16px rgba(68,214,44,.8)); } }
@media (prefers-reduced-motion: reduce) { .ab-ch.in svg * { animation: none !important; } }
@media (max-width: 860px) {
  .ab-line .wrap::before { left: 34px; }
  .ab-ch { grid-template-columns: 1fr; gap: 22px; padding-left: 52px; margin-bottom: 70px; }
  .ab-ch::after { left: 34px; top: 30px; }
  .ab-ch.r .ab-pic, .ab-pic { order: 0; justify-self: start; width: 100%; max-width: 360px; }
  .ab-ch.r .ab-txt { text-align: left; justify-self: start; }
  .ab-ch.r .ab-txt p { margin-left: 0; }
}
.about .ab-hero h1 { font-size: clamp(46px, 6.4vw, 92px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 900; }
.about .ab-hero h1 em { font-style: normal; color: var(--acc); }

/* 7 Nov: Discord's voice: a mission line under the title, then the story's own heading and lead */
.ab-mission { max-width: 820px; margin: 0 auto; color: #d8d8d8; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.65; }
.ab-story { padding: 90px 0 10px; text-align: center; border-top: 1px solid var(--line); margin-top: 90px; }
.ab-lead { max-width: 820px; margin: 16px auto 0; color: var(--fg2); font-size: 19px; line-height: 1.75; }

.ab-ch.in .sp-spin { animation: spSpin 1.4s linear infinite; transform-box: fill-box; transform-origin: center; }
.ab-ch.in .sp-lost { animation: spBlink 1.4s ease-in-out infinite; }
.ab-ch.in .sp-fly { animation: spFly 2.6s ease-in infinite; }
.ab-ch.in .sp-rise { animation: spRise 2.4s ease-in-out infinite; }
.ab-ch.in .sp-flame { animation: spBlink .5s ease-in-out infinite; }
@keyframes spSpin { to { transform: rotate(360deg); } }
@keyframes spFly { 0% { transform: translate(0, 0); opacity: 1; } 100% { transform: translate(24px, -24px); opacity: 0; } }
@keyframes spRise { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.ab-ch.in .sp-lock { animation: spBlink 1.3s ease-in-out infinite; }
.ab-ch.in .sp-dead { animation: spDim 2.6s ease-in-out infinite; }
@keyframes spDim { 0%, 40% { opacity: 1; } 55%, 100% { opacity: .35; } }
/* 7 Nov (owner: "boxes, empty left and right, look at Discord, Tesla and the big brands"): news and guides as a
   newsroom. Wider pages, no boxes around cards (picture and words on the page), the newest story large on top. */
.doc-wrap { max-width: var(--maxw); grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; }
.doc-wrap > .doc { max-width: 880px; }
.doc.wide { max-width: var(--maxw); }
.nr { padding-top: 128px; }
.nr-head { max-width: 760px; margin-bottom: 36px; }
.nr-head h1 { font-size: clamp(44px, 6vw, 84px); line-height: .95; letter-spacing: -.035em; margin: 0 0 18px; }
.nr-head .lead-doc { font-size: 19px; color: var(--fg2); margin: 0; }
.bl-feat { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 44px; align-items: center; color: var(--fg); margin: 0 0 56px; }
.bl-feat .bl-img { aspect-ratio: 16 / 10; border-radius: 22px; }
.bl-feat .bl-ft { display: grid; gap: 16px; align-content: center; }
.bl-feat b { font-size: clamp(28px, 3vw, 44px); line-height: 1.08; letter-spacing: -.02em; }
.bl-feat .bl-ds { color: var(--fg2); font-size: 17px; line-height: 1.55; }
.bl-go { display: inline-flex; align-items: center; gap: 8px; width: max-content; color: var(--acc); font-weight: 800; font-size: 16px; }
.bl-go svg { width: 18px; height: 18px; transition: transform .25s; }
.bl-feat:hover .bl-go svg { transform: translateX(5px); }
.nr .bl-cards, .nr .gd-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; }
.nr .bl-card, .nr .gd-card { padding: 0; border: 0; background: none; border-radius: 0; gap: 12px; transform: none; }
.nr .bl-card:hover, .nr .gd-card:hover { transform: none; }
.nr .bl-card b, .nr .gd-card b { font-size: 21px; line-height: 1.22; letter-spacing: -.01em; transition: color .2s; }
.nr .bl-card:hover b, .nr .gd-card:hover b, .bl-feat:hover b { color: var(--acc); }
.nr .bl-card > span:last-child, .nr .gd-card > span:last-child { font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nr .bl-img, .gd-img { display: block; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: #0d0d0d; border: 1px solid #1c1c1c; position: relative; }
.nr .bl-img img, .gd-img img, .bl-feat .bl-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; aspect-ratio: auto; border-radius: 0; transform: scale(1.02); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.nr .bl-card:hover .bl-img img, .nr .gd-card:hover .gd-img img, .bl-feat:hover .bl-img img { transform: scale(1.07); }
.nr .bl-img::after, .gd-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.35)); pointer-events: none; }
.nr .bl-meta, .bl-feat .bl-meta { margin-top: 4px; }
.nr-top { margin-bottom: 64px; padding-bottom: 56px; border-bottom: 1px solid var(--line2); }
/* the topics stay where they are: stuck to the top they covered the card titles (owner, 7 Nov evening) */
.nr-chips { margin: 0 0 32px; padding: 0; }
.gd-feat .bl-img img { object-position: center top; }
@media (max-width: 1100px) { .nr .bl-cards, .nr .gd-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bl-feat { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 640px) { .nr .bl-cards, .nr .gd-cards { grid-template-columns: 1fr; gap: 32px; } .nr { padding-top: 104px; } .nr-chips { position: static; } }
@media (prefers-reduced-motion: reduce) { .nr .bl-img img, .gd-img img, .bl-feat .bl-img img, .bl-go svg { transition: none; } }
/* the reading column, 7 Nov evening (owner: "why is it like this?"): no boxes, it follows the page. The column runs
   the whole height of the text and its contents stay in view while reading. */
.doc-wrap { align-items: stretch; }
.doc-side { position: static; margin-top: 140px; display: block; }
.sd-stick { position: sticky; top: 96px; display: grid; gap: 22px; max-height: calc(100vh - 116px); overflow-y: auto; scrollbar-width: none; padding-bottom: 8px; }
.sd-stick::-webkit-scrollbar { display: none; }
.sd-toc h4, .sd-rel h4 { margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--fg3); }
.sd-toc ol { list-style: none; margin: 0; padding: 0; padding-inline-start: 14px; position: relative; display: grid; gap: 2px; }
.sd-toc ol::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; bottom: 4px; width: 2px; border-radius: 2px; background: var(--line2); }
.sd-toc ol::after { content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 2px; height: calc((100% - 8px) * var(--p, 0)); border-radius: 2px; background: var(--acc); box-shadow: 0 0 10px rgba(68,214,44,.6); transition: height .15s linear; }
.sd-toc a { display: block; padding: 6px 0; color: var(--fg3); font-size: 14.5px; line-height: 1.35; transition: color .2s; }
.sd-toc a:hover { color: var(--fg); }
.sd-toc a.on { color: #fff; font-weight: 700; }
.sd-copy { display: inline-flex; align-items: center; gap: 9px; width: max-content; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line2); background: none; color: var(--fg2); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: color .2s, border-color .2s; }
.sd-copy svg { width: 16px; height: 16px; }
.sd-copy:hover { color: var(--fg); border-color: rgba(68,214,44,.5); }
.sd-copy.done { color: var(--acc); border-color: var(--acc); }
.sd-card { display: grid; grid-template-columns: 38px 1fr; gap: 6px 14px; align-items: center; padding: 18px; border-radius: 18px; }
.sd-card svg { width: 38px; height: 38px; margin: 0; }
.sd-card b { font-size: 17px; }
.sd-card p { margin: 2px 0 0; font-size: 13.5px; line-height: 1.4; }
.sd-card .btn { grid-column: 1 / -1; margin-top: 8px; }
.sd-rel { display: grid; gap: 4px; }
.sd-item { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; padding: 8px 0; color: var(--fg); }
.sd-th { display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #0d0d0d; border: 1px solid #1c1c1c; }
.sd-th img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform .4s; }
.sd-item:hover .sd-th img { transform: scale(1.08); }
.sd-tx { display: grid; gap: 3px; }
.sd-tx i { font-style: normal; color: var(--acc); font-size: 12px; font-weight: 800; }
.sd-tx b { font-size: 14px; line-height: 1.3; font-weight: 700; transition: color .2s; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sd-item:hover .sd-tx b { color: var(--acc); }
/* "more news" under a story: the same open cards as the news page */
.doc-wrap .bl-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 22px; }
.doc-wrap .bl-card { padding: 0; border: 0; background: none; border-radius: 0; gap: 10px; }
.doc-wrap .bl-card:hover { transform: none; }
.doc-wrap .bl-card .bl-img { aspect-ratio: 16 / 10; border-radius: 14px; border: 1px solid #1c1c1c; }
.doc-wrap .bl-card .bl-img img { object-position: center top; transition: transform .5s; }
.doc-wrap .bl-card:hover .bl-img img { transform: scale(1.06); }
.doc-wrap .bl-card b { font-size: 17px; transition: color .2s; }
.doc-wrap .bl-card:hover b { color: var(--acc); }
.doc-wrap .bl-card > span:last-child { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 760px) { .doc-wrap .bl-cards { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .sd-th img, .doc-wrap .bl-card .bl-img img, .sd-toc ol::after { transition: none; } }
.doc h2 { scroll-margin-top: 96px; }
/* the explainers' own row on the news front page (7 Nov evening) */
.nr-h { margin: 0 0 22px; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.02em; }
.nr-ex { margin-bottom: 64px; padding-bottom: 56px; border-bottom: 1px solid var(--line2); }

/* ---------- cookie choice (7 Nov): a small card in the bottom corner, never over the page ---------- */
.ck { position: fixed; left: 20px; bottom: 20px; z-index: 70; width: min(400px, calc(100vw - 32px)); padding: 18px 18px 16px; border-radius: 18px; background: rgba(13,13,13,.96); border: 1px solid var(--line2); box-shadow: 0 24px 60px rgba(0,0,0,.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transform: translateY(14px); transition: opacity .25s ease, transform .25s ease; }
.ck.in { opacity: 1; transform: none; }
[dir="rtl"] .ck { left: auto; right: 20px; }
.ck-h { margin: 0 0 6px; font-weight: 800; font-size: 15px; letter-spacing: .02em; }
.ck-p { margin: 0 0 14px; color: var(--fg2); font-size: 14px; line-height: 1.5; }
.ck-p a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.ck-b { display: flex; gap: 10px; }
.ck-b .btn { flex: 1; }
.ft-ck { all: unset; cursor: pointer; display: block; line-height: 1.35; padding: 5px 0; }
.ft-ck:hover { color: var(--fg); }
@media (max-width: 560px) { .ck { left: 16px; right: 16px; bottom: 16px; width: auto; } [dir="rtl"] .ck { right: 16px; } }
.ck-more { all: unset; cursor: pointer; display: block; margin: 12px auto 0; font-size: 13px; color: var(--fg3); text-decoration: underline; text-underline-offset: 3px; }
.ck-more:hover { color: var(--fg); }
.ck [hidden] { display: none !important; }

/* the large preferences window behind "Customise" (7 Nov, owner: like Razer's) */
.ckp { width: min(680px, calc(100vw - 32px)); max-height: min(760px, calc(100vh - 40px)); padding: 0; border-radius: 22px; border: 1px solid var(--line2); background: #0b0b0b; color: var(--fg); box-shadow: 0 40px 120px rgba(0,0,0,.7); overflow: hidden; }
.ckp[open] { display: flex; flex-direction: column; }
.ckp::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(4px); }
.ckp-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px 16px; border-bottom: 1px solid var(--line); }
.ckp-top h2 { margin: 0; font-size: 22px; font-weight: 800; }
.ckp-top .nt-x { position: static; }
.ckp-body { padding: 18px 26px 6px; overflow-y: auto; }
.ckp-in { margin: 0 0 18px; color: var(--fg2); font-size: 15px; line-height: 1.55; }
.ckp-in a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.ckp-g { padding: 16px 18px; margin-bottom: 12px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.ckp-gh { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ckp-gh b { font-size: 16px; }
.ckp-g p { margin: 8px 0 0; color: var(--fg2); font-size: 14px; line-height: 1.55; }
.ckp-on { color: var(--acc); font-size: 13px; font-weight: 700; white-space: nowrap; }
.ckp-sw { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; cursor: pointer; }
.ckp-sw input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.ckp-sw span { position: absolute; inset: 0; border-radius: 13px; background: #2a2a2a; transition: background .2s; }
.ckp-sw span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #d8d8d8; transition: transform .2s, background .2s; }
.ckp-sw input:checked + span { background: var(--acc); }
.ckp-sw input:checked + span::after { transform: translateX(20px); background: #fff; }
.ckp-sw input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
[dir="rtl"] .ckp-sw span::after { left: auto; right: 3px; }
[dir="rtl"] .ckp-sw input:checked + span::after { transform: translateX(-20px); }
.ckp-foot { display: flex; gap: 10px; padding: 16px 26px 22px; border-top: 1px solid var(--line); }
.ckp-foot .btn { flex: 1; }
@media (max-width: 560px) { .ckp-foot { flex-direction: column; } .ckp-foot .btn { flex: none; } .ckp-top, .ckp-body, .ckp-foot { padding-left: 18px; padding-right: 18px; } }

/* the guides page's search (7 Nov evening, like Corsair's knowledge hub) */
.gd-find { margin: 26px 0 0; }
.gd-q { display: flex; align-items: center; gap: 12px; max-width: 720px; height: 58px; padding: 0 20px; border-radius: 29px; border: 1px solid var(--line2); background: rgba(255,255,255,.03); transition: border-color .2s, background .2s; }
.gd-q:focus-within { border-color: var(--acc); background: rgba(68,214,44,.04); }
.gd-q svg { width: 20px; height: 20px; color: var(--fg3); flex: none; }
.gd-q input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--fg); font: 600 16.5px var(--font); }
.gd-q input::placeholder { color: var(--fg3); }
.gd-chips { margin: 16px 0 0; }
.gd-chips .bl-chip { font-family: inherit; cursor: pointer; }
.gd-chips .bl-chip:not(.on) { background: none; }
.gd-cards .gd-card[hidden], .gd-feat[hidden] { display: none !important; }
.gd-none { margin: 10px 0 40px; color: var(--fg2); }

/* "Is my mouse supported?" (tools_devices.py) */
.dv-form { grid-template-columns: 1fr; }
.dv-q { height: 52px; font-size: 17px; }
.dv-brands { margin: 14px 0 6px; }
.dv-brands[hidden] { display: none; }
.dv-brands .bl-chip { font-family: inherit; cursor: pointer; background: none; }
.dv-list { display: grid; gap: 8px; margin: 10px 0 24px; }
.dv-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 14px; border-radius: 12px; background: #111; border: 1px solid #222; }
.dv-k { font-size: 12px; font-weight: 800; letter-spacing: .5px; color: #8a8a8a; text-transform: uppercase; min-width: 70px; }
.dv-n { flex: 1 1 220px; color: #e8e8e8; overflow-wrap: anywhere; }
.dv-n b { color: #fff; }
.dv-b, .dv-chip { font-size: 13px; color: #8a8a8a; }
.dv-ok { font-size: 13px; font-weight: 700; color: #44d62c; }
.gd-dv a { color: #44d62c; font-weight: 700; text-decoration: none; }
.gd-dv a:hover { text-decoration: underline; }
.dv-mk { margin-inline-start: auto; }
.dv-card { margin: 8px 0 28px; display: grid; justify-items: center; gap: 14px; }
.dv-card img { width: 100%; max-width: 440px; border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 40px rgba(68,214,44,.18); }
.dv-cardbtns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.dv-card[hidden] { display: none; }
/* 8 Nov: .btn's display:inline-flex beat the hidden attribute, so the tools' "Share result" button showed before any result */
[hidden] { display: none !important; } /* any element: .vc-out (crosshair codes) had the same trap */
.dv-gd { display: grid; gap: 6px; margin: 4px 0 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(68,214,44,.35); background: rgba(68,214,44,.06); }
.dv-gd b { font-size: 13px; color: #8a8a8a; text-transform: uppercase; letter-spacing: .5px; }
.dv-gd a { color: #44d62c; font-weight: 700; text-decoration: none; }
.dv-gd a:hover { text-decoration: underline; }

/* 8 Nov night: brand pages (brands.py) and the brand row on the guides index */
.gd-brands { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; margin-top: 14px; font-size: 14px; }
.gd-brands b { color: var(--muted, #9aa39b); font-weight: 700; }
.gd-brands a { color: #44d62c; text-decoration: none; font-weight: 700; }
.gd-brands a:hover { text-decoration: underline; }
.doc ul.hub-models { list-style: none; padding: 0; margin: 8px 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.doc ul.hub-models li::before { content: none; display: none; }
.doc ul.hub-models li { display: inline-block; margin: 0; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); font-size: 13px; overflow-wrap: anywhere; }
/* 8 Nov night: brand files on the creators page */
.cr-press { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 10px 0 6px; }
.cr-press a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); text-decoration: none; color: #cfd6d0; font-size: 13px; text-align: center; }
.cr-press a:nth-child(3) { background: #e9ece9; color: #111; }
.cr-press img { width: 100%; max-width: 160px; height: 110px; object-fit: contain; }
.cr-press a:hover { border-color: rgba(68,214,44,0.6); }
.dv-wrong { font-size: 12px; color: #8a8a8a; text-decoration: underline; text-underline-offset: 2px; }
.dv-wrong:hover { color: #cfd6d0; }

/* 8 Nov: the crosshair studio (tools_xhstudio.py, src/js/xhstudio.js) */
.xs { display: grid; gap: 18px; margin: 18px 0 8px; }
.xs-top { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; }
.xs-tabs, .xs-chips { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.xs .btn.sm.on { background: var(--acc); color: var(--accfg); border-color: transparent; }
.xs-paste { flex: 1 1 260px; display: grid; gap: 4px; font-size: 13px; color: var(--fg2); }
.xs-paste input { width: 100%; font-family: var(--mono); font-size: 13px; }
.xs-pmsg { margin: 0; flex-basis: 100%; min-height: 0; color: #ff8a7a; font-size: 13px; }
.xs-pmsg:empty { display: none; }
.xs-main { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.xs-view { display: grid; gap: 10px; min-width: 0; }
.xs-stage { position: relative; height: 380px; border-radius: 14px; overflow: hidden; background: #0b0e0d; cursor: crosshair; user-select: none; touch-action: manipulation; border: 1px solid var(--line2); }
.xs-world { position: absolute; inset: 0; background: #1a1f1d center / cover no-repeat; }
.xs-stage[data-scene="flood"] .xs-world { background-image: url(/img/scenes/flood.jpg); }
.xs-stage[data-scene="port"] .xs-world { background-image: url(/img/scenes/port.jpg); }
.xs-stage[data-scene="servers"] .xs-world { background-image: url(/img/scenes/servers.jpg); }
.xs-stage[data-scene="subway"] .xs-world { background-image: url(/img/scenes/subway.jpg); }
.xs-stage[data-scene="forest"] .xs-world { background-image: url(/img/scenes/forest.jpg); }
.xs-stage[data-scene="snow"] .xs-world { background-image: url(/img/scenes/snow.jpg); }
.xs-stage[data-scene="desert"] .xs-world { background-image: url(/img/scenes/desert.jpg); }
.xs-stage[data-scene="tunnel"] .xs-world { background-image: url(/img/scenes/tunnel.jpg); }
.xs-stage[data-scene="hangar"] .xs-world { background-image: url(/img/scenes/hangar.jpg); }
.xs-mark { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; transform: translate(-50%, -50%); pointer-events: none; }
.xs-mark .xs-svg { display: block; width: 120px; height: 120px; overflow: visible; shape-rendering: crispEdges; }
.xs-hint { position: absolute; left: 10px; bottom: 8px; margin: 0; padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #e8ece9; font-size: 12px; pointer-events: none; }
[dir="rtl"] .xs-hint { left: auto; right: 10px; }
.xs-bar { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.xs-fire { margin-inline-start: auto; touch-action: none; user-select: none; }
.xs-scenes { display: flex; flex-wrap: wrap; gap: 6px; }
.xs-sc { flex: none; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; cursor: pointer; line-height: 0; }
.xs-sc img { width: 72px; height: 40px; object-fit: cover; display: block; }
.xs-sc.on { border-color: var(--acc); }
.xs-ctl { display: grid; gap: 10px; max-height: 470px; overflow-y: auto; padding-inline-end: 4px; scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
.xs-group { margin: 0; padding: 8px 12px 10px; border: 1px solid var(--line2); border-radius: 12px; display: grid; gap: 6px; min-width: 0; }
.xs-group legend { padding: 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--fg2); }
.xs-row { display: grid; grid-template-columns: 112px minmax(0, 1fr) 40px; gap: 8px; align-items: center; font-size: 13px; }
.xs-row > span { overflow-wrap: anywhere; }
.xs-row > b { font-variant-numeric: tabular-nums; text-align: end; font-weight: 600; font-size: 12px; }
.xs-row input[type="range"] { width: 100%; accent-color: var(--acc); }
.xs-row select { grid-column: 2 / 4; min-width: 0; padding: 5px 8px; border-radius: 8px; background: var(--panel); color: inherit; border: 1px solid var(--line2); font: inherit; }
.xs-row input[type="color"] { grid-column: 2 / 4; width: 100%; height: 28px; padding: 0 2px; border: 1px solid var(--line2); border-radius: 8px; background: var(--panel); }
.xs-row.xs-check { grid-template-columns: auto 1fr; cursor: pointer; }
.xs-row.xs-check input { accent-color: var(--acc); width: 16px; height: 16px; }
.xs-out { display: grid; gap: 10px; }
.xs-code { border: 1px solid var(--line2); border-radius: 12px; padding: 10px 12px; display: grid; gap: 6px; min-width: 0; }
.xs-code-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.xs-codetext { display: block; font-family: var(--mono); font-size: 12.5px; overflow-wrap: anywhere; word-break: break-all; color: var(--fg); background: none; padding: 0; }
.xs-cmd summary { cursor: pointer; font-size: 14px; padding: 4px 0; }
.xs-cmd .xs-code { margin-top: 6px; }
.xs-notes-h { margin: 4px 0 0; font-weight: 600; font-size: 14px; }
.xs-notes { margin: 0; padding-inline-start: 20px; font-size: 13.5px; color: var(--fg2); display: grid; gap: 3px; }
.xs-open { justify-self: start; }
.xs-pros { display: flex; flex-wrap: wrap; gap: 6px; }
.xs-pro { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); color: inherit; font: inherit; font-size: 13px; cursor: pointer; }
.xs-pro:hover, .xs-pro:focus-visible { border-color: var(--acc); }
@media (max-width: 860px) { .xs-main { grid-template-columns: minmax(0, 1fr); } .xs-ctl { max-height: none; overflow: visible; } .xs-stage { height: 300px; } }
@media (max-width: 480px) { .xs-stage { height: 240px; } .xs-row { grid-template-columns: 96px minmax(0, 1fr) 36px; } .xs-fire { margin-inline-start: 0; } }

/* 8 Nov: Steam charts by country (charts.py) */
.ch-hi { display: grid; gap: 6px; padding-inline-start: 20px; }
.ch-tw { overflow-x: auto; margin: 10px 0 18px; border: 1px solid var(--line2); border-radius: 12px; }
.ch-t { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ch-t th { text-align: start; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--fg2); font-weight: 700; padding: 9px 12px; border-bottom: 1px solid var(--line2); background: var(--panel); }
.ch-t td { padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ch-t tr:last-child td { border-bottom: 0; }
.ch-t tbody tr:hover { background: rgba(255, 255, 255, .025); }
.ch-r { width: 44px; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--fg2); }
.ch-t tbody tr:nth-child(-n+3) .ch-r { color: var(--acc); }
.ch-g a { color: var(--fg); text-decoration: none; }
.ch-g a:hover { color: var(--acc); }
.ch-l, .ch-w { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--fg2); }
.ch-up { color: var(--acc); font-weight: 600; } .ch-dn { color: #ff7a6b; font-weight: 600; } .ch-eq { color: var(--fg3); }
.ch-new, .ch-free { font-style: normal; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 7px; border-radius: 999px; }
.ch-new { background: var(--acc); color: var(--accfg); } .ch-free { border: 1px solid var(--line2); color: var(--fg2); margin-inline-start: 6px; }
.ch-src { font-size: 13px; color: var(--fg3); } .ch-src a { color: var(--fg2); }
.ch-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ch-chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line2); color: var(--fg); text-decoration: none; font-size: 13px; }
.ch-chip:hover { border-color: var(--acc); color: var(--acc); }
.charts h3 { margin-top: 18px; }

/* 8 Nov: the free tools as cards with a drawing (tool_art.py) */
.tl-card { align-content: start; }
.tl-card .ta { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 10px; }
.tl-card b { font-size: 16px; line-height: 1.3; }
.tl-card span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tl-card .ta-pulse { transform-origin: 78px 62px; transition: transform .35s ease, opacity .35s ease; opacity: .7; }
.tl-card:hover .ta-pulse { transform: scale(1.25); opacity: 1; }
.tl-card .ta { transition: transform .25s ease; }
.tl-card:hover .ta { transform: translateY(-2px); }
.tl-cards { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
@media (prefers-reduced-motion: reduce) { .tl-card .ta, .tl-card .ta-pulse { transition: none; } }

/* 8 Nov: six menu entries now (Steam charts); long languages wrapped them at laptop widths, so they never wrap and
   the menu button takes over below 1180 px (the narrow-screen menu, same look) */
.nav-links a, .nav .btn.sm { white-space: nowrap; }
@media (max-width: 1320px) { .nav-links { gap: 20px; margin-left: 8px; } .nav .wrap { gap: 20px; } }
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .nav.open .nav-links { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px 20px 20px; background: rgba(5,5,5,0.96); border-bottom: 1px solid var(--line); margin: 0; }
  .nav.open .nav-links a { padding: 12px 0; font-size: 18px; }
}

/* 8 Nov: game error codes (errors.py) */
.er-t td { vertical-align: top; }
.er-c { max-width: 200px; overflow-wrap: break-word; word-break: normal; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--acc); }
.er-m { font-weight: 600; min-width: 180px; }
.er-f ol { margin: 0; padding-inline-start: 18px; display: grid; gap: 4px; color: var(--fg2); }
.er-f a { color: var(--acc); }
.er-t tr:target td { background: rgba(68, 214, 44, .08); }
.er-quick .ch-chip b { color: var(--acc); }
.er-src { padding-inline-start: 20px; font-size: 14px; } .er-src a { color: var(--fg2); }
@media (max-width: 640px) { .er-t thead { display: none; } .er-t tr { display: grid; gap: 4px; padding: 10px 12px; border-bottom: 1px solid var(--line); } .er-t td { border: 0; padding: 0; } }
.er-t tr { scroll-margin-top: 90px; }

/* 8 Nov: reaction time and aim trainer (tools_play.py, tools.js) */
.rt { min-height: 260px; display: grid; place-items: center; font-size: 26px; font-weight: 800; text-align: center; cursor: pointer; user-select: none; transition: background .08s; }
.rt.wait { background: #5c1a16; border-color: #8a2a22; color: #ffd9d4; }
.rt.go { background: var(--acc); border-color: var(--acc); color: var(--accfg); }
.rt.early { background: #3a2a0c; border-color: #8a6a1c; color: #ffe2a3; }
.rt.done { background: var(--panel); }
.rt-res { text-align: center; }
.rt-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 0; list-style: none; color: var(--fg2); font-variant-numeric: tabular-nums; }
.rt-list li { padding: 4px 10px; border: 1px solid var(--line2); border-radius: 999px; }
.aim-sizes { align-items: center; }
.aim-lab { color: var(--fg2); font-size: 14px; margin-inline-end: 4px; }
.aim-field { position: relative; height: 440px; border: 1px solid var(--line2); border-radius: 16px; background: radial-gradient(circle at 50% 50%, #101512, #070908); overflow: hidden; cursor: crosshair; touch-action: none; user-select: none; }
.aim-t { position: absolute; padding: 0; border: 0; border-radius: 50%; cursor: crosshair; background: radial-gradient(circle, #fff 0 18%, var(--acc) 19% 42%, #0d2a09 43% 58%, var(--acc) 59% 100%); box-shadow: 0 0 18px rgba(68, 214, 44, .45); }
.aim-hint { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; text-align: center; color: var(--fg2); font-size: 14px; pointer-events: none; }
@media (max-width: 640px) { .aim-field { height: 340px; } .rt { min-height: 200px; font-size: 22px; } }
.ch-s { width: 72px; }
.ch-sp { display: block; overflow: visible; }
.ch-sp path { fill: none; stroke: var(--acc); stroke-width: 1.6; stroke-linejoin: round; }
.ch-sp circle { fill: var(--acc); }
@media (max-width: 560px) { .ch-s { display: none; } .ch-t th:nth-child(4) { display: none; } }

/* 8 Nov: the charts, codes and tests page (hub.py) */
.hb-cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.hb-card { align-content: start; gap: 10px; padding: 18px; }
.hb-card b { font-size: 19px; }
.hb-prev { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; counter-reset: hb; }
.hb-prev li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid var(--line); font-size: 14px; counter-increment: hb; }
.hb-prev li b { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-prev li b::before { content: counter(hb) ". "; color: var(--acc); }
.hb-prev li span { color: var(--acc); font-variant-numeric: tabular-nums; font-weight: 700; }

/* 8 Nov: refresh rate and left/right sound tests */
.hz-box { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-top: 18px; }
.hz-box .tl-big { font-size: 84px; line-height: 1; }
.hz-u { font-size: 24px; font-weight: 800; color: var(--acc); }
.hz-t { text-align: center; color: var(--fg2); }
.hz-c { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line2); }
.lr { display: grid; gap: 18px; justify-items: center; margin: 18px 0; padding: 22px; border: 1px solid var(--line2); border-radius: 16px; background: var(--panel); }
.lr-head { display: flex; align-items: flex-end; gap: 6px; color: var(--line2); }
.lr-svg { width: 160px; height: auto; }
.lr-ear { display: grid; place-items: center; width: 64px; height: 84px; border-radius: 22px; border: 2px solid var(--line2); font-weight: 800; font-size: 22px; color: var(--fg2); transition: background .12s, color .12s; }
.lr-ear.on { background: var(--acc); border-color: var(--acc); color: var(--accfg); box-shadow: 0 0 24px rgba(68,214,44,.4); }
.lr-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.lr-pan { width: min(360px, 100%); accent-color: var(--acc); }
.hb-strip .hb-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } @media (max-width: 860px) { .hb-strip .hb-cards { grid-template-columns: minmax(0, 1fr); } }
.hb-strip .hb-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } @media (max-width: 1100px) { .hb-strip .hb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 640px) { .hb-strip .hb-cards { grid-template-columns: minmax(0, 1fr); } }

/* 8 Nov: microphone and dead pixel tests */
.mic { display: grid; gap: 14px; margin: 18px 0; padding: 22px; border: 1px solid var(--line2); border-radius: 16px; background: var(--panel); }
.mic-bar { height: 22px; border-radius: 999px; background: #0a0c0b; border: 1px solid var(--line2); overflow: hidden; }
.mic-bar i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--acc), #b8f26b 70%, #ff7a6b); transition: width .06s linear; }
.mic-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mic-l { color: var(--fg2); font-variant-numeric: tabular-nums; } .mic-l b { color: var(--fg); }
.mic-err { margin: 0; color: #ff8a7a; }
.px-start { display: grid; gap: 8px; justify-items: start; margin: 18px 0; }
.px-screen { position: fixed; inset: 0; z-index: 1000; cursor: pointer; }

/* 8 Nov: most popular games per country (country_hub.py) */
.cp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 18px 0; }
.cp-card { border: 1px solid var(--line2); border-radius: 14px; padding: 14px 16px; background: var(--panel); display: grid; gap: 6px; align-content: start; }
.cp-card h2 { font-size: 17px; margin: 0; }
.cp-when { margin: 0; font-size: 12.5px; color: var(--acc); }
.cp-ol { margin: 4px 0; padding-inline-start: 22px; display: grid; gap: 4px; font-size: 14px; }
.cp-ol span { color: var(--fg3); font-size: 12px; }
.cp-more { color: var(--acc); font-size: 14px; font-weight: 600; }

/* "In the game" strip on the home page (8 Nov): the app over game scenes, Logitech-style */
.sc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 44px; }
.sc-card { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line2); background: var(--panel); transition: transform .25s ease, border-color .25s ease; }
.sc-card:hover { transform: translateY(-3px); border-color: rgba(68,214,44,0.45); }
.sc-card a { display: block; aspect-ratio: 16 / 9; background: #000; }
.sc-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sc-card figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 18px 16px; }
.sc-card figcaption b { font-size: 16px; color: var(--fg); }
.sc-card figcaption span { font-size: 14px; color: var(--fg2); }
.sc-card picture { display: contents; }
@media (max-width: 760px) { .sc-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; } .sc-card a { aspect-ratio: 4 / 5; } }
.bl-err a { display: inline-flex; padding: 10px 16px; border-radius: 12px; border: 1px solid rgba(68,214,44,0.35); background: rgba(68,214,44,0.07); color: var(--acc); font-weight: 700; }

/* news extras (8 Nov): summary box, gallery, next story, preferred source */
.bl-sum { margin: 22px 0 26px; padding: 18px 22px; border-radius: 16px; border: 1px solid rgba(68,214,44,0.35); background: rgba(68,214,44,0.06); }
.bl-sum b { display: block; color: var(--acc); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.bl-sum ul { margin: 0; padding-left: 20px; }
.bl-sum li { margin: 6px 0; }
.bl-gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 26px 0 6px; }
.bl-gal a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: #111; }
.bl-gal img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.bl-gal a:hover img { transform: scale(1.03); }
.bl-galcap { font-size: 13px; color: var(--fg3); margin: 0 0 24px; }
.bl-next { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: center; margin: 34px 0 10px; padding: 14px; border-radius: 18px; border: 1px solid var(--line2); background: var(--panel); text-decoration: none; transition: border-color .2s ease; }
.bl-next:hover { border-color: rgba(68,214,44,0.5); }
.bl-next-img { display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #111; }
.bl-next-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bl-next-t i { display: block; font-style: normal; color: var(--acc); font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.bl-next-t b { color: var(--fg); font-size: 19px; line-height: 1.3; }
.bl-pref a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line2); color: var(--fg2); font-size: 14px; font-weight: 600; }
.bl-pref a::before { content: "G"; font-weight: 800; color: #fff; background: #4285f4; width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
@media (max-width: 640px) { .bl-gal { grid-template-columns: 1fr; } .bl-next { grid-template-columns: 1fr; } }

/* stories chained under a news story (nextnews.js) */
.bl-chain { margin-top: 56px; padding-top: 40px; border-top: 2px solid var(--line2); }
.bl-chain-load { display: flex; justify-content: center; gap: 8px; padding: 40px 0; }
.bl-chain-load i { width: 9px; height: 9px; border-radius: 50%; background: var(--acc); opacity: .35; animation: blc 1s infinite ease-in-out; }
.bl-chain-load i:nth-child(2) { animation-delay: .15s; } .bl-chain-load i:nth-child(3) { animation-delay: .3s; }
@keyframes blc { 50% { opacity: 1; transform: translateY(-4px); } }

/* 8 Nov (owner saw it): on the lists hub the rows were pushed right by .guide ol's padding and long names widened the
   card past its column; the list sits flush and every card child may shrink */
.guide .hb-prev { padding: 0; }
.hb-card { grid-template-columns: minmax(0, 1fr); }
.hb-card > * { min-width: 0; }
