/* ==========================================================================
   718吃瓜官网 — Design System
   Theme: Editorial dark / Melon brand system
   ========================================================================== */

/* --------------------------------------------------------------- 1. Tokens */
:root {
  /* surfaces */
  --bg:        #07080b;
  --bg-soft:   #0b0d12;
  --panel:     #0e1117;
  --panel-2:   #141821;
  --line:      rgba(255, 255, 255, 0.08);
  --line-2:    rgba(255, 255, 255, 0.14);

  /* type */
  --text:      #eef1f6;
  --text-2:    #a4adbd;
  --text-3:    #6b7484;

  /* brand — 西瓜瓤 / 瓜皮 / 辅助 */
  --melon:     #ff4d6d;
  --melon-d:   #e63250;
  --melon-l:   #ff8a9e;
  --rind:      #17c964;
  --violet:    #8b5cf6;
  --amber:     #ffb020;
  --ice:       #38bdf8;

  --grad-hot:   linear-gradient(135deg, #ff4d6d 0%, #ff8a3d 100%);
  --grad-brand: linear-gradient(135deg, #ff4d6d 0%, #8b5cf6 100%);
  --grad-cool:  linear-gradient(135deg, #8b5cf6 0%, #38bdf8 100%);

  /* geometry */
  --r:      16px;
  --r-sm:   10px;
  --r-lg:   24px;
  --maxw:   1220px;
  --ease:   cubic-bezier(0.22, 0.61, 0.36, 1);

  --shadow:    0 18px 44px -18px rgba(0, 0, 0, 0.85);
  --shadow-hi: 0 26px 60px -20px rgba(255, 77, 109, 0.35);
}

/* ----------------------------------------------------------- 2. Base reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
               "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p, figure { margin: 0; }
::selection { background: var(--melon); color: #fff; }

/* ambient background */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(920px 520px at 10% -8%,  rgba(255, 77, 109, 0.16), transparent 62%),
    radial-gradient(760px 480px at 94% -2%,  rgba(139, 92, 246, 0.15), transparent 64%),
    radial-gradient(900px 560px at 50% 112%, rgba(23, 201, 100, 0.07), transparent 62%);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------ 3. Layout */
.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; position: relative; z-index: 1; }
.section { padding: clamp(52px, 6.5vw, 92px) 0; position: relative; z-index: 1; }
.section-tight { padding: clamp(36px, 4vw, 56px) 0; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }

.grid { display: grid; gap: 18px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split-2 { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 48px); }
.split-3 { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(24px, 3vw, 40px); align-items: start; }

/* ------------------------------------------------------- 4. Header + ticker */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(7, 8, 11, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); background: rgba(7, 8, 11, 0.92); }

/* live ticker */
.ticker {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 77, 109, 0.10), rgba(139, 92, 246, 0.08));
  overflow: hidden;
}
.ticker-inner { display: flex; align-items: center; gap: 14px; height: 36px; }
.ticker-tag {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  color: #fff; padding: 3px 9px; border-radius: 999px;
  background: var(--grad-hot); text-transform: uppercase;
}
.ticker-tag i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
.ticker-view { position: relative; overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: flex; gap: 40px; width: max-content; animation: marquee 42s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { font-size: 12.5px; color: var(--text-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.ticker-item b { color: var(--text); font-weight: 600; }
.ticker-item span { color: var(--melon); font-weight: 700; font-variant-numeric: tabular-nums; }

.header-inner { display: flex; align-items: center; gap: 22px; height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(160deg, #1b1f28, #0e1117);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.brand-text { font-size: 17.5px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; }
.brand-text em { font-style: normal; font-weight: 500; font-size: 11px; color: var(--text-3); letter-spacing: 0.16em; display: block; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: 6px; }
.site-nav a {
  position: relative; padding: 8px 13px; border-radius: 9px;
  font-size: 14px; font-weight: 500; color: var(--text-2);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.site-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.site-nav a.active { color: #fff; font-weight: 600; }
.site-nav a.active::after {
  content: ""; position: absolute; left: 50%; bottom: -1px; translate: -50% 0;
  width: 18px; height: 2px; border-radius: 2px; background: var(--grad-hot);
}
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--text-2);
  transition: all 0.2s var(--ease);
}
.icon-btn:hover { color: #fff; border-color: var(--line-2); background: rgba(255, 255, 255, 0.05); }
.nav-toggle { display: none; }

/* ------------------------------------------------------------- 5. Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 11px;
  font-size: 14.5px; font-weight: 600; white-space: nowrap;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
              background 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--grad-hot); color: #fff; box-shadow: 0 12px 28px -12px rgba(255, 77, 109, 0.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -14px rgba(255, 77, 109, 0.85); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); transform: translateY(-2px); }
.btn-dark { background: #12151c; border: 1px solid var(--line-2); color: #fff; }
.btn-dark:hover { background: #191d26; transform: translateY(-2px); }
.btn-sm { height: 36px; padding: 0 15px; font-size: 13.5px; border-radius: 9px; }
.btn-lg { height: 52px; padding: 0 30px; font-size: 15.5px; border-radius: 13px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600;
  color: var(--melon-l); transition: gap 0.22s var(--ease), color 0.22s var(--ease);
}
.link-arrow:hover { gap: 11px; color: #fff; }

/* --------------------------------------------------------- 6. Section head */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--melon); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad-hot); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(22px, 3vw, 38px); }
.sec-title { font-size: clamp(23px, 3vw, 33px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; }
.sec-title small { display: block; font-size: 13.5px; font-weight: 400; color: var(--text-3); letter-spacing: 0; margin-top: 8px; }

/* ---------------------------------------------------------------- 7. Cards */
.card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card-pad { padding: 22px; }
.card:hover { transform: translateY(-5px); border-color: rgba(255, 77, 109, 0.42); box-shadow: var(--shadow-hi); }

.card-glow::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px 220px at var(--mx, 50%) var(--my, 0%), rgba(255, 77, 109, 0.16), transparent 70%);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.card-glow:hover::after { opacity: 1; }

/* thumb — generative cover */
.thumb {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background:
    radial-gradient(120% 110% at 78% 12%, hsl(var(--h, 350) 92% 62% / 0.95), transparent 62%),
    linear-gradient(145deg, hsl(var(--h, 350) 78% 46%), hsl(calc(var(--h, 350) + 48) 74% 30%));
}
.thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 14px 14px; opacity: 0.5;
}
.thumb-glyph {
  position: absolute; right: -6px; bottom: -26px; z-index: 1;
  font-size: 108px; font-weight: 900; line-height: 1; letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.2); user-select: none;
}
.thumb-chip {
  position: absolute; z-index: 2; top: 12px; left: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  padding: 4px 9px; border-radius: 7px;
  background: rgba(7, 8, 11, 0.6); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14); color: #fff;
}
.thumb-time {
  position: absolute; z-index: 2; right: 10px; bottom: 10px;
  font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums;
  padding: 3px 7px; border-radius: 6px; background: rgba(0, 0, 0, 0.65); color: #fff;
}

/* badges / chips */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  border: 1px solid transparent; white-space: nowrap;
}
.badge-hot   { background: rgba(255, 77, 109, 0.14); color: #ff8296; border-color: rgba(255, 77, 109, 0.3); }
.badge-new   { background: rgba(23, 201, 100, 0.14); color: #4ade87; border-color: rgba(23, 201, 100, 0.3); }
.badge-violet{ background: rgba(139, 92, 246, 0.16); color: #b39bfb; border-color: rgba(139, 92, 246, 0.32); }
.badge-amber { background: rgba(255, 176, 32, 0.14); color: #ffc861; border-color: rgba(255, 176, 32, 0.3); }
.badge-mute  { background: rgba(255, 255, 255, 0.06); color: var(--text-2); border-color: var(--line); }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 15px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500; color: var(--text-2);
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  transition: all 0.24s var(--ease);
}
.chip:hover { color: #fff; border-color: var(--line-2); background: rgba(255, 255, 255, 0.07); }
.chip.is-on { color: #fff; font-weight: 600; background: var(--grad-hot); border-color: transparent; box-shadow: 0 10px 22px -12px rgba(255, 77, 109, 0.8); }
.chip i { font-style: normal; font-size: 11px; opacity: 0.7; }

/* ---------------------------------------------------------------- 8. Hero */
.hero { position: relative; padding: clamp(46px, 6vw, 82px) 0 clamp(34px, 4vw, 54px); z-index: 1; }
.hero h1 {
  font-size: clamp(34px, 5.6vw, 64px); font-weight: 900; letter-spacing: -0.045em; line-height: 1.04;
}
.hero h1 .hl {
  background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { margin-top: 20px; font-size: clamp(14.5px, 1.4vw, 17px); color: var(--text-2); max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; font-size: 12.5px; color: var(--text-3); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { color: var(--rind); flex: none; }

.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 38px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.kpi { background: rgba(11, 13, 18, 0.72); padding: 20px 22px; }
.kpi b { display: block; font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpi span { font-size: 12.5px; color: var(--text-3); }

/* hero side panel */
.hero-side { position: relative; }
.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.panel-head h3 { font-size: 14.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.panel-head h3 svg { color: var(--melon); }

/* ------------------------------------------------------------ 9. Rank list */
.rank { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.rank-item {
  display: grid; grid-template-columns: 54px 92px minmax(0, 1fr) 128px;
  align-items: center; gap: 16px; padding: 14px 18px;
  background: rgba(11, 13, 18, 0.72);
  transition: background 0.24s var(--ease), padding-left 0.24s var(--ease);
}
.rank-item:hover { background: rgba(255, 77, 109, 0.055); }
.rank-no {
  font-size: 26px; font-weight: 900; letter-spacing: -0.05em; font-variant-numeric: tabular-nums;
  color: var(--text-3); line-height: 1; text-align: center;
}
.rank-item:nth-child(1) .rank-no { color: #ff4d6d; }
.rank-item:nth-child(2) .rank-no { color: #ff7a45; }
.rank-item:nth-child(3) .rank-no { color: #ffb020; }
.rank-cover { width: 92px; aspect-ratio: 16 / 10; border-radius: var(--r-sm); position: relative; overflow: hidden; }
.rank-body { min-width: 0; }
.rank-title { font-size: 15.5px; font-weight: 650; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.rank-title:hover { color: var(--melon-l); }
.rank-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 7px; font-size: 12px; color: var(--text-3); }
.rank-heat { text-align: right; }
.heat-bar { height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin-top: 7px; }
.heat-bar i { display: block; height: 100%; border-radius: 999px; background: var(--grad-hot); }
.heat-val { font-size: 12.5px; font-weight: 700; color: var(--melon-l); font-variant-numeric: tabular-nums; }
.trend { font-size: 11.5px; font-weight: 700; }
.trend.up { color: #ff5c72; }
.trend.down { color: #34d399; }
.trend.flat { color: var(--text-3); }

/* compact rank (sidebar) */
.rank-mini { display: grid; gap: 14px; }
.rank-mini li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.rank-mini .n { font-size: 14px; font-weight: 800; color: var(--text-3); font-variant-numeric: tabular-nums; padding-top: 1px; }
.rank-mini li:nth-child(1) .n { color: #ff4d6d; }
.rank-mini li:nth-child(2) .n { color: #ff7a45; }
.rank-mini li:nth-child(3) .n { color: #ffb020; }
.rank-mini .t { font-size: 14px; font-weight: 550; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rank-mini .t:hover { color: var(--melon-l); }
.rank-mini .m { font-size: 11.5px; color: var(--text-3); margin-top: 4px; }

/* ----------------------------------------------------------- 10. Video card */
.vcard { display: flex; flex-direction: column; }
.vcard .thumb { aspect-ratio: 16 / 9; }
.vcard-play {
  position: absolute; z-index: 3; left: 50%; top: 50%; translate: -50% -50%;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(7, 8, 11, 0.5); border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px); color: #fff;
  transition: all 0.28s var(--ease);
}
.vcard:hover .vcard-play { background: var(--grad-hot); border-color: transparent; scale: 1.12; }
.vcard-body { padding: 14px 16px 16px; }
.vcard-title {
  font-size: 14.5px; font-weight: 620; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 43px;
}
.vcard-meta { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 12px; color: var(--text-3); }
.vcard-meta .author { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); }
.avatar { width: 20px; height: 20px; border-radius: 50%; background: var(--grad-cool); flex: none; }

/* featured video */
.featured { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0; overflow: hidden; }
.featured .thumb { aspect-ratio: auto; height: 100%; min-height: 340px; }
.featured-body { padding: clamp(24px, 3vw, 38px); display: flex; flex-direction: column; justify-content: center; gap: 14px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)); }
.featured-body h3 { font-size: clamp(21px, 2.5vw, 28px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; }
.featured-body p { color: var(--text-2); font-size: 14px; }
.featured-stats { display: flex; gap: 22px; padding-top: 6px; }
.featured-stats div b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.featured-stats div span { font-size: 11.5px; color: var(--text-3); }

/* ----------------------------------------------------------- 11. Topic card */
.tcard { display: flex; flex-direction: column; }
.tcard-top {
  position: relative; padding: 22px; min-height: 148px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(140deg, hsl(var(--h, 350) 82% 55%), hsl(calc(var(--h, 350) + 44) 76% 34%));
}
.tcard-top::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 13px 13px; opacity: 0.45;
}
.tcard-no { position: relative; z-index: 1; font-size: 12px; font-weight: 800; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.82); }
.tcard-name { position: relative; z-index: 1; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: #fff; line-height: 1.25; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28); }
.tcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tcard-body p { font-size: 13px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }
.tcard-stats { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--text-3); }
.avatars { display: flex; }
.avatars i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--panel); margin-left: -8px; background: var(--grad-cool); }
.avatars i:first-child { margin-left: 0; }
.avatars i:nth-child(2) { background: var(--grad-hot); }
.avatars i:nth-child(3) { background: linear-gradient(135deg, #17c964, #38bdf8); }

/* hot topic strip */
.hotline { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.hotline-row { display: flex; align-items: center; gap: 16px; padding: 13px 18px; background: rgba(11, 13, 18, 0.72); }
.hotline-row:hover { background: rgba(139, 92, 246, 0.06); }
.hotline-row .idx { flex: none; width: 26px; font-size: 13px; font-weight: 800; color: var(--text-3); font-variant-numeric: tabular-nums; }
.hotline-row .txt { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hotline-row .num { flex: none; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }

/* -------------------------------------------------------- 12. Feature block */
.feat { padding: 24px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)); transition: all 0.3s var(--ease); }
.feat:hover { transform: translateY(-5px); border-color: var(--line-2); }
.feat-ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(255, 77, 109, 0.12); border: 1px solid rgba(255, 77, 109, 0.28); color: var(--melon);
}
.feat:nth-child(2) .feat-ico { background: rgba(139, 92, 246, 0.12); border-color: rgba(139, 92, 246, 0.3); color: var(--violet); }
.feat:nth-child(3) .feat-ico { background: rgba(23, 201, 100, 0.12); border-color: rgba(23, 201, 100, 0.3); color: var(--rind); }
.feat:nth-child(4) .feat-ico { background: rgba(56, 189, 248, 0.12); border-color: rgba(56, 189, 248, 0.3); color: var(--ice); }
.feat h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.feat p { font-size: 13.5px; color: var(--text-2); }

/* --------------------------------------------------------- 13. CTA / App */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line-2);
  padding: clamp(28px, 4vw, 54px);
  background:
    radial-gradient(700px 320px at 88% 0%, rgba(255, 77, 109, 0.22), transparent 62%),
    radial-gradient(600px 300px at 6% 100%, rgba(139, 92, 246, 0.2), transparent 62%),
    linear-gradient(160deg, #14181f, #0b0d12);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center;
}
.cta-band h2 { font-size: clamp(23px, 3vw, 34px); font-weight: 850; letter-spacing: -0.035em; line-height: 1.18; }
.cta-band p { color: var(--text-2); margin-top: 12px; max-width: 46ch; font-size: 14.5px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.appstore-btn {
  display: inline-flex; align-items: center; gap: 11px; height: 54px; padding: 0 20px;
  border-radius: 13px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05);
  transition: all 0.24s var(--ease);
}
.appstore-btn:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }
.appstore-btn small { display: block; font-size: 10.5px; color: var(--text-3); letter-spacing: 0.06em; }
.appstore-btn strong { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.25; }

/* phone mockup */
.phone-wrap { display: grid; place-items: center; }
.phone {
  position: relative; width: 268px; height: 546px; border-radius: 40px; padding: 10px;
  background: linear-gradient(160deg, #2a2f3a, #0d1015 55%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
.phone::before {
  content: ""; position: absolute; left: 50%; top: 16px; translate: -50% 0; z-index: 3;
  width: 74px; height: 19px; border-radius: 999px; background: #05060a;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 32px; overflow: hidden; position: relative;
  background: #090b10; display: flex; flex-direction: column;
}
.ph-bar { padding: 30px 16px 10px; display: flex; align-items: center; justify-content: space-between; }
.ph-bar b { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.ph-bar span { font-size: 10px; color: var(--text-3); }
.ph-live { display: inline-flex; align-items: center; gap: 5px; font-size: 9.5px; font-weight: 700; color: #fff; background: var(--grad-hot); padding: 2px 7px; border-radius: 999px; }
.ph-body { flex: 1; padding: 4px 14px 12px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.ph-card { border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.035); padding: 9px; display: flex; gap: 9px; align-items: center; }
.ph-card .cov { width: 42px; height: 30px; border-radius: 7px; flex: none; background: linear-gradient(135deg, hsl(var(--h) 85% 58%), hsl(calc(var(--h) + 40) 75% 34%)); }
.ph-card .tt { font-size: 10.5px; font-weight: 600; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ph-card .mm { font-size: 9px; color: var(--text-3); margin-top: 3px; }
.ph-tabs { flex: none; height: 54px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; background: rgba(255, 255, 255, 0.03); }
.ph-tabs div { display: grid; place-items: center; gap: 3px; font-size: 8.5px; color: var(--text-3); }
.ph-tabs div.on { color: var(--melon); }
.ph-tabs i { width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid currentColor; display: block; }

/* QR */
.qr-card { display: flex; align-items: center; gap: 18px; padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); }
.qr-box { flex: none; width: 104px; height: 104px; border-radius: 12px; background: #fff; padding: 8px; }
.qr-box canvas { width: 100%; height: 100%; }
.qr-txt b { font-size: 15px; font-weight: 700; display: block; }
.qr-txt p { font-size: 12.5px; color: var(--text-3); margin-top: 5px; }

/* ------------------------------------------------------------ 14. Page head */
.page-head { position: relative; padding: clamp(38px, 5vw, 64px) 0 clamp(24px, 3vw, 38px); z-index: 1; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-3); margin-bottom: 18px; }
.crumb a:hover { color: var(--melon-l); }
.page-head h1 { font-size: clamp(28px, 4.2vw, 46px); font-weight: 900; letter-spacing: -0.04em; line-height: 1.1; }
.page-head p { margin-top: 14px; color: var(--text-2); max-width: 64ch; font-size: 15px; }
.page-head .chips { margin-top: 24px; }

/* filter bar */
.filterbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 14px 0 22px; }
.sortsel { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); }

/* pagination */
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 34px; }
.pager a, .pager span {
  min-width: 38px; height: 38px; padding: 0 11px; border-radius: 10px; display: grid; place-items: center;
  font-size: 13.5px; font-weight: 600; color: var(--text-2); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
}
.pager a:hover { color: #fff; border-color: var(--line-2); }
.pager .on { color: #fff; background: var(--grad-hot); border-color: transparent; }
.pager .gap { border: 0; background: none; }

/* sticky sidebar */
.side-sticky { position: sticky; top: 116px; display: grid; gap: 18px; }

/* ------------------------------------------------------------- 15. FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.03); overflow: hidden; transition: border-color 0.24s var(--ease); }
.faq details[open] { border-color: rgba(255, 77, 109, 0.36); background: rgba(255, 77, 109, 0.05); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 20px; font-size: 14.5px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 19px; font-weight: 400; color: var(--melon); transition: rotate 0.24s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq .ans { padding: 0 20px 18px; font-size: 13.5px; color: var(--text-2); }

/* ------------------------------------------------------ 16. Download rows */
.dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dl-card { padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)); display: flex; flex-direction: column; gap: 12px; }
.dl-card .top { display: flex; align-items: center; gap: 12px; }
.dl-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); flex: none; }
.dl-card b { font-size: 15px; font-weight: 700; display: block; }
.dl-card .sz { font-size: 12px; color: var(--text-3); }
.dl-card ul { display: grid; gap: 6px; font-size: 12.5px; color: var(--text-2); }
.dl-card ul li { display: flex; gap: 8px; }
.dl-card ul li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--rind); flex: none; margin-top: 8px; }

/* version log */
.vlog { display: grid; gap: 0; }
.vlog li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.vlog li:last-child { border-bottom: 0; }
.vlog .v { font-size: 13px; font-weight: 800; color: var(--melon-l); font-variant-numeric: tabular-nums; }
.vlog .c { font-size: 13.5px; color: var(--text-2); }
.vlog .c b { color: var(--text); display: block; font-size: 14px; margin-bottom: 4px; font-weight: 650; }

/* ------------------------------------------------------------ 17. Footer */
.site-footer { position: relative; z-index: 1; margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.5vw, 52px); padding: clamp(38px, 5vw, 62px) 0 34px; }
.footer-brand p { font-size: 13.5px; color: var(--text-2); margin-top: 16px; max-width: 40ch; }
.f-social { display: flex; gap: 10px; margin-top: 20px; }
.f-social a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--text-2); transition: all 0.22s var(--ease); }
.f-social a:hover { color: #fff; border-color: var(--line-2); background: rgba(255, 255, 255, 0.06); transform: translateY(-3px); }
.f-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.f-col li { margin-bottom: 11px; }
.f-col a { font-size: 13.5px; color: var(--text-2); transition: color 0.2s var(--ease); }
.f-col a:hover { color: var(--melon-l); }
.footer-seo { padding: 18px 0 0; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 8px 14px; }
.footer-seo span { font-size: 12px; color: var(--text-3); }
.footer-seo a { font-size: 12px; color: var(--text-3); }
.footer-seo a:hover { color: var(--melon-l); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 0 34px; border-top: 1px solid var(--line); margin-top: 20px; }
.footer-bottom p, .footer-bottom a { font-size: 12px; color: var(--text-3); }
.footer-bottom a:hover { color: var(--text-2); }
.disclaimer { font-size: 11.5px; color: var(--text-3); opacity: 0.75; padding-bottom: 26px; line-height: 1.7; max-width: 92ch; }

/* ------------------------------------------------------------- 18. Modal */
.modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(4, 5, 8, 0.82); backdrop-filter: blur(14px);
}
.modal.open { display: flex; animation: fade 0.24s var(--ease); }
.modal-box { width: min(880px, 100%); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); box-shadow: 0 60px 100px -30px #000; animation: pop 0.3s var(--ease); }
.modal-player {
  aspect-ratio: 16 / 9; position: relative; display: grid; place-items: center; gap: 10px;
  background:
    radial-gradient(600px 300px at 50% 110%, rgba(255, 77, 109, 0.3), transparent 65%),
    linear-gradient(150deg, #1a1f29, #0a0c11);
}
.modal-player .big-play { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-hot); color: #fff; box-shadow: 0 16px 40px -14px rgba(255, 77, 109, 0.9); }
.modal-player span { font-size: 12.5px; color: var(--text-3); }
.modal-meta { padding: 20px 24px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.modal-meta h3 { font-size: 17px; font-weight: 750; letter-spacing: -0.02em; }
.modal-meta p { font-size: 12.5px; color: var(--text-3); margin-top: 6px; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; }
.modal-close:hover { background: rgba(0, 0, 0, 0.8); }

/* --------------------------------------------------------- 19. Animations */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { opacity: 1; scale: 1; } 50% { opacity: 0.35; scale: 0.7; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.floaty { animation: floaty 7s ease-in-out infinite; }

/* uses `translate` (not `transform`) so card hover lifts stay independent */
.reveal { opacity: 0; translate: 0 22px; transition: opacity 0.7s var(--ease), translate 0.7s var(--ease); }
.reveal.in { opacity: 1; translate: none; }
.js-off .reveal { opacity: 1; translate: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; translate: none; }
}

/* -------------------------------------------------------- 20. Responsive */
@media (max-width: 1080px) {
  .split-2, .split-3 { grid-template-columns: minmax(0, 1fr); }
  .side-sticky { position: static; }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .phone-wrap { padding-top: 6px; }
}
@media (max-width: 860px) {
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px; background: rgba(9, 11, 15, 0.98); border-bottom: 1px solid var(--line);
    backdrop-filter: blur(20px); display: none;
  }
  .site-nav.open { display: flex; animation: fade 0.2s var(--ease); }
  .site-nav a { padding: 12px 14px; font-size: 15px; }
  .site-nav a.active::after { display: none; }
  .nav-toggle { display: grid; }
  .g-3, .g-4 { grid-template-columns: minmax(0, 1fr); }
  .g-2 { grid-template-columns: minmax(0, 1fr); }
  .featured { grid-template-columns: minmax(0, 1fr); }
  .featured .thumb { min-height: 210px; aspect-ratio: 16 / 10; }
  .dl-grid { grid-template-columns: minmax(0, 1fr); }
  .rank-item { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .rank-item .rank-cover { display: none; }
  .rank-heat { grid-column: 2 / 3; text-align: left; margin-top: 4px; }
  .kpis { grid-template-columns: minmax(0, 1fr); }
  .hero-side { margin-top: 8px; }
}
@media (max-width: 520px) {
  .wrap { width: min(100% - 28px, var(--maxw)); }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .cta-band { padding: 26px 20px; }
  .qr-card { flex-direction: column; align-items: flex-start; }
  .vlog li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .btn-lg { height: 48px; padding: 0 22px; }
  .ticker-inner { height: 32px; }
}
