:root{color:#24384b;background:var(--cream);font-synthesis:none;--ink:#24384b;--forest:#24384b;--muted:#42586a;--cream:#fff9e9;--border:#24384b;--clay:#c86660;font-family:system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,.button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #b34881}button:disabled{opacity:.5;cursor:not-allowed}main:focus{outline:none}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:850;line-height:1.15}h1{margin-bottom:12px;font-size:clamp(30px,4vw,40px)}h1 em,h2 em{font-style:normal}p{color:var(--muted);line-height:1.5}.game-frame{background:var(--cream);flex-direction:column;width:100%;min-height:100dvh;display:flex}.site-header{border-bottom:3px solid var(--ink);background:#ffd56f;justify-content:space-between;align-items:center;gap:8px;min-height:64px;padding:6px 14px;display:flex}.brand{letter-spacing:-.06em;white-space:nowrap;align-items:center;gap:9px;font-size:clamp(21px,3vw,30px);font-weight:950;line-height:1;display:flex}.brand-mark{color:#fff9e9;border:2px solid var(--ink);letter-spacing:0;background:#ed8983;border-radius:14px;place-items:center;width:42px;height:42px;font-size:30px;display:grid}.header-account{align-items:center;gap:12px;display:flex}.balance{border:2px solid var(--ink);white-space:nowrap;background:#fff8da;border-radius:20px;padding:7px 12px;font-size:14px;font-weight:800}.text-button{min-height:44px;color:var(--ink);background:0 0;border:0;padding:8px;font-weight:700;text-decoration:underline}.game-body{flex-direction:column;flex:1;min-height:0;display:flex}.game-body>main{flex:1}.mossling{object-fit:contain;width:100%;height:auto;display:block}.game-nav{grid-auto-flow:column;gap:4px;display:grid}.game-nav a{border:2px solid #0000;border-radius:13px;justify-content:center;align-items:center;gap:5px;min-height:44px;padding:4px 7px;font-size:14px;font-weight:800;display:flex}.game-nav a span{border:2px solid var(--ink);background:#fff9e9;border-radius:8px;flex:0 0 26px;place-items:center;width:26px;height:26px;line-height:1;display:grid}.game-nav a:nth-child(2) span{background:#b8e4ce}.game-nav a:nth-child(3) span{background:#ffb7a9}.game-nav a:nth-child(4) span{background:#d9c7f3}.game-nav a:nth-child(5) span{background:#ffd56f}.game-nav a:hover,.game-nav a.active{border-color:var(--ink);box-shadow:0 3px 0 var(--ink);background:#fff9e9}.nav-pet-picture .mossling{max-width:25px}main{background:#fff9e9;min-width:0}.feature-page{padding:26px}.eyebrow{color:#42586a;margin:0 0 8px;font-size:12px;font-weight:850}.button,button:where(:not(.text-button):not(.room-cell):not(.inventory-item)){background:var(--forest);color:#fff;border:2px solid var(--ink);border-radius:11px;justify-content:center;align-items:center;gap:12px;min-height:44px;padding:10px 17px;font-size:14px;font-weight:800;display:inline-flex}.button:hover,button:where(:not(:disabled):not(.text-button):not(.room-cell):not(.inventory-item)):hover{background:#405d70}.state-page{padding:50px 26px}.state-page h1{font-size:30px}.back-link{font-size:14px;font-weight:800;text-decoration:underline}.feature-heading{justify-content:space-between;align-items:end;gap:15px;margin:20px 0;display:flex}.feature-heading h1{margin-bottom:8px;font-size:clamp(28px,4vw,34px)}.feature-heading p:last-child{margin-bottom:0}.heading-ornament{color:#dc8d7f;font-size:52px}.feature-layout,.room-layout,.shop-grid{grid-template-columns:minmax(0,2fr) minmax(220px,1fr);align-items:start;gap:18px;display:grid}.panel,.product,.side-note{border:2px solid var(--border);box-shadow:0 4px 0 var(--ink);background:#fff;border-radius:16px;padding:22px}.side-note{background:#e1f2df}.panel h2,.product h2,.side-note h2{margin-bottom:10px;font-size:23px}.panel p,.side-note p,.product p{font-size:14px}.panel-top{justify-content:space-between;align-items:start;gap:15px;display:flex}.pill{white-space:nowrap;background:#cceee5;border-radius:12px;padding:7px 10px;font-size:12px;font-weight:800}.note-line{border-top:2px solid #a8c9b3;margin-top:20px;padding-top:16px;font-size:12px;font-weight:800}.empty-state{text-align:center;padding:25px 10px}.empty-state p{max-width:360px;margin:0 auto 20px}.large-icon{color:#d37d75;font-size:60px;display:block}.trail-grid{gap:5px;max-width:400px;margin:20px auto;display:grid}.trail-cell{aspect-ratio:1;color:#a54d52;background:#dcefe0;place-items:center;font-size:26px;display:grid}.trail-cell.blocked{background:#abcdaa}.trail-cell.current{background:#8ac8a0}.directions{text-align:center;margin:20px 0}.directions button{margin:2px;padding:9px 16px!important;font-size:18px!important}.notice{border-radius:12px;margin-top:20px;padding:16px 20px;font-size:14px;line-height:1.5}.notice.error{color:#7c352f;background:#ffdfd8}.notice.success{color:#284f37;background:#d8f1dc}.notice a{text-decoration:underline}.product{padding:12px}.product-art{background:#f7e5ce;border-radius:10px;place-items:center;height:220px;display:grid;position:relative}.product-tag{font-size:12px;font-weight:800;position:absolute;top:12px;left:12px}.chair{width:180px}.product-body{padding:18px 8px 8px}.product-bottom{justify-content:space-between;align-items:center;gap:15px;margin-top:20px;display:flex}.product-bottom strong{font-size:18px}.product-bottom small{font-size:12px}.room-grid{gap:5px;max-width:540px;margin:24px auto;display:grid}.room-cell{aspect-ratio:1;color:#a87760;background:#edf2e7;border:1px solid #8fae9d;place-items:center;padding:0;font:28px system-ui;display:grid}.room-cell:hover:not(:disabled),.room-cell.selected{background:#bde5ca}.room-cell:disabled{opacity:1;cursor:default}.cell-dot{color:#a5bca7}.room-actions,.item-actions{flex-wrap:wrap;gap:10px;display:flex}.secondary{color:var(--ink)!important;border:2px solid var(--ink)!important;background:#fff9e9!important}.secondary:hover{background:#dcefe0!important}.inventory-item{text-align:left;border:2px solid var(--ink);width:100%;color:var(--ink);background:#fff9e9;border-radius:10px;align-items:center;gap:15px;margin:10px 0;padding:12px;display:flex}.inventory-item.chosen{background:#dcefe0}.inventory-item span:nth-child(2){flex:1;font-weight:700}.inventory-item small{font-weight:400;display:block}.item-icon{background:#f2e4d5;padding:12px}.item-actions{margin-top:20px}.skip-link{z-index:100;background:var(--ink);color:#fff;padding:12px 16px;position:fixed;top:8px;left:8px;transform:translateY(-150%)}.skip-link:focus{transform:translateY(0)}@media (width<=880px){.site-header{flex-wrap:wrap;gap:4px 8px}.game-nav{flex-basis:100%;order:1;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-flow:row}}@media (width<=760px){.site-header{padding-inline:8px}.game-nav a{flex-direction:column;gap:3px;padding:4px 1px;font-size:11px}.feature-page{padding:18px 14px 30px}.feature-layout,.room-layout,.shop-grid{grid-template-columns:1fr}}@media (width<=470px){.brand{font-size:20px}.brand-mark{width:34px;height:34px;font-size:24px}.header-account{gap:2px}.balance{padding:6px;font-size:12px}.balance-label{display:none}.text-button{font-size:12px}.panel{padding:16px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.brand,.game-nav,h1,h2,h3{font-family:ui-rounded,system-ui,sans-serif}.game-nav svg{width:17px;height:17px}.header-account .text-button{white-space:nowrap;flex-shrink:0}@media (width<=470px){.site-header{gap:5px;padding-inline:8px}.brand{gap:5px;font-size:18px}.brand-mark{width:30px;height:30px;font-size:21px}.header-account .text-button{padding-inline:4px}.balance-label{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;display:inline;position:absolute;overflow:hidden}}.game-frame.compact-mode{height:100dvh;min-height:0;overflow:hidden}.compact-mode .game-body{flex:1 1 0;min-width:0;min-height:0;display:flex}.compact-mode .game-body>main{flex:1 1 0;min-width:0;min-height:0;overflow:hidden}.compact-mode main>.panel,.compact-mode main>.state-page{max-height:100%;overflow:auto}.compact-mode .site-header{min-height:56px;padding:4px 8px}@media (width>=561px) and (width<=880px){.compact-mode .site-header{flex-wrap:nowrap}.compact-mode .brand-name{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.compact-mode .game-nav{flex-basis:auto;order:0;grid-template-columns:none;grid-auto-flow:column}.compact-mode .game-nav a{flex-direction:row;padding-inline:4px}}@media (width<=560px){.compact-mode .game-nav a{gap:1px;padding-block:2px}.compact-mode .game-nav a span{flex-basis:21px;width:21px;height:21px}.compact-mode .game-nav svg{width:14px;height:14px}}@media (forced-colors:active){.game-nav a.active{border-style:double}}.legacy-round-entry{text-align:center;padding-block-start:5px;font-size:.86rem}.compact-mode .game-body>main:has(.round-stage){overflow:auto}.site-header.site-header--welcome{min-height:60px;display:flex}.village-home{padding:clamp(8px,1vw,12px)}.village-map{aspect-ratio:16/9;border:2px solid var(--ink);min-width:0;box-shadow:0 4px 0 var(--ink);background:#b7d49c;border-radius:21px;position:relative}.village-landscape{object-fit:cover;border-radius:18px;width:100%;height:100%;display:block}.village-landscape[hidden]{display:none}.village-companion{pointer-events:none;inline-size:min(11%,104px);position:absolute;top:66.5%;left:21.1%;translate:-50% -45%}.village-sign{top:var(--hit-top);bottom:calc(100% - var(--y));left:calc(var(--x) - var(--hit-width) / 2);width:var(--hit-width);position:absolute}.village-sign-label{z-index:1;border:2px solid var(--ink);min-height:44px;box-shadow:0 3px 0 var(--ink);color:var(--ink);background:var(--sign);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:6px;padding:4px 14px;font-size:clamp(13px,1.65vw,17px);font-weight:850;line-height:1;display:inline-flex;position:absolute;top:100%;left:50%;translate:-50% -50%}.village-sign[data-place=play]{--x:25%;--y:44%;--hit-top:7%;--hit-width:30%;--sign:#fff2bd}.village-sign[data-place=shop]{--x:77%;--y:43%;--hit-top:7%;--hit-width:30%;--sign:#ffe0bc}.village-sign[data-place=pet]{--x:21%;--y:86%;--hit-top:49%;--hit-width:36%;--sign:#e9e1f4}.village-sign[data-place=room]{--x:80%;--y:86%;--hit-top:44%;--hit-width:36%;--sign:#e0ece1}.village-sign:hover .village-sign-label{text-underline-offset:3px;text-decoration:underline}.village-sign:focus-visible{outline:none}.village-sign:focus-visible .village-sign-label{outline-offset:3px;outline:3px solid #b34881}.village-sign[data-selected] .village-sign-label{border-style:double;border-width:4px}.village-sign[data-selected] .village-sign-label:before{content:"";background:currentColor;width:.45em;height:.45em;rotate:45deg}.village-screen-reader{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:0;position:absolute;overflow:hidden}@media (width<=560px){.village-map{border-radius:15px}.village-landscape{border-radius:12px}.village-sign-label{padding-inline:9px}.village-sign[data-place=pet],.village-sign[data-place=room]{--y:82%}}@media (forced-colors:active){.village-sign[data-selected] .village-sign-label:before{forced-color-adjust:none;background:buttontext}}.games-heading{margin-bottom:clamp(14px,2vw,24px)}.games-heading h1{letter-spacing:-.035em;margin:0 0 4px;font-size:clamp(28px,4.3vw,48px);line-height:1.08}.games-heading p{color:var(--muted);margin:0;font-size:clamp(14px,1.6vw,17px)}.games-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,2vw,18px);display:grid}.game-card{min-width:0;color:var(--ink);border:2px solid var(--ink);box-shadow:0 3px 0 var(--ink);background:#f7edc8;border-radius:16px;grid-template-rows:auto 1fr;grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}.game-card[data-game=seed-sort]{background:#fae2c9}.game-card[data-game=match3]{background:#ebe4f4}.game-card[data-game=multiplication]{background:#dfebee}.game-card img{aspect-ratio:16/9;object-fit:cover;border-bottom:2px solid var(--ink);border-radius:14px 14px 0 0;grid-column:1/-1;width:100%;height:auto;display:block}.game-card-copy{align-self:start;min-width:0;padding:12px 0 12px 13px}.game-card h2{margin:0 0 4px;font-size:clamp(17px,1.7vw,23px);font-weight:850;line-height:1.12}.game-card p{max-width:29ch;margin:0;font-size:clamp(13px,1.35vw,15px);line-height:1.25}.game-card-label{margin-top:4px;font-size:.75rem;font-weight:800;line-height:1.1;display:inline-block}.game-card-arrow{margin-inline:8px 12px;font-weight:850;line-height:1}.game-card:hover h2,.game-card:focus-visible h2{text-underline-offset:3px;text-decoration:underline}.game-card:focus-visible,.games-rewards summary:focus-visible{outline-offset:3px;outline:3px solid #a03f74}.games-rewards{margin-top:14px}.games-rewards summary{cursor:pointer;width:fit-content;min-height:44px;padding:12px 3px;font-size:.9rem;font-weight:750;display:list-item}.games-rewards p{max-width:64ch;color:var(--muted);margin:0 0 0 3px;font-size:.875rem}@media (width>=1050px){.games-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=540px){.games-page{padding-top:15px}.games-grid{grid-template-columns:1fr;gap:9px}.game-card{border-radius:13px;grid-template-rows:1fr;grid-template-columns:clamp(76px,25vw,110px) minmax(0,1fr) auto;min-height:74px}.game-card img{aspect-ratio:auto;border-right:2px solid var(--ink);border-bottom:0;border-radius:11px 0 0 11px;grid-column:1;height:100%;min-height:0}.game-card-copy{align-self:center;padding:7px 0 7px 10px}.game-card h2{margin-bottom:3px}.game-card-arrow{margin-inline:6px 9px}.games-rewards{margin-top:8px}}@media (forced-colors:active){.game-card:focus-visible,.games-rewards summary:focus-visible{outline-color:highlight}}.welcome-landing{--welcome-ink:#283e38;--welcome-paper:#fff2d4;isolation:isolate;min-block-size:clamp(480px,68vh,690px);border:2px solid var(--welcome-ink);width:min(100% - 32px,1120px);color:var(--welcome-ink);background:#b9d081;border-radius:27px;align-items:end;margin:24px auto;display:grid;position:relative;overflow:hidden;box-shadow:0 6px #4a5e46}.welcome-landing-picture{z-index:-1;position:absolute;inset:0}.welcome-landing-picture>img{object-fit:cover;object-position:center 51%;width:100%;height:100%}.welcome-landing-friend{filter:drop-shadow(0 7px 9px #3b503d32);width:clamp(100px,17vw,203px);position:absolute;bottom:8%;left:69%}.welcome-landing-card{border:2px solid var(--welcome-ink);background:var(--welcome-paper);border-radius:22px;width:min(465px,100% - 48px);margin:24px;padding:clamp(18px,3.5vw,36px);position:relative;box-shadow:0 4px #556346}.welcome-landing-card h1{color:#263f33;letter-spacing:-.045em;font-size:clamp(30px,5.6vw,58px);line-height:1.03}.welcome-landing-card p{color:#3c4c3c;margin-bottom:18px;font-weight:600}.welcome-landing-card .button{align-items:center;gap:14px;min-height:48px;display:inline-flex}@media (width<=600px){.welcome-landing{width:calc(100% - 20px);border-radius:20px;min-block-size:auto;margin:12px auto 18px}.welcome-landing-picture{block-size:clamp(185px,41vh,270px);position:relative}.welcome-landing-picture>img{object-position:34% 48%}.welcome-landing-friend{width:105px;bottom:3%;left:auto;right:7%}.welcome-landing-card{border:0;border-top:2px solid var(--welcome-ink);width:100%;box-shadow:none;border-radius:0;margin:0;padding:16px}}@media (forced-colors:active){.welcome-landing,.welcome-landing-card{border-color:canvastext}}.pebble-icon{flex:none;width:1.5em;height:1.5em;display:block}.pebble-amount{vertical-align:middle;align-items:center;gap:.25em;min-width:0;max-width:100%;font-weight:900;line-height:1.1;display:inline-flex}.pebble-amount--large .pebble-icon{width:2.5em;height:2.5em}.pebble-value{overflow-wrap:anywhere;min-width:0}
