/* Body/display tokens now use the site's data face. Page titles/wordmarks keep Optima. */
html:root{--font-title:"Questrial",Arial,Helvetica,sans-serif!important;--font-display:"Questrial",Arial,Helvetica,sans-serif!important}
html body :is(h2,h3,h4,.auction-name,.mc-login-brand,.footer-brand){font-family:"Questrial",Arial,Helvetica,sans-serif!important;letter-spacing:normal!important}
/* Section headings: readable hierarchy without the old condensed display scale. */
html body .sales-page h2{font-size:21px;line-height:1.35;font-weight:400;letter-spacing:0;text-transform:none}
html body [data-games-sales-carousel] h2{font-size:20px;line-height:1.3;font-weight:400;letter-spacing:0}
html body :is(.auction-card>summary,.auction-event-link) .auction-name{font-family:"Questrial",Arial,sans-serif!important;font-size:20px!important;font-weight:400!important;line-height:1.35!important;letter-spacing:0!important}
html body .lf-empty h2{font-size:20px!important;line-height:1.35;font-weight:400;letter-spacing:0}
/* Collection workspace headings, empty states and dialogs each keep their own scale. */
html body .mc-page h2{font-size:22px;line-height:1.35;font-weight:400;letter-spacing:0}
html body .mc-page :is(.mc-empty,.mc-empty-copy,.mc-price-waiter) h2{font-size:24px!important;line-height:1.3;font-weight:400}
html body .mc-page .mc-title-line h2,html body .mc-page .mc-import-workspace>h2{font-size:22px;line-height:1.35;font-weight:400}
html body .mc-page .mc-chat-sidebar h2{font-size:18px;line-height:1.35}
html body .mc-page .mc-review-heading h3{font-size:16px;line-height:1.4;font-weight:400}
html body .mc-page .mc-login-dialog h2{font-family:"Questrial",Arial,sans-serif!important;font-size:24px;line-height:1.3;letter-spacing:0}
html body .mc-login-brand{font-family:"Questrial",Arial,sans-serif!important;font-size:18px;line-height:1.2;font-weight:400;letter-spacing:0}
/* Older overview/detail components inherit the same smaller section hierarchy. */
html body :is(.section-intro,.library-intro,.method-grid,.findings-heading) h2{font-size:24px;line-height:1.35;font-weight:400}
html body .result-heading h2{font-size:22px;line-height:1.3;font-weight:400}
html body .detail-heading h2{font-size:26px;line-height:1.3;font-weight:400}
html body .about-dialog h2{font-size:24px;line-height:1.3;font-weight:400}
html body :is(.color-legend,.findings-section-heading) h3{font-size:18px;line-height:1.4;font-weight:400}
html body #detail-content>h3{font-size:20px;line-height:1.35;font-weight:400}
@media(max-width:800px), (max-width:1000px) and (pointer:coarse){
 html body .sales-page h2{font-size:19px;line-height:1.35}
 html body [data-games-sales-carousel] h2{font-size:18px}
 html body :is(.auction-card>summary,.auction-event-link) .auction-name{font-size:18px!important}
 html body .mc-page h2,html body .mc-page .mc-title-line h2,html body .mc-page .mc-import-workspace>h2{font-size:20px}
 html body .mc-page :is(.mc-empty,.mc-empty-copy,.mc-price-waiter) h2,html body .mc-page .mc-login-dialog h2{font-size:22px!important}
 html body .mc-page .mc-chat-sidebar h2{font-size:18px}
 html body :is(.section-intro,.library-intro,.method-grid,.findings-heading) h2{font-size:22px}
 html body .detail-heading h2{font-size:23px}
}

/* Supplied icon shares the wordmark color and keeps Beta's compact spacing. */
html body>.header:has(.site-nav)>.brand>.gradery-brand-icon{display:block;width:36px;height:36px;flex:none;margin-right:5px;color:inherit}
html body .wag-global-footer .wag-footer-brand{display:inline-flex!important;align-items:center;gap:3px}
html body .wag-global-footer .wag-footer-brand>.gradery-brand-icon{display:block;width:42px;height:42px;flex:none;margin-right:7px;color:inherit}
@media(max-width:800px){html body>.header:has(.site-nav)>.brand>.gradery-brand-icon{width:32px;height:32px;margin-right:4px}}
@media(max-width:520px){html body>.header:has(.site-nav)>.brand>.gradery-brand-icon{width:30px;height:30px;margin-right:3px}}
/* Reserve the full navigation width beside the icon; let search absorb the extra space. */
@media(min-width:1251px){
 html body>.header:has(.site-nav){column-gap:16px!important}
 html body>.header nav.site-nav[data-primary-layout="global-v2"]{min-width:max-content}
 html body>.header .wag-search{flex:0 1 240px;min-width:160px}
}
/* Highest Sale amounts link to the game; brighten the green on interaction. */
html body #rank-view :is(#rank-results,#rank-bundle-results)[data-games-review] .rgm-highest-recorded a.row-value{transition:color .12s ease}
html body #rank-view :is(#rank-results,#rank-bundle-results)[data-games-review] .rgm-highest-recorded a.row-value:is(:hover,:focus-visible){color:#d3efce!important}
@media(prefers-reduced-motion:reduce){html body #rank-view .rgm-highest-recorded a.row-value{transition:none}}

@media(max-width:800px){html body .wag-global-footer .wag-footer-brand>.gradery-brand-icon{width:36px;height:36px}}
@media(max-width:520px){html body .wag-global-footer .wag-footer-brand>.gradery-brand-icon{width:34px;height:34px}}
/* Give the short footer slogan enough room to stay on one line. */
html body .wag-global-footer .wag-footer-brand-block>p{white-space:nowrap}
@media(min-width:1101px){html body .wag-global-footer .wag-footer-inner{grid-template-columns:minmax(max-content,1.2fr) repeat(4,minmax(0,1fr))}}

/* Match the painted SVG bottom to Questrial's letter baseline, excluding y's descender.
   Includes the font's 130% size-adjust and the SVG's internal vertical padding. */
html body>.header:has(.site-nav)>.brand>.gradery-brand-icon,
html body .wag-global-footer .wag-footer-brand>.gradery-brand-icon{transform:translateY(calc(.4069em - 40.516%))}
