.sellers-page .page-shell { width: min(1160px, calc(100% - 40px)); }
.directory-hero { display: block; padding: 32px 40px; border-radius: 26px; background: #17191e; color: #fff; overflow: hidden; }
.directory-eyebrow { color: #facc15; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.directory-hero h1 { margin: 19px 0; font-size: clamp(36px, 4.8vw, 58px); line-height: 1.07; letter-spacing: -.055em; }
.directory-hero h1 span { color: #facc15; }
.directory-hero p { max-width: 760px; color: #c4c5cb; font-size: 16px; }
.directory-jump { display: inline-flex; align-items: center; gap: 24px; margin-top: 18px; color: #fff; font-size: 14px; font-weight: 700; text-underline-offset: 6px; }
.directory-section { padding-top: 40px; scroll-margin-top: 24px; }
.directory-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.section-kicker { margin: 0 0 6px; font-size: 11px; font-weight: 800; letter-spacing: .14em; color: #6b647a; }
.directory-heading h2 { margin: 0; font-size: clamp(25px, 3vw, 33px); line-height: 1.15; letter-spacing: -.045em; }
.directory-total { font-size: 13px; color: #63636b; white-space: nowrap; }
.directory-total strong { color: #18181b; }
.directory-filters { display: grid; grid-template-columns: 1.3fr 1fr 1.15fr auto; align-items: end; gap: 14px; padding: 20px; background: #fff; border: 1px solid #e4e4e7; border-radius: 16px; }
.directory-filters label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 7px; }
.directory-filters input, .directory-filters select { width: 100%; min-width: 0; height: 44px; border: 1px solid #d6d6dc; border-radius: 8px; background: #fafafa; color: #25252b; padding: 0 12px; font: inherit; font-size: 14px; }
.directory-filters > div { min-width: 0; }
.reset-filters { height: 44px; padding: 0 10px; border: 0; background: transparent; color: #5f596b; text-decoration: underline; text-underline-offset: 3px; font: inherit; font-size: 12px; cursor: pointer; }
.result-count { margin: 18px 0 14px; color: #63636b; font-size: 13px; }
.seller-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.seller-card { display: flex; flex-direction: column; align-items: stretch; padding: 24px; border: 1px solid #e0dfe5; border-radius: 18px; background: #fff; box-shadow: 0 6px 20px #18181b04; }
.seller-heading { min-height: 24px; }
.seller-card h2 { margin: 0; font-size: 19px; line-height: 1.2; letter-spacing: -.035em; overflow-wrap: anywhere; }
.cardshow-badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; margin: 22px 0 24px; padding: 5px 9px; border: 1px solid #c6e7d4; border-radius: 6px; background: #effaf3; color: #22623c; font-size: 11px; font-weight: 700; }
.seller-profiles { margin-bottom: 24px; }
.seller-profiles h3 { margin: 0 0 10px; color: #77717e; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.profile-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; margin-top: 7px; border: 1px solid #e6e4ec; border-radius: 8px; color: #37313f; font-size: 13px; font-weight: 700; text-decoration: none; background: #faf9fc; }
.profile-link:hover { border-color: #ad8dde; background: #f4edff; }
.profile-link span:last-child { color: #807487; }
.instagram-link { display: flex; justify-content: space-between; margin-top: auto; padding-top: 16px; border-top: 1px solid #eeedf1; color: #63526f; font-size: 12px; font-weight: 700; text-decoration: none; }
.instagram-link:hover { color: #912c77; text-decoration: underline; }
.seller-invite { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; padding: 24px 28px; border: 1px dashed #d2ccd9; border-radius: 16px; }
.seller-invite h2 { font-size: 18px; margin: 0 0 4px; letter-spacing: -.025em; }
.seller-invite p { margin: 0; font-size: 13px; color: #696370; }
.seller-invite a { flex-shrink: 0; color: #4e346b; font-size: 13px; font-weight: 700; text-underline-offset: 4px; }
.directory-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 30px; color: #74707c; font-size: 11px; }
.directory-footer div { display: flex; gap: 16px; }
.directory-footer a { color: inherit; }
.empty-sellers { padding: 40px 20px; text-align: center; border: 1px dashed #d4cddd; border-radius: 16px; }
.empty-sellers h3 { margin: 0; font-size: 20px; }
.empty-sellers p, .directory-note { color: #696370; font-size: 14px; }
.empty-sellers button { min-height: 44px; padding: 10px 18px; border: 0; border-radius: 8px; background: #18181b; color: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.sellers-page [hidden] { display: none !important; }
.directory-info { margin-top: 28px; padding: 24px; border: 1px solid #e4e4e7; border-radius: 14px; background: #fff; }
.directory-info h2 { margin: 0 0 12px; font-size: 20px; line-height: 1.3; letter-spacing: -.025em; }
.directory-info p { margin: 10px 0; color: #5f596b; font-size: 14px; }
.directory-info h2:not(:first-child) { margin-top: 24px; }
.directory-info a, .directory-path a { color: #5e3587; text-underline-offset: 3px; }
.directory-info details { border-top: 1px solid #eeedf1; padding: 12px 0; }
.directory-info summary { cursor: pointer; font-size: 14px; font-weight: 700; }
.directory-info details:last-child { padding-bottom: 0; }
.directory-path { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; font-size: 11px; color: #696370; }
.sellers-page :is(a, button, input, select):focus-visible { outline: 3px solid #7651b8; outline-offset: 4px; }
@media (max-width: 960px) { .directory-hero { padding: 28px 32px; } .directory-filters { grid-template-columns: 1fr 1fr; } .seller-card { padding: 18px; } }
@media (max-width: 720px) { .sellers-page .page-shell { width: calc(100% - 28px); } .directory-hero { display: block; padding: 32px 24px; border-radius: 20px; } .directory-hero h1 { font-size: clamp(32px, 7.7vw, 48px); } .directory-hero p { font-size: 15px; } .directory-eyebrow { font-size: 9px; } .directory-section { padding-top: 30px; } .seller-grid { grid-template-columns: 1fr; } .seller-card { padding: 24px; } .directory-heading { align-items: flex-end; } .directory-heading h2 { font-size: 25px; } .directory-total { font-size: 11px; } .directory-filters { gap: 12px; padding: 16px; } .search-field { grid-column: 1 / -1; } .reset-filters { grid-column: 1 / -1; justify-self: start; height: 30px; padding: 0; } .directory-filters select { font-size: 12px; padding-left: 8px; } .seller-invite { align-items: flex-start; flex-direction: column; padding: 22px; } .seller-invite a { flex-shrink: 1; } }
/* Compact seller cards keep profile links visible in a wrapping row. */
.seller-grid { gap: 10px; }
.seller-card { padding: 16px; border-radius: 12px; }
.seller-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 0; }
.seller-card h2 { font-size: 16px; }
.cardshow-badge { flex-shrink: 0; margin: 0; padding: 3px 6px; font-size: 10px; }
.seller-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.seller-profiles { display: contents; }
.seller-profiles h3 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.profile-link { display: inline-flex; gap: 8px; margin: 0; min-height: 40px; padding: 8px 10px; font-size: 12px; }
.instagram-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; min-height: 40px; padding: 0; margin: 0 0 0 auto; border: 1px solid #e6e4ec; border-radius: 8px; }
@media (max-width: 720px) {
  .sellers-page .page-shell { padding-top: 14px; }
  .sellers-page .topbar { margin-bottom: 12px; }
  .sellers-page .top-actions { display: none; }
  .directory-hero { padding: 20px; border-radius: 14px; }
  .directory-hero h1 { margin: 8px 0; font-size: 28px; }
  .directory-hero p { margin: 8px 0 0; font-size: 13px; line-height: 1.45; }
  .directory-eyebrow, .directory-jump { display: none; }
  .directory-section { padding-top: 18px; }
  .section-kicker { display: none; }
  .directory-heading { margin-bottom: 12px; }
  .directory-heading h2 { font-size: 21px; }
  .directory-filters { gap: 8px; padding: 12px; border-radius: 12px; }
  .directory-filters label { font-size: 11px; margin-bottom: 4px; }
  .directory-filters input, .directory-filters select { height: 40px; font-size: 12px; }
  .reset-filters { height: 24px; font-size: 11px; }
  .result-count { margin: 10px 0 8px; font-size: 11px; }
  .seller-card { padding: 12px; }
  .seller-invite { margin-top: 18px; padding: 16px; gap: 10px; }
  .seller-invite h2 { font-size: 16px; }
}
@media (max-width: 360px) {
  .seller-card h2 { font-size: 14px; }
  .profile-link { padding: 8px; font-size: 11px; gap: 5px; }
}

.cardmarket-title-logo { display: block; width: min(400px, 100%); margin: -40px -35px -40px; }
.cardmarket-title-logo img { display: block; width: 100%; height: auto; }
@media (max-width: 720px) { .cardmarket-title-logo { width: 250px; max-width: calc(100% + 22px); margin: -28px -22px -28px; } }


/* Brand color lives in the card surface; game buttons stay neutral. */
.seller-card {
  background: linear-gradient(115deg, #fbf9fe, #f5effb 55%, #f0e7f9), #fff;
  border-color: #dfd3ec;
  box-shadow: 0 2px 9px rgba(60, 40, 85, .035);
}
.profile-link { background: rgba(255,255,255,.86); border-color: #e1dfe6; color: #37313f; }
.instagram-link { background: rgba(255,255,255,.72); border-color: #e1dfe6; }
.seller-card[data-cardshows="no"] .cardshow-badge, .seller-card[data-cardshows="unknown"] .cardshow-badge { color: #6b6673; background: #f7f6f9; border-color: #e5e2e9; }
@media (hover: hover) { .profile-link:hover { background: #fff; border-color: #bcaacb; } }

/* Directory controls only; preserve the existing mini cards. */
.directory-filters { grid-template-columns: 1.3fr 1fr 1.2fr; }
.cardshows-filter { grid-column: 1 / -2; }
.directory-filters .cardshows-filter label { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; }
.directory-filters input[type="checkbox"] { flex: 0 0 18px; width: 18px; height: 18px; padding: 0; accent-color: #7651b8; }
.show-more-sellers { display: block; margin: 20px auto 0; min-height: 44px; padding: 10px 24px; border: 1px solid #d2ccd9; border-radius: 8px; background: #fff; color: #4e346b; font: inherit; cursor: pointer; }
.seller-card--creator { grid-column: 1 / -1; }
.creator-label { align-self: flex-start; margin: 0 0 12px; padding: 4px 8px; border: 1px solid #dfd3ec; border-radius: 6px; color: #63526f; font-size: 11px; font-weight: 700; }
.creator-description { max-width: 80ch; margin: 14px 0 0; color: #37313f; font-size: 14px; line-height: 1.6; }
.creator-note { max-width: 80ch; margin: 8px 0 0; color: #696370; font-size: 12px; line-height: 1.6; }
.seller-card--creator .seller-heading { flex-wrap: wrap; }
@media (max-width: 960px) { .directory-filters { grid-template-columns: 1fr 1fr; } .search-field, .cardshows-filter { grid-column: 1 / -1; } }
@media (max-width: 480px) { .directory-filters { grid-template-columns: minmax(0, 1fr); } .directory-filters input, .directory-filters select { font-size: 16px; height: 44px; } .reset-filters { min-height: 44px; } }
