/* === FONTS & RESET === */
:root {
  --bg: oklch(0.985 0.005 95);
  --bg-soft: oklch(0.965 0.008 95);
  --bg-card: #ffffff;
  --ink: oklch(0.18 0.015 230);
  --ink-soft: oklch(0.42 0.015 230);
  --ink-mute: oklch(0.6 0.012 230);
  --line: oklch(0.9 0.008 230);
  --line-strong: oklch(0.82 0.012 230);
  --accent: oklch(0.55 0.14 155);
  --accent-ink: oklch(0.32 0.1 155);
  --accent-soft: oklch(0.94 0.04 155);
  --gold: oklch(0.78 0.12 75);
  --gold-soft: oklch(0.96 0.04 80);
  --gold-ink: oklch(0.42 0.09 70);
  --alert: oklch(0.55 0.18 25);
  --alert-soft: oklch(0.96 0.04 25);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 1px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08), 0 4px 8px rgba(15, 23, 42, 0.04);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

.app { width: 100%; }

/* === HERO === */
.hero {
  background:
    radial-gradient(ellipse 1200px 600px at 20% -20%, oklch(0.94 0.05 155 / 0.5), transparent 60%),
    radial-gradient(ellipse 800px 500px at 90% 10%, oklch(0.95 0.04 75 / 0.5), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 24px clamp(20px, 5vw, 56px) clamp(48px, 8vw, 96px);
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bricolage Grotesque', sans-serif;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}

.brand:hover { opacity: 0.85; }

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.bw-ran {
  color: var(--ink);
  font-weight: 500;
}

.bw-dash {
  color: oklch(0.78 0.12 75);
  margin: 0 1px;
  font-weight: 600;
}

.bw-king {
  color: var(--ink);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.03em;
}

.bw-tld {
  color: var(--ink-mute);
  font-weight: 500;
  font-size: 0.72em;
  margin-left: 4px;
  letter-spacing: 0.02em;
}

.brand-inv .bw-ran,
.brand-inv .bw-king {
  color: white;
}

.brand-inv .bw-tld {
  color: oklch(0.7 0.01 230);
}

.brand-inv {
  color: white;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  font-weight: 600;
}

.brand-pl { color: var(--accent); }

.nav {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  font-size: 15px;
  color: var(--ink-soft);
}

.nav a:hover { color: var(--ink); }

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 oklch(0.55 0.14 155 / 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 oklch(0.55 0.14 155 / 0.7); }
  70% { box-shadow: 0 0 0 8px oklch(0.55 0.14 155 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.55 0.14 155 / 0); }
}

.hero-title {
  font-size: clamp(40px, 6.5vw, 76px);
  line-height: 1.05;
  margin-bottom: 28px;
  text-wrap: balance;
  padding: 0;
}

.hero-em {
  background: linear-gradient(120deg, var(--accent) 0%, oklch(0.62 0.14 175) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 500;
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 40px;
  text-wrap: pretty;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 36px;
  max-width: 900px;
}

.hstat {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hstat-v {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hstat-l {
  font-size: 13px;
  color: var(--ink-mute);
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 100px;
  font-weight: 500;
  font-size: 14.5px;
  transition: transform .15s, background .15s;
}

.btn-primary:hover {
  background: var(--accent-ink);
  transform: translateY(-1px);
}

.btn-primary.big {
  padding: 15px 28px;
  font-size: 15.5px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-weight: 500;
  font-size: 14px;
  transition: background .15s;
}

.btn-secondary:hover { background: var(--bg-soft); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 15px 24px;
  color: var(--ink);
  font-weight: 500;
  font-size: 15.5px;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
}

.btn-ghost:hover { color: var(--accent-ink); border-color: var(--accent-ink); }

/* === MAIN / RANKING === */
.main {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 56px) 48px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: 8px;
  text-wrap: balance;
}

.section-head { margin-bottom: 32px; }
.section-sub {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 700px;
  text-wrap: pretty;
}

.ranking-head { margin-bottom: 28px; }

/* === FILTERS === */
.filters {
  position: sticky;
  top: 12px;
  z-index: 20;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 220px;
}

.search-wrap svg {
  position: absolute;
  left: 14px;
  color: var(--ink-mute);
}

.search-wrap input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 14.5px;
  background: var(--bg);
  color: var(--ink);
  outline: none;
  transition: border-color .15s;
}

.search-wrap input:focus { border-color: var(--accent); }

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-label {
  font-size: 13px;
  color: var(--ink-mute);
  font-weight: 500;
}

.seg {
  display: inline-flex;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
}

.seg-btn {
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: all .15s;
}

.seg-btn:hover { color: var(--ink); }

.seg-btn.active {
  background: var(--ink);
  color: var(--bg);
}

.filter-meta {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--ink-mute);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-meta strong { color: var(--ink); font-weight: 600; }
.filter-meta-sep { opacity: 0.5; }

/* === OFFER CARDS === */
.offers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offer-card {
  display: flex;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow .2s, transform .15s, border-color .15s;
}

.offer-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.offer-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft), var(--shadow-md);
}

.offer-card.featured:hover {
  box-shadow: 0 0 0 3px var(--gold-soft), var(--shadow-lg);
}

.offer-rank {
  width: 64px;
  flex-shrink: 0;
  background: var(--bg-soft);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 20px 0;
}

.offer-card.featured .offer-rank {
  background: linear-gradient(180deg, var(--gold-soft) 0%, var(--bg-soft) 100%);
}

.rank-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.offer-card.featured .rank-num { color: var(--gold-ink); }

.rank-medal {
  font-size: 18px;
  color: var(--gold);
}

.offer-main {
  flex: 1;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.offer-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.bank-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.offer-meta {
  flex: 1;
  min-width: 0;
}

.offer-bank {
  font-size: 19px;
  margin-bottom: 2px;
}

.offer-product {
  font-size: 14px;
  color: var(--ink-mute);
}

.offer-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.offer-card.featured .badge:first-child {
  background: var(--gold);
  color: white;
}

.offer-body {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr auto;
  gap: 24px;
  align-items: start;
}

@media (max-width: 880px) {
  .offer-body { grid-template-columns: 1fr; }
}

.offer-premia {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: var(--bg-soft);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}

.offer-card.featured .offer-premia {
  background: linear-gradient(180deg, var(--gold-soft) 0%, var(--bg-soft) 100%);
  border-color: var(--gold);
}

.premia-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.premia-value {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}

.offer-card.featured .premia-value { color: var(--gold-ink); }

.premia-breakdown {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-strong);
}

.bd-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
}

.bd-label { color: var(--ink-soft); }
.bd-value { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

.offer-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.offer-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.offer-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.stat-v {
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
}

.stat-v.code {
  font-family: 'JetBrains Mono', monospace;
  background: var(--ink);
  color: var(--bg);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  align-self: flex-start;
  letter-spacing: 0.04em;
}

.stat-v.urgent { color: var(--alert); }

.urgent-tag {
  display: inline-block;
  background: var(--alert-soft);
  color: var(--alert);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-left: 6px;
}

.diff {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.diff-dots {
  display: flex;
  gap: 3px;
}

.diff-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}

.diff-dot.on { background: var(--accent); }

.diff-label {
  font-size: 12px;
  color: var(--ink);
  font-weight: 500;
}

.offer-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: center;
  min-width: 160px;
}

@media (max-width: 880px) {
  .offer-cta { flex-direction: row; align-self: stretch; }
  .offer-cta .btn-primary, .offer-cta .btn-secondary { flex: 1; justify-content: center; }
}

/* === OFFER DETAILS === */
.offer-details {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 4px;
}

.offer-details h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ink);
}

.offer-details ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: cond;
  padding-left: 0;
}

.offer-details li {
  counter-increment: cond;
  position: relative;
  padding-left: 32px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.offer-details li::before {
  content: counter(cond);
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.disclaimer {
  margin-top: 14px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-left: 3px solid var(--line-strong);
  font-size: 12.5px;
  color: var(--ink-mute);
  border-radius: 4px;
}

.empty {
  padding: 48px 24px;
  text-align: center;
  background: var(--bg-card);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

/* === BOTTOM CTA === */
.bottom-cta {
  margin-top: 40px;
  padding: 40px 32px;
  background: linear-gradient(135deg, var(--ink) 0%, oklch(0.22 0.02 220) 100%);
  border-radius: var(--r-xl);
  text-align: center;
  color: var(--bg);
}

.bottom-cta h3 {
  color: var(--bg);
  font-size: clamp(22px, 2.5vw, 30px);
  margin-bottom: 8px;
}

.bottom-cta p {
  color: oklch(0.85 0.01 230);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 24px;
}

.bottom-cta .btn-primary {
  background: var(--bg);
  color: var(--ink);
}

.bottom-cta .btn-primary:hover {
  background: var(--accent);
  color: white;
}

/* === HOW IT WORKS === */
.how {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px clamp(20px, 5vw, 56px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.step {
  background: var(--bg-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.step-title {
  font-size: 19px;
  margin-bottom: 0;
}

.step-desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* === FAQ === */
.faq {
  max-width: 880px;
  margin: 0 auto;
  padding: 64px clamp(20px, 5vw, 56px);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .15s;
}

.faq-item.open { border-color: var(--line-strong); }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  color: var(--ink);
}

.faq-q:hover { background: var(--bg-soft); }

.faq-icon {
  font-size: 22px;
  color: var(--accent);
  font-weight: 300;
  width: 24px;
  text-align: center;
}

.faq-a {
  padding: 0 22px 18px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  text-wrap: pretty;
}

/* === METHODOLOGY === */
.methodology {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px clamp(20px, 5vw, 56px);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.method-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.method-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 15px;
}

.method-card h3 { font-size: 17px; }
.method-card p { font-size: 14.5px; color: var(--ink-soft); text-wrap: pretty; }

/* === FOOTER === */
.footer {
  background: var(--ink);
  color: oklch(0.85 0.01 230);
  margin-top: 80px;
  padding: 64px clamp(20px, 5vw, 56px) 32px;
}

.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
}

@media (max-width: 720px) {
  .footer-top { grid-template-columns: 1fr; }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand .brand {
  color: white;
}

.footer-brand .brand-mark {
  background: white;
  color: var(--ink);
}

.footer-brand p {
  font-size: 14px;
  color: oklch(0.7 0.01 230);
  max-width: 280px;
  margin-top: 8px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 540px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

.footer-cols h4 {
  color: white;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.footer-cols ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.footer-cols a:hover { color: white; }

.footer-bottom {
  max-width: 1280px;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid oklch(0.28 0.015 230);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
  color: oklch(0.6 0.01 230);
  max-width: 880px;
}

/* === RESPONSIVE === */
@media (max-width: 640px) {
  .nav { display: none; }
  .hero-title { font-size: 36px; }

  .filters { overflow: hidden; padding: 14px; }
  .filter-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .filter-row > * { min-width: 0; max-width: 100%; }
  .filter-group {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
  }
  .seg {
    display: flex;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* fade indicator on right edge to hint at scroll */
    mask-image: linear-gradient(to right, black calc(100% - 24px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black calc(100% - 24px), transparent 100%);
  }
  .seg::-webkit-scrollbar { display: none; }
  .seg-btn { flex-shrink: 0; }
  .search-wrap { min-width: 0; width: 100%; }

  .offer-rank { width: 48px; }
  .rank-num { font-size: 20px; }
  .offer-main { padding: 18px; }
  .offer-head { gap: 10px; }
}
