/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.container{width:100%}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.border{border-style:var(--tw-border-style);border-width:1px}.uppercase{text-transform:uppercase}.italic{font-style:italic}.underline{text-decoration-line:underline}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:focus-visible{outline-offset:2px;border-radius:4px;outline:2px solid #4f46e5}button:focus-visible{outline-offset:2px;outline:2px solid #4f46e5;box-shadow:0 0 0 4px #4f46e533}input:focus-visible{outline-offset:0;outline:2px solid #4f46e5}:root{--text-xs:12px;--text-sm:14px;--text-base:16px;--text-lg:18px;--text-xl:20px;--text-2xl:24px;--heading-lg:34px;--heading-xl:48px;font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif}body{background-color:#f5f5f5}.table-felt{background-color:#35654d;background-image:url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%232a523e' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/svg%3E")}.help-fab{bottom:max(env(safe-area-inset-bottom,0px), 12px);z-index:9000;cursor:pointer;width:36px;height:36px;font-size:var(--text-lg);color:#666;background-color:#ffffffe6;border:2px solid #00000026;border-radius:50%;justify-content:center;align-items:center;font-weight:700;display:flex;position:fixed;right:12px;box-shadow:0 2px 6px #00000026}@media (width<=639px){.help-fab.help-fab--playing{bottom:max(env(safe-area-inset-bottom,0px), 12px)}}@media (width<=639px) and (height<=500px){.help-fab.help-fab--playing{bottom:max(env(safe-area-inset-bottom,0px), 10px)}.help-fab{width:28px;height:28px;font-size:14px}}.spectating-banner{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:#fff;text-align:center;z-index:9999;pointer-events:none;white-space:nowrap;text-overflow:ellipsis;background-color:#795548d1;border-radius:999px;max-width:min(260px,100vw - 20px);padding:4px 10px;font-size:10px;font-weight:600;position:fixed;top:10px;right:10px;overflow:hidden}@keyframes card-shake{0%,to{transform:translate(0)}25%{transform:translate(-4px)}75%{transform:translate(4px)}}.card-shake{animation:.3s ease-in-out card-shake}@keyframes fadeIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes popIn{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes cardFlash{0%,to{transform:scale(1);box-shadow:0 0 #fbbf2400}50%{transform:scale(1.05);box-shadow:0 0 30px #fbbf24cc}}@keyframes perfectFitPop{0%{opacity:0;transform:translate(-50%,-50%)scale(.5)}20%{opacity:1;transform:translate(-50%,-50%)scale(1.1)}40%{transform:translate(-50%,-50%)scale(1)}80%{opacity:1}to{opacity:0;transform:translate(-50%,-50%)scale(1)translateY(-10px)}}@keyframes pulse{0%,to{transform:scale(1);box-shadow:0 3px 8px #ff980066}50%{transform:scale(1.05);box-shadow:0 5px 16px #ff980099}}@keyframes slideDown{0%{opacity:0;transform:translate(-50%)translateY(-20px)}to{opacity:1;transform:translate(-50%)translateY(0)}}.animate-bounce-in{animation:.3s cubic-bezier(.18,.89,.32,1.28) forwards fadeIn}.text-shadow{text-shadow:0 2px 4px #00000080}.shadow-glow{box-shadow:0 0 15px #ffffff4d}.shadow-glow-gold{box-shadow:0 0 15px #fbbf2480}.shadow-glow-green{box-shadow:0 0 15px #10b98180}.card-face{-webkit-user-select:none;user-select:none;-webkit-user-drag:none;background-color:#fff;border:1px solid #d1d5db;border-radius:.5rem;justify-content:center;align-items:center;transition:transform .2s ease-out,box-shadow .2s;display:flex;position:relative;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.card-back{background:repeating-linear-gradient(45deg,#b91c1c,#b91c1c 10px,#991b1b 10px 20px);border:2px solid #fff;border-radius:.5rem}.suit-icon{fill:currentColor;width:1em;height:1em;display:inline-block}.status-badge{color:#fff;white-space:nowrap;z-index:40;opacity:0;background:#000c;border:1px solid #ffffff4d;border-radius:12px;padding:2px 8px;font-size:11px;font-weight:700;transition:opacity .3s,transform .3s;position:absolute;top:-2.5rem;left:50%;transform:translate(-50%);box-shadow:0 2px 4px #00000080}.status-badge.visible{opacity:1;transform:translate(-50%)translateY(0)}.status-badge.thinking{color:#000;background:#eab308;border-color:#ca8a04}.active-turn-ring{box-shadow:0 0 0 4px #fbbf2499}.trump-tag{color:#000;z-index:20;background-color:#fbbf24;border:1px solid #b45309;border-radius:4px;padding:2px 4px;font-size:9px;font-weight:800;position:absolute;bottom:-6px;left:-6px;box-shadow:0 2px 2px #0003}.emoji-burst-particle{animation:emoji-fall var(--emoji-duration,4.5s) ease-in forwards;opacity:0}@keyframes emoji-fall{0%{opacity:1;transform:translateY(0)rotate(0)translate(0)}25%{transform:translateY(25vh) rotate(90deg) translateX(var(--emoji-drift,15px))}50%{transform:translateY(50vh) rotate(180deg) translateX(calc(var(--emoji-drift,15px) * -.5));opacity:1}80%{opacity:1}to{transform:translateY(105vh) rotate(var(--emoji-spin,360deg)) translateX(var(--emoji-drift,15px));opacity:0}}@keyframes emoji-burst-text{0%{opacity:0;transform:translate(-50%)scale(.5)}15%{opacity:1;transform:translate(-50%)scale(1.15)}25%{transform:translate(-50%)scale(1)}70%{opacity:1}to{opacity:0;transform:translate(-50%)translateY(-30px)scale(.9)}}@media (prefers-reduced-motion:reduce){.emoji-burst-particle{opacity:0;animation:none}}:root{--card-w:100px;--card-h:140px;--card-rank-font:32px;--card-suit-font:48px;--card-margin:5px;--card-border-w:3px}@media (width<=639px){:root{--card-w:56px;--card-h:78px;--card-rank-font:18px;--card-suit-font:26px;--card-margin:3px;--card-border-w:2px;--text-xs:11px;--text-sm:13px;--text-base:14px;--text-lg:16px;--text-xl:18px;--text-2xl:20px;--heading-lg:24px;--heading-xl:32px}}@media (width>=640px) and (width<=850px){:root{--card-w:80px;--card-h:112px;--card-rank-font:26px;--card-suit-font:38px;--card-margin:4px}}@media (width>=851px) and (width<=1023px){:root{--card-w:100px;--card-h:140px;--card-rank-font:32px;--card-suit-font:48px;--card-margin:5px}}@media (width>=1024px) and (height<=800px){:root{--card-w:100px;--card-h:140px;--card-rank-font:32px;--card-suit-font:48px;--card-margin:4px}}@media (width>=1024px) and (height>=1200px){:root{--card-w:120px;--card-h:168px;--card-rank-font:38px;--card-suit-font:57px}}@media (width>=1024px) and (height>=1440px){:root{--card-w:140px;--card-h:196px;--card-rank-font:45px;--card-suit-font:67px}}.card-display{width:var(--card-w);height:var(--card-h);margin:var(--card-margin);border:var(--card-border-w) solid #000}.card-display.card-selected{border-color:#0f0}.card-rank{font-size:var(--card-rank-font)}.card-suit{font-size:var(--card-suit-font)}.phase-container{text-align:center;box-sizing:border-box;flex-direction:column;justify-content:center;max-width:960px;height:100dvh;margin:0 auto;padding:40px;font-family:Arial,sans-serif;display:flex;overflow-y:auto}@media (width<=639px){.phase-container{padding:24px 12px 16px}}@media (width>=640px) and (width<=1023px){.phase-container{padding:24px}}@media (height<=600px){.phase-container{padding:12px 12px 8px}}.game-board-container{box-sizing:border-box;flex-direction:column;max-width:1400px;height:100dvh;margin:0 auto;padding:8px 20px 32px;font-family:Arial,sans-serif;display:flex;overflow:hidden}@media (width<=639px){.game-board-container{padding:8px 12px max(env(safe-area-inset-bottom,4px), 8px);gap:2px}.game-board-container .score-header{flex-shrink:0;margin-bottom:4px!important}.mobile-playing-board{flex:0 auto;min-height:0;margin-top:4px!important;margin-bottom:2px!important}}@media (width>=640px) and (width<=1023px){.game-board-container{padding:4px 20px}}@media (width>=640px){.game-board-container{justify-content:center;gap:4px;padding:2px 20px 4px}.game-board-container .score-header{flex-shrink:0;margin-bottom:0!important}}.playing-board-outer{flex-shrink:1;min-height:0;overflow:hidden}@media (width<=639px){.playing-board-outer{display:none!important}}.playing-board-scaler{box-sizing:border-box;--card-w:140px;--card-h:196px;--card-rank-font:45px;--card-suit-font:67px;--card-margin:6px;--board-h:min(55vh, 500px);height:100%;padding:10px 20px}@media (width>=640px) and (width<=767px){.playing-board-scaler{--card-w:90px;--card-h:126px;--card-rank-font:28px;--card-suit-font:42px;--card-margin:3px;--board-h:min(50vh, 380px);padding:8px 12px}}@media (width>=768px) and (width<=1023px){.playing-board-scaler{--card-w:100px;--card-h:140px;--card-rank-font:32px;--card-suit-font:48px;--card-margin:4px;--board-h:min(55vh, 400px);padding:8px 16px}}@media (height<=900px) and (width>=1024px){.playing-board-scaler{--card-w:110px;--card-h:154px;--card-rank-font:36px;--card-suit-font:54px;--card-margin:4px;--board-h:min(50vh, 380px)}}@media (height<=750px) and (width>=640px){.playing-board-scaler{--board-h:260px;--card-w:80px;--card-h:112px;--card-rank-font:26px;--card-suit-font:38px;--card-margin:3px}}@media (height<=600px) and (width>=640px){.playing-board-scaler{--board-h:200px;--card-w:65px;--card-h:91px;--card-rank-font:22px;--card-suit-font:32px;--card-margin:2px;padding:4px 12px}}@media (height<=450px) and (width>=640px){.playing-board-scaler{--board-h:160px;--card-w:50px;--card-h:70px;--card-rank-font:18px;--card-suit-font:26px;--card-margin:2px;padding:2px 8px}}@media (height>=1080px) and (width>=1024px){.playing-board-scaler{--card-w:160px;--card-h:224px;--card-rank-font:52px;--card-suit-font:76px;--board-h:480px}}@media (height>=1440px) and (width>=1024px){.playing-board-scaler{--card-w:180px;--card-h:252px;--card-rank-font:58px;--card-suit-font:86px;--board-h:560px}}.trump-suit-grid{flex-wrap:wrap;justify-content:center;gap:20px;margin-top:40px;display:flex}.trump-suit-btn{padding:40px;font-size:48px}@media (width<=639px){.trump-suit-grid{grid-template-columns:1fr 1fr;gap:8px;margin-top:20px;display:grid}.trump-suit-btn{padding:14px 12px;font-size:22px}}@media (width>=640px) and (width<=850px){.trump-cards-heading{margin-top:32px!important}.trump-suit-grid{grid-template-columns:1fr 1fr;gap:14px;max-width:420px;margin:28px auto 0;display:grid}.trump-suit-btn{padding:18px 16px;font-size:28px}}@media (width>=851px) and (width<=1100px){.trump-cards-heading{margin-top:36px!important}.trump-suit-grid{flex-wrap:nowrap;justify-content:center;gap:16px;margin:28px auto 0}.trump-suit-btn{padding:20px 24px;font-size:30px}}@media (height<=850px) and (width>=640px){.trump-suit-grid{gap:10px;margin-top:16px}.trump-suit-btn{padding:14px 20px;font-size:26px}.trump-cards-heading{margin-top:16px!important}.wrapping-hand-cards{gap:6px!important}}.god-mode-hands{--card-w:60px;--card-h:84px;--card-rank-font:20px;--card-suit-font:30px;--card-margin:1px;--card-border-w:2px}.god-mode-hands .card-display{margin:var(--card-margin)}.god-mode-name-label{min-width:70px;max-width:90px}.god-mode-hands .playing-hand-cards{scrollbar-width:none;-ms-overflow-style:none;justify-content:flex-start}.god-mode-hands .playing-hand-cards::-webkit-scrollbar{display:none}.god-mode-hands .trump-marker{padding:1px 3px;font-size:7px;top:-3px;right:-3px}@media (width<=639px){.god-mode-hands{--card-w:42px;--card-h:59px;--card-rank-font:14px;--card-suit-font:20px;--card-margin:0px}.god-mode-hands .playing-hand-cards{justify-content:flex-start!important;gap:1px!important}.god-mode-name-label{min-width:50px;max-width:60px}}@media (width>=640px) and (width<=850px){.god-mode-hands{--card-w:55px;--card-h:77px;--card-rank-font:18px;--card-suit-font:27px;--card-margin:1px}}@media (width>=851px) and (height<=800px){.god-mode-hands{--card-w:50px;--card-h:70px;--card-rank-font:16px;--card-suit-font:24px;--card-margin:1px}}@media (width>=1024px) and (height>=801px){.god-mode-hands{--card-w:65px;--card-h:91px;--card-rank-font:21px;--card-suit-font:32px;--card-margin:1px}}.trump-marker{pointer-events:none;z-index:5;background-color:gold;border:1px solid #b45309;border-radius:6px;padding:4px 7px;font-size:10px;font-weight:700;position:absolute;top:-7px;right:-7px}@media (width<=639px){.trump-marker{padding:2px 4px;font-size:8px;top:-4px;right:-4px}.score-header{gap:4px;flex-direction:column!important;align-items:flex-start!important;padding:6px 10px!important}.score-teams{flex-direction:column!important;gap:2px!important}}@media (width<=639px) and (height<=500px){.score-header.bidding-card{flex-direction:row!important;align-items:center!important;gap:6px!important;padding:3px 8px!important;font-size:10px!important}.score-teams{flex-direction:row!important;gap:8px!important}}@media (width>=640px){.score-team-block{flex-direction:column;align-items:flex-start;gap:2px;display:flex}.score-pipe-divider{display:none!important}.score-stats{align-items:center;display:flex}}.played-card-scale{transform-origin:50%;position:relative;transform:scale(.7)}@media (width<=1023px) and (width>=640px){.played-card-scale{transform:scale(1)}}@media (height<=750px) and (width>=1024px){.played-card-scale{transform:scale(1)}}.mobile-playing-board{display:none}@media (width<=639px){.player-table-container{height:200px!important}.player-entry{min-width:72px!important;max-width:110px!important;min-height:38px!important;padding:3px 6px!important;font-size:11px!important}.mobile-playing-board{border-radius:10px;flex-shrink:1;min-height:0;margin-bottom:0;display:block;overflow:hidden}.mobile-board-grid{grid-template-areas:"top top""left right""bottom bottom";gap:4px;padding:6px;display:grid}.mobile-board-top{grid-area:top;justify-content:center;display:flex}.mobile-board-left{grid-area:left;justify-content:flex-end;padding-right:4px;display:flex}.mobile-board-right{grid-area:right;justify-content:flex-start;padding-left:4px;display:flex}.mobile-board-bottom{grid-area:bottom;justify-content:center;display:flex}.mobile-player-slot{background:0 0;border-radius:6px;flex-direction:column;align-items:center;gap:2px;min-width:56px;padding:2px 4px;display:flex}.mobile-player-slot.active-turn{background:#fff3cd73;border:1px solid #ffc107e6;box-shadow:inset 0 0 0 1px #ffffff59}.mobile-player-name{text-align:center;white-space:nowrap;background:#ffffffe6;border-radius:4px;padding:1px 5px;font-size:10px;font-weight:700}html{overflow-x:hidden}}@media (width<=639px) and (height<=450px){.mobile-board-grid{gap:2px;padding:3px}.mobile-player-slot{gap:1px;min-width:44px;padding:1px 3px}.mobile-player-name{padding:1px 3px;font-size:8px}.mobile-playing-board{--card-w:40px;--card-h:56px;--card-rank-font:14px;--card-suit-font:20px;--card-margin:1px;--card-border-w:1px}}@media (width<=639px) and (height<=600px) and (height>=451px){.mobile-board-grid{gap:3px;padding:4px}.mobile-player-slot{gap:1px;min-width:50px;padding:2px 3px}.mobile-player-name{padding:1px 4px;font-size:9px}.mobile-playing-board{--card-w:46px;--card-h:64px;--card-rank-font:16px;--card-suit-font:22px;--card-margin:2px;--card-border-w:1px}}@keyframes turn-badge-fade{0%,to{opacity:.5}50%{opacity:.85}}.turn-idle-flash{border-radius:8px}.turn-idle-badge{z-index:9999;color:#fff;letter-spacing:.03em;pointer-events:none;background-color:#ca8a04d9;border-radius:12px;padding:4px 12px;font-size:11px;font-weight:600;animation:3s ease-in-out infinite turn-badge-fade;position:fixed;top:8px;left:50%;transform:translate(-50%)}.turn-idle-badge.turn-badge-static{opacity:.7;animation:none}@media (prefers-reduced-motion:reduce){.turn-idle-badge{opacity:.7;animation:none}}@keyframes deal-card-in{0%{opacity:0;transform:translateY(-60px)scale(.7)rotateY(90deg)}50%{opacity:.7;transform:translateY(-10px)scale(1.02)rotateY(10deg)}to{opacity:1;transform:translateY(0)scale(1)rotateY(0)}}.deal-animate{animation:.35s ease-out both deal-card-in}@media (prefers-reduced-motion:reduce){.deal-animate{animation:none}}.phase-title{font-size:34px}@media (width<=639px){.phase-title{margin-bottom:8px!important;font-size:20px!important}.bidding-scores{font-size:12px;text-align:left!important}.bidding-scores div{margin-bottom:2px!important;font-size:13px!important}.bid-buttons-section{gap:12px!important;margin-bottom:14px!important;padding:14px!important}.bid-h2{margin-bottom:10px!important;font-size:18px!important}.player-table-wrapper{margin-bottom:12px!important}.score-teams div{align-items:center;min-width:0;font-size:11px!important;display:flex!important}.score-teams span{white-space:nowrap;flex-shrink:0;font-size:11px!important}.score-team-name{text-overflow:ellipsis!important;white-space:nowrap!important;flex:0 auto!important;min-width:0!important;overflow:hidden!important}.mobile-board-grid{height:100%;grid-template-columns:1fr auto 1fr!important;grid-template-areas:"top top top""left center right""bottom bottom bottom"!important}.mobile-board-3p{height:100%;grid-template:"info info""left right"1fr"bottom bottom"/1fr 1fr!important}.mobile-board-3p .mobile-board-info{grid-area:info;justify-content:center;padding:4px 0 2px;display:flex}.mobile-board-3p .mobile-board-center{display:none}.mobile-board-3p .mobile-player-slot{overflow:hidden}.mobile-board-center{grid-area:center;justify-content:center;align-items:center;display:flex}.mobile-center-info{background:#ffffffd9;border-radius:8px;flex-direction:column;align-items:center;gap:2px;min-width:36px;padding:6px 8px;display:flex}.mobile-center-bid{color:#1a56db;font-size:13px;font-weight:700;line-height:1}.hand-complete-page{padding:12px 12px 20px!important}.hand-complete-page>div{padding:14px!important}.hand-complete-page h1{margin-bottom:12px!important;font-size:20px!important}.hand-complete-page h2{margin-bottom:6px!important;font-size:14px!important}.hand-complete-page p{margin:3px 0!important;font-size:12px!important}.hand-complete-page button,.next-hand-btn{box-sizing:border-box!important;width:100%!important;max-width:420px!important;margin-top:12px!important;padding:10px 20px!important;font-size:14px!important}.hand-final-score{padding:10px!important;font-size:16px!important}}.hand-complete-page{box-sizing:border-box;flex-direction:column;justify-content:center;align-items:center;height:100dvh;display:flex;overflow-y:auto}@media (width>=640px){.hand-complete-page{padding:12px 24px 16px!important}.hand-complete-page>h1{margin-bottom:12px!important}.hand-complete-card{flex-wrap:wrap!important;gap:12px!important;max-width:820px!important;margin:0 auto!important;padding:16px!important;display:flex!important}.hand-complete-card .hand-section:first-child,.hand-complete-card .hand-section:nth-child(2){flex:calc(50% - 6px)!important;margin-bottom:0!important}.hand-complete-card .hand-section:nth-child(3){flex:100%!important;margin-bottom:0!important}.hand-complete-card>h2{flex:100%!important;margin-bottom:4px!important}.hand-final-score{flex:calc(50% - 6px)!important;margin-bottom:0!important}.next-hand-btn{width:auto!important;margin-top:16px!important;padding:14px 52px!important;font-size:20px!important}}@media (height<=860px) and (width>=640px){.hand-complete-page{padding:8px 24px 12px!important}.hand-complete-card{gap:8px!important;padding:12px!important}.hand-complete-card .hand-section{padding:10px!important}.next-hand-btn{margin-top:10px!important;padding:10px 40px!important}}@media (height<=700px) and (width>=640px){.hand-complete-card .hand-section p,.hand-complete-card p{margin:2px 0!important}}@media (width>=640px){.hand-complete-card-3p{width:95%!important;max-width:1200px!important}.hand-complete-3p-grid{gap:16px!important}.hand-complete-3p-grid .hand-section{padding:20px!important}.hand-complete-3p-scores{gap:12px!important}}@media (width<=479px){.hand-complete-3p-grid,.hand-complete-3p-scores{grid-template-columns:1fr!important}}.score-header-trump{display:none!important}.board-center-info{display:none}@media (width>=640px){.board-center-info{pointer-events:none;text-align:center;background:#ffffffe0;border-radius:10px;flex-direction:column;align-items:center;gap:3px;min-width:60px;padding:8px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 2px 8px #00000040}.board-center-trump{font-size:40px;font-weight:700;line-height:1}.board-center-bid{color:#1a56db;font-size:14px;font-weight:700;line-height:1}.board-center-bidder{color:#444;white-space:nowrap;font-size:11px}}@media (height<=700px) and (width>=640px){.board-center-info{gap:1px;min-width:40px;padding:4px 8px}.board-center-trump{font-size:24px}.board-center-bid{font-size:11px}.board-center-bidder{font-size:9px}:root{--card-w:80px;--card-h:112px;--card-rank-font:26px;--card-suit-font:38px;--card-margin:4px}.played-card-scale{transform:scale(1)!important}}@media (height<=500px) and (width>=640px){:root{--card-w:65px;--card-h:91px;--card-rank-font:22px;--card-suit-font:32px;--card-margin:2px}}@media (height>=900px) and (height<=1199px) and (width>=971px){:root{--card-w:140px;--card-h:196px;--card-rank-font:45px;--card-suit-font:67px;--card-margin:6px}}@media (width<=639px) and (height<=450px){:root{--card-w:42px;--card-h:59px;--card-rank-font:14px;--card-suit-font:20px;--card-margin:2px;--card-border-w:1px}}@media (width<=639px) and (height<=600px) and (height>=451px){:root{--card-w:48px;--card-h:67px;--card-rank-font:16px;--card-suit-font:22px;--card-margin:2px;--card-border-w:2px}}.mobile-center-bidder{color:#444;text-align:center;text-overflow:ellipsis;white-space:nowrap;max-width:50px;font-size:10px;line-height:1.1;overflow:hidden}@media (width<=639px){.bid-buttons-section button{padding:10px 16px!important;font-size:16px!important}.team-select-player{padding:10px!important;font-size:14px!important}.team-select-player>div{margin-top:4px!important;font-size:12px!important}.team-select-cards-row{gap:6px!important;padding:8px!important}.team-select-card-item{width:60px!important}.team-select-subtitle{margin-bottom:16px!important;font-size:13px!important}.team-select-players-section{margin-bottom:16px!important}.team-select-dealt-section{margin-top:16px!important}.team-select-section-h2{margin-bottom:10px!important;font-size:14px!important}}.bid-grid{grid-template-columns:1fr 1fr 1fr;gap:10px;display:grid}.bid-current-compact{text-align:center;color:#333;background:#e3f2fd;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;padding:8px;font-size:13px;line-height:1.3;display:flex}.playing-hand-cards,.wrapping-hand-cards{justify-content:center}@media (width<=639px){.bid-grid{gap:6px}.bid-grid button{min-height:44px;padding:10px 12px!important;font-size:14px!important}.bid-current-compact{padding:6px 4px;font-size:11px}.playing-hand-cards{box-sizing:border-box;width:100%;padding-inline:4px;flex-wrap:nowrap!important;justify-content:center!important;gap:4px!important}.playing-hand-cards .card-display{margin:0!important}.playing-hand-cards>div{flex:none}.wrapping-hand-cards{width:100%;flex-wrap:wrap!important;justify-content:center!important;gap:6px!important}.wrapping-hand-cards .card-display{margin:0!important}.wrapping-hand-cards>div{flex:none}.hand-section{margin-bottom:12px!important;padding:8px 12px!important}.team-select-card-scale{margin:-6px 0!important;transform:scale(.845)!important}.team-select-card-item{width:84px!important}.team-selection-phase{justify-content:flex-start!important;padding:12px 10px 24px!important}.team-select-player-grid{grid-template-columns:1fr!important;gap:8px!important;max-width:320px!important}.team-select-players-area{width:100%;max-width:340px;padding:14px 10px}.teams-assigned-msg{border-radius:6px!important;margin:12px auto!important;padding:8px 12px!important;font-size:13px!important}}@media (width>=640px) and (width<=1023px){.bidding-interface--spectator{justify-content:flex-start!important;gap:12px!important;padding-top:14px!important}.bidding-interface--spectator .spectator-placeholder--bidding{padding:12px 16px!important}.game-board-container.spectator-playing{padding-top:12px;padding-bottom:18px}}.landing-page{text-align:center;box-sizing:border-box;background-color:#f5f5f5;flex-direction:column;justify-content:center;align-items:center;height:100dvh;padding:20px;display:flex;overflow:hidden}@media (width<=639px){.landing-title{margin-bottom:6px!important}.landing-form{max-width:320px!important;margin-top:16px!important}}@media (height<=700px){.landing-page{gap:4px;padding:12px 20px!important}.landing-page .hero-card-fan{transform:scale(.65);margin:-20px 0!important}.landing-form{gap:8px!important;margin-top:16px!important}.landing-input,.landing-btn{font-size:var(--text-lg)!important;padding:10px 16px!important}}.landing-form{flex-direction:column;align-items:stretch;gap:12px;width:100%;max-width:400px;margin:24px auto 0;display:flex}.landing-input{box-sizing:border-box;border:1px solid #ccc;border-radius:8px;width:100%;padding:14px 16px;font-size:20px}.landing-btn{white-space:nowrap;border-radius:8px;width:100%;padding:14px 16px;font-size:20px}.landing-divider{background:#ddd;height:1px;margin:4px 0;display:block}.bidding-card{background:#fff;border-radius:12px;padding:16px;box-shadow:0 2px 8px #0000001a}.bidding-card.bidding-hand-card{padding:20px!important}@media (width<=639px){.bidding-card.bidding-hand-card{padding:10px!important}}.bidding-card.table-felt{background-color:#35654d;background-image:url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%232a523e' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/svg%3E")}@media (width<=850px){.bidding-interface{height:100dvh!important;min-height:unset!important;box-sizing:border-box!important;flex-direction:column!important;justify-content:space-between!important;gap:16px!important;padding:8px 14px 14px!important;display:flex!important;overflow-y:auto!important}.player-table-wrapper.bidding-card{margin-bottom:0!important}}@media (width>=851px){.bidding-interface{box-sizing:border-box!important;flex-direction:column!important;justify-content:space-between!important;height:100dvh!important;display:flex!important}.player-table-wrapper.bidding-card{margin-bottom:0!important}}.partner-assignment{box-sizing:border-box;width:100%}@media (width<=639px){.bidding-card{box-sizing:border-box;width:100%;padding:12px!important}.waiting-page{padding:24px 20px!important}.waiting-title{margin-bottom:8px!important;font-size:24px!important}.waiting-room-code{margin-bottom:12px!important;font-size:20px!important}.waiting-players-h2{margin-bottom:6px!important;font-size:16px!important}.waiting-players-list{margin-bottom:16px!important;padding-left:0!important;font-size:16px!important}.waiting-bot-controls{flex-direction:column!important;align-items:stretch!important;gap:10px!important;margin-top:16px!important}.waiting-bot-select{border-radius:8px;box-sizing:border-box!important;width:100%!important;padding:12px!important;font-size:16px!important}.waiting-bot-btn{border-radius:8px;width:100%!important;padding:12px!important;font-size:16px!important}.waiting-start-btn,.waiting-close-btn{border-radius:8px;font-weight:700;width:100%!important;margin-top:16px!important;padding:14px!important;font-size:18px!important}.game-over-page{box-sizing:border-box!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;height:100dvh!important;padding:24px 20px!important;display:flex!important;overflow-y:auto!important}.game-over-page>div{width:100%;margin-top:0!important}.game-over-page h1{margin-bottom:8px!important;font-size:28px!important}.game-over-page h2{margin-bottom:20px!important;font-size:16px!important}.game-over-page h3{margin-bottom:12px!important;font-size:14px!important}.game-over-page>div>div:first-of-type{padding:16px!important}.game-over-page>div>div:first-of-type>div{margin-bottom:8px!important;padding:10px 12px!important;font-size:18px!important}.game-over-page>div>div:last-of-type{flex-direction:column!important;gap:10px!important;margin-top:20px!important}.game-over-page button{border-radius:12px!important;width:100%!important;padding:14px!important;font-size:16px!important}.spectator-placeholder{padding:10px!important}.spectator-placeholder--playing{margin-top:8px!important;padding:12px 10px!important}.bidding-interface{gap:10px!important;overflow-x:hidden!important}.bidding-hand-card>div{justify-content:center!important;gap:8px!important}.game-board-container.spectator-playing{padding-top:10px!important;padding-bottom:max(env(safe-area-inset-bottom,4px), 8px)!important}}@media (width>=640px){.waiting-page{justify-content:center;align-items:center;gap:8px;width:min(100%,720px);min-height:100dvh;margin-left:auto;margin-right:auto;padding:20px 40px!important}.waiting-page h1,.waiting-page h2{margin-bottom:4px}.waiting-page>*{box-sizing:border-box;width:100%}.game-over-page>div{max-width:500px;margin-left:auto;margin-right:auto}}.room-code-badge{color:#666;cursor:pointer;-webkit-user-select:none;user-select:none;background-color:#0000000f;border-radius:12px;margin:4px 0 0 6px;padding:4px 10px;font-size:12px;display:inline-block}.spectator-list-badge{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:#fff;z-index:50;white-space:nowrap;text-overflow:ellipsis;background-color:#000000b3;border-radius:999px;max-width:min(300px,100vw - 20px);padding:4px 10px;font-size:11px;position:fixed;top:12px;right:10px;overflow:hidden}@media (width<=639px){.spectator-list-badge{top:12px;right:10px}}@keyframes waiting-ready-pulse{0%,to{background-color:#f5f5f5}50%{background-color:#e8f5e9}}.waiting-ready{animation:2s ease-in-out infinite waiting-ready-pulse}.waiting-spectators{text-align:center;background-color:#fff3e0;border-radius:8px;margin-top:16px;padding:12px 16px}.waiting-spectators h3{color:#795548;margin:0 0 4px;font-size:18px}.waiting-spectators p{color:#795548;margin:0;font-size:16px}@keyframes hero-float{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}.hero-card-fan{justify-content:center;align-items:flex-end;height:160px;margin:24px auto 0;display:flex;position:relative}.hero-card{background:#fff;border:2px solid #d1d5db;border-radius:10px;width:80px;height:120px;position:absolute;bottom:10px;box-shadow:0 4px 12px #00000026}.hero-card-inner{justify-content:center;align-items:center;width:100%;height:100%;animation:4s ease-in-out infinite hero-float;display:flex}.hero-card-suit{color:#000;-webkit-user-select:none;user-select:none;font-size:36px}.hero-suit-red{color:#d32f2f}.hero-card-1{transform:rotate(-18deg)translate(-90px)}.hero-card-1 .hero-card-inner{animation-delay:0s}.hero-card-2{transform:rotate(-6deg)translate(-30px)}.hero-card-2 .hero-card-inner{animation-delay:.5s}.hero-card-3{transform:rotate(6deg)translate(30px)}.hero-card-3 .hero-card-inner{animation-delay:1s}.hero-card-4{transform:rotate(18deg)translate(90px)}.hero-card-4 .hero-card-inner{animation-delay:1.5s}@media (width<=639px){.hero-card-fan{height:120px}.hero-card{width:60px;height:90px}.hero-card-suit{font-size:28px}.hero-card-1{transform:rotate(-18deg)translate(-65px)}.hero-card-2{transform:rotate(-6deg)translate(-22px)}.hero-card-3{transform:rotate(6deg)translate(22px)}.hero-card-4{transform:rotate(18deg)translate(65px)}}@media (prefers-reduced-motion:reduce){.hero-card-inner{animation:none}}.card-back-default{background:repeating-linear-gradient(45deg,#b91c1c,#b91c1c 10px,#991b1b 10px 20px);border:2px solid #fff;border-radius:.5rem}.card-back-hawaiian{background:radial-gradient(circle at 20% 30%,#ffffff40 6px,#0000 6px),radial-gradient(circle at 70% 20%,#fff3 8px,#0000 8px),radial-gradient(circle at 45% 70%,#ffffff26 10px,#0000 10px),radial-gradient(circle at 80% 75%,#fff3 5px,#0000 5px),linear-gradient(135deg,#059669 0%,#0d9488 30%,#f97316 65%,#facc15 100%);border:2px solid #047857;border-radius:.5rem;position:relative}.card-back-hawaiian:after{content:"🌴";pointer-events:none;-webkit-user-select:none;user-select:none;font-size:22px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.card-back-family-pets{background:radial-gradient(circle at 20% 20%,#ffffff59 5px,#0000 5px),radial-gradient(circle at 22% 24%,#ffffff40 2px,#0000 2px),radial-gradient(circle at 17% 17%,#ffffff40 2px,#0000 2px),radial-gradient(circle at 24% 17%,#ffffff40 2px,#0000 2px),radial-gradient(circle at 18% 24%,#ffffff40 2px,#0000 2px),radial-gradient(circle at 70% 30%,#ffffff59 5px,#0000 5px),radial-gradient(circle at 72% 34%,#ffffff40 2px,#0000 2px),radial-gradient(circle at 67% 27%,#ffffff40 2px,#0000 2px),radial-gradient(circle at 74% 27%,#ffffff40 2px,#0000 2px),radial-gradient(circle at 68% 34%,#ffffff40 2px,#0000 2px),radial-gradient(circle at 40% 65%,#ffffff59 5px,#0000 5px),radial-gradient(circle at 42% 69%,#ffffff40 2px,#0000 2px),radial-gradient(circle at 37% 62%,#ffffff40 2px,#0000 2px),radial-gradient(circle at 44% 62%,#ffffff40 2px,#0000 2px),radial-gradient(circle at 38% 69%,#ffffff40 2px,#0000 2px),radial-gradient(circle at 80% 80%,#ffffff59 5px,#0000 5px),radial-gradient(circle at 82% 84%,#ffffff40 2px,#0000 2px),radial-gradient(circle at 77% 77%,#ffffff40 2px,#0000 2px),radial-gradient(circle at 84% 77%,#ffffff40 2px,#0000 2px),radial-gradient(circle at 78% 84%,#ffffff40 2px,#0000 2px),linear-gradient(135deg,#7c3aed,#a855f7,#7c3aed);border:2px solid #6d28d9;border-radius:.5rem;position:relative}.card-back-family-pets:after{content:"🐾";pointer-events:none;-webkit-user-select:none;user-select:none;font-size:22px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.card-back-spaceships{background:radial-gradient(circle at 15% 20%,#fff 1px,#0000 1px),radial-gradient(circle at 40% 60%,#fff .5px,#0000 .5px),radial-gradient(circle at 70% 15%,#fff 1px,#0000 1px),radial-gradient(circle at 85% 45%,#fff .5px,#0000 .5px),radial-gradient(circle at 30% 85%,#fff 1px,#0000 1px),radial-gradient(circle at 60% 40%,#fff .5px,#0000 .5px),radial-gradient(circle at 90% 80%,#fff 1px,#0000 1px),linear-gradient(135deg,#0f172a,#1e293b,#0f172a);border:2px solid #334155;border-radius:.5rem}.theme-picker-grid{grid-template-columns:repeat(auto-fill,minmax(60px,1fr));gap:8px;max-width:480px;margin:0 auto;display:grid}.theme-picker-btn{cursor:pointer;border:3px solid #0000;border-radius:10px;width:56px;height:78px;margin:0 auto;padding:0;transition:transform .15s,border-color .15s}.theme-picker-btn:hover{transform:scale(1.08)}.theme-picker-btn.active{border-color:#4caf50;box-shadow:0 0 8px #4caf5080}.theme-picker-label{font-size:var(--text-xs);color:#666;text-align:center;margin-top:4px}@media (width>=640px){.bidding-interface{gap:8px!important}.bidding-card{padding:12px!important}.bid-buttons-section{padding-top:8px!important}.bid-grid button{min-height:48px}}@media (width>=1280px){.landing-form{max-width:500px}.hero-card-fan{height:200px}.hero-card{width:100px;height:150px}.hero-card-suit{font-size:44px}.hero-card-1{transform:rotate(-18deg)translate(-112px)}.hero-card-2{transform:rotate(-6deg)translate(-38px)}.hero-card-3{transform:rotate(6deg)translate(38px)}.hero-card-4{transform:rotate(18deg)translate(112px)}}@media (width<=639px){.waiting-page .partner-assignment,.waiting-page .waiting-bot-controls,.waiting-page .waiting-settings-section{margin-top:10px!important;padding:10px!important}.waiting-title{margin-bottom:4px!important}.waiting-room-code{margin-bottom:8px!important}.waiting-players-h2{margin-bottom:4px!important}.waiting-players-list{margin-bottom:8px!important}.waiting-spectators{margin-top:10px;padding:8px 12px}.waiting-start-btn{z-index:10;position:sticky;bottom:0;box-shadow:0 -2px 8px #0000001f,0 3px 8px #4caf504d;margin-top:12px!important}}.team-select-players-area{background:linear-gradient(135deg,#2d5a3f 0%,#35654d 50%,#2d5a3f 100%);border-radius:16px;max-width:680px;margin-left:auto;margin-right:auto;padding:24px 20px;box-shadow:inset 0 2px 8px #0003}.team-select-players-area .team-select-player{box-shadow:0 2px 8px #00000026}.dealing-hint{animation:1.8s ease-in-out infinite dealing-pulse}@keyframes dealing-pulse{0%,to{opacity:.5}50%{opacity:1}}.team-selection-heading{font-size:3rem}@media (width>=640px) and (width<=1023px){.team-selection-heading{font-size:2.5rem}.team-selection-phase .team-select-subtitle{font-size:1.3rem!important}}@media (width<=639px){.team-selection-heading{font-size:2rem}.team-selection-phase .team-select-subtitle{font-size:1rem!important}.team-select-players-area{border-radius:12px;padding:16px 12px}.team-select-players-area .team-select-player{padding:10px!important;font-size:14px!important}}@media (width>=1024px){.team-selection-heading{font-size:3rem}.team-selection-phase .team-select-subtitle{font-size:1.4rem!important}.team-select-player-grid{gap:16px!important;max-width:640px!important}.team-select-players-area .team-select-player{border-radius:12px!important;padding:18px 24px!important;font-size:18px!important}}@media (width>=820px){.game-board-container{max-width:80vw}}@media (width>=1280px){.game-board-container{min-width:960px;max-width:70vw}}@media (width>=1600px){.game-board-container{max-width:1600px}}@media (width>=640px){.game-board-container .score-header{font-size:14px}.game-board-container .score-teams{font-size:14px!important}.game-board-container .score-team-name{font-size:15px!important}.game-board-container .score-stats{font-size:14px!important}}@media (width>=1024px){.game-board-container .score-header{font-size:16px}.game-board-container .score-teams{font-size:16px!important}.game-board-container .score-team-name{font-size:17px!important}.game-board-container .score-stats{font-size:16px!important}}@media (width>=820px) and (width<=1023px){.playing-board-scaler{--card-w:100px;--card-h:140px;--card-rank-font:33px;--card-suit-font:50px;--card-margin:5px;--board-h:350px}}@media (width>=1024px) and (height>=901px) and (height<=1079px){.playing-board-scaler{--card-w:150px;--card-h:210px;--card-rank-font:48px;--card-suit-font:72px;--card-margin:6px;--board-h:450px}}@media (width>=1280px){.landing-form{max-width:500px}}@media (width>=640px){.bidding-card-area{margin-bottom:4px}.bid-grid button{min-height:48px}}@media (width>=1280px){.landing-form{max-width:500px}}@media (width>=640px){.bid-grid button{min-height:48px}}@media (width>=1024px) and (height<=850px){.game-board-container{gap:2px;padding-top:0}}@media (width>=1200px) and (height<=900px){.game-board-container{padding-top:0}}@media (width>=768px){.bidding-interface .bidding-card-area,.bidding-interface .player-table{margin-bottom:4px}.bidding-interface .bid-buttons-section{margin-top:4px}}@media (width<=639px){.team-selection-phase{padding-top:12px}}@media (width>=1280px){.discard-phase .wrapping-hand-cards{margin-top:4px}}@media (width>=768px) and (width<=1023px){.playing-board-scaler{--card-w:110px;--card-h:154px;--card-rank-font:36px;--card-suit-font:52px}}@media (width>=1024px){.team-select-players-area,.team-select-players-section{max-width:700px;margin-left:auto;margin-right:auto}.team-select-player-grid{gap:16px;max-width:700px}.team-select-player,.team-selection-phase .team-select-players-section div[style*=grid]>div{padding:18px 24px;font-size:18px}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
