/* Generated raster artwork supplies every UI surface; CSS only lays out live content. */
:root{--ui-panel:url('assets/generated/ui/panel-frame-v1.webp');--ui-slot:url('assets/generated/ui/item-slot-v1.webp');--ui-button:url('assets/generated/ui/button-green-v1.webp');--ui-icons:url('assets/generated/ui/garden-controls-atlas-v1.webp')}
.ui-icon{display:inline-block;flex:none;width:var(--icon-size,24px);height:var(--icon-size,24px);background-image:var(--ui-icons);background-size:400% 400%;background-position:var(--icon-x) var(--icon-y);background-repeat:no-repeat;vertical-align:middle;pointer-events:none}
.ui-icon-arrow{transform:rotate(180deg)}.back-link .ui-icon-arrow{transform:none}
.play-screen .tool-disc,.play-screen .action-dock .tool-disc,.play-screen .harvest-tool .tool-disc{background:none!important;border:0;border-radius:0;box-shadow:none;width:58px;height:58px}
.play-screen .tool-disc>.ui-icon{width:68px;height:68px}.play-screen .action-dock .tool-disc{width:64px;height:64px}.play-screen .action-dock .tool-disc>.ui-icon{width:76px;height:76px}
.play-screen .float-tool{gap:5px}.play-screen .tool-label{font-size:11px;font-weight:600}.play-screen .float-tool:hover:not(:disabled) .tool-disc{background:none!important;filter:brightness(1.06)}.play-screen .float-tool:disabled{opacity:.5;filter:saturate(.65)}
.play-screen .tool-count,.play-screen .avatar b{border:0;border-radius:0;background:var(--ui-slot) center/100% 100% no-repeat;color:#375439;box-shadow:none;min-width:25px;height:25px;line-height:25px;font-size:10px;top:-3px;right:-7px;padding:0 5px}
.play-screen .avatar b{bottom:-5px;top:auto;right:-5px;min-width:23px;width:23px;height:23px;font-size:10px}
.play-screen #quest-dot{width:20px;height:20px;right:-3px;top:-2px;border:0;border-radius:0;background:var(--ui-icons) 100% 100%/400% 400% no-repeat}
.play-screen .profile{background:none;box-shadow:none;border-radius:0;border:9px solid transparent;border-image:var(--ui-slot) 210 fill/18px stretch;padding:1px 5px 1px 0;gap:8px}
.play-screen .profile strong{font-size:11px;margin-bottom:5px}.play-screen .profile small{font-size:8px;margin-top:5px}.play-screen .xp-track{height:6px;width:132px;background:var(--ui-slot) center/100% 100% no-repeat;border-radius:0}.play-screen .xp-track i{background:var(--ui-button) center/100% 164% no-repeat}
.play-screen .avatar{background:none;border:0;width:43px;height:43px}.play-screen .avatar>.ui-icon{width:49px;height:49px}.play-screen .upgrade-plus{padding:0;font-size:20px}
.play-screen .wallet{border:0;background:var(--ui-button) center/100% 164% no-repeat;border-radius:0;box-shadow:none;min-width:123px;padding:7px 18px 7px 12px;gap:4px}.play-screen .wallet>.ui-icon{width:30px;height:30px}.play-screen .wallet strong{font-size:17px}.play-screen .wallet small{font-size:7px;opacity:.85}
.play-screen .round-help,.play-screen .back-link{border:0;background:none;border-radius:0;filter:none;width:38px;height:38px}.play-screen .round-help>.ui-icon,.play-screen .back-link>.ui-icon{width:42px;height:42px}
.play-screen .quick-rail{right:25px;gap:18px}.play-screen .game-tools{gap:14px}.play-screen .play-topbar{top:max(13px,env(safe-area-inset-top));left:20px;right:20px}.play-screen .play-profile{gap:8px}.play-screen .play-account{gap:8px}
.play-screen .return-home,.play-screen .toast{background:var(--ui-button) center/100% 164% no-repeat;border:0;border-radius:0;box-shadow:none;color:#fffef6;padding:17px 30px}.play-screen .return-home{min-width:220px;justify-content:center}.play-screen .return-home .ui-icon{width:28px;height:28px}
.play-screen .visit-label{background:none;border-radius:0;box-shadow:none;border:8px solid transparent;border-image:var(--ui-slot) 210 fill/16px stretch;color:#35523b;padding:5px 12px}
/* One steady frame, with the contents scrolling inside it. */
.play-screen dialog{width:min(560px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 30px);padding:10px 10px 15px;border:20px solid transparent;border-image:var(--ui-panel) 240 200 190 240 fill/58px 42px 40px 58px stretch;background:none;border-radius:0;box-shadow:none;filter:drop-shadow(0 14px 24px #133d4740);overflow:hidden;color:#36523c}
.play-screen dialog[open]{display:flex;flex-direction:column}.play-screen dialog::backdrop{background:#163d486e;backdrop-filter:blur(4px)}
.play-screen .dialog-heading{position:relative;flex:none;background:none;border:0;padding:8px 44px 16px;min-height:54px;justify-content:center;text-align:center;gap:0}.play-screen .dialog-heading .eyebrow{display:none}.play-screen .dialog-heading h2{font-size:27px;line-height:1.25;color:#4d6144}
.play-screen .close{position:absolute;right:-3px;top:0;width:40px;height:40px;border:0;border-radius:0;background:none;box-shadow:none}.play-screen .close .ui-icon{width:46px;height:46px}
.play-screen #panel-body{padding:2px 7px 5px;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#a4b497 transparent}
.play-screen #panel-message{position:static;flex:none;background:none;font-size:12px;line-height:1.55;color:#476840;padding:0 7px}.play-screen #panel-message:not(:empty){padding:12px 7px 2px;border:0}
.play-screen .dialog-copy{font-size:12px;line-height:1.65;color:#77836c;margin:0 0 16px}.play-screen .dialog-copy b{color:#53694a;font-weight:600}
.play-screen .primary,.play-screen .secondary{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--ui-button) center/100% 164% no-repeat;border:0;border-radius:0;box-shadow:none;padding:13px 20px;min-height:45px;font-size:12px;font-weight:600;line-height:1.4;color:#fffef5;text-shadow:0 1px 1px #164e4930}
.play-screen .primary.wide,.play-screen .secondary.wide{display:flex;width:100%}.play-screen .secondary{min-width:100px;font-size:11px;min-height:40px;padding:10px 17px}.play-screen .primary:disabled,.play-screen .secondary:disabled{filter:grayscale(.4);opacity:.48}.play-screen .primary:hover:not(:disabled),.play-screen .secondary:hover:not(:disabled){filter:brightness(1.08)}
/* Reusable generated mint inset for items and short statistics. */
.play-screen .item-row,.play-screen .seed-choice,.play-screen .collection-tile,.play-screen .requirements>div,.play-screen .plant-stats>div,.play-screen .shop-crop,.play-screen .quantity{background:none;box-shadow:none;border-radius:0;border:8px solid transparent;border-image:var(--ui-slot) 210 fill/17px stretch}
.play-screen .item-list{gap:7px}.play-screen .item-row{padding:8px 8px;gap:10px;min-width:0;min-height:82px}.play-screen .item-row>.crop-art{width:48px;height:58px}.play-screen .item-row h3{font-size:13px;line-height:1.4;margin:0 0 5px}.play-screen .item-row p{font-size:11px;line-height:1.5;color:#77836b}.play-screen .row-text{min-width:0}.play-screen .item-row .secondary{white-space:normal;max-width:136px;flex-shrink:0}.play-screen .stock-keep{font-size:10px!important;color:#849173!important}
.play-screen .friend-avatar{background:none!important;border:0;border-radius:0;width:48px;height:48px}.play-screen .friend-avatar .ui-icon{width:54px;height:54px}.play-screen .friend-label{background:none;border:0;padding:0;font-size:10px}
.play-screen .section-title{font-size:10px;letter-spacing:1.2px;margin:19px 5px 10px;color:#8c987a}.play-screen .section-title:first-child{margin-top:0}.play-screen .progress-line{height:6px;margin:9px 0 2px;border-radius:0;background:var(--ui-slot) center/100% 100% no-repeat}.play-screen .progress-line i{background:var(--ui-button) center/100% 164% no-repeat}.play-screen .quest-complete{color:#6b875c;font-size:11px;white-space:nowrap}
.play-screen .seed-picker{gap:10px;margin-bottom:14px;grid-template-columns:1fr}.play-screen .seed-choice{padding:12px 18px;gap:22px;text-align:left}.play-screen .seed-choice .crop-art{width:66px;height:88px}.play-screen .seed-choice strong{font-size:17px;margin-bottom:8px}.play-screen .seed-choice small{font-size:12px}.play-screen .seed-choice em{font-size:11px}.play-screen .seed-choice:disabled{opacity:.55}
.play-screen .collection-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.play-screen .collection-tile{padding:9px 4px;min-width:0}.play-screen .collection-tile .crop-art{height:103px;width:100%;margin-bottom:5px}.play-screen .collection-tile h3{font-size:11px;line-height:1.4;margin:5px 0;min-height:30px}.play-screen .collection-tile p{font-size:10px}.play-screen .collection-tile.unknown{background:none}.play-screen .collection-tile.unknown .crop-art{opacity:.52}.play-screen .rarity-label{display:block;font-size:9px;background:none;border:0;padding:0;color:var(--rarity);line-height:1.4}
.play-screen .shop-balance{display:flex;justify-content:space-between;gap:8px}.play-screen .shop-balance b{white-space:nowrap}.play-screen .shop-feature{display:flex;align-items:center;justify-content:center;gap:26px;padding:5px 0 16px}.play-screen .shop-feature>.crop-art{width:92px;height:128px;flex:none}.play-screen .shop-feature h3{font-size:23px;font-family:'Playfair Display',Georgia,serif;margin:0 0 7px}.play-screen .shop-feature p{font-size:12px;color:#7b876f;margin:0 0 12px}.play-screen .shop-feature strong{font-size:17px;color:#55794b}.play-screen .shop-feature strong small{font-size:11px;font-weight:400;color:#7b876f}
.play-screen .shop-specs{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;gap:8px;margin:0 0 20px}.play-screen .shop-specs dt{font-size:10px;color:#879177;margin-bottom:6px}.play-screen .shop-specs dd{font-size:15px;font-weight:600;margin:0}.play-screen .purchase-bar{display:flex;align-items:center;gap:10px}.play-screen .purchase-bar .primary{flex:1;min-width:0}.play-screen .quantity{display:flex;flex:none;align-items:center;margin:0;width:126px;height:45px;padding:0}.play-screen .quantity input{font-size:13px;width:34px;min-width:0}.play-screen .quantity button{width:35px;height:34px;flex:none;font-size:22px;padding:0}
.play-screen .upgrade-card{padding:0}.play-screen .level-numbers{font-size:35px;margin:3px 0 15px;gap:15px}.play-screen .level-numbers>span{border:0;border-radius:0;background:var(--ui-slot) center/100% 100% no-repeat;width:65px;height:65px}.play-screen .level-numbers>.ui-icon{width:32px;height:32px;background-color:transparent}.play-screen .requirements{gap:6px;margin:12px 0 18px}.play-screen .requirements>div{padding:8px 3px;gap:8px}.play-screen .requirements .ui-icon{width:35px;height:35px}.play-screen .requirements strong{font-size:14px}.play-screen .requirements small{font-size:10px;line-height:1.4}.play-screen .requirements .enough{background:none;border-color:transparent;color:#518349}
.play-screen .plant-summary{gap:16px;margin:0 0 14px}.play-screen .plant-portrait{width:78px;height:91px}.play-screen .plant-summary h3{font-size:18px;margin-bottom:6px}.play-screen .plant-summary p{font-size:11px;line-height:1.5}.play-screen .plant-progress{height:6px;margin-top:9px;background:var(--ui-slot) center/100% 100% no-repeat;border-radius:0}.play-screen .plant-progress i{background:var(--ui-button) center/100% 164% no-repeat}
.play-screen .plant-stats{gap:6px;margin-bottom:12px}.play-screen .plant-stats>div{padding:9px 10px}.play-screen .plant-stats dt{font-size:11px;margin-bottom:7px}.play-screen .plant-stats dd{font-size:17px}.play-screen .plant-stats small{font-size:10px;line-height:1.4;margin-top:6px}.play-screen .variant-details{margin:0 6px 13px;font-size:12px}.play-screen .variant-details summary{cursor:pointer;min-height:30px;line-height:30px;color:#647b57}.play-screen .variant-details summary>span{float:right;font-size:10px;color:#879577}.play-screen .odds-list{margin:9px 0 14px;gap:8px;font-size:11px}.play-screen .odds-track{background:var(--ui-slot) center/100% 100% no-repeat;height:5px}.play-screen .odds-track i{background:var(--rarity)}.play-screen .yield-note{font-size:11px;line-height:1.6;margin:0 6px 14px;color:#859277}
.play-screen .help-steps{gap:15px}.play-screen .help-steps>div:before{background:var(--ui-slot) center/100% 100% no-repeat;border-radius:0;border:0;width:31px;height:31px}.play-screen .help-steps strong{font-size:13px}.play-screen .help-steps p{font-size:12px;line-height:1.65}.play-screen .empty-state{font-size:13px;padding:25px 10px;line-height:1.7}
@media(max-width:980px){.play-screen .game-tools{gap:18px}.play-screen .action-dock{bottom:114px}.play-screen .game-tools{bottom:18px}.play-screen .return-home{bottom:113px}}
@media(max-width:760px){
 .play-screen .play-topbar{left:8px;right:8px;top:max(10px,env(safe-area-inset-top));gap:3px}.play-screen .play-profile{gap:3px}.play-screen .play-account{gap:2px}.play-screen .profile{border-width:7px;padding:0 3px 0 0;gap:4px;border-image-width:15px}.play-screen .profile strong{font-size:8px;margin-bottom:4px}.play-screen .profile small{font-size:6px;margin-top:4px}.play-screen .xp-track{width:87px;height:5px}.play-screen .avatar{width:32px;height:32px}.play-screen .avatar>.ui-icon{width:38px;height:38px}.play-screen .avatar b{width:20px;min-width:20px;height:20px;line-height:20px;font-size:8px;right:-4px}.play-screen .upgrade-plus{font-size:18px}
 .play-screen .wallet{min-width:89px;padding:7px 10px;gap:1px}.play-screen .wallet>.ui-icon{width:23px;height:23px}.play-screen .wallet strong{font-size:13px}.play-screen .wallet small{font-size:5px}.play-screen .round-help,.play-screen .back-link{width:28px;height:28px}.play-screen .round-help>.ui-icon,.play-screen .back-link>.ui-icon{width:31px;height:31px}
 .play-screen .tool-disc{width:47px;height:47px}.play-screen .tool-disc>.ui-icon{width:56px;height:56px}.play-screen .action-dock .tool-disc{width:55px;height:55px}.play-screen .action-dock .tool-disc>.ui-icon{width:65px;height:65px}.play-screen .tool-label{font-size:9px}.play-screen .tool-count{font-size:9px;min-width:23px;height:23px;line-height:23px}.play-screen .game-tools{gap:14px;bottom:max(17px,env(safe-area-inset-bottom))}.play-screen .quick-rail{right:10px;top:88px;gap:17px}.play-screen .action-dock{bottom:108px;gap:25px}.play-screen .action-dock .tool-label{font-size:10px}
 .play-screen dialog{width:calc(100vw - 14px);max-width:calc(100vw - 14px);max-height:calc(100dvh - 22px);margin:auto;border-width:15px;border-image-width:47px 32px 31px 47px;padding:8px 5px 12px}.play-screen .dialog-heading{padding:9px 35px 16px;min-height:54px}.play-screen .dialog-heading h2{font-size:24px}.play-screen .close{right:-5px;top:2px;width:37px;height:37px}.play-screen .close .ui-icon{width:43px;height:43px}.play-screen #panel-body{padding:0 2px 3px}.play-screen #panel-message:not(:empty){padding:10px 2px 0;font-size:11px}.play-screen .dialog-copy{font-size:11px;margin-bottom:13px}
 .play-screen .item-row{gap:7px;padding:6px 5px;border-width:6px;border-image-width:14px}.play-screen .item-row>.crop-art{width:35px;height:48px}.play-screen .item-row h3{font-size:12px}.play-screen .item-row p{font-size:10px}.play-screen .item-row .secondary{min-width:83px;max-width:108px;padding:10px 13px;font-size:10px}.play-screen .friend-avatar{width:36px;height:36px}.play-screen .friend-avatar .ui-icon{width:43px;height:43px}.play-screen .quest-complete{font-size:10px}
 .play-screen .collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.play-screen .collection-tile{padding:8px 4px}.play-screen .collection-tile .crop-art{height:90px}.play-screen .collection-tile h3{font-size:11px;min-height:0}.play-screen .rarity-label{font-size:9px}.play-screen .collection-tile p{font-size:9px}
 .play-screen .shop-feature{gap:20px;padding:0 0 15px}.play-screen .shop-feature>.crop-art{width:78px;height:116px}.play-screen .shop-feature h3{font-size:21px}.play-screen .shop-feature p{font-size:11px}.play-screen .shop-balance{font-size:10px;gap:4px}.play-screen .shop-specs{gap:4px;margin-bottom:18px}.play-screen .shop-specs dd{font-size:14px}.play-screen .purchase-bar{gap:6px}.play-screen .quantity{width:109px}.play-screen .quantity button{width:29px}.play-screen .quantity input{width:29px}.play-screen .purchase-bar .primary{font-size:11px;padding:12px 15px}
 .play-screen .seed-choice{padding:10px 12px;gap:18px}.play-screen .seed-choice strong{font-size:16px}.play-screen .seed-choice .crop-art{width:59px;height:80px}.play-screen .plant-summary{gap:10px;margin-bottom:10px}.play-screen .plant-portrait{width:64px;height:82px}.play-screen .plant-summary h3{font-size:16px}.play-screen .plant-summary p{font-size:10px}.play-screen .plant-stats{gap:4px}.play-screen .plant-stats>div{padding:7px 7px;border-width:6px;border-image-width:14px}.play-screen .plant-stats dt{font-size:10px;margin-bottom:5px}.play-screen .plant-stats dd{font-size:15px}.play-screen .plant-stats small{font-size:9px}.play-screen .odds-row{grid-template-columns:100px 1fr 29px}.play-screen .variant-details{font-size:11px;margin-bottom:8px}.play-screen .yield-note{font-size:10px;margin-bottom:12px}.play-screen .requirements strong{font-size:12px}.play-screen .requirements small{font-size:9px}
}
@media(max-width:370px){.play-screen .back-link{display:none}.play-screen .game-tools{gap:9px}.play-screen .profile small{font-size:5.7px}.play-screen .xp-track{width:78px}.play-screen .shop-balance{display:block}.play-screen .shop-balance b{display:block;margin-top:3px}}
@media(max-height:560px) and (min-width:761px){.play-screen .tool-disc{width:38px;height:38px}.play-screen .tool-disc>.ui-icon{width:45px;height:45px}.play-screen .action-dock .tool-disc{width:44px;height:44px}.play-screen .action-dock .tool-disc>.ui-icon{width:52px;height:52px}.play-screen .action-dock,.play-screen .game-tools{bottom:12px}.play-screen .tool-label{font-size:8px}.play-screen .quick-rail{top:82px;gap:12px}.play-screen .game-tools{gap:8px}.play-screen .return-home{bottom:12px}}
/* Sample the painted face for thin meters instead of squeezing the button silhouette. */
.play-screen .xp-track,.play-screen .plant-progress,.play-screen .progress-line{background-size:100% auto;border-radius:4px}
.play-screen .xp-track i,.play-screen .plant-progress i,.play-screen .progress-line i{background-size:100% auto;border-radius:4px}
.play-screen .close{padding:0;right:0}
.play-screen .quest-action{display:flex;flex-direction:column;align-items:center;gap:5px;flex:none}.play-screen .quest-action small{font-size:9px;color:#7d8e6e}.play-screen [data-kind="quests"] .item-row{min-height:80px;padding-top:6px;padding-bottom:6px}.play-screen .upgrade-plus .ui-icon{width:24px;height:24px}
@media(max-width:760px){.play-screen .quest-action small{font-size:8px}.play-screen .upgrade-plus .ui-icon{width:19px;height:19px}.play-screen [data-kind="quests"] .item-row h3{font-size:11px}}
/* Keep the three garden actions in a single left-hand rail. */
.play-screen .action-dock{left:22px;right:auto;top:50%;bottom:auto;transform:translateY(-50%);flex-direction:column;align-items:center;gap:21px}
.play-screen .action-dock .float-tool{min-width:68px}
.play-screen .scene #world{width:min(calc(100vw - 150px),calc((100dvh - 40px)*1.2067));left:52%;top:51%}
@media(max-width:980px){
 .play-screen .action-dock{left:15px;top:49%;bottom:auto;gap:21px}
 .play-screen .scene #world{width:min(calc(100vw - 110px),calc((100dvh - 120px)*1.2067));left:54%;top:48%}
 .play-screen .toast{bottom:125px}
}
@media(max-width:760px){
 .play-screen .action-dock{left:5px;top:50%;bottom:auto;gap:19px}
 .play-screen .action-dock .float-tool{min-width:53px;gap:3px}
 .play-screen .action-dock .tool-disc{width:45px;height:45px}
 .play-screen .action-dock .tool-disc>.ui-icon{width:55px;height:55px}
 .play-screen .action-dock .tool-label{font-size:9px}
 .play-screen .scene #world{width:min(calc(100vw + 72px),calc((100dvh - 155px)*1.2067));left:calc(50% + 10px);top:53%}
 .play-screen .toast{bottom:124px}
}
@media(max-height:560px) and (min-width:761px){
 .play-screen .action-dock{left:16px;top:49%;bottom:auto;gap:12px}
 .play-screen .scene #world{width:min(calc(100vw - 180px),calc((100dvh - 30px)*1.2067));left:52%;top:54%}
 .play-screen .toast{bottom:90px}
}
.play-screen .float-tool:disabled{opacity:.74;filter:saturate(.45)}
