.garden-page{max-width:1180px;margin-inline:auto}.garden-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);gap:24px;align-items:start}.garden-grow{padding:28px!important;overflow:hidden}.garden-stage-heading,.garden-section-heading{display:flex;justify-content:space-between;align-items:start;gap:16px}.garden-stage-heading h2{font-size:19px;line-height:1.35;margin:7px 0 0}.garden-eyebrow{font-size:10px;font-weight:700;letter-spacing:.16em;color:#737373}.garden-growth-status{flex-shrink:0;display:inline-flex;align-items:center;gap:6px;padding:5px 8px;background:#f0f0ed;color:#60635b;border:1px solid #e1e3db;border-radius:4px;font-size:11px;font-weight:600;white-space:nowrap}.garden-growth-status.is-growing:before{content:"";width:5px;height:5px;background:#688450}.garden-scene{position:relative;display:grid;place-items:center;min-height:310px;margin:20px 0 26px;background:radial-gradient(ellipse at 50% 58%,#f0f3e8 0%,#f8f9f5 43%,transparent 70%);isolation:isolate}.garden-plant{display:block;width:min(100%,330px);height:310px;object-fit:contain;image-rendering:pixelated;transform-origin:50% 94%;animation:garden-sway 6s ease-in-out infinite;user-select:none}.garden-plant-shadow{position:absolute;bottom:8px;left:50%;width:112px;height:10px;border-radius:50%;transform:translateX(-50%);background:rgba(77,88,53,.09);filter:blur(3px);z-index:-1}.garden-level-row{display:flex;align-items:center;gap:15px}.garden-level{flex-shrink:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:16px;font-weight:800;letter-spacing:-.7px;color:#424738}.garden-xp-track{position:relative;flex:1;min-width:0;height:22px;border:3px solid #414737;background:#e7e9df;box-shadow:2px 2px 0 #bac1ac;overflow:hidden}.garden-xp-fill{display:block;height:100%;background:#a5c371;box-shadow:inset 0 3px 0 #c6dc9e,inset 0 -3px 0 #809d52;transition:width 1s linear;max-width:100%}/* Pixel divisions overlay the fill without blocking clicks. */
.garden-xp-track:after{position:absolute;inset:0;content:"";pointer-events:none;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(5% - 2px),rgba(65,71,55,.18) calc(5% - 2px),rgba(65,71,55,.18) 5%)}.garden-xp-details{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin:12px 0 0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;font-variant-numeric:tabular-nums;color:#666c5a}.garden-xp-details>span{white-space:nowrap}.garden-growth-caption{margin:13px 0 22px!important;font-size:12px!important;line-height:1.6;color:#72756b}.garden-bonuses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:19px 0;border-top:1px solid #e6e6e3;border-bottom:1px solid #e6e6e3}.garden-bonuses>div{min-width:0}.garden-bonuses>div+div{border-left:1px solid #e6e6e3;padding-left:16px}.garden-bonuses span{display:block;color:#787a72;font-size:11px;margin-bottom:6px}.garden-bonuses strong{display:block;color:#424738;font-size:22px;letter-spacing:-.7px;font-variant-numeric:tabular-nums;line-height:1.25;white-space:nowrap}.garden-bonuses small{font-weight:400;font-size:12px;letter-spacing:0}.garden-icon-choice{display:flex!important;align-items:start;gap:10px;margin:21px 0 0;color:#474a40;font-size:12px!important;font-weight:500!important;line-height:1.5;cursor:pointer}.garden-icon-choice input{flex:0 0 auto;width:15px!important;height:15px!important;min-height:0!important;padding:0!important;margin:2px 0 0!important;accent-color:#606c46}.garden-icon-choice small{display:block;font-size:11px;font-weight:400;color:#777d6a;margin-top:4px}.garden-side{display:grid;gap:24px;min-width:0}.garden-foundation,.garden-how{padding:24px!important}.garden-section-heading h2,.garden-how h2{font-size:17px;line-height:1.35;margin:0}.garden-section-heading p{font-size:12px;line-height:1.6;color:#777;margin:7px 0 0}.garden-setup-count{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;background:#f3f4ee;color:#657143;border:1px solid #e3e7d6;padding:5px 7px;white-space:nowrap}.garden-checklist{padding:0;margin:21px 0 0;list-style:none}.garden-checklist li+li{border-top:1px solid #ededeb}.garden-checklist button{display:flex;align-items:center;gap:12px;width:100%;border:0;background:transparent;padding:13px 0;text-align:left;cursor:pointer;font:inherit;font-size:12px;line-height:1.5;color:#4a4b46;border-radius:2px}.garden-checklist button:hover{color:#354329;background:#fafbf7}.garden-checklist button:focus-visible,.garden-completed-steps summary:focus-visible{outline:2px solid #6f824c;outline-offset:4px}.garden-check-mark{display:grid;place-items:center;width:19px;height:19px;flex-shrink:0;border:2px solid #c5ccb9;color:#647546;background:#fff;font-size:12px;font-weight:bold}.garden-checklist .is-complete .garden-check-mark{background:#eef3e2;border-color:#aab88a}.garden-checklist .is-complete button{color:#73766d}.garden-step-status{margin-left:auto;flex-shrink:0;color:#8c927f;font-size:10px}.garden-step-status>span[aria-hidden]{font-size:16px}.garden-completed-steps{margin-top:20px}.garden-completed-steps summary{font-size:12px;color:#73786b;cursor:pointer}.garden-completed-steps .garden-checklist{margin-top:10px}.garden-how p{font-size:12px;line-height:1.8;margin:12px 0 0;color:#686b62}.garden-how small{display:block;font-size:10px;line-height:1.5;color:#838777;margin-top:16px}.garden-muted{color:#83867c!important;font-size:11px!important;line-height:1.7}.garden-error-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0 0;padding:14px 18px;border:1px solid #e4d9c7;border-radius:9px;background:#fffcf4;font-size:12px;line-height:1.6;color:#846a3c}.garden-error-banner .btn{flex-shrink:0;font-size:11px;min-height:34px;padding:6px 12px}.garden-error{font-size:11px;line-height:1.6;color:#a64438;margin:12px 0 0}.garden-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.garden-brand-plant{image-rendering:pixelated;object-fit:contain}.garden-brand-plant:hover{animation:garden-sway 3s ease-in-out infinite;transform-origin:50% 95%}@keyframes garden-sway{0%,100%{transform:rotate(-1.2deg)}50%{transform:rotate(1.2deg)}}@media(max-width:850px){.garden-layout{grid-template-columns:1fr;gap:20px}.garden-side{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:20px}.garden-grow{padding:24px!important}.garden-scene{min-height:285px;margin-top:12px}.garden-plant{height:285px}}@media(max-width:600px){.garden-layout,.garden-side{grid-template-columns:1fr;gap:16px}.garden-grow,.garden-foundation,.garden-how{padding:20px!important}.garden-stage-heading h2{font-size:17px}.garden-growth-status{font-size:10px;padding:4px 6px}.garden-eyebrow{font-size:9px}.garden-scene{margin:12px 0 20px;min-height:265px}.garden-plant{height:265px;width:min(100%,285px)}.garden-level-row{gap:11px}.garden-level{font-size:14px}.garden-xp-track{height:21px}.garden-xp-details{font-size:10px}.garden-bonuses{gap:6px}.garden-bonuses>div+div{padding-left:11px}.garden-bonuses span{font-size:10px}.garden-bonuses strong{font-size:20px}.garden-bonuses small{font-size:10px}.garden-error-banner{align-items:start;flex-direction:column;gap:12px}}@media(prefers-reduced-motion:reduce){.garden-plant,.garden-brand-plant:hover{animation:none}.garden-xp-fill{transition:none}}

/* The foundation disappears after setup; the plant always owns its row. */
.garden-layout{grid-template-columns:minmax(0,1fr)}
.garden-eyebrow .stat-info button{font-size:10px}
.garden-eyebrow .stat-info-tooltip{text-transform:none;letter-spacing:normal;font-weight:400}

.garden-side{grid-template-columns:minmax(0,1fr)}
@media(max-width:600px){.garden-eyebrow .stat-info button{font-size:9px}}

.garden-quest{margin-top:24px;padding:24px!important}.garden-quest h2{font-size:17px;margin:0}.garden-quest-summary .stat-info button{font-size:11px}.garden-quest-summary .stat-info{margin-left:3px}
/* Fill quests down each column, five pages per side. */
.garden-quest-pages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(5,auto);grid-auto-flow:column;column-gap:28px;list-style:none;padding:0;margin:14px 0 0}.garden-quest-pages li,.garden-quest-pages li+li{border-top:0;border-bottom:1px solid #ededeb}.garden-quest-pages li:nth-child(5n){border-bottom:0}.garden-quest-pages button{width:100%;height:100%;min-height:42px;padding:9px 0;text-align:left}
@media(max-width:600px){.garden-quest{padding:20px!important;margin-top:16px}.garden-quest-pages{column-gap:12px}.garden-quest-pages button{font-size:11px;gap:7px}.garden-quest-summary .stat-info button{font-size:10px}}

.garden-quest-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;list-style:none}.garden-quest-disclosure>summary::-webkit-details-marker{display:none}.garden-quest-disclosure>summary strong{display:block;font-size:17px;line-height:1.35}.garden-quest-disclosure>summary small{display:block;color:#777;font-size:12px;line-height:1.6;margin-top:5px}.garden-quest-chevron{font-size:20px;color:#777;flex-shrink:0}.garden-quest-disclosure[open] .garden-quest-chevron{transform:rotate(180deg)}.garden-quest-disclosure>summary:focus-visible{outline:2px solid #6f824c;outline-offset:6px}.garden-quest-disclosure>.garden-quest-summary{font-size:12px;color:#777;margin-top:16px}

/* Chest state lives below the runner so minute-by-minute garden updates never
   replace an opening animation or a pending request. */
.garden-chests{padding:26px!important;min-width:0;margin-top:24px}
.garden-chests .garden-section-heading h2{margin-top:7px;font-size:19px}
.chest-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:23px 0 14px;padding:15px 0;border-block:1px solid #e7e8e2}
.chest-totals strong,.chest-totals span{display:block}.chest-totals strong{font-size:22px;line-height:1.2;color:#434c39;font-variant-numeric:tabular-nums}.chest-totals span{font-size:10px;color:#7c8174;margin-top:5px}
.chest-inventory{display:grid;gap:5px}
.chest-item{display:flex;align-items:center;gap:10px;width:100%;min-height:79px;padding:5px 9px;border:1px solid transparent;border-radius:7px;background:#fafbf7;text-align:left;font:inherit;color:#404638;cursor:pointer}
.chest-item:hover:not(:disabled){background:#f0f4e5;border-color:#d3ddc0}.chest-item:focus-visible{outline:2px solid #70844f;outline-offset:3px}.chest-item:disabled{cursor:default}.chest-item:not(.has-chests):not(.is-opening) img{filter:saturate(.35);opacity:.55}
.chest-item img{display:block;width:68px;height:68px;object-fit:contain;image-rendering:pixelated;flex-shrink:0;user-select:none}
.chest-item>span{min-width:0;flex:1}.chest-item strong{display:block;font-size:12px;font-weight:650}.chest-item small{display:block;font-size:10px;font-weight:400;color:#818677;line-height:1.6;margin-top:3px}.chest-item b{font-size:17px;line-height:1.15;text-align:right;font-variant-numeric:tabular-nums}.chest-item b small{font-size:9px}
.chest-item.is-opening{background:#f4f2df;border-color:#ded5a6}
.chest-result{display:grid;gap:5px;padding:14px 16px;margin-top:17px;background:#f0f4e5;border:1px solid #d8e1c6;border-radius:7px}.chest-result[hidden]{display:none}.chest-result-label{font-size:11px;color:#68784f}.chest-result strong{font-size:25px;color:#3c582e;font-variant-numeric:tabular-nums}.chest-result small{font-size:11px;color:#727c65}
.chest-message{font-size:11px;line-height:1.65;color:#758068;margin:17px 0 0}.chest-message.is-error{color:#a44b36}.chest-actions .btn{font-size:11px;min-height:34px;margin-top:10px}.chest-note{font-size:10px;line-height:1.7;color:#868b7f;margin:15px 0 0}
.garden-chests .garden-section-heading{flex-wrap:wrap}.garden-chests .garden-section-heading>div{flex:1;min-width:145px}.chest-toggle{flex-shrink:0;border:1px solid #dce2d1;border-radius:5px;background:#f7f9f2;padding:7px 9px;color:#5d6b4c;font-size:10px;cursor:pointer}.chest-toggle:focus-visible{outline:2px solid #70844f;outline-offset:3px}.chest-toggle[hidden],[data-chest-details][hidden]{display:none}
.chest-recent{margin-top:18px}.chest-recent summary{font-size:12px;color:#59634d;cursor:pointer;padding:8px 0}.chest-recent summary:focus-visible{outline:2px solid #70844f;outline-offset:3px}[data-chest-last][hidden]{display:none}[data-chest-last]{margin-top:18px}.garden-chests [data-chest-last] .chest-item,.garden-chests [data-chest-last] .chest-item img{opacity:1;filter:none}[data-chest-history] ol{list-style:none;padding:0;margin:0}[data-chest-history] li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid #e6e9df;font-size:11px}[data-chest-history] small{display:block;font-size:10px;color:#818677;margin-top:3px}[data-chest-history] strong{font-size:11px;color:#536842;white-space:nowrap}

@media(max-width:600px){.garden-top-grid{gap:16px}.garden-chests{padding:20px!important}.garden-chests .garden-section-heading h2{font-size:17px}.chest-item{min-height:73px}.chest-item img{width:62px;height:62px}.chest-totals{margin-top:19px}.chest-totals strong{font-size:20px}}

.garden-scene.is-celebrating .garden-plant,.garden-scene.is-celebrating .garden-plant-shadow{visibility:hidden}
.garden-celebration{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:12px;z-index:2;background:radial-gradient(ellipse,#f0f5e4 0%,#fff0 70%);animation:garden-celebrate-in .45s ease-out}
.garden-celebration h3{font-size:clamp(22px,3vw,30px);line-height:1.25;letter-spacing:-.7px;color:#405a32;margin:10px 0}
.garden-celebration p{font-size:13px;color:#69755b;margin:0 0 16px}.garden-celebration .btn{font-size:12px;min-height:38px}
.garden-celebration-spark{font-size:38px;color:#b49842;text-shadow:36px -12px #cbd9ac,-38px 5px #d9c376}
@keyframes garden-celebrate-in{from{opacity:0;transform:translateY(10px) scale(.96)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.garden-celebration{animation:none}}

.garden-quest-progress{display:block;width:100%;height:10px;margin-top:16px;border:0;border-radius:3px;overflow:hidden;appearance:none;background:#e8ebdf;color:#71864d;accent-color:#71864d}
.garden-quest-progress::-webkit-progress-bar{background:#e8ebdf;border-radius:3px}
.garden-quest-progress::-webkit-progress-value{background:#71864d;border-radius:3px}
.garden-quest-progress::-moz-progress-bar{background:#71864d;border-radius:3px}
.garden-quest-disclosure>summary>span:first-child{flex:1;min-width:0}
@media(max-width:600px){.garden-chests{margin-top:16px}}

.garden-level-benefits{flex-shrink:0}.garden-level-benefits .stat-info{margin:0}.garden-level-benefits .stat-info button{font-size:12px}.garden-level-benefits .stat-info-tooltip{white-space:pre-line;max-height:min(560px,80vh);overflow-y:auto;line-height:1.7}
