/* Konto klienta i tymczasowy koszyk. */
.panel-area-footer .footer-top { min-height: 52px; padding-block: 6px; gap: 16px; }
.panel-area-footer .footer-top > .brand { flex: 0 0 auto; line-height: 0; }
.panel-area-footer .footer-top .brand img { width: 112px; height: auto; }
.panel-area-footer .footer-links { gap: 6px 16px; font-size: 12px; }
@media (max-width: 680px) {
  .panel-area-footer .footer-top { flex-direction: row; align-items: center; gap: 10px; padding-block: 8px; }
  .panel-area-footer .footer-top .brand img { width: 88px; }
  .panel-area-footer .footer-links { justify-content: flex-end; gap: 5px 10px; font-size: 11px; }
}

.account-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); align-items: start; gap: 22px; }
.account-layout > * { min-width: 0; }
.account-content { display: grid; min-width: 0; gap: 16px; }
.account-content > .dashboard-heading { width: 100%; min-height: 64px; padding: 8px 14px; }
.account-content > .dashboard-heading .dashboard-icon { flex-basis: 38px; width: 38px; height: 38px; }
.account-content > .dashboard-heading .dashboard-icon .icon { width: 20px; height: 20px; }
.account-profile { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); align-items: stretch; gap: 22px; }
.account-avatar-panel { display: flex; justify-content: center; }
.account-avatar-editor { display: flex; width: 100%; flex-direction: column; align-items: center; min-width: 0; text-align: center; }
.account-profile-preview { position: relative; display: grid; width: 128px; height: 128px; place-items: center; margin-bottom: 18px; border: 1px solid var(--border); border-radius: 50%; background: var(--surface-soft); }
.account-profile-avatar { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.account-profile-avatar.account-avatar-initial { display: grid; place-items: center; color: var(--violet); font-size: 54px; font-weight: 700; text-transform: uppercase; }
.account-avatar-editor h2 { margin: 0 0 5px; font-size: 18px; }
.account-avatar-editor > p { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.avatar-upload-form { display: grid; width: min(100%, 320px); gap: 10px; }
.avatar-file-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.avatar-drop-zone { display: grid; min-height: 74px; place-items: center; padding: 12px; border: 1px dashed var(--border); border-radius: 10px; color: var(--muted); font-size: 13px; text-align: center; cursor: pointer; }
.avatar-drop-zone:hover, .avatar-drop-zone.is-dragging { border-color: var(--primary); background: var(--primary-soft); color: var(--text); }
.account-avatar-editor > small { margin-top: 10px; color: var(--muted); line-height: 1.5; }
.avatar-delete-form { position: absolute; right: 3px; bottom: 3px; margin: 0; }
.avatar-delete-button { display: grid; width: 34px; min-height: 34px; place-items: center; padding: 0; border: 2px solid var(--surface); border-radius: 50%; background: #dc3545; color: #fff; box-shadow: 0 2px 8px #0005; }
.avatar-delete-button:hover { background: #b02a37; color: #fff; }
.avatar-delete-button .icon { width: 16px; height: 16px; }
.account-profile-details { width: 100%; max-width: none; margin: 0; }
.account-sidebar { padding: 20px 12px 12px; }
.account-sidebar h2 { display: flex; align-items: center; gap: 10px; margin: 0 12px 18px; font-size: 17px; line-height: 1.3; }
.account-sidebar h2 .icon { width: 20px; height: 20px; color: var(--primary); }
.account-sidebar nav { display: grid; gap: 5px; }
.account-sidebar nav a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 10px 12px; border: 1px solid transparent; border-radius: 9px; font-size: 15px; }
.account-sidebar nav .icon { color: var(--muted); }
.account-sidebar nav a:hover { background: var(--surface-soft); }
.account-sidebar nav [aria-current="page"] { border-color: var(--border); background: var(--violet-soft); color: var(--violet); }
.account-sidebar nav [aria-current="page"] .icon { color: inherit; }
.account-edit-form { max-width: 520px; margin-top: 26px; }
.account-edit-form > .button { align-self: flex-start; white-space: normal; text-align: center; }
.account-form-note { font-size: 13px; line-height: 1.6; }
.account-edit-form p, .dashboard-description { overflow-wrap: anywhere; }
.account-feedback { margin: 24px 0 0; }
.api-key-create h2, .api-key-list h2 { margin: 0 0 8px; font-size: 18px; }
.api-key-create-form { display: flex; align-items: end; gap: 14px; margin-top: 18px; }
.api-key-create-form label { display: grid; flex: 1; gap: 7px; color: var(--muted); font-size: 13px; }
.api-key-create-form input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-soft); color: var(--text); }
.api-key-once { padding: 20px; border-color: #d26945; background: color-mix(in srgb, #d26945 10%, var(--surface)); }
.api-key-once h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 8px; font-size: 18px; }
.api-key-once h2 .icon { color: var(--primary); }
.api-key-once p { margin: 0 0 14px; color: var(--muted); }
.api-key-copy-row { display: flex; align-items: center; gap: 12px; }
.api-key-copy-row code { min-width: 0; flex: 1; overflow-wrap: anywhere; padding: 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-soft); }
.api-key-table-wrap { overflow-x: auto; }
.api-key-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.api-key-table th, .api-key-table td { padding: 12px 10px; border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }
.api-key-table th { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.api-key-status { color: #36bc8a; font-weight: 700; }
.api-key-status.is-revoked { color: var(--muted); }
.api-doc-page { display: grid; max-width: 1180px; gap: 16px; margin-inline: auto; }
.api-doc-heading { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.api-doc-heading h1 { margin: 0 0 5px; font-size: clamp(21px, 2.5vw, 28px); }
.api-doc-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.api-doc-download { margin-left: auto; font-size: 13px; }
.api-doc-heading .api-doc-eyebrow { margin-bottom: 5px; color: var(--primary); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.api-doc-layout { display: grid; grid-template-columns: 205px minmax(0,1fr); align-items: start; gap: 16px; }
.api-doc-nav { position: sticky; top: 18px; display: grid; gap: 4px; padding: 14px 10px; }
.api-doc-nav strong { padding: 5px 10px 9px; font-size: 12px; }
.api-doc-nav a { padding: 8px 10px; border: 1px solid transparent; border-radius: 8px; color: var(--muted); font-size: 12px; }
.api-doc-nav a:hover, .api-doc-nav a:focus-visible { border-color: var(--border); background: var(--surface-soft); color: var(--text); }
.api-doc-content { display: grid; min-width: 0; gap: 14px; }
.api-doc-section { display: grid; gap: 10px; padding: 20px; scroll-margin-top: 18px; }
.api-doc-section h2 { margin: 0; font-size: 17px; }
.api-doc-section p { margin: 0; font-size: 13px; line-height: 1.6; }
.api-doc-section pre { overflow-x: auto; margin: 0; padding: 14px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-soft); font-size: 12px; line-height: 1.5; }
.api-doc-section code { overflow-wrap: anywhere; font-size: .95em; }
.api-doc-list { display: grid; gap: 6px; margin: 0; padding-left: 22px; font-size: 13px; line-height: 1.55; }
.email-discard { margin-top: 20px; }
.email-discard button { padding: 0; background: transparent; color: var(--muted); font-weight: 400; }
@media (max-width: 800px) { .account-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
@media (max-width: 900px) { .api-doc-layout { grid-template-columns: minmax(0,1fr); } .api-doc-nav { position: static; grid-template-columns: repeat(3,minmax(0,1fr)); } .api-doc-nav strong { grid-column: 1/-1; } }
@media (max-width: 700px) { .api-key-create-form, .api-key-copy-row { align-items: stretch; flex-direction: column; } .api-key-create-form > .button { align-self: flex-start; } .api-doc-section { padding: 16px; } .api-doc-heading { align-items: flex-start; flex-wrap: wrap; padding: 16px; } .api-doc-download { margin-left: 52px; } .api-doc-nav { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 700px) { .account-profile { grid-template-columns: minmax(0, 1fr); gap: 24px; } .account-avatar-editor { align-items: center; text-align: center; } .avatar-upload-form { max-width: 360px; } .account-avatar-editor > small { max-width: 320px; } }
.dashboard-card { padding: 32px; }
.dashboard-heading, .orders-heading { display: flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.orders-heading { width: 100%; }
.dashboard-heading h1, .orders-heading h1 { margin: 0 0 3px; font-size: 21px; }
.dashboard-heading p, .orders-heading p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.dashboard-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.dashboard-icon .icon { width: 23px; height: 23px; }
.dashboard-details { max-width: 620px; }
.dashboard-details dd { overflow-wrap: anywhere; min-width: 0; }
.dashboard-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.dashboard-description { margin-top: 24px; max-width: 640px; }
.orders-page { display: grid; gap: 18px; }
.orders-box { min-width: 0; overflow: hidden; padding: 18px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.orders-box-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.orders-box-heading h2 { margin: 0; font-size: 19px; }
.orders-box-heading > span { display: grid; min-width: 28px; height: 28px; place-items: center; padding: 0 8px; border-radius: 99px; background: var(--surface-soft); color: var(--muted); font-size: 13px; font-weight: 700; }
.orders-table-wrap { overflow-x: auto; }
.orders-table { width: 100%; border-collapse: collapse; text-align: left; }
.orders-table th, .orders-table td { padding: 13px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.orders-table th { color: var(--muted); font-size: 12px; font-weight: 650; white-space: nowrap; }
.orders-table td { font-size: 14px; }
.orders-table tbody tr:last-child td { border-bottom: 0; }
.orders-table td small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.order-status { display: inline-flex; align-items: center; min-height: 27px; padding: 4px 9px; border-radius: 99px; background: var(--surface-soft); color: var(--muted); font-size: 12px; font-weight: 650; white-space: nowrap; }
.order-status.is-ready { background: color-mix(in srgb, #39a978 14%, var(--surface)); color: #36a878; }
.order-status.is-progress { background: color-mix(in srgb, #e2a832 14%, var(--surface)); color: #bf8a1d; }
.order-status.is-error { background: color-mix(in srgb, #e14d4d 14%, var(--surface)); color: #e14d4d; }
.order-status.is-unpaid { background: color-mix(in srgb, var(--primary) 12%, var(--surface)); color: var(--primary); }
.order-server-link { min-height: 36px; padding: 7px 10px; white-space: nowrap; font-size: 12px; }
.order-server-link .icon { width: 15px; height: 15px; }
.orders-muted, .orders-empty { color: var(--muted); }
.orders-empty { margin: 0; padding: 20px 4px 4px; }
.panel-servers { margin: 0; }
.panel-servers-heading { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; margin-bottom: 16px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.panel-servers-heading > div { min-width: 0; }
.panel-servers-heading h1 { margin: 0 0 2px; font-size: 18px; }
.panel-servers-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.panel-servers-heading .dashboard-icon { flex-basis: 34px; width: 34px; height: 34px; border-radius: 10px; }
.panel-servers-heading .dashboard-icon .icon { width: 18px; height: 18px; }
.panel-server-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 18px; margin-top: 0; }
.panel-server-card { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); scroll-margin-top: 100px; }
.panel-server-cover { position: relative; isolation: isolate; height: 140px; overflow: hidden; background: var(--surface-soft); }
.panel-server-cover::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(180deg, #10131b08 25%, #10131b55 65%, var(--surface) 100%); }
.panel-server-cover-art, .panel-server-cover > .game-card-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.panel-server-cover-fallback { display: grid; height: 100%; place-items: center; color: var(--primary); background: radial-gradient(ellipse at center, var(--primary-soft), var(--surface-soft)); }
.panel-server-cover-fallback .icon { width: 58px; height: 58px; }
.panel-server-status { position: absolute; z-index: 2; left: 15px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border: 1px solid #ffffff12; border-radius: 5px; background: #11151ce6; color: #b9c3d6; font-size: 10px; font-weight: 700; line-height: 1.4; letter-spacing: .6px; text-transform: uppercase; }
.panel-server-status > .panel-server-status-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: currentColor; }
.panel-server-status.is-ready { color: #a2de78; }
.panel-server-status.is-error { color: #ff796c; }
.panel-server-status.is-progress { color: #f3bd65; }
.panel-server-status.is-suspended { color: #d6b3fa; }
.panel-server-expiry { position:absolute; z-index:2; right:10px; bottom:12px; display:inline-flex; align-items:center; gap:5px; max-width:calc(100% - 125px); padding:4px 7px; overflow:hidden; border:1px solid #f2b84a55; border-radius:5px; background:#17191fe8; color:#f7d38b; font-size:9px; font-weight:650; line-height:1.35; text-overflow:ellipsis; white-space:nowrap; }
.panel-server-expiry .icon { width:12px; height:12px; flex:0 0 12px; color:#f2b84a; }
.panel-server-expiry.is-expired { border-color:#ff796c66; color:#ff9b91; }
.panel-server-expiry.is-expired .icon { color:#ff796c; }
.panel-server-body { padding: 6px 16px 16px; }
.panel-server-info { min-width: 0; }
.panel-server-info h2 { min-width:0; margin: 0; overflow:hidden; font-size: 16px; line-height: 1.35; }
.panel-server-info h2 a { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.panel-server-info h2 a:hover { color: var(--primary); }
.panel-server-info p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.panel-server-connection { display: grid; gap: 6px; margin: 16px 0 14px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.panel-server-connection > span { display: flex; align-items: center; gap: 8px; min-width: 0; }
.panel-server-connection .icon { flex: 0 0 13px; width: 13px; height: 13px; }
.panel-server-location > img { flex: 0 0 auto; width: auto; height: auto; max-width: 18px; max-height: 14px; }
.panel-server-location > span, .panel-server-address > span { min-width: 0; overflow-wrap: anywhere; }
.panel-server-address { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; }
.copy-address { display:inline-flex; align-items:center; justify-content:center; gap:5px; flex:0 0 auto; width:25px; height:25px; padding:4px; border:1px solid var(--border); border-radius:6px; color:var(--muted); background:var(--surface-soft); cursor:pointer; }
.copy-address .icon { width:13px; height:13px; }
.copy-address:hover, .copy-address.is-copied { color:var(--primary); border-color:var(--primary); }
.copy-address-feedback { font-family:inherit; font-size:10px; white-space:nowrap; }
.panel-server-address .copy-address { width:23px; height:23px; margin-left:3px; }
.panel-server-resources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 12px 0; border-block: 1px solid var(--border); }
.panel-server-resources > div { display: grid; align-items: start; justify-content: start; gap: 4px; min-width: 0; padding: 0; border: 0; }
.panel-server-resources dt { color: var(--muted); font-size: 10px; font-weight: 700; line-height: 1.4; letter-spacing: .7px; text-transform: uppercase; }
.panel-server-resources dd { margin: 0; color: var(--text); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; line-height: 1.5; text-align: left; overflow-wrap: anywhere; }
.panel-server-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 14px; }
.panel-server-actions form { margin: 0; }
.panel-server-manage { margin-left: auto; }
.panel-server-actions .button { min-height: 36px; padding: 8px 12px; font-size: 12px; line-height: 1.5; }
.panel-server-actions .icon { width: 14px; height: 14px; }
.panel-server-start { border: 1px solid #99d366; border-radius: 7px; background: #99d366; color: #14210b; font-weight: 750; letter-spacing: .7px; text-transform: uppercase; }
.panel-server-start:hover { border-color: #afe77a; background: #afe77a; color: #14210b; }
.panel-server-stop { border: 1px solid #e14545; background: #e14545; color: #fff; font-weight: 750; letter-spacing: .7px; text-transform: uppercase; }
.panel-server-stop:hover { border-color: #c92e38; background: #c92e38; color: #fff; }
.panel-server-power:disabled { border: 1px solid var(--border); background: var(--surface-soft); color: var(--muted); cursor: default; }
.panel-server-action-message { margin: 10px 0 0; color: #e14d4d; font-size: 12px; line-height: 1.5; }
.panel-server-mods { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--border); }
.panel-server-mods > summary { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 600; list-style: none; cursor: pointer; }
.panel-server-mods > summary::-webkit-details-marker { display: none; }
.panel-server-mods > summary > span { min-width: 19px; padding: 1px 5px; border-radius: 5px; background: var(--surface-soft); text-align: center; font-size: 10px; }
.panel-server-mods > summary .icon { width: 14px; height: 14px; margin-left: auto; }
.panel-server-mods[open] > summary { margin-bottom: 8px; color: var(--text); }
.panel-server-mods[open] > summary .icon { transform: rotate(180deg); }
.panel-mod-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 6px 8px; padding: 12px 0; border-top: 1px solid var(--border); font-size: 12px; }
.panel-mod-row>div:first-child { grid-column: 1 / -1; min-width: 0; }
.panel-mod-row p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.panel-mod-state { color: var(--muted); font-size: 12px; }
.panel-mod-state.is-installed { color: #36c58a; }
.panel-mod-state.is-error { color: #ff8a75; }
.panel-mod-row form { grid-column: 2; margin: 0; }
.panel-mod-button { min-height: 30px; padding: 6px 8px; font-size: 11px; }
@media (max-width: 1100px) { .panel-server-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .panel-server-cover { height: 160px; } }
@media (max-width: 620px) { .panel-server-list { grid-template-columns: minmax(0, 1fr); gap: 16px; } .panel-server-cover { height: 165px; } }
@media (max-width: 700px) { .dashboard-heading, .orders-heading { gap: 9px; padding: 9px 11px; } .dashboard-heading h1, .orders-heading h1 { font-size: 19px; } .dashboard-heading p, .orders-heading p { font-size: 12px; } .dashboard-icon { flex-basis: 38px; width: 38px; height: 38px; border-radius: 10px; } .dashboard-icon .icon { width: 20px; height: 20px; } .orders-box { padding: 15px 12px; } .orders-table th, .orders-table td { padding: 11px 9px; } .orders-table th:nth-child(3), .orders-table td:nth-child(3) { display: none; } }
.no-servers-hero { position:relative; isolation:isolate; display:flex; align-items:center; justify-content:space-between; gap:32px; min-height:500px; padding:48px; overflow:hidden; border-radius:20px; background:#111820; color:#fff; }
.no-servers-hero-art,.no-servers-hero-shade { position:absolute; z-index:-1; inset:0; width:100%; height:100%; }
.no-servers-hero-art { object-fit:cover; object-position:center top; }
.no-servers-hero-shade { z-index:0; background:linear-gradient(90deg,#10141bd9 0%,#10141b9c 43%,#10141b18 72%,#10141b60 100%),linear-gradient(0deg,#10141b70,transparent 55%); }
.no-servers-copy { position:relative; z-index:1; max-width:520px; }
.no-servers-copy h1 { font-size:clamp(32px,4vw,48px); line-height:1.08; text-wrap:balance; }
.no-servers-copy p { margin-top:14px; color:#f0f2f7; font-size:16px; line-height:1.7; }
.no-servers-order { position:relative; z-index:1; flex:0 0 auto; }
.theme-settings { min-width: 0; margin: 28px 0; padding: 0; border: 0; }
.theme-settings legend { margin-bottom: 14px; font-size: 16px; font-weight: 700; }
.theme-choices { display: flex; flex-wrap: wrap; gap: 12px; }
.theme-choices [aria-pressed="true"] { border-color: var(--violet); background: var(--violet-soft); color: var(--violet); }
.theme-settings p { margin-top: 12px; font-size: 14px; }
.account-card { width: min(100%, 520px); margin: 8px auto 48px; padding: 32px; }
.account-card h1, .cart-empty h1 { margin: 0 0 22px; font-size: 28px; line-height: 1.25; letter-spacing: -.5px; }
.account-card > p { margin-bottom: 24px; }
.account-form { gap: 18px; }
.account-form > small { margin-top: -12px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.account-form > .button { width: 100%; min-height: 46px; }
.account-privacy { margin: 0; font-size: 13px; line-height: 1.7; }
.account-privacy a, .account-links a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.account-links { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 14px; }
.registration-page, .login-page { padding-top: 14px; padding-bottom: 16px; }
.registration-card, .login-card { display: grid; grid-template-columns: minmax(360px, 440px) minmax(0, 1fr); width: 100%; margin: 0; overflow: hidden; border-radius: 16px; }
.registration-form-panel, .login-form-panel { min-width: 0; padding: 28px 32px; }
.registration-form, .login-form { gap: 12px; }
.registration-form label, .login-form label { font-size: 14px; }
.registration-form input:not([type="checkbox"]), .login-form input:not([type="checkbox"]) { margin-top: 5px; min-height: 42px; padding: 9px 12px; }
.registration-form > small { margin-top: -8px; }
.registration-form .account-privacy { font-size: 12px; line-height: 1.6; }
.registration-form > .button, .login-form > .button { min-height: 43px; }
.registration-form-panel .account-links, .login-form-panel .account-links { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 12px; margin-top: 18px; padding-top: 16px; font-size: 13px; }
.registration-form-panel .account-links > *, .login-form-panel .account-links > * { min-width: 0; }
.registration-form-panel .account-links > * { flex: 1; }
.registration-form-panel .account-links > a, .login-form-panel .account-links > a { text-align: right; }
.registration-art, .login-art { position: relative; min-width: 0; min-height: 300px; overflow: hidden; background: #141a27; }
.registration-art img, .login-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.registration-art:after, .login-art:after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--surface), transparent 15%); }
@media (max-width: 900px) {
  .registration-card, .login-card { grid-template-columns: minmax(0, 1fr); }
  .registration-form-panel, .login-form-panel { padding: 26px; }
  .registration-art, .login-art { min-height: 260px; }
  .registration-art img, .login-art img { object-position: center 43%; }
  .registration-art:after, .login-art:after { background: linear-gradient(180deg, var(--surface), transparent 25%); }
}
@media (max-width: 600px) {
  .registration-form-panel, .login-form-panel { padding: 24px 20px; }
  .registration-art, .login-art { min-height: 230px; }
}
.cart-empty { margin: 8px 0 48px; }
.cart-empty-with-art { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 400px; padding: clamp(28px,5vw,64px); overflow: hidden; border-radius: 18px; background: #111820; color: #fff; text-align: left; }
.cart-empty-art,.cart-empty-shade { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.cart-empty-art { z-index: -2; object-fit: cover; object-position: center 54%; }
.cart-empty-shade { background: linear-gradient(90deg,#10141bf2 0%,#10141bd9 38%,#10141b70 58%,#10141b14 100%),linear-gradient(0deg,#10141b60,transparent 65%); }
.cart-empty-content { position: relative; max-width: 540px; }
.cart-empty-with-art h1 { margin: 0 0 12px; font-size: clamp(27px,3.3vw,40px); line-height: 1.12; }
.cart-empty-with-art p { max-width: 500px; margin: 0 0 23px; color: #e0e5ef; font-size: 14px; line-height: 1.65; }
.cart-empty-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cart-empty-with-art .cart-empty-actions { justify-content: flex-start; }
@media (max-width: 600px) { .cart-empty-with-art { align-items:flex-end; min-height:500px; padding:24px 20px; }.cart-empty-art { object-position:62% center; }.cart-empty-shade { background:linear-gradient(0deg,#10141bf2 0%,#10141bd9 42%,#10141b35 100%); }.cart-empty-with-art h1 { font-size:28px; } }
@media (max-width: 600px) {
  .account-card { padding: 24px 20px; }
  .dashboard-card { padding: 24px 20px; }
  .no-servers-hero { align-items:flex-end; flex-wrap:wrap; min-height:460px; gap:18px; padding:26px; }
  .no-servers-hero-art { object-position:38% top; }
  .no-servers-hero-shade { background:linear-gradient(90deg,#10141bd9 0%,#10141b99 62%,#10141b45 100%),linear-gradient(0deg,#10141b90,transparent 70%); }
  .no-servers-copy { flex-basis:100%; }
  .no-servers-copy h1 { font-size:32px; }
  .no-servers-copy p { font-size:14px; }
  .no-servers-order { margin-left:auto; }
  .dashboard-heading { gap: 9px; }
  .dashboard-heading h1 { font-size: 19px; overflow-wrap: anywhere; }
  .dashboard-icon { flex-basis: 38px; height: 38px; }
  .dashboard-details > div { flex-direction: column; gap: 4px; }
  .dashboard-details dd { text-align: left; max-width: 100%; }
  .dashboard-actions { flex-direction: column; align-items: stretch; }
  .dashboard-actions .button { white-space: normal; text-align: center; }
  .account-card h1, .cart-empty h1 { font-size: 25px; }
}

.panel-server-info .panel-server-game-row { display:flex; align-items:baseline; justify-content:space-between; gap:10px; }
.panel-server-game-row > span:first-child { min-width:0; }
.panel-server-player-count { flex-shrink:0; white-space:nowrap; font-size:11px; }
.panel-server-player-count strong { color:var(--text); font-weight:600; }
.server-workspace { width:100%; min-width:0; }
.server-workspace-header { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:18px 30px; margin-bottom:20px; padding:18px 22px; border:1px solid var(--border); border-radius:13px; background:var(--surface); }
.server-workspace-identity { display:flex; align-items:center; gap:18px; min-width:0; }
.server-workspace-identity-text { min-width:0; }
.server-query-hostname { margin:7px 0 0; color:var(--muted); font-size:13px; line-height:1.35; overflow-wrap:anywhere; }
.server-query-hostname[hidden] { display:none; }
.server-current-map { display:flex; flex-direction:column; align-items:flex-start; gap:5px; flex:0 0 190px; width:190px; max-width:190px; margin:0; overflow:hidden; }
.server-current-map[hidden] { display:none; }
.server-current-map img { display:block; width:190px; height:auto; aspect-ratio:16 / 9; flex:0 0 auto; object-fit:cover; border:1px solid var(--border); border-radius:8px; background:var(--surface-soft); }
.server-back { display:inline-flex; align-items:center; gap:5px; color:var(--muted); font-size:11px; }
.server-back .icon { width:13px; height:13px; }
.server-workspace-identity h1 { margin:5px 0 7px; font-size:20px; line-height:1.3; overflow-wrap:anywhere; }
.server-workspace-header .panel-server-status { position:static; width:max-content; font-size:9px; padding:3px 6px; }
.server-workspace-players { display:flex; align-items:center; justify-content:center; gap:10px; color:var(--muted); font-size:12px; }
.server-workspace-players[href] { text-decoration:none; border-radius:8px; padding:7px 10px; transition:background .15s,color .15s; }
.server-workspace-players[href]:hover { color:var(--primary); background:var(--surface-soft); }
.server-workspace-players > .icon { width:24px; height:24px; color:var(--primary); }
.server-workspace-players strong { display:block; margin-top:3px; color:var(--text); font-size:22px; font-weight:700; line-height:1.2; }
.server-players-panel { display:grid; gap:16px; }
.server-players-summary { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:15px 17px; border:1px solid var(--border); border-radius:10px; background:var(--surface-soft); }
.server-players-summary > div { display:grid; gap:4px; color:var(--muted); font-size:12px; }
.server-players-summary strong { color:var(--text); font-size:22px; }
.server-players-summary p { margin:0; color:var(--muted); font-size:12px; text-align:right; }
.server-players-table-wrap { width:100%; overflow-x:auto; border:1px solid var(--border); border-radius:10px; }
.server-players-table { width:100%; border-collapse:collapse; text-align:left; font-size:13px; }
.server-players-table th,.server-players-table td { padding:12px 14px; border-bottom:1px solid var(--border); white-space:nowrap; }
.server-players-table th { color:var(--muted); background:var(--surface-soft); font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
.server-players-table tbody tr:last-child td { border-bottom:0; }
.server-player-name { color:var(--text); font-weight:650; }
.server-player-name small { display:block; margin-top:3px; color:var(--muted); font-size:10px; font-weight:400; }
.server-player-flag { width:16px; height:11px; margin-right:7px; object-fit:cover; vertical-align:middle; }
.server-players-empty td { padding:28px 14px; color:var(--muted); text-align:center; }
.server-workspace-controls { display:flex; flex-direction:column; align-items:flex-end; justify-content:center; gap:7px; min-width:0; }
.server-workspace-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:8px; }
.server-workspace-controls form { margin:0; }
.server-workspace-controls .button { min-height:38px; padding:8px 12px; font-size:12px; white-space:nowrap; }
.server-workspace-controls .icon { width:15px; height:15px; }
.server-workspace-controls .server-cancel { color:#ff796e; border-color:color-mix(in srgb,#ff796e 32%,var(--border)); }
.server-confirm { display:block; max-width:165px; font-size:11px; color:var(--muted); }
.server-confirm input { width:auto; min-height:0; }
.js-power .server-confirm { display:none; }
.server-workspace-header > .panel-server-action-message { grid-column:1/-1; margin:0; }
.server-expiry-notice { display:flex; align-items:center; gap:7px; width:max-content; max-width:100%; min-width:0; margin:0; padding:6px 9px; border:1px solid #f2b84a66; border-radius:8px; background:#f2b84a14; color:#f7d38b; font-size:11px; line-height:1.35; }
.server-expiry-notice > .icon { flex:0 0 14px; width:14px; height:14px; color:#f2b84a; }
.server-expiry-notice span { flex:1; min-width:0; }
.server-expiry-notice a { color:#ffd982; font-size:10px; font-weight:650; white-space:nowrap; text-decoration:underline; text-underline-offset:3px; }
.server-workspace-layout { display:grid; grid-template-columns:215px minmax(0,1fr); align-items:start; gap:20px; }
.server-sidebar { display:grid; gap:5px; padding:10px; border:1px solid var(--border); border-radius:13px; background:var(--surface); }
.server-sidebar a { display:flex; align-items:center; gap:11px; min-height:44px; padding:10px 12px; border:1px solid transparent; border-radius:8px; color:var(--muted); font-size:13px; }
.server-sidebar .icon { width:18px; height:18px; flex-shrink:0; }
.server-sidebar a > .icon:last-child:not(:first-child) { width:13px; height:13px; margin-left:auto; }
.server-sidebar a:hover { color:var(--text); background:var(--surface-soft); }
.server-sidebar a[aria-current] { color:var(--primary); border-color:color-mix(in srgb,var(--primary) 23%,var(--border)); background:var(--primary-soft); }
.server-permissions-panel { display:grid; gap:18px; }
.server-permissions-intro,.server-permission-user { display:flex; align-items:center; gap:12px; min-width:0; }
.server-section-heading .server-permissions-intro { justify-content:flex-end; margin:0 0 0 auto; max-width:min(65%,720px); text-align:right; }
.server-permissions-intro h3,.server-permission-list-heading h3 { margin:0 0 4px; font-size:15px; }
.server-permissions-intro p,.server-permission-user small { display:block; margin:0; color:var(--muted); font-size:12px; line-height:1.55; }
.server-permission-form,.server-permission-card { display:grid; gap:16px; }
.server-permission-email { display:grid; gap:7px; max-width:520px; color:var(--text); font-size:12px; font-weight:700; }
.server-permission-email input { min-height:42px; padding:10px 12px; border:1px solid var(--border); border-radius:8px; background:var(--surface-soft); color:var(--text); }
.server-permission-fieldset { min-width:0; margin:0; padding:14px; border:1px solid var(--border); border-radius:10px; }
.server-permission-fieldset legend { padding:0 6px; color:var(--muted); font-size:12px; font-weight:700; }
.server-permission-checks { display:grid; grid-template-columns:repeat(auto-fit,minmax(155px,1fr)); gap:8px; }
.server-permission-checks label { display:flex; align-items:center; gap:8px; min-height:36px; padding:7px 9px; border:1px solid var(--border); border-radius:8px; color:var(--muted); font-size:12px; cursor:pointer; }
.server-permission-checks label:has(input:checked) { color:var(--text); border-color:color-mix(in srgb,var(--primary) 40%,var(--border)); background:var(--surface-soft); }
.server-permission-checks input { accent-color:var(--primary); }
.server-permission-checks span { display:flex; align-items:center; gap:7px; }
.server-permission-checks .icon { width:15px; height:15px; color:var(--primary); }
.server-permission-actions { grid-template-columns:repeat(auto-fit,minmax(155px,1fr)); }
.server-permission-form-footer { display:flex; align-items:center; justify-content:space-between; gap:15px; }
.server-permission-form-footer small { max-width:650px; color:var(--muted); font-size:11px; line-height:1.5; }
.server-permission-list-heading { display:flex; align-items:center; gap:9px; margin-top:6px; }
.server-permission-list-heading span { display:grid; min-width:22px; height:22px; place-items:center; padding:0 6px; border-radius:20px; background:var(--surface-soft); color:var(--muted); font-size:11px; }
.server-permission-list { display:grid; gap:12px; }
.server-permission-card { padding:16px; border:1px solid var(--border); border-radius:11px; background:var(--surface-soft); }
.server-permission-user { margin-bottom:2px; }
.server-permission-user strong { display:block; overflow-wrap:anywhere; font-size:13px; }
.server-permission-card-actions { display:flex; justify-content:flex-end; }
.server-permission-card > form:last-child { margin:0; padding-top:12px; border-top:1px solid var(--border); }
.server-permission-remove { color:#ff796e; }
.server-permission-empty { padding:20px; }
.panel.server-workspace-content { min-width:0; min-height:380px; padding:24px; }
.server-section-heading { display:flex; align-items:center; gap:12px; margin-bottom:25px; padding-bottom:20px; border-bottom:1px solid var(--border); }
.server-section-heading .dashboard-icon { width:38px; height:38px; flex-basis:38px; }
.server-section-heading h2 { margin:0; font-size:18px; }
.server-section-heading p { margin:4px 0 0; color:var(--muted); font-size:12px; }
.server-logs { min-width:0; }
.server-logs-toolbar { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin:-4px 0 12px; color:var(--text); font-size:13px; }
.server-logs-toolbar p { margin:5px 0 0; color:var(--muted); font-size:12px; }
.server-logs-updated { color:var(--muted); font-size:11px; white-space:nowrap; }
.server-log-output { display:block; width:100%; min-height:480px; max-height:70vh; padding:16px; resize:vertical; overflow:auto; border:1px solid var(--border); border-radius:10px; background:#0b0f18; color:#d9e4f5; font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace; white-space:pre; tab-size:4; }
.server-log-output:focus { outline:2px solid color-mix(in srgb,var(--primary) 55%,transparent); outline-offset:2px; }
.server-console { display:grid; gap:16px; min-width:0; }
.server-console-intro { display:flex; align-items:center; justify-content:flex-end; gap:16px; text-align:right; }
.server-console-intro h3 { margin:0; font-size:16px; }
.server-console-intro p { margin:6px 0 0; color:var(--muted); font-size:12px; }
.server-console-protocol { padding:6px 10px; border:1px solid var(--border); border-radius:999px; color:var(--primary); font-size:10px; font-weight:700; }
.server-console-terminal { display:grid; grid-template-rows:auto minmax(360px,1fr) auto; min-width:0; min-height:520px; overflow:hidden; border:1px solid var(--border); border-radius:10px; background:#0b0f18; }
.server-console-terminal .server-console-result-heading { background:#111722; }
.server-console-terminal .server-console-result-heading span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.server-console-terminal > pre { min-height:360px; max-height:65vh; overflow:auto; margin:0; padding:15px; color:#d9e4f5; font:12px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace; white-space:pre-wrap; overflow-wrap:anywhere; }
.server-console-form { display:flex; align-items:center; gap:10px; min-width:0; margin:0; padding:12px; border-top:1px solid #293142; background:#111722; }
.server-console-prompt { flex:0 0 auto; color:#91d66c; font:700 16px ui-monospace,SFMono-Regular,Consolas,monospace; }
.server-console-input-row { display:flex; flex:1; gap:10px; min-width:0; }
.server-console-input-row input { flex:1; min-width:0; min-height:44px; padding:10px 13px; border:1px solid #394354; border-radius:7px; background:#0b0f18; color:var(--text); font:13px ui-monospace,SFMono-Regular,Consolas,monospace; }
.server-console-input-row input:focus { outline:2px solid color-mix(in srgb,var(--primary) 55%,transparent); outline-offset:1px; }
.server-console-input-row .button { white-space:nowrap; }
.server-console-result-heading { display:flex; justify-content:space-between; gap:12px; padding:11px 14px; border-bottom:1px solid #293142; color:#d9e4f5; font-size:12px; }
.server-console-result-heading span { color:#93a3bb; }
.server-overview-connection { display:flex; justify-content:space-between; flex-wrap:wrap; gap:14px; margin-bottom:24px; padding:16px; border:1px solid var(--border); border-radius:10px; background:var(--surface-soft); font-size:13px; }
.server-overview-connection > span { display:flex; align-items:center; gap:8px; min-width:0; overflow-wrap:anywhere; }
.server-overview-connection strong { min-width:0; }
.server-overview-connection img { width:auto; height:auto; max-width:18px; max-height:14px; }
.server-overview-connection .icon { width:17px; height:17px; color:var(--primary); flex-shrink:0; }
.server-overview-connection .copy-address { margin-left:3px; }
.server-detail-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:0 0 20px; }
.server-detail-grid > div { display:block; padding:16px; border:1px solid var(--border); border-radius:9px; background:var(--surface-soft); min-width:0; }
.server-detail-grid dt { color:var(--muted); font-size:12px; }
.server-detail-grid dd { margin:8px 0 0; text-align:left; font-size:18px; font-weight:650; overflow-wrap:anywhere; }
.server-detail-grid code { font-size:15px; }
.server-section-note { margin:0 0 22px; color:var(--muted); font-size:13px; line-height:1.7; }
.server-info-card { display:flex; align-items:center; gap:13px; padding:17px; border:1px solid var(--border); border-radius:10px; font-size:13px; }
.server-info-card > .icon { width:25px; height:25px; color:var(--primary); flex-shrink:0; }
.server-info-card p { margin:5px 0 0; color:var(--muted); font-size:12px; line-height:1.6; }
.server-info-card > a { display:inline-flex; align-items:center; gap:6px; margin-left:auto; color:var(--primary); font-size:12px; }
.server-info-card > a .icon { width:14px; height:14px; }
.server-info-card .server-addon-copy { flex:1; min-width:0; }
.server-info-card > form { margin:0; }
.server-info-card > .panel-mod-state { flex-shrink:0; }
.server-empty-state { display:grid; justify-items:center; max-width:470px; margin:25px auto; text-align:center; }
.server-empty-state.server-mysql-panel { display:grid; gap:14px; max-width:none; margin:0; text-align:left; }
.server-mysql-panel > .icon { width:34px; height:34px; margin:0 0 12px; color:var(--primary); }
.server-section-heading .server-phpmyadmin-button { min-height:32px; margin-left:auto; padding:6px 10px; flex-shrink:0; font-size:11px; }
.server-section-heading .server-phpmyadmin-button .icon { width:14px; height:14px; }
.server-mysql-unavailable { margin:0; color:var(--muted); font-size:13px; }
.server-mysql-credential-icon { display:grid; place-items:center; flex:0 0 42px; width:42px; height:42px; border-radius:11px; background:color-mix(in srgb,var(--primary) 14%,var(--surface-soft)); color:var(--primary); }
.server-mysql-credentials { display:grid; width:100%; box-sizing:border-box; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0 0 17px; padding:0; }
.server-mysql-credential { display:flex; align-items:center; gap:13px; min-width:0; padding:12px 14px; border:1px solid var(--border); border-radius:10px; background:var(--surface-soft); }
.server-mysql-credential:last-child { grid-column:1/-1; }
.server-mysql-credential-icon { flex-basis:36px; width:36px; height:36px; border-radius:9px; background:var(--surface); color:var(--muted); }
.server-mysql-credential-icon .icon { width:17px; height:17px; }
.server-mysql-credential-value { flex:1; min-width:0; }
.server-mysql-credential-value dt { color:var(--muted); font-size:11px; }
.server-mysql-credential-value dd { margin:3px 0 0; text-align:left; overflow-wrap:anywhere; font-size:14px; font-weight:650; }
.server-mysql-credential-value code { font-size:13px; }
.server-mysql-credential .copy-address { width:32px; height:32px; }
.server-mysql-credential .copy-address.is-copied { width:auto; }
.server-mysql-credential .copy-address .icon { width:15px; height:15px; }
.server-mysql-security-alert { display:flex; align-items:center; gap:12px; width:100%; box-sizing:border-box; margin:0; padding:13px 15px; border:1px solid #ef444480; border-radius:10px; background:#ef44441a; color:#ffb4ae; }
.server-mysql-security-alert > .icon { flex:0 0 19px; width:19px; height:19px; color:#ff6b66; }
.server-mysql-security-alert p { flex:1; min-width:0; margin:0; color:#ffc5c0; font-size:12px; line-height:1.6; }
.server-mysql-security-alert form { flex-shrink:0; margin:0; }
.server-mysql-rotate { min-height:36px; padding:8px 12px; border:1px solid #ff777780; background:#a92c32; color:#fff; font-size:12px; }
.server-mysql-rotate:hover { background:#c4343c; }
.server-mysql-rotate:disabled { opacity:.52; cursor:not-allowed; }
.server-mysql-rotate .icon { width:15px; height:15px; }
.server-disk-access { display:grid; gap:16px; }
.server-disk-intro { display:flex; align-items:center; gap:13px; padding:16px; border:1px solid var(--border); border-radius:11px; background:var(--surface-soft); }
.server-disk-icon { display:grid; place-items:center; flex:0 0 42px; width:42px; height:42px; border-radius:11px; background:color-mix(in srgb,var(--primary) 14%,var(--surface)); color:var(--primary); }
.server-disk-icon .icon { width:21px; height:21px; }
.server-disk-intro h3 { margin:0; font-size:15px; }
.server-disk-intro p { margin:5px 0 0; color:var(--muted); font-size:12px; line-height:1.5; }
.server-disk-credentials { margin:0; }
.server-disk-public-link { display:flex; align-items:center; gap:12px; min-width:0; padding:13px 15px; border:1px solid var(--border); border-radius:10px; background:var(--surface-soft); color:var(--primary); text-decoration:none; }
.server-disk-public-link > .icon { flex:0 0 19px; width:19px; height:19px; }
.server-disk-public-link span { display:grid; min-width:0; gap:4px; }
.server-disk-public-link small { color:var(--muted); font-size:11px; }
.server-disk-public-link strong { overflow-wrap:anywhere; font-size:13px; }
.server-disk-access .server-mysql-security-alert { margin:0; }
.server-disk-access .server-mysql-security-alert form { margin-left:auto; }
.server-game-ftp-access { gap:14px; }
.server-game-ftp-credentials { margin:0; }
.server-game-ftp-access > .server-section-note { margin:0; }
.server-configuration-panel { display:grid; gap:16px; }
.server-config-grid { grid-template-columns:repeat(3,minmax(0,1fr)); margin:0; }
.server-config-grid dd { min-height:27px; }
.server-config-copy-value { display:flex !important; align-items:center; justify-content:space-between; gap:10px; }
.server-config-copy-value code { overflow-wrap:anywhere; }
.server-config-copy-value .copy-address { flex:0 0 32px; width:32px; height:32px; }
.server-config-badge { display:inline-flex; align-items:center; padding:5px 9px; border:1px solid var(--border); border-radius:99px; background:var(--surface); font-size:12px; }
.server-config-tip { display:flex; align-items:center; gap:12px; padding:14px 16px; border:1px solid var(--border); border-radius:10px; background:var(--surface-soft); }
.server-config-tip > .icon { flex:0 0 18px; width:18px; height:18px; color:var(--primary); }
.server-config-tip p { flex:1; margin:0; color:var(--muted); font-size:12px; line-height:1.6; }
.server-config-tip .button { flex-shrink:0; }
.server-startup-card { display:grid; gap:12px; margin-bottom:18px; padding:16px; border:1px solid var(--border); border-radius:11px; background:var(--surface-soft); }
.server-startup-heading h3 { display:flex; align-items:center; gap:8px; margin:0; color:var(--text); font-size:15px; }
.server-startup-heading h3 .icon { width:17px; height:17px; color:var(--primary); }
.server-startup-heading p { margin:5px 0 0; color:var(--muted); font-size:11px; }
.server-startup-heading { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.server-startup-illustration { width:150px; height:96px; object-fit:contain; flex:0 0 auto; }
.server-startup-apply { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:13px 15px; border:1px solid color-mix(in srgb,var(--primary) 36%,var(--border)); border-radius:9px; background:color-mix(in srgb,var(--primary) 8%,var(--surface)); }
.server-startup-apply > div:first-child { display:grid; gap:3px; }
.server-startup-apply strong { color:var(--text); font-size:13px; }
.server-startup-apply span { color:var(--muted); font-size:11px; }
.server-startup-apply-actions { display:flex; align-items:center; gap:8px; }
.server-startup-apply-actions form { margin:0; }
.server-startup-apply-actions .button { min-height:30px; padding:5px 10px; border-radius:7px; font-size:11px; line-height:1.3; }
.server-startup-apply-actions .button .icon { width:14px; height:14px; }
.game-name-color-0 { color:#c4cde0; }
.game-name-color-1 { color:#ff626e; }
.game-name-color-2 { color:#69d69a; }
.game-name-color-3 { color:#ffd05b; }
.game-name-color-4 { color:#70a9ff; }
.game-name-color-5 { color:#43d6da; }
.game-name-color-6 { color:#cb91ff; }
.game-name-color-7 { color:#f4f6fb; }
.game-name-color-8 { color:#aab4c7; }
.game-name-color-9 { color:#ff9b5b; }
.server-startup-preview { overflow:auto; margin:0; padding:13px; border:1px solid var(--border); border-radius:8px; background:#0c1019; color:var(--text); font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace; white-space:pre-wrap; overflow-wrap:anywhere; }
.server-startup-extra-form { display:grid; gap:8px; }
.server-startup-extra-form > label { color:var(--text); font-size:12px; font-weight:700; }
.server-startup-extra-form > input { width:100%; min-height:40px; padding:9px 11px; border:1px solid var(--border); border-radius:7px; background:var(--surface); color:var(--text); font:12px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace; }
.server-startup-extra-form > input:focus { outline:2px solid color-mix(in srgb,var(--primary) 55%,transparent); outline-offset:1px; }
.server-startup-extra-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.server-startup-extra-actions small { color:var(--muted); font-size:11px; line-height:1.55; }
.server-startup-extra-actions .button { flex:0 0 auto; }
.server-startup-extra-actions .button { min-height:30px; padding:5px 10px; border-radius:7px; font-size:11px; line-height:1.3; }
.server-hltv-header-toggle .button.is-hltv-on { border-color:#ef626255; color:#ff9690; }
.server-hltv-header-toggle { display:grid; justify-items:end; gap:4px; }
.server-hltv-details { grid-template-columns:repeat(2,minmax(0,1fr)); }
.server-game-config-form { display:grid; gap:10px; }
.server-game-config-form > label { color:var(--text); font-size:13px; font-weight:650; }
.server-game-config-form textarea { width:100%; min-height:360px; padding:14px; border:1px solid var(--border); border-radius:10px; background:#0c1019; color:var(--text); font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace; resize:vertical; tab-size:4; }
.server-game-config-form textarea:focus { outline:2px solid color-mix(in srgb,var(--primary) 55%,transparent); outline-offset:1px; }
.server-config-language-note { margin:0; padding:11px 13px; border:1px solid var(--border); border-radius:9px; background:var(--surface-soft); color:var(--muted); font-size:12px; line-height:1.5; }
.server-game-config-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.server-game-config-field { display:grid; grid-template-columns:minmax(0,1fr) minmax(150px,1.1fr); align-items:center; gap:12px; min-width:0; padding:13px; border:1px solid var(--border); border-radius:10px; background:var(--surface-soft); }
.server-game-config-field.is-rcon { border-color:color-mix(in srgb,var(--primary) 48%,var(--border)); background:color-mix(in srgb,var(--primary) 8%,var(--surface-soft)); }
.server-game-config-field-title { min-width:0; }
.server-game-config-field-title label { display:block; overflow-wrap:anywhere; color:var(--text); font-size:12px; font-weight:700; }
.server-game-config-field-title small { display:block; margin-top:4px; color:var(--muted); font-size:10px; line-height:1.45; }
.server-game-config-field-input { display:grid; gap:7px; min-width:0; }
.server-game-config-field-input input,.server-game-config-field-input select { width:100%; min-width:0; min-height:38px; padding:8px 10px; border:1px solid var(--border); border-radius:7px; background:var(--surface); color:var(--text); font:12px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace; }
.server-game-config-field-input input[readonly] { border-style:dashed; opacity:.82; cursor:not-allowed; }
.server-game-config-field-input input:focus,.server-game-config-field-input select:focus { outline:2px solid color-mix(in srgb,var(--primary) 55%,transparent); outline-offset:1px; }
.server-game-config-field-input.is-new { grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); }
.server-game-config-field.is-raw { grid-column:1/-1; }
.server-config-add-field { justify-self:start; }
.server-game-config-actions { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.server-game-config-actions small { color:var(--muted); font-size:11px; }
.server-game-config-actions .button { flex:0 0 auto; }
.server-payment-panel { display:grid; gap:16px; }
.server-payment-hero { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px; border:1px solid var(--border); border-radius:11px; background:linear-gradient(120deg,color-mix(in srgb,var(--primary) 10%,var(--surface-soft)),var(--surface-soft) 60%); }
.server-payment-eyebrow { color:var(--muted); font-size:11px; font-weight:650; text-transform:uppercase; letter-spacing:.06em; }
.server-payment-hero h3 { margin:5px 0 0; font-size:28px; line-height:1.2; }
.server-payment-hero h3 small { color:var(--muted); font-size:13px; font-weight:550; }
.server-payment-status { display:inline-flex; align-items:center; gap:7px; padding:7px 11px; border:1px solid transparent; border-radius:99px; font-size:12px; font-weight:700; white-space:nowrap; }
.server-payment-status i { width:7px; height:7px; border-radius:50%; background:currentColor; }
.server-payment-status.is-paid { border-color:#41c98a50; background:#41c98a18; color:#65dfa5; }
.server-payment-status.is-test { border-color:#57a8ff50; background:#57a8ff18; color:#8ec8ff; }
.server-payment-status.is-pending { border-color:#f2b84a55; background:#f2b84a18; color:#f7d38b; }
.server-payment-status.is-unpaid { border-color:#ef626255; background:#ef626218; color:#ff9690; }
.server-payment-grid { grid-template-columns:repeat(3,minmax(0,1fr)); margin:0; }
.server-payment-grid > div { background:var(--surface-soft); }
.server-payment-expiry { display:flex; align-items:center; gap:10px; padding:12px 14px; border:1px solid #f2b84a66; border-radius:9px; background:#f2b84a14; color:#f7d38b; font-size:12px; line-height:1.5; }
.server-payment-expiry .icon { flex:0 0 17px; width:17px; height:17px; }
.server-payment-history { justify-self:start; }
.server-empty-state > .icon { width:44px; height:44px; margin-bottom:15px; color:var(--primary); }
.server-empty-state h3 { margin:0; font-size:17px; }
.server-empty-state p { margin:12px 0 18px; color:var(--muted); font-size:13px; line-height:1.7; }
.server-activity-list,.server-addon-list { display:grid; gap:10px; }
.server-activity-list article { display:flex; align-items:center; gap:12px; padding:14px; border:1px solid var(--border); border-radius:9px; font-size:13px; }
.server-activity-list article > .icon { width:18px; height:18px; color:var(--primary); flex-shrink:0; }
.server-activity-list time { display:block; margin-top:5px; color:var(--muted); font-size:11px; }
.server-activity-list .order-status { margin-left:auto; }
.server-activity-meta { margin:0 0 9px; color:var(--muted); font-size:11px; }
.server-activity-table-wrap { width:100%; overflow-x:auto; }
.server-activity-table { width:100%; border-collapse:collapse; text-align:left; }
.server-activity-table th, .server-activity-table td { padding:8px 10px; border-bottom:1px solid var(--border); vertical-align:middle; }
.server-activity-table th { color:var(--muted); font-size:10px; font-weight:650; text-transform:uppercase; letter-spacing:.04em; }
.server-activity-table td { font-size:12px; }
.server-activity-table tbody tr:last-child td { border-bottom:0; }
.server-activity-table .order-status { min-height:22px; padding:2px 7px; font-size:10px; }
.server-activity-pagination { display:flex; align-items:center; justify-content:center; gap:12px; margin-top:12px; color:var(--muted); font-size:11px; }
.server-activity-pagination .button { min-height:30px; padding:5px 9px; font-size:11px; }
.server-activity-pagination [aria-disabled="true"] { opacity:.45; cursor:default; }
.server-activity-empty { margin:0; padding:8px 0; color:var(--muted); font-size:12px; }
.server-aapanel-manager { display:grid; gap:14px; margin-top:20px; padding-top:18px; border-top:1px solid var(--border); }
.server-aapanel-manager-head { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.server-aapanel-manager-head h3 { margin:0; font-size:16px; }
.server-aapanel-manager-head p { margin:4px 0 0; color:var(--muted); font-size:12px; }
.server-aapanel-manager-head code { max-width:45%; overflow:hidden; color:var(--muted); font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.server-file-manager-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:9px; }
.server-file-manager-toolbar form { display:flex; align-items:center; flex-wrap:wrap; gap:7px; margin:0; }
.server-file-manager-toolbar input:not([type=file]) { width:190px; min-height:36px; padding:7px 10px; border:1px solid var(--border); border-radius:8px; background:var(--surface-soft); color:var(--text); }
.server-file-upload-label { max-width:220px; overflow:hidden; color:var(--muted); font-size:11px; }
.server-file-upload-label input { display:block; width:200px; margin-top:3px; font-size:11px; }
.server-file-list { overflow:hidden; border:1px solid var(--border); border-radius:10px; }
.server-file-list-head,.server-file-row { display:grid; grid-template-columns:minmax(0,1fr) 110px 160px 90px; align-items:center; gap:12px; padding:10px 13px; }
.server-file-list-head { background:var(--surface-soft); color:var(--muted); font-size:10px; font-weight:700; text-transform:uppercase; }
.server-file-row { min-height:42px; border-top:1px solid var(--border); font-size:12px; }
.server-file-name { display:flex; align-items:center; gap:9px; min-width:0; }
.server-file-name .icon { flex:0 0 17px; width:17px; height:17px; color:var(--primary); }
.server-file-name a,.server-file-name span { overflow:hidden; color:var(--text); text-overflow:ellipsis; white-space:nowrap; }
.server-file-name a:hover { color:var(--primary); }
.server-file-row > span:not(:first-child) { color:var(--muted); }
.server-file-row form { margin:0; }
.server-file-row .admin-game-action { min-height:29px; padding:5px 8px; font-size:11px; }
.server-file-empty { margin:0; padding:18px; color:var(--muted); font-size:12px; }
.server-file-manager-error { margin-top:14px; padding:12px 14px; border:1px solid #ef444480; border-radius:9px; background:#ef44441a; color:#ffb4ae; font-size:12px; }
.server-file-editor { display:grid; gap:12px; }
.server-file-editor-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.server-file-editor-heading strong { display:flex; align-items:center; gap:8px; overflow-wrap:anywhere; }
.server-file-editor-heading .icon { width:17px; height:17px; color:var(--primary); }
.server-file-editor textarea { width:100%; min-height:400px; box-sizing:border-box; padding:14px; border:1px solid var(--border); border-radius:10px; background:#0c1019; color:var(--text); font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace; resize:vertical; }
.admin-node-file-manager-links { margin-top:20px; padding:16px; border:1px solid var(--border); border-radius:10px; background:var(--surface-soft); }
.admin-node-file-manager-links h3 { margin:0 0 6px; font-size:15px; }
.admin-node-file-manager-links p { margin:0 0 12px; color:var(--muted); font-size:12px; }
.admin-node-file-manager-links > div { display:flex; flex-wrap:wrap; gap:8px; }
.voice-panel-page { display:grid; gap:18px; }
.voice-panel-page>.panel-servers-heading { margin:0; }
.voice-server-list { grid-template-columns:repeat(auto-fill,minmax(285px,330px)); align-items:start; }
.voice-server-card .panel-server-cover { display:grid; height:130px; place-items:center; overflow:hidden; }
.voice-server-card .panel-server-cover-fallback { display:grid; width:100%; height:100%; place-items:center; }
.voice-server-card .panel-server-cover-fallback .icon { width:52px; height:52px; }
.voice-panel-empty { display:grid; justify-items:center; gap:10px; padding:44px 24px; text-align:center; }
.voice-panel-empty>.dashboard-icon { width:52px; height:52px; }
.voice-panel-empty h2 { margin:0; font-size:20px; }
.voice-panel-empty p { max-width:480px; margin:0 0 8px; color:var(--muted); }
.voice-server-workspace { display:grid; gap:18px; }
.voice-server-header { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:24px; }
.voice-server-identity h1 { margin:8px 0 4px; font-size:24px; }
.voice-server-identity>p { margin:0 0 10px; color:var(--muted); }
.voice-server-header-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.voice-server-header-actions form { margin:0; }
.voice-server-details { padding:24px; }
.voice-details-heading { display:flex; align-items:center; gap:12px; margin-bottom:20px; padding-bottom:16px; border-bottom:1px solid var(--border); }
.voice-details-heading h2,.voice-details-heading p { margin:0; }
.voice-details-heading p { margin-top:4px; color:var(--muted); font-size:12px; }
.voice-details-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.voice-details-grid>div { display:grid; gap:7px; padding:15px; border:1px solid var(--border); border-radius:10px; background:var(--surface-soft); }
.voice-details-grid span { color:var(--muted); font-size:11px; }
.voice-details-grid strong { overflow-wrap:anywhere; font-size:14px; }
.voice-server-details>.notice { margin-top:16px; }
@media(max-width:680px) { .voice-server-header { align-items:flex-start; flex-direction:column; padding:17px; } .voice-server-header-actions { justify-content:flex-start; } .voice-server-details { padding:17px; } .voice-details-grid { grid-template-columns:minmax(0,1fr); } .voice-server-list { grid-template-columns:minmax(0,1fr); } }
@media(max-width:680px) { .server-aapanel-manager-head { align-items:flex-start; flex-direction:column; } .server-aapanel-manager-head code { max-width:100%; } .server-file-list-head { display:none; } .server-file-row { grid-template-columns:minmax(0,1fr) auto; gap:6px 10px; } .server-file-row > span:nth-child(2),.server-file-row > span:nth-child(3) { font-size:10px; } .server-file-row > span:nth-child(4) { grid-column:2; grid-row:1; } .server-file-manager-toolbar form { flex:1 1 100%; } .server-file-manager-toolbar input:not([type=file]) { flex:1; width:auto; } .server-file-editor textarea { min-height:280px; } }
@media(max-width:1050px) { .server-workspace-header { grid-template-columns:minmax(0,1fr) auto; } .server-workspace-controls { grid-column:1/-1; } .server-workspace-layout { grid-template-columns:185px minmax(0,1fr); gap:16px; } .server-detail-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:680px) { .server-workspace-header { padding:15px; gap:15px; } .server-workspace-identity { align-items:flex-start; gap:12px; } .server-current-map { flex:0 0 145px; width:145px; max-width:145px; } .server-current-map img { width:145px; } .server-workspace-identity h1 { font-size:18px; } .server-workspace-controls { align-items:flex-start; } .server-workspace-actions { justify-content:flex-start; } .server-workspace-layout { grid-template-columns:minmax(0,1fr); } .server-sidebar { grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; padding:7px; } .server-sidebar a { flex-direction:column; justify-content:center; gap:7px; padding:10px 3px; font-size:10px; } .server-sidebar a > .icon:last-child:not(:first-child) { display:none; } .panel.server-workspace-content { padding:17px; min-height:300px; } .server-detail-grid { grid-template-columns:minmax(0,1fr); gap:8px; } .server-detail-grid > div { padding:12px; } .server-detail-grid dd { font-size:15px; } .server-overview-connection { padding:12px; } .server-workspace-players > .icon { display:none; } .server-section-heading .server-phpmyadmin-button { margin-left:auto; } .server-mysql-credentials { grid-template-columns:minmax(0,1fr); } .server-mysql-credential:last-child { grid-column:auto; } .server-mysql-security-alert { align-items:flex-start; flex-wrap:wrap; } .server-mysql-security-alert p { flex-basis:calc(100% - 32px); } .server-mysql-security-alert form { margin-left:31px; } .server-console-form { align-items:stretch; } .server-console-input-row { flex-direction:column; } .server-console-input-row .button { align-self:flex-start; } }
@media(max-width:680px) { .server-expiry-notice { align-items:flex-start; flex-wrap:wrap; } .server-expiry-notice span { flex-basis:calc(100% - 24px); } .server-expiry-notice a { margin-left:21px; } .server-config-tip { align-items:flex-start; flex-wrap:wrap; } .server-config-tip p { flex-basis:calc(100% - 32px); } .server-config-tip .button { margin-left:30px; } .server-payment-hero { align-items:flex-start; flex-direction:column; } }
@media(max-width:680px) { .server-startup-heading { align-items:flex-start; } .server-startup-illustration { width:86px; height:60px; } .server-startup-apply { align-items:stretch; flex-direction:column; } .server-startup-apply-actions { flex-wrap:wrap; } }
@media(max-width:680px) { .server-permission-form-footer { align-items:stretch; flex-direction:column; } .server-permission-form-footer .button { justify-content:center; } .server-permission-checks { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:900px) { .server-game-config-fields { grid-template-columns:minmax(0,1fr); } }
@media(max-width:680px) { .server-hltv-details { grid-template-columns:minmax(0,1fr); } .server-game-config-form textarea { min-height:280px; } .server-game-config-actions,.server-startup-extra-actions { align-items:stretch; flex-direction:column; } .server-game-config-field { grid-template-columns:minmax(0,1fr); } .server-game-config-field-input.is-new { grid-template-columns:minmax(0,1fr); } }
