:root{color-scheme:light;--ink:#2b4538;--muted:#82978d;--line:#e8eee8;--green:#4f9c73;--green2:#347e5a;--bg:#f4f8f4;--soft:#eff7ef;--lav:#f7f4ff}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;color:var(--ink)}body{background:radial-gradient(ellipse at 10% 0,#edf8e8 0,transparent 34%),radial-gradient(ellipse at 95% 8%,#f3ebfd 0,transparent 24%),var(--bg)}button{font:inherit;cursor:pointer;touch-action:manipulation}button:disabled{cursor:not-allowed;opacity:.55}.shell{width:min(1480px,calc(100% - 48px));margin:auto}.topbar{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e8eee6;height:84px}.brand{display:flex;align-items:center;gap:14px}.brand .logo{display:grid;place-items:center;width:47px;height:47px;border-radius:16px;background:#daf2dc;font-size:28px;box-shadow:inset 0 2px 6px #b1dac08a}.brand strong{font-size:19px;letter-spacing:.2px}.brand strong span{font-weight:900;color:#51a676;font-size:15px}.brand small{display:block;font-size:11px;margin-top:3px;color:var(--muted);letter-spacing:.5px}.topright{display:flex;align-items:center;gap:14px}.safety-pill{border:1px solid #c6e6d3;border-radius:99px;background:#e9f9eb;color:#438765;padding:8px 13px;font-size:12px;font-weight:800}.avatar{border-left:1px solid #dde5df;padding-left:14px;font-size:13px;font-weight:700}.avatar i{display:block;color:#9aad9f;font-size:11px;font-style:normal;font-weight:400}.notice{display:flex;gap:12px;align-items:flex-start;background:#fff8e8;border:1px solid #f4e6c5;color:#8b704c;border-radius:14px;padding:11px 17px;margin:20px 0 18px;font-size:12px;line-height:1.6}.notice b{white-space:nowrap;color:#9b6d26}.title-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:24px 0}.eyebrow{display:block;font-size:10px;letter-spacing:2px;color:#8db59b;font-weight:900}.title-row h1{font-size:clamp(22px,2.25vw,31px);margin:8px 0 6px;letter-spacing:-.6px}.title-row h1 span{color:#e2ac55}.title-row p{font-size:12px;margin:0;color:var(--muted)}.day-chip{display:flex;gap:11px;align-items:center;background:#fff;border:1px solid #edf2eb;border-radius:17px;padding:12px 17px;white-space:nowrap}.day-chip .sun{font-size:28px}.day-chip b{display:block;font-size:12px}.day-chip small{display:block;color:#a1aaa4;margin-top:4px;font-size:11px}.dashboard{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(310px,.78fr);grid-template-areas:"world wallet" "content activity";gap:18px;align-items:start}.world-card,.wallet-card,.content-card,.activity-card{background:white;border:1px solid #e8eee7;border-radius:22px;box-shadow:0 10px 45px rgba(70,107,78,.055);overflow:hidden}.world-card{grid-area:world}.wallet-card{grid-area:wallet;padding:23px;min-height:543px}.content-card{grid-area:content}.activity-card{grid-area:activity;padding:22px;min-height:343px}.scene-top{display:flex;align-items:center;justify-content:space-between;padding:17px 20px;gap:10px}.scene-title{display:flex;gap:10px;align-items:center}.scene-icon{font-size:18px;background:#eaf4e9;padding:9px;border-radius:12px}.scene-title b{display:block;font-size:14px}.scene-title small{font-size:10px;color:#9daa9f}.scene-badges{display:flex;gap:7px;align-items:center}.scene-badges>span{background:#ebf8ee;color:#52a072;padding:6px 8px;font-size:10px;font-weight:800;border-radius:99px}.round-text{border:1px solid #e6eee5;border-radius:99px;background:white;color:#769184;padding:7px 9px;font-size:10px}#stage{position:relative;height:min(34vw,445px);min-height:325px;background:radial-gradient(ellipse at 50% 45%,#ddf2d7 0%,#edf9ec 47%,#d6ebe9 100%);overflow:hidden}#farm-canvas{width:100%;height:100%;touch-action:none;cursor:grab;display:block}#farm-canvas:active{cursor:grabbing}#fallback{position:absolute;inset:0;background:#e5f5e5;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:26px;color:#57735c}#fallback[hidden]{display:none}#fallback div{font-size:60px}#fallback p{max-width:300px;font-size:12px;line-height:1.7}.stage-watermark{position:absolute;top:14px;left:17px;color:#719c8d;background:#ffffffa0;border:1px solid #ffffffa0;border-radius:99px;padding:7px 10px;font-size:9px;font-weight:900;letter-spacing:1px;pointer-events:none}.hint{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);font-size:10px;color:#567d67;padding:8px 12px;border-radius:99px;background:#ffffffe3;white-space:nowrap;pointer-events:none}.mini-toolbar{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;gap:10px}.tier-switch{display:flex;gap:8px}.tier-switch button{font-size:11px;background:#f7faf7;border:1px solid #e8eee6;border-radius:12px;padding:9px 12px;color:#799087;font-weight:750}.tier-switch button.active{background:#54a574;border-color:#54a574;color:white;box-shadow:0 4px 12px #60ab793d}.scene-label{font-size:11px;color:#96a79b}.card-heading h2{font-size:20px;margin:9px 0 5px}.card-heading p{font-size:11px;color:#9baa9e;line-height:1.5;margin:0}.badge-soft{font-size:9px;background:#fbf2df;color:#c3994e;padding:5px 8px;border-radius:99px;vertical-align:middle}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:21px 0}.info-cell{background:#f7faf7;border:1px solid #f0f2ee;border-radius:14px;padding:14px 11px;min-height:75px}.info-cell small{display:block;color:#99a99d;font-size:10px;margin-bottom:7px}.info-cell b{font-size:18px;color:#365b45;white-space:nowrap}.info-cell em,.summary em{font-size:11px;font-weight:600;font-style:normal;color:#83a18d}.progress-top{display:flex;justify-content:space-between;font-size:10px;color:#839489}.progress-top strong{color:#4c956e}.progress{height:7px;background:#edf4ec;border-radius:9px;overflow:hidden;margin:8px 0 16px}.progress>div{background:linear-gradient(90deg,#99d8a6,#61a679);height:100%;width:0;transition:width .25s}.demo-credit{display:flex;align-items:center;justify-content:space-between;padding:13px 12px;margin-bottom:13px;background:#f5f1ff;border-radius:12px;gap:10px;font-size:12px}.demo-credit>div{display:flex;gap:7px;align-items:center}.demo-credit strong{font-size:16px;color:#7869b2}.demo-credit small{font-size:10px;color:#9c94ab}.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;padding:12px 16px;border:0;font-size:12px;font-weight:850;transition:transform .12s,background .15s}.btn:active{transform:scale(.97)}.btn-primary{width:100%;background:linear-gradient(100deg,#55aa79,#33865f);color:white;box-shadow:0 5px 13px #58ad7833}.btn-primary:hover{filter:brightness(1.035)}.btn-light{width:100%;background:#eef7ed;color:#4d8866}.two-btns{display:flex;gap:9px;margin-top:9px}.microcopy{font-size:10px;line-height:1.75;color:#9caaa0;margin:12px 0 0}.tabs{display:flex;gap:4px;border-bottom:1px solid #ecf0ec;padding:13px 15px 0}.tabs button{flex:1;border:0;border-radius:12px 12px 0 0;background:transparent;color:#92a49a;padding:13px 7px;font-weight:750;font-size:12px}.tabs button.active{background:#eaf5eb;color:#408962}.tab-body{padding:22px}.tab-body[hidden]{display:none}.section-heading{display:flex;justify-content:space-between;gap:9px;align-items:center;margin-bottom:16px}.section-heading h2{font-size:19px;margin:0 0 4px}.section-heading p{color:#97a89b;font-size:11px;margin:0;line-height:1.55}.tiny-emblem{background:#f0f8ec;border:1px solid #e1f1df;padding:7px 10px;border-radius:10px;color:#68a174;font-size:10px;font-weight:800;white-space:nowrap}.farm-plots{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.plot-card{border:1px solid #e9f0e7;background:linear-gradient(130deg,#f8fbf5,#f0f6ef);border-radius:15px;padding:15px 12px;text-align:center}.plot-card>.plot-emoji{font-size:29px;margin-bottom:6px}.plot-card b{display:block;font-size:12px;margin-bottom:4px}.plot-card small{display:block;color:#98aa9d;font-size:10px;margin-bottom:11px}.btn-small{padding:8px 13px;color:#4e9872;background:#def2e3;border:1px solid #c9e8d0;font-size:10px}.plot-card .btn-small{width:100%}.player-stats{display:flex;justify-content:space-around;gap:12px;margin:20px 0 0;background:#fafcf9;border-radius:14px;padding:14px}.player-stats>div{display:flex;align-items:center;gap:9px}.player-stats span{font-size:21px}.player-stats small{display:block;font-size:10px;color:#93a69a}.player-stats strong{display:block;font-size:16px;color:#3c875f}.side-heading{display:flex;justify-content:space-between;align-items:center}.side-heading h2{font-size:18px;margin:6px 0 0}.side-heading>span{font-size:24px}.summary{display:grid;grid-template-columns:1fr 1fr;background:#f7faf7;border-radius:13px;padding:14px;margin:19px 0 16px;gap:7px}.summary>div+div{border-left:1px solid #e3ebe3;padding-left:14px}.summary small{display:block;font-size:10px;color:#91a397}.summary b{display:block;font-size:18px;margin-top:5px;color:#3d6e51}.timeline{min-height:85px;max-height:220px;overflow:auto}.activity-item{border-left:2px solid #d6e9d9;margin-left:5px;padding:1px 0 14px 13px;font-size:11px;color:#728b79;line-height:1.5}.activity-item b{display:block;color:#4e745a;margin-bottom:4px}.activity-item small{color:#b6c1b8}.activity-item.empty{border:0;color:#9eaca0;padding:9px}.reset{width:100%;margin-top:8px;background:transparent;border:1px dashed #d5e3d7;border-radius:10px;padding:9px;color:#91a996;font-size:10px}.adventure-art{background:linear-gradient(110deg,#e7f6eb,#f6f2ea);border-radius:18px;text-align:center;padding:24px}.adventure-art div{font-size:50px}.adventure-art p{font-size:16px;font-weight:800;margin:6px}.adventure-art small{color:#94a99b;font-size:11px}.quest-line{display:flex;justify-content:space-between;padding:16px 2px;font-size:12px}.shop-items{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.shop-items article{background:#f8faf7;border:1px solid #edf2ed;border-radius:14px;padding:12px;display:flex;align-items:center;flex-direction:column;text-align:center;gap:6px}.item-art{font-size:28px}.shop-items article b{font-size:11px}.shop-items article small{font-size:9px;color:#9aaa9c}.btn-outline{margin:12px 0 4px;color:#639579;border:1px solid #d9e9dd;background:#fff;padding:9px 12px}.product-list{margin-top:10px;border-top:1px solid var(--line)}.product-list>div{display:flex;gap:10px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:12px 0}.product-list span{font-size:11px;font-weight:750}.product-list small{display:block;font-size:10px;font-weight:400;color:#a2afa4;margin-top:4px}.product-list strong{font-size:13px;color:#529268;white-space:nowrap}.btn-tiny{background:#edf6ef;color:#558f6c;padding:7px 9px;font-size:10px;white-space:nowrap}.rules-list{display:grid;gap:8px}.rules-list>div{border:1px solid #e9efe8;background:#f8faf7;border-radius:12px;padding:12px}.rules-list>div.modified{border-color:#d4ead9;background:#f2faf2}.rules-list span{font-size:12px;font-weight:800}.rules-list strong{display:block;margin:6px 0;color:#427955;font-size:14px}.rules-list small{display:block;font-size:10px;color:#95a89a}.rules-list em{font-size:9px;color:#37955a;font-style:normal;padding:3px 5px;border-radius:7px;background:#dff2e1}footer{padding:28px 0 36px;text-align:center;color:#a5b1a7;font-size:10px}#toast{position:fixed;z-index:999;bottom:20px;left:50%;transform:translate(-50%,25px);opacity:0;pointer-events:none;background:#304a3a;color:white;box-shadow:0 12px 35px #182c1a4a;border-radius:13px;font-size:12px;padding:12px 18px;max-width:min(92vw,530px);transition:all .2s;text-align:center}#toast.visible{opacity:1;transform:translate(-50%,0)}
@media(max-width:1080px){.dashboard{grid-template-columns:minmax(0,1fr) minmax(290px,.76fr);grid-template-areas:"world wallet" "content activity"}.scene-label{display:none}#stage{height:340px}.wallet-card{padding:18px;min-height:0}.shell{width:calc(100% - 30px)}}
@media(max-width:800px){.dashboard{grid-template-columns:1fr;grid-template-areas:"world" "wallet" "content" "activity"}.day-chip{display:none}.notice{margin-top:14px}.title-row{margin:19px 0}.shell{width:calc(100% - 22px)}.topbar{height:74px}.avatar{display:none}.topright .safety-pill{font-size:10px}.wallet-card{padding:19px}.wallet-card .info-grid{margin:16px 0}.activity-card{min-height:0}#stage{height:380px}.scene-label{display:inline;font-size:10px}.scene-badges>span{display:none}}
@media(max-width:530px){.brand strong{font-size:16px}.brand small{font-size:9px}.brand .logo{width:40px;height:40px;font-size:23px}.safety-pill{padding:6px!important}.notice{display:block;font-size:11px}.notice b{display:block;margin-bottom:3px}.title-row h1{font-size:23px}.title-row p{font-size:11px}.scene-top{padding:14px 13px}.scene-title b{font-size:12px}.scene-title small{font-size:9px}.scene-icon{padding:7px}.scene-badges .round-text{font-size:9px;padding:6px}.mini-toolbar{padding:10px}.tier-switch{width:100%;gap:6px}.tier-switch button{flex:1;padding:9px 2px;font-size:10px}.scene-label{display:none}#stage{height:330px;min-height:300px}.tab-body{padding:15px}.tabs{padding:10px 10px 0}.tabs button{font-size:11px}.section-heading h2{font-size:17px}.section-heading p{font-size:10px}.farm-plots{gap:6px}.plot-card{padding:11px 7px}.plot-card>.plot-emoji{font-size:25px}.plot-card b{font-size:11px}.plot-card small{font-size:9px;min-height:27px}.btn-small{padding:8px 3px;font-size:9px}.player-stats{padding:11px 6px;gap:6px}.player-stats>div{gap:5px}.player-stats span{font-size:17px}.player-stats small{font-size:9px}.player-stats strong{font-size:13px}.shop-items{gap:6px}.shop-items article{padding:10px 5px}.product-list{margin-top:15px}}

/* V7.1 NFT concept gallery: preview-only, no signing or payment */
.nft-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(110deg,#e6f6e9,#f2edfa);border:1px solid #e4e8df;border-radius:17px;padding:18px;margin:8px 0 17px}.nft-banner strong{font-size:14px;color:#3f745b}.nft-banner p{max-width:540px;font-size:11px;line-height:1.6;color:#758e7f;margin:6px 0 0}.nft-stats{text-align:center;min-width:90px}.nft-stats b{display:block;font-size:27px;color:#387b54}.nft-stats small{font-size:9px;color:#698c77}.nft-filter{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 17px}.nft-filter button{border:1px solid #dbebdd;color:#548868;background:#fff;border-radius:15px;font-size:11px;padding:7px 12px;font-weight:700}.nft-filter button.active{background:#3f9468;color:#fff}.nft-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.nft-card{border:1px solid #e5ebe3;background:#fff;border-radius:17px;overflow:hidden;min-width:0;box-shadow:0 6px 20px #375b4310}.nft-card img{display:block;width:100%;height:145px;object-fit:cover;background:#eaf1e8}.nft-card-info{padding:11px}.nft-card-top{display:flex;justify-content:space-between;align-items:center;gap:6px;color:#759282;font-size:9px}.nft-card b{display:block;font-size:12px;margin-top:7px}.nft-card small{display:block;color:#98a99a;font-size:10px;margin:5px 0;line-height:1.5}.nft-card-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:8px 0}.nft-card-meta strong{font-size:11px;color:#488c60}.nft-card-meta span{font-size:9px;color:#8d9f91}.nft-wish{border:1px solid #d4e8d7;background:#f2faf2;color:#448864;width:100%;border-radius:10px;font-size:10px;font-weight:800;padding:8px}.nft-wish.chosen{background:#e1efe5}.market-plan{margin-top:18px;border:1px dashed #bbd5c4;padding:18px;border-radius:16px;background:#f7faf6}.market-plan strong{font-size:13px;color:#497c59}.market-plan p{font-size:11px;line-height:1.7;color:#81988a}.market-plan button{border:0;border-radius:10px;color:#708a78;background:#e2eee6;padding:10px 12px;font-size:11px}
@media(max-width:800px){.nft-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:530px){.tabs{flex-wrap:wrap}.tabs button{flex:1 1 30%;font-size:10px;padding:10px 4px}.nft-grid{gap:8px}.nft-card img{height:140px}.nft-card-info{padding:8px}.nft-banner{padding:12px}.nft-banner strong{font-size:12px}.nft-banner p{font-size:10px}}

/* V7.2 Pet breeding-independent growth and farm crafting: pure cosmetics */
.pet-hero{display:grid;grid-template-columns:170px 1fr;gap:17px;padding:16px;background:linear-gradient(118deg,#fffbeb 0%,#eff8e9 55%,#edf9f6);border:1px solid #e1eddb;border-radius:20px;align-items:center}
.pet-hero-art{height:190px;border-radius:17px;overflow:hidden;position:relative;background:#f8e9cb;box-shadow:0 10px 25px #4a694226}
.pet-hero-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:53% 42%}.pet-hero-art span{position:absolute;left:5px;right:5px;bottom:5px;background:#183e2cbd;color:#fff;font-size:9px;border-radius:8px;padding:6px;text-align:center}
.pet-hero h3{font-size:23px;color:#356b4a;margin:7px 0}.pet-hero p{font-size:11px;color:#869f8a;margin:0 0 16px;line-height:1.6}
.pet-progress-head{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#43815c}.pet-progress-head small{font-size:10px;color:#819c83}
.pet-progress{height:8px;overflow:hidden;background:#dbe7d8;border-radius:10px;margin:7px 0 15px}.pet-progress div{width:0;height:100%;background:linear-gradient(90deg,#89c768,#efbd6f);transition:width .2s}
.pet-vitals{display:flex;flex-wrap:wrap;gap:7px}.pet-vitals span{background:#ffffffc9;padding:6px;border-radius:9px;color:#66866c;font-size:10px}.pet-vitals strong{color:#347349}
.pet-steps{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:9px;margin-top:14px}.pet-steps .btn{padding:12px 8px;font-size:11px}
.pet-section-title{margin-top:28px}.pet-gallery,.decor-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.pet-card{display:flex;flex-direction:column;gap:6px;border:1px solid #dfecda;background:#fbfdf8;border-radius:16px;padding:12px;min-width:0}.pet-card.selected{border:2px solid #72ae76;background:#f0f9e9}.pet-card img{width:100%;height:115px;object-fit:cover;border-radius:13px;background:#eff7e9}.pet-card .pet-tag{font-size:9px;color:#9a9364;font-weight:700}.pet-card b{font-size:13px;color:#37694d}.pet-card small{font-size:10px;color:#789187;line-height:1.55;min-height:29px}.pet-card .btn{font-size:10px;padding:10px 4px;margin-top:auto}.pet-card .meta{font-size:10px;color:#a0a89a}
.decor-card{background:#fcfbf2;border:1px solid #eee7cf;border-radius:15px;padding:13px;display:flex;flex-direction:column;gap:7px}.decor-card .emoji{font-size:30px}.decor-card b{font-size:13px;color:#746444}.decor-card small{font-size:10px;color:#97907a;line-height:1.5;min-height:29px}.decor-card .meta{font-size:10px;color:#977d4f}.decor-card .btn{font-size:10px;padding:9px 3px;margin-top:auto}.economy-divider{background:#eef7f1;color:#436952;padding:15px;border-radius:15px;margin:22px 0 2px}.economy-divider b{font-size:12px}.economy-divider p{margin:5px 0 0;color:#708975;font-size:10px;line-height:1.7}
@media(max-width:530px){.pet-hero{grid-template-columns:130px 1fr;gap:10px;padding:10px}.pet-hero-art{height:165px}.pet-hero h3{font-size:19px}.pet-vitals span{font-size:9px;padding:5px}.pet-steps{grid-template-columns:repeat(2,1fr)}.pet-steps .btn:last-child{grid-column:1/-1}.pet-gallery,.decor-gallery{gap:7px}.pet-card,.decor-card{padding:8px}.pet-card img{height:86px}.pet-card b,.decor-card b{font-size:11px}.pet-card small,.decor-card small,.decor-card .meta{font-size:9px}.pet-card .btn{font-size:9px}}

/* V7.3 MT internal shop, all purchases purely local previews */
.mt-ledger{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;background:linear-gradient(120deg,#eff8ec,#faf5e6);padding:14px;border:1px solid #e0edd9;border-radius:16px}
.mt-ledger>div{padding:10px;background:#ffffffa8;border-radius:11px}.mt-ledger small{font-size:10px;color:#7d9380;display:block}.mt-ledger strong{font-size:15px;color:#37754d;display:block;margin-top:5px}
.mt-filter{display:flex;gap:6px;flex-wrap:wrap;margin:19px 0 13px}.mt-filter button{border:1px solid #d7e8d8;border-radius:40px;background:#fff;color:#568064;font-size:10px;font-weight:750;padding:8px 11px}.mt-filter button.active{background:#428b63;color:#fff}
.mt-shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.mt-item{display:flex;flex-direction:column;gap:5px;min-width:0;border:1px solid #e5eddf;background:#fffefb;border-radius:16px;padding:14px;box-shadow:0 3px 16px #3f614310}.mt-icon{font-size:32px}.mt-kind{font-size:9px;color:#79967e}.mt-item>b{font-size:13px;color:#355942}.mt-item p{font-size:10px;line-height:1.55;color:#8a9d8c;min-height:36px;margin:4px 0}.mt-price{color:#ca944d;font-size:16px}.mt-have{font-size:9px;color:#6e9376;min-height:14px}.mt-actions{display:flex;gap:5px;margin-top:auto}.mt-actions .btn{flex:1;padding:9px 5px;font-size:9px;min-width:0}.mt-actions .btn-outline{margin:0}.mt-inventory{background:#f6fbf6;border:1px solid #e0efdf;border-radius:15px;padding:14px;margin:18px 0}.mt-inventory b{font-size:13px;color:#436d53}.mt-inventory p{font-size:11px;line-height:1.7;color:#78917e;overflow-wrap:anywhere}.mt-orders>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:7px 0;border-top:1px dashed #dae8da;font-size:10px}.mt-orders strong{color:#b87b44}.mt-orders small{margin-left:auto;color:#9fae9f}
@media(max-width:530px){.mt-ledger{gap:5px;padding:7px}.mt-ledger>div{padding:7px 5px}.mt-ledger strong{font-size:11px}.mt-ledger small{font-size:9px}.mt-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.mt-item{padding:10px}.mt-item>b{font-size:11px}.mt-item p{font-size:9px}.mt-price{font-size:13px}.mt-item .btn{font-size:9px}}

/* V7.4: simulated two-account player marketplace */
.market-alert{padding:18px 20px;background:linear-gradient(125deg,#fdf4de,#f2f9ed);border:1px solid #e9cf9b;border-radius:18px;color:#5c663a;margin:18px 0}
.market-alert strong{color:#5d643c}.market-alert p{font-size:13px;line-height:1.7;margin:7px 0 0}
.market-ledger{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}
.market-ledger>div{background:#fffdf7;border:1px solid #e4ebdc;border-radius:17px;padding:15px 13px;min-height:86px}
.market-ledger small{display:block;color:#769084;font-size:12px;margin-bottom:10px}
.market-ledger strong{color:#235f47;font-size:21px;line-height:1.2}
.market-ledger select{max-width:100%;width:100%;font-size:13px;font-weight:700;padding:8px 5px;border:1px solid #b9d1ba;color:#315c4d;background:#fff;border-radius:8px}
.market-guide{display:flex;gap:12px;align-items:start;background:#eff8ed;padding:13px 18px;border-radius:15px;color:#426b4d;font-size:13px;line-height:1.65}
.market-guide b{min-width:max-content}.market-columns{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:20px}
.market-form-panel,.market-rules-panel{padding:19px;background:white;border:1px solid #e0eadc;border-radius:19px;box-shadow:0 4px 18px #345e3010}
.market-form-panel h3,.market-rules-panel h3{margin:0 0 8px;color:#255341}
.market-form-panel p,.market-rules-panel p{font-size:13px;color:#708379;line-height:1.65;margin:8px 0}
.market-form-panel label{font-size:13px;color:#3c5f4e;font-weight:700;display:block;margin:14px 0 7px}
.market-form-panel select,.market-form-panel input{width:100%;border:1px solid #d3e1d2;border-radius:11px;padding:12px;background:#fffdf7;color:#315e4c;font-size:15px;min-width:0}
.market-fee-preview{font-size:13px;color:#94783c;margin-top:10px;line-height:1.5}.market-submit{margin-top:13px;width:100%}
.market-owned-info{color:#5d7c6c;margin-top:12px;font-size:12px;line-height:1.6}
.market-offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:14px}
.market-offer{border:1px solid #dfebd7;background:#fffdf9;border-radius:18px;padding:17px;display:flex;flex-direction:column;gap:9px}
.market-offer-top{display:flex;justify-content:space-between;align-items:center;gap:5px;color:#728376;font-size:11px}
.market-offer h3{font-size:18px;margin:0;color:#245340}.market-offer-price{font-size:24px;font-weight:850;color:#3d744c}
.market-offer-detail{font-size:12px;color:#688073;line-height:1.6}
.market-offer-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:auto}
.market-offer-actions button{border:1px solid #d6e4d8;border-radius:12px;padding:10px 13px;cursor:pointer;font-weight:700;background:#eef5ea;color:#345e4b}
.market-offer-actions button.buy{background:#3d7056;color:white}
.market-offer-actions button:disabled{opacity:.52;cursor:not-allowed}
.market-trades{margin-top:14px;border:1px solid #e2eadc;border-radius:17px;overflow:hidden;background:white}
.market-trade{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 18px;border-bottom:1px solid #e9eee6;color:#456453;font-size:13px}
.market-trade:last-child{border-bottom:0}.market-trade b{color:#326e55}
.market-empty{padding:24px;text-align:center;color:#718678;background:#f8faf5;border:1px dashed #d5e3d2;border-radius:16px;font-size:14px;line-height:1.7;grid-column:1/-1}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:850px){.market-ledger{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.market-columns,.market-offers{grid-template-columns:minmax(0,1fr)}.market-ledger{grid-template-columns:repeat(2,minmax(0,1fr))}.market-ledger strong{font-size:18px}.market-guide{display:block}.market-form-panel,.market-rules-panel{padding:15px}.market-trade{align-items:start;flex-direction:column}}
