:root {
  color-scheme: dark;
  --bg: #0c0d0b;
  --bg-2: #11130f;
  --panel: rgba(25, 27, 22, 0.88);
  --panel-2: rgba(20, 21, 18, 0.92);
  --line: rgba(230, 232, 220, 0.14);
  --line-strong: rgba(230, 232, 220, 0.24);
  --text: #f4f1e8;
  --muted: #a9aa9f;
  --soft: #d6d3c6;
  --cash: #49d17d;
  --balance: #d4b45f;
  --forecast: #e18955;
  --sales: #7fc7c5;
  --lead: #a8cf70;
  --risk: #d7665b;
  --radius: 8px;
  --ticker-speed: 125s;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  cursor: none;
}

.tv-shell {
  width: 100vw;
  height: 100vh;
  padding: 24px 30px 94px;
  display: grid;
  grid-template-rows: 116px 166px minmax(0, 1fr) 236px;
  gap: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), transparent 42%),
    linear-gradient(135deg, var(--bg) 0%, #14150f 48%, #0e100d 100%);
  position: relative;
  isolation: isolate;
}

.tv-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 76px 76px;
  opacity: 0.26;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}

.title-block {
  flex: 1 1 auto;
  min-width: 0;
}

.title-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 52px;
}

.signal-line {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  margin-top: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.mentor-chip {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  padding: 3px;
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.15), rgba(255,255,255,0.04)),
    rgba(20, 21, 18, 0.78);
  box-shadow:
    0 18px 44px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.16);
}

.mentor-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
}

.mentor-photo-header {
  border-radius: 11px;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--cash);
  box-shadow: 0 0 18px rgba(73, 209, 125, 0.74);
  animation: pulse 1.7s ease-in-out infinite;
}

.mentor-chip .live-dot {
  position: absolute;
  right: 2px;
  bottom: 2px;
  border: 2px solid rgba(12, 13, 11, 0.94);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  margin-top: 0;
  font-size: 48px;
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
}

.title-block p {
  margin-top: 8px;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.1;
  font-weight: 700;
}

.top-meta {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 220px 180px 190px;
  gap: 10px;
  align-items: stretch;
}

.top-meta > div,
.quality-pill,
.panel,
.hero-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)), var(--panel);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 18px 50px rgba(0,0,0,0.24);
}

.top-meta > div,
.quality-pill {
  min-height: 64px;
  padding: 12px 14px;
}

.top-meta span,
.panel-head span,
.hero-label,
.balance-total span,
.runway-box > span,
.profit-box span,
.sales-split span,
.lead-numbers span,
.ticker-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.top-meta strong,
.quality-pill {
  display: block;
  margin-top: 9px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.05;
  font-weight: 900;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
}

.hero-card {
  padding: 16px 20px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--accent, var(--cash));
}

.tone-cash { --accent: var(--cash); }
.tone-balance { --accent: var(--balance); }
.tone-forecast { --accent: var(--forecast); }
.tone-sales { --accent: var(--sales); }
.tone-lead { --accent: var(--lead); }

.hero-value {
  display: block;
  margin-top: 15px;
  font-size: 40px;
  line-height: 0.95;
  letter-spacing: 0;
  font-weight: 950;
}

.hero-detail {
  margin-top: 9px;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.15;
  font-weight: 750;
}

.hero-meta {
  display: block;
  margin-top: 8px;
  overflow: hidden;
  color: rgba(244,241,232,0.68);
  font-size: 12px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 850;
}

.hero-confidence {
  display: block;
  margin-top: 9px;
  color: var(--accent, var(--cash));
  font-style: normal;
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.07em;
}

.main-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr 1fr;
  gap: 18px;
  min-height: 0;
}

.lower-grid {
  display: grid;
  grid-template-columns: 1fr 0.7fr 0.92fr;
  gap: 18px;
  min-height: 0;
}

.panel {
  min-width: 0;
  min-height: 0;
  padding: 16px;
  overflow: hidden;
}

.panel-head {
  min-height: 54px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.panel-head h2 {
  margin-top: 8px;
  font-size: 23px;
  line-height: 1;
  font-weight: 950;
}

.panel-head > strong {
  flex: 0 0 auto;
  max-width: 190px;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: #fff0c6;
  background: rgba(212,180,95,0.12);
  font-size: 14px;
  line-height: 1.05;
  text-align: right;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.lower-grid .panel-head {
  min-height: 48px;
}

.lower-grid .panel-head h2 {
  font-size: 22px;
}

.money-layout {
  height: calc(100% - 58px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
}

.runway-box {
  padding: 14px;
  border: 1px solid rgba(212,180,95,0.24);
  border-radius: 6px;
  background: rgba(212,180,95,0.08);
}

.runway-box strong,
.balance-total strong {
  display: block;
  margin-top: 12px;
  font-size: 44px;
  line-height: 0.95;
  font-weight: 950;
}

.runway-box small {
  display: block;
  margin-top: 10px;
  color: var(--soft);
  font-size: 17px;
  font-weight: 760;
}

.stack-bar {
  margin-top: 18px;
  height: 17px;
  display: flex;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
}

.stack-bar i {
  display: block;
  min-width: 2px;
  height: 100%;
}

[data-part="confirmed"] { background: var(--cash); }
[data-part="push"] { background: var(--balance); }
[data-part="risk"] { background: var(--risk); }

.stack-legend {
  margin-top: 12px;
  display: grid;
  gap: 9px;
}

.stack-legend span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--soft);
  font-size: 15px;
  font-weight: 800;
}

.stack-legend b {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.stack-legend b.confirmed { background: var(--cash); }
.stack-legend b.push { background: var(--balance); }
.stack-legend b.risk { background: var(--risk); }
.stack-legend em { font-style: normal; }

.profit-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.profit-box > div,
.sales-split > div,
.lead-numbers > div,
.timeline-cell {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255,255,255,0.035);
  padding: 12px;
}

.profit-box strong,
.sales-split strong,
.lead-numbers strong,
.timeline-cell strong {
  display: block;
  margin-top: 12px;
  font-size: 26px;
  line-height: 0.95;
  font-weight: 950;
}

.balance-total {
  margin-top: 4px;
  padding: 14px;
  border: 1px solid rgba(73,209,125,0.24);
  border-radius: 6px;
  background: rgba(73,209,125,0.075);
}

.table-list,
.locked-list,
.runway-list,
.source-list,
.updates-list {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.locked-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 8px;
}

.source-list {
  gap: 3px;
}

.table-row,
.locked-row,
.runway-row,
.source-row {
  min-height: 48px;
  display: grid;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.locked-row {
  min-height: 34px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 6px;
}

.runway-row {
  min-height: 38px;
}

.table-row {
  grid-template-columns: 34px minmax(0, 1fr) auto;
  min-height: 38px;
}

.locked-row,
.runway-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.rank {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.row-main,
.locked-row div,
.runway-row div {
  min-width: 0;
}

.table-row strong,
.locked-row strong,
.runway-row strong,
.source-row strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 17px;
  line-height: 1.08;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-row small,
.locked-row small,
.runway-row small,
.source-row small,
.sales-split small,
.lead-numbers small {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.1;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-row b,
.locked-row b,
.runway-row b {
  color: #fff1bf;
  font-size: 18px;
  font-weight: 950;
}

.locked-row strong {
  font-size: 14px;
}

.locked-row small {
  display: none;
}

.locked-row b {
  font-size: 14px;
}

.sales-split,
.lead-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.timeline-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.timeline-cell {
  min-height: 76px;
  padding: 10px;
}

.timeline-cell span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.timeline-cell strong {
  margin-top: 10px;
  font-size: 21px;
}

.timeline-cell small {
  display: block;
  margin-top: 6px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
}

.timeline-cell.timing-needed {
  border-color: rgba(215, 102, 91, 0.36);
  background: rgba(215, 102, 91, 0.10);
}

.lead-panel p {
  margin-top: 10px;
  color: #fff1bf;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.updates-list {
  margin-top: 8px;
  height: calc(100% - 58px);
  min-height: 0;
}

.update-flash-card {
  height: 100%;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  align-items: start;
  gap: 2px;
  padding: 8px 12px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255,255,255,0.035);
  animation: flashIn 420ms ease-out both;
}

.update-flash-card.update-cash {
  border-color: rgba(73,209,125,0.28);
  background:
    linear-gradient(145deg, rgba(73,209,125,0.16), rgba(73,209,125,0.045)),
    rgba(255,255,255,0.03);
}

.update-flash-card.update-sales {
  border-color: rgba(127,199,197,0.26);
  background:
    linear-gradient(145deg, rgba(127,199,197,0.15), rgba(127,199,197,0.04)),
    rgba(255,255,255,0.03);
}

.update-flash-card.update-lead {
  border-color: rgba(168,207,112,0.24);
  background:
    linear-gradient(145deg, rgba(168,207,112,0.14), rgba(168,207,112,0.035)),
    rgba(255,255,255,0.03);
}

.flash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.flash-type,
.flash-top em {
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: 0.07em;
}

.flash-top em {
  flex: 0 0 auto;
  max-width: 150px;
  overflow: hidden;
  color: #fff1bf;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flash-title,
.flash-value,
.flash-detail {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flash-title {
  margin-top: 2px;
  color: var(--text);
  font-size: 21px;
  line-height: 0.98;
  font-weight: 950;
  white-space: nowrap;
}

.flash-value {
  align-self: center;
  color: #fff1bf;
  font-size: 37px;
  line-height: 0.88;
  font-weight: 950;
  white-space: nowrap;
}

.flash-detail {
  color: var(--soft);
  font-size: 12px;
  line-height: 1.05;
  font-weight: 850;
  white-space: nowrap;
}

.flash-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}

.flash-dots i {
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
}

.flash-dots i.active {
  background: #fff1bf;
}

@keyframes flashIn {
  from {
    transform: translateY(8px);
  }
  to {
    transform: translateY(0);
  }
}

.source-row {
  grid-template-columns: minmax(0, 1fr) 138px;
  min-height: 24px;
}

.source-row strong {
  font-size: 13px;
  line-height: 1;
}

.source-row span {
  justify-self: end;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--cash);
  background: rgba(73,209,125,0.07);
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.source-row small {
  display: none;
}

.ticker-wrap {
  position: fixed;
  left: 30px;
  right: 30px;
  bottom: 14px;
  height: 64px;
  min-height: 64px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 8px 16px;
  background:
    linear-gradient(180deg, rgba(23, 25, 20, 0.96), rgba(8, 9, 7, 0.92)),
    rgba(8, 9, 7, 0.94);
  box-shadow:
    0 18px 48px rgba(0,0,0,0.36),
    inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.ticker-label {
  position: relative;
  isolation: isolate;
  min-width: 0;
  display: grid;
  grid-template-columns: auto auto;
  gap: 9px;
  place-items: center;
  padding: 8px 11px;
  border: 1px solid rgba(73,209,125,0.30);
  border-radius: 10px;
  color: #e6fff0;
  background: rgba(73,209,125,0.08);
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: 0.08em;
  box-shadow:
    0 0 var(--live-chip-glow, 16px) rgba(73,209,125,var(--live-chip-alpha,0.16)),
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 0 18px rgba(73,209,125,0.08);
  transform: translateZ(0);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.ticker-label::before {
  content: "";
  position: absolute;
  inset: -9px -11px;
  z-index: -1;
  border-radius: 15px;
  background:
    radial-gradient(circle at 19px 50%, rgba(73,209,125,var(--live-halo-alpha,0.20)), transparent 56%),
    linear-gradient(90deg, rgba(73,209,125,var(--live-chip-alpha,0.10)), transparent 74%);
  opacity: var(--live-halo-alpha,0.26);
  transform: scale(var(--live-breath-scale,1));
  filter: blur(2px);
  animation: liveChipBreath 2.8s ease-in-out infinite;
}

.ticker-label span:last-child::before {
  content: "[ ";
}

.ticker-label span:last-child::after {
  content: " ]";
}

.heartbeat {
  position: relative;
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--cash);
  box-shadow:
    0 0 0 1px rgba(230,255,240,0.52),
    0 0 var(--live-core-glow, 18px) rgba(73,209,125,var(--live-core-alpha,0.68)),
    0 0 34px rgba(73,209,125,0.22);
  transform: scale(var(--live-breath-scale,1));
  transform-origin: center;
  animation: liveCoreBreath 1.8s ease-in-out infinite;
}

.heartbeat::before,
.heartbeat::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(73,209,125,var(--live-ring-alpha,0.28));
  border-radius: inherit;
  opacity: var(--live-ring-alpha,0.28);
  transform: scale(var(--live-ring-scale,1.2));
  animation: liveRingBreath 2.4s ease-out infinite;
}

.heartbeat::after {
  inset: -12px;
  opacity: calc(var(--live-ring-alpha,0.28) * 0.55);
  animation-delay: 900ms;
}

.heartbeat i {
  display: none;
}

.ticker {
  display: grid;
  align-items: center;
  min-height: 38px;
  overflow: hidden;
  min-width: 0;
  mask-image: linear-gradient(90deg, transparent 0, black 22px, black calc(100% - 30px), transparent 100%);
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-width: max-content;
  min-height: 40px;
  color: #fff8e6;
  white-space: nowrap;
  animation: liveTvCrawl var(--crawl-duration, 118s) linear infinite;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.ticker-segment {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  flex: 0 0 auto;
}

.ticker-item {
  position: relative;
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 16px;
  width: max-content;
  pointer-events: none;
}

.ticker-item::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: 14px;
  border-radius: 999px;
  background: rgba(230,232,220,0.28);
}

.ticker-item[data-category="cash"] { --feed-color: var(--cash); }
.ticker-item[data-category="sales"] { --feed-color: var(--sales); }
.ticker-item[data-category="lead"] { --feed-color: var(--lead); }
.ticker-item[data-category="hot"] { --feed-color: var(--forecast); }
.ticker-item[data-category="runway"] { --feed-color: var(--balance); }
.ticker-item[data-category="case-study"] { --feed-color: #8fd7ff; }
.ticker-item[data-category="calendar"] { --feed-color: #73e6cb; }
.ticker-item[data-category="ctc"] { --feed-color: #b8a6ff; }
.ticker-item[data-category="watch"] { --feed-color: var(--balance); }

.ticker-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--feed-color);
  font-size: 20px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: none;
}

.ticker-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--feed-color);
  box-shadow: 0 0 12px color-mix(in srgb, var(--feed-color) 42%, transparent);
}

.ticker-message {
  overflow: visible;
  color: #fff8e6;
  font-size: 28px;
  line-height: 1.06;
  font-weight: 950;
  letter-spacing: 0;
  text-overflow: clip;
}

.ticker-owner {
  overflow: visible;
  padding-left: 16px;
  border-left: 1px solid rgba(230,232,220,0.16);
  color: rgba(244,241,232,0.78);
  font-size: 19px;
  line-height: 1.08;
  font-weight: 850;
  text-overflow: clip;
}

.gift-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  color: var(--text);
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(20, 21, 18, 0.98), rgba(6, 7, 5, 0.98)),
    #080906;
  animation: giftSplashOut 420ms ease 2.5s forwards;
}

.gift-splash.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.gift-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.18), rgba(255,255,255,0.045)),
    rgba(20, 21, 18, 0.80);
  box-shadow:
    0 28px 80px rgba(0,0,0,0.48),
    inset 0 1px 0 rgba(255,255,255,0.22);
}

.mentor-photo-splash {
  border-radius: 26px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16);
}

.gift-mark .live-dot {
  position: absolute;
  right: 9px;
  bottom: 9px;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(6, 7, 5, 0.94);
}

.gift-title {
  font-size: 34px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

.gift-line {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.15;
  font-weight: 850;
}

[data-state="loading"] .hero-grid,
[data-state="loading"] .main-grid,
[data-state="loading"] .lower-grid {
  opacity: 0.55;
}

html[data-tv-fit="scaled"],
html[data-tv-fit="scaled"] body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

html[data-tv-fit="scaled"] .tv-shell {
  width: 1920px;
  height: 1080px;
  transform: scale(var(--tv-scale, 1));
  transform-origin: top left;
}

@keyframes crawl {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes liveTvCrawl {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes liveChipBreath {
  0%, 100% {
    opacity: 0.22;
    transform: scale(0.96);
  }
  48% {
    opacity: 0.62;
    transform: scale(1.08);
  }
}

@keyframes liveCoreBreath {
  0%, 100% {
    transform: scale(0.88);
  }
  50% {
    transform: scale(1.18);
  }
}

@keyframes liveRingBreath {
  0% {
    opacity: 0.44;
    transform: scale(0.72);
  }
  70%, 100% {
    opacity: 0;
    transform: scale(1.85);
  }
}

@keyframes liveFeedIn {
  from {
    transform: translateY(7px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.62;
    transform: scale(0.72);
  }
}

@keyframes giftSplashOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@media (max-width: 760px) and (orientation: portrait) {
  .tv-shell {
    padding: 18px 18px 68px;
    grid-template-rows: auto auto auto auto auto;
    overflow-y: auto;
  }

  body {
    overflow: auto;
    cursor: auto;
  }

  .topbar,
  .main-grid,
  .lower-grid,
  .hero-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .title-block {
    max-width: none;
    width: 100%;
  }

  .top-meta,
  .money-layout,
  .sales-split,
  .lead-numbers {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 38px;
  }

  .ticker-wrap {
    left: 18px;
    right: 18px;
  }
}
