/* ==========================================================================
   Hero reel — four channels, one result.
   A revolving carousel of phones. The front phone plays a short journey
   (ad -> tap -> landing page -> conversion); the rest wait on either side.
   Everything is drawn in HTML/CSS; hero-reel.js builds the scenes and runs
   one clock that pauses off-screen. All brands shown are fictional.
   Design space is 640 x 620; the whole stage scales to its column.
   ========================================================================== */

.hr{position:relative;width:100%;max-width:640px;margin-inline:auto;user-select:none;-webkit-user-select:none;}
.hr-stage{position:relative;width:100%;aspect-ratio:640/580;}
.hr-world{position:absolute;left:0;top:0;width:640px;height:580px;transform-origin:0 0;transform:scale(var(--s,1));}

/* ---- carousel slots ------------------------------------------------------ */
.hr-ph{position:absolute;left:186px;top:14px;width:268px;height:556px;
  transition:transform .95s cubic-bezier(.65,0,.25,1),opacity .95s cubic-bezier(.65,0,.25,1),filter .95s cubic-bezier(.65,0,.25,1);
}
/* The front phone sits flat (no 3D transform, no will-change) so its text rasterises at full
   resolution; 3D/promoted layers were drawn once as a texture and scaled, which softened the end card. */
.hr-ph[data-o="0"]{transform:none;opacity:1;z-index:3;}
.hr-ph[data-o="-1"]{transform:perspective(1600px) translateX(-212px) translateZ(-190px) rotateY(34deg);opacity:.5;filter:saturate(.4) brightness(.55);z-index:2;}
.hr-ph[data-o="1"]{transform:perspective(1600px) translateX(212px) translateZ(-190px) rotateY(-34deg);opacity:.5;filter:saturate(.4) brightness(.55);z-index:2;}
.hr-ph[data-o="2"]{transform:perspective(1600px) translateX(0) translateZ(-420px) rotateY(0);opacity:0;z-index:1;}
.hr-ph[data-o="-1"],.hr-ph[data-o="1"]{cursor:pointer;}
.hr-ph[data-o="-1"]:hover,.hr-ph[data-o="1"]:hover{opacity:.7;filter:saturate(.6) brightness(.75);}
.hr-ph[data-snap]{transition:none;}

/* ---- phone shell --------------------------------------------------------- */
.hr-shell{position:absolute;inset:0;border-radius:44px;background:#0b0c0d;
  box-shadow:0 0 0 1px #ffffff1c inset,0 0 0 1px #000,0 30px 80px -20px #000,0 0 0 6px #121315 inset;}
.hr-scr{position:absolute;inset:7px;border-radius:37px;overflow:hidden;background:#000;color:#f2f3f5;
  font-family:Inter,system-ui,sans-serif;font-size:12px;line-height:1.35;-webkit-font-smoothing:antialiased;isolation:isolate;}
.hr-island{position:absolute;left:50%;top:9px;width:78px;height:23px;margin-left:-39px;border-radius:12px;background:#000;z-index:40;}
/* Status bar like a real iPhone: the time and the icon cluster each sit centred in the
   "ear" either side of the island (screen 254 wide, island 78 -> ears of 88). */
.hr-sb{position:absolute;left:0;right:0;top:9px;height:23px;display:grid;grid-template-columns:1fr 78px 1fr;align-items:center;
  font-size:12.5px;font-weight:600;letter-spacing:-.01em;z-index:30;}
.hr-sb span{display:flex;justify-content:center;align-items:center;padding-left:6px;}
.hr-sb span:last-child{grid-column:3;gap:4px;padding:0 6px 0 0;}
.hr-sb svg{height:9px;width:auto;fill:currentColor;display:block;}
.hr-sb svg:last-child{height:10px;}
.hr-light .hr-sb{color:#111;}

/* ---- shared bits --------------------------------------------------------- */
.hr-app [hidden]{display:none !important;}
.hr-ico{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.hr-skel{height:7px;border-radius:4px;background:#ffffff14;}
.hr-light .hr-skel{background:#0000000f;}
.hr-press{transition:transform .16s ease;}
.hr-press.is-down{transform:scale(.95);}
.hr-caret:after{content:"";display:inline-block;width:1.5px;height:1.05em;margin-left:1px;vertical-align:-2px;background:currentColor;animation:hr-blink 1s steps(1) infinite;}
@keyframes hr-blink{50%{opacity:0;}}

/* tap ripple */
.hr-tap{position:absolute;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;pointer-events:none;z-index:60;
  background:#ffffffb3;box-shadow:0 0 0 1px #0000001f;opacity:0;transform:scale(.4);}
.hr-tap.go{animation:hr-tap .6s cubic-bezier(.2,.7,.3,1) forwards;}
@keyframes hr-tap{0%{opacity:0;transform:scale(.4);}25%{opacity:.9;transform:scale(.8);}100%{opacity:0;transform:scale(1.7);}}

/* ---- landing page (light, slides up over the app) ------------------------ */
.hr-lp{position:absolute;inset:0;background:#fff;color:#16171a;transform:translateY(102%);transition:transform .55s cubic-bezier(.3,.8,.25,1);z-index:20;
  display:flex;flex-direction:column;padding:44px 18px 18px;}
.hr-lp.in{transform:none;}
.hr-lp-url{position:absolute;left:14px;right:14px;top:40px;height:24px;border-radius:12px;background:#f0f1f3;color:#6b6f76;font-size:10.5px;
  display:flex;align-items:center;justify-content:center;gap:4px;}
.hr-lp-url svg{width:9px;height:9px;stroke:#6b6f76;stroke-width:2.4;fill:none;}
.hr-lp-bar{display:flex;align-items:center;gap:7px;margin-top:34px;font-weight:650;font-size:13px;letter-spacing:-.01em;}
.hr-mark{width:20px;height:20px;border-radius:6px;background:var(--b);color:#fff;display:grid;place-items:center;font-size:11px;font-weight:700;}
.hr-lp h4{margin:22px 0 0;font-size:21px;line-height:1.12;letter-spacing:-.025em;font-weight:680;color:#101114;}
.hr-lp p{margin:9px 0 0;color:#5d6168;font-size:11.5px;line-height:1.45;}
.hr-field{margin-top:16px;}
.hr-field label{display:block;font-size:10px;font-weight:600;color:#5d6168;margin-bottom:5px;}
.hr-field div{height:36px;border-radius:9px;border:1px solid #dcdee2;padding:0 11px;display:flex;align-items:center;font-size:12px;color:#16171a;}
.hr-field.focus div{border-color:var(--b);box-shadow:0 0 0 3px color-mix(in oklab,var(--b) 18%,transparent);}
.hr-chips{display:flex;gap:6px;margin-top:6px;}
.hr-chips span{flex:1;height:32px;border-radius:9px;border:1px solid #dcdee2;display:grid;place-items:center;font-size:11px;font-weight:550;color:#3d4046;transition:all .2s;}
.hr-chips span.on{border-color:var(--b);background:color-mix(in oklab,var(--b) 10%,#fff);color:var(--b);}
.hr-btn{margin-top:auto;height:42px;border-radius:11px;background:var(--b);color:#fff;font-weight:650;font-size:13px;display:grid;place-items:center;}
.hr-fine{margin-top:9px;text-align:center;font-size:9.5px;color:#8b8f96;}

.hr-done{position:absolute;inset:0;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 26px;
  opacity:0;transition:opacity .3s ease;z-index:5;}
.hr-done.in{opacity:1;}
.hr-done i{width:54px;height:54px;border-radius:50%;background:var(--b);display:grid;place-items:center;transform:scale(.5);transition:transform .5s cubic-bezier(.3,1.6,.4,1);}
.hr-done.in i{transform:none;}
.hr-done i svg{width:26px;height:26px;fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:24;stroke-dashoffset:24;transition:stroke-dashoffset .4s .25s ease;}
.hr-done.in i svg{stroke-dashoffset:0;}
.hr-done b{margin-top:16px;font-size:17px;letter-spacing:-.02em;color:#101114;}
.hr-done small{margin-top:6px;font-size:11px;color:#6b6f76;}

/* ==========================================================================
   Scene A — short-form video (UGC)
   ========================================================================== */
.hr-reel{position:absolute;inset:0;background:#1b1512;overflow:hidden;}
.hr-ugc{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;background:#000;}
.hr-reel .shade{position:absolute;inset:0;background:linear-gradient(180deg,#0006 0%,transparent 18%,transparent 52%,#000c 100%);}
.hr-reel .top{position:absolute;left:16px;right:16px;top:44px;display:flex;justify-content:space-between;font-weight:650;font-size:15px;z-index:2;}
.hr-reel .top svg{width:20px;height:20px;}
@keyframes hr-pop{from{transform:scale(.6);opacity:0;}}
.hr-rail{position:absolute;right:10px;bottom:132px;display:flex;flex-direction:column;align-items:center;gap:14px;z-index:3;font-size:10px;font-weight:600;}
.hr-rail div{display:flex;flex-direction:column;align-items:center;gap:3px;}
.hr-rail .hr-ico{width:25px;height:25px;}
.hr-meta{position:absolute;left:14px;right:60px;bottom:66px;z-index:3;}
.hr-meta .by{display:flex;align-items:center;gap:7px;font-weight:650;font-size:12px;}
.hr-meta .by i{width:26px;height:26px;border-radius:50%;background:var(--b);display:grid;place-items:center;font-style:normal;font-size:11px;box-shadow:0 0 0 1.5px #fff;}
.hr-meta .by small{font-weight:500;color:#ffffffb8;font-size:10.5px;}
.hr-meta .by em{font-style:normal;margin-left:4px;padding:3px 9px;border-radius:7px;box-shadow:inset 0 0 0 1px #ffffff8c;font-size:10.5px;font-weight:600;}
.hr-meta p{margin:6px 0 0;font-size:11px;color:#ffffffe0;}
.hr-meta p span{color:#ffffffa6;}
.hr-meta .snd{display:flex;align-items:center;gap:5px;margin-top:6px;font-size:10.5px;color:#ffffffd9;}
.hr-meta .snd svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2;}
.hr-rail .aud i{width:24px;height:24px;border-radius:6px;background:var(--b);box-shadow:0 0 0 1.5px #fff;display:grid;place-items:center;font-style:normal;font-size:10px;font-weight:700;}
.hr-cta{position:absolute;left:12px;right:12px;bottom:18px;height:38px;border-radius:9px;z-index:3;padding:0 13px;
  display:flex;align-items:center;justify-content:space-between;font-weight:650;font-size:12.5px;
  background:#ffffff26;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:background .5s ease;}
.hr-cta.lit{background:#0095f6;}
.hr-cta svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.2;}

/* ==========================================================================
   Scene B — search
   ========================================================================== */
.hr-srch{position:absolute;inset:0;background:#141517;padding:46px 12px 0;}
.hr-q{height:40px;border-radius:20px;background:#26282b;display:flex;align-items:center;gap:8px;padding:0 13px;font-size:12px;color:#e9eaec;}
.hr-q .hr-ico{width:16px;height:16px;color:#9aa0a6;flex:none;}
.hr-q .ph{color:#80858c;}
.hr-q span[data-query]{flex:1;white-space:nowrap;overflow:hidden;}
.hr-q em{display:flex;}
.hr-q em .hr-ico{width:17px;height:17px;color:#bdc1c6;}
.hr-tabs{display:flex;gap:16px;padding:12px 6px 0;font-size:11px;color:#9aa0a6;border-bottom:1px solid #ffffff12;}
.hr-tabs span{padding-bottom:8px;}
.hr-tabs span:first-child{color:#e9eaec;box-shadow:inset 0 -2px 0 #e9eaec;}
.hr-load{height:2px;margin:0 -12px;background:linear-gradient(90deg,transparent,#8ab4f8,transparent);background-size:40% 100%;background-repeat:no-repeat;opacity:0;}
.hr-load.on{opacity:1;animation:hr-load .7s linear infinite;}
@keyframes hr-load{from{background-position:-40% 0;}to{background-position:140% 0;}}
.hr-sug{padding:14px 4px 0;display:flex;flex-direction:column;gap:15px;opacity:0;transition:opacity .2s;}
.hr-sug.in{opacity:1;}
.hr-sug div{display:flex;align-items:center;gap:12px;font-size:12px;color:#e8eaed;}
.hr-sug div span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700;}
.hr-sug div span b{font-weight:400;}
.hr-sug .hr-ico{width:14px;height:14px;color:#9aa0a6;flex:none;}
.hr-res{padding-top:12px;display:flex;flex-direction:column;gap:10px;}
.hr-res > div{opacity:0;transform:translateY(8px);transition:opacity .35s ease,transform .35s ease;}
.hr-res.in > div{opacity:1;transform:none;}
.hr-res.in > div:nth-child(2){transition-delay:.12s;}
.hr-res.in > div:nth-child(3){transition-delay:.22s;}
.hr-res.in > div:nth-child(4){transition-delay:.3s;}
.hr-ad{background:#1d1f22;border-radius:14px;padding:12px 13px;}
.hr-ad .sp{font-size:10.5px;font-weight:700;color:#e9eaec;}
.hr-ad .src{display:flex;align-items:center;gap:9px;margin-top:9px;}
.hr-ad .src .hr-ico{width:16px;height:16px;margin-left:auto;color:#9aa0a6;}
.hr-ad .src i{width:24px;height:24px;border-radius:50%;background:#2a2c30;display:grid;place-items:center;}
.hr-ad .src i b{width:14px;height:14px;border-radius:4px;background:var(--b);display:block;}
.hr-ad .src span{display:flex;flex-direction:column;font-size:12px;color:#e9eaec;line-height:1.3;}
.hr-ad .src small{color:#bdc1c6;font-size:10.5px;}
.hr-ad h5{margin:9px 0 0;font-size:15.5px;line-height:1.25;font-weight:400;color:#8ab4f8;letter-spacing:0;}
.hr-ad p{margin:6px 0 0;font-size:11px;color:#bdc1c6;line-height:1.45;}
.hr-ad .links{display:flex;gap:6px;margin:11px -13px 0 0;overflow:hidden;}
.hr-ad .links span{flex:none;white-space:nowrap;padding:7px 12px;border-radius:16px;background:#303134;font-size:10.5px;color:#8ab4f8;}
.hr-org{background:#1d1f22;border-radius:14px;padding:13px;display:flex;flex-direction:column;gap:8px;}

/* ==========================================================================
   Scene C — community feed
   ========================================================================== */
.hr-comm{position:absolute;inset:0;background:#0e1113;}
.hr-comm .bar{position:absolute;left:0;right:0;top:0;height:84px;padding:44px 14px 0;display:flex;align-items:center;gap:10px;background:#0e1113;z-index:4;border-bottom:1px solid #ffffff10;}
.hr-comm .bar i{width:26px;height:26px;border-radius:50%;background:linear-gradient(135deg,#ff8a3d,#ff4f7b);}
.hr-comm .bar b{font-size:14px;}
.hr-comm .bar small{display:block;font-size:10px;color:#8b949a;font-weight:500;}
.hr-comm .bar .join{margin-left:auto;padding:6px 12px;border-radius:14px;background:#ffffff14;font-size:11px;font-weight:650;}
.hr-feed{position:absolute;left:0;right:0;top:84px;padding:0 0 40px;transition:transform 1.7s cubic-bezier(.45,0,.2,1);}
.hr-post{padding:12px 14px 10px;border-bottom:6px solid #000;}
.hr-post .h{display:flex;align-items:center;gap:6px;font-size:10.5px;color:#8b949a;}
.hr-post .h i{width:18px;height:18px;border-radius:50%;background:#2e3a40;}
.hr-post .h b{color:#d7dadc;font-weight:600;}
.hr-post h6{margin:7px 0 0;font-size:13.5px;line-height:1.3;font-weight:600;color:#e6e8ea;letter-spacing:-.01em;}
.hr-post .img{margin-top:9px;height:132px;border-radius:12px;overflow:hidden;position:relative;}
.hr-post .acts{display:flex;gap:8px;margin-top:9px;font-size:10.5px;font-weight:600;color:#c3c7ca;}
.hr-post .acts span{display:flex;align-items:center;gap:5px;padding:5px 9px;border-radius:14px;background:#ffffff0f;}
.hr-post .acts svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;}
.hr-post.promo .h b{color:#e6e8ea;}
.hr-post.promo .img{height:150px;background:linear-gradient(160deg,#efe6da,#d9c9b4);}
.hr-post.promo .img svg{position:absolute;left:50%;bottom:10px;height:132px;margin-left:-52px;}
.hr-post .shop{display:flex;align-items:center;justify-content:space-between;margin-top:0;padding:9px 11px;background:#1a1f22;border-radius:0 0 12px 12px;font-size:11px;color:#c3c7ca;}
.hr-post .shop b{padding:6px 12px;border-radius:14px;background:#d7dadc;color:#0e1113;font-size:11px;font-weight:700;}
.hr-post.promo .img{border-radius:12px 12px 0 0;}

/* ==========================================================================
   Scene D — online video (in-stream ad)
   ========================================================================== */
.hr-vid{position:absolute;inset:0;background:#0f0f0f;padding-top:40px;}
.hr-player{position:relative;height:143px;background:#1b1d2b;overflow:hidden;}
.hr-player .adlab{position:absolute;left:8px;bottom:9px;font-size:10px;font-weight:600;color:#fff;text-shadow:0 1px 3px #000c;}
.hr-player .skip{position:absolute;right:8px;bottom:9px;min-width:26px;height:26px;padding:0 8px;border-radius:13px;background:#0009;display:flex;align-items:center;justify-content:center;gap:4px;font-size:10.5px;font-weight:600;color:#fff;}
.hr-player .skip.go{padding:0 10px 0 12px;background:#000b;}
.hr-player .skip svg{width:12px;height:12px;fill:#fff;stroke:#fff;stroke-width:1.5;stroke-linejoin:round;}
.hr-player .prog{position:absolute;left:0;bottom:0;height:3px;width:0;background:#ffd84a;transition:width 6s linear;}
.hr-player.play .prog{width:100%;}
.hr-comp{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#1f1f1f;}
.hr-comp i{width:30px;height:30px;border-radius:50%;background:var(--b);display:grid;place-items:center;font-style:normal;font-weight:700;font-size:12px;flex:none;}
.hr-comp div{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;font-size:12px;font-weight:600;line-height:1.25;color:#f1f1f1;}
.hr-comp small{font-size:10.5px;color:#aaa;font-weight:400;white-space:nowrap;}
.hr-comp small b{color:#f1f1f1;font-weight:600;}
.hr-comp > b{flex:none;padding:8px 14px;border-radius:18px;background:#3ea6ff;color:#0f0f0f;font-size:11.5px;font-weight:600;}
.hr-vmeta{padding:12px 12px 0;}
.hr-vmeta h6{margin:0;font-size:14px;font-weight:600;line-height:1.3;letter-spacing:-.01em;color:#f1f1f1;}
.hr-vmeta small{display:block;margin-top:5px;font-size:10.5px;color:#aaa;}
.hr-vmeta .ch{display:flex;align-items:center;gap:8px;margin-top:11px;font-size:12px;white-space:nowrap;}
.hr-vmeta .ch i{width:26px;height:26px;border-radius:50%;background:#2c5c4b;display:grid;place-items:center;font-style:normal;font-size:9px;font-weight:700;}
.hr-vmeta .ch small{margin:0;}
.hr-vmeta .ch em{margin-left:auto;font-style:normal;padding:7px 13px;border-radius:16px;background:#f1f1f1;color:#0f0f0f;font-size:11px;font-weight:600;}
.hr-vmeta .chips{display:flex;gap:7px;margin-top:11px;overflow:hidden;}
.hr-vmeta .chips span{flex:none;display:flex;align-items:center;gap:5px;padding:7px 11px;border-radius:16px;background:#ffffff1a;font-size:10.5px;font-weight:600;color:#f1f1f1;}
.hr-vmeta .chips svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round;}
.hr-rec{display:flex;flex-direction:column;gap:12px;padding:14px 12px 0;}
.hr-rec div{display:flex;gap:10px;}
.hr-rec i{width:112px;height:63px;border-radius:9px;flex:none;background:#26272b;}
.hr-rec span{flex:1;display:flex;flex-direction:column;gap:7px;padding-top:3px;}

/* Video layers ignore overflow:hidden + border-radius once the stage is scaled to a fractional
   size, and painted a 1px sliver past the screen's right edge (over the bezel and the end card).
   clip-path clips composited video reliably. */
.hr-scr{clip-path:inset(0 round 37px);}
.hr-player{clip-path:inset(0);}
.hr-scr.ended .hr-app{visibility:hidden;}

/* ---- finale: phones merge into the front phone; its screen becomes the end card ---- */
.hr-ph[data-o="m"]{transform:perspective(1600px) translateX(0) translateZ(-40px) rotateY(0);opacity:0;z-index:1;transition-duration:.6s;}
.hr-end{position:absolute;inset:0;z-index:25;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:26px;
  background:#0c0d0e;opacity:0;transition:opacity .35s ease;}
.hr-end.on{opacity:1;}
.hr-end{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto;}   /* full-weight text: the thin 'antialiased' mode read as faded */
.hr-end .ln{margin:0;display:flex;flex-direction:column;align-items:center;font:700 31px/1.08 Onest,Inter,system-ui,sans-serif;letter-spacing:-.01em;color:#f7f8f8;text-align:center;}
.hr-end .ln span{opacity:0;transform:translateY(12px);filter:blur(5px);transition:opacity .35s ease,transform .45s cubic-bezier(.2,.9,.2,1),filter .35s ease;}
.hr-end .ln span + span{transition-delay:.12s;}
.hr-end.in .ln span{opacity:1;transform:none;filter:none;}
.hr-end .mk{width:46px;height:46px;overflow:visible;fill:#f7f8f8;}
.hr-end .o,.hr-end .i{opacity:0;transition:transform .38s cubic-bezier(.3,1.45,.5,1),opacity .12s linear;}
.hr-end .o{transform:translate(-200px,-200px);}
.hr-end .i{transform:translate(200px,200px);transition-delay:.07s;}
.hr-end.ans .o,.hr-end.ans .i{transform:none;opacity:1;}
.hr-end.out{opacity:0;}
.hr-end.snap,.hr-end.snap *{transition:none !important;}

/* The site's green glow behind .hero-art was there to lift the old abstract video; behind phones it reads as haze. */
.hero-art:has(> .hr):after{display:none;}

/* ---- toast + channel rail ------------------------------------------------ */
.hr-toast{position:absolute;right:16px;top:84px;scale:var(--k,1);transform-origin:100% 0;z-index:8;display:flex;flex-direction:column;gap:9px;padding:12px 14px 11px;border-radius:14px;
  background:#101112f2;box-shadow:0 0 0 1px #ffffff17,0 16px 40px -10px #000;font:500 13px/1.2 Inter,system-ui,sans-serif;color:#f7f8f8;
  opacity:0;transform:translate(-8px,6px) scale(.96);transition:opacity .3s ease,transform .45s cubic-bezier(.3,1.4,.5,1);white-space:nowrap;}
.hr-toast.in{opacity:1;transform:none;}
.hr-toast .flow{display:flex;align-items:center;}
.hr-toast .tile{position:relative;width:30px;height:30px;border-radius:8px;flex:none;display:grid;place-items:center;}
.hr-toast .up{background:#1c1d1f;box-shadow:inset 0 0 0 1px #ffffff1a;}
.hr-toast .up svg{width:15px;height:15px;fill:#f7f8f8;}
.hr-toast .cl{background:var(--b);}
.hr-toast .cl em{font-style:normal;font-weight:700;font-size:14px;color:#fff;}
.hr-toast .cl u{position:absolute;right:-6px;bottom:-6px;width:17px;height:17px;border-radius:50%;background:var(--accent,#4AB681);box-shadow:0 0 0 2.5px #101112;
  display:grid;place-items:center;opacity:0;transform:scale(.3);}
.hr-toast .cl u svg{width:10px;height:10px;fill:none;stroke:#08090a;stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round;}
.hr-toast .track{position:relative;width:64px;height:2px;margin:0 8px;border-radius:1px;background:repeating-linear-gradient(90deg,#ffffff2e 0 4px,transparent 4px 8px);}
.hr-toast .track i{position:absolute;left:0;top:50%;width:8px;height:8px;margin:-4px 0 0 -4px;border-radius:50%;background:var(--accent,#4AB681);
  box-shadow:0 0 10px var(--accent,#4AB681);opacity:0;}
.hr-toast.in .track i{animation:hr-send .7s cubic-bezier(.55,0,.35,1) .3s both;}
.hr-toast.in .cl u{animation:hr-badge .4s cubic-bezier(.3,1.6,.4,1) .95s both;}
.hr-toast.in .cl{animation:hr-recv .5s ease .9s both;}
@keyframes hr-send{0%{left:0;opacity:0;}15%{opacity:1;}85%{opacity:1;}100%{left:100%;opacity:0;}}
@keyframes hr-badge{from{opacity:0;transform:scale(.3);}to{opacity:1;transform:none;}}
@keyframes hr-recv{0%{box-shadow:0 0 0 0 color-mix(in oklab,var(--accent,#4AB681) 70%,transparent);}100%{box-shadow:0 0 0 10px transparent;}}
.hr-toast .lbl{display:flex;flex-direction:column;gap:2px;}
.hr-toast .lbl b{font-weight:600;font-size:13px;}
.hr-toast small{display:block;color:#8a8f98;font-size:11.5px;}

.hr-chan{position:relative;margin-top:14px;display:flex;flex-wrap:wrap;justify-content:center;gap:4px 22px;font:500 13px/1 Inter,system-ui,sans-serif;color:#62666d;}
.hr-chan button{position:relative;padding:12px 0 11px;margin:0;border:0;background:none;font:inherit;color:inherit;cursor:pointer;transition:color .4s;}
.hr-chan button:hover{color:#d0d6e0;}
.hr-chan button:focus-visible{outline:2px solid #8a8f98;outline-offset:3px;border-radius:2px;}
.hr-chan button:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:1px;background:#ffffff14;}
.hr-chan button b{position:absolute;left:0;bottom:0;height:2px;width:0;border-radius:1px;background:#8a8f98;z-index:1;}
.hr-chan button.on{color:#d0d6e0;}
.hr-chan.all button{color:#d0d6e0;}
.hr-chan.all button b{width:100% !important;background:var(--accent,#4AB681);transition:width .6s ease;}
.hr-chan button{display:inline-flex;align-items:center;gap:6px;}
.hr-chan .ck{width:12px;height:12px;fill:none;stroke:var(--accent,#4AB681);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;display:none;}
.hr-chan button.done .ck{display:block;}
.hr.narrow .hr-chan{flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:0;width:min(100%,280px);margin:12px auto 0;}
.hr.narrow .hr-chan button{justify-content:space-between;padding:13px 2px 12px;font-size:15px;transition:color .4s,transform .5s cubic-bezier(.3,.8,.25,1);}
.hr.narrow .hr-chan button:after{background:#ffffff0f;}

/* ---- phones: stage fits the column; small screens lose the side phones --- */
@media (max-width:600px){
  .hr-ph[data-o="-1"],.hr-ph[data-o="1"]{opacity:.28;}
}
@media (prefers-reduced-motion:reduce){
  .hr-ph,.hr-lp,.hr-feed,.hr-res > div{transition:none !important;}
}
