@import"https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=DM+Sans:wght@400;500;600;700;800&display=swap";:root{font-family:DM Sans,sans-serif;color:#f8f8f8;background:#101114;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#101114}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}.home-shell{min-height:100vh;position:relative;overflow:hidden;background:radial-gradient(ellipse at 75% 48%,#25262a,#151619,#101114 70%);padding:30px clamp(20px,6vw,90px)}.brand{display:flex;align-items:center;gap:10px;position:relative;z-index:2;font-weight:900;letter-spacing:3px;font-size:12px}.brand-logo{background:#f8d52b;color:#151515;font-family:Barlow Condensed;font-weight:900;font-size:23px;font-style:italic;letter-spacing:-1px;padding:2px 7px;border-radius:5px;transform:rotate(-7deg);box-shadow:3px 3px #d71920}.hero{width:min(520px,100%);position:relative;z-index:2;margin:clamp(60px,12vh,130px) 0 40px 7vw}.eyebrow{font-size:10px;letter-spacing:2.2px;color:#aaa;font-weight:800;display:flex;align-items:center;gap:9px}.live-dot{width:7px;height:7px;background:#75e58c;border-radius:50%;box-shadow:0 0 12px #75e58c;display:inline-block}.hero h1,.lobby h1{font-family:Barlow Condensed;font-size:clamp(78px,13vw,140px);line-height:.77;letter-spacing:-3px;margin:25px 0 24px;font-weight:900}.hero h1 em,.lobby h1 em{color:#f8d52b;font-style:normal}.hero p,.lobby-left>p{color:#999;line-height:1.7;font-size:14px;max-width:370px}.home-form{margin-top:35px;width:min(360px,100%);display:grid;gap:10px}.home-form label{font-size:9px;letter-spacing:1.8px;font-weight:800;color:#999;margin-top:8px}.home-form input{background:#202126;border:1px solid #34353b;border-radius:8px;padding:14px;color:#fff;outline:none}.home-form input:focus{border-color:#f8d52b}.primary-btn{border:0;background:#f8d52b;color:#171717;border-radius:8px;padding:15px 18px;font-weight:900;font-size:12px;letter-spacing:1px;display:flex;align-items:center;justify-content:center;gap:10px;transition:.2s}.primary-btn:hover:not(:disabled){background:#ffe76b;transform:translateY(-2px)}.or{display:flex;align-items:center;gap:12px;color:#65666d;font-size:9px;letter-spacing:2px;margin:5px 0}.or span{height:1px;background:#333;flex:1}.join-row{display:flex;gap:8px}.join-row input{min-width:0;flex:1;text-transform:uppercase;letter-spacing:4px;font-weight:800}.join-row button{background:#28292f;color:#fff;border:1px solid #414249;border-radius:8px;padding:0 17px;font-weight:800;font-size:10px;letter-spacing:1px}.home-foot{display:flex;gap:13px;color:#65666d;font-size:8px;letter-spacing:1.5px;font-weight:800;margin-top:50px}.floating-cards{position:absolute;right:12%;top:28%;width:350px;height:400px;transform:rotate(-5deg)}.float-card{position:absolute;width:125px;height:180px;border:7px solid white;border-radius:17px;box-shadow:0 18px 45px #0008;display:grid;place-items:center;font-family:Barlow Condensed;font-size:80px;font-weight:900;-webkit-text-stroke:2px white;color:#fff;text-shadow:3px 4px 0 #222}.red-card{background:#ed252b;right:150px;top:15px;transform:rotate(-20deg)}.blue-card{background:#1768d4;right:35px;top:65px;transform:rotate(13deg)}.yellow-card{background:#f8d52b;color:#fff;right:165px;top:185px;transform:rotate(12deg)}.green-card{background:#27a84b;right:40px;top:235px;transform:rotate(-14deg)}.setup-warning{background:#492d17;color:#ffd18b;padding:12px;border-radius:7px;font-size:11px;line-height:1.5;margin-top:15px}.room-shell{min-height:100vh;background:#111216;padding:0 28px 35px}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #292a30;gap:20px}.brand.compact{font-size:9px}.brand.compact .brand-logo{font-size:19px}.room-pill{display:flex;align-items:center;gap:12px;color:#777;font-size:9px;letter-spacing:1.5px}.room-pill b{font-size:16px;color:#f8d52b;letter-spacing:3px}.room-pill button,.icon-btn{display:flex;align-items:center;gap:7px;background:#222329;border:1px solid #35363d;color:#ddd;border-radius:6px;padding:8px 10px;font-size:9px;font-weight:800;letter-spacing:1px}.top-actions{display:flex;gap:8px}.icon-btn.leave{color:#ff8585}.lobby{max-width:1080px;margin:9vh auto 0;display:grid;grid-template-columns:1fr 380px;gap:9vw;align-items:center}.lobby h1{font-size:clamp(72px,9vw,112px)}.big-code{font-family:Barlow Condensed;font-size:48px;letter-spacing:10px;color:#f8d52b;background:#202126;border:1px dashed #555;padding:13px 18px;border-radius:9px;display:flex;align-items:center;justify-content:space-between;max-width:320px;margin:28px 0 15px;cursor:pointer}.start-btn{width:min(320px,100%);justify-content:space-between}.lobby-left small{display:block;color:#777;font-size:9px;letter-spacing:1.5px;margin-top:13px}.player-panel{background:#1b1c21;border:1px solid #33343b;border-radius:12px;padding:22px}.panel-head,.side-title{display:flex;justify-content:space-between;font-size:11px;letter-spacing:1px;color:#ddd}.panel-head span,.side-title span{color:#f8d52b}.player-list{margin-top:18px}.player-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #303138}.player-row>div:nth-child(2){display:grid;gap:4px;flex:1}.player-row b{font-size:12px}.player-row small{font-size:8px;color:#777;letter-spacing:1px}.avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-weight:900;font-size:11px;color:#fff;background:#d62e36}.avatar-1{background:#216bd2}.avatar-2{background:#27994a}.avatar-3{background:#c79d12}.you-tag{font-size:8px;color:#f8d52b;letter-spacing:1px}.player-row.empty{opacity:.45}.player-row.empty .avatar{background:#444}.room-hint{border-top:1px solid #303138;margin-top:12px;padding-top:15px;color:#777;font-size:8px;letter-spacing:1.3px}.game-layout{max-width:1400px;margin:22px auto;display:grid;grid-template-columns:minmax(0,1fr) 255px;grid-template-rows:minmax(450px,1fr) auto;gap:18px}.table-area{position:relative;min-height:480px;background:radial-gradient(ellipse at center,#214f39,#143c2b 45%,#102d22);border:9px solid #583c2b;border-radius:190px;padding:25px 40px 20px;box-shadow:inset 0 0 0 3px #9b7651,0 12px 30px #0007;overflow:hidden}.game-status{display:flex;align-items:center;gap:9px;font-size:9px;letter-spacing:1.5px;color:#d2e5d8}.turn-chip{margin-left:auto;border:1px solid #ffffff44;border-radius:20px;padding:6px 11px;font-size:8px}.turn-chip.my-turn{background:#f8d52b;color:#171717;border-color:#f8d52b;font-weight:900}.opponents{display:flex;justify-content:center;gap:20px;margin:15px auto 0;flex-wrap:wrap}.opponent{display:grid;justify-items:center;gap:5px;min-width:75px;opacity:.7}.opponent.active-opponent{opacity:1}.opponent.active-opponent .avatar{outline:3px solid #f8d52b;outline-offset:2px}.opponent b{font-size:10px}.opponent>span{font-size:8px;color:#b7d0bf}.mini-hand{display:flex;height:35px;margin-top:2px}.mini-hand .uno-card{margin-left:-13px}.center-table{display:flex;align-items:center;justify-content:center;gap:30px;margin:30px auto 0}.deck-stack,.discard-stack{display:grid;justify-items:center;gap:8px}.deck-stack{cursor:pointer}.deck-stack>span,.discard-stack>span{font-size:8px;letter-spacing:1.5px;color:#c4d5c9}.active-color{border:1px solid #ffffff44;background:#0003;border-radius:9px;padding:10px 14px;display:grid;gap:4px;position:absolute;right:12%;top:48%;font-size:8px;color:#cbd9ce;letter-spacing:1px}.active-color b{font-size:12px;color:#fff}.active-color.red{border-color:#ff6868}.active-color.yellow{border-color:#ffe46a}.active-color.green{border-color:#7be99a}.active-color.blue{border-color:#75b8ff}.uno-card{width:72px;height:108px;border:4px solid #fff;border-radius:10px;position:relative;display:grid;place-items:center;color:#fff;box-shadow:2px 4px 9px #0005;transition:transform .15s,border-color .15s;padding:0;flex:0 0 auto}.uno-card:not(:disabled):hover{transform:translateY(-12px);z-index:2;border-color:#ffe56c}.uno-card.red{background:#ed252b}.uno-card.blue{background:#1768d4}.uno-card.green{background:#249d4b}.uno-card.yellow{background:#f5d52b;color:#fff}.uno-card.wild{background:conic-gradient(#ed252b 0,#ed252b 25%,#f5d52b 0,#f5d52b 50%,#249d4b 0,#249d4b 75%,#1768d4 0)}.card-center{font-family:Barlow Condensed;font-size:47px;font-weight:900;line-height:1;text-shadow:2px 2px 0 #222}.corner{position:absolute;font-family:Barlow Condensed;font-size:14px;font-weight:900;line-height:1}.corner.top{top:5px;left:6px}.corner.bottom{bottom:5px;right:6px;transform:rotate(180deg)}.wild-mark{display:grid;place-items:center;background:#222;border-radius:50%;width:48px;height:48px;font-size:30px}.card-back{background:#e8e8e8;border-color:#fff}.card-back:before{content:"";position:absolute;top:5px;right:5px;bottom:5px;left:5px;border-radius:7px;background:#e5232e;border:3px solid white;transform:rotate(-7deg)}.card-back span{z-index:1;background:#f8d52b;color:#e5232e;font-family:Barlow Condensed;font-size:23px;font-weight:900;font-style:italic;padding:0 5px;transform:rotate(-15deg);border:2px solid white;border-radius:50%}.uno-card.small{width:30px;height:45px;border-width:2px;border-radius:5px}.uno-card.small .card-center{font-size:19px}.uno-card.small .corner{font-size:7px}.uno-card.small .corner.top{top:2px;left:3px}.uno-card.small .corner.bottom{bottom:2px;right:3px}.uno-card.small .card-back span{font-size:9px;padding:0 2px}.uno-card.small .card-back:before{top:2px;right:2px;bottom:2px;left:2px;border-width:1px}.muted-card{opacity:.5;filter:saturate(.7)}.pending-banner,.winner-banner{margin:14px auto 0;text-align:center;background:#f8d52b;color:#171717;padding:8px 15px;border-radius:20px;font-size:10px;font-weight:900;letter-spacing:1px;width:max-content;max-width:100%}.uno-banner{background:#ed252b;color:#fff}.winner-banner{background:#fff;color:#111;font-size:15px}.table-footer{position:absolute;bottom:20px;left:0;right:0;display:flex;justify-content:center;gap:25px;color:#a9c6b3;font-size:8px;letter-spacing:1.5px}.side-panel{background:#1b1c21;border:1px solid #303138;border-radius:10px;padding:18px;height:max-content}.score-row{display:flex;align-items:center;gap:9px;padding:11px 0;border-bottom:1px solid #303138}.score-row .avatar{width:30px;height:30px;font-size:9px}.score-name{display:grid;gap:3px;flex:1}.score-name b{font-size:10px}.score-name small{font-size:7px;color:#777;letter-spacing:1px}.score-row strong{font-size:15px;color:#f8d52b}.score-active{background:#292a2e;margin:0 -8px;padding:11px 8px;border-radius:6px}.rules-mini{border-top:1px solid #303138;margin-top:15px;padding-top:14px}.rules-mini b{font-size:9px;letter-spacing:1px;color:#f8d52b}.rules-mini p{font-size:9px;color:#888;line-height:1.6}.hand-section{grid-column:1/-1;background:#1a1b20;border:1px solid #303138;border-radius:12px;padding:16px 20px}.hand-head{display:flex;align-items:center;justify-content:space-between}.hand-head>div:first-child{display:flex;align-items:center;gap:12px}.hand-head b{font-size:10px;letter-spacing:1.5px}.hand-head span{color:#f8d52b;font-size:9px}.hand-actions{display:flex;gap:8px}.uno-btn,.draw-btn{border:0;border-radius:6px;padding:9px 17px;font-size:9px;font-weight:900;letter-spacing:1px;background:#ed252b;color:#fff}.draw-btn{background:#f8d52b;color:#171717}.hand-cards{display:flex;justify-content:center;gap:5px;overflow-x:auto;padding:22px 5px 12px;min-height:145px}.hand-cards .uno-card{width:67px;height:100px}.turn-hint{text-align:center;color:#888;font-size:9px;margin-top:3px}.chat-panel{position:fixed;z-index:10;right:20px;top:88px;bottom:20px;width:min(330px,calc(100vw - 40px));background:#1b1c21;border:1px solid #414249;border-radius:10px;box-shadow:0 20px 60px #000a;display:flex;flex-direction:column}.chat-head{display:flex;justify-content:space-between;padding:15px;border-bottom:1px solid #333}.chat-head b{font-size:10px;letter-spacing:1px}.chat-head button{background:none;border:0;color:#fff;font-size:22px}.chat-messages{padding:12px;overflow:auto;flex:1}.chat-msg{margin-bottom:12px}.chat-msg b{font-size:10px;color:#f8d52b}.chat-msg span{font-size:8px;color:#777;margin-left:8px}.chat-msg p{font-size:11px;color:#ddd;margin:4px 0}.chat-panel form{display:flex;padding:10px;gap:7px;border-top:1px solid #333}.chat-panel input{min-width:0;flex:1;background:#292a30;border:1px solid #414249;border-radius:6px;padding:10px;color:#fff}.chat-panel form button{background:#f8d52b;border:0;border-radius:6px;padding:0 12px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#000b;z-index:20;display:grid;place-items:center;padding:20px}.color-modal{width:min(400px,100%);background:#202126;border:1px solid #444;border-radius:14px;padding:28px;text-align:center}.color-modal h2{font-family:Barlow Condensed;font-size:45px;margin:12px 0 5px}.color-modal p{color:#999;font-size:12px}.color-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}.color-choice{border:0;border-radius:7px;padding:15px 8px;color:#fff;font-weight:900;font-size:11px}.color-choice.red{background:#ed252b}.color-choice.yellow{background:#e3bd12;color:#171717}.color-choice.green{background:#249d4b}.color-choice.blue{background:#1768d4}.toast{position:fixed;z-index:30;bottom:25px;left:50%;transform:translate(-50%);background:#f8d52b;color:#171717;padding:12px 18px;border-radius:7px;font-size:11px;font-weight:800;box-shadow:0 8px 25px #0008;max-width:calc(100vw - 30px)}@media(max-width:900px){.floating-cards{right:-4%;opacity:.4;transform:scale(.8) rotate(-5deg)}.hero{margin-left:2vw}.lobby{grid-template-columns:1fr 320px;gap:35px}.game-layout{grid-template-columns:1fr 210px}.table-area{padding:22px 25px;border-radius:120px}.active-color{right:6%}}@media(max-width:650px){.home-shell{padding:22px}.hero{margin:95px 0 30px}.hero h1{font-size:90px}.floating-cards{right:-120px;top:8%;transform:scale(.55) rotate(-5deg);opacity:.23}.home-foot{flex-wrap:wrap;gap:8px;font-size:7px}.room-shell{padding:0 12px 25px}.topbar{height:65px}.room-pill{gap:7px}.room-pill button{font-size:0;padding:8px}.room-pill button svg{width:15px}.top-actions .icon-btn{padding:8px}.top-actions .icon-btn span{display:none}.brand.compact>span{display:none}.lobby{margin:45px auto;grid-template-columns:1fr;gap:28px}.lobby h1{font-size:82px;margin:20px 0}.player-panel{padding:17px}.game-layout{display:flex;flex-direction:column;margin:12px auto;gap:12px}.table-area{min-height:410px;border-width:6px;border-radius:90px;padding:18px 12px}.opponents{gap:10px;margin-top:18px}.opponent{min-width:60px}.opponent .avatar{width:30px;height:30px}.opponent b{font-size:8px}.opponent>span{font-size:7px}.center-table{gap:17px;margin-top:35px}.center-table>.deck-stack .uno-card,.center-table>.discard-stack .uno-card{width:61px;height:92px}.center-table .card-center{font-size:39px}.active-color{position:static;margin:14px auto 0;width:max-content}.table-footer{bottom:14px;gap:13px;font-size:7px}.side-panel{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.side-title{grid-column:1/-1;margin-bottom:8px}.side-panel .score-row{padding:7px 0}.side-panel .rules-mini{grid-column:1/-1}.hand-section{padding:13px 10px}.hand-head{align-items:flex-start;gap:8px}.hand-head>div:first-child{display:grid;gap:4px}.hand-actions{gap:5px}.uno-btn,.draw-btn{padding:9px 11px;font-size:8px}.hand-cards{justify-content:flex-start;min-height:125px;gap:3px}.hand-cards .uno-card{width:54px;height:82px;border-width:3px}.hand-cards .card-center{font-size:36px}.hand-cards .corner{font-size:11px}.chat-panel{right:10px;top:74px;bottom:10px;width:calc(100vw - 20px)}.pending-banner{font-size:8px}.room-pill b{font-size:14px}}.auth-profile{position:absolute;z-index:3;right:clamp(20px,6vw,90px);top:30px;height:42px;display:flex;align-items:center;gap:9px;border:1px solid #34353b;background:#1b1c21;color:#ddd;border-radius:22px;padding:5px 9px 5px 5px}.auth-profile>span{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#f8d52b;color:#171717;font-size:10px;font-weight:900}.auth-profile b{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.auth-panel{width:min(360px,100%);margin-top:28px;display:grid;gap:8px;padding:14px;border:1px solid #34353b;background:#1a1b20;border-radius:10px}.auth-heading{display:grid;gap:3px;margin-bottom:3px}.auth-heading b{font-size:11px;letter-spacing:1px}.auth-heading span{font-size:9px;color:#92949c}.oauth-btn{height:46px;border-radius:7px;border:1px solid #3a3b42;color:#fff;background:#27282e;font-weight:850;font-size:10px;letter-spacing:.5px;display:flex;align-items:center;justify-content:center;gap:9px}.oauth-btn:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.08)}.oauth-mark{width:21px;height:21px;border-radius:50%;display:grid;place-items:center;font-size:14px;font-weight:900}.google{background:#fff;color:#202124;border-color:#fff}.google .oauth-mark{color:#4285f4;font-family:Arial}.facebook{background:#1877f2;border-color:#1877f2}.facebook .oauth-mark{background:#fff;color:#1877f2;font-family:Arial}.github{background:#24292f;border-color:#4a4d55}.auth-panel small{color:#777;font-size:8px;text-align:center;margin-top:3px}.auth-loading{height:46px;margin-top:28px;color:#aaa;font-size:9px;font-weight:800;letter-spacing:1.5px}@media(max-width:650px){.home-shell{min-height:100dvh;padding:18px}.brand{height:34px}.brand-logo{font-size:19px}.auth-profile{right:18px;top:18px;height:38px}.auth-profile b{display:none}.auth-profile>span{width:28px;height:28px}.hero{margin:54px 0 20px}.hero h1{font-size:clamp(64px,20vw,82px);letter-spacing:-2px}.hero p{font-size:12px;line-height:1.55}.auth-panel,.home-form{width:100%;max-width:none;margin-top:18px}.auth-panel{padding:12px}.oauth-btn{height:48px}.room-shell{padding:0 8px 18px}.topbar{height:58px;gap:6px}.room-pill{margin-left:auto}.room-pill>button{display:none}.top-actions{gap:4px}.top-actions .icon-btn{width:38px;height:38px;padding:0;justify-content:center}.top-actions .icon-btn.leave{width:38px}.game-layout{margin:8px auto}.table-area{min-height:380px;height:calc(100dvh - 230px);max-height:520px;border-radius:70px;padding:14px 8px}.game-status{min-height:20px}.turn-chip{max-width:105px;text-align:right}.opponents{gap:5px;height:92px;align-content:flex-start}.opponent{min-width:48px}.opponent b{max-width:52px;overflow:hidden;text-overflow:ellipsis}.mini-hand{height:31px}.center-table{gap:12px;margin-top:12px}.center-table>.deck-stack .uno-card,.center-table>.discard-stack .uno-card{width:58px;height:87px}.active-color{margin-top:8px;padding:7px 10px}.hand-section{position:sticky;bottom:0;z-index:4;min-height:145px;padding:10px 8px}.hand-head{margin-bottom:8px}.hand-cards{overflow-x:auto;overflow-y:hidden;min-height:94px;padding:3px 2px 7px;scroll-snap-type:x proximity}.hand-cards .uno-card{flex:0 0 52px;width:52px;height:78px;scroll-snap-align:start}.turn-hint{bottom:-2px}.lobby{margin:24px auto}.lobby h1{font-size:64px}.big-code{width:100%;max-width:none;font-size:38px}.start-btn{width:100%}.chat-panel{top:66px}.winner-banner,.pending-banner{font-size:9px;max-width:75%;text-align:center}.color-modal{width:calc(100vw - 24px);padding:22px 16px}.color-options{grid-template-columns:1fr 1fr}}@media(max-width:380px){.hero{margin-top:42px}.hero h1{font-size:60px}.table-area{height:365px}.hand-actions{gap:3px}.uno-btn,.draw-btn{padding:8px}.hand-cards .uno-card{flex-basis:48px;width:48px}.top-actions .icon-btn{width:34px}.room-pill b{font-size:12px}}
