*{box-sizing:border-box}body{margin:0;background:#07111f;color:#eaf4ff;font-family:Inter,system-ui,Arial,sans-serif}header{min-height:72px;padding:16px 3vw;display:flex;align-items:center;justify-content:space-between;background:#0a1627;border-bottom:1px solid #173150;position:sticky;top:0;z-index:10}.brand{font-size:24px;font-weight:900;color:#37a9ff;letter-spacing:1px}nav{display:flex;gap:18px;flex-wrap:wrap}a{color:#8ed1ff;text-decoration:none}main{width:min(1600px,96vw);margin:28px auto}.panel,.card,.welcome{background:#0c1b2e;border:1px solid #183b60;border-radius:16px;padding:24px;margin-bottom:20px}.form{max-width:520px;margin:auto}input,select,button{padding:11px 12px;border-radius:9px;border:1px solid #28547d;background:#081727;color:#fff}form>input,form>select,.settings input{width:100%;margin:6px 0}button,.btn{background:#1478c9;border:0;font-weight:750;cursor:pointer;padding:11px 15px;border-radius:9px;color:#fff;display:inline-block}.secondary{background:#243a55}.danger{background:#9d3040!important}.small{padding:7px 9px;font-size:12px}.muted,small{color:#8ba3b8}.ok{color:#7ff0a4}.err{color:#ff8e8e}.notice,.alert{padding:14px 16px;border-radius:12px;margin-bottom:16px;background:#3a1720;border:1px solid #783344}.games{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:14px}.game{background:#0c1b2e;border:1px solid #183b60;border-radius:12px;padding:9px;color:#eaf4ff}.game img{width:100%;height:105px;object-fit:contain;display:block;background:#07111f;border-radius:8px;margin-bottom:8px}.pager{display:flex;gap:8px;justify-content:center;margin:25px 0;flex-wrap:wrap}.pager a{padding:8px 12px;background:#102641;border-radius:8px}.pager .on{background:#1478c9;color:#fff}.catalog-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:20px}.catalog-head form{display:flex;gap:8px;min-width:min(500px,100%)}.catalog-head input{flex:1}.welcome{padding:48px;min-height:360px;background:radial-gradient(circle at 80% 20%,#103a63 0,transparent 35%),#0c1b2e}.welcome h1{font-size:clamp(34px,5vw,72px);max-width:850px;margin:10px 0}.welcome p{font-size:18px;max-width:720px;color:#a9bed0}.welcome-actions{display:flex;gap:12px;margin-top:28px}.admin{display:grid;grid-template-columns:230px 1fr;gap:20px}.admin aside{background:#0a1627;border:1px solid #183b60;border-radius:16px;padding:14px;height:max-content;position:sticky;top:94px}.admin aside a{display:block;padding:11px 12px;border-radius:9px;color:#a9bed0;margin:2px 0}.admin aside a.active{background:#1478c9;color:#fff}.side-title{font-weight:900;color:#fff;padding:10px 12px 16px}.hero{background:linear-gradient(110deg,#0f2742,#0b1b2f);border:1px solid #1e4770;border-radius:16px;padding:24px;margin-bottom:18px;display:flex;justify-content:space-between;align-items:start}.hero h1{margin:5px 0;font-size:32px}.hero p{margin:0;color:#9bb3c8}.version{background:#132f4c;padding:7px 10px;border-radius:999px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.stats>div{background:#0c1b2e;border:1px solid #183b60;border-radius:14px;padding:18px}.stats b{font-size:30px;display:block;color:#51b9ff}.stats span{color:#8ba3b8}.admin-grid{display:grid;grid-template-columns:2fr 1fr;gap:18px}.card{overflow:auto}.card h2{margin-top:0}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:11px;border-bottom:1px solid #173150;vertical-align:middle}td small{display:block;margin-top:3px}.actions{display:flex;gap:6px;flex-wrap:wrap}.actions form{margin:0}.inline{display:grid;grid-template-columns:1fr 2fr auto;gap:8px}.install-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:15px}.game-install{background:#0c1b2e;border:1px solid #183b60;border-radius:14px;padding:14px;display:grid;grid-template-columns:100px 1fr;gap:14px}.game-install img{width:100px;height:90px;object-fit:contain;background:#07111f;border-radius:9px}.game-install h3{margin:0 0 6px}.game-install p{font-size:13px;color:#9bb3c8}.game-install form{display:flex;gap:7px;margin-top:10px}.installed{display:inline-block;margin-top:10px;color:#7ff0a4}.settings{max-width:600px;display:grid;gap:14px}.settings label{display:grid;gap:6px}.settings label:first-of-type{display:flex;gap:10px;align-items:center}.settings label:first-of-type input{width:auto}.player{max-width:1200px;margin:auto}.player-title{display:flex;align-items:center;justify-content:space-between}.stage{margin:20px auto;background:#000;width:100%;border-radius:12px;overflow:hidden}.stage iframe,.stage #ruffle,.stage ruffle-player{width:100%;height:100%;border:0;display:block}@media(max-width:850px){.admin{grid-template-columns:1fr}.admin aside{position:static;display:flex;overflow:auto}.admin aside .side-title{display:none}.admin aside a{white-space:nowrap}.stats{grid-template-columns:repeat(2,1fr)}.admin-grid{grid-template-columns:1fr}.catalog-head{display:block}.catalog-head form{margin-top:12px}.inline{grid-template-columns:1fr}.welcome{padding:28px}}
.stats-wide{grid-template-columns:repeat(auto-fit,minmax(125px,1fr))}.dash-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--line)}.dash-row:last-child{border-bottom:0}.dash-row span{display:flex;flex-direction:column}.dash-row small{color:var(--muted);margin-top:3px}.dash-row em{font-style:normal;font-size:12px;font-weight:800;padding:5px 9px;border-radius:999px}.state-on{color:#63e6a5;background:#0b3b2b}.state-off{color:#ff8f9d;background:#4a1d28}
.side-group{margin:16px 8px 5px;color:#8db9df;font-size:10px;font-weight:900;border-bottom:1px solid #1e6b99;padding-bottom:5px}.diag{margin-bottom:12px}.diag-head{display:flex;justify-content:space-between;align-items:center}.diag-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;border-top:1px solid var(--line);padding-top:12px}.diag-grid>div{display:flex;flex-direction:column;gap:5px}.warn{color:#ffae35}.warnbtn{background:#e88b00}@media(max-width:850px){.diag-grid{grid-template-columns:1fr}}
.status-pill{display:inline-flex;align-items:center;gap:7px;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap}.status-pill i{width:8px;height:8px;border-radius:50%;display:block}.status-pill.on{background:#0b3b2b;color:#7ff0a4}.status-pill.on i{background:#36d27e;box-shadow:0 0 8px #36d27e}.status-pill.off{background:#4a1d28;color:#ff9aa7}.status-pill.off i{background:#ff5268;box-shadow:0 0 8px #ff5268}.yes{color:#7ff0a4;font-weight:800}.game-stats{grid-template-columns:repeat(5,1fr)}.game-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.filter-chips{display:flex;gap:8px;flex-wrap:wrap}.filter-chip{background:#102641;border:1px solid #28547d;border-radius:8px;padding:8px 11px;color:#a9bed0}.filter-chip.on{background:#1478c9;color:#fff}.filter-chip b{margin-left:5px}.game-search{display:flex;gap:8px;min-width:320px}.game-search input{width:100%}.table-wrap{overflow:auto}.games-table{min-width:1180px}.thumbcell img,.no-thumb{width:54px;height:54px;object-fit:contain;background:#07111f;border-radius:8px;display:grid;place-items:center}.recent-games{max-width:760px}.section-title,.category-card-head,.category-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:14px}.category-card{background:#091827;border:1px solid #1b4269;border-radius:14px;padding:16px}.category-card h3{margin:0 0 8px}.category-form{display:grid;gap:9px;margin:14px 0}.category-form label,.category-add label,.modal-box label{display:grid;gap:6px;color:#a9bed0;font-size:13px}.category-form textarea,.modal-box textarea{padding:11px 12px;border-radius:9px;border:1px solid #28547d;background:#081727;color:#fff;resize:vertical}.form-two{display:grid;grid-template-columns:1fr 2fr;gap:9px}.category-add{display:grid;grid-template-columns:1fr 2fr auto;gap:10px;align-items:end}.category-actions form{margin:0}.modal{display:none;position:fixed;inset:0;background:#02070dcc;z-index:1000;align-items:center;justify-content:center;padding:20px}.modal.open{display:flex}.modal-box{width:min(520px,100%);background:#0c1b2e;border:1px solid #28547d;border-radius:18px;padding:24px;box-shadow:0 24px 80px #0009;position:relative}.modal-box h2{margin:5px 0 18px}.modal-box form{display:grid;gap:14px}.modal-close{position:absolute;right:14px;top:12px;background:transparent;font-size:26px;padding:4px 10px}.modal-actions{display:flex;justify-content:flex-end;gap:9px}.play-actions{display:flex;justify-content:center;margin:14px 0}@media(max-width:850px){.game-stats{grid-template-columns:repeat(2,1fr)}.game-toolbar{display:block}.game-search{min-width:0;margin-top:12px}.category-grid{grid-template-columns:1fr}.category-add,.form-two{grid-template-columns:1fr}}
/* Lot 5 — ACP colors, icons, maintenance dashboard */
.nav-icon{display:inline-grid;width:24px;height:24px;place-items:center;margin-right:8px;border-radius:7px;background:#102b47;color:#72c7ff;font-size:13px}.admin aside a.active .nav-icon{background:#fff2;color:#fff}.test-btn{background:#6842c2!important}.test-btn:hover{background:#7b55d8!important}.maintenance-hero{background:linear-gradient(115deg,#102d4b,#11233b 58%,#183b5c)}.maintenance-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.maint-card{display:flex;gap:14px;align-items:center;background:#0c1b2e;border:1px solid #183b60;border-left:4px solid #2d8dcc;border-radius:14px;padding:17px}.maint-card.good{border-left-color:#2dbf73}.maint-card.warncard{border-left-color:#e89524}.maint-card.bad{border-left-color:#ef5265}.maint-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:#102944;font-size:24px}.maint-card b{font-size:27px;color:#67c6ff}.maint-card h3{margin:2px 0 3px}.maint-card p{margin:0;color:#8ba3b8;font-size:12px}.maint-action{margin:10px 0}.maintenance-panels .card{min-height:260px}.test-banner{max-width:1200px;margin:0 auto 12px;padding:11px 14px;border:1px solid #7d62d4;background:#261c49;border-radius:10px;color:#d8ccff;font-weight:700}@media(max-width:1100px){.maintenance-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.maintenance-grid{grid-template-columns:1fr}}
/* Lot 6 - Vue d'ensemble visuelle */
.overview-stats>div{position:relative;overflow:hidden;border-bottom:3px solid #319dff;min-height:116px}.overview-stats i{display:block;font-style:normal;font-weight:900;font-size:22px;line-height:1;margin-bottom:8px;text-shadow:0 0 12px currentColor}.overview-stats .s-active{border-bottom-color:#2ed58a}.overview-stats .s-active i{color:#42e7a0}.overview-stats .s-off{border-bottom-color:#ff5268}.overview-stats .s-off i{color:#ff6680}.overview-stats .s-html{border-bottom-color:#ff704d}.overview-stats .s-html i{color:#ff7659}.overview-stats .s-swf{border-bottom-color:#8b6cff}.overview-stats .s-swf i{color:#ff8759}.overview-stats .s-cat i{color:#4ee6ff}.overview-stats .s-score i{color:#ffd45c}.overview-stats .s-user i{color:#62a9ff}.overview-stats .s-games i{color:#9b68ff}.overview-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.95fr);gap:18px}.dashboard-card{margin-bottom:0}.activity-card{min-height:330px}.alerts-card{grid-column:1/-1;min-height:150px}.title-icon{display:inline-grid;width:34px;height:34px;place-items:center;margin-right:7px;border-radius:10px;background:#102944;font-size:18px}.title-icon.activity{color:#77b9ff}.title-icon.tech{color:#a47cff}.title-icon.alerts{color:#ffc95d}.score-chart{height:245px;display:flex;flex-direction:column;justify-content:flex-end;background:#081525;border:1px solid #1a3d61;border-radius:12px;padding:12px 16px 10px}.score-chart svg{width:100%;height:185px;overflow:visible}.chart-area{fill:url(#gaScoreFill)}.chart-line{fill:none;stroke:#6c70ff;stroke-width:1.3;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 4px #596cff);stroke-linejoin:round;stroke-linecap:round}.chart-labels{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}.chart-labels span{display:grid;gap:2px}.chart-labels b{font-size:12px;color:#fff}.chart-labels small{font-size:10px;color:#87a5bf}.alert-line{margin:8px 0;font-weight:700}.alert-line span{margin-right:7px}.alert-line.good{color:#70e5a2}.alert-line.warn{color:#ffc766}.alert-line.bad{color:#ff7b8b}.overview-hero h1{font-size:26px}.nav-dashboard{color:#64b5ff}.nav-settings{color:#9caeff}.nav-games{color:#b276ff}.nav-installgames{color:#51dc9c}.nav-diagnostics{color:#72d7ff}.nav-disabled{color:#ff667c}.nav-reports{color:#ff9a62}.nav-categories{color:#58caff}.nav-activity{color:#55d4c4}.nav-members{color:#7db5ff}.nav-scores{color:#ffd05c}.nav-maintenance{color:#b99aff}@media(max-width:1050px){.overview-grid{grid-template-columns:1fr}.alerts-card{grid-column:auto}}@media(max-width:650px){.score-chart{height:210px;padding-left:8px;padding-right:8px}.score-chart svg{height:150px}}

/* Lot 7 - opérations en masse et protections */
.green-check{display:inline-flex!important;align-items:center;gap:8px;cursor:pointer;font-weight:800;color:#b9d6c7}.green-check input{position:absolute;opacity:0;pointer-events:none}.green-check span{width:20px;height:20px;border:2px solid #2fcf7d;border-radius:6px;background:#071b13;display:inline-grid;place-items:center}.green-check input:checked+span{background:#28c875;box-shadow:0 0 12px #28c87588}.green-check input:checked+span:after{content:'✓';color:#fff;font-size:14px}.green-check input:disabled+span{opacity:.3}.bulkbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:12px 14px;margin-bottom:14px;background:#0a2034;border:1px solid #1e527c;border-radius:12px}.bulkbar select{min-width:190px}.category-lock{color:#ffc56b;background:#3b2a0c;border:1px solid #74531d;border-radius:9px;padding:9px 11px;font-size:12px}.category-actions button:disabled{opacity:.35;cursor:not-allowed}.game-install.selectable{position:relative;padding-left:48px}.game-install.selectable>.green-check{position:absolute;left:14px;top:16px}.stage{flex:none}.player{overflow:auto}.test-banner{width:max-content;max-width:none}
.chart-legend{display:flex;gap:18px;flex-wrap:wrap;margin:0 0 10px;font-size:12px;font-weight:800}.l-score{color:#7874ff}.l-player{color:#31d995}.l-game{color:#ffb84d}.chart-line.line-score{stroke:#7874ff}.chart-line.line-player{stroke:#31d995}.chart-line.line-game{stroke:#ffb84d}
/* 0.8 - gestion des jeux détaillée */
.icon-stats>div{position:relative;padding-left:70px;min-height:104px}.icon-stats i{position:absolute;left:18px;top:20px;width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#102b47;font-style:normal;font-weight:900;color:#62bdff}.icon-stats .gs-active i{color:#4be49b}.icon-stats .gs-off i{color:#ff687c}.icon-stats .gs-html i{font-size:10px;color:#ff7659}.icon-stats .gs-swf i{color:#a78aff}.game-name-link{color:#fff}.game-name-link:hover{color:#65c5ff}.edit-btn{background:#1769d2!important}.tech-pill{display:inline-block;font-weight:900;padding:5px 8px;border-radius:8px;background:#102944}.tech-pill.swf{color:#a98cff}.tech-pill.html5{color:#ff8064}.status-pill.ready{background:#17344a;color:#79cfff}.status-pill.ready i{background:#49afff}.row-installed{opacity:.62}.install-table td{vertical-align:middle}.install-table td:nth-child(3){min-width:360px}.install-table td:nth-child(4){min-width:180px}.game-edit-status{display:flex;gap:10px;flex-wrap:wrap;margin:-5px 0 18px}.info-pill{padding:6px 10px;border-radius:999px;background:#102944;border:1px solid #28547d;color:#a9d8ff;font-size:12px;font-weight:800}.game-edit-form textarea{padding:11px 12px;border-radius:9px;border:1px solid #28547d;background:#081727;color:#fff;resize:vertical}.edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.edit-grid label{display:grid;gap:6px;color:#a9bed0;font-size:13px}.edit-grid .wide{grid-column:1/-1}.edit-toggles{display:flex;gap:18px;flex-wrap:wrap;margin:20px 0;padding:14px;background:#091827;border:1px solid #173b60;border-radius:12px}.edit-toggles label{display:flex;align-items:center;gap:7px}.edit-toggles input{width:auto}.form-actions{display:flex;justify-content:flex-end}@media(max-width:750px){.edit-grid{grid-template-columns:1fr}.edit-grid .wide{grid-column:auto}.icon-stats>div{padding-left:58px}}
/* 0.9.0 */
.games-table th{white-space:nowrap}.actions{display:flex;align-items:center;gap:6px;flex-wrap:nowrap}.action-menu{position:relative}.action-menu>summary{list-style:none;cursor:pointer;white-space:nowrap}.action-menu>summary::-webkit-details-marker{display:none}.action-pop{position:absolute;right:0;top:calc(100% + 6px);z-index:30;min-width:150px;padding:8px;background:#0b1d31;border:1px solid #245078;border-radius:10px;box-shadow:0 12px 28px #0008}.action-pop form,.action-pop button{width:100%;margin:3px 0}.game-identity{display:flex;align-items:center;gap:20px}.game-cover{width:120px;height:90px;border:1px solid #245078;border-radius:12px;background:#081728;display:grid;place-items:center;overflow:hidden}.game-cover img{width:100%;height:100%;object-fit:contain}.game-cover span{font-size:38px}.config-section{margin-bottom:16px}.config-section h2{margin-top:0}.config-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0;border-top:1px solid #173957}.config-row:first-of-type{border-top:0}.config-row small,.config-feature p{display:block;color:#8eb6da;margin-top:5px}.switch-line{display:flex;align-items:center;gap:10px}.config-feature{display:flex;align-items:center;gap:22px;padding:16px;border:1px solid #214b70;border-radius:12px;background:#0d2741}.new-badge-preview{width:110px;height:78px;position:relative;display:grid;place-items:center;border:1px solid #2b5b84;border-radius:10px;background:#123554;font-size:30px}.new-badge-preview b{position:absolute;right:-8px;top:7px;transform:rotate(38deg);font-size:9px;background:#4b67ff;padding:4px 8px;border-radius:4px}.short-input{width:80px!important;display:inline-block!important}.score-confirm-card{max-width:900px;margin:45px auto;padding:26px;background:#eef3f7;color:#10243a;border-radius:12px;box-shadow:0 16px 45px #0003}.score-confirm-card h1{margin:8px 0 16px}.score-line{padding:12px 0;border-top:1px solid #c8d5df;border-bottom:1px solid #c8d5df;margin-bottom:15px}.score-confirm-card textarea{width:100%;box-sizing:border-box;margin-top:7px}.score-confirm-card button{display:block;min-width:180px;margin:20px auto 8px}.score-cancel{display:block;text-align:center;margin-top:10px}.score-big{font-size:34px;font-weight:800;margin:14px 0}.test-note{padding:10px;background:#fff2c7;border-radius:8px}

/* G-Arcade 0.9.3 - installation, score popup and ACP test window */
.zip-import{margin-bottom:18px;overflow:visible}.zip-import-title{display:flex;align-items:center;gap:14px;margin-bottom:14px}.zip-import-title h2{margin:0 0 3px}.zip-import-title p{margin:0;color:#91aec8}.zip-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:#14385b;border:1px solid #2c6798;color:#63c5ff;font-weight:900;font-size:12px}.zip-form{display:grid;grid-template-columns:minmax(260px,1.4fr) minmax(190px,.7fr) auto;gap:12px;align-items:end}.zip-form label{display:grid;gap:6px;color:#a9c2d9;font-size:12px;font-weight:700}.zip-form input[type=file]{padding:8px;background:#081727;border:1px solid #28547d;border-radius:9px;color:#dbeeff}.install-now{background:#13b978!important;color:#fff!important;white-space:nowrap}.security-note{margin:12px 0 0;color:#7899b5;font-size:11px}.install-section-title{display:flex;align-items:end;justify-content:space-between;margin:18px 2px 10px}.install-section-title h2{margin:0}.install-section-title p{margin:0;color:#819db6}.install-one form{display:flex;gap:8px;align-items:center;white-space:nowrap}.install-one select{min-width:170px}.install-table td:last-child{min-width:300px}
.score-popup-page{background:#071321;min-height:100vh}.score-popup-page>header{display:none}.score-popup-page>main{max-width:none;margin:0;padding:18px}.score-confirm-card{max-width:560px;margin:18px auto;padding:0 26px 26px;overflow:hidden;background:#0c2035;color:#eaf6ff;border:1px solid #2a5d88;border-radius:16px;box-shadow:0 22px 55px #0008}.score-popup-brand{margin:0 -26px 22px;padding:13px 26px;background:#102d49;border-bottom:1px solid #2c5b82;color:#6dc8ff;font-size:11px;font-weight:900;letter-spacing:.12em}.score-confirm-card h1{margin:0 0 7px;font-size:25px}.score-game-name{color:#9fc4df;font-weight:800}.score-line{display:flex;align-items:center;justify-content:space-between;margin:18px 0;padding:15px 16px;background:#081827;border:1px solid #244b6c;border-radius:11px}.score-line span{color:#91adc5}.score-line strong{font-size:25px;color:#fff}.score-confirm-card label{display:grid;gap:7px;color:#b9cee0;font-weight:800}.score-confirm-card label small{font-weight:500;color:#7e9ab3}.score-confirm-card textarea{width:100%;box-sizing:border-box;padding:12px;border-radius:10px;border:1px solid #2a567b;background:#071725;color:#fff;resize:vertical}.score-send{display:block;min-width:190px;margin:18px auto 8px;background:#16b978!important}.score-cancel{display:block;margin:6px auto 0;border:0;background:transparent;color:#88a9c4;cursor:pointer}.score-success{text-align:center}.score-success .score-popup-brand{text-align:left}.score-success .score-big{display:inline-block;min-width:160px;padding:13px 22px;border-radius:12px;background:#081827;border:1px solid #2a567b;color:#fff}.score-return{display:inline-block;margin-top:10px}
.acp-test-page{background:#071321;overflow:hidden}.acp-test-page>header{display:none}.acp-test-page>main{max-width:none;margin:0;padding:10px}.acp-test-page .player{max-width:none;margin:0;overflow:hidden}.acp-test-page .player-title{box-sizing:border-box;padding:10px 12px;margin-bottom:10px;background:#0d2741;border:1px solid #28547d;border-radius:10px}.acp-test-page .player-title h1{font-size:16px;margin:0}.acp-test-page .player-title small{display:block;margin-top:3px;color:#83a8c6}.test-controls{display:flex;gap:8px}.test-controls button{padding:9px 13px}.acp-test-page .stage{margin:0 auto;border-radius:10px}.acp-test-page .test-banner{box-sizing:border-box;width:100%;max-width:none;margin:9px 0 0;padding:7px 10px;font-size:11px}.acp-test-page #scoreStatus:empty,.acp-test-page .game-desc:empty{display:none}.acp-test-page #scoreStatus{margin:4px 0 0}.acp-test-page .game-desc{margin:4px 0 0;font-size:11px}
@media(max-width:800px){.zip-form{grid-template-columns:1fr}.install-one form{align-items:stretch;flex-direction:column}.install-table td:last-child{min-width:210px}}
/* G-Arcade 0.9.4 — ACP polish */
.arcade-power{position:relative;display:inline-flex;cursor:pointer}.arcade-power input{position:absolute;opacity:0;pointer-events:none}.arcade-power span{min-width:190px;text-align:center;padding:11px 18px;border-radius:10px;font-weight:700;line-height:1.2;border:1px solid transparent;transition:background-color .18s ease,border-color .18s ease;transform:none;text-shadow:none}.arcade-power.is-on span{background:#0b6b42;border-color:#21c97a;color:#eafff4;box-shadow:0 0 0 1px #21c97a22}.arcade-power.is-off span{background:#6a2030;border-color:#e24a67;color:#fff0f3}.arcade-power:hover span{filter:none;box-shadow:0 0 0 2px rgba(255,255,255,.08)}
.category-filter-panel{padding:14px 16px}.category-filter-panel .section-title{margin-bottom:10px}.category-filter-panel h3{margin:0}.filter-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px}.filter-chip{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.filter-chip .chip-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:7px;background:#16416c}.filter-chip b{background:#07192a;padding:2px 8px;border-radius:999px}.search-panel{padding:12px;margin-top:12px}.full-search{width:100%;min-width:0}.full-search input{flex:1}.game-table-card{padding:0;overflow:hidden}.v2-games-table{min-width:1500px}.v2-games-table td,.v2-games-table th{vertical-align:middle}.v2-games-table td:nth-last-child(1){min-width:440px}.game-actions{min-width:430px}.game-actions form{margin:0;display:inline-flex}.game-actions .btn,.game-actions button{white-space:nowrap}.tech-square{display:inline-grid;place-items:center;min-width:34px;height:34px;border-radius:8px;background:#f1f6f8;color:#613dff;font-weight:900}.score-pill{display:inline-block;padding:5px 9px;border-radius:7px;background:#17395d;color:#e8f4ff;font-weight:800}.game-thumb-wrap{position:relative}.game-thumb-wrap a{position:relative;display:inline-block}.table-new-badge{position:absolute;right:-10px;top:-6px;transform:rotate(35deg);font-size:8px;background:#5067ff;color:#fff;padding:3px 6px;border-radius:4px}.success{background:#087b4a!important;color:#fff!important}.members-table{min-width:1050px}.member-actions{min-width:300px}.role-pill,.you-pill{display:inline-block;padding:4px 8px;border-radius:999px;background:#173552;color:#cfe8ff;font-size:12px;font-weight:800}.admin-role{background:#493276;color:#eadfff}.you-pill{background:#0d6844;color:#d9ffed;margin-left:5px}
.test-note{background:#ffd96a!important;color:#2c2100!important;border:1px solid #e2ad19!important;font-weight:800}.test-note *{color:#2c2100!important}
.ga-confirm{display:none;position:fixed;inset:0;z-index:5000;background:#02070dcc;align-items:center;justify-content:center;padding:20px}.ga-confirm.open{display:flex}.ga-confirm-box{width:min(520px,100%);background:#0c1b2e;border:1px solid #2b5d89;border-radius:16px;padding:22px;box-shadow:0 24px 80px #000a}.ga-confirm-box h3{margin:0 0 10px;font-size:22px}.ga-confirm-box p{color:#b9cee0;line-height:1.5}.ga-confirm-box .modal-actions{margin-top:18px}
@media(max-width:900px){.config-row{align-items:flex-start;flex-direction:column}.arcade-power span{min-width:0}.filter-chips{flex-wrap:wrap}.game-actions{min-width:0}}

/* G-Arcade 0.9.5 — pleine largeur ACP + portail */
.admin-main{max-width:none!important;width:auto!important;margin:0!important;padding:26px 28px!important;min-width:0}.admin{width:100%;max-width:none!important}.game-table-card{width:100%}.table-wrap{width:100%;overflow-x:auto}.v2-games-table{width:100%;min-width:1420px}.category-filter-panel,.search-panel{width:auto}.portal-hero{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:42px;border:1px solid #1e4d77;border-radius:20px;background:linear-gradient(135deg,#0d2741,#091726);margin-bottom:20px;overflow:hidden}.portal-hero.compact{padding:28px 32px}.portal-hero small,.portal-section small{color:#55bfff;font-weight:900;letter-spacing:.12em}.portal-hero h1{font-size:clamp(32px,5vw,64px);margin:7px 0}.portal-hero.compact h1{font-size:38px}.portal-hero p{color:#9bb8cf;max-width:650px}.portal-logo{font-size:110px;font-weight:1000;color:#45b7ff;opacity:.8}.portal-logo span{font-size:.55em}.portal-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0 28px}.portal-stats>div{padding:18px 22px;border:1px solid #1d4569;border-radius:14px;background:#0c2035}.portal-stats b{display:block;font-size:26px;color:#fff}.portal-stats span{color:#8faec7}.portal-section{margin-top:28px}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:14px}.section-head h2{margin:4px 0 0}.portal-games{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px}.portal-game{min-height:0!important;padding:0!important;overflow:hidden;border-radius:14px}.portal-game img,.portal-game .game-placeholder{width:100%;height:130px;object-fit:cover;display:grid;place-items:center;background:#102d49;font-size:40px}.portal-game>span:not(.game-placeholder){display:grid;gap:4px;padding:12px}.portal-game>b{padding:12px}.portal-game small{color:#789bb8;font-size:11px}.portal-categories{display:flex;gap:8px;overflow-x:auto;padding:3px 0 14px;margin-bottom:8px}.portal-chip{white-space:nowrap;padding:9px 13px;border-radius:999px;background:#0c2238;border:1px solid #204c73;color:#a9c7de;text-decoration:none}.portal-chip.on{background:#15518a;color:#fff;border-color:#2b8bda}.portal-chip b{margin-left:4px;padding:2px 6px;border-radius:999px;background:#071726}.portal-search{display:flex;gap:8px;min-width:min(430px,100%)}.portal-search input{flex:1}.portal-table{overflow:auto}.portal-table table{width:100%}.portal-table a{color:#70c8ff}.form{max-width:560px;margin:45px auto}.form input{margin-bottom:12px}
@media(max-width:900px){.admin-main{padding:16px!important}.portal-hero{padding:25px;align-items:flex-start}.portal-logo{display:none}.portal-search{min-width:0;width:100%}.portal-hero.compact{flex-direction:column}.portal-stats{grid-template-columns:1fr}.portal-games{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}}
/* G-Arcade 0.9.9 — finalisation ACP */
body:has(.admin)>main{width:100%!important;max-width:none!important;margin:0!important;padding:18px!important}.admin{grid-template-columns:230px minmax(0,1fr)!important;width:100%!important;gap:18px!important}.admin-main{width:100%!important;max-width:none!important}.gamedata-state{font-weight:800;white-space:nowrap}.gd-ok{color:#65e6a2}.gd-warn{color:#ffc45f}.gd-bad{color:#ff7485}.gd-off{color:#8099ad}.gamedata-on{border-color:#247c56!important;color:#7ceeb0!important}.gamedata-warn{border-color:#8a6424!important;color:#ffd06f!important}.gamedata-bad{border-color:#8f3343!important;color:#ff8795!important}.acp-test-page .test-banner{background:#dcae31!important;border-color:#f2c94c!important;color:#211900!important;font-weight:900}.score-popup-page .test-note{background:#e2b83f!important;color:#211900!important;border-color:#f4d36a!important}
@media(max-width:850px){body:has(.admin)>main{padding:10px!important}.admin{grid-template-columns:1fr!important}}

/* 1.0.0 - Gestion des jeux : diagnostic intégré et contraste V2 */
.game-stats-white{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:12px;margin:0 0 16px}.game-stats-white a{display:grid;gap:4px;padding:15px 16px;background:#102a46;border:2px solid rgba(255,255,255,.92);border-radius:12px;color:#fff;text-decoration:none;box-shadow:0 8px 22px #00101f38}.game-stats-white a:hover{background:#143653;border-color:#fff}.game-stats-white a.on{outline:3px solid #3da9ff;outline-offset:2px}.game-stats-white b{font-size:24px;color:#39aaff}.game-stats-white b.green{color:#39d98a}.game-stats-white b.orange{color:#ffb34d}.game-stats-white b.red{color:#ff5d75}.game-stats-white span{font-size:12px;font-weight:800;color:#dcecff}.white-outline{border:2px solid #fff!important;box-shadow:0 8px 24px #00101f26}.v2-games-table{border-collapse:collapse}.v2-games-table th,.v2-games-table td{border:1px solid rgba(255,255,255,.72)!important}.v2-games-table th{border-bottom:2px solid #fff!important}.status-pill.warn-health{background:#624713;color:#ffd26b;border:1px solid #a87a24}.status-pill.warn-health i{background:#ffb83e}.table-new-ribbon{position:absolute;left:-9px;top:7px;transform:rotate(-42deg);transform-origin:center;z-index:2;background:linear-gradient(90deg,#5b46ff,#6f8cff);color:#fff;font-size:8px;font-weight:1000;letter-spacing:.04em;padding:3px 15px;box-shadow:0 2px 5px #0008}.image-manager{display:flex;align-items:center;gap:22px}.image-manager .image-meta{flex:1}.image-upload-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:12px}.image-upload-form input[type=file]{max-width:430px}.image-upload-form button{white-space:nowrap}@media(max-width:1050px){.game-stats-white{grid-template-columns:repeat(3,1fr)}}@media(max-width:650px){.game-stats-white{grid-template-columns:repeat(2,1fr)}.image-manager{align-items:flex-start;flex-direction:column}}

/* 1.0.2 - Fiche jeu compacte, disposition de référence */
.game-sheet-layout{display:grid;grid-template-columns:128px minmax(0,1fr);gap:12px;align-items:stretch}.game-sheet-side{padding:12px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;margin:0}.game-sheet-cover{width:96px;height:96px;border-radius:10px;overflow:hidden;border:1px solid #315b80;background:#071827;display:grid;place-items:center;font-size:34px}.game-sheet-cover img{width:100%;height:100%;object-fit:cover}.game-sheet-side h2{font-size:16px;margin:2px 0 0}.game-sheet-side>p{font-size:12px;color:#a7c1d6;margin:0}.game-sheet-side .btn{width:100%;box-sizing:border-box;padding:7px 8px;font-size:12px}.game-sheet-side .status-pill{margin-top:0}.game-image-file{width:100%;margin-top:auto;padding-top:8px;border-top:1px solid #27445f;text-align:left;min-width:0}.game-image-file small{display:block;color:#7fa4c2;margin-bottom:3px}.game-image-file code{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#dcecff}.compact-image-upload{width:100%}.image-picker{display:block!important;cursor:pointer}.image-picker input{display:none}.game-sheet-form{min-width:0}.game-sheet-panels{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sheet-panel{margin:0;padding:12px}.sheet-panel h3{font-size:14px;margin:0 0 8px;padding-bottom:7px;border-bottom:1px solid #2a4864}.sheet-row{display:grid;grid-template-columns:minmax(180px,34%) minmax(0,1fr);align-items:center;gap:10px;padding:6px 0;border-bottom:1px solid #29445e}.sheet-row:last-child{border-bottom:0}.sheet-row>label:first-child{font-weight:800;color:#fff}.sheet-row input,.sheet-row select,.sheet-row textarea{width:100%;box-sizing:border-box;padding:5px 7px;min-height:28px}.sheet-description{align-items:start}.sheet-description textarea{resize:vertical;min-height:62px}.inline-check,.inline-options{display:flex!important;align-items:center;gap:12px;flex-wrap:wrap}.inline-check input,.inline-options input{width:auto}.dimension-fields{display:flex;align-items:center;gap:7px}.dimension-fields input{width:72px}.volume-input{width:66px!important;margin-left:5px}.sheet-row code{width:max-content;max-width:100%;overflow:hidden;text-overflow:ellipsis}.game-sheet-save{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px;padding:8px 10px;border:1px solid #315b80;border-radius:10px;background:#10243d}.game-sheet-save button{padding:8px 14px}.game-sheet-save .btn{padding:8px 14px}@media(max-width:1050px){.game-sheet-layout{grid-template-columns:1fr}.game-sheet-side{display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto auto auto;text-align:left;align-items:center}.game-sheet-cover{grid-row:1/4}.game-sheet-side .btn{width:auto}.game-image-file{margin:0;border:0;padding:0}.compact-image-upload{width:auto}.game-sheet-panels{grid-template-columns:1fr}}@media(max-width:650px){.game-sheet-side{display:flex;text-align:center}.sheet-row{grid-template-columns:1fr}.game-sheet-save{align-items:stretch;flex-direction:column-reverse}.game-sheet-save>*{width:100%;box-sizing:border-box;text-align:center}}

/* 1.0.3 - fiche jeu : contrôles sombres + image dans Affichage ; catégories drag & drop */
.hidden-upload-form{display:none}.image-sheet-row{align-items:center}.sheet-image-manager{display:grid;grid-template-columns:82px minmax(0,1fr);gap:12px;align-items:center}.sheet-image-preview{position:relative;width:82px;height:68px;border:1px solid #315b80;border-radius:9px;background:#071827;display:grid;place-items:center;overflow:hidden;color:#7897af;font-size:11px}.sheet-image-preview img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;object-position:center}.sheet-image-info{min-width:0;display:grid;gap:5px}.sheet-image-info code{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#dcecff}.sheet-image-info small{color:#789db9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sheet-image-info .image-picker{width:max-content;padding:6px 9px;font-size:11px}.control-toggles,.sound-control{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.control-toggle{position:relative;display:inline-flex!important;align-items:center;gap:7px;padding:5px 10px 5px 6px;border:1px solid #315b80;border-radius:9px;background:#081a2c;color:#a9c5db;cursor:pointer;transition:.15s}.control-toggle input{position:absolute!important;opacity:0!important;pointer-events:none;width:1px!important;height:1px!important}.control-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:7px;background:#102d48;color:#7f9db6}.control-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.control-toggle:has(input:checked){border-color:#27b878;background:#0b3328;color:#e2fff2;box-shadow:inset 0 0 0 1px #27b87855}.control-toggle:has(input:checked) .control-icon{background:#19a968;color:#fff}.control-toggle b{font-size:12px}.volume-control{display:inline-flex;align-items:center;gap:6px;color:#b8d0e3;font-weight:700}.volume-control input{background:#071827!important;color:#fff!important;border:1px solid #315b80!important}.category-add-card,.category-sort-card{border:1px solid #315b80}.category-add-form{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(260px,1.5fr) auto;gap:10px}.category-sort-list{display:grid;gap:8px}.category-sort-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;border:1px solid #274d70;border-radius:11px;background:#0a1e32;transition:transform .12s,opacity .12s,border-color .12s}.category-sort-row.dragging{opacity:.58;border-color:#55bfff;box-shadow:0 8px 28px #0007}.drag-handle{height:42px!important;width:42px!important;padding:0!important;display:grid!important;place-content:center;gap:4px;background:#102d48!important;border:1px solid #315b80!important;cursor:grab;touch-action:none}.drag-handle:active{cursor:grabbing}.drag-handle span{display:block;width:17px;height:2px;background:#9fc6e3;border-radius:2px}.category-edit-form{min-width:0}.category-main{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(220px,1.4fr) 150px 85px;gap:8px;align-items:center}.category-main input,.category-main select{width:100%;box-sizing:border-box}.category-count{color:#8eb3cf;font-size:12px;text-align:center}.category-actions{display:flex;gap:6px;align-items:center;flex-wrap:nowrap}.category-actions form{margin:0}.sort-state{padding:5px 9px;border-radius:999px;background:#0b2b46;color:#7dcaff;font-size:11px;font-weight:800}@media(max-width:1150px){.category-sort-row{grid-template-columns:42px 1fr}.category-actions{grid-column:2;flex-wrap:wrap}.category-main{grid-template-columns:1fr 1fr}}@media(max-width:700px){.sheet-image-manager{grid-template-columns:1fr}.category-add-form,.category-main{grid-template-columns:1fr}.category-sort-row{grid-template-columns:42px minmax(0,1fr)}}

.category-edit-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.category-save{white-space:nowrap}@media(max-width:1150px){.category-edit-form{grid-template-columns:1fr}.category-save{width:max-content}}
/* 1.0.4 - Categories: presentation inspired by G-Arcade V2 */
.v2-info-strip{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;background:#102944;border:1px solid #fff;border-radius:12px;padding:12px 16px;margin:16px 0;color:#fff}.v2-info-strip b{color:#7bc8ff}.v2-info-strip span{color:#a9bed0}.v2-info-strip em{font-style:normal;color:#71e9a7;font-weight:800}.v2-category-add{border:1px solid #fff}.v2-category-add form{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(280px,1.8fr) auto;gap:12px;align-items:end}.v2-category-add label{display:grid;gap:6px;color:#a9bed0;font-size:12px}.v2-existing-title{display:inline-block;background:#15385b;border:1px solid #fff;border-radius:9px 9px 0 0;padding:10px 15px;margin:20px 0 10px;color:#fff;font-weight:900}.v2-category-list{display:grid;gap:12px}.v2-category-card{background:#142b47;border:1px solid #fff;border-radius:13px;overflow:hidden;box-shadow:0 8px 24px #0003}.v2-category-card.dragging{opacity:.55;outline:2px dashed #55bfff}.v2-category-head{display:flex;align-items:center;gap:12px;padding:11px 13px;border-bottom:1px solid #31506d}.v2-category-title{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.v2-category-title h3{margin:0;color:#fff;font-size:16px}.v2-category-title h3 small{font-size:10px;background:#153c61;border:1px solid #3470a1;border-radius:999px;padding:3px 7px;color:#bce0ff}.v2-category-title p{margin:3px 0 0;color:#a9bed0;font-size:11px}.v2-category-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:linear-gradient(135deg,#5367f1,#17a8db);font-size:17px}.v2-category-icon.large{width:42px;height:42px}.v2-category-body{padding:12px 16px}.v2-category-edit{margin:0}.v2-category-fields{display:grid;grid-template-columns:minmax(160px,.7fr) minmax(260px,1.5fr) minmax(160px,.6fr) auto;gap:10px;align-items:end}.v2-category-fields label{display:grid;gap:5px;color:#b8d0e4;font-size:11px;font-weight:800}.v2-category-preview{display:flex;align-items:center;gap:10px;margin-top:12px;padding:9px 11px;border:1px solid #31506d;border-radius:9px;background:#0e243b}.v2-category-preview div{display:grid;gap:2px}.v2-category-preview small{color:#91aec6}.default-badge{margin-left:auto;background:#174d88;color:#d8efff;border:1px solid #3d91d8;border-radius:999px;padding:4px 9px;font-size:10px;font-weight:900}.v2-category-actions{display:flex;gap:8px;align-items:center;margin-top:10px}.v2-category-actions form{margin:0}.drag-handle{flex:0 0 28px;width:28px;height:34px;padding:6px;background:#0c2035;border:1px solid #28547d;cursor:grab}.drag-handle:active{cursor:grabbing}.drag-handle span{display:block;width:3px;height:3px;background:#70c8ff;border-radius:50%;margin:2px auto;box-shadow:5px 0 #70c8ff,-5px 0 #70c8ff}@media(max-width:1050px){.v2-category-fields{grid-template-columns:1fr 1fr}.v2-category-add form{grid-template-columns:1fr 1fr}.v2-category-add button{grid-column:1/-1}.v2-info-strip{grid-template-columns:1fr}.v2-info-strip em{justify-self:start}}@media(max-width:650px){.v2-category-fields,.v2-category-add form{grid-template-columns:1fr}.v2-category-head{align-items:flex-start}.v2-category-actions{flex-wrap:wrap}.v2-category-title h3 small{display:inline-block;margin-top:4px}}

/* 1.0.6 - Correctif structure des cartes Categories (evite les conflits avec l'ancien tri) */
.v2-category-list > .v2-category-card.category-sort-row{
  display:block;
  padding:0;
  grid-template-columns:none;
  align-items:initial;
  gap:0;
  background:#142b47;
  border:1px solid #fff;
  border-radius:13px;
  overflow:hidden;
}
.v2-category-list > .v2-category-card.category-sort-row .v2-category-head{
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:11px 13px;
}
.v2-category-list > .v2-category-card.category-sort-row .drag-handle{
  width:30px!important;
  height:38px!important;
  min-width:30px!important;
  padding:6px!important;
  display:grid!important;
  place-content:center!important;
  gap:0!important;
  background:#0c2035!important;
  border:1px solid #28547d!important;
  border-radius:8px;
}
.v2-category-list > .v2-category-card.category-sort-row .drag-handle span{
  display:block;
  width:3px;
  height:3px;
  margin:2px auto;
  background:#70c8ff;
  border-radius:50%;
  box-shadow:5px 0 #70c8ff,-5px 0 #70c8ff;
}
.v2-category-list > .v2-category-card.category-sort-row .v2-category-title{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.v2-category-list > .v2-category-card.category-sort-row .v2-category-title > div{min-width:0}
.v2-category-list > .v2-category-card.category-sort-row .status-pill{justify-self:end}
.v2-category-list > .v2-category-card.category-sort-row .v2-category-body{display:block;padding:12px 16px}
.v2-category-list > .v2-category-card.category-sort-row .v2-category-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
@media(max-width:700px){
  .v2-category-list > .v2-category-card.category-sort-row .v2-category-head{grid-template-columns:38px minmax(0,1fr)}
  .v2-category-list > .v2-category-card.category-sort-row .status-pill{grid-column:2;justify-self:start}
}

/* G-Arcade 1.0.7 - finitions fiche jeu / gestion des jeux */
.sound-icon{display:inline-grid!important;place-items:center;width:32px;height:32px;border-radius:7px;background:#f4f7f9!important;border:1px solid #d7e0e6;vertical-align:middle;box-shadow:0 1px 3px #0004}.sound-icon svg{width:20px;height:20px;fill:#20a864;stroke:#20a864;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sound-icon.off{opacity:.48}.sound-icon.off svg{fill:#728493;stroke:#728493}
.v2-games-table td:last-child{min-width:570px!important}.game-actions{width:100%;min-width:550px!important;display:flex!important;align-items:center;justify-content:space-between;gap:14px!important}.game-actions form{display:flex!important;flex:1 1 0;margin:0!important}.game-actions>.btn,.game-actions form button{width:100%;min-height:38px;padding:9px 14px!important;font-size:12px!important;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}.game-actions>.btn{flex:1 1 0}
.active-game-check{display:inline-flex!important;align-items:center;gap:9px;font-weight:800}.active-game-check input{appearance:none;-webkit-appearance:none;width:23px!important;height:23px!important;min-height:23px!important;margin:0!important;border:2px solid #42627d!important;border-radius:6px!important;background:#071827!important;display:grid;place-content:center;cursor:pointer}.active-game-check input:checked{background:#19ad68!important;border-color:#34dc8c!important;box-shadow:0 0 0 2px #19ad6830}.active-game-check input:checked:after{content:"✓";color:#fff;font-size:17px;font-weight:1000;line-height:1}
@media(max-width:1300px){.v2-games-table td:last-child{min-width:500px!important}.game-actions{min-width:480px!important;gap:9px!important}.game-actions>.btn,.game-actions form button{padding:8px 10px!important}}

/* 1.0.8 — Catégories V2 + Scores compacts */
.v2-category-top{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:28px;align-items:start;padding:2px 0 12px}
.v2-category-copy p{margin:0 0 8px;color:#fff;font-weight:700}.v2-category-copy small{color:#a8bfd2}
.v2-category-rights{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:10px;align-items:end}.v2-category-rights label{display:grid;gap:5px;color:#b8d0e4;font-size:11px;font-weight:800}
.v2-category-image-row{display:grid;grid-template-columns:52px minmax(180px,1fr) auto;gap:12px;align-items:center;padding:10px 12px;border:1px solid #31506d;border-radius:9px;background:#0e243b}
.v2-category-image{width:42px;height:42px;border-radius:9px;overflow:hidden;background:#0b1c2e;border:1px solid #386486;display:grid;place-items:center}.v2-category-image img{width:100%;height:100%;object-fit:cover}.cat-image-placeholder{font-size:22px;color:#6fc9ff}
.v2-category-image-name{display:grid;gap:2px}.v2-category-image-name small{color:#91aec6}.v2-category-image-current{display:flex;align-items:center;gap:10px}.v2-category-image-current span{font-size:11px;font-weight:900}.v2-category-image-current code{background:#071827;border:1px solid #315b80;border-radius:7px;padding:5px 8px;color:#dcecff}
.v2-category-upload{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px;padding:8px 12px;border:1px solid #31506d;border-radius:9px;background:#0c2035}.v2-category-upload form{display:flex;align-items:center;gap:10px;margin:0}.v2-category-upload input[type=file]{max-width:360px}
.score-stats{display:grid;grid-template-columns:.7fr .7fr .7fr 1.4fr;gap:12px;margin:12px 0}.score-stats>div{background:#142b47;border:1px solid #fff;border-radius:12px;padding:13px 16px;display:grid;gap:3px}.score-stats b{font-size:23px;color:#fff}.score-stats span{font-size:11px;color:#9dbbd2}.score-stats .last-score b{font-size:18px}
.score-tools{display:grid;grid-template-columns:1fr 1.5fr;gap:12px}.score-tools .card,.score-list{border:1px solid #fff}.score-tools h3,.score-list h3{margin:0 0 6px}.score-tools p{margin:0 0 10px;color:#a8bfd2;font-size:12px}.score-tools .inline{display:flex;gap:8px}.score-tools .inline select,.score-tools .inline input{flex:1}
.score-list-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.score-list-head span{color:#9dbbd2;font-size:11px}.score-value{display:inline-block;background:#153c61;border:1px solid #3470a1;border-radius:7px;padding:4px 8px;font-weight:900}
@media(max-width:1000px){.v2-category-top,.score-tools{grid-template-columns:1fr}.score-stats{grid-template-columns:1fr 1fr}.v2-category-rights{grid-template-columns:1fr}.v2-category-image-current{display:none}}
@media(max-width:650px){.score-stats{grid-template-columns:1fr}.v2-category-image-row{grid-template-columns:52px 1fr}.v2-category-upload,.v2-category-upload form{align-items:stretch;flex-direction:column}}

/* 1.0.9 — catégories V2 compactes, maintenance globale et pagination ACP */
.arcade-maintenance{max-width:760px;margin:9vh auto;padding:48px 34px;text-align:center;background:#0d2238;border:1px solid #fff;border-radius:18px;box-shadow:0 22px 70px #0007}.arcade-maintenance .maintenance-gamepad{font-size:54px;margin-bottom:10px}.arcade-maintenance h1{margin:0 0 12px;color:#fff;font-size:30px}.arcade-maintenance p{margin:0;color:#b8ccdc;font-size:16px}
.acp-pager{padding:16px 12px 4px;display:flex;justify-content:center;align-items:center;gap:7px}.acp-pager a,.acp-pager span{min-width:34px;height:34px;display:grid;place-items:center;border-radius:8px}.acp-pager a{background:#0c2237;border:1px solid #315b80;color:#ddecf7;text-decoration:none}.acp-pager a.on{background:#1687d2;border-color:#62c4ff;color:#fff;font-weight:900}.acp-pager span{color:#7393aa}
/* Reprendre la hiérarchie visuelle de V2 : entête dense, droits puis image, sans gros bloc description. */
.v2-category-card .v2-category-head{padding:9px 12px}.v2-category-card .v2-category-body{padding:10px 14px}.v2-category-top{grid-template-columns:minmax(0,1fr) minmax(300px,.62fr);gap:16px;padding:0 0 9px}.v2-category-copy p{font-size:13px;font-weight:600;margin-bottom:4px}.v2-category-copy small{font-size:10px}.v2-category-rights{grid-template-columns:minmax(170px,1fr) auto}.v2-category-image-row{padding:8px 10px;grid-template-columns:48px minmax(180px,1fr) auto}.v2-category-image{width:40px;height:40px}.v2-category-upload{padding:7px 10px;margin-top:7px}.v2-category-actions{margin-top:8px}.v2-category-actions button{min-height:32px}.v2-category-title h3{font-size:15px}.v2-category-title p{font-size:10px}.v2-category-card .status-pill{white-space:nowrap}

/* 1.1.1 — Catégories : reprise fonctionnelle de la V2 pour le standalone */
.category-help{margin-bottom:9px;padding:12px 16px}.category-help h3{margin:0 0 3px;font-size:13px}.category-help p{margin:0;color:#9dbbd2;font-size:11px}
.v2-category-add{border:1px solid #fff!important}.v2-category-add>h2{margin:0 0 16px;font-size:18px}.category-add-v2{display:grid!important;grid-template-columns:180px minmax(300px,1fr);gap:10px 18px!important;align-items:start}.category-add-v2>label,.category-add-v2>fieldset{display:grid!important;grid-template-columns:210px minmax(0,1fr);align-items:start;gap:12px;margin:0!important;color:#b8d0e4;font-size:11px;font-weight:800}.category-add-v2 textarea{min-height:68px;background:#071827!important;color:#fff!important;border:1px solid #28547d!important;border-radius:8px;padding:9px}.category-add-v2 input,.category-add-v2 select{min-width:0}.category-add-v2>label>small{grid-column:2;color:#7fa0ba;font-weight:500}.category-add-v2 fieldset{border:0;padding:0}.category-add-v2 fieldset legend{float:left;width:210px}.category-add-v2 .radio-inline{display:inline-flex!important;align-items:center;gap:5px;margin-right:14px}.category-add-v2 .radio-inline input{width:auto!important}.category-add-image{display:flex;align-items:center;gap:10px}.category-add-image>.cat-image-placeholder{width:42px;height:42px;display:grid;place-items:center;border-radius:9px;background:#173a5c;border:1px solid #3d6b92}.category-groups{min-height:70px}.category-groups:disabled{opacity:.9;color:#dbefff;background:#071827}.category-add-submit{grid-column:1/-1;justify-self:center;min-width:130px;background:#16ad6b!important}.v2-category-rights{grid-template-columns:minmax(160px,.8fr) minmax(180px,1fr) auto!important}.v2-category-rights label{display:grid;gap:5px}.v2-category-rights small{color:#7fa0ba;font-weight:500}.v2-category-rights .category-groups{min-height:76px}.v2-existing-title{margin-top:18px}
@media(max-width:950px){.category-add-v2{grid-template-columns:1fr}.category-add-v2>label,.category-add-v2>fieldset{grid-template-columns:160px minmax(0,1fr)}.v2-category-rights{grid-template-columns:1fr!important}}
@media(max-width:620px){.category-add-v2>label,.category-add-v2>fieldset{grid-template-columns:1fr}.category-add-v2>label>small{grid-column:1}.category-add-v2 fieldset legend{float:none;width:auto}.category-add-submit{grid-column:1}}
/* 1.1.2 — Catégories : finition visuelle + sélecteur d'icônes */
.v2-category-add{background:linear-gradient(145deg,#0c2035,#0a192a)!important;border:1px solid #315b80!important;border-radius:15px!important;box-shadow:0 12px 32px #0003;padding:18px 20px!important}
.v2-category-add>h2{font-size:18px!important;margin:0 0 14px!important;padding-bottom:10px;border-bottom:1px solid #234867}
.category-add-v2{grid-template-columns:1fr 1fr!important;gap:11px 22px!important;align-items:start!important}
.category-add-v2>label,.category-add-v2>fieldset{grid-template-columns:145px minmax(0,1fr)!important;gap:10px!important;align-items:center!important;padding:7px 0;border-bottom:1px solid #163550}
.category-add-v2>label:nth-of-type(2){grid-column:1/-1}.category-add-v2>label:nth-of-type(3){grid-column:1/-1}
.category-add-v2 input:not([type=radio]):not([type=file]),.category-add-v2 select,.category-add-v2 textarea{background:#071827!important;border:1px solid #2b587d!important;color:#eef8ff!important;border-radius:8px!important;min-height:36px!important}
.category-add-v2 textarea{min-height:62px!important}.category-add-v2 fieldset legend{width:145px!important;color:#b8d0e4!important}.category-add-v2 .category-groups{background:#071827!important;color:#dcecff!important;border:1px solid #2b587d!important;min-height:72px!important;opacity:1!important}
.category-add-image{display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;gap:12px!important;align-items:center!important}.new-category-icon-preview{width:54px;height:54px;object-fit:contain;padding:8px;border-radius:12px;background:#102d49;border:1px solid #3a6d96}.category-image-controls{display:grid;grid-template-columns:190px minmax(240px,1fr);gap:10px;align-items:center}.category-image-controls input[type=file]{width:100%;padding:6px;background:#081a2c;border:1px solid #28547d;border-radius:8px;color:#cfe8fb}.category-add-submit{min-width:210px!important;min-height:40px!important;border-radius:9px!important;font-weight:900!important}
.v2-category-list{gap:10px!important}.v2-category-card{background:linear-gradient(145deg,#102944,#0c2035)!important;border:1px solid #315b80!important;border-radius:13px!important;box-shadow:0 8px 24px #0002!important}.v2-category-card:hover{border-color:#4a83ad!important}.v2-category-head{background:#0b1d30!important;border-bottom:1px solid #264a68!important;padding:9px 12px!important}.v2-category-body{padding:10px 12px!important}.v2-category-top{grid-template-columns:minmax(0,1fr) minmax(500px,.9fr)!important;gap:18px!important}.v2-category-copy{padding:8px 10px;border-radius:9px;background:#0b2137;border:1px solid #234763}.v2-category-rights{grid-template-columns:180px 210px auto!important;gap:8px!important}.v2-category-rights select{background:#071827!important;color:#eaf6ff!important;border:1px solid #2d5c82!important}.v2-category-rights .category-groups{min-height:62px!important;opacity:1!important;background:#071827!important;color:#dcecff!important}
.v2-category-image-row{grid-template-columns:48px minmax(150px,1fr) minmax(340px,.7fr)!important;background:#0a1d30!important;border-color:#294f70!important;padding:8px 10px!important}.v2-category-image{width:42px!important;height:42px!important;background:#102d49!important}.category-icon-choice{display:grid;grid-template-columns:minmax(190px,1fr) auto;gap:8px;align-items:end;margin:0!important}.category-icon-choice label{display:grid;gap:4px;color:#9ebbd1;font-size:10px;font-weight:800}.category-icon-choice select{min-height:34px;background:#071827;color:#eaf6ff;border:1px solid #2d5c82;border-radius:7px}.category-icon-choice button{min-height:34px}
.v2-category-upload{background:#091b2d!important;border-color:#294f70!important}.v2-category-upload input[type=file]{padding:5px;background:#071827;border:1px solid #28547d;border-radius:7px;color:#cfe8fb}.v2-category-actions{padding-top:8px;border-top:1px solid #234763}.v2-category-actions button{min-width:110px}.v2-existing-title{background:#123554!important;border:1px solid #4b789a!important}.v2-info-strip{border:1px solid #315b80!important;background:#0d253d!important}
@media(max-width:1100px){.category-add-v2{grid-template-columns:1fr!important}.category-add-v2>label:nth-of-type(2),.category-add-v2>label:nth-of-type(3){grid-column:auto}.v2-category-top{grid-template-columns:1fr!important}.v2-category-rights{grid-template-columns:1fr 1fr auto!important}.category-image-controls{grid-template-columns:1fr}.v2-category-image-row{grid-template-columns:48px 1fr!important}.category-icon-choice{grid-column:1/-1}}
@media(max-width:650px){.category-add-v2>label,.category-add-v2>fieldset{grid-template-columns:1fr!important}.category-add-v2 fieldset legend{width:auto!important}.v2-category-rights{grid-template-columns:1fr!important}.category-add-image{grid-template-columns:1fr!important}.category-icon-choice{grid-template-columns:1fr}.v2-category-upload form{width:100%}}

/* G-Arcade 1.1.3 — catégories : organisation V2 modernisée */
.category-add-v3{display:grid;gap:16px}.new-category-top{display:grid;grid-template-columns:86px minmax(360px,1.15fr) minmax(300px,.85fr);gap:18px;align-items:start}.new-category-preview{display:grid;justify-items:center;gap:6px;color:#82a9c6;font-size:10px;font-weight:800}.new-category-preview img{width:68px;height:68px;object-fit:contain;padding:10px;border-radius:14px;background:#102d49;border:1px solid #3d7098}.new-category-fields,.new-category-image-controls{display:grid;gap:10px}.category-add-v3 label,.new-category-groups,.new-category-active{color:#b8d0e4;font-size:11px;font-weight:800}.category-add-v3 label{display:grid;gap:5px}.category-add-v3 input:not([type=radio]):not([type=file]),.category-add-v3 select,.category-add-v3 textarea{width:100%;background:#071827;color:#eef8ff;border:1px solid #2d5c82;border-radius:8px;padding:8px 10px}.category-add-v3 textarea{min-height:68px}.category-add-v3 input[type=file]{width:100%;padding:7px;background:#071827;color:#dcecff;border:1px solid #2d5c82;border-radius:8px}.new-category-options{display:grid;grid-template-columns:minmax(160px,.55fr) minmax(210px,.7fr) minmax(360px,1.35fr) 150px;gap:16px;align-items:end;padding-top:14px;border-top:1px solid #21435f}.new-category-options small{color:#759ab6}.group-choice{display:flex;flex-wrap:wrap;gap:7px;padding:7px;border-radius:9px;background:#071827;border:1px solid #2d5c82;min-height:40px;align-items:center}.group-choice label{display:inline-flex!important;align-items:center;gap:6px!important;padding:6px 9px;border-radius:7px;background:#102a43;border:1px solid #315b80;color:#dcecff!important;margin:0!important}.group-choice input{width:15px;height:15px;accent-color:#21b875}.group-choice input:checked+span{color:#74f0b0}.active-icon-buttons{display:flex;gap:8px;align-items:center}.active-icon{width:40px;height:40px!important;min-width:40px!important;padding:0!important;border-radius:9px!important;display:grid!important;place-items:center!important;cursor:pointer;border:1px solid transparent!important;opacity:.48;transition:.15s}.active-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.active-icon.yes{background:#0b4b35!important;color:#4bf0a0!important;border-color:#16784f!important}.active-icon.no{background:#52202a!important;color:#ff7181!important;border-color:#8e3040!important}.active-icon.selected,.active-icon:hover{opacity:1;box-shadow:0 0 0 2px #ffffff1c,0 0 18px currentColor}.active-icon input{position:absolute;opacity:0;pointer-events:none}.category-add-submit{justify-self:center;min-width:220px!important}.v2-category-head{display:grid!important;grid-template-columns:36px 54px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important}.header-category-image{width:48px!important;height:48px!important}.category-head-state{justify-self:end}.category-main-grid{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(620px,1.2fr);gap:14px;align-items:stretch}.category-info-panel{padding:12px;border-radius:9px;background:#0b2137;border:1px solid #234763}.category-info-panel>b{display:block;color:#8fcdf4;font-size:10px;text-transform:uppercase;margin-bottom:6px}.category-info-panel p{margin:0 0 5px;color:#fff;font-weight:700}.category-info-panel small{color:#89a9c0}.category-settings-form{display:grid;grid-template-columns:minmax(170px,.7fr) minmax(330px,1.3fr) 110px auto;gap:10px;align-items:end;padding:10px;border-radius:9px;background:#0a1e32;border:1px solid #294f70}.category-setting{display:grid;gap:5px}.category-setting>label,.category-setting>label:first-child{color:#9ebbd1;font-size:10px;font-weight:900}.category-setting select{min-height:38px;background:#071827!important;color:#eef8ff!important;border:1px solid #2d5c82!important;border-radius:8px!important}.category-settings-form .group-choice{min-height:38px;padding:4px}.category-settings-form .group-choice label{padding:5px 7px!important;font-size:10px!important}.active-setting{justify-items:start}.save-rights{min-height:38px}.category-media-tools{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(440px,1.2fr) auto;gap:10px;align-items:end;margin-top:9px;padding:9px 10px;border-radius:9px;background:#091b2d;border:1px solid #294f70}.category-icon-choice{display:grid!important;grid-template-columns:minmax(180px,1fr) auto!important;gap:8px!important;align-items:end!important}.category-icon-choice label,.category-upload-inline label{display:grid;gap:4px;color:#9ebbd1;font-size:10px;font-weight:900}.category-icon-choice select{min-height:36px;background:#071827;color:#eef8ff;border:1px solid #2d5c82;border-radius:7px}.category-upload-inline{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:8px;align-items:end}.category-upload-inline input[type=file]{padding:5px;background:#071827;border:1px solid #28547d;border-radius:7px;color:#cfe8fb}.v2-category-actions{justify-content:flex-end!important}.v2-category-actions form:first-child{margin-right:auto}.v2-category-image-row,.v2-category-upload{display:none!important}
@media(max-width:1200px){.new-category-top{grid-template-columns:80px 1fr}.new-category-image-controls{grid-column:2}.new-category-options{grid-template-columns:1fr 1fr}.category-main-grid{grid-template-columns:1fr}.category-settings-form{grid-template-columns:1fr 1fr}.category-media-tools{grid-template-columns:1fr 1fr}.category-media-tools>form:last-child{grid-column:1/-1;justify-self:end}}
@media(max-width:700px){.new-category-top{grid-template-columns:1fr}.new-category-preview,.new-category-image-controls{grid-column:auto}.new-category-options,.category-settings-form,.category-media-tools{grid-template-columns:1fr}.v2-category-head{grid-template-columns:34px 48px 1fr!important}.category-head-state{grid-column:3}.category-upload-inline,.category-icon-choice{grid-template-columns:1fr!important}}
/* 1.1.4 - categories layout hardening */
.v2-category-add{overflow:visible!important}
.category-add-v3{display:block!important;width:100%!important}
.new-category-top{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr)!important;grid-template-areas:"fields image"!important;gap:20px!important;align-items:start!important;width:100%!important}
.new-category-preview{display:none!important}
.new-category-fields{grid-area:fields!important;display:grid!important;grid-template-columns:1fr!important;gap:12px!important;min-width:0!important}
.new-category-image-controls{grid-area:image!important;display:grid!important;grid-template-columns:1fr!important;gap:12px!important;min-width:0!important;padding:12px!important;background:#0a1e32!important;border:1px solid #294f70!important;border-radius:10px!important}
.new-category-image-controls:before{content:"Image de catégorie";display:block;color:#8fcdf4;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.03em}
.new-category-options{display:grid!important;grid-template-columns:minmax(150px,.45fr) minmax(220px,.7fr) minmax(390px,1.35fr) 120px!important;gap:14px!important;align-items:end!important;width:100%!important;margin-top:16px!important;padding-top:14px!important;border-top:1px solid #21435f!important}
.new-category-groups,.new-category-active{min-width:0!important}
.new-category-active{align-self:end!important}.new-category-active .active-icon-buttons{min-height:42px!important}
.category-add-submit{display:block!important;margin:16px auto 0!important;min-width:220px!important}
.group-choice{background:#061624!important;border:1px solid #315b80!important;color:#eef8ff!important}
.group-choice label{background:#102a43!important;border:1px solid #3b668a!important;color:#eef8ff!important}
.group-choice input{filter:none!important;opacity:1!important}
.group-choice input:checked+span{color:#6ff0ad!important}
.v2-category-card{scroll-margin-top:86px!important;overflow:hidden!important}
.category-main-grid{grid-template-columns:minmax(260px,.75fr) minmax(600px,1.25fr)!important}
.category-settings-form{grid-template-columns:minmax(170px,.7fr) minmax(340px,1.35fr) 105px auto!important}
.category-media-tools{grid-template-columns:minmax(320px,.85fr) minmax(430px,1.15fr) auto!important}
.active-icon{position:relative!important}
@media(max-width:1350px){.new-category-options{grid-template-columns:1fr 1fr!important}.new-category-groups,.new-category-active{align-self:start!important}.category-main-grid{grid-template-columns:1fr!important}.category-settings-form{grid-template-columns:1fr 1fr!important}.category-media-tools{grid-template-columns:1fr 1fr!important}}
@media(max-width:850px){.new-category-top{grid-template-columns:1fr!important;grid-template-areas:"fields" "image"!important}.new-category-options,.category-settings-form,.category-media-tools{grid-template-columns:1fr!important}.category-media-tools>form:last-child{justify-self:start!important}}

/* 1.1.5 - category controls alignment + AJAX active state */
.new-category-options{grid-template-columns:minmax(140px,.55fr) minmax(240px,.9fr) minmax(420px,1.45fr) 96px!important;align-items:end!important;}
.new-category-active{justify-self:start!important;width:96px!important;}
.new-category-active .active-icon-buttons{justify-content:flex-start!important;gap:7px!important;}
.category-add-submit{grid-column:1/-1!important;}
.category-settings-form{grid-template-columns:minmax(190px,.75fr) minmax(360px,1.35fr) 96px minmax(170px,.65fr)!important;align-items:end!important;}
.category-settings-form .active-setting{width:96px!important;justify-self:start!important;}
.category-settings-form .active-icon-buttons{gap:7px!important;flex-wrap:nowrap!important;}
.category-settings-form .save-rights{width:100%!important;min-width:0!important;}
@media(max-width:1350px){.new-category-options{grid-template-columns:minmax(140px,.55fr) minmax(220px,.85fr) minmax(340px,1.3fr) 96px!important}.category-settings-form{grid-template-columns:minmax(170px,.7fr) minmax(300px,1.2fr) 96px minmax(150px,.6fr)!important}}
@media(max-width:1050px){.new-category-options,.category-settings-form{grid-template-columns:1fr 1fr!important}.new-category-active,.category-settings-form .active-setting{width:auto!important}.category-add-submit{grid-column:1/-1!important}}
@media(max-width:700px){.new-category-options,.category-settings-form{grid-template-columns:1fr!important}.category-add-submit{grid-column:auto!important}}

/* 1.1.6 - catégories : vraie restructuration visuelle (sans toucher à l'AJAX) */
.category-add-v3{display:block!important}
.new-category-v4{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr)!important;grid-template-areas:"name image" "description description" "settings settings" "groups groups" "submit submit"!important;gap:14px 20px!important;align-items:start!important}
.new-category-v4 label{display:grid!important;gap:6px!important;color:#b8d0e4!important;font-size:11px!important;font-weight:800!important}
.new-category-name{grid-area:name!important;align-self:center!important}
.new-category-name input{min-height:42px!important}
.new-category-image-panel{grid-area:image!important;display:grid!important;grid-template-columns:82px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;padding:12px!important;background:#0a1e32!important;border:1px solid #315b80!important;border-radius:11px!important}
.new-category-image-panel .new-category-preview{display:grid!important;justify-items:center!important;gap:5px!important}
.new-category-image-panel .new-category-preview img{width:66px!important;height:66px!important;object-fit:contain!important;padding:9px!important;border-radius:12px!important;background:#102d49!important;border:1px solid #3d7098!important}
.new-category-image-panel .new-category-image-controls{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;padding:0!important;background:none!important;border:0!important}
.new-category-image-panel .new-category-image-controls:before{display:none!important}
.new-category-description{grid-area:description!important}
.new-category-description textarea{min-height:74px!important;resize:vertical!important}
.new-category-settings{grid-area:settings!important;display:grid!important;grid-template-columns:160px minmax(260px,360px) 110px!important;gap:18px!important;align-items:end!important;padding-top:14px!important;border-top:1px solid #21435f!important;justify-content:start!important}
.new-category-settings small{color:#759ab6!important;font-size:10px!important}
.new-category-settings .new-category-active{width:110px!important;justify-self:start!important;align-self:end!important}
.new-category-settings .active-icon-buttons{min-height:42px!important;justify-content:flex-start!important}
.new-category-groups{grid-area:groups!important;display:grid!important;grid-template-columns:150px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;padding:10px 12px!important;background:#091b2d!important;border:1px solid #294f70!important;border-radius:10px!important}
.new-category-groups>b{color:#9ebbd1!important;font-size:11px!important}
.new-category-groups .group-choice{min-height:42px!important}
.new-category-submit-row{grid-area:submit!important;display:flex!important;justify-content:center!important;padding-top:2px!important}
.new-category-submit-row .category-add-submit{margin:0!important;min-width:230px!important}
/* Cartes existantes : hiérarchie plus compacte, proche de la V2 */
.v2-category-card{border-color:#3b668a!important}
.v2-category-head{min-height:66px!important;padding:9px 14px!important}
.v2-category-head .header-category-image{width:50px!important;height:50px!important;padding:5px!important;border-radius:10px!important;background:#102d49!important;border:1px solid #3b668a!important}
.category-main-grid{grid-template-columns:minmax(240px,.65fr) minmax(0,1.35fr)!important;gap:12px!important}
.category-info-panel{min-height:100%!important}
.category-settings-form{grid-template-columns:minmax(180px,.8fr) minmax(320px,1.35fr) 100px minmax(150px,.65fr)!important;gap:12px!important;padding:12px!important}
.category-media-tools{grid-template-columns:minmax(280px,.8fr) minmax(360px,1.15fr) auto!important;gap:12px!important;padding:11px 12px!important}
@media(max-width:1150px){.new-category-v4{grid-template-columns:1fr!important;grid-template-areas:"name" "image" "description" "settings" "groups" "submit"!important}.new-category-settings{grid-template-columns:150px minmax(240px,1fr) 110px!important}.category-main-grid{grid-template-columns:1fr!important}.category-settings-form{grid-template-columns:1fr 1fr!important}.category-media-tools{grid-template-columns:1fr 1fr!important}}
@media(max-width:720px){.new-category-image-panel{grid-template-columns:1fr!important}.new-category-settings{grid-template-columns:1fr!important}.new-category-groups{grid-template-columns:1fr!important}.category-settings-form,.category-media-tools{grid-template-columns:1fr!important}}

/* 1.1.8 - formulaire Ajouter une catégorie compact */
.v2-category-add{padding:14px 20px 16px!important}
.v2-category-add>h2{margin:0 0 10px!important;padding-bottom:9px!important;font-size:17px!important}
.new-category-v4{grid-template-columns:minmax(0,1.4fr) minmax(420px,.6fr)!important;grid-template-areas:"name image" "description image" "settings groups" "submit submit"!important;gap:10px 16px!important;align-items:end!important}
.new-category-name{align-self:end!important}
.new-category-name input{min-height:38px!important;height:38px!important}
.new-category-image-panel{grid-template-columns:66px minmax(0,1fr)!important;gap:10px!important;padding:9px 11px!important;align-self:stretch!important;min-height:0!important}
.new-category-image-panel .new-category-preview{gap:3px!important;font-size:9px!important}
.new-category-image-panel .new-category-preview img{width:54px!important;height:54px!important;padding:7px!important;border-radius:10px!important}
.new-category-image-panel .new-category-image-controls{gap:6px!important}
.new-category-image-panel select{min-height:34px!important;padding:5px 9px!important}
.new-category-image-panel input[type=file]{padding:4px 7px!important;min-height:34px!important}
.new-category-description textarea{min-height:56px!important;height:56px!important;padding:7px 9px!important}
.new-category-settings{grid-template-columns:120px minmax(220px,360px) 96px!important;gap:12px!important;padding-top:9px!important;align-self:start!important}
.new-category-settings input,.new-category-settings select{min-height:36px!important;height:36px!important;padding:5px 9px!important}
.new-category-settings .new-category-active{width:96px!important}
.new-category-settings .active-icon-buttons{min-height:36px!important;gap:6px!important}
.new-category-settings .active-icon{width:36px!important;height:36px!important;min-width:36px!important}
.new-category-settings .active-icon svg{width:20px!important;height:20px!important}
.new-category-groups{grid-template-columns:125px minmax(0,1fr)!important;gap:8px!important;padding:6px 8px!important;align-self:start!important;min-height:49px!important}
.new-category-groups .group-choice{min-height:36px!important;padding:4px!important;gap:5px!important}
.new-category-groups .group-choice label{padding:4px 7px!important;font-size:10px!important}
.new-category-submit-row{padding-top:0!important}
.new-category-submit-row .category-add-submit{min-width:210px!important;min-height:38px!important;height:38px!important}
@media(max-width:1250px){.new-category-v4{grid-template-columns:1fr!important;grid-template-areas:"name" "image" "description" "settings" "groups" "submit"!important}.new-category-image-panel{align-self:auto!important}.new-category-settings{grid-template-columns:120px minmax(220px,1fr) 96px!important}}
@media(max-width:720px){.new-category-settings,.new-category-groups{grid-template-columns:1fr!important}.new-category-image-panel{grid-template-columns:58px minmax(0,1fr)!important}}


/* 1.1.9 - Ajouter une catégorie : disposition compacte inspirée de la V2 */
.v2-category-add{padding:12px 16px 13px!important}
.v2-category-add>h2{margin:0 0 8px!important;padding-bottom:7px!important;font-size:15px!important}
.new-category-v5{display:grid;gap:7px!important}
.new-category-v5 .cat-add-row{display:grid;grid-template-columns:170px minmax(0,1fr);gap:12px;align-items:center;min-height:34px}
.new-category-v5 .cat-add-row>b{color:#dcecff;font-size:11px;font-weight:900}
.new-category-v5 input,.new-category-v5 select,.new-category-v5 textarea{min-width:0!important}
.new-category-v5 input[name=name]{width:100%;height:34px!important;min-height:34px!important}
.new-category-v5 textarea{width:100%;height:48px!important;min-height:48px!important;resize:vertical!important;padding:7px 9px!important;background:#071827!important;color:#fff!important}
.cat-add-image-inline{display:flex;align-items:center;gap:10px;min-width:0;padding:3px 0}
.cat-add-image-inline .new-category-preview{display:flex!important;align-items:center!important;gap:7px!important;flex:0 0 auto!important}
.cat-add-image-inline .new-category-preview img{width:46px!important;height:46px!important;object-fit:contain!important;padding:6px!important;border-radius:9px!important;background:#102d49!important;border:1px solid #3d7098!important}
.cat-add-image-inline .new-category-preview span{display:none!important}
.cat-add-image-inline label{display:flex!important;align-items:center!important;gap:7px!important;color:#9ebbd1!important;font-size:10px!important;font-weight:800!important;white-space:nowrap!important}
.cat-add-image-inline select{width:190px!important;height:34px!important;min-height:34px!important}
.cat-add-image-inline .cat-upload{flex:1 1 auto!important;min-width:280px!important}
.cat-add-image-inline input[type=file]{width:100%!important;min-height:34px!important;padding:4px 7px!important}
.cat-controls-inline{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap}
.cat-controls-inline>label{display:grid!important;gap:4px!important;color:#9ebbd1!important;font-size:10px!important;font-weight:800!important}
.cat-controls-inline label:first-child{width:120px}.cat-controls-inline label:nth-child(2){width:250px}
.cat-controls-inline input,.cat-controls-inline select{height:34px!important;min-height:34px!important;padding:5px 8px!important}
.cat-controls-inline small{color:#759ab6!important;font-size:9px!important;font-weight:500!important}
.cat-controls-inline .new-category-active{width:auto!important;display:grid!important;gap:4px!important;align-self:flex-start!important}
.cat-controls-inline .new-category-active>b{color:#9ebbd1!important;font-size:10px!important}
.cat-controls-inline .active-icon-buttons{min-height:34px!important;gap:5px!important}
.cat-controls-inline .active-icon{width:34px!important;height:34px!important;min-width:34px!important}
.cat-controls-inline .active-icon svg{width:19px!important;height:19px!important}
.new-category-v5>.cat-add-row>.group-choice{min-height:38px!important;padding:4px 6px!important;gap:6px!important;width:max-content;max-width:100%}
.new-category-v5>.cat-add-row>.group-choice label{padding:4px 8px!important;font-size:10px!important}
.new-category-v5 .new-category-submit-row{display:flex!important;justify-content:center!important;padding-top:4px!important;border-top:1px solid #21435f!important;margin-top:2px!important}
.new-category-v5 .category-add-submit{min-width:180px!important;height:34px!important;min-height:34px!important;padding:5px 18px!important}
@media(max-width:1000px){.new-category-v5 .cat-add-row{grid-template-columns:130px minmax(0,1fr)}.cat-add-image-inline{flex-wrap:wrap}.cat-add-image-inline .cat-upload{min-width:220px!important}}
@media(max-width:700px){.new-category-v5 .cat-add-row{grid-template-columns:1fr;gap:4px}.cat-add-image-inline,.cat-controls-inline{align-items:stretch}.cat-add-image-inline label{white-space:normal!important}.cat-add-image-inline select,.cat-add-image-inline .cat-upload,.cat-controls-inline>label{width:100%!important;min-width:0!important}.new-category-v5>.cat-add-row>.group-choice{width:100%}}

/* 1.1.10 - finitions visuelles du formulaire Categories */
@media (min-width:1101px){
  .new-category-v5{grid-template-columns:minmax(0,1.45fr) minmax(430px,.95fr)!important;column-gap:18px!important;row-gap:8px!important;align-items:start!important}
  .new-category-v5>.cat-add-row:nth-child(1){grid-column:1!important;grid-row:1!important}
  .new-category-v5>.cat-add-row:nth-child(2){grid-column:2!important;grid-row:1 / span 2!important;grid-template-columns:170px minmax(0,1fr)!important;align-self:stretch!important}
  .new-category-v5>.cat-add-row:nth-child(3){grid-column:1!important;grid-row:2!important}
  .new-category-v5>.cat-add-row:nth-child(4){grid-column:1!important;grid-row:3!important}
  .new-category-v5>.cat-add-row:nth-child(5){grid-column:2!important;grid-row:3!important;grid-template-columns:170px minmax(0,1fr)!important;align-self:end!important}
  .new-category-v5>.new-category-submit-row{grid-column:2!important;grid-row:2!important;align-self:end!important;margin:0!important;padding:8px 0 0!important;border-top:1px solid #21435f!important}
  .new-category-v5>.cat-add-row:nth-child(1) input[name=name]{max-width:none!important}
  .new-category-v5>.cat-add-row:nth-child(2) textarea{height:48px!important;min-height:48px!important}
  .new-category-v5>.cat-add-row:nth-child(5)>.group-choice{justify-self:start!important}
}
@media (max-width:1100px){
  .new-category-v5{grid-template-columns:1fr!important}
  .new-category-v5>.cat-add-row,.new-category-v5>.new-category-submit-row{grid-column:1!important;grid-row:auto!important}
}


/* 1.1.11 - réglages catégories : groupes avant Actif, Actif à droite, Ajouter centré en bas */
@media (min-width:1101px){
  .new-category-v5{grid-template-columns:minmax(0,1.45fr) minmax(430px,.95fr)!important;grid-template-areas:"name description" "image image" "controls controls" "submit submit"!important;column-gap:18px!important;row-gap:8px!important}
  .new-category-v5>.cat-add-row:nth-child(1){grid-area:name!important}
  .new-category-v5>.cat-add-row:nth-child(2){grid-area:description!important;grid-template-columns:150px minmax(0,1fr)!important;align-self:auto!important}
  .new-category-v5>.cat-add-row:nth-child(3){grid-area:image!important}
  .new-category-v5>.cat-add-row:nth-child(4){grid-area:controls!important}
  .new-category-v5>.new-category-submit-row{grid-area:submit!important;grid-column:auto!important;grid-row:auto!important;display:flex!important;justify-content:center!important;align-items:center!important;border-top:1px solid #21435f!important;margin-top:2px!important;padding:10px 0 0!important}
  .cat-controls-inline{display:grid!important;grid-template-columns:120px 250px minmax(430px,1fr) 92px!important;align-items:end!important;gap:14px!important;width:100%!important}
  .cat-controls-inline>label:first-child,.cat-controls-inline>label:nth-child(2){width:auto!important}
  .cat-groups-inline{display:grid!important;gap:4px!important;min-width:0!important}
  .cat-groups-inline>b,.cat-controls-inline .new-category-active>b{color:#9ebbd1!important;font-size:10px!important;font-weight:800!important}
  .cat-groups-inline .group-choice{width:max-content!important;max-width:100%!important;min-height:34px!important;padding:3px 5px!important;gap:5px!important}
  .cat-groups-inline .group-choice label{padding:4px 7px!important;font-size:10px!important}
  .cat-controls-inline .new-category-active{justify-self:end!important;align-self:end!important;width:92px!important}
  .cat-controls-inline .active-icon-buttons{justify-content:flex-end!important}
  .new-category-v5 .category-add-submit{min-width:200px!important}
}
@media (max-width:1100px){
  .cat-groups-inline{display:grid!important;gap:5px!important;width:100%!important}
  .cat-groups-inline .group-choice{width:100%!important}
}

/* 1.1.12 - alignement final Réglages + vrai centrage du bouton Ajouter */
@media (min-width:1101px){
  .new-category-v5>.cat-add-row:nth-child(4){
    grid-column:1 / -1!important;
  }
  .cat-controls-inline{
    grid-template-columns:120px 250px max-content 92px!important;
    justify-content:center!important;
    align-items:start!important;
    column-gap:18px!important;
    width:100%!important;
  }
  .cat-controls-inline>label,
  .cat-groups-inline,
  .cat-controls-inline .new-category-active{
    align-self:start!important;
    margin:0!important;
  }
  .cat-controls-inline>label{grid-template-rows:auto 34px auto!important}
  .cat-controls-inline>label:nth-child(2){grid-template-rows:auto 34px!important}
  .cat-groups-inline{grid-template-rows:auto 34px!important}
  .cat-groups-inline .group-choice{min-height:34px!important;height:34px!important;align-items:center!important}
  .cat-controls-inline .new-category-active{width:92px!important;justify-self:start!important;grid-template-rows:auto 34px!important}
  .cat-controls-inline .active-icon-buttons{min-height:34px!important;height:34px!important;justify-content:flex-start!important;align-items:center!important}
  .new-category-v5>.new-category-submit-row{
    grid-column:1 / -1!important;
    grid-row:auto!important;
    width:100%!important;
    justify-self:stretch!important;
    justify-content:center!important;
    box-sizing:border-box!important;
  }
  .new-category-v5 .category-add-submit{
    margin:0 auto!important;
  }
}

/* 1.1.13 - ligne Réglages calée sur la grille principale, sans centrage artificiel */
@media (min-width:1101px){
  .new-category-v5>.cat-add-row:nth-child(4){
    display:grid!important;
    grid-template-columns:170px minmax(0,1fr)!important;
    gap:12px!important;
    align-items:start!important;
    width:100%!important;
  }
  .cat-controls-inline{
    display:grid!important;
    grid-template-columns:120px 250px auto 92px!important;
    justify-content:start!important;
    align-items:start!important;
    column-gap:14px!important;
    width:max-content!important;
    max-width:100%!important;
  }
  .cat-controls-inline>label,
  .cat-groups-inline,
  .cat-controls-inline .new-category-active{
    margin:0!important;
    align-self:start!important;
    justify-self:start!important;
  }
  .cat-controls-inline>label:first-child{width:120px!important}
  .cat-controls-inline>label:nth-child(2){width:250px!important}
  .cat-groups-inline{width:auto!important;min-width:0!important}
  .cat-groups-inline .group-choice{
    display:flex!important;
    width:auto!important;
    max-width:none!important;
    height:34px!important;
    min-height:34px!important;
    padding:3px 5px!important;
    gap:5px!important;
    align-items:center!important;
  }
  .cat-groups-inline .group-choice label{
    display:flex!important;
    width:auto!important;
    min-width:0!important;
    height:26px!important;
    padding:3px 7px!important;
    gap:5px!important;
    flex:0 0 auto!important;
  }
  .cat-groups-inline .group-choice input{width:14px!important;height:14px!important;min-width:14px!important}
  .cat-controls-inline .new-category-active{width:92px!important}
  .cat-controls-inline .active-icon-buttons{justify-content:flex-start!important}
}


/* 1.1.14 - cartes des catégories existantes : présentation compacte et alignée */
@media (min-width:1101px){
  .existing-category-compact .v2-category-body{padding:10px 12px!important}
  .existing-category-compact .category-main-grid{
    display:grid!important;
    grid-template-columns:minmax(260px,.72fr) minmax(720px,1.65fr)!important;
    gap:10px!important;
    align-items:stretch!important;
  }
  .existing-category-compact .category-info-panel{
    min-height:0!important;
    padding:9px 11px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
  }
  .existing-category-compact .category-info-panel>b{margin-bottom:4px!important}
  .existing-category-compact .category-info-panel p{margin:0 0 3px!important}
  .existing-category-compact .category-info-panel small{line-height:1.25!important}

  .existing-category-compact .category-settings-form{
    display:grid!important;
    grid-template-columns:190px minmax(330px,1fr) 92px 180px!important;
    gap:9px!important;
    align-items:end!important;
    padding:8px 9px!important;
  }
  .existing-category-compact .category-setting{gap:4px!important}
  .existing-category-compact .category-setting select{height:36px!important;min-height:36px!important}
  .existing-category-compact .category-settings-form .group-choice{
    display:flex!important;
    flex-wrap:nowrap!important;
    width:100%!important;
    height:36px!important;
    min-height:36px!important;
    padding:3px 5px!important;
    gap:5px!important;
    overflow:hidden!important;
  }
  .existing-category-compact .category-settings-form .group-choice label{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    height:28px!important;
    padding:3px 7px!important;
    gap:5px!important;
    white-space:nowrap!important;
  }
  .existing-category-compact .category-settings-form .group-choice input{
    width:14px!important;height:14px!important;min-width:14px!important
  }
  .existing-category-compact .active-setting{width:92px!important;justify-self:start!important}
  .existing-category-compact .active-setting .active-icon-buttons{height:36px!important;gap:6px!important}
  .existing-category-compact .active-setting .active-icon{width:36px!important;height:36px!important;min-width:36px!important}
  .existing-category-compact .active-setting .active-icon svg{width:20px!important;height:20px!important}
  .existing-category-compact .save-rights{
    width:180px!important;
    min-width:180px!important;
    height:36px!important;
    min-height:36px!important;
    padding:0 12px!important;
    white-space:nowrap!important;
  }

  .existing-category-compact .category-media-tools{
    display:grid!important;
    grid-template-columns:minmax(300px,.85fr) minmax(430px,1.25fr) auto!important;
    gap:9px!important;
    align-items:end!important;
    margin-top:8px!important;
    padding:8px 9px!important;
  }
  .existing-category-compact .category-icon-choice,
  .existing-category-compact .category-upload-inline{gap:7px!important}
  .existing-category-compact .category-icon-choice select,
  .existing-category-compact .category-icon-choice button,
  .existing-category-compact .category-upload-inline button{height:34px!important;min-height:34px!important}
  .existing-category-compact .category-upload-inline input[type=file]{height:34px!important;box-sizing:border-box!important}
  .existing-category-compact .category-media-tools>form:last-child{align-self:end!important}
  .existing-category-compact .category-media-tools>form:last-child button{height:34px!important;min-height:34px!important;white-space:nowrap!important}

  .existing-category-compact .v2-category-actions{
    margin-top:7px!important;
    padding-top:7px!important;
    min-height:34px!important;
  }
  .existing-category-compact .v2-category-actions button{height:32px!important;min-height:32px!important}
}
@media (max-width:1400px) and (min-width:1101px){
  .existing-category-compact .category-main-grid{grid-template-columns:minmax(230px,.6fr) minmax(650px,1.4fr)!important}
  .existing-category-compact .category-settings-form{grid-template-columns:170px minmax(300px,1fr) 88px 155px!important}
  .existing-category-compact .save-rights{width:155px!important;min-width:155px!important}
}

/* 1.1.16 - finitions cartes catégories : suppression centrée + selects lisibles */
.existing-category-compact .v2-category-actions{
  display:grid!important;
  grid-template-columns:1fr auto 1fr!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
}
.existing-category-compact .v2-category-actions form:first-child{
  grid-column:1!important;
  justify-self:start!important;
  margin:0!important;
}
.existing-category-compact .v2-category-actions form:last-child{
  grid-column:2!important;
  justify-self:center!important;
  margin:0!important;
}
.existing-category-compact .category-icon-choice select{
  height:38px!important;
  min-height:38px!important;
  padding:6px 10px!important;
  line-height:1.25!important;
  vertical-align:middle!important;
}
.existing-category-compact .category-icon-choice button,
.existing-category-compact .category-upload-inline button,
.existing-category-compact .category-upload-inline input[type=file]{
  height:38px!important;
  min-height:38px!important;
  box-sizing:border-box!important;
}
.existing-category-compact .category-setting select{
  height:38px!important;
  min-height:38px!important;
  padding:6px 10px!important;
  line-height:1.25!important;
}
@media(max-width:700px){
  .existing-category-compact .v2-category-actions{
    grid-template-columns:1fr!important;
    justify-items:stretch!important;
  }
  .existing-category-compact .v2-category-actions form:first-child,
  .existing-category-compact .v2-category-actions form:last-child{
    grid-column:1!important;
    justify-self:stretch!important;
  }
  .existing-category-compact .v2-category-actions button{width:100%!important}
}

/* 1.1.17 - couleurs des badges catégories et bouton par défaut */
.v2-category-title h3 .visibility-badge{border-radius:999px;padding:3px 8px;font-size:10px;font-weight:900}
.v2-category-title h3 .visibility-public{background:#123f69!important;border-color:#2d86c7!important;color:#cfeeff!important}
.v2-category-title h3 .visibility-members{background:#0b5b55!important;border-color:#19a99b!important;color:#c9fff5!important;box-shadow:0 0 0 1px #0c776b33 inset}
.v2-category-title h3 .visibility-admins{background:#513576!important;border-color:#8a62bf!important;color:#f0e4ff!important}
.default-badge{background:linear-gradient(180deg,#9a6515,#6f4308)!important;color:#fff1bf!important;border-color:#e1a63d!important;box-shadow:0 0 10px #e1a63d22}
.existing-category-compact .category-default-button{background:#173d67!important;color:#fff3c8!important;border:1px solid #d49a35!important;box-shadow:inset 0 0 0 1px #ffd36b18}
.existing-category-compact .category-default-button:disabled{opacity:1!important;cursor:default!important;background:#1a3554!important;color:#f6d98b!important;border-color:#a8792d!important}

/* 1.1.18 - finitions visuelles Gestion des scores */
.score-stats>div{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.92)!important;
  border-bottom-width:3px!important;
  box-shadow:0 8px 20px #00101f2e;
}
.score-stats>div:nth-child(1){border-bottom-color:#3aa8ff!important}
.score-stats>div:nth-child(1) b{color:#64bdff}
.score-stats>div:nth-child(2){border-bottom-color:#2fd494!important}
.score-stats>div:nth-child(2) b{color:#55e0aa}
.score-stats>div:nth-child(3){border-bottom-color:#9b78ff!important}
.score-stats>div:nth-child(3) b{color:#b49aff}
.score-stats>div:nth-child(4){border-bottom-color:#e6aa45!important}
.score-stats>div:nth-child(4) b{color:#ffd077}
.score-tools .card,.score-list{
  border:1px solid rgba(255,255,255,.82)!important;
  box-shadow:0 8px 22px #00101f24;
}
.score-list .table-wrap{
  border:1px solid #244866;
  border-radius:10px;
  overflow:auto;
}
.score-list table{border-collapse:collapse}
.score-list th{
  background:#0b1e32;
  color:#eaf6ff;
  border-bottom:2px solid #315a7b!important;
}
.score-list td{
  border-bottom:1px solid #27445f!important;
}
.score-list tr:last-child td{border-bottom:0!important}
.score-list tbody tr:hover td,.score-list tr:hover td{background:#10253b}
.score-list td+td,.score-list th+th{border-left:1px solid #173957}
.score-list .score-value{box-shadow:inset 0 0 0 1px #5ca5d633}
@media(max-width:650px){
  .score-list td+td,.score-list th+th{border-left-color:#173957}
}


/* 1.1.19 - Activité des joueurs : lancements + scores */
.activity-toolbar{display:grid;grid-template-columns:minmax(360px,.85fr) minmax(520px,1.5fr);gap:14px;align-items:end;border:1px solid rgba(255,255,255,.82)!important}
.activity-retention{display:grid;grid-template-columns:minmax(210px,1fr) 170px auto;gap:10px;align-items:end}
.activity-retention>div{display:grid;gap:3px}.activity-retention small{color:#82a6c3;font-size:11px}.activity-retention select,.activity-retention button,.activity-search input,.activity-search button{min-height:38px}
.activity-search{display:grid!important;grid-template-columns:1fr auto;gap:8px;margin:0!important}.activity-list{border:1px solid rgba(255,255,255,.82)!important;box-shadow:0 8px 22px #00101f24}.activity-list .table-wrap{border:1px solid #244866;border-radius:10px;overflow:auto}.activity-table{border-collapse:collapse}.activity-table th{background:#0b1e32;border-bottom:2px solid #315a7b!important}.activity-table td{border-bottom:1px solid #27445f!important}.activity-table td+td,.activity-table th+th{border-left:1px solid #173957}.activity-table tr:hover td{background:#10253b}.activity-kind{display:inline-flex;align-items:center;justify-content:center;min-width:112px;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800;border:1px solid}.activity-kind.launch{color:#67c8ff;background:#0c3150;border-color:#23638d}.activity-kind.score{color:#ffd273;background:#49350d;border-color:#8d6a22}.activity-score{display:inline-block;padding:4px 8px;border-radius:6px;background:#123a5c;border:1px solid #2e6c9c;color:#fff;font-weight:800}.activity-hero strong{color:#6bd6ff}
@media(max-width:1100px){.activity-toolbar{grid-template-columns:1fr}.activity-retention{grid-template-columns:1fr 180px auto}}
@media(max-width:700px){.activity-retention{grid-template-columns:1fr}.activity-search{grid-template-columns:1fr}.activity-kind{min-width:0}}


/* 1.1.20 - Gestion complète des membres */
.member-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.member-stats>div:nth-child(1){border-bottom:3px solid #3aa8ff}.member-stats>div:nth-child(2){border-bottom:3px solid #2fd494}.member-stats>div:nth-child(3){border-bottom:3px solid #9b78ff}
.member-edit-card{margin-bottom:18px;border:1px solid #39739d!important;box-shadow:0 8px 22px #00101f2b}
.member-edit-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid #244866}.member-edit-head h2{margin:3px 0 2px}.member-edit-head p{margin:0;color:#8ba3b8}
.member-edit-form{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:12px;align-items:start}.member-edit-form label{display:grid;gap:6px;font-weight:750;color:#b9d3e7}.member-edit-form input,.member-edit-form select{width:100%;min-height:40px;box-sizing:border-box}.member-edit-form select:disabled{opacity:.72}.member-edit-form small{font-weight:500;line-height:1.25}.member-edit-submit{grid-column:1/-1;display:flex;justify-content:center;padding-top:2px}.member-edit-submit button{min-width:220px}
.member-list-card{border:1px solid rgba(255,255,255,.78)!important}.member-list-head{display:flex;justify-content:space-between;align-items:center;padding:0 4px 12px;color:#9fc0d8}.members-table th{background:#0b1e32;border-bottom:2px solid #315a7b!important}.members-table td{border-bottom:1px solid #27445f!important}.members-table td+td,.members-table th+th{border-left:1px solid #173957}.members-table tr:hover td{background:#10253b}.member-actions{flex-wrap:nowrap;align-items:center}.member-actions .btn,.member-actions button{white-space:nowrap}.protected-member{white-space:nowrap}
@media(max-width:1150px){.member-edit-form{grid-template-columns:repeat(2,minmax(220px,1fr))}.member-actions{flex-wrap:wrap}}
@media(max-width:700px){.member-stats{grid-template-columns:1fr!important}.member-edit-form{grid-template-columns:1fr}.member-edit-head{display:block}.member-edit-head .btn{margin-top:10px}.member-edit-submit{grid-column:1}.member-edit-submit button{width:100%}}

/* G-Arcade 1.1.22 — portail public + alignement du bouton d'accès */
.config-row{position:relative}
.arcade-power-save-status{position:absolute;right:0;top:calc(50% + 28px);min-height:14px;color:#78d9a8;font-size:10px;white-space:nowrap}
.portal-game-image{position:relative;display:block;width:100%;height:150px;overflow:hidden;background:#081727}
.portal-game-image img{width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important;border-radius:0!important;transition:transform .18s ease}
.portal-game:hover .portal-game-image img{transform:scale(1.035)}
.portal-game{position:relative;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.portal-game:hover{transform:translateY(-2px);border-color:#2e78ad;box-shadow:0 12px 28px #0005}
.portal-game-info{display:grid;gap:5px;padding:12px 13px 13px!important}
.portal-game-info>b{font-size:14px;color:#f4f9ff}
.portal-game-info small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.portal-game-info em{font-style:normal;font-size:10px;font-weight:800;color:#51b9ff;text-transform:uppercase;letter-spacing:.04em;margin-top:2px}
.portal-new-ribbon{position:absolute;z-index:2;right:-31px;top:13px;width:112px;padding:4px 0;text-align:center;transform:rotate(38deg);background:#4c63ff;color:#fff;font-size:9px;line-height:1;font-weight:1000;letter-spacing:.06em;box-shadow:0 2px 8px #0006}
.game-placeholder{position:relative!important;height:150px!important;overflow:hidden}
.portal-categories{align-items:center}
.portal-chip{display:inline-flex;align-items:center;gap:7px}
.portal-chip img{width:22px;height:22px;object-fit:contain;border-radius:5px;background:#102e49;padding:2px}
.catalog-hero{margin-bottom:14px}
.portal-empty{grid-column:1/-1;display:grid;gap:5px;place-items:center;min-height:150px;padding:28px;border:1px dashed #28547d;border-radius:14px;background:#0a192a;color:#9eb8cd}
.portal-empty b{color:#fff}
.play-now{background:#0c9b61!important;box-shadow:0 0 0 1px #34dc9126}
.play-now:hover{filter:brightness(1.08)}
.public-game-sheet{display:grid;grid-template-columns:minmax(260px,360px) minmax(0,1fr);gap:24px;max-width:1250px;margin:36px auto;padding:22px;border:1px solid #1e4d77;border-radius:20px;background:#0b1d31;box-shadow:0 24px 70px #0004}
.public-game-cover{position:relative;min-height:320px;border:1px solid #28547d;border-radius:15px;overflow:hidden;background:#071523;display:grid;place-items:center}
.public-game-cover>img{width:100%;height:100%;max-height:430px;object-fit:contain;background:#07111f}
.public-game-cover>span{font-size:70px}
.public-game-main{min-width:0;padding:8px 8px 8px 0;display:flex;flex-direction:column}
.public-game-title{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;border-bottom:1px solid #1c3d5b;padding-bottom:14px}
.public-game-title small{color:#57bdff;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.public-game-title h1{margin:5px 0 0;font-size:clamp(30px,4vw,48px)}
.public-tech{padding:7px 10px;border-radius:8px;background:#173a59;color:#9fd8ff;font-size:11px;font-weight:900}
.public-game-description{color:#aac0d2;font-size:15px;line-height:1.65;margin:18px 0}
.public-game-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:20px}
.public-game-meta>div{display:grid;gap:3px;padding:11px 13px;border:1px solid #1e4263;border-radius:10px;background:#0a1929}
.public-game-meta span{color:#7f9fb9;font-size:10px;text-transform:uppercase;font-weight:800}
.public-game-meta b{color:#f0f8ff;font-size:13px}
.public-game-actions{display:flex;gap:10px;justify-content:space-between;align-items:center;margin-top:auto;padding-top:14px;border-top:1px solid #1c3d5b}
.login-hint{margin:10px 0 0;color:#829eb5;font-size:11px;text-align:right}
@media(max-width:900px){.arcade-power-save-status{position:static}.public-game-sheet{grid-template-columns:1fr;margin:18px auto;padding:15px}.public-game-cover{min-height:220px;max-height:360px}.public-game-main{padding:0}.public-game-meta{grid-template-columns:1fr}.public-game-actions{align-items:stretch;flex-direction:column-reverse}.public-game-actions .btn{text-align:center}.portal-game-image,.game-placeholder{height:125px!important}}

/* 1.1.23 — Portail autonome : fusion G-Arcade V2 + portail de jeux */
.portal-page{background:#06101d}.portal-page>main{width:min(1540px,96vw);margin:18px auto 34px}.portal-topbar{position:sticky;top:0;z-index:50;min-height:68px;padding:10px max(18px,calc((100vw - 1540px)/2));background:#071524eF;backdrop-filter:blur(14px);border-bottom:1px solid #163858;gap:18px}.portal-brand{display:flex;align-items:center;gap:8px;color:#fff;white-space:nowrap}.portal-brand b{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:linear-gradient(135deg,#6c35ff,#9a42ff);font-size:22px;font-style:italic}.portal-brand span{font-size:18px;letter-spacing:.03em}.portal-brand i{color:#42c9ff;font-style:normal;font-size:17px}.portal-topbar nav{gap:6px;align-items:center;flex:1}.portal-topbar nav a{padding:9px 11px;border-radius:9px;color:#a9c5db;font-size:13px;font-weight:750}.portal-topbar nav a:hover,.portal-topbar nav a.active{background:#6931d9;color:#fff}.top-search{width:min(320px,25vw);display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid #1d4a70;border-radius:12px;background:#091d31}.top-search span{color:#5dc5ff;font-size:20px}.top-search input{width:100%;border:0;background:transparent;padding:10px 0;outline:0;color:#fff}.top-search input::placeholder{color:#7294af}
.arcade-banner{position:relative;isolation:isolate;overflow:hidden;min-height:220px;margin-bottom:16px;border:1px solid #27577d;border-radius:18px;background:radial-gradient(circle at 82% 35%,#7032c955 0 12%,transparent 36%),radial-gradient(circle at 65% 10%,#1aaeff33,transparent 28%),linear-gradient(115deg,#0b2b48,#0a1830 55%,#170e35);box-shadow:0 18px 50px #0005}.banner-grid{position:absolute;inset:0;z-index:-1;opacity:.14;background-image:linear-gradient(#4dbfff33 1px,transparent 1px),linear-gradient(90deg,#4dbfff33 1px,transparent 1px);background-size:34px 34px;transform:perspective(420px) rotateX(58deg) scale(1.6) translateY(28%);transform-origin:bottom}.banner-copy{padding:34px 40px;max-width:760px}.banner-copy small{font-size:11px;font-weight:1000;letter-spacing:.2em;color:#58c7ff}.banner-copy h1{margin:4px 0 6px;font-size:clamp(42px,6vw,72px);line-height:1;color:#fff;letter-spacing:.01em}.banner-copy h1 span{color:#8b45ff;text-shadow:0 0 25px #7d3dff99}.banner-copy p{max-width:620px;margin:0 0 22px;color:#9fbcd2;font-size:15px}.banner-btn,.banner-link{display:inline-flex;align-items:center;gap:7px;padding:10px 15px;border-radius:10px;font-weight:900}.banner-btn{background:linear-gradient(135deg,#7137e7,#8b3eff);color:#fff;box-shadow:0 8px 22px #6b2fe944}.banner-link{margin-left:7px;color:#9edaff;border:1px solid #285779;background:#071a2b99}.banner-mark{position:absolute;right:7%;top:50%;transform:translateY(-50%);display:flex;align-items:center;color:#42baff;filter:drop-shadow(0 0 28px #1a9cff55)}.banner-mark b{font-size:116px;line-height:1;font-style:italic}.banner-mark i{font-size:43px;margin-left:-5px;color:#8048ff}
.v2-portal-grid{display:grid;grid-template-columns:260px minmax(0,1fr) 280px;gap:14px;align-items:start}.v2-left-col,.v2-right-col{display:grid;gap:12px}.v2-widget,.v2-main-panel{overflow:hidden;border:1px solid #1d4b70;border-radius:14px;background:linear-gradient(180deg,#0b2034,#081a2b);box-shadow:0 8px 25px #0002}.v2-widget h2{display:flex;align-items:center;gap:7px;margin:0;padding:11px 13px;border-bottom:1px solid #1d4567;background:#0b1d30;font-size:13px;color:#fff}.v2-widget h2 span{flex:1}.v2-widget h2 a{font-size:10px;color:#52c7ff}.featured-widget .featured-cover{display:grid;place-items:center;min-height:112px;padding:14px;background:linear-gradient(145deg,#123657,#0d2945)}.featured-cover img{width:78px;height:78px;object-fit:contain;border-radius:10px;background:#071421}.featured-cover>span{font-size:46px}.featured-copy{padding:12px}.featured-copy h3{margin:0 0 4px;font-size:14px}.featured-copy p{min-height:34px;margin:0 0 10px;color:#8caac0;font-size:11px;line-height:1.45}.v2-play-btn{display:inline-flex;padding:8px 11px;border-radius:8px;background:#7336e7;color:#fff;font-size:11px;font-weight:900}.v2-mini-game{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);gap:9px;align-items:center;padding:8px 10px;border-bottom:1px solid #163b5c;color:#fff}.v2-mini-game:last-child{border-bottom:0}.v2-mini-game:hover{background:#0f2a43}.v2-mini-thumb{position:relative;display:grid;place-items:center;width:44px;height:38px;overflow:hidden;border-radius:7px;background:#061321}.v2-mini-thumb img{width:100%;height:100%;object-fit:contain}.v2-mini-thumb i{position:absolute;right:-15px;top:2px;transform:rotate(38deg);width:55px;text-align:center;background:#6d40ef;color:#fff;font-size:5px;font-style:normal;font-weight:1000}.v2-mini-game>span:last-child{min-width:0;display:grid;gap:2px}.v2-mini-game b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.v2-mini-game small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#59bfff;font-size:9px}.v2-random-empty,.v2-empty-text{padding:13px;color:#789ab4;font-size:11px}.random-game{border-bottom:0}.v2-main-panel{min-height:610px;padding:15px}.v2-main-head{display:flex;justify-content:space-between;gap:15px;align-items:start;padding:0 2px 14px;border-bottom:1px solid #1b4669}.v2-main-head h2{margin:0 0 3px;font-size:18px}.v2-main-head h2 span{display:inline-grid;place-items:center;width:27px;height:27px;margin-right:7px;border-radius:7px;background:#14577d;color:#67d6ff}.v2-main-head p{margin:0;color:#829fb7;font-size:11px}.v2-main-head>b{color:#4fc8ff;font-size:10px;white-space:nowrap}.v2-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-top:14px}.v2-category-tile{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:10px;min-height:68px;padding:9px;border:1px solid #245477;border-radius:11px;background:#0b2135;color:#fff;transition:.15s ease}.v2-category-tile:hover{transform:translateY(-1px);border-color:#38a8e8;background:#0e2a43}.v2-cat-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:11px;background:linear-gradient(145deg,#40557c,#694b91);font-size:24px}.v2-cat-icon img{max-width:34px;max-height:34px;object-fit:contain}.v2-category-tile b{display:block;font-size:13px}.v2-category-tile small{font-size:9px;color:#789db9}.v2-category-tile i{font-size:28px;font-style:normal;color:#39c5ff}.v2-catalog-callout{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:18px;padding:15px;border:1px dashed #2a5a7c;border-radius:12px;background:#081827}.v2-catalog-callout div{display:grid;gap:3px}.v2-catalog-callout b{font-size:13px}.v2-catalog-callout span{font-size:10px;color:#7e9bb2}.v2-catalog-callout a{white-space:nowrap;font-size:11px;font-weight:900}.player-widget{display:grid;place-items:center;padding:14px;text-align:center}.user-avatar{display:grid;place-items:center;width:54px;height:54px;margin-bottom:7px;border:2px solid #36bfff;border-radius:50%;background:linear-gradient(145deg,#143654,#632fa2);font-size:22px;font-weight:1000}.user-avatar.guest{color:#86a6bf}.player-widget>b{font-size:13px}.player-widget>a{margin-top:5px;font-size:10px;font-weight:900;color:#56c8ff}.rank-row,.score-row{display:grid;grid-template-columns:31px minmax(0,1fr);gap:9px;align-items:center;padding:9px 11px;border-bottom:1px solid #163b5c}.score-row{grid-template-columns:31px minmax(0,1fr) auto}.rank-row:last-child,.score-row:last-child{border-bottom:0}.rank-num{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#f0bb27;color:#1b1b17;font-size:11px}.rank-row:nth-of-type(3) .rank-num,.score-row:nth-of-type(3) .rank-num{background:#cfd7df}.rank-row:nth-of-type(4) .rank-num,.score-row:nth-of-type(4) .rank-num{background:#b96a2b;color:#fff}.rank-row span,.score-row span{min-width:0;display:grid;gap:1px}.rank-row strong,.score-row strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rank-row small,.score-row small{font-size:8px;color:#4bbdff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.score-row em{font-style:normal;font-size:10px;font-weight:1000;color:#fff}.compact-empty{min-height:90px;border:0;border-radius:0}
/* Catalogue : cartes plus grandes et grille qui utilise réellement la largeur. */
.portal-games{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}.portal-game-image{height:175px}.portal-game-info>b{font-size:16px}.portal-game-info small{font-size:12px}.portal-game-info em{font-size:11px}.catalog-hero{margin-bottom:14px}
@media(max-width:1180px){.v2-portal-grid{grid-template-columns:230px minmax(0,1fr)}.v2-right-col{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}.banner-mark{opacity:.5}.top-search{display:none}}
@media(max-width:820px){.portal-topbar{position:static;align-items:flex-start;flex-wrap:wrap}.portal-topbar nav{order:3;width:100%;overflow:auto;flex-wrap:nowrap}.portal-topbar nav a{white-space:nowrap}.v2-portal-grid{grid-template-columns:1fr}.v2-left-col{grid-template-columns:repeat(2,minmax(0,1fr))}.featured-widget{grid-column:1/-1}.v2-right-col{grid-column:auto;grid-template-columns:1fr}.v2-category-grid{grid-template-columns:1fr}.banner-mark{display:none}.banner-copy{padding:28px}.portal-games{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}.portal-game-image{height:145px}}
@media(max-width:520px){.v2-left-col{grid-template-columns:1fr}.arcade-banner{min-height:0}.banner-copy{padding:24px 20px}.banner-copy h1{font-size:42px}.banner-btn,.banner-link{display:flex;width:max-content;margin:6px 0 0}.v2-catalog-callout{align-items:flex-start;flex-direction:column}.portal-games{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.portal-game-image{height:120px}}


/* 1.1.24 — lecteur public inspiré de G-Arcade V2 */
.reader-shell{max-width:1320px;margin:22px auto 50px;padding:16px;border:1px solid #1c466a;border-radius:18px;background:#071827;box-shadow:0 24px 70px #0004}
.reader-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;border:1px solid #24506f;border-radius:13px;background:#0b2034}
.reader-title>a{display:inline-block;margin-bottom:7px;font-size:11px;font-weight:800;color:#55c6ff}.reader-title h1{display:inline;margin:0 9px 0 0;font-size:26px}.reader-badges{display:inline-flex;gap:7px;flex-wrap:wrap;vertical-align:middle}.reader-badges i{padding:5px 9px;border-radius:999px;background:#153c5c;border:1px solid #245f89;color:#9ddcff;font-size:10px;font-style:normal;font-weight:900}.reader-badges i:first-child{background:#7540ec;border-color:#7540ec;color:#fff}
.reader-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.reader-controls button{padding:9px 12px;background:#10314d;border:1px solid #285d83}.reader-controls .reader-fullscreen{background:#5d45ef;border-color:#705cff}.reader-controls input[type=range]{width:115px;padding:0;border:0;background:transparent;accent-color:#258df0}
.reader-social{display:flex;justify-content:space-between;gap:14px;margin-top:12px;padding:11px 15px;border:1px solid #204766;border-radius:12px;background:#0a1d2f;color:#8faec5;font-size:12px}.reader-social b{color:#fff}
.reader-stage-wrap{overflow:auto;margin-top:16px;padding:16px;border:1px solid #214765;border-radius:14px;background:#07131f}.reader-stage{margin:0 auto!important;border-radius:14px!important;box-shadow:0 12px 35px #0008}.reader-stage:fullscreen{display:grid;place-items:center;width:100vw!important;height:100vh!important;border-radius:0!important;background:#000}.reader-stage:fullscreen>#ruffle,.reader-stage:fullscreen>iframe{width:min(100vw,calc(100vh * 1.34));height:min(100vh,calc(100vw / 1.34));margin:auto}
.reader-bottom{display:grid;grid-template-columns:1fr 1.35fr;gap:14px;margin-top:14px}.reader-info,.reader-ranking{padding:16px;border:1px solid #214b6d;border-radius:13px;background:#0b2034}.reader-info h2,.reader-ranking h2{margin:0 0 14px;font-size:16px}.reader-info>p{min-height:36px;color:#9cb5c9;font-size:12px;line-height:1.5}.reader-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px}.reader-meta>div{display:grid;gap:3px;padding:10px;border:1px solid #204b6d;border-radius:9px;background:#091a2a}.reader-meta span{font-size:9px;font-weight:900;text-transform:uppercase;color:#55c6ff}.reader-meta b{font-size:12px}
.reader-champion{display:grid;grid-template-columns:1fr auto;grid-template-areas:'label score' 'name score';align-items:center;gap:2px 12px;padding:11px 13px;border:1px solid #8a671a;border-radius:10px;background:linear-gradient(90deg,#35270b,#161c20)}.reader-champion span{grid-area:label;color:#f2d376;font-size:9px}.reader-champion b{grid-area:name;color:#ffd64f}.reader-champion strong{grid-area:score;color:#ffd64f;font-size:16px}.reader-champion.empty{grid-template-columns:1fr}.reader-ranking-note{margin:10px 0;color:#8faec5;font-size:11px}.reader-ranks{border-top:1px solid #1c4665}.reader-rank-row{display:grid;grid-template-columns:45px 1fr auto;align-items:center;gap:10px;padding:8px 4px;border-bottom:1px solid #173d5d;font-size:11px}.reader-rank-row>b{color:#64c9ff}.reader-rank-row strong{color:#fff}.reader-empty{color:#7898b1;font-size:11px}
.reader-report-open{width:100%;margin-top:14px;text-align:left;background:#0b2034;border:1px solid #214b6d;color:#9fc9e8}.reader-report-open:hover{border-color:#e0a647;color:#ffd27d}.report-box select,.report-box textarea{width:100%;margin-top:6px}.report-box label{display:grid;gap:4px;margin:12px 0;color:#a9c0d2;font-size:12px}.report-box textarea{background:#071827;color:#fff;border:1px solid #28547d;border-radius:9px;padding:11px;resize:vertical}
.reader-test{max-width:none;margin:0;padding:0;border:0;box-shadow:none}.acp-test-page .reader-toolbar{margin-bottom:8px}.acp-test-page .reader-title>a,.acp-test-page .reader-badges{display:none}.acp-test-page .reader-stage-wrap{margin-top:0;padding:0;border:0;background:transparent}
@media(max-width:900px){.reader-shell{margin:12px auto;padding:10px}.reader-toolbar{align-items:flex-start;flex-direction:column}.reader-controls{justify-content:flex-start}.reader-social{flex-direction:column}.reader-bottom{grid-template-columns:1fr}.reader-meta{grid-template-columns:1fr 1fr}.reader-stage-wrap{padding:8px}}
@media(max-width:560px){.reader-title h1{display:block;margin-bottom:7px;font-size:22px}.reader-meta{grid-template-columns:1fr}.reader-controls input[type=range]{width:90px}}


/* G-Arcade 1.1.25 — favoris, notation, signalement et test ACP */
.arcade-power{margin-left:auto!important}
.report-state{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:900;white-space:nowrap}
.report-state.open{color:#ffd78a;background:#5c3a102e;border:1px solid #d8952f}
.report-state.resolved{color:#9cf0c3;background:#0d5b392e;border:1px solid #28b974}
.reader-community{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:10px 0;padding:10px 12px;border:1px solid #214b6d;border-radius:10px;background:#091c2e}
.favorite-form,.rating-form{margin:0}.favorite-btn{min-height:38px;padding:8px 13px;border:1px solid #315c7e;border-radius:8px;background:#0d2942;color:#d8eaff;font-weight:900}.favorite-btn:hover,.favorite-btn.on{border-color:#e05682;background:#4a1930;color:#ffd7e4}.rating-form{display:flex;align-items:center;gap:8px;color:#a9c7dc;font-size:12px}.rating-stars{display:inline-flex;gap:1px}.rating-star{appearance:none;border:0!important;background:transparent!important;padding:2px!important;min-width:0!important;color:#45627a;font-size:23px;line-height:1;cursor:pointer;box-shadow:none!important}.rating-star:hover,.rating-star.on,.rating-star:has(~ .rating-star:hover){color:#f2bd32}.rating-form small{color:#789bb5;white-space:nowrap}
.reader-report-open{display:grid!important;place-items:center!important;gap:3px;width:min(520px,100%)!important;margin:18px auto 0!important;padding:13px 18px!important;text-align:center!important;border:1px solid #d28a31!important;border-radius:10px!important;background:linear-gradient(180deg,#3c2816,#271b13)!important;color:#ffd697!important;box-shadow:0 0 0 1px #e5a44b12!important}.reader-report-open b{font-size:13px}.reader-report-open span{font-size:10px;color:#c9a77b}.reader-report-open:hover{border-color:#ffbd5b!important;background:linear-gradient(180deg,#50331a,#312016)!important;color:#ffe5b6!important}
.acp-test-page{overflow:auto!important}.acp-test-page .reader-shell{padding-bottom:14px!important}.acp-test-page .test-banner{margin:10px auto 0!important;max-width:920px;box-sizing:border-box}
@media(max-width:760px){.reader-community{align-items:stretch;flex-direction:column}.rating-form{flex-wrap:wrap}.arcade-power{margin-left:0!important}}

/* 1.1.26 - lecteur: signalement distinct + popup test ACP */
.reader-report-open{display:grid!important;place-items:center!important;width:min(560px,100%)!important;margin:20px auto 0!important;padding:14px 20px!important;text-align:center!important;border:1px solid #e24c5d!important;border-radius:11px!important;background:linear-gradient(180deg,#481923,#2b1118)!important;color:#ffb2bc!important;box-shadow:0 0 0 1px #ff63751a,0 10px 28px #0003!important;font-weight:800!important}.reader-report-open:hover{border-color:#ff6878!important;background:linear-gradient(180deg,#5a1d29,#35131c)!important;color:#ffd2d8!important}
.acp-test-page{overflow:auto!important}.acp-test-page>main{min-height:100vh!important;box-sizing:border-box!important}.acp-test-page .reader-shell{width:max-content!important;min-width:min(100%,720px)!important;max-width:none!important;margin:0 auto!important;padding:0 0 16px!important}.acp-test-page .reader-toolbar{width:100%!important;box-sizing:border-box!important}.acp-test-page .reader-stage-wrap{overflow:visible!important}.acp-test-page .test-banner{width:100%!important;max-width:none!important;margin:10px 0 0!important;box-sizing:border-box!important}

/* 1.1.27 — profil joueur */
.profile-hero{max-width:1500px;margin:24px auto 16px;padding:28px 32px;border:1px solid #263d69;border-radius:18px;background:radial-gradient(circle at 78% 20%,rgba(119,64,255,.16),transparent 32%),linear-gradient(135deg,#101b36,#0a1228);display:flex;align-items:center;gap:22px;box-shadow:0 18px 50px rgba(0,0,0,.18)}
.profile-avatar{width:92px;height:92px;flex:0 0 92px;border-radius:24px;display:grid;place-items:center;font-size:42px;font-weight:900;color:#fff;background:linear-gradient(145deg,#4e67ff,#8b4dff);border:2px solid rgba(255,255,255,.16);box-shadow:0 12px 30px rgba(91,72,255,.28)}
.profile-identity{min-width:0}.profile-identity small,.profile-panel-head small{display:block;color:#63d8ff;font-size:11px;font-weight:900;letter-spacing:.14em}.profile-identity h1{margin:3px 0 5px;font-size:32px}.profile-identity p{margin:0;color:#9eacc9}.profile-catalog-btn{margin-left:auto;white-space:nowrap}
.profile-stats{max-width:1500px;margin:0 auto 18px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.profile-stats>div{min-height:96px;border:1px solid #263d69;border-radius:14px;background:#0d1730;padding:16px 18px;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:11px;align-items:center}.profile-stats span{grid-row:1/3;font-size:23px}.profile-stats b{font-size:25px;line-height:1;color:#fff}.profile-stats small{color:#8999ba;font-size:12px;margin-top:4px}
.profile-layout{max-width:1500px;margin:0 auto 34px;display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.75fr);gap:16px;align-items:start}.profile-main,.profile-side{display:grid;gap:16px}.profile-panel{border:1px solid #263d69;border-radius:16px;background:#0c162e;overflow:hidden;box-shadow:0 12px 30px rgba(0,0,0,.12)}.profile-panel-head{min-height:68px;padding:15px 18px;border-bottom:1px solid #20345b;display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(180deg,rgba(26,42,78,.65),rgba(13,23,48,.2))}.profile-panel-head h2{font-size:17px;margin:2px 0 0}.profile-panel-head>b,.profile-panel-head>span{color:#b8c7e5;font-size:12px;background:#142444;border:1px solid #2c4778;border-radius:999px;padding:6px 10px}
.profile-game-grid{padding:16px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.profile-game-card{min-width:0;border:1px solid #263d69;border-radius:12px;background:#101d39;overflow:hidden;text-decoration:none;color:#fff;transition:.18s ease}.profile-game-card:hover{transform:translateY(-2px);border-color:#596eff;box-shadow:0 10px 25px rgba(0,0,0,.2)}.profile-game-card>span{height:105px;display:grid;place-items:center;background:#091226;overflow:hidden}.profile-game-card img{width:100%;height:100%;object-fit:contain}.profile-game-placeholder{font-size:34px}.profile-game-card>b,.profile-game-card>small{display:block;padding:0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-game-card>b{font-size:13px;padding-top:9px}.profile-game-card>small{font-size:11px;color:#8192b5;padding-top:3px;padding-bottom:10px}
.profile-score-table{margin:0}.profile-score-table th,.profile-score-table td{padding:12px 15px}.profile-score-table a{color:#8fdcff;text-decoration:none}.profile-score-table a:hover{text-decoration:underline}.profile-score-table b{color:#ffd45f}
.profile-rating-list{padding:8px 14px 13px}.profile-rating-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 4px;border-bottom:1px solid #1d3157;color:#fff;text-decoration:none}.profile-rating-row:last-child{border-bottom:0}.profile-rating-row span{min-width:0}.profile-rating-row b,.profile-rating-row small{display:block}.profile-rating-row b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-rating-row small{color:#7486aa;font-size:10px;margin-top:2px}.profile-rating-row strong{color:#ffd45f;letter-spacing:1px;white-space:nowrap}
.profile-activity-list{padding:8px 14px}.profile-activity-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:9px;align-items:center;padding:9px 2px;border-bottom:1px solid #1d3157}.profile-activity-row:last-child{border-bottom:0}.profile-activity-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#13264b;font-size:12px}.profile-activity-icon.score{background:rgba(255,193,61,.13)}.profile-activity-row a{display:block;color:#dce7ff;text-decoration:none;font-size:12px;font-weight:800}.profile-activity-row small{display:block;color:#7f91b5;font-size:10px;margin-top:2px}.profile-activity-row time{color:#697b9e;font-size:10px;white-space:nowrap}.profile-retention-note{margin:0;padding:10px 16px 14px;color:#687a9f;font-size:10px}.profile-empty{grid-column:1/-1;padding:26px;text-align:center;color:#7889ad;border:1px dashed #2b416c;border-radius:11px}.profile-empty.compact{padding:18px;border:0}
@media(max-width:1100px){.profile-stats{grid-template-columns:repeat(3,1fr)}.profile-layout{grid-template-columns:1fr}.profile-game-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:720px){.profile-hero{margin:14px 10px;padding:20px;align-items:flex-start;flex-wrap:wrap}.profile-avatar{width:72px;height:72px;flex-basis:72px;font-size:32px}.profile-identity h1{font-size:25px}.profile-catalog-btn{margin-left:0;width:100%;text-align:center}.profile-stats{margin:0 10px 14px;grid-template-columns:repeat(2,1fr)}.profile-layout{margin:0 10px 24px}.profile-game-grid{grid-template-columns:repeat(2,1fr)}.profile-score-table th:nth-child(3),.profile-score-table td:nth-child(3){display:none}}

/* 1.1.28 - notes du profil : étoiles remplies et vides clairement distinctes */
.profile-rating-row .profile-stars{display:inline-flex;gap:0;letter-spacing:1px;white-space:nowrap;color:inherit}
.profile-stars-filled{color:#ffd45f}
.profile-stars-empty{color:#46536f}

/* 1.1.29 - Classements publics */
.leader-hero{max-width:1500px;margin:24px auto 16px;padding:30px 32px;border:1px solid #263d69;border-radius:18px;background:radial-gradient(circle at 82% 18%,rgba(100,76,255,.18),transparent 34%),linear-gradient(135deg,#101b36,#0a1228);display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:0 18px 50px rgba(0,0,0,.18)}
.leader-hero small,.leader-panel-head small,.leader-games-head small,.leader-detail-head small{display:block;color:#63d8ff;font-size:11px;font-weight:900;letter-spacing:.14em}.leader-hero h1{margin:4px 0 6px;font-size:38px}.leader-hero p,.leader-games-head p,.leader-detail-head p{margin:0;color:#8fa1c2}.leader-stats{display:grid;grid-template-columns:repeat(3,minmax(110px,1fr));gap:9px}.leader-stats>div{padding:14px 18px;border:1px solid #2a4779;border-radius:13px;background:#0e1d39;text-align:center}.leader-stats b{display:block;font-size:25px;color:#fff}.leader-stats span{display:block;margin-top:3px;color:#8195bb;font-size:11px}
.leader-overview{max-width:1500px;margin:0 auto 16px;display:grid;grid-template-columns:minmax(320px,.8fr) minmax(0,1.2fr);gap:16px}.leader-panel,.leader-games,.leader-game-detail{border:1px solid #263d69;border-radius:16px;background:#0c162e;overflow:hidden;box-shadow:0 12px 30px rgba(0,0,0,.12)}.leader-panel-head{padding:15px 18px;border-bottom:1px solid #20345b;background:linear-gradient(180deg,rgba(26,42,78,.65),rgba(13,23,48,.2))}.leader-panel-head h2,.leader-games-head h2,.leader-detail-head h2{margin:2px 0 0;font-size:18px}
.leader-player-list,.leader-record-list{padding:8px 14px}.leader-player-row{display:grid;grid-template-columns:42px minmax(0,1fr) 28px;gap:10px;align-items:center;padding:11px 3px;border-bottom:1px solid #1d3157;color:#fff;text-decoration:none}.leader-player-row:last-child,.leader-record-row:last-child{border-bottom:0}.leader-player-row:hover strong,.leader-record-row a:hover{color:#74d9ff}.leader-rank{width:36px;height:30px;display:grid;place-items:center;border-radius:9px;background:#14264b;color:#ffd45f;font-size:12px}.leader-player-row span strong,.leader-player-row span small{display:block}.leader-player-row span small{margin-top:2px;color:#7e91b6;font-size:10px}.leader-player-row em{font-style:normal;text-align:center}.leader-record-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:9px;align-items:center;padding:10px 3px;border-bottom:1px solid #1d3157}.leader-record-row>span{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:rgba(255,197,68,.12);font-size:12px}.leader-record-row div>a{font-weight:850;color:#e3ecff;text-decoration:none;font-size:12px}.leader-record-row small{display:block;color:#7185ac;font-size:10px;margin-top:2px}.leader-record-row small a{color:#8fdcff;text-decoration:none}.leader-record-row>b{color:#ffd45f;font-size:13px}.leader-empty{padding:24px;text-align:center;color:#7184aa}.leader-empty.wide{grid-column:1/-1}
.leader-game-detail{max-width:1500px;margin:0 auto 16px}.leader-detail-head{padding:18px 20px;display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #20345b;background:linear-gradient(180deg,rgba(26,42,78,.65),rgba(13,23,48,.2))}.leader-detail-head>div:last-child{display:flex;gap:8px;flex-wrap:wrap}.leader-detail-table{width:100%;border-collapse:collapse}.leader-detail-table th,.leader-detail-table td{padding:12px 15px;border-bottom:1px solid #1b2d50;text-align:left}.leader-detail-table th{color:#7f94bc;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.leader-detail-table a{color:#8fdcff;text-decoration:none}.leader-detail-table strong{color:#ffd45f}.leader-position{color:#9db0d4}
.leader-games{max-width:1500px;margin:0 auto 34px;padding-bottom:16px}.leader-games-head{padding:18px 20px;display:flex;align-items:end;justify-content:space-between;gap:20px;border-bottom:1px solid #20345b}.leader-search{display:flex;gap:8px;min-width:min(420px,100%)}.leader-search input{flex:1}.leader-chips{display:flex;gap:8px;overflow-x:auto;padding:13px 16px 6px}.leader-chip{white-space:nowrap;padding:8px 12px;border:1px solid #284777;border-radius:999px;background:#101f3d;color:#aebddd;text-decoration:none;font-size:11px}.leader-chip b{margin-left:4px;color:#69d7ff}.leader-chip.on{border-color:#665cff;background:#25215b;color:#fff}.leader-game-grid{padding:14px 16px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.leader-game-card{min-width:0;display:grid;grid-template-columns:64px minmax(0,1fr) 18px;gap:10px;align-items:center;padding:8px;border:1px solid #243d69;border-radius:12px;background:#101d39;color:#fff;text-decoration:none;transition:.18s ease}.leader-game-card:hover,.leader-game-card.on{border-color:#635dff;background:#15254a;transform:translateY(-1px)}.leader-game-cover{width:64px;height:54px;border-radius:9px;background:#081226;display:grid;place-items:center;overflow:hidden}.leader-game-cover img{width:100%;height:100%;object-fit:contain}.leader-game-copy{min-width:0}.leader-game-copy>b,.leader-game-copy>small,.leader-game-copy>em{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.leader-game-copy>b{font-size:12px}.leader-game-copy>small{margin-top:2px;color:#7488af;font-size:10px}.leader-game-copy>em{margin-top:5px;color:#aab9d8;font-size:10px;font-style:normal}.leader-game-copy>em strong{color:#ffd45f}.leader-game-card>i{color:#6479a5;font-style:normal;font-size:20px}.leader-pager{padding:2px 16px 0}
@media(max-width:1050px){.leader-overview{grid-template-columns:1fr}.leader-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.leader-hero{align-items:flex-start;flex-direction:column}.leader-stats{width:100%}}
@media(max-width:700px){.leader-hero,.leader-overview,.leader-game-detail,.leader-games{margin-left:10px;margin-right:10px}.leader-hero{padding:22px}.leader-hero h1{font-size:30px}.leader-stats{grid-template-columns:repeat(3,1fr)}.leader-stats>div{padding:10px 7px}.leader-stats b{font-size:20px}.leader-games-head,.leader-detail-head{align-items:stretch;flex-direction:column}.leader-search{min-width:0;width:100%}.leader-game-grid{grid-template-columns:1fr}.leader-detail-table th:nth-child(4),.leader-detail-table td:nth-child(4){display:none}}

/* 1.1.30 — avatars joueurs */
.profile-avatar.has-image,.user-avatar.has-image{overflow:hidden;padding:0;background:#071421}.profile-avatar.has-image img,.user-avatar.has-image img{width:100%;height:100%;display:block;object-fit:cover}.portal-nav-avatar{width:22px;height:22px;border-radius:50%;object-fit:cover;border:1px solid #4ec7ff;vertical-align:middle}.portal-user-link{display:inline-flex!important;align-items:center;gap:6px}.avatar-panel{overflow:hidden}.avatar-editor{display:grid;justify-items:center;gap:12px;padding:18px}.avatar-editor-preview .profile-avatar{margin:0;width:104px;height:104px;flex-basis:104px}.avatar-editor form{width:100%;display:grid;gap:9px}.avatar-file-label{display:grid;gap:8px;padding:10px 12px;border:1px dashed #31577f;border-radius:10px;background:#0a1c32;color:#a9c4dc;font-size:12px;font-weight:800;cursor:pointer}.avatar-file-label input{width:100%;font-size:11px;color:#8eb0cc}.avatar-save,.avatar-delete{width:100%;text-align:center}.avatar-editor>p{margin:0;color:#6f8eaa;font-size:10px;text-align:center}.player-widget .user-avatar.has-image{border-color:#7b4dff}

/* 1.1.31 — Portail : les anciennes vignettes 40/50 px restent des icônes, jamais des couvertures étirées. */
.portal-icon-card{display:flex!important;flex-direction:column;min-height:250px;background:linear-gradient(180deg,#0d2239,#091827)!important;border-color:#214f77!important;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.portal-icon-card:hover{transform:translateY(-2px);border-color:#3a9cda!important;box-shadow:0 14px 32px #0004}.portal-icon-card .portal-game-image{position:relative;display:grid!important;place-items:center;width:100%!important;height:92px!important;margin:0!important;border-radius:0!important;background:radial-gradient(circle at 50% 40%,#1c4264 0,#0b2137 54%,#081827 100%)!important;overflow:hidden}.portal-icon-card .portal-game-image img{display:block!important;width:auto!important;height:auto!important;max-width:50px!important;max-height:50px!important;margin:0!important;border-radius:6px!important;background:transparent!important;image-rendering:auto}.portal-icon-card .portal-game-image.game-placeholder{font-size:34px!important}.portal-icon-card .portal-game-info{display:flex!important;flex:1;flex-direction:column;align-items:center;gap:5px!important;padding:12px 14px 14px!important;text-align:center}.portal-icon-card .portal-game-info>b{max-width:100%;font-size:14px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.portal-icon-card .portal-game-info>small{font-size:10px!important;color:#68bde9!important}.portal-game-desc{min-height:34px;color:#8fa9bd;font-size:10px;line-height:1.45}.portal-icon-card .portal-game-info>em{margin-top:auto;padding-top:4px;color:#65ceff;font-size:10px!important;font-style:normal;font-weight:900}.portal-icon-card .portal-new-ribbon{position:absolute;right:-24px;top:9px;width:92px;transform:rotate(38deg);padding:3px 0;background:#7543ef;color:#fff;font-size:7px;text-align:center;letter-spacing:.06em}
.featured-cover img{width:auto!important;height:auto!important;max-width:50px!important;max-height:50px!important;background:transparent!important;border-radius:6px!important}.featured-widget .featured-cover{min-height:96px}
.portal-showcase{min-height:0}.portal-head-link{align-self:center;font-size:10px;font-weight:900;white-space:nowrap}.portal-home-games{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px 0 18px}.portal-home-game{display:grid;grid-template-columns:74px minmax(0,1fr);gap:11px;align-items:center;min-height:112px;padding:10px;border:1px solid #234f75;border-radius:12px;background:linear-gradient(145deg,#0c2339,#091a2b);color:#fff;transition:.16s ease}.portal-home-game:hover{transform:translateY(-1px);border-color:#39a9e9;background:#0e2942}.portal-home-icon{position:relative;display:grid;place-items:center;width:74px;height:74px;border-radius:11px;background:radial-gradient(circle at 50% 35%,#244d70,#091827 72%);overflow:hidden;font-size:30px}.portal-home-icon img{width:auto!important;height:auto!important;max-width:50px!important;max-height:50px!important;object-fit:contain}.portal-home-icon i{position:absolute;right:-22px;top:8px;transform:rotate(38deg);width:82px;padding:2px 0;background:#7543ef;color:#fff;font-size:6px;font-style:normal;font-weight:1000;text-align:center}.portal-home-copy{min-width:0;display:grid;gap:3px}.portal-home-copy>b,.portal-home-copy>small,.portal-home-copy>span{overflow:hidden;text-overflow:ellipsis}.portal-home-copy>b{font-size:12px;white-space:nowrap}.portal-home-copy>small{font-size:9px;color:#5cc8ff;white-space:nowrap}.portal-home-copy>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#89a6bb;font-size:9px;line-height:1.35}.portal-home-copy>em{margin-top:3px;color:#8d63ff;font-size:9px;font-style:normal;font-weight:1000}.portal-category-head{display:flex;align-items:end;justify-content:space-between;gap:15px;padding-top:15px;border-top:1px solid #1b4669}.portal-category-head h2{margin:0 0 3px;font-size:16px}.portal-category-head h2 span{display:inline-grid;place-items:center;width:25px;height:25px;margin-right:6px;border-radius:7px;background:#14577d;color:#67d6ff}.portal-category-head p{margin:0;color:#829fb7;font-size:10px}.portal-category-head>b{color:#4fc8ff;font-size:10px;white-space:nowrap}.compact-categories{gap:8px;padding-top:11px}.compact-categories .v2-category-tile{min-height:60px}.compact-categories .v2-cat-icon{width:42px;height:42px}.compact-categories .v2-cat-icon img{max-width:30px;max-height:30px}
@media(max-width:820px){.portal-home-games{grid-template-columns:1fr}}
@media(max-width:520px){.portal-icon-card{min-height:230px}.portal-icon-card .portal-game-image{height:82px!important}.portal-home-game{grid-template-columns:64px minmax(0,1fr)}.portal-home-icon{width:64px;height:64px}}

/* 1.1.33 — Portail gaming : cartes compactes pensées pour les vignettes historiques 40/50 px. */
.portal-page{background:
  radial-gradient(circle at 12% 0,#123d6b33 0,transparent 26%),
  radial-gradient(circle at 88% 12%,#6f36ff22 0,transparent 24%),
  #050e1b}
.portal-page>main{width:min(1580px,96vw)}

/* Bannière plus vive, sans dépendre des petites images de jeux. */
.arcade-banner{
  min-height:250px;
  border-color:#3a5f9a;
  background:
    radial-gradient(circle at 82% 42%,#ff8a2b55 0 8%,transparent 24%),
    radial-gradient(circle at 69% 24%,#8d45ff66 0 10%,transparent 30%),
    radial-gradient(circle at 92% 10%,#20c9ff55 0 7%,transparent 24%),
    linear-gradient(118deg,#0a3157 0%,#111c47 48%,#2b1450 76%,#43184a 100%);
  box-shadow:0 20px 55px #0008,0 0 0 1px #49c7ff12 inset
}
.arcade-banner:before,.arcade-banner:after{content:"";position:absolute;pointer-events:none;z-index:-1}
.arcade-banner:before{width:230px;height:230px;right:90px;top:8px;border-radius:50%;border:28px solid #33c9ff1c;box-shadow:0 0 0 18px #8c4dff17,0 0 65px #4fcfff2b}
.arcade-banner:after{width:330px;height:90px;right:-35px;bottom:-28px;border-radius:60% 0 0 0;background:linear-gradient(90deg,#ff8b2b33,#8d45ff3d)}
.banner-grid{opacity:.11;background-size:28px 28px}
.banner-copy{padding:40px 46px;max-width:820px}
.banner-copy small{color:#6ce2ff;text-shadow:0 0 16px #31c8ff66}
.banner-copy h1{text-shadow:0 4px 28px #0008}
.banner-copy h1 span{color:#67e3ff}
.banner-copy p{max-width:620px;color:#c0d5e8;font-size:14px}
.banner-btn{background:linear-gradient(135deg,#7b3cff,#a43cff)!important;box-shadow:0 9px 24px #6c2fe94a}
.banner-link{color:#8de7ff!important}
.banner-mark{filter:drop-shadow(0 12px 30px #0007)}

/* Catalogue : beaucoup de cartes par ligne, mais chaque vignette reste réellement petite. */
.portal-games{
  grid-template-columns:repeat(auto-fill,minmax(205px,1fr))!important;
  gap:14px!important;
  align-items:stretch
}
.portal-icon-card{
  min-height:238px!important;
  border:1px solid #284e77!important;
  border-radius:16px!important;
  overflow:hidden!important;
  background:linear-gradient(165deg,#102640 0%,#0a192c 62%,#081522 100%)!important;
  box-shadow:0 8px 24px #0002;
  isolation:isolate
}
.portal-icon-card:before{content:"";position:absolute;inset:0 0 auto;height:92px;z-index:-1;background:linear-gradient(115deg,#1bb8ff20,#8248ff24 58%,#ff8b2b18)}
.portal-icon-card:nth-child(4n+2):before{background:linear-gradient(115deg,#35d38c20,#20bfff20 58%,#784cff1b)}
.portal-icon-card:nth-child(4n+3):before{background:linear-gradient(115deg,#ff9b3024,#ff4e8a1a 58%,#8248ff22)}
.portal-icon-card:nth-child(4n+4):before{background:linear-gradient(115deg,#8d4dff25,#36d8ff1c 58%,#2bd99518)}
.portal-icon-card:hover{transform:translateY(-4px)!important;border-color:#58cfff!important;box-shadow:0 18px 38px #0007,0 0 0 1px #5cd8ff22 inset!important}
.portal-icon-card .portal-game-image{
  height:96px!important;
  background:transparent!important;
  overflow:visible!important
}
.portal-icon-card .portal-game-image:before{
  content:"";position:absolute;width:68px;height:68px;border-radius:18px;
  background:linear-gradient(145deg,#173957,#091725);
  border:1px solid #4f85aa66;
  box-shadow:0 9px 20px #0006,0 0 24px #4ecfff18 inset
}
.portal-icon-card .portal-game-image img{
  position:relative;z-index:1;max-width:50px!important;max-height:50px!important;
  border-radius:8px!important;box-shadow:0 3px 10px #0008
}
.portal-icon-card .portal-game-image.game-placeholder{font-size:29px!important;position:relative;z-index:1}
.portal-icon-card .portal-game-info{
  position:relative;align-items:center!important;gap:6px!important;
  padding:11px 14px 14px!important;text-align:center!important
}
.portal-icon-card .portal-game-info:before{content:"";width:36px;height:2px;border-radius:99px;background:linear-gradient(90deg,#34d6ff,#8750ff);margin-bottom:1px}
.portal-icon-card .portal-game-info>b{font-size:14px!important;line-height:1.25;color:#fff!important;text-shadow:0 1px 8px #0008}
.portal-icon-card .portal-game-info>small{font-size:9px!important;color:#62d0ff!important;text-transform:uppercase;letter-spacing:.035em}
.portal-game-desc{min-height:39px!important;max-width:230px;color:#9bb0c6!important;font-size:10px!important;line-height:1.42!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.portal-icon-card .portal-game-info>em{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:116px;margin-top:auto!important;padding:7px 12px!important;
  border:1px solid #5d4cff66;border-radius:999px;
  background:linear-gradient(135deg,#5f35d933,#163c6633);
  color:#bdeeff!important;font-size:9px!important;letter-spacing:.05em
}
.portal-icon-card:hover .portal-game-info>em{border-color:#51d4ff99;background:linear-gradient(135deg,#7042e955,#14537b55);color:#fff!important}
.portal-icon-card .portal-new-ribbon{right:-25px!important;top:9px!important;background:linear-gradient(90deg,#ff7a28,#ff3d83)!important;box-shadow:0 3px 12px #0008!important}

/* Accueil : les mêmes 50 px deviennent des icônes premium, pas des mini-jaquettes agrandies. */
.portal-home-games{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.portal-home-game{min-height:108px;border-color:#294f77;background:linear-gradient(145deg,#102842,#091a2c);box-shadow:0 7px 18px #0002}
.portal-home-game:hover{border-color:#58cfff;box-shadow:0 12px 26px #0005}
.portal-home-icon{width:72px;height:72px;border-radius:17px;background:linear-gradient(145deg,#173b5d,#0a1727);border:1px solid #4f86ac55;box-shadow:inset 0 0 24px #43caff12}
.portal-home-icon img{max-width:50px!important;max-height:50px!important;border-radius:7px;box-shadow:0 3px 9px #0007}
.portal-home-copy>b{font-size:13px;color:#fff}.portal-home-copy>small{color:#61d2ff}.portal-home-copy>span{font-size:9.5px;color:#9bb0c5}.portal-home-copy>em{color:#b18cff}

/* Les widgets latéraux gardent aussi la vignette à sa taille naturelle. */
.v2-mini-game img,.v2-mini-game .mini-cover img,.featured-cover img{object-fit:contain!important}
.featured-cover{background:radial-gradient(circle at 50% 40%,#173c5c,#071522 72%)!important}

@media(max-width:1180px){.portal-games{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))!important}.arcade-banner:before{right:35px;opacity:.65}}
@media(max-width:820px){.banner-copy{padding:30px 26px}.arcade-banner:before,.arcade-banner:after{opacity:.35}.portal-games{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))!important}}
@media(max-width:520px){.portal-games{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.portal-icon-card{min-height:224px!important}.portal-icon-card .portal-game-image{height:86px!important}.portal-icon-card .portal-game-image:before{width:62px;height:62px}.portal-game-desc{font-size:9px!important}.portal-icon-card .portal-game-info{padding:9px 8px 11px!important}.portal-icon-card .portal-game-info>em{min-width:0;width:100%;padding:6px!important}.portal-home-games{grid-template-columns:1fr}}

/* 1.1.34 — Accueil : cartes compactes avec note + favori, sans score */
.portal-home-games{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.portal-home-game{position:relative;display:grid!important;grid-template-columns:82px minmax(0,1fr)!important;gap:13px;align-items:center;min-height:132px!important;padding:13px!important;border:1px solid #2a567d!important;border-radius:15px!important;background:linear-gradient(145deg,#102b46,#091a2c 72%)!important;color:#fff;box-shadow:0 8px 22px #0003;transition:.18s ease}
.portal-home-game:hover{transform:translateY(-2px);border-color:#52caff!important;box-shadow:0 14px 30px #0006,0 0 0 1px #4bc9ff16}
.portal-home-top{position:relative;width:82px;align-self:start}
.portal-home-icon{display:grid!important;place-items:center;width:82px!important;height:82px!important;border-radius:18px!important;background:radial-gradient(circle at 50% 30%,#22567d,#0a1727 72%)!important;border:1px solid #4bc7ff44!important;box-shadow:inset 0 0 24px #43caff12,0 6px 16px #0004;text-decoration:none;overflow:hidden}
.portal-home-icon img{width:auto!important;height:auto!important;max-width:50px!important;max-height:50px!important;object-fit:contain!important;image-rendering:auto;border-radius:7px;box-shadow:0 3px 9px #0007}
.portal-card-fav-form{position:absolute;right:-7px;top:-7px;margin:0;z-index:3}.portal-card-fav{display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid #6f8ca6;border-radius:50%;background:#071727e8;color:#b5c9d9;font-size:18px;line-height:1;text-decoration:none;cursor:pointer;box-shadow:0 4px 12px #0006;transition:.15s ease}.portal-card-fav:hover{transform:scale(1.08);border-color:#ff5f8d;color:#ff7aa1}.portal-card-fav.on{border-color:#ff4f80;background:#3a1023;color:#ff668f}.portal-card-fav.guest{position:absolute;right:-7px;top:-7px;z-index:3}
.portal-home-copy{display:grid!important;gap:5px!important;min-width:0}.portal-home-title{display:block;overflow:hidden;color:#fff;font-size:13px;font-weight:1000;white-space:nowrap;text-overflow:ellipsis;text-decoration:none}.portal-home-title:hover{color:#66d5ff}.portal-home-copy>small{font-size:9px!important;color:#61d2ff!important;text-transform:uppercase;letter-spacing:.025em}.portal-home-copy>span{min-height:25px;font-size:9.5px!important;line-height:1.35!important;color:#9bb0c5!important}
.portal-home-rating{display:flex;align-items:center;gap:7px;min-width:0}.portal-home-rating>b{color:#ffc342;font-size:12px;letter-spacing:1px;white-space:nowrap;text-shadow:0 0 10px #ffb42d2c}.portal-home-rating>small{overflow:hidden;color:#7f9ab0!important;font-size:8.5px!important;white-space:nowrap;text-overflow:ellipsis}.portal-home-open{justify-self:start;margin-top:1px;padding:5px 9px;border:1px solid #704de2;border-radius:999px;background:#151a3c;color:#c3aaff;font-size:8.5px;font-weight:1000;text-decoration:none;text-transform:uppercase;letter-spacing:.025em}.portal-home-open:hover{border-color:#9d72ff;background:#261c55;color:#fff}
@media(max-width:820px){.portal-home-games{grid-template-columns:1fr}.portal-home-game{grid-template-columns:78px minmax(0,1fr)!important}.portal-home-top,.portal-home-icon{width:78px!important}.portal-home-icon{height:78px!important}}
@media(max-width:520px){.portal-home-game{grid-template-columns:68px minmax(0,1fr)!important;padding:10px!important}.portal-home-top,.portal-home-icon{width:68px!important}.portal-home-icon{height:68px!important}.portal-home-rating>small{display:none}}

/* 1.1.35 — Portail : catalogue harmonisé + hero gaming */
.portal-catalog-games{grid-template-columns:repeat(auto-fill,minmax(235px,1fr))!important;gap:15px!important}
.portal-catalog-card{position:relative;display:grid;grid-template-rows:96px 1fr;min-height:270px;overflow:hidden;border:1px solid #2a567d;border-radius:17px;background:linear-gradient(160deg,#102a46 0%,#091a2d 58%,#071522 100%);box-shadow:0 9px 24px #0003;transition:.18s ease}
.portal-catalog-card:hover{transform:translateY(-3px);border-color:#55cfff;box-shadow:0 17px 36px #0006,0 0 0 1px #4bc9ff16}
.portal-catalog-card:nth-child(4n+1){--card-glow:#7448ff}.portal-catalog-card:nth-child(4n+2){--card-glow:#20c9ff}.portal-catalog-card:nth-child(4n+3){--card-glow:#ff7a45}.portal-catalog-card:nth-child(4n+4){--card-glow:#39d795}
.portal-catalog-top{position:relative;display:grid;place-items:center;background:radial-gradient(circle at 50% 25%,color-mix(in srgb,var(--card-glow) 25%,transparent),transparent 58%),linear-gradient(115deg,#183653,#101c39)}
.portal-catalog-top:after{content:"";position:absolute;left:50%;bottom:0;width:44px;height:2px;transform:translateX(-50%);border-radius:99px;background:linear-gradient(90deg,#31d5ff,var(--card-glow))}
.portal-catalog-icon{position:relative;display:grid;place-items:center;width:68px;height:68px;border:1px solid #5fcfff42;border-radius:18px;background:linear-gradient(145deg,#173b5b,#091827);box-shadow:0 8px 20px #0006,inset 0 0 22px #43caff12;text-decoration:none}
.portal-catalog-icon img{display:block!important;width:auto!important;height:auto!important;max-width:50px!important;max-height:50px!important;object-fit:contain!important;border-radius:7px!important;box-shadow:0 3px 10px #0008}
.portal-catalog-icon>span{font-size:28px}.portal-catalog-icon>i{position:absolute;right:-30px;top:-7px;padding:3px 7px;border-radius:999px;background:linear-gradient(90deg,#ff7a28,#ff3d83);color:#fff;font-size:7px;font-style:normal;font-weight:1000;letter-spacing:.05em;box-shadow:0 4px 12px #0006}
.portal-catalog-top .portal-card-fav-form,.portal-catalog-top>.portal-card-fav.guest{position:absolute;right:12px;top:12px}
.portal-catalog-top .portal-card-fav-form{margin:0}.portal-catalog-top .portal-card-fav{right:auto;top:auto}
.portal-catalog-copy{display:flex;flex-direction:column;align-items:center;gap:6px;padding:13px 15px 15px;text-align:center}
.portal-catalog-title{max-width:100%;overflow:hidden;color:#fff;font-size:14px;font-weight:1000;text-decoration:none;white-space:nowrap;text-overflow:ellipsis}.portal-catalog-title:hover{color:#67d7ff}
.portal-catalog-copy>small{color:#62d0ff;font-size:9px;text-transform:uppercase;letter-spacing:.03em}.portal-catalog-copy>p{display:-webkit-box;min-height:34px;margin:0;overflow:hidden;color:#9db2c5;font-size:10px;line-height:1.45;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.portal-catalog-copy .portal-home-rating{justify-content:center}.portal-catalog-open{margin-top:auto;padding:6px 12px;border:1px solid #704de2;border-radius:999px;background:linear-gradient(135deg,#251b55,#102b4a);color:#c6b1ff;font-size:9px;font-weight:1000;text-decoration:none;text-transform:uppercase;letter-spacing:.035em}.portal-catalog-open:hover{border-color:#55cfff;color:#fff}

.gaming-hero{min-height:286px!important;border-color:#3b62a0!important;background:radial-gradient(circle at 77% 34%,#7b3dff55 0 9%,transparent 29%),radial-gradient(circle at 91% 15%,#ff7b3b35 0 7%,transparent 22%),radial-gradient(circle at 64% 0%,#20cfff33 0 9%,transparent 28%),linear-gradient(120deg,#082d50 0%,#111d4b 45%,#321657 73%,#4b1c49 100%)!important;box-shadow:0 22px 60px #0008,0 0 0 1px #6bdcff10 inset!important}
.gaming-hero .banner-copy{position:relative;z-index:4;padding:42px 48px;max-width:800px}.gaming-hero .banner-copy h1{font-size:clamp(52px,6vw,82px);letter-spacing:-.035em}.gaming-hero .banner-copy p{font-size:14px;line-height:1.55;color:#c2d7e8}.banner-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.banner-actions .banner-link{margin-left:0}
.banner-stats{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.banner-stats span{display:flex;align-items:baseline;gap:5px;padding:6px 10px;border:1px solid #75dfff2e;border-radius:999px;background:#071a2d7d;color:#9ebbd1;font-size:9px;text-transform:uppercase;letter-spacing:.06em}.banner-stats b{color:#fff;font-size:13px}
.banner-orb{position:absolute;z-index:1;border-radius:50%;pointer-events:none}.orb-a{width:190px;height:190px;right:23%;top:-90px;border:24px solid #37d8ff13;box-shadow:0 0 0 18px #8248ff0e}.orb-b{width:125px;height:125px;right:3%;bottom:-58px;background:#ff7a3530;filter:blur(2px)}
.banner-visual{position:absolute;z-index:3;right:5.5%;top:50%;width:300px;height:230px;transform:translateY(-50%)}
.hero-pad{position:absolute;left:24px;top:37px;width:220px;height:142px;transform:rotate(-7deg);border:2px solid #8be8ff99;border-radius:46% 46% 38% 38%/55% 55% 44% 44%;background:linear-gradient(145deg,#153b6de8,#4d2578e8);box-shadow:0 25px 55px #0009,0 0 38px #4acfff2b,inset 0 0 35px #a66cff26}.hero-pad:before,.hero-pad:after{content:"";position:absolute;bottom:-20px;width:70px;height:65px;border-radius:0 0 42px 42px;background:linear-gradient(180deg,#27386a,#351f60);border:2px solid #76dfff70;border-top:0}.hero-pad:before{left:13px;transform:rotate(18deg)}.hero-pad:after{right:13px;transform:rotate(-18deg)}.hero-pad>b{position:absolute;left:50%;top:47%;transform:translate(-50%,-50%);color:#fff;font-size:48px;font-style:italic;text-shadow:0 0 24px #54d9ff}.pad-cross{position:absolute;left:39px;top:48px;width:45px;height:14px;border-radius:5px;background:#91e9ff;box-shadow:0 0 16px #4fd7ff}.pad-cross:after{content:"";position:absolute;left:15px;top:-15px;width:14px;height:45px;border-radius:5px;background:#91e9ff}.pad-dot{position:absolute;width:19px;height:19px;border-radius:50%;box-shadow:0 0 15px currentColor}.pad-dot.one{right:45px;top:44px;background:#ff6d9d;color:#ff5d94}.pad-dot.two{right:24px;top:68px;background:#ffb43b;color:#ffad32}
.hero-chip{position:absolute;display:grid;place-items:center;border:1px solid #ffffff42;border-radius:16px;backdrop-filter:blur(4px);box-shadow:0 12px 24px #0006;font-weight:1000}.chip-one{right:4px;top:8px;width:55px;height:55px;transform:rotate(12deg);background:#ff793bcc;color:#fff1c2;font-size:25px}.chip-two{left:0;bottom:0;width:50px;height:50px;transform:rotate(-14deg);background:#25c9d9c7;color:#d6ffff;font-size:22px}.chip-three{right:15px;bottom:5px;width:42px;height:42px;background:#8b45e8c9;color:#f4dfff;font-size:17px}
@media(max-width:1050px){.banner-visual{right:1%;transform:translateY(-50%) scale(.82);transform-origin:right center}.gaming-hero .banner-copy{max-width:690px}}
@media(max-width:850px){.banner-visual{opacity:.22;right:-65px}.gaming-hero .banner-copy{max-width:none}.portal-catalog-games{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))!important}}
@media(max-width:520px){.gaming-hero{min-height:0!important}.gaming-hero .banner-copy{padding:28px 20px}.gaming-hero .banner-copy h1{font-size:48px}.banner-visual{display:none}.banner-stats{margin-top:14px}.portal-catalog-games{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.portal-catalog-card{min-height:258px}.portal-catalog-copy{padding:11px 9px}.portal-catalog-copy>p{font-size:9px}.portal-catalog-copy .portal-home-rating>small{display:none}}

/* 1.1.36 — Accueil : bannière décorée, zone texte préservée */
.gaming-hero:after{content:"";position:absolute;z-index:2;inset:0;background:linear-gradient(90deg,rgba(4,25,45,.96) 0%,rgba(8,30,57,.88) 35%,rgba(20,24,63,.48) 57%,rgba(39,17,72,.08) 76%,transparent 100%);pointer-events:none}
.gaming-hero .banner-copy{z-index:5;max-width:760px}
.banner-world{right:2.5%;width:410px;height:250px;overflow:visible}
.world-sun{position:absolute;right:38px;top:8px;width:142px;height:142px;border-radius:50%;background:repeating-linear-gradient(180deg,#ff9b54 0 8px,#ff5d9e 9px 14px);box-shadow:0 0 55px #ff5d8d70;opacity:.78;clip-path:inset(0 0 28% 0)}
.world-horizon{position:absolute;right:-35px;bottom:17px;width:390px;height:88px;overflow:hidden;transform:perspective(170px) rotateX(58deg);transform-origin:bottom;background:repeating-linear-gradient(90deg,transparent 0 34px,#4bdcff3d 35px 36px),repeating-linear-gradient(0deg,transparent 0 18px,#9c62ff38 19px 20px);border-top:1px solid #6ee8ff80;mask-image:linear-gradient(to bottom,#000,transparent)}
.world-horizon i{position:absolute;bottom:70px;width:0;height:0;border-left:48px solid transparent;border-right:48px solid transparent;border-bottom:72px solid #191d58;filter:drop-shadow(0 0 9px #8b4dff55)}.world-horizon i:nth-child(1){left:5px}.world-horizon i:nth-child(2){left:110px;border-left-width:66px;border-right-width:66px;border-bottom-width:96px}.world-horizon i:nth-child(3){left:245px;border-left-width:54px;border-right-width:54px;border-bottom-width:78px}
.world-star{position:absolute;z-index:2;color:#d9f8ff;font-style:normal;text-shadow:0 0 12px currentColor}.star-a{right:15px;top:12px;font-size:22px}.star-b{left:62px;top:6px;color:#ffb2dc;font-size:15px}.star-c{right:202px;top:52px;color:#7cecff;font-size:25px}
.arcade-machine{position:absolute;z-index:4;right:92px;top:18px;width:138px;height:211px;filter:drop-shadow(0 22px 24px #0009);transform:rotate(2deg)}
.arcade-machine:before{content:"";position:absolute;inset:0;clip-path:polygon(12% 0,88% 0,100% 17%,92% 55%,100% 100%,0 100%,8% 55%,0 17%);background:linear-gradient(145deg,#1ed3e5,#6337c8 45%,#ff4c8d);border-radius:12px}
.arcade-machine:after{content:"";position:absolute;inset:4px;clip-path:polygon(12% 0,88% 0,100% 17%,92% 55%,100% 100%,0 100%,8% 55%,0 17%);background:linear-gradient(180deg,#101c45,#10172d 58%,#191238);border-radius:10px}
.arcade-top{position:absolute;z-index:3;left:14px;right:14px;top:10px;padding:7px 2px;border:1px solid #5ce9ff88;border-radius:5px;background:#241a58;color:#fff;font-size:9px;font-weight:1000;letter-spacing:.08em;text-align:center;text-shadow:0 0 8px #4bdcff}
.arcade-screen{position:absolute;z-index:3;left:22px;right:22px;top:48px;height:78px;display:grid;place-items:center;overflow:hidden;border:3px solid #192847;border-radius:7px;background:radial-gradient(circle at 50% 42%,#6945c8,#121b4b 58%,#061426);box-shadow:inset 0 0 20px #55dfff33,0 0 10px #54dfff22}.arcade-screen:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 4px,#70eaff0c 5px 6px)}.arcade-screen b{position:relative;z-index:2;color:#fff;font-size:20px;font-style:italic;letter-spacing:.06em;text-shadow:2px 2px 0 #ff4d98,0 0 14px #59e4ff}.arcade-screen span{position:absolute;right:9px;top:7px;color:#ffc34d;font-size:12px}.arcade-screen i{position:absolute;left:7px;bottom:8px;width:15px;height:15px;border:2px solid #57e5ff;border-radius:4px;transform:rotate(12deg)}
.arcade-controls{position:absolute;z-index:3;left:16px;right:16px;top:136px;height:35px;border:1px solid #734fc1;border-radius:7px;background:linear-gradient(180deg,#332466,#171838)}.arcade-stick{position:absolute;left:24px;top:5px;width:6px;height:19px;border-radius:4px;background:#9feeff;box-shadow:0 0 8px #52ddff}.arcade-stick:before{content:"";position:absolute;left:-5px;top:-5px;width:16px;height:16px;border-radius:50%;background:#ff5b9a;box-shadow:0 0 9px #ff5b9a}.arcade-button{position:absolute;top:11px;width:13px;height:13px;border-radius:50%;box-shadow:0 0 8px currentColor}.arcade-button.a{right:33px;background:#ffc24b;color:#ffc24b}.arcade-button.b{right:14px;background:#55e3ff;color:#55e3ff}.arcade-base{position:absolute;z-index:3;left:26px;right:26px;bottom:14px;height:18px;border:1px solid #5c3aa4;border-radius:5px;background:#151631}
.hero-pad-mini{left:0;top:112px;width:135px;height:86px;transform:rotate(-13deg) scale(.82);transform-origin:left center;opacity:.95}.hero-pad-mini:before,.hero-pad-mini:after{width:45px;height:42px;bottom:-14px}.hero-pad-mini>b{font-size:30px}.hero-pad-mini .pad-cross{left:22px;top:30px;transform:scale(.68);transform-origin:left top}.hero-pad-mini .pad-dot.one{right:29px;top:27px;width:14px;height:14px}.hero-pad-mini .pad-dot.two{right:15px;top:43px;width:14px;height:14px}
.banner-world .chip-one{right:0;top:58px}.banner-world .chip-two{left:46px;bottom:3px}.banner-world .chip-three{right:18px;bottom:17px}
@media(max-width:1050px){.banner-world{right:-35px;transform:translateY(-50%) scale(.78)}.gaming-hero .banner-copy{max-width:670px}}
@media(max-width:850px){.gaming-hero:after{background:linear-gradient(90deg,rgba(4,25,45,.97),rgba(12,27,58,.88) 70%,rgba(26,20,69,.68))}.banner-world{opacity:.18;right:-100px}.gaming-hero .banner-copy{max-width:none}}
@media(max-width:520px){.banner-world{display:none}.gaming-hero:after{background:linear-gradient(135deg,rgba(4,25,45,.97),rgba(31,19,73,.9))}}

/* 1.1.37 — Accueil : grille populaire 3 colonnes + catégories compactes + catalogue resserré */
@media (min-width:1181px){
  .portal-home-games{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-bottom:16px}
  .portal-home-game{grid-template-columns:62px minmax(0,1fr);gap:9px;min-height:122px;padding:9px}
  .portal-home-icon{width:62px;height:62px;border-radius:10px}
  .portal-home-icon img{max-width:50px!important;max-height:50px!important}
  .portal-home-copy{gap:3px}
  .portal-home-title{font-size:11px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .portal-home-copy>small{font-size:8px}
  .portal-home-copy>span{font-size:8px;-webkit-line-clamp:2}
  .portal-home-rating{gap:5px!important}
  .portal-home-rating>b{font-size:12px!important;letter-spacing:0!important}
  .portal-home-rating>small{font-size:8px!important}
  .portal-home-open{justify-self:start;padding:4px 9px!important;font-size:8px!important}
  .compact-categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .compact-categories .v2-category-tile{grid-template-columns:38px minmax(0,1fr) auto;gap:8px;min-height:54px;padding:7px 8px}
  .compact-categories .v2-cat-icon{width:38px;height:38px;border-radius:9px}
  .compact-categories .v2-cat-icon img{max-width:27px;max-height:27px}
  .compact-categories .v2-category-tile b{font-size:11px}
  .compact-categories .v2-category-tile i{font-size:21px}
}

.catalog-hero{padding:20px 28px!important;min-height:0}
.catalog-hero h1{margin:4px 0!important;font-size:32px!important}
.catalog-hero p{margin:4px 0 0}
.catalog-hero .portal-search{align-self:center}
.portal-categories{margin-bottom:4px;padding-bottom:10px}
@media(max-width:900px){.catalog-hero{padding:20px!important}.catalog-hero h1{font-size:30px!important}}

/* 1.1.38 — Espace compte joueur */
.profile-hero-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-left:auto}
.account-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:22px auto 18px;max-width:1320px;padding:24px 28px;border:1px solid #1f5575;border-radius:18px;background:linear-gradient(120deg,#0d2a42,#101a38 68%,#2a1748);box-shadow:0 16px 40px rgba(0,0,0,.18)}
.account-hero small{color:#50d9ff;font-weight:900;letter-spacing:.16em}.account-hero h1{margin:6px 0 8px;font-size:32px}.account-hero p{margin:0;color:#a9c8dc}
.account-grid{max-width:1320px;margin:0 auto 40px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 320px;gap:16px;align-items:start}
.account-panel,.account-summary{margin:0}.account-form{display:grid;gap:14px;padding-top:4px}.account-form label{display:grid;gap:7px;color:#d9efff;font-weight:800;font-size:13px}.account-form label small{font-weight:500;color:#7ea8c2}.account-form input{width:100%;box-sizing:border-box;border:1px solid #245779;border-radius:10px;background:#071a2c;color:#fff;padding:12px 13px;outline:none}.account-form input:focus{border-color:#35cfff;box-shadow:0 0 0 3px rgba(53,207,255,.12)}.account-form .btn{justify-self:start;margin-top:2px}
.account-summary dl{margin:0;display:grid;gap:0}.account-summary dl div{display:flex;justify-content:space-between;gap:18px;padding:11px 0;border-bottom:1px solid #183d57}.account-summary dt{color:#7ea8c2}.account-summary dd{margin:0;color:#fff;font-weight:800;text-align:right}.account-summary p{margin:16px 0 0;color:#86a9bf;font-size:12px;line-height:1.55}
@media(max-width:980px){.account-grid{grid-template-columns:1fr 1fr}.account-summary{grid-column:1/-1}.account-hero{align-items:flex-start}.profile-hero-actions{margin-left:0}}
@media(max-width:680px){.account-grid{grid-template-columns:1fr}.account-summary{grid-column:auto}.account-hero{flex-direction:column;padding:20px}.profile-hero-actions{width:100%}.profile-hero-actions .btn{flex:1;text-align:center}}

/* 1.1.41 — Public layout widened for modern large displays. */
@media (min-width:1200px){
  .portal-page>main{width:min(1900px,94vw)!important;max-width:none!important}
  .portal-topbar{padding-left:max(24px,calc((100vw - 1900px)/2))!important;padding-right:max(24px,calc((100vw - 1900px)/2))!important}
  .profile-hero,.profile-stats,.profile-layout{width:min(1800px,94vw)!important;max-width:none!important}
  .account-hero,.account-grid{width:min(1800px,94vw)!important;max-width:none!important}
}


/* 1.1.42 — Catalogue: responsive grid that uses the widened public layout. */
@media (min-width:901px){
  .portal-catalog-games{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))!important;gap:18px!important}
  .portal-catalog-card{min-width:0}
}
@media (min-width:1500px){
  .portal-catalog-games{grid-template-columns:repeat(auto-fit,minmax(330px,1fr))!important}
}


/* 1.1.44 — Profil : favoris compacts, adaptés aux icônes 50x50. */
.profile-game-grid{display:flex!important;flex-wrap:wrap;align-items:flex-start;gap:12px!important}
.profile-game-card{width:118px!important;min-width:118px!important;box-sizing:border-box;text-align:center;padding:10px 8px!important;display:flex!important;flex-direction:column;align-items:center;gap:8px;overflow:hidden}
.profile-game-card>span{order:2;width:50px!important;height:50px!important;min-height:50px;background:transparent!important;border-radius:8px;overflow:hidden}
.profile-game-card img{width:50px!important;height:50px!important;max-width:50px!important;max-height:50px!important;object-fit:contain!important;image-rendering:auto}
.profile-game-card>b{order:1;width:100%;padding:0!important;font-size:12px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-game-card>small{display:none!important}
.profile-game-placeholder{width:50px!important;height:50px!important;font-size:26px!important}
@media(max-width:520px){.profile-game-grid{justify-content:flex-start}.profile-game-card{width:105px!important;min-width:105px!important}}

/* 1.1.45 — Profil : tuiles de favoris légèrement plus aérées. */
.profile-game-grid{gap:14px!important}
.profile-game-card{width:136px!important;min-width:136px!important;min-height:104px;padding:13px 12px!important;gap:10px!important;border-radius:11px}
.profile-game-card>b{font-size:12px;line-height:1.3}
@media(max-width:520px){.profile-game-card{width:120px!important;min-width:120px!important;padding:12px 10px!important}}

/* G-Arcade 1.2.0 - profil, historique et modules */
.profile-activity-actions{padding:8px 14px 2px;text-align:center}.profile-activity-actions .btn{width:100%;box-sizing:border-box}.history-panel{width:min(1200px,94vw);margin:0 auto 34px}.history-list{padding:8px 18px}.history-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 2px;border-bottom:1px solid #1d3157}.history-row:last-child{border-bottom:0}.history-row a{color:#dce7ff;text-decoration:none;font-weight:800}.history-row small{display:block;color:#7f91b5;margin-top:3px}.history-row time{color:#8192b5;font-size:12px;white-space:nowrap}.module-card{margin-bottom:16px}.module-card-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px}.module-card-head>div{display:flex;align-items:center;gap:14px}.module-card-head h2,.module-card-head p{margin:0}.module-card-head p{margin-top:5px;color:#8295b9}.module-icon{width:46px;height:46px;border-radius:12px;background:#16284c;display:grid;place-items:center;font-size:22px}.module-stats{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:0 20px 18px}.module-stats>span,.module-stats>label{background:#101d39;border:1px solid #263d69;border-radius:10px;padding:10px 12px}.module-status{border-top:1px solid #20345b;padding:13px 20px;color:#8fa1c5}.module-coming{opacity:.75}.challenge-hero{margin-bottom:16px}.challenge-create,.challenge-list{width:min(1800px,94vw);margin:0 auto 16px}.challenge-form{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;padding:18px}.challenge-form label{display:grid;gap:6px;color:#9aabd0;font-size:12px;font-weight:700}.challenge-form select{min-width:0}.challenge-form button{align-self:end}.challenge-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px}.challenge-card{background:#0c162e;border:1px solid #263d69;border-radius:16px;padding:16px}.challenge-head{display:flex;align-items:center;justify-content:space-between}.challenge-head small{color:#8fa1c5;text-transform:uppercase;font-weight:800}.challenge-head h3{margin:4px 0 0}.challenge-head>span{font-size:24px}.challenge-versus{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;margin:16px 0;padding:14px;background:#091226;border-radius:12px}.challenge-versus>div{text-align:center}.challenge-versus b,.challenge-versus strong{display:block}.challenge-versus strong{font-size:22px;margin-top:5px;color:#fff}.challenge-versus em{font-style:normal;color:#7789ad;font-weight:900}.challenge-deadline{font-size:11px;color:#7f91b5}.challenge-card form{display:flex;gap:8px}.challenge-card .btn{display:block;text-align:center}.challenge-list .leader-games-head{padding:4px 0 12px}@media(max-width:720px){.history-row{grid-template-columns:34px 1fr}.history-row time{grid-column:2}.challenge-form{grid-template-columns:1fr}.challenge-grid{grid-template-columns:1fr}}


/* 1.2.4 — ACP G-Captcha */
.gc-admin-hero{display:flex;justify-content:space-between;align-items:center}.gc-admin-banner{margin:0 0 14px;padding:12px 16px;border:1px solid #267f55;border-radius:10px;background:#0e3028;color:#8ff0bd;font-weight:800}.gc-admin-banner.off{border-color:#6b3b45;background:#2b1720;color:#ef9ba9}.gc-admin-tabs{display:flex;gap:8px;margin:0 0 14px;border-bottom:1px solid #263d69}.gc-admin-tabs a{padding:10px 14px;border:1px solid #263d69;border-bottom:0;border-radius:8px 8px 0 0;color:#9fb7dc;text-decoration:none;font-weight:800;background:#0e1a34}.gc-admin-tabs a.active{background:#16284c;color:#fff}.gc-admin-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(320px,1fr);gap:14px}.gc-admin-card{margin-bottom:14px;overflow:hidden}.gc-admin-card>h2{margin:0;padding:12px 16px;background:#122647;border-bottom:1px solid #263d69;font-size:15px}.gc-admin-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 18px}.gc-admin-row strong,.gc-admin-row small{display:block}.gc-admin-row small{margin-top:5px;color:#8398bd}.gc-switch{min-width:210px;border:1px solid #2c825a;background:#103728;border-radius:20px;padding:7px 12px;color:#9bf1c0;font-weight:800}.gc-switch input{margin-right:7px}.gc-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px}.gc-quick-grid>div{border:1px solid #263d69;border-radius:9px;background:#0e1a34;padding:10px}.gc-quick-grid small,.gc-quick-grid b{display:block}.gc-quick-grid small{color:#7f91b5;font-size:10px}.gc-quick-grid b{margin-top:4px}.gc-quick-grid .good{color:#66dfa0}.gc-protection{margin:0 12px 12px;padding:10px;border-left:3px solid #35b979;background:#103728;color:#91edba}.gc-count{float:right;color:#6ee2a2;font-size:12px}.gc-challenge-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px}.gc-challenge-item{display:grid;grid-template-columns:38px 20px minmax(0,1fr) 26px;align-items:center;gap:8px;border:1px solid #263d69;border-radius:10px;background:#0e1a34;padding:11px;cursor:pointer}.gc-challenge-item.enabled{border-color:#2c825a}.gc-challenge-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:8px;background:#16284c}.gc-challenge-item b,.gc-challenge-item small{display:block}.gc-challenge-item small{margin-top:3px;color:#7f91b5}.gc-challenge-item i{font-style:normal;color:#53d28d;font-size:18px}.gc-warning{margin:0 14px 14px;padding:10px;border-left:3px solid #d9962f;background:#332713;color:#e9bd72}@media(max-width:900px){.gc-admin-grid,.gc-challenge-grid{grid-template-columns:1fr}.gc-admin-row{align-items:flex-start;flex-direction:column}.gc-switch{min-width:0;width:100%;box-sizing:border-box}}

.gc-protection.is-on{background:#0b4d35!important;color:#65e6a3!important;border-left:3px solid #21c97a!important}.gc-protection.is-off{background:#431c28!important;color:#ff9caf!important;border-left:3px solid #e24a67!important}

/* G-Captcha 1.2.7 */
.gc-challenge-item .gc-state-dot{font-style:normal;font-size:16px;color:#ff5b6e;text-shadow:none}
.gc-challenge-item.enabled .gc-state-dot{color:#46e695}
.gc-challenge-item.disabled{border-color:#633545}
.gc-challenge-item.disabled .gc-challenge-icon{opacity:.72}
.gc-registration-warning{margin:-4px 0 14px;padding:12px 16px;border:1px solid #9b6b25;border-left:4px solid #e3a63a;border-radius:9px;background:#352813;color:#f0c678}
.registration-closed{text-align:center;max-width:720px;margin:40px auto}

/* G-Captcha 1.2.8 controls */
.gc-enable-choice{display:flex;gap:10px;flex-wrap:wrap}.gc-enable-btn{position:relative;cursor:pointer}.gc-enable-btn input{position:absolute;opacity:0}.gc-enable-btn span{display:block;min-width:120px;text-align:center;padding:10px 14px;border-radius:9px;border:1px solid #365078;background:#13213d;color:#b8c8e6;font-weight:800}.gc-enable-btn.on input:checked+span{background:#0b6b42;border-color:#21c97a;color:#eafff4}.gc-enable-btn.off input:checked+span{background:#6a2030;border-color:#e24a67;color:#fff0f3}.gc-state-dot{font-size:20px!important;line-height:1}.gc-state-dot.on{color:#42dc8d!important}.gc-state-dot.off{color:#ef526f!important}.gc-challenge-item.disabled{border-color:#6b3b45}.gc-challenge-item.disabled .gc-state-dot{color:#ef526f!important}

/* 1.2.9 - alignement Extensions */
.module-status-centered{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center}
.extensions-actions{justify-content:center!important}

/* 1.3.2 - gestionnaire d extensions en cartes */
.extensions-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}.extension-tile{margin:0!important;padding:20px;min-height:330px;display:flex;flex-direction:column}.extension-tile-top{display:flex;align-items:center;justify-content:space-between;gap:14px}.extension-tile-icon{width:54px;height:54px;border-radius:14px;background:#16284c;display:grid;place-items:center;font-size:25px}.extension-tile-copy{padding:18px 0 14px}.extension-tile-copy h2{margin:0 0 6px;font-size:23px}.extension-tile-copy p{margin:0;color:#8295b9;line-height:1.45}.extension-power{min-width:126px;border-radius:10px;padding:10px 12px;font-weight:800;cursor:pointer}.extension-power.is-on{background:#087744;border:1px solid #20c879;color:#effff7}.extension-power.is-off{background:#6a2030;border:1px solid #e24a67;color:#fff0f3}.extension-mini-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:4px}.extension-mini-stats span{background:#101d39;border:1px solid #263d69;border-radius:10px;padding:10px;text-align:center}.extension-mini-stats b{display:block;font-size:18px}.extension-mini-stats small{color:#8fa1c5}.extension-setting{margin-top:10px}.extension-setting label{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#101d39;border:1px solid #263d69;border-radius:10px;padding:8px 10px}.extension-setting select{width:auto;min-width:92px}.extension-tile-spacer{flex:1}.extension-tile-actions{margin-top:auto;padding-top:18px;text-align:center}.extension-tile-actions .btn{display:inline-block}.extension-unavailable{padding:9px 12px;border-radius:10px;background:#182039;border:1px solid #35405c;color:#9aa6be;font-weight:700}.btn.disabled{opacity:.55;pointer-events:none}.extension-toggle{margin:0}.extensions-hero{margin-bottom:18px}@media(max-width:1100px){.extensions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.extensions-grid{grid-template-columns:1fr}.extension-tile{min-height:0}.extension-power{min-width:112px}}

/* 1.3.3 portal/footer/settings polish */
.notice{position:fixed;top:64px;right:22px;z-index:9999;max-width:min(560px,calc(100vw - 44px));box-shadow:0 10px 30px rgba(0,0,0,.28);animation:gaNoticeIn .18s ease-out}
@keyframes gaNoticeIn{from{transform:translateY(-8px);opacity:0}to{transform:none;opacity:1}}
.ga-footer{display:flex;justify-content:center;gap:18px;align-items:center;padding:24px 16px;color:#7185aa;font-size:13px}.ga-footer a{color:#75bfff;text-decoration:none}.ga-footer a:hover{text-decoration:underline}.forum-config-fields{display:grid;grid-template-columns:minmax(130px,.45fr) minmax(260px,1fr);gap:10px;max-width:680px;width:60%}.forum-config-fields input{width:100%;box-sizing:border-box}.legal-games{max-width:900px;margin:28px auto}.legal-games h2{margin-top:26px}@media(max-width:760px){.notice{top:12px;right:12px;max-width:calc(100vw - 24px)}.forum-config-fields{grid-template-columns:1fr;width:100%}.ga-footer{flex-direction:column;gap:7px}}

/* G-Arcade V3 — Neon Arcade theme
 * Copyright (c) 2026 Greg-G. Tous droits réservés.
 */
:root{--v3-cyan:#20d9ff;--v3-blue:#2878ff;--v3-violet:#7b2cff;--v3-pink:#f019ff;--v3-bg:#030817;--v3-panel:rgba(7,18,45,.90);--v3-line:rgba(43,191,255,.52)}
html{min-height:100%;background:#030817}
body.portal-page,body.admin-layout-page{min-height:100vh;background:radial-gradient(circle at 16% 12%,rgba(0,155,255,.18),transparent 27%),radial-gradient(circle at 84% 12%,rgba(213,0,255,.17),transparent 28%),linear-gradient(135deg,#020814 0%,#06152c 48%,#14072b 100%);background-attachment:fixed}
body.portal-page:before{content:"";position:fixed;inset:68px 0 0;z-index:-2;pointer-events:none;background:linear-gradient(90deg,rgba(0,217,255,.07),transparent 20%,transparent 80%,rgba(240,25,255,.08)),repeating-linear-gradient(90deg,transparent 0 79px,rgba(35,191,255,.025) 80px),repeating-linear-gradient(0deg,transparent 0 79px,rgba(145,45,255,.025) 80px)}
.portal-topbar{background:rgba(3,10,27,.90)!important;border-bottom:1px solid rgba(73,65,255,.75)!important;box-shadow:0 0 30px rgba(25,102,255,.15);backdrop-filter:blur(18px)}
.portal-brand b{background:linear-gradient(135deg,#6e28ff,#b528ff)!important;box-shadow:0 0 16px rgba(167,45,255,.75)}.portal-brand span{font-weight:1000;text-shadow:0 0 14px rgba(120,150,255,.35)}.portal-brand i{color:var(--v3-cyan)!important;text-shadow:0 0 12px var(--v3-cyan)}
.portal-topbar nav a{transition:.18s ease;border:1px solid transparent}.portal-topbar nav a:hover,.portal-topbar nav a.active{background:linear-gradient(135deg,#4d27d9,#8e22ed)!important;border-color:#c62cff!important;box-shadow:0 0 16px rgba(205,35,255,.55),inset 0 0 14px rgba(76,99,255,.22)}
.top-search{background:rgba(4,21,42,.86)!important;border-color:#185c86!important;box-shadow:inset 0 0 18px rgba(0,169,255,.05)}.top-search:focus-within{border-color:var(--v3-cyan)!important;box-shadow:0 0 15px rgba(32,217,255,.28)}
.portal-page .panel,.portal-page .card,.portal-page .welcome,.portal-page .leader-panel,.portal-page .leader-games,.portal-page .challenge-card,.portal-page .challenge-create{background:linear-gradient(145deg,rgba(8,24,56,.94),rgba(9,14,43,.94))!important;border-color:rgba(49,143,255,.55)!important;box-shadow:0 14px 38px rgba(0,0,0,.30),inset 0 0 30px rgba(27,93,255,.035)}
.portal-hero,.leader-hero,.challenge-hero{position:relative;background:radial-gradient(circle at 78% 30%,rgba(218,25,255,.19),transparent 32%),linear-gradient(120deg,rgba(5,33,69,.96),rgba(18,13,59,.96))!important;border-color:#3a65cf!important;box-shadow:0 18px 48px rgba(0,0,0,.38),0 0 24px rgba(38,112,255,.12)}
.portal-hero:after,.leader-hero:after,.challenge-hero:after{content:"";position:absolute;inset:auto 0 0;height:1px;background:linear-gradient(90deg,transparent,var(--v3-cyan),var(--v3-pink),transparent);opacity:.65}
.portal-hero small,.leader-hero small,.leader-panel-head small,.leader-games-head small,.challenge-hero small,.portal-section small{color:#4be8ff!important;text-shadow:0 0 12px rgba(32,217,255,.45)}
h1,h2,h3{letter-spacing:-.015em}.portal-page h1,.portal-page h2{ text-shadow:0 0 18px rgba(95,109,255,.14)}
button,.btn{background:linear-gradient(135deg,#176fd6,#188fe1)!important;border:1px solid rgba(56,205,255,.4)!important;box-shadow:0 0 13px rgba(19,132,255,.18);transition:.16s ease}button:hover,.btn:hover{transform:translateY(-1px);filter:brightness(1.12);box-shadow:0 0 20px rgba(30,186,255,.38)}
.portal-chip,.leader-chip{background:#091a39!important;border-color:#344c85!important}.portal-chip.on,.leader-chip.on{background:linear-gradient(135deg,#741bd7,#b116e8)!important;border-color:#ee35ff!important;box-shadow:0 0 14px rgba(224,31,255,.4)}
.portal-icon-card,.portal-home-game,.leader-game-card{border-color:#315fa8!important;background:linear-gradient(145deg,rgba(8,31,63,.96),rgba(12,16,51,.96))!important}.portal-icon-card:hover,.portal-home-game:hover,.leader-game-card:hover{border-color:var(--v3-cyan)!important;box-shadow:0 0 20px rgba(31,210,255,.22),0 16px 38px rgba(0,0,0,.4)!important}
.leader-overview>section:first-child{border-color:#168cff!important;box-shadow:0 0 22px rgba(0,139,255,.13)}.leader-overview>section:last-child{border-color:#ba25ef!important;box-shadow:0 0 22px rgba(212,27,255,.13)}
.challenge-card{border-color:#354f91!important}.challenge-versus{background:rgba(2,11,31,.72)!important;border:1px solid rgba(48,103,189,.22)}
input,select,textarea{background:rgba(3,17,35,.92)!important;border-color:#285b8c!important}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--v3-cyan)!important;box-shadow:0 0 0 2px rgba(32,217,255,.08),0 0 14px rgba(32,217,255,.15)}
.ga-footer{margin-top:auto;border-top:1px solid rgba(60,85,184,.18);background:rgba(2,8,20,.28)}body.portal-page{display:flex;min-height:100vh;flex-direction:column}body.portal-page>main{flex:1;width:min(1900px,94vw)!important}
@media(max-width:820px){body.portal-page:before{display:none}.portal-topbar{box-shadow:none}.portal-page>main{width:94vw!important}}

/* G-Arcade V3.1 — Neon Arcade visual pass
 * Copyright (c) 2026 Greg-G. Tous droits réservés.
 */
body.portal-page{background:#020817 url('../images/neon-arcade-bg.svg') center top/cover fixed no-repeat!important}
body.portal-page:before{background:linear-gradient(180deg,rgba(2,7,22,.12),rgba(2,7,22,.50) 58%,rgba(2,7,22,.72))!important;z-index:-1!important}
.portal-topbar{border-bottom:2px solid transparent!important;border-image:linear-gradient(90deg,#00d9ff,#a52cff,#f019ff,#00d9ff) 1!important;box-shadow:0 0 22px rgba(0,217,255,.28),0 0 30px rgba(240,25,255,.18)!important}
.portal-brand{gap:11px!important}.portal-brand .ga-logo-pad{display:inline-block;width:46px;height:34px;background:none!important;border:3px solid #d9d9ff;border-radius:14px 14px 10px 10px;position:relative;box-shadow:0 0 7px #fff,0 0 15px #8f2cff,0 0 26px #d51cff!important}.portal-brand .ga-logo-pad:before{content:"+";position:absolute;left:7px;top:-3px;font:900 24px/30px Arial;color:#fff;text-shadow:0 0 8px #20d9ff}.portal-brand .ga-logo-pad:after{content:"••";position:absolute;right:5px;top:2px;font:900 15px/24px Arial;color:#fff;letter-spacing:2px;text-shadow:0 0 8px #f019ff}.portal-brand span{font-size:21px!important;color:#fff;text-shadow:0 0 5px #fff,0 0 14px #663cff,0 0 22px #00bfff!important}
.ga-ico{width:20px;height:20px;display:inline-block;vertical-align:-4px;margin-right:5px;background:currentColor;filter:drop-shadow(0 0 5px currentColor);mask-repeat:no-repeat;mask-position:center;mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:contain}.ga-home{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11 12 3l9 8v10h-6v-6H9v6H3z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11 12 3l9 8v10h-6v-6H9v6H3z'/%3E%3C/svg%3E")}.ga-gamepad{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7h10c3 0 5 2 5 5v5c0 2-2 3-4 2l-3-3H9l-3 3c-2 1-4 0-4-2v-5c0-3 2-5 5-5zm1 3H6v2H4v2h2v2h2v-2h2v-2H8v-2zm9 1a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm3 3a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7h10c3 0 5 2 5 5v5c0 2-2 3-4 2l-3-3H9l-3 3c-2 1-4 0-4-2v-5c0-3 2-5 5-5zm1 3H6v2H4v2h2v-2h2v-2H8v-2zm9 1a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm3 3a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z'/%3E%3C/svg%3E")}.ga-trophy{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h10v3h4v3c0 3-2 5-5 5h-1c-.5 2-1.5 3-2 3v2h4v2H7v-2h4v-2c-.5 0-1.5-1-2-3H8c-3 0-5-2-5-5V6h4V3zm0 5H5v1c0 2 1 3 3 3h.5C7.7 11 7.2 9.5 7 8zm10 0c-.2 1.5-.7 3-1.5 4h.5c2 0 3-1 3-3V8h-2z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h10v3h4v3c0 3-2 5-5 5h-1c-.5 2-1.5 3-2 3v2h4v2H7v-2h4v-2c-.5 0-1.5-1-2-3H8c-3 0-5-2-5-5V6h4V3zm0 5H5v1c0 2 1 3 3 3h.5C7.7 11 7.2 9.5 7 8zm10 0c-.2 1.5-.7 3-1.5 4h.5c2 0 3-1 3-3V8h-2z'/%3E%3C/svg%3E")}.ga-bolt{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 4 14h7l-1 8 10-13h-7z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 4 14h7l-1 8 10-13h-7z'/%3E%3C/svg%3E")}.ga-gear{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m10 2 1 2h2l1-2 3 1v3l2 1 2-1 1 3-2 2v2l2 2-1 3-2-1-2 1v3l-3 1-1-2h-2l-1 2-3-1v-3l-2-1-2 1-1-3 2-2v-2L2 9l1-3 2 1 2-1V3l3-1zm2 6a4 4 0 1 0 0 8 4 4 0 0 0 0-8z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m10 2 1 2h2l1-2 3 1v3l2 1 2-1 1 3-2 2v2l2 2-1 3-2-1-2 1v3l-3 1-1-2h-2l-1 2-3-1v-3l-2-1-2 1-1-3 2-2v-2L2 9l1-3 2 1 2-1V3l3-1zm2 6a4 4 0 1 0 0 8 4 4 0 0 0 0-8z'/%3E%3C/svg%3E")}.ga-user{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm-9 9c0-5 4-8 9-8s9 3 9 8z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm-9 9c0-5 4-8 9-8s9 3 9 8z'/%3E%3C/svg%3E")}.ga-logout{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h10v3H6v12h7v3H3zm12 4 6 5-6 5v-3H9v-4h6z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h10v3H6v12h7v3H3zm12 4 6 5-6 5v-3H9v-4h6z'/%3E%3C/svg%3E")}
.portal-topbar nav a{color:#dceaff!important}.portal-topbar nav a.active .ga-ico{color:#fff}.leader-hero h1{font-size:clamp(38px,5vw,70px)!important;text-shadow:0 0 6px #fff,0 0 18px #406cff!important}.leader-stats>div{clip-path:polygon(10% 0,90% 0,100% 16%,100% 84%,90% 100%,10% 100%,0 84%,0 16%);border:1px solid #1bcfff!important;box-shadow:0 0 18px rgba(0,217,255,.30),inset 0 0 24px rgba(37,86,255,.18)!important}.leader-stats>div:nth-child(2){border-color:#ed27ff!important;box-shadow:0 0 18px rgba(240,25,255,.32),inset 0 0 24px rgba(137,39,255,.18)!important}.leader-panel,.leader-games{backdrop-filter:blur(8px)}.leader-overview>section:first-child,.leader-games{border-width:2px!important;box-shadow:0 0 8px #08aaff,0 0 22px rgba(0,153,255,.26),inset 0 0 28px rgba(0,91,255,.06)!important}.leader-overview>section:last-child{border-width:2px!important;box-shadow:0 0 8px #e31fff,0 0 22px rgba(230,20,255,.28),inset 0 0 28px rgba(150,0,255,.07)!important}.ga-footer{background:rgba(2,5,18,.72)!important;backdrop-filter:blur(12px);border-top:1px solid rgba(46,199,255,.30)!important}

/* G-Arcade V3.2 — Arcade room pass
 * Copyright (c) 2026 Greg-G. Tous droits réservés.
 */
body.portal-page{background:#020615 url('../images/neon-arcade-room.jpg') center top/cover fixed no-repeat!important}
body.portal-page:before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 28%,rgba(18,30,85,.10),rgba(1,5,18,.40) 62%,rgba(1,3,12,.72) 100%),linear-gradient(90deg,rgba(0,197,255,.06),transparent 24%,transparent 76%,rgba(247,0,255,.07));z-index:-1!important}
.portal-topbar{max-width:1540px;margin:0 auto!important;border:1px solid rgba(65,122,255,.42)!important;border-top:0!important;border-radius:0 0 18px 18px;background:linear-gradient(180deg,rgba(2,8,31,.96),rgba(4,11,38,.90))!important;box-shadow:0 0 10px #0aa8ff,0 0 24px rgba(245,23,255,.34)!important}
.portal-brand .ga-logo-pad{width:54px;height:40px;border-color:#fff!important;box-shadow:0 0 7px #fff,0 0 16px #7c2cff,0 0 30px #e21cff!important}.portal-brand span{font-size:24px!important;letter-spacing:.5px}
.portal-page>main{width:min(1500px,88vw)!important;padding-top:28px}
.leader-hero{min-height:190px;padding:34px 42px!important;border:2px solid #266dff!important;border-radius:18px!important;background:linear-gradient(110deg,rgba(3,17,54,.94),rgba(17,11,67,.88) 64%,rgba(71,5,88,.76))!important;box-shadow:0 0 9px rgba(0,185,255,.72),0 0 26px rgba(20,96,255,.25),inset 0 0 42px rgba(15,72,180,.13)!important}
.leader-hero h1{display:flex;align-items:center;gap:20px;font-size:clamp(44px,4.4vw,72px)!important;line-height:1!important}.hero-trophy{width:78px;height:78px;display:inline-block;background:linear-gradient(#fff7a8,#ffc400 45%,#ff7b00);filter:drop-shadow(0 0 8px #fff0a0) drop-shadow(0 0 18px #ff9d00);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10v3h4v4c0 3-2 5-5 5h-1c-.6 1.7-1.5 2.7-2 3v2h4v3H7v-3h4v-2c-.5-.3-1.4-1.3-2-3H8c-3 0-5-2-5-5V5h4V2zm0 6H5v1c0 1.7 1 2.7 3 3-.6-1.3-.9-2.7-1-4zm10 0c-.1 1.3-.4 2.7-1 4 2-.3 3-1.3 3-3V8h-2z'/%3E%3C/svg%3E") center/contain no-repeat}.hero-bolt{width:56px;height:56px;display:inline-block;background:#fff;filter:drop-shadow(0 0 10px #8c2cff);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 4 14h7l-1 8 10-13h-7z'/%3E%3C/svg%3E") center/contain no-repeat}
.leader-stats{gap:18px!important}.leader-stats>div{min-width:126px!important;min-height:112px!important;background:linear-gradient(145deg,rgba(3,32,74,.96),rgba(7,13,52,.96))!important;border:2px solid #13cfff!important;box-shadow:0 0 8px #00c8ff,0 0 22px rgba(0,196,255,.35),inset 0 0 26px rgba(0,92,255,.18)!important}.leader-stats>div:nth-child(2){border-color:#ec2cff!important;box-shadow:0 0 8px #e925ff,0 0 22px rgba(232,30,255,.35),inset 0 0 26px rgba(141,24,255,.18)!important}.leader-stats>div:nth-child(3){border-color:#13cfff!important}
.leader-overview{gap:22px!important}.leader-panel,.leader-games{position:relative;overflow:hidden;background:linear-gradient(145deg,rgba(2,17,51,.96),rgba(5,10,37,.94))!important;border-radius:16px!important}.leader-overview>section:first-child,.leader-games{border:2px solid #16bfff!important;box-shadow:0 0 8px #00aaff,0 0 26px rgba(0,155,255,.34),inset 0 0 35px rgba(0,70,180,.09)!important}.leader-overview>section:last-child{border:2px solid #ed2cff!important;box-shadow:0 0 8px #e31fff,0 0 26px rgba(231,25,255,.35),inset 0 0 35px rgba(143,0,190,.10)!important}.leader-panel:after,.leader-games:after{content:"";position:absolute;right:22px;top:22px;width:86px;height:38px;opacity:.18;background:linear-gradient(90deg,transparent 0 12%,#7b35ff 12% 28%,transparent 28% 40%,#7b35ff 40% 58%,transparent 58% 70%,#7b35ff 70% 100%);clip-path:polygon(0 0,100% 0,100% 100%,18% 100%)}
.leader-panel-head h2,.leader-games-head h2{display:flex;align-items:center;gap:12px}.section-icon{display:inline-block;width:34px;height:34px;background:#fff;filter:drop-shadow(0 0 7px currentColor)}.crown-icon{color:#ffc400;background:#ffc400;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m3 7 4 4 5-7 5 7 4-4-2 12H5L3 7zm2 14h14v2H5z'/%3E%3C/svg%3E") center/contain no-repeat}.clock-icon{color:#e735ff;background:#fff;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 5h-2v6l5 3 1-1.7-4-2.3V7z'/%3E%3C/svg%3E") center/contain no-repeat;filter:drop-shadow(0 0 7px #ed2cff)}.gamepad-icon{background:#fff;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7h10c3 0 5 2 5 5v5c0 2-2 3-4 2l-3-3H9l-3 3c-2 1-4 0-4-2v-5c0-3 2-5 5-5zm1 3H6v2H4v2h2v2h2v-2h2v-2H8v-2zm9 1a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm3 3a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z'/%3E%3C/svg%3E") center/contain no-repeat;filter:drop-shadow(0 0 8px #c52cff)}
.leader-player-list>*,.leader-record-list>*{background:linear-gradient(90deg,rgba(5,17,48,.9),rgba(7,13,39,.88))!important;border:1px solid rgba(71,113,196,.55)!important;border-radius:10px!important;margin:8px 0!important}.leader-game-card{min-height:100px!important;border-width:2px!important;border-radius:12px!important}.leader-game-cover{width:112px!important;min-width:112px!important}.leader-game-cover img{width:100%!important;height:82px!important;object-fit:cover!important;border-radius:10px!important}.leader-search input{height:48px}.leader-search button{height:48px;background:linear-gradient(135deg,#5325f5,#136dff)!important;border:2px solid #25dfff!important;box-shadow:0 0 8px #4b38ff,0 0 18px rgba(20,210,255,.45)!important}.leader-chip.on{box-shadow:0 0 8px #e32cff,0 0 18px rgba(235,35,255,.5)!important}.ga-footer{width:min(1500px,88vw);margin-left:auto;margin-right:auto;border:1px solid rgba(54,116,255,.20)!important;border-bottom:0!important;border-radius:14px 14px 0 0;padding:18px!important}
@media(max-width:1000px){.portal-page>main,.ga-footer{width:94vw!important}.portal-topbar{border-radius:0}.leader-hero{padding:26px!important}.hero-trophy{width:58px;height:58px}.leader-stats>div{min-width:92px!important;min-height:88px!important}}

/* G-Arcade V3.3 — Neon arcade UI adapted to G-Arcade
 * Copyright (c) 2026 Greg-G. Tous droits réservés.
 */
body.portal-page{background:#020514 url('../images/neon-arcade-room.jpg') center top/cover fixed no-repeat!important}
body.portal-page:before{background:linear-gradient(180deg,rgba(1,4,18,.12),rgba(1,4,18,.35) 55%,rgba(1,4,18,.7))!important}
.portal-topbar{width:min(1540px,96vw)!important;max-width:none!important;min-height:66px!important;margin:0 auto 18px!important;padding:8px 18px!important;display:flex!important;align-items:center!important;gap:22px!important;border-radius:0 0 14px 14px!important}
.portal-topbar nav{display:flex!important;align-items:center!important;flex:1!important;gap:5px!important;flex-wrap:nowrap!important}.portal-topbar nav a{white-space:nowrap!important;padding:10px 11px!important}.top-search{margin-left:auto!important;min-width:245px!important}.portal-brand{white-space:nowrap!important}.portal-brand span{font-size:22px!important}
.portal-page>main{width:min(1460px,94vw)!important;padding-top:10px!important}
.neo-home-hero{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(420px,.9fr);gap:22px;margin:10px 0 24px}.neo-hero-brand,.neo-home-stats{border:2px solid #13cfff;background:linear-gradient(120deg,rgba(4,15,55,.95),rgba(19,7,61,.93));box-shadow:0 0 10px #00bfff,0 0 28px rgba(215,20,255,.24),inset 0 0 35px rgba(0,85,255,.12);border-radius:16px;min-height:178px}.neo-hero-brand{display:flex;align-items:center;justify-content:center;gap:28px}.neo-hero-brand h1{font-size:clamp(44px,4.5vw,72px);margin:0;color:#fff;text-shadow:0 0 6px #fff,0 0 18px #704cff}.neo-hero-brand h1 em{font-style:normal;color:#fff}.neo-hero-brand p{margin:10px 0 0;letter-spacing:4px;font-weight:800;color:#f0efff}.neo-hero-pad{width:92px;height:68px;background:linear-gradient(135deg,#fff,#b82cff);filter:drop-shadow(0 0 8px #fff) drop-shadow(0 0 20px #e326ff);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7h10c3 0 5 2 5 5v5c0 2-2 3-4 2l-3-3H9l-3 3c-2 1-4 0-4-2v-5c0-3 2-5 5-5zm1 3H6v2H4v2h2v2h2v-2h2v-2H8v-2zm9 1a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm3 3a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z'/%3E%3C/svg%3E") center/contain no-repeat}.neo-home-stats{border-color:#e72cff;display:grid;grid-template-columns:repeat(4,1fr);padding:22px;gap:12px}.neo-home-stats>div{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #19cfff;background:rgba(4,20,60,.88);clip-path:polygon(10% 0,90% 0,100% 12%,100% 88%,90% 100%,10% 100%,0 88%,0 12%);box-shadow:inset 0 0 22px rgba(0,126,255,.22)}.neo-home-stats>div:nth-child(even){border-color:#e72cff}.neo-home-stats .ga-ico{width:30px;height:30px;margin-bottom:7px;color:#21e7ff}.neo-home-stats b{font-size:27px}.neo-home-stats span{font-size:12px;color:#c7d6f5}
.neo-home-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.neo-panel{background:linear-gradient(145deg,rgba(3,18,52,.96),rgba(5,10,35,.95));border-radius:15px;padding:16px 18px 18px;backdrop-filter:blur(8px);overflow:hidden}.neo-panel.cyan{border:2px solid #10cfff;box-shadow:0 0 9px #00aaff,0 0 25px rgba(0,170,255,.28)}.neo-panel.magenta{border:2px solid #ed28ff;box-shadow:0 0 9px #e31fff,0 0 25px rgba(230,20,255,.28)}.neo-panel-title{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(87,126,210,.42);padding:0 0 12px;margin-bottom:14px}.neo-panel-title h2{margin:0;display:flex;align-items:center;gap:10px;font-size:19px;text-transform:uppercase}.neo-panel-title h2 .ga-ico{width:25px;height:25px;color:#fff}.neo-panel-title a{border:1px solid #13cfff;border-radius:8px;padding:8px 12px;color:#5eeaff;text-decoration:none}.neo-latest-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.neo-latest-card{text-align:center;text-decoration:none;color:#fff;min-width:0}.neo-latest-card>span{height:105px;display:flex;align-items:center;justify-content:center;border:1px solid #16cfff;border-radius:10px;background:#061333;overflow:hidden;box-shadow:inset 0 0 20px rgba(0,115,255,.15)}.neo-latest-card img{width:100%;height:100%;object-fit:cover}.neo-latest-card b{display:block;margin-top:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.neo-latest-card small{color:#8fa7d0}.neo-score-list{display:grid;gap:9px}.neo-score-row{display:grid;grid-template-columns:36px 38px 1fr auto 120px;align-items:center;gap:10px;padding:10px 12px;border:1px solid rgba(80,110,190,.6);border-radius:9px;background:rgba(4,13,40,.86)}.record-cup{width:28px;height:28px;display:inline-block;background:linear-gradient(#fff5a0,#ffb000);filter:drop-shadow(0 0 6px #ffb000);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h10v3h4v3c0 3-2 5-5 5h-1c-.5 2-1.5 3-2 3v2h4v2H7v-2h4v-2c-.5 0-1.5-1-2-3H8c-3 0-5-2-5-5V6h4V3zm0 5H5v1c0 2 1 3 3 3h.5C7.7 11 7.2 9.5 7 8zm10 0c-.2 1.5-.7 3-1.5 4h.5c2 0 3-1 3-3V8h-2z'/%3E%3C/svg%3E") center/contain no-repeat}.cup-2{background:linear-gradient(#fff,#a9c2dc);filter:drop-shadow(0 0 5px #a8d5ff)}.cup-3{background:linear-gradient(#ffd2a0,#d36b28);filter:drop-shadow(0 0 5px #ff7c32)}.neo-score-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#722cff,#263dff);border:1px solid #24dfff;font-weight:900}.neo-score-row div b,.neo-score-row div small{display:block}.neo-score-row div small{color:#9eb3d9}.neo-score-row strong{font-size:17px;color:#ffe443}.neo-score-row time{font-size:12px;color:#9db1d5}.leader-record-row>span.record-cup{flex:0 0 26px}
.neo-popular{margin-top:20px}.neo-popular .portal-home-games{grid-template-columns:repeat(6,1fr)!important}.neo-popular .portal-home-game{min-width:0!important}.neo-popular .portal-home-icon{height:115px!important}.neo-popular .portal-home-copy>span,.neo-popular .portal-home-rating{display:none!important}.neo-popular .portal-home-open{margin-top:7px!important}.neo-shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:20px 0}.neo-shortcuts>a{display:grid;grid-template-columns:48px 1fr 20px;align-items:center;gap:12px;padding:17px 18px;text-decoration:none;color:#fff;background:linear-gradient(135deg,rgba(18,8,70,.96),rgba(3,28,64,.96));border:2px solid #18cfff;border-radius:13px;box-shadow:0 0 8px rgba(0,198,255,.6)}.neo-shortcuts>a:nth-child(even){border-color:#ec2cff;box-shadow:0 0 8px rgba(234,38,255,.6)}.neo-shortcuts .ga-ico{width:38px;height:38px;color:#fff}.neo-shortcuts span b,.neo-shortcuts span small{display:block}.neo-shortcuts span b{text-transform:uppercase}.neo-shortcuts span small{color:#aabbe0;margin-top:3px}.neo-shortcuts strong{font-size:30px;color:#e632ff}
.ga-footer{width:min(1460px,94vw)!important;background:rgba(2,5,18,.9)!important}
@media(max-width:1100px){.portal-topbar{flex-wrap:wrap!important}.portal-topbar nav{order:3;flex-basis:100%;overflow-x:auto}.neo-home-hero,.neo-home-grid{grid-template-columns:1fr}.neo-home-stats{min-height:130px}.neo-popular .portal-home-games{grid-template-columns:repeat(3,1fr)!important}.neo-shortcuts{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.neo-home-stats{grid-template-columns:1fr 1fr}.neo-latest-grid{grid-template-columns:repeat(2,1fr)}.neo-score-row{grid-template-columns:30px 34px 1fr auto}.neo-score-row time{display:none}.neo-popular .portal-home-games{grid-template-columns:1fr!important}.neo-shortcuts{grid-template-columns:1fr}.neo-hero-brand{padding:24px}.neo-hero-pad{display:none}.neo-hero-brand p{letter-spacing:1px}.top-search{min-width:100%!important}}

/* G-Arcade V3.4 — Flash portal theme — Copyright (c) 2026 Greg-G */
body.fp-theme{margin:0!important;background:radial-gradient(circle at 50% -20%,#07305d 0,#031426 32%,#010916 72%) fixed!important;color:#f5f8ff!important;font-family:Inter,Segoe UI,Arial,sans-serif}.fp-theme:before{display:none!important}.fp-shell{width:min(1900px,100%);margin:auto;min-height:100vh;display:grid;grid-template-columns:265px minmax(620px,1fr) 315px;gap:18px;padding:12px 16px;box-sizing:border-box}.fp-left,.fp-right{position:sticky;top:12px;height:calc(100vh - 24px);overflow:auto;scrollbar-width:none}.fp-left::-webkit-scrollbar,.fp-right::-webkit-scrollbar{display:none}.fp-logo{height:72px;display:flex;align-items:center;gap:12px;text-decoration:none;color:#fff;padding:0 8px}.fp-logo .ga-logo-pad{width:62px;height:48px;filter:drop-shadow(0 0 10px #1bdcff)}.fp-logo>span{font-size:26px;font-weight:950;line-height:1}.fp-logo small{display:block;font-size:10px;font-weight:500;color:#b8c8e8;margin-top:7px}.fp-left nav{display:grid;gap:9px;margin-top:8px}.fp-left nav a{height:59px;display:flex;align-items:center;gap:17px;padding:0 18px;border:1px solid #145aa5;border-radius:11px;background:linear-gradient(135deg,#072e63,#101946);color:#f7f8ff;text-decoration:none;font-weight:750;box-shadow:inset 0 0 18px rgba(23,106,255,.08)}.fp-left nav a:hover,.fp-left nav a.active{border-color:#ef35ff;background:linear-gradient(135deg,#d82fe9,#6326e7);box-shadow:0 0 14px rgba(221,43,255,.45)}.fp-left nav .ga-ico{width:29px;height:29px;color:#8fe7ff}.fp-left nav a.active .ga-ico{color:#fff}.side-symbol{width:30px;text-align:center;font-size:27px;color:#75e5ff}.side-symbol.new{font-size:10px;background:#ff65d8;color:#25103c;padding:8px 2px;border-radius:8px}.side-symbol.fire{color:#ff5a75}.side-symbol.heart{color:#ff69b4}.side-symbol.grid{font-size:32px}.fp-promo{margin-top:14px;min-height:122px;padding:17px;border:1px solid #6538db;border-radius:12px;background:linear-gradient(145deg,#202c87,#3d1479);display:grid;grid-template-columns:54px 1fr;align-items:center;gap:4px 10px;box-shadow:inset 0 0 30px rgba(70,30,255,.2)}.fp-promo .ga-ico{grid-row:1/3;width:48px;height:48px;color:#fff}.fp-promo b{font-size:16px}.fp-promo span{font-size:12px;line-height:1.55}.fp-center{min-width:0}.fp-center>main{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}.fp-right{display:grid;align-content:start;gap:12px}.fp-user,.fp-widget,.fp-search,.fp-quote{border:1px solid #155b9f;border-radius:12px;background:linear-gradient(145deg,#071b39,#07132d);box-shadow:inset 0 0 24px rgba(20,80,180,.08)}.fp-user{min-height:82px;display:flex;align-items:center;gap:13px;padding:10px 15px}.fp-avatar{width:57px;height:57px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,#922bff,#0bb9ff);border:2px solid #9c39ff;font-size:23px;font-weight:900}.fp-avatar img{width:100%;height:100%;object-fit:cover}.fp-user b{display:block;font-size:18px}.fp-user small{display:block;color:#a9bddd;margin-top:5px}.fp-widget{padding:14px}.fp-widget h3{margin:0 0 12px;font-size:17px}.fp-collection{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.fp-collection>div{min-height:78px;border:1px solid #153e6b;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center}.fp-collection b{font-size:28px;color:#ff6fb7}.fp-collection>div:nth-child(2) b{color:#ffd93b}.fp-collection>div:nth-child(3) b{color:#8edcff}.fp-collection strong{font-size:19px}.fp-collection small{font-size:10px;color:#b5c4de}.fp-search{height:64px;padding:0 14px;display:flex;align-items:center;gap:10px}.fp-search span{font-size:29px;color:#d7e6ff}.fp-search input{width:100%;height:42px;border:0!important;background:transparent!important;color:#fff!important;box-shadow:none!important}.fp-side-games{display:grid;gap:9px}.side-game{display:grid;grid-template-columns:70px 1fr;gap:10px;align-items:center;text-decoration:none;color:#fff}.side-game img,.side-game>i{width:70px;height:48px;object-fit:cover;border-radius:7px;background:#09254a}.side-game span b,.side-game span small{display:block}.side-game span b{font-size:13px}.side-game span small{font-size:10px;color:#91a9cd;margin-top:4px}.fp-see{display:block;text-align:right;color:#28d6ff;text-decoration:none;font-size:12px;margin-top:10px}.fp-quote{min-height:122px;padding:16px;background:linear-gradient(135deg,#113e91,#13256e);position:relative}.fp-quote b{font-size:16px}.fp-quote p{text-align:center;line-height:1.6;color:#dce8ff}.fp-quote .ga-ico{position:absolute;right:14px;bottom:12px;width:38px;height:38px;color:#9fc9ff}.fp-theme .ga-footer{width:100%!important;margin:16px 0 0!important;background:transparent!important;border:0!important;justify-content:center!important;padding:14px!important}.fp-theme .neo-home-hero{display:block;margin:0 0 14px}.fp-theme .neo-hero-brand{min-height:220px;border:1px solid #1968b0!important;border-radius:12px;background:linear-gradient(90deg,rgba(0,130,240,.86),rgba(70,43,205,.75),rgba(0,174,222,.75)),url('../images/neon-arcade-room.jpg') center 45%/cover!important;position:relative;overflow:hidden}.fp-theme .neo-hero-brand:after{content:'Des milliers de jeux Flash à portée de clic !';position:absolute;left:50%;top:26px;transform:translateX(-50%);width:72%;text-align:center;font-size:clamp(25px,2.5vw,44px);font-weight:950;line-height:1.02;text-shadow:0 2px 4px #001;font-family:Inter,Segoe UI,sans-serif}.fp-theme .neo-hero-brand>div{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);width:100%;text-align:center}.fp-theme .neo-hero-brand h1,.fp-theme .neo-hero-pad{display:none}.fp-theme .neo-hero-brand p{margin:0;font-size:15px;letter-spacing:0;color:#fff}.fp-theme .neo-home-stats{display:none}.fp-theme .neo-home-grid{grid-template-columns:1fr;gap:14px}.fp-theme .neo-panel{border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important}.fp-theme .neo-panel-title{padding:0 4px 8px;margin-bottom:9px}.fp-theme .neo-panel-title h2{font-size:21px;text-transform:none}.fp-theme .neo-panel-title a{border:0;padding:0;color:#24d7ff}.fp-theme .neo-latest-grid{grid-template-columns:repeat(5,1fr);gap:10px}.fp-theme .neo-latest-card{background:#071a35;border:1px solid #123f6e;border-radius:9px;overflow:hidden;text-align:left;padding-bottom:9px}.fp-theme .neo-latest-card>span{height:105px;border:0;border-radius:0}.fp-theme .neo-latest-card b,.fp-theme .neo-latest-card small{padding:0 9px}.fp-theme .neo-latest-card small{display:block;margin-top:4px}.fp-theme .neo-home-grid .magenta{display:none}.fp-theme .neo-popular{margin-top:16px!important}.fp-theme .neo-popular .portal-home-games{grid-template-columns:repeat(6,1fr)!important;gap:9px}.fp-theme .portal-home-game{background:#071a35!important;border:1px solid #123f6e!important;border-radius:9px!important;overflow:hidden!important;padding:0 0 9px!important}.fp-theme .portal-home-icon{height:105px!important;border-radius:0!important}.fp-theme .portal-home-copy{padding:0 8px}.fp-theme .portal-home-title{font-size:13px}.fp-theme .portal-home-open{display:none}.fp-theme .neo-shortcuts{grid-template-columns:repeat(4,1fr);gap:10px;margin-top:18px}.fp-theme .neo-shortcuts>a{min-height:62px;border:1px solid #155a9f!important;border-radius:10px!important;box-shadow:none!important;padding:10px!important;background:linear-gradient(135deg,#0b3a76,#121d52)!important}.fp-theme .neo-shortcuts>a:nth-child(2){background:linear-gradient(135deg,#6330d9,#b525b8)!important}.fp-theme .neo-shortcuts>a:nth-child(3){background:linear-gradient(135deg,#16499d,#0786b5)!important}.fp-theme .neo-shortcuts>a:nth-child(4){background:linear-gradient(135deg,#7d254e,#6a277f)!important}.fp-theme .neo-shortcuts span small{font-size:9px}.fp-theme .leader-hero,.fp-theme .challenge-hero,.fp-theme .profile-hero{margin-top:0!important}.fp-theme .leader-hero,.fp-theme .leader-panel,.fp-theme .leader-games,.fp-theme .challenge-hero,.fp-theme .challenge-panel,.fp-theme .profile-hero,.fp-theme .profile-panel,.fp-theme .profile-stats>div{box-shadow:none!important;border-color:#175b9b!important;background:linear-gradient(145deg,#071b39,#07132d)!important}.fp-theme .leader-hero:before{display:none!important}
@media(max-width:1350px){.fp-shell{grid-template-columns:220px minmax(560px,1fr)}.fp-right{display:none}.fp-left nav a{padding:0 12px}.fp-theme .neo-popular .portal-home-games{grid-template-columns:repeat(3,1fr)!important}}
@media(max-width:850px){.fp-shell{display:block;padding:8px}.fp-left{position:relative;height:auto;top:0}.fp-left nav{display:flex;overflow:auto}.fp-left nav a{min-width:145px;height:48px}.fp-promo{display:none}.fp-center{margin-top:10px}.fp-theme .neo-latest-grid{grid-template-columns:repeat(2,1fr)}.fp-theme .neo-shortcuts{grid-template-columns:1fr 1fr}}

/* V3.5 — ACP isolation and navigation fixes — Copyright (c) 2026 Greg-G */
body.admin-layout-page{background:#071426!important;color:#eaf3ff!important}
body.admin-layout-page>header.acp-topbar{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;background:#07182c;border-bottom:1px solid #174b79;position:relative;z-index:20}
body.admin-layout-page>header.acp-topbar .brand{font-size:20px;font-weight:900;color:#fff;text-decoration:none;letter-spacing:.5px}
body.admin-layout-page>header.acp-topbar nav{display:flex;align-items:center;gap:10px}
body.admin-layout-page>header.acp-topbar nav a{display:inline-flex;align-items:center;min-height:38px;padding:0 14px;border:1px solid #245d91;border-radius:8px;background:#0b2747;color:#bfe7ff;text-decoration:none;font-weight:700}
body.admin-layout-page>header.acp-topbar nav a:hover{background:#10375f;color:#fff}
body.admin-layout-page>main{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
body.admin-layout-page .admin{min-height:calc(100vh - 64px)}
.fp-theme .neo-latest-card>span img,.fp-theme .portal-home-icon img,.fp-theme .side-game img{object-fit:contain!important;background:#0a203c}

/* V3.6 — layout stable, categories route, banner — Copyright (c) 2026 Greg-G */
.fp-content-layout .fp-shell{grid-template-columns:265px minmax(0,1fr);max-width:1900px}
.fp-content-layout .fp-center{min-width:0;overflow:hidden}
.fp-content-layout .fp-center main{min-width:0;overflow:hidden}
.fp-content-layout .profile-hero,.fp-content-layout .profile-layout,.fp-content-layout .profile-main,.fp-content-layout .profile-panel,.fp-content-layout .leader-shell,.fp-content-layout .challenge-shell{max-width:100%!important;width:auto!important;min-width:0!important;box-sizing:border-box!important}
.fp-content-layout .table-wrap{max-width:100%;overflow:auto}
.categories-page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 30px;margin-bottom:18px;border:1px solid #175b9b;border-radius:14px;background:linear-gradient(135deg,#08234a,#161344)}
.categories-page-head small{color:#30d8ff;font-weight:900;letter-spacing:2px}.categories-page-head h1{margin:5px 0 6px;font-size:32px}.categories-page-head p{margin:0;color:#9fb7d7}.categories-page-head>a{color:#2ddcff;text-decoration:none;font-weight:800}
.category-page-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.category-page-card{min-height:100px;display:grid;grid-template-columns:66px 1fr 24px;align-items:center;gap:12px;padding:14px;border:1px solid #1763a7;border-radius:13px;background:linear-gradient(145deg,#09274e,#101842);color:#fff;text-decoration:none;box-sizing:border-box}.category-page-card:hover{border-color:#dc38ff;box-shadow:0 0 18px #8d2cff55}.category-page-icon{width:62px;height:62px;border-radius:12px;display:grid;place-items:center;background:#09203d;overflow:hidden}.category-page-icon img{width:100%;height:100%;object-fit:contain}.category-page-icon .ga-ico{width:36px;height:36px;color:#76e8ff}.category-page-card b,.category-page-card small{display:block}.category-page-card b{font-size:17px}.category-page-card small{margin-top:5px;color:#9eb5d4}.category-page-card strong{font-size:28px;color:#39dcff}
.fp-theme .neo-hero-brand{height:220px;min-height:220px;background:linear-gradient(90deg,#073979 0%,#1432a0 42%,#52229a 72%,#0867a4 100%)!important;display:grid!important;grid-template-columns:42% 58%;align-items:center;padding:0 28px!important;box-sizing:border-box}.fp-theme .neo-hero-brand:after{display:none!important}.fp-banner-art{height:100%;display:flex;align-items:flex-end;justify-content:center;gap:0;overflow:hidden;order:2}.fp-banner-art span{width:20%;height:76%;display:flex;align-items:flex-end;justify-content:center;filter:drop-shadow(0 8px 8px #0018)}.fp-banner-art span:nth-child(2n){height:62%}.fp-banner-art img{width:100%;height:100%;object-fit:contain!important;object-position:center bottom}.fp-banner-copy{position:static!important;transform:none!important;width:auto!important;text-align:left!important;order:1;z-index:2}.fp-banner-copy h1{display:block!important;margin:0!important;font-size:clamp(28px,2.4vw,46px)!important;line-height:1.02!important;color:#fff;text-shadow:0 3px 4px #001,0 0 14px #4ecbff66}.fp-banner-copy h1 em{font-style:normal;color:#ff55d9}.fp-banner-copy p{font-size:17px!important;margin-top:12px!important;color:#e8f5ff!important;text-transform:none!important;letter-spacing:0!important}
@media(max-width:1200px){.category-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fp-content-layout .fp-shell{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:850px){.fp-content-layout .fp-shell{display:block}.category-page-grid{grid-template-columns:1fr}.fp-theme .neo-hero-brand{grid-template-columns:1fr;padding:20px!important}.fp-banner-art{display:none}.fp-banner-copy{text-align:center!important}}

/* G-Arcade V3 portal pass — reference layout */
.fp-logo{min-height:82px;height:auto;align-items:center;padding:8px 5px;gap:10px}
.fp-logo:before{content:"";width:62px;height:48px;flex:0 0 62px;background:linear-gradient(135deg,#14cfff,#6a4dff 55%,#ff3bd5);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 44'%3E%3Cpath fill='black' d='M18 6h28c6 0 10 4 12 10l5 15c2 7-5 13-11 9l-9-7H21l-9 7C6 44-1 38 1 31l5-15C8 10 12 6 18 6Zm3 8v6h-6v5h6v6h5v-6h6v-5h-6v-6h-5Zm24 5a4 4 0 1 0 0 8 4 4 0 0 0 0-8Zm9-5a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z'/%3E%3C/svg%3E") center/contain no-repeat;filter:drop-shadow(0 0 8px #16cfff)}
.fp-logo .ga-logo-pad{display:none!important}.fp-logo>span{font-size:28px!important;font-weight:1000!important;letter-spacing:-1px;background:linear-gradient(90deg,#fff 0 22%,#27d7ff 46%,#7e55ff 68%,#ff48d7 100%);-webkit-background-clip:text;background-clip:text;color:transparent!important;text-shadow:0 0 18px #168fff33}.fp-logo small{font-size:10px!important;color:#d7e7ff!important;letter-spacing:.02em}

.fp-theme .neo-hero-brand{height:250px!important;min-height:250px!important;display:block!important;padding:0!important;background:#06152a url('../images/garcade-banner.png') center/cover no-repeat!important;border:1px solid #277fd0!important;box-shadow:0 0 18px #0b9cff55!important}
.fp-theme .neo-hero-brand:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(1,12,30,.72) 0%,rgba(2,16,38,.42) 28%,rgba(2,12,28,.05) 58%,rgba(2,12,28,.08));z-index:1;pointer-events:none}
.fp-banner-art{display:none!important}.fp-banner-copy{position:absolute!important;left:30px!important;top:50%!important;transform:translateY(-50%)!important;width:min(520px,48%)!important;text-align:left!important;z-index:2!important}.fp-banner-copy h1{font-size:clamp(29px,2.4vw,47px)!important;line-height:1.02!important;text-shadow:0 3px 5px #001,0 0 15px #4ecbff88!important}.fp-banner-copy h1 em{color:#ff49d5!important}.fp-banner-copy p{margin:12px 0 0!important;font-size:17px!important;font-weight:900!important;color:#fff!important;text-shadow:0 2px 5px #001!important}

/* Catalogue: categories live on their dedicated page, not above the game grid. */
.fp-theme .portal-categories{display:none!important}

/* Readable game metadata without enlarging or stretching artwork. */
.portal-catalog-card{grid-template-rows:112px 1fr!important;min-height:310px!important;overflow:visible!important}
.portal-catalog-top{overflow:visible!important}.portal-catalog-icon{overflow:visible!important;width:76px!important;height:76px!important}.portal-catalog-icon img{width:auto!important;height:auto!important;max-width:62px!important;max-height:62px!important;object-fit:contain!important}
.portal-catalog-copy{overflow:visible!important;padding:14px 16px 16px!important}.portal-catalog-title{font-size:16px!important;line-height:1.25!important}.portal-catalog-copy>small{font-size:11px!important;line-height:1.4!important}.portal-catalog-copy>p{min-height:38px!important;font-size:12px!important;line-height:1.5!important;color:#c0d0e1!important}.portal-catalog-open{font-size:10px!important;padding:7px 12px!important}

.fp-theme .neo-latest-card,.fp-theme .portal-home-game{overflow:visible!important}.fp-theme .neo-latest-card>span{overflow:hidden!important}.fp-theme .neo-latest-card>span img{width:100%!important;height:100%!important;object-fit:contain!important}.fp-theme .portal-home-icon{overflow:hidden!important}.fp-theme .portal-home-icon img{width:auto!important;height:auto!important;max-width:58px!important;max-height:58px!important;object-fit:contain!important}.fp-theme .portal-home-copy>span{font-size:11.5px!important;line-height:1.45!important;color:#c1d1e2!important}.fp-theme .portal-home-copy>small{font-size:10px!important}.fp-theme .portal-home-title{font-size:14px!important}

@media(max-width:850px){.fp-theme .neo-hero-brand{height:190px!important;min-height:190px!important}.fp-banner-copy{left:18px!important;width:60%!important}.fp-banner-copy h1{font-size:28px!important}.fp-banner-copy p{font-size:13px!important}}

/* V3.7 — logo + final portal cleanup — Copyright (c) 2026 Greg-G */
.fp-logo{height:112px!important;padding:2px 0 4px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important}
.fp-logo>img{display:block!important;width:238px!important;height:104px!important;object-fit:contain!important;object-position:center!important;filter:drop-shadow(0 0 9px rgba(25,205,255,.28))}
.fp-left nav{margin-top:3px!important}
/* Home artwork stays proportional; card text must never be clipped vertically. */
.fp-theme .neo-latest-card{min-height:176px!important;display:flex!important;flex-direction:column!important;padding-bottom:12px!important}
.fp-theme .neo-latest-card>span{height:112px!important;min-height:112px!important;background:#0a2039!important}
.fp-theme .neo-latest-card>span img{max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important}
.fp-theme .neo-latest-card b{font-size:14px!important;line-height:1.35!important;margin-top:8px!important}
.fp-theme .neo-latest-card small{font-size:11px!important;line-height:1.35!important;color:#9eb9d8!important}
.fp-theme .neo-popular .portal-home-game{min-height:154px!important;padding:9px!important;overflow:hidden!important;display:grid!important;grid-template-columns:68px minmax(0,1fr)!important;gap:10px!important;align-items:center!important}
.fp-theme .neo-popular .portal-home-icon{width:68px!important;height:68px!important;border-radius:9px!important;background:#0a2039!important}
.fp-theme .neo-popular .portal-home-icon img{max-width:60px!important;max-height:60px!important;object-fit:contain!important}
.fp-theme .neo-popular .portal-home-copy{padding:0!important;min-width:0!important}
.fp-theme .neo-popular .portal-home-title{font-size:13px!important;line-height:1.35!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
.fp-theme .neo-popular .portal-home-copy>small{font-size:10px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.35!important}
/* Catalogue: keep art contained and descriptions comfortably readable. */
.portal-catalog-top{min-height:116px!important;display:grid!important;place-items:center!important;overflow:hidden!important}
.portal-catalog-icon{overflow:hidden!important}
.portal-catalog-icon img{object-fit:contain!important;object-position:center!important}
.portal-catalog-copy>p{font-size:13px!important;line-height:1.55!important;min-height:42px!important;-webkit-line-clamp:3!important}
.portal-catalog-copy>small{font-size:11.5px!important}
/* Category filters are intentionally only available from the Categories page. */
.fp-theme .portal-categories{display:none!important}
@media(max-width:1350px){.fp-logo{height:100px!important}.fp-logo>img{width:205px!important;height:92px!important}}
@media(max-width:850px){.fp-logo{height:88px!important}.fp-logo>img{width:220px!important;height:82px!important}}

/* V3.8 — portal card alignment + leaderboard fixes — Copyright (c) 2026 Greg-G */
/* The raster logo already contains its gamepads: never draw the legacy extra pad. */
.fp-logo:before{display:none!important;content:none!important}

/* Home: latest and popular use the exact same compact card grid. */
.fp-theme .portal-latest-grid,.fp-theme .neo-popular .portal-home-games{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
.fp-theme .portal-latest-grid .portal-home-game,.fp-theme .neo-popular .portal-home-game{min-height:230px!important;padding:12px!important;display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;gap:8px!important;overflow:hidden!important;border:1px solid #175b9b!important;border-radius:12px!important;background:linear-gradient(145deg,#082343,#07162f)!important}
.fp-theme .portal-latest-grid .portal-home-top,.fp-theme .neo-popular .portal-home-top{width:100%!important;display:flex!important;justify-content:center!important;position:relative!important}
.fp-theme .portal-latest-grid .portal-home-icon,.fp-theme .neo-popular .portal-home-icon{width:78px!important;height:78px!important;display:grid!important;place-items:center!important;border-radius:12px!important;background:#0a2039!important;overflow:hidden!important}
.fp-theme .portal-latest-grid .portal-home-icon img,.fp-theme .neo-popular .portal-home-icon img{width:auto!important;height:auto!important;max-width:68px!important;max-height:68px!important;object-fit:contain!important}
.fp-theme .portal-latest-grid .portal-home-copy,.fp-theme .neo-popular .portal-home-copy{width:100%!important;padding:0 6px!important;display:flex!important;flex-direction:column!important;align-items:center!important;min-width:0!important}
.fp-theme .portal-latest-grid .portal-home-title,.fp-theme .neo-popular .portal-home-title{font-size:15px!important;line-height:1.3!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
.fp-theme .portal-latest-grid .portal-home-copy>small,.fp-theme .neo-popular .portal-home-copy>small{font-size:11px!important;line-height:1.4!important;color:#35d9ff!important;text-transform:uppercase!important;margin-top:3px!important;white-space:normal!important}
.fp-theme .portal-latest-grid .portal-home-copy>span,.fp-theme .neo-popular .portal-home-copy>span{display:block!important;font-size:13.5px!important;line-height:1.5!important;color:#e1ebf8!important;margin-top:8px!important;min-height:40px!important;white-space:normal!important;overflow:visible!important}
.fp-theme .portal-latest-grid .portal-home-open,.fp-theme .neo-popular .portal-home-open{display:inline-flex!important;margin-top:auto!important;font-size:10.5px!important;padding:7px 12px!important}
.fp-theme .neo-shortcuts{display:none!important}

/* Catalogue descriptions: clearly readable while cards keep their current footprint. */
.portal-catalog-copy>p{font-size:15px!important;line-height:1.55!important;min-height:48px!important;color:#e0e9f6!important}
.portal-catalog-copy>small{font-size:12px!important}

/* Leaderboard: game artwork is a contained thumbnail, never a stretched banner. */
.fp-theme .leader-game-card{grid-template-columns:76px minmax(0,1fr) 18px!important;min-height:92px!important;padding:10px!important}
.fp-theme .leader-game-cover{width:70px!important;min-width:70px!important;height:70px!important;border-radius:10px!important;overflow:hidden!important;background:#09203b!important}
.fp-theme .leader-game-cover img{width:auto!important;height:auto!important;max-width:64px!important;max-height:64px!important;object-fit:contain!important;object-position:center!important;border-radius:7px!important}
.fp-theme .leader-game-copy>b{font-size:14px!important}.fp-theme .leader-game-copy>small{font-size:11px!important}.fp-theme .leader-game-copy>em{font-size:11px!important}
/* Make record trophies bright and visible. */
.fp-theme .leader-record-row>span.record-cup{display:inline-block!important;width:30px!important;height:30px!important;background:linear-gradient(#fff5a0,#ffb000)!important;filter:drop-shadow(0 0 6px #ffb000)!important;opacity:1!important}

@media(max-width:1100px){.fp-theme .portal-latest-grid,.fp-theme .neo-popular .portal-home-games{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){.fp-theme .portal-latest-grid,.fp-theme .neo-popular .portal-home-games{grid-template-columns:1fr!important}}

/* V3.9 — category descriptions + stable leaderboard flow — Copyright (c) 2026 Greg-G */
.category-page-card{min-height:118px!important;padding:16px 18px!important;display:grid!important;grid-template-columns:64px minmax(0,1fr) 24px!important;gap:16px!important;align-items:center!important}
.category-page-icon{width:60px!important;height:60px!important;display:grid!important;place-items:center!important;overflow:hidden!important;border-radius:13px!important}
.category-page-icon img{width:auto!important;height:auto!important;max-width:54px!important;max-height:54px!important;object-fit:contain!important}
.category-page-copy{display:flex!important;flex-direction:column!important;gap:4px!important;min-width:0!important}
.category-page-copy>b{font-size:17px!important;line-height:1.25!important}
.category-page-copy>em{display:block!important;font-style:normal!important;font-size:13px!important;line-height:1.4!important;color:#a9c4df!important;white-space:normal!important;overflow-wrap:anywhere!important}
.category-page-copy>small{font-size:11px!important;color:#59dfff!important;margin-top:2px!important}
/* Selected game ranking is deliberately after the game chooser, so opening a game never expands the middle of the page. */
.leader-games+.leader-game-detail{margin-top:16px!important;scroll-margin-top:18px!important}
@media(max-width:700px){.category-page-card{grid-template-columns:54px minmax(0,1fr) 20px!important;min-height:108px!important;padding:13px!important}.category-page-icon{width:50px!important;height:50px!important}.category-page-icon img{max-width:46px!important;max-height:46px!important}.category-page-copy>b{font-size:15px!important}.category-page-copy>em{font-size:12px!important}}

/* G-Arcade V3 polish patch */
.favorite-btn{border-color:#2fa96b!important;background:#123a2a!important;color:#bfffd8!important;transition:.18s ease}
.favorite-btn:hover{border-color:#4bd98b!important;background:#185239!important;color:#fff!important}
.favorite-btn.on,.favorite-btn.on:hover{border-color:#e55768!important;background:#4b1821!important;color:#ffd6dc!important}
.portal-card-fav{font-family:Arial,sans-serif;font-weight:900}
.portal-card-fav:not(.on):not(.guest){border-color:#4ca477;color:#a8e8c5;background:#0b2a20e8}
.portal-card-fav:not(.on):not(.guest):hover{border-color:#65d79b;color:#d7ffea;background:#103a2b}
.portal-card-fav.on{border-color:#f05270!important;background:#461426!important;color:#ff6688!important}

.rating-stars{gap:3px!important}
.rating-star{font-size:25px!important;color:#52657a!important;transition:transform .12s ease,color .12s ease,filter .12s ease}
.rating-star:hover,.rating-star.on,.rating-star:has(~ .rating-star:hover){color:#ffc94d!important;filter:drop-shadow(0 0 5px rgba(255,190,54,.38));transform:translateY(-1px) scale(1.06)}
.portal-home-rating>b{color:#ffc94d!important;text-shadow:none!important;letter-spacing:1.5px!important}
.profile-stars-filled{color:#ffc94d!important}.profile-stars-empty{color:#536579!important}

.favorites-page-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:0 auto 18px;max-width:1500px;padding:22px 24px;border:1px solid #263d5a;border-radius:16px;background:#0d1d2d}
.favorites-page-head small{color:#7fa6c3;font-weight:900;letter-spacing:.14em}.favorites-page-head h1{margin:4px 0 5px;font-size:30px}.favorites-page-head p{margin:0;color:#8ca8bd}
.favorites-page-grid{max-width:1500px;margin:0 auto!important}.favorite-page-card{transition:opacity .18s ease,transform .18s ease}.favorite-page-card.is-removing{opacity:0;transform:scale(.96)}

.leader-games{border:1px solid #2a4c69!important;border-radius:16px!important;background:#0c1929!important;overflow:hidden;box-shadow:0 8px 28px rgba(0,0,0,.18)!important}
.leader-games-scroll{height:184px;overflow-y:auto;overflow-x:hidden;margin:7px 8px 8px;padding-right:3px;scrollbar-width:thin;scrollbar-color:#4abbd6 #0a1725}
.leader-games-scroll::-webkit-scrollbar{width:8px}.leader-games-scroll::-webkit-scrollbar-track{background:#0a1725;border-radius:10px}.leader-games-scroll::-webkit-scrollbar-thumb{background:#4abbd6;border-radius:10px;border:2px solid #0a1725}
.leader-games-scroll .leader-game-grid{padding:7px 8px!important}
.leader-chips{border-bottom:1px solid #20364d;padding-bottom:10px!important}
.trophy-rank{height:36px!important;background:transparent!important;position:relative;overflow:visible!important}.trophy-rank i{display:block;width:28px;height:28px;margin:auto;clip-path:polygon(18% 0,82% 0,82% 15%,100% 15%,100% 42%,86% 55%,70% 60%,64% 74%,82% 80%,82% 100%,18% 100%,18% 80%,36% 74%,30% 60%,14% 55%,0 42%,0 15%,18% 15%);background:linear-gradient(#fff4a0,#e4a500)}.trophy-rank span{position:absolute;left:50%;bottom:-5px;transform:translateX(-50%);font-size:7px;letter-spacing:.05em;font-weight:1000;white-space:nowrap}.trophy-1 i{background:linear-gradient(#fff5a8,#f2b400 58%,#b86b00)}.trophy-1 span{color:#ffd45f}.trophy-2 i{background:linear-gradient(#fff,#b8c5d4 58%,#6e7e91)}.trophy-2 span{color:#dce7f3}.trophy-3 i{background:linear-gradient(#ffd1a3,#b96a32 58%,#75401f)}.trophy-3 span{color:#d98b55}
.leader-player-row span strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;display:block}.record-crown{opacity:.72;font-size:14px}
.podium-place{display:inline-flex!important;align-items:center;gap:4px;border-radius:9px;padding:4px 7px!important;background:#12263d!important}.podium-place.place-1{color:#ffd45f!important}.podium-place.place-2{color:#dce7f3!important}.podium-place.place-3{color:#d98b55!important}.podium-place span{font-size:10px}

@media(max-width:700px){.favorites-page-head{align-items:stretch;flex-direction:column;margin:0 10px 14px}.favorites-page-grid{margin:0 10px!important}.leader-games-scroll{height:auto;max-height:none;overflow:visible;margin:0}.leader-games{overflow:visible}.leader-game-grid{padding:10px!important}}
.category-description-form{display:grid;grid-template-columns:minmax(150px,.55fr) minmax(240px,1.45fr) auto;gap:8px;align-items:center;margin:6px 0}.category-description-form input,.category-description-form textarea{min-width:0}.category-description-form textarea{min-height:42px;resize:vertical}.category-description-form button{white-space:nowrap}@media(max-width:900px){.category-description-form{grid-template-columns:1fr}.category-description-form button{justify-self:start}}

/* V3.10 — favorites/profile sizing + leaderboard scroll stability — Copyright (c) 2026 Greg-G */
.favorites-page-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important}
.favorites-page-grid .portal-catalog-card{width:100%!important;min-width:0!important;min-height:300px!important}
.profile-stats{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
.profile-stats>div{min-width:0!important;box-sizing:border-box!important;padding:14px 15px!important}
.profile-stats b,.profile-stats small{min-width:0;overflow-wrap:anywhere}
@media(max-width:1050px){.favorites-page-grid{grid-template-columns:1fr!important}.profile-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:720px){.profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Keep leaderboard filters from moving the page when AJAX content is replaced. */
.leader-games,.leader-games-scroll,.leader-game-detail{overflow-anchor:none;}

/* V3.11 — compact favorites + profile/rating polish — Copyright (c) 2026 Greg-G */
.favorites-page-grid{
  grid-template-columns:repeat(auto-fill,minmax(245px,1fr))!important;
  gap:14px!important;
}
.favorites-page-grid .portal-catalog-card{
  min-height:275px!important;
  max-width:none!important;
}
.favorites-page-grid .portal-catalog-copy{padding:13px 14px 14px!important}
.favorites-page-grid .portal-catalog-copy>p{font-size:13.5px!important;line-height:1.45!important;min-height:40px!important}
.profile-stats{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.profile-stats>div{overflow:hidden!important}
.profile-stats small{font-size:11px!important;line-height:1.25!important}
.rating-star{background:transparent!important;border:0!important;padding:1px 2px!important;line-height:1!important;cursor:pointer}
.rating-star:not(.on){color:#6b7b8f!important}
.rating-star.on{color:#ffc94d!important}
@media(max-width:1180px){.profile-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){.favorites-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){.favorites-page-grid{grid-template-columns:1fr!important}}

/* Correctif ACP 2026-10-01 : catégories, forum et lecteur de test */
.forum-config-fields label{display:grid;gap:5px;min-width:0;color:#9ebbd1;font-size:10px;font-weight:900}
.forum-config-fields label span{display:block}
.existing-category-compact .category-main-grid{grid-template-columns:minmax(320px,1fr) minmax(0,1.45fr)!important;min-width:0!important}
.existing-category-compact .category-info-panel,.existing-category-compact .category-settings-form{min-width:0!important}
.existing-category-compact .category-description-form{grid-template-columns:minmax(150px,.65fr) minmax(220px,1.35fr) auto!important;min-width:0!important}
.existing-category-compact .category-description-form input,.existing-category-compact .category-description-form textarea{width:100%!important;box-sizing:border-box!important}
@media(max-width:1250px){.existing-category-compact .category-main-grid{grid-template-columns:1fr!important}.existing-category-compact .category-settings-form{grid-template-columns:1fr 1fr!important}.existing-category-compact .category-description-form{grid-template-columns:1fr!important}.existing-category-compact .category-description-form button{justify-self:start!important}}
.acp-test-page .fp-shell,.acp-test-page .fp-left,.acp-test-page .fp-right,.acp-test-page .ga-footer{display:none!important}
.acp-test-page main{display:block!important;width:max-content!important;min-width:100%!important;max-width:none!important;margin:0!important;padding:10px!important;box-sizing:border-box!important}

/* ACP categories: keep saved descriptions readable on the dark interface. */
.admin .category-description-form textarea,
.admin .category-description-editor textarea,
.admin .new-category-v5 textarea[name="description"]{
  color:#f4f8ff!important;
  background:#071b2e!important;
  caret-color:#ffffff!important;
}
.admin .category-description-form textarea::placeholder,
.admin .category-description-editor textarea::placeholder,
.admin .new-category-v5 textarea[name="description"]::placeholder{
  color:#7f9ab2!important;
  opacity:1!important;
}

/* V3.12 — favoris, notes et badges NOUVEAU — Copyright (c) 2026 Greg-G */
.rating-star.preview{color:#ffc94d!important;filter:drop-shadow(0 0 5px rgba(255,190,54,.38));transform:translateY(-1px) scale(1.06)}
.rating-stars:hover .rating-star.on:not(.preview){color:#52657a!important;filter:none;transform:none}
.portal-card-fav:disabled{opacity:.65;cursor:wait;transform:none!important}
.portal-home-icon>i,.portal-catalog-icon>i,.v2-mini-thumb>i{pointer-events:none}

/* V3.13 — lisibilité ACP + réinstallation NOUVEAU + popup test ajusté */
.admin .sheet-description textarea[name="game_description"]{
  color:#f4f8ff!important;
  background:#071b2e!important;
  caret-color:#fff!important;
}
.admin .sheet-description textarea[name="game_description"]::placeholder{color:#7f9ab2!important;opacity:1!important}
.acp-test-page>main{min-height:0!important}
.acp-test-page .reader-shell{padding-bottom:0!important}

/* V3.14 — badge NOUVEAU sur le bloc + popup ACP auto-ajusté — Copyright (c) 2026 Greg-G */
.portal-catalog-card,.portal-home-game,.v2-mini-game,.public-game-sheet{position:relative!important}
.portal-card-new-ribbon{
  position:absolute;z-index:12;top:12px;right:-32px;width:126px;padding:5px 0;
  transform:rotate(38deg);transform-origin:center;text-align:center;
  background:linear-gradient(90deg,#ff7a28,#ff3d83);color:#fff;
  font-size:10px;line-height:1;font-weight:1000;letter-spacing:.075em;
  text-shadow:0 1px 2px #0008;box-shadow:0 3px 12px #0008;pointer-events:none
}
.portal-catalog-card,.portal-home-game,.public-game-sheet{overflow:hidden!important}
.portal-catalog-icon>i,.portal-home-icon>i,.v2-mini-thumb>i{display:none!important}
.v2-mini-game{overflow:hidden}
.v2-mini-game .mini-new-ribbon{top:7px;right:-39px;width:118px;padding:4px 0;font-size:7px}
.public-game-sheet .sheet-new-ribbon{top:16px;right:-29px;width:140px;font-size:10px}
@media(max-width:650px){
  .portal-card-new-ribbon{top:10px;right:-36px;width:124px;font-size:9px}
  .v2-mini-game .mini-new-ribbon{right:-42px;font-size:6.5px}
}
.acp-test-page{overflow:auto!important}
.acp-test-page .reader-shell{min-height:0!important;margin-bottom:0!important}

/* V3.15 — favoris à gauche + ACP jeux compact + popup centré — Copyright (c) 2026 Greg-G */
.portal-catalog-top .portal-card-fav-form,
.portal-catalog-top>.portal-card-fav.guest,
.portal-home-top .portal-card-fav-form,
.portal-home-top>.portal-card-fav.guest{
  left:12px!important;right:auto!important;top:12px!important;
}
.portal-home-top,.portal-catalog-top{position:relative!important}
.game-name-with-badge{display:inline-flex;align-items:center;gap:7px;max-width:100%;white-space:nowrap}
.table-new-compact{
  display:inline-block;padding:2px 5px;border-radius:4px;
  background:linear-gradient(90deg,#ff7a28,#ff3d83);color:#fff;
  font-size:7px;line-height:1.15;font-weight:1000;letter-spacing:.035em;
  vertical-align:middle;box-shadow:0 1px 4px #0006
}
.acp-controls-icons{display:inline-flex;align-items:center;gap:5px;min-height:28px;white-space:nowrap}
.acp-control-icon{
  display:inline-grid;place-items:center;width:28px;height:28px;
  border:1px solid #365b7d;border-radius:7px;background:#f4f7fa;
  color:#092039;font-family:"Segoe UI Symbol","Noto Sans Symbols 2",sans-serif;
  font-size:17px;line-height:1;font-weight:900
}

/* V3 leaderboard rank artwork: trophies 1-3, medals 4-6, plain numbers from 7. */
.rank-art{background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important;position:relative;display:inline-grid!important;place-items:center!important;padding:0!important}
.rank-art i{display:block!important;width:38px!important;height:38px!important;background-position:center!important;background-repeat:no-repeat!important;background-size:contain!important;filter:none!important;clip-path:none!important}
.rank-art span{position:absolute!important;left:50%!important;bottom:-2px!important;transform:translateX(-50%)!important;min-width:20px!important;padding:1px 4px!important;border-radius:7px!important;background:#0b1a33!important;border:1px solid rgba(91,148,225,.45)!important;color:#fff!important;font-size:8px!important;font-weight:900!important;line-height:1.15!important;text-align:center!important;white-space:nowrap!important}
.rank-art-1 i{background-image:url('../img/ranks/rank-1.png')!important}.rank-art-2 i{background-image:url('../img/ranks/rank-2.png')!important}.rank-art-3 i{background-image:url('../img/ranks/rank-3.png')!important}.rank-art-4 i{background-image:url('../img/ranks/rank-4.png')!important}.rank-art-5 i{background-image:url('../img/ranks/rank-5.png')!important}.rank-art-6 i{background-image:url('../img/ranks/rank-6.png')!important}
.leader-player-row .rank-art{width:42px!important;height:42px!important}
.leader-player-row .rank-art i{width:40px!important;height:40px!important}
.detail-rank{width:42px!important;height:38px!important;vertical-align:middle!important}
.detail-rank i{width:38px!important;height:38px!important}
.leader-record-row>b{padding-right:16px!important;text-align:right!important;min-width:92px!important}
@media(max-width:700px){.leader-record-row>b{padding-right:6px!important;min-width:70px!important}.rank-art i{width:34px!important;height:34px!important}}

/* V3.13 — visual harmonization: ranks, crowns, favorites and ratings — Copyright (c) 2026 Greg-G */
/* Use the same trophy artwork everywhere a compact ranking cup is displayed. */
.record-cup,
.fp-theme .leader-record-row>span.record-cup{
  background-color:transparent!important;
  background-image:url('../img/ranks/rank-1.png')!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:contain!important;
  -webkit-mask:none!important;
  mask:none!important;
  filter:none!important;
  opacity:1!important;
}
.neo-score-row .record-cup.cup-1{background-image:url('../img/ranks/rank-1.png')!important}
.neo-score-row .record-cup.cup-2{background-image:url('../img/ranks/rank-2.png')!important}
.neo-score-row .record-cup.cup-3{background-image:url('../img/ranks/rank-3.png')!important}

/* Record holder crown: stronger gold and better contrast on dark panels. */
.record-crown{
  opacity:1!important;
  font-size:15px!important;
  filter:saturate(1.45) brightness(1.18) drop-shadow(0 0 3px rgba(255,190,35,.8));
  text-shadow:0 0 7px rgba(255,184,0,.65);
}

/* Favorites use one visual language: red filled heart = favorite. */
.profile-stats>div:nth-child(4)>span,
.profile-favorites .profile-panel-head h2,
.public-profile-stats>div:nth-child(4)>span{
  color:#ff5577!important;
  text-shadow:0 0 7px rgba(255,65,105,.28);
}
.portal-card-fav.on{color:#ff5577!important}

/* Ratings: clean gold filled stars and muted empty stars everywhere. */
.portal-home-rating>b,
.profile-stars-filled{color:#ffc94d!important}
.profile-stars-empty{color:#64758a!important}
.rating-star{color:#64758a!important}
.rating-star.on,.rating-star.preview{color:#ffc94d!important}

.auth-help{text-align:center;margin:16px 0 0}.auth-help a{font-weight:800}.reset-generic{background:#0d2d46;border:1px solid #245d85;color:#bfe4ff}

/* V3.16 — harmonisation portail + néon, cartes, favoris, notes et lisibilité — Copyright (c) 2026 Greg-G */
:root{--ga-neon-cyan:#35dcff;--ga-neon-violet:#8b4dff;--ga-neon-pink:#f044d8;--ga-gold:#ffc94d;--ga-muted-star:#586b83}

/* Cartes : lisibilité, images, alignement et touches néon discrètes. */
.portal-catalog-card,.portal-home-game{border-color:#1b5e9b!important;background:linear-gradient(180deg,#10254b 0,#071a34 38%,#06162b 100%)!important;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.portal-catalog-card:hover,.portal-home-game:hover{border-color:#3abfe8!important;box-shadow:0 0 18px rgba(42,205,255,.12),0 12px 28px rgba(0,0,0,.22);transform:translateY(-1px)}
.portal-catalog-icon,.portal-home-icon{width:68px!important;height:68px!important;border-color:#236f9f!important;box-shadow:0 0 15px rgba(42,211,255,.10)!important}
.portal-catalog-icon img,.portal-home-icon img{width:100%!important;height:100%!important;object-fit:contain!important;padding:5px!important;box-sizing:border-box!important}
.portal-catalog-copy,.portal-home-copy{display:flex!important;flex-direction:column!important;align-items:center!important;height:100%!important}
.portal-catalog-copy>p,.portal-home-copy>span{color:#d7e4f3!important;font-size:14px!important;line-height:1.55!important;text-shadow:0 1px 1px rgba(0,0,0,.35)}
.portal-catalog-open,.portal-home-open{margin-top:auto!important;min-width:88px;text-align:center;font-weight:900!important;letter-spacing:.02em;border-color:#7857e8!important;background:linear-gradient(135deg,#1d2053,#27186d)!important;color:#fff!important;box-shadow:0 0 10px rgba(128,73,255,.12)}
.portal-catalog-open:hover,.portal-home-open:hover{border-color:#cf4cff!important;box-shadow:0 0 14px rgba(207,76,255,.30)}

/* Notes : les étoiles vides restent réellement grises. */
.portal-home-rating{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;margin:9px 0!important;white-space:nowrap}
.portal-home-rating>b{display:inline-flex!important;letter-spacing:1.5px!important;font-size:15px!important;color:inherit!important}
.portal-home-rating .stars-filled{color:var(--ga-gold)!important;text-shadow:0 0 6px rgba(255,201,77,.18)}
.portal-home-rating .stars-empty{color:var(--ga-muted-star)!important;text-shadow:none!important}
.portal-home-rating>small{color:#9fb2c9!important;font-size:10px!important}
.rating-star{font-family:"Segoe UI Symbol","Noto Sans Symbols 2",Arial,sans-serif!important}

/* Cœurs favoris : bouton plus propre et plus expressif. */
.portal-card-fav{width:32px!important;height:32px!important;border-width:1px!important;font-size:19px!important;background:rgba(5,20,38,.92)!important;box-shadow:0 5px 14px rgba(0,0,0,.35),inset 0 0 12px rgba(50,200,255,.04)!important}
.portal-card-fav:not(.on){border-color:#2a8dc1!important;color:#8adfff!important}
.portal-card-fav:not(.on):hover{border-color:#ff6c9d!important;color:#ff87ad!important;background:#281124!important}
.portal-card-fav.on{border-color:#ff4e78!important;background:linear-gradient(145deg,#551329,#2d0d1b)!important;color:#ff5577!important;box-shadow:0 0 12px rgba(255,73,119,.28)!important}
.portal-card-fav:hover{transform:scale(1.10)!important}
.favorite-btn{border-color:#e55070!important;background:linear-gradient(135deg,#421324,#28101a)!important;color:#ffd9e2!important}
.favorite-btn:not(.on){border-color:#2b91c3!important;background:#0b2738!important;color:#b8edff!important}
.favorite-btn.on{box-shadow:0 0 12px rgba(255,75,116,.18)!important}

/* Ruban NOUVEAU : entièrement contenu dans la carte. */
.portal-card-new-ribbon{top:15px!important;right:-25px!important;width:116px!important;padding:5px 0!important;transform:rotate(38deg)!important;font-size:9px!important}
@media(max-width:650px){.portal-card-new-ribbon{top:14px!important;right:-27px!important;width:112px!important;font-size:8px!important}}

/* Favoris : même gabarit que le catalogue. */
.favorites-page-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
.favorites-page-grid .portal-catalog-card{min-height:300px!important}
@media(max-width:1100px){.favorites-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){.favorites-page-grid{grid-template-columns:1fr!important}}

/* Historique : miniature, dates et textes secondaires plus lisibles. */
.history-row{grid-template-columns:46px minmax(0,1fr) auto!important;min-height:54px!important}
.history-thumb{width:42px;height:42px;display:grid;place-items:center;border:1px solid #245d8c;border-radius:9px;overflow:hidden;background:#0a1d38;text-decoration:none}
.history-thumb img{width:100%;height:100%;object-fit:contain;padding:3px;box-sizing:border-box}
.history-row small,.history-row time,.profile-activity-row small,.profile-activity-row time{color:#a7b8d1!important}
@media(max-width:720px){.history-row{grid-template-columns:46px 1fr!important}.history-row time{grid-column:2!important}}

/* Défis : états colorés + identité néon cohérente. */
.challenge-create,.challenge-card{border-color:#236ca5!important;box-shadow:0 0 16px rgba(34,179,255,.06)!important}
.challenge-form button{background:linear-gradient(135deg,#1f8de8,#773cf0)!important;border-color:#59cfff!important;box-shadow:0 0 12px rgba(83,116,255,.20)!important}
.challenge-card{position:relative;overflow:hidden}
.challenge-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#42cfff}
.challenge-card.status-pending:before{background:#ffc247}.challenge-card.status-pending .challenge-head small{color:#ffd26a!important}
.challenge-card.status-active:before{background:#38dcff}.challenge-card.status-active .challenge-head small{color:#66e6ff!important}
.challenge-card.status-finished:before{background:#52df92}.challenge-card.status-finished .challenge-head small{color:#72eca8!important}
.challenge-card.status-refused:before,.challenge-card.status-cancelled:before{background:#ef6078}.challenge-card.status-refused .challenge-head small,.challenge-card.status-cancelled .challenge-head small{color:#ff8497!important}
.challenge-empty{grid-column:1/-1;min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px dashed #2d6d9d;border-radius:14px;background:radial-gradient(circle at 50% 0,rgba(133,55,255,.12),transparent 60%),#08172d;color:#dce9fa;text-align:center}
.challenge-empty>span{font-size:30px;color:#ffd64f;filter:drop-shadow(0 0 8px rgba(255,214,79,.35))}.challenge-empty small{color:#9eb2cf}

/* Catégories et profil : même langage visuel, sans surcharger. */
.portal-category-card,.profile-panel,.profile-stats>div,.account-panel,.account-summary{border-color:#205f98!important;box-shadow:inset 0 0 24px rgba(32,136,255,.025)}
.portal-category-card:hover{border-color:#42d9ff!important;box-shadow:0 0 16px rgba(55,215,255,.13)!important}
.profile-stats>div:nth-child(1){border-top:2px solid #49cfff!important}.profile-stats>div:nth-child(2){border-top:2px solid #ffc84c!important}.profile-stats>div:nth-child(3){border-top:2px solid #f04ee8!important}.profile-stats>div:nth-child(4){border-top:2px solid #ff5577!important}.profile-stats>div:nth-child(5){border-top:2px solid #8b6cff!important}
.profile-panel small,.profile-retention-note,.account-form small,.account-summary p{color:#a6b9d2!important}
.avatar-file-label{border-color:#2b6d9d!important;background:#091d38!important;border-radius:9px!important;padding:10px!important}

/* Mon compte : 3 colonnes équilibrées, puis empilement responsive. */
.account-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(260px,.62fr)!important;width:min(1800px,94vw)!important;max-width:none!important}
.account-summary{min-width:0!important}.account-summary dl,.account-summary dl>div{min-width:0!important}.account-summary dd{overflow-wrap:anywhere!important;word-break:normal!important}.account-summary p{line-height:1.55!important}
@media(max-width:1180px){.account-grid{grid-template-columns:1fr 1fr!important}.account-summary{grid-column:1/-1!important}}
@media(max-width:680px){.account-grid{grid-template-columns:1fr!important}.account-summary{grid-column:auto!important}}

/* Harmonisation générale portail + néon léger. */
.portal-hero,.account-hero,.profile-hero,.challenge-hero{border-color:#326ed0!important;box-shadow:0 0 20px rgba(53,133,255,.09)!important}
.portal-hero small,.account-hero small,.profile-hero small,.challenge-hero small,.profile-panel-head small{color:#4ce2ff!important}
.profile-panel-head h2,.leader-games-head h2{color:#f3f7ff!important}

/* G-Points Ultimate V1 */
.gpoints-wallet{text-align:center}.gpoints-wallet>small{font-weight:800;letter-spacing:.08em}.gpoints-balance{display:flex;justify-content:center;align-items:baseline;gap:10px;margin:22px 0}.gpoints-balance strong{font-size:3rem}.gpoints-balance span{font-size:1.2rem;font-weight:800;opacity:.75}

/* G-Points V1.1 */
.gpoints-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.gpoints-tabs a{display:inline-flex;align-items:center;padding:10px 14px;border:1px solid #28547d;border-radius:10px;background:#0c1b2e;color:#a9d9ff;font-weight:800}.gpoints-tabs a.active{background:#1478c9;color:#fff}.gpoints-summary{padding:18px 24px}.gpoints-summary h2{margin-top:0}

/* Correctif G-Arcade : la page Mon compte doit rester dans la colonne centrale du portail. */
.fp-center .account-hero,
.fp-center .account-grid{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.fp-center .account-grid{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(220px,.62fr)!important;
}
@media(max-width:1180px){
  .fp-center .account-grid{grid-template-columns:1fr 1fr!important}
  .fp-center .account-summary{grid-column:1/-1!important}
}
@media(max-width:680px){
  .fp-center .account-grid{grid-template-columns:1fr!important}
  .fp-center .account-summary{grid-column:auto!important}
}

/* Correctif 02-10-2026 : Mon compte en 3 blocs egaux + espacements interieurs. */
.fp-center .account-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
  align-items:stretch!important;
}
.fp-center .account-panel,
.fp-center .account-summary{
  min-width:0!important;
  box-sizing:border-box!important;
  height:100%!important;
}
.fp-center .account-panel > h2,
.fp-center .account-summary > h2{
  margin-left:0!important;
}
.fp-center .account-form{
  padding:4px 18px 18px!important;
}
.fp-center .account-panel > h2,
.fp-center .account-summary > h2,
.fp-center .account-summary > dl,
.fp-center .account-summary > p{
  margin-left:18px!important;
  margin-right:18px!important;
}
@media(max-width:1180px){
  .fp-center .account-grid{grid-template-columns:1fr 1fr!important}
  .fp-center .account-summary{grid-column:1/-1!important}
}
@media(max-width:680px){
  .fp-center .account-grid{grid-template-columns:1fr!important}
  .fp-center .account-summary{grid-column:auto!important}
}

/* ACP Extensions : etat immediatement lisible. */
.extensions-grid .extension-power.is-on{
  background:#087744!important;
  border:1px solid #20c879!important;
  color:#effff7!important;
  box-shadow:0 0 0 1px rgba(32,200,121,.08),0 0 14px rgba(32,200,121,.14)!important;
}
.extensions-grid .extension-power.is-off{
  background:#7a2032!important;
  border:1px solid #f05a74!important;
  color:#fff3f5!important;
  box-shadow:0 0 0 1px rgba(240,90,116,.08),0 0 14px rgba(240,90,116,.12)!important;
}

/* G-Points V1.2 - transferts */
.gpoints-transfer-form{display:grid;grid-template-columns:1.4fr .7fr 1.5fr auto;gap:14px;align-items:end;margin-top:18px}
.gpoints-transfer-form label{display:flex;flex-direction:column;gap:7px;min-width:0}
.gpoints-transfer-form input,.gpoints-transfer-form select{width:100%;box-sizing:border-box}
.gpoints-transfer-form button{white-space:nowrap}
@media(max-width:980px){.gpoints-transfer-form{grid-template-columns:1fr 1fr}.gpoints-transfer-form button{width:100%}}
@media(max-width:620px){.gpoints-transfer-form{grid-template-columns:1fr}}


/* G-Points V1.5 : ACP structure + récompenses Arcade */
.gp-config-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0}.gp-config-card{margin:0!important}.gp-config-card h2{margin-top:0}.gp-config-card>label,.gp-config-card .gp-two label,.gp-config-card .gp-reward-grid label{display:flex;flex-direction:column;gap:7px;margin:10px 0}.gp-config-card input,.gp-config-card select{width:100%;box-sizing:border-box}.gp-arcade-card{grid-column:1/-1}.gp-two,.gp-reward-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gp-reward-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.gp-adjust-card{margin-top:18px}.gp-adjust-form{display:grid;grid-template-columns:1.2fr .8fr 1.5fr auto;gap:14px;align-items:end}.gp-adjust-form label{display:flex;flex-direction:column;gap:7px;min-width:0}.gp-adjust-form input,.gp-adjust-form select{width:100%;box-sizing:border-box}.gp-adjust-form button{white-space:nowrap}@media(max-width:1100px){.gp-config-grid{grid-template-columns:1fr 1fr}.gp-arcade-card{grid-column:1/-1}.gp-reward-grid{grid-template-columns:1fr 1fr}.gp-adjust-form{grid-template-columns:1fr 1fr}.gp-adjust-form button{width:100%}}@media(max-width:700px){.gp-config-grid,.gp-two,.gp-reward-grid,.gp-adjust-form{grid-template-columns:1fr}.gp-arcade-card{grid-column:auto}}

/* G-Points V1.6 */
.gp-help{display:block;min-height:18px;margin-top:4px;color:var(--muted,#8fa7bd);font-size:.82rem}.gp-robbery-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.gp-rob-opt{margin:14px 0}.gpoints-robbery .gpoints-transfer-form{margin-top:16px}@media(max-width:1200px){.gp-robbery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.gp-robbery-grid{grid-template-columns:1fr}}

/* G-Points V1.8 — ACP en blocs + loterie unifiée */
.gp-config-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.gp-config-card{height:100%;box-sizing:border-box}
.gp-config-card .gp-reward-grid,.gp-config-card .gp-robbery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.gp-lottery-admin{margin-top:18px}
.gp-lottery-admin>h2{margin-top:0}
.gp-lottery-section{padding:16px 0;border-top:1px solid rgba(255,255,255,.09)}
.gp-lottery-section:first-of-type{border-top:0;padding-top:4px}
.gp-lottery-section h3{margin:0 0 12px}
.gp-lottery-config{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end}
.gp-lottery-config label{display:flex;flex-direction:column;gap:7px;min-width:0}
.gp-lottery-config input,.gp-lottery-config select{width:100%;box-sizing:border-box}
.gp-lottery-config button{white-space:nowrap}
@media(max-width:1100px){.gp-lottery-config{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.gp-config-grid,.gp-config-card .gp-reward-grid,.gp-config-card .gp-robbery-grid,.gp-lottery-config{grid-template-columns:1fr}}

/* V3.16 — gestion jeux groupée + contrôles lisibles + fiche jeu compacte */
/* Portail : recentre l'ensemble menu + contenu sur les grands écrans. */
.fp-content-layout .fp-shell{max-width:1600px!important;margin-left:auto!important;margin-right:auto!important;grid-template-columns:230px minmax(0,1fr)!important;gap:18px!important}

/* ACP jeux : gagne de la largeur sans sacrifier la lecture. */
.games-bulk-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 12px;border-bottom:1px solid #244866;background:#0a1d31}
.games-bulk-bar>b{margin-right:auto;color:#bfe7ff;font-size:12px}.games-bulk-bar label{display:flex;align-items:center;gap:8px;color:#9fc2dc;font-size:12px;font-weight:800}.games-bulk-bar select{min-width:180px;padding:7px 9px}.games-bulk-bar button{padding:8px 13px}
.v2-games-table th,.v2-games-table td{padding-left:7px!important;padding-right:7px!important}.v2-games-table th{font-size:10px!important;white-space:nowrap}.v2-games-table td{font-size:11px!important}
.v2-games-table .bulk-check-cell{width:32px!important;min-width:32px!important;max-width:32px!important;text-align:center!important;padding-left:5px!important;padding-right:5px!important}.game-bulk-check,#bulkGamesAll{width:17px;height:17px;accent-color:#38bdf8;cursor:pointer}
.v2-games-table td:last-child{min-width:430px!important}.game-actions{min-width:410px!important;gap:7px!important}.game-actions>.btn,.game-actions form button{min-height:34px!important;padding:7px 9px!important;font-size:11px!important}
.acp-controls-icons{gap:7px!important;min-height:34px!important}.acp-control-icon{width:34px!important;height:34px!important;border:1px solid #347fb0!important;border-radius:9px!important;background:linear-gradient(145deg,#09243d,#103b5c)!important;color:#7cddff!important;box-shadow:inset 0 0 0 1px #ffffff0a,0 0 12px #1ca8e72b!important}.acp-control-icon.keyboard{color:#cf8cff!important;border-color:#7651a7!important;background:linear-gradient(145deg,#21113a,#3a1958)!important}.ga-control-svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}.acp-control-icon.keyboard .ga-control-svg{width:29px;height:25px}

/* Lecteur : score central, infos compactes et classement pleine largeur. */
.reader-social{display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;min-height:54px!important}.reader-player{grid-column:1}.reader-best{grid-column:2;display:grid;grid-template-columns:auto auto;grid-template-areas:'icon label' 'icon score';align-items:center;column-gap:9px;padding:4px 18px}.reader-best i{grid-area:icon;font-size:27px;font-style:normal;filter:drop-shadow(0 0 7px #ffc83d88)}.reader-best small{grid-area:label;color:#f2c85c;font-size:9px;font-weight:1000;letter-spacing:.12em}.reader-best b{grid-area:score;color:#fff2a3!important;font-size:20px!important;line-height:1.05;text-shadow:0 0 10px #ffbd2e55}
.reader-bottom{grid-template-columns:1fr!important}.reader-info>p{min-height:0!important;margin-bottom:12px}.reader-meta{grid-template-columns:repeat(4,minmax(0,1fr))!important}.reader-meta>div{min-height:58px;align-content:center}.reader-meta-controls{min-width:0}.reader-control-cards{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.reader-control-card{display:inline-flex;align-items:center;gap:8px;color:#eaf8ff}.reader-control-icon{display:inline-grid;place-items:center;width:46px;height:46px;border-radius:11px;border:1px solid #35a4d9;background:linear-gradient(145deg,#08243b,#0f4668);color:#78e1ff;box-shadow:inset 0 0 0 1px #ffffff0d,0 0 16px #1bb7f03b}.reader-control-icon.keyboard{border-color:#885bd0;background:linear-gradient(145deg,#24113d,#431d62);color:#d59aff;box-shadow:inset 0 0 0 1px #ffffff0d,0 0 16px #9c4df03b}.reader-control-icon .ga-control-svg{width:35px;height:35px}.reader-control-icon.keyboard .ga-control-svg{width:38px;height:31px}.reader-control-card>b{font-size:13px!important}.reader-ranking{min-width:0}.reader-ranks{max-height:360px;overflow:auto}
@media(max-width:1200px){.fp-content-layout .fp-shell{max-width:94vw!important;grid-template-columns:210px minmax(0,1fr)!important}.reader-meta{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:900px){.reader-social{grid-template-columns:1fr!important}.reader-player,.reader-best{grid-column:1!important}.reader-best{justify-self:start;padding-left:0}.reader-meta{grid-template-columns:1fr 1fr!important}.games-bulk-bar>b{width:100%;margin-right:0}}
@media(max-width:560px){.reader-meta{grid-template-columns:1fr!important}.reader-control-icon{width:42px;height:42px}}

/* G-Arcade V3.16.2 — centrage complet du tableau Gestion des jeux */
.v2-games-table th,
.v2-games-table td {
    text-align: center !important;
}
.v2-games-table th > *,
.v2-games-table td > * {
    margin-left: auto;
    margin-right: auto;
}
.v2-games-table .game-actions,
.v2-games-table td:last-child .game-actions {
    justify-content: center !important;
}
.v2-games-table .game-actions form {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.v2-games-table .thumbcell img,
.v2-games-table .no-thumb {
    margin-left: auto !important;
    margin-right: auto !important;
}
.v2-games-table .status-pill,
.v2-games-table .tech-pill {
    justify-content: center;
}

/* G-Arcade — étoiles des cartes : lisibilité sans changer les dimensions des blocs. */
.portal-home-rating > b {
  font-size: 20px !important;
  letter-spacing: 1px !important;
  line-height: 1.15 !important;
  color: inherit !important;
}
.portal-home-rating .stars-filled {
  color: #ffcc42 !important;
  text-shadow: none !important;
}
.portal-home-rating .stars-empty {
  color: #91a7bd !important;
  text-shadow: none !important;
}
@media (max-width: 480px) {
  .portal-home-rating > b {
    font-size: 18px !important;
    letter-spacing: 0 !important;
  }
}

/* Bloc membre et boîte de réception */
.fp-member-compact { margin-bottom: 12px; }
.fp-member-compact .fp-member { min-height: 72px; }
@media(min-width: 1351px) { .fp-member-home { display: none; } }
.fp-member .fp-avatar { flex: 0 0 57px; border-radius: 13px; }
.fp-member > div:last-child { min-width: 0; overflow-wrap: anywhere; }
.fp-member-shortcuts { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; margin-top: 4px; }
.fp-member-shortcuts a { color: #bceaff; text-decoration: none; font-size: .85rem; }
.fp-member-shortcuts a:is(:hover, :focus-visible) { color: #fff; text-decoration: underline; }
.fp-member-wallet { font-weight: 700; }
.fp-member-shortcuts .fp-member-inbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 38px;
    min-height: 34px;
    padding: 0 6px;
    border: 1px solid #2b719e;
    border-radius: 8px;
    background: #103150;
}
.fp-member-shortcuts .fp-member-inbox:hover { background: #18456b; text-decoration: none; }
.fp-member-inbox > span:first-child { font-size: 1.3rem; line-height: 1; }
.gchat-admin [data-inbox-mode][hidden] { display: none; }
.fp-unread-count { padding: 1px 5px; border-radius: 8px; background: #20bde8; color: #06213a; font-size: .72rem; font-weight: 800; }
.ga-inbox, .ga-inbox-detail { min-width: 0; padding: 16px; }
.ga-inbox-list { list-style: none; padding: 0; margin: 12px 0; }
.ga-inbox-list li { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 8px; border-bottom: 1px solid #214669; }
.ga-inbox-list .ga-inbox-unread { background: #123451; }
.ga-inbox-row-content { min-width: 0; overflow-wrap: anywhere; }
.ga-inbox-row-content small { display: block; color: #a9bddd; }
.ga-inbox-row-content .ga-inbox-subject { display: block; text-align: left; padding: 3px 0; background: none; border: 0; box-shadow: none; color: #cceaff; overflow-wrap: anywhere; }
.ga-inbox-row-content .ga-inbox-subject:hover { text-decoration: underline; }
.ga-inbox-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.ga-inbox-text { white-space: pre-wrap; overflow-wrap: anywhere; }
@media(max-width: 460px) {
    .ga-inbox, .ga-inbox-detail { padding: 9px; }
    .ga-inbox-list li { gap: 6px; }
    .ga-inbox-list li > button { padding-inline: 6px; }
}

.ga-extension-install-content { padding: 12px 16px; }
.ga-extension-install-content ul { display: grid; gap: 6px 14px; grid-template-columns: repeat(auto-fit,minmax(190px,1fr)); list-style: none; padding: 0; }
.ga-extension-install-content li { display: grid; gap: 3px; border: 1px solid #263d69; border-radius: 8px; padding: 7px 10px; }
.ga-extension-install-content li span, .ga-extension-install-content li small { color: #a9bddd; }
.ga-extension-install-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ga-extension-install-actions form { margin: 0; }
.ga-extension-install button:disabled { opacity: .55; cursor: default; }
.ga-extension-unavailable { filter: grayscale(1); opacity: .72; }

.ga-email-choice { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0; }
.ga-email-choice input[type="checkbox"] { width: auto; margin: 3px 0 0; accent-color: #2bd879; }
.gchat-admin [data-email-audience][hidden] { display: none; }
.ga-email-history { list-style: none; padding: 0; margin: 0; }
.ga-email-history li { padding: 8px 0; border-bottom: 1px solid #263d69; }
.ga-email-history small { display: block; color: #a9bddd; }

.ga-community-activity { margin: 0 0 14px; }
.ga-community-list { margin: 0; padding: 0; list-style: none; }
.ga-community-list li {
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
    gap: 3px 12px; padding: 7px 10px; border-bottom: 1px solid #1c3751;
    color: #dcecff; overflow-wrap: anywhere;
}
.ga-community-list li > div { min-width: 0; }
.ga-community-list .ga-ico { width: 15px; height: 15px; vertical-align: middle; }
.ga-community-list time { color: #a9bddd; font-size: .78rem; white-space: nowrap; }
.ga-community-list a { color: #66dfff; }

.ga-announcements-home { min-width: 0; margin: 0 0 14px; }
.ga-announcements-home .neo-panel-title { flex-wrap: wrap; gap: 6px 12px; }
.ga-announcement-viewport { max-height: 11rem; overflow: auto; background: #091827; border-radius: 8px; }
.ga-announcement-track { list-style: none; padding: 0; margin: 0; }
.ga-announcement-item { padding: 7px 10px; border-bottom: 1px solid #1c3751; overflow-wrap: anywhere; }
.ga-announcement-item:last-child { border-bottom: 0; }
.ga-announcement-item strong { color: #8ae3ff; margin-inline-end: .45em; }
.ga-announcement-content { white-space: pre-wrap; }
.ga-announcements-home.is-scrolling .ga-announcement-viewport { max-height: none; overflow: hidden; }
.ga-announcements-home.is-scrolling .ga-announcement-track { display: flex; width: max-content; white-space: nowrap; }
.ga-announcements-home.is-scrolling .ga-announcement-item { border-bottom: 0; padding-inline: 1rem; }
.ga-announcements-home.is-scrolling .ga-announcement-item + .ga-announcement-item { border-inline-start: 1px solid #376086; }
.ga-announcements-home.is-scrolling .ga-announcement-content { white-space: normal; }
@media (prefers-reduced-motion: reduce) {
  .ga-announcements-home .ga-announcement-track { transform: none !important; }
}
.ga-announcement-page { min-width: 0; padding: 14px 16px; }
.ga-announcement-admin-list small { color: #a9bddd; }
.ga-announcement-text { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 9px; }
.ga-announcement-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; }
.ga-announcement-admin-list { list-style: none; padding: 0; margin: 0; }
.ga-announcement-admin-list li { padding: 7px 0; border-bottom: 1px solid #263d69; overflow-wrap: anywhere; }
.ga-announcement-admin-list li > small { margin-left: 6px; }

.ga-catalog-badge { display: flex; align-items: center; gap: 22px; }
.ga-catalog-badge .new-badge-preview { flex: 0 0 110px; }
.ga-catalog-settings .config-row { flex-direction: row; align-items: center; gap: 12px; }
.ga-catalog-settings .config-row + .config-row { border-top: 1px solid #285075; }
.ga-catalog-settings .short-input { flex: 0 0 80px; margin-inline-start: auto; }
.ga-account-preferences { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.ga-account-preferences > :only-child { grid-column: 1 / -1; }
.ga-account-preferences .account-form label:is(.ga-email-choice,.ga-birthday-consent) {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.ga-account-preferences .account-form input[type="checkbox"] {
  appearance: none;
  box-sizing: border-box;
  display: grid;
  place-content: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 1px solid #79a9cc;
  border-radius: 4px;
  background: #081727;
  cursor: pointer;
}
.ga-account-preferences .account-form input[type="checkbox"]:checked { border-color: #57e59c; }
.ga-account-preferences .account-form input[type="checkbox"]:checked::before {
  content: "";
  width: 6px;
  height: 11px;
  border: solid #57e59c;
  border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg);
}
.ga-account-preferences .account-form input[type="checkbox"]:focus-visible {
  outline: 2px solid #79d7ff;
  outline-offset: 2px;
}
.ga-birthday-date { display: grid; grid-template-columns: minmax(0,6rem) minmax(0,10rem); gap: 12px; }
.ga-birthday-date select { width: 100%; min-width: 0; }
@media (max-width: 680px) {
  .ga-account-preferences { grid-template-columns: minmax(0,1fr); }
  .ga-catalog-settings .ga-catalog-badge { min-width: 0; gap: 12px; }
  .ga-catalog-settings .new-badge-preview { flex-basis: 84px; }
  .ga-catalog-settings .config-row label { overflow-wrap: anywhere; }
}
@media (forced-colors: active) {
  .ga-account-preferences .account-form input[type="checkbox"] { appearance: auto; }
  .ga-account-preferences .account-form input[type="checkbox"]:checked::before { content: none; }
}
.ga-birthdays-widget h3 { color: #ffdc8a; }
.ga-birthdays-empty { margin: 0; color: #b5c9e2; }
.ga-birthdays-widget ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ga-birthdays-widget li {
  padding: 8px 17px;
  border: 1px solid #5f5135;
  border-radius: 8px;
  overflow-wrap: anywhere;
  background:
    radial-gradient(circle at 7px 8px, #dca950 1px, transparent 2px),
    radial-gradient(circle at 9px calc(100% - 7px), #8f9ed9 1px, transparent 2px),
    radial-gradient(circle at calc(100% - 9px) 7px, #8f9ed9 1px, transparent 2px),
    radial-gradient(circle at calc(100% - 6px) calc(100% - 8px), #dca950 1px, transparent 2px),
    #0d1b35;
}
.ga-birthdays-widget li strong { color: #ffe3a3; }
.ga-birthdays-mobile { display: none; }
@media (max-width: 1350px) {
  .ga-birthdays-mobile { display: block; margin-top: 12px; }
}

/* Lecteur de jeu */
.fp-center .reader-shell:not(.reader-test) { max-width: none; }
.reader-shell:not(.reader-test) .reader-toolbar h1 { overflow-wrap: anywhere; }
@media (min-width: 1200px) {
  .reader-shell:not(.reader-test) .reader-toolbar {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr);
  }
  .reader-shell:not(.reader-test) .reader-title { display: contents; }
  .reader-shell:not(.reader-test) .reader-title > div { text-align: center; }
  .reader-shell:not(.reader-test) .reader-title h1 { display: block; margin: 0 0 5px; }
}
.reader-stage {
  width: min(100%, var(--ga-game-width));
  height: auto;
  aspect-ratio: var(--ga-game-ratio);
}
.reader-stage:fullscreen > #ruffle,
.reader-stage:fullscreen > iframe {
  width: min(100vw, calc(100vh * (var(--ga-game-ratio))));
  height: min(100vh, calc(100vw / (var(--ga-game-ratio))));
}
.reader-shell .reader-social {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0;
  text-align: center;
  font-size: 14px;
}
.reader-social > span { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; padding: 4px 8px; }
.reader-social > span + span { border-inline-start: 1px solid #285d83; }
.reader-social > span i { font-style: normal; }
.reader-social > span b { color: #ffdb76; font-size: 17px; overflow-wrap: anywhere; }
.reader-shell .reader-bottom { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.reader-shell .reader-bottom-guest { grid-template-columns: minmax(0, 1fr) !important; }
.reader-shell .reader-meta { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.reader-meta-controls { grid-column: 1 / -1; }
.reader-control-card.mouse > b { color: #63d4ff; }
.reader-control-card.keyboard > b { color: #d59aff; }
.reader-rank-row > span { overflow-wrap: anywhere; }
.reader-rank-row.is-mine { background: #272049; }
.reader-shell #scoreStatus:empty, .reader-action-status:empty { display: none; }
.reader-stats { min-width: 0; }
.reader-stats summary { cursor: pointer; color: #a9e3ff; font-weight: 800; }
.reader-stats p { margin: 8px 0 0; font-size: 12px; }
.ga-guest-game .ga-guest-meta > div:nth-child(1) { grid-column: span 2; }
.ga-guest-game .reader-control-cards b { font-size: 12px; }
@media (max-width: 760px) {
  .reader-shell .reader-bottom { grid-template-columns: minmax(0, 1fr) !important; }
  .reader-toolbar .reader-controls { gap: 6px; }
}

/* Habillage néon du lecteur */
.fp-center .reader-neon {
  --reader-cyan: #60eaff;
  --reader-glow: 0 0 0 1px #12b9f34d, 0 0 14px #00b6ff4d, inset 0 0 14px #00b6ff24;
  min-width: 0;
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: #edf7ff;
}
.reader-neon .reader-toolbar {
  padding: 0 0 10px;
  border: 0;
  border-bottom: 1px solid #246f97;
  border-radius: 0;
  background: none;
}
.reader-neon .reader-heading { min-width: 0; }
.reader-neon .reader-heading h1 {
  font-size: clamp(1.65rem, 3.1vw, 3rem);
  font-style: italic;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.035em;
  color: #f4fbff;
  text-shadow: 0 0 15px #5bb8ee65;
}
.reader-neon .reader-heading h1::before {
  content: "";
  display: inline-block;
  width: .57em;
  height: .53em;
  margin-inline-end: .35em;
  transform: skewX(-30deg);
  background: repeating-linear-gradient(90deg, #fb43d8 0 22%, transparent 22% 44%);
  filter: drop-shadow(0 0 6px #f139ce);
}
.reader-neon .reader-title > a,
.reader-neon .reader-controls button,
.reader-neon .reader-stats summary {
  padding: 8px 12px;
  border: 1px solid var(--reader-cyan) !important;
  border-radius: 9px;
  background: linear-gradient(180deg, #14385b, #061328 78%) !important;
  box-shadow: 0 0 9px #17c2fa70, inset 0 0 7px #29aee766;
  color: #ecfaff;
  font-size: 14px;
  font-weight: 800;
}
.reader-neon .reader-title > a:hover,
.reader-neon .reader-controls button:hover,
.reader-neon .reader-stats summary:hover { background: #153f62 !important; }
.reader-neon :is(.reader-social,.reader-stage-wrap,.reader-community,.reader-info,.reader-ranking) {
  border: 2px solid var(--reader-cyan);
  border-radius: 12px;
  background: linear-gradient(145deg, #0b1e42, #050c26 65%);
  box-shadow: var(--reader-glow);
}
.reader-neon .reader-social { margin: 10px 0 12px; padding: 6px; font-weight: 750; }
.reader-neon .reader-social > span { gap: 9px 13px; color: #edf7ff; }
.reader-neon .reader-social > span + span { border-inline-start-color: #56d7eb; }
.reader-neon .reader-social i,
.reader-neon .reader-social b { color: #ffe274; font-size: clamp(1.05rem, 2.2vw, 1.8rem); line-height: 1; }
.reader-neon .reader-stage-wrap { overflow: hidden; margin-top: 12px; padding: 0; }
.reader-neon .reader-screen {
  padding: 6px 10px 4px;
  background: radial-gradient(ellipse at 50% 40%, #121e48, #060b26 74%);
}
.reader-neon .reader-screen { padding: 10px 12px; }
.reader-neon .reader-stage:not(:fullscreen) {
  position: relative;
  border-radius: 12px !important;
  outline: 2px solid #52e9ff;
  box-shadow: 0 0 9px #1ce1ffb5, 0 0 22px #02aaff50;
  background: #05142c;
}
.reader-start-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: radial-gradient(ellipse at center, #122d57, #06132b 72%);
}
.reader-stage-loaded .reader-start-cover { display: none; }
.reader-start-cover .ga-gamepad {
  width: clamp(38px, 9vw, 96px);
  height: clamp(38px, 9vw, 96px);
  margin: 0;
  color: #7fdcff;
  opacity: .48;
  filter: drop-shadow(0 0 14px #21b7f8);
}
.reader-neon .reader-deck {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px 12px;
  padding: 8px 12px;
  border-top: 1px solid #285c87;
  background: #07152e;
}
.reader-deck-html5 .reader-fullscreen { grid-column: -2; }
.reader-transport { display: flex; justify-content: center; min-width: 0; }
.reader-neon .reader-deck .reader-fullscreen,
.reader-neon .reader-transport button,
.reader-volume {
  padding: 6px 11px;
  border: 1px solid #49d8f8 !important;
  border-radius: 9px;
  background: linear-gradient(180deg, #132f52, #08162d) !important;
  color: #e9f8ff;
  font-size: 14px;
  font-weight: 800;
}
.reader-deck .reader-fullscreen { justify-self: end; }
.reader-neon .reader-transport button.is-start {
  width: min(100%, 294px);
  padding: 7px 10px;
  border-color: #72f4ff !important;
  background: linear-gradient(180deg, #119be7, #0a4bad 55%, #082b70) !important;
  box-shadow: 0 0 14px #00c4ffb0, inset 0 0 11px #4fddff92;
  font-size: clamp(.84rem, 1.45vw, 1.15rem);
}
.reader-neon .reader-transport button.is-start:hover:not(:disabled) { filter: brightness(1.17); }
.reader-neon .reader-deck button:disabled { opacity: .58; cursor: default; }
.reader-volume { display: flex; align-items: center; gap: 6px; justify-self: start; margin: 0; }
.reader-volume input { width: clamp(42px, 8vw, 112px); min-width: 0; padding: 0; border: 0; accent-color: #36ddff; }
.reader-volume output { min-width: 3em; text-align: end; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .reader-neon .reader-deck { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: 5px; padding: 7px 5px; }
  .reader-neon .reader-deck-html5 { grid-template-columns: 1fr; }
  .reader-neon .reader-deck :is(button, .reader-volume) { min-width: 0; padding: 5px; font-size: 11px; }
  .reader-volume output { display: none; }
}
.reader-playback-status { display: block; padding: 0 10px 6px; text-align: center; color: #bfe5f3; font-size: 12px; }
.reader-playback-status:empty { display: none; }
.reader-neon .reader-community {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  margin: 12px 0;
  padding: 9px 4px;
}
.reader-neon .reader-community > :is(form,details) {
  min-width: 0;
  justify-self: stretch;
  text-align: center;
  padding: 0 8px;
}
.reader-neon .reader-community > :is(.rating-form,.reader-stats) { border-inline-start: 1px solid #51d1e5; }
.reader-neon .reader-community > .favorite-form {
  position: relative;
  padding-bottom: 16px;
}
.reader-neon .favorite-btn {
  transition: box-shadow .15s ease;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: min(100%, 204px);
  height: 40px;
  padding: 4px 7px;
  border: 1px solid #60eaff !important;
  background: #0a213d !important;
  box-shadow: 0 0 8px #29c9ff55 !important;
  color: #f4fbff !important;
  font-size: 14px;
  line-height: 1.1;
}
.reader-neon .favorite-btn > [aria-hidden] { font-size: 19px; }
.reader-neon .favorite-btn:hover { background: #123555 !important; }
.reader-neon .favorite-btn.on {
  border-color: #ffe6a0 !important;
  background: linear-gradient(180deg, #ffe493, #eebd4b) !important;
  box-shadow: 0 0 8px #ffcc6555 !important;
  color: #101e35 !important;
}
.reader-neon .favorite-btn.on:hover { background: #ffe39a !important; }
.reader-favorite-status {
  position: absolute;
  inset-inline: 3px;
  bottom: 0;
  color: #b9e7ff;
  font-size: 11px;
  line-height: 14px;
}
.reader-favorite-status.is-error { color: #ffb1bc; }
.reader-neon .rating-form { justify-content: center; flex-wrap: wrap; gap: 1px 7px; font-size: 14px; font-weight: 750; color: #eef6ff; }
.reader-neon .rating-summary { width: 100%; color: #b3d5e8; font-size: 10px; }
.reader-neon .rating-star { font-size: 23px !important; }
.reader-neon .reader-stats { position: relative; }
.reader-neon .reader-stats summary { display: inline-block; cursor: pointer; list-style: none; }
.reader-neon .reader-stats summary::-webkit-details-marker { display: none; }
.reader-stats-body {
  position: absolute;
  z-index: 2;
  top: calc(100% + 8px);
  inset-inline-end: 8px;
  width: min(240px, 100%);
  padding: 8px 12px 12px;
  border: 1px solid #55cee8;
  border-radius: 8px;
  background: #0a1b36;
  box-shadow: 0 8px 16px #000a;
  text-align: start;
}
.reader-neon .reader-action-status { grid-column: 1 / -1; padding: 3px 8px 0; text-align: center; }
.reader-neon .reader-bottom { gap: 12px; align-items: start; margin: 0; }
.reader-neon .reader-info,.reader-neon .reader-ranking { min-width: 0; overflow: hidden; padding: 0; }
.reader-neon :is(.reader-info,.reader-ranking) h2 {
  margin: 0;
  padding: 8px 13px;
  border-bottom: 1px solid #5be2f3;
  background: repeating-linear-gradient(130deg, #103763 0 5px, #0b244a 5px 10px) right / 64px 100% no-repeat,
    linear-gradient(180deg,#102c56,#071832);
  color: #93f2ff;
  font-size: clamp(1.02rem, 1.65vw, 1.42rem);
  font-weight: 900;
  font-style: italic;
}
.reader-info-body { padding: 10px 14px 13px; }
.reader-info-body p { margin: 0 0 10px; white-space: pre-line; overflow-wrap: anywhere; }
.reader-command-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 5px 8px;
  border: 1px solid #50d9ef;
  border-radius: 8px;
  background: #081a32;
}
.reader-command-controls { display: flex; align-items: center; flex: 1 1 12rem; flex-wrap: wrap; gap: 6px 12px; min-width: 0; }
.reader-command-controls > span, .reader-game-format > span { color: #91e9fb; font-weight: 800; }
.reader-game-format { display: grid; gap: 2px; padding-inline-start: 12px; border-inline-start: 1px solid #39647e; }
@media (max-width: 540px) {
  .reader-game-format { flex-basis: 100%; border-inline-start: 0; border-top: 1px solid #39647e; padding: 5px 0 0; }
}
.reader-neon .reader-screen { position: relative; }
.reader-pad {
  position: absolute;
  inset-block: 0;
  width: max(0px, calc((100% - var(--ga-game-width)) / 2));
  display: grid;
  place-items: center;
  container: reader-margin / inline-size;
  pointer-events: none;
}
.reader-pad-left { inset-inline-start: 0; }
.reader-pad-right { inset-inline-end: 0; }
.reader-pad > span { display: none; }
@container reader-margin (min-width: 105px) {
  .reader-pad > span {
    --pad-gradient: linear-gradient(110deg, #38eeff 9%, #5277ff 50%, #ff52f0 93%);
    position: relative;
    display: grid;
    width: min(72cqw, 132px);
    aspect-ratio: 128 / 88;
    background: transparent;
    filter: drop-shadow(0 0 2px #5dd8ffba) drop-shadow(0 0 7px #a034ff86) drop-shadow(0 0 12px #2d64e550);
    transform: rotate(-12deg);
  }
  .reader-pad-right > span {
    transform: scaleX(-1) rotate(-12deg);
  }
  .reader-pad > span::before {
    content: "";
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 50%;
    z-index: -2;
    width: min(96cqw, 220px);
    aspect-ratio: 220 / 224;
    transform: translate(-50%, -50%) rotate(12deg);
    background: url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A//www.w3.org/2000/svg%22 viewBox%3D%220 0 220 224%22%3E%3Cdefs%3E%3ClinearGradient id%3D%22c%22 x2%3D%220%22 y2%3D%221%22 gradientUnits%3D%22objectBoundingBox%22%3E%3Cstop stop-color%3D%22%2319cfff%22 stop-opacity%3D%220%22/%3E%3Cstop offset%3D%22.29%22 stop-color%3D%22%2316aaff%22 stop-opacity%3D%22.43%22/%3E%3Cstop offset%3D%22.53%22 stop-color%3D%22%2337dfff%22 stop-opacity%3D%22.85%22/%3E%3Cstop offset%3D%22.78%22 stop-color%3D%22%231687fb%22 stop-opacity%3D%22.38%22/%3E%3Cstop offset%3D%221%22 stop-color%3D%22%231687fb%22 stop-opacity%3D%220%22/%3E%3C/linearGradient%3E%3ClinearGradient id%3D%22p%22 x2%3D%220%22 y2%3D%221%22 gradientUnits%3D%22objectBoundingBox%22%3E%3Cstop stop-color%3D%22%23d643ff%22 stop-opacity%3D%220%22/%3E%3Cstop offset%3D%22.36%22 stop-color%3D%22%23bc38ff%22 stop-opacity%3D%22.46%22/%3E%3Cstop offset%3D%22.62%22 stop-color%3D%22%23f754fc%22 stop-opacity%3D%22.83%22/%3E%3Cstop offset%3D%221%22 stop-color%3D%22%23b234ff%22 stop-opacity%3D%220%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d%3D%22M79 19 C83 62 37 66 28 103 C20 129 32 155 48 168%22 fill%3D%22none%22 stroke%3D%22url%28%23c%29%22 stroke-width%3D%221.8%22 stroke-linecap%3D%22round%22/%3E%3Cpath d%3D%22M161 23 C135 55 141 92 160 116 C181 141 165 175 201 205%22 fill%3D%22none%22 stroke%3D%22url%28%23p%29%22 stroke-width%3D%221.8%22 stroke-linecap%3D%22round%22/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .reader-pad > span::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A//www.w3.org/2000/svg%22 viewBox%3D%220 0 128 88%22%3E%3Cpath fill%3D%22%2307142d%22 d%3D%22M31 20c7-2 13-1 18 3h30c5-4 11-5 18-3 11 3 17 15 23 34l4 12c4 12-7 20-17 13L88 64c-3-2-6-3-10-3H50c-4 0-7 1-10 3L21 79C11 86 0 78 4 66l4-12c6-19 12-31 23-34Z%22/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .reader-pad .ga-gamepad {
    width: 100%;
    height: 100%;
    margin: 0;
    background: var(--pad-gradient);
    filter: none;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A//www.w3.org/2000/svg%22 viewBox%3D%220 0 128 88%22%3E%3Cpath d%3D%22M31 20c7-2 13-1 18 3h30c5-4 11-5 18-3 11 3 17 15 23 34l4 12c4 12-7 20-17 13L88 64c-3-2-6-3-10-3H50c-4 0-7 1-10 3L21 79C11 86 0 78 4 66l4-12c6-19 12-31 23-34Z%22 fill%3D%22none%22 stroke%3D%22white%22 stroke-width%3D%224%22 stroke-linejoin%3D%22round%22/%3E%3Cpath d%3D%22M30 33h7v9h9v7h-9v9h-7v-9h-9v-7h9z%22 fill%3D%22white%22/%3E%3Cpath d%3D%22M55 49h5m9 0h5%22 stroke%3D%22white%22 stroke-width%3D%223%22 stroke-linecap%3D%22round%22/%3E%3Cg fill%3D%22white%22%3E%3Ccircle cx%3D%2294%22 cy%3D%2234%22 r%3D%224%22/%3E%3Ccircle cx%3D%22105%22 cy%3D%2245%22 r%3D%224%22/%3E%3Ccircle cx%3D%2294%22 cy%3D%2256%22 r%3D%224%22/%3E%3Ccircle cx%3D%2283%22 cy%3D%2245%22 r%3D%224%22/%3E%3C/g%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A//www.w3.org/2000/svg%22 viewBox%3D%220 0 128 88%22%3E%3Cpath d%3D%22M31 20c7-2 13-1 18 3h30c5-4 11-5 18-3 11 3 17 15 23 34l4 12c4 12-7 20-17 13L88 64c-3-2-6-3-10-3H50c-4 0-7 1-10 3L21 79C11 86 0 78 4 66l4-12c6-19 12-31 23-34Z%22 fill%3D%22none%22 stroke%3D%22white%22 stroke-width%3D%224%22 stroke-linejoin%3D%22round%22/%3E%3Cpath d%3D%22M30 33h7v9h9v7h-9v9h-7v-9h-9v-7h9z%22 fill%3D%22white%22/%3E%3Cpath d%3D%22M55 49h5m9 0h5%22 stroke%3D%22white%22 stroke-width%3D%223%22 stroke-linecap%3D%22round%22/%3E%3Cg fill%3D%22white%22%3E%3Ccircle cx%3D%2294%22 cy%3D%2234%22 r%3D%224%22/%3E%3Ccircle cx%3D%22105%22 cy%3D%2245%22 r%3D%224%22/%3E%3Ccircle cx%3D%2294%22 cy%3D%2256%22 r%3D%224%22/%3E%3Ccircle cx%3D%2283%22 cy%3D%2245%22 r%3D%224%22/%3E%3C/g%3E%3C/svg%3E");
  }
}
.reader-command-line .reader-control-icon { width: 33px; height: 31px; }
.reader-command-line .reader-control-icon .ga-control-svg { width: 27px; height: 24px; }
.reader-neon .reader-ranks { border-top: 0; padding: 4px 8px 8px; }
.reader-neon .reader-rank-row {
  grid-template-columns: 2em minmax(0, 1fr) auto;
  padding: 4px 7px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
}
.reader-neon .reader-rank-row:nth-child(even) { background: #102144; }
.reader-neon .reader-rank-row.is-mine { background: #481d4f; }
.reader-neon .reader-rank-row:first-child > :is(b,strong) { color: #ffde66; }
.reader-neon .reader-rank-row strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.reader-neon .reader-empty { margin: 0; padding: 8px; color: #afc9e2; font-size: 13px; }
@media (min-width: 1200px) {
  .reader-neon .reader-title > a { justify-self: start; }
}
@media (max-width: 900px) {
  .reader-neon .reader-toolbar { gap: 8px; }
  .reader-neon .reader-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .reader-neon .reader-heading h1 { margin: 0; }
}
@media (max-width: 680px) {
  .reader-neon .reader-community { grid-template-columns: minmax(0,1fr); padding: 0 9px; }
  .reader-neon .reader-community > :is(form,details) { padding: 8px 2px; }
  .reader-neon .reader-community > :is(.rating-form,.reader-stats) { border-inline-start: 0; border-top: 1px solid #285f84; }
  .reader-stats-body { position: static; margin: 6px auto 0; }
  .reader-neon .reader-social > span { gap: 4px 6px; font-size: 12px; }
  .reader-neon .reader-controls button,.reader-neon .reader-title > a { font-size: 12px; }
}

/* Podium des détenteurs de records */
.leader-podium {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px 14px;
}
.leader-podium-card {
  --podium-metal: #c9d9eb;
  --podium-tint: #324759;
  display: grid;
  flex: 1 1 0;
  align-content: center;
  justify-items: center;
  gap: 5px;
  min-width: 0;
  min-height: 142px;
  padding: 9px 6px;
  border: 1px solid var(--podium-metal);
  border-radius: 11px;
  background: radial-gradient(ellipse at top, var(--podium-tint), #0b1931 78%);
  color: #f3f8ff;
  text-align: center;
  text-decoration: none;
}
.leader-podium-card:only-child { flex-basis: 230px; max-width: 260px; }
.leader-podium-card.podium-1 {
  --podium-metal: #ffe18a;
  --podium-tint: #56401f;
  min-height: 160px;
  box-shadow: inset 0 0 14px #f1b75420, 0 0 12px #ffbd422c;
}
.leader-podium-card.podium-3 { --podium-metal: #edb58b; --podium-tint: #4f3027; }
.leader-podium-card:hover { border-color: #63ddff; }
.leader-podium-card:focus-visible { outline: 2px solid #63ddff; outline-offset: 2px; }
.leader-podium-place, .leader-podium-records { color: var(--podium-metal); font-size: 12px; }
.leader-podium-place > span { display: block; font-size: 24px; line-height: 1.15; }
.leader-podium-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border: 1px solid var(--podium-metal);
  border-radius: 50%;
  background: #122944;
  font-size: 17px;
  font-weight: 800;
}
.leader-podium-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.leader-podium-card > strong { max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 680px) {
  .leader-podium { flex-direction: column; align-items: stretch; }
  .leader-podium-card, .leader-podium-card.podium-1 { min-height: 0; }
  .leader-podium-card:only-child { flex-basis: auto; max-width: none; }
}

/* Quête du jour */
.daily-quest {
  width: min(100%, 420px);
  margin: 0;
  padding: 13px 14px;
  border: 1px solid #21617f;
  border-radius: 13px;
  background: radial-gradient(ellipse at 100% 0, #0c2941, #0a182a 65%);
  color: #ecf5ff;
}
.daily-quest-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 7px 12px; }
.daily-quest-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 18px; }
.daily-quest-head h2 span { font-size: 24px; }
.daily-quest-clock { padding: 4px 9px; border: 1px solid #255975; border-radius: 999px; color: #bde9ff; font-size: 12px; white-space: nowrap; }
.daily-quest-clock > span:first-child { color: #32ddf4; font-size: 17px; vertical-align: -1px; }
.daily-quest > p { margin: 9px 0; font-size: 15px; }
.daily-quest-progress { display: flex; align-items: center; gap: 12px; color: #9beafa; }
.daily-quest-progress progress { flex: 1; min-width: 0; height: 13px; appearance: none; overflow: hidden; border: 0; border-radius: 999px; background: #203951; }
.daily-quest-progress progress::-webkit-progress-bar { background: #203951; }
.daily-quest-progress progress::-webkit-progress-value { border-radius: 999px; background: linear-gradient(90deg,#00bfe5,#16f4ff); }
.daily-quest-progress progress::-moz-progress-bar { border-radius: 999px; background: linear-gradient(90deg,#00bfe5,#16f4ff); }
.daily-quest > .daily-quest-reward { margin: 10px 0 0; color: #b9cde4; }
.daily-quest-reward > span, .daily-quest-reward strong { color: #ffd272; }
.daily-quest-mobile { display: none; }
@media (max-width: 1350px) {
  .daily-quest-mobile { display: block; margin: 0 0 12px; }
}

/* Carte membre sur l’accueil */
.fp-user.fp-home-member-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-color: #278cd1;
  background: linear-gradient(145deg,#0b1a3e,#08132c);
}
.fp-home-member-card .fp-member-identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}
.fp-home-member-card .fp-avatar {
  box-sizing: border-box;
  width: 64px;
  height: 64px;
  border-radius: 14px;
}
.fp-member-name {
  color: #f6fbff;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.1;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.fp-member-name:is(:hover,:focus-visible) {
  text-decoration: underline;
  text-decoration-color: #63e6ff;
  text-underline-offset: .2em;
}
.fp-member-grade { display: block; margin-top: 4px; color: #ded9ff; font-size: .88rem; }
.fp-member-medal {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #fff1bc;
  font-size: .63rem;
  font-weight: 800;
}
.fp-member-medal::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 13px 5px auto;
  height: 15px;
  background: linear-gradient(100deg,#ffca67 8%,#e54940 10% 90%,#ffca67 92%);
  clip-path: polygon(0 0,100% 0,74% 100%,26% 100%);
}
.fp-member-medal strong {
  display: grid;
  place-items: center;
  min-width: 33px;
  min-height: 33px;
  padding: 0 4px;
  border: 2px solid #ffe58d;
  border-radius: 999px;
  background: linear-gradient(145deg,#fff0a6,#e6a11d);
  box-shadow: inset 0 0 0 1px #a46a14, 0 2px 8px #ffbe4440;
  color: #4e2c0a;
  font-size: .95rem;
}
.fp-member-xp { color: #e3edff; font-size: .8rem; }
.fp-member-xp-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3px 8px; margin-bottom: 6px; }
.fp-member-xp-row span:last-child { margin-inline-start: auto; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fp-member-xp progress {
  appearance: none;
  display: block;
  width: 100%;
  height: 11px;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #293a67;
}
.fp-home-member-card .fp-member-shortcuts { margin: 0; padding-top: 9px; border-top: 1px solid #2a4367; }
.fp-home-member-card .fp-member-shortcuts:empty { display: none; }
.fp-home-member-card .fp-member-wallet { font-size: 1rem; }
.fp-home-member-card .fp-member-inbox { margin-inline-start: auto; }
.fp-member-xp progress::-webkit-progress-bar { background: #293a67; }
.fp-member-xp progress::-webkit-progress-value { background: linear-gradient(90deg,#a75aff,#92d9ff); border-radius: 8px; }
.fp-member-xp progress::-moz-progress-bar { background: linear-gradient(90deg,#a75aff,#92d9ff); border-radius: 8px; }

.fp-avatar.apprentice-frame {
  border-color: #59dcf6;
  box-shadow: 0 0 8px #38cce848;
}
.inventory-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid #42cfe65e;
  border-radius: 12px;
  background: #0c1c30;
}
.inventory-item-info { min-width: 0; }
.inventory-item h3 { margin: 0 0 6px; font-size: 1rem; }
.inventory-item p { margin: 0; color: #b7cce3; }
.inventory-item .inventory-equipped { margin-bottom: 8px; color: #9debf7; }
.inventory-item form { margin: 0; }

/* Jauge indicative du mot de passe */
.ga-password-strength {
  --strength-color: #5ce39c;
  --strength-width: 33.333%;
  margin: 0 0 4px;
}
.ga-password-strength[hidden] { display: none; }
.ga-password-strength[data-strength="medium"] { --strength-color: #ffb66a; --strength-width: 66.667%; }
.ga-password-strength[data-strength="strong"] { --strength-color: #ff8491; --strength-width: 100%; }
.ga-password-strength-track { height: 6px; overflow: hidden; border-radius: 999px; background: #29415b; }
.ga-password-strength-track > span {
  display: block;
  width: var(--strength-width);
  height: 100%;
  border-radius: inherit;
  background: var(--strength-color);
}
.ga-password-strength-text { display: grid; gap: 2px; margin-top: 5px; color: #b7cce3; font-size: .82rem; }
.ga-password-strength-text strong { color: var(--strength-color); }
.ga-password-strength-text > span:empty { display: none; }
