/* Hype Train progress strip (see hypebar.js): slim taped paper, top-left above the alert corner. */ #hype-bar { --ink:#3a2a20; --red:#b74347; --fill:#f8a070; position:fixed; left:85px; top:14px; width:440px; z-index:60; visibility:hidden; padding:8px 16px 10px; background:#fffdf7; box-shadow:0 8px 18px rgba(0,0,0,.4); transform-origin:50% 0; } #hype-bar.golden { --fill:#f2c040; background:#fff8e2; } #hype-bar * { box-sizing:border-box; } #hype-bar:before { content:''; position:absolute; left:50%; top:-12px; width:90px; height:26px; margin-left:-45px; transform:rotate(-2deg); background:rgba(250,170,120,.88); background-image:repeating-linear-gradient(45deg,#fff6 0 7px,#0000 7px 14px); } #hype-bar.golden:before { background-color:rgba(246,206,110,.95); } #hype-bar .top { display:flex; justify-content:space-between; align-items:baseline; font:900 15px 'Nunito', sans-serif; letter-spacing:2px; color:var(--ink); } #hype-bar .lv { color:var(--red); } #hype-bar .time { font:700 22px 'Caveat', cursive; letter-spacing:0; color:#7a6656; } #hype-bar .track { margin-top:5px; height:16px; border:3px solid var(--ink); border-radius:10px; background:#fff; overflow:hidden; } #hype-bar .fill { height:100%; width:0; background-color:var(--fill); transition:width .7s cubic-bezier(.3,.7,.4,1); background-image:repeating-linear-gradient(45deg,#fff5 0 6px,#0000 6px 12px); }