:root{color:#f5f0e5;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#0c0e12;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:400}*{box-sizing:border-box}body{min-width:280px;min-height:100vh;margin:0}button{font:inherit;cursor:pointer}button:focus-visible{outline-offset:3px;outline:2px solid #fff}button:active{transform:scale(.98)}#root{min-height:100dvh}.arena{background:radial-gradient(at 50% 27%,#27302a 0%,#15191b 36%,#101217 70%);border-inline:1px solid #ffffff0b;flex-direction:column;max-width:480px;min-height:100dvh;margin:auto;display:flex}.top{border-bottom:1px solid #ffffff10;align-items:center;gap:12px;padding:22px 20px;display:flex}.avatar{color:#e5c27b;background:#292821;border:1px solid #a68a4b;border-radius:50%;place-items:center;width:46px;height:46px;font-size:26px;display:grid}.identity{flex:1}.identity strong,.identity small{display:block}.identity small,small,.hint{color:#a5a6aa;font-size:12px}.version,.eyebrow{color:#c9a764;letter-spacing:2px;font-size:11px}.version{letter-spacing:0;border:1px solid #645335;border-radius:20px;padding:6px 9px}main{flex:1;padding:24px 20px}.hero{text-align:center;padding:18px 0 25px}.cards{isolation:isolate;place-items:center;height:210px;display:grid;position:relative}.cards:before{content:"";z-index:-1;background:#193a2b;border:2px solid #536044;border-radius:50%;width:90%;height:130px;position:absolute;box-shadow:0 12px 30px #0007}.playing-card{color:#191a1d;text-align:left;background:linear-gradient(140deg,#fffdf4,#e8e1d1);border:1px solid #cfc2a1;border-radius:9px;width:91px;height:132px;padding:9px;font-size:16px;font-weight:700;line-height:1;position:absolute;box-shadow:0 7px 18px #0006}.playing-card.red{color:#ac303a}.playing-card b{place-items:center;font-size:44px;display:grid;position:absolute;inset:0}.corner{position:absolute;bottom:9px;right:9px;transform:rotate(180deg)}h1{letter-spacing:3px;margin:0;font-size:clamp(28px,8vw,40px);font-weight:900}h1 em{color:#e4c078;font-style:normal}p{color:#b4b5b8;line-height:1.55}.hero p{margin:8px 0}.primary,.secondary{border-radius:13px;width:100%;margin-bottom:12px;padding:17px 12px;font-weight:700}.primary{color:#1a160f;background:linear-gradient(110deg,#f1d28d,#be9650);border:1px solid #ebcd89;box-shadow:0 5px 25px #caa35d22}.secondary,.tiles button{color:#f4efe5;background:#1b1f26;border:1px solid #343841}.tiles{grid-template-columns:1fr 1fr;gap:12px;display:grid}.tiles button{border-radius:14px;justify-items:center;gap:6px;padding:18px 8px;display:grid}.tiles b{color:#dbb771;font-size:28px}.hint{text-align:center;margin:20px 0}.panel h2{margin:14px 0;font-size:29px}.notice{background:#282720;border:1px solid #665637;border-radius:10px;padding:14px}.stats{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.stats div{text-align:center;background:#1e2228;border-radius:12px;padding:16px 5px}.stats strong,.stats small{display:block}.stats strong{color:#e5c27b;font-size:26px}nav{padding:10px 6px max(10px,env(safe-area-inset-bottom));background:#111419;border-top:1px solid #2a2d32;grid-template-columns:repeat(4,1fr);display:grid;position:sticky;bottom:0}nav button{color:#979aa2;background:0 0;border:0;justify-items:center;gap:5px;padding:8px 2px;font-size:11px;display:grid}nav button span{font-size:25px;line-height:1}nav button.active{color:#e8c47e}@media (width<=350px){main,.top{padding-inline:13px}.cards{height:185px}.playing-card{width:75px;height:112px}}.arena{height:100dvh;min-height:0;overflow:hidden}.top{flex-shrink:0;padding:10px 16px}.avatar{width:36px;height:36px;font-size:21px}main{flex:1;min-height:0;padding:12px 16px;overflow:auto}.hero{padding:3px 0 10px}.cards{height:145px}.cards:before{height:82px}.playing-card{width:68px;height:98px;padding:7px;font-size:13px}.playing-card b{font-size:32px}.hero h1{font-size:clamp(25px,7vw,34px)}.hero p{margin:4px 0;font-size:13px}.primary,.secondary{min-height:42px;margin-bottom:8px;padding:12px 8px}.tiles{gap:8px}.tiles button{gap:2px;padding:8px 4px}.tiles b{font-size:21px}.hint{margin:8px 0;font-size:11px}nav{padding:4px 6px max(4px,env(safe-area-inset-bottom));flex-shrink:0;position:static}nav button{gap:3px;padding:5px 2px}.panel{padding:8px 0}.practice{gap:9px;display:grid}.game-head{align-items:center;gap:12px;display:flex}.game-head button{width:auto;min-height:34px;margin:0;padding:6px 12px}.opponent{text-align:center;color:#ddd;font-size:13px}.backs{justify-content:center;margin:5px;display:flex}.backs i{background:repeating-linear-gradient(45deg,#26394b 0 4px,#34495e 4px 6px);border:1px solid #b49b65;border-radius:4px;width:24px;height:34px;margin-left:-7px;display:block}.felt{text-align:center;background:radial-gradient(#24543d,#123027);border:2px solid #8e7950;border-radius:40px;align-content:space-between;gap:10px;min-height:156px;padding:12px;display:grid}.felt small,.felt strong{color:#e6dbc4}.pairs{flex-wrap:wrap;justify-content:center;gap:6px;min-height:64px;display:flex}.pair{width:57px;height:73px;position:relative}.face{color:#16191d;background:#f8f2e4;border:1px solid #cfc2a1;border-radius:6px;align-content:center;justify-items:center;width:44px;height:61px;padding:4px;font-weight:700;line-height:1.15;display:grid;box-shadow:0 3px 6px #0005}.face.red{color:#a72939}.cover{position:absolute;top:11px;left:13px;transform:rotate(9deg)}.hand{flex-wrap:wrap;justify-content:center;gap:5px;display:flex}.hand-label{color:#cbbd9e;font-size:12px}.actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}button:disabled{opacity:.45;cursor:default;transform:none}.hand button:not(:disabled){outline:1px solid #e8c47e}.practice>small{text-align:center;font-size:10px}@media (height<=700px){.cards{height:120px}.playing-card{width:60px;height:85px}.hero{padding-bottom:5px}.hero p{margin:3px 0}.top,main{padding-block:8px}.tiles button{padding-block:6px}.hint{margin:5px 0}}.on-home main{flex-direction:column;justify-content:space-between;gap:8px;padding:12px 16px 16px;display:flex}.on-home .hero{flex-direction:column;flex:1;justify-content:center;min-height:180px;padding:4px 0 8px;display:flex}.on-home .cards{flex-shrink:0;height:clamp(110px,21dvh,190px)}.on-home .primary,.on-home .secondary{flex-shrink:0;min-height:58px;margin:0;padding:14px 10px;font-size:16px}.on-home .tiles{flex-shrink:0;gap:10px}.on-home .tiles button{min-height:90px;padding:12px 6px;font-size:16px}.on-home .hint{flex-shrink:0;margin:3px 0;font-size:11px}nav button{min-height:54px;font-size:12px}nav button span{font-size:23px}.in-game .top{padding-block:8px}.in-game main{flex-direction:column;padding:10px 12px 14px;display:flex}.practice{flex-direction:column;flex:1;gap:10px;min-height:0;display:flex}.game-head button{min-height:44px}.opponent{padding:3px 0}.backs i,.deck-back{background:repeating-linear-gradient(45deg,#26394b 0 4px,#34495e 4px 6px);border:1px solid #b49b65;border-radius:5px}.felt{background:radial-gradient(#285d43,#113428);border-radius:36px;flex:1;align-content:space-between;min-height:185px;padding:14px 10px;position:relative;box-shadow:inset 0 0 28px #0005,0 6px 15px #0004}.felt strong[role=status]{padding:4px;font-size:16px}.deck-info{text-align:left;align-items:center;gap:8px;display:flex}.deck-stack{flex-shrink:0;width:59px;height:53px;position:relative}.deck-stack:empty{display:none}.deck-stack .trump-card{width:33px;height:46px;font-size:12px;position:absolute;top:3px;left:17px;transform:rotate(22deg)}.trump-card b{font-size:17px}.deck-back{width:33px;height:46px;position:absolute;top:0;left:0;box-shadow:2px 3px #806d48}.deck-info .red{color:#f0a3ab}.pairs{gap:9px;min-height:80px}.pair{width:64px;height:83px}.face{width:50px;height:70px;font-size:17px}.face b{font-size:27px}.cover{top:12px;left:14px}.hand{justify-content:center;gap:6px;padding:6px 1px 9px}.hand .face{flex-shrink:0;width:clamp(42px,12vw,59px);height:clamp(62px,17vw,84px);transition:transform .15s,box-shadow .15s}.hand button:not(:disabled){outline:2px solid #e8c47e;transform:translateY(-3px);box-shadow:0 0 10px #e8c47e55}.hand button:not(:disabled):active{transform:translateY(-9px)}.hand button:disabled{opacity:.55}.hand-label{font-size:14px}.actions{flex-shrink:0;gap:10px}.actions button,.result-panel button{min-height:60px;margin:0;padding:14px 8px;font-size:18px}.practice>small{padding-bottom:env(safe-area-inset-bottom);font-size:11px}.result-panel{text-align:center;gap:8px;display:grid}.result-panel h2{color:#e8c47e;margin:0;font-size:23px}@keyframes appear{0%{opacity:.4;scale:.9}to{opacity:1;scale:1}}@media (height<=700px){.on-home main{gap:6px;padding-block:8px}.on-home .hero{min-height:145px}.on-home .cards{height:110px}.on-home .primary,.on-home .secondary{min-height:50px;padding:10px 8px}.on-home .tiles button{min-height:70px;padding:7px 4px}.on-home .hint{margin:0}.practice{gap:6px}.felt{min-height:160px}.actions button{min-height:52px}.hand .face{height:64px}.in-game main{padding-block:7px}.opponent{padding:0}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.game-head .gear{min-width:44px;margin-left:auto;padding:4px 10px;font-size:23px}.game-settings{background:#23262a;border:1px solid #665637;border-radius:12px;gap:12px;padding:12px;display:grid}.game-settings label{align-items:center;gap:10px;font-size:14px;display:flex}.game-settings input{accent-color:#d6b36d;width:20px;height:20px}.game-settings button{margin:0}.felt{background:radial-gradient(at 50% 40%,#34735455,#0000 75%),repeating-linear-gradient(45deg,#ffffff06 0 1px,#0000 1px 3px),#173e30;border:2px solid #b69a61;border-radius:32px;box-shadow:inset 0 0 0 4px #102e25,inset 0 0 0 5px #9f895555,inset 0 0 35px #0006,0 6px 15px #0004}.deck-stack{width:83px;height:54px}.deck-stack .trump-card{z-index:1;width:36px;height:49px;top:2px;left:36px;transform:rotate(12deg)}.deck-back{width:35px;height:49px;left:2px;box-shadow:2px 3px #806d48,4px 5px #332e23}.deck-info .trump-card.red{color:#a72939}.turn-clock{text-align:right;color:#e5c27b;width:62px;margin-left:auto;font-size:13px}.turn-clock.urgent{color:#ffb1a3}.clock-track{background:#0005;border-radius:4px;height:4px;margin-top:5px;overflow:hidden}.clock-track i{background:currentColor;height:100%;transition:width .2s linear;display:block}.face{background:linear-gradient(140deg,#fffdf4,#e9e3d3);align-content:center;place-items:center;padding:0;display:grid;position:relative;overflow:hidden}.card-corner{text-align:center;font-size:11px;font-weight:800;line-height:1;position:absolute;top:3px;left:4px}.card-corner small{color:inherit;font-size:10px;line-height:1;display:block}.card-corner.reverse{inset:auto 4px 3px auto;transform:rotate(180deg)}.court-art{filter:drop-shadow(0 1px 1px #0002);width:60%;height:65%;max-height:48px}.face .card-pip{font-size:clamp(20px,7vw,32px)}.pair .face{animation:.22s ease-out deal-in}.pair .cover{position:absolute;top:12px;left:14px;transform:rotate(9deg)}@keyframes deal-in{0%{opacity:.2;translate:0 12px;scale:.85}to{opacity:1;translate:0;scale:1}}.hand-label{justify-content:space-between;align-items:center;gap:6px;display:flex}.hand-label small{text-align:right;font-size:10px}.hand.fan{scrollbar-width:thin;flex-wrap:nowrap;flex-shrink:0;justify-content:center;gap:0;min-height:88px;padding:13px 10px 9px;display:flex;overflow:auto hidden}.hand.fan .face{flex-shrink:0;width:clamp(43px,13vw,60px);height:clamp(65px,18vw,87px);margin-left:-3px;transition:transform .15s,box-shadow .15s;animation:.2s ease-out hand-in}.hand.fan .face:first-child{margin-left:0}.hand.fan.many{justify-content:flex-start}.hand.fan .face.chosen{z-index:2;outline:2px solid #fff0b0;box-shadow:0 0 15px #edca77}.hand.fan .face:disabled{opacity:.7}.play-selected{flex-shrink:0;min-height:48px;margin:0;font-size:16px}.actions button{min-height:54px}.practice>small{margin-top:0}.felt{min-height:185px}.deck-stack .card-corner{font-size:9px}.deck-stack .card-corner small{font-size:8px}.deck-stack .face .card-pip{font-size:19px}@keyframes hand-in{0%{opacity:.4;translate:0 8px}to{opacity:1;translate:0}}@media (height<=700px){.in-game .top{display:none}.practice{gap:5px}.felt{min-height:155px;padding:9px}.pairs{gap:6px;min-height:64px}.pair{width:56px;height:71px}.pair .face{width:43px;height:59px}.pair .cover{top:9px;left:11px}.hand.fan{min-height:76px;padding:10px 7px 5px}.hand.fan .face{height:64px}.play-selected{min-height:44px;padding:9px}.actions button{min-height:48px;padding:9px}.game-head button{min-height:40px}.opponent .backs i{width:20px;height:27px}.opponent .backs{margin:3px}.felt strong[role=status]{font-size:14px}.practice>small{font-size:10px}.deck-stack{height:49px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.room-code{color:#fff;width:100%;min-height:54px;font:inherit;text-transform:uppercase;background:#171b20;border:1px solid #665b43;border-radius:12px;margin:10px 0;padding:12px}.hand.fan.adaptive-hand{box-sizing:border-box;flex-wrap:nowrap;justify-content:center;align-items:flex-end;gap:0;width:100%;max-width:100%;padding:18px 4px 12px;display:flex;overflow:visible}.hand.fan.adaptive-hand .face{flex-shrink:1;min-width:0;max-width:100%;padding:2px;transition:transform .2s}.hand.fan.adaptive-hand .face.chosen{z-index:100;position:relative}@media (width<=420px){.hand.fan.adaptive-hand .face{height:85px}}.hand.fan,.hand.fan.many,.hand.fan.adaptive-hand{box-sizing:border-box;flex-wrap:nowrap!important;justify-content:center!important;gap:0!important;width:100%!important;min-width:0!important;max-width:100%!important;padding:18px 4px 12px!important;display:flex!important;overflow:visible!important}.hand.fan>.face{position:relative;flex:1 1 0!important;width:0!important;min-width:0!important;max-width:78px!important;margin-left:0!important;padding:2px!important;rotate:0deg!important}.hand.fan>.face.chosen{z-index:100!important}.hand-label small{display:none}
