.MusicPlayer_container__ML_Q5{position:fixed;right:0;z-index:1000}.MusicPlayer_container__ML_Q5,.MusicPlayer_toggleTab__XS6nj{top:50%;transform:translateY(-50%);display:flex;align-items:center}.MusicPlayer_toggleTab__XS6nj{position:absolute;right:100%;width:40px;height:80px;background:linear-gradient(135deg,var(--color-bg-secondary),var(--color-bg-card));border:2px solid var(--color-border);border-right:none;border-radius:8px 0 0 8px;cursor:pointer;justify-content:center;transition:all .2s ease;box-shadow:-4px 0 12px rgba(0,0,0,.3)}.MusicPlayer_toggleTab__XS6nj:hover{background:linear-gradient(135deg,var(--color-bg-hover),var(--color-bg-secondary));border-color:var(--color-text-accent)}.MusicPlayer_toggleIcon__LriHm{font-size:1.5rem;animation:MusicPlayer_pulse__ZlYgN 2s ease-in-out infinite}@keyframes MusicPlayer_pulse__ZlYgN{0%,to{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.1)}}.MusicPlayer_panel__obWvz{width:280px;background:linear-gradient(180deg,var(--color-bg-secondary),var(--color-bg-card));border:2px solid var(--color-border);border-right:none;border-radius:12px 0 0 12px;padding:var(--space-md);box-shadow:-8px 0 24px rgba(0,0,0,.4);display:flex;flex-direction:column;gap:var(--space-md);max-height:80vh;overflow-y:auto}.MusicPlayer_header__jM3gR{display:flex;justify-content:space-between;align-items:center}.MusicPlayer_title__RbPGY{font-family:var(--font-display)!important;font-size:1.25rem;color:var(--color-text-accent);margin:0}.MusicPlayer_closeButton__64XqE{background:none;border:none;color:var(--color-text-secondary);font-size:1.25rem;cursor:pointer;padding:4px 8px;border-radius:4px;transition:all .2s ease}.MusicPlayer_closeButton__64XqE:hover{color:var(--color-text-primary);background:var(--color-bg-hover)}.MusicPlayer_nowPlaying__gii_S{background:var(--color-bg-card);border-radius:var(--radius-md);padding:var(--space-sm) var(--space-md);text-align:center;border:1px solid var(--color-border)}.MusicPlayer_nowPlayingLabel__fC4Xy{display:block;font-size:.75rem;color:var(--color-text-secondary);text-transform:uppercase;letter-spacing:.1em;margin-bottom:4px}.MusicPlayer_trackName__ndgSa{display:block;font-family:var(--font-display)!important;font-size:1.1rem;color:var(--color-text-accent);animation:MusicPlayer_glow__jldAX 2s ease-in-out infinite}@keyframes MusicPlayer_glow__jldAX{0%,to{text-shadow:0 0 8px rgba(212,163,86,.3)}50%{text-shadow:0 0 16px rgba(212,163,86,.6)}}.MusicPlayer_controls__kU5Vv{display:flex;justify-content:center;align-items:center;gap:var(--space-md)}.MusicPlayer_controlButton__cBuZd{width:44px;height:44px;border-radius:50%;background:var(--color-bg-card);border:2px solid var(--color-border);color:var(--color-text-primary);font-size:1.25rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.MusicPlayer_controlButton__cBuZd:hover:not(:disabled){background:var(--color-bg-hover);border-color:var(--color-text-accent);transform:scale(1.1)}.MusicPlayer_controlButton__cBuZd:disabled{opacity:.5;cursor:not-allowed}.MusicPlayer_playButton__7p2Wd{width:56px;height:56px;font-size:1.5rem;background:linear-gradient(135deg,var(--color-text-accent),#b8893a);border-color:var(--color-text-accent);color:var(--color-bg-primary)}.MusicPlayer_playButton__7p2Wd:hover:not(:disabled){background:linear-gradient(135deg,#e0b866,var(--color-text-accent));box-shadow:0 0 20px rgba(212,163,86,.5)}.MusicPlayer_volumeSection__bVv_P{display:flex;align-items:center;gap:var(--space-sm);padding:var(--space-sm);background:var(--color-bg-card);border-radius:var(--radius-md);border:1px solid var(--color-border)}.MusicPlayer_muteButton__XFEDv{background:none;border:none;font-size:1.25rem;cursor:pointer;padding:4px;border-radius:4px;transition:all .2s ease}.MusicPlayer_muteButton__XFEDv:hover{background:var(--color-bg-hover)}.MusicPlayer_volumeSlider__hlDOY{flex:1 1;height:6px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--color-border);border-radius:3px;outline:none;cursor:pointer}.MusicPlayer_volumeSlider__hlDOY::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:16px;height:16px;border-radius:50%;background:var(--color-text-accent);cursor:pointer;-webkit-transition:transform .2s ease;transition:transform .2s ease}.MusicPlayer_volumeSlider__hlDOY::-webkit-slider-thumb:hover{transform:scale(1.2)}.MusicPlayer_volumeSlider__hlDOY::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:var(--color-text-accent);cursor:pointer;border:none}.MusicPlayer_volumePercent__6C1HU{font-size:.85rem;color:var(--color-text-secondary);min-width:36px;text-align:right}.MusicPlayer_trackList__d9LNl{display:flex;flex-direction:column;gap:var(--space-sm)}.MusicPlayer_trackListLabel__INaZS{font-size:.75rem;color:var(--color-text-secondary);text-transform:uppercase;letter-spacing:.1em}.MusicPlayer_tracks__N_AAj{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:var(--space-xs);gap:var(--space-xs)}.MusicPlayer_trackButton__9pDQ0{padding:var(--space-sm);background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-sm);color:var(--color-text-primary);font-size:.85rem;cursor:pointer;transition:all .2s ease;text-align:center}.MusicPlayer_trackButton__9pDQ0:hover{background:var(--color-bg-hover);border-color:var(--color-text-accent)}.MusicPlayer_trackButton__9pDQ0.MusicPlayer_active__P0vlm{background:linear-gradient(135deg,rgba(212,163,86,.2),rgba(212,163,86,.1));border-color:var(--color-text-accent);color:var(--color-text-accent);box-shadow:0 0 12px rgba(212,163,86,.3)}.MusicPlayer_toggles__kVVjj{display:flex;flex-direction:column;gap:var(--space-sm);padding-top:var(--space-sm);border-top:1px solid var(--color-border)}.MusicPlayer_toggleItem__vlWpP{display:flex;justify-content:space-between;align-items:center;cursor:pointer;padding:var(--space-xs) 0}.MusicPlayer_toggleItem__vlWpP span:first-child{font-size:.9rem;color:var(--color-text-primary)}.MusicPlayer_toggleItem__vlWpP input{display:none}.MusicPlayer_toggleSlider__6NCsj{position:relative;width:44px;height:24px;background:var(--color-border);border-radius:12px;transition:all .3s ease}.MusicPlayer_toggleSlider__6NCsj:after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;background:var(--color-text-secondary);border-radius:50%;transition:all .3s ease}.MusicPlayer_toggleItem__vlWpP input:checked+.MusicPlayer_toggleSlider__6NCsj{background:var(--color-text-accent)}.MusicPlayer_toggleItem__vlWpP input:checked+.MusicPlayer_toggleSlider__6NCsj:after{left:22px;background:var(--color-bg-primary)}@media (max-width:600px){.MusicPlayer_panel__obWvz{width:260px;padding:var(--space-sm);gap:var(--space-sm)}.MusicPlayer_toggleTab__XS6nj{width:36px;height:70px}.MusicPlayer_toggleIcon__LriHm{font-size:1.25rem}.MusicPlayer_controlButton__cBuZd{width:40px;height:40px;font-size:1rem}.MusicPlayer_playButton__7p2Wd{width:50px;height:50px;font-size:1.25rem}.MusicPlayer_tracks__N_AAj{grid-template-columns:1fr}}@media (max-height:500px){.MusicPlayer_container__ML_Q5{top:10px;transform:none}.MusicPlayer_panel__obWvz{max-height:calc(100vh - 20px);padding:var(--space-sm);gap:var(--space-xs)}.MusicPlayer_nowPlaying__gii_S{padding:var(--space-xs) var(--space-sm)}.MusicPlayer_controls__kU5Vv{gap:var(--space-sm)}.MusicPlayer_controlButton__cBuZd{width:36px;height:36px}.MusicPlayer_playButton__7p2Wd{width:44px;height:44px}}@font-face{font-family:__Cinzel_a5db66;font-style:normal;font-weight:400 900;font-display:swap;src:url(/_next/static/media/b497598118275079-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Cinzel_a5db66;font-style:normal;font-weight:400 900;font-display:swap;src:url(/_next/static/media/a273567b21a7c318-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Cinzel_Fallback_a5db66;src:local("Times New Roman");ascent-override:71.31%;descent-override:27.18%;line-gap-override:0.00%;size-adjust:136.86%}.__className_a5db66{font-family:__Cinzel_a5db66,__Cinzel_Fallback_a5db66;font-style:normal}.__variable_a5db66{--font-cinzel:"__Cinzel_a5db66","__Cinzel_Fallback_a5db66"}@font-face{font-family:__Caesar_Dressing_9acc76;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/0428a11c278c7433-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Caesar_Dressing_Fallback_9acc76;src:local("Arial");ascent-override:99.64%;descent-override:22.14%;line-gap-override:0.00%;size-adjust:99.67%}.__className_9acc76{font-family:__Caesar_Dressing_9acc76,__Caesar_Dressing_Fallback_9acc76;font-weight:400;font-style:normal}.__variable_9acc76{--font-caesar-dressing:"__Caesar_Dressing_9acc76","__Caesar_Dressing_Fallback_9acc76"}@font-face{font-family:__Uncial_Antiqua_54c213;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/a23c1b706790ef5e-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Uncial_Antiqua_54c213;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/1021421c10e6f6d8-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Uncial_Antiqua_Fallback_54c213;src:local("Arial");ascent-override:76.93%;descent-override:25.76%;line-gap-override:0.00%;size-adjust:128.15%}.__className_54c213{font-family:__Uncial_Antiqua_54c213,__Uncial_Antiqua_Fallback_54c213;font-weight:400;font-style:normal}.__variable_54c213{--font-uncial-antiqua:"__Uncial_Antiqua_54c213","__Uncial_Antiqua_Fallback_54c213"}@font-face{font-family:__MedievalSharp_8a663c;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/36104f0776a8b0d0-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__MedievalSharp_8a663c;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/57adc51136f23aee-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__MedievalSharp_Fallback_8a663c;src:local("Arial");ascent-override:83.37%;descent-override:25.56%;line-gap-override:0.00%;size-adjust:103.72%}.__className_8a663c{font-family:__MedievalSharp_8a663c,__MedievalSharp_Fallback_8a663c;font-weight:400;font-style:normal}.__variable_8a663c{--font-medieval-sharp:"__MedievalSharp_8a663c","__MedievalSharp_Fallback_8a663c"}[data-theme=holocene]{--theme-bg-primary:#1a1612;--theme-bg-secondary:#2a231c;--theme-bg-card:#15120e;--theme-bg-hover:#3a3028;--theme-text-primary:#f0ebe0;--theme-text-secondary:#9b8b7a;--theme-text-accent:#d4a356;--theme-border:#4a3f32;--theme-border-hover:#6b5a48;--theme-success:#5a8b4a;--theme-error:#c45a4a;--theme-warning:#c9943a;--theme-shadow-card:0 4px 8px rgba(0,0,0,.5);--theme-shadow-card-hover:0 8px 16px rgba(0,0,0,.7);--theme-shadow-glow:0 0 20px rgba(212,163,86,.4);--theme-btn-primary-bg:linear-gradient(135deg,#5a4020,#8b6b3a);--theme-btn-primary-border:#a58045;--theme-btn-primary-hover-bg:linear-gradient(135deg,#6b5030,#9b7b4a);--theme-btn-secondary-bg:var(--theme-bg-secondary);--theme-btn-secondary-border:var(--theme-border);--theme-btn-clip-path:none;--theme-neon-cyan:#5a9b8b;--theme-neon-magenta:#9b5a7a;--theme-plasma-blue:#4a8b9b;--theme-energy-glow:#7a9b6a;--theme-gradient-holographic:linear-gradient(135deg,rgba(212,163,86,.15),rgba(107,77,130,.1),rgba(90,127,74,.15));--theme-glow-power-low:0 0 8px rgba(196,90,74,.4);--theme-glow-power-medium:0 0 12px rgba(90,155,139,.5);--theme-glow-power-high:0 0 16px rgba(212,163,86,.6);--theme-has-texture:0;--theme-has-torch-glow:0;--theme-has-hand-prints:0;--theme-panel-bg:linear-gradient(135deg,#1a1612,#0f0d0a);--theme-panel-shadow:0 0 40px rgba(212,163,86,.15);--theme-panel-glow:rgba(212,163,86,.2);--theme-board-bg:linear-gradient(180deg,#0f0d0a,#1a1612 50%,#0f0d0a);--theme-status-bar-bg:linear-gradient(180deg,rgba(26,22,18,.95),rgba(15,13,10,.9));--theme-hand-bg:linear-gradient(180deg,rgba(26,22,18,.95),#0f0d0a);--theme-badge-gold:linear-gradient(135deg,#b8860b,#daa520);--theme-badge-purple:linear-gradient(135deg,#4a0080,#7b00b3);--theme-badge-spectator:linear-gradient(135deg,#9b59b6,#673ab7)}[data-theme=tribal]{--theme-bg-primary:#2a2319;--theme-bg-secondary:#4a3d2e;--theme-bg-card:#1a1815;--theme-bg-hover:#6b5b48;--theme-text-primary:#e8dcc8;--theme-text-secondary:#b8a898;--theme-text-accent:#c4843c;--theme-border:#6b5b48;--theme-border-hover:#c4843c;--theme-success:#5a8b4a;--theme-error:#8b3a2f;--theme-warning:#c4843c;--theme-shadow-card:0 4px 8px rgba(0,0,0,.6);--theme-shadow-card-hover:0 8px 20px rgba(0,0,0,.8);--theme-shadow-glow:0 0 30px rgba(196,132,60,.3);--theme-ochre:#c4843c;--theme-ochre-light:#d9a860;--theme-red-oxide:#8b3a2f;--theme-red-oxide-dark:#5c2820;--theme-burnt-umber:#5c3c28;--theme-ash:#3a3530;--theme-btn-primary-bg:linear-gradient(135deg,#c4843c,#d9a860 50%,#c4843c);--theme-btn-primary-border:transparent;--theme-btn-primary-hover-bg:linear-gradient(135deg,#d9a860,#e8b870 50%,#d9a860);--theme-btn-primary-text:#1a1815;--theme-btn-secondary-bg:linear-gradient(180deg,#8b3a2f,#5c2820);--theme-btn-secondary-border:#8b3a2f;--theme-btn-clip-path:polygon(5% 0%,95% 5%,100% 95%,3% 100%);--theme-neon-cyan:#5a9b8b;--theme-neon-magenta:#9b5a7a;--theme-plasma-blue:#4a8b9b;--theme-energy-glow:#c4843c;--theme-gradient-holographic:linear-gradient(135deg,rgba(196,132,60,.2),rgba(139,58,47,.15),rgba(217,168,96,.2));--theme-glow-power-low:0 0 8px rgba(139,58,47,.4);--theme-glow-power-medium:0 0 12px rgba(196,132,60,.5);--theme-glow-power-high:0 0 16px rgba(217,168,96,.6);--theme-has-texture:1;--theme-has-torch-glow:1;--theme-has-hand-prints:1;--theme-texture-opacity:0.06;--theme-section-bg:linear-gradient(135deg,rgba(42,35,25,.4),rgba(26,24,21,.5));--theme-section-border:2px solid #6b5b48;--theme-section-top-accent:linear-gradient(90deg,transparent,#c4843c,#8b3a2f,#c4843c,transparent);--theme-panel-bg:linear-gradient(135deg,#2a2319,#1a1815);--theme-panel-shadow:0 0 40px rgba(196,132,60,.2);--theme-panel-glow:rgba(196,132,60,.25);--theme-board-bg:linear-gradient(180deg,#1a1815,#2a2319 50%,#1a1815);--theme-status-bar-bg:linear-gradient(180deg,rgba(42,35,25,.95),rgba(26,24,21,.9));--theme-hand-bg:linear-gradient(180deg,rgba(42,35,25,.95),#1a1815);--theme-badge-gold:linear-gradient(135deg,#c4843c,#d9a860);--theme-badge-purple:linear-gradient(135deg,#8b3a2f,#5c2820);--theme-badge-spectator:linear-gradient(135deg,#8b3a2f,#6b4d3a)}[data-theme=tribal] body:before{background:radial-gradient(ellipse at 15% 20%,rgba(107,91,72,.35) 0,transparent 45%),radial-gradient(ellipse at 85% 25%,rgba(92,60,40,.25) 0,transparent 40%),radial-gradient(ellipse at 75% 75%,rgba(74,61,46,.4) 0,transparent 45%),radial-gradient(ellipse at 25% 80%,rgba(58,53,48,.35) 0,transparent 40%);z-index:1}[data-theme=tribal] body:after,[data-theme=tribal] body:before{content:"";position:fixed;top:0;left:0;width:100%;height:100%;pointer-events:none}[data-theme=tribal] body:after{background:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.85' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");opacity:var(--theme-texture-opacity,.06);z-index:2}@keyframes torch-flicker{0%,to{opacity:.8;transform:scale(1)}50%{opacity:1;transform:scale(1.05)}}@keyframes dot-pulse{0%,to{opacity:.25;transform:scale(1)}50%{opacity:1;transform:scale(1.6)}}[data-theme=tribal] .btn-primary{background:var(--theme-btn-primary-bg);border:none;color:var(--theme-btn-primary-text,#1a1815);-webkit-clip-path:var(--theme-btn-clip-path);clip-path:var(--theme-btn-clip-path);letter-spacing:.1em}[data-theme=tribal] .btn-primary:hover{background:var(--theme-btn-primary-hover-bg);transform:translateY(-3px) rotate(-1deg);box-shadow:0 8px 25px rgba(196,132,60,.4)}[data-theme=tribal] .btn-secondary{background:var(--theme-btn-secondary-bg);border:2px solid var(--theme-btn-secondary-border);color:var(--theme-text-primary)}[data-theme=tribal] .btn-secondary:hover{border-color:var(--theme-ochre);transform:translateY(-2px);box-shadow:0 6px 20px rgba(139,58,47,.4)}[data-theme=tribal] .cave-section{background:var(--theme-section-bg);border:var(--theme-section-border);position:relative}[data-theme=tribal] .cave-section:before{content:"";position:absolute;top:-2px;left:15%;right:15%;height:4px;background:var(--theme-section-top-accent)}[data-theme=tribal] .divider-tribal{display:flex;align-items:center;justify-content:center;gap:20px;margin:40px 0}[data-theme=tribal] .divider-line{flex:1 1;max-width:150px;height:2px;background:linear-gradient(90deg,transparent,var(--theme-ochre),transparent)}[data-theme=tribal] .divider-symbol{font-size:1.5rem;color:var(--theme-red-oxide)}[data-theme=tribal] .alert-ochre{background:rgba(196,132,60,.15);border-left:5px solid var(--theme-ochre)}[data-theme=tribal] .alert-oxide{background:rgba(139,58,47,.15);border-left:5px solid var(--theme-red-oxide)}[data-theme=tribal] input,[data-theme=tribal] select,[data-theme=tribal] textarea{background:rgba(26,24,21,.7);border:2px solid var(--theme-border);color:var(--theme-text-primary)}[data-theme=tribal] input:focus,[data-theme=tribal] select:focus,[data-theme=tribal] textarea:focus{border-color:var(--theme-ochre);box-shadow:0 0 15px rgba(196,132,60,.25);outline:none}[data-theme=tribal] .bar-progress-fill{background:linear-gradient(90deg,var(--theme-red-oxide),var(--theme-ochre),var(--theme-ochre-light))}[data-theme=tribal] input[type=range]{background:var(--theme-bg-secondary);border:2px solid var(--theme-border)}[data-theme=tribal] input[type=range]::-webkit-slider-thumb{background:var(--theme-ochre);-webkit-clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);width:24px;height:24px;border:none;cursor:pointer}[data-theme=tribal] .menuButton{background:var(--theme-bg-secondary);border:2px solid var(--theme-border);color:var(--theme-text-primary);transition:all .3s ease}[data-theme=tribal] .menuButton:hover:not(:disabled){background:var(--theme-bg-hover);border-color:var(--theme-ochre);transform:translateY(-3px);box-shadow:0 6px 20px rgba(0,0,0,.3)}[data-theme=tribal] .menuButton.primary{background:linear-gradient(135deg,var(--theme-ochre) 0,var(--theme-ochre-light) 50%,var(--theme-ochre) 100%);border:none;color:var(--theme-bg-card);-webkit-clip-path:polygon(5% 0,95% 5%,100% 95%,3% 100%);clip-path:polygon(5% 0,95% 5%,100% 95%,3% 100%);font-weight:600}[data-theme=tribal] .menuButton.primary:hover:not(:disabled){background:linear-gradient(135deg,var(--theme-ochre-light) 0,#e8b870 50%,var(--theme-ochre-light) 100%);transform:translateY(-3px) rotate(-1deg);box-shadow:0 8px 25px rgba(196,132,60,.4)}[data-theme=tribal] .menuButton.online{background:linear-gradient(180deg,var(--theme-red-oxide) 0,var(--theme-red-oxide-dark) 100%);border:2px solid var(--theme-red-oxide);color:var(--theme-text-primary)}[data-theme=tribal] .menuButton.online:hover:not(:disabled){border-color:var(--theme-ochre);box-shadow:0 6px 20px rgba(139,58,47,.4);transform:translateY(-2px)}[data-theme=tribal] .menuButton.tutorial{background:transparent;border:2px dashed var(--theme-text-secondary);color:var(--theme-text-primary)}[data-theme=tribal] .menuButton.tutorial:hover:not(:disabled){border-style:solid;border-color:var(--theme-text-primary);background:hsla(38,41%,85%,.1)}[data-theme=tribal] .newGameMenu{background:linear-gradient(135deg,rgba(42,35,25,.95),rgba(26,24,21,.98));border:3px solid var(--theme-border);position:relative}[data-theme=tribal] .newGameMenu:before{content:"";position:absolute;top:-3px;left:15%;right:15%;height:4px;background:linear-gradient(90deg,transparent,var(--theme-ochre),var(--theme-red-oxide),var(--theme-ochre),transparent)}[data-theme=tribal] .newGameMenu h2{color:var(--theme-ochre);text-shadow:2px 2px 0 var(--theme-bg-card);letter-spacing:.1em}[data-theme=tribal] .optionButton{background:rgba(26,24,21,.7);border:2px solid var(--theme-border);color:var(--theme-text-secondary)}[data-theme=tribal] .optionButton:hover{border-color:var(--theme-ochre);color:var(--theme-text-primary);background:rgba(196,132,60,.1)}[data-theme=tribal] .optionButton.selected{background:var(--theme-ochre);color:var(--theme-bg-card);border-color:var(--theme-ochre)}[data-theme=tribal] .slider{background:var(--theme-bg-secondary);border:2px solid var(--theme-border)}[data-theme=tribal] .slider::-webkit-slider-thumb{background:var(--theme-ochre);-webkit-clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);width:24px;height:24px}[data-theme=tribal] .slider::-moz-range-thumb{background:var(--theme-ochre);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);width:24px;height:24px;border:none}[data-theme=tribal] .title{color:var(--theme-ochre);text-shadow:4px 4px 0 var(--theme-bg-card),-2px -2px 0 var(--theme-red-oxide),0 0 30px rgba(196,132,60,.3)}[data-theme=tribal] .subtitle{color:var(--theme-text-secondary);letter-spacing:.3em}[data-theme=tribal] .themeLabel{color:var(--theme-ochre);border-color:var(--theme-ochre)}[data-theme=tribal] .alphaFlag{background:linear-gradient(135deg,var(--theme-red-oxide),var(--theme-red-oxide-dark))}@media (prefers-reduced-motion:reduce){[data-theme=tribal] body:after,[data-theme=tribal] body:before{animation:none}}@font-face{font-family:Cave-Stone;src:url(/font/Cave-Stone.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Stoneyard;src:url(/font/Stoneyard.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:AncientHellenic;src:url(/font/ancienthellenic-webfont.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Moria;src:url(/font/Moria_DF.TTF) format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:PR Viking;src:url(/font/PR\ Viking.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}body.font-cave-stone{--font-primary:"Cave-Stone",Impact,sans-serif;--font-body:"Cave-Stone",Impact,sans-serif;--font-display:"Cave-Stone",Impact,sans-serif;--font-title:"Cave-Stone",Impact,sans-serif}body.font-stoneyard{--font-primary:"Stoneyard",Georgia,serif;--font-body:"Stoneyard",Georgia,serif;--font-display:"Stoneyard",Georgia,serif;--font-title:"Stoneyard",Georgia,serif}body.font-ancient-hellenic{--font-primary:"AncientHellenic",Georgia,serif;--font-body:"AncientHellenic",Georgia,serif;--font-display:"AncientHellenic",Georgia,serif;--font-title:"AncientHellenic",Georgia,serif}body.font-cinzel{--font-primary:"Cinzel",Georgia,serif;--font-body:"Cinzel",Georgia,serif;--font-display:"Cinzel",Georgia,serif;--font-title:"Cinzel",Georgia,serif}body.font-caesar-dressing{--font-primary:"Caesar Dressing",Impact,cursive;--font-body:"Caesar Dressing",Impact,cursive;--font-display:"Caesar Dressing",Impact,cursive;--font-title:"Caesar Dressing",Impact,cursive}body.font-uncial-antiqua{--font-primary:"Uncial Antiqua",Georgia,cursive;--font-body:"Uncial Antiqua",Georgia,cursive;--font-display:"Uncial Antiqua",Georgia,cursive;--font-title:"Uncial Antiqua",Georgia,cursive}body.font-medieval-sharp{--font-primary:"MedievalSharp",Georgia,cursive;--font-body:"MedievalSharp",Georgia,cursive;--font-display:"MedievalSharp",Georgia,cursive;--font-title:"MedievalSharp",Georgia,cursive}body.font-moria{--font-primary:"Moria",Impact,fantasy;--font-body:"Moria",Impact,fantasy;--font-display:"Moria",Impact,fantasy;--font-title:"Moria",Impact,fantasy}body.font-pr-viking{--font-primary:"PR Viking",Impact,sans-serif;--font-body:"PR Viking",Impact,sans-serif;--font-display:"PR Viking",Impact,sans-serif;--font-title:"PR Viking",Impact,sans-serif}:root{--font-body:"Moria",Impact,sans-serif;--font-display:"Moria",Impact,sans-serif;--font-title:"Moria",Impact,sans-serif;--font-numbers:"Moria",Impact,sans-serif;--font-family:var(--font-body);--font-family-display:var(--font-display);--color-bg-primary:var(--theme-bg-primary,#1a1612);--color-bg-secondary:var(--theme-bg-secondary,#2a231c);--color-bg-card:var(--theme-bg-card,#15120e);--color-bg-hover:var(--theme-bg-hover,#3a3028);--color-text-primary:var(--theme-text-primary,#f0ebe0);--color-text-secondary:var(--theme-text-secondary,#9b8b7a);--color-text-accent:var(--theme-text-accent,#d4a356);--color-common:grey;--color-uncommon:#6b8c42;--color-rare:#4a7c9b;--color-epic:#8b6b9b;--color-legendary:#c9943a;--color-power:#c45a4a;--color-health:#5a8b4a;--color-mana:#4a7a9b;--color-gold:#d4a356;--color-player-1:#c45a4a;--color-player-2:#4a7a9b;--color-player-3:#5a8b4a;--color-player-4:#8b6b9b;--color-player-5:#c9943a;--color-player-6:#4a8b7a;--color-mercenary:#8b6b3a;--color-special:#6b4d82;--color-weather:#4a8b9b;--color-tactic:#5a7f4a;--color-border:var(--theme-border,#4a3f32);--color-border-hover:var(--theme-border-hover,#6b5a48);--color-success:var(--theme-success,#5a8b4a);--color-error:var(--theme-error,#c45a4a);--color-warning:var(--theme-warning,#c9943a);--shadow-card:var(--theme-shadow-card,0 4px 8px rgba(0,0,0,.5));--shadow-card-hover:var(--theme-shadow-card-hover,0 8px 16px rgba(0,0,0,.7));--shadow-glow:var(--theme-shadow-glow,0 0 20px rgba(212,163,86,.4));--color-panel-bg:var(--theme-panel-bg,linear-gradient(135deg,#1a1612 0%,#0f0d0a 100%));--color-panel-shadow:var(--theme-panel-shadow,0 0 40px rgba(212,163,86,.15));--color-panel-glow:var(--theme-panel-glow,rgba(212,163,86,.2));--color-board-bg:var(--theme-board-bg,linear-gradient(180deg,#0f0d0a 0%,#1a1612 50%,#0f0d0a 100%));--color-status-bar-bg:var(--theme-status-bar-bg,linear-gradient(180deg,rgba(26,22,18,.95),rgba(15,13,10,.9)));--color-hand-bg:var(--theme-hand-bg,linear-gradient(180deg,rgba(26,22,18,.95),#0f0d0a));--color-badge-gold:var(--theme-badge-gold,linear-gradient(135deg,#b8860b,#daa520));--color-badge-purple:var(--theme-badge-purple,linear-gradient(135deg,#4a0080,#7b00b3));--color-badge-spectator:var(--theme-badge-spectator,linear-gradient(135deg,#9b59b6,#673ab7));--space-xs:4px;--space-sm:8px;--space-md:16px;--space-lg:24px;--space-xl:32px;--radius-sm:4px;--radius-md:8px;--radius-lg:12px;--radius-card:10px;--card-width:120px;--card-height:168px;--card-width-sm:80px;--card-height-sm:112px;--card-width-lg:180px;--card-height-lg:252px;--card-width-micro:45px;--card-height-micro:63px;--card-width-xs:56px;--card-height-xs:78px;--color-sim-glow:#7a9b6a;--color-sim-pulse:#9b7a5a;--color-neon-cyan:var(--theme-neon-cyan,#5a9b8b);--color-neon-magenta:var(--theme-neon-magenta,#9b5a7a);--color-plasma-blue:var(--theme-plasma-blue,#4a8b9b);--color-energy-glow:var(--theme-energy-glow,#7a9b6a);--gradient-holographic:var(--theme-gradient-holographic,linear-gradient(135deg,rgba(212,163,86,.15),rgba(107,77,130,.1),rgba(90,127,74,.15)));--glow-power-low:var(--theme-glow-power-low,0 0 8px rgba(196,90,74,.4));--glow-power-medium:var(--theme-glow-power-medium,0 0 12px rgba(90,155,139,.5));--glow-power-high:var(--theme-glow-power-high,0 0 16px rgba(212,163,86,.6));--transition-fast:150ms ease;--transition-normal:250ms ease;--transition-slow:400ms ease}*,:after,:before{box-sizing:border-box;margin:0;padding:0}html{font-size:16px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}body{font-family:var(--font-body)!important;background:var(--color-bg-primary);min-height:100vh;min-height:100dvh;overflow-x:hidden}body,h1,h2,h3,h4,h5,h6{color:var(--color-text-primary)}h1,h2,h3,h4,h5,h6{font-family:var(--font-display)!important;font-weight:600;line-height:1.2}h1{font-size:2.5rem}h2{font-size:2rem}h3{font-size:1.5rem}h4{font-size:1.25rem}.game-title,.main-title{font-family:var(--font-title)!important;text-transform:uppercase;letter-spacing:.1em;color:var(--color-text-accent);text-shadow:0 0 30px rgba(212,163,86,.5),2px 2px 0 rgba(0,0,0,.8)}.card-name{font-family:var(--font-display)!important;text-transform:uppercase;letter-spacing:.02em}.card-stats,.power-value,.stat-value{font-family:var(--font-numbers)!important;letter-spacing:.05em}button,input,select,textarea{font-family:var(--font-body)!important}button{font-size:1rem;cursor:pointer;border:none;background:none}.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-sm);padding:var(--space-sm) var(--space-md);border-radius:var(--radius-md);font-weight:500;transition:all var(--transition-fast);font-family:var(--font-display)!important;text-transform:uppercase;letter-spacing:.05em}.btn-primary{background:linear-gradient(135deg,#5a4020,#8b6b3a);color:var(--color-text-primary);border:2px solid #a58045}.btn-primary:hover{background:linear-gradient(135deg,#6b5030,#9b7b4a);box-shadow:var(--shadow-glow)}.btn-secondary{background:var(--color-bg-secondary);color:var(--color-text-primary);border:2px solid var(--color-border)}.btn-secondary:hover{background:var(--color-bg-hover);border-color:var(--color-border-hover)}.btn-danger{background:linear-gradient(135deg,#6b2a20,#8b3a30);border:2px solid #a54a40}.btn-danger,.btn-success{color:var(--color-text-primary)}.btn-success{background:linear-gradient(135deg,#2a5a30,#3a7b40);border:2px solid #4a9b50}.btn:disabled{opacity:.5;cursor:not-allowed}.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-sm{gap:var(--space-sm)}.gap-md{gap:var(--space-md)}.gap-lg{gap:var(--space-lg)}.text-center{text-align:center}.text-accent{color:var(--color-text-accent)}.text-secondary{color:var(--color-text-secondary)}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--color-bg-secondary)}::-webkit-scrollbar-thumb{background:var(--color-border);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--color-border-hover)}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}@keyframes glow{0%,to{box-shadow:0 0 10px rgba(212,163,86,.3)}50%{box-shadow:0 0 20px rgba(212,163,86,.6)}}.animate-fadeIn{animation:fadeIn var(--transition-normal)}.animate-slideUp{animation:slideUp var(--transition-normal)}.animate-pulse{animation:pulse 2s infinite}.animate-glow{animation:glow 2s infinite}@keyframes ancientShimmer{0%,to{filter:hue-rotate(0deg)}50%{filter:hue-rotate(15deg)}}@keyframes holoBorderShift{0%,to{filter:hue-rotate(0deg)}50%{filter:hue-rotate(30deg)}}@keyframes powerPulse{0%,to{transform:scale(1);text-shadow:0 0 10px currentColor}50%{transform:scale(1.05);text-shadow:0 0 20px currentColor}}@keyframes energyFlow{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}.animate-ancient{animation:ancientShimmer 3s ease infinite}.animate-holo{animation:holoBorderShift 3s ease infinite}.animate-power-pulse{animation:powerPulse 1.5s ease infinite}@media (max-width:374px){:root{--card-width:60px;--card-height:84px;--card-width-sm:50px;--card-height-sm:70px;font-size:13px}h1{font-size:1.75rem}h2{font-size:1.5rem}h3{font-size:1.2rem}.game-title{font-size:1.5rem}}@media (min-width:375px) and (max-width:599px){:root{--card-width:70px;--card-height:98px;--card-width-sm:60px;--card-height-sm:84px;font-size:14px}h1{font-size:2rem}h2{font-size:1.75rem}h3{font-size:1.3rem}.game-title{font-size:1.75rem}}@media (max-width:900px) and (orientation:landscape){:root{--card-width:65px;--card-height:91px;--card-width-sm:55px;--card-height-sm:77px}h1{font-size:1.75rem}.game-title,h2{font-size:1.5rem}}@media (min-width:600px) and (max-width:1023px) and (orientation:portrait){:root{font-size:15px}}@media (min-width:1024px) and (max-width:1279px){:root{font-size:15px}}@media (min-width:1280px){:root{font-size:16px}}@media (hover:none) and (pointer:coarse){.btn{min-width:44px}.btn,button{min-height:44px}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}