/* Polaris — landing. Dark-tech / north-star language.
   One accent (starlight blue), one radius rule (cards 16px, ctas pill), SF stack. */

:root {
  --bg: #070b12;
  --bg-2: #0b1119;
  --surface: #0e1622;
  --surface-2: #121c2b;
  --line: rgba(148, 178, 220, 0.12);
  --line-strong: rgba(148, 178, 220, 0.22);
  --text: rgba(255, 255, 255, 0.88);      /* AntD dark heading/body D9 */
  --muted: rgba(255, 255, 255, 0.65);     /* AntD dark secondary A6   */
  --faint: rgba(255, 255, 255, 0.38);     /* AntD dark disabled 40 — decoration only */
  --accent: #6ea8ff;
  --accent-soft: rgba(110, 168, 255, 0.14);
  --accent-line: rgba(110, 168, 255, 0.35);
  --good: #4ade80;
  --r-card: 16px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5715;
}
::selection { background: var(--accent-soft); }

/* ------- starfield ------- */
.stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.stars i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: #cfe2ff; opacity: .35;
  animation: twinkle var(--tw, 6s) ease-in-out infinite;
}
@keyframes twinkle { 0%,100% { opacity: .12 } 50% { opacity: .55 } }
.stars .flare {
  position: absolute; border-radius: 50%; filter: blur(70px);
  background: radial-gradient(circle, rgba(110,168,255,.16), transparent 70%);
}
.stars .flare.a { width: 560px; height: 560px; top: -180px; right: -120px; }
.stars .flare.b { width: 420px; height: 420px; top: 45%; left: -160px; opacity: .6; }

main, nav, footer { position: relative; z-index: 1; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ------- nav ------- */
nav {
  position: fixed; top: var(--sale-h, 0); left: 0; right: 0; z-index: 10;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 11, 18, .72); border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 60px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; color: var(--text); }
.logo svg { display: block; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* ------- buttons ------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  padding: 11px 22px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .15s, background .2s, border-color .2s, box-shadow .2s;
  cursor: pointer; font-family: var(--font);
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--accent); color: #071120;
  box-shadow: 0 0 0 1px var(--accent-line), 0 8px 30px -8px rgba(110,168,255,.45);
}
.btn-primary:hover { background: #8dbdff; box-shadow: 0 0 0 1px var(--accent-line), 0 10px 36px -8px rgba(110,168,255,.6); }
.btn-ghost { color: var(--text); border-color: var(--line-strong); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.btn.small { padding: 8px 16px; font-size: 14px; }

/* ------- hero ------- */
.hero { min-height: 100dvh; display: flex; align-items: center; padding: 130px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; color: var(--accent);
  border: 1px solid var(--accent-line); border-radius: 999px;
  padding: 5px 13px; background: var(--accent-soft); margin-bottom: 26px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
h1 {
  font-size: clamp(42px, 5.6vw, 68px); line-height: 1.02;
  letter-spacing: -0.035em; font-weight: 600; margin-bottom: 22px;
}
h1 em { font-style: normal; color: var(--accent); }
.sub { font-size: 18px; color: var(--muted); max-width: 46ch; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-meta { font-family: var(--mono); font-size: 12px; color: var(--faint); display: flex; gap: 18px; flex-wrap: wrap; }
.hero-meta span::before { content: "· "; color: var(--accent); }
.hero-meta span:first-child::before { content: ""; }

/* ------- app mock ------- */
.mock {
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r-card); overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(110,168,255,.06), 0 0 120px -40px rgba(110,168,255,.25);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.mock:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(.5deg); }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.mock-bar b { width: 11px; height: 11px; border-radius: 50%; background: #2a3648; }
.mock-bar b:nth-child(1) { background: #ff5f57; } .mock-bar b:nth-child(2) { background: #febc2e; } .mock-bar b:nth-child(3) { background: #28c840; }
.mock-bar span { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.mock-body { display: grid; grid-template-columns: 148px 1fr; min-height: 340px; }
.mock-side { border-right: 1px solid var(--line); padding: 14px 10px; background: rgba(255,255,255,.015); }
.mock-side .grp { font-size: 12px; letter-spacing: .08em; color: var(--faint); padding: 8px 8px 5px; font-family: var(--mono); }
.mock-side .mi {
  display: flex; align-items: center; gap: 8px; padding: 7px 9px; margin: 1px 0;
  font-size: 12px; color: var(--muted); border-radius: 7px;
}
.mock-side .mi.on { background: var(--accent-soft); color: var(--accent); }
.mock-side .mi i { width: 6px; height: 6px; border-radius: 2px; background: currentColor; opacity: .6; }
.mock-main { padding: 16px; }
.mock-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.mock-title h4 { font-size: 14px; font-weight: 600; }
.mock-title span { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.krow {
  display: grid; grid-template-columns: 1fr 52px 46px 60px; gap: 8px;
  padding: 9px 10px; font-size: 12px; border-radius: 9px; align-items: center;
}
.krow:nth-child(odd) { background: rgba(255,255,255,.02); }
.krow .k { color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.krow .v { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: right; }
.krow .rank { font-family: var(--mono); font-size: 12px; text-align: right; }
.krow .rank.up { color: var(--good); } .krow .rank.dn { color: #f87171; }
.krow .bars { display: flex; gap: 2.5px; align-items: flex-end; height: 16px; justify-content: flex-end; }
.krow .bars i { width: 3.5px; background: var(--accent); opacity: .5; border-radius: 1px; }

/* ------- sections ------- */
section { padding: 96px 0; }
.sec-head { max-width: 560px; margin-bottom: 52px; }
.sec-head .tag { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .06em; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.03em; font-weight: 600; margin: 12px 0 14px; }
.sec-head p { color: var(--muted); font-size: 16px; }

/* ------- bento ------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 26px;
  transition: border-color .25s, transform .25s, background .25s;
}
.card:hover { border-color: var(--accent-line); transform: translateY(-3px); background: var(--surface-2); }
.card.c-4 { grid-column: span 4; } .card.c-3 { grid-column: span 3; } .card.c-2 { grid-column: span 2; }
.card .glyph {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 18px;
}
.card h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); }
.card .foot { margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--faint); }

/* mini chart inside a card */
.spark { display: flex; gap: 3px; align-items: flex-end; height: 34px; margin-top: 18px; }
.spark i { flex: 1; background: linear-gradient(to top, var(--accent), transparent 160%); border-radius: 2px 2px 0 0; opacity: .8; min-width: 4px; }

/* ------- steps ------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
.step {
  border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px;
  background: linear-gradient(180deg, var(--surface), transparent);
}
.step::before {
  counter-increment: s; content: "0" counter(s);
  font-family: var(--mono); font-size: 14px; color: var(--accent);
  display: inline-block; padding: 4px 10px; margin-bottom: 16px;
  border: 1px solid var(--accent-line); border-radius: 999px; background: var(--accent-soft);
}
.step h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* ------- pricing ------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan {
  border: 1px solid var(--line); border-radius: var(--r-card); padding: 30px 26px;
  background: var(--surface); position: relative; display: flex; flex-direction: column;
  transition: border-color .25s, transform .25s;
}
.plan:hover { transform: translateY(-3px); }
.plan.hot { border-color: var(--accent-line); background: linear-gradient(180deg, var(--accent-soft), var(--surface) 55%); }
.plan .badge {
  position: absolute; top: -11px; left: 24px; font-family: var(--mono); font-size: 12px;
  background: var(--accent); color: #071120; font-weight: 600;
  padding: 3px 11px; border-radius: 999px;
}
.plan .name { font-size: 14px; font-weight: 600; color: var(--muted); }
.plan .price { font-size: 44px; font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: -.04em; margin: 10px 0 2px; }
.plan .per { font-size: 14px; color: var(--faint); margin-bottom: 22px; }
.plan ul { list-style: none; margin-bottom: 28px; flex: 1; }
.plan li { font-size: 14px; color: var(--muted); padding: 6px 0 6px 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 13px; width: 12px; height: 2px; background: var(--accent); border-radius: 1px; }
.plan li b { color: var(--text); font-weight: 600; }
.plan .btn { justify-content: center; }

/* ------- download ------- */
.dl {
  border: 1px solid var(--accent-line); border-radius: 24px;
  background: radial-gradient(120% 160% at 50% -20%, var(--accent-soft), var(--surface) 55%);
  text-align: center; padding: 72px 32px;
}
.dl h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em; margin-bottom: 14px; }
.dl p { color: var(--muted); margin-bottom: 32px; }
.dl .req { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-top: 22px; }

/* ------- faq ------- */
.faq { max-width: 720px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 4px;
  font-size: 16px; font-weight: 600; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--accent); font-size: 18px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); font-size: 14px; padding: 0 4px 22px; max-width: 60ch; }

/* ------- footer ------- */
footer { border-top: 1px solid var(--line); padding: 36px 0 60px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-in p { font-size: 14px; color: var(--faint); }
.foot-links { display: flex; gap: 20px; }
.foot-links a { font-size: 14px; color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--text); }

/* ------- reveal ------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .mock { transform: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card.c-4, .card.c-3, .card.c-2 { grid-column: span 2; }
  .steps, .pricing { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, .stars i { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* vs strip */
.vs {
  display: flex; justify-content: center; gap: 20px; align-items: baseline; flex-wrap: wrap;
  font-size: 14px; color: var(--muted);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.vs-l s { color: var(--faint); }
.vs-r b { color: var(--accent); font-weight: 600; }

/* app-faithful mock details */
.khead {
  display: grid; grid-template-columns: 1fr 52px 52px 46px; gap: 8px;
  padding: 0 10px 7px; font-size: 12px; letter-spacing: .05em;
  color: var(--faint); font-family: var(--mono); border-bottom: 1px solid var(--line); margin-bottom: 4px;
}
.khead span { text-align: right; } .khead span:first-child { text-align: left; }
.krow { grid-template-columns: 1fr 52px 52px 46px; }
.krow .m { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.krow .m b { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.krow .m i { display: block; width: 44px; height: 3px; background: rgba(148,178,220,.18); border-radius: 2px; overflow: hidden; }
.krow .m i u { display: block; height: 100%; background: var(--accent); border-radius: 2px; opacity: .85; }
.mock-side .mi.proj { align-items: flex-start; gap: 9px; background: rgba(255,255,255,.04); }
.mock-side .appicon {
  width: 22px; height: 22px; border-radius: 5.5px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), #4a6fa5); display: grid; place-items: center;
  font-size: 12px; font-weight: 600; color: #071120; font-style: normal;
}
.mock-side .mi.proj b { display: block; font-size: 12px; font-weight: 600; color: var(--text); }
.mock-side .mi.proj small { font-size: 12px; color: var(--faint); display: block; }
.mock-side .mi .plus { width: 14px; font-style: normal; text-align: center; opacity: .7; }

/* app showcase */
.shot-frame {
  border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden;
  box-shadow: 0 40px 100px -40px rgba(0,0,0,.9), 0 0 140px -50px rgba(110,168,255,.3);
  margin-bottom: 40px;
}
.shot-frame img { display: block; width: 100%; height: auto; }
.bene-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.bene {
  border-left: 2px solid var(--accent-line); padding: 18px 22px;
  background: linear-gradient(90deg, var(--accent-soft), transparent 60%);
  border-radius: 0 12px 12px 0;
}
.bene h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.bene p { font-size: 14px; color: var(--muted); }
.bene b { color: var(--accent); font-weight: 600; }
@media (max-width: 900px) { .bene-grid { grid-template-columns: 1fr; } }

/* ============ AGENT-NATIVE ============ */
.agent-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px; align-items: start; }
.agent-points { display: flex; flex-direction: column; gap: 22px; padding-top: 6px; }
.pt h3 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.pt h3::before { content: "// "; font-family: var(--mono); font-size: 12px; color: var(--accent); }
.pt p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.pt code { font-family: var(--mono); font-size: 12.5px; color: var(--accent); background: var(--accent-soft); border-radius: 5px; padding: 1px 6px; }
.term { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.10); }
.term-bar i:nth-child(1) { background: #ff5f57; } .term-bar i:nth-child(2) { background: #febc2e; } .term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin-left: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.term pre { margin: 0; padding: 18px 20px 22px; font-family: var(--mono); font-size: 12.5px; line-height: 1.85; color: var(--text); white-space: pre-wrap; }
.t-dim { color: var(--faint); } .t-acc { color: var(--accent); }
.t-down { color: #ff8b8b; } .t-good { color: var(--good); } .t-warn { color: #f5c26b; }
@media (max-width: 860px) { .agent-grid { grid-template-columns: 1fr; } }

/* ============ COMPARISON ============ */
.vs-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vs-col { border-radius: 16px; padding: 26px 28px; }
.vs-col .vs-title { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.vs-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.vs-col li { font-size: 15px; line-height: 1.4; }
.vs-col li b { font-family: var(--mono); font-weight: 500; display: inline-block; width: 18px; }
.vs-them { background: var(--surface); border: 1px solid var(--line); opacity: .75; }
.vs-them .vs-title { color: var(--faint); }
.vs-them li { color: var(--faint); }
.vs-them li b { color: #ff8b8b; }
.vs-us { background: var(--accent-soft); border: 1px solid var(--accent-line); box-shadow: 0 12px 40px -14px rgba(110,168,255,.35); }
.vs-us .vs-title { color: var(--accent); }
.vs-us li { color: var(--text); font-weight: 500; }
.vs-us li b { color: var(--good); }
@media (max-width: 720px) { .vs-cards { grid-template-columns: 1fr; } }

/* ============ SPEC STRIP ============ */
.strip { padding: 0; }
.strip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-row span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.strip-row span::before { content: "// "; color: var(--accent); }

/* ============ SALE BANNER ============ */
.sale-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: block; overflow: hidden; background: var(--accent-soft); border-bottom: 1px solid var(--accent-line); text-decoration: none; }
.sale-track { display: inline-flex; white-space: nowrap; padding: 7px 0; animation: sale-scroll 22s linear infinite; }
.sale-bar:hover .sale-track { animation-play-state: paused; }
.sale-track span { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .04em; }
.sale-track span b { color: var(--text); font-weight: 600; }
@keyframes sale-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .sale-track { animation: none; } }

/* ============ FEATURE DECK ============ */
.deck { display: grid; grid-template-columns: 1fr 300px; gap: 26px; align-items: stretch; }
.deck-win { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.deck-body { display: grid; grid-template-columns: 128px 1fr; min-height: 340px; }
.deck-side { border-right: 1px solid var(--line); padding: 14px 10px; background: rgba(255,255,255,.015); }
.deck-side .grp { font-size: 12px; letter-spacing: .08em; color: var(--faint); padding: 8px 8px 5px; font-family: var(--mono); }
.deck-side .mi { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 6px; font-size: 12.5px; color: var(--muted); transition: .25s; }
.deck-side .mi.on { background: var(--accent-soft); color: var(--accent); }
.deck-side .mi i { width: 6px; height: 6px; border-radius: 2px; background: currentColor; opacity: .6; }
.deck-stage { position: relative; overflow: hidden; }
.slide { position: absolute; inset: 0; padding: 18px; opacity: 0; transform: translateX(24px); transition: opacity .45s ease, transform .45s cubic-bezier(.22,.8,.3,1); pointer-events: none; }
.slide.on { opacity: 1; transform: none; pointer-events: auto; }
.slide.out { opacity: 0; transform: translateX(-24px); }
.khead { display: grid; grid-template-columns: 1fr 64px 64px 48px; font-family: var(--mono); font-size: 11px; color: var(--faint); padding: 0 10px 8px; border-bottom: 1px solid var(--line); }
.krow { display: grid; grid-template-columns: 1fr 64px 64px 48px; align-items: center; padding: 9px 10px; border-radius: 6px; opacity: 0; transform: translateY(8px); animation: rowIn .5s forwards; }
.slide.on .krow:nth-child(2){animation-delay:.05s}.slide.on .krow:nth-child(3){animation-delay:.12s}.slide.on .krow:nth-child(4){animation-delay:.19s}.slide.on .krow:nth-child(5){animation-delay:.26s}.slide.on .krow:nth-child(6){animation-delay:.33s}.slide.on .krow:nth-child(7){animation-delay:.4s}
@keyframes rowIn { to { opacity: 1; transform: none; } }
.krow .k { color: var(--text); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.krow .m { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.krow .m i { display: block; height: 3px; margin-top: 3px; background: var(--line); border-radius: 2px; width: 44px; }
.krow .m u { display: block; height: 100%; background: var(--accent); border-radius: 2px; }
.krow .rank { font-family: var(--mono); font-size: 12px; text-align: right; }
.rank.up { color: var(--good); animation: rankTick 2.4s ease infinite; }
.rank.dn { color: #f87171; }
@keyframes rankTick { 0%,100%{opacity:1} 50%{opacity:.55} }
.cv-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cv-title { font-weight: 600; font-size: 14px; }
.cv-meta { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.cv-meta.ad-new { color: var(--accent); }
.rd-row { display: flex; align-items: center; gap: 11px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; margin-bottom: 8px; background: rgba(255,255,255,.015); opacity: 0; transform: translateY(10px); animation: rowIn .55s forwards; }
.slide.on .rd-row:nth-child(2){animation-delay:.08s}.slide.on .rd-row:nth-child(3){animation-delay:.18s}.slide.on .rd-row:nth-child(4){animation-delay:.28s}.slide.on .rd-row:nth-child(5){animation-delay:.38s}
.rd-ico { width: 30px; height: 30px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.rd-txt { flex: 1; min-width: 0; font-size: 13px; }
.rd-txt small { display: block; color: var(--faint); font-size: 11.5px; margin-top: 2px; }
.badge { font-family: var(--mono); font-size: 9px; font-weight: 700; padding: 2px 5px; border-radius: 4px; letter-spacing: .04em; flex: none; }
.b-version { background: rgba(52,211,153,.15); color: #34d399; }
.b-price { background: rgba(251,191,36,.15); color: #fbbf24; }
.b-shots { background: rgba(96,165,250,.15); color: #60a5fa; }
.b-surge { background: rgba(244,114,182,.15); color: #f472b6; }
.b-on { background: rgba(52,211,153,.15); color: #34d399; }
.b-off { background: rgba(251,146,60,.15); color: #fb923c; }
.unread { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; animation: pulse 1.8s ease infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }
.pf-chips { display: flex; gap: 8px; }
.chip { font-family: var(--mono); font-size: 11px; padding: 3px 9px; border-radius: 20px; }
.c-warn { background: rgba(251,191,36,.12); color: #fbbf24; }
.c-info { background: rgba(96,165,250,.12); color: #60a5fa; }
.c-pass { background: rgba(52,211,153,.12); color: #34d399; }
.pf-sec { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: var(--faint); margin: 12px 0 6px; }
.pf-row { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 7px; opacity: 0; transform: translateY(8px); animation: rowIn .5s forwards; }
.slide.on .pf-row:nth-of-type(odd){animation-delay:.1s}.slide.on .pf-row:nth-of-type(even){animation-delay:.22s}
.pf-i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; }
.pf-i.i { background: rgba(96,165,250,.15); color: #60a5fa; }
.pf-i.w { background: rgba(251,191,36,.15); color: #fbbf24; }
.pf-i.p { background: rgba(52,211,153,.15); color: #34d399; }
.pf-fix { font-family: var(--mono); font-size: 11px; color: var(--accent); border: 1px solid var(--accent-line); padding: 3px 9px; border-radius: 6px; animation: fixGlow 2.2s ease infinite; }
@keyframes fixGlow { 0%,100%{box-shadow:0 0 0 0 rgba(124,140,255,0)} 50%{box-shadow:0 0 0 5px rgba(124,140,255,.12)} }
.ad-row { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 9px; background: rgba(255,255,255,.015); opacity: 0; transform: translateY(10px); animation: rowIn .55s forwards; }
.slide.on .ad-row:nth-child(2){animation-delay:.1s}.slide.on .ad-row:nth-child(3){animation-delay:.22s}
.ad-m { display: flex; gap: 16px; margin-left: auto; }
.ad-m span { text-align: right; }
.ad-m b { display: block; font-family: var(--mono); font-size: 14px; }
.ad-m i { font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--faint); }
.ad-m.dim b { color: var(--faint); }
.ad-pause { font-size: 12px; color: var(--muted); border: 1px solid var(--line); padding: 4px 10px; border-radius: 6px; flex: none; }
.ad-from { font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-top: 12px; }
.t-acc { color: var(--accent); }
.deck-sidecap { display: flex; flex-direction: column; position: relative; }
.cap { display: none; }
.cap.on { display: block; animation: capIn .4s ease; }
@keyframes capIn { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:none} }
.cap h3 { font-size: 21px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; }
.cap p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.deck-nav { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; }
.dk-btn { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; font-size: 14px; transition: .2s; }
.dk-btn:hover { border-color: var(--accent-line); color: var(--accent); }
.dk-dots { display: flex; gap: 6px; flex: 1; }
.dk-dot { width: 22px; height: 4px; border-radius: 2px; background: var(--line); border: none; cursor: pointer; transition: .3s; padding: 0; }
.dk-dot.on { background: var(--accent); }
.dk-prog { height: 2px; background: var(--line); border-radius: 2px; margin-top: 14px; overflow: hidden; }
.dk-prog i { display: block; height: 100%; width: 0; background: var(--accent); }
.dk-prog i.go { animation: prog 6s linear forwards; }
@keyframes prog { from{width:0} to{width:100%} }
@media (max-width: 900px) { .deck { grid-template-columns: 1fr; } .deck-body { grid-template-columns: 100px 1fr; } }
