/* ==========================================================================
   Réalité 24 — feuille de style principale (design « quotidien d'information »)
   ========================================================================== */
:root {
  --r24-red: #e5332a;
  --r24-blue: #1d3f9e;
  --r24-ink: #16161a;
  --r24-ink-2: #3c3c43;
  --r24-muted: #6b6b74;
  --r24-rule: #e3e3e6;
  --r24-bg: #ffffff;
  --r24-bg-2: #f6f5f2;
  --r24-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --r24-sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r24-wrap: 1200px;
}
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--r24-sans); color: var(--r24-ink); background: var(--r24-bg); margin: 0; height: auto; min-height: 100%; }
body.r24 { line-height: 1.5; }
body.r24 *, body.r24 *::before, body.r24 *::after { box-sizing: border-box; }
body.r24 a { color: inherit; text-decoration: none; }
body.r24 img { max-width: 100%; display: block; }
body.r24 p { color: var(--r24-ink-2); font-family: var(--r24-sans); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.r24-wrap { max-width: var(--r24-wrap); margin: 0 auto; padding: 0 16px; }
img.blur { filter: blur(6px); transition: filter .3s; }
img.lazy { background: #eceae6; }

/* ---------- Bandeau ---------- */
.r24-topbar { border-bottom: 1px solid var(--r24-rule); font-size: 13px; color: var(--r24-muted); background: #fff; }
.r24-topbar-in { display: flex; justify-content: space-between; align-items: center; height: 34px; gap: 10px; }
.r24-date { white-space: nowrap; }
.r24-toplinks { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; }
.r24-toplinks a { color: var(--r24-ink-2); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 13px; text-decoration: none; }
.r24-toplinks a:hover { color: var(--r24-red); }
.r24-masthead { background: #fff; }
.r24-masthead-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-top: 14px; padding-bottom: 10px; }
.r24-logo img { height: 52px; width: auto; }
.r24-burger { justify-self: start; background: none; border: 0; font: 600 14px var(--r24-sans); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--r24-ink); padding: 6px 0; }
.r24-burger i { font-size: 26px; }
.r24-mast-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.r24-icon { background: none; border: 0; font-size: 24px; color: var(--r24-ink); cursor: pointer; display: inline-flex; padding: 4px; text-decoration: none; }
.r24-btn-sub { background: var(--r24-red); color: #fff !important; padding: 8px 14px; border-radius: 3px; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.r24-btn-sub:hover { background: #c4271f; }
.r24-nav { border-top: 1px solid var(--r24-ink); border-bottom: 1px solid var(--r24-rule); background: #fff; position: sticky; top: 0; z-index: 900; }
.r24-nav-in { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.r24-nav-in::-webkit-scrollbar, .r24-toplinks::-webkit-scrollbar { display: none; }
.r24-nav a { padding: 11px 11px; font-size: 14.5px; font-weight: 600; color: var(--r24-ink); text-decoration: none; border-bottom: 3px solid transparent; display: inline-flex; align-items: center; gap: 6px; }
.r24-nav a:hover { color: var(--r24-red); }
.r24-nav a.active { border-bottom-color: var(--r24-red); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--r24-red); display: inline-block; animation: r24pulse 1.6s infinite; }
@keyframes r24pulse { 0% { box-shadow: 0 0 0 0 rgba(229,51,42,.6); } 70% { box-shadow: 0 0 0 7px rgba(229,51,42,0); } 100% { box-shadow: 0 0 0 0 rgba(229,51,42,0); } }

.r24-drawer-bg { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1999; }
.r24-drawer { position: fixed; top: 0; left: 0; bottom: 0; width: 300px; max-width: 86vw; background: #fff; z-index: 2000; transform: translateX(-105%); transition: transform .25s ease; overflow-y: auto; box-shadow: 4px 0 24px rgba(0,0,0,.12); }
.r24-drawer.open { transform: none; }
.r24-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--r24-rule); }
.r24-drawer-search { display: flex; margin: 14px 16px; border: 1px solid var(--r24-rule); border-radius: 4px; }
.r24-drawer-search input { flex: 1; border: 0; padding: 10px; font-size: 15px; background: transparent; min-width: 0; }
.r24-drawer-search button { border: 0; background: none; font-size: 20px; padding: 0 10px; cursor: pointer; }
.r24-drawer ul { list-style: none; margin: 0; padding: 0 0 80px; }
.r24-drawer li a { display: flex; gap: 10px; align-items: center; padding: 11px 18px; font-size: 15px; color: var(--r24-ink); text-decoration: none; border-bottom: 1px solid #f1f1f3; }
.r24-drawer li a:hover { background: var(--r24-bg-2); color: var(--r24-red); }

.r24-bottomnav { display: none; }
@media (max-width: 760px) {
  .r24-topbar .r24-toplinks a:not(:last-child) { display: none; }
  .r24-masthead-in { padding-top: 8px; padding-bottom: 6px; }
  .r24-logo img { height: 38px; }
  .r24-burger span { display: none; }
  .r24-btn-sub { display: none; }
  .r24-nav a { padding: 10px 9px; font-size: 14px; }
  .r24-bottomnav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; height: 58px; background: #fff; border-top: 1px solid var(--r24-rule); z-index: 1500; justify-content: space-around; padding-bottom: env(safe-area-inset-bottom); }
  .r24-bottomnav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; color: var(--r24-muted); text-decoration: none; gap: 2px; }
  .r24-bottomnav a i { font-size: 22px; }
  .r24-bottomnav a.active { color: var(--r24-red); }
  body { padding-bottom: 60px; }
}

/* ---------- Typographie éditoriale ---------- */
.r24-kicker { display: inline-block; font: 700 12px/1 var(--r24-sans); text-transform: uppercase; letter-spacing: .06em; color: var(--r24-red); margin-bottom: 6px; text-decoration: none; }
a.r24-kicker:hover { text-decoration: underline; }
.r24-h { font-family: var(--r24-serif); font-weight: 700; color: var(--r24-ink); line-height: 1.18; margin: 0; letter-spacing: -.005em; }
a:hover > .r24-h, a.r24-h:hover, .r24-card a:hover .r24-h { color: var(--r24-red); }
.r24-h-xl { font-size: clamp(26px, 3.4vw, 40px); }
.r24-h-l { font-size: clamp(20px, 2.2vw, 26px); }
.r24-h-m { font-size: 18px; }
.r24-h-s { font-size: 16px; font-weight: 600; }
.r24-chapo { font-family: var(--r24-serif); font-size: 17px; color: var(--r24-ink-2) !important; margin: 8px 0 0; line-height: 1.5; }
.r24-meta { font-size: 12.5px; color: var(--r24-muted); margin-top: 6px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.r24-meta i { font-size: 14px; }

.r24-section { margin: 34px 0; }
.r24-section-title { display: flex; justify-content: space-between; align-items: baseline; border-top: 3px solid var(--r24-ink); padding-top: 8px; margin-bottom: 16px; }
.r24-section-title h2 { font: 700 22px/1.2 var(--r24-serif); margin: 0; color: var(--r24-ink); }
.r24-section-title a { font-size: 13px; font-weight: 600; color: var(--r24-red); text-decoration: none; white-space: nowrap; }
.r24-section-title a:hover { text-decoration: underline; }

/* ---------- Cartes ---------- */
.r24-card { display: block; text-decoration: none; }
.r24-card .r24-thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #eceae6; margin-bottom: 10px; }
.r24-card .r24-thumb img { width: 100%; height: 100%; object-fit: cover; }
.r24-card-row { display: grid; grid-template-columns: 1fr 120px; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--r24-rule); align-items: start; }
.r24-card-row .r24-thumb { margin: 0; aspect-ratio: 4 / 3; }
.r24-list { list-style: none; margin: 0; padding: 0; }
.r24-list li { padding: 12px 0; border-bottom: 1px solid var(--r24-rule); }
.r24-list li:last-child { border-bottom: 0; }
.r24-badge-video { position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,.78); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 3px; display: flex; gap: 4px; align-items: center; }

/* ---------- Une ---------- */
.r24-une { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 22px; }
.r24-une-main .r24-thumb { aspect-ratio: 3 / 2; }
.r24-une-col { border-left: 1px solid var(--r24-rule); padding-left: 24px; }
.r24-une-col .r24-card + .r24-card { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--r24-rule); }
.r24-live { background: var(--r24-bg-2); padding: 14px 16px; }
.r24-live h2 { font: 700 15px var(--r24-sans); margin: 0 0 6px; display: flex; gap: 8px; align-items: center; text-transform: uppercase; letter-spacing: .04em; }
.r24-live ol { list-style: none; padding: 0; margin: 0; }
.r24-live li { padding: 9px 0; border-bottom: 1px solid #e4e1db; display: grid; grid-template-columns: 46px 1fr; gap: 8px; font-size: 14.5px; line-height: 1.35; }
.r24-live li:last-child { border: 0; }
.r24-live time { color: var(--r24-red); font-weight: 700; font-size: 13px; }
.r24-live a:hover { color: var(--r24-red); }
@media (max-width: 980px) {
  .r24-une { grid-template-columns: 1fr 1fr; }
  .r24-une-main { grid-column: 1 / -1; }
  .r24-une-col:first-of-type { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  .r24-une { grid-template-columns: 1fr; }
  .r24-une-col { border-left: 0; padding-left: 0; }
}

/* ---------- Grilles ---------- */
.r24-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.r24-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.r24-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.r24-rubrique-block { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; }
.r24-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.r24-aside { position: sticky; top: 60px; }
.r24-aside > * + * { margin-top: 28px; }
@media (max-width: 980px) {
  .r24-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r24-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r24-layout { grid-template-columns: 1fr; }
  .r24-aside { position: static; }
}
@media (max-width: 640px) {
  .r24-grid-4, .r24-grid-3, .r24-grid-2, .r24-rubrique-block { grid-template-columns: 1fr; }
  .r24-grid-4.r24-keep-2 { grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* Les plus lus */
.r24-mostread ol { counter-reset: mr; list-style: none; padding: 0; margin: 0; }
.r24-mostread li { counter-increment: mr; display: grid; grid-template-columns: 34px 1fr; gap: 6px; padding: 11px 0; border-bottom: 1px solid var(--r24-rule); font: 600 15.5px/1.3 var(--r24-serif); }
.r24-mostread li::before { content: counter(mr); font: 700 26px/1 var(--r24-serif); color: var(--r24-red); }
.r24-mostread a:hover { color: var(--r24-red); }

/* ---------- Publicité ---------- */
.ad { margin: 26px auto; text-align: center; max-width: 100%; overflow: hidden; clear: both; }
.ad-label { font-size: 11px; color: #8a8a92; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.ad-in_article { padding: 10px 0; border-top: 1px solid var(--r24-rule); border-bottom: 1px solid var(--r24-rule); }
.ad ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
.ad:has(ins[data-ad-status="unfilled"]) { display: none; }

/* ---------- Vidéos ---------- */
.r24-videos { background: #111114; color: #fff; padding: 28px 0 32px; margin: 36px 0; }
.r24-videos .r24-section-title { border-top-color: #fff; }
.r24-videos .r24-section-title h2 { color: #fff; }
.r24-videos .r24-section-title a { color: #ff8a80; }
.r24-video-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 280px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 6px; }
.r24-video-card { scroll-snap-align: start; color: #fff; text-decoration: none; display: block; }
.r24-video-card .r24-thumb { aspect-ratio: 16/9; position: relative; overflow: hidden; background: #222; margin-bottom: 8px; }
.r24-video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.r24-video-card:hover img { transform: scale(1.04); }
.r24-video-card h3 { font: 600 15.5px/1.3 var(--r24-serif); margin: 0; color: #fff; }
.r24-video-card .r24-meta { color: #a8a8b3; }
.r24-play { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; background: rgba(229,51,42,.92); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 30px; }

/* ---------- Article ---------- */
.r24-article { max-width: 760px; }
.r24-article-head { margin: 26px 0 18px; }
.r24-article h1 { font: 700 clamp(28px, 4vw, 42px)/1.15 var(--r24-serif); margin: 4px 0 12px; color: var(--r24-ink); letter-spacing: -.01em; }
.r24-article .r24-chapo { font-size: 19px; }
.r24-byline { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--r24-rule); border-bottom: 1px solid var(--r24-rule); padding: 10px 0; margin: 16px 0; font-size: 13.5px; color: var(--r24-muted); flex-wrap: wrap; }
.r24-byline img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.r24-byline strong { color: var(--r24-ink); }
.r24-figure-main { margin: 0 0 22px; }
.r24-figure-main img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.r24-figure-main figcaption, .article-figure figcaption { font-size: 13px; color: var(--r24-muted); padding: 6px 0; border-bottom: 1px solid var(--r24-rule); }
.r24-body { font-family: var(--r24-serif); font-size: 19px; line-height: 1.7; color: #1d1d22; }
.r24-body p { font-family: var(--r24-serif); font-size: 19px; line-height: 1.7; color: #1d1d22 !important; margin: 0 0 1.1em; }
.r24-body h2 { font: 700 25px/1.25 var(--r24-serif); margin: 1.6em 0 .6em; }
.r24-body h3, .r24-body h4, .r24-body h5, .r24-body h6 { font: 700 20px/1.3 var(--r24-serif); margin: 1.4em 0 .5em; }
.r24-body a { color: var(--r24-blue); text-decoration: underline; text-underline-offset: 2px; }
.r24-body blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--r24-red); font-style: italic; font-size: 21px; color: var(--r24-ink); }
.r24-body ul, .r24-body ol { margin: 0 0 1.1em 1.2em; padding-left: 1em; }
.r24-body li { margin-bottom: .4em; }
.r24-body hr { border: 0; border-top: 1px solid var(--r24-rule); margin: 2em auto; width: 40%; }
.r24-body img { max-width: 100%; height: auto; }
.r24-body pre { background: #f4f4f6; padding: 14px; overflow: auto; font-size: 14px; border-radius: 4px; }
.r24-body .table-wrap { overflow-x: auto; margin: 1.2em 0; }
.r24-body table { border-collapse: collapse; width: 100%; font: 15px var(--r24-sans); }
.r24-body th, .r24-body td { border: 1px solid var(--r24-rule); padding: 8px 10px; text-align: left; }
.r24-body th { background: var(--r24-bg-2); }
.article-figure { margin: 1.6em 0; }
.article-figure img { width: 100%; height: auto; }
.r24-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0; }
.r24-tags a { font-size: 13px; padding: 5px 11px; border: 1px solid var(--r24-rule); border-radius: 20px; color: var(--r24-ink-2); text-decoration: none; }
.r24-tags a:hover { border-color: var(--r24-red); color: var(--r24-red); }
.r24-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 22px; }
.r24-actions button, .r24-actions a { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--r24-rule); background: #fff; padding: 7px 12px; border-radius: 20px; font: 500 13.5px var(--r24-sans); cursor: pointer; color: var(--r24-ink); text-decoration: none; }
.r24-actions button:hover, .r24-actions a:hover { border-color: var(--r24-ink); }
.r24-actions .liked { color: var(--r24-red); border-color: var(--r24-red); }
.r24-share-wa { color: #128c7e !important; }
.r24-readalso { border-top: 3px solid var(--r24-ink); padding-top: 10px; margin: 30px 0; }
.r24-readalso h2 { font: 700 18px var(--r24-serif); margin: 0 0 6px; }
.r24-inline-read { margin: 1.4em 0; padding: 10px 0 10px 14px; border-left: 3px solid var(--r24-blue); font: 600 16px/1.35 var(--r24-sans) !important; }
.r24-inline-read span { color: var(--r24-blue); text-transform: uppercase; font-size: 12px; letter-spacing: .05em; display: block; }

/* Intégrations */
.embed { margin: 1.6em 0; display: flex; justify-content: center; }
.embed-social > * { max-width: 550px; width: 100%; margin: 0 auto !important; }
.embed-yt { position: relative; aspect-ratio: 16/9; width: 100%; background: #000; cursor: pointer; overflow: hidden; }
.embed-yt.embed-yt-short { aspect-ratio: 9/16; max-width: 340px; margin-left: auto; margin-right: auto; }
.embed-yt img, .embed-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.embed-play { position: absolute; inset: 0; margin: auto; width: 68px; height: 48px; border: 0; border-radius: 12px; background: rgba(229,51,42,.95); cursor: pointer; }
.embed-play::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.embed-audio { display: block; }
.embed-telegram { min-height: 120px; }

/* Commentaires */
.r24-comments { margin: 30px 0; }
.r24-comments h2 { font: 700 20px var(--r24-serif); }
.r24-comment { padding: 12px 0; border-bottom: 1px solid var(--r24-rule); }
.r24-comment b { font-size: 14px; }
.r24-comment time { font-size: 12px; color: var(--r24-muted); margin-left: 6px; }
.r24-comment p { margin: 4px 0 0; font-size: 15px; }
.r24-comment-form textarea { width: 100%; min-height: 90px; border: 1px solid var(--r24-rule); border-radius: 4px; padding: 10px; font: 15px var(--r24-sans); resize: vertical; }
.r24-comment-form button, .r24-btn { margin-top: 8px; background: var(--r24-ink); color: #fff; border: 0; padding: 10px 18px; border-radius: 3px; font: 600 14px var(--r24-sans); cursor: pointer; display: inline-block; text-decoration: none; }
.r24-btn-red { background: var(--r24-red); }

/* ---------- Newsletter ---------- */
.r24-nl-box { background: var(--r24-bg-2); border-top: 3px solid var(--r24-red); padding: 26px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; align-items: center; margin: 36px 0; }
.r24-nl-box h2 { font: 700 24px/1.2 var(--r24-serif); margin: 0 0 8px; }
.r24-nl-text p { margin: 0; }
.r24-nl-form { display: flex; flex-wrap: wrap; gap: 8px; }
.r24-nl-form input[type=email] { flex: 1 1 220px; padding: 12px; border: 1px solid #cfccc5; border-radius: 3px; font-size: 15px; background: #fff; }
.r24-nl-form button { background: var(--r24-red); color: #fff; border: 0; padding: 12px 18px; border-radius: 3px; font-weight: 700; cursor: pointer; font-size: 15px; }
.r24-nl-form button:disabled { opacity: .6; }
.r24-nl-legal { flex-basis: 100%; font-size: 12px !important; margin: 2px 0 0 !important; color: var(--r24-muted) !important; }
.r24-nl-legal a { text-decoration: underline; }
.r24-nl-msg { flex-basis: 100%; margin: 0 !important; font-weight: 600; font-size: 14px !important; }
.r24-nl-msg.ok { color: #137333 !important; }
.r24-nl-msg.err { color: #b3261e !important; }
.r24-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.r24-aside .r24-nl-box { grid-template-columns: 1fr; padding: 18px; }
.r24-aside .r24-nl-box h2 { font-size: 19px; }
@media (max-width: 760px) { .r24-nl-box { grid-template-columns: 1fr; padding: 20px; } }

/* ---------- Pied de page ---------- */
.r24-footer { background: #111114; color: #c9c9d1; margin-top: 50px; padding: 30px 0 20px; font-size: 14px; }
.r24-footer a { color: #c9c9d1; text-decoration: none; }
.r24-footer a:hover { color: #fff; text-decoration: underline; }
.r24-footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid #2a2a31; }
.r24-footer-logo img { height: 44px; width: auto; background: #fff; padding: 4px 8px; border-radius: 4px; }
.r24-social { display: flex; gap: 8px; flex-wrap: wrap; }
.r24-social a { width: 38px; height: 38px; border-radius: 50%; background: #23232a; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.r24-social a:hover { background: var(--r24-red); color: #fff; text-decoration: none; }
.r24-footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 24px 0; }
.r24-footer h3 { color: #fff; font: 700 13px var(--r24-sans); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 10px; }
.r24-footer ul { list-style: none; padding: 0; margin: 0; }
.r24-footer li { margin: 7px 0; }
.r24-footer-bottom { border-top: 1px solid #2a2a31; padding-top: 16px; font-size: 12.5px; color: #8b8b96; text-align: center; }
@media (max-width: 760px) { .r24-footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Pages rubrique / pagination ---------- */
.r24-page-head { padding: 22px 0 14px; border-bottom: 1px solid var(--r24-rule); margin-bottom: 20px; }
.r24-page-head h1 { font: 700 clamp(30px, 4vw, 44px)/1.1 var(--r24-serif); margin: 0; }
.r24-page-head p { margin: 6px 0 0; }
.r24-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 4px; }
.r24-chips a { padding: 6px 13px; border: 1px solid var(--r24-rule); border-radius: 20px; font-size: 13.5px; font-weight: 500; color: var(--r24-ink-2); text-decoration: none; background: #fff; }
.r24-chips a.on, .r24-chips a:hover { background: var(--r24-ink); color: #fff; border-color: var(--r24-ink); }
.r24-pager { display: flex; justify-content: center; gap: 6px; margin: 30px 0; flex-wrap: wrap; }
.r24-pager a, .r24-pager span { min-width: 38px; padding: 8px 12px; border: 1px solid var(--r24-rule); text-align: center; font-size: 14px; border-radius: 3px; text-decoration: none; color: var(--r24-ink); }
.r24-pager .on { background: var(--r24-ink); color: #fff; border-color: var(--r24-ink); }
.r24-empty { padding: 40px 0; text-align: center; color: var(--r24-muted); }

/* ---------- Sport ---------- */
.r24-scores { border: 1px solid var(--r24-rule); }
.r24-scores-tabs { display: flex; border-bottom: 1px solid var(--r24-rule); }
.r24-scores-tabs button { flex: 1; background: #fff; border: 0; padding: 10px; font: 600 14px var(--r24-sans); cursor: pointer; border-bottom: 3px solid transparent; color: var(--r24-muted); }
.r24-scores-tabs button.on { color: var(--r24-ink); border-bottom-color: var(--r24-red); }
.r24-scores-panel { max-height: 560px; overflow-y: auto; }
.r24-league { background: var(--r24-bg-2); padding: 7px 12px; font: 700 12.5px var(--r24-sans); display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .03em; }
.r24-league img { width: 18px; height: 18px; object-fit: contain; }
.r24-match { display: grid; grid-template-columns: 52px 1fr 54px 1fr; gap: 6px; align-items: center; padding: 9px 12px; border-bottom: 1px solid #f0f0f2; font-size: 14px; }
.r24-match .t-home { text-align: right; }
.r24-match .team { display: flex; align-items: center; gap: 6px; min-width: 0; }
.r24-match .t-home { justify-content: flex-end; }
.r24-match .team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r24-match .team img { width: 20px; height: 20px; object-fit: contain; flex: none; }
.r24-match .score { text-align: center; font-weight: 700; background: #f1f1f3; border-radius: 3px; padding: 3px 0; }
.r24-match .st { font-size: 12px; color: var(--r24-muted); }
.r24-match .st.live { color: var(--r24-red); font-weight: 700; }
.r24-scores-note { font-size: 12px; color: var(--r24-muted); padding: 8px 12px; }

/* ---------- Musique ---------- */
.r24-music-hero { background: linear-gradient(135deg, #1a1033, #3b0d2e 60%, #e5332a); color: #fff; padding: 30px 0; margin-bottom: 20px; }
.r24-music-hero h1 { color: #fff; font: 700 clamp(30px, 4vw, 46px)/1.1 var(--r24-serif); margin: 0; }
.r24-music-hero p { color: #e7defa !important; margin: 6px 0 0; }
.r24-music-hero .r24-chips a { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.r24-music-hero .r24-chips a.on, .r24-music-hero .r24-chips a:hover { background: #fff; color: #1a1033; }

/* ---------- Divers ---------- */
.r24-breadcrumb { font-size: 13px; color: var(--r24-muted); margin-top: 18px; }
.r24-breadcrumb a { color: var(--r24-red); font-weight: 600; text-decoration: none; }
.r24-flash { padding: 12px 16px; border-radius: 4px; margin: 12px 0; font-weight: 500; }
.r24-flash.ok { background: #e6f4ea; color: #137333; }
.r24-flash.err { background: #fce8e6; color: #b3261e; }
.r24-center-box { max-width: 560px; margin: 50px auto; text-align: center; padding: 0 16px; }
.r24-center-box h1 { font: 700 30px var(--r24-serif); }

/* Thème sombre (préférence enregistrée) */
[data-theme="dark"] body.r24, body.r24[data-theme="dark"] { --r24-ink: #f1f1f3; --r24-ink-2: #d0d0d6; --r24-muted: #9a9aa5; --r24-rule: #2e2e35; --r24-bg: #131316; --r24-bg-2: #1c1c21; background: var(--r24-bg); }
body.r24[data-theme="dark"] .r24-topbar, body.r24[data-theme="dark"] .r24-masthead, body.r24[data-theme="dark"] .r24-nav, body.r24[data-theme="dark"] .r24-drawer, body.r24[data-theme="dark"] .r24-bottomnav { background: var(--r24-bg); }
body.r24[data-theme="dark"] .r24-body, body.r24[data-theme="dark"] .r24-body p { color: #e4e4e8 !important; }
