/* Generated by scripts/export-pro-features.mjs from public/om/features/macro-heat-map.html. Do not edit by hand. */
/* Macro Heat Map page. Tile colours, borders, pulse, balance bar, hover card and phone list copy the app's
     heat map (news-trading-pro/heatMap: colors.ts tileFillOf, Tile.tsx, BalanceBar.tsx, HoverCard.tsx, PhoneHeatList.tsx). */
  :root { --hm-up: 74 222 128; --hm-down: 248 113 113; --hm-ink2: #a1a1aa; --hm-ink3: #919199; --hm-line: rgba(255,255,255,0.08); --hm-spring: cubic-bezier(0.34, 1.56, 0.64, 1); }

  /* The app window */
  .hm-hero { padding: 18px; }
  .hm-app { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; }
  .hm-col { min-width: 0; }

  /* Active risks (EdgeCard.tsx mh-edge-note) */
  .hm-risk { display: grid; gap: 6px; min-height: 74px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--hm-line); }
  .hm-risk-h { display: flex; align-items: center; gap: 8px; color: var(--hm-ink2); font-size: 14px; font-weight: 600; }
  .hm-age { font-weight: 400; font-variant-numeric: tabular-nums; }
  .hm-i { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1.3px var(--hm-ink3) inset; display: inline-grid; place-items: center; font: 600 9px/1 var(--sans); color: var(--hm-ink3); flex: none; }
  .hm-i::before { content: "i"; }
  .hm-risk p { font-size: 15px; line-height: 1.45; color: #f4f4f5; min-height: 2.9em; }
  .hm-risk p span { transition: opacity .45s var(--ease); transition-delay: var(--wd, 0s); }
  .hm-risk p.hm-hide span { opacity: 0; transition-delay: 0s; transition-duration: .25s; }

  /* Balance bar (BalanceBar.tsx): words, a red part from the left, a green part from the right, a lit split */
  .hm-bal { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
  .hm-bal-w { flex: none; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; transition: color .5s; }
  .hm-bal-w.dn { color: rgb(var(--hm-down)); } .hm-bal-w.up { color: rgb(var(--hm-up)); } .hm-bal-w.mx { color: var(--hm-ink2); }
  .hm-bar { position: relative; flex: 1; min-width: 0; height: 24px; display: flex; align-items: center; overflow-x: clip; }
  .hm-track { position: relative; display: block; width: 100%; height: 10px; border-radius: 99px; overflow: hidden; background: rgba(244,244,245,0.06); }
  .hm-track i { position: absolute; inset: 0; transition: transform .7s var(--hm-spring), opacity .7s; }
  .hm-track .d { transform-origin: left; background: rgb(150,24,26); }
  .hm-track .u { transform-origin: right; background: rgb(0,129,42); }
  .hm-notch { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%); border-radius: 99px; background: rgba(244,244,245,0.4); }
  .hm-split { position: absolute; inset: 0; pointer-events: none; transition: transform .7s var(--hm-spring); }
  .hm-split i { position: absolute; top: 50%; left: 0; width: 4px; height: 24px; transform: translate(-50%, -50%); border-radius: 99px; background: #f4f4f5; box-shadow: 0 0 0 2px #000, 0 0 14px rgba(255,255,255,0.6); }

  /* Half heading ("News", "Price") */
  .hm-hh { display: flex; align-items: center; gap: 6px; height: 26px; font-size: 14px; font-weight: 600; color: #f4f4f5; }

  /* The map: groups, each a heading in its side's colour over its tiles */
  .hm-map { display: grid; gap: 6px; }
  .hm-grp { display: grid; grid-template-rows: 24px minmax(0, 1fr); min-width: 0; min-height: 0; border: 1px solid var(--hm-line); border-radius: 6px; padding: 0 4px 4px; }
  .hm-gh { margin: 0; font-size: 13.5px; font-weight: 600; line-height: 24px; padding-left: 2px; white-space: nowrap; transition: color .5s; }
  .hm-gh.dn { color: rgb(var(--hm-down)); } .hm-gh.up { color: rgb(var(--hm-up)); }
  .hm-gt { display: grid; gap: 4px; min-height: 0; }

  /* A tile (Tile.tsx): diagonal fill of its side, white words with a soft shadow, time top right */
  .hm-t { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; min-height: 0; border-radius: 4px; border: 1px solid rgba(255,255,255,0.12); color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / 0.35); padding: 6px 8px; isolation: isolate; }
  .hm-f { position: absolute; inset: 0; z-index: -2; transition: opacity .9s var(--ease); }
  .hm-t .hm-fr { opacity: 0; }
  .hm-t.r .hm-fr { opacity: 1; } .hm-t.r .hm-fg { opacity: 0; }
  .hm-pz { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; }
  .hm-t.pz .hm-pz { animation: hm-pulse 1.4s var(--ease) forwards; }
  .hm-t.r .hm-pz { --pc: var(--hm-down); } .hm-t .hm-pz { --pc: var(--hm-up); }
  @keyframes hm-pulse {
    0% { opacity: 1; box-shadow: inset 0 0 0 3px rgb(var(--pc) / 0.95), inset 0 0 28px rgb(var(--pc) / 0.55); background: rgb(var(--pc) / 0.22); }
    100% { opacity: 1; box-shadow: inset 0 0 0 3px rgb(var(--pc) / 0), inset 0 0 28px rgb(var(--pc) / 0); background: rgb(var(--pc) / 0); }
  }
  .hm-top { position: absolute; top: 5px; left: 8px; right: 8px; display: flex; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 600; line-height: 14px; }
  .hm-gw { display: none; color: rgba(255,255,255,0.75); }
  .hm-ago { margin-left: auto; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .hm-w { display: flex; flex-direction: column; transition: opacity .2s; }
  .hm-t.sw .hm-w, .hm-t.sw .hm-ago { opacity: 0; }
  .hm-ago { transition: opacity .2s; }
  .hm-n { font-weight: 600; font-size: 13px; line-height: 1.18; letter-spacing: -0.01em; text-wrap: balance; }
  .hm-s, .hm-o { font-size: 12px; line-height: 1.25; font-weight: 600; }
  .hm-o { font-weight: 500; }
  .hm-pl { margin-top: 4px; font-size: 13px; line-height: 1.3; font-weight: 500; opacity: .9; }
  .hm-t.L { padding: 10px 12px; } .hm-t.L .hm-top { top: 9px; left: 12px; right: 12px; font-size: 12.5px; }
  .hm-t.L .hm-n { font-size: 23px; line-height: 1.1; letter-spacing: -0.02em; } .hm-t.L .hm-s, .hm-t.L .hm-o { font-size: 14px; }
  .hm-t.M .hm-n { font-size: 16px; } .hm-t.M .hm-s, .hm-t.M .hm-o { font-size: 12.5px; }
  .hm-t.S .hm-n { font-size: 12.5px; } .hm-t.S .hm-pl, .hm-t.M .hm-pl { display: none; }

  /* Hero map layout */
  .hm-hmap { height: 420px; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 1.12fr 1fr; }
  .hm-a-st { grid-column: 1 / 8; grid-row: 1; } .hm-a-st .hm-gt { grid-template-columns: 1.55fr 1fr; grid-template-rows: 1.3fr 1fr; }
  .hm-a-st .hm-t:first-child { grid-row: 1 / 3; }
  .hm-a-ra { grid-column: 8 / 13; grid-row: 1; } .hm-a-ra .hm-gt { grid-template-columns: 1fr 1fr; grid-template-rows: 1.35fr 1fr; }
  .hm-a-ra .hm-t:first-child { grid-column: 1 / 3; }
  .hm-a-da { grid-column: 1 / 5; grid-row: 2; } .hm-a-da .hm-gt { grid-template-columns: 1fr 1fr; grid-template-rows: 1.4fr 1fr; }
  .hm-a-da .hm-t:first-child { grid-column: 1 / 3; }
  .hm-a-fe { grid-column: 5 / 8; grid-row: 2; } .hm-a-fe .hm-gt { grid-template-rows: 1fr; }
  .hm-a-li { grid-column: 8 / 13; grid-row: 2; } .hm-a-li .hm-gt { grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; }
  .hm-a-li .hm-t:first-child { grid-row: 1 / 3; }

  /* News panel beside the map (the app's right column) */
  .hm-feed { min-width: 0; border-left: 1px solid var(--hm-line); padding-left: 18px; display: flex; flex-direction: column; }
  .hm-tabs { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; border-radius: 8px; background: rgba(255,255,255,0.04); box-shadow: 0 0 0 1px var(--hm-line) inset; font-size: 13px; font-weight: 500; color: var(--hm-ink2); text-align: center; }
  .hm-tabs span { padding: 6px 0; border-radius: 6px; }
  .hm-tabs .on { background: rgba(255,255,255,0.08); color: #f4f4f5; font-weight: 600; }
  .hm-list { margin-top: 10px; display: flex; flex-direction: column; }
  .hm-new { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
  .hm-new > div { overflow: hidden; min-height: 0; }
  .hm-hero.lit .hm-new { grid-template-rows: 1fr; }
  .hm-it { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 12px 8px 12px 6px; border-bottom: 1px solid var(--hm-line); border-radius: 6px; }
  .hm-it .av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.06); box-shadow: 0 0 0 1px var(--line-2) inset; color: var(--hm-ink2); }
  .hm-it .av svg { width: 15px; height: 15px; }
  .hm-it .src { font-size: 12.5px; color: var(--hm-ink3); } .hm-it .src b { color: #f4f4f5; font-weight: 600; }
  .hm-it p { margin-top: 3px; font-size: 13.5px; line-height: 1.42; color: #e4e4e7; }
  .hm-it .sd { display: inline-block; margin-top: 5px; font-size: 12px; font-weight: 600; }
  .hm-it .sd.dn { color: rgb(var(--hm-down)); } .hm-it .sd.up { color: rgb(var(--hm-up)); }
  .hm-it.nw { background: linear-gradient(90deg, rgba(248,113,113,0.12), rgba(248,113,113,0.02)); }
  .hm-it.nw::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: rgb(var(--hm-down)); }
  .hm-it.nw .sd { opacity: 0; transform: scale(.8); transform-origin: left center; transition: opacity .4s var(--ease) .5s, transform .5s var(--spring) .5s; }
  .hm-hero.lit .hm-it.nw .sd { opacity: 1; transform: none; }

  /* Section 1: News against Price */
  .hm-vs { padding: 18px; }
  .hm-halves { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
  .hm-nmap { height: 300px; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; }
  .hm-nmap .hm-grp:first-child { grid-row: 1 / 3; }
  .hm-pmap { height: 300px; grid-template-columns: 1fr; }
  .hm-pmap .hm-gt { grid-template-columns: 1fr 1fr; grid-template-rows: 1.2fr 1fr; }
  .hm-pmap .hm-t:first-child { grid-column: 1 / 3; }
  .hm-step { margin-top: 14px; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px 10px; align-items: baseline; padding: 12px 14px; border-radius: 10px; background: #050506; box-shadow: 0 0 0 1px var(--line-2) inset; }
  .hm-num { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: #f4f4f5; background: rgba(255,255,255,0.08); align-self: center; }
  .hm-step-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 15px; font-weight: 600; }
  .hm-step-h em { font-style: normal; transition: color .4s; color: var(--hm-ink2); }
  .hm-step-h em.dn { color: rgb(var(--hm-down)); }
  .hm-step p { grid-column: 2; font-size: 14px; color: var(--hm-ink2); line-height: 1.45; }

  /* Section 2: point at a tile, the card opens (HoverCard.tsx) */
  .hm-why { padding: 18px; height: 420px; }
  .hm-wmap { position: absolute; left: 18px; top: 18px; bottom: 18px; width: calc(46% - 18px); grid-template-columns: 1fr; grid-template-rows: 1.3fr 1fr; }
  .hm-wrow { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; min-height: 0; }
  .hm-t.hv { filter: brightness(1.25); }
  .hm-card { position: absolute; top: 18px; right: 18px; width: calc(54% - 30px); max-width: 320px; padding: 12px; border-radius: 10px; background: #0b0b0d; box-shadow: 0 0 0 1px rgba(255,255,255,0.1) inset, 0 24px 60px -16px rgba(0,0,0,0.9); opacity: 0; transform: translateY(6px) scale(.98); transform-origin: left top; transition: opacity .35s var(--ease), transform .45s var(--ease); }
  .hm-why.open .hm-card { opacity: 1; transform: none; }
  .hm-ch { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--hm-ink3); }
  .hm-ch svg { width: 14px; height: 14px; color: rgb(var(--hm-down)); }
  .hm-pill { margin-left: auto; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; color: rgb(var(--hm-down)); background: rgb(var(--hm-down) / 0.14); white-space: nowrap; }
  .hm-ct { margin-top: 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
  .hm-cs { margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--hm-ink2); }
  .hm-mini { margin-top: 10px; display: block; width: 100%; height: 74px; overflow: visible; }
  .hm-mini .ln { fill: none; stroke: rgb(var(--hm-down)); stroke-width: 1.6; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .25s; }
  .hm-why.open .hm-mini .ln { stroke-dashoffset: 0; }
  .hm-mini .ar { fill: url(#hm-mg); opacity: 0; transition: opacity .8s .9s; }
  .hm-why.open .hm-mini .ar { opacity: 1; }
  .hm-mini text { font: 500 9.5px var(--mono); fill: var(--ink-4); }
  .hm-row { margin-top: 8px; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 8px; font-size: 13px; line-height: 1.4; color: var(--hm-ink2); opacity: 0; transform: translateY(4px); transition: opacity .4s var(--ease), transform .4s var(--ease); transition-delay: var(--rd, 0s); }
  .hm-row .ag { color: var(--hm-ink3); font-variant-numeric: tabular-nums; }
  .hm-row.ld span:last-child { color: #f4f4f5; font-weight: 600; }
  .hm-why.open .hm-row { opacity: 1; transform: none; }
  .hm-dot { position: absolute; left: 0; top: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: rgba(255,255,255,0.18); box-shadow: 0 0 0 1.5px rgba(255,255,255,0.9), 0 4px 14px rgba(0,0,0,0.6); pointer-events: none; transition: transform 1.1s var(--ease), opacity .4s; opacity: 0; }
  .hm-dot.on { opacity: 1; }
  .hm-dot.tap { animation: hm-tap .5s var(--ease); }
  @keyframes hm-tap { 50% { scale: .78; background: rgba(255,255,255,0.4); } }

  /* Section 3: the phone list (PhoneHeatList.tsx), strongest first */
  .hm-ph-st { padding: 28px 18px; display: grid; place-items: center; }
  .hm-phone { position: relative; width: 330px; max-width: 100%; height: 580px; border-radius: 40px; padding: 14px; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,0.16) inset, 0 0 0 6px #0c0c0f, 0 0 0 7px rgba(255,255,255,0.08), 0 30px 80px -30px rgba(124,92,255,0.5); }
  .hm-scr { position: relative; height: 100%; overflow: hidden; border-radius: 28px; padding: 30px 10px 10px; }
  .hm-scr::before { content: ""; position: absolute; top: 9px; left: 50%; width: 76px; height: 20px; margin-left: -38px; border-radius: 99px; background: #111114; }
  .hm-scr .hm-bal { flex-direction: column; align-items: stretch; gap: 6px; margin: 6px 2px 12px; }
  .hm-scr .hm-bal-w { font-size: 17px; }
  .hm-list2 { position: relative; height: 440px; }
  .hm-list2 .hm-t { position: absolute; left: 0; top: 0; width: var(--w); height: var(--h); transform: translate(var(--x), var(--y)); transition: transform 1s var(--ease), width 1s var(--ease), height 1s var(--ease); justify-content: flex-start; padding: 9px 10px; gap: 3px; }
  .hm-list2 .hm-top { position: static; font-size: 11px; }
  .hm-list2 .hm-gw { display: block; }
  .hm-list2 .hm-n { font-size: 14px; }
  .hm-list2 .hm-t.H .hm-n { font-size: 19px; }
  .hm-list2 .hm-s, .hm-list2 .hm-o { font-size: 11.5px; }

  .hm-cap { margin-top: 12px; }

  @media (max-width: 1100px) { .hm-app { grid-template-columns: minmax(0, 1fr) 250px; } }
  @media (max-width: 960px) {
    .hm-why { height: 440px; }
  }
  @media (max-width: 760px) {
    .hm-hero, .hm-vs, .hm-why { padding: 12px; }
    .hm-app { grid-template-columns: 1fr; gap: 12px; }
    .hm-feed { order: -1; border-left: 0; padding-left: 0; }
    .hm-tabs { display: none; }
    .hm-list { margin-top: 0; }
    .hm-list .hm-old ~ .hm-old { display: none; }
    .hm-it { border-bottom: 0; box-shadow: 0 0 0 1px var(--hm-line) inset; }
    .hm-risk { min-height: 0; }
    .hm-risk p { font-size: 14.5px; min-height: 4.35em; }
    .hm-bal { flex-direction: column; align-items: stretch; gap: 6px; margin-bottom: 14px; }
    /* The map as the phone shows it: groups open up into one grid of cards, strongest wide on top */
    .hm-hmap { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: none; }
    .hm-hmap .hm-grp, .hm-hmap .hm-gt { display: contents; }
    .hm-hmap .hm-gh { display: none; }
    .hm-hmap .hm-t { grid-row: auto !important; grid-column: auto !important; min-height: 92px; justify-content: flex-start; padding: 9px 10px; gap: 2px; order: var(--po, 9); }
    .hm-hmap .hm-t.ph0 { display: none; }
    .hm-hmap .hm-t.H { grid-column: 1 / -1 !important; min-height: 112px; order: 0; }
    .hm-hmap .hm-top, .hm-t.L .hm-top { position: static; font-size: 12px; }
    .hm-hmap .hm-gw { display: block; }
    .hm-hmap .hm-n, .hm-t.L .hm-n, .hm-t.M .hm-n { font-size: 15px; }
    .hm-hmap .hm-t.H .hm-n { font-size: 20px; }
    .hm-hmap .hm-pl { display: none; }
    .hm-hmap .hm-t.H .hm-pl { display: block; }
    .hm-hmap .hm-s, .hm-hmap .hm-o { font-size: 12.5px; }
    .hm-halves { grid-template-columns: 1fr; }
    .hm-nmap, .hm-pmap { height: 250px; }
    .hm-t.L .hm-n { font-size: 18px; }
    .hm-why { height: 540px; }
    .hm-wmap { left: 12px; right: 12px; top: 12px; bottom: auto; width: auto; height: 230px; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr; }
    .hm-wrow { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
    .hm-card { top: 254px; left: 12px; right: 12px; width: auto; max-width: none; }
    .hm-phone { width: 300px; height: 560px; }
    .hm-list2 { height: 420px; }
  }
