/* 老在一起：翡翠绒面、胡桃木与黄铜。牌面图案保持传统规范。 */
.lobby .brand>span:last-child{display:block;white-space:nowrap}.lobby .brand small{display:block;margin-top:4px;font-size:10px;letter-spacing:2px}
.classic-card:after{content:'老'}
.rotate-hint{display:none}
.room-start-note{padding:11px 15px;border:1px solid #dedac1;border-radius:8px;background:#f4f1e4;color:#8b7749!important}
.room-share-actions{display:flex;align-items:center;justify-content:center;gap:13px;margin:20px 0 10px;flex-wrap:wrap}
.room-share-actions button{display:inline-flex;align-items:center;gap:6px;font-size:12px}.room-share-actions .icon{width:16px;height:16px}
.room-code-input{font-size:30px!important;font-weight:600;letter-spacing:12px;text-align:center;min-height:64px;color:#2d5946!important;background:#f1f3e9!important}
.join-intro{font-size:12px;color:#7e8c70;line-height:1.8}
.invite-sheet>span{display:block;text-align:center;font-size:11px;color:#8e997e}.invite-sheet>strong{display:block;text-align:center;font-size:40px;letter-spacing:12px;color:#365941;margin:12px 0 20px}
.invite-sheet>p{font-size:12px;line-height:1.8;color:#7e8c70}.invite-sheet textarea{width:100%;min-height:132px;resize:none;border:1px solid #d9ddc8;border-radius:8px;padding:13px;margin:16px 0;line-height:1.8;font-family:inherit;font-size:12px;color:#526946;background:#f3f4e9}
.waiting-seats strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:700px){body:not(.room-active) .lobby:has(.room-lobby) .topbar{height:66px;padding:0 14px}body:not(.room-active) .lobby:has(.room-lobby) .brand{font-size:16px;gap:3px;white-space:nowrap}body:not(.room-active) .lobby:has(.room-lobby) .brand>span:last-child{display:block}body:not(.room-active) .lobby:has(.room-lobby) .brand small{display:block;margin-top:4px;font-size:9px;letter-spacing:1px}body:not(.room-active) .lobby:has(.room-lobby) .subtle-button span{display:none}body:not(.room-active) .lobby:has(.room-lobby) .icon-button{width:33px;height:33px}}
@container room-screen (max-width:700px){.lobby:has(.room-lobby) .topbar{height:66px;padding:0 14px}.lobby:has(.room-lobby) .brand{font-size:16px;gap:3px;white-space:nowrap}.lobby:has(.room-lobby) .brand>span:last-child{display:block}.lobby:has(.room-lobby) .brand small{display:block;margin-top:4px;font-size:9px;letter-spacing:1px}.lobby:has(.room-lobby) .subtle-button span{display:none}.lobby:has(.room-lobby) .icon-button{width:33px;height:33px}}
.difficulty-picker{display:flex;align-items:center;gap:12px;font-size:10px;color:#d0d7bd;margin-top:18px;position:relative;z-index:2}
.difficulty-picker select{appearance:none;background:#183e30;border:1px solid #b7a36a75;border-radius:7px;padding:7px 30px 7px 13px;color:#f0deb2;font-size:11px;background-image:linear-gradient(45deg,transparent 50%,#bdae81 50%),linear-gradient(135deg,#bdae81 50%,transparent 50%);background-position:calc(100% - 15px) 12px,calc(100% - 11px) 12px;background-size:4px 4px;background-repeat:no-repeat}
.classic-card{min-height:375px;background:radial-gradient(ellipse at 85% 20%,#47735d88,transparent 60%),linear-gradient(135deg,#173c31,#123129);border:1px solid #ad975b50;box-shadow:0 12px 30px #243a2520,inset 0 0 0 5px #244d3b,inset 0 0 0 6px #b9a57333}
.lobby-benefits{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:19px}
.lobby-benefits>button{display:flex;align-items:center;gap:12px;background:#f0eee2;border:1px solid #dcd9c6;border-radius:11px;padding:15px 18px;text-align:left}
.lobby-benefits strong{display:block;font-size:12px;font-weight:550}.lobby-benefits small{display:block;font-size:10px;color:#91967f;margin-top:5px}.lobby-benefits .icon{width:21px;color:#aa925b}.lobby-benefits .icon:last-child{margin-left:auto;transform:rotate(180deg);width:14px}
.assistant-icon{width:27px;height:27px;flex-shrink:0;color:#b79553}.room-difficulty{color:#a0874e!important;font-size:11px!important;margin-top:10px!important}
.difficulty-explanation{padding:11px 13px;border:1px solid #dedecb;border-radius:8px;background:#f2f0e5;font-size:10px;color:#809074;line-height:1.8;margin-top:-10px}.difficulty-explanation b{font-weight:600;color:#5c7552;margin-right:5px}.difficulty-explanation small{display:block;font-size:9px;color:#a1a68b;margin-top:5px}.voice-preview{min-height:35px;font-size:11px;margin-top:-12px}

body:has(.premium-table){background:radial-gradient(ellipse at 50% 38%,#283d32,#101d18 80%)}
.premium-table .topbar{color:#e5dbb9}.premium-table .brand small{color:#94a78f}.premium-table .icon-button,.premium-table .subtle-button{color:#b4b396}.premium-table .icon-button:hover,.premium-table .subtle-button:hover{color:#e8d59b;background:#ffffff0b}
.premium-table .table-toolbar{color:#a4ae91;gap:13px}.premium-table .table-toolbar .pill{color:#c5b986;background:#e3cf8e0a;border-color:#9f8d503b}.premium-table .table-toolbar .text-button{color:#bdc2a8}.premium-table .table-toolbar .text-button:hover{background:#ffffff09;color:#f0db9a}
.fairness-chip{display:inline-flex;align-items:center;gap:5px;font-size:9px;color:#c6b987;background:#c3ad5e12;border:1px solid #a08b4544;padding:4px 8px;border-radius:5px;white-space:nowrap}.fairness-chip .icon{width:11px!important;height:11px!important}.bot-level{font-size:10px;color:#a4b59e}
.premium-table .table{
  border:1px solid #d5ba7a;border-radius:29px;
  background:radial-gradient(ellipse at 48% 36%,#34776c77,transparent 62%),repeating-linear-gradient(0deg,#ffffff05 0 1px,transparent 1px 3px),repeating-linear-gradient(90deg,#0000000b 0 1px,transparent 1px 3px),linear-gradient(135deg,#17493f,#103b31 65%,#092b24);
  box-shadow:inset 0 0 0 3px #73603b,inset 0 0 0 5px #e1c78d,inset 0 0 0 7px #403628,inset 0 0 0 16px #342e24,inset 0 0 0 18px #b49a5b,inset 0 0 0 20px #091e18,inset 0 0 65px 24px #0719128a,0 15px 36px #020b0780,0 1px 0 #f3d78d44;
}
/* Fine walnut grain lives on the inner rim, never over the playing surface. */
.premium-table .table:before{content:'';position:absolute;inset:7px;border:8px solid #66503855;border-radius:21px;pointer-events:none;z-index:0;background:repeating-linear-gradient(175deg,transparent 0 3px,#b69b6220 3px 4px,transparent 4px 8px);mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);mask-composite:exclude}
.premium-table .felt-line{inset:27px;border:1px solid #cdb67938;border-radius:13px;box-shadow:inset 0 0 0 4px #00000007}
.table-signature{position:absolute;top:37px;left:37px;color:#b7ae7b;pointer-events:none;opacity:.68}.table-signature span{display:block;font-family:"Songti SC",serif;font-size:17px;letter-spacing:6px}.table-signature small{display:block;font-size:6px;letter-spacing:2px;margin-top:8px;color:#8d9e7b}
.brass-corner{position:absolute;width:21px;height:21px;border-top:2px solid #d5bb78;border-left:2px solid #d5bb78;opacity:.7;pointer-events:none;filter:drop-shadow(0 1px 1px #0008)}.brass-corner:after{content:'';position:absolute;inset:4px;border-top:1px solid #a89153;border-left:1px solid #a89153}.brass-corner.nw{top:23px;left:23px}.brass-corner.ne{top:23px;right:23px;transform:rotate(90deg)}.brass-corner.sw{bottom:23px;left:23px;transform:rotate(-90deg)}.brass-corner.se{bottom:23px;right:23px;transform:rotate(180deg)}
.premium-table .player-id{background:linear-gradient(120deg,#143e32eb,#0c2d24b8);border-color:#baa36b40;box-shadow:0 4px 9px #061e1845,inset 0 1px 0 #ffffff0b}.premium-table .player.active .player-id{background:linear-gradient(120deg,#2c5140,#173d2e);border-color:#e4c477bb;box-shadow:0 0 15px #d7b66613,inset 0 1px 0 #f6deb528}.premium-table .player-id .avatar{border-color:#ceb980a3;box-shadow:0 0 0 2px #081f1970}.premium-table .player-id small{color:#91ad94}.premium-table .score{color:#ead6a0}
.premium-table .tile{box-shadow:0 2px 0 #c8bfa6,0 4px 0 #b0aa8b,0 6px 0 #144235,0 8px 10px #071e1b48;background:linear-gradient(115deg,#fffef8,#f4efdc);border-color:#e6dcbf}.premium-table .tile.small{box-shadow:0 2px 0 #b3ab8b,0 3px 4px #051f1a40}.premium-table .tile.back{background:linear-gradient(145deg,#246756,#103f32);border-color:#9fae7a70;box-shadow:0 2px 0 #c7b87e,0 4px 7px #031c1540}.premium-table .tile-back-pattern{border-color:#c7b77b44;background:repeating-linear-gradient(45deg,transparent 0 4px,#c8bf7e0c 4px 5px);box-shadow:inset 0 0 0 2px #e6dba80a}
.premium-table .compass{background:linear-gradient(135deg,#214d40,#12372c);border:1px solid #b79d5a55;box-shadow:0 2px 15px #071e1b44,inset 0 0 0 4px #cbb56f08}.premium-table .center-mark{color:#8ba98b}.premium-table .wind{color:#839d8a}.premium-table .wind.self{color:#f6d77e;font-weight:800;text-shadow:0 0 5px #b68b3040}.premium-table .wall-count{color:#94aa8e}.premium-table .wall-count strong{color:#dbc994}.premium-table .table-center>small{color:#8ba486}.premium-table .hand-footer{color:#a5b191}.premium-table .hand-footer .text-button{color:#a7b598}.premium-table .hand-footer .text-button:hover{color:#ead8a2;background:#ffffff08}.premium-table .action-caption{color:#c1cead}.premium-table .action-chip{background:linear-gradient(#eadfb9,#cfbd83);box-shadow:0 3px 0 #908054;color:#24412c;border:1px solid #f4e7ba66}.premium-table .action-chip.pass{background:#ffffff07;border-color:#c6d5aa32;color:#c2cca7;box-shadow:none}.premium-table .action-chip.hu{background:linear-gradient(#e8b581,#cc895c);color:#482f25}
.assistant-button{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:5px 9px;border-radius:8px;background:#e4cb8714;border:1px solid #b5a05a68;color:#e0cd94;font-size:10px;white-space:nowrap}.assistant-button .assistant-icon{width:19px;height:19px;color:#d8c389}.assistant-button small{font-size:8px;color:#a9ad88}.assistant-button.awake{background:#cad89d16;border-color:#bbc88670;color:#d7e3bc}.assistant-button:hover{background:#d5b65e25}
.assistant-strip{display:flex;align-items:center;gap:10px;margin:0 auto 12px;padding:9px 13px;max-width:560px;width:min(100%,560px);border:1px solid #bca56b66;border-radius:12px;background:linear-gradient(105deg,#0e2f26f0,#214939eb);box-shadow:0 5px 20px #051b1633;text-align:left;color:#e9d9aa}.assistant-strip .assistant-icon{width:30px;height:30px;color:#debf79}.assistant-strip>span{flex:1;min-width:0}.assistant-strip strong{display:block;font-size:12px;font-weight:550;letter-spacing:.5px}.assistant-strip small{display:block;font-size:9px;color:#9fb493;margin-top:4px;line-height:1.6}.assistant-strip em{font-size:9px;font-style:normal;color:#c4b47c;white-space:nowrap}
.premium-table.assisted .player-south{bottom:245px}.premium-table.assisted .table-event{bottom:260px}.premium-table.assisted .rivers{bottom:300px}.premium-table .tile.hinted{outline:2px solid #e8ce79;outline-offset:3px;box-shadow:0 3px 0 #c6bea4,0 5px 0 #27624e,0 0 18px #dec46b44}
.assistant-intro>.assistant-icon{width:53px;height:53px;margin:0 auto 15px;display:block}.assistant-intro h3{text-align:center;font-family:serif;font-size:23px;font-weight:500;color:#54704c;margin-bottom:15px}.assistant-intro p{font-size:12px;color:#859174;margin:12px 0;line-height:1.9}.assistant-intro b{color:#a18448}.assistant-intro>small{font-size:10px;color:#a3aa90}.assistant-advice>p{font-size:11px;color:#879674;margin-bottom:15px}.assistant-advice>small{display:block;font-size:10px;line-height:1.8;color:#9ba588;margin-top:18px}.advice-option{display:flex;gap:17px;align-items:center;padding:13px;border:1px solid #e4e3d0;border-radius:9px;margin-top:10px;background:#f6f4e9}.advice-option.best{background:#edf0df;border-color:#c3cba4}.advice-option>div{flex:1}.advice-option h3{font-size:15px;font-weight:550;color:#5e754c}.advice-option small{font-size:9px;color:#ad955c}.advice-option p{font-size:11px;line-height:1.8;color:#8b977c;margin-top:6px}.fairness-explanation h3{font-family:serif;font-size:23px;font-weight:500;color:#54704c;margin-bottom:14px}.fairness-explanation p{font-size:12px;line-height:1.9;color:#859174;margin-top:14px}
@media (max-width:1050px){body:not(.room-active) .table-signature{display:none}body:not(.room-active) .premium-table.assisted .player-south{bottom:220px}body:not(.room-active) .premium-table.assisted .table-event{bottom:230px}}
@container room-screen (max-width:1050px){.table-signature{display:none}.premium-table.assisted .player-south{bottom:220px}.premium-table.assisted .table-event{bottom:230px}}
@media (min-width:701px) and (min-height:601px){body:not(.room-active) .premium-table.assisted .player-south{left:34px;bottom:100px;transform:none;flex-direction:column;align-items:flex-start;gap:8px;max-width:150px}body:not(.room-active) .premium-table.assisted .player-south .melds{max-width:150px;flex-wrap:wrap}}
@container room-screen (min-width:701px) and (min-height:601px){.premium-table.assisted .player-south{left:34px;bottom:100px;transform:none;flex-direction:column;align-items:flex-start;gap:8px;max-width:150px}.premium-table.assisted .player-south .melds{max-width:150px;flex-wrap:wrap}}
@media (max-width:700px) and (orientation:portrait){body:not(.room-active) .classic-card{min-height:350px}body:not(.room-active) .difficulty-picker{margin-top:14px;font-size:9px;gap:8px}body:not(.room-active) .difficulty-picker select{font-size:10px;padding:6px 27px 6px 9px}body:not(.room-active) .lobby-benefits{grid-template-columns:1fr;gap:9px}body:not(.room-active) .lobby-benefits>button{padding:12px 15px}body:not(.room-active) .lobby-benefits strong{font-size:11px}body:not(.room-active) .lobby-benefits small{font-size:9px}body:not(.room-active) .premium-table .table{border-radius:19px;box-shadow:inset 0 0 0 2px #78633b,inset 0 0 0 3px #dcc286,inset 0 0 0 10px #332c22,inset 0 0 0 11px #b69c5c,inset 0 0 0 13px #09261d,inset 0 0 40px 16px #031d1470,0 6px 18px #0007}body:not(.room-active) .premium-table .table:before{inset:4px;border-width:5px;border-radius:15px}body:not(.room-active) .premium-table .felt-line{inset:19px;border-radius:8px}body:not(.room-active) .brass-corner{width:12px;height:12px;border-width:1px}body:not(.room-active) .brass-corner.nw{top:15px;left:15px}body:not(.room-active) .brass-corner.ne{top:15px;right:15px}body:not(.room-active) .brass-corner.sw{bottom:15px;left:15px}body:not(.room-active) .brass-corner.se{bottom:15px;right:15px}body:not(.room-active) .premium-table .table-toolbar{gap:7px;padding-left:13px;padding-right:13px}body:not(.room-active) .premium-table .table-toolbar .pill{display:none}body:not(.room-active) .fairness-chip{font-size:8px;padding:4px 6px}body:not(.room-active) .bot-level{font-size:8px}body:not(.room-active) .premium-table .table-toolbar>span:nth-of-type(2){font-size:8px}body:not(.room-active) .premium-table .player-north{top:25px}body:not(.room-active) .premium-table .player-east{right:18px}body:not(.room-active) .premium-table .player-west{left:18px}body:not(.room-active) .premium-table .tile{box-shadow:0 2px 0 #c8bfa6,0 3px 0 #a49e80,0 5px 8px #071e1b40}body:not(.room-active) .assistant-button{font-size:8px;gap:3px;padding:4px 6px;min-height:27px}body:not(.room-active) .assistant-button .assistant-icon{width:16px;height:16px}body:not(.room-active) .assistant-button small{font-size:7px}body:not(.room-active) .premium-table .hand-footer>span{max-width:52%;font-size:7px}body:not(.room-active) .premium-table .hand-footer{gap:5px;justify-content:center;flex-wrap:wrap}body:not(.room-active) .assistant-strip{max-width:315px;padding:6px 9px;gap:7px;margin-bottom:9px;border-radius:9px}body:not(.room-active) .assistant-strip strong{font-size:10px}body:not(.room-active) .assistant-strip small{font-size:7px;line-height:1.5;max-height:24px;overflow:hidden}body:not(.room-active) .assistant-strip .assistant-icon{width:25px;height:25px}body:not(.room-active) .assistant-strip em{font-size:7px}body:not(.room-active) .premium-table.assisted .player-south{bottom:220px}body:not(.room-active) .premium-table.assisted .table-event{bottom:231px}body:not(.room-active) .premium-table.assisted .rivers{bottom:285px;min-height:150px}body:not(.room-active) .assistant-intro h3{font-size:20px}body:not(.room-active) .assistant-intro p{font-size:11px}body:not(.room-active) .advice-option{padding:10px;gap:12px}body:not(.room-active) .advice-option p{font-size:10px}
}
@container room-screen (max-width:700px) and (orientation:portrait){
  .classic-card{min-height:350px}.difficulty-picker{margin-top:14px;font-size:9px;gap:8px}.difficulty-picker select{font-size:10px;padding:6px 27px 6px 9px}.lobby-benefits{grid-template-columns:1fr;gap:9px}.lobby-benefits>button{padding:12px 15px}.lobby-benefits strong{font-size:11px}.lobby-benefits small{font-size:9px}
  .premium-table .table{border-radius:19px;box-shadow:inset 0 0 0 2px #78633b,inset 0 0 0 3px #dcc286,inset 0 0 0 10px #332c22,inset 0 0 0 11px #b69c5c,inset 0 0 0 13px #09261d,inset 0 0 40px 16px #031d1470,0 6px 18px #0007}.premium-table .table:before{inset:4px;border-width:5px;border-radius:15px}.premium-table .felt-line{inset:19px;border-radius:8px}.brass-corner{width:12px;height:12px;border-width:1px}.brass-corner.nw{top:15px;left:15px}.brass-corner.ne{top:15px;right:15px}.brass-corner.sw{bottom:15px;left:15px}.brass-corner.se{bottom:15px;right:15px}
  .premium-table .table-toolbar{gap:7px;padding-left:13px;padding-right:13px}.premium-table .table-toolbar .pill{display:none}.fairness-chip{font-size:8px;padding:4px 6px}.bot-level{font-size:8px}.premium-table .table-toolbar>span:nth-of-type(2){font-size:8px}.premium-table .player-north{top:25px}.premium-table .player-east{right:18px}.premium-table .player-west{left:18px}.premium-table .tile{box-shadow:0 2px 0 #c8bfa6,0 3px 0 #a49e80,0 5px 8px #071e1b40}
  .assistant-button{font-size:8px;gap:3px;padding:4px 6px;min-height:27px}.assistant-button .assistant-icon{width:16px;height:16px}.assistant-button small{font-size:7px}.premium-table .hand-footer>span{max-width:52%;font-size:7px}.premium-table .hand-footer{gap:5px;justify-content:center;flex-wrap:wrap}.assistant-strip{max-width:315px;padding:6px 9px;gap:7px;margin-bottom:9px;border-radius:9px}.assistant-strip strong{font-size:10px}.assistant-strip small{font-size:7px;line-height:1.5;max-height:24px;overflow:hidden}.assistant-strip .assistant-icon{width:25px;height:25px}.assistant-strip em{font-size:7px}.premium-table.assisted .player-south{bottom:220px}.premium-table.assisted .table-event{bottom:231px}.premium-table.assisted .rivers{bottom:285px;min-height:150px}.assistant-intro h3{font-size:20px}.assistant-intro p{font-size:11px}.advice-option{padding:10px;gap:12px}.advice-option p{font-size:10px}
}
@media (max-width:380px) and (orientation:portrait){body:not(.room-active) .premium-table .table-toolbar{gap:5px}body:not(.room-active) .premium-table .hand-footer>span{max-width:45%}body:not(.room-active) .assistant-button small{display:none}body:not(.room-active) .premium-table.assisted .player-south{bottom:230px}body:not(.room-active) .premium-table.assisted .table-event{bottom:240px}body:not(.room-active) .premium-table.assisted .rivers{bottom:290px}body:not(.room-active) .assistant-strip{max-width:290px}body:not(.room-active) .premium-table .player-east{right:16px}body:not(.room-active) .premium-table .player-west{left:16px}}
@container room-screen (max-width:380px) and (orientation:portrait){.premium-table .table-toolbar{gap:5px}.premium-table .hand-footer>span{max-width:45%}.assistant-button small{display:none}.premium-table.assisted .player-south{bottom:230px}.premium-table.assisted .table-event{bottom:240px}.premium-table.assisted .rivers{bottom:290px}.assistant-strip{max-width:290px}.premium-table .player-east{right:16px}.premium-table .player-west{left:16px}}
@media (orientation:landscape) and (max-height:600px){body:not(.room-active) .premium-table .table{border-radius:17px;box-shadow:inset 0 0 0 2px #78633b,inset 0 0 0 3px #dcc286,inset 0 0 0 9px #332c22,inset 0 0 0 10px #b69c5c,inset 0 0 0 12px #09261d,inset 0 0 40px 15px #031d1470,0 6px 18px #0007}body:not(.room-active) .premium-table .table:before{inset:4px;border-width:4px;border-radius:12px}body:not(.room-active) .premium-table .felt-line{inset:17px}body:not(.room-active) .brass-corner{display:none}body:not(.room-active) .table-signature{display:none}body:not(.room-active) .premium-table .table-toolbar{left:29px;right:29px;gap:8px}body:not(.room-active) .fairness-chip{font-size:7px;padding:2px 5px;pointer-events:auto}body:not(.room-active) .bot-level{font-size:7px}body:not(.room-active) .premium-table .table-toolbar>span:nth-of-type(2){display:none}body:not(.room-active) .assistant-button{font-size:7px;min-height:19px;padding:2px 5px;gap:3px}body:not(.room-active) .assistant-button .assistant-icon{width:13px;height:13px}body:not(.room-active) .assistant-button small{font-size:6px}body:not(.room-active) .premium-table .hand-footer>span{max-width:52%}body:not(.room-active) .assistant-strip{position:absolute;bottom:calc(100% + 7px);left:50%;transform:translateX(-50%);max-width:330px;padding:4px 8px;gap:6px;margin:0;border-radius:8px}body:not(.room-active) .assistant-strip strong{font-size:8px}body:not(.room-active) .assistant-strip small{display:none}body:not(.room-active) .assistant-strip .assistant-icon{width:16px;height:16px}body:not(.room-active) .assistant-strip em{font-size:6px}body:not(.room-active) .premium-table.assisted .player-south{bottom:32px}body:not(.room-active) .premium-table.assisted .table-event{bottom:80px}body:not(.room-active) .premium-table.assisted .rivers{bottom:160px;min-height:60px}body:not(.room-active) .premium-table .tile.hinted{outline-width:1px;outline-offset:2px}
}
@container room-screen (orientation:landscape) and (max-height:600px){
  .premium-table .table{border-radius:17px;box-shadow:inset 0 0 0 2px #78633b,inset 0 0 0 3px #dcc286,inset 0 0 0 9px #332c22,inset 0 0 0 10px #b69c5c,inset 0 0 0 12px #09261d,inset 0 0 40px 15px #031d1470,0 6px 18px #0007}.premium-table .table:before{inset:4px;border-width:4px;border-radius:12px}.premium-table .felt-line{inset:17px}.brass-corner{display:none}.table-signature{display:none}.premium-table .table-toolbar{left:29px;right:29px;gap:8px}.fairness-chip{font-size:7px;padding:2px 5px;pointer-events:auto}.bot-level{font-size:7px}.premium-table .table-toolbar>span:nth-of-type(2){display:none}.assistant-button{font-size:7px;min-height:19px;padding:2px 5px;gap:3px}.assistant-button .assistant-icon{width:13px;height:13px}.assistant-button small{font-size:6px}.premium-table .hand-footer>span{max-width:52%}.assistant-strip{position:absolute;bottom:calc(100% + 7px);left:50%;transform:translateX(-50%);max-width:330px;padding:4px 8px;gap:6px;margin:0;border-radius:8px}.assistant-strip strong{font-size:8px}.assistant-strip small{display:none}.assistant-strip .assistant-icon{width:16px;height:16px}.assistant-strip em{font-size:6px}.premium-table.assisted .player-south{bottom:32px}.premium-table.assisted .table-event{bottom:80px}.premium-table.assisted .rivers{bottom:160px;min-height:60px}.premium-table .tile.hinted{outline-width:1px;outline-offset:2px}
}

/* Clear instructions occupy their own right-aligned lane, separate from player cards. */
.premium-table .action-bar{width:min(100%,780px);justify-content:flex-end;padding-right:12px}
.premium-table .action-caption{font-size:15px;font-weight:550;line-height:1.5;color:#fff4cf;background:#092c25ed;border:1px solid #d7c08555;border-radius:8px;padding:7px 12px;margin-right:0;box-shadow:0 3px 9px #031b1450;text-align:right}
.premium-table .action-chip{flex-shrink:0}
.quick-rules-button{display:inline-flex;align-items:center;gap:6px;margin-right:auto;min-height:30px;padding:5px 10px;font-size:11px;color:#eee0b9;background:#092b24bb;border:1px solid #bda56b66;border-radius:7px;white-space:nowrap}
.quick-rules-button:hover{background:#285343;color:#fff3cc;border-color:#d6bf86}
.quick-rules-button:focus-visible{outline:2px solid #f2d98d;outline-offset:3px}
.quick-rules-button .icon{width:14px;height:14px}
.quick-rules-lead{font-size:17px;color:#405b43;line-height:1.5;margin-bottom:23px}
.quick-rules-lead span{display:block;font-size:10px;color:#969c84;margin-top:6px}
.quick-rules section{display:flex;gap:15px;margin-bottom:19px}
.quick-rules section>b{font-family:serif;font-size:20px;color:#bba168;min-width:26px}
.quick-rules h3{font-size:13px;color:#536b4b;font-weight:600;margin-bottom:5px}
.quick-rules section p{font-size:12px;line-height:1.8;color:#66705c}
.quick-rules>small{display:block;padding-top:14px;border-top:1px solid #dfdfca;font-size:10px;color:#a1a58d;line-height:1.7}
.premium-table .player-east,.premium-table .player-west{top:140px;transform:none;gap:12px}
.premium-table .player-east .opponent-hand,.premium-table .player-west .opponent-hand{flex-direction:column;flex-wrap:nowrap;width:auto;max-height:none;overflow:visible;align-items:center;gap:2px}
.premium-table .player-east .opponent-hand .tile,.premium-table .player-west .opponent-hand .tile{--tile-w:17px!important;--tile-h:21px!important;flex-shrink:0}
.premium-table .player-east .melds,.premium-table .player-west .melds{position:absolute;top:60px;max-width:80px;gap:5px}
.premium-table .player-east .melds{right:100%}.premium-table .player-west .melds{left:100%}
.premium-table .player-east .opening-tag,.premium-table .player-west .opening-tag{position:absolute;top:43px;font-size:8px}
@media (min-width:701px) and (min-height:601px){body:not(.room-active) .premium-table .player-south,body:not(.room-active) .premium-table.assisted .player-south{left:34px;bottom:100px;transform:none;flex-direction:column;align-items:flex-start;gap:8px;max-width:150px}body:not(.room-active) .premium-table .player-south .melds{max-width:150px;flex-wrap:wrap}
}
@container room-screen (min-width:701px) and (min-height:601px){
  .premium-table .player-south,.premium-table.assisted .player-south{left:34px;bottom:100px;transform:none;flex-direction:column;align-items:flex-start;gap:8px;max-width:150px}
  .premium-table .player-south .melds{max-width:150px;flex-wrap:wrap}
}
@media (max-width:700px) and (orientation:portrait){body:not(.room-active) .premium-table .action-bar{padding-right:6px;gap:6px;margin-bottom:13px;min-height:37px;flex-wrap:wrap}body:not(.room-active) .premium-table .action-caption{font-size:12px;padding:6px 9px;max-width:100%;width:auto;line-height:1.5}body:not(.room-active) .premium-table .hand-footer{flex-wrap:nowrap;justify-content:flex-end;gap:6px}body:not(.room-active) .quick-rules-button{min-height:27px;font-size:10px;padding:4px 7px;gap:4px}body:not(.room-active) .quick-rules-button .icon{width:12px;height:12px}body:not(.room-active) .premium-table .player-east,body:not(.room-active) .premium-table .player-west{top:142px;gap:9px}body:not(.room-active) .premium-table .player-east .opponent-hand,body:not(.room-active) .premium-table .player-west .opponent-hand{gap:1px}body:not(.room-active) .premium-table .player-east .opponent-hand .tile,body:not(.room-active) .premium-table .player-west .opponent-hand .tile{--tile-w:13px!important;--tile-h:18px!important}body:not(.room-active) .premium-table .player-east .melds,body:not(.room-active) .premium-table .player-west .melds{top:65px;max-width:52px}body:not(.room-active) .premium-table .player-east .opening-tag,body:not(.room-active) .premium-table .player-west .opening-tag{top:48px;font-size:7px}body:not(.room-active) .premium-table .player-south{left:50%;bottom:180px;transform:translateX(-50%);max-width:calc(100% - 160px);justify-content:center}body:not(.room-active) .premium-table .player-south .melds{max-width:100%;flex-wrap:wrap;justify-content:center}body:not(.room-active) .premium-table.assisted .player-south{left:50%;bottom:240px;transform:translateX(-50%)}body:not(.room-active) .premium-table .table-event{bottom:182px}body:not(.room-active) .quick-rules-lead{font-size:16px;margin-bottom:19px}body:not(.room-active) .quick-rules section{gap:12px;margin-bottom:15px}body:not(.room-active) .quick-rules section p{font-size:11px}
}
@container room-screen (max-width:700px) and (orientation:portrait){
  .premium-table .action-bar{padding-right:6px;gap:6px;margin-bottom:13px;min-height:37px;flex-wrap:wrap}
  .premium-table .action-caption{font-size:12px;padding:6px 9px;max-width:100%;width:auto;line-height:1.5}
  .premium-table .hand-footer{flex-wrap:nowrap;justify-content:flex-end;gap:6px}
  .quick-rules-button{min-height:27px;font-size:10px;padding:4px 7px;gap:4px}
  .quick-rules-button .icon{width:12px;height:12px}
  .premium-table .player-east,.premium-table .player-west{top:142px;gap:9px}
  .premium-table .player-east .opponent-hand,.premium-table .player-west .opponent-hand{gap:1px}
  .premium-table .player-east .opponent-hand .tile,.premium-table .player-west .opponent-hand .tile{--tile-w:13px!important;--tile-h:18px!important}
  .premium-table .player-east .melds,.premium-table .player-west .melds{top:65px;max-width:52px}
  .premium-table .player-east .opening-tag,.premium-table .player-west .opening-tag{top:48px;font-size:7px}
  .premium-table .player-south{left:50%;bottom:180px;transform:translateX(-50%);max-width:calc(100% - 160px);justify-content:center}
  .premium-table .player-south .melds{max-width:100%;flex-wrap:wrap;justify-content:center}
  .premium-table.assisted .player-south{left:50%;bottom:240px;transform:translateX(-50%)}
  .premium-table .table-event{bottom:182px}
  .quick-rules-lead{font-size:16px;margin-bottom:19px}.quick-rules section{gap:12px;margin-bottom:15px}.quick-rules section p{font-size:11px}
}
@media (max-width:380px) and (orientation:portrait){body:not(.room-active) .premium-table .action-caption{font-size:12px;padding:6px 8px}body:not(.room-active) .premium-table .player-south{bottom:180px}body:not(.room-active) .premium-table.assisted .player-south{bottom:240px}body:not(.room-active) .premium-table .player-east,body:not(.room-active) .premium-table .player-west{top:110px}body:not(.room-active) .premium-table .player-east .opponent-hand .tile,body:not(.room-active) .premium-table .player-west .opponent-hand .tile{--tile-w:19px!important;--tile-h:11px!important}body:not(.room-active) .quick-rules-button{font-size:9px}body:not(.room-active) .premium-table .hand-footer{gap:5px}
}
@container room-screen (max-width:380px) and (orientation:portrait){
  .premium-table .action-caption{font-size:12px;padding:6px 8px}
  .premium-table .player-south{bottom:180px}.premium-table.assisted .player-south{bottom:240px}
  .premium-table .player-east,.premium-table .player-west{top:110px}
  .premium-table .player-east .opponent-hand .tile,.premium-table .player-west .opponent-hand .tile{--tile-w:19px!important;--tile-h:11px!important}
  .quick-rules-button{font-size:9px}.premium-table .hand-footer{gap:5px}
}
@media (orientation:landscape) and (max-height:600px){body:not(.room-active) .premium-table .action-bar{padding-right:3px;min-height:29px;margin-bottom:7px;gap:5px}body:not(.room-active) .premium-table .action-caption{font-size:11px;padding:4px 8px;line-height:1.5;white-space:normal;max-width:100%}body:not(.room-active) .premium-table .player-east,body:not(.room-active) .premium-table .player-west{top:50px;gap:5px}body:not(.room-active) .premium-table .player-east .opponent-hand,body:not(.room-active) .premium-table .player-west .opponent-hand{gap:1px}body:not(.room-active) .premium-table .player-east .opponent-hand .tile,body:not(.room-active) .premium-table .player-west .opponent-hand .tile{--tile-w:19px!important;--tile-h:10px!important;border-radius:2px}body:not(.room-active) .premium-table .player-east .melds,body:not(.room-active) .premium-table .player-west .melds{top:40px;flex-direction:column;max-width:55px}body:not(.room-active) .premium-table .player-east .opening-tag,body:not(.room-active) .premium-table .player-west .opening-tag{top:30px;font-size:6px}body:not(.room-active) .quick-rules-button{min-height:19px;font-size:8px;padding:2px 5px;gap:3px}body:not(.room-active) .quick-rules-button .icon{width:10px;height:10px}body:not(.room-active) .quick-rules-lead{margin-bottom:14px}body:not(.room-active) .quick-rules section{margin-bottom:11px}body:not(.room-active) .quick-rules section p{font-size:11px}
}
@container room-screen (orientation:landscape) and (max-height:600px){
  .premium-table .action-bar{padding-right:3px;min-height:29px;margin-bottom:7px;gap:5px}
  .premium-table .action-caption{font-size:11px;padding:4px 8px;line-height:1.5;white-space:normal;max-width:100%}
  .premium-table .player-east,.premium-table .player-west{top:50px;gap:5px}
  .premium-table .player-east .opponent-hand,.premium-table .player-west .opponent-hand{gap:1px}
  .premium-table .player-east .opponent-hand .tile,.premium-table .player-west .opponent-hand .tile{--tile-w:19px!important;--tile-h:10px!important;border-radius:2px}
  .premium-table .player-east .melds,.premium-table .player-west .melds{top:40px;flex-direction:column;max-width:55px}
  .premium-table .player-east .opening-tag,.premium-table .player-west .opening-tag{top:30px;font-size:6px}
  .quick-rules-button{min-height:19px;font-size:8px;padding:2px 5px;gap:3px}
  .quick-rules-button .icon{width:10px;height:10px}
  .quick-rules-lead{margin-bottom:14px}.quick-rules section{margin-bottom:11px}.quick-rules section p{font-size:11px}
}

/* The waiting room is the same felt table, without dealing until the host starts. */
.waiting-table{min-height:0;height:var(--screen-height,100dvh)}.waiting-table .table{min-height:0}
.waiting-table .waiting-count{color:#e5d5a7;font-size:11px}
.waiting-table .waiting-player{max-width:160px;transform:none}
.waiting-table .waiting-player .player-id{display:flex;gap:9px;min-width:120px;padding:10px 12px}
.waiting-table .waiting-player .player-id>span:last-child{min-width:0}
.waiting-table .waiting-player strong{max-width:104px;font-size:12px}
.waiting-table .waiting-player small{font-size:9px;margin-top:4px}
.waiting-table .waiting-player.vacant .player-id{border:1px dashed #d2c18a60;background:#102f2780;box-shadow:none}
.waiting-table .vacant-avatar{color:#c6bd98;border:1px dashed #d4c39580;background:#d3bd7110;box-shadow:none}
.vacant-avatar .icon{width:18px;height:18px}
.waiting-table .player-north{top:34px;left:50%;transform:translateX(-50%)}
.waiting-table .player-east,.waiting-table .player-west{top:42%}
.waiting-table .player-south{left:50%;bottom:49px;transform:translateX(-50%);max-width:160px;align-items:center}
.waiting-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:320px;padding:23px 27px 18px;z-index:3;text-align:center;border:1px solid #c3aa6155;border-radius:18px;background:linear-gradient(145deg,#173e34e8,#0e3028e8);box-shadow:0 14px 35px #031d1740,inset 0 1px 0 #f4ddb419}
.waiting-eyebrow{font-size:11px;letter-spacing:2px;color:#c7c29b}
.waiting-room-code{display:flex;align-items:center;justify-content:center;gap:14px;margin:5px auto 0;padding:2px 6px;color:#f8df9b;background:none;border:0;border-radius:9px;cursor:pointer}
.waiting-room-code strong{font-size:48px;line-height:1.25;letter-spacing:9px;font-variant-numeric:tabular-nums;font-weight:650;margin-left:9px}
.waiting-room-code .icon{width:18px;height:18px;opacity:.8}
.waiting-room-code:hover{background:#dac58612}.waiting-room-code:focus-visible{outline:2px solid #f2d98d;outline-offset:2px}
.waiting-status{font-size:11px;line-height:1.7;margin:6px 0 16px;color:#c5cfb2}
.waiting-center .primary-button{min-height:43px;justify-content:center;font-size:13px}
.waiting-share{display:flex;justify-content:center;gap:15px;margin-top:10px}
.waiting-share .text-button{display:flex;align-items:center;gap:5px;color:#d7cba3;min-height:30px;font-size:11px}
.waiting-share .icon{width:14px;height:14px}.waiting-for-host{display:block;min-height:43px;line-height:43px;color:#f0dca5;font-size:13px;background:#d4bd6d10;border-radius:8px}
.waiting-footnote{position:absolute;bottom:20px;left:20px;right:20px;text-align:center;color:#b1bb9c;font-size:10px;line-height:1.6;pointer-events:none}
@media (max-width:700px) and (orientation:portrait){body:not(.room-active) .rotate-hint{display:block;flex-shrink:0;text-align:center;padding:5px 8px;margin:0 13px 9px;border:1px solid #c5ae6945;border-radius:6px;color:#e7d39e;background:#c2a4540d;font-size:10px;letter-spacing:.3px}body:not(.room-active) .waiting-table .waiting-count{font-size:10px!important}body:not(.room-active) .waiting-table .waiting-player{max-width:125px}body:not(.room-active) .waiting-table .waiting-player .player-id{min-width:108px;padding:7px 9px;gap:6px}body:not(.room-active) .waiting-table .waiting-player strong{font-size:10px;max-width:75px}body:not(.room-active) .waiting-table .waiting-player small{font-size:8px}body:not(.room-active) .waiting-table .player-north{top:26px}body:not(.room-active) .waiting-table .player-east,body:not(.room-active) .waiting-table .player-west{top:100px}body:not(.room-active) .waiting-table .player-south{bottom:48px;max-width:150px}body:not(.room-active) .waiting-center{top:56%;width:min(280px,calc(100% - 46px));padding:15px 19px 12px;border-radius:14px}body:not(.room-active) .waiting-room-code strong{font-size:42px;letter-spacing:8px}body:not(.room-active) .waiting-status{margin:3px 0 12px;font-size:10px}body:not(.room-active) .waiting-eyebrow{font-size:10px}body:not(.room-active) .waiting-share{gap:13px;margin-top:6px}body:not(.room-active) .waiting-share .text-button{font-size:10px;min-height:30px}body:not(.room-active) .waiting-footnote{bottom:20px;font-size:9px;left:17px;right:17px}
}
@container room-screen (max-width:700px) and (orientation:portrait){
  .rotate-hint{display:block;flex-shrink:0;text-align:center;padding:5px 8px;margin:0 13px 9px;border:1px solid #c5ae6945;border-radius:6px;color:#e7d39e;background:#c2a4540d;font-size:10px;letter-spacing:.3px}
  .waiting-table .waiting-count{font-size:10px!important}
  .waiting-table .waiting-player{max-width:125px}
  .waiting-table .waiting-player .player-id{min-width:108px;padding:7px 9px;gap:6px}
  .waiting-table .waiting-player strong{font-size:10px;max-width:75px}.waiting-table .waiting-player small{font-size:8px}
  .waiting-table .player-north{top:26px}.waiting-table .player-east,.waiting-table .player-west{top:100px}
  .waiting-table .player-south{bottom:48px;max-width:150px}
  .waiting-center{top:56%;width:min(280px,calc(100% - 46px));padding:15px 19px 12px;border-radius:14px}
  .waiting-room-code strong{font-size:42px;letter-spacing:8px}.waiting-status{margin:3px 0 12px;font-size:10px}
  .waiting-eyebrow{font-size:10px}.waiting-share{gap:13px;margin-top:6px}.waiting-share .text-button{font-size:10px;min-height:30px}
  .waiting-footnote{bottom:20px;font-size:9px;left:17px;right:17px}
}
@media (orientation:landscape) and (max-height:600px){body:not(.room-active) .waiting-table .waiting-count{display:inline!important;font-size:8px}body:not(.room-active) .waiting-table .waiting-player .player-id{padding:6px 9px;min-width:111px;gap:6px}body:not(.room-active) .waiting-table .waiting-player strong{font-size:10px;max-width:90px}body:not(.room-active) .waiting-table .waiting-player small{font-size:7px;margin-top:2px}body:not(.room-active) .waiting-table .player-north{top:25px}body:not(.room-active) .waiting-table .player-east,body:not(.room-active) .waiting-table .player-west{top:42%;max-width:145px}body:not(.room-active) .waiting-table .player-south{bottom:35px;left:50%;transform:translateX(-50%);max-width:150px}body:not(.room-active) .waiting-center{top:49%;width:280px;padding:10px 19px 7px;border-radius:13px}body:not(.room-active) .waiting-eyebrow{font-size:9px}body:not(.room-active) .waiting-room-code{margin-top:0;gap:10px}body:not(.room-active) .waiting-room-code strong{font-size:34px;letter-spacing:7px}body:not(.room-active) .waiting-room-code .icon{width:14px;height:14px}body:not(.room-active) .waiting-status{font-size:9px;margin:2px 0 8px}body:not(.room-active) .waiting-center .primary-button,body:not(.room-active) .waiting-for-host{min-height:34px;line-height:34px;font-size:11px;padding-top:0;padding-bottom:0}body:not(.room-active) .waiting-share{margin-top:4px;gap:18px}body:not(.room-active) .waiting-share .text-button{min-height:25px;font-size:9px}body:not(.room-active) .waiting-share .icon{width:12px;height:12px}body:not(.room-active) .waiting-footnote{bottom:13px;font-size:8px}
}
@container room-screen (orientation:landscape) and (max-height:600px){
  .waiting-table .waiting-count{display:inline!important;font-size:8px}
  .waiting-table .waiting-player .player-id{padding:6px 9px;min-width:111px;gap:6px}
  .waiting-table .waiting-player strong{font-size:10px;max-width:90px}.waiting-table .waiting-player small{font-size:7px;margin-top:2px}
  .waiting-table .player-north{top:25px}.waiting-table .player-east,.waiting-table .player-west{top:42%;max-width:145px}
  .waiting-table .player-south{bottom:35px;left:50%;transform:translateX(-50%);max-width:150px}
  .waiting-center{top:49%;width:280px;padding:10px 19px 7px;border-radius:13px}
  .waiting-eyebrow{font-size:9px}.waiting-room-code{margin-top:0;gap:10px}.waiting-room-code strong{font-size:34px;letter-spacing:7px}
  .waiting-room-code .icon{width:14px;height:14px}.waiting-status{font-size:9px;margin:2px 0 8px}
  .waiting-center .primary-button,.waiting-for-host{min-height:34px;line-height:34px;font-size:11px;padding-top:0;padding-bottom:0}
  .waiting-share{margin-top:4px;gap:18px}.waiting-share .text-button{min-height:25px;font-size:9px}.waiting-share .icon{width:12px;height:12px}
  .waiting-footnote{bottom:13px;font-size:8px}
}
