:root{color:#17382c;font-synthesis:none;--ink:#17382c;--muted:#486357;--green:#216447;--line:#dce3d4;--paper:#fffcf3;--lime:#ddebab;--white:#fffefa;--shadow:0 8px 24px #243e2b0b;background:#f7f6ee;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:0;margin:0}button,input,select,textarea{font:inherit;color:inherit}button,.button{background:var(--white);text-align:center;cursor:pointer;border:1px solid #cbd8c8;border-radius:12px;justify-content:center;align-items:center;gap:.35rem;min-width:44px;min-height:44px;padding:8px 13px;font-weight:650;text-decoration:none;display:inline-flex}button:disabled{cursor:default;opacity:.55}:focus-visible{outline-offset:3px;outline:3px solid #b06c15}a{color:#1d6246;text-underline-offset:3px;font-weight:650;text-decoration-thickness:1px}.primary{color:#fff;background:var(--green);border-color:var(--green)}h1,h2,h3,p{overflow-wrap:anywhere}h1,h2,h3{letter-spacing:-.035em;line-height:1.12}h1{margin:1rem 0 .65rem;font-size:clamp(2.05rem,9vw,3.45rem)}h2{margin:1.25rem 0 .7rem;font-size:1.42rem}h3{margin:.9rem 0 .4rem;font-size:1.13rem}p{margin:.55rem 0 .9rem;line-height:1.5}small,.muted{color:var(--muted)}.top{z-index:3;border-bottom:1px solid var(--line);padding-top:env(safe-area-inset-top);background:#f7f6eef8;position:sticky;top:0}.top>div{justify-content:space-between;align-items:center;max-width:45rem;margin:auto;padding:8px clamp(12px,4vw,24px);display:flex}.brand{min-height:44px;color:var(--ink);letter-spacing:-.03em;align-items:center;gap:.55rem;font-size:1.15rem;font-weight:850;text-decoration:none;display:inline-flex}.brand img{border-radius:9px;width:34px;height:34px}.icon{padding:5px;font-size:1.2rem}.menu{background:var(--white);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:12px;padding:6px;position:absolute;top:100%;right:max(12px,50vw - 21rem)}.menu a{min-height:44px;padding:11px 14px;display:block}.content,.landing{max-width:45rem;padding:16px clamp(12px,4vw,24px) calc(100px + env(safe-area-inset-bottom));min-width:0;margin:auto}.landing{padding-top:max(20px,env(safe-area-inset-top))}.landing>.brand{margin-bottom:14px}.tabs{border-top:1px solid var(--line);z-index:4;padding:5px 5px max(5px,env(safe-area-inset-bottom));background:#fffefa;position:fixed;bottom:0;left:0;right:0}.tabs>div{grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;max-width:43rem;margin:auto;display:grid}.tabs a{border-radius:12px;flex-direction:column;justify-content:center;align-items:center;min-height:49px;font-size:clamp(.69rem,3.5vw,.85rem);text-decoration:none;display:flex}.tabs a b{font-size:1.17rem;line-height:1.15}.tabs [aria-current]{color:#154f37;background:#e7efd9}.hero{color:#fffefa;isolation:isolate;background:#143d30;border-radius:24px;margin:0 0 18px;padding:clamp(19px,6vw,32px);position:relative;overflow:hidden}.hero:after{content:"";z-index:-1;pointer-events:none;border:1px solid #accf8b55;border-radius:50%;width:230px;height:230px;position:absolute;top:-87px;right:-115px;box-shadow:0 0 0 17px #accf8b14,0 0 0 36px #accf8b0f,0 0 0 57px #accf8b0b}.hero h1{margin:.42rem 0;font-size:clamp(2.15rem,10vw,4rem);line-height:1.02}.hero p{color:#e0ecda}.hero-button,.hero .primary{color:#193926;background:var(--lime);border-color:var(--lime)}.hero-button{margin-top:.4rem}.eyebrow{color:#cae3a7;letter-spacing:.13em;font-size:.7rem;font-weight:800;display:block}.card,.game-card,.player-row,.score-list,.empty{border:1px solid var(--line);background:var(--white);box-shadow:var(--shadow);border-radius:16px}.card{margin:12px 0;padding:14px}.card>h2:first-child,.card>h1:first-child{margin-top:0}.page-head,.actions,.score-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:9px;display:flex}.page-head a{align-items:center;min-height:44px;display:inline-flex}.actions{justify-content:flex-start;margin:8px 0 12px}.actions span{font-size:.9rem}.game-card,.row-link{color:var(--ink);justify-content:space-between;align-items:center;gap:12px;min-height:44px;margin:8px 0;padding:12px;text-decoration:none;display:flex}.game-card>div{overflow-wrap:anywhere;gap:4px;min-width:0;display:grid}.game-card strong{font-size:1.02rem}.game-card span{font-size:.86rem;font-weight:500}.game-card>b{color:var(--green);font-size:1.5rem}.empty,.hint,.notice{color:#355749;padding:12px 14px}.hint,.notice{background:#e6eedb;border-radius:12px;margin:10px 0}.notice{color:#513710;overflow-wrap:anywhere;background:#f5eccd}.pill{color:#214c39;background:#e6eedb;border-radius:20px;padding:5px 9px;font-size:.75rem;font-weight:750;display:inline-flex}form{gap:12px;display:grid}label{gap:5px;min-width:0;font-size:.9rem;font-weight:650;display:grid}input:not([type=checkbox]),select,textarea{background:var(--white);border:1px solid #becebf;border-radius:10px;width:100%;min-width:0;max-width:100%;min-height:44px;padding:8px 10px;font-size:16px;display:block}input[type=color]{padding:4px}.check{align-items:center;gap:.55rem;min-height:44px;display:flex}.check input{width:20px;height:20px;accent-color:var(--green);flex:none}fieldset{border:1px solid var(--line);border-radius:12px;min-width:0;margin:8px 0;padding:8px}legend{font-weight:750}summary{cursor:pointer;color:#205841;min-height:44px;padding:11px 0;font-weight:750;display:list-item}details.card{padding-top:4px;padding-bottom:5px}details>label,.filters>label,.card>label{margin:8px 0 10px}.secret{background:#eef2df;border:1px solid #d8e2ca;border-radius:12px;margin:10px 0;padding:10px}.secret input{font-size:.85rem}.avatar{background:#eff1df;border:2px solid;border-radius:50%;flex:none;place-items:center;width:35px;height:35px;font-size:.8rem;font-weight:800;display:inline-grid}.player-row{justify-content:space-between;align-items:center;gap:8px;margin:8px 0;padding:6px 8px;display:flex}.player-row a{overflow-wrap:anywhere;align-items:center;gap:7px;min-width:0;min-height:44px;padding:5px;display:flex}.player-row small,.invites small{display:block}.select-list{max-height:17rem;overflow:auto}.reorder,.invites{margin:0;padding-left:0;list-style:none}.reorder li,.invites li{border-bottom:1px solid var(--line);align-items:center;gap:5px;padding:4px 0;display:flex}.reorder span,.invites span{overflow-wrap:anywhere;flex:1;min-width:0}.turn{background:#dfebd1;border-radius:16px;grid-template-columns:1fr auto;align-items:center;gap:5px 10px;margin:12px 0;padding:12px 13px;display:grid}.turn .eyebrow{color:#326343}.turn strong{overflow-wrap:anywhere;grid-row:2;font-size:1.4rem}.turn span:last-child{grid-area:2/2;font-size:.8rem}.segmented{background:#e8ecdf;border-radius:13px;grid-template-columns:1fr 1fr;gap:4px;margin:10px 0;padding:4px;display:grid}.segmented button{background:0 0;border-color:#0000;padding:5px 3px}.segmented [aria-pressed=true]{background:var(--white);border-color:#cbd8c8}.score-head{padding:11px 4px}.score-head strong{overflow-wrap:anywhere}.score-head b{font-size:1.25rem}.score-head span{font-size:.85rem}.score-list{overflow:hidden}.cell{text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;justify-content:space-between;width:100%;min-height:47px;padding:8px 12px;display:flex}.cell:last-child{border-bottom:0}.cell:disabled{opacity:1;cursor:default}.cell b{text-align:right;font-size:.79rem}.positive{color:#276744}.strike{color:#6e4a37}.scroll-table{border:1px solid var(--line);background:var(--white);border-radius:12px;max-width:100%;margin:10px 0;overflow:auto}.complete{max-height:62vh}table{border-collapse:separate;border-spacing:0;text-align:left;width:100%;font-size:.86rem}th,td{border-bottom:1px solid var(--line);min-width:44px;padding:10px}th{background:#edf1e4}.complete td{text-align:center;min-width:88px}.complete td button{border:0;padding:3px}.complete td,.complete th{padding:3px 7px}.complete thead th{z-index:1;min-height:44px;padding-block:10px;position:sticky;top:0}.complete tr>:first-child{z-index:2;background:#edf1e4;min-width:106px;position:sticky;left:0}.complete thead tr>:first-child{z-index:3}.result{margin-top:10px}.result h2{margin-top:.45rem;font-size:1.8rem}dialog{border:1px solid var(--line);width:min(100% - 12px,42rem);max-height:85dvh;margin:auto auto max(5px,env(safe-area-inset-bottom));background:var(--paper);color:var(--ink);border-radius:22px 22px 10px 10px;padding:15px;position:fixed;bottom:0;box-shadow:0 6px 40px #10281c33}dialog::backdrop{background:#0d221aba}dialog>button{margin:6px 6px 0 0}.panel-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.panel-head h2{margin:.3rem 0}.points{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:10px 0;display:grid}.points button:not(.tachar){background:#e2eed8}.tachar{color:#713e31}.rules dt{margin-top:.55rem;font-weight:800}.rules dd{margin:0;line-height:1.45}.score-stat{border-top:1px solid var(--line);padding-top:6px}.chart{padding-left:1.3rem}.chart li{margin-block:5px}.chart meter{width:100%;height:16px;accent-color:var(--green);display:block}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}.simple-home{max-width:28rem;margin-inline:auto}.simple-home h1{margin-block:clamp(18px,7vw,38px) 24px}.home-actions{gap:12px;display:grid}.home-actions .button{justify-content:flex-start;min-height:64px;padding:14px 18px;font-size:1rem}.home-actions .primary{min-height:76px;font-size:1.1rem}.home-help{flex-wrap:wrap;gap:16px;margin-top:14px;display:flex}.home-help a{align-items:center;min-height:44px;font-size:.9rem;display:inline-flex}.pending-games{margin-top:12px}.simple-tabs>div{grid-template-columns:repeat(3,minmax(0,1fr))}.game-picker h2{margin:0}.game-picker .select-list{max-height:19rem}.game-picker .check{border-bottom:1px solid var(--line);padding-inline:4px}.game-picker .start-game{min-height:55px}
