:root{color:#203a37;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#f7f7f0;font-family:Segoe UI,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent;outline-offset:4px}:focus-visible{outline:3px solid #c28723}a{color:inherit}button{cursor:pointer;border-radius:12px;min-height:48px;padding:12px 20px;font-weight:650;transition:background .15s}button:disabled{opacity:.6;cursor:wait}.primary{color:#fff;background:#173e3c;border:1px solid #173e3c;justify-content:space-between;align-items:center;gap:1rem;display:inline-flex}.primary:hover:not(:disabled){background:#295a55}.secondary{color:#173e3c;background:#fff;border:1px solid #aebeb5}.secondary:hover:not(:disabled){background:#edf2ec}.full{width:100%}.app{flex-direction:column;max-width:1320px;min-height:100dvh;margin:auto;display:flex}.app-header{border-bottom:1px solid #dfe4d9;justify-content:space-between;align-items:center;gap:20px;padding:26px 40px;display:flex}.brand{letter-spacing:-.7px;align-items:center;gap:11px;font-size:22px;font-weight:750;line-height:1.06;text-decoration:none;display:inline-flex}.brand img{border-radius:11px}.brand-small{letter-spacing:.3px;margin-top:4px;font-size:12px;font-weight:500;display:block}.user-chip{overflow-wrap:anywhere;align-items:center;gap:10px;min-width:0;font-size:14px;display:flex}.avatar{color:#254c43;background:#e3eadf;border-radius:50%;flex-shrink:0;place-items:center;width:38px;height:38px;font-size:16px;font-weight:650;display:inline-grid}.avatar.large{width:68px;height:68px;font-size:28px}.card{background:#fff;border:1px solid #e1e5db;border-radius:20px;box-shadow:0 3px 6px #193d3610}.eyebrow{letter-spacing:2px;color:#597265;margin:0 0 20px;font-size:11px;font-weight:750}h1,h2,p{overflow-wrap:anywhere}h1{letter-spacing:-1.8px;margin:0 0 20px;font-family:Georgia,Times New Roman,serif;font-size:clamp(36px,4.5vw,58px);font-weight:500;line-height:1.12}h1 em{color:#4c7162;font-weight:400}h2{letter-spacing:-.6px;margin:0 0 12px;font-size:23px;font-weight:650}p{line-height:1.6}.muted,.page-intro{color:#63726a}.sign-in-layout{grid-template-columns:1.2fr 1fr;align-items:center;gap:72px;max-width:1060px;margin:auto;padding:70px 40px;display:grid}.welcome{padding:12px 0}.welcome>p:not(.eyebrow):not(.welcome-note){color:#5e7368;max-width:330px;font-size:17px}.welcome-note{color:#6b7b70;font-size:12px}.letter-stack{gap:12px;padding:30px 10px 20px;display:flex}.letter-stack span,.little-tiles span{color:#57452f;background:#eee1bb;border:1px solid #daccaa;border-bottom:5px solid #cfbf94;border-radius:12px;place-items:center;width:66px;height:74px;font-family:Georgia,serif;font-size:38px;display:grid;transform:rotate(-10deg)}.letter-stack span:nth-child(2){background:#e6ecdf;border-color:#c8d1bd;transform:rotate(6deg)translateY(-12px)}.letter-stack span:nth-child(3){background:#f4dcc8;border-color:#ddbf9f;transform:rotate(14deg)}.sign-in{padding:38px}.sign-in h2{font-family:Georgia,serif;font-size:34px;font-weight:500}.sign-in .muted{margin-bottom:28px}fieldset{border:0;min-width:0;margin:0;padding:0}label{margin:20px 0 8px;font-size:13px;font-weight:650;display:block}input:not([type=checkbox]),select{color:#203a37;background:#fbfcf9;border:1px solid #b8c5bb;border-radius:9px;width:100%;min-height:48px;padding:10px 12px;font-size:16px;display:block}input:focus,select:focus{border-color:#447d6c}input::placeholder{color:#7c867e;font-size:13px}fieldset>button{margin-top:25px}.form-note{text-align:center;color:#6d776f;margin:25px 0 0;font-size:12px}.field-help{color:#6b786f;margin:8px 0;font-size:12px}.message{border-radius:10px;padding:12px 16px;font-size:14px}.message button{margin-top:10px}.error{color:#8a2d2a;background:#fff0e9;border:1px solid #eac5b8}.success{color:#245544;background:#eaf4e8;border:1px solid #bdd9bc}.app-footer{text-align:center;color:#768276;letter-spacing:.5px;margin-top:auto;padding:18px 24px 28px;font-size:11px}.skip-link{z-index:10;background:#fff;padding:10px;position:absolute;top:-100px;left:16px}.skip-link:focus{top:10px}.signed-in-layout{flex:1;grid-template-columns:180px minmax(0,1fr);display:grid}.navigation{border-right:1px solid #dfe4d9;flex-direction:column;gap:8px;padding:30px 16px;display:flex}.navigation a{color:#63766b;border-radius:10px;align-items:center;gap:12px;min-height:48px;padding:13px 16px;font-size:14px;text-decoration:none;display:flex}.navigation a[aria-current=page]{color:#214f43;background:#e7ecdf;font-weight:700}.nav-icon{font-size:25px;line-height:1}.content{min-width:0;padding:45px 48px 65px}.empty-state{text-align:center;max-width:600px;margin-top:36px;padding:50px 25px}.empty-state p{color:#708071;font-size:14px}.little-tiles{justify-content:center;padding-bottom:22px;display:flex}.little-tiles span{width:52px;height:58px;font-size:27px}.little-tiles span+span{background:#e4ecdf;border-color:#c5d1bc;transform:rotate(10deg)}.account-summary{max-width:500px;margin-top:30px;padding:36px}.account-summary h2{margin-top:18px}.badge{color:#42634e;background:#edf1e7;border-radius:6px;margin:0 0 8px;padding:3px 8px;font-size:12px;display:inline-block}.account-summary .secondary{margin-top:20px}.page-intro{margin-bottom:30px}.people-layout{grid-template-columns:minmax(240px,1fr) minmax(0,1.3fr);align-items:start;gap:26px;display:grid}.create-account{padding:26px}.create-account h2{font-size:21px}.create-account>p{font-size:13px}.people-list>h2{margin:5px 0 18px;font-size:18px}.people-feedback{z-index:6;position:sticky;bottom:24px}.count{background:#e5ebdf;border-radius:20px;margin-left:10px;padding:3px 8px;font-size:12px;display:inline-block}.person{border-radius:13px;margin-bottom:12px}.person summary{cursor:pointer;align-items:center;gap:12px;min-height:75px;padding:18px;list-style:none;display:flex}.person summary::-webkit-details-marker{display:none}.person-name{overflow-wrap:anywhere;min-width:0;font-size:14px;font-weight:650}.person-name small{color:#708071;margin-top:5px;font-size:11px;font-weight:400;display:block}.expand-label{color:#6d7c6d;white-space:nowrap;margin-left:auto;font-size:11px}.person form{border-top:1px solid #edf0e8;padding:0 20px 22px}.checkbox{align-items:center;gap:10px;min-height:44px;display:flex}.checkbox input{accent-color:#173e3c;width:19px;height:19px}.loading{text-align:center;color:#5e7368;padding:70px 30px}.connection-panel{max-width:550px;margin:60px auto;padding:40px}@media (width<=1000px){.content{padding:36px 28px}.signed-in-layout{grid-template-columns:160px minmax(0,1fr)}.people-layout{grid-template-columns:1fr}}@media (width<=700px){.people-feedback{bottom:calc(100px + env(safe-area-inset-bottom))}.app-header{padding:calc(20px + env(safe-area-inset-top)) 22px 20px}.brand{font-size:21px}.brand img{width:40px;height:40px}.user-chip{max-width:42%;font-size:12px}.user-chip .avatar{display:none}.sign-in-layout{flex-direction:column;align-items:stretch;gap:26px;max-width:500px;padding:30px 22px;display:flex}.welcome{padding:0}.welcome h1{margin-bottom:14px;font-size:38px}.welcome .eyebrow{margin-bottom:14px;font-size:9px}.welcome>p:not(.eyebrow):not(.welcome-note){max-width:310px;margin-bottom:0;font-size:14px}.letter-stack,.welcome-note{display:none}.sign-in{padding:26px}.sign-in h2{font-size:29px}.sign-in .eyebrow{margin-bottom:13px;font-size:9px}.sign-in .muted{margin:0 0 22px;font-size:14px}.form-note{margin-top:22px}.app-footer{padding-bottom:calc(24px + env(safe-area-inset-bottom))}.signed-in-layout{display:block}.navigation{z-index:5;padding:8px 14px calc(8px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border:0;border-top:1px solid #dfe4d9;flex-direction:row;justify-content:space-around;position:fixed;bottom:0;left:0;right:0}.navigation a{flex-direction:column;flex:1;gap:4px;max-width:140px;padding:7px;font-size:11px}.navigation .nav-icon{font-size:23px}.content{padding:32px 22px calc(110px + env(safe-area-inset-bottom))}.content h1{font-size:37px}.content .eyebrow{margin-bottom:14px;font-size:10px}.empty-state{margin-top:28px;padding:40px 18px}.empty-state h2{font-size:22px}.account-summary{padding:28px}.people-layout{gap:32px}.create-account{padding:24px}.connection-panel{margin:35px 22px;padding:28px}}@media (prefers-reduced-motion:reduce){*{transition:none!important}}.page-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;display:flex}.button-link{border-radius:12px;min-height:48px;padding:14px 20px;text-decoration:none}.game-group{margin:30px 0}.game-group h2{font-size:21px}.count{color:#52645c;font-size:15px;font-weight:400}.game-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px;padding:0;list-style:none;display:grid}.game-link{flex-direction:column;gap:8px;height:100%;padding:20px;text-decoration:none;display:flex}.game-link:hover{border-color:#567b66}.game-link strong{font-size:19px}.game-link small{color:#53665c;line-height:1.5}.game-scores{flex-wrap:wrap;gap:12px;display:flex}.new-game{max-width:650px}.new-game h1{margin-top:20px}.new-game fieldset{border:1px solid #ccd7cc;border-radius:14px;margin:20px 0;padding:20px}.new-game legend{padding:0 6px;font-weight:700}.game-settings{gap:18px;display:grid}.game-settings select{width:100%;min-height:48px;color:inherit;background:#fff;border:1px solid #9eafa3;border-radius:8px;padding:10px}.game-settings input{width:100%;display:block}.opponent-options{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;display:grid}.check-option{align-items:center;gap:12px;min-height:48px;margin:0;display:flex}.check-option input{accent-color:#214f43;flex-shrink:0;width:22px;height:22px;margin:0}.action-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.action-row button{flex:1;justify-content:center}.message p{margin:0 0 10px}.message p:last-child{margin:0}dialog{color:#203a37;background:#fff;border:1px solid #afc3b2;border-radius:18px;width:calc(100% - 32px);max-width:440px;max-height:85dvh;padding:24px;overflow:auto;box-shadow:0 15px 70px #142f3755}dialog::backdrop{background:#0b2529aa}dialog .action-row{margin-top:24px}.play-page{max-width:780px;margin:auto}.play-page h1{letter-spacing:-.6px;margin:12px 0;font-size:28px}.game-topline{justify-content:space-between;align-items:center;gap:10px;display:flex}.game-topline button{padding:8px 14px}.rules-note{color:#52645c;font-size:13px;line-height:1.5}.scoreboard{grid-template-columns:repeat(auto-fit,minmax(70px,1fr));gap:6px;margin:16px 0;display:grid}.score-card{text-align:center;background:#fff;border:1px solid #cad6c9;border-radius:10px;min-width:0;padding:10px 6px}.score-card.current{background:#eef4ea;border:2px solid #285846;padding:9px 5px}.score-card strong{margin:5px 0;font-size:25px;display:block}.score-card small{font-size:11px;line-height:1.4;display:block}.turn-notice{background:#e7eddf;border-radius:12px;margin:12px 0;padding:14px 16px;line-height:1.5}.turn-notice h2{font-size:20px}.turn-notice p{margin:4px 0 12px}.turn-notice .action-row{margin-top:12px}.board-section{-webkit-user-select:none;user-select:none}.board-tools{justify-content:space-between;align-items:center;gap:8px;margin:10px 0;display:flex}.board-tools>span{color:#52645c;max-width:135px;font-size:12px}.board-tools>div{gap:4px;display:flex}.board-tools button{border-radius:8px;min-width:44px;padding:8px 12px;font-size:14px}.board-viewport{aspect-ratio:1;touch-action:none;isolation:isolate;background:#dfe7d7;border:2px solid #486856;border-radius:4px;width:100%;position:relative;overflow:hidden}.board-canvas{transform-origin:0 0;will-change:transform;grid-template-rows:repeat(15,minmax(0,1fr));grid-template-columns:repeat(15,minmax(0,1fr));display:grid;position:absolute;inset:0}.board-row{display:contents}.board-cell{color:#203a37;cursor:pointer;touch-action:none;background:#dfe7d7;border:1px solid #f7f7ee;border-radius:0;place-items:center;min-width:0;min-height:0;padding:0;font-weight:650;display:grid;position:relative;overflow:hidden}.board-cell:focus-visible{outline-offset:-2px;z-index:2;outline:2px solid #112b40}.board-cell.premium-DL{color:#173f54;background:#b8d7e5}.board-cell.premium-TL{color:#fff;background:#3d799b}.board-cell.premium-DW{color:#512e21;background:#e4bca6}.board-cell.premium-TW{color:#fff;background:#a9423c}.premium-label{letter-spacing:-.3px;font-size:clamp(6px,1.8vw,13px)}.tile-face{color:#292c20;background:#f5e4b3;border:1px solid #a08849;border-radius:3px;place-items:center;width:100%;height:100%;font-size:clamp(12px,3.6vw,30px);font-weight:700;line-height:1;display:grid;position:relative;box-shadow:inset 0 -2px #c9ac6b}.tile-face sub{font-size:35%;font-weight:600;position:absolute;bottom:10%;right:7%}.blank-tile>span{text-underline-offset:3px;font-style:italic;text-decoration:underline}.board-cell.provisional{outline-offset:-3px;z-index:1;outline:2px dashed #153b39}.board-cell.selected .tile-face{background:#fff8d8}.board-cell.highlight .tile-face{box-shadow:inset 0 -4px #6b3c8f}.board-cell.highlight.player-0 .tile-face{box-shadow:inset 0 -4px #184c73}.board-cell.highlight.player-1 .tile-face{box-shadow:inset 0 -4px #8c4d16}.board-cell.highlight.player-2 .tile-face{box-shadow:inset 0 -4px #604593}.board-cell.highlight.player-3 .tile-face{box-shadow:inset 0 -4px #206542}.board-legend{color:#52645c;flex-wrap:wrap;gap:4px 12px;margin:8px 0 12px;font-size:11px;line-height:1.5;display:flex}.rack-section{margin:16px 0}.rack-section h2{margin-bottom:6px;font-size:18px}.rack{gap:5px;min-height:66px;padding:5px 2px 8px;display:flex;overflow-x:auto}.rack button{touch-action:none;background:0 0;border:0;border-radius:5px;flex:1;min-width:40px;max-width:64px;height:56px;min-height:56px;padding:0}.rack button .tile-face{font-size:27px}.rack button[aria-pressed=true]{outline-offset:1px;outline:3px solid #285846;transform:translateY(-2px)}.rack button.in-draft{opacity:.3}.rack-tools{flex-wrap:wrap;gap:6px;display:flex}.rack-tools button{padding:8px 12px;font-size:14px}.coordinate-place{flex-wrap:wrap;align-items:end;gap:8px;margin:16px 0;display:flex}.coordinate-place label{max-width:80px;margin:0;font-size:13px}.coordinate-place input{width:100%;min-height:46px;padding:8px}.coordinate-place button{flex:1;padding:10px;font-size:14px}.game-actions{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.game-actions button{flex:1;justify-content:center;padding:12px}.game-menu{border-top:1px solid #d4dfcf;margin-top:22px;padding:12px 0}.game-menu summary{cursor:pointer;align-items:center;min-height:48px;font-weight:700;display:flex}.game-menu .action-row{margin-bottom:12px}.history-list{padding-left:22px}.history-list li{border-bottom:1px solid #e1e5db;padding:8px 0;line-height:1.5}.history-list small{color:#53665c;display:block}.move-preview{background:#f0f5e9;border:1px solid #b5c9a8;border-radius:12px;margin:12px 0;padding:14px}.move-preview p{margin:5px 0}.blank-choices{grid-template-columns:repeat(6,1fr);gap:6px;display:grid}.blank-choices button{min-width:0;padding:8px}.tile-ghost{pointer-events:none;z-index:200;opacity:.9;width:50px;height:56px;position:fixed;transform:translate(-50%,-85%)}.tile-ghost .tile-face{font-size:26px}.result-panel{background:#fff8df;border:1px solid #d6bd74;border-radius:14px;padding:20px}.result-panel h2{font-family:Georgia,serif;font-size:28px}@media (width<=760px){.content:has(.play-page){padding:16px 12px calc(110px + env(safe-area-inset-bottom))}.page-heading h1{font-size:31px}.page-heading .button-link{margin-bottom:14px}.board-tools>span{max-width:110px;font-size:11px}.board-tools button{padding:8px 10px}.play-page h1{font-size:24px}.rack button{flex:0 0 44px}.rack{justify-content:center}.new-game fieldset{padding:16px}.score-card{font-size:12px}.score-card strong{font-size:23px}}@media (prefers-reduced-motion:reduce){.board-canvas{will-change:auto}}@media (orientation:landscape) and (height<=500px) and (pointer:coarse){.board-viewport{max-width:calc(100dvh - 120px);margin-inline:auto}.board-cell .tile-face{font-size:10px}.premium-label{font-size:7px}}.turn-status{margin:8px 0;padding:8px 12px}.turn-status h2{margin:0;font-size:18px}.turn-status p{margin:3px 0;font-size:13px}@media (width<=760px){.app.playing .app-header,.app.playing .navigation{display:none}.app.playing .content{padding-bottom:calc(24px + env(safe-area-inset-bottom))}.play-page .scoreboard{margin:10px 0}.play-page .score-card{padding:7px 4px}.play-page .score-card.current{padding:6px 3px}.play-page .score-card strong{margin:2px 0}.play-page>.rules-note{margin:6px 0 10px;font-size:12px}.play-page>.message{margin:8px 0;font-size:13px}.play-page .rack-section{margin:10px 0}}.avatar{flex-shrink:0;overflow:hidden}.avatar img{object-fit:cover;width:100%;height:100%}.social-links,.chat-tools,.chat-members,.profile-heading,.person-link,.chat-message header{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.social-links{margin-bottom:1.5rem}.social-list,.chat-timeline{padding:0;list-style:none}.social-list{gap:1rem;display:grid}.social-list a.card{color:inherit;overflow-wrap:anywhere;text-decoration:none;display:block}.social-list a.person-link{display:flex}.social-list small,.statistics-grid small,.person-link small{display:block}.profile-heading{margin:1rem 0}.profile-heading h1{margin:0}.profile-editor form{margin:1rem 0}.profile-editor input[type=file]{max-width:100%;padding:.5rem}.statistics-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem;display:grid}.statistics-grid dd{overflow-wrap:anywhere;margin:.4rem 0;font-weight:700}.chat-members a{align-items:center;gap:.4rem;display:flex}.chat-tools{justify-content:space-between}.chat-timeline{overscroll-behavior:contain;scroll-behavior:auto;max-height:55dvh;padding:.25rem;overflow-y:auto}.chat-timeline li{overflow-wrap:anywhere;border-radius:1rem;margin:.75rem 0;padding:1rem}.chat-message{background:var(--paper,#fffdf5);border:1px solid #d7dfd2}.chat-message.own{background:#eef4e9}.chat-message header{font-weight:700}.chat-message .avatar{width:30px;height:30px;font-size:.85rem}.chat-timeline p{white-space:pre-wrap}.chat-system{background:#f4efdc;border-left:3px solid #70815e}.chat-system>a{margin-left:.75rem;display:inline-block}.chat-page textarea{resize:vertical;width:100%;min-height:5rem;font:inherit;background:#fffef9;border:1px solid #9ba991;border-radius:.6rem;padding:.8rem}.chat-page fieldset{min-width:0}.conversation-avatars{gap:.25rem;display:flex}.profile-editor button,.chat-tools button{margin:.25rem}@media (width<=600px){.social-links>a{text-align:center;flex:1}.chat-timeline{max-height:48dvh}.chat-timeline li{padding:.7rem}}
