html.dashboard-root {
  min-height: 100%;
  background: #050d1a;
  color-scheme: dark;
}
body.dashboard-page {
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  display: flow-root;
  color: #eaf5ff;
  background: #050d1a radial-gradient(circle at 74% 12%, rgba(18, 91, 171, .18), transparent 35%);
}

/* Cloudino server manager: selections, ports and startup settings */
.file-selection-bar { min-height:57px; padding:9px 13px; display:flex; align-items:center; justify-content:space-between; gap:14px; border-block:1px solid rgba(76,175,232,.15); background:linear-gradient(90deg,rgba(24,103,157,.24),rgba(8,36,64,.56)); animation:selection-in .2s ease-out }
.file-selection-bar[hidden] { display:none }
.file-selection-bar>span { color:#8ba8bd; font-size:.76rem }.file-selection-bar>span b { color:#71cef8 }.file-selection-bar>div { display:flex; flex-wrap:wrap; gap:7px }
.file-selection-bar button { min-height:34px; padding:0 11px; border:1px solid rgba(63,181,240,.22); border-radius:9px; color:#95d8fa; background:rgba(22,93,143,.25); font-size:.68rem; font-weight:760; cursor:pointer; transition:.18s }
.file-selection-bar button:hover { border-color:rgba(79,197,251,.5); color:#fff; background:rgba(33,125,183,.38); transform:translateY(-1px) }
.file-selection-bar .extract-file-button { color:#72e1ad; border-color:rgba(69,218,155,.25); background:rgba(30,119,81,.2) }.file-selection-bar .clear-file-selection { color:#7f9aad; background:transparent }
.file-check { width:22px; height:22px; display:grid; place-items:center; cursor:pointer }
.file-check input,.file-table-head input { width:17px; height:17px; margin:0; appearance:none; border:1px solid rgba(86,175,229,.32); border-radius:5px; background:rgba(4,17,33,.75); cursor:pointer; transition:.16s }
.file-check input:checked,.file-table-head input:checked { border-color:#40baf6; background:#2c91df url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8.2 3.1 3.1L13 4.8' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat }
.file-table-head input:indeterminate { border-color:#40baf6; background:linear-gradient(#fff,#fff) center/9px 2px no-repeat,#2c91df }.file-row.selected { border-color:rgba(62,183,241,.18); background:linear-gradient(90deg,rgba(23,91,139,.3),rgba(12,44,76,.2)) }.parent-directory { color:#88a9be; background:rgba(14,43,70,.25) }
@keyframes selection-in { from { opacity:0; transform:translateY(-4px) } }
.ports-hero,.settings-hero { margin-bottom:20px; padding:24px 26px; display:flex; align-items:center; justify-content:space-between; gap:20px; border:1px solid rgba(69,181,241,.18); border-radius:20px; background:radial-gradient(circle at 82% 0,rgba(42,157,226,.18),transparent 34%),linear-gradient(112deg,rgba(15,53,89,.88),rgba(7,27,51,.88)); box-shadow:0 22px 55px rgba(0,5,18,.2) }
.ports-hero span,.settings-hero>div>span { color:#46bdf8; font-size:.7rem; font-weight:850; letter-spacing:.12em }.ports-hero h2,.settings-hero h2 { margin:5px 0 3px; font:800 1.4rem 'Manrope',sans-serif }.ports-hero p,.settings-hero p { margin:0; color:#7895aa; font-size:.82rem }
.ports-hero>button { min-height:45px; padding:0 17px; border:1px solid #37b2ef; border-radius:12px; color:#fff; background:linear-gradient(135deg,#29a9e9,#2c73dc); box-shadow:0 12px 27px rgba(29,125,213,.24); font-weight:780; cursor:pointer; transition:.2s }.ports-hero>button:hover { filter:brightness(1.1); transform:translateY(-2px) }
.ports-list { display:grid; gap:10px }.port-row { min-height:102px; padding:15px 18px; display:grid; grid-template-columns:minmax(190px,.8fr) 120px minmax(220px,1.3fr) auto; align-items:center; gap:20px; border:1px solid rgba(72,164,220,.14); border-radius:17px; background:linear-gradient(100deg,rgba(10,34,60,.82),rgba(6,24,45,.78)); transition:.2s }.port-row:hover { border-color:rgba(65,184,242,.29); background:linear-gradient(100deg,rgba(15,49,82,.9),rgba(8,29,52,.84)); transform:translateY(-1px) }
.port-endpoint { display:flex; align-items:center; gap:12px }.port-icon { width:43px; height:43px; flex:0 0 43px; display:grid; place-items:center; border-radius:12px; color:#62cbf8; background:rgba(27,102,151,.27) }.port-icon svg { width:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round }
.port-endpoint>span:last-child,.port-number,.port-note { min-width:0; display:flex; flex-direction:column; gap:5px }.port-row small { color:#55738b; font-size:.62rem; font-weight:790; letter-spacing:.09em }.port-row b { overflow:hidden; color:#cce1ef; font:750 .84rem 'Manrope',sans-serif; text-overflow:ellipsis; white-space:nowrap }.port-number b { color:#72cff9; font-size:1rem }
.port-actions { display:flex; align-items:center; justify-content:flex-end; gap:8px }.port-actions button,.primary-port { min-height:35px; padding:0 11px; display:inline-flex; align-items:center; border:1px solid rgba(65,183,240,.22); border-radius:10px; color:#82cef4; background:rgba(23,86,132,.23); font-size:.67rem; font-weight:780; cursor:pointer; transition:.18s }.port-actions button:hover { color:#fff; border-color:rgba(73,194,249,.45); transform:translateY(-1px) }.port-actions .port-delete { width:35px; padding:0; justify-content:center; color:#dd7889; border-color:rgba(224,96,118,.2); background:rgba(112,30,48,.13); font-size:1.1rem }.primary-port { color:#68dfa8; border-color:rgba(55,215,149,.24); background:rgba(25,111,76,.18); cursor:default }
.ports-empty,.settings-placeholder { min-height:220px; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:6px; border:1px dashed rgba(72,169,226,.19); border-radius:18px; color:#7894a8; background:rgba(7,25,46,.52) }.ports-empty span,.settings-placeholder span { color:#536f85; font-size:.75rem }
.port-modal { position:fixed; z-index:200; inset:0; padding:20px; display:none; place-items:center; background:rgba(1,8,18,.78); backdrop-filter:blur(10px) }.port-modal.is-open { display:grid; animation:modal-fade .18s ease-out }.port-modal>button { position:absolute; inset:0; width:100%; border:0; background:transparent }.port-modal form { position:relative; width:min(600px,100%); overflow:hidden; border:1px solid rgba(67,183,241,.22); border-radius:19px; background:#091a2d; box-shadow:0 35px 90px rgba(0,2,10,.55) }
.port-modal header { min-height:77px; padding:17px 20px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid rgba(74,166,219,.12); background:linear-gradient(90deg,rgba(18,63,99,.66),rgba(8,29,52,.5)) }.port-modal header span { color:#46bdf8; font-size:.65rem; font-weight:850; letter-spacing:.12em }.port-modal h2 { margin:4px 0 0; font:800 1.2rem 'Manrope',sans-serif }.port-modal header button { width:34px; height:34px; border:1px solid rgba(78,164,218,.16); border-radius:9px; color:#7c98ad; background:rgba(14,46,75,.5); cursor:pointer }
.port-form-grid { padding:21px; display:grid; grid-template-columns:150px 1fr; gap:14px }.port-form-grid label { display:flex; flex-direction:column; gap:8px; color:#7591a6; font-size:.72rem; font-weight:740 }.port-form-grid input,.settings-fields input,.settings-fields select { height:47px; padding:0 13px; border:1px solid rgba(74,174,231,.2); border-radius:11px; outline:0; color:#dcebf5; background:#051423; transition:.18s }.port-form-grid input:focus,.settings-fields input:focus,.settings-fields select:focus { border-color:#3ab5f4; box-shadow:0 0 0 3px rgba(57,180,244,.1) }
.port-modal footer { padding:14px 20px; display:flex; justify-content:flex-end; gap:8px; border-top:1px solid rgba(74,164,218,.12) }.port-modal footer button { height:40px; padding:0 14px; border:1px solid rgba(73,165,221,.18); border-radius:10px; color:#8ca6b9; background:rgba(17,53,84,.55); cursor:pointer }.port-modal footer button[type="submit"] { color:#fff; border-color:#36acec; background:linear-gradient(135deg,#28a6e7,#2b72db) }
.settings-server-id { padding:9px 12px; border:1px solid rgba(73,178,235,.2); border-radius:10px; color:#8dcff2; background:rgba(16,65,103,.28); font:760 .75rem Consolas,monospace }.server-settings-form { display:grid; gap:16px }.startup-command-card,.settings-fields { padding:22px; border:1px solid rgba(71,166,224,.15); border-radius:18px; background:rgba(7,25,46,.76) }.startup-command-card>div { margin-bottom:15px; display:flex; align-items:center; justify-content:space-between }.startup-command-card small { color:#46bdf8; font-size:.68rem; font-weight:850; letter-spacing:.11em }.startup-command-card>div span { color:#57748a; font-size:.68rem }.startup-command-card code { padding:18px; display:block; overflow-x:auto; border:1px solid rgba(73,176,233,.13); border-radius:12px; color:#79d3fa; background:#020c17; font:.78rem/1.55 Consolas,monospace; white-space:nowrap }
.settings-fields { display:grid; grid-template-columns:1fr 1fr; gap:18px }.settings-fields label { display:flex; flex-direction:column; gap:8px }.settings-fields label>span { color:#a8bed0; font-size:.78rem; font-weight:760 }.settings-fields label>small { color:#536f85; font-size:.69rem }.server-settings-form>footer { padding:17px 20px; display:flex; align-items:center; justify-content:space-between; border:1px solid rgba(72,162,218,.12); border-radius:15px; background:rgba(8,28,51,.65) }.server-settings-form>footer span { color:#607d92; font-size:.72rem }.server-settings-form>footer button { min-height:42px; padding:0 17px; border:1px solid #36adee; border-radius:11px; color:#fff; background:linear-gradient(135deg,#29a7e8,#2c73dc); font-weight:780; cursor:pointer; transition:.2s }.server-settings-form>footer button:hover { filter:brightness(1.1); transform:translateY(-1px) }.server-settings-form>footer button:disabled { opacity:.4; cursor:not-allowed; transform:none }
.server-power button:disabled { opacity:.32; filter:grayscale(.5); cursor:not-allowed; transform:none }.server-power button.force-kill { color:#fff; border-color:#e75570; background:linear-gradient(135deg,#d94260,#a92343); box-shadow:0 0 22px rgba(220,59,91,.22) }.core-input-label .field-help { margin-top:3px; color:#547087; font-size:.68rem; font-weight:500 }
@media(max-width:860px){.file-table-head,.file-row{grid-template-columns:32px 40px minmax(180px,1fr) 90px 60px}.file-table-head span:nth-child(5),.file-row time{display:none}.port-row{grid-template-columns:minmax(180px,1fr) 90px auto}.port-note{grid-column:1/3}.port-actions{grid-column:3;grid-row:1/span 2}}
@media(max-width:560px){.file-selection-bar{align-items:stretch;flex-direction:column}.file-selection-bar>div{display:grid;grid-template-columns:1fr 1fr}.port-row{padding:14px;grid-template-columns:1fr auto;gap:13px}.port-number{align-items:flex-end}.port-note{grid-column:1/-1}.port-actions{grid-column:1/-1;grid-row:auto;justify-content:flex-start}.ports-hero,.settings-hero{padding:19px;align-items:flex-start;flex-direction:column}.port-form-grid,.settings-fields{grid-template-columns:1fr}.server-settings-form>footer{align-items:stretch;flex-direction:column;gap:12px}}
.dashboard-page.modal-open { overflow: hidden; }

.dashboard-page .ambient { opacity: .35; }
.dashboard-page .grid { opacity: .18; }
.dashboard-app { position: relative; z-index: 2; min-height: 100svh; display: flex; }

.dash-sidebar {
  position: sticky; top: 0; z-index: 20; width: 274px; height: 100svh; flex: 0 0 274px;
  display: flex; flex-direction: column; border-right: 1px solid rgba(100, 166, 220, .13);
  background: rgba(6, 15, 29, .88); box-shadow: 18px 0 50px rgba(0, 3, 12, .16); backdrop-filter: blur(20px);
}
.sidebar-brand { height: 82px; padding: 0 25px; display: flex; align-items: center; border-bottom: 1px solid rgba(100, 166, 220, .1); }
.sidebar-brand .brand { font-size: 1.3rem; }
.dash-nav { padding: 22px 14px; display: flex; flex-direction: column; gap: 6px; }
.dash-nav-label { margin: 21px 13px 7px; color: #536b83; font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
.dash-nav-item {
  position: relative; min-height: 51px; padding: 0 14px; display: flex; align-items: center; gap: 12px;
  border: 1px solid transparent; border-radius: 13px; color: #849bb2; text-decoration: none; font-size: .9rem; font-weight: 650;
  transition: color .2s, background .2s, border-color .2s, transform .2s;
}
.dash-nav-item:hover { color: #eaf6ff; background: rgba(35, 105, 169, .12); border-color: rgba(75, 170, 234, .1); transform: translateX(2px); }
.dash-nav-item.active { color: #f4faff; background: linear-gradient(90deg, rgba(29, 105, 191, .24), rgba(28, 79, 140, .12)); border-color: rgba(79, 178, 245, .17); }
.dash-nav-item.active::before { content: ""; position: absolute; left: -15px; width: 3px; height: 25px; border-radius: 0 4px 4px 0; background: #35adf2; box-shadow: 0 0 16px rgba(53, 169, 240, .55); }
.dash-nav-icon { width: 26px; height: 26px; display: grid; place-items: center; color: #5f7f9e; }
.dash-nav-icon svg { width: 21px; height: 21px; fill: currentColor; }
.dash-nav-icon.dashboard svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.dash-nav-icon.settings svg { fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.dash-nav-icon.nodes svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.dash-nav-icon.node-performance svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dash-nav-icon.minecraft .cube-top, .dash-nav-icon.minecraft .grass { fill: #63ce64; }
.dash-nav-icon.minecraft .cube-left { fill: #976447; }
.dash-nav-icon.minecraft .cube-right { fill: #6f4937; }
.dash-nav-icon.discord { color: #7882ff; }
.dash-nav-icon.servers svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.servers-group { border-radius: 14px; transition: background .25s, padding-bottom .3s; }
.servers-link { width: 100%; appearance: none; -webkit-appearance: none; font-family: inherit; text-align: left; background: transparent; cursor: pointer; }
.servers-link > span:nth-child(2) { flex: 1; }
.server-count { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: #9bb2c8; background: rgba(78, 111, 151, .25); font-size: .75rem; font-weight: 800; }
.nav-chevron { width: 17px; height: 17px; fill: none; stroke: #91a7bb; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s, stroke .2s; }
.servers-link:hover .nav-chevron { transform: translateX(2px); stroke: #eaf6ff; }
.servers-group.is-open { padding-bottom: 7px; }
.servers-group.is-open .servers-link { color: #849bb2; background: transparent; border-color: transparent; }
.servers-group.is-open .servers-link:hover { color: #eaf6ff; background: rgba(35, 105, 169, .12); border-color: rgba(75, 170, 234, .1); transform: translateX(2px); }
.servers-link:focus:not(:focus-visible) { outline: none; }
.servers-group.is-open .nav-chevron { transform: rotate(90deg); stroke: #54bdf7; }
.server-submenu { display: grid; grid-template-rows: 0fr; opacity: 0; transform: translateY(-5px); transition: grid-template-rows .32s cubic-bezier(.2, .8, .2, 1), opacity .22s, transform .32s; }
.server-submenu-inner { min-height: 0; overflow: hidden; }
.servers-group.is-open .server-submenu { grid-template-rows: 1fr; opacity: 1; transform: none; }
.sidebar-server { min-height: 48px; margin: 3px 5px 0 18px; padding: 7px 9px; display: flex; align-items: center; gap: 10px; border-left: 1px solid rgba(84, 157, 211, .18); color: #8298ad; text-decoration: none; transition: .2s; }
.sidebar-server:hover { color: #e5f4ff; background: rgba(31, 101, 159, .1); }
.sidebar-server-icon { width: 27px; height: 27px; display: grid; place-items: center; }
.sidebar-server-icon img, .sidebar-server-icon svg { max-width: 25px; max-height: 25px; }
.sidebar-server > span:nth-child(2) { min-width: 0; display: flex; align-items: baseline; gap: 7px; flex: 1; }
.sidebar-server b { overflow: hidden; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-server small { color: #597089; font-size: .62rem; }
.status-dot { width: 9px; height: 9px; display: inline-block; border-radius: 50%; background: #697d91; box-shadow: 0 0 0 5px rgba(105, 125, 145, .08); }
.status-dot.running { background: #35d692; box-shadow: 0 0 0 5px rgba(53, 214, 146, .09), 0 0 12px rgba(53, 214, 146, .45); }
.status-dot.starting, .status-dot.installing, .status-dot.stopping { background: #f3a846; box-shadow: 0 0 0 5px rgba(243, 168, 70, .09), 0 0 12px rgba(243, 168, 70, .4); }
.status-dot.offline, .status-dot.crashed, .status-dot.failed { background: #ee6377; box-shadow: 0 0 0 5px rgba(238, 99, 119, .09), 0 0 12px rgba(238, 99, 119, .35); }
.sidebar-user { margin: auto 14px 16px; padding: 12px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(87, 165, 221, .12); border-radius: 14px; background: rgba(18, 45, 76, .38); }
.sidebar-user img { width: 36px; height: 36px; border-radius: 11px; object-fit: cover; }
.sidebar-user span { min-width: 0; display: flex; flex-direction: column; }
.sidebar-user small { color: #637e98; font-size: .62rem; }
.sidebar-user b { overflow: hidden; color: #c9d9e8; font-size: .76rem; text-overflow: ellipsis; }
.sidebar-backdrop { display: none; }

.dashboard-stage { min-width: 0; flex: 1; }
.dashboard-header { position: sticky; top: 0; z-index: 12; height: 82px; padding: 0 30px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(100, 166, 220, .11); background: rgba(5, 13, 26, .78); backdrop-filter: blur(18px); }
.dashboard-header > div { display: flex; align-items: center; gap: 14px; }
.dashboard-header h1 { margin: 0; font: 750 1.15rem 'Manrope', 'Segoe UI', sans-serif; letter-spacing: -.025em; }
.dash-logout { height: 41px; padding: 0 13px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(105, 175, 227, .16); border-radius: 12px; color: #819ab2; text-decoration: none; font-size: .75rem; font-weight: 700; transition: .2s; }
.dash-logout:hover { color: white; border-color: rgba(82, 182, 246, .3); background: rgba(31, 106, 174, .13); }
.dash-logout svg { width: 18px; fill: currentColor; }
.mobile-menu { display: none; }
.dashboard-content { max-width: 1260px; margin: 0 auto; padding: 34px 34px 70px; }

.welcome-panel { position: relative; padding: 31px 34px; border: 1px solid rgba(86, 167, 225, .18); border-radius: 22px; background: linear-gradient(135deg, rgba(20, 48, 83, .8), rgba(12, 31, 59, .72)); box-shadow: 0 24px 70px rgba(0, 5, 16, .2); overflow: hidden; animation: dashEnter .7s cubic-bezier(.16, 1, .3, 1) both; }
.welcome-panel::after { content: ""; position: absolute; right: -60px; top: -100px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(40, 157, 235, .18), transparent 68%); }
.welcome-kicker, .section-heading span, .creator-heading > div > span { color: #43b9f8; font-size: .66rem; font-weight: 850; letter-spacing: .13em; }
.welcome-panel h2 { position: relative; margin: 9px 0 10px; font: 800 clamp(1.65rem, 3vw, 2.3rem) 'Manrope', 'Segoe UI', sans-serif; letter-spacing: -.045em; }
.welcome-panel h2 span { font-size: .85em; }
.welcome-panel p { position: relative; max-width: 800px; margin: 0; color: #8da3b8; font-size: .96rem; line-height: 1.65; }

.service-section { margin-top: 34px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 17px; }
.section-heading h2 { margin: 5px 0 0; font: 750 1.35rem 'Manrope', 'Segoe UI', sans-serif; letter-spacing: -.035em; }
.section-heading p { margin: 0; color: #637c94; font-size: .78rem; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-card { position: relative; min-height: 154px; padding: 23px; display: flex; align-items: center; gap: 19px; border: 1px solid rgba(83, 158, 214, .15); border-radius: 19px; background: linear-gradient(145deg, rgba(18, 42, 72, .76), rgba(10, 25, 49, .82)); color: inherit; text-decoration: none; overflow: hidden; transition: transform .28s cubic-bezier(.2, .8, .2, 1), border-color .28s, box-shadow .28s, background .28s; animation: dashEnter .7s cubic-bezier(.16, 1, .3, 1) both; }
.service-card:nth-child(1) { animation-delay: .12s; }
.service-card:nth-child(2) { animation-delay: .2s; }
.service-card::before { content: ""; position: absolute; inset: 0; opacity: 0; background: radial-gradient(circle at 20% 30%, rgba(48, 172, 243, .13), transparent 45%); transition: opacity .28s; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(72, 181, 247, .4); background: linear-gradient(145deg, rgba(22, 55, 93, .9), rgba(11, 30, 59, .9)); box-shadow: 0 22px 55px rgba(0, 7, 23, .3), 0 0 28px rgba(44, 157, 230, .12); }
.service-card:hover::before { opacity: 1; }
.service-card-icon { position: relative; z-index: 1; width: 66px; height: 66px; flex: 0 0 66px; display: grid; place-items: center; border-radius: 18px; background: rgba(29, 71, 115, .48); box-shadow: inset 0 0 0 1px rgba(94, 171, 225, .08); }
.service-card-icon svg { width: 38px; height: 38px; }
.service-card-icon img { width: 44px; height: 44px; object-fit: contain; image-rendering: auto; }
.service-card.minecraft .cube-top, .service-card.minecraft .grass { fill: #6ed46d; }
.service-card.minecraft .cube-left { fill: #a56a48; }
.service-card.minecraft .cube-right { fill: #744b36; }
.service-card.discord .service-card-icon { color: #7782ff; background: rgba(87, 101, 242, .11); }
.service-card.discord svg { fill: currentColor; }
.service-card > div:nth-child(2) { position: relative; z-index: 1; min-width: 0; }
.service-card > div:nth-child(2) > span { color: #597993; font-size: .62rem; font-weight: 800; letter-spacing: .12em; }
.service-card h3 { margin: 6px 0 5px; font: 750 1.12rem 'Manrope', 'Segoe UI', sans-serif; }
.service-card p { margin: 0; color: #738ba2; font-size: .78rem; line-height: 1.45; }
.service-arrow { position: relative; z-index: 1; margin-left: auto; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(93, 174, 231, .14); border-radius: 12px; color: #5b7791; font-size: 1.1rem; transition: .25s; }
.service-card:hover .service-arrow { color: white; border-color: #319fe8; background: #228bd5; transform: translateX(3px); box-shadow: 0 8px 24px rgba(29, 137, 207, .28); }

.back-dashboard { display: inline-flex; margin-bottom: 24px; color: #63829e; text-decoration: none; font-size: .72rem; font-weight: 750; letter-spacing: .04em; transition: color .2s; }
.back-dashboard:hover { color: #53bdf8; }
.creator-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; animation: dashEnter .65s cubic-bezier(.16, 1, .3, 1) both; }
.creator-icon { width: 62px; height: 62px; display: grid; place-items: center; border: 1px solid rgba(92, 177, 234, .14); border-radius: 18px; background: rgba(24, 59, 96, .58); }
.creator-icon svg { width: 36px; height: 36px; }
.creator-icon img { width: 43px; height: 43px; object-fit: contain; }
.creator-icon.minecraft .cube-top, .creator-icon.minecraft .grass { fill: #6ed46d; }
.creator-icon.minecraft .cube-left { fill: #a56a48; }
.creator-icon.minecraft .cube-right { fill: #744b36; }
.creator-icon.discord { color: #7b85ff; background: rgba(88, 101, 242, .11); }
.creator-icon.discord svg { fill: currentColor; }
.creator-heading h2 { margin: 4px 0; font: 800 1.65rem 'Manrope', 'Segoe UI', sans-serif; letter-spacing: -.04em; }
.creator-heading p { margin: 0; color: #6e879f; font-size: .8rem; }
.config-card { border: 1px solid rgba(85, 164, 221, .16); border-radius: 22px; background: linear-gradient(145deg, rgba(16, 39, 68, .83), rgba(8, 23, 45, .88)); box-shadow: 0 28px 75px rgba(0, 4, 15, .24); overflow: hidden; animation: dashEnter .72s .1s cubic-bezier(.16, 1, .3, 1) both; }
.config-block { padding: 27px 30px; }
.config-title { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 19px; }
.config-title > span { width: 31px; height: 31px; flex: 0 0 31px; display: grid; place-items: center; border-radius: 9px; color: #4dbaf8; background: rgba(40, 151, 221, .12); font-size: .65rem; font-weight: 850; }
.config-title h3 { margin: 1px 0 4px; font: 750 1.02rem 'Manrope', 'Segoe UI', sans-serif; }
.config-title p { margin: 0; color: #718aa1; font-size: .76rem; line-height: 1.5; }
.config-title p b { color: #9ab2c8; }
.config-divider { height: 1px; background: rgba(91, 167, 222, .11); }
.memory-control { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(270px, 1fr); gap: 12px; }
.memory-stepper { min-height: 76px; padding: 10px; display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; gap: 10px; border: 1px solid rgba(91, 164, 218, .16); border-radius: 15px; background: rgba(9, 28, 54, .64); transition: opacity .2s, border-color .2s; }
.memory-button { width: 52px; height: 52px; border: 1px solid rgba(78, 177, 238, .24); border-radius: 12px; color: #bfe8ff; background: rgba(30, 107, 164, .23); font: 500 1.55rem 'Manrope', sans-serif; cursor: pointer; transition: transform .18s, color .18s, background .18s, border-color .18s; }
.memory-button:hover:not(:disabled) { transform: translateY(-2px); color: white; border-color: #42b8f7; background: rgba(38, 145, 211, .42); }
.memory-button:active:not(:disabled) { transform: scale(.95); }
.memory-button:disabled { cursor: not-allowed; opacity: .28; }
.memory-value { min-width: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.memory-value strong { color: #eef9ff; font: 800 1.18rem 'Manrope', sans-serif; letter-spacing: -.025em; }
.memory-value small { margin-top: 3px; color: #5e7891; font-size: .62rem; }
.unlimited-memory { min-height: 76px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(91, 164, 218, .16); border-radius: 15px; background: rgba(9, 28, 54, .64); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.unlimited-memory:hover { transform: translateY(-2px); border-color: rgba(71, 183, 246, .36); background: rgba(21, 64, 101, .45); }
.unlimited-memory > input { position: absolute; opacity: 0; pointer-events: none; }
.checkmark { width: 27px; height: 27px; flex: 0 0 27px; display: grid; place-items: center; border: 1px solid rgba(76, 175, 236, .32); border-radius: 8px; color: transparent; background: rgba(17, 55, 88, .55); transition: .2s; }
.checkmark svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.unlimited-memory > span:last-child { display: flex; flex-direction: column; }
.unlimited-memory b { color: #9bb2c7; font-size: .8rem; }
.unlimited-memory small { margin-top: 3px; color: #5e7891; font-size: .65rem; line-height: 1.35; }
.unlimited-memory input:checked + .checkmark { color: white; border-color: #3db5f6; background: linear-gradient(135deg, #2aa6e8, #3678dc); box-shadow: 0 0 18px rgba(49, 170, 237, .25); }
.unlimited-memory input:checked ~ span b { color: #effaff; }
.memory-control.is-unlimited .memory-stepper { opacity: .5; border-color: rgba(91, 164, 218, .09); }
.cpu-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 17px; }
.cpu-mode { cursor: pointer; }
.cpu-mode input { position: absolute; opacity: 0; }
.cpu-mode > span { min-height: 65px; padding: 13px 15px; display: flex; flex-direction: column; justify-content: center; border: 1px solid rgba(91, 164, 218, .14); border-radius: 13px; background: rgba(9, 28, 54, .64); transition: .2s; }
.cpu-mode b { color: #8ca4ba; font-size: .8rem; }
.cpu-mode small { margin-top: 3px; color: #5f7890; font-size: .68rem; }
.cpu-mode:hover > span { border-color: rgba(77, 183, 245, .3); }
.cpu-mode input:checked + span { border-color: #35aaf0; background: rgba(34, 116, 177, .23); box-shadow: inset 3px 0 #37acf0; }
.cpu-mode input:checked + span b { color: #eaf7ff; }
.core-input-label { display: flex; flex-direction: column; gap: 7px; }
.core-input-label > span { display: flex; justify-content: space-between; color: #87a0b6; font-size: .7rem; font-weight: 700; }
.core-input-label > span small { color: #526d87; font-weight: 600; }
.core-input-label input { height: 47px; padding: 0 14px; border: 1px solid rgba(91, 164, 218, .18); border-radius: 12px; outline: none; color: #ddecf8; background: rgba(5, 20, 41, .74); font: 500 .82rem 'Segoe UI', sans-serif; transition: .2s; }
.core-input-label input:focus { border-color: #39acee; box-shadow: 0 0 0 3px rgba(48, 166, 232, .1); }
.core-input-label input:disabled { cursor: not-allowed; opacity: .5; }
.core-input-label > small { color: #58728a; font-size: .65rem; }
.config-footer { padding: 19px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(91, 167, 222, .11); background: rgba(5, 18, 37, .38); }
.config-footer > div { display: flex; flex-direction: column; gap: 3px; }
.config-footer span { color: #86a0b7; font-size: .75rem; font-weight: 700; }
.config-footer small { color: #536e87; font-size: .67rem; }
.config-footer button { height: 43px; padding: 0 19px; border: 1px solid rgba(83, 145, 190, .15); border-radius: 12px; color: #526a80; background: #14263a; font-weight: 750; cursor: not-allowed; }
.config-footer button:not(:disabled) { color: white; border-color: #32aef1; background: linear-gradient(135deg, #269fe4, #2f73df); cursor: pointer; box-shadow: 0 10px 28px rgba(31, 137, 215, .2); }
.create-status { color: #718ba1 !important; font-size: .72rem !important; }
.create-status.error { color: #e77f92 !important; }
.config-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.core-input-label select { height: 47px; padding: 0 14px; border: 1px solid rgba(91, 164, 218, .18); border-radius: 12px; outline: none; color: #ddecf8; background: #091c36; font: 500 .82rem 'Segoe UI', sans-serif; }
.config-disabled { padding: 6px 10px; border: 1px solid rgba(91, 164, 218, .12); border-radius: 9px; color: #607a92 !important; background: rgba(12, 34, 59, .5); font-size: .65rem !important; text-transform: uppercase; letter-spacing: .08em; }

.settings-heading { margin-bottom: 20px; animation: dashEnter .65s cubic-bezier(.16, 1, .3, 1) both; }
.settings-heading > span { color: #43b9f8; font-size: .66rem; font-weight: 850; letter-spacing: .13em; }
.settings-heading h2 { margin: 6px 0 0; font: 800 1.75rem 'Manrope', 'Segoe UI', sans-serif; letter-spacing: -.04em; }
.settings-card { overflow: hidden; border: 1px solid rgba(85, 164, 221, .16); border-radius: 22px; background: linear-gradient(145deg, rgba(16, 39, 68, .83), rgba(8, 23, 45, .88)); box-shadow: 0 28px 75px rgba(0, 4, 15, .24); animation: dashEnter .72s .08s cubic-bezier(.16, 1, .3, 1) both; }
.settings-profile { padding: 25px 28px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid rgba(91, 167, 222, .11); }
.settings-profile img { width: 54px; height: 54px; border-radius: 16px; object-fit: cover; }
.settings-profile > div { display: flex; flex-direction: column; gap: 4px; }
.settings-profile b { color: #edf8ff; font: 750 .95rem 'Manrope', sans-serif; }
.settings-profile span { color: #657f98; font-size: .7rem; }
.settings-profile i { width: 9px; height: 9px; margin-left: auto; border-radius: 50%; background: #32d2a0; box-shadow: 0 0 15px rgba(50, 210, 160, .55); }
.settings-fields { padding: 25px 28px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.settings-fields label { display: flex; flex-direction: column; gap: 7px; }
.settings-fields label:last-child { grid-column: 1 / -1; }
.settings-fields label > span { color: #6f879e; font-size: .68rem; font-weight: 700; }
.settings-fields label > div { min-height: 46px; padding: 0 14px; display: flex; align-items: center; border: 1px solid rgba(91, 164, 218, .14); border-radius: 12px; color: #a7bdcf; background: rgba(7, 24, 48, .58); font-size: .78rem; }
.java-settings { margin-top: 18px; }
.settings-section-title { padding: 22px 25px 15px; border-bottom: 1px solid rgba(91, 167, 222, .1); }
.settings-section-title > span { color: #43b9f8; font-size: .66rem; font-weight: 850; letter-spacing: .13em; }
.settings-section-title h3 { margin: 5px 0 0; font: 750 1rem 'Manrope', sans-serif; }
.java-runtime-list { padding: 8px 25px 18px; }
.java-runtime { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid rgba(91, 167, 222, .08); }
.java-runtime:last-child { border-bottom: 0; }
.java-runtime > div { min-width: 0; display: flex; align-items: center; gap: 11px; }
.java-logo { width: 39px; height: 39px; flex: 0 0 39px; display: grid; place-items: center; border: 1px solid rgba(64, 176, 238, .18); border-radius: 11px; color: #54c0fa; background: rgba(33, 122, 183, .12); font-size: .72rem; font-weight: 850; }
.java-runtime > div > span:last-child { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.java-runtime b { color: #a9bfd1; font-size: .78rem; }
.java-runtime small { overflow: hidden; color: #526d86; font-size: .65rem; text-overflow: ellipsis; }
.java-runtime button { padding: 8px 11px; border: 1px solid rgba(66, 179, 240, .2); border-radius: 9px; color: #72c7f5; background: rgba(31, 109, 165, .13); font-size: .66rem; font-weight: 750; cursor: pointer; }
.java-runtime button:disabled { opacity: .55; cursor: wait; }
.eula-check { min-height: 62px; }

.nodes-heading { margin-bottom: 20px; }
.nodes-heading > span, .owned-heading > div > span { color: #43b9f8; font-size: .7rem; font-weight: 850; letter-spacing: .13em; }
.nodes-heading h2, .owned-heading h2 { margin: 6px 0 0; font: 800 1.75rem 'Manrope', sans-serif; letter-spacing: -.04em; }
.nodes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.node-card { border: 1px solid rgba(85, 164, 221, .16); border-radius: 20px; background: linear-gradient(145deg, rgba(16, 39, 68, .83), rgba(8, 23, 45, .88)); box-shadow: 0 24px 60px rgba(0, 4, 15, .2); overflow: hidden; animation: dashEnter .65s cubic-bezier(.16, 1, .3, 1) both; }
.node-top { padding: 21px; display: flex; align-items: center; gap: 13px; border-bottom: 1px solid rgba(91, 167, 222, .1); }
.node-symbol { width: 47px; height: 47px; display: grid; place-items: center; border: 1px solid rgba(71, 180, 239, .15); border-radius: 14px; color: #55bdf5; background: rgba(31, 110, 169, .13); }
.node-symbol svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.node-top > div:nth-child(2) { flex: 1; }
.node-top h3 { margin: 0 0 4px; font: 750 .95rem 'Manrope', sans-serif; }
.node-top p { margin: 0; color: #58738c; font-size: .68rem; }
.node-state { padding: 7px 10px; display: flex; align-items: center; gap: 7px; border: 1px solid rgba(99, 140, 174, .14); border-radius: 10px; color: #6e859b; background: rgba(12, 33, 56, .45); font-size: .66rem; font-weight: 800; }
.node-state i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.node-state.online { color: #38d29a; }
.node-state.delayed { color: #f0aa4b; }
.node-state.offline { color: #e16979; }
.node-details { padding: 18px 21px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.node-details span { min-height: 58px; padding: 11px 12px; display: flex; flex-direction: column; justify-content: center; gap: 4px; border: 1px solid rgba(91, 164, 218, .09); border-radius: 11px; background: rgba(7, 24, 47, .46); }
.node-details small { color: #526d86; font-size: .63rem; }
.node-details b { color: #9bb2c6; font-size: .75rem; }
.node-details .node-local-ip { grid-column: 1 / -1; min-height: 64px; padding-left: 16px; background: linear-gradient(90deg, rgba(12, 43, 74, .68), rgba(8, 29, 53, .52)); }
.node-details .node-local-ip b { color: #57c9ff; font: 800 .9rem 'Manrope', sans-serif; letter-spacing: .02em; }
.node-heartbeat { padding: 0 21px 18px; color: #506980; font-size: .64rem; }

.owned-heading { margin-bottom: 18px; display: flex; align-items: end; justify-content: space-between; }
.owned-heading > a { padding: 10px 13px; border: 1px solid rgba(55, 174, 237, .25); border-radius: 10px; color: #6dc8f7; background: rgba(31, 109, 165, .12); text-decoration: none; font-size: .7rem; font-weight: 750; }
.owned-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.owned-server-card { overflow: hidden; border: 1px solid rgba(84, 160, 215, .15); border-top: 3px solid rgba(72, 177, 235, .45); border-radius: 19px; color: inherit; background: linear-gradient(145deg, rgba(16, 40, 68, .82), rgba(8, 23, 44, .88)); text-decoration: none; box-shadow: 0 22px 55px rgba(0, 4, 15, .18); transition: transform .25s, border-color .25s, box-shadow .25s; }
.owned-server-card:hover { transform: translateY(-4px); border-color: rgba(60, 183, 244, .38); box-shadow: 0 28px 65px rgba(0, 4, 15, .28), 0 0 25px rgba(41, 155, 222, .08); }
.owned-server-top { padding: 19px; display: flex; align-items: center; gap: 12px; }
.owned-server-icon, .server-large-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(29, 71, 115, .35); }
.owned-server-icon img, .owned-server-icon svg, .server-large-icon img, .server-large-icon svg { max-width: 38px; max-height: 38px; }
.owned-server-top > div { flex: 1; }
.owned-server-top h3 { margin: 0 0 4px; font: 750 .95rem 'Manrope', sans-serif; }
.owned-server-top p { margin: 0; color: #58718a; font-size: .66rem; }
.server-state { display: flex; align-items: center; gap: 9px; color: #7690a6; font-size: .67rem; }
.server-metrics { padding: 0 13px 13px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.server-metrics span { min-height: 53px; padding: 9px 10px; display: flex; flex-direction: column; justify-content: center; gap: 4px; border-radius: 11px; background: rgba(5, 18, 36, .53); }
.server-metrics small { color: #4f6b84; font-size: .61rem; font-weight: 800; }
.server-metrics b { overflow: hidden; color: #94abc0; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }

.server-detail-head > a { color: #607e99; text-decoration: none; font-size: .7rem; }
.server-detail-head > div { margin: 21px 0; display: flex; align-items: center; gap: 14px; }
.server-detail-head > div > div { flex: 1; }
.server-detail-head > div > div > span { color: #45b9f7; font-size: .68rem; font-weight: 850; letter-spacing: .1em; }
.server-detail-head h2 { margin: 4px 0; font: 800 1.6rem 'Manrope', sans-serif; }
.server-detail-head p { margin: 0; color: #5d7890; font-size: .7rem; }
.server-live { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.live-metric { min-height: 105px; padding: 19px; display: flex; flex-direction: column; justify-content: center; gap: 8px; border: 1px solid rgba(85, 164, 221, .14); border-radius: 17px; background: linear-gradient(145deg, rgba(16, 39, 68, .82), rgba(8, 23, 45, .88)); }
.live-metric span { color: #6f899f; font-size: .7rem; font-weight: 700; }
.live-metric b { color: #e7f5ff; font: 750 1.15rem 'Manrope', sans-serif; }
.live-metric em { color: #48bbf7; font-style: normal; }
.power-card { margin-top: 15px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(85, 164, 221, .13); border-radius: 16px; background: rgba(12, 32, 57, .68); }
.allocation-card { margin-top: 15px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(66, 179, 240, .16); border-radius: 15px; background: rgba(23, 66, 102, .32); }
.allocation-card span { color: #66829a; font-size: .69rem; font-weight: 750; }
.allocation-card b { color: #8ed6fa; font: 750 .82rem 'Manrope', sans-serif; }
.power-card > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.power-card span { color: #a6bdcf; font-size: .78rem; font-weight: 750; }
.power-card p { margin: 0; color: #526e87; font-size: .66rem; }
.power-card > div:last-child { display: flex; gap: 8px; }
.power-card button { padding: 9px 12px; border: 1px solid rgba(61, 177, 238, .22); border-radius: 9px; color: #79c9f5; background: rgba(31, 112, 169, .14); font-size: .67rem; font-weight: 750; cursor: pointer; }
.power-card button.danger { color: #df7888; border-color: rgba(224, 91, 112, .2); background: rgba(119, 29, 46, .12); }
.read-only-badge { color: #668198; font-size: .68rem; }
.members-card { margin-top: 15px; padding: 20px; border: 1px solid rgba(85, 164, 221, .13); border-radius: 17px; background: rgba(10, 28, 51, .72); }
.members-head span { color: #43b9f8; font-size: .62rem; font-weight: 850; letter-spacing: .12em; }
.members-head h3 { margin: 5px 0 15px; font: 750 .94rem 'Manrope', sans-serif; }
.members-card form { display: grid; grid-template-columns: 1fr auto auto; gap: 9px; }
.members-card form > input { min-width: 0; height: 42px; padding: 0 12px; border: 1px solid rgba(91, 164, 218, .18); border-radius: 10px; outline: 0; color: #ddecf8; background: rgba(5, 20, 41, .74); }
.members-card form label { padding: 0 11px; display: flex; align-items: center; gap: 7px; color: #8099af; font-size: .68rem; }
.members-card form button, .member-row button { padding: 0 13px; border: 1px solid rgba(54, 174, 238, .25); border-radius: 10px; color: #83d0f8; background: rgba(31, 108, 165, .15); font-weight: 750; cursor: pointer; }
.members-list { margin-top: 13px; }
.members-list > p { margin: 0; color: #536e86; font-size: .68rem; }
.member-row { padding: 10px 0; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(91, 164, 218, .09); }
.member-row > div { display: flex; align-items: center; gap: 10px; }
.member-row img { width: 36px; height: 36px; border-radius: 10px; }
.member-row span { display: flex; flex-direction: column; gap: 2px; }
.member-row b { color: #aac0d2; font-size: .72rem; }
.member-row small { color: #577087; font-size: .62rem; }
.member-row button { height: 32px; color: #db7d8b; border-color: rgba(219, 80, 103, .18); background: rgba(103, 26, 42, .12); }

.users-heading { margin-bottom: 20px; display: flex; align-items: end; justify-content: space-between; gap: 20px; animation: dashEnter .65s cubic-bezier(.16, 1, .3, 1) both; }
.users-heading > div > span { color: #43b9f8; font-size: .72rem; font-weight: 850; letter-spacing: .13em; }
.users-heading h2 { margin: 6px 0 0; font: 800 1.75rem 'Manrope', 'Segoe UI', sans-serif; letter-spacing: -.04em; }
.add-user-button { height: 44px; padding: 0 17px; display: flex; align-items: center; gap: 9px; border: 1px solid #32aef1; border-radius: 12px; color: white; background: linear-gradient(135deg, #269fe4, #2f73df); box-shadow: 0 10px 30px rgba(31, 137, 215, .22); font: 750 .78rem 'Manrope', sans-serif; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.add-user-button span { font-size: 1.2rem; font-weight: 500; }
.add-user-button:hover { transform: translateY(-2px); box-shadow: 0 14px 35px rgba(31, 137, 215, .32); }
.users-card { overflow: hidden; border: 1px solid rgba(85, 164, 221, .16); border-radius: 20px; background: linear-gradient(145deg, rgba(16, 39, 68, .83), rgba(8, 23, 45, .88)); box-shadow: 0 28px 75px rgba(0, 4, 15, .24); animation: dashEnter .72s .08s cubic-bezier(.16, 1, .3, 1) both; }
.users-card-head { min-height: 46px; padding: 0 22px; display: grid; grid-template-columns: minmax(230px, 1.2fr) minmax(360px, 1fr) 90px; align-items: center; border-bottom: 1px solid rgba(91, 167, 222, .1); color: #526e87; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.users-card-head span:last-child { text-align: right; }
.user-row { min-height: 82px; padding: 14px 22px; display: grid; grid-template-columns: minmax(230px, 1.2fr) minmax(360px, 1fr) 90px; align-items: center; gap: 15px; border-bottom: 1px solid rgba(91, 167, 222, .09); transition: background .2s; }
.user-row:last-child { border-bottom: 0; }
.user-row:hover { background: rgba(31, 93, 146, .08); }
.user-identity { min-width: 0; display: flex; align-items: center; gap: 12px; }
.user-identity img { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 13px; object-fit: cover; }
.user-identity > span { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.user-identity b { overflow: hidden; color: #dceaf5; font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.user-identity small { color: #59738c; font-size: .68rem; }
.user-identity em { margin-left: 4px; padding: 5px 8px; border: 1px solid rgba(57, 179, 241, .17); border-radius: 8px; color: #48baf6; background: rgba(38, 133, 197, .1); font-size: .62rem; font-style: normal; font-weight: 800; }
.user-permissions { display: flex; align-items: center; gap: 17px; }
.permission-switch { display: grid; grid-template-columns: 31px auto; align-items: center; column-gap: 7px; cursor: pointer; }
.permission-switch input { position: absolute; opacity: 0; pointer-events: none; }
.permission-switch > span { position: relative; width: 31px; height: 18px; border: 1px solid rgba(92, 155, 203, .22); border-radius: 999px; background: #142b43; transition: .2s; }
.permission-switch > span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 10px; height: 10px; border-radius: 50%; background: #658098; transition: transform .2s, background .2s; }
.permission-switch input:checked + span { border-color: rgba(52, 173, 239, .5); background: rgba(31, 138, 208, .4); }
.permission-switch input:checked + span::after { transform: translateX(13px); background: #dff5ff; }
.permission-switch input:disabled + span { opacity: .55; }
.permission-switch b { color: #7991a7; font-size: .65rem; font-weight: 700; }
.delete-user { justify-self: end; padding: 7px 10px; border: 1px solid rgba(239, 88, 111, .18); border-radius: 9px; color: #bd7181; background: rgba(117, 32, 51, .1); font-size: .68rem; font-weight: 750; cursor: pointer; transition: .2s; }
.delete-user:hover, .delete-user.confirm { color: #ffdbe1; border-color: rgba(255, 92, 119, .42); background: rgba(175, 39, 65, .25); }
.protected-user { justify-self: end; color: #526c84; font-size: .65rem; font-weight: 700; }

.user-modal { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.user-modal.is-open { opacity: 1; pointer-events: auto; }
.user-modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(1, 7, 17, .76); backdrop-filter: blur(7px); }
.user-modal-card { position: relative; width: min(520px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; border: 1px solid rgba(79, 175, 235, .22); border-radius: 22px; background: linear-gradient(155deg, #102b49, #07172d 72%); box-shadow: 0 35px 100px rgba(0, 2, 10, .6), 0 0 40px rgba(31, 145, 218, .08); transform: translateY(18px) scale(.98); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.user-modal.is-open .user-modal-card { transform: none; }
.user-modal-head { padding: 22px 24px 18px; display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid rgba(90, 170, 227, .11); }
.user-modal-head span { color: #43b9f8; font-size: .66rem; font-weight: 850; letter-spacing: .13em; }
.user-modal-head h2 { margin: 5px 0 0; font: 800 1.35rem 'Manrope', sans-serif; }
.user-modal-head > button { width: 34px; height: 34px; border: 1px solid rgba(96, 168, 219, .15); border-radius: 10px; color: #7892a9; background: rgba(16, 48, 79, .4); font-size: 1.25rem; cursor: pointer; }
.user-modal form { padding: 21px 24px 24px; }
.discord-id-field { display: flex; flex-direction: column; gap: 7px; }
.discord-id-field > span, .modal-permissions > span { color: #758ea5; font-size: .7rem; font-weight: 750; }
.discord-id-field input { height: 47px; padding: 0 14px; border: 1px solid rgba(92, 167, 220, .2); border-radius: 12px; outline: none; color: #dfedf8; background: rgba(4, 18, 38, .72); font-size: .8rem; transition: .2s; }
.discord-id-field input:focus { border-color: #36acee; box-shadow: 0 0 0 3px rgba(47, 167, 232, .1); }
.discord-user-preview { min-height: 64px; margin: 13px 0 19px; padding: 11px; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(91, 164, 218, .12); border-radius: 13px; background: rgba(8, 27, 51, .55); }
.discord-user-preview img { width: 41px; height: 41px; border-radius: 12px; object-fit: cover; }
.discord-user-preview span { display: flex; flex-direction: column; gap: 3px; }
.discord-user-preview b { color: #a9bfd1; font-size: .76rem; }
.discord-user-preview small { color: #5e7890; font-size: .66rem; }
.discord-user-preview.is-loading { opacity: .55; }
.modal-permissions { display: flex; flex-direction: column; gap: 8px; }
.modal-permissions > span { margin-bottom: 2px; }
.modal-permissions label { min-height: 55px; padding: 10px 12px; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(91, 164, 218, .12); border-radius: 12px; background: rgba(8, 27, 51, .45); cursor: pointer; }
.modal-permissions input { position: absolute; opacity: 0; }
.modal-permissions i { width: 24px; height: 24px; flex: 0 0 24px; display: grid; place-items: center; border: 1px solid rgba(76, 175, 236, .28); border-radius: 7px; color: transparent; background: rgba(17, 55, 88, .55); transition: .2s; }
.modal-permissions i svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.modal-permissions input:checked + i { color: white; border-color: #3db5f6; background: linear-gradient(135deg, #2aa6e8, #3678dc); }
.modal-permissions label > span { display: flex; flex-direction: column; gap: 2px; }
.modal-permissions b { color: #9db4c8; font-size: .75rem; }
.modal-permissions small { color: #5d778f; font-size: .65rem; }
.user-modal-actions { margin-top: 20px; display: flex; justify-content: flex-end; gap: 9px; }
.user-modal-actions button { height: 42px; padding: 0 15px; border: 1px solid rgba(93, 169, 222, .17); border-radius: 11px; color: #829bb1; background: rgba(18, 50, 80, .46); font-weight: 750; cursor: pointer; }
.user-modal-actions button[type="submit"] { color: white; border-color: #35acf0; background: linear-gradient(135deg, #269fe4, #2f73df); }
.user-modal-actions button:disabled { opacity: .5; cursor: wait; }
.modal-error { min-height: 17px; margin: 9px 0 0; color: #f08b9d; font-size: .68rem; text-align: right; }
.panel-toast { position: fixed; z-index: 100; right: 22px; bottom: 22px; padding: 12px 15px; border: 1px solid rgba(77, 187, 242, .25); border-radius: 12px; color: #dff6ff; background: #102d49; box-shadow: 0 18px 50px rgba(0, 3, 13, .5); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .25s; font-size: .75rem; }
.panel-toast.show { opacity: 1; transform: none; }

@keyframes dashEnter { from { opacity: 0; transform: translateY(16px); filter: blur(3px); } to { opacity: 1; transform: none; filter: blur(0); } }

@media (max-width: 860px) {
  .dash-sidebar { position: fixed; left: 0; transform: translateX(-102%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
  .nav-open .dash-sidebar { transform: none; }
  .sidebar-backdrop { position: fixed; z-index: 15; inset: 0; display: block; border: 0; background: rgba(0, 5, 15, .7); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .nav-open .sidebar-backdrop { opacity: 1; pointer-events: auto; }
  .dashboard-header { height: 70px; padding: 0 18px; }
  .mobile-menu { width: 38px; height: 38px; padding: 9px; display: flex; flex-direction: column; justify-content: center; gap: 4px; border: 1px solid rgba(88, 171, 229, .16); border-radius: 11px; background: rgba(22, 57, 91, .45); }
  .mobile-menu span { height: 2px; width: 100%; border-radius: 2px; background: #8db2cf; }
  .dashboard-content { padding: 25px 20px 55px; }
  .service-grid { grid-template-columns: 1fr; }
  .section-heading p { display: none; }
  .memory-control { grid-template-columns: 1fr; }
  .nodes-grid, .owned-grid { grid-template-columns: 1fr; }
  .server-live { grid-template-columns: repeat(2, 1fr); }
  .config-pair { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .dashboard-header h1 { font-size: 1rem; }
  .dash-logout { width: 41px; padding: 0; justify-content: center; }
  .dash-logout span { display: none; }
  .dashboard-content { padding: 19px 14px 45px; }
  .welcome-panel { padding: 24px 21px; border-radius: 18px; }
  .welcome-panel h2 { font-size: 1.55rem; }
  .welcome-panel p { font-size: .86rem; }
  .service-section { margin-top: 28px; }
  .section-heading h2 { font-size: 1.16rem; }
  .service-card { min-height: 130px; padding: 17px; gap: 14px; }
  .service-card-icon { width: 54px; height: 54px; flex-basis: 54px; border-radius: 15px; }
  .service-card-icon svg { width: 31px; height: 31px; }
  .service-card p { font-size: .7rem; }
  .service-arrow { width: 34px; height: 34px; }
  .creator-heading { align-items: flex-start; }
  .creator-icon { width: 53px; height: 53px; flex: 0 0 53px; }
  .creator-heading h2 { font-size: 1.35rem; }
  .config-block { padding: 22px 18px; }
  .config-title { margin-bottom: 16px; }
  .memory-stepper { grid-template-columns: 48px 1fr 48px; }
  .memory-button { width: 48px; height: 48px; }
  .cpu-modes { grid-template-columns: 1fr; }
  .config-footer { padding: 17px 18px; align-items: stretch; flex-direction: column; }
  .config-footer button { width: 100%; }
  .settings-profile, .settings-fields { padding-left: 19px; padding-right: 19px; }
  .settings-fields { grid-template-columns: 1fr; }
  .settings-fields label:last-child { grid-column: auto; }
  .users-heading { align-items: stretch; flex-direction: column; }
  .add-user-button { align-self: flex-start; }
  .users-card-head { display: none; }
  .user-row { padding: 17px; grid-template-columns: 1fr auto; }
  .user-identity { grid-column: 1 / -1; }
  .user-permissions { grid-column: 1 / -1; flex-wrap: wrap; }
  .delete-user, .protected-user { grid-column: 2; grid-row: 2; }
  .user-modal { padding: 10px; }
  .user-modal-head, .user-modal form { padding-left: 18px; padding-right: 18px; }
  .node-details, .server-live { grid-template-columns: 1fr; }
  .server-metrics { grid-template-columns: 1fr; }
  .owned-server-top { align-items: flex-start; flex-wrap: wrap; }
  .owned-server-top .server-state { margin-left: 60px; }
  .power-card { align-items: stretch; flex-direction: column; gap: 15px; }
  .power-card > div:last-child { display: grid; grid-template-columns: 1fr 1fr; }
  .power-card button:last-child { grid-column: 1 / -1; }
  .java-runtime { align-items: flex-start; padding: 13px 0; flex-direction: column; }
  .members-card form { grid-template-columns: 1fr; }
  .members-card form button { height: 42px; }
}

/* Plugin removal and destructive server actions */
.plugin-card > button.installed { color:#ff899b; border-color:rgba(238,91,116,.28); background:rgba(132,31,52,.18); }
.plugin-card > button.installed:hover { color:#fff; background:#b93650; }

/* Account language */
.language-settings { display:grid;grid-template-columns:minmax(220px,1fr) minmax(360px,1.4fr);align-items:center;gap:28px; }
.settings-section-title p { margin:7px 0 0;color:#6f8ba1;font-size:.8rem;line-height:1.5; }
.language-settings form { display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:stretch; }
.language-option { position:relative;cursor:pointer; }
.language-option input { position:absolute;opacity:0;pointer-events:none; }
.language-option > span { min-height:58px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;border:1px solid rgba(69,167,220,.18);border-radius:13px;color:#91a9ba;background:#071b2e;transition:.2s; }
.language-option b { color:#dceaf4;font-size:.88rem; }.language-option small{color:#527893;font-weight:850;letter-spacing:.1em}
.language-option input:checked + span { border-color:#39b9f5;background:rgba(32,123,181,.22);box-shadow:0 0 0 3px rgba(54,183,244,.08); }
.language-settings button { padding:0 18px;border:1px solid #37b4ef;border-radius:12px;color:#fff;background:linear-gradient(135deg,#2daae8,#2c72dd);font-weight:800;cursor:pointer; }
.language-settings button:disabled{opacity:.5;cursor:wait}

/* Audit activity */
.activity-hero { margin-bottom:20px;padding:25px 27px;border:1px solid rgba(68,172,230,.18);border-radius:22px;background:radial-gradient(circle at 90% 0,rgba(40,143,214,.18),transparent 38%),linear-gradient(135deg,rgba(14,48,79,.95),rgba(7,29,51,.95)); }
.activity-hero>span{color:#49c2ff;font-size:.69rem;font-weight:900;letter-spacing:.14em}.activity-hero h2{margin:5px 0;font:800 1.55rem Manrope,sans-serif}.activity-hero p{margin:0;color:#7895aa}
.activity-list{overflow:hidden;border:1px solid rgba(66,165,220,.16);border-radius:18px;background:rgba(7,25,44,.75)}
.activity-row{padding:15px 18px;display:grid;grid-template-columns:38px minmax(180px,1fr) 190px 130px;align-items:center;gap:13px;border-bottom:1px solid rgba(74,154,205,.09)}.activity-row:last-child{border-bottom:0}
.activity-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;color:#62dfb2;background:rgba(40,181,132,.12);font-weight:900}.activity-row>div{min-width:0}.activity-row b,.activity-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-row b{font-size:.86rem}.activity-row small,.activity-row time,.activity-row code{margin-top:3px;color:#68869c;font-size:.72rem}.activity-row code{padding:6px 8px;border-radius:7px;background:#061727}.activity-empty{padding:70px 20px;text-align:center;color:#6f8da3}

/* Ctrl/Cmd+K quick navigation */
.command-palette{position:fixed;z-index:900;inset:0;display:grid;place-items:start center;padding:12vh 18px 18px;opacity:0;transition:opacity .18s}.command-palette[hidden]{display:none}.command-palette.is-open{opacity:1}.command-palette>button{position:absolute;inset:0;border:0;background:rgba(0,7,17,.76);backdrop-filter:blur(10px)}
.command-palette section{position:relative;width:min(620px,100%);overflow:hidden;border:1px solid rgba(67,181,238,.28);border-radius:18px;background:#081b2e;box-shadow:0 35px 100px rgba(0,0,0,.62);transform:translateY(-12px) scale(.985);transition:transform .18s}.command-palette.is-open section{transform:none}
.command-palette header{padding:12px 14px;display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:9px;border-bottom:1px solid rgba(70,156,208,.13)}.command-palette header>span{color:#55c8ff;font-weight:900}.command-palette input{height:40px;border:0;outline:0;color:#ecf8ff;background:transparent;font:700 .95rem Manrope,sans-serif}.command-palette kbd{padding:5px 7px;border:1px solid rgba(120,158,183,.2);border-radius:6px;color:#708da2;background:#0b2942;font-size:.62rem}
.command-palette [data-command-results]{max-height:390px;overflow:auto;padding:8px}.command-palette [data-command-results] a{padding:12px 13px;display:flex;justify-content:space-between;border-radius:10px;color:#8daabd;text-decoration:none;font-weight:750}.command-palette [data-command-results] a:hover,.command-palette [data-command-results] a.active{color:#fff;background:linear-gradient(135deg,rgba(40,156,219,.3),rgba(42,99,191,.28))}.command-palette [data-command-results] small{color:#5b819b}.command-palette footer{padding:10px 15px;border-top:1px solid rgba(70,156,208,.1);color:#57768d;font-size:.68rem}

@media(max-width:760px){.language-settings{grid-template-columns:1fr}.language-settings form{grid-template-columns:1fr 1fr}.language-settings button{grid-column:1/-1;min-height:48px}.activity-row{grid-template-columns:36px minmax(0,1fr)}.activity-row time,.activity-row code{grid-column:2}.activity-row code{justify-self:start}.command-palette{padding-top:7vh}}

/* Owner-only server performance */
.performance-page { display:grid; gap:22px; }
.performance-hero { position:relative; overflow:hidden; padding:27px 29px; display:flex; align-items:center; justify-content:space-between; gap:24px; border:1px solid rgba(67,181,241,.2); border-radius:22px; background:radial-gradient(circle at 88% 10%,rgba(31,158,229,.19),transparent 34%),linear-gradient(135deg,rgba(13,47,78,.96),rgba(6,25,45,.96)); box-shadow:0 22px 70px rgba(0,5,18,.25); }
.performance-hero > div:first-child > span { color:#4ac4ff; font-size:.69rem; font-weight:900; letter-spacing:.15em; }
.performance-hero h2 { margin:6px 0 5px; font:820 1.55rem Manrope,sans-serif; }
.performance-hero p { margin:0; color:#7897ac; font-size:.82rem; }
.performance-pulse { display:flex; align-items:center; gap:8px; padding:10px 13px; border:1px solid rgba(77,225,173,.18); border-radius:12px; color:#59dcaa; background:rgba(25,112,83,.14); font-size:.65rem; font-weight:900; letter-spacing:.09em; white-space:nowrap; }
.performance-pulse i { width:8px; height:8px; border-radius:50%; background:#4ee0a7; box-shadow:0 0 0 0 rgba(78,224,167,.5); animation:performance-pulse 1.7s infinite; }
@keyframes performance-pulse { 60%{box-shadow:0 0 0 8px rgba(78,224,167,0)} 100%{box-shadow:0 0 0 0 rgba(78,224,167,0)} }
.performance-core-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.performance-core { min-width:0; padding:18px; border:1px solid rgba(71,159,214,.14); border-radius:19px; background:linear-gradient(145deg,rgba(11,40,67,.9),rgba(6,26,46,.94)); transition:border-color .2s,transform .2s,box-shadow .2s; }
.performance-core[hidden] { display:none; }
.performance-core.assigned { border-color:rgba(66,183,241,.3); box-shadow:inset 0 1px rgba(138,220,255,.04),0 15px 40px rgba(0,8,24,.16); }
.performance-core:hover { transform:translateY(-3px); border-color:rgba(75,194,250,.42); }
.performance-core-top { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.performance-core-top span { color:#ddecf6; font:800 .9rem Manrope,sans-serif; }
.performance-core-top em { overflow:hidden; color:#536f84; font-size:.52rem; font-style:normal; font-weight:900; letter-spacing:.07em; text-overflow:ellipsis; white-space:nowrap; }
.performance-core.assigned .performance-core-top em { color:#52cfff; }
.performance-ring { --usage:0; width:128px; height:128px; margin:22px auto 5px; display:grid; place-items:center; border-radius:50%; background:conic-gradient(#35baf4 calc(var(--usage) * 1%),rgba(51,115,157,.13) 0); box-shadow:0 0 34px rgba(39,166,229,.08); transition:background .35s ease; }
.performance-ring::before { content:""; grid-area:1/1; width:105px; height:105px; border-radius:50%; background:linear-gradient(145deg,#09213a,#06172a); box-shadow:inset 0 0 0 1px rgba(88,181,232,.1); }
.performance-ring > span { position:relative; grid-area:1/1; display:grid; justify-items:center; }
.performance-ring b { color:#edf9ff; font:850 1.18rem Manrope,sans-serif; }
.performance-ring small { margin-top:2px; color:#5d7c92; font-size:.62rem; }
.performance-core:not(.assigned) .performance-ring { opacity:.42; filter:saturate(.4); }
.performance-resource-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.performance-resource-grid.host-resources { grid-template-columns:repeat(3,minmax(0,1fr)); }
.performance-resource { min-width:0; min-height:145px; padding:22px; display:flex; justify-content:space-between; flex-direction:column; border:1px solid rgba(67,166,222,.16); border-radius:19px; background:linear-gradient(145deg,rgba(12,42,70,.92),rgba(6,26,46,.94)); }
.performance-resource span { color:#51c6fa; font-size:.62rem; font-weight:900; letter-spacing:.13em; }
.performance-resource b { display:block; margin-top:10px; color:#eaf7ff; font:830 1.32rem Manrope,sans-serif; }
.performance-resource b em,.performance-resource small em { font-style:normal; }
.performance-resource small { display:block; margin-top:3px; color:#65839a; font-size:.73rem; }
.performance-bar { height:8px; overflow:hidden; border-radius:999px; background:rgba(53,120,164,.15); }
.performance-bar i { display:block; width:0; height:100%; border-radius:inherit; background:linear-gradient(90deg,#31b6ef,#3375e2); box-shadow:0 0 16px rgba(49,164,231,.34); transition:width .45s ease; }
.performance-resource.disk .performance-bar i { background:linear-gradient(90deg,#8b70f0,#4d8bea); }
.performance-resource.cpu-total .performance-bar i { background:linear-gradient(90deg,#46dda4,#29a5e8); }
.performance-resource.network { background:radial-gradient(circle at 90% 10%,rgba(60,202,169,.12),transparent 45%),linear-gradient(145deg,rgba(12,42,70,.92),rgba(6,26,46,.94)); }
.performance-resource.network small { color:#6acda9; font-weight:750; }
@media(max-width:1050px){.performance-core-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.performance-resource-grid{grid-template-columns:1fr 1fr}.performance-resource.network{grid-column:1/-1}}
@media(max-width:620px){.performance-hero{align-items:flex-start;flex-direction:column}.performance-core-grid,.performance-resource-grid,.performance-resource-grid.host-resources{grid-template-columns:1fr 1fr}.performance-resource.network{grid-column:1/-1}.performance-ring{width:112px;height:112px}.performance-ring::before{width:91px;height:91px}}
@media(max-width:420px){.performance-core-grid,.performance-resource-grid,.performance-resource-grid.host-resources{grid-template-columns:1fr}.performance-resource.network{grid-column:auto}}

/* Server forms use their own cards; avoid a second frame around the Java selector. */
.server-settings-form .settings-fields { padding:0!important; border:0!important; box-shadow:none!important; background:transparent!important; overflow:visible; }
.server-settings-form .settings-fields label:last-child { grid-column:auto; }
.server-settings-form .custom-select { min-width:0; }
.server-settings-form .settings-fields label > .custom-select { min-height:0; padding:0; border:0; border-radius:0; box-shadow:none; background:transparent; }
input[type="number"] { appearance:textfield; -moz-appearance:textfield; }
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { margin:0; -webkit-appearance:none; }

.file-kind { border:0; background:transparent; }
.file-kind svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.file-kind.folder { color:#45bdf8; background:transparent; }
.file-kind.jar { color:#f1a65d; background:transparent; }
.file-kind.json,.file-kind.config,.file-kind.yaml { color:#72dbae; background:transparent; }
.file-kind.archive { color:#c19aff; background:transparent; }
.file-name.non-editable { display:flex; align-items:center; cursor:default; }
.editor-file-icon svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }

.editor-find { min-height:48px; padding:7px 12px; display:flex; align-items:center; justify-content:flex-end; gap:7px; border-bottom:1px solid rgba(73,154,209,.11); background:#06111e; }
.editor-find[hidden] { display:none; }
.editor-find input { width:min(330px,100%); height:34px; padding:0 11px; border:1px solid rgba(68,174,232,.24); border-radius:8px; outline:0; color:#dcecf7; background:#03101c; }
.editor-find input:focus { border-color:#3bb9f6; box-shadow:0 0 0 3px rgba(52,179,241,.09); }
.editor-find span { min-width:55px; color:#67869c; font-size:.65rem; text-align:center; }
.editor-find button { width:31px; height:31px; border:1px solid rgba(70,164,218,.16); border-radius:8px; color:#84a5ba; background:#0a2136; cursor:pointer; }
.editor-find button:hover { color:#fff; border-color:rgba(64,186,244,.4); background:#123554; }

.plugin-progress-modal { position:fixed; z-index:220; inset:0; padding:18px; display:grid; place-items:center; opacity:0; pointer-events:none; transition:opacity .2s; }
.plugin-progress-modal.is-open { opacity:1; pointer-events:auto; }
.plugin-progress-modal>button { position:absolute; inset:0; border:0; background:rgba(0,7,17,.78); backdrop-filter:blur(9px); }
.plugin-progress-modal>section { position:relative; width:min(540px,100%); padding:28px; display:grid; grid-template-columns:58px minmax(0,1fr); gap:19px; border:1px solid rgba(69,181,240,.25); border-radius:21px; background:linear-gradient(145deg,#0d2d4b,#071a2d); box-shadow:0 30px 90px rgba(0,3,12,.6); transform:translateY(12px) scale(.98); animation:plugin-modal-in .28s forwards cubic-bezier(.2,.8,.2,1); }
.plugin-progress-icon { width:58px;height:58px;display:grid;place-items:center;border-radius:16px;color:#57c9ff;background:rgba(38,140,201,.2);font-size:1.3rem; }
.plugin-progress-modal small { color:#47bdf7;font-size:.66rem;font-weight:850;letter-spacing:.13em; }
.plugin-progress-modal h2 { margin:5px 0 5px;font:800 1.2rem Manrope,sans-serif; }
.plugin-progress-modal p { margin:0 0 18px;color:#7896ab;font-size:.78rem; }
.plugin-progress-modal i { height:8px;display:block;overflow:hidden;border-radius:999px;background:rgba(62,136,185,.17); }
.plugin-progress-modal em { width:0;height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#35b9f3,#3475e0);box-shadow:0 0 16px rgba(51,174,237,.42);transition:width .25s; }
.plugin-progress-modal b { margin-top:8px;display:block;color:#62cafd;font-size:.72rem;text-align:right; }
.plugin-progress-modal.complete .plugin-progress-icon { color:#63e1ae;background:rgba(36,153,110,.2); }
@keyframes plugin-modal-in { to { transform:none; } }

.creator-installer[hidden] { display:none; }
.creator-installer { margin-top:18px; }
@media(max-width:560px){.plugin-progress-modal>section{padding:21px;grid-template-columns:1fr}.plugin-progress-icon{width:48px;height:48px}.editor-find{flex-wrap:wrap}.editor-find input{width:100%}}
.danger-permission:has(input:checked) { border-color:rgba(239,91,116,.28)!important; background:rgba(125,27,48,.16)!important; }
.danger-permission > i { color:#e96980!important; }
.server-danger-zone { margin-top:18px; padding:22px 24px; display:flex; align-items:center; justify-content:space-between; gap:20px; border:1px solid rgba(232,81,108,.23); border-radius:18px; background:linear-gradient(135deg,rgba(95,20,38,.2),rgba(32,12,27,.22)); }
.server-danger-zone > div > span { color:#ed7188; font-size:.68rem; font-weight:900; letter-spacing:.13em; }
.server-danger-zone h3 { margin:5px 0 4px; font:800 1.15rem Manrope,sans-serif; }
.server-danger-zone p { margin:0; color:#826979; font-size:.76rem; }
.server-danger-zone > button { padding:11px 16px; border:1px solid rgba(240,89,115,.45); border-radius:11px; color:#ff8da0; background:rgba(151,32,54,.2); font-weight:800; cursor:pointer; transition:.2s; }
.server-danger-zone > button:hover { color:#fff; background:#bd3952; transform:translateY(-1px); }
.server-danger-zone.locked { opacity:.62; filter:saturate(.45); }
.server-danger-zone.locked > button,.server-danger-zone.locked > button:hover { color:#887b84; border-color:rgba(135,116,128,.18); background:rgba(56,46,54,.28); cursor:not-allowed; transform:none; }
.delete-server-modal { position:fixed; z-index:450; inset:0; padding:20px; display:grid; place-items:center; opacity:0; visibility:hidden; pointer-events:none; transition:opacity .22s,visibility .22s; }
.delete-server-modal.is-open { opacity:1; visibility:visible; pointer-events:auto; }
.delete-server-modal > button { position:absolute; inset:0; border:0; background:rgba(3,5,12,.82); backdrop-filter:blur(12px); }
.delete-server-modal form { position:relative; width:min(520px,100%); overflow:hidden; border:1px solid rgba(237,85,111,.28); border-radius:21px; background:linear-gradient(145deg,#1c1420,#0c131f); box-shadow:0 35px 100px rgba(0,0,0,.65); transform:translateY(18px) scale(.98); transition:transform .25s cubic-bezier(.2,.8,.2,1); }
.delete-server-modal.is-open form { transform:none; }
.delete-server-modal header { padding:25px; border-bottom:1px solid rgba(231,86,111,.14); }
.delete-server-modal header > span { color:#ef7188; font-size:.67rem; font-weight:900; letter-spacing:.13em; }
.delete-server-modal h2 { margin:7px 0; font:800 1.35rem Manrope,sans-serif; }
.delete-server-modal p { margin:0; color:#8d7783; line-height:1.5; }
.delete-server-modal p b { color:#ff8ba0; font-family:Consolas,monospace; }
.delete-server-modal label { padding:22px 25px; display:flex; flex-direction:column; gap:8px; color:#a68d99; font-size:.73rem; font-weight:760; }
.delete-server-modal input { height:48px; padding:0 14px; border:1px solid rgba(232,85,111,.23); border-radius:11px; outline:0; color:#fff; background:#0b111c; font:700 .9rem Consolas,monospace; }
.delete-server-modal input:focus { border-color:#e75a74; box-shadow:0 0 0 3px rgba(231,90,116,.1); }
.delete-server-modal footer { padding:16px 25px; display:flex; justify-content:flex-end; gap:9px; border-top:1px solid rgba(231,86,111,.12); }
.delete-server-modal footer button { padding:11px 15px; border:1px solid rgba(132,116,128,.2); border-radius:10px; color:#a08c98; background:rgba(50,42,51,.35); font-weight:800; cursor:pointer; }
.delete-server-modal footer .danger { color:#fff; border-color:#d84561; background:linear-gradient(135deg,#d84a64,#a92843); }
.delete-server-modal footer .danger:disabled { opacity:.35; cursor:not-allowed; }
@media (max-width:560px) { .server-danger-zone{align-items:flex-start;flex-direction:column}.server-danger-zone>button{width:100%}.delete-server-modal footer{flex-direction:column}.delete-server-modal footer button{width:100%} }

@media (max-width: 860px) {
  .file-table-head, .file-row { grid-template-columns: 32px 40px minmax(180px, 1fr) 90px 60px; }
  .file-table-head span:nth-child(5), .file-row time { display: none; }
}
@media (max-width: 560px) {
  .file-table-head, .file-row { grid-template-columns: 28px 36px minmax(110px, 1fr) 55px; }
  .file-table-head span:nth-child(4), .file-row small { display: none; }
}

/* Dedicated server workspace */
.server-sidebar { width: 286px; flex-basis: 286px; padding: 18px 14px 0; background: rgba(4, 13, 27, .94); }
.server-home-tile { min-height: 66px; padding: 10px 12px; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(77, 177, 239, .15); border-radius: 16px; color: #dceeff; background: linear-gradient(135deg, rgba(26, 79, 126, .38), rgba(10, 34, 63, .52)); text-decoration: none; transition: .25s; }
.server-home-tile:hover { border-color: rgba(65, 188, 255, .35); background: linear-gradient(135deg, rgba(32, 103, 166, .48), rgba(12, 46, 83, .6)); transform: translateY(-1px); }
.server-home-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 12px; color: #ecf9ff; background: linear-gradient(135deg, #2db5f6, #2474df); box-shadow: 0 8px 24px rgba(26, 139, 226, .25); }
.server-home-icon svg { width: 21px; fill: currentColor; }
.server-home-tile > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; }
.server-home-tile small { color: #6f8ba5; font-size: .68rem; }
.server-home-tile b { font-size: .83rem; }
.home-arrow { width: 17px; fill: none; stroke: #7092ae; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.server-side-identity { margin: 18px 1px 0; padding: 17px 13px; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(82, 164, 222, .11); border-radius: 15px; background: rgba(10, 32, 58, .55); }
.server-side-identity > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: rgba(32, 87, 138, .32); }
.server-side-identity img, .server-side-identity svg { max-width: 29px; max-height: 29px; fill: #7282ff; }
.server-side-identity div { min-width: 0; display: flex; flex: 1; flex-direction: column; }
.server-side-identity small { color: #597690; font-size: .68rem; font-weight: 750; letter-spacing: .08em; }
.server-side-identity b { overflow: hidden; color: #d7e8f6; font-size: .85rem; text-overflow: ellipsis; white-space: nowrap; }
.server-nav-label { margin: 25px 13px 9px; color: #4f6b84; font-size: .68rem; font-weight: 850; letter-spacing: .14em; }
.server-nav { display: flex; flex-direction: column; gap: 7px; }
.server-nav-item { position: relative; min-height: 50px; padding: 0 14px; display: flex; align-items: center; gap: 13px; border: 1px solid transparent; border-radius: 13px; color: #7690a8; text-decoration: none; font-size: .84rem; font-weight: 720; transition: .22s; }
.server-nav-item svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.server-nav-item:hover { color: #e8f7ff; border-color: rgba(78, 179, 240, .14); background: rgba(28, 93, 148, .16); transform: translateX(2px); }
.server-nav-item.active { color: #f3fbff; border-color: rgba(75, 187, 249, .2); background: linear-gradient(90deg, rgba(37, 132, 210, .27), rgba(17, 65, 110, .15)); }
.server-nav-item.active::before { content: ""; position: absolute; left: -15px; width: 3px; height: 25px; border-radius: 0 4px 4px 0; background: #3dbbf8; box-shadow: 0 0 16px #2ba7ef; }
.server-header > div { gap: 11px; }
.server-header > div > div { display: flex; flex-direction: column; }
.server-header small { color: #5e7a94; font-size: .65rem; font-weight: 800; letter-spacing: .08em; }
.header-server-icon { width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid rgba(78, 174, 234, .15); border-radius: 11px; background: rgba(18, 61, 100, .42); }
.header-server-icon img, .header-server-icon svg { max-width: 26px; max-height: 26px; fill: #7785ff; }
.server-header .server-state { padding: 8px 12px; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(79, 170, 229, .13); border-radius: 12px; background: rgba(14, 44, 74, .47); }
.server-header .server-state b { color: #9fb5c8; font-size: .72rem; }
.server-content { max-width: 1380px; }
.server-power { margin-bottom: 22px; padding: 20px 22px; border-color: rgba(63, 178, 242, .16); background: linear-gradient(105deg, rgba(17, 56, 94, .75), rgba(8, 31, 57, .75)); }
.server-power span { color: #42bafb; font-size: .66rem; font-weight: 850; letter-spacing: .12em; }
.server-power h2 { margin: 4px 0 0; font: 790 1.15rem 'Manrope', sans-serif; }
.server-power button { position: relative; }
.server-power button:first-child i { width: 7px; height: 7px; display: inline-block; margin-right: 7px; border-radius: 50%; background: #37db99; box-shadow: 0 0 9px #37db99; }
.console-card { overflow: hidden; border: 1px solid rgba(69, 158, 219, .17); border-radius: 19px; background: #030914; box-shadow: 0 22px 60px rgba(0, 3, 12, .32); }
.console-head { height: 61px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(88, 167, 220, .12); background: linear-gradient(90deg, rgba(15, 48, 80, .82), rgba(8, 27, 51, .82)); }
.console-head > div { display: flex; align-items: center; gap: 11px; }
.console-head > div > i { width: 9px; height: 9px; border-radius: 50%; background: #38d895; box-shadow: 0 0 12px rgba(56, 216, 149, .75); }
.console-head span span, .console-head span { display: flex; flex-direction: column; }
.console-head b { color: #e6f3fc; font-size: .82rem; }
.console-head small { color: #5b758d; font-size: .66rem; }
.console-head > span { color: #3edca0; font-size: .65rem; font-weight: 850; letter-spacing: .14em; }
.console-output { height: clamp(330px, 48vh, 590px); margin: 0; padding: 19px 21px; overflow: auto; color: #f4f7fb; background: radial-gradient(circle at 90% 0, rgba(28, 91, 143, .1), transparent 35%), #030914; font: 500 .79rem/1.72 Consolas, 'Cascadia Code', monospace; white-space: pre-wrap; overflow-wrap: anywhere; scrollbar-color: #1d6597 #06101d; }
.console-output > span { display: block; min-height: 1.72em; }
.console-output .log-info { color: #f4f7fb; }
.console-output .log-success { color: #5de2a8; }
.console-output .log-warn { color: #efc16a; }
.console-output .log-error { color: #ff7890; }
.console-command { min-height: 62px; padding: 10px 12px 10px 18px; display: flex; align-items: center; gap: 10px; border-top: 1px solid rgba(86, 161, 213, .12); background: #071221; }
.console-command > span { color: #38b9f8; font: 800 1.3rem monospace; }
.console-command input { min-width: 0; height: 40px; flex: 1; border: 0; outline: 0; color: #d7e8f5; background: transparent; font: .82rem Consolas, monospace; }
.console-command input::placeholder { color: #435d74; }
.console-command button { height: 39px; padding: 0 17px; border: 1px solid #329fdf; border-radius: 10px; color: white; background: linear-gradient(135deg, #299edd, #2872d6); font-weight: 750; cursor: pointer; }
.console-command button:disabled { opacity: .35; cursor: not-allowed; }
.console-card + .server-live { margin-top: 22px; }

.files-card { position: relative; overflow: hidden; min-height: 570px; border: 1px solid rgba(69, 160, 221, .16); border-radius: 19px; background: rgba(7, 24, 45, .76); box-shadow: 0 25px 70px rgba(0, 3, 13, .25); }
.files-toolbar { min-height: 86px; padding: 17px 20px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid rgba(84, 164, 219, .12); }
.files-toolbar > div:first-child { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.files-toolbar > div:first-child > span { color: #41b8f7; font-size: .65rem; font-weight: 850; letter-spacing: .13em; }
.files-toolbar nav { display: flex; align-items: center; gap: 5px; overflow: auto; }
.files-toolbar nav button { padding: 0; border: 0; color: #c3d7e7; background: none; font-size: .78rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.files-toolbar nav span { color: #506b82; }
.files-toolbar > div:last-child { display: flex; gap: 9px; }
.file-filter { width: 170px; height: 40px; padding: 0 11px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(75,172,235,.16); border-radius: 11px; background: rgba(5,24,43,.62); transition: .2s; }
.file-filter:focus-within { width: 210px; border-color: rgba(65,184,247,.48); box-shadow: 0 0 0 3px rgba(49,164,229,.08); }
.file-filter svg { width: 16px; flex: 0 0 16px; fill: none; stroke: #5e829c; stroke-width: 1.8; stroke-linecap: round; }
.file-filter input { width: 100%; height: 100%; padding: 0; border: 0; outline: 0; color: #cce1ef; background: transparent; font-size: .74rem; }
.file-filter input::placeholder { color: #536f84; }
.files-toolbar button { height: 40px; padding: 0 14px; border: 1px solid rgba(75, 172, 235, .2); border-radius: 11px; color: #a1bbce; background: rgba(18, 55, 87, .52); font-weight: 740; cursor: pointer; transition: .2s; }
.files-toolbar button:hover { color: white; border-color: rgba(65, 184, 247, .38); }
.files-toolbar .upload-file-button { color: white; border-color: #36a7e8; background: linear-gradient(135deg, #29a4e6, #2c72d9); }
.files-toolbar .refresh-file-button { width: 40px; padding: 0; font-size: 1.15rem; }
.refresh-file-button.spinning { animation: file-refresh .7s linear infinite; }
@keyframes file-refresh { to { transform: rotate(360deg); } }
.file-table-head, .file-row { display: grid; grid-template-columns: 28px minmax(230px, 1fr) 130px 190px 70px; align-items: center; }
.file-table-head { min-height: 43px; padding: 0 19px; color: #536f87; font-size: .67rem; font-weight: 800; letter-spacing: .06em; }
.file-row { width: 100%; min-height: 57px; padding: 0 18px; border: 0; border-top: 1px solid rgba(75, 151, 207, .08); color: #abc1d2; background: transparent; text-align: left; transition: .18s; }
.file-row:hover { background: rgba(27, 92, 145, .14); }
.file-kind { color: #4db9f4; font-size: 1rem; }
.file-row .file-name { min-width: 0; padding: 0 8px; overflow: hidden; border: 0; color: #ccdfed; background: transparent; font: 700 .79rem inherit; text-align: left; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.file-row.directory .file-name { color: #e4f3fc; }
.file-row small, .file-row time { color: #688399; font-size: .7rem; font-style: normal; }
.file-actions { display:flex; align-items:center; justify-content:flex-end; gap:4px; }
.file-actions button { width:31px; height:31px; padding:0; display:grid; place-items:center; border:1px solid transparent; border-radius:8px; color:#6f879a; background:transparent; cursor:pointer; transition:.18s; }
.file-actions svg { width:16px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.file-download:hover { color:#72cdf7; border-color:rgba(64,183,241,.24); background:rgba(42,137,195,.1); }
.file-delete:hover { color: #ff8295; border-color: rgba(238, 99, 119, .22); background: rgba(238, 99, 119, .08); }
.files-loading, .files-empty { min-height: 300px; display: grid; place-content: center; gap: 6px; color: #607b92; text-align: center; font-size: .8rem; }
.files-empty b { color: #9eb7ca; font-size: .9rem; }
.files-empty span { color: #597389; }
.drop-overlay { position: absolute; z-index: 8; inset: 10px; display: grid; place-items: center; border: 2px dashed rgba(63, 188, 250, .5); border-radius: 16px; background: rgba(5, 22, 42, .92); opacity: 0; pointer-events: none; transform: scale(.985); transition: .2s; }
.drop-overlay.show { opacity: 1; transform: none; }
.drop-overlay > div { display: flex; align-items: center; flex-direction: column; }
.drop-overlay span { width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: 13px; border-radius: 18px; color: white; background: linear-gradient(135deg, #2eb1ee, #286fdc); font-size: 1.8rem; box-shadow: 0 15px 40px rgba(38, 135, 220, .35); }
.drop-overlay b { font-size: 1.05rem; }
.drop-overlay small { margin-top: 5px; color: #6d89a1; }
.upload-progress-list { min-height: 110px; max-height: min(52vh, 470px); padding: 16px; display: flex; overflow: auto; flex-direction: column; gap: 9px; }
.upload-progress { padding: 13px 14px; border: 1px solid rgba(68, 179, 239, .24); border-radius: 12px; background: #0c2944; box-shadow: 0 15px 45px rgba(0, 3, 12, .45); }
.upload-progress > div { display: flex; justify-content: space-between; gap: 12px; }
.upload-progress b { overflow: hidden; font-size: .74rem; text-overflow: ellipsis; white-space: nowrap; }
.upload-progress span { color: #78a1bd; font-size: .7rem; }
.upload-progress > i { height: 4px; margin-top: 9px; display: block; overflow: hidden; border-radius: 5px; background: #153d5d; }
.upload-progress em { width: 0; height: 100%; display: block; background: linear-gradient(90deg, #31b6f3, #3c7be5); transition: width .1s linear; }
.upload-progress.complete em { background: #3add9d; }
.upload-progress.failed em { background: #ef687e; }
.file-modal { position: fixed; z-index: 110; inset: 0; display: grid; place-items: center; padding: 16px; opacity: 0; pointer-events: none; transition: .2s; }
.file-modal.is-open { opacity: 1; pointer-events: auto; }
.file-modal > button { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(0, 6, 16, .8); backdrop-filter: blur(8px); }
.file-modal form { position: relative; width: min(470px, 100%); overflow: hidden; border: 1px solid rgba(72, 177, 238, .2); border-radius: 18px; background: #0b1d32; box-shadow: 0 30px 100px rgba(0, 2, 10, .65); transform: translateY(12px); transition: .25s; }
.file-modal.is-open form { transform: none; }
.file-modal > section { position: relative; width: min(570px, 100%); overflow: hidden; border: 1px solid rgba(72,177,238,.2); border-radius: 18px; background: #0b1d32; box-shadow: 0 30px 100px rgba(0,2,10,.65); transform: translateY(14px) scale(.985); transition: .25s cubic-bezier(.2,.85,.25,1); }
.file-modal.is-open > section { transform: none; }
.file-modal header { min-height: 68px; padding: 16px 19px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(83, 164, 220, .12); }
.file-modal header h2 { margin: 0; font-size: 1rem; }
.file-modal header small { color: #43b9f7; font-size: .62rem; font-weight: 850; letter-spacing: .12em; }
.file-modal header button { width: 33px; height: 33px; border: 1px solid rgba(84, 168, 224, .14); border-radius: 9px; color: #7f9ab0; background: rgba(18, 52, 83, .5); cursor: pointer; }
.file-modal label { padding: 20px; display: flex; flex-direction: column; gap: 8px; color: #8099ae; font-size: .72rem; font-weight: 720; }
.file-modal input { height: 46px; padding: 0 13px; border: 1px solid rgba(73, 174, 233, .22); border-radius: 11px; outline: 0; color: #e0edf7; background: #071625; }
.file-modal input:focus, .file-modal textarea:focus { border-color: #39b4f4; box-shadow: 0 0 0 3px rgba(57, 180, 244, .1); }
.file-modal footer { padding: 14px 19px; display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid rgba(83, 164, 220, .11); }
.file-modal footer button { height: 39px; padding: 0 14px; border: 1px solid rgba(79, 164, 220, .18); border-radius: 10px; color: #8ca5b8; background: rgba(17, 52, 83, .55); cursor: pointer; }
.file-modal footer button[type="submit"] { color: white; border-color: #37a9e9; background: linear-gradient(135deg, #2ba5e6, #2d73da); }
.upload-modal footer { align-items: center; justify-content: space-between; }
.upload-modal footer > span { color: #607f96; font-size: .7rem; }
.upload-modal .upload-progress { background: rgba(8,35,60,.88); box-shadow: none; animation: upload-row-in .22s ease-out; }
.upload-modal .upload-progress.complete { border-color: rgba(58,221,157,.28); }
.upload-modal .upload-progress.failed { border-color: rgba(239,104,126,.32); }
.download-progress { margin:16px; padding:18px; border:1px solid rgba(68,179,239,.24); border-radius:14px; background:rgba(8,35,60,.88); }
.download-progress > div { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.download-progress b { min-width:0; overflow:hidden; color:#d8ebf7; font-size:.78rem; text-overflow:ellipsis; white-space:nowrap; }
.download-progress span { flex:0 0 auto; color:#78a1bd; font-size:.7rem; }
.download-progress > i { height:7px; margin-top:14px; display:block; overflow:hidden; border-radius:999px; background:#153d5d; }
.download-progress em { width:0; height:100%; display:block; border-radius:inherit; background:linear-gradient(90deg,#31b6f3,#3c7be5); box-shadow:0 0 15px rgba(49,182,243,.3); transition:width .12s linear; }
@keyframes upload-row-in { from { opacity: 0; transform: translateY(7px); } }
.editor-modal form { width: min(980px, 100%); }
.editor-modal textarea { width: calc(100% - 32px); height: min(62vh, 650px); margin: 16px; padding: 16px; resize: vertical; border: 1px solid rgba(72, 166, 224, .17); border-radius: 12px; outline: 0; color: #c6dae8; background: #030b15; font: .78rem/1.55 Consolas, monospace; }
.server-members { max-width: 960px; margin: 0 auto; }
.server-members .members-head h2 { margin: 7px 0 0; font: 790 1.35rem 'Manrope', sans-serif; }
.server-members .members-head p { margin: 6px 0 0; color: #708ba2; font-size: .78rem; }
.server-members form { margin-top: 22px; grid-template-columns: minmax(220px, 1fr) auto auto; }
.server-members form > button { min-height: 42px; }
.member-checks { display: flex; gap: 8px; }
.member-checks label { min-width: 100px; min-height: 42px; border: 1px solid rgba(77, 166, 225, .14); border-radius: 10px; background: rgba(9, 28, 50, .56); cursor: pointer; transition: .2s; }
.member-checks label:hover { color: #cde7f8; border-color: rgba(63, 180, 242, .3); }
.member-checks input { width: 18px; height: 18px; appearance: none; border: 1px solid rgba(79, 174, 231, .35); border-radius: 5px; background: rgba(7, 23, 42, .85); }
.member-checks input:checked { border-color: #37b4f2; background: #2d8fe1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8.2 3.1 3.1L13 4.8' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }

/* Server access workspace */
.users-overview-hero { margin-bottom: 20px; padding: 23px 25px; display: grid; grid-template-columns: minmax(300px, 1fr) auto auto; align-items: center; gap: 22px; border: 1px solid rgba(70, 179, 241, .18); border-radius: 20px; background: radial-gradient(circle at 72% 0, rgba(46, 155, 228, .18), transparent 30%), linear-gradient(115deg, rgba(14, 52, 88, .86), rgba(7, 27, 51, .86)); box-shadow: 0 24px 60px rgba(0, 5, 18, .2); }
.users-overview-main { min-width: 0; display: flex; align-items: center; gap: 16px; }
.users-overview-icon { width: 55px; height: 55px; flex: 0 0 55px; display: grid; place-items: center; border-radius: 16px; color: white; background: linear-gradient(135deg, #2eb5f1, #286edb); box-shadow: 0 13px 32px rgba(38, 131, 218, .28); }
.users-overview-icon svg { width: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.users-overview-main small { color: #46bdf8; font-size: .7rem; font-weight: 850; letter-spacing: .12em; }
.users-overview-main h2 { margin: 4px 0 2px; font: 800 1.35rem 'Manrope', sans-serif; }
.users-overview-main p { margin: 0; color: #7795ab; font-size: .82rem; }
.users-overview-stats { display: flex; overflow: hidden; border: 1px solid rgba(75, 170, 229, .15); border-radius: 13px; background: rgba(5, 22, 42, .5); }
.users-overview-stats > span { min-width: 105px; padding: 10px 13px; display: flex; flex-direction: column; }
.users-overview-stats > span + span { border-left: 1px solid rgba(75, 160, 215, .12); }
.users-overview-stats b { color: #dff4ff; font: 800 1.15rem 'Manrope', sans-serif; }
.users-overview-stats small { color: #638097; font-size: .66rem; }
.users-overview-hero .add-user-button { white-space: nowrap; }
.server-access-hero { margin-bottom: 20px; padding: 25px 27px; display: flex; align-items: center; justify-content: space-between; gap: 24px; overflow: hidden; border: 1px solid rgba(70, 179, 241, .18); border-radius: 20px; background: radial-gradient(circle at 82% 10%, rgba(45, 151, 226, .2), transparent 33%), linear-gradient(115deg, rgba(14, 52, 88, .88), rgba(7, 27, 51, .88)); box-shadow: 0 24px 60px rgba(0, 5, 18, .2); }
.server-access-hero > div:first-child { display: flex; align-items: center; gap: 17px; }
.access-hero-icon { width: 58px; height: 58px; flex: 0 0 58px; display: grid; place-items: center; border: 1px solid rgba(92, 196, 249, .3); border-radius: 17px; color: white; background: linear-gradient(135deg, #2eb5f1, #286edb); box-shadow: 0 14px 35px rgba(38, 131, 218, .3); }
.access-hero-icon svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.server-access-hero small, .grant-card-head > span, .member-list-head > div > span { color: #46bdf8; font-size: .72rem; font-weight: 850; letter-spacing: .12em; }
.server-access-hero h2 { margin: 4px 0 2px; font: 800 1.42rem 'Manrope', sans-serif; }
.server-access-hero p { margin: 0; color: #7e9bb2; font-size: .88rem; }
.access-count { min-width: 125px; padding: 12px 16px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(78, 177, 236, .17); border-radius: 14px; background: rgba(6, 24, 45, .58); }
.access-count b { color: #eaf8ff; font: 800 1.45rem 'Manrope', sans-serif; }
.access-count span { max-width: 66px; color: #6f8da5; font-size: .72rem; line-height: 1.25; }
.server-access-grid { display: grid; grid-template-columns: minmax(315px, 390px) minmax(440px, 1fr); gap: 20px; align-items: start; }
.grant-access-card, .server-members-list-card { overflow: hidden; border: 1px solid rgba(75, 164, 223, .14); border-radius: 19px; background: rgba(7, 24, 45, .78); box-shadow: 0 20px 55px rgba(0, 4, 15, .18); }
.grant-card-head, .member-list-head { min-height: 78px; padding: 19px 21px; border-bottom: 1px solid rgba(79, 163, 218, .1); background: linear-gradient(90deg, rgba(15, 50, 82, .65), rgba(8, 29, 53, .42)); }
.grant-card-head h3, .member-list-head h3 { margin: 5px 0 0; font: 780 1.08rem 'Manrope', sans-serif; }
.grant-id-field { padding: 20px 20px 14px; display: flex; flex-direction: column; gap: 8px; }
.grant-id-field > span, .grant-label { color: #7894aa; font-size: .76rem; font-weight: 760; }
.grant-id-field > div { height: 48px; padding: 0 13px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(83, 177, 233, .2); border-radius: 12px; background: rgba(3, 15, 31, .75); transition: .2s; }
.grant-id-field > div:focus-within { border-color: #3ab4f3; box-shadow: 0 0 0 3px rgba(55, 176, 240, .1); }
.grant-id-field svg { width: 20px; flex: 0 0 20px; fill: #6688a2; }
.grant-id-field input { min-width: 0; height: 100%; flex: 1; border: 0; outline: 0; color: #dcebf6; background: transparent; font-size: .86rem; }
.grant-id-field input::placeholder { color: #405c73; }
.grant-id-field small { color: #526e84; font-size: .72rem; line-height: 1.4; }
.grant-label { margin: 5px 20px 10px; display: block; }
.grant-permissions { padding: 0 20px; display: grid; gap: 8px; }
.grant-permissions label { position: relative; min-height: 63px; padding: 10px 12px; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(79, 163, 218, .12); border-radius: 13px; background: rgba(9, 31, 55, .48); cursor: pointer; transition: .2s; }
.grant-permissions label:hover { border-color: rgba(62, 182, 242, .27); background: rgba(15, 48, 79, .62); }
.grant-permissions input { position: absolute; opacity: 0; }
.grant-permissions i { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 11px; color: #6c8da6; background: rgba(22, 62, 94, .58); transition: .2s; }
.grant-permissions i svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.grant-permissions label > span { display: flex; flex: 1; flex-direction: column; gap: 2px; }
.grant-permissions b { color: #afc5d6; font-size: .82rem; }
.grant-permissions small { color: #567188; font-size: .71rem; }
.grant-permissions em { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid rgba(78, 163, 219, .2); border-radius: 7px; color: transparent; background: rgba(4, 18, 35, .6); font-size: .72rem; font-style: normal; transition: .2s; }
.grant-permissions input:checked ~ i { color: #dff8ff; background: linear-gradient(135deg, rgba(35, 166, 229, .55), rgba(42, 105, 211, .55)); }
.grant-permissions input:checked ~ span b { color: #e6f5ff; }
.grant-permissions input:checked ~ em { color: white; border-color: #38b6f4; background: linear-gradient(135deg, #2aa8e8, #2f73da); }
.grant-submit { height: 47px; width: calc(100% - 40px); margin: 18px 20px 20px; border: 1px solid #36adf0; border-radius: 12px; color: white; background: linear-gradient(135deg, #29a5e7, #2c70da); box-shadow: 0 12px 28px rgba(29, 121, 211, .2); font-weight: 780; cursor: pointer; transition: .2s; }
.grant-submit span { margin-right: 7px; font-size: 1.05rem; }
.grant-submit:hover { filter: brightness(1.08); transform: translateY(-1px); }
.grant-submit:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.member-list-head { display: flex; align-items: center; justify-content: space-between; }
.member-list-head > b { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(74, 173, 232, .18); border-radius: 10px; color: #8dcdf1; background: rgba(22, 65, 98, .5); font-size: .78rem; }
.server-members-list { padding: 9px; }
.server-member-row { min-height: 76px; padding: 12px; display: grid; grid-template-columns: minmax(190px, 1fr) minmax(190px, auto) auto; align-items: center; gap: 13px; border: 1px solid transparent; border-radius: 13px; transition: .2s; }
.server-member-row + .server-member-row { margin-top: 4px; }
.server-member-row:hover { border-color: rgba(71, 170, 229, .13); background: rgba(19, 57, 89, .28); }
.server-member-row.owner { background: linear-gradient(90deg, rgba(27, 89, 139, .22), rgba(12, 37, 65, .16)); }
.server-member-person { min-width: 0; display: flex; align-items: center; gap: 11px; }
.server-member-person img { width: 43px; height: 43px; flex: 0 0 43px; border: 1px solid rgba(83, 179, 235, .2); border-radius: 12px; object-fit: cover; }
.server-member-person > span { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.server-member-person b { overflow: hidden; color: #d6e7f3; font-size: .84rem; text-overflow: ellipsis; white-space: nowrap; }
.server-member-person small { color: #577289; font-size: .69rem; }
.server-member-permissions { display: flex; flex-wrap: wrap; gap: 6px; }
.member-permission { min-height: 27px; padding: 0 8px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid rgba(75, 169, 226, .15); border-radius: 8px; color: #86a8bf; background: rgba(15, 49, 79, .48); font-size: .68rem; font-weight: 750; }
.member-permission.zasilanie { color: #69dca9; border-color: rgba(61, 207, 146, .18); background: rgba(26, 109, 74, .15); }
.member-permission.owner-badge { color: #75ccf7; border-color: rgba(62, 183, 241, .22); }
.member-permission.all { color: #74dcae; border-color: rgba(64, 210, 151, .18); }
.server-member-remove { height: 34px; padding: 0 10px; border: 1px solid rgba(235, 101, 122, .14); border-radius: 9px; color: #b56b79; background: rgba(108, 28, 45, .11); font-size: .68rem; font-weight: 730; cursor: pointer; }
.server-member-remove:hover { color: #ff8da0; border-color: rgba(237, 102, 123, .32); }
.protected-member { color: #5d7a91; font-size: .68rem; font-weight: 720; }
.members-empty { min-height: 210px; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.members-empty > span { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 10px; border: 1px dashed rgba(66, 179, 238, .3); border-radius: 12px; color: #4dafdf; background: rgba(20, 64, 98, .25); font-size: 1.15rem; }
.members-empty b { color: #8ea9bc; font-size: .82rem; }
.members-empty small { margin-top: 4px; color: #526e84; font-size: .7rem; }

/* File type badges and editor */
.file-table-head, .file-row { grid-template-columns: 38px 44px minmax(230px, 1fr) 130px 190px 92px; }
.file-kind { width: 34px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(76, 174, 230, .16); border-radius: 8px; color: #75bfe8; background: rgba(19, 64, 98, .38); font-size: .58rem; font-weight: 850; letter-spacing: -.02em; }
.file-kind.folder { color: #50c6f5; background: rgba(27, 112, 160, .25); }
.file-kind.json { color: #efc86c; background: rgba(135, 97, 24, .18); }
.file-kind.config { color: #72dbae; background: rgba(31, 119, 80, .17); }
.file-kind.log { color: #b8a0ff; background: rgba(86, 59, 156, .18); }
.file-kind.code { color: #75bff4; background: rgba(36, 92, 151, .2); }
.file-kind.text { color:#70c9f4; background:rgba(31,105,151,.2); }
.file-selection-bar .delete-selected-files { color: #ff91a1; border-color: rgba(239,104,126,.3); background: rgba(126,35,52,.18); }
.file-row[hidden] { display: none; }
.editor-modal { padding: 24px; }
.editor-modal form { width: min(1120px, 100%); max-height: calc(100svh - 48px); display: flex; flex-direction: column; background: #081729; }
.editor-modal header { min-height: 76px; flex: 0 0 auto; background: linear-gradient(90deg, rgba(16, 54, 88, .78), rgba(8, 27, 50, .65)); }
.editor-title { min-width: 0; display: flex; align-items: center; gap: 12px; }
.editor-title > span:last-child { min-width: 0; }
.editor-title h2 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.editor-file-icon { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border: 1px solid rgba(71, 179, 235, .22); border-radius: 11px; color: #8ed3f5; background: rgba(26, 91, 134, .33); font-size: .66rem; font-weight: 900; }
.editor-file-icon.json { color: #f1cb6f; background: rgba(133, 96, 26, .2); }
.editor-file-icon.config { color: #6fe0ad; background: rgba(27, 118, 76, .2); }
.editor-file-icon.log { color: #bea7ff; background: rgba(82, 58, 151, .22); }
.editor-file-icon svg { width:21px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.editor-header-actions { display:flex; align-items:center; gap:7px; }
.editor-header-actions svg { width:17px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; }
.editor-meta { min-height: 43px; padding: 0 17px; flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid rgba(73, 154, 209, .11); background: #071422; }
.editor-meta > span { overflow: hidden; color: #68879e; font: .72rem Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }
.editor-meta > div { display: flex; align-items: center; gap: 12px; }
.editor-meta > div > span { color: #4f7189; font-size: .65rem; font-weight: 850; letter-spacing: .09em; }
.editor-meta i { min-width: 76px; color: #58d99d; font-size: .68rem; font-style: normal; text-align: right; }
.editor-meta i.dirty { color: #e6b75d; }
.editor-workspace { min-height: 280px; height: min(64vh, 680px); display: grid; grid-template-columns: 58px minmax(0, 1fr); overflow: hidden; background: #020914; }
.editor-workspace pre { height: 100%; margin: 0; padding: 17px 12px 28px 0; overflow: hidden; border-right: 1px solid rgba(69, 143, 193, .1); color: #355168; background: #050e1a; font: .78rem/1.65 Consolas, monospace; text-align: right; user-select: none; }
.editor-modal .editor-workspace textarea { width: 100%; height: 100%; margin: 0; padding: 17px 19px 28px; resize: none; border: 0; border-radius: 0; outline: 0; color: #bcd1df; background: radial-gradient(circle at 85% 0, rgba(29, 84, 127, .09), transparent 32%), #020914; font: .78rem/1.65 Consolas, 'Cascadia Code', monospace; tab-size: 2; white-space: pre; overflow: auto; }
.editor-modal .editor-workspace textarea:focus { border: 0; box-shadow: inset 2px 0 #2d9de2; }
.editor-modal footer { min-height: 65px; flex: 0 0 auto; align-items: center; justify-content: space-between; background: #09192a; }
.editor-modal footer > span { color: #557189; font-size: .7rem; }
.editor-modal footer > div { display: flex; gap: 8px; }
.editor-modal footer button[type="submit"] { min-width: 158px; }
.editor-modal footer button:disabled { opacity: .42; cursor: not-allowed; }
.editor-modal kbd { margin-left: 9px; padding: 3px 5px; border: 1px solid rgba(213, 239, 255, .16); border-radius: 5px; color: #a8c9dd; background: rgba(2, 15, 29, .32); font: .61rem inherit; }

@media (max-width: 860px) {
  .server-sidebar { position: fixed; }
  .server-header .server-state b { display: none; }
  .server-content { padding-top: 20px; }
  .file-table-head, .file-row { grid-template-columns: 32px 40px minmax(180px, 1fr) 92px 76px; }
  .file-table-head span:nth-child(5), .file-row time { display: none; }
  .server-members form { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .header-server-icon { display: none; }
  .server-header .server-state { padding: 7px; }
  .server-power { align-items: stretch; }
  .console-output { height: 52vh; padding: 14px; font-size: .72rem; }
  .console-command { padding-left: 12px; }
  .console-command button { width: 42px; padding: 0; overflow: hidden; font-size: 0; }
  .console-command button::after { content: "→"; font-size: 1rem; }
  .files-toolbar { align-items: stretch; flex-direction: column; }
  .files-toolbar > div:last-child { display: grid; grid-template-columns: 1fr 1fr; }
  .file-filter { width: auto; grid-column: 1 / -1; }
  .file-filter:focus-within { width: auto; }
  .file-table-head, .file-row { grid-template-columns: 28px 38px minmax(120px, 1fr) 66px; }
  .file-table-head span:nth-child(4), .file-row small { display: none; }
  .file-row { padding-left: 13px; padding-right: 9px; }
  .member-checks { align-items: stretch; flex-direction: column; }
}

@media (max-width: 1050px) {
  .server-access-grid { grid-template-columns: 1fr; }
  .users-overview-hero { grid-template-columns: 1fr auto; }
  .users-overview-stats { display: none; }
}

@media (max-width: 860px) {
  .file-table-head, .file-row { grid-template-columns: 40px minmax(180px, 1fr) 90px 60px; }
  .server-member-row { grid-template-columns: minmax(180px, 1fr) auto; }
  .server-member-permissions { grid-column: 1; }
  .server-member-remove, .protected-member { grid-column: 2; grid-row: 1 / span 2; }
}

@media (max-width: 760px) {
  .user-row { grid-template-columns: 1fr auto; }
  .user-identity { grid-column: 1 / -1; }
  .user-permissions { grid-column: 1; flex-wrap: wrap; }
  .delete-user, .protected-user { grid-column: 2; grid-row: 2; }
}

/* Native-control cleanup and resilient layouts */
input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { margin: 0; appearance: none; -webkit-appearance: none; }
select { appearance: none; -webkit-appearance: none; padding-right: 42px !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 8 4 4 4-4' fill='none' stroke='%236ca1c3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important; background-position: right 13px center !important; background-size: 17px !important; background-repeat: no-repeat !important; }
select option { color: #dcecf7; background: #081a2c; }
* { scrollbar-width: thin; scrollbar-color: #287fba #071525; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: #071525; }
*::-webkit-scrollbar-thumb { border: 2px solid #071525; border-radius: 999px; background: linear-gradient(#30a8e7, #286ed5); }
.startup-command-card { min-width: 0; overflow: hidden; }
.startup-command-card code { max-width: 100%; overflow-wrap: anywhere; white-space: pre-wrap; word-break: break-word; }
.server-member-row > *, .server-member-person, .server-member-permissions { min-width: 0; }
.protected-member, .server-member-remove { justify-self: end; white-space: nowrap; }
.infinity-limit { color: #54c9ff; font: 900 1.15em 'Manrope', sans-serif; text-shadow: 0 0 14px rgba(64, 190, 255, .4); }

.port-modal { display: grid !important; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s ease, visibility .22s; }
.port-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; animation: none; }
.port-modal form { transform: translateY(18px) scale(.975); opacity: 0; transition: transform .26s cubic-bezier(.2,.8,.2,1), opacity .2s ease; }
.port-modal.is-open form { transform: translateY(0) scale(1); opacity: 1; }
.port-modal > button { background: rgba(0, 6, 16, .72); }

/* Polished native controls and dialogs */
input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { appearance: none; margin: 0; }
.system-dialog { position: fixed; z-index: 500; inset: 0; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s; }
.system-dialog.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.system-dialog > button { position: absolute; inset: 0; border: 0; background: rgba(0,7,18,.78); backdrop-filter: blur(12px); }
.system-dialog section { position: relative; width: min(470px,100%); padding: 28px; display: grid; grid-template-columns: 52px 1fr; gap: 18px; border: 1px solid rgba(72,183,243,.25); border-radius: 22px; background: linear-gradient(145deg,#0c2540,#07182b); box-shadow: 0 32px 90px rgba(0,0,0,.55); transform: translateY(16px) scale(.98); transition: transform .24s cubic-bezier(.2,.8,.2,1); }
.system-dialog.is-open section { transform: none; }
.system-dialog section > span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; color: #ff7890; font: 900 1.4rem Manrope,sans-serif; background: rgba(255,88,115,.1); border: 1px solid rgba(255,88,115,.22); }
.system-dialog small { color:#49c2ff; font-weight:850; letter-spacing:.12em }.system-dialog h2{margin:5px 0 7px;font:800 1.22rem Manrope,sans-serif}.system-dialog p{margin:0;color:#88a3b8;line-height:1.55;overflow-wrap:anywhere}.system-dialog section>button{grid-column:2;justify-self:end;padding:11px 18px;border:1px solid #32aef0;border-radius:11px;color:#fff;background:linear-gradient(135deg,#27a9ea,#2671da);font-weight:800;cursor:pointer}
.system-dialog .dialog-actions{grid-column:2;justify-self:end;display:flex;gap:8px}.system-dialog .dialog-actions button{padding:11px 18px;border:1px solid rgba(132,148,162,.2);border-radius:11px;color:#8da4b6;background:rgba(18,50,78,.5);font-weight:800;cursor:pointer}.system-dialog .dialog-actions button.danger{color:#fff;border-color:#d84561;background:linear-gradient(135deg,#d84a64,#a92843)}.system-dialog .dialog-actions button.danger:disabled{opacity:.35;cursor:not-allowed}
.installation-progress [data-install-retry] { margin: 18px auto 0; padding: 11px 17px; border: 1px solid rgba(71,185,244,.32); border-radius: 11px; color:#8ed8ff; background:rgba(22,82,124,.35); font-weight:800; cursor:pointer; }

/* Modrinth browser */
.plugins-page { display:grid; gap:22px }.plugins-hero{padding:25px 27px;display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid rgba(68,172,230,.18);border-radius:22px;background:linear-gradient(135deg,rgba(14,48,79,.95),rgba(7,29,51,.95))}.plugins-hero>div>span{color:#49c2ff;font-size:.69rem;font-weight:900;letter-spacing:.14em}.plugins-hero h2{margin:5px 0 5px;font:800 1.55rem Manrope,sans-serif}.plugins-hero p{margin:0;color:#7895aa}.plugins-hero form{display:flex;width:min(430px,100%);padding:5px;border:1px solid rgba(70,174,231,.2);border-radius:14px;background:#06182a}.plugins-hero input{min-width:0;flex:1;border:0;padding:0 13px;color:#eaf7ff;background:transparent;outline:0}.plugins-hero button{padding:11px 17px;border:0;border-radius:10px;color:#fff;background:linear-gradient(135deg,#2cb2ef,#2874dc);font-weight:800;cursor:pointer}.plugin-context{padding:12px 16px;border:1px solid rgba(61,164,221,.13);border-radius:12px;color:#7391a8;background:rgba(9,34,57,.58);font-size:.84rem}.plugin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.plugin-card{min-width:0;padding:18px;display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:15px;border:1px solid rgba(66,165,220,.17);border-radius:18px;background:linear-gradient(145deg,rgba(13,43,71,.92),rgba(7,27,47,.92));transition:transform .2s,border-color .2s,box-shadow .2s}.plugin-card:hover{transform:translateY(-3px);border-color:rgba(70,190,250,.4);box-shadow:0 16px 42px rgba(0,8,20,.3)}.plugin-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:14px;object-fit:cover;color:#57c9ff;background:#102e4d}.plugin-copy{min-width:0}.plugin-copy b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:800 1rem Manrope,sans-serif}.plugin-copy small{display:block;margin-top:3px;color:#5e8099}.plugin-copy p{margin:8px 0 0;display:-webkit-box;overflow:hidden;color:#87a1b5;font-size:.83rem;line-height:1.42;-webkit-line-clamp:2;-webkit-box-orient:vertical}.plugin-card>button{padding:10px 13px;border:1px solid rgba(58,180,239,.28);border-radius:10px;color:#78d3ff;background:rgba(19,79,119,.35);font-weight:800;cursor:pointer;transition:.2s}.plugin-card>button:hover{color:#fff;background:#268ede}.plugin-card>button.installed{color:#62dfb2;border-color:rgba(72,220,167,.25);background:rgba(31,128,96,.2)}.plugins-loading,.plugins-empty{grid-column:1/-1;min-height:220px;display:grid;place-items:center;align-content:center;gap:12px;border:1px dashed rgba(72,170,222,.2);border-radius:18px;color:#7896ac}.plugins-loading i{width:32px;height:32px;border:3px solid rgba(72,184,240,.15);border-top-color:#42baf6;border-radius:50%;animation:spin .8s linear infinite}.plugins-empty b{color:#b8cddd}.plugins-empty span{max-width:620px;text-align:center;overflow-wrap:anywhere}

@media (max-width:900px){.plugin-grid{grid-template-columns:1fr}.plugins-hero{align-items:stretch;flex-direction:column}.plugins-hero form{width:100%}}
@media (max-width:560px){.plugin-card{grid-template-columns:48px minmax(0,1fr)}.plugin-icon{width:48px;height:48px}.plugin-card>button{grid-column:1/-1}.system-dialog section{grid-template-columns:42px 1fr;padding:20px}.system-dialog section>span{width:42px;height:42px}.system-dialog section>button,.system-dialog .dialog-actions{grid-column:1/-1;width:100%}.system-dialog .dialog-actions{justify-content:stretch}.system-dialog .dialog-actions button{flex:1}}

.native-select-hidden { position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important; }
.custom-select { position:relative; min-width:0; width:100%; }
.custom-select-trigger { position:relative;width:100%;min-height:48px;padding:0 48px 0 16px;border:1px solid rgba(66,167,221,.25);border-radius:13px;color:#ddecf6;background:#071b2e;text-align:left;font:700 .92rem Manrope,sans-serif;cursor:pointer;transition:border-color .18s,box-shadow .18s; }
.custom-select-trigger::after { content:"";position:absolute;right:18px;top:50%;width:8px;height:8px;border-right:2px solid #638aa5;border-bottom:2px solid #638aa5;transform:translateY(-70%) rotate(45deg);transition:transform .2s,color .2s; }
.custom-select.open .custom-select-trigger{border-color:#37b8f7;box-shadow:0 0 0 3px rgba(50,181,244,.1)}.custom-select.open .custom-select-trigger::after{transform:translateY(-25%) rotate(225deg)}.custom-select-trigger:disabled{opacity:.52;cursor:not-allowed}
.custom-select-menu { position:absolute;z-index:90;top:calc(100% + 7px);left:0;right:0;max-height:260px;overflow:auto;padding:6px;border:1px solid rgba(73,177,232,.26);border-radius:13px;background:#071a2c;box-shadow:0 20px 55px rgba(0,5,15,.58);opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .16s,transform .16s,visibility .16s;scrollbar-color:#247cb0 #071a2c;scrollbar-width:thin}.custom-select.open .custom-select-menu{opacity:1;visibility:visible;transform:none}.custom-select-menu button{display:block;width:100%;padding:11px 12px;border:0;border-radius:8px;color:#8da8ba;background:transparent;text-align:left;font:700 .89rem Manrope,sans-serif;cursor:pointer}.custom-select-menu button:hover,.custom-select-menu button:focus-visible{color:#eefdff;background:rgba(42,143,203,.18);outline:0}.custom-select-menu button.selected{color:#69ccff;background:rgba(38,139,202,.22)}.custom-select-menu button:disabled{opacity:.4;cursor:not-allowed}
.config-card:has(.custom-select) { overflow: visible; }

.owned-actions { display: flex; align-items: center; gap: 12px; }
.new-server-link { padding: 10px 13px; border: 1px solid rgba(55,174,237,.25); border-radius: 10px; color: #6dc8f7; background: rgba(31,109,165,.12); text-decoration: none; font-size: .7rem; font-weight: 750; }
.server-scope { padding: 4px; display: flex; border: 1px solid rgba(71,164,221,.15); border-radius: 12px; background: rgba(5,20,38,.7); }
.server-scope a { padding: 7px 11px; border-radius: 8px; color: #67859b; text-decoration: none; font-size: .69rem; font-weight: 760; transition: .2s; }
.server-scope a:hover { color: #cceafd; background: rgba(28,91,137,.25); }
.server-scope a.active { color: #e8f7ff; background: linear-gradient(135deg, rgba(42,165,229,.45), rgba(42,104,211,.42)); box-shadow: 0 5px 15px rgba(8,83,155,.18); }

.installer-shell { max-width: 1040px; margin: 0 auto; padding: 28px; border: 1px solid rgba(66,177,237,.17); border-radius: 22px; background: radial-gradient(circle at 85% 0,rgba(42,150,224,.16),transparent 34%),rgba(7,24,44,.82); box-shadow: 0 25px 75px rgba(0,4,16,.25); }
.installer-shell > header span { color: #48bdf7; font-size: .7rem; font-weight: 850; letter-spacing: .13em; }
.installer-shell > header h2 { margin: 7px 0 4px; font: 820 1.65rem 'Manrope',sans-serif; }
.installer-shell > header p { margin: 0; color: #728ea4; font-size: .82rem; }
.engine-grid { margin: 25px 0 18px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.engine-grid button { position: relative; min-height: 105px; padding: 18px; display: flex; align-items: flex-start; justify-content: flex-end; flex-direction: column; border: 1px solid rgba(72,166,223,.15); border-radius: 16px; color: #b4cad9; background: linear-gradient(145deg,rgba(17,56,89,.58),rgba(7,24,44,.8)); cursor: pointer; transition: .22s; }
.engine-grid button:hover { transform: translateY(-3px); border-color: rgba(66,187,245,.4); background: linear-gradient(145deg,rgba(24,79,120,.72),rgba(8,31,56,.9)); box-shadow: 0 16px 32px rgba(0,8,24,.2); }
.engine-grid button.active { color: white; border-color: #3bb8f3; box-shadow: inset 0 0 0 1px rgba(61,188,248,.2),0 0 30px rgba(41,150,226,.16); }
.engine-grid button span { font: 800 1.05rem 'Manrope',sans-serif; }
.engine-grid button small { margin-top: 5px; color: #5f8199; font-size: .59rem; font-weight: 850; letter-spacing: .1em; }
.engine-grid button.recommended small { color: #58d99b; }
.engine-version { margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; color: #89a3b7; font-size: .72rem; font-weight: 760; }
.engine-version select { height: 50px; padding: 0 15px; border: 1px solid rgba(70,174,231,.2); border-radius: 12px; outline: 0; color: #dcebf5; background-color: #061625; }
.engine-install { min-height: 48px; width: 100%; border: 1px solid #38b2ef; border-radius: 12px; color: white; background: linear-gradient(135deg,#29a8e8,#2d71da); font-weight: 800; cursor: pointer; transition: .2s; }
.engine-install:hover:not(:disabled) { filter: brightness(1.1); transform: translateY(-1px); }
.engine-install:disabled { opacity: .38; cursor: not-allowed; }
.installation-progress { margin-top: 28px; min-height: 330px; padding: 50px 24px; display: flex; align-items: center; flex-direction: column; text-align: center; border: 1px solid rgba(72,164,220,.13); border-radius: 18px; background: rgba(4,15,29,.5); }
.installation-progress[hidden] { display: none; }
.install-spinner { width: 58px; height: 58px; margin-bottom: 20px; border: 4px solid rgba(67,164,225,.16); border-top-color: #3ebaff; border-radius: 50%; animation: install-spin .8s linear infinite; }
.installation-progress h3 { margin: 0 0 8px; font: 800 1.3rem 'Manrope',sans-serif; }
.installation-progress p { min-height: 22px; margin: 0; color: #7794a9; }
.installation-progress > div:not(.install-spinner) { width: min(560px,100%); height: 8px; margin-top: 28px; overflow: hidden; border-radius: 999px; background: rgba(60,126,176,.14); }
.installation-progress i { width: 0; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg,#31a9e8,#3474e2); box-shadow: 0 0 18px rgba(47,162,232,.4); transition: width .45s ease; }
.installation-progress > small { margin-top: 10px; color: #66cafa; font-weight: 800; }
.installation-progress.failed .install-spinner { animation: none; border-color: #e55770; }
@keyframes install-spin { to { transform: rotate(360deg); } }

@media(max-width:760px){.engine-grid{grid-template-columns:1fr 1fr}.owned-heading{align-items:flex-start;gap:15px;flex-direction:column}.owned-actions{width:100%;align-items:stretch;flex-direction:column}.server-scope a{flex:1;text-align:center}.new-server-link{text-align:center}.server-member-row{grid-template-columns:minmax(0,1fr)!important}.server-member-permissions,.protected-member,.server-member-remove{grid-column:1!important;grid-row:auto!important;justify-self:start}.server-members-list-card{min-width:0}}
@media(max-width:460px){.engine-grid{grid-template-columns:1fr}.installer-shell{padding:20px 15px}.server-member-person small{overflow-wrap:anywhere}}

@media (max-width: 560px) {
  .users-overview-hero { padding: 19px; grid-template-columns: 1fr; }
  .users-overview-main { align-items: flex-start; }
  .users-overview-icon { width: 47px; height: 47px; flex-basis: 47px; }
  .users-overview-main h2 { font-size: 1.08rem; }
  .users-overview-main p { font-size: .75rem; }
  .users-overview-hero .add-user-button { justify-self: start; }
  .server-access-hero { padding: 20px; align-items: flex-start; }
  .access-hero-icon { width: 48px; height: 48px; flex-basis: 48px; }
  .server-access-hero h2 { font-size: 1.15rem; }
  .server-access-hero p { font-size: .78rem; }
  .access-count { display: none; }
  .grant-card-head, .member-list-head { padding: 17px; }
  .grant-id-field { padding: 17px 17px 12px; }
  .grant-label { margin-left: 17px; }
  .grant-permissions { padding: 0 17px; }
  .grant-submit { width: calc(100% - 34px); margin-left: 17px; margin-right: 17px; }
  .server-member-row { grid-template-columns: 1fr auto; }
  .server-member-permissions { grid-column: 1 / -1; }
  .server-member-remove, .protected-member { grid-column: 2; grid-row: 1; }
  .file-table-head, .file-row { grid-template-columns: 38px minmax(120px, 1fr) 55px; }
  .editor-modal { padding: 7px; }
  .editor-modal form { max-height: calc(100svh - 14px); border-radius: 14px; }
  .editor-modal header { min-height: 68px; padding: 12px 14px; }
  .editor-meta { padding: 0 12px; }
  .editor-meta > div > span { display: none; }
  .editor-workspace { height: calc(100svh - 190px); grid-template-columns: 44px minmax(0, 1fr); }
  .editor-workspace pre { padding-right: 9px; font-size: .7rem; }
  .editor-modal .editor-workspace textarea { padding-left: 13px; font-size: .72rem; }
  .editor-modal footer { min-height: 58px; padding: 8px 11px; }
  .editor-modal footer > span { display: none; }
  .editor-modal footer > div { width: 100%; }
  .editor-modal footer button { flex: 1; }
  .editor-modal kbd { display: none; }
}

@media (max-width: 860px) {
  .server-page .file-table-head, .server-page .file-row { grid-template-columns: 32px 40px minmax(180px, 1fr) 90px 60px; }
  .server-page .file-table-head span:nth-child(5), .server-page .file-row time { display: none; }
}
@media (max-width: 560px) {
  .server-page .file-table-head, .server-page .file-row { grid-template-columns: 28px 36px minmax(110px, 1fr) 55px; }
  .server-page .file-table-head span:nth-child(4), .server-page .file-row small { display: none; }
}
.plugin-card > button.installed { color:#ff899b; border-color:rgba(238,91,116,.28); background:rgba(132,31,52,.18); }
.plugin-card > button.installed:hover { color:#fff; background:#b93650; }
