/* =====================================================================
   6 هياكل إضافية مستقلة للمكتب والهاتف (تصل بالنظام إلى 24 هيكلاً)
   glass_aurora_bar | magazine_rail | cyber_cockpit | split_ribbon | paper_minimal | arcade_tiles
   ===================================================================== */

/* =====================================================================
   1) GLASS_AURORA_BAR — الزجاج الضبابي العائم + شريط زجاجي سفلي للهاتف
   ===================================================================== */
.gab-header {
    position: sticky;
    top: 0;
    z-index: 930;
    background: linear-gradient(120deg,
        color-mix(in srgb, var(--primary, #4f46e5) 14%, var(--surface, #ffffff)),
        color-mix(in srgb, var(--accent, #06b6d4) 12%, var(--surface, #ffffff))
    );
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border-bottom: 1px solid color-mix(in srgb, var(--primary, #4f46e5) 22%, var(--border, #e2e8f0));
    box-shadow: 0 10px 30px color-mix(in srgb, var(--primary, #4f46e5) 10%, transparent);
}
.gab-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    min-height: 62px;
}
.gab-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--surface, #ffffff) 65%, transparent);
    border: 1px solid color-mix(in srgb, var(--border, #e2e8f0) 80%, transparent);
}
.gab-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 12px;
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--text, #0f172a);
    text-decoration: none;
    list-style: none;
    cursor: pointer;
    transition: all 0.16s ease;
}
.gab-link::-webkit-details-marker { display: none; }
.gab-link:hover {
    background: color-mix(in srgb, var(--primary, #4f46e5) 12%, transparent);
    color: var(--primary, #4f46e5);
}
.gab-link.active {
    background: linear-gradient(135deg, var(--primary, #4f46e5), var(--accent, #06b6d4));
    color: #ffffff;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--primary, #4f46e5) 35%, transparent);
}
.gab-mob-dock { display: none; }

html[data-shell="glass_aurora_bar"] :is(body.page-admin, body.page-panel) .stat-card,
html[data-shell="glass_aurora_bar"] :is(body.page-admin, body.page-panel) .panel-card {
    background: color-mix(in srgb, var(--surface, #ffffff) 78%, transparent) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid color-mix(in srgb, var(--primary, #4f46e5) 20%, var(--border, #e2e8f0)) !important;
    border-radius: 22px !important;
    box-shadow: 0 12px 32px color-mix(in srgb, var(--primary, #4f46e5) 9%, transparent) !important;
}

/* =====================================================================
   2) MAGAZINE_RAIL — المجلة المرقّمة (فهرس عمودي 01/02 + شريط مرقّم للهاتف)
   ===================================================================== */
html[data-shell="magazine_rail"] body {
    padding-inline-start: 230px;
}
.mag-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    inset-inline-start: 0;
    width: 230px;
    background: var(--surface, #ffffff);
    border-inline-end: 2px solid var(--text, #0f172a);
    display: flex;
    flex-direction: column;
    z-index: 940;
}
.mag-sb-brand {
    padding: 20px 16px 16px;
    border-bottom: 1px solid var(--border, #e2e8f0);
}
.mag-sb-nav {
    flex: 1;
    overflow-y: auto;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mag-idx-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-bottom: 1px dashed var(--border, #e2e8f0);
    color: var(--text, #0f172a);
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
    list-style: none;
    cursor: pointer;
    transition: padding-inline-start 0.15s ease, color 0.15s ease;
}
.mag-idx-link::-webkit-details-marker { display: none; }
.mag-idx-num {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.78rem;
    font-weight: 900;
    color: var(--primary, #4f46e5);
    opacity: 0.85;
    min-width: 22px;
}
.mag-idx-link:hover,
.mag-idx-link.active {
    color: var(--primary, #4f46e5);
    padding-inline-start: 16px;
}
.mag-sublist {
    padding-inline-start: 28px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-block: 4px 8px;
}
.mag-sublink {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted, #64748b);
    text-decoration: none;
    padding: 5px 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mag-sublink:hover,
.mag-sublink.active {
    color: var(--primary, #4f46e5);
    background: var(--primary-soft, rgba(79,70,229,0.08));
}
.mag-topbar {
    position: sticky;
    top: 0;
    z-index: 910;
    background: var(--surface, #ffffff);
    border-bottom: 1px solid var(--border, #e2e8f0);
}
.mag-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 24px;
}
.mag-masthead-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.28rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}
.mag-mob-strip { display: none; }

html[data-shell="magazine_rail"] :is(body.page-admin, body.page-panel) .stat-card {
    border-radius: 0 !important;
    border: none !important;
    border-top: 2.5px solid var(--text, #0f172a) !important;
    border-bottom: 1px solid var(--border, #e2e8f0) !important;
    box-shadow: none !important;
    padding: 16px 6px !important;
    background: transparent !important;
}
html[data-shell="magazine_rail"] :is(body.page-admin, body.page-panel) .panel-card {
    border-radius: 4px !important;
    box-shadow: none !important;
    border: 1px solid var(--border, #cbd5e1) !important;
}

/* =====================================================================
   3) CYBER_COCKPIT — قمرة القيادة التقنية (زوايا مقصوصة + شريط تكتيكي داكن)
   ===================================================================== */
.cpk-header {
    position: sticky;
    top: 0;
    z-index: 925;
    background: #090d16;
    color: #e2e8f0;
    border-bottom: 2px solid var(--primary, #06b6d4);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
}
.cpk-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
}
.cpk-header .dyn-brand,
.cpk-header .dyn-hamburger,
.cpk-header .dyn-text-link { color: #f8fafc !important; }
.cpk-header .dyn-icon-btn,
.cpk-header .dyn-chip-btn,
.cpk-header .dyn-balance-pill,
.cpk-header .dyn-profit-pill,
.cpk-header .dyn-cart-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: color-mix(in srgb, var(--primary, #06b6d4) 45%, rgba(255,255,255,0.16)) !important;
    color: #f8fafc !important;
    border-radius: 4px !important;
}
.cpk-nav-rail {
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.cpk-nav-inner {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.cpk-nav-inner::-webkit-scrollbar { display: none; }
.cpk-cmd-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    font-family: Consolas, ui-monospace, monospace;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    text-decoration: none;
    list-style: none;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.15s ease;
}
.cpk-cmd-btn::-webkit-details-marker { display: none; }
.cpk-cmd-btn:hover { color: #ffffff; border-color: var(--primary, #06b6d4); }
.cpk-cmd-btn.active {
    background: var(--primary, #06b6d4);
    color: #ffffff;
    border-color: var(--primary, #06b6d4);
}

html[data-shell="cyber_cockpit"] :is(body.page-admin, body.page-panel) .stat-card {
    background: #0f172a !important;
    color: #f8fafc !important;
    border: 1px solid color-mix(in srgb, var(--primary, #06b6d4) 45%, #1e293b) !important;
    border-radius: 4px !important;
    position: relative;
}
html[data-shell="cyber_cockpit"] :is(body.page-admin, body.page-panel) .stat-card::after {
    content: "";
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    width: 14px;
    height: 14px;
    border-top: 2px solid var(--primary, #06b6d4);
    border-inline-end: 2px solid var(--primary, #06b6d4);
}
html[data-shell="cyber_cockpit"] :is(body.page-admin, body.page-panel) .stat-label { color: #94a3b8 !important; font-family: Consolas, monospace; font-size: 0.74rem !important; }
html[data-shell="cyber_cockpit"] :is(body.page-admin, body.page-panel) .stat-value { color: #ffffff !important; font-family: Consolas, monospace; }

/* =====================================================================
   4) SPLIT_RIBBON — الشريط المقسوم ثنائي اللون + زر FAB دائري عائم للهاتف
   ===================================================================== */
.srb-header {
    position: sticky;
    top: 0;
    z-index: 925;
    display: flex;
    align-items: stretch;
    background: var(--surface, #ffffff);
    border-bottom: 1px solid var(--border, #e2e8f0);
    box-shadow: var(--shadow-sm);
}
.srb-brand-block {
    background: var(--primary, #4f46e5);
    color: #ffffff;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 220px;
    flex-shrink: 0;
}
.srb-brand-block .dyn-brand { color: #ffffff !important; }
.srb-brand-block .brand-icon {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
}
.srb-right-strip {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 20px;
    min-width: 0;
}
.srb-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}
.srb-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--text, #0f172a);
    text-decoration: none;
    list-style: none;
    cursor: pointer;
    transition: background 0.14s ease, color 0.14s ease;
}
.srb-link::-webkit-details-marker { display: none; }
.srb-link:hover { background: var(--bg-subtle, #f1f5f9); color: var(--primary, #4f46e5); }
.srb-link.active { background: var(--primary-soft, rgba(79,70,229,0.12)); color: var(--primary, #4f46e5); }

/* زر FAB عائم للهاتف + ورقة شبكة عمودين */
.srb-fab-btn,
.srb-fab-overlay,
.srb-fab-sheet { display: none; }

html[data-shell="split_ribbon"] :is(body.page-admin, body.page-panel) .stat-card {
    border-radius: 14px !important;
    border: 1px solid var(--border, #e2e8f0) !important;
    background: linear-gradient(180deg, var(--primary-soft, rgba(79,70,229,0.06)) 0%, var(--surface, #ffffff) 38%) !important;
}

/* =====================================================================
   5) PAPER_MINIMAL — الورق السويسري فائق النقاء (حدود دقيقة وخطوط سفلية)
   ===================================================================== */
.ppm-header {
    position: sticky;
    top: 0;
    z-index: 920;
    background: var(--surface, #ffffff);
    border-bottom: 1px solid var(--border, #e2e8f0);
}
.ppm-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 0 8px;
}
.ppm-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
}
.ppm-nav::-webkit-scrollbar { display: none; }
.ppm-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 2px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--muted, #64748b);
    text-decoration: none;
    list-style: none;
    white-space: nowrap;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.14s ease, border-color 0.14s ease;
}
.ppm-link::-webkit-details-marker { display: none; }
.ppm-link:hover { color: var(--text, #0f172a); }
.ppm-link.active {
    color: var(--text, #0f172a);
    font-weight: 900;
    border-bottom-color: var(--text, #0f172a);
}

html[data-shell="paper_minimal"] :is(body.page-admin, body.page-panel) .stat-card,
html[data-shell="paper_minimal"] :is(body.page-admin, body.page-panel) .panel-card {
    box-shadow: none !important;
    border-radius: 6px !important;
    border: 1px solid var(--border, #e2e8f0) !important;
}
html[data-shell="paper_minimal"] :is(body.page-admin, body.page-panel) .stats-grid {
    gap: 10px !important;
}

/* =====================================================================
   6) ARCADE_TILES — البلاطات ثلاثية الأبعاد الملموسة (Tactile 3D Push Buttons)
   ===================================================================== */
.arc-header {
    position: sticky;
    top: 0;
    z-index: 925;
    background: var(--surface, #ffffff);
    border-bottom: 3px solid var(--border, #cbd5e1);
    padding: 10px 0;
}
.arc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.arc-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.arc-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 13px;
    background: var(--bg-subtle, #f8fafc);
    border: 2px solid var(--border, #cbd5e1);
    border-bottom: 4px solid var(--border, #cbd5e1);
    color: var(--text, #0f172a);
    font-size: 0.83rem;
    font-weight: 800;
    text-decoration: none;
    list-style: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.1s ease, border-bottom-width 0.1s ease;
}
.arc-btn::-webkit-details-marker { display: none; }
.arc-btn:hover {
    border-color: var(--primary, #4f46e5);
    color: var(--primary, #4f46e5);
}
.arc-btn:active {
    transform: translateY(2px);
    border-bottom-width: 2px;
}
.arc-btn.active {
    background: var(--primary, #4f46e5);
    border-color: color-mix(in srgb, var(--primary, #4f46e5) 70%, #000000);
    border-bottom: 4px solid color-mix(in srgb, var(--primary, #4f46e5) 60%, #000000);
    color: #ffffff;
}
.arc-mob-bar { display: none; }

html[data-shell="arcade_tiles"] :is(body.page-admin, body.page-panel) .stat-card,
html[data-shell="arcade_tiles"] :is(body.page-admin, body.page-panel) .panel-card {
    border-radius: 18px !important;
    border: 2px solid var(--border, #cbd5e1) !important;
    border-bottom: 5px solid color-mix(in srgb, var(--primary, #4f46e5) 45%, var(--border, #cbd5e1)) !important;
    box-shadow: none !important;
}
html[data-shell="arcade_tiles"] :is(body.page-admin, body.page-panel) .btn-primary {
    border-radius: 13px !important;
    border-bottom: 4px solid color-mix(in srgb, var(--primary, #4f46e5) 62%, #000000) !important;
}

/* =====================================================================
   التجاوب الفريد والمختلف كلياً على الهاتف (<= 1080px) للهياكل الـ 6 الجديدة
   ===================================================================== */
@media (max-width: 1080px) {
    html[data-shell="magazine_rail"] body { padding-inline-start: 0 !important; }
    .gab-nav, .mag-sidebar, .srb-nav, .arc-nav { display: none !important; }

    .dyn-shell-glass_aurora_bar .dyn-hamburger,
    .dyn-shell-magazine_rail .dyn-hamburger,
    .dyn-shell-cyber_cockpit .dyn-hamburger,
    .dyn-shell-split_ribbon .dyn-hamburger,
    .dyn-shell-paper_minimal .dyn-hamburger,
    .dyn-shell-arcade_tiles .dyn-hamburger {
        display: inline-flex !important;
    }

    /* 1) هاتف GLASS_AURORA_BAR: كبسولة زجاجية ضبابية عائمة أسفل الشاشة + بطاقات زجاجية 2×2 */
    html[data-shell="glass_aurora_bar"] body { padding-bottom: 80px !important; }
    .gab-mob-dock {
        display: flex !important;
        position: fixed;
        bottom: 12px;
        inset-inline: 12px;
        z-index: 960;
        background: color-mix(in srgb, var(--surface, #ffffff) 78%, transparent);
        backdrop-filter: blur(22px) saturate(180%);
        -webkit-backdrop-filter: blur(22px) saturate(180%);
        border: 1.5px solid color-mix(in srgb, var(--primary, #4f46e5) 30%, var(--border, #e2e8f0));
        border-radius: 999px;
        padding: 5px 8px;
        justify-content: space-around;
        align-items: center;
        gap: 4px;
        box-shadow: 0 14px 34px color-mix(in srgb, var(--primary, #4f46e5) 22%, rgba(0,0,0,0.18));
    }
    .gab-mob-btn {
        position: relative;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1px;
        padding: 6px 4px;
        border-radius: 999px;
        border: none;
        background: transparent;
        color: var(--text, #0f172a);
        font-family: inherit;
        font-size: 0.66rem;
        font-weight: 800;
        text-decoration: none;
        cursor: pointer;
    }
    .gab-mob-btn.active {
        background: linear-gradient(135deg, var(--primary, #4f46e5), var(--accent, #06b6d4));
        color: #ffffff;
    }
    html[data-shell="glass_aurora_bar"] :is(body.page-admin, body.page-panel) .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    /* 2) هاتف MAGAZINE_RAIL: شريط فهرس مرقّم 01 / 02 / 03 أفقي + إحصائيات صحفية بخط علوي */
    .mag-topbar-inner { padding: 10px 14px; }
    .mag-masthead-title { display: none; }
    .mag-mob-strip {
        display: flex !important;
        gap: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 8px 14px;
        border-top: 1px solid var(--border, #e2e8f0);
        border-bottom: 2px solid var(--text, #0f172a);
        background: var(--bg-subtle, #f8fafc);
    }
    .mag-mob-strip::-webkit-scrollbar { display: none; }
    .mag-mob-item {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        font-size: 0.8rem;
        font-weight: 800;
        color: var(--text, #0f172a);
        text-decoration: none;
        list-style: none;
        cursor: pointer;
    }
    .mag-mob-item.active { color: var(--primary, #4f46e5); text-decoration: underline; text-underline-offset: 4px; }

    /* 3) هاتف CYBER_COCKPIT: إبقاء شريط القيادة الداكن والزوايا المقصوصة + إحصائيات داكنة 2×2 */
    .cpk-cmd-btn { padding: 5px 10px; font-size: 0.74rem; }
    html[data-shell="cyber_cockpit"] :is(body.page-admin, body.page-panel) .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    /* 4) هاتف SPLIT_RIBBON: هيدر ثنائي اللون + زر FAB دائري عائم يفتح شبكة الأقسام */
    .srb-brand-block { min-width: 0; padding: 10px 14px; }
    .srb-right-strip { padding: 8px 12px; justify-content: flex-end; }
    .dyn-shell-split_ribbon .dyn-hamburger { display: none !important; }
    .srb-fab-btn {
        display: inline-flex !important;
        position: fixed;
        bottom: 20px;
        inset-inline-end: 18px;
        z-index: 965;
        width: 58px;
        height: 58px;
        border-radius: 50%;
        border: none;
        background: linear-gradient(135deg, var(--primary, #4f46e5), var(--accent, #06b6d4));
        color: #ffffff;
        font-size: 1.4rem;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 12px 28px color-mix(in srgb, var(--primary, #4f46e5) 48%, rgba(0,0,0,0.28));
    }
    .srb-fab-overlay {
        position: fixed;
        inset: 0;
        z-index: 2370;
        background: rgba(15, 23, 42, 0.52);
        backdrop-filter: blur(5px);
    }
    .srb-fab-overlay.open { display: block !important; }
    .srb-fab-sheet {
        position: fixed;
        bottom: 14px;
        inset-inline: 12px;
        z-index: 2380;
        background: var(--surface, #ffffff);
        border: 1.5px solid var(--border, #e2e8f0);
        border-radius: 24px;
        padding: 16px;
        max-height: 76vh;
        overflow-y: auto;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    }
    .srb-fab-sheet.open { display: block !important; }
    .srb-fab-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 8px;
    }
    .srb-fab-tile {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 11px 10px;
        border-radius: 13px;
        background: var(--bg-subtle, #f8fafc);
        border: 1px solid var(--border, #e2e8f0);
        color: var(--text, #0f172a);
        font-size: 0.8rem;
        font-weight: 800;
        text-decoration: none;
    }
    .srb-fab-tile.active {
        border-color: var(--primary, #4f46e5);
        background: var(--primary-soft, rgba(79,70,229,0.1));
        color: var(--primary, #4f46e5);
    }

    /* 5) هاتف PAPER_MINIMAL: شريط التبويبات المسطّر يبقى ظاهراً + إحصائيات خطية نظيفة */
    .ppm-link { font-size: 0.8rem; padding: 8px 2px; }
    html[data-shell="paper_minimal"] :is(body.page-admin, body.page-panel) .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        border-top: 1px solid var(--border, #e2e8f0);
    }
    html[data-shell="paper_minimal"] :is(body.page-admin, body.page-panel) .stat-card {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        border: none !important;
        border-bottom: 1px solid var(--border, #e2e8f0) !important;
        border-radius: 0 !important;
        padding: 12px 6px !important;
        background: transparent !important;
    }

    /* 6) هاتف ARCADE_TILES: شريط سفلي بأزرار 3D سميكة ملموسة + بطاقات 3D 2×2 */
    html[data-shell="arcade_tiles"] body { padding-bottom: 82px !important; }
    .arc-mob-bar {
        display: flex !important;
        position: fixed;
        bottom: 0;
        inset-inline: 0;
        z-index: 960;
        background: var(--surface, #ffffff);
        border-top: 3px solid var(--border, #cbd5e1);
        padding: 7px 8px calc(8px + env(safe-area-inset-bottom, 0px));
        gap: 6px;
        justify-content: space-around;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .arc-mob-bar::-webkit-scrollbar { display: none; }
    .arc-mob-tile {
        position: relative;
        flex: 1 0 auto;
        min-width: 56px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: 6px 6px 5px;
        border-radius: 12px;
        background: var(--bg-subtle, #f8fafc);
        border: 2px solid var(--border, #cbd5e1);
        border-bottom: 4px solid var(--border, #cbd5e1);
        color: var(--text, #0f172a);
        font-family: inherit;
        font-size: 0.66rem;
        font-weight: 800;
        text-decoration: none;
        cursor: pointer;
    }
    .arc-mob-tile.active {
        background: var(--primary, #4f46e5);
        border-color: color-mix(in srgb, var(--primary, #4f46e5) 70%, #000000);
        border-bottom-color: color-mix(in srgb, var(--primary, #4f46e5) 55%, #000000);
        color: #ffffff;
    }
    html[data-shell="arcade_tiles"] :is(body.page-admin, body.page-panel) .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}