/* Consistent thin gilded edges: keep the approved cloud-corner artwork. */
body .honor-wall{border-image-width:34px!important}
body .honor-sidebar,body .honor-themes,body .honor-recent,body .honor-titles{border-image-width:30px!important}
body .honor-wall .journey-metric{border-image-width:28px!important}
body .honor-explainer{border-image-width:24px}
body .honor-wall .journey-metric strong,body .honor-theme-row b,body .honor-recent-row>b{background:none!important;border-image:url('./assets/painted-ui/reference-score-pill.webp') 35 80 fill /10px 23px/0 stretch!important;box-shadow:none!important}
body .honor-themes>h2,body .honor-recent>h2{background:none!important;border:12px solid transparent;border-left-width:43px;border-right-width:43px;border-image:url('./assets/painted-ui/reference-section-plaque.webp') 45 160 fill /12px 43px/0 stretch;padding:0 2px;max-width:min(100%,350px);font-size:clamp(19px,1.7vw,27px);line-height:1.1;min-height:50px}
/* B uses the exact original title and complete extended flourishes. */
body #page-stats>.page-heading h1.reference-honor-title{background:none!important;border:0!important;border-image:none!important;box-shadow:none!important;outline:none!important;min-width:0!important;max-width:none!important;width:min(800px,94vw)!important;aspect-ratio:800/75;height:auto!important;min-height:0!important;padding:0!important;margin:0!important;display:block;line-height:0;font-size:0!important}
body .reference-honor-title>img{display:block;width:100%;height:100%;object-fit:contain;clip-path:polygon(0% 35%,18% 35%,18% 7%,29% 7%,29% 0%,71% 0%,71% 7%,82% 7%,82% 35%,100% 35%,100% 85%,82% 85%,82% 100%,18% 100%,18% 85%,0% 85%);mask-image:linear-gradient(to right,transparent,#000 2%,#000 98%,transparent)}
body #page-stats>.page-heading p.reference-honor-subtitle{display:block;width:min(440px,90vw);height:auto;aspect-ratio:440/28;line-height:0;font-size:0;background:#fff6e9 url('./assets/painted-ui/approved-honor-paper.webp') center/512px 512px;padding:0!important;margin:0}
body .reference-honor-subtitle>img{display:block;width:100%;height:100%;object-fit:contain}
body #page-stats>.page-heading>div{gap:5px}
@media(min-width:1100px){
body[data-view=stats] #main-content{margin-top:-2.2786458vw!important}
body #page-stats>.page-heading,body #page-stats>.page-heading>div{height:7.03125vw}
body #page-stats>.page-heading>div{gap:.3255208vw}
body #page-stats>.page-heading h1.reference-honor-title{width:52.0833333vw!important;height:4.8828125vw!important;aspect-ratio:auto}
body #page-stats>.page-heading p.reference-honor-subtitle{width:28.6458333vw;height:1.8229167vw;aspect-ratio:auto}
body #page-stats>.honor-wall{margin-top:-1.953125vw}
}
/* Footer text occupies one compact line directly above the landscape. */
body,body:has(#page-stats:not([hidden])){padding-bottom:calc(var(--reference-footer-height) + var(--bottom-nav-space) + 2px)}
body #main-content{padding-bottom:0!important}
body .app-footer{margin-top:6px;padding:6px 0;min-height:0;background:transparent!important;line-height:18px;font-size:11px}
@media(max-width:599px){body .honor-wall{border-image-width:20px!important}body .honor-sidebar,body .honor-themes,body .honor-recent,body .honor-titles{border-image-width:20px!important}body .honor-wall .journey-metric{border-image-width:18px!important}body .honor-themes>h2,body .honor-recent>h2{border-left-width:28px;border-right-width:28px;border-image-width:10px 28px;min-height:46px;font-size:20px}body .app-footer{padding:5px 0;font-size:10px;line-height:16px}}
