/* Flamp landing. The page is the room the lamp lights: night at the top, morning by the kids' 07:00,
   daylight paper for the facts. --bg is driven by the scroll (js/landing.js). */
:root {
  --night: #110b07;
  --ember: #22160d;
  --glow: #f6c98b;
  --pixel: #ff5a2e;
  --paper: #f3f1ec;
  --paper-2: #e9e4da;
  --ink: #2a211a;
  --ink-mut: #6d5f52;
  --cream: #f3ebe0;
  --cream-mut: rgba(243, 235, 224, 0.68);
  --bg: var(--night);
  --fg: var(--cream);
  --mut: var(--cream-mut);
  --line: rgba(243, 235, 224, 0.14);
  --head-h: 60px;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --text: Inter, system-ui, sans-serif;
  color-scheme: dark;
}
html[data-tone="light"] { --fg: var(--ink); --mut: var(--ink-mut); --line: rgba(42, 33, 26, 0.14); color-scheme: light; }

* { box-sizing: border-box; }
html { background: var(--bg); color: var(--fg); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font: 400 17px/1.6 var(--text); background: var(--bg); color: var(--fg); overflow-x: clip; }
img, svg, canvas { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
[id] { scroll-margin-top: var(--head-h); }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 6px; }
html[data-tone="light"] :focus-visible { outline-color: var(--pixel); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--glow); color: var(--ink); padding: 8px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 10px; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 30; height: var(--head-h);
  display: flex; align-items: center; gap: 28px;
  padding: 0 max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left));
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line); color: var(--fg);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 21px/1 var(--display); letter-spacing: -0.01em; }
.brand img { width: 26px; height: 26px; }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a { text-decoration: none; font-size: 14.5px; padding: 8px 12px; border-radius: 999px; color: var(--mut); transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--fg); background: var(--line); }
.menu { display: none; margin-right: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-size: 14.5px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--fg); }
.menu summary::-webkit-details-marker { display: none; }
.menu-list { position: absolute; top: calc(100% + 8px); left: 0; display: grid; min-width: 210px; padding: 8px; border-radius: 16px;
  background: color-mix(in srgb, var(--bg) 94%, var(--fg)); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.menu-list a { text-decoration: none; padding: 10px 12px; border-radius: 10px; }
.menu-list a:hover { background: var(--line); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 600 16px/1 var(--text); text-decoration: none; border: 0; cursor: pointer;
  background: var(--glow); color: var(--ink); box-shadow: 0 0 0 1px rgba(246, 201, 139, .4), 0 10px 40px rgba(246, 201, 139, .22);
  transition: transform .15s, box-shadow .2s;
}
.btn:hover { box-shadow: 0 0 0 1px rgba(246, 201, 139, .7), 0 12px 50px rgba(246, 201, 139, .38); }
.btn:active { transform: translateY(1px); }
html[data-tone="light"] .top .btn, .light-btn { background: var(--ink); color: var(--paper); box-shadow: none; }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14px; }

/* ---------- the pinned stage + steps ---------- */
.story { position: relative; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; z-index: 0; overflow: hidden; }
.stage canvas { touch-action: pan-y; outline: none; -webkit-tap-highlight-color: transparent; }
.stage canvas:focus-visible { outline: 2px solid var(--glow); outline-offset: -6px; border-radius: 0; }
/* warm light: soft gaussian-like halo around the dome and an elliptical pool on the table, behind the canvas */
.backdrop, .halo, .pool { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; opacity: 0; will-change: transform, opacity; }
.halo { border-radius: 50%; background: radial-gradient(closest-side,
  rgba(var(--lc), .62) 0%, rgba(var(--lc), .52) 8%, rgba(var(--lc), .38) 17%, rgba(var(--lc), .26) 26%, rgba(var(--lc), .17) 35%,
  rgba(var(--lc), .105) 45%, rgba(var(--lc), .06) 56%, rgba(var(--lc), .032) 67%, rgba(var(--lc), .014) 79%, rgba(var(--lc), .004) 90%, rgba(var(--lc), 0) 100%); }
.pool { border-radius: 50%; background: radial-gradient(closest-side,
  rgba(var(--lc), .5) 0%, rgba(var(--lc), .4) 14%, rgba(var(--lc), .27) 30%, rgba(var(--lc), .15) 47%, rgba(var(--lc), .07) 63%,
  rgba(var(--lc), .025) 80%, rgba(var(--lc), 0) 100%); }
.stage { --lc: 255, 196, 128; }
.backdrop { border-radius: 50%; background: radial-gradient(closest-side, rgba(92, 64, 40, .3) 0%, rgba(92, 64, 40, .22) 25%, rgba(92, 64, 40, .12) 48%,
  rgba(92, 64, 40, .05) 70%, rgba(92, 64, 40, .014) 86%, rgba(92, 64, 40, 0) 100%); }
.lamp-ui { position: absolute; left: 0; top: 0; display: flex; gap: 8px; align-items: center; transform: translate(-9999px, 0); opacity: 0; transition: opacity .6s ease .8s; }
.stage.ready .lamp-ui { opacity: 1; }
.lamp-ui .hint, .lamp-ui .chip-btn { white-space: nowrap; font: 500 13.5px/1 var(--text); padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--fg); background: color-mix(in srgb, var(--bg) 70%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lamp-ui .hint { color: var(--mut); transition: opacity .5s; }
.lamp-ui .hint.gone { opacity: 0; }
.lamp-ui .chip-btn { cursor: pointer; }
.lamp-ui .chip-btn:hover { border-color: var(--mut); }
.lamp-ui .chip-btn[aria-pressed="true"] { border-color: var(--glow); color: var(--glow); }
html[data-tone="light"] .lamp-ui .chip-btn[aria-pressed="true"] { border-color: var(--pixel); color: var(--pixel); }
.lamp-ui { translate: -50% 0; }
.stage canvas, .poster, .poster img { position: absolute; inset: 0; width: 100%; height: 100%; }
.poster img { object-fit: cover; }
.poster { transition: opacity .9s ease; }
.stage canvas { opacity: 0; transition: opacity .9s ease; }
.stage.ready canvas { opacity: 1; }
.stage.ready .poster { opacity: 0; }
html[data-tone="light"] .stage:not(.ready) .poster { opacity: 0; }

.step {
  position: relative; z-index: 1; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--head-h) + 40px) clamp(20px, 6vw, 104px) 64px;
}
.step { pointer-events: none; }            /* the lamp behind the steps takes the pointer; the text stays selectable */
.step .copy { max-width: 31rem; pointer-events: auto; }
.step[data-tone="dark"] { --fg: var(--cream); --mut: var(--cream-mut); color: var(--cream); }
.step[data-tone="light"] { --fg: var(--ink); --mut: var(--ink-mut); color: var(--ink); }
/* the background blends between steps; the copy follows the colour actually behind it, not its own step's tone */
html[data-tone="light"] .step .copy { --fg: var(--ink); --mut: var(--ink-mut); color: var(--ink); }
html[data-tone="dark"] .step .copy { --fg: var(--cream); --mut: var(--cream-mut); color: var(--cream); }
.step h2 { font-size: clamp(36px, 4.3vw, 62px); line-height: 1.02; letter-spacing: -0.028em; margin-bottom: 26px; }
.step p { color: var(--mut); }
.step p:first-of-type { color: var(--fg); }

.hero .copy { max-width: 36rem; }
.hero h1 { font-size: clamp(30px, 4.3vw, 76px); line-height: 1.02; letter-spacing: -0.035em; max-width: none; margin-bottom: 28px; }
.hero h1 span { display: block; white-space: nowrap; }
.hero .lead { font-size: clamp(18px, 1.4vw, 20px); max-width: 30rem; color: var(--fg); }
.hero .lead-short { display: none; }
.hero-buy { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 34px 0 0; }
.price { font: 500 40px/1 var(--display); letter-spacing: -0.02em; margin: 0; color: var(--glow) !important; }
.price-from { font-size: 18px; letter-spacing: 0; color: var(--cream-mut); margin-right: 2px; }
.scroll-hint { margin-top: 56px; font-size: 14px; color: var(--mut) !important; }

.readout { margin-top: 30px; }
.px { display: inline-block; line-height: 0; font-size: 6px; color: var(--pixel); }
.px svg { width: auto; height: 5em; }
.px-lg { font-size: 11px; }
.step[data-tone="dark"] .px { filter: drop-shadow(0 0 5px rgba(255, 90, 46, .55)); }

/* kids night */
.night { list-style: none; margin: 0; padding: 0; }
.tl { min-height: 82vh; min-height: 82svh; }
.tl-time { margin-bottom: 18px; }
.tl-time .px { font-size: 9px; }
.tl h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 16px; }
.tl[data-step="k0700"] .px { color: #e0661a; }

/* ---------- sections after the story ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }
.more, .plus, .specs, .faq { position: relative; z-index: 2; background: var(--paper); color: var(--ink); --fg: var(--ink); --mut: var(--ink-mut); --line: rgba(42, 33, 26, 0.14); }
.more { padding: 120px 0 96px; }
.more h2, .plus h2, .specs h2, .faq h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.04; letter-spacing: -0.028em; margin-bottom: 48px; max-width: 18ch; }
.more-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 48px; }
.more-list h3 { font-size: 21px; letter-spacing: -0.01em; margin: 18px 0 8px; }
.more-list p { color: var(--ink-mut); margin: 0; font-size: 16px; }
.glyph { display: block; width: 36px; height: 36px; color: var(--pixel); }
.glyph svg { width: 100%; height: 100%; }

.plus { padding: 96px 0 110px; background: var(--paper-2); }
.plus h2 { max-width: 20ch; margin-bottom: 20px; }
.plus .sub { max-width: 40rem; color: var(--ink-mut); font-size: 18px; margin-bottom: 52px; }
.tiers { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: start; }
.tier { padding: 34px 34px 28px; border-radius: 28px; background: var(--paper); border: 1px solid var(--line); }
.tier h3 { font-size: 26px; margin-bottom: 6px; }
.tier-price { font: 500 46px/1.05 var(--display); letter-spacing: -0.03em; margin: 0 0 26px; }
.tier-price span { display: block; font: 400 15px/1.4 var(--text); letter-spacing: 0; color: var(--ink-mut); margin-top: 6px; }
.tier ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.tier li { padding-left: 22px; position: relative; font-size: 16px; }
.tier li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 1.5px; background: var(--pixel); }
.tier-plus { background: var(--ember); color: var(--cream); border-color: transparent; box-shadow: 0 30px 80px rgba(34, 22, 13, .28); }
.tier-plus .tier-price { color: var(--glow); }
.tier-plus .tier-price span { color: var(--cream-mut); }
.tier-plus li::before { background: var(--glow); box-shadow: 0 0 8px rgba(246, 201, 139, .7); }

.specs { padding: 110px 0 80px; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.spec-grid dl { margin: 0; }
.spec-grid div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.spec-grid dt { color: var(--ink-mut); font-size: 15px; padding-top: 2px; }
.spec-grid dd { margin: 0; font-size: 16.5px; }

.faq { padding: 60px 0 120px; }
.faq .wrap { max-width: 880px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font: 500 21px/1.3 var(--display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--pixel), var(--pixel)) center / 14px 3px no-repeat, linear-gradient(var(--pixel), var(--pixel)) center / 3px 14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-mut); max-width: 44rem; padding-bottom: 10px; }

.cta { position: relative; z-index: 2; padding: 140px 0; color: var(--cream); --fg: var(--cream); --mut: var(--cream-mut); --line: rgba(243, 235, 224, .16);
  background: var(--night) url(/assets/login-hero-1200.jpg) 75% 50% / cover no-repeat; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 11, 7, .94) 0%, rgba(17, 11, 7, .72) 42%, rgba(17, 11, 7, .1) 78%); }
.cta .wrap { position: relative; }
.cta h2 { font-size: clamp(42px, 5.6vw, 84px); line-height: .98; letter-spacing: -0.035em; max-width: 10ch; }
.cta-price { font: 500 64px/1 var(--display); letter-spacing: -0.03em; color: var(--glow); margin: 34px 0 10px; }
.cta-price span { font-size: 22px; color: var(--cream-mut); letter-spacing: 0; }
.cta .sub { color: var(--cream-mut); font-size: 18px; margin-bottom: 36px; }
.wait { max-width: 32rem; display: grid; gap: 10px; }
.wait label { font-size: 14px; color: var(--cream-mut); }
.wait-row { display: flex; gap: 10px; flex-wrap: wrap; }
.wait input { flex: 1 1 220px; min-height: 48px; padding: 0 18px; border-radius: 999px; font: 16px var(--text); color: var(--cream);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(243, 235, 224, .22); }
.wait input::placeholder { color: rgba(243, 235, 224, .42); }
.wait-note { font-size: 14px; color: var(--cream-mut); margin: 4px 0 0; }
.wait-note.on { color: var(--glow); }

.foot { position: relative; z-index: 2; background: #0c0805; color: var(--cream-mut); padding: 64px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 15px;
  --line: rgba(243, 235, 224, .12); }
.foot .brand { color: var(--cream); margin-bottom: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 56px; }
.foot-brand p { max-width: 26rem; }
.foot-cols { display: grid; grid-template-columns: repeat(2, max-content); gap: 24px 64px; align-content: start; }
.foot-links { display: grid; gap: 10px; align-content: start; }
.foot-h { font: 600 12px/1 var(--mono, ui-monospace, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--cream-mut); margin-bottom: 4px; }
.foot-note { font-size: 13px; color: var(--cream-mut); }
.foot .legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot .legal .team { color: var(--cream-mut); text-decoration: none; font-size: 13px; }
.foot .legal .team:hover { color: var(--glow); }
.foot-links a { text-decoration: none; color: var(--cream); }
.foot-links a:hover { color: var(--glow); }
.legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; margin: 8px 0 0; font-size: 14px; }

/* ---------- tablet / phone ---------- */
@media (max-width: 1080px) {
  .nav a { padding: 8px 9px; font-size: 14px; }
  .more-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .menu { display: block; }
  .top { gap: 14px; }
  .tiers, .spec-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px), (max-aspect-ratio: 9/10) {
  :root { --head-h: 56px; }
  body { font-size: 16px; }
  .step { align-items: flex-end; padding: 0 16px calc(28px + env(safe-area-inset-bottom)); }
  .step .copy { width: calc(100% + 32px); max-width: none; margin: 0 -16px; padding: 90px 16px 0;
    background: linear-gradient(to top, var(--bg) 72%, transparent); }
  .step h2 { font-size: clamp(30px, 8.6vw, 40px); margin-bottom: 16px; }
  .hero h1 { font-size: clamp(28px, 8.6vw, 46px); margin-bottom: 16px; }
  .hero .copy { padding-top: 120px; }
  /* the copy's top padding/gradient overlaps the lamp: let taps through to the lamp and its chips, keep the text itself live */
  .step .copy { pointer-events: none; }
  .step .copy > * { pointer-events: auto; }
  /* phone: the lamp sits in the upper half, so the hero text stays short and low */
  .hero .lead-full { display: none; }
  .hero .lead-short { display: block; }
  .hero .kicker { margin-bottom: 10px; }
  .hero-buy { margin-top: 22px; gap: 16px; }
  .price { font-size: 32px; }
  .scroll-hint { display: none; }
  .tl { min-height: 92svh; }
  .tl-time .px { font-size: 7px; }
  .tl h3 { font-size: 26px; }
  .readout { margin-top: 12px; }
  .px-lg { font-size: 8px; }
}
@media (max-width: 640px) {
  .brand span { display: none; }
  .more { padding: 80px 0 64px; }
  .more-list { grid-template-columns: 1fr; gap: 36px; }
  .plus, .specs { padding: 72px 0; }
  .tier { padding: 26px 22px 22px; border-radius: 22px; }
  .spec-grid div { grid-template-columns: 1fr; gap: 4px; }
  .cta { padding: 96px 0; background-position: 70% 0; background-size: auto 60%; }
  .cta::before { background: linear-gradient(0deg, rgba(17, 11, 7, 1) 45%, rgba(17, 11, 7, .5) 75%, rgba(17, 11, 7, .2) 100%); }
  .cta h2 { margin-top: 140px; }
  .cta-price { font-size: 48px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .poster, .stage canvas, .btn, .nav a { transition: none; }
}

/* ---------- clean stills (?still=...): only the stage ---------- */
html.still .top, html.still .step .copy, html.still .night, html.still .more, html.still .plus, html.still .specs,
html.still .faq, html.still .cta, html.still .foot, html.still .skip, html.still .poster, html.still .lamp-ui { display: none !important; }
html.still, html.still body { --bg: var(--night) !important; background: var(--night) !important; overflow: hidden; }
html.still-login body, html.still-og body { background: radial-gradient(ellipse at 60% 58%, #4a2c15 0, #23160c 36%, #110b07 70%) !important; }
html.still-og body { background: radial-gradient(ellipse at 50% 58%, #4a2c15 0, #23160c 36%, #110b07 70%) !important; }
html.still .stage canvas { opacity: 1 !important; transition: none; }

/* the two highlighted features (speaker, Флампи): a pixel mark and a warm rule */
.step.feature .copy { border-left: 3px solid var(--pixel); padding-left: 24px; }
.feat-glyph { width: 40px; height: 40px; margin-bottom: 20px; }
@media (max-width: 760px), (max-aspect-ratio: 9/10) {
  .step.feature .copy { border-left: 0; padding-left: 16px; }
  .feat-glyph { width: 30px; height: 30px; margin-bottom: 12px; }
}

/* ---------- sound toggle ---------- */
.snd-btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  font: 500 14px/1 var(--text); color: var(--fg); background: transparent; border: 1px solid var(--line); }
.snd-btn .w { opacity: .25; }
.snd-btn[aria-pressed="true"] { border-color: var(--glow); color: var(--glow); }
html[data-tone="light"] .top .snd-btn[aria-pressed="true"] { border-color: var(--pixel); color: var(--pixel); }
.snd-btn[aria-pressed="true"] .w { opacity: 1; }
@media (max-width: 640px) { .top .snd-btn .snd-l { display: none; } .top .snd-btn { width: 38px; padding: 0; justify-content: center; } }

/* ---------- «Попробуйте сами» ---------- */
.play { position: relative; z-index: 2; background: #1a110b; color: var(--cream); padding: 110px 0 100px;
  --fg: var(--cream); --mut: var(--cream-mut); --line: rgba(243, 235, 224, .16); --bg: #1a110b; }
.play-head { display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: end; margin-bottom: 40px; }
.play-head h2 { font-size: clamp(36px, 4.4vw, 62px); line-height: 1.02; letter-spacing: -0.03em; grid-column: 1; }
.play-head .sub { grid-column: 1; color: var(--cream-mut); max-width: 40rem; margin: 10px 0 0; font-size: 18px; }
.play-head .snd-big { grid-column: 2; grid-row: 1 / span 2; height: 46px; padding: 0 20px; font-size: 15px; }
.play-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr); gap: 28px; align-items: start; }
.play-stage { position: sticky; top: calc(var(--head-h) + 16px); z-index: 2; height: min(calc(100vh - var(--head-h) - 40px), 640px); min-height: 380px; border-radius: 28px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 60%, color-mix(in srgb, #efe7da calc(var(--room, .45) * 100%), #2a1b10) 0%,
    color-mix(in srgb, #e4dacb calc(var(--room, .45) * 100%), #120b07) 75%);
  border: 1px solid var(--line); }
.play-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; outline: none; }
.play-stage canvas:focus-visible { outline: 2px solid var(--glow); outline-offset: -4px; }
.play-stage .halo, .play-stage .pool { position: absolute; left: 0; top: 0; }
.play-log { position: absolute; left: 16px; right: 16px; bottom: 14px; margin: 0; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.4;
  color: var(--cream); background: rgba(17, 11, 7, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); min-height: 2.6em; }
.play-panel { display: grid; gap: 18px; }
.pg h3 { font: 500 15px/1.2 var(--text); color: var(--cream-mut); margin: 0 0 8px; }
.pr { display: flex; flex-wrap: wrap; gap: 6px; }
.pb { font: 500 14px/1.2 var(--text); color: var(--cream); background: rgba(255, 255, 255, .06); border: 1px solid var(--line);
  border-radius: 12px; padding: 9px 12px; cursor: pointer; text-align: left; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.pb small { display: block; font-size: 12px; color: var(--cream-mut); font-weight: 400; margin-top: 3px; }
.pb:hover { background: rgba(255, 255, 255, .1); }
.pb:active { background: rgba(246, 201, 139, .18); }
.pb[aria-pressed="true"] { border-color: var(--glow); color: var(--glow); }
.sl { display: grid; grid-template-columns: 6.5rem 1fr; align-items: center; gap: 10px; font-size: 14px; color: var(--cream); margin: 4px 0; }
.sl input { accent-color: var(--glow); width: 100%; }
@media (max-width: 900px) {
  .play { padding: 72px 0; }
  .play-grid { grid-template-columns: 1fr; }
  /* phone: the lamp stays pinned under the header while the buttons scroll below it */
  .play-stage { position: sticky; top: calc(var(--head-h) + 8px); z-index: 3; height: 42svh; min-height: 280px; border-radius: 22px;
    box-shadow: 0 14px 28px rgba(10, 6, 3, .55); }
  .play-log { font-size: 13px; line-height: 1.35; max-height: calc(2.7em + 14px); padding: 7px 12px; bottom: 8px; left: 10px; right: 10px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .play-head { grid-template-columns: 1fr; }
  .play-head .snd-big { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 12px; }
}

/* ---------- «Приложение для родителей» (phones come from docs/flamp-app.html at build time) ---------- */
.appsec { position: relative; z-index: 2; background: #1a110b; color: var(--cream); padding: 120px 0 110px; overflow: hidden;
  --fg: var(--cream); --mut: var(--cream-mut); --line: rgba(243, 235, 224, .16); }
.app-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.appsec h2 { font-size: clamp(36px, 4.4vw, 62px); line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 18px; }
.appsec .sub { color: var(--cream-mut); font-size: 18px; max-width: 30rem; }
.app-points { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 14px; max-width: 31rem; }
.app-points li { padding-left: 22px; position: relative; color: var(--cream-mut); font-size: 16px; }
.app-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 1.5px; background: var(--glow); box-shadow: 0 0 8px rgba(246, 201, 139, .7); }
.app-points b { color: var(--cream); font-weight: 600; }
.app-promise { border-left: 3px solid var(--pixel); padding: 4px 0 4px 16px; max-width: 31rem; color: var(--cream); }
.app-note { font-size: 13px; color: var(--cream-mut); }
.app-phones { display: flex; justify-content: flex-end; align-items: center; min-height: 640px; padding-right: 20px; }
.app-phones .ph { margin: 0 -78px; transform: scale(.84) rotate(-4deg) translateY(30px); }
.app-phones .ph:nth-child(2) { transform: scale(.94) rotate(-1deg); z-index: 3; }
.app-phones .ph:nth-child(3) { transform: scale(.88) rotate(2.5deg) translateY(-20px); z-index: 2; }
.app-phones .ph:nth-child(4) { transform: scale(.8) rotate(5deg) translateY(40px); }
/* the fan of phones must stay inside its own column: 3 phones on desktop, 2 on mid widths */
.app-phones .ph:nth-child(4) { display: none; }
.appsec .app-grid > :first-child { position: relative; z-index: 4; }
@media (max-width: 1180px) { .app-phones .ph:nth-child(3) { display: none; } .app-phones .ph { margin: 0 -40px; } }
@media (max-width: 980px) {
  .appsec { padding: 80px 0; }
  .app-grid { grid-template-columns: minmax(0, 1fr); }
  .app-phones { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; min-height: 0; gap: 16px; padding: 10px 4px 24px; margin: 0 -20px; padding-left: 20px; }
  .app-phones .ph, .app-phones .ph:nth-child(n) { display: block; margin: 0; transform: none; scroll-snap-align: center; }
}

/* ---------- brand wordmark «flampii» (inline, letters in currentColor) ---------- */
.brand .wordmark { height: 24px; width: auto; color: var(--fg); display: block; }
.brand .brand-mark { display: block; width: 28px; height: 28px; }
.foot .brand .wordmark { color: var(--cream); height: 28px; }
@media (max-width: 640px) { .top .brand .wordmark { display: none; } .top .brand .brand-mark { display: block; } }
@media (max-width: 1500px) { .nav .nav-x { display: none; } }
@media (max-width: 1240px) { .nav a { padding: 8px 8px; font-size: 13.5px; } .top .snd-btn .snd-l { display: none; } .top .snd-btn { width: 38px; padding: 0; justify-content: center; } }

/* ---------- hero kicker and the 4-in-1 strip ---------- */
.kicker { font: 600 13px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--glow) !important; margin-bottom: 18px; }
.four { position: relative; z-index: 2; background: var(--night); padding: 56px clamp(20px, 6vw, 104px) 64px; }
.four-list { list-style: none; margin: 0 auto; padding: 0; max-width: 1240px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.four-list li { background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)); border: 1px solid rgba(243, 235, 224, .12);
  border-radius: 22px; padding: 22px 20px 20px; color: var(--cream); }
.four-list .glyph { width: 30px; height: 30px; color: var(--pixel); filter: drop-shadow(0 0 6px rgba(255, 90, 46, .5)); }
.four-list h3 { font-size: 22px; letter-spacing: -0.015em; margin: 16px 0 6px; }
.four-list p { margin: 0; color: var(--cream-mut); font-size: 15.5px; line-height: 1.5; }
@media (max-width: 1000px) { .four-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .four { padding: 14px 16px 44px; } .hero.step { padding-bottom: 0; } .four { margin-top: -1px; } .four-list { grid-template-columns: 1fr; gap: 10px; }
  .four-list li { display: grid; grid-template-columns: 30px 1fr; gap: 2px 14px; padding: 16px; } .four-list h3 { margin: 0; font-size: 19px; } .four-list p { grid-column: 2; } }

/* ---------- mid widths: keep the hero text clear of the lamp ---------- */
@media (min-width: 761px) and (max-width: 1180px) {
  .step .copy { max-width: min(31rem, 46vw); }
  .hero .copy { max-width: min(36rem, 48vw); }
  .hero h1 { font-size: clamp(30px, 4.6vw, 52px); }
  .hero .lead { font-size: 16.5px; }
}

/* ---------- playground: the pet's name ---------- */
.namef { display: grid; grid-template-columns: 8rem 1fr; align-items: center; gap: 10px; font-size: 14px; color: var(--cream); }
.namef input { font: 600 16px var(--text); color: var(--cream); background: rgba(255, 255, 255, .07); border: 1px solid rgba(243, 235, 224, .22);
  border-radius: 12px; padding: 9px 12px; min-width: 0; }
.namef input:focus-visible { outline: 2px solid var(--glow); outline-offset: 2px; }
@media (max-width: 1100px) { .nav { display: none; } .menu { display: block; } .top { gap: 14px; } }
.btn-small { white-space: nowrap; }

/* ---------- playground: emotion picker (all faces of the logic emotion API) ---------- */
.emo-row { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -2px 6px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.emo { flex: none; width: 92px; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 7px 6px 6px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .05); color: var(--cream); font: 500 11.5px/1.2 var(--text); cursor: pointer;
  scroll-snap-align: start; touch-action: manipulation; }
.emo svg { width: 80px; height: 22px; background: #140d09; border-radius: 4px; display: block; }
.emo span { text-align: center; min-height: 2.4em; display: flex; align-items: center; }
.emo:hover { background: rgba(255, 255, 255, .1); }
.emo:active, .emo:focus-visible { border-color: var(--glow); }
@media (max-width: 900px) { .emo-row { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 92px; } }
.play-panel, .play-panel .pg { min-width: 0; }

/* team login in the header: plain text link before the CTA */
.login-link { font: 500 14px/1 var(--text); color: var(--mut); text-decoration: none; padding: 10px 6px; white-space: nowrap; }
.login-link:hover { color: var(--fg); }
.login-link:focus-visible { outline: 2px solid var(--glow); outline-offset: 2px; border-radius: 6px; }
@media (max-width: 420px) { .login-link { display: none; } }

/* ---------- final CTA: text column left, the lamp film right (visual on top below 900 px) ---------- */
.cta { background: var(--night); padding: 120px 0; }
.cta::before { content: none; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.cta-text { grid-column: 1; grid-row: 1; min-width: 0; }
.cta-visual { grid-column: 2; grid-row: 1; position: relative; min-width: 0; aspect-ratio: 16 / 10; border-radius: 28px; overflow: hidden;
  background: #0c0805 url(img/lamp-loop.jpg) center / cover no-repeat; box-shadow: 0 30px 90px rgba(0, 0, 0, .45), 0 0 0 1px rgba(243, 235, 224, .06); }
.cta-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.cta h2 { margin-top: 0; max-width: 11ch; font-size: clamp(38px, 4.6vw, 76px); }
.cta .wait { max-width: 100%; }
@media (max-width: 900px) {
  .cta { padding: 72px 0 88px; }
  .cta-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-visual { grid-column: 1; grid-row: 1; border-radius: 22px; }
  .cta-text { grid-column: 1; grid-row: 2; }
  .cta h2 { margin-top: 0; }
}
@media (max-width: 640px) { .cta { background: var(--night); background-size: auto; } .cta h2 { margin-top: 0; } }

/* ---------- language switcher RU · EN · IT ---------- */
.langs { display: inline-flex; gap: 1px; padding: 2px; border: 1px solid var(--line); border-radius: 999px; flex: none; }
.langs a { font: 600 11.5px/1 var(--text); letter-spacing: .04em; color: var(--mut); text-decoration: none; padding: 7px 8px; border-radius: 999px; }
.langs a:hover { color: var(--fg); }
.langs a[aria-current="true"] { color: var(--fg); background: var(--line); }
.langs-menu { margin: 8px 4px 2px; align-self: flex-start; }
.top > .langs { display: inline-flex; }
@media (max-width: 1100px) { .top > .langs { display: none; } }
/* phones: longer EN / IT labels must still fit the header row */
@media (max-width: 440px) {
  .top { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .top .btn-small { padding: 0 12px; font-size: 13px; }
  .top .menu summary { padding: 8px 10px; }
  .top .login-link { font-size: 13px; }
}
@media (max-width: 380px) { .top .login-link { display: none; } }
/* EN / IT hero lines are longer: a notch smaller on phones so both lines still fit */
@media (max-width: 760px) { html[lang="en"] .hero h1, html[lang="it"] .hero h1 { font-size: clamp(25px, 7.4vw, 40px); } }

/* phone-kit */
.ph{--a-bg:#f7f1e8;--a-card:#fff;--a-ink:#2a211a;--a-mut:#8a7b6d;--a-line:#ede4d7;--a-acc:#e9602e;--a-acc2:#f6c98b;--a-ok:#3f8f5a;--a-soft:#f3e9db;
  position:relative;width:292px;aspect-ratio:292/620;flex:none;border-radius:48px;padding:9px;background:#1b1511;
  box-shadow:0 0 0 1.5px #3b3028 inset,0 30px 70px rgba(40,24,12,.28),0 8px 18px rgba(40,24,12,.18);font:12.5px/1.35 Inter,system-ui,sans-serif;color:var(--a-ink);text-align:left}
.ph.ph-dark{--a-bg:#16100c;--a-card:#221810;--a-ink:#f3ebe0;--a-mut:#a8988a;--a-line:#33261b;--a-soft:#2c2016}
.ph *{box-sizing:border-box}
.ph-scr{position:relative;height:100%;border-radius:40px;overflow:hidden;background:var(--a-bg);display:flex;flex-direction:column}
.ph-status{display:flex;align-items:center;justify-content:space-between;padding:12px 22px 4px;font-size:12px;height:38px;flex:none}
.ph-status b{font-weight:600}.ph-status span{display:flex;gap:4px}
.ph-island{position:absolute;left:50%;top:9px;width:86px;height:24px;margin-left:-43px;border-radius:14px;background:#0d0a08}
.ph-si{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9}
.ph-body{flex:1;overflow:hidden;padding:6px 14px 10px;display:flex;flex-direction:column;gap:9px}
.ph-i{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ph-ci{width:13px;height:13px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ph-mut{color:var(--a-mut)}
.ph h4{font:600 22px/1.1 'Space Grotesk',system-ui,sans-serif;margin:0;letter-spacing:-.02em}
.ph h5{font:600 12.5px/1 Inter,system-ui,sans-serif;margin:4px 2px 0;display:flex;align-items:center;gap:6px;color:var(--a-mut)}
.ph small{display:block;color:var(--a-mut);font-size:11px;line-height:1.3}
.ph-top{display:flex;align-items:flex-end;justify-content:space-between;padding:2px 2px 0}
.ph-ava{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font:600 13px Inter,sans-serif;background:var(--a-acc2);color:#3a2414;flex:none}
.ph-ava.sm{width:28px;height:28px;font-size:12px}.ph-ava.b{background:#bcd6ff}.ph-ava.c{background:#c8ecd2}
.ph-card{background:var(--a-card);border-radius:18px;padding:10px 12px;box-shadow:0 1px 0 var(--a-line);display:flex;flex-direction:column;gap:2px}
.ph-card-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.ph-row{display:flex;align-items:center;gap:10px;padding:6px 0;min-height:34px}
.ph-row + .ph-row{border-top:1px solid var(--a-line)}
.ph-row.ok .ph-i{color:var(--a-ok)}
.ph-rt{flex:1;min-width:0}.ph-rt b{display:block;font-weight:600}
.ph-val{font-weight:600;color:var(--a-ink);white-space:nowrap}.ph-val.ok{color:var(--a-ok)}
.ph-tog{width:34px;height:20px;border-radius:12px;background:var(--a-line);position:relative;flex:none}
.ph-tog::after{content:"";position:absolute;left:2px;top:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.25)}
.ph-tog.on{background:var(--a-acc)}.ph-tog.on::after{left:16px}
.ph-badge{font:600 9.5px/1 Inter,sans-serif;padding:4px 6px;border-radius:6px;white-space:nowrap;letter-spacing:.01em}
.ph-badge.free{background:var(--a-soft);color:var(--a-mut)}
.ph-badge.plus{background:#2a1a10;color:#f6c98b}
.ph-dark .ph-badge.plus{background:#f6c98b;color:#2a1a10}
.ph-row .ph-badge{margin-right:2px}
.ph-chips{display:flex;gap:5px;flex-wrap:wrap}
.ph-chip{display:inline-flex;align-items:center;gap:4px;padding:5px 8px;border-radius:10px;background:var(--a-soft);font-size:10.5px;font-weight:500}
.ph-chip.on{background:var(--a-ink);color:var(--a-bg)}
.ph-hero{display:flex;gap:12px;align-items:center;background:linear-gradient(160deg,#3a2414,#1d130b);border-radius:22px;padding:12px;color:#f6ecdf}
.ph-hero small{color:#cdb9a5}.ph-hero .ph-chip{background:rgba(255,255,255,.1);color:#f6ecdf}
.ph-hero-t{display:flex;flex-direction:column;gap:5px}
.ph-hero-t b{font:600 15px 'Space Grotesk',sans-serif}
.ph-lamp{position:relative;width:92px;height:84px;flex:none}
.ph-lamp i{position:absolute;display:block}
.ph-halo{inset:-24px -20px 6px;border-radius:50%;background:radial-gradient(closest-side,color-mix(in srgb,var(--g) 70%,transparent),transparent)}
/* proportions of the real set: lamp Ø104, dome 34 + base 17, dock 22 high */
.ph-dome{left:8px;right:8px;top:14px;height:26px;border-radius:22px 22px 5px 5px/18px 18px 5px 5px;background:linear-gradient(180deg,#fff6e6,var(--g));box-shadow:0 0 18px color-mix(in srgb,var(--g) 80%,transparent)}
.ph-belt{left:8px;right:8px;top:40px;height:12px;background:linear-gradient(180deg,#efe9df,#d8cfc2);border-radius:2px}
.ph-dock{left:8px;right:8px;top:53px;height:17px;border-radius:2px 2px 7px 7px;background:linear-gradient(180deg,#f2ede5,#d9d0c3);display:grid;place-items:center}
.ph-lamp.off .ph-dome{background:linear-gradient(180deg,#bdb4a8,#8f877c);box-shadow:none}.ph-lamp.off .ph-halo{display:none}
.ph-dock .ph-px{box-sizing:border-box;width:42px;height:12px;background:#1b120c;border-radius:2px;padding:1px 1.5px;display:block}
.ph-px{display:block}
.ph-pxbig{width:100%;height:auto;background:#1b120c;border-radius:6px;padding:4px}
.ph-pxface{width:100%;height:auto;background:#1b120c;border-radius:10px;padding:8px}
.ph-sl{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;font-size:11.5px;color:var(--a-mut)}
.ph-track{position:relative;height:6px;border-radius:4px;background:var(--a-line)}
.ph-fill{position:absolute;left:0;top:0;bottom:0;border-radius:4px;background:var(--a-acc)}
.ph-sl.warm .ph-fill{background:linear-gradient(90deg,#f6c98b,#e9602e)}
.ph-knob{position:absolute;top:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.3)}
.ph-scenes{display:flex;gap:5px;margin-top:8px}.ph-scenes span{flex:1;text-align:center;padding:6px 0;border-radius:10px;background:var(--a-soft);font-size:10.5px;font-weight:500}
.ph-scenes span.on{background:var(--a-acc);color:#fff}
.ph-next,.ph-msg{flex-direction:row;align-items:center;gap:10px}
.ph-play{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--a-acc);color:#fff;flex:none}
.ph-play .ph-i{width:14px;height:14px;fill:currentColor;stroke:none}
.ph-tabs{display:flex;justify-content:space-around;padding:8px 6px 18px;border-top:1px solid var(--a-line);background:var(--a-bg);flex:none}
.ph-tabs span{display:flex;flex-direction:column;align-items:center;gap:2px;color:var(--a-mut);font-size:9.5px}
.ph-tabs b{font-weight:500}.ph-tabs span.on{color:var(--a-acc)}
.ph-nav{display:flex;align-items:center;justify-content:space-between;height:30px}.ph-nav b{font-weight:600;font-size:14px}.ph-nav span{width:19px}
.ph-lampbig{display:grid;place-items:center;padding:12px 0 4px}.ph-lampbig .ph-lamp{transform:scale(1.35)}
.ph-hue{display:grid;grid-template-columns:3.4em 1fr;align-items:center;gap:10px;font-size:11.5px;color:var(--a-mut)}
.ph-huebar,.ph-ktbar{position:relative;height:10px;border-radius:6px;display:block}
.ph-huebar{background:linear-gradient(90deg,#ff4d4d,#ffb24d,#f5f05a,#5fe08a,#4dc3ff,#7a6bff,#ff5fd0,#ff4d4d)}
.ph-ktbar{background:linear-gradient(90deg,#ffb35c,#fff1d8,#e7f0ff)}
.ph-grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.ph-tile{display:flex;flex-direction:column;align-items:center;gap:5px;padding:8px 4px;border-radius:14px;background:var(--a-card);font-size:10.5px;font-weight:500;box-shadow:0 1px 0 var(--a-line)}
.ph-tile i{width:30px;height:30px;border-radius:50%;display:block}.ph-tile.on{outline:2px solid var(--a-acc)}
.ph-okwake{flex-direction:row;gap:10px}.ph-ok-col{flex:1;display:flex;flex-direction:column;gap:5px;align-items:center;text-align:center}
.ph-report{gap:8px}.ph-rep-h b{font:600 18px 'Space Grotesk',sans-serif}
.ph-bars{display:flex;align-items:flex-end;gap:7px;height:70px;padding-bottom:14px}
.ph-bars i{position:relative;flex:1;border-radius:6px 6px 3px 3px;background:linear-gradient(180deg,#8f7bff,#4b3aa8);display:block}
.ph-bars em{position:absolute;bottom:-14px;left:0;right:0;text-align:center;font-style:normal;font-size:9px;color:var(--a-mut)}
.ph-bars u{position:absolute;top:-5px;left:50%;width:6px;height:6px;margin-left:-3px;border-radius:50%;background:#f6c98b}
.ph-face{display:flex;flex-direction:column;gap:6px;align-items:center;text-align:center;background:var(--a-card);border-radius:20px;padding:12px;box-shadow:0 1px 0 var(--a-line)}
.ph-face b{font:600 14px 'Space Grotesk',sans-serif}
.ph-wrap{gap:6px}
.ph-foot{font-size:10.5px;color:var(--a-mut);margin:2px 4px;line-height:1.4}
.ph-req{background:linear-gradient(160deg,#fff4e6,#fde3c9);gap:8px}
.ph-dark .ph-req{background:#2c2016}
.ph-2btn{display:flex;gap:6px}.ph-2btn .ph-btn{flex:1}
.ph-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;border-radius:12px;background:var(--a-acc);color:#fff;font-weight:600;font-size:12px}
.ph-btn.ghost{background:transparent;color:var(--a-ink);box-shadow:inset 0 0 0 1px var(--a-line)}
.ph-btn.wide{width:100%;flex:none;height:40px;font-size:12.5px}
.ph-dot{width:28px;height:28px;border-radius:50%;flex:none;box-shadow:0 0 12px currentColor}
.ph-lead{margin:0;color:var(--a-mut);font-size:12px;line-height:1.45}
.ph-qrbox{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px;background:var(--a-card);border-radius:20px}
.ph-qr{width:150px;height:150px;border-radius:8px}
.ph-chat{flex:1;display:flex;flex-direction:column;gap:8px;padding:4px 0;overflow:hidden}
.ph-bub{max-width:78%;padding:8px 10px;border-radius:16px;background:var(--a-card);box-shadow:0 1px 0 var(--a-line);font-size:12px}
.ph-bub b{display:block;font-size:11px;color:var(--a-acc);margin-bottom:3px}
.ph-bub.out{align-self:flex-end;background:#ffe0c7}
.ph-dark .ph-bub.out{background:#4a2c18}
.ph-bub small{margin-top:4px}
.ph-wave{display:flex;align-items:center;gap:3px;height:22px}
.ph-wave i{width:3px;border-radius:2px;background:var(--a-acc);display:block}
.ph-wave i:nth-child(3n){height:18px}.ph-wave i:nth-child(3n+1){height:9px}.ph-wave i:nth-child(3n+2){height:14px}
.ph-sys{align-self:center;font-size:10.5px;color:var(--a-mut);background:var(--a-soft);border-radius:10px;padding:5px 9px;text-align:center}
.ph-ptt{display:flex;flex-direction:column;align-items:center;gap:6px;padding-bottom:10px}
.ph-pttbtn{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:var(--a-acc);color:#fff;box-shadow:0 0 0 8px color-mix(in srgb,var(--a-acc) 18%,transparent)}
.ph-pttbtn .ph-i{width:26px;height:26px}
.ph-hw{flex-direction:row;gap:10px;align-items:flex-start;background:#2a1a10;color:#f6ecdf}
.ph-hw small{color:#cdb9a5}.ph-hw .ph-big{width:30px;height:30px;color:#f6c98b}
.ph-dim .ph-row{opacity:.55}
.ph-list{display:flex;flex-direction:column;gap:7px;padding:4px 0}.ph-list span{display:flex;gap:7px;align-items:flex-start;font-size:11.5px}
.ph-list .ph-ci{color:var(--a-ok);margin-top:1px}
.ph-alarm{flex-direction:row;align-items:center;gap:10px}.ph-alarm b{font:600 28px/1 'Space Grotesk',sans-serif;letter-spacing:-.02em}
.ph-alarm small{flex:1}.ph-alarm.off{opacity:.6}
.ph-np{flex-direction:row;align-items:center;gap:10px}
.ph-cover{width:44px;height:44px;border-radius:10px;background:linear-gradient(135deg,#7a6bff,#f6c98b);flex:none}
.ph-plushero{background:linear-gradient(160deg,#2a1a10,#4a2c18);color:#f6ecdf;border-radius:20px;padding:14px}
.ph-plushero b{font:600 16px/1.25 'Space Grotesk',sans-serif;display:block;margin-bottom:6px}.ph-plushero small{color:#e0c9b0}
.ph-price{display:flex;gap:6px}.ph-price span{flex:1;padding:9px;border-radius:14px;background:var(--a-card);text-align:center;box-shadow:inset 0 0 0 1px var(--a-line)}
.ph-price span.on{box-shadow:inset 0 0 0 2px var(--a-acc)}.ph-price b{font:600 16px 'Space Grotesk',sans-serif}
.ph-steps{display:flex;gap:4px;padding:6px 0}.ph-steps i{flex:1;height:4px;border-radius:2px;background:var(--a-line);display:block}.ph-steps i.on{background:var(--a-acc)}
.ph-center{text-align:center}
.ph-field{height:42px;border-radius:12px;background:var(--a-card);box-shadow:inset 0 0 0 2px var(--a-acc);display:flex;align-items:center;padding:0 12px;font-size:15px;font-weight:600}
.ph-field i{width:1.5px;height:18px;background:var(--a-acc);margin-left:2px;display:block}
.ph-seg{display:flex;background:var(--a-soft);border-radius:12px;padding:3px}.ph-seg span{flex:1;text-align:center;padding:6px 0;border-radius:9px;font-size:11px;font-weight:500}
.ph-seg span.on{background:var(--a-card);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.ph-donelist{gap:6px}.ph-donelist span{display:flex;gap:7px;align-items:center;font-size:11.5px}.ph-donelist .ph-ci{color:var(--a-ok)}
.ph-tgtop{display:flex;align-items:center;gap:8px;padding:2px 0 6px;border-bottom:1px solid var(--a-line)}
.ph-chat.tg{background:linear-gradient(180deg,#efe6d8,#e8dcc9);margin:0 -14px;padding:10px 14px}
.ph-keys{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:transparent;box-shadow:none;padding:0;max-width:100%;width:100%}
.ph-keys span{background:var(--a-card);border-radius:10px;padding:7px;text-align:center;font-weight:500;font-size:11px}
/* /phone-kit */
