.party-room:has(.premium101){background:#171e1b;color:#f7eed8;border:1px solid #8a7045;max-width:1240px}
.party-room:has(.premium101) .party-room-grid{display:block}.party-room:has(.premium101) .party-room-head,.party-room:has(.premium101) .party-scoreboard,.party-room:has(.premium101) #party-room-guide,.party-room:has(.premium101) a[href^="#fun-tv"]{display:none}
.party-room:has(.premium101) .table-game.premium101{padding:0;background:transparent;color:#f7eed8}.premium101>.table-instruction{background:#132b23;color:#f2e3bc;border:1px solid #49614d;padding:10px 16px;border-radius:10px;font-size:13px}.premium101>.table-turn,.premium101>.turn-banner{display:none}
.o101-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;background:linear-gradient(110deg,#202b26,#111814);border:1px solid #836637;border-radius:14px;margin-bottom:12px}.o101-header h2{margin:3px 0;font:600 27px/1.1 Georgia,serif;color:#ffe4a6}.o101-header span{letter-spacing:.13em;font-size:9px;color:#d2b97e}.o101-header small{font-size:11px;color:#c5ccb7}.o101-header nav{display:flex;gap:8px;align-items:center}.o101-panel{position:relative}.o101-panel summary,.o101-chat-panel>summary{cursor:pointer;list-style:none;min-height:44px;padding:12px;border:1px solid #8d784c;border-radius:10px;background:#18231e;color:#f4d898;font-size:12px}.o101-panel[open]>div{position:absolute;right:0;top:52px;z-index:40;width:250px;padding:18px;background:#17221d;border:1px solid #d3ad62;border-radius:12px;box-shadow:0 12px 35px #0009;font-size:13px}
.o101-stage{background:repeating-linear-gradient(3deg,#52321e 0px,#69452b 3px,#56351f 5px,#593922 12px);padding:16px;border:2px solid #a77e43;border-radius:24px;box-shadow:inset 0 2px 2px #edca8a77,0 12px 24px #0005}
.premium101 .okey-table.o101-arena{min-height:420px;margin:0;border:9px solid #9b733e;border-radius:70px;background:radial-gradient(ellipse at 48% 45%,#25644a,#123b2b 85%);box-shadow:inset 0 0 40px #07190f88,0 0 0 2px #dab66a,0 5px 0 #36200f;padding:28px 150px 100px;color:#f4e8c4;position:relative}
.premium101 .okey-table:before{content:'101  OKEY';position:absolute;top:47%;left:50%;transform:translate(-50%,-50%);font:700 48px Georgia,serif;letter-spacing:.05em;color:#b6d6a811;pointer-events:none;white-space:nowrap}
.premium101 .okey-room-badges{top:auto;bottom:12px;left:50%;transform:translateX(-50%);display:flex;gap:5px;position:absolute;white-space:nowrap}.premium101 .okey-room-badges span{background:#122e23;border:1px solid #a5894944;color:#d0d6b5;font-size:9px}
.premium101 .okey-seat{position:absolute;background:linear-gradient(#19291eea,#0c1913ee);border:1px solid #9b844b;border-radius:14px;color:#fff0ca;padding:8px;width:115px;z-index:3;box-shadow:0 5px 14px #0004}.premium101 .okey-seat strong{color:#fff0ca;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.premium101 .okey-seat small{color:#c3d2b9;font-size:10px}.premium101 .okey-avatar{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:50%;border:2px solid #c29a4c;background:radial-gradient(circle,#6c694a,#263f31);font-size:23px;margin-bottom:4px}.premium101 .seat-active{border-color:#f5d483;box-shadow:0 0 0 2px #e2b94c55,0 6px 16px #0005}.premium101 .seat-0{bottom:10px;left:50%;transform:translateX(-50%)}.premium101 .seat-1{left:12px;top:42%;transform:translateY(-50%)}.premium101 .seat-2{top:10px;left:50%;transform:translateX(-50%)}.premium101 .seat-3{right:12px;top:42%;transform:translateY(-50%)}
.o101-hidden-rack{display:flex;justify-content:center;gap:1px;margin-top:6px;padding:4px;background:linear-gradient(#b07837,#4a2b12);border:1px solid #d2aa63;border-radius:4px;overflow:hidden}.o101-hidden-rack i{width:4px;flex:1;height:17px;background:linear-gradient(#ead4a4,#bba06e);border:1px solid #947349;border-radius:2px}
.premium101 .okey-center{position:relative;margin:125px auto 18px;display:flex;align-items:center;justify-content:center;gap:18px;border:0;background:transparent;padding:0;z-index:2}.premium101 .okey-center-draw{background:linear-gradient(#fff7de,#ddd1ae);border:1px solid #c2a566;border-radius:6px;box-shadow:0 5px 0 #c3b08b,0 9px 0 #a58b65,0 10px 14px #0005;min-width:52px;min-height:65px;color:#203c2c}.premium101 .okey-center-draw strong{color:#203c2c}.premium101 .okey-center-draw small{color:#435440}.premium101 .okey-discard{position:absolute;z-index:2;font-size:9px;color:#d1d5b4;text-align:center}.premium101 .okey-discard small{display:block;max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.premium101 .discard-0{bottom:105px;left:58%}.premium101 .discard-1{left:145px;top:38%}.premium101 .discard-2{top:106px;left:42%}.premium101 .discard-3{right:145px;top:38%}.premium101 .okey-take-left{position:absolute;left:150px;bottom:95px;z-index:4;min-height:44px;background:#193d2c;border:1px solid #8d8c55;border-radius:8px;color:#f1e7c4;padding:6px}
.premium101 .okey-open-melds{position:relative;display:flex;flex-wrap:wrap;gap:5px;max-height:170px;overflow:auto;margin:12px 0;padding:8px;background:#0d2e2066;border:1px solid #b5a16533;border-radius:10px;z-index:2}.premium101 .okey-open-melds>strong{width:100%;font-size:10px;color:#d2d5b2}.premium101 .open-meld{display:flex;flex-wrap:wrap;align-items:center;gap:2px;padding:6px;background:#143a29;border:1px solid #789268;border-radius:6px;min-height:44px}.premium101 .open-meld small{width:100%;font-size:9px;color:#d6deb8}.premium101 .open-meld .table-tile{width:23px;height:32px;font-size:18px}
.premium101 .okey-rack{display:grid;grid-template-columns:repeat(13,minmax(0,1fr));grid-template-rows:repeat(2,64px);gap:8px 5px;margin:16px auto 12px;padding:13px 12px 18px;max-width:860px;border:4px solid #b98541;border-radius:8px;background:repeating-linear-gradient(2deg,#b67d3c 0,#a87032 3px,#b77f3c 5px,#9c682e 13px);box-shadow:inset 0 -8px 0 #5f3c1a,inset 0 2px 0 #edcb88,0 7px 0 #2f1d0e,0 12px 17px #0005;position:relative}.premium101 .okey-rack:after{content:'';position:absolute;top:50%;left:0;right:0;height:5px;background:linear-gradient(#f0c985,#5f3814);pointer-events:none}.premium101 .rack-tile{min-width:0;min-height:44px;width:100%;box-shadow:none;transition:transform .12s}.premium101 .rack-tile .table-tile{width:100%;height:61px;box-sizing:border-box;font-size:30px;border-radius:5px;box-shadow:0 4px 0 #aa9470,1px 6px 6px #321b1266}.premium101 .table-tile{background:linear-gradient(115deg,#fffef2 30%,#e6d7b7);color:#bc302b;font-family:Georgia,serif;font-weight:700;text-shadow:0 1px 0 #fff}.premium101 .tile-color-1{color:#225e92}.premium101 .tile-color-2{color:#b0760b}.premium101 .tile-color-3{color:#242822}.premium101 .rack-tile .table-tile small{font:10px system-ui}.premium101 .o101-empty-slot{height:60px;border:1px solid #6b401d44;border-radius:4px;background:#59350d15}.premium101 .okey-actions{justify-content:center;flex-wrap:wrap;gap:8px}.premium101 .okey-actions .btn,.premium101 .o101-header .btn{min-height:44px!important;background:linear-gradient(#f5d488,#c49643);border:1px solid #f5d49b;color:#251c10;font-weight:600}.premium101 .okey-actions .soft{background:#203c2a;color:#efdfba;border-color:#8b8550}.premium101 details.okey-arrange,.premium101 details.okey-opening{background:#132a1c;border:1px solid #816a36;color:#f3e3bb;border-radius:8px;margin:10px auto;padding:10px;max-width:860px}.premium101 details summary{min-height:30px;cursor:pointer}.premium101 .table-log{color:#c6cbae;font-size:11px}.o101-chat-panel{position:relative;margin:12px 0}.o101-chat-panel .party-room-chat{position:static;border:1px solid #8e794b;border-radius:12px;background:#17241c;padding:15px;color:#f5e6c7}.o101-chat-panel .party-room-chat h2{color:#f5e6c7}
@media(max-width:700px){.o101-header{padding:10px}.o101-header h2{font-size:22px}.o101-header nav{gap:4px}.o101-panel summary{padding:10px 7px;font-size:10px}.o101-stage{padding:8px;border-radius:16px}.premium101 .okey-table.o101-arena{padding:20px 72px 85px;border-width:5px;border-radius:35px;min-height:370px}.premium101 .okey-seat{width:68px;padding:5px}.premium101 .okey-seat strong{font-size:10px}.premium101 .okey-seat small{font-size:8px}.premium101 .okey-avatar{width:28px;height:28px;font-size:18px}.premium101 .seat-1{left:3px}.premium101 .seat-3{right:3px}.premium101 .okey-center{gap:7px;margin-top:115px}.premium101 .okey-center>div{gap:3px}.premium101 .okey-center small{font-size:8px}.premium101 .discard-1{left:77px}.premium101 .discard-3{right:77px}.premium101 .okey-take-left{left:75px;font-size:9px}.premium101 .okey-rack{grid-template-columns:repeat(13,44px);grid-template-rows:repeat(2,58px);overflow-x:auto;justify-content:start;max-width:100%;padding:10px 8px 14px}.premium101 .rack-tile .table-tile{height:54px;font-size:27px}.premium101 .o101-empty-slot{height:54px}.premium101 .okey-rack:after{width:650px}.premium101 .okey-open-melds{max-height:140px}.premium101 .okey-room-badges span{font-size:8px}.o101-header span{font-size:8px}.o101-header small{font-size:9px}}
@media(orientation:landscape) and (max-height:600px){.party-room:has(.premium101){padding:8px!important}.premium101 .okey-table.o101-arena{min-height:270px;padding-bottom:70px}.premium101 .okey-center{margin-top:85px}.premium101 .okey-rack{grid-template-columns:repeat(13,minmax(44px,1fr));grid-template-rows:repeat(2,50px);gap:5px;margin-top:12px}.premium101 .rack-tile .table-tile{height:46px;font-size:24px}.premium101 .o101-empty-slot{height:46px}.premium101 .okey-seat{padding:4px}.premium101 .okey-avatar{width:24px;height:24px;font-size:17px}.o101-header{padding:8px}.premium101 .okey-open-melds{max-height:100px}.premium101 .okey-actions{position:sticky;bottom:0;background:#14261ce8;padding:6px;border-radius:8px;z-index:5}}
@media(prefers-reduced-motion:reduce){.premium101 .rack-tile{transition:none}}

body.mobile-game-active #app .party-room:has(.premium101) .table-game.premium101{display:block;overflow:visible;flex:none}body.mobile-game-active #app .party-room:has(.premium101) .rack-tile{min-height:54px!important;height:54px!important}body.mobile-game-active #app .party-room:has(.premium101) .rack-tile .table-tile{height:54px;font-size:27px}body.mobile-game-active #app .party-room:has(.premium101) .okey-rack{grid-template-columns:repeat(13,44px)!important;grid-template-rows:repeat(2,58px);overflow-x:auto}body.mobile-game-active #app .party-room:has(.premium101) .o101-chat-panel .party-room-chat{height:auto!important;width:auto;min-height:180px}

#app .party-room:has(.premium101){background:linear-gradient(140deg,#1c2921,#101912)!important;color:#f4e4bd!important}
#app .premium101>.room-guidance{display:none}#app .premium101 .o101-panel,#app .premium101 .okey-arrange,#app .premium101 .okey-opening{background:#17271d;color:#eddeb9;border:1px solid #806936;box-shadow:none;padding:8px;border-radius:8px}#app .premium101 .o101-panel{padding:0;border:0}#app .premium101 .o101-panel>summary{margin:0;color:#efd597;background:#18261c;border:1px solid #9b804b}#app .premium101 .o101-panel>summary:after{display:none}
#app .party-room:has(.premium101) .game-experience-controls{padding:6px 10px;background:#132219;border-radius:9px;gap:5px;margin:0 0 10px;display:flex;align-items:center}#app .party-room:has(.premium101) .game-experience-controls select{width:80px;background:#203725;color:#e8d4a5;border-color:#8b7548}#app .party-room:has(.premium101) .game-experience-controls .btn{background:#213929;color:#dcc38d;border-color:#78653c}
#app .premium101 .seat-1{right:auto}#app .premium101 .seat-3{left:auto}#app .premium101 .okey-center{left:auto;top:auto;transform:none}#app .premium101 .okey-open-melds{left:auto;right:auto;top:auto;bottom:auto;width:auto}#app .premium101 .okey-discard{right:auto}#app .premium101 .discard-3{left:auto;right:145px}
#app .party-room:has(.premium101) .party-actions a{color:#dfc28d}#app .premium101 .table-note{color:#d1d5b8}
@media(max-width:700px){#app .premium101 .discard-3{right:77px}.o101-header nav{flex-wrap:wrap;justify-content:flex-end}.o101-header{align-items:center}.o101-header h2{font-size:20px}.o101-header .btn{font-size:10px}}
@media(orientation:landscape) and (max-width:1000px) and (max-height:600px){
 body.mobile-game-active:has(.premium101) .topbar{display:none!important}body.mobile-game-active #app .party-room:has(.premium101){top:0!important;height:100dvh!important;max-height:100dvh!important;padding:4px!important}body.mobile-game-active #app .party-room:has(.premium101) .party-room-main{gap:2px}
 #app .party-room:has(.premium101) .game-experience-controls{margin:0;padding:2px 6px;height:30px;position:static}#app .party-room:has(.premium101) .game-experience-controls .btn{min-height:28px;height:28px;padding:3px 7px;font-size:10px}
 #app .premium101 .o101-header{padding:4px 10px;margin:0 0 4px;height:48px;box-sizing:border-box}#app .premium101 .o101-header h2{font-size:19px;margin:0}#app .premium101 .o101-header>div>span{display:none}#app .premium101 .o101-header small{font-size:8px}#app .premium101 .o101-panel>summary{min-height:40px;padding:10px;box-sizing:border-box}
 #app .premium101 .o101-stage{padding:6px}#app .premium101 .okey-table.o101-arena{height:150px;min-height:150px;padding:0 105px;border-radius:35px;border-width:5px;box-sizing:border-box}#app .premium101 .okey-seat{width:94px;padding:3px}#app .premium101 .okey-avatar{display:none}#app .premium101 .okey-seat strong{font-size:10px}#app .premium101 .okey-seat small{font-size:8px}#app .premium101 .o101-hidden-rack{margin-top:2px;padding:2px}#app .premium101 .o101-hidden-rack i{height:8px}#app .premium101 .seat-2{top:2px}#app .premium101 .seat-0{bottom:2px}
 #app .premium101 .okey-center{position:absolute;left:47%;top:50%;transform:translate(-50%,-50%);margin:0;gap:10px}#app .premium101 .okey-center-draw{min-height:47px}#app .premium101 .okey-center .table-tile{height:37px;width:28px;font-size:24px}#app .premium101 .okey-center small{font-size:8px}#app .premium101 .okey-center-draw strong{font-size:22px}#app .premium101 .okey-open-melds{position:absolute;left:auto;right:112px;top:42px;bottom:40px;width:130px;margin:0;padding:3px;max-height:none}#app .premium101 .okey-open-melds>strong{display:none}#app .premium101 .okey-open-melds:has(>small){display:none}
 #app .premium101 .okey-room-badges{display:none}#app .premium101 .okey-discard small{display:none}#app .premium101 .okey-discard .table-tile{height:28px;width:22px;font-size:19px}#app .premium101 .discard-0{bottom:2px;left:67%}#app .premium101 .discard-1{left:115px;top:38%}#app .premium101 .discard-2{top:2px;left:30%}#app .premium101 .discard-3{right:112px;top:38%}#app .premium101 .okey-take-left{left:110px;bottom:2px;min-height:38px;font-size:8px}#app .premium101 .okey-take-left .table-tile{width:20px;height:25px;font-size:16px}
 #app .premium101 .okey-rack{margin:5px auto;padding:5px 6px 8px;grid-template-rows:repeat(2,46px);row-gap:5px}body.mobile-game-active #app .party-room:has(.premium101) .okey-rack{grid-template-columns:repeat(13,minmax(44px,1fr))!important;grid-template-rows:repeat(2,46px)}body.mobile-game-active #app .party-room:has(.premium101) .rack-tile{min-height:44px!important;height:44px!important}body.mobile-game-active #app .party-room:has(.premium101) .rack-tile .table-tile{height:44px;font-size:24px}#app .premium101 .o101-empty-slot{height:44px}
 #app .premium101 .okey-arrange,#app .premium101 .okey-opening{margin:3px auto;padding:4px!important}#app .premium101 .okey-arrange>summary,#app .premium101 .okey-opening>summary{font-size:10px;min-height:20px}#app .premium101 .okey-actions{margin:4px 0;padding:3px;position:static}#app .premium101 .okey-actions .btn{min-height:44px!important;font-size:11px}#app .premium101>.table-instruction{padding:3px 8px;margin:2px 0;font-size:10px}
}

#app .premium101 .o101-panel[open]>.o101-sound-controls{position:absolute;right:0;top:48px;width:230px;flex-wrap:wrap;padding:12px;z-index:45;border:1px solid #c7a668;box-shadow:0 10px 30px #0008}#app .premium101 .o101-sound-controls input{max-width:90px}.premium101 .o101-header nav{flex-wrap:wrap}

.premium101 .table-tile.is-okey{outline:2px solid #d0aa42;box-shadow:0 0 9px #ffd36466}.premium101 .table-tile.is-okey small{color:#86711f;font-weight:800;letter-spacing:.03em}.premium101 .o101-swap{min-height:44px!important}

.o101-lobby .okey-arena{background:radial-gradient(ellipse,#25664b,#103a29);border:10px ridge #a47a41;border-radius:35px;box-shadow:inset 0 0 30px #031f1477}.o101-lobby .okey-seat{background:#172a1fee;border:1px solid #b09153;color:#f4e1b7}.o101-lobby .empty-okey-seat{border-color:#d2b475;background:#173827}.o101-lobby .okey-empty-rack{background:repeating-linear-gradient(3deg,#bc873f 0,#a16c2f 4px,#ae7934 12px);border-color:#b88a4b;grid-template-columns:repeat(11,minmax(0,1fr));grid-template-rows:repeat(2,40px)}.o101-lobby .empty-rack-slot{height:38px}.o101-lobby .okey-waiting-center{color:#f3e0b1}

#app .premium101 .o101-chat-panel{margin:0}#app .premium101 .o101-chat-panel>summary{min-height:44px;box-sizing:border-box;padding:12px 10px;font-size:12px;background:#18261c;color:#efd597}#app .premium101 .o101-chat-panel[open]>.party-room-chat{position:absolute;right:0;top:50px;width:min(300px,80vw);max-height:65dvh;overflow:auto;z-index:45;background:#17251c;border-color:#c4a363;color:#f4dfae;box-shadow:0 10px 30px #0008}#app .premium101 .o101-chat-panel .party-room-chat h2{color:#e8cf91}#app .premium101 .okey-open-melds:has(>small){display:none}#app .premium101 .okey-room-badges{display:none}

.premium101.premium-classic .okey-table:before{content:'OKEY';font-size:62px;letter-spacing:.15em}.premium101.premium-classic .okey-rack{grid-template-columns:repeat(8,minmax(44px,1fr));max-width:650px}.o101-lobby.o-classic-lobby .okey-empty-rack{grid-template-columns:repeat(8,minmax(0,1fr))}
body.mobile-game-active #app .party-room:has(.premium101) .premium-classic .okey-rack{grid-template-columns:repeat(8,44px)!important;max-width:650px}
@media(orientation:landscape) and (max-width:1000px) and (max-height:600px){body.mobile-game-active #app .party-room:has(.premium101) .premium-classic .okey-rack{grid-template-columns:repeat(8,minmax(44px,1fr))!important}.premium-classic .o101-stage{padding:6px 12px}}

#app .premium101 .okey-arrange .btn,#app .premium101 .okey-opening .btn{min-height:44px!important}#app .premium101 .o101-panel[open]>div{max-height:65dvh;overflow:auto;box-sizing:border-box}
