@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#123c43;--teal:#0d6462;--gold:#f0ba47;--coral:#e98e74;--paper:#fff9eb;--muted:#7b9899;--felt:#0b454a;--line:rgba(255,255,255,.12);font-family:'DM Sans',system-ui,sans-serif;color:var(--paper);background:#082f35;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #f6c552;outline-offset:4px}button{border:0}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1,h2,h3,.brand{font-family:Manrope,system-ui,sans-serif}h1{font-size:clamp(38px,4.2vw,72px);line-height:1.12;letter-spacing:-3px;margin-bottom:24px;font-weight:700}h1 em{font-style:normal;color:#f2c367}h2{font-size:30px;letter-spacing:-1px}h3{font-size:17px;margin-bottom:10px}.topbar{min-height:85px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:18px 36px;gap:16px;background:#082f35}.brand{display:flex;gap:12px;align-items:center;font-size:16px;letter-spacing:2px;font-weight:500;white-space:nowrap}.brand b{font-weight:800}.brand small{display:block;font-family:'DM Sans',sans-serif;font-size:9px;letter-spacing:3.5px;color:#a7bfbb;margin-top:4px}.brand-mark{width:36px;height:36px;border-radius:7px;overflow:hidden;box-shadow:0 3px 0 #001e24;transform:rotate(-8deg)}.brand-mark svg{display:block;width:100%}.header-right{display:flex;align-items:center;gap:16px}.quiet{background:transparent;color:#c7d9d4;font-size:12px;padding:8px;line-height:1.4}.quiet:hover{color:#ffd174}.quiet span{margin-left:8px;color:#f2c367}.tag{font-size:10px;font-weight:600;letter-spacing:1.6px;border:1px solid #50706e;border-radius:4px;padding:7px 10px;color:#b9ceca;white-space:nowrap}.icon-button{background:transparent;color:#a8c6bf;font-size:23px}.primary,.secondary{border-radius:6px;min-height:42px;padding:11px 18px;font-size:12px;font-weight:700;transition:transform .15s,background .15s}.primary{background:#f0c26a;color:#153b3e;box-shadow:0 3px 0 #b38b40}.primary:hover:not(:disabled){background:#ffda87;transform:translateY(-1px)}.secondary{background:rgba(255,255,255,.07);border:1px solid #71958e;color:#f8f4e9}.secondary:hover:not(:disabled){background:rgba(255,255,255,.13)}.wide{width:100%}.eyebrow{display:block;font-size:9px;font-weight:700;letter-spacing:2px;color:#9fc9be;margin-bottom:17px}.welcome{max-width:1400px;margin:auto;min-height:calc(100vh - 146px);display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:40px;padding:60px 70px 45px}.lead{color:#b4cbc4;max-width:360px;font-size:16px;line-height:1.7;margin-bottom:30px}.entry-box{max-width:390px;background:#123f43;padding:22px;border:1px solid #426964;border-radius:12px}.tabs{display:flex;gap:25px;border-bottom:1px solid #426662;margin-bottom:18px}.tabs button{background:none;color:#92b2ab;padding:0 0 12px;font-size:12px;font-weight:600;border-bottom:2px solid transparent}.tabs .selected{color:#f6ce7f;border-color:#f6ce7f}label{display:block;font-size:12px;font-weight:600;color:#d1e0d9;margin-bottom:16px}input,select{display:block;width:100%;background:#082e35;border:1px solid #4b6f6b;border-radius:5px;color:#fff6e6;padding:11px 12px;margin-top:7px;min-height:42px;font-size:13px}input::placeholder{color:#759690}input[type=number]{text-align:center}.code-input{letter-spacing:2px;text-transform:uppercase}.entry-box>small{display:block;font-size:10px;color:#91aea7;margin-top:15px;text-align:center}.welcome-features{display:flex;gap:22px;font-size:10px;color:#8aaea6;margin-top:27px}.welcome-art{position:relative;min-height:550px;display:grid;place-content:center}.demo-board{width:340px;height:340px;padding:12px;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;background:#0a2e34;border:1px solid #5b8076;box-shadow:24px 28px 60px #001f27;transform:rotate(10deg);border-radius:12px}.demo-tile{border-radius:5px;overflow:hidden;box-shadow:0 4px 0 #051d28}.demo-tile svg{width:100%;height:100%;display:block}.floating-card{position:absolute;width:132px;border-radius:9px;box-shadow:0 20px 40px #001c24}.card-one{top:6%;right:1%;transform:rotate(13deg)}.card-two{bottom:2%;left:0;transform:rotate(-14deg)}.demo-label{position:absolute;top:0;left:20%;font-size:9px;letter-spacing:3px;color:#94b6ac}.art-caption{position:absolute;bottom:16px;right:2%;font-size:13px;line-height:1.8;color:#92b4aa;transform:rotate(-4deg)}.art-caption b{color:#e6c178}.welcome-footer{max-width:1260px;padding:25px 30px;margin:auto;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:10px;letter-spacing:1px;color:#87aaa1}.welcome-footer span{letter-spacing:0}.recent{display:flex;flex-wrap:wrap;align-items:center;gap:4px;max-width:390px;margin-top:18px}.recent>span{width:100%;font-size:9px;color:#7fa59d;letter-spacing:1px}.recent .quiet{padding-left:0}.loading{display:grid;min-height:100vh;place-content:center}.live{display:flex;align-items:center;gap:6px;font-size:10px;color:#a7c9ba;white-space:nowrap}.live i{width:6px;height:6px;background:#7bd6a3;border-radius:50%;box-shadow:0 0 10px #7bd6a34f}.live.offline{color:#edb778}.live.offline i{background:#edb778}.game-shell{padding:0 20px 15px;max-width:1800px;margin:auto}.table-topline{display:flex;align-items:center;justify-content:space-between;min-height:46px;padding:0 7px}.turn-order{display:flex;gap:6px;align-items:center}.turn-order span{width:20px;height:20px;display:grid;place-content:center;border-radius:50%;background:#36595b;color:#c7dbd6;font-size:9px;border:1px solid #5e7f7b}.turn-order .now{background:#f2c46d;color:#19413f;box-shadow:0 0 0 3px #f2c46d20}.turn-order .past{opacity:.3}.turn-order i{font-size:10px;color:#638e82}.table-surface{position:relative;border:8px solid #153d40;border-radius:28px;background:radial-gradient(ellipse at 50% 44%,#17625f 0,#0c4b4d 52%,#0a3e43 100%);box-shadow:inset 0 0 0 1px #6e8e7133,inset 0 0 70px #00252f66,0 15px 60px #001d2722;display:grid;grid-template-columns:minmax(150px,1fr) minmax(540px,3.6fr) minmax(150px,1fr);grid-template-rows:auto auto auto;grid-template-areas:'. north .' 'west center east' '. south .';gap:12px 20px;padding:20px 28px 24px;min-height:800px}.player-zone{min-width:0;align-self:center;justify-self:center;width:100%}.seat-north{grid-area:north}.seat-west{grid-area:west}.seat-east{grid-area:east}.seat-south{grid-area:south}.player-heading{display:flex;align-items:center;gap:8px;margin:0 auto 8px;max-width:220px}.avatar{display:grid;place-content:center;width:27px;height:27px;background:var(--player-color);color:#143b3f;border-radius:50%;font-size:12px;font-weight:800;flex-shrink:0}.player-heading strong{display:block;font-size:11px;color:#f0f1df;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-heading small{display:block;font-size:8px;color:#9dc0b4;margin-top:3px}.you-label{font-size:8px;color:#edc26c;margin-left:3px}.score{font:700 20px Manrope,sans-serif;margin-left:auto;color:#f1ca7b;text-align:center}.score small{font-size:7px;letter-spacing:1px;margin-top:0}.board{display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(4,1fr);aspect-ratio:1;gap:3px;background:#062e37;padding:5px;border:1px solid #46776c;border-radius:8px;width:152px;margin:auto;box-shadow:0 8px 18px #00283155}.cell{position:relative;border-radius:3px;overflow:hidden;padding:0;aspect-ratio:1;background:#12474b;box-shadow:inset 0 0 0 1px #38635e55;min-width:0;transition:box-shadow .15s,background .15s}.cell:hover{background:#255d5a}.cell svg{width:100%;height:100%;display:block;pointer-events:none}.cell.occupied{box-shadow:0 2px 0 #001f2e}.cell-dot{color:#43736b;font-size:12px}.cell-coordinate{position:absolute;bottom:2px;right:2px;font-size:7px;color:#a7c9b14d;pointer-events:none}.occupied .cell-coordinate{color:#fff8cbb3;text-shadow:0 1px 1px #000}.cell.staged{outline:2px dashed #fff1ba;outline-offset:-2px;opacity:.85}.cell.selected-cell,.cell.drop-target{outline:3px solid #f7d278;outline-offset:-3px;z-index:1}.cell.eligible{box-shadow:inset 0 0 0 2px #85d7b4}.cell.eligible:after{content:'';position:absolute;inset:0;border:2px solid #85d7b4;border-radius:3px;pointer-events:none}.cell.selected-cell:after{border-color:#ffda80}.seat-north .board{width:112px}.seat-north .player-heading{max-width:180px}.seat-north .hidden-hand{position:absolute;left:calc(50% + 110px);top:60px}.seat-north{position:relative}.active-player .board{border-color:#eac375;box-shadow:0 0 0 3px #f3c76a20,0 8px 18px #00283155}.hidden-hand{display:flex;align-items:center;justify-content:center;min-height:32px;margin-bottom:8px}.hidden-hand img{width:24px;height:36px;object-fit:cover;border-radius:3px;box-shadow:0 2px 5px #00252d;border:1px solid #ead9a3;margin-left:-12px;transform:rotate(calc((var(--j) - 2)*4deg))}.hidden-hand img:first-child{margin-left:0}.hidden-hand>span{font-size:10px;margin-left:5px}.own-player{display:grid;grid-template-columns:1fr 235px 1fr;align-items:center;column-gap:24px;width:100%;padding-top:8px}.own-player .player-heading{grid-column:2;margin-bottom:9px;width:100%;max-width:235px}.own-player .board{grid-column:2;width:235px;grid-row:2;gap:4px;padding:6px}.own-player .my-hand{grid-column:3;grid-row:2;align-self:center;min-width:170px}.my-hand .section-label{font-size:8px;justify-content:flex-start}.my-hand .section-label span{margin-left:8px}.hand-row{display:flex;gap:6px;flex-wrap:wrap;max-height:220px;overflow:auto;padding:4px 4px 8px}.action-card{background:#f4e9d2;border:1px solid #e9c77b;border-radius:6px;color:#123c43;width:72px;min-width:72px;min-height:104px;padding:10px 5px;box-shadow:0 3px 0 #002c3c;display:flex;flex-direction:column;align-items:center;justify-content:space-between;text-align:center}.action-card>span{font-size:25px;color:#166e6b}.action-card strong{font-size:10px;line-height:1.2;margin-top:8px}.action-card small{font-size:7px;letter-spacing:1px;color:#6d8276;margin-top:9px}.action-card.defense{background:#d3e9df;border-color:#76b5a6}.action-card.chosen{outline:2px solid #f9cf71}.action-card:hover{transform:translateY(-3px)}.empty-hand{font-size:11px;color:#9fc0b4;line-height:1.7;max-width:120px}.trophies{display:flex;justify-content:center;gap:4px;flex-wrap:wrap;margin-top:9px}.trophies button{background:none;padding:0;position:relative;width:24px}.trophies img{width:24px;border-radius:2px}.trophies b{position:absolute;bottom:-3px;right:-2px;font-size:8px;color:#193e40;background:#f3ca76;border-radius:3px;padding:2px}.own-player .trophies{grid-column:1;grid-row:2;align-self:center}.own-player .trophies button,.own-player .trophies img{width:37px}.shared-center{grid-area:center;min-width:0;align-self:center;border:1px solid #7a9d7a44;border-radius:15px;padding:15px 20px;background:#153e3d20}.center-heading{display:flex;justify-content:space-between;font-size:8px;color:#acd0b7;letter-spacing:2px;margin-bottom:15px}.section-label{display:flex;align-items:center;justify-content:space-between;font-size:8px;font-weight:700;letter-spacing:1.4px;color:#a8c7b9;margin-bottom:8px}.section-label span{font-size:7px;letter-spacing:0;color:#8aad9e}.teal-label{color:#87cbbd}.gold-label{color:#f0cb82}.objective-groups{display:grid;grid-template-columns:1fr 2fr;gap:19px}.objective-row{display:flex;justify-content:center;gap:8px}.objective{padding:0;background:none;position:relative;flex:1;max-width:97px;min-width:0;border-radius:5px;transition:transform .15s;box-shadow:0 4px 10px #002d3440}.objective img{width:100%;display:block;border-radius:5px}.objective:hover{transform:translateY(-5px)}.objective>span{position:absolute;bottom:-5px;left:5px;right:5px;display:flex;justify-content:space-between;border-radius:3px;background:#0b4f4a;color:#d7f2e4;font-size:8px;font-weight:700;padding:3px 5px;box-shadow:0 2px 3px #00273260}.objective.four>span{background:#e7bd64;color:#143c41}.objective-selected{outline:3px solid #fff0bc;outline-offset:3px}.draft-section{margin-top:22px;padding-top:13px;border-top:1px solid #77a18733}.pool{display:flex;gap:7px;justify-content:center;flex-wrap:wrap;min-height:46px}.pool-tile{width:45px;height:45px;min-width:35px;border-radius:5px;padding:0;background:#c3ceaf;box-shadow:0 4px 0 #05343e;border:2px solid #c4cda9;touch-action:none;overflow:hidden}.pool-tile svg{display:block;width:100%;height:100%;pointer-events:none}.pool-tile[draggable=true]{cursor:grab}.pool-tile.picked{outline:2px solid #f7dc95;outline-offset:3px;transform:translateY(-4px)}.pool-tile.is-staged{opacity:.35}.piles{display:flex;justify-content:center;gap:22px;align-items:center;margin:17px 0 5px}.pile{background:transparent;display:flex;gap:7px;align-items:center;color:#a6c8b9;text-align:left;padding:0;font-size:8px}.pile img{width:22px;border:1px solid #d6c38a;border-radius:3px;box-shadow:2px 2px 0 #fff6d199,4px 4px 0 #123c43}.pile b{display:block;font-size:8px;color:#dce4c9;margin-top:4px}.discard-symbol{font-size:25px;color:#94bbab}.bag-count{display:flex;align-items:center;gap:6px;font-size:8px;color:#92baa8;letter-spacing:1px}.bag-count span{font-size:22px}.bag-count b{color:#e8d5a1}.turn-message{border-top:1px solid #77a18733;margin-top:12px;padding-top:13px;text-align:center;min-height:70px}.turn-message .eyebrow{font-size:8px;margin-bottom:7px;letter-spacing:1.5px}.turn-message>strong{font:600 17px Manrope,sans-serif;color:#fff0c9;display:block}.turn-message p{font-size:10px;color:#b0ccbc;line-height:1.6;margin:6px auto 10px;max-width:400px}.turn-message small{font-size:10px;color:#a4c6b3}.turn-message select{max-width:340px;margin:10px auto;font-size:11px;padding:7px;min-height:32px}.button-row{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:11px}.button-row button{min-height:32px;padding:8px 12px;font-size:10px}.turn-message.response{border:1px solid #e3be67;background:#715e271c;border-radius:8px;padding:12px}.turn-message.finished strong{font-size:23px;color:#f7d58b}.action-controls>label{font-size:10px;margin:10px auto}.discard-picker{display:flex;gap:5px;overflow:auto;max-height:90px;margin:10px auto;flex-wrap:wrap;justify-content:center}.mini-tile{display:inline-block;padding:0;border-radius:4px;overflow:hidden;width:40px;height:40px;background:#12474b;flex-shrink:0}.mini-tile svg{display:block;width:100%;height:100%}.mini-tile.selected-cell{outline:2px solid #efca75}.empty-seat{align-self:center;text-align:center;font-size:10px;color:#6f9f8e}.empty-seat>span{display:grid;place-content:center;border:1px dashed #73998070;border-radius:50%;width:35px;height:35px;margin:0 auto 9px;font-size:23px;font-weight:400}.empty-seat strong,.empty-seat small{display:block}.empty-seat small{font-size:8px;margin-top:6px;color:#688f7f}.lobby-center{text-align:center;padding:10px 15px 20px}.lobby-center h1{font-size:34px;letter-spacing:-1px;margin-bottom:20px}.lobby-center .eyebrow{font-size:8px}.room-code-label{font-size:8px;letter-spacing:2px;color:#90b5a4}.room-code{background:none;color:#f0ce89;font:700 25px Manrope,sans-serif;letter-spacing:4px;margin:7px auto 13px;display:block}.room-code small{display:block;font:400 10px 'DM Sans',sans-serif;letter-spacing:0;color:#8fb9a7;margin-top:8px}.seat-status{font-size:12px;color:#cdddbf}.seat-status span{display:block;font-size:9px;color:#8db39d;margin-top:5px}.settings-summary{border:1px solid #72937a55;padding:12px;margin:18px auto;border-radius:6px;max-width:380px}.settings-summary strong,.settings-summary span,.settings-summary small{display:block}.settings-summary strong{font-size:10px;color:#e4d5a5}.settings-summary span{font-size:11px;margin:7px;color:#bfceb1}.settings-summary small{font-size:9px;color:#8cab98;line-height:1.6}.lobby-buttons{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.lobby-note{font-size:8px;line-height:1.6;color:#86ac98;display:block;max-width:320px;margin:18px auto 0}.muted{font-size:11px;color:#a1bfb0}.activity{padding:17px 8px 0;font-size:10px;color:#91b4a7}.activity summary{cursor:pointer}.activity summary>span{margin-left:20px;color:#789e91}.activity ol{padding:12px 15px;margin:0;max-height:180px;overflow:auto;list-style:none}.activity li{padding:6px;border-top:1px solid #51726433}.activity time{font-size:9px;margin-right:15px;color:#6b9488}.modal-backdrop{position:fixed;z-index:100;inset:0;background:#001f29d9;backdrop-filter:blur(9px);display:grid;place-items:center;padding:24px;overflow:auto}.modal{position:relative;background:#fff8e9;color:#164449;border-radius:16px;padding:38px;max-width:760px;width:100%;max-height:90vh;overflow:auto;box-shadow:0 25px 100px #00171b99;border:1px solid #decfa7}.modal p{font-size:13px;line-height:1.8;color:#55726d}.modal .eyebrow{color:#378479}.modal label{color:#275650}.modal input,.modal select{background:#fffdf5;border-color:#bdd0c3;color:#214b49}.modal .secondary{color:#224e4c;border-color:#71948b}.modal .primary{background:#174e50;color:#fff5db;box-shadow:0 3px 0 #092f36}.modal .primary:hover{background:#236b65}.modal-close{position:absolute;right:14px;top:10px;border:0;background:none;color:#39625d;font-size:28px}.image-modal{max-width:760px}.card-detail{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}.card-detail>img{width:100%;border-radius:10px;box-shadow:0 10px 30px #947d4f33}.card-detail h2{font-size:24px;margin-bottom:15px}.detail-group{font-size:28px;font-weight:700}.detail-group span{font-size:11px;font-weight:400;margin-left:10px;color:#a27932}.card-detail p{margin-top:20px}.card-detail small{display:block;font-size:10px;margin-top:12px;color:#6e8b7b}.rule-step{display:flex;gap:17px;margin:22px 0}.rule-step>b{font-family:Manrope,sans-serif;font-size:18px;color:#ba954b}.rule-step h3{margin:0 0 5px}.rule-step p{font-size:12px;margin:0}.provisional{background:#f3e9cc;border-left:3px solid #c29d4b;padding:14px;margin:22px 0}.provisional strong{font-size:12px}.provisional p{font-size:11px;margin:6px 0 0}.setting-columns{display:grid;grid-template-columns:1fr 1fr;gap:30px}.count-row{display:flex;gap:9px;align-items:center;font-size:11px;margin-bottom:6px}.count-row svg,.count-icon{width:24px;height:24px;border-radius:4px;overflow:hidden;flex-shrink:0}.count-icon{display:grid;place-content:center;font-size:20px;color:#44857c}.count-row span:not(.count-icon){flex:1}.count-row input{width:60px;min-height:31px;padding:5px;margin:0}.discard-gallery{display:flex;gap:8px;flex-wrap:wrap;max-height:300px;overflow:auto}#toast{position:fixed;z-index:300;bottom:24px;left:50%;transform:translate(-50%,30px);background:#fff5dc;color:#163f43;padding:13px 22px;border-radius:8px;border:1px solid #eed595;font-size:12px;box-shadow:0 10px 30px #001f2888;opacity:0;pointer-events:none;transition:.2s;max-width:90vw;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}#drag-ghost{position:fixed;width:65px;height:65px;transform:translate(-50%,-50%);pointer-events:none;z-index:200;opacity:.9;box-shadow:0 8px 25px #001e2b66;border-radius:6px;overflow:hidden}#drag-ghost svg{width:100%;height:100%}
@media(min-width:1400px){.shared-center{padding:18px 30px}.table-surface{grid-template-columns:1fr minmax(680px,3fr) 1fr}.objective{max-width:110px}.pool-tile{width:49px;height:49px}.board{width:175px}.seat-north .board{width:125px}.own-player .board{width:248px}.own-player{grid-template-columns:1fr 248px 1fr}.own-player .player-heading{max-width:248px}.own-player .my-hand{min-width:220px}}
@media(max-width:1100px){.table-surface{grid-template-columns:130px minmax(390px,1fr) 130px;gap:12px;padding:15px}.board{width:123px}.shared-center{padding:14px}.objective-row{gap:5px}.objective-groups{gap:10px}.own-player{grid-template-columns:1fr 215px 1fr;column-gap:10px}.own-player .board{width:215px}.own-player .player-heading{max-width:215px}.own-player .my-hand{min-width:130px}.action-card{width:60px;min-width:60px;min-height:90px}.pool-tile{width:38px;height:38px}.player-heading{gap:5px}.player-heading strong{max-width:75px;font-size:10px}.score{font-size:16px}.avatar{width:22px;height:22px;font-size:10px}.welcome{padding:40px}.demo-board{width:280px;height:280px}.welcome-art{min-height:480px}.floating-card{width:115px}.header-right{gap:9px}.topbar{padding:15px 25px}}
@media(max-width:800px){.welcome{grid-template-columns:1fr;padding:35px 24px;gap:35px}.welcome-copy{max-width:540px;margin:auto;width:100%}.welcome h1{font-size:48px;letter-spacing:-2px}.entry-box{max-width:none}.welcome-art{max-width:430px;width:100%;margin:auto;min-height:450px}.welcome-footer{margin:0 24px;padding:20px 0}.welcome-features{gap:14px;font-size:9px}.header-right .tag{display:none}.topbar{padding:13px 18px;min-height:70px}.brand{font-size:12px;letter-spacing:1.5px}.brand small{font-size:7px;letter-spacing:2px}.brand-mark{width:29px;height:29px}.live{display:none}.header-right{gap:5px}.header-right .quiet{font-size:10px;padding:5px}.header-right .quiet span{display:none}.game-shell{padding:0 8px 15px}.table-topline{gap:5px;min-height:43px}.table-topline .tag{font-size:7px;letter-spacing:1px;padding:5px}.table-topline>.quiet{font-size:9px}.turn-order{gap:3px}.turn-order span{width:16px;height:16px;font-size:7px}.turn-order i{font-size:7px}.table-surface{grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto auto auto;grid-template-areas:'west north east' 'center center center' 'south south south';gap:18px 8px;padding:15px 12px;border-width:5px;border-radius:20px;min-height:600px}.seat-north .board,.board{width:100px;padding:4px;gap:2px}.seat-north .hidden-hand{position:static;margin-bottom:8px}.player-heading,.seat-north .player-heading{max-width:110px}.player-heading strong{max-width:60px;font-size:9px}.player-heading small{font-size:6px}.avatar{width:18px;height:18px;font-size:8px}.score{font-size:14px}.score small{font-size:6px}.hidden-hand{min-height:22px;margin-bottom:4px}.hidden-hand img{width:17px;height:25px;margin-left:-8px}.empty-seat{font-size:8px}.empty-seat small{font-size:6px}.shared-center{padding:14px 13px}.objective{max-width:115px}.objective-row{gap:7px}.objective-groups{gap:14px}.pool{gap:8px}.pool-tile{width:42px;height:42px}.own-player{grid-template-columns:1fr 210px 1fr;gap:8px}.own-player .board{width:210px}.own-player .player-heading{max-width:210px}.own-player .my-hand{grid-column:1/4;grid-row:3;padding-top:8px;min-width:0}.my-hand .section-label{justify-content:center}.hand-row{justify-content:center;max-height:150px;flex-wrap:nowrap}.action-card{width:70px;min-width:70px;min-height:100px}.own-player .trophies{max-width:90px}.own-player .trophies button,.own-player .trophies img{width:28px}.turn-message>strong{font-size:16px}.activity summary>span{display:none}.lobby-center h1{font-size:32px}.lobby-center{padding:5px}.room-code{font-size:22px;letter-spacing:3px}.trophies{gap:2px}.trophies button,.trophies img{width:17px}.trophies b{font-size:6px;padding:1px}.modal{padding:30px 23px}.card-detail{gap:20px}.card-detail h2{font-size:20px}.card-detail p{font-size:11px}.setting-columns{gap:15px}.count-row{font-size:10px}.count-row input{width:48px}.count-row svg,.count-icon{width:20px;height:20px}.eyebrow{font-size:8px}}
@media(max-width:420px){.board,.seat-north .board{width:87px}.own-player{grid-template-columns:1fr 190px 1fr}.own-player .board{width:190px}.player-heading{max-width:95px}.player-heading strong{max-width:48px}.avatar{display:none}.objective-row{gap:4px}.objective-groups{gap:10px}.pool-tile{width:36px;height:36px}.pool{gap:6px}.piles{gap:13px}.center-heading{font-size:7px;letter-spacing:1px}.section-label{font-size:7px;letter-spacing:.7px}.section-label span{font-size:6px}.card-detail{grid-template-columns:1fr}.card-detail>img{max-width:220px;margin:auto}.modal-backdrop{padding:14px}.setting-columns{grid-template-columns:1fr}.welcome-features{flex-wrap:wrap}.welcome-art{min-height:410px}.floating-card{width:100px}.demo-board{width:250px;height:250px}.topbar .brand small{display:none}.room-code{font-size:20px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.player-zone{position:relative}.preview-label{position:absolute;left:50%;bottom:-18px;transform:translateX(-50%);font-size:8px;white-space:nowrap;color:#ffe2a4;background:#07313c;padding:4px 8px;border-radius:4px;z-index:20;box-shadow:0 3px 10px #001d2d55}.remote-stage{position:absolute;inset:0;opacity:.76;border:2px dashed #fff1b5;z-index:8;pointer-events:none}.remote-stage svg{width:100%;height:100%;transition:transform .15s}.remote-drag{position:fixed;aspect-ratio:1;transform:translate(-50%,-50%);z-index:45;pointer-events:none;border:2px solid #ffdd89;border-radius:4px;box-shadow:0 5px 15px #001f2b88;transition:left .12s linear,top .12s linear;opacity:.9}.remote-drag svg{display:block;width:100%;height:100%}#presence-layer{position:fixed;inset:0;pointer-events:none;z-index:45}.cell.tile-animating{overflow:visible;z-index:25}.cell.tile-animating svg{position:relative;z-index:25}#played-card{position:fixed;z-index:80;left:50%;top:44%;transform:translate(-50%,-50%);width:150px;min-height:188px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:#fff2d1;color:#16474b;border:3px solid #e7b762;border-radius:12px;box-shadow:0 25px 80px #001f2bcc;animation:card-arrival .4s cubic-bezier(.15,.8,.2,1);pointer-events:none}#played-card small{font-size:10px}#played-card>span{font-size:43px;color:#1c7970}#played-card strong{font:800 16px Manrope,sans-serif;text-align:center;padding:0 8px}@keyframes card-arrival{from{opacity:0;transform:translate(-50%,20%) rotate(-16deg) scale(.6)}to{opacity:1;transform:translate(-50%,-50%) rotate(0) scale(1)}}
