/* Roue Live — MyToolsSuite. Feuille autonome (sans Tailwind), pensée d'abord pour le mobile. */
:root {
    --bg: #0b0820; --bg2: #120d2b; --card: #17112f; --card2: #1f1840; --line: rgba(255, 255, 255, .08);
    --ink: #f5f3ff; --mute: #a5a0c8; --dim: #6f6a96; --acc: #8b5cf6; --acc2: #ec4899; --ok: #10b981; --gold: #f59e0b; --bad: #f43f5e;
    --r: 18px; --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body.rw-body { margin: 0; background: radial-gradient(1200px 600px at 50% -200px, #2a1a5e 0%, var(--bg) 60%) fixed, var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.5; min-height: 100vh; overflow-x: hidden; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: #c4b5fd; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
aside.sidebar { display: none !important; }
header.sticky { position: relative !important; }
.mts-cluster-subnav { position: relative !important; top: auto !important; }

/* ---------- En-tête ---------- */
.rw-header { background: rgba(11, 8, 32, .85); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); z-index: 50; }
.rw-header-in { max-width: 1240px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rw-logo { font-weight: 900; letter-spacing: -.02em; font-size: 20px; color: #fff; text-decoration: none; }
.rw-logo span { color: var(--acc); }
.rw-header .mts-brand-word { color: #fff !important; }
.rw-head-r { display: flex; align-items: center; gap: 10px; }
.rw-login { background: #fff; color: #0b0820; border: 0; border-radius: 12px; padding: 9px 14px; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
#userProfile { display: flex; align-items: center; gap: 10px; }
#userProfile.hidden { display: none !important; }
#userName { font-size: 11px; font-weight: 800; margin: 0; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#userStatus { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--mute); margin: 0; }
.rw-icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); display: inline-flex; align-items: center; justify-content: center; color: var(--mute); }
.rw-icon-btn:hover { color: #fff; }

/* ---------- Mise en page ---------- */
.rw-main { max-width: 1240px; margin: 0 auto; padding: 10px 14px 40px; }
.rw-hero { text-align: center; margin: 6px auto 4px; max-width: 760px; }
.rw-hero h1 { font-size: clamp(22px, 6vw, 38px); line-height: 1.1; margin: 0; font-weight: 900; letter-spacing: -.02em; }
.rw-hero h1 em { font-style: normal; background: linear-gradient(90deg, #a78bfa, #f472b6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rw-hero p { margin: 6px 0 0; color: var(--mute); font-size: 14px; }
.rw-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-top: 8px; font-size: 11px; color: var(--mute); font-weight: 700; }
.rw-trust i { color: var(--ok); margin-right: 4px; }
.rw-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 12px; }
@media (min-width: 980px) {
    .rw-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; }
    .rw-stage { position: sticky; top: 12px; }
}

/* ---------- Roue ---------- */
.rw-stage { display: flex; flex-direction: column; align-items: center; }
.rw-wheel-wrap { position: relative; width: min(94vw, 560px, calc(100vh - 190px)); min-width: 260px; aspect-ratio: 1; margin: 18px auto 0; touch-action: none; user-select: none; -webkit-user-select: none; }
.rw-wheel-wrap::before { content: ''; position: absolute; inset: -4%; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, .35), transparent 68%); filter: blur(10px); z-index: 0; transition: opacity .4s; }
.rw-wheel-wrap.is-spinning::before { opacity: 1; animation: rwGlow 1.2s ease-in-out infinite alternate; }
@keyframes rwGlow { from { opacity: .5; } to { opacity: 1; } }
#wheel { position: relative; z-index: 1; width: 100%; height: 100%; display: block; border-radius: 50%; box-shadow: 0 20px 60px rgba(0, 0, 0, .55), 0 0 0 4px rgba(255, 255, 255, .06); cursor: grab; }
#wheel:active { cursor: grabbing; }
.rw-pointer { position: absolute; z-index: 3; left: 50%; top: -14px; width: 44px; height: 54px; margin-left: -22px; transform-origin: 50% 14px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); pointer-events: none; }
.rw-pointer.flap { animation: rwFlap .12s ease-out; }
@keyframes rwFlap { 0% { transform: rotate(0); } 40% { transform: rotate(-16deg); } 100% { transform: rotate(0); } }
.rw-hub { position: absolute; z-index: 2; left: 50%; top: 50%; width: 24%; height: 24%; transform: translate(-50%, -50%); border-radius: 50%; border: 5px solid #0f0a24; background: radial-gradient(circle at 35% 30%, #fff, #ede9fe 60%, #c4b5fd); color: #5b21b6; font-weight: 900; font-size: clamp(12px, 3.6vw, 19px); letter-spacing: .02em; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); transition: transform .15s; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; padding: 0; }
.rw-hub small { font-size: .5em; opacity: .6; margin-bottom: 3px; letter-spacing: .2em; }
.rw-hub:hover { transform: translate(-50%, -50%) scale(1.06); }
.rw-hub:active { transform: translate(-50%, -50%) scale(.94); }
.rw-hub[disabled] { cursor: default; }
.rw-hub.has-logo { background: transparent; border-color: transparent; box-shadow: none; color: transparent; }
.rw-hint { font-size: 12px; color: var(--dim); margin: 12px 0 0; text-align: center; font-weight: 600; }
.rw-stagebar { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; justify-content: center; }
.rw-chipbtn { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 13px; font-size: 12px; font-weight: 800; color: var(--mute); }
.rw-chipbtn:hover, .rw-chipbtn.on { color: #fff; border-color: rgba(139, 92, 246, .5); }
.rw-chipbtn.on i { color: var(--acc); }
.rw-lastwin { margin-top: 10px; font-size: 13px; color: var(--mute); min-height: 20px; text-align: center; }
.rw-lastwin b { color: #fff; }

/* Bandeau session live */
.rw-livebar { margin-top: 12px; display: flex; align-items: center; gap: 12px; background: linear-gradient(90deg, rgba(16, 185, 129, .14), rgba(139, 92, 246, .14)); border: 1px solid rgba(16, 185, 129, .35); border-radius: 16px; padding: 10px 14px; width: min(94vw, 560px); }
.rw-livebar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(16, 185, 129, .7); animation: rwPulse 1.6s infinite; flex: none; }
@keyframes rwPulse { 70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
.rw-livebar .txt { flex: 1; min-width: 0; font-size: 12px; color: var(--mute); }
.rw-livebar .txt b { color: #fff; font-size: 15px; letter-spacing: .12em; }
.rw-livebar button { border: 0; background: rgba(255, 255, 255, .1); border-radius: 10px; padding: 7px 10px; font-size: 11px; font-weight: 800; }

/* ---------- Panneau ---------- */
.rw-panel { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rw-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.rw-card h2, .rw-card h3 { margin: 0; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; color: #ddd6fe; }
.rw-card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.rw-tools { display: flex; gap: 6px; }
.rw-tool { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--card2); color: var(--mute); font-size: 13px; }
.rw-tool:hover { color: #fff; }

.rw-modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 6px; }
.rw-mode { border: 0; background: transparent; border-radius: 12px; padding: 9px 4px; font-size: 11px; font-weight: 800; color: var(--mute); display: flex; flex-direction: column; align-items: center; gap: 4px; line-height: 1.15; }
.rw-mode i { font-size: 16px; }
.rw-mode.on { background: linear-gradient(135deg, var(--acc), #6d28d9); color: #fff; box-shadow: 0 6px 18px rgba(139, 92, 246, .35); }
.rw-modeopts { font-size: 13px; color: var(--mute); }
.rw-modeopts:empty { display: none; }
.rw-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; }
.rw-row label { font-weight: 700; color: var(--ink); font-size: 13px; }
.rw-step { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card2); }
.rw-step button { width: 38px; height: 36px; border: 0; background: transparent; font-size: 16px; font-weight: 900; color: #ddd6fe; }
.rw-step output { min-width: 34px; text-align: center; font-weight: 900; }
.rw-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.rw-seg button { border: 0; background: var(--card2); padding: 8px 10px; font-size: 12px; font-weight: 800; color: var(--mute); }
.rw-seg button.on { background: var(--acc); color: #fff; }
.rw-switch { position: relative; width: 44px; height: 26px; flex: none; }
.rw-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.rw-switch span { position: absolute; inset: 0; border-radius: 99px; background: #2d2654; transition: .2s; }
.rw-switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: .2s; }
.rw-switch input:checked + span { background: var(--ok); }
.rw-switch input:checked + span::after { transform: translateX(18px); }
.rw-switch input:focus-visible + span { outline: 2px solid #c4b5fd; outline-offset: 2px; }

#items { width: 100%; min-height: 150px; max-height: 42vh; resize: vertical; border-radius: 14px; border: 1px solid #2d2654; background: #0e0a22; padding: 12px 14px; font-size: 15px; line-height: 1.55; color: var(--ink); outline: none; }
#items:focus { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(139, 92, 246, .2); }
.rw-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; color: var(--dim); margin-top: 6px; font-weight: 600; }
.rw-presets { display: flex; gap: 6px; overflow-x: auto; margin-top: 10px; padding-bottom: 2px; scrollbar-width: none; }
.rw-presets::-webkit-scrollbar { display: none; }
.rw-preset { flex: none; border: 1px solid var(--line); background: var(--card2); border-radius: 999px; padding: 7px 11px; font-size: 12px; font-weight: 700; color: var(--mute); white-space: nowrap; }
.rw-preset:hover { color: #fff; }
.rw-out { margin-top: 10px; font-size: 12px; color: var(--mute); }
.rw-out .tag { display: inline-block; margin: 3px 4px 0 0; padding: 3px 8px; border-radius: 8px; background: rgba(244, 63, 94, .12); color: #fda4af; text-decoration: line-through; font-weight: 700; }
.rw-out button { border: 0; background: none; color: #c4b5fd; font-weight: 800; font-size: 12px; text-decoration: underline; padding: 0; margin-left: 6px; }
.rw-people { display: flex; flex-wrap: wrap; gap: 6px; max-height: 160px; overflow: auto; }
.rw-person { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 10px; border-radius: 10px; background: var(--card2); font-size: 12px; font-weight: 700; animation: rwIn .35s ease-out; }
.rw-person i.src { font-size: 10px; color: var(--dim); }
.rw-person button { border: 0; background: transparent; color: var(--dim); width: 20px; height: 20px; border-radius: 6px; }
.rw-person button:hover { color: var(--bad); }
@keyframes rwIn { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

.rw-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rw-action { position: relative; text-align: left; border: 1px solid var(--line); background: var(--card); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 3px; min-height: 84px; transition: border-color .2s, transform .1s; }
.rw-action:hover { border-color: rgba(139, 92, 246, .5); }
.rw-action:active { transform: scale(.98); }
.rw-action i.ic { font-size: 18px; margin-bottom: 4px; }
.rw-action b { font-size: 13px; }
.rw-action span { font-size: 11px; color: var(--mute); line-height: 1.3; }
.rw-action .badge { position: absolute; top: 9px; right: 9px; font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; padding: 3px 6px; border-radius: 6px; background: rgba(245, 158, 11, .15); color: #fcd34d; }
.rw-action .badge.new { background: rgba(16, 185, 129, .15); color: #6ee7b7; }
.rw-action.on { border-color: rgba(16, 185, 129, .6); background: linear-gradient(135deg, rgba(16, 185, 129, .12), var(--card)); }
.rw-action.on .badge { background: var(--ok); color: #04261b; }
.c-live { color: #34d399; } .c-cert { color: #60a5fa; } .c-tw { color: #a78bfa; } .c-obs { color: #f472b6; } .c-share { color: #fbbf24; } .c-list { color: #22d3ee; }

.rw-history { display: flex; flex-direction: column; gap: 6px; max-height: 220px; overflow: auto; }
.rw-history:empty::before { content: 'Les résultats de tes tirages apparaîtront ici.'; color: var(--dim); font-size: 12px; }
.rw-hitem { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 7px 10px; border-radius: 10px; background: var(--card2); }
.rw-hitem b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rw-hitem span { color: var(--dim); font-size: 11px; flex: none; }
.rw-hitem a { font-size: 11px; flex: none; }

details.rw-card > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; color: #ddd6fe; }
details.rw-card > summary::-webkit-details-marker { display: none; }
details.rw-card > summary::after { content: '+'; font-size: 18px; color: var(--mute); }
details.rw-card[open] > summary::after { content: '–'; }
details.rw-card[open] > summary { margin-bottom: 8px; }
.rw-themes { display: flex; gap: 8px; flex-wrap: wrap; }
.rw-theme { width: 40px; height: 40px; border-radius: 12px; border: 2px solid transparent; position: relative; }
.rw-theme.on { border-color: #fff; }
.rw-theme .lock { position: absolute; right: -4px; top: -4px; font-size: 9px; background: var(--gold); color: #1c1100; border-radius: 6px; padding: 1px 3px; }
input[type=range] { width: 160px; accent-color: var(--acc); }

/* ---------- Résultat ---------- */
.rw-modal { position: fixed; inset: 0; z-index: 8000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(5, 3, 15, .72); backdrop-filter: blur(6px); animation: rwFade .2s; }
@keyframes rwFade { from { opacity: 0; } }
.rw-result { width: min(520px, 100%); background: linear-gradient(160deg, #241a52, #120d2b 70%); border: 1px solid rgba(167, 139, 250, .35); border-radius: 28px; padding: 26px 20px 20px; text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: rwPop .45s cubic-bezier(.2, 1.4, .4, 1); max-height: 92vh; overflow: auto; }
@keyframes rwPop { from { transform: scale(.7) translateY(30px); opacity: 0; } }
.rw-result .kicker { font-size: 11px; font-weight: 900; letter-spacing: .3em; text-transform: uppercase; color: #c4b5fd; }
.rw-result .name { font-size: clamp(30px, 9vw, 54px); font-weight: 900; line-height: 1.05; margin: 10px 0 6px; word-break: break-word; background: linear-gradient(90deg, #fff, #f5d0fe); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rw-result .sub { color: var(--mute); font-size: 13px; }
.rw-result ol { text-align: left; margin: 14px auto 0; padding: 0; list-style: none; max-width: 380px; counter-reset: w; }
.rw-result ol li { counter-increment: w; display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); margin-bottom: 6px; font-weight: 800; animation: rwIn .4s both; }
.rw-result ol li::before { content: counter(w); width: 24px; height: 24px; border-radius: 8px; background: var(--acc); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex: none; }
.rw-result ol.res li::before { background: #475569; }
.rw-result h4 { margin: 14px 0 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .2em; color: var(--mute); }
.rw-teams { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-top: 14px; text-align: left; }
.rw-team { border-radius: 14px; padding: 10px; background: rgba(255, 255, 255, .06); animation: rwIn .4s both; }
.rw-team b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }
.rw-team div { font-size: 13px; font-weight: 700; }
.rw-proof { margin-top: 14px; display: flex; align-items: center; gap: 10px; text-align: left; background: rgba(59, 130, 246, .1); border: 1px solid rgba(96, 165, 250, .3); border-radius: 14px; padding: 10px 12px; font-size: 12px; color: #bfdbfe; }
.rw-proof i { font-size: 18px; color: #60a5fa; }
.rw-proof a { color: #fff; font-weight: 800; word-break: break-all; }
.rw-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.rw-btn { border: 1px solid var(--line); background: var(--card2); border-radius: 14px; padding: 11px 14px; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; gap: 7px; }
.rw-btn.primary { background: linear-gradient(135deg, var(--acc), #6d28d9); border-color: transparent; color: #fff; box-shadow: 0 8px 22px rgba(139, 92, 246, .35); }
.rw-btn.ok { background: var(--ok); border-color: transparent; color: #04261b; }
.rw-btn.wide { width: 100%; justify-content: center; }
.rw-btn:disabled { opacity: .5; cursor: default; }

/* ---------- Panneau du bas (sheet) ---------- */
.rw-sheet-bg { position: fixed; inset: 0; z-index: 7000; background: rgba(5, 3, 15, .6); display: flex; align-items: flex-end; justify-content: center; animation: rwFade .2s; }
.rw-sheet { width: min(560px, 100%); max-height: 90vh; overflow: auto; background: var(--bg2); border: 1px solid var(--line); border-bottom: 0; border-radius: 24px 24px 0 0; padding: 18px 16px calc(20px + env(safe-area-inset-bottom)); animation: rwUp .28s cubic-bezier(.2, .9, .3, 1); }
@media (min-width: 640px) { .rw-sheet-bg { align-items: center; } .rw-sheet { border-radius: 24px; border-bottom: 1px solid var(--line); } }
@keyframes rwUp { from { transform: translateY(40px); opacity: 0; } }
.rw-sheet h3 { margin: 0 0 4px; font-size: 18px; font-weight: 900; }
.rw-sheet p.lead { margin: 0 0 14px; color: var(--mute); font-size: 13px; }
.rw-sheet .close { float: right; }
.rw-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
.rw-field label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--mute); }
.rw-input { width: 100%; border-radius: 12px; border: 1px solid #2d2654; background: #0e0a22; padding: 11px 12px; font-size: 15px; outline: none; }
.rw-input:focus { border-color: var(--acc); }
.rw-copy { display: flex; gap: 6px; }
.rw-copy input { flex: 1; min-width: 0; font-size: 12px; }
.rw-qrbox { display: flex; gap: 14px; align-items: center; background: #fff; color: #0b0820; border-radius: 18px; padding: 12px; margin-bottom: 12px; }
.rw-qrbox .qr { flex: none; width: 132px; height: 132px; }
.rw-qrbox .qr img, .rw-qrbox .qr canvas { width: 100% !important; height: 100% !important; }
.rw-qrbox .code { font-size: 30px; font-weight: 900; letter-spacing: .14em; }
.rw-qrbox small { display: block; font-size: 11px; color: #4b4673; font-weight: 700; }
.rw-note { font-size: 12px; color: var(--mute); background: var(--card); border-radius: 12px; padding: 10px 12px; margin: 10px 0; }
.rw-note i { color: var(--gold); margin-right: 5px; }
.rw-list-item { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.rw-list-item b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.rw-list-item span { color: var(--dim); font-size: 11px; }

/* ---------- Toast ---------- */
#toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(20px); background: #fff; color: #1e1b4b; font-weight: 800; font-size: 13px; padding: 11px 16px; border-radius: 14px; box-shadow: 0 12px 32px rgba(0, 0, 0, .4); opacity: 0; pointer-events: none; transition: .25s; z-index: 9500; max-width: 92vw; text-align: center; }
#toast.on { opacity: 1; transform: translateX(-50%); }

/* ---------- Mode focus (plein écran) ---------- */
body.rw-focus .rw-header, body.rw-focus .mts-cluster-subnav, body.rw-focus .rw-hero, body.rw-focus .rw-panel, body.rw-focus .rw-content, body.rw-focus .rw-footer, body.rw-focus .mts-back-to-top { display: none !important; }
body.rw-focus .rw-layout { grid-template-columns: 1fr; }
body.rw-focus .rw-wheel-wrap { width: min(92vw, calc(100vh - 150px)); }
body.rw-focus .rw-stage { position: static; }

/* ---------- Contenu SEO ---------- */
.rw-content { max-width: 860px; margin: 48px auto 0; color: #d4d0ee; font-size: 15px; }
.rw-content h2 { font-size: clamp(20px, 4.6vw, 26px); color: #fff; margin: 34px 0 10px; line-height: 1.2; }
.rw-content h3 { font-size: 17px; color: #fff; margin: 20px 0 6px; }
.rw-content p, .rw-content li { line-height: 1.7; }
.rw-content ol, .rw-content ul { padding-left: 20px; }
.rw-content table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0; }
.rw-content th, .rw-content td { border-bottom: 1px solid var(--line); padding: 9px 8px; text-align: left; vertical-align: top; }
.rw-content th { color: #fff; }
.rw-content details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 8px 0; }
.rw-content summary { font-weight: 800; color: #fff; cursor: pointer; }
.rw-content .rw-links { display: flex; flex-wrap: wrap; gap: 8px; }
.rw-content .rw-links a { text-decoration: none; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 12px; font-size: 13px; font-weight: 700; }
.rw-footer { text-align: center; color: var(--dim); font-size: 12px; padding: 30px 14px 40px; }
.rw-footer a { color: var(--mute); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
