@font-face{font-family:Manrope;src:url('./assets/fonts/Manrope.ttf') format('truetype');font-weight:200 800;font-display:swap}
:root{font-family:Manrope,Arial,sans-serif;color:#f4f7ee;background:#0d130f;--gold:#d1fc7a;--cream:#f4f7ee;--muted:#8d9e90;--border:#ffffff12;--shadow:none;--lime:#d1fc7a}
body{background:#0d130f}#app{background:#121b16;box-shadow:0 0 120px #0005;border-color:#ffffff08}#app::before{display:none}.screen{padding-top:calc(22px + env(safe-area-inset-top));animation:none}.icon{stroke-width:1.8}.topbar h1{font-family:Manrope,Arial,sans-serif;font-size:20px;font-weight:700;letter-spacing:-.6px;text-shadow:none}.icon-button{background:#ffffff06;border:1px solid #ffffff0c;border-radius:16px;box-shadow:none;color:#d5e1d2;transition:transform .2s,background .2s}.icon-button:active{background:#3b4e3b;transform:scale(.9)}.button{font-family:inherit;font-size:17px;font-weight:750;background:#293a2e;border:1px solid #ffffff12;box-shadow:none;text-shadow:none;border-radius:18px;transition:transform .22s cubic-bezier(.2,.8,.2,1)}.button.primary{background:var(--lime);border:0;color:#1a2c12;box-shadow:0 5px 20px #d1fc7a0b}.button:active:not(:disabled){transform:scale(.96);filter:none}.button:disabled{opacity:.25}.button .icon{width:21px;height:21px}.text-button,.quiet-button{color:#92a88e;font-family:inherit;font-size:12px;font-weight:600}.quiet-button:hover,.text-button:hover{color:var(--lime)}input{font-family:inherit;background:#111d15;color:#e2ecd8;border-color:#ffffff16;border-radius:15px}input:focus{border-color:var(--lime)}input::placeholder{color:#799076}
.home-screen{display:flex;align-items:stretch;background:radial-gradient(ellipse at 75% 42%,#2e483529,transparent 56%),#121b16;padding-left:24px;padding-right:24px}.home-top{display:flex;justify-content:space-between;align-items:center}.header-tools{display:flex;gap:10px}.home-top .icon-button{background:#ffffff04}.app-mark{display:grid;place-items:center;width:46px;height:46px;background:var(--lime);color:#253c13;border-radius:16px;transform:rotate(-8deg)}.app-mark .icon{fill:currentColor;stroke:none;width:25px;height:25px}.brand{width:100%;text-align:left;margin-top:35px}.brand .eyebrow{font-size:10px;font-weight:800;letter-spacing:3px;color:#829d73;display:block;margin-bottom:10px}.brand h1{font-family:Manrope,Arial,sans-serif;font-weight:800;font-size:clamp(74px,21vw,95px);line-height:1.05;letter-spacing:-5px;color:#f1f5e9;background:none;filter:none}.brand h1>span{display:inline-block;vertical-align:top;font-size:20px;color:var(--lime);margin:14px 0 0 8px;letter-spacing:0}.brand p{font-size:13px;color:#8da285;margin-top:14px}.hero-stage{position:relative;width:calc(100% + 48px);height:clamp(250px,34svh,310px);margin:8px -24px 0}.hero-cards{position:absolute;inset:0;width:100%;height:100%;margin:0}.hero-cards .card{--card-w:116px;--card-h:163px;left:calc(50% - 58px);top:64px;border-radius:9px;box-shadow:0 20px 27px #0006;animation:float-card 6s ease-in-out infinite;animation-delay:calc(var(--i)*-.7s)}.hero-cards .card:nth-child(2){top:44px}.hero-cards .card:nth-child(3){top:65px}.orbit{position:absolute;left:50%;top:47%;width:440px;height:165px;border:1px solid #b9d99613;border-radius:50%;transform:translate(-50%,-50%) rotate(-23deg)}.orbit-two{width:540px;height:225px}.hero-label{position:absolute;bottom:20px;left:35px;display:flex;align-items:center;gap:8px;font-size:11px;color:#8ba178}.hero-label .icon{width:15px;height:15px}.hero-suit{position:absolute;right:29px;bottom:22px;font-size:40px;color:var(--lime);transform:rotate(17deg)}.home-actions{display:grid;width:100%;max-width:none;gap:12px;margin-top:auto}.mode-card{display:flex;align-items:center;gap:14px;width:100%;min-height:88px;padding:18px 18px 18px 16px;background:#25372a;border:1px solid #ffffff09;border-radius:22px;text-align:left;transition:transform .22s cubic-bezier(.2,.8,.2,1)}.mode-card:active{transform:scale(.97)}.mode-card.primary{background:var(--lime);border-color:transparent;color:#21320e}.mode-icon{display:grid;place-items:center;flex-shrink:0;width:45px;height:45px;border-radius:15px;background:#15291510}.online-card .mode-icon{color:#d4efb8;background:#ffffff08}.mode-copy{flex:1;min-width:0}.mode-copy strong{display:block;font-size:20px;font-weight:800;letter-spacing:-.65px}.mode-copy small{display:block;font-size:11px;margin-top:5px;opacity:.6}.mode-card>.icon{width:20px;height:20px}.home-footer{width:100%;max-width:none;margin-top:0;padding-top:24px}.home-footer .icon{width:17px;height:17px}.home-footer .quiet-button:last-child .icon{width:14px}
.card{padding:0;border:0;background:#fff;border-radius:7px;overflow:hidden;box-shadow:0 3px 8px #0005}.card img{display:block;width:100%;height:100%;object-fit:fill;pointer-events:none;user-select:none}.card.back{border:0;background:#e9f4dc;box-shadow:0 3px 7px #0005}.card.back img{opacity:.82}.flying-card{position:fixed;z-index:25;pointer-events:none}.flying-card .card{width:100%;height:100%;transform:none!important}.panel{background:#1e2e22;border:1px solid #ffffff0b;box-shadow:none;border-radius:24px}.page-intro{text-align:left;margin:35px 0 28px}.page-intro>.icon{margin:0 0 18px;color:var(--lime);width:36px;height:36px}.page-intro h2{font-family:Manrope,Arial,sans-serif;font-size:33px;font-weight:800;line-height:1.15;letter-spacing:-1.3px}.page-intro p{font-size:13px}.option>label{font-size:12px;font-weight:600;color:#90a488}.segments{background:#111d15;border-color:#ffffff05;border-radius:14px;gap:4px}.segments button{font-family:inherit;font-size:14px;font-weight:650;min-height:44px;border:0;border-radius:10px;color:#839a7c}.segments button.active{color:#1b2c10;background:#d2e8be;border:0;box-shadow:none}.join-row input{background:#1c2c20}.join-row .icon-button{color:var(--lime)}.lobby-code>button{font-family:Manrope,Arial,sans-serif;font-size:36px;font-weight:800;color:var(--lime)}.lobby-player{border-color:#ffffff0a;font-size:14px;font-weight:650}.avatar{font-family:inherit;font-weight:750;border-radius:14px;border:1px solid #ffffff15;box-shadow:none;background:#446a4c;color:#d1edc5}.avatar-1{background:#355d50}.avatar-2{background:#624b70}.avatar-3{background:#365d70}.avatar-4{background:#78633f}.avatar-5{background:#74444a}.lobby-summary{font-size:12px;color:#90a488}.eyebrow,.micro{color:#8aa07f}.spinner{border-color:#d2ef8c18;border-top-color:var(--lime)}
.game-screen{padding-top:calc(14px + env(safe-area-inset-top));background:radial-gradient(ellipse at 50% 40%,#294732,#162b1d 72%)}.game-screen .topbar h1{font-size:15px;font-family:inherit;letter-spacing:0;color:#98b090}.game-screen .topbar .icon-button{background:#ffffff05;border:1px solid #ffffff09;border-radius:14px}.player-badge{background:#172a1ef2;border:1px solid #ffffff0b;border-radius:19px;box-shadow:none}.player-badge strong{font-size:13px;font-weight:750}.player-badge>div>span{font-size:10px;color:#839e7f}.current .player-badge{border-color:#d1fc7a7a;box-shadow:0 0 0 3px #d1fc7a08}.current .avatar{background:#d2ed9d;color:#263c15}.opponent-hand .card{border:0;box-shadow:1px 3px 5px #0005}.table-inner{border-color:#c6e4ae12;border-radius:35px;background:#0f2b1520;box-shadow:none}.table-pair .card{animation:none}.table-pair.targeted:not(:disabled)::after{border:2px solid #d1fc7ac4}.table-pair .cover{box-shadow:0 3px 8px #0005}.empty-table{color:#bdde9d17}.empty-table .icon{stroke-width:1}.deck-back{border:0!important;box-shadow:0 2px 0 #a5bd8a,0 3px 0 #385738,0 5px 0 #a2b784,0 6px 0 #345133,0 8px 8px #0005!important}.deck-count{font-size:11px;font-weight:700;color:#9bb88a}.turn-line{font-size:12px;font-weight:600;min-height:36px;padding:4px 14px;border-radius:24px;margin:4px auto;background:#d1fc7a0a;color:#c4deb2;max-width:100%;letter-spacing:0}.turn-dot{background:#81977a}.turn-dot.my-turn{background:var(--lime);box-shadow:0 0 0 4px #d1fc7a0a;animation:turn-pulse 2s infinite}.turn-clock{font-size:10px;color:#a0b58b}.my-zone{margin-top:12px}.my-label{font-size:12px;font-weight:700;color:#d4e9c1}.my-label small{border-color:#cee99716;background:#cee99709;color:#8fac7b;border-radius:8px}.hand .card{--card-h:127px;border:0;transition:filter .2s,box-shadow .2s}.hand .card:disabled{filter:brightness(.83) saturate(.7)}.hand .card.playable{box-shadow:0 0 0 1px #d1fc7a66,0 6px 12px #0005}.hand .card.selected{box-shadow:0 0 0 3px var(--lime),0 10px 20px #0005;filter:brightness(1)}.game-actions .button{font-size:16px;border-radius:17px;min-height:55px}.game-actions .button.secondary{background:#ffffff08;border:1px solid #ffffff0b}.trump-hint{color:#bad3a0}.trump-hint.red{color:#df8c78}.connection-banner{background:#605326;border-color:#cab34444;font-size:12px;border-radius:13px}
.modal-backdrop,.result-overlay{background:#06110bb0;backdrop-filter:blur(12px)}.modal{background:#1d2f22;border:1px solid #ffffff10;border-radius:30px 30px 0 0;box-shadow:0 -15px 60px #0005;animation:modern-sheet .35s cubic-bezier(.2,.8,.2,1)}.modal>.icon-button{border-radius:12px;background:#ffffff06}.modal h2{font-family:Manrope,Arial,sans-serif;font-weight:800;font-size:27px;letter-spacing:-1px}.modal h3{color:#d6e9c0;font-size:15px}.modal p{font-size:13px;color:#a6be9a;line-height:1.8}.input-label{font-size:12px;color:#99b18b}.toggle-row{font-size:15px;font-weight:650;border-color:#ffffff0b}.toggle-row>.icon{color:#b0d28f}.switch{background:#0e1b12;border-color:#a2c27e22;height:30px;width:52px}.switch::before{box-shadow:none;background:#617a54;width:22px;height:22px;left:4px;top:3px}.switch.on{background:var(--lime);border-color:transparent}.switch.on::before{background:#2c4416}.server-details{color:#89a379}.server-details summary{font-size:12px}.stats-grid b{font-family:inherit;font-weight:800;font-size:43px;color:var(--lime);letter-spacing:-2px}.stats-grid span{color:#95b082}.result-card{background:#243d25;border:1px solid #ccea8d22;border-radius:30px;box-shadow:0 25px 70px #0005;animation:modern-result .5s cubic-bezier(.2,.8,.2,1)}.result-symbol{display:grid;place-items:center;width:90px;height:90px;margin:0 auto 26px;background:#d1fc7a0d;border:1px solid #d1fc7a16;border-radius:29px;transform:rotate(-6deg)}.result-symbol .icon{margin:0;width:44px;height:44px;color:var(--lime);transform:rotate(6deg)}.result-card h2{font-family:inherit;font-size:32px;font-weight:800;letter-spacing:-1.3px}.result-card p{color:#a8c692;font-size:13px}#toast{font-size:12px;font-weight:650;background:#dfefc7;color:#223818;box-shadow:0 8px 25px #0005;border-radius:14px}
@keyframes float-card{0%,100%{translate:0 0}50%{translate:0 -8px}}@keyframes turn-pulse{50%{box-shadow:0 0 0 6px #d1fc7a04}}@keyframes modern-sheet{from{translate:0 70px;opacity:.2}to{translate:0 0;opacity:1}}@keyframes modern-result{from{transform:scale(.85) translateY(20px);opacity:0}to{transform:scale(1);opacity:1}}
@media(min-width:700px){body{background:radial-gradient(ellipse at 50% 40%,#293d2a,#0b120e 70%)}.modal{border-radius:30px}}
@media(max-height:740px){.brand{margin-top:23px}.brand h1{font-size:69px}.brand p{margin-top:11px;font-size:12px}.hero-stage{height:220px}.hero-cards .card{--card-w:103px;--card-h:144px;left:calc(50% - 51.5px);top:46px}.hero-cards .card:nth-child(2){top:27px}.hero-cards .card:nth-child(3){top:48px}.mode-card{min-height:76px;padding:14px 16px}.mode-copy strong{font-size:18px}.mode-icon{width:40px;height:40px}.home-footer{padding-top:17px}.page-intro{margin:24px 0 22px}.page-intro h2{font-size:29px}.hand .card{--card-h:110px}.game-actions .button{min-height:49px}.turn-line{min-height:29px;font-size:11px}.my-zone{margin-top:8px}.game-screen{padding-top:10px}}
@media(max-width:365px){.hero-cards .card{--card-w:100px;--card-h:140px;left:calc(50% - 50px)}.mode-copy strong{font-size:17px}.mode-copy small{font-size:10px}.mode-card{gap:12px}.segments button{font-size:12px}.game-actions .button{font-size:14px}.hand .card{--card-h:112px}.game-screen .topbar h1{font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
