/* ZaiBi website. Dark-first: deep violet-black ink, ZaiBi Violet surfaces and Signal Amber calls to action.
   Top navigation bar (bottom tab bar on phones), solid layered surfaces, a device-window hero and a thin play-head scroll line.
   Palette: ink #0D0B16 · violet #6C4CF1 · amber #FFB340 · text #F5F3FF · muted #A7A3C0. */
:root {
  --ink: #0d0b16;
  --violet: #6c4cf1;
  --violet-soft: #9b86ff;
  --amber: #ffb340;

  --bg: #0d0b16;
  --bg-2: #130f25;
  --surface: #17132b;
  --surface-2: #1e1839;
  --text: #f5f3ff;
  --muted: #a7a3c0;
  --accent: #ffb340;          /* calls to action, highlights, the "Bi" of the wordmark */
  --accent-2: #6c4cf1;        /* ZaiBi Violet */
  --link: #b3a2ff;
  --on-accent: #1a1100;
  --glass: rgba(40, 32, 84, 0.52);
  --glass-strong: rgba(48, 38, 100, 0.66);
  --blur: blur(22px) saturate(150%);
  --glass-line: rgba(255, 255, 255, 0.2);
  --line: rgba(255, 255, 255, 0.12);
  --glow: rgba(108, 76, 241, 0.34);
  --ok: #4ade9a;
  --warn: #ffb340;
  --shadow: 0 18px 48px rgba(5, 3, 14, 0.5);
  --radius: 22px;
  --rail: 92px;
  --head: "Sora", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f6f4ff; --bg-2: #ece8fb; --surface: #ffffff; --surface-2: #f1edff; --text: #1a1530; --muted: #5e5878;
  --accent: #e08a00; --accent-2: #5b3de0; --link: #5b3de0; --on-accent: #1a1100; --glass: rgba(255, 255, 255, 0.62); --glass-strong: rgba(255, 255, 255, 0.78);
  --glass-line: rgba(255, 255, 255, 0.85); --line: rgba(60, 40, 120, 0.12); --glow: rgba(108, 76, 241, 0.26);
  --ok: #0f8a5a; --warn: #a66200; --shadow: 0 18px 44px rgba(60, 40, 120, 0.14); color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg: #f6f4ff; --bg-2: #ece8fb; --surface: #ffffff; --surface-2: #f1edff; --text: #1a1530; --muted: #5e5878;
    --accent: #e08a00; --accent-2: #5b3de0; --link: #5b3de0; --on-accent: #1a1100; --glass: rgba(255, 255, 255, 0.62); --glass-strong: rgba(255, 255, 255, 0.78);
    --glass-line: rgba(255, 255, 255, 0.85); --line: rgba(60, 40, 120, 0.12); --glow: rgba(108, 76, 241, 0.26);
    --ok: #0f8a5a; --warn: #a66200; --shadow: 0 18px 44px rgba(60, 40, 120, 0.14); color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: var(--text); line-height: 1.65; font-family: var(--body);
  background: var(--bg);
}
body::before { /* colour orbs behind the page, fixed, so the frosted glass has something to blur */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(46% 42% at 8% 4%, rgba(108, 76, 241, 0.55), transparent 70%),
    radial-gradient(40% 36% at 100% 22%, rgba(255, 179, 64, 0.26), transparent 70%),
    radial-gradient(48% 40% at 70% 100%, rgba(108, 76, 241, 0.4), transparent 70%),
    radial-gradient(30% 30% at 20% 72%, rgba(255, 138, 92, 0.16), transparent 70%);
}
a { color: var(--link); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); margin-top: 2em; font-weight: 700; }
h3 { font-size: 1.08rem; font-weight: 600; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.ico { width: 24px; height: 24px; flex: none; }

/* ---- Wordmark: "Zai" in the text colour, "Bi" in amber ---- */
.wm { font-family: var(--head); font-weight: 800; letter-spacing: -0.03em; }
.wm b { font-weight: inherit; color: var(--accent); }

/* ---- Side rail (desktop) and tab bar (phones) ---- */
.rail { position: fixed; z-index: 40; left: 14px; top: 14px; bottom: 14px; width: calc(var(--rail) - 14px); border-radius: 26px; display: flex; flex-direction: column; align-items: center; padding: 16px 6px; gap: 6px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)), var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.rail-brand { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--text); text-decoration: none; font-size: 1.02rem; }
.rail-brand img { width: 44px; height: 44px; border-radius: 13px; box-shadow: 0 8px 22px var(--glow); }
.rail-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; width: 100%; flex: 1; overflow-y: auto; scrollbar-width: none; }
.rail-nav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 2px; border-radius: 16px; color: var(--muted); text-decoration: none; font-size: .68rem; font-weight: 700; transition: background .2s, color .2s; }
.rail-nav a:hover { color: var(--text); background: var(--surface-2); }
.rail-nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--glass-line); }
.rail-nav a[aria-current="page"]::before { content: ""; position: absolute; left: -6px; top: 22%; bottom: 22%; width: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(180deg, var(--violet), var(--amber)); }
.rail-nav a.pro-link .ico { color: var(--amber); }
.rail-tools { display: flex; flex-direction: column; gap: 6px; }
.tool { width: 42px; height: 42px; border-radius: 14px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; transition: color .2s, border-color .2s; }
.tool:hover { color: var(--text); border-color: var(--link); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 1.3rem; }
.mobbar, .tabbar { display: none; }

.stage { position: relative; z-index: 1; margin-left: var(--rail); padding: 0 clamp(16px, 3vw, 40px); max-width: 1260px; }
.seek { position: fixed; z-index: 45; left: 0; top: 0; right: 0; height: 3px; background: transparent; pointer-events: none; }
.seek i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--violet), var(--amber)); transform-origin: 0 50%; transform: scaleX(0); }

@media (max-width: 959px) {
  :root { --rail: 0px; }
  .rail { display: none; }
  .mobbar { display: flex; position: sticky; top: 0; z-index: 40; align-items: center; justify-content: space-between; padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top));
    background: color-mix(in srgb, var(--bg) 86%, transparent); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .mobbar .brand img { width: 32px; height: 32px; border-radius: 9px; }
  .mob-tools { display: flex; gap: 8px; }
  .mob-tools .tool { width: 38px; height: 38px; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); padding: 6px;
    border-radius: 22px; background: var(--glass-strong); border: 1px solid var(--glass-line); box-shadow: var(--shadow); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 2px; border-radius: 16px; color: var(--muted); text-decoration: none; font-size: .68rem; font-weight: 700; }
  .tabbar a[aria-current="page"] { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--glass-line); }
  .stage { margin-left: 0; padding-bottom: 100px; }
}

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 14px; text-decoration: none; font-weight: 700;
  color: var(--text); background: var(--glass); border: 1px solid var(--glass-line); cursor: pointer; font-family: inherit; font-size: 1rem; -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  transition: transform .15s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover, .btn:focus-visible { border-color: var(--link); box-shadow: 0 8px 26px var(--glow); transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--amber); border-color: var(--amber); color: var(--on-accent); }
.btn.primary:hover { box-shadow: 0 10px 30px color-mix(in srgb, var(--amber) 35%, transparent); border-color: var(--amber); }
.btn.big { padding: 15px 30px; font-size: 1.05rem; border-radius: 16px; }
.btn:disabled { opacity: .55; cursor: default; transform: none; box-shadow: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 10px; }
.note { color: var(--muted); font-size: .92rem; }

/* ---- Surfaces ---- */
.card, .feature, .why, .step, .legal-card, .store-card, .tbl, .faq details, .gallery figure {
  position: relative; background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02)), var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius); box-shadow: var(--shadow);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.card { padding: 28px; margin: 20px 0; }
.card > :last-child { margin-bottom: 0; }
.why { padding: 26px; }
.why ul { list-style: none; margin: 0; padding: 0; }
.why li { padding: 11px 0 11px 30px; position: relative; border-bottom: 1px solid var(--line); }
.why li:last-child { border-bottom: 0; }
.why li::before, .ticks li::before { content: ""; position: absolute; left: 4px; top: 1.15em; width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, var(--violet-soft), var(--violet)); transform: rotate(45deg); }
.why b { display: block; }
.why span { color: var(--muted); font-size: .94rem; }
.ticks { list-style: none; margin: 0 0 1em; padding: 0; }
.ticks li { position: relative; padding-left: 28px; margin: .6em 0; color: var(--muted); }
.ticks li::before { top: .62em; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin: 22px 0; }
.feature { padding: 26px; }
.feature p { color: var(--muted); margin-bottom: 0; font-size: .96rem; }
.tag { display: inline-block; font-family: var(--head); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border-radius: 8px; margin-bottom: 10px; border: 1px solid var(--violet-soft); color: var(--link); }
.tag-pro { color: var(--amber); border-color: var(--amber); }

/* ---- Chapter labels ---- */
.chapter { display: inline-flex; align-items: center; gap: 10px; margin: 3.4em 0 .6em; font-family: var(--head); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--link); }
.chapter::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--violet), var(--amber)); }
.chapter + h2 { margin-top: .2em; }

/* ---- Hero ---- */
.hero { padding: clamp(40px, 8vw, 96px) 0 30px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--link); font-family: var(--head); text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 700; margin-bottom: 1.1em;
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--surface); }
.accent { color: var(--accent); }
h1 .accent { background: linear-gradient(90deg, var(--amber), #ff8a5c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 1.16rem; color: var(--muted); max-width: 56ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--glass-line); background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-radius: 10px; padding: 6px 14px; font-size: .86rem; font-weight: 600; }

/* The device window in the hero: a player with a seek bar, a floating now-playing card and a coin chip. */
.stagefx { position: relative; min-height: 560px; display: grid; place-items: center; }
.stagefx::before { content: ""; position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 68%); }
.device { position: relative; width: min(100%, 460px); border-radius: 28px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)), var(--glass-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-line); box-shadow: var(--shadow), 0 0 80px var(--glow); overflow: hidden; z-index: 1; }
.dv-top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.dv-top i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.dv-top span { margin-left: auto; font-weight: 600; }
.dv-screen { position: relative; aspect-ratio: 16 / 10; background:
  radial-gradient(60% 80% at 25% 20%, rgba(255, 179, 64, .55), transparent 60%),
  radial-gradient(70% 90% at 85% 90%, rgba(108, 76, 241, .8), transparent 62%),
  linear-gradient(160deg, #281b54, #0d0b16); display: grid; place-items: center; }
.dv-play { width: 76px; height: 76px; border-radius: 50%; background: var(--amber); color: var(--on-accent); display: grid; place-items: center; box-shadow: 0 14px 40px rgba(255, 179, 64, .4); }
.dv-play svg { width: 30px; height: 30px; margin-left: 4px; }
.dv-title { position: absolute; left: 16px; bottom: 12px; font-family: var(--head); font-weight: 700; font-size: .92rem; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); color: #fff; }
.dv-q { position: absolute; right: 14px; top: 12px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; padding: 3px 8px; border-radius: 6px; background: rgba(13, 11, 22, .6); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.dv-bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px 6px; font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.dv-bar .track { flex: 1; height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; }
.dv-bar .track i { display: block; height: 100%; width: 38%; background: linear-gradient(90deg, var(--violet), var(--amber)); border-radius: 3px; }
.dv-nav { display: grid; grid-template-columns: repeat(5, 1fr); padding: 8px 10px 14px; text-align: center; font-size: .68rem; font-weight: 600; color: var(--muted); }
.dv-nav b { display: block; width: 36px; height: 26px; margin: 0 auto 4px; border-radius: 9px; background: var(--surface-2); }
.dv-nav span:first-child b { background: linear-gradient(135deg, var(--violet), #8a6bff); }
.mini { position: absolute; z-index: 2; right: 0; bottom: 0; width: min(250px, 62%); padding: 12px 14px; border-radius: 16px; background: var(--glass-strong); border: 1px solid var(--glass-line); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: var(--shadow); font-size: .82rem; }
.mini b { display: block; font-family: var(--head); }
.mini span { color: var(--muted); }
.mini .bar { height: 4px; border-radius: 3px; background: var(--line); margin-top: 8px; overflow: hidden; }
.mini .bar i { display: block; height: 100%; width: 38%; background: var(--amber); border-radius: 3px; }
.coin { position: absolute; z-index: 2; left: 0; top: 10%; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--glass-line); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow); font-weight: 700; font-size: .9rem; }
.coin i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #ffd48a, var(--amber) 60%, #e08a00); color: #1a1100; font-style: normal; font-family: var(--head); font-weight: 800; font-size: .8rem; }
.eq { position: absolute; z-index: 2; left: 0; bottom: 2%; display: flex; align-items: flex-end; gap: 5px; height: 64px; padding: 10px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--glass-line); }
.eq i { width: 6px; border-radius: 3px; background: linear-gradient(180deg, var(--amber), var(--violet)); height: 40%; transform-origin: 50% 100%; }
.eq i:nth-child(1) { height: 55%; } .eq i:nth-child(2) { height: 85%; } .eq i:nth-child(3) { height: 45%; } .eq i:nth-child(4) { height: 100%; } .eq i:nth-child(5) { height: 65%; } .eq i:nth-child(6) { height: 35%; } .eq i:nth-child(7) { height: 75%; }

/* bento grid for the home page features */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin: 22px 0; }
.bento .feature { grid-column: span 2; }
.bento .feature.wide { grid-column: span 4; }
.bento .feature.half { grid-column: span 3; }
.bento .feature.hero-tile { grid-column: span 4; background: linear-gradient(135deg, color-mix(in srgb, var(--violet) 32%, var(--surface)), var(--surface)); }
.bento .ico { width: 44px; height: 44px; padding: 10px; border-radius: 13px; color: #fff; margin-bottom: 14px; background: linear-gradient(135deg, var(--violet), #8a6bff); }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } .stagefx { min-height: 440px; } .bento { grid-template-columns: 1fr 1fr; } .bento .feature, .bento .feature.wide, .bento .feature.half, .bento .feature.hero-tile { grid-column: span 2; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento .feature, .bento .feature.wide, .bento .feature.half, .bento .feature.hero-tile { grid-column: span 1; } }

/* ---- Tables ---- */
.tbl { overflow-x: auto; margin: 18px 0; }
table { border-collapse: collapse; width: 100%; min-width: 520px; }
th, td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: .95rem; }
th { font-family: var(--head); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
td:not(:first-child), th:not(:first-child) { text-align: center; }
td.yes { color: var(--ok); font-weight: 700; }

/* ---- Gallery ---- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin: 22px 0; }
.gallery figure { margin: 0; padding: 10px; border-radius: 30px; }
.gallery img { border-radius: 22px; }
.gallery figcaption { text-align: center; color: var(--muted); font-size: .88rem; padding: 8px 0 2px; font-weight: 600; }

/* ---- Documents (guide, legal) ---- */
.doc { padding: clamp(28px, 5vw, 56px) 0 8px; }
.doc.legal { max-width: 820px; }
.legal-card { padding: clamp(22px, 4vw, 40px); }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.legal h2 { font-size: 1.15rem; margin-top: 1.8em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin: .45em 0; }
.updated { color: var(--muted); font-size: .9rem; }
.guide-sec { padding: 26px; margin: 18px 0; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 14px; }
.step { padding: 20px 22px 20px 78px; counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); position: absolute; left: 18px; top: 20px; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  color: #fff; font-family: var(--head); font-weight: 700; font-size: .9rem; background: linear-gradient(135deg, var(--violet), #8a6bff); }
.step h3 { margin-bottom: .3em; }
.step p { margin-bottom: .5em; color: var(--muted); }
.step p:last-child { margin-bottom: 0; }
.mono { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; word-break: break-all; font-size: .85rem; }
.warn { border: 1px solid var(--amber); border-left-width: 4px; padding: 12px 16px; border-radius: 14px; background: var(--surface); margin: 16px 0; }
details { margin: 10px 0; }
summary { cursor: pointer; font-weight: 700; }
.badge-pro { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .08em; padding: 3px 9px; border-radius: 8px; color: #2a1f00; background: var(--amber); vertical-align: middle; }
.pay-box { display: grid; gap: 4px; margin: 14px 0; padding: 16px 18px; border-radius: 16px; border: 1px dashed var(--amber); background: var(--glow); }
.pay-box b { font-size: 1.2rem; font-family: var(--head); }
.faq details { padding: 14px 20px; margin: 10px 0; box-shadow: none; }

/* ---- Footer ---- */
.deck { padding: 64px 0 34px; color: var(--muted); font-size: .92rem; text-align: center; }
.deck-now { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; text-align: left; padding: 18px 22px; border-radius: 22px; background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-line); box-shadow: var(--shadow); margin-bottom: 26px; }
.deck-now img { width: 44px; height: 44px; border-radius: 12px; }
.deck-now b { display: block; color: var(--text); font-family: var(--head); font-size: 1.1rem; }
.deck-now span { font-size: .84rem; }
.deck-bar { flex: 1 1 120px; height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; min-width: 80px; }
.deck-bar i { display: block; height: 100%; width: 36%; background: linear-gradient(90deg, var(--violet), var(--amber)); border-radius: 3px; }
.deck-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 14px; }
.deck-links a { color: var(--text); text-decoration: none; font-weight: 600; }
.deck-links a:hover { color: var(--link); }
.deck p { margin: .3em 0; }
.copyright { font-size: .85rem; }

/* ---- Premium page: payment widget ---- */
.paywidget label { display: block; margin: 10px 0 4px; color: var(--muted); font-size: .9rem; font-weight: 700; }
.paywidget input[type="email"], .paywidget input:not([type]), .paywidget input[inputmode] { width: 100%; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--glass-line); background: transparent; color: var(--text); font: inherit; }
.paywidget input:focus-visible, #store-search:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.paywidget .pw-block { margin-bottom: 24px; }
.paywidget .plans { display: grid; gap: 8px; }
.paywidget .plan { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 12px; align-items: center; padding: 13px 16px; border: 1px solid var(--glass-line); border-radius: 16px; cursor: pointer; margin: 0; color: var(--text); transition: border-color .2s, background .2s; }
.paywidget .plan:hover { border-color: var(--accent); }
.paywidget .plan.on { border-color: var(--accent); background: var(--glow); }
.paywidget .plan .pn { font-weight: 700; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.paywidget .plan .pn em { font-style: normal; font-size: .7rem; padding: 2px 9px; border-radius: 99px; border: 1px solid var(--accent); color: var(--accent); }
.paywidget .plan .pp { text-align: right; }
.paywidget .plan .pp s { color: var(--muted); font-size: .85rem; }
.paywidget .plan .pd { grid-column: 2 / 4; text-align: right; font-size: .85rem; font-weight: 500; }
.paywidget .seg { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.paywidget .row { display: flex; gap: 8px; align-items: center; }
.paywidget .row input { flex: 1; }
.paywidget .err { color: #ff6b7a; font-weight: 700; }
.paywidget .okmsg { color: var(--ok); font-weight: 700; }
.paywidget .offer { padding: 10px 16px; border-radius: 14px; background: var(--glow); border: 1px solid var(--accent); font-weight: 700; }
.paywidget .hist.approved b { color: var(--ok); }
.paywidget .hist.rejected b, .paywidget .hist.refunded b { color: #ff6b7a; }
.paywidget .acct { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.paywidget .acct .btn { padding: 6px 14px; font-size: .9rem; }
.mini-steps, .mini { /* .mini is also used for the hero card; the list variant below is for text */ }
ol.mini { position: static; width: auto; padding: 0 0 0 20px; margin: 0 0 10px; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; font-size: inherit; }
@media (max-width: 520px) { .paywidget .plan { grid-template-columns: auto 1fr; } .paywidget .plan .pp, .paywidget .plan .pd { grid-column: 2; text-align: left; } }

/* ---- Store ---- */
.store-state { padding: 12px 18px; border-radius: 16px; border: 1px solid var(--glass-line); background: var(--glass); margin: 14px 0; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.store-state .okmsg { width: 100%; color: var(--ok); font-weight: 700; }
.store-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 6px 0 18px; }
.store-tabs { display: flex; gap: 8px; flex-wrap: wrap; flex: 1 1 auto; }
.store-tabs .btn { padding: 8px 18px; font-size: .95rem; }
#store-search { flex: 0 1 250px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass); color: var(--text); font: inherit; }
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.store-card { padding: 14px; display: flex; flex-direction: column; gap: 6px; transition: transform .2s ease, border-color .2s ease; }
.store-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.store-card h3 { margin: 8px 0 0; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.store-card p { margin: 0; font-size: .9rem; min-height: 2.6em; }
.store-card .act { margin-top: auto; padding-top: 8px; }
.store-card .act .btn { width: 100%; }
.store-card.locked .pv { filter: saturate(.7); }
.store-card .ok { color: var(--ok); font-weight: 700; }
.tag-i, .store-card .tag { margin: 0; }
em.tag { font-style: normal; }
.tag.free { border-color: var(--ok); color: var(--ok); }
.pv { height: 120px; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; display: flex; position: relative; z-index: 1; }
.pv-theme { flex-direction: column; padding: 10px; border-width: 2px; gap: 8px; }
.pv-card { flex: 1; border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.pv-card i { width: 26px; height: 26px; border-radius: 50%; display: block; }
.pv-card b { height: 6px; border-radius: 3px; width: 85%; display: block; }
.pv-bar { height: 5px; border-radius: 3px; }
.pv-icons { align-items: center; justify-content: space-around; font-size: 1.7rem; }
.pv-icons .ico.rounded { border-radius: 50%; border: 2px solid var(--accent); padding: 6px 12px; width: auto; height: auto; }
.pv-icons .ico.sharp { border: 2px solid var(--accent); padding: 6px 12px; border-radius: 0; width: auto; height: auto; }
.pv-icons .ico.outlined { padding: 6px 12px; opacity: .85; width: auto; height: auto; }
.pv-preset { flex-direction: column; justify-content: center; gap: 4px; padding: 8px 14px; font-size: .9rem; }
.pv-preset div { display: flex; justify-content: space-between; }
.pv-preset em { font-style: normal; color: var(--muted); font-weight: 700; }
.pv-preset em.on { color: var(--ok); }
.pv-eq { align-items: flex-end; justify-content: space-around; padding: 12px; gap: 8px; }
.pv-eq span { flex: 1; background: linear-gradient(180deg, var(--amber), var(--violet)); border-radius: 6px 6px 2px 2px; }

/* ---- Motion. Switched off by prefers-reduced-motion and by the site's own Motion button. Only transform/opacity animate. ---- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 200ms ease both vt-out; }
::view-transition-new(root) { animation: 300ms ease both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

.hero > div > *, .stagefx > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero > div > *:nth-child(2) { animation-delay: .08s; } .hero > div > *:nth-child(3) { animation-delay: .16s; }
.hero > div > *:nth-child(4) { animation-delay: .24s; } .hero > div > *:nth-child(5) { animation-delay: .32s; } .hero > div > *:nth-child(6) { animation-delay: .4s; }
.stagefx > *:nth-child(1) { animation-delay: .2s; } .stagefx > *:nth-child(2) { animation-delay: .3s; } .stagefx > *:nth-child(3) { animation-delay: .4s; } .stagefx > *:nth-child(4) { animation-delay: .5s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.eq i { animation: bounce 1.1s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -.2s; } .eq i:nth-child(3) { animation-delay: -.5s; } .eq i:nth-child(4) { animation-delay: -.1s; }
.eq i:nth-child(5) { animation-delay: -.7s; } .eq i:nth-child(6) { animation-delay: -.35s; } .eq i:nth-child(7) { animation-delay: -.6s; }
@keyframes bounce { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.device { animation: float 7s ease-in-out infinite alternate, rise .7s cubic-bezier(.2, .7, .2, 1) .2s both; }
@keyframes float { from { translate: 0 0; } to { translate: 0 -10px; } }
.mini .bar i, .dv-bar .track i { animation: playhead 12s linear infinite; }
.deck-bar i { animation: playhead 14s linear infinite; }
@keyframes playhead { from { width: 4%; } to { width: 96%; } }

.reveal, .reveal-item { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 55ms); }
.reveal.in, .reveal-item.in { opacity: 1; transform: none; }
@media (hover: hover) {
  .feature, .gallery figure, .step { transition: transform .28s cubic-bezier(.2, .7, .2, 1), border-color .28s ease, box-shadow .28s ease; }
  .feature:hover, .gallery figure:hover { transform: translateY(-5px); border-color: var(--violet-soft); box-shadow: 0 18px 44px var(--glow), var(--shadow); }
  .step:hover { border-color: var(--violet-soft); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-item { opacity: 1; transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .seek { display: none; }
}
:root[data-motion="off"] *, :root[data-motion="off"] *::before, :root[data-motion="off"] *::after { animation: none !important; transition: none !important; }
:root[data-motion="off"] .reveal, :root[data-motion="off"] .reveal-item { opacity: 1; transform: none; }
:root[data-motion="off"] .seek { display: none; }
:root[data-motion="off"] ::view-transition-old(root), :root[data-motion="off"] ::view-transition-new(root) { animation: none; }

/* ---- Help: floating assistant + WhatsApp ---- */
.help { position: fixed; z-index: 45; right: 18px; bottom: 18px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.help-row { display: flex; gap: 10px; }
.help-fab { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass); color: var(--text);
  font: 700 .92rem var(--body); cursor: pointer; text-decoration: none; box-shadow: var(--shadow); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: transform .15s, border-color .2s; }
.help-fab:hover { border-color: var(--accent); transform: translateY(-2px); }
.help-fab.ai { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.help-fab.wa { color: #25d366; border-color: rgba(37, 211, 102, .5); }
.help-fab .ico { width: 22px; height: 22px; }
.chat-panel { width: min(380px, calc(100vw - 28px)); height: min(540px, calc(100vh - 150px)); display: flex; flex-direction: column; border-radius: 24px; overflow: hidden;
  background: var(--bg); border: 1px solid var(--glass-line); box-shadow: var(--shadow), 0 0 60px var(--glow); }
.chat-panel[hidden] { display: none; }
.chat-panel header { display: flex; align-items: center; gap: 8px; padding: 14px 16px; background: var(--glass); border-bottom: 1px solid var(--line); }
.chat-panel header > div { flex: 1; min-width: 0; }
.chat-panel header b { display: block; font-family: var(--head); }
.chat-panel header small { color: var(--muted); }
.chat-agent { border: 1px solid var(--accent); background: transparent; color: var(--accent); border-radius: 999px; padding: 6px 12px; font: 700 .78rem var(--body); cursor: pointer; }
.chat-agent[hidden] { display: none; }
.chat-x { border: 0; background: transparent; color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.chat-list { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.cm { max-width: 86%; padding: 9px 13px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); white-space: pre-wrap; word-break: break-word; font-size: .93rem; }
.cm b { display: block; font-size: .75rem; color: var(--accent); }
.cm.user { align-self: flex-end; background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.cm.agent { background: var(--glow); border-color: var(--accent); }
.cm.system { align-self: center; background: transparent; border-style: dashed; color: var(--muted); font-size: .85rem; }
.chat-panel footer { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: var(--glass); }
.chat-panel footer input { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--glass-line); background: transparent; color: var(--text); font: inherit; }
.chat-panel footer .btn { padding: 9px 18px; }
@media (max-width: 959px) { .help { right: 12px; bottom: calc(92px + env(safe-area-inset-bottom)); } .help-fab span { display: none; } .help-fab { padding: 12px; } }

.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 10px; max-height: 118px; overflow-y: auto; }
.chat-chips[hidden] { display: none; }
.chat-chips .chip { border: 1px solid var(--accent); background: var(--glow); color: var(--text); border-radius: 999px; padding: 6px 12px; font: 600 .8rem var(--body); cursor: pointer; transition: background .2s; }
.chat-chips .chip:hover { background: var(--accent); color: var(--on-accent); }

/* ---- Help buttons: the ZaiBi AI bot and WhatsApp ---- */
.help-fab.ai { padding: 5px 18px 5px 5px; background: var(--glass); border-color: var(--glass-line); color: var(--text); gap: 10px; }
.help-fab.ai:hover { border-color: var(--accent); }
.ai-orb { position: relative; width: 46px; height: 46px; flex: none; border-radius: 50%; display: block; box-shadow: 0 0 0 0 var(--glow); }
.ai-orb img { width: 46px; height: 46px; display: block; }
.ai-orb .live { position: absolute; right: 0; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); border: 2px solid var(--bg); }
.help-fab .lbl { display: flex; flex-direction: column; text-align: left; line-height: 1.15; }
.help-fab .lbl b { font-family: var(--head); font-size: .95rem; }
.help-fab .lbl small { color: var(--muted); font-size: .72rem; font-weight: 500; }
.help-fab.wa { padding: 0; width: 56px; height: 56px; justify-content: center; border: 0; background: transparent; box-shadow: 0 10px 28px rgba(37, 211, 102, .35); }
.help-fab.wa img { width: 56px; height: 56px; display: block; }
.hd-av { width: 40px; height: 40px; flex: none; }
.cm.bot { display: flex; gap: 8px; align-items: flex-start; max-width: 92%; }
.cm.bot .av { width: 26px; height: 26px; flex: none; margin-top: 1px; }
.cm.bot > div { min-width: 0; }
@media (prefers-reduced-motion: no-preference) {
  .ai-orb { animation: orb 3.2s ease-in-out infinite; }
  @keyframes orb { 0% { box-shadow: 0 0 0 0 var(--glow); } 70% { box-shadow: 0 0 0 12px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
}
:root[data-motion="off"] .ai-orb { animation: none; }
@media (max-width: 959px) {
  .help-fab.ai { padding: 4px; }
  .help-fab.ai .lbl { display: none; }
  .help-fab.wa { width: 52px; height: 52px; }
  .help-fab.wa img { width: 52px; height: 52px; }
  .help-fab span { display: revert; }
}

/* Inside the ZaiBi app's browser the app supplies its own navigation and support, so the page drops its own. */
.in-app .rail, .in-app .topnav, .in-app .mobbar, .in-app .tabbar, .in-app .help, .in-app .deck, .in-app .seek { display: none !important; }
.in-app .stage { margin-left: 0; padding-bottom: 28px; }
.in-app .doc { padding-top: 18px; }
.in-app h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }

/* assistant typing bubble */
.cm.typing .dots { display: inline-flex; gap: 5px; padding: 4px 2px; }
.cm.typing .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .35; animation: dot 1s infinite ease-in-out; }
.cm.typing .dots i:nth-child(2) { animation-delay: .15s; }
.cm.typing .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .cm.typing .dots i { animation: none; opacity: .7; } }

/* store: paid items and previews for transitions, menus, browser themes, sounds and gestures */
.tag.paid { border-color: var(--warn); color: var(--warn); }
.pv-trans, .pv-menu, .pv-browser, .pv-sound, .pv-gest { display: grid; place-items: center; min-height: 118px; border-radius: 16px; overflow: hidden; position: relative; }
.pv-trans { background: var(--glass); border: 1px solid var(--line); gap: 6px; }
.pv-trans small, .pv-sound small { color: var(--muted); font-size: .75rem; }
.tbox { width: 54px; height: 76px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); animation: tdemo 2s infinite ease-in-out; display: grid; place-items: center; }
.tbox i, .tbox b { display: block; width: 28px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.8); margin: 3px 0; }
.tbox.slide { animation-name: tslide; } .tbox.zoom { animation-name: tzoom; } .tbox.rise { animation-name: trise; } .tbox.flip { animation-name: tflip; } .tbox.scaleFade { animation-name: tscale; } .tbox.none { animation: none; }
@keyframes tdemo { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
@keyframes tslide { 0% { transform: translateX(-34px); opacity: 0; } 50%, 100% { transform: none; opacity: 1; } }
@keyframes tzoom { 0% { transform: scale(.3); opacity: 0; } 50%, 100% { transform: none; opacity: 1; } }
@keyframes trise { 0% { transform: translateY(34px); opacity: 0; } 50%, 100% { transform: none; opacity: 1; } }
@keyframes tflip { 0% { transform: perspective(200px) rotateY(-90deg); opacity: 0; } 50%, 100% { transform: none; opacity: 1; } }
@keyframes tscale { 0% { transform: scale(.85); opacity: 0; } 50%, 100% { transform: none; opacity: 1; } }
.pv-menu { --acc: var(--accent); grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 7px; padding: 12px; background: var(--glass); border: 1px solid var(--glass-line); }
.pv-menu.neon { background: #080c12; border-color: var(--acc); box-shadow: 0 0 16px color-mix(in srgb, var(--acc) 45%, transparent); }
.pv-menu.solid { background: var(--bg-2); } .pv-menu.frost { background: rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.pv-menu.gradient { background: linear-gradient(135deg, color-mix(in srgb, var(--acc) 45%, #000), #10141c); }
.pv-menu.aurora { background: radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--acc) 50%, transparent), transparent 55%), radial-gradient(circle at 85% 80%, #6c4cf166, transparent 55%), #0b1018; }
.pv-menu.pill, .pv-menu.bubble { border-radius: 30px; } .pv-menu.sharp { border-radius: 4px; }
.mb { width: 100%; aspect-ratio: 1; background: color-mix(in srgb, var(--acc) 35%, rgba(255,255,255,.12)); }
.mb.circle { border-radius: 50%; } .mb.square { border-radius: 4px; } .mb.squircle { border-radius: 32%; } .mb.chip { aspect-ratio: 2.2; border-radius: 99px; }
.mb.flat { background: rgba(255,255,255,.18); border-radius: 8px; } .mb.outline { background: transparent; border: 1.5px solid var(--acc); border-radius: 6px; }
.pv-browser { --acc: var(--accent); --rad: 20px; align-content: start; justify-items: stretch; padding: 10px; background: #0d1116; border: 1px solid var(--acc); }
.pv-browser.aurora { background: radial-gradient(circle at 25% 30%, color-mix(in srgb, var(--acc) 45%, transparent), transparent 55%), #0d1116; }
.pv-browser.grid { background: linear-gradient(#ffffff10 1px, transparent 1px) 0 0 / 14px 14px, linear-gradient(90deg, #ffffff10 1px, transparent 1px) 0 0 / 14px 14px, #0d1116; }
.pv-browser.dots { background: radial-gradient(#ffffff26 1.2px, transparent 1.2px) 0 0 / 12px 12px, #0d1116; }
.pv-browser.waves { background: repeating-radial-gradient(circle at 50% 120%, transparent 0 10px, color-mix(in srgb, var(--acc) 30%, transparent) 11px 12px), #0d1116; }
.bbar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; border-radius: var(--rad); background: rgba(255,255,255,.12); } .bbar.solid { background: #1c232d; } .bbar.minimal { background: transparent; border: 1px solid #ffffff30; }
.bbar i { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); } .bbar b { height: 5px; flex: 1; border-radius: 3px; background: rgba(255,255,255,.35); }
.bpage { height: 58px; }
.pv-sound { background: var(--glass); border: 1px solid var(--line); gap: 6px; }
.pv-sound .play { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--accent); background: transparent; color: var(--accent); font-size: 18px; cursor: pointer; transition: transform .15s; }
.pv-sound .play.on { transform: scale(1.15); background: var(--glow); }
.pv-gest { background: var(--glass); border: 1px solid var(--line); align-content: center; gap: 4px; font-size: .8rem; color: var(--muted); padding: 10px; }
.pv-gest b { color: var(--accent); }

/* theme previews: the app on a PC and on a phone, in the theme's colours */
.pv-themefull { position: relative; height: 196px; border-radius: 16px; overflow: hidden; background: radial-gradient(120% 90% at 20% 0%, color-mix(in srgb, var(--pr) 26%, var(--bg)), var(--bg)); border: 1px solid color-mix(in srgb, var(--pr) 55%, transparent); }
.pv-themefull .dk { position: absolute; left: 10px; top: 14px; width: 66%; height: 150px; border-radius: 8px; background: var(--bg); border: 1px solid color-mix(in srgb, var(--tx) 18%, transparent); box-shadow: 0 8px 22px rgba(0,0,0,.4); overflow: hidden; display: flex; flex-direction: column; }
.pv-themefull .dk-bar { height: 11px; background: color-mix(in srgb, var(--sf) 90%, transparent); display: flex; gap: 3px; align-items: center; padding: 0 5px; }
.pv-themefull .dk-bar .i { width: 4px; height: 4px; border-radius: 50%; background: var(--t2); opacity: .7; }
.pv-themefull .dk-body { flex: 1; display: grid; grid-template-columns: 16% 1fr; min-height: 0; }
.pv-themefull .dk-rail { background: color-mix(in srgb, var(--sf) calc(var(--gl) * 400%), transparent); border-right: 1px solid color-mix(in srgb, var(--tx) 10%, transparent); display: flex; flex-direction: column; gap: 6px; align-items: center; padding-top: 8px; }
.pv-themefull .dk-rail .i { width: 8px; height: 8px; border-radius: 3px; background: var(--t2); opacity: .55; }
.pv-themefull .dk-rail .i.on { background: var(--pr); opacity: 1; box-shadow: 0 0 6px var(--pr); }
.pv-themefull .dk-main { padding: 6px; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.pv-themefull .dk-hero { position: relative; flex: 1; border-radius: 6px; background: linear-gradient(135deg, color-mix(in srgb, var(--pr) 55%, var(--sf)), var(--sf)); }
.pv-themefull .dk-hero .play, .pv-themefull .ph-video .play { position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--pr); box-shadow: 0 0 8px var(--pr); }
.pv-themefull .ttl { position: absolute; left: 6px; bottom: 5px; display: grid; gap: 3px; }
.pv-themefull .l1, .pv-themefull .l2 { height: 3px; border-radius: 2px; background: var(--tx); }
.pv-themefull .l1 { width: 34px; } .pv-themefull .l2 { width: 20px; background: var(--t2); }
.pv-themefull .dk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; height: 22px; }
.pv-themefull .dk-row .c { border-radius: 4px; background: color-mix(in srgb, var(--sf) calc(var(--gl) * 400%), transparent); border: 1px solid color-mix(in srgb, var(--tx) 10%, transparent); }
.pv-themefull .dk-mini { display: flex; align-items: center; gap: 5px; height: 16px; border-radius: 5px; padding: 0 4px; background: color-mix(in srgb, var(--sf) calc(var(--gl) * 450%), transparent); border: 1px solid color-mix(in srgb, var(--pr) 35%, transparent); }
.pv-themefull .dk-mini .art { width: 9px; height: 9px; border-radius: 2px; background: var(--pr); }
.pv-themefull .dk-mini .tx { display: grid; gap: 2px; flex: 1; } .pv-themefull .dk-mini .l1 { width: 26px; height: 2px; } .pv-themefull .dk-mini .l2 { width: 16px; height: 2px; }
.pv-themefull .dk-mini .pb { width: 26px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--pr) 55%, color-mix(in srgb, var(--tx) 25%, transparent) 55%); }
.pv-themefull .ph { position: absolute; right: 12px; top: 10px; width: 78px; height: 176px; border-radius: 14px; background: var(--bg); border: 3px solid #1b1b1f; outline: 1px solid color-mix(in srgb, var(--tx) 22%, transparent); box-shadow: 0 10px 26px rgba(0,0,0,.5); overflow: hidden; display: flex; flex-direction: column; gap: 4px; padding: 0 5px; }
.pv-themefull .ph-notch { width: 22px; height: 4px; border-radius: 3px; background: #1b1b1f; margin: 3px auto 0; }
.pv-themefull .ph-video { position: relative; height: 54px; border-radius: 6px; background: linear-gradient(135deg, color-mix(in srgb, var(--pr) 55%, var(--sf)), var(--sf)); }
.pv-themefull .ph-video .play { right: auto; left: 50%; margin-left: -7px; }
.pv-themefull .seek { position: absolute; left: 5px; right: 5px; bottom: 4px; height: 3px; border-radius: 2px; background: color-mix(in srgb, var(--tx) 30%, transparent); }
.pv-themefull .seek .fill { width: 45%; height: 100%; border-radius: 2px; background: var(--pr); }
.pv-themefull .seek .knob { position: absolute; left: 45%; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--pr); }
.pv-themefull .ph-title { display: grid; gap: 3px; margin-top: 2px; } .pv-themefull .ph-title .l1 { width: 40px; } .pv-themefull .ph-title .l2 { width: 26px; }
.pv-themefull .ph-ctrls { display: flex; justify-content: space-between; margin: 2px 4px; }
.pv-themefull .ph-ctrls .i { width: 7px; height: 7px; border-radius: 50%; background: var(--t2); opacity: .6; }
.pv-themefull .ph-ctrls .i.on { background: var(--pr); opacity: 1; width: 10px; height: 10px; margin-top: -1.5px; box-shadow: 0 0 6px var(--pr); }
.pv-themefull .ph-list { display: grid; gap: 4px; }
.pv-themefull .ph-list .r { height: 13px; border-radius: 4px; background: color-mix(in srgb, var(--sf) calc(var(--gl) * 400%), transparent); border: 1px solid color-mix(in srgb, var(--tx) 10%, transparent); }
.pv-themefull .ph-nav { margin: auto -5px 0; height: 18px; display: flex; justify-content: space-around; align-items: center; background: color-mix(in srgb, var(--sf) calc(var(--gl) * 450%), transparent); border-top: 1px solid color-mix(in srgb, var(--tx) 12%, transparent); }
.pv-themefull .ph-nav .i { width: 6px; height: 6px; border-radius: 50%; background: var(--t2); opacity: .55; }
.pv-themefull .ph-nav .i.on { width: 14px; height: 7px; border-radius: 5px; background: var(--pr); opacity: 1; }
