:root{font-family:-apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;--bg:#f5f7f2;--ink:#203b2d;--line:#e0e7dc;--green:#285d42;--green-dark:#1b4730}
button,input,select{touch-action:manipulation}.page-wrap{max-width:1470px}.page-heading p{font-size:14px;line-height:1.9}.eyebrow{font-size:12px;color:#64795b}.caps{font-size:12px}.scene{height:310px;background:#e4eedb}.scene.evening{background:#e4e5ec}.scene-top{color:#4f6b43}.scene-weather{color:#4f6b43}.scene-message{font-size:12px;color:#536c47;bottom:15px}.landscape{inset:14px 0 5px}.scene-location .icon{width:16px;height:16px}.card-heading h2{font-size:15px}.workspace-grid{grid-template-columns:minmax(0,1.7fr) minmax(285px,1fr);align-items:start}.right-column{display:flex;flex-direction:column;gap:20px}.timer{font-family:'Avenir Next',-apple-system,sans-serif;font-weight:500;letter-spacing:-4px}.stat-mini{display:none}.zen-btn{display:flex;gap:7px;align-items:center;white-space:nowrap;font-size:12px;color:#61745a;border:1px solid #dfe7d6;border-radius:7px;padding:7px 9px}.zen-btn .icon{width:15px;height:15px}.zen-btn:hover{background:#eff5e9}.growth-status{margin:18px 26px 0}.growth-status-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}.growth-status-top strong{font-size:14px;font-weight:600}.growth-status-top>span{font-size:12px;color:#6f8065}.growth-track{height:5px;background:#e9efe2;border-radius:5px;overflow:hidden}.growth-track>span{display:block;height:100%;width:0;border-radius:5px;background:linear-gradient(90deg,#b6c991,#719858);transition:width .6s linear}.growth-stages{display:flex;justify-content:space-between;gap:5px;margin-top:10px}.growth-stages>span{font-size:12px;color:#8d9b80;position:relative}.growth-stages>span.reached{color:#4e7040}.growth-stages>span.current{font-weight:700}.growth-stages>span.current:before{content:'';position:absolute;left:50%;top:-13px;height:6px;width:6px;background:#63894d;border-radius:50%;transform:translateX(-50%)}.growth-status>p{font-size:12px;color:#77886b;margin:9px 0 0;line-height:1.8}.timer-area{padding-top:21px;padding-bottom:22px}.focus-intention{text-align:left;max-width:350px;margin:0 auto 18px}.focus-intention label{display:block;font-size:12px;color:#77876b;margin-bottom:8px}.focus-intention select{width:100%;font-size:14px;min-height:42px;text-overflow:ellipsis;background-color:#fafbf7;border-radius:9px}.focus-intention select:disabled{color:#47623c;opacity:.8}.welcome-banner{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:24px 26px;background:#eaf2df;border:1px solid #cfdcbd;border-radius:17px;margin-bottom:23px}.welcome-banner h2{font-size:21px;letter-spacing:.2px;line-height:1.7;margin:8px 0}.welcome-banner p{font-size:14px;color:#657c55;margin:0;line-height:1.9}.welcome-actions{display:flex;flex-direction:column;gap:8px;align-items:center;flex-shrink:0}.welcome-actions .primary-btn{font-size:14px}.welcome-actions .text-link{margin:0;font-size:12px}.daily-card{display:flex;justify-content:space-between;align-items:center;gap:28px;border:1px solid var(--line);border-radius:15px;background:#fff;padding:21px 25px;margin-bottom:25px}.daily-card h2{font-size:17px;line-height:1.7;margin:7px 0 5px;font-weight:600}.daily-card p{font-size:12px;color:#738567;margin:0;line-height:1.8}.daily-card .eyebrow{font-size:10px;letter-spacing:1.3px}.daily-journey{min-width:0;width:51%;max-width:500px}.daily-meter-label{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#76866a;margin-bottom:10px}.daily-meter-label strong{font-size:14px;color:#4e6e3c;font-weight:600}.daily-meter{height:6px;border-radius:10px;background:#edf2e6;overflow:hidden}.daily-meter>span{display:block;height:100%;background:#86a465;border-radius:10px;transition:width .8s}.daily-milestones{display:flex;justify-content:space-between;gap:8px;margin-top:12px}.daily-step{display:flex;gap:4px;align-items:center;white-space:nowrap;font-size:11px;color:#8e9c80}.daily-step .icon{width:13px;height:13px}.daily-step.done{color:#527741}.daily-step.done .icon{stroke-width:2.2}.companion-card{border:1px solid #dfe8d4;border-radius:18px;background:linear-gradient(150deg,#edf3e4,#e5edd8);padding:24px;position:relative;overflow:hidden;min-height:260px}.companion-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.companion-name{font-size:14px;font-weight:600;color:#5c7649}.companion-figure{width:142px;height:119px;margin:9px auto -4px;}.companion-figure svg{width:100%;height:100%}.companion-bubble{position:relative;background:#ffffffc9;border:1px solid #d6e1c9;border-radius:12px;padding:14px 16px;min-height:77px}.companion-bubble:before{content:'';position:absolute;top:-5px;left:calc(50% - 5px);width:8px;height:8px;transform:rotate(45deg);border-top:1px solid #d6e1c9;border-left:1px solid #d6e1c9;background:#f8faf4}.companion-bubble p{font-size:14px;line-height:1.9;margin:0;color:#526c40}.garden-card{background:#fff;border:1px solid var(--line);border-radius:21px;overflow:hidden}.garden-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:28px 29px 20px}.garden-title{display:flex;align-items:center;gap:14px}.garden-title h2{font-size:26px;letter-spacing:.7px;margin:12px 0 8px}.garden-title>.icon-btn{color:#82926f}.garden-title .icon{height:17px;width:17px}.garden-header p{font-size:14px;color:#74866b;margin:0;line-height:1.9}.garden-heading-stats{text-align:right;white-space:nowrap}.garden-heading-stats>strong{font-size:29px;font-weight:600;display:block;margin-bottom:9px}.garden-heading-stats>span{font-size:12px;color:#7b8d70}.garden-toolbar{display:flex;align-items:center;gap:12px;padding:0 28px 22px;flex-wrap:wrap}.garden-theme-label{font-size:12px;color:#6f8262;display:flex;align-items:center;gap:9px}.garden-theme-label select{font-size:14px;min-height:39px;padding-right:31px}.garden-expansion{color:#7a8d69;font-size:12px;margin-right:auto}.garden-toolbar>.outline-btn{min-height:40px;font-size:13px;gap:6px}.garden-toolbar>.outline-btn .icon{height:16px;width:16px}.garden-toolbar .selected{background:#edf4e5;color:#3c6730;border-color:#8fab76}.garden-viewport{overflow:auto;max-height:650px;scrollbar-width:thin;scrollbar-color:#b8c8a5 #e9efdf;background:#e8f0e1}.garden-map{width:100%;min-width:680px}.garden-map>svg{display:block;width:100%;height:auto}.garden-map [role=button]{cursor:pointer;outline:none}.garden-map [data-cell]:hover>path:first-child,.garden-map [data-cell]:focus-visible>path:first-child{fill:#d4dda6;stroke:#4c753b;stroke-width:2}.map-object:focus-visible>svg,.map-object:hover>svg{filter:drop-shadow(0 0 4px #e4ecc4)}.map-selected{filter:drop-shadow(0 0 5px #f0e6ac)}.garden-map-hint{font-size:12px;color:#7b8e6c;line-height:1.9;margin:0;padding:13px 27px 17px;background:#f9fbf6}.garden-editor{padding:20px 27px;background:#edf3e6;display:flex;justify-content:space-between;gap:20px;align-items:center;border-top:1px solid #dbe6ce}.garden-editor strong{font-size:14px;line-height:1.8}.garden-editor p{color:#6d825e;font-size:12px;margin:6px 0 0;line-height:1.9}.garden-editor-actions{display:flex;gap:9px;flex-shrink:0}.garden-editor-actions button{font-size:12px;white-space:nowrap}.garden-bottom-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;margin-top:25px;align-items:start}.assets-card,.badges-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:25px;min-width:0}.asset-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:21px 0 12px}.asset-tabs{display:flex;gap:4px;padding:4px;background:#f1f5eb;border-radius:9px}.asset-tabs button{font-size:13px;padding:8px 13px;border-radius:6px;color:#809171;white-space:nowrap}.asset-tabs .selected{color:#3b6130;background:white;box-shadow:0 1px 4px #283e1b0c}.asset-controls>label{font-size:12px;color:#7f9071}.asset-controls select{font-size:12px;margin-left:7px;padding-right:28px}.asset-intro{color:#7f9072;font-size:12px;line-height:1.8;margin:12px 0 19px}.garden-assets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.asset-item{border:1px solid #e0e8d7;border-radius:11px;display:flex;flex-direction:column;align-items:center;text-align:center;padding:12px 6px 14px;background:#fafcf7;min-width:0;transition:border-color .2s,background .2s}.asset-item:hover{background:#eff5e8;border-color:#a6bc90}.asset-item.selected{background:#eaf2dd;border-color:#729753;box-shadow:inset 0 0 0 1px #729753}.asset-item>svg{width:84px;max-width:100%;height:105px}.asset-item strong{font-size:12px;font-weight:500;line-height:1.9;overflow-wrap:anywhere}.asset-item small{font-size:11px;color:#7b8e6b;margin-top:5px;line-height:1.8}.asset-item.unowned{background:#f4f6f0}.asset-item.unowned>svg{opacity:.65}.asset-empty{grid-column:1/-1;text-align:center;padding:30px 10px 25px}.asset-empty>.icon{height:40px;width:40px;margin:auto;color:#849e6a}.asset-empty>strong{font-size:17px;display:block;font-weight:500;margin:16px 0 10px}.asset-empty p{font-size:14px;color:#7d8f6c;line-height:1.9}.asset-empty>.outline-btn{margin:18px auto 0;display:inline-flex}.asset-pagination{display:flex;align-items:center;justify-content:center;gap:15px;margin-top:20px}.asset-pagination span{font-size:12px;color:#7f9071}.asset-pagination button{font-size:12px}.badge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.badge{padding:16px 8px;background:#f6f7f3;border:1px solid #e8ece2;border-radius:12px;display:flex;flex-direction:column;align-items:center;min-width:0}.badge-icon{height:45px;width:45px;display:grid;place-items:center;background:#e9ece3;border:1px solid #dfe5d5;color:#a1ad95;border-radius:50%;margin-bottom:11px}.badge-icon .icon{height:23px;width:23px}.badge strong{font-size:12px;font-weight:500;line-height:1.8;color:#8c9882}.badge small{font-size:11px;color:#98a18e;margin-top:5px}.badge.earned{border-color:#d8e3c8;background:#f1f6e9}.badge.earned .badge-icon{background:#e0eaca;color:#648344;border-color:#c4d4a9}.badge.earned strong{color:#4c6d37}.badge.earned small{color:#7b9261}.badge:hover{border-color:#a9bf91}.badge-detail{display:grid;place-items:center;margin:10px auto 20px;background:#eef2e8;border:1px solid #dbe4cf;height:95px;width:95px;border-radius:50%;color:#a0ad92}.badge-detail.earned{background:#e3edcf;color:#6a8948;border-color:#ccdcaf}.badge-detail .icon{height:45px;width:45px}.tree-memory{padding:17px 20px;background:#f1f6e9;border-radius:11px;margin:20px 0}.tree-memory strong{color:#4d7138;font-size:16px}.tree-memory p{margin:8px 0 0;overflow-wrap:anywhere;font-size:14px}.celebration{height:235px;position:relative;display:flex;align-items:center;justify-content:center;isolation:isolate}.celebration-rays{position:absolute;inset:8px 35px 8px;border-radius:50%;background:radial-gradient(ellipse,#eef4db 20%,#f8faef 50%,transparent 70%);z-index:-1}.celebration-tree{width:155px;height:190px;animation:tree-arrive .9s cubic-bezier(.2,.7,.3,1.25) both;transform-origin:center bottom}.celebration-tree svg{width:100%;height:100%}.celebration-leaves{position:absolute;inset:0;pointer-events:none}.celebration-leaves i{position:absolute;left:50%;top:44%;width:7px;height:13px;background:#b5c57e;border-radius:0 75% 0 75%;animation:leaf-burst 2.4s cubic-bezier(.1,.7,.3,1) both;animation-delay:calc(var(--i)*.025s);opacity:0}.celebration-leaves i:nth-child(3n){background:#d5b975}.celebration-leaves i:nth-child(3n + 1){background:#87a36e}.celebration-tag{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:11px;letter-spacing:2px;color:#879c6b}.reward-text h3{font-size:22px;font-weight:600;color:#31532a;margin:21px 0 12px}.reward-text>p{font-size:14px;line-height:1.9;color:#74876a}.reward-chips{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:20px 0}.reward-chips>span{display:flex;align-items:center;gap:6px;padding:8px 12px;border-radius:20px;font-size:13px;color:#627b47;background:#eef4e4}.reward-chips .icon{height:15px;width:15px}.reward-special{padding:14px;border:1px solid #d3e0b9;border-radius:10px;background:#f1f6e3;color:#648040!important}.reward-badges{display:flex;flex-direction:column;align-items:center;gap:7px;margin:15px 0}.reward-badges>span{display:flex;gap:6px;align-items:center;font-size:12px;color:#8e8952}.reward-badges .icon{height:17px;width:17px}.finish-task{display:flex;align-items:center;gap:9px;justify-content:center;font-size:13px;text-align:left;padding:14px 0;color:#6c805b}.finish-task input{width:18px;height:18px;accent-color:#6b8c4c}.week-card{margin-top:24px}.local-tag{font-size:12px}.scene .main-tree{transition:opacity .5s}.species-option svg{height:95px;width:80px}.species-option strong{font-size:13px}.species-option small{font-size:12px}.timer-note{font-size:12px;line-height:1.9}.body-copy{font-size:16px;line-height:1.9}.main-nav .nav-item{font-size:14px}
body.zen-mode{overflow:hidden}body.zen-mode .focus-card{position:fixed;inset:0;z-index:45;border-radius:0;display:grid;grid-template-columns:minmax(0,560px);grid-template-rows:auto auto auto;justify-content:center;align-content:safe center;gap:0;overflow:auto;background:#f9fbf5}body.zen-mode .card-heading{grid-column:1/-1;padding:20px 32px;border-bottom:1px solid #e1e8d7}body.zen-mode .growth-status{grid-column:1;grid-row:2;margin:24px 32px 20px}body.zen-mode .timer-area{grid-column:1;grid-row:3;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:35px}body.zen-mode .timer{font-size:96px;margin:26px 0 25px}body.zen-mode .focus-intention{width:100%;margin-bottom:35px}body.zen-mode .timer-actions{margin:28px 0 20px}body.zen-mode .timer-note{max-width:320px}body.zen-mode .card-heading h2{font-size:17px}
@keyframes tree-arrive{from{opacity:0;transform:translateY(15px) scale(.65)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes leaf-burst{0%{opacity:0;transform:rotate(var(--angle)) translateY(-15px) rotate(0)}15%{opacity:.9}100%{opacity:0;transform:rotate(var(--angle)) translateY(-125px) rotate(90deg)}}
@media(min-width:1500px){.scene{height:350px}.companion-card{min-height:300px}.companion-figure{width:165px;height:137px;margin:15px auto 0}.timer-area{padding-bottom:28px}.growth-status{margin-top:22px}.page-heading h1{font-size:30px}}
@media(max-width:1200px){.daily-card{display:block;padding:21px 24px}.daily-journey{width:100%;max-width:none;margin-top:20px}.daily-milestones{justify-content:flex-start;gap:26px}.workspace-grid{grid-template-columns:minmax(0,1.55fr) minmax(270px,1fr)}.scene{height:280px}.garden-bottom-grid{grid-template-columns:1.1fr 1fr;gap:18px}.assets-card,.badges-card{padding:21px}.asset-controls{flex-wrap:wrap}.asset-controls>label{margin-left:auto}.garden-assets{grid-template-columns:repeat(2,minmax(0,1fr))}.garden-editor{display:block}.garden-editor-actions{margin-top:16px}.companion-heading{flex-wrap:wrap}.garden-expansion{order:4;width:100%;padding-top:3px}}
@media(max-width:800px){.workspace-grid{grid-template-columns:1fr}.right-column{display:grid;grid-template-columns:1fr 1fr;gap:18px}.companion-card{grid-column:1/-1;min-height:0;padding:23px 25px 22px;display:grid;grid-template-columns:140px 1fr;align-items:center;gap:8px 20px}.companion-heading{grid-column:2;grid-row:1}.companion-figure{grid-column:1;grid-row:1/span 3;margin:0;width:135px;height:113px}.companion-bubble{grid-column:2;grid-row:2;min-height:0}.scene{height:315px}.garden-header{padding:25px 24px 19px}.garden-toolbar{padding-left:24px;padding-right:24px}.garden-bottom-grid{grid-template-columns:1fr}.garden-assets{grid-template-columns:repeat(3,minmax(0,1fr))}.badge-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.asset-controls{flex-wrap:nowrap}.garden-title h2{font-size:23px}.garden-toolbar>.outline-btn{font-size:12px}.garden-expansion{font-size:12px}.garden-map-hint{padding:14px 24px}.welcome-banner{align-items:flex-start}.welcome-banner h2{font-size:19px}.welcome-banner .eyebrow{font-size:11px}.welcome-banner p{font-size:13px}.welcome-actions .primary-btn{font-size:13px;padding:0 20px}.daily-card .eyebrow{font-size:11px}.card-heading .zen-btn{font-size:12px}body.zen-mode .focus-card{display:block}body.zen-mode .card-heading{height:68px;padding:18px 22px}body.zen-mode .growth-status{margin:20px 27px 0}body.zen-mode .timer-area{display:block;padding:20px 22px 25px}body.zen-mode .timer{font-size:85px;margin:10px 0 15px}body.zen-mode .focus-intention{margin:0 auto 18px}body.zen-mode .timer-actions{margin:20px auto 14px}body.zen-mode .timer-note{margin:auto}}
@media(max-width:560px){.topbar{height:59px}.page-wrap{padding-top:25px}.page-heading h1{font-size:23px}.page-heading p{font-size:13px}.welcome-banner{display:block;padding:21px}.welcome-banner h2{font-size:20px}.welcome-banner p{font-size:14px}.welcome-actions{flex-direction:row;gap:15px;margin-top:19px;align-items:center;flex-wrap:wrap}.welcome-actions .primary-btn{font-size:14px;min-height:44px}.welcome-actions .text-link{font-size:12px}.daily-card{padding:19px 20px;margin-bottom:20px}.daily-card h2{font-size:17px}.daily-card p{display:none}.daily-card .eyebrow{font-size:10px}.daily-journey{margin-top:13px}.daily-milestones{gap:9px;justify-content:space-between;flex-wrap:wrap}.daily-step{font-size:11px;gap:3px}.daily-step .icon{height:12px;width:12px}.stats-row{margin-bottom:18px}.workspace-grid{gap:20px}.card-heading{padding:19px 17px}.card-heading h2{font-size:13px}.zen-btn{padding:7px;font-size:12px}.zen-btn .icon{width:14px;height:14px}.scene{height:255px;margin:0 10px}.scene-message{font-size:11px;bottom:13px}.landscape{inset:8px -29px 7px}.growth-status{margin:18px 22px 0}.growth-stages>span{font-size:12px}.growth-status-top>span{font-size:12px}.growth-status-top>strong{font-size:14px}.growth-status>p{font-size:12px;margin-top:10px}.timer-area{padding:21px 15px 23px}.focus-intention{margin-bottom:20px;max-width:100%}.focus-intention label{font-size:13px}.focus-intention select{font-size:16px;padding-left:12px;min-height:44px}.timer{font-size:79px}.timer-note{font-size:12px}.right-column{grid-template-columns:1fr}.companion-card{grid-column:auto;display:block;padding:22px}.companion-heading{display:flex;flex-wrap:nowrap}.companion-figure{width:139px;height:116px;margin:12px auto 0}.companion-bubble{min-height:0;padding:15px 17px}.companion-bubble p{font-size:15px;line-height:1.95}.garden-header{padding:23px 20px 19px;gap:15px}.garden-header .eyebrow{font-size:10px;letter-spacing:1px}.garden-title{gap:10px}.garden-title h2{font-size:23px;line-height:1.6;overflow-wrap:anywhere}.garden-header p{font-size:13px}.garden-heading-stats>strong{font-size:25px}.garden-heading-stats>span{font-size:11px}.garden-toolbar{padding:0 18px 18px;gap:9px}.garden-toolbar>.outline-btn{padding:9px 10px;font-size:12px;min-height:41px}.garden-theme-label{font-size:12px;gap:7px}.garden-theme-label select{font-size:14px;min-height:40px;padding-left:9px}.garden-expansion{font-size:12px;line-height:1.8;padding-top:4px}.garden-map{min-width:680px}.garden-map-hint{font-size:12px;padding:13px 19px}.garden-editor{padding:19px}.garden-editor strong{font-size:14px}.garden-editor p{font-size:12px}.garden-editor-actions{gap:7px;flex-wrap:wrap}.garden-editor-actions button{font-size:12px}.assets-card,.badges-card{padding:21px 19px}.garden-bottom-grid{gap:19px;margin-top:20px}.assets-card .section-heading h2,.badges-card .section-heading h2{font-size:17px}.asset-controls{gap:10px;flex-wrap:wrap}.asset-tabs button{font-size:14px;padding:9px 15px}.asset-controls>label{font-size:12px}.asset-controls select{font-size:13px}.asset-intro{font-size:13px}.garden-assets{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.asset-item{padding:11px 8px 15px}.asset-item strong{font-size:13px}.asset-item small{font-size:12px}.asset-item>svg{width:89px;height:111px}.badge-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.badge{padding:18px 10px}.badge strong{font-size:13px}.badge small{font-size:12px}.badge-icon{width:47px;height:47px}.asset-pagination{gap:12px}.asset-pagination button{font-size:12px;padding:9px}.reward-text h3{font-size:21px}.reward-text>p{font-size:14px}.reward-chips>span{font-size:12px}.reward-badges>span{font-size:12px}.finish-task{font-size:13px;line-height:1.9}.celebration{height:215px}.celebration-tree{width:140px;height:180px}.celebration-tag{font-size:11px}.modal-actions .primary-btn,.modal-actions .outline-btn{font-size:13px;padding-left:10px;padding-right:10px}body.zen-mode .card-heading{padding:16px 18px;height:64px}body.zen-mode .card-heading h2{font-size:13px}body.zen-mode .growth-status{margin:17px 24px 0}body.zen-mode .timer-area{padding:19px 19px 28px}body.zen-mode .timer{font-size:78px}body.zen-mode .focus-intention{margin-bottom:15px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.celebration-leaves{display:none}}

/* Larger seedling plots and a model collection that can be explored before earning a tree. */
.garden-map[data-size="3"] { min-width: 0; }
.garden-map[data-size="5"] { min-width: 510px; }
.garden-map[data-size="7"] { min-width: 620px; }
.garden-map[data-size="9"] { min-width: 680px; }
.garden-map > svg { max-height: 560px; }
.garden-map-hint { font-size: 14px; }
.woodland-collection {
  margin-top: 25px;
  padding: clamp(19px, 3vw, 29px);
  border: 1px solid #d8e2d0;
  border-radius: 20px;
  background: #fff;
}
.woodland-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 19px;
}
.woodland-heading h2 { margin: 0 0 6px; font-size: 21px; }
.woodland-heading p, .woodland-copy p { margin: 0; color: #517052; font-size: 14px; line-height: 1.6; }
.woodland-heading .outline-btn { font-size: 14px; }
.woodland-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.woodland-item { min-width: 0; border: 1px solid #dce4d4; border-radius: 15px; overflow: hidden; background: #fcfdf9; }
.woodland-art {
  display: grid;
  place-items: center;
  height: 156px;
  background: radial-gradient(ellipse at 54% 73%, #d7e3bf 0%, #edf1df 68%);
}
.woodland-mushrooms .woodland-art { background: radial-gradient(ellipse at 58% 69%, #e2ddbe 0%, #f2efdf 70%); }
.woodland-bridge .woodland-art { background: radial-gradient(ellipse at 49% 69%, #c9dfd2 0%, #eaf2e9 70%); }
.woodland-art > svg { width: 112px; height: 134px; }
.woodland-mushrooms .woodland-art > svg, .woodland-bridge .woodland-art > svg { width: 140px; height: 153px; margin-top: -37px; }
.woodland-copy { padding: 13px 15px 15px; }
.woodland-copy h3 { margin: 0 0 5px; color: #26493e; font-size: 16px; line-height: 1.5; }
.woodland-copy button { margin-top: 10px; min-height: 37px; color: #2c5946; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.woodland-copy button:hover { color: #513e28; }
@media (max-width: 620px) {
  .woodland-heading { align-items: start; }
  .woodland-heading .outline-btn { padding: 9px; min-width: max-content; }
  .woodland-grid { grid-template-columns: 1fr; gap: 9px; }
  .woodland-item { display: grid; grid-template-columns: 98px 1fr; align-items: stretch; }
  .woodland-art { height: 100%; min-height: 100px; }
  .woodland-art > svg, .woodland-mushrooms .woodland-art > svg, .woodland-bridge .woodland-art > svg { width: 81px; height: 91px; }
  .woodland-copy { padding: 11px 12px; }
}

/* The terrain is framed for both the timer and the completed-island preview. */
.scene.has-island {
  height: clamp(340px, 37vw, 477px);
  isolation: isolate;
  background:
    radial-gradient(ellipse at 78% 13%, #fff2d9 0, transparent 53%),
    radial-gradient(ellipse at 12% 48%, #d1e0d7 0, transparent 68%),
    linear-gradient(161deg, #bbcfc7, #e7eee3 53%, #9fbec3);
}
.scene.has-island.evening {
  background:
    radial-gradient(ellipse at 77% 13%, #f6d8af 0, transparent 50%),
    linear-gradient(156deg, #879db8, #b9c9d6 57%, #84a5ac);
}
.has-island .scene-top { z-index: 3; pointer-events: none; }
.has-island .scene-weather { pointer-events: auto; }
.first-island { position: absolute; inset: 0; z-index: 2; }
.island-canvas { position: absolute; inset: 15px 0 17px; cursor: grab; }
.island-canvas:active { cursor: grabbing; }
.island-canvas canvas { display: block; width: 100%; height: 100%; }
.island-progress {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: grid;
  gap: 4px;
  pointer-events: none;
}
.island-progress span {
  color: #32594b;
  font-size: 13px;
  font-weight: 650;
}
.island-progress strong {
  max-width: 34ch;
  color: #243e37;
  font-size: 14px;
  font-weight: 700;
  text-shadow: 0 1px 8px #eaf0de;
}
.island-actions {
  display: flex;
  position: absolute;
  right: 14px;
  bottom: 14px;
  gap: 6px;
}
.island-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid #7d98807a;
  border-radius: 8px;
  padding: 7px 10px;
  color: #234137;
  background: #f6f9edee;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}
.island-actions button:hover,
.island-actions button[aria-pressed="true"] { background: #e2eed8; }
.island-actions .icon { width: 16px; height: 16px; }
@media (max-width: 560px) {
  .scene.has-island { height: 335px; }
  .island-canvas { inset: 22px 0 45px; }
  .island-progress { left: 12px; bottom: 13px; max-width: calc(100% - 160px); }
  .island-progress strong { font-size: 13px; line-height: 1.35; }
  .island-actions { bottom: 11px; right: 10px; }
  .island-actions button { padding: 6px 8px; font-size: 12px; }
}

.island-actions [data-island-walk] {
  border-color: #4e704f;
  background: #f0f6e8;
}
.first-island.is-walking .island-canvas {
  inset: 0;
  cursor: grab;
  touch-action: none;
}
.first-island.is-walking .island-canvas:active { cursor: grabbing; }
.first-island.is-walking .island-progress { visibility: hidden; }
.island-walk-help {
  position: absolute;
  top: 47px;
  left: 14px;
  margin: 0;
  padding: 5px 8px;
  border-radius: 7px;
  color: #254238;
  background: #f6f9edeb;
  font-size: 13px;
  line-height: 1.4;
  pointer-events: none;
}
.island-walk-pad {
  position: absolute;
  bottom: 13px;
  left: 13px;
  display: grid;
  grid-template-columns: repeat(3, 37px);
  gap: 4px;
}
.island-walk-pad[hidden], .island-walk-help[hidden] { display: none; }
.island-walk-pad button {
  height: 35px;
  border: 1px solid #52735d9c;
  border-radius: 9px;
  background: #f6f9edf5;
  color: #254238;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  touch-action: none;
  user-select: none;
}
.island-walk-pad button:active { background: #cde5c3; }
.island-walk-pad [data-walk-direction="forward"] { grid-column: 2; }
.island-walk-pad [data-walk-direction="left"] { grid-column: 1; grid-row: 2; }
.island-walk-pad [data-walk-direction="back"] { grid-column: 2; grid-row: 2; }
.island-walk-pad [data-walk-direction="right"] { grid-column: 3; grid-row: 2; }
@media (max-width: 560px) {
  .island-progress { bottom: 54px; max-width: calc(100% - 20px); }
  .island-walk-help { left: 10px; top: 39px; max-width: calc(100% - 20px); font-size: 12px; }
  .island-walk-pad { left: 9px; bottom: 11px; grid-template-columns: repeat(3, 34px); }
  .island-walk-pad button { height: 34px; }
  .is-walking .island-actions { max-width: calc(100% - 131px); flex-wrap: wrap; justify-content: flex-end; }
}

.island-stages {
  display: flex;
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px;
  gap: 2px;
  border: 1px solid #7d98806b;
  border-radius: 9px;
  background: #f7f9edeb;
}
.island-stages button { min-height: 31px; padding: 4px 12px; border-radius: 6px; white-space: nowrap; }
.island-stages button[aria-pressed="true"] { background: #dce8d3; color: #284f39; font-weight: 700; }
.is-walking .island-stages { visibility: hidden; }
.island-reward-note { display: none; }
.island-reward-note:not([hidden]) {
  display: block;
  margin: -.35rem auto .8rem;
  color: #365e47;
  font-size: .9rem;
  line-height: 1.5;
}
@media (max-width: 560px) {
  .island-stages { top: 44px; }
}

.species-option.locked svg { opacity: .88; filter: none; }

.mori-world-arrow {
  width: 6px;
  height: 6px;
  margin: -3px 2px 0 4px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.scene.has-island[data-plus-terrain] {
  background: radial-gradient(ellipse at 70% 13%, var(--mori-sky) 8%, transparent 78%),
    linear-gradient(150deg,var(--mori-sky),var(--mori-horizon));
}
.scene.has-island[data-plus-terrain].evening {
  background: radial-gradient(ellipse at 76% 15%,color-mix(in srgb,var(--mori-sky) 76%,#e9a979) 4%,transparent 73%),
    linear-gradient(150deg,var(--mori-sky),color-mix(in srgb,var(--mori-horizon) 70%,#354a74));
}
.scene.has-island[data-plus-terrain] .scene-weather {
  padding: 6px;
  border-radius: 7px;
  background: #f6f8eef2;
  color: #2c5444;
}
[data-plus-terrain] .island-progress {
  padding: 5px 8px;
  border-radius: 7px;
  background: #f6f8eef2;
}
[data-plus-terrain="lunar"] .island-walk-help { background: #eef1faf2; }
.mori-world-picker > p { margin: 0 0 12px; line-height: 1.65; }
.mori-world-list { display: grid; gap: 7px; }
.mori-world-option {
  display: grid;
  grid-template-columns: 46px minmax(0,1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 8px;
  border: 1px solid #dce6da;
  border-radius: 9px;
  background: #f9fbf6;
  color: #244e3b;
  text-align: left;
}
.mori-world-option:hover, .mori-world-option[aria-pressed="true"] {
  border-color: #6f926a;
  background: #eff5e9;
}
.mori-world-swatch {
  height: 51px;
  border-radius: 5px;
  background: radial-gradient(ellipse at 72% 20%,var(--world-sky) 2%,transparent 68%),
    linear-gradient(155deg,var(--world-horizon) 47%,var(--world-accent));
}
.mori-world-copy { display: grid; gap: 2px; }
.mori-world-copy small,.mori-world-copy > span { color: #506451; font-size: 11px; line-height: 1.45; }
.mori-world-copy strong { font-size: 14px; line-height: 1.35; }
.mori-world-count { white-space: nowrap; font-size: 11px; font-variant-numeric: tabular-nums; }
.walk-touch-help { display: none; }
@media (pointer: coarse) {
  .walk-desktop-help { display: none; }
  .walk-touch-help { display: inline; }
}
@media (max-width: 360px) {
  .mori-world-option { grid-template-columns: 32px minmax(0,1fr) auto; gap: 6px; }
}

.mori-trial {
  display: grid;
  justify-items: end;
  gap: 9px;
  margin-top: 10px;
}
.mori-trial-toggle, .mori-trial-actions button {
  min-height: 34px;
  padding: 5px 11px;
  border: 1px solid #bdcfbb;
  border-radius: 8px;
  background: #f7fbf5;
  color: #315c47;
  font-size: .95rem;
  font-weight: 650;
}
.mori-trial-toggle:hover, .mori-trial-toggle[aria-pressed="true"],
.mori-trial-actions button:hover:not(:disabled) { background: #e3efe0; }
#mori-trial-controls {
  width: 100%;
  padding: 11px;
  border: 1px solid #dce8db;
  border-radius: 10px;
  background: #f3f8f1;
}
#mori-trial-controls > p { margin: 0 0 9px; color: #3f5e4e; font-size: .95rem; line-height: 1.55; }
.mori-trial-rewards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.mori-trial-rewards button {
  display: grid;
  align-content: center;
  gap: 3px;
  min-height: 47px;
  padding: 5px 4px;
  border: 1px solid #abc5aa;
  border-radius: 8px;
  background: #fff;
  color: #285640;
}
.mori-trial-rewards button:hover:not(:disabled) { background: #e5f0e5; }
.mori-trial-rewards strong { white-space: nowrap; font-size: .93rem; }
.mori-trial-rewards small { font-size: .82rem; line-height: 1.35; overflow-wrap: anywhere; }
.mori-trial-actions { display: flex; justify-content: end; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mori-trial button:disabled { opacity: .55; }

.companion-card {
  background: linear-gradient(151deg, #f8faf3, var(--pal-paper, #e9efdc));
}
.companion-name { color: #2f5442; font-size: 1.13rem; margin: 0; font-weight: 700; }
.companion-figure {
  display: block;
  align-self: center;
  width: clamp(142px, 17vw, 182px);
  height: auto;
  aspect-ratio: 1;
  min-width: 0;
  margin: 2px auto 10px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  cursor: pointer;
}
.companion-figure:focus-visible { outline: 2px solid #66896f; outline-offset: 3px; }

.companion-bubble p { color: #365746; }
.pal-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 6px; margin-top: 9px; }
.pal-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 36px;
  padding: 5px 9px;
  border: 1px solid #bbccbd;
  border-radius: 8px;
  background: #ffffffba;
  color: #365e49;
  font-size: .87rem;
  font-weight: 650;
  line-height: 1.25;
}
.pal-button:hover, .pal-button[aria-pressed="true"] { background: #ddece0; }
.pal-button .icon { width: 15px; height: 15px; }
.pal-picker-note { margin: 0 0 13px; line-height: 1.6; }
.pal-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.pal-option {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 3px;
  min-width: 0;
  padding: 8px 5px 12px;
  border: 1px solid #cadaaa;
  border-radius: 12px;
  background: linear-gradient(150deg,var(--pal-paper),#fff 77%);
  color: #294d41;
}
.pal-option:hover, .pal-option[aria-pressed="true"] { border-color: #56856c; box-shadow: inset 0 0 0 1px #56856c; }
.pal-option strong { font-size: 1.02rem; }
.pal-option small { font-size: .83rem; color: #4c6659; }
.pal-plan { position: absolute; top: 8px; right: 7px; padding: 2px 5px; border-radius: 4px; background: #fff; color: #3d5b4f; font-size: .75rem; }
.pal-option-art { display: block; width: min(100%,118px); margin-top: 8px; }
.pal-reward {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  margin: 12px 0;
  padding: 7px 10px;
  border-radius: 9px;
  background: var(--pal-paper);
  color: #324f41;
}
.pal-reward-art { display: block; width: 59px; flex: 0 0 59px; }
.pal-reward strong { font-size: .9rem; }
.pal-reward p { margin: 3px 0 0; line-height: 1.5; }

/* The four sprite quadrants hold the neutral, speaking, resting and celebratory poses. */
.pal-sprite { display: block; position: relative; width: 100%; aspect-ratio: 1; }
.pal-sprite[data-pal="kohaku"] { --pal-sheet: url("./characters/kohaku.webp"); --pal-celebrate: pal-fox-wave; --pal-ground: 61%; }
.pal-sprite[data-pal="towa"] { --pal-sheet: url("./characters/towa.webp"); --pal-celebrate: pal-owl-flutter; --pal-idle-time: 6.4s; --pal-ground: 56%; }
.pal-sprite[data-pal="mochi"] { --pal-sheet: url("./characters/mochi.webp"); --pal-celebrate: pal-rabbit-leap; --pal-ground: 47%; }
.pal-sprite[data-pal="pico"] { --pal-sheet: url("./characters/pico.webp"); --pal-celebrate: pal-robot-greet; --pal-idle-name: pal-robot-idle; --pal-idle-time: 4.8s; --pal-ground: 52%; }
.pal-sprite::before {
  content: "";
  position: absolute;
  left: var(--pal-ground,50%);
  bottom: 5.5%;
  width: 62%;
  height: 10%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center,#2841372c,transparent 72%);
}
.pal-sprite .pal-motion, .pal-sprite .pal-pose { position: absolute; inset: 0; }
.pal-sprite .pal-motion { transform-origin: var(--pal-ground,50%) 90%; }
.pal-sprite .pal-pose { background: var(--pal-sheet) 0 0 / 200% 200% no-repeat; }
.companion-figure .pal-motion { animation: var(--pal-idle-name,pal-idle) var(--pal-idle-time,5s) ease-in-out infinite; }
.companion-figure[data-phase="focus"] .pal-motion { animation-name: pal-focus-breathe; animation-duration: 5.8s; }
.companion-figure[data-phase="pause"] .pal-pose,
.companion-figure[data-phase="rest"] .pal-pose { background-position: 0 100%; }
.companion-figure:is([data-phase="pause"],[data-phase="rest"]) .pal-motion { animation: pal-focus-breathe 6.8s ease-in-out infinite; }
.companion-figure[data-phase="start"] .pal-motion { animation: pal-hello .62s ease-out; }
[data-phase="done"] .pal-pose { animation: pal-done-pose 2.4s step-end both; }
.companion-figure[data-phase="done"] .pal-motion,
.pal-reward-art[data-phase="done"] .pal-motion,
.companion-figure[data-reacting] .pal-motion { animation: var(--pal-celebrate) 1.75s ease-in-out both; }
.companion-figure[data-reacting] .pal-pose { background-position: 100% 100%; animation: none; }
.companion-figure[data-speaking] .pal-pose { animation: pal-speech-pose .56s step-end infinite; }
.companion-figure[data-speaking] .pal-motion { animation: pal-talk .56s ease-in-out infinite; }

@keyframes pal-idle { 50% { transform: translateY(-2%) rotate(-1deg) scaleY(1.022); } }
@keyframes pal-focus-breathe { 50% { transform: scaleY(1.018); } }
@keyframes pal-robot-idle { 50% { transform: translateY(-2.5%) rotate(2deg); } }
@keyframes pal-hello { 48% { transform: translateY(-4%) rotate(-3deg); } }
@keyframes pal-done-pose { from { background-position: 100% 100%; } to { background-position: 0 0; } }
@keyframes pal-speech-pose { 0%,100% { background-position: 0 0; } 42%,78% { background-position: 100% 0; } }
@keyframes pal-talk { 50% { transform: rotate(-1.5deg) scaleY(1.018); } }
@keyframes pal-fox-wave { 24%,60% { transform: rotate(-5deg) translateY(-4%); } 42% { transform: rotate(3deg) translateY(-2%); } }
@keyframes pal-owl-flutter { 28%,60% { transform: translateY(-8%) scaleX(1.06) rotate(-3deg); } 45% { transform: translateY(-3%) rotate(3deg); } }
@keyframes pal-rabbit-leap { 12% { transform: scale(1.06,.94); } 35% { transform: translateY(-12%) rotate(-5deg); } 60% { transform: translateY(-7%) rotate(4deg); } 76% { transform: scale(1.04,.96); } }
@keyframes pal-robot-greet { 23%,66% { transform: rotate(6deg); } 43% { transform: rotate(-6deg) translateY(-3%); } }

@media (prefers-reduced-motion: reduce) {
  .pal-sprite .pal-pose, .pal-sprite .pal-motion { animation: none !important; }
  [data-phase="done"] .pal-pose { background-position: 100% 100%; }
}

@media (min-width:561px) and (max-width:800px) {
  .companion-figure { width: min(100%,136px); }
  .pal-actions { grid-column: 2; grid-row: 3; margin-top: 2px; }
}

.pal-ai-note { display: grid; justify-items: start; gap: 7px; margin: 9px 0 13px; text-align: left; }
.pal-ai-note .pal-button:disabled { opacity: .65; cursor: default; }
.pal-ai-note p { margin: 0; line-height: 1.6; }
.pal-ai-note p:empty { display: none; }

/* The world page owns the 3D scene. The timer shows its destination at a glance. */
.focus-world-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 24px;
  padding: 12px;
  border: 1px solid #dce8d7;
  border-radius: 12px;
  background: #f4f8f1;
}
.focus-world-icon, .world-reward-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 36px;
  aspect-ratio: 1;
  border-radius: 10px;
  background: #e2eddc;
  color: #315d48;
}
.focus-world-summary > div:nth-child(2) { display: grid; gap: 3px; flex: 1; min-width: 0; }
.focus-world-summary > div:nth-child(2) > span { color: #516752; font-size: .88rem; }
.focus-world-summary strong { font-size: 1.02rem; }
.focus-world-links { display: flex; align-items: center; gap: 10px; }
.focus-world-links button { min-height: 38px; white-space: nowrap; }
.focus-world-links .outline-btn { padding: 5px 10px; }
.focus-world-links .text-link:disabled { display: none; }
.zen-mode .focus-world-summary { display: none; }

.world-hub {
  overflow: hidden;
  border: 1px solid #dce6da;
  border-radius: var(--radius);
  background: var(--paper);
}
.world-hub-header, .world-hub-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 21px 24px;
}
.world-hub-header h2 { margin: 4px 0 8px; font-size: clamp(1.4rem, 2.4vw, 2.2rem); line-height: 1.2; }
.world-hub-header h2:focus { outline: none; }
.world-hub-header p { margin: 0; color: #4c644f; line-height: 1.55; }
.world-hub-genre { font-weight: 650; font-size: .9rem; }
.world-hub-picker { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; min-height: 42px; }
.world-hub-scene.scene { position: relative; margin: 0; border: 0; border-radius: 0; }
.world-hub-scene.scene.has-island { height: clamp(390px, 55vh, 650px); }
.world-hub-scene.scene:not(.has-island) { display: grid; place-items: center; height: 160px; }
.world-hub-scene .scene-top { justify-content: flex-end; }
.world-hub-scene .island-progress { display: none; }
.world-hub-scene .first-island[data-display-mode] .island-progress { display: block; }
.world-hub-fallback { max-width: 30ch; margin: 18px; text-align: center; line-height: 1.6; color: #365e47; }
.world-hub-scene.has-island .world-hub-fallback,
.world-hub-scene:not(.has-island) .scene-top { display: none; }
.world-hub-footer { border-top: 1px solid #e3ebe1; }
.world-hub-progress { display: grid; gap: 4px; color: #506853; }
.world-hub-progress strong { color: #233e32; font-variant-numeric: tabular-nums; font-size: 1.02rem; }
.world-hub-footer .primary-btn { flex: 0 0 auto; }
.world-hub > .mori-trial { margin: 0; padding: 0 24px 21px; }
.world-archive { margin-top: 20px; }
.world-archive > summary {
  padding: 14px 18px;
  border: 1px solid #dce6da;
  border-radius: 10px;
  background: #fff;
  color: #405c49;
  cursor: pointer;
  font-weight: 650;
}
.world-archive-content { margin-top: 14px; }
.world-reward { display: flex; align-items: center; gap: 13px; margin: 0 0 15px; padding: 16px; border-radius: 12px; background: #eef5ec; }
.world-reward-icon { width: 43px; }
.world-reward h3 { margin: 4px 0 0; font-size: 1.35rem; }
.world-reward > div > span { color: #4c644f; }
@media (max-width: 560px) {
  .focus-world-summary { margin: 0 14px; gap: 8px; padding: 9px; }
  .focus-world-icon { width: 28px; }
  .focus-world-links { gap: 6px; }
  .focus-world-links .outline-btn { padding-inline: 6px; }
  .world-hub-header, .world-hub-footer { padding: 14px; gap: 10px; }
  .world-hub-header { flex-wrap: wrap; }
  .world-hub-footer { align-items: flex-start; flex-direction: column; }
  .world-hub-footer .primary-btn { width: 100%; justify-content: center; }
  .world-hub > .mori-trial { padding: 0 14px 14px; }
  .world-hub-scene.scene.has-island { height: clamp(320px, 51vh, 420px); }
}
