:root{--world-line:#d5dfca;--world-green:#517348}
.world-nav{display:flex;align-items:center;gap:6px;margin-left:14px}
.world-nav a{font-size:14px;font-weight:900;min-height:44px;display:flex;align-items:center;padding:10px 13px;border-radius:12px;color:#65795b;white-space:nowrap}
.world-nav a:hover,.world-nav a[aria-current=page]{background:#e2ebd5;color:#426135}
.header-actions{gap:3px}.treat-wallet{color:#6f7c3f;background:#eaeacf}.treat-wallet>span{color:#c3a14a}
.world-hero{display:grid;grid-template-columns:.85fr 1.35fr;gap:45px;align-items:center;padding:37px 0 28px}
.world-intro>.eyebrow{font-size:10px;letter-spacing:1.5px;color:#7c9665}
.world-intro h1{font-size:64px;line-height:1;letter-spacing:-2.8px;margin:16px 0 20px;color:#35553f}
.world-intro h1 span{color:#dc795c}.world-intro>p:not(.eyebrow){font-size:18px;line-height:1.65;color:#6a7d60;max-width:385px;margin:0 0 24px}
.world-intro .start-button{display:inline-flex;min-width:220px;font-size:18px;min-height:56px}
.current-world{display:block;font-size:13px;font-weight:900;color:#7b906c;margin:13px 0 20px;padding-left:3px}
.world-help{font-size:14px;color:#627a54;min-height:44px}.world-help>span{width:21px;height:21px}
.world-overview{position:relative;border:6px solid #fffdf3;border-radius:35px;box-shadow:0 6px 0 #d6dfc8,0 15px 35px #42643c13;transform:rotate(-1deg);overflow:hidden;background:#dceddf}
#world-map svg{width:100%;height:auto;display:block}.map-stamp{position:absolute;bottom:15px;left:18px;display:flex;gap:8px;align-items:center;background:#fff9e9f5;border:1px solid #d7d7b6;padding:9px 14px;border-radius:13px;color:#647943;font-size:13px;font-weight:900;box-shadow:0 3px 0 #80945117;pointer-events:none}
.map-stamp>span{width:20px;height:20px;color:#dd9870}
.world-profile{display:flex;align-items:center;gap:17px;border:1px solid #ccd9bb;background:#e6edda;border-radius:18px;padding:12px 18px;margin:10px 0 37px;box-shadow:0 3px 0 #d6e0c8}
.world-profile .dog-portrait{width:68px;height:68px;flex-shrink:0;position:relative}.world-profile .dog-portrait img{width:62px;height:62px;left:3px;top:3px;border:3px solid #fff2c9}
.world-profile .dog-name-button{margin:0;padding:0;justify-content:flex-start;gap:7px}.world-profile .dog-name-button h2{font-size:25px;margin:0;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.world-profile .dog-name-button>span{width:17px;height:17px;margin:0;color:#7c9465}.world-profile p{font-size:14px;color:#687d56;margin:2px 0 0}
.world-profile>div:nth-child(2){flex:1;min-width:0}.world-profile .secondary-button{min-height:46px;font-size:14px;background:#fff9e8;border-color:#d0d7bd;flex-shrink:0}.world-profile>.text-button{font-size:14px;padding:10px 6px;min-height:44px;flex-shrink:0}
.section-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 20px}
.section-title .eyebrow{font-size:10px;letter-spacing:1px;color:#879870;margin-bottom:6px}
.section-title h2{font-size:28px;letter-spacing:-.8px;color:#36553d;margin:0;font-weight:900}
.section-title>span{font-size:14px;color:#7e8e6b}.section-title>a{font-size:14px;font-weight:900;color:#6e8557;display:flex;gap:7px;align-items:center;min-height:44px}.section-title>a>span{height:20px;width:20px}
.world-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.world-card{border:1px solid #d5dfc7;border-radius:20px;background:#fffdf2;padding:12px;position:relative;box-shadow:0 4px 0 #dfe5d2;transition:transform .15s,border-color .15s;min-width:0}
.world-card:hover{transform:translateY(-3px);border-color:#92aa72}.world-card-art{height:135px;background:var(--zone);border-radius:13px;position:relative;overflow:hidden}.world-card-art>svg{height:136px;max-width:170px;margin:auto}.zone-index{position:absolute;top:9px;left:10px;font-size:11px;font-weight:900;color:var(--zone-ink);opacity:.7}
.world-card-copy{padding:13px 4px 8px}.world-card h2{font-size:19px;line-height:1.2;margin:0;font-weight:900;letter-spacing:-.3px;color:#405a39;min-height:46px}.world-card p{font-size:12px;color:#6b7e57;line-height:1.5;margin:7px 0 11px;min-height:36px}
.zone-track{height:6px;border-radius:10px;background:#e8ecd9;overflow:hidden}.zone-track>span{display:block;height:100%;background:var(--zone-ink);border-radius:10px}
.zone-arrow{position:absolute;right:12px;bottom:12px;width:20px;height:20px;color:var(--zone-ink);display:none}.world-locked .world-card-art{filter:saturate(.75)}
.home-build-section{margin-top:42px}#home-building-links{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.home-build-link{display:flex;align-items:center;gap:16px;border:1px solid #d9deca;border-radius:18px;background:#f0eddc;min-height:102px;padding:10px 18px;font-size:19px;font-weight:900;color:#5d7051}
.home-build-link>svg{width:90px;height:80px;flex-shrink:0}.home-build-link .small-arrow{width:22px;height:22px;margin-left:auto;flex-shrink:0}.home-build-link:hover{background:#e8ebd7}
.home-local-note{font-size:12px;color:#829370;margin-top:27px;text-align:center}
.area-view{padding-top:20px}.area-breadcrumb{display:flex;align-items:center;gap:24px;min-height:44px;margin-bottom:22px}
.area-breadcrumb>a{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:900;color:#65814d;white-space:nowrap;min-height:44px}.area-breadcrumb>a>svg{width:21px;height:21px;transform:rotate(180deg)}
.area-breadcrumb nav{display:flex;gap:6px;overflow-x:auto;white-space:nowrap;margin-left:auto;scrollbar-width:thin;max-width:calc(100% - 130px)}
.area-breadcrumb nav>a{display:flex;align-items:center;padding:10px 12px;min-height:44px;border-radius:9px;font-size:12px;font-weight:900;color:#788b64;flex-shrink:0}.area-breadcrumb nav>a:hover,.area-breadcrumb nav>a[aria-current=page]{background:#e5ebd8;color:#4c6c3c}
.area-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:0 0 26px}
.area-heading .eyebrow{font-size:10px;letter-spacing:1px;color:#839b6b}.area-heading h1{font-size:47px;line-height:1.1;margin:9px 0 13px;color:#36563f;letter-spacing:-1.5px}.area-heading p:not(.eyebrow){font-size:17px;line-height:1.7;max-width:640px;color:#6e8260;margin:0}.area-symbol{width:112px;height:102px;display:block;border-radius:24px;flex-shrink:0;padding:4px}
.area-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px;align-items:stretch}
.scene-card{border:1px solid #d2ddc4;border-radius:24px;background:#fffdf2;padding:10px;box-shadow:0 5px 0 #dce5d0;overflow:hidden}.area-scene{position:relative;aspect-ratio:960/560;overflow:hidden;border-radius:17px;background:#dfead1}.area-scene>svg{display:block;width:100%;height:100%}
.scene-dog{position:absolute;width:12%;height:22%;left:43%;top:62%;animation:world-explore 8s ease-in-out infinite alternate;filter:drop-shadow(0 4px 1px #42603d12)}.scene-dog>svg{width:100%;height:100%}.scene-dog>img{width:85%;height:85%;object-fit:cover;border:4px solid #ffe8a3;border-radius:50%;margin:9%}
.scene-caption{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:15px 8px 7px;font-size:12px;color:#7c9167}.scene-caption>span:last-child{display:flex;align-items:center;gap:5px}.scene-caption svg{width:16px;height:16px;color:#9dad7c}
.area-side{background:var(--zone);border:1px solid #b9ccad;border-radius:21px;padding:25px 22px;color:var(--zone-ink);display:flex;flex-direction:column;align-items:stretch;justify-content:center}
.area-side>.eyebrow{font-size:10px;letter-spacing:1px;color:var(--zone-ink);opacity:.8}.area-game-count{font-size:55px;line-height:1.1;letter-spacing:-2px;margin-top:10px;font-weight:900}.area-game-count>span{font-size:23px;letter-spacing:-.5px;opacity:.6}.area-count-label{font-size:13px;margin:2px 0 14px}.area-progress{height:8px;background:#ffffff70;border-radius:8px;overflow:hidden;margin-bottom:21px}.area-progress>span{display:block;height:100%;background:var(--zone-ink);border-radius:8px}
.next-game-details{display:flex;flex-direction:column;gap:4px}.next-game-details>b{font-size:17px}.next-game-details>span{font-size:14px;opacity:.85}.area-side .full-button{font-size:17px;margin-top:18px}.area-side .full-button>svg{width:23px;height:23px;flex-shrink:0}.area-games-jump{font-size:13px;font-weight:900;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin-top:7px}.area-games-jump>svg{width:18px;height:18px}
.area-tip{font-size:12px;line-height:1.6;opacity:.85;margin:10px 0 0}.locked-note{display:flex;gap:12px;align-items:start;margin-top:4px}.locked-note>svg{width:28px;height:28px;flex-shrink:0;margin-top:8px}.locked-note>p{font-size:14px;line-height:1.65;margin:0}.area-side h2{font-size:29px;line-height:1.1;margin:13px 0}.area-side>p:not([class]){font-size:15px;line-height:1.6;margin:0}.decor-preview{height:115px;margin-top:14px}.decor-preview>svg{height:100%}
.build-section{margin-top:40px}.build-explanation{font-size:13px!important;color:#82966e}.build-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.build-card{border:1px solid #d7dfc8;border-radius:19px;padding:12px;background:#fffdf2;min-width:0}.build-art{height:157px;border-radius:13px;position:relative;overflow:hidden}.build-art>svg{height:155px;width:180px;max-width:100%;margin:auto}.build-level{position:absolute;right:10px;top:9px;color:#ae8b37;background:#fff1bc;border:1px solid #dfc476;font-size:13px;letter-spacing:2px;line-height:1;padding:5px 8px;border-radius:8px}
.build-card h3{font-size:19px;letter-spacing:-.3px;line-height:1.25;margin:14px 5px 6px;font-weight:900;color:#45613e}.build-stage{font-size:13px;margin:0 5px 14px;color:#87996e}.build-button{display:flex;gap:10px;align-items:center;justify-content:center;width:100%;min-height:46px;font-size:15px;font-weight:900;border:1px solid #7e9d5e;background:#dcebc6;color:#4d7135;border-radius:10px;padding:10px}.build-button>b{background:#f0f5e2;color:#556f3e;border-radius:6px;padding:2px 7px;font-size:15px}.build-button>svg{width:19px;height:19px}.build-button:hover:not(:disabled){background:#cfe3b3}.build-button:disabled{opacity:1;background:#edf0e3;border-color:#d5ddc7;color:#82956f}.build-button:disabled>b{color:#8b9b78;background:#f5f5ec}.build-reason{font-size:12px;line-height:1.4;text-align:center;margin:8px 0 1px;min-height:17px;color:#8a9a73}.build-feedback{font-size:15px;color:#557b39;font-weight:800;margin:12px 0;min-height:22px}
.games-section{margin:28px 0 0;padding:25px;background:#efefdf;border:1px solid #d8dfc8;border-radius:20px}.chapter-label{font-size:13px;font-weight:900;display:flex;align-items:center;gap:10px;color:#7b8c66}.chapter-label select{font:inherit;min-height:44px;padding:8px 32px 8px 13px;color:#5f794c;border:1px solid #c7d5b5;border-radius:10px;background:#fffaf0}
.games-grid{display:grid;grid-template-columns:repeat(10,1fr);gap:10px}.game-node{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #ccd6bb;background:#f8f6e9;border-radius:16px;min-height:86px;padding:11px 4px;color:#91a278;box-shadow:0 3px 0 #d2dcc1}.game-node>span{font-size:25px;font-weight:900}.game-node small{width:20px;height:20px;margin-top:4px}.game-node.game-current{background:#e9946a;border-color:#c5744e;color:#fff6dd;box-shadow:0 4px 0 #c77b50}.game-node.game-done{background:#d7e8c0;border-color:#a5c182;color:#6b8d47}.game-node:disabled{opacity:1;box-shadow:0 2px 0 #dee4d0;background:#e9eddf;color:#9bab8a}.game-node.game-done small{color:#6f9749}

body[data-view=play] .world-nav{display:none}.game-toolbar{max-width:580px}.game-toolbar h1{font-size:19px}.back-home{font-size:14px;gap:5px}.back-home>svg{width:21px;height:21px;transform:rotate(180deg);flex-shrink:0}
body[data-view=area] .ad-section{margin-top:65px}
@keyframes world-explore{0%,25%{transform:translate(-12px,0) rotate(-3deg)}70%,100%{transform:translate(25px,-13px) rotate(5deg)}}
@media(max-width:1100px){.world-nav{gap:0;margin-left:0}.world-nav a{padding:9px 10px;font-size:13px}.install-button>span:last-child{display:none}.world-hero{gap:25px}.world-intro h1{font-size:56px}.world-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.world-card-art{height:145px}.world-card h2{min-height:0}.world-card p{min-height:36px}.world-card:nth-child(n+4){grid-column:auto}.area-layout{grid-template-columns:minmax(0,1fr) 250px}.area-side{padding:20px 18px}.area-game-count{font-size:48px}.scene-caption{font-size:11px}.home-build-link{gap:10px;padding:10px 13px;font-size:17px}.home-build-link>svg{width:67px;height:65px}.world-intro>p:not(.eyebrow){font-size:17px}.area-breadcrumb nav>a{font-size:11px;padding:10px}}
@media(max-width:800px){.world-hero{grid-template-columns:1fr 1.15fr;gap:24px}.world-intro h1{font-size:46px}.world-intro>p:not(.eyebrow){font-size:15px}.world-intro .start-button{min-width:0;min-height:52px;font-size:16px;padding:13px 18px}.world-intro .eyebrow{font-size:8px;letter-spacing:.9px}.world-overview{border-width:5px;border-radius:24px}.map-stamp{font-size:10px;padding:7px 9px;left:10px;bottom:10px}.map-stamp>span{width:17px;height:17px}.world-profile>.text-button{font-size:12px}.world-profile{gap:12px;padding:10px 14px}.area-layout{grid-template-columns:1fr}.area-side{display:grid;grid-template-columns:1fr 1.2fr;gap:3px 25px;padding:23px}.area-side>.eyebrow{grid-column:1}.area-game-count{grid-column:1;grid-row:2;font-size:43px;margin:0}.area-count-label{grid-column:1;grid-row:3;margin:0}.area-progress{grid-column:1;grid-row:4;margin:8px 0 12px}.next-game-details{grid-column:2;grid-row:1/3;justify-content:center}.area-side .area-play{grid-column:2;grid-row:3/5;margin:3px 0 0}.area-games-jump{grid-column:2;grid-row:5;margin:0}.area-tip{grid-column:1/-1;margin:8px 0 0}.locked-note{grid-column:2;grid-row:1/5}.area-side>h2{grid-column:1;grid-row:2;margin:8px 0;font-size:27px}.area-side>p:not([class]){grid-column:1;grid-row:3;font-size:14px}.decor-preview{grid-column:2;grid-row:1/4;height:130px;margin:0}.area-side>a.full-button{grid-column:2;grid-row:4;min-height:46px;font-size:15px;margin:7px 0 0}.scene-caption{font-size:13px}.games-grid{grid-template-columns:repeat(5,1fr)}.section-title>span{max-width:200px;font-size:12px}.section-title h2{font-size:25px}.area-heading h1{font-size:41px}.area-heading p:not(.eyebrow){font-size:16px}.area-symbol{width:96px;height:90px}.build-card h3{font-size:17px}.build-art{height:135px}.build-art>svg{height:135px}}
@media(max-width:600px){
 .site-header{height:auto;min-height:68px;flex-wrap:wrap;padding:10px 0 8px;row-gap:8px}.world-nav{order:3;width:100%;justify-content:center;gap:9px;padding:3px;background:#eeefe1;border-radius:12px}.world-nav a{min-height:40px;font-size:14px;padding:9px 15px}.header-actions{margin-left:auto}.header-actions .icon-button{width:36px;height:40px;padding:9px}.install-button{width:38px;height:40px;min-height:40px;padding:8px}.treat-wallet{padding:7px 8px;gap:4px}.treat-wallet b{font-size:14px}.treat-wallet span{width:19px;height:19px}.brand{font-size:22px}.brand-mark{width:36px;height:36px}
 .world-hero{display:flex;flex-direction:column;align-items:stretch;gap:27px;padding:23px 0 24px}.world-overview{order:1;transform:rotate(-1deg);border-width:5px;border-radius:24px}.world-intro{order:2}.world-intro h1{font-size:46px;letter-spacing:-1.8px;margin:10px 0 14px}.world-intro h1 br{display:none}.world-intro h1 span{display:block}.world-intro>.eyebrow{font-size:9px;letter-spacing:1.1px}.world-intro>p:not(.eyebrow){font-size:16px;line-height:1.6;max-width:none;margin-bottom:20px}.world-intro .start-button{font-size:18px;min-height:54px;min-width:200px}.current-world{display:inline-block;margin:0 0 0 12px;font-size:12px;vertical-align:middle;max-width:105px}.world-help{font-size:14px;margin-top:13px;min-height:40px}.map-stamp{font-size:11px;padding:7px 10px;left:12px;bottom:12px}
 .world-profile{gap:9px;padding:11px 12px;margin:0 0 32px;flex-wrap:wrap;border-radius:17px}.world-profile .dog-portrait{width:56px;height:56px}.world-profile .dog-portrait img{width:52px;height:52px;left:2px;top:2px;border-width:3px}.world-profile .dog-name-button h2{font-size:23px;max-width:122px}.world-profile p{font-size:12px}.world-profile .secondary-button{font-size:12px;padding:10px;gap:5px;min-height:44px}.world-profile .secondary-button>span{width:18px;height:18px}.world-profile>.text-button{width:100%;border-top:1px solid #ccd8b9;padding:12px 0 0;justify-content:center;min-height:38px;margin-top:3px;font-size:14px}.world-profile>.text-button>span{width:18px;height:18px}
 .section-title{gap:14px;align-items:end;margin-bottom:17px}.section-title .eyebrow{font-size:8px;line-height:1.6;letter-spacing:.8px}.section-title h2{font-size:25px;letter-spacing:-.8px}.worlds-section .section-title>span{display:none}.world-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.world-card{padding:10px;border-radius:17px}.world-card-art{height:124px;border-radius:11px}.world-card-art>svg{height:125px}.world-card h2{font-size:18px;min-height:43px}.world-card p{font-size:12px;line-height:1.5;margin:7px 0 10px}.world-card-copy{padding:12px 2px 6px}.world-card:first-child{grid-column:1/-1;display:grid;grid-template-columns:135px 1fr;gap:16px;align-items:center}.world-card:first-child h2{font-size:22px;min-height:0}.world-card:first-child p{min-height:0;font-size:14px}.world-card:first-child .world-card-art{height:128px}.world-card:first-child .world-card-copy{padding-right:8px}.zone-index{font-size:10px;top:8px;left:9px}
 .home-build-section{margin-top:32px}.home-build-section .section-title{display:block}.section-title>a{font-size:13px;margin-top:8px;min-height:35px}#home-building-links{grid-template-columns:1fr;gap:12px}.home-build-link{font-size:18px;min-height:83px;padding:8px 18px;gap:20px}.home-build-link>svg{width:77px;height:68px}.home-build-link .small-arrow{width:22px;height:22px}.home-local-note{font-size:12px;line-height:1.7;margin:24px 8px 0;text-align:left}
 .area-view{padding-top:12px}.area-breadcrumb{display:block;margin-bottom:24px}.area-breadcrumb>a{font-size:14px;min-height:40px}.area-breadcrumb nav{max-width:none;width:100%;margin:7px 0 0;border-bottom:1px solid #dde4d1;padding-bottom:7px}.area-breadcrumb nav>a{min-height:42px;font-size:13px;padding:10px 12px}.area-heading{align-items:start;gap:12px;margin-bottom:21px}.area-heading .eyebrow{font-size:8px;letter-spacing:.8px}.area-heading h1{font-size:34px;letter-spacing:-1px;margin:7px 0 11px}.area-heading p:not(.eyebrow){font-size:15px;line-height:1.6;max-width:none}.area-symbol{width:68px;height:68px;border-radius:17px;padding:2px}.area-heading>div{flex:1;min-width:0}.area-heading:has(p:not(.eyebrow)) .area-symbol{display:none}.area-layout{gap:18px}.scene-card{border-radius:18px;padding:7px}.area-scene{border-radius:12px}.scene-caption{padding:12px 5px 6px;font-size:11px;gap:5px}.scene-caption svg{width:13px;height:13px}.scene-dog{width:13%;height:23%;top:61%}.scene-dog>img{border-width:2px}
 .area-side{border-radius:18px;padding:20px;gap:3px 17px;grid-template-columns:1fr 1.2fr}.area-side>.eyebrow{font-size:8px;letter-spacing:.7px}.area-game-count{font-size:40px}.area-game-count>span{font-size:18px}.area-count-label{font-size:11px}.area-progress{height:7px;margin:7px 0 0}.next-game-details>b{font-size:15px}.next-game-details>span{font-size:12px}.area-side .area-play{font-size:15px;min-height:48px;padding:11px 8px;gap:5px}.area-side .area-play>svg{width:20px;height:20px}.area-games-jump{font-size:12px;min-height:37px;margin-top:4px}.area-tip{font-size:11px;margin-top:10px;line-height:1.7}.locked-note{gap:7px;margin:0}.locked-note>svg{width:22px;height:22px}.locked-note>p{font-size:12px;line-height:1.6}.area-side>h2{font-size:25px}.area-side>p:not([class]){font-size:13px;line-height:1.6}.decor-preview{height:125px}.area-side>a.full-button{font-size:13px;padding:10px 8px}.area-side>a.full-button>svg{width:19px;height:19px}
 .build-section{margin-top:31px}.build-section .section-title{display:block}.build-explanation{display:block;font-size:12px!important;margin-top:8px}.build-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.build-card{padding:9px;border-radius:15px}.build-art{height:127px;border-radius:10px}.build-art>svg{height:126px;width:150px}.build-card h3{font-size:16px;line-height:1.35;min-height:43px;margin:12px 3px 4px}.build-stage{font-size:11px;margin:0 3px 12px}.build-button{font-size:13px;gap:5px;padding:10px 6px;min-height:44px}.build-button>b{font-size:13px;padding:2px 4px}.build-level{font-size:10px;padding:4px 6px;top:7px;right:6px;letter-spacing:1px}.build-reason{font-size:11px;line-height:1.5;min-height:32px;padding:0 2px;margin-top:7px}.build-feedback{font-size:13px;line-height:1.6;margin:12px 2px;min-height:20px}
 .games-section{padding:18px 14px;border-radius:17px;margin-top:20px}.games-section .section-title h2{font-size:22px}.games-section .section-title{align-items:center;gap:10px}.chapter-label{display:flex;flex-direction:column;align-items:start;gap:3px;font-size:10px}.chapter-label select{min-height:42px;font-size:13px;padding:7px 22px 7px 9px}.games-grid{gap:8px}.game-node{min-height:76px;border-radius:13px}.game-node>span{font-size:22px}.game-node small{width:17px;height:17px;margin-top:5px}

 body[data-view=play] .site-header{height:64px;min-height:64px;flex-wrap:nowrap;padding:0}.game-toolbar{gap:8px}.game-toolbar h1{font-size:16px;line-height:1.3;max-width:58%;flex-shrink:0}.back-home{font-size:13px;min-width:0;text-align:left;line-height:1.25;max-width:44%;gap:4px}.back-home>svg{width:17px;height:17px}.world-nav a[aria-current=page]{background:#dfe8ce}.game-toolbar .back-home{padding:8px 0}
}
@media(max-width:350px){.brand{font-size:20px}.brand-mark{width:32px;height:34px}.header-actions .icon-button{width:32px;height:38px;padding:8px}.install-button{width:33px;height:38px;padding:8px}.treat-wallet{padding:6px;gap:3px}.treat-wallet b{font-size:12px}.world-nav{gap:2px}.world-nav a{font-size:13px;padding:9px 13px}.world-intro h1{font-size:42px}.world-intro .start-button{min-width:180px;font-size:17px;padding:12px 13px}.current-world{font-size:11px;margin-left:7px;max-width:90px}.world-profile{padding:10px;gap:7px}.world-profile .dog-portrait{width:49px;height:49px}.world-profile .dog-name-button h2{font-size:21px;max-width:91px}.world-profile p{font-size:11px}.world-profile .secondary-button{font-size:11px;padding:9px;gap:4px}.world-card:first-child{grid-template-columns:110px 1fr;gap:12px}.world-card:first-child h2{font-size:21px}.world-card:first-child .world-card-art{height:122px}.world-card h2{font-size:17px}.world-card-art{height:113px}.world-card-art>svg{height:115px}.world-card p{font-size:11px}.world-card h2{min-height:42px}.area-heading h1{font-size:31px}.area-side{padding:17px 14px;gap:3px 13px}.area-game-count{font-size:36px}.next-game-details>b{font-size:14px}.next-game-details>span{font-size:11px}.area-side .area-play{font-size:14px}.build-card h3{font-size:15px}.build-art{height:111px}.build-art>svg{height:112px}.build-button{font-size:12px;gap:3px}.build-button>b{font-size:12px}.build-reason{font-size:10px}.games-grid{gap:6px}.games-section{padding:16px 11px}.game-node>span{font-size:21px}.scene-caption{font-size:10px}.game-toolbar h1{font-size:15px}.back-home{font-size:12px}}

.scene-tabs{display:flex;align-items:center;gap:5px;padding:0 0 10px;min-height:42px}.scene-tabs button{display:flex;align-items:center;justify-content:center;min-height:38px;border-radius:9px;background:transparent;color:#82936e;font-size:12px;font-weight:900;padding:8px 14px}.scene-tabs button[aria-pressed=true]{background:#e8efda;color:#5f7c47}.scene-tabs>span{font-size:12px;font-weight:900;color:#8b9d75;padding-left:9px}

/* A continuous building world with a persistent area strip. */
body[data-view=area]{overflow:hidden;overscroll-behavior:none}
body[data-view=area] .site-header,body[data-view=area] .ad-section,body[data-view=area] footer{display:none}
#area-screen{position:fixed;inset:0;width:100%;height:100dvh;padding:0;overflow:hidden;background:#dfeeda;z-index:20}
.area-navigation{position:absolute;top:0;left:0;right:0;z-index:40;padding:max(10px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) 9px max(18px,env(safe-area-inset-left));background:linear-gradient(#f8f7edf5,#f8f7ede8);border-bottom:1px solid #baccaa70;box-shadow:0 3px 15px #4d6b3f0a;backdrop-filter:blur(12px)}
.area-topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:48px;margin-bottom:7px}
.area-topbar h1{font-size:23px;letter-spacing:-.5px;margin:0;color:#3e623e;text-align:center;line-height:1.15}
.area-home{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:900;color:#537743;min-height:44px;white-space:nowrap}
.area-home>svg{width:24px;height:24px;transform:rotate(180deg)}
.area-wallet{display:flex;align-items:center;gap:7px;min-height:40px;padding:7px 14px;border-radius:20px;background:#e8edcf;color:#69813d;flex-shrink:0}
.area-wallet svg{width:24px;height:24px;color:#baa04c}.area-wallet b{font-size:17px;font-weight:900}
#area-nav{display:flex;align-items:center;gap:6px;position:relative;overflow-x:auto;scrollbar-width:none;scroll-behavior:auto;overscroll-behavior-x:contain;white-space:nowrap;max-width:100%;padding:2px 0}
#area-nav::-webkit-scrollbar{display:none}
#area-nav a{flex-shrink:0;display:flex;align-items:center;min-height:43px;padding:10px 15px;border-radius:12px;color:#708860;font-size:14px;font-weight:900}
#area-nav a:hover{background:#eaf0dd}#area-nav a[aria-current=page]{background:#dfeacd;color:#3f6534;box-shadow:inset 0 0 0 1px #c6d8b0}
#area-content,.area-stage{position:absolute;inset:0;overflow:hidden}
.area-stage .area-scene{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;border-radius:0;overflow:hidden;background:var(--zone)}
.area-stage .area-scene>svg{display:block;width:100%;height:100%}
.area-stage .scene-dog{width:clamp(68px,10vw,120px);height:auto;aspect-ratio:1;left:44%;top:60%;animation:world-explore 8s ease-in-out infinite alternate}
.area-stage .scene-dog>img{width:100%;height:100%;margin:0;border:4px solid #ffe7a3;box-shadow:0 4px 10px #35522f20}
.area-stage .scene-tabs{position:absolute;z-index:4;top:calc(129px + env(safe-area-inset-top));left:max(20px,env(safe-area-inset-left));min-height:42px;padding:4px;background:#fff9ecef;border:1px solid #d5dfbf;border-radius:13px;box-shadow:0 3px 0 #829c6520;gap:3px;backdrop-filter:blur(8px)}
.area-stage .scene-tabs button{min-height:36px;font-size:13px;padding:8px 13px}.area-stage .scene-tabs>span{padding:7px 12px;font-size:13px;color:#6d8650}
.area-info-button{position:absolute;right:max(20px,env(safe-area-inset-right));top:calc(129px + env(safe-area-inset-top));width:47px;height:47px;padding:11px;border-radius:50%;background:#fff9ecf0;border:1px solid #d2dfbd;color:#6f8753;box-shadow:0 3px 0 #829c6520;z-index:4}
.area-stage .scene-caption{position:absolute;left:20px;right:20px;bottom:calc(91px + env(safe-area-inset-bottom));z-index:4;padding:0;pointer-events:none;font-size:12px;color:#55743f;align-items:end;gap:8px}
.area-stage .scene-caption>span{background:#fff9e9e8;border:1px solid #d0dfbb;padding:7px 11px;border-radius:10px;box-shadow:0 2px 0 #6e8e4f10}
.area-stage .scene-caption>span:last-child{gap:6px}.area-stage .scene-caption svg{width:16px;height:16px}
.area-dock{display:flex;justify-content:center;align-items:stretch;gap:9px;position:absolute;z-index:25;bottom:max(14px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 28px);background:#fff8e9ed;border:1px solid #c7d8b1;border-radius:18px;padding:7px;box-shadow:0 5px 0 #92ae6b25,0 8px 26px #415e3020;backdrop-filter:blur(12px)}
.area-dock>button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:48px;min-width:100px;padding:10px 16px;border-radius:12px;font-size:15px;font-weight:900;color:#607e45;background:#e8eedb;white-space:nowrap}
.area-dock>button>svg{width:22px;height:22px;flex-shrink:0}.area-dock>button[aria-expanded=true]{color:#3d642e;background:#d6e5c1;box-shadow:inset 0 0 0 1px #abc68b}
.area-dock>.area-play{color:#fff4df;background:#df805e;box-shadow:0 3px 0 #be694b;margin:0;min-width:145px;font-size:16px}
.area-dock>.area-play:hover{background:#d57150}.area-dock>.area-dock-locked{color:#7c8c67;background:#e5e8d6;font-size:14px}
.area-panel-backdrop{position:absolute;inset:0;z-index:20;background:#3554311a;cursor:default;backdrop-filter:blur(1px)}
.area-panel{position:absolute;z-index:30;right:20px;bottom:calc(90px + env(safe-area-inset-bottom));width:560px;max-width:calc(100% - 40px);max-height:calc(100dvh - 270px - env(safe-area-inset-top) - env(safe-area-inset-bottom));display:flex;flex-direction:column;background:#fbf8ec;border:1px solid #c9d9b7;border-radius:22px;box-shadow:0 12px 45px #35532c30;overflow:hidden}
.area-panel>header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 18px 10px;border-bottom:1px solid #e0e6d1;flex-shrink:0}
.area-panel-title{font-size:23px;font-weight:900;margin:0;letter-spacing:-.5px;color:#4b6b3d;outline:none}
.area-panel>header>button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;padding:10px;background:#e9efdd;color:#6b8752;flex-shrink:0}
.area-panel-scroll{overflow:auto;overscroll-behavior:contain;min-height:0;padding:15px 18px 18px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.area-panel-intro{font-size:14px;line-height:1.6;color:#788e61;margin:0 0 17px}
.area-panel .build-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.area-panel .build-card{padding:10px}.area-panel .build-art{height:122px}.area-panel .build-art>svg{height:122px}.area-panel .build-card h3{font-size:17px;margin:12px 3px 5px;min-height:43px}.area-panel .build-stage{font-size:12px;margin:0 3px 12px}.area-panel .build-button{font-size:14px;gap:6px;min-height:45px}.area-panel .build-button b{font-size:14px}.area-panel .build-reason{font-size:12px;min-height:33px}
.area-games-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:15px;font-weight:900;color:#768b5f;margin-bottom:20px}.area-panel .games-grid{grid-template-columns:repeat(5,1fr)}
.area-info{font-size:16px;line-height:1.7;color:#657c53}.area-info .eyebrow{font-size:11px;color:#8b9f70}.area-info>p{margin:8px 0 15px}.area-info>strong{font-size:27px;font-weight:900;color:#577640}.area-info .area-progress{background:#e5ecd6;margin:12px 0 22px}.area-info .area-progress>span{background:#97b376}.area-info .area-play{font-size:17px;min-height:50px;gap:10px}.area-info .area-play>svg{width:23px;height:23px}
.area-notice{position:absolute;z-index:31;left:18px;right:18px;bottom:calc(103px + env(safe-area-inset-bottom));font-size:14px;text-align:center;pointer-events:none;color:#466a32;text-shadow:0 1px #fff7dd;margin:0;min-height:0}.area-notice:empty{display:none}
@media(max-width:600px){
 .area-navigation{padding:max(9px,env(safe-area-inset-top)) 12px 8px}.area-topbar{gap:10px;min-height:43px;margin-bottom:7px}.area-topbar h1{font-size:19px;line-height:1.15;letter-spacing:-.5px;flex:1}.area-home{min-height:42px;width:40px;justify-content:center}.area-home>svg{width:24px;height:24px}.area-home>span{display:none}.area-wallet{min-height:37px;padding:6px 9px;gap:5px}.area-wallet svg{width:20px;height:20px}.area-wallet b{font-size:15px}
 #area-nav{gap:4px;padding:2px 0}#area-nav a{min-height:43px;font-size:13px;padding:10px 13px;border-radius:11px}
 .area-stage .scene-tabs{top:calc(123px + env(safe-area-inset-top));left:12px;min-height:40px;padding:3px;border-radius:12px}.area-stage .scene-tabs button{font-size:12px;padding:8px 10px;min-height:34px}.area-stage .scene-tabs>span{font-size:12px;padding:7px 9px}.area-info-button{right:12px;top:calc(123px + env(safe-area-inset-top));width:44px;height:44px;padding:10px}
 .area-stage .scene-dog{width:clamp(72px,18vw,92px);left:42%;top:57%}.area-stage .scene-dog>img{border-width:3px}.area-stage .scene-caption{left:12px;right:12px;bottom:calc(93px + env(safe-area-inset-bottom));font-size:11px;gap:5px}.area-stage .scene-caption>span{padding:6px 9px;border-radius:9px}.area-stage .scene-caption svg{width:14px;height:14px}
 .area-dock{left:10px;right:10px;transform:none;width:auto;max-width:none;padding:6px;gap:6px;border-radius:17px;bottom:max(12px,env(safe-area-inset-bottom))}.area-dock>button{min-width:0;min-height:49px;font-size:13px;gap:5px;padding:10px 9px;flex:1;border-radius:11px}.area-dock>button>svg{width:19px;height:19px}.area-dock>.area-play{min-width:0;flex:1.35;font-size:14px;padding:10px 8px;gap:5px}.area-dock>.area-dock-locked{font-size:12px}
 .area-panel{left:10px;right:10px;bottom:calc(88px + env(safe-area-inset-bottom));max-width:none;width:auto;border-radius:20px;max-height:calc(100dvh - 267px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.area-panel>header{padding:11px 13px 9px;gap:10px}.area-panel-title{font-size:21px}.area-panel>header>button{width:42px;height:42px;padding:10px}.area-panel-scroll{padding:13px 12px 15px}.area-panel-intro{font-size:13px;line-height:1.6;margin-bottom:15px}.area-panel .build-grid{gap:11px}.area-panel .build-card{padding:8px;border-radius:14px}.area-panel .build-art{height:112px}.area-panel .build-art>svg{height:112px}.area-panel .build-card h3{font-size:15px;min-height:41px;line-height:1.35;margin:10px 2px 4px}.area-panel .build-stage{font-size:11px;margin:0 2px 10px}.area-panel .build-button,.area-panel .build-button b{font-size:12px}.area-panel .build-button{gap:4px;padding:10px 4px;min-height:44px}.area-panel .build-reason{font-size:10px;min-height:31px;padding:0 1px}.area-panel .build-level{font-size:10px;padding:4px 5px}
 .area-games-summary{font-size:13px;gap:14px;margin-bottom:17px}.area-panel .games-grid{gap:7px}.area-panel .game-node{min-height:72px}.area-panel .game-node>span{font-size:22px}.area-panel .chapter-label{font-size:10px}.area-panel .chapter-label select{min-height:42px;font-size:13px}.area-info{font-size:15px;line-height:1.7}.area-info .eyebrow{font-size:10px}.area-info .area-play{font-size:16px;min-height:48px}.area-notice{font-size:12px;bottom:calc(100px + env(safe-area-inset-bottom))}
}
@media(max-width:350px){.area-topbar h1{font-size:17px}.area-wallet b{font-size:14px}.area-wallet{padding:6px 8px}.area-dock>button{font-size:12px;padding:9px 6px}.area-dock>button>svg{width:17px;height:17px}.area-dock>.area-play{font-size:13px}.area-panel-scroll{padding:12px 10px}.area-panel .build-grid{gap:9px}.area-panel .build-card h3{font-size:14px}.area-panel .build-art,.area-panel .build-art>svg{height:98px}.area-panel .build-button,.area-panel .build-button b{font-size:11px}.area-panel-title{font-size:20px}}
@media(max-height:500px) and (orientation:landscape){.area-navigation{padding-top:5px;padding-bottom:4px}.area-topbar{min-height:37px;margin-bottom:0}.area-topbar h1{font-size:19px}.area-home{min-height:36px}.area-wallet{min-height:32px;padding:4px 10px}.area-wallet b{font-size:14px}#area-nav a{min-height:35px;padding:7px 13px;font-size:12px}.area-stage .scene-tabs,.area-info-button{top:92px}.area-stage .scene-tabs{min-height:35px}.area-stage .scene-tabs button{min-height:29px;font-size:11px;padding:5px 10px}.area-info-button{width:38px;height:38px;padding:9px}.area-dock{bottom:8px;max-width:500px;left:50%;right:auto;transform:translateX(-50%);width:500px;padding:5px}.area-dock>button{min-height:40px}.area-stage .scene-caption{bottom:72px;font-size:10px}.area-panel{max-height:calc(100dvh - 160px);bottom:68px;left:auto;right:12px;width:460px;max-width:calc(100% - 24px)}.area-panel>header{padding:5px 12px}.area-panel-title{font-size:18px}.area-panel>header>button{width:36px;height:36px}.area-stage .scene-dog{width:60px;top:58%}}

/* Real-time 3D scenes share one renderer across the home map and build areas. */
#world-map{position:relative;aspect-ratio:1000/650;isolation:isolate}
.world-canvas{display:block;position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:grab;outline:none}
.world-canvas:active{cursor:grabbing}.has-3d>svg{visibility:hidden}.has-3d>.scene-dog{display:none}
.area-stage .has-3d>.scene-dog.has-photo{display:block;position:absolute;width:48px;height:48px;aspect-ratio:1;animation:none;transform:translate(-50%,-115%);pointer-events:none;filter:drop-shadow(0 3px 3px #233d3540)}
.area-stage .has-3d>.scene-dog.has-photo>img{border:3px solid #fff3cd;box-shadow:none}
.build-art>.model-preview,.world-card-art>.model-preview{display:block;width:100%;height:100%;object-fit:cover}
.home-build-link>.model-preview{width:90px;height:80px;object-fit:cover;border-radius:12px;flex-shrink:0}
.area-stage .scene-tabs,.area-info-button{background:#fffdf0e8;box-shadow:0 4px 16px #294c3520}
@media(max-width:600px){.home-build-link>.model-preview{width:68px;height:68px}.area-stage .has-3d>.scene-dog.has-photo{width:42px;height:42px}}

.area-scene:not(.has-3d)>.world-canvas,#world-map:not(.has-3d)>.world-canvas{display:none}
