:root {
  --bg: #0b0b0d;
  --surface: #141417;
  --surface-2: #1b1b1f;
  --surface-3: #25252b;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #f4f4f5;
  --text-2: #b8b8bd;
  --muted: #7d7d84;
  --accent: #8B48F7;
  --accent-hover: #9b60f9;
  --accent-soft: rgba(139, 72, 247, 0.16);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Inter, Roboto, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Inter, Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
main { overflow-x: clip; }
a { color: inherit; }
img, svg { display: block; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px;
  max-width: 1120px; margin: 0 auto; padding: 14px 20px;
  background: rgba(11, 11, 13, 0.78); backdrop-filter: blur(16px) saturate(1.5);
}
.nav__brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 700 18px/1 var(--display); letter-spacing: -0.03em; }
.nav__links { display: flex; gap: 22px; margin-left: auto; }
.nav__links a { color: var(--text-2); text-decoration: none; font-size: 14.5px; }
.nav__links a:hover { color: var(--text); }

/* -------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-weight: 650; border-radius: 12px; transition: background .15s, transform .1s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--small { height: 36px; padding: 0 16px; font-size: 14px; background: var(--surface-3); border-radius: 10px; }
.btn--small:hover { background: #303038; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -8px rgba(139, 72, 247, 0.6); }
.btn--primary:hover { background: var(--accent-hover); box-shadow: 0 14px 40px -8px rgba(139, 72, 247, 0.75); }
.btn--large { height: 56px; padding: 0 30px; font-size: 17px; border-radius: 14px; }
.btn svg { width: 20px; height: 20px; }

/* ----------------------------------------------------------------- hero */
.hero { position: relative; max-width: 1120px; margin: 0 auto; padding: 72px 20px 40px; text-align: center; }
.hero__glow { position: absolute; left: 50%; top: -40px; width: 900px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(139, 72, 247, 0.28), transparent); pointer-events: none; z-index: -1; filter: blur(20px); }
.eyebrow { display: inline-block; margin: 0 0 20px; padding: 6px 14px; border-radius: 99px; background: var(--accent-soft); color: #c9a9ff; font-size: 13.5px; font-weight: 600; }
.hero h1 { font-size: clamp(38px, 6.4vw, 68px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 800; }
.hero h1 span { color: var(--muted); }
.lead { max-width: 560px; margin: 22px auto 34px; color: var(--text-2); font-size: clamp(17px, 2vw, 19px); }
.dl { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.dl__alt { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; font-size: 14px; color: var(--muted); }
.dl__alt a { color: var(--text-2); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.dl__alt a:hover { color: var(--text); border-color: var(--text-2); }
.dl__meta { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------- app preview */
.app { margin: 64px auto 0; max-width: 980px; border-radius: 16px; background: #111112; box-shadow: 0 40px 120px -30px rgba(139, 72, 247, 0.45), 0 0 0 1px var(--line-2); overflow: hidden; text-align: left; font-size: 13px; }
.app__bar { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.app__bar i { width: 12px; height: 12px; border-radius: 50%; background: #3a3a40; }
.app__bar i:nth-child(1) { background: #ff5f57; } .app__bar i:nth-child(2) { background: #febc2e; } .app__bar i:nth-child(3) { background: #28c840; }
.app__search { margin: 0 auto; width: min(360px, 40%); height: 28px; border-radius: 8px; background: rgba(255,255,255,0.06); color: var(--muted); display: flex; align-items: center; padding: 0 12px; font-size: 12px; }
.app__dl { color: var(--text-2); font-size: 12px; font-weight: 600; }
.app__body { position: relative; padding: 22px; min-height: 430px; }
.app__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; filter: brightness(0.45); }
.thumb { position: relative; aspect-ratio: 16/9; border-radius: 10px; }
.thumb b { position: absolute; right: 7px; bottom: 7px; background: rgba(0,0,0,.7); color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 5px; font-weight: 600; }
.t1 { background: linear-gradient(135deg, #3a2a6b, #1b3b5c); } .t2 { background: linear-gradient(135deg, #4b2440, #2b2360); } .t3 { background: linear-gradient(135deg, #173f3a, #2d2a5c); }
.t4 { background: linear-gradient(135deg, #5a3a1c, #3b1f4f); } .t5 { background: linear-gradient(135deg, #1f2f55, #4a2466); } .t6 { background: linear-gradient(135deg, #2b4a2a, #22304f); }
.sheet { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(430px, calc(100% - 40px)); background: #19191b; border-radius: 14px; box-shadow: 0 24px 60px -12px rgba(0,0,0,.8), 0 0 0 1px var(--line); padding: 16px; }
.sheet__head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.sheet__head strong { display: block; font-size: 13.5px; }
.sheet__head small { color: var(--muted); font-size: 11.5px; }
.sheet__thumb { width: 84px; aspect-ratio: 16/9; border-radius: 7px; background: linear-gradient(135deg, #3a2a6b, #1b3b5c); flex: none; }
.sheet__row { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.sheet__row label { color: var(--text-2); font-size: 12px; }
.fake-select { background: rgba(255,255,255,0.06); border-radius: 8px; padding: 6px 10px; font-weight: 600; font-size: 12px; }
.seg { display: inline-flex; background: rgba(255,255,255,0.06); border-radius: 8px; padding: 2px; font-size: 11.5px; font-weight: 600; color: var(--text-2); }
.seg span { padding: 3px 10px; border-radius: 6px; }
.seg .on { background: #19191b; color: var(--text); box-shadow: 0 0 0 .5px var(--line-2); }
.times { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--muted); }
.tf { flex: 1; display: flex; align-items: center; gap: 2px; background: rgba(255,255,255,0.06); border-radius: 8px; padding: 5px 9px; font-variant-numeric: tabular-nums; color: var(--muted); }
.tf em { font-style: normal; font-size: 10.5px; font-weight: 600; margin-right: auto; }
.tf b { color: var(--text); font-size: 13px; }
.sheet__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); }
.sheet__foot small { color: var(--muted); }
.sheet__foot strong { color: var(--text); }
.fake-btn { background: var(--accent); color: #fff; font-weight: 700; padding: 7px 16px; border-radius: 9px; font-size: 12.5px; }

/* ------------------------------------------------------------- sections */
.section { max-width: 1120px; margin: 0 auto; padding: 110px 20px 0; }
.section--narrow { max-width: 760px; }
.section h2 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.1; text-align: center; margin-bottom: 44px; font-weight: 750; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.steps__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: #c9a9ff; font-weight: 800; margin-bottom: 16px; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p, .features p { margin: 0; color: var(--text-2); font-size: 15px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.features article { background: var(--bg); padding: 28px; }
.features h3 { font-size: 17px; margin-bottom: 6px; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; color: var(--muted); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 20px; color: var(--text-2); }
.faq a { color: #c9a9ff; }

.cta { max-width: 760px; margin: 120px auto 0; padding: 60px 20px; text-align: center; }
.cta img { margin: 0 auto 22px; filter: drop-shadow(0 14px 34px rgba(139, 72, 247, 0.5)); }
.cta h2 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.1; font-weight: 750; }
.cta p { color: var(--text-2); margin: 12px 0 30px; font-size: 18px; }

/* --------------------------------------------------------------- footer */
.footer { max-width: 1120px; margin: 80px auto 0; padding: 28px 20px 40px; border-top: 1px solid var(--line); }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer__brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; }
.footer nav { display: flex; gap: 20px; }
.footer nav a { color: var(--text-2); text-decoration: none; font-size: 14px; }
.footer nav a:hover { color: var(--text); }
.footer__legal { margin: 18px 0 0; color: var(--muted); font-size: 12.5px; max-width: 720px; }

/* ---------------------------------------------------------------- legal */
.legal-page { max-width: 720px; margin: 0 auto; padding: 60px 20px 0; }
.legal-page h1 { font-size: 40px; margin-bottom: 8px; }
.legal-page h3 { font-size: 18px; margin: 30px 0 6px; letter-spacing: -0.01em; }
.legal-page p, .legal-page li { color: var(--text-2); }
.legal-page .terms__updated { color: var(--muted); }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav .btn--small { margin-left: auto; }
  .steps, .features { grid-template-columns: 1fr; }
  .app__grid { grid-template-columns: repeat(2, 1fr); }
  .app__body { min-height: 400px; padding: 14px; }
  .hero { padding-top: 48px; }
  .section { padding-top: 80px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ================================================================== demo */
.demo { margin: 60px auto 0; max-width: 980px; }
.demo .app { margin: 0; }
.app__search { gap: 8px; }
.app__search svg { width: 13px; height: 13px; flex: none; }
.typed { color: var(--text); }
.caret { width: 1.5px; height: 14px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.app__dl { display: flex; align-items: center; gap: 7px; }
.app__ring { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.18); }
.app[data-state="done"] .app__ring { border-color: var(--accent); border-right-color: rgba(255,255,255,.18); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.app__body { position: relative; min-height: 440px; padding: 0; overflow: hidden; }
.layer { position: absolute; inset: 0; padding: 22px; opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.app[data-state="search"] .layer--search,
.app[data-state="channel"] .layer--channel,
.app[data-state="sheet"] .layer--channel,
.app[data-state="done"] .layer--channel,
.app[data-state="sheet"] .layer--sheet,
.app[data-state="done"] .layer--done { opacity: 1; transform: none; }
.app[data-state="sheet"] .layer--channel, .app[data-state="done"] .layer--channel { filter: brightness(.4); }

.suggestions { width: min(420px, 100%); margin: 0 auto; background: #19191b; border-radius: 12px; padding: 6px; box-shadow: 0 20px 50px -10px rgba(0,0,0,.7), 0 0 0 1px var(--line); }
.sug { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 13px; }
.sug b { display: block; font-weight: 600; }
.sug small { color: var(--muted); font-size: 11.5px; }
.sug div { flex: 1; }
.sug em { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: #ff4d5e; color: #fff; padding: 1px 6px; border-radius: 4px; }
.sug--on { background: var(--accent); }
.sug--on small { color: rgba(255,255,255,.8); }
.av { width: 30px; height: 30px; border-radius: 50%; flex: none; }
.av--lg { width: 42px; height: 42px; }
.av1 { background: linear-gradient(135deg, #b18cff, #5b2bd9); }
.av2 { background: linear-gradient(135deg, #ffb86b, #d9542b); }
.av3 { background: linear-gradient(135deg, #6be3ff, #2b6bd9); }

.chhead { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.chhead b { display: block; font-size: 16px; }
.chhead small { color: var(--muted); font-size: 12px; }
.chhead .tabs { margin-left: auto; display: flex; gap: 2px; background: rgba(255,255,255,.06); border-radius: 8px; padding: 2px; font-size: 11.5px; font-weight: 600; color: var(--text-2); }
.chhead .tabs span { padding: 4px 10px; border-radius: 6px; }
.chhead .tabs .on { background: #19191b; color: var(--text); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vod p { margin: 8px 0 0; font-weight: 600; font-size: 13px; }
.vod small { color: var(--muted); font-size: 11.5px; }
.thumb { display: grid; place-items: center; color: rgba(255,255,255,.35); overflow: hidden; }
.thumb .ico { width: 34%; height: auto; }
.pill { position: absolute; right: 8px; top: 8px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: 7px; opacity: 0; transform: translateY(-3px); transition: opacity .3s .5s, transform .3s .5s; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.app[data-state="channel"] .vod--hover .pill { opacity: 1; transform: none; }
.app[data-state="channel"] .vod--hover .thumb { box-shadow: 0 0 0 2px var(--accent); }

.layer--sheet .sheet { top: 50%; }
.layer--done { display: flex; justify-content: flex-end; align-items: flex-start; }
.panel { width: min(420px, 100%); background: #19191b; border-radius: 14px; padding: 14px; box-shadow: 0 24px 60px -12px rgba(0,0,0,.8), 0 0 0 1px var(--line); }
.panel__title { display: block; font-size: 14px; margin-bottom: 10px; }
.panel .job { display: flex; gap: 10px; }
.panel .sheet__thumb { width: 72px; }
.job__body { flex: 1; min-width: 0; }
.job__body b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job__body small { color: var(--muted); font-size: 11px; }
.bar { height: 4px; background: rgba(255,255,255,.1); border-radius: 99px; margin: 7px 0 5px; overflow: hidden; }
.bar div { height: 100%; width: 0; background: var(--accent); border-radius: 99px; }
.app[data-state="done"] .bar div { animation: fill 1.8s .3s ease-out forwards; }
@keyframes fill { to { width: 100%; } }
.job__status { font-size: 11.5px; font-variant-numeric: tabular-nums; }
.st-run { color: var(--text-2); }
.st-done { display: none; color: #3dd68c; font-weight: 700; }
.app.is-finished .st-run { display: none; }
.app.is-finished .st-done { display: inline; }
.app.is-finished .app__ring { animation: none; border-color: #3dd68c; }
.panel__tip { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11.5px; }

.demo__steps { list-style: none; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 22px 0 0; padding: 0; }
.demo__steps li { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-size: 14px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; user-select: none; }
.demo__steps li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-3); font-size: 12px; font-weight: 800; transition: background .2s; }
.demo__steps li.is-on { color: var(--text); border-color: rgba(139,72,247,.6); background: var(--accent-soft); }
.demo__steps li.is-on span { background: var(--accent); color: #fff; }

/* ============================================================== sections */
.section__lead { text-align: center; color: var(--text-2); max-width: 620px; margin: -26px auto 40px; font-size: 17px; }
.more-link { text-align: center; margin: 26px 0 0; }
.more-link a, .features a, .callout a { color: #c9a9ff; }
code { font: 0.9em ui-monospace, "SF Mono", Menlo, monospace; background: var(--surface-3); padding: 1px 6px; border-radius: 5px; }
.kinds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kind, .platform { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; transition: border-color .2s, transform .2s; }
.kind:hover, .platform:hover { border-color: rgba(139,72,247,.55); transform: translateY(-2px); }
.kind b, .platform b { display: block; font-size: 16.5px; margin-bottom: 4px; }
.kind p, .platform p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.callout { background: linear-gradient(135deg, rgba(139,72,247,.16), rgba(139,72,247,.04)); border: 1px solid rgba(139,72,247,.3); border-radius: 20px; padding: 34px; text-align: center; }
.callout h2 { margin-bottom: 12px; font-size: clamp(26px, 3.4vw, 34px); }
.callout p { color: var(--text-2); margin: 0 auto 10px; max-width: 600px; }
.callout strong { color: var(--text); }

/* ================================================================ guides */
.guide { max-width: 760px; margin: 0 auto; padding: 36px 20px 0; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.guide h1 { font-size: clamp(34px, 5vw, 50px); line-height: 1.08; letter-spacing: -0.04em; font-weight: 800; }
.guide__lead { font-size: 19px; color: var(--text-2); margin: 16px 0 6px; }
.guide__meta { color: var(--muted); font-size: 13.5px; margin: 0 0 30px; }
.guide article h2 { font-size: 26px; margin: 44px 0 12px; letter-spacing: -0.025em; }
.guide article p, .guide article li { color: var(--text-2); font-size: 16.5px; }
.guide article li { margin: 6px 0; }
.guide article strong { color: var(--text); }
.guide article a { color: #c9a9ff; }
.guide .faq { margin-top: 8px; }
.howto { counter-reset: s; list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.howto li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 2px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.howto li::before { content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: #c9a9ff; font-weight: 800; }
.howto b { color: var(--text); }
.howto span { color: var(--text-2); font-size: 15px; }
.cta-box { display: flex; align-items: center; gap: 20px; justify-content: space-between; flex-wrap: wrap; margin: 34px 0; padding: 22px 24px; border-radius: 18px; background: linear-gradient(135deg, rgba(139,72,247,.18), rgba(139,72,247,.05)); border: 1px solid rgba(139,72,247,.3); }
.cta-box b { display: block; font-size: 17px; }
.cta-box p { margin: 2px 0 0; color: var(--text-2); font-size: 14.5px; }
.cta-box .btn { height: 46px; padding: 0 20px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin: 8px 0 14px; font-size: 16px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 14px; }
td { color: var(--text-2); }
td:last-child { color: var(--text); font-weight: 600; }
.related { margin-top: 60px; }
.related h2 { font-size: 24px; margin-bottom: 16px; }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related__grid--hub { grid-template-columns: repeat(2, 1fr); margin-top: 30px; }
.related__grid a { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; transition: border-color .2s; }
.related__grid a:hover { border-color: rgba(139,72,247,.55); }
.related__grid b { display: block; margin-bottom: 4px; }
.related__grid span { color: var(--muted); font-size: 13.5px; }

/* ================================================================ footer */
.footer__cols { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__tag { margin: 8px 0 6px; color: var(--text-2); font-size: 14px; }
.footer__links { margin: 0; font-size: 14px; color: var(--muted); }
.footer__links a, .footer__cols nav a { color: var(--text-2); text-decoration: none; }
.footer__links a:hover, .footer__cols nav a:hover { color: var(--text); }
.footer__cols nav { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.footer__cols nav b { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }

@media (max-width: 860px) {
  .kinds { grid-template-columns: 1fr 1fr; }
  .platforms, .related__grid, .related__grid--hub { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .grid .vod:nth-child(3) { display: none; }
  .chhead .tabs { display: none; }
  .app__body { min-height: 400px; }
  .layer { padding: 14px; }
  .demo__steps li { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .layer, .pill { transition: none; }
  .caret { animation: none; }
}
@media (max-width: 520px) {
  .sheet { padding: 12px; }
  .sheet__row { grid-template-columns: 52px 1fr; gap: 8px; }
  .times { gap: 4px; }
  .times > span { display: none; }
  .tf { padding: 5px 7px; min-width: 0; }
  .tf em { display: none; }
  .tf b { font-size: 12px; }
}
