*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink-0); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: transparent; color: var(--text); font: var(--fw-medium) var(--fs-body)/var(--lh-body) var(--font); letter-spacing: 0; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; background: url("assets/home/bg-gym.webp") center top / cover no-repeat; opacity: .5; pointer-events: none; }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; background: rgb(0 0 0 / .74); pointer-events: none; }
@media (min-width: 600px) { body::before { background-size: auto 100%; background-position: center top; } }
h1, h2, h3, h4, p, ol, ul, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
button, a, label, [data-action] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
#main:focus { outline: none; }
img { display: block; max-width: 100%; }
mark { background: none; color: var(--brand); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.lock-svg { width: 12px; height: 15px; flex: none; }
.pay-icon { display: block; width: 44px; height: 44px; flex: none; object-fit: contain; }

.app-shell { position: relative; width: 100%; max-width: var(--shell); min-height: calc(100dvh - var(--review-h, 0px)); margin: 0 auto; isolation: isolate; overflow-x: clip; }
.app-header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: var(--s2); height: 60px; padding: 0 var(--gutter); transition: background var(--t-base), box-shadow var(--t-base); }
.scrolled .app-header { background: rgb(5 5 6 / .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.logo { position: relative; display: inline-block; padding-top: 29px; line-height: 1; }
.logo__gauge { position: absolute; top: 0; left: 50%; z-index: 2; width: 71.3px; height: auto; transform: translateX(-50%) rotate(-2.84deg); }
.logo__mark { position: relative; display: block; padding: 3px 6px 3px 7px; border: 3px solid #000; border-radius: 10px; background: var(--cyan-500); color: var(--black); font: 900 35.2px/35.2px var(--font-display); letter-spacing: .01em; text-align: center; text-transform: uppercase; white-space: nowrap; transform: rotate(-2.5deg); filter: drop-shadow(4px 4px 0 #000); }
.logo__sub { position: absolute; top: 37px; right: 6px; color: #f7f4f1; font: 900 17.98px/19.72px var(--font-display); letter-spacing: .82px; text-transform: none; white-space: nowrap; -webkit-text-stroke: 8px #000; paint-order: stroke fill; transform: rotate(.23deg); text-shadow: 0 0 17px rgb(0 0 0 / .25); }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 20px; background: rgb(0 0 0 / .3); border: 1px solid rgb(255 255 255 / .15); color: #f7f4f1; }
.icon-btn img, .icon-btn .icon { width: 19px; height: 19px; }
.page { padding: var(--s2) var(--gutter) var(--s8); }
.page.has-sticky { padding-bottom: 110px; }

.display { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: var(--ls-display); line-height: var(--lh-display); }
.title { font-size: var(--fs-display); text-wrap: balance; }
.lead { margin-top: var(--s2); font-size: 15px; line-height: 1.45; color: var(--sand); text-wrap: pretty; }
.small { font-size: var(--fs-small); line-height: var(--lh-small); }
.caption { font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--muted); }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-12 { margin-top: var(--s3); } .mt-16 { margin-top: var(--s4); } .mb-14 { margin-bottom: 14px; }
.sec-title { display: flex; align-items: center; gap: 10px; font: 900 18px/1.15 var(--font-display); text-transform: uppercase; letter-spacing: .03em; text-wrap: balance; }
.sec-title .pay-icon { width: 42px; height: 42px; }
.mini-title { margin: var(--s4) 0 var(--s2); font-size: var(--fs-caption); font-weight: var(--fw-heavy); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.card-sub { margin-top: 4px; font-size: var(--fs-small); color: var(--text-2); }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: var(--button-h); margin-bottom: 5px; padding: 12px 22px; border-radius: var(--button-r); border: 0; background: var(--cyan-500); color: var(--on-cyan); font-size: 17px; line-height: 1.5; font-weight: var(--fw-heavy); letter-spacing: .04em; text-align: center; box-shadow: var(--button-edge); transition: transform 120ms var(--ease), box-shadow 120ms var(--ease), opacity var(--t-fast); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--cyan-700); }
.btn .icon { width: 19px; height: 19px; stroke-width: 2.2; }
.btn .lock-svg { width: 13px; height: 16px; }
.btn--secondary { background: rgb(0 0 0 / .3); color: var(--cyan-500); border: 1.5px solid rgb(38 210 253 / .55); box-shadow: 0 5px 0 rgb(5 134 194 / .35); }
.btn--secondary:active { box-shadow: 0 1px 0 rgb(5 134 194 / .35); }
.btn--sm { width: auto; min-height: 40px; margin-bottom: 3px; padding: 8px 16px; border-radius: 12px; font-size: 14px; letter-spacing: .02em; box-shadow: 0 3px 0 var(--cyan-700); }
.btn--sm.btn--secondary { box-shadow: 0 3px 0 rgb(5 134 194 / .35); }
.btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.btn-stack { display: grid; gap: var(--s3); margin-top: var(--s6); }
.btn-note { margin-top: var(--s2); text-align: center; font-size: var(--fs-caption); color: var(--muted); }
.text-link { display: inline-flex; align-items: center; min-height: 36px; font-size: var(--fs-small); font-weight: var(--fw-bold); color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.price-pill { display: inline-flex; align-items: baseline; gap: 6px; margin-top: var(--s3); padding: 6px 14px; border: 2px solid #000; border-radius: 10px; background: var(--cyan-500); color: var(--on-cyan); font-size: 14px; font-weight: var(--fw-bold); transform: rotate(-2deg); box-shadow: 3px 3px 0 #000; }
.price-pill b { font-size: 18px; font-weight: var(--fw-black); }
.lock-cta { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px; border-radius: 12px; background: var(--cyan-500); color: var(--on-cyan); font-size: 13px; font-weight: var(--fw-heavy); letter-spacing: .02em; white-space: nowrap; box-shadow: 0 3px 0 var(--cyan-700); }
.test-mode { display: flex; gap: 8px; align-items: center; margin-top: var(--s3); padding: 9px 12px; border-radius: 12px; background: rgb(38 210 253 / .08); border: 1.5px dashed rgb(38 210 253 / .6); font-size: var(--fs-caption); font-weight: var(--fw-bold); color: var(--cyan-500); }
.test-mode .icon { width: 15px; height: 15px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-r); padding: var(--card-pad); }
.notice { display: flex; gap: var(--s3); align-items: flex-start; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); font-size: var(--fs-small); color: var(--text-2); }
.notice > .icon { color: var(--brand); margin-top: 1px; }
.notice .pay-icon { width: 36px; height: 36px; }
.notice strong { color: var(--text); font-weight: var(--fw-heavy); }
.notice--ok { background: rgb(38 210 253 / .08); border-color: rgb(38 210 253 / .35); }
.notice__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s3); }
.progress { position: relative; height: 8px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.progress i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--cyan-700), var(--cyan-500)); box-shadow: none; transition: width .4s var(--ease); }
.meter { display: block; height: 8px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.meter > i { display: block; height: 100%; border-radius: inherit; background: var(--pc, var(--brand)); transform-origin: left; animation: grow .9s var(--ease) both; }
.meter--pink > i { background: linear-gradient(90deg, var(--cyan-700), var(--cyan-500)); }
.meter--grey > i { background: rgb(255 255 255 / .35); }
.meter--sun > i { background: linear-gradient(90deg, #8be9ff, var(--cyan-500)); }
.meter--night > i { background: linear-gradient(90deg, #ff9ec8, var(--pink-500)); }
@keyframes grow { from { transform: scaleX(0); } }
.delta { display: inline-block; padding: 2px 7px; border-radius: 999px; background: var(--hot-bg); color: var(--accent); font-size: var(--fs-caption); font-weight: var(--fw-heavy); font-variant-numeric: tabular-nums; }
.delta--flat { background: var(--surface-3); color: var(--muted); }
.empty { display: grid; justify-items: center; gap: 8px; padding: 22px 10px; text-align: center; font-size: var(--fs-small); color: var(--muted); }
.empty .pay-icon { width: 56px; height: 56px; }

.avatar { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--pc, var(--brand)); color: #0b0a0c; font-weight: var(--fw-heavy); font-size: 18px; flex: none; overflow: hidden; box-shadow: 0 0 0 2px var(--ring), 0 0 0 3.5px var(--pc, var(--brand)); }
.avatar--anon { background: radial-gradient(circle at 50% 38%, #4a515c 0 22%, transparent 23%), radial-gradient(ellipse 46% 34% at 50% 100%, #4a515c 98%, transparent 100%), #2a2f37; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.avatar:not(.no-photo) .avatar__letter { visibility: hidden; }
.avatar--xs { width: 22px; height: 22px; font-size: 11px; box-shadow: 0 0 0 1.5px var(--ring); }
.avatar--chat { width: 28px; height: 28px; font-size: 12px; box-shadow: none; }
.avatar--sm { width: 32px; height: 32px; font-size: 13px; box-shadow: 0 0 0 2px var(--ring); }
.avatar--lg { width: 60px; height: 60px; font-size: 24px; box-shadow: 0 0 0 3px var(--ring), 0 0 0 5px var(--pc, var(--brand)); }
.avatar--xl { width: 84px; height: 84px; font-size: 34px; box-shadow: 0 0 0 3px var(--ring), 0 0 0 5.5px var(--pc, var(--brand)); }
.avatar--blip { width: 44px; height: 44px; font-size: 17px; }
.mascot { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; background: #0f1a20; box-shadow: 0 0 0 1.5px var(--ring), 0 0 0 3px rgb(38 210 253 / 0.35); }

.page--home {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  height: calc(100vh - 60px - var(--review-h, 0px));
  height: calc(100dvh - 60px - var(--review-h, 0px));
  padding-top: 0;
  padding-bottom: calc(var(--cookie-strip) + 2px + env(safe-area-inset-bottom));
}
html:has(.page--home) { overflow: hidden; overscroll-behavior: none; }
.home__logo { flex: none; margin-top: -21px; }
.home__title { flex: none; max-width: 314px; margin-top: clamp(14px, 11.49dvh - 48.95px, 48px); font-size: min(20.73px, 5.75vw, 1.43dvh + 8.67px); line-height: 1.3; letter-spacing: .058em; color: #fff; text-wrap: balance; }
.home__title span { color: var(--brand); }
.home__lead { flex: none; max-width: 269px; margin-top: clamp(8px, 3.04dvh - 8.66px, 17px); font-size: 14px; line-height: 20.2px; font-weight: var(--fw-regular); color: var(--sand); }
.home__lead b { font-weight: var(--fw-bold); }
.hero-slot { flex: 1 1 0; min-height: 0; width: 100%; margin-top: clamp(10px, 8.78dvh - 38.1px, 36px); container: hero / size; display: flex; flex-direction: column; justify-content: center; }
.hero-box { display: flex; flex-direction: column; align-items: flex-end; width: 100%; }
@container hero (min-aspect-ratio: 1.84) { .hero-box { display: none; } }
.hero-art { position: relative; width: 100%; height: min(100cqw * 284 / 354, 100cqh - 22px); margin: 0; container-type: size; }
.hero-art__card { position: absolute; inset: 0; overflow: hidden; border: 2px solid var(--cyan-500); border-radius: 28px; background: #3a1708; box-shadow: var(--glow); }
.hero-art__hall { position: absolute; top: 0; left: 0; width: 100%; height: 86.81cqw; max-width: none; object-fit: cover; }
.hero-art__tag { position: absolute; left: 24%; top: 13cqw; width: 32.3%; height: 8.5cqw; display: grid; place-items: center; border-radius: 3px; background: #fff; color: #000; font: 900 5.55cqw/1 var(--font-display); letter-spacing: .066em; white-space: nowrap; }
.hero-art__arrow { position: absolute; left: 53.9%; top: 27.12cqw; width: 20%; height: auto; max-width: none; transform: translate(-50%, -50%) rotate(-28.57deg); }
.hero-art__men { position: absolute; left: 50%; top: 6.2175cqw; width: calc(100cqw + 2 * var(--gutter) + 2px); height: auto; max-width: none; transform: translateX(-50%); pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100cqh - 6.2175cqw - 2px), transparent 0); mask-image: linear-gradient(to bottom, #000 calc(100cqh - 6.2175cqw - 2px), transparent 0); }
.hero-art__men--in { top: calc(6.2175cqw - 2px); -webkit-mask-image: none; mask-image: none; }
.home__note { margin: 1px 16px 0 0; font-size: 13px; line-height: 20.2px; white-space: nowrap; color: rgb(255 255 255 / .43); }
.home__cta { flex: none; margin-top: clamp(6px, 1.01dvh + .45px, 9px); gap: 4px; }
.home__cta img { width: 19px; height: 19px; }
@media (max-height: 700px) { .home__logo { zoom: .82; } }
@media (max-height: 620px) { .home__logo { zoom: .7; } }
@media (max-height: 540px) { .home__logo { zoom: .6; } }
@media (max-height: 480px) {
  .home__logo { zoom: .5; }
  .home__lead, .hero-slot { display: none; }
  .home__title { margin-top: 8px; }
  .home__cta { margin-top: auto; }
}

.about-steps { display: grid; gap: 10px; margin-bottom: var(--s4); }
.about-steps li, .my-reports a { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px 10px 10px; border-radius: 16px; background: var(--surface-1); border: 1px solid var(--line); }
.about-steps strong, .my-reports strong { display: block; font-size: 15px; font-weight: var(--fw-heavy); }
.about-steps small, .my-reports small { display: block; font-size: var(--fs-caption); color: var(--muted); }
.my-reports { display: grid; gap: 8px; }
.my-reports .icon { color: var(--accent); }

.page--upload .title { margin-top: 4px; }
.chat-type { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: var(--s5); }
.chat-type__opt { position: relative; display: grid; justify-items: start; gap: 2px; padding: 12px 12px 12px; border-radius: 15px; background: var(--surface-1); border: 1.5px solid var(--line-strong); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.chat-type__opt .pay-icon { width: 40px; height: 40px; margin-bottom: 4px; }
.chat-type__opt strong { font-size: 15px; font-weight: var(--fw-heavy); letter-spacing: -.01em; }
.chat-type__opt small { font-size: var(--fs-caption); color: var(--muted); }
.chat-type__opt[aria-checked="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px rgb(38 210 253 / 0.15); }
.chat-type__opt[aria-checked="true"]::after { content: "✓"; position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: var(--on-cyan); font-size: 12px; font-weight: 800; }
.chat-type__badge { position: absolute; top: -9px; left: 10px; padding: 3px 8px; border-radius: 999px; background: var(--g-cyan); color: var(--on-cyan); font-size: 11px; font-weight: var(--fw-heavy); letter-spacing: -.01em; }
.dropzone { position: relative; width: 100%; display: grid; place-items: center; gap: 8px; min-height: 96px; margin-top: var(--s4); padding: 22px 18px; border: 1px solid; border-radius: 18px; text-align: center; cursor: pointer; transition: transform var(--t-fast) var(--spring), border-color var(--t-fast), box-shadow var(--t-fast); }
.dropzone.dragging, .dropzone:hover { transform: scale(1.01); }
.dropzone:active { transform: scale(.985); }
.dropzone__icon { width: 30px; height: 30px; color: var(--pink-500); stroke-width: 2.2; }
.dropzone strong { font-size: 19px; letter-spacing: -.01em; font-weight: var(--fw-heavy); }
.parse-card { margin-top: var(--s5); padding: 16px; border-radius: 15px; background: var(--surface-1); border: 1.5px solid rgb(38 210 253 / 0.35); }
.parse-card__top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.parse-card__top > div { flex: 1; min-width: 0; }
.parse-card__top strong { display: block; font-weight: var(--fw-heavy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.parse-card__top small { display: block; font-size: var(--fs-caption); color: var(--muted); }
.parse-card__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--brand); flex: none; }
.parse-card.is-done .parse-card__icon { background: var(--cyan-500); color: var(--on-cyan); }
.parse-card .progress i { transition-property: width; transition-timing-function: linear; }
.parse-log { display: grid; gap: 7px; margin-top: 12px; font-size: var(--fs-small); }
.parse-log li { display: flex; align-items: center; gap: 8px; opacity: .35; transition: opacity var(--t-base); }
.parse-log li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--surface-3); font-size: 11px; font-weight: 800; }
.parse-log li.done { opacity: 1; }
.parse-log li.done::before { background: var(--cyan-500); color: var(--on-cyan); }
.privacy-card { padding: 14px 14px 12px; border-radius: 15px; background: var(--surface-1); border: 1px solid var(--line); }
.privacy-card h2 { display: flex; gap: 8px; align-items: center; font-size: 16px; font-weight: var(--fw-heavy); letter-spacing: -.01em; }
.privacy-card h2 .pay-icon { width: 30px; height: 30px; }
.privacy-card ul { display: grid; gap: 7px; margin-top: 10px; }
.privacy-card li { position: relative; padding-left: 15px; font-size: var(--fs-small); line-height: 1.4; color: var(--text-2); }
.privacy-card li::before { content: ""; position: absolute; left: 1px; top: .45em; border-left: 7px solid var(--accent); border-block: 4.5px solid transparent; }
.privacy-card li b { color: var(--text); font-weight: var(--fw-heavy); }

.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: var(--s4); border-radius: 14px; background: var(--surface-3); }
.tabs button { display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; border-radius: 11px; font-size: 15px; font-weight: var(--fw-heavy); color: var(--muted); }
.tabs button .pay-icon { width: 26px; height: 26px; }
.tabs button[aria-selected="true"] { background: var(--surface-1); color: var(--text); box-shadow: 0 2px 8px rgb(0 0 0 / 0.24); }
.guide { display: grid; gap: var(--s6); margin-top: var(--s5); }
.guide__head { display: grid; grid-template-columns: 36px 1fr auto; gap: var(--s3); align-items: start; }
.guide__head .pay-icon { width: 40px; height: 40px; }
.guide__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--g-cyan); color: var(--on-cyan); font-size: 16px; font-weight: var(--fw-heavy); box-shadow: none; }
.guide h3 { font-size: 16px; font-weight: var(--fw-heavy); line-height: 1.25; letter-spacing: -.01em; }
.guide p { margin-top: 3px; font-size: var(--fs-small); color: var(--text-2); }
.guide__shot { margin-top: var(--s3); }
.guide__shot .tg-shot { box-shadow: 0 10px 28px rgb(0 0 0 / .35); }

.file-card { display: flex; align-items: center; gap: var(--s3); padding: 10px 14px 10px 10px; border-radius: 15px; background: var(--surface-1); border: 1px solid var(--line); }
.file-card__icon .pay-icon { width: 40px; height: 40px; }
.file-card strong { display: block; font-weight: var(--fw-heavy); }
.file-card small { display: block; font-size: var(--fs-caption); color: var(--muted); }
.photo-cta { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'faces count' 'text text' 'btn btn'; gap: 10px; align-items: center; margin-top: var(--s3); padding: 14px; border-radius: 18px; background: var(--g-card); color: #fff; box-shadow: 0 12px 32px rgb(0 0 0 / .35); }
.photo-cta.is-done { box-shadow: inset 0 0 0 1.5px rgb(38 210 253 / .5); }
.photo-cta__faces { grid-area: faces; display: flex; padding-left: 4px; }
.photo-cta__faces .avatar + .avatar { margin-left: -8px; }
.photo-cta__count { grid-area: count; font-size: 24px; font-weight: var(--fw-heavy); letter-spacing: -.01em; }
.photo-cta__text { grid-area: text; }
.photo-cta__text strong { display: block; font-size: 18px; font-weight: var(--fw-heavy); letter-spacing: -.01em; }
.photo-cta__text small { display: block; font-size: var(--fs-small); opacity: .9; }
.photo-cta .btn { grid-area: btn; width: 100%; }
.person-list { margin-top: var(--s5); display: grid; gap: 8px; }
.person { display: flex; align-items: center; gap: 12px; padding: 10px 12px; min-height: 72px; border-radius: 15px; background: var(--surface-1); border: 1.5px solid transparent; transition: opacity var(--t-fast), border-color var(--t-fast); }
.person:not(.is-off) { border-color: rgb(38 210 253 / 0.3); }
.person.is-off { opacity: .6; }
.person__info { flex: 1; min-width: 0; }
.person__name { display: flex; align-items: center; gap: 4px; min-width: 0; }
.person__info strong { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: var(--fw-heavy); font-size: 16px; letter-spacing: -.01em; }
.name-edit { flex: none; display: grid; place-items: center; width: 30px; height: 30px; margin: -6px 0; border-radius: 50%; color: var(--muted); }
.name-edit:hover, .name-edit:focus-visible { color: var(--cyan-500); background: rgb(38 210 253 / .1); }
.name-edit .icon { width: 16px; height: 16px; }
.name-input { width: 100%; min-width: 0; height: 32px; padding: 0 10px; border-radius: 9px; border: 1.5px solid var(--cyan-500); background: rgb(0 0 0 / .35); color: var(--text); font: inherit; font-size: 16px; font-weight: var(--fw-heavy); }
.name-input:focus { outline: none; box-shadow: 0 0 0 3px rgb(38 210 253 / .25); }
.photo-cell { display: grid; gap: 6px; min-width: 0; }
.name-input--tile { height: 30px; padding: 0 6px; border-color: var(--line); background: var(--surface-2); text-align: center; font-size: 14px; }
.name-input--tile:focus { border-color: var(--cyan-500); }
.name-wrap { position: relative; display: block; }
.name-wrap .icon { position: absolute; right: 8px; top: 50%; width: 13px; height: 13px; margin-top: -6.5px; color: var(--muted); pointer-events: none; }
.name-wrap .name-input--tile { padding-right: 24px; }
.person__info small { display: block; font-size: var(--fs-caption); color: var(--muted); line-height: 1.35; }
.photo-btn { position: relative; display: inline-grid; cursor: pointer; border-radius: 50%; padding: 4px; }
.photo-btn:not(.has) .avatar { background: var(--surface-3); color: var(--muted); box-shadow: none; outline: 2px dashed rgb(38 210 253 / 0.45); outline-offset: 2px; }
.photo-btn__badge { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--on-cyan); border: 2px solid var(--ring); }
.photo-btn.has .photo-btn__badge { background: var(--brand); }
.photo-btn__badge .icon { width: 12px; height: 12px; stroke-width: 3; }
.check { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; transition: background var(--t-fast), transform var(--t-fast) var(--spring); }
.check[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-cyan); transform: scale(1.05); }
.check .icon { width: 16px; height: 16px; stroke-width: 3; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: var(--s4); }
.photo-tile { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 16px; overflow: hidden; cursor: pointer; background: var(--surface-2); border: 2px dashed rgb(38 210 253 / 0.4); }
.photo-tile.has { border: 0; box-shadow: 0 0 0 2px var(--brand); }
.photo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-tile__plus { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--on-cyan); }
.sticky-action { position: sticky; bottom: 0; z-index: 15; margin: var(--s5) calc(var(--gutter) * -1) 0; padding: 14px var(--gutter) calc(12px + env(safe-area-inset-bottom) + var(--cookie-h, 0px)); background: linear-gradient(180deg, rgb(11 10 12 / 0), var(--bg) 35%); }

.page--scan { display: flex; flex-direction: column; height: calc(100dvh - 60px - var(--review-h, 0px) - var(--cookie-h, 0px)); min-height: 400px; padding-bottom: var(--s3); }
.scan-title { font-size: 28px; }
.radar-box { flex: 1 1 auto; min-height: 140px; max-height: 368px; display: grid; place-items: center; container-type: size; margin-top: var(--s2); }
.radar { --rw: min(350px, 100cqw, calc(100cqh - 14px)); position: relative; width: 318px; width: var(--rw); aspect-ratio: 1; }
.radar .avatar--blip { width: clamp(30px, calc(var(--rw) * .14), 48px); height: clamp(30px, calc(var(--rw) * .14), 48px); font-size: clamp(12px, calc(var(--rw) * .05), 17px); }
.radar__disc { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: radial-gradient(circle, #0e2c38 0%, #08151c 72%); box-shadow: 0 0 0 8px rgb(38 210 253 / 0.1), inset 0 0 0 2px rgb(38 210 253 / 0.35); }
.radar__grid { position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 calc(16.66% - 1px), rgb(38 210 253 / 0.22) calc(16.66% - 1px) 16.66%), linear-gradient(90deg, transparent calc(50% - .5px), rgb(38 210 253 / 0.18) calc(50% - .5px) calc(50% + .5px), transparent 0), linear-gradient(0deg, transparent calc(50% - .5px), rgb(38 210 253 / 0.18) calc(50% - .5px) calc(50% + .5px), transparent 0); }
.radar__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0deg 280deg, rgb(38 210 253 / 0.12) 320deg, rgb(38 210 253 / 0.45) 352deg, #26d2fd 359.5deg, transparent 360deg); animation: sweep 3s linear infinite; }
.blip { position: absolute; left: var(--x); top: var(--y); z-index: 2; transform: translate(-50%, -50%); }
.blip .avatar { transition: transform .3s var(--spring), box-shadow .3s; }
.blip__ring { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; pointer-events: none; }
.blip.ping .avatar { animation: blip-pop .5s var(--spring); box-shadow: 0 0 0 2px var(--ring), 0 0 0 4px var(--accent); }
.blip.ping .blip__ring { animation: ring 1s ease-out; }
@keyframes blip-pop { 40% { transform: scale(1.22); } }
@keyframes ring { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(2.2); } }
.radar__finds { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.find { position: absolute; transform: translate(-50%, -150%) rotate(var(--r)); white-space: nowrap; animation: find-up 1.4s var(--ease) forwards; }
.find--word { padding: 4px 10px; border-radius: 999px; background: var(--cyan-500); color: var(--on-cyan); font-size: 13px; font-weight: var(--fw-heavy); box-shadow: 0 6px 14px rgb(0 0 0 / .35); }
.find--icon .pay-icon { display: block; width: 34px; height: 34px; filter: drop-shadow(0 4px 8px rgb(0 0 0 / .55)); }
@keyframes find-up { 0% { opacity: 0; transform: translate(-50%, -90%) rotate(var(--r)) scale(.6); } 18% { opacity: 1; transform: translate(-50%, -150%) rotate(var(--r)) scale(1.08); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -240%) rotate(var(--r)) scale(1); } }
.radar__core { position: absolute; top: 50%; left: 50%; z-index: 2; width: clamp(58px, calc(var(--rw) * .27), 88px); height: clamp(58px, calc(var(--rw) * .27), 88px); transform: translate(-50%, -50%); display: grid; grid-auto-flow: column; align-content: center; justify-content: center; align-items: baseline; border-radius: 50%; background: var(--g-cyan); color: var(--on-cyan); box-shadow: none; }
.radar__core b { font-size: clamp(22px, calc(var(--rw) * .097), 32px); font-weight: var(--fw-heavy); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.radar__core small { font-size: 15px; font-weight: var(--fw-heavy); }
.radar__lock { position: absolute; left: 50%; bottom: -6px; z-index: 4; transform: translateX(-50%) rotate(-3deg) scale(0); padding: 8px 16px; border-radius: 999px; background: var(--g-cyan); color: var(--on-cyan); font: 900 17px/1 var(--font-display); text-transform: uppercase; white-space: nowrap; transition: transform .4s var(--spring); }
.radar.is-locked .radar__lock { transform: translateX(-50%) rotate(-3deg) scale(1); }
.radar.is-locked .radar__sweep { animation-duration: .9s; }
@keyframes sweep { to { transform: rotate(360deg); } }
.scan-phase { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); margin-top: 6px; margin-bottom: 8px; font-size: 15px; font-weight: var(--fw-bold); }
.scan-phase b { color: var(--brand); font-variant-numeric: tabular-nums; }
.progress--scan i { transition: none; }
.scan-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: var(--s3); flex: none; }
.scan-tile { padding: 9px 12px; border-radius: 14px; background: var(--surface-1); border: 1px solid var(--line); }
.scan-tile b { display: block; font-size: 22px; line-height: 1.05; font-weight: var(--fw-heavy); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.scan-tile span { display: block; margin-top: 2px; font-size: var(--fs-caption); font-weight: var(--fw-bold); color: var(--muted); }
.scan-tile--peri b { color: var(--brand); } .scan-tile--pink b { color: var(--pink-500); } .scan-tile--green b { color: #8be9ff; } .scan-tile--violet b { color: #ff9ec8; }
.host { display: flex; gap: 10px; align-items: flex-end; margin-top: var(--s3); }
.host[hidden] { display: none; }
.host__face { width: 50px; height: 50px; }
.host p { flex: 1; padding: 11px 14px; border-radius: 18px 18px 18px 6px; background: var(--surface-1); font-size: var(--fs-small); box-shadow: var(--card-shadow); }
.host strong { color: var(--brand); font-weight: var(--fw-heavy); }
.host.pop p { animation: pop-in .4s var(--spring); }
.page--scan #scan-next { margin-top: var(--s3); }
.page--scan #scan-next[hidden] { display: none; }
@media (max-height: 700px) {
  .scan-title { font-size: 24px; }
  .page--scan .scan-tiles { gap: 6px; margin-top: 10px; }
  .page--scan .scan-tile { padding: 7px 12px; }
  .page--scan .scan-tile b { font-size: 19px; }
  .page--scan .scan-tile span { font-size: 11.5px; }
  .page--scan .host { margin-top: 10px; }
  .page--scan .host__face { width: 42px; height: 42px; }
  .page--scan .host p { padding: 9px 12px; font-size: 12.5px; }
}

.report-head { padding-top: 4px; }
.report-head .title { font-size: 28px; }
.report-head .title span { color: var(--brand); }
.report-head__sub { margin-top: 6px; font-size: 16px; font-weight: var(--fw-semibold); color: var(--sand); }
.rating { margin-top: var(--s7); padding: 14px 12px 12px; }
.rating__basis { margin-top: var(--s6); padding: 0 4px; font-size: 15px; line-height: 1.45; font-weight: var(--fw-medium); color: var(--text-2); text-wrap: pretty; }
.rating__basis b { color: var(--text); font-weight: var(--fw-heavy); }
.rank-list { display: grid; gap: 4px; margin-top: var(--s3); }
.rank { display: grid; grid-template-columns: 16px auto 1fr auto; align-items: center; gap: 12px; min-height: 60px; padding: 8px 10px; border-radius: 12px; background: var(--surface-2); }
.rank__n { font-size: 14px; color: var(--subtle); font-weight: var(--fw-heavy); font-variant-numeric: tabular-nums; text-align: center; }
.rank__who { min-width: 0; }
.rank__who strong { display: block; font-size: 16px; font-weight: var(--fw-heavy); letter-spacing: -.01em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank__who em { display: block; margin-top: 4px; font-style: normal; font-size: var(--fs-caption); line-height: 1.35; color: var(--text-2); }
.risk { display: block; font-size: var(--fs-caption); font-weight: var(--fw-bold); }
.risk--cyan { color: var(--cyan-500); } .risk--pink { color: var(--pink-500); }
.rank__pct { font-family: var(--font-display); font-size: 26px; line-height: 1; font-weight: 900; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.rank__pct small { font-size: 16px; margin-left: 1px; }
.rank.is-top { background: linear-gradient(100deg, rgb(38 210 253 / .14), rgb(38 210 253 / .04) 70%, transparent); box-shadow: inset 0 0 0 1.5px rgb(38 210 253 / .4); padding-block: 12px; }
.rank.is-top .rank__pct { font-size: 34px; }
@media (max-width: 360px) { .rank { gap: 9px; padding-inline: 8px; } .rank.is-top .avatar--lg { width: 46px; height: 46px; font-size: 19px; } .rank.is-top .rank__pct { font-size: 32px; } .rank__pct { font-size: 26px; } }
.robot { display: grid; grid-template-columns: clamp(104px, 32vw, 132px) 1fr; gap: 6px; align-items: center; margin-top: var(--s7); padding: 10px 14px 10px 4px; border-radius: 18px; background: var(--g-card); color: #fff; overflow: hidden; box-shadow: 0 12px 32px rgb(0 0 0 / .35); }
.robot__art { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.robot h2 { font: 900 clamp(15px, 4.7vw, 19px)/1.12 var(--font-display); text-transform: uppercase; letter-spacing: .02em; text-wrap: balance; }
.robot p { margin-top: 6px; font-size: var(--fs-small); font-weight: var(--fw-bold); opacity: .92; }
.hl-cyan { color: var(--cyan-500); }
.hl-pink { color: var(--pink-500); }
.nowrap { white-space: nowrap; }
.oops { margin-top: 48px; }
.oops .sec-title { font-size: 19px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: var(--s5); }
.tile { position: relative; min-width: 0; padding: 12px 12px 14px; border-radius: 15px; background: var(--surface-1); border: 1px solid var(--line); }
.tile .pay-icon { width: 40px; height: 40px; margin-bottom: 6px; }
.tile__value { font-family: var(--font-display); font-size: 36px; line-height: 1; font-weight: 900; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.tile__label { margin-top: 4px; font-size: var(--fs-small); line-height: 1.25; font-weight: var(--fw-bold); color: var(--text-2); }
.tile--peri .tile__value { color: var(--brand); } .tile--pink .tile__value { color: var(--accent); }
.tile--danger { grid-column: 1 / -1; display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; align-items: center; padding: 14px; background: linear-gradient(120deg, rgb(255 59 92 / .1), rgb(255 59 92 / .03)); border: 1.5px solid rgb(255 59 92 / .5); cursor: pointer; }
.tile--danger .pay-icon { grid-row: span 3; width: 56px; height: 56px; margin: 0; animation: shake 2.2s ease-in-out infinite; }
.tile--danger .tile__value { color: var(--red-500); font-size: 42px; }
.tile--danger .tile__label { color: var(--red-500); font-size: 15px; font-weight: var(--fw-heavy); text-transform: uppercase; letter-spacing: -.01em; }
.tile__sub { margin-top: 2px; font-size: var(--fs-caption); color: var(--text-2); }
@keyframes shake { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-9deg); } 88% { transform: rotate(8deg); } 92% { transform: rotate(-5deg); } 96% { transform: rotate(3deg); } }
.unlocked-banner { margin-top: var(--s7); display: flex; gap: var(--s3); align-items: center; padding: 12px 14px; border-radius: 15px; background: linear-gradient(120deg, rgb(38 210 253 / .2), rgb(38 210 253 / .06)); border: 1.5px solid rgb(38 210 253 / .5); animation: pop-in .5s var(--spring) both; }
.unlocked-banner strong { font-size: 16px; font-weight: var(--fw-heavy); }
.unlocked-banner .pay-icon { width: 44px; height: 44px; }
@keyframes pop-in { from { transform: translateY(8px) scale(.96); opacity: 0; } }

.chapter { margin-top: 80px; scroll-margin-top: 70px; }
.chapter-cover { overflow: hidden; border-radius: 18px; background: var(--surface-1); box-shadow: var(--card-shadow); }
.chapter-cover__art { position: relative; aspect-ratio: 3 / 2; background: #0f1a20; }
.chapter-cover__art img { width: 100%; height: 100%; object-fit: cover; }
.chapter-cover__n { position: absolute; z-index: 1; top: -32px; right: 14px; display: grid; place-items: center; min-width: 50px; height: 50px; padding: 0 8px; border-radius: 13px; border: 2px solid var(--cyan-500); background: #000; color: var(--cyan-500); font: 900 24px/1 var(--font-display); letter-spacing: -.02em; transform: rotate(5deg); font-variant-numeric: tabular-nums; }
.chapter-cover__text { position: relative; padding: 24px 16px 16px; }
.chapter-cover h2 { display: flex; align-items: center; gap: 10px; font-size: 26px; text-wrap: balance; }
.chapter-cover h2 .pay-icon { flex: none; width: 42px; height: 42px; }
.chapter-cover h2.is-long { font-size: min(26px, 5.6vw); }
.chapter-cover p { margin-top: 4px; font-size: var(--fs-small); font-weight: var(--fw-semibold); color: var(--text-2); }
.block { position: relative; display: block; width: 100%; margin-top: 20px; padding: var(--card-pad); border-radius: var(--card-r); background: var(--surface-1); border: 1px solid var(--line); scroll-margin-top: 70px; text-align: left; }
.block__top { display: flex; align-items: center; gap: 10px; }
.block__top .pay-icon { width: 42px; height: 42px; }
.block__sub { margin-top: 8px; font-size: var(--fs-small); line-height: 1.35; font-weight: var(--fw-semibold); color: var(--text-2); }
.block__head { font-size: 18px; line-height: 1.2; font-weight: var(--fw-heavy); letter-spacing: -.01em; text-wrap: balance; }
.block__body { margin-top: var(--s4); }
.ai-note { display: flex; gap: 10px; align-items: flex-start; margin-top: var(--s4); padding: 10px 12px; border-radius: 12px; background: var(--tint); font-size: var(--fs-small); line-height: 1.4; color: var(--text-2); }
.ai-note b { color: var(--brand); font-weight: var(--fw-heavy); }
.ai-note .pay-icon { width: 28px; height: 28px; }
.ai-note--warn { background: rgb(255 59 92 / .08); box-shadow: inset 0 0 0 1.5px rgb(255 59 92 / .3); color: var(--text); font-weight: var(--fw-semibold); }
.ai-note--warn b { color: var(--red-500); }

.block.is-locked { cursor: pointer; transition: border-color var(--t-fast), transform var(--t-fast) var(--spring); user-select: none; -webkit-user-select: none; }
.block.is-locked:hover { border-color: rgb(38 210 253 / 0.4); }
.block.is-locked:active { transform: scale(.99); }
.block.is-locked { overflow: hidden; }
.block.is-locked .block__body { filter: blur(8px); opacity: .75; pointer-events: none; transform: translateZ(0); }
.block__lock { display: flex; justify-content: center; margin-top: var(--s3); }
.block.is-locked .block__stage { position: relative; }
.block.is-locked .block__lock { position: absolute; left: 0; right: 0; top: 50%; z-index: 2; margin: 0; transform: translateY(-50%); }
.block.is-locked .ai-note { position: relative; z-index: 1; }
.redact--note { width: 46px; height: .95em; margin: 0 1px; vertical-align: -.12em; }

.block--ev { padding-top: 14px; }
.ev-filter { display: grid; gap: 10px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--card-pad) * -1); padding: 0 var(--card-pad); }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; flex: none; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-strong); font-size: var(--fs-small); font-weight: var(--fw-bold); transition: background var(--t-fast), color var(--t-fast); }
.chip:has(.avatar) { padding-left: 5px; }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-cyan); }
.seg { display: flex; overflow-x: auto; scrollbar-width: none; gap: 2px; padding: 2px; border-radius: 12px; background: var(--surface-3); }
.seg button { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 3px; white-space: nowrap; min-height: 38px; padding: 0 5px; border-radius: 10px; font-size: 11px; letter-spacing: -.01em; line-height: 1.15; font-weight: var(--fw-heavy); color: var(--muted); text-align: center; }
.seg::-webkit-scrollbar { display: none; }
.seg button small { min-width: 15px; padding: 0 4px; border-radius: 999px; background: rgb(255 255 255 / .1); font-size: 11px; font-weight: var(--fw-bold); text-align: center; }
.seg button[aria-pressed="true"] { background: var(--surface-1); color: var(--text); box-shadow: 0 2px 8px rgb(0 0 0 / 0.24); }
.seg button[data-level="scary"][aria-pressed="true"] { color: var(--red-500); }
.seg button:disabled { opacity: .45; cursor: default; }
.ev-intro { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; margin-top: 20px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--card-r); }
.ev-intro .pay-icon { width: 44px; height: 44px; }
.ev-intro .block__head { font-size: 17px; }
.carousel { margin-top: var(--s3); }
.carousel__track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--card-pad) * -1); padding: 2px var(--card-pad) 6px; scroll-padding: 0 var(--card-pad); }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: 0 0 calc(100% - 22px); scroll-snap-align: start; min-width: 0; }
.carousel__slide:only-child { flex-basis: 100%; }
.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 8px; }
.carousel__arrow { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgb(38 210 253 / 0.3); color: var(--brand); }
.carousel__arrow .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.carousel__dots { display: flex; gap: 5px; align-items: center; }
.carousel__dots i { width: 8px; height: 8px; border-radius: 4px; background: rgb(38 210 253 / 0.22); transition: width var(--t-base), background var(--t-base); }
.carousel__dots i.on { width: 18px; background: var(--brand); }
.ev { position: relative; height: 100%; padding: 12px; border-radius: 13px; background: var(--surface-2); border: 1px solid var(--line); }
.ev--scary { background: linear-gradient(170deg, rgb(255 59 92 / .06), var(--surface-2) 40%); border-color: rgb(255 59 92 / .22); }
.ev__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.ev__route { font-size: var(--fs-caption); font-weight: var(--fw-bold); color: var(--text-2); }
.ev__kind { margin-top: 10px; font-size: var(--fs-caption); font-weight: var(--fw-bold); color: var(--muted); }
.ev .ai-note { margin-top: 8px; background: var(--surface-1); }
.danger { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: var(--fs-caption); font-weight: var(--fw-heavy); letter-spacing: -.01em; }
.danger--scary { background: var(--red-500); color: #fff; box-shadow: none; }
.danger--serious { background: rgb(255 79 154 / .16); color: #ff8fc0; }
.danger--sus { background: var(--tint); color: var(--brand); }
.ev--locked { display: flex; flex-direction: column; min-height: 270px; cursor: pointer; overflow: hidden; }
.ev--locked .blur { flex: 1 1 0; min-height: 0; overflow: hidden; filter: blur(8px); opacity: .75; user-select: none; pointer-events: none; transform: translateZ(0); }
.ev--locked .ev__route { display: inline-flex; align-items: center; gap: 6px; }
.redact { display: inline-block; height: 12px; border-radius: 3px; background: var(--cyan-500); transform: skewX(-8deg); }
.lock-over { position: absolute; inset: 44px 0 0; display: grid; place-content: center; justify-items: center; gap: 10px; }
.lock-badge { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--g-cyan); color: var(--on-cyan); box-shadow: none; }
.lock-badge .lock-svg { width: 18px; height: 22px; }

.chat { display: grid; gap: 3px; margin-top: 10px; padding: 10px 8px 12px; border-radius: 12px; background: var(--surface-1); border: 1px solid var(--line); }
.chat__date { display: flex; justify-content: center; margin-bottom: 6px; }
.chat__date span { padding: 2px 10px; border-radius: 999px; background: var(--surface-3); font-size: 11px; font-weight: var(--fw-bold); color: var(--muted); }
.msg { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 7px; align-items: end; }
.msg.is-first:not(:first-child) { margin-top: 5px; }
.msg__gap { width: 28px; }
.msg__bubble { justify-self: start; max-width: 100%; padding: 6px 10px 5px; border-radius: 15px; background: var(--bubble); font-size: 14px; line-height: 1.35; overflow-wrap: break-word; }
.msg.is-last .msg__bubble { border-bottom-left-radius: 5px; }
.msg__name { display: block; font-size: 11.5px; font-weight: var(--fw-heavy); color: var(--pc); margin-bottom: 1px; }
.msg__media { color: var(--muted); }
.msg time { float: right; margin: 5px 0 -2px 10px; font-size: 11px; color: var(--subtle); font-variant-numeric: tabular-nums; }
.msg.is-target .msg__bubble { background: var(--bubble-target); color: var(--on-cyan); font-weight: var(--fw-semibold); font-size: 15px; box-shadow: none; }
.msg.is-target .msg__name { color: var(--on-cyan); }
.msg.is-target time { color: rgb(22 8 0 / .55); }
.msg.is-target { margin-top: 5px; margin-bottom: 14px; }
.msg__tag { position: absolute; left: 40px; bottom: -14px; z-index: 1; padding: 2px 8px; border-radius: 999px; background: var(--yellow-200); color: #1b1400; font-size: 11px; font-weight: var(--fw-heavy); text-transform: uppercase; }
.stack { display: grid; gap: 10px; }

.bars { display: grid; gap: 12px; }
.bar { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: center; }
.bar .avatar { box-shadow: 0 0 0 2px var(--ring), 0 0 0 4.5px var(--pc, var(--brand)); }
.bar__main { min-width: 0; }
.bar__top { display: flex; justify-content: space-between; gap: var(--s3); margin-bottom: 5px; font-size: var(--fs-small); }
.bar__top span { color: var(--text-2); font-weight: var(--fw-bold); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar__top b { font-weight: var(--fw-heavy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.facts { display: grid; }
.fact { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); padding: 10px 0; }
.fact + .fact { border-top: 1px solid var(--line); }
.fact span { font-size: var(--fs-small); color: var(--text-2); }
.fact b { font-size: 17px; font-weight: var(--fw-heavy); text-align: right; font-variant-numeric: tabular-nums; }
.fact--wide { display: block; }
.fact--wide b { display: block; text-align: left; margin-top: 2px; }
.fact--solo { display: block; padding: 0; }
.fact--solo b { display: block; text-align: left; font-family: var(--font-display); font-size: 40px; line-height: 1.02; letter-spacing: -.01em; color: var(--accent); }
.fact--solo span { display: block; margin-top: 6px; }
.fact--emoji b { font-size: 52px; }
.fact--who { display: flex; align-items: center; justify-content: flex-start; gap: 18px; }
.fact--who span { margin-top: 2px; }
.total-line { display: flex; align-items: center; gap: 8px; margin-top: var(--s3); padding: 8px 12px; border-radius: 12px; background: var(--surface-2); font-size: var(--fs-small); color: var(--text-2); }
.total-line .pay-icon { width: 28px; height: 28px; }
.race { display: grid; gap: 12px; }
.race__who { display: flex; align-items: center; gap: 5px; font-size: var(--fs-small); font-weight: var(--fw-bold); }
.race__to { color: var(--muted); font-weight: var(--fw-medium); }
.race__who b { margin-left: auto; font-size: 15px; font-weight: var(--fw-heavy); font-variant-numeric: tabular-nums; color: var(--pc); white-space: nowrap; }
.race__lane { position: relative; height: 46px; margin-top: 6px; border-radius: 14px; background: repeating-linear-gradient(90deg, rgb(255 255 255 / .06) 0 2px, transparent 2px 22px), linear-gradient(90deg, rgb(255 255 255 / .03), color-mix(in srgb, var(--pc) 30%, transparent)); border: 1px solid var(--line); }
.race__lane::after { content: ""; position: absolute; top: 4px; bottom: 4px; right: 8px; width: 6px; border-radius: 3px; background: repeating-linear-gradient(180deg, #fff 0 5px, #000 5px 10px); opacity: .7; }
.race__runner { position: absolute; top: 50%; transform: translate(-50%, -50%); }
.race__runner .pay-icon { width: 42px; height: 42px; }
.gifts { display: grid; grid-template-columns: 1fr 52px 1fr; gap: 6px; align-items: center; }
.gifts__side { display: grid; justify-items: center; gap: 3px; min-width: 0; padding: 14px 8px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); text-align: center; }
.gifts__side strong { font-size: 17px; font-weight: var(--fw-heavy); }
.gifts__side span { font-size: var(--fs-caption); color: var(--muted); }
.gifts__side b { font-size: 30px; line-height: 1; font-weight: var(--fw-black); color: var(--pc); }
.gifts__mid .pay-icon { width: 52px; height: 52px; animation: float 3s ease-in-out infinite; }
.verdict .art-card { overflow: hidden; margin-bottom: var(--s4); aspect-ratio: 3 / 2; border: 2px solid var(--cyan-500); border-radius: var(--r-lg); box-shadow: var(--glow); }
.verdict .art-card img { width: 100%; height: 100%; object-fit: cover; }
.total-line b { color: var(--accent); font-weight: var(--fw-heavy); }

.pair { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 6px 0 10px; }
.pair__faces { display: flex; align-items: center; gap: 2px; }
.pair__x { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 -12px; z-index: 1; }
.pair__x .pay-icon { width: 48px; height: 48px; filter: drop-shadow(0 4px 8px rgb(0 0 0 / .5)); }
.pair__pct { margin-top: 6px; font-family: var(--font-display); font-size: 64px; line-height: .95; font-weight: 900; letter-spacing: -.01em; color: var(--accent); font-variant-numeric: tabular-nums; }
.pair--cold .pair__pct { color: var(--brand); }
.pair__pct small { font-size: 26px; }
.pair__names { font-size: var(--fs-small); font-weight: var(--fw-bold); color: var(--text-2); }

.hm { display: grid; grid-template-columns: 34px repeat(var(--n), minmax(0, 1fr)); gap: 4px; align-items: center; justify-items: center; }
.hm > .avatar { margin: 0 auto; }
.hm__cell { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 9px; background: var(--c); color: var(--ink); font-size: 14px; font-weight: var(--fw-heavy); font-variant-numeric: tabular-nums; }
.hm__cell.is-self { background: repeating-linear-gradient(135deg, var(--surface-3) 0 4px, transparent 4px 8px); }
.hm__cell.is-hot { box-shadow: inset 0 0 0 2px var(--ring); }
.hm__cell.is-top { z-index: 1; font-size: 16px; box-shadow: 0 0 0 2.5px var(--ring); }
@media (max-width: 360px) { .hm { gap: 3px; } .hm__cell { font-size: 12px; border-radius: 7px; } }
.hm-legend { display: grid; grid-template-columns: 28px 1fr 28px; gap: 10px; align-items: center; margin-top: var(--s4); }
.hm-legend .pay-icon { width: 28px; height: 28px; }
.hm-legend i { height: 10px; border-radius: 6px; }
.hm-legend__words { display: flex; justify-content: space-between; margin-top: 4px; padding: 0 38px; font-size: var(--fs-caption); font-weight: var(--fw-bold); color: var(--muted); }

.tri { display: grid; justify-items: center; }
.tri__top { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.tri__who { display: grid; justify-items: center; gap: 4px; text-align: center; }
.tri__who .nm { font-size: 15px; font-weight: var(--fw-heavy); }
.tri__who b { font-size: var(--fs-caption); font-weight: var(--fw-bold); color: var(--muted); }
.tri__arrows { width: 100%; height: 70px; margin: 2px 0 2px; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 7; }
.tri__arrows .tri__head { stroke-dasharray: none; stroke-linejoin: round; }
.tri__target { display: grid; justify-items: center; gap: 4px; padding: 12px 24px 12px; border-radius: 18px; background: var(--hot-bg); text-align: center; }
.tri__target .nm { font-size: 18px; font-weight: var(--fw-heavy); }
.tri__target small { font-size: var(--fs-caption); font-weight: var(--fw-bold); color: var(--accent); }

.summon { display: grid; gap: 10px; }
.summon__row { padding: 12px; border-radius: 13px; background: var(--surface-2); }
.summon__faces { display: flex; align-items: center; gap: 6px; }
.summon__faces .pay-icon { width: 30px; height: 30px; animation: shake 2.4s ease-in-out infinite; }
.summon__to { display: grid; place-items: center; width: 30px; color: var(--muted); }
.summon__to .icon { width: 18px; height: 18px; }
.summon__row p { margin-top: 8px; font-size: var(--fs-small); line-height: 1.4; color: var(--text-2); }
.summon__row p .nm, .summon__row p b { font-weight: var(--fw-heavy); color: var(--text); }
.summon__row p b { color: var(--accent); }
.summon__cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.summon__cmp > div { display: grid; gap: 3px; }
.summon__cmp b { font-family: var(--font-display); font-size: 26px; line-height: 1; letter-spacing: -.01em; }
.summon__cmp > div:first-child b { color: var(--accent); }
.summon__cmp span { font-size: var(--fs-caption); font-weight: var(--fw-bold); color: var(--muted); }

.night-split { display: flex; gap: 8px; min-height: 160px; }
.night-split > div { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; padding: 14px; border-radius: 18px; }
.night-split .pay-icon { position: absolute; top: 10px; right: 10px; width: 56px; height: 56px; }
.night-split strong { font-family: var(--font-display); font-size: 38px; line-height: 1; font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.night-split span { margin-top: 6px; font-size: var(--fs-caption); font-weight: var(--fw-bold); }
.night-split__day { background: linear-gradient(160deg, #f4fbff, #c9f1ff 60%, #8be9ff); color: #0b0a0c; }
.night-split__night { background: radial-gradient(120% 90% at 80% 0%, #1c4f7a 0%, #10223f 45%, #070b16 100%); color: #fff; border: 1px solid rgb(38 210 253 / .35); }
.night-split__night strong { font-size: 50px; color: var(--pink-500); }
.stars { position: absolute; inset: 0; background-image: radial-gradient(2px 2px at 18% 30%, #fff, transparent), radial-gradient(1.5px 1.5px at 40% 14%, #fff, transparent), radial-gradient(2px 2px at 64% 42%, #26d2fd, transparent), radial-gradient(1.5px 1.5px at 28% 62%, #fff, transparent), radial-gradient(1.5px 1.5px at 80% 70%, #ff9ec8, transparent), radial-gradient(2px 2px at 12% 84%, #fff, transparent), radial-gradient(1.5px 1.5px at 52% 80%, #fff, transparent); opacity: .8; }
.night-split + .caption { margin: 8px 0 16px; }
.dn { display: grid; gap: 10px; }
.dn__legend { display: flex; gap: 16px; font-size: var(--fs-caption); font-weight: var(--fw-bold); color: var(--muted); }
.dn__legend span { display: inline-flex; align-items: center; gap: 4px; }
.dn__key::before { content: ""; width: 14px; height: 6px; border-radius: 3px; }
.dn__key--day::before { background: linear-gradient(90deg, #8be9ff, var(--cyan-500)); }
.dn__key--night::before { background: linear-gradient(90deg, #ff9ec8, var(--pink-500)); }
.dn__row { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: center; }
.dn__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; font-size: var(--fs-small); font-weight: var(--fw-heavy); }
.dn__bars { display: grid; grid-template-columns: 22px 1fr; gap: 3px 6px; align-items: center; }
.dn__v { font-size: 11px; font-weight: var(--fw-heavy); color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.dn .caption { margin-top: 2px; }

.wk { display: grid; gap: 8px; }
.wk__hero { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 15px; background: var(--g-card); color: #fff; }
.wk__hero .pay-icon { width: 64px; height: 64px; transform: rotate(-8deg); }
.wk__hero b { display: block; font-family: var(--font-display); font-size: 48px; line-height: .95; letter-spacing: -.01em; }
.wk__hero span { font-size: var(--fs-small); font-weight: var(--fw-bold); }
.wk__row { display: grid; grid-template-columns: 32px 1fr auto auto; gap: 10px; align-items: center; padding: 6px 2px; font-size: var(--fs-small); }
.wk__row + .wk__row { border-top: 1px solid var(--line); }
.wk__row .nm { font-weight: var(--fw-heavy); }
.wk__vals { display: inline-flex; gap: 5px; align-items: baseline; color: var(--muted); font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; }
.wk__vals b { color: var(--text); }

.leader-card { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 14px; border-radius: 15px; background: linear-gradient(130deg, color-mix(in srgb, var(--pc) 22%, transparent), transparent 80%); }
.leader-card__tag { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-caption); font-weight: var(--fw-heavy); color: var(--accent); text-transform: uppercase; letter-spacing: .02em; }
.leader-card__tag .pay-icon { width: 22px; height: 22px; }
.leader-card strong { display: block; font-size: 22px; line-height: 1.1; font-weight: var(--fw-heavy); letter-spacing: -.01em; }
.leader-card b { display: block; margin-top: 2px; font-size: var(--fs-small); font-weight: var(--fw-heavy); color: var(--text-2); }
.leader-card + .bars { margin-top: var(--s4); }
.topics { display: grid; gap: 7px; }
.topic { display: grid; grid-template-columns: 82px 1fr 38px; gap: 8px; align-items: center; font-size: var(--fs-small); font-weight: var(--fw-bold); }
.topic b { text-align: right; font-variant-numeric: tabular-nums; }
.topic.is-top span, .topic.is-top b { color: var(--accent); }
.from { display: flex; flex-wrap: wrap; gap: 6px; }
.from__chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: var(--fs-small); font-weight: var(--fw-bold); }
.from__chip b { color: var(--accent); }

.emo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.emo__card { position: relative; padding: 10px; border-radius: 13px; background: var(--surface-2); }
.emo__card.is-lead { grid-column: 1 / -1; padding: 14px; background: var(--hot-bg); box-shadow: inset 0 0 0 1.5px rgb(38 210 253 / 0.3); }
.emo__crown { position: absolute; top: 10px; right: 12px; display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-caption); font-weight: var(--fw-heavy); color: var(--accent); text-transform: uppercase; }
.emo__crown .pay-icon { width: 24px; height: 24px; }
.emo__who { display: flex; align-items: center; gap: 8px; }
.emo__who .nm { font-size: 14px; font-weight: var(--fw-heavy); }
.emo__who b { margin-left: auto; font-family: var(--font-display); font-size: 22px; letter-spacing: -.01em; color: var(--accent); }
.emo__card.is-lead .emo__who b { margin-left: 4px; font-size: 32px; }
.emo__card.is-lead .emo__who .nm { font-size: 18px; }
.emo__list { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 8px; }
.emo__list span { display: inline-flex; align-items: center; gap: 3px; font-size: var(--fs-small); font-weight: var(--fw-heavy); font-variant-numeric: tabular-nums; }
.emo__list i { font-style: normal; font-size: 18px; }
.emo__card.is-lead .emo__list i { font-size: 24px; }

.inv { display: grid; gap: 14px; }
.inv__phrases { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0 42px; }
.quote-chip { padding: 4px 10px; border-radius: 10px 10px 10px 4px; background: var(--hot-bg); color: var(--text); font-size: var(--fs-caption); font-weight: var(--fw-bold); }
.quote-chip b { color: var(--accent); }

.def { display: grid; grid-template-columns: 1fr 50px 1fr; gap: 4px; align-items: center; }
.def__who { display: grid; justify-items: center; gap: 2px; padding: 12px 6px; border-radius: 15px; background: var(--surface-2); text-align: center; }
.def__who .avatar { margin-bottom: 6px; }
.def__role { font-size: 11px; font-weight: var(--fw-heavy); text-transform: uppercase; letter-spacing: .05em; color: var(--brand); }
.def__who strong { font-size: 17px; font-weight: var(--fw-heavy); letter-spacing: -.01em; }
.def__who b { font-size: var(--fs-small); font-weight: var(--fw-heavy); color: var(--accent); }
.def__who small { font-size: 11px; color: var(--muted); }
.def__mid .pay-icon { width: 50px; height: 50px; }
.def + .bars { margin-top: var(--s4); }

.mood { display: grid; gap: 10px; }
.mood__row { padding: 12px; border-radius: 13px; background: var(--surface-2); }
.mood__who { display: flex; align-items: center; gap: 10px; }
.mood__who .nm { font-size: 16px; font-weight: var(--fw-heavy); }
.mood__x { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: var(--g-cyan); color: var(--on-cyan); font-size: var(--fs-caption); font-weight: var(--fw-heavy); }
.mood__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.mood__col { display: grid; justify-items: center; gap: 2px; padding: 10px 6px; border-radius: 12px; background: var(--surface-1); text-align: center; }
.mood__col > span { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-caption); font-weight: var(--fw-heavy); color: var(--muted); }
.mood__col i { font-style: normal; font-size: 42px; line-height: 1.1; }
.mood__col small { font-size: 11px; color: var(--muted); font-weight: var(--fw-bold); }
.mood__col.is-hot { background: var(--hot-bg); box-shadow: inset 0 0 0 1.5px rgb(38 210 253 / 0.3); }
.mood__col.is-hot > span { color: var(--accent); }

.trophies { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.trophy { display: grid; justify-items: start; align-content: start; gap: 6px; padding: 12px; border-radius: 15px; background: var(--surface-2); border: 1px solid var(--line); }
.trophy:first-child { grid-column: 1 / -1; grid-template-columns: 64px 1fr; column-gap: 12px; }
.trophy:first-child .pay-icon { grid-row: span 3; width: 64px; height: 64px; }
.trophy .pay-icon { width: 44px; height: 44px; }
.trophy h4 { font: 900 16px/1.05 var(--font-display); text-transform: uppercase; letter-spacing: .02em; }
.trophy__who { display: flex; align-items: center; gap: 6px; font-size: var(--fs-small); font-weight: var(--fw-heavy); }
.trophy p { font-size: var(--fs-caption); line-height: 1.4; color: var(--text-2); }
.trophy:first-child p { grid-column: 2; }

.ghosts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ghost { display: grid; justify-items: center; text-align: center; padding: 14px 6px 12px; border-radius: 13px; background: var(--tint); }
.ghost__face { position: relative; }
.ghost__face .avatar { filter: grayscale(.6); opacity: .85; }
.ghost__face .pay-icon { position: absolute; right: -16px; top: -12px; width: 32px; height: 32px; animation: float 3s ease-in-out infinite; }
.ghost strong { margin-top: 8px; font-family: var(--font-display); font-size: 28px; line-height: 1; letter-spacing: -.01em; color: var(--brand); }
.ghost .nm { margin-top: 2px; font-size: var(--fs-small); font-weight: var(--fw-heavy); }
.ghost small { font-size: 11px; color: var(--muted); }
@keyframes float { 50% { transform: translateY(-4px) rotate(4deg); } }
.heart-share { display: block; }
.heart-share__bar { display: flex; gap: 3px; height: 34px; padding: 3px; border-radius: 12px; background: var(--surface-3); }
.heart-share__bar i { min-width: 6px; border-radius: 9px; background: linear-gradient(180deg, rgb(255 255 255 / .35), transparent 55%), var(--pc); }
.heart-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: var(--s3); }
.heart-legend > span { display: flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 12px; background: var(--surface-2); font-size: var(--fs-small); color: var(--text-2); }
.heart-legend b { font-size: 15px; font-weight: var(--fw-heavy); color: var(--pc); font-variant-numeric: tabular-nums; }
.score { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.score__tile { position: relative; display: grid; grid-template-columns: 32px 1fr; column-gap: 8px; align-items: center; padding: 12px; border-radius: 13px; background: var(--surface-2); }
.score__name { font-size: var(--fs-small); font-weight: var(--fw-heavy); }
.score__tile strong { grid-column: 1 / -1; margin-top: 8px; font-family: var(--font-display); font-size: 34px; line-height: 1; letter-spacing: -.01em; color: var(--pc); font-variant-numeric: tabular-nums; }
.score__tile small { grid-column: 1 / -1; font-size: var(--fs-caption); color: var(--muted); }
.score__tile.is-top { background: var(--surface-1); box-shadow: inset 0 0 0 2px var(--pc); }
.score__tile.is-top .pay-icon { position: absolute; top: -14px; right: -4px; width: 46px; height: 46px; transform: rotate(10deg); }
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: end; padding-top: 18px; }
.podium__col { position: relative; display: grid; justify-items: center; gap: 5px; }
.podium__col .pay-icon { position: absolute; top: -26px; right: 2px; width: 42px; height: 42px; transform: rotate(12deg); z-index: 1; }
.podium__name { font-size: var(--fs-small); font-weight: var(--fw-heavy); }
.podium__step { display: grid; align-content: start; justify-items: center; width: 100%; padding-top: 10px; border-radius: 12px 12px 4px 4px; background: linear-gradient(180deg, color-mix(in srgb, var(--pc) 75%, #fff), var(--pc)); color: #fff; }
.podium__step strong { font-family: var(--font-display); font-size: 28px; line-height: 1; letter-spacing: -.01em; }
.podium__step small { margin-top: 4px; font-size: 11px; font-weight: var(--fw-bold); opacity: .9; }
.rituals { display: grid; gap: 8px; }
.ritual { display: grid; grid-template-columns: 42px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px 10px 8px; border-radius: 13px; background: var(--surface-2); }
.ritual .pay-icon { width: 42px; height: 42px; }
.ritual__text { min-width: 0; display: grid; gap: 3px; font-size: var(--fs-small); color: var(--text-2); }
.ritual__pair { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-weight: var(--fw-heavy); color: var(--text); }
.ritual__pair i { font-style: normal; color: var(--subtle); margin: 0 2px; }
.ritual strong { font-family: var(--font-display); font-size: 26px; letter-spacing: -.01em; color: var(--brand); font-variant-numeric: tabular-nums; text-align: right; }
.ritual strong small { display: block; font-family: var(--font); font-size: 11px; letter-spacing: 0; color: var(--muted); }

.timeline li { display: grid; grid-template-columns: 44px 14px 1fr; gap: 10px; align-items: start; padding-bottom: var(--s4); }
.timeline li:last-child { padding-bottom: 0; }
.timeline time { font-size: var(--fs-small); color: var(--brand); font-weight: var(--fw-heavy); font-variant-numeric: tabular-nums; }
.timeline .dot { width: 12px; height: 12px; margin-top: 4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--hot-bg); }
.timeline strong { display: block; font-size: 16px; font-weight: var(--fw-heavy); }
.timeline small { display: block; margin: 2px 0 6px; font-size: var(--fs-caption); color: var(--muted); }

.dossiers { display: grid; gap: 10px; }
.dossier { padding: 14px; border-radius: 15px; background: var(--surface-2); border-top: 4px solid var(--pc); scroll-margin-top: 80px; }
.dossier__top { display: flex; align-items: center; gap: 12px; }
.dossier__who { flex: 1; min-width: 0; }
.dossier__n { font-size: var(--fs-caption); font-weight: var(--fw-heavy); color: var(--pc); }
.dossier__who strong { display: block; font-size: 20px; line-height: 1.1; font-weight: var(--fw-heavy); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dossier__pct { font-family: var(--font-display); font-size: 34px; letter-spacing: -.01em; color: var(--pc); font-variant-numeric: tabular-nums; }
.dossier__pct small { font-size: 16px; }
.dossier__acc { margin-top: var(--s3); font-size: 15px; line-height: 1.4; font-weight: var(--fw-bold); text-wrap: pretty; }
.dossier__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: var(--s3); }
.dossier__stats div { padding: 9px; border-radius: 11px; background: var(--surface-1); }
.dossier__stats b { display: block; font-size: 20px; font-weight: var(--fw-heavy); letter-spacing: -.01em; }
.dossier__stats span { display: block; font-size: 11px; color: var(--muted); }
.dossier__sig { margin-top: var(--s3); font-size: var(--fs-small); color: var(--muted); }
.dossier__sig b { display: block; font-size: 17px; color: var(--text); font-weight: var(--fw-heavy); }
.dossier__ev { margin-top: var(--s3); }
.dossier__label { font-size: 11px; font-weight: var(--fw-heavy); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.dossier__ev .msg.is-target { margin: 0; }
.dossier__ev .msg__tag { display: none; }
.dossier__fav { display: flex; align-items: center; gap: 8px; margin-top: var(--s3); font-size: var(--fs-small); color: var(--text-2); }
.dossier__verdict { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: var(--s3); padding-top: var(--s3); border-top: 1px dashed var(--line-strong); font-size: 14px; font-weight: var(--fw-bold); }
.verdict { text-align: center; padding: 6px 0 4px; }
.verdict__main { font: 900 24px/1.1 var(--font-display); text-transform: uppercase; letter-spacing: .02em; text-wrap: balance; }
.verdict__sub { margin-top: var(--s2); font-size: var(--fs-small); color: var(--text-2); }
.stamp { display: inline-block; margin-top: var(--s4); padding: 6px 12px; border: 2.5px solid var(--accent); border-radius: 8px; color: var(--accent); font-size: var(--fs-caption); font-weight: var(--fw-heavy); letter-spacing: .08em; text-transform: uppercase; transform: rotate(-4deg); }
.stamp--sm { margin: 0; padding: 2px 7px; border-width: 2px; color: var(--pc, var(--accent)); border-color: var(--pc, var(--accent)); }

.final-cta { display: grid; justify-items: center; gap: 6px; margin-top: 80px; padding: 0 0 18px; border-radius: 20px; background: var(--surface-1); text-align: center; overflow: hidden; box-shadow: var(--card-shadow); }
.final-cta__art { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.final-cta h2 { margin-top: 10px; padding: 0 16px; font-size: 26px; text-wrap: balance; }
.final-cta .card-sub { padding: 0 18px; }
.final-cta .btn { width: calc(100% - 32px); margin-top: var(--s3); }
.final-cta .btn-note, .final-cta .test-mode { margin-inline: 16px; }
.sticky-cta { visibility: hidden; position: fixed; left: 50%; bottom: var(--cookie-h, 0px); z-index: 25; width: 100%; max-width: var(--shell); transform: translate(-50%, 110%); padding: 18px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgb(11 10 12 / 0), var(--bg) 40%); transition: transform var(--t-base) var(--ease), visibility 0s linear var(--t-base); }
.sticky-cta.show { visibility: visible; transform: translate(-50%, 0); transition: transform var(--t-base) var(--spring); }

.page--unlock { display: flex; flex-direction: column; height: calc(100dvh - 56px - var(--review-h, 0px) - var(--cookie-h, 0px)); min-height: 460px; padding-bottom: var(--s4); }
.page--unlock .unlock { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.page--unlock .title { font-size: 26px; }
.page--unlock .lead { margin-top: 4px; font-size: 15px; }
@media (max-height: 720px) { .page--unlock .lead { display: none; } }
.unlock__art { position: relative; flex: 1 1 auto; min-height: 110px; margin-bottom: var(--s4); border-radius: 20px; overflow: hidden; background: #0f1a20; box-shadow: var(--card-shadow); }
.unlock__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: opacity .6s var(--ease); }
.unlock__art .unlock__open { opacity: 0; }
.unlock__art.is-open .unlock__open { opacity: 1; }
.unlock__art.is-open .unlock__pull { opacity: 0; }
.unlock__meter { display: flex; align-items: baseline; gap: 10px; margin: var(--s4) 0 8px; }
.unlock__meter b { font-family: var(--font-display); font-size: 44px; line-height: .9; letter-spacing: -.01em; color: var(--accent); font-variant-numeric: tabular-nums; }
.unlock__meter span { font-size: 15px; font-weight: var(--fw-bold); color: var(--text-2); }
.unlock__list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: var(--s3); }
.unlock__item { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 8px; align-items: center; padding: 8px; border-radius: 12px; background: var(--surface-1); opacity: .55; transition: opacity var(--t-base); }
.unlock__item.done { opacity: 1; }
.unlock__item .pay-icon { grid-row: span 2; width: 32px; height: 32px; }
.unlock__item strong { font-size: min(12.5px, 3.4vw); line-height: 1.15; font-weight: var(--fw-heavy); hyphens: auto; -webkit-hyphens: auto; }
.unlock__item small { font-size: 11px; color: var(--muted); }
.unlock__state { position: absolute; top: 50%; left: 27px; transform: translateY(2px); display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--surface-1); background: var(--surface-3); color: var(--muted); }
.unlock__state .lock-svg { width: 7px; height: 9px; }
.unlock__state .icon { width: 10px; height: 10px; stroke-width: 3.4; }
.unlock__item.done .unlock__state { background: var(--cyan-500); color: var(--on-cyan); }

.footer { margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--line); text-align: center; }
.page--report .footer { margin-top: 80px; }
.footer p { font-size: var(--fs-caption); color: var(--muted); }
.footer__brand { margin-bottom: 4px; font: 900 18px/1 var(--font-display) !important; text-transform: uppercase; color: var(--brand) !important; }
.sheet-backdrop { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; background: rgb(0 0 0 / 0.7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade .2s both; }
.sheet { width: 100%; max-width: var(--shell); max-height: 90dvh; overflow-y: auto; padding: 10px var(--gutter) calc(24px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: #131317; border-top: 1px solid var(--line); animation: sheet-up .35s var(--spring) both; }
.sheet__handle { width: 40px; height: 5px; margin: 0 auto 12px; border-radius: 4px; background: var(--line-strong); }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s3); }
.sheet__head h2 { font: 900 22px/1.05 var(--font-display); text-transform: uppercase; letter-spacing: .02em; }
@keyframes fade { from { opacity: 0; } }
@keyframes sheet-up { from { transform: translateY(60px); opacity: 0; } }
.modal-backdrop { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; overflow-y: auto; overscroll-behavior: contain; padding: 14px 12px calc(20px + env(safe-area-inset-bottom)); background: rgb(0 0 0 / 0.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .2s both; }
.modal:focus { outline: none; }
.modal { position: relative; width: 100%; max-width: 392px; margin: auto; padding: 0 16px 18px; border-radius: 24px; background: #131317; border: 1px solid var(--line); text-align: center; overflow: hidden; animation: modal-in .45s var(--spring) both; }
@keyframes modal-in { from { transform: translateY(40px) scale(.94); opacity: 0; } }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgb(0 0 0 / .45); }
.modal__art { width: calc(100% + 32px); max-width: none; margin: 0 -16px; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 30%; }
.modal__title { margin-top: 12px; font-size: 24px; text-wrap: balance; }
.benefits { display: grid; gap: 6px; margin-top: var(--s4); padding: 4px; border-radius: 15px; background: var(--surface-2); text-align: left; }
.benefits li { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; padding: 6px 8px; }
.benefits .pay-icon { width: 36px; height: 36px; }
.benefits strong { display: block; font-size: 14px; font-weight: var(--fw-heavy); letter-spacing: -.01em; }
.benefits small { display: block; font-size: 12px; color: var(--muted); }
.pay-form { margin-top: var(--s4); text-align: left; }
.field-label { display: block; font-size: var(--fs-small); font-weight: var(--fw-bold); color: var(--text-2); }
.field { display: block; width: 100%; height: 52px; margin-top: 6px; padding: 0 16px; border-radius: 14px; background: var(--surface-2); border: 1.5px solid var(--line-strong); color: var(--text); font-size: 16px; font-weight: var(--fw-semibold); outline: none; transition: border-color var(--t-fast); }
.field::placeholder { color: var(--subtle); }
.field:focus { border-color: var(--brand); }
.field[aria-invalid="true"] { border-color: var(--danger); }
.field-error { margin-top: 8px; padding: 9px 12px; border-radius: 12px; background: rgb(255 59 92 / .08); color: var(--red-500); font-size: var(--fs-caption); font-weight: var(--fw-bold); }
.modal .btn { margin-top: var(--s4); }
@media (max-height: 740px) { .modal__art { aspect-ratio: 3 / 1; } .benefits small { display: none; } .modal__title { font-size: 21px; } }
.info-backdrop { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: var(--gutter); background: rgb(0 0 0 / 0.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .2s both; }
.info-modal { width: 100%; max-width: 360px; max-height: 100%; overflow-y: auto; padding: 8px 20px 20px; border-radius: 24px; background: #131317; border: 1px solid var(--line); text-align: center; animation: modal-in .45s var(--spring) both; }
.info-modal__art { width: 130px; height: 130px; margin: 0 auto -6px; object-fit: contain; }
.info-modal h2 { font-size: 30px; }
.info-modal p { margin-top: var(--s3); font-size: 14px; line-height: 1.5; color: var(--text-2); text-align: left; }
.info-modal .btn { margin-top: var(--s5); }
#toast { position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom)); z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: min(380px, calc(100vw - 32px)); padding: 12px 16px; border-radius: 14px; background: #1c1e24; color: #fff; border: 1px solid var(--line-strong); box-shadow: 0 12px 30px rgb(0 0 0 / 0.7); font-size: var(--fs-small); font-weight: var(--fw-bold); transition: opacity var(--t-base), transform var(--t-base) var(--spring); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
.confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 30; }
.confetti i { position: absolute; top: -20px; width: 9px; height: 15px; border-radius: 2px; animation: fall linear both; }
@keyframes fall { to { transform: translateY(110dvh) rotate(720deg); } }
.cookie { position: fixed; left: 50%; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 10px; width: min(100%, var(--shell)); min-height: var(--cookie-strip); transform: translateX(-50%); padding: 4px 8px calc(4px + env(safe-area-inset-bottom)) 14px; background: rgb(10 10 14 / .9); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: cookie-in .35s var(--spring) both; }
.cookie p { flex: 1; min-width: 0; overflow: hidden; font-size: 12px; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; text-align: left; color: var(--text-2); }
.cookie .btn--sm { flex: none; min-height: 24px; margin: 0; padding: 2px 14px; border-radius: 8px; font-size: 12.5px; box-shadow: none; }
.cookie a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
@keyframes cookie-in { from { transform: translate(-50%, 130%); } }

@media (prefers-reduced-motion: reduce) {
  .confetti { display: none; }
  .tile--danger, .tile--danger .pay-icon, .scroll-hint, .ghost__face .pay-icon, .summon__faces .pay-icon, .gifts__mid .pay-icon { animation: none !important; }
  .radar__sweep { animation-duration: 3s !important; }
}

.oops-page { display: grid; justify-items: center; text-align: center; padding-top: var(--s6); }
.oops-page__art { width: 180px; height: 180px; object-fit: contain; }
.oops-page .btn-stack { width: 100%; }
.footer__links { display: flex; justify-content: center; gap: 16px; margin-top: 8px; }
.footer__links a { font-size: var(--fs-caption); font-weight: var(--fw-bold); color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

.card, .block, .chapter-cover, .tile, .privacy-card, .chat-type__opt, .parse-card, .file-card, .person, .scan-tile, .host p, .final-cta, .about-steps li, .my-reports a, .unlock__item, .dropzone, .tabs, .ev-intro {
  background-color: var(--glass);
  border-color: var(--glass-line);
  -webkit-backdrop-filter: blur(30px) saturate(140%);
  backdrop-filter: blur(30px) saturate(140%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .07), 0 12px 32px rgb(0 0 0 / .35);
}
.robot, .photo-cta, .rank.is-top, .tile--danger { -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); }
.tile--danger { background-color: rgb(40 10 16 / .7); }
.chat-type__opt[aria-checked="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px rgb(38 210 253 / .15); }
.person:not(.is-off) { border-color: rgb(38 210 253 / .3); }
.parse-card { border-color: rgb(38 210 253 / .35); }
.dropzone { background: linear-gradient(135deg, rgb(255 79 154 / .17), rgb(255 79 154 / .05) 70%), var(--glass); border-color: rgb(255 79 154 / .32); }
.dropzone.dragging, .dropzone:hover { border-color: rgb(255 79 154 / .6); box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), 0 0 0 3px rgb(255 79 154 / .12), 0 12px 32px rgb(0 0 0 / .35); }
.sticky-cta .btn, .final-cta .btn, .modal .btn { font-size: 16px; letter-spacing: .01em; white-space: nowrap; }
.dossier .risk { color: var(--pc); }
.chapter-cover, .final-cta, .unlock__art { border: 2px solid var(--cyan-500); box-shadow: var(--glow), 0 12px 32px rgb(0 0 0 / .35); }
