/* RazMania hub styles — scoped to .rzm-hub.
   Palette: dataviz reference dark steps, validated against #272727 and #1E1E1E.
   The !important reset is deliberate: WordPress/Elementor themes ship rules like
   td{padding:18px!important} and h2{color:#f0f!important} that beat any non-important
   widget CSS regardless of specificity. Tested against a hostile host page. */

.rzm-hub{--bg:#1E1E1E;--pn:#272727;--pn2:#2E2E2E;--ink:#F5F5F5;
  --gold:#f4c430;--line:#3a3a3a;--ink2:#b6b6b0;--ink3:#8a8a84;--trk:#333;
  background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,"Segoe UI",Roboto,sans-serif;
  font-size:15px;line-height:1.5;padding:26px 20px 44px;-webkit-font-smoothing:antialiased}
.rzm-hub *{box-sizing:border-box}

/* ---- SCOPED RESET ----------------------------------------------------------
   This block exists because WordPress/Elementor themes ship rules like
   `td{padding:18px!important}` and `h2{color:#ff00ff!important}` that beat any
   non-important widget CSS regardless of specificity. Tested against a hostile
   host page: without this, headings rendered magenta Georgia and table cells took
   the theme's padding. Among !important declarations specificity decides, and
   `.rzm-hub td` (0,1,1) outranks a bare `td` (0,0,1) — so these win.
   Component rules further down repeat !important on the same properties and win
   on specificity or source order. */
.rzm-hub table{border-collapse:collapse!important;border-spacing:0!important;
  background:none!important;border:0!important;width:100%!important;margin:0!important;
  font-size:inherit!important;table-layout:auto!important}
.rzm-hub tr,.rzm-hub tbody,.rzm-hub thead{background:none!important;border:0!important}
.rzm-hub td,.rzm-hub th{padding:7px 0!important;border:0!important;background:none!important;
  font-family:inherit!important;vertical-align:middle!important;text-transform:none!important;
  letter-spacing:normal!important;line-height:1.5!important;color:inherit!important}
/* Colour inheritance is forced explicitly: a theme rule like `td{color:#333!important}`
   or `li{color:#111!important}` would otherwise paint dark text onto the dark panel and
   make whole tables unreadable. Everything inside inherits the light --ink unless a
   component rule below deliberately overrides it (gold chips, badges). */
.rzm-hub div,.rzm-hub ol,.rzm-hub ul,.rzm-hub li,.rzm-hub section,
.rzm-hub tr,.rzm-hub tbody,.rzm-hub thead{color:inherit!important}
.rzm-hub h1,.rzm-hub h2{color:var(--ink)!important;font-family:inherit!important;
  margin:0!important;padding:0!important;text-transform:none!important;letter-spacing:-.02em!important}
.rzm-hub p{margin:0!important;padding:0!important;font-family:inherit!important;
  color:inherit!important;text-transform:none!important}
.rzm-hub a{color:inherit!important;text-decoration:none!important;box-shadow:none!important}
.rzm-hub button{font-family:inherit!important;text-transform:none!important;
  letter-spacing:normal!important;box-shadow:none!important;width:auto!important;
  line-height:1.5!important;margin:0!important;min-height:0!important}
.rzm-hub img{max-width:100%!important;border-radius:0!important;box-shadow:none!important;
  margin:0!important;border:0!important}
.rzm-hub span,.rzm-hub i,.rzm-hub b,.rzm-hub em{font-style:normal!important;
  font-weight:inherit;letter-spacing:normal!important;color:inherit!important;
  background:none;text-shadow:none!important}
.rzm-hub .dot,.rzm-hub .bar,.rzm-hub em.conf,.rzm-hub em.ask,
.rzm-hub .conf,.rzm-hub .ask,.rzm-hub .tag,.rzm-hub .bg{background-clip:border-box}
/* ---- end reset ---- */

.rzm-hub .wrap{max-width:1280px;margin:0 auto}

.rzm-hub .top{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;
  flex-wrap:wrap;padding-bottom:16px;border-bottom:2px solid var(--gold)}
.rzm-hub h1{font-size:26px;font-weight:700;letter-spacing:-.02em}
.rzm-hub .tag{display:inline-block;margin-left:10px;padding:3px 9px;border-radius:4px;
  background:var(--gold)!important;color:#1a1a1a!important;font-size:11px;font-weight:700;letter-spacing:.07em!important;
  text-transform:uppercase;vertical-align:4px}
.rzm-hub .sub{margin-top:6px!important;color:var(--ink2)!important;font-size:13.5px}

.rzm-hub .livewrap{display:flex;flex-direction:column;align-items:flex-end;gap:3px}
.rzm-hub .live{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:700;
  letter-spacing:.1em!important;text-transform:uppercase!important;color:#6ee7a8!important}
.rzm-hub .live i{position:relative;width:7px;height:7px;border-radius:50%;
  background:#22c55e;flex:none;display:inline-block}
/* The ring is a separate pseudo-element so the dot itself never moves — animating the
   dot would make the label jitter. Namespaced keyframes: @keyframes cannot be scoped
   by a selector, so the name must not collide with anything the theme ships. */
.rzm-hub .live i::after{content:"";position:absolute;inset:0;border-radius:50%;
  background:#22c55e;animation:rzmhubpulse 2.2s cubic-bezier(.2,.6,.4,1) infinite}
@keyframes rzmhubpulse{0%{transform:scale(1);opacity:.65}70%,100%{transform:scale(3);opacity:0}}
@media(prefers-reduced-motion:reduce){.rzm-hub .live i::after{animation:none;opacity:.35}}
.rzm-hub .lived{font-size:11px;color:var(--ink3)!important;white-space:nowrap}
@media(max-width:640px){.rzm-hub .livewrap{align-items:flex-start;margin-top:8px}}
.rzm-hub .ctl{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin:12px 0 14px}
.rzm-hub .ch{display:inline-flex;align-items:center;gap:7px;padding:7px 13px;border-radius:999px;
  cursor:pointer;border:1px solid var(--line);background:var(--pn);color:var(--ink2);
  font:inherit;font-size:12.5px;font-weight:500}
.rzm-hub .ch:hover{color:var(--ink);border-color:var(--ink3)}
.rzm-hub .ch[aria-pressed="true"]{background:var(--gold)!important;color:#1a1a1a!important;border-color:var(--gold);font-weight:600}
.rzm-hub .ch[aria-pressed="true"] .dot{outline:2px solid rgba(0,0,0,.28)}
.rzm-hub .rst{margin-left:auto;color:var(--ink3)}
.rzm-hub .dot{width:9px!important;height:9px!important;border-radius:50%;flex:none;display:inline-block!important;background:#8d8d86}

.rzm-hub .cols{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:9px}
.rzm-hub .col{background:var(--pn);border:1px solid var(--line);border-radius:10px;
  padding:11px 12px;min-width:0}
.rzm-hub .colh{display:flex;align-items:center;gap:7px;font-size:12.5px;font-weight:600;
  color:var(--ink)!important;padding-bottom:6px;margin-bottom:2px;border-bottom:1px solid var(--gold)}
.rzm-hub .colh b{margin-left:auto;font-size:10.5px;font-weight:600;color:var(--ink3)!important;
  font-variant-numeric:tabular-nums}
.rzm-hub ol.clist{list-style:none!important;margin:0!important;padding:0!important}
.rzm-hub ol.clist li{display:grid;grid-template-columns:15px minmax(0,1fr) auto;
  gap:0 7px;padding:4px 0;border-top:1px solid var(--pn2);align-items:center}
.rzm-hub ol.clist li{grid-template-columns:15px minmax(0,1fr) auto}
.rzm-hub ol.clist li:first-child{border-top:none}
.rzm-hub ol.clist li:hover{background:var(--pn2)}
.rzm-hub .clist .n{font-size:10px;color:var(--ink3)!important;
  font-variant-numeric:tabular-nums;text-align:right;align-self:center}
.rzm-hub .clist a{font-size:11px;line-height:1.32;color:var(--ink)!important;min-width:0;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  white-space:normal;height:2.64em}
.rzm-hub .clist a:hover{color:var(--gold)!important;text-decoration:underline!important}
.rzm-hub .clist .pz{font-size:11.5px;font-weight:700;color:var(--gold)!important;
  font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}
.rzm-hub .clist .pz.askp{color:#fdba74!important}
.rzm-hub .clist em{font-style:normal!important;font-size:8.5px;font-weight:600;
  letter-spacing:.04em!important;text-transform:uppercase;padding:1px 4px;border-radius:3px}
.rzm-hub .clist em.conf{color:#86efac!important;background:#14311f!important}
.rzm-hub .clist em.ask{color:#fdba74!important;background:#3a2011!important}
.rzm-hub .colsnote{font-size:11.5px;color:var(--ink3)!important;line-height:1.55}
.rzm-hub .colsnote strong{color:var(--ink2)}
.rzm-hub .sech{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;
  margin:16px 0 2px;padding-top:14px;border-top:1px solid var(--line)}
.rzm-hub .sech h2{font-size:18px!important}
.rzm-hub .sech p{font-size:12.5px;color:var(--ink3)!important}
@media(max-width:1100px){.rzm-hub .cols{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.rzm-hub .cols{grid-template-columns:1fr}}
.rzm-hub .tls-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(212px,1fr));gap:10px;margin-bottom:14px}
.rzm-hub .tl{background:var(--pn);border:1px solid var(--line);border-radius:10px;padding:11px 14px}
.rzm-hub .tlb{font-size:11px;font-weight:600;letter-spacing:.06em!important;text-transform:uppercase!important;color:var(--ink3)!important}
.rzm-hub .tlv{margin:7px 0 5px!important;font-size:28px;font-weight:700;letter-spacing:-.025em;
  font-variant-numeric:tabular-nums;color:var(--gold)!important;letter-spacing:-.025em!important;
  font-size:24px!important;margin:4px 0 3px!important}
.rzm-hub .tls{font-size:12.5px;color:var(--ink2)!important;display:flex;align-items:center;gap:7px}

.rzm-hub .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(390px,1fr));gap:12px}
.rzm-hub .pnl{background:var(--pn);border:1px solid var(--line);border-radius:10px;padding:16px 17px 13px}
.rzm-hub .pnl.full{grid-column:1/-1}
.rzm-hub .ph{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:11px}
.rzm-hub h2{font-size:15.5px;font-weight:600;letter-spacing:-.01em!important}
.rzm-hub .ps{margin-top:3px!important;font-size:12.5px;color:var(--ink3)!important}
.rzm-hub .bg{flex:none;font-size:9.5px;font-weight:600;letter-spacing:.05em!important;
  text-transform:uppercase!important;padding:3px 8px;border-radius:4px;
  border:1px solid var(--line);color:var(--ink3)!important;background:var(--pn2)!important}
.rzm-hub .bg.ok{color:#86efac!important;background:#14311f!important;border-color:#1c5233}
.rzm-hub .bg.gd{color:#1a1a1a!important;background:var(--gold)!important;border-color:var(--gold)}

.rzm-hub table{width:100%;border-collapse:collapse}
.rzm-hub table.tb tr{border-top:1px solid var(--pn2)}
.rzm-hub table.tb tbody tr:first-child{border-top:none}
.rzm-hub table.tb tr:hover,.rzm-hub table.tb tr:focus-visible{background:var(--pn2);outline:none}
.rzm-hub td{padding:7px 0;vertical-align:middle}
.rzm-hub .rk{width:30px;padding-right:8px!important;text-align:right;color:var(--ink3)!important;
  font-size:12px;font-variant-numeric:tabular-nums}
.rzm-hub .nm{text-align:left!important;white-space:nowrap;padding-right:14px!important;font-size:13.5px;font-weight:500;
  display:flex;align-items:center;gap:8px}
.rzm-hub .br{width:38%}
.rzm-hub .bar{display:block!important;height:9px;border-radius:0 4px 4px 0;background:#8d8d86;min-width:2px}
.rzm-hub .vl{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;
  font-size:13.5px;font-weight:600;padding-left:12px!important}
.rzm-hub .v3{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;
  font-size:12.5px;color:var(--ink2)!important;padding-left:14px!important}
.rzm-hub thead th{font-size:9.5px;font-weight:600;letter-spacing:.05em!important;text-transform:uppercase!important;
  color:var(--ink3)!important;padding-bottom:6px;border-bottom:1px solid var(--line);text-align:right}
.rzm-hub thead th:first-child,.rzm-hub thead th:nth-child(2){text-align:left}
.rzm-hub .nt{margin-top:11px!important;font-size:11.5px;line-height:1.5;color:var(--ink3)!important;
  border-top:1px solid var(--pn2);padding-top:9px}
.rzm-hub .nt strong{color:var(--ink2)}

.rzm-hub table.sl td{padding:9px 0!important}
.rzm-hub .th{width:44px;padding-right:11px!important}
.rzm-hub .ph2{position:relative;display:block;width:32px;height:42px;border-radius:4px;
  background:var(--pn2);border:1px solid var(--line);overflow:hidden}
.rzm-hub .ph2::after{content:"";position:absolute;inset:8px 6px;border-radius:2px;
  background:currentColor;opacity:.2}
.rzm-hub .th img{position:relative;z-index:1;width:100%!important;height:100%!important;object-fit:cover;display:block!important;max-width:none!important}
.rzm-hub .sn{text-align:left!important;padding-right:15px!important;min-width:210px}
.rzm-hub .sn a{text-decoration:none;font-size:13.5px;font-weight:500;line-height:1.35;display:block}
.rzm-hub .sn a:hover{color:var(--gold)!important;text-decoration:underline!important}
.rzm-hub .mt{display:flex;align-items:center;gap:6px;margin-top:3px;font-size:11.5px;color:var(--ink3)!important}
.rzm-hub table.sl .br{width:26%}
.rzm-hub table.sl .sn{width:40%}
.rzm-hub table.sl .vl{font-size:15px;line-height:1.3;width:112px}
.rzm-hub .conf,.rzm-hub .ask{display:inline-block;margin-top:3px;font-size:9px;font-weight:600;
  letter-spacing:.05em;text-transform:uppercase;padding:2px 6px;border-radius:3px}
.rzm-hub .conf{color:#86efac!important;background:#14311f!important;border:1px solid #1c5233}
.rzm-hub .ask{color:#fdba74!important;background:#3a2011!important;border:1px solid #7c3d16}

.rzm-hub tr.hid{display:none}
.rzm-hub .empty{padding:20px;text-align:center;color:var(--ink3)!important;font-size:13px}
.rzm-hub .ft{margin-top:26px!important;padding-top:15px!important;border-top:1px solid var(--line);
  color:var(--ink3)!important;font-size:11.5px;line-height:1.65}
.rzm-hub .ft strong{color:var(--ink2)}
#rzmtip{position:fixed;z-index:9999;pointer-events:none;opacity:0;transition:opacity .1s;
  background:#0d0d0d;color:#f5f5f5;padding:7px 10px;border-radius:6px;font-size:12px;
  max-width:340px;border:1px solid #3a3a3a;font-family:Inter,sans-serif}
@media(max-width:640px){
  .rzm-hub .grid{grid-template-columns:1fr}
  .rzm-hub .br{display:none}
  .rzm-hub .sn{min-width:0}
}
.rzm-hub .dot[data-v="Pokemon"]{background:#3987e5}.rzm-hub .bar[data-v="Pokemon"]{background:#3987e5}.rzm-hub .ph2[data-v="Pokemon"]{color:#3987e5}
.rzm-hub .dot[data-v="Basketball"]{background:#d95926}.rzm-hub .bar[data-v="Basketball"]{background:#d95926}.rzm-hub .ph2[data-v="Basketball"]{color:#d95926}
.rzm-hub .dot[data-v="Baseball"]{background:#199e70}.rzm-hub .bar[data-v="Baseball"]{background:#199e70}.rzm-hub .ph2[data-v="Baseball"]{color:#199e70}
.rzm-hub .dot[data-v="Football"]{background:#c98500}.rzm-hub .bar[data-v="Football"]{background:#c98500}.rzm-hub .ph2[data-v="Football"]{color:#c98500}
.rzm-hub .dot[data-v="One Piece"]{background:#d55181}.rzm-hub .bar[data-v="One Piece"]{background:#d55181}.rzm-hub .ph2[data-v="One Piece"]{color:#d55181}
.rzm-hub .dot[data-v="Soccer"]{background:#008300}.rzm-hub .bar[data-v="Soccer"]{background:#008300}.rzm-hub .ph2[data-v="Soccer"]{color:#008300}
.rzm-hub .dot[data-v="Hockey"]{background:#9085e9}.rzm-hub .bar[data-v="Hockey"]{background:#9085e9}.rzm-hub .ph2[data-v="Hockey"]{color:#9085e9}
.rzm-hub .dot[data-v="Other"]{background:#8d8d86}.rzm-hub .bar[data-v="Other"]{background:#8d8d86}.rzm-hub .ph2[data-v="Other"]{color:#8d8d86}

/* ===== Homepage modules (PHP-rendered) ===================================== */

/* Biggest Sales — one line per sale, image + title + price. Same 2-line clamp
   discipline as the sport columns so 25 rows stay scannable. */
.rzm-hub ol.board{list-style:none!important;margin:0!important;padding:0!important}
.rzm-hub ol.board li{display:grid;grid-template-columns:26px 44px minmax(0,1fr) auto;
  gap:0 11px;align-items:center;padding:7px 0;border-top:1px solid var(--pn2)}
.rzm-hub ol.board li:first-child{border-top:none}
.rzm-hub ol.board li:hover{background:var(--pn2)}
.rzm-hub .board .n{font-size:11px;color:var(--ink3)!important;text-align:right;
  font-variant-numeric:tabular-nums}
.rzm-hub .board .thumb{width:44px!important;height:58px!important;object-fit:cover;
  border-radius:4px;border:1px solid var(--line);background:var(--pn2);display:block!important}
.rzm-hub .board .meta{min-width:0}
.rzm-hub .board .meta a{font-size:12.5px;line-height:1.35;color:var(--ink)!important;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rzm-hub .board .meta a:hover{color:var(--gold)!important;text-decoration:underline!important}
.rzm-hub .board .pz{font-size:14px;font-weight:700;color:var(--gold)!important;
  font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}

/* Tables scroll rather than squash on small screens (§8 mobile). */
.rzm-hub .tblwrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.rzm-hub .tblwrap table{min-width:560px}

/* WoW change. Null renders as an em dash — never NaN%, never 0% (§ brief). */
.rzm-hub .rzm-na{color:var(--ink3)!important}
.rzm-hub .rzm-pct{font-variant-numeric:tabular-nums;font-weight:600}
.rzm-hub .rzm-pct.up{color:#6ee7a8!important}
.rzm-hub .rzm-pct.down{color:#fca5a5!important}
.rzm-hub .rzm-pct.flat{color:var(--ink3)!important}

/* Serving a cached fallback is stated, not disguised as live. */
.rzm-hub .live.stale{color:var(--ink3)!important}
.rzm-hub .live.stale i{background:#8d8d86}
.rzm-hub .live.stale i::after{animation:none;opacity:0}
.rzm-hub .rzm-quiet{color:var(--ink3)!important;font-size:13px;padding:18px 0}

/* News — editorial cards, visually distinct from the data modules on purpose so a
   reader never mistakes a press release for a market figure. */
.rzm-hub .newsgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:10px}
.rzm-hub .ncard{background:var(--pn);border:1px solid var(--line);border-radius:10px;
  overflow:hidden;display:flex;flex-direction:column}
.rzm-hub .nthumb{display:block;aspect-ratio:16/9;background:var(--pn2);overflow:hidden}
.rzm-hub .nthumb img{width:100%!important;height:100%!important;object-fit:cover;display:block!important}
.rzm-hub .nbody{padding:11px 13px 13px}
.rzm-hub .ncat{display:inline-block;font-size:9.5px;font-weight:700;letter-spacing:.07em!important;
  text-transform:uppercase!important;color:var(--gold)!important;margin-bottom:5px}
.rzm-hub .ncard h3{margin:0!important;font-size:13.5px!important;line-height:1.35;font-weight:600}
.rzm-hub .ncard h3 a{color:var(--ink)!important}
.rzm-hub .ncard h3 a:hover{color:var(--gold)!important;text-decoration:underline!important}
.rzm-hub .ncard time{display:block;margin-top:6px;font-size:11px;color:var(--ink3)!important}
.rzm-hub .sech p a{color:var(--gold)!important}
.rzm-hub .tl a{color:var(--gold)!important}
@media(max-width:900px){.rzm-hub .newsgrid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){
  .rzm-hub .newsgrid{grid-template-columns:1fr}
  .rzm-hub ol.board li{grid-template-columns:22px 38px minmax(0,1fr) auto;gap:0 8px}
  .rzm-hub .board .thumb{width:38px!important;height:50px!important}
}

/* ===== Inline article module ============================================== */
/* Deliberately narrower and quieter than the homepage panels: inside a story it
   is supporting evidence, not the main event. Still visually a data object so a
   reader never confuses it with the reporting around it. */
.rzm-hub.rzm-inline{padding:0!important;background:transparent!important;margin:26px 0}
.rzm-hub.rzm-inline .pnl{border-left:3px solid var(--gold)}
.rzm-hub.rzm-inline h2{font-size:14.5px!important}
.rzm-hub .rzm-tagsm{display:inline-block;font-size:8.5px;font-weight:700;
  letter-spacing:.05em!important;padding:1px 4px;border-radius:3px;margin-left:4px;
  color:var(--gold)!important;border:1px solid var(--gold);vertical-align:1px}
.rzm-hub .nt a{color:var(--gold)!important;text-decoration:underline!important}

/* ===== Newsroom homepage ================================================== */
/* Lead story + secondaries. At 5 stories/day the homepage is story-led with the
   market data as a persistent spine, not the other way round. */
.rzm-hub .lead{display:grid;grid-template-columns:1.6fr 1fr;gap:14px;margin-bottom:14px}
.rzm-hub .lead .hero{background:var(--pn);border:1px solid var(--line);border-radius:10px;
  overflow:hidden;display:flex;flex-direction:column}
.rzm-hub .lead .hero .nthumb{aspect-ratio:16/9}
.rzm-hub .lead .hero h3{font-size:20px!important;line-height:1.25;font-weight:700}
.rzm-hub .lead .stack{display:flex;flex-direction:column;gap:10px}
.rzm-hub .lead .stack .ncard{flex-direction:row;align-items:stretch}
.rzm-hub .lead .stack .nthumb{width:96px;flex:none;aspect-ratio:auto}
.rzm-hub .lead .stack h3{font-size:13px!important}
.rzm-hub .wire{background:var(--pn);border:1px solid var(--line);border-radius:10px;
  padding:13px 15px;margin-top:12px}
.rzm-hub .wire h2{font-size:13px!important;margin-bottom:8px!important}
.rzm-hub .wire ul{list-style:none!important;margin:0!important;padding:0!important}
.rzm-hub .wire li{padding:6px 0;border-top:1px solid var(--pn2);font-size:12.5px}
.rzm-hub .wire li:first-child{border-top:none}
.rzm-hub .wire a{color:var(--ink2)!important}
.rzm-hub .wire a:hover{color:var(--gold)!important}
.rzm-hub .wire .src{font-size:10px;color:var(--ink3)!important;text-transform:uppercase;
  letter-spacing:.05em!important;margin-left:6px}
@media(max-width:900px){
  .rzm-hub .lead{grid-template-columns:1fr}
  .rzm-hub .lead .hero h3{font-size:17px!important}
}
