.game-mahjong3p .room-welcome{color:#efe1b5;background:linear-gradient(#09231ec9,#09231ed9),url(/images/new-games/mahjong-lounge.webp) 50%/cover;border:1px solid #c3aa6477;border-radius:20px;flex-direction:column;justify-content:center;min-height:310px;display:flex}.game-mahjong3p .room-table{background:linear-gradient(#052b2333,#05231f66),url(/images/new-games/mahjong-lounge.webp) 50%/cover;border-color:#7c6041;border-radius:32px;padding:24px;box-shadow:inset 0 0 0 1px #e6d19455,0 14px 45px #0005}.mj-table-live .room-seats{display:none}.mj-table-live .room-status{background:#0b231ee8;border:1px solid #bba46e44;border-radius:12px;justify-content:space-between;align-items:center;margin:0 0 10px;padding:12px;display:flex}.mj-table-live .room-status h2{margin:0;font-size:17px}.mj-table-live .room-status .room-timer{font-size:23px}.mj-board{color:#e9e0c6;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;min-width:0;padding:12px 0;display:grid}.mj-status,.mj-claim,.mj-result{grid-column:1/-1}.mj-status{background:#09261fdd;border:1px solid #c4ae6d66;border-radius:14px;justify-content:space-between;align-items:center;gap:8px;min-height:62px;padding:10px 14px;display:flex}.mj-status small{letter-spacing:1.8px;color:#c9b679;font-size:10px;display:block}.mj-status strong{font-variant-numeric:tabular-nums;color:#f1ddb0;margin-top:4px;font-size:25px;display:block}.mj-status em{color:#a9bfb0;font-size:12px;font-style:normal;font-weight:400}.mj-turn-badge{color:#c1d9c7;text-align:right;max-width:50%;font-size:12px;line-height:1.5}.mj-claim{background:radial-gradient(#75623555,#0b2c23c9);border:1px solid #dbc18255;border-radius:12px;justify-content:center;align-items:center;gap:18px;min-height:82px;padding:8px;display:flex}.mj-claim>span{color:#f0db9b;font-size:15px}.mj-claim small{color:#c4c5a7;margin-top:5px;font-size:11px;display:block}.mj-last-tile{animation:.25s ease-out mj-land}.mj-seat{background:linear-gradient(130deg,#0d3329f0,#071f1be8);border:1px solid #c3b37b44;border-radius:14px;align-content:start;gap:9px;min-width:0;padding:14px;display:grid;box-shadow:0 6px 14px #0003}.mj-seat.you{grid-column:1/-1}.mj-seat.active{border-color:#efd28e;box-shadow:0 0 0 1px #efd28e44,inset 0 0 20px #d3ad4d0c}.mj-seat header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.mj-seat header strong{overflow-wrap:anywhere;align-items:center;gap:7px;font-size:14px;display:flex}.mj-seat header strong i{color:#172b20;background:#bfa46a;border-radius:50%;flex:none;place-items:center;width:25px;height:25px;font-size:13px;font-style:normal;display:inline-grid}.mj-seat header em{color:#dfca90;font-size:10px;font-style:normal;font-weight:400}.mj-seat small{color:#a9c1b1;font-size:11px}.mj-concealed{gap:2px;min-height:25px;display:flex;overflow:hidden}.mj-concealed i{background:repeating-linear-gradient(45deg,#163d35 0 2px,#214d40 2px 4px);border:1px solid #c7b77a55;border-bottom:3px solid #baac72;border-radius:3px;flex:0 16px;height:24px;display:block}.mj-row{flex-wrap:wrap;gap:3px;min-height:6px;margin-top:5px;display:flex}.mj-meld{background:#ffffff0c;border:1px solid #bda76d55;border-radius:6px;gap:1px;margin-right:5px;padding:3px;display:inline-flex}.mj-tile{background:#fffdf1;border-radius:6px;flex:none;width:44px;height:60px;display:inline-block;overflow:hidden;box-shadow:0 3px #ccbf96,0 5px 7px #0007,inset 0 0 0 1px #fff8d7}.mj-tile svg{width:100%;height:100%;display:block}.mj-tile.small{border-radius:4px;width:26px;height:36px;box-shadow:0 2px #c4b58c,0 3px 5px #0006}.mj-river-preview>.mj-row{grid-template-columns:repeat(4,26px);align-content:start;gap:5px;min-height:78px;display:grid}.mj-seat.you .mj-river-preview>.mj-row{grid-template-columns:repeat(8,26px);min-height:38px}.mj-river-preview details summary{cursor:pointer;color:#d8c68e;min-height:36px;padding:10px 0;font-size:11px}.game-mahjong3p .room-hand{background:linear-gradient(130deg,#17382df5,#0c201af5);border:1px solid #aa955c66;border-radius:18px;padding:18px;box-shadow:0 6px 20px #0004}.game-mahjong3p .room-hand>h2{margin:0 0 12px;font-size:18px}.mj-hand-guide{color:#bfd0bc;justify-content:space-between;align-items:center;gap:12px;min-height:44px;margin-bottom:12px;font-size:12px;display:flex}.mj-hand-guide b{white-space:nowrap;color:#f1d89d;background:#213f2d;border:1px solid #ba9f5f77;border-radius:8px;padding:7px 10px}.mj-hand{background:linear-gradient(#061c17,#153b2e);border-bottom:5px solid #88734b;border-radius:8px;flex-wrap:wrap;justify-content:center;gap:5px;min-height:94px;padding:14px 6px 16px;display:flex}.mj-controls .mj-hand button{cursor:pointer;background:0 0;border:0;border-radius:6px;width:44px;min-width:44px;height:60px;min-height:60px;padding:0;transition:transform .15s,box-shadow .15s;position:relative;opacity:1!important}.mj-controls .mj-hand button:disabled{cursor:default;filter:saturate(.78)}.mj-controls .mj-hand button.picked{transform:translateY(-10px);box-shadow:0 0 0 3px #f2d496,0 0 18px #d4b97c55}.mj-controls .mj-hand button:focus-visible{outline-offset:3px;outline:3px solid #efcb73}.mj-controls .mj-hand button.drawn{margin-left:14px}.mj-controls .mj-hand button.drawn:before{content:"";border-left:1px solid #b8a26b66;position:absolute;top:8px;bottom:0;left:-10px}.mj-hand button>small{color:#163325;z-index:1;background:#dec58d;border-radius:4px;padding:2px 4px;font-size:8px;position:absolute;top:-12px;right:0}.mj-action-dock{z-index:5;background:#0a211bf5;border:1px solid #d3b97955;border-radius:12px;justify-content:center;align-items:stretch;gap:8px;padding:12px;display:flex;position:sticky;bottom:10px;box-shadow:0 5px 25px #0006}.mj-action-dock button{min-height:48px}.mj-action-dock .mj-discard-action{color:#14271d;background:linear-gradient(#e4cd94,#b99a5c);border:1px solid #e9d799;justify-content:space-between;align-items:center;gap:12px;min-width:230px;font-size:13px;display:flex}.mj-discard-action b{overflow-wrap:anywhere;max-width:150px;font-size:13px}.mj-action-dock .mj-win-action{color:#13291d;background:#d5ba77;font-weight:700}.mj-result{background:#173d2fe8;border:1px solid #dfc78688;border-radius:14px;padding:18px}.mj-result h3{color:#f0d99f;margin:0 0 10px;font-size:20px}.mj-result p{color:#bcd2bd;margin:0 0 8px;font-size:13px}.mj-result ul{margin:0;padding-left:18px;font-size:12px;line-height:1.8}@keyframes mj-land{0%{opacity:.2;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@media (max-width:700px){.game-mahjong3p .room-table{border-width:3px;border-radius:20px;padding:12px}.mj-board{gap:7px;padding:8px 0}.mj-seat{border-radius:10px;gap:7px;padding:9px}.mj-seat header{gap:5px}.mj-seat header strong{gap:4px;font-size:11px}.mj-seat header strong i{width:20px;height:20px;font-size:10px}.mj-seat small,.mj-seat header strong em{font-size:9px}.mj-status{gap:5px;padding:10px}.mj-status small{letter-spacing:1px;font-size:8px}.mj-status strong{font-size:22px}.mj-status em,.mj-turn-badge{font-size:10px}.mj-tile.small{width:22px;height:30px}.mj-river-preview>.mj-row{grid-template-columns:repeat(4,22px);gap:4px;min-height:66px}.mj-seat.you .mj-river-preview>.mj-row{grid-template-columns:repeat(8,22px);min-height:32px}.mj-claim{gap:10px}.mj-claim>span{font-size:13px}.mj-claim small{font-size:10px}.mj-table-live .room-status h2{font-size:14px}.game-mahjong3p .room-hand{padding:12px}.mj-hand{justify-content:flex-start;gap:5px;padding:14px 4px 12px}.mj-controls .mj-hand button{width:38px;min-width:38px;height:53px;min-height:53px}.mj-hand .mj-tile{width:38px;height:53px}.mj-controls .mj-hand button.drawn{margin-left:9px}.mj-hand-guide{font-size:11px}.mj-action-dock{flex-wrap:wrap;padding:8px;bottom:8px}.mj-action-dock .mj-discard-action{flex:1;min-width:100%;min-height:48px}.mj-action-dock button{font-size:12px}.mj-result{padding:12px}.mj-result h3{font-size:17px}}@media (prefers-reduced-motion:reduce){.mj-last-tile{animation:none}.mj-controls .mj-hand button{transition:none}}.mj-hand{row-gap:18px}.mj-table-live .room-status{flex-direction:row;min-height:56px}.mj-hand-jump{display:none}.game-mahjong3p #mahjong-hand{scroll-margin-top:12px}@media (max-width:700px){.mj-hand-jump{text-align:center;color:#e9d39e;background:#173d2b;border:1px solid #ceb57b66;border-radius:10px;min-height:44px;margin-bottom:8px;padding:12px;text-decoration:none;display:block}}.mj-seat.observer-bottom{grid-column:1/-1}.mj-action-dock{position:relative;bottom:auto!important}.room-shell{color:#e9dfc9;max-width:1200px;min-height:100dvh;margin:auto;padding:0 22px}.room-shell button,.room-shell input{font:inherit}.room-shell button{color:#eadfc6;cursor:pointer;background:#19382c;border:1px solid #5e7256;border-radius:9px;min-height:44px;padding:9px 14px}.room-shell button:disabled{opacity:.45;cursor:default}:is(.room-shell button:focus-visible,.room-shell a:focus-visible){outline-offset:3px;outline:3px solid #f3d99a}.room-shell a{color:inherit;text-decoration:none}.room-header{border-bottom:1px solid #40533d;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;min-height:88px;padding:12px 0;display:flex}.room-header a,.room-header>div,.room-header button{align-items:center;gap:8px;display:flex}.room-brand{letter-spacing:3px;font:28px Georgia,serif;color:#e3c788!important}.room-brand small{letter-spacing:0;font:14px sans-serif}.room-heading{justify-content:space-between;align-items:center;gap:16px;margin:26px 0 14px;display:flex}.room-heading h1{color:#e4cb90;margin:0 0 8px;font:32px Georgia,serif}.room-heading p{color:#aac4ac;margin:0;line-height:1.6}.room-rules{background:#172b21;border:1px solid #59694b;border-radius:12px;margin:16px 0;padding:18px 22px;line-height:1.8}.room-toolbar,.room-controls{flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0;display:flex}.room-shell .room-gold{color:#16281d;background:linear-gradient(#f0d9a7,#bf9a59);border-color:#d4b475;font-weight:700}.room-welcome{text-align:center;background:radial-gradient(#13533a,#0b2e21);border:2px solid #998455;border-radius:44px;place-content:center;justify-items:center;gap:12px;min-height:340px;padding:30px;display:grid}.room-welcome p{color:#bed0b6;max-width:620px}.room-table{background:radial-gradient(#146146,#063826);border:9px solid #283324;border-radius:45px;min-height:400px;padding:24px;box-shadow:inset 0 0 0 2px #b5a16c,0 15px 35px #0006}.room-seats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.room-seat{background:#072b2188;border:1px solid #63997c66;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-width:0;min-height:116px;padding:12px;display:flex}.room-seat strong{overflow-wrap:anywhere;text-align:center;align-items:center;gap:6px;font-size:14px;display:flex}.room-seat span{color:#b4cbb4;font-size:13px}.room-seat small{color:#9abbab;min-height:18px;font-size:12px}.room-seat.active{border-color:#e2c685;box-shadow:0 0 20px #e8c67833}.room-seat.you{background:#123728}.room-status{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:125px;display:flex}.room-status h2{color:#e8d395;margin:0;font-size:21px}.room-status p{color:#baceb5;max-width:440px;margin:0;line-height:1.6}.room-timer{font-variant-numeric:tabular-nums;min-width:95px;font-size:24px;display:block}.room-piece{-webkit-user-select:none;user-select:none;flex:none;display:inline-flex;box-shadow:0 3px 8px #0005}.uno-card{isolation:isolate;color:#fff;background:#ad2330;border:3px solid #fff5d4;border-radius:10px;flex-direction:column;justify-content:space-between;width:62px;height:91px;padding:3px;position:relative;overflow:hidden}.uno-card:before{content:"";z-index:-1;background:#ffffff17;border:2px solid #fffb;border-radius:50%;position:absolute;inset:17px 3px;transform:rotate(-28deg)}.uno-card strong{text-shadow:1px 2px #0005;align-self:center;font:700 29px sans-serif}.uno-card small{font:700 12px sans-serif}.uno-card small:last-child{align-self:end;transform:rotate(180deg)}.uno-card.blue{background:#1763ad}.uno-card.green{background:#237b46}.uno-card.yellow{color:#132c21;background:#e4b836}.uno-card.wild{background:conic-gradient(#b32c3b 0 25%,#d8b329 0 50%,#25814b 0 75%,#2461a1 0)}.uno-discard{justify-content:center;align-items:center;gap:22px;padding:20px;display:flex}.uno-discard .uno-card{width:90px;height:130px}.uno-discard .uno-card strong{font-size:38px}.uno-discard>div{max-width:140px}.colour-dot{border:2px solid #fff5;border-radius:50%;width:26px;height:26px;margin:10px 0;display:block}.colour-dot.red,.wild-picker .red{background:#b22837}.colour-dot.blue,.wild-picker .blue{background:#185a9d}.colour-dot.green,.wild-picker .green{background:#29824f}.colour-dot.yellow,.wild-picker .yellow{color:#17271c;background:#dcb837}.wild-picker{border:1px solid #d3b26c;border-radius:12px;flex-wrap:wrap;gap:8px;width:100%;padding:12px;display:flex}.room-hand{background:#12291f;border:1px solid #54664a;border-radius:16px;margin-top:18px;padding:20px}.room-hand h2{color:#ddcc9b;margin:0 0 16px;font-size:18px}.room-rack{flex-wrap:wrap;gap:7px;min-height:100px;padding:6px 0;display:flex}.room-rack button,.rummi-meld button{background:0 0;border:0;border-radius:9px;min-height:0;padding:0;transition:transform .15s;display:flex}.room-rack button.selected,.rummi-meld button.selected{outline:3px solid #e6c977;transform:translateY(-5px)}.rummi-tile{color:#111d20;background:linear-gradient(#fff7db,#e9dab6);border:2px solid #eadbb2;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;width:42px;height:62px;font:700 26px Georgia,serif;display:flex;position:relative}.rummi-tile small{font-size:10px;line-height:14px}.rummi-tile.red{color:#bd2831}.rummi-tile.blue{color:#196aa6}.rummi-tile.orange{color:#a45208}.rummi-tile.joker{color:#754588}.rummi-board{background:#082e2088;border:1px solid #649b7355;border-radius:18px;flex-wrap:wrap;align-content:start;gap:10px;min-height:240px;padding:16px;display:flex}.rummi-meld{background:#002d2044;border-radius:8px;align-items:center;gap:3px;max-width:100%;min-height:74px;padding:8px;display:flex;overflow-x:auto}.rummi-meld>span{color:#acd1b5;padding:4px;font-size:11px}.rummi-meld .rummi-tile{width:35px;height:54px;font-size:22px}.pai-tile{background:linear-gradient(100deg,#0c1418,#202a2b 70%,#050a0c);border:2px solid #465044;border-radius:7px;flex-direction:column;gap:7px;width:44px;height:89px;padding:5px;display:flex}.pip-half{grid-template-columns:repeat(2,1fr);place-items:center;gap:3px;height:34px;display:grid}.pip-half:first-child{border-bottom:1px solid #586357;padding-bottom:4px}.pip-half i{background:#efe5d0;border-radius:50%;width:7px;height:7px;box-shadow:inset 0 1px 2px #0006}.pip-half .red-pip{background:#e64b43}.pip-1{grid-template-columns:1fr}.pip-3 i:last-child,.pip-5 i:last-child{grid-column:span 2}.pai-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.pai-choices>button{background:#102d23;border-color:#9d8957;flex-direction:column;align-items:center;gap:14px;padding:20px 10px;display:flex}.pai-choices>button>div,.pai-reveal section>div{justify-content:center;gap:14px;display:flex}.pai-choices section,.pai-reveal section>div>div{flex-direction:column;gap:8px;display:flex}.pai-choices section>div,.pai-reveal section>div>div>div{justify-content:center;gap:5px;display:flex}.pai-choices small{color:#cdbb88;font-size:12px;line-height:1.6}.pai-reveal{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.pai-reveal>section{background:#073224;border-radius:12px;flex-direction:column;align-items:center;gap:15px;padding:14px;display:flex}.pai-reveal small{font-size:12px}.room-settlement{background:#132c20;border:1px solid #5d6c48;border-radius:14px;margin-top:20px;padding:20px;overflow-x:auto}.room-settlement h2{color:#dbc48a;font:24px Georgia,serif}.room-settlement table{border-collapse:collapse;text-align:left;white-space:nowrap;width:100%}.room-settlement th,.room-settlement td{border-bottom:1px solid #43583b;padding:12px 8px}.room-history{margin:26px 0}.room-history h2{color:#d8c18a;font:26px Georgia,serif}.room-history a{border-bottom:1px solid #3c5036;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;display:flex}.room-history small{color:#a3bba3;margin-top:6px;display:block}.room-error{color:#ffcc9a;border:1px solid #997847;border-radius:9px;padding:14px;line-height:1.6}.room-shell footer{color:#a5b69b;text-align:center;padding:20px 0;font-size:13px}.room-controls label{align-items:center;gap:8px;display:flex}.room-controls input{accent-color:#d9bd82;width:19px;height:19px}.game-uno .room-table{grid-template:".top."116px"left center right"180px".bottom."116px/1fr 1.3fr 1fr;gap:12px;display:grid}.game-uno .room-seats{display:contents}.game-uno .room-seat{grid-area:bottom}.game-uno .room-seat.position-1{grid-area:left}.game-uno .room-seat.position-2{grid-area:top}.game-uno .room-seat.position-3{grid-area:right}.game-uno .room-status{grid-area:center;justify-content:start;min-height:0}.game-uno .room-status h2{font-size:16px}.game-uno .uno-discard{grid-area:center;align-items:end;gap:10px;padding:65px 0 0}.game-uno .uno-discard .uno-card{width:63px;height:92px}.game-uno .uno-discard p,.game-uno .uno-discard strong{margin:4px 0;font-size:12px}.game-uno .uno-discard .colour-dot{width:20px;height:20px;margin:5px 0}@media (max-width:700px){.room-shell{padding:0 12px}.room-header{gap:12px}.room-brand{font-size:22px}.room-brand small{display:none}.room-header>div{gap:6px}.room-header button{padding:9px;font-size:13px}.room-heading{align-items:start}.room-heading h1{font-size:28px}.room-heading p{font-size:13px}.room-heading button{padding:8px;font-size:12px}.room-table{border-width:6px;border-radius:24px;padding:14px}.room-seats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.room-seat{min-height:96px;padding:8px}.room-seat strong{font-size:12px}.room-seat small{font-size:11px}.room-rack{gap:5px}.uno-card{width:49px;height:73px}.uno-card strong{font-size:24px}.rummi-tile{width:36px;height:56px;font-size:24px}.rummi-board{gap:6px;padding:8px}.pai-choices{grid-template-columns:1fr}.pai-choices>button{gap:10px;padding:14px}.pai-choices>button>div{gap:28px}.pai-reveal{grid-template-columns:1fr}.room-settlement{padding:12px;font-size:13px}.game-uno .room-table{grid-template-rows:96px 195px 96px;grid-template-columns:1fr 1.3fr 1fr;gap:6px;padding:12px}.game-uno .room-seat strong{font-size:11px;display:block}.game-uno .room-seat svg{width:12px;margin-left:3px;display:inline}.game-uno .room-seat span{font-size:11px}.game-uno .room-seat{padding:6px}.game-uno .uno-discard{flex-direction:column;align-items:center;gap:3px;padding-top:66px}.game-uno .uno-discard>div{flex-wrap:wrap;justify-content:center;align-items:center;gap:5px;display:flex}.game-uno .uno-discard p{display:none}.game-uno .room-status h2{font-size:12px}.game-uno .room-timer{font-size:20px}}@media (prefers-reduced-motion:reduce){.room-rack button,.rummi-meld button{transition:none}}.thai-card{color:#18352a;background:#fff7e7;border:1px solid #c7b179;border-radius:7px;flex-direction:column;justify-content:space-between;padding:7px;display:flex;box-shadow:0 3px 6px #0003}.thai-card small{font-size:17px}.thai-card strong{text-align:center;font-size:38px}.thai-card.red-card{color:#b42740}.dummy-controls{width:100%}.dummy-controls>p{max-width:800px}.dummy-discards{flex-wrap:wrap;align-items:center;gap:5px;margin:16px 0;display:flex}.dummy-discards strong{flex-basis:100%}.dummy-discards button{background:0 0;border:2px solid #0000;padding:0}.dummy-discards button.selected{border-color:#ecd083}.dummy-table{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin:16px 0;display:grid}.dummy-table section{background:#0c281d;border:1px solid #496341;border-radius:7px;padding:10px}.dummy-meld{flex-wrap:wrap;gap:3px;margin:8px 0;display:flex}.dummy-meld .room-piece{width:49px;height:70px}.dummy-meld .thai-card strong{font-size:25px}.dummy-meld .thai-card small{font-size:12px}.game-dummy .room-hand{min-width:0}
