:root{font-family:Arial,Helvetica,sans-serif;color:#fff1d0;background:#160f09;font-size:16px;font-synthesis:none;--gold:#e8c17a;--line:#ad8548;--pieceWidth:30px;--pieceHeight:42px}*{box-sizing:border-box}html,body,#root{margin:0;width:100%;height:100%;overflow:hidden}button,input,select{font:inherit}button,select{cursor:pointer}button{color:#f6e5c3;border:1px solid #9c7848;border-radius:8px;background:linear-gradient(#493522,#21170f);padding:7px 12px;min-height:34px;box-shadow:inset 0 1px #efd19a40,0 2px 4px #0005}button:hover:not(:disabled){filter:brightness(1.2)}button:disabled{cursor:default;color:#c8baa1;filter:saturate(.55) brightness(.72)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ffe5a0;outline-offset:3px}h1,h2,h3,p{margin:0}a{color:#f3ce80}small{font-size:12px}select,input[type=number]{color:#f6e5c3;border:1px solid #9b794d;border-radius:5px;background:#2c2218;padding:7px;min-width:0}.manilaGame{width:100%;height:100%;position:relative;isolation:isolate;background-position:center;background-size:100% 100%;overflow:hidden}.manilaGame:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(#0002,transparent 22%,transparent 78%,#12070038);z-index:-1}.appHeader{position:absolute;inset:0 0 auto;height:16%;pointer-events:none;z-index:30}.brand{position:absolute;top:1.5vh;left:2.5vw;width:clamp(145px,15vw,240px);text-align:center;color:#ffe0a0;filter:drop-shadow(0 3px 2px #000);line-height:.88}.brand h1{font:900 clamp(25px,2.9vw,48px)/.92 Georgia,"Times New Roman",serif;letter-spacing:-1.5px;text-shadow:0 1px #fff2c4,1px 3px #8b551e,0 5px 5px #000}.brandSun{font-size:clamp(34px,4vw,65px);display:block;line-height:.65;transform:translateY(5px);color:#dfb254}.brandFlourish{font-size:clamp(12px,1.4vw,20px);display:block;margin-top:8px;color:#c8933c}.topTools{position:absolute;right:1.5%;top:12px;display:flex;gap:12px;align-items:center;pointer-events:auto}.roundTool{width:50px;height:50px;border-radius:16px;font-size:29px;padding:0;line-height:1}.localStatus{font-size:16px;text-shadow:0 2px 4px #000;margin-right:8px}.localStatus i{display:inline-block;border-radius:50%;width:9px;height:9px;background:#6ec342;box-shadow:0 0 8px #72ca38;margin-right:6px}.roomCard{position:absolute;left:1.3%;top:18%;width:clamp(160px,15vw,235px);background:linear-gradient(115deg,#160f09ef,#1f160bd4);border:1px solid #b98f52;border-radius:15px;box-shadow:inset 0 1px #ffe2aa33,0 3px 12px #0008;padding:12px 13px;z-index:25;font-size:14px;line-height:1.6}.roomCard p b{font-weight:400}.profileStrip{font-size:12px;color:#d8c6a6}.roomCard button{font-size:12px;padding:0;background:none;border:0;box-shadow:none;min-height:22px;color:#e4bd78;text-decoration:underline}.dashboard{position:absolute;inset:0;overflow:hidden}.playerZone{position:absolute;min-width:0;min-height:0;pointer-events:none}.playerZone button{pointer-events:auto}.place-2{left:27%;top:1%;width:46%;height:38%}.place-1{left:67%;top:22%;width:32%;height:44%}.place-3{left:1%;top:32%;width:34%;height:34%}.place-0{left:10%;bottom:17%;width:80%;height:31%}.playerHeading{position:absolute;display:flex;align-items:center;gap:11px;background:linear-gradient(120deg,#16140fef,#231a10e8);border:1px solid #c19a62;border-radius:19px;box-shadow:inset 0 1px #fff2bd55,0 5px 10px #0008;min-width:220px;padding:6px 9px 6px 4px;height:74px;z-index:20;pointer-events:auto}.playerIdentity{min-width:0;flex:1}.playerHeading h2{font-size:20px;font-weight:400;color:#fff8e6;white-space:nowrap}.playerIdentity>strong{font-size:25px;line-height:1.2;font-weight:500;color:#f6bd55;text-shadow:0 1px #000}.playerIdentity strong small{font-size:11px;color:#cdbb98}.avatar{width:64px;height:64px;border-radius:50%;border:2px solid #e6bd70;box-shadow:0 0 0 3px #201c13,0 2px 7px #000;flex:0 0 auto;background-repeat:no-repeat}.avatar-2{background-size:2039% auto;background-position:43.4% 1.28%}.avatar-1{background-size:2039% auto;background-position:88.62% 24.56%}.avatar-3{background-size:2144% auto;background-position:1.51% 37.5%}.avatar-0{background-size:1900% auto;background-position:2.78% 94.03%}.seatWind{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:42px}.seatWind b{display:grid;place-items:center;background:linear-gradient(130deg,#fff9df,#d7c8a7);border:1px solid #b8a67a;box-shadow:0 2px 1px #74634b;border-radius:4px;color:#112b2b;font-size:28px;width:34px;height:39px;font-family:Georgia,serif}.seatWind small{font-size:11px;color:#ead9b7;white-space:nowrap}.place-2 .playerHeading{top:0;left:50%;transform:translate(-50%);width:250px}.place-1 .playerHeading{right:0;top:0;width:235px}.place-3 .playerHeading{left:0;top:0;width:235px}.ownZone .playerHeading{position:fixed;left:2%;bottom:3.5%;width:21%;height:86px;max-width:330px;z-index:40}.ownZone .avatar{height:76px;width:76px}.activePlayer .playerHeading{border-color:#f5cf75;box-shadow:0 0 0 2px #c08d2340,inset 0 1px #ffffce70,0 0 20px #e5b74a30}.backs{display:flex;gap:2px;align-items:center;max-width:100%;height:100%}.backs i{display:block;background:linear-gradient(100deg,#174e28,#033818 70%,#08270f);border:1px solid #002b11;border-top:7px solid #e4d8b4;border-radius:6px 6px 4px 4px;box-shadow:inset 2px 0 #47995255,2px 5px 3px #0005;width:32px;height:55px;flex:1}.place-1 .backs i,.place-3 .backs i{width:31px;height:auto;min-height:8px;border-top-width:4px;flex:1;border-radius:2px}.exposedRows{position:absolute;display:flex;gap:10px;justify-content:center;align-items:flex-start}.bonusRow,.meldRow{border:1px solid #a58a4e98;border-radius:10px;padding:5px 6px 6px;background:#0d352534;position:relative;min-width:70px}.bonusRow>div,.meldRow>div{display:flex;gap:2px;flex-wrap:wrap;align-items:flex-start}.rowLabel{font-size:12px;color:#f4cf80;line-height:1.3;display:block;font-weight:500;text-shadow:0 1px 3px #001e0d}.bonusRow>.rowLabel,.meldRow>.rowLabel{display:block;white-space:nowrap;margin-bottom:4px}.place-2 .exposedRows{top:143px;left:7%;right:7%}.place-2 .bonusRow{flex:1.1}.place-2 .meldRow{flex:1}.place-1 .exposedRows{bottom:0;left:7%;right:7%;justify-content:flex-end}.place-3 .exposedRows{bottom:0;left:8%;right:0}.place-1 .bonusRow,.place-3 .bonusRow,.place-1 .meldRow,.place-3 .meldRow{flex:1}.place-0 .exposedRows{left:0;right:0;bottom:115px;justify-content:space-between;gap:35%}.place-0 .bonusRow,.place-0 .meldRow{width:32.5%;max-width:340px;min-height:72px}.piece{position:relative;display:inline-flex;align-items:center;justify-content:center;width:var(--pieceWidth);height:var(--pieceHeight);min-height:0;flex:0 0 auto;padding:0;background:#f6eed5;border:0;border-bottom:4px solid #b5a783;border-radius:4px;box-shadow:1px 4px 3px #00160c70;transition:transform .14s;isolation:isolate}.piece img,.handTile img{display:block;width:100%;height:100%;object-fit:fill;user-select:none;pointer-events:none;border-radius:3px}.piece:hover:not(:disabled){filter:brightness(1.05);transform:scale(1.18);z-index:25}.piece:focus-visible{z-index:25}.meld{display:inline-flex;gap:1px;margin-right:4px;margin-bottom:2px}.meld .backs{height:var(--pieceHeight)}.meld .backs i{width:var(--pieceWidth);height:var(--pieceHeight);flex:none}.playerDiscards{position:absolute;pointer-events:auto}.playerDiscards>.rowLabel{font-size:11px;opacity:.8;margin-bottom:4px}.playerDiscards>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--pieceWidth),1fr));grid-auto-rows:var(--pieceHeight);align-content:start;gap:3px;justify-items:start}.playerDiscards .piece{width:var(--pieceWidth);height:var(--pieceHeight)}.place-2 .playerDiscards{inset:76% 21% 0}.place-1 .playerDiscards{left:4%;top:26%;width:46%;height:39%;--pieceWidth:29px;--pieceHeight:40px}.place-3 .playerDiscards{right:0;top:18%;width:45%;height:45%;--pieceWidth:29px;--pieceHeight:40px}.place-0 .playerDiscards{left:35%;right:35%;bottom:120px;min-height:68px}.latest{outline:2px solid #ffcb4e;outline-offset:2px}.privateHand{position:absolute;left:0;right:0;bottom:0}.handCaption{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px;height:21px;opacity:.85}.privateHand .rowLabel{font-size:11px}.sortButton{font-size:11px;min-height:20px;padding:2px 8px;background:#173c2a;border-color:#8e8750}.handTiles{display:flex;align-items:flex-end;justify-content:center;gap:3px;min-height:0;padding:0 0 5px}.handTile{position:relative;flex:0 1 65px;min-width:0;min-height:0;height:clamp(70px,10.3vh,106px);padding:0;border:0;border-top:3px solid #ffedbb;border-bottom:9px solid #174525;border-radius:6px;box-shadow:inset 0 1px #ffffe6,2px 8px 4px #001c0e8c;background:#eddfba;transition:transform .14s;transform:perspective(700px) rotateX(-5deg)}.handTile:hover:not(:disabled){filter:brightness(1.04);transform:translateY(-8px)}.handTile.selected{transform:translateY(-12px);outline:2px solid #ffd45e;outline-offset:1px;box-shadow:0 0 20px #ffe16a55,2px 8px 4px #001c0e8c}.handTile.roleTile{border-bottom-color:#9b7c21}.tableMessage{position:absolute;left:36%;right:36%;top:43%;text-align:center;padding:8px 10px;border-radius:8px;background:#0b241c80;backdrop-filter:blur(5px);border:1px solid #bd9d512e;pointer-events:none}.tableMessage button{pointer-events:auto}.tableMessage h2{font-size:18px;font-weight:500;color:#ffe1a1}.notice{font-size:12px;line-height:1.3;margin-top:4px;color:#f1e4c8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resultSummary{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:6px;font-size:14px}.resultSummary button{font-size:12px;padding:4px 8px;min-height:25px}.roleCard{position:absolute;right:19%;top:46%;display:flex;gap:8px;align-items:center;background:#142e21b8;border:1px solid #bc995d75;border-radius:9px;padding:7px;max-width:220px;pointer-events:auto}.roleCard .piece{width:32px;height:44px}.roleCard b{display:block;font-size:14px;font-weight:500;color:#f3cc7a}.roleCard small{font-size:10px;color:#dfd1b0;display:block;margin-top:3px}.turnAction{position:absolute;left:50%;transform:translate(-50%);bottom:29%;display:flex;flex-direction:column;align-items:center;z-index:30;pointer-events:none}.turnAction button{pointer-events:auto;font-size:15px;min-height:35px;padding:5px 16px;border:1px solid #cba54d;background:linear-gradient(#79551bdc,#3e2e15ed);box-shadow:0 3px 12px #002b1755}.turnArrow{font-size:24px;line-height:1;color:#ffd55c;text-shadow:0 0 5px #ffb500,0 0 15px #fdcd4e;display:block;margin-bottom:5px}.selectionHint{font-size:11px;margin-top:4px;text-shadow:0 1px 3px #00180b;color:#f4dfb3}.bottomBar{position:absolute;bottom:3.5%;left:25%;right:1.5%;height:8.8%;display:flex;gap:20px;align-items:center;z-index:35}.actionButtons{display:flex;gap:10px;flex:1;height:100%}.claimButton{flex:1;min-width:0;display:flex;gap:8px;align-items:center;justify-content:center;font-size:clamp(16px,1.7vw,27px);border:2px solid #dab068;border-radius:24px;padding:8px 10px;box-shadow:inset 0 0 0 3px #2a1b0b,inset 0 0 0 5px #f0cd8460,0 4px 5px #000a;text-shadow:0 2px 2px #0009;white-space:nowrap}.claimButton:disabled{opacity:.8;filter:saturate(.7) brightness(.8)}.chow{background:linear-gradient(#1d79a0,#063c55 60%,#082c3c)}.pong{background:linear-gradient(#1f944c,#07552b 60%,#033619)}.kang{background:linear-gradient(#ba791f,#775013 60%,#46320f)}.win{background:linear-gradient(#ac3023,#6c110a 60%,#420e0b)}.pass{background:linear-gradient(#64645c,#363732 60%,#252622)}.actionIcon{width:30px;flex:0 0 30px;color:#eed6a3;line-height:1}.actionIcon svg{width:100%;height:34px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.actionIcon b{font:900 36px Georgia,serif;color:#eac777}.wallCounter{border:1px solid #a27b43;border-radius:14px;box-shadow:inset 0 1px #ebcb8544,0 3px 6px #0009;background:linear-gradient(#1c160fef,#271b0eeb);height:100%;width:137px;display:flex;gap:10px;align-items:center;justify-content:center;flex:0 0 auto;font-size:14px}.wallCounter>span{font-size:42px;color:#e4c595;line-height:.7;transform:rotate(90deg)}.wallCounter strong{font-size:28px;color:#f7d796;display:inline-block;margin-right:8px;font-weight:500;line-height:1.1}.wallCounter small{font-size:9px;color:#c4ad84}.wallCounter>div{max-width:80px}.wallCounter strong{display:block}.declarationPicker{position:absolute;left:50%;bottom:22%;transform:translate(-50%);display:flex;align-items:center;gap:5px;padding:8px;background:#152c20f5;border:1px solid #d3a957;border-radius:9px;z-index:50;max-width:80%;pointer-events:auto}.declarationPicker select{max-width:300px;font-size:13px}.declarationPicker button{font-size:13px;white-space:nowrap}.robberyTile{position:absolute;left:41%;top:48%;display:flex;align-items:center;gap:8px;font-size:14px}.tilePeek{position:fixed;width:138px;height:202px;z-index:1000;pointer-events:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:7px;background:#211a11f5;border:1px solid #d7ad64;border-radius:10px;box-shadow:0 8px 28px #0009}.tilePeek img{width:124px;height:172px;object-fit:fill;border-radius:5px}.tilePeek span{font-size:12px;color:#f3d49c}.piece.arriving{z-index:25;animation:tileArrives .75s ease-out}@keyframes tileArrives{0%{transform:scale(.85)}25%{transform:scale(1.4)}65%{transform:scale(1.2)}to{transform:scale(1)}}.detailDialog{width:min(850px,94vw);max-height:88dvh;overflow:auto;border:1px solid #b99760;border-radius:15px;background:linear-gradient(125deg,#2a2117,#151e17);color:#f5e9cf;padding:24px;box-shadow:0 15px 60px #0009}.detailDialog::backdrop{background:#07150de0;backdrop-filter:blur(4px)}.dialogHeading{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-bottom:18px}.dialogHeading h2{font-size:23px;color:#f3cf8d}.detailDialog p{line-height:1.55;margin:12px 0;font-size:15px}.detailDialog h3{margin:18px 0 10px}.detailDialog details{border-top:1px solid #8f7b514c;padding:12px 0}.detailDialog summary{cursor:pointer;line-height:1.4;font-size:15px}.detailDialog pre{overflow:auto;color:#d6d7bb}.detailDialog li{margin:7px 0}.detailDialog table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}.detailDialog th,.detailDialog td{padding:9px;border-bottom:1px solid #846c45}.rulesPanel a{margin-right:12px}.witness{display:flex;flex-wrap:wrap;gap:8px}.witness>div{padding:12px;background:#28362a;border-radius:6px;max-width:240px}.setupBar{display:flex;gap:16px;flex-wrap:wrap;align-items:center}.setupBar label{display:flex;gap:10px;align-items:center;font-size:16px}.setupBar input[type=number]{width:140px}.setupBar .autoControl{width:100%}.autoControl input{width:20px;height:20px}.menuActions{display:flex;gap:10px;flex-wrap:wrap;width:100%;align-items:center;border-top:1px solid #866c4655;padding-top:18px}.menuActions a{font-size:15px}.setupBar>p{color:#c8bda6!important;font-size:14px!important}@media(max-height:780px)and (min-width:901px){:root{--pieceWidth:24px;--pieceHeight:34px}.playerHeading{height:60px;min-width:180px;padding:4px 7px 4px 3px;gap:8px}.avatar{width:52px;height:52px}.playerHeading h2{font-size:17px}.playerIdentity>strong{font-size:21px}.seatWind b{width:29px;height:33px;font-size:25px}.place-2 .playerHeading{width:220px}.place-1 .playerHeading,.place-3 .playerHeading{width:210px}.place-2 .exposedRows{top:115px}.place-1 .playerDiscards,.place-3 .playerDiscards{--pieceWidth:23px;--pieceHeight:33px}.rowLabel{font-size:11px}.place-0 .exposedRows{bottom:94px}.place-0 .bonusRow,.place-0 .meldRow{min-height:60px}.place-0 .playerDiscards{bottom:97px;min-height:55px}.ownZone .playerHeading{height:70px}.ownZone .avatar{height:60px;width:60px}.roleCard{top:43%;right:18%;padding:5px}.roleCard .piece{width:25px;height:35px}.roleCard b{font-size:12px}.tableMessage{top:44%;padding:5px}.tableMessage h2{font-size:16px}.notice{font-size:10px}.roundTool{width:42px;height:42px;font-size:25px}.roomCard{top:18%;font-size:12px;padding:9px 11px}.profileStrip{font-size:10px}.bottomBar{gap:12px}.claimButton{border-radius:20px;gap:5px;padding:7px}.actionIcon{width:24px;flex-basis:24px}.actionIcon b{font-size:28px}.wallCounter{width:110px;font-size:12px}.wallCounter strong{font-size:23px}.turnAction button{font-size:13px;min-height:30px}.turnArrow{font-size:20px}.selectionHint{font-size:10px}.declarationPicker{bottom:19%;padding:5px}.declarationPicker select,.declarationPicker button{font-size:12px}}@media(max-width:900px){.manilaGame{background-size:auto 100%}.brand{left:2%;top:16px;width:130px}.brand h1{font-size:27px}.brandSun{font-size:35px}.brandFlourish{font-size:12px}.topTools{gap:6px}.roundTool{width:40px;height:40px;font-size:24px;border-radius:12px}.localStatus{font-size:12px;margin:0}.roomCard{top:14%;left:1%;width:145px;font-size:11px;padding:8px;line-height:1.5}.roomCard .profileStrip,.roomCard button{font-size:10px}.playerHeading{height:55px;min-width:0;gap:6px;border-radius:14px;padding:4px}.avatar{width:44px;height:44px}.playerHeading h2{font-size:15px}.playerIdentity>strong{font-size:18px}.playerIdentity strong small{font-size:8px}.seatWind b{width:24px;height:29px;font-size:21px}.seatWind{min-width:28px}.seatWind small{font-size:9px}.place-2 .playerHeading{width:185px}.place-1 .playerHeading,.place-3 .playerHeading{width:175px}.ownZone .playerHeading{width:23%;height:62px;left:1%;bottom:2.5%}.ownZone .avatar{width:49px;height:49px}.backs i{height:35px;width:18px;border-top-width:5px}.place-2 .exposedRows{top:108px;left:0;right:0}.bonusRow,.meldRow{padding:4px;min-width:0;border-radius:6px}.rowLabel{font-size:9px}.place-2 .playerDiscards{top:77%;left:16%;right:16%}.place-1 .backs i,.place-3 .backs i{width:22px}.place-1 .exposedRows,.place-3 .exposedRows{left:0;right:0;gap:4px}.exposedRows{gap:4px}:root{--pieceWidth:20px;--pieceHeight:28px}.place-1 .playerDiscards,.place-3 .playerDiscards{--pieceWidth:20px;--pieceHeight:28px}.playerDiscards>.rowLabel{font-size:9px}.place-0{left:7%;width:86%;bottom:18%;height:31%}.handTile{height:75px;flex-basis:48px;border-bottom-width:6px}.handTiles{gap:2px}.handCaption{height:16px}.privateHand .rowLabel,.sortButton{font-size:9px}.sortButton{min-height:18px;padding:1px 4px}.place-0 .exposedRows{bottom:105px}.place-0 .bonusRow,.place-0 .meldRow{min-height:55px}.place-0 .playerDiscards{bottom:108px;min-height:50px}.roleCard{right:17%;top:45%;max-width:155px;gap:4px;padding:4px}.roleCard .piece{width:24px;height:34px}.roleCard b{font-size:11px}.roleCard small{font-size:9px}.tableMessage{left:34%;right:34%;top:43%;padding:5px}.tableMessage h2{font-size:15px}.notice{font-size:10px}.turnAction{bottom:32%}.turnArrow{font-size:19px}.turnAction button{font-size:12px;min-height:28px;padding:4px 9px}.selectionHint{font-size:9px}.bottomBar{left:25%;right:1%;bottom:2.5%;height:8%;gap:7px}.actionButtons{gap:5px}.claimButton{font-size:15px;gap:4px;border-radius:15px;padding:7px 5px}.actionIcon{width:20px;flex-basis:20px}.actionIcon b{font-size:24px}.actionIcon svg{height:25px}.wallCounter{width:78px;font-size:11px;gap:2px;border-radius:10px}.wallCounter>span{font-size:28px}.wallCounter strong{font-size:23px}.wallCounter small{font-size:8px}.declarationPicker{bottom:16%;padding:4px}.declarationPicker select,.declarationPicker button{font-size:11px}.declarationPicker select{max-width:240px}}@media(max-width:600px){.brand{top:13px;left:12px;width:102px}.brand h1{font-size:23px;letter-spacing:-1px}.brandSun{font-size:28px}.brandFlourish{font-size:10px;margin-top:5px}.localStatus{display:none}.topTools{top:12px;right:10px}.roundTool{width:34px;height:34px;font-size:22px}.roomCard{left:9px;top:105px;width:132px;padding:7px;font-size:10px}.roomCard .profileStrip,.roomCard button{font-size:9px}.place-2{left:29%;width:44%;top:5.5%;height:31%}.place-2 .playerHeading{left:57%;width:158px;height:49px}.avatar{width:38px;height:38px}.playerHeading h2{font-size:13px}.playerIdentity>strong{font-size:16px}.playerIdentity strong small{display:none}.seatWind small{font-size:8px}.seatWind b{font-size:19px;width:22px;height:26px}.backs{gap:1px}.backs i{height:25px;border-top-width:4px;width:10px;border-radius:3px}.place-2 .exposedRows{top:92px;flex-direction:column;align-items:stretch;gap:4px}.place-2 .bonusRow>div,.place-2 .meldRow>div{gap:1px}.place-2 .bonusRow,.place-2 .meldRow{padding:3px;background:#0d35255e}.place-2 .rowLabel{font-size:8px}.place-2 .playerDiscards{top:77%;left:0;right:0}.place-1{left:66%;top:32%;width:32%;height:33%}.place-3{left:2%;top:32%;width:32%;height:33%}.place-1 .playerHeading,.place-3 .playerHeading{width:122px;height:46px;gap:3px;padding:3px}.place-1 .avatar,.place-3 .avatar{width:33px;height:33px}.place-1 .seatWind,.place-3 .seatWind{min-width:22px}.place-1 .playerHeading h2,.place-3 .playerHeading h2{font-size:12px}.place-1 .playerIdentity>strong,.place-3 .playerIdentity>strong{font-size:14px}.place-1 .seatWind b,.place-3 .seatWind b{width:19px;height:23px;font-size:17px}.place-1 .seatWind small,.place-3 .seatWind small{font-size:7px}.place-1 .backs i,.place-3 .backs i{width:17px;min-height:5px;border-top-width:2px}.place-1 .exposedRows,.place-3 .exposedRows{bottom:0;display:flex;flex-direction:column;gap:3px}.place-1 .exposedRows>div,.place-3 .exposedRows>div{width:100%;padding:3px}.place-1 .playerDiscards{left:0;right:22px;width:auto;top:22%;height:39%}.place-3 .playerDiscards{left:22px;right:0;width:auto;top:22%;height:39%}.place-1 .rowLabel,.place-3 .rowLabel{font-size:8px}:root{--pieceWidth:14px;--pieceHeight:20px}.place-1 .playerDiscards,.place-3 .playerDiscards{--pieceWidth:16px;--pieceHeight:23px}.playerDiscards>div{gap:2px}.playerDiscards>.rowLabel{font-size:8px}.piece{border-bottom-width:2px;border-radius:2px}.place-0{left:4%;width:92%;bottom:20%;height:17%}.place-0 .privateHand{bottom:0}.handTiles{gap:1px;flex-wrap:nowrap;justify-content:center}.handTile{flex:1 1 21px;height:47px;border-top-width:1px;border-bottom-width:4px;border-radius:3px;max-width:28px}.handTile.selected{transform:translateY(-6px)}.handCaption{height:14px;margin-bottom:2px}.privateHand .rowLabel,.sortButton{font-size:8px}.place-0 .exposedRows{bottom:75px;gap:37%}.place-0 .bonusRow,.place-0 .meldRow{width:31%;padding:3px;min-height:42px}.place-0 .exposedRows .piece{width:16px;height:23px}.place-0 .rowLabel{font-size:8px}.place-0 .playerDiscards{left:35%;right:35%;bottom:77px;min-height:39px;--pieceWidth:16px;--pieceHeight:23px}.ownZone .playerHeading{bottom:1.7%;left:3%;width:45%;height:54px}.ownZone .avatar{width:44px;height:44px}.ownZone .playerHeading h2{font-size:14px}.ownZone .playerIdentity>strong{font-size:19px}.roleCard{right:3%;top:20%;max-width:125px}.roleCard .piece{width:24px;height:33px}.roleCard b{font-size:10px}.roleCard small{font-size:8px;max-width:65px}.tableMessage{top:47%;left:35%;right:35%;padding:5px 2px}.tableMessage h2{font-size:12px}.notice{font-size:8px}.resultSummary{font-size:10px;flex-direction:column;gap:3px}.resultSummary button{font-size:10px;padding:2px 6px;min-height:20px}.turnAction{bottom:26%;z-index:32}.turnAction button{font-size:10px;padding:4px 9px;min-height:26px}.turnArrow{font-size:16px;margin-bottom:3px}.selectionHint{font-size:8px;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bottomBar{left:3%;right:3%;bottom:9.8%;height:6.6%;gap:0}.actionButtons{gap:4px}.claimButton{font-size:12px;gap:3px;border-width:1px;border-radius:12px;box-shadow:inset 0 0 0 2px #2a1b0b,inset 0 0 0 3px #f0cd8460,0 3px 5px #0008;padding:5px}.actionIcon{width:17px;flex-basis:17px}.actionIcon svg{height:21px;stroke-width:3}.actionIcon b{font-size:21px}.wallCounter{position:fixed;right:3%;bottom:1.7%;height:54px;width:41%;padding:4px;gap:10px;font-size:12px}.wallCounter strong{font-size:24px}.wallCounter>span{font-size:31px}.wallCounter small{font-size:9px}.wallCounter>div{max-width:none;display:flex;flex-wrap:wrap;gap:0 8px;align-items:center}.wallCounter strong{display:inline}.wallCounter small{width:100%}.declarationPicker{bottom:16.8%;width:94%;max-width:94%;padding:4px;gap:4px}.declarationPicker select{width:100%;max-width:65%;font-size:10px;padding:5px}.declarationPicker button{font-size:10px;min-height:29px;flex:1;padding:4px}.tilePeek{width:122px;height:180px}.tilePeek img{width:108px;height:150px}.tilePeek span{font-size:11px}.detailDialog{padding:16px}.dialogHeading h2{font-size:20px}.detailDialog p,.detailDialog summary{font-size:14px}.setupBar{gap:13px}.setupBar label{font-size:14px;flex-wrap:wrap}.setupBar select{max-width:100%}.setupBar input[type=number]{width:115px}.menuActions button,.menuActions a{font-size:14px}.robberyTile{left:36%;top:53%;font-size:10px;max-width:28%;flex-wrap:wrap}.robberyTile .piece{width:20px;height:28px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.claimButton:disabled{opacity:.95;filter:saturate(.85) brightness(.88);color:#dfd1b8}.wallCounter>span svg{width:35px;height:35px;fill:#e2c697;stroke:#ab8e5d;stroke-width:1.5}.wallCounter>span{transform:none}.concealedCount{font-size:11px;color:#cdbd9b;margin-left:7px;white-space:nowrap}.playerHeading h2{display:flex;align-items:baseline;gap:0}.resultHand>div{display:flex;gap:4px;flex-wrap:wrap}.resultHand .piece{width:36px;height:50px}@media(min-width:901px){.place-1 .exposedRows,.place-3 .exposedRows{bottom:35px;display:flex;flex-direction:column;align-items:stretch;gap:6px}.place-1 .bonusRow,.place-1 .meldRow,.place-3 .bonusRow,.place-3 .meldRow{display:flex;align-items:center;gap:8px;padding:4px 6px}.place-1 .exposedRows .rowLabel,.place-3 .exposedRows .rowLabel{width:83px;flex:0 0 83px;white-space:normal;margin:0;font-size:11px}.place-1 .exposedRows>div>div,.place-3 .exposedRows>div>div{flex:1;min-width:0}.roleCard{right:2%;top:11%}.place-0 .bonusRow,.place-0 .meldRow{width:auto;max-width:32.5%;min-width:120px}.bonusRow:has(>div:empty),.meldRow:has(>div:empty){opacity:.55;min-height:0}}@media(max-width:900px){.concealedCount{display:none}}@media(min-width:901px){.playerZone .playerDiscards{--pieceWidth:30px;--pieceHeight:42px}}@media(min-width:901px)and (max-height:780px){.playerZone .playerDiscards{--pieceWidth:24px;--pieceHeight:34px}}@font-face{font-family:Cinzel Game;src:url(/assets/Cinzel-Variable-Dzu6Mfm8.ttf) format("truetype");font-weight:400 900;font-display:swap}.compactRoleLabel{display:none}.rowLabel{font-family:Cinzel Game,Georgia,serif;font-weight:700;letter-spacing:.25px}.gameViewport{position:relative;width:100%;height:100%;overflow:hidden;background:radial-gradient(ellipse at center,#30271b,#090c09 75%)}.tileGroup .rowLabel b{font:inherit;color:inherit;opacity:.8}@media(min-width:901px){.desktopLayout .manilaGame{position:absolute;left:50%;top:50%;width:1600px;height:900px;transform:translate(-50%,-50%) scale(var(--table-scale));transform-origin:center;background-size:100% 100%;overflow:hidden;--public-piece-width:32px;--public-piece-height:44.8px}.desktopLayout .appHeader{height:150px}.desktopLayout .brand{left:35px;top:22px;width:220px}.desktopLayout .brandSun{font-size:52px;line-height:.65}.desktopLayout .brand h1{font-size:43px;line-height:.94;letter-spacing:-1.3px}.desktopLayout .brandFlourish{font-size:17px;margin-top:8px}.desktopLayout .topTools{right:24px;top:14px;gap:12px}.desktopLayout .roundTool{width:48px;height:48px;font-size:28px;border-radius:14px}.desktopLayout .localStatus{font-size:16px;margin-right:8px}.desktopLayout .roomCard{left:22px;top:174px;width:215px;padding:12px 14px;font-size:16px;line-height:1.5;border-radius:12px}.desktopLayout .roomCard .profileStrip{font-size:14px;line-height:1.3;margin-top:4px}.desktopLayout .roomCard button{font-size:13px;line-height:1.5;min-height:24px}.desktopLayout .dashboard{inset:0;overflow:visible}.desktopLayout .playerZone{position:absolute;pointer-events:none;min-width:0;min-height:0}.desktopLayout .place-2{left:625px;top:125px;width:350px;height:350px;bottom:auto}.desktopLayout .place-3{left:255px;top:165px;width:350px;height:350px;bottom:auto}.desktopLayout .place-1{left:995px;top:165px;width:350px;height:350px;bottom:auto}.desktopLayout .place-0{left:150px;top:550px;width:1300px;height:200px;bottom:auto}.desktopLayout .playerHeading{height:74px;width:245px;min-width:0;max-width:none;gap:10px;padding:5px 8px 5px 5px;border-radius:17px}.desktopLayout .avatar{width:62px;height:62px;flex-basis:62px}.desktopLayout .playerHeading h2{font-family:Cinzel Game,Georgia,serif;font-size:19px;line-height:1.2;font-weight:600;display:block}.desktopLayout .playerIdentity>strong{font-size:26px;line-height:1.2}.desktopLayout .playerIdentity strong small{font-size:12px}.desktopLayout .concealedCount{font-size:12px;margin-left:7px;display:inline;color:#cebfa0}.desktopLayout .seatWind{min-width:40px;gap:3px}.desktopLayout .seatWind b{font-size:29px;width:34px;height:40px}.desktopLayout .seatWind small{font-size:11px}.desktopLayout .place-2 .playerHeading{left:50%;top:0;right:auto;width:260px;height:66px;transform:translate(-50%)}.desktopLayout .place-1 .playerHeading{right:auto;left:50%;top:0;width:260px;height:66px;transform:translate(-50%)}.desktopLayout .place-3 .playerHeading{left:50%;right:auto;top:0;width:260px;height:66px;transform:translate(-50%)}.desktopLayout .ownZone .playerHeading{position:absolute;inset:-68px auto auto 50%;width:270px;height:60px;max-width:none;z-index:40;transform:translate(-50%)}.desktopLayout .ownZone .avatar{width:48px;height:48px;flex-basis:48px}.desktopLayout .publicArea{position:absolute;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"bonus discards melds";align-items:start;gap:14px;pointer-events:auto}.desktopLayout .place-2 .publicArea,.desktopLayout .place-3 .publicArea,.desktopLayout .place-1 .publicArea{left:0;top:78px;width:350px;height:272px}.desktopLayout .place-0 .publicArea{left:120px;top:0;width:1060px;height:94px}.desktopLayout .place-1 .publicArea,.desktopLayout .place-2 .publicArea,.desktopLayout .place-3 .publicArea{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"bonus" "melds" "discards";grid-template-rows:repeat(3,max-content);align-content:start;align-items:start;gap:9px}.desktopLayout .exposedRows{display:contents}.desktopLayout .playerZone .tileGroup{position:relative;inset:auto;width:auto;height:auto;min-width:0;min-height:0;max-width:none;display:flex;flex-direction:column;align-items:stretch;gap:4px;flex:0 0 auto;margin:0;padding:5px 6px;border:1px solid #b99b5147;border-radius:7px;background:#07352360;box-shadow:0 2px 5px #001c1020}.desktopLayout .playerZone .bonusRow{grid-area:bonus}.desktopLayout .playerZone .meldRow{grid-area:melds}.desktopLayout .playerZone .playerDiscards{grid-area:discards;--pieceWidth:var(--public-piece-width);--pieceHeight:var(--public-piece-height)}.desktopLayout .playerZone .tileGroup>.rowLabel{display:block;width:auto;flex:none;font-family:Cinzel Game,Georgia,serif;font-weight:700;font-size:16px;line-height:22px;letter-spacing:.2px;white-space:nowrap;margin:0;text-align:center;color:#f4d994;text-shadow:0 2px 2px #00180d}.desktopLayout .playerZone .tileGroup .tileList{display:flex;flex-wrap:wrap;align-items:flex-start;align-content:flex-start;justify-content:center;gap:3px;flex:0 0 auto;min-width:0;min-height:0;width:100%;margin:0}.desktopLayout .playerZone .tileGroup[data-empty=true]{background:none;border-color:transparent;padding-top:0;padding-bottom:0;box-shadow:none;opacity:.55}.desktopLayout .playerZone .bonusRow[data-empty=true],.desktopLayout .playerZone .meldRow[data-empty=true],.desktopLayout .playerZone .tileGroup[data-empty=true] .tileList{display:none}.desktopLayout .place-1 .tileGroup,.desktopLayout .place-3 .tileGroup{display:flex;flex-direction:column;gap:5px;padding:5px 6px;align-items:stretch}.desktopLayout .place-1 .tileGroup>.rowLabel,.desktopLayout .place-2 .tileGroup>.rowLabel,.desktopLayout .place-3 .tileGroup>.rowLabel{font-size:16px;line-height:22px;white-space:nowrap;padding:0}.desktopLayout .playerZone .piece{width:var(--public-piece-width);height:var(--public-piece-height);min-width:0;max-width:none;max-height:none;border-bottom-width:3px;border-radius:4px;padding:0;flex:0 0 auto}.desktopLayout .playerZone .meld{display:inline-flex;gap:1px;margin:0 3px 0 0;flex:0 0 auto;outline:0;border:0;max-width:none}.desktopLayout .playerZone .meld .backs{gap:1px;height:var(--public-piece-height);max-width:none}.desktopLayout .playerZone .meld .backs i{width:var(--public-piece-width);height:var(--public-piece-height);flex:0 0 auto}.desktopLayout .privateHand{position:absolute;inset:90px 0 auto;height:110px;pointer-events:auto}.desktopLayout .handCaption{height:18px;display:flex;align-items:center;margin:0 0 4px;padding:0 3px;opacity:.9}.desktopLayout .privateHand .rowLabel{font-family:Cinzel Game,Georgia,serif;font-weight:700;font-size:14px;line-height:18px;letter-spacing:.35px}.desktopLayout .sortButton{font-size:13px;line-height:16px;min-height:22px;padding:2px 8px}.desktopLayout .handTiles{display:flex;align-items:flex-end;justify-content:center;flex-wrap:nowrap;gap:3px;min-height:0;padding:0 0 4px;height:88px}.desktopLayout .handTile{height:84px;flex:0 1 64px;max-width:64px;min-width:0;margin:0;padding:0;border-top:2px solid #ffebba;border-bottom:7px solid #174525;border-radius:5px;transform:none;box-shadow:1px 5px 4px #001d0d8c}.desktopLayout .handTile:hover:not(:disabled){transform:translateY(-6px)}.desktopLayout .handTile.selected{transform:translateY(-8px);outline:2px solid #ffd45e;outline-offset:1px}.desktopLayout .tableMessage{left:650px;right:auto;top:15px;width:300px;min-height:0;padding:9px 12px;border-radius:9px;background:#0a2c20c4;border-color:#bfa05c5c;backdrop-filter:blur(3px)}.desktopLayout .tableMessage h2{font-family:Cinzel Game,Georgia,serif;font-size:19px;line-height:1.3;font-weight:700}.desktopLayout .notice{font-size:14px;line-height:1.35;white-space:normal;max-height:38px;overflow:hidden;margin-top:4px;color:#e7dcc3}.desktopLayout .resultSummary{font-size:15px;line-height:1.3;gap:8px;margin-top:7px;flex-wrap:wrap}.desktopLayout .resultSummary button{font-size:14px;min-height:28px;padding:3px 9px}.desktopLayout .roleCard{left:auto;right:23px;top:100px;width:239px;max-width:none;padding:7px;gap:8px;border-radius:9px}.desktopLayout .roleCard .piece{width:30px;height:42px;border-bottom-width:3px}.desktopLayout .roleCard b{font-size:15px;line-height:1.2}.desktopLayout .roleCard small{font-size:12px;line-height:1.3;max-width:none;margin-top:3px}.desktopLayout .turnAction{position:absolute;left:800px;top:759px;bottom:auto;transform:translate(-50%);display:flex;flex-direction:row;align-items:center;justify-content:center;gap:12px;white-space:nowrap;max-width:610px}.desktopLayout .turnArrow{display:none}.desktopLayout .turnAction button{font-size:17px;line-height:22px;min-height:36px;padding:5px 18px;border-radius:9px}.desktopLayout .selectionHint{font-size:13px;line-height:18px;margin:0;max-width:280px;overflow:hidden;text-overflow:ellipsis}.desktopLayout .bottomBar{position:absolute;inset:802px 150px auto;height:76px;gap:16px;display:flex;align-items:stretch}.desktopLayout .actionButtons{height:76px;gap:9px;align-items:stretch}.desktopLayout .claimButton{font-family:Cinzel Game,Georgia,serif;font-weight:600;font-size:22px;line-height:1;gap:8px;padding:9px;border-radius:20px;border-width:2px;min-height:0}.desktopLayout .actionIcon{width:29px;flex-basis:29px}.desktopLayout .actionIcon svg{height:34px;width:29px}.desktopLayout .actionIcon b{font-size:34px}.desktopLayout .wallCounter{position:relative;inset:auto;width:137px;height:76px;flex:0 0 137px;border-radius:13px;font-size:15px;gap:9px;padding:6px}.desktopLayout .wallCounter>div{display:block;max-width:80px}.desktopLayout .wallCounter>span{font-size:35px;transform:none}.desktopLayout .wallCounter strong{display:block;font-size:29px;line-height:1;margin:2px 0}.desktopLayout .wallCounter small{font-size:10px}.desktopLayout .declarationPicker{inset:465px auto auto 800px;transform:translate(-50%);width:420px;max-width:none;padding:8px;gap:6px;justify-content:center;box-shadow:0 4px 20px #001d0bb3}.desktopLayout .declarationPicker select{max-width:255px;font-size:14px;line-height:20px}.desktopLayout .declarationPicker button{font-size:14px;line-height:20px;padding:5px 9px;min-height:32px}.desktopLayout .robberyTile{left:660px;right:auto;top:440px;max-width:280px;font-size:14px;gap:7px}.desktopLayout .rowLabel b{display:inline-block;min-width:21px;height:19px;line-height:18px;margin-left:4px;border:1px solid #bd965255;border-radius:9px;background:#e2b96117;color:#ffe8b3;font-family:Arial,sans-serif;font-weight:600;font-size:12px;letter-spacing:0;text-align:center;vertical-align:1px}.desktopLayout .playerHeading .playerIdentity{text-align:center}.desktopLayout .playerHeading .avatar{width:52px;height:52px;flex-basis:52px}.desktopLayout .ownZone .playerHeading .avatar{width:48px;height:48px;flex-basis:48px}.desktopLayout .playerHeading .playerIdentity>strong{font-size:23px}.desktopLayout .detailDialog{position:fixed;inset:0;margin:auto;width:min(850px,85vw);max-height:82vh;font-size:16px}}@media(max-width:900px){.mobileLayout .manilaGame{display:grid;grid-template-rows:48px 32px minmax(0,1fr) 60px;gap:5px;padding:6px 6px calc(6px + env(safe-area-inset-bottom));height:100dvh;width:100%;background-size:auto 100%;--public-piece-width:22px;--public-piece-height:30.8px}.mobileLayout .appHeader{position:relative;inset:auto;height:auto;min-width:0;display:flex;align-items:center;justify-content:space-between}.mobileLayout .brand{position:static;width:auto;filter:drop-shadow(0 2px 2px #000);text-align:left}.mobileLayout .brand h1{font-size:23px;line-height:.88;letter-spacing:-.5px}.mobileLayout .brandSun,.mobileLayout .brandFlourish{display:none}.mobileLayout .topTools{position:static;gap:7px}.mobileLayout .roundTool{width:42px;height:42px;font-size:25px;border-radius:12px}.mobileLayout .localStatus{display:none}.mobileLayout .roomCard{position:relative;inset:auto;width:auto;min-width:0;display:flex;align-items:center;gap:8px;padding:3px 7px;border-radius:7px;font-size:12px;line-height:1.2;box-shadow:none}.mobileLayout .roomCard>p:not(.profileStrip){display:none}.mobileLayout .roomCard .profileStrip{flex:1;min-width:0;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobileLayout .roomCard button{font-size:12px;min-height:24px;flex:0 0 auto;white-space:nowrap}.mobileLayout .dashboard{position:relative;inset:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:54px minmax(0,1fr) 238px max-content 42px;grid-template-areas:"message message role" "liza maria jose" "own own own" "choice choice choice" "turn turn turn";gap:6px;overflow:visible;min-height:0;min-width:0}.mobileLayout .playerZone{position:relative;inset:auto;width:auto;height:auto;min-width:0;min-height:0;display:grid;grid-template-rows:44px minmax(0,1fr);gap:5px;padding:4px;border:1px solid #b79b545e;border-radius:9px;background:#073525a6;pointer-events:auto;overflow:visible}.mobileLayout .place-1{grid-area:jose}.mobileLayout .place-2{grid-area:maria}.mobileLayout .place-3{grid-area:liza}.mobileLayout .place-0{grid-area:own;grid-template-rows:40px minmax(0,1fr) 124px;grid-template-areas:"badge" "public" "hand";gap:4px;background:#063625bd}.mobileLayout .playerZone .playerHeading{position:relative;inset:auto;transform:none;min-width:0;max-width:none;width:100%;height:100%;padding:3px;gap:4px;border-radius:7px;box-shadow:inset 0 1px #fff2bd33,0 2px 3px #00150d70;justify-self:center;align-self:start}.mobileLayout .playerHeading .avatar{width:27px;height:27px;flex:0 0 27px;border-width:1px;box-shadow:0 0 0 1px #201c13}.mobileLayout .playerIdentity{text-align:center;min-width:0;flex:1}.mobileLayout .playerHeading h2{display:block;font-family:Cinzel Game,Georgia,serif;font-size:14px;font-weight:700;line-height:1.1;white-space:nowrap}.mobileLayout .playerIdentity>strong{font-size:14px;line-height:1.15;display:block}.mobileLayout .playerIdentity strong small,.mobileLayout .concealedCount{display:none}.mobileLayout .seatWind{min-width:17px;gap:0}.mobileLayout .seatWind b{width:17px;height:23px;font-size:18px;border-radius:2px}.mobileLayout .seatWind small{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.mobileLayout .ownZone .playerHeading{grid-area:badge;width:180px;max-width:100%;height:40px}.mobileLayout .ownZone .playerHeading .avatar{width:30px;height:30px;flex-basis:30px}.mobileLayout .ownZone .playerIdentity strong small{display:inline;font-size:10px}.mobileLayout .ownZone .seatWind{min-width:23px}.mobileLayout .ownZone .seatWind b{width:23px;height:27px;font-size:21px}.mobileLayout .publicArea{position:relative;inset:auto;width:auto;height:auto;min-width:0;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"bonus" "melds" "discards";grid-template-rows:repeat(3,max-content);align-content:start;gap:4px}.mobileLayout .ownZone .publicArea{grid-area:public;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"bonus discards melds";grid-template-rows:max-content;gap:5px}.mobileLayout .exposedRows{display:contents}.mobileLayout .playerZone .tileGroup{position:relative;inset:auto;width:auto;height:auto;min-width:0;min-height:0;max-width:none;display:flex;flex-direction:column;align-items:stretch;gap:3px;flex:none;margin:0;padding:3px 2px;border:1px solid #c09b4d4d;border-radius:5px;background:#092c2070}.mobileLayout .playerZone .bonusRow{grid-area:bonus}.mobileLayout .playerZone .meldRow{grid-area:melds}.mobileLayout .playerZone .playerDiscards{grid-area:discards;--pieceWidth:var(--public-piece-width);--pieceHeight:var(--public-piece-height)}.mobileLayout .playerZone .tileGroup>.rowLabel{display:block;width:auto;flex:none;min-width:0;font-family:Cinzel Game,Georgia,serif;font-size:12px;line-height:16px;font-weight:700;text-align:center;letter-spacing:0;margin:0;color:#f6d894;white-space:nowrap}.mobileLayout .expandedBonusLabel{display:none}.mobileLayout .rowLabel b{font-family:Arial,sans-serif;font-size:11px;color:#ffe3a3;opacity:1}.mobileLayout .playerZone .tileList{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;align-content:flex-start;width:100%;min-width:0;min-height:0;flex:none;gap:2px;margin:0}.mobileLayout .playerZone .tileGroup[data-empty=true]{background:none;border-color:transparent;opacity:.6;padding-top:0;padding-bottom:0}.mobileLayout .playerZone .bonusRow[data-empty=true],.mobileLayout .playerZone .meldRow[data-empty=true],.mobileLayout .playerZone .tileGroup[data-empty=true] .tileList{display:none}.mobileLayout .playerZone .piece{width:var(--public-piece-width);height:var(--public-piece-height);min-width:0;min-height:0;max-width:none;max-height:none;padding:0;border-bottom-width:2px;border-radius:3px;flex:0 0 auto}.mobileLayout .playerZone .meld{display:inline-flex;gap:1px;margin:0 1px 0 0;max-width:none;flex:0 0 auto}.mobileLayout .playerZone .meld .backs{height:var(--public-piece-height);gap:1px;max-width:none}.mobileLayout .playerZone .meld .backs i{width:var(--public-piece-width);height:var(--public-piece-height);flex:0 0 auto}.mobileLayout .privateHand{grid-area:hand;position:relative;inset:auto;display:grid;grid-template-rows:22px minmax(0,1fr);gap:4px;height:auto;min-height:0;min-width:0}.mobileLayout .handCaption{height:auto;margin:0;padding:0 2px;gap:5px;align-items:center;opacity:1}.mobileLayout .privateHand .rowLabel{font-size:12px;line-height:18px;white-space:nowrap}.mobileLayout .sortButton{font-size:12px;line-height:18px;min-height:22px;padding:1px 5px}.mobileLayout .handTiles{display:flex;flex-wrap:wrap;gap:3px;align-items:center;align-content:center;justify-content:center;min-height:0;height:auto;padding:3px 0 2px;overflow:visible;--hand-piece-width:clamp(24px,8vw,32px);width:100%;max-width:calc(var(--hand-piece-width)*9 + 24px);margin:auto}.mobileLayout .handTile{width:var(--hand-piece-width);height:calc(var(--hand-piece-width)*1.4);aspect-ratio:5/7;max-width:100%;min-width:0;min-height:0;justify-self:center;flex:0 0 auto;margin:0;padding:0;transform:none;border-top-width:1px;border-bottom-width:4px;border-radius:4px;box-shadow:1px 3px 3px #00190db3}.mobileLayout .handTile:hover:not(:disabled){transform:none}.mobileLayout .handTile.selected,.mobileLayout .handTile.selected:hover:not(:disabled){transform:translateY(-3px);outline-offset:0}.mobileLayout .tableMessage{grid-area:message;position:relative;inset:auto;width:auto;min-width:0;padding:4px 6px;border-radius:7px;align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:2px;overflow:hidden}.mobileLayout .tableMessage h2{font-family:Cinzel Game,Georgia,serif;font-size:16px;line-height:19px;font-weight:700}.mobileLayout .notice{font-size:12px;line-height:15px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobileLayout .resultSummary{margin:0;font-size:12px;line-height:16px;flex-direction:row;gap:4px}.mobileLayout .resultSummary button{font-size:12px;line-height:16px;min-height:24px;padding:2px 5px}.mobileLayout .tableMessage:has(.resultSummary) .notice{display:none}.mobileLayout .roleCard{grid-area:role;position:relative;inset:auto;max-width:none;min-width:0;padding:3px;gap:4px;display:flex;align-items:center;align-self:stretch;background:#102d20df}.mobileLayout .roleCard .piece{width:23px;height:33px;flex:0 0 23px;border-bottom-width:2px}.mobileLayout .roleCard span{min-width:0}.mobileLayout .expandedRoleLabel{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.mobileLayout .compactRoleLabel{display:inline}.mobileLayout .roleCard b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:14px;max-width:none}.mobileLayout .roleCard small{font-size:10px;line-height:12px;max-width:none;margin-top:2px}.mobileLayout .turnAction{grid-area:turn;position:relative;inset:auto;transform:none;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:6px;min-width:0;width:auto;max-width:none;z-index:30}.mobileLayout .turnArrow{display:none}.mobileLayout .turnAction button{font-size:16px;line-height:20px;min-height:38px;padding:6px 10px;flex:0 0 auto;border-radius:8px}.mobileLayout .selectionHint{font-size:12px;line-height:15px;margin:0;max-width:155px;min-width:0;white-space:normal}.mobileLayout .bottomBar{position:relative;inset:auto;display:grid;grid-template-columns:minmax(0,1fr) 55px;grid-template-rows:minmax(0,1fr);height:auto;min-height:0;gap:5px;align-items:stretch}.mobileLayout .actionButtons{height:auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:4px;min-width:0;min-height:0}.mobileLayout .claimButton{display:flex;flex-direction:column;justify-content:center;gap:2px;font-family:Cinzel Game,Georgia,serif;font-size:12px;line-height:15px;font-weight:600;min-height:0;padding:3px 1px;border-width:1px;border-radius:10px;box-shadow:inset 0 0 0 2px #2a1b0b,inset 0 0 0 3px #f0cd8440,0 2px 3px #0008}.mobileLayout .actionIcon{width:20px;height:22px;flex:0 0 22px}.mobileLayout .actionIcon b{font-size:23px;line-height:22px}.mobileLayout .actionIcon svg{width:20px;height:22px}.mobileLayout .wallCounter{position:relative;inset:auto;display:flex;flex-direction:column;width:auto;height:auto;min-width:0;min-height:0;padding:3px;gap:1px;font-size:10px;border-radius:9px;line-height:12px}.mobileLayout .wallCounter>span{display:none}.mobileLayout .wallCounter>div{display:block;max-width:none;text-align:center}.mobileLayout .wallCounter strong{font-size:23px;line-height:25px;display:block;margin:0}.mobileLayout .wallCounter small{display:none}.mobileLayout .declarationPicker{grid-area:choice;position:relative;inset:auto;transform:none;width:auto;min-width:0;max-width:none;display:flex;flex-wrap:nowrap;gap:4px;padding:2px;background:#102d20fa;box-shadow:0 2px 15px #0009}.mobileLayout .declarationPicker select{flex:1 1 150px;max-width:none;width:auto;font-size:14px;min-height:36px}.mobileLayout .declarationPicker button{flex:0 1 auto;font-size:14px;line-height:18px;min-height:36px;padding:4px 6px}.mobileLayout .robberyTile{position:absolute;top:0;left:0;right:0;max-width:none;background:#143a28f5;padding:4px;justify-content:center;font-size:14px;border:1px solid #b5985a;border-radius:7px;z-index:40}.mobileLayout .detailDialog{position:fixed;inset:0;margin:auto;width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:14px}.mobileLayout .detailDialog button{min-height:40px}}@media(max-width:900px)and (min-width:601px)and (min-height:501px){.mobileLayout .dashboard{grid-template-rows:58px minmax(0,1fr) 224px max-content 44px}.mobileLayout .place-0{grid-template-rows:44px minmax(0,1fr) 88px}.mobileLayout .ownZone .playerHeading{height:44px;width:230px}.mobileLayout .handTiles{flex-wrap:nowrap;max-width:none;height:100%}.mobileLayout .handTile{width:auto;height:100%;max-height:57px;aspect-ratio:5/7;flex:0 1 40px}.mobileLayout .playerZone .tileGroup>.rowLabel{font-size:14px;line-height:18px}.mobileLayout .playerHeading h2,.mobileLayout .playerIdentity>strong{font-size:16px}.mobileLayout .playerHeading .avatar{width:32px;height:32px;flex-basis:32px}.mobileLayout .claimButton{font-size:16px}.mobileLayout .roomCard .profileStrip,.mobileLayout .roomCard button{font-size:14px}}@media(max-width:600px)and (max-height:740px){.mobileLayout .manilaGame{grid-template-rows:42px 26px minmax(0,1fr) 52px;gap:4px;padding:4px 4px calc(4px + env(safe-area-inset-bottom))}.mobileLayout .dashboard{grid-template-rows:44px minmax(0,1fr) 180px max-content 36px;gap:4px}.mobileLayout .playerZone{grid-template-rows:38px minmax(0,1fr);padding:3px;gap:3px}.mobileLayout .place-0{grid-template-rows:30px minmax(0,1fr) 90px;gap:3px}.mobileLayout .ownZone .playerHeading{height:30px;width:160px}.mobileLayout .ownZone .playerHeading .avatar{width:24px;height:24px;flex-basis:24px}.mobileLayout .ownZone .seatWind b{height:23px;width:20px;font-size:18px}.mobileLayout .playerZone .tileGroup{padding:2px 1px;gap:2px}.mobileLayout .privateHand{grid-template-rows:18px minmax(0,1fr);gap:2px}.mobileLayout .handTiles{--hand-piece-width:22px}.mobileLayout .turnAction button{min-height:34px;padding:4px 8px}.mobileLayout .roundTool{height:38px;width:38px}}@media(max-width:600px)and (max-height:620px)and (orientation:portrait){.mobileLayout .manilaGame{grid-template-rows:36px minmax(0,1fr) 48px}.mobileLayout .roomCard{display:none}.mobileLayout .dashboard{grid-template-rows:40px minmax(0,1fr) 164px max-content 34px}.mobileLayout .place-0{grid-template-rows:28px minmax(0,1fr) 80px}.mobileLayout .ownZone .playerHeading{height:28px}.mobileLayout .ownZone .playerHeading .avatar{width:22px;height:22px;flex-basis:22px}.mobileLayout .handTiles{--hand-piece-width:18px}.mobileLayout .brand h1{font-size:20px}.mobileLayout .roundTool{width:32px;height:32px;min-height:32px;font-size:23px}.mobileLayout .topTools:before{content:"H defaults";font:11px Arial,sans-serif;color:#e8c17a}.mobileLayout .playerZone .tileGroup>.rowLabel{font-size:11px}}@media(max-width:900px)and (max-height:500px)and (orientation:landscape){.mobileLayout .manilaGame{grid-template-rows:28px minmax(0,1fr) 42px;gap:3px;padding:3px 5px calc(3px + env(safe-area-inset-bottom));background-size:100% auto}.mobileLayout .roomCard{display:none}.mobileLayout .brand h1{font-size:18px;line-height:22px}.mobileLayout .brand br{display:none}.mobileLayout .roundTool{width:28px;height:28px;min-height:28px;font-size:20px;border-radius:7px}.mobileLayout .dashboard{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:26px minmax(0,1fr) 96px max-content 30px;gap:3px}.mobileLayout .playerZone{grid-template-rows:28px minmax(0,1fr);padding:2px;gap:3px}.mobileLayout .playerZone .playerHeading{width:180px;max-width:100%;padding:2px;gap:4px}.mobileLayout .playerHeading .avatar{width:22px;height:22px;flex-basis:22px}.mobileLayout .playerHeading h2,.mobileLayout .playerIdentity>strong{font-size:12px;line-height:12px}.mobileLayout .playerIdentity>strong{display:inline;font-size:11px}.mobileLayout .seatWind b{height:21px;width:17px;font-size:17px}.mobileLayout .publicArea{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"bonus melds discards";grid-template-rows:max-content;gap:3px}.mobileLayout .playerZone .tileGroup{padding:2px 1px;gap:2px}.mobileLayout .playerZone .tileGroup>.rowLabel{font-size:11px;line-height:14px}.mobileLayout .place-0{grid-template-columns:130px minmax(0,1fr);grid-template-rows:44px minmax(0,1fr);grid-template-areas:"badge public" "hand hand";gap:3px}.mobileLayout .ownZone .playerHeading{height:28px;width:130px}.mobileLayout .ownZone .playerHeading .avatar{height:22px;width:22px;flex-basis:22px}.mobileLayout .ownZone .seatWind b{height:21px;width:17px;font-size:17px}.mobileLayout .ownZone .publicArea{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:max-content;grid-row:1;align-self:start;height:44px}.mobileLayout .privateHand{grid-template-rows:16px minmax(0,1fr);gap:1px;pointer-events:none}.mobileLayout .handCaption{padding-left:2px;pointer-events:auto}.mobileLayout .privateHand .rowLabel{font-size:11px;line-height:14px}.mobileLayout .sortButton{min-height:18px;font-size:11px;line-height:14px;padding:0 4px}.mobileLayout .handTiles{flex-wrap:nowrap;max-width:none;gap:2px;padding:1px 2px;height:100%;pointer-events:auto}.mobileLayout .handTile{border-bottom-width:2px;aspect-ratio:5/7;width:auto;height:100%;max-width:24px;flex:0 1 24px}.mobileLayout .tableMessage{padding:1px 5px;display:block;line-height:22px;text-align:left;white-space:nowrap}.mobileLayout .tableMessage h2{display:inline;font-size:13px;line-height:20px}.mobileLayout .notice{display:inline;font-size:11px;line-height:20px;margin-left:6px}.mobileLayout .tableMessage:has(.resultSummary){display:flex;flex-direction:row;align-items:center;justify-content:center;gap:6px}.mobileLayout .resultSummary{display:flex;font-size:11px;line-height:20px}.mobileLayout .resultSummary button{min-height:22px;font-size:11px;padding:0 4px}.mobileLayout .roleCard{padding:1px 4px;gap:4px;justify-content:center}.mobileLayout .roleCard .piece{width:15px;height:22px;flex-basis:15px}.mobileLayout .roleCard b{display:inline;font-size:12px;line-height:14px}.mobileLayout .roleCard small{display:inline;font-size:10px;margin-left:5px}.mobileLayout .turnAction{gap:6px}.mobileLayout .turnAction button{min-height:28px;font-size:14px;line-height:18px;padding:3px 9px}.mobileLayout .selectionHint{max-width:none;font-size:11px;white-space:nowrap}.mobileLayout .claimButton{flex-direction:row;font-size:14px;gap:4px;padding:1px 3px;border-radius:8px}.mobileLayout .actionIcon{width:17px;height:20px;flex-basis:17px}.mobileLayout .actionIcon svg{width:17px;height:20px}.mobileLayout .actionIcon b{font-size:21px;line-height:20px}.mobileLayout .wallCounter>div{display:block;font-size:9px}.mobileLayout .wallCounter strong{font-size:20px;line-height:22px}.mobileLayout .declarationPicker{inset:auto;padding:2px}.mobileLayout .declarationPicker button,.mobileLayout .declarationPicker select{min-height:30px}}@media(max-width:900px)and (max-height:500px)and (orientation:landscape){.mobileLayout .topTools:before{content:"H defaults";font:11px Arial,sans-serif;color:#e8c17a}}@media(max-width:700px)and (max-height:350px)and (orientation:landscape){.mobileLayout .manilaGame{grid-template-rows:22px minmax(0,1fr) 34px;gap:2px;padding:2px 3px}.mobileLayout .dashboard{grid-template-rows:22px minmax(0,1fr) 74px max-content 26px;gap:2px}.mobileLayout .brand h1{font-size:16px;line-height:20px}.mobileLayout .roundTool{height:22px;width:24px;min-height:22px;font-size:18px}.mobileLayout .playerZone{grid-template-rows:24px minmax(0,1fr);gap:2px}.mobileLayout .playerHeading .avatar{width:18px;height:18px;flex-basis:18px}.mobileLayout .place-0{grid-template-rows:32px minmax(0,1fr);grid-template-columns:110px minmax(0,1fr)}.mobileLayout .ownZone .playerHeading{height:26px;width:110px}.mobileLayout .ownZone .publicArea{height:32px}.mobileLayout .ownZone .tileGroup{padding:1px;gap:1px}.mobileLayout .ownZone .tileGroup>.rowLabel{line-height:12px}.mobileLayout .privateHand{grid-template-rows:12px minmax(0,1fr)}.mobileLayout .privateHand .rowLabel{font-size:10px;line-height:12px}.mobileLayout .sortButton{font-size:10px;min-height:14px;line-height:12px}.mobileLayout .turnAction button{min-height:24px;line-height:18px;padding:2px 7px}.mobileLayout .actionIcon{display:none}.mobileLayout .claimButton{font-size:12px}.mobileLayout .wallCounter{padding:1px;line-height:9px}.mobileLayout .wallCounter>div{font-size:8px;line-height:9px}.mobileLayout .wallCounter strong{font-size:18px;line-height:19px}.mobileLayout .playerZone .tileGroup>.rowLabel{font-size:10px;line-height:12px;white-space:normal}.mobileLayout .ownZone .tileGroup>.rowLabel{white-space:nowrap}.mobileLayout .notice{display:none}}@media(hover:none){.mobileLayout .piece:hover:not(:disabled){transform:none}}.lobbyPage{height:100dvh;width:100%;overflow:auto;background-position:center;background-size:cover;padding:24px 12px;color:#f8edcf}.roomLobby{max-width:820px;margin:0 auto;padding:24px;background:#122b20f5;border:1px solid #bb9557;border-radius:16px;box-shadow:0 12px 40px #0009}.roomLobby>header{margin-bottom:22px;text-align:center}.roomLobby h1{font-family:Cinzel Game,Georgia,serif;font-size:32px;color:#f3d38f}.roomLobby header p{margin-top:5px;color:#cbbd9c}.roomPanel{font:16px/1.45 Arial,sans-serif;min-width:0}.roomPanel>p{margin:12px 0}.roomPanel h3{font-family:Cinzel Game,Georgia,serif;font-size:20px;color:#f1cf8d;margin:0 0 14px}.roomPanel button,.roomPanel input,.roomPanel select{font-size:16px;min-height:42px;max-width:100%}.roomPanel button{padding:8px 12px}.roomPanel>button{margin:10px 8px 0 0}.roomPanel label{display:flex;flex-direction:column;gap:5px;font-size:14px;margin-bottom:14px}.roomPanel input{width:100%;padding:8px;color:#fff1d1;background:#0a2118;border:1px solid #947c4c;border-radius:6px}.roomPanel>label{max-width:340px}.roomForms{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.roomForms>section,.roomSummary{padding:16px;background:#0b211a99;border:1px solid #a68c4c66;border-radius:9px}.roomForms p{font-size:14px!important;color:#d0c4a7}.roomInvite{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.roomInvite>div{flex:1}.roomInvite small{display:block;font-size:12px;color:#cabb92}.roomInvite strong{font-family:Cinzel Game,Georgia,serif;font-size:29px;letter-spacing:3px;color:#ffe09e}.roomInvite input{width:100%;font-size:14px}.roomSummary p{font-size:14px;margin:8px 0}.roomSummary code{overflow-wrap:anywhere}.roomError{padding:10px;border:1px solid #d7a24b;background:#563215;border-radius:6px}.roomConnection{color:#e4c78c}.roomSeats{list-style:none;padding:0;margin:16px 0;display:grid;grid-template-columns:1fr 1fr;gap:8px}.roomSeats li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;background:#143c2a;border:1px solid #a18d4c66;border-radius:7px;min-width:0}.roomSeats li>div{min-width:0}.roomSeats b{font-size:16px;overflow-wrap:anywhere}.roomSeats span{display:block;font-size:14px;color:#c9bea2}.roomSeats button{font-size:14px;min-height:38px;padding:4px 8px;flex:0 0 auto}.roomConfiguration{display:flex;flex-wrap:wrap;gap:12px}.roomConfiguration label{flex:1;min-width:180px}.roomReady{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.roomReady button:last-child{background:linear-gradient(#397149,#163b28);border-color:#d1ad69}@media(max-width:600px){.lobbyPage{padding:8px}.roomLobby{padding:16px 12px}.roomLobby h1{font-size:27px}.roomForms,.roomSeats{grid-template-columns:1fr}.roomInvite strong{font-size:25px}.roomPanel .roomInvite button{font-size:14px;padding:5px 8px}.roomPanel .roomForms{gap:12px}}.networkClock{display:inline-block;margin-left:8px;font:12px/1.3 Arial,sans-serif;color:#ffe2a0;white-space:nowrap}.playerIdentity h2{overflow:hidden;text-overflow:ellipsis}.detailDialog.resultDialog{width:min(960px,94vw);max-height:88dvh;padding:24px;overflow:auto}.resultDialog .dialogHeading{margin-bottom:18px;gap:12px}.resultDialog .dialogHeading h2{font-size:20px}.winnerAnnouncement{display:flex;align-items:center;gap:16px;padding:18px;border:1px solid #bf9b50;border-radius:12px;background:linear-gradient(120deg,#305b35,#142f23);box-shadow:inset 0 1px #fff2bd33}.winnerAnnouncement>span{font-size:46px;color:#f7d381;text-shadow:0 0 24px #e0aa4a66}.winnerAnnouncement>div{min-width:0}.winnerAnnouncement h3{font:700 29px/1.2 Cinzel Game,Georgia,serif;color:#ffe3a3;margin:3px 0 7px;overflow-wrap:anywhere}.resultDialog .winnerAnnouncement p{margin:0;font-size:16px;line-height:1.4}.winnerAnnouncement p:first-child{color:#f1c975;font-weight:700}.resultDialog .winnerLegend{font-size:14px;line-height:1.5;color:#dcd3b9;margin:16px 0}.winningGroups{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;padding:4px 0 16px}.winningGroup{padding:10px;border:1px solid #ac94575e;border-radius:9px;background:#0b211a8c;min-width:0}.winningGroup h4{display:flex;align-items:center;justify-content:space-between;gap:16px;text-transform:capitalize;font:700 16px/1.4 Cinzel Game,Georgia,serif;margin:0 0 9px;color:#eccc8a}.winningGroup h4 small{font:14px/1.4 Arial,sans-serif;color:#c8c6a4}.winningGroup>div{display:flex;justify-content:center;gap:4px}.resultDialog .winningGroup .piece{width:52px;height:72.8px;border-bottom-width:4px;flex:none}.resultDialog .winningTile{outline:3px solid #ffd260;outline-offset:2px;box-shadow:0 0 14px #e9b93866}.resultActions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap;margin-top:20px;padding-top:16px;border-top:1px solid #8f7b514c}.resultActions button{font-size:16px;min-height:42px}@media(max-width:600px){.detailDialog.resultDialog{padding:16px 12px;max-height:90dvh}.resultDialog .dialogHeading h2{font-size:18px}.resultDialog .dialogHeading button{font-size:16px}.winnerAnnouncement{gap:10px;padding:12px}.winnerAnnouncement>span{font-size:32px}.winnerAnnouncement h3{font-size:23px}.winningGroups{gap:8px}.winningGroup{padding:8px}.winningGroup h4{font-size:14px;gap:8px}.winningGroup h4 small{font-size:14px}.resultDialog .winningGroup .piece{width:44px;height:61.6px}.winningGroup>div{gap:3px}}@media(prefers-reduced-motion:reduce){.resultDialog .piece{transition:none}}.detailDialog.gameMenuDialog{width:min(880px,94vw);max-height:90dvh;padding:24px;overflow:auto}.gameMenuDialog .dialogHeading{margin-bottom:16px}.gameMenuDialog .dialogHeading h2{font-family:Cinzel Game,Georgia,serif;font-weight:700;font-size:26px}.gameMenu{font:16px/1.5 Arial,sans-serif}.gameMenu p{font-size:16px;line-height:1.5;margin:8px 0 14px}.gameMenu button{font-size:16px;min-height:42px;padding:8px 13px}.gameMenu h3{font:700 21px/1.3 Cinzel Game,Georgia,serif;color:#f5d18b;margin:0 0 10px}.gameMenu h4{font-size:16px;line-height:1.4;color:#f3ddb2;margin:0 0 9px}.menuMode{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:18px}.menuMode p{margin:0;color:#ded4ba}.modePill{font-size:14px;font-weight:700;border:1px solid #c5a35d;border-radius:20px;padding:4px 11px;background:#24442b;color:#ffe0a0}.menuChoices{display:grid;grid-template-columns:1fr 1fr;gap:16px}.menuChoices.inRoom{grid-template-columns:1fr}.menuCard{min-width:0;padding:18px;border:1px solid #a4894f88;border-radius:12px;background:#0e2b20b8}.gameMenu .menuPrimary{background:linear-gradient(#45663a,#1d422a);border-color:#d5b164;color:#fff0cc;font-weight:700;box-shadow:inset 0 1px #fff4c444,0 2px 5px #0006}.gameMenu .menuHint{font-size:14px;line-height:1.45;color:#cfc6af;margin:9px 0 0}.gameMenu details{border-top:1px solid #a18d5555;padding:12px 0;margin-top:14px}.gameMenu summary{font-size:16px;line-height:1.45;font-weight:700;color:#edc984;cursor:pointer}.gameMenu details[open]>summary{margin-bottom:14px}.gameMenu label:not(.menuAuto){display:flex;flex-direction:column;gap:6px;font-size:14px}.gameMenu select,.gameMenu input[type=number]{width:100%;max-width:100%;font-size:16px;min-height:42px;padding:8px;background:#162b20}.gameMenu .practiceSetup{padding-bottom:0}.gameMenu .practiceSetup input{max-width:190px}.gameMenu .menuPreset{font-size:14px;line-height:1.4;color:#ded2b1;margin-bottom:14px}.practiceTools{display:grid;grid-template-columns:1fr 1fr;gap:24px}.menuAuto{display:flex;align-items:flex-start;gap:10px;font-size:16px;margin:0 0 20px}.menuAuto input{width:21px;height:21px;margin:2px 0;flex:0 0 21px}.menuAuto small{display:block;font-size:14px;color:#cfc6af;margin-top:3px}.practiceSave{border-top:1px solid #a18d5555;padding-top:16px}.practiceSave>div,.menuReview>div{display:flex;gap:8px;flex-wrap:wrap}.menuReview{margin-top:10px;padding-top:20px;border-top:1px solid #a18d5555}.menuReview p{font-size:14px;color:#d0c5ac;margin:12px 0 0}.gameMenu .menuExtras{margin-top:16px}.menuExtras p{font-size:14px;color:#cfc6af;margin-bottom:0}.menuExtras a{display:inline-block;font-size:16px;padding:4px 0}.menuFooter{display:flex;justify-content:flex-end;border-top:1px solid #a18d5555;padding-top:16px;margin-top:8px}.gameMenu .menuFeedback{padding:10px 12px;border:1px solid #c9a35e;border-radius:8px;background:#324322;color:#f9e5b6;margin:0 0 18px}@media(max-width:600px){.detailDialog.gameMenuDialog{padding:18px 12px;max-height:92dvh}.gameMenuDialog .dialogHeading h2{font-size:23px}.menuChoices,.practiceTools{grid-template-columns:1fr}.menuCard{padding:16px}.gameMenu .menuPrimary{width:100%}.menuFooter{position:sticky;bottom:-18px;background:#1a2117f7;padding:12px 0 6px;margin-top:14px}.menuFooter button{width:100%}.menuMode{gap:8px}.menuMode p{font-size:14px}.practiceSave>div{display:grid;grid-template-columns:1fr 1fr}.practiceSave button{padding:8px;font-size:15px}}.chipPicker{min-width:0}.chipPicker label{display:flex;flex-direction:column;gap:6px;font-size:14px;margin:10px 0}.chipPicker select,.chipPicker input{font-size:16px;min-height:42px;width:100%;max-width:100%;padding:8px;color:#fff1d1;background:#14291f;border:1px solid #9b794d;border-radius:6px}.gameMenu .startingChipMenu{margin:0 0 14px;padding:10px 0;border-top:0;border-bottom:1px solid #a18d5555}.gameMenu .startingChipMenu>summary{font-size:15px}.chipHint,.gameMenu .chipHint{font-size:14px!important;line-height:1.45;color:#d3c6aa;margin:8px 0 12px}.chipError{color:#ffe3a0;font-size:14px!important;padding:8px;border:1px solid #e0b35f;border-radius:6px;background:#593519}.gameMenu .menuChipBalance{font-size:16px;padding:10px 12px;margin:0 0 16px;border:1px solid #a18d5566;border-radius:8px;background:#17322399}.menuChipBalance span{display:block;font-size:14px;color:#d1c4a9;margin-top:3px}.roomChipSetup{width:100%;flex:0 0 100%;padding:12px;border:1px solid #aa915066;border-radius:8px;background:#173827}.roomChipSetup .chipPicker{max-width:320px}.roomConfiguration>.chipHint{width:100%;flex-basis:100%}.roomPanel .roomChips{font-size:16px;padding:10px;background:#21412c;border-radius:6px}.chipLedger{table-layout:fixed}.chipLedger th,.chipLedger td{overflow-wrap:anywhere}@media(max-width:600px){.gameMenu .menuChipBalance{padding:8px 10px}.gameMenu .startingChipMenu>summary{font-size:14px}.gameMenu .menuMode{margin-bottom:10px}.gameMenu .menuCard{padding:13px}.gameMenu .menuCard p{margin:6px 0 10px}.gameMenu .menuCard h3{font-size:19px}.gameMenu .menuHint{font-size:14px}.gameMenu .menuChoices{gap:10px}}.roomChatRoot{font:16px/1.45 Arial,Helvetica,sans-serif;color:#f6e8c8}.roomChatRoot[hidden]{display:none}.chatTrigger{position:fixed;z-index:80;right:20px;bottom:112px;display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:10px 15px;border:1px solid #d6b369;border-radius:24px;background:linear-gradient(135deg,#255c42,#0d2b20);box-shadow:inset 0 1px #fff3c43b,0 5px 18px #0009;font-weight:700;color:#ffe0a1}.chatTrigger svg,.chatEmblem svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.chatUnread{position:absolute;top:-8px;right:-5px;min-width:23px;height:23px;display:grid;place-items:center;border-radius:15px;border:2px solid #173628;background:#f2ca7b;color:#28200f;font-size:12px;padding:0 4px}.chatDrawer{position:fixed;z-index:100;inset:16px 16px 16px auto;width:min(390px,calc(100vw - 24px));max-height:calc(100dvh - 32px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #b49658;border-radius:18px;background:linear-gradient(155deg,#15372bf5,#081e18fa);backdrop-filter:blur(20px);box-shadow:0 15px 65px #000b,inset 0 1px #fff2c12e;animation:chatSlide .22s ease-out}.chatHeader{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 18px 14px;border-bottom:1px solid #baa06440;background:linear-gradient(100deg,#33523b55,transparent)}.chatTitle{display:flex;gap:12px;align-items:center;min-width:0}.chatEmblem{display:grid;place-items:center;width:44px;height:44px;border:1px solid #d1ad636b;border-radius:13px;color:#f3cd83;background:#bfa25a13;flex-shrink:0}.chatHeader h2{font:700 24px/1.25 Cinzel Game,Georgia,serif;color:#ffe0a1;margin:0}.chatHeader p{font-size:14px;color:#c9cdbb;margin:4px 0 0}.chatHeader i{display:inline-block;width:7px;height:7px;margin-right:7px;background:#b49c6e;border-radius:50%}.chatHeader i[data-connected=true]{background:#8ecb83;box-shadow:0 0 8px #84c98166}.chatHeader>button{font:28px/1 Arial,sans-serif;width:38px;height:38px;min-height:38px;padding:0;border-radius:50%;background:#193a2f;border-color:#bda26966;box-shadow:none;flex-shrink:0}.chatRoomNote{padding:12px 18px 4px;color:#c7c6af;font-size:14px}.chatMessages{list-style:none;margin:0;padding:18px;display:flex;flex-direction:column;gap:18px;flex:1;min-height:90px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#8d8054 #123025}.chatEmpty{margin:auto;text-align:center;padding:30px 8px;color:#bbc4b4}.chatEmpty>svg{width:38px;height:38px;stroke:#d5b671;stroke-width:1.3;opacity:.8;margin:0 auto 10px}.chatEmpty h3{font-size:18px;font-weight:600;color:#f0d8a7;margin:0 0 8px}.chatEmpty p{font-size:16px;margin:0;max-width:245px}.chatMessage{max-width:94%;align-self:flex-start;min-width:120px}.chatMessageMeta{display:flex;align-items:baseline;gap:12px;justify-content:space-between;padding:0 3px 5px}.chatMessageMeta b{font-size:14px;font-weight:600;color:#edcd8a;overflow-wrap:anywhere}.chatMessageMeta time{font-size:12px;color:#b4bdad;white-space:nowrap}.chatMessage p{margin:0;padding:11px 13px;border:1px solid #98b69a30;border-radius:3px 13px 13px;background:#284d3c;font-size:16px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;color:#f4ecd9;user-select:text}.chatOwn{align-self:flex-end}.chatOwn p{background:#66552f70;border-color:#d5b56b50;border-radius:13px 3px 13px 13px}.chatComposer{padding:16px 18px 12px;border-top:1px solid #baa06440;background:#0b231dbf;flex-shrink:0}.chatComposer label{font-size:14px;font-weight:600;display:block;margin-bottom:8px;color:#e0d4b5}.chatComposer textarea{font:16px/1.4 Arial,Helvetica,sans-serif;display:block;width:100%;height:76px;max-height:110px;resize:none;min-width:0;padding:11px 12px;border:1px solid #baa06488;border-radius:10px;background:#061a14;color:#fff0cf;box-shadow:inset 0 2px 6px #0003}.chatComposer textarea::placeholder{color:#9da991}.chatComposerActions{display:flex;justify-content:space-between;align-items:center;margin-top:9px;gap:12px}.chatComposerActions>span{font-size:14px;color:#b3baa4}.chatComposerActions button{display:flex;gap:20px;align-items:center;min-height:42px;border-color:#f3d390;color:#2d2512;background:linear-gradient(#f3d597,#cfaa60);font-weight:700;padding:8px 16px;border-radius:9px}.chatComposerActions button:disabled{filter:none;background:#34463a;color:#bac2ab;border-color:#6a795f;opacity:.8}.chatRetention{font-size:14px;line-height:1.4;color:#acb7a3;margin:10px 0 0}.chatError{font-size:14px;line-height:1.4;color:#ffe0aa;margin:0 0 10px}.chatToasts{position:fixed;z-index:75;bottom:clamp(128px,16vh,180px);left:50%;transform:translate(-50%);width:min(620px,calc(100vw - 40px));display:flex;flex-direction:column;gap:8px;pointer-events:none;text-align:center}.chatToasts p{margin:0;color:#fff7dd;font-size:17px;font-weight:500;line-height:1.45;text-shadow:0 1px 2px #000,0 2px 8px #000,0 0 20px #000;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;animation:chatPop .25s ease-out}.chatToasts b{color:#ffe0a1;font-weight:700;margin-right:6px}.chatToasts b:after{content:":"}.chatLive{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.chatInLobby .chatTrigger{top:20px;bottom:auto;right:24px}@media(max-width:900px){.chatTrigger{top:10px;bottom:auto;right:110px;width:42px;height:42px;min-height:42px;padding:9px;border-radius:12px}.chatTriggerLabel{display:none}.chatUnread{min-width:21px;height:21px;font-size:11px;top:-6px;right:-5px}.chatInLobby .chatTrigger{right:16px;top:18px}.chatDrawer{inset:8px 8px max(8px,env(safe-area-inset-bottom)) auto;width:min(390px,calc(100vw - 16px));max-height:calc(100dvh - 16px);border-radius:15px}.chatHeader{padding:16px 14px 12px}.chatRoomNote{padding:10px 14px 0}.chatMessages{padding:16px 14px}.chatComposer{padding:12px 14px}.chatToasts{bottom:calc(132px + env(safe-area-inset-bottom));font-size:16px;width:calc(100vw - 28px)}}@media(max-height:500px){.chatHeader{padding:8px 14px}.chatHeader h2{font-size:21px}.chatEmblem{width:36px;height:36px}.chatRoomNote,.chatRetention{display:none}.chatComposer{padding:8px 14px}.chatComposer label{margin-bottom:4px}.chatComposer textarea{height:48px}.chatMessages{min-height:40px;gap:12px;padding:12px 14px}.chatComposerActions{margin-top:6px}}@keyframes chatSlide{0%{opacity:0;transform:translate(24px)}to{opacity:1;transform:translate(0)}}@keyframes chatPop{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.chatDrawer,.chatToasts p{animation:none}}
