/* v14.7.2 — compositions véritables et différenciées, tableaux de bord uniquement.
   Aucun chiffre fictif affiché en production ; les données restent celles du serveur. */
body[data-design-theme]:not([data-design-theme="original"]) .studio-theme-feature{position:relative;isolation:isolate;overflow:hidden;min-height:220px;border:1px solid var(--design-outline);border-radius:17px;margin-bottom:20px;padding:30px 36px;display:flex;align-items:center;justify-content:space-between;gap:16px}
body[data-design-theme]:not([data-design-theme="original"]) .studio-theme-feature h1{font-size:clamp(1.7rem,3.1vw,3.3rem);letter-spacing:-.045em;line-height:1.05;margin:12px 0 13px;font-weight:950}
body[data-design-theme]:not([data-design-theme="original"]) .studio-theme-feature h1 em{font-style:normal}
body[data-design-theme]:not([data-design-theme="original"]) .studio-theme-feature p{margin:0;max-width:470px;line-height:1.55;font-size:.86rem}
body[data-design-theme]:not([data-design-theme="original"]) .studio-feature-tag{font-size:.7rem;font-weight:900;letter-spacing:.19em;text-transform:uppercase}
body[data-design-theme]:not([data-design-theme="original"]) .studio-feature-copy{position:relative;z-index:2;min-width:0}
body[data-design-theme]:not([data-design-theme="original"]) .studio-feature-pills{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}
body[data-design-theme]:not([data-design-theme="original"]) .studio-feature-pills span{font-weight:800;font-size:.7rem;letter-spacing:.06em;display:flex;gap:7px;align-items:center;border-radius:8px;padding:8px 11px}
body[data-design-theme]:not([data-design-theme="original"]) .studio-feature-pills svg{width:17px;height:17px}
/* GAMING — compétition immersive, salon en priorité et cyan + magenta distincts. */
body[data-design-theme="gaming"]{--design-shadow:0 7px 24px rgba(0,0,0,.35)}
body[data-design-theme="gaming"] .studio-home{background:radial-gradient(ellipse 75% 25% at 85% 0%,rgba(88,20,160,.12),transparent 75%)}
body[data-design-theme="gaming"] .studio-feature-gaming{min-height:285px;background:radial-gradient(circle at 76% 40%,rgba(121,21,206,.39),transparent 32%),radial-gradient(ellipse at 36% 90%,rgba(0,208,239,.17),transparent 60%),linear-gradient(112deg,#061b33 0%,#100b31 100%);border:1px solid #335ba5;box-shadow:inset 0 0 30px rgba(1,197,240,.12),0 7px 30px #0005}
body[data-design-theme="gaming"] .studio-feature-gaming::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(100deg,transparent 0 64px,rgba(8,174,255,.045) 65px 66px);pointer-events:none}
body[data-design-theme="gaming"] .studio-feature-tag{color:#41e7ff}
body[data-design-theme="gaming"] .studio-feature-gaming h1{color:white;text-shadow:0 3px 10px #0008}
body[data-design-theme="gaming"] .studio-feature-gaming h1 em{color:#ee6aff;text-shadow:0 0 18px #c525ff55}
body[data-design-theme="gaming"] .studio-feature-gaming p{color:#b6cced}
body[data-design-theme="gaming"] .studio-feature-pills span{border:1px solid #2d5486;background:#12294c;color:#86dcff}
body[data-design-theme="gaming"] .studio-feature-visual{flex:1 1 37%;max-width:500px;min-width:260px;align-self:stretch;display:flex;align-items:center;justify-content:center;pointer-events:none}
body[data-design-theme="gaming"] .studio-feature-visual img{width:100%;max-width:480px;height:auto;filter:drop-shadow(0 0 24px #7f27eb55)}
body[data-design-theme="gaming"] .studio-welcome{padding:0 2px;margin-bottom:15px}
body[data-design-theme="gaming"] .studio-welcome h1{font-size:1.4rem}
body[data-design-theme="gaming"] .studio-welcome-note{display:none}
body[data-design-theme="gaming"] .studio-home-columns{grid-template-columns:minmax(0,1.85fr) minmax(258px,.78fr);gap:15px}
body[data-design-theme="gaming"] .studio-actions-grid{padding:0;background:transparent;border:0;box-shadow:none;gap:10px}
body[data-design-theme="gaming"] .studio-action{min-height:143px;border:1px solid #165a88!important;border-radius:10px;background:linear-gradient(135deg,#083650,#0c1736)!important;color:#fff;box-shadow:inset 0 1px 12px #00bbec20,0 3px 18px #0007}
body[data-design-theme="gaming"] .studio-action:nth-child(2),body[data-design-theme="gaming"] .studio-action:nth-child(5){background:linear-gradient(125deg,#32114f,#160d39)!important;border-color:#8c3adb!important;box-shadow:inset 0 1px 15px #d03cff22,0 3px 18px #0007}
body[data-design-theme="gaming"] .studio-action:nth-child(3),body[data-design-theme="gaming"] .studio-action:nth-child(6){background:linear-gradient(125deg,#092f50,#0e1a45)!important;border-color:#376be4!important}
body[data-design-theme="gaming"] .studio-action-icon{color:#51eaff!important;background:transparent!important;width:39px;height:37px}
body[data-design-theme="gaming"] .studio-action:nth-child(2) .studio-action-icon,body[data-design-theme="gaming"] .studio-action:nth-child(5) .studio-action-icon{color:#eb7eff!important}
body[data-design-theme="gaming"] .studio-action strong{font-size:.94rem}
body[data-design-theme="gaming"] .studio-action>span:not(.studio-action-icon):not(.studio-arrow){color:#aabddd!important}
body[data-design-theme="gaming"] .studio-arrow{background:#1e3b63!important;color:#63e8ff!important;box-shadow:0 0 10px #04d5ff30}
body[data-design-theme="gaming"] .studio-panel{border-radius:11px;background:linear-gradient(145deg,#0c1a35,#0a152b);box-shadow:0 4px 18px #0004}
body[data-design-theme="gaming"] .studio-room-cards article{position:relative;overflow:hidden;min-height:175px;background:linear-gradient(150deg,#093352 0%,#12152f 78%);border-color:#235a8b}
body[data-design-theme="gaming"] .studio-room-cards article::before{content:"";height:55px;margin:-16px -16px 0;background:radial-gradient(ellipse at 50% 90%,#177bb7aa,transparent 63%),repeating-linear-gradient(135deg,#00dfff08 0 7px,#00dfff25 8px 9px)}
body[data-design-theme="gaming"] .studio-room-cards article:nth-child(2){background:linear-gradient(150deg,#33154b,#12142d 80%);border-color:#673784}
body[data-design-theme="gaming"] .studio-room-cards article:nth-child(2)::before{background:radial-gradient(ellipse at 50% 90%,#9a29ee80,transparent 60%),repeating-linear-gradient(45deg,#af3cf607 0 8px,#b136f630 8px 9px)}
body[data-design-theme="gaming"] .studio-room-cards article:nth-child(3){border-color:#146f87}
body[data-design-theme="gaming"] .studio-room-cards article:nth-child(3)::before{background:radial-gradient(ellipse at 50% 90%,#08d3b080,transparent 60%),repeating-linear-gradient(135deg,#00c9b40a 0 9px,#03acb830 9px 10px)}
body[data-design-theme="gaming"] .studio-room-cards article button.primary{color:#fff;background:#592cac;border-color:#a267fc;box-shadow:0 0 12px #9f4bff55}
body[data-design-theme="gaming"] .studio-panel-heading h2 svg{color:#33e0ff}
/* CYBER — présentation structurée de laboratoire réseau et tables techniques. */
body[data-design-theme="cyber"] .studio-feature-cyber{display:block;min-height:245px;border-radius:5px;background:repeating-linear-gradient(0deg,transparent 0 29px,#00bbd70b 30px 31px),linear-gradient(125deg,#052b40,#04182e);border-color:#187b9c;padding:27px 32px}
body[data-design-theme="cyber"] .studio-cyber-top{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px 20px}
body[data-design-theme="cyber"] .studio-feature-tag{color:#37e1e9}
body[data-design-theme="cyber"] .studio-feature-cyber h1{font-family:ui-monospace,Consolas,monospace;color:#fff;font-size:2rem;margin:0}
body[data-design-theme="cyber"] .studio-feature-cyber h1 em{color:#42e4ee}
body[data-design-theme="cyber"] .studio-feature-cyber p{color:#aed2e2;font-size:.71rem;max-width:570px}
body[data-design-theme="cyber"] .studio-network-schematic{display:flex;align-items:center;justify-content:space-around;gap:0;margin-top:23px}
body[data-design-theme="cyber"] .studio-network-schematic>div{font-family:ui-monospace,monospace;background:#092c45;border:1px solid #0d91b3;border-radius:6px;color:#c3fbff;font-weight:700;font-size:.8rem;padding:12px;min-width:0;white-space:nowrap;text-align:center}
body[data-design-theme="cyber"] .studio-network-schematic .net-icon{font-size:1.2rem;display:block;color:#25e4ef;margin-bottom:4px}
body[data-design-theme="cyber"] .studio-network-schematic>i{height:2px;flex:1;background:linear-gradient(90deg,#0b85bd,#38dddb);min-width:12px;box-shadow:0 0 8px #00cbeb}
body[data-design-theme="cyber"] .network-zones{display:flex;gap:7px;border:none!important;background:transparent!important;padding:0!important;flex-wrap:wrap;justify-content:center}
body[data-design-theme="cyber"] .network-zones span{border:1px solid #207e97;background:#0c3446;border-radius:4px;padding:8px;font-size:.65rem;color:#a7f1ed}
body[data-design-theme="cyber"] .studio-welcome-note{display:none}
body[data-design-theme="cyber"] .studio-welcome h1{font-family:ui-monospace,Consolas,monospace;font-size:1.5rem}
body[data-design-theme="cyber"] .studio-home-columns{grid-template-columns:1fr minmax(250px,.58fr)}
body[data-design-theme="cyber"] .studio-actions-grid{padding:10px;background:#04172a;border-radius:5px;gap:9px}
body[data-design-theme="cyber"] .studio-action{min-height:139px;border-radius:5px;background:#092b42!important;border:1px solid #146485!important;color:#e4faff!important}
body[data-design-theme="cyber"] .studio-action strong{font-family:ui-monospace,monospace;font-size:.88rem}
body[data-design-theme="cyber"] .studio-action-icon{background:#073a52!important;color:#39dfdf!important}
body[data-design-theme="cyber"] .studio-panel,body[data-design-theme="cyber"] .studio-room-cards article,body[data-design-theme="cyber"] .studio-stats>div{border-radius:5px}
body[data-design-theme="cyber"] .studio-panel-heading{text-transform:uppercase;letter-spacing:.025em}
body[data-design-theme="cyber"] .studio-profile-kpis strong{font-family:ui-monospace,monospace}
/* HYBRIDE — présentation premium, bannière éditoriale et cartes raffinées. */
body[data-design-theme="hybride"] .studio-feature-hybride{min-height:255px;background:radial-gradient(ellipse at 81% 42%,#7652f440,transparent 34%),linear-gradient(112deg,#122e67,#1a1741 64%,#30205e);border-color:#62569f;border-radius:24px;padding:38px}
body[data-design-theme="hybride"] .studio-feature-tag{color:#bfcaff}
body[data-design-theme="hybride"] .studio-feature-hybride h1{color:#fff}
body[data-design-theme="hybride"] .studio-feature-hybride h1 em{color:#b991ff}
body[data-design-theme="hybride"] .studio-feature-hybride p{color:#bdccef}
body[data-design-theme="hybride"] .studio-premium-mark{width:160px;height:160px;border-radius:40px;display:grid;place-items:center;flex:none;color:white;font-weight:900;font-size:5.2rem;background:linear-gradient(140deg,#347bff,#782ae7);box-shadow:0 18px 36px #03092090,0 0 0 9px #967aff18;transform:rotate(-9deg);position:relative}
body[data-design-theme="hybride"] .studio-premium-mark span{font-size:1.2rem;position:absolute;top:28px;right:22px;color:#e6ccff}
body[data-design-theme="hybride"] .studio-feature-pills span{background:#465aa655;color:#dce3ff;border:1px solid #7380bf66}
body[data-design-theme="hybride"] .studio-home-columns{grid-template-columns:minmax(0,1.4fr) minmax(280px,.75fr);gap:20px}
body[data-design-theme="hybride"] .studio-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr));border-color:#425480;background:linear-gradient(140deg,#182950,#111d3e);gap:13px}
body[data-design-theme="hybride"] .studio-action{min-height:139px;border-radius:16px!important;background:linear-gradient(125deg,#24396b,#21244e)!important;border:1px solid #49578f!important;color:#f1f4ff!important}
body[data-design-theme="hybride"] .studio-action:nth-child(3n+2){background:linear-gradient(125deg,#32235f,#1d274a)!important}
body[data-design-theme="hybride"] .studio-action-icon{color:#b39bff!important;background:#303d72!important}
body[data-design-theme="hybride"] .studio-panel{border-radius:20px;padding:23px}
body[data-design-theme="hybride"] .studio-welcome-note{background:#1f2d50}
body[data-design-theme="hybride"] .studio-panel-heading{border-color:#394b73}
/* Avertissement d'aperçu et images réellement issues du HTML/CSS. */
body[data-design-theme]:not([data-design-theme="original"]) .design-theme-option img{aspect-ratio:4 / 2.6;object-fit:cover;object-position:top}
body[data-design-theme]:not([data-design-theme="original"]) .design-live-home{overflow:hidden}
body[data-design-theme]:not([data-design-theme="original"]) .design-live-home>h2{margin:0 0 9px}
body[data-design-theme]:not([data-design-theme="original"]) .design-live-home>.studio-home{border-top:1px solid var(--line);padding-top:18px}
@media(max-width:1280px){body[data-design-theme="gaming"] .studio-home-columns,body[data-design-theme="cyber"] .studio-home-columns,body[data-design-theme="hybride"] .studio-home-columns{grid-template-columns:1fr}body[data-design-theme="gaming"] .studio-home-side,body[data-design-theme="cyber"] .studio-home-side,body[data-design-theme="hybride"] .studio-home-side{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-design-theme="gaming"] .studio-focus,body[data-design-theme="cyber"] .studio-focus,body[data-design-theme="hybride"] .studio-focus{grid-column:1/-1}}
@media(max-width:760px){body[data-design-theme]:not([data-design-theme="original"]) .studio-theme-feature{padding:24px 20px;min-height:185px}body[data-design-theme="gaming"] .studio-feature-visual{min-width:150px}body[data-design-theme="gaming"] .studio-feature-visual img{max-width:260px}body[data-design-theme="cyber"] .studio-network-schematic{flex-wrap:wrap;gap:5px}body[data-design-theme="cyber"] .studio-network-schematic>i{max-width:18px}body[data-design-theme="hybride"] .studio-premium-mark{width:90px;height:90px;font-size:2.8rem;border-radius:23px}}
@media(max-width:550px){body[data-design-theme]:not([data-design-theme="original"]) .studio-theme-feature h1{font-size:1.65rem}body[data-design-theme="gaming"] .studio-feature-visual,body[data-design-theme="hybride"] .studio-premium-mark{display:none}body[data-design-theme="cyber"] .studio-network-schematic>i{display:none}body[data-design-theme="cyber"] .studio-network-schematic>div{font-size:.67rem}body[data-design-theme="gaming"] .studio-home-side,body[data-design-theme="cyber"] .studio-home-side,body[data-design-theme="hybride"] .studio-home-side{grid-template-columns:1fr}body[data-design-theme="gaming"] .studio-focus,body[data-design-theme="cyber"] .studio-focus,body[data-design-theme="hybride"] .studio-focus{grid-column:auto}body[data-design-theme="hybride"] .studio-actions-grid{grid-template-columns:1fr}body[data-design-theme="gaming"] .studio-action,body[data-design-theme="cyber"] .studio-action{min-height:120px}}
@media(prefers-reduced-motion:reduce){body[data-design-theme]:not([data-design-theme="original"]) .studio-action{transition:none}}

/* Corrections de contraste et dédoublonnage de l'en-tête spécifique. */
body[data-design-theme="gaming"] .studio-welcome,body[data-design-theme="cyber"] .studio-welcome,body[data-design-theme="hybride"] .studio-welcome{display:none!important}
body[data-design-theme="gaming"] .studio-action strong,body[data-design-theme="cyber"] .studio-action strong,body[data-design-theme="hybride"] .studio-action strong{color:#f6f9ff!important}
body[data-design-theme="gaming"] .studio-action>span:not(.studio-action-icon):not(.studio-arrow),body[data-design-theme="cyber"] .studio-action>span:not(.studio-action-icon):not(.studio-arrow),body[data-design-theme="hybride"] .studio-action>span:not(.studio-action-icon):not(.studio-arrow){color:#bbcee7!important;opacity:1}
body[data-design-theme="cyber"] .studio-cyber-top{display:block}
body[data-design-theme="cyber"] .studio-cyber-top h1{margin:8px 0 7px}
body[data-design-theme="cyber"] .studio-cyber-top p{max-width:none}
body[data-design-theme="cyber"] .studio-network-schematic{margin-top:19px}
body[data-design-theme="hybride"] .studio-home-columns{grid-template-columns:minmax(0,1.4fr) minmax(280px,.75fr)}
@media(min-width:1281px){body[data-design-theme="hybride"] .studio-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* DUEL TSSR v14.8.1 — CSS Gaming consolidé dans la feuille de thème existante.
   Évite le dysfonctionnement si le fichier gaming-148.css séparé n’est pas servi.
   Règles limitées au thème gaming. */
/* DUEL TSSR v14.8.0 — Accueil Gaming néon : composants réels, aucune statistique fictive. */
body[data-design-theme="gaming"] .g148-home { max-width:1600px; margin:0 auto; padding-bottom:26px; --g148-bg:#091630; --g148-bd:#25466e; --g148-cyan:#28e5ff; --g148-purple:#ac67ff; }
body[data-design-theme="gaming"] .g148-home * {box-sizing:border-box;}
body[data-design-theme="gaming"] .g148-home button {cursor:pointer;}
body[data-design-theme="gaming"] .g148-hero {position:relative; display:flex;align-items:center;justify-content:space-between;isolation:isolate;overflow:hidden;min-height:268px;border:1px solid #2f579b;border-radius:13px;padding:26px clamp(25px,3vw,48px);background:radial-gradient(ellipse at 82% 39%,#ad22ef77,transparent 38%),radial-gradient(ellipse at 47% 90%,#0b8ba844,transparent 56%),linear-gradient(115deg,#061126 0%,#101039 72%,#091833 100%);box-shadow:inset 0 1px 0 #3770aa58,0 10px 25px #02071388;}
body[data-design-theme="gaming"] .g148-hero:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:repeating-linear-gradient(110deg,transparent 0 67px,#58dcff09 68px 69px);}
body[data-design-theme="gaming"] .g148-hero-content{position:relative;z-index:2;max-width:610px;}
body[data-design-theme="gaming"] .g148-hero-eyebrow{font-size:.68rem;letter-spacing:.2em;color:#70eaff;font-weight:850!important;margin:0 0 12px!important;}
body[data-design-theme="gaming"] .g148-hero-eyebrow b{color:#ef62ff}
body[data-design-theme="gaming"] .g148-hero h1{font-size:clamp(2.5rem,4.3vw,4.8rem);line-height:1;letter-spacing:-.05em;margin:0;color:white;font-weight:950;text-shadow:0 3px 14px #000b;}
body[data-design-theme="gaming"] .g148-hero h1 em{font-style:normal;background:linear-gradient(93deg,#23e3ff,#b96aff,#f547df);background-clip:text;-webkit-background-clip:text;color:transparent;}
body[data-design-theme="gaming"] .g148-hero-slogan{font-size:clamp(.8rem,1.6vw,1.06rem);font-weight:900;letter-spacing:.15em;color:#a5eaff;margin:12px 0 8px!important;}
body[data-design-theme="gaming"] .g148-hero-sub{font-size:.84rem;line-height:1.6;max-width:455px;color:#b3c6e2!important;margin:0 0 16px!important;}
body[data-design-theme="gaming"] .g148-hero-badges{display:flex;gap:9px;flex-wrap:wrap;}
body[data-design-theme="gaming"] .g148-hero-badges span{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:6px;color:#98dbff;border:1px solid #2766a1;background:#0e2650b0;font-weight:750;font-size:.68rem;letter-spacing:.035em;}
body[data-design-theme="gaming"] .g148-hero-badges svg{width:16px;height:16px;}
body[data-design-theme="gaming"] .g148-hero-arena{position:relative;z-index:1;width:min(42%,480px);height:auto;max-height:265px;object-fit:contain;filter:drop-shadow(0 0 25px #a12ae866);}
body[data-design-theme="gaming"] .g148-shortcuts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin:16px 0 17px;}
body[data-design-theme="gaming"] .g148-shortcut{display:flex;align-items:center;gap:10px;min-width:0;min-height:74px;text-align:left;padding:14px 12px;border:1px solid #0ea8dc;border-radius:10px;background:linear-gradient(130deg,#082e4a,#071e36);color:#f4f9ff;box-shadow:inset 0 0 18px #00b8ff12,0 4px 15px #0006;transition:transform .17s ease,box-shadow .17s ease;}
body[data-design-theme="gaming"] .g148-shortcut:hover,body[data-design-theme="gaming"] .g148-shortcut:focus-visible{transform:translateY(-2px);box-shadow:0 0 16px #06ccf94e;outline-offset:2px;}
body[data-design-theme="gaming"] .g148-sc-create,body[data-design-theme="gaming"] .g148-sc-training{border-color:#9e43e8;background:linear-gradient(135deg,#301449,#170f34);}
body[data-design-theme="gaming"] .g148-sc-join{border-color:#5572ff;background:linear-gradient(135deg,#1a2661,#101837);}
body[data-design-theme="gaming"] .g148-sc-collective{border-color:#f34fc7;background:linear-gradient(135deg,#391334,#260e34);}
body[data-design-theme="gaming"] .g148-shortcut-icon{flex:none;display:grid;place-items:center;color:#38e7ff;}
body[data-design-theme="gaming"] .g148-sc-training .g148-shortcut-icon,body[data-design-theme="gaming"] .g148-sc-create .g148-shortcut-icon{color:#db8bff;}
body[data-design-theme="gaming"] .g148-sc-collective .g148-shortcut-icon{color:#ff7be4;}
body[data-design-theme="gaming"] .g148-shortcut-icon svg{width:27px;height:27px;}
body[data-design-theme="gaming"] .g148-shortcut-label{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0;}
body[data-design-theme="gaming"] .g148-shortcut-label strong{font-size:.85rem;line-height:1.2;color:#fff;white-space:normal;}
body[data-design-theme="gaming"] .g148-shortcut-label small{font-size:.66rem;line-height:1.2;color:#abd0e9;}
body[data-design-theme="gaming"] .g148-chevron{color:#39e6ff;font-size:1.3rem;}
body[data-design-theme="gaming"] .g148-layout{display:grid;grid-template-columns:minmax(0,1fr) 316px;align-items:start;gap:16px;}
body[data-design-theme="gaming"] .g148-primary{display:grid;gap:15px;min-width:0;}
body[data-design-theme="gaming"] .g148-side{display:grid;gap:15px;min-width:0;}
body[data-design-theme="gaming"] .g148-panel{background:linear-gradient(150deg,#0b1c37,#08152c);border:1px solid #25476f;border-radius:12px;padding:16px;min-width:0;box-shadow:0 6px 22px #0004;}
body[data-design-theme="gaming"] .g148-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:32px;margin:0 0 15px;padding-bottom:12px;border-bottom:1px solid #263e5c;}
body[data-design-theme="gaming"] .g148-panel-heading h2{display:flex;align-items:center;gap:8px;font-size:1.03rem;line-height:1.3;letter-spacing:-.015em;color:#f5f7ff;margin:0;}
body[data-design-theme="gaming"] .g148-panel-heading h2 svg{width:20px;height:20px;color:#3adfff;flex:none;}
body[data-design-theme="gaming"] .g148-panel-heading button.g148-link{font-size:.7rem;border:0;background:none;color:#63c8ff;padding:5px;white-space:nowrap;}
body[data-design-theme="gaming"] .g148-panel-heading button.g148-link:hover{text-decoration:underline;color:#b6e9ff;}
body[data-design-theme="gaming"] .g148-count{display:inline-flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:900;color:#072032;background:#30dbf1;border-radius:20px;min-width:22px;height:22px;padding:0 7px;}
body[data-design-theme="gaming"] .g148-filters{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 14px;}
body[data-design-theme="gaming"] .g148-filters button{font-size:.68rem;padding:8px 11px;border:1px solid #263d61;background:#101f3c;color:#adbfdb;border-radius:7px;}
body[data-design-theme="gaming"] .g148-filters button.selected{color:#06243c;background:#2fd6fa;border-color:#55eaff;font-weight:850;}
body[data-design-theme="gaming"] .g148-room-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;}
body[data-design-theme="gaming"] .g148-room{overflow:hidden;border:1px solid #315486;border-radius:11px;background:#101e37;min-width:0;display:flex;flex-direction:column;}
body[data-design-theme="gaming"] .g148-room[hidden]{display:none!important;}
body[data-design-theme="gaming"] .g148-room-art{position:relative;aspect-ratio:2 / 1;background:#06142b var(--room-cover) center / cover no-repeat;border-bottom:1px solid #2d4c72;display:flex;justify-content:space-between;align-items:flex-start;padding:8px;}
body[data-design-theme="gaming"] .g148-room-state,body[data-design-theme="gaming"] .g148-room-count{display:flex;align-items:center;gap:6px;font-size:.63rem;font-weight:780;color:#dceafa;border:1px solid #3a5474;background:#050f20c7;padding:5px 7px;border-radius:7px;}
body[data-design-theme="gaming"] .g148-room-state.is-live{color:#082b2d;background:#30eab2;border-color:#32ffc0;}
body[data-design-theme="gaming"] .g148-room-state.is-waiting{color:#31270a;background:#ffc55e;border-color:#ffd981;}
body[data-design-theme="gaming"] .g148-room-state i{width:6px;height:6px;border-radius:50%;background:currentColor;}
body[data-design-theme="gaming"] .g148-room-count svg{width:14px;height:14px;}
body[data-design-theme="gaming"] .g148-room-info{display:flex;flex-direction:column;gap:9px;padding:12px;flex:1;}
body[data-design-theme="gaming"] .g148-room-info h3{font-size:.83rem;margin:0;color:#f4f7ff;line-height:1.3;min-height:2.2em;overflow-wrap:anywhere;}
body[data-design-theme="gaming"] .g148-tags{display:flex;gap:5px;flex-wrap:wrap;}
body[data-design-theme="gaming"] .g148-tags span{border:1px solid #263f63;background:#172947;color:#afd2ef;border-radius:5px;padding:4px 6px;font-size:.61rem;line-height:1.25;}
body[data-design-theme="gaming"] .g148-tags span:first-child{background:#232553;color:#bab1ff;}
body[data-design-theme="gaming"] .g148-room-foot{display:flex;gap:6px;justify-content:space-between;align-items:center;margin-top:auto;}
body[data-design-theme="gaming"] .g148-room-members{display:flex;align-items:center;min-width:0;padding-left:3px;}
body[data-design-theme="gaming"] .g148-room-members .duel-avatar{width:24px;height:24px;border:2px solid #061832;margin-left:-4px;flex:none;}
body[data-design-theme="gaming"] .g148-room-members .duel-avatar img{width:100%;height:100%;}
body[data-design-theme="gaming"] .g148-members-empty{font-size:.6rem;color:#8aa0c3;line-height:1.2;}
body[data-design-theme="gaming"] .g148-room-foot button{background:linear-gradient(125deg,#7034c0,#4726ab);color:#fff;border:1px solid #a36cff;border-radius:7px;padding:7px 9px;font-size:.67rem;font-weight:850;box-shadow:0 0 10px #ab55ff50;white-space:nowrap;}
body[data-design-theme="gaming"] .g148-room-foot button:hover{background:#7b3ef0;}
body[data-design-theme="gaming"] .g148-room-no-match,body[data-design-theme="gaming"] .g148-empty{color:#a9bddc;font-size:.82rem;line-height:1.6;padding:14px 5px;}
body[data-design-theme="gaming"] .g148-empty h3{margin:0 0 6px;color:#e3eeff;}
body[data-design-theme="gaming"] .g148-current-body{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:13px;}
body[data-design-theme="gaming"] .g148-current-body strong{color:#e9f4ff;font-size:.92rem;}
body[data-design-theme="gaming"] .g148-current-body p{font-size:.75rem;color:#a2c1da;margin:4px 0 0;}
body[data-design-theme="gaming"] .g148-current-body .primary{background:linear-gradient(125deg,#196be9,#7436df);border:1px solid #5b9aff;}
body[data-design-theme="gaming"] .g148-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;}
body[data-design-theme="gaming"] .g148-metrics{display:grid;grid-template-columns:1fr 1fr;gap:9px;}
body[data-design-theme="gaming"] .g148-metrics>div{display:flex;flex-direction:column;gap:6px;padding:15px 12px;border:1px solid #26405b;background:#0a2542;border-radius:9px;}
body[data-design-theme="gaming"] .g148-metrics strong{font-size:1.6rem;line-height:1;color:#35d9f7;}
body[data-design-theme="gaming"] .g148-metrics div:nth-child(2) strong{color:#bc84ff;}
body[data-design-theme="gaming"] .g148-metrics div:nth-child(3) strong{color:#3be2b1;}
body[data-design-theme="gaming"] .g148-metrics div:nth-child(4) strong{color:#ffce6e;}
body[data-design-theme="gaming"] .g148-metrics span{font-size:.69rem;color:#b3c7e0;}
body[data-design-theme="gaming"] .g148-progress{display:grid;gap:12px;}
body[data-design-theme="gaming"] .g148-progress-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 8px;}
body[data-design-theme="gaming"] .g148-progress-row span{min-width:0;color:#c0d0e6;font-size:.72rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body[data-design-theme="gaming"] .g148-progress-row b{color:#3bdef7;font-size:.73rem;}
body[data-design-theme="gaming"] .g148-progress-row i{grid-column:1/-1;height:7px;border-radius:6px;background:linear-gradient(to right,#32dded var(--progress),#1d3858 var(--progress));}
body[data-design-theme="gaming"] .g148-leader-caption{margin:0 0 9px!important;color:#9bb3d0!important;font-size:.7rem;}
body[data-design-theme="gaming"] .g148-leader-list{margin:0;padding:0;list-style:none;display:grid;}
body[data-design-theme="gaming"] .g148-leader-list li{display:flex;align-items:center;gap:9px;padding:7px 5px;border-bottom:1px solid #21395a;}
body[data-design-theme="gaming"] .g148-leader-list li:last-child{border-bottom:0;}
body[data-design-theme="gaming"] .g148-leader-list li.g148-its-me{background:#103153;border-radius:6px;}
body[data-design-theme="gaming"] .g148-rank{width:22px;text-align:center;font-size:.77rem;font-weight:900;color:#b0c6dd;flex:none;}
body[data-design-theme="gaming"] .g148-rank.podium-0{color:#ffd64e;}
body[data-design-theme="gaming"] .g148-rank.podium-1{color:#b5d6f0;}
body[data-design-theme="gaming"] .g148-rank.podium-2{color:#eab383;}
body[data-design-theme="gaming"] .g148-leader-list .duel-avatar{flex:none;width:32px;height:32px;}
body[data-design-theme="gaming"] .g148-leader-list .duel-avatar img{width:100%;height:100%;}
body[data-design-theme="gaming"] .g148-leader-name{display:flex;flex-direction:column;min-width:0;gap:2px;flex:1;}
body[data-design-theme="gaming"] .g148-leader-name strong{font-size:.76rem;color:#eaf3ff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body[data-design-theme="gaming"] .g148-leader-name small{font-size:.64rem;color:#94b0ce;}
body[data-design-theme="gaming"] .g148-leader-points{flex:none;font-size:.77rem;font-weight:850;color:#d5e9ff;}
body[data-design-theme="gaming"] .g148-leader-points small{font-size:.6rem;color:#86dfff;}
body[data-design-theme="gaming"] .g148-data-caption{font-size:.65rem;line-height:1.5;color:#849fbe!important;margin:12px 0 0!important;}
body[data-design-theme="gaming"] .g148-my-rank{display:flex;align-items:center;gap:8px;background:#142b50;border:1px solid #2c5384;border-radius:10px;padding:10px;margin-top:13px;font-size:.75rem;color:#dbebff;}
body[data-design-theme="gaming"] .g148-my-rank .duel-avatar{width:27px;height:27px;}
body[data-design-theme="gaming"] .g148-my-rank b{color:#40e6ff;}
body[data-design-theme="gaming"] .g148-player-main{display:flex;gap:11px;align-items:center;}
body[data-design-theme="gaming"] .g148-player-main .duel-avatar{width:48px;height:48px;}
body[data-design-theme="gaming"] .g148-player-main>span{display:flex;flex-direction:column;gap:4px;}
body[data-design-theme="gaming"] .g148-player-main strong{font-size:.87rem;color:#fff;}
body[data-design-theme="gaming"] .g148-player-main small{font-size:.73rem;color:#abc7e3;}
body[data-design-theme="gaming"] .g148-player-kpi{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:15px;}
body[data-design-theme="gaming"] .g148-player-kpi>span{display:flex;flex-direction:column;gap:5px;background:#0e2848;padding:11px;border-radius:8px;font-size:.67rem;color:#a9c2dc;}
body[data-design-theme="gaming"] .g148-player-kpi strong{font-size:1.2rem;color:#2cdbff;}
body[data-design-theme="gaming"] .g148-history-row{display:flex;align-items:center;gap:9px;padding:11px 0;border-bottom:1px solid #273f5d;}
body[data-design-theme="gaming"] .g148-history-row:last-child{border:0;}
body[data-design-theme="gaming"] .g148-history-row>span:first-child{color:#37cfff;}
body[data-design-theme="gaming"] .g148-history-row>span:nth-child(2){flex:1;display:flex;flex-direction:column;gap:4px;min-width:0;}
body[data-design-theme="gaming"] .g148-history-row b{font-size:.73rem;color:#e8f5ff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body[data-design-theme="gaming"] .g148-history-row small{font-size:.65rem;color:#94aecd;}
body[data-design-theme="gaming"] .g148-history-row>strong{font-size:.75rem;color:#66ebf1;}
body[data-design-theme="gaming"] .g148-room-no-match[hidden]{display:none;}
body[data-design-theme="gaming"] .g148-shortcut:focus-visible,body[data-design-theme="gaming"] .g148-room button:focus-visible,body[data-design-theme="gaming"] .g148-filters button:focus-visible{outline:2px solid #a7efff;outline-offset:3px;}
@media(max-width:1480px){body[data-design-theme="gaming"] .g148-layout{grid-template-columns:minmax(0,1fr) 290px}body[data-design-theme="gaming"] .g148-room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-design-theme="gaming"] .g148-shortcut{padding:11px 9px;gap:7px}body[data-design-theme="gaming"] .g148-shortcut-label strong{font-size:.78rem}}
@media(max-width:1180px){body[data-design-theme="gaming"] .g148-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}body[data-design-theme="gaming"] .g148-layout{grid-template-columns:1fr}body[data-design-theme="gaming"] .g148-side{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-design-theme="gaming"] .g148-leaderboard{grid-row:span 2}body[data-design-theme="gaming"] .g148-room-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:830px){body[data-design-theme="gaming"] .g148-hero-arena{width:35%;}body[data-design-theme="gaming"] .g148-room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-design-theme="gaming"] .g148-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:610px){body[data-design-theme="gaming"] .g148-hero{min-height:220px;padding:22px 19px}body[data-design-theme="gaming"] .g148-hero-arena{display:none}body[data-design-theme="gaming"] .g148-hero h1{font-size:2.6rem}body[data-design-theme="gaming"] .g148-hero-slogan{font-size:.7rem;letter-spacing:.06em}body[data-design-theme="gaming"] .g148-room-grid,body[data-design-theme="gaming"] .g148-side,body[data-design-theme="gaming"] .g148-bottom-grid{grid-template-columns:1fr}body[data-design-theme="gaming"] .g148-leaderboard{grid-row:auto}body[data-design-theme="gaming"] .g148-shortcuts{gap:8px}body[data-design-theme="gaming"] .g148-shortcut{min-height:62px}body[data-design-theme="gaming"] .g148-shortcut-icon svg{width:22px;height:22px}body[data-design-theme="gaming"] .g148-shortcut-label small{display:none}}
@media(prefers-reduced-motion:reduce){body[data-design-theme="gaming"] .g148-shortcut{transition:none}}

body[data-design-theme="gaming"] .g148-room-tools{display:flex;justify-content:flex-end;margin:-6px 0 12px;}
body[data-design-theme="gaming"] .g148-room-search{display:flex;align-items:center;gap:6px;background:#0c2542;border:1px solid #2a507b;border-radius:8px;padding:5px 9px;color:#65dcff;max-width:270px;width:100%;}
body[data-design-theme="gaming"] .g148-room-search svg{height:16px;width:16px;flex:none;}
body[data-design-theme="gaming"] .g148-room-search input{min-width:0;width:100%;background:none;border:0;box-shadow:none;color:#e9f7ff;font-size:.73rem;margin:0;padding:5px;outline:none;}
body[data-design-theme="gaming"] .g148-room-search input::placeholder{color:#8dabce;}
body[data-design-theme="gaming"] .g148-sc-buzzer{border-color:#f34fc7;background:linear-gradient(135deg,#391334,#260e34);}
body[data-design-theme="gaming"] .g148-sc-buzzer .g148-shortcut-icon{color:#ff7be4;}
body[data-design-theme="gaming"] .g148-sc-solo{border-color:#07bea9;background:linear-gradient(135deg,#063e48,#07273d);}
body[data-design-theme="gaming"] .g148-sc-solo .g148-shortcut-icon{color:#4fffe2;}
@media(max-width:1480px){body[data-design-theme="gaming"] .g148-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:480px){body[data-design-theme="gaming"] .g148-room-tools{justify-content:stretch}body[data-design-theme="gaming"] .g148-room-search{max-width:none}}
body[data-design-theme="gaming"] .g148-room-tools > .g148-room-search {display:flex!important;flex-direction:row!important;align-items:center!important;gap:6px;min-height:37px;height:37px;margin:0!important;padding:3px 10px!important;}
body[data-design-theme="gaming"] .g148-room-tools > .g148-room-search input {display:block!important;flex:1 1 auto;width:100%!important;height:26px!important;min-height:0!important;max-width:100%;margin:0!important;padding:4px!important;line-height:1.2!important;}


/* Six thèmes v14.8.2 consolidés : ne dépend pas du chargement séparé. */
/* DUEL TSSR v14.8.2 — isolated visual family styles */
/* DUEL TSSR v14.8.0 — Accueil Gaming néon : composants réels, aucune statistique fictive. */
body[data-family-theme] .g148-home { max-width:1600px; margin:0 auto; padding-bottom:26px; --g148-bg:#091630; --g148-bd:#25466e; --g148-cyan:#28e5ff; --g148-purple:#ac67ff; }
body[data-family-theme] .g148-home * {box-sizing:border-box;}
body[data-family-theme] .g148-home button {cursor:pointer;}
body[data-family-theme] .g148-hero {position:relative; display:flex;align-items:center;justify-content:space-between;isolation:isolate;overflow:hidden;min-height:268px;border:1px solid #2f579b;border-radius:13px;padding:26px clamp(25px,3vw,48px);background:radial-gradient(ellipse at 82% 39%,#ad22ef77,transparent 38%),radial-gradient(ellipse at 47% 90%,#0b8ba844,transparent 56%),linear-gradient(115deg,#061126 0%,#101039 72%,#091833 100%);box-shadow:inset 0 1px 0 #3770aa58,0 10px 25px #02071388;}
body[data-family-theme] .g148-hero:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:repeating-linear-gradient(110deg,transparent 0 67px,#58dcff09 68px 69px);}
body[data-family-theme] .g148-hero-content{position:relative;z-index:2;max-width:610px;}
body[data-family-theme] .g148-hero-eyebrow{font-size:.68rem;letter-spacing:.2em;color:#70eaff;font-weight:850!important;margin:0 0 12px!important;}
body[data-family-theme] .g148-hero-eyebrow b{color:#ef62ff}
body[data-family-theme] .g148-hero h1{font-size:clamp(2.5rem,4.3vw,4.8rem);line-height:1;letter-spacing:-.05em;margin:0;color:white;font-weight:950;text-shadow:0 3px 14px #000b;}
body[data-family-theme] .g148-hero h1 em{font-style:normal;background:linear-gradient(93deg,#23e3ff,#b96aff,#f547df);background-clip:text;-webkit-background-clip:text;color:transparent;}
body[data-family-theme] .g148-hero-slogan{font-size:clamp(.8rem,1.6vw,1.06rem);font-weight:900;letter-spacing:.15em;color:#a5eaff;margin:12px 0 8px!important;}
body[data-family-theme] .g148-hero-sub{font-size:.84rem;line-height:1.6;max-width:455px;color:#b3c6e2!important;margin:0 0 16px!important;}
body[data-family-theme] .g148-hero-badges{display:flex;gap:9px;flex-wrap:wrap;}
body[data-family-theme] .g148-hero-badges span{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:6px;color:#98dbff;border:1px solid #2766a1;background:#0e2650b0;font-weight:750;font-size:.68rem;letter-spacing:.035em;}
body[data-family-theme] .g148-hero-badges svg{width:16px;height:16px;}
body[data-family-theme] .g148-hero-arena{position:relative;z-index:1;width:min(42%,480px);height:auto;max-height:265px;object-fit:contain;filter:drop-shadow(0 0 25px #a12ae866);}
body[data-family-theme] .g148-shortcuts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin:16px 0 17px;}
body[data-family-theme] .g148-shortcut{display:flex;align-items:center;gap:10px;min-width:0;min-height:74px;text-align:left;padding:14px 12px;border:1px solid #0ea8dc;border-radius:10px;background:linear-gradient(130deg,#082e4a,#071e36);color:#f4f9ff;box-shadow:inset 0 0 18px #00b8ff12,0 4px 15px #0006;transition:transform .17s ease,box-shadow .17s ease;}
body[data-family-theme] .g148-shortcut:hover,body[data-family-theme] .g148-shortcut:focus-visible{transform:translateY(-2px);box-shadow:0 0 16px #06ccf94e;outline-offset:2px;}
body[data-family-theme] .g148-sc-create,body[data-family-theme] .g148-sc-training{border-color:#9e43e8;background:linear-gradient(135deg,#301449,#170f34);}
body[data-family-theme] .g148-sc-join{border-color:#5572ff;background:linear-gradient(135deg,#1a2661,#101837);}
body[data-family-theme] .g148-sc-collective{border-color:#f34fc7;background:linear-gradient(135deg,#391334,#260e34);}
body[data-family-theme] .g148-shortcut-icon{flex:none;display:grid;place-items:center;color:#38e7ff;}
body[data-family-theme] .g148-sc-training .g148-shortcut-icon,body[data-family-theme] .g148-sc-create .g148-shortcut-icon{color:#db8bff;}
body[data-family-theme] .g148-sc-collective .g148-shortcut-icon{color:#ff7be4;}
body[data-family-theme] .g148-shortcut-icon svg{width:27px;height:27px;}
body[data-family-theme] .g148-shortcut-label{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0;}
body[data-family-theme] .g148-shortcut-label strong{font-size:.85rem;line-height:1.2;color:#fff;white-space:normal;}
body[data-family-theme] .g148-shortcut-label small{font-size:.66rem;line-height:1.2;color:#abd0e9;}
body[data-family-theme] .g148-chevron{color:#39e6ff;font-size:1.3rem;}
body[data-family-theme] .g148-layout{display:grid;grid-template-columns:minmax(0,1fr) 316px;align-items:start;gap:16px;}
body[data-family-theme] .g148-primary{display:grid;gap:15px;min-width:0;}
body[data-family-theme] .g148-side{display:grid;gap:15px;min-width:0;}
body[data-family-theme] .g148-panel{background:linear-gradient(150deg,#0b1c37,#08152c);border:1px solid #25476f;border-radius:12px;padding:16px;min-width:0;box-shadow:0 6px 22px #0004;}
body[data-family-theme] .g148-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:32px;margin:0 0 15px;padding-bottom:12px;border-bottom:1px solid #263e5c;}
body[data-family-theme] .g148-panel-heading h2{display:flex;align-items:center;gap:8px;font-size:1.03rem;line-height:1.3;letter-spacing:-.015em;color:#f5f7ff;margin:0;}
body[data-family-theme] .g148-panel-heading h2 svg{width:20px;height:20px;color:#3adfff;flex:none;}
body[data-family-theme] .g148-panel-heading button.g148-link{font-size:.7rem;border:0;background:none;color:#63c8ff;padding:5px;white-space:nowrap;}
body[data-family-theme] .g148-panel-heading button.g148-link:hover{text-decoration:underline;color:#b6e9ff;}
body[data-family-theme] .g148-count{display:inline-flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:900;color:#072032;background:#30dbf1;border-radius:20px;min-width:22px;height:22px;padding:0 7px;}
body[data-family-theme] .g148-filters{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 14px;}
body[data-family-theme] .g148-filters button{font-size:.68rem;padding:8px 11px;border:1px solid #263d61;background:#101f3c;color:#adbfdb;border-radius:7px;}
body[data-family-theme] .g148-filters button.selected{color:#06243c;background:#2fd6fa;border-color:#55eaff;font-weight:850;}
body[data-family-theme] .g148-room-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;}
body[data-family-theme] .g148-room{overflow:hidden;border:1px solid #315486;border-radius:11px;background:#101e37;min-width:0;display:flex;flex-direction:column;}
body[data-family-theme] .g148-room[hidden]{display:none!important;}
body[data-family-theme] .g148-room-art{position:relative;aspect-ratio:2 / 1;background:#06142b var(--room-cover) center / cover no-repeat;border-bottom:1px solid #2d4c72;display:flex;justify-content:space-between;align-items:flex-start;padding:8px;}
body[data-family-theme] .g148-room-state,body[data-family-theme] .g148-room-count{display:flex;align-items:center;gap:6px;font-size:.63rem;font-weight:780;color:#dceafa;border:1px solid #3a5474;background:#050f20c7;padding:5px 7px;border-radius:7px;}
body[data-family-theme] .g148-room-state.is-live{color:#082b2d;background:#30eab2;border-color:#32ffc0;}
body[data-family-theme] .g148-room-state.is-waiting{color:#31270a;background:#ffc55e;border-color:#ffd981;}
body[data-family-theme] .g148-room-state i{width:6px;height:6px;border-radius:50%;background:currentColor;}
body[data-family-theme] .g148-room-count svg{width:14px;height:14px;}
body[data-family-theme] .g148-room-info{display:flex;flex-direction:column;gap:9px;padding:12px;flex:1;}
body[data-family-theme] .g148-room-info h3{font-size:.83rem;margin:0;color:#f4f7ff;line-height:1.3;min-height:2.2em;overflow-wrap:anywhere;}
body[data-family-theme] .g148-tags{display:flex;gap:5px;flex-wrap:wrap;}
body[data-family-theme] .g148-tags span{border:1px solid #263f63;background:#172947;color:#afd2ef;border-radius:5px;padding:4px 6px;font-size:.61rem;line-height:1.25;}
body[data-family-theme] .g148-tags span:first-child{background:#232553;color:#bab1ff;}
body[data-family-theme] .g148-room-foot{display:flex;gap:6px;justify-content:space-between;align-items:center;margin-top:auto;}
body[data-family-theme] .g148-room-members{display:flex;align-items:center;min-width:0;padding-left:3px;}
body[data-family-theme] .g148-room-members .duel-avatar{width:24px;height:24px;border:2px solid #061832;margin-left:-4px;flex:none;}
body[data-family-theme] .g148-room-members .duel-avatar img{width:100%;height:100%;}
body[data-family-theme] .g148-members-empty{font-size:.6rem;color:#8aa0c3;line-height:1.2;}
body[data-family-theme] .g148-room-foot button{background:linear-gradient(125deg,#7034c0,#4726ab);color:#fff;border:1px solid #a36cff;border-radius:7px;padding:7px 9px;font-size:.67rem;font-weight:850;box-shadow:0 0 10px #ab55ff50;white-space:nowrap;}
body[data-family-theme] .g148-room-foot button:hover{background:#7b3ef0;}
body[data-family-theme] .g148-room-no-match,body[data-family-theme] .g148-empty{color:#a9bddc;font-size:.82rem;line-height:1.6;padding:14px 5px;}
body[data-family-theme] .g148-empty h3{margin:0 0 6px;color:#e3eeff;}
body[data-family-theme] .g148-current-body{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:13px;}
body[data-family-theme] .g148-current-body strong{color:#e9f4ff;font-size:.92rem;}
body[data-family-theme] .g148-current-body p{font-size:.75rem;color:#a2c1da;margin:4px 0 0;}
body[data-family-theme] .g148-current-body .primary{background:linear-gradient(125deg,#196be9,#7436df);border:1px solid #5b9aff;}
body[data-family-theme] .g148-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;}
body[data-family-theme] .g148-metrics{display:grid;grid-template-columns:1fr 1fr;gap:9px;}
body[data-family-theme] .g148-metrics>div{display:flex;flex-direction:column;gap:6px;padding:15px 12px;border:1px solid #26405b;background:#0a2542;border-radius:9px;}
body[data-family-theme] .g148-metrics strong{font-size:1.6rem;line-height:1;color:#35d9f7;}
body[data-family-theme] .g148-metrics div:nth-child(2) strong{color:#bc84ff;}
body[data-family-theme] .g148-metrics div:nth-child(3) strong{color:#3be2b1;}
body[data-family-theme] .g148-metrics div:nth-child(4) strong{color:#ffce6e;}
body[data-family-theme] .g148-metrics span{font-size:.69rem;color:#b3c7e0;}
body[data-family-theme] .g148-progress{display:grid;gap:12px;}
body[data-family-theme] .g148-progress-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 8px;}
body[data-family-theme] .g148-progress-row span{min-width:0;color:#c0d0e6;font-size:.72rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body[data-family-theme] .g148-progress-row b{color:#3bdef7;font-size:.73rem;}
body[data-family-theme] .g148-progress-row i{grid-column:1/-1;height:7px;border-radius:6px;background:linear-gradient(to right,#32dded var(--progress),#1d3858 var(--progress));}
body[data-family-theme] .g148-leader-caption{margin:0 0 9px!important;color:#9bb3d0!important;font-size:.7rem;}
body[data-family-theme] .g148-leader-list{margin:0;padding:0;list-style:none;display:grid;}
body[data-family-theme] .g148-leader-list li{display:flex;align-items:center;gap:9px;padding:7px 5px;border-bottom:1px solid #21395a;}
body[data-family-theme] .g148-leader-list li:last-child{border-bottom:0;}
body[data-family-theme] .g148-leader-list li.g148-its-me{background:#103153;border-radius:6px;}
body[data-family-theme] .g148-rank{width:22px;text-align:center;font-size:.77rem;font-weight:900;color:#b0c6dd;flex:none;}
body[data-family-theme] .g148-rank.podium-0{color:#ffd64e;}
body[data-family-theme] .g148-rank.podium-1{color:#b5d6f0;}
body[data-family-theme] .g148-rank.podium-2{color:#eab383;}
body[data-family-theme] .g148-leader-list .duel-avatar{flex:none;width:32px;height:32px;}
body[data-family-theme] .g148-leader-list .duel-avatar img{width:100%;height:100%;}
body[data-family-theme] .g148-leader-name{display:flex;flex-direction:column;min-width:0;gap:2px;flex:1;}
body[data-family-theme] .g148-leader-name strong{font-size:.76rem;color:#eaf3ff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body[data-family-theme] .g148-leader-name small{font-size:.64rem;color:#94b0ce;}
body[data-family-theme] .g148-leader-points{flex:none;font-size:.77rem;font-weight:850;color:#d5e9ff;}
body[data-family-theme] .g148-leader-points small{font-size:.6rem;color:#86dfff;}
body[data-family-theme] .g148-data-caption{font-size:.65rem;line-height:1.5;color:#849fbe!important;margin:12px 0 0!important;}
body[data-family-theme] .g148-my-rank{display:flex;align-items:center;gap:8px;background:#142b50;border:1px solid #2c5384;border-radius:10px;padding:10px;margin-top:13px;font-size:.75rem;color:#dbebff;}
body[data-family-theme] .g148-my-rank .duel-avatar{width:27px;height:27px;}
body[data-family-theme] .g148-my-rank b{color:#40e6ff;}
body[data-family-theme] .g148-player-main{display:flex;gap:11px;align-items:center;}
body[data-family-theme] .g148-player-main .duel-avatar{width:48px;height:48px;}
body[data-family-theme] .g148-player-main>span{display:flex;flex-direction:column;gap:4px;}
body[data-family-theme] .g148-player-main strong{font-size:.87rem;color:#fff;}
body[data-family-theme] .g148-player-main small{font-size:.73rem;color:#abc7e3;}
body[data-family-theme] .g148-player-kpi{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:15px;}
body[data-family-theme] .g148-player-kpi>span{display:flex;flex-direction:column;gap:5px;background:#0e2848;padding:11px;border-radius:8px;font-size:.67rem;color:#a9c2dc;}
body[data-family-theme] .g148-player-kpi strong{font-size:1.2rem;color:#2cdbff;}
body[data-family-theme] .g148-history-row{display:flex;align-items:center;gap:9px;padding:11px 0;border-bottom:1px solid #273f5d;}
body[data-family-theme] .g148-history-row:last-child{border:0;}
body[data-family-theme] .g148-history-row>span:first-child{color:#37cfff;}
body[data-family-theme] .g148-history-row>span:nth-child(2){flex:1;display:flex;flex-direction:column;gap:4px;min-width:0;}
body[data-family-theme] .g148-history-row b{font-size:.73rem;color:#e8f5ff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body[data-family-theme] .g148-history-row small{font-size:.65rem;color:#94aecd;}
body[data-family-theme] .g148-history-row>strong{font-size:.75rem;color:#66ebf1;}
body[data-family-theme] .g148-room-no-match[hidden]{display:none;}
body[data-family-theme] .g148-shortcut:focus-visible,body[data-family-theme] .g148-room button:focus-visible,body[data-family-theme] .g148-filters button:focus-visible{outline:2px solid #a7efff;outline-offset:3px;}
@media(max-width:1480px){body[data-family-theme] .g148-layout{grid-template-columns:minmax(0,1fr) 290px}body[data-family-theme] .g148-room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-family-theme] .g148-shortcut{padding:11px 9px;gap:7px}body[data-family-theme] .g148-shortcut-label strong{font-size:.78rem}}
@media(max-width:1180px){body[data-family-theme] .g148-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}body[data-family-theme] .g148-layout{grid-template-columns:1fr}body[data-family-theme] .g148-side{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-family-theme] .g148-leaderboard{grid-row:span 2}body[data-family-theme] .g148-room-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:830px){body[data-family-theme] .g148-hero-arena{width:35%;}body[data-family-theme] .g148-room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-family-theme] .g148-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:610px){body[data-family-theme] .g148-hero{min-height:220px;padding:22px 19px}body[data-family-theme] .g148-hero-arena{display:none}body[data-family-theme] .g148-hero h1{font-size:2.6rem}body[data-family-theme] .g148-hero-slogan{font-size:.7rem;letter-spacing:.06em}body[data-family-theme] .g148-room-grid,body[data-family-theme] .g148-side,body[data-family-theme] .g148-bottom-grid{grid-template-columns:1fr}body[data-family-theme] .g148-leaderboard{grid-row:auto}body[data-family-theme] .g148-shortcuts{gap:8px}body[data-family-theme] .g148-shortcut{min-height:62px}body[data-family-theme] .g148-shortcut-icon svg{width:22px;height:22px}body[data-family-theme] .g148-shortcut-label small{display:none}}
@media(prefers-reduced-motion:reduce){body[data-family-theme] .g148-shortcut{transition:none}}

body[data-family-theme] .g148-room-tools{display:flex;justify-content:flex-end;margin:-6px 0 12px;}
body[data-family-theme] .g148-room-search{display:flex;align-items:center;gap:6px;background:#0c2542;border:1px solid #2a507b;border-radius:8px;padding:5px 9px;color:#65dcff;max-width:270px;width:100%;}
body[data-family-theme] .g148-room-search svg{height:16px;width:16px;flex:none;}
body[data-family-theme] .g148-room-search input{min-width:0;width:100%;background:none;border:0;box-shadow:none;color:#e9f7ff;font-size:.73rem;margin:0;padding:5px;outline:none;}
body[data-family-theme] .g148-room-search input::placeholder{color:#8dabce;}
body[data-family-theme] .g148-sc-buzzer{border-color:#f34fc7;background:linear-gradient(135deg,#391334,#260e34);}
body[data-family-theme] .g148-sc-buzzer .g148-shortcut-icon{color:#ff7be4;}
body[data-family-theme] .g148-sc-solo{border-color:#07bea9;background:linear-gradient(135deg,#063e48,#07273d);}
body[data-family-theme] .g148-sc-solo .g148-shortcut-icon{color:#4fffe2;}
@media(max-width:1480px){body[data-family-theme] .g148-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:480px){body[data-family-theme] .g148-room-tools{justify-content:stretch}body[data-family-theme] .g148-room-search{max-width:none}}
body[data-family-theme] .g148-room-tools > .g148-room-search {display:flex!important;flex-direction:row!important;align-items:center!important;gap:6px;min-height:37px;height:37px;margin:0!important;padding:3px 10px!important;}
body[data-family-theme] .g148-room-tools > .g148-room-search input {display:block!important;flex:1 1 auto;width:100%!important;height:26px!important;min-height:0!important;max-width:100%;margin:0!important;padding:4px!important;line-height:1.2!important;}

/* Heritage adaptations — palette variables, real DOM, no screenshot for UI text. */
body[data-family-theme] {
  background:var(--bg);
  color:var(--ink);
  background-image:radial-gradient(ellipse at 60% 0%,var(--family-glow),transparent 55%);
  background-attachment:fixed;
}
body[data-family-theme] .g148-home {--g148-bg:var(--card);--g148-bd:var(--line);--g148-cyan:var(--accent);--g148-purple:var(--family-tone)}
body[data-family-theme] .g148-hero {
  min-height:286px;
  border-color:var(--design-outline);
  background:linear-gradient(90deg,var(--design-header) 0%,var(--design-header) 29%,transparent 95%),var(--family-banner) right center / auto 100% no-repeat,var(--design-hero);
  box-shadow:0 8px 26px #0002;
}
body[data-family-theme] .g148-hero:after{content:none}
body[data-family-theme] .g148-hero-arena{display:none!important}
body[data-family-theme] .g148-hero-content{max-width:575px}
body[data-family-theme] .g148-hero h1{color:var(--design-hero-title);text-shadow:none}
body[data-family-theme] .g148-hero h1 em{background:none;-webkit-text-fill-color:var(--family-tone);color:var(--family-tone)}
body[data-family-theme] .g148-hero-eyebrow,body[data-family-theme] .g148-hero-slogan{color:var(--family-tone)}
body[data-family-theme] .g148-hero-sub{color:var(--muted);max-width:430px}
body[data-family-theme] .g148-hero-badges span{background:var(--design-surface);border-color:var(--line);color:var(--accent-dark)}
body[data-family-theme] .g148-shortcut,body[data-family-theme] .g148-sc-create,body[data-family-theme] .g148-sc-training,body[data-family-theme] .g148-sc-join,body[data-family-theme] .g148-sc-collective,body[data-family-theme] .g148-sc-buzzer,body[data-family-theme] .g148-sc-solo{background:var(--card);border:1px solid var(--line);box-shadow:0 4px 13px #00000011;color:var(--ink)}
body[data-family-theme] .g148-shortcut:nth-child(3n + 1){background:var(--design-surface)}
body[data-family-theme] .g148-shortcut:nth-child(3n + 2){background:var(--design-soft)}
body[data-family-theme] .g148-shortcut-icon,body[data-family-theme] .g148-sc-create .g148-shortcut-icon,body[data-family-theme] .g148-sc-training .g148-shortcut-icon,body[data-family-theme] .g148-sc-collective .g148-shortcut-icon,body[data-family-theme] .g148-sc-buzzer .g148-shortcut-icon,body[data-family-theme] .g148-sc-solo .g148-shortcut-icon{color:var(--accent-dark)}
body[data-family-theme] .g148-shortcut-label strong,body[data-family-theme] .g148-panel-heading h2,body[data-family-theme] .g148-room-info h3,body[data-family-theme] .g148-player-main strong,body[data-family-theme] .g148-leader-name strong,body[data-family-theme] .g148-history-row b{color:var(--ink)}
body[data-family-theme] .g148-shortcut-label small,body[data-family-theme] .g148-room-members .g148-members-empty,body[data-family-theme] .g148-history-row small,body[data-family-theme] .g148-leader-name small,body[data-family-theme] .g148-data-caption,body[data-family-theme] .g148-leader-caption{color:var(--muted)!important}
body[data-family-theme] .g148-chevron,body[data-family-theme] .g148-panel-heading h2 svg,body[data-family-theme] .g148-panel-heading button.g148-link{color:var(--accent-dark)}
body[data-family-theme] .g148-panel,body[data-family-theme] .g148-room{background:var(--card);border-color:var(--line);box-shadow:0 4px 20px #00000010}
body[data-family-theme] .g148-panel-heading,body[data-family-theme] .g148-history-row,body[data-family-theme] .g148-leader-list li{border-color:var(--line)}
body[data-family-theme] .g148-room-art{border-color:var(--line)}
body[data-family-theme] .g148-count,body[data-family-theme] .g148-filters button.selected{background:var(--accent);border-color:var(--accent);color:var(--design-header)}
body[data-family-theme] .g148-filters button,body[data-family-theme] .g148-tags span,body[data-family-theme] .g148-tags span:first-child{background:var(--design-surface);border-color:var(--line);color:var(--muted)}
body[data-family-theme] .g148-room-search{background:var(--design-field);border-color:var(--line);color:var(--accent)}
body[data-family-theme] .g148-room-search input{color:var(--ink)}
body[data-family-theme] .g148-room-search input::placeholder{color:var(--muted)}
body[data-family-theme] .g148-room-foot button,body[data-family-theme] .g148-current-body .primary{background:var(--family-button);border-color:var(--family-button);color:#fff;box-shadow:none}
body[data-family-theme] .g148-metrics>div,body[data-family-theme] .g148-player-kpi>span,body[data-family-theme] .g148-my-rank{background:var(--design-surface);border-color:var(--line);color:var(--muted)}
body[data-family-theme] .g148-metrics strong,body[data-family-theme] .g148-metrics div:nth-child(n) strong,body[data-family-theme] .g148-player-kpi strong,body[data-family-theme] .g148-my-rank b,body[data-family-theme] .g148-progress-row b{color:var(--accent-dark)}
body[data-family-theme] .g148-metrics span,body[data-family-theme] .g148-player-kpi>span,body[data-family-theme] .g148-progress-row span,body[data-family-theme] .g148-current-body p{color:var(--muted)}
body[data-family-theme] .g148-progress-row i{background:linear-gradient(to right,var(--accent) var(--progress),var(--design-soft) var(--progress))}
body[data-family-theme] .g148-leader-list li.g148-its-me{background:var(--design-soft)}
body[data-family-theme] .g148-leader-points,body[data-family-theme] .g148-history-row>strong{color:var(--accent-dark)}
body[data-family-theme] .g148-current-body strong{color:var(--ink)}
@media(max-width:720px){body[data-family-theme] .g148-hero{background:linear-gradient(100deg,var(--design-header) 0%,var(--design-header) 48%,transparent 140%),var(--family-banner) right center / auto 100% no-repeat,var(--design-hero)}}

body[data-design-theme="naturel"] .g148-hero,body[data-design-theme="academique"] .g148-hero,body[data-design-theme="terracotta"] .g148-hero,body[data-design-theme="foret"] .g148-hero {background:linear-gradient(90deg,var(--design-header) 0%,var(--design-header) 37%,#ffffff0c 95%),var(--family-banner) right center / auto 100% no-repeat,var(--design-hero)}
body[data-design-theme="naturel"] .g148-hero-slogan,body[data-design-theme="academique"] .g148-hero-slogan,body[data-design-theme="terracotta"] .g148-hero-slogan,body[data-design-theme="foret"] .g148-hero-slogan {color:var(--accent-dark)}
body[data-design-theme="academique"] .g148-hero h1{color:#163b4e}
/* Lisibilité spécifique : barre latérale foncée même pour les thèmes clairs. */
body[data-family-theme] nav .nav-button {color:#e0eae5;}
body[data-family-theme] nav .nav-button:not(.current):hover {color:#fff;background:#ffffff20;}
body[data-family-theme] nav .module-selector {color:#d7e6db;}
body[data-family-theme] .g148-hero-sub {color:var(--muted)!important;}
body[data-family-theme] .g148-hero h1,body[data-family-theme] .g148-hero-slogan {text-wrap:balance;}
body[data-family-theme] .g148-room-art {background-blend-mode:luminosity;}
body[data-design-theme="cuivre"] .g148-room-art,body[data-design-theme="prestige"] .g148-room-art {background-blend-mode:normal;}
body[data-family-theme] .g148-shortcut:focus-visible,body[data-family-theme] .g148-room button:focus-visible,body[data-family-theme] .g148-filters button:focus-visible {outline:3px solid var(--accent);outline-offset:3px;}
