/* V140: homepage marketplace filter and grid only; no payment UI or sports logic changes. */
body:has(#home-market-directory-v140) .shell{max-width:1680px}
#home-market-directory-v140{margin:20px 0 10px;padding:20px 22px 8px;background:linear-gradient(145deg,#26384c,#273047);border:1px solid #657f9b77;border-radius:20px;scroll-margin-top:18px}
.home-v140-header h2{font-size:clamp(24px,2.6vw,32px);margin:6px 0}
.home-v140-header p{font-size:14px;color:#bbcee3;margin:4px 0 18px;line-height:1.6}
.home-v140-step{font-size:13px;color:#b8cae4;margin:14px 0 8px}
.home-v140-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.home-v140-tab{min-height:54px;border-radius:12px;border:1px solid #728ba7;background:#27364f;color:#dbe8f6;font-size:16px;font-weight:750}
.home-v140-tab:hover{background:#354b69}.home-v140-tab.selected{border-color:#b5dce9;background:linear-gradient(125deg,#376577,#554b7e);color:#fff;box-shadow:0 0 0 2px #bbd9ff20}
#home-v140-token-slot>.asset-filter{margin:0 0 10px;display:flex;gap:9px;flex-wrap:wrap}
#home-v140-token-slot>.asset-filter button{flex:1 1 105px;min-height:46px}
.home-v140-media{padding:14px 0 24px}.home-v140-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:16px}
.home-v140-heading h2{font-size:clamp(22px,2.4vw,28px)}.home-v140-heading p{color:#b5c5d9;max-width:780px;font-size:14px;margin:6px 0}
.home-v140-links{display:flex;gap:8px;flex-wrap:wrap}.home-v140-links a{padding:11px 14px;font-size:13px}
.home-v140-tools{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:12px 0 20px}.home-v140-tools label{font-size:12px;color:#b8c7db;flex:1 1 200px}
.home-v140-tools input,.home-v140-tools select{width:100%;display:block;min-height:46px;margin-top:5px;border-radius:10px;padding:9px 12px;border:1px solid #617b9b;background:#152139;color:#f6f9ff;font-size:15px}
.home-v140-tools button{min-height:46px}.home-v140-media #home-v140-status{font-size:13px;color:#b7cadc;margin:14px 0}
.home-v140-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:12px}
.home-v140-card{min-width:0;background:linear-gradient(145deg,#233248,#1d273b);border:1px solid #526783;border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
.home-v140-card-top{padding:11px 12px;font-size:11px;color:#c3daec;font-weight:700;letter-spacing:.03em}
.home-v140-photo{height:190px;background:linear-gradient(120deg,#2c3c53,#31304d);display:grid;place-items:center;color:#b6c4d5;font-size:12px;overflow:hidden;text-align:center}
.home-v140-photo img{width:100%;height:100%;object-fit:cover}
.home-v140-card-body{padding:14px;display:flex;flex-direction:column;gap:7px;flex:1}
.home-v140-card-body h3{font-size:16px;line-height:1.4;overflow-wrap:anywhere}
.home-v140-card-body p{font-size:12px;color:#d8e1ef;margin:0;line-height:1.5;overflow-wrap:anywhere}
.home-v140-card-body .home-v140-artist,.home-v140-card-body .home-v140-muted{color:#acbdd5}
.home-v140-card-body .home-v140-state{color:#ffd5a2}
.home-v140-link{margin-top:auto;display:block;border-radius:10px;border:1px solid #7894b3;padding:10px;color:#c8e2ff;text-align:center;font-size:12px;font-weight:700}
.home-v140-empty{grid-column:1/-1;padding:28px;border:1px dashed #536a89;border-radius:14px;text-align:center;color:#b5c8dd}
#home-v140-more{margin:16px 0;min-height:44px}.home-v140-disclaimer{font-size:11px;color:#9fb6d4;margin:20px 0}
#home-v140-sports .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
@media(min-width:900px){.home-v140-grid,#home-v140-sports .cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1190px){.home-v140-grid,#home-v140-sports .cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1500px){.home-v140-grid,#home-v140-sports .cards{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:650px){#home-market-directory-v140{padding:16px 12px 8px}.home-v140-categories{gap:6px}.home-v140-tab{font-size:12px;min-height:49px;padding:8px 2px}.home-v140-grid,#home-v140-sports .cards{grid-template-columns:1fr}.home-v140-photo{height:205px}.home-v140-links a{flex:1;text-align:center}.home-v140-tools{gap:10px}}
@media(min-width:520px) and (max-width:650px){.home-v140-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Currency card polish for home / my pages */
.fv-currency-topline{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:6px}
.fv-currency-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;border:1px solid #6d85a4;background:#26374f;color:#e5eefc;font-size:11px;font-weight:700;line-height:1.2}
.fv-currency-chip.is-soft{background:#213145;color:#cfe1f4}
.fv-currency-chip.is-good{background:#1f4a3d;color:#d8fff1;border-color:#5bb79a}
.fv-currency-chip.is-warn{background:#513c20;color:#ffe4b6;border-color:#b9975f}
.fv-currency-chip.is-muted{background:#253145;color:#c7d4e7;border-color:#596c87}
.fv-currency-summary{font-size:13px!important;color:#f3f7ff!important;font-weight:600}
.fv-currency-amount{display:block;font-size:22px;color:#f5fbff;font-weight:800;letter-spacing:-.03em;margin:2px 0 4px}
.fv-currency-subamount{font-size:12px;color:#9fd6c7!important}
.fv-currency-meta{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:8px 0 10px}
.fv-currency-meta-row{display:flex;justify-content:space-between;gap:12px;padding:9px 10px;border-radius:12px;background:#1a2537;border:1px solid #425878}
.fv-currency-meta-row span{font-size:11px;color:#a9bfd8;text-transform:none}
.fv-currency-meta-row strong{font-size:12px;color:#eef4ff;text-align:right;overflow-wrap:anywhere}
.fv-currency-note{margin-top:2px;padding:10px 12px;border-radius:12px;background:#172636;border:1px solid #405d76;color:#c9d7ea;font-size:12px;line-height:1.5}
.fv-currency-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:4px}
.fv-currency-actions .secondary,.fv-currency-actions .home-v140-link,.fv-currency-actions a{flex:1;min-height:40px;display:flex;align-items:center;justify-content:center;text-align:center;padding:10px 12px;border-radius:10px;border:1px solid #7894b3;background:#202d42;color:#d9ebff;font-size:12px;font-weight:700;text-decoration:none}
.fv-currency-actions button{flex:1;min-height:40px}
.fv-currency-actions .primary-action{background:linear-gradient(125deg,#376577,#554b7e);border-color:#b5dce9;color:#fff}
.fv-currency-receipt{margin-top:8px;padding:10px 12px;border:1px solid #425878;border-radius:12px;background:#182537}
.fv-currency-receipt summary{cursor:pointer;font-weight:700;color:#e7f0ff}
.fv-currency-receipt p{margin:8px 0 0!important}
.fv-currency-selection{display:inline-flex;align-items:center;justify-content:center;min-width:54px;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.02em}
.fv-currency-selection.is-yes{background:#1d5b42;color:#dcfff2;border:1px solid #5dbb96}
.fv-currency-selection.is-no{background:#5d2e3d;color:#ffdce7;border:1px solid #d18aa2}
@media(max-width:520px){.fv-currency-meta-row{flex-direction:column;align-items:flex-start}.fv-currency-meta-row strong{text-align:left}.fv-currency-actions{flex-direction:column}}
