/* ============================================================
   EroTop — homepage component styles (design-system rebuild).
   Translates the design-system React primitives (Button, Badge,
   StarRating, SegmentedControl, Panel, SponsorCard, RankBadge,
   StatGroup, SiteListing, header, footer) into plain CSS classes.
   All palette/type/spacing come from tokens (styles.css). Responsive.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
body.et-body { margin: 0; font-family: var(--font-body); background: var(--surface-page); color: var(--text-body); }
.et-body img { max-width: 100%; }
.et-body ::selection { background: var(--pink-200); }
/* Zero-specificity default link color (:where) so component rules
   (.et-btn--*, .et-navpill, .et-listing__title, …) are never overridden. */
:where(.et-body) a { color: var(--pink-600); }

.et-wrap { max-width: var(--container-max, 1200px); margin: 0 auto; padding: 0 24px; }

/* ---------- Header: utility strip ---------- */
.et-utility { background: var(--ink-900); color: #fff; }
.et-utility .et-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.et-utility__trust { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,.7); }
.et-utility__trust i { color: var(--cyan-400); }
.et-langs { display: flex; gap: 4px; align-items: center; }
.et-lang { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 4px 10px; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; background: transparent; font-family: var(--font-display); font-weight: 600; font-size: 12px;
  color: rgba(255,255,255,.85); text-decoration: none; }
.et-lang img { border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.15); display: block; }
.et-lang.is-active { border-color: var(--pink-300); background: var(--pink-50); color: var(--pink-700); }
.et-lang:not(.is-active):hover { background: rgba(255,255,255,.12); }
/* Admin chip (utility strip) + private-listing badge — former inline styles, now classed. */
.et-adminchip { margin-left: 12px; font-weight: 600; color: var(--gold-400); }
.et-adminchip a { color: var(--cyan-400); text-decoration: none; }
.et-adminchip a:hover { text-decoration: underline; }
.et-badge--hidden { background: var(--ink-700); color: #fff; }

/* ---------- Header: brand row ---------- */
.et-brandrow { background: var(--surface-card); border-bottom: 1px solid var(--line-300); }
.et-brandrow .et-wrap { display: flex; align-items: center; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.et-brandrow__logo { flex-shrink: 0; display: flex; text-decoration: none; }
.et-search { flex: 1; position: relative; max-width: 520px; }
.et-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-faint); }
.et-search input { width: 100%; height: var(--control-h-md); padding: 0 16px 0 42px; font-family: var(--font-body); font-size: 14px;
  border: 1.5px solid var(--line-300); border-radius: var(--radius-pill); outline: none; background: var(--surface-50); color: var(--text-strong); }
.et-search input:focus { border-color: var(--pink-400); box-shadow: var(--ring); }
.et-ctas { display: flex; gap: 10px; flex-shrink: 0; }

/* ---------- Logo (live text + SVG star) ---------- */
.et-logo { display: inline-flex; align-items: baseline; line-height: 1; font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; }
.et-logo .ero { color: #FF3D8C; }
.et-logo .top { color: #C20D58; }
.et-logo .p { margin-left: -.06em; }
.et-logo .star { width: .86em; height: auto; display: block; align-self: baseline; }
.et-logo.on-dark .ero, .et-logo.on-dark .top { color: #fff; }
.et-logo--lg { font-size: 30px; }
.et-logo--sm { font-size: 24px; }

/* ---------- Header: category nav ---------- */
.et-nav { background: var(--surface-card); border-bottom: 1px solid var(--line-300); box-shadow: var(--shadow-xs); }
.et-nav .et-wrap { display: flex; gap: 8px; align-items: center; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; }
.et-navpill { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 8px 14px; border-radius: var(--radius-pill);
  cursor: pointer; border: none; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 13px;
  background: var(--cyan-50); color: var(--cyan-700); }
.et-navpill.is-active { background: var(--cyan-500); color: #04343A; }
.et-navpill:not(.is-active):hover { background: var(--cyan-100, #CFF3F7); }

/* ---------- Main grid ---------- */
.et-main { max-width: var(--container-max, 1200px); margin: 0 auto; padding: 24px;
  display: grid; grid-template-columns: 1fr var(--sidebar-w, 280px); gap: 24px; align-items: start; }
.et-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.et-aside { display: flex; flex-direction: column; gap: 16px; }

/* ---------- Rankings heading ---------- */
.et-rankhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.et-rankhead h1 { margin: 0 0 4px; font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -.02em; color: var(--text-strong); }
.et-rankhead p { margin: 0; font-size: 14px; color: var(--text-muted); }
.et-subhead { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--text-strong); }

/* ---------- Segmented control (sort) ---------- */
.et-seg { display: inline-flex; gap: 4px; background: var(--surface-50); padding: 3px; border-radius: var(--radius-pill); border: 1px solid var(--line-300); max-width: 100%; overflow-x: auto; }
.et-seg a { display: inline-flex; align-items: center; gap: 6px; border: none; cursor: pointer; padding: 9px 16px; min-height: 34px; box-sizing: border-box; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 600; font-size: 12px; white-space: nowrap; background: transparent; color: var(--text-muted); text-decoration: none; }
.et-seg a.is-active { background: var(--pink-600); color: #fff; }
.et-seg a:not(.is-active):hover { background: var(--surface-card); color: var(--text-strong); }

/* ---------- Buttons ---------- */
.et-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-display); font-weight: 600;
  letter-spacing: .01em; border-radius: var(--radius-pill); cursor: pointer; text-decoration: none; white-space: nowrap; border: none;
  height: var(--control-h-md); padding: 0 22px; font-size: 14px; transition: transform var(--dur-fast) var(--ease-out), filter var(--dur-fast) var(--ease-out); }
.et-btn:active { transform: scale(.97); }
.et-btn:hover { filter: brightness(1.04); }
.et-btn--sm { height: var(--control-h-sm); padding: 0 16px; font-size: 13px; }
.et-btn--lg { height: var(--control-h-lg); padding: 0 30px; font-size: 16px; }
.et-btn--primary { background: var(--pink-600); color: var(--color-on-primary); box-shadow: var(--glow-pink); }
.et-btn--secondary { background: var(--cyan-500); color: #04343A; box-shadow: var(--glow-cyan); }
.et-btn--premium { background: linear-gradient(180deg, var(--gold-400), var(--gold-500)); color: #3A2600; box-shadow: var(--glow-gold); }
.et-btn--outline { background: transparent; color: var(--pink-700); border: 1.5px solid var(--pink-300); }
.et-btn--ghost { background: transparent; color: var(--pink-700); }
.et-btn--outline:hover, .et-btn--ghost:hover { background: var(--pink-50); filter: none; }

/* ---------- Badge ---------- */
.et-badge { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-display); font-weight: 600; letter-spacing: .03em;
  text-transform: uppercase; border-radius: var(--radius-pill); line-height: 1; white-space: nowrap; font-size: 11px; padding: 3px 10px; }
.et-badge--cyan { background: var(--cyan-50); color: var(--cyan-700); }
.et-badge--gold { background: var(--gold-500); color: #3A2600; box-shadow: var(--glow-gold); }
.et-badge--pink { background: var(--pink-50); color: var(--pink-700); }

/* ---------- Star rating ---------- */
.et-stars { display: inline-flex; align-items: center; gap: 8px; }
.et-stars__glyph { position: relative; display: inline-block; line-height: 1; letter-spacing: 1px; font-size: 14px; }
.et-stars__empty { color: var(--star-empty); }
.et-stars__fill { position: absolute; inset: 0; overflow: hidden; white-space: nowrap; color: var(--star-500); }
.et-stars__val { font-family: var(--font-numeric); font-weight: 600; font-size: 11px; color: var(--text-strong); font-variant-numeric: tabular-nums; }

/* ---------- Panel ---------- */
.et-panel { background: var(--surface-card); border-radius: var(--radius-lg); border: 1px solid var(--line-300); box-shadow: var(--shadow-card); overflow: hidden; }
.et-panel__head { display: flex; align-items: center; gap: 9px; padding: 12px 16px; border-bottom: 2px solid var(--cyan-500); }
.et-panel--pink .et-panel__head { border-bottom-color: var(--pink-500); }
.et-panel--gold .et-panel__head { border-bottom-color: var(--gold-400); }
.et-panel__icon { width: 26px; height: 26px; flex-shrink: 0; border-radius: var(--radius-sm); background: var(--cyan-50); color: var(--cyan-700);
  display: flex; align-items: center; justify-content: center; font-size: 13px; }
.et-panel--pink .et-panel__icon { background: var(--pink-50); color: var(--pink-700); }
.et-panel--gold .et-panel__icon { background: var(--gold-300); color: #7A5200; }
.et-panel__head h3 { margin: 0; flex: 1; font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--text-strong); }
.et-panel__body { padding: 12px 16px; }

/* ---------- Sidebar lists ---------- */
.et-catlist { display: flex; flex-direction: column; gap: 2px; }
.et-catlist a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm); text-decoration: none;
  font-family: var(--font-body); font-size: 13px; color: var(--text-body); }
.et-catlist a i { width: 18px; text-align: center; color: var(--cyan-600); }
.et-catlist a:hover { background: var(--pink-50); }
.et-catlist a.is-active { background: var(--pink-50); color: var(--pink-700); font-weight: 700; }
.et-catlist a.is-active i { color: var(--pink-500); }

.et-newest { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.et-newest li { display: flex; gap: 9px; align-items: baseline; }
.et-newest__n { font-family: var(--font-numeric); font-weight: 700; font-size: 11px; color: var(--pink-700); width: 16px; flex-shrink: 0; }
.et-newest a { font-family: var(--font-body); font-size: 12.5px; color: var(--text-body); text-decoration: none; line-height: 1.35; }
.et-newest a:hover { color: var(--pink-600); }

/* ---------- Sponsor card ---------- */
.et-sponsor { background: linear-gradient(180deg, #FFFDF6, #FFF7E8); border-radius: var(--radius-lg); border: 1px solid var(--gold-300); box-shadow: var(--glow-gold); overflow: hidden; }
.et-sponsor__head { display: flex; align-items: center; gap: 9px; padding: 12px 16px; border-bottom: 2px solid var(--gold-400); }
.et-sponsor__head .et-panel__icon { background: var(--gold-300); color: #7A5200; }
.et-sponsor__head h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--text-strong); }
.et-sponsor__body { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.et-sponsor__body p { margin: 0; font-size: 13px; color: var(--text-muted); line-height: 1.45; }
.et-sponsor__price { display: flex; align-items: baseline; gap: 5px; }
.et-sponsor__price b { font-family: var(--font-numeric); font-weight: 700; font-size: 26px; color: var(--pink-600); }
.et-sponsor__price span { font-size: 12px; color: var(--text-muted); }

/* ---------- Sponsor banner (inline) ---------- */
.et-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 20px;
  border-radius: var(--radius-lg); background: linear-gradient(110deg, var(--pink-600), var(--pink-800)); color: #fff; box-shadow: var(--glow-pink); }
.et-banner__l { display: flex; align-items: center; gap: 14px; }
.et-banner__l > i { font-size: 22px; }
.et-banner__t { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.et-banner__b { font-size: 13px; color: #fff; }

/* ---------- Rank badge ---------- */
.et-rank { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 44px; }
.et-rank__num { width: 38px; height: 38px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; background: var(--pink-50); color: var(--pink-700); }
.et-rank__num.medal-1 { background: linear-gradient(180deg, var(--gold-400), var(--gold-500)); color: #3A2600; box-shadow: var(--glow-gold); font-size: 18px; }
.et-rank__num.medal-2 { background: linear-gradient(180deg, #FF9CC0, #FF5F9C); color: #fff; font-size: 18px; }
.et-rank__num.medal-3 { background: linear-gradient(180deg, var(--cyan-300), var(--cyan-500)); color: #04343A; font-size: 18px; }
.et-rank__move { display: flex; align-items: center; gap: 3px; font-family: var(--font-numeric); font-weight: 600; font-size: 11px; line-height: 1; }
.et-rank__move.up { color: var(--rank-up); }
.et-rank__move.down { color: var(--rank-down); }
.et-rank__move.flat { color: var(--rank-flat); }
.et-tri-up { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 7px solid currentColor; }
.et-tri-down { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 7px solid currentColor; }
.et-tri-flat { width: 8px; height: 2.5px; background: currentColor; border-radius: 2px; }

/* ---------- Stat group ---------- */
.et-statgroup { display: flex; gap: 2px; align-items: stretch; }
.et-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 62px; padding: 4px 8px; border-radius: var(--radius-sm); }
.et-stat__label { font-family: var(--font-display); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); white-space: nowrap; }
.et-stat__val { font-family: var(--font-numeric); font-weight: 700; font-size: 16px; color: var(--text-strong); font-variant-numeric: tabular-nums; line-height: 1.1; }
.et-stat__val.hl { color: var(--pink-600); }

/* ---------- Site listing ---------- */
.et-listing { display: flex; align-items: stretch; gap: 16px; padding: 16px 18px; border-radius: var(--radius-lg);
  background: var(--surface-card); border: 1px solid var(--line-300); box-shadow: var(--shadow-card); position: relative; }
.et-listing--premium { background: linear-gradient(180deg, #FFFDF6, #FFF7E8); border-color: var(--gold-300); box-shadow: var(--glow-gold); }
.et-listing__rankwrap { display: flex; align-items: center; }
.et-listing__icon { flex-shrink: 0; width: 52px; height: 52px; align-self: center; border-radius: var(--radius-md); display: flex; align-items: center;
  justify-content: center; font-size: 22px; background: var(--pink-50); color: var(--pink-500); text-decoration: none; }
.et-listing--premium .et-listing__icon { background: var(--gold-300); color: #7A5200; }
.et-listing__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; justify-content: center; }
.et-listing__titlerow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.et-listing__title { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--text-strong); text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; max-width: 100%; }
.et-listing__title:hover { color: var(--pink-600); }
.et-listing__desc { margin: 0; font-size: 13px; line-height: 1.45; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.et-listing__meta { display: flex; align-items: center; gap: 12px; margin-top: 2px; flex-wrap: wrap; }
.et-listing__stats { display: flex; align-items: center; border-left: 1px solid var(--line-200); padding-left: 14px; }
.et-listing__cta { display: flex; align-items: center; gap: 8px; }

/* ---------- Pagination ---------- */
.et-pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.et-pager a, .et-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 10px;
  border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 600; font-size: 13px; text-decoration: none;
  background: var(--surface-card); color: var(--text-body); border: 1px solid var(--line-300); }
.et-pager .is-active { background: var(--pink-500); color: #fff; border: none; }

/* ---------- Empty state ---------- */
.et-empty { padding: 48px; text-align: center; color: var(--text-muted); }
.et-empty i { font-size: 28px; color: var(--pink-300); margin-bottom: 10px; display: block; }

/* ---------- Footer ---------- */
.et-footer { background: var(--ink-900); color: rgba(255,255,255,.7); margin-top: 32px; }
.et-footer__top { max-width: var(--container-max, 1200px); margin: 0 auto; padding: 36px 24px 24px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.et-footer__brand p { margin: 12px 0 0; font-size: 13px; line-height: 1.5; max-width: 260px; }
.et-footer__flags { display: flex; gap: 12px; margin-top: 14px; }
.et-footer__flags img { border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); display: block; }
.et-footer h4 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--cyan-400); }
.et-footer ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.et-footer__top a { font-size: 13px; color: rgba(255,255,255,.7); text-decoration: none; }
.et-footer__top a:hover { color: #fff; }
.et-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.et-footer__bottom .et-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; font-size: 12px; color: rgba(255,255,255,.5); }
.et-footer__bottom a { color: inherit; text-decoration: none; }
.et-footer__legal { display: flex; gap: 16px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .et-main { grid-template-columns: 1fr; }
  .et-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .et-brandrow .et-wrap { flex-wrap: wrap; }
  .et-brandrow__logo { order: 1; }
  .et-ctas { order: 2; margin-left: auto; }
  .et-search { order: 3; flex-basis: 100%; max-width: none; }
  .et-listing { flex-wrap: wrap; }
  .et-listing__body { flex-basis: 60%; }
  .et-listing__stats { border-left: none; padding-left: 0; flex-basis: 100%; justify-content: flex-start; }
  .et-listing__cta { flex-basis: 100%; }
  .et-listing__cta .et-btn { flex: 1; }
  .et-rankhead h1 { font-size: 24px; }
}
@media (max-width: 480px) {
  .et-wrap { padding-left: 14px; padding-right: 14px; }
  .et-main { padding: 16px 14px; }
  .et-utility__trust { font-size: 11px; }
  .et-listing__icon { width: 44px; height: 44px; font-size: 18px; }
  .et-ctas .et-btn .lbl { display: none; }
  .et-ctas .et-btn { padding: 0 16px; }
}

/* ============================================================
   Per-site stats page
   ============================================================ */
.et-stats-page { max-width: var(--container-max, 1200px); margin: 0 auto; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.et-crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; }
.et-crumb a { color: var(--pink-600); text-decoration: none; }
.et-crumb b { color: var(--text-strong); }

.et-card { background: var(--surface-card); border: 1px solid var(--line-300); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 18px 20px; }
.et-card__head { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.et-card__head h2 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--text-strong); white-space: nowrap; }
.et-iconchip { width: 30px; height: 30px; flex-shrink: 0; border-radius: var(--radius-sm); background: var(--cyan-50); color: var(--cyan-700); display: flex; align-items: center; justify-content: center; font-size: 14px; }

.et-hero { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.et-hero__icon { width: 64px; height: 64px; flex-shrink: 0; border-radius: var(--radius-lg); background: var(--pink-50); color: var(--pink-500); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.et-hero--premium .et-hero__icon { background: var(--gold-300); color: #7A5200; }
.et-hero__main { flex: 1; min-width: 240px; }
.et-hero__titlerow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.et-hero__titlerow h1 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -.02em; color: var(--text-strong); }
.et-hero__url { display: inline-flex; align-items: center; gap: 6px; margin-top: 5px; font-size: 13.5px; color: var(--pink-600); text-decoration: none; }
.et-hero__meta { display: flex; align-items: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.et-hero__meta span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-muted); }
.et-hero__rankcta { display: flex; align-items: center; gap: 16px; }
.et-hero__ranklabel { font-family: var(--font-display); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 4px; text-align: center; }

.et-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.et-kpi { background: var(--surface-card); border: 1px solid var(--line-300); border-radius: var(--radius-lg); padding: 16px 18px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 4px; }
.et-kpi__label { font-family: var(--font-display); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); }
.et-kpi__val { font-family: var(--font-numeric); font-weight: 700; font-size: 30px; line-height: 1; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.et-kpi__val.hl { color: var(--pink-600); }
.et-kpi__delta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); }
.et-kpi__delta.up { color: var(--rank-up); }
.et-kpi__delta.down { color: var(--rank-down); }

.et-legend { display: flex; gap: 16px; align-items: center; }
.et-legend span { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 12px; }
.et-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

.et-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.et-bd { display: flex; flex-direction: column; gap: 9px; }
.et-bd__row { display: flex; align-items: center; gap: 10px; }
.et-bd__label { width: 160px; flex-shrink: 0; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-body); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.et-bd__label img { border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.06); flex-shrink: 0; }
.et-bd__track { flex: 1; height: 10px; background: var(--surface-50); border-radius: var(--radius-pill); overflow: hidden; }
.et-bd__fill { height: 100%; background: var(--pink-300); border-radius: var(--radius-pill); }
.et-bd__row:first-child .et-bd__fill { background: var(--pink-500); }
.et-bd__count { width: 62px; text-align: right; font-family: var(--font-numeric); font-weight: 600; font-size: 12.5px; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.et-bd__note { margin-top: 10px; font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; }

.et-table-wrap { overflow-x: auto; }
.et-dtable { width: 100%; border-collapse: collapse; font-family: var(--font-body); font-size: 13px; }
.et-dtable th { text-align: right; padding: 8px 12px; font-family: var(--font-display); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); border-bottom: 2px solid var(--line-300); }
.et-dtable th:first-child { text-align: left; }
.et-dtable td { text-align: right; padding: 8px 12px; border-bottom: 1px solid var(--line-200); font-family: var(--font-numeric); font-variant-numeric: tabular-nums; color: var(--text-body); }
.et-dtable td:first-child { text-align: left; font-family: var(--font-body); }
.et-dtable tr.avg { background: var(--pink-50); }
.et-dtable tr.avg td { font-weight: 700; color: var(--text-strong); }
.et-dtable tr.odd { background: var(--surface-50); }

.et-reviews { display: flex; gap: 20px; flex-wrap: wrap; }
.et-reviews__summary { flex-shrink: 0; text-align: center; padding: 16px 24px; background: var(--pink-50); border-radius: var(--radius-lg); }
.et-reviews__big { font-family: var(--font-numeric); font-weight: 700; font-size: 42px; color: var(--pink-600); line-height: 1; }
.et-reviews__big--empty { color: var(--text-faint); }
.et-reviews__rated { font-family: var(--font-display); font-weight: 600; font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.et-reviews__list { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.et-empty-note { color: var(--text-muted); font-size: 13px; padding: 20px; text-align: center; }

@media (max-width: 980px) {
  .et-kpis { grid-template-columns: repeat(2, 1fr); }
  .et-2col { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .et-stats-page { padding: 16px 14px; }
  .et-bd__label { width: 110px; }
  .et-bd__count { width: 52px; }
  .et-hero__rankcta { width: 100%; justify-content: space-between; }
}

/* ============================================================
   Category landing page
   ============================================================ */
.et-catpage { max-width: var(--container-max, 1200px); margin: 0 auto; padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.et-cathero { border-radius: var(--radius-xl, 20px); border: 1px solid var(--line-300); box-shadow: var(--shadow-card); background: linear-gradient(120deg, var(--pink-50), var(--cyan-50) 130%); padding: 26px 28px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.et-cathero__icon { width: 70px; height: 70px; flex-shrink: 0; border-radius: var(--radius-lg); background: var(--pink-500); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: var(--glow-pink); }
.et-cathero__main { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 6px; }
.et-cathero__titlerow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.et-cathero__titlerow h1 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 32px; letter-spacing: -.02em; color: var(--text-strong); line-height: 1.1; }
.et-cathero__main p { margin: 0; max-width: 560px; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.et-cathero__stat { text-align: center; padding: 12px 22px; background: var(--surface-card); border-radius: var(--radius-lg); border: 1px solid var(--line-300); }
.et-cathero__statlabel { font-family: var(--font-display); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); }
.et-cathero__statval { font-family: var(--font-numeric); font-weight: 700; font-size: 30px; color: var(--pink-600); font-variant-numeric: tabular-nums; line-height: 1.1; }
.et-cathero__statsub { font-size: 11px; color: var(--rank-up); }
.et-catgrid { display: grid; grid-template-columns: 1fr var(--sidebar-w, 280px); gap: 24px; align-items: start; }
@media (max-width: 980px) { .et-catgrid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .et-catpage { padding: 16px 14px; } .et-cathero { padding: 20px; } .et-cathero__titlerow h1 { font-size: 26px; } }

/* ============================================================
   Advertiser landing (€0.005)
   ============================================================ */
.et-adpage { max-width: var(--container-max, 1200px); margin: 0 auto; padding: 24px; }
.et-back { display: inline-flex; align-items: center; gap: 7px; border: none; background: transparent; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--pink-700); text-decoration: none; margin-bottom: 16px; }
.et-back:hover { color: var(--pink-600); text-decoration: underline; }
.et-adhero { border-radius: var(--radius-xl, 20px); overflow: hidden; background: linear-gradient(120deg, var(--ink-900), #3A0A22); color: #fff; padding: 40px; margin-bottom: 24px; }
.et-adhero__inner { max-width: 620px; }
.et-adhero h1 { margin: 16px 0 10px; font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1.05; letter-spacing: -.02em; }
.et-adhero h1 .accent { color: var(--pink-400); }
.et-adhero p { margin: 0 0 22px; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.8); }
.et-adhero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.et-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.et-tier { position: relative; background: var(--surface-card); border-radius: var(--radius-lg); border: 1px solid var(--line-300); box-shadow: var(--shadow-card); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.et-tier--featured { border: 2px solid var(--gold-400); box-shadow: var(--glow-gold); }
.et-tier__pop { position: absolute; top: -11px; left: 24px; }
.et-tier__icon { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--pink-50); color: var(--pink-500); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.et-tier--featured .et-tier__icon { background: var(--gold-300); color: #7A5200; }
.et-tier h3 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--text-strong); }
.et-tier__price { display: flex; align-items: baseline; gap: 4px; }
.et-tier__price b { font-family: var(--font-numeric); font-weight: 700; font-size: 32px; color: var(--pink-600); }
.et-tier__price span { font-size: 13px; color: var(--text-muted); }
.et-tier ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.et-tier li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--text-body); }
.et-tier li i { color: var(--up-500); margin-top: 2px; }
.et-adcontact { margin-top: 24px; text-align: center; color: var(--text-muted); font-size: 14px; }
.et-adcontact a { color: var(--pink-600); }
@media (max-width: 880px) { .et-tiers { grid-template-columns: 1fr; } .et-adhero { padding: 28px; } .et-adhero h1 { font-size: 32px; } }

/* ============================================================
   Add Your Site form
   ============================================================ */
.et-formpage { max-width: 640px; margin: 0 auto; padding: 24px; }
.et-formcard { background: var(--surface-card); border-radius: var(--radius-xl, 20px); border: 1px solid var(--line-300); box-shadow: var(--shadow-md); overflow: hidden; margin-top: 12px; }
.et-formcard__head { padding: 24px 28px; border-bottom: 1px solid var(--line-200); background: linear-gradient(180deg, var(--pink-50), transparent); }
.et-formcard__head h1 { margin: 10px 0 4px; font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--text-strong); }
.et-formcard__head p { margin: 0; font-size: 14px; color: var(--text-muted); }
.et-form { padding: 24px 28px; display: flex; flex-direction: column; gap: 16px; }
.et-field { display: flex; flex-direction: column; gap: 6px; }
.et-field > label { font-family: var(--font-display); font-weight: 600; font-size: 12px; color: var(--text-strong); }
.et-field__wrap { position: relative; display: flex; align-items: center; }
.et-field__wrap > i { position: absolute; left: 14px; color: var(--text-faint); font-size: 14px; }
.et-field input, .et-field textarea { width: 100%; box-sizing: border-box; font-family: var(--font-body); font-size: 14px; color: var(--text-strong); background: var(--surface-50); border: 1.5px solid var(--line-300); border-radius: var(--radius-md); outline: none; }
.et-field input { height: var(--control-h-md); padding: 0 14px 0 38px; }
.et-field textarea { padding: 12px 14px; resize: vertical; }
.et-field input:focus, .et-field textarea:focus { border-color: var(--pink-400); box-shadow: var(--ring); }
.et-field__hint { font-size: 12px; color: var(--text-muted); }
.et-catpills { display: flex; flex-wrap: wrap; gap: 8px; }
.et-catpill { display: inline-flex; }
.et-catpill input { position: absolute; opacity: 0; width: 0; height: 0; }
.et-catpill span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--radius-pill); cursor: pointer; border: 1.5px solid var(--line-300); background: var(--surface-card); color: var(--text-body); font-family: var(--font-display); font-weight: 600; font-size: 12px; }
.et-catpill input:checked + span { border-color: var(--pink-400); background: var(--pink-50); color: var(--pink-700); }
.et-catpill input:focus-visible + span { box-shadow: var(--ring); }
.et-form__submit { display: flex; gap: 12px; align-items: center; margin-top: 4px; flex-wrap: wrap; }
.et-form__note { font-size: 12px; color: var(--text-muted); }
.et-alert { padding: 12px 16px; border-radius: var(--radius-md); font-size: 14px; margin: 16px 28px 0; }
.et-alert--err { background: var(--down-50); color: #A1122F; border: 1px solid var(--down-500); }
.et-success { padding: 40px 28px; text-align: center; }
.et-success__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--up-50); color: var(--up-500); display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 14px; }
.et-success h2 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--text-strong); }
.et-success p { margin: 0 0 18px; font-size: 14px; color: var(--text-muted); }
@media (max-width: 480px) { .et-formpage { padding: 16px 14px; } .et-form, .et-formcard__head { padding-left: 18px; padding-right: 18px; } .et-alert { margin-left: 18px; margin-right: 18px; } }
