.npc-subtitle{z-index:24;color:#fff6e8;letter-spacing:.02em;text-shadow:0 1px 2px #0000008c;-webkit-backdrop-filter:blur(6px);pointer-events:none;-webkit-user-select:none;user-select:none;opacity:0;will-change:opacity, transform;background:#120d16b8;border-radius:16px;align-items:baseline;gap:.5em;width:max-content;max-width:min(78vw,460px);padding:7px 14px 8px;font-size:clamp(16px,1.35vw,19px);line-height:1.4;transition:opacity .35s,transform .35s;display:flex;position:absolute;top:0;left:0;transform:translate(-50%,calc(-100% - 10px))translateY(4px);box-shadow:0 4px 14px #00000038}.npc-subtitle:after{content:"";left:var(--tail-x,50%);background:inherit;border-radius:2px;width:10px;height:10px;position:absolute;bottom:-5px;transform:translate(-50%)rotate(45deg)}.npc-subtitle .npc-who{color:#ffd59a;letter-spacing:.04em;flex:none;font-size:.78em;font-weight:600}.npc-subtitle .npc-who[hidden]{display:none}.npc-subtitle .npc-line{text-wrap:balance;min-width:0}.npc-subtitle.show{opacity:1;transform:translate(-50%,calc(-100% - 10px))}.npc-subtitle.first{font-size:clamp(17px,1.5vw,21px);box-shadow:0 0 0 1.5px #ffd59a8c,0 4px 16px #00000047}.npc-subtitle.docked:after{display:none}.npc-subtitle.docked.show{transform:translate(-50%,-100%)}@media (width<=720px),(pointer:coarse){.npc-subtitle{max-width:86vw;padding:8px 14px 9px;font-size:16px}.npc-subtitle.first{font-size:17px}}
