/* ============================================================
   SHADOWSKINGS — ARCANE COMMAND PANEL
   MODERN TEXT-ONLY UI
   ============================================================

   DESIGN:
   - Dark Arcane command interface
   - Purple / violet accents
   - No images
   - No background-image assets
   - Responsive ability grid
   - Dedicated shield control interface
   - Bottom command deck for deliberate casting
   ============================================================ */


/* ============================================================
   PANEL ROOT
   ============================================================ */

.arcane-panel {
    width: 100%;
    min-height: 100%;
    box-sizing: border-box;

    padding: 24px;

    color: #eeeaf5;
    background:
        linear-gradient(
            180deg,
            #0d0a12 0%,
            #110c18 50%,
            #0a080e 100%
        );

    font-family: "Cinzel", Georgia, serif;

    overflow-y: auto;
}


/* ============================================================
   HEADER
   ============================================================ */

.arcane-command-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    padding: 18px 22px;

    border: 1px solid #352542;
    border-left: 3px solid #8b5cf6;

    background:
        linear-gradient(
            90deg,
            rgba(76, 29, 149, 0.20),
            rgba(17, 12, 24, 0.95) 45%,
            rgba(12, 9, 17, 0.98)
        );

    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.arcane-title-block {
    min-width: 0;
}

.arcane-eyebrow {
    margin-bottom: 5px;

    color: #8e7aa6;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.arcane-title {
    margin: 0;

    color: #f5f0ff;

    font-size: clamp(25px, 3vw, 38px);
    font-weight: 700;

    letter-spacing: 1.5px;

    text-shadow:
        0 0 18px rgba(168, 85, 247, 0.20);
}

.arcane-subtitle {
    margin-top: 6px;

    color: #9f94aa;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;

    letter-spacing: 0.25px;
}


/* ============================================================
   HEADER ACTIONS
   ============================================================ */

.arcane-header-actions {
    display: flex;
    align-items: center;

    gap: 14px;

    flex-shrink: 0;
}

.arcane-connection-status {
    display: flex;
    align-items: center;

    gap: 8px;

    color: #94879f;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.2px;
}

.arcane-status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #8b5cf6;

    box-shadow:
        0 0 6px rgba(139, 92, 246, 0.8),
        0 0 14px rgba(139, 92, 246, 0.35);
}


/* ============================================================
   THRONE BUTTON
   ============================================================ */

.arcane-throne-btn {
    min-width: 118px;

    padding: 11px 18px;

    border: 1px solid #76549c;
    border-radius: 4px;

    color: #f0e8ff;

    background:
        linear-gradient(
            180deg,
            #3c2354,
            #261533
        );

    font-family: "Cinzel", Georgia, serif;
    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.4px;

    cursor: pointer;

    transition:
        background 0.16s ease,
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        transform 0.16s ease;
}

.arcane-throne-btn:hover {
    border-color: #a78bfa;

    background:
        linear-gradient(
            180deg,
            #523071,
            #321c43
        );

    box-shadow:
        0 0 18px rgba(139, 92, 246, 0.20);

    transform: translateY(-1px);
}

.arcane-throne-btn:active {
    transform: translateY(0);
}


/* ============================================================
   OVERVIEW
   ============================================================ */

.arcane-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    gap: 14px;

    margin-top: 14px;
}


/* ============================================================
   STATUS CARDS
   ============================================================ */

.arcane-status-card {
    min-width: 0;

    padding: 17px;

    border: 1px solid #29202f;
    border-radius: 5px;

    background:
        linear-gradient(
            180deg,
            rgba(30, 22, 37, 0.95),
            rgba(17, 13, 22, 0.98)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.arcane-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-bottom: 14px;
    padding-bottom: 10px;

    border-bottom: 1px solid #2e2435;

    color: #c5b7d4;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.arcane-card-state {
    color: #a78bfa;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.2px;
}


/* ============================================================
   CASTER STATS
   ============================================================ */

.arcane-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 8px;
}

.arcane-stat {
    min-width: 0;

    padding: 12px 11px;

    border: 1px solid #2b2231;
    border-radius: 4px;

    background: #120e17;
}

.arcane-stat-label {
    display: block;

    margin-bottom: 7px;

    color: #71687a;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1px;
}

.arcane-stat-value {
    display: block;

    overflow: hidden;

    color: #e7dcf4;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ============================================================
   TARGET CARD
   ============================================================ */

.arcane-target-info {
    min-height: 54px;

    color: #d7cfdf;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}

.arcane-no-target {
    display: flex;
    align-items: center;

    min-height: 54px;

    padding: 0 12px;

    border: 1px dashed #33293b;
    border-radius: 4px;

    color: #716a78;

    background: rgba(0, 0, 0, 0.12);
}


/* Dynamic target lines */

.arcane-target-name {
    margin-bottom: 8px;

    color: #eee6f7;

    font-family: "Cinzel", Georgia, serif;
    font-size: 16px;
    font-weight: 700;
}

.arcane-target-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;

    padding: 4px 0;

    color: #8f8598;
}

.arcane-target-row strong {
    color: #d5cadf;
}


/* ============================================================
   CATEGORY NAVIGATION
   ============================================================ */

.arcane-category-nav {
    display: flex;
    align-items: stretch;

    gap: 4px;

    margin-top: 14px;
    padding: 5px;

    border: 1px solid #29202f;
    border-radius: 5px;

    background: #0e0b12;

    overflow-x: auto;
}

.arcane-category-btn {
    position: relative;

    flex: 1 0 auto;

    min-width: 125px;

    padding: 12px 16px;

    border: 1px solid transparent;
    border-radius: 3px;

    color: #786e82;
    background: transparent;

    font-family: "Cinzel", Georgia, serif;
    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.1px;

    cursor: pointer;

    transition:
        color 0.16s ease,
        background 0.16s ease,
        border-color 0.16s ease;
}

.arcane-category-btn:hover {
    color: #cbbadd;

    background: #18111f;
}

.arcane-category-btn.active {
    border-color: #523a67;

    color: #eadfff;

    background:
        linear-gradient(
            180deg,
            #2c1a3b,
            #1c1225
        );
}

.arcane-category-btn.active::after {
    position: absolute;

    right: 18px;
    bottom: -1px;
    left: 18px;

    height: 2px;

    background: #8b5cf6;

    box-shadow:
        0 0 8px rgba(139, 92, 246, 0.65);

    content: "";
}


/* ============================================================
   MAIN BODY
   ============================================================ */

.arcane-command-body {
    margin-top: 14px;
}

.arcane-ability-section,
.arcane-shield-section {
    padding: 20px;

    border: 1px solid #29202f;
    border-radius: 5px;

    background:
        linear-gradient(
            180deg,
            rgba(20, 15, 25, 0.98),
            rgba(12, 9, 16, 0.99)
        );

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.22);
}

.arcane-shield-section[hidden] {
    display: none !important;
}


/* ============================================================
   SECTION HEADER
   ============================================================ */

.arcane-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 18px;
    padding-bottom: 13px;

    border-bottom: 1px solid #2b2231;
}

.arcane-section-kicker {
    margin-bottom: 4px;

    color: #725d87;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.8px;
}

.arcane-section-header h2 {
    margin: 0;

    color: #ded2e9;

    font-size: 17px;
    font-weight: 700;

    letter-spacing: 1px;
}

.arcane-ability-count {
    color: #756c7d;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.1px;
}


/* ============================================================
   ABILITY GRID
   ============================================================ */

.arcane-ability-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fill, minmax(220px, 1fr));

    gap: 10px;
}

.arcane-loading-state {
    grid-column: 1 / -1;

    padding: 30px;

    border: 1px dashed #31273a;
    border-radius: 4px;

    color: #716878;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;

    text-align: center;
}


/* ============================================================
   DYNAMIC ABILITY CARD
   ============================================================ */

.arcane-ability-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 155px;

    padding: 15px;

    border: 1px solid #2c2332;
    border-radius: 4px;

    color: #d8cedf;
    background:
        linear-gradient(
            180deg,
            #17111d,
            #100c14
        );

    text-align: left;

    cursor: pointer;

    overflow: hidden;

    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        box-shadow 0.16s ease,
        transform 0.16s ease;
}

.arcane-ability-card::before {
    position: absolute;

    top: 0;
    bottom: 0;
    left: 0;

    width: 2px;

    background: #4d3560;

    content: "";

    transition:
        background 0.16s ease,
        box-shadow 0.16s ease;
}

.arcane-ability-card:hover {
    border-color: #564064;

    background:
        linear-gradient(
            180deg,
            #21172a,
            #140f19
        );

    transform: translateY(-2px);
}

.arcane-ability-card:hover::before {
    background: #8b5cf6;

    box-shadow:
        0 0 9px rgba(139, 92, 246, 0.6);
}

.arcane-ability-card.selected {
    border-color: #76549c;

    background:
        linear-gradient(
            180deg,
            #291a37,
            #17101e
        );

    box-shadow:
        inset 0 0 22px rgba(139, 92, 246, 0.08),
        0 0 14px rgba(139, 92, 246, 0.08);
}

.arcane-ability-card.selected::before {
    width: 3px;

    background: #a78bfa;

    box-shadow:
        0 0 10px rgba(167, 139, 250, 0.75);
}


/* Locked card */

.arcane-ability-card.locked {
    opacity: 0.45;

    cursor: not-allowed;

    filter: grayscale(0.4);
}

.arcane-ability-card.locked:hover {
    border-color: #2c2332;

    transform: none;
}


/* ============================================================
   ABILITY CARD CONTENT
   ============================================================ */

.arcane-ability-name {
    margin-bottom: 5px;

    color: #eee6f7;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.6px;
}

.arcane-ability-type {
    margin-bottom: 13px;

    color: #8e75a7;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.arcane-ability-description {
    flex: 1;

    margin: 0 0 15px;

    color: #8f8796;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;

    line-height: 1.45;
}

.arcane-ability-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    padding-top: 10px;

    border-top: 1px solid #29202f;
}

.arcane-ability-element {
    color: #786d81;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.arcane-ability-select {
    color: #a98bc8;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1px;
}


/* ============================================================
   SHIELD OVERVIEW
   ============================================================ */

.arcane-shield-overview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 8px;

    margin-bottom: 22px;
}

.arcane-shield-stat {
    padding: 14px;

    border: 1px solid #2c2332;
    border-radius: 4px;

    background: #110d15;
}

.arcane-shield-stat span {
    display: block;

    margin-bottom: 7px;

    color: #756c7d;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1px;
}

.arcane-shield-stat strong {
    color: #ddd2e7;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}


/* ============================================================
   SHIELD BLOCK
   ============================================================ */

.arcane-shield-block {
    margin-top: 18px;
}

.arcane-subsection-title {
    margin-bottom: 10px;

    color: #9b8aa9;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.3px;
}

.arcane-shield-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 9px;
}


/* ============================================================
   SHIELD OPTION
   ============================================================ */

.arcane-shield-option {
    display: flex;
    flex-direction: column;

    min-height: 120px;

    padding: 14px;

    border: 1px solid #382a43;
    border-radius: 4px;

    color: #ded4e7;

    background:
        linear-gradient(
            180deg,
            #1d1425,
            #120d17
        );

    text-align: left;

    cursor: pointer;

    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        box-shadow 0.16s ease,
        transform 0.16s ease;
}

.arcane-shield-option:hover {
    border-color: #79589a;

    background:
        linear-gradient(
            180deg,
            #2a1a38,
            #17101e
        );

    box-shadow:
        0 0 16px rgba(139, 92, 246, 0.10);

    transform: translateY(-2px);
}

.arcane-shield-time {
    margin-bottom: 7px;

    color: #eee5f8;

    font-family: "Cinzel", Georgia, serif;
    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.6px;
}

.arcane-shield-description {
    flex: 1;

    color: #82788b;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;

    line-height: 1.4;
}

.arcane-shield-action {
    margin-top: 13px;
    padding-top: 9px;

    border-top: 1px solid #34283d;

    color: #a98bc8;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1px;
}


/* ============================================================
   DANGER ZONE / DROP SHIELD
   ============================================================ */

.arcane-danger-zone {
    margin-top: 24px;

    border: 1px solid #663442;
    border-left: 3px solid #a3465c;
    border-radius: 4px;

    background:
        linear-gradient(
            90deg,
            rgba(91, 33, 48, 0.22),
            rgba(22, 12, 17, 0.94)
        );
}

.arcane-danger-header {
    padding: 10px 14px;

    border-bottom: 1px solid #4d2934;

    color: #c77a8c;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.4px;
}

.arcane-danger-content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    padding: 17px;
}

.arcane-danger-copy {
    display: flex;
    flex-direction: column;

    gap: 5px;

    color: #9e8d93;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}

.arcane-danger-copy > strong {
    color: #e3c6ce;

    font-family: "Cinzel", Georgia, serif;
    font-size: 14px;
}

.arcane-danger-cost {
    margin-top: 5px;

    color: #a98d95;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.6px;
}

.arcane-danger-cost strong {
    color: #dfb1bd;
}

.arcane-drop-shield-btn {
    flex-shrink: 0;

    min-width: 165px;

    padding: 12px 18px;

    border: 1px solid #9d4b60;
    border-radius: 4px;

    color: #f5dce3;

    background:
        linear-gradient(
            180deg,
            #652b3b,
            #3f1b27
        );

    font-family: "Cinzel", Georgia, serif;
    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.1px;

    cursor: pointer;

    transition:
        background 0.16s ease,
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        transform 0.16s ease;
}

.arcane-drop-shield-btn:hover {
    border-color: #c8667d;

    background:
        linear-gradient(
            180deg,
            #80384b,
            #512231
        );

    box-shadow:
        0 0 18px rgba(170, 65, 91, 0.18);

    transform: translateY(-1px);
}


/* ============================================================
   COMMAND DECK
   ============================================================ */

.arcane-command-deck {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;

    gap: 20px;

    margin-top: 14px;
    padding: 19px 20px;

    border: 1px solid #3d2d48;
    border-top: 2px solid #65467b;
    border-radius: 5px;

    background:
        linear-gradient(
            90deg,
            rgba(45, 27, 58, 0.92),
            rgba(19, 13, 24, 0.98) 55%,
            rgba(12, 9, 16, 0.99)
        );

    box-shadow:
        0 -8px 30px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.arcane-command-info {
    min-width: 0;
}

.arcane-selected-header {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 5px;
}

.arcane-selected-header h2 {
    margin: 0;

    color: #eee6f7;

    font-size: 18px;
    font-weight: 700;

    letter-spacing: 0.8px;
}

.arcane-ready-badge {
    padding: 4px 7px;

    border: 1px solid #4d3b59;
    border-radius: 3px;

    color: #8f7b9f;
    background: #17101d;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1px;
}

.arcane-ready-badge.ready {
    border-color: #654e7a;

    color: #b99bd4;

    background: #24152e;
}

.arcane-selected-description {
    max-width: 850px;

    margin: 0 0 15px;

    color: #8e8495;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;

    line-height: 1.45;
}


/* ============================================================
   SELECTED META
   ============================================================ */

.arcane-selected-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(110px, 1fr));

    gap: 7px;
}

.arcane-meta-item {
    padding: 9px 10px;

    border: 1px solid #35283e;
    border-radius: 3px;

    background: rgba(8, 6, 11, 0.30);
}

.arcane-meta-item span {
    display: block;

    margin-bottom: 4px;

    color: #6f6676;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1px;
}

.arcane-meta-item strong {
    display: block;

    overflow: hidden;

    color: #cfc2d9;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ============================================================
   CAST ACTION
   ============================================================ */

.arcane-command-action {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    gap: 10px;
}

.arcane-command-message {
    min-height: 30px;

    color: #746b7b;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;

    line-height: 1.4;
    text-align: right;
}

.arcane-cast-btn {
    width: 100%;

    padding: 15px 18px;

    border: 1px solid #815e9f;
    border-radius: 4px;

    color: #f3eaff;

    background:
        linear-gradient(
            180deg,
            #57316e,
            #321d40
        );

    font-family: "Cinzel", Georgia, serif;
    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.4px;

    cursor: pointer;

    transition:
        background 0.16s ease,
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        transform 0.16s ease;
}

.arcane-cast-btn:hover:not(:disabled) {
    border-color: #b18bd2;

    background:
        linear-gradient(
            180deg,
            #71418d,
            #432554
        );

    box-shadow:
        0 0 22px rgba(139, 92, 246, 0.18);

    transform: translateY(-1px);
}

.arcane-cast-btn:active:not(:disabled) {
    transform: translateY(0);
}

.arcane-cast-btn:disabled {
    border-color: #302736;

    color: #625969;
    background: #171219;

    cursor: not-allowed;

    box-shadow: none;
}


/* Processing state */

.arcane-cast-btn.processing {
    border-color: #6a557b;

    color: #c9b7d7;

    background: #2a1d33;

    cursor: wait;
}


/* ============================================================
   SYSTEM MESSAGE
   ============================================================ */

.arcane-system-message {
    margin-top: 10px;
    padding: 11px 14px;

    border: 1px solid #3c3045;
    border-radius: 4px;

    color: #a89eae;
    background: #151019;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
}

.arcane-system-message[hidden] {
    display: none !important;
}

.arcane-system-message.success {
    border-color: #405d50;

    color: #a8c8b7;
    background: #101914;
}

.arcane-system-message.error {
    border-color: #71404b;

    color: #d5a4af;
    background: #1c1014;
}


/* ============================================================
   GENERIC DISABLED STATES
   ============================================================ */

.arcane-shield-option:disabled,
.arcane-drop-shield-btn:disabled,
.arcane-throne-btn:disabled {
    opacity: 0.45;

    cursor: not-allowed;

    transform: none;
    box-shadow: none;
}


/* ============================================================
   SCROLLBAR
   ============================================================ */

.arcane-panel {
    scrollbar-width: thin;
    scrollbar-color: #493556 #100c14;
}

.arcane-panel::-webkit-scrollbar {
    width: 9px;
}

.arcane-panel::-webkit-scrollbar-track {
    background: #100c14;
}

.arcane-panel::-webkit-scrollbar-thumb {
    border: 2px solid #100c14;
    border-radius: 10px;

    background: #493556;
}

.arcane-panel::-webkit-scrollbar-thumb:hover {
    background: #624573;
}


/* ============================================================
   RESPONSIVE — LARGE TABLET
   ============================================================ */

@media (max-width: 1100px) {

    .arcane-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .arcane-shield-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .arcane-shield-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .arcane-selected-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */

@media (max-width: 820px) {

    .arcane-panel {
        padding: 14px;
    }

    .arcane-command-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .arcane-header-actions {
        justify-content: space-between;

        width: 100%;
    }

    .arcane-overview {
        grid-template-columns: 1fr;
    }

    .arcane-command-deck {
        grid-template-columns: 1fr;
    }

    .arcane-command-message {
        text-align: left;
    }

    .arcane-danger-content {
        align-items: stretch;
        flex-direction: column;
    }

    .arcane-drop-shield-btn {
        width: 100%;
    }
}


/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */

@media (max-width: 560px) {

    .arcane-panel {
        padding: 8px;
    }

    .arcane-command-header,
    .arcane-ability-section,
    .arcane-shield-section,
    .arcane-command-deck {
        padding: 14px;
    }

    .arcane-header-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .arcane-connection-status {
        justify-content: center;
    }

    .arcane-throne-btn {
        width: 100%;
    }

    .arcane-stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .arcane-ability-grid {
        grid-template-columns: 1fr;
    }

    .arcane-shield-grid {
        grid-template-columns: 1fr;
    }

    .arcane-shield-overview {
        grid-template-columns: 1fr 1fr;
    }

    .arcane-selected-meta {
        grid-template-columns: 1fr 1fr;
    }

    .arcane-section-header {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ============================================================
   VERY SMALL SCREENS
   ============================================================ */

@media (max-width: 390px) {

    .arcane-stat-grid,
    .arcane-shield-overview,
    .arcane-selected-meta {
        grid-template-columns: 1fr;
    }
}