@charset "UTF-8";:root{--bg: #0a1728;--surface: #0f2140;--card: #142a49;--card-hover: #1c375c;--border: rgba(227, 186, 212, .22);--primary: #e3bad4;--primary-dim: #cf9fbf;--on-primary: #13294b;--gold: #e8c547;--silver: #a8bccf;--bronze: #a07850;--accent: #f0d3e5;--danger: #d95f5f;--danger-dim: #b84040;--text: #eef3fa;--text-muted: #93a8c8;--radius: 14px;--radius-sm: 8px;--shadow: 0 4px 28px rgba(0, 0, 0, .55);--transition: .18s ease}:root.christmas-theme{--bg: #160d12;--surface: #24131a;--card: #321720;--card-hover: #49202a;--border: rgba(142, 196, 145, .28);--primary: #69c27c;--primary-dim: #4ca765;--on-primary: #102016;--gold: #e1b65a;--accent: #9bd9a4;--danger: #ed7770;--danger-dim: #c45252;--text: #fff4e8;--text-muted: #abc4ae}:root.halloween-theme{--bg: #0d0e10;--surface: #151619;--card: #202125;--card-hover: #2c2d32;--border: rgba(230, 126, 34, .3);--primary: #e67e22;--primary-dim: #bd6417;--on-primary: #180f08;--gold: #d6a84f;--accent: #f0a04b;--danger: #d95f5f;--danger-dim: #b84040;--text: #f3f0eb;--text-muted: #aaa6a0}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}*,*:before,*:after{transition-property:background-color,color,border-color,box-shadow;transition-duration:.35s;transition-timing-function:ease}html{font-size:16px;-webkit-text-size-adjust:100%;overflow-x:hidden}body{position:relative;background:var(--bg);background-image:linear-gradient(180deg,var(--bg) 0%,#06101f 55%,#04070e 100%);background-attachment:fixed;color:var(--text);font-family:Geist Mono,ui-monospace,SFMono-Regular,Segoe UI Mono,Menlo,monospace;line-height:1.5;min-height:100vh;min-height:100dvh;overflow-x:hidden}body:before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;background:linear-gradient(180deg,#160d12,#241018 55%,#0e080b);opacity:0;transition:opacity .3s ease}:root.christmas-theme body:before{opacity:1}:root.christmas-sparkle-active body:after{content:"";position:fixed;inset:0;z-index:145;pointer-events:none;background-image:radial-gradient(circle at 7% 16%,rgba(255,255,239,.95) 0 1.5px,transparent 3px),radial-gradient(circle at 18% 73%,rgba(255,226,157,.9) 0 2px,transparent 4px),radial-gradient(circle at 31% 28%,rgba(255,255,255,.92) 0 1px,transparent 3px),radial-gradient(circle at 43% 84%,rgba(255,232,184,.9) 0 2px,transparent 4px),radial-gradient(circle at 56% 12%,rgba(255,255,242,.95) 0 1.5px,transparent 3px),radial-gradient(circle at 68% 61%,rgba(255,226,157,.88) 0 2px,transparent 4px),radial-gradient(circle at 81% 33%,rgba(255,255,255,.92) 0 1px,transparent 3px),radial-gradient(circle at 94% 78%,rgba(255,232,184,.9) 0 2px,transparent 4px);animation:christmas-sparkle-flash 1s ease-out both}:root.christmas-sparkle-active .app-shell .glass,:root.christmas-sparkle-active .app-shell button{box-shadow:0 0 18px #ffe29d47}:root.christmas-sparkle-active .app-shell img:not(.player-img){animation:christmas-image-glint 1s ease-out both}:root.christmas-sparkle-active .app-shell img.avatar{animation:christmas-avatar-glint 1s ease-out both}:root.christmas-sparkle-active .app-shell .rail-track img{animation:christmas-rail-glint 1s ease-out both}@keyframes christmas-sparkle-flash{0%{opacity:0;filter:brightness(1)}24%{opacity:1;filter:brightness(1.7)}58%{opacity:.85;filter:brightness(1.3)}to{opacity:0;filter:brightness(1)}}@keyframes christmas-image-glint{0%,to{filter:brightness(1)}32%{filter:brightness(1.35) saturate(1.35) contrast(1.08)}65%{filter:brightness(1.12) saturate(1.15) contrast(1.03)}}@keyframes christmas-avatar-glint{0%,to{filter:brightness(1)}32%{filter:brightness(1.35) drop-shadow(0 0 10px rgba(255,232,184,.8))}65%{filter:brightness(1.12) drop-shadow(0 0 4px rgba(255,232,184,.45))}}@keyframes christmas-rail-glint{0%,to{opacity:.28;filter:grayscale(.08) saturate(1.05)}32%{opacity:.95;filter:brightness(1.35) saturate(1.35) contrast(1.08)}65%{opacity:.68;filter:brightness(1.12) saturate(1.15) contrast(1.03)}}@media(prefers-reduced-motion:reduce){:root.christmas-sparkle-active body:after,:root.christmas-sparkle-active .app-shell img:not(.player-img),:root.christmas-sparkle-active .app-shell img.avatar,:root.christmas-sparkle-active .app-shell .rail-track img{animation:none}}:root.halloween-theme body:before{opacity:1;background:linear-gradient(180deg,#0d0e10,#171316 55%,#08090a)}:root.theme-transitioning *,:root.theme-transitioning *:before,:root.theme-transitioning *:after{transition-duration:.3s!important}:root.halloween-theme .app-shell{animation:theme-shake .5s cubic-bezier(.36,.07,.19,.97);transform-origin:center center}@keyframes theme-shake{0%,to{transform:translate(0)}8%{transform:translate(-10px)}16%{transform:translate(10px)}24%{transform:translate(-9px)}32%{transform:translate(9px)}40%{transform:translate(-8px)}48%{transform:translate(8px)}56%{transform:translate(-6px)}64%{transform:translate(6px)}72%{transform:translate(-4px)}80%{transform:translate(4px)}88%{transform:translate(-2px)}94%{transform:translate(2px)}}@media(prefers-reduced-motion:reduce){:root.halloween-theme .app-shell{animation:none}}.app-shell{z-index:1}.snowfall{--snow-impact-left: clamp(-240px, -24vw, -48px);--snow-impact-right: clamp(48px, 24vw, 240px);--snow-impact-step: clamp(32px, 12vw, 140px);--snow-impact-far-left: calc(var(--snow-impact-left) - var(--snow-impact-step));--snow-impact-far-right: calc(var(--snow-impact-right) + var(--snow-impact-step));position:fixed;inset:0;z-index:120;overflow:hidden;pointer-events:none;opacity:1;transition:opacity .7s ease}.snowfall.leaving{opacity:0}.snowflake{position:absolute;top:-12vh;left:var(--snow-left);color:#ffffffd1;font-size:var(--snow-size);line-height:1;opacity:var(--snow-opacity);animation:snowFall var(--snow-duration) linear var(--snow-delay) infinite;will-change:transform}.snowflake>span{display:block;transform:translate(0);transition:transform .7s cubic-bezier(.2,.8,.2,1)}.santa-mort-flake{position:absolute;top:-12vh;opacity:.9;animation:snowFall var(--snow-duration) linear var(--snow-delay) infinite;will-change:transform}.santa-mort-slide{display:block;width:100%;transform:translate(0);transition:transform .7s cubic-bezier(.2,.8,.2,1)}.santa-mort-image{display:block;width:100%;height:auto;filter:drop-shadow(0 2px 4px rgba(0,0,0,.25));transform-origin:center;animation:santaMortTilt var(--rotation-duration) ease-in-out var(--rotation-delay) infinite alternate}@keyframes santaMortTilt{0%{transform:rotate(var(--rotation-from))}to{transform:rotate(var(--rotation-to))}}.lightning{position:fixed;inset:0;z-index:130;overflow:hidden;pointer-events:none;background:#fff7dc0d;animation:lightning-flash .85s ease-out both}.lightning-bolt{position:absolute;top:-8vh;left:var(--lightning-left);width:clamp(7rem,15vw,13rem);height:116vh;background:#fffaf0;filter:drop-shadow(0 0 .8rem rgba(255,190,82,.95));opacity:0;transform-origin:50% 0;clip-path:polygon(47% 0,68% 0,55% 28%,79% 28%,36% 67%,49% 67%,18% 100%,29% 63%,8% 63%,43% 28%,27% 28%);animation:lightning-strike .85s ease-out both}.lightning-bolt-branch{left:calc(var(--lightning-left) + 7%);width:clamp(4rem,9vw,8rem);height:72vh;transform:rotate(12deg);animation-delay:90ms}@keyframes lightning-flash{0%,to{opacity:0}5%{opacity:.92}13%{opacity:.08}22%{opacity:.72}34%{opacity:0}}@keyframes lightning-strike{0%,to{opacity:0}7%{opacity:.98}16%{opacity:.1}25%{opacity:.9}38%{opacity:0}}@media(prefers-reduced-motion:reduce){.lightning{display:none}}.snowflake:nth-child(1){--snow-left: 3%;--snow-size: .7rem;--snow-duration: 8s;--snow-delay: -2s;--snow-opacity: .55;--push: -80px}.snowflake:nth-child(2){--snow-left: 8%;--snow-size: 1.2rem;--snow-duration: 12s;--snow-delay: -7s;--snow-opacity: .8;--push: 70px}.snowflake:nth-child(3){--snow-left: 13%;--snow-size: .85rem;--snow-duration: 10s;--snow-delay: -4s;--snow-opacity: .65;--push: -60px}.snowflake:nth-child(4){--snow-left: 19%;--snow-size: 1.5rem;--snow-duration: 15s;--snow-delay: -10s;--snow-opacity: .72;--push: 90px}.snowflake:nth-child(5){--snow-left: 25%;--snow-size: .65rem;--snow-duration: 9s;--snow-delay: -1s;--snow-opacity: .6;--push: -75px}.snowflake:nth-child(6){--snow-left: 31%;--snow-size: 1rem;--snow-duration: 13s;--snow-delay: -6s;--snow-opacity: .78;--push: 65px}.snowflake:nth-child(7){--snow-left: 37%;--snow-size: 1.7rem;--snow-duration: 17s;--snow-delay: -12s;--snow-opacity: .7;--push: -100px}.snowflake:nth-child(8){--snow-left: 43%;--snow-size: .8rem;--snow-duration: 11s;--snow-delay: -3s;--snow-opacity: .58;--push: 85px}.snowflake:nth-child(9){--snow-left: 49%;--snow-size: 1.3rem;--snow-duration: 14s;--snow-delay: -9s;--snow-opacity: .76;--push: -85px}.snowflake:nth-child(10){--snow-left: 55%;--snow-size: .7rem;--snow-duration: 8.5s;--snow-delay: -5s;--snow-opacity: .62;--push: 75px}.snowflake:nth-child(11){--snow-left: 61%;--snow-size: 1.55rem;--snow-duration: 16s;--snow-delay: -11s;--snow-opacity: .72;--push: -95px}.snowflake:nth-child(12){--snow-left: 67%;--snow-size: .9rem;--snow-duration: 10.5s;--snow-delay: -2.5s;--snow-opacity: .66;--push: 80px}.snowflake:nth-child(13){--snow-left: 73%;--snow-size: 1.15rem;--snow-duration: 12.5s;--snow-delay: -8s;--snow-opacity: .8;--push: -70px}.snowflake:nth-child(14){--snow-left: 79%;--snow-size: .65rem;--snow-duration: 9.5s;--snow-delay: -4.5s;--snow-opacity: .56;--push: 100px}.snowflake:nth-child(15){--snow-left: 85%;--snow-size: 1.8rem;--snow-duration: 18s;--snow-delay: -14s;--snow-opacity: .7;--push: -90px}.snowflake:nth-child(16){--snow-left: 91%;--snow-size: .8rem;--snow-duration: 11.5s;--snow-delay: -6.5s;--snow-opacity: .64;--push: 65px}.snowflake:nth-child(17){--snow-left: 97%;--snow-size: 1.25rem;--snow-duration: 13.5s;--snow-delay: -3.5s;--snow-opacity: .78;--push: -75px}.snowflake:nth-child(18){--snow-left: 5%;--snow-size: .95rem;--snow-duration: 14.5s;--snow-delay: -13s;--snow-opacity: .6;--push: 85px}.snowflake:nth-child(19){--snow-left: 23%;--snow-size: 1.4rem;--snow-duration: 10s;--snow-delay: -7.5s;--snow-opacity: .74;--push: -80px}.snowflake:nth-child(20){--snow-left: 47%;--snow-size: .75rem;--snow-duration: 15.5s;--snow-delay: -1.5s;--snow-opacity: .58;--push: 95px}.snowflake:nth-child(21){--snow-left: 69%;--snow-size: 1.65rem;--snow-duration: 12s;--snow-delay: -10.5s;--snow-opacity: .68;--push: -100px}.snowflake:nth-child(22){--snow-left: 88%;--snow-size: .85rem;--snow-duration: 9s;--snow-delay: -5.5s;--snow-opacity: .8;--push: 75px}.snowflake:nth-child(23){--snow-left: 15%;--snow-size: 1.05rem;--snow-duration: 17.5s;--snow-delay: -15s;--snow-opacity: .63;--push: -65px}.snowflake:nth-child(24){--snow-left: 35%;--snow-size: .6rem;--snow-duration: 8.8s;--snow-delay: -6s;--snow-opacity: .55;--push: 90px}.snowflake:nth-child(25){--snow-left: 58%;--snow-size: 1.35rem;--snow-duration: 13s;--snow-delay: -9.5s;--snow-opacity: .76;--push: -85px}.snowflake:nth-child(26){--snow-left: 77%;--snow-size: .72rem;--snow-duration: 11s;--snow-delay: -2s;--snow-opacity: .6;--push: 70px}.snowflake:nth-child(27){--snow-left: 93%;--snow-size: 1.5rem;--snow-duration: 16.5s;--snow-delay: -12.5s;--snow-opacity: .72;--push: -95px}.snowflake:nth-child(28){--snow-left: 52%;--snow-size: .9rem;--snow-duration: 10.8s;--snow-delay: -4s;--snow-opacity: .66;--push: 80px}.snowflake:nth-child(29){--snow-left: 10%;--snow-size: 1.1rem;--snow-duration: 12.8s;--snow-delay: -3s;--snow-opacity: .68;--push: -80px}.snowflake:nth-child(30){--snow-left: 17%;--snow-size: .7rem;--snow-duration: 9.2s;--snow-delay: -8s;--snow-opacity: .58;--push: 75px}.snowflake:nth-child(31){--snow-left: 29%;--snow-size: 1.45rem;--snow-duration: 15.2s;--snow-delay: -11s;--snow-opacity: .74;--push: -95px}.snowflake:nth-child(32){--snow-left: 41%;--snow-size: .8rem;--snow-duration: 10.2s;--snow-delay: -5s;--snow-opacity: .62;--push: 85px}.snowflake:nth-child(33){--snow-left: 54%;--snow-size: 1.25rem;--snow-duration: 13.8s;--snow-delay: -13s;--snow-opacity: .76;--push: -75px}.snowflake:nth-child(34){--snow-left: 64%;--snow-size: .65rem;--snow-duration: 8.7s;--snow-delay: -1s;--snow-opacity: .55;--push: 90px}.snowflake:nth-child(35){--snow-left: 71%;--snow-size: 1.6rem;--snow-duration: 16.8s;--snow-delay: -9s;--snow-opacity: .7;--push: -100px}.snowflake:nth-child(36){--snow-left: 82%;--snow-size: .9rem;--snow-duration: 11.2s;--snow-delay: -6s;--snow-opacity: .64;--push: 80px}.snowflake:nth-child(37){--snow-left: 95%;--snow-size: 1.35rem;--snow-duration: 14.2s;--snow-delay: -14s;--snow-opacity: .78;--push: -85px}.snowflake:nth-child(38){--snow-left: 2%;--snow-size: .75rem;--snow-duration: 9.8s;--snow-delay: -4s;--snow-opacity: .6;--push: 70px}.snowflake:nth-child(39){--snow-left: 34%;--snow-size: 1.75rem;--snow-duration: 17.2s;--snow-delay: -12s;--snow-opacity: .68;--push: -90px}.snowflake:nth-child(40){--snow-left: 46%;--snow-size: .85rem;--snow-duration: 10.6s;--snow-delay: -7s;--snow-opacity: .57;--push: 95px}.snowflake:nth-child(41){--snow-left: 63%;--snow-size: 1.05rem;--snow-duration: 12.2s;--snow-delay: -2.5s;--snow-opacity: .73;--push: -70px}.snowflake:nth-child(42){--snow-left: 76%;--snow-size: .6rem;--snow-duration: 8.4s;--snow-delay: -10s;--snow-opacity: .56;--push: 85px}.snowflake:nth-child(43){--snow-left: 87%;--snow-size: 1.5rem;--snow-duration: 15.8s;--snow-delay: -5.5s;--snow-opacity: .71;--push: -100px}.snowflake:nth-child(44){--snow-left: 99%;--snow-size: .8rem;--snow-duration: 11.8s;--snow-delay: -9.5s;--snow-opacity: .63;--push: 75px}@keyframes snowFall{0%{transform:translate3d(0,-12vh,0)}to{transform:translate3d(0,115vh,0)}}:root.hero-impact .snowflake>span{transform:translate(0)}:root.hero-impact .snowflake:nth-child(1)>span,:root.hero-impact .snowflake:nth-child(2)>span,:root.hero-impact .snowflake:nth-child(3)>span,:root.hero-impact .snowflake:nth-child(4)>span,:root.hero-impact .snowflake:nth-child(5)>span,:root.hero-impact .snowflake:nth-child(6)>span,:root.hero-impact .snowflake:nth-child(7)>span,:root.hero-impact .snowflake:nth-child(8)>span,:root.hero-impact .snowflake:nth-child(9)>span,:root.hero-impact .snowflake:nth-child(18)>span,:root.hero-impact .snowflake:nth-child(19)>span,:root.hero-impact .snowflake:nth-child(20)>span,:root.hero-impact .snowflake:nth-child(23)>span,:root.hero-impact .snowflake:nth-child(24)>span{transform:translate(var(--snow-impact-left))}:root.hero-impact .snowflake:nth-child(10)>span,:root.hero-impact .snowflake:nth-child(11)>span,:root.hero-impact .snowflake:nth-child(12)>span,:root.hero-impact .snowflake:nth-child(13)>span,:root.hero-impact .snowflake:nth-child(14)>span,:root.hero-impact .snowflake:nth-child(15)>span,:root.hero-impact .snowflake:nth-child(16)>span,:root.hero-impact .snowflake:nth-child(17)>span,:root.hero-impact .snowflake:nth-child(21)>span,:root.hero-impact .snowflake:nth-child(22)>span,:root.hero-impact .snowflake:nth-child(25)>span,:root.hero-impact .snowflake:nth-child(26)>span,:root.hero-impact .snowflake:nth-child(27)>span,:root.hero-impact .snowflake:nth-child(28)>span{transform:translate(var(--snow-impact-right))}:root.hero-impact .snowflake:nth-child(29)>span,:root.hero-impact .snowflake:nth-child(30)>span,:root.hero-impact .snowflake:nth-child(31)>span,:root.hero-impact .snowflake:nth-child(32)>span,:root.hero-impact .snowflake:nth-child(38)>span,:root.hero-impact .snowflake:nth-child(39)>span,:root.hero-impact .snowflake:nth-child(40)>span{transform:translate(var(--snow-impact-left))}:root.hero-impact .snowflake:nth-child(33)>span,:root.hero-impact .snowflake:nth-child(34)>span,:root.hero-impact .snowflake:nth-child(35)>span,:root.hero-impact .snowflake:nth-child(36)>span,:root.hero-impact .snowflake:nth-child(37)>span,:root.hero-impact .snowflake:nth-child(41)>span,:root.hero-impact .snowflake:nth-child(42)>span,:root.hero-impact .snowflake:nth-child(43)>span,:root.hero-impact .snowflake:nth-child(44)>span{transform:translate(var(--snow-impact-right))}:root.hero-impact .santa-mort-0>.santa-mort-slide,:root.hero-impact .santa-mort-2>.santa-mort-slide{transform:translate(var(--snow-impact-left))}:root.hero-impact .santa-mort-1>.santa-mort-slide{transform:translate(var(--snow-impact-right))}@media(max-width:640px){:root.hero-impact .snowflake:nth-child(odd)>span{transform:translate(var(--snow-impact-left))}:root.hero-impact .snowflake:nth-child(2n)>span{transform:translate(var(--snow-impact-right))}}@keyframes snowPushLeft{0%{transform:translate(var(--snow-impact-far-left))}to{transform:translate(var(--snow-impact-far-left))}}@keyframes snowPushRight{0%{transform:translate(var(--snow-impact-right))}to{transform:translate(var(--snow-impact-far-right))}}:root.hero-impact-slam .snowflake:nth-child(1)>span,:root.hero-impact-slam .snowflake:nth-child(2)>span,:root.hero-impact-slam .snowflake:nth-child(3)>span,:root.hero-impact-slam .snowflake:nth-child(4)>span,:root.hero-impact-slam .snowflake:nth-child(5)>span,:root.hero-impact-slam .snowflake:nth-child(6)>span,:root.hero-impact-slam .snowflake:nth-child(7)>span,:root.hero-impact-slam .snowflake:nth-child(8)>span,:root.hero-impact-slam .snowflake:nth-child(9)>span,:root.hero-impact-slam .snowflake:nth-child(18)>span,:root.hero-impact-slam .snowflake:nth-child(19)>span,:root.hero-impact-slam .snowflake:nth-child(20)>span,:root.hero-impact-slam .snowflake:nth-child(23)>span,:root.hero-impact-slam .snowflake:nth-child(24)>span{animation:snowPushLeft .7s cubic-bezier(.2,.8,.2,1) both}:root.hero-impact-slam .snowflake:nth-child(10)>span,:root.hero-impact-slam .snowflake:nth-child(11)>span,:root.hero-impact-slam .snowflake:nth-child(12)>span,:root.hero-impact-slam .snowflake:nth-child(13)>span,:root.hero-impact-slam .snowflake:nth-child(14)>span,:root.hero-impact-slam .snowflake:nth-child(15)>span,:root.hero-impact-slam .snowflake:nth-child(16)>span,:root.hero-impact-slam .snowflake:nth-child(17)>span,:root.hero-impact-slam .snowflake:nth-child(21)>span,:root.hero-impact-slam .snowflake:nth-child(22)>span,:root.hero-impact-slam .snowflake:nth-child(25)>span,:root.hero-impact-slam .snowflake:nth-child(26)>span,:root.hero-impact-slam .snowflake:nth-child(27)>span,:root.hero-impact-slam .snowflake:nth-child(28)>span{animation:snowPushRight .7s cubic-bezier(.2,.8,.2,1) both}:root.hero-impact-slam .santa-mort-0>.santa-mort-slide,:root.hero-impact-slam .santa-mort-2>.santa-mort-slide{animation:snowPushLeft .7s cubic-bezier(.2,.8,.2,1) both}:root.hero-impact-slam .santa-mort-1>.santa-mort-slide{animation:snowPushRight .7s cubic-bezier(.2,.8,.2,1) both}@media(max-width:640px){:root.hero-impact-slam .snowflake:nth-child(odd)>span{animation-name:snowPushLeft}:root.hero-impact-slam .snowflake:nth-child(2n)>span{animation-name:snowPushRight}}h1{font-size:clamp(1.6rem,5vw,2.4rem);font-weight:800;letter-spacing:-.02em}h2{font-size:clamp(1.2rem,4vw,1.7rem);font-weight:700}h3{font-size:clamp(1rem,3vw,1.25rem);font-weight:600}.muted{color:var(--text-muted)}.small{font-size:.85rem}button{font:inherit;color:inherit;cursor:pointer;border:none;background:none}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.4em;padding:.6em .95em;border-radius:var(--radius-sm);font-weight:600;font-size:.95rem;text-decoration:none;transition:background var(--transition),transform var(--transition),opacity var(--transition);white-space:nowrap}.btn:active{transform:scale(.96)}.btn:disabled{opacity:.45;cursor:not-allowed;transform:none}.btn-primary{background:var(--primary);color:var(--on-primary)}.btn-primary:hover:not(:disabled){background:var(--primary-dim)}.btn-ghost{background:transparent;color:var(--primary);border:1.5px solid var(--primary)}.btn-ghost:hover:not(:disabled){background:#e3bad41f}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover:not(:disabled){background:var(--danger-dim)}.btn-gold{background:var(--gold);color:#1a1000}.btn-gold:hover:not(:disabled){filter:brightness(1.1)}.btn-icon{width:2.5rem;height:2.5rem;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;font-size:1.1rem;background:var(--card);color:var(--text-muted);border:1px solid var(--border)}.btn-icon:hover{background:var(--card-hover);color:var(--text)}.btn.big{padding:.8em 1.3em;font-size:1.05rem;width:100%}.back-link{position:fixed;top:.75rem;left:.75rem;z-index:200;display:inline-flex;align-items:center;gap:.25rem;color:var(--text);text-decoration:none;font-size:.9rem;font-weight:600;background:var(--card);border:1.5px solid var(--border);padding:.4em .8em;border-radius:999px;box-shadow:var(--shadow);transition:background var(--transition),transform var(--transition)}.back-link:hover{background:var(--card-hover);transform:translateY(-1px)}.back-link:active{transform:translateY(0)}.back-arrow{margin-right:.4em}@media(max-width:640px){.back-arrow{margin-right:0}.back-label{display:none}}.glass{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.panel{padding:clamp(1rem,4vw,1.5rem);display:flex;flex-direction:column;gap:.75rem}input[type=text],input[type=number],input[type=url],input[type=password],textarea,select{width:100%;background:var(--surface);color:var(--text);border:1.5px solid var(--border);border-radius:var(--radius-sm);padding:.65em .9em;font:inherit;font-size:1rem;outline:none;transition:border-color var(--transition)}input[type=text]:focus,input[type=number]:focus,input[type=url]:focus,input[type=password]:focus,textarea:focus,select:focus{border-color:var(--primary)}input[type=text]::placeholder,input[type=number]::placeholder,input[type=url]::placeholder,input[type=password]::placeholder,textarea::placeholder,select::placeholder{color:var(--text-muted)}textarea{resize:vertical;min-height:4.5rem;line-height:1.5}input[type=number]{-moz-appearance:textfield;appearance:textfield}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}option{color:#1a2333}label{display:flex;flex-direction:column;gap:.35rem;font-size:.9rem;color:var(--text-muted);font-weight:500}.badge{display:inline-block;padding:.2em .65em;border-radius:20px;font-size:.78rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.badge-green{background:#e3bad42e;color:var(--primary)}.badge-gold{background:#f1c40f33;color:var(--gold)}.badge-blue{background:#3498db33;color:#5dade2}.badge-muted{background:#93a8c81f;color:var(--text-muted)}.banner-error{background:#e74c3c26;border:1px solid rgba(231,76,60,.4);border-radius:var(--radius-sm);color:#ff7f7f;padding:.7em 1em;font-size:.9rem}.section{display:flex;flex-direction:column;gap:.75rem}.section-title{font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted)}.danger-zone{display:flex;justify-content:center;margin-top:1rem;padding-top:1.5rem;border-top:1px solid var(--border)}.pill{padding:.45rem .85rem;border-radius:20px;background:var(--surface);border:1.5px solid var(--border);color:var(--text);font-size:.85rem;font-weight:600;cursor:pointer;transition:border-color var(--transition),background var(--transition)}.pill.small{padding:.3rem .7rem;font-size:.8rem}.pill.selected{border-color:var(--primary);background:#e3bad426;color:var(--accent)}.pill:hover:not(.selected){background:var(--card-hover)}.format-cards{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}.format-card{display:flex;flex-direction:column;align-items:flex-start;gap:.3rem;padding:1rem;border-radius:var(--radius);cursor:pointer;text-align:left;transition:border-color var(--transition),background var(--transition);border:2px solid var(--border)}.format-card.selected{border-color:var(--primary);background:#e3bad41a}.format-card:hover:not(.selected){background:var(--card-hover)}.tour-header{flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:.75rem}.tour-meta{display:flex;flex-direction:column;gap:.4rem}.tour-badges{display:flex;gap:.4rem;flex-wrap:wrap}.round-indicator{font-size:1.05rem;color:var(--text-muted);flex-shrink:0}.round-indicator strong{color:var(--text)}.matches{display:flex;flex-direction:column;gap:.75rem}.match-card{padding:1rem;overflow:hidden}.court-label{margin-bottom:.5rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.match-teams{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:.75rem}.team{display:flex;flex-direction:column;gap:.5rem;min-width:0}.team.team-right{align-items:flex-end}.team-title{font-weight:700;font-size:.9rem;color:var(--accent);margin-bottom:.15rem}.team-players{display:flex;flex-direction:column;gap:.3rem;min-width:0;width:100%;overflow:hidden}.team-players.team-players-right{align-items:flex-end}.team-players.team-players-right .team-player{max-width:100%}.team-players.team-players-right span{text-align:right;direction:rtl;unicode-bidi:plaintext}.team-player{display:flex;align-items:center;gap:.4rem;font-size:.9rem;font-weight:500;min-width:0;overflow:hidden}.team-player span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-player.team-player-right{flex-direction:row-reverse}.score-center{display:flex;align-items:center;gap:.4rem}.vs{font-size:.75rem;font-weight:800;color:var(--text-muted);letter-spacing:.05em;text-align:center}input.score-input{width:60px;flex:0 0 60px;text-align:center;font-size:1.5rem;font-weight:800;padding:.3em .2em;background:var(--surface);border:2px solid var(--border);border-radius:var(--radius-sm);color:var(--text);outline:none;transition:border-color var(--transition);-moz-appearance:textfield;appearance:textfield}input.score-input:focus{border-color:var(--primary)}input.score-input::-webkit-inner-spin-button,input.score-input::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.sitouts{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;padding:.7rem .9rem;border-radius:var(--radius)}.sitout-chip{padding:.25em .7em;border-radius:16px;background:var(--surface);border:1px solid var(--border);font-size:.82rem;font-weight:500}.winner-name{font-size:1.4rem;font-weight:800;color:var(--gold)}.finished-banner{align-items:center;text-align:center;gap:.5rem}.standings-wrap{overflow-x:auto}.standings{width:100%;border-collapse:collapse;font-size:.85rem}.standings th,.standings td{padding:.5rem .4rem;text-align:center;white-space:nowrap}.standings th{color:var(--text-muted);font-weight:700;font-size:.72rem;text-transform:uppercase;border-bottom:1px solid var(--border)}.standings td{border-bottom:1px solid var(--border)}.standings tr:last-child td{border-bottom:none}.standings .left{text-align:left}.standings .name{font-weight:600}.standings .rank{font-weight:700}.standings .total{font-weight:800;color:var(--primary)}.standings .pos{color:var(--primary)}.standings .neg{color:var(--danger)}@media(max-width:460px){.format-cards{grid-template-columns:1fr}}@media(max-width:400px){.match-teams{grid-template-columns:1fr auto 1fr;gap:.4rem}input.score-input{width:50px;flex:0 0 50px;font-size:1.2rem}.team-player{font-size:.8rem}}@keyframes fadeUp{0%{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}@keyframes popIn{0%{opacity:0;transform:scale(.88)}to{opacity:1;transform:scale(1)}}.fade-up{animation:fadeUp .35s ease both}.pop-in{animation:popIn .25s ease both}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:var(--bg)}::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}::view-transition-old(root),::view-transition-new(root){animation-duration:.26s;animation-timing-function:ease}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition-duration:0s!important}}@media(prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation:none}}
