/* Quake Manager — web panel (mirrors desktop UI) */
.qm-panel-gate {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    background: #0d0a08;
}

.qm-panel-gate__box {
    width: min(460px, 100%);
    background: linear-gradient(180deg, #1a120c 0%, #120e0a 100%);
    border: 2px solid #cc5500;
    padding: 32px 28px;
    box-shadow: 0 0 40px rgba(204, 85, 0, 0.15);
}

.qm-panel-gate__title {
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: 2rem;
    color: #ff6600;
    text-align: center;
    letter-spacing: 0.06em;
}

.qm-panel-gate__subtitle {
    text-align: center;
    color: #888;
    margin: 8px 0 20px;
    font-size: 0.95rem;
}

.qm-panel-gate__hint {
    color: #c8c0b8;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 20px;
}

.qm-panel-gate__error {
    background: #3a1010;
    border: 1px solid #aa2222;
    color: #ff8888;
    padding: 10px 12px;
    margin-bottom: 16px;
    text-align: center;
}

.qm-panel-gate__form label {
    display: block;
    color: #ff9933;
    margin-bottom: 6px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.qm-panel-gate__form input[type="password"] {
    width: 100%;
    background: #0d0a08;
    border: 1px solid #553311;
    color: #fff;
    padding: 10px 12px;
    margin-bottom: 16px;
}

.qm-panel-gate__form button {
    width: 100%;
    background: #cc5500;
    border: none;
    color: #fff;
    font-family: Impact, sans-serif;
    font-size: 1.1rem;
    padding: 12px;
    cursor: pointer;
    letter-spacing: 0.04em;
}

.qm-panel-gate__form button:hover {
    background: #ff6600;
}

/* Full-width breakout from Elementor / theme container */
.qm-app-outer {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    margin-left: 0;
    margin-right: 0;
    background: #0d0a08;
    overflow-x: clip;
    box-sizing: border-box;
}

body.page-slug-quake-panel .elementor-widget-shortcode,
body.page-slug-quake-panel .elementor-widget-shortcode .elementor-widget-container,
body.page-slug-quake-panel .elementor-shortcode {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;
}

body.page-slug-quake-panel .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.elementor-widget-shortcode .qm-app-outer,
.elementor-section .qm-app-outer {
    max-width: 100vw !important;
    width: 100vw !important;
}

.qm-app {
    background: #0d0a08;
    color: #d8d0c8;
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    padding: 0 0 24px;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.qm-app__banner {
    position: relative;
    background: linear-gradient(180deg, #1a120c 0%, #0d0a08 100%);
    border-bottom: 3px solid #ff6600;
    padding: 20px 24px 16px;
}

.qm-app__banner-title {
    font-family: Impact, sans-serif;
    font-size: 2.2rem;
    color: #ff9933;
    letter-spacing: 0.05em;
}

.qm-app__banner-line {
    width: 220px;
    height: 3px;
    background: #cc5500;
    margin: 8px 0 4px;
}

.qm-app__banner-sub {
    color: #888;
    font-size: 0.9rem;
}

.qm-app__logout {
    position: absolute;
    top: 16px;
    right: 16px;
}

.qm-app__logout button {
    background: #2a1810;
    border: 1px solid #664422;
    color: #ccc;
    padding: 6px 12px;
    cursor: pointer;
}

.qm-panel {
    margin: 12px 14px 0;
    background: #17120e;
    border: 1px solid #332211;
    padding: 12px 14px;
}

.qm-panel__title {
    color: #ff9933;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

.qm-profile-grid {
    display: grid;
    grid-template-columns: 120px 1fr 80px 1fr 120px 1fr auto;
    gap: 10px 12px;
    align-items: center;
}

.qm-profile-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.qm-profile-grid label {
    color: #aaa;
    font-size: 0.78rem;
}

.qm-profile-grid input,
.qm-profile-grid select {
    background: #0d0a08;
    border: 1px solid #443322;
    color: #ddd;
    padding: 6px 8px;
    min-width: 0;
}

.qm-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #aaa;
    font-size: 0.85rem;
}

.qm-status {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #aaa;
}

.qm-status--ok {
    color: #6f6;
}

.qm-status--err {
    color: #f88;
}

.qm-panel--muted {
    opacity: 0.92;
}

.qm-ssh-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.qm-ssh-status {
    color: #8cf;
    margin-right: 8px;
}

.qm-btn {
    display: inline-block;
    background: #2a2018;
    border: 1px solid #664422;
    color: #eee;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    white-space: nowrap;
    cursor: pointer;
    font-family: inherit;
}

.qm-btn:hover {
    filter: brightness(1.08);
}

.qm-btn--accent {
    background: #8a3a00;
    border-color: #cc5500;
    color: #fff;
}

.qm-btn--danger {
    background: #4a1515;
    border-color: #882222;
    color: #ffcccc;
}

.qm-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin: 12px 14px 0;
    border-bottom: 2px solid #442200;
}

.qm-tab {
    background: #1a1410;
    border: 1px solid #332211;
    border-bottom: none;
    color: #aaa;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 0.82rem;
}

.qm-tab.is-active {
    background: #17120e;
    color: #ff9933;
    border-color: #cc5500;
    margin-bottom: -2px;
    border-bottom: 2px solid #17120e;
}

.qm-tab-panels {
    margin: 0 14px;
    background: #17120e;
    border: 1px solid #332211;
    border-top: none;
    padding: 14px;
    min-height: 420px;
}

.qm-tab-panel {
    display: none;
}

.qm-tab-panel.is-active {
    display: block;
}

.qm-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
}

.qm-toolbar--wrap {
    margin-top: 12px;
}

.qm-toolbar--center {
    justify-content: center;
    margin-top: 8px;
    margin-bottom: 0;
}

.qm-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.qm-split--3 {
    grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 900px) {
    .qm-split,
    .qm-split--3,
    .qm-profile-grid {
        grid-template-columns: 1fr;
    }
}

.qm-table-wrap {
    background: #0d0a08;
    border: 1px solid #2a2018;
    padding: 10px;
    overflow: auto;
}

.qm-table-title {
    color: #ff9933;
    font-size: 0.8rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.qm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.qm-table th {
    text-align: left;
    color: #888;
    border-bottom: 1px solid #333;
    padding: 6px 8px;
}

.qm-table td {
    padding: 6px 8px;
    border-bottom: 1px solid #1a1410;
}

.qm-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 220px;
    overflow: auto;
}

.qm-list li {
    padding: 4px 0;
    border-bottom: 1px solid #1a1410;
}

.qm-message-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
}

.qm-message-row input {
    flex: 1;
    background: #0d0a08;
    border: 1px solid #443322;
    color: #ddd;
    padding: 8px;
}

.qm-spider-wrap {
    width: 100%;
    overflow: auto;
    border: 1px solid #222;
    background: #0d0a08;
}

.qm-spider {
    overflow: visible;
    font-size: 0.8rem;
    width: 100%;
    min-width: 1100px;
}

.qm-spider-head,
.qm-spider-row {
    display: grid;
    grid-template-columns: 56px 80px minmax(220px, 2.5fr) 72px 80px 100px 90px 56px 72px;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
}

.qm-spider-row {
    cursor: pointer;
    content-visibility: auto;
    contain-intrinsic-size: 36px;
}

.qm-spider-row:hover {
    background: #221810;
}

.qm-flag {
    height: 14px;
    vertical-align: middle;
}

.qm-red {
    color: #f33;
}

.qm-map-line {
    margin-top: 12px;
    color: #ff9933;
    font-weight: 700;
}

.qm-cmd-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.qm-table tr.is-selected {
    background: #5a3818;
}

.qm-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

.qm-modal[hidden] {
    display: none !important;
}

.qm-modal__box {
    background: #17120e;
    border: 2px solid #cc5500;
    max-width: 720px;
    width: 100%;
    max-height: 80vh;
    overflow: auto;
    padding: 20px;
}

.qm-modal__title {
    color: #ff9933;
    font-family: Impact, sans-serif;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.qm-modal__body {
    background: #080604;
    color: #cfc;
    padding: 12px;
    max-height: 50vh;
    overflow: auto;
    white-space: pre-wrap;
    font-size: 0.82rem;
}

.qm-spider-head {
    background: #242424;
    color: #ff4500;
    font-weight: 700;
}

.qm-spider-row {
    border-bottom: 1px solid #101010;
}

.qm-spider-row.is-selected {
    background: #5a3818;
    outline: 1px solid #ff9933;
}

.qm-spider-row small {
    display: block;
    color: #888;
    font-size: 0.75rem;
}

.qm-orange { color: #ff6600; }
.qm-green { color: #0f0; }
.qm-yellow { color: #e6d032; }
.qm-muted { color: #888; font-size: 0.85rem; }
.qm-mt { margin-top: 16px; }

.qm-cmd-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.qm-cmd-list li {
    padding: 8px 0;
    border-bottom: 1px solid #1a1410;
}

.qm-cmd-list strong {
    color: #ff9933;
    display: block;
}

.qm-cmd-list span {
    color: #888;
    font-size: 0.85rem;
}

.qm-console pre {
    background: #080604;
    border: 1px solid #222;
    color: #cfc;
    padding: 12px;
    overflow: auto;
    max-height: 280px;
    font-family: Consolas, monospace;
    font-size: 0.82rem;
}

.qm-app__footer {
    margin: 16px 14px 0;
    padding: 12px;
    border-top: 1px solid #332211;
    color: #888;
    font-size: 0.85rem;
    text-align: center;
}

.qm-app__footer a {
    color: #ff9933;
}

.qm-q3-logo {
    width: clamp(74px, 8vw, 130px);
    height: auto;
    justify-self: start;
    filter: drop-shadow(0 0 18px rgba(190, 0, 0, 0.75)) drop-shadow(0 8px 12px rgba(0, 0, 0, 0.8));
}

.qm-app__brand {
    min-width: 0;
}

.qm-bot-list,
.qm-search,
.qm-bot-settings select,
.qm-bot-settings input[type="text"] {
    width: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 32%), #070303;
    border: 1px solid rgba(192, 183, 168, 0.28);
    color: #f4eee7;
    border-radius: 10px;
    padding: 10px 12px;
    outline: none;
}

.qm-bot-list {
    min-height: 360px;
    font-family: Consolas, monospace;
}

.qm-bot-list option {
    padding: 5px 8px;
}

.qm-bot-list option:checked {
    background: #8e0500;
    color: #fff;
}

.qm-bot-settings {
    display: grid;
    grid-template-columns: 190px minmax(260px, 1fr) 90px minmax(120px, 180px) 170px minmax(180px, 1fr);
    gap: 10px 12px;
    align-items: center;
}

.qm-bot-settings label {
    color: #c0b7a8;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.74rem;
}

.qm-bot-settings input[type="range"] {
    accent-color: #c5120c;
}

.qm-command-table {
    margin-top: 10px;
}

.qm-command-table tbody {
    max-height: 470px;
}

.qm-command-desc {
    min-height: 110px;
    margin-bottom: 12px;
    padding: 14px;
    border: 1px solid rgba(192, 183, 168, 0.22);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.28);
    color: #d9d1c4;
    line-height: 1.55;
}

.qm-table tr {
    cursor: default;
}

.qm-table tbody tr:hover {
    background: rgba(180, 0, 0, 0.1);
}

/* Q3 Arena visual pass */
.qm-app {
    position: relative;
    min-height: 78vh;
    background:
        radial-gradient(circle at 18% 6%, rgba(255, 102, 0, 0.18), transparent 28%),
        radial-gradient(circle at 82% 12%, rgba(190, 35, 0, 0.14), transparent 30%),
        linear-gradient(135deg, rgba(255, 102, 0, 0.06) 0 1px, transparent 1px 22px),
        linear-gradient(180deg, #120c08 0%, #080604 54%, #120b06 100%);
    border-top: 1px solid rgba(255, 153, 51, 0.3);
    box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.85);
}

.qm-app::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 102, 0, 0.12), transparent 18%, transparent 82%, rgba(255, 102, 0, 0.12)),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 4px);
    mix-blend-mode: screen;
    opacity: 0.45;
}

.qm-app__banner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(255, 102, 0, 0.2), transparent 28%, transparent 72%, rgba(255, 102, 0, 0.12)),
        linear-gradient(180deg, #241006 0%, #100905 100%);
    border-bottom: 1px solid rgba(255, 153, 51, 0.9);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45), inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.qm-app__banner-title {
    color: #ff7a1a;
    font-size: clamp(2rem, 3vw, 3.2rem);
    text-shadow: 0 2px 0 #3b1200, 0 0 18px rgba(255, 102, 0, 0.8);
}

.qm-app__banner-line {
    width: min(36vw, 520px);
    height: 1px;
    margin: 0;
    background: linear-gradient(90deg, #ff6600, rgba(255, 153, 51, 0.2));
    box-shadow: 0 0 16px rgba(255, 102, 0, 0.9);
}

.qm-app__banner-sub {
    justify-self: start;
    color: #f3c58c;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.qm-app__logout {
    position: static;
    justify-self: end;
}

.qm-app__logout button {
    border-radius: 999px;
    background: linear-gradient(180deg, #3a2517 0%, #120905 100%);
    border: 1px solid rgba(255, 153, 51, 0.55);
    color: #f7d1aa;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 18px rgba(255, 102, 0, 0.16);
}

.qm-panel {
    position: relative;
    margin: 18px clamp(12px, 2vw, 30px) 0;
    background:
        linear-gradient(180deg, rgba(255, 132, 32, 0.08), transparent 42%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 24%),
        rgba(16, 11, 8, 0.94);
    border: 1px solid rgba(255, 132, 32, 0.36);
    border-left: 4px solid #ff6600;
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow:
        0 16px 42px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 0 38px rgba(255, 102, 0, 0.04);
}

.qm-panel--hero {
    border-color: rgba(255, 132, 32, 0.58);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.48),
        0 0 34px rgba(255, 102, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.qm-panel__title,
.qm-table-title {
    color: #ff9b35;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-shadow: 0 0 12px rgba(255, 102, 0, 0.65);
}

.qm-profile-grid {
    grid-template-columns: minmax(210px, 0.9fr) minmax(260px, 1.1fr) 120px minmax(360px, 1.6fr);
    gap: 14px;
}

.qm-field {
    min-width: 0;
}

.qm-field label {
    display: block;
    margin-bottom: 6px;
    color: #f1b26d;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.qm-profile-grid input,
.qm-profile-grid select,
.qm-message-row input {
    width: 100%;
    min-height: 42px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(0, 0, 0, 0.05)),
        #080604;
    border: 1px solid rgba(255, 153, 51, 0.34);
    border-radius: 10px;
    color: #fff0dd;
    padding: 10px 12px;
    outline: none;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.55), 0 0 0 rgba(255, 102, 0, 0);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.qm-profile-grid input:focus,
.qm-message-row input:focus {
    border-color: #ff9b35;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.55), 0 0 0 3px rgba(255, 102, 0, 0.18), 0 0 22px rgba(255, 102, 0, 0.18);
}

.qm-field--password {
    min-width: 360px;
}

#qm-password {
    font-size: 1rem;
    letter-spacing: 0.06em;
}

.qm-check--save {
    grid-column: 1 / -1;
    justify-self: start;
}

.qm-profile-actions {
    grid-column: 1 / -1;
    margin-top: 2px;
}

.qm-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 16px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 35%),
        linear-gradient(180deg, #3b281c 0%, #17100b 100%);
    border: 1px solid rgba(255, 153, 51, 0.44);
    border-radius: 10px;
    color: #ffe1ba;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 0 #000;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 18px rgba(0, 0, 0, 0.24);
    transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease, color 0.14s ease;
}

.qm-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0 32%, rgba(255, 255, 255, 0.22) 45%, transparent 58% 100%);
    transform: translateX(-120%);
    transition: transform 0.38s ease;
}

.qm-btn:hover {
    transform: translateY(-1px);
    filter: none;
    border-color: #ff9b35;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 24px rgba(0, 0, 0, 0.34), 0 0 24px rgba(255, 102, 0, 0.16);
}

.qm-btn:hover::after {
    transform: translateX(120%);
}

.qm-btn--accent {
    background:
        linear-gradient(180deg, rgba(255, 229, 179, 0.22), transparent 35%),
        linear-gradient(180deg, #ff7a12 0%, #b43a00 48%, #5b1800 100%);
    border-color: #ffb15f;
    color: #fff6e6;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 0 22px rgba(255, 102, 0, 0.24), 0 12px 22px rgba(0, 0, 0, 0.32);
}

.qm-btn--danger {
    background:
        linear-gradient(180deg, rgba(255, 220, 220, 0.14), transparent 35%),
        linear-gradient(180deg, #7d1e1e 0%, #300808 100%);
    border-color: #e65b46;
}

.qm-status {
    display: inline-flex;
    margin-top: 14px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 153, 51, 0.24);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
}

.qm-tabs {
    gap: 8px;
    margin: 18px clamp(12px, 2vw, 30px) 0;
    border-bottom: 0;
}

.qm-tab {
    border: 1px solid rgba(255, 153, 51, 0.28);
    border-radius: 10px 10px 0 0;
    background: linear-gradient(180deg, #221711 0%, #100a07 100%);
    color: #a9937d;
    padding: 12px 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.qm-tab.is-active {
    background: linear-gradient(180deg, #ff7a12 0%, #8e2f00 100%);
    color: #fff;
    border-color: #ffb15f;
    box-shadow: 0 0 22px rgba(255, 102, 0, 0.2);
}

.qm-tab-panels,
.qm-table-wrap,
.qm-spider-wrap,
.qm-console pre,
.qm-modal__box {
    background:
        linear-gradient(180deg, rgba(255, 102, 0, 0.045), transparent 44%),
        rgba(8, 6, 4, 0.9);
    border-color: rgba(255, 153, 51, 0.22);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.qm-tab-panels {
    margin: 0 clamp(12px, 2vw, 30px);
    min-height: 460px;
}

.qm-spider-head {
    background: linear-gradient(180deg, #351707 0%, #160b06 100%);
    color: #ff9b35;
}

.qm-spider-row:hover {
    background: rgba(255, 102, 0, 0.09);
}

.qm-spider-row.is-selected,
.qm-table tr.is-selected {
    background: linear-gradient(90deg, rgba(255, 102, 0, 0.26), rgba(255, 102, 0, 0.08));
}

@media (max-width: 980px) {
    .qm-app__banner {
        grid-template-columns: 1fr;
    }

    .qm-app__logout,
    .qm-app__banner-sub {
        justify-self: start;
    }

    .qm-profile-grid {
        grid-template-columns: 1fr;
    }

    .qm-field--password {
        min-width: 0;
    }
}

/* Dark red palette requested by owner */
.qm-panel-gate,
.qm-app,
.qm-app-outer {
    background:
        radial-gradient(circle at 16% 0%, rgba(120, 0, 0, 0.28), transparent 30%),
        radial-gradient(circle at 84% 10%, rgba(70, 0, 0, 0.34), transparent 32%),
        linear-gradient(135deg, rgba(150, 0, 0, 0.06) 0 1px, transparent 1px 24px),
        linear-gradient(180deg, #100606 0%, #050303 58%, #130606 100%);
}

.qm-panel-gate__box,
.qm-panel,
.qm-tab-panels,
.qm-table-wrap,
.qm-spider-wrap,
.qm-console pre,
.qm-modal__box {
    border-color: rgba(165, 20, 20, 0.58);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.48),
        0 0 30px rgba(120, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.qm-panel {
    border-left-color: #8b0000;
}

.qm-app__banner {
    background:
        linear-gradient(90deg, rgba(120, 0, 0, 0.36), transparent 28%, transparent 72%, rgba(80, 0, 0, 0.28)),
        linear-gradient(180deg, #210707 0%, #090303 100%);
    border-bottom-color: rgba(210, 42, 42, 0.84);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55), inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.qm-app__banner-title,
.qm-panel-gate__title,
.qm-panel__title,
.qm-table-title,
.qm-modal__title,
.qm-map-line,
.qm-app__footer a,
.qm-cmd-list strong,
.qm-orange {
    color: #d72b2b;
    text-shadow: 0 2px 0 #170000, 0 0 16px rgba(170, 0, 0, 0.72);
}

.qm-app__banner-line {
    background: linear-gradient(90deg, #b00000, rgba(180, 24, 24, 0.08));
    box-shadow: 0 0 16px rgba(170, 0, 0, 0.9);
}

.qm-app__banner-sub,
.qm-field label,
.qm-panel-gate__form label {
    color: #e18080;
}

.qm-profile-grid input,
.qm-profile-grid select,
.qm-message-row input,
.qm-panel-gate__form input[type="password"] {
    border-color: rgba(180, 32, 32, 0.42);
}

.qm-profile-grid input:focus,
.qm-message-row input:focus,
.qm-panel-gate__form input[type="password"]:focus {
    border-color: #d72b2b;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.55), 0 0 0 3px rgba(150, 0, 0, 0.22), 0 0 24px rgba(160, 0, 0, 0.24);
}

.qm-btn,
.qm-app__logout button,
.qm-panel-gate__form button {
    border-color: rgba(190, 40, 40, 0.58);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0) 35%),
        linear-gradient(180deg, #3b1616 0%, #130606 100%);
    color: #ffd4d4;
}

.qm-btn--accent,
.qm-panel-gate__form button {
    background:
        linear-gradient(180deg, rgba(255, 210, 210, 0.18), transparent 35%),
        linear-gradient(180deg, #a30b0b 0%, #6e0000 50%, #250000 100%);
    border-color: #d72b2b;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 0 22px rgba(150, 0, 0, 0.26), 0 12px 22px rgba(0, 0, 0, 0.32);
}

.qm-btn:hover,
.qm-app__logout button:hover,
.qm-panel-gate__form button:hover {
    border-color: #ff4a4a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 24px rgba(0, 0, 0, 0.34), 0 0 26px rgba(170, 0, 0, 0.24);
}

.qm-tab {
    border-color: rgba(165, 20, 20, 0.36);
    background: linear-gradient(180deg, #201010 0%, #0b0404 100%);
}

.qm-tab.is-active {
    background: linear-gradient(180deg, #9a0909 0%, #4d0000 100%);
    border-color: #d72b2b;
    box-shadow: 0 0 22px rgba(150, 0, 0, 0.25);
}

.qm-spider-head {
    background: linear-gradient(180deg, #2b0808 0%, #0f0404 100%);
    color: #e04a4a;
}

.qm-spider-row:hover {
    background: rgba(150, 0, 0, 0.12);
}

.qm-spider-row.is-selected,
.qm-table tr.is-selected {
    background: linear-gradient(90deg, rgba(150, 0, 0, 0.34), rgba(90, 0, 0, 0.1));
    outline-color: #d72b2b;
}

.qm-server-name span {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.16);
}

.qm-flag {
    height: 16px;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.65);
}

body.page-slug-quake-panel .menu-item a[href*="/pobierz/"] {
    display: none !important;
}

/* Quake III Arena inspired crimson/steel finish */
.qm-app {
    background:
        radial-gradient(circle at 50% -10%, rgba(210, 25, 18, 0.22), transparent 34%),
        radial-gradient(circle at 18% 8%, rgba(112, 0, 0, 0.26), transparent 28%),
        radial-gradient(circle at 84% 12%, rgba(40, 0, 0, 0.42), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px),
        linear-gradient(180deg, #120606 0%, #050303 54%, #0b0303 100%);
}

.qm-app__banner {
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 230, 210, 0.09), transparent 24%),
        linear-gradient(90deg, rgba(80, 80, 80, 0.18), transparent 16%, rgba(155, 6, 0, 0.34) 50%, transparent 84%, rgba(80, 80, 80, 0.18)),
        linear-gradient(180deg, #1a0808 0%, #070303 100%);
    border-bottom: 1px solid #bdb6ac;
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.62),
        0 0 34px rgba(160, 0, 0, 0.18),
        inset 0 -2px 0 rgba(120, 0, 0, 0.72);
}

.qm-app__banner-title,
.qm-panel-gate__title {
    color: #c5120c;
    text-shadow:
        0 2px 0 #160000,
        0 -1px 0 rgba(255, 235, 220, 0.34),
        0 0 18px rgba(180, 0, 0, 0.82);
}

.qm-app__banner-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, #c0b7a8 12%, #8e0500 50%, #c0b7a8 88%, transparent);
    box-shadow: 0 0 18px rgba(190, 0, 0, 0.95);
}

.qm-panel,
.qm-tab-panels,
.qm-table-wrap,
.qm-spider-wrap,
.qm-modal__box {
    border-color: rgba(192, 183, 168, 0.22);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 18%),
        linear-gradient(135deg, rgba(155, 6, 0, 0.12), transparent 32%),
        rgba(9, 5, 5, 0.94);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.52),
        0 0 26px rgba(120, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.85);
}

.qm-panel {
    border-left-color: #b70800;
}

.qm-panel__title,
.qm-table-title,
.qm-modal__title,
.qm-map-line {
    color: #d9d1c4;
    text-shadow: 0 1px 0 #000, 0 0 13px rgba(190, 0, 0, 0.72);
}

.qm-field label,
.qm-app__banner-sub {
    color: #c0b7a8;
}

.qm-profile-grid input,
.qm-profile-grid select,
.qm-message-row input,
.qm-panel-gate__form input[type="password"] {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 32%),
        linear-gradient(180deg, #0b0808 0%, #050303 100%);
    border-color: rgba(192, 183, 168, 0.28);
    color: #f4eee7;
}

.qm-profile-grid input:focus,
.qm-message-row input:focus,
.qm-panel-gate__form input[type="password"]:focus {
    border-color: #c0b7a8;
    box-shadow:
        inset 0 2px 8px rgba(0, 0, 0, 0.6),
        0 0 0 2px rgba(155, 6, 0, 0.34),
        0 0 26px rgba(190, 0, 0, 0.26);
}

.qm-btn,
.qm-app__logout button,
.qm-panel-gate__form button {
    min-height: 40px;
    padding: 10px 18px;
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%);
    border: 1px solid #bdb6ac;
    border-radius: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.06) 18%, rgba(0, 0, 0, 0) 42%),
        linear-gradient(90deg, #210707 0%, #9a0802 45%, #d41a11 50%, #8e0500 58%, #210707 100%);
    color: #f3eee7;
    text-shadow:
        0 1px 0 #000,
        0 0 9px rgba(255, 255, 255, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.26),
        inset 0 -2px 0 rgba(0, 0, 0, 0.75),
        0 11px 20px rgba(0, 0, 0, 0.38),
        0 0 18px rgba(160, 0, 0, 0.2);
}

.qm-btn::before,
.qm-panel-gate__form button::before {
    content: "";
    position: absolute;
    inset: 1px 12px auto 12px;
    height: 42%;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 238, 220, 0.26), rgba(255, 255, 255, 0));
}

.qm-btn--accent,
.qm-panel-gate__form button {
    background:
        linear-gradient(180deg, rgba(255, 245, 235, 0.32), rgba(255, 255, 255, 0.07) 18%, rgba(0, 0, 0, 0) 42%),
        linear-gradient(90deg, #260505 0%, #7b0200 33%, #c5120c 50%, #8e0500 67%, #260505 100%);
    border-color: #ded6ca;
}

.qm-btn:hover,
.qm-app__logout button:hover,
.qm-panel-gate__form button:hover {
    transform: translateY(-2px);
    border-color: #fff3e0;
    color: #ffffff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        inset 0 -2px 0 rgba(0, 0, 0, 0.75),
        0 13px 24px rgba(0, 0, 0, 0.46),
        0 0 28px rgba(210, 25, 18, 0.34);
}

.qm-tab {
    clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 100%, 0 100%);
    border-color: rgba(192, 183, 168, 0.26);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%),
        linear-gradient(180deg, #1b0b0b 0%, #070303 100%);
}

.qm-tab.is-active {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 30%),
        linear-gradient(180deg, #b8120a 0%, #690000 100%);
    border-color: #c0b7a8;
}

.qm-spider-head {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 30%),
        linear-gradient(180deg, #240909 0%, #080303 100%);
    color: #d9d1c4;
}

.qm-server-name span {
    font-weight: 900;
    text-shadow: 0 1px 0 #000, 0 0 7px rgba(255, 255, 255, 0.2);
}
