/* The product film (control/site/film.mjs · film/film.js). The admin's own look: light glass on soft colour
   pools, the brand gradient only on what matters, night navy for the "space" beats. A fixed design frame
   (1280×800 desktop, 390×780 phone) scaled into its box; film.js writes transform, opacity and the one
   window's size. Real backdrop-filter on the dock only. */
.film { position: relative; padding: 56px var(--gut) 40px; background: radial-gradient(60% 36% at 50% 0, #ece8ff, rgba(236, 232, 255, 0) 70%), var(--page); }
.film__in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.film__in > * { max-width: 100%; min-width: 0; }
.film__head { text-align: center; display: grid; justify-items: center; gap: 4px; }
.film__head h2 { font-size: clamp(30px, 3.6vw, 50px); }
.film__modes { margin-top: 18px; display: inline-flex; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--soft); }
.film__modes button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 700; color: var(--muted); padding: 7px 16px; border-radius: 999px; cursor: pointer; }
.film__modes button svg { width: 17px; height: 17px; }
.film__modes [aria-checked="true"] { background: var(--ink); color: #fff; }

.film__frame { position: relative; width: 100%; margin-top: 22px; container-type: inline-size; display: grid; justify-items: center; }
.fm-box { position: relative; width: min(100%, calc(66svh * 1.6)); aspect-ratio: 1280 / 800; border-radius: clamp(14px, 2.4cqw, 30px); overflow: hidden; box-shadow: var(--shadow); background: #f1f0fa; }
.fm-wrap { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.fm-stage { position: relative; width: 1280px; height: 800px; overflow: hidden; font-family: var(--font); color: #1e293b; font-size: 17px; line-height: 1.4; }
.film__frame[data-mode="phone"] .fm-box { width: min(100%, calc(64svh * .5), 340px); aspect-ratio: 390 / 780; border-radius: 13% / 6.5%; box-shadow: 0 0 0 9px #14112e, 0 0 0 10px #3b3666, var(--shadow); margin: 10px 0; }
.film__frame[data-mode="phone"] .fm-stage { width: 390px; height: 780px; }
.js .film:not(.fm-on) .fm-stage { visibility: hidden; }
.fm-stage *, .fm-stage *::before { box-sizing: border-box; }
.fm-stage img { max-width: none; }
.fm-stage svg:not(.mk):not(.fm-cur) { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fm-stage p, .fm-stage h4, .fm-stage ul { margin: 0; }
.fm-stage bdi { unicode-bidi: isolate; }
.fm-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* grounds: day (the admin's pools) and night (its dark theme) */
.fm-bg { position: absolute; inset: 0; }
.fm-bg--day { background: radial-gradient(42% 52% at 88% 12%, rgba(251, 113, 133, .28), transparent 70%), radial-gradient(46% 56% at 10% 30%, rgba(96, 165, 250, .26), transparent 70%), radial-gradient(40% 50% at 55% 100%, rgba(167, 139, 250, .3), transparent 70%), #f4f3fb; }
.fm-bg--night { background: radial-gradient(40% 50% at 82% 20%, rgba(79, 70, 229, .45), transparent 70%), radial-gradient(44% 54% at 12% 78%, rgba(8, 145, 178, .38), transparent 70%), radial-gradient(36% 46% at 50% 50%, rgba(147, 51, 234, .3), transparent 70%), #0b1121; }
.fm-world { position: absolute; inset: 0; transform-origin: 0 0; }

/* the one window, and the beat layers centred in it at their own fixed size */
.fm-win { position: absolute; overflow: hidden; isolation: isolate; background: #fff; box-shadow: 0 2px 4px rgba(49, 46, 129, .06), 0 30px 60px -24px rgba(49, 46, 129, .34); transform-origin: 50% 50%; }
.fm-b, .fa { position: absolute; left: 50%; top: 50%; translate: -50% -50%; }
.fm-b--pill { width: 560px; height: 100px; } .fm-b--win, .fa { width: 1100px; height: 680px; } .fm-b--card { width: 300px; height: 190px; } .fm-b--price { width: 640px; height: 400px; } .fm-b--cta { width: 600px; height: 120px; }
[data-mode="phone"] .fm-b--pill { width: 340px; height: 84px; } [data-mode="phone"] .fm-b--win, [data-mode="phone"] .fa { width: 390px; height: 780px; }
[data-mode="phone"] .fm-b--card { width: 240px; height: 150px; } [data-mode="phone"] .fm-b--price { width: 340px; height: 380px; } [data-mode="phone"] .fm-b--cta { width: 340px; height: 190px; }

/* 1 · the pill */
.fp1 { height: 100%; display: flex; align-items: center; gap: 18px; padding-inline: 22px 30px; }
.fp1__t { font-size: 34px; font-weight: 900; letter-spacing: -.01em; white-space: nowrap; color: #1e1b3a; }
.fp1__caret { display: inline-block; width: 3px; height: 34px; border-radius: 2px; background: #7c3aed; }
[data-mode="phone"] .fp1 { gap: 12px; padding-inline: 14px 18px; } [data-mode="phone"] .fp1 .hx-orb { --po: 44px !important; } [data-mode="phone"] .fp1__t { font-size: 23px; } [data-mode="phone"] .fp1__caret { height: 24px; }

/* 2 · the wizard */
.fw { background: #f8fafc; display: grid; grid-template-rows: 56px 64px 1fr; }
.fw-top { display: flex; align-items: center; justify-content: space-between; padding: 0 26px; border-bottom: 1px solid #e2e8f0; background: #fff; }
.fw-top img { width: 80px; height: auto; }
.fw-saved { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: #047857; }
.fw-saved svg { width: 17px; height: 17px; }
.fw-rail { position: relative; display: flex; align-items: center; justify-content: space-between; margin: 0 26px; }
.fw-rail::before, .fw-rail__fill { content: ''; position: absolute; inset-inline: 14px; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: #e2e8f0; }
.fw-rail__fill { background: linear-gradient(110deg, #4f46e5, #7c3aed 52%, #c026d3); transform-origin: 100% 50%; }
[dir="ltr"] .fw-rail__fill { transform-origin: 0 50%; }
.fw-rail span { position: relative; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: #94a3b8; background: #f8fafc; padding-inline: 6px; }
.fw-rail b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid #e2e8f0; font-size: 13px; }
.fw-rail span.on { color: #1e293b; } .fw-rail span.on b { border-color: #7c3aed; background: #7c3aed; color: #fff; }
.fw-main { display: flex; gap: 22px; padding: 6px 26px 22px; min-height: 0; }
.fw-card { flex: 1; background: #fff; border: 1px solid #e2e8f0; border-radius: 22px; padding: 24px 26px; display: grid; align-content: start; gap: 12px; box-shadow: 0 20px 25px -5px rgba(148, 163, 184, .16); }
.fw-k { font-size: 14px; font-weight: 700; color: #7c3aed; } .fw-card h4 { font-size: 28px; font-weight: 900; margin-bottom: 4px; }
.fw-themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fw-th { border-radius: 16px; border: 2px solid #e2e8f0; padding: 10px; display: grid; gap: 8px; font-size: 15px; }
.fw-th i { height: 92px; border-radius: 10px; background: linear-gradient(#fff 0 30%, #e2e8f0 30% 34%, #fff 34% 60%, #cbd5e1 60% 100%); }
.fw-th--1 i { background: linear-gradient(#f5f1ea 0 40%, #d6c7ad 40% 100%); } .fw-th--2 i { background: linear-gradient(135deg, #111 0 50%, #f43f5e 50%); }
.fw-th.on, .fw-pal.on { border-color: #7c3aed; box-shadow: 0 0 0 4px rgba(124, 58, 237, .14); }
.fw-pals { display: flex; gap: 12px; flex-wrap: wrap; }
.fw-pal { display: inline-flex; align-items: center; gap: 6px; border: 2px solid #e2e8f0; border-radius: 999px; padding: 6px 14px 6px 8px; font-size: 15px; font-weight: 600; }
.fw-pal i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid #cbd5e1; margin-inline-end: -10px; } .fw-pal i + i { margin-inline-end: 4px; }
.fw-go { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.fw-btn { position: relative; display: inline-grid; padding: 12px 30px; border-radius: 999px; color: #fff; font-weight: 800; background: linear-gradient(110deg, #4f46e5, #7c3aed 52%, #c026d3); }
.fw-btn b { grid-area: 1 / 1; text-align: center; }
.fw-go small { font-size: 14px; color: #64748b; }
.fw-prev { width: 270px; flex: none; display: grid; grid-template-rows: auto 1fr; gap: 6px; justify-items: center; }
.fw-prev p { font-size: 14px; font-weight: 700; color: #64748b; }
.fm-slot { display: block; width: 230px; height: 460px; }
[data-mode="phone"] .fw { grid-template-rows: 96px 58px 1fr; } [data-mode="phone"] .fw-top { align-items: end; padding: 0 16px 12px; }
[data-mode="phone"] .fw-rail { margin: 0 12px; } [data-mode="phone"] .fw-rail span { font-size: 0; padding-inline: 2px; gap: 0; } [data-mode="phone"] .fw-rail b { width: 24px; height: 24px; font-size: 12px; }
[data-mode="phone"] .fw-main { padding: 4px 12px 14px; position: relative; } [data-mode="phone"] .fw-card { padding: 16px; gap: 10px; }
[data-mode="phone"] .fw-card h4 { font-size: 22px; } [data-mode="phone"] .fw-themes { gap: 8px; } [data-mode="phone"] .fw-th { padding: 6px; font-size: 12px; } [data-mode="phone"] .fw-th i { height: 70px; }
[data-mode="phone"] .fw-pal { font-size: 13px; padding: 5px 10px 5px 6px; } [data-mode="phone"] .fw-go { flex-direction: column; align-items: start; gap: 8px; } [data-mode="phone"] .fw-go small { font-size: 12px; max-width: 200px; }
[data-mode="phone"] .fw-prev { position: absolute; inset-inline-end: 16px; bottom: 16px; width: auto; } [data-mode="phone"] .fw-prev p { display: none; } [data-mode="phone"] .fw-prev .fm-slot { width: 104px; height: 208px; }

/* the storefront that travels between beats (a phone, 250×500 at rest) */
.fs { position: absolute; left: 0; top: 0; width: 250px; height: 500px; border-radius: 30px; border: 7px solid #14112e; background: var(--fs-bg, #fff); color: var(--fs-ink, #1e1b3a); overflow: hidden; transform-origin: 50% 50%; box-shadow: 0 30px 50px -24px rgba(20, 17, 46, .5); font-size: 13px; }
.fs[data-pal="2"] { --fs-bg: #fff; --fs-ink: #1f2937; } .fs[data-theme="1"] { --fs-acc: #1f2937; } .fs[data-theme="0"] { --fs-bg: #f7f3ff; }
.fs-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px 8px; } .fs-bar b { font-size: 18px; font-weight: 900; } .fs-bar svg { width: 18px; height: 18px; }
.fs-hero { position: relative; margin: 0 10px; height: 170px; border-radius: 14px; overflow: hidden; }
.fs-hero img { width: 100%; height: 100%; object-fit: cover; }
.fs-hero p { position: absolute; inset-inline: 12px; bottom: 12px; display: grid; color: #fff; font-size: 19px; font-weight: 900; line-height: 1.15; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.fs-hero p span { grid-area: 1 / 1; }
.fs[data-theme="1"] .fs-hero p { font-weight: 500; letter-spacing: .01em; }
.fs-flow { padding: 10px; display: grid; gap: 8px; }
.fs-rv { border-radius: 12px; background: #fff7ed; padding: 8px 10px; } .fs-rv p { color: #f59e0b; letter-spacing: 2px; } .fs-rv small { font-size: 12px; }
.fs-g { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .fs-g p { display: grid; gap: 2px; } .fs-g img { width: 100%; height: 88px; object-fit: cover; border-radius: 10px; }
.fs-g b { font-size: 12px; } .fs-pr { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--fs-acc, #4f46e5); }
.fs-bun { display: flex; gap: 4px; } .fs-bun span { flex: 1; text-align: center; font-size: 10.5px; border: 1px solid #e2e8f0; border-radius: 8px; padding: 4px 2px; } .fs-bun .on { border-color: #4f46e5; color: #4f46e5; font-weight: 800; }

/* the admin shell: top bar, floating glass dock, pools */
.fa { background: #f8fafc; overflow: hidden; }
.fa-pools { position: absolute; inset: 0; background: radial-gradient(40% 50% at 90% 10%, rgba(251, 113, 133, .2), transparent 70%), radial-gradient(44% 54% at 8% 40%, rgba(96, 165, 250, .2), transparent 70%), radial-gradient(40% 50% at 50% 100%, rgba(167, 139, 250, .24), transparent 70%); }
.fa-top { position: relative; z-index: 3; height: 58px; display: flex; align-items: center; gap: 14px; padding: 0 22px; background: rgba(255, 255, 255, .82); border-bottom: 1px solid #e2e8f0; }
.fa-top > img { width: 76px; height: auto; }
.fa-s { flex: 1; max-width: 420px; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid #e2e8f0; color: #64748b; font-size: 15px; }
.fa-s.on { border-color: #a78bfa; box-shadow: 0 0 0 4px rgba(124, 58, 237, .14); }
.fa-s svg { width: 17px; height: 17px; flex: none; } .fa-q { color: #1e293b; font-weight: 600; white-space: nowrap; } .fa-ph { position: absolute; margin-inline-start: 26px; }
.fa-s kbd, .fa-r kbd { margin-inline-start: auto; font: 600 12px/1 var(--font); border: 1px solid #e2e8f0; border-radius: 6px; padding: 3px 6px; color: #64748b; background: #f8fafc; direction: ltr; }
.fa-new { display: inline-flex; align-items: center; gap: 4px; padding: 7px 14px; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 800; background: linear-gradient(110deg, #4f46e5, #7c3aed 52%, #c026d3); } .fa-new svg { width: 15px; height: 15px; }
.fa-ic { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #475569; transform-origin: 50% 10%; } .fa-ic svg { width: 21px; height: 21px; }
.fa-ic i { position: absolute; top: 2px; inset-inline-end: 2px; min-width: 16px; height: 16px; border-radius: 8px; background: #e11d48; color: #fff; font: 800 10px/16px var(--font); font-style: normal; text-align: center; }
.fa-clock { display: grid; overflow: hidden; height: 22px; font-weight: 800; font-variant-numeric: tabular-nums; color: #334155; } .fa-clock bdi { grid-area: 1 / 1; }
.fa-lang { display: flex; gap: 6px; font-size: 13px; color: #94a3b8; } .fa-lang b { color: #3730a3; }
.fa-av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e0e7ff; color: #3730a3; font-weight: 800; }
.fa-drop { position: absolute; top: 52px; inset-inline-start: 112px; width: 470px; padding: 8px; border-radius: 18px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 24px 50px -20px rgba(30, 41, 59, .35); transform-origin: 50% 0; display: grid; gap: 2px; }
.fa-r { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; font-size: 15px; }
.fa-r:first-child, .fa-r.hov { background: #eef2ff; }
.fa-r img, .fa-r__i { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; display: grid; place-items: center; background: #f1f5f9; font-weight: 800; color: #4f46e5; flex: none; } .fa-r__i svg { width: 16px; height: 16px; }
.fa-r em { font-style: normal; font-size: 12px; font-weight: 700; color: #64748b; background: #f1f5f9; border-radius: 999px; padding: 2px 8px; }
.fa-r--do b { color: #4338ca; } .fa-r--ask { color: #7c3aed; }
.fa-keys { position: absolute; z-index: 4; top: 76px; inset-inline-end: 24px; display: flex; gap: 6px; }
.fa-keys kbd { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 12px; background: #1e1b3a; color: #fff; font: 800 20px/1 var(--font); box-shadow: 0 4px 0 #0b0920; }
.fa-dock { position: absolute; z-index: 3; bottom: 16px; left: 0; right: 0; margin: auto; width: fit-content; display: flex; align-items: center; gap: 2px; padding: 6px; border-radius: 22px; background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .8); backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8); box-shadow: 0 20px 40px -18px rgba(30, 41, 59, .35); }
.fa-hl { position: absolute; left: 0; top: 6px; width: 100px; height: 52px; border-radius: 16px; background: #fff; box-shadow: 0 4px 12px -4px rgba(30, 41, 59, .2); transform-origin: 0 0; }
.fa-d { position: relative; width: 88px; height: 52px; display: grid; justify-items: center; align-content: center; gap: 2px; color: #64748b; font-size: 12.5px; font-weight: 700; } .fa-d svg { width: 21px; height: 21px; }
.fa-pb { position: relative; width: 58px; height: 58px; margin: -20px 6px 0; display: grid; place-items: center; } .fa-pb .hx-orb { --po: 54px !important; }
.fa-pb__x { position: absolute; inset: 2px; display: grid; place-items: center; border-radius: 17px; background: #1e1b3a; color: #fff; opacity: 0; } .fa-pb__x svg { width: 22px; height: 22px; }
.fm-m { position: absolute; z-index: 1; top: 76px; inset-inline: 26px; bottom: 100px; }
[data-mode="phone"] .fa-top { height: 100px; padding: 44px 12px 0; gap: 8px; flex-wrap: wrap; }
[data-mode="phone"] .fa-top > img { width: 60px; } [data-mode="phone"] .fa-new, [data-mode="phone"] .fa-lang, [data-mode="phone"] .fa-clock, [data-mode="phone"] .fa-s kbd { display: none; }
[data-mode="phone"] .fa-s { height: 36px; font-size: 14px; } [data-mode="phone"] .fa-drop { top: 92px; inset-inline: 8px; width: auto; } [data-mode="phone"] .fa-r kbd { display: none; } [data-mode="phone"] .fa-r { font-size: 13.5px; }
[data-mode="phone"] .fa-keys { top: 110px; inset-inline-end: 14px; }
[data-mode="phone"] .fa-dock { bottom: 14px; padding: 5px; } [data-mode="phone"] .fa-d { width: 46px; height: 46px; } [data-mode="phone"] .fa-d b { display: none; }
[data-mode="phone"] .fa-hl { width: 100px; height: 46px; top: 5px; border-radius: 14px; } [data-mode="phone"] .fa-pb { width: 50px; height: 50px; margin: -16px 2px 0; } [data-mode="phone"] .fa-pb .hx-orb { --po: 46px !important; }
[data-mode="phone"] .fm-m { top: 112px; inset-inline: 12px; bottom: 86px; }

/* 3 · the dashboard */
.fd-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; } .fd-h b { font-size: 26px; font-weight: 900; color: #1e293b; }
.fd-edit, .fpt-x { font-size: 14px; font-weight: 700; padding: 6px 14px; border-radius: 999px; border: 1px solid #e2e8f0; background: #fff; color: #475569; } .fd-edit.on { background: #1e1b3a; color: #fff; border-color: #1e1b3a; }
.fd-g { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: calc(100% - 56px); }
.fd-w { position: relative; border-radius: 22px; background: rgba(255, 255, 255, .86); border: 1px solid #e2e8f0; padding: 18px 20px; display: grid; align-content: start; gap: 4px; box-shadow: 0 20px 25px -5px rgba(148, 163, 184, .16); }
.fd-w small { font-size: 14px; font-weight: 700; color: #64748b; } .fd-w > b { font-size: 34px; font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.fd-w.lift { z-index: 2; box-shadow: 0 30px 50px -20px rgba(49, 46, 129, .45); }
.fd-w--rev { grid-row: span 2; color: #fff; border: 0; background: linear-gradient(140deg, #4f46e5, #7c3aed 52%, #c026d3); } .fd-w--rev small { color: rgba(255, 255, 255, .8); } .fd-w--rev > b { font-size: 46px; }
.fd-spark { width: 100%; height: 40%; margin-top: auto; align-self: end; } .fd-spark path { stroke: #fff; stroke-width: 3; }
.fd-up { color: #047857; font-weight: 800; font-size: 15px; } .fd-sub { color: #64748b; font-size: 14px; }
.fd-fun { display: grid; gap: 5px; margin-top: 6px; } .fd-fun i { height: 10px; width: calc(var(--w) * 100%); border-radius: 5px; background: linear-gradient(90deg, #a78bfa, #7c3aed); }
[data-mode="phone"] .fd-g { grid-template-columns: 1fr 1fr; grid-template-rows: 1.2fr 1fr 1fr; gap: 10px; } [data-mode="phone"] .fd-w--rev { grid-row: auto; grid-column: span 2; }
[data-mode="phone"] .fd-w { padding: 12px; border-radius: 18px; } [data-mode="phone"] .fd-w > b { font-size: 24px; } [data-mode="phone"] .fd-w--rev > b { font-size: 32px; } [data-mode="phone"] .fd-h b { font-size: 21px; } [data-mode="phone"] .fd-w small { font-size: 12px; }

/* 4 · the products table */
.fpt-rows { display: grid; gap: 8px; }
.fpt-r { position: relative; display: grid; grid-template-columns: 20px 46px 1fr 90px 110px 46px; align-items: center; gap: 12px; height: 62px; padding: 0 14px; border-radius: 16px; background: rgba(255, 255, 255, .9); border: 1px solid #e2e8f0; font-size: 16px; }
.fpt-r > svg { width: 18px; height: 18px; color: #94a3b8; } .fpt-r img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; } .fpt-r span { font-weight: 800; } .fpt-r small { color: #64748b; font-size: 14px; }
.fpt-r.lift { z-index: 2; box-shadow: 0 24px 40px -16px rgba(49, 46, 129, .45); border-color: #a78bfa; }
.fpt-tog { position: relative; width: 42px; height: 24px; border-radius: 12px; background: #cbd5e1; } .fpt-tog::after { content: ''; position: absolute; top: 3px; inset-inline-end: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.fpt-tog.on, .fpt-r:not([data-k="row1"]) .fpt-tog { background: #4f46e5; } .fpt-tog.on::after, .fpt-r:not([data-k="row1"]) .fpt-tog::after { inset-inline-end: auto; inset-inline-start: 3px; }
.fpt-hint { margin-top: 12px; font-size: 14px; color: #64748b; }
[data-mode="phone"] .fpt-r { grid-template-columns: 14px 40px 1fr 54px 40px; gap: 8px; height: 58px; padding: 0 10px; font-size: 14px; } [data-mode="phone"] .fpt-r small { display: none; } [data-mode="phone"] .fpt-r img { width: 40px; height: 40px; }
[data-mode="phone"] .fpt-x { display: none; }

/* 5 · the editor */
.fe { display: grid; grid-template-columns: 330px 1fr; grid-template-rows: 46px 1fr; gap: 12px 22px; }
.fe-tool { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 0 14px; border-radius: 14px; background: #fff; border: 1px solid #e2e8f0; color: #475569; } .fe-tool svg { width: 20px; height: 20px; }
.fe-tool small { font-weight: 800; font-size: 13px; margin-inline-start: -8px; } .fe-sep { width: 1px; height: 22px; background: #e2e8f0; }
.fe-pub { margin-inline-start: auto; padding: 6px 16px; border-radius: 999px; color: #fff; font-weight: 800; font-size: 14px; background: linear-gradient(110deg, #4f46e5, #7c3aed 52%, #c026d3); }
.fe-rail { position: relative; display: grid; align-content: start; gap: 8px; } .fe-k { font-size: 14px; font-weight: 700; color: #64748b; }
.fe-sec, .fe-ghost { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px; border-radius: 14px; background: #fff; border: 1px solid #e2e8f0; font-weight: 700; } .fe-sec svg, .fe-ghost svg { width: 18px; height: 18px; color: #94a3b8; }
.fe-sec--rv { border-style: dashed; border-color: #a78bfa; }
.fe-ghost { position: absolute; top: 140px; inset-inline: 0; z-index: 5; border-color: #7c3aed; box-shadow: 0 24px 40px -16px rgba(49, 46, 129, .5); }
.fe-ai { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 8px 8px 12px; border-radius: 16px; background: #fff; border: 1px solid #c4b5fd; box-shadow: 0 0 0 4px rgba(124, 58, 237, .08); min-height: 50px; }
.fe-ai__m { display: flex; gap: 4px; flex: none; } .fe-ai__q { flex: 1; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; }
.fe-send { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: #4f46e5; flex: none; } .fe-send svg { width: 17px; height: 17px; } [dir="rtl"] .fe-send svg { transform: scaleX(-1); }
.fe-chip { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13.5px; font-weight: 700; color: #4338ca; background: #eef2ff; border-radius: 999px; padding: 5px 12px; } .fe-chip svg { width: 15px; height: 15px; }
.fe-page { display: grid; place-items: center; border-radius: 18px; background: repeating-linear-gradient(45deg, rgba(148, 163, 184, .06) 0 10px, transparent 10px 20px); border: 1px dashed #cbd5e1; }
.fe-page .fm-slot { width: 206px; height: 412px; }
[data-mode="phone"] .fe { grid-template-columns: 1fr 150px; grid-template-rows: 40px 1fr; gap: 8px; }
[data-mode="phone"] .fe-tool { gap: 8px; padding: 0 8px; } [data-mode="phone"] .fe-tool svg { width: 16px; height: 16px; } [data-mode="phone"] .fe-tool > svg:nth-child(2) { display: none; }
[data-mode="phone"] .fe-sec, [data-mode="phone"] .fe-ghost { height: 42px; font-size: 14px; padding: 0 10px; } [data-mode="phone"] .fe-ghost { top: 122px; }
[data-mode="phone"] .fe-ai { padding: 6px 6px 6px 8px; } [data-mode="phone"] .fe-ai__m { display: none; } [data-mode="phone"] .fe-ai__q { font-size: 13px; } [data-mode="phone"] .fe-chip { font-size: 12px; }
[data-mode="phone"] .fe-page { border: 0; background: none; } [data-mode="phone"] .fe-page .fm-slot { width: 150px; height: 300px; }

/* 6 · money */
.fmo { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto 1fr; gap: 16px 22px; align-content: start; }
.fmo-o { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; height: 58px; padding: 0 18px; border-radius: 16px; background: #fff; border: 1px solid #e2e8f0; font-size: 16px; }
.fmo-o.on { border-color: #a78bfa; box-shadow: 0 0 0 4px rgba(124, 58, 237, .12); } .fmo-o b { flex: 1; } .fmo-o span { font-weight: 800; font-variant-numeric: tabular-nums; }
.fmo-o em { font-style: normal; font-size: 12.5px; font-weight: 800; color: #047857; background: #ecfdf5; border-radius: 999px; padding: 2px 10px; }
.fmo-card, .fmo-g { align-self: start; border-radius: 22px; background: #fff; border: 1px solid #e2e8f0; padding: 20px; box-shadow: 0 20px 25px -5px rgba(148, 163, 184, .16); display: grid; gap: 12px; }
.fmo-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .fmo-h b { font-size: 19px; font-weight: 900; }
.fmo-h em { font-style: normal; font-size: 12.5px; font-weight: 800; color: #6d28d9; background: #f1edff; border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.fmo-bar { position: relative; height: 26px; border-radius: 8px; background: #f1f5f9; overflow: hidden; }
.fmo-bar i { position: absolute; top: 0; bottom: 0; inset-inline-start: calc(var(--x) * 100%); width: calc(var(--w) * 100%); background: #94a3b8; border-inline-end: 2px solid #fff; }
.fmo-bar i:nth-child(2) { background: #a5b4fc; } .fmo-bar i:nth-child(3) { background: #cbd5e1; } .fmo-bar i:nth-child(4) { background: #c084fc; min-width: 3px; } .fmo-bar .fmo-net { background: #047857; }
.fmo-l { list-style: none; padding: 0; display: grid; gap: 6px; font-size: 15.5px; } .fmo-l li { display: flex; justify-content: space-between; } .fmo-l b { font-variant-numeric: tabular-nums; }
.fmo-l__net { border-top: 1px solid #e2e8f0; padding-top: 6px; font-weight: 900; color: #047857; font-size: 18px; }
.fmo-in { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 14px; border: 2px solid #e2e8f0; font-size: 18px; } .fmo-in span { color: #64748b; font-size: 15px; } .fmo-in bdi { font-weight: 800; font-variant-numeric: tabular-nums; }
.fmo-in .fp1__caret { height: 22px; width: 2px; } .fmo-in.bad { border-color: #e11d48; background: #fff1f2; } .fmo-in.bad bdi { color: #be123c; }
.fmo-stop { display: flex; gap: 8px; align-items: start; font-size: 14.5px; font-weight: 700; color: #be123c; } .fmo-stop svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
[data-mode="phone"] .fmo { grid-template-columns: 1fr; gap: 10px; } [data-mode="phone"] .fmo-card, [data-mode="phone"] .fmo-g { padding: 14px; gap: 8px; } [data-mode="phone"] .fmo-l { font-size: 13.5px; gap: 3px; } [data-mode="phone"] .fmo-o { height: 48px; font-size: 14px; gap: 8px; padding: 0 12px; }
[data-mode="phone"] .fmo-h b { font-size: 16px; } [data-mode="phone"] .fmo-in { height: 42px; } [data-mode="phone"] .fmo-stop { font-size: 12.5px; } [data-mode="phone"] .fmo-l__net { font-size: 15px; }

/* 7 · the hub (in the world, around the shrunken window) */
.fh { position: absolute; inset: 0; }
.fh-lines { position: absolute; left: 0; top: 0; overflow: visible; } .fh-lines line { stroke: rgba(34, 211, 238, .5); stroke-width: 1.6; }
.fh-t { position: absolute; width: 62px; height: 62px; border-radius: 18px; background: #fff; display: grid; place-items: center; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .6); overflow: hidden; }
.fh-t .mk-tile { display: grid; place-items: center; width: 100%; height: 100%; } .fh-t img.mk, .fh-t svg.mk { max-width: 50px; }
[data-mode="phone"] .fh-t { width: 48px; height: 48px; border-radius: 14px; } [data-mode="phone"] .fh-t .mk { transform: scale(.8); }
.fh-dot { position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 0 5px rgba(34, 211, 238, .25); }
.fh-tip { position: absolute; translate: -50% -100%; white-space: nowrap; padding: 7px 12px; border-radius: 10px; background: #fff; color: #1e293b; font-size: 15px; font-weight: 700; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.fm-b--card { display: grid; place-items: center; align-content: center; gap: 4px; text-align: center; }
.fm-b--card img { width: 120px; height: auto; } .fm-b--card p { font-weight: 800; color: #475569; font-size: 16px; }
.fh-87 { margin-top: 6px; font-size: 12.5px; font-weight: 800; color: #0e7490; background: #ecfeff; border-radius: 999px; padding: 3px 10px; }
.fh-own { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: 13px; color: rgba(226, 232, 240, .7); }
[data-mode="phone"] .fm-b--card img { width: 90px; } [data-mode="phone"] .fh-own { font-size: 11px; bottom: 8px; padding: 0 12px; }

/* 8 · the outside assistant */
.fc { position: absolute; top: 196px; inset-inline-end: 56px; width: 390px; display: grid; gap: 10px; padding: 16px; border-radius: 22px; background: #151e33; border: 1px solid #243049; color: #e2e8f0; font-size: 15.5px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7); }
.fc-h { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid #243049; } .fc-h span { display: flex; gap: 6px; padding: 4px 8px; border-radius: 10px; background: #fff; }
.fc-me { justify-self: end; max-width: 86%; padding: 9px 14px; border-radius: 16px 16px 4px 16px; background: #4f46e5; color: #fff; }
[dir="rtl"] .fc-me { justify-self: start; border-radius: 16px 16px 16px 4px; }
.fc-ai { max-width: 90%; padding: 10px 14px; border-radius: 16px; background: #1e293b; display: grid; gap: 6px; } .fc-t { display: grid; gap: 3px; font-size: 14px; color: #94a3b8; } .fc-t span { display: flex; justify-content: space-between; gap: 18px; } .fc-t bdi { color: #e2e8f0; font-weight: 700; }
.fc-ok { display: flex; align-items: center; gap: 6px; color: #6ee7b7; font-weight: 700; } .fc-ok svg { width: 18px; height: 18px; }
.fc-sw { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #94a3b8; justify-self: center; }
.fc-tg { position: relative; width: 46px; height: 26px; border-radius: 13px; background: #334155; } .fc-tg::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.fc-tg.on { background: #22d3ee; } .fc-tg.on::after { inset-inline-start: auto; inset-inline-end: 3px; }
.fc-in { display: flex; align-items: center; justify-content: space-between; padding: 6px 6px 6px 14px; border-radius: 14px; background: #0b1121; color: #64748b; font-size: 14px; }
.fc-link { position: absolute; top: 50%; inset-inline-end: 100%; width: 316px; height: 0; border-top: 2px dashed rgba(34, 211, 238, .7); }
.fc-link b { position: absolute; top: -14px; left: 50%; translate: -50% 0; font: 800 12px/1 var(--font); letter-spacing: .08em; color: #0b1121; background: #22d3ee; padding: 4px 8px; border-radius: 6px; direction: ltr; }
[data-mode="phone"] .fc { top: 392px; inset-inline: 14px; width: auto; padding: 10px 12px; gap: 6px; font-size: 13.5px; } [data-mode="phone"] .fc-h { padding-bottom: 6px; } [data-mode="phone"] .fc-me, [data-mode="phone"] .fc-ai { padding: 7px 12px; } [data-mode="phone"] .fc-in { padding-block: 3px; }
[data-mode="phone"] .fc-link { top: auto; bottom: 100%; inset-inline-end: auto; inset-inline-start: 50%; width: 0; height: 74px; border-top: 0; border-inline-start: 2px dashed rgba(34, 211, 238, .7); } [data-mode="phone"] .fc-link b { top: 30px; left: 0; }

/* 9–10 · Pulse */
.fpu-veil { position: absolute; inset: -80px -30px -120px; background: #1e1b3a; opacity: 0; z-index: 0; border-radius: 0; }
.fpu-w { position: absolute; z-index: 2; inset-inline-start: 50%; bottom: -8px; width: 560px; height: 500px; margin-inline-start: -280px; display: grid; align-content: start; gap: 12px; padding: 18px 22px; border-radius: 28px; background: rgba(255, 255, 255, .92); border: 1.5px solid transparent; background-clip: padding-box; box-shadow: 0 0 0 1.5px #a78bfa, 0 40px 80px -30px rgba(49, 46, 129, .6); transform-origin: 50% 100%; overflow: hidden; }
.fpu-h { display: flex; align-items: center; gap: 10px; } .fpu-h b { font-size: 19px; font-weight: 900; } .fpu-h small { color: #64748b; } .fpu-h > svg { width: 20px; height: 20px; margin-inline-start: auto; color: #94a3b8; }
.fpu-msg { font-size: 18px; line-height: 1.5; min-height: 27px; }
.fpu-l { list-style: none; padding: 0; display: grid; gap: 8px; } .fpu-l li { padding: 11px 14px; border-radius: 14px; background: #f8fafc; border: 1px solid #e2e8f0; font-size: 16px; } .fpu-l li.hi { background: #fff7ed; border-color: #fdba74; font-weight: 700; }
.fpu-brief { position: absolute; inset-inline-end: 22px; bottom: 22px; width: 190px; padding: 12px; border-radius: 18px; background: #1e1b3a; color: #fff; display: grid; gap: 8px; box-shadow: 0 20px 40px -16px rgba(30, 27, 58, .6); }
.fpu-brief p { font-size: 13px; font-weight: 800; } .fpu-brief > span:not(.hx-orb) { display: flex; align-items: end; gap: 8px; height: 70px; } .fpu-brief > span:not(.hx-orb) i { flex: 1; height: calc(var(--h) * 100%); border-radius: 6px 6px 2px 2px; background: linear-gradient(#fde68a, #f59e0b); transform-origin: 50% 100%; }
.fpu-brief .hx-orb { position: absolute; top: -12px; inset-inline-start: -12px; }
.fpu-bell { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 12px 24px -14px rgba(30, 41, 59, .4); } .fpu-bell svg { width: 22px; height: 22px; color: #e11d48; flex: none; }
.fpu-bell span { display: grid; } .fpu-bell small { color: #64748b; font-size: 13.5px; }
.fpu-prev { display: grid; gap: 10px; padding: 14px; border-radius: 18px; border: 1px solid #e2e8f0; background: #fff; }
.fpu-k { font-size: 13.5px; font-weight: 800; color: #7c3aed; }
.fpu-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .fpu-ba p { display: grid; padding: 10px 12px; border-radius: 12px; background: #f8fafc; } .fpu-ba small { color: #64748b; font-size: 13px; } .fpu-ba b { font-size: 22px; font-variant-numeric: tabular-nums; }
.fpu-ba .on { background: #eef2ff; } .fpu-ba .on b { color: #4338ca; }
.fpu-acts { display: flex; gap: 10px; } .fpu-acts span { padding: 9px 20px; border-radius: 999px; font-weight: 800; font-size: 15px; background: #f1f5f9; color: #475569; }
.fpu-acts .yes { color: #fff; background: linear-gradient(110deg, #4f46e5, #7c3aed 52%, #c026d3); } .fpu-acts .yes.hov { box-shadow: 0 0 0 5px rgba(124, 58, 237, .2); }
.fpu-ok { display: flex; align-items: center; gap: 6px; font-weight: 800; color: #047857; } .fpu-ok svg { width: 18px; height: 18px; }
[data-mode="phone"] .fpu-w { width: auto; inset-inline: 0; margin: 0; bottom: -4px; height: 560px; padding: 14px; gap: 9px; } [data-mode="phone"] .fpu-msg { font-size: 15.5px; } [data-mode="phone"] .fpu-l li { font-size: 14px; padding: 9px 11px; }
[data-mode="phone"] .fpu-brief { width: 150px; inset-inline-end: 14px; bottom: 14px; } [data-mode="phone"] .fpu-ba b { font-size: 18px; } [data-mode="phone"] .fpu-acts span { padding: 8px 14px; font-size: 14px; }

/* 11 · the change log */
.flg { display: grid; grid-template-columns: 1fr 250px; gap: 26px; align-items: center; }
.flg-p { border-radius: 24px; background: #fff; border: 1px solid #e2e8f0; padding: 20px; display: grid; gap: 12px; box-shadow: 0 20px 25px -5px rgba(148, 163, 184, .16); }
.flg ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.flg li { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid #e2e8f0; font-size: 16px; } .flg li small { grid-column: 1; grid-row: 2; color: #64748b; font-size: 13.5px; }
.flg li em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-weight: 800; font-size: 14px; color: #4338ca; border: 1px solid #c7d2fe; border-radius: 999px; padding: 5px 14px; }
.flg li.off { background: #f8fafc; color: #94a3b8; } .flg li.off em { color: #94a3b8; border-color: #e2e8f0; }
.flg-shop { display: grid; place-items: center; } .flg-shop .fm-slot { width: 220px; height: 440px; }
[data-mode="phone"] .flg { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 10px; align-items: start; } [data-mode="phone"] .flg-p { padding: 12px; gap: 8px; } [data-mode="phone"] .flg li { font-size: 13.5px; padding: 9px 10px; }
[data-mode="phone"] .flg li small { font-size: 12px; } [data-mode="phone"] .flg-shop .fm-slot { width: 110px; height: 220px; }

/* 12–13 · the price, the way in */
.fpr { display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; }
.fpr-n { position: relative; display: flex; align-items: baseline; gap: 22px; } .fpr-n bdi { font-size: 150px; font-weight: 900; line-height: 1; letter-spacing: -.04em; background: linear-gradient(110deg, #4f46e5, #7c3aed 52%, #c026d3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fpr-n s { font-size: 46px; font-weight: 800; color: #94a3b8; }
.fpr-l { font-size: 28px; font-weight: 900; } .fpr-s { display: inline-flex; align-items: center; gap: 8px; color: #047857; font-weight: 700; } .fpr-s svg { width: 20px; height: 20px; }
[data-mode="phone"] .fpr-n bdi { font-size: 110px; } [data-mode="phone"] .fpr-n s { font-size: 32px; } [data-mode="phone"] .fpr-l { font-size: 21px; padding: 0 16px; } [data-mode="phone"] .fpr-s { font-size: 15px; }
.fct { display: flex; align-items: center; gap: 22px; padding-inline: 22px; } .fct > img { width: 96px; height: auto; }
.fct-b { margin-inline-start: auto; padding: 16px 30px; border-radius: 999px; color: #fff; font-weight: 800; font-size: 20px; background: linear-gradient(110deg, #4f46e5, #7c3aed 52%, #c026d3); box-shadow: 0 16px 30px -12px rgba(124, 58, 237, .6); }
[data-mode="phone"] .fct { flex-direction: column; justify-content: center; gap: 10px; } [data-mode="phone"] .fct .hx-orb { --po: 44px !important; } [data-mode="phone"] .fct-b { margin: 0; font-size: 17px; padding: 13px 24px; }

/* the cursor, the touch dot, the press ring */
.fm-cur { position: absolute; left: 0; top: 0; z-index: 20; width: 34px; height: 48px; transform-origin: 3px 3px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); opacity: 0; }
.fm-touch { position: absolute; left: 0; top: 0; z-index: 20; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .55); border: 2px solid rgba(30, 27, 58, .55); opacity: 0; }
.fm-ring { position: absolute; left: 0; top: 0; z-index: 19; width: 44px; height: 44px; border-radius: 50%; border: 2px solid #7c3aed; opacity: 0; }

/* title, example tag, captions, controls */
.film__ttl { position: absolute; z-index: 2; top: 2.1cqw; left: 0; right: 0; margin: 0; text-align: center; pointer-events: none; font-size: clamp(14px, 2.5cqw, 30px); font-weight: 900; color: var(--ink); line-height: 1.2; }
.film__ttl span { display: inline-block; }
.film__frame.is-night .film__ttl { color: #fff; }
.film__frame[data-mode="phone"].is-night .film__ttl { color: var(--ink); }
.film__frame[data-mode="phone"] .film__ttl { position: static; order: -1; font-size: clamp(18px, 5cqw, 24px); margin-bottom: 8px; min-height: 2.4em; display: grid; place-items: center; }
.film__ex { position: absolute; z-index: 2; bottom: 1.4cqw; inset-inline-end: 2cqw; font-size: 12px; font-weight: 700; color: var(--muted); background: rgba(255, 255, 255, .8); padding: 2px 8px; border-radius: 999px; pointer-events: none; }
.film__frame[data-mode="phone"] .film__ex { position: static; margin-top: 6px; }
.film__go { position: absolute; z-index: 3; left: 50%; top: 50%; translate: -50% -50%; width: 30%; height: 12%; border-radius: 999px; color: transparent; font-size: 1px; opacity: 0; pointer-events: none; }
.film.is-end .film__go { pointer-events: auto; }
.film__go:focus-visible { opacity: 1; outline: 3px solid var(--violet); outline-offset: 4px; }
.film__big { position: absolute; z-index: 4; left: 50%; top: 50%; translate: -50% -50%; width: 76px; height: 76px; border-radius: 50%; border: 0; background: rgba(30, 27, 58, .82); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.film__big svg { width: 34px; height: 34px; fill: currentColor; stroke: none; } [dir="rtl"] .film__big svg { transform: scaleX(-1); }
.film.is-started .film__big, .film.is-end .film__big, .film.is-still .film__big, html:not(.js) .film__big { display: none; }
.film__cap { min-height: 3.3em; margin: 14px auto 0; max-width: 46ch; text-align: center; }
.film__cap span { display: inline; padding: 4px 10px; border-radius: 8px; background: rgba(30, 27, 58, .86); color: #fff; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.75; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.film__cap span:empty { display: none; }
.film__ctl { width: min(100%, 860px); margin-top: 10px; display: flex; align-items: center; gap: 10px; }
.film__ctl > button { flex: none; display: grid; place-items: center; height: 38px; min-width: 38px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.film__ctl > button[hidden] { display: none; }
.film__ctl > button svg { width: 18px; height: 18px; }
.film__pp .i-play { fill: currentColor; stroke: none; display: none; } .film:not(.is-playing) .film__pp .i-play { display: block; } .film:not(.is-playing) .film__pp .i-pause { display: none; }
[dir="rtl"] .film__pp .i-play { transform: scaleX(-1); transform-origin: 12px 12px; }
.film__cc[aria-pressed="false"], .film__vo[aria-pressed="false"] { color: var(--muted); text-decoration: line-through; }
.film__ch { flex: 1; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.film__ch li { flex: 1; display: flex; }
.film__ch button { flex: 1; position: relative; height: 22px; border: 0; padding: 0; background: none; cursor: pointer; }
.film__ch button::before, .film__ch button::after { content: ''; position: absolute; inset-inline: 0; top: 9px; height: 4px; border-radius: 4px; background: #dcd8ee; }
.film__ch button::after { background: var(--grad); transform: scaleX(var(--p, 0)); transform-origin: 100% 50%; }
[dir="ltr"] .film__ch button::after { transform-origin: 0 50%; }
.film__ch button > * { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.film__ch button:hover::before { background: #c4bde6; }
.film__scrub { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.film__scrub:focus-visible { position: static; width: 120px; height: auto; opacity: 1; }
.film__text { width: min(100%, 860px); margin-top: 14px; font-size: 15.5px; color: var(--muted); }
.film__text summary { cursor: pointer; font-weight: 700; color: var(--ink); text-align: center; }
.film__text ol { margin: 10px 0 0; padding-inline-start: 22px; display: grid; gap: 6px; } .film__text b { color: var(--ink); }
.film__logos { width: min(100%, 980px); margin-top: 26px; display: grid; justify-items: center; gap: 10px; text-align: center; }
.film__logos p { font-size: 14px; font-weight: 800; color: var(--muted); }
.film__logos > span { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px; }
.film__logos i { display: grid; place-items: center; height: 30px; opacity: .85; } .film__logos .mk-tile { display: grid; place-items: center; padding: 3px 6px; border-radius: 6px; }
.film__logos small { font-size: 12.5px; color: var(--muted); }

/* reduce motion: no autoplay; the chapters become cards that show each beat's settled frame */
.film.is-still .film__pp, .film.is-still .film__rp, .film.is-still .film__scrub { display: none; }
.film.is-still .film__ch { overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px; }
.film.is-still .film__ch li { flex: 0 0 210px; scroll-snap-align: start; }
.film.is-still .film__ch button { height: auto; display: grid; gap: 4px; text-align: start; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: inherit; color: var(--ink); }
.film.is-still .film__ch button::before, .film.is-still .film__ch button::after { display: none; }
.film.is-still .film__ch button > * { position: static; width: auto; height: auto; clip: auto; white-space: normal; overflow: visible; }
.film.is-still .film__ch b { font-size: 13px; color: var(--violet); } .film.is-still .film__ch span { font-weight: 800; font-size: 15px; } .film.is-still .film__ch small { font-size: 13px; color: var(--muted); line-height: 1.45; }
.film.is-still .film__ch [aria-current] { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124, 58, 237, .15); }
/* no JavaScript: the words, not the stage */
html:not(.js) .film__frame, html:not(.js) .film__ctl, html:not(.js) .film__modes, html:not(.js) .film__cap { display: none; }

@media (max-width: 760px) {
  .film { padding-top: 44px; }
  .film__ctl { flex-wrap: wrap; } .film__ch { order: -1; flex-basis: 100%; }
  .film.is-still .film__ch { flex-basis: auto; }
}

/* ── The product in its dark theme (21.10.2026) ─────────────────────────────────────────────────────────
   Inside the window, the admin as it is now in dark mode, one to one: its tokens (admin.css,
   :root[data-admin-theme="dark"]), the top bar of four (logo, "search or ask Pulse", +, bell, avatar),
   the dark glass dock with the Pulse squircle and its label, the cyan→purple page titles. Around the
   window the stage stays light, the "space" beats included: dark is for the product, not the page. */
.fm-stage {
  --d-page: #0b1121; --d-card: #151e33; --d-card-2: #1a2440; --d-line: #243049; --d-line-2: #334155;
  --d-ink: #e2e8f0; --d-muted: #a8b4c6; --d-faint: #8a98ae; --d-cyan: #22d3ee; --d-cyan-2: #67e8f9;
  --d-weak: #12344a; --d-ok: #34d399; --d-bad: #fca5a5;
  --d-head: linear-gradient(90deg, #22d3ee, #c084fc);
  --d-btn: linear-gradient(110deg, #4f46e5, #7c3aed 52%, #c026d3);
  --d-pools: radial-gradient(58% 55% at 36% 54%, rgba(126, 34, 206, .38), transparent 70%), radial-gradient(48% 46% at 94% 4%, rgba(79, 70, 229, .3), transparent 70%), radial-gradient(44% 50% at 0 100%, rgba(8, 145, 178, .32), transparent 70%);
}
.fm-bg--night { background: radial-gradient(40% 50% at 82% 20%, rgba(79, 70, 229, .16), transparent 70%), radial-gradient(44% 54% at 12% 78%, rgba(8, 145, 178, .14), transparent 70%), radial-gradient(36% 46% at 50% 50%, rgba(147, 51, 234, .12), transparent 70%), #eef0fb; }
.film__frame.is-night .film__ttl { color: var(--ink); }
.fm-win { background: var(--d-pools), var(--d-page); color: var(--d-ink); box-shadow: 0 0 0 1px rgba(148, 163, 184, .16), 0 40px 80px -30px rgba(15, 12, 50, .6); }

/* 1 · the pill */
.fp1__t { color: #fff; } .fp1__caret { background: var(--d-cyan); }

/* 2 · the wizard */
.fw { background: transparent; }
.fw-top { background: rgba(11, 17, 33, .72); border-color: var(--d-line); }
.fw-saved { color: var(--d-ok); }
.fw-rail::before { background: var(--d-line); }
.fw-rail span { color: var(--d-faint); background: none; }
.fw-rail b { background: var(--d-card); border-color: var(--d-line-2); }
.fw-rail span.on { color: var(--d-ink); } .fw-rail span.on b { border-color: #7c3aed; background: #7c3aed; }
.fw-card { background: var(--d-card); border-color: var(--d-line); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .25); }
.fw-k { color: var(--d-cyan); } .fw-card h4 { color: #fff; }
.fw-th { border-color: var(--d-line-2); color: var(--d-ink); }
.fw-th.on, .fw-pal.on { border-color: #a78bfa; box-shadow: 0 0 0 4px rgba(167, 139, 250, .2); }
.fw-pal { border-color: var(--d-line-2); color: var(--d-ink); } .fw-pal i { border-color: var(--d-line-2); }
.fw-go small, .fw-prev p { color: var(--d-muted); }

/* the admin shell: the top bar of the real admin (logo · search or ask · allowance ring · + · bell · help · avatar), its tab row,
   the floating dark-glass dock. Tokens read from the running admin (dark mode, 24.10.2026). */
.fa { background: transparent; }
.fa-pools { background: none; }
.fa-top { height: 64px; gap: 16px; padding: 0 24px; background: rgba(15, 23, 42, .4); border-color: rgba(51, 65, 85, .5); box-shadow: 0 1px 2px rgba(0, 0, 0, .4); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.fa-top > img { width: 84px; flex: none; }
.fa-s { position: relative; flex: 1; min-width: 0; overflow: hidden; max-width: none; height: 46px; margin: 0; padding: 0 16px; background: rgba(21, 30, 51, .8); border: 1px solid rgba(51, 65, 85, .6); color: var(--d-faint); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.fa-s.on { border-color: var(--d-cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .16); }
.fa-q { color: var(--d-ink); font-weight: 500; }
.fa-ph { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: calc(100% - 120px); }
.fa-s kbd, .fa-r kbd { background: rgba(255, 255, 255, .06); border-color: transparent; color: var(--d-muted); }
.fa-s kbd { position: absolute; inset-inline-end: 14px; top: 50%; translate: 0 -50%; }
.fa-end { flex: none; display: flex; align-items: center; gap: 10px; }
.fa-ring { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: conic-gradient(#8b5cf6 0 55%, rgba(139, 92, 246, .2) 0); }
.fa-ring::before { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: #0f172a; }
.fa-ring b { position: relative; font: 700 10px/1 var(--font); color: #e2e8f0; }
.fa-new { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; background: #4f46e5; box-shadow: 0 10px 15px -3px rgba(124, 58, 237, .28), 0 4px 6px -4px rgba(124, 58, 237, .28); }
.fa-new svg { width: 22px; height: 22px; stroke-width: 2.4; }
.fa-ic { width: 44px; height: 44px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(51, 65, 85, .5); box-shadow: 0 1px 2px rgba(0, 0, 0, .4); color: var(--d-cyan); }
.fa-ic i { top: -5px; inset-inline-end: -5px; min-width: 22px; height: 20px; border-radius: 10px; background: linear-gradient(135deg, #7c3aed, #a855f7); font-size: 11px; line-height: 20px; box-shadow: 0 0 0 2px rgba(15, 23, 42, .9); }
.fa-help { background: none; border-color: transparent; box-shadow: none; color: #cbd5e1; } .fa-help svg { width: 24px; height: 24px; }
.fa-clock { display: none; }
.fa-av { width: 46px; height: 46px; background: radial-gradient(circle at 50% 30%, #3b2a78, #12102b 75%); border: 2px solid rgba(165, 180, 252, .35); color: #fff; }
.fa-av svg { width: 38px; height: 38px; fill: none; stroke: #e0e7ff; stroke-width: 1.8; } .fa-av__crown { fill: #fde68a; stroke: #f59e0b; stroke-width: 1; }
.fa-drop { inset-inline-start: 120px; margin-inline-start: 0; top: 58px; width: 520px; background: rgba(15, 23, 42, .96); border-color: rgba(51, 65, 85, .7); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8); color: var(--d-ink); }
.fa-r:first-child, .fa-r.hov { background: rgba(34, 211, 238, .1); }
.fa-r img, .fa-r__i { background: #1e293b; color: var(--d-cyan); }
.fa-r em { background: rgba(255, 255, 255, .06); color: var(--d-muted); }
.fa-r--do b { color: #a5b4fc; } .fa-r--ask { color: #c084fc; }
.fa-keys { top: 82px; }
.fa-keys kbd { background: #f8fafc; color: #0b1121; box-shadow: 0 4px 0 #94a3b8; }
/* the tab row: the area's own tabs, the open one white and bold under the indigo→pink line */
.fa-tabw { position: absolute; z-index: 2; top: 64px; inset-inline: 0; height: 40px; }
.fa-tabs { position: absolute; inset: 0; margin: 0; display: none; align-items: stretch; gap: 2px; padding-inline: 20px; overflow: hidden; white-space: nowrap; border-bottom: 1px solid rgba(51, 65, 85, .5); }
.fa-tabs.on { display: flex; }
.fa-tabs span { position: relative; display: flex; align-items: center; padding: 0 12px; font-size: 16px; font-weight: 500; color: #cbd5e1; }
.fa-tabs span.on { color: #fff; font-weight: 700; }
.fa-tabs span.on::after { content: ''; position: absolute; inset-inline: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, #6366f1, #ec4899); }
.fa-dock { gap: 4px; padding: 6px; border-radius: 24px; background: rgba(15, 23, 42, .62); border-color: rgba(148, 163, 184, .22); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6); }
.fa-hl { height: 56px; border-radius: 18px; background: rgba(255, 255, 255, .14); box-shadow: none; }
.fa-d { width: 84px; height: 56px; color: #cbd5e1; font-weight: 600; font-size: 13.5px; } .fa-d svg { width: 24px; height: 24px; stroke-width: 1.8; }
.fa-n { position: absolute; top: 0; inset-inline-end: 16px; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 10px; background: #dc2626; color: #fff; font: 700 12px/20px var(--font); font-style: normal; text-align: center; box-shadow: 0 0 0 2px rgba(15, 23, 42, .9); }
.fa-dot { position: absolute; top: 4px; inset-inline-end: 26px; width: 8px; height: 8px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 0 2px #151e33; }
.fa-pb { width: auto; height: auto; margin: -30px 10px 0; display: grid; justify-items: center; gap: 1px; }
.fa-pb > b { font-size: 13.5px; font-weight: 700; color: #e9d5ff; }
.fa-pb__x { inset: 0 auto auto 50%; translate: -50% 0; width: 54px; height: 54px; border-radius: 32%; background: linear-gradient(135deg, #6366f1, #8b5cf6 55%, #d946ef); box-shadow: 0 0 0 4px rgba(15, 23, 42, .9); }
.fm-m { top: 118px; inset-inline: 32px; bottom: 104px; }
[data-mode="phone"] .fa-top { height: 104px; padding: 46px 12px 0; gap: 8px; flex-wrap: nowrap; }
[data-mode="phone"] .fa-top > img { width: 64px; } [data-mode="phone"] .fa-s { height: 40px; margin: 0; min-width: 0; } [data-mode="phone"] .fa-s kbd, [data-mode="phone"] .fa-ring, [data-mode="phone"] .fa-help { display: none; }
[data-mode="phone"] .fa-new, [data-mode="phone"] .fa-ic, [data-mode="phone"] .fa-av { width: 38px; height: 38px; }
[data-mode="phone"] .fa-new { display: grid; } [data-mode="phone"] .fa-end { gap: 6px; } [data-mode="phone"] .fa-av svg { width: 30px; height: 30px; }
[data-mode="phone"] .fa-tabw { top: 104px; height: 36px; } [data-mode="phone"] .fa-tabs { padding-inline: 8px; } [data-mode="phone"] .fa-tabs span { padding: 0 9px; font-size: 14px; } [data-mode="phone"] .fa-tabs span.on::after { inset-inline: 9px; }
[data-mode="phone"] .fa-drop { margin: 0; inset-inline: 8px; top: 98px; width: auto; }
/* On a phone the admin keeps its labels under the icons, smaller. */
[data-mode="phone"] .fa-dock { gap: 0; padding: 4px; }
[data-mode="phone"] .fa-d { width: 48px; height: 52px; } [data-mode="phone"] .fa-d b { display: block; font-size: 10px; white-space: nowrap; } [data-mode="phone"] .fa-d svg { width: 21px; height: 21px; }
[data-mode="phone"] .fa-hl { height: 52px; top: 4px; } [data-mode="phone"] .fa-n { inset-inline-end: 4px; top: 0; min-width: 17px; height: 17px; font-size: 10px; line-height: 17px; padding: 0 4px; } [data-mode="phone"] .fa-dot { inset-inline-end: 10px; top: 3px; width: 7px; height: 7px; }
[data-mode="phone"] .fa-pb { margin: -22px 2px 0; } [data-mode="phone"] .fa-pb > b { font-size: 10px; } [data-mode="phone"] .fa-pb__x { width: 46px; height: 46px; }
[data-mode="phone"] .fm-m { top: 150px; inset-inline: 12px; bottom: 88px; }

/* the admin's page header: the title in cyan→purple on a tinted band, a quiet line under it; its cards are glass */
.fd-h { margin-bottom: 12px; }
.fd-h b { color: #fff; font-weight: 700; }
.fd-edit, .fpt-x, .fe-btn { display: inline-flex; align-items: center; gap: 8px; background: rgba(30, 41, 59, .75); border: 1px solid rgba(100, 116, 139, .4); color: var(--d-ink); border-radius: 16px; font-weight: 700; padding: 8px 16px; font-size: 15px; }
.fd-edit svg { width: 16px; height: 16px; } .fd-edit.on { background: var(--d-ink); color: var(--d-page); border-color: var(--d-ink); }

/* 3 · the dashboard: the admin's own — greeting, the chips, glass cards, the green chart with its dashed "previous period" */
.fd-h { gap: 18px; justify-content: flex-start; } .fd-edit { margin-inline-start: auto; }
.fd-hi { display: grid; } .fd-hi b { font-size: 26px; font-weight: 700; line-height: 1.15; } .fd-hi small { font-size: 14px; color: var(--d-muted); }
.fd-chips { display: flex; gap: 8px; } .fd-chips i { font-style: normal; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--d-ink); background: rgba(21, 30, 51, .72); border: 1px solid rgba(51, 65, 85, .5); } .fd-chips .on { background: #4f46e5; border-color: #4f46e5; color: #fff; box-shadow: 0 8px 18px -8px rgba(99, 102, 241, .8); }
.fd-g { height: calc(100% - 70px); gap: 14px; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); } .fd-w { min-height: 0; overflow: hidden; }
.fd-w { background: rgba(21, 30, 51, .72); border: 1px solid rgba(51, 65, 85, .5); border-radius: 20px; padding: 16px 20px; box-shadow: none; }
.fd-t { display: flex; align-items: center; gap: 10px; } .fd-t b { font-size: 16.5px; font-weight: 600; color: #fff; } .fd-tag { padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(51, 65, 85, .6); font-size: 12.5px; font-weight: 600; color: var(--d-ink); }
.fd-w > b.fd-n { font-size: 34px; font-weight: 700; letter-spacing: -.01em; color: #fff; } .fd-w--rev > b.fd-n { font-size: 42px; }
.fd-w.lift { box-shadow: 0 0 0 1.5px var(--d-cyan), 0 30px 50px -20px rgba(0, 0, 0, .7); }
.fd-w--rev { color: var(--d-ink); background: rgba(21, 30, 51, .72); border: 1px solid rgba(51, 65, 85, .5); }
.fd-spark { width: 100%; height: 46%; margin-top: auto; overflow: visible; }
.fd-spark path { fill: none; } .fd-grid path { stroke: rgba(148, 163, 184, .16); stroke-width: 1; vector-effect: non-scaling-stroke; }
.fd-prevl { stroke: rgba(226, 232, 240, .45) !important; stroke-width: 1.6 !important; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.fd-line { stroke: #34d399 !important; stroke-width: 2.4 !important; vector-effect: non-scaling-stroke; } .fd-area { fill: rgba(52, 211, 153, .14) !important; stroke: none !important; }
.fd-spark .fd-end { fill: #0b1121; stroke: #34d399; stroke-width: 2; }
.fd-up { color: var(--d-ok); font-weight: 700; } .fd-sub { color: var(--d-muted); }
.fd-fun i { background: linear-gradient(90deg, #22d3ee, #a78bfa); }
[data-mode="phone"] .fd-chips { display: none; } [data-mode="phone"] .fd-hi b { font-size: 21px; } [data-mode="phone"] .fd-hi small { font-size: 12px; } [data-mode="phone"] .fd-edit { padding: 6px 12px; font-size: 13px; } [data-mode="phone"] .fd-edit svg { display: none; }
[data-mode="phone"] .fd-g { height: calc(100% - 56px); } [data-mode="phone"] .fd-w { padding: 12px; border-radius: 18px; } [data-mode="phone"] .fd-w > b.fd-n { font-size: 24px; } [data-mode="phone"] .fd-w--rev > b.fd-n { font-size: 30px; } [data-mode="phone"] .fd-t b { font-size: 13.5px; }

/* 4 · the products: the page header band, the table card with the admin's columns */
.fpt-top .fd-h { align-items: center; padding: 14px 22px; margin: 0 0 12px; border-radius: 28px 0 0 28px; background: linear-gradient(90deg, rgba(16, 185, 129, .2), rgba(79, 70, 229, .12) 60%, transparent); }
.fpt-hi { display: grid; margin-inline-end: auto; } .fpt-hi b { font-size: 28px; line-height: 1.1; font-weight: 700; background: var(--d-head); -webkit-background-clip: text; background-clip: text; color: transparent; } .fpt-hi small { font-size: 14.5px; color: var(--d-ink); }
.fpt-new { padding: 10px 20px; border-radius: 16px; font-weight: 700; color: #fff; font-size: 15px; background: linear-gradient(135deg, #4f46e5, #9333ea); box-shadow: 0 10px 22px -8px rgba(124, 58, 237, .7); }
.fpt-card { border-radius: 20px; background: rgba(21, 30, 51, .72); border: 1px solid rgba(51, 65, 85, .5); overflow: hidden; }
.fpt-th, .fpt-r { display: grid; grid-template-columns: 22px 46px 1fr 130px 90px 80px; align-items: center; gap: 14px; padding: 0 20px; }
.fpt-th { height: 40px; font-size: 14px; font-weight: 700; color: var(--d-ink); background: rgba(255, 255, 255, .03); border-bottom: 1px solid rgba(51, 65, 85, .5); }
.fpt-rows { gap: 0; }
.fpt-r { height: 58px; border-radius: 0; border: 0; border-bottom: 1px solid rgba(51, 65, 85, .45); background: transparent; color: var(--d-ink); font-size: 16px; }
.fpt-r:last-child { border-bottom: 0; }
.fpt-r > svg { color: #64748b; width: 16px; height: 16px; } .fpt-r img { width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(51, 65, 85, .7); }
.fpt-nm { display: grid; min-width: 0; line-height: 1.25; } .fpt-nm b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fpt-nm small { font-size: 12.5px; color: var(--d-muted); text-align: start; }
.fpt-r span { font-weight: 500; } .fpt-p { font-weight: 700 !important; }
.fpt-q { color: var(--d-ink); }
.fpt-st { display: flex; align-items: center; gap: 10px; font-weight: 600 !important; }
.fpt-st em { font-style: normal; font-size: 13px; font-weight: 700; }
.fpt-tog { width: 40px; height: 22px; background: #334155; flex: none; } .fpt-tog::after { width: 16px; height: 16px; top: 3px; inset-inline-end: 3px; }
.fpt-r:not([data-k="row1"]) .fpt-tog, .fpt-tog.on { background: #4f46e5; }
.fpt-on { display: none; color: #34d399; } .fpt-off { color: var(--d-muted); }
.fpt-r:not([data-k="row1"]) .fpt-on, .fpt-tog.on ~ .fpt-on { display: inline; } .fpt-r:not([data-k="row1"]) .fpt-off, .fpt-tog.on ~ .fpt-off { display: none; }
.fpt-r.lift { background: #1a2440; border-radius: 14px; border: 1px solid var(--d-cyan); box-shadow: 0 24px 40px -16px rgba(0, 0, 0, .7); }
.fpt-hint { margin-top: 10px; color: var(--d-muted); font-size: 13.5px; }
[data-mode="phone"] .fpt-top .fd-h { padding: 10px 14px; } [data-mode="phone"] .fpt-hi b { font-size: 22px; } [data-mode="phone"] .fpt-x { display: none; } [data-mode="phone"] .fpt-new { padding: 8px 14px; font-size: 13px; }
[data-mode="phone"] .fpt-th, [data-mode="phone"] .fpt-r { grid-template-columns: 12px 36px 1fr 74px 52px; gap: 8px; padding: 0 10px; } [data-mode="phone"] .fpt-th > :nth-child(6), [data-mode="phone"] .fpt-q { display: none; } [data-mode="phone"] .fpt-st em { display: none !important; }
[data-mode="phone"] .fpt-r { height: 54px; font-size: 14px; } [data-mode="phone"] .fpt-r img { width: 36px; height: 36px; } [data-mode="phone"] .fpt-nm small { display: none; } [data-mode="phone"] .fpt-th { font-size: 12.5px; } [data-mode="phone"] .fpt-r > svg { width: 12px; }

/* 5 · the editor: the real toolbar (Admin ‹ · page · undo/redo · device · style · versions · language · Publish), the section list under its cyan header */
.fe { grid-template-columns: 330px 1fr; grid-template-rows: 48px 1fr; gap: 12px 22px; }
.fe-tool { gap: 10px; padding: 0 12px; border-radius: 14px; background: rgba(21, 30, 51, .85); border: 1px solid rgba(51, 65, 85, .6); color: var(--d-ink); font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.fe-tool svg { width: 17px; height: 17px; } .fe-back, .fe-sel, .fe-ur { display: inline-flex; align-items: center; gap: 6px; color: var(--d-muted); } .fe-sel { padding: 6px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: #fff; font-size: 15px; } .fe-ur { gap: 10px; }
.fe-seg { display: inline-flex; padding: 3px; border-radius: 12px; background: rgba(255, 255, 255, .06); } .fe-seg > * { padding: 5px 12px; border-radius: 9px; color: var(--d-muted); } .fe-seg b { background: rgba(255, 255, 255, .12); color: #fff; }
.fe-btn { padding: 6px 12px; border-radius: 12px; font-size: 13.5px; } .fe-btn svg { width: 15px; height: 15px; }
.fe-lang { display: inline-flex; gap: 6px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .06); } .fe-lang > * { padding: 3px 9px; border-radius: 999px; color: var(--d-muted); } .fe-lang b { background: rgba(34, 211, 238, .18); color: var(--d-cyan-2); }
.fe-pub { margin-inline-start: auto; padding: 7px 16px; border-radius: 12px; color: #fff; font-weight: 700; font-size: 14px; background: linear-gradient(135deg, #4f46e5, #9333ea); }
.fe-k { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; color: var(--d-ink); } .fe-k i { width: 3px; height: 15px; border-radius: 2px; background: var(--d-cyan); } .fe-k span { margin-inline-start: auto; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 12px; letter-spacing: 0; font-weight: 600; color: var(--d-ink); }
.fe-sec, .fe-ghost { height: 46px; background: rgba(21, 30, 51, .72); border: 1px solid rgba(51, 65, 85, .5); color: var(--d-ink); font-weight: 600; font-size: 15px; } .fe-sec svg, .fe-ghost svg { color: #64748b; width: 16px; height: 16px; }
.fe-sec--rv { border: 1px dashed var(--d-cyan); }
.fe-ghost { top: 150px; background: #1a2440; border-color: var(--d-cyan); box-shadow: 0 24px 40px -16px rgba(0, 0, 0, .7); }
.fe-ai { min-height: 48px; border-radius: 14px; background: rgba(21, 30, 51, .72); border: 1px dashed rgba(34, 211, 238, .55); box-shadow: none; }
.fe-ai__m { padding: 3px 6px; border-radius: 8px; background: #fff; } .fe-ai__q { color: var(--d-cyan-2); }
.fe-send { background: #4f46e5; }
.fe-chip { color: var(--d-cyan-2); background: rgba(34, 211, 238, .1); }
.fe-page { border-radius: 14px; background: linear-gradient(rgba(255, 255, 255, .035), rgba(255, 255, 255, .02)); border: 1px solid rgba(51, 65, 85, .5); }
[data-mode="phone"] .fe { grid-template-columns: 1fr 150px; grid-template-rows: 40px 1fr; gap: 8px; }
[data-mode="phone"] .fe-tool { gap: 8px; padding: 0 8px; } [data-mode="phone"] .fe-tool > :not(.fe-ur):not(.fe-pub):not(.fe-back) { display: none; } [data-mode="phone"] .fe-back { font-size: 13px; }
[data-mode="phone"] .fe-k span { display: none; } [data-mode="phone"] .fe-sec, [data-mode="phone"] .fe-ghost { height: 40px; font-size: 13px; padding: 0 8px; gap: 6px; } [data-mode="phone"] .fe-ghost { top: 120px; }

/* 6 · money: the admin's cards — a small label, the figure, the quiet line under it */
.fmo-o, .fmo-card, .fmo-g { background: rgba(21, 30, 51, .72); border: 1px solid rgba(51, 65, 85, .5); border-radius: 20px; color: var(--d-ink); box-shadow: none; }
.fmo-o { border-radius: 16px; } .fmo-o.on { border-color: var(--d-cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .14); }
.fmo-o em { color: #34d399; background: rgba(52, 211, 153, .14); }
.fmo-h b { font-size: 17px; font-weight: 600; } .fmo-h em { color: #c4b5fd; background: rgba(139, 92, 246, .18); font-weight: 700; }
.fmo-bar { background: #1e293b; }
.fmo-bar i { background: #64748b; border-color: #151e33; }
.fmo-bar i:nth-child(2) { background: #818cf8; } .fmo-bar i:nth-child(3) { background: #475569; } .fmo-bar i:nth-child(4) { background: #c084fc; } .fmo-bar .fmo-net { background: #34d399; }
.fmo-l span { color: var(--d-muted); } .fmo-l b { font-weight: 600; } .fmo-l__net span { color: #34d399; } .fmo-l__net { color: #34d399; border-color: rgba(51, 65, 85, .6); }
.fmo-in { border-color: #334155; background: rgba(11, 17, 33, .6); } .fmo-in span { color: var(--d-muted); }
.fmo-in.bad { border-color: #f87171; background: rgba(127, 29, 29, .3); } .fmo-in.bad bdi { color: var(--d-bad); }
.fmo-stop { color: var(--d-bad); }

/* 7–8 · the hub and the outside assistant, on the light stage */
.fh-lines line { stroke: rgba(79, 70, 229, .32); }
.fh-t { box-shadow: 0 0 0 1px rgba(79, 70, 229, .1), 0 16px 30px -16px rgba(49, 46, 129, .45); }
.fh-dot { background: #7c3aed; box-shadow: 0 0 0 5px rgba(124, 58, 237, .2); }
.fh-tip { box-shadow: 0 0 0 1px var(--line), 0 10px 24px -10px rgba(49, 46, 129, .4); }
.fm-b--card p { color: var(--d-muted); }
.fh-87 { color: var(--d-cyan-2); background: var(--d-weak); }
.fh-own { color: var(--muted); }
.fc { box-shadow: 0 0 0 1px rgba(148, 163, 184, .16), 0 30px 60px -24px rgba(15, 12, 50, .6); }
.fc-link { border-color: rgba(79, 70, 229, .55); } .fc-link b { background: #4f46e5; color: #fff; }
[data-mode="phone"] .fc-link { border-color: rgba(79, 70, 229, .55); }

/* 9–10 · Pulse: the real window — "Pulse / New conversation" and its five buttons, the greeting with the face, the field and "Send" at the foot */
.fpu-veil { background: #05070f; }
.fpu-w { border: 1.5px solid transparent; border-radius: 26px; background: linear-gradient(#171233, #120f2b) padding-box, linear-gradient(160deg, #6366f1, #a855f7 55%, #7c3aed) border-box; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 60px -22px rgba(168, 85, 247, .6); color: var(--d-ink); padding: 0 22px; gap: 8px; height: 466px; bottom: 8px; }
.fpu-h { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 10px; margin: 0 -22px; padding-inline: 22px; border-bottom: 1px solid rgba(148, 163, 184, .18); }
.fpu-ht { display: grid; line-height: 1.2; } .fpu-ht b { font-size: 19px; font-weight: 700; color: #fff; } .fpu-ht small { font-size: 13px; color: var(--d-muted); font-weight: 400; }
.fpu-hi { display: flex; gap: 20px; color: #cbd5e1; } .fpu-hi svg { width: 20px; height: 20px; position: static; }
.fpu-gr { display: flex; align-items: flex-start; gap: 12px; margin-top: 4px; } .fpu-gr .hx-orb { flex: none; margin-top: 2px; }
.fpu-msg { font-size: 16.5px; line-height: 1.4; min-height: 24px; color: #fff; }
.fpu-prev { padding: 12px; gap: 8px; } .fpu-ba p { padding: 8px 12px; } .fpu-ba b { font-size: 20px; } .fpu-acts span { padding: 8px 18px; font-size: 14.5px; } .fpu-bell { padding: 10px 14px; }
.fpu-l li { background: rgba(255, 255, 255, .05); border-color: rgba(129, 140, 248, .28); border-radius: 14px; font-size: 15.5px; }
.fpu-l li.hi { background: rgba(255, 255, 255, .07); border-inline-start: 3px solid #fca5a5; color: #fff; font-weight: 600; }
.fpu-brief { inset-inline-end: 22px; bottom: 98px; width: 176px; padding: 10px; background: rgba(21, 30, 51, .85); border: 1px solid rgba(51, 65, 85, .6); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .7); }
.fpu-bell { background: rgba(21, 30, 51, .72); border-color: rgba(51, 65, 85, .5); box-shadow: none; } .fpu-bell svg { color: #f87171; } .fpu-bell small { color: var(--d-muted); }
.fpu-prev { background: rgba(21, 30, 51, .72); border-color: rgba(51, 65, 85, .5); }
.fpu-k { color: #c084fc; }
.fpu-ba p { background: rgba(11, 17, 33, .7); } .fpu-ba small { color: var(--d-muted); }
.fpu-ba .on { background: rgba(34, 211, 238, .1); } .fpu-ba .on b { color: var(--d-cyan-2); }
.fpu-acts span { background: rgba(255, 255, 255, .08); color: #cbd5e1; border-radius: 14px; }
.fpu-acts .yes { background: linear-gradient(135deg, #4f46e5, #9333ea); color: #fff; }
.fpu-ok { color: #34d399; }
.fpu-in { position: absolute; inset-inline: 22px; bottom: 14px; display: grid; gap: 8px; }
.fpu-box { padding: 11px 16px; border-radius: 16px; border: 1.5px solid rgba(139, 92, 246, .75); background: rgba(11, 17, 33, .55); color: #8a98ae; font-size: 15px; }
.fpu-foot { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #cbd5e1; } .fpu-ics { display: flex; align-items: center; gap: 12px; } .fpu-ics svg { width: 19px; height: 19px; color: #cbd5e1; }
.fpu-ck { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 4px; background: #22d3ee; color: #0b1121; } .fpu-ck svg { width: 12px; height: 12px; color: #0b1121; stroke-width: 3.2; }
.fpu-send { margin-inline-start: auto; padding: 8px 22px; border-radius: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #4f46e5, #9333ea); opacity: .6; }
[data-mode="phone"] .fpu-w { height: 534px; bottom: 6px; padding: 0 14px; } [data-mode="phone"] .fpu-h { margin: 0 -14px; padding-inline: 14px; } [data-mode="phone"] .fpu-in { inset-inline: 14px; } [data-mode="phone"] .fpu-msg { font-size: 15px; } [data-mode="phone"] .fpu-hi { gap: 14px; } [data-mode="phone"] .fpu-brief { bottom: 96px; width: 150px; }

/* 11 · the change log */
.flg { display: grid; grid-template-columns: 1fr 250px; gap: 26px; align-items: center; }
.flg-p { border-radius: 24px; background: #fff; border: 1px solid #e2e8f0; padding: 20px; display: grid; gap: 12px; box-shadow: 0 20px 25px -5px rgba(148, 163, 184, .16); }
.flg ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.flg li { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid #e2e8f0; font-size: 16px; } .flg li small { grid-column: 1; grid-row: 2; color: #64748b; font-size: 13.5px; }
.flg li em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-weight: 800; font-size: 14px; color: #4338ca; border: 1px solid #c7d2fe; border-radius: 999px; padding: 5px 14px; }
.flg li.off { background: #f8fafc; color: #94a3b8; } .flg li.off em { color: #94a3b8; border-color: #e2e8f0; }
.flg-shop { display: grid; place-items: center; } .flg-shop .fm-slot { width: 220px; height: 440px; }
[data-mode="phone"] .flg { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 10px; align-items: start; } [data-mode="phone"] .flg-p { padding: 12px; gap: 8px; } [data-mode="phone"] .flg li { font-size: 13.5px; padding: 9px 10px; }
[data-mode="phone"] .flg li small { font-size: 12px; } [data-mode="phone"] .flg-shop .fm-slot { width: 110px; height: 220px; }

/* 12–13 · the price, the way in */
.fpr { display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; }
.fpr-n { position: relative; display: flex; align-items: baseline; gap: 22px; } .fpr-n bdi { font-size: 150px; font-weight: 900; line-height: 1; letter-spacing: -.04em; background: linear-gradient(110deg, #4f46e5, #7c3aed 52%, #c026d3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fpr-n s { font-size: 46px; font-weight: 800; color: #94a3b8; }
.fpr-l { font-size: 28px; font-weight: 900; } .fpr-s { display: inline-flex; align-items: center; gap: 8px; color: #047857; font-weight: 700; } .fpr-s svg { width: 20px; height: 20px; }
[data-mode="phone"] .fpr-n bdi { font-size: 110px; } [data-mode="phone"] .fpr-n s { font-size: 32px; } [data-mode="phone"] .fpr-l { font-size: 21px; padding: 0 16px; } [data-mode="phone"] .fpr-s { font-size: 15px; }
.fct { display: flex; align-items: center; gap: 22px; padding-inline: 22px; } .fct > img { width: 96px; height: auto; }
.fct-b { margin-inline-start: auto; padding: 16px 30px; border-radius: 999px; color: #fff; font-weight: 800; font-size: 20px; background: linear-gradient(110deg, #4f46e5, #7c3aed 52%, #c026d3); box-shadow: 0 16px 30px -12px rgba(124, 58, 237, .6); }
[data-mode="phone"] .fct { flex-direction: column; justify-content: center; gap: 10px; } [data-mode="phone"] .fct .hx-orb { --po: 44px !important; } [data-mode="phone"] .fct-b { margin: 0; font-size: 17px; padding: 13px 24px; }

/* the cursor, the touch dot, the press ring */
.fm-cur { position: absolute; left: 0; top: 0; z-index: 20; width: 34px; height: 48px; transform-origin: 3px 3px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); opacity: 0; }
.fm-touch { position: absolute; left: 0; top: 0; z-index: 20; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .55); border: 2px solid rgba(30, 27, 58, .55); opacity: 0; }
.fm-ring { position: absolute; left: 0; top: 0; z-index: 19; width: 44px; height: 44px; border-radius: 50%; border: 2px solid #7c3aed; opacity: 0; }

/* title, example tag, captions, controls */
.film__ttl { position: absolute; z-index: 2; top: 2.1cqw; left: 0; right: 0; margin: 0; text-align: center; pointer-events: none; font-size: clamp(14px, 2.5cqw, 30px); font-weight: 900; color: var(--ink); line-height: 1.2; }
.film__ttl span { display: inline-block; }
.film__frame.is-night .film__ttl { color: #fff; }
.film__frame[data-mode="phone"].is-night .film__ttl { color: var(--ink); }
.film__frame[data-mode="phone"] .film__ttl { position: static; order: -1; font-size: clamp(18px, 5cqw, 24px); margin-bottom: 8px; min-height: 2.4em; display: grid; place-items: center; }
.film__ex { position: absolute; z-index: 2; bottom: 1.4cqw; inset-inline-end: 2cqw; font-size: 12px; font-weight: 700; color: var(--muted); background: rgba(255, 255, 255, .8); padding: 2px 8px; border-radius: 999px; pointer-events: none; }
.film__frame[data-mode="phone"] .film__ex { position: static; margin-top: 6px; }
.film__go { position: absolute; z-index: 3; left: 50%; top: 50%; translate: -50% -50%; width: 30%; height: 12%; border-radius: 999px; color: transparent; font-size: 1px; opacity: 0; pointer-events: none; }
.film.is-end .film__go { pointer-events: auto; }
.film__go:focus-visible { opacity: 1; outline: 3px solid var(--violet); outline-offset: 4px; }
.film__big { position: absolute; z-index: 4; left: 50%; top: 50%; translate: -50% -50%; width: 76px; height: 76px; border-radius: 50%; border: 0; background: rgba(30, 27, 58, .82); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.film__big svg { width: 34px; height: 34px; fill: currentColor; stroke: none; } [dir="rtl"] .film__big svg { transform: scaleX(-1); }
.film.is-started .film__big, .film.is-end .film__big, .film.is-still .film__big, html:not(.js) .film__big { display: none; }
.film__cap { min-height: 3.3em; margin: 14px auto 0; max-width: 46ch; text-align: center; }
.film__cap span { display: inline; padding: 4px 10px; border-radius: 8px; background: rgba(30, 27, 58, .86); color: #fff; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.75; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.film__cap span:empty { display: none; }
.film__ctl { width: min(100%, 860px); margin-top: 10px; display: flex; align-items: center; gap: 10px; }
.film__ctl > button { flex: none; display: grid; place-items: center; height: 38px; min-width: 38px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.film__ctl > button[hidden] { display: none; }
.film__ctl > button svg { width: 18px; height: 18px; }
.film__pp .i-play { fill: currentColor; stroke: none; display: none; } .film:not(.is-playing) .film__pp .i-play { display: block; } .film:not(.is-playing) .film__pp .i-pause { display: none; }
[dir="rtl"] .film__pp .i-play { transform: scaleX(-1); transform-origin: 12px 12px; }
.film__cc[aria-pressed="false"], .film__vo[aria-pressed="false"] { color: var(--muted); text-decoration: line-through; }
.film__ch { flex: 1; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.film__ch li { flex: 1; display: flex; }
.film__ch button { flex: 1; position: relative; height: 22px; border: 0; padding: 0; background: none; cursor: pointer; }
.film__ch button::before, .film__ch button::after { content: ''; position: absolute; inset-inline: 0; top: 9px; height: 4px; border-radius: 4px; background: #dcd8ee; }
.film__ch button::after { background: var(--grad); transform: scaleX(var(--p, 0)); transform-origin: 100% 50%; }
[dir="ltr"] .film__ch button::after { transform-origin: 0 50%; }
.film__ch button > * { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.film__ch button:hover::before { background: #c4bde6; }
.film__scrub { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.film__scrub:focus-visible { position: static; width: 120px; height: auto; opacity: 1; }
.film__text { width: min(100%, 860px); margin-top: 14px; font-size: 15.5px; color: var(--muted); }
.film__text summary { cursor: pointer; font-weight: 700; color: var(--ink); text-align: center; }
.film__text ol { margin: 10px 0 0; padding-inline-start: 22px; display: grid; gap: 6px; } .film__text b { color: var(--ink); }
.film__logos { width: min(100%, 980px); margin-top: 26px; display: grid; justify-items: center; gap: 10px; text-align: center; }
.film__logos p { font-size: 14px; font-weight: 800; color: var(--muted); }
.film__logos > span { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px; }
.film__logos i { display: grid; place-items: center; height: 30px; opacity: .85; } .film__logos .mk-tile { display: grid; place-items: center; padding: 3px 6px; border-radius: 6px; }
.film__logos small { font-size: 12.5px; color: var(--muted); }

/* reduce motion: no autoplay; the chapters become cards that show each beat's settled frame */
.film.is-still .film__pp, .film.is-still .film__rp, .film.is-still .film__scrub { display: none; }
.film.is-still .film__ch { overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px; }
.film.is-still .film__ch li { flex: 0 0 210px; scroll-snap-align: start; }
.film.is-still .film__ch button { height: auto; display: grid; gap: 4px; text-align: start; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: inherit; color: var(--ink); }
.film.is-still .film__ch button::before, .film.is-still .film__ch button::after { display: none; }
.film.is-still .film__ch button > * { position: static; width: auto; height: auto; clip: auto; white-space: normal; overflow: visible; }
.film.is-still .film__ch b { font-size: 13px; color: var(--violet); } .film.is-still .film__ch span { font-weight: 800; font-size: 15px; } .film.is-still .film__ch small { font-size: 13px; color: var(--muted); line-height: 1.45; }
.film.is-still .film__ch [aria-current] { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124, 58, 237, .15); }
/* no JavaScript: the words, not the stage */
html:not(.js) .film__frame, html:not(.js) .film__ctl, html:not(.js) .film__modes, html:not(.js) .film__cap { display: none; }

@media (max-width: 760px) {
  .film { padding-top: 44px; }
  .film__ctl { flex-wrap: wrap; } .film__ch { order: -1; flex-basis: 100%; }
  .film.is-still .film__ch { flex-basis: auto; }
}

/* ── The product in its dark theme (21.10.2026) ─────────────────────────────────────────────────────────
   Inside the window, the admin as it is now in dark mode, one to one: its tokens (admin.css,
   :root[data-admin-theme="dark"]), the top bar of four (logo, "search or ask Pulse", +, bell, avatar),
   the dark glass dock with the Pulse squircle and its label, the cyan→purple page titles. Around the
   window the stage stays light, the "space" beats included: dark is for the product, not the page. */
.fm-stage {
  --d-page: #0b1121; --d-card: #151e33; --d-card-2: #1a2440; --d-line: #243049; --d-line-2: #334155;
  --d-ink: #e2e8f0; --d-muted: #a8b4c6; --d-faint: #8a98ae; --d-cyan: #22d3ee; --d-cyan-2: #67e8f9;
  --d-weak: #12344a; --d-ok: #34d399; --d-bad: #fca5a5;
  --d-head: linear-gradient(90deg, #22d3ee, #c084fc);
  --d-btn: linear-gradient(110deg, #4f46e5, #7c3aed 52%, #c026d3);
  --d-pools: radial-gradient(58% 55% at 36% 54%, rgba(126, 34, 206, .38), transparent 70%), radial-gradient(48% 46% at 94% 4%, rgba(79, 70, 229, .3), transparent 70%), radial-gradient(44% 50% at 0 100%, rgba(8, 145, 178, .32), transparent 70%);
}
.fm-bg--night { background: radial-gradient(40% 50% at 82% 20%, rgba(79, 70, 229, .16), transparent 70%), radial-gradient(44% 54% at 12% 78%, rgba(8, 145, 178, .14), transparent 70%), radial-gradient(36% 46% at 50% 50%, rgba(147, 51, 234, .12), transparent 70%), #eef0fb; }
.film__frame.is-night .film__ttl { color: var(--ink); }
.fm-win { background: var(--d-pools), var(--d-page); color: var(--d-ink); box-shadow: 0 0 0 1px rgba(148, 163, 184, .16), 0 40px 80px -30px rgba(15, 12, 50, .6); }

/* 1 · the pill */
.fp1__t { color: #fff; } .fp1__caret { background: var(--d-cyan); }

/* 2 · the wizard */
.fw { background: transparent; }
.fw-top { background: rgba(11, 17, 33, .72); border-color: var(--d-line); }
.fw-saved { color: var(--d-ok); }
.fw-rail::before { background: var(--d-line); }
.fw-rail span { color: var(--d-faint); background: none; }
.fw-rail b { background: var(--d-card); border-color: var(--d-line-2); }
.fw-rail span.on { color: var(--d-ink); } .fw-rail span.on b { border-color: #7c3aed; background: #7c3aed; }
.fw-card { background: var(--d-card); border-color: var(--d-line); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .25); }
.fw-k { color: var(--d-cyan); } .fw-card h4 { color: #fff; }
.fw-th { border-color: var(--d-line-2); color: var(--d-ink); }
.fw-th.on, .fw-pal.on { border-color: #a78bfa; box-shadow: 0 0 0 4px rgba(167, 139, 250, .2); }
.fw-pal { border-color: var(--d-line-2); color: var(--d-ink); } .fw-pal i { border-color: var(--d-line-2); }
.fw-go small, .fw-prev p { color: var(--d-muted); }

/* the admin shell: the top bar of the real admin (logo · search or ask · allowance ring · + · bell · help · avatar), its tab row,
   the floating dark-glass dock. Tokens read from the running admin (dark mode, 24.10.2026). */
.fa { background: transparent; }
.fa-pools { background: none; }
.fa-top { height: 64px; gap: 16px; padding: 0 24px; background: rgba(15, 23, 42, .4); border-color: rgba(51, 65, 85, .5); box-shadow: 0 1px 2px rgba(0, 0, 0, .4); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.fa-top > img { width: 84px; flex: none; }
.fa-s { position: relative; flex: 1; max-width: none; height: 46px; margin: 0; padding: 0 16px; background: rgba(21, 30, 51, .8); border: 1px solid rgba(51, 65, 85, .6); color: var(--d-faint); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.fa-s.on { border-color: var(--d-cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .16); }
.fa-q { color: var(--d-ink); font-weight: 500; }
.fa-ph { overflow: hidden; white-space: nowrap; }
.fa-s kbd, .fa-r kbd { background: rgba(255, 255, 255, .06); border-color: transparent; color: var(--d-muted); }
.fa-s kbd { position: absolute; inset-inline-end: 14px; top: 50%; translate: 0 -50%; }
.fa-end { flex: none; display: flex; align-items: center; gap: 10px; }
.fa-ring { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: conic-gradient(#8b5cf6 0 55%, rgba(139, 92, 246, .2) 0); }
.fa-ring::before { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: #0f172a; }
.fa-ring b { position: relative; font: 700 10px/1 var(--font); color: #e2e8f0; }
.fa-new { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; background: #4f46e5; box-shadow: 0 10px 15px -3px rgba(124, 58, 237, .28), 0 4px 6px -4px rgba(124, 58, 237, .28); }
.fa-new svg { width: 22px; height: 22px; stroke-width: 2.4; }
.fa-ic { width: 44px; height: 44px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(51, 65, 85, .5); box-shadow: 0 1px 2px rgba(0, 0, 0, .4); color: var(--d-cyan); }
.fa-ic i { top: -5px; inset-inline-end: -5px; min-width: 22px; height: 20px; border-radius: 10px; background: linear-gradient(135deg, #7c3aed, #a855f7); font-size: 11px; line-height: 20px; box-shadow: 0 0 0 2px rgba(15, 23, 42, .9); }
.fa-help { background: none; border-color: transparent; box-shadow: none; color: #cbd5e1; } .fa-help svg { width: 24px; height: 24px; }
.fa-clock { display: none; }
.fa-av { width: 46px; height: 46px; background: radial-gradient(circle at 50% 30%, #3b2a78, #12102b 75%); border: 2px solid rgba(165, 180, 252, .35); color: #fff; }
.fa-av svg { width: 38px; height: 38px; fill: none; stroke: #e0e7ff; stroke-width: 1.8; } .fa-av__crown { fill: #fde68a; stroke: #f59e0b; stroke-width: 1; }
.fa-drop { inset-inline-start: 120px; margin-inline-start: 0; top: 58px; width: 520px; background: rgba(15, 23, 42, .96); border-color: rgba(51, 65, 85, .7); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8); color: var(--d-ink); }
.fa-r:first-child, .fa-r.hov { background: rgba(34, 211, 238, .1); }
.fa-r img, .fa-r__i { background: #1e293b; color: var(--d-cyan); }
.fa-r em { background: rgba(255, 255, 255, .06); color: var(--d-muted); }
.fa-r--do b { color: #a5b4fc; } .fa-r--ask { color: #c084fc; }
.fa-keys { top: 82px; }
.fa-keys kbd { background: #f8fafc; color: #0b1121; box-shadow: 0 4px 0 #94a3b8; }
/* the tab row: the area's own tabs, the open one white and bold under the indigo→pink line */
.fa-tabw { position: absolute; z-index: 2; top: 64px; inset-inline: 0; height: 40px; }
.fa-tabs { position: absolute; inset: 0; margin: 0; display: none; align-items: stretch; gap: 2px; padding-inline: 20px; overflow: hidden; white-space: nowrap; border-bottom: 1px solid rgba(51, 65, 85, .5); }
.fa-tabs.on { display: flex; }
.fa-tabs span { position: relative; display: flex; align-items: center; padding: 0 12px; font-size: 16px; font-weight: 500; color: #cbd5e1; }
.fa-tabs span.on { color: #fff; font-weight: 700; }
.fa-tabs span.on::after { content: ''; position: absolute; inset-inline: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, #6366f1, #ec4899); }
.fa-dock { gap: 4px; padding: 6px; border-radius: 24px; background: rgba(15, 23, 42, .62); border-color: rgba(148, 163, 184, .22); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6); }
.fa-hl { height: 56px; border-radius: 18px; background: rgba(255, 255, 255, .14); box-shadow: none; }
.fa-d { width: 84px; height: 56px; color: #cbd5e1; font-weight: 600; font-size: 13.5px; } .fa-d svg { width: 24px; height: 24px; stroke-width: 1.8; }
.fa-n { position: absolute; top: 0; inset-inline-end: 16px; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 10px; background: #dc2626; color: #fff; font: 700 12px/20px var(--font); font-style: normal; text-align: center; box-shadow: 0 0 0 2px rgba(15, 23, 42, .9); }
.fa-dot { position: absolute; top: 4px; inset-inline-end: 26px; width: 8px; height: 8px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 0 2px #151e33; }
.fa-pb { width: auto; height: auto; margin: -30px 10px 0; display: grid; justify-items: center; gap: 1px; }
.fa-pb > b { font-size: 13.5px; font-weight: 700; color: #e9d5ff; }
.fa-pb__x { inset: 0 auto auto 50%; translate: -50% 0; width: 54px; height: 54px; border-radius: 32%; background: linear-gradient(135deg, #6366f1, #8b5cf6 55%, #d946ef); box-shadow: 0 0 0 4px rgba(15, 23, 42, .9); }
.fm-m { top: 118px; inset-inline: 32px; bottom: 104px; }
[data-mode="phone"] .fa-top { height: 104px; padding: 46px 12px 0; gap: 8px; flex-wrap: nowrap; }
[data-mode="phone"] .fa-top > img { width: 64px; } [data-mode="phone"] .fa-s { height: 40px; margin: 0; min-width: 0; } [data-mode="phone"] .fa-s kbd, [data-mode="phone"] .fa-ring, [data-mode="phone"] .fa-help { display: none; }
[data-mode="phone"] .fa-new, [data-mode="phone"] .fa-ic, [data-mode="phone"] .fa-av { width: 38px; height: 38px; }
[data-mode="phone"] .fa-new { display: grid; } [data-mode="phone"] .fa-end { gap: 6px; } [data-mode="phone"] .fa-av svg { width: 30px; height: 30px; }
[data-mode="phone"] .fa-tabw { top: 104px; height: 36px; } [data-mode="phone"] .fa-tabs { padding-inline: 8px; } [data-mode="phone"] .fa-tabs span { padding: 0 9px; font-size: 14px; } [data-mode="phone"] .fa-tabs span.on::after { inset-inline: 9px; }
[data-mode="phone"] .fa-drop { margin: 0; inset-inline: 8px; top: 98px; width: auto; }
/* On a phone the admin keeps its labels under the icons, smaller. */
[data-mode="phone"] .fa-dock { gap: 0; padding: 4px; }
[data-mode="phone"] .fa-d { width: 48px; height: 52px; } [data-mode="phone"] .fa-d b { display: block; font-size: 10px; white-space: nowrap; } [data-mode="phone"] .fa-d svg { width: 21px; height: 21px; }
[data-mode="phone"] .fa-hl { height: 52px; top: 4px; } [data-mode="phone"] .fa-n { inset-inline-end: 4px; top: 0; min-width: 17px; height: 17px; font-size: 10px; line-height: 17px; padding: 0 4px; } [data-mode="phone"] .fa-dot { inset-inline-end: 10px; top: 3px; width: 7px; height: 7px; }
[data-mode="phone"] .fa-pb { margin: -22px 2px 0; } [data-mode="phone"] .fa-pb > b { font-size: 10px; } [data-mode="phone"] .fa-pb__x { width: 46px; height: 46px; }
[data-mode="phone"] .fm-m { top: 150px; inset-inline: 12px; bottom: 88px; }

/* the admin's page header: the title in cyan→purple on a tinted band, a quiet line under it; its cards are glass */
.fd-h { margin-bottom: 12px; }
.fd-h b { color: #fff; font-weight: 700; }
.fd-edit, .fpt-x, .fe-btn { display: inline-flex; align-items: center; gap: 8px; background: rgba(30, 41, 59, .75); border: 1px solid rgba(100, 116, 139, .4); color: var(--d-ink); border-radius: 16px; font-weight: 700; padding: 8px 16px; font-size: 15px; }
.fd-edit svg { width: 16px; height: 16px; } .fd-edit.on { background: var(--d-ink); color: var(--d-page); border-color: var(--d-ink); }

/* 3 · the dashboard: the admin's own — greeting, the chips, glass cards, the green chart with its dashed "previous period" */
.fd-h { gap: 18px; justify-content: flex-start; } .fd-edit { margin-inline-start: auto; }
.fd-hi { display: grid; } .fd-hi b { font-size: 26px; font-weight: 700; line-height: 1.15; } .fd-hi small { font-size: 14px; color: var(--d-muted); }
.fd-chips { display: flex; gap: 8px; } .fd-chips i { font-style: normal; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--d-ink); background: rgba(21, 30, 51, .72); border: 1px solid rgba(51, 65, 85, .5); } .fd-chips .on { background: #4f46e5; border-color: #4f46e5; color: #fff; box-shadow: 0 8px 18px -8px rgba(99, 102, 241, .8); }
.fd-g { height: calc(100% - 68px); gap: 14px; }
.fd-w { background: rgba(21, 30, 51, .72); border: 1px solid rgba(51, 65, 85, .5); border-radius: 20px; padding: 16px 20px; box-shadow: none; }
.fd-t { display: flex; align-items: center; gap: 10px; } .fd-t b { font-size: 16.5px; font-weight: 600; color: #fff; } .fd-tag { padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(51, 65, 85, .6); font-size: 12.5px; font-weight: 600; color: var(--d-ink); }
.fd-w > b.fd-n { font-size: 34px; font-weight: 700; letter-spacing: -.01em; color: #fff; } .fd-w--rev > b.fd-n { font-size: 42px; }
.fd-w.lift { box-shadow: 0 0 0 1.5px var(--d-cyan), 0 30px 50px -20px rgba(0, 0, 0, .7); }
.fd-w--rev { color: var(--d-ink); background: rgba(21, 30, 51, .72); border: 1px solid rgba(51, 65, 85, .5); }
.fd-spark { width: 100%; height: 46%; margin-top: auto; overflow: visible; }
.fd-spark path { fill: none; } .fd-grid path { stroke: rgba(148, 163, 184, .16); stroke-width: 1; vector-effect: non-scaling-stroke; }
.fd-prevl { stroke: rgba(226, 232, 240, .45) !important; stroke-width: 1.6 !important; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.fd-line { stroke: #34d399 !important; stroke-width: 2.4 !important; vector-effect: non-scaling-stroke; } .fd-area { fill: rgba(52, 211, 153, .14) !important; stroke: none !important; }
.fd-spark .fd-end { fill: #0b1121; stroke: #34d399; stroke-width: 2; }
.fd-up { color: var(--d-ok); font-weight: 700; } .fd-sub { color: var(--d-muted); }
.fd-fun i { background: linear-gradient(90deg, #22d3ee, #a78bfa); }
[data-mode="phone"] .fd-chips { display: none; } [data-mode="phone"] .fd-hi b { font-size: 21px; } [data-mode="phone"] .fd-hi small { font-size: 12px; } [data-mode="phone"] .fd-edit { padding: 6px 12px; font-size: 13px; } [data-mode="phone"] .fd-edit svg { display: none; }
[data-mode="phone"] .fd-g { height: calc(100% - 56px); } [data-mode="phone"] .fd-w { padding: 12px; border-radius: 18px; } [data-mode="phone"] .fd-w > b.fd-n { font-size: 24px; } [data-mode="phone"] .fd-w--rev > b.fd-n { font-size: 30px; } [data-mode="phone"] .fd-t b { font-size: 13.5px; }

/* 4 · the products: the page header band, the table card with the admin's columns */
.fpt-top .fd-h { align-items: center; padding: 14px 22px; margin: 0 0 12px; border-radius: 28px 0 0 28px; background: linear-gradient(90deg, rgba(16, 185, 129, .2), rgba(79, 70, 229, .12) 60%, transparent); }
.fpt-hi { display: grid; margin-inline-end: auto; } .fpt-hi b { font-size: 28px; line-height: 1.1; font-weight: 700; background: var(--d-head); -webkit-background-clip: text; background-clip: text; color: transparent; } .fpt-hi small { font-size: 14.5px; color: var(--d-ink); }
.fpt-new { padding: 10px 20px; border-radius: 16px; font-weight: 700; color: #fff; font-size: 15px; background: linear-gradient(135deg, #4f46e5, #9333ea); box-shadow: 0 10px 22px -8px rgba(124, 58, 237, .7); }
.fpt-card { border-radius: 20px; background: rgba(21, 30, 51, .72); border: 1px solid rgba(51, 65, 85, .5); overflow: hidden; }
.fpt-th, .fpt-r { display: grid; grid-template-columns: 22px 46px 1fr 130px 90px 80px; align-items: center; gap: 14px; padding: 0 20px; }
.fpt-th { height: 40px; font-size: 14px; font-weight: 700; color: var(--d-ink); background: rgba(255, 255, 255, .03); border-bottom: 1px solid rgba(51, 65, 85, .5); }
.fpt-rows { gap: 0; }
.fpt-r { height: 58px; border-radius: 0; border: 0; border-bottom: 1px solid rgba(51, 65, 85, .45); background: transparent; color: var(--d-ink); font-size: 16px; }
.fpt-r:last-child { border-bottom: 0; }
.fpt-r > svg { color: #64748b; width: 16px; height: 16px; } .fpt-r img { width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(51, 65, 85, .7); }
.fpt-nm { display: grid; min-width: 0; line-height: 1.25; } .fpt-nm b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fpt-nm small { font-size: 12.5px; color: var(--d-muted); text-align: start; }
.fpt-r span { font-weight: 500; } .fpt-p { font-weight: 700 !important; }
.fpt-q { color: var(--d-ink); }
.fpt-st { display: flex; align-items: center; gap: 10px; font-weight: 600 !important; }
.fpt-st em { font-style: normal; font-size: 13px; font-weight: 700; }
.fpt-tog { width: 40px; height: 22px; background: #334155; flex: none; } .fpt-tog::after { width: 16px; height: 16px; top: 3px; inset-inline-end: 3px; }
.fpt-r:not([data-k="row1"]) .fpt-tog, .fpt-tog.on { background: #4f46e5; }
.fpt-on { display: none; color: #34d399; } .fpt-off { color: var(--d-muted); }
.fpt-r:not([data-k="row1"]) .fpt-on, .fpt-tog.on ~ .fpt-on { display: inline; } .fpt-r:not([data-k="row1"]) .fpt-off, .fpt-tog.on ~ .fpt-off { display: none; }
.fpt-r.lift { background: #1a2440; border-radius: 14px; border: 1px solid var(--d-cyan); box-shadow: 0 24px 40px -16px rgba(0, 0, 0, .7); }
.fpt-hint { margin-top: 10px; color: var(--d-muted); font-size: 13.5px; }
[data-mode="phone"] .fpt-top .fd-h { padding: 10px 14px; } [data-mode="phone"] .fpt-hi b { font-size: 22px; } [data-mode="phone"] .fpt-x { display: none; } [data-mode="phone"] .fpt-new { padding: 8px 14px; font-size: 13px; }
[data-mode="phone"] .fpt-th, [data-mode="phone"] .fpt-r { grid-template-columns: 12px 36px 1fr 74px 52px; gap: 8px; padding: 0 10px; } [data-mode="phone"] .fpt-th > :nth-child(6), [data-mode="phone"] .fpt-q { display: none; } [data-mode="phone"] .fpt-st em { display: none !important; }
[data-mode="phone"] .fpt-r { height: 54px; font-size: 14px; } [data-mode="phone"] .fpt-r img { width: 36px; height: 36px; } [data-mode="phone"] .fpt-nm small { display: none; } [data-mode="phone"] .fpt-th { font-size: 12.5px; } [data-mode="phone"] .fpt-r > svg { width: 12px; }

/* 5 · the editor: the real toolbar (Admin ‹ · page · undo/redo · device · style · versions · language · Publish), the section list under its cyan header */
.fe { grid-template-columns: 330px 1fr; grid-template-rows: 48px 1fr; gap: 12px 22px; }
.fe-tool { gap: 10px; padding: 0 12px; border-radius: 14px; background: rgba(21, 30, 51, .85); border: 1px solid rgba(51, 65, 85, .6); color: var(--d-ink); font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.fe-tool svg { width: 17px; height: 17px; } .fe-back, .fe-sel, .fe-ur { display: inline-flex; align-items: center; gap: 6px; color: var(--d-muted); } .fe-sel { padding: 6px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: #fff; font-size: 15px; } .fe-ur { gap: 10px; }
.fe-seg { display: inline-flex; padding: 3px; border-radius: 12px; background: rgba(255, 255, 255, .06); } .fe-seg > * { padding: 5px 12px; border-radius: 9px; color: var(--d-muted); } .fe-seg b { background: rgba(255, 255, 255, .12); color: #fff; }
.fe-btn { padding: 6px 12px; border-radius: 12px; font-size: 13.5px; } .fe-btn svg { width: 15px; height: 15px; }
.fe-lang { display: inline-flex; gap: 6px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .06); } .fe-lang > * { padding: 3px 9px; border-radius: 999px; color: var(--d-muted); } .fe-lang b { background: rgba(34, 211, 238, .18); color: var(--d-cyan-2); }
.fe-pub { margin-inline-start: auto; padding: 7px 16px; border-radius: 12px; color: #fff; font-weight: 700; font-size: 14px; background: linear-gradient(135deg, #4f46e5, #9333ea); }
.fe-k { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; color: var(--d-ink); } .fe-k i { width: 3px; height: 15px; border-radius: 2px; background: var(--d-cyan); } .fe-k span { margin-inline-start: auto; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 12px; letter-spacing: 0; font-weight: 600; color: var(--d-ink); }
.fe-sec, .fe-ghost { height: 46px; background: rgba(21, 30, 51, .72); border: 1px solid rgba(51, 65, 85, .5); color: var(--d-ink); font-weight: 600; font-size: 15px; } .fe-sec svg, .fe-ghost svg { color: #64748b; width: 16px; height: 16px; }
.fe-sec--rv { border: 1px dashed var(--d-cyan); }
.fe-ghost { top: 150px; background: #1a2440; border-color: var(--d-cyan); box-shadow: 0 24px 40px -16px rgba(0, 0, 0, .7); }
.fe-ai { min-height: 48px; border-radius: 14px; background: rgba(21, 30, 51, .72); border: 1px dashed rgba(34, 211, 238, .55); box-shadow: none; }
.fe-ai__m { padding: 3px 6px; border-radius: 8px; background: #fff; } .fe-ai__q { color: var(--d-cyan-2); }
.fe-send { background: #4f46e5; }
.fe-chip { color: var(--d-cyan-2); background: rgba(34, 211, 238, .1); }
.fe-page { border-radius: 14px; background: linear-gradient(rgba(255, 255, 255, .035), rgba(255, 255, 255, .02)); border: 1px solid rgba(51, 65, 85, .5); }
[data-mode="phone"] .fe { grid-template-columns: 1fr 150px; grid-template-rows: 40px 1fr; gap: 8px; }
[data-mode="phone"] .fe-tool { gap: 8px; padding: 0 8px; } [data-mode="phone"] .fe-tool > :not(.fe-ur):not(.fe-pub):not(.fe-back) { display: none; } [data-mode="phone"] .fe-back { font-size: 13px; }
[data-mode="phone"] .fe-k span { display: none; } [data-mode="phone"] .fe-sec, [data-mode="phone"] .fe-ghost { height: 40px; font-size: 13px; padding: 0 8px; gap: 6px; } [data-mode="phone"] .fe-ghost { top: 120px; }

/* 6 · money: the admin's cards — a small label, the figure, the quiet line under it */
.fmo-o, .fmo-card, .fmo-g { background: rgba(21, 30, 51, .72); border: 1px solid rgba(51, 65, 85, .5); border-radius: 20px; color: var(--d-ink); box-shadow: none; }
.fmo-o { border-radius: 16px; } .fmo-o.on { border-color: var(--d-cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .14); }
.fmo-o em { color: #34d399; background: rgba(52, 211, 153, .14); }
.fmo-h b { font-size: 17px; font-weight: 600; } .fmo-h em { color: #c4b5fd; background: rgba(139, 92, 246, .18); font-weight: 700; }
.fmo-bar { background: #1e293b; }
.fmo-bar i { background: #64748b; border-color: #151e33; }
.fmo-bar i:nth-child(2) { background: #818cf8; } .fmo-bar i:nth-child(3) { background: #475569; } .fmo-bar i:nth-child(4) { background: #c084fc; } .fmo-bar .fmo-net { background: #34d399; }
.fmo-l span { color: var(--d-muted); } .fmo-l b { font-weight: 600; } .fmo-l__net span { color: #34d399; } .fmo-l__net { color: #34d399; border-color: rgba(51, 65, 85, .6); }
.fmo-in { border-color: #334155; background: rgba(11, 17, 33, .6); } .fmo-in span { color: var(--d-muted); }
.fmo-in.bad { border-color: #f87171; background: rgba(127, 29, 29, .3); } .fmo-in.bad bdi { color: var(--d-bad); }
.fmo-stop { color: var(--d-bad); }

/* 7–8 · the hub and the outside assistant, on the light stage */
.fh-lines line { stroke: rgba(79, 70, 229, .32); }
.fh-t { box-shadow: 0 0 0 1px rgba(79, 70, 229, .1), 0 16px 30px -16px rgba(49, 46, 129, .45); }
.fh-dot { background: #7c3aed; box-shadow: 0 0 0 5px rgba(124, 58, 237, .2); }
.fh-tip { box-shadow: 0 0 0 1px var(--line), 0 10px 24px -10px rgba(49, 46, 129, .4); }
.fm-b--card p { color: var(--d-muted); }
.fh-87 { color: var(--d-cyan-2); background: var(--d-weak); }
.fh-own { color: var(--muted); }
.fc { box-shadow: 0 0 0 1px rgba(148, 163, 184, .16), 0 30px 60px -24px rgba(15, 12, 50, .6); }
.fc-link { border-color: rgba(79, 70, 229, .55); } .fc-link b { background: #4f46e5; color: #fff; }
[data-mode="phone"] .fc-link { border-color: rgba(79, 70, 229, .55); }

/* 9–10 · Pulse: the dark window with its violet→pink edge */
.fpu-veil { background: #05070f; }
.fpu-w { border: 1.5px solid transparent; background: linear-gradient(#121733, #121733) padding-box, linear-gradient(160deg, #6366f1, #a855f7 50%, #ec4899) border-box; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 70px -24px rgba(168, 85, 247, .55); color: var(--d-ink); }
.fpu-h { padding-bottom: 12px; border-bottom: 1px solid rgba(148, 163, 184, .16); }
.fpu-h b { color: #fff; } .fpu-h small { color: var(--d-muted); } .fpu-h > svg { color: var(--d-muted); }
.fpu-l li { background: rgba(255, 255, 255, .04); border-color: var(--d-line); }
.fpu-l li.hi { background: rgba(255, 255, 255, .06); border-color: var(--d-line); border-inline-start: 3px solid var(--d-bad); color: #fff; }
.fpu-brief { background: var(--d-card); border: 1px solid var(--d-line); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .7); }
.fpu-bell { background: var(--d-card); border-color: var(--d-line); box-shadow: none; } .fpu-bell svg { color: #f87171; } .fpu-bell small { color: var(--d-muted); }
.fpu-prev { background: var(--d-card); border-color: var(--d-line); }
.fpu-k { color: #c084fc; }
.fpu-ba p { background: var(--d-page); } .fpu-ba small { color: var(--d-muted); }
.fpu-ba .on { background: var(--d-weak); } .fpu-ba .on b { color: var(--d-cyan-2); }
.fpu-acts span { background: #1e293b; color: #cbd5e1; }
.fpu-acts .yes { background: var(--d-btn); color: #fff; }
.fpu-ok { color: var(--d-ok); }

/* 11 · the change log */
.flg-p { background: rgba(21, 30, 51, .72); border-color: rgba(51, 65, 85, .5); border-radius: 20px; box-shadow: none; }
.flg li { border-color: rgba(51, 65, 85, .5); border-radius: 14px; } .flg li small { color: var(--d-muted); }
.flg li em { color: #a5b4fc; border-color: #3730a3; }
.flg li.off { background: var(--d-page); color: #64748b; } .flg li.off em { color: #64748b; border-color: var(--d-line); }

/* 12–13 · the price, the way in */
.fpr-n bdi { background: linear-gradient(110deg, #818cf8, #a855f7 52%, #e879f9); -webkit-background-clip: text; background-clip: text; }
.fpr-n s { color: #64748b; } .fpr-l { color: #fff; } .fpr-s { color: var(--d-ok); }

/* ── film-pro (24.10.2026): the three setup screens, the restock, the best seller, the speed control ── */
.fw-scs { display: grid; } .fw-sc { grid-area: 1 / 1; display: grid; align-content: start; gap: 12px; }
.fw-ck { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.fw-ck li { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--d-line); color: var(--d-ink); font-size: 16px; }
.fw-ck img { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; } .fw-ck b { flex: 1; font-weight: 700; } .fw-ck span { color: var(--d-muted); min-width: 90px; }
.fw-ck i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--d-ok); color: #052e1f; } .fw-ck i svg { width: 16px; height: 16px; stroke-width: 3; }
.fw-prev { position: relative; }
.fw-live { position: absolute; bottom: 14px; left: 50%; translate: -50% 0; display: flex; align-items: center; gap: 8px; white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: #052e1f; border: 1px solid var(--d-ok); color: #a7f3d0; font-size: 14px; font-weight: 800; box-shadow: 0 14px 30px -12px rgba(16, 185, 129, .7); }
.fw-live i { width: 9px; height: 9px; border-radius: 50%; background: var(--d-ok); box-shadow: 0 0 0 4px rgba(52, 211, 153, .25); }
[data-mode="phone"] .fw-ck li { height: 44px; font-size: 14px; gap: 8px; padding: 0 10px; } [data-mode="phone"] .fw-ck span { min-width: 0; }
[data-mode="phone"] .fw-live { bottom: auto; top: -38px; font-size: 12px; padding: 6px 10px; }
.fpt-q bdi { display: inline-block; font-variant-numeric: tabular-nums; } .fpt-q bdi.up { color: var(--d-ok); font-weight: 800; }
.fpt-done { position: absolute; inset-inline-end: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; background: #052e1f; border: 1px solid var(--d-ok); color: #a7f3d0; font-size: 15px; font-weight: 800; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .7); }
.fpt-done svg { width: 18px; height: 18px; stroke-width: 3; color: var(--d-ok); }
[data-mode="phone"] .fpt-done { font-size: 13px; padding: 8px 12px; inset-inline: 0; }
.fmo { grid-template-rows: auto auto 1fr; } .fmo-card { grid-row: 2 / 4; }
.fmo-best { grid-column: 2; grid-row: 2; display: flex; align-items: center; gap: 18px; padding: 16px 18px; border-radius: 20px; background: rgba(21, 30, 51, .72); border: 1px solid rgba(51, 65, 85, .5); color: var(--d-ink); }
.fmo-g { grid-column: 2; grid-row: 3; }
.fmo-bimg { position: relative; flex: none; width: 112px; height: 112px; perspective: 600px; }
.fmo-b3 { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; transform-style: preserve-3d; backface-visibility: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); will-change: transform; }
.fmo-b3 img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fmo-sweep { position: absolute; inset: -20% auto -20% 0; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: translateX(-120%) skewX(-12deg); opacity: 0; }
.fmo-bsh { position: absolute; left: 10%; right: 10%; bottom: -10px; height: 18px; border-radius: 50%; background: rgba(124, 58, 237, .55); filter: blur(10px); opacity: 0; }
.fmo-bt { display: grid; gap: 6px; min-width: 0; }
.fmo-badge { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: linear-gradient(110deg, #f59e0b, #f97316); color: #1c1003; font-size: 13.5px; font-weight: 900; box-shadow: 0 8px 20px -8px rgba(249, 115, 22, .8); }
.fmo-badge svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.fmo-bn { font-size: 18px; font-weight: 800; color: #fff; }
.fmo-bs { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14.5px; color: var(--d-muted); } .fmo-bs bdi { color: #fff; font-weight: 900; font-size: 17px; font-variant-numeric: tabular-nums; }
.fmo-bs span:last-child bdi { color: var(--d-ok); }
[data-mode="phone"] .fmo { grid-template-rows: none; } [data-mode="phone"] .fmo-card, [data-mode="phone"] .fmo-best, [data-mode="phone"] .fmo-g { grid-column: 1; grid-row: auto; }
[data-mode="phone"] .fmo-best { gap: 12px; padding: 10px 12px; } [data-mode="phone"] .fmo-bimg { width: 72px; height: 72px; } [data-mode="phone"] .fmo-bn { font-size: 15px; } [data-mode="phone"] .fmo-bs { font-size: 12.5px; } [data-mode="phone"] .fmo-bs bdi { font-size: 14.5px; }
[data-mode="phone"] .fmo-l li:not(.fmo-l__net) { display: none !important; }
.film__sp { flex: none; display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.film__sp button { min-width: 44px; min-height: 32px; padding: 0 8px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; }
.film__sp button:hover { color: var(--ink); } .film__sp button[aria-pressed="true"] { background: var(--ink, #1e1b3a); color: #fff; }
.film__sp button:focus-visible { outline: 3px solid var(--violet); outline-offset: 1px; }
.film.is-still .film__sp { display: none; }
