.honor-identity{display:inline-flex;align-items:center;gap:.4em;flex-wrap:wrap;max-width:100%;vertical-align:middle;min-width:0}.honor-name{display:inline-block;max-width:100%;font-weight:800;overflow-wrap:anywhere;line-height:1.6}.honor-title{font-size:12px;color:#51493f;font-weight:600;white-space:normal}.honor-celebrity,.honor-citizen{color:#8136af;background-size:260% 100%;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:honor-spectrum 3s linear infinite paused}.honor-celebrity{background-image:linear-gradient(90deg,#b62630,#a4430d,#866100,#237242,#2453b8,#8136af,#b62630)}.honor-debater{color:#8136AF}.honor-citizen{color:#82590e;background-image:linear-gradient(90deg,#755015,#b78627,#8c611b,#b19252,#755015);animation-duration:2.7s}.honor-legend{position:relative;isolation:isolate;overflow:hidden;padding:.15em .6em;color:#fff2ce;background:linear-gradient(120deg,#090909,#272014,#090909);border:1px solid #c89b3c;border-radius:7px}.honor-legend>span{position:relative;z-index:1}.honor-legend:before{content:"";position:absolute;inset:-30% -45%;z-index:0;background:linear-gradient(110deg,transparent 35%,#b6821b55 44%,#e4bf7777 50%,transparent 62%);transform:translateX(-100%);animation:honor-sheen 2s linear infinite paused;pointer-events:none}.honor-visible.honor-name{animation-play-state:running}.honor-visible.honor-legend:before{animation-play-state:running}.honor-paused .honor-name,.honor-paused .honor-legend:before{animation-play-state:paused!important}.honor-design-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.honor-preview{font-size:24px}.honor-title-list{display:flex;flex-wrap:wrap;gap:8px}.honor-title-list span{border:1px solid #e8e5df;border-radius:8px;padding:6px 10px}.ranking-table .honor-identity{min-width:100px}.profile-head .honor-title{display:block}.honor-identity small:before{content:none}
@keyframes honor-spectrum{from{background-position:100% 50%}to{background-position:0% 50%}}@keyframes honor-sheen{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
@media(prefers-reduced-motion:reduce){.honor-name,.honor-legend:before{animation:none!important}.honor-legend:before{display:none}.honor-celebrity,.honor-citizen{background-position:50% 50%}}
@media(forced-colors:active){.honor-name{-webkit-text-fill-color:currentColor;background:none;color:CanvasText}.honor-legend{border-color:CanvasText}.honor-legend:before{display:none}}
@supports not ((background-clip:text) or (-webkit-background-clip:text)){.honor-celebrity,.honor-citizen{background:none;-webkit-text-fill-color:currentColor}}
.achievement-card{padding:14px 0;border-bottom:1px solid var(--line)}.achievement-card p{overflow-wrap:anywhere}#achievement-unlock{width:min(470px,94vw);border:1px solid #c89b3c;border-radius:16px;padding:24px}#achievement-unlock::backdrop{background:#0009}.unlock-close{display:block;margin-left:auto;margin-bottom:20px}.unlock-name{font-size:25px;margin:24px 0}.legend-unlock{background:#11100c;color:#fff1cd}.legend-unlock .honor-title{color:#f3d792}.legend-merge{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;min-height:65px;overflow:hidden}.legend-merge span{padding:5px;border:1px solid #c89b3c;border-radius:6px;animation:honor-merge 1.7s ease-in both}.legend-merge span:nth-child(1){--merge-x:-65px}.legend-merge span:nth-child(3){--merge-x:65px}.legend-unlock h2{animation:honor-discover 2s ease-out both}.legend-unlock .unlock-name{animation:honor-discover 2.7s ease-out both}.legend-unlock .honor-legend:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent,#f5cd6477,transparent);transform:translateX(-110%);animation:first-legend-sheen .7s 2.7s linear 1;pointer-events:none}.legend-unlock .honor-legend:before{animation-delay:3.4s}@keyframes honor-merge{0%{transform:translateX(var(--merge-x,0));opacity:1}100%{transform:translateX(0) scale(.5);opacity:0}}@keyframes honor-discover{0%,65%{opacity:0;transform:translateY(8px)}100%{opacity:1;transform:none}}@keyframes first-legend-sheen{to{transform:translateX(110%)}}@media(prefers-reduced-motion:reduce){.legend-merge span,.legend-unlock h2,.legend-unlock .unlock-name,.legend-unlock .honor-legend:after{animation:none!important;opacity:1;transform:none}.legend-unlock .honor-legend:after{display:none}}
.legend-merge{position:relative;height:72px}.legend-merge span{position:absolute;left:50%;top:0;--merge-from:-50%;white-space:nowrap}.legend-merge span:nth-child(1){--merge-from:-160%}.legend-merge span:nth-child(3){--merge-from:60%}@keyframes honor-merge{0%{transform:translateX(var(--merge-from));opacity:1}100%{transform:translateX(-50%) scale(.45);opacity:0}}.legend-unlock>p{animation:honor-discover 2.7s ease-out both}@media(prefers-reduced-motion:reduce){.legend-merge{height:auto}.legend-merge span{position:static;white-space:normal}.legend-unlock>p{animation:none!important}}

.honor-stars{font-size:.75em;white-space:nowrap;margin-left:3px}.star-1{color:#98602b}.star-2{color:#68798b}.star-3{color:#997000}.star-4{color:#257f99;text-shadow:0 0 2px #b9ecff}.star-5{background:linear-gradient(90deg,#b82f50,#946000,#257533,#256baf,#8136af,#b82f50);background-size:220% 100%;background-clip:text;-webkit-background-clip:text;color:transparent;animation:prism-star 3s linear infinite}@keyframes prism-star{to{background-position:220% 0}}@media(prefers-reduced-motion:reduce){.star-5{animation:none}}.honor-paused .star-5{animation-play-state:paused}

.honor-name:not(.honor-visible)+.honor-stars{animation-play-state:paused}

/* v1.1: identity has priority over ordinary component decoration. */
.honor-identity{display:inline-flex;max-width:100%;min-width:0;gap:4px 7px;flex-wrap:wrap;align-items:center;vertical-align:middle;text-align:left;white-space:normal;overflow:visible;line-height:1.65}
.honor-nickname-group{display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:100%;flex:0 1 auto;vertical-align:middle;overflow:visible}
.honor-identity .honor-name{min-width:0;max-width:100%;flex:0 1 auto;line-height:1.6;white-space:normal;overflow-wrap:anywhere;word-break:normal;text-overflow:clip;font-size:inherit;font-weight:800}
.honor-identity .honor-plain{color:#242424;background:none;-webkit-text-fill-color:currentColor}
.honor-identity .honor-debater{color:#8136AF;-webkit-text-fill-color:currentColor;background:none}
.honor-identity .honor-legend{color:#FFF2CE;-webkit-text-fill-color:currentColor;background:linear-gradient(120deg,#090909,#272014,#090909);border:1px solid #090909;border-radius:8px;padding:.16em .48em}
.honor-identity .honor-text{color:inherit;font-size:inherit;font-weight:inherit}
.honor-identity .honor-stars{display:inline-block;flex:0 0 auto;white-space:nowrap;font-size:.72em;line-height:1.5;margin:0;letter-spacing:0;text-overflow:clip;overflow:visible}
.honor-identity .star-1{color:#98602B}.honor-identity .star-2{color:#68798B}.honor-identity .star-3{color:#997000}.honor-identity .star-4{color:#257F99}.honor-identity .star-5{color:transparent;-webkit-text-fill-color:transparent}
.honor-identity .honor-title{color:#65451D;font-size:11px;line-height:1.6;font-weight:600;white-space:normal;overflow-wrap:anywhere;flex:0 1 auto}
.profile-head .honor-identity{row-gap:7px}.profile-head .honor-title{font-size:12px}.podium-card .honor-title{font-size:11px}.row-author .honor-title{font-size:10px}.comment .honor-identity{max-width:100%}
@media(forced-colors:active){.honor-identity .honor-name,.honor-identity .honor-stars,.honor-identity .honor-text{color:CanvasText!important;-webkit-text-fill-color:CanvasText!important;background:none!important}.honor-identity .honor-legend{border-color:CanvasText}.honor-identity .honor-title{color:CanvasText}}
/* Keep gold/silver/jewel identities; compact text also needs contrast on ivory. */
.honor-identity .honor-citizen{background-image:linear-gradient(90deg,#755015,#926B21,#8C611B,#8D6C2F,#755015)}
.honor-identity .star-2{color:#627182}.honor-identity .star-3{color:#8F6800}.honor-identity .star-4{color:#22768F}

.legend-merge span:nth-child(1){background:linear-gradient(90deg,#ff8d96,#ffd76b,#95e1b4,#95bfff,#e4adff);background-clip:text;-webkit-background-clip:text;color:transparent}.legend-merge span:nth-child(2){color:#bd7ee3}.legend-merge span:nth-child(3){background:linear-gradient(110deg,#b98226,#fff1ae,#d4a348);background-clip:text;-webkit-background-clip:text;color:transparent}@media(forced-colors:active){.honor-stars,.legend-merge span{color:CanvasText!important;background:none!important}}
