/* Reference-matched honor details; approved frame and paper stay in place. */
body .honor-portrait{position:relative;width:min(100%,270px);height:auto;aspect-ratio:1;border:0;background:none;overflow:visible;flex:none}
.honor-portrait-person{position:absolute;inset:14%;display:block;overflow:hidden;border-radius:50%;background:#fff0dc}
.honor-portrait-person>svg{display:block;width:100%;height:100%}
body .honor-portrait>img.honor-portrait-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;max-width:none;pointer-events:none}
body .honor-wall .journey-metric,body .honor-themes,body .honor-recent,body .honor-explainer{background:linear-gradient(#eab87414,#eab87414),url('./assets/painted-ui/approved-honor-paper.webp') center/512px 512px repeat!important}
body .honor-themes,body .honor-recent{position:relative;isolation:isolate;padding-bottom:80px;overflow:hidden}
body .honor-themes>h2,body .honor-recent>h2,body .honor-theme-list,body .honor-theme-note,body .honor-recent>div{position:relative;z-index:1}
body img.honor-panel-landscape{position:absolute;bottom:0;left:0;width:100%;max-width:none;height:88px;object-fit:cover;object-position:center bottom;pointer-events:none;z-index:0}
body .honor-theme-row{grid-template-columns:minmax(125px,28%) minmax(0,1fr) auto;column-gap:12px;min-height:112px;padding:6px 0}
body .honor-theme-row>img{width:100%;height:106px;object-fit:contain;transform:scale(1.06);transform-origin:center}
body .honor-theme-list{max-height:345px}
body .honor-recent-row{grid-template-columns:minmax(100px,29%) minmax(0,1fr) auto;column-gap:8px;min-height:112px}
body .honor-recent-row>img{width:100%;height:100px;object-fit:contain}
body .honor-explainer{position:relative;padding:12px 8px 0;margin-top:20px;width:100%;border:12px solid transparent;border-image:url('./assets/painted-ui/approved-honor-frame.webp') 120/12px/0 stretch;overflow:hidden}
body .honor-explainer h3{font-size:clamp(16px,1.25vw,21px);margin-bottom:15px;padding:10px 8px}
body .honor-explainer p{margin-inline:0;font-size:clamp(16px,1.2vw,20px);line-height:1.9}
body .honor-explainer>img.honor-explainer-scene{display:block;width:calc(100% + 16px);max-width:none;height:auto;aspect-ratio:3/2;object-fit:contain;margin:10px -8px 0}
@container honor-main (max-width:850px){body .honor-theme-row{grid-template-columns:minmax(110px,25%) minmax(0,1fr) auto}body .honor-recent-row{grid-template-columns:minmax(100px,25%) minmax(0,1fr) auto}}
@media(max-width:959px){body .honor-portrait{width:120px;grid-row:1/5}body .honor-explainer{grid-column:1/-1;display:block;padding:12px 10px 0}body .honor-explainer>img.honor-explainer-scene{width:calc(100% + 20px);height:190px;aspect-ratio:auto;object-fit:cover;object-position:center bottom;margin:8px -10px 0}}
@media(max-width:599px){body .honor-portrait{width:88px}body .honor-theme-row{grid-template-columns:95px minmax(0,1fr);gap:5px 10px;min-height:112px}body .honor-theme-row>img{grid-row:1/3;height:96px;transform:none}body .honor-theme-row>b{grid-column:2}body .honor-recent-row{grid-template-columns:90px minmax(0,1fr);gap:5px 10px}body .honor-recent-row>img{grid-row:1/3;height:94px}body .honor-recent-row>b{grid-column:2}body .honor-explainer>img.honor-explainer-scene{height:160px}body .honor-theme-list{max-height:345px}body .honor-themes,body .honor-recent{padding-bottom:68px}body img.honor-panel-landscape{height:72px}}
.honor-portrait-person{inset:auto;left:48.3%;top:48.3%;width:69%;height:69%;transform:translate(-50%,-50%)}
body img.honor-panel-landscape{object-fit:contain;object-position:center bottom}
body .honor-explainer>img.honor-explainer-scene{aspect-ratio:2.54;object-position:center bottom}
@media(max-width:959px){body .honor-explainer>img.honor-explainer-scene{height:auto;aspect-ratio:2.54;object-fit:contain}}
