/* t38u – marketplace polish: footer support card, premium tags, cards, article page */

/* ---------- footer support card (footer is always dark) ---------- */
.footer-grid .sup-card { margin-top: 18px; padding: 18px 18px 14px; border-radius: 20px; background: linear-gradient(160deg, rgba(226, 177, 90, .14), rgba(255, 255, 255, .03) 60%); border: 1px solid rgba(226, 177, 90, .28); max-width: 420px; }
.footer-grid .sup-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.footer-grid .sup-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(226, 177, 90, .18); color: #f0c36d; font-size: 1.05rem; }
.footer-grid .sup-card h2 { margin: 2px 0 4px; font-family: Fraunces, Georgia, serif; font-size: 1.12rem; font-weight: 600; color: #f7f3ea; letter-spacing: 0; }
.footer-grid .sup-card .sup-text { margin: 0; font-size: .9rem; color: #d9d0c2; line-height: 1.45; }
.footer-grid .sup-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-grid .sup-list li { display: flex; gap: 12px; align-items: flex-start; }
.footer-grid .sup-list li > i { flex: none; width: 18px; margin-top: 14px; color: #e2b15a; text-align: center; font-size: .9rem; }
.footer-grid .sup-list a { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 44px; margin: 0; padding: 4px 8px; border-radius: 10px; color: #f7f3ea; font-weight: 600; overflow-wrap: anywhere; text-decoration: none; transition: background .15s ease; }
.footer-grid .sup-list a:hover, .footer-grid .sup-list a:focus-visible { background: rgba(255, 255, 255, .08); color: #fff; }
.footer-grid .sup-list .sup-k, .footer-grid .sup-hours .sup-k { display: block; margin: 0; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #e2b15a; }
.footer-grid .sup-hours > div { padding: 6px 8px; }
.footer-grid .sup-hours p { margin: 2px 0 0; color: #f1ebe0; font-size: .92rem; }
@media (max-width: 760px) {
  .footer-grid .sup-card { max-width: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- tag tones (accent only on icons/borders; text stays --ink) ---------- */
.tg-gold { --tg: #94600f; } .tg-plum { --tg: #7a3d8f; } .tg-amber { --tg: #a24d0b; } .tg-blue { --tg: #1f5c99; }
.tg-teal { --tg: #0f6b66; } .tg-green { --tg: #2b6e2f; } .tg-rose { --tg: #a3324f; } .tg-slate { --tg: #4a5560; }
html[data-theme="dark"] .tg-gold { --tg: #f0c36d; } html[data-theme="dark"] .tg-plum { --tg: #d6a6e8; }
html[data-theme="dark"] .tg-amber { --tg: #ffb072; } html[data-theme="dark"] .tg-blue { --tg: #8cc2ff; }
html[data-theme="dark"] .tg-teal { --tg: #6fd6cf; } html[data-theme="dark"] .tg-green { --tg: #9ad89c; }
html[data-theme="dark"] .tg-rose { --tg: #ff9fb6; } html[data-theme="dark"] .tg-slate { --tg: #b9c4cf; }

/* chip */
.tg { --tg: #4a5560; display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 4px 12px 4px 5px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--tg) 30%, transparent); background: color-mix(in srgb, var(--tg) 8%, var(--card)); color: var(--ink); font-size: .86rem; font-weight: 600; line-height: 1.1; text-decoration: none; white-space: nowrap; transition: background .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.tg.tg-gold { --tg: #94600f; } .tg.tg-plum { --tg: #7a3d8f; } .tg.tg-amber { --tg: #a24d0b; } .tg.tg-blue { --tg: #1f5c99; }
.tg.tg-teal { --tg: #0f6b66; } .tg.tg-green { --tg: #2b6e2f; } .tg.tg-rose { --tg: #a3324f; } .tg.tg-slate { --tg: #4a5560; }
html[data-theme="dark"] .tg.tg-gold { --tg: #f0c36d; } html[data-theme="dark"] .tg.tg-plum { --tg: #d6a6e8; }
html[data-theme="dark"] .tg.tg-amber { --tg: #ffb072; } html[data-theme="dark"] .tg.tg-blue { --tg: #8cc2ff; }
html[data-theme="dark"] .tg.tg-teal { --tg: #6fd6cf; } html[data-theme="dark"] .tg.tg-green { --tg: #9ad89c; }
html[data-theme="dark"] .tg.tg-rose { --tg: #ff9fb6; } html[data-theme="dark"] .tg.tg-slate { --tg: #b9c4cf; }
.tg > i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--tg); color: var(--card); font-size: .68rem; flex: none; }
.tg .tg-count { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; background: color-mix(in srgb, var(--tg) 15%, var(--card)); color: var(--ink); font-size: .72rem; font-weight: 700; }
.tg:hover, .tg:focus-visible { background: color-mix(in srgb, var(--tg) 16%, var(--card)); border-color: color-mix(in srgb, var(--tg) 55%, transparent); color: var(--ink); transform: translateY(-1px); box-shadow: 0 6px 16px color-mix(in srgb, var(--tg) 18%, transparent); }
.tg.is-on { background: var(--tg); border-color: var(--tg); color: #fff; }
.tg.is-on > i { background: #fff; color: var(--tg); }
.tg.is-on .tg-count { background: rgba(0, 0, 0, .3); color: #fff; }
html[data-theme="dark"] .tg.is-on { color: #101411; }
html[data-theme="dark"] .tg.is-on > i { background: #101411; }
html[data-theme="dark"] .tg.is-on .tg-count { background: rgba(16, 20, 17, .18); color: #101411; }
.tg.is-on:hover { background: var(--tg); color: #fff; }
html[data-theme="dark"] .tg.is-on:hover { color: #101411; }
.tg.tg-reset { --tg: var(--muted); background: var(--card); border-style: dashed; }
.tg.tg-reset > i { background: color-mix(in srgb, var(--ink) 12%, var(--card)); color: var(--ink); }

/* tile */
.tgt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.tgt { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 16px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--tg) 22%, var(--line)); background: linear-gradient(135deg, color-mix(in srgb, var(--tg) 9%, var(--card)), var(--card) 70%); color: var(--ink); text-decoration: none; box-shadow: 0 1px 0 var(--line); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease; }
.tgt-ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: color-mix(in srgb, var(--tg) 14%, var(--card)); color: var(--tg); font-size: 1.15rem; border: 1px solid color-mix(in srgb, var(--tg) 25%, transparent); transition: background .18s ease, color .18s ease; }
.tgt-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.tgt-text strong { font-size: 1rem; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tgt-text small { color: var(--muted); font-size: .82rem; }
.tgt-go { color: var(--muted); font-size: .85rem; transition: transform .18s ease, color .18s ease; }
.tgt:hover, .tgt:focus-visible { color: var(--ink); transform: translateY(-2px); border-color: color-mix(in srgb, var(--tg) 50%, transparent); box-shadow: 0 14px 30px color-mix(in srgb, var(--tg) 16%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--tg) 15%, var(--card)), var(--card) 75%); }
.tgt:hover .tgt-ico, .tgt:focus-visible .tgt-ico { background: var(--tg); color: var(--card); }
.tgt:hover .tgt-go, .tgt:focus-visible .tgt-go { transform: translateX(3px); color: var(--ink); }
.tgt:hover .tgt-text small { color: var(--muted); }

/* ---------- start page hero ---------- */
.hero.hx { padding-bottom: 6px; align-items: center; }
.hx .hx-lede { font-size: 1.08rem; color: var(--muted); max-width: 52ch; margin: 0 0 22px; }
.hx-search { display: flex; align-items: center; gap: 8px; max-width: 620px; padding: 6px 6px 6px 18px; border-radius: 999px; background: var(--card); border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); box-shadow: 0 18px 40px rgba(28, 25, 21, .08); transition: border-color .15s ease, box-shadow .15s ease; }
.hx-search:focus-within { border-color: var(--brand-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-2) 20%, transparent), 0 18px 40px rgba(28, 25, 21, .08); }
.hx-search > i { color: var(--muted); }
.hx-search input { flex: 1; min-width: 0; min-height: 46px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 1rem; padding: 0 4px; box-shadow: none; outline: none; }
.hx-search input::placeholder { color: var(--muted); opacity: 1; }
.hx-search .btn { min-height: 46px; padding: 0 22px; border-radius: 999px; }
.hx-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
.hx-ctas .btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 600; }
.btn.hx-offer, a.btn.hx-offer { background: #e2b15a; color: #22180a; border: 1px solid #c89640; }
.btn.hx-offer:hover, a.btn.hx-offer:hover, .btn.hx-offer:focus-visible { background: #f0c36d; color: #22180a; border-color: #b8873a; }
.hx-stats { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 24px 0 0; padding: 0; }
.hx-stats li { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border-radius: 16px; background: color-mix(in srgb, var(--card) 80%, transparent); border: 1px solid var(--line); }
.hx-stats li > i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: color-mix(in srgb, var(--gold) 16%, var(--card)); color: var(--gold); font-size: .9rem; }
.hx-stats strong { font-family: Fraunces, Georgia, serif; font-size: 1.35rem; font-weight: 620; line-height: 1; }
.hx-stats span { color: var(--muted); font-size: .86rem; }

/* section rhythm */
.hx-tags, .mk-section { margin-top: 44px; }
.mk-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.mk-head h2 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.mk-head .kicker { margin: 0 0 4px; }
.mk-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; color: var(--brand-2); font-weight: 650; text-decoration: none; white-space: nowrap; }
.mk-more:hover, .mk-more:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.mk-more i { transition: transform .15s ease; }
.mk-more:hover i { transform: translateX(3px); }
.news-strip.nw-strip { margin-top: 44px; }

/* ---------- article cards ---------- */
.mk-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.card.item.mk-card { position: relative; padding: 0; gap: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card.item.mk-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px rgba(28, 25, 21, .14); border-color: color-mix(in srgb, var(--gold) 40%, var(--line)); }
html[data-theme="dark"] .card.item.mk-card:hover { box-shadow: 0 26px 50px rgba(0, 0, 0, .5); }
.card.item.mk-card:has(.mk-link:focus-visible) { border-color: var(--brand-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-2) 35%, transparent); }
.mk-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.mk-card .mk-media .thumb { display: block; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-fit: cover; transition: transform .4s ease; }
.mk-card:hover .mk-media img.thumb { transform: scale(1.04); }
.mk-ph { display: grid !important; place-items: center; background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--tg, var(--gold)) 22%, var(--card)), color-mix(in srgb, var(--tg, var(--gold)) 6%, var(--bg-2)) 70%) !important; color: var(--tg, var(--gold)); font-size: 2.6rem; }
.mk-ph i { opacity: .85; }
.mk-badge { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .84rem; font-weight: 700; box-shadow: 0 8px 20px rgba(0, 0, 0, .22); }
.mk-badge.is-price { background: #12352c; color: #fff; }
.mk-badge.is-tickets { background: #f3d08a; color: #2a1d05; }
.mk-flag { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #f3d08a; color: #2a1d05; font-size: .78rem; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.mk-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 14px 16px 14px; }
.mk-title { margin: 0; font-size: 1.1rem; line-height: 1.2; }
.mk-link { color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mk-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.mk-link:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 4px; }
.mk-card .mk-sub { margin: 0; font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mk-tags { display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 2; }
.mk-tags .tg { min-height: 28px; padding: 2px 10px 2px 3px; font-size: .76rem; gap: 6px; }
.mk-tags .tg > i { width: 22px; height: 22px; font-size: .62rem; }
.mk-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 10px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .84rem; }
.mk-foot i { color: var(--gold); margin-right: 3px; }
.mk-cond, .mk-seller { display: inline-flex; align-items: center; gap: 2px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- listing headers ---------- */
.mk-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 18px 0 10px; color: var(--muted); font-size: .86rem; }
.mk-crumbs a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.mk-crumbs a:hover { color: var(--ink); text-decoration: underline; }
.mk-crumbs i { font-size: .6rem; opacity: .7; }
.mk-crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.mk-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; margin: 0 0 20px; padding: 26px 28px; border-radius: 26px; border: 1px solid color-mix(in srgb, var(--tg) 24%, var(--line)); background: radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--tg) 16%, transparent), transparent 55%), var(--card); box-shadow: var(--shadow); }
.mk-hero-ico { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 22px; background: var(--tg); color: var(--card); font-size: 1.7rem; box-shadow: 0 14px 30px color-mix(in srgb, var(--tg) 30%, transparent); }
.mk-hero .kicker { margin: 0 0 4px; }
.mk-hero h1 { margin: 0 0 6px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.02; overflow-wrap: anywhere; }
.mk-hero-text { margin: 0; color: var(--muted); max-width: 62ch; }
.mk-hero-count { margin: 0; text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.mk-hero-count strong { font-family: Fraunces, Georgia, serif; font-size: 2.6rem; font-weight: 620; line-height: 1; }
.mk-hero-count span { color: var(--muted); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.mk-hero-search .hx-search { margin-top: 12px; box-shadow: none; }

.mk-toolbar { display: flex; flex-direction: column; gap: 14px; margin: 0 0 22px; }
.mk-seg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.mk-seg-label { color: var(--muted); font-size: .84rem; font-weight: 600; }
.mk-seg-track { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 4px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 6%, var(--card)); border: 1px solid var(--line); }
.mk-seg-opt { display: inline-flex; align-items: center; min-height: 36px; padding: 0 15px; border-radius: 999px; color: var(--ink); font-size: .88rem; font-weight: 550; text-decoration: none; transition: background .15s ease, color .15s ease; }
.mk-seg-opt:hover, .mk-seg-opt:focus-visible { background: var(--card); color: var(--ink); }
.mk-seg-opt.is-on { background: var(--brand); color: #f7f3ea; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); }
html[data-theme="dark"] .mk-seg-opt.is-on { color: #14201b; }
.mk-seg-opt.is-on:hover { background: var(--brand); color: #f7f3ea; }
html[data-theme="dark"] .mk-seg-opt.is-on:hover { color: #14201b; }
.mk-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.mk-filter-label { color: var(--muted); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 650; }
.mk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-find { display: flex; align-items: center; gap: 10px; max-width: 440px; padding: 0 6px 0 16px; border-radius: 999px; background: var(--card); border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.mk-find:focus-within { border-color: var(--brand-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-2) 20%, transparent); }
.mk-find i { color: var(--muted); }
.mk-find input { flex: 1; min-height: 46px; border: 0; background: transparent; color: var(--ink); font: inherit; outline: none; box-shadow: none; }
.mk-find input::placeholder { color: var(--muted); opacity: 1; }
.mk-find-status { margin: 0; min-height: 1.2em; }
.tgt-grid.is-all { margin-bottom: 10px; }
.tgt-cell[hidden] { display: none; }

.mk-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 44px 22px; border-radius: 24px; border: 1px dashed color-mix(in srgb, var(--ink) 22%, transparent); background: color-mix(in srgb, var(--card) 70%, transparent); }
.mk-empty-ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: color-mix(in srgb, var(--gold) 16%, var(--card)); color: var(--gold); font-size: 1.4rem; }
.mk-empty-title { margin: 6px 0 0; font-family: Fraunces, Georgia, serif; font-size: 1.3rem; font-weight: 600; }
.mk-empty .meta { margin: 0 0 6px; max-width: 46ch; }

@media (max-width: 760px) {
  .hx-search { padding-left: 14px; }
  .hx-search .btn { padding: 0 16px; }
  .hx-ctas .btn { flex: 1 1 auto; justify-content: center; }
  .hx-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hx-stats li { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 12px; }
  .hx-stats span { font-size: .76rem; line-height: 1.2; }
  .hx-tags, .mk-section, .news-strip.nw-strip { margin-top: 34px; }
  .tgt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tgt { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; min-height: 0; }
  .tgt-go { display: none; }
  .tgt-text strong { white-space: normal; overflow-wrap: anywhere; }
  .mk-hero { grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; padding: 20px 18px; }
  .mk-hero-ico { width: 52px; height: 52px; border-radius: 16px; font-size: 1.3rem; align-self: start; }
  .mk-hero-count { grid-column: 1 / -1; flex-direction: row; align-items: baseline; gap: 8px; text-align: left; }
  .mk-hero-count strong { font-size: 1.8rem; }
  .mk-hero-search { grid-template-columns: minmax(0, 1fr); }
  .mk-hero-search .mk-hero-ico { display: none; }
  .mk-hero-copy { min-width: 0; }
  .hero.hx .hero-card { display: none; }
  .mk-grid { grid-template-columns: 1fr; }
  .mk-seg-track { width: 100%; }
  .mk-seg-opt { flex: 1 1 auto; justify-content: center; min-height: 44px; }
  .tg { min-height: 40px; }
  .mk-tags .tg { min-height: 30px; }
}
@media (min-width: 520px) and (max-width: 760px) {
  .mk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .tg, .tgt, .card.item.mk-card, .mk-card .mk-media .thumb { transition: none; }
  .card.item.mk-card:hover, .tgt:hover, .tg:hover { transform: none; }
  .mk-card:hover .mk-media img.thumb { transform: none; }
}

/* ---------- t38u T3: article page ---------- */
.pdx-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(330px, .85fr); grid-template-areas: "head side" "gallery side" "info side"; grid-template-rows: auto auto 1fr; column-gap: 40px; row-gap: 22px; align-items: start; }
.pdx-head { grid-area: head; display: grid; gap: 12px; min-width: 0; }
.pdx-gallery { grid-area: gallery; position: static; top: auto; min-width: 0; }
.pdx-side { grid-area: side; display: grid; gap: 16px; min-width: 0; align-self: start; }
.pdx-info { grid-area: info; min-width: 0; }
.pdx-head .pd-subject, .pdx-head .pd-by { margin: 0; }
@media (min-width: 961px) and (min-height: 640px) {
  .pdx-side { position: sticky; top: 156px; }
  .pdx-side.is-static { position: static; }
}
.pdx-stage-wrap { position: relative; }
.pdx-stage-wrap .pd-stage { aspect-ratio: 4 / 3; }
.pdx-stage-wrap .pd-stage:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; }
.pdx-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(12, 25, 22, .72); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .18s ease, background .18s ease; z-index: 2; }
.pdx-nav.is-prev { left: 14px; }
.pdx-nav.is-next { right: 14px; }
.pdx-stage-wrap:hover .pdx-nav, .pdx-nav:focus-visible { opacity: 1; }
.pdx-nav:hover { background: rgba(12, 25, 22, .92); color: #fff; }
.pdx-count { position: absolute; left: 14px; bottom: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(12, 25, 22, .78); color: #fff; font-size: .82rem; font-weight: 600; pointer-events: none; }
.pd-zoom { pointer-events: none; }
.pdx-gallery .pd-thumbs { margin-top: 12px; }
.pdx-gallery .pd-thumbs a { transition: border-color .15s ease, transform .15s ease; }
.pdx-gallery .pd-thumbs a:hover { transform: translateY(-2px); }
.pdx-noimg { --tg: var(--gold); aspect-ratio: 4 / 3; gap: 14px; background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--tg) 20%, var(--card)), color-mix(in srgb, var(--tg) 5%, var(--bg-2)) 70%) !important; color: var(--muted); text-align: center; padding: 20px; }
.pdx-noimg-ico { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 28px; background: color-mix(in srgb, var(--tg) 16%, var(--card)); color: var(--tg); border: 1px solid color-mix(in srgb, var(--tg) 30%, transparent); }
.pdx-noimg-ico i { font-size: 2.4rem; opacity: 1; }
.pdx-noimg > span:last-child { color: var(--ink); font-weight: 550; }

.pdx-side .pd-buy { padding: 22px; }
.pdx-trust { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 6px; font-size: .86rem; color: var(--muted); }
.pdx-trust i { color: var(--gold); width: 18px; text-align: center; margin-right: 6px; }

.pdx-info { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); display: grid; gap: 22px; }
.pdx-info > h2 { margin: 0; font-family: Fraunces, Georgia, serif; font-weight: 560; font-size: 1.5rem; }
.pdx-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pdx-facts li { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--gold) 7%, var(--bg)); border: 1px solid color-mix(in srgb, var(--gold) 16%, var(--line)); }
.pdx-facts i { grid-row: 1 / span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--card); color: var(--gold); font-size: .95rem; }
.pdx-facts span { color: var(--muted); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.pdx-facts strong { font-weight: 650; font-size: .95rem; overflow-wrap: break-word; hyphens: auto; min-width: 0; }
.pdx-sub { margin: 0 0 10px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; font-family: inherit; }
.pdx-desc .pd-text { font-size: 1.02rem; }
.pdx-desc .pd-text > :first-child { margin-top: 0; }
.pdx-desc .pd-text > :last-child { margin-bottom: 0; }
.pdx-desc.is-empty .pd-muted { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--bg); }
.pd-text.is-clamped { max-height: 300px; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.pd-text.is-clamped.is-open { max-height: none; -webkit-mask-image: none; mask-image: none; }
.pdx-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 6px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.pdx-more:hover { background: var(--bg-2); color: var(--ink); }
.pdx-more[aria-expanded="true"] i { transform: rotate(180deg); }
.pdx-more[hidden] { display: none; }
.pdx-dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 24px; }
.pdx-dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.pdx-dl dt { color: var(--muted); font-size: .92rem; }
.pdx-dl dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.pdx-dl.is-meta dd { font-weight: 500; }
.pdx-info .pd-links { margin-top: 0; }

/* lightbox */
html.lbx-lock { overflow: hidden; }
.lightbox.lbx { width: 100vw; height: 100dvh; max-width: none; max-height: none; background: #0b0f0d; color: #f4efe6; overflow: hidden; }
.lightbox.lbx[open] { display: block; }
.lightbox.lbx::backdrop { background: rgba(6, 9, 8, .94); }
.lbx-shell { display: grid; grid-template-columns: minmax(0, 1fr) 380px; width: 100%; height: 100%; }
.lbx-stage { position: relative; display: grid; place-items: center; overflow: hidden; min-width: 0; padding: 70px 80px 120px; touch-action: none; }
.lbx-zoomer { display: grid; place-items: center; max-width: 100%; max-height: 100%; transition: transform .2s ease; transform-origin: center; cursor: zoom-in; user-select: none; }
.lbx.is-zoomed .lbx-zoomer { cursor: grab; transition: none; }
.lightbox.lbx img { max-width: 100%; max-height: calc(100dvh - 190px); width: auto; height: auto; object-fit: contain; border-radius: 10px; -webkit-user-drag: none; }
.lbx .lb-btn { position: absolute; }
.lbx-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lbx-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lbx-close { top: 16px; right: 16px; z-index: 5; }
.lbx-bar { position: absolute; left: 0; right: 0; top: 16px; display: flex; justify-content: space-between; align-items: center; padding: 0 84px 0 18px; pointer-events: none; }
.lbx-count { padding: 6px 14px; border-radius: 999px; background: rgba(20, 24, 22, .8); color: #f4efe6; font-size: .88rem; font-weight: 600; }
.lbx-tools { display: flex; gap: 8px; pointer-events: auto; }
.lbx-tool { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(20, 24, 22, .8); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lbx-tool:hover, .lbx .lb-btn:hover { background: rgba(70, 78, 72, .95); color: #fff; }
.lbx-tool[hidden] { display: none; }
.lbx-tool:focus-visible, .lbx .lb-btn:focus-visible, .lbx-thumbs button:focus-visible { outline: 3px solid #f0c36d; outline-offset: 2px; }
.lbx-info-toggle { display: none; }
.lbx-thumbs { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; padding: 0 16px; overflow-x: auto; }
.lbx-thumbs button { flex: 0 0 auto; width: 60px; height: 60px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: #1c221f; cursor: pointer; opacity: .65; transition: opacity .15s ease, border-color .15s ease; }
.lbx-thumbs button img { width: 100%; height: 100%; max-height: none; object-fit: cover; border-radius: 0; }
.lbx-thumbs button[aria-current="true"] { border-color: #f0c36d; opacity: 1; }
.lbx-thumbs button:hover { opacity: 1; }
.lbx-panel { background: #141a17; border-left: 1px solid rgba(255, 255, 255, .08); overflow-y: auto; }
.lbx-panel-in { padding: 76px 26px 28px; display: grid; gap: 16px; }
.lbx-title { margin: 0; font-family: Fraunces, Georgia, serif; font-weight: 560; font-size: 1.7rem; line-height: 1.15; color: #f6f1e8; overflow-wrap: anywhere; }
.lbx-subject { margin: -8px 0 0; color: #c4bcaf; }
.lbx-price .pd-amount { color: #f0d7a4; }
.lbx-price .pd-amount i { color: #f0c36d; }
.lbx-price .pd-unit { color: #c4bcaf; }
.lbx-dl { margin: 0; display: grid; }
.lbx-dl > div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.lbx-dl dt { color: #b7b0a4; font-size: .9rem; }
.lbx-dl dd { margin: 0; text-align: right; font-weight: 600; color: #f6f1e8; overflow-wrap: anywhere; }
.lbx-dl dd i { color: #f0c36d; }
.lbx-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.lbx .tg { background: rgba(255, 255, 255, .06); color: #f6f1e8; border-color: rgba(255, 255, 255, .16); }
.lbx .tg > i { color: #101411; }
.lbx .tg.tg-gold { --tg: #f0c36d; } .lbx .tg.tg-plum { --tg: #d6a6e8; } .lbx .tg.tg-amber { --tg: #ffb072; } .lbx .tg.tg-blue { --tg: #8cc2ff; }
.lbx .tg.tg-teal { --tg: #6fd6cf; } .lbx .tg.tg-green { --tg: #9ad89c; } .lbx .tg.tg-rose { --tg: #ff9fb6; } .lbx .tg.tg-slate { --tg: #b9c4cf; }
.lbx .tg:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.lbx-cta .pd-cta-form, .lbx-cta form { margin: 0; }
.lbx-cta .btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; background: #e2b15a; color: #22180a; border-color: #e2b15a; font-weight: 650; }
.lbx-cta .btn:hover { background: #f0c36d; color: #22180a; }
.lbx-cta .pd-gone { color: #ffb3b3; }
.lbx .pd-status.is-open { background: #173627; color: #a6e6c1; }
.lbx .pd-status.is-taken { background: #3a2e1b; color: #f0cf93; }
.lbx .pd-status.is-gone { background: #3d1f1f; color: #ffb3b3; }

@media (max-width: 1100px) and (min-width: 961px) {
  .pdx-grid { grid-template-columns: minmax(0, 1.15fr) minmax(310px, .85fr); column-gap: 28px; }
}
@media (max-width: 960px) {
  .pdx-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "gallery" "side" "info"; grid-template-rows: none; row-gap: 18px; }
  .pdx-info { padding: 18px; border-radius: 20px; gap: 18px; }
  .pdx-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pdx-facts li { padding: 10px; column-gap: 10px; }
  .pdx-facts i { width: 32px; height: 32px; }
  .pdx-dl { grid-template-columns: minmax(0, 1fr); }
  .pdx-nav { opacity: 1; width: 44px; height: 44px; }
  .lbx-shell { grid-template-columns: minmax(0, 1fr); }
  .lbx-stage { padding: 66px 8px 96px; }
  .lightbox.lbx img { max-height: calc(100dvh - 170px); }
  .lbx-prev, .lbx-next { top: auto; bottom: 88px; transform: none; }
  .lbx-prev { left: 12px; }
  .lbx-next { right: 12px; }
  .lbx-thumbs { bottom: 14px; justify-content: flex-start; }
  .lbx-thumbs button { width: 52px; height: 52px; }
  .lbx-info-toggle { display: grid; }
  .lbx-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 72dvh; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); border-radius: 22px 22px 0 0; transform: translateY(105%); visibility: hidden; transition: transform .25s ease, visibility .25s; z-index: 4; box-shadow: 0 -20px 50px rgba(0, 0, 0, .5); }
  .lbx.is-info .lbx-panel { transform: none; visibility: visible; }
  .lbx-panel-in { padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); }
  .lbx-title { font-size: 1.35rem; }
  .lbx-bar { padding: 0 72px 0 12px; }
  .pd-sticky-name { display: none; }
}
@media (min-width: 961px) { .lbx-panel { visibility: visible; } }
@media (prefers-reduced-motion: reduce) {
  .lbx-zoomer, .lbx-panel, .pdx-nav, .pdx-gallery .pd-thumbs a { transition: none; }
}

.pd-balance a { text-decoration: underline; text-underline-offset: 2px; }
