@charset "UTF-8";
:root{--ink:#243c30;--green:#24583e;--paper:#fcfaf5;--line:#e2e5da;--muted:#647064;--cream:#f3e7bf;--white:#fff;--red:#9c3529}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Malgun Gothic","Apple SD Gothic Neo",system-ui,sans-serif;line-height:1.65;font-size:16px}a{color:inherit;text-underline-offset:4px}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d49422;outline-offset:3px}img{display:block;max-width:100%}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}.demo{background:#efe7cd;text-align:center;font-size:12px;padding:6px 12px;font-weight:700;color:#534a30}header{max-width:1160px;margin:auto;padding:26px 30px;display:flex;justify-content:space-between;align-items:center;gap:12px}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;font-size:23px;font-weight:800;letter-spacing:-.7px}.brand small{display:block;font-size:10px;font-weight:500;letter-spacing:1px}.brand-mark{background:var(--green);color:var(--cream);border-radius:50% 50% 10% 50%;font-family:Georgia,serif;display:grid;place-items:center;width:42px;height:42px}.header-link{font-size:14px}.admin-nav{display:flex;gap:8px;max-width:1100px;margin:0 auto 20px;padding:10px;background:#e9efe5;border-radius:14px;flex-wrap:wrap}.admin-nav a{padding:10px 15px;text-decoration:none;font-weight:700;font-size:14px}main{max-width:1160px;padding:10px 30px 65px;margin:auto;min-height:55vh}h1,h2,h3,p{margin-top:0}h1{font-size:36px;line-height:1.35;letter-spacing:-1.4px;margin-bottom:16px}h2{font-size:25px;line-height:1.4;letter-spacing:-.7px;margin-bottom:18px}h3{font-size:19px;line-height:1.45;margin-bottom:8px}p{margin-bottom:18px}small,.muted{color:var(--muted);font-size:13px}small{display:inline-block}.eyebrow{display:block;letter-spacing:2px;font-size:11px;font-weight:800;margin-bottom:15px}.green{color:var(--green)}.hero{background:#244d39;border-radius:24px;display:grid;grid-template-columns:1fr 1fr;overflow:hidden;color:#fcf4dd;min-height:440px}.hero-copy{padding:64px 15px 55px 52px;position:relative;z-index:2}.hero h1{font-size:46px;line-height:1.35;font-weight:700}.hero p{color:#e2e7d9;line-height:1.9;font-size:16px}.button{display:inline-flex;justify-content:center;align-items:center;gap:18px;padding:13px 22px;min-height:48px;background:var(--green);color:#fff;border:1px solid var(--green);border-radius:10px;text-decoration:none;font-weight:700;font-size:15px;line-height:1.5}.button.cream{background:var(--cream);border-color:var(--cream);color:var(--ink);margin-top:8px}.button.secondary{background:transparent;border-color:#b5c3ae;color:var(--green)}.full{width:100%}.harvest-art{position:relative;min-height:380px;background:radial-gradient(ellipse at 70% 40%,#5d7650 0,transparent 65%);overflow:hidden}.sun{position:absolute;width:300px;height:300px;border-radius:50%;background:#eee3ae;opacity:.18;top:40px;left:55px}.fruit{position:absolute;box-shadow:inset -20px -20px 50px #0002,14px 18px 24px #112b2933}.apple{width:165px;height:155px;background:#c86642;border-radius:48% 48% 42% 42%;top:150px;left:40px;transform:rotate(-16deg)}.pear{width:167px;height:200px;border-radius:48% 48% 42% 42%;background:#d7bc65;top:100px;left:205px;transform:rotate(14deg)}.pear:before{content:"";width:90px;height:100px;background:#d7bc65;position:absolute;top:-35px;left:38px;border-radius:45% 45% 0 0}.leaf{position:absolute;background:#829b60;width:95px;height:45px;border-radius:100% 0 100% 0;transform:rotate(-25deg);top:130px;left:90px;box-shadow:inset 0 -4px #0001}.l2{top:65px;left:275px;transform:rotate(20deg);background:#b7c77c}.art-label{position:absolute;bottom:40px;right:40px;text-align:right;font-size:12px;line-height:1.8;letter-spacing:1px}.art-label b{font-size:16px}.promise{display:flex;justify-content:space-around;padding:23px 10px;border-bottom:1px solid var(--line);font-size:12px;gap:8px;color:#879476}.promise b{color:var(--ink);font-size:14px;margin-left:10px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:46px 0 24px}.section-title h1,.section-title h2{margin:0}.section-title>span{font-size:13px;color:var(--muted)}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.product-card{text-decoration:none}.product-image{aspect-ratio:1.1;position:relative;background:#eeeddf;border-radius:16px;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:cover}.placeholder{height:100%;min-height:140px;display:flex;flex-direction:column;justify-content:center;align-items:center;background:radial-gradient(circle at 50% 45%,#fbf8e5,#e7e6d6)}.placeholder span{font-size:80px;filter:drop-shadow(0 10px 12px #2e412b22)}.placeholder small{font-size:11px}.tag{position:absolute;top:14px;left:14px;background:#fffdf2ed;border-radius:30px;padding:3px 12px;font-size:11px;font-weight:700}.product-info{padding:15px 3px}.product-info h3{font-size:18px;margin:3px 0 9px}.product-info strong{font-size:20px}.product-info strong small{font-weight:400;margin-left:5px;font-size:12px}.story{margin-top:60px;background:#ebefdf;padding:48px;border-radius:20px;position:relative}.story h2{font-size:32px}.story p{color:#53614b}.story>a{font-size:14px;font-weight:700}.panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px;margin-bottom:22px}.two-col,.detail-grid,.checkout-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.detail-grid{margin-top:18px;margin-bottom:30px;gap:40px}.checkout-grid{grid-template-columns:1.2fr 1fr;align-items:start}.large{aspect-ratio:1}.large .placeholder span{font-size:110px}.back{display:block;margin:12px 0 28px;font-size:14px;color:var(--muted)}.pre{white-space:pre-wrap;overflow-wrap:anywhere}.notice{border-radius:12px;background:#f3f4e9;padding:18px 20px;margin:18px 0;font-size:14px;line-height:1.8}.notice p:last-child{margin-bottom:0}form label{display:flex;flex-direction:column;gap:7px;font-weight:700;font-size:14px;margin-bottom:20px}input,select,textarea{width:100%;min-width:0;border:1px solid #bac5b6;border-radius:9px;background:#fff;padding:12px;color:var(--ink);min-height:48px}textarea{resize:vertical}label small{font-weight:400}.check{display:flex;flex-direction:row;align-items:flex-start;font-weight:400;gap:10px}.check input{width:20px;height:20px;min-height:20px;margin-top:3px;flex-shrink:0;accent-color:var(--green)}.auth-panel{max-width:470px;margin:36px auto;background:white;border:1px solid var(--line);padding:32px;border-radius:20px}.auth-panel h1{font-size:29px}.auth-panel>p{font-size:14px}.center{text-align:center;margin-top:24px}.empty{background:#f0f1e6;text-align:center;border-radius:18px;padding:50px 20px;margin:24px 0}.empty>span{font-size:44px}.empty p{overflow-wrap:anywhere}.empty .button{margin:5px}.stack{display:grid;gap:16px;margin:24px 0}.stack .panel{margin-bottom:0}.order-card{display:flex;justify-content:space-between;gap:18px;text-decoration:none;align-items:center}.order-card small{display:block;margin:9px 0}.order-card p{margin:4px 0;font-size:14px}.badge{display:inline-block;background:#e1eddf;color:#2b5436;font-size:12px;font-weight:700;padding:4px 10px;border-radius:6px;margin:0 4px 6px 0}.badge.light{background:#f0eddf;color:#686044}.badges{margin-bottom:20px}dl{display:grid;grid-template-columns:auto 1fr;gap:15px;font-size:14px}dt{color:var(--muted)}dd{margin:0;text-align:right;overflow-wrap:anywhere}hr{border:0;border-top:1px solid var(--line);margin:24px 0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:30px 0}.stats a{text-decoration:none;background:#e8eedf;padding:24px;border-radius:14px}.stats strong{display:block;font-size:35px}.stats span{font-size:14px}.action-card{text-decoration:none;padding:30px}.action-card>span{font-size:32px;color:#6c8761}.action-card p{color:var(--muted);margin:0}.option-form{border-top:1px solid var(--line);padding:24px 0 5px}.draft-preview{border:1px dashed #a9b89c;padding:22px;background:#fafaf0;margin:18px 0}.upload-preview{max-height:260px;border-radius:10px;margin-bottom:20px}.inline{display:flex;gap:12px;flex-wrap:wrap}.break{overflow-wrap:anywhere}.error-text{color:var(--red);font-size:14px}.text-button{background:none;border:0;padding:12px 0;color:var(--muted);text-decoration:underline;font-size:13px}footer{border-top:1px solid var(--line);padding:36px max(30px,calc((100vw - 1100px)/2));font-size:12px;color:#677263;background:#f2f3e9}footer strong{font-size:20px;color:var(--ink)}footer p{margin:8px 0 15px}.bottom-nav{display:none}.skip{position:fixed;top:-100px;left:10px;z-index:100;background:white;padding:15px}.skip:focus{top:10px}
@media(max-width:700px){body{font-size:15px;padding-bottom:70px}header{padding:19px 20px}.brand{font-size:21px}.brand-mark{width:37px;height:37px}.header-link{font-size:13px}main{padding:5px 18px 40px}h1{font-size:29px}h2{font-size:22px}.hero{grid-template-columns:1fr;min-height:0;border-radius:18px;position:relative}.hero-copy{padding:35px 27px 27px}.hero h1{font-size:35px;margin-bottom:16px}.hero p{font-size:14px;line-height:1.8}.hero .eyebrow{font-size:9px;letter-spacing:1.6px}.hero .button{font-size:13px}.harvest-art{height:205px;min-height:0;margin-top:-10px}.sun{width:230px;height:230px;top:-12px;left:40px}.apple{width:110px;height:105px;top:58px;left:55px}.pear{width:105px;height:129px;left:180px;top:35px}.pear:before{width:60px;height:60px;left:23px;top:-20px}.leaf{width:60px;height:30px;left:85px;top:45px}.l2{left:222px;top:10px}.art-label{right:20px;bottom:15px;font-size:10px}.art-label b{font-size:12px}.promise{padding:19px 0;font-size:9px;justify-content:space-between}.promise b{font-size:11px;margin-left:4px}.section-title{margin:32px 0 20px}.section-title .button{padding:10px 12px;font-size:13px}.eyebrow{font-size:9px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.product-image{aspect-ratio:1;border-radius:12px}.placeholder span{font-size:58px}.product-info h3{font-size:15px}.product-info strong{font-size:17px}.product-info>small{font-size:11px}.tag{top:9px;left:9px;font-size:10px;padding:2px 8px}.story{padding:30px 24px;margin-top:35px}.story h2{font-size:28px}.story p{font-size:14px}.two-col,.detail-grid,.checkout-grid{grid-template-columns:1fr;gap:0}.detail-grid{gap:25px}.detail-grid h1{font-size:30px}.panel{padding:21px 18px;border-radius:14px}.checkout-grid .order-summary{grid-row:1}.auth-panel{padding:25px 19px;margin:18px auto}.auth-panel h1{font-size:26px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stats a{padding:18px}.stats strong{font-size:30px}.stats span{font-size:13px}.admin-nav{border-radius:0;margin:0 0 18px;padding:6px 10px;justify-content:space-between;gap:0}.admin-nav a{padding:10px 8px;font-size:12px}.order-card{align-items:flex-start;flex-direction:column;gap:8px}.order-card>div:last-child{width:100%;display:flex;justify-content:space-between}.order-card>div:last-child p{font-size:12px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;width:100%;z-index:10;justify-content:space-around;background:#fffef9f5;border-top:1px solid var(--line);padding:9px 6px calc(9px + env(safe-area-inset-bottom));backdrop-filter:blur(8px)}.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;font-size:20px;line-height:1.2;min-width:55px;min-height:44px}.bottom-nav span{font-size:10px;font-weight:700;margin-top:5px}footer{padding:28px 20px}input,select,textarea{font-size:16px}.button{min-height:48px}.inline>.button{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Warm, legible storefront — shared colors retain admin and checkout contrast. */
:root{--ink:#233d2e;--green:#254e36;--paper:#fffaf0;--line:#ded8c6;--muted:#565e50;--cream:#f4e2b7}
body{font-size:16px}
small,.muted{color:var(--muted)}
.demo{background:#eee0bc;color:#504023}
.brand small{font-size:12px;letter-spacing:0}
.header-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 12px;border:1px solid #bdc5b3;border-radius:12px;font-weight:700;text-decoration:none}
.hero.warm-hero{position:relative;background:#f2e5c8;color:var(--ink);border:1px solid #e4d5b4;min-height:310px;grid-template-columns:1fr;border-radius:26px}
.warm-hero .hero-copy{padding:38px 42px;max-width:700px}
.warm-hero .eyebrow{font-size:14px;letter-spacing:0;color:#5c4b2f;margin-bottom:12px}
.warm-hero h1{font-size:42px;letter-spacing:-1.5px;margin-bottom:15px;line-height:1.3}
.warm-hero p{color:#40503c;font-size:17px;line-height:1.75;margin-bottom:22px}
.warm-hero .button{font-size:17px;min-height:52px;gap:30px;border-radius:14px}
.welcome-sprout{position:absolute;right:10%;bottom:55px;width:180px;height:180px}
.stem{position:absolute;width:7px;height:105px;background:#66804d;left:88px;bottom:15px;border-radius:10px}
.sprout-leaf{position:absolute;width:85px;height:48px;background:#859659;border-radius:0 90% 0 90%;left:9px;top:39px;transform:rotate(8deg)}
.sprout-leaf.right{left:90px;top:15px;transform:scaleX(-1) rotate(8deg);background:#506d43}
.soil{position:absolute;bottom:0;left:22px;width:142px;height:20px;background:#d5b786;border-radius:50%}
.shop-guide{display:flex;align-items:center;gap:14px;padding:20px 4px;border-bottom:1px solid var(--line);font-size:14px;color:#3f4e37}
.shop-guide>a{margin-left:auto;font-weight:700;min-height:44px;display:flex;align-items:center}
.section-title .eyebrow,.story .eyebrow{font-size:14px;letter-spacing:0;margin-bottom:7px}
.section-title>span{color:#525b4d;font-size:14px}
.product-card{border-radius:18px;background:#fffdf7;overflow:hidden;border:1px solid #e0dacb}
.product-card:focus-visible{outline-offset:4px}
.product-card .product-image{border-radius:0;aspect-ratio:1.35}
.placeholder{background:#eee9d9;min-height:120px;color:#576a48;gap:6px}
.placeholder .seed-mark{font-size:64px;line-height:1.2;filter:none;font-family:Georgia,serif}
.placeholder small{font-size:13px;color:#56604b}
.tag{background:#fffdf5;color:#354a32;font-size:13px}
.product-info{padding:18px}
.product-info>small{font-size:13px;color:#565e50;line-height:1.5}
.product-info h3{font-size:19px;margin:5px 0 12px;letter-spacing:-.4px}
.product-info strong{font-size:24px;letter-spacing:-.6px;color:#203d2a}
.product-info strong small{font-size:13px;color:#565e50;margin-left:5px}
.card-cta{display:flex;justify-content:space-between;align-items:center;min-height:46px;border-top:1px solid #ded8c6;margin-top:15px;padding-top:8px;font-size:14px;font-weight:700;color:#254e36}
.story{background:#eee6d3;border:1px solid #e2d7bd;border-radius:24px}
.story p{color:#4a5543;font-size:16px}.story .button{font-size:16px}
.detail-grid .notice{background:#f2e9d4;color:#35452e;font-size:16px}
.detail-grid .eyebrow{font-size:14px;letter-spacing:0}
.detail-grid .pre{font-size:17px;line-height:1.85}
.detail-grid .button{min-height:54px;font-size:18px}
.detail-price{font-size:29px;font-weight:800;margin:8px 0 22px;color:#254e36;letter-spacing:-.7px}
.detail-price small{font-size:15px;font-weight:400;margin-left:6px}
.detail-grid label{font-size:16px}
.large .placeholder .seed-mark{font-size:100px}
.bottom-nav span{font-size:12px}
footer{color:#535d4c;font-size:14px;background:#f1eadb}
@media(max-width:700px){
body{font-size:16px}
header{padding:15px 18px}.brand{font-size:22px}.brand small{font-size:11px}
.header-link{font-size:14px;min-width:64px}
.hero.warm-hero{min-height:0;border-radius:22px}
.warm-hero .hero-copy{padding:25px 23px 26px}
.warm-hero .eyebrow{font-size:13px;margin-bottom:10px}
.warm-hero h1{font-size:33px;line-height:1.3;margin-bottom:12px}
.warm-hero p{font-size:15px;line-height:1.75;margin-bottom:20px}
.warm-hero .button{font-size:16px;min-height:50px;padding:12px 19px}
.welcome-sprout{width:54px;height:65px;right:20px;top:28px;bottom:auto;opacity:.85}
.stem{width:3px;height:39px;left:26px;bottom:8px}
.sprout-leaf{width:25px;height:17px;left:2px;top:18px}
.sprout-leaf.right{left:28px;top:7px}.soil{left:6px;width:43px;height:7px}
.shop-guide{gap:7px;font-size:12px;padding:5px 1px;flex-wrap:wrap}
.shop-guide>a{font-size:12px}
.section-title{margin:27px 0 17px}
.section-title h2{font-size:25px}
.section-title .eyebrow{font-size:13px}
.product-grid{gap:16px 12px}
.product-card{border-radius:16px}
.product-card .product-image{aspect-ratio:1.25}
.placeholder .seed-mark{font-size:45px}
.placeholder small{font-size:11px}
.tag{font-size:12px;padding:3px 9px;top:9px;left:9px}
.product-info{padding:13px 12px 5px}
.product-info>small{font-size:12px}
.product-info h3{font-size:17px;line-height:1.5;margin:5px 0 8px}
.product-info strong{font-size:22px;white-space:nowrap}
.product-info strong small{font-size:12px;margin-left:3px}
.card-cta{font-size:12px;margin-top:12px;min-height:46px;gap:3px}
.story{padding:28px 23px}
.story h2{font-size:28px}
.detail-grid .large{aspect-ratio:1.3}
.detail-grid h1{font-size:30px}
.bottom-nav a{min-height:48px;min-width:64px}
.bottom-nav span{font-size:12px;color:#233d2e}
}

.product-info .card-origin{display:block;margin-top:8px}
@media(max-width:700px){.warm-hero .hero-copy{padding:22px 23px}.warm-hero .eyebrow{margin-bottom:8px}.warm-hero h1{font-size:32px;margin-bottom:10px}.warm-hero p{margin-bottom:16px}.product-card .product-image{aspect-ratio:1.4}.placeholder{min-height:110px}.product-info h3{margin-top:0}}

/* Farm stand: quiet wood shelves and readable paper price tags. */
.farm-stall{position:relative;background:#f2e5c8;border:1px solid #e4d5b4;border-radius:18px;overflow:hidden;padding:35px 32px 25px}
.farm-stall:before{content:"";position:absolute;top:0;left:0;width:100%;height:10px;background:repeating-linear-gradient(90deg,#385a3e 0 42px,#f4e6c8 42px 84px)}
.farm-stall .eyebrow{font-size:14px;letter-spacing:0;color:#5c4b2f;margin-bottom:9px}
.farm-stall h1{font-size:35px;margin-bottom:10px}
.farm-stall p{font-size:16px;color:#40503c;margin:0;line-height:1.7}
.shelf-grid{gap:26px 20px;padding:0 4px}
.shelf-product{position:relative;overflow:visible;border:0;background:transparent;padding-bottom:20px;border-radius:0}
.shelf-product:after{content:"";position:absolute;bottom:0;left:-10px;right:-10px;height:12px;background:linear-gradient(#c69e69 0 5px,#ac7f4c 5px 9px,#c09661 9px);border-radius:2px;box-shadow:0 5px 6px #70502c15}
.shelf-product .product-image{border-radius:15px 15px 0 0;border:1px solid #ddd6c1;border-bottom:0}
.shelf-product .product-info{background:#fffdf6;border:1px solid #dbd1b9;border-radius:0 0 10px 10px;padding:15px 16px 4px}
.option-label{font-size:14px;line-height:1.5;color:#43533b;margin:0 0 8px}
.shelf-product .product-info h3{margin:0 0 5px}
.shelf-product .product-info .card-origin{font-size:12px;margin-top:6px}
.sold-out{position:absolute;right:9px;bottom:9px;border-radius:6px;padding:4px 10px;background:#4e4d40;color:#fff;font-size:14px;font-weight:700}
@media(max-width:700px){
.farm-stall{padding:27px 22px 21px;border-radius:18px}
.farm-stall .eyebrow{font-size:13px;margin-bottom:7px}
.farm-stall h1{font-size:29px;margin-bottom:8px;letter-spacing:-1px}
.farm-stall p{font-size:14px;line-height:1.65}
.shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px;padding:0 2px}
.shelf-product:after{left:-7px;right:-7px}
.shelf-product .product-info{padding:12px 11px 2px}
.shelf-product .product-info h3{font-size:17px}
.shelf-product .product-info strong{font-size:23px}
.shelf-product .product-image{aspect-ratio:1.5}
.shelf-product .placeholder{min-height:100px}
.option-label{font-size:13px;margin-bottom:6px}
.shelf-product .card-cta{font-size:12px}
#harvest .section-title{margin:22px 0 17px}
#harvest .section-title h2{font-size:23px}
}

/* Accessible 2D farm shop scene. Each crate and its sign form one link. */
.game-shop{max-width:940px;margin:0 auto;isolation:isolate}
.scene-sky{position:relative;height:188px;background:#dce9d4;overflow:hidden;border-radius:30px 30px 0 0;display:flex;justify-content:center;align-items:center}
.scene-cloud{position:absolute;width:95px;height:25px;background:#fffaf0;border-radius:50px;top:35px;left:25px}
.scene-cloud:before{content:"";position:absolute;width:47px;height:35px;border-radius:50%;background:inherit;left:18px;bottom:5px}
.cloud-two{left:auto;right:35px;top:67px;transform:scale(.8)}
.scene-hill{position:absolute;width:130%;height:120px;background:#a9c28c;border-radius:50% 50% 0 0;bottom:-65px;left:-15%}
.shop-sign{position:relative;z-index:1;min-width:260px;text-align:center;background:#f9e7bd;border:6px solid #94673d;border-radius:16px;box-shadow:0 5px 0 #6f4e31,0 9px 0 #283a2514;padding:12px 25px;transform:rotate(-1deg)}
.shop-sign:before,.shop-sign:after{content:"";position:absolute;top:-55px;width:6px;height:50px;background:#8b6a43;left:22px}
.shop-sign:after{left:auto;right:22px}
.shop-sign>span{color:#5e492d;font-size:14px;font-weight:700}
.shop-sign h1{font-size:30px;line-height:1.2;letter-spacing:-.7px;margin:3px 0 4px;color:#294c32}
.shop-sign p{font-size:16px;font-weight:700;margin:0;color:#59462c}
.shop-awning{position:relative;height:64px;background:repeating-linear-gradient(90deg,#426746 0 60px,#f7e6bf 60px 120px);border:3px solid #4d5734;border-radius:10px 10px 0 0;z-index:2;box-shadow:0 5px 0 #4a462522}
.shop-awning:after{content:"";position:absolute;left:-3px;right:-3px;bottom:-14px;height:22px;background:repeating-linear-gradient(90deg,#345737 0 60px,#e8d5ab 60px 120px);border-radius:0 0 12px 12px;border-bottom:3px solid #5a5634}
.market-interior{position:relative;background:repeating-linear-gradient(90deg,#e4cda0 0 48px,#dbc194 48px 50px);border-left:12px solid #a77a49;border-right:12px solid #a77a49;padding:34px 26px 18px;box-shadow:inset 5px 0 #805d3540,inset -5px 0 #805d3540}
.shop-instruction{text-align:center;margin:0 0 26px;color:#3b442d}
.shop-instruction b{display:block;font-size:20px;margin-bottom:3px}
.shop-instruction>span{display:block;font-size:14px}
.game-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 20px}
.game-product{display:block;text-decoration:none;min-width:0;position:relative;padding-bottom:15px}
.game-product:after{content:"";position:absolute;bottom:0;left:-10px;right:-10px;height:13px;background:linear-gradient(#b6844e 0 6px,#906139 6px 10px,#b27d47 10px);box-shadow:0 5px 6px #72512c25;border-radius:2px}
.produce-crate{position:relative;height:150px;border-radius:10px 10px 3px 3px;background:#bd945b;box-shadow:inset 0 0 0 3px #946c3d,inset 0 12px 0 #d8b67c;display:flex;justify-content:center;align-items:flex-end;padding:0 8px 20px;overflow:hidden}
.produce-art{width:100%;height:140px;display:block;filter:drop-shadow(0 4px 1px #5c45231c)}
.list-picture img.produce-illustration,.product-illustration img.produce-illustration{object-fit:contain;border-radius:0}
.crate-front{position:absolute;bottom:0;left:0;right:0;height:28px;background:linear-gradient(#d9b680 0 12px,#b98c54 12px 15px,#d1aa70 15px);border:2px solid #956c3e;box-shadow:0 -3px 0 #6d542f25}
.crate-front:before,.crate-front:after{content:"";position:absolute;top:4px;bottom:4px;width:3px;background:#806241;left:9px}
.crate-front:after{left:auto;right:9px}
.crate-label{position:absolute;bottom:2px;left:0;right:0;z-index:1;text-align:center;color:#453720;font-weight:700;font-size:13px;line-height:24px}
.art-note{position:absolute;top:7px;left:7px;background:#fff5dc;color:#55492f;padding:1px 6px;border-radius:4px;font-size:11px}
.real-produce{width:100%;height:calc(100% - 8px);object-fit:cover;border-radius:7px}
.price-sign{position:relative;background:#fffbeb;border:2px solid #b79a67;border-radius:5px 5px 9px 9px;margin:7px 3px 0;padding:14px 12px 4px;box-shadow:0 3px 0 #8a693328}
.price-sign:before,.price-sign:after{content:"";position:absolute;top:5px;width:4px;height:4px;border-radius:50%;background:#ad9062;left:6px}
.price-sign:after{left:auto;right:6px}
.price-sign h2{font-size:20px;line-height:1.4;margin:0 0 5px;letter-spacing:-.4px;color:#293b28;overflow-wrap:anywhere}
.sign-option{display:block;font-size:14px;color:#57543c;margin-bottom:5px}
.price-sign strong{font-size:26px;color:#294a2f;letter-spacing:-.8px;white-space:nowrap}
.price-sign strong small{font-size:12px;font-weight:400;margin-left:4px;color:#57543c}
.sign-action{display:flex;justify-content:space-between;align-items:center;min-height:44px;border-top:1px dashed #c7b78f;margin-top:9px;font-size:13px;font-weight:700;color:#344a2d;gap:3px}
.scene-note{text-align:center;font-size:13px;line-height:1.7;color:#51472f;margin:25px 0 0}
.stall-base{height:43px;border:3px solid #89623a;background:repeating-linear-gradient(90deg,#b98a54 0 60px,#a57542 60px 63px);border-radius:0 0 9px 9px;box-shadow:0 7px 0 #d5be8c}
.shop-path{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;background:#dce5c5;padding:28px 14px 18px;border-radius:0 0 24px 24px}
.shop-path a{background:#faf0d3;border:2px solid #8f8055;border-radius:9px;min-height:46px;display:flex;align-items:center;padding:8px 14px;font-size:14px;font-weight:700;text-decoration:none;color:#3e482c;box-shadow:0 3px 0 #a9a47a}
.shop-payment{text-align:center;font-size:14px;color:#47523d;margin:22px 0 0}
.game-product:focus-visible{outline:4px solid #254e36;outline-offset:5px;border-radius:10px}
.game-product:hover .price-sign{border-color:#47643d}
.game-product .sold-out{z-index:2;bottom:32px;font-size:14px}
@media(max-width:700px){
main{padding-left:12px;padding-right:12px}
.scene-sky{height:157px;border-radius:24px 24px 0 0}
.shop-sign{min-width:235px;padding:9px 20px;border-width:5px}
.shop-sign h1{font-size:28px}.shop-sign>span{font-size:13px}.shop-sign p{font-size:15px}
.scene-cloud{left:-24px;top:31px}.cloud-two{left:auto;right:-23px;top:58px}
.shop-awning{height:43px;background-size:88px 100%;background-image:repeating-linear-gradient(90deg,#426746 0 44px,#f7e6bf 44px 88px)}
.shop-awning:after{background-image:repeating-linear-gradient(90deg,#345737 0 44px,#e8d5ab 44px 88px);height:20px;bottom:-12px}
.market-interior{border-left-width:8px;border-right-width:8px;padding:27px 11px 18px}
.shop-instruction{margin-bottom:17px}.shop-instruction b{font-size:18px}.shop-instruction>span{font-size:12px}
.game-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}
.game-product:after{left:-6px;right:-6px}
.produce-crate{height:125px;padding:0 3px 20px}
.produce-art{height:110px}
.price-sign{margin:7px 0 0;padding:12px 9px 0}
.price-sign h2{font-size:17px}
.sign-option{font-size:13px}
.price-sign strong{font-size:23px}.price-sign strong small{font-size:11px;margin-left:3px}
.sign-action{font-size:11px;min-height:44px}
.shop-path{gap:7px;padding:24px 10px 17px}.shop-path a{font-size:13px;padding:8px 9px}
.shop-payment{font-size:12px}
}

/* Continuous counters: a shared top, front apron and legs across two products. */
.counter-shop{max-width:840px}
.counter-shop .scene-sky{height:150px}
.counter-shop .shop-sign{min-width:250px;padding:8px 24px}
.counter-shop .shop-sign h1{font-size:28px}
.counter-shop .shop-sign p{font-size:14px}
.counter-shop .shop-awning{height:48px}
.counter-shop .market-interior{padding:30px 20px 12px;background:linear-gradient(#eee1bd 0 180px,#e6d6af 180px 100%);border-left:9px solid #9a7449;border-right:9px solid #9a7449;box-shadow:inset 4px 0 #c8ae7c,inset -4px 0 #c8ae7c}
.category-tabs{display:flex;gap:6px;margin:0 auto 18px;max-width:520px;padding:5px;background:#cbb789;border:1px solid #a48b59;border-radius:12px}
.category-tabs a{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;min-height:48px;padding:8px 10px;border-radius:8px;text-decoration:none;font-size:16px;font-weight:800;color:#3e482d;white-space:nowrap}
.category-tabs a span{font-size:12px;font-weight:500}
.category-tabs a[aria-current=page]{background:#284d33;color:#fff8df;box-shadow:0 2px 0 #172c1d}
.category-tabs a:focus-visible{outline:3px solid #224c31;outline-offset:2px;background:#fff8df;color:#224c31}
.counter-shop .shop-instruction{margin-bottom:4px}
.counter-shop .shop-instruction b{font-size:18px}
.counter-shop .shop-instruction>span{font-size:13px}
#category-status{text-align:center;color:#51513a;font-size:13px;margin:9px 0 4px}
.counter-rows{padding:0 2px}
.counter-row{position:relative;padding:0 9px 26px;margin-top:8px;isolation:isolate}
.counter-items{display:grid;grid-template-columns:1fr 1fr;gap:22px;position:relative;z-index:2}
.counter-top{position:absolute;left:-9px;right:-9px;top:118px;height:57px;background:linear-gradient(#e3c18b,#c69b61);clip-path:polygon(5% 0,95% 0,100% 82%,100% 100%,0 100%,0 82%);z-index:0}
.counter-top:after{content:"";position:absolute;left:0;right:0;bottom:0;height:9px;background:#8d6237;border-top:4px solid #f0cd92}
.counter-face{position:absolute;top:174px;bottom:26px;left:-9px;right:-9px;background:repeating-linear-gradient(0deg,#b88a52 0 36px,#a47743 36px 39px);border:3px solid #8e6438;border-top:0;box-shadow:inset 0 8px 10px #69482138,0 8px 9px #6d532a28;z-index:0}
.counter-face:before,.counter-face:after{content:"";position:absolute;top:0;bottom:0;width:12px;background:#ca9b5e;left:9px;border-left:2px solid #9c703e;border-right:2px solid #9c703e}
.counter-face:after{left:auto;right:9px}
.counter-legs:before,.counter-legs:after{content:"";position:absolute;bottom:0;height:30px;width:22px;background:#946a3c;left:14px;transform:skewX(-4deg);z-index:-1;box-shadow:3px 0 #71502d}
.counter-legs:after{left:auto;right:14px;transform:skewX(4deg)}
.counter-product.game-product{padding:0 0 13px;background:transparent;min-width:0}
.counter-product.game-product:after{display:none}
.counter-produce{height:174px;position:relative;display:flex;justify-content:center;align-items:flex-end;padding:0 5px 12px}
.counter-produce:before{content:"";position:absolute;bottom:8px;width:83%;height:20px;background:#664c2b33;border-radius:50%;filter:blur(3px)}
.counter-produce .produce-art{position:relative;height:155px;width:100%;filter:drop-shadow(2px 7px 2px #73512b22)}
.counter-produce .art-note{top:14px;left:8px;background:#fff8e7;font-size:11px}
.counter-produce .real-produce{height:145px;width:90%;object-fit:contain;position:relative;border-radius:6px;filter:drop-shadow(2px 7px 3px #67462130)}
.counter-ticket{background:#fff9df;border:1px solid #8c744a;border-radius:1px;box-shadow:2px 3px 0 #6b4b2b50;margin:5px 4px 0;padding:10px 12px 0;position:relative;min-height:131px;transform:rotate(-1deg)}
.counter-product:nth-child(even) .counter-ticket{transform:rotate(1deg)}
.counter-ticket:before{content:"";width:29px;height:12px;background:#e1d5accc;border:1px solid #bcab7d66;position:absolute;left:calc(50% - 14px);top:-7px;transform:rotate(-3deg)}
.counter-ticket h2{font-size:20px;line-height:1.35;color:#2b3e29;margin:0 0 5px;letter-spacing:-.6px;overflow-wrap:anywhere}
.counter-ticket .sign-option{font-size:14px;margin-bottom:4px;color:#4b4e34}
.counter-ticket strong{font-size:27px;color:#26472e;letter-spacing:-.7px;white-space:nowrap}
.counter-ticket strong small{font-size:12px;font-weight:400;letter-spacing:0;margin-left:4px;color:#4b4e34}
.counter-ticket .sign-action{min-height:34px;margin-top:5px;border-top:1px dotted #b5a275;font-size:13px;color:#364d31}
.counter-product:focus-visible .counter-ticket{outline:3px solid #254e36;outline-offset:3px}
.counter-product:hover .counter-ticket{background:#fffef3}
.counter-produce .sold-out{bottom:16px;right:5px}
.counter-empty{text-align:center;background:#f6e9c8;border:2px dashed #a38a58;margin:25px 4px;padding:32px 15px;color:#38462c}
.counter-empty>div{font-size:40px}.counter-empty h2{font-size:21px}.counter-empty p{font-size:14px}
.counter-shop .scene-note{margin:18px 0 7px;font-size:12px}
.counter-shop .shop-path{border-top:8px solid #8d693f}
@media(max-width:700px){
.counter-shop .scene-sky{height:130px}
.counter-shop .shop-sign{min-width:222px;padding:7px 22px;border-width:4px}
.counter-shop .shop-sign h1{font-size:26px}
.counter-shop .shop-sign>span{font-size:12px}.counter-shop .shop-sign p{font-size:14px}
.counter-shop .shop-awning{height:37px}
.counter-shop .market-interior{padding:23px 8px 10px;border-left-width:6px;border-right-width:6px}
.category-tabs{gap:2px;padding:4px;margin-bottom:15px}
.category-tabs a{font-size:14px;min-height:46px;gap:4px;padding:7px 5px}
.category-tabs a span{font-size:11px}
.counter-shop .shop-instruction b{font-size:16px}
.counter-shop .shop-instruction>span{font-size:11px}
#category-status{font-size:12px;margin:7px 0 1px}
.counter-row{padding:0 4px 24px;margin-top:3px}
.counter-items{gap:14px}
.counter-top{left:-5px;right:-5px;top:90px;height:42px}
.counter-face{left:-5px;right:-5px;top:131px;bottom:24px}
.counter-face:before,.counter-face:after{width:7px;left:5px}.counter-face:after{left:auto;right:5px}
.counter-produce{height:131px;padding:0 0 8px}
.counter-produce .produce-art{height:125px}
.counter-produce .real-produce{height:112px;width:94%}
.counter-produce .art-note{top:5px;left:5px;font-size:10px;padding:1px 5px}
.counter-ticket{margin:4px 1px 0;padding:10px 8px 0;min-height:126px}
.counter-ticket h2{font-size:16px;line-height:1.4;margin-bottom:4px}
.counter-ticket .sign-option{font-size:12px;margin-bottom:4px}
.counter-ticket strong{font-size:23px}
.counter-ticket strong small{font-size:11px;margin-left:2px}
.counter-ticket .sign-action{font-size:12px;min-height:32px}
.counter-product.game-product{padding-bottom:12px}
}

/* Keep mobile text sizing stable when category content changes. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}

/* Actual WebGL storefront with an always-available server-rendered catalogue. */
[hidden]{display:none!important}
.three-shop{max-width:1120px;margin:auto}
.three-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:12px 0 20px}
.three-heading h1{font-size:30px;margin:0}.three-heading .eyebrow{font-size:13px;letter-spacing:0;margin:0 0 5px}
.view-switch{display:flex;gap:4px;background:#e9dfc6;border-radius:12px;padding:4px}
.view-switch button{background:none;border:0;min-height:46px;padding:9px 14px;border-radius:9px;color:#30452d;font-size:14px;font-weight:700}
.view-switch button[aria-pressed=true]{background:#284e35;color:#fff8e4}
.three-shop .category-tabs{max-width:none;background:#eee3c9;margin-bottom:9px;border-color:#caba95}
.three-shop #category-status{margin:7px 0;font-size:13px}
.scene-status{font-size:13px;color:#4d5944;text-align:center;margin:5px 0 12px}
.scene-stage{position:relative;width:100%;height:550px;background:#e5d3ad;border:1px solid #b8a17a;border-radius:20px;overflow:hidden;isolation:isolate}
#farm-canvas{display:block;width:100%;height:100%;touch-action:none;outline-offset:-5px}
.scene-pins{position:absolute;inset:0;pointer-events:none}
.scene-pin{position:absolute;transform:translate(-50%,-50%);min-width:44px;min-height:44px;pointer-events:auto;background:#fff6d8;border:2px solid #526a3b;border-radius:50%;font-size:18px;font-weight:800;color:#263e2a;box-shadow:0 2px 8px #0002}
.scene-pin[aria-pressed=true]{background:#2a5738;color:#fff9e6;border-color:#fff0be}
.scene-corner{position:absolute;top:12px;left:12px;max-width:calc(100% - 24px);padding:5px 9px;background:#fff9e8ed;border-radius:7px;color:#4c4d36;font-size:12px;pointer-events:none}
.scene-controls{display:flex;justify-content:center;gap:7px;margin:12px 0 7px}
.scene-controls button,.scene-paging button{min-height:44px;min-width:44px;background:#fffdf3;border:1px solid #a8ad91;color:#29472e;border-radius:10px;padding:8px 13px;font-size:15px;font-weight:700}
#scene-help{text-align:center;font-size:13px;color:#505a46;margin-bottom:13px}
.scene-paging{display:flex;justify-content:space-between;align-items:center;margin:12px 0;gap:10px;font-size:13px}
.product-choices{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}
.product-choices button{flex:1;min-width:85px;min-height:48px;background:#f6edda;border:1px solid #b9b296;border-radius:10px;padding:8px;color:#30422d;font-size:13px;line-height:1.4}
.product-choices button[aria-pressed=true]{border:2px solid #2f583b;background:#e3ecd9;font-weight:700}
.scene-selection{background:#fffdf5;border:1px solid #d9ceb5;padding:20px;border-radius:16px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:15px;margin:0 0 24px}
.scene-selection h2{font-size:22px;margin:0 0 5px}.scene-selection p{margin:0 0 6px;font-size:15px;color:#4d5540}.scene-selection strong{font-size:25px;color:#274a30}.scene-selection small{font-size:13px;margin-left:4px}.scene-selection .button{min-height:50px}
.accessible-products{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.list-product.game-product{display:flex;gap:17px;align-items:center;padding:18px;border:1px solid #d9cfb9;border-radius:14px;background:#fffdf6;text-decoration:none}
.list-product.game-product:after{display:none}.list-picture{width:130px;height:130px;flex-shrink:0;background:#ece5d3;border-radius:12px;position:relative;display:grid;place-items:center}
.list-picture img{width:100%;height:100%;object-fit:cover;border-radius:12px}.list-picture .produce-art{width:100%;height:110px}.list-picture>small{position:absolute;bottom:4px;left:5px;background:#fff8dd;padding:1px 5px;border-radius:4px;font-size:11px}
.list-product h2{font-size:19px;margin:0 0 5px}.list-product p{margin:0 0 7px;font-size:14px;color:#52583e}.list-product strong{display:block;font-size:24px;color:#25462e}.list-product strong small{font-size:12px;margin-left:4px}.list-product span{display:block;margin-top:9px;font-size:13px;font-weight:700}
@media(max-width:700px){
.three-heading{display:block;margin:5px 3px 14px}.three-heading h1{font-size:26px}.view-switch{margin-top:12px;display:inline-flex}
.view-switch button{font-size:14px;min-height:44px}.three-shop .category-tabs a{font-size:14px}
.scene-stage{height:440px;border-radius:15px}
.scene-corner{font-size:10px;top:9px;left:9px;padding:4px 7px}
.scene-controls{gap:6px}.scene-controls button{font-size:14px;padding:8px 12px}
#scene-help{font-size:12px}.scene-paging{font-size:12px}.scene-paging button{font-size:13px;padding:7px 10px}
.scene-selection{grid-template-columns:1fr;padding:17px;gap:12px}.scene-selection h2{font-size:20px}.scene-selection .button{width:100%}.scene-selection strong{font-size:25px}
.product-choices button{font-size:12px}
.accessible-products{grid-template-columns:1fr;gap:12px}.list-product.game-product{padding:13px;gap:13px}.list-picture{width:105px;height:115px}.list-product h2{font-size:17px}.list-product strong{font-size:23px}
}

@media(max-width:700px){.three-heading{display:flex;gap:8px;margin:6px 3px 13px}.three-heading h1{font-size:22px;letter-spacing:-1px}.three-heading .eyebrow{font-size:11px}.view-switch{margin-top:0;flex-shrink:0}.view-switch button{font-size:12px;padding:8px 9px}.scene-stage{height:440px}.scene-status{font-size:12px;margin:5px 0 10px}}

.scene-quick-info{position:absolute;left:12px;right:12px;bottom:12px;background:#fff9e9f5;border:1px solid #c5b48d;border-radius:12px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;box-shadow:0 3px 15px #44331e20}.scene-quick-info>div{min-width:0}.scene-quick-info b{display:block;font-size:15px;line-height:1.4;overflow-wrap:anywhere;color:#293f2c}.scene-quick-info span{display:block;font-size:12px;line-height:1.5;color:#4b5239;margin-top:4px}.scene-quick-info a{display:flex;align-items:center;justify-content:center;flex-shrink:0;min-height:44px;padding:8px 11px;border-radius:8px;background:#2d5339;color:#fff9e6;text-decoration:none;font-weight:700;font-size:13px}

.catalog-search{display:flex;gap:8px;align-items:center;margin:12px 0}.catalog-search input[type=search]{min-width:0;flex:1;width:0;margin:0}.catalog-search button{flex-shrink:0}.catalog-search a{font-size:14px;white-space:nowrap}.scene-jump-label{display:flex;align-items:center;gap:12px;margin:12px 0}.scene-jump-label select{flex:1;min-width:0;margin:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.catalog-search button,.catalog-search a{min-height:44px;display:inline-flex;align-items:center;justify-content:center}.catalog-search button{border:1px solid #254c38;border-radius:10px;background:#254c38;color:#fff;padding:0 12px;font:inherit}.catalog-search a{min-width:44px}

.npc-bubble{position:absolute;transform:translateX(-50%);width:210px;max-width:75%;padding:10px 12px;border:2px solid #426747;border-radius:16px;background:#fffaf0;color:#23432e;font-size:14px;font-weight:700;line-height:1.5;pointer-events:none;z-index:2}.scene-controls{flex-wrap:wrap}.scene-pin{width:44px;height:44px;min-width:44px}

/* Reserve a separate speech-card area so photos never cover the seven purchase targets. */
.scene-stage.has-selection{height:670px}.scene-stage.has-selection #farm-canvas{height:440px}
#selection-tether{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:3}#selection-tether line{stroke:#b5781f;stroke-width:3;stroke-dasharray:5 4}
.product-popover{position:absolute;bottom:10px;left:10px;right:10px;height:210px;padding:40px 12px 12px;display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;background:#fffaf0;border:2px solid #b5781f;border-radius:18px;z-index:4;box-sizing:border-box}
.product-popover[hidden]{display:none}.popover-close{position:absolute;top:0;right:6px;min-height:40px;min-width:64px;background:transparent;border:0;color:#294b36;font:inherit}.popover-picture{height:120px;display:flex;align-items:center;justify-content:center;background:#eee7d3;border-radius:12px;font-size:14px;text-align:center;color:#4c573c}.popover-picture img{width:100%;height:100%;object-fit:contain;border-radius:12px}.product-popover h2{font-size:17px;line-height:1.35;margin:0 0 8px;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-popover p{font-size:14px;margin:0 0 8px}.product-popover .button{padding:10px 8px;min-height:44px;font-size:14px}.scene-pin[aria-pressed=true]{outline:3px solid #d49a2b;outline-offset:3px}
@media(min-width:700px){.scene-stage.has-selection{height:780px}.scene-stage.has-selection #farm-canvas{height:550px}.product-popover{max-width:440px;left:50%;right:auto;width:calc(100% - 20px);transform:translateX(-50%);grid-template-columns:120px 1fr}}

.product-popover p{line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.popover-close{min-height:44px}

/* Invisible accessible targets retain product-name keyboard access without slot badges. */
.scene-pin,.scene-pin[aria-pressed=true]{background:transparent;border:0;box-shadow:none;color:transparent;outline:none}.scene-pin:focus-visible{outline:3px solid #d49a2b;outline-offset:2px}

/* SVGElement.hidden is not HTMLElement.hidden: enforce the actual attribute. */
#selection-tether[hidden]{display:none}

.product-popover .popover-picture{border:4px solid #b66c00;box-shadow:0 0 0 2px #ffe3a8;box-sizing:border-box}.product-popover .popover-picture img{border-radius:7px}

.scene-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:44px;height:52px;border:2px solid #526a3b;border-radius:12px;background:#fff9e9ed;color:#294832;font-size:34px;line-height:1;box-shadow:0 2px 5px #0002}.scene-nav-prev{left:3px}.scene-nav-next{right:3px}.scene-nav[hidden]{display:none}.scene-stage.has-selection .scene-nav{top:calc((100% - 230px)/2)}.scene-nav:disabled{opacity:.4}

#npc-leader{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2}#npc-leader line{stroke:#426747;stroke-width:2}#npc-leader[hidden],.npc-bubble[hidden]{display:none}.npc-bubble{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;line-height:1.45;pointer-events:none}

/* Native modal overlays the scene without changing its height or camera. */
#product-popover{position:fixed;inset:0;margin:auto;bottom:auto;top:50%;left:50%;right:auto;transform:translate(-50%,-50%);width:calc(100% - 32px);max-width:460px;height:auto;max-height:calc(100dvh - 40px);overflow:auto;padding:50px 18px 20px;grid-template-columns:110px minmax(0,1fr);gap:16px;border:2px solid #b5781f;box-shadow:0 14px 50px #162c3255;}
#product-popover::backdrop{background:rgba(24,40,28,.24)}
#product-popover:not([open]),#product-popover[hidden]{display:none}
#product-popover h2,#product-popover p{display:block;overflow:visible;-webkit-line-clamp:unset;overflow-wrap:anywhere}
#product-popover .popover-picture{height:150px}
@media(max-width:380px){#product-popover{grid-template-columns:90px minmax(0,1fr);gap:12px;padding-left:12px;padding-right:12px}#product-popover .popover-picture{height:130px}}

/* Compact right-side control rail, inside the shop and clear of product targets. */
#scene-stage{background:#dbe5d0}#scene-stage #farm-canvas{width:calc(100% - 76px)}
#scene-stage .scene-controls{position:absolute;right:7px;top:10px;display:flex;flex-direction:column;align-items:stretch;gap:5px;width:62px;margin:0;z-index:6}
#scene-stage .scene-controls button{width:62px;min-width:44px;min-height:44px;padding:5px 3px;font-size:12px;line-height:1.3;overflow-wrap:anywhere;box-shadow:0 1px 3px #243b2220}
#scene-stage .scene-controls #npc-pause{min-height:58px}
#scene-stage .scene-controls #turn-left,#scene-stage .scene-controls #turn-right,#scene-stage .scene-controls #zoom-in,#scene-stage .scene-controls #zoom-out{font-size:23px}
#scene-stage .scene-nav-next{right:79px}

#scene-stage .scene-controls #npc-pause{white-space:pre-line;word-break:keep-all}
#scene-stage #npc-leader{width:calc(100% - 76px)}

/* Keep paging targets away from projected counter produce. */
#scene-stage .scene-nav{top:auto;bottom:12px;transform:none}
