:root{font-family:DM Sans,sans-serif;color:#19312c;background:#dce8d9;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0}.city{position:relative;min-height:100svh;overflow:hidden;background:#b8d7db}#world{position:absolute;inset:0}#world canvas{width:100%;height:100%;display:block}.topbar{position:absolute;z-index:2;left:0;right:0;top:0;padding:23px 34px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(#f6f7eeef,transparent);pointer-events:none}.brand{display:flex;align-items:center;gap:11px}.brand strong{font-family:Manrope,sans-serif;letter-spacing:.1em;font-size:12px;display:block}.brand small{color:#67756a;font-size:11px}.mark{display:grid;place-items:center;width:34px;height:34px;background:#294e40;color:#f8f4df;border-radius:50%;font-size:23px}.demo-pill{font-size:10px;font-weight:700;letter-spacing:.12em;border:1px solid #869a78;background:#f8f7ecbd;border-radius:20px;padding:8px 12px;color:#405844}.welcome{position:absolute;z-index:1;left:5.2vw;top:19%;max-width:370px;pointer-events:none}.eyebrow,.profile-label{font-size:9px;letter-spacing:.2em;font-weight:700;color:#73805d}.welcome h1{font:700 clamp(36px,4.2vw,58px)/1.04 Manrope,sans-serif;letter-spacing:-.055em;margin:13px 0;color:#233d33}.welcome p{font-size:13px;line-height:1.65;color:#43594a;max-width:320px}.search-wrap{position:absolute;z-index:3;left:5.2vw;top:52%;width:min(340px,89vw)}.search-wrap>label{display:block;font-size:11px;font-weight:700;margin:0 0 8px 4px;color:#344c3e}.searchbox{height:48px;background:#fbfaf1f0;border:1px solid #d8ddc8;border-radius:9px;display:flex;align-items:center;padding:0 13px;box-shadow:0 8px 24px #304b3012}.searchbox span{font-size:23px;color:#73805d}.searchbox input{border:0;outline:0;background:transparent;padding:10px;width:100%;font:13px DM Sans;color:#233d33}.searchbox input::placeholder{color:#889286}#search-results{margin-top:7px;border-radius:10px;overflow:hidden;box-shadow:0 12px 30px #304b3020}.result{border:0;width:100%;display:flex;align-items:center;gap:10px;padding:10px 12px;background:#fbfaf1;color:#233d33;text-align:left;cursor:pointer}.result+.result{border-top:1px solid #e9eadf}.result:hover{background:#f0f2e5}.result b{font-size:11px;display:block}.result small{font-size:10px;color:#788273}.avatar{width:30px;height:30px;border-radius:50%;background:#dce7d1;display:grid;place-items:center;font-weight:700}.arrow{margin-left:auto}.no-result{padding:14px;background:#fbfaf1;font-size:12px}.city-stats{position:absolute;right:5vw;bottom:12%;z-index:1;display:flex;gap:8px}.city-stats span{background:#faf9eff0;border:1px solid #e2e1d1;border-radius:7px;padding:10px 13px;font-size:11px;color:#596c58}.city-stats b{color:#294e40}.hint{position:absolute;z-index:1;bottom:28px;left:50%;transform:translate(-50%);font-size:8px;letter-spacing:.16em;color:#4e655b;white-space:nowrap;pointer-events:none}footer{position:absolute;z-index:1;bottom:12px;right:18px;font-size:9px;color:#506355;background:#edf0deaa;padding:4px 7px;border-radius:4px;pointer-events:none}#profile-card{position:absolute;z-index:4;right:5vw;top:22%;width:250px;border:1px solid #e3e5d8;border-radius:14px;background:#fbfaf3f5;padding:20px;box-shadow:0 20px 55px #243f3525}#profile-card[hidden]{display:none}.close{position:absolute;right:12px;top:9px;border:0;background:none;font-size:23px;color:#738078;cursor:pointer}.profile-avatar{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#e4ead7;color:#355840;font-weight:700;font-size:20px;margin-bottom:13px}.profile-label{font-size:8px}.profile-card h2,#profile-card h2{font:700 18px Manrope;margin:5px 0}.profile-card p,#profile-card p{font-size:12px;color:#788273;margin:0 0 17px}.profile-meta{display:grid;grid-template-columns:1fr auto;gap:10px 12px;padding:13px 0;border-top:1px solid #e7e8dd;border-bottom:1px solid #e7e8dd;font-size:10px;color:#829082}.profile-meta b{color:#405746}.visit{margin-top:14px;width:100%;border:0;border-radius:7px;background:#294e40;color:#fff9e9;padding:12px;font:600 11px DM Sans;cursor:pointer}.visit span{float:right}.demo-note{text-align:center;color:#899286;font-size:9px;margin-top:11px}@media(max-width:700px){.topbar{padding:16px}.welcome{top:16%;left:6%;max-width:290px}.welcome h1{font-size:38px}.welcome p{font-size:11px;max-width:255px}.search-wrap{left:6%;top:auto;bottom:22%;width:88%}.city-stats{right:6%;bottom:10%}#profile-card{right:5%;top:auto;bottom:26%;width:min(250px,90vw)}footer{left:10px;right:auto;bottom:8px;font-size:8px}.hint{bottom:45px}}.searchbox:focus-within{outline:3px solid #89a976;outline-offset:2px}.result:focus-visible,.visit:focus-visible,.close:focus-visible,.admin-page button:focus-visible,.admin-page input:focus-visible,.admin-page a:focus-visible{outline:3px solid #8aa975;outline-offset:3px}@media(prefers-reduced-motion:reduce){.arrival-toast{animation:none}}:root{font-family:Aptos,Segoe UI,system-ui,sans-serif;color:#334a3d}.brand strong,.welcome h1,.profile-card h2,#profile-card h2{font-family:Aptos Display,Segoe UI,system-ui,sans-serif}.welcome{padding:22px 24px 20px;border:1px solid #f7f5e6;border-radius:24px;background:#f9f8eff0;box-shadow:0 18px 48px #30473420;backdrop-filter:blur(8px)}.welcome h1{color:#355445;font-weight:720}.welcome p{color:#5f7264}.search-wrap>label{margin-left:5px}.searchbox{border-radius:15px;background:#fbfaf4f5;box-shadow:0 10px 26px #30473416}.result{padding:12px;border-radius:0}.result:first-child{border-radius:13px 13px 0 0}.result:last-child{border-radius:0 0 13px 13px}.city-stats span{border-radius:15px;padding:12px 16px;background:#faf9f1f2;box-shadow:0 8px 22px #30473412}.hint{border-radius:20px;padding:9px 14px;background:#f8f6e8df;color:#607265;letter-spacing:.08em}#profile-card{border-radius:23px;box-shadow:0 22px 55px #2e473523}.visit,.admin-login form button,.stack-form button,.sync-button{border-radius:13px;background:#3a6550;transition:background-color .18s ease,transform .18s ease}.visit:hover,.admin-login form button:hover,.stack-form button:hover,.sync-button:not(:disabled):hover{background:#2d5743;transform:translateY(-1px)}.demo-pill{border-radius:24px;background:#fbfaf0f0;color:#56714f}footer{border-radius:12px;padding:7px 11px;background:#f6f5e9e8}.result:focus-visible,.visit:focus-visible,.close:focus-visible{outline-color:#748f68}@media(max-width:700px){.welcome{padding:17px 18px;border-radius:20px}.search-wrap{bottom:20%}.city-stats{bottom:9%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}#profile-card{max-height:76vh;overflow-y:auto}.profile-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}.resident-traits{margin-top:14px;padding:12px;border-radius:14px;background:#f0f2e7}.resident-traits h3,.profile-comments h3{margin:0 0 10px;color:#365445;font-size:12px}.resident-traits>div{display:grid;grid-template-columns:1fr auto;align-items:center;gap:9px;margin:8px 0;font-size:10px;color:#758170}.resident-traits b{color:#52644f;font-weight:600}.resident-traits small{display:block;margin-top:11px;color:#839080;font-size:9px;line-height:1.5}.energy-row{grid-template-columns:55px minmax(40px,1fr) auto!important}.energy-meter{height:9px;border-radius:9px;background:#d8dfcd;overflow:hidden}.energy-meter i{display:block;width:0;height:100%;background:#88a86e}.profile-comments{margin-top:14px;padding-top:12px;border-top:1px solid #e4e8db}.profile-comments h3{display:flex;justify-content:space-between}.profile-comments h3 span{color:#788876}.profile-comments>p{font-size:10px;color:#7d897b;line-height:1.5}.profile-comments ul{list-style:none;margin:0;padding:0;max-height:170px;overflow:auto}.profile-comments li{padding:8px 0;border-top:1px solid #e8eadf}.profile-comments li p{margin:0 0 4px;color:#475d4c;font-size:11px;line-height:1.45;overflow-wrap:anywhere}.profile-comments time{color:#8c9688;font-size:9px}.welcome{pointer-events:auto}.intro-dismiss,.intro-toggle{position:absolute;border:0;cursor:pointer;color:#52715c;background:#e9eee0;border-radius:50%;font-size:21px;line-height:1}.intro-dismiss{right:16px;top:13px;width:30px;height:30px}.intro-toggle{position:absolute;z-index:2;left:5.2vw;top:17%;border-radius:18px;padding:10px 15px;font-size:11px;font-weight:700;box-shadow:0 8px 20px #30473420}.intro-dismiss:hover,.intro-toggle:hover{background:#dce8d1}.intro-dismiss:focus-visible,.intro-toggle:focus-visible{outline:3px solid #748f68;outline-offset:3px}.welcome[hidden]{display:none}.upgrade-box select{width:100%;padding:10px;border:1px solid #d9dfcf;border-radius:9px;background:#fafaf3;color:#354d40;font:inherit;font-size:11px}.upgrade-box .buy-upgrade{width:100%;margin-top:9px;border:0;border-radius:10px;padding:11px;background:#3a6550;color:#fff9e9;font:600 11px Segoe UI,sans-serif;cursor:pointer}.upgrade-box .buy-upgrade:disabled{opacity:.65;cursor:wait}.upgrade-message{min-height:14px;margin:8px 0 0!important;font-size:10px!important}.search-wrap{top:96px;left:26px;width:min(318px,calc(100vw - 52px));padding:13px 14px 14px;border:1px solid #f1efdc;border-radius:16px;background:#f7f6e9ed;box-shadow:0 12px 34px #263d2b26;backdrop-filter:blur(9px)}.search-wrap>label{margin:0 0 7px 2px;color:#496552;font-size:11px}.searchbox{height:43px;border:1px solid #d9dfce;border-radius:11px;background:#fffef8;box-shadow:none}.searchbox input{font-size:12px}.intro-toggle{top:auto;left:26px;bottom:76px;border-radius:13px}#profile-card{top:112px;right:26px;width:min(296px,calc(100vw - 32px));max-height:calc(100svh - 145px);overflow:auto;padding:17px 17px 14px;border:1px solid #f0eedf;border-radius:17px;background:#fbfaf3f5;box-shadow:0 16px 42px #243f352b;backdrop-filter:blur(10px)}.resident-head{display:flex;align-items:center;gap:11px;padding:2px 24px 11px 0;border-bottom:1px solid #e7e8da}.resident-head .profile-avatar{flex:none;width:42px;height:42px;margin:0;font-size:17px}.resident-head>div:nth-child(2){min-width:0}.resident-head .profile-label{font-size:8px;letter-spacing:.12em}.resident-head h2{margin:2px 0 1px;font-size:15px;line-height:1.2;overflow-wrap:anywhere}.resident-head p{margin:0;color:#7b887b;font-size:11px}.tier-chip{margin-left:auto;padding:5px 8px;border-radius:8px;background:#e8eddf;color:#45624d;font-size:9px;font-weight:700;white-space:nowrap}.tier-car{background:#e3edf1;color:#416d7c}.tier-building5,.tier-tower12,.tier-bundle{background:#f3ead0;color:#806332}.tier-billboard{background:#f3e2e9;color:#8c536b}.resident-address{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:10px 1px;color:#758274;font-size:10px}.resident-address b{color:#475d4b;font-size:10px;text-align:right}.resident-status{display:grid;gap:8px;padding:11px 10px;border-radius:12px;background:#f1f3e9}.status-row{display:grid;grid-template-columns:90px minmax(45px,1fr) auto;gap:8px;align-items:center;color:#67776a;font-size:9px}.status-row b{min-width:44px;text-align:right;color:#536650;font-size:9px;font-weight:650}.status-meter{height:7px;border-radius:8px;background:#dfe5d7;overflow:hidden}.status-meter i{display:block;height:100%;border-radius:inherit;background:#79a979}.status-meter i.good,.status-meter i.green{background:#75aa72}.status-meter i.steady,.status-meter i.blue{background:#6ba5bc}.status-meter i.low,.status-meter i.pink{background:#d88c82}.status-meter i.violet{background:#a18ac3}.status-meter i.gold{background:#d2ae51}.resident-note{margin:8px 2px;color:#829082;font-size:9px}.visit{margin-top:5px;padding:10px;border-radius:10px;font-size:10px}.profile-comments{margin-top:9px;padding-top:8px;border-top:1px solid #e6e8dc}.profile-comments summary,.upgrade-box summary{cursor:pointer;color:#586d58;font-size:10px;font-weight:650;list-style-position:inside}.profile-comments summary span{float:right;color:#778778}.profile-comments>p{margin:8px 0;font-size:10px}.profile-comments ul{max-height:120px}.upgrade-box{margin-top:9px;padding-top:8px;border-top:1px solid #e6e8dc}.upgrade-box select{margin-top:8px;font-size:10px}.upgrade-box .buy-upgrade{padding:9px;font-size:10px}.demo-note{text-align:left;padding-top:8px;border-top:1px solid #e7e8da;font-size:8px}@media(max-width:700px){.topbar{padding:13px 15px}.search-wrap{top:74px;left:13px;width:min(315px,calc(100vw - 26px));padding:10px 11px 11px}.intro-toggle{left:13px;bottom:69px}.welcome{top:17%;left:13px;max-width:min(310px,calc(100vw - 26px))}.city-stats{right:13px;bottom:12%}#profile-card{top:auto;right:13px;bottom:calc(13% + 8px);width:min(315px,calc(100vw - 26px));max-height:48svh;padding:14px}.hint{bottom:16px}.city-stats{bottom:55px}footer{bottom:7px}}.topbar{pointer-events:none}.top-actions{display:flex;align-items:center;gap:8px;pointer-events:auto}.top-actions button{width:42px;height:42px;display:grid;place-items:center;border:1px solid #e1e5d8;border-radius:13px;background:#fbfaf1ed;color:#365c4b;box-shadow:0 6px 18px #30473416;cursor:pointer}.top-actions button:hover,.top-actions button.active{background:#e5edda;color:#294e40}.top-actions svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.search-wrap{top:78px;right:25px;left:auto;width:min(300px,calc(100vw - 30px));padding:12px;border:1px solid #f1efdc;border-radius:15px;background:#f7f6e9f2;box-shadow:0 12px 34px #263d2b26;backdrop-filter:blur(9px)}.search-wrap[hidden]{display:none}.search-wrap>label{margin:0 0 7px 2px}.searchbox{height:42px;border-radius:10px}.intro-toggle{top:auto;left:26px;bottom:76px}@media(max-width:700px){.topbar{padding:12px 13px}.top-actions{gap:6px}.top-actions button{width:39px;height:39px}.search-wrap{top:67px;right:13px;left:auto;width:min(295px,calc(100vw - 26px));padding:10px}.intro-toggle{left:13px;bottom:69px}.welcome{top:17%;left:13px;max-width:min(310px,calc(100vw - 26px))}}.membership-card{position:relative;margin:10px 0;padding:10px 11px 8px;border-radius:11px;overflow:hidden;background:linear-gradient(115deg,#315b49,#48785b);color:#f6f2d8}.membership-card:before{content:"";position:absolute;right:-22px;top:-32px;width:92px;height:92px;border:1px solid #ffffff27;border-radius:50%;box-shadow:0 0 0 12px #ffffff10,0 0 0 25px #ffffff08}.membership-card>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px}.membership-card>div:first-child span{font-size:7px;letter-spacing:.12em;opacity:.78}.membership-card>div:first-child b{font-size:10px}.membership-card>small{display:block;margin-top:5px;color:#e0e7cf;font-size:8px;letter-spacing:.08em}.member-assets{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.member-assets span{padding:3px 6px;border:1px solid #ffffff48;border-radius:7px;background:#ffffff17;color:#fff8e8;font-size:8px}.membership-card.card-senior{background:linear-gradient(115deg,#6c6136,#b49b53)}.membership-card.card-founder{background:linear-gradient(115deg,#334d72,#607ea2)}.membership-card.card-supporter{background:linear-gradient(115deg,#623f71,#926aa0)}.market-link{display:flex;align-items:center;gap:6px;padding:0 10px;height:39px;border:1px solid #e1e5d8;border-radius:12px;background:#fbfaf1ed;color:#365c4b;text-decoration:none;font-size:10px;font-weight:700}.market-link svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.market-link:hover{background:#e5edda}.top-actions{gap:7px}.top-actions button{width:39px;height:39px;border-radius:12px}@media(max-width:700px){.market-link{width:39px;padding:0;justify-content:center}.market-link span{display:none}}.resident-head>div:nth-child(2){flex:1;min-width:0}.resident-head h2{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.membership-card{margin:8px 0;padding:8px 10px 7px}.resident-note{margin:6px 2px}#profile-card{max-height:calc(100svh - 185px)}@media(max-width:700px){#profile-card{max-height:48svh}}.account-toggle{height:39px;padding:0 12px;border:1px solid #d8dfcf;border-radius:12px;background:#fbfaf1ed;color:#365c4b;font:700 10px Segoe UI,sans-serif;box-shadow:0 6px 18px #30473416;cursor:pointer;white-space:nowrap}.account-toggle:hover{background:#e5edda}.account-overlay[hidden]{display:none}.account-overlay{position:absolute;inset:0;z-index:10;display:grid;place-items:center;padding:18px;background:#14291e70;backdrop-filter:blur(6px)}.account-dialog{position:relative;width:min(440px,100%);max-height:min(90svh,760px);overflow:auto;padding:28px;border:1px solid #e4e4d4;border-radius:22px;background:#fbfaf3;box-shadow:0 24px 80px #12251d50;color:#344d40}.account-dialog h2{margin:8px 32px 8px 0;font:700 25px/1.15 Aptos Display,Segoe UI,sans-serif;letter-spacing:-.03em}.account-dialog>p{margin:0 0 18px;color:#69796b;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.account-close{position:absolute;right:16px;top:14px;width:34px;height:34px;border:0;border-radius:50%;background:#edf0e5;color:#526b58;font-size:23px;cursor:pointer}.account-form{display:grid;gap:12px}.account-form label{display:grid;gap:6px;color:#5d715f;font-size:10px;font-weight:700}.account-form input,.account-form select,.account-form textarea{width:100%;box-sizing:border-box;border:1px solid #dbe0d3;border-radius:10px;padding:11px 12px;background:#fffef9;color:#334a3d;font:12px Segoe UI,sans-serif;outline:none}.account-form input:focus,.account-form select:focus,.account-form textarea:focus{border-color:#789779;box-shadow:0 0 0 3px #7797772b}.account-submit{border:0;border-radius:11px;padding:12px;background:#3a6550;color:#fff9e9;font:700 11px Segoe UI,sans-serif;cursor:pointer}.account-submit:disabled{opacity:.62;cursor:wait}.account-message{min-height:16px;color:#637564;font-size:10px;line-height:1.5}.account-switch{margin-top:12px;border:0;background:none;color:#496e56;font:650 10px Segoe UI,sans-serif;cursor:pointer}.account-switch:hover{text-decoration:underline}@media(max-width:700px){.account-toggle{width:39px;padding:0;font-size:0}.account-toggle:after{content:"↗";font-size:16px}.account-dialog{padding:22px;border-radius:18px}.account-dialog h2{font-size:22px}}.account-toggle{min-width:78px;background:#315b49;border-color:#315b49;color:#fff8e8;font-weight:700}.account-toggle:hover{background:#244a38;color:#fff8e8}@media(max-width:900px){.topbar{display:block;min-height:108px;padding:13px 16px}.top-actions{position:absolute;top:62px;left:16px;right:16px;justify-content:flex-end;flex-wrap:wrap;gap:6px}.account-toggle{min-width:74px}}@media(max-width:700px){.topbar{min-height:106px;padding:12px 13px}.top-actions{top:59px;left:13px;right:13px;gap:5px}.top-actions button,.market-link,.recorder-link{width:37px;height:37px}.account-toggle{width:auto!important;min-width:68px;padding:0 8px!important;font-size:9px!important}.account-toggle:after{content:none}.demo-pill{padding:7px 9px;font-size:8px}}html,body,#app{width:100%;max-width:100%;min-width:0;margin:0}.city{position:fixed;inset:0;width:100%;height:100vh;height:100dvh;min-width:0;min-height:0;max-width:100%;max-height:100dvh;overflow:hidden;overscroll-behavior:none}#world{width:100%;height:100%;min-width:0;min-height:0;overflow:hidden}#world canvas{width:100%!important;height:100%!important;max-width:100%;max-height:100%;touch-action:none}@media(max-width:700px){.topbar{padding-top:max(12px,env(safe-area-inset-top))}.city-stats{max-width:calc(100vw - 26px)}.hint{max-width:calc(100vw - 26px);overflow:hidden;text-overflow:ellipsis}.account-overlay{padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom))}}.tour-panel{position:absolute;z-index:5;left:26px;bottom:116px;width:min(340px,calc(100vw - 32px));padding:17px 18px 15px;border:1px solid #eeecda;border-radius:18px;background:#fbfaf3f2;color:#344d40;box-shadow:0 18px 48px #203b2b33;backdrop-filter:blur(10px)}.tour-panel[hidden]{display:none}.tour-panel-head{display:flex;align-items:center;justify-content:space-between}.tour-kicker{color:#728166;font-size:8px;font-weight:800;letter-spacing:.16em}.tour-close{width:28px;height:28px;border:0;border-radius:50%;background:#e9eddf;color:#526c57;font-size:19px;cursor:pointer}.tour-panel h2{margin:5px 26px 6px 0;font:700 18px/1.2 Aptos Display,Segoe UI,sans-serif;color:#345543}.tour-panel p{margin:0;color:#687969;font-size:11px;line-height:1.5}.tour-progress{height:5px;margin:13px 0 11px;overflow:hidden;border-radius:8px;background:#e3e8dc}.tour-progress i{display:block;height:100%;border-radius:inherit;background:#82a777;transition:width .2s ease}.tour-controls{display:flex;justify-content:space-between;gap:10px}.tour-controls button{border:1px solid #d9e1d2;border-radius:10px;padding:9px 12px;background:#f7f8ef;color:#47624d;font:650 10px Segoe UI,sans-serif;cursor:pointer}.tour-controls .tour-next{border-color:#3a6550;background:#3a6550;color:#fff8e8}.tour-controls button:disabled{opacity:.45;cursor:default}.tour-panel button:focus-visible,.tour-toggle:focus-visible{outline:3px solid #89a976;outline-offset:3px}@media(max-width:700px){.tour-panel{left:13px;bottom:112px;width:min(340px,calc(100vw - 26px));padding:14px 15px}.tour-panel h2{font-size:16px}}.recorder-link{display:flex;align-items:center;gap:6px;padding:0 10px;height:39px;border:1px solid #e1e5d8;border-radius:12px;background:#fbfaf1ed;color:#365c4b;text-decoration:none;font-size:10px;font-weight:700}.recorder-link svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}.recorder-link:hover{background:#e5edda}@media(max-width:700px){.recorder-link{width:39px;padding:0;justify-content:center}.recorder-link span{display:none}}.admin-page{min-height:100svh;background:#eef1e4;color:#274335;padding:22px clamp(16px,5vw,72px) 54px;font:14px/1.5 system-ui,sans-serif}.admin-brand{display:flex;align-items:center;gap:12px;max-width:1120px;margin:0 auto}.admin-brand>a{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;text-decoration:none;background:#315743;color:#fff5d8;font-size:26px}.admin-brand b{display:block;font-size:11px;letter-spacing:.13em}.admin-brand small{font-size:11px;color:#829080}.admin-tag{margin-left:auto;border:1px solid #c8d3bd;padding:6px 10px;border-radius:30px;color:#587153;font-size:9px;letter-spacing:.15em;font-weight:700}.admin-page footer{text-align:center;margin:48px auto 0;color:#89958a;font-size:9px;letter-spacing:.15em}.admin-login{max-width:410px;margin:clamp(45px,10vh,100px) auto 0;padding:36px;background:#fbfaf2;border:1px solid #e1e7d9;border-radius:20px;box-shadow:0 20px 55px #3e5c3412}.admin-icon{width:44px;height:44px;border-radius:15px;background:#e8eddc;color:#68875c;display:grid;place-items:center;font-size:22px}.admin-kicker{margin:20px 0 8px;color:#819069;font-size:9px;font-weight:800;letter-spacing:.2em}.admin-login h1,.dash-heading h1{font:750 clamp(32px,4vw,48px)/1.06 system-ui,sans-serif;letter-spacing:-.055em;margin:0;color:#294536}.admin-copy,.dash-heading p{color:#778479;line-height:1.65;font-size:12px}.admin-login form,.stack-form{display:grid;gap:13px;margin-top:24px}.admin-login label,.stack-form label{color:#53695a;font-size:10px;font-weight:700;display:grid;gap:7px}.admin-login input,.stack-form input{width:100%;border:1px solid #dfe5d7;border-radius:9px;padding:12px;background:#fffef8;color:#284434;font:13px system-ui;outline-color:#87a678}.admin-login form button,.stack-form button,.sync-button{border:0;border-radius:9px;background:#315743;color:#fff8e6;padding:13px;font:700 11px system-ui;cursor:pointer}.admin-login form button span,.stack-form button span,.sync-button span{float:right}.admin-message,.sync-note{min-height:18px;font-size:10px;color:#7a897d}.back-city{color:#55734f;text-decoration:none;font-size:11px;font-weight:700}.admin-dashboard{max-width:1120px;margin:46px auto 0}.dash-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:22px}.dash-heading .admin-kicker{margin-top:0}.dash-heading p{margin-bottom:0}.dash-heading>.back-city{padding:10px 14px;background:#fffef6;border:1px solid #e1e7d9;border-radius:9px}.dash-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px}.dash-card,.admin-panel{background:#fbfaf2;border:1px solid #e0e7d9;border-radius:14px;padding:20px}.dash-card>span,.setting-row b{display:block;color:#82906f;font-size:9px;letter-spacing:.13em;font-weight:800}.dash-card strong{display:block;margin:10px 0 3px;font-size:29px;letter-spacing:-.04em;color:#345a43}.dash-card .sync-time{font-size:16px;letter-spacing:0}.dash-card small,.setting-row small{color:#8a9587;font-size:10px}.admin-notice{display:flex;gap:13px;margin:14px 0 20px;border:1px solid #e6d8a9;border-radius:12px;background:#f9f4df;padding:15px 17px;color:#655c3b}.admin-notice>span{font-size:20px;color:#c4984f}.admin-notice b{font-size:11px}.admin-notice p{font-size:10px;line-height:1.6;margin:3px 0 0;color:#77704f}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.panel-title{display:flex;align-items:center;gap:11px}.panel-icon{display:grid;place-items:center;min-width:35px;height:35px;border-radius:11px;background:#e9efdf;color:#56784e;font-size:17px}.panel-title h2{margin:0;font-size:14px;color:#365340}.panel-title p{margin:3px 0 0;font-size:10px;color:#889388}.stack-form{margin-top:17px}.stack-form .optional{color:#9ba398;font-weight:400}.sample-link{display:inline-block;margin-top:13px;color:#668361;font-size:10px}.settings-panel{margin-top:14px}.setting-row{display:flex;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid #edf0e6}.setting-row small{display:block;margin-top:3px}.toggle{min-width:60px;border:1px solid #d7dfd1;border-radius:30px;background:#e8ebe4;color:#778277;padding:8px 13px;font:800 9px system-ui;cursor:pointer}.toggle.on{background:#deead8;border-color:#b8cead;color:#3b6945}.sync-button{margin-top:16px;min-width:230px}.sync-button:disabled{background:#a7b1a3;cursor:not-allowed}.sync-note{display:inline-block;margin-left:10px}.arrival-toast{position:absolute;z-index:5;left:50%;bottom:75px;transform:translate(-50%);display:flex;align-items:center;gap:12px;min-width:260px;max-width:min(420px,90vw);padding:13px 17px;border:1px solid #e8dfbf;border-radius:14px;background:#fffdf1f2;box-shadow:0 14px 35px #28483424;animation:toast-in .42s cubic-bezier(.2,.8,.2,1);pointer-events:none}.arrival-toast>span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#f1e9cf;color:#b88e51;font-size:17px}.arrival-toast b,.arrival-toast small{display:block}.arrival-toast b{font-size:11px;color:#315743}.arrival-toast small{margin-top:2px;font-size:9px;color:#899184}@keyframes toast-in{0%{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}@media(max-width:700px){.admin-page{padding:16px 14px 36px}.admin-dashboard{margin-top:30px}.dash-heading{align-items:start;gap:15px}.dash-heading>.back-city{white-space:nowrap;font-size:10px}.dash-cards,.admin-grid{grid-template-columns:1fr}.dash-card,.admin-panel{padding:16px}.admin-notice{padding:13px}.sync-note{display:block;margin:9px 0 0}.admin-page footer{margin-top:32px}}.market-page{min-height:100svh;padding:0 6vw 32px;background:#e8eddf;color:#284437;font-family:Segoe UI,system-ui,sans-serif}.market-nav{height:74px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #cbd8c6}.market-brand{display:flex;align-items:center;gap:9px;color:#315d49;text-decoration:none}.market-brand:first-letter{font-size:24px}.market-brand b{font-size:11px;letter-spacing:.1em}.market-nav nav{display:flex;gap:20px}.market-nav nav a,.back-market{color:#4f6e58;text-decoration:none;font-size:12px;font-weight:650}.market-nav a:hover,.back-market:hover{text-decoration:underline}.market-hero,.seller-hero{max-width:700px;padding:64px 0 48px}.market-kicker{margin:0 0 10px;color:#7e7552;font-size:9px;font-weight:750;letter-spacing:.18em}.market-hero h1,.seller-hero h1,.claim-panel h1{margin:0;color:#284b3a;font:700 clamp(38px,6vw,64px)/.98 Georgia,serif;letter-spacing:-.045em}.market-hero>p:not(.market-kicker),.seller-hero>p:not(.market-kicker){max-width:470px;margin:17px 0 22px;color:#637866;font-size:14px;line-height:1.65}.market-primary,.seller-form button,.buy-link{display:inline-flex;min-height:42px;align-items:center;justify-content:center;padding:0 16px;border:0;border-radius:8px;background:#37634c;color:#fff9e9;text-decoration:none;font-size:12px;font-weight:700;cursor:pointer}.market-primary:hover,.seller-form button:hover,.buy-link:hover{background:#294d3a}.shop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px;padding:8px 0 35px}.shop-board{position:relative;display:flex;min-height:158px;flex-direction:column;overflow:hidden;border:1px solid #c7d3c3;border-radius:5px;background:#f7f3df;box-shadow:0 5px #b2c2ae;color:#2f5040;text-decoration:none;transition:transform .18s ease}.shop-board:hover{transform:translateY(-3px)}.board-awning{display:grid;height:55px;place-items:center;background:repeating-linear-gradient(90deg,#be8669 0 30px,#f1d7bd 30px 60px);color:#fff8e6;font:700 24px Georgia,serif;text-shadow:0 1px 2px #344b3a}.board-body{display:grid;gap:5px;padding:12px 15px}.board-body b{font:700 18px Georgia,serif}.board-body small{color:#72806e;font-size:11px}.board-body>span{margin-top:4px;color:#7c724f;font-size:10px;font-weight:700}.board-arrow{position:absolute;right:14px;bottom:15px;color:#607d62}.market-empty,.market-error{padding:18px;border-radius:8px;background:#f8f5e7;color:#637866;font-size:13px}.store-content{max-width:1100px;margin:42px auto}.back-market{display:inline-block;margin-bottom:19px}.store-sign{display:flex;align-items:center;gap:17px;padding:22px;border:1px solid #c9d4c4;border-radius:8px;background:#f7f3e2}.store-mark{display:grid;width:58px;height:58px;flex:none;place-items:center;border-radius:5px;background:#b6785b;color:#fff;font:700 28px Georgia,serif}.store-sign h1{margin:0;font:700 32px Georgia,serif}.store-sign p:not(.market-kicker){margin:7px 0 0;color:#6f806f;font-size:12px}.items-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;margin-top:22px}.item-board{overflow:hidden;border:1px solid #d0d4c0;border-radius:7px;background:#faf7e9;box-shadow:0 3px #c2cbb9}.item-board>img,.item-placeholder{display:block;width:100%;height:166px;object-fit:cover;background:#dde7d7}.item-placeholder{display:grid;place-items:center;color:#8a9c79;font-size:46px}.item-copy{position:relative;padding:15px}.item-copy h2{max-width:70%;margin:0 0 7px;font:700 18px Georgia,serif;color:#355342}.item-copy>p{margin:0 0 12px;color:#738171;font-size:11px;line-height:1.5}.price-tag{position:absolute;top:12px;right:12px;padding:7px 9px;border-radius:3px;background:#e9c76e;color:#584b2e;font-size:11px;font-weight:800;transform:rotate(2deg)}.buy-link{min-height:36px;padding:0 12px;font-size:10px}.market-page footer{position:static;margin-top:30px;padding:13px 0;border-top:1px solid #cbd8c6;background:none;color:#718071;font-size:10px}.seller-panel,.claim-panel{max-width:1000px;margin:0 auto 30px}.seller-columns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(230px,.8fr);gap:32px}.seller-form{display:grid;gap:12px;padding:22px;border:1px solid #cad5c3;border-radius:8px;background:#f8f5e7}.seller-form h2,.seller-form h3,.seller-login h2{margin:0;color:#355642;font:700 23px Georgia,serif}.seller-form>p,.seller-login>p{margin:0;color:#748273;font-size:12px;line-height:1.5}.seller-form label{display:grid;gap:5px;color:#50694f;font-size:11px;font-weight:700}.seller-form label span,.seller-form label small{color:#8b9587;font-size:9px;font-weight:400}.seller-form input,.seller-form textarea{width:100%;padding:10px 11px;border:1px solid #d2dacb;border-radius:6px;background:#fffef8;color:#314c3d;font:12px Segoe UI,sans-serif}.seller-form input:focus,.seller-form textarea:focus{outline:3px solid #b5c99b;outline-offset:1px}.seller-aside{padding:6px 0;color:#5d735e}.seller-aside>span{display:grid;width:28px;height:28px;margin-top:12px;place-items:center;border-radius:50%;background:#d3dfc8;color:#41654b;font-size:11px;font-weight:750}.seller-aside h3{margin:8px 0 3px;font:700 18px Georgia,serif;color:#395a44}.seller-aside p{margin:0;color:#758476;font-size:11px;line-height:1.5}.seller-login{max-width:460px;margin:34px 0;padding-top:20px;border-top:1px solid #cbd8c6}.seller-login .seller-form{margin-top:14px}.claim-panel{max-width:480px;margin:70px auto;padding:26px;border:1px solid #cad5c3;border-radius:9px;background:#f8f5e7}.claim-panel>p:not(.market-kicker){color:#718071;font-size:12px;line-height:1.5}.claim-panel h1{font-size:42px}.manage-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 0}.manage-heading h2{margin:0;font:700 29px Georgia,serif}.manage-heading p:not(.market-kicker){color:#718071;font-size:11px}.manage-heading>a{color:#496a50;font-size:11px}.item-form{max-width:650px}.manage-listings{margin-top:24px}.manage-listings h3{display:flex;justify-content:space-between;color:#385943;font:700 20px Georgia,serif}.manage-listings h3 span{font:600 12px Segoe UI,sans-serif}.manage-item{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px;border-top:1px solid #cad5c3;background:#f6f3e5}.manage-item div{display:grid;gap:4px;min-width:0}.manage-item small{overflow:hidden;color:#7d8878;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.manage-item button{padding:7px 10px;border:1px solid #d1b6a5;border-radius:5px;background:#fbf2e9;color:#8e5946;font-size:10px;cursor:pointer}.form-message{min-height:16px;color:#9c543f;font-size:11px}.market-page a:focus-visible,.market-page button:focus-visible{outline:3px solid #839c69;outline-offset:3px}@media(max-width:700px){.market-page{padding:0 17px 25px}.market-nav{height:62px}.market-nav nav{gap:12px}.market-nav nav a{font-size:10px}.market-brand b{font-size:9px}.market-hero,.seller-hero{padding:45px 0 31px}.market-hero h1,.seller-hero h1{font-size:43px}.market-hero>p:not(.market-kicker),.seller-hero>p:not(.market-kicker){font-size:12px}.shop-grid,.items-grid{grid-template-columns:1fr 1fr;gap:10px}.shop-board{min-height:142px}.board-awning{height:43px}.board-body{padding:9px}.board-body b{font-size:15px}.board-body small{font-size:9px}.item-board>img,.item-placeholder{height:120px}.item-copy{padding:11px}.item-copy h2{font-size:15px}.price-tag{top:8px;right:8px;padding:6px;font-size:9px}.buy-link{width:100%;padding:0 5px;font-size:9px}.seller-columns{grid-template-columns:1fr;gap:19px}.seller-aside{display:grid;grid-template-columns:30px 1fr;gap:0 9px}.seller-aside>span{grid-row:span 2;margin:0}.seller-aside h3{margin:2px 0}.seller-aside p{grid-column:2}.store-sign{padding:15px}.store-sign h1{font-size:25px}.store-mark{width:46px;height:46px}.claim-panel{margin:38px auto;padding:20px}.manage-heading{align-items:flex-start;flex-direction:column}.shop-grid{padding-top:0}}.market-town-filter{display:grid;gap:8px;width:min(330px,calc(100% - 40px));margin:0 auto 24px;color:#607263;font-size:11px;font-weight:700}.market-town-filter select{padding:11px 12px;border:1px solid #d9dfce;border-radius:10px;background:#fffef8;color:#31493c;font:12px Segoe UI,sans-serif}.market-town-filter select:focus{outline:3px solid #89a976;outline-offset:2px}
