/* NONONO Conquête mondiale — interface de stratégie compacte responsive */
#minigame-root{font-family:inherit;color:#ebeffb;max-width:1850px;margin:auto;--mg-bg:#141e31;--mg-border:#33435f;--mg-purple:#ab80ff}
#minigame-root *{box-sizing:border-box}
#minigame-root button,#minigame-root select,#minigame-root input{font:inherit}
#minigame-root button{cursor:pointer}
#minigame-root button:disabled{cursor:not-allowed;opacity:.45}
.mg-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:8px 0 13px}
.mg-head h1{font-size:clamp(23px,2.5vw,32px);letter-spacing:-1px;margin:0 0 3px;line-height:1.06}
.mg-head h1 small{font-size:10px;background:#5e3fa0;border:1px solid #8b70c9;border-radius:5px;padding:3px 6px;vertical-align:middle;letter-spacing:1px}
.mg-head p{color:#a8bbd6;font-size:11px;margin:4px 0}
.mg-kicker{display:block;color:#9cacf1;font-size:9px;letter-spacing:1.5px;font-weight:900;margin-bottom:6px}
.mg-energy{min-width:220px;border:1px solid #544b75;background:linear-gradient(100deg,#262344,#17243e);border-radius:13px;padding:10px 12px;min-height:70px}
.mg-energy>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px}
.mg-energy small{color:#c5b7ec;font-size:10px;white-space:nowrap}
.mg-energy-track{height:6px;background:#0c1525;border-radius:30px;overflow:hidden;margin:9px 0 4px}
.mg-energy-track i{display:block;height:100%;background:linear-gradient(90deg,#7f5deb,#b48bff);border-radius:30px;transition:width .25s}
.mg-info{font-size:10px;color:#9caac4}
.mg-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;align-items:start;gap:11px}
.mg-main,.mg-sidebar{min-width:0;display:flex;flex-direction:column;gap:10px}
.mg-card,.mg-map-card{background:linear-gradient(160deg,#17243c,#141c2f);border:1px solid #354561;box-shadow:0 10px 30px #00000022;border-radius:13px;overflow:hidden}
.mg-card{padding:13px!important}
.mg-map-card{padding:0}
.mg-map-toolbar{min-height:42px;display:flex;align-items:center;gap:6px;padding:7px 10px;background:#18253c;border-bottom:1px solid #33425b}
.mg-map-toolbar strong{font-size:10px;letter-spacing:1.3px}
.mg-map-toolbar>span{margin-right:auto;color:#a5b6d4;font-size:10px}
.mg-map-toolbar button{height:29px;background:#273650;border:1px solid #435370;color:#f0f4ff;border-radius:7px;padding:3px 9px;font-size:11px;font-weight:750;white-space:nowrap}
.mg-map-toolbar button:hover{background:#43577e}
.mg-map-shell{aspect-ratio:2.05;min-height:350px;max-height:67vh;background:#071629;overflow:hidden;position:relative;user-select:none;touch-action:none}
.mg-map-shell svg{width:100%;height:100%;display:block;cursor:grab;touch-action:none}
.mg-map-shell svg:active{cursor:grabbing}
.mg-territory{stroke:#61829a;stroke-width:.30px;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .12s ease;paint-order:stroke}
.mg-territory:hover{fill:#8199ac!important;stroke:#f8d37f;stroke-width:1.7px}
.mg-territory.mg-selected{stroke:#ffe17b;stroke-width:2.4px;filter:drop-shadow(0 0 3px #e9c466cc)}
.mg-territory.mg-mine:not(.mg-selected){stroke:#e8f3ff;stroke-width:.55px}
.mg-map-footer{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:8px 11px;font-size:10px;color:#a7b7cf}
.mg-map-footer>span:last-child{margin-left:auto}
.mg-legend-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:4px}
.mg-blue{background:#314058}.mg-purple{background:#9368f7}
.mg-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:7px}
.mg-section-title strong{font-size:12px}.mg-section-title small{font-size:10px;color:#9aacc7}
.mg-hint,.mg-guide p{color:#9eafc9;font-size:10px;line-height:1.6;margin:5px 0 8px}
.mg-deck{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:11px 0}
.mg-deck-slot{display:flex;align-items:center;gap:5px;background:#1f2d46;border:1px solid #3b4d6d;border-radius:9px;padding:5px;min-width:0}
.mg-deck-slot span{font-weight:900;color:#c7acff;font-size:12px;min-width:17px;text-align:center}
.mg-deck-slot select{background:transparent;border:0;outline:0;color:#edf0ff;min-width:0;width:100%;font-size:11px;padding:4px}
.mg-deck-slot select option{background:#1d2940;color:#fff}
.mg-deck-slot img{width:17px;height:17px;object-fit:contain;flex:0 0 17px}
.mg-save{padding:7px 13px!important;color:#e7dafc;background:#3a3165;border:1px solid #7566b4;border-radius:8px;font-weight:800;font-size:11px}
.mg-save:hover{background:#52428b}
.mg-zone-head{display:flex;flex-direction:column;gap:5px;margin-bottom:10px}
.mg-zone-head h2{font-size:20px;line-height:1.1;margin:0;letter-spacing:-.5px}
.mg-zone-ownership{font-size:11px;display:flex;align-items:center;gap:5px;color:#d6dff6}
.mg-owner-dot{display:inline-block;width:9px;height:9px;border-radius:50%;flex-shrink:0}
.mg-free{color:#a7bfd0}
.mg-zone-stats{display:flex;gap:6px;flex-wrap:wrap;margin:9px 0}
.mg-zone-stats span{font-size:10px;color:#cddaf1;padding:6px 8px;border:1px solid #3a4a6a;border-radius:7px;background:#202e48}
.mg-neighbor{color:#a4b4d0;font-size:10px;line-height:1.45;margin-bottom:13px}
.mg-form-label{display:flex;flex-direction:column;gap:5px;font-size:10px;color:#b1bbd5;margin-bottom:10px}
.mg-form-label select,.mg-form-label input{width:100%;border:1px solid #435579;color:#eaf2ff;background:#1b2a46;border-radius:8px;padding:8px;min-height:33px;outline-color:#a787ff;font-size:11px}
.mg-form-label option{background:#1b2a46}
.mg-claim,.mg-action-button,.mg-attack{width:100%;border-radius:9px;border:1px solid #9674fc;background:linear-gradient(120deg,#8155e3,#6548c3);padding:9px 11px;color:#fff;font-size:11px;font-weight:850;min-height:35px}
.mg-action-button{background:#243753;border-color:#506889}
.mg-attack{background:linear-gradient(120deg,#e05d67,#b74766);border-color:#f47d81}
.mg-claim:hover,.mg-action-button:hover,.mg-attack:hover{filter:brightness(1.15)}
.mg-divider{height:1px;background:#394663;margin:13px 0}
.mg-leader{display:flex;align-items:center;gap:8px;padding:7px 0;border-bottom:1px solid #334258}
.mg-leader:last-child{border:0}
.mg-leader i{width:9px;height:9px;border-radius:50%;flex:0 0 9px}
.mg-leader span{flex:1;min-width:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mg-leader b{font-size:13px;font-variant-numeric:tabular-nums}
.mg-event{font-size:11px;color:#bdc9e5;line-height:1.5;padding:7px 0;border-bottom:1px solid #34425a;margin:0}
.mg-event:last-child{border:0}
.mg-empty,.mg-loading{font-size:12px;color:#aec4dd;padding:20px;text-align:center}
.mg-guide strong{font-size:12px}
.mg-combat-dialog{max-width:720px;padding:12px}
.mg-combat-dialog h2{font-size:23px}
.mg-combat-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0}
.mg-combat-grid>div{background:#1b2940;border:1px solid #425577;border-radius:9px;padding:12px}
.mg-combat-grid p{font-size:12px}
@media(max-width:1170px){.mg-layout{grid-template-columns:minmax(0,1fr) 285px}.mg-deck{grid-template-columns:repeat(2,minmax(0,1fr))}.mg-map-shell{min-height:290px}}
@media(max-width:860px){.mg-layout{grid-template-columns:1fr}.mg-sidebar{display:grid;grid-template-columns:1fr 1fr}.mg-sidebar>.mg-zone-head{grid-column:1/-1}.mg-sidebar>.mg-card:first-child{grid-column:1/-1}.mg-head{align-items:flex-start}.mg-map-shell{min-height:280px}}
@media(max-width:600px){.mg-head{flex-direction:column;align-items:stretch;gap:7px}.mg-energy{width:100%;min-height:54px}.mg-layout{gap:9px}.mg-map-toolbar{gap:3px;flex-wrap:wrap}.mg-map-toolbar>span{font-size:8px}.mg-map-toolbar button{padding:3px 6px;font-size:10px}.mg-map-shell{min-height:230px;aspect-ratio:1.55;max-height:420px}.mg-map-footer>span:last-child{margin:0}.mg-sidebar{display:flex}.mg-deck{grid-template-columns:repeat(2,minmax(0,1fr))}.mg-deck-slot select{font-size:10px}.mg-combat-grid{grid-template-columns:1fr}}

.mg-rarity-quick{font-size:11px;line-height:20px;font-weight:950;text-align:center;flex:0 0 20px;height:20px;border:1px solid #72739a;border-radius:5px;color:#d0d6ef;background:#29334c}
.mg-rarity-quick[data-rarity="UNCOMMON"]{color:#53e6a5}
.mg-rarity-quick[data-rarity="RARE"]{color:#75b7ff}
.mg-rarity-quick[data-rarity="EPIC"]{color:#fd9b58}
.mg-rarity-quick[data-rarity="LEGENDARY"]{color:#f0d16a}
.mg-rarity-quick[data-rarity="MYTHICAL"]{color:#bc91ff}
.mg-rarity-quick[data-rarity="OMEGA"]{color:#ff7777}
@media(max-width:860px){
 .mg-layout{display:flex;flex-direction:column}
 .mg-main,.mg-sidebar{display:contents}
 .mg-map-card{order:0;width:100%}
 .mg-sidebar>.mg-card:first-child{order:1;width:100%}
 .mg-main>.mg-card{order:2;width:100%}
 .mg-sidebar>.mg-card:not(:first-child){order:3;width:100%}
}

/* NONONO V9: statistiques des territoires et déplacement lisible */
.mg-strength{border:1px solid #536184;background:linear-gradient(150deg,#25324e,#192440);border-radius:11px;padding:11px;margin:10px 0 12px}
.mg-strength-main{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px;color:#f8e6a3}
.mg-strength-main strong{font-size:14px;font-variant-numeric:tabular-nums}
.mg-strength-main span{background:#3b365e;color:#d8bdfb;border:1px solid #7369a4;padding:3px 7px;border-radius:7px;font-size:10px;font-weight:850;white-space:nowrap}
.mg-strength-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.mg-strength-item{background:#16233a;border:1px solid #3b5070;border-radius:8px;padding:7px 8px;display:flex;flex-direction:column;gap:2px;min-width:0}
.mg-strength-item span{color:#abbfe0;font-size:10px;white-space:nowrap}
.mg-strength-item b{color:#eef4ff;font-size:14px;font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis}
.mg-units{margin-top:10px;border-top:1px solid #405274;padding-top:7px;font-size:11px}
.mg-units summary{cursor:pointer;color:#d7ddfb;font-weight:700;list-style:inside}
.mg-unit-list{max-height:210px;overflow:auto;display:grid;gap:5px;margin-top:9px}
.mg-unit-list>span{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:6px;background:#1a2943;border-radius:6px}
.mg-unit-list>span b{font-size:10px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mg-unit-list>span small{font-size:9px;color:#a7b6d2;white-space:nowrap}
.mg-strength-empty{border:1px dashed #4b5873;background:#162137;padding:9px;border-radius:9px;color:#adbad2;font-size:11px;margin:8px 0 12px}
.mg-form-label select option{padding:6px}
.mg-map-toolbar button:focus-visible,.mg-deck-slot select:focus-visible,.mg-form-label select:focus-visible{outline:2px solid #b79aff;outline-offset:2px}
@media(max-width:460px){.mg-strength-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V10 — petits territoires, propriétaires visibles, ordres tactiques */
.mg-territory{stroke:#7592aa;stroke-width:.23px;vector-effect:non-scaling-stroke}
.mg-territory.mg-route-source{stroke:#80f6ba;stroke-width:2px;filter:drop-shadow(0 0 4px #3af6a755)}
.mg-owner-labels{opacity:0;pointer-events:none;transition:opacity .2s ease}
#mg-world.mg-show-owner-labels .mg-owner-labels{opacity:1}
.mg-owner-name{fill:#fff5cd;paint-order:stroke;stroke:#081b2d;stroke-linejoin:round;stroke-width:.5;pointer-events:none;font-weight:800;text-shadow:0 0 2px #000;letter-spacing:.05px}
.mg-zone-head{gap:7px}
.mg-zone-ownership{border:1px solid #4d6685;background:#263655;padding:7px 9px;border-radius:9px;align-self:flex-start}
.mg-source-button{width:100%;padding:9px 10px;margin:6px 0 10px;border-radius:9px;background:#283957;border:1px solid #536c91;color:#e9f2ff;font-weight:750;font-size:11px}
.mg-source-active{background:#214c4d!important;border-color:#4fbaa0!important;color:#c9ffec!important}
.mg-source-button:hover{filter:brightness(1.2)}
.mg-troop-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;max-height:300px;overflow-y:auto;padding:3px;margin:8px 0}
.mg-troop-row{display:flex;align-items:center;gap:6px;min-width:0;padding:8px 6px;background:#202e48;border:1px solid #495b79;border-radius:8px;cursor:pointer}
.mg-troop-row:has(input:checked){border-color:#b59aff;background:#302e58}
.mg-troop-row input{width:16px;height:16px;min-width:16px;accent-color:#966cf3;cursor:pointer}
.mg-troop-row>span{display:flex;flex-direction:column;gap:2px;min-width:0}
.mg-troop-row b{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mg-troop-row small{font-size:9px;color:#b6c7df;line-height:1.3}
.mg-plan{margin:9px 0;padding:9px 8px;background:#17253d;border:1px solid #51658d;border-radius:11px}
.mg-plan-preview{padding:10px 7px;margin:8px 0;background:#1e2c49;border-radius:8px;border:1px solid #475b7e}
.mg-plan-summary{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:9px;flex-wrap:wrap}
.mg-plan-summary strong{font-size:12px;color:#fff}
.mg-plan-summary span{font-size:10px;color:#ffda82}
.mg-compact-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
.mg-plan-vs{margin-top:9px;border-top:1px solid #526280;padding-top:8px;font-size:10px;color:#c4d9f5;line-height:1.6}
.mg-plan-vs b{color:#fff}
.mg-zone-footnote{font-size:10px;line-height:1.4;color:#a7bbd3;margin-top:12px}
.mg-map-toolbar>span{margin-right:auto;min-width:0}
.mg-map-footer{gap:8px}
@media(max-width:400px){.mg-troop-list{grid-template-columns:1fr}.mg-plan-summary{flex-direction:column;align-items:start}}

/* NONONO V11 : commandes à hauteur de la carte, cartes libres sans défense, plus fluide */
@media(min-width:861px){.mg-layout{grid-template-columns:minmax(0,1fr) 360px!important;align-items:start!important}.mg-sidebar{align-self:start!important}}
.mg-zone-panel{padding:11px!important}
.mg-zone-panel .mg-zone-head{margin:0 0 8px!important;gap:4px!important}
.mg-zone-panel .mg-zone-head h2{font-size:19px!important}
.mg-quick-actions{border:1px solid #7258a8;border-radius:11px;padding:10px;background:linear-gradient(170deg,#293152,#19243c);margin:0 0 10px}
.mg-quick-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:10px}
.mg-quick-heading strong{font-size:12px;color:#f3eaff}
.mg-quick-heading span{font-size:10px;color:#f6df9e;font-weight:850}
.mg-quick-actions .mg-source-button{margin:0 0 7px!important;padding:8px!important}
.mg-quick-actions .mg-form-label{margin-bottom:7px!important}
.mg-quick-actions .mg-plan{margin:5px 0 0!important;padding:9px!important}
.mg-quick-actions .mg-claim,.mg-quick-actions .mg-attack{min-height:39px!important;font-size:12px!important}
.mg-quick-actions .mg-troop-list{max-height:142px!important;gap:4px!important}
.mg-quick-actions .mg-troop-row{padding:6px!important}
.mg-plan-controls{display:flex;gap:6px;margin:7px 0}
.mg-plan-controls button{padding:5px 8px!important;border-radius:7px!important;border:1px solid #7469aa!important;background:#273958!important;color:#e6eaff!important;font-size:10px!important;font-weight:750!important}
.mg-plan-controls button:hover{background:#3f4c74!important}
.mg-troops-details{border-top:1px solid #445273;padding-top:9px}
.mg-troops-details>summary{cursor:pointer;color:#d6d5fc;font-weight:850;font-size:11px;margin:0 0 7px;list-style:inside}
.mg-troops-details .mg-strength{margin:7px 0!important}
.mg-unprotected{font-size:10px;color:#ffd395;background:#563b31;border:1px solid #ac7453;border-radius:8px;padding:7px 8px;line-height:1.45;margin:6px 0}
.mg-territory{transition:none!important;filter:none;stroke-width:.38px}
@media(max-width:860px){.mg-zone-panel{order:1!important}.mg-map-card{order:0!important}}
@media(max-width:600px){.mg-quick-actions{padding:8px}.mg-zone-panel{padding:9px!important}}

/* ===== NONONO V12 — interface tactique en 3 clics ===== */
#minigame-root .mg-head-fast{margin:4px 0 9px;gap:12px}
#minigame-root .mg-head-fast h1{font-size:23px}
#minigame-root .mg-head-fast p{font-size:12px;color:#c6d2eb;margin-top:5px}
#minigame-root .mg-head-fast p b{color:#ddc9ff}
#minigame-root .mg-energy{min-height:54px;padding:7px 10px;width:240px}
#minigame-root .mg-energy-track{margin:4px 0 2px}
#minigame-root .mg-layout-fast{grid-template-columns:minmax(0,1fr) 365px;gap:10px;align-items:start}
#minigame-root .mg-layout-fast .mg-map-shell{aspect-ratio:2.0;min-height:330px;max-height:70vh}
#minigame-root .mg-layout-fast .mg-sidebar{position:sticky;top:68px;max-height:calc(100vh - 80px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;gap:0}
#minigame-root .mg-zone-fast{padding:12px!important}
#minigame-root .mg-zone-fast .mg-zone-head{margin-bottom:7px!important}
#minigame-root .mg-zone-fast .mg-zone-head h2{font-size:20px!important}
#minigame-root .mg-fast-overview{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:7px 0 10px}
#minigame-root .mg-fast-overview span{padding:5px 7px;background:#202f4c;border:1px solid #405879;border-radius:8px;font-size:10px;color:#d8e1f5;white-space:nowrap}
#minigame-root .mg-quick-fast{padding:9px!important;margin:0 0 8px!important;border-color:#785ead!important;background:linear-gradient(170deg,#292d54,#19243b)!important}
#minigame-root .mg-fast-step-title{font-size:12px;margin-bottom:6px;letter-spacing:.15px}
#minigame-root .mg-source-button{min-height:35px;margin:4px 0 9px!important;font-size:11px}
#minigame-root .mg-fast-message{display:grid;gap:5px;font-size:11px;color:#cfdef7;line-height:1.4;background:#1b3b40;border:1px solid #457977;border-radius:9px;padding:9px;margin:5px 0}
#minigame-root .mg-fast-message b{color:#e7fff8}
#minigame-root .mg-fast-message span{color:#b7d2d9}
#minigame-root .mg-step-helper{display:grid;gap:3px;background:#192a45;border:1px solid #465f83;border-radius:9px;padding:7px 9px;font-size:11px;margin:4px 0 8px}
#minigame-root .mg-step-helper span{color:#aab9d8;font-size:10px}
#minigame-root .mg-target-pills{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:8px 0}
#minigame-root .mg-target-pills>span{width:100%;color:#b3c4e7;font-size:10px}
#minigame-root .mg-target-pills button{border:1px solid #5a6390;background:#283956;color:#f3f1ff;padding:6px 7px;border-radius:7px;font-size:10px;max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
#minigame-root .mg-target-pills button:hover{background:#41416e;border-color:#a88fff}
#minigame-root .mg-plan-fast{padding:0!important;margin:5px 0 0!important;background:transparent!important;border:0!important}
#minigame-root .mg-route-line{display:flex;gap:6px;align-items:center;justify-content:space-between;background:#1e2d47;border:1px solid #465b81;border-radius:8px;padding:7px;font-size:11px;color:#f3e7ff;margin:6px 0}
#minigame-root .mg-route-line span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#minigame-root .mg-route-line>b{font-size:17px;color:#a7b6dc}
#minigame-root .mg-fast-count{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:8px 0 7px}
#minigame-root .mg-fast-count>div:first-child{display:grid;gap:2px;min-width:0;font-size:11px}
#minigame-root .mg-fast-count small{font-size:10px;color:#9fb3d3}
#minigame-root .mg-count-controls{display:flex;gap:3px;align-items:center;flex-shrink:0}
#minigame-root .mg-count-controls button{background:#324363;border:1px solid #6276a1;color:#f3f4ff;min-width:28px;height:30px;border-radius:7px;padding:3px 6px;font-size:11px;font-weight:850}
#minigame-root .mg-count-controls output{min-width:22px;text-align:center;font-size:14px;font-weight:900}
#minigame-root .mg-count-controls .mg-count-all{background:#6247a3;border-color:#a18de0;padding:3px 8px}
#minigame-root .mg-advanced-troops{border-top:1px solid #455576;padding-top:7px;margin-top:8px}
#minigame-root .mg-advanced-troops summary,#minigame-root .mg-stat-accordion summary,#minigame-root .mg-optional-action summary,#minigame-root .mg-choose-source summary{cursor:pointer;font-size:11px;color:#bfccf1;list-style:inside;padding:4px 0}
#minigame-root .mg-advanced-troops .mg-troop-list{max-height:130px!important;margin:5px 0}
#minigame-root .mg-advanced-troops .mg-troop-row{padding:5px!important}
#minigame-root .mg-fast-preview{padding:6px 8px!important;margin:7px 0!important}
#minigame-root .mg-fast-numbers{display:flex;gap:5px;flex-wrap:wrap;align-items:center}
#minigame-root .mg-fast-numbers span{font-size:10px;background:#15233b;color:#bdccec;border:1px solid #3e5578;border-radius:7px;padding:6px 7px;white-space:nowrap}
#minigame-root .mg-fast-numbers strong{color:#fff;font-size:12px}
#minigame-root .mg-stat-accordion{margin-top:5px}
#minigame-root .mg-stat-accordion .mg-strength-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin:7px 0 4px}
#minigame-root .mg-stat-accordion .mg-strength-item{padding:5px 3px;text-align:center;gap:2px}
#minigame-root .mg-stat-accordion .mg-strength-item span{font-size:8px}
#minigame-root .mg-stat-accordion .mg-strength-item b{font-size:12px}
#minigame-root .mg-confirm-fast{min-height:39px!important;font-size:13px!important;font-weight:850!important;margin-top:5px}
#minigame-root .mg-stats-fold{border-top:1px solid #334562;padding:7px 0 0}
#minigame-root .mg-stats-fold>summary{font-size:11px!important;margin-bottom:3px}
#minigame-root .mg-stats-fold .mg-strength{padding:8px}
#minigame-root .mg-stats-fold .mg-strength-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
#minigame-root .mg-stats-fold .mg-strength-item{padding:5px 3px;text-align:center}
#minigame-root .mg-stats-fold .mg-strength-item span{font-size:8px}
#minigame-root .mg-stats-fold .mg-strength-item b{font-size:12px}
#minigame-root .mg-optional-action,.mg-choose-source{border-top:1px solid #435170;padding-top:6px;margin-top:7px}
#minigame-root .mg-optional-action .mg-form-label{margin-top:6px;margin-bottom:6px}
#minigame-root .mg-fold-card{background:#18253d;border:1px solid #3b4e6c;border-radius:11px;margin:0;padding:0!important;overflow:hidden}
#minigame-root .mg-fold-card>summary{list-style:inside;cursor:pointer;padding:12px 13px;font-weight:850;font-size:12px;color:#ece6ff}
#minigame-root .mg-fold-card>summary small{font-weight:500;font-size:10px;color:#a4b8d6;margin-left:8px}
#minigame-root .mg-fold-card>.mg-card{margin:0 10px 10px;box-shadow:none;border-color:#35486a}
#minigame-root .mg-guide{display:none}
#minigame-root .mg-error-energy{font-size:11px;color:#ffd39c;margin:6px 0}
@media(max-width:1050px){#minigame-root .mg-layout-fast{grid-template-columns:minmax(0,1fr) 325px}#minigame-root .mg-map-toolbar{flex-wrap:wrap}}
@media(max-width:860px){#minigame-root .mg-layout-fast{display:flex;flex-direction:column}#minigame-root .mg-layout-fast .mg-main,#minigame-root .mg-layout-fast .mg-sidebar{display:contents}#minigame-root .mg-layout-fast .mg-map-card{order:0;width:100%}#minigame-root .mg-layout-fast .mg-zone-fast{order:1;width:100%}#minigame-root .mg-layout-fast .mg-fold-card{order:2;width:100%}#minigame-root .mg-layout-fast .mg-sidebar{max-height:none;position:static;overflow:visible}#minigame-root .mg-head-fast{flex-direction:column;align-items:stretch}#minigame-root .mg-energy{width:100%}#minigame-root .mg-layout-fast .mg-map-shell{min-height:260px;max-height:50vh}}
@media(max-width:420px){#minigame-root .mg-fast-count{flex-direction:column;align-items:flex-start}#minigame-root .mg-count-controls{width:100%}#minigame-root .mg-count-controls .mg-count-all{margin-left:auto}#minigame-root .mg-fast-overview{gap:3px}}

#minigame-root .mg-preview-statline .mg-strength-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;margin:6px 0 1px}
#minigame-root .mg-preview-statline .mg-strength-item{padding:5px 2px;text-align:center;gap:1px}
#minigame-root .mg-preview-statline .mg-strength-item span{font-size:8px}
#minigame-root .mg-preview-statline .mg-strength-item b{font-size:12px}

/* === NONONO V13 : carte réelle plein écran, interface tactique intégrée === */
#page:has(#minigame-root){padding:0!important;margin:0!important;max-width:none!important;width:100%!important;overflow:hidden!important}
body:has(#minigame-root){overflow:hidden!important}
body:has(#minigame-root) .content-shell{height:auto!important;max-width:none!important}
#minigame-root{width:100%!important;max-width:none!important;margin:0!important;overflow:hidden!important}
#minigame-root .mg-playfield{position:relative!important;display:block!important;width:100%!important;height:calc(100dvh - var(--mg-header-height,61px))!important;min-height:520px!important;background:#0a2031!important;isolation:isolate;overflow:hidden!important}
#minigame-root .mg-map-screen{position:absolute!important;inset:0!important;overflow:hidden!important;background:radial-gradient(ellipse at 55% 40%,#1b4951 0%,#103348 47%,#071521 100%)!important;touch-action:none;}
#minigame-root .mg-map-screen::after{content:'';position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 110px #06101c88,inset 0 0 18px #0007}
#minigame-root #mg-world{height:100%!important;width:100%!important;display:block!important;cursor:grab!important;touch-action:none!important;user-select:none!important}
#minigame-root #mg-world:active{cursor:grabbing!important}
#minigame-root .mg-territory{stroke:#7896a8;stroke-width:.4px;transition:fill .15s ease;}
#minigame-root .mg-territory:hover{fill:#9ba5ad!important;stroke:#fff3bd!important;stroke-width:1.3px!important}
#minigame-root .mg-territory.mg-selected{stroke:#ffe6a0!important;stroke-width:2.8px!important;filter:drop-shadow(0 0 5px #efb956a8)}
#minigame-root .mg-territory.mg-route-source{stroke:#a8f7df!important;stroke-width:1.7px!important}
#minigame-root .mg-dynamic-route{display:none;stroke:#ffdb84;stroke-width:2px;stroke-dasharray:6 3;vector-effect:non-scaling-stroke;pointer-events:none;filter:drop-shadow(0 0 2px #e69a49)}
#minigame-root .mg-dynamic-route.mg-route-visible{display:block}
#minigame-root .mg-float-top-left,#minigame-root .mg-float-top-right,#minigame-root .mg-map-legend,#minigame-root .mg-map-dock,#minigame-root .mg-zone-anchor{position:absolute!important;z-index:4!important}
#minigame-root .mg-float-top-left{left:16px;top:15px;display:grid;gap:4px;pointer-events:none;border:1px solid #667e9a8a;background:linear-gradient(125deg,#122036df,#101a2bc9);border-radius:12px;padding:11px 16px;box-shadow:0 6px 28px #02091891;backdrop-filter:blur(8px)}
#minigame-root .mg-map-game-name{font-size:14px;letter-spacing:1.5px;color:#f5dfa2;font-weight:900}
#minigame-root .mg-float-top-left b{font-size:12px;color:#f4f6ff}
#minigame-root .mg-map-hint{font-size:10px;color:#a8bcd2;max-width:330px}
#minigame-root .mg-float-top-right{top:14px;right:15px;display:flex;align-items:flex-start;gap:10px}
#minigame-root .mg-float-energy{min-width:142px;border:1px solid #b68a4f8c;background:#171f33e9;padding:8px 11px;border-radius:11px;box-shadow:0 6px 24px #0008;backdrop-filter:blur(8px)}
#minigame-root .mg-float-energy>span{font-size:13px;color:#ffda87;white-space:nowrap}
#minigame-root .mg-float-energy small{display:block;color:#abb7c9;font-size:9px;margin:2px 0}
#minigame-root .mg-float-energy .mg-energy-track{height:5px;margin:4px 0 0;background:#0a1827}
#minigame-root .mg-float-energy .mg-energy-track i{background:linear-gradient(90deg,#b379e1,#e7b26e)}
#minigame-root .mg-zoom-controls{display:flex;align-items:center;gap:3px;background:#111d31e5;padding:5px;border-radius:10px;border:1px solid #52657c;backdrop-filter:blur(9px);box-shadow:0 5px 20px #0008}
#minigame-root .mg-zoom-controls button{background:#203651;color:#f7f2e9;border:1px solid #4c6179;border-radius:7px;min-width:31px;height:31px;padding:2px 7px;font-size:11px;white-space:nowrap}
#minigame-root .mg-zoom-controls button:hover{background:#385270}
#minigame-root .mg-map-legend{left:16px;bottom:16px;display:flex;gap:10px;align-items:center;max-width:390px;border:1px solid #586c7b9e;background:#111f32dd;color:#d7e0ed;padding:8px 12px;border-radius:9px;font-size:10px;backdrop-filter:blur(10px)}
#minigame-root .mg-map-legend span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#minigame-root .mg-map-dock{bottom:15px;left:50%;transform:translateX(-50%);display:flex;gap:4px;padding:6px 7px;border:1px solid #a38a5878;border-radius:13px;background:linear-gradient(130deg,#141e2af0,#111826f0);box-shadow:0 10px 32px #020712e0,0 0 0 1px #f6d89014;backdrop-filter:blur(14px);max-width:calc(100% - 30px);overflow-x:auto;scrollbar-width:none}
#minigame-root .mg-map-dock::-webkit-scrollbar{display:none}
#minigame-root .mg-dock-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:67px;min-height:50px;padding:7px 9px;background:transparent;color:#cdd4e4;border:1px solid transparent;border-radius:9px;flex:none}
#minigame-root .mg-dock-button>span{font-size:19px;line-height:1.3}
#minigame-root .mg-dock-button>b{font-size:10px;font-weight:800;white-space:nowrap}
#minigame-root .mg-dock-button:hover{background:#31475e;color:#fff}
#minigame-root .mg-dock-button.mg-dock-active{background:linear-gradient(125deg,#765128,#aa7937);border-color:#efcd8c;color:#fff;box-shadow:inset 0 0 0 1px #fee8b333}
#minigame-root .mg-dock-divider{width:1px;background:#61738a;margin:5px 4px;flex:none}
#minigame-root .mg-zone-anchor{right:15px;top:83px;max-width:min(350px,calc(100% - 25px));min-width:min(350px,calc(100% - 25px));max-height:calc(100% - 183px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#61728e transparent;border-radius:12px;pointer-events:auto}
#minigame-root .mg-fullscreen-panel{padding:12px!important;border:1px solid #7d8ba69c!important;border-radius:12px!important;background:linear-gradient(135deg,#101b2cf2,#1a2238f2)!important;box-shadow:0 12px 36px #000b!important;backdrop-filter:blur(14px)}
#minigame-root .mg-fullscreen-panel .mg-zone-head{flex-direction:row;align-items:flex-start;justify-content:space-between;margin-bottom:5px!important}
#minigame-root .mg-fullscreen-panel .mg-zone-head h2{font-size:18px!important;margin:0 0 5px!important}
#minigame-root .mg-fullscreen-panel .mg-kicker{font-size:8px;letter-spacing:1px;margin-bottom:3px}
#minigame-root .mg-fullscreen-panel .mg-zone-ownership{font-size:10px}
#minigame-root .mg-zone-minimize{border:1px solid #62718d;background:#28354c;color:#edf2fc;border-radius:8px;width:27px;height:27px;flex-shrink:0;font-size:17px}
#minigame-root .mg-open-panel{border:1px solid #a290bc;background:#202644ed;color:#fff;padding:10px 13px;border-radius:10px;box-shadow:0 8px 24px #0009;font-size:12px;font-weight:850}
#minigame-root .mg-full-zone-summary{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:9px 0}
#minigame-root .mg-full-zone-summary span{padding:4px 7px;border:1px solid #526481;background:#1b2944;color:#e4ecfa;font-size:10px;border-radius:7px}
#minigame-root .mg-mini-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;margin:7px 0 9px}
#minigame-root .mg-mini-stats span{min-width:0;display:flex;align-items:center;flex-direction:column;gap:4px;background:#1b2d47;border:1px solid #405775;border-radius:7px;padding:5px 2px}
#minigame-root .mg-mini-stats small{font-size:9px;white-space:nowrap;color:#a9bfda}
#minigame-root .mg-mini-stats b{font-size:13px;white-space:nowrap;color:#faf5eb;font-variant-numeric:tabular-nums}
#minigame-root .mg-panel-primary{max-height:none}
#minigame-root .mg-panel-primary .mg-route-line{margin:5px 0!important;padding:6px 7px!important}
#minigame-root .mg-panel-primary .mg-fast-count{margin:6px 0!important}
#minigame-root .mg-panel-primary .mg-fast-preview{padding:5px!important;margin:4px 0!important}
#minigame-root .mg-panel-primary .mg-preview-statline{display:none}
#minigame-root .mg-panel-primary .mg-confirm-fast{min-height:36px!important;margin:6px 0!important}
#minigame-root .mg-panel-primary .mg-advanced-troops summary{font-size:10px!important}
#minigame-root .mg-panel-primary .mg-advanced-troops .mg-troop-list{max-height:100px!important}
#minigame-root .mg-fullscreen-panel .mg-inline-details{border-top:1px solid #384b6c;margin-top:8px;padding-top:8px}
#minigame-root .mg-fullscreen-panel .mg-inline-details summary{cursor:pointer;font-size:10px;color:#aebee0}
#minigame-root .mg-fullscreen-panel .mg-strength{padding:8px 0!important}
#minigame-root .mg-fullscreen-panel .mg-strength-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}
#minigame-root .mg-fullscreen-panel .mg-strength-item{padding:4px 2px;text-align:center}
#minigame-root .mg-fullscreen-panel .mg-strength-item span{font-size:8px}
#minigame-root .mg-fullscreen-panel .mg-strength-item b{font-size:11px}
#minigame-root .mg-help-inset{background:#222f44;border:1px solid #4d617e;border-radius:8px;padding:8px 10px;font-size:11px;line-height:1.4;margin:7px 0;color:#e0e7f9}
#minigame-root .mg-target-mini{display:flex;gap:5px;flex-wrap:wrap;margin:6px 0}
#minigame-root .mg-target-mini button{padding:5px 7px;border:1px solid #536b8c;background:#263952;color:#fff;border-radius:7px;font-size:10px;max-width:100%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
#minigame-root .mg-source-button{margin:5px 0!important;min-height:32px!important}
#minigame-root .mg-form-label{margin:7px 0!important}
#minigame-root .mg-defense-details{margin-top:10px!important}
#minigame-root .mg-side-backdrop{position:absolute;inset:0;z-index:10;background:#0008;backdrop-filter:blur(2px)}
#minigame-root .mg-side-sheet{position:absolute;z-index:11;top:12px;bottom:12px;right:12px;width:min(480px,calc(100% - 24px));background:#121d31f8;border:1px solid #67778f;border-radius:13px;padding:20px 12px 15px;box-shadow:0 15px 50px #000c;overflow-y:auto}
#minigame-root .mg-sheet-close{position:sticky;top:0;float:right;background:#32415d;color:#fff;border:1px solid #758ba7;border-radius:8px;width:28px;height:28px;z-index:12;font-size:20px}
#minigame-root .mg-side-sheet .mg-card{margin:10px 0!important}
#minigame-root .mg-side-sheet .mg-deck{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1040px){
 #minigame-root .mg-float-top-left{top:12px;left:10px;padding:8px 11px;max-width:205px}
 #minigame-root .mg-map-hint{display:none}
 #minigame-root .mg-float-top-right{right:10px;top:12px;flex-direction:column;align-items:flex-end;gap:5px}
 #minigame-root .mg-zone-anchor{top:100px;right:10px;max-height:calc(100% - 205px)}
 #minigame-root .mg-map-legend{display:none}
}
@media(max-width:700px){
 #minigame-root .mg-playfield{height:calc(100dvh - var(--mg-header-height,98px))!important;min-height:390px!important}
 #minigame-root .mg-float-top-left{top:8px;left:8px;padding:7px 8px;max-width:145px}
 #minigame-root .mg-map-game-name{font-size:10px;letter-spacing:0.3px}
 #minigame-root .mg-float-top-left b{font-size:9px}
 #minigame-root .mg-float-top-right{top:7px;right:7px;gap:4px}
 #minigame-root .mg-float-energy{min-width:120px;padding:5px 7px}
 #minigame-root .mg-float-energy>span{font-size:11px}
 #minigame-root .mg-float-energy small{font-size:8px}
 #minigame-root .mg-zoom-controls{gap:1px;padding:3px}
 #minigame-root .mg-zoom-controls button{font-size:9px;height:27px;min-width:25px;padding:3px 4px}
 #minigame-root .mg-map-dock{bottom:6px;width:calc(100% - 12px);padding:4px;gap:2px;justify-content:flex-start;border-radius:9px}
 #minigame-root .mg-dock-button{min-width:62px;min-height:44px;padding:4px 6px}
 #minigame-root .mg-dock-button>span{font-size:15px}
 #minigame-root .mg-dock-button>b{font-size:9px}
 #minigame-root .mg-zone-anchor{top:auto;left:6px;right:6px;bottom:62px;max-width:none;min-width:0;max-height:min(51dvh,350px);border-radius:10px}
 #minigame-root .mg-fullscreen-panel{padding:9px!important}
 #minigame-root .mg-fullscreen-panel .mg-mini-stats{margin:4px 0}
 #minigame-root .mg-fullscreen-panel .mg-mini-stats span{padding:3px 1px}
 #minigame-root .mg-fullscreen-panel .mg-mini-stats b{font-size:11px}
 #minigame-root .mg-fullscreen-panel .mg-help-inset{font-size:10px}
 #minigame-root .mg-zone-anchor:has(.mg-fullscreen-panel) {box-shadow:0 12px 30px #000c}
}
@media(prefers-reduced-motion:reduce){#minigame-root .mg-map-dock,#minigame-root .mg-territory{transition:none!important}}

/* ===== NONONO CONQUÊTE V14 : nouvelle identité mondiale, carte tactique raffinée ===== */
#minigame-root{--mg-bg:#101528;--mg-border:#574776;--mg-purple:#b57aff;color:#f0eeff}
#minigame-root .mg-playfield{background:radial-gradient(ellipse at 28% 40%,#172b45,#0a192f 68%,#080f21)!important}
#minigame-root .mg-map-screen::before{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(ellipse at 50% 50%,transparent 50%,#050b2030 100%)}
#minigame-root .mg-territory{stroke:#8599bc!important;stroke-opacity:.48;stroke-width:.75px!important;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .12s,stroke .12s;stroke-linejoin:round}
#minigame-root .mg-territory:hover{stroke:#f9deaa!important;stroke-opacity:1;stroke-width:1.6px!important;fill:#68799c!important;filter:brightness(1.2)}
#minigame-root .mg-territory.mg-mine{stroke:#c1e876!important;stroke-width:1px!important;stroke-opacity:.85}
#minigame-root .mg-territory.mg-rival{stroke:#cd8aff!important;stroke-width:.85px!important;stroke-opacity:.8}
#minigame-root .mg-territory.mg-selected{stroke:#ffe69b!important;stroke-width:2.8px!important;filter:drop-shadow(0 0 4px #f9d084) drop-shadow(0 0 3px #f9cc80)!important;stroke-opacity:1}
#minigame-root .mg-territory.mg-route-source:not(.mg-selected){stroke:#d8c8ff!important;stroke-width:2px!important;filter:drop-shadow(0 0 3px #b39aff)}
#minigame-root .mg-world-country{fill:#c4c7e9;stroke:#101e35;paint-order:stroke;text-anchor:middle;font-weight:900;letter-spacing:.8px;text-transform:uppercase;pointer-events:none;opacity:.78}
#minigame-root .mg-province-text{fill:#f4f0ff;stroke:#101c35;paint-order:stroke;text-anchor:middle;font-weight:800;pointer-events:none;opacity:.96}
#minigame-root .mg-province-mine{fill:#fff7cf}
#minigame-root .mg-army-pin{pointer-events:none}
#minigame-root .mg-army-pin text{fill:#fff4d8;font-weight:850;paint-order:stroke;stroke:#050e1a;stroke-width:.25px}
#minigame-root .mg-army-pin rect{filter:drop-shadow(0 0 3px #030611)}
#minigame-root .mg-dynamic-route{stroke:#ffd47c!important;stroke-dasharray:7 4;stroke-width:2.5!important;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 3px #ffbb60)}
#minigame-root .mg-float-top-left{background:linear-gradient(115deg,#1b1834f2,#11182bf0);border:1px solid #9474d2a8;box-shadow:0 8px 30px #020719b5,inset 0 0 0 1px #e6baff10;border-radius:14px;padding:14px 17px;gap:6px}
#minigame-root .mg-map-game-name{color:#f6dca4;font-size:16px;letter-spacing:1.3px}
#minigame-root .mg-float-top-left b{font-size:12px}
#minigame-root .mg-float-top-center{position:absolute;top:15px;left:49%;transform:translateX(-50%);z-index:4;display:flex;align-items:center;gap:7px;border-radius:12px;background:#1a1b38e8;border:1px solid #845fbcab;padding:6px 8px;box-shadow:0 6px 18px #0008;backdrop-filter:blur(12px)}
#minigame-root .mg-float-top-center label{font-size:11px;color:#d3c7fa;white-space:nowrap;font-weight:800}
#minigame-root .mg-float-top-center select{color:#fff;background:#25254b;border:1px solid #725b9d;border-radius:8px;padding:5px 8px;max-width:180px;min-width:130px;font-size:11px;cursor:pointer}
#minigame-root .mg-float-top-center option{color:#f1e8ff;background:#1a223b}
#minigame-root .mg-float-energy{border-color:#c59a65b0!important;border-radius:12px!important;background:linear-gradient(140deg,#26203bdc,#151d31e8)!important}
#minigame-root .mg-float-energy .mg-energy-track i{background:linear-gradient(90deg,#a566e9,#efc179)!important}
#minigame-root .mg-zoom-controls{border-color:#825db1!important;background:#181b32eb!important;border-radius:11px!important}
#minigame-root .mg-zoom-controls button{background:#2a2d50!important;border-color:#5e4d8e!important}
#minigame-root .mg-zoom-controls button:hover{background:#54437c!important}
#minigame-root .mg-map-dock{background:linear-gradient(135deg,#1d1536f5,#101429f0)!important;border:1px solid #b37effa6!important;border-radius:18px!important;box-shadow:0 0 20px #af6aff55,0 12px 32px #010316e0!important;padding:7px 9px!important}
#minigame-root .mg-dock-button{min-width:77px!important;min-height:57px!important;border-radius:10px!important}
#minigame-root .mg-dock-button>span{font-size:21px!important}
#minigame-root .mg-dock-button.mg-dock-active{background:linear-gradient(155deg,#6e449a,#4e327b)!important;border-color:#daacff!important;box-shadow:inset 0 0 0 1px #fcceff1b,0 0 13px #a975ff6c!important}
#minigame-root .mg-zone-anchor{width:min(355px,calc(100% - 25px))!important;max-width:min(355px,calc(100% - 25px))!important}
#minigame-root .mg-fullscreen-panel{border-color:#a47bdfab!important;border-radius:15px!important;background:linear-gradient(155deg,#211c3cf5,#111a30f5)!important;box-shadow:0 10px 34px #000b,0 0 0 1px #d7adff18!important;padding:13px!important}
#minigame-root .mg-fullscreen-panel .mg-zone-head h2{font-size:23px!important;letter-spacing:-.4px}
#minigame-root .mg-full-zone-summary span,#minigame-root .mg-mini-stats span{background:#23284c!important;border-color:#5b568e!important}
#minigame-root .mg-mini-stats b{color:#fff7d9!important}
#minigame-root .mg-help-inset{background:#202b4d!important;border-color:#5f6194!important}
#minigame-root .mg-plan-fast .mg-route-line{background:#22294c!important;border-color:#7560ae!important}
#minigame-root .mg-claim,#minigame-root .mg-confirm-fast{background:linear-gradient(110deg,#9954e5,#6740ca)!important;border-color:#cf9eff!important;font-weight:900!important}
#minigame-root .mg-map-legend{background:#151b35dc!important;border-color:#a178d0a6!important}
#minigame-root .mg-own{background:#9ac74e}
#minigame-root .mg-purple{background:#a875e5}
#minigame-root .mg-blue{background:#31425b}
#minigame-root .mg-side-sheet{background:linear-gradient(155deg,#221c3f,#12192c)!important;border-color:#9468c3!important}
@media(max-width:1350px){#minigame-root .mg-float-top-center{top:110px;left:15px;transform:none}#minigame-root .mg-float-top-left{max-width:230px}}
@media(max-width:900px){#minigame-root .mg-float-top-center{top:94px;left:10px;padding:4px 6px}#minigame-root .mg-float-top-center label{display:none}#minigame-root .mg-float-top-center select{min-width:115px;max-width:140px}#minigame-root .mg-zone-anchor{max-height:calc(100% - 198px)!important}}
@media(max-width:700px){#minigame-root .mg-float-top-center{top:60px;left:8px}#minigame-root .mg-float-top-center select{font-size:10px}#minigame-root .mg-zone-anchor{max-height:min(48dvh,370px)!important;bottom:65px!important;max-width:calc(100% - 12px)!important;width:calc(100% - 12px)!important}#minigame-root .mg-float-top-left{padding:8px 10px;max-width:160px}#minigame-root .mg-map-game-name{font-size:10px}#minigame-root .mg-dock-button{min-width:65px!important;min-height:45px!important}#minigame-root .mg-dock-button>span{font-size:16px!important}}

/* NONONO V15 — actions réellement guidées et visibles. */
.mg-action-mode{display:grid;gap:9px;background:linear-gradient(150deg,#1b2d49,#202341);border:1px solid #7763ac;border-radius:12px;padding:12px;margin:8px 0}
.mg-action-title{font-weight:900;color:#ffe1a2;font-size:13px;letter-spacing:.2px}
.mg-mini-cost{font-weight:850;color:#f8c96c;font-size:12px}
.mg-action-mode p{font-size:11px;line-height:1.5;margin:0}
.mg-action-mode .mg-form-label{margin:0}
.mg-action-mode .mg-mode-confirm{font-size:13px;min-height:43px}
.mg-target-mini button{min-height:32px!important}
.mg-dock-button[data-mg-mode="split"].mg-dock-active,.mg-dock-button[data-mg-mode="reinforce"].mg-dock-active{box-shadow:inset 0 0 0 1px #edbb73,0 0 14px #dba96b55!important}
.mg-help-inset{line-height:1.5}
