/* ============================================================
   短视频解析 · 静态版样式
   主题色、圆角等集中在 :root 变量里，改配色只改这一段即可
   ============================================================ */
:root {
  --indigo: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --purple: #8b5cf6;
  --pink: #ec4899;
  --rose: #e11d48;
  --emerald: #10b981;
  --amber: #f59e0b;

  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-2: #475569;
  --muted: #64748b;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --header-bg: rgba(255, 255, 255, .82);
  --radius: 16px;
}

html.dark {
  --bg: #0f172a;
  --bg-soft: #0b1220;
  --card: #1e293b;
  --border: #334155;
  --text: #f1f5f9;
  --text-2: #cbd5e1;
  --muted: #94a3b8;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --header-bg: rgba(15, 23, 42, .82);
}

* { box-sizing: border-box; }

/* 关键：hidden 属性必须能覆盖 flex/grid 等 display 声明，否则元素会一直显示 */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

/* 键盘可达性：跳转链接默认隐藏，聚焦时显示 */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  padding: 10px 18px; border-radius: 10px;
  background: var(--indigo); color: #fff; font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

/* 统一的键盘焦点指示（不要移除 outline，会影响可访问性） */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 2px;
  border-radius: 8px;
}

/* 未启用 JavaScript 时的提示 */
.noscript-tip {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  z-index: 300; max-width: 90vw; padding: 12px 20px;
  border-radius: 12px; background: #f59e0b; color: #1f2937;
  font-size: 14px; font-weight: 600; box-shadow: var(--shadow);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .3s ease, color .3s ease;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.3; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.only-mobile { display: none; }
.c-indigo { color: var(--indigo); }
.c-purple { color: var(--purple); }
.c-pink { color: var(--pink); }
.c-emerald { color: var(--emerald); }
.c-amber { color: var(--amber); }

/* ── 粒子背景 ── */
.particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ══════════ 顶部导航 ══════════ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.scroll-bar { height: 2px; background: transparent; overflow: hidden; }
.scroll-bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--indigo), var(--purple), var(--pink));
  transition: width .12s linear;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 40px; height: 40px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; overflow: hidden;
  background: var(--bg-soft);
}
.brand-logo img { width: 28px; height: 28px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; }
.brand-text strong { font-size: 17px; letter-spacing: -.2px; }
.brand-text small { font-size: 12px; color: var(--muted); }

.nav { display: flex; gap: 4px; }
.nav a {
  padding: 8px 14px; border-radius: 10px; font-size: 14px; font-weight: 500;
  color: var(--text-2); transition: all .2s;
}
.nav a:hover { color: var(--indigo); background: var(--bg-soft); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-select {
  appearance: none; -webkit-appearance: none;
  border: 0; outline: none; cursor: pointer;
  padding: 6px 26px 6px 12px; border-radius: 10px; font-size: 13px;
  background: var(--bg-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'><path fill='%2394a3b8' d='M1 3l4 4 4-4z'/></svg>") no-repeat right 10px center;
  color: var(--text-2);
}
.icon-btn {
  width: 34px; height: 34px; border-radius: 10px; border: 0;
  background: transparent; color: var(--muted); font-size: 14px;
  display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.icon-btn:hover { background: var(--bg-soft); color: var(--indigo); }

.mobile-nav { display: none; flex-direction: column; padding: 8px 16px 12px; border-top: 1px solid var(--border); }
.mobile-nav a { padding: 10px 12px; border-radius: 10px; font-size: 14px; color: var(--text-2); }
.mobile-nav a:hover { background: var(--bg-soft); }
.mobile-nav.open { display: flex; }

/* ══════════ 首屏 ══════════ */
.main { position: relative; z-index: 10; padding-bottom: 32px; }
.hero { position: relative; text-align: center; padding: 28px 0 20px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -160px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px; border-radius: 50%; filter: blur(80px); z-index: -1;
  background: radial-gradient(circle, rgba(99, 102, 241, .14), rgba(139, 92, 246, .06) 45%, transparent 70%);
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 500;
}
.badge-indigo { background: rgba(99, 102, 241, .1); color: var(--indigo); border: 1px solid rgba(99, 102, 241, .25); }
.badge-amber { background: rgba(245, 158, 11, .12); color: #b45309; border: 0; }
.badge-purple { background: rgba(139, 92, 246, .12); color: var(--purple); border: 0; }
html.dark .badge-amber { color: #fbbf24; }

.hero-title { font-size: clamp(30px, 6vw, 56px); font-weight: 800; letter-spacing: -1px; margin: 18px 0 16px; }
.grad {
  background: linear-gradient(135deg, var(--indigo), var(--purple), var(--pink));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc { max-width: 640px; margin: 0 auto; color: var(--text-2); font-size: 16px; }
.hero-features { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin: 22px 0 28px; color: var(--text-2); font-size: 14px; }
.hero-features span { display: inline-flex; align-items: center; gap: 6px; }

.search-box { max-width: 720px; margin: 0 auto; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 14px; }
.tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 10px; font-size: 13px; font-weight: 500;
  border: 1px solid var(--border); background: var(--card); color: var(--text-2); transition: all .2s;
}
.tab:hover { border-color: var(--indigo); color: var(--indigo); }
.tab.active {
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(99, 102, 241, .3);
}

.input-wrap {
  display: flex; align-items: center; gap: 8px; padding: 6px;
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s;
}
.input-wrap:focus-within { border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(99, 102, 241, .12); }
.input-wrap input {
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
  color: var(--text); font-size: 15px; padding: 12px 14px;
}
.input-wrap input::placeholder { color: var(--muted); }
.parse-btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 12px 22px; border: 0; border-radius: 14px; font-size: 15px; font-weight: 600; color: #fff;
  background: linear-gradient(180deg, var(--indigo), var(--indigo-600) 50%, var(--indigo-700));
  box-shadow: 0 6px 18px rgba(99, 102, 241, .3); transition: transform .2s, box-shadow .2s, background .2s;
}
.parse-btn:hover { transform: translateY(-2px); }
.parse-btn:disabled { background: #94a3b8; box-shadow: none; cursor: not-allowed; transform: none; }
.parse-btn.is-error { background: linear-gradient(180deg, #f43f5e, var(--rose) 50%, #be123c); box-shadow: 0 6px 18px rgba(244, 63, 94, .3); }
.parse-btn .fa-spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.err-panel {
  display: flex; gap: 12px; text-align: left; margin-top: 12px; padding: 14px 16px;
  border-radius: 16px; border: 1px solid rgba(244, 63, 94, .25);
  background: rgba(255, 241, 242, .9); color: #881337;
}
html.dark .err-panel { background: rgba(76, 5, 25, .5); color: #fecdd3; border-color: rgba(251, 113, 133, .28); }
.err-icon {
  flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(244, 63, 94, .12); color: var(--rose);
}
.err-title { font-weight: 700; font-size: 14px; }
.err-msg { font-size: 13px; margin-top: 4px; word-break: break-word; }
.err-hint { font-size: 12px; margin-top: 6px; opacity: .75; }
.tip { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* ══════════ 加载中 ══════════ */
.loading-box { text-align: center; padding: 48px 0; }
.spinner {
  width: 42px; height: 42px; margin: 0 auto 16px; border-radius: 50%;
  border: 3px solid rgba(99, 102, 241, .2); border-top-color: var(--indigo);
  animation: spin .9s linear infinite;
}
.loading-title { font-weight: 600; }
.loading-desc { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ══════════ 通用区块 / 卡片 ══════════ */
.section { margin: 56px 0; scroll-margin-top: 80px; }
.section-head { text-align: center; margin-bottom: 28px; }
.section-head h2, .section-head h3 { font-size: 28px; font-weight: 700; margin-top: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { font-size: 16px; margin-bottom: 8px; }
.card p { font-size: 13px; }
.round-icon {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px;
  background: linear-gradient(135deg, var(--indigo), var(--purple));
}

/* ══════════ 平台跑马灯 ══════════ */
.marquee { position: relative; overflow: hidden; padding: 20px 0; }
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 110px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.pf-card {
  position: relative; width: 156px; padding: 22px 14px; text-align: center;
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.pf-card:hover { transform: translateY(-8px); border-color: rgba(99, 102, 241, .45); box-shadow: 0 18px 36px rgba(99, 102, 241, .16); }
.pf-icon {
  width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .14);
}
.pf-icon img { width: 30px; height: 30px; object-fit: contain; border-radius: 4px; }
.pf-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.pf-card p { font-size: 12px; color: var(--muted); }
.pf-card:hover h3 { color: var(--indigo); }

.g-slate { background: linear-gradient(135deg, #0f172a, #475569); }
.g-red { background: linear-gradient(135deg, #ef4444, #fbbf24); }
.g-sky { background: linear-gradient(135deg, #0ea5e9, #8b5cf6); }
.g-rose { background: linear-gradient(135deg, #f43f5e, #ef4444); }
.g-orange { background: linear-gradient(135deg, #f97316, #fbbf24); }
.g-blue { background: linear-gradient(135deg, #2563eb, #22d3ee); }
.g-purple { background: linear-gradient(135deg, #7c3aed, #ec4899); }
.g-green { background: linear-gradient(135deg, #16a34a, #a3e635); }
.g-emerald { background: linear-gradient(135deg, #059669, #14b8a6); }
.g-navy { background: linear-gradient(135deg, #1e40af, #38bdf8); }
.g-fuchsia { background: linear-gradient(135deg, #6b21a8, #d946ef); }
.g-amber { background: linear-gradient(135deg, #9a3412, #f59e0b); }

.marquee-tip { display: flex; justify-content: center; gap: 24px; font-size: 12px; color: var(--muted); margin-top: 8px; }

/* ══════════ FAQ ══════════ */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-q {
  width: 100%; border: 0; background: transparent; color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; font-size: 15px; font-weight: 500; text-align: left;
}
.faq-q:hover { background: var(--bg-soft); }
.faq-q i { color: var(--muted); transition: transform .25s; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 20px 16px; font-size: 13px; color: var(--muted); }
.faq-item.open .faq-a { display: block; }

/* ══════════ 解析结果 ══════════ */
.result { margin: 32px 0 8px; }
.rs-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.rs-head-left { display: flex; align-items: center; gap: 10px; }
.rs-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); position: relative; }
.rs-dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(16, 185, 129, .4); animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.rs-title-main { font-weight: 700; font-size: 17px; }
.rs-type { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(99, 102, 241, .12); color: var(--indigo); }
.rs-hint { font-size: 12px; color: var(--muted); }
.rs-work-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; word-break: break-word; }

.rs-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: start; }
.rs-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 20px; }
.rs-card-hd { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--text-2); }
.rs-card-hd .fa { color: var(--indigo); margin-right: 6px; }
.rs-quality { font-size: 12px; color: var(--indigo); }
.rs-body { padding: 14px 16px; }
.rs-video { width: 100%; display: block; background: #000; max-height: 460px; }
.rs-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--border); }
.btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 12px;
  font-size: 13px; font-weight: 600; border: 1px solid transparent; transition: all .2s;
}
.btn-primary { background: linear-gradient(180deg, var(--indigo), var(--indigo-700)); color: #fff; }
.btn-accent { background: linear-gradient(180deg, var(--purple), #7c3aed); color: #fff; }
.btn-ghost { background: var(--bg-soft); color: var(--text-2); border-color: var(--border); }
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn:disabled { opacity: .6; transform: none; cursor: not-allowed; }

.rs-info { display: grid; gap: 10px; }
.rs-info-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding-bottom: 8px; border-bottom: 1px dashed var(--border); }
.rs-info-row:last-child { border-bottom: 0; }
.rs-info-row span:first-child { color: var(--muted); }
.rs-info-row span:last-child { text-align: right; word-break: break-word; }

.rs-author { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rs-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--bg-soft); }
.rs-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.rs-stat { text-align: center; padding: 10px 6px; border-radius: 12px; background: var(--bg-soft); }
.rs-stat b { display: block; font-size: 15px; }
.rs-stat span { font-size: 11px; color: var(--muted); }

.rs-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.rs-gallery img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; cursor: zoom-in;
  border: 1px solid var(--border); transition: transform .25s;
}
.rs-gallery img:hover { transform: scale(1.03); }

.rs-live { display: grid; gap: 14px; }
.rs-live-item { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; }
.rs-live-item video, .rs-live-item img { width: 100%; border-radius: 12px; border: 1px solid var(--border); }
.rs-live-item video { background: #000; }

.rs-backup { display: flex; flex-wrap: wrap; gap: 8px; }
.rs-backup button {
  padding: 7px 12px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--bg-soft); color: var(--text-2); font-size: 12px;
}
.rs-backup button:hover { border-color: var(--indigo); color: var(--indigo); }

.rs-progress { margin-top: 10px; font-size: 12px; color: var(--muted); }
.bar { height: 6px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--indigo), var(--purple)); transition: width .3s; }

/* ══════════ 页脚 ══════════ */
.footer { margin-top: 40px; border-top: 1px solid var(--border); background: linear-gradient(180deg, transparent, var(--bg-soft)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-top: 44px; padding-bottom: 28px; }
.footer-brand { margin-bottom: 14px; }
.footer-desc { font-size: 13px; max-width: 320px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 36px; height: 36px; border-radius: 10px; background: var(--bg-soft); color: var(--muted);
  display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.socials a:hover { background: linear-gradient(135deg, var(--indigo), var(--purple)); color: #fff; transform: translateY(-2px); }
.footer-h { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.footer-links { display: grid; gap: 12px; }
.footer-links a, .footer-links .plain { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); transition: all .2s; }
.footer-links a:hover { color: var(--indigo); transform: translateX(3px); }
.github-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  padding: 8px 14px; border-radius: 10px; font-size: 13px; color: #fff;
  background: linear-gradient(135deg, #24292e, #1b1f23);
}
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--border); font-size: 13px;
}
.footer-bottom-right { display: flex; align-items: center; gap: 16px; }
.footer-bottom-right a { color: var(--indigo); display: inline-flex; align-items: center; gap: 5px; }

/* ══════════ Toast ══════════ */
.toast-wrap {
  position: fixed; top: 76px; right: 16px; left: 16px; z-index: 100;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end; pointer-events: none;
}
.toast {
  pointer-events: auto; min-width: 220px; max-width: 360px;
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; border-radius: 14px; font-size: 13px;
  background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow);
  animation: toastIn .25s ease-out;
}
.toast.out { animation: toastOut .25s ease-in forwards; }
.toast.error { border-color: rgba(244, 63, 94, .35); color: var(--rose); }
.toast.warning { border-color: rgba(245, 158, 11, .4); color: #b45309; }
.toast.success i { color: var(--emerald); }
.toast span { flex: 1; color: var(--text-2); word-break: break-word; }
.toast.error span { color: inherit; }
@keyframes toastIn { from { transform: translateX(40px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes toastOut { to { transform: translateX(40px); opacity: 0; } }

/* ══════════ 灯箱 ══════════ */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(15, 23, 42, .88);
  display: flex; align-items: center; justify-content: center; padding: 40px;
}
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; }
.lb-close { position: absolute; top: 20px; right: 24px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 16px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 16px; }
.lb-prev { left: 20px; } .lb-next { right: 20px; }

/* ══════════ 响应式 ══════════ */
@media (max-width: 900px) {
  .rs-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .only-mobile { display: flex; }
  .only-desktop { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-features { gap: 14px; }
  .parse-btn { padding: 12px 16px; }
  .parse-btn #parseText { display: none; }
  .rs-live-item { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}
