.legacy .splash,.legacy .done{justify-content:center;align-items:center}.legacy .splash-card,.legacy .done-card{text-align:center;width:min(640px,100%);box-shadow:var(--shadow-lg);border-radius:36px;flex-direction:column;align-items:center;gap:14px;padding:clamp(20px,4vw,40px);display:flex}.legacy .splash-card h1,.legacy .done-card h1{margin:0;font-size:clamp(2rem,6vw,3.4rem);line-height:1.05}.legacy .splash-card p{max-width:32ch;margin:0;font-size:clamp(1.05rem,2.6vw,1.35rem)}.legacy .tully-badge.big{width:clamp(130px,22vw,190px)}.legacy .btn.go{border-radius:28px;min-height:84px;margin-top:8px;padding:0 40px;font-size:clamp(1.6rem,4vw,2.2rem)}.legacy .big-read{margin:0;font-size:clamp(1.2rem,3vw,1.6rem)}.legacy .done-stickers{flex-wrap:wrap;justify-content:center;gap:10px;max-width:520px;display:flex}.legacy .done-buttons{flex-wrap:wrap;justify-content:center;gap:14px;display:flex}.legacy .who-grid{flex:1;grid-template-columns:repeat(auto-fill,minmax(min(200px,42vw),1fr));align-content:center;gap:clamp(14px,2.5vw,28px);min-height:0;padding:8px;display:grid;overflow-y:auto}.legacy .who-card{cursor:pointer;font-family:var(--font-play);border-radius:32px;flex-direction:column;align-items:center;gap:8px;padding:18px 10px;display:flex}.legacy .who-grid.animals{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;max-width:900px;margin:0 auto}.legacy .who-card b{font-size:clamp(1.4rem,3vw,2rem)}.legacy .who-card svg{width:clamp(84px,14vw,130px);height:auto}.legacy .who-card:active{box-shadow:1px 1px 0 var(--ink);transform:translate(3px,3px)}.legacy .who-card.add{border:4px dashed var(--line-soft);color:var(--muted);background:0 0;justify-content:center}.legacy .who-card .plus{border:4px dashed var(--line-soft);border-radius:50%;place-items:center;width:92px;height:92px;display:grid}.legacy .grownup-strip{border:3px solid var(--line-soft);background:var(--card);color:var(--ink-soft);border-radius:24px;align-items:center;gap:14px;padding:12px 16px;display:flex}.legacy .grownup-strip span{flex:1}.legacy .topbar{align-items:center;gap:clamp(10px,1.6vw,18px);display:flex}.legacy .topbar .talkrow{flex:1}.legacy .topbar-right{align-items:center;gap:12px;display:flex}.legacy .chip-btn{cursor:pointer;border-radius:50%;place-items:center;width:68px;height:68px;padding:0;display:grid}.legacy .count-btn{cursor:pointer;border-radius:999px;align-items:center;gap:10px;min-height:68px;padding:6px 18px 6px 8px;display:flex}.legacy .count-btn:active,.legacy .chip-btn:active{box-shadow:1px 1px 0 var(--ink);transform:translate(3px,3px)}.legacy .count{text-align:left;flex-direction:column;line-height:1;display:flex}.legacy .count b{font-variant-numeric:tabular-nums;font-size:1.8rem}.legacy .count small{color:var(--ink-soft);font-size:.95rem}.legacy .star-dot{background:var(--sun);border:3px solid var(--ink);border-radius:50%;flex:none;place-items:center;width:46px;height:46px;display:grid}.legacy .star-dot svg{fill:var(--card);stroke:var(--ink);stroke-width:2px}.legacy .lockbtn{width:60px;min-width:60px;padding:0}.legacy .homebtn{flex:none;width:72px;height:72px}.legacy .donebtn{flex:none}.legacy .home-body,.legacy .game-body,.legacy .atlas-body{flex:1;gap:clamp(12px,2vw,22px);min-height:0;display:flex;position:relative}.legacy .home-map{flex:1;min-width:0;display:flex}.legacy .tiles{flex-direction:column;flex:none;gap:clamp(10px,1.6vh,16px);width:clamp(240px,28vw,340px);display:flex}.legacy .tile{cursor:pointer;text-align:left;border-radius:28px;flex:1;align-items:center;gap:14px;min-height:72px;padding:0 16px;display:flex}.legacy .tile:active{box-shadow:1px 1px 0 var(--ink);transform:translate(3px,3px)}.legacy .tile-icon{aspect-ratio:1;border:3px solid var(--ink);border-radius:22px;flex:none;place-items:center;width:clamp(56px,7vw,76px);display:grid}.legacy .tile-text{flex-direction:column;gap:2px;min-width:0;display:flex}.legacy .tile-text b{font-size:clamp(1.4rem,2.6vw,2rem);line-height:1}.legacy .tile-text small{color:var(--ink-soft);font-size:clamp(.95rem,1.5vw,1.1rem)}.legacy .mapbox.loading{background:var(--ocean)}.legacy .ask-btn{border:3px solid var(--ink);background:var(--tomato);color:#fff;font-family:var(--font-play);box-shadow:5px 5px 0 var(--ink);cursor:pointer;border-radius:999px;align-items:center;gap:12px;padding:8px 24px 8px 8px;font-size:clamp(1.1rem,2vw,1.5rem);font-weight:600;display:flex;position:absolute;bottom:16px;right:16px}.legacy .ask-btn:active{box-shadow:2px 2px 0 var(--ink);transform:translate(3px,3px)}.legacy .ask-orb{aspect-ratio:1;background:var(--card);width:clamp(56px,7vw,72px);color:var(--tomato);border:3px solid var(--ink);border-radius:50%;place-items:center;display:grid}.legacy .talk-panel{width:min(400px,100%);max-height:100%;box-shadow:var(--shadow-lg);z-index:5;border-radius:28px;flex-direction:column;gap:12px;padding:16px;display:flex;position:absolute;bottom:0;right:0;overflow-y:auto}.legacy .talk-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.legacy .talk-topic{align-items:center;gap:12px;min-width:0;display:flex}.legacy .talk-topic b,.legacy .talk-title{font-size:1.6rem;line-height:1.1}.legacy .mini-flag{flex:none;width:64px}.legacy .talk-bigflag{align-self:center;width:min(220px,60%);rotate:-2deg}.legacy .talk-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.legacy .talk-card{border:3px solid var(--ink);background:var(--mint);min-height:92px;box-shadow:3px 3px 0 var(--ink);font-family:var(--font-play);cursor:pointer;border-radius:22px;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:10px;font-size:1.15rem;font-weight:600;display:flex}.legacy .talk-card:nth-child(3n+2){background:var(--t-find)}.legacy .talk-card:nth-child(3n){background:var(--t-match)}.legacy .talk-card:active{box-shadow:1px 1px 0 var(--ink);transform:translate(2px,2px)}.legacy .game-main{flex:1;min-width:0;min-height:0;display:flex}.legacy .side{flex-direction:column;flex:none;gap:14px;width:clamp(240px,27vw,330px);min-height:0;display:flex;overflow-y:auto}.legacy .side-card{border-radius:26px;flex-direction:column;gap:10px;padding:14px 16px;display:flex}.legacy .side-card h2{margin:0;font-size:1.35rem}.legacy .side-card p{margin:0;font-size:1rem;line-height:1.35}.legacy .lands-card{background:var(--mint);border:3px solid var(--ink);box-shadow:var(--shadow)}.legacy .found-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.legacy .mini{aspect-ratio:1;border:3px solid var(--ink);background:#fff;border-radius:14px;place-items:center;min-width:0;padding:5px;display:grid;rotate:-4deg}.legacy .mini:nth-child(2n){rotate:3deg}.legacy .mini.round{border-radius:50%}.legacy .mini.empty{border:3px dashed var(--line-soft);color:var(--muted);background:0 0;font-size:1.5rem;font-weight:700;rotate:none}.legacy .mini.more{font-size:1.1rem;font-weight:700;rotate:none}.legacy .land-chips{flex-wrap:wrap;gap:8px;display:flex}.legacy .land-chip{border:3px solid var(--ink);background:var(--card);min-height:48px;font-family:var(--font-play);cursor:pointer;border-radius:999px;align-items:center;gap:8px;padding:0 14px;font-size:1.05rem;font-weight:600;display:inline-flex}.legacy .land-chip.on{background:var(--sun);box-shadow:3px 3px 0 var(--ink)}.legacy .land-chip .dot{border:2.5px solid var(--ink);border-radius:50%;flex:none;width:16px;height:16px}.legacy .shown-flag img{align-self:center;max-width:220px;rotate:-2deg}.legacy .flag-options{flex:1;grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,2.6vw,28px);min-height:0;padding:4px 8px 8px 4px;display:grid}.legacy .flag-opt{cursor:pointer;border-radius:28px;place-items:center;min-height:0;padding:clamp(8px,1.6vw,20px);display:grid;container-type:size}.legacy .flag-opt img{width:min(100cqw,133.333cqh)}.legacy .flag-opt:active{box-shadow:1px 1px 0 var(--ink);transform:translate(3px,3px)}.legacy .flag-opt.nope{opacity:.4}.legacy .flag-opt.glow{animation:.7s ease-in-out infinite alternate optglow}@keyframes optglow{to{box-shadow:0 0 0 8px var(--sun), var(--shadow)}}.legacy .match-main{flex-direction:column;flex:1;gap:14px;min-width:0;display:flex}.legacy .tray{justify-content:center;gap:14px;min-height:clamp(90px,15vh,130px);display:flex}.legacy .mcard{cursor:grab;touch-action:none;border-radius:20px;place-items:center;width:clamp(110px,16vw,170px);padding:10px;display:grid}.legacy .mcard.sel{box-shadow:0 0 0 5px var(--sun), var(--shadow)}.legacy .mcard.lifted{opacity:.35}.legacy .tray-empty{align-self:center;margin:0;font-size:1.2rem}.legacy .drag-ghost{z-index:60;pointer-events:none;border:3px solid var(--ink);width:120px;box-shadow:var(--shadow);background:#fff;border-radius:14px;padding:6px;position:fixed;transform:translate(-50%,-60%)rotate(-4deg)}.legacy .atlas-tools{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.legacy .tool-gap{width:12px}.legacy .atlas-body .mapbox{flex:1}.legacy .globebox{background:var(--card);place-items:center;display:grid}.legacy canvas.globe{touch-action:none;cursor:grab;width:100%;height:100%;display:block}.legacy .place-card{z-index:4;border-radius:24px;align-items:flex-start;gap:14px;width:min(560px,100% - 28px);padding:14px;display:flex;position:absolute;bottom:14px;left:14px}.legacy .place-flag{flex:none;width:92px;rotate:-3deg}.legacy .place-text{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.legacy .place-text b{font-size:1.5rem;line-height:1.1}.legacy .place-text p{margin:0;font-size:1.05rem;line-height:1.35}.legacy .book-head{align-items:center;gap:14px;display:flex}.legacy .book-head .talkrow{flex:1;min-width:0}.legacy .book-head h1{margin:0;font-size:clamp(1.7rem,3.4vw,2.5rem)}.legacy .stars-help{min-height:52px;margin-left:auto;padding:0 14px;font-size:1.05rem}.legacy .book-total{border-radius:999px;align-items:center;gap:12px;padding:6px 18px 6px 8px;display:flex}.legacy .book-total .bar{border:3px solid var(--ink);background:var(--paper);border-radius:999px;width:clamp(90px,16vw,220px);height:18px;overflow:hidden}.legacy .book-total .bar span{background:var(--leaf);height:100%;display:block}.legacy .book-total b{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:1.5rem}.legacy .book-total small{color:var(--ink-soft);font-size:1rem;font-weight:400}.legacy .book-body{flex:1;gap:20px;min-height:0;display:flex}.legacy .book-pages{flex-direction:column;flex:none;gap:10px;width:clamp(200px,22vw,260px);padding:4px;display:flex;overflow-y:auto}.legacy .page-tab{border:3px solid var(--ink);min-height:56px;font-family:var(--font-play);text-align:left;cursor:pointer;background:0 0;border-radius:20px;align-items:center;gap:10px;padding:8px 14px;font-size:1.15rem;font-weight:600;display:flex}.legacy .page-tab.on{background:var(--card);box-shadow:var(--shadow)}.legacy .page-tab .dot{border:3px solid var(--ink);border-radius:50%;flex:none;width:18px;height:18px}.legacy .page-tab .page-name{flex:1;line-height:1.1}.legacy .page-tab .count{font-variant-numeric:tabular-nums;font-size:.95rem}.legacy .book-page{min-width:0;box-shadow:var(--shadow-lg);border-radius:30px;flex-direction:column;flex:1;gap:12px;padding:20px 22px 0;display:flex;position:relative}.legacy .tape{opacity:.75;border-radius:4px;width:120px;height:30px;margin-left:-60px;position:absolute;top:-14px;left:50%;rotate:-3deg}.legacy .page-title{flex-wrap:wrap;align-items:baseline;gap:14px;display:flex}.legacy .page-title h2{margin:0;font-size:clamp(1.5rem,3vw,2.1rem)}.legacy .sticker-grid{flex:1;grid-template-columns:repeat(auto-fill,minmax(clamp(112px,12vw,150px),1fr));align-content:start;gap:18px 16px;min-height:0;padding:6px 4px 22px;display:grid}.legacy .sticker{cursor:pointer;font-family:var(--font-play);background:0 0;border:none;flex-direction:column;align-items:center;gap:6px;padding:0;display:flex}.legacy .sticker .art{aspect-ratio:1;border:3px solid var(--ink);background:#fff;border-radius:24px;place-items:center;width:100%;padding:14%;display:grid;box-shadow:3px 4px #2b2a4c40}.legacy .sticker .art .blob{aspect-ratio:1;border:3px solid var(--ink);border-radius:50%;place-items:center;width:100%;display:grid}.legacy .sticker .art.q{background:var(--paper);border:3px dashed var(--line-soft);color:var(--muted);box-shadow:none;font-size:2.6rem;font-weight:700}.legacy .sticker .sname{text-align:center;overflow-wrap:anywhere;font-size:1.05rem;font-weight:600;line-height:1.1}.legacy .sticker.empty .sname{color:var(--ink-soft)}.legacy .sticker:active .art{transform:scale(.96)}.legacy .gu-head{justify-content:space-between;align-items:center;display:flex}.legacy .gu-sec{border-top:2px solid var(--line-soft);flex-direction:column;gap:10px;padding-top:14px;display:flex}.legacy .gu-sec h3{margin:0;font-size:1.3rem}.legacy .gu-sec p{margin:0;line-height:1.4}.legacy .gu-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.legacy .gu-kids{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.legacy .gu-kids li{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.legacy .gu-input{border:3px solid var(--line-soft);min-height:52px;font:600 1.15rem var(--font-play);color:var(--ink);-webkit-user-select:text;user-select:text;background:#fff;border-radius:14px;width:12ch;padding:0 14px}.legacy .gu-input.code{letter-spacing:.1em;width:10ch}.legacy .btn.small{min-height:48px;box-shadow:none;padding:0 14px;font-size:1rem}.legacy .gu-code .code{letter-spacing:.08em;font-size:1.6rem}.legacy .gu-msg{background:var(--mint);border-radius:14px;padding:10px 14px}@media (max-width:599px),(max-aspect-ratio:5/4){.legacy .home-body,.legacy .game-body,.legacy .atlas-body{flex-direction:column}.legacy .tiles{flex:none;grid-template-columns:repeat(2,minmax(0,1fr));width:auto;display:grid}.legacy .tile{gap:10px;min-height:76px;padding:8px 10px}.legacy .tile-text small{display:none}.legacy .side{flex-direction:row;flex:none;gap:10px;width:auto;overflow:auto hidden}.legacy .side-card{flex:none}.legacy .side .found{width:min(260px,70vw)}.legacy .side .found p{display:none}.legacy .side .lands-card{flex:1;min-width:260px}.legacy .side .lands-card .land-chips{flex-wrap:nowrap;overflow-x:auto}.legacy .side .lands-card .land-chip{flex:none}.legacy .found-grid{grid-template-columns:repeat(8,40px)}.legacy .talk-panel{width:100%;max-height:62%}.legacy .book-body{flex-direction:column;gap:12px}.legacy .book-pages{flex-direction:row;flex:none;width:auto;overflow-x:auto}.legacy .page-tab{flex:none}.legacy .book-head .talkrow .tully-badge{display:none}.legacy .sticker-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:14px 10px}}@media (max-width:599px){.legacy .topbar,.legacy .book-head{flex-wrap:wrap;row-gap:10px}.legacy .topbar .talkrow,.legacy .book-head .talkrow{flex:100%;order:5}.legacy .topbar-right,.legacy .donebtn{margin-left:auto}.legacy .topbar .bubble{min-height:60px;padding:8px 10px 8px 14px}.legacy .topbar .tully-badge{width:56px}.legacy .side{flex-direction:column;gap:8px;overflow:visible}.legacy .side-card{flex-direction:row;align-items:center;padding:6px 10px}.legacy .side-card h2,.legacy .side .found p{display:none}.legacy .side .found,.legacy .side .lands-card{width:auto;min-width:0}.legacy .side .found .found-grid{gap:6px;display:flex;overflow-x:auto}.legacy .side .found .mini{flex:none;width:40px}.legacy .side .lands-card .land-chips{flex-wrap:nowrap;padding-bottom:2px;overflow-x:auto}.legacy .side .shown-flag img{max-width:120px}.legacy .chip-btn{width:60px;height:60px}.legacy .lockbtn{min-height:60px}.legacy .homebtn{width:60px;height:60px;min-height:60px}.legacy .donebtn span{display:none}.legacy .donebtn{padding:0 14px}.legacy .count-btn{min-height:60px;padding:4px 12px 4px 4px}.legacy .count small{display:none}.legacy .ask-btn{padding:6px}.legacy .ask-btn>:not(.ask-orb){display:none}.legacy .book-head h1{font-size:1.5rem}.legacy .book-total .bar{display:none}}@media (max-height:520px){.legacy .screen{gap:8px}.legacy .topbar .tully-badge{width:52px}.legacy .topbar .bubble{min-height:54px;padding:6px 8px 6px 14px}.legacy .bubble p{font-size:1.05rem}.legacy .homebtn,.legacy .chip-btn,.legacy .count-btn{width:auto;height:56px;min-height:56px}.legacy .homebtn{width:56px}.legacy .btn{min-height:56px}.legacy .tile{min-height:0;padding:4px 10px}.legacy .tile-icon{border-radius:16px;width:48px}.legacy .tile-text small,.legacy .side .found p,.legacy .side-card h2{display:none}.legacy .side-card{padding:10px}.legacy .land-chip{min-height:44px;padding:0 10px;font-size:.95rem}.legacy .tray{min-height:76px}.legacy .mcard{width:96px;padding:6px}.legacy .ask-orb{width:48px}.legacy .flag-opt{padding:8px}.legacy .who-card svg{width:70px}.legacy .grownup-strip{display:none}}.legacy .race-card{text-align:center;align-items:center}.legacy .race-clock{aspect-ratio:1;align-content:center;place-items:center;width:clamp(120px,15vw,168px);display:grid;position:relative}.legacy .race-clock svg{position:absolute;inset:0;rotate:-90deg}.legacy .race-track{fill:var(--card);stroke:var(--line-soft);stroke-width:9px}.legacy .race-fill{fill:none;stroke:var(--leaf);stroke-width:9px;stroke-linecap:round;stroke-dasharray:276.5;transition:stroke-dashoffset .2s linear,stroke .3s}.legacy .race-clock.hurry .race-fill{stroke:var(--tomato)}.legacy .race-clock.hurry b{color:var(--tomato);animation:1s ease-in-out infinite race-pulse}@keyframes race-pulse{50%{scale:1.12}}@media (prefers-reduced-motion:reduce){.legacy .race-clock.hurry b{animation:none}}.legacy .race-clock b{font-variant-numeric:tabular-nums;font-size:clamp(2.4rem,4.5vw,3.4rem);line-height:1;position:relative}.legacy .race-clock small{color:var(--ink-soft);font-size:.95rem;position:relative}.legacy .race-score{color:var(--tomato);align-items:center;gap:8px;display:flex}.legacy .race-score b{color:var(--ink);font-variant-numeric:tabular-nums;font-size:2.2rem}.legacy .race-best{margin:0}.legacy .race-start{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:18px;padding:16px;display:flex}.legacy .race-start h2{margin:0;font-size:clamp(2rem,4.5vw,3.2rem);line-height:1.05}.legacy .race-start p{margin:0;font-size:1.2rem}.legacy .race-big{flex-wrap:wrap;justify-content:center;align-items:baseline;gap:10px;display:flex;font-size:1.6rem!important}.legacy .race-big b{font-size:clamp(3.5rem,8vw,5.5rem);line-height:1}.legacy .race-new{background:var(--sun);color:var(--ink);border:2px solid var(--ink);border-radius:999px;padding:2px 12px;font-size:1.1rem;rotate:-3deg}.legacy .race-times{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.legacy .race-go{min-height:76px;padding:0 36px;font-size:1.6rem}@media (max-width:599px),(max-aspect-ratio:5/4){.legacy .tiles .tile:last-child{grid-column:span 2}.legacy .race-card{flex-direction:row;gap:14px}.legacy .race-clock{width:96px}.legacy .race-clock small{display:none}}
