/* Native light-site adapter. Game dialogs retain their own dark tokens and courts. */
body.site-typography{background:#f7f7fb;color:#172638}
body.site-typography>.app,.workspace{background:#f7f7fb}
.site-typography .topbar,.site-typography .sidebar{background:#fff;border-color:#ddd9e5;color:#172638;backdrop-filter:none}
.site-typography .breadcrumb,.site-typography .breadcrumb b,.site-typography .breadcrumb a,.site-typography .points,.site-typography .points small{color:#493087}
.site-typography .nav{color:#514960}.site-typography .nav:hover{background:#f3f0fa;color:#382365}.site-typography .nav.active{background:#eee8fb;color:#382365;border-color:#d1c3ed}
.site-typography .brand,.site-typography .brand-domain{color:#493087}.site-typography .sidebar-label,.site-typography .sidebar-footer{color:#514960}
.site-typography .cbid-member-controls .account-btn,.site-typography .cbid-experience-toggle,.site-typography .language-trigger{background:#f5f3fa;color:#382365;border-color:#b1a6c0}
.site-typography .view{color:#172638}.site-typography .view>.view-title,.site-typography .view .section-heading h2,.site-typography .view .page-heading h1{color:#172638}
.site-typography .view .page-heading p,.site-typography .view .eyebrow,.site-typography .view .section-heading p{color:#514960}
.site-typography #hall-view :is(.game-card,.quest-preview,.player-card),.site-typography #quests-view .quest-row,.site-typography #bids-view :is(.bid-banner,.economy-steps,.auction-card,.auction-rules),.site-typography #bag-view .collectible{background:#fff;border-color:#d8d4e2;color:#172638;box-shadow:0 4px 18px #241d3a06}
.site-typography #hall-view :is(.game-info h3,.game-info p,.game-footer,.quest-row b,.quest-row span,.player-stats b,.player-stats span),.site-typography #bids-view :is(h2,h3,p,span),.site-typography #bag-view .collectible :is(h3,p){color:#172638}
.site-typography #hall-view .hero{background:linear-gradient(120deg,#eee7ff,#e9f6f1);border-color:#d1c3ed}.site-typography #hall-view .hero :is(h2,p,.hero-meta,.pill){color:#302344}.site-typography #hall-view .hero h2 em{color:#493087}
.site-typography #hall-view .hero .primary{color:#fff;background:#573496}.site-typography #hall-view .game-info .primary{color:#18362b;background:#dff5eb}
.site-typography .site-footer{background:#fff;color:#514960;border-color:#ddd9e5}.site-typography .site-footer a{color:#493087}
/* Directory controls share one compact row; tabs and period sit together. */
.cbid-search-filter{position:relative;flex:0 0 48px;min-width:48px}
.cbid-search-filter>summary{display:grid;place-items:center;list-style:none;width:48px;min-height:48px;border:1px solid #91899e;border-radius:10px;background:#f5f3fa;color:#382365;cursor:pointer;box-sizing:border-box}
.cbid-search-filter>summary::-webkit-details-marker{display:none}
.cbid-search-filter>summary[data-filtered=true],.cbid-search-filter[open]>summary{background:#e0d5f5;border-color:#6844a5}
.cbid-search-filter>summary:focus-visible{outline:3px solid #6844a5;outline-offset:3px}
.cbid-search-filter .cbid-filter-options{position:absolute;inset-inline-end:0;top:calc(100% + 8px);z-index:50;width:max-content;min-width:220px;max-width:min(300px,calc(100vw - 48px));max-height:55dvh;overflow:auto;padding:6px;background:#fff;border:1px solid #b1a0ce;border-radius:12px;box-shadow:0 8px 24px #241d3a26}
.cbid-search-filter:not([open])>.cbid-filter-options{display:none}
.cbid-coin-statistics .cbid-filter-options button,.cbid-collections .cbid-filter-options button{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;min-height:48px;text-align:start;border:0;background:#fff;color:#172638;font-size:16px;white-space:normal}
.cbid-search-filter .cbid-filter-options button:hover,.cbid-search-filter .cbid-filter-options button:focus-visible{background:#eee8fb;color:#172638;outline-color:#6844a5}
.cbid-search-filter .cbid-filter-options button[aria-checked=true]{background:#eee8fb;color:#382365;font-weight:650}
.cbid-search-filter .cbid-filter-options button span{color:inherit}
.cbid-search-filter .cbid-filter-check{visibility:hidden}.cbid-search-filter [aria-checked=true] .cbid-filter-check{visibility:visible}
@media(max-width:600px){.member-directory-filters:has(.cbid-search-filter){grid-template-columns:minmax(0,1fr) 48px auto;align-items:end}.member-directory-filters:has(.cbid-search-filter) label:first-child{grid-column:auto}.member-directory-filters:has(.cbid-search-filter)>button{padding-inline:10px}.collection-filters:has(.cbid-search-filter){display:grid;grid-template-columns:minmax(0,1fr) 48px auto;align-items:end}.collection-filters:has(.cbid-search-filter)>button{padding-inline:10px}}
/* Informative descendants must use light-surface colors, not legacy dark-shell copy. */
.site-typography #hall-view{--muted:#514960}
.site-typography #hall-view :is(.season-chip,.season-chip span,.section-heading h2 span,.live-label,.game-number,.game-footer>span,.game-footer i,.player-caption,.player-profile p){color:#514960}
.site-typography #hall-view :is(.quest-row small,.bid-banner p){color:#172638}
.site-typography #hall-view .season-chip{background:#eee8fb;border-color:#b1a0ce}
.site-typography #hall-view .hero h2>span{color:#493087}
.site-typography #hall-view .hero-art{opacity:1}
.site-typography #hall-view .hero .floating-label{color:#302344;background:#fff;border-color:#b1a0ce;backdrop-filter:none}
.site-typography #hall-view .hero-index,.site-typography #hall-view .hero-index span{color:#514960}
.site-typography #hall-view .hero-index{background:#fff;border-radius:6px;padding:4px 8px}
.site-typography #hall-view :is(.game-type,.game-tag){color:#fff;background:#302344;border-color:#302344;border-radius:5px;padding:4px 8px;backdrop-filter:none}
.site-typography #hall-view .game-footer{border-color:#d8d4e2}
.site-typography #hall-view .game-footer button{background:#eee8fb;color:#382365;border-color:#b1a0ce}
.site-typography #hall-view :is(.text-btn,.text-btn:hover,.text-btn:focus-visible){color:#493087;text-decoration:underline}
.site-typography #hall-view :is(.small-btn,.secondary){background:#eee8fb;color:#382365;border-color:#b1a0ce}
.site-typography #hall-view :is(.small-btn,.secondary):hover{background:#e0d5f5}
.site-typography #hall-view :is(.small-btn,.secondary):disabled{background:#f1eff5;color:#514960;border-style:dashed;opacity:1}
.site-typography #hall-view .quest-row .quest-icon{color:#382365;background:#eee8fb}
.site-typography #hall-view :is(.quest-row+.quest-row,.player-stats){border-color:#d8d4e2}
.site-typography #hall-view .bid-banner{background:#eee8fb;border-color:#d1c3ed}
.site-typography #hall-view .bid-banner>div>span{color:#514960}
.site-typography #hall-view .bid-banner h2{color:#172638}
/* Entry cards belong to the light hall; the actual game dialogs keep dark courts. */
.site-typography #hall-view :is(.exp-hall-entry,.pong-entry,.tennis-entry,.pickleball-entry,.badminton-entry){background:#fff;color:#172638;border-color:#d8d4e2}
.site-typography #hall-view :is(.exp-hall-entry,.pong-entry,.tennis-entry,.pickleball-entry,.badminton-entry) :is(h2,p){color:#172638}
.site-typography #hall-view .pong-entry .pong-secondary{font-size:1rem;line-height:1.65}
.site-typography #hall-view :is(.exp-hall-entry,.pong-entry,.tennis-entry,.pickleball-entry,.badminton-entry) button{background:#eee8fb;color:#382365;border-color:#b1a0ce}
.site-typography #hall-view :is(.exp-hall-entry,.pong-entry,.tennis-entry,.pickleball-entry,.badminton-entry) button:hover{background:#e0d5f5}
.site-typography #hall-view :is(.exp-hall-entry,.pong-entry,.tennis-entry,.pickleball-entry,.badminton-entry) button:focus-visible{outline-color:#6844a5}
.site-typography :is(#quests-view,#bids-view,#bag-view) :is(.view-intro,.tip,.quest-row small,.record-row small,.collectible p,.section-heading h2 span,.auction-price span,.bid-label){color:#514960}
.site-typography #quests-view .quest-row :is(b,.reward){color:#172638}
.site-typography :is(#quests-view,#bids-view,#bag-view) :is(.view-subtitle,.empty p){color:#514960}
.site-typography #quests-view .tip{color:#172638;background:#eee8fb;border-color:#d1c3ed}
.site-typography #bids-view :is(.economy-steps b,.economy-steps i,.auction-price b){color:#382365}
.site-typography #bids-view .auction-card small{color:#514960}
.site-typography #quests-view .quest-preview,.site-typography #bids-view .record-row{background:#fff;border-color:#d8d4e2;color:#172638}
.site-typography #bids-view .record-row>b{color:#382365}
.site-typography #bag-view .collectible small{color:#514960}
.site-typography :is(#quests-view,#bids-view,#bag-view) :is(.text-btn,.small-btn,.secondary){color:#382365;background:#eee8fb;border-color:#b1a0ce}
.site-typography :is(#quests-view,#bids-view,#bag-view) :is(.text-btn,.small-btn,.secondary):hover{background:#e0d5f5}
.site-typography :is(#quests-view,#bids-view,#bag-view) :is(.text-btn,.small-btn,.secondary):disabled{color:#514960;background:#f1eff5;opacity:1;border-style:dashed}
body.site-typography .site-layout>.sidebar{background:#fff;border-color:#ddd9e5}
body.site-typography .site-layout>.sidebar .nav{color:#514960;background:transparent}
body.site-typography .site-layout>.sidebar .nav.active{color:#382365;background:#eee8fb}
body.site-typography .site-layout>.sidebar .nav:hover{color:#382365;background:#f3f0fa}
body.site-typography .site-layout>.sidebar .nav:focus-visible{outline:3px solid #6844a5;outline-offset:-3px}
body.site-typography .site-layout>.sidebar .nav .nav-label{color:inherit}
.site-typography #site-footer-root .site-footer :is(p,small){color:#514960}
.site-typography #site-footer-root .site-footer .brand :is(em,small,.brand-mark){color:#493087}
.site-typography #site-footer-root .site-footer nav a:is(:hover,:focus-visible){color:#382365;background:#f3f0fa}
.site-typography .game-storage-tools .text-btn{color:#493087}
.member-directory-filters{gap:10px;margin-bottom:14px}.member-directory-filters label:first-child{flex:1 1 180px}.member-directory-filters label:first-child>input{width:100%}
.coin-stats-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;border-bottom:1px solid #d8d4e2;flex-wrap:wrap}.coin-stats-toolbar .coin-stats-tabs{margin:0;border:0;gap:16px}
.cbid-coin-statistics .coin-stats-tabs button[aria-selected=true]{color:#493087;border-color:#7254bd}.coin-stats-toolbar select{font:inherit;font-size:16px;color:#172638;background:#fff;border:1px solid #91899e;border-radius:10px;min-height:48px;padding:8px 12px;max-width:100%}
.coin-stats-table-wrap{border-color:#ddd9e5}.cbid-coin-statistics table{background:#fff}.cbid-coin-statistics thead{background:#f4f2f8}.cbid-coin-statistics td a{color:#493087}.cbid-coin-statistics .coin-stats-rank{color:#493087}.cbid-coin-statistics td:last-child{text-align:end;font-weight:650;white-space:nowrap}.cbid-coin-statistics th:last-child{text-align:end;white-space:normal}.cbid-coin-statistics tbody tr:hover{background:#f8f6fc}
.cbid-coin-statistics :is(a,button,select,input):focus-visible,.cbid-collections :focus-visible{outline-color:#6844a5}
.point-summary{grid-template-columns:auto minmax(0,1fr) auto;gap:12px;margin:16px 0;padding:16px 20px;background:#f0ebfa;border-color:#d9cdee}.point-summary>strong{grid-row:auto;font-size:1.75rem;color:#382365;text-align:end}.point-summary>a.point-chart-link{grid-column:auto;grid-row:auto;color:#493087;border-color:#b1a0ce;background:#fff}
.point-chart-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}.point-chart-summary>div{padding:16px;border:1px solid #ddd9e5;border-radius:12px;background:#f8f6fc}.point-chart-summary span{display:block}.point-chart-summary strong{font-size:1.75rem;line-height:1.4;display:block;color:#382365;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.point-chart{display:block;height:240px;padding:0;border:0;background:#fff;margin:20px 0 0}.point-chart svg{width:100%;height:100%;display:block;overflow:visible}.point-chart-grid{stroke:#e1dce9;stroke-width:1;fill:none}.point-chart-line{stroke:#6844a5;stroke-width:3;fill:none;vector-effect:non-scaling-stroke}.point-chart-area{fill:#ede6fa}.point-chart-ticks{display:flex;justify-content:space-between;gap:8px;font-size:14px;color:#514960}.point-chart-selected{display:block;text-align:center;font-size:16px;color:#172638;margin-top:16px;font-variant-numeric:tabular-nums}.cbid-collections .point-chart-slider{display:block;width:100%;min-height:48px;padding:0;accent-color:#6844a5;background:transparent;border:0}
.collection-filters{gap:10px;margin:16px 0}.collection-filters>label:first-child{flex:1 1 180px}.collection-filters>label{min-width:0}.cbid-collections h1{margin-top:0}.cbid-collections>p{max-width:72ch}
.member-module :is(.sports-player-profile,.cbid-assistants){margin:0;padding:0;border:0;background:#fff}.member-module .sports-player-avatar{width:72px;height:72px;font-size:40px;border-radius:20px;float:inline-start;margin-inline-end:16px}.member-module .sports-player-profile h1,.member-module .cbid-assistants h1{font-size:clamp(1.75rem,3vw,2.25rem);margin:0 0 8px;line-height:1.35}.member-module .sports-player-metrics{clear:both;display:block;margin:20px 0}.member-module .sports-player-metrics p,.member-module .public-coin-balance{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0;padding:16px 20px;border-radius:14px;border:1px solid #d9cdee;background:#f0ebfa;color:#382365}.member-module .sports-player-metrics strong,.member-module .public-coin-balance strong{font-size:28px;color:#382365}
.member-module .member-community{background:#fff;color:#172638;padding:16px;margin:16px 0}.member-module .member-community :is(p,li,label,input,button,a){color:#172638}.member-module .member-community a{color:#493087}.member-module .member-community :is(input,button){background:#f8f7fc;color:#172638}.member-module .member-community .community-actions,.member-module .member-community .community-tabs{gap:10px;margin:12px 0}.member-module .member-community .community-tabs button{flex:0 1 auto}.member-module .member-community p{margin:10px 0}.community-share summary,.assistant-ownership summary{cursor:pointer;min-height:48px;display:flex;align-items:center;color:#493087;text-decoration:underline}.member-module .member-role-icon{background:#f0eafa;color:#493087;border-color:#b1a0ce}.member-module .member-role-icon.role-vip{color:#765000}.member-module .member-role-icon.role-admin{color:#493087}
@media(max-width:600px){.member-directory-filters{display:grid;grid-template-columns:minmax(0,1fr) auto}.member-directory-filters label:first-child{grid-column:1/-1}.member-directory-filters select{width:100%}.coin-stats-toolbar{gap:4px}.coin-stats-toolbar .coin-stats-tabs{gap:10px}.coin-stats-toolbar select{max-width:46%}.cbid-coin-statistics th,.cbid-coin-statistics td{padding:12px 8px}.cbid-coin-statistics .coin-stats-rank{width:32px}.coin-stats-table-wrap td:nth-child(2) .member-role-icon{margin-top:4px}.point-summary{padding:12px;gap:8px}.point-summary>span{font-size:14px}.point-summary>strong{font-size:1.5rem}.point-chart{height:200px}.point-chart-summary>div{padding:12px}.point-chart-summary strong{font-size:1.5rem}.collection-filters>label:first-child{flex-basis:100%}.member-module .sports-player-metrics p,.member-module .public-coin-balance{padding:14px}.member-module .member-community{padding:12px}}
