:root{--bg: #e8f6ff;--card: #ffffff;--ink: #2d3a2e;--muted: #6b7a6c;--green: #4caf50;--green-d: #2e7d32;--yellow: #ffca28;--red: #e57373;--blue: #42a5f5;--shadow: 0 4px 0 rgba(0, 0, 0, .12), 0 8px 18px rgba(0, 0, 0, .08);--radius: 18px;--tap: 56px;font-family:Nunito,"Baloo 2",Segoe UI,system-ui,-apple-system,sans-serif;color:var(--ink)}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;min-height:100%;background:var(--bg);overscroll-behavior:none}body{-webkit-user-select:none;user-select:none}button{font:inherit;color:inherit;cursor:pointer;border:0;background:none;touch-action:manipulation}button:disabled{opacity:.45;cursor:default}input,select{font:inherit}h1,h2,h3{margin:.3em 0}h3 small,h2 small{font-weight:400;color:var(--muted);font-size:.8em}.muted{color:var(--muted)}.small{font-size:.85rem}.grow{flex:1;min-width:0}.row{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;align-items:center;margin-top:12px}.loading,.fatal{display:grid;place-items:center;min-height:100vh;font-size:1.4rem;text-align:center;padding:16px}.btn{min-height:48px;padding:10px 18px;border-radius:999px;background:#fff;box-shadow:var(--shadow);font-weight:700;display:inline-flex;gap:6px;align-items:center;justify-content:center}.btn:active{transform:translateY(2px);box-shadow:0 2px #0000001f}.btn.primary{background:var(--green);color:#fff}.btn.danger{background:var(--red);color:#fff}.btn.ghost{background:transparent;box-shadow:none;text-decoration:underline}.btn.sm{min-height:38px;padding:6px 12px;font-size:.9rem}.btn .ticon{width:28px;height:28px}.speaker{width:40px;height:40px;border-radius:50%;background:#fff3c4;font-size:1.1rem;flex:none;box-shadow:0 2px #0000001a}.speaker.small{width:32px;height:32px;font-size:.9rem}.input{width:100%;min-height:48px;padding:8px 14px;border-radius:14px;border:2px solid #cfe3d0;background:#fff}.screen{min-height:100vh;min-height:100dvh;padding:12px 16px calc(16px + env(safe-area-inset-bottom));max-width:1200px;margin:0 auto}.title{text-align:center;color:var(--green-d);font-size:clamp(1.6rem,5vw,2.4rem);text-shadow:0 2px 0 #fff}.title .subtitle{display:block;font-size:.55em;color:var(--orange-d, #e65100);letter-spacing:.02em;margin-top:2px}.lead{text-align:center;font-size:1.1rem}.hero{font-size:4rem;text-align:center}.hero.small{font-size:3rem;width:84px;height:84px;margin:0 auto;border-radius:50%;background:var(--c, #ddd);display:grid;place-items:center}.center-card{max-width:420px;margin:0 auto;background:var(--card);border-radius:var(--radius);padding:16px;box-shadow:var(--shadow)}.picker,.setup{background:linear-gradient(#bfe7ff,#e9f9e0);max-width:none}.profile-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:14px;max-width:760px;margin:18px auto}.profile-card{background:#fff;border-radius:22px;padding:16px 8px;box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:center;gap:6px;border-bottom:6px solid var(--c, #ccc)}.profile-card:active{transform:scale(.97)}.profile-card .avatar{font-size:3rem;width:80px;height:80px;border-radius:50%;background:color-mix(in srgb,var(--c, #ccc) 30%,white);display:grid;place-items:center}.profile-card b{font-size:1.25rem}.profile-card.add{border-bottom-color:#bbb;opacity:.85}.picker>.btn.ghost{display:block;margin:12px auto}.avatar.sm{font-size:1.4rem;width:40px;height:40px;border-radius:50%;background:color-mix(in srgb,var(--c, #ccc) 35%,white);display:inline-grid;place-items:center;flex:none}.pin-pad{text-align:center}.pin-dots{display:flex;gap:12px;justify-content:center;margin:12px 0}.pin-dots span{width:26px;height:26px;border-radius:50%;border:3px solid var(--green);display:grid;place-items:center;font-size:1rem}.pin-dots span.on{background:var(--green)}.pin-msg{min-height:1.4em;color:var(--muted)}.pin-msg.err{color:#c62828;font-weight:700}.pin-keys{display:grid;grid-template-columns:repeat(3,72px);gap:10px;justify-content:center;margin-top:8px}.pin-key{height:64px;border-radius:18px;background:#f1f8e9;font-size:1.6rem;font-weight:800;box-shadow:0 3px #0000001f}.pin-key:active{transform:translateY(2px)}.pin-key .pic{display:flex;flex-direction:column;line-height:1}.pin-key .pic small{font-size:.7rem;color:var(--muted)}.parent-list{display:flex;flex-direction:column;gap:8px;margin:10px 0}.parent-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;background:#f6fbf4;border-radius:14px;padding:8px}.parent-row select{min-height:38px;border-radius:10px}.form{display:flex;flex-direction:column;gap:12px}.form label{display:flex;flex-direction:column;gap:6px;font-weight:700}.form label.check{flex-direction:row;align-items:center;font-weight:400}.chip-row{display:flex;flex-wrap:wrap;gap:6px}.chip{width:46px;height:46px;border-radius:14px;background:#f1f1f1;font-size:1.5rem;border:3px solid transparent}.chip.on{border-color:var(--green);background:#e8f5e9}.chip.color{width:36px;height:36px;border-radius:50%}.slider input{width:100%;accent-color:var(--green)}.modal-back{position:fixed;top:0;right:0;bottom:0;left:0;background:#14281473;display:grid;place-items:center;padding:16px;z-index:50;animation:fade .2s}.modal-back.out{opacity:0;transition:opacity .2s}.modal{position:relative;background:#fff;border-radius:24px;padding:20px 16px 16px;width:min(440px,100%);max-height:90vh;overflow:auto;box-shadow:0 12px 40px #00000040;animation:rise .25s;-webkit-user-select:text;user-select:text}.modal.wide{width:min(640px,100%)}.modal.sheet{width:min(520px,100%)}.modal-x{position:absolute;right:10px;top:10px;width:40px;height:40px;border-radius:50%;background:#f1f1f1;font-size:1.1rem}.toast-wrap{position:fixed;left:50%;transform:translate(-50%);top:calc(64px + env(safe-area-inset-top));z-index:60;display:flex;flex-direction:column;gap:6px;width:min(420px,calc(100% - 32px));pointer-events:none}.toast{pointer-events:auto;background:#fff;border-radius:16px;padding:10px 14px;box-shadow:var(--shadow);display:flex;flex-direction:column;border-left:6px solid var(--blue);animation:rise .25s}.toast small{color:var(--muted)}.toast.good{border-color:var(--green)}.toast.oops{border-color:var(--yellow)}.toast.out{opacity:0;transform:translateY(-8px);transition:all .35s}.toast .btn{margin-top:6px;align-self:flex-start}.word-badge{display:inline-flex;align-items:center;gap:8px;background:#fffde7;border:2px solid #ffe082;border-radius:14px;padding:4px 6px 4px 12px;max-width:100%}.wb-text{display:flex;flex-direction:column;line-height:1.15;min-width:0}.wb-text b{font-size:1.05rem}.wb-text small{color:var(--muted)}.word-badge.big .wb-text b{font-size:1.3rem}.word-chips{display:flex;flex-wrap:wrap;gap:8px}.farm{position:relative;display:grid;grid-template-rows:auto auto 1fr auto auto;gap:10px;padding-bottom:calc(112px + env(safe-area-inset-bottom))}.scene{position:fixed;top:0;right:0;bottom:0;left:0;z-index:-1}.scene svg{width:100%;height:100%}.topbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#ffffffd9;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:20px;padding:6px 8px;box-shadow:var(--shadow);position:sticky;top:6px;z-index:10}.topbar h2{flex:1;font-size:1.2rem;text-align:center}.who{display:flex;align-items:center;gap:6px;padding:4px 10px 4px 4px;border-radius:999px;background:color-mix(in srgb,var(--c) 20%,white)}.stat{font-weight:800;background:#fff8e1;border-radius:999px;padding:6px 12px;display:inline-flex;align-items:center;gap:6px}.lvbar{display:inline-block;width:56px;height:8px;border-radius:4px;background:#eee;overflow:hidden}.lvbar i{display:block;height:100%;background:var(--yellow)}.nav{margin-left:auto;display:flex;gap:4px}.nav-btn{min-width:var(--tap);min-height:var(--tap);border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:1.4rem;line-height:1}.nav-btn small{font-size:.65rem;margin-top:2px;color:var(--muted)}.nav-btn:active{background:#eee}.nav-btn.pulse{animation:pulse 1.2s infinite;background:#fff3c4}.region-tag{justify-self:center;background:#fffc;padding:4px 14px;border-radius:999px;font-weight:700;font-size:.9rem}.field{display:grid;gap:14px;align-content:start}.plots{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.pens{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px}.slot{position:relative;aspect-ratio:1;border-radius:22px;background:#ffffff59;padding:0;transition:transform .15s}.slot.animal{aspect-ratio:1.3}.slot .sprite,.slot .sprite svg{width:100%;height:100%;display:block}.slot.focus{outline:4px solid #fff;outline-offset:2px}.slot.needs .slot-hint{animation:bounce 1.4s infinite}.slot-hint{position:absolute;top:-6px;right:-4px;width:40px;height:40px;border-radius:50%;background:#fff;box-shadow:var(--shadow);padding:4px;opacity:0;transform:scale(.5);transition:all .2s;pointer-events:none}.slot-hint.on{opacity:1;transform:scale(1)}.slot-hint svg{width:100%;height:100%}.slot .bar{position:absolute;left:12%;right:12%;bottom:6%;height:8px;border-radius:4px;background:#ffffffb3;overflow:hidden;opacity:0}.slot .bar.on{opacity:1}.slot .bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#aed581,#66bb6a);transition:width 1s linear}.slot.boosted .bar i{background:linear-gradient(90deg,#ffee58,#ffa726)}.slot.boosted:after{content:"⚡";position:absolute;left:6px;top:2px;font-size:1.2rem}.slot-badge{position:absolute;left:50%;top:30%;transform:translate(-50%);background:#fffde7;border:2px solid #ffe082;border-radius:12px;padding:4px 10px;display:flex;flex-direction:column;align-items:center;white-space:nowrap;opacity:0;pointer-events:none;font-size:.9rem;z-index:2}.slot-badge small{color:var(--muted);font-size:.75rem}.slot-badge.show{animation:badge 2.8s forwards}.guide{background:#ffffffeb;border-radius:20px;padding:10px 12px;box-shadow:var(--shadow)}.guide-head{display:flex;justify-content:space-between;align-items:center}.steps{list-style:none;display:grid;grid-template-columns:repeat(5,1fr);gap:4px;padding:0;margin:8px 0}.steps li{display:flex;flex-direction:column;align-items:center;text-align:center;opacity:.45;font-size:.7rem;line-height:1.1}.steps li span{width:38px;height:38px;border-radius:50%;background:#eceff1;display:grid;place-items:center;font-size:1.15rem;margin-bottom:2px}.steps li.done{opacity:.8}.steps li.done span{background:#c8e6c9;color:var(--green-d);font-weight:800}.steps li.now{opacity:1;font-weight:800}.steps li.now span{background:var(--yellow);animation:bounce 1.4s infinite;box-shadow:0 0 0 4px #fff3c4}.next{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.next>.ticon{width:44px;height:44px;flex:none}.timer{font-weight:800}.toolbar{position:fixed;left:0;right:0;bottom:0;z-index:20;display:flex;gap:6px;overflow-x:auto;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:#fffffff2;box-shadow:0 -4px 16px #0000001a;scroll-snap-type:x proximity}.tool{flex:none;width:72px;min-height:84px;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:#f5f5f5;scroll-snap-align:start;border:3px solid transparent}.tool small{font-size:.68rem;line-height:1.05;text-align:center}.tool.on{background:#e8f5e9;border-color:var(--green);transform:translateY(-4px)}.tool.hint{animation:pulse 1s infinite;border-color:var(--yellow)}.ticon{display:inline-block;width:44px;height:44px}.ticon svg{width:100%;height:100%}.choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin-top:10px}.choices.col{grid-template-columns:1fr}.choice{background:#f6fbf4;border-radius:18px;padding:12px 8px;display:flex;flex-direction:column;align-items:center;gap:4px;min-height:var(--tap);box-shadow:0 3px #0000001a;text-align:center}.choice small{color:var(--muted)}.choice.line{flex-direction:row;justify-content:flex-start;text-align:left;font-size:1.05rem;padding:14px 16px}.choice.locked{opacity:.5}.choice .ticon{width:52px;height:52px}.big-emoji{font-size:2.2rem}.waiting{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}.market{background:linear-gradient(#ffe9c4,#fff8ec);max-width:none}.market>*{max-width:900px;margin-left:auto;margin-right:auto}.market-intro{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:12px auto}.stock{background:#fff;border-radius:16px;padding:10px 14px;display:flex;gap:10px;flex-wrap:wrap;align-items:center;box-shadow:var(--shadow)}.stock-item{font-size:1.2rem;font-weight:800}.orders{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin-top:14px}.order{background:#fff;border-radius:20px;padding:12px;display:flex;flex-direction:column;gap:8px;align-items:center;box-shadow:var(--shadow);border-top:6px solid #ddd}.order.ready{border-top-color:var(--green)}.order .cust,.order .want{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:center}.order .want small{display:flex;align-items:center;gap:4px;color:var(--muted)}.price{font-weight:800;font-size:1.2rem}.dialogue .chat{display:flex;flex-direction:column;gap:8px;max-height:40vh;overflow:auto;padding:4px}.bubble{display:flex;align-items:center;gap:8px;max-width:92%}.bubble p{margin:0;padding:10px 14px;border-radius:18px;background:#f1f8e9;font-size:1.05rem}.bubble.customer p{background:#fff3e0;border-bottom-left-radius:4px}.bubble.kid{align-self:flex-end;flex-direction:row-reverse}.bubble.kid p{background:#e3f2fd;border-bottom-right-radius:4px}.bubble .who{font-size:1.8rem}.dictionary{background:linear-gradient(#e3f2fd,#f6fbff);max-width:none}.dictionary>*{max-width:800px;margin-left:auto;margin-right:auto}.search{margin:12px auto;display:block}.tabs{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px}.tab{flex:none;padding:8px 14px;border-radius:999px;background:#fff;font-weight:700;min-height:44px}.tab.on{background:var(--blue);color:#fff}.dict-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:8px;margin-top:10px}.dict-item{display:flex;align-items:center;gap:8px;background:#fff;border-radius:14px;padding:8px 10px;box-shadow:0 2px #00000014}.dict-item b{display:block}.dict-item small{color:var(--muted)}.dict-item.sentence{grid-column:1 / -1}.dict-item.locked{opacity:.5}.stars{color:#f9a825;letter-spacing:1px}.summary .lines{list-style:none;padding:0;display:flex;flex-direction:column;gap:6px}.summary .lines li{display:flex;align-items:center;gap:10px;background:#f6fbf4;border-radius:14px;padding:8px 10px}.summary .lines b{display:block}.summary .lines small{color:var(--muted)}.li-icon{font-size:1.6rem}.how{padding-left:20px;display:flex;flex-direction:column;gap:6px}.quiz{text-align:center}.quiz h2{display:flex;gap:8px;justify-content:center;align-items:center;font-size:1.8rem}.shake{animation:shake .4s}.pop{animation:pop .3s}.sway{animation:sway 3s ease-in-out infinite}.bob{animation:bob 1.6s ease-in-out infinite}.crawl{animation:crawl 1.2s ease-in-out infinite}.float{animation:floatUp 2s ease-in-out infinite}.cloud{animation:drift 40s linear infinite alternate}@keyframes shake{0%,to{transform:translate(0)}20%,60%{transform:translate(-6px)}40%,80%{transform:translate(6px)}}@keyframes pop{50%{transform:scale(1.06)}}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.08)}}@keyframes sway{0%,to{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}@keyframes bob{0%,to{transform:translateY(0)}50%{transform:translateY(-2px)}}@keyframes crawl{0%,to{transform:translate(0)}50%{transform:translate(3px)}}@keyframes floatUp{0%,to{transform:translateY(0);opacity:1}50%{transform:translateY(-4px);opacity:.7}}@keyframes drift{to{transform:translate(120px)}}@keyframes badge{0%{opacity:0;transform:translate(-50%,10px)}12%,80%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,-14px)}}@keyframes fade{0%{opacity:0}}@keyframes rise{0%{opacity:0;transform:translateY(16px)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important}}@media(min-width:900px){.farm{grid-template-columns:1fr 340px;grid-template-rows:auto auto 1fr}.farm .topbar,.farm .region-tag{grid-column:1 / -1}.farm .guide{align-self:start;position:sticky;top:80px}.plots{gap:14px}}@media(max-width:520px){.topbar{gap:4px}.who b{display:none}.nav-btn{min-width:48px}.plots{gap:8px}.steps li small{font-size:.6rem}}@media(orientation:landscape)and (max-height:500px){.farm{grid-template-columns:1fr 300px}.farm .topbar,.farm .region-tag{grid-column:1 / -1}.plots{grid-template-columns:repeat(6,1fr)}.tool{min-height:64px;width:64px}.tool .ticon{width:34px;height:34px}.farm{padding-bottom:90px}}.center{text-align:center}.shed,.map{background:linear-gradient(#e8f5e9,#f9fff5);max-width:none}.shed>*,.map>*{max-width:900px;margin-left:auto;margin-right:auto}.shed-list{display:flex;flex-direction:column;gap:10px;margin-top:12px}.helper-card{display:flex;align-items:center;gap:12px;background:#fff;border-radius:18px;padding:10px 12px;box-shadow:var(--shadow);flex-wrap:wrap}.helper-card b small{font-weight:400;color:var(--muted)}.helper-card .grow small{display:block;color:var(--muted)}.helper-card.locked{opacity:.6}.helper-card.owned{border-left:6px solid var(--green)}.switch{display:inline-flex;align-items:center;gap:6px;font-weight:700;min-height:44px}.switch input{width:26px;height:26px;accent-color:var(--green)}.region-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px;margin-top:12px}.region-card{background:#fff;border-radius:20px;overflow:hidden;box-shadow:var(--shadow);text-align:left;padding:0;display:flex;flex-direction:column}.region-card:disabled{opacity:1;cursor:default}.region-card.here{outline:4px solid var(--green)}.region-card.locked .region-art{filter:grayscale(.8) brightness(.9)}.region-art{height:110px}.region-art svg{width:100%;height:100%;display:block}.region-info{padding:10px 12px;display:flex;flex-direction:column;gap:2px}.region-info small{color:var(--muted)}.region-status{margin-top:4px;font-weight:700}.levelup .hero{animation:pop .6s 2}.nav-btn{position:relative}.dot{position:absolute;top:2px;right:4px;min-width:18px;height:18px;border-radius:9px;background:#e53935;color:#fff;font-size:.7rem;font-style:normal;font-weight:800;display:none;place-items:center;padding:0 4px}.dot.on{display:grid}.mailbox,.leaderboard{background:linear-gradient(#fff3e0,#fffaf3);max-width:none}.mailbox>*,.leaderboard>*{max-width:760px;margin-left:auto;margin-right:auto}.mail-body{margin-top:12px;display:flex;flex-direction:column;gap:10px}.conv-list{display:flex;flex-direction:column;gap:8px}.conv{display:flex;align-items:center;gap:10px;background:#fff;border-radius:16px;padding:10px 12px;box-shadow:var(--shadow);text-align:left;min-height:var(--tap)}.conv small{display:block;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.unread{background:#e53935;color:#fff;border-radius:999px;padding:2px 9px;font-weight:800}.chat-head{display:flex;align-items:center;gap:8px}.family-strip{display:flex;gap:2px;margin-left:auto;overflow-x:auto;min-width:0}.avatar.xs{width:28px;height:28px;border-radius:50%;background:color-mix(in srgb,var(--c, #ccc) 35%,white);display:inline-grid;place-items:center;flex:none}.avatar.xs img.pimg{width:84%;height:84%}.mailbox .chat{display:flex;flex-direction:column;gap:8px;min-height:40vh;max-height:52vh;overflow:auto;background:#fff;border-radius:18px;padding:10px;box-shadow:var(--shadow)}.bubble .msg{display:flex;flex-direction:column;gap:2px}.bubble .msg>p,.bubble .msg>.phrase,.bubble .msg>.sticker{margin:0;padding:8px 12px;border-radius:16px;background:#fff3e0}.bubble.kid .msg>p,.bubble.kid .msg>.phrase,.bubble.kid .msg>.sticker{background:#e3f2fd}.bubble .name,.bubble .time{color:var(--muted);font-size:.7rem}.bubble.pending{opacity:.6}.bubble .report{color:#bbb;font-size:.9rem;padding:4px}.bubble .sticker{display:flex;flex-direction:column;align-items:center}.bubble .sticker span{font-size:2.4rem;line-height:1.1}.bubble .phrase{display:flex;flex-direction:column}.bubble .phrase small{color:var(--muted)}.sys-msg{align-self:center;background:#fff8e1;border-radius:999px;padding:6px 14px;font-size:.85rem;text-align:center}.composer{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.composer .input{flex:1;min-width:160px}.sticker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(56px,1fr));gap:6px}.sticker-btn{font-size:2rem;height:56px;border-radius:14px;background:#fff;box-shadow:0 2px #00000014}.lb-list{display:flex;flex-direction:column;gap:6px;margin-top:8px}.lb-list.pinned{border-top:2px dashed #ddd;padding-top:8px}.lb-row{display:flex;align-items:center;gap:10px;background:#fff;border-radius:14px;padding:8px 12px;box-shadow:0 2px #00000014}.lb-row.me{outline:3px solid var(--green)}.lb-row.top1{background:#fff8e1}.lb-row .rank{width:32px;text-align:center;font-weight:800;font-size:1.2rem}.lb-row .score{font-weight:800}.tier{width:auto;min-height:40px}.badge{background:#fff8e1;border:2px solid #ffe082;border-radius:999px;padding:4px 10px;font-weight:700;font-size:.85rem}.awards{margin-top:16px}.cloud-box{background:#f3f8ff;border-radius:16px;padding:10px 12px;margin:10px 0;display:flex;flex-direction:column;gap:8px}.row.left{justify-content:flex-start;margin-top:0}.row.left .input{flex:1;min-width:160px}.invite code,.admin code{font-size:1.3rem;font-weight:800;letter-spacing:3px;background:#fff;padding:2px 10px;border-radius:8px}.switch.small{font-size:.8rem;font-weight:600;min-height:32px}.switch.small input{width:20px;height:20px}.admin-msgs{display:flex;flex-direction:column;gap:4px;max-height:40vh;overflow:auto}.admin-msg{display:flex;gap:8px;align-items:center;flex-wrap:wrap;background:#fafafa;border-radius:10px;padding:6px 8px}.admin-msg small{width:100%;color:var(--muted)}.admin-msg.reported{background:#ffebee}.burst{position:fixed;z-index:70;transform:translate(-50%);font-weight:900;font-size:1.4rem;color:#f57f17;text-shadow:0 2px 0 #fff,0 0 8px #fff;pointer-events:none;animation:burstUp 1.3s ease-out forwards}@keyframes burstUp{0%{opacity:0;transform:translate(-50%,10px) scale(.7)}15%{opacity:1;transform:translate(-50%) scale(1.15)}to{opacity:0;transform:translate(-50%,-70px) scale(1)}}.confetti{position:fixed;top:-30px;z-index:70;font-size:1.4rem;pointer-events:none;animation:fall 1.8s ease-in forwards}@keyframes fall{to{transform:translateY(105vh) rotate(540deg);opacity:.8}}.quests{display:flex;gap:6px;justify-content:center;flex-wrap:wrap}.quest-pill{display:inline-flex;align-items:center;gap:6px;background:#ffffffe6;border-radius:999px;padding:4px 10px 4px 6px;font-size:.8rem;font-weight:700;box-shadow:0 2px #00000014;min-height:36px}.quest-pill .qbar{width:44px;height:7px;border-radius:4px;background:#eee;overflow:hidden}.quest-pill .qbar i{display:block;height:100%;background:var(--green)}.quest-pill.done{background:#e8f5e9}.quest-list{list-style:none;padding:0;display:flex;flex-direction:column;gap:8px}.quest-list li{display:flex;gap:10px;align-items:center;background:#f6fbf4;border-radius:14px;padding:8px 10px}.quest-list li.done{background:#e8f5e9}.tool.dim{opacity:.4}.reveal{display:inline-flex;gap:6px;align-items:center}.listen-big{font-size:2.6rem;width:96px;height:96px;border-radius:50%;background:#fff3c4;box-shadow:var(--shadow)}.order .skip{font-size:.8rem}.pimg{display:inline-block;vertical-align:middle;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(0,0,0,.18))}.stock-item{display:inline-flex;align-items:center;gap:2px}.avatar img.pimg{width:78%;height:78%}.avatar.sm img.pimg{width:86%;height:86%}.nav-btn img.pimg{width:30px;height:30px}.stat img.pimg,.lv img.pimg{margin-right:2px}.steps li span img.pimg{width:26px;height:26px}.speaker img.pimg{width:70%;height:70%}.quest-pill img.pimg{width:22px;height:22px}.chip img.pimg,.bubble .who img.pimg{width:34px;height:34px}.emo{display:inline-block}.ticon img.timg,.slot-hint img.timg{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(0,0,0,.2))}.farm{grid-template-rows:auto auto auto 1fr auto;isolation:isolate}.farm .quests{align-self:start}@media(min-width:900px){.farm{grid-template-rows:auto auto auto 1fr}.farm .quests{grid-column:1 / -1}}@media(orientation:landscape)and (max-height:500px){.farm .quests{grid-column:1 / -1}}.farm{grid-template-columns:minmax(0,1fr)}.plots{grid-template-columns:repeat(3,minmax(0,1fr))}.slot{min-width:0}html,body{overflow-x:hidden}@media(max-width:600px){.farm .topbar{padding:6px}.farm .nav{flex-basis:100%;margin-left:0;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:0}.farm .nav-btn{min-width:0;min-height:50px;padding:0;border-radius:12px}.farm .nav-btn img.pimg{width:26px;height:26px}.farm .nav-btn small{font-size:.58rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.farm .who b{display:inline;max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.region-tag{font-size:.8rem;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.screen{padding-left:10px;padding-right:10px}}@media(max-width:380px){.farm .who b{display:none}.farm .who{padding:2px}.stat{padding:5px 9px}}@media(max-width:600px){.topbar h2{font-size:.95rem;line-height:1.2}}.play-status{display:block;margin-top:2px;font-weight:700;color:var(--green-d)}.sched-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px}.sched-card{border:2px solid #e0e0e0;border-radius:14px;padding:8px 10px 10px;margin:0;min-width:0;display:grid;gap:6px}.sched-card legend{font-weight:800;padding:0 4px}.form label.sched-field{display:grid;grid-template-columns:1fr minmax(0,1.1fr);align-items:center;gap:8px;font-weight:600}.sched-field .input{padding-top:6px;padding-bottom:6px}.sched-field select{min-width:0}.cal-list{display:grid;gap:6px;margin-top:8px}.cal-row{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:12px;background:#f5f5f5}.cal-row.changed{background:#fff3e0}.cal-row select{width:auto;max-width:58%}.setup-field{display:grid;gap:6px;font-weight:700;text-align:left;width:100%}.choice.big{padding:16px;gap:6px;width:100%}.choice.big b{font-size:1.15rem}.recovery-code{font:800 1.6rem/1.2 ui-monospace,monospace;letter-spacing:.08em;background:#fff8e1;border:2px dashed #ffb300;border-radius:14px;padding:12px 10px;margin:8px 0;word-break:break-all;-webkit-user-select:all;user-select:all}.btn.small{font-size:.9rem}.screen.warmup{display:grid;gap:12px;align-content:start;max-width:640px}.wu-dots{display:flex;justify-content:center;gap:10px}.wu-dot{width:16px;height:16px;border-radius:50%;background:#dfe7dc;box-shadow:inset 0 1px 2px #00000026;transition:transform .2s,background .2s}.wu-dot.on{background:var(--green)}.wu-dot.now{background:var(--yellow);transform:scale(1.25)}.wu-card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px;display:grid;gap:12px;min-width:0}.wu-body{display:grid;gap:12px;min-width:0}.wu-body .hero{text-align:center}.wu-sentence{font-size:1.35rem;line-height:1.5;text-align:center;margin:4px 0;overflow-wrap:anywhere}.wu-sentence.vi{font-size:1.2rem;color:var(--ink);font-style:italic}.wu-word{font:inherit;font-weight:800;color:#d84315;background:#fff3e0;border:0;border-bottom:3px solid #ffb74d;border-radius:8px;padding:0 6px;cursor:pointer}.wu-word.filled{animation:pop .35s}.wu-blank{display:inline-block;min-width:3.5em;border-bottom:3px dashed #90a4ae;color:transparent}.wu-choice{min-height:56px;font-size:1.1rem}.wu-choice.right,.wu-tok.right{background:#c8e6c9;box-shadow:0 3px #66bb6a}.wu-choice.reveal,.wu-tok.reveal{outline:4px solid #ffca28;animation:pulse 1s infinite}.wu-hint{min-height:1.5em;text-align:center;color:#6d4c41;font-size:1.05rem}.wu-hint:empty{display:none}.wu-line{min-height:64px;display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:center;padding:8px;border:2px dashed #c5e1a5;border-radius:14px}.wu-pool{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.wu-tok{min-height:56px;min-width:56px;padding:8px 14px;border-radius:14px;background:#f6fbf4;box-shadow:0 3px #0000001f;font-size:1.1rem;font-weight:700}.wu-tok.placed{background:#e8f5e9;min-height:44px;display:inline-flex;align-items:center}.wu-tok:disabled{opacity:.35}.wu-skip{justify-self:center}.btn.big{font-size:1.2rem;padding:14px 24px;justify-self:center}
