/* ==========================================================================
   Antistress Suite - 20 Relax Games & Mini Angry Birds CSS Design System
   ========================================================================== */

:root {
    --as-bg: #0a151d;
    --as-card-bg: rgba(15, 33, 44, 0.85);
    --as-border: rgba(45, 212, 191, 0.2);
    --as-teal: #2dd4bf;
    --as-cyan: #38bdf8;
    --as-coral: #fb7185;
    --as-amber: #fbbf24;
    --as-purple: #c084fc;
    --as-text: #f1f5f9;
    --as-text-muted: #94a3b8;
    --as-font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.antistress-app {
    max-width: 1360px;
    margin: 0 auto;
    padding: 1rem;
    font-family: var(--as-font);
    color: var(--as-text);
    background: radial-gradient(circle at 50% 15%, #132a3a 0%, var(--as-bg) 85%);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    user-select: none;
}

/* -------------------------------------------------------------
   Header & Quick Nav Bar
   ------------------------------------------------------------- */
.as-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--as-card-bg);
    border: 1px solid var(--as-border);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    margin-bottom: 1.25rem;
}

.as-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.as-logo-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.2), rgba(56, 189, 248, 0.2));
    border: 1.5px solid var(--as-teal);
    border-radius: 12px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(45, 212, 191, 0.25);
}

.as-tagline {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--as-teal);
    display: block;
}

.as-title {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
}

.accent-zen {
    background: linear-gradient(135deg, var(--as-teal) 0%, var(--as-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Quick Nav Ribbon */
.as-quick-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 580px;
    overflow-x: auto;
    padding: 4px 2px;
    scrollbar-width: thin;
}

.as-quick-nav::-webkit-scrollbar {
    height: 4px;
}
.as-quick-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.as-pill-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--as-text-muted);
    font-family: var(--as-font);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 9999px;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.as-pill-btn:hover {
    background: rgba(45, 212, 191, 0.15);
    color: #fff;
    border-color: var(--as-teal);
}

.as-pill-btn.active {
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.3), rgba(56, 189, 248, 0.3));
    color: var(--as-teal);
    border-color: var(--as-teal);
    box-shadow: 0 0 10px rgba(45, 212, 191, 0.3);
}

/* Header Actions */
.as-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.as-btn-icon {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--as-text);
    font-family: var(--as-font);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.as-btn-icon:hover {
    background: rgba(45, 212, 191, 0.2);
    border-color: var(--as-teal);
}

/* -------------------------------------------------------------
   Toy Stage & Viewport
   ------------------------------------------------------------- */
.as-stage {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.as-toy-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--as-card-bg);
    border: 1px solid var(--as-border);
    border-radius: 14px;
    padding: 0.85rem 1.25rem;
}

.as-toy-badge {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--as-cyan);
    display: block;
    margin-bottom: 2px;
}

.as-toy-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.as-toy-desc {
    margin: 3px 0 0;
    font-size: 0.82rem;
    color: var(--as-text-muted);
}

.as-toy-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.as-tool-btn {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--as-text);
    font-family: var(--as-font);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 7px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.as-tool-btn:hover {
    background: rgba(45, 212, 191, 0.25);
    border-color: var(--as-teal);
    color: #fff;
    transform: translateY(-1px);
}

.as-tool-btn.btn-primary {
    background: linear-gradient(135deg, #2dd4bf 0%, #0284c7 100%);
    color: #042f2e;
    border: none;
    font-weight: 800;
}
.as-tool-btn.btn-primary:hover {
    filter: brightness(1.1);
}

/* -------------------------------------------------------------
   Arena & Canvas / DOM Viewport
   ------------------------------------------------------------- */
.as-arena {
    position: relative;
    width: 100%;
    min-height: 540px;
    background: #081118;
    border: 2px solid var(--as-border);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
}

#antistressCanvas {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 600px;
    touch-action: none;
    cursor: grab;
}
#antistressCanvas:active {
    cursor: grabbing;
}

.as-dom-stage {
    position: absolute;
    inset: 0;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* -------------------------------------------------------------
   Pluriball (Bubble Wrap) Styles
   ------------------------------------------------------------- */
.bubble-wrap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
    gap: 8px;
    width: 100%;
    max-width: 800px;
    padding: 1rem;
}

.bubble-wrap-item {
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.5) 0%, rgba(56, 189, 248, 0.25) 40%, rgba(14, 116, 144, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bubble-wrap-item:hover {
    transform: scale(1.08);
}

.bubble-wrap-item.popped {
    background: radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.6) 0%, rgba(30, 41, 59, 0.2) 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8);
    transform: scale(0.92);
}

/* -------------------------------------------------------------
   Pop It Fidget Board
   ------------------------------------------------------------- */
.pop-it-board {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    background: #1e293b;
    padding: 1.5rem;
    border-radius: 24px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 40px rgba(0,0,0,0.6);
}

.pop-it-bubble {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 6px 12px rgba(0,0,0,0.4), inset 0 -4px 6px rgba(0,0,0,0.3);
    transition: all 0.15s;
}

.pop-it-bubble.popped {
    transform: scale(0.9);
    box-shadow: inset 0 4px 8px rgba(0,0,0,0.7);
    filter: brightness(0.75);
}

/* -------------------------------------------------------------
   Fidget Cube & Switches
   ------------------------------------------------------------- */
.fidget-switches-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    max-width: 700px;
}

.fidget-toggle-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-switch-input {
    width: 64px;
    height: 36px;
    border-radius: 9999px;
    background: #334155;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
}
.toggle-switch-input.on {
    background: var(--as-teal);
    box-shadow: 0 0 15px rgba(45, 212, 191, 0.5);
}

.toggle-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 4px;
    left: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.toggle-switch-input.on .toggle-thumb {
    transform: translateX(28px);
}

/* Mechanical Keyboard ASMR */
.keyboard-asmr-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.keyboard-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #0f172a;
    padding: 1.5rem;
    border-radius: 18px;
    border: 2px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.keyboard-row {
    display: flex;
    gap: 8px;
}

.keycap {
    width: 46px;
    height: 46px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 0 #020617, 0 6px 10px rgba(0,0,0,0.5);
    cursor: pointer;
    transition: all 0.08s;
}

.keycap:hover {
    border-color: var(--as-cyan);
    color: var(--as-cyan);
}

.keycap.pressed {
    transform: translateY(4px);
    box-shadow: 0 0 0 #020617;
    background: var(--as-cyan);
    color: #020617;
}

/* -------------------------------------------------------------
   Catalog Modal / Drawer (20 Toys)
   ------------------------------------------------------------- */
.as-catalog-drawer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.as-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
}

.as-drawer-content {
    position: relative;
    background: #0d1e28;
    border: 2px solid var(--as-teal);
    border-radius: 20px;
    width: 100%;
    max-width: 960px;
    max-height: 88vh;
    overflow-y: auto;
    padding: 1.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    z-index: 10;
    animation: drawerIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes drawerIn {
    0% { opacity: 0; transform: scale(0.95) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.as-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.25rem;
}

.as-drawer-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--as-teal);
    display: flex;
    align-items: center;
    gap: 8px;
}

.as-drawer-close {
    background: transparent;
    border: none;
    color: var(--as-text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}
.as-drawer-close:hover {
    color: #fff;
}

.as-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.as-card-toy {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    transition: all 0.2s;
}

.as-card-toy:hover {
    background: rgba(45, 212, 191, 0.12);
    border-color: var(--as-teal);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.as-card-toy.active {
    border-color: var(--as-teal);
    background: rgba(45, 212, 191, 0.2);
    box-shadow: 0 0 15px rgba(45, 212, 191, 0.3);
}

.as-card-icon {
    font-size: 2.2rem;
    margin-bottom: 2px;
}

.as-card-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
}

.as-card-tag {
    font-size: 0.72rem;
    color: var(--as-cyan);
    font-weight: 600;
}

/* -------------------------------------------------------------
   Modals: 200 Livelli & Bestiario 100 Personaggi
   ------------------------------------------------------------- */
.as-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 8, 14, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: asFadeIn 0.2s ease-out;
}

@keyframes asFadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.as-modal-container {
    background: #0d1b26;
    border: 1px solid rgba(45, 212, 191, 0.28);
    border-radius: 20px;
    width: 100%;
    max-width: 1120px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(45, 212, 191, 0.15);
    overflow: hidden;
}

.as-modal-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(15, 33, 44, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.as-modal-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.as-modal-icon {
    font-size: 2.2rem;
}

.as-modal-title h3 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
}

.as-modal-subtitle {
    margin: 2px 0 0;
    font-size: 0.82rem;
    color: var(--as-text-muted);
}

.as-modal-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.as-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 6px 12px;
}

.as-search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: inherit;
    font-size: 0.85rem;
    width: 170px;
}

.as-search-box input::placeholder {
    color: #64748b;
}

.as-modal-close {
    background: transparent;
    border: none;
    color: var(--as-text-muted);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: color 0.15s;
}

.as-modal-close:hover {
    color: #fff;
}

/* Chapter Tabs */
.as-chapter-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.85rem 1.5rem;
    background: rgba(7, 16, 23, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow-x: auto;
    scrollbar-width: thin;
}

.as-chap-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--as-text-muted);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.as-chap-btn:hover {
    background: rgba(45, 212, 191, 0.15);
    color: #fff;
    border-color: var(--as-teal);
}

.as-chap-btn.active {
    background: linear-gradient(135deg, var(--as-teal) 0%, var(--as-cyan) 100%);
    color: #042027;
    border-color: transparent;
    box-shadow: 0 0 15px rgba(45, 212, 191, 0.4);
}

/* Chapter Lore Banner */
.as-chapter-banner {
    padding: 0.85rem 1.5rem;
    background: linear-gradient(90deg, rgba(45, 212, 191, 0.1) 0%, rgba(56, 189, 248, 0.03) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.as-chap-banner-info h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
}

.as-chap-banner-info p {
    margin: 2px 0 0;
    font-size: 0.78rem;
    color: #94a3b8;
}

.as-chap-tag {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Levels Grid (200 levels) */
.as-levels-grid {
    padding: 1.25rem 1.5rem;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
    flex: 1;
}

.as-level-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
    position: relative;
    user-select: none;
}

.as-level-card:hover {
    background: rgba(45, 212, 191, 0.1);
    border-color: var(--as-teal);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.as-level-card.current {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.12);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

.as-level-card.boss {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
}

.as-level-card.boss:hover {
    background: rgba(239, 68, 68, 0.18);
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.35);
}

.as-level-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.as-lvl-num {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
}

.as-lvl-boss-badge {
    font-size: 0.7rem;
    font-weight: 800;
    background: #ef4444;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
}

.as-lvl-title {
    font-size: 0.78rem;
    color: #cbd5e1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.as-lvl-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 4px;
}

.as-lvl-stars {
    color: #eab308;
    letter-spacing: 2px;
}

/* Bestiary & 100 Characters Styles */
.as-bestiary-tabs {
    display: flex;
    gap: 6px;
}

.as-tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.as-tab-btn.active {
    background: var(--as-teal);
    color: #042027;
    border-color: var(--as-teal);
}

.as-bestiary-grid {
    padding: 1.5rem;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    flex: 1;
}

.as-char-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.2s;
}

.as-char-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(45, 212, 191, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.as-char-card.selected-bird {
    border-color: var(--as-teal);
    background: rgba(45, 212, 191, 0.1);
    box-shadow: 0 0 18px rgba(45, 212, 191, 0.25);
}

.as-char-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.as-char-preview {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.as-char-meta h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.as-char-title {
    font-size: 0.72rem;
    color: var(--as-cyan);
    font-weight: 600;
}

.as-char-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    font-size: 0.72rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 6px 10px;
    border-radius: 8px;
}

.as-stat-item {
    display: flex;
    justify-content: space-between;
    color: #cbd5e1;
}

.as-stat-val {
    font-weight: 800;
    color: #facc15;
}

.as-char-power {
    font-size: 0.74rem;
    color: #e2e8f0;
    background: rgba(45, 212, 191, 0.08);
    border-left: 3px solid var(--as-teal);
    padding: 5px 8px;
    border-radius: 4px;
}

.as-char-lore {
    font-size: 0.72rem;
    color: #94a3b8;
    font-style: italic;
    line-height: 1.35;
}

.as-char-btn {
    margin-top: auto;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.as-char-btn:hover {
    background: var(--as-teal);
    color: #042027;
    border-color: var(--as-teal);
}

.as-char-btn.active {
    background: var(--as-teal);
    color: #042027;
    font-weight: 800;
    pointer-events: none;
}


/* -------------------------------------------------------------
   Mobile Responsiveness
   ------------------------------------------------------------- */
@media (max-width: 768px) {
    .as-header {
        flex-direction: column;
        align-items: stretch;
    }
    .as-quick-nav {
        max-width: 100%;
    }
    .as-toy-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .as-arena {
        min-height: 420px;
    }
    .btn-text-hide {
        display: none;
    }
}
