/* Final reference adapters. Keep backend content and shared business templates intact. */
/* Playlist posters fill their frames even when source images have different ratios. */
html body.site91.is-home-91 .home-content .playlist-grid-91 .editorial-poster-91>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center}
/* Demo recommendation ribbon replaces the inherited gold rosette. */
html body.site91 #info-page.deposit-page .deposit-package-recommend{position:absolute;top:-8px;right:12px;bottom:auto;width:54px;height:34px;display:grid;place-items:center;border:0;border-radius:0 4px 4px 4px;background:#c95323;transform:none;padding:0;box-shadow:0 3px 8px #0003;overflow:visible;pointer-events:none}
html body.site91 #info-page.deposit-page .deposit-package-recommend>img{display:none}
html body.site91 #info-page.deposit-page .deposit-package-recommend>span{position:static;display:grid;place-items:center;width:100%;height:100%;font-size:11px;line-height:16px;color:#fff;font-weight:600;letter-spacing:.4px}
html body.site91 #info-page.deposit-page .deposit-package-recommend::after{content:'';position:absolute;left:-7px;top:0;width:0;height:0;border-right:7px solid #873415;border-top:8px solid transparent}
@media(min-width:761px){
 html body.site91 #global-site-header .header-actions{gap:0!important}
 html body.site91 #global-site-header .header-actions #header-download-wrap{order:0;display:block!important;margin-right:16px;flex:none}
 html body.site91 #global-site-header .header-actions .coin-entry{order:0;gap:6px!important;background:transparent!important;border:0!important;box-shadow:none!important}
 html body.site91 #global-site-header .coin-entry :is(.coin-caption,.coin-value){display:inline-flex!important;align-items:center;font-size:17px!important;font-weight:600!important;line-height:1.2;letter-spacing:.15px;color:#ffda56}
 html body.site91 #global-site-header .header-services-divider-91{display:block;width:1px;height:18px;background:#ffffff24;flex:0 0 1px;margin:0 14px}
 html body.site91 #global-site-header .account-entry{margin:0!important;padding:0!important}
 html body.site91 #global-site-header .account-entry::before{content:none!important}
}
@media(min-width:761px) and (max-width:1180px){html body.site91 #global-site-header .header-actions #header-download-wrap{margin-right:12px}html body.site91 #global-site-header .header-services-divider-91{margin:0 10px}}
@media(max-width:760px){html body.site91 #global-site-header .header-services-divider-91{display:none}}
html body.site91{font-size:16px;line-height:1.5}
html body.site91 #channel-content{min-width:0;width:100%}
html body.site91>.footer-box{width:100%;max-width:100%;margin-left:0!important;margin-top:64px;padding:36px max(48px,calc((100% - 1504px)/2));box-sizing:border-box}
html body.site91 .footer-outer{width:100%;max-width:none;padding:0;margin:0}
html body.site91 .footer-main{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:24px 36px}
html body.site91 .footer-brand-group{min-width:0}
html body.site91 .footer-brand{display:flex;align-items:center;gap:16px}
html body.site91 .footer-logo{width:117px;height:40px;object-fit:contain}
html body.site91 .footer-tagline{font-size:13px;line-height:1.5;color:#8a8d95;margin:0}
html body.site91 .footer-addresses{display:flex;flex-direction:column;gap:9px;margin-top:18px;max-width:440px;font-size:12px;line-height:1.6}
html body.site91 .footer-address-row-91{display:flex;align-items:baseline;gap:10px;min-width:0}
html body.site91 .footer-address-row-91>span{color:#8d929a;flex:none}
html body.site91 .footer-address-row-91>a{color:#ddc578!important;overflow-wrap:anywhere;min-width:0;display:inline-flex;align-items:center;gap:5px;font-size:12px!important}
html body.site91 .footer-address-row-91>a:hover{color:#ffdf70!important;text-decoration:underline;text-underline-offset:3px}
html body.site91 .footer-links,html body.site91 .footer-policy-91{display:flex;flex-wrap:wrap;font-size:12px;color:#999ba4;gap:14px}
html body.site91 .footer-bottom{font-size:11px;color:#70747d;margin-top:24px;padding-top:20px}
html body.site91 .footer-copy{font-size:11px;color:#70747d}
/* Internal-page footer follows the demo's full-size footer, rather than the home variant. */
html body.site91:not(.is-home-91)>.footer-box{margin-top:70px;min-height:252px;padding:24px max(24px,calc((100% - 1520px)/2));background:var(--bg,#111214)!important;border-top:1px solid #ffffff1a;color:#ffffff8c}
html body.site91:not(.is-home-91) .footer-main{flex-wrap:nowrap;align-items:flex-end;gap:36px}
html body.site91:not(.is-home-91) .footer-brand{gap:18px;margin-bottom:18px}
html body.site91:not(.is-home-91) .footer-brand-lockup{display:block;width:178px;height:51.264px;flex-shrink:0}
html body.site91:not(.is-home-91) .footer-logo{display:block;width:178px;height:51.264px;object-fit:contain}
html body.site91:not(.is-home-91) .footer-tagline{font-size:18px;line-height:24px;color:#ffffff8c}
html body.site91:not(.is-home-91) .footer-links{align-items:center;gap:15px;padding-bottom:2px;color:#fff;font-size:16px;line-height:22px}
html body.site91:not(.is-home-91) .footer-links a{padding:0;border:0;color:inherit}
html body.site91:not(.is-home-91) .footer-links a+a{border-left:1px solid #ffffff33;padding-left:15px}
html body.site91:not(.is-home-91) .footer-links a:hover{color:var(--accent)}
html body.site91:not(.is-home-91) .footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:12px;padding-top:12px;border-top:1px solid #ffffff0d;font-size:14px;line-height:20px;color:#ffffff8c}
html body.site91:not(.is-home-91) .footer-copy{font-size:inherit;color:inherit}
html body.site91:not(.is-home-91) .footer-icons{display:flex;align-items:center;gap:16px}
html body.site91:not(.is-home-91) .footer-icon-link{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#ffffff1a}
html body.site91:not(.is-home-91) .footer-icon-link:hover{background:var(--accent)}
@media(min-width:761px) and (max-width:1180px){html body.site91:not(.is-home-91) .footer-links{font-size:14px}}
@media(max-width:1000px){html body.site91:not(.is-home-91) .footer-main{align-items:flex-start;flex-direction:column;gap:24px}}
@media(max-width:760px){
 html body.site91:not(.is-home-91)>.footer-box{padding:28px 16px;margin-top:32px;min-height:0}
 html body.site91:not(.is-home-91) .footer-main{display:block}
 html body.site91:not(.is-home-91) .footer-brand{align-items:flex-start;flex-direction:column;gap:12px}
 html body.site91:not(.is-home-91) .footer-brand-lockup,html body.site91:not(.is-home-91) .footer-logo{width:110px;height:38px}
 html body.site91:not(.is-home-91) .footer-tagline{font-size:12px;line-height:1.6}
 html body.site91:not(.is-home-91) .footer-links{gap:10px;margin-top:22px;font-size:10px;line-height:1.9}
 html body.site91:not(.is-home-91) .footer-links a+a{padding-left:10px}
 html body.site91:not(.is-home-91) .footer-bottom{align-items:flex-start;flex-direction:column;font-size:10px;gap:16px}
}
html body.site91 #search-results-page h1{font-size:28px;line-height:1.5;font-weight:600;color:#eee;margin:0 0 12px;overflow-wrap:anywhere}
html body.site91 #search-results-page h1 mark{color:var(--accent);background:none}
@media(max-width:760px){
 html body.site91>.footer-box{padding:28px 16px;margin-top:32px}
 html body.site91 .footer-main{gap:20px;align-items:flex-start}
 html body.site91 .footer-brand{flex-wrap:wrap;gap:12px}
 html body.site91 .footer-logo{width:110px;height:38px}
 html body.site91 .footer-tagline{font-size:12px}
 html body.site91 .footer-addresses{gap:8px;font-size:11px}
 html body.site91 .footer-links,html body.site91 .footer-policy-91{gap:10px;font-size:10px;line-height:1.9}
 html body.site91 .footer-bottom,html body.site91 .footer-copy{font-size:10px}
 html body.site91 #search-results-page h1{font-size:22px;line-height:1.5}
}
/* Home metadata has inherited image-size rules; use the reference flame box there too. */
html body.site91 .heat-value>img.heat-value-icon{display:block;width:14px!important;height:16px!important;flex:0 0 14px;object-fit:contain;margin:0}
html body.site91 .detail-title-heat>img{width:14px;height:16px;object-fit:contain}
/* Legacy fixed card heights must not override the reference grid track width. */
html body.site91 #channel-page #channel-content .channel-topic-grid>.topic-recommendation-card{width:100%;height:auto;min-height:0;max-width:100%;box-sizing:border-box}
/* Match the reference header's 1504px content rail to the 1600px shell minus its 48px gutters. */
@media(min-width:761px){html body.site91 #global-site-header>.top{max-width:1504px;margin-left:auto;margin-right:auto}}
