@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900;1000&display=swap');
:root{--ink:#f4ebd5;--muted:#a4b0a9;--green:#246942;--line:#ffffff17;--gold:#e4bd6c;--red:#cf2629;--blue:#1765bb;--black:#20212a;--yellow:#d39c05;--wood:repeating-linear-gradient(2deg,#ffffff03 0px,#ffffff03 1px,#00000007 2px,#0000 5px),linear-gradient(90deg,#633917,#aa713b 15%,#9b632d 46%,#ba8547 72%,#6b3a19)}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top,#263b3d,#111e22 55%,#0b1419);color:var(--ink);font:14px Nunito,Arial,sans-serif;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.38;filter:saturate(.4)}button,a,input,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:3px solid #f8cc69;outline-offset:3px}a{color:inherit}header{height:72px;padding:0 4vw;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #8c6d3a66;background:linear-gradient(#23343a,#142328);box-shadow:0 3px 14px #0005;position:relative;z-index:8}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:30px;font-weight:1000;letter-spacing:-1.5px;text-shadow:0 2px 3px #0008}.brand-icon{background:linear-gradient(145deg,#fff8e0,#dacdb0);border:1px solid #bca37b;border-bottom:4px solid #a78a5d;color:#25563b;width:38px;height:43px;display:grid;place-items:center;font-size:17px;letter-spacing:-1px;transform:rotate(-9deg);border-radius:5px;box-shadow:3px 2px 0 #806b4e}.brand-dot{color:var(--gold)}nav{display:flex;gap:30px}.nav-link{border:0;background:none;color:#c9d1c7;font-weight:800;font-size:13px;padding:12px 0}.nav-link:hover{color:#ffdb8c}.profile{display:flex;align-items:center;gap:9px;color:#aebbb1;font-size:11px}.status-dot{width:7px;height:7px;border-radius:50%;background:#7fc278;box-shadow:0 0 7px #70b56266}.avatar{display:grid;place-items:center;width:36px;height:36px;background:linear-gradient(145deg,#b08a4c,#634624);border:2px solid #d7b977;border-radius:50%;color:#fff0c4;font-weight:900;margin-left:12px}main{max-width:1400px;margin:auto;padding:36px 4vw}.eyebrow{font-size:10px;letter-spacing:2px;color:#d7b77b;font-weight:900}h1,h2,h3,p{margin-top:0}h1{font-size:53px;line-height:1.12;letter-spacing:-2px;font-weight:1000;margin:17px 0 18px;color:#fff4d6;text-shadow:0 3px 0 #0004}h1 em{font-style:normal;font-size:35px;letter-spacing:-1px;color:#d6b776}h2{font-size:26px;letter-spacing:-.5px;font-weight:900}h3{font-size:17px;font-weight:900}p{line-height:1.7}.primary,.secondary,.subtle,.danger{display:inline-flex;align-items:center;justify-content:center;gap:16px;padding:12px 20px;border-radius:7px;font-weight:900;transition:filter .15s,transform .15s}.primary{background:linear-gradient(#81b34a,#4e872e);color:#fffbe8;border:1px solid #9abc66;border-bottom:4px solid #2c5420;text-shadow:0 1px 2px #294b20;box-shadow:0 3px 8px #0004}.primary:hover{filter:brightness(1.13);transform:translateY(-1px)}.secondary{background:linear-gradient(#3d5356,#293b40);color:#e9e6d5;border:1px solid #62716a;border-bottom:3px solid #142327;box-shadow:0 2px 5px #0003}.secondary:hover{filter:brightness(1.16)}.subtle{border:1px solid #6b775e;background:linear-gradient(#415b43,#2e4033);color:#d6e2bc;font-size:12px;padding:9px 13px}.danger{border:1px solid #bd7163;background:linear-gradient(#ac5145,#6f302e);color:#ffe6d6}.hero{display:grid;grid-template-columns:1fr 47%;gap:50px;align-items:center;padding:20px 0 36px}.hero p{font-size:14px;color:#b1bfb4}.hero-buttons{display:flex;gap:12px;margin-top:28px}.hero-art{height:280px;display:grid;place-items:center;position:relative;isolation:isolate;overflow:hidden;border:10px solid #79532b;border-radius:55% / 22%;background:radial-gradient(ellipse,#39714d,#1a4b34 75%);box-shadow:0 10px 0 #3f2b1b,0 17px 30px #0008,inset 0 0 0 3px #b9965b,inset 0 0 70px #061e1b99}.hero-art:before{content:'';position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Cpath d='M0 0h1v1H0zM2 2h1v1H2z' fill='%23fff' opacity='.06'/%3E%3C/svg%3E");z-index:-1}.art-circle{position:absolute;width:180px;height:180px;border:1px solid #d3e5bb18;border-radius:50%}.art-circle.small{width:150px;height:150px}.art-tiles{display:flex;gap:5px;transform:perspective(500px) rotateX(7deg) rotate(-6deg);filter:drop-shadow(3px 12px 5px #0005);z-index:2}.art-tiles .tile{width:54px;height:77px;font-size:40px}.art-rack{position:absolute;width:340px;height:70px;background:var(--wood);top:150px;transform:rotate(-6deg);border:2px solid #bf9865;border-radius:5px;box-shadow:0 8px 0 #523115,0 13px 14px #0005}.art-badge{position:absolute;bottom:22px;color:#cad8ab;font-size:8px;letter-spacing:1.5px;display:flex;gap:7px;align-items:center}.spark{position:absolute;top:22px;left:40px;color:#c8bd87;font-size:24px}.info-strip{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #8f805533;border-radius:10px;background:#203438aa;box-shadow:inset 0 1px #ffffff08;margin:20px 0 36px}.info-strip>div{display:flex;gap:15px;align-items:center;padding:20px}.info-strip>div+div{border-left:1px solid #ffffff0b}.info-icon{display:grid;place-items:center;color:#e6c582;font-size:23px;width:34px}.info-strip strong{display:block;font-size:12px;margin-bottom:4px;color:#e4e4cf}.info-strip small{color:#99aba0;font-size:11px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.section-head h2{margin:0;font-size:23px}.section-head p{font-size:11px;color:#9fafa3;margin:6px 0 0}.pill{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;background:#294b36;color:#d0deb0;border:1px solid #8a9d5c44;border-radius:5px;font-size:9px;white-space:nowrap;vertical-align:middle;letter-spacing:0}.lobby-controls{display:flex;gap:8px}.lobby-controls input{width:150px;text-transform:uppercase}.lobby-controls button{font-size:11px;padding:9px 13px}input,select{border:1px solid #677265;border-radius:6px;background:#18282c;color:#eee6ce;padding:10px 12px;min-width:0;outline:none}input:focus,select:focus{border-color:#d0aa64;box-shadow:0 0 0 2px #bd995028}input::placeholder{color:#93a297}.rooms{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.room-card{padding:23px;border:1px solid #75816c55;border-top:3px solid #a58c52;background:linear-gradient(135deg,#2e4445,#1d3035);border-radius:10px;box-shadow:0 5px 16px #0003}.card-top{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:19px}.card-num{font-size:10px;letter-spacing:1.5px;color:#adbaaa;font-weight:800}.room-card h3{font-size:18px;margin-bottom:15px;color:#f1e6ca}.tags{display:flex;flex-wrap:wrap;gap:6px}.tag{padding:5px 8px;background:#162b30;color:#aebaa5;border:1px solid #ffffff08;border-radius:4px;font-size:10px}.chairs{display:flex;gap:7px;align-items:center;margin:24px 0}.chair{display:grid;place-items:center;width:32px;height:32px;border:1px dashed #7d8868;border-radius:50%;color:#92a481;background:#15282a}.chair.human{background:linear-gradient(#b4945c,#6e532c);color:#ffeabb;border:2px solid #c9ad73}.chairs small{margin-left:auto;color:#94a691;font-size:9px}.card-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #ffffff10;padding-top:15px}.card-bottom>span{font-size:10px;color:#a1af99}.card-bottom button{font-size:11px;padding:8px 13px}.new-card{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:259px;border:1px dashed #9f8d58;background:linear-gradient(135deg,#34503a,#1c342b);text-align:center}.new-card .plus{display:grid;place-items:center;border:1px solid #ac9d65;border-radius:50%;background:#ffffff08;font-size:29px;width:46px;height:46px;color:#deca8d;margin-bottom:17px}.new-card h3{font-size:16px}.new-card p{font-size:11px;color:#a1b197;margin:0}.footer-note{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);margin-top:30px;padding-top:19px;color:#7f9489;font-size:10px}
/* Ivory resin tiles: a bevel, a recessed pip and a thick lower edge. */
.tile{position:relative;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0;width:43px;height:59px;min-width:0;padding:0 0 3px;background:linear-gradient(110deg,#fffef8 0%,#f5f1e3 62%,#e5deca 100%);border:1px solid #fff9e7;border-right:2px solid #b3ab97;border-bottom:5px solid #b3a991;border-radius:5px;box-shadow:1px 3px 3px #0006,inset 1px 1px 1px #fff;color:var(--black);font:1000 31px/1 Nunito,Arial,sans-serif;text-shadow:0 1px 0 #fff;user-select:none;touch-action:manipulation;transition:transform .15s,box-shadow .15s}.tile:after{content:'';width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:inset 0 1px 2px #0005;margin-top:5px;opacity:.85}.tile.c0{color:var(--red)}.tile.c1{color:var(--blue)}.tile.c2{color:var(--black)}.tile.c3{color:var(--yellow)}.tile.c4{color:#b62628}.tile.wild:before{content:'★';position:absolute;right:3px;top:3px;font-size:8px;color:#a98118}.tile .rep{position:absolute;bottom:2px;right:2px;font-size:9px;color:#71664e}.tile.small{width:30px;height:41px;font-size:22px;border-bottom-width:3px;border-radius:3px}.tile.small:after{width:4px;height:4px;margin-top:3px}.tile.selected{transform:translateY(-10px);outline:2px solid #ffe19a;box-shadow:0 0 15px #ffd57199,1px 7px 4px #0008;z-index:3}.tile.staged{opacity:.32;filter:sepia(.3)}.tile.back{color:#d7c897;background:repeating-linear-gradient(45deg,#1d5149,#1d5149 2px,#255f53 2px,#255f53 4px);border-color:#8a9d81;border-right-color:#18362e;border-bottom-color:#132f28;box-shadow:3px 3px 0 #d8caa7,5px 6px 0 #2c3d30,7px 8px 0 #bbae8e}.tile.back:after{content:'101';width:auto;height:auto;background:none;font-size:15px;font-weight:1000;box-shadow:none;margin:0}
/* The game fills the screen, with the rack resting on the table edge. */
.at-table header{height:57px}.at-table .brand{font-size:25px}.at-table .brand-icon{width:30px;height:34px;font-size:14px}.at-table main{max-width:1700px;padding:16px 25px 22px}.table-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px}.table-heading h2{font-size:19px;margin:0 0 4px;color:#f0dfb6}.table-heading .meta{display:flex;gap:12px;align-items:center;color:#9eafa1;font-size:10px}.table-heading .buttons{display:flex;gap:7px}.table-heading button{font-size:11px;padding:8px 13px}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 212px;gap:18px}.game-main{min-width:0}.board{isolation:isolate;position:relative;min-height:420px;border:13px solid #77522d;border-bottom-width:20px;border-radius:35px;background:radial-gradient(ellipse at 50% 30%,#34734d,#245b3d 45%,#17432f 90%);padding:92px 100px 82px;box-shadow:inset 0 0 0 3px #b4a27699,inset 0 0 0 6px #0b372c,0 5px 0 #382717,0 10px 24px #0009}.board:before{content:'';position:absolute;inset:0;z-index:-1;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Cpath d='M0 0h1v1H0zM2 2h1v1H2z' fill='%23fff' opacity='.065'/%3E%3C/svg%3E");border-radius:21px;box-shadow:inset 0 0 80px #061b2355;pointer-events:none}.board:after{content:'';position:absolute;inset:15px;border:1px solid #cbd2a92b;border-radius:13px;pointer-events:none;z-index:-1}.board-label{text-align:center;color:#b7c99c;font-size:10px;letter-spacing:2px;margin:0 0 16px}.board-label strong{display:block;font-size:33px;font-weight:1000;color:#c4d2aa55;letter-spacing:-1.5px;text-shadow:0 1px #12362899;margin-bottom:6px}.timer{display:inline-block;color:#f5e7b4;background:#122b25a6;border:1px solid #8eaa744d;border-radius:5px;font-size:11px;letter-spacing:0;padding:4px 9px;font-variant-numeric:tabular-nums}.seat{position:absolute;display:flex;align-items:center;gap:8px;color:#fff3d6;background:linear-gradient(#233c39ee,#152e2bee);border:1px solid #a39b6b77;border-radius:8px;padding:7px 11px 7px 6px;font-size:12px;box-shadow:0 3px 8px #0005;min-width:138px;z-index:2}.seat .face{width:43px;height:43px;display:grid;place-items:center;border:2px solid #c7b37c;border-radius:7px;background:radial-gradient(at 35% 25%,#6d8672,#314b43 75%);font-size:24px;color:#e6dab5;text-shadow:1px 2px 2px #0007;box-shadow:inset 0 0 0 2px #162c29}.seat small{display:block;font-size:9px;color:#abbca0;margin-top:5px}.seat.active{border-color:#f5d879;box-shadow:0 0 0 2px #e2c76e99,0 0 20px #f5d87935}.seat.active:after{content:'OYNUYOR';position:absolute;top:-16px;right:4px;font-size:8px;letter-spacing:1px;font-weight:1000;color:#f2d48c}.seat.top{top:13px;left:50%;transform:translateX(-50%)}.seat.bottom{bottom:12px;left:50%;transform:translateX(-50%);min-width:155px}.seat.left{top:42%;left:12px;flex-direction:column;text-align:center;min-width:78px;max-width:94px;padding:7px 5px;font-size:10px}.seat.right{top:42%;right:12px;flex-direction:column;text-align:center;min-width:78px;max-width:94px;padding:7px 5px;font-size:10px}.seat.left small,.seat.right small{font-size:8px;line-height:1.7}.opponent-rack{display:flex;position:absolute;bottom:-11px;left:50%;transform:translateX(-50%);gap:1px;background:linear-gradient(#b98a4b,#69441e);padding:3px 3px 0;border-radius:3px;box-shadow:0 3px 3px #0006}.opponent-rack i{width:9px;height:13px;background:linear-gradient(#e7dac0,#a39679);border:1px solid #c9bd9e;border-radius:1px}.seat.left .opponent-rack,.seat.right .opponent-rack{bottom:-8px}.center-deck{display:flex;align-items:center;justify-content:center;gap:35px;margin:12px 0 20px}.deck-stack{position:relative;text-align:center;min-width:44px}.deck-stack small{display:block;color:#c2cfae;font-size:9px;font-weight:700;margin-top:11px;text-shadow:0 1px #0008}.deck-stack .tile{width:43px;height:60px;font-size:31px}.deck-button{border:0;background:none;padding:0;position:relative}.deck-button:not(:disabled):hover .tile{transform:translateY(-5px);box-shadow:0 0 13px #ffe09a66}.deck-number{position:absolute;right:-14px;top:-10px;background:linear-gradient(#eacb77,#b08a3e);border:1px solid #f8dfa0;color:#483514;border-radius:50%;font-size:11px;font-weight:1000;min-width:25px;line-height:23px;box-shadow:0 2px 3px #0007}.melds{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;padding:5px;max-height:210px;overflow:auto;scrollbar-width:thin;scrollbar-color:#859a68 #102e26}.meld{display:flex;gap:2px;align-items:center;border:1px solid #d1d7a429;border-radius:4px;padding:4px;background:#092d2555;cursor:pointer}.meld:hover,.meld:focus-visible{border-color:#eed28a;background:#b0c07f22}.meld small{color:#c1cea5;font-size:8px;writing-mode:vertical-lr;margin-right:2px}.turn-message{text-align:center;color:#f0dfad;font-size:11px;font-weight:800;margin:12px 0 0;text-shadow:0 1px 2px #0007}.rack-wrap{position:relative;z-index:4;margin:-5px auto 0;width:94%;border:1px solid #cb9c5d;border-top:3px solid #d5ac72;border-bottom:7px solid #432713;border-radius:7px 7px 14px 14px;background:var(--wood);padding:9px 18px 0;box-shadow:0 7px 0 #241c13,0 12px 20px #0008,inset 0 0 0 2px #5b371c,inset 0 0 30px #3f210b33;transform:perspective(1500px) rotateX(3deg)}.rack-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:10px;color:#e8c998;text-shadow:0 1px 1px #3a210f}.rack-top strong{font-size:10px;letter-spacing:1.3px;color:#f4dbac}.rack-top strong span{font-weight:600;letter-spacing:0;color:#dcc091}.rack-actions{display:flex;gap:8px}.rack-actions button{background:#3b261655;border:1px solid #dda45e55;border-radius:4px;color:#f6dfb5;padding:4px 8px;font-size:10px;font-weight:800;text-shadow:0 1px 1px #251b12}.rack-actions button:hover{background:#5a341f}.rack{display:grid;grid-template-columns:repeat(15,minmax(0,1fr));grid-template-rows:repeat(2,65px);gap:0 3px;padding:0 8px;position:relative;background:linear-gradient(to bottom,#3d241444 0%,#7d4d2500 43%,#e3b678 44%,#b1793b 47%,#553113 49%,#422811 50%,#70482233 53%,#70482233 93%,#d8a567 94%,#c69758 97%,#5b361b 99%);border-left:5px solid #a7733c;border-right:5px solid #785026;border-radius:4px;box-shadow:inset 0 1px 7px #3e220a55}.rack-slot{display:flex;align-items:flex-end;justify-content:center;padding-bottom:8px;min-width:0;position:relative}.rack .tile{width:100%;max-width:49px;height:57px;font-size:32px;cursor:grab;box-shadow:1px 4px 3px #2c160b99}.rack .tile:active{cursor:grabbing}.rack-slot.drop-target{background:#ffe09633;outline:1px dashed #ffdb89}.slot-mark{display:block;width:6px;height:1px;background:#e3bd8633;margin-bottom:4px}.rack-engraving{text-align:center;color:#d3a76f;text-shadow:0 -1px #42250d;font-size:8px;font-weight:1000;letter-spacing:2px;line-height:18px;opacity:.85}.move-bar{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:18px auto 0;width:94%;padding:0}.move-bar>div{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.move-bar button{font-size:11px;padding:10px 14px;gap:8px}.move-bar select{background:linear-gradient(#33474b,#1c3035);border-color:#6c7865;color:#e5e5d3}.move-bar .primary{min-width:115px;background:linear-gradient(#e2b653,#b8892e);border-color:#f6d68c;border-bottom-color:#80581c;color:#35260e;text-shadow:0 1px #ffdb8c;box-shadow:0 3px 10px #0006}.staging{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:12px auto 0;width:94%}.staging:empty{display:none}.staged-group{display:flex;gap:2px;align-items:center;padding:5px;background:#162c2e;border:1px solid #ad955a;border-radius:5px}.staged-group .remove{border:0;background:none;color:#e7bb7a;font-size:20px;padding:0 5px}.help-inline{font-size:10px;color:#8fa693;line-height:1.7;margin:14px auto 0;width:94%}.help-inline summary{cursor:pointer;color:#e0c389}.side-panel{border:1px solid #73826a44;border-radius:8px;background:linear-gradient(130deg,#263a3d,#1b2d32);padding:16px;margin-bottom:13px;box-shadow:0 4px 10px #0003,inset 0 1px #ffffff09}.side-panel h3{font-size:12px;color:#d8c79f;border-bottom:1px solid #ffffff0b;padding-bottom:11px;margin-bottom:12px}.side-panel h3 .pill{font-size:8px;padding:3px 6px;float:right}.score-row{display:flex;align-items:center;gap:7px;margin-bottom:11px;font-size:10px;color:#cdd5c7}.score-row .mini{display:grid;place-items:center;width:27px;height:27px;border:1px solid #b39762;border-radius:5px;background:linear-gradient(#576b58,#2d4439);color:#efdaad;font-weight:900}.score-row .player-name{flex:1}.score-row b{background:#142629;color:#efd18e;padding:3px 7px;min-width:28px;text-align:center;border-radius:4px;font-size:12px}.rule-row{display:flex;justify-content:space-between;gap:6px;margin-top:11px;color:#90a38f;font-size:10px}.rule-row strong{color:#cad2bc;font-weight:700;text-align:right}.live-note{font-size:9px;color:#8da18d;line-height:1.7;margin:12px 0 0}.events{max-height:150px;overflow:auto;scrollbar-width:thin}.event{font-size:9px;color:#a1b29d;line-height:1.6;padding-bottom:8px;margin-bottom:8px;border-bottom:1px solid #ffffff09}.event time{color:#738d7d;font-size:8px;display:block}.team-total{border-top:1px solid #ffffff12;padding-top:10px;color:#e3d4a1;font-size:11px;line-height:2}.waiting{text-align:center;padding:15px 0 5px}.waiting .board-label strong{color:#e3d4a5;font-size:27px}.waiting p{color:#b1c5a4;font-size:12px}.waiting-seats{display:flex;justify-content:center;gap:25px;margin:25px 0}.waiting-person{color:#eadbb1;font-size:11px}.waiting-person .face{width:48px;height:48px;border:2px solid #b9a774;border-radius:8px;display:grid;place-items:center;margin:0 auto 7px;background:linear-gradient(#6a826a,#284c3b);font-size:24px;box-shadow:0 4px 4px #0004}.waiting-person small{display:block;color:#91ae8b;font-size:9px;margin-top:5px}.waiting .primary{padding:12px 25px;font-size:13px}.result-box{text-align:center;color:#f2e3bc;min-height:240px;display:flex;flex-direction:column;justify-content:center;align-items:center}.result-box h3{font-size:23px;margin:12px 0}.result-box p{font-size:11px;color:#c2d0ad}.result-box .primary{font-size:12px}.manual-inputs{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-width:350px;margin:15px auto}.manual-inputs label{font-size:10px;text-align:left;color:#c9d5b6}.manual-inputs input{width:100%;margin-top:4px;padding:7px;background:#123127;color:#f6e2af}.match-result{color:#f3cf79!important;font-size:17px!important}.empty-hint{padding:30px;color:#abbba7;text-align:center}.name-input{width:180px}.rotate-tip{display:none}
/* Matching game menus. */
dialog{border:1px solid #ad905b;border-top:3px solid #d5b678;background:linear-gradient(135deg,#2e4445,#192b31);border-radius:12px;color:#f0e7d0;padding:27px;width:650px;max-width:94vw;max-height:90svh;box-shadow:0 20px 100px #000a,inset 0 1px #fff1}dialog::backdrop{background:#050d13bb;backdrop-filter:blur(5px)}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:24px}.dialog-head h2{margin:7px 0 0;font-size:25px}.icon{width:30px;height:30px;display:grid;place-items:center;border:1px solid #7c876d;border-radius:6px;background:#16292b;color:#d6c7a4;font-size:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:8px;color:#c8cbb0;font-size:11px;font-weight:800}.switches{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.switch-field{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#13272c88;border:1px solid #77856955;border-radius:6px;padding:12px}.switch-field strong{display:block;font-size:11px;color:#e3dbc0}.switch-field small{display:block;font-size:9px;color:#97aa96;line-height:1.5;margin-top:4px}.switch-field input{accent-color:#91b65d;width:18px;height:18px;flex-shrink:0}.dialog-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:24px;border-top:1px solid var(--line);padding-top:19px}.dialog-footer>span{font-size:10px;color:#95a891}.dialog-footer button{font-size:12px}.full{grid-column:1/-1}.rules-content{font-size:12px;color:#bac5b2}.rules-content h3{font-size:15px;color:#e1c78d;margin:24px 0 9px}.source{border-top:1px solid var(--line);padding-top:17px;font-size:10px;color:#9baa95}.source a{color:#d8bc79}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,15px);border:1px solid #d3b773;background:linear-gradient(#344c3e,#1c332b);color:#f7e6bb;box-shadow:0 4px 20px #0009;border-radius:8px;padding:13px 21px;font-size:12px;max-width:90vw;opacity:0;pointer-events:none;transition:.18s;z-index:30;text-align:center;font-weight:700}#toast.visible{opacity:1;transform:translate(-50%,0)}.busy{opacity:.6;pointer-events:none}.no-scroll{overflow:hidden}
@media(min-width:1500px){.board{min-height:470px}.rack .tile{height:64px;font-size:37px}.rack{grid-template-rows:repeat(2,73px)}}
@media(max-width:1100px){.game-layout{grid-template-columns:minmax(0,1fr) 185px;gap:12px}.at-table main{padding:14px}.side-panel{padding:12px}.rack-wrap{width:96%;padding-left:10px;padding-right:10px}.rack{padding:0 3px;grid-template-rows:repeat(2,57px);gap:0 2px}.rack .tile{height:49px;font-size:27px}.rack .tile:after{width:5px;height:5px;margin-top:3px}.rack-actions{gap:5px}.rack-actions button{font-size:9px;padding:3px 5px}.board{padding-left:85px;padding-right:85px;min-height:390px}.seat.left,.seat.right{max-width:76px;min-width:66px}.seat{font-size:10px}.hero{gap:30px}.hero h1{font-size:46px}.hero h1 em{font-size:29px}.art-tiles .tile{width:43px;height:63px;font-size:32px}.art-rack{width:280px;top:148px}.rooms{grid-template-columns:repeat(2,1fr)}.move-bar button{padding:9px 10px;font-size:10px}.move-bar{width:96%}}
@media(max-width:800px){header{height:62px;padding:0 20px}.profile{font-size:0}.profile .avatar{font-size:11px}.hero{grid-template-columns:1fr 43%;gap:18px}.hero h1{font-size:37px}.hero h1 em{font-size:24px}.hero p{font-size:12px}.hero-art{height:230px;border-width:7px}.art-tiles{gap:3px}.art-tiles .tile{width:34px;height:52px;font-size:26px}.art-rack{width:210px;height:55px;top:123px}.hero-buttons button{font-size:11px;padding:11px 13px;gap:10px}.art-badge{font-size:6px;bottom:22px}.info-strip>div{padding:14px 11px;gap:8px}.info-strip strong{font-size:10px}.info-strip small{font-size:9px}.info-icon{font-size:18px;width:23px;flex-shrink:0}.section-head{flex-wrap:wrap}.lobby-controls{width:100%}.lobby-controls input{flex:1}.game-layout{grid-template-columns:minmax(0,1fr)}.game-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:10px}.game-sidebar .side-panel:last-child{grid-column:1/-1}.side-panel{margin:0}.events{max-height:70px}.at-table main{padding:12px 14px}.board{min-height:365px}.rack-wrap{max-width:680px}.rack{grid-template-rows:repeat(2,64px)}.rack .tile{height:56px;font-size:31px;max-width:42px}.table-heading button{font-size:10px;padding:7px 10px}.table-heading h2{font-size:17px}.move-bar{margin-top:16px}.help-inline{margin-bottom:14px}.at-table header{height:51px}.at-table .brand{font-size:22px}.at-table nav{gap:20px}.at-table .nav-link{font-size:11px}.footer-note{font-size:9px}}
@media(max-width:520px){header{height:58px;padding:0 15px}.brand{font-size:24px}.brand-icon{width:29px;height:34px;font-size:13px}.profile .avatar{display:none}nav{gap:15px}.nav-link{font-size:10px}.profile{gap:0}.hero{grid-template-columns:1fr;padding:10px 0 15px;gap:25px}.hero h1{font-size:43px;margin:12px 0}.hero h1 em{font-size:28px}.hero p{font-size:12px}.hero-art{height:185px;border-radius:45% / 22%;margin:5px 12px 14px}.art-tiles .tile{width:36px;height:54px;font-size:28px}.art-rack{width:228px;top:102px;height:40px}.art-badge{bottom:12px;font-size:6px}.spark{font-size:17px;top:17px;left:40px}.art-circle{width:130px;height:130px}.art-circle.small{width:110px;height:110px}.hero-buttons{margin-top:20px}.hero-buttons button{font-size:12px}.eyebrow{font-size:8px;letter-spacing:1.2px}.info-strip{margin:8px 0 25px}.info-strip>div{padding:12px 9px;display:block}.info-icon{display:none}.info-strip strong{font-size:9px;line-height:1.5}.info-strip small{font-size:8px;line-height:1.5;display:block}.rooms{grid-template-columns:1fr}.room-card{padding:19px}.new-card{min-height:170px}.new-card .plus{margin-bottom:12px}.new-card h3{margin-bottom:8px}.section-head h2{font-size:20px}.lobby-controls input{width:100px}.lobby-controls button{font-size:10px;padding:8px 10px}main{padding:25px 16px}.at-table main{padding:10px 7px}.table-heading{gap:5px;margin:0 3px 12px}.table-heading h2{font-size:15px}.table-heading .meta{font-size:8px;gap:6px;flex-wrap:wrap}.table-heading .pill{font-size:7px;padding:3px 5px}.table-heading .buttons{gap:4px;max-width:130px;flex-wrap:wrap;justify-content:flex-end}.table-heading button{font-size:8px;padding:6px 8px;gap:5px}.at-table header{padding:0 12px;height:47px}.at-table .brand{font-size:21px;gap:8px}.at-table .brand-icon{width:25px;height:29px;font-size:12px}.at-table nav{gap:14px}.at-table .nav-link{font-size:9px}.board{min-height:355px;border-width:7px;border-bottom-width:15px;border-radius:22px;padding:84px 54px 78px}.board:before{border-radius:15px}.board:after{inset:9px;border-radius:9px}.seat{gap:5px;padding:5px 7px 5px 4px;min-width:119px;border-radius:5px;font-size:9px}.seat .face{width:31px;height:34px;font-size:19px;border-radius:5px}.seat small{font-size:7px;margin-top:3px}.seat.top{top:10px}.seat.bottom{bottom:12px;min-width:133px}.seat.left,.seat.right{min-width:47px;max-width:53px;top:42%;padding:6px 2px;font-size:8px;gap:5px}.seat.left{left:6px}.seat.right{right:6px}.seat.left small,.seat.right small{font-size:6px}.opponent-rack i{width:7px;height:9px}.opponent-rack{bottom:-9px;padding:2px 2px 0}.board-label{font-size:8px;letter-spacing:1px;margin-bottom:12px}.board-label strong{font-size:27px}.timer{font-size:9px;padding:3px 6px}.center-deck{gap:15px;margin:15px 0}.deck-stack{min-width:30px}.deck-stack .tile{width:30px;height:44px;font-size:23px}.deck-stack .tile:after{width:5px;height:5px;margin-top:3px}.deck-stack small{font-size:7px;margin-top:10px}.deck-number{font-size:8px;min-width:19px;line-height:17px;right:-10px;top:-7px}.tile.back:after{font-size:11px}.turn-message{font-size:9px;line-height:1.6;margin-top:10px}.melds{gap:4px;padding:2px;max-height:165px}.meld{padding:2px;gap:1px}.meld small{font-size:6px;margin-right:1px}.tile.small{width:20px;height:30px;font-size:16px;border-right-width:1px;border-bottom-width:2px}.tile.small:after{width:3px;height:3px;margin-top:2px}.tile .rep{font-size:7px}.rack-wrap{width:98%;padding:7px 6px 0;border-bottom-width:5px;border-top-width:2px;border-radius:5px 5px 9px 9px}.rack-top{margin-bottom:8px;gap:5px}.rack-top strong{font-size:8px;letter-spacing:.7px}.rack-top strong span{font-size:7px}.rack-actions{gap:3px}.rack-actions button{font-size:7px;padding:3px 4px}.rack{grid-template-rows:repeat(2,43px);gap:0 1px;padding:0 2px;border-left-width:3px;border-right-width:3px}.rack .tile{height:37px;font-size:21px;border-radius:3px;border-right-width:1px;border-bottom-width:3px;padding-bottom:2px;letter-spacing:-1.4px}.rack .tile:after{width:4px;height:4px;margin-top:3px}.rack .tile.wild:before{font-size:5px;right:1px;top:1px}.rack-slot{padding-bottom:6px}.rack-engraving{font-size:6px;line-height:14px;letter-spacing:1px}.tile.selected{transform:translateY(-7px);outline-width:1px}.move-bar{width:98%;gap:7px;flex-wrap:wrap;margin-top:15px}.move-bar>div{gap:4px}.move-bar button{font-size:9px;padding:8px 9px;gap:5px}.move-bar .primary{min-width:93px}.move-bar select{font-size:9px!important;padding:7px!important}.move-bar>div:last-child{margin-left:auto}.help-inline{font-size:8px;width:97%;line-height:1.65;margin-top:11px}.staging{gap:5px;margin-top:10px}.staged-group{padding:3px;gap:1px}.staged-group .remove{padding:0 3px;font-size:17px}.game-sidebar{gap:8px;margin-top:3px}.side-panel{padding:12px 10px}.side-panel h3{font-size:11px}.score-row{font-size:9px}.score-row .mini{width:23px;height:23px}.score-row b{font-size:10px;padding:3px 5px}.rule-row{font-size:8px;margin-top:9px}.live-note{font-size:8px}.event{font-size:8px}.waiting{padding-top:3px}.waiting .board-label strong{font-size:22px}.waiting p{font-size:10px}.waiting-seats{gap:15px;margin:20px 0}.waiting-person{font-size:8px}.waiting-person .face{width:33px;height:36px;font-size:20px}.waiting-person small{font-size:7px}.waiting .primary{font-size:11px;padding:10px 16px}.result-box{min-height:210px}.result-box h3{font-size:18px}.result-box p{font-size:9px}.result-box .primary{font-size:10px;padding:10px}.manual-inputs{gap:5px}.manual-inputs label{font-size:8px}.manual-inputs input{padding:6px;font-size:11px}dialog{padding:20px}.dialog-head h2{font-size:23px}.form-grid{gap:12px}.field{font-size:10px}.switches{gap:7px}.switch-field{padding:9px}.switch-field strong{font-size:10px}.switch-field small{font-size:8px}.dialog-footer{flex-wrap:wrap}.dialog-footer button{width:100%}.footer-note{font-size:8px;line-height:1.5}#toast{font-size:11px;padding:11px 15px;bottom:17px}}
@media(max-height:600px) and (min-width:600px){.at-table header{height:42px}.at-table main{padding:8px 12px}.table-heading{margin-bottom:7px}.table-heading h2{font-size:15px}.game-layout{grid-template-columns:minmax(0,1fr) 170px}.game-sidebar{display:block}.side-panel{margin-bottom:8px;padding:10px}.game-sidebar .side-panel:last-child{display:none}.board{min-height:250px;padding-top:65px;padding-bottom:65px;border-width:8px}.board-label{margin:0}.board-label strong{font-size:22px;margin-bottom:0}.center-deck{margin:8px 0;gap:25px}.deck-stack .tile{height:43px;width:31px;font-size:23px}.deck-stack small{font-size:8px;margin-top:7px}.seat .face{height:29px;width:29px;font-size:19px}.seat{font-size:9px;padding:4px;min-width:120px}.seat small{font-size:7px}.seat.top{top:8px}.seat.bottom{bottom:8px}.seat.left,.seat.right{min-width:56px;max-width:65px;top:34%}.rack{grid-template-rows:repeat(2,43px)}.rack .tile{height:37px;font-size:23px}.rack-top{margin-bottom:6px}.rack-engraving{line-height:12px;font-size:6px}.rack-wrap{padding-top:6px}.rack-actions button{font-size:8px;padding:2px 5px}.rack-top strong{font-size:8px}.move-bar{margin-top:12px}.move-bar button{padding:7px 10px}.help-inline{font-size:8px}.melds{max-height:100px}.turn-message{font-size:9px;margin:6px 0 0}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

.seat.active.mine-seat:after{content:"SIRA SENDE"}
/* Keep each rack slot the width of its tile, rather than spreading tiles across the table. */
.rack{max-width:770px;margin-inline:auto;column-gap:1px}
.rack .tile{max-width:none;width:100%}
