/* A compositor transform keeps the strike blade independent of canvas paints. */
.gauge-runner{position:absolute;inset:0;pointer-events:none;will-change:transform}
.gauge-runner .gauge-cursor{left:0;will-change:auto}

/* Match the bound-vowel tile's green coating in the enemy's small status seal. */
.trait-emblem .ability-status.bound-vowel-badge{position:relative;isolation:isolate;display:grid;place-items:center;width:22px;height:24px;min-height:24px;margin:2px auto 0;color:#edf6be;font:16px/1 'Knightle Quill';text-shadow:1px 2px #24461f}
.bound-vowel-badge:before{content:'';position:absolute;z-index:-1;inset:1px 0;background:linear-gradient(130deg,#a0c96c,#4b7f39 62%,#294d25);clip-path:polygon(0 13%,12% 13%,12% 0,86% 0,86% 10%,100% 10%,100% 86%,88% 86%,88% 100%,18% 100%,18% 88%,0 88%);box-shadow:inset 2px 3px #c5e49188}
.bound-vowel-badge:after{content:'';position:absolute;top:2px;left:3px;width:3px;height:2px;background:#d9e9a9;box-shadow:12px 3px #88b956,0 13px #709d40,14px 12px #b5d781}
.bound-vowel-badge>i{position:absolute;right:4px;bottom:-3px;width:3px;height:5px;transform-origin:top;background:#83b352;animation:bound-seal-drip 2.4s ease-in-out infinite}
@keyframes bound-seal-drip{0%,100%{transform:scaleY(.6)}65%{transform:scaleY(1.3)}}

/* Keep the selected feat's short inscription in view as the cabinet scrolls. */
.shell.stage-achievements>.feats-room{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:8px;overflow:hidden;padding:52px 18px 24px}
.feats-room .screen-title{margin:0}
.feats-room .screen-title .eyebrow{font-size:7px;margin:0 0 4px}
.feats-room .screen-title h1{font-size:28px;line-height:1.2;margin:2px 0 6px}
.feats-room .screen-title p:last-child{font-size:10px;margin:0}
.feats-room .deeds-cabinet{display:flex;flex-direction:column;min-height:0;padding:7px}
.feats-room .deeds-rail{flex:none;padding:4px 5px 8px}
.feats-room .feats-board{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;align-content:start;scroll-padding:5px}
.feats-room .feat-inscription{width:100%;margin:0 auto;padding:8px 5px 0;min-height:88px;max-height:36cqh;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.feats-room .feat-inscription h2{font-size:18px;line-height:1.2;margin:0 0 5px}
.feats-room .feat-inscription>p{font-size:12px;line-height:1.35;margin:4px auto 5px;max-width:340px}
.feats-room .feat-inscription>span{display:block;font-size:9px;line-height:1.4}
.feats-room .feat-inscription:has(.oath-collection){max-height:42cqh}
.oath-forge.oath-overlay{z-index:3;pointer-events:none;mix-blend-mode:screen}
.oath-ceremony>.eyebrow,.oath-ceremony>h1,.oath-ceremony>.oath-earned-title,.oath-ceremony>.oath-earned-copy,.oath-ceremony>.oath-earned-boons,.oath-ceremony>.oath-continue{position:relative;z-index:4}
@media(max-width:350px){
 .shell.stage-achievements>.feats-room{padding:48px 12px 20px;gap:6px}
 .feats-room .feat-inscription h2{font-size:16px}
 .feats-room .deeds-cabinet .feat-seal{min-height:55px}
}
@media(orientation:landscape) and (max-height:500px){
 .shell.stage-achievements>.feats-room{grid-template-columns:1.5fr 1fr;grid-template-rows:auto minmax(0,1fr);padding:30px 34px 22px;gap:8px 18px}
 .feats-room .screen-title{grid-column:1/-1}.feats-room .screen-title .eyebrow,.feats-room .screen-title p:last-child{display:none}
 .feats-room .screen-title h1{font-size:20px;margin:0}
 .feats-room .feat-inscription,.feats-room .feat-inscription:has(.oath-collection){max-height:100%;align-self:start}
}
@media(prefers-reduced-motion:reduce){.bound-vowel-badge>i{animation:none}}
