:root{--cream:#f8f5ed;--paper:#fffefa;--ink:#2b342e;--muted:#738075;--forest:#315d46;--forest2:#48755a;--border:#e3e5d9;--gold:#ebbd5b;--peach:#edaa82;--sage:#cad9c4;--red:#ab554a;--shadow:0 15px 40px rgba(47,62,43,.055)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid #98ba9a;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.57}.hidden{display:none!important}
.topbar{height:85px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,4.6vw,82px);border-bottom:1px solid var(--border);background:rgba(255,254,250,.82);gap:24px}.brand{display:flex;align-items:center;gap:13px}.brand-mark{height:46px;width:46px;background:var(--forest);color:#faf3d9;border-radius:13px;display:grid;place-items:center;transform:rotate(-5deg)}.brand-mark svg{width:33px;height:33px;transform:rotate(5deg)}.brand-name{font-size:23px;letter-spacing:-1.5px;font-weight:900;line-height:1}.brand-name span{font-size:12px;color:#b88e39;vertical-align:top;margin-left:3px}.brand-tagline{color:#8b9589;font-size:9px;letter-spacing:2px;font-weight:800;margin-top:6px}.top-status{display:flex;align-items:center;gap:29px}.status-unit{display:flex;flex-direction:column;gap:4px}.status-label,.tiny-label{letter-spacing:1.7px;color:#869187;font-size:10px;font-weight:800}.status-unit strong{font-size:16px;white-space:nowrap}.status-unit.balance strong{color:var(--forest)}.coin{font-family:Georgia,serif;color:#c6983c}.text-button{background:transparent;border:0;color:#647669;padding:8px;font-size:13px;font-weight:700}.text-button:hover{color:var(--forest)}
.main-layout{display:grid;grid-template-columns:minmax(280px,340px) minmax(390px,1fr) minmax(230px,290px);max-width:1740px;gap:clamp(18px,2.3vw,38px);margin:auto;padding:34px clamp(20px,4.6vw,82px) 62px}.left-column,.workshop-column,.town-column{min-width:0}.section-kicker{display:flex;align-items:center;gap:7px;color:#426c50;font-size:10px;font-weight:900;letter-spacing:1.5px;margin-bottom:14px}.kicker-dot,.live-dot,.round-light{display:inline-block;width:7px;height:7px;border-radius:50%;background:#77a77d}.edition{margin-left:auto;color:#a3aaa0}.trend-card{background:var(--paper);border:1px solid var(--border);border-radius:17px;overflow:hidden;padding:0 23px 21px;box-shadow:var(--shadow)}.weather-scene{height:126px;margin:0 -23px 22px;position:relative;display:flex;align-items:center;justify-content:center;background:#d8e4d9;overflow:hidden}.weather-scene:before{content:"";position:absolute;inset:-20px;background-image:radial-gradient(#fff9 1px,transparent 1px);background-size:22px 22px}.weather-hills{position:absolute;bottom:-38px;height:105px;width:115%;border-radius:50% 50% 0 0;background:#b9d4be;left:-10%}.weather-hills:before{content:"";position:absolute;top:8px;right:-14%;width:60%;height:100px;border-radius:50% 50% 0 0;background:#93b99b}#trendEmoji{z-index:1;font-size:65px;text-shadow:0 12px 12px #4d6a5044;transform:rotate(-7deg)}.eyebrow{font-size:10px;color:#a18a65;font-weight:900;letter-spacing:1.5px}.trend-card h1{font-family:Georgia,"Times New Roman",serif;font-size:30px;line-height:1.09;letter-spacing:-.7px;margin:10px 0 12px}.trend-card p{font-size:13px;line-height:1.67;color:#626f65;margin:0}.trend-divider{border-top:1px dashed #dce1d5;margin:20px 0}.trend-prefer>span{display:block;font-size:10px;letter-spacing:1.3px;color:#8c9585;font-weight:850;margin-bottom:11px}.tags{display:flex;gap:7px;flex-wrap:wrap}.tag{background:#edf1e6;color:#536a55;font-size:11px;font-weight:750;padding:7px 10px;border-radius:7px}.tip-strip{display:flex;gap:9px;align-items:flex-start;background:#f8f2df;padding:12px;margin-top:17px;border-radius:10px;font-size:12px;line-height:1.55;color:#6c6246}.tip-icon{color:#bd893c;font-size:14px}.section-panel{padding:26px 0 4px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.panel-heading h2,.panel-heading h3{font-family:Georgia,"Times New Roman",serif;letter-spacing:-.3px;margin:0;font-size:20px}.panel-heading h3{font-size:19px}.subtle{font-size:9px;letter-spacing:1px;font-weight:850;color:#9ca79b;white-space:nowrap}.supporting{font-size:12px;color:#7b8678;line-height:1.55;margin:10px 0 15px}.rival-list{display:flex;flex-direction:column;gap:10px}.rival-item{background:#fffcf5;border:1px solid var(--border);border-radius:11px;padding:12px;display:flex;gap:10px;align-items:center}.rival-portrait{height:37px;width:37px;border-radius:10px;display:flex;justify-content:center;align-items:center;font-size:23px;flex-shrink:0;background:#e9decd}.rival-copy{flex:1;min-width:0}.rival-copy strong{font-size:12px;display:block}.rival-copy small{font-size:10px;color:#7d887e;display:block;margin-top:4px}.rival-chip{font-size:10px;background:#f0ecdf;padding:5px 7px;border-radius:6px;color:#746848;white-space:nowrap}.small-note{color:#959e92;font-size:10px;line-height:1.5}.community-panel{border:1px solid #d8dfcb;border-radius:13px;padding:18px;margin-top:21px;background:#e6eddb}.community-header{font-size:9px;font-weight:900;letter-spacing:1.5px;color:#657960}.leaf-symbol{font-size:16px;margin-right:5px}.community-panel h3{font-size:20px;line-height:1.2;font-family:Georgia,serif;margin:13px 0 8px}.community-panel p{font-size:12px;line-height:1.6;color:#647361;margin:0}.community-total{display:flex;justify-content:space-between;align-items:center;margin:20px 0 12px;padding-top:15px;border-top:1px solid #ccd7c5;font-size:11px;color:#597059}.community-total strong{font-size:19px;color:#294f3b}.sim-flag{font-size:9px;letter-spacing:.7px;color:#899888;font-weight:800;line-height:1.55}
.workshop-topline{display:flex;justify-content:space-between;align-items:center;margin:4px 0 18px}.round-indicator{display:flex;align-items:center;gap:7px;color:#557560;font-size:10px;font-weight:850;letter-spacing:.7px}.workshop-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:21px}.workshop-heading h2,.town-title-row h2{font-family:Georgia,serif;font-size:35px;font-weight:700;letter-spacing:-1.25px;margin:0 0 6px;line-height:1.12}.workshop-heading p{font-size:13px;color:#8a9387;margin:0}.stamp{color:#a8a793;border:2px solid #dbd8c5;border-radius:50%;width:54px;height:54px;font-weight:900;line-height:1.15;font-size:9px;letter-spacing:.8px;display:grid;place-content:center;text-align:center;transform:rotate(14deg);flex-shrink:0}.product-stage{height:332px;position:relative;overflow:hidden;border:1px solid #d9e2d8;border-radius:17px;background:#e1e9db;display:flex;align-items:center;justify-content:center}.product-stage:before{content:"";position:absolute;inset:0;background-image:linear-gradient(90deg,#8fac9313 1px,transparent 1px),linear-gradient(#8fac9313 1px,transparent 1px);background-size:30px 30px;mask-image:linear-gradient(to bottom,#000 20%,transparent 100%)}.product-stage:after{content:"";position:absolute;left:0;right:0;bottom:0;height:65px;background:linear-gradient(transparent,#cfdbc8a1);pointer-events:none}.stage-topline,.stage-bottom{position:absolute;z-index:2;display:flex;align-items:center;justify-content:space-between;left:19px;right:19px}.stage-topline{top:17px}.stage-pill{background:#f9fbf2c9;padding:6px 10px;border-radius:6px;font-size:9px;font-weight:900;letter-spacing:1px;color:#617c65}.stage-count{font-size:10px;color:#7d9381;font-weight:800;letter-spacing:1px}.product-illustration{position:relative;z-index:1;width:84%;height:258px;display:grid;place-items:center}.product-illustration svg{width:100%;height:100%;filter:drop-shadow(0 13px 9px #56755a33)}.stage-bottom{bottom:18px}.stage-bottom>div:first-child{display:flex;flex-direction:column;gap:4px}.preview-label{font-size:9px;color:#79917b;letter-spacing:1.5px;font-weight:900}.stage-bottom strong{font-size:15px;color:#334937}.quality-tag{font-size:10px;font-weight:850;background:#f4f5e9;padding:8px 10px;border-radius:6px;color:#668468}.design-controls{padding-top:9px}.control-section{border-bottom:1px solid #e3e5d9;padding:21px 0}.control-section:last-child{border-bottom:0}.control-title{display:flex;justify-content:space-between;gap:10px;align-items:baseline;margin-bottom:14px}.control-title strong{font-size:13px}.control-title span{font-size:11px;color:#9ba399;text-align:right}.template-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.template-button{border:1px solid #dfe3d6;background:#fffefa;border-radius:10px;padding:12px 5px 10px;display:flex;align-items:center;flex-direction:column;gap:5px;transition:all .13s ease}.template-button:hover,.material-button:hover,.remix-button:hover{border-color:#92b198}.template-button.selected,.material-button.selected,.remix-button.selected{border:1.5px solid #4b8c68;background:#f0f5ed;box-shadow:0 0 0 2px #b7d2bc40}.template-button span:first-child{font-size:24px}.template-button span:last-child{font-size:11px;color:#58685a;font-weight:730}.material-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.material-button{background:#fffefa;border:1px solid #dfe3d6;border-radius:10px;padding:12px;display:flex;align-items:center;justify-content:space-between;text-align:left;gap:8px}.material-name{display:flex;flex-direction:column;gap:4px}.material-name strong{font-size:12px}.material-name small{color:#90998a;font-size:10px}.material-cost{font-size:11px;font-weight:800;color:#4d7756}.color-row{display:flex;flex-wrap:wrap;gap:11px}.color-pick{width:31px;height:31px;border-radius:50%;border:3px solid #fffefa;box-shadow:0 0 0 1px #d5dbcd;position:relative}.color-pick.selected{box-shadow:0 0 0 2px #3b7656}.color-pick.selected:after{content:"✓";position:absolute;inset:0;display:grid;place-items:center;color:white;font-size:13px;text-shadow:0 1px 3px #3338}.remix-options{display:flex;gap:8px;flex-wrap:wrap}.remix-button{border:1px solid #dfe3d6;background:#fffefa;border-radius:9px;padding:9px 11px;text-align:left;display:flex;flex-direction:column;gap:4px;min-width:120px}.remix-button strong{font-size:11px}.remix-button small{font-size:10px;color:#7c887d}.pricing-section{padding-top:23px}.price-quantity{display:grid;grid-template-columns:1fr 148px;gap:25px;margin:18px 0 20px}.field label{font-size:12px;color:#627165;display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:22px;margin-bottom:14px}.field label strong{color:#254e37;font-size:20px}.field input[type=range]{width:100%;accent-color:#467b56;cursor:pointer}.range-caps{display:flex;justify-content:space-between;color:#a3ada2;font-size:10px;margin-top:4px}.stepper{border:1px solid #d8dfd3;background:#fffdfa;border-radius:9px;display:grid;grid-template-columns:36px 1fr 36px;height:43px;overflow:hidden}.stepper button{background:transparent;border:0;color:#52715c;font-size:23px}.stepper button:hover{background:#eef2e9}.stepper input{width:100%;min-width:0;text-align:center;font-weight:800;font-size:16px;color:#345a40;border:0;background:transparent;appearance:textfield}.stepper input::-webkit-outer-spin-button,.stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.cost-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;background:#f0f1e6;border:1px solid #e6e8d8;border-radius:10px;padding:14px;margin-bottom:12px}.cost-strip div{display:flex;flex-direction:column;gap:6px}.cost-strip span:not(.coin){color:#879284;font-size:10px}.cost-strip strong{font-size:16px;color:#394e3a}.budget-alert{min-height:21px;font-size:11px;color:#a55647;margin:7px 0}.budget-alert.good{color:#608365}.main-cta{border:0;background:#315d46;border-radius:11px;padding:17px 18px;color:white;display:flex;justify-content:space-between;align-items:center;width:100%;font-weight:800;font-size:15px;box-shadow:0 7px 0 #25453518;transition:transform .15s,background .15s}.main-cta:hover{background:#234e38;transform:translateY(-1px)}.cta-arrow{font-size:22px;font-weight:400}.main-cta:disabled{background:#84998a;transform:none}
.town-title-row{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:20px;gap:10px}.town-title-row h2{font-size:27px;margin-top:8px}.town-clock{color:#7a8e7e;background:#eaf0e5;border:1px solid #dce7d8;border-radius:8px;padding:7px 9px;font-size:9px;font-weight:900;letter-spacing:.6px;white-space:nowrap}.town-clock span:first-child{font-size:13px}.market-scene{position:relative;height:284px;border:1px solid #dae2d6;border-radius:15px;overflow:hidden;background:#c9e4d2}.town-background{width:100%;height:100%;position:absolute;inset:0}.town-shop-sign{position:absolute;top:17px;left:15px;background:#fff9e7df;border:1px solid #f6eac5;color:#587159;padding:7px 11px;border-radius:8px;font-size:9px;letter-spacing:.7px;font-weight:850}.speech-bubble{position:absolute;right:13px;top:62px;z-index:3;max-width:180px;background:#fffdf8;padding:12px 13px;border-radius:11px;box-shadow:0 7px 16px #33482e21;font-size:12px;line-height:1.4;color:#54604e}.speech-bubble:after{content:"";position:absolute;bottom:-8px;left:27px;border-top:9px solid #fffdf8;border-right:10px solid transparent}.market-scene-footer{position:absolute;bottom:10px;left:12px;display:flex;align-items:center;gap:7px;background:#fafcf1e6;border-radius:6px;padding:7px 9px;z-index:4;font-size:9px;font-weight:850;letter-spacing:.75px;color:#52715b}.shopper-personas{display:flex;flex-direction:column;gap:11px;margin:17px 0 23px}.persona{display:flex;align-items:center;gap:10px}.persona-icon{height:33px;width:33px;display:grid;place-items:center;border-radius:9px;font-size:20px;font-family:Georgia,serif}.persona-icon.bargain{color:#927139;background:#f4e7c6}.persona-icon.trend{color:#aa7855;background:#fae6d6}.persona-icon.luxury{color:#587aa1;background:#e0e9f3}.persona strong{font-size:12px;display:block}.persona small{color:#909b8e;font-size:10px}.activity-section,.collection-section{border-top:1px solid #e2e5d9;padding-top:21px;margin-top:15px}.activity-feed{max-height:340px;overflow:auto;scrollbar-color:#c4d2bf transparent;display:flex;flex-direction:column;gap:8px;margin-top:15px}.feed-placeholder{background:#fffdf6;border:1px dashed #daddd0;border-radius:12px;padding:17px 16px;text-align:center}.feed-placeholder>span{font-size:23px;color:#98ac8f}.feed-placeholder p{color:#889789;font-size:12px;line-height:1.5;margin:8px auto 0;max-width:200px}.feed-entry{display:flex;gap:10px;align-items:flex-start;background:#fffdf8;border:1px solid #ebece2;padding:10px;border-radius:10px;animation:slideIn .23s ease-out}.feed-avatar{height:34px;width:34px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;font-weight:900;color:#5f5246;font-size:11px}.feed-info{min-width:0;flex:1}.feed-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.feed-head strong{font-size:12px}.feed-head span{font-size:10px;font-weight:800}.feed-head .bought{color:#367551}.feed-head .passed{color:#a16f58}.feed-info p{font-size:11px;color:#899589;line-height:1.45;margin:4px 0 0}.collection-section{margin-top:25px}.empty-shelf{color:#9aa398;font-size:12px;line-height:1.5}.design-mini{background:#fffdf8;border:1px solid #e5e8dc;border-radius:10px;padding:10px 11px;margin-top:9px;display:flex;justify-content:space-between;align-items:center;gap:10px}.mini-swatch{width:27px;height:27px;border-radius:8px;flex-shrink:0}.mini-details{flex:1;min-width:0}.mini-details strong{font-size:11px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-details small{font-size:10px;color:#98a196;display:block;margin-top:4px}.mini-money{font-size:11px;font-weight:850;color:#406948}.shelf-disclosure{margin-top:10px}.footer{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--border);padding:21px clamp(20px,4.6vw,82px);font-size:9px;letter-spacing:1.25px;color:#a1a99d;font-weight:850;max-width:1740px;margin:auto}
.results-panel{background:#fffefa;border:1px solid #dfe5d8;border-radius:15px;padding:24px;margin-top:20px;box-shadow:var(--shadow);animation:slideIn .3s ease-out}.results-eyebrow{color:#729079;letter-spacing:1.6px;font-size:10px;font-weight:900}.results-panel h3{font-family:Georgia,serif;font-size:30px;letter-spacing:-.6px;margin:8px 0 9px}.results-panel>p{font-size:13px;color:#758476;line-height:1.65}.result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:20px 0}.result-stat{border:1px solid #e6e8db;background:#f8f9f2;border-radius:10px;padding:14px 10px}.result-stat span{display:block;font-size:10px;color:#829181}.result-stat strong{display:block;font-size:20px;margin-top:7px}.result-stat strong.positive{color:#3d8a5f}.result-stat strong.negative{color:#a45a51}.buyer-breakdown{margin:10px 0 20px}.buyer-breakdown h4{font-size:12px;margin:0 0 9px}.buyer-summary{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.buyer-summary>div{background:#f0f3e9;padding:9px;border-radius:8px;font-size:10px;color:#788776}.buyer-summary strong{display:block;color:#365d42;font-size:14px;margin-top:3px}.result-note{font-size:12px;color:#677766;padding:12px 13px;background:#eaf1e5;border-radius:9px;line-height:1.55;margin-bottom:18px}.final-score{background:#edf4e9;border:1px solid #d6e2d3;padding:18px;border-radius:11px;margin:16px 0}.final-score strong{font-size:36px;color:#2a6d46}.final-score span{display:block;font-size:11px;color:#70816d}.results-actions{display:flex;gap:10px;align-items:center}.results-actions .main-cta{flex:1}.outline-button{border:1px solid #cad7c7;background:transparent;color:#456b4d;border-radius:9px;padding:14px;font-weight:800;font-size:12px}.outline-button:hover{background:#f1f5eb}.modal-layer{position:fixed;inset:0;background:#15261ad1;z-index:20;display:grid;place-items:center;padding:16px}.modal-card{background:#fffefa;max-width:520px;width:100%;border-radius:17px;padding:28px;box-shadow:0 30px 80px #12251766}.modal-card h2{font-family:Georgia,serif;font-size:29px;margin:0 0 10px}.modal-card p{color:#66786b;font-size:13px;line-height:1.7}.modal-card ol{padding-left:20px;line-height:1.75;font-size:13px;color:#65766a}.modal-actions{display:flex;gap:11px;margin-top:24px}.modal-actions button{flex:1}.modal-card .close-modal{border:0;background:#eaf0e5;color:#4c6a55;border-radius:8px;padding:8px 13px;float:right;font-weight:800}
@keyframes bob{0%,100%{translate:0 0}50%{translate:0 -5px}}@keyframes walk{from{translate:-35px 0}to{translate:35px -4px}}@keyframes slideIn{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1320px){.main-layout{grid-template-columns:minmax(245px,290px) minmax(360px,1fr) minmax(215px,255px);gap:18px;padding:25px 24px 42px}.workshop-heading h2{font-size:32px}.town-title-row h2{font-size:25px}.control-title{align-items:flex-start;flex-direction:column;gap:5px}.control-title span{text-align:left}.topbar{padding:0 24px}.footer{padding:22px 24px}}
@media(max-width:1080px){.main-layout{grid-template-columns:minmax(220px,285px) minmax(420px,1fr)}.town-column{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:18px}.town-title-row{grid-column:1/-1;margin-bottom:0}.market-scene{height:285px}.shopper-personas{grid-column:2;grid-row:2;margin:0;align-self:center}.activity-section,.collection-section{margin-top:0}.community-panel{margin-top:21px}}
@media(max-width:720px){.topbar{height:71px;padding:0 15px}.brand-mark{height:37px;width:37px;border-radius:10px}.brand-name{font-size:19px}.brand-tagline{font-size:7px;letter-spacing:1.2px}.top-status{gap:12px}.status-label{font-size:8px}.status-unit strong{font-size:14px}.desktop-inline{display:none}.text-button{font-size:20px;padding:4px}.main-layout{display:flex;flex-direction:column;padding:19px 15px 40px;gap:30px}.left-column{display:grid;grid-template-columns:1fr 1fr;gap:14px}.section-kicker{grid-column:1/-1;margin-bottom:-3px}.trend-card{grid-column:1/-1}.weather-scene{height:96px}.trend-card h1{font-size:28px}.rivals.section-panel{padding:0}.community-panel{margin-top:0}.workshop-topline{margin:0 0 14px}.workshop-heading h2{font-size:32px}.product-stage{height:294px}.product-illustration{height:235px}.town-column{display:flex;flex-direction:column;gap:15px}.town-title-row{margin:0}.shopper-personas{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.persona{flex-direction:column;align-items:flex-start;gap:6px}.persona strong{font-size:10px}.persona small{font-size:9px}.footer{flex-direction:column;align-items:flex-start;gap:8px;padding:18px 15px;font-size:8px}.section-panel .panel-heading{flex-wrap:wrap}.rival-chip{display:none}.rival-item{padding:9px}.rival-portrait{height:29px;width:29px;font-size:18px}.rival-copy strong{font-size:11px}.community-panel{padding:13px}.community-panel h3{font-size:17px}.community-panel p{font-size:11px}}
@media(max-width:420px){.status-unit:first-child{display:none}.left-column{display:flex;flex-direction:column}.community-panel{margin-top:1px}.template-row{gap:5px}.template-button{padding:9px 4px}.template-button span:last-child{font-size:10px}.price-quantity{gap:13px;grid-template-columns:1fr 123px}.cost-strip{gap:5px;padding:11px}.cost-strip strong{font-size:13px}.control-title span{font-size:10px}.stage-bottom{left:12px;right:12px}.quality-tag{font-size:8px}.result-grid{gap:6px}.result-stat{padding:10px 7px}.result-stat strong{font-size:16px}.modal-card{padding:19px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* ---------- Living town ---------- */
.market-scene{height:300px}
.town-background{position:absolute;inset:0;width:100%;height:100%}
.market-scene .town-shop-sign{top:10px;left:10px;z-index:6}
.market-scene .speech-bubble{top:10px;right:10px;left:auto;max-width:58%;font-size:11px;line-height:1.35;padding:7px 10px;border-radius:8px;z-index:6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.market-scene .speech-bubble:after{display:none}
.market-scene-footer{z-index:7}
.skip-button{position:absolute;right:10px;bottom:8px;z-index:7;background:#2f5d46;color:#fff;border:0;border-radius:6px;padding:7px 10px;font:inherit;font-size:10px;font-weight:850;letter-spacing:.5px;cursor:pointer}
.skip-button:hover{background:#244a37}
.stall-row{position:absolute;left:0;right:0;top:24%;height:40%;z-index:1}
.stall{position:absolute;top:0;width:29%;height:100%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center}
.stall-rival0{left:17%;--a1:#597fae;--a2:#eef2f7}.stall-you{left:50%;--a1:#315d46;--a2:#f3ead2}.stall-rival1{left:83%;--a1:#e57d68;--a2:#fbe7c7}
.awning{position:relative;width:108%;height:20%;min-height:18px;border-radius:6px 6px 2px 2px;background:repeating-linear-gradient(90deg,var(--a1) 0 12px,var(--a2) 12px 24px);box-shadow:0 2px 0 #00000014;z-index:1}
.awning:after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:7px;background:radial-gradient(circle at 6px 0,var(--a1) 6px,transparent 6.5px) 0 0/24px 7px repeat-x,radial-gradient(circle at 6px 0,var(--a2) 6px,transparent 6.5px) 12px 0/24px 7px repeat-x}
.stall-body{flex:1;width:94%;background:#fbf3df;border:2px solid #d9c49c;border-top:0;border-radius:0 0 6px 6px;position:relative;display:grid;place-items:center;padding:8px 3px 2px;min-height:0}
.stall-goods{width:92%;height:100%;display:grid;place-items:center}.stall-goods svg{width:100%;height:100%;display:block}
.stall-price{position:absolute;right:-6px;top:6px;background:#fff;border:1px solid #e3d6b8;border-radius:5px;font-size:9px;font-weight:850;padding:2px 5px;color:#5e5a42;z-index:2}
.stall-name{position:absolute;top:-17px;left:50%;transform:translateX(-50%);z-index:2;font-size:8px;letter-spacing:.6px;font-weight:900;color:#4c5f50;background:#fffbefe6;padding:2px 6px;border-radius:4px;white-space:nowrap}
.stall-you .stall-name{background:#315d46;color:#fff}
.stall.flash .stall-body{animation:stallFlash .5s ease-out}
.stall-pop{position:absolute;left:50%;top:48%;font-size:11px;font-weight:900;color:#2f7a4f;background:#fff;border-radius:6px;padding:2px 6px;box-shadow:0 3px 8px #00000022;animation:popUp 1.35s ease-out forwards;z-index:5;white-space:nowrap;pointer-events:none}
.stall-pop.rival{color:#a2563f}.stall-pop.clear{color:#8a6a1f}
.npc-layer{position:absolute;inset:0;z-index:2;pointer-events:none}
.npc{position:absolute;width:0;height:0;transition-property:left,top;transition-timing-function:linear}
.npc-figure{position:absolute;left:-13px;bottom:0;width:26px;height:46px;display:block;transform:scale(var(--depth,1));transform-origin:50% 100%}
.npc.face-left .npc-figure{transform:scale(calc(-1 * var(--depth,1)),var(--depth,1))}
.npc-figure:before{content:"";position:absolute;left:2px;bottom:-3px;width:22px;height:6px;border-radius:50%;background:#45573d33}
.npc-head{position:absolute;top:0;left:4px;width:18px;height:18px;border-radius:50%;z-index:3;box-shadow:inset -2px -2px 0 #0000000f}
.npc-hair{position:absolute;top:-1px;left:-1px;width:20px;height:8px;border-radius:10px 10px 3px 6px;background:var(--hair);z-index:1}
.npc-hair-back{position:absolute;z-index:1;background:var(--hair)}
.hair-long .npc-hair-back{top:3px;left:3px;width:20px;height:21px;border-radius:9px 9px 5px 5px}
.hair-bun .npc-hair-back{top:-5px;left:9px;width:9px;height:9px;border-radius:50%}
.hair-puffs .npc-hair-back{top:0;left:0;width:9px;height:9px;border-radius:50%;box-shadow:17px 0 0 var(--hair)}
.hair-curly .npc-hair-back{top:-3px;left:1px;width:24px;height:17px;border-radius:50%}
.hair-curly .npc-hair{height:6px;border-radius:9px 9px 4px 4px}
.npc-head .eye{position:absolute;top:9px;width:2.6px;height:3.2px;border-radius:50%;background:#2d2a28;z-index:2;animation:blink 4.2s infinite;animation-delay:var(--blink,0s)}
.npc-head .eye.l{left:5px}.npc-head .eye.r{right:5px}
.npc-head .cheek{position:absolute;top:12px;width:3.5px;height:2px;border-radius:50%;background:#f0786e66;z-index:2}
.npc-head .cheek.l{left:2.5px}.npc-head .cheek.r{right:2.5px}
.npc-head .mouth{position:absolute;top:12.5px;left:6.5px;width:5px;height:2.4px;border-bottom:1.5px solid #6b3a2e;border-radius:0 0 5px 5px;z-index:2;transition:all .15s}
.npc.happy .eye{height:2.2px;width:3.6px;background:transparent;border-top:1.6px solid #2d2a28;border-radius:50% 50% 0 0;animation:none;top:9px}
.npc.happy .eye.l{left:4.5px}.npc.happy .eye.r{right:4.5px}
.npc.happy .mouth{left:6px;width:6px;height:3.6px;top:12px;border:0;background:#8a3d30;border-radius:0 0 6px 6px}
.npc.happy .cheek{background:#f0786e99}
.npc.sad .mouth{top:13.5px;border-bottom:0;border-top:1.5px solid #6b3a2e;border-radius:5px 5px 0 0}
.npc.sad .eye{height:2.4px;top:9.5px}
.npc-body{position:absolute;top:16px;left:6px;width:14px;height:17px;border-radius:7px 7px 4px 4px;z-index:2}
.npc-arms{position:absolute;top:17px;left:3px;width:20px;height:12px;z-index:1}
.npc-arms i{position:absolute;top:0;width:4px;height:12px;border-radius:2px;transform-origin:50% 1px;background:var(--sleeve,#c9a06a)}
.npc-arms i:first-child{left:0}.npc-arms i:last-child{right:0}
.npc-legs{position:absolute;top:32px;left:7px;width:12px;height:13px;z-index:1}
.npc-legs i{position:absolute;top:0;width:4px;height:13px;border-radius:2px;background:#4d4b52;transform-origin:50% 0}
.npc-legs i:first-child{left:1px}.npc-legs i:last-child{right:1px}
.npc-bargain{--sleeve:#c48f38}.npc-bargain .npc-body{background:#dca448}.npc-bargain .npc-body:after{content:"";position:absolute;left:4px;top:5px;width:6px;height:6px;border-radius:50%;background:#fff1c6}
.npc-trend{--sleeve:#9479aa}.npc-trend .npc-body{background:#ab92bf}
.npc-trend .npc-head:before{content:"";position:absolute;top:-3px;left:-1px;width:20px;height:8px;border-radius:10px 10px 0 0;background:#e57d68;z-index:3}
.npc-trend .npc-head:after{content:"";position:absolute;top:3px;left:12px;width:10px;height:3px;border-radius:2px;background:#d0624d;z-index:3}
.npc-trend.hair-bun .npc-hair-back,.npc-trend.hair-curly .npc-hair-back{top:4px}
.npc-luxury{--sleeve:#46699a}.npc-luxury .npc-body{background:#597fae}.npc-luxury .npc-body:after{content:"";position:absolute;left:5px;top:0;width:4px;height:7px;background:#f4efe2;clip-path:polygon(0 0,100% 0,50% 100%)}
.npc-luxury .npc-head:before{content:"";position:absolute;top:-10px;left:3px;width:12px;height:10px;border-radius:2px 2px 0 0;background:#2e3a4f;box-shadow:inset 0 -3px 0 #c9a54a;z-index:3}
.npc-luxury .npc-head:after{content:"";position:absolute;top:-1px;left:-2px;width:22px;height:3px;border-radius:2px;background:#2e3a4f;z-index:3}
.npc-luxury.hair-bun .npc-hair-back{display:none}
.npc-bag{display:none;position:absolute;left:21px;top:25px;width:10px;height:11px;background:var(--bag,#ccc);border-radius:2px 2px 3px 3px;border:1.5px solid #00000033;z-index:4}
.npc-bag:before{content:"";position:absolute;top:-5px;left:1.5px;width:4px;height:4px;border:1.5px solid #00000044;border-bottom:0;border-radius:4px 4px 0 0}
.npc.has-bag .npc-bag{display:block}
.npc.walking .npc-head,.npc.walking .npc-body,.npc.walking .npc-arms,.npc.walking .npc-hair-back{animation:npcBob .32s ease-in-out infinite alternate}
.npc.walking .npc-legs i:first-child,.npc.walking .npc-arms i:last-child{animation:legSwing .32s ease-in-out infinite alternate}
.npc.walking .npc-legs i:last-child,.npc.walking .npc-arms i:first-child{animation:legSwing .32s ease-in-out infinite alternate-reverse}
.npc.walking .eye{animation:blink 4.2s infinite;animation-delay:var(--blink,0s)}
.npc.happy:not(.walking) .npc-figure{animation:hop .45s ease-out 1}
.npc.ambient{opacity:.85}
.npc-bubble{position:absolute;bottom:calc(58px * var(--depth,1));left:0;transform:translateX(-50%) scale(.6);opacity:0;transition:opacity .18s,transform .18s;background:#fffdf8;border-radius:8px;padding:3px 7px;font-size:10px;font-weight:800;white-space:nowrap;box-shadow:0 3px 8px #2d3b2a22;color:#55604f;z-index:4}
.npc-bubble.show{opacity:1;transform:translateX(-50%) scale(1)}
.npc-bubble.yes{color:#2f7a4f;background:#eaf6ec}.npc-bubble.no{color:#a2563f;background:#fbeee8}.npc-bubble.rival{color:#3e5f8e;background:#e8eff8}
@keyframes blink{0%,94%,100%{transform:scaleY(1)}96%{transform:scaleY(.1)}}
@keyframes hop{0%,100%{translate:0 0}40%{translate:0 -5px}}
@keyframes npcBob{from{translate:0 0}to{translate:0 -2px}}
@keyframes legSwing{from{rotate:-24deg}to{rotate:24deg}}
@keyframes popUp{0%{opacity:0;transform:translate(-50%,6px)}15%{opacity:1}100%{opacity:0;transform:translate(-50%,-26px)}}
@keyframes stallFlash{0%{background:#fff8d8}100%{background:#fbf3df}}
/* Trend check under the workbench */
.trend-check{display:flex;gap:14px;align-items:center;flex-wrap:wrap;background:var(--paper);border:1px solid var(--border);border-radius:12px;padding:11px 13px;margin-top:12px}
.trend-meter{display:grid;grid-template-columns:1fr auto;gap:5px 10px;align-items:center;min-width:140px}
.trend-meter>span{font-size:9px;letter-spacing:1px;font-weight:900;color:#7d8a7e}.trend-meter strong{font-size:16px;color:var(--forest)}.trend-meter .meter{grid-column:1/-1}
.meter{height:6px;background:#e9ecdf;border-radius:4px;overflow:hidden}.meter span{display:block;height:100%;background:#48755a;border-radius:4px;transition:width .3s}.meter.warn span{background:#d98b5f}
.trend-items{display:flex;gap:6px;flex-wrap:wrap;flex:1}
.trend-item{font-size:10px;border-radius:7px;padding:5px 8px;display:flex;flex-direction:column;gap:2px}.trend-item b{font-weight:850}.trend-item small{font-size:9px;opacity:.8}
.trend-item.ok{background:#e6f2e6;color:#2f6b47}.trend-item.miss{background:#f6ece6;color:#9c5d47}
/* Rivals */
.rival-thumb{width:50px;height:34px;flex-shrink:0;background:#f4efe2;border-radius:8px;display:grid;place-items:center;padding:2px}.rival-thumb svg{width:100%;height:100%}
.rival-item.overlap{border-color:#e7b89b;background:#fff6ef}
.clash{display:inline-block;margin-top:5px;font-size:9px;font-weight:850;color:#a2563f;background:#fbe9df;border-radius:4px;padding:2px 6px}.clash.twin{background:#a2563f;color:#fff}
.standings{margin-top:12px;border-top:1px solid var(--border);padding-top:12px}
.standings-title{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;font-weight:900;color:#8a968a;margin-bottom:4px}
.standing-row{display:flex;gap:8px;align-items:center;margin-top:8px}
.standing-rank{width:18px;height:18px;border-radius:50%;background:#efeadb;font-size:10px;font-weight:900;display:grid;place-items:center;color:#6a6550;flex-shrink:0}.standing-row.you .standing-rank{background:var(--forest);color:#fff}
.standing-main{flex:1;min-width:0}.standing-name{display:flex;justify-content:space-between;gap:6px;font-size:11px}.standing-name span{color:#87928a;font-size:10px;white-space:nowrap}
.standing-bar{height:4px;background:#ecefe4;border-radius:3px;margin-top:4px;overflow:hidden}.standing-bar span{display:block;height:100%;background:#9fb59d;transition:width .4s}.standing-row.you .standing-bar span{background:var(--forest)}
.feed-head .rival{color:#3e5f8e}
/* Why shoppers decided */
.why-panel{border:1px solid #e6e8db;background:#fbfcf6;border-radius:12px;padding:16px;margin:0 0 16px}
.why-panel h4{font-size:13px;margin:0 0 12px}
.why-row{display:grid;grid-template-columns:minmax(0,1fr) 38%;gap:12px;align-items:center;margin-bottom:11px}
.why-label strong{display:block;font-size:12px}.why-label span{font-size:11px;color:#7d8a7e}
.why-reasons{margin-top:14px}.why-reasons>span{font-size:9px;letter-spacing:1px;font-weight:900;color:#8a968a}
.why-reasons div{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}.reason-chip{font-size:11px;background:#f4ede3;border-radius:6px;padding:4px 8px;color:#6c5a48}
.why-rivals{font-size:12px;color:#6f7d70;margin:12px 0 0;line-height:1.5}
@media(max-width:720px){.market-scene{height:280px}.stall-name{font-size:7px;padding:2px 4px}.why-row{grid-template-columns:1fr}.trend-meter{min-width:100%}}

/* ---------- Live moves & town events ---------- */
.town-stage{display:flex;flex-direction:column;gap:10px}
.live-actions{background:var(--paper);border:1px solid var(--border);border-radius:13px;padding:11px;box-shadow:var(--shadow)}
.live-actions-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:8px}
.live-actions-head>span{font-size:9px;letter-spacing:1.2px;font-weight:900;color:var(--forest)}
.live-actions-head small{font-size:11px;color:#7d6a4f;text-align:right;line-height:1.35}
.move-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.move-button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;background:#fffcf3;border:1.5px solid #e2dcc8;border-radius:10px;padding:8px;font:inherit;color:var(--ink);cursor:pointer;transition:transform .12s,border-color .12s,background .12s}
.move-button:hover:not(:disabled){border-color:var(--forest2);transform:translateY(-1px)}
.move-button strong{display:block;font-size:12px}.move-button small{display:block;font-size:10px;color:#7d887e;line-height:1.3;margin-top:2px}
.move-icon{font-size:18px;line-height:1}
.move-button.active{background:#e9f4ea;border-color:#48755a;animation:pulseMove 1.2s ease-in-out infinite alternate}
.move-button.used,.move-button:disabled{opacity:.55;cursor:default}
.move-button.active:disabled{opacity:1}
@keyframes pulseMove{from{box-shadow:0 0 0 0 #48755a00}to{box-shadow:0 0 0 3px #48755a33}}
.event-banner{position:absolute;left:50%;top:44%;transform:translate(-50%,-50%);z-index:8;background:#fffdf6f2;border:2px solid #ebbd5b;border-radius:12px;padding:10px 14px;text-align:center;box-shadow:0 10px 26px #2d3b2a33;max-width:82%;pointer-events:none}
.event-banner strong{display:block;font-family:Georgia,serif;font-size:16px;color:var(--ink)}.event-banner span{display:block;font-size:11px;color:#6f7d70;margin-top:3px}
.event-banner.show{animation:bannerIn 2.8s ease-out forwards}
@keyframes bannerIn{0%{opacity:0;transform:translate(-50%,-40%) scale(.9)}10%,80%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-56%) scale(.98)}}
.rain-layer{position:absolute;inset:0;z-index:5;pointer-events:none;opacity:0;transition:opacity .6s;background:linear-gradient(#5d7a8f22,#5d7a8f22),repeating-linear-gradient(105deg,transparent 0 14px,#ffffff66 14px 15px,transparent 15px 31px);background-size:100% 100%,60px 60px;animation:rainFall .5s linear infinite}
.market-scene.raining .rain-layer{opacity:1}
@keyframes rainFall{from{background-position:0 0,0 0}to{background-position:0 0,-16px 60px}}
.market-scene.heatwave .town-background{filter:saturate(1.25) sepia(.25) brightness(1.05)}
.stall.on-sale .stall-price{background:#c4523f;color:#fff;border-color:#c4523f}
.stall.on-sale .stall-price:before{content:"SALE ";font-size:7px;letter-spacing:.5px}
.stall.hyped .awning{animation:hypeShake .4s ease-in-out infinite alternate}
.stall.hyped:after{content:"♪ ♫";position:absolute;top:-34px;right:6%;font-size:13px;color:#315d46;animation:npcBob .4s ease-in-out infinite alternate}
@keyframes hypeShake{from{rotate:-1deg}to{rotate:1deg}}
.feed-notice{background:#fff6dc;border-color:#f0dca4}.feed-notice .feed-head strong{font-size:12px}
.moves-panel{border:1px solid #f0dca4;background:#fffaeb;border-radius:12px;padding:14px 16px;margin:0 0 14px}
.moves-panel h4{font-size:13px;margin:0 0 8px}.moves-panel ul{margin:0;padding-left:18px}.moves-panel li{font-size:12px;color:#6c6450;line-height:1.5;margin-top:4px}.moves-panel b{color:var(--ink)}
@media(max-width:420px){.move-button{padding:7px 6px}.move-button small{font-size:9px}.live-actions-head{flex-direction:column;gap:3px}.live-actions-head small{text-align:left}}

/* ---------- Town memory & copycats ---------- */
.memory-section{border-top:1px solid #e2e5d9;padding-top:21px;margin-top:15px}
.memory-stats{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 4px}.memory-stats span{font-size:10px;font-weight:800;background:#f1f3ea;color:#5d6b5f;border-radius:6px;padding:4px 7px}
.memory-stats .fan{background:#fbe6e3;color:#b04a3f}.memory-stats .wary{background:#f4ede3;color:#8a6a4a}.memory-stats .rival{background:#e8eff8;color:#3e5f8e}
.memory-row{display:flex;gap:9px;align-items:center;margin-top:8px;background:#fffdf8;border:1px solid #ebece2;border-radius:10px;padding:7px 9px}
.memory-row .feed-avatar{height:28px;width:28px;font-size:10px}
.memory-row strong{display:block;font-size:11px}.memory-row strong small{font-weight:400;color:#a4aea3}.memory-row span{font-size:10px;color:#7d887e}
.memory-row.fan{border-color:#f2c9c2;background:#fff7f5}.memory-row.fan span{color:#b04a3f}.memory-row.wary span{color:#8a6a4a}.memory-row.rival span{color:#3e5f8e}
.feed-info p.memo{color:#6c5a48;font-style:italic;margin-top:4px}
.npc[data-memo] .npc-figure:after{position:absolute;top:-17px;left:50%;transform:translateX(-50%);font-size:10px;line-height:1;font-weight:900}
.npc[data-memo=fan] .npc-figure:after{content:"♥";color:#d6584a}
.npc[data-memo=wary] .npc-figure:after{content:"?";color:#8a6a4a}
.npc.face-left[data-memo] .npc-figure:after{transform:translateX(-50%) scaleX(-1)}
.clash.copy{background:#e8eff8;color:#3e5f8e}
.stall.copycat .stall-body:after{content:"COPY";position:absolute;left:-5px;top:6px;background:#3e5f8e;color:#fff;font-size:7px;font-weight:900;letter-spacing:.6px;padding:2px 4px;border-radius:3px;rotate:-8deg}

.text-button.armed{background:#c4523f;color:#fff;border-radius:6px}

/* ---------- Open on the town square; guide ---------- */
.town-column{order:-1}
@media(min-width:1081px){.town-column{grid-column:1;grid-row:1}.workshop-column{grid-column:2;grid-row:1}.left-column{grid-column:3;grid-row:1}}
@media(max-width:1080px) and (min-width:721px){.town-column{grid-column:1/-1;grid-row:1}.left-column{grid-column:1;grid-row:2}.workshop-column{grid-column:2;grid-row:2}}
@media(max-width:720px){
 .town-column{display:contents}
 .town-title-row,.town-stage,.shopper-personas{order:-1}
 .activity-section,.memory-section,.collection-section{order:5;margin-top:0}
}
.guide-button{display:inline-flex;align-items:center;gap:6px;background:var(--forest);color:#fff;border:0;border-radius:999px;padding:8px 14px;font:inherit;font-size:13px;font-weight:800;cursor:pointer;box-shadow:0 4px 12px #315d4633}
.guide-button:hover{background:#244a37}
.guide-button.nudge{animation:guideNudge 1.4s ease-in-out infinite}
@keyframes guideNudge{0%,100%{box-shadow:0 0 0 0 #ebbd5b00}50%{box-shadow:0 0 0 6px #ebbd5b88}}
@media(max-width:720px){.guide-button{font-size:12px;padding:7px 11px}}
.guide-card{max-width:560px}
.guide-card h2{margin-top:6px}
.guide-visual{background:#f6f3e8;border:1px solid #ebe5d2;border-radius:13px;padding:16px;margin:14px 0 6px;min-height:150px;display:grid;place-items:center}
.guide-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:16px}
.guide-nav .outline-button:disabled{opacity:.35}
.guide-nav .main-cta{width:auto;padding:12px 18px;gap:10px}
.guide-dots{display:flex;gap:6px}.guide-dot{width:8px;height:8px;border-radius:50%;border:0;background:#d6dccf;padding:0;cursor:pointer}.guide-dot.on{background:var(--forest);width:20px;border-radius:5px}
.guide-npc{position:relative;display:block;width:26px;height:46px;margin:0 auto}
.guide-npc .npc-figure{left:0}
.guide-npc-wrap{height:62px;display:flex;align-items:flex-end;justify-content:center;transform:scale(1.35);transform-origin:50% 100%;margin-bottom:6px}
.guide-personas{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;width:100%;text-align:center}
.guide-persona strong{display:block;font-size:12px;margin-top:6px}.guide-persona small{display:block;font-size:10px;color:#7d887e;line-height:1.35;margin-top:3px}
.guide-trend{display:flex;flex-wrap:wrap;gap:7px;justify-content:center;width:100%}.guide-trend .trend-meter{width:100%;margin-top:8px}
.guide-products{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;width:100%;text-align:center}.guide-products span{display:block;background:#fff;border-radius:9px;padding:4px}.guide-products svg{width:100%;height:auto;display:block}.guide-products small{font-size:10px;font-weight:800;color:#6c7a6e}
.guide-moves{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;width:100%}.guide-moves div{background:#fff;border:1px solid #e2dcc8;border-radius:10px;padding:9px}.guide-moves b{font-size:18px;display:block}.guide-moves strong{display:block;font-size:12px;margin-top:4px}.guide-moves small{font-size:10px;color:#7d887e;line-height:1.3;display:block;margin-top:2px}
.guide-memory{display:flex;flex-direction:column;gap:12px;align-items:center;width:100%}
.guide-memory .guide-npc-wrap{flex-direction:row;align-items:flex-end;gap:16px;transform:none;height:auto}
.guide-memory .guide-npc{transform:scale(1.35);transform-origin:50% 100%}
.guide-memory .fan .guide-npc .npc-figure:after{content:"♥";position:absolute;top:-17px;left:50%;transform:translateX(-50%);font-size:10px;color:#d6584a}
.guide-memory .guide-npc-wrap>span:not(.npc){background:#fff;border-radius:10px;padding:8px 11px;font-size:12px;font-style:italic;color:#6c5a48;box-shadow:0 3px 10px #0000000f}
.guide-copy{font-size:12px;color:#5d6b5f;text-align:center;line-height:1.6}.copy-tag{background:#3e5f8e;color:#fff;font-size:9px;font-weight:900;letter-spacing:.6px;padding:2px 5px;border-radius:3px;margin-right:4px}
.guide-standings{width:100%;display:flex;flex-direction:column;gap:6px}.guide-standings div{display:flex;align-items:center;gap:9px;background:#fff;border-radius:9px;padding:8px 10px;font-size:12px}.guide-standings div b{margin-left:auto}.guide-standings span{width:18px;height:18px;border-radius:50%;background:#efeadb;display:grid;place-items:center;font-size:10px;font-weight:900}.guide-standings .you span{background:var(--forest);color:#fff}
.guide-fineprint{font-size:10px!important;color:#98a196!important;margin:8px 0 0!important;line-height:1.4!important}
@media(max-width:420px){.guide-card{padding:20px}.guide-card h2{font-size:24px}.guide-products{grid-template-columns:repeat(2,1fr)}.guide-nav .outline-button{padding:10px}}

/* ---------- Upgrades, goals, verdict, thoughts, token ---------- */
.upgrade-panel{background:var(--paper);border:1px solid var(--border);border-radius:14px;padding:14px;margin-top:12px}
.upgrade-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin-top:10px}
.upgrade-card{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;background:#fffcf3;border:1.5px solid #e2dcc8;border-radius:11px;padding:10px;font:inherit;color:var(--ink);cursor:pointer;transition:transform .12s,border-color .12s}
.upgrade-card:hover:not(:disabled){border-color:var(--forest2);transform:translateY(-1px)}
.upgrade-card:disabled{cursor:default;opacity:.55}.upgrade-card.owned{opacity:1;background:#e9f4ea;border-color:#9fc3a7}
.upgrade-icon{font-size:20px}.upgrade-card strong{font-size:12px}.upgrade-card small{font-size:10px;color:#7d887e;line-height:1.35;flex:1}.upgrade-card b{font-size:11px;color:var(--forest);margin-top:4px}
.forecast{margin-top:12px;background:#eef3fa;border:1px dashed #a9bfdc;border-radius:10px;padding:10px 12px}
.forecast span{display:block;font-size:9px;letter-spacing:1px;font-weight:900;color:#3e5f8e}.forecast strong{display:block;font-size:14px;margin-top:4px}.forecast small{font-size:11px;color:#6c7a8e}
.season-goals{margin-top:14px;border-top:1px solid var(--border);padding-top:12px}
.goal-row{display:grid;grid-template-columns:16px 1fr auto;gap:7px;align-items:center;margin-top:7px;font-size:11px}
.goal-row>span{color:#c9b98f;font-size:13px}.goal-row.ok>span{color:#d4a640}.goal-row small{color:#87928a;font-size:10px;white-space:nowrap}.goal-row.ok strong{color:var(--forest)}
.verdict{text-align:center;background:linear-gradient(#fff9e8,#fffdf6);border:2px solid #ebbd5b;border-radius:16px;padding:20px 16px;margin:6px 0 14px}
.verdict-icon{font-size:40px;display:block}.verdict-stars{font-size:26px;letter-spacing:4px;color:#d4a640;margin-top:4px}
.verdict h4{font-family:Georgia,serif;font-size:24px;margin:6px 0 12px}
.verdict-goals{display:flex;flex-direction:column;gap:5px;max-width:340px;margin:auto;text-align:left}.verdict-goals div{font-size:12px;color:#8a8270}.verdict-goals div.ok{color:var(--forest);font-weight:700}.verdict-goals small{float:right;font-weight:400;color:#8a968a}
.npc-bubble.think{color:#5d5a4f;background:#fff;font-weight:600;font-style:italic;border:1.5px dashed #cfc6ae}
.clash.undercut{background:#fbe2dc;color:#a2463a;margin-right:4px}
.token-panel{background:#fffdf6;border:1px solid #d9e4cf;border-radius:11px;padding:11px;margin-top:12px}
.token-panel.burning{animation:burnGlow 1.2s ease-out}
@keyframes burnGlow{0%{box-shadow:0 0 0 0 #e5885488;background:#fff1e3}100%{box-shadow:0 0 0 10px #e5885400;background:#fffdf6}}
.token-head{display:flex;align-items:baseline;gap:8px}.token-head span{font-size:9px;letter-spacing:1px;font-weight:900;color:#6b7f6c}.token-head strong{font-size:14px;margin-left:auto}
.token-head em{font-style:normal;font-size:11px;font-weight:800}.token-head em.up{color:#3d8a5f}.token-head em.down{color:#a45a51}
.token-spark{width:100%;height:34px;display:block;margin:6px 0}
.token-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}.token-stats div{background:#f4f7ee;border-radius:8px;padding:7px 8px}
.token-stats span{display:block;font-size:10px;color:#6f7d70}.token-stats b{display:block;font-size:14px;margin-top:2px}.token-stats small{font-size:9px;color:#98a196}
.token-note{font-size:11px!important;line-height:1.5!important;margin:8px 0 0!important}
.npc.speaking{z-index:900!important}
