.anomaly-honor-portrait{position:relative;display:inline-flex;align-items:center;justify-content:center;isolation:isolate;border-radius:4px;--honor-color:#d1b77e}
.anomaly-honor-portrait[data-anomaly-tier="champion"]{box-shadow:0 0 0 1px #e5c778,0 0 13px #d9ad4b44;background:radial-gradient(ellipse,#cda95622,transparent 75%)}
.anomaly-honor-portrait[data-anomaly-tier="podium"]{box-shadow:0 0 0 1px #b5c1d1,0 0 9px #a9bbd122}
.anomaly-honor-portrait[data-anomaly-tier="elite"]{box-shadow:0 0 0 1px #c48b9d}
.anomaly-honor-portrait[data-anomaly-tier="placed"]::after{content:"◆";position:absolute;right:-2px;bottom:-2px;color:#d4bd8d;font-size:.7rem;text-shadow:0 1px 2px #000}
.anomaly-honor-crown{position:absolute;z-index:2;width:23px;height:18px;top:-13px;left:50%;transform:translateX(-50%);filter:drop-shadow(0 2px 3px #000);animation:anomaly-crown-glow 3s ease-in-out infinite;pointer-events:none}
.anomaly-honor-crown svg,.anomaly-honors-active svg{display:block;width:100%;height:100%;fill:#d4ac4b;stroke:#ffe4a0;stroke-width:1.3;stroke-linejoin:round}
.anomaly-honor-title{display:block;color:#e7c2cb;font-size:.7rem;line-height:1.5;overflow-wrap:anywhere;margin-top:3px}
.anomaly-ranking .anomaly-ranking-portrait>.anomaly-honor-portrait{width:100%;height:100%}
.anomaly-honors-panel{--honor-border:#795363}.anomaly-honors-panel .section-heading{gap:8px;flex-wrap:wrap}
.anomaly-honors-panel h2{font-size:var(--ga-font-section,.9375rem)}
.anomaly-honors-reward{font-size:var(--ga-font-body,.875rem);line-height:1.7}.anomaly-honors-reward strong{color:#f2d78e;white-space:nowrap}
.anomaly-honors-panel details{border-top:1px solid var(--honor-border);margin-top:12px;padding-top:4px}
.anomaly-honors-panel summary{min-height:44px;display:flex;align-items:center;gap:8px;cursor:pointer;font-size:var(--ga-font-control,.875rem);font-weight:700;list-style:none}
.anomaly-honors-panel summary::after{content:"⌄";margin-left:auto}.anomaly-honors-panel details[open]>summary::after{transform:rotate(180deg)}
.anomaly-honors-panel summary span{font-size:var(--ga-font-caption,.6875rem);font-weight:400;color:var(--muted,#c2b2b8)}
.anomaly-honors-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.anomaly-honors-choices button{min-height:48px;white-space:normal;text-align:left;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:8px;overflow-wrap:anywhere;font-size:var(--ga-font-control,.875rem)}
.anomaly-honors-choices button[aria-pressed="true"]{border-color:#e0bf79;background:linear-gradient(125deg,#694347,#392631);box-shadow:inset 3px 0 #e0bf79}
.anomaly-honors-choices button[aria-pressed="true"]::before{content:"✓ 設定中";font-size:var(--ga-font-caption,.6875rem);color:#f5db9f}
.anomaly-honors-choices small{font-size:var(--ga-font-note,.75rem);font-weight:400;line-height:1.5;color:var(--muted,#d4bec5)}
.anomaly-honors-active{display:flex;align-items:center;gap:12px;padding:12px;background:linear-gradient(110deg,#51343f,#282029);border:1px solid #b48e58;color:#f3dcaa;font-size:var(--ga-font-body,.875rem)}
.anomaly-honors-active>svg{width:32px;height:24px;flex:none}.anomaly-honors-active small{display:block;font-size:var(--ga-font-note,.75rem);margin-top:4px}
.anomaly-honors-rules dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 12px;font-size:var(--ga-font-note,.75rem);line-height:1.6}.anomaly-honors-rules dd{margin:0}
.anomaly-honors-history ol{padding:0;list-style:none}.anomaly-honors-history li{display:flex;align-items:center;gap:8px;border-bottom:1px solid #79536377;padding:10px 0;font-size:var(--ga-font-note,.75rem)}
.anomaly-honors-history li>span{min-width:0;flex:1;overflow-wrap:anywhere}.anomaly-honors-history small{display:block;color:var(--muted,#cbb6be);font-size:var(--ga-font-note,.75rem);line-height:1.6}.anomaly-honors-history b{max-width:6em;flex:none;color:#edc98b}
.anomaly-honors-receipt{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:var(--ga-font-note,.75rem);padding:8px 0}.anomaly-honors-unread{position:relative}.anomaly-honors-unread::after{content:"";position:absolute;right:5px;top:5px;border:1px solid #ffc7c7;border-radius:50%;background:#ef4858;width:8px;height:8px}
.anomaly-honor-portrait.anomaly-ornament-expired{box-shadow:none;background:none}.anomaly-honor-portrait.anomaly-ornament-expired::after,.anomaly-ornament-expired>.anomaly-honor-crown,.anomaly-honors-active.anomaly-ornament-expired{display:none}
.build-anomaly-honor{position:relative;z-index:1;margin:8px 0 12px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:var(--ga-font-note,.75rem)}.build-anomaly-honor .anomaly-honor-portrait{padding:5px 10px;margin-top:8px}.build-anomaly-honor .anomaly-honor-title{margin:0;font-size:var(--ga-font-body,.875rem)}.build-anomaly-honor-note{color:#c4bac7;font-size:var(--ga-font-note,.75rem)}
@keyframes anomaly-crown-glow{50%{filter:drop-shadow(0 0 5px #e2bd65aa)}}
@media(prefers-reduced-motion:reduce){.anomaly-honor-crown{animation:none}}
@media(max-width:350px){.anomaly-honors-choices{grid-template-columns:minmax(0,1fr)}}

.build-anomaly-honor:has(.anomaly-ornament-expired) .build-anomaly-honor-note,.build-anomaly-honor[data-anomaly-only-ornament]:has(.anomaly-ornament-expired){display:none}
