:root {
--bg: #050b18;
--bg-2: #0a1428;
--bg-3: #10203d;
--panel: rgba(140, 180, 255, .055);
--panel-2: rgba(140, 180, 255, .09);
--line: rgba(169, 200, 255, .13);
--line-2: rgba(169, 200, 255, .26);
--text: #eaf1ff;
--text-2: #c3d3f2;
--muted: #8ea3c9;
--faint: #5a6d93;
--blue: #7fb6ff;
--blue-hi: #cfe2ff;
--blue-lo: #2a4f8f;
--orange: #ffb35c;
--orange-hi: #ffd29c;
--green: #7ef0b8;
--red: #ff7b8a;
--display: "Unbounded", "Segoe UI", system-ui, sans-serif;
--sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
--mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
--pad: clamp(16px, 4vw, 56px);
--max: 1320px;
--r: 22px;
--ease: cubic-bezier(.2, .7, .1, 1);
--glow: 0 0 18px rgba(127, 182, 255, .55), 0 0 46px rgba(127, 182, 255, .25);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; overflow-x: clip; }
body {
margin: 0; min-height: 100vh;
background: var(--bg); color: var(--text);
font: 400 17px/1.6 var(--sans);
-webkit-font-smoothing: antialiased; overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--orange); color: var(--bg); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.atmo { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.atmo::before { content: ""; position: absolute; inset: -2px;
background-image: linear-gradient(rgba(156,195,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(156,195,255,.05) 1px, transparent 1px);
background-size: 56px 56px;
-webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 100%);
mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 100%); }
.atmo__glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.atmo__glow--a { width: 720px; height: 720px; left: -200px; top: -240px; background: radial-gradient(circle, rgba(60,120,255,.45), transparent 65%); animation: drift 22s ease-in-out infinite alternate; }
.atmo__glow--b { width: 620px; height: 620px; right: -180px; top: 30vh; background: radial-gradient(circle, rgba(255,150,50,.28), transparent 65%); animation: drift 26s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(80px, 60px) scale(1.12); } }
.atmo__noise { position: absolute; inset: 0; opacity: .06; mix-blend-mode: overlay;
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.spot { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 0;
background: radial-gradient(circle, rgba(127,182,255,.10), transparent 60%); transition: opacity .4s; opacity: 0; }
@media (hover: hover) { body.has-mouse .spot { opacity: 1; } }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); position: relative; z-index: 1; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.glow { text-shadow: var(--glow); }
.accent { color: var(--orange); }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.section__head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head h2 { font-size: clamp(30px, 4.6vw, 56px); }
.section__head p { color: var(--text-2); font-size: clamp(16px, 1.4vw, 19px); }
.btn { --bx: 0px; --by: 0px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
padding: 15px 26px; border-radius: 999px; border: 1px solid transparent; background: transparent; font-weight: 600; font-size: 16px; line-height: 1;
transform: translate(var(--bx), var(--by)); transition: transform .35s var(--ease), background .25s, border-color .25s, box-shadow .25s, color .25s; white-space: nowrap; }
.btn--primary { background: var(--orange); color: #1a0f02; box-shadow: 0 0 0 0 rgba(255,179,92,.0), 0 10px 30px -10px rgba(255,179,92,.6); }
.btn--primary:hover { box-shadow: 0 0 0 6px rgba(255,179,92,.16), 0 14px 40px -10px rgba(255,179,92,.75); }
.btn--ghost { border-color: var(--line-2); background: rgba(255,255,255,.03); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange-hi); }
.btn--outline { border-color: var(--orange); color: var(--text); box-shadow: 0 0 16px rgba(255,179,92,.25), inset 0 0 12px rgba(255,179,92,.1); }
.btn--outline:hover { background: rgba(255,179,92,.12); }
.btn svg { width: 18px; height: 18px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,179,92,.65);
color: var(--text); font-size: 14px; font-weight: 500; box-shadow: 0 0 12px rgba(255,179,92,.18), inset 0 0 10px rgba(255,179,92,.08); }
.tag { display: inline-flex; padding: 5px 11px; border-radius: 999px; font-family: var(--mono); font-size: 12px; letter-spacing: .03em; color: var(--blue-hi); background: rgba(127,182,255,.1); border: 1px solid rgba(127,182,255,.2); }
.tag--plus { color: #1a0f02; background: var(--orange); border-color: var(--orange); }
.tag--soon { color: var(--muted); background: transparent; border-style: dashed; }
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, border-color .3s, transform .4s var(--ease); border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(5,11,24,.72); backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__in { display: flex; align-items: center; gap: 22px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .01em; }
.logo svg { width: 34px; height: 32px; filter: drop-shadow(0 0 6px rgba(127,182,255,.7)); }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a { padding: 9px 14px; border-radius: 999px; font-size: 15px; color: var(--text-2); transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: rgba(255,255,255,.06); }
.nav__search { display: inline-flex; align-items: center; gap: 10px; padding: 9px 12px 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--muted); font-size: 14px; }
.nav__search kbd { font-family: var(--mono); font-size: 11px; padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--text-2); }
.nav__search:hover { border-color: var(--blue); color: var(--text); }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; margin-left: auto; position: relative; }
.nav__burger span, .nav__burger span::before, .nav__burger span::after { position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; margin-left: -9px; background: var(--text); transition: transform .3s var(--ease); }
.nav__burger span::before, .nav__burger span::after { content: ""; left: 0; margin: 0; }
.nav__burger span::before { transform: translateY(-6px); } .nav__burger span::after { transform: translateY(6px); }
body.menu-open .nav__burger span { background: transparent; }
body.menu-open .nav__burger span::before { transform: rotate(45deg); } body.menu-open .nav__burger span::after { transform: rotate(-45deg); }
@media (max-width: 900px) {
.nav__links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; padding: 12px var(--pad) 24px; background: rgba(5,11,24,.96); backdrop-filter: blur(16px);
border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .3s var(--ease); }
.nav__links a { padding: 14px 4px; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--line); }
body.menu-open .nav__links { transform: none; opacity: 1; pointer-events: auto; }
.nav__burger { display: block; }
.nav__search { margin-left: auto; padding: 10px; } .nav__search span, .nav__search kbd { display: none; }
.nav__burger { margin-left: 0; }
}
.hero { min-height: 100svh; display: grid; align-items: center; padding: 110px 0 60px; position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 60px); align-items: center; }
.hero__text { display: grid; gap: 26px; position: relative; z-index: 2; }
.hero__grid > * { min-width: 0; }
.hero h1 { font-size: clamp(36px, 5.6vw, 84px); line-height: 1; letter-spacing: -.02em; }
.hero h1 .line { display: block; padding-bottom: .04em; }
.hero h1 .line > span { display: inline-block; opacity: 0; transform: translateY(40%); filter: blur(10px); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }
.hero__lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--text-2); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__art { position: relative; height: min(88svh, 900px); min-height: 520px; }
.hero__art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__hint { position: absolute; left: 50%; transform: translateX(-50%); bottom: -6px; z-index: 3; white-space: nowrap; font-family: var(--mono); font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero__hint i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--faint); display: grid; justify-items: center; gap: 8px; }
.hero__scroll::after { content: ""; width: 1px; height: 38px; background: linear-gradient(var(--blue), transparent); animation: scrollcue 2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollcue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.fade-in { opacity: 0; animation: fadein 1s .45s var(--ease) forwards; }
.fade-in.d2 { animation-delay: .6s; } .fade-in.d3 { animation-delay: .75s; }
@keyframes fadein { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@media (max-width: 900px) {
.hero { padding-top: 88px; }
.hero__grid { grid-template-columns: 1fr; }
.hero__art { order: -1; height: 62svh; min-height: 380px; margin: 0 calc(var(--pad) * -1); }
.hero__scroll { display: none; }
}
@media (max-width: 620px) {
.hero { min-height: auto; padding: 84px 0 24px; }
.hero__text { gap: 18px; }
.hero__art { order: 0; height: 50svh; min-height: 300px; margin-top: 6px; }
.hero__cta .btn { flex: 1 1 auto; justify-content: center; }
.logo { font-size: 15px; gap: 10px; white-space: nowrap; }
}
@media (hover: none) { .hero__hint { display: none; } }
@media (max-width: 620px) { .lab__stage { aspect-ratio: 4 / 3.4; } }
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; background: rgba(10,20,40,.5); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marq 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--mono); font-size: 18px; color: var(--text-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee__track span::after { content: "✦"; color: var(--orange); font-size: 14px; }
@keyframes marq { to { transform: translateX(-50%); } }
.card { --mx: 50%; --my: 50%; position: relative; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
transition: border-color .3s, transform .5s var(--ease), background .3s; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
background: radial-gradient(420px circle at var(--mx) var(--my), rgba(127,182,255,.16), transparent 45%); }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .35s;
background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255,179,92,.75), transparent 60%);
-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.card:hover::before, .card:hover::after { opacity: 1; }
.card:hover { border-color: var(--line-2); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(190px, auto); gap: 16px; }
.bento .card { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.bento h3 { font-size: clamp(20px, 2vw, 26px); }
.bento p { color: var(--text-2); font-size: 16px; }
.b-lab { grid-column: span 4; grid-row: span 2; }
.b-test { grid-column: span 2; grid-row: span 2; }
.b-task, .b-cheat, .b-teach { grid-column: span 2; }
.b-lab__stage { flex: 1; min-height: 260px; position: relative; border-radius: 14px; background: rgba(0,0,0,.18); border: 1px solid var(--line); overflow: hidden; }
.b-lab__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bento .tag { align-self: flex-start; }
.b-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--orange); }
.b-more::after { content: "→"; transition: transform .3s var(--ease); }
.card:hover .b-more::after { transform: translateX(5px); }
.b-icon { font-size: 34px; line-height: 1; filter: drop-shadow(0 0 12px rgba(127,182,255,.4)); }
.big-num { font-family: var(--display); font-size: clamp(54px, 6vw, 88px); line-height: 1; color: var(--text); text-shadow: var(--glow); }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); } .b-lab, .b-test, .b-task, .b-cheat, .b-teach { grid-column: span 2; grid-row: auto; } .b-task, .b-cheat, .b-teach { grid-column: span 1; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .b-task, .b-cheat, .b-teach { grid-column: span 1; } }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.lab-card { display: flex; flex-direction: column; }
.lab-card__preview { position: relative; aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line); background: rgba(0,0,0,.2); }
.lab-card__preview canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.lab-card__body { padding: 22px 24px 26px; display: grid; gap: 12px; flex: 1; align-content: start; }
.lab-card__body h3 { font-size: 21px; }
.lab-card__body p { color: var(--text-2); font-size: 15.5px; }
.lab-card__meta { display: flex; gap: 8px; flex-wrap: wrap; }
.lab-card__go { margin-top: 6px; font-weight: 600; color: var(--orange); display: inline-flex; gap: 8px; }
.lab-card__go::after { content: "→"; transition: transform .3s var(--ease); }
.lab-card:hover .lab-card__go::after { transform: translateX(5px); }
.lab-card.is-soon { opacity: .55; pointer-events: none; }
.lab-card .lock { position: absolute; right: 14px; top: 14px; z-index: 2; }
.test-card { padding: 26px; display: grid; gap: 14px; align-content: start; }
.test-card h3 { font-size: 22px; }
.test-card p { color: var(--text-2); font-size: 15.5px; }
.test-card__stats { display: flex; gap: 18px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.test-card__best { font-family: var(--mono); font-size: 13px; color: var(--green); min-height: 1em; }
.task { display: grid; grid-template-columns: 1fr auto; gap: 30px; padding: clamp(26px, 4vw, 48px); align-items: center; }
.task__text { font-size: clamp(19px, 2vw, 26px); line-height: 1.45; font-weight: 500; }
.task__form { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.input { flex: 1; min-width: 160px; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(0,0,0,.25); color: var(--text); font: 500 17px var(--sans); }
.input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,179,92,.15); }
.task__result { margin-top: 18px; padding: 16px 18px; border-radius: 14px; display: none; font-size: 16px; }
.task__result.ok { display: block; background: rgba(126,240,184,.1); border: 1px solid rgba(126,240,184,.35); }
.task__result.no { display: block; background: rgba(255,123,138,.08); border: 1px solid rgba(255,123,138,.3); }
.task__emo { width: 200px; height: 200px; }
@media (max-width: 760px) { .task { grid-template-columns: 1fr; } .task__emo { width: 130px; height: 130px; order: -1; } }
.emo { --s: 160px; width: var(--s); height: var(--s); border-radius: 50%; flex: none;
background: url("../img/character.webp") no-repeat; background-size: calc(var(--s) * 4.679) auto;
border: 3px solid rgba(207,226,255,.9); box-shadow: 0 0 22px rgba(127,182,255,.6), 0 0 60px rgba(255,179,92,.2);
transition: background-position .01s; }
.emo[data-e="smile"] { background-position: calc(var(--s) * -2.552) calc(var(--s) * -0.067); }
.emo[data-e="think"] { background-position: calc(var(--s) * -3.634) calc(var(--s) * -0.067); }
.emo[data-e="wink"]  { background-position: calc(var(--s) * -2.552) calc(var(--s) * -1.612); }
.emo[data-e="wow"]   { background-position: calc(var(--s) * -3.634) calc(var(--s) * -1.612); }
.emo[data-e="laugh"] { background-position: calc(var(--s) * -2.552) calc(var(--s) * -3.149); }
.emo[data-e="sly"]   { background-position: calc(var(--s) * -3.634) calc(var(--s) * -3.149); }
.task__emo.emo { --s: 200px; }
@media (max-width: 760px) { .task__emo.emo { --s: 130px; } }
.fb { position: fixed; right: 22px; bottom: 22px; z-index: 60; font-family: var(--sans); }
.fb__launch { position: relative; width: 74px; height: 74px; border-radius: 50%; border: 1px solid var(--line-2); padding: 0; display: grid; place-items: center; cursor: pointer;
background: radial-gradient(circle at 30% 25%, #1b3466, #0a1428 70%); box-shadow: 0 18px 40px -14px rgba(0,0,0,.7), 0 0 0 6px rgba(127,182,255,.06), var(--glow);
transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.fb__launch:hover { transform: translateY(-3px) scale(1.05); }
.fb__launch .emo { --s: 62px; border-radius: 50%; transition: transform .4s var(--ease); }
.fb__launch:hover .emo { transform: rotate(-6deg); }
.fb__ring { position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--orange); opacity: .0; animation: fbPulse 2.8s var(--ease) infinite; pointer-events: none; }
.fb__launch.is-known .fb__ring { animation-iteration-count: 2; }
@keyframes fbPulse { 0% { transform: scale(.92); opacity: .75; } 70%, 100% { transform: scale(1.28); opacity: 0; } }
.fb__dot { position: absolute; right: 4px; bottom: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); border: 3px solid var(--bg); box-shadow: 0 0 10px var(--green); }
.fb.is-open .fb__launch { transform: scale(.86); }
.fb__teaser { position: absolute; right: 88px; bottom: 12px; width: 272px; padding: 14px 18px 14px 16px; border-radius: 18px 18px 4px 18px; cursor: pointer;
background: rgba(10,20,40,.94); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
font-size: 14.5px; line-height: 1.45; color: var(--text-2); box-shadow: 0 24px 48px -20px rgba(0,0,0,.7);
transform-origin: bottom right; transform: scale(.9) translateY(8px); opacity: 0; pointer-events: none; transition: .4s var(--ease); }
.fb__teaser b { color: var(--text); }
.fb.has-teaser .fb__teaser { opacity: 1; transform: none; pointer-events: auto; }
.fb__x { position: absolute; top: 4px; right: 6px; background: none; border: 0; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; padding: 4px; }
.fb__panel { position: absolute; right: 0; bottom: 92px; width: 400px; height: min(640px, calc(100dvh - 130px)); display: flex; flex-direction: column; overflow: hidden;
border-radius: 26px; border: 1px solid var(--line-2);
background: linear-gradient(180deg, rgba(18,34,66,.94), rgba(6,13,28,.97)); backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3);
box-shadow: 0 40px 90px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.03) inset, 0 0 60px -20px rgba(127,182,255,.35);
transform-origin: bottom right; transform: translateY(16px) scale(.94); opacity: 0; visibility: hidden; transition: transform .45s var(--ease), opacity .3s, visibility 0s .45s; }
.fb.is-open .fb__panel { transform: none; opacity: 1; visibility: visible; transition: transform .45s var(--ease), opacity .3s; }
.fb__panel::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 320px; height: 320px; border-radius: 50%; pointer-events: none;
background: radial-gradient(circle, rgba(255,179,92,.16), transparent 65%); }
.fb__head { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 14px 14px 16px; border-bottom: 1px solid var(--line); }
.fb__ava { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #1b3466, #0a1428 70%); border: 1px solid var(--line-2); }
.fb__ava .emo { --s: 40px; }
.fb__ava .fb__dot { width: 11px; height: 11px; right: -1px; bottom: 1px; border-width: 2px; }
.fb__ttl { flex: 1; min-width: 0; display: grid; }
.fb__ttl b { font-family: var(--display); font-size: 16px; font-weight: 600; color: var(--text); letter-spacing: .01em; }
.fb__ttl small { font-size: 12.5px; color: var(--muted); }
.fb__on { color: var(--green); }
.fb__ic { width: 36px; height: 36px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: .25s; }
.fb__ic:hover { color: var(--text); background: var(--panel-2); border-color: var(--line); }
.fb__ic svg, .fb__send svg, .fm__links svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fb__roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.fb__roles button { display: grid; justify-items: center; gap: 1px; padding: 7px 4px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--text-2); font: 600 12.5px var(--sans); cursor: pointer; transition: .25s; }
.fb__roles button span { font-size: 15px; }
.fb__roles button small { font-weight: 400; font-size: 10.5px; color: var(--faint); }
.fb__roles button:hover { border-color: var(--line-2); background: var(--panel); }
.fb__roles button[aria-selected="true"] { border-color: var(--orange); background: rgba(255,179,92,.1); color: var(--orange-hi); box-shadow: 0 0 18px -6px rgba(255,179,92,.6); }
.fb__roles button[aria-selected="true"] small { color: var(--orange); }
.fb__log { flex: 1; overflow-y: auto; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; overscroll-behavior: contain; }
.fm { display: flex; gap: 8px; align-items: flex-end; max-width: 100%; }
.fm.is-new { animation: fmIn .45s var(--ease) both; }
@keyframes fmIn { from { opacity: 0; transform: translateY(10px); } }
.fm .emo { --s: 30px; flex: none; border-radius: 50%; background-color: #10203d; }
.fm__b { position: relative; padding: 11px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; color: var(--text-2); overflow-wrap: anywhere; }
.fm--bot .fm__b { background: var(--panel-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; max-width: calc(100% - 38px); }
.fm--me { justify-content: flex-end; }
.fm--me .fm__b { background: linear-gradient(135deg, #ffb35c, #ff9a3c); color: #1a0e00; font-weight: 500; border-bottom-right-radius: 6px; max-width: 82%; white-space: pre-wrap; }
.fm__b b { color: var(--text); }
.fm__b i { color: var(--blue-hi); }
.fm__b ul, .fm__b ol { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.fm__b li::marker { color: var(--orange); }
.fm__b sub, .fm__b sup { font-size: .72em; }
.fm__links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fm__links a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px 7px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; text-decoration: none;
color: var(--blue-hi); background: rgba(127,182,255,.1); border: 1px solid rgba(127,182,255,.25); transition: .25s; }
.fm__links a:hover { background: rgba(127,182,255,.2); transform: translateY(-1px); }
.fm__links svg { width: 14px; height: 14px; }
.fm__pick { display: grid; gap: 6px; margin-top: 12px; }
.fm__pick button { display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; text-align: left; column-gap: 8px; padding: 9px 12px; border-radius: 12px; cursor: pointer;
border: 1px solid var(--line-2); background: rgba(5,11,24,.5); color: var(--text); font: 14px var(--sans); transition: .25s; }
.fm__pick button span { grid-row: span 2; font-size: 20px; align-self: center; }
.fm__pick button small { color: var(--muted); font-size: 12px; }
.fm__pick button:hover { border-color: var(--orange); background: rgba(255,179,92,.08); transform: translateX(3px); }
.fm__copy { display: block; margin: 8px 0 0 auto; padding: 0; border: 0; background: none; color: var(--faint); font: 11.5px var(--mono); cursor: pointer; opacity: 0; transition: .2s; }
.fm:hover .fm__copy, .fm__copy:focus { opacity: 1; }
.fm__copy:hover { color: var(--blue); }
@media (hover: none) { .fm__copy { opacity: .8; } }
.fm--typing .fm__b { display: flex; gap: 5px; padding: 15px 16px; }
.fm--typing .fm__b i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: fbDot 1.1s infinite; }
.fm--typing .fm__b i:nth-child(2) { animation-delay: .15s; } .fm--typing .fm__b i:nth-child(3) { animation-delay: .3s; }
@keyframes fbDot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
.fb__chips { display: flex; gap: 6px; padding: 4px 12px 8px; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); }
.fb__chips::-webkit-scrollbar { display: none; }
.fb__chips:empty { padding: 0; }
.fb__chips button { flex: none; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(5,11,24,.4); color: var(--text-2); font: 13px var(--sans); cursor: pointer; white-space: nowrap; transition: .25s; animation: fmIn .4s var(--ease) both; }
.fb__chips button:hover { border-color: var(--orange); color: var(--orange-hi); }
.fb__form { display: flex; align-items: flex-end; gap: 8px; margin: 0 12px; padding: 6px 6px 6px 14px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(5,11,24,.6); transition: .25s; }
.fb__form:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(127,182,255,.12); }
.fb__form textarea { flex: 1; resize: none; border: 0; outline: 0; background: transparent; color: var(--text); font: 15px/1.4 var(--sans); padding: 8px 0; max-height: 120px; }
.fb__form textarea::placeholder { color: var(--faint); }
.fb__send { flex: none; width: 40px; height: 40px; border-radius: 13px; border: 0; display: grid; place-items: center; cursor: pointer; color: #1a0e00;
background: linear-gradient(135deg, #ffd29c, #ff9a3c); box-shadow: 0 6px 18px -6px rgba(255,154,60,.7); transition: .25s; }
.fb__send:hover { transform: scale(1.06); }
.fb__foot { margin: 0; padding: 8px 14px 12px; text-align: center; font-size: 11px; color: var(--faint); }
.fb__foot a { color: var(--muted); }
@media (max-width: 620px) {
.fb { right: 12px; bottom: 12px; }
.fb__launch { width: 62px; height: 62px; } .fb__launch .emo { --s: 52px; }
.fb__teaser { right: 74px; bottom: 6px; width: min(240px, calc(100vw - 100px)); font-size: 13.5px; }
.fb__panel { position: fixed; inset: 0; width: auto; height: 100dvh; border-radius: 0; border: 0; transform: translateY(30px); transform-origin: bottom center; }
.fb.is-open .fb__launch { opacity: 0; pointer-events: none; }
.fb__form { margin-bottom: max(0px, env(safe-area-inset-bottom)); }
html.fb-lock, html.fb-lock body { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .fb__ring { animation: none; } }
@media print { .fb { display: none !important; } }
.plus { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; padding: clamp(28px, 5vw, 60px); align-items: center;
background: linear-gradient(135deg, rgba(255,179,92,.10), rgba(127,182,255,.06) 60%), var(--panel); }
.plus h2 { font-size: clamp(30px, 4.4vw, 54px); }
.plus ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.plus li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.plus li::before { content: "✦"; color: var(--orange); margin-top: 1px; }
.plus__price { font-family: var(--display); font-size: clamp(40px, 5vw, 64px); }
.plus__price small { font-family: var(--sans); font-size: 17px; color: var(--muted); font-weight: 400; }
.plus__art { display: grid; place-items: center; }
.plus__art .emo { --s: min(300px, 60vw); }
@media (max-width: 860px) { .plus { grid-template-columns: 1fr; } .plus__art { order: -1; } }
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { border-radius: 18px; background: var(--panel); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: var(--line-2); background: var(--panel-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
border: 1px solid var(--line-2); color: var(--orange); font-size: 20px; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--text-2); }
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer h4 { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer a { display: block; color: var(--text-2); padding: 5px 0; transition: color .2s; }
.footer a:hover { color: var(--orange); }
.footer__big { font-family: var(--display); font-size: clamp(26px, 3vw, 38px); line-height: 1.15; margin: 16px 0 22px; }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--faint); font-size: 14px; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }
[data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }
.no-js [data-reveal] { opacity: 1; transform: none; filter: none; }
.palette { position: fixed; inset: 0; z-index: 100; display: none; place-items: start center; padding: 12vh 16px 16px; background: rgba(2,6,15,.6); backdrop-filter: blur(8px); }
.palette.is-open { display: grid; animation: fadein .25s var(--ease); }
.palette__box { width: min(640px, 100%); border-radius: 22px; background: rgba(10,20,40,.97); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -20px rgba(0,0,0,.8); overflow: hidden; }
.palette__input { width: 100%; padding: 22px 24px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); font: 500 19px var(--sans); }
.palette__input:focus { outline: none; }
.palette__list { max-height: 52vh; overflow: auto; padding: 8px; margin: 0; list-style: none; }
.palette__list a { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 14px; }
.palette__list a.is-active, .palette__list a:hover { background: rgba(127,182,255,.1); }
.palette__list .t { font-weight: 600; } .palette__list .k { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.palette__empty { padding: 26px; color: var(--muted); text-align: center; }
.page-head { padding: 130px 0 34px; display: grid; gap: 18px; }
.crumbs { font-family: var(--mono); font-size: 13px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--orange); }
.page-head > * { min-width: 0; }
.page-head h1 { font-size: clamp(27px, 6.4vw, 72px); overflow-wrap: break-word; hyphens: auto; }
.page-head p { color: var(--text-2); max-width: 760px; font-size: clamp(16px, 1.5vw, 19px); }
.lab { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.lab__stage { position: relative; border-radius: var(--r); border: 1px solid var(--line); background: rgba(0,0,0,.25); overflow: hidden; aspect-ratio: 16 / 10; touch-action: none; }
.lab__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.lab__panel { display: grid; gap: 14px; }
.lab__box { padding: 20px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); display: grid; gap: 16px; }
.lab__box h3 { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 980px) { .lab { grid-template-columns: 1fr; } .lab__stage { aspect-ratio: 4 / 3; } }
.ctl { display: grid; gap: 8px; }
.ctl__top { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: var(--text-2); }
.ctl__top output { font-family: var(--mono); font-size: 14px; color: var(--orange); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--orange) var(--p, 50%), rgba(169,200,255,.2) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(169,200,255,.2); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--orange); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); box-shadow: 0 0 12px rgba(255,179,92,.7); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); box-shadow: 0 0 12px rgba(255,179,92,.7); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: 14px; color: var(--text-2); transition: .2s; }
.seg button.is-on { border-color: var(--orange); color: var(--text); background: rgba(255,179,92,.12); }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 15px; color: var(--text-2); cursor: pointer; }
.toggle input { appearance: none; width: 44px; height: 26px; border-radius: 99px; background: rgba(169,200,255,.2); position: relative; transition: .25s; cursor: pointer; }
.toggle input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: .25s var(--ease); }
.toggle input:checked { background: var(--orange); } .toggle input:checked::after { transform: translateX(18px); }
.readouts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.readout { padding: 12px 14px; border-radius: 14px; background: rgba(0,0,0,.25); border: 1px solid var(--line); }
.readout span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.readout b { font-family: var(--mono); font-size: 18px; font-weight: 500; color: var(--text); }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.lab-doc { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.lab-doc .lab__box { align-content: start; }
.lab-doc ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--text-2); }
.lab-doc p { color: var(--text-2); }
.qa { display: grid; gap: 10px; }
.qa details { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: rgba(0,0,0,.18); }
.qa summary { cursor: pointer; font-weight: 600; color: var(--text); }
.qa details p { margin-top: 10px; }
.formula { font-family: var(--mono); color: var(--orange-hi); background: rgba(255,179,92,.08); border: 1px solid rgba(255,179,92,.2); padding: 2px 8px; border-radius: 8px; white-space: nowrap; }
.hintbar { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); margin-top: 18px; color: var(--text-2); font-size: 15px; }
.hintbar .emo { --s: 54px; }
@media (max-width: 860px) { .lab-doc { grid-template-columns: 1fr; } }
.tbl { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 13px; }
.tbl th, .tbl td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: right; }
.tbl th { color: var(--muted); font-weight: 500; }
.tbl td:first-child, .tbl th:first-child { text-align: left; }
.chart { width: 100%; height: 200px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid var(--line); }
.quiz { max-width: 860px; }
.quiz__bar { height: 6px; border-radius: 6px; background: rgba(169,200,255,.15); overflow: hidden; margin-bottom: 26px; }
.quiz__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--orange)); transition: width .5s var(--ease); }
.quiz__card { padding: clamp(24px, 4vw, 44px); display: grid; gap: 22px; }
.quiz__num { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: .1em; }
.quiz__q { font-size: clamp(20px, 2.2vw, 27px); font-weight: 600; line-height: 1.4; }
.quiz__opts { display: grid; gap: 10px; }
.opt { text-align: left; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(0,0,0,.2); font-size: 17px; display: flex; gap: 14px; align-items: center; transition: .2s; }
.opt b { font-family: var(--mono); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-weight: 500; font-size: 13px; flex: none; }
.opt:hover:not([disabled]) { border-color: var(--blue); background: rgba(127,182,255,.08); }
.opt.is-right { border-color: var(--green); background: rgba(126,240,184,.1); }
.opt.is-wrong { border-color: var(--red); background: rgba(255,123,138,.08); }
.opt[disabled] { cursor: default; }
.quiz__explain { padding: 16px 18px; border-radius: 16px; background: rgba(127,182,255,.07); border: 1px solid var(--line); color: var(--text-2); display: none; }
.quiz__explain.show { display: block; animation: fadein .4s var(--ease); }
.quiz__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.quiz__result { text-align: center; display: grid; gap: 18px; justify-items: center; padding: clamp(30px, 5vw, 60px); }
.quiz__score { font-family: var(--display); font-size: clamp(64px, 10vw, 120px); line-height: 1; text-shadow: var(--glow); }
.quiz__result .emo { --s: 150px; }
.nf { min-height: 80vh; display: grid; place-items: center; text-align: center; gap: 20px; padding-top: 100px; }
.nf h1 { font-size: clamp(80px, 16vw, 200px); text-shadow: var(--glow); }
.back { display: inline-flex; align-items: center; gap: 10px; width: max-content; padding: 9px 18px 9px 12px; border-radius: 999px;
border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--text-2); font-weight: 600; font-size: 15px;
transition: border-color .25s, color .25s, transform .35s var(--ease), background .25s; }
.back svg { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.back:hover { border-color: var(--orange); color: var(--text); background: rgba(255,179,92,.08); }
.back:hover svg { transform: translateX(-4px); }
.back-fab { position: fixed; left: 20px; bottom: 20px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
background: rgba(10,20,40,.9); border: 1px solid var(--line-2); backdrop-filter: blur(12px); color: var(--text); box-shadow: 0 14px 30px -14px rgba(0,0,0,.7);
opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; transition: .35s var(--ease); }
.back-fab svg { width: 22px; height: 22px; }
.back-fab.show { opacity: 1; transform: none; pointer-events: auto; }
.back-fab:hover { border-color: var(--orange); color: var(--orange-hi); }
@media (max-width: 620px) { .back-fab { left: 12px; bottom: 12px; width: 50px; height: 50px; } }
.page-head .report-btn { justify-self: start; }
.report { position: fixed; inset: 0; z-index: 120; display: none; flex-direction: column; background: rgba(2,6,15,.72); backdrop-filter: blur(10px); }
.report.is-open { display: flex; animation: fadein .3s var(--ease); }
.report__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px var(--pad);
background: rgba(5,11,24,.92); border-bottom: 1px solid var(--line); }
.report__title { display: flex; gap: 10px; align-items: baseline; font-family: var(--display); font-size: 18px; }
.report__title .muted { font-family: var(--mono); font-size: 13px; }
.report__scroll { flex: 1; overflow: auto; padding: 28px 16px 60px; }
.report__warn { max-width: 820px; margin: 0 auto 18px; display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 16px;
background: rgba(255,179,92,.1); border: 1px solid rgba(255,179,92,.35); color: var(--text-2); font-size: 15px; }
.paper { max-width: 820px; margin: 0 auto; background: #fbfcfe; color: #1b2433; border-radius: 6px; padding: 52px 60px 40px;
box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); font: 400 15.5px/1.6 var(--sans); }
.paper ::selection { background: #ffd29c; color: #1b2433; }
.paper__head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #1b2433; padding-bottom: 12px; margin-bottom: 26px; }
.paper__brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 14px; font-weight: 700; }
.paper__date { font-family: var(--mono); font-size: 12.5px; color: #5b6475; }
.paper__h { font-family: var(--display); font-size: 22px; line-height: 1.25; text-align: center; margin-bottom: 22px; color: #1b2433; }
.paper__h span { font-size: 18px; color: #1f4d8a; }
.paper h3 { font-family: var(--sans); font-weight: 700; font-size: 16px; color: #1b2433; margin: 22px 0 8px; padding-left: 10px; border-left: 3px solid #e08a1e; line-height: 1.3; }
.paper p, .paper li { color: #2b3548; }
.paper ol { padding-left: 22px; margin: 0; display: grid; gap: 4px; }
.paper__who { display: grid; grid-template-columns: 1fr auto; gap: 10px 24px; margin-bottom: 8px; }
.paper__who label { display: flex; gap: 8px; align-items: baseline; white-space: nowrap; font-weight: 600; }
.fill { flex: 1; min-width: 0; border: 0; border-bottom: 1.5px dashed #9aa3b5; background: transparent; font: 500 15.5px var(--sans); color: #1f4d8a; padding: 2px 4px; }
.fill--sm { width: 90px; flex: none; }
.fill:focus { outline: none; border-bottom-color: #e08a1e; background: #fff7ec; }
.fill--area { width: 100%; min-height: 90px; border: 1.5px dashed #9aa3b5; border-radius: 8px; padding: 10px 12px; resize: vertical; line-height: 1.55; }
.rp-kv { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.rp-kv li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dotted #c7cedb; padding-bottom: 4px; }
.rp-kv span { color: #4a5568; } .rp-kv b { font-family: var(--mono); font-weight: 500; color: #1b2433; text-align: right; }
.rp-cap { font-weight: 600; font-size: 14px; color: #4a5568; margin: 14px 0 6px; }
.rp-tbl { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 13px; }
.rp-tbl th, .rp-tbl td { border: 1px solid #c7cedb; padding: 6px 8px; text-align: center; }
.rp-tbl th { background: #eef2f8; font-weight: 600; color: #1b2433; }
.rp-empty { color: #9aa3b5; font-style: italic; }
.rp-chart { width: 100%; height: auto; border: 1px solid #c7cedb; border-radius: 4px; display: block; }
.rp-eq { font-family: var(--mono); font-size: 13px; color: #b46a10; margin-top: 6px; }
.paper__foot { margin-top: 34px; padding-top: 10px; border-top: 1px solid #c7cedb; font-size: 12px; color: #8b93a6; text-align: center; }
@media (max-width: 700px) { .paper { padding: 28px 20px; } .paper__who { grid-template-columns: 1fr; } .paper__who label { white-space: normal; } }
@media print {
@page { size: A4; margin: 14mm 14mm 16mm; }
body.report-open > *:not(.report) { display: none !important; }
body.report-open { background: #fff !important; }
.report { position: static; display: block !important; background: none; backdrop-filter: none; }
.report__bar, .report__warn { display: none !important; }
.report__scroll { overflow: visible; padding: 0; }
.paper { box-shadow: none; max-width: none; padding: 0; border-radius: 0; background: #fff; }
.fill { border-bottom-style: solid; } .fill--area { border: 1px solid #c7cedb; resize: none; }
.rp-tbl, .rp-chart, h3 { break-inside: avoid; } h3 { break-after: avoid; }
}
.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.tools button { display: grid; justify-items: center; gap: 4px; padding: 10px 4px 8px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0,0,0,.2);
font-size: 12px; color: var(--text-2); transition: .2s; }
.tools button svg { width: 34px; height: 22px; }
.tools button:hover { border-color: var(--blue); color: var(--text); }
.tools button.is-on { border-color: var(--orange); background: rgba(255,179,92,.12); color: var(--text); box-shadow: 0 0 14px rgba(255,179,92,.2); }
.sel-box { display: grid; gap: 12px; padding: 14px; border-radius: 14px; background: rgba(0,0,0,.22); border: 1px dashed var(--line-2); }
.sel-box[hidden] { display: none; }
.sel-box__title { display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.warn-line { padding: 10px 12px; border-radius: 12px; font-size: 14px; background: rgba(255,123,138,.1); border: 1px solid rgba(255,123,138,.35); color: #ffc2ca; }
.warn-line[hidden] { display: none; }
.ok-line { padding: 10px 12px; border-radius: 12px; font-size: 14px; background: rgba(126,240,184,.08); border: 1px solid rgba(126,240,184,.3); color: #bff5da; }
.ctl.is-disabled { opacity: .4; pointer-events: none; }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; box-shadow: 0 0 6px currentColor; }
.about { display: grid; grid-template-columns: minmax(280px, .8fr) 1.2fr; gap: 26px; align-items: center; }
.about__card { padding: 30px; display: grid; gap: 16px; align-content: start; }
.about__card .emo { --s: 120px; }
.about__card h3 { font-size: clamp(22px, 2.4vw, 30px); }
.about__role { color: var(--orange); font-weight: 600; margin-top: 6px; }
.about__text { color: var(--text-2); font-size: 16.5px; }
.about__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.about__stats div { padding: 12px; border-radius: 14px; background: rgba(0,0,0,.22); border: 1px solid var(--line); display: grid; gap: 2px; }
.about__stats b { font-family: var(--display); font-size: 26px; text-shadow: var(--glow); }
.about__stats span { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.ribbon { position: relative; }
.ribbon__stage { height: 440px; perspective: 1100px; perspective-origin: 50% 40%; cursor: grab; touch-action: pan-y; user-select: none; position: relative; }
.ribbon__stage:active { cursor: grabbing; }
.ribbon__ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.merit { position: absolute; left: -110px; top: -150px; width: 220px; height: 300px; padding: 16px; border-radius: 20px; text-align: left; display: flex; flex-direction: column; gap: 8px;
background: linear-gradient(160deg, rgba(20,40,80,.95), rgba(8,18,38,.95)); border: 1px solid var(--line-2); color: var(--text);
box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); backface-visibility: hidden; transition: border-color .3s, box-shadow .3s; }
.merit.is-front { border-color: var(--orange); box-shadow: 0 0 30px rgba(255,179,92,.25), 0 20px 40px -20px rgba(0,0,0,.8); }
.merit__img { height: 130px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; font-size: 54px;
background: radial-gradient(circle at 50% 120%, rgba(255,179,92,.35), transparent 60%), repeating-linear-gradient(45deg, rgba(127,182,255,.06) 0 8px, transparent 8px 16px), rgba(0,0,0,.25);
border: 1px solid var(--line); filter: drop-shadow(0 0 10px rgba(127,182,255,.3)); }
.merit__img img { width: 100%; height: 100%; object-fit: cover; }
.merit__type { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.merit__title { font-family: var(--display); font-size: 16px; line-height: 1.2; }
.merit__org { font-size: 13px; color: var(--muted); line-height: 1.35; }
.ribbon__hint { text-align: center; font-family: var(--mono); font-size: 12px; color: var(--faint); margin-top: 6px; }
.merit-box { position: fixed; inset: 0; z-index: 110; display: none; place-items: center; padding: 20px; background: rgba(2,6,15,.7); backdrop-filter: blur(8px); }
.merit-box.is-open { display: grid; animation: fadein .3s var(--ease); }
.merit-box__in { width: min(520px, 100%); padding: 26px; display: grid; gap: 10px; position: relative; }
.merit-box__img { height: 280px; border-radius: 16px; display: grid; place-items: center; font-size: 90px; background: rgba(0,0,0,.3); border: 1px solid var(--line); overflow: hidden; }
.merit-box__img img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.merit-box__img small { font-size: 13px; color: var(--muted); font-family: var(--mono); margin-top: -60px; }
.merit-box__x { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(0,0,0,.3); z-index: 1; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .ribbon__stage { height: 380px; } .merit { width: 180px; height: 260px; left: -90px; top: -130px; } .merit__img { height: 100px; font-size: 44px; } }
.paper--tex { font-family: "STIX Two Text", "Times New Roman", serif; font-size: 17px; line-height: 1.5; color: #111; padding: 48px 64px; }
.paper--tex .fill { font-family: inherit; font-size: 17px; color: #000; }
.tex-who { display: flex; gap: 14px 28px; flex-wrap: wrap; align-items: baseline; border-bottom: 1px solid #000; padding-bottom: 10px; margin-bottom: 22px; }
.tex-who label { display: flex; gap: 8px; align-items: baseline; flex: 1; min-width: 200px; }
.tex-who label:nth-child(2) { flex: 0 0 auto; min-width: 0; }
.tex-date { margin-left: auto; font-style: italic; }
.tex-h { font-family: "STIX Two Text", "Times New Roman", serif; font-weight: 600; font-size: 22px; text-align: center; line-height: 1.3; margin-bottom: 20px; color: #000; }
.tex-h span { font-weight: 400; font-size: 20px; }
.tex-p { margin: 14px 0 6px; color: #111; }
.goal-sel { margin: 6px 0; width: 100%; max-width: 100%; padding: 8px 10px; border-radius: 8px; border: 1.5px dashed #9aa3b5; background: #fff7ec; font: 15px var(--sans); color: #1b2433; }
.goal-out { display: block; }
.tex-formulas { display: grid; gap: 2px; margin: 4px 0 10px; }
.tex-eq { display: grid; grid-template-columns: 1fr auto; align-items: center; }
.tex-eq .katex-display { margin: .35em 0; }
.tex-eqnum { color: #111; }
.tex-cap { margin: 18px 0 6px; text-align: center; font-size: 16px; }
.tex-tbl { margin: 0 auto; border-collapse: collapse; font-size: 16px; min-width: 60%; }
.tex-tbl thead tr { border-top: 2px solid #000; border-bottom: 1px solid #000; }
.tex-tbl tbody tr:last-child { border-bottom: 2px solid #000; }
.tex-tbl th, .tex-tbl td { padding: 5px 14px; text-align: center; border: 0; }
.tex-tbl th { font-weight: 400; }
.tex-fig { margin: 22px 0 6px; padding: 0; break-inside: avoid; }
.tex-plot { width: 100%; max-width: 640px; height: auto; display: block; margin: 0 auto; aspect-ratio: 640 / 380; }
.tex-fig figcaption { text-align: center; font-size: 16px; margin-top: 4px; }
.tex-fiteq { text-align: center; }
.graph-ctl { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 10px 12px; margin-bottom: 10px; border-radius: 10px; background: #f0f4fb; border: 1px dashed #9aa3b5; font: 14px var(--sans); color: #1b2433; }
.graph-ctl select { padding: 5px 8px; border-radius: 6px; border: 1px solid #b8c1d3; font: 14px var(--sans); background: #fff; }
.graph-ctl .chk { display: flex; gap: 5px; align-items: center; }
.graph-ctl .btn { color: #b3261e; border-color: #e3b5b0; }
.tex-res { margin: 0; padding-left: 22px; }
@media (max-width: 700px) { .paper--tex { padding: 26px 18px; font-size: 16px; } .tex-tbl { font-size: 14px; } .tex-tbl th, .tex-tbl td { padding: 4px 7px; } }
@media print {
.no-print, .graph-ctl { display: none !important; }
.goal-own[hidden] { display: none !important; }
.fill--area.concl:placeholder-shown, .fill--area.concl:placeholder-shown ~ * { display: none; }
.paper--tex { padding: 0; }
}
@media print { .paper--tex:has(textarea.concl:placeholder-shown) p.concl { display: none; } }
.goal-out { display: none; } @media print { .goal-out { display: block !important; } }
.bank-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px 0 26px; }
.bank-tabs button { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; text-align: left; padding: 16px 18px; border-radius: 18px; cursor: pointer;
border: 1px solid var(--line-2); background: var(--panel); color: var(--text); font: 600 18px var(--display); transition: .3s var(--ease); }
.bank-tabs button span { grid-row: span 2; font-size: 28px; }
.bank-tabs button small { font: 400 13px var(--sans); color: var(--muted); }
.bank-tabs button:hover { border-color: var(--blue); transform: translateY(-2px); }
.bank-tabs button[aria-selected="true"] { border-color: var(--orange); background: rgba(255,179,92,.1); box-shadow: 0 0 30px -10px rgba(255,179,92,.6); }
.bank-tabs button[aria-selected="true"] small { color: var(--orange-hi); }
.bank-blocks { display: grid; gap: 18px; }
.bank-block { padding: 22px; }
.bank-block__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.bank-block__head h2 { font-size: clamp(20px, 2.2vw, 26px); margin: 0 0 2px; }
.bank-block__ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 24px; background: var(--panel-2); border: 1px solid var(--line); flex: none; }
.bank-rows { display: grid; }
.bank-row { display: grid; grid-template-columns: minmax(200px, 1fr) auto; gap: 10px 18px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.bank-row__t { display: flex; gap: 12px; align-items: baseline; }
.bank-row__t .mono { color: var(--faint); font-size: 12px; }
.bank-row__t b { display: block; color: var(--text); font-size: 16px; }
.bank-row__t small { color: var(--faint); font-size: 12px; }
.bank-row__go, .bank-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.bank-switch { margin-top: 18px; }
.bank-pill { display: grid; min-width: 150px; padding: 8px 14px; border-radius: 13px; text-decoration: none; border: 1px solid var(--line-2); background: rgba(5,11,24,.4); color: var(--text-2); transition: .25s var(--ease); }
.bank-pill span { font-weight: 600; font-size: 14px; }
.bank-pill small { color: var(--faint); font: 12px var(--mono); }
.bank-pill:hover { transform: translateY(-2px); border-color: var(--blue); color: var(--text); }
.bank-pill--hard:hover { border-color: var(--orange); }
.bank-pill.is-done small { color: var(--green); }
.bank-pill.is-cur { border-color: var(--orange); background: rgba(255,179,92,.1); color: var(--orange-hi); }
.quiz__sol { margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(5,11,24,.5); border: 1px dashed var(--line-2); color: var(--text-2); line-height: 1.6; }
.quiz__sol .kicker { display: block; margin-bottom: 6px; }
.quiz__self { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
@media (max-width: 760px) {
.bank-tabs { gap: 6px; } .bank-tabs button { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 12px 6px; font-size: 15px; }
.bank-tabs button span { grid-row: auto; font-size: 22px; }
.bank-row { grid-template-columns: 1fr; } .bank-pill { min-width: 0; flex: 1 1 30%; } .bank-block { padding: 16px; }
}
.section--tight { padding: clamp(28px, 4vw, 48px) 0; }
.hub { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hub__item { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 18px 20px; text-decoration: none; color: var(--text); transition: transform .3s var(--ease), border-color .3s; }
.hub__item:hover { transform: translateY(-3px); border-color: var(--orange); }
.hub__ic { grid-row: span 2; font-size: 28px; filter: drop-shadow(0 0 10px rgba(127,182,255,.4)); }
.hub__item b { font-size: 16px; }
.hub__item small { color: var(--muted); font-size: 13px; }
.grid-cards.is-collapsed > :nth-child(n+4) { display: none; }
.more-row { display: flex; justify-content: center; margin-top: 26px; }
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.level-card { display: grid; gap: 12px; padding: 24px; text-decoration: none; color: var(--text); transition: transform .3s var(--ease), border-color .3s; }
.level-card:hover { transform: translateY(-4px); border-color: var(--orange); }
.level-card > div { display: flex; align-items: baseline; gap: 10px; }
.level-card h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 0; }
.level-card__ic { font-size: 30px; }
.level-card p { color: var(--text-2); font-size: 14.5px; margin: 0; }
.quick-tests { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.quick-tests .chip { text-decoration: none; }
.plus-strip { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 16px 22px; }
.plus-strip .emo { --s: 64px; }
.plus-strip b { display: block; font-family: var(--display); font-size: 20px; }
.plus-strip span { color: var(--text-2); font-size: 14.5px; }
@media (max-width: 900px) { .hub { grid-template-columns: repeat(2, 1fr); } .levels { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .hub__item { padding: 14px; } .hub__ic { font-size: 24px; } .plus-strip { grid-template-columns: auto 1fr; } .plus-strip .btn { grid-column: span 2; } }
.bank-prog { display: block; height: 4px; margin-top: 8px; border-radius: 4px; background: var(--line); overflow: hidden; max-width: 260px; }
.bank-prog b { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--blue)); }
.cabinet { display: grid; gap: 22px; padding-bottom: 60px; }
.cab-prof { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 24px; }
.cab-prof .emo { --s: 96px; }
.cab-prof h2 { margin: 6px 0; font-size: clamp(26px, 3vw, 36px); }
.cab-form .cab-fields { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 10px; margin: 14px 0; }
.cab-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cab-stat { padding: 18px 20px; display: grid; gap: 4px; }
.cab-stat b { font-family: var(--display); font-size: clamp(26px, 3vw, 38px); color: var(--orange-hi); }
.cab-stat span { color: var(--muted); font-size: 13.5px; }
.cab-sec h3 { font-size: 20px; margin: 6px 0 12px; }
.cab-hist { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.cab-h { display: grid; gap: 4px; padding: 14px 16px; text-decoration: none; color: var(--text); transition: border-color .25s, transform .25s; }
.cab-h:hover { border-color: var(--orange); transform: translateY(-2px); }
.cab-h span { color: var(--muted); font-size: 12px; }
.cab-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cab-lv { padding: 18px; display: grid; gap: 10px; align-content: start; }
.cab-lv h4 { margin: 0 0 4px; font-size: 18px; }
.cab-blk { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; text-decoration: none; color: var(--text-2); font-size: 14px; }
.cab-blk .bank-prog { grid-column: 1; margin-top: 2px; max-width: none; }
.cab-blk small { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--muted); }
.cab-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cab-badge { padding: 14px; display: grid; gap: 2px; text-align: center; opacity: .45; filter: grayscale(1); }
.cab-badge.is-on { opacity: 1; filter: none; border-color: rgba(255,179,92,.5); box-shadow: 0 0 24px -10px rgba(255,179,92,.6); }
.cab-badge span { font-size: 28px; }
.cab-badge small { color: var(--muted); font-size: 12px; }
.cab-sync { padding: 20px; }
.cab-sync p { margin: 0 0 12px; color: var(--text-2); }
.cont-strip { display: grid; grid-template-columns: auto 1fr auto auto; gap: 14px; align-items: center; margin-top: 14px; padding: 14px 20px; text-decoration: none; color: var(--text); border-color: rgba(255,179,92,.35); }
.cont-strip > span:first-child { color: var(--orange); font-weight: 600; }
.cont-strip small { color: var(--muted); }
.cont-strip__go { color: var(--orange); font-size: 20px; }
.cont-cab { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .cab-stats, .cab-badges { grid-template-columns: repeat(2, 1fr); } .cab-levels { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
.cab-prof { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.cab-form .cab-fields { grid-template-columns: 1fr; }
.cont-strip { grid-template-columns: 1fr auto; }
.cont-strip small { display: none; }
}
.mock-card { padding: 26px; display: grid; gap: 12px; margin-bottom: 16px; }
.mock-card h2 { margin: 0; }
.mock-timer { position: sticky; top: 76px; z-index: 30; justify-self: start; margin-top: 14px; padding: 8px 16px; border-radius: 999px; font: 600 16px var(--mono); color: var(--text); background: rgba(10,20,40,.9); border: 1px solid var(--line-2); backdrop-filter: blur(10px); }
.mock-timer.is-low { color: var(--red); border-color: var(--red); }
.quiz__tags { display: grid; gap: 8px; width: min(520px, 100%); margin: 6px auto 4px; text-align: left; }
.quiz__tags div { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 10px; align-items: center; font-size: 14px; }
.quiz__tags .bank-prog { margin: 0; max-width: none; }
.t-sec { margin-bottom: 40px; }
.t-sec h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 14px; }
.t-builder { padding: 22px; display: grid; gap: 16px; }
.t-sel { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.t-out { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.t-link { display: flex; gap: 8px; flex-wrap: wrap; }
.t-link .input { flex: 1 1 260px; font: 13px var(--mono); }
.t-qr { background: #fff; padding: 10px; border-radius: 12px; line-height: 0; }
.t-note { margin: 0; font-size: 13.5px; }
.t-packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.t-pack { padding: 20px; display: grid; gap: 12px; align-content: start; }
.t-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.t-head h3 { margin: 6px 0 0; font-size: 20px; }
.t-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-top: 10px; border-top: 1px solid var(--line); }
.t-row b { width: 100%; font-size: 14px; color: var(--text); }
.t-row .chip { text-decoration: none; font-size: 12.5px; cursor: pointer; }
.t-give { background: rgba(255,179,92,.1); border-color: rgba(255,179,92,.5); color: var(--orange-hi); font: inherit; }
.t-idea summary { cursor: pointer; color: var(--orange); font-weight: 600; }
.t-idea div { margin-top: 8px; color: var(--text-2); font-size: 14.5px; }
.t-idea ol { padding-left: 20px; display: grid; gap: 4px; }
.t-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(5,11,24,.96); display: grid; place-content: center; justify-items: center; gap: 14px; cursor: pointer; text-align: center; padding: 20px; }
.t-bigqr { background: #fff; padding: 18px; border-radius: 18px; line-height: 0; }
.t-overlay p { font: 15px var(--mono); color: var(--text); word-break: break-all; max-width: 90vw; }
@media (max-width: 620px) { .t-out { grid-template-columns: 1fr; justify-items: center; } }
.chip--hot { border-color: var(--orange); color: var(--orange-hi); text-decoration: none; }
.xp-chip { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font: 500 11px var(--mono); color: #1a0f02; background: var(--orange); vertical-align: 1px; }
.xp-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 90; padding: 12px 20px; border-radius: 16px; text-align: center;
background: rgba(10,20,40,.95); border: 1px solid rgba(255,179,92,.6); box-shadow: 0 10px 40px -10px rgba(255,179,92,.6); color: var(--text); font-size: 15px; animation: fadein .35s var(--ease); transition: opacity .5s, transform .5s; }
.xp-toast b { color: var(--orange-hi); }
.xp-toast.is-out { opacity: 0; transform: translate(-50%, 12px); }
.xp-line { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin: 8px 0 6px; max-width: 520px; }
.xp-lv { font: 600 14px var(--sans); color: var(--orange-hi); }
.xp-bar { height: 8px; border-radius: 8px; background: rgba(169,200,255,.15); overflow: hidden; }
.xp-bar b { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--orange)); border-radius: 8px; }
.xp-line small { color: var(--muted); }
.ava { --a: 96px; width: var(--a); height: var(--a); border-radius: 50%; display: grid; place-items: center; flex: none; position: relative; }
.ava .emo, .cab-prof .ava .emo { --s: calc(var(--a) - 10px); }
.ava--neon { box-shadow: 0 0 0 3px var(--blue), 0 0 22px rgba(127,182,255,.7); }
.ava--fire { box-shadow: 0 0 0 3px var(--orange), 0 0 22px rgba(255,179,92,.75); }
.ava--spectrum { background: conic-gradient(#ff7b8a, #ffb35c, #ffe27a, #7ef0b8, #7fb6ff, #b48cff, #ff7b8a); }
.ava--gold { background: conic-gradient(#fff3c4, #e8b14a, #fff3c4, #c98a1e, #fff3c4); box-shadow: 0 0 26px rgba(255,210,120,.6); }
.cab-reg { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: clamp(20px, 3vw, 32px); align-items: start; }
.cab-reg .emo { --s: 110px; }
.cab-reg h2 { margin: 0 0 6px; font-size: clamp(26px, 3vw, 36px); }
.cab-lbl { display: grid; gap: 8px; margin: 16px 0 0; font-weight: 600; color: var(--text-2); }
.cab-lbl[hidden] { display: none; }
.cab-lbl .input { max-width: 420px; }
.cab-lvpick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 8px 0 0; }
.cab-lvopt { cursor: pointer; }
.cab-lvopt input { position: absolute; opacity: 0; pointer-events: none; }
.cab-lvopt span { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(0,0,0,.2); transition: .2s; height: 100%; }
.cab-lvopt b { font-size: 16px; }
.cab-lvopt small { color: var(--muted); font-size: 12.5px; }
.cab-lvopt input:checked + span { border-color: var(--orange); background: rgba(255,179,92,.1); box-shadow: 0 0 0 3px rgba(255,179,92,.15); }
.cab-lvopt input:focus-visible + span { outline: 2px solid var(--blue); }
.cab-reg .btn--primary { margin-top: 20px; }
.cab-why { padding: 20px 24px; }
.cab-why h3 { margin: 0 0 8px; font-size: 18px; }
.cab-why ul { margin: 0; padding-left: 4px; list-style: none; display: grid; gap: 6px; color: var(--text-2); }
.cab-game { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 18px 22px; text-decoration: none; color: var(--text);
border-color: rgba(255,179,92,.45); transition: transform .25s, box-shadow .25s; }
.cab-game:hover { transform: translateY(-2px); box-shadow: 0 0 34px -12px rgba(255,179,92,.7); }
.cab-game .emo { --s: 72px; }
.cab-game b { display: block; font: 700 20px var(--display); margin: 2px 0; }
.cab-game small { color: var(--muted); }
.cab-lv.is-mine { border-color: rgba(255,179,92,.5); }
.cab-note { margin: -4px 0 12px; }
.cab-shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin-bottom: 12px; }
.shop-it { display: grid; justify-items: center; gap: 6px; padding: 12px 8px; color: var(--text); font: inherit; cursor: pointer; transition: border-color .2s, transform .2s; }
.shop-it b { font-size: 13px; text-align: center; }
.shop-it small { color: var(--muted); font-size: 12px; }
.shop-it:hover:not([disabled]) { border-color: var(--blue); transform: translateY(-2px); }
.shop-it.is-on { border-color: var(--orange); box-shadow: 0 0 22px -10px rgba(255,179,92,.7); }
.shop-it.is-on small { color: var(--orange-hi); }
.shop-it[disabled] { opacity: .45; cursor: default; }
.cab-code { width: 100%; margin: 12px 0 6px; font: 12px var(--mono); resize: vertical; word-break: break-all; }
.gm { max-width: 900px; }
.gm-start { display: grid; grid-template-columns: auto 1fr; gap: 26px; padding: clamp(22px, 3vw, 36px); }
.gm-start .emo { --s: 130px; }
.gm-start h2 { margin: 4px 0 8px; font-size: clamp(28px, 3.4vw, 40px); }
.gm-lv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.gm-lvb { display: grid; gap: 3px; padding: 14px 16px; text-align: left; color: var(--text); font: inherit; cursor: pointer; transition: .2s; }
.gm-lvb small { color: var(--muted); font-size: 12.5px; }
.gm-lvb.is-on { border-color: var(--orange); background: rgba(255,179,92,.1); }
.gm-hint { font-size: 13.5px; margin-top: 10px; }
.gm-load { padding: 40px; text-align: center; color: var(--muted); }
.gm-hud { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; margin-bottom: 10px; font-size: 15px; }
.gm-lives { color: var(--red); font-size: 20px; letter-spacing: 2px; }
.gm-lives i { color: var(--faint); font-style: normal; opacity: .5; }
.gm-combo { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font: 500 13px var(--mono); }
.gm-combo.is-hot { border-color: var(--orange); color: var(--orange-hi); box-shadow: 0 0 16px -4px rgba(255,179,92,.7); }
.gm-score { margin-left: auto; font: 700 28px var(--display); color: var(--orange-hi); text-shadow: var(--glow); }
.gm-time { height: 6px; border-radius: 6px; background: rgba(169,200,255,.15); overflow: hidden; margin-bottom: 18px; }
.gm-time i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--blue), var(--green)); transition: width .1s linear; }
.gm-time i.is-low { background: linear-gradient(90deg, var(--orange), var(--red)); }
.gm-f { display: inline-block; font-size: .95em; letter-spacing: 0; padding: 2px 12px; border-radius: 10px; background: rgba(127,182,255,.1); color: var(--blue-hi); white-space: nowrap; }
.opt.mono span { font-family: var(--mono); font-size: 16px; }
.gm-plus { color: var(--green); font: 700 18px var(--display); }
.gm-end .btn-row { justify-content: center; }
.gm-miss { width: 100%; max-width: 640px; text-align: left; display: grid; gap: 8px; }
.gm-miss h3 { font-size: 18px; margin: 4px 0; }
.gm-miss .card { padding: 12px 16px; display: grid; gap: 4px; }
.gm-miss small { color: var(--muted); }
.gm-miss small b { color: var(--green); }
@media (max-width: 900px) { .cab-lvpick { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
.cab-reg, .gm-start { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.cab-reg .cab-lbl, .cab-lvpick { text-align: left; width: 100%; }
.cab-reg .cab-lbl .input { max-width: none; }
.cab-game { grid-template-columns: auto 1fr; } .cab-game .btn { grid-column: 1 / -1; justify-self: start; }
.gm-lv { grid-template-columns: 1fr; text-align: left; width: 100%; }
.gm-start .btn-row { justify-content: center; }
.xp-line { grid-template-columns: 1fr; gap: 4px; justify-items: center; max-width: none; } .xp-bar { width: 100%; max-width: 280px; }
.gm-score { font-size: 22px; }
}
.nav__burger { display: inline-flex; align-items: center; gap: 10px; width: auto; height: 42px; padding: 0 16px 0 40px; border-radius: 999px; margin-left: 0; color: var(--text); cursor: pointer; }
.nav__burger span { left: 22px; }
.nav__burger:hover { border-color: var(--orange); }
.nav__burger-t { font: 600 14px var(--sans); }
body.menu-open .nav__burger { border-color: var(--orange); background: rgba(255,179,92,.1); }
.mega { position: fixed; inset: 72px 0 0 0; z-index: 49; background: rgba(5,11,24,.6); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease); }
body.menu-open .mega { opacity: 1; pointer-events: auto; }
body.menu-open .nav { background: rgba(5,11,24,.96); border-color: var(--line); }
.mega__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 26px; padding-block: 26px 30px; background: rgba(8,16,34,.98); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 26px 26px;
max-height: calc(100vh - 92px); overflow-y: auto; transform: translateY(-10px); transition: transform .3s var(--ease); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
body.menu-open .mega__in { transform: none; }
.mega__col { display: grid; gap: 6px; align-content: start; min-width: 0; }
.mega__col h4 { margin: 4px 0 6px; font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-hi); }
.mega__col h4:not(:first-child) { margin-top: 18px; }
.mega__col h5 { margin: 10px 0 2px 10px; font: 600 12px var(--sans); color: var(--muted); }
.mega__a { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 14px; color: var(--text); text-decoration: none; transition: background .2s; }
.mega__a:hover { background: rgba(127,182,255,.08); }
.mega__a b { display: block; font-size: 15px; font-weight: 600; }
.mega__a small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.mega__i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.05); font-size: 17px; }
.mega__sub { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 6px 6px 54px; }
.mega__sub a { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-size: 13px; text-decoration: none; transition: border-color .2s, color .2s; }
.mega__sub a:hover { border-color: var(--blue); color: var(--text); }
.mega__sub a small { color: var(--muted); font-size: 11px; }
@media (max-width: 1100px) { .mega__in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
.nav__links { display: none !important; }
.nav__burger { padding: 0 14px 0 38px; }
.mega__in { grid-template-columns: 1fr; gap: 8px; border-radius: 0 0 22px 22px; max-height: calc(100vh - 80px); }
.mega__sub { padding-left: 10px; }
}
@media (max-width: 420px) { .nav__burger-t { display: none; } .nav__burger { width: 44px; padding: 0; } .nav__burger span { left: 50%; } }
body.menu-open .fb { opacity: 0; pointer-events: none; }
.grade-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.grade-tabs button { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--text-2); font: inherit; font-size: 14px; cursor: pointer; transition: .2s; }
.grade-tabs button:hover { border-color: var(--blue-hi); color: var(--text); }
.grade-tabs button.is-on { background: var(--orange); border-color: var(--orange); color: #1a0f02; font-weight: 600; }
.grade-prog { border: 1px solid var(--line); background: var(--panel); border-radius: 18px; padding: 18px 20px; margin-bottom: 20px; }
.grade-prog__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-bottom: 10px; }
.grade-prog__head .muted { font-size: 13px; }
.grade-prog__cnt { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--orange-hi); }
.grade-prog__list { margin: 0; padding-left: 22px; display: grid; gap: 4px; }
.grade-prog__list li { padding: 6px 0; border-bottom: 1px dashed var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; color: var(--text-2); }
.grade-prog__list li:last-child { border-bottom: 0; }
.grade-prog__list li.is-ok a { color: var(--text); text-decoration: none; border-bottom: 1px solid rgba(127,182,255,.4); }
.grade-prog__list li.is-ok a:hover { color: var(--blue-hi); }
.grade-prog__list li { display: list-item; }
.grade-prog__list li > .tag { float: right; margin-left: 12px; }
.lab-card[hidden], .more-row[hidden], .grade-prog[hidden] { display: none !important; }
.cab-cloud { margin-bottom: 18px; padding: 18px 20px; border-color: rgba(127,182,255,.35); background: linear-gradient(135deg, rgba(127,182,255,.08), rgba(255,179,92,.05)); }
.cab-cloud__row { display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap; }
.cab-cloud__row > div:first-of-type { flex: 1 1 260px; }
.cab-cloud__row p { margin: 4px 0 0; }
.cab-cloud__ic { font-size: 30px; }
.cab-cloud .input { min-width: 220px; }
.cab-cloud__code { min-width: 0; width: 130px; font-family: "JetBrains Mono", monospace; font-size: 20px; letter-spacing: 4px; text-align: center; }
.cab-cloud__small { font-size: 13px; margin: 8px 0 0; }
.cab-cloud__small:empty { display: none; }
.linkbtn { background: none; border: 0; padding: 0; color: #7fb6ff; font: inherit; cursor: pointer; text-decoration: underline; }
.linkbtn:disabled { color: inherit; opacity: .6; cursor: default; text-decoration: none; }
@media (max-width: 560px) { .cab-cloud .input { min-width: 0; flex: 1; } }
.doc h3 { margin: 22px 0 8px; } .doc p, .doc li { line-height: 1.6; } .doc [data-fill] { color: #ffb35c; }
.cab-cloud__enter { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.cab-cloud__enter .input { flex: 1 1 300px; font-family: "JetBrains Mono", monospace; text-transform: uppercase; }
.cab-key { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.cab-key__qr { background: #fff; padding: 8px; border-radius: 10px; line-height: 0; }
.cab-key__code { display: inline-block; font-family: "JetBrains Mono", monospace; font-size: 20px; letter-spacing: 1px; color: #ffb35c; word-break: break-all; }
.cab-cloud__enter[hidden] { display: none; }
.acc { max-width: 560px; margin: 0 auto 22px; padding: 26px 28px; border-color: rgba(127,182,255,.35); }
.acc:has(.acc__me) { max-width: none; }
.acc__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.acc__head h2 { margin: 4px 0 0; }
.acc__tabs { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.acc__tabs button { background: none; border: 0; color: inherit; font: inherit; padding: 7px 14px; border-radius: 999px; cursor: pointer; opacity: .75; }
.acc__tabs button.is-on { background: rgba(127,182,255,.16); opacity: 1; }
.acc form { display: grid; gap: 12px; }
.acc__f { display: grid; gap: 6px; font-size: 14px; }
.acc__f > span:first-child { opacity: .8; }
.acc__pw { position: relative; display: block; }
.acc__pw .input { width: 100%; padding-right: 44px; }
.acc__eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; cursor: pointer; font-size: 16px; opacity: .7; }
.acc__chk { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.acc form > .btn--primary { justify-self: start; }
.acc__links { margin: 0; font-size: 14px; }
.acc__note { font-size: 13px; margin: 6px 0 0; }
.acc__msg { margin: 8px 0 0; font-size: 14px; color: #ff8c7a; }
.acc__msg.is-ok { color: #6fe3a5; }
.acc__msg:empty { display: none; }
.acc__me { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.acc__me > div:nth-child(2) { flex: 1 1 220px; display: grid; gap: 2px; }
.acc__me b { font-size: 20px; }
.acc__av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 700 22px Unbounded, sans-serif; background: linear-gradient(135deg, #7fb6ff, #ffb35c); color: #050b18; }
.acc__sub { margin-top: 16px; max-width: 420px; }
.acc__rescue { margin-top: 16px; padding: 16px; border: 1px dashed #ffb35c; border-radius: 14px; }
.acc__rescue code { color: #ffb35c; font-family: "JetBrains Mono", monospace; font-size: 18px; }
body.is-locked main { filter: blur(6px); pointer-events: none; user-select: none; max-height: 100vh; overflow: hidden; }
.lock-ov { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(5,11,24,.55); }
.lock-ov__box { max-width: 560px; text-align: center; padding: 28px; display: grid; gap: 12px; justify-items: center; }
.lock-ov__box .btn-row { justify-content: center; }
.tag--free { border-color: rgba(111,227,165,.5); color: #6fe3a5; }
.ktp-head p { margin: 0 0 8px; }
.ktp-sec h3 { margin: 26px 0 10px; }
.ktp { margin: 0; padding-left: 2.4em; display: grid; gap: 6px; }
.ktp li { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); }
.ktp li::marker { color: #7fb6ff; font-family: "JetBrains Mono", monospace; }
.ktp li > a, .ktp li > span { margin-right: 8px; }
.ktp li.is-open { border-color: rgba(111,227,165,.45); background: rgba(111,227,165,.05); }
.ktp li .tag { margin: 4px 6px 0 0; }
.ktp-soon { display: flex; gap: 18px; align-items: center; }
.ktp-soon p { margin: 6px 0; }
.les-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.les-meta p { margin: 6px 0 0; }
.les-sec { margin-top: 28px; }
.les-sec h2 { font-size: 22px; margin: 0 0 12px; }
.les-goals { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.les-goals h4 { margin: 0 0 6px; color: #7fb6ff; }
.les-goals ul, .les-sec ul { margin: 0; padding-left: 1.2em; line-height: 1.55; }
.les-table { overflow-x: auto; }
.les-table table { width: 100%; border-collapse: collapse; min-width: 680px; }
.les-table th, .les-table td { border: 1px solid var(--line-2); padding: 8px 10px; vertical-align: top; text-align: left; font-size: 15px; line-height: 1.45; }
.les-table th { background: rgba(127,182,255,.1); }
.les-notes { line-height: 1.6; }
.les-tasks { padding-left: 1.4em; display: grid; gap: 14px; }
.les-tasks details { margin: 6px 0 2px; }
.les-tasks summary { cursor: pointer; color: #7fb6ff; }
.les-src { font-size: 14px; }
.handout { position: relative; background: #fff; color: #111; border-radius: 12px; padding: 26px 28px; line-height: 1.5; }
.handout h3, .handout h4 { color: #111; margin: 0 0 8px; }
.handout table { border-collapse: collapse; width: 100%; margin: 8px 0; }
.handout td, .handout th { border: 1px solid #555; padding: 6px 8px; height: 26px; }
.handout__foot { margin: 14px 0 0; font-size: 12px; color: #666; text-align: right; }
.wm { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='200' viewBox='0 0 300 200'%3E%3Cg transform='rotate(-24 150 100)' opacity='.07' fill='none' stroke='%23050b18' stroke-width='3'%3E%3Cpath d='M70 60 L95 106 H45 Z'/%3E%3Ctext x='105' y='100' font-family='Arial' font-size='17' fill='%23050b18' stroke='none'%3EФаза Понимания%3C/text%3E%3Ctext x='105' y='120' font-family='Arial' font-size='12' fill='%23050b18' stroke='none'%3Efaza-fizika.ru%3C/text%3E%3C/g%3E%3C/svg%3E"); }
.cls { display: grid; gap: 14px; }
.cls__it h3 { margin: 6px 0; }
@media print {
body { background: #fff !important; color: #000; }
.nav, .footer, .atmo, .spot, .mega, .fb, .fb-btn, [class^="fb"], .btn-row, .crumbs, .les-meta .btn-row { display: none !important; }
.card { background: none !important; border-color: #999 !important; box-shadow: none !important; color: #000; }
.les-tasks details { display: block; } .les-tasks details > * { display: block; }
.lesson { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='200'%3E%3Ctext x='20' y='110' transform='rotate(-24 150 100)' font-family='Arial' font-size='18' fill='%23000' fill-opacity='.06'%3EФаза Понимания · faza-fizika.ru%3C/text%3E%3C/svg%3E"); }
body.print-handout main > .page-head, body.print-handout .lesson > :not(.les-sec:has(.handout)) { display: none !important; }
body.print-handout .les-sec:has(.handout) h2 { display: none; }
.handout { padding: 0; }
.les-table th, .les-table td { border-color: #555; }
* { color-adjust: exact; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.plus-cmp { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.plus-cmp__col { display: grid; gap: 10px; align-content: start; padding: 24px; position: relative; }
.plus-cmp__col h3 { margin: 0; font-size: 24px; }
.plus-cmp__col ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; line-height: 1.45; }
.plus-cmp__col p { margin: 0; line-height: 1.5; }
.plus-cmp__col > .btn { justify-self: start; }
.plus-cmp__col--plus { border-color: rgba(255,179,92,.45); background: linear-gradient(135deg, rgba(255,179,92,.09), rgba(127,182,255,.05)); }
.plus-cmp__col--plus .emo { --s: 74px; position: absolute; right: 16px; top: 14px; }