/**
 * Wordernario — Tema Cielo / Galilea
 * Paleta inspirada en img/bgWide.jpg: cielo luminoso, piedra, azulejos crema, faja roja, verdor.
 * Sustituye la estética oscura Arcane manteniendo el hook .arcane-skin en el HTML.
 */

:root {
    --cielo-sky-100: #f0f9ff;
    --cielo-sky-200: #bae6fd;
    --cielo-sky-400: #38bdf8;
    --cielo-sky-500: #0ea5e9;
    --cielo-sky-600: #0284c7;
    --cielo-sky-ink: #0c4a6e;
    --cielo-stone: #94a3b8;
    --cielo-rock: #64748b;
    --cielo-tile: #f5e6d3;
    --cielo-tile-edge: #c4a882;
    --cielo-tile-ink: #3e2723;
    --cielo-cream: #fffbeb;
    --cielo-parchment: #fef3c7;
    --cielo-leaf: #22c55e;
    --cielo-leaf-deep: #15803d;
    --cielo-sash: #dc2626;
    --cielo-sash-bright: #ef4444;
    --cielo-sun: #f59e0b;
    --cielo-sun-light: #fcd34d;
    --cielo-glass: rgba(255, 251, 235, 0.88);
    --cielo-glass-strong: rgba(255, 255, 255, 0.94);
    --cielo-glass-border: rgba(12, 74, 110, 0.22);
    --cielo-shadow: 0 8px 32px rgba(14, 116, 144, 0.18);
    --cielo-shadow-deep: 0 14px 40px rgba(30, 41, 59, 0.22);
    --cielo-text-shadow: 0 1px 2px rgba(255, 255, 255, 0.65), 0 1px 4px rgba(12, 74, 110, 0.25);
    --cielo-violet: #7c3aed;
    --cielo-violet-deep: #5b21b6;
    --cielo-modal-border: var(--cielo-violet);

    /* Puente con variables legacy */
    --arcane-teal: var(--cielo-sky-500);
    --arcane-orange: var(--cielo-sash);
    --arcane-orange-bright: var(--cielo-sun-light);
    --arcane-bg: var(--cielo-sky-200);
    --arcane-panel: var(--cielo-glass);
    --arcane-ink: var(--cielo-tile-ink);
    --arcane-text: #1e293b;
    --arcane-muted: #475569;
    --arcane-text-shadow: var(--cielo-text-shadow);
    --arcane-gradient-bar: linear-gradient(
        135deg,
        var(--cielo-sky-400) 0%,
        var(--cielo-sky-500) 42%,
        var(--cielo-sky-600) 100%
    );
    --arcane-gradient-btn: radial-gradient(
        ellipse farthest-corner at center 0,
        #fde68a -80%,
        var(--cielo-sun-light) 30%,
        var(--cielo-sun) 72%,
        #d97706 100%
    );
    --arcane-atn-gradient: linear-gradient(165deg, #ffffff 0%, var(--cielo-cream) 45%, var(--cielo-sky-100) 100%);
    --arcane-atn-shadow: var(--cielo-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  --arcane-body-gradient: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.55) 0%,
        rgba(186, 230, 253, 0.25) 45%,
        rgba(254, 243, 199, 0.12) 100%
    );
    --arcane-body-glow: radial-gradient(ellipse 120% 75% at 50% -5%, rgba(255, 255, 255, 0.75), transparent 62%);
    --arcane-body-ember: radial-gradient(ellipse 70% 50% at 100% 100%, rgba(245, 158, 11, 0.22), transparent 58%);
    --arcane-modal-shell: linear-gradient(165deg, #ffffff 0%, var(--cielo-cream) 38%, var(--cielo-sky-100) 100%);
    --arcane-modal-inner: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.92) 0%,
        var(--cielo-tile) 55%,
        #e8d5bc 100%
    );
    --arcane-scroll-track: rgba(186, 230, 253, 0.45);
    --arcane-scroll-track-edge: rgba(14, 165, 233, 0.2);
    --arcane-scroll-thumb: #7dd3fc;
    --arcane-scroll-thumb-hover: #38bdf8;
    --arcane-scroll-glow: rgba(56, 189, 248, 0.45);

    --color-primary-bg: var(--cielo-sky-100);
    --color-secondary-bg: #e0f2fe;
    --color-surface: var(--cielo-glass-strong);
    --color-surface-hover: #fff7ed;
    --color-surface-glass: var(--cielo-glass);
    --color-primary: var(--cielo-sky-500);
    --color-primary-hover: var(--cielo-sky-400);
    --color-primary-light: #7dd3fc;
    --color-accent: var(--cielo-sash);
    --color-gold: var(--cielo-sun-light);
    --color-gold-light: #fef9c3;
    --color-text-primary: var(--cielo-sky-ink);
    --color-text-secondary: #334155;
    --color-text-muted: #64748b;
    --color-border: rgba(12, 74, 110, 0.18);
    --btn-radius: 12px;
    --text-clash-shadow: 0 2px 0 rgba(190, 140, 60, 0.35), 0 1px 3px rgba(62, 39, 35, 0.2);
}

/* —— Cielo vivo detrás del juego —— */
.arcane-skin.body-bg-default::before {
    background-image: var(--arcane-body-glow), var(--arcane-body-ember);
    opacity: 0.85;
}

.arcane-skin.body-bg-default::after {
    background:
        radial-gradient(ellipse 80% 55% at 50% 100%, rgba(255, 255, 255, 0.35), transparent 70%),
        linear-gradient(180deg, transparent 40%, rgba(254, 243, 199, 0.15) 100%);
    animation: none;
    opacity: 1;
}

.arcane-skin .plx-layer {
    opacity: 0.08;
}

.arcane-skin body,
.arcane-skin {
    color: var(--arcane-text);
}

.arcane-skin .text-shadow {
    text-shadow: var(--cielo-text-shadow);
}

.arcane-skin .text-yellow {
    color: var(--cielo-sun) !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.arcane-skin a:hover {
    color: var(--cielo-sash);
}

/* —— Cabecera y subnavegación —— */
.arcane-skin .navbar-wrapper.arcane-top {
    background: var(--cielo-glass-strong);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(224, 242, 254, 0.92) 100%);
    border: 1px solid var(--cielo-glass-border);
    box-shadow: var(--cielo-shadow);
}

.arcane-skin .arcane-tagline {
    color: var(--cielo-sky-ink);
}

.arcane-skin .arcane-menu-btn {
    color: var(--cielo-sky-ink);
    background: linear-gradient(180deg, #fff 0%, var(--cielo-sky-100) 100%);
    border: 1px solid var(--cielo-glass-border);
    box-shadow: var(--cielo-shadow);
}

.arcane-skin .arcane-menu-btn:hover {
    border-color: var(--cielo-sky-400);
    color: var(--cielo-sash);
}

.arcane-skin .arcane-subnav {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(186, 230, 253, 0.75) 100%);
    border-bottom: 1px solid var(--cielo-glass-border);
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.12);
}

.arcane-skin .arcane-subnav .nav-link {
    color: var(--cielo-rock) !important;
}

.arcane-skin .arcane-subnav .nav-link:hover,
.arcane-skin .arcane-subnav .nav-link:focus {
    color: var(--cielo-sash) !important;
    background: rgba(255, 255, 255, 0.65);
}

/* —— Tablero: losa de piedra / azulejos —— */
.arcane-skin .arcane-game-band.arcane-board-surface {
    background: var(--arcane-modal-inner);
    background-color: var(--cielo-tile);
    border: 2px solid var(--cielo-tile-edge);
    border-radius: 16px;
    box-shadow:
        var(--cielo-shadow-deep),
        inset 0 2px 0 rgba(255, 255, 255, 0.85),
        inset 0 -4px 12px rgba(196, 168, 130, 0.35);
}

.arcane-skin .arcane-game-band.arcane-board-surface::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(56, 189, 248, 0.65),
        rgba(252, 211, 77, 0.75),
        rgba(34, 197, 94, 0.55),
        transparent
    );
    opacity: 0.55;
}

.arcane-skin .arcane-game-band.board-theme-special {
    background-color: rgba(255, 251, 235, 0.82);
    box-shadow:
        0 0 0 2px rgba(245, 158, 11, 0.35),
        var(--cielo-shadow);
}

.arcane-skin .arcane-game-band.board-theme-special::before {
    filter: blur(14px) saturate(1.1) brightness(1.05) contrast(0.95);
    opacity: 0.55;
}

.arcane-skin .arcane-game-band.board-theme-special::after {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.72) 0%,
        rgba(254, 243, 199, 0.55) 50%,
        rgba(186, 230, 253, 0.4) 100%
    ) !important;
}

.arcane-skin .arcane-game-band .header .titulo {
    color: var(--cielo-sky-ink);
    text-shadow: var(--cielo-text-shadow);
}

/* Comodines (barra inferior) separados del tablero */
.arcane-skin .arcane-game-band .pn-power-bar-row {
    position: relative;
    margin-top: 12px !important;
    margin-bottom: 4px !important;
    padding-top: 14px !important;
    border-top: 2px solid rgba(124, 58, 237, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.arcane-skin .arcane-game-band .pn-power-bar-row::before {
    content: "";
    display: block;
    position: absolute;
    top: -1px;
    left: 8%;
    right: 8%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(167, 139, 250, 0.55) 18%,
        rgba(56, 189, 248, 0.65) 50%,
        rgba(167, 139, 250, 0.55) 82%,
        transparent 100%
    );
    pointer-events: none;
}

.arcane-skin .arcane-game-band .pn-power-bar-row .col-12 {
    padding-top: 2px;
}

.arcane-skin .arcane-game-band .power-bar.arcane-mini-slider {
    padding-top: 4px;
}

.arcane-skin #lbTimer.hud-timer-value {
    color: var(--cielo-sky-ink) !important;
    text-shadow: 0 2px 0 #fff, 0 1px 4px rgba(2, 132, 199, 0.35);
}

/* —— Header tablero: panel morado tipo botón Confirma —— */
.arcane-skin .hud-board-panel {
    position: relative;
    z-index: 2;
    margin: 0 2px 6px;
    padding: 10px 12px 8px;
    border-radius: 14px;
    border: 2px solid rgba(76, 29, 149, 0.5);
    background-color: #7c3aed;
    background-image: radial-gradient(
        ellipse 120% 85% at 50% 0%,
        #f5f3ff 0%,
        #ddd6fe 22%,
        #c4b5fd 38%,
        #a78bfa 58%,
        #7c3aed 82%,
        #5b21b6 100%
    );
    box-shadow:
        0 4px 0 rgba(76, 29, 149, 0.62),
        0 10px 26px rgba(124, 58, 237, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        inset 0 -4px 10px rgba(76, 29, 149, 0.38);
    overflow: hidden;
}

.arcane-skin .hud-board-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0.55;
    background: repeating-linear-gradient(
        -14deg,
        transparent 0,
        transparent 4px,
        rgba(255, 255, 255, 0.06) 4px,
        rgba(255, 255, 255, 0.06) 5px
    );
}

.arcane-skin .hud-board-panel::after {
    content: "";
    position: absolute;
    top: 0;
    left: 6%;
    right: 6%;
    height: 42%;
    border-radius: 0 0 48% 48%;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.42) 0%, transparent 68%);
}

.arcane-skin .hud-board-panel > .row {
    position: relative;
    z-index: 1;
}

.arcane-skin .hud-board-panel #lbVersiculo,
.arcane-skin .hud-board-panel #lbTimer.hud-timer-value,
.arcane-skin .hud-board-panel .hud-points-value {
    color: #fff !important;
    text-shadow:
        0 2px 0 rgba(76, 29, 149, 0.85),
        0 1px 3px rgba(30, 10, 60, 0.55);
}

.arcane-skin .hud-board-panel .wallet-amount,
.arcane-skin .hud-board-panel .wallet-pearls {
    color: #fde68a !important;
    text-shadow: 0 1px 0 rgba(76, 29, 149, 0.75), 0 0 8px rgba(252, 211, 77, 0.35);
}

.arcane-skin .hud-board-panel .wallet-user,
.arcane-skin .hud-board-panel .wallet-user-sep,
.arcane-skin .hud-board-panel .text-muted {
    color: rgba(255, 255, 255, 0.78) !important;
    text-shadow: 0 1px 2px rgba(46, 16, 101, 0.45);
}

.arcane-skin .hud-board-panel .hud-timer-bar-track {
    border-color: rgba(76, 29, 149, 0.45);
    background: rgba(30, 10, 60, 0.28);
    box-shadow: inset 0 2px 4px rgba(30, 10, 60, 0.35);
}

.arcane-skin .hud-board-panel .hud-timer-bar-fill {
    background: linear-gradient(90deg, #e9d5ff, #f5f3ff);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
}

.arcane-skin .hud-board-panel img.game-icon {
    filter: drop-shadow(0 2px 4px rgba(30, 10, 60, 0.55));
}

.arcane-skin .hud-board-title-panel {
    display: inline-block;
    position: relative;
    padding: 8px 20px 10px;
    border-radius: 12px;
    border: 2px solid rgba(91, 33, 182, 0.45);
    color: #fff !important;
    text-shadow:
        0 2px 0 rgba(76, 29, 149, 0.9),
        0 1px 4px rgba(30, 10, 60, 0.5);
    background-color: #8b5cf6;
    background-image: radial-gradient(
        ellipse 100% 80% at 50% 0%,
        #ede9fe 0%,
        #c4b5fd 35%,
        #8b5cf6 70%,
        #6d28d9 100%
    );
    box-shadow:
        0 3px 0 rgba(76, 29, 149, 0.55),
        0 6px 18px rgba(124, 58, 237, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.arcane-skin .arcane-game-band .header .titulo-row .hud-board-title-panel {
    color: #fff;
    text-shadow:
        0 2px 0 rgba(76, 29, 149, 0.85),
        0 1px 3px rgba(30, 10, 60, 0.45);
}

.arcane-skin .hud-timer-bar-track {
    border: 1px solid var(--cielo-glass-border);
    background: rgba(255, 255, 255, 0.65);
    box-shadow: inset 0 1px 3px rgba(12, 74, 110, 0.12);
}

.arcane-skin .hud-timer-bar-fill {
    background: linear-gradient(90deg, var(--cielo-sky-400), var(--cielo-sky-500));
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.45);
}

.arcane-skin .hud-wallet-row .wallet-amount {
    color: #b45309;
    text-shadow: 0 1px 0 #fff;
}

.arcane-skin .content-main {
    color: var(--cielo-sky-ink);
}

/* —— Botones: arcade cálido —— */
.arcane-skin [class*="btn-clash"] {
    color: var(--cielo-tile-ink) !important;
    border: 2px solid rgba(62, 39, 35, 0.25) !important;
    border-radius: 14px !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
    box-shadow:
        0 4px 0 rgba(62, 39, 35, 0.22),
        0 8px 20px rgba(14, 116, 144, 0.15) !important;
}

.arcane-skin [class*="btn-clash-yellow"],
.arcane-skin [class*="btn-clash-yellow-light"] {
    background-color: var(--cielo-sun-light) !important;
    background-image: radial-gradient(ellipse at center 0, #fff 0%, var(--cielo-sun-light) 40%, var(--cielo-sun) 100%) !important;
}

.arcane-skin .btn-clash-red,
.arcane-skin .btn-clash-violet {
    background-image: radial-gradient(ellipse at center 0, #fca5a5 0%, var(--cielo-sash-bright) 45%, var(--cielo-sash) 100%) !important;
}

.arcane-skin .btn-clash-green {
    background-image: radial-gradient(ellipse at center 0, #bbf7d0 0%, var(--cielo-leaf) 45%, var(--cielo-leaf-deep) 100%) !important;
}

.arcane-skin .btn-clash-violet,
.arcane-skin .btn-clash-teal {
    background-color: var(--cielo-sky-400) !important;
    background-image: linear-gradient(180deg, #7dd3fc 0%, var(--cielo-sky-500) 100%) !important;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(12, 74, 110, 0.45);
}

.arcane-skin [class*="btn-clash"]:hover:not(:disabled) {
    filter: brightness(1.04);
    box-shadow:
        0 5px 0 rgba(62, 39, 35, 0.2),
        0 10px 24px rgba(14, 116, 144, 0.22) !important;
}

/* —— Modales y lobby —— */
.arcane-skin #mdWelcome .modal-content.welcome-sheet,
.arcane-skin #mdResult .modal-content,
.arcane-skin #mdOnline .modal-content,
.arcane-skin #mdAlmacen .modal-content.warehouse-sheet,
.arcane-skin #mdNextRound .modal-content.round-sheet,
.arcane-skin #mdShopNotice .modal-content.shop-notice-sheet,
.arcane-skin #mdSeasonReward .modal-content,
.arcane-skin #mdWelcomeProgress .modal-content.shop-notice-sheet,
.arcane-skin .modal-content.game-modal-shell {
    background: var(--arcane-modal-shell);
    border: 2px solid var(--cielo-modal-border) !important;
    border-radius: 18px;
    box-shadow: var(--cielo-shadow-deep) !important;
    color: var(--arcane-text);
}

.arcane-skin .arcane-living-shell::before,
.arcane-skin #mdWelcome .modal-content.welcome-sheet::before,
.arcane-skin #mdAlmacen .modal-content.warehouse-sheet::before,
.arcane-skin #mdNextRound .modal-content.round-sheet::before,
.arcane-skin #mdShopNotice .shop-notice-sheet::before,
.arcane-skin #mdSeasonReward .modal-content::before,
.arcane-skin #mdResult .modal-content::before,
.arcane-skin #mdOnline .modal-content::before {
    display: none !important;
}

/* Marco interior: sin barrido arcane-edge-sweep ni destello */
.arcane-skin .welcome-immersive-frame::before,
.arcane-skin #mdAlmacen .welcome-immersive-frame::before,
.arcane-skin #mdNextRound .round-immersive-frame::before {
    display: none !important;
    animation: none !important;
}

.arcane-skin .welcome-immersive-frame::after,
.arcane-skin #mdAlmacen .welcome-immersive-frame::after {
    display: none !important;
    animation: none !important;
}

.arcane-skin #mdWelcome .welcome-immersive-frame,
.arcane-skin #mdAlmacen .welcome-immersive-frame,
.arcane-skin #mdNextRound .round-immersive-frame {
    border: none !important;
    border-radius: 14px;
    background: var(--arcane-modal-inner);
    box-shadow: none !important;
}

.arcane-skin #mdNextRound.round-outcome-correct .round-immersive-frame,
.arcane-skin #mdNextRound.round-outcome-incorrect .round-immersive-frame {
    box-shadow: none !important;
}

.arcane-skin #mdWelcome .welcome-immersive-bg.post-small-bg-wrapper {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(245, 230, 211, 0.35) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

/* Condimentos visibles arriba del catálogo de libros */
.arcane-skin #nav-home .welcome-condiment-details {
    position: sticky;
    top: 0;
    z-index: 6;
    margin-bottom: 10px;
    background: var(--cielo-glass-strong);
    border: 1px solid var(--cielo-glass-border);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(14, 116, 144, 0.12);
}

.arcane-skin #nav-home .welcome-condiment-details .welcome-details-summary {
    color: var(--cielo-sky-ink);
}

/* —— En línea: contraste y nombres visibles —— */
.arcane-skin #nav-online .welcome-panel-lead,
.arcane-skin #nav-online .online-room-panel,
.arcane-skin #nav-online .online-room-panel p,
.arcane-skin #nav-online #lbOnlineStatusInline {
    color: var(--cielo-sky-ink);
}

/* Modal buscar rival — versus battle (img/versus.jpg) */
.arcane-skin #mdMatchmakingVersus .versus-match-dialog {
    max-width: min(92vw, 380px);
    margin: 0.75rem auto;
}

.arcane-skin #mdMatchmakingVersus .versus-match-sheet {
    overflow: hidden;
    border: 3px solid var(--cielo-modal-border, #7c3aed);
    background: #0f172a;
    padding: 0;
}

.arcane-skin #mdMatchmakingVersus .versus-match-art {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #1e293b;
}

.arcane-skin #mdMatchmakingVersus .versus-match-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
}

.arcane-skin #mdMatchmakingVersus .versus-match-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.15) 0%,
        rgba(15, 23, 42, 0.05) 35%,
        rgba(15, 23, 42, 0.55) 100%
    );
}

.arcane-skin #mdMatchmakingVersus .versus-match-vs-wrap {
    position: absolute;
    left: 50%;
    top: 38%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.arcane-skin #mdMatchmakingVersus .versus-match-vs {
    display: inline-block;
    font-size: clamp(2.2rem, 9vw, 3.2rem);
    font-weight: 800;
  letter-spacing: 0.06em;
    color: #fef3c7;
    text-shadow:
        0 0 12px rgba(251, 191, 36, 0.95),
        0 3px 0 #b45309,
        0 5px 14px rgba(0, 0, 0, 0.65);
    animation: versus-vs-pulse 1.4s ease-in-out infinite;
}

@keyframes versus-vs-pulse {
    0%,
    100% {
        filter: brightness(1) drop-shadow(0 0 6px rgba(251, 191, 36, 0.5));
    }
    50% {
        filter: brightness(1.15) drop-shadow(0 0 14px rgba(251, 191, 36, 0.95));
    }
}

.arcane-skin #mdMatchmakingVersus .versus-match-you,
.arcane-skin #mdMatchmakingVersus .versus-match-them {
    position: absolute;
    bottom: 10%;
    z-index: 2;
    width: 38%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.arcane-skin #mdMatchmakingVersus .versus-match-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fbbf24;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
    background: #1e293b;
}

.arcane-skin #mdMatchmakingVersus .versus-match-them .versus-match-avatar {
    border-color: #a78bfa;
}

.arcane-skin .online-duel-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 6px 10px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(30, 27, 75, 0.92) 0%, rgba(15, 23, 42, 0.94) 100%);
    border: 2px solid rgba(251, 191, 36, 0.45);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.arcane-skin .online-duel-side {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 120px;
    min-width: 0;
}

.arcane-skin .online-duel-side--rival {
    flex-direction: row-reverse;
    text-align: right;
}

.arcane-skin .online-duel-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fbbf24;
    flex-shrink: 0;
    background: #334155;
}

.arcane-skin .online-duel-side--rival .online-duel-avatar {
    border-color: #c4b5fd;
}

.arcane-skin .online-duel-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.arcane-skin .online-duel-name {
    font-size: 0.78rem;
    color: #fde68a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 9rem;
}

.arcane-skin .online-duel-score {
    font-size: 1.05rem;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.arcane-skin .online-duel-vs {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fbbf24;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.65);
    flex-shrink: 0;
}

.arcane-skin #mdMatchmakingVersus .versus-match-you {
    left: 4%;
}

.arcane-skin #mdMatchmakingVersus .versus-match-them {
    right: 4%;
}

.arcane-skin #mdMatchmakingVersus .versus-match-side-label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f172a;
    background: linear-gradient(180deg, #fde68a 0%, #fbbf24 100%);
    border: 2px solid #b45309;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.arcane-skin #mdMatchmakingVersus .versus-match-side-label--rival {
    background: linear-gradient(180deg, #e9d5ff 0%, #c4b5fd 100%);
    border-color: #7c3aed;
    animation: versus-rival-wait 1.2s ease-in-out infinite;
}

@keyframes versus-rival-wait {
    0%,
    100% {
        opacity: 0.85;
    }
    50% {
        opacity: 1;
    }
}

.arcane-skin #mdMatchmakingVersus .versus-match-body {
    padding: 12px 14px 16px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.96) 100%);
}

.arcane-skin #mdMatchmakingVersus .versus-match-kicker {
    font-size: 0.95rem;
}

.arcane-skin #mdMatchmakingVersus .versus-match-status {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--cielo-violet, #6d28d9);
    text-shadow: none;
}

.arcane-skin #mdMatchmakingVersus .versus-match-cancel {
    width: min(100%, 280px);
}

.arcane-skin .duel-lobby-list {
    max-height: min(34vh, 240px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px;
}

.arcane-skin .duel-lobby-players {
    list-style: none;
    margin: 0;
    padding: 0;
}

.arcane-skin .duel-lobby-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    margin-bottom: 4px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--cielo-glass-border);
}

.arcane-skin .duel-lobby-avatar {
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid var(--cielo-violet);
}

.arcane-skin .duel-lobby-name {
    flex: 1;
    text-align: left;
    font-size: 0.82rem;
    color: var(--cielo-tile-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.arcane-skin .duel-lobby-invite {
    flex-shrink: 0;
    padding: 4px 10px !important;
    font-size: 0.72rem !important;
}

.arcane-skin #mdDuelInvite .duel-invite-body .shop-notice-title {
    font-size: 1.05rem;
}

.arcane-skin #nav-online #lbMatchmaking {
    color: var(--cielo-sky-ink) !important;
    text-shadow: none;
    background: rgba(237, 233, 254, 0.95);
    border: 1px solid var(--cielo-violet);
    border-radius: 12px;
    padding: 10px 14px;
    margin: 8px 0 10px;
    text-align: center;
    font-weight: 700;
}

.arcane-skin #nav-online .online-room-panel {
    background: var(--cielo-glass-strong) !important;
    border: 2px solid var(--cielo-violet) !important;
    border-radius: 14px !important;
    box-shadow: var(--cielo-shadow) !important;
}

.arcane-skin #nav-online .online-room-panel .text-yellow {
    color: var(--cielo-violet-deep) !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.arcane-skin #nav-online .facilitator-code,
.arcane-skin #nav-online #lbOnlineCodeInline {
    color: var(--cielo-violet-deep) !important;
}

.arcane-skin #nav-online .online-roster-chip,
.arcane-skin #mdOnline .online-roster-chip {
    background: #fff !important;
    border: 1px solid var(--cielo-glass-border) !important;
    box-shadow: 0 2px 8px rgba(91, 33, 182, 0.08);
    font-size: 0.72rem;
}

.arcane-skin #nav-online .online-roster-name,
.arcane-skin #mdOnline .online-roster-name {
    color: var(--cielo-tile-ink) !important;
    font-weight: 700;
}

.arcane-skin #nav-online .online-roster-score,
.arcane-skin #mdOnline .online-roster-score {
    color: #b45309 !important;
    text-shadow: none;
}

.arcane-skin #nav-online .online-roster-title,
.arcane-skin #mdOnline .online-roster-title {
    color: var(--cielo-rock) !important;
}

.arcane-skin #nav-online .online-hint-ok,
.arcane-skin #nav-online .online-hint-warn {
    text-shadow: none;
}

.arcane-skin #nav-online .online-hint-ok {
    color: var(--cielo-leaf-deep) !important;
}

.arcane-skin #nav-online .online-hint-warn {
    color: #b45309 !important;
}

.arcane-skin #onlineRoomPanel #btnOnlineStartPlay:not([hidden]),
.arcane-skin #mdOnline #btnOnlineStartPlayMd:not([hidden]) {
    display: inline-flex !important;
    width: min(100%, 280px);
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: center;
}

.arcane-skin .quick-race-books-scroll {
    max-height: min(42vh, 320px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 6px;
    padding: 4px 2px;
}

.arcane-skin .quick-race-books-list .single-book {
    cursor: pointer;
    padding: 8px 10px;
    margin-bottom: 4px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--cielo-glass-border);
}

.arcane-skin .quick-race-books-list .single-book:hover {
    border-color: var(--cielo-violet);
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.15);
}

.arcane-skin #nav-home .online-pick-book-pulse {
    animation: online-pick-book-pulse 0.6s ease-in-out 3;
}

@keyframes online-pick-book-pulse {
    0%,
    100% {
        transform: scale(1);
        filter: none;
    }
    50% {
        transform: scale(1.04);
        filter: drop-shadow(0 0 8px rgba(124, 58, 237, 0.45));
    }
}

.arcane-skin .welcome-panel-title h3,
.arcane-skin .welcome-panel-title--tight h3,
.arcane-skin .main-content-title.welcome-panel-title h3 {
    color: var(--cielo-sky-ink) !important;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95),
        0 2px 8px rgba(2, 132, 199, 0.25) !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em;
}

.arcane-skin .welcome-tab-slider {
    background: rgba(255, 255, 255, 0.35) !important;
    border: 1px solid var(--cielo-glass-border) !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 12px rgba(14, 116, 144, 0.1) !important;
}

.arcane-skin #mdWelcome .welcome-tab-slider {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--cielo-glass-border) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.arcane-skin .arcane-slider-chip,
.arcane-skin #mdWelcome .arcane-slider-chip.condimento-chip {
    color: var(--cielo-sky-ink) !important;
    background: linear-gradient(180deg, #ffffff 0%, var(--cielo-sky-100) 100%) !important;
    border: 1px solid var(--cielo-glass-border) !important;
    border-radius: 999px !important;
    box-shadow: 0 2px 8px rgba(14, 116, 144, 0.12) !important;
}

.arcane-skin #mdWelcome .welcome-tab-slider .arcane-slider-chip,
.arcane-skin #mdWelcome .welcome-tab-slider .welcome-tab-chip.nav-link {
    color: var(--cielo-sky-ink) !important;
    background: linear-gradient(180deg, #ffffff 0%, #e0f2fe 100%) !important;
    border: 1px solid rgba(2, 132, 199, 0.35) !important;
    border-radius: 999px !important;
    box-shadow: 0 2px 6px rgba(14, 116, 144, 0.14) !important;
}

.arcane-skin .welcome-tab-slider .welcome-tab-chip.nav-link {
    border-radius: 999px !important;
}

.arcane-skin .welcome-tab-slider .welcome-tab-chip.nav-link:focus,
.arcane-skin .welcome-tab-slider .welcome-tab-chip.nav-link:hover {
    color: var(--cielo-sash) !important;
    background: linear-gradient(180deg, #fff 0%, var(--cielo-parchment) 100%) !important;
    border-color: var(--cielo-sun) !important;
}

.arcane-skin .arcane-slider-chip.condimento-on,
.arcane-skin .arcane-slider-chip.legend-on,
.arcane-skin .arcane-slider-chip.level-chip-on {
    color: #fff !important;
    background: linear-gradient(135deg, var(--cielo-sky-400) 0%, var(--cielo-sky-600) 100%) !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35) !important;
    border-color: var(--cielo-sky-600) !important;
}

.arcane-skin .welcome-tab-slider .welcome-tab-chip.nav-link.active,
.arcane-skin .welcome-tab-slider .nav-link.active.welcome-tab-chip {
    color: #fff !important;
    background: linear-gradient(135deg, var(--cielo-sky-400) 0%, #0284c7 100%) !important;
    border-color: #0369a1 !important;
    box-shadow:
        0 4px 14px rgba(2, 132, 199, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
    text-shadow: 0 1px 2px rgba(12, 74, 110, 0.35);
}

.arcane-skin .welcome-tab-slider .welcome-tab-chip.nav-link:not(.active) {
    color: var(--cielo-sky-ink) !important;
}

.arcane-skin .welcome-tab-chip--icon .tab-chip-icon {
    filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.85));
}

.arcane-skin .welcome-tab-slider .welcome-tab-chip.nav-link.active .tab-chip-icon {
    filter: drop-shadow(0 1px 2px rgba(12, 74, 110, 0.45));
}

.arcane-skin .welcome-hint,
.arcane-skin .welcome-panel-lead,
.arcane-skin .font-size-08em.desc-game p {
    color: var(--cielo-rock) !important;
}

.arcane-skin .welcome-player-name,
.arcane-skin .form-control {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid var(--cielo-glass-border) !important;
    color: var(--cielo-sky-ink) !important;
    border-radius: 12px;
}

.arcane-skin .arcane-books-list .single-book {
    background: linear-gradient(180deg, #fff 0%, var(--cielo-sky-100) 100%);
    color: var(--cielo-sky-ink);
    border: 1px solid var(--cielo-glass-border);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(14, 116, 144, 0.1);
}

.arcane-skin .arcane-books-list .single-book:hover,
.arcane-skin .arcane-books-list .single-book:focus {
    color: var(--cielo-sash);
    border-color: var(--cielo-sky-400);
}

.arcane-skin .arcane-books-list .books-section-label {
    color: var(--cielo-sash);
}

.arcane-skin #pnBookLegend .legend-chip,
.arcane-skin .book-filter-slider .legend-chip,
.arcane-skin .condimento-chip,
.arcane-skin .legend-chip {
    background: linear-gradient(180deg, #ffffff 0%, var(--cielo-sky-100) 100%) !important;
    color: var(--cielo-sky-ink) !important;
    border: 1px solid rgba(2, 132, 199, 0.35) !important;
    border-radius: 999px !important;
    box-shadow: 0 2px 8px rgba(14, 116, 144, 0.12) !important;
    text-shadow: none !important;
    font-weight: 700;
}

.arcane-skin #pnBookLegend .legend-chip.legend-on,
.arcane-skin .book-filter-slider .legend-chip.legend-on,
.arcane-skin .legend-chip.legend-on {
    color: #fff !important;
    background: linear-gradient(135deg, var(--cielo-sky-400) 0%, #0284c7 100%) !important;
    border-color: #0369a1 !important;
    box-shadow:
        0 4px 12px rgba(2, 132, 199, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

.arcane-skin #pnBookLegend .legend-chip:hover,
.arcane-skin .book-filter-slider .legend-chip:hover,
.arcane-skin .legend-chip:hover {
    color: var(--cielo-sash) !important;
    border-color: var(--cielo-sun) !important;
    background: linear-gradient(180deg, #fff 0%, var(--cielo-parchment) 100%) !important;
}

.arcane-skin #pnBookLegend .legend-chip.legend-on:hover,
.arcane-skin .legend-chip.legend-on:hover {
    color: #fff !important;
    filter: brightness(1.05);
}

.arcane-skin #pnBookLegend.book-filter-slider,
.arcane-skin #pnBookLegend.arcane-mini-slider {
    padding: 4px 2px 8px;
}

.arcane-skin .arcane-atn-panel {
    background: var(--arcane-atn-gradient);
    background-color: #fff;
    border: 1px solid var(--cielo-glass-border);
    box-shadow: var(--cielo-shadow);
    border-radius: 14px;
}

/* Fichas del tablero — azulejo crema */
.arcane-skin .words-disorder .word-order,
.arcane-skin .phrase-chip {
    background: linear-gradient(180deg, #fffefb 0%, var(--cielo-tile) 100%) !important;
    color: var(--cielo-tile-ink) !important;
    border: 2px solid var(--cielo-tile-edge) !important;
    border-radius: 12px !important;
    box-shadow:
        0 3px 0 rgba(196, 168, 130, 0.45),
        0 6px 14px rgba(62, 39, 35, 0.12) !important;
}

.arcane-skin .phrase-board-lane .phrase-chip {
    background: linear-gradient(180deg, #e0f2fe 0%, #bae6fd 100%) !important;
    border-color: var(--cielo-sky-500) !important;
    color: var(--cielo-sky-ink) !important;
}

/* Modal ronda — piedra clara */
.arcane-skin #mdNextRound .round-reveal-wrap {
    border: 1px solid var(--cielo-tile-edge);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.arcane-skin #mdNextRound .round-reveal {
    color: var(--cielo-sky-ink);
}

.arcane-skin #mdNextRound .round-reveal-kicker {
    color: var(--cielo-leaf-deep);
}

/* Fallo: panel claro + texto oscuro (arcane-theme ponía #f5ddd6 sobre fondo claro) */
.arcane-skin #mdNextRound.round-outcome-incorrect .round-reveal-wrap {
    background: var(--cielo-glass-strong);
    border-color: rgba(220, 38, 38, 0.38);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 2px 10px rgba(62, 39, 35, 0.14);
}

.arcane-skin #mdNextRound.round-outcome-incorrect .round-reveal-kicker {
    color: var(--cielo-sash);
    letter-spacing: 0.12em;
}

.arcane-skin #mdNextRound.round-outcome-incorrect .round-reveal,
.arcane-skin #mdNextRound.round-outcome-incorrect #lbAnswerReveal {
    color: var(--cielo-tile-ink);
    text-shadow: none;
}

.arcane-skin .modal-backdrop {
    background: rgba(186, 230, 253, 0.55);
}

.arcane-skin .modal-backdrop.show {
    opacity: 0.85;
}

/* Splash coherente con el cielo */
.app-splash__title {
    color: var(--cielo-sky-ink);
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.95), 0 0 12px rgba(252, 211, 77, 0.45);
}

.app-splash__tagline {
    color: var(--cielo-rock);
}

.app-splash__bar-fill {
    background: linear-gradient(90deg, #ddd6fe, #c4b5fd, #a78bfa, #7c3aed);
    box-shadow: 0 0 14px rgba(139, 92, 246, 0.7);
}

.app-splash__shade {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 38%);
}

/* —— Partidas especiales: filas tarjeta continua (sin corte al medio) —— */
.arcane-skin .arcane-modes-scroll {
    padding: 4px 2px 8px;
}

.arcane-skin .arcane-modes-table {
    border-collapse: separate;
    border-spacing: 0 10px;
}

.arcane-skin .arcane-modes-table thead th {
    color: var(--cielo-sky-ink);
    font-weight: 800;
    padding: 8px 12px 10px;
    border-bottom: 2px solid var(--cielo-sky-400);
}

.arcane-skin .arcane-modes-table tbody tr.arcane-mode-row {
    filter: drop-shadow(0 3px 12px rgba(14, 116, 144, 0.12));
    transition: filter 0.2s ease;
}

.arcane-skin .arcane-modes-table tbody tr.arcane-mode-row:hover {
    filter: drop-shadow(0 5px 18px rgba(2, 132, 199, 0.22));
}

.arcane-skin .arcane-modes-table tbody tr.arcane-mode-row td {
    display: table-cell !important;
    vertical-align: middle !important;
    padding: 12px 14px !important;
    background: linear-gradient(180deg, #ffffff 0%, var(--cielo-sky-100) 100%) !important;
    background-color: #fff !important;
    border-style: solid !important;
    border-color: var(--cielo-glass-border) !important;
    border-width: 1px 0 1px 0 !important;
    box-shadow: none !important;
}

.arcane-skin .arcane-modes-table tbody tr.arcane-mode-row td.mode-name,
.arcane-skin .arcane-modes-table tbody tr.arcane-mode-row td:first-child {
    width: 38%;
    border-left-width: 1px !important;
    border-right-width: 0 !important;
    border-radius: 12px 0 0 12px !important;
    white-space: normal;
    line-height: 1.25;
}

.arcane-skin .arcane-modes-table tbody tr.arcane-mode-row td.mode-desc,
.arcane-skin .arcane-modes-table tbody tr.arcane-mode-row td:last-child {
    border-right-width: 1px !important;
    border-left: 1px solid rgba(2, 132, 199, 0.18) !important;
    border-radius: 0 12px 12px 0 !important;
    color: var(--cielo-rock) !important;
    font-size: 0.78rem;
    line-height: 1.4;
}

.arcane-skin .arcane-modes-table td.mode-name {
    color: var(--cielo-sky-ink) !important;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
}

.arcane-skin .arcane-modes-table td.mode-name .mode-row-icon {
    display: inline-block;
    vertical-align: middle;
    width: 32px;
    height: 32px;
    margin-right: 10px;
    filter: drop-shadow(0 2px 4px rgba(14, 116, 144, 0.18));
}

.arcane-skin .arcane-modes-table td.mode-name span {
    display: inline;
    vertical-align: middle;
    color: var(--cielo-sky-ink) !important;
}

.arcane-skin .arcane-modes-table tbody tr.arcane-mode-row:hover td {
    border-color: var(--cielo-sky-500) !important;
    background: linear-gradient(180deg, #fff 0%, #bae6fd 55%) !important;
}

.arcane-skin .arcane-modes-table tbody tr.arcane-mode-row:hover td.mode-name span,
.arcane-skin .arcane-modes-table tbody tr.arcane-mode-row:hover td.mode-name {
    color: var(--cielo-sash) !important;
}

.arcane-skin .arcane-modes-table tbody tr.arcane-mode-row:focus-visible {
    outline: 2px solid var(--cielo-sun);
    outline-offset: 2px;
}

.arcane-skin #nav-especial .welcome-hint {
    color: var(--cielo-rock) !important;
}

/* —— Almacén: Mochila / Tienda / Perlas —— */
.arcane-skin #mdAlmacen .warehouse-tab-slider .warehouse-tab {
    color: var(--cielo-sky-ink) !important;
    background: linear-gradient(180deg, #ffffff 0%, var(--cielo-sky-100) 100%) !important;
    border: 1px solid rgba(2, 132, 199, 0.4) !important;
    border-radius: 999px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 8px 16px;
    box-shadow: 0 2px 8px rgba(14, 116, 144, 0.12) !important;
}

.arcane-skin #mdAlmacen .warehouse-tab-slider .warehouse-tab:hover {
    color: var(--cielo-sash) !important;
    border-color: var(--cielo-sun) !important;
    background: linear-gradient(180deg, #fff 0%, var(--cielo-parchment) 100%) !important;
}

.arcane-skin #mdAlmacen .warehouse-tab-slider .warehouse-tab.warehouse-tab--on,
.arcane-skin #mdAlmacen .warehouse-tab-slider .warehouse-tab--on {
    color: #fff !important;
    background: linear-gradient(135deg, var(--cielo-sky-400) 0%, #0284c7 100%) !important;
    border-color: #0369a1 !important;
    box-shadow:
        0 4px 14px rgba(2, 132, 199, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    text-shadow: 0 1px 2px rgba(12, 74, 110, 0.35);
}

.arcane-skin #mdAlmacen .warehouse-panel-lead,
.arcane-skin #mdAlmacen .warehouse-balance-row,
.arcane-skin #mdAlmacen .welcome-hint {
    color: var(--cielo-rock) !important;
}

.arcane-skin #mdAlmacen .warehouse-balance-row strong,
.arcane-skin #mdAlmacen .text-yellow {
    color: #b45309 !important;
}

.arcane-skin .welcome-info-pane {
    color: var(--cielo-rock) !important;
}

.arcane-skin .welcome-info-pane h6 {
    color: var(--cielo-sky-ink) !important;
}

/* —— Más: panel de configuración y sliders de sonido —— */
.arcane-skin #nav-more .welcome-details {
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.82) !important;
    border: 1px solid rgba(2, 132, 199, 0.28) !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 16px rgba(14, 116, 144, 0.1);
    overflow: hidden;
}

.arcane-skin #nav-more .welcome-details-summary {
    color: var(--cielo-sky-ink) !important;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    background: linear-gradient(180deg, #ffffff 0%, var(--cielo-sky-100) 100%);
    border-bottom: 1px solid transparent;
}

.arcane-skin #nav-more .welcome-details[open] .welcome-details-summary {
    border-bottom-color: rgba(2, 132, 199, 0.22);
}

.arcane-skin #nav-more .welcome-details-summary::after {
    color: var(--cielo-sky-500);
    opacity: 0.9;
}

.arcane-skin #nav-more .welcome-details-body {
    padding: 12px 12px 14px !important;
    border-top: 1px solid rgba(2, 132, 199, 0.15) !important;
    background: rgba(248, 250, 252, 0.92);
}

.arcane-skin #nav-more .welcome-panel-lead,
.arcane-skin #nav-more .welcome-hint,
.arcane-skin #nav-more #lbLevelDesc {
    color: var(--cielo-rock) !important;
}

.arcane-skin #nav-more #lbLevelName.text-yellow {
    color: #b45309 !important;
    font-weight: 800;
}

.arcane-skin #nav-more h6.text-yellow {
    color: var(--cielo-sky-ink) !important;
    font-weight: 800;
    letter-spacing: 0.03em;
    margin-bottom: 8px;
}

.arcane-skin #nav-more #lbSfxVolume {
    display: inline-block;
    margin-top: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--cielo-glass-border);
    color: var(--cielo-sky-ink) !important;
    font-weight: 700;
}

.arcane-skin #nav-more .level-slider.arcane-mini-slider,
.arcane-skin #nav-more .sound-prefs.arcane-mini-slider {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding: 10px 12px;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #e0f2fe 100%);
    border: 1px solid rgba(2, 132, 199, 0.35);
    border-radius: 14px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 2px 10px rgba(14, 116, 144, 0.08);
}

.arcane-skin #nav-more .level-slider .level-chip,
.arcane-skin #nav-more .sound-prefs .condimento-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
    opacity: 1 !important;
    filter: none !important;
    min-height: 40px;
    padding: 10px 14px !important;
    font-size: 0.7rem !important;
    color: var(--cielo-sky-ink) !important;
    background: linear-gradient(180deg, #fff 0%, var(--cielo-sky-100) 100%) !important;
    border: 1px solid rgba(2, 132, 199, 0.38) !important;
    border-radius: 999px !important;
    box-shadow: 0 2px 6px rgba(14, 116, 144, 0.1) !important;
}

.arcane-skin #nav-more .sound-prefs .condimento-chip.condimento-on,
.arcane-skin #nav-more .level-slider .level-chip.level-chip-on {
    color: #fff !important;
    background: linear-gradient(135deg, var(--cielo-sky-400) 0%, #0284c7 100%) !important;
    border-color: #0369a1 !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.32) !important;
}

.arcane-skin #nav-more .sound-prefs .condimento-chip:not(.condimento-on):hover,
.arcane-skin #nav-more .level-slider .level-chip:not(.level-chip-on):hover {
    color: var(--cielo-sash) !important;
    border-color: var(--cielo-sun) !important;
    background: linear-gradient(180deg, #fff 0%, var(--cielo-parchment) 100%) !important;
}

.arcane-skin #nav-more #btnFacilitator,
.arcane-skin #nav-more #btnToggleLiteUi {
    opacity: 1 !important;
    filter: none !important;
    margin-top: 8px;
}

.arcane-skin #nav-more #btnFacilitator.condimento-on,
.arcane-skin #nav-more #btnToggleLiteUi.condimento-on {
    color: #fff !important;
    background: linear-gradient(135deg, var(--cielo-sky-400) 0%, #0284c7 100%) !important;
}