@font-face{font-family:DM Sans;font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/latin-0.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans;font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/latin-1.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Manrope;font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/latin-2.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope;font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/latin-3.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{font-family:DM Sans,sans-serif;color:#f1f0e8;background:#102b25;font-synthesis:none;font-weight:400;--gold: #e5bd78;--gold-light: #f1d39d;--muted: #a7b9ae;--green: #102f27;--line: #ffffff13;--wood: linear-gradient( 2deg, #4d2e1e, #805238 18%, #53351f 20%, #936442 50%, #5f3a24 92%, #a67b53 );--cream: #f3ecdb}*{box-sizing:border-box}body{margin:0}button{font:inherit;color:inherit;border:0;cursor:pointer}button:disabled{cursor:default}button,a{-webkit-tap-highlight-color:transparent}button{touch-action:manipulation}button:focus-visible{outline:2px solid var(--gold-light);outline-offset:4px}button:active:not(:disabled){filter:brightness(.9)}::selection{background:#b99251;color:#102b25}svg{flex-shrink:0}button{transition:background .18s,color .18s,border-color .18s,box-shadow .18s,opacity .18s}h1,h2,h3,p{margin:0}.app{position:relative;min-height:100svh;overflow:hidden;background:radial-gradient(ellipse at 58% 42%,#204b3c55,transparent 65%),#102b25}.app:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:.12;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23ffffff' opacity='.35' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}.ambient{position:absolute;width:850px;height:850px;border:1px solid #becda50a;border-radius:50%;pointer-events:none}.ambient:before,.ambient:after{content:"";position:absolute;top:70px;right:70px;bottom:70px;left:70px;border:1px solid #becda50a;border-radius:50%}.ambient:after{top:140px;right:140px;bottom:140px;left:140px}.ambient-one{top:-570px;left:-270px}.ambient-two{bottom:-600px;right:-180px}.topbar{height:106px;position:relative;z-index:3;margin:0 auto;padding:0 5.5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:8px;color:var(--gold);font-family:Manrope,sans-serif}.brand>svg{width:40px;height:40px}.brand>span{font-size:37px;font-weight:750;letter-spacing:-2px}.brand-dot{color:#e3bd76}.header-note{font-size:12px;color:#a5b7a9;display:flex;align-items:center;gap:10px;letter-spacing:.3px}.live-dot{display:inline-block;width:6px;height:6px;background:#92b99a;border-radius:50%;box-shadow:0 0 0 4px #8cb7960b;flex-shrink:0}.header-actions{display:flex;align-items:center;gap:8px}.icon-btn{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;background:transparent;color:#b7c7b9;border:1px solid transparent;border-radius:50%}.icon-btn:hover{background:#ffffff08;border-color:#ffffff12;color:var(--cream)}.guest{display:flex;align-items:center;gap:11px;margin-left:21px;padding-left:28px;border-left:1px solid #ffffff15}.guest strong,.guest span{display:block}.guest strong{font-size:13px;font-weight:500}.guest div>span{font-size:10px;color:var(--muted);margin-top:3px}.avatar{width:49px;height:49px;border-radius:50%;overflow:hidden;display:inline-flex;border:2px solid #ffffff20;flex-shrink:0;box-shadow:0 4px 10px #0002}.avatar svg{width:100%;height:100%}.avatar-small{width:36px;height:36px}.avatar-large{width:64px;height:64px}.lobby-main{max-width:1560px;min-height:calc(100svh - 191px);margin:0 auto;display:grid;grid-template-columns:.88fr 2.3fr;gap:5%;padding:clamp(45px,6.3vh,90px) 5.5% 45px;align-items:center;position:relative;z-index:1}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2.7px;color:var(--gold);display:flex;align-items:center;gap:10px}.eyebrow>span{width:22px;height:1px;background:var(--gold)}.lobby-intro h1{font-family:Manrope,sans-serif;font-size:clamp(40px,4.25vw,66px);line-height:1.18;letter-spacing:-3px;font-weight:500;margin-top:25px}.lobby-intro em{color:var(--gold);font-style:normal}.lobby-intro>p{font-size:13px;line-height:1.9;color:var(--muted);margin-top:23px}.intro-bottom{display:flex;align-items:center;gap:15px;margin-top:42px}.avatar-stack{display:flex;padding-right:7px}.avatar-stack .avatar{border-color:#173a2e;margin-right:-8px;width:32px;height:32px}.intro-bottom>span{font-size:10px;line-height:1.8;color:#9db1a3}.intro-bottom strong{font-weight:450;color:#d0d9cc}.section-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px;font-size:10px;letter-spacing:2px;color:#b5c5b7;font-weight:500}.offline-label{font-size:10px;letter-spacing:0;display:flex;align-items:center;gap:7px;color:#a0b4a4}.offline-label .live-dot{width:4px;height:4px}.mode-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.mode-card{min-width:0;text-align:left;border-radius:13px;background:linear-gradient(155deg,#2a514240,#15352c99);border:1px solid #74897736;position:relative;overflow:hidden;padding:20px 20px 21px;box-shadow:0 18px 30px #00000010;isolation:isolate}.mode-card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(ellipse at 50% 32%,#acb18d12,transparent 66%);z-index:-1}.mode-card.chosen{border-color:#d0a761;box-shadow:0 0 0 1px #d0a76114,0 18px 30px #0002;background:linear-gradient(155deg,#37574077,#17392d)}.mode-card:hover{border-color:#b3b48b99;background-color:#ffffff05}.card-top{display:flex;align-items:center;gap:8px;white-space:nowrap;height:17px}.card-index{font-family:Manrope,sans-serif;font-size:10px;color:#87a18c;letter-spacing:1px}.popular,.card-tag{font-size:7px;letter-spacing:1.3px;margin-left:auto;color:#adc2ac}.popular{color:#d2b675}.chosen-tick{display:grid;place-items:center;position:absolute;right:12px;top:12px;width:19px;height:19px;background:#d6b373;border-radius:50%;color:#19362b}.chosen .popular{margin-right:9px;font-size:6.5px}.card-art{height:clamp(185px,24vh,270px);position:relative;display:flex;align-items:center;justify-content:center;perspective:900px}.card-art:before{content:"";position:absolute;width:160px;height:160px;border:1px solid #8aa68c0c;border-radius:50%;top:50%;left:50%;transform:translate(-50%,-50%)}.art-tiles{display:flex;transform:rotate(-9deg) rotateX(9deg) translateY(3px);position:relative;z-index:2;padding:0 8px}.art-tiles .tile{width:64px;height:91px;margin-left:-19px;transform:translateY(calc(var(--tile-index) * -6px)) rotate(calc((var(--tile-index) - 1) * 12deg));box-shadow:2px 5px #b2a38b,4px 9px #766953,8px 20px 17px #0005}.art-tiles .tile:first-child{margin-left:0}.art-tiles .tile-number{font-size:41px}.art-tiles .tile-corner{font-size:9px}.art-run{transform:rotate(7deg) rotateX(9deg) translateY(3px)}.art-run .tile{transform:translateY(calc(var(--tile-index) * -8px)) rotate(calc((var(--tile-index) - 1) * -3deg));margin-left:-10px}.art-shadow{position:absolute;bottom:31px;left:22%;width:66%;height:15px;background:#0003;filter:blur(10px);transform:rotate(-8deg)}.card-copy{position:relative}.card-copy h2{font-family:Manrope,sans-serif;font-size:24px;letter-spacing:-.8px;font-weight:600}.card-copy>p{font-size:10px;color:#abbeb0;line-height:1.7;margin-top:9px;white-space:nowrap;letter-spacing:-.1px}.card-meta{display:flex;align-items:center;gap:8px;color:#9aaf9f;font-size:9px;margin-top:24px;padding-top:15px;border-top:1px solid #bfd3bd16}.card-meta i{width:2px;height:2px;background:#8ca18f;border-radius:50%}.card-meta svg{margin-left:auto;color:#d9c79f}.play-strip{display:flex;justify-content:space-between;align-items:center;margin-top:22px}.play-strip>div{display:flex;gap:10px;align-items:center;color:#9fb5a2;font-size:10px}.play-strip>div>svg{color:#bdc7ac}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:48px;border-radius:7px;padding:0 23px;font-size:12px;font-weight:650;white-space:nowrap}.primary{color:#29372a;background:linear-gradient(110deg,#f1d399,#dbb570);box-shadow:0 3px #9e7b43,0 5px 14px #0002;border:1px solid #f4dba48c}.primary:hover:not(:disabled){background:linear-gradient(110deg,#f9e0af,#ebc785);box-shadow:0 3px #a78345,0 6px 22px #e7bc6a15}.primary:disabled{opacity:.35;box-shadow:0 2px #7f6b48;filter:saturate(.3)}.secondary{background:#d8e2cb0a;border:1px solid #b4c9ae32;color:#d6e2ce;box-shadow:0 2px #0002}.secondary:hover{background:#d8e2cb15}.secondary:disabled{opacity:.35}.play-button{min-width:189px}.lobby-footer{height:85px;display:flex;align-items:center;justify-content:space-between;margin:0 5.5%;border-top:1px solid #b6c7aa16;position:relative;color:#829c89;font-size:8px;letter-spacing:1.6px}.text-button{display:flex;align-items:center;gap:8px;background:none;color:#b8c9b9;font-size:11px;padding:12px 0;min-height:44px}.text-button:hover{color:var(--gold)}.lobby-footer .text-button{letter-spacing:0;font-size:11px}.footer-right{font-size:10px;letter-spacing:0}.tile{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:47px;height:65px;flex-shrink:0;border-radius:5px;background:linear-gradient(110deg,#fffcf1,#e8dfca);color:#bc3b32;box-shadow:0 3px #ae9f83,0 5px 5px #0005,inset 0 0 0 1px #fff7,inset -3px 0 5px #77633f16;border:1px solid #f6eddb;-webkit-user-select:none;user-select:none;padding:0;transform-origin:bottom center}.tile-number{font-family:Manrope,sans-serif;font-size:31px;font-weight:750;letter-spacing:-2px;line-height:1.1;padding-right:2px;text-shadow:0 1px #fff9}.tile-number svg{width:25px;height:25px}.tile-corner{font-family:Manrope,sans-serif;position:absolute;top:4px;left:5px;font-size:7px;font-weight:800;letter-spacing:-.6px}.tile-mark{position:absolute;bottom:6px;left:50%;transform:translate(-50%);display:flex}.tile-mark>i{width:4px;height:4px;border-radius:50%;background:currentColor;opacity:.85}.color-0{color:#b73e34}.color-1{color:#285e9a}.color-2{color:#303c39}.color-3{color:#bc8a28}.tile.wild{background:linear-gradient(125deg,#fff8d9,#ead394)}.tile-back{background:repeating-linear-gradient(45deg,#163e31,#163e31 2px,#1b4335 2px,#1b4335 3px);border:3px solid #e2d4b7;box-shadow:0 4px #b6aa90,0 7px #ddd1b2,0 10px 8px #0005}.tile-back .brand{color:#c3b184}.tile-back .brand svg{width:26px;height:26px}.tile-small{width:29px;height:40px;border-radius:3px;box-shadow:0 2px #a99d85,0 3px 3px #0004}.tile-small .tile-number{font-size:20px;letter-spacing:-1px}.tile-small .tile-corner{font-size:5px;top:2px;left:3px}.tile-small .tile-mark{bottom:4px}.tile-small .tile-mark i{width:3px;height:3px}.mini-board{width:176px;height:137px;padding:10px;background:var(--wood);border:1px solid #a97c50;border-radius:5px;transform:rotate(-12deg) rotateX(25deg) rotateY(-17deg);box-shadow:3px 4px #4d3020,6px 8px #362117,9px 17px 22px #0007;position:relative;z-index:1}.mini-inner{height:100%;background:#c3a578;position:relative;overflow:hidden;border:2px solid #56361e}.mini-inner:before{content:"";position:absolute;width:9px;height:100%;background:#51351f;left:calc(50% - 4px);z-index:2}.mini-point{position:absolute;top:0;width:23px;height:47%;background:#62432c;clip-path:polygon(0 0,100% 0,50% 100%);left:calc(var(--col) * 16.666%)}.mini-point:nth-child(2n){background:#e5d4aa}.mini-point:nth-child(n+7){top:auto;bottom:0;transform:rotate(180deg)}.mp-0,.mp-6{--col: 0}.mp-1,.mp-7{--col: 1}.mp-2,.mp-8{--col: 2}.mp-3,.mp-9{--col: 3}.mp-4,.mp-10{--col: 4}.mp-5,.mp-11{--col: 5}.mini-checker{width:16px;height:16px;position:absolute;z-index:3;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff4d4,#c7b98f);box-shadow:0 2px #99815d,1px 3px 2px #0008;left:6px;top:5px;border:1px solid #eadfbc}.mc-1{top:22px}.mc-2{top:39px}.mc-3{left:auto;right:6px;top:auto;bottom:5px}.mc-4{left:auto;right:6px;top:auto;bottom:22px}.mc-5,.mc-6,.mc-7{background:radial-gradient(circle at 35% 35%,#4a4941,#171d19);border-color:#393a2c;left:51px;top:auto;bottom:5px;box-shadow:0 2px #141a14,1px 3px 2px #0008}.mc-6{bottom:22px}.mc-7{bottom:39px}.mini-hinge{position:absolute;width:4px;height:20px;border-radius:1px;background:linear-gradient(90deg,#ac8c4d,#f0d18b,#9d7c43);left:50%;top:-2px}.game-screen{height:100svh;min-height:390px;background:radial-gradient(ellipse at 50% 40%,#245640,#13382d 65%,#102d25)}.game-screen .topbar{height:73px;padding:0 3%;background:#0f2a2470}.back-button{display:flex;align-items:center;gap:5px;background:none;font-size:12px;color:#c1d0bf;min-height:44px;padding:0 8px 0 0;min-width:95px}.back-button:hover{color:var(--gold)}.table-title{display:flex;align-items:center;gap:11px;font-size:13px;font-weight:500;letter-spacing:.2px}.table-title>span:last-child{font-weight:400;font-size:10px;color:#9cb49f}.title-divider{height:12px;border-left:1px solid #9aac9430;margin:0 6px}.play-area{height:calc(100svh - 73px);position:relative;max-width:1600px;margin:auto}.player-badge{display:flex;align-items:center;gap:10px;padding:8px 12px 8px 8px;min-width:145px;border:1px solid transparent;border-radius:50px;position:relative;background:#12302670}.player-badge.active{border-color:#cfb77d7a;background:#244d3990;box-shadow:0 0 25px #d5b56a0c}.avatar-wrap{position:relative;display:flex}.turn-dot{position:absolute;bottom:0;right:0;width:11px;height:11px;background:var(--gold);border-radius:50%;border:2px solid #244432;box-shadow:0 0 12px #d2ab6750}.player-badge strong{display:block;font-size:12px;font-weight:550}.player-badge div>span:not(.avatar):not(.turn-dot){display:block;margin-top:5px;font-size:9px;color:#afc3ae}.bot-label{font-size:6px;letter-spacing:1px;color:#9ab499;border:1px solid #9ab49930;border-radius:3px;padding:3px 4px;margin-left:8px}.side-player{position:absolute;top:33%;z-index:2;width:150px;text-align:center}.side-player .player-badge{flex-direction:column;min-width:0;background:none;border-radius:15px;padding:13px 5px;gap:8px}.side-player .player-badge .bot-label{position:absolute;top:53px;left:calc(50% + 14px);font-size:5px;background:#183c2d}.side-player .player-badge.active{background:#204b3440}.side-player .player-badge .avatar{width:54px;height:54px}.side-player .player-badge strong{font-size:12px}.side-player .player-badge div>span:not(.avatar):not(.turn-dot){margin-top:4px}.side-left{left:2%}.side-right{right:2%}.side-caption{font-size:8px;color:#8ca98e;display:block;margin-top:10px}.opponent-top{position:absolute;top:18px;left:50%;transform:translate(-50%);z-index:2;display:flex;flex-direction:column;align-items:center;gap:8px}.opponent-top .player-badge{padding:4px 12px 4px 4px}.opponent-top .avatar{width:37px;height:37px}.opponent-rack{display:flex;gap:2px;transform:perspective(400px) rotateX(-15deg);border-bottom:5px solid #704e2c;box-shadow:0 5px 8px #0003;border-radius:3px}.opponent-rack i{width:10px;height:20px;background:linear-gradient(90deg,#c5bca5,#ece3c8);border-radius:2px 2px 0 0;box-shadow:inset 0 -6px #beb299}.okey-table{position:absolute;top:73px;bottom:235px;left:15%;right:15%;min-height:145px;display:flex;align-items:center;justify-content:center;gap:80px}.felt-outline{position:absolute;top:6%;right:-3%;bottom:0;left:-3%;border:1px solid #bacda30b;border-radius:180px;pointer-events:none}.felt-outline:after{content:"";position:absolute;top:8px;right:8px;bottom:8px;left:8px;border:1px solid #bacda305;border-radius:170px}.table-watermark{position:absolute;top:14%;left:50%;transform:translate(-50%);opacity:.13;text-align:center;pointer-events:none}.table-watermark .brand{justify-content:center;color:#e2d3a5;gap:3px}.table-watermark .brand>span{font-size:30px}.table-watermark .brand>svg{width:30px;height:30px}.table-watermark>span{display:block;font-size:6px;letter-spacing:3px;color:#f0dab1;margin-top:4px}.deck-center{position:relative;display:flex;align-items:center;gap:15px;margin-top:35px;z-index:1}.deck-button{background:transparent;padding:0;position:relative;transform:rotate(5deg);border-radius:6px}.deck-button:not(:disabled):hover{transform:rotate(0) translateY(-3px)}.deck-button.can-draw{box-shadow:0 0 38px #e9c17030;animation:deckGlow 2s ease-in-out infinite}.deck-count{position:absolute;bottom:-13px;left:50%;transform:translate(-50%);min-width:23px;padding:3px 5px;border-radius:10px;font-size:9px;color:#ddd8b9;background:#153125;border:1px solid #b2bc8e38;z-index:1}.indicator{position:relative;display:flex;justify-content:center}.indicator>span{position:absolute;top:51px;white-space:nowrap;font-size:6px;letter-spacing:1px;color:#9bb19a}.draw-label{position:absolute;top:101px;left:45px;font-size:7px;letter-spacing:1.2px;white-space:nowrap;color:#c4cbad}.discard-zone{display:flex;align-items:center;flex-direction:column;gap:14px;z-index:1;margin-top:55px}.discard-zone>span{font-size:6px;letter-spacing:1.6px;color:#8eaa90}.discard-zone .tile{animation:tileDrop .3s ease-out}.empty-tile{width:47px;height:65px;border-radius:5px;border:1px dashed #c4d2a626;background:#122e2118}.discard-left .tile{transform:rotate(-9deg)}.discard-right .tile{transform:rotate(8deg)}.table-status{position:absolute;bottom:0;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;font-size:10px;color:#becdb2;white-space:nowrap;background:#122f241c;border:1px solid #cad4a30c;padding:9px 15px;border-radius:20px;z-index:2}.table-status .live-dot{width:4px;height:4px}.your-dot{background:var(--gold)}.thinking-dots{letter-spacing:2px;color:var(--gold);animation:thinking 1.3s ease-in-out infinite}.rack-area{position:absolute;bottom:0;left:11%;right:11%;height:210px;z-index:3}.rack-info{display:flex;align-items:center;justify-content:space-between;padding:0 8px 17px;gap:14px}.self-label{display:flex;align-items:center;gap:8px;min-width:110px}.self-label .avatar{width:28px;height:28px}.self-label strong{font-size:11px;font-weight:500}.self-label>span:last-child{font-size:9px;color:#91ad96;margin-left:5px}.hand-status{display:flex;align-items:center;gap:12px;font-size:10px;color:#a7bda3}.gold-text{font-size:17px;font-family:Manrope,sans-serif;color:var(--gold);letter-spacing:-.5px}.gold-text small{font-size:9px;color:#9eb597}.chip{display:flex;align-items:center;gap:6px;background:#ffffff08;border:1px solid #ffffff14;border-radius:15px;padding:6px 10px;font-size:8px;color:#b7c7ac;min-height:28px}.chip-active{background:#d2bc7320;border-color:#d2bc7340;color:var(--gold)}.opened-label{display:flex;gap:3px;align-items:center;color:var(--gold);font-size:9px}.rack-tools{display:flex;gap:14px}.tool-btn{display:flex;align-items:center;gap:6px;min-height:30px;background:none;padding:0;color:#adbea4;font-size:9px}.tool-btn:hover{color:var(--gold)}.rack-row{display:flex;align-items:center;gap:18px}.wood-rack{position:relative;flex:1;min-width:0;background:repeating-linear-gradient(2deg,#fff0 0,#fff0 4px,#0c000015,#ffffff03,#fff0 7px),linear-gradient(#66482c,#8f6943 45%,#705033 80%,#a67c50);border:1px solid #a57b4b;border-bottom:0;padding:13px 15px 15px;border-radius:7px 7px 3px 3px;box-shadow:0 10px #422e1d,0 14px #2c2218,0 20px 20px #0005,inset 0 1px 1px #f5db8a66,inset 0 8px 8px #30210e88;min-height:111px;isolation:isolate}.wood-rack:after{content:"";position:absolute;top:10px;right:8px;bottom:15px;left:8px;background:#32261544;border-radius:4px;box-shadow:inset 0 4px 5px #251d1144;z-index:-1}.rack-tiles{display:flex;align-items:flex-end;justify-content:center;gap:4px;min-height:73px;padding-bottom:4px}.rack-tiles .tile{width:calc((100% - 56px) / 15);max-width:51px;height:72px;flex:1;min-width:0;animation:deal .45s both;animation-delay:calc(var(--deal-index) * 18ms)}.rack-tiles .tile-number{font-size:clamp(20px,2.25vw,34px)}.rack-tiles .tile.selected{transform:translateY(-15px) rotate(-2deg);box-shadow:0 0 0 2px var(--gold),0 4px #b8a471,0 10px 15px #0005;z-index:2;background:linear-gradient(120deg,#fff9de,#e9d69e)}.rack-tiles .tile:hover{background:#fff9e7}.rack-lip{position:absolute;bottom:-1px;left:-3px;right:-3px;height:17px;background:repeating-linear-gradient(1deg,transparent 0 5px,#23140315 6px,transparent 7px),linear-gradient(#bb9461,#967046 35%,#795736 80%,#9b7346);border:1px solid #bf965f;border-bottom:2px solid #5a3c22;border-radius:2px 2px 5px 5px;box-shadow:0 3px 4px #0004,inset 0 1px #f3d79a66;z-index:3}.rack-lip:after{content:"masa.";position:absolute;right:18px;top:0;font-size:8px;font-weight:700;letter-spacing:-.5px;color:#5e4026;line-height:14px;text-shadow:0 1px #d5af7755}.rack-actions{display:flex;flex-direction:column;gap:9px;min-width:147px}.discard-button{padding:0 15px;gap:14px;font-size:11px;min-height:47px}.open-button{padding:0 15px;gap:10px;font-size:10px;min-height:39px}.game-tip{font-size:9px;color:#8fac92;text-align:center;line-height:1.7;margin-top:24px;min-height:16px}.rack-101 .rack-tiles{gap:3px}.rack-101 .rack-tiles .tile{height:65px}.rack-101 .rack-tiles .tile-number{font-size:clamp(16px,1.9vw,27px);letter-spacing:-1.5px}.rack-101 .rack-tiles .tile-corner{font-size:5px;left:3px}.rack-101 .rack-tiles .tile-mark{bottom:5px}.game-help{position:absolute;bottom:22px;right:3%;border:1px solid #b8c6a828;color:#9db798;width:33px;height:33px}.meld-table{position:absolute;top:4px;right:5%;bottom:57px;left:5%;z-index:1;display:flex;align-content:center;justify-content:center;gap:13px 16px;flex-wrap:wrap;overflow-y:auto;padding:9px;background:radial-gradient(ellipse,#214b39,#19432f 80%);border-radius:20px;box-shadow:0 0 35px 20px #1c473300}.meld-table~.table-status{bottom:0}.okey-table:has(.meld-table)>.deck-center,.okey-table:has(.meld-table)>.discard-zone{position:absolute;bottom:25px;transform:scale(.72);transform-origin:bottom}.okey-table:has(.meld-table)>.deck-center{right:-13%;bottom:52px;display:flex;flex-direction:row}.okey-table:has(.meld-table)>.discard-left{left:-12%;bottom:52px}.okey-table:has(.meld-table)>.discard-right{display:none}.table-meld{display:flex;gap:2px;align-items:center;justify-content:center;position:relative;background:#082a1f22;border-bottom:2px solid #93b69c33;border-radius:4px;padding:5px 5px 7px;min-height:49px;flex-shrink:0}.table-meld:hover{background:#c9d69a15;border-color:var(--gold)}.owner-0{border-color:#e2bf76aa}.owner-1{border-color:#86b4bf77}.owner-2{border-color:#b994b577}.owner-3{border-color:#bbb87777}.backgammon-area{max-width:1270px;padding:15px 7% 18px;display:flex;flex-direction:column;gap:13px}.bg-player-top{display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.bg-player-top .player-badge{padding:4px 15px 4px 4px}.bg-player-top .avatar{width:36px;height:36px}.bg-match-label{font-size:7px;letter-spacing:2px;color:#92ac92;display:flex;align-items:center;gap:12px}.bg-match-label i{width:3px;height:3px;border-radius:50%;background:#91a484}.bg-player-top>.text-button{font-size:9px;min-width:140px;justify-content:flex-end}.bg-content{display:flex;gap:16px;flex:1;min-height:0;position:relative;max-height:570px}.bg-board{flex:1;position:relative;min-width:0;padding:18px 22px;background:repeating-linear-gradient(1deg,transparent 0 4px,#170d0422 5px,transparent 7px),linear-gradient(95deg,#795536,#9c7550 10%,#69452b,#94714d 90%,#68462b);border:1px solid #b5905c;border-radius:9px;box-shadow:0 5px #4e321f,0 8px #281f16,0 20px 28px #0005,inset 0 1px 2px #e3c08b88,inset 0 -3px 1px #362616;min-height:200px}.bg-inside{height:100%;position:relative;background:repeating-linear-gradient(0deg,transparent 0 3px,#60432609 4px,transparent 5px),#c0a073;border:2px solid #4f3521;box-shadow:inset 0 0 25px #42301a66;border-radius:4px;display:flex;flex-direction:column;isolation:isolate}.points-row{height:43%;display:grid;grid-template-columns:repeat(6,1fr) 26px repeat(6,1fr);position:relative}.point{background:none;position:relative;min-width:0;padding:0;display:block;border-radius:0;isolation:isolate;outline-offset:-2px}.point:nth-child(7){grid-column:8}.point-number{position:absolute;left:0;right:0;font-size:8px;color:#6a5033;font-weight:700;z-index:1;line-height:16px}.point-top .point-number{top:-1px}.point-bottom .point-number{bottom:-1px}.triangle{position:absolute;left:7%;right:7%;height:92%;background:#67462b;clip-path:polygon(0 0,100% 0,50% 100%);top:6px;filter:drop-shadow(0 1px 0 #0005);z-index:-1}.point-light .triangle{background:#eddbb4}.point-dark .triangle{background:repeating-linear-gradient(0deg,transparent 0 3px,#41291922 4px,transparent 5px),#6e4b30}.point-bottom .triangle{transform:rotate(180deg);top:auto;bottom:6px}.checkers{position:absolute;top:17px;right:0;bottom:0;left:0;display:flex;align-items:center;flex-direction:column}.point-bottom .checkers{top:0;right:0;bottom:17px;left:0;flex-direction:column-reverse}.checker{position:absolute;width:clamp(22px,3.3vw,45px);aspect-ratio:1;border-radius:50%;top:calc(var(--stack) * min(2.35vw,32px));font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;z-index:calc(var(--stack) + 1);box-shadow:0 3px #99815d,0 5px 5px #0005}.point-bottom .checker{top:auto;bottom:calc(var(--stack) * min(2.35vw,32px))}.white{background:radial-gradient(circle at 40% 34%,#fff5d9 5%,#e5d8b6 48%,#c8b68b 68%,#eee0b7 72%,#c4af82 85%);color:#6a5736;border:1px solid #f3e2bb;box-shadow:0 3px #9f865c,1px 5px 4px #0006,inset 0 0 0 3px #e8d7ac,inset 0 0 0 4px #b9a37c88}.black{background:radial-gradient(circle at 40% 34%,#4b4b3e 5%,#30362c 48%,#172018 68%,#424937 73%,#1e291e 85%);color:#d2d5be;border:1px solid #4c503b;box-shadow:0 3px #0d1c13,1px 5px 4px #0007,inset 0 0 0 3px #2a3325,inset 0 0 0 4px #5b63404d}.checker:after{content:"";position:absolute;top:25%;right:25%;bottom:25%;left:25%;border-radius:50%;border:1px solid #93815b44;box-shadow:inset 0 1px 2px #0001}.point.can-select:hover .checker{filter:brightness(1.2)}.point.selected-source .checker{outline:2px solid #f4cb6e;outline-offset:1px}.point.destination{background:#e8df9b40}.destination-ring{position:absolute;bottom:12%;left:50%;transform:translate(-50%);width:30px;height:30px;border:2px dashed #254f36;border-radius:50%;color:#254f36;display:flex;align-items:center;justify-content:center;z-index:10;background:#d8e3ac66;animation:destination 1.5s ease-in-out infinite}.point-bottom .destination-ring{bottom:auto;top:12%}.board-center{height:14%;display:flex;align-items:center;justify-content:space-around;gap:80px;min-height:35px;position:relative}.board-signature{font-family:Manrope,sans-serif;font-size:11px;font-weight:700;color:#694a2c44;letter-spacing:-.6px}.board-signature:last-child{font-size:7px;letter-spacing:1.5px}.board-dice{position:absolute;display:flex;align-items:center;gap:12px;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;margin-left:-105px}.dice{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);width:36px;height:36px;gap:3px;padding:7px;border-radius:6px;flex-shrink:0;background:linear-gradient(120deg,#fff4d9,#d9c8a4);box-shadow:1px 3px #b3a382,2px 5px 7px #0004;border:1px solid #f1dfb8;transform:rotate(-9deg)}.dice:nth-child(2){transform:rotate(13deg)}.dice i{display:block;border-radius:50%}.dice .pip{background:#3a4231;box-shadow:inset 0 1px 1px #0008}.dice.used{opacity:.48}.dice.rolling{animation:diceRoll .15s linear infinite}.board-bar{position:absolute;top:-2px;bottom:-2px;left:calc(50% - 13px);width:26px;background:repeating-linear-gradient(90deg,transparent 0 4px,#1c100622 5px,transparent 7px),linear-gradient(90deg,#624329,#94714b 38%,#7e5937 75%,#57391f);box-shadow:-2px 0 2px #0004,2px 0 2px #0004;display:flex;flex-direction:column;align-items:center;justify-content:space-around;padding:12% 0;z-index:2}.hinge{position:absolute;left:7px;width:12px;height:27px;background:linear-gradient(90deg,#9c7f46,#d6b77b,#a88b4e 65%,#705830);border-radius:2px;box-shadow:0 0 2px #0006,inset 0 7px #ffffff09,inset 0 -7px #0001}.hinge:after{content:"";position:absolute;top:12px;right:0;bottom:12px;left:0;border-bottom:1px solid #60482477}.hinge-top{top:-6px}.hinge-bottom{bottom:-6px}.bar-stack{background:none;width:24px;height:35px;box-shadow:none;border:0;font-size:11px}.bar-stack.has-checkers{width:29px;height:29px;border-radius:50%;box-shadow:0 2px #4d3926,0 3px 3px #0005;border:1px solid #9a875c}.bar-stack.has-checkers.white{background:radial-gradient(circle at 30% 30%,#f4e8c8,#bdac83);color:#57462a}.bar-stack.has-checkers.black{background:radial-gradient(circle at 30% 30%,#4d503f,#17251a);color:#cad0b6;border-color:#4d5d42}.bar-stack.selected-source{outline:2px solid var(--gold)}.bg-sidebar{width:75px;display:flex;flex-direction:column;justify-content:space-between;gap:15px}.off-tray{padding:11px 9px;display:flex;align-items:center;flex-direction:column;border-radius:7px;border:1px solid #a6be8b26;background:#123527;flex:1;min-height:0;gap:7px;position:relative;box-shadow:inset 0 3px 8px #0002}.off-tray>span{font-size:6px;letter-spacing:1.3px;color:#9cb397}.off-tray strong{font-family:Manrope,sans-serif;font-size:18px;color:#dbc597;font-weight:500;margin-top:auto;white-space:nowrap}.off-tray small{font-size:8px;color:#92a788}.off-checkers{border:0;box-shadow:none;background:none;display:flex;flex-direction:column;gap:1px;align-self:stretch;flex:1}.off-checkers i{display:block;width:100%;height:5px;background:#2b3924;border:1px solid #67724a;border-radius:2px;flex-shrink:1}.off-checkers.white i{background:#ddcea5;border-color:#f1deab}.off-available{border-color:var(--gold);box-shadow:0 0 20px #e2bf7733}.off-available>span{color:var(--gold)}.off-tray .collect-label{position:absolute;bottom:40px;display:flex;align-items:center;gap:2px;font-size:6px;letter-spacing:0;background:#1b402e;padding:4px}.bg-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:7px 0 0;min-height:94px;flex-shrink:0}.bg-bottom .player-badge{min-width:154px}.bg-turn-info{flex:1;text-align:center;max-width:430px}.bg-turn-info .eyebrow{justify-content:center;letter-spacing:2px;font-size:8px}.bg-turn-info p{font-size:10px;color:#b4c7ac;margin-top:8px;line-height:1.6}.bg-buttons{display:flex;align-items:center;gap:10px}.roll-button{min-width:168px;gap:17px;min-height:48px;padding:0 17px;font-size:11px}.roll-button .dice{width:23px;height:23px;padding:4px;gap:2px;border-radius:4px;background:#f1d69f;border-color:#aa8b51;box-shadow:none}.roll-button .dice .pip{background:#6a593b;box-shadow:none}.undo-button{width:32px;height:32px}.undo-button:disabled{opacity:.2}.remaining-dice{display:flex;align-items:center;justify-content:center;gap:4px;font-size:8px;color:#95ac8d;margin-top:7px}.remaining-dice span{display:grid;place-items:center;width:15px;height:15px;border:1px solid #c1c68d44;color:#e0c592;border-radius:3px;font-size:9px}.modal{border:1px solid #6c806044;border-radius:15px;background:radial-gradient(ellipse at 50% 0,#294d37,#18392c 80%);color:#eef1df;padding:29px;width:430px;max-width:calc(100vw - 36px);max-height:calc(100svh - 32px);box-shadow:0 35px 100px #0006;overflow:auto}.modal::backdrop{background:#041c17b8;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.modal[open]{animation:modalIn .22s ease-out}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.modal-heading h2{font-family:Manrope,sans-serif;font-size:24px;font-weight:500;letter-spacing:-1px}.modal-heading .icon-btn{width:32px;height:32px;flex-shrink:0}.modal-subtitle{font-size:12px;color:#acbfa4;line-height:1.8;margin-top:13px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 0;border-bottom:1px solid #bdc9a51a}.setting-row strong{font-size:13px;font-weight:500}.setting-row p{font-size:10px;color:#9fb495;margin-top:6px}.toggle{width:40px;height:24px;border-radius:20px;display:flex;align-items:center;position:relative;padding:3px;background:#0f2a20;border:1px solid #71865c5c;flex-shrink:0;min-height:30px}.toggle i{width:18px;height:18px;border-radius:50%;background:#97ab89;transition:transform .2s}.toggle.on{background:#cdb47b;border-color:#ebce90}.toggle.on i{background:#26432c;transform:translate(15px)}.settings-note{display:flex;align-items:center;gap:12px;padding:23px 0;color:#b4c4a4;font-size:10px;line-height:1.9}.settings-note svg{color:var(--gold)}.modal-primary{width:100%;margin-top:18px;justify-content:space-between;min-height:47px}.rule-tabs{display:flex;gap:5px;margin-top:23px;border-bottom:1px solid #bbcda51c;padding-bottom:13px}.rule-tabs button{background:transparent;padding:9px 13px;min-height:36px;color:#a6b99b;border-radius:5px;font-size:10px}.rule-tabs button.active{color:#edce91;background:#a79a5c17;box-shadow:inset 0 0 0 1px #ceb77a33}.rule-tabs button:disabled{opacity:.4}.rule-step{display:flex;gap:16px;margin:22px 0}.rule-step>span{font-size:10px;color:#d5b476;font-family:Manrope,sans-serif;padding-top:2px}.rule-step h3{font-size:12px;font-weight:550;margin-bottom:6px}.rule-step p{font-size:10px;line-height:1.9;color:#aabe9f}.rule-note{border-left:2px solid #b39f6655;padding:5px 12px;font-size:9px;color:#b4c6a4;line-height:1.8}.modal-buttons{display:flex;gap:12px;margin-top:27px;justify-content:space-between}.modal-buttons button{flex:1;padding:0 12px;gap:10px;font-size:10px}.result-modal{text-align:center}.result-modal .modal-heading{text-align:left}.result-trophy{margin:22px auto 15px;width:93px;height:93px;border-radius:50%;display:grid;place-items:center;color:var(--gold);background:radial-gradient(ellipse,#d8b77415,transparent 80%);border:1px solid #c6b16b22}.result-title{font-size:22px;letter-spacing:-.6px;font-family:Manrope,sans-serif;font-weight:500}.round-results{margin-top:20px}.round-results>div{display:flex;justify-content:space-between;border-bottom:1px solid #b7cc9e16;padding:9px 0;font-size:11px;color:#b7c7ac}.round-results strong{font-weight:500;color:var(--gold)}.result-lobby{justify-content:center;margin:8px auto 0}.toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:20px;background:#e6d5ab;color:#25412d;border:1px solid #fff0c9;padding:12px 17px;border-radius:7px;box-shadow:0 6px 20px #0003;z-index:20;font-size:11px;max-width:90vw;width:max-content;animation:modalIn .2s ease-out}.toast button{background:none;display:grid;place-items:center;padding:3px;color:#25412d}.rotate-hint{display:none}@keyframes tileDrop{0%{opacity:0;translate:0 -15px}to{opacity:1;translate:0 0}}@keyframes deal{0%{opacity:0;translate:0 25px}to{opacity:1;translate:0 0}}@keyframes modalIn{0%{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}@keyframes thinking{50%{opacity:.3}}@keyframes deckGlow{50%{box-shadow:0 0 30px #e9c17014}}@keyframes diceRoll{50%{transform:rotate(25deg) translateY(-9px)}}@keyframes destination{50%{background:#edf2bd99}}@media(min-width:1600px){.lobby-main{min-height:calc(100svh - 211px)}.topbar{height:116px}.lobby-footer{height:95px}.card-art{height:290px}.art-tiles .tile{width:75px;height:105px}.art-tiles .tile-number{font-size:47px}.mini-board{width:195px;height:150px}.card-copy h2{font-size:28px}.mode-card{padding:24px}.card-copy>p{font-size:12px}.card-meta{font-size:10px}.lobby-intro>p{font-size:15px}.play-strip>div{font-size:12px}.section-label{font-size:11px}}@media(max-width:1100px){.topbar{padding:0 4%;height:84px}.header-note{font-size:10px}.guest{margin-left:8px;padding-left:17px}.lobby-main{padding:40px 4% 35px;gap:3%;grid-template-columns:.76fr 2.35fr;min-height:calc(100svh - 154px)}.lobby-intro h1{font-size:43px;letter-spacing:-2px}.lobby-intro>p{font-size:11px}.mode-card{padding:16px 14px}.mode-cards{gap:10px}.card-copy h2{font-size:22px}.card-copy>p{font-size:8px}.card-top{gap:5px}.card-tag,.popular{font-size:5.5px;letter-spacing:1px}.card-art{height:200px}.art-tiles .tile{width:54px;height:78px}.art-tiles .tile-number{font-size:34px}.mini-board{width:145px;height:116px;padding:8px}.mini-point{width:19px}.mini-checker{width:14px;height:14px}.mc-1{top:20px}.mc-2{top:35px}.mc-4{bottom:20px}.mc-5,.mc-6,.mc-7{left:41px}.mc-6{bottom:20px}.mc-7{bottom:35px}.lobby-footer{height:70px;margin:0 4%}.intro-bottom{margin-top:30px;gap:10px}.intro-bottom>span{font-size:8px}.play-strip>div{font-size:9px}.play-button{min-width:161px;font-size:11px}.chosen-tick{right:8px;top:9px;width:15px;height:15px}.chosen .popular{margin-right:5px;font-size:5px}.card-meta{margin-top:20px;font-size:8px}.okey-table{gap:60px;left:17%;right:17%}.rack-area{left:6%;right:6%;height:195px}.okey-table{bottom:215px}.rack-tiles .tile{height:66px}.rack-101 .rack-tiles .tile{height:57px}.wood-rack{min-height:105px;padding:12px 10px}.side-player{width:110px}.backgammon-area{padding:12px 5% 15px}.bg-board{padding:14px 18px}.bg-sidebar{width:60px}.bg-content{gap:12px}.checker{width:3.9vw}.checker{top:calc(var(--stack) * 2.55vw)}.point-bottom .checker{bottom:calc(var(--stack) * 2.55vw)}.bg-bottom{gap:12px}.bg-bottom .player-badge{min-width:135px}.bg-turn-info p{font-size:9px}.bg-buttons{gap:4px}.roll-button{min-width:148px;font-size:10px}.header-actions{gap:3px}.bg-turn-info{max-width:310px}.bg-bottom .avatar{width:39px;height:39px}}@media(max-height:760px)and (min-width:1000px){.home-screen .topbar{height:86px}.lobby-main{min-height:calc(100svh - 151px);padding-top:35px;padding-bottom:35px}.card-art{height:210px}.lobby-footer{height:65px}.lobby-intro h1{font-size:53px}.lobby-intro>p{margin-top:20px}.intro-bottom{margin-top:29px}.game-screen .topbar{height:62px}.play-area{height:calc(100svh - 62px)}.backgammon-area{padding-top:10px;gap:10px}.bg-bottom{min-height:83px}.bg-board{padding-top:15px;padding-bottom:15px}.checker{width:38px;top:calc(var(--stack) * 25px)}.point-bottom .checker{bottom:calc(var(--stack) * 25px)}.rack-area{height:185px}.okey-table{bottom:208px}.rack-info{padding-bottom:12px}.rack-tiles .tile{height:65px}.rack-101 .rack-tiles .tile{height:58px}.wood-rack{min-height:101px}.game-tip{margin-top:20px}}@media(max-height:580px)and (orientation:landscape){.topbar,.home-screen .topbar{height:62px;padding:0 4%}.brand>span{font-size:30px}.brand>svg{width:32px;height:32px}.header-note{display:none}.guest{padding-left:15px;margin-left:10px}.guest strong{font-size:10px}.guest div>span{font-size:8px}.guest .avatar{width:30px;height:30px}.icon-btn{width:36px;height:36px}.lobby-main{padding:25px 4% 20px;min-height:calc(100svh - 109px);grid-template-columns:.7fr 2.3fr;gap:3.5%}.lobby-intro .eyebrow{font-size:7px;letter-spacing:2px;gap:7px}.eyebrow>span{width:15px}.lobby-intro h1{font-size:36px;letter-spacing:-1.8px;margin-top:16px;line-height:1.17}.lobby-intro>p{font-size:9px;line-height:1.7;margin-top:15px}.intro-bottom{margin-top:19px;gap:10px}.avatar-stack .avatar{width:24px;height:24px}.intro-bottom>span{font-size:7px}.section-label{font-size:7px;margin-bottom:10px;letter-spacing:1.5px}.offline-label{font-size:7px;letter-spacing:0}.mode-card{padding:11px 12px 12px;border-radius:9px}.mode-cards{gap:9px}.card-top{height:12px}.card-index{font-size:7px}.card-tag,.popular{font-size:5px;letter-spacing:.8px}.chosen .popular{font-size:4.5px}.chosen-tick{width:13px;height:13px;right:6px;top:8px}.chosen-tick svg{width:10px;height:10px}.card-art{height:clamp(96px,29vh,145px)}.card-art:before{width:100px;height:100px}.art-tiles .tile{width:43px;height:61px;margin-left:-13px;border-radius:4px;box-shadow:1px 3px #b2a38b,2px 5px #766953,5px 13px 13px #0005}.art-tiles .tile-number{font-size:29px}.art-tiles .tile-corner{font-size:6px;top:3px;left:4px}.art-tiles .tile-mark{bottom:4px}.art-tiles .tile-mark i{width:3px;height:3px}.art-run .tile{margin-left:-9px}.card-copy h2{font-size:18px;letter-spacing:-.5px}.card-copy>p{font-size:7px;margin-top:5px;letter-spacing:-.15px}.card-meta{font-size:6.5px;margin-top:11px;padding-top:9px;gap:5px}.card-meta svg{width:15px;height:15px}.mini-board{width:116px;height:90px;padding:6px;box-shadow:2px 3px #4d3020,3px 5px #362117,6px 12px 15px #0007}.mini-point{width:16px}.mini-checker{width:11px;height:11px;left:4px;top:3px}.mc-1{top:15px}.mc-2{top:27px}.mc-3,.mc-4{left:auto;right:4px;top:auto;bottom:3px}.mc-4{bottom:15px}.mc-5,.mc-6,.mc-7{left:33px;top:auto;bottom:3px}.mc-6{bottom:15px}.mc-7{bottom:27px}.play-strip{margin-top:13px}.play-strip>div{font-size:7px;gap:7px}.play-strip>div svg{width:15px;height:15px}.play-button{min-height:37px;min-width:139px;font-size:9px;padding:0 16px;gap:20px;border-radius:5px}.play-button svg{width:16px}.lobby-footer{height:47px;margin:0 4%;font-size:6px;letter-spacing:1.2px}.lobby-footer .text-button{font-size:8px;gap:5px}.lobby-footer .text-button svg{width:13px}.footer-right{font-size:7px}.game-screen .topbar{height:48px;padding:0 3%}.table-title{font-size:10px;gap:8px}.table-title>span:last-child{font-size:8px}.back-button{font-size:10px}.header-actions .icon-btn{width:33px;height:33px}.header-actions .icon-btn svg{width:17px;height:17px}.play-area{height:calc(100svh - 48px)}.opponent-top{top:8px;gap:5px}.opponent-top .avatar{width:28px;height:28px}.opponent-top .player-badge{padding:3px 10px 3px 3px;min-width:135px;gap:7px}.player-badge strong{font-size:9px}.player-badge div>span:not(.avatar):not(.turn-dot){font-size:7px;margin-top:3px}.bot-label{font-size:5px}.opponent-rack{border-bottom-width:4px;gap:1px}.opponent-rack i{width:8px;height:13px}.side-player{top:24%;width:90px}.side-player .player-badge{padding:8px 3px;gap:5px}.side-player .player-badge .avatar{width:38px;height:38px}.side-player .player-badge strong{font-size:9px}.side-player .player-badge .bot-label{top:36px;left:calc(50% + 9px);font-size:4px}.side-caption{font-size:6px;margin-top:4px}.side-left{left:2%}.side-right{right:2%}.okey-table{top:45px;bottom:154px;left:16%;right:16%;gap:54px;min-height:90px}.table-watermark{top:5%}.table-watermark .brand>span{font-size:21px}.table-watermark .brand>svg{width:24px;height:24px}.table-watermark>span{font-size:5px;letter-spacing:2px}.deck-center{margin-top:25px;gap:13px;transform:scale(.75)}.discard-zone{margin-top:36px;gap:8px;transform:scale(.75)}.discard-zone>span{font-size:7px}.table-status{bottom:-1px;font-size:8px;padding:5px 11px;gap:5px}.rack-area{height:142px;left:7%;right:7%}.rack-info{padding:0 6px 9px;gap:8px}.self-label{min-width:100px;gap:5px}.self-label .avatar{width:23px;height:23px}.self-label strong{font-size:9px}.self-label>span:last-child{font-size:7px}.hand-status{font-size:8px;gap:7px}.gold-text{font-size:12px}.gold-text small{font-size:7px}.chip{font-size:6px;padding:3px 7px;min-height:21px}.opened-label{font-size:7px}.rack-tools{gap:12px}.tool-btn{font-size:7px;min-height:23px;gap:5px}.tool-btn svg{width:13px;height:13px}.rack-row{gap:12px}.wood-rack{padding:8px 10px 12px;min-height:75px;border-radius:5px 5px 2px 2px;box-shadow:0 6px #422e1d,0 9px #2c2218,0 15px 14px #0005,inset 0 1px 1px #f5db8a66,inset 0 5px 6px #30210e88}.rack-tiles{min-height:54px;gap:3px;padding-bottom:2px}.rack-tiles .tile{height:52px;max-width:37px;border-radius:4px}.rack-tiles .tile-number{font-size:25px}.rack-tiles .tile-corner{font-size:5px;left:3px;top:3px}.rack-tiles .tile-mark{bottom:5px}.rack-tiles .tile-mark i{width:3px;height:3px}.rack-tiles .tile.selected{transform:translateY(-10px) rotate(-2deg)}.rack-lip{height:12px}.rack-lip:after{font-size:6px;line-height:9px;right:10px}.rack-actions{min-width:114px;gap:6px}.discard-button{min-height:37px;font-size:8px;padding:0 12px;gap:10px}.discard-button svg{width:16px}.open-button{min-height:30px;font-size:8px;gap:7px}.open-button svg{width:13px}.game-tip{margin-top:17px;font-size:7px}.rack-101 .rack-tiles{gap:2px;min-height:49px}.rack-101 .rack-tiles .tile{height:48px;border-radius:3px}.rack-101 .rack-tiles .tile-number{font-size:19px;letter-spacing:-1px}.rack-101 .rack-tiles .tile-corner{font-size:4px;left:2px;top:2px}.rack-101 .rack-tiles .tile-mark{bottom:4px}.game-help{bottom:11px;right:2%;width:26px;height:26px}.game-help svg{width:15px}.meld-table{top:3px;right:3%;bottom:30px;left:3%;gap:7px 9px;padding:4px;border-radius:10px}.table-meld{padding:3px 3px 5px;min-height:32px;gap:1px}.table-meld .tile-small{width:20px;height:28px}.table-meld .tile-number{font-size:15px}.table-meld .tile-corner{font-size:3px}.table-meld .tile-mark{bottom:2px}.table-meld .tile-mark i{width:2px;height:2px}.okey-table:has(.meld-table)>.deck-center{right:-14%;bottom:30px;transform:scale(.55)}.okey-table:has(.meld-table)>.discard-left{left:-14%;bottom:30px;transform:scale(.55)}.backgammon-area{padding:6px 6% 10px;gap:6px}.bg-player-top .player-badge{padding:2px 10px 2px 2px;min-width:117px;gap:6px}.bg-player-top .avatar{width:27px;height:27px}.bg-match-label{font-size:6px;letter-spacing:1.5px}.bg-player-top>.text-button{min-height:30px;font-size:7px;padding:5px 0}.bg-player-top>.text-button svg{width:13px;height:13px}.bg-content{gap:10px}.bg-board{padding:9px 13px;border-radius:6px;min-height:140px;box-shadow:0 3px #4e321f,0 5px #281f16,0 12px 20px #0004}.bg-inside{border-width:1px}.points-row{grid-template-columns:repeat(6,1fr) 20px repeat(6,1fr)}.board-bar{width:20px;left:calc(50% - 10px)}.hinge{left:5px;width:10px;height:20px}.hinge-top{top:-4px}.hinge-bottom{bottom:-4px}.hinge:after{top:9px;right:0;bottom:9px;left:0}.bar-stack{width:19px;height:21px;font-size:8px}.bar-stack.has-checkers{width:22px;height:22px}.point-number{font-size:6px;line-height:11px}.triangle{top:4px;height:93%}.point-bottom .triangle{bottom:4px}.checkers{top:11px;right:0;bottom:0;left:0}.point-bottom .checkers{top:0;right:0;bottom:11px;left:0}.checker{width:26px;top:calc(var(--stack) * 13px);box-shadow:0 2px #99815d,0 3px 3px #0004}.checker.black{box-shadow:0 2px #0d1c13,1px 3px 3px #0006,inset 0 0 0 2px #2a3325,inset 0 0 0 3px #5b63404d}.checker.white{box-shadow:0 2px #9f865c,1px 3px 3px #0005,inset 0 0 0 2px #e8d7ac,inset 0 0 0 3px #b9a37c88}.point-bottom .checker{bottom:calc(var(--stack) * 13px)}.destination-ring{width:21px;height:21px;border-width:1px}.destination-ring svg{width:13px}.board-center{min-height:22px;gap:50px}.board-signature{font-size:8px}.board-signature:last-child{font-size:5px;letter-spacing:1px}.board-dice{gap:9px;margin-left:-80px}.dice{width:26px;height:26px;gap:2px;padding:5px;border-radius:5px;box-shadow:1px 2px #b3a382,1px 3px 5px #0004}.bg-sidebar{width:48px;gap:8px}.off-tray{padding:7px 5px;gap:4px;border-radius:5px}.off-tray>span{font-size:5px;letter-spacing:.5px}.off-tray strong{font-size:13px}.off-tray small{font-size:6px}.off-checkers i{height:3px;border-width:.5px}.bg-bottom{min-height:61px;padding-top:2px;gap:10px}.bg-bottom .player-badge{padding:4px;min-width:108px;gap:7px}.bg-bottom .avatar{width:30px;height:30px}.bg-turn-info{max-width:330px}.bg-turn-info .eyebrow{font-size:6px;letter-spacing:1.7px}.bg-turn-info p{font-size:7px;line-height:1.5;margin-top:4px}.remaining-dice{font-size:6px;gap:3px;margin-top:4px}.remaining-dice span{width:12px;height:12px;font-size:7px}.bg-buttons{gap:5px}.roll-button{min-width:125px;min-height:36px;font-size:8px;gap:12px;padding:0 12px}.roll-button .dice{width:20px;height:20px;padding:3px}.undo-button{width:27px;height:27px}.undo-button svg{width:15px}.modal{padding:23px;width:470px}.modal-heading h2{font-size:22px}.modal-subtitle{font-size:11px}.rule-tabs{margin-top:12px;padding-bottom:7px}.rule-step{margin:13px 0;gap:12px}.rule-step h3{font-size:11px;margin-bottom:4px}.rule-step p{font-size:9px;line-height:1.7}.rule-note{font-size:8px;padding:3px 10px}.modal-primary{min-height:39px;font-size:10px;margin-top:13px}.setting-row{padding:15px 0}.settings-note{padding:15px 0;font-size:9px}.result-trophy{margin:12px auto 8px;width:60px;height:60px}.result-trophy svg{width:30px;height:30px}.result-title{font-size:18px}.round-results{margin-top:12px;display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.round-results>div{font-size:9px;padding:7px 0}.result-lobby{font-size:9px;padding:7px 0;min-height:30px}.toast{bottom:10px;padding:10px 14px;font-size:9px}}@media(max-height:410px)and (orientation:landscape){.topbar,.home-screen .topbar{height:52px}.lobby-main{min-height:calc(100svh - 92px);padding-top:17px;padding-bottom:15px}.card-art{height:99px}.lobby-intro h1{font-size:32px;margin-top:12px}.lobby-intro>p{font-size:8px;margin-top:12px}.intro-bottom{margin-top:14px}.lobby-footer{height:40px}.mode-card{padding:10px}.play-strip{margin-top:10px}.play-button{min-height:33px}.game-screen .topbar{height:44px}.play-area{height:calc(100svh - 44px)}.opponent-top{top:5px}.rack-area{height:132px}.rack-info{padding-bottom:7px}.okey-table{bottom:143px;top:40px}.opponent-rack{display:none}.deck-center,.discard-zone{margin-top:25px;scale:.9}.table-watermark{top:1%}.table-status{font-size:7px}.rack-tiles .tile{height:48px}.rack-tiles{min-height:50px}.wood-rack{min-height:71px}.rack-101 .rack-tiles .tile{height:45px}.rack-101 .rack-tiles{min-height:47px}.game-tip{margin-top:15px}.backgammon-area{padding:5px 6% 7px;gap:5px}.bg-player-top .player-badge{min-height:28px}.bg-player-top .avatar{width:23px;height:23px}.bg-player-top .text-button{min-height:27px}.bg-bottom{min-height:55px}.checker{width:23px;top:calc(var(--stack) * 11px)}.point-bottom .checker{bottom:calc(var(--stack) * 11px)}.bg-board{padding:8px 12px}.bg-turn-info p{font-size:6.5px}.bg-turn-info .eyebrow{font-size:5px}.remaining-dice{margin-top:3px}}@media(orientation:portrait)and (max-width:600px){.rotate-hint{display:flex;position:fixed;top:0;right:0;bottom:0;left:0;background:radial-gradient(ellipse at 50% 40%,#28513b,#102b25 70%);z-index:100;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px}.rotate-hint svg{color:var(--gold);transform:rotate(90deg);margin-bottom:30px}.rotate-hint strong{font-family:Manrope,sans-serif;font-size:26px;font-weight:500;letter-spacing:-1px}.rotate-hint p{font-size:13px;line-height:1.8;color:#a7bea5;margin-top:14px}.rotate-hint>span{position:absolute;bottom:55px;font-size:10px;letter-spacing:2px;color:#a0b295}.app{height:100svh;min-height:0}.modal{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.mode101-area .rack-area{height:278px}.mode101-area .okey-table{bottom:300px}.rack-101 .rack-tiles{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));grid-template-rows:repeat(2,63px);gap:10px 5px;justify-items:center;max-width:650px;margin:auto;min-height:136px}.rack-101 .rack-tiles .tile{width:100%;max-width:48px;height:63px}.rack-101 .rack-tiles .tile-number{font-size:29px}.rack-101 .rack-tiles:before{content:"";position:absolute;top:80px;left:10px;right:10px;height:6px;background:linear-gradient(#ab8254,#694729);border-top:1px solid #d3b27c66;box-shadow:0 3px 3px #0003;z-index:1;pointer-events:none}.rack-101 .wood-rack{min-height:166px}.rack-101 .tile:nth-child(n+12){z-index:2}.chip:disabled{opacity:.55}.game-screen .topbar{padding-left:max(3%,env(safe-area-inset-left));padding-right:max(3%,env(safe-area-inset-right))}.side-left{left:max(2%,env(safe-area-inset-left))}.side-right{right:max(2%,env(safe-area-inset-right))}@media(max-height:760px)and (min-width:1000px){.mode101-area .rack-area{height:250px}.mode101-area .okey-table{bottom:270px}.rack-101 .rack-tiles{grid-template-rows:repeat(2,54px);gap:9px 5px;min-height:117px}.rack-101 .rack-tiles .tile{height:54px}.rack-101 .wood-rack{min-height:147px}.rack-101 .rack-tiles:before{top:70px}}@media(max-height:580px)and (orientation:landscape){.mode101-area .rack-area{height:194px}.mode101-area .okey-table{bottom:203px}.rack-101 .rack-tiles{grid-template-rows:repeat(2,43px);gap:7px 4px;min-height:93px;max-width:480px}.rack-101 .rack-tiles .tile{height:43px;max-width:35px;width:100%}.rack-101 .rack-tiles .tile-number{font-size:23px;letter-spacing:-1px}.rack-101 .rack-tiles .tile-corner{font-size:5px;left:3px}.rack-101 .wood-rack{min-height:113px;padding:8px 12px 12px}.rack-101 .rack-tiles:before{top:55px;left:8px;right:8px;height:4px}.mode101-area .table-watermark,.mode101-area .opponent-top .opponent-rack{display:none}.mode101-area .deck-center,.mode101-area .discard-zone{margin-top:12px;scale:.8}.mode101-area .game-tip{margin-top:17px}.mode101-area .table-status{font-size:7px;padding:4px 9px;bottom:-5px}}@media(max-height:410px)and (orientation:landscape){.mode101-area .rack-area{height:185px}.mode101-area .okey-table{top:35px;bottom:195px}.rack-101 .rack-tiles{grid-template-rows:repeat(2,41px);min-height:89px}.rack-101 .rack-tiles .tile{height:41px}.rack-101 .wood-rack{min-height:109px}.rack-101 .rack-tiles:before{top:53px}.mode101-area .side-player{top:16%}}@media(max-height:580px)and (orientation:landscape){.mode101-area .draw-label{display:none}}@media(max-height:410px)and (orientation:landscape){.lobby-main{padding-top:13px;padding-bottom:11px}}.game-screen:has(.okey-studio){background:radial-gradient(ellipse at 50% 20%,#183f51,#091e2b 80%)}.game-screen:has(.okey-studio) .topbar{background:#0b2131b0}.game-screen:has(.okey-studio) .play-area{width:min(1440px,calc(100% - 48px));height:min(780px,calc(100svh - 110px));margin:18px auto}.okey-studio{--felt: #205b73;--felt-dark: #123b50;--table-ink: #e1eef0;--tile-w: 48px;--tile-h: 65px;height:100%;display:grid;grid-template-rows:64px minmax(0,1fr) auto;gap:10px;padding:14px 22px 12px;border:1px solid #719aa14d;border-radius:28px;color:var(--table-ink);background:radial-gradient(ellipse at 50% 35%,var(--felt),var(--felt-dark));box-shadow:0 0 0 5px #172a32,0 0 0 7px #64716c60,0 20px 50px #0006,inset 0 2px 3px #a7dddf22;position:relative;isolation:isolate}.okey-studio:before{content:"";position:absolute;top:8px;right:8px;bottom:8px;left:8px;border:1px dashed #c1e9e519;border-radius:22px;pointer-events:none;z-index:-1;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Cpath d='M0 1h6M1 0v6' stroke='%23fff' stroke-opacity='.025'/%3E%3C/svg%3E")}[data-table-theme=forest] .okey-studio{--felt: #2c654c;--felt-dark: #163c30}[data-table-theme=forest].game-screen:has(.okey-studio){background:radial-gradient(ellipse at 50% 20%,#254e39,#102b23 80%)}.studio-top{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:start;gap:12px;min-height:0}.studio-caption{padding-top:7px;display:flex;flex-direction:column;gap:9px}.studio-label{font-size:10px;font-weight:700;letter-spacing:2.5px;color:#d6e5de}.studio-caption>span:last-child{display:flex;align-items:center;gap:7px;font-size:11px;color:#c2d6da}.studio-caption i{width:3px;height:3px;border-radius:50%;background:#c5ab76}.studio-turn{display:grid;grid-template-columns:7px auto;column-gap:8px;row-gap:5px;justify-self:end;padding:9px 13px;border:1px solid #badcdd23;border-radius:10px;background:#051e3144;min-width:155px}.studio-turn .live-dot{align-self:center;width:6px;height:6px;background:#89afbe;box-shadow:none}.studio-turn .your-dot{background:#f2d289;box-shadow:0 0 10px #ffe19d66}.studio-turn strong{font-size:12px}.studio-turn small{grid-column:2;font-size:10px;color:#c0d1d5}.studio-seat{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:10px;min-width:0}.okey-studio .player-badge{background:#08273866;border-radius:13px;min-width:0;padding:7px;gap:7px}.okey-studio .player-badge.active{border-color:#e5c481;background:#35566b;box-shadow:0 0 22px #f8dc6a16}.okey-studio .player-badge .avatar{width:36px;height:36px}.okey-studio .player-badge strong{font-size:12px}.okey-studio .player-badge div>span:not(.avatar):not(.turn-dot){font-size:10px;color:#c5d9df;margin-top:3px}.okey-studio .bot-label{display:none}.seat-top{gap:6px;position:relative}.seat-top .player-badge{min-width:150px}.seat-rack{display:flex;gap:2px;padding:3px 4px 4px;background:linear-gradient(#a9804d,#5e462e);border-radius:2px;box-shadow:0 3px 2px #0004}.seat-rack i{width:7px;height:14px;background:linear-gradient(110deg,#f9f1de,#cfc7b4);border-radius:1px;box-shadow:0 1px #998567}.top-discard{position:absolute;left:calc(50% + 92px);top:8px;transform:rotate(8deg)}.studio-arena{display:grid;grid-template-columns:110px minmax(0,1fr) 110px;gap:12px;min-height:0}.seat-discard{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:12px}.seat-discard>span{font-size:8px;letter-spacing:1.5px;color:#c2d8de}.seat-discard .tile{width:40px;height:55px}.seat-discard .tile-number{font-size:27px}.discard-placeholder{width:40px;height:55px;border:1px solid #a8ced42e;border-radius:5px;background:#05283d33}.take-available .tile{outline:2px solid #f1d38e;outline-offset:3px}.take-available>span{color:#ffdf9f}.studio-board{min-height:0;display:grid;grid-template-rows:minmax(0,1fr) 75px;gap:9px}.playing-felt{min-height:0;border:1px solid #a2d6dc20;border-radius:18px;box-shadow:inset 0 3px 20px #00223220;background:linear-gradient(125deg,#082c3c20,#a9dbd606);overflow:hidden}.table-centrepiece{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#d9e3d555}.table-centrepiece .brand{color:#d9e3d56b;transform:scale(1.05)}.table-centrepiece>span{margin-top:9px;font-size:8px;letter-spacing:5px}.table-centrepiece p{font-size:11px;color:#d1e0db9c;margin:13px 0 0}.stack-landscape{display:flex;gap:12px;margin:28px 0 5px;transform:rotate(-4deg)}.physical-stack{position:relative;display:flex;gap:2px;transform:translateY(calc(var(--stack-depth) * -3px))}.physical-stack i{width:20px;height:31px;border-radius:3px;background:linear-gradient(115deg,#f7f1df,#cec6b3);box-shadow:0 3px #a99778,0 5px #e0d4bb,0 8px #a99778,0 10px #d7cab2,1px 13px 5px #00192266}.draw-dock{display:flex;align-items:center;justify-content:center;gap:22px;border-radius:12px;background:#06243845;border:1px solid #a2d6dc18;padding:7px 12px}.indicator-pair{display:flex;gap:13px}.indicator-pair>div{display:flex;align-items:center;gap:7px}.indicator-pair>div>span{font-size:8px;letter-spacing:.8px;color:#c6d6d7;writing-mode:vertical-rl;transform:rotate(180deg)}.stock-draw{min-width:190px;display:flex;align-items:center;gap:15px;text-align:left;padding:6px 15px;border:1px solid #8fbfc144;border-radius:8px;background:linear-gradient(#326b83,#22506a);box-shadow:0 3px #082b3e,inset 0 1px #c3e2e529}.stock-draw:disabled{opacity:.7}.stock-draw strong,.stock-draw small{display:block}.stock-draw strong{font-size:13px;font-weight:650}.stock-draw small{font-size:10px;color:#d2e1e3;margin-top:4px}.stock-draw .tile-back{width:23px;height:32px;border-width:2px}.stock-draw .tile-back .brand svg{width:16px;height:16px}.stock-ready{color:#173344;border-color:#f5db97;background:linear-gradient(#f5dfa2,#d3b56d);box-shadow:0 3px #927443,inset 0 1px #fff9,0 0 23px #edcc7220}.stock-ready small{color:#435b5b}.stock-ready:hover{filter:brightness(1.06)}.dock-note{display:flex;gap:7px;align-items:center;color:#c6d9dc}.dock-note span{font-size:10px}.dock-note small{display:block;font-size:9px;margin-top:4px;color:#a9c4cc}.studio-rack{width:min(1050px,100%);justify-self:center;min-width:0}.studio-rackbar{display:flex;align-items:center;gap:18px;margin:0 2px 9px}.rack-owner{display:flex;align-items:center;gap:8px;font-size:12px}.rack-owner .avatar{width:28px;height:28px}.rack-owner>span:last-child{font-size:10px;color:#c5d5d7}.opening-meter{display:flex;align-items:center;gap:10px;margin-right:auto}.opening-meter>span{display:flex;align-items:center;gap:4px;font-size:10px;color:#ccdce0}.opening-meter b{font-size:13px;color:#ffe0a2}.meter-track{width:80px;height:4px;border-radius:5px;background:#06243580;overflow:hidden}.meter-track i{display:block;height:100%;background:linear-gradient(90deg,#c5ab6d,#f5d990);transition:width .3s}.studio-sort{display:flex;gap:3px;border:1px solid #c6dde02c;background:#092a3e66;border-radius:8px;padding:3px}.studio-sort button{display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;color:#c7d9de;padding:7px 12px;border-radius:5px;min-height:33px;background:transparent}.studio-sort .sort-active{background:#467286;color:#fff4d7;box-shadow:inset 0 1px #c6e4e222}.pair-icon{font-weight:750;font-size:12px;letter-spacing:-2px;margin-right:2px}.studio-rackrow{display:flex;align-items:stretch;gap:17px}.okey-studio .studio-wood{flex:1;min-height:0;padding:12px 20px 18px;border-color:#c8a76e;background:repeating-linear-gradient(2deg,transparent 0 6px,#623a1712 7px,transparent 8px),linear-gradient(100deg,#926337,#bf9357 40%,#bd8e50 80%,#9b6e3e);box-shadow:0 6px #654625,0 9px #302b23,0 15px 15px #00162266,inset 0 1px #fae0a877,inset 0 6px 6px #56381855}.okey-studio .studio-wood:after{top:8px;right:10px;bottom:16px;left:10px;background:#573c2626}.studio-tiles{display:grid;grid-template-columns:repeat(15,minmax(0,var(--tile-w)));gap:4px;justify-content:center;align-items:end}.studio-101 .studio-tiles{grid-template-columns:repeat(11,minmax(0,var(--tile-w)));row-gap:8px}.rack-slot{height:var(--tile-h);min-width:0;position:relative;border-radius:4px;background:#573a151a;box-shadow:inset 0 -1px #ead4aa17}.studio-tiles .tile{width:100%;height:100%;border-radius:4px;touch-action:none;cursor:grab;transition:transform .15s,box-shadow .15s}.studio-tiles .tile-number{font-size:clamp(22px,2.5vw,34px)}.studio-tiles .tile:hover{background:linear-gradient(115deg,#fffef3,#efe1c4)}.studio-tiles .tile.selected{transform:translateY(-7px);box-shadow:0 0 0 2px #f5d38c,0 4px #b2a07d,0 8px 10px #0005;z-index:5;background:linear-gradient(115deg,#fff8da,#ebd49b)}.studio-tiles .tile-new:after{content:"YENİ";position:absolute;top:-7px;right:-2px;background:#234e69;border:1px solid #a0d9ef;color:#e7f9ff;font-size:6px;font-weight:700;letter-spacing:.5px;padding:2px 3px;border-radius:3px;z-index:6}.studio-tiles .tile-playable:before{content:"+";position:absolute;bottom:1px;right:2px;font-size:11px;font-weight:800;color:#18705b}.studio-tiles .tile-dragged{opacity:.55;cursor:grabbing;transform:translateY(-10px)}.drop-here:after{content:"";position:absolute;inset:-3px auto -3px -4px;width:3px;background:#fff1b7;box-shadow:0 0 12px #f8da77;z-index:7;border-radius:2px;pointer-events:none}.okey-studio .rack-lip{height:12px;background:linear-gradient(#dfbc7b,#b88b4d 50%,#936738);border-color:#d3b37b;border-bottom-color:#78502b}.okey-studio .rack-lip:after{display:none}.wood-engraving{position:absolute;right:15px;bottom:0;font-size:8px;font-weight:800;color:#714c2c;text-shadow:0 1px #ead09c88;z-index:4}.studio-actions{display:flex;flex-direction:column;justify-content:center;gap:9px;width:155px;flex-shrink:0}.studio-actions button{width:100%;min-height:42px;padding:9px 10px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;border-radius:9px}.studio-actions .secondary{background:linear-gradient(#38647a,#25465b);border:1px solid #b8dce436;box-shadow:0 3px #0b2b3d,inset 0 1px #dceef41a;color:#e3eef0}.studio-actions button:disabled{opacity:.4}.studio-actions .opening-ready{color:#f9dfa1;border-color:#e2c78388;background:linear-gradient(#566e68,#394f4d)}.studio-actions .studio-discard{background:linear-gradient(#efdaa3,#d0ae68);box-shadow:0 3px #917241,inset 0 1px #fff7;color:#283c3f}.rack-instructions{display:flex;align-items:center;gap:10px;margin:14px 2px 0;min-height:30px;font-size:11px;color:#cfdee0}.tile-shift{display:flex;align-items:center;gap:3px;flex-shrink:0}.tile-shift>svg{color:#9ebcc6}.tile-shift button{display:flex;align-items:center;justify-content:center;width:30px;height:30px;background:#10364c;border:1px solid #9bc6d038;border-radius:6px}.tile-shift button:disabled{opacity:.35}.drag-caption{margin-left:auto;white-space:nowrap;font-size:9px;color:#aac8d0;display:flex;gap:4px;align-items:center}.meld-quadrants{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;height:100%}.meld-quarter{padding:10px 12px;min-width:0;min-height:0;display:flex;flex-direction:column}.meld-quarter:nth-child(odd){border-right:1px solid #b9d7da18}.meld-quarter:nth-child(-n+2){border-bottom:1px solid #b9d7da18}.quarter-title{display:flex;align-items:center;gap:6px;font-size:10px;color:#d2e1e2;margin-bottom:8px}.quarter-title>span:last-child{margin-left:auto;color:#a4c0c9;font-size:8px}.owner-dot{width:5px;height:5px;border-radius:50%;background:#b99ab1}.owner-dot-1{background:#8aab9a}.owner-dot-3{background:#d6ba7c}.owner-dot-0{background:#e9ca86}.quarter-melds{display:flex;flex-wrap:wrap;align-content:flex-start;align-items:flex-start;gap:8px 12px;overflow:auto;min-height:0;padding:2px 2px 5px}.laid-meld{position:relative;display:flex;gap:2px;padding:2px;background:transparent;border:1px solid transparent;border-radius:4px}.laid-meld:disabled{cursor:default;opacity:1}.laid-meld.meld-target{border-color:#f7d78e;box-shadow:0 0 14px #f7d78e33;background:#f9dc8318}.target-plus{width:19px;height:19px;align-self:center;border-radius:50%;background:#e6cb86;color:#183b4c;font-size:17px;line-height:18px;margin:0 3px}.unopened{font-size:10px;color:#8eafb9;font-style:italic;padding-top:5px}.preview-total{display:flex;flex-direction:column;gap:9px;align-items:center;padding:16px 0 20px}.preview-total>span:first-child{font-size:9px;letter-spacing:2px;color:#a9bdac}.preview-total strong{font-size:38px;color:#e4c78c}.preview-total strong small{font-size:15px;font-weight:400}.preview-total>span:last-child{display:flex;align-items:center;gap:5px;font-size:11px;color:#bad3b3}.preview-melds{display:flex;gap:15px;flex-wrap:wrap;max-height:32svh;overflow:auto;padding:5px 0 15px;justify-content:center}.preview-melds>div{display:flex;gap:3px;position:relative;padding-bottom:22px}.preview-melds>div>span{position:absolute;bottom:0;font-size:9px;color:#b4c9b8;width:100%;text-align:center}.theme-setting{padding:18px 0;border-bottom:1px solid #9ab49920}.theme-setting>strong{font-size:13px}.theme-options{display:flex;gap:8px;margin-top:12px}.theme-option{display:flex;gap:8px;align-items:center;flex:1;min-height:44px;border:1px solid #9ab49930;border-radius:8px;padding:8px 10px;background:#0c2a23;font-size:11px;color:#cbd8c5}.theme-option i{width:19px;height:19px;border-radius:50%;background:#205b73;border:1px solid #a8cdcb66}.theme-option.forest i{background:#2c654c}.theme-option.theme-selected{border-color:#d2b879;color:#eed7a5}.theme-option svg{margin-left:auto}@media(max-height:780px){.okey-studio{--tile-w: 43px;--tile-h: 57px;grid-template-rows:53px minmax(0,1fr) auto;gap:8px;padding:10px 18px}.studio-top .player-badge{padding:4px 7px}.seat-top{gap:4px}.seat-top .seat-rack{display:none}.studio-rackbar{margin-bottom:7px}.studio-rack{width:min(950px,100%)}.studio-board{grid-template-rows:minmax(0,1fr) 65px}.table-centrepiece .brand{transform:scale(.8)}.stack-landscape{margin-top:17px}.physical-stack i{width:17px;height:23px}.table-centrepiece p{margin-top:10px}.studio-101 .studio-tiles{row-gap:6px}.rack-instructions{margin-top:12px}}@media(max-width:1100px){.studio-arena{grid-template-columns:90px minmax(0,1fr) 90px;gap:8px}.okey-studio .player-badge{gap:5px}.okey-studio .player-badge .avatar{width:30px;height:30px}.draw-dock{gap:15px}.dock-note{display:none}.studio-actions{width:135px}.drag-caption{display:none}.studio-rackrow{gap:13px}.meter-track{width:50px}}@media(max-height:580px){.game-screen:has(.okey-studio){min-height:320px}.game-screen:has(.okey-studio) .play-area{width:calc(100% - 20px);height:calc(100svh - 64px);margin:6px auto}.okey-studio{--tile-w: 35px;--tile-h: 44px;border-radius:16px;padding:6px 12px;grid-template-rows:37px minmax(0,1fr) auto;gap:5px}.okey-studio:before{top:5px;right:5px;bottom:5px;left:5px;border-radius:11px}.studio-label{font-size:8px;letter-spacing:1.6px}.studio-caption{padding-top:3px;gap:5px}.studio-caption>span:last-child{font-size:9px}.studio-turn{padding:5px 8px;min-width:125px;gap:3px 6px}.studio-turn strong{font-size:10px}.studio-turn small{font-size:8px}.okey-studio .player-badge{padding:4px 5px;border-radius:9px;gap:6px}.okey-studio .player-badge .avatar{width:24px;height:24px}.okey-studio .player-badge strong{font-size:10px}.okey-studio .player-badge div>span:not(.avatar):not(.turn-dot){font-size:8px;margin-top:2px}.seat-top .player-badge{min-width:115px}.top-discard{left:calc(50% + 67px);top:4px}.top-discard .tile{width:20px;height:28px}.top-discard .tile-number{font-size:15px}.studio-arena{grid-template-columns:75px minmax(0,1fr) 75px;gap:6px}.studio-seat{gap:5px}.seat-rack{gap:1px;padding:2px 3px}.seat-rack i{width:5px;height:9px}.seat-discard{margin-top:5px;gap:5px}.seat-discard>span{font-size:6px;letter-spacing:1px}.seat-discard .tile,.discard-placeholder{width:28px;height:38px}.seat-discard .tile-number{font-size:21px}.studio-board{grid-template-rows:minmax(0,1fr) 43px;gap:4px}.playing-felt{border-radius:10px}.table-centrepiece .brand{transform:scale(.62);height:25px}.table-centrepiece>span{font-size:6px;letter-spacing:3px;margin-top:2px}.table-centrepiece p{display:none}.stack-landscape{gap:7px;margin:12px 0 3px}.physical-stack i{width:12px;height:17px}.draw-dock{gap:16px;padding:4px 8px;border-radius:7px}.indicator-pair{gap:9px}.indicator-pair>div{gap:4px}.indicator-pair>div>span{font-size:6px}.indicator-pair .tile-small{width:21px;height:29px}.indicator-pair .tile-number{font-size:15px}.stock-draw{min-width:145px;min-height:33px;gap:8px;padding:3px 9px;border-radius:5px}.stock-draw strong{font-size:10px}.stock-draw small{font-size:8px;margin-top:2px}.stock-draw .tile-back{width:17px;height:23px}.stock-draw .tile-back .brand svg{width:11px;height:11px}.studio-rack{width:min(810px,100%)}.studio-rackbar{gap:11px;margin-bottom:5px;height:27px}.rack-owner{gap:5px;font-size:10px}.rack-owner .avatar{width:21px;height:21px}.rack-owner>span:last-child{font-size:8px}.opening-meter{gap:7px}.opening-meter>span{font-size:8px}.opening-meter b{font-size:11px}.meter-track{width:44px;height:3px}.studio-sort{padding:2px;gap:2px;border-radius:6px}.studio-sort button{padding:3px 9px;font-size:9px;min-height:23px;gap:4px;border-radius:4px}.studio-sort svg{width:12px;height:12px}.pair-icon{font-size:10px}.studio-rackrow{gap:12px}.okey-studio .studio-wood{padding:7px 12px 12px;border-radius:5px 5px 2px 2px}.okey-studio .studio-wood:after{top:5px;right:7px;bottom:10px;left:7px}.studio-tiles{gap:3px}.studio-101 .studio-tiles{row-gap:5px}.studio-tiles .tile-number{font-size:24px}.studio-tiles .tile-corner{font-size:6px;top:3px;left:3px}.studio-tiles .tile-mark{bottom:4px}.studio-tiles .tile-mark i{width:3px;height:3px}.studio-tiles .tile.selected{transform:translateY(-5px)}.studio-tiles .tile-new:after{font-size:5px;top:-5px;padding:1px 2px}.okey-studio .rack-lip{height:8px}.wood-engraving{font-size:6px;bottom:-1px}.studio-actions{width:112px;gap:6px}.studio-actions button{min-height:30px;padding:5px 6px;font-size:10px;gap:5px;border-radius:6px}.studio-actions svg{width:14px;height:14px}.rack-instructions{gap:6px;margin:9px 1px 0;min-height:22px;font-size:9px}.tile-shift{gap:2px}.tile-shift button{width:26px;height:24px;border-radius:4px}.tile-shift>svg{width:12px}.meld-quarter{padding:5px 7px}.quarter-title{font-size:8px;margin-bottom:3px;gap:4px}.quarter-title>span:last-child{font-size:6px}.quarter-melds{gap:5px 7px;padding:1px 1px 4px}.laid-meld{gap:1px;padding:1px}.laid-meld .tile-small{width:21px;height:28px}.laid-meld .tile-number{font-size:15px}.laid-meld .tile-corner{font-size:4px}.laid-meld .tile-mark{bottom:3px}.laid-meld .tile-mark i{width:2px;height:2px}.unopened{font-size:8px;padding-top:2px}.target-plus{width:13px;height:13px;font-size:12px;line-height:12px;margin:0 2px}.theme-setting{padding:10px 0}.theme-options{margin-top:8px}.preview-total{padding:5px 0 9px;gap:5px}.preview-total strong{font-size:27px}.preview-melds{padding-bottom:6px;max-height:29svh}}@media(max-height:370px){.game-screen:has(.okey-studio) .play-area{height:calc(100svh - 50px);margin:3px auto}.okey-studio{--tile-h: 37px;--tile-w: 30px;grid-template-rows:31px minmax(0,1fr) auto;gap:3px;padding:4px 10px}.studio-caption>span:last-child{display:none}.studio-turn small{display:none}.studio-turn{min-width:115px;min-height:28px;align-content:center}.studio-top .player-badge{padding:2px 5px}.studio-rackbar{height:23px;margin-bottom:4px}.studio-tiles .tile-number{font-size:21px}.studio-rackrow{gap:10px}.studio-actions button{min-height:27px;padding:3px 5px}.studio-actions{gap:5px}.rack-instructions{margin-top:8px;font-size:8px}.seat-rack,.stack-landscape{display:none}.table-centrepiece>span{margin-top:0}.studio-board{grid-template-rows:minmax(0,1fr) 38px}.draw-dock{padding:2px 6px}.stock-draw{min-height:29px}.indicator-pair .tile-small{height:25px;width:19px}}@media(prefers-reduced-motion:reduce){.studio-tiles .tile,.meter-track i{transition:none}}@media(min-height:371px)and (max-height:580px){.game-screen:has(.okey-studio) .play-area{height:calc(100svh - 50px);margin:3px auto}.okey-studio{--tile-h: 40px;grid-template-rows:31px minmax(0,1fr) auto}.studio-caption{gap:3px;padding-top:1px}.studio-turn{padding:3px 8px}.studio-rackbar{height:24px}.rack-instructions{margin-top:8px;min-height:22px}}@media(max-height:580px){.meld-quarter{flex-direction:row;gap:7px;align-items:center;padding:3px 5px}.quarter-title{flex-direction:column;align-items:flex-start;gap:3px;margin:0;min-width:46px;max-width:46px;font-size:7px}.quarter-title>.owner-dot{display:none}.quarter-title>span:last-child{margin:0}.quarter-melds{flex:1;flex-wrap:nowrap;align-items:center;height:100%;overflow-x:auto;overflow-y:hidden;padding:1px 1px 4px;gap:7px}.laid-meld{flex-shrink:0}.unopened{white-space:nowrap;font-size:7px}}.own-discard{display:flex;gap:8px;align-items:center;min-width:60px}.own-discard>span:first-child{font-size:8px;letter-spacing:1px;color:#bfd5dc;writing-mode:vertical-rl;transform:rotate(180deg)}.own-discard-empty{width:29px;text-align:center;color:#86aab8}@media(max-height:580px){.own-discard{gap:4px;min-width:40px}.own-discard>span:first-child{font-size:6px}.own-discard .tile-small{width:21px;height:29px}.own-discard .tile-number{font-size:15px}.own-discard-empty{width:21px}}.play-options{display:flex;gap:10px;align-items:center}.play-options .secondary{display:flex;align-items:center;gap:10px;padding:14px 20px;white-space:nowrap}.online-modal{max-width:480px}.online-field{display:flex;flex-direction:column;gap:8px;color:var(--muted);font-size:12px;font-weight:600;text-align:left}.online-field input{width:100%;border:1px solid #ffffff24;border-radius:10px;background:#0b252e;color:#f5f2e7;font:inherit;font-size:16px;padding:13px 14px;outline:none}.online-field input:focus{border-color:#d5b277;box-shadow:0 0 0 3px #d5b27718}.online-field input:disabled{color:#b4c0bf}.online-divider{display:flex;align-items:center;gap:12px;margin:24px 0 18px;color:var(--muted);font-size:9px;letter-spacing:1.5px}.online-divider:before,.online-divider:after{content:"";height:1px;background:#ffffff15;flex:1}.join-form{display:flex;gap:10px;align-items:end}.join-form label{flex:1;min-width:0}.join-form .secondary{height:46px;display:flex;align-items:center;gap:8px;padding:0 18px}.room-invite{border:1px solid #d5b27740;border-radius:14px;background:#d5b27708;padding:20px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px}.room-invite>span{font-size:9px;letter-spacing:2px;color:var(--muted)}.room-invite>strong{font-size:29px;letter-spacing:5px;color:#edce9e;font-variant-numeric:tabular-nums}.room-invite .text-button{font-size:11px}.room-seats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:22px 0}.room-seats>div{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0}.room-seats strong{font-size:11px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-seats span{font-size:9px;color:var(--muted)}.empty-seat{opacity:.45}.online-note{font-size:12px;color:var(--muted);line-height:1.6;text-align:center}.online-error{padding:10px 13px;color:#ffc7b8;background:#a5453926;border:1px solid #ec917633;border-radius:9px;font-size:12px;line-height:1.5}.connection-chip{font-size:10px;letter-spacing:1px;border:1px solid #ffffff20;border-radius:20px;padding:6px 10px;white-space:nowrap;color:#a5d2b6}.connection-chip.offline,.connection-chip.connecting{color:#edce9e}.online-status{position:fixed;left:50%;bottom:14px;transform:translate(-50%);z-index:45;max-width:90vw;display:flex;align-items:center;gap:10px;padding:10px 15px;border:1px solid #d5b27750;background:#102c35;box-shadow:0 6px 30px #0008;border-radius:12px;color:#efcf9f;font-size:12px}.online-status button{border:0;background:none;color:inherit;display:flex;padding:4px}@media(max-height:600px)and (orientation:landscape){.play-options{gap:8px}.play-options .secondary{padding:10px 12px;font-size:11px}.play-options .play-button{padding:10px 14px}.play-strip>div:not(.play-options){display:none}.play-strip{justify-content:flex-end}.online-modal{max-width:440px}.room-invite{padding:12px}.room-seats{margin:15px 0}.online-divider{margin:18px 0 12px}.connection-chip{font-size:8px;padding:5px 8px}.table-title>.title-divider,.table-title>.title-divider+span{display:none}}@media(prefers-reduced-motion:reduce){.online-status{transition:none}}@media(max-height:410px)and (orientation:landscape){.home-screen .topbar{height:44px}.home-screen .lobby-main{height:calc(100svh - 74px);min-height:0;padding:8px 4%;align-items:stretch}.home-screen .mode-section{display:flex;flex-direction:column;min-height:0}.home-screen .section-label{flex-shrink:0;margin-bottom:6px;font-size:6px}.home-screen .mode-cards{flex:1;min-height:0;gap:7px}.home-screen .mode-card{padding:8px;display:flex;flex-direction:column;justify-content:space-between}.home-screen .card-art{flex:1;height:64px;min-height:0;max-height:78px}.home-screen .card-copy h2{font-size:15px}.home-screen .card-copy>p{display:none}.home-screen .card-meta{padding-top:5px;margin-top:6px;font-size:6px}.home-screen .play-strip{flex-shrink:0;margin-top:8px}.play-options .secondary,.play-options .play-button{min-height:34px;height:34px;padding:0 12px;font-size:10px}.home-screen .lobby-intro{align-self:center}.home-screen .lobby-intro h1{font-size:25px;margin-top:9px}.home-screen .lobby-intro>p,.home-screen .intro-bottom{display:none}.home-screen .lobby-footer{height:30px}}
