/* DocSpace Minecraft Manager V4 — own visual identity, server panel-inspired layout */
.mc-dialog{color:#eaf1ff;background:#111925;border:1px solid #334458;border-radius:16px;padding:0;width:min(1120px,97vw);max-width:97vw;max-height:96dvh;box-shadow:0 28px 110px #000d;overflow:hidden}
.mc-dialog::backdrop{background:rgba(0,4,11,.83);backdrop-filter:blur(6px)}
.mc-dialog button,.mc-dialog input,.mc-dialog select{font:inherit}
.mc-shell{display:flex;flex-direction:column;height:min(760px,95dvh);min-height:450px;max-height:95dvh;overflow:hidden}
.mc-top{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#263746;padding:14px 20px;border-bottom:1px solid #40576b}
.mc-logo{display:flex;align-items:center;gap:14px}.mc-logo>span{display:grid;place-items:center;width:48px;height:48px;border-radius:10px;background:#152c33;border:1px solid #4f827c;font-size:29px}
.mc-logo small{font-size:10px;letter-spacing:.1em;color:#b2cadb;font-weight:800}.mc-logo h2{font-size:23px;line-height:1.2;margin:4px 0 0;font-weight:800}.mc-logo em{font-size:15px;color:#72d9b9;font-weight:500;font-style:normal}
.mc-top-right{display:flex;align-items:center;gap:14px}#mc-top-state{font-size:11px;white-space:nowrap;color:#f0adac;font-weight:800}#mc-top-state[data-online='1']{color:#81e1a6}
#mc-close{color:#e5eefb;border:1px solid #647a8c;background:#192a38;cursor:pointer;border-radius:9px;width:38px;height:38px;font-size:27px}
.mc-workspace{display:flex;flex:1;min-height:0;background:#e8ecf1;color:#283849}
.mc-sidebar{width:207px;flex-shrink:0;background:#243340;color:#dce8f2;border-right:1px solid #475464;display:flex;flex-direction:column;min-height:0;overflow-y:auto}
.mc-side-label{font-size:10px;font-weight:800;letter-spacing:.1em;color:#a3b4c5;margin:19px 16px 10px}
#mc-menu{display:flex;flex-direction:column;padding:0 7px;gap:3px}#mc-menu button{display:flex;align-items:center;gap:12px;text-align:left;min-height:42px;border-radius:7px;border:0;background:transparent;color:#e3ecf5;font-size:13px;cursor:pointer;padding:9px 11px}
#mc-menu button.selected{background:#178b7c;color:#fff;font-weight:800}#mc-menu button:hover:not(.selected){background:#354a59}
#mc-menu button small{margin-left:auto;background:#455a6b;color:#fff;font-size:10px;padding:2px 5px;border-radius:3px}.mc-icon{font-size:18px;width:23px;text-align:center}
.mc-side-foot{margin:auto 12px 14px;display:flex;flex-direction:column;border-top:1px solid #526272;padding-top:13px;gap:4px;font-size:11px}.mc-side-foot span{font-weight:800;color:#8bbaa8;letter-spacing:.1em}.mc-side-foot strong{font-size:12px}.mc-side-foot small{font-size:10px;color:#aeb9c5}
.mc-page{display:flex;min-width:0;flex:1;flex-direction:column;overflow-y:auto;padding:0 22px 20px}
.mc-page-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:23px 1px 15px}.mc-page-head small{font-size:11px;color:#788a99}.mc-page-head h3{font-size:25px;letter-spacing:-.035em;margin:3px 0;color:#213443}.mc-owner{background:#d8e6ec;color:#395063;border-radius:999px;font-size:11px;padding:8px 10px;font-weight:700}
.mc-content{display:flex;flex-direction:column;gap:14px;padding-bottom:10px}.mc-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;border-radius:10px;padding:22px 24px;background:linear-gradient(105deg,#243746,#2a4a53);color:white}
.mc-hero small{letter-spacing:.12em;color:#b9cfd4;font-size:10px;font-weight:800}.mc-hero h4{font-size:24px;margin:4px 0}.mc-hero h4 span{font-size:11px;color:#80cfbe;background:#203944;border-radius:5px;padding:4px 8px;vertical-align:middle}.mc-hero p{margin:0;color:#c9dce0;font-size:12px}.mc-hero-status{white-space:nowrap;color:#e0f5f2;border:1px solid #73918d;border-radius:6px;padding:10px;font-size:12px;font-weight:800}
.mc-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.mc-metric{border:1px solid #d4dde4;border-radius:9px;background:white;padding:17px 15px;box-shadow:0 1px 2px #1523320a}.mc-metric small{font-size:10px;font-weight:800;color:#7c90a0;letter-spacing:.1em;display:block;margin-bottom:9px}.mc-metric strong{font-size:16px;word-break:break-word;color:#293848}.mc-green{color:#0d9968!important}.mc-red{color:#c94f53!important}
.mc-panel{background:white;border:1px solid #d7dfe8;border-radius:10px;padding:20px 20px 22px;box-shadow:0 2px 5px #15233208}.mc-panel h4{color:#26394a;font-size:16px;margin:0 0 12px}.mc-panel p{font-size:12px;line-height:1.6;color:#708090;margin:12px 0}.mc-panel code{font-size:12px;color:#32665d}.mc-panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.mc-panel-header h4{margin:0}.mc-panel-header span{color:#718397;font-size:12px}
.mc-actions{display:flex;gap:8px;flex-wrap:wrap}.mc-dialog .mc-actions button,.mc-dialog button.mc-primary,.mc-dialog .mc-horizontal button,.mc-dialog .mc-form-grid button,.mc-dialog .mc-access-form button,.mc-dialog .mc-panel-header button{border:1px solid #bbcad7;background:#e9eef5;color:#394f64;cursor:pointer;border-radius:6px;font-size:12px;font-weight:750;min-height:38px;padding:9px 14px}
.mc-dialog button.mc-primary,.mc-dialog .mc-actions button.mc-primary,.mc-dialog .mc-horizontal button.mc-primary,.mc-dialog .mc-form-grid button.mc-primary,.mc-dialog .mc-access-form button.mc-primary{background:#148f75;border-color:#148f75;color:white}
.mc-dialog button.mc-danger{background:#fcecec;border-color:#eed4d7;color:#bd4858}.mc-dialog button:disabled{opacity:.45;cursor:not-allowed}.mc-dialog button:focus-visible,.mc-dialog input:focus-visible,.mc-dialog select:focus-visible{outline:2px solid #199f90;outline-offset:2px}
.mc-info-row,.mc-list-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e1e7ed;padding:12px 0;font-size:12px}.mc-info-row>span:first-child{color:#6c7f92;flex:1}.mc-info-row code{background:#ecf3f3;padding:9px;border-radius:4px;font-weight:700}.mc-muted{color:#789!important;font-size:12px}
.mc-horizontal{display:flex;gap:8px;align-items:center;margin-top:14px}.mc-horizontal input{min-width:0;flex:1}.mc-dialog input,.mc-dialog select{border:1px solid #c8d4de;border-radius:6px;background:#f8fafc;color:#293c4d;font-size:13px;padding:10px;max-width:100%;min-height:38px}
.mc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:15px}.mc-form-grid label,.mc-access-form label{display:flex;flex-direction:column;gap:7px;color:#52677a;font-size:12px;font-weight:700}.mc-form-full{grid-column:1/-1;margin-top:4px}.mc-form-grid input,.mc-form-grid select{width:100%}
.mc-list{margin-top:16px}.mc-list-row b{font-size:12px;color:#304557;overflow-wrap:anywhere}.mc-list-row small{font-size:10px;color:#8295a4;display:block;margin-top:5px}.mc-list-row>div:first-child{min-width:0;overflow-wrap:anywhere}.mc-list-row .mc-actions{flex-shrink:0}.mc-active-pill{color:#058465;font-size:11px;font-weight:700;background:#ddf6e9;border-radius:5px;padding:7px}
.mc-terminal{white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto;font:12px/1.7 ui-monospace,Consolas,monospace;background:#111a21;color:#a5e7b8;border:1px solid #2d3c45;border-radius:8px;padding:14px;height:360px;max-height:50dvh;margin:0}
.mc-caution{padding:10px 12px;background:#fff5e6;color:#956929!important;border-left:3px solid #daac57;border-radius:3px}.mc-job{padding:12px;margin:0 0 15px;border:1px solid #d3c090;border-radius:7px;background:#fff9e5;color:#856e31;font-size:12px}.mc-job[data-status='error']{color:#9a3546;border-color:#e8b0b8;background:#ffeff1}.mc-job[data-status='done']{color:#067f5b;border-color:#a1d9c9;background:#e8f8ef}.mc-flash{margin:0;padding:11px 16px;border-top:1px solid #354b59;background:#1c4249;color:#caf9ea;font-size:12px}.mc-flash[data-error='1']{background:#5b3039;color:#ffe1e1}.mc-access-form{display:grid;gap:11px}.mc-access-form label:has(input[type=checkbox]){flex-direction:row;align-items:center}.mc-access-form input[type=checkbox]{accent-color:#14967a;width:16px;height:16px;min-height:0}
.mc-loading{padding:40px;text-align:center;color:#7a8b9b;font-size:13px}
[data-minecraft-entry][hidden]{display:none!important}
@media(max-width:820px){.mc-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;margin:0}.mc-shell{height:100dvh;max-height:100dvh}.mc-sidebar{width:146px}.mc-side-foot{display:none}.mc-side-label{font-size:9px;margin:14px 9px 7px}.mc-page{padding:0 12px 14px}.mc-top{padding:11px}.mc-page-head{padding:14px 0}.mc-page-head h3{font-size:20px}.mc-hero{padding:14px}.mc-hero h4{font-size:19px}.mc-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mc-panel{padding:14px}.mc-form-grid{grid-template-columns:1fr}}
@media(max-width:530px){.mc-top{gap:7px}.mc-logo{gap:7px}.mc-logo>span{width:34px;height:34px;font-size:21px}.mc-logo small{font-size:8px}.mc-logo h2{font-size:16px}.mc-logo em{display:none}.mc-top-right{gap:8px}#mc-top-state{font-size:9px}.mc-sidebar{width:58px}#mc-menu{padding:0 3px}#mc-menu button{justify-content:center;font-size:0;padding:9px 4px;min-height:46px}#mc-menu button .mc-icon{font-size:20px;width:30px}#mc-menu button small,.mc-side-label{display:none}.mc-page{padding:0 9px 12px}.mc-owner{font-size:10px;padding:5px}.mc-hero{display:block}.mc-hero-status{display:inline-block;margin-top:12px}.mc-panel h4{font-size:14px}.mc-horizontal{flex-wrap:wrap}.mc-horizontal input{flex-basis:100%}.mc-list-row{align-items:flex-start;flex-wrap:wrap}.mc-info-row{flex-wrap:wrap}.mc-info-row code{overflow-wrap:anywhere}}
/* Fit six main DocSpace navigation entries on mobile. */
@media(max-width:850px){.mobile-nav{gap:2px;padding-left:3px;padding-right:3px}.mobile-nav button{flex:1 1 0;min-width:0;padding:9px 1px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px}.mobile-nav button small{font-size:10px;white-space:nowrap;line-height:1.25}}

/* V5: resumable file transfer progress, network panel. */
.mc-transfer{margin-top:16px;background:#ecf5f6;border:1px solid #b5d9d4;border-radius:8px;padding:14px;display:flex;flex-direction:column;gap:9px}
.mc-transfer[hidden]{display:none}
.mc-transfer strong{color:#216156;font-size:13px}
.mc-transfer progress{width:100%;height:15px;accent-color:#159681;border-radius:8px}
.mc-transfer small{color:#5d7c84;font-size:12px}
.mc-panel a{color:#087b75;text-decoration:underline}
.mc-panel .mc-info-row button{border:1px solid #b8c6d5;padding:8px;border-radius:6px;cursor:pointer;background:#ebf1f4;color:#325368}

/* V6: wide Aternos-style workspace without copying Aternos branding. */
@media(min-width:821px){.mc-dialog{width:calc(100vw - 28px);max-width:none;max-height:calc(100dvh - 24px)}.mc-shell{height:calc(100dvh - 28px);max-height:none}.mc-sidebar{width:245px}#mc-menu{gap:5px;padding:0 10px}#mc-menu button{font-size:14px;min-height:46px}.mc-page{padding:0 clamp(16px,2.3vw,42px) 24px}.mc-content{gap:18px}.mc-stat-grid{gap:15px}.mc-panel{padding:24px}.mc-hero{min-height:145px}}
.mc-three{grid-template-columns:repeat(3,minmax(0,1fr))}.mc-section-title{grid-column:1/-1;font-size:15px;font-weight:800;color:#294355;border-bottom:1px solid #dae3eb;padding:14px 0 8px;margin-top:7px}.mc-form-grid label small{font-weight:400;color:#7f8b99;line-height:1.45}.mc-filter-bar{display:flex;gap:10px;margin:18px 0 12px}.mc-filter-bar input{flex:1;min-width:0}.mc-filter-bar select{flex:0 0 180px}.mc-player-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mc-dialog .mc-player-card{display:flex;align-items:center;text-align:left;gap:10px;min-height:72px;padding:12px;border:1px solid #d9e1e8;background:#f6f9fb;border-radius:9px;cursor:pointer;color:#304251;min-width:0}.mc-player-card>span:nth-child(2){flex:1;min-width:0}.mc-player-card b{display:block;overflow-wrap:anywhere}.mc-player-card small{display:block;margin-top:6px;color:#678;font-size:10px;line-height:1.5}.mc-avatar{display:grid;place-items:center;width:44px;height:44px;border-radius:7px;background:#d6ede7;font-size:22px;flex-shrink:0}.mc-player-arrow{font-size:28px;color:#668}.mc-event-list{max-height:68dvh;overflow:auto}.mc-event-row{display:flex;gap:12px;border-bottom:1px solid #e7edf3;padding:10px 0;align-items:flex-start}.mc-event-row code{font-size:11px;word-break:break-word;white-space:pre-wrap;color:#43687d}.mc-badges{display:flex;gap:7px;flex-wrap:wrap}.mc-danger-label{background:#fce3e3;color:#bc4c54;padding:7px;border-radius:5px;font-size:11px}.mc-back{border:0!important;padding:0!important;background:transparent!important;color:#1b897c!important;margin-bottom:12px}.mc-profile-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.mc-panel.mc-inner{background:#f8fafc;border-color:#e1e8ed;padding:15px}.mc-inventory{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:4px;margin:14px 0}.mc-inventory.mc-equipment{grid-template-columns:repeat(5,minmax(0,54px))}.mc-slot{aspect-ratio:1;min-width:0;position:relative;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,#dfe6e9,#c7d2d8);box-shadow:inset 2px 2px #a9b6be,inset -2px -2px #f9fbfd;border:1px solid #b8c7cc;color:#254653;border-radius:3px}.mc-slot span{font-size:9px;line-height:1.1;overflow-wrap:anywhere;text-align:center;padding:2px}.mc-slot b{position:absolute;bottom:2px;right:2px;font-size:10px;color:white;text-shadow:1px 1px 2px #111;line-height:1}.mc-inv-label{grid-column:1/-1;margin:9px 0 0;color:#567;font-size:11px;font-weight:700}.mc-dialog .mc-actions button:hover,.mc-dialog .mc-player-card:hover{filter:brightness(.96)}
@media(max-width:1050px){.mc-player-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mc-profile-grid{grid-template-columns:1fr}}
@media(max-width:650px){.mc-player-grid{grid-template-columns:1fr}.mc-three{grid-template-columns:1fr 1fr}.mc-filter-bar{flex-direction:column}.mc-filter-bar select{flex:auto}.mc-inventory{gap:2px}.mc-slot span{font-size:7px}.mc-page{padding-bottom:16px}}
.mc-dialog .mc-list-row>button{border:1px solid #cbd8df;background:#eaf0f4;padding:8px 14px;border-radius:6px;color:#335269;cursor:pointer;font-weight:700}
.mc-dialog .mc-list-row>button:hover{background:#dae9eb}

/* V7 Discord — keep widescreen dashboard and use readable mobile settings */
.mc-discord-hero{background:linear-gradient(115deg,#253745,#294457)}
.mc-dialog .mc-form-grid label.mc-check{flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;border:1px solid #e0e8ed;border-radius:7px;padding:13px;background:#f7fafb;color:#3b5668}
.mc-dialog .mc-check input[type=checkbox]{width:18px;height:18px;min-height:0;flex-shrink:0;accent-color:#168e78}
.mc-dialog #mc-discord-form .mc-actions button{min-width:190px}
@media(max-width:650px){.mc-dialog #mc-discord-form .mc-actions button{min-width:0;flex:1 1 180px}}

/* V9 — Galaxy S10+ owner dashboard: performance settings & real Termux diagnostics */
.mc-perf-hero{background:linear-gradient(115deg,#183b45,#167368)}
.mc-monitor-hero{background:linear-gradient(115deg,#203c54,#17646c)}
.mc-status-pill{border:1px solid #98bbb9;border-radius:7px;background:#164b51;color:#d2fff3;padding:9px 12px;font-size:12px;font-weight:800;white-space:nowrap}
.mc-tuning-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:18px}
.mc-tuning-card{display:flex;flex-direction:column;gap:10px;align-items:flex-start;border:1px solid #d5e1e7;border-radius:9px;background:#f8fafb;padding:17px;min-width:0}
.mc-tuning-card h5{font-size:16px;font-weight:800;color:#244654;margin:0}.mc-tuning-card p{font-size:13px;font-weight:700;color:#34576a;margin:0}
.mc-tuning-card small{font-size:12px;color:#708698;line-height:1.5;flex:1}
.mc-dialog .mc-tuning-card button{padding:10px 16px;border-radius:6px;background:#e8f1f0;color:#17675e;cursor:pointer;border:1px solid #b5d4cf;font-weight:750}
.mc-dialog .mc-tuning-card .mc-primary{background:#15957c;color:white}
.mc-dialog button:disabled{opacity:.50;cursor:not-allowed}
.mc-diag-data{display:flex;flex-direction:column;gap:18px}
.mc-diag-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.mc-diag-card{border:1px solid #dae3ed;border-radius:9px;background:#fff;padding:15px;display:flex;flex-direction:column;gap:8px;min-width:0;box-shadow:0 2px 6px rgba(7,30,50,.04)}
.mc-diag-card small{font-size:11px;font-weight:750;letter-spacing:.03em;text-transform:uppercase;color:#6a8092}
.mc-diag-card strong{font-size:22px;font-weight:850;color:#203d50;overflow-wrap:anywhere}
.mc-diag-card span{font-size:11px;line-height:1.4;color:#758b9a;overflow-wrap:anywhere}
.mc-diag-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.mc-diag-charts .mc-panel{min-width:0}.mc-diag-charts h4{margin-bottom:5px}
.mc-spark{height:110px;width:100%;display:flex;align-items:center;border:1px solid #dde8e9;background:repeating-linear-gradient(0deg,#f5faf9 0px,#f5faf9 25px,#e3eeee 26px);border-radius:7px;margin-top:12px;overflow:hidden}
.mc-spark svg{width:100%;height:100%}.mc-services{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0}
.mc-service-chip{display:inline-flex;gap:6px;border:1px solid #d2dee4;background:#edf2f4;color:#677b8a;padding:9px 11px;border-radius:8px;font-size:12px;font-weight:750}
.mc-chip-online{border-color:#b4dfcf;background:#e5f8ee;color:#128465}
.mc-live-log{height:440px;max-height:58dvh}.mc-diag-data .mc-info-row strong{min-width:0;word-break:break-word;text-align:right}
@media(max-width:1100px){.mc-diag-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.mc-tuning-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.mc-diag-charts,.mc-tuning-grid{grid-template-columns:1fr}.mc-diag-cards{gap:8px}.mc-diag-card{padding:11px}.mc-diag-card strong{font-size:17px}.mc-diag-card small{font-size:9px}.mc-monitor-hero #mc-diag-clock{display:block;margin-top:10px}.mc-diag-data .mc-info-row strong{text-align:left}}

/* Minecraft Manager V10 — serveur dédié S10+, cockpit sombre responsive */
.mc-dialog{background:#091322;border:1px solid #243e55;border-radius:18px;color:#e3f2ff;box-shadow:0 32px 110px rgba(0,7,19,.88)}
.mc-dialog::backdrop{background:rgba(0,4,12,.82);backdrop-filter:blur(7px)}
.mc-top{background:linear-gradient(115deg,#101e31,#15283a);border-color:#263f52}
.mc-logo>span{border-radius:14px;background:linear-gradient(140deg,#1d625e,#245491);border:1px solid #337d91}
.mc-logo em{color:#77e1c5}
.mc-workspace{background:#0f1c2c;color:#dceef9}
.mc-sidebar{background:#0b1727;border-color:#253b50}
.mc-sidebar #mc-menu button{color:#b9cad9;border:1px solid transparent;transition:background .18s,border-color .18s,transform .18s}
.mc-sidebar #mc-menu button.selected{background:linear-gradient(105deg,#156c78,#1b7c72);border-color:#308a88;color:#fff;box-shadow:0 3px 14px #0d75652b}
.mc-sidebar #mc-menu button:hover:not(.selected){background:#1a2e43;border-color:#2b455e;transform:translateX(2px)}
.mc-page{background:radial-gradient(circle at 88% 2%,#183c4f 0,transparent 45%),#0f1c2c}
.mc-page-head{border-bottom:1px solid #243a50;margin-bottom:16px}.mc-page-head h3{color:#eefaff}.mc-page-head small{color:#8ea9ba}
.mc-owner{background:#243a50;color:#b7e1e9}
.mc-hero{border:1px solid #28536a;border-radius:15px;background:linear-gradient(115deg,#19374b,#17605a);min-height:140px}
.mc-hero h4{color:#fff}.mc-hero p{color:#c3e2e7}
.mc-metric,.mc-panel,.mc-diag-card{background:#15283b;border:1px solid #2a4259;border-radius:13px;color:#e7f1fa;box-shadow:0 5px 18px rgba(0,5,16,.12)}
.mc-metric small,.mc-diag-card small{color:#8cabc0}.mc-metric strong,.mc-panel h4,.mc-diag-card strong{color:#ecf8ff}
.mc-panel p,.mc-diag-card span,.mc-panel-header span,.mc-muted,.mc-panel .mc-list-row small{color:#a7becb!important}
.mc-panel code{color:#8ee1cf}.mc-diag-card{background:#15293d}
.mc-info-row,.mc-list-row{border-color:#30465a}.mc-info-row>span:first-child{color:#a4bdca}.mc-list-row b{color:#e1f4fd}
.mc-info-row code{background:#223d4d;color:#d5f6ee}.mc-panel.mc-inner{background:#102035;border-color:#294056}
.mc-dialog input,.mc-dialog select{background:#0e2032;border-color:#3c5367;color:#e1f2fb}
.mc-dialog .mc-actions button,.mc-dialog .mc-panel-header button,.mc-dialog .mc-form-grid button,.mc-dialog .mc-access-form button,.mc-dialog .mc-horizontal button{background:#20384f;border-color:#3d5870;color:#dceef9}
.mc-dialog button.mc-primary,.mc-dialog .mc-actions button.mc-primary,.mc-dialog .mc-form-grid button.mc-primary{background:linear-gradient(105deg,#168a82,#0f9d75);border-color:#36b69e;color:#fff}
.mc-tuning-card,.mc-dialog .mc-player-card{background:#102237;border:1px solid #314f65;border-radius:12px}
.mc-tuning-card h5,.mc-tuning-card p,.mc-dialog .mc-player-card{color:#e6f7fa}.mc-tuning-card small{color:#afc6d3}
.mc-dialog .mc-tuning-card button{background:#20505a;color:#e9fff8;border-color:#357e7b}
.mc-dialog .mc-tuning-card button:hover{filter:brightness(1.13)}
.mc-tuning-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mc-tuning-experimental{border-color:#57749a;background:#172b4a}
.mc-section-title{color:#b9e4e1;border-color:#354f61}.mc-form-grid label,.mc-access-form label{color:#bfd5e1}
.mc-dialog .mc-form-grid label.mc-check{background:#12283a;color:#c6dce8;border-color:#2b4a5c}
.mc-service-chip{background:#1a2c41;border-color:#38566b;color:#a9bccb}.mc-chip-online{background:#123e38;border-color:#27765b;color:#80deb1}
.mc-spark{border-color:#2b4757;background:repeating-linear-gradient(0deg,#132739 0,#132739 25px,#214053 26px)}
.mc-caution{background:#413523;color:#ffddb2!important;border-color:#cb9540}.mc-job{background:#332b20;border-color:#776439;color:#fbe2a6}
.mc-job[data-status='error']{background:#4b2733;color:#ffd6de}.mc-job[data-status='done']{background:#153e36;color:#9fe8cf}
.mc-health-banner{display:flex;align-items:center;gap:17px;background:#143a38;border:1px solid #277b65;border-radius:13px;padding:17px 20px;color:#e8fff8}
.mc-health-banner.mc-health-warning{background:#463a26;border-color:#95713b}.mc-health-banner.mc-health-critical{background:#452a33;border-color:#a75b66}
.mc-health-marker{width:40px;height:40px;display:grid;place-items:center;border:1px solid currentColor;border-radius:12px;font-size:21px;flex-shrink:0}
.mc-health-banner>div:nth-child(2){flex:1;min-width:0}.mc-health-banner strong{display:block;font-size:15px}.mc-health-banner p{margin:5px 0;color:#c9d6df;font-size:12px;line-height:1.5}.mc-health-banner code{font-size:12px;color:#b4eddb;overflow-wrap:anywhere}
.mc-health-banner button{border:1px solid #578b8b;background:#234958;color:#edfffc;border-radius:8px;padding:10px 13px;cursor:pointer}
.mc-runtime-check{display:flex;align-items:center;justify-content:space-between;gap:14px}.mc-runtime-check h4{margin:0 0 7px}.mc-runtime-check p{margin:4px 0 9px}.mc-runtime-check code{word-break:break-word}.mc-runtime-state{font-weight:800;font-size:12px;white-space:nowrap;color:#8dd9c6}
.mc-chunks-now{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}.mc-chunks-now span{display:flex;flex-direction:column;gap:6px;background:#0b2131;border:1px solid #2e5564;border-radius:10px;min-width:115px;padding:13px;color:#9fc4d0;font-size:12px}.mc-chunks-now b{font-size:21px;color:#a2fff0}
.mc-diagnosis-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mc-diagnosis-grid>div{background:#10263a;border:1px solid #30516a;padding:16px;border-radius:10px;display:flex;flex-direction:column;gap:6px;min-width:0}.mc-diagnosis-grid small{color:#91b9cc}.mc-diagnosis-grid strong{font-size:24px;color:#e1fff2}.mc-diagnosis-grid span{font-size:11px;color:#8fb2c7}.mc-diagnosis details{margin-top:14px;color:#c9dded}.mc-diagnosis summary{cursor:pointer}.mc-errors-log{margin-top:9px;height:150px}
@media(max-width:900px){.mc-tuning-grid{grid-template-columns:1fr 1fr}.mc-health-banner{flex-wrap:wrap}}
@media(max-width:600px){.mc-tuning-grid,.mc-diagnosis-grid{grid-template-columns:1fr}.mc-health-banner{padding:12px}.mc-health-banner button{width:100%}.mc-runtime-check{flex-direction:column;align-items:flex-start}.mc-diag-card strong{font-size:16px}}

/* V1 PC Host: use optional user-provided Minecraft textures */
.mc-slot img{display:block;object-fit:contain;image-rendering:pixelated;margin:auto auto 3px;max-width:32px;max-height:32px;}
