/* Elevated-volatility banner on individual stock pages, and its "Learn more" sheet. */
#hpVolBanner{display:flex;align-items:center;gap:20px;margin:0 0 22px;padding:22px 20px;border-radius:14px;background:var(--pill);color:var(--text);box-sizing:border-box}
html[data-theme="dark"] #hpVolBanner{background:#1f2023}
#hpVolBanner[hidden]{display:none}
#hpVolBanner svg{flex:none;width:28px;height:28px;display:block;fill:currentColor}
#hpVolBanner p{margin:0;font:400 17px/26px "Capsule Sans Text",system-ui,-apple-system,sans-serif;letter-spacing:0}
#hpVolBanner .hp-vol-more{display:inline;margin:0;padding:0 0 1px;border:0;border-bottom:1px solid currentColor;border-radius:0;background:none;color:inherit;font:inherit;font-weight:700;cursor:pointer;-webkit-tap-highlight-color:transparent}

#hpVolSheet{position:fixed;inset:0;z-index:300;display:flex;align-items:flex-end;justify-content:center;color:var(--text)}
#hpVolSheet[hidden]{display:none}
#hpVolSheet .vs-scrim{position:absolute;inset:0;background:rgba(0,0,0,.45);animation:vsFade .18s ease both}
#hpVolSheet .vs-sheet{position:relative;z-index:1;width:min(100%,560px);max-height:min(88dvh,740px);overflow:auto;padding:18px 22px calc(22px + env(safe-area-inset-bottom,0px));box-sizing:border-box;background:var(--bg);border:1px solid var(--line);border-bottom:0;border-radius:24px 24px 0 0;animation:vsUp .28s cubic-bezier(.05,.7,.1,1) both}
#hpVolSheet .vs-grab{width:36px;height:4px;border-radius:4px;background:var(--muted);opacity:.45;margin:0 auto 18px}
#hpVolSheet .vs-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
#hpVolSheet .vs-head h2{font:500 22px/1.2 "Capsule Sans Text",system-ui,sans-serif;letter-spacing:-.02em;margin:0}
#hpVolSheet .vs-close{width:36px;height:36px;border:0;border-radius:50%;background:var(--pill);color:var(--text);font-size:22px;line-height:1;cursor:pointer}
#hpVolSheet .vs-copy{margin:16px 0 0;color:var(--text2,var(--text));font:400 15px/1.55 "Capsule Sans Text",system-ui,sans-serif}
#hpVolSheet .vs-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px;margin:22px 0 0;padding:18px 0 0;border-top:1px solid var(--line)}
#hpVolSheet .vs-stats div{min-width:0}
#hpVolSheet .vs-stats span{display:block;margin:0 0 4px;color:var(--muted);font:400 13px/1.3 "Capsule Sans Text",system-ui,sans-serif}
#hpVolSheet .vs-stats b{display:block;font:500 17px/1.3 "Capsule Sans Text",system-ui,sans-serif;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#hpVolSheet .vs-foot{margin:18px 0 0;color:var(--muted);font:400 12px/1.5 "Capsule Sans Text",system-ui,sans-serif}
@keyframes vsFade{from{opacity:0}to{opacity:1}}
@keyframes vsUp{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
@media(min-width:680px){#hpVolSheet{align-items:center;padding:24px;box-sizing:border-box}#hpVolSheet .vs-sheet{border-bottom:1px solid var(--line);border-radius:24px;max-height:min(82dvh,700px)}}
@media(prefers-reduced-motion:reduce){#hpVolSheet .vs-scrim,#hpVolSheet .vs-sheet{animation:none}}
