@import "https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap";:root{--bg:#f3f5f4;--card:#fff;--ink:#1b2420;--ink2:#39443f;--muted:#5b6762;--line:#eef1ef;--teal:#0f5e59;--teal-soft:#e6f2f0;--warm:#fff4e8;--warm-ink:#5e4632;--warm-accent:#b4530f;--radius:20px;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);color:var(--ink);background:var(--bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;font-family:Plus Jakarta Sans,system-ui,-apple-system,sans-serif}*{box-sizing:border-box}html,body{background:var(--bg);overscroll-behavior-y:none;min-height:100%;margin:0}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}h1,h2,h3,p{margin:0}a{color:var(--teal)}.app{flex-direction:column;max-width:560px;min-height:100dvh;margin:0 auto;display:flex}.screen{padding:calc(var(--safe-top) + 20px) 20px calc(var(--safe-bottom) + 100px);flex-direction:column;flex:1;gap:18px;display:flex}.top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.top .kicker{color:var(--muted);font-size:13px;font-weight:600}.top h1{letter-spacing:-.02em;font-size:26px;font-weight:800}.avatars{gap:6px;display:flex}.avatar{color:#fff;object-fit:cover;border-radius:50%;flex:none;justify-content:center;align-items:center;font-weight:800;display:inline-flex}.avatar-btn{background:0 0;border:0;border-radius:50%;padding:0}.section-title{justify-content:space-between;align-items:center;font-size:15px;font-weight:800;display:flex}.section-title button{color:var(--teal);background:0 0;border:0;padding:6px 0;font-size:13px;font-weight:700}.stack{flex-direction:column;gap:10px;display:flex}.card{background:var(--card);border-radius:var(--radius)}.list{background:var(--card);border-radius:var(--radius);padding:2px 14px}.row{border-bottom:1px solid var(--line);text-align:left;background:0 0;border-top:0;border-left:0;border-right:0;align-items:flex-start;gap:12px;width:100%;min-height:52px;padding:12px 0;display:flex}.list>.row:last-child,.list>:last-child .row{border-bottom:0}.row .time{width:46px;color:var(--ink2);flex:0 0 46px;padding-top:1px;font-size:13px;font-weight:700}.row .main{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.row .title{font-size:14px;font-weight:700}.row .sub{color:var(--muted);font-size:12px}.row.dim{opacity:.5}.row.dim .title{text-decoration:line-through}.dot{border-radius:50%;flex:0 0 10px;width:10px;height:10px;margin-top:4px}.pts{color:var(--teal);white-space:nowrap;align-self:center;font-size:12px;font-weight:800}.badge{background:var(--teal-soft);color:var(--teal);border-radius:999px;align-self:flex-start;align-items:center;gap:5px;margin-top:4px;padding:4px 10px;font-size:12px;font-weight:700;display:inline-flex}.badge.open{color:#9a2e12;background:#fde8e3}.badge.gray{color:var(--ink2);background:#eef1ef}.badges{flex-wrap:wrap;gap:6px;display:flex}.hero{background:var(--teal);color:#fff;text-align:left;border:0;border-radius:22px;flex-direction:column;gap:10px;padding:18px;display:flex}.hero .kicker{letter-spacing:.08em;text-transform:uppercase;color:#bfe3df;font-size:12px;font-weight:700}.hero .when{background:#ffffff24;border-radius:14px;padding:10px 12px;font-size:20px;font-weight:800}.hero .t{font-size:17px;font-weight:700}.hero .s{color:#d5ece9;font-size:13px}.note{background:var(--warm);color:var(--warm-ink);text-align:left;border:0;border-radius:18px;align-items:flex-start;gap:12px;width:100%;padding:14px;display:flex}.note svg{color:var(--warm-accent);flex:none;margin-top:1px}.note b{color:var(--ink);font-size:14px;display:block}.note span{font-size:13px}.req{background:#fff;border:2px solid #f3b9a6;border-radius:18px;flex-direction:column;gap:10px;padding:14px;display:flex}.req .q{font-size:15px;font-weight:800}.req .who{color:var(--muted);font-size:12px}.req .opts{flex-wrap:wrap;gap:8px;display:flex}.btn{background:var(--teal);color:#fff;border:0;border-radius:14px;min-height:46px;padding:12px 16px;font-size:15px;font-weight:700}.btn.light{background:var(--teal-soft);color:var(--teal)}.btn.ghost{color:var(--ink);background:0 0;border:1.5px solid #b5c0bb}.btn.danger{color:#9a2e12;background:#fde8e3}.btn.sel{background:var(--ink);color:#fff}.btn.small{border-radius:12px;min-height:38px;padding:8px 12px;font-size:13px}.btn:disabled{opacity:.45}.btn-row{flex-wrap:wrap;gap:8px;display:flex}.add{color:#2f3a35;background:0 0;border:1.5px dashed #9aa8a2;border-radius:18px;width:100%;min-height:48px;padding:14px;font-size:14px;font-weight:700}.icon-btn{background:#eef1ef;border:0;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;display:inline-flex}.box{background:#fff;border:2px solid #b5c0bb;border-radius:8px;flex:0 0 24px;justify-content:center;align-items:center;width:24px;height:24px;margin-top:0;display:inline-flex}.box.done{background:var(--teal);border-color:var(--teal)}.seg{background:#e3e8e5;border-radius:14px;grid-auto-columns:1fr;grid-auto-flow:column;gap:4px;padding:4px;display:grid}.seg button{color:var(--ink2);background:0 0;border:0;border-radius:10px;min-height:38px;padding:9px 4px;font-size:13px;font-weight:700}.seg button.on{color:var(--ink);background:#fff;box-shadow:0 1px 2px #00000014}.days{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.days button{min-height:54px;color:var(--ink2);background:#fff;border:0;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:1px;font-size:13px;font-weight:700;display:flex}.days button small{opacity:.8;font-size:11px;font-weight:600}.days button.on{background:var(--teal);color:#fff}.days button.today:not(.on){box-shadow:inset 0 0 0 2px var(--teal)}.week-nav{color:var(--ink2);justify-content:space-between;align-items:center;font-size:13px;font-weight:700;display:flex}.week-nav button{color:var(--teal);background:0 0;border:0;padding:6px;font-weight:700}.ev{text-align:left;background:#fff;border:0;border-radius:18px;align-items:flex-start;gap:12px;width:100%;padding:13px 14px;display:flex}.ev.cancel{opacity:.5}.ev.cancel .title{text-decoration:line-through}.ev .head{justify-content:space-between;gap:8px;display:flex}.ev .title{font-size:14px;font-weight:700}.ev .t{color:var(--ink2);white-space:nowrap;font-size:12px;font-weight:700}.ev .sub{color:var(--muted);font-size:12px}.ev .main{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.holiday-banner{color:#1e3a8a;background:#e8f0fb;border-radius:14px;padding:10px 14px;font-size:13px;font-weight:700}.score{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.score>div{border-radius:18px;flex-direction:column;gap:2px;padding:14px;display:flex}.score .n{font-size:26px;font-weight:800}.score .n small{font-size:13px}.score .l{font-size:13px;font-weight:700}.goal{background:#fff;border-radius:18px;flex-direction:column;gap:8px;padding:14px;display:flex}.bar{background:#e3e8e5;border-radius:999px;height:10px;overflow:hidden}.bar i{background:var(--teal);border-radius:999px;height:100%;display:block}.game-card{background:var(--ink);color:#fff;border-radius:22px;flex-direction:column;gap:8px;padding:18px;display:flex}.game-card .kicker{letter-spacing:.08em;text-transform:uppercase;color:#f6c38f;font-size:12px;font-weight:700}.game-card h3{font-size:19px;font-weight:800}.game-card p{color:#c9d2ce;font-size:13px}.game-card .btn{color:var(--ink);background:#f6c38f;align-self:flex-start}.wish{background:#fff;border-radius:16px;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;display:flex}.wish .title{font-size:14px;font-weight:600}.wish .cost{background:var(--teal-soft);color:var(--teal);white-space:nowrap;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800}.input-row{gap:8px;display:flex}.input,.field input,.field select,.field textarea{background:#fff;border:1.5px solid #dde3e0;border-radius:14px;width:100%;min-height:48px;padding:12px 14px;font-size:16px}.input-row .input{border-color:#0000;flex:1}.field textarea{resize:vertical;min-height:90px}.field{flex-direction:column;gap:6px;display:flex}.field>span{color:var(--ink2);font-size:13px;font-weight:700}.grid2{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.chips{flex-wrap:wrap;gap:6px;display:flex}.chip{background:#fff;border:1.5px solid #cbd3cf;border-radius:999px;min-height:40px;padding:8px 14px;font-size:14px;font-weight:700}.chip.small{min-width:42px;padding:6px 10px}.chip.on.dark{background:var(--ink);color:#fff;border-color:var(--ink)}.toggle{background:#fff;border:1.5px solid #dde3e0;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex;position:relative}.toggle span{flex-direction:column;gap:2px;font-size:14px;display:flex}.toggle small{color:var(--muted);font-size:12px}.toggle input{opacity:0;width:1px;height:1px;position:absolute}.toggle i{background:#cbd3cf;border-radius:999px;flex:0 0 46px;width:46px;height:28px;transition:background .15s;position:relative}.toggle i:after{content:"";background:#fff;border-radius:50%;width:22px;height:22px;transition:transform .15s;position:absolute;top:3px;left:3px}.toggle input:checked+i{background:var(--teal)}.toggle input:checked+i:after{transform:translate(18px)}.toggle input:focus-visible+i{outline:2px solid var(--ink);outline-offset:2px}.sheet-bg{z-index:50;background:#141c1973;justify-content:center;align-items:flex-end;animation:.15s fade;display:flex;position:fixed;inset:0}.sheet{background:var(--bg);border-radius:26px 26px 0 0;flex-direction:column;width:100%;max-width:560px;max-height:92dvh;animation:.2s ease-out up;display:flex}.sheet-head{justify-content:space-between;align-items:center;padding:18px 20px 10px;display:flex}.sheet-head h2{font-size:20px;font-weight:800}.sheet-body{padding:4px 20px calc(var(--safe-bottom) + 24px);flex-direction:column;gap:14px;display:flex;overflow-y:auto}@keyframes up{0%{opacity:0;transform:translateY(40px)}to{opacity:1;transform:none}}@keyframes fade{0%{opacity:0}to{opacity:1}}.comment{align-items:flex-start;gap:10px;display:flex}.comment .bubble{background:#fff;border-radius:14px;flex:1;padding:9px 12px;font-size:14px}.comment .meta{color:var(--muted);margin-bottom:2px;font-size:11px;font-weight:600}.tabbar{padding:6px 8px calc(var(--safe-bottom) + 6px);z-index:20;background:#fff;border-top:1px solid #e3e8e5;position:fixed;bottom:0;left:0;right:0}.tabbar .inner{grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;max-width:560px;margin:0 auto;display:grid}.tabbar button{color:#6b7671;background:0 0;border:0;flex-direction:column;align-items:center;gap:3px;min-height:50px;padding:6px 0;font-size:11px;font-weight:700;display:flex;position:relative}.tabbar button.on{color:var(--teal)}.tabbar .count{color:#fff;background:#c2410c;border-radius:999px;justify-content:center;align-items:center;min-width:17px;height:17px;padding:0 4px;font-size:10px;display:flex;position:absolute;top:2px;right:calc(50% - 22px)}.empty{text-align:center;color:var(--muted);padding:22px 10px;font-size:14px}.muted{color:var(--muted);font-size:13px}.small{font-size:12px}.center{justify-content:center;align-items:center;min-height:100dvh;padding:24px;display:flex}.login{flex-direction:column;gap:16px;width:100%;max-width:380px;display:flex}.login h1{letter-spacing:-.02em;font-size:30px;font-weight:800}.login .logo{background:var(--teal);border-radius:18px;justify-content:center;align-items:center;width:64px;height:64px;display:flex}.code-input{letter-spacing:.4em;text-align:center;font-weight:800;font-size:24px!important}.err{color:#9a2e12;font-size:13px;font-weight:600}.lock{color:var(--muted);align-items:center;gap:3px;font-size:11px;font-weight:700;display:inline-flex}canvas.game{touch-action:manipulation;background:#e6f2f0;border-radius:18px;width:100%;display:block}.ptr{z-index:30;padding-top:var(--safe-top);color:var(--teal);background:linear-gradient(var(--bg) 70%, transparent);pointer-events:none;flex-direction:column;justify-content:flex-end;align-items:center;gap:2px;display:flex;position:fixed;top:0;left:0;right:0;overflow:hidden}.ptr-icon{display:inline-flex}.ptr-icon.spin{animation:.8s linear infinite spin}.ptr-text{color:var(--muted);padding-bottom:6px;font-size:11px;font-weight:700}@keyframes spin{to{transform:rotate(360deg)}}
