/* appstore-discounts.com — design system 2026 */

:root {
  --c-bg: #f5f5f7;
  --c-surface: #ffffff;
  --c-surface-2: #fafafa;
  --c-text: #1d1d1f;
  --c-text-2: #4b4b50;
  --c-muted: #86868b;
  --c-border: #e5e5ea;
  --c-border-strong: #d2d2d7;
  --c-accent: #FF3B30;
  --c-accent-2: #FF9500;
  --c-accent-soft: #fff0ee;
  --c-success: #34c759;
  --c-info: #0071e3;
  --c-hot: #ff2d55;
  --c-free: #34c759;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);

  --font: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --container: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --c-bg: #000;
    --c-surface: #1c1c1e;
    --c-surface-2: #2c2c2e;
    --c-text: #f5f5f7;
    --c-text-2: #c7c7cc;
    --c-muted: #8e8e93;
    --c-border: #2c2c2e;
    --c-border-strong: #3a3a3c;
    --c-accent-soft: #2c1a18;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-accent); }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 .4em; }
h1 { font-size: clamp(28px, 4vw, 44px); }
h2 { font-size: clamp(20px, 2.4vw, 28px); }
h3 { font-size: 18px; }
.muted { color: var(--c-muted); }
.small { font-size: 13px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--c-border);
}
@media (prefers-color-scheme: dark) { .site-header { background: rgba(28,28,30,0.85); } }
.header-inner { display: flex; align-items: center; gap: 18px; padding: 12px 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.brand-text { display: inline-block; }
.brand-sm { font-size: 14px; }
.site-nav { display: flex; gap: 4px; margin-left: 12px; flex: 1; }
.site-nav a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: var(--c-text-2);
  transition: background .15s, color .15s;
}
.site-nav a:hover { background: var(--c-surface-2); color: var(--c-text); }
.site-nav a.active { color: var(--c-accent); background: var(--c-accent-soft); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.search-mini { display: flex; align-items: center; gap: 6px; background: var(--c-surface-2); border-radius: 999px; padding: 6px 10px; min-width: 220px; border: 1px solid var(--c-border); }
.search-mini input { background: transparent; border: 0; outline: 0; flex: 1; font-size: 14px; color: var(--c-text); }
.search-mini button { background: transparent; border: 0; color: var(--c-muted); display: flex; }
.country-switcher { display: flex; gap: 4px; }
.cs-flag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  padding: 6px 8px; border-radius: 8px; background: var(--c-surface-2);
  color: var(--c-muted); border: 1px solid var(--c-border);
}
.cs-flag.active { color: #fff; background: var(--c-accent); border-color: var(--c-accent); }

/* Mobile burger menu */
.nav-toggle {
  display: none; width: 40px; height: 40px; padding: 0;
  background: transparent; border: 1px solid var(--c-border);
  border-radius: 10px; align-items: center; justify-content: center;
  color: var(--c-text);
}
.nav-toggle .hamburger { position: relative; width: 18px; height: 2px; background: currentColor; border-radius: 2px; display: block; }
.nav-toggle .hamburger::before, .nav-toggle .hamburger::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .2s ease;
}
.nav-toggle .hamburger::before { top: -6px; }
.nav-toggle .hamburger::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after  { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  display: block; padding: 12px 20px 16px;
  background: var(--c-surface); border-bottom: 1px solid var(--c-border);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  display: block; padding: 12px 14px; border-radius: 10px;
  font-size: 15px; font-weight: 500; color: var(--c-text);
}
.mobile-menu a.active { color: var(--c-accent); background: var(--c-accent-soft); }
.mobile-menu .country-row {
  display: flex; gap: 8px; margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--c-border);
}
.mobile-menu .country-row a {
  flex: 1; text-align: center; padding: 10px 0;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  background: var(--c-surface-2); border: 1px solid var(--c-border); border-radius: 10px;
  color: var(--c-muted);
}
.mobile-menu .country-row a.active { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }

@media (max-width: 880px) {
  .site-nav { display: none; }
  .search-mini { min-width: 0; flex: 1; }
  .brand-text { display: none; }
  .country-switcher { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 881px) {
  .mobile-menu { display: none; }
}

/* MAIN */
.main { padding: 0 0 80px; min-height: 60vh; }

/* HERO */
.hero {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, var(--c-accent-soft) 0%, var(--c-bg) 100%);
}
.hero-title { max-width: 820px; }
.hero-title .accent { background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 18px; color: var(--c-text-2); max-width: 720px; }
.hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent;
  transition: transform .1s, background .15s, color .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); color: inherit; }
.btn-primary { background: var(--c-accent); color: #fff; }
.btn-primary:hover { background: #e62e23; color: #fff; box-shadow: 0 8px 20px rgba(255,59,48,0.3); }
.btn-ghost { background: var(--c-surface); border-color: var(--c-border-strong); color: var(--c-text); }
.btn-ghost:hover { background: var(--c-surface-2); }

/* SECTIONS */
.section { padding: 48px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 24px; }
.section-head h2 { display: inline-flex; align-items: center; gap: 10px; margin: 0; }
.link-more { color: var(--c-accent); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }
.section-h { font-size: 22px; margin: 36px 0 16px; }
.section-h-sm { font-size: 16px; margin: 24px 0 8px; }
.page-head { padding: 48px 0 24px; }

/* APP CARDS */
.grid { display: grid; gap: 18px; }
.grid-apps { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.app-card {
  background: var(--c-surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.app-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: transparent; }
.app-card-link { display: block; padding: 16px; }
.app-card-link:hover { color: inherit; }
.app-card-art { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--c-surface-2); }
.app-card-art img { width: 100%; height: 100%; object-fit: cover; }
.art-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--c-accent-soft), var(--c-border)); }

.badge {
  position: absolute; top: 10px; right: 10px;
  padding: 5px 10px; border-radius: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.02em;
  color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.badge-discount { background: var(--c-accent); }
.badge-hot { background: linear-gradient(135deg, var(--c-hot), var(--c-accent)); }
.badge-free { background: var(--c-free); }

.app-card-body { padding-top: 14px; }
.app-card-title { font-size: 15px; font-weight: 600; margin: 0 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-card-artist { font-size: 12px; color: var(--c-muted); margin: 0 0 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-card-genre { font-size: 11px; color: var(--c-muted); margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.04em; }
.app-card-rating { font-size: 12px; color: var(--c-text-2); margin: 0 0 8px; display: flex; align-items: center; gap: 4px; }
.app-card-rating svg { color: var(--c-accent-2); fill: var(--c-accent-2); }

.app-card-price { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.price-old { color: var(--c-muted); text-decoration: line-through; font-size: 13px; }
.price-new { font-weight: 700; font-size: 16px; color: var(--c-text); }
.price-new.is-free { color: var(--c-free); }

/* FILTER BAR */
.filter-bar { display: flex; flex-wrap: wrap; gap: 16px; padding: 14px 18px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); margin-bottom: 24px; }
.filter-group { display: flex; flex-direction: column; gap: 4px; min-width: 140px; }
.filter-group label { font-size: 12px; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.filter-group select, .filter-group input { background: var(--c-surface); border: 1px solid var(--c-border-strong); border-radius: var(--radius-sm); padding: 8px 10px; font-size: 14px; color: var(--c-text); }

/* PAGINATION */
.pagination { display: flex; gap: 6px; justify-content: center; margin: 32px 0; flex-wrap: wrap; }
.pagination a { padding: 8px 12px; border-radius: 8px; background: var(--c-surface); border: 1px solid var(--c-border); font-size: 14px; }
.pagination a.active { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }

/* FORM */
.form-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-row label { font-size: 14px; font-weight: 600; }
.form-row input, .form-row select, .form-row textarea {
  background: var(--c-surface); border: 1px solid var(--c-border-strong); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 15px; color: var(--c-text);
  transition: border-color .15s, box-shadow .15s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 0; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(255,59,48,0.15); }
.form-row small { font-size: 12px; }
.form-row-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.form-row-grid .form-row { margin-bottom: 0; }
.form-app-preview { display: flex; align-items: center; gap: 14px; padding: 14px; background: var(--c-surface-2); border-radius: var(--radius-sm); margin-bottom: 22px; }
.form-app-preview img { width: 64px; height: 64px; border-radius: 12px; flex-shrink: 0; }

/* FLASH */
.flash { padding: 14px 18px; border-radius: var(--radius-sm); margin: 18px 0; font-size: 14px; }
.flash-success { background: rgba(52,199,89,0.12); color: #1f8f3c; border: 1px solid rgba(52,199,89,0.3); }
.flash-error { background: rgba(255,59,48,0.08); color: #b21d14; border: 1px solid rgba(255,59,48,0.2); }
@media (prefers-color-scheme: dark) {
  .flash-success { color: #5cd778; }
  .flash-error { color: #ff7a72; }
}
.flash ul { margin: 0; padding-left: 18px; }

/* EMPTY */
.empty { background: var(--c-surface); border: 1px dashed var(--c-border-strong); border-radius: var(--radius); padding: 48px 24px; text-align: center; color: var(--c-muted); }

/* FEATURES */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feature { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 28px; }
.feature-ico { width: 56px; height: 56px; border-radius: 14px; background: var(--c-accent-soft); color: var(--c-accent); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.feature h3 { margin: 0 0 8px; }
.feature p { margin: 0 0 12px; color: var(--c-text-2); font-size: 14px; }
.feature a { color: var(--c-accent); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }

/* APP DETAIL */
.app-hero { padding: 48px 0 32px; background: linear-gradient(180deg, var(--c-accent-soft), var(--c-bg)); }
.app-hero-grid { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; }
.app-hero-art img { width: 180px; height: 180px; border-radius: 28px; box-shadow: var(--shadow-md); }
.app-hero-info h1 { font-size: clamp(26px, 3vw, 36px); margin: 4px 0 6px; }
.app-hero-artist { color: var(--c-text-2); margin: 0 0 18px; }
.price-box { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px; margin: 18px 0; max-width: 360px; position: relative; }
.price-box .badge { position: absolute; top: -10px; left: 16px; }
.price-line { display: flex; align-items: baseline; gap: 12px; margin: 6px 0; }
.price-line .price-new { font-size: 28px; }
.app-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 16px; }
.meta-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 999px; font-size: 12px; color: var(--c-text-2); }
.pill svg { color: var(--c-accent-2); fill: var(--c-accent-2); }

.screenshots { display: flex; gap: 12px; overflow-x: auto; padding: 8px 0 18px; scroll-snap-type: x mandatory; }
.screenshots img { height: 380px; border-radius: 18px; flex-shrink: 0; scroll-snap-align: start; }

.app-grid-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.prose { line-height: 1.7; color: var(--c-text-2); }
.prose-notes { background: var(--c-surface); border-radius: var(--radius); padding: 18px; border: 1px solid var(--c-border); }
.price-history table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--c-surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-border); }
.price-history th, .price-history td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--c-border); }
.price-history th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-muted); background: var(--c-surface-2); }
.price-history tr:last-child td { border-bottom: 0; }

@media (max-width: 760px) {
  .app-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .app-hero-art img { margin: 0 auto; }
  .app-hero-info .price-box { margin-left: auto; margin-right: auto; }
  .app-actions { justify-content: center; }
  .app-grid-2 { grid-template-columns: 1fr; }
  .screenshots img { height: 260px; }
}

/* SEARCH */
.search-big { display: flex; align-items: center; gap: 12px; background: var(--c-surface); border: 1px solid var(--c-border-strong); border-radius: 999px; padding: 8px 16px; margin: 24px 0; }
.search-big input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 17px; padding: 10px 0; color: var(--c-text); }
.search-big svg { color: var(--c-muted); flex-shrink: 0; }
.search-results { display: flex; flex-direction: column; gap: 6px; }
.result-row { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding: 12px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-sm); }
.result-row:hover { background: var(--c-surface-2); }
.result-row img { width: 60px; height: 60px; border-radius: 12px; }
.result-title { font-weight: 600; }
.result-meta { font-size: 13px; }
.result-price { text-align: right; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }

/* FOOTER */
.site-footer { background: var(--c-surface); border-top: 1px solid var(--c-border); padding: 48px 0 0; margin-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-muted); margin: 0 0 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-col p { font-size: 13px; color: var(--c-muted); margin: 12px 0 0; max-width: 320px; }
.footer-bottom { border-top: 1px solid var(--c-border); padding: 18px 0; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom small { color: var(--c-muted); font-size: 12px; }
.footer-bottom .footer-credit { flex: 1; min-width: 0; }
.footer-bottom .footer-counter { color: var(--c-accent-2); font-weight: 700; white-space: nowrap; }
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }
  .footer-bottom .footer-counter { align-self: flex-end; }
}

/* ADMIN */
.admin-layout { min-height: 100vh; background: var(--c-bg); display: flex; }
.admin-sidebar { width: 240px; background: var(--c-surface); border-right: 1px solid var(--c-border); padding: 20px 14px; }
.admin-main { flex: 1; padding: 32px; }
.admin-sidebar a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--c-text-2); margin-bottom: 2px; }
.admin-sidebar a.active, .admin-sidebar a:hover { background: var(--c-accent-soft); color: var(--c-accent); }
.admin-table { width: 100%; border-collapse: collapse; background: var(--c-surface); border-radius: var(--radius); overflow: hidden; }
.admin-table th, .admin-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--c-border); font-size: 14px; }
.admin-table th { background: var(--c-surface-2); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-muted); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 32px; }
.stat-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 20px; }
.stat-card .label { font-size: 13px; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.stat-card .value { font-size: 28px; font-weight: 800; margin-top: 4px; }
.status-pending { color: #b45309; background: #fef3c7; padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.status-approved, .status-live { color: #166534; background: #dcfce7; padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.status-rejected { color: #991b1b; background: #fee2e2; padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.status-expired { color: #475569; background: #f1f5f9; padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; }

@media (max-width: 760px) {
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; border-right: 0; border-bottom: 1px solid var(--c-border); display: flex; gap: 4px; overflow-x: auto; }
  .admin-main { padding: 20px; }
}

/* Utilities */
.text-center { text-align: center; }



/* Section Apps sponsorisees + ad inline (FR only) */
.sponsored-section { padding: 56px 0 16px; }
.sponsored-head { margin-bottom: 14px; }
.sponsored-title { font-size: 12px; font-weight: 700; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.1em; margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.sponsored-title::before { content: ""; display: inline-block; width: 16px; height: 2px; background: linear-gradient(90deg, #FF9500, #FFB74D); border-radius: 2px; }

.sponsored-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

/* Banniere sponsorisee - meme look que le ad inline */
.sponsored-banner { position: relative; display: flex; align-items: center; gap: 14px; height: 90px; padding: 0 18px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 14px; text-decoration: none; color: inherit; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.sponsored-banner:hover { transform: translateY(-2px); border-color: var(--c-border-strong); box-shadow: 0 8px 22px rgba(0,0,0,0.07); color: inherit; }
.sponsored-banner:hover .sponsored-banner-arrow { transform: translateX(4px); color: #FF9500; }

.sponsored-banner-icon { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.sponsored-banner-text { flex: 1; min-width: 0; }
.sponsored-banner-name { display: block; font-size: 16px; font-weight: 700; color: var(--c-text); line-height: 1.2; }
.sponsored-banner-pitch { display: block; font-size: 13px; color: var(--c-muted); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sponsored-banner-arrow { font-size: 18px; color: var(--c-muted); transition: transform .18s ease, color .18s ease; flex-shrink: 0; }

/* Ad inline (AdSense) - meme dimensions/style que les bannieres */
.ad-inline-wrap { position: relative; margin-top: 14px; height: 90px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 14px; overflow: hidden; }
.ad-inline-label { position: absolute; top: 8px; right: 10px; font-size: 9px; font-weight: 600; color: var(--c-muted); background: var(--c-surface-2); border: 1px solid var(--c-border); padding: 2px 7px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.08em; z-index: 2; }
.ad-inline-ins { display: block; width: 100%; height: 100%; }

@media (max-width: 600px) {
  .sponsored-section { padding: 40px 0 12px; }
  .sponsored-grid { grid-template-columns: 1fr; gap: 10px; }
  .sponsored-banner { height: 76px; padding: 0 14px; gap: 12px; }
  .sponsored-banner-icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 12px; }
  .sponsored-banner-name { font-size: 15px; }
  .sponsored-banner-pitch { font-size: 12px; }
  .ad-inline-wrap { height: 76px; margin-top: 10px; }
}

/* Scrollbar discrete (Firefox + Chromium/Safari) */
html { scrollbar-width: thin; scrollbar-color: rgba(0,0,0,0.22) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background-color: rgba(0,0,0,0.22); border-radius: 999px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background-color: rgba(0,0,0,0.38); background-clip: content-box; }
@media (prefers-color-scheme: dark) {
  html { scrollbar-color: rgba(255,255,255,0.22) transparent; }
  ::-webkit-scrollbar-thumb { background-color: rgba(255,255,255,0.18); background-clip: content-box; }
  ::-webkit-scrollbar-thumb:hover { background-color: rgba(255,255,255,0.32); background-clip: content-box; }
}
