
:root{--paper:#f5f2e9;--ink:#183f33;--muted:#748176;--line:#d8ddd1;--lime:#d8ed8e;--cream:#fffdf5}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #a5be59;outline-offset:4px}[hidden]{display:none!important}.header,main,.footer{max-width:1240px;margin:auto}.header{height:112px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;text-decoration:none;font-size:30px;letter-spacing:-1.6px;font-weight:800;color:var(--ink)}.brand-icon{background:var(--ink);color:var(--paper);border-radius:6px;font-size:28px;width:28px;height:37px;display:grid;place-items:center;margin-right:12px;transform:rotate(-12deg)}.brand-dot{color:#81934f}.text-button{background:none;border:0;color:var(--ink);padding:10px;font-size:13px;font-weight:600}.text-button span{margin-left:15px}.home{padding:76px 40px 58px;display:grid;grid-template-columns:1.2fr 1fr;gap:80px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;margin:0 0 24px}.live-dot{display:inline-block;width:7px;height:7px;background:#769344;border-radius:50%;margin-right:7px}h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(48px,5.1vw,70px);letter-spacing:-3px;line-height:1.07;margin:0 0 25px}h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:33px;letter-spacing:-1px;margin:0 0 12px}.description{color:#697669;line-height:1.8;font-size:15px}.hero-tiles{display:flex;align-items:center;position:relative;height:230px;padding:24px 50px;gap:18px}.hero-tiles .tile{width:78px;height:150px;border-radius:12px;box-shadow:4px 8px 0 #dedacf,10px 19px 30px #183f3320;transform:rotate(-18deg)}#hero-two .tile{transform:translateY(12px) rotate(16deg)}.hero-tiles .pip{width:10px;height:10px}.scribble{font-family:Georgia,serif;font-style:italic;font-size:17px;transform:rotate(-9deg);color:#879078;margin:30px 0 0 15px}.home-note{display:flex;align-items:center;font-size:11px;color:#7c8679;line-height:1.6;gap:18px}.home-note>span{border:1px solid #ccd2bf;padding:9px 10px;border-radius:50%;color:var(--ink);font-size:10px;letter-spacing:1px}.entry-card{background:#fffef8;border:1px solid #e0e3d7;border-radius:15px;padding:33px 35px;box-shadow:0 15px 40px #153e3205;align-self:start}.card-top{display:flex;justify-content:space-between;align-items:start}.card-top .eyebrow{color:#7a856d;margin:0 0 27px}.tiny-tile{color:#82974a}.entry-card>p{font-size:13px;color:#788171;margin-bottom:28px}label{display:block;font-size:12px;font-weight:600;margin-bottom:10px}input{width:100%;border:1px solid #d9dfd1;border-radius:7px;height:49px;padding:0 15px;background:#fffef9;color:var(--ink);font-size:14px}input::placeholder{color:#9a9f91}#code{text-transform:uppercase;letter-spacing:2px;font-size:12px;min-width:0}.primary,.secondary,.cream-button{border-radius:7px;border:1px solid transparent;font-weight:600;padding:14px 19px;font-size:13px;transition:background .15s,transform .15s}.primary{background:var(--ink);color:var(--cream)}.primary:hover:not(:disabled){background:#265c48}.secondary{background:transparent;color:var(--ink);border-color:#cdd7c2}.secondary:hover:not(:disabled){background:#e8ecdf}.wide{width:100%;display:flex;justify-content:space-between;margin-top:17px}.divider{display:flex;align-items:center;gap:12px;color:#9a9f91;font-size:11px;margin:29px 0}.divider:before,.divider:after{content:'';flex:1;height:1px;background:#e7e9e0}.join-row{display:flex;gap:9px}.join-row button{white-space:nowrap}.entry-card .privacy-note{border-top:1px solid #eceee5;margin:26px 0 0;padding-top:18px;font-size:10px;line-height:1.7;color:#9a9f91}.footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;padding:24px 40px;font-size:12px}.footer>span:last-child{font-size:9px;letter-spacing:1.7px;color:#8b9486}.muted{color:#8b9486;margin-left:12px;font-size:11px}#game{padding:32px 40px}.room-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.room-toolbar .eyebrow{margin-bottom:7px}.room-heading{font-size:32px;letter-spacing:-1px;margin:0}.toolbar-actions{display:flex;gap:12px;align-items:center}.connection{font-size:11px;color:#66814f}.players{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:20px}.player{border:1px solid var(--line);border-radius:9px;display:flex;padding:14px;gap:11px;align-items:center;min-width:0}.player.active{border-color:#88a55f;background:#e7edd9}.player.empty{border-style:dashed;opacity:.65}.avatar{flex-shrink:0;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e4e9d7;font-family:Georgia,serif;font-size:20px}.player-name{display:block;font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px}.player-detail{font-size:10px;color:#76816c;display:block;margin-top:4px}.table-wrap{border:7px solid #b2bba0;border-radius:19px;background:radial-gradient(ellipse at 50% 20%,#2c5d46,#173e32);padding:22px 25px 17px;color:#f7f6e9;box-shadow:0 7px 0 #929f84;position:relative}.table-meta,.table-footer{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.7px;color:#b0c3a5;gap:12px}.table-footer{border-top:1px solid #ffffff16;padding-top:15px;letter-spacing:1px;margin-top:20px}.table-footer span:last-child{letter-spacing:0;text-align:right;font-size:11px}.lobby{text-align:center;padding:28px 0}.table-symbol{font-size:42px;color:var(--lime)}.lobby h2{font-size:36px;margin-top:15px;line-height:1.2}.lobby p{font-size:13px;color:#b6cbb3}.cream-button{background:var(--lime);color:#244535;margin-top:15px}.lobby .small{font-size:11px}.board-head{display:flex;justify-content:space-between;font-size:12px;color:var(--lime);padding-top:20px;gap:12px}.board-hint{font-size:10px;color:#b2c5ac;text-align:center}.board{display:flex;flex-wrap:wrap;gap:5px;align-content:center;align-items:center;min-height:230px;padding:24px 4px}.board>.tile{flex-shrink:0;width:66px;height:34px;flex-direction:row;border-radius:4px}.board .tile-half{width:50%;height:100%;padding:4px}.board .tile-half+.tile-half{border-top:0;border-left:1px solid #c2c7b5}.board .pip{width:4px;height:4px}.board>.tile:last-child{box-shadow:0 0 0 2px #d8ed8e}.tile{background:#f7f5e9;color:var(--ink);border:1px solid #e0e0ce;border-radius:7px;display:flex;flex-direction:column;width:49px;height:94px;padding:4px;box-shadow:0 3px 0 #c8cbb8;position:relative}.tile-half{height:50%;width:100%;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);padding:5px;align-items:center;justify-items:center}.tile-half+.tile-half{border-top:1px solid #c2c7b5}.pip{width:6px;height:6px;border-radius:50%;background:var(--ink)}.hand-section{padding:32px 0 10px}.hand-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center}.hand-toolbar .eyebrow{margin:0 0 7px;color:#748167}.hand-toolbar h2{font-size:25px;letter-spacing:-.5px;margin-bottom:0}.hand-actions{display:flex;gap:8px}.hand{display:flex;gap:12px;padding:27px 4px 14px;flex-wrap:wrap;min-height:125px}.hand .tile{transition:transform .15s,box-shadow .15s}.hand .tile:disabled{opacity:.65}.hand .tile.playable{box-shadow:0 3px 0 #98ad65,0 0 0 2px #a7bb77}.hand .tile.playable:hover{transform:translateY(-7px)}.hand .tile.selected{transform:translateY(-10px);box-shadow:0 3px 0 #98ad65,0 0 0 3px #264e37}.hand-help{font-size:11px;color:#7e8a74}.side-picker{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:#e6ebdc;padding:12px;border-radius:8px;font-size:12px}.result{text-align:center;padding:15px;background:#ffffff0c;border-radius:9px;color:#e3efbf;line-height:1.7;font-size:14px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#193f32;color:#fffdf5;box-shadow:0 6px 30px #0003;padding:15px 24px;border-radius:9px;font-size:13px;z-index:10;max-width:90vw;width:max-content}.toast.error{background:#8d3f30}dialog{border:1px solid #dbe0cf;border-radius:15px;background:var(--paper);color:var(--ink);padding:30px;max-width:520px;width:calc(100% - 32px)}dialog::backdrop{background:#0d2a23a6;backdrop-filter:blur(4px)}.dialog-top{display:flex;justify-content:space-between;align-items:center}.dialog-top .eyebrow{margin:0}dialog h2{margin-top:20px}dialog ol{padding-left:20px;font-size:13px;line-height:1.7}dialog li{margin-bottom:12px}dialog>p{font-size:12px;line-height:1.7;color:#6a7861}@media(min-width:1500px){.home{padding-top:100px;padding-bottom:90px}}@media(max-width:900px){.home{gap:35px;padding-top:45px}.entry-card{padding:28px 24px}.hero-tiles{padding-left:20px}.scribble{display:none}.toolbar-actions{gap:5px}.connection{display:none}.players{gap:8px}.player{padding:10px}.player-name{max-width:110px}.avatar{width:28px;height:28px}.hand-actions button{font-size:11px;padding:12px}.header{height:90px}}@media(max-width:650px){.header{height:77px;padding:0 22px}.brand{font-size:26px}.home{padding:36px 22px;grid-template-columns:1fr;gap:28px}.intro h1{font-size:52px;letter-spacing:-2px}.description{font-size:13px}.hero-tiles,.home-note{display:none}.intro .eyebrow{font-size:9px;margin-bottom:19px}.entry-card{padding:26px}.footer{margin:0 22px;padding:22px 0}.footer>span:last-child{display:none}.muted{font-size:10px}#game{padding:25px 16px}.room-heading{font-size:25px}.toolbar-actions .secondary{padding:11px;font-size:11px}.toolbar-actions .text-button{font-size:11px;padding:5px}.room-toolbar{gap:10px}.players{grid-template-columns:repeat(2,1fr)}.player-name{max-width:120px}.table-wrap{padding:17px 12px 13px;border-width:5px}.table-meta{font-size:8px;letter-spacing:1px}.lobby h2{font-size:29px}.lobby p{font-size:12px}.table-footer>span:first-child{display:none}.board{min-height:180px;gap:5px}.board>.tile{width:54px;height:29px}.board .pip{width:3px;height:3px}.board .tile-half{padding:2px}.board-head{font-size:10px}.board-hint{font-size:8px;max-width:140px}.hand-toolbar{align-items:start;flex-direction:column}.hand-toolbar h2{font-size:23px}.hand{gap:9px}.hand .tile{width:45px;height:86px}.hand .pip{width:5px;height:5px}.hand .tile-half{padding:4px}.side-picker .secondary,.side-picker .primary{padding:12px;font-size:11px}.side-picker>span{width:100%}.connection{display:none}}
