#trade{min-width:0}#tradeContent{container-type:inline-size}.trade-hero>div:first-child{min-width:0}.trade-entry{margin:0 0 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:16px 20px;border:1px solid #6d522b;border-radius:16px;background:linear-gradient(115deg,#261c0e,#110c07);color:#e9d3a5;text-align:left}.trade-entry span{display:block;font-size:12px;color:#b9aa8d;margin-top:4px}.trade-entry strong{font-size:16px}.trade-entry>svg{width:24px;height:24px;flex-shrink:0}.trade-hero{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:clamp(20px,5vw,32px);min-height:208px;border:1px solid #73562f;border-radius:24px;background:#110b06 url('/mobile/building-honor-market.webp') center 37%/cover}.trade-hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(12,7,3,.96),rgba(10,7,4,.42) 100%)}.trade-hero h3{font-size:clamp(25px,6vw,40px);line-height:1.12;margin:8px 0;overflow-wrap:anywhere;color:#f2dfb4}.trade-hero p{color:#d3c2a2;line-height:1.5;font-size:14px;margin:0}.trade-wallet{flex-shrink:0;text-align:right;padding:12px 0 0 12px;border-left:1px solid #b6975555}.trade-wallet small{display:block;font-size:10px;letter-spacing:.09em;color:#ceb88e}.trade-wallet strong{display:block;font:700 clamp(23px,5vw,32px)/1.2 Georgia,serif;color:#ffdc93;margin-top:6px;overflow-wrap:anywhere;max-width:150px}.trade-tabs{display:grid;grid-template-columns:1fr 1fr 1.3fr;margin:20px 0 16px;gap:5px;padding:5px;border:1px solid #49391f;border-radius:15px;background:#0d0906}.trade-tabs button{min-width:0;border:0;border-radius:10px;background:transparent;color:#b2a38b;min-height:48px;padding:10px 6px;font:600 13px/1.3 system-ui;white-space:normal}.trade-tabs button[aria-pressed=true]{background:linear-gradient(#41301b,#251a0e);color:#f0d59c;box-shadow:inset 0 1px #9a774b55}.trade-tabs button:disabled{opacity:.45}.trade-filter{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:20px 0}.trade-filter label{font-size:13px;color:#c4b89f}.trade-filter select{width:auto;max-width:100%;padding:10px 14px;font-size:16px;min-height:44px}.trade-offers{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:14px}.trade-offer{min-width:0;border:1px solid #604928;border-radius:20px;padding:20px;background:radial-gradient(ellipse at 0 0,#503b192e,transparent 70%),linear-gradient(145deg,#1d140c,#0c0805);box-shadow:inset 0 1px #a77c3120}.trade-product{display:flex;align-items:center;gap:14px}.trade-product>div{min-width:0}.trade-product-icon{display:grid;place-items:center;flex:0 0 52px;width:52px;height:58px;border:1px solid #78603b;border-radius:14px;background:radial-gradient(ellipse at 35% 20%,#66502d,#1b140c 70%);color:#e8c57b}.trade-product-icon svg{width:27px;height:27px;stroke:currentColor;fill:none;stroke-width:1.7}.trade-product-icon[data-resource=food]{color:#bacb83;background:radial-gradient(ellipse at 35% 20%,#364729,#131b0f 70%)}.trade-product-icon[data-resource=ore]{color:#b3c1c8;background:radial-gradient(ellipse at 35% 20%,#43484e,#141518 70%)}.trade-product h3{font-family:Georgia,serif;font-size:23px;line-height:1.15;margin:0 0 6px;overflow-wrap:anywhere}.trade-product p{font-size:12px;line-height:1.4;color:#b3a48c;margin:0;overflow-wrap:anywhere}.trade-price{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:10px;margin:18px 0;padding-top:14px;border-top:1px solid #6b52352b}.trade-price small{font-size:10px;color:#aa997d;letter-spacing:.04em}.trade-price strong{display:block;color:#f0cd84;font-size:25px;line-height:1.3;margin-top:3px}.trade-price strong span{font:12px system-ui;color:#c5b89c}.trade-offer>button{width:100%;min-height:46px;height:auto;white-space:normal;line-height:1.4}.trade-pagination{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:18px 0;font-size:12px}.trade-pagination button{min-height:44px;padding:9px 14px}.trade-empty{padding:36px 22px;text-align:center;border:1px dashed #5c492b;border-radius:20px;color:#c2b291;background:#110d0877}.trade-empty>span{display:block;font:42px/1 Georgia,serif;color:#a78142}.trade-empty h3{margin:12px 0;font-size:24px}.trade-empty p{font-size:14px;line-height:1.6}.trade-empty button{margin-top:10px;white-space:normal}.trade-sell{border:1px solid #665131;border-radius:20px;padding:clamp(18px,4vw,28px);background:linear-gradient(130deg,#21190f,#0f0b07)}.trade-sell h3{font-size:28px;margin:12px 0}.trade-sell p{font-size:14px;line-height:1.6;color:#c0b39c}.trade-sell form{display:grid;gap:10px}.trade-sell label{font-size:13px;font-weight:600;color:#d4c4a4;display:block;margin:6px 0}.trade-sell input,.trade-sell select{min-width:0;width:100%;font-size:16px;height:48px}.trade-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.trade-form-row>div{min-width:0}.trade-form-row small{font-size:11px;color:#b2a180;display:block;margin-top:6px}.trade-reservation{border-left:2px solid #967347;padding-left:12px}.trade-sell button{min-height:48px;height:auto;white-space:normal}.trade-small{font-size:12px!important}.trade-history{margin-top:20px}.trade-history summary,.trade-rules summary{cursor:pointer;min-height:44px;padding:13px 0;color:#d9c095;font-size:14px}.trade-history ol{list-style:none;padding:0;margin:0}.trade-history li{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #70573140}.trade-history li>div{min-width:0}.trade-history b{font-size:14px;display:block;overflow-wrap:anywhere}.trade-history small{display:block;font-size:11px;color:#ac9e85;line-height:1.5;margin-top:5px}.trade-history strong{text-align:right;white-space:nowrap;color:#d7bf88;font-size:18px}.trade-rules{margin-top:22px;padding:0 10px}.trade-rules p{font-size:13px;line-height:1.65;color:#b5a88d}.trade-locked{border-left:3px solid #b48943;margin-top:18px;padding:16px 20px;background:#251b0f88;border-radius:0 16px 16px 0}.trade-locked h3{font-size:22px;margin:0 0 8px}.trade-locked p{font-size:14px;line-height:1.6}.trade-feedback{padding:13px 16px;background:#26382066;border-left:2px solid #8bb67e;color:#d8e3be;line-height:1.5;font-size:14px}.trade-feedback.is-error{background:#3a1b1555;border-color:#d9937f;color:#edbfb2}.trade-confirm{box-sizing:border-box;width:min(480px,calc(100% - 24px));max-height:calc(100dvh - 36px);overflow:auto;margin:auto;padding:24px;border:1px solid #98784c;border-radius:24px;background:linear-gradient(135deg,#251c10,#0d0905);color:#f0deba;box-shadow:0 18px 80px #000b}.trade-confirm::backdrop{background:#000b;backdrop-filter:blur(5px)}.trade-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.trade-dialog-head .eyebrow{font-size:10px}.trade-dialog-head button{flex-shrink:0}.trade-confirm h2{font-size:30px;line-height:1.2;margin:16px 0;overflow-wrap:anywhere}.trade-confirm p{font-size:14px;line-height:1.6;color:#c8b798;overflow-wrap:anywhere}.trade-confirm-price{padding:16px 0;margin:16px 0;border-block:1px solid #7f643641}.trade-confirm-price span{display:block;font-size:12px}.trade-confirm-price strong{display:block;font-size:24px;color:#eed297;overflow-wrap:anywhere}.trade-dialog-actions{display:grid;gap:12px;margin-top:20px}.trade-dialog-actions button{min-height:48px;height:auto;white-space:normal;line-height:1.4;padding:12px 16px}#tradeDialogFeedback{color:#e9ae98}@media(max-width:720px){.trade-offers{grid-template-columns:1fr}.trade-hero{flex-wrap:wrap}.trade-wallet{padding:10px 0 0;border-left:0;border-top:1px solid #b6975555;text-align:left;width:100%}.trade-wallet small{display:inline}.trade-wallet strong{display:inline;margin-left:12px;max-width:none}}@media(prefers-reduced-motion:reduce){.trade-confirm{scroll-behavior:auto}}

@container(max-width:720px){.trade-hero{flex-wrap:wrap}.trade-wallet{padding:10px 0 0;border-left:0;border-top:1px solid #b6975555;text-align:left;width:100%}.trade-wallet small{display:inline}.trade-wallet strong{display:inline;margin-left:12px;max-width:none}}
