/* Daily Market storefront v74. Scoped to the Player Portal market page. */
.network-page[data-network-account-page="daily-market"] {
  --dm-ink:#15242b;
  --dm-muted:#5d7078;
  --dm-gold:#efc77e;
  --dm-border:#cbd3d3;
}
.network-page[data-network-account-page="daily-market"] .tp-market-hero *,
.network-page[data-network-account-page="daily-market"] .tp-market-summary *,
.network-page[data-network-account-page="daily-market"] .tp-market-showcase * {
  box-sizing:border-box;
}
.tp-market-hero {
  isolation:isolate;
  overflow:hidden;
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(220px,.6fr);
  align-items:center;
  gap:26px;
  min-height:285px;
  margin:24px 0 18px;
  padding:36px clamp(22px,4vw,48px);
  border:1px solid #42616b;
  border-radius:24px;
  background:
    radial-gradient(circle at 86% 52%,rgba(237,183,94,.15),transparent 32%),
    radial-gradient(circle at 0% 100%,rgba(37,117,113,.18),transparent 37%),
    linear-gradient(125deg,#101c23 0%,#1a3038 65%,#102028 100%);
  color:#f7f6f1;
  box-shadow:0 20px 40px rgba(23,37,42,.16);
}
.tp-market-hero::before {
  content:"";position:absolute;z-index:-1;inset:0;opacity:.24;pointer-events:none;
  background:repeating-linear-gradient(110deg,transparent 0,transparent 45px,rgba(245,208,145,.13) 46px,transparent 47px);
}
.tp-market-kicker {display:inline-flex;gap:8px;align-items:center;color:#b7e4d4;font-size:.72rem;font-weight:850;letter-spacing:.17em;text-transform:uppercase}
.tp-market-kicker-dot {height:8px;width:8px;background:#84d5b3;border-radius:100%;box-shadow:0 0 0 4px rgba(132,213,179,.12)}
.tp-market-hero h2 {color:#fff!important;font-size:clamp(2.6rem,5.7vw,4.45rem)!important;font-weight:900!important;letter-spacing:-.06em;line-height:1.02;margin:14px 0!important}
.tp-market-hero h2 em {font-style:normal;color:#f2c77b}
.tp-market-hero p {max-width:665px;color:#d9e4e7!important;line-height:1.65;font-size:1rem;margin:0!important}
.tp-market-hero-tags {display:flex;gap:9px;flex-wrap:wrap;margin-top:25px}
.tp-market-hero-tags span {display:inline-flex;border-radius:999px;background:rgba(255,255,255,.09);color:#e5eced;padding:8px 12px;border:1px solid rgba(210,238,230,.22);font-size:.74rem;font-weight:750}
.tp-market-hero-seal {justify-self:center;width:195px;height:195px;border:1px solid rgba(242,199,123,.66);outline:1px solid rgba(242,199,123,.3);outline-offset:8px;border-radius:50%;background:radial-gradient(circle,#253941 0%,#0e1b22 72%);box-shadow:0 10px 35px rgba(0,0,0,.3),inset 0 0 0 8px rgba(242,199,123,.06);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#f1d6a7;transform:rotate(-9deg)}
.tp-market-seal-top,.tp-market-seal-bottom {font-size:.64rem;font-weight:900;letter-spacing:.16em}
.tp-market-hero-seal strong {font-size:2.55rem;color:#f8efd9;letter-spacing:-.06em;line-height:1.15}
.tp-market-hero-seal strong span {color:#a4b8bb;font-size:1.3rem}
.tp-market-summary {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 36px}
.tp-market-stat {min-width:0;display:flex;align-items:flex-start;gap:12px;min-height:113px;padding:19px 16px;border:1px solid #c9d2d4;border-radius:15px;background:#fffefb;box-shadow:0 6px 18px rgba(19,41,43,.05)}
.tp-market-stat-symbol {flex:0 0 35px;width:35px;height:35px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#e8f0ed;color:#296559;font-size:1.2rem;font-weight:900}
.tp-market-stat-time .tp-market-stat-symbol {background:#faedd5;color:#805b22}
.tp-market-stat-copy {min-width:0;display:flex;flex-direction:column;gap:4px}
.tp-market-stat-copy>span {color:#577078;font-size:.72rem;font-weight:850;letter-spacing:.04em;text-transform:uppercase;line-height:1.25}
.tp-market-stat-copy>strong {font-size:clamp(1.03rem,1.8vw,1.5rem);font-weight:900;color:#192d33;line-height:1.3;font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:anywhere}
.tp-market-stat-copy>small {color:#63747a;font-size:.71rem;line-height:1.35}
.tp-market-section {margin:0 0 34px}
.tp-market-section-head {display:flex;justify-content:space-between;align-items:end;gap:18px;flex-wrap:wrap;margin-bottom:19px}
.tp-market-section-eyebrow {display:block;color:#ecb570;font-size:.72rem;font-weight:900;letter-spacing:.15em;text-transform:uppercase;margin-bottom:6px}
.tp-market-section-head h2 {margin:0!important;color:#f1f7f7!important;font-size:clamp(1.5rem,2.6vw,2rem)!important;letter-spacing:-.03em;line-height:1.18}
.tp-market-section-head p {margin:7px 0 0;color:#bacbd0;font-size:.92rem}
.tp-market-section-meta {font-size:.78rem;color:#b5c8ce;font-weight:750}
.tp-market-featured-section {margin:0 0 40px}
.tp-market-featured-section[hidden] {display:none!important}
.tp-market-featured-card {position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(180px,.78fr) minmax(0,1.45fr);min-height:305px;border:1px solid #806440;border-radius:21px;color:#fdf8ec;background:linear-gradient(120deg,#17262c,#213943 65%,#192a31);box-shadow:0 17px 37px rgba(20,32,39,.17)}
.tp-market-featured-card::before {content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(circle at 18% 47%,rgba(244,195,117,.18),transparent 37%)}
.tp-market-featured-visual {min-height:285px;position:relative;display:flex;align-items:center;justify-content:center;border-right:1px solid rgba(239,199,126,.24);background:repeating-linear-gradient(135deg,rgba(245,193,109,.025),rgba(245,193,109,.025) 2px,transparent 2px,transparent 18px)}
.tp-market-featured-ring {display:flex;align-items:center;justify-content:center;width:180px;height:180px;border-radius:50%;border:1px solid rgba(239,199,126,.55);box-shadow:0 0 0 12px rgba(239,199,126,.08),0 0 0 25px rgba(239,199,126,.035),inset 0 0 35px rgba(0,0,0,.22);font-size:5.3rem}
.tp-market-featured-visual>span {position:absolute;top:23px;left:24px;color:#edd19a;font-size:.73rem;letter-spacing:.17em;font-weight:950;text-transform:uppercase}
.tp-market-featured-copy {padding:29px clamp(21px,3.5vw,43px);display:flex;flex-direction:column;align-items:start}
.tp-market-featured-copy .tp-market-card-top {width:100%}
.tp-market-featured-copy h3 {font-size:clamp(1.55rem,3vw,2.35rem)!important;line-height:1.17!important;color:#fff!important;margin:17px 0 9px!important;font-weight:900!important;overflow-wrap:anywhere}
.tp-market-featured-copy .tp-market-descriptor {color:#d6e4e4!important;font-size:.94rem;margin:0 0 17px}
.tp-market-featured-copy .tp-market-card-bottom {width:100%;margin-top:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,230px);gap:13px;align-items:center}
.tp-market-featured-copy .tp-market-price {color:#f6d493}
.tp-market-featured-copy .tp-market-buy {background:#e0b46a;color:#1e261e;border-color:#f3cf8c}
.tp-market-featured-copy .tp-market-buy:not(:disabled):hover {background:#f5cb81;color:#17211a}
.tp-market-featured-copy .tp-market-status {grid-column:1/-1;color:#c4d8d6}
.tp-market-listings {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.tp-market-card {position:relative;isolation:isolate;display:flex;flex-direction:column;min-width:0;min-height:315px;padding:23px;border:1px solid #45616d;border-radius:17px;background:linear-gradient(155deg,#1a2d36,#13212a 80%);box-shadow:0 12px 27px rgba(24,41,47,.14);color:#f8fafd;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease}
.tp-market-card:not(.is-purchased):hover {transform:translateY(-3px);box-shadow:0 17px 32px rgba(18,34,42,.22)}
.tp-market-card::before {content:"";height:4px;position:absolute;inset:0 0 auto;background:#87aaa8}
.tp-market-card[data-category="CRAFTED"]::before {background:#73c4b0}
.tp-market-card[data-category="GEAR"]::before {background:#f1bf70}
.tp-market-card.is-purchased {background:linear-gradient(145deg,#26333c,#202932);border-color:#5b6a70}
.tp-market-card-top {display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;flex-wrap:wrap}
.tp-market-card-index {color:#b9c8d0;font-size:.69rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase;font-variant-numeric:tabular-nums}
.tp-market-type,.tp-market-rarity {display:inline-flex;align-items:center;justify-content:center;max-width:100%;border-radius:999px;padding:5px 10px;font-weight:900;font-size:.66rem;letter-spacing:.07em;text-transform:uppercase;background:#2b4752;color:#e2f3f6;border:1px solid #577887;line-height:1.4}
.tp-market-card[data-category="CRAFTED"] .tp-market-type {background:#244d45;color:#c9f8e8;border-color:#518a77}
.tp-market-card[data-category="GEAR"] .tp-market-type,.tp-market-featured-card .tp-market-type {background:#4c3d29;color:#ffe8b8;border-color:#a28554}
.tp-market-card[data-category="INGREDIENT"] .tp-market-rarity {background:#264439;color:#bfeaca;border-color:#456b59}
.tp-market-card[data-category="CRAFTED"] .tp-market-rarity {background:#284653;color:#d1ecf6;border-color:#50717f}
.tp-market-card-body {display:flex;flex-direction:column;align-items:start;flex:1;min-width:0}
.tp-market-icon-wrap {display:flex;align-items:center;justify-content:center;width:65px;height:65px;border-radius:16px;border:1px solid rgba(166,206,211,.24);background:linear-gradient(140deg,rgba(255,255,255,.11),rgba(255,255,255,.025));margin:21px 0 17px}
.tp-market-icon {font-size:2.3rem;line-height:1}
.tp-market-card h3 {margin:0 0 9px!important;font-size:1.22rem!important;line-height:1.35!important;font-weight:900!important;color:#fff!important;overflow-wrap:anywhere}
.tp-market-descriptor {color:#c8d9e0!important;line-height:1.55;font-size:.83rem;margin:0 0 16px!important}
.tp-market-card .tp-market-rarity {margin:0 0 15px}
.tp-market-card-bottom {margin-top:auto;width:100%;display:flex;flex-direction:column;gap:10px}
.tp-market-price {display:flex;gap:7px;align-items:baseline;flex-wrap:wrap;color:#ffdc9e;font-size:1.48rem;font-weight:950;letter-spacing:-.025em;line-height:1.15;font-variant-numeric:tabular-nums}
.tp-market-price small {font-size:.72rem;color:#cbd8da;font-weight:750;letter-spacing:normal}
.tp-market-buy {border:1px solid #86c6b0;border-radius:10px;background:#368766;color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;width:100%;padding:11px 15px;font:inherit;font-size:.88rem;font-weight:900;line-height:1.25;text-align:center;cursor:pointer;transition:background .16s ease,transform .16s ease}
.tp-market-buy:not(:disabled):hover {background:#49a17d;color:#fff;transform:translateY(-1px)}
.tp-market-buy:focus-visible,.tp-market-refresh:focus-visible,.tp-market-links a:focus-visible {outline:3px solid #e3a948;outline-offset:3px}
.tp-market-buy:disabled {background:#394953;color:#e1e7e7;border-color:#60737b;cursor:default;opacity:1}
.tp-market-status {display:block;color:#bed4da;font-size:.73rem;line-height:1.45}
.tp-market-status.is-complete {color:#f0d39b}
.tp-market-status.is-short {color:#f4c6b2}
.tp-market-purchased-ribbon {position:absolute;z-index:1;right:-37px;top:29px;transform:rotate(37deg);width:158px;text-align:center;background:#f3c17b;color:#28332b;font-size:.62rem;font-weight:950;letter-spacing:.1em;text-transform:uppercase;padding:7px}
.tp-market-featured-card .tp-market-purchased-ribbon {right:-35px}
.tp-market-refresh {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;border-radius:10px;border:1px solid #8b9da0;background:#fffdf9;padding:10px 16px;color:#203740;font:inherit;font-size:.85rem;font-weight:850;cursor:pointer}
.tp-market-refresh:not(:disabled):hover {background:#e6f0ed;border-color:#477a71}
.tp-market-refresh:disabled {opacity:.55;cursor:wait}
.tp-market-refresh>span {font-size:1.2rem;line-height:1}
.tp-market-loading {grid-column:1/-1;min-height:145px;display:flex;align-items:center;justify-content:center;padding:28px;border-radius:15px;border:1px dashed #a0b0b3;background:#fafbf8;color:#334e56;font-weight:750}
.tp-market-footer {display:flex;flex-wrap:wrap;gap:18px;align-items:center;justify-content:space-between;margin:24px 0 42px;padding:25px 28px!important}
.tp-market-footer-copy {flex:1 1 470px}
.tp-market-footer h2 {margin:0 0 8px!important;font-size:1.36rem!important}
.tp-market-footer p {line-height:1.65;margin:0!important;max-width:740px}
.tp-market-links {display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.tp-market-links a {white-space:nowrap;font-size:.81rem}
.network-page[data-network-account-page="daily-market"] .network-account-message {border:1px solid #b5d3bb;box-shadow:0 4px 14px rgba(0,0,0,.05);font-weight:750}
@media(max-width:1100px) {
  .tp-market-summary {grid-template-columns:repeat(2,minmax(0,1fr))}
  .tp-market-listings {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:740px) {
  .tp-market-hero {grid-template-columns:1fr;min-height:unset;padding:29px 24px}
  .tp-market-hero-seal {display:none}
  .tp-market-featured-card {grid-template-columns:1fr}
  .tp-market-featured-visual {min-height:155px;border-right:0;border-bottom:1px solid rgba(239,199,126,.2)}
  .tp-market-featured-ring {height:115px;width:115px;font-size:3.25rem}
  .tp-market-featured-copy {padding:25px}
}
@media(max-width:570px) {
  .tp-market-hero {margin-top:17px;padding:25px 18px}
  .tp-market-hero-tags span {font-size:.68rem}
  .tp-market-summary {gap:9px;margin-bottom:27px}
  .tp-market-stat {padding:13px;gap:8px;min-height:105px}
  .tp-market-stat-symbol {display:none}
  .tp-market-stat-copy>strong {font-size:1.03rem}
  .tp-market-section-head {align-items:start}
  .tp-market-listings {grid-template-columns:1fr;gap:13px}
  .tp-market-card {min-height:277px;padding:19px}
  .tp-market-icon-wrap {width:54px;height:54px;margin:14px 0}
  .tp-market-featured-copy .tp-market-card-bottom {grid-template-columns:1fr}
  .tp-market-featured-copy .tp-market-status {grid-column:auto}
  .tp-market-footer {padding:20px!important}
}
@media(prefers-reduced-motion:reduce){.tp-market-card,.tp-market-buy{transition:none}.tp-market-card:not(.is-purchased):hover,.tp-market-buy:not(:disabled):hover{transform:none}}

.network-page[data-network-account-page="daily-market"] .tp-market-footer .tp-market-section-eyebrow {color:#9c4630}
