.table{position:relative;isolation:isolate;overflow:hidden;min-width:0;background:radial-gradient(ellipse at 50% 42%,#24543f 0,#194333,#12362c);padding:22px 30px 20px;display:flex;flex-direction:column}.table:before{content:"";position:absolute;inset:12px;border:1px solid #d9bf7c17;border-radius:70px;z-index:-1;pointer-events:none}.table:after{content:"";position:absolute;inset:0;z-index:-1;opacity:.1;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.4' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}.table-heading{display:flex;align-items:center;justify-content:space-between;min-height:26px}.deal-number{margin-left:14px;font-size:12px;color:#a9bfae}.table-heading button{font-size:11px;padding:6px}.opponent-area{text-align:center;padding:6px 0 11px}.player-name{display:flex;align-items:center;justify-content:center;gap:9px;font-size:12px;margin-bottom:12px;color:#cfddd1}.player-name small{font-size:8px;letter-spacing:1.6px;color:#87a997;margin-left:5px}.turn-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#597b66;flex-shrink:0}.turn-dot.active{background:#e5c886;box-shadow:0 0 0 4px #e5c88614}.opponent-hand{display:flex;justify-content:center;gap:7px;min-height:100px}.face{display:block;width:104px;height:168px;object-fit:fill;border-radius:8px;user-select:none;background:#fffdf5;box-shadow:0 7px 15px #001a1460}.face.small{width:65px;height:105px}.card-back{width:104px;height:168px;border:5px solid #efe8d5;border-radius:8px;background:repeating-linear-gradient(45deg,#1b384a 0 3px,#254758 3px 5px);box-shadow:0 7px 15px #001a1460;display:flex;align-items:center;justify-content:center;position:relative;color:#c6ac75}.card-back:before{content:"";position:absolute;inset:6px;border:1px solid #c1a36b75;border-radius:3px}.card-back>span{font-size:40px;width:55px;height:72px;border:1px solid #c1a36b80;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#1a3445}.card-back.small{width:62px;height:100px;border-width:4px}.card-back.small span{font-size:25px;width:32px;height:45px}.center-table{display:grid;grid-template-columns:210px minmax(220px,1fr) 125px;align-items:center;gap:18px;min-height:225px;flex:1;max-height:320px}.stock-area{display:flex;align-items:center;flex-direction:column;gap:6px}.stock{position:relative;width:175px;height:145px;margin:5px 0 13px}.stock .face,.stock .card-back{width:87px;height:140px}.upcard{position:absolute;left:66px;top:22px;transform:rotate(90deg);transform-origin:50% 50%}.talon{position:absolute;left:7px;top:0;transform:rotate(-5deg);box-shadow:-3px 3px #e3dcc9,-6px 6px #aea794;border-radius:8px}.closed .talon{transform:rotate(7deg)}.closed-seal{position:absolute;inset:52px -7px auto;transform:rotate(-7deg);font-size:9px;font-weight:700;letter-spacing:2px;background:#9b4038;color:#ffe9d6;padding:10px;text-align:center;box-shadow:0 3px 6px #0005}.stock-area>strong{font-size:11px;font-weight:500;color:#e4dcc2}.stock-area>span{font-size:11px;color:#9eba9f}.empty-stock{border:1px dashed #a4c0a34f;width:90px;height:140px;border-radius:9px;margin-left:30px;display:flex;align-items:center;justify-content:center;color:#94af9b;text-align:center;line-height:1.7;font-size:11px}.trick-area{display:flex;justify-content:center;align-items:center;flex-direction:column;min-height:210px;position:relative}.trick-empty{color:#96b6a0;text-align:center}.trick-empty>span{font-size:43px;opacity:.2}.trick-empty p{font-size:11px;margin-top:12px}.trick-cards{display:flex;gap:25px;align-items:center;justify-content:center}.trick-card{animation:card-in .25s ease-out}.trick-card small{display:block;text-align:center;font-size:8px;color:#a9c3af;letter-spacing:1.3px;margin-bottom:10px}.trick-card.human .face{transform:rotate(-7deg)}.trick-card.computer .face{transform:rotate(7deg)}.collect-bar{display:flex;align-items:center;gap:13px;margin-top:15px;font-size:10px;white-space:nowrap;color:#e6d4a6}.collect-bar button{font-size:10px;padding:7px 10px}.deal-eyes{padding:15px 17px;border:1px solid #ffffff12;border-radius:10px;background:#071f1820}.deal-eyes>span{font-size:8px;letter-spacing:1.3px;color:#91b09d;white-space:nowrap}.deal-eyes>div{display:flex;align-items:center;justify-content:space-between;margin-top:16px;gap:8px}.deal-eyes small{font-size:10px;color:#b4c9ba}.deal-eyes strong{font-size:23px;font-family:Georgia,serif;font-weight:400}.deal-eyes p{font-size:9px;color:#e4c78d;margin:14px 0 0;line-height:1.5}.event-strip{font-size:11px;min-height:33px;display:flex;align-items:center;justify-content:center;text-align:center;color:#a7c2ae;margin:6px 0 10px;line-height:1.7;padding:0 15px}.human-area{padding-top:3px;position:relative}.hand-instruction{display:flex;align-items:center;justify-content:center;gap:10px;min-height:27px;margin-bottom:14px}.hand-instruction strong{font-size:12px;font-weight:600;color:#e4dec4}.hand-instruction>span:last-child:not(.turn-dot){font-size:10px;color:#a5bfa9}.hand-instruction button{font-size:10px;padding:4px 8px}.human-hand{display:flex;justify-content:center;gap:12px;min-height:168px;padding:0 15px}.hand-card{padding:0;border:0;background:none!important;border-radius:9px;position:relative;transition:transform .18s,filter .18s;opacity:1!important;flex:0 0 auto}.hand-card:disabled{filter:brightness(.66) saturate(.7)}.hand-card.playable:after{content:"";position:absolute;inset:0;border:2px solid #e8cb8a80;border-radius:8px;pointer-events:none}.hand-card.playable:hover{transform:translateY(-13px);filter:brightness(1.06)}.hand-card.playable:focus-visible{transform:translateY(-10px)}.action-row{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:21px;min-height:36px}.action-row button{font-size:11px;padding:8px 14px;background:#05201624}.action-row .note-button{margin-left:13px}.paused{position:absolute;bottom:0;left:50%;transform:translate(-50%);padding:20px;border:1px solid #d4b97566;background:#152f2a;border-radius:12px;width:min(500px,90%);text-align:center;box-shadow:0 15px 50px #0006}.paused p{font-size:12px;margin-bottom:12px}.result-panel{border:1px solid #ddc78b42;border-radius:14px;text-align:center;background:#102d2680;padding:23px 25px;margin:3px 20px 10px}.result-panel h2{font-size:31px;margin:9px 0}.result-panel p{font-size:12px;color:#b7cbb8;margin-bottom:20px}.result-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:13px}.result-actions>strong{font-size:32px;font-family:Georgia,serif;font-weight:400;color:#eee0bc;margin-right:14px}.result-actions>strong span{color:#9aaf95;margin:0 7px}.result-actions button:not(.primary){font-size:11px}.welcome-table:before{inset:18px;border-radius:15px}@keyframes card-in{0%{opacity:0;transform:translateY(-12px)}to{opacity:1;transform:translateY(0)}}@media (max-height:800px){.table{padding:14px 25px 17px}.opponent-area{padding:0 0 8px}.opponent-hand{min-height:86px}.card-back.small{width:53px;height:85px}.player-name{margin-bottom:9px}.center-table{min-height:190px;max-height:238px}.face,.card-back{width:91px;height:147px}.human-hand{min-height:147px;gap:11px}.trick-area{min-height:185px}.trick-card .face{width:88px;height:142px}.hand-instruction{margin-bottom:11px}.action-row{margin-top:17px}.event-strip{margin:4px 0 6px;min-height:27px}.stock .face,.stock .card-back{width:76px;height:123px}.stock{height:127px;width:160px}.upcard{left:56px;top:18px}.closed-seal{inset:42px -7px auto}.result-panel{padding:18px}.result-panel h2{font-size:27px}}@media (max-width:1150px){.play-layout{grid-template-columns:minmax(0,1fr) 220px}.sidebar{padding:20px 17px}.table{padding-left:18px;padding-right:18px}.center-table{grid-template-columns:168px minmax(185px,1fr) 108px;gap:8px}.deal-eyes{padding:13px 10px}.trick-cards{gap:17px}.hand-instruction>span:last-child:not(.turn-dot){max-width:270px;line-height:1.5}.action-row{gap:5px}.action-row button{padding:8px 10px}.action-row .note-button{margin-left:0}.collect-bar{flex-direction:column;gap:5px}.human-hand{gap:9px}.welcome{padding:25px}.deck-option>span:not(.deck-preview){font-size:9px}}@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.captured-piles{position:absolute;top:76px;left:34px;right:34px;display:flex;justify-content:space-between;pointer-events:none}.captured-pile{pointer-events:auto;display:flex;align-items:center;gap:12px;padding:9px 12px;border:1px solid #c8d2b82b;border-radius:9px;background:#102d2640;text-align:left;min-height:65px}.captured-pile strong{display:block;font-size:11px;font-weight:600}.captured-pile small{display:block;font-size:9px;color:#b2c6b6;margin-top:5px}.captured-pile button{display:block;font-size:10px;padding:4px 0 0}.pile-back{position:relative;display:block;width:32px;height:40px}.pile-back .card-back.small{position:absolute;width:26px;height:38px;border-width:2px;border-radius:3px;top:0;left:0;transform:rotate(-9deg)}.pile-back .card-back.small:last-child{left:5px;top:2px;transform:rotate(6deg)}.pile-back .card-back:before{inset:3px}.pile-back .card-back.small span{font-size:12px;width:15px;height:21px}.trick-history{padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.trick-history>li{border:1px solid #ffffff1f;border-radius:9px;padding:14px;background:#102d2640}.trick-history strong,.trick-history span{display:block}.trick-history strong{font-size:13px}.trick-history span{font-size:11px;margin-top:5px;color:#c6d5c8}.history-pair{display:flex;gap:18px;margin-top:12px}.history-pair small{display:block;font-size:9px;margin-bottom:6px;color:#bdcdbf}.history-pair .face.small{width:65px;height:105px}.loading{padding:24px;text-align:center}.loading p{max-width:620px;line-height:1.7}.loading progress{width:min(400px,85vw);accent-color:#dfc07b}.load-bytes{font-variant-numeric:tabular-nums;font-size:12px}@media (max-height:800px){.captured-piles{top:67px}}@media (max-width:1150px){.captured-piles{left:22px;right:22px}.captured-pile{gap:7px;padding:8px}.captured-pile small{max-width:95px}}:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#e9edeb;background:#111b20;font-synthesis:none;font-size:14px;--gold:#e5c886;--muted:#a0b4ad;--line:#ffffff15;--ink:#14272b}*{box-sizing:border-box}body{margin:0}button,select,textarea,input{font:inherit}button{cursor:pointer;border:1px solid #ffffff28;border-radius:8px;padding:9px 15px;background:#ffffff09;color:inherit;transition:background .15s,transform .15s,border-color .15s}button:hover:not(:disabled){background:#ffffff18;border-color:#ffffff60}button:disabled{cursor:default;opacity:.42}button:focus-visible,select:focus-visible,textarea:focus-visible,input:focus-visible{outline:3px solid var(--gold);outline-offset:4px}button.primary{background:var(--gold);border-color:var(--gold);color:#1c302b;font-weight:700}button.primary:hover:not(:disabled){background:#f3dca9}button.large{padding:13px 23px}button.quiet{border-color:transparent;background:transparent;color:#b9cec4}button.selected{border-color:var(--gold);background:#e5c88615}.icon-button{font-size:25px;line-height:1;padding:4px 10px;border:0}.danger{background:#a84242}.danger-text{color:#f0a6a0;border:0;margin-top:20px}.muted{color:var(--muted);font-size:12px;line-height:1.6}.eyebrow{font-size:10px;letter-spacing:2px;color:#cfbd8c;font-weight:700}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,Times New Roman,serif;font-weight:400}h3{font-size:14px}p{line-height:1.6}label.field{display:flex;flex-direction:column;gap:9px;margin:22px 0;font-weight:600}select,textarea{border:1px solid #687c76;border-radius:8px;background:#132c2a;color:#f3f4ef;padding:12px}textarea{resize:vertical;min-height:115px}select option{background:#18332f}.topbar{height:72px;padding:0 30px;display:flex;align-items:center;gap:30px;background:#142026;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px}.brand-mark{color:var(--gold);font-size:33px}.brand strong{font-size:17px;letter-spacing:4px}.brand div>span{display:block;font-size:10px;letter-spacing:1px;color:#9aafa7;margin-top:5px}.topbar nav{display:flex;gap:8px;margin-left:auto}.topbar nav button{border:0;background:transparent;color:#c6d5cf}.offline{font-size:11px;display:flex;align-items:center;gap:7px;color:#a4b9ad}.offline i{width:6px;height:6px;background:#91b295;border-radius:50%}.play-layout{display:grid;grid-template-columns:minmax(0,1fr) 258px;min-height:calc(100vh - 108px)}.sidebar{background:#16252b;padding:25px 23px;border-left:1px solid #ffffff10}.sidebar section{padding-bottom:23px;margin-bottom:23px;border-bottom:1px solid var(--line)}.sidebar h2{font-size:23px;margin-top:8px;margin-bottom:20px}.scoreboard{display:flex;align-items:center;justify-content:center;gap:26px;margin:20px 0 26px}.scoreboard div{display:flex;flex-direction:column;gap:8px;align-items:center}.scoreboard div>span{color:#a9bcb3;font-size:11px}.scoreboard strong{font-family:Georgia,serif;font-size:42px;font-weight:400}.score-separator{font-size:28px;color:#58746b}.stat-line{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin:13px 0}.stat-line>span{color:#a4b8ae}.current-opponent{background:#ffffff04;border:1px solid var(--line);padding:13px;margin-top:23px;border-radius:8px}.current-opponent span{display:block;font-size:8px;letter-spacing:1.8px;color:#99afa3;margin-bottom:7px}.current-opponent strong{font-size:12px;font-weight:500}.overall{margin-bottom:20px}.overall>strong{font-family:Georgia,serif;font-size:36px;font-weight:400;margin-right:8px}.overall>span{color:#a7bbb0;font-size:12px}.overall>div{margin-top:8px;color:#a8bcb2;font-size:12px}.overall i{margin:0 8px}.overall b{color:#edf2ed}.model-record{display:flex;gap:14px;justify-content:space-between;font-size:11px;margin:16px 0;line-height:1.6}.model-record>span{max-width:135px;color:#adbbb4}.model-record strong{white-space:nowrap;font-size:12px}.model-record small{font-size:9px;color:#91a99a;font-weight:400}.privacy-note{display:flex;gap:10px;color:#89a094;font-size:10px}.privacy-note>span{font-size:21px}.privacy-note p{margin:0}footer{height:36px;padding:0 29px;display:flex;align-items:center;justify-content:space-between;color:#728e80;font-size:10px;border-top:1px solid var(--line)}.welcome{max-width:780px;margin:auto;padding:38px 35px 55px}.welcome h1{font-size:48px;margin:15px 0}.welcome>p{color:#b5cdc0}.welcome h2{font-size:26px;margin-top:29px}.deck-picker{display:flex;gap:18px;margin:15px 0}.deck-option{display:flex;align-items:center;flex-direction:column;gap:10px;padding:17px;flex:1;background:#ffffff04;min-width:0}.deck-option.selected{border-color:var(--gold);box-shadow:0 0 0 1px #e5c88622;background:#e5c88608}.deck-option>span:not(.deck-preview){font-size:10px;color:#b1c6ba;white-space:nowrap}.deck-option small{font-size:10px;color:#d9bf81}.deck-preview{display:flex;padding:4px 15px 9px}.deck-preview .face{width:88px;height:142px;box-shadow:0 8px 15px #0004}.deck-preview .face:first-child{transform:rotate(-10deg);margin-right:-25px}.deck-preview .face:last-child{transform:rotate(9deg)}.opponent-picker{display:grid;gap:10px}.opponent-option{text-align:left;padding:17px 21px;background:#ffffff04;border-color:#ffffff20}.opponent-option>span{display:flex;justify-content:space-between;gap:15px}.opponent-option strong{font-size:14px}.opponent-option p{font-size:12px;color:#9db7a8;margin:8px 0 0}.tag{border:1px solid #b8a26b5c;padding:3px 7px;border-radius:4px;font-size:9px;color:#d4b97c}.tag.recommended{border-color:#8bad9866;color:#9fc4aa}.start-row{display:flex;flex-direction:column;gap:22px;align-items:flex-start;margin-top:24px}.start-row>span{font-size:11px;color:#9eb8a9}.scrim{position:fixed;inset:0;z-index:20;background:#07120ec9;backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:25px}.dialog{background:#192f2e;border:1px solid #ffffff25;box-shadow:0 25px 100px #0007;border-radius:15px;padding:26px 30px;width:min(690px,95vw);max-height:90vh;overflow:auto;outline:0}.dialog-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.dialog h2{font-size:29px;margin:0}.dialog p,.dialog li{font-size:13px;color:#bccdc3}.dialog li{margin-bottom:12px;line-height:1.7}.dialog strong{color:#f2ecd7}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:25px}.dialog details{font-size:12px;margin:20px 0}.dialog summary{cursor:pointer;color:#c6d1c3}.dialog .deck-preview .face{width:67px;height:108px}.history-list{max-height:48vh;overflow:auto;margin:18px 0}.history-item{display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:15px 0}.history-item>div{flex:1;display:flex;flex-direction:column;gap:5px}.history-item strong{font-size:12px}.history-item span,.history-item small{font-size:10px;color:#a2b8a9}.history-item b{font-size:19px;font-family:Georgia,serif}.history-item button{font-size:11px;padding:6px 10px}.alert,.notice{padding:13px 25px;background:#6b322b;color:#fff;display:flex;justify-content:space-between;align-items:center}.alert button{padding:2px 10px}.notice{background:#41492c;font-size:12px}.toast{position:fixed;top:85px;left:50%;transform:translate(-50%);z-index:40;background:#e5c886;color:#163026;padding:14px 22px;border-radius:10px;box-shadow:0 5px 30px #0006;max-width:80vw;overflow-wrap:anywhere;font-size:13px}.loading{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#153b30}.loading h1{font-size:48px;margin:18px}.loading p{color:#aec2b3}.warning{color:#e9be7e!important}@media (max-height:800px){.topbar{height:60px}.play-layout{min-height:calc(100vh - 92px)}footer{height:32px}.sidebar{padding:20px}.sidebar section{padding-bottom:16px;margin-bottom:16px}.sidebar h2{font-size:21px;margin-bottom:14px}.scoreboard{margin:15px 0 20px}.welcome{padding:25px 35px}.welcome h1{font-size:40px}.welcome h2{margin-top:20px}.deck-preview .face{width:76px;height:123px}}.app-shell{height:100vh;display:flex;flex-direction:column;overflow:hidden}.topbar,footer{flex-shrink:0}.play-layout{flex:1;min-height:0;overflow:hidden}.sidebar{overflow:auto}.table{min-height:0}.welcome-table{overflow:auto}.table>.table-heading,.table>.opponent-area,.table>.event-strip,.table>.human-area,.table>.result-panel{flex-shrink:0}@media (max-height:800px){.table{padding:10px 25px 12px}.table-heading{min-height:24px}.opponent-hand{min-height:73px}.card-back.small{width:45px;height:73px}.opponent-area{padding-bottom:5px}.player-name{margin-bottom:7px}.center-table{min-height:174px;max-height:232px}.trick-area{min-height:169px}.trick-card .face{width:78px;height:126px}.collect-bar{margin-top:9px}.event-strip{min-height:24px;margin:3px 0}.hand-instruction{margin-bottom:8px}.action-row{margin-top:12px;min-height:32px}.sidebar{padding-top:17px}.sidebar section{padding-bottom:12px;margin-bottom:14px}.sidebar h2{margin-bottom:10px}.scoreboard{margin:10px 0 16px}.current-opponent{margin-top:16px}.overall{margin-bottom:14px}.model-record{margin:11px 0}}@media (max-height:710px){.face,.card-back{width:77px;height:124px}.human-hand{min-height:124px}.center-table{min-height:158px}.trick-area{min-height:152px}.trick-card .face{width:69px;height:112px}.stock .face,.stock .card-back{width:65px;height:105px}.stock{height:103px;margin-bottom:9px}.card-back.small{width:39px;height:63px}.opponent-hand{min-height:63px}.hand-instruction{margin-bottom:7px}.action-row{margin-top:9px}.event-strip{font-size:10px;min-height:20px}.welcome h1{font-size:33px}.welcome{padding-top:15px;padding-bottom:15px}.welcome h2{margin-top:14px}.opponent-option{padding:12px 18px}.start-row{margin-top:16px;gap:15px}}
