/* ============================================================
   HM5 shared chrome — one design language across every page.
   Injected by assets/hm5-shell.js. Everything is hm5- prefixed
   so it can never collide with page-local styles.
   ============================================================ */
:root{
  --hm5-bg:#050709; --hm5-surface:#0c1017; --hm5-line:#1b2230; --hm5-line-2:#2a3344;
  --hm5-text:#f2f5fa; --hm5-dim:#8b96ab; --hm5-faint:#5b6577;
  --hm5-green:#00e28f; --hm5-cyan:#22c3ff; --hm5-yellow:#ffd400; --hm5-magenta:#dc5ae6;
  --hm5-red:#ff4d5e; --hm5-font:'Inter',-apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif;
}

/* ---------- top navigation ---------- */
.hm5-topnav{position:sticky;top:0;z-index:900;background:rgba(5,7,9,.86);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  border-bottom:1px solid var(--hm5-line);font-family:var(--hm5-font)}
.hm5-topnav *{box-sizing:border-box}
.hm5-topnav .hm5-nav-in{max-width:1240px;margin:0 auto;padding:0 20px;height:58px;
  display:flex;align-items:center;gap:22px}
.hm5-brand{display:flex;align-items:center;gap:10px;text-decoration:none;flex:0 0 auto}
.hm5-brand img{height:30px;width:auto;display:block}
.hm5-brand .hm5-word{font-weight:900;font-size:17px;letter-spacing:-.3px;color:var(--hm5-text);white-space:nowrap}
.hm5-word .g{color:var(--hm5-green)}.hm5-word .y{color:var(--hm5-yellow)}
.hm5-word .c{color:var(--hm5-cyan)}.hm5-word .m{color:var(--hm5-magenta)}
.hm5-brand small{display:block;font-size:9.5px;font-weight:600;letter-spacing:1.6px;
  text-transform:uppercase;color:var(--hm5-faint);margin-top:1px}
.hm5-tabs{display:flex;align-items:center;gap:2px;flex:1 1 auto;min-width:0;
  overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}
.hm5-tabs::-webkit-scrollbar{display:none}
@media(min-width:960px){.hm5-tabs{justify-content:center}}
.hm5-tabs a{position:relative;display:flex;align-items:center;height:58px;padding:0 13px;
  font-size:13.5px;font-weight:600;color:var(--hm5-dim);text-decoration:none;
  white-space:nowrap;transition:color .15s ease}
.hm5-tabs a:hover{color:var(--hm5-text)}
.hm5-tabs a.on{color:var(--hm5-text)}
.hm5-tabs a.on::after{content:'';position:absolute;left:13px;right:13px;bottom:-1px;height:2px;
  background:var(--hm5-green);border-radius:2px 2px 0 0}
.hm5-tabs a .hm5-live{display:inline-block;width:6px;height:6px;border-radius:50%;
  background:var(--hm5-green);margin-left:6px;box-shadow:0 0 6px var(--hm5-green);
  animation:hm5pulse 2.2s infinite}
@keyframes hm5pulse{0%,100%{opacity:1}50%{opacity:.35}}
.hm5-nav-cta{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 15px;
  border-radius:9px;background:var(--hm5-green);color:#03170e!important;font-size:13px;font-weight:800;
  text-decoration:none;letter-spacing:.1px;transition:transform .12s ease,filter .12s ease}
.hm5-nav-cta:hover{transform:translateY(-1px);filter:brightness(1.08)}
@media(max-width:760px){
  .hm5-topnav .hm5-nav-in{padding:0 12px;gap:10px;height:52px}
  .hm5-tabs a{height:52px;padding:0 10px;font-size:12.5px}
  .hm5-brand small{display:none}
  .hm5-brand img{height:24px}
  .hm5-nav-cta{padding:0 11px;height:30px;font-size:12px}
}

/* ---------- footer ---------- */
.hm5-footer{background:var(--hm5-bg);border-top:1px solid var(--hm5-line);
  font-family:var(--hm5-font);color:var(--hm5-dim);margin-top:60px}
.hm5-footer .hm5-foot-in{max-width:1240px;margin:0 auto;padding:34px 20px 40px}
.hm5-foot-links{display:flex;flex-wrap:wrap;gap:4px 22px;margin-bottom:18px}
.hm5-foot-links a{color:var(--hm5-dim);text-decoration:none;font-size:13px;font-weight:600}
.hm5-foot-links a:hover{color:var(--hm5-text)}
.hm5-foot-disc{font-size:11.5px;line-height:1.65;color:var(--hm5-faint);max-width:920px;
  border-top:1px solid var(--hm5-line);padding-top:16px}
.hm5-foot-disc b{color:var(--hm5-dim)}
.hm5-foot-cc{margin-top:14px;font-size:11.5px;color:var(--hm5-faint);display:flex;
  flex-wrap:wrap;gap:4px 18px;align-items:center}
.hm5-foot-cc .hm5-word{font-weight:800;font-size:12px;color:var(--hm5-text)}

/* ---------- watchlist star ---------- */
.hm5-star{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;
  margin:0 5px 0 0;border:0;background:transparent;cursor:pointer;padding:0;border-radius:6px;
  color:#5b6577;font-size:14px;line-height:1;vertical-align:-3px;flex:0 0 auto;
  transition:color .12s ease,transform .12s ease}
/* inside the watchlist tiles the star sits on the right (it's the remove control) */
.wltile .hm5-star,.wlgrid .hm5-star{margin:0 0 0 5px}
.hm5-star:hover{color:var(--hm5-yellow);transform:scale(1.18)}
.hm5-star.on{color:var(--hm5-yellow)}
.hm5-star svg{width:14px;height:14px;display:block;pointer-events:none}
.hm5-star .f{fill:none;stroke:currentColor;stroke-width:1.8}
.hm5-star.on .f{fill:currentColor}

/* ---------- toast ---------- */
.hm5-toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,14px);z-index:1200;
  background:#0e141d;border:1px solid var(--hm5-line-2);color:var(--hm5-text);
  font:600 13px/1 var(--hm5-font);padding:11px 18px;border-radius:11px;
  box-shadow:0 12px 40px rgba(0,0,0,.5);opacity:0;pointer-events:none;
  transition:opacity .18s ease,transform .18s ease;white-space:nowrap}
.hm5-toast.on{opacity:1;transform:translate(-50%,0)}
.hm5-toast .g{color:var(--hm5-green)}.hm5-toast .y{color:var(--hm5-yellow)}

/* ---------- loading skeleton ---------- */
.hm5-skel{position:relative;overflow:hidden;background:rgba(255,255,255,.045);border-radius:8px;min-height:14px}
.hm5-skel::after{content:'';position:absolute;inset:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.07),transparent);
  animation:hm5shimmer 1.4s infinite}
@keyframes hm5shimmer{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
.hm5-skelstack{display:flex;flex-direction:column;gap:10px;padding:6px 0}
.hm5-skelstack .hm5-skel{height:38px}
