:root {
  --bg: #000;
  --panel: #080909;
  --panel-2: #101314;
  --line: rgba(255, 255, 255, 0.13);
  --text: #f8fbfa;
  --muted: #9da7a4;
  --green: #28c64f;
  --green-bright: #23f06a;
  --green-soft: rgba(40, 198, 79, 0.12);
  --red: #ff202b;
  --red-dark: #8b111b;
  --gold: #f6bd3b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI Variable", "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  display: none;
}

body.dashboard-visible .homepage-shell {
  display: none;
}

body.gateway-visible .homepage-shell {
  display: none;
}

body.dashboard-visible .app-shell {
  display: grid;
}

.dashboard-gateway[hidden] {
  display: none;
}

.dashboard-gateway {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 56px 24px;
  background:
    radial-gradient(circle at 22% 6%, rgba(40, 198, 79, 0.13), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(255, 32, 43, 0.13), transparent 30%),
    linear-gradient(145deg, #001109 0%, #020303 48%, #100407 100%);
}

.dashboard-gateway > * {
  position: relative;
  z-index: 1;
}

body.dashboard-visible .dashboard-gateway {
  display: none;
}

.gateway-panel {
  width: min(960px, 100%);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(40, 198, 79, 0.24);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.08), rgba(255, 32, 43, 0.06)),
    rgba(4, 9, 8, 0.92);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.55);
}

.gateway-logo-panel {
  display: grid;
  place-items: center;
  min-height: clamp(150px, 24vw, 250px);
  padding: clamp(20px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 50%, rgba(40, 198, 79, 0.22), transparent 38%),
    linear-gradient(120deg, rgba(40, 198, 79, 0.17), rgba(255, 32, 43, 0.18)),
    rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.gateway-logo-panel img {
  width: min(720px, 94%);
  max-height: 190px;
  object-fit: contain;
  transform: scale(2);
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.52));
}

.gateway-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.gateway-option {
  display: grid;
  align-content: space-between;
  min-height: 186px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(40, 198, 79, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(7, 18, 15, 0.88);
}

.gateway-option span {
  color: #9ff8b1;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gateway-option p {
  margin: 14px 0 24px;
  color: #d9e3df;
  font-size: 14px;
  line-height: 1.45;
}

.gateway-action {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
}

.gateway-action-primary {
  border: 0;
  background: linear-gradient(135deg, var(--green), #109136 48%, var(--red));
  color: #fff;
}

.homepage-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 322px minmax(0, 1fr);
  min-height: 100vh;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 32, 43, 0.12), transparent 28%),
    radial-gradient(circle at 22% 88%, rgba(40, 198, 79, 0.14), transparent 30%),
    #000;
  color: var(--text);
}

.homepage-shell > * {
  position: relative;
  z-index: 1;
}

.homepage-shell::after,
.dashboard-gateway::after {
  content: "";
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: clamp(170px, 24vh, 280px);
  background:
    radial-gradient(ellipse at 50% 100%, rgba(40, 198, 79, 0.34), transparent 12%),
    repeating-radial-gradient(ellipse at 50% 100%, rgba(40, 198, 79, 0.28) 0 2px, transparent 2px 18px);
  filter: drop-shadow(0 -26px 52px rgba(40, 198, 79, 0.14));
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 34%, #000 100%);
  opacity: 0.48;
  pointer-events: none;
  transform: perspective(780px) rotateX(58deg);
  transform-origin: bottom center;
}

.homepage-rail {
  display: grid;
  align-content: start;
  gap: 20px;
  min-height: 100vh;
  padding: 28px 26px;
  border-right: 1px solid rgba(40, 198, 79, 0.24);
  background:
    radial-gradient(circle at 50% 0%, rgba(40, 198, 79, 0.12), transparent 30%),
    linear-gradient(180deg, #040706, #000 54%, #001407);
}

.homepage-rail img {
  width: 100%;
  border-radius: 8px;
}

.homepage-rail p {
  justify-self: center;
  max-width: 250px;
  margin: 0;
  color: #c8d3d0;
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
}

.home-dashboard-button,
.home-rail-link,
.home-privacy-link,
.home-primary-action,
.home-secondary-action,
.home-bottom-cta button,
.home-bottom-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.home-dashboard-button,
.home-rail-link,
.home-primary-action,
.home-secondary-action,
.home-bottom-cta button,
.home-bottom-cta a {
  min-height: 56px;
  font-size: 16px;
}

.home-dashboard-button,
.home-rail-link,
.home-primary-action,
.home-bottom-cta button {
  border: 0;
  background: linear-gradient(135deg, var(--green), #109136 48%, var(--red));
  color: #fff;
}

.home-nearest-button {
  width: 100%;
}

.home-secondary-action,
.home-bottom-cta a {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
}

.home-privacy-link {
  justify-self: center;
  min-height: auto;
  color: #9da7a4;
  font-size: 0.96rem;
  font-weight: 700;
  text-align: center;
}

.home-privacy-link:hover {
  color: #dce7e4;
}

.homepage-main {
  display: grid;
  gap: 36px;
  min-width: 0;
  padding: 24px clamp(22px, 3vw, 46px);
}

.homepage-logo-banner,
.homepage-hero,
.home-tv-panel,
.home-panel,
.home-control-panel,
.home-bottom-cta {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.homepage-logo-banner,
.homepage-hero,
.home-tv-panel,
.home-panel,
.home-control-panel,
.home-bottom-cta {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(40, 198, 79, 0.07), rgba(255, 32, 43, 0.045)),
    rgba(8, 9, 9, 0.92);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.homepage-logo-banner {
  display: grid;
  min-height: clamp(118px, 10vw, 152px);
  place-items: center;
  padding: clamp(16px, 2vw, 26px);
}

.homepage-logo-banner img {
  display: block;
  width: min(900px, 82%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(40, 198, 79, 0.22));
}

.homepage-hero {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(300px, 320px);
  grid-template-areas:
    "copy customer";
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding: clamp(28px, 4vw, 46px);
}

.homepage-copy {
  grid-area: copy;
  display: grid;
  align-content: center;
  gap: 24px;
}

.homepage-brand-line {
  display: flex;
  align-items: center;
  width: min(640px, 100%);
  min-height: clamp(70px, 8vw, 104px);
}

.homepage-brand-line img {
  width: min(520px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(40, 198, 79, 0.28));
}

.homepage-kicker,
.home-control-panel > div > span,
.home-feature-grid span,
.home-panel h2 {
  color: var(--green);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.homepage-copy h1 {
  max-width: 430px;
  font-size: clamp(42px, 4.3vw, 64px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

.homepage-copy h1::after {
  display: none;
}

.homepage-copy h1 span {
  display: block;
  color: var(--green);
}

.homepage-lede {
  max-width: 430px;
  color: #dce7e4;
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.45;
}

.nearest-finder-modal[hidden] {
  display: none;
}

.nearest-finder-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

.nearest-finder-panel {
  position: relative;
  display: grid;
  gap: 18px;
  width: min(520px, 100%);
  border: 1px solid rgba(40, 198, 79, 0.32);
  border-radius: 20px;
  background:
    radial-gradient(circle at 18% 82%, rgba(40, 198, 79, 0.16), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(255, 32, 43, 0.14), transparent 34%),
    rgba(4, 10, 8, 0.96);
  padding: 28px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.58);
}

.nearest-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.nearest-copy {
  display: grid;
  gap: 8px;
  padding-right: 40px;
}

.nearest-copy span,
.nearest-result-card > span,
.nearest-live-strip small {
  color: var(--green);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nearest-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 300;
  line-height: 0.95;
  text-transform: uppercase;
}

.nearest-copy p {
  margin: 0;
  color: #d5dfdb;
  line-height: 1.45;
}

.nearest-search-form {
  display: grid;
  gap: 12px;
}

.nearest-search-form label {
  display: grid;
  gap: 8px;
}

.nearest-search-form label span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nearest-search-form input {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  padding: 0 14px;
}

.nearest-result-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(40, 198, 79, 0.34);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.14), rgba(255, 32, 43, 0.06)),
    rgba(0, 0, 0, 0.34);
  padding: 18px;
}

.nearest-result-card[hidden] {
  display: none;
}

.nearest-result-card strong {
  color: #fff;
  font-size: 28px;
}

.nearest-result-card p {
  margin: 0;
  color: #d5dfdb;
}

.nearest-live-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.nearest-live-strip span {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  padding: 12px;
}

.nearest-live-strip b {
  color: #fff;
}

.nearest-venue-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.nearest-venue-links a {
  display: grid;
  min-height: 40px;
  place-items: center;
  border: 1px solid rgba(40, 198, 79, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-decoration: none;
}

.homepage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.home-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.home-primary-action,
.home-secondary-action {
  min-width: 160px;
  min-height: 46px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.home-primary-action > span,
.home-secondary-action > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
}

.home-primary-action svg,
.home-secondary-action svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-primary-action strong,
.home-secondary-action strong {
  align-self: end;
  font-size: 15px;
  text-transform: uppercase;
}

.home-primary-action small,
.home-secondary-action small {
  grid-column: 2;
  align-self: start;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.homepage-trust {
  color: #9da7a4;
  font-size: 13px;
}

.home-customer-view {
  grid-area: customer;
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 14px;
  min-height: 100%;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 6%, rgba(35, 240, 106, 0.36), transparent 34%),
    linear-gradient(180deg, rgba(0, 86, 39, 0.82), rgba(0, 9, 7, 0.96) 70%, #000);
  padding: 28px 18px 32px;
  box-shadow:
    inset 0 0 80px rgba(40, 198, 79, 0.14),
    0 30px 78px rgba(0, 0, 0, 0.38);
}

.home-customer-view > span,
.home-customer-view p,
.customer-cheapest small {
  color: #dff8e6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-customer-view p {
  max-width: 250px;
  margin: 0;
  color: #fff;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

.customer-phone {
  display: grid;
  gap: 8px;
  width: min(270px, 100%);
  max-width: 100%;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(1, 18, 16, 0.74), rgba(0, 8, 7, 0.92)),
    rgba(5, 9, 8, 0.9);
  padding: 12px;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.36), 0 0 42px rgba(40, 198, 79, 0.22);
}

.customer-phone h2 {
  display: grid;
  gap: 0;
  margin: 0;
  color: #fff;
  font-size: clamp(23px, 2.1vw, 28px);
  font-weight: 900;
  letter-spacing: 0.025em;
  line-height: 0.92;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(40, 198, 79, 0.62);
}

.customer-phone h2 strong {
  color: var(--green-bright);
  font-size: 0.94em;
}

.customer-venue {
  color: rgba(255, 255, 255, 0.7);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
}

.customer-title-rule {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  width: 86%;
  justify-self: center;
  color: var(--green-bright);
}

.customer-title-rule::before,
.customer-title-rule::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
  box-shadow: 0 0 16px currentColor;
}

.customer-title-rule::after {
  background: linear-gradient(90deg, currentColor, transparent);
}

.customer-title-rule span {
  width: 13px;
  height: 13px;
  transform: rotate(45deg);
  border: 1px solid currentColor;
  box-shadow: 0 0 18px rgba(35, 240, 106, 0.7);
}

.customer-cheapest,
.customer-price-row,
.customer-crash {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(40, 198, 79, 0.26);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(40, 198, 79, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 28px rgba(40, 198, 79, 0.05);
}

.customer-cheapest {
  display: grid;
  position: relative;
  justify-items: center;
  gap: 2px;
  margin-top: 0;
  min-height: 0;
  padding: 6px 12px 7px;
  text-align: center;
}

.customer-cheapest small {
  justify-self: center;
  margin: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(40, 198, 79, 0.24), rgba(40, 198, 79, 0.12));
  color: var(--green-bright);
  padding: 3px 12px;
  font-size: 7px;
  line-height: 1;
}

.customer-feature-row {
  display: inline-grid;
  grid-template-columns: minmax(0, auto);
  gap: 4px;
  align-items: center;
  justify-content: center;
  justify-items: center;
}

.customer-feature-row img,
.customer-price-row img {
  display: block;
  max-width: 100%;
  object-fit: contain;
}

.customer-feature-row img {
  max-height: 66px;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.46));
}

.customer-feature-row div {
  display: grid;
  gap: 0;
  justify-items: center;
  min-width: 0;
}

.customer-cheapest strong {
  color: #fff;
  font-size: 11px;
  line-height: 1.1;
}

.customer-cheapest b {
  color: var(--green-bright);
  font-size: 25px;
  font-weight: 900;
  line-height: 0.95;
}

.customer-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(88px, auto);
  gap: 10px;
  align-items: center;
  min-height: 45px;
  padding: 10px 12px;
  color: #fff;
}

.customer-price-row img {
  max-height: 26px;
  justify-self: start;
}

.customer-price-row strong,
.customer-price-row span {
  font-size: 11px;
  min-width: 0;
}

.customer-price-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-price-row span {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  color: var(--green-bright);
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.customer-price-row em {
  border-radius: 6px;
  background: rgba(40, 198, 79, 0.12);
  padding: 3px 5px;
  font-size: 10px;
  font-style: normal;
}

.customer-price-row.falling span {
  color: var(--red);
}

.customer-price-row.falling em {
  background: rgba(255, 32, 43, 0.14);
}

.customer-crash {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 11px 12px;
  border-color: rgba(255, 32, 43, 0.72);
  background:
    radial-gradient(circle at 14% 50%, rgba(255, 32, 43, 0.42), transparent 42%),
    linear-gradient(90deg, rgba(255, 32, 43, 0.28), rgba(40, 0, 0, 0.52));
  box-shadow:
    inset 0 0 24px rgba(255, 32, 43, 0.22),
    0 0 24px rgba(255, 32, 43, 0.24);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  animation: customerCrashPulse 1.2s ease-in-out infinite;
}

.customer-crash div {
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 0;
}

.customer-crash > span {
  position: relative;
  display: block;
  width: 30px;
  height: 24px;
  justify-self: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.48);
  border-left: 2px solid rgba(255, 255, 255, 0.48);
  filter: drop-shadow(0 0 12px rgba(255, 32, 43, 0.86));
}

.customer-crash > span::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 13px;
  width: 23px;
  height: 12px;
  border-top: 3px solid #ff3644;
  border-right: 3px solid #ff3644;
  transform: skewY(-28deg);
  box-shadow: 0 0 18px rgba(255, 32, 43, 0.8);
}

.customer-crash strong {
  display: block;
  margin-top: 1px;
  color: #ff3644;
  font-size: 20px;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 0 16px rgba(255, 32, 43, 0.78);
}

@keyframes customerCrashPulse {
  0%,
  100% {
    transform: translateX(0);
    filter: brightness(1);
  }
  45% {
    transform: translateX(-1px);
    filter: brightness(1.18);
  }
  55% {
    transform: translateX(1px);
    filter: brightness(1.34);
  }
}

.homepage-feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 4px;
}

.homepage-feature-strip article {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.homepage-feature-strip span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(40, 198, 79, 0.38);
  border-radius: 13px;
  color: var(--green);
  background: rgba(40, 198, 79, 0.06);
}

.homepage-feature-strip article:nth-child(2) span {
  border-color: rgba(255, 32, 43, 0.42);
  color: var(--red);
  background: rgba(255, 32, 43, 0.06);
}

.homepage-feature-strip svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.homepage-feature-strip strong {
  color: var(--green);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.homepage-feature-strip article:nth-child(2) strong {
  color: var(--red);
}

.homepage-feature-strip small {
  color: #d2dcda;
  font-size: 11px;
  line-height: 1.35;
}

.homepage-preview-stage {
  grid-area: preview;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  justify-self: center;
  width: 100%;
  min-height: 0;
  align-items: center;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 15%, rgba(40, 198, 79, 0.22), transparent 36%),
    radial-gradient(circle at 78% 72%, rgba(255, 32, 43, 0.12), transparent 30%),
    linear-gradient(180deg, #082820, #050707);
  border: 1px solid rgba(40, 198, 79, 0.28);
  padding: 28px;
  text-align: center;
}

.homepage-preview-title {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0;
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.homepage-preview-title span {
  width: 42px;
  height: 2px;
  background: var(--green);
  box-shadow: 0 0 16px rgba(40, 198, 79, 0.62);
}

.homepage-tv-feature,
.homepage-mobile-preview {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  min-width: 0;
}

.homepage-tv-feature {
  justify-self: center;
  width: 100%;
  max-width: 720px;
}

.homepage-mobile-preview {
  display: none;
  width: 100%;
}

.homepage-tv-feature h2,
.homepage-mobile-preview > span {
  color: #dff8e6;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.homepage-tv-feature h2 {
  margin: 0;
}

.homepage-tv-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(40, 198, 79, 0.38);
  border-radius: 4px;
  background: #020403;
  box-shadow: 0 0 46px rgba(40, 198, 79, 0.24);
}

.homepage-tv-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.homepage-phone-frame {
  position: relative;
  width: min(194px, 100%);
  aspect-ratio: 9 / 16.5;
  overflow: hidden;
  border: 6px solid rgba(40, 198, 79, 0.72);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(40, 198, 79, 0.16), transparent 34%),
    radial-gradient(circle at 100% 10%, rgba(255, 32, 43, 0.12), transparent 34%),
    #020403;
  box-shadow: 0 0 44px rgba(40, 198, 79, 0.25);
}

.homepage-phone-live {
  display: grid;
  gap: 10px;
  height: 100%;
  overflow: hidden;
  padding: 15px 12px 12px;
  color: #fff;
}

.homepage-phone-live h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.homepage-phone-deal,
.homepage-phone-list p,
.homepage-phone-live footer {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.homepage-phone-deal {
  display: grid;
  gap: 2px;
  padding: 12px 10px;
  text-align: center;
}

.homepage-phone-deal span,
.homepage-phone-list h4 {
  color: var(--green);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.homepage-phone-deal strong {
  font-size: 14px;
}

.homepage-phone-deal b {
  color: var(--green);
  font-size: 30px;
  line-height: 1;
}

.homepage-phone-list {
  display: grid;
  gap: 8px;
  min-height: 0;
  overflow: hidden;
}

.homepage-phone-list section {
  display: grid;
  gap: 5px;
}

.homepage-phone-list h4 {
  margin: 0;
  text-align: left;
}

.homepage-phone-list p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 8px;
  align-items: center;
  margin: 0;
  padding: 8px 9px;
  text-align: left;
}

.homepage-phone-list span {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.homepage-phone-list strong {
  color: var(--green);
  font-size: 12px;
}

.homepage-phone-list em {
  grid-column: 2;
  font-size: 10px;
  font-style: normal;
}

.homepage-phone-list .up {
  color: var(--green);
}

.homepage-phone-list .down {
  color: var(--red);
}

.homepage-phone-live footer {
  align-self: end;
  padding: 9px;
  font-size: 12px;
  text-transform: uppercase;
}

.home-tv-sample {
  position: relative;
  justify-self: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  border: 1px solid rgba(40, 198, 79, 0.34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 42%, rgba(255, 32, 43, 0.22), transparent 34%),
    radial-gradient(circle at 20% 78%, rgba(40, 198, 79, 0.24), transparent 34%),
    linear-gradient(120deg, rgba(0, 0, 0, 0.98) 0%, rgba(5, 16, 18, 0.96) 42%, rgba(98, 8, 17, 0.55) 100%),
    #000;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36), 0 0 36px rgba(40, 198, 79, 0.14);
}

.home-tv-sample .ticker {
  padding: clamp(7px, 1vw, 11px) clamp(12px, 1.7vw, 18px);
  background: linear-gradient(90deg, var(--green), rgba(255, 32, 43, 0.86));
  color: #fff;
  font-size: clamp(9px, 1vw, 12px);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-tv-sample .ticker-track {
  display: block;
  min-width: 0;
  padding-left: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  animation: none;
}

.home-tv-sample .ticker-track::after {
  content: none;
}

.home-tv-sample .board-title {
  padding: clamp(26px, 4.2vw, 56px) clamp(18px, 3vw, 36px) clamp(14px, 2vw, 24px);
  color: #fff;
  font-size: clamp(34px, 6.2vw, 82px);
  font-weight: 300;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.home-tv-sample .price-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(560px, 58%);
  margin: 0 clamp(18px, 3vw, 36px);
  border: 1px solid rgba(40, 198, 79, 0.32);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.48);
}

.home-tv-sample .price-board span,
.home-tv-sample .price-board strong {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(1, 12, 9, 0.76);
  padding: clamp(9px, 1.35vw, 16px) clamp(12px, 1.7vw, 20px);
  font-size: clamp(14px, 1.8vw, 24px);
}

.home-tv-sample .price-board span {
  color: var(--green-bright);
}

.home-tv-sample .price-board strong {
  color: #fff;
  text-align: right;
}

.home-tv-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  padding: clamp(18px, 3vw, 34px);
}

.home-tv-copy {
  display: none;
}

.home-tv-copy span {
  grid-column: 1 / -1;
  color: var(--green);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-tv-panel h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.4vw, 54px);
  line-height: 1;
  text-transform: uppercase;
}

.home-tv-panel p {
  margin: 0;
  color: #dce7e4;
  line-height: 1.45;
}

.home-tv-panel .home-tv-sample {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.home-tv-sample .price-board strong em {
  display: inline-block;
  margin-left: 10px;
  color: var(--green-bright);
  font-size: 0.62em;
  font-style: normal;
}

.home-tv-sample .price-board strong:nth-of-type(2) em,
.home-tv-sample .price-board strong:nth-of-type(4) em {
  color: var(--red);
}

.home-tv-sample .cheapest-callout {
  right: clamp(14px, 2vw, 24px);
  top: clamp(48px, 6.2vw, 70px);
  bottom: auto;
  z-index: 3;
  grid-auto-flow: column;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 10px;
  padding: clamp(8px, 1vw, 11px) clamp(10px, 1.4vw, 15px);
}

.home-tv-sample .cheapest-callout span,
.home-tv-sample .crash-countdown span,
.home-tv-sample .market-signal-panel span {
  color: var(--green);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-tv-sample .cheapest-callout strong,
.home-tv-sample .market-signal-panel strong {
  color: #fff;
  font-size: clamp(12px, 1.35vw, 16px);
}

.home-tv-sample .cheapest-callout b,
.home-tv-sample .market-signal-panel b {
  color: var(--green-bright);
  font-size: clamp(16px, 1.8vw, 24px);
}

.home-tv-sample .crash-countdown {
  display: none;
}

.home-tv-sample .crash-countdown span {
  color: var(--gold);
}

.home-tv-sample .crash-countdown strong {
  color: #fff;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

.home-tv-sample .market-signal-panel {
  position: absolute;
  right: clamp(14px, 2vw, 24px);
  bottom: clamp(96px, 12vw, 136px);
  left: auto;
  z-index: 3;
  display: grid;
  gap: 3px;
  width: clamp(180px, 25vw, 270px);
  border: 1px solid rgba(40, 198, 79, 0.3);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.56);
  padding: clamp(10px, 1.3vw, 14px) clamp(12px, 1.6vw, 16px);
}

.home-panel,
.home-control-panel,
.home-bottom-cta {
  padding: 34px;
}

.home-panel {
  display: grid;
  gap: 32px;
}

.how-steps,
.benefit-grid,
.pos-strip {
  display: grid;
  gap: 24px;
}

.how-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.how-steps article,
.benefit-grid article,
.home-feature-grid article,
.pos-strip > span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 20px;
}

.how-steps article,
.benefit-grid article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px 14px;
  align-items: center;
}

.home-panel h2,
.home-control-panel > div > span {
  display: block;
  margin: 0;
  line-height: 1.2;
}

.how-steps span,
.benefit-grid span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(40, 198, 79, 0.42);
  border-radius: 10px;
  color: var(--green);
}

.how-steps svg,
.benefit-grid svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.how-steps h3,
.benefit-grid h3,
.home-feature-grid strong {
  color: #fff;
}

.how-steps h3,
.benefit-grid h3 {
  margin: 0;
}

.how-steps p,
.benefit-grid p,
.home-control-panel p {
  color: #c8d3d0;
  line-height: 1.45;
}

.how-steps p,
.benefit-grid p {
  grid-column: 1 / -1;
  margin: 0;
}

.home-control-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 30px;
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.16), rgba(255, 32, 43, 0.08)),
    #041819;
}

.home-control-panel h2 {
  color: #fff;
  font-size: clamp(28px, 3vw, 44px);
}

.home-control-panel > div:first-child {
  display: grid;
  align-content: center;
  gap: 24px;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.home-feature-grid article {
  display: grid;
  gap: 8px;
}

.benefit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pos-provider-panel {
  gap: 22px;
  border-color: rgba(68, 208, 170, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(40, 198, 79, 0.035)),
    rgba(5, 12, 10, 0.92);
}

.pos-provider-panel h2 {
  color: #dce7e4;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pos-strip {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.pos-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  color: #eaf2ef;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
  text-align: center;
}

.pos-logo i {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  flex: 0 0 auto;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
}

.pos-logo strong {
  display: block;
  min-width: 0;
  color: inherit;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.epos-logo {
  color: #26b9ee;
}

.epos-logo i {
  border-radius: 999px;
  background: #083447;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 15px;
  font-style: italic;
}

.clover-logo {
  color: #19b35a;
}

.clover-logo i {
  background:
    radial-gradient(circle at 30% 30%, currentColor 0 32%, transparent 35%),
    radial-gradient(circle at 70% 30%, currentColor 0 32%, transparent 35%),
    radial-gradient(circle at 30% 70%, currentColor 0 32%, transparent 35%),
    radial-gradient(circle at 70% 70%, currentColor 0 32%, transparent 35%);
}

.square-logo {
  color: #f4f7f5;
}

.square-logo i {
  width: 22px;
  height: 22px;
  border: 4px solid currentColor;
  border-radius: 5px;
  box-shadow: inset 0 0 0 5px rgba(5, 12, 10, 0.92), inset 0 0 0 8px currentColor;
}

.lightspeed-logo {
  color: #f2f4f2;
}

.lightspeed-logo i {
  color: #ff3038;
  font-size: 25px;
}

.lightspeed-logo i::before {
  content: "";
  width: 15px;
  height: 24px;
  background: currentColor;
  clip-path: polygon(55% 0, 12% 46%, 43% 46%, 24% 100%, 88% 36%, 57% 36%, 78% 0);
}

.shopify-logo {
  color: #eaf2ef;
  font-style: italic;
}

.shopify-logo i {
  border-radius: 5px;
  background: #7ab55c;
  color: #fff;
  font-size: 14px;
  transform: rotate(-7deg);
}

.sumup-logo {
  color: #f4f7f5;
}

.sumup-logo i {
  width: auto;
  color: #f4f7f5;
  font-size: 15px;
  letter-spacing: 0.12em;
}

.privacy-panel {
  scroll-margin-top: 24px;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.privacy-grid article {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  padding: 16px;
}

.privacy-grid h3 {
  margin: 0 0 8px;
  color: #fff;
}

.privacy-grid p {
  margin: 0;
  color: #c8d3d0;
  font-size: 14px;
  line-height: 1.45;
}

.privacy-grid a {
  color: var(--green);
}

.legal-page {
  min-height: 100vh;
  padding: clamp(22px, 5vw, 58px);
  background:
    radial-gradient(circle at 18% 0%, rgba(40, 198, 79, 0.17), transparent 34%),
    radial-gradient(circle at 88% 76%, rgba(255, 32, 43, 0.12), transparent 32%),
    linear-gradient(145deg, #001109 0%, #020303 48%, #100407 100%);
  color: var(--text);
}

.legal-card {
  display: grid;
  gap: 30px;
  width: min(900px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(104, 209, 178, 0.2);
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 198, 79, 0.09), transparent 26%),
    linear-gradient(145deg, rgba(40, 198, 79, 0.06), transparent 48%),
    rgba(5, 10, 10, 0.94);
  padding: clamp(22px, 4vw, 44px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.legal-brand {
  display: inline-flex;
  width: min(280px, 100%);
}

.legal-brand img {
  width: 100%;
  object-fit: contain;
}

.legal-heading {
  display: grid;
  gap: 10px;
}

.legal-heading h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.98;
  text-transform: uppercase;
}

.legal-copy {
  display: grid;
  gap: 14px;
}

.legal-copy h2 {
  margin: 18px 0 0;
  color: #fff;
  font-size: 20px;
  text-transform: uppercase;
}

.legal-copy p {
  margin: 0;
  color: #c8d3d0;
  line-height: 1.62;
}

.legal-copy a,
.legal-back-link {
  color: var(--green);
}

.home-bottom-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 6vw, 96px);
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #062b31, #040707);
}

.home-bottom-cta h2 {
  margin: 0 0 4px;
  color: #fff;
}

.home-bottom-cta p {
  margin: 0;
  color: #c8d3d0;
}

.home-bottom-cta .home-primary-action {
  min-width: 220px;
  min-height: 56px;
  justify-self: end;
  padding: 0 34px;
  font-size: 15px;
  font-weight: 900;
  box-shadow:
    0 18px 42px rgba(40, 198, 79, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

@media (max-width: 1280px) {
  .homepage-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "customer";
  }

  .home-customer-view {
    justify-self: center;
    width: min(420px, 100%);
  }
}

.app-shell {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  min-height: 100vh;
}

body:not(.dashboard-visible) .app-shell {
  display: none;
}

.sidebar {
  position: sticky;
  top: 0;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  padding: 14px 22px;
  background:
    radial-gradient(circle at 20% 10%, rgba(40, 198, 79, 0.18), transparent 30%),
    radial-gradient(circle at 80% 92%, rgba(255, 32, 43, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(2, 16, 17, 0.98), rgba(0, 9, 7, 0.98));
  border-right: 1px solid rgba(68, 208, 170, 0.22);
  box-shadow: 18px 0 60px rgba(0, 0, 0, 0.36);
  color: var(--text);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sidebar::-webkit-scrollbar {
  width: 0;
}

.brand {
  min-height: 58px;
  display: grid;
  place-items: center;
}

.brand-logo {
  display: block;
  width: min(230px, 96%);
  max-height: 38px;
  border-radius: 0;
  object-fit: contain;
  filter: drop-shadow(0 20px 32px rgba(40, 198, 79, 0.14));
}

.brand-icon {
  display: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

.nav-list {
  display: grid;
  align-content: start;
  gap: 9px;
}

.nav-group {
  display: grid;
  gap: 5px;
}

.nav-group-separated {
  margin-top: 6px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 8px;
  color: var(--green-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.nav-section-label::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(40, 198, 79, 0.18);
}

.nav-item,
.submenu-trigger,
.sign-out {
  min-height: 40px;
  border-radius: 8px;
  color: rgba(248, 251, 250, 0.84);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 1px solid rgba(40, 198, 79, 0.12);
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.025);
  text-align: left;
  font-weight: 700;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.nav-link-dot {
  display: block;
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 999px;
  background: rgba(216, 225, 222, 0.5);
  box-shadow: 0 0 0 4px rgba(216, 225, 222, 0.08);
}

.menu-icon svg,
.user-avatar svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-item:hover,
.nav-item.active {
  border-color: rgba(40, 198, 79, 0.32);
  background:
    linear-gradient(90deg, rgba(40, 198, 79, 0.22), rgba(40, 198, 79, 0.055)),
    rgba(2, 17, 14, 0.76);
  color: #fff;
  transform: translateX(2px);
}

.nav-item.active {
  box-shadow:
    inset 5px 0 0 var(--green-bright),
    0 16px 34px rgba(0, 0, 0, 0.24),
    0 0 28px rgba(40, 198, 79, 0.12);
}

.nav-item.active .nav-link-dot,
.nav-item:hover .nav-link-dot,
.submenu-trigger.active .nav-link-dot,
.submenu-trigger:hover .nav-link-dot {
  background: linear-gradient(135deg, var(--red), var(--green));
  box-shadow: 0 0 0 4px rgba(40, 198, 79, 0.12);
}

.nav-divider {
  height: 1px;
  margin: 12px 0 8px;
  background: rgba(255, 255, 255, 0.14);
}

.submenu-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 1px solid rgba(40, 198, 79, 0.12);
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.025);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.submenu-trigger b,
.chevron-icon {
  margin-left: auto;
  color: var(--green-bright);
  font-size: 16px;
  font-weight: 900;
}

.submenu-trigger:hover,
.submenu-trigger.active {
  border-color: rgba(40, 198, 79, 0.28);
  background:
    linear-gradient(90deg, rgba(40, 198, 79, 0.18), rgba(40, 198, 79, 0.045)),
    rgba(2, 17, 14, 0.76);
  color: #fff;
}

.submenu {
  display: none;
  gap: 5px;
  padding-top: 5px;
}

.submenu.open {
  display: grid;
}

.subnav-item {
  min-height: 34px;
  padding-left: 28px;
  border-radius: 8px;
  font-size: 14px;
}

.admin-link {
  border-color: rgba(255, 32, 43, 0.42);
  color: #ff6b72;
}

.admin-link span {
  color: var(--red);
}

.user-card {
  display: grid;
  gap: 14px;
  margin-top: auto;
  border: 1px solid rgba(40, 198, 79, 0.18);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(40, 198, 79, 0.12), rgba(40, 198, 79, 0.035));
  padding: 14px;
}

.user-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 12px;
  min-height: 50px;
}

.user-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(40, 198, 79, 0.65);
  border-radius: 999px;
  color: var(--green);
  font-size: 22px;
}

.user-row div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.user-row small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.user-row strong {
  display: block;
  color: var(--text);
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-row b {
  color: var(--green);
  text-align: right;
}

.sign-out {
  width: 100%;
  border: 1px solid rgba(40, 198, 79, 0.22);
  background: rgba(40, 198, 79, 0.08);
  color: var(--text);
  font-weight: 900;
  display: grid;
  place-items: center;
  padding: 0 18px;
  white-space: nowrap;
}

.sign-out:hover {
  border-color: rgba(40, 198, 79, 0.38);
  background: linear-gradient(135deg, rgba(40, 198, 79, 0.2), rgba(40, 198, 79, 0.08));
}

.sidebar-footer {
  display: grid;
  gap: 14px;
  margin-top: 7px;
}

.workspace {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  padding: 40px clamp(28px, 4vw, 58px);
  background:
    radial-gradient(circle at 20% 0%, rgba(40, 198, 79, 0.12), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(255, 32, 43, 0.08), transparent 26%),
    linear-gradient(145deg, rgba(255, 32, 43, 0.045), transparent 38%),
    linear-gradient(30deg, rgba(40, 198, 79, 0.12), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 18%),
    #000;
}

.workspace::before {
  content: "";
  position: fixed;
  right: 0;
  bottom: 0;
  left: 286px;
  z-index: 0;
  height: clamp(170px, 24vh, 280px);
  background:
    radial-gradient(ellipse at 50% 100%, rgba(40, 198, 79, 0.34), transparent 12%),
    repeating-radial-gradient(ellipse at 50% 100%, rgba(40, 198, 79, 0.28) 0 2px, transparent 2px 18px);
  opacity: 0.5;
  filter: drop-shadow(0 -26px 52px rgba(40, 198, 79, 0.14));
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 34%, #000 100%);
  transform: perspective(780px) rotateX(58deg);
  transform-origin: bottom center;
  pointer-events: none;
}

.workspace::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(40, 198, 79, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(40, 198, 79, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 34%, transparent 76%);
  opacity: 0.28;
  pointer-events: none;
}

.screen {
  display: none;
}

.screen.active {
  position: relative;
  z-index: 1;
  display: block;
}

.screen-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
}

h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(38px, 4.2vw, 64px);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 4px 0 rgba(255, 255, 255, 0.07),
    0 18px 48px rgba(0, 0, 0, 0.55);
}

h1::after {
  content: "";
  display: block;
  width: 68px;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(40, 198, 79, 0.55);
}

.screen-intro {
  margin: 10px 0 0;
  color: #d8e1de;
  font-size: 18px;
}

.heading-actions {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 0;
}

.screen-help-stack {
  display: grid;
  gap: 16px;
  justify-items: end;
  align-self: end;
}

.screen-help-stack .live-badge {
  min-height: 38px;
  padding: 0 18px;
}

.date-range {
  display: grid;
  gap: 6px;
}

#overview-date-range {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#overview-date-range button,
.theme-state-buttons button,
.prompt-chips button,
.confirmation-modal button,
.help-popover button {
  min-height: 38px;
  border: 1px solid rgba(40, 198, 79, 0.32);
  border-radius: 999px;
  background: rgba(40, 198, 79, 0.09);
  color: var(--text);
  padding: 0 14px;
  font-weight: 850;
}

#overview-date-range button.active,
.theme-state-buttons button.active {
  border-color: rgba(40, 198, 79, 0.62);
  background: linear-gradient(135deg, var(--green-bright), #1fc85d);
  color: #001b08;
}

.dashboard-overview-grid {
  display: grid;
  width: min(100%, 992px);
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 16px;
  align-items: stretch;
  margin-bottom: 20px;
}

.dashboard-overview-grid[hidden] {
  display: none;
}

.stat-card {
  min-height: 132px;
  border: 1px solid rgba(104, 209, 178, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 86% 48%, rgba(40, 198, 79, 0.18), transparent 26%),
    linear-gradient(145deg, rgba(40, 198, 79, 0.075), transparent 52%),
    rgba(5, 10, 10, 0.9);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04),
    0 28px 80px rgba(0, 0, 0, 0.32),
    inset 0 0 52px rgba(40, 198, 79, 0.035);
  padding: 26px;
}

.stat-eyebrow,
.stat-card-period-label {
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stat-card-periods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.stat-card-period {
  display: grid;
  gap: 6px;
}

.stat-card-value {
  color: #fff;
  font-size: clamp(28px, 2.55vw, 40px);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

.stat-card-value-secondary {
  color: rgba(245, 247, 251, 0.82);
}

.dashboard-date-card {
  display: grid;
  width: min(100%, 992px);
  gap: 18px;
  margin: 0 0 20px;
  border: 1px solid rgba(104, 209, 178, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(40, 198, 79, 0.075), transparent 52%),
    rgba(5, 10, 10, 0.9);
  padding: 26px;
}

.dashboard-date-form-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.dashboard-date-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 180px));
  gap: 12px;
}

.dashboard-date-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.date-range span,
.overview-custom-range > div > span,
.overview-custom-range label span {
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.date-range-options {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: none;
}

.date-range-options button {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid rgba(40, 198, 79, 0.3);
  border-radius: 999px;
  background: rgba(40, 198, 79, 0.07);
  color: #dce7e4;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
}

.date-range-options button.active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--green), #ff7a2f);
  color: #fff;
  box-shadow: 0 0 24px rgba(40, 198, 79, 0.18);
}

.overview-custom-range[hidden] {
  display: none;
}

.overview-custom-range {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 180px auto auto;
  gap: 14px;
  align-items: end;
  margin: 12px 0 16px;
  border: 1px solid rgba(40, 198, 79, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 4% 50%, rgba(255, 122, 47, 0.2), transparent 22%),
    linear-gradient(135deg, rgba(5, 55, 62, 0.92), rgba(5, 26, 28, 0.94));
  padding: 18px;
}

.overview-custom-range p {
  margin: 6px 0 0;
  color: #d8e1de;
}

.overview-custom-range label {
  display: grid;
  gap: 7px;
}

.overview-custom-range input {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.16);
  color: #fff;
  padding: 0 12px;
}

#overview .dashboard-date-card {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(40, 198, 79, 0.055), transparent 46%),
    rgba(8, 9, 9, 0.93);
}

.heading-actions .live-badge {
  min-height: 54px;
  padding: 0 24px;
}

h2,
h3,
p {
  margin-top: 0;
}

h2,
h3 {
  font-weight: 600;
}

.panel,
.help-panel,
.metric-card,
.jam-panel,
.stuck-card {
  border: 1px solid rgba(104, 209, 178, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 198, 79, 0.08), transparent 26%),
    linear-gradient(145deg, rgba(40, 198, 79, 0.06), transparent 48%),
    rgba(5, 10, 10, 0.91);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04),
    0 28px 80px rgba(0, 0, 0, 0.32);
}

.panel,
.help-panel {
  padding: 20px;
}

.panel h2,
.help-panel h2 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 18px;
  text-transform: uppercase;
}

.help-panel h2 {
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(40, 198, 79, 0.45);
}

.help-panel p,
.help-panel h3,
.panel-intro,
.muted,
small {
  color: var(--muted);
}

.panel-intro {
  max-width: 760px;
  margin: -2px 0 18px;
  line-height: 1.55;
}

.metric-grid,
.dashboard-grid,
.overview-grid,
.build-page {
  display: grid;
  gap: 20px;
}

.metric-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 26px;
}

.metric-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 150px;
  align-items: center;
  min-height: 194px;
  padding: 24px;
  overflow: hidden;
}

.metric-card span {
  display: block;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin: 12px 0 4px;
  font-size: clamp(54px, 7vw, 76px);
  font-weight: 600;
  line-height: 0.95;
}

.trend-up {
  color: #d8e1de;
}

.trend-up::first-letter {
  color: var(--green);
}

.metric-icon {
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
  justify-self: end;
  border: 1px solid rgba(40, 198, 79, 0.45);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(40, 198, 79, 0.28), rgba(40, 198, 79, 0.08)),
    #08110b;
  color: var(--green);
  font-size: 46px;
  font-weight: 900;
  box-shadow:
    0 0 0 14px rgba(40, 198, 79, 0.055),
    0 0 0 28px rgba(40, 198, 79, 0.028),
    0 0 42px rgba(40, 198, 79, 0.28);
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  align-items: start;
}

.single-focus-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  align-items: stretch;
}

.overview-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
  align-items: stretch;
}

.build-page {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.build-heading {
  align-items: start;
}

.build-controls-card,
.product-card,
.crash-section {
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.06), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    #050807;
}

.build-controls-card {
  padding: 24px 26px;
}

.event-name-row {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(140px, 0.16fr) minmax(140px, 0.16fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
}

.event-name-row label {
  min-width: 0;
}

.event-name-row input[type="time"] {
  min-width: 0;
}

.save-event-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  align-self: end;
  gap: 14px;
  min-height: 44px;
  min-width: 154px;
}

.save-event-button span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
}

.wide-panel {
  grid-column: 1 / -1;
}

.event-summary,
.status-list,
.toggle-list,
.checklist,
.admin-actions,
.license-options {
  display: grid;
  gap: 12px;
}

#history-events {
  gap: 0;
}

.history-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 110px 54px 80px 118px;
  gap: 14px;
  align-items: center;
  min-height: 58px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.history-row:first-child {
  border-top: 0;
}

.history-row span {
  min-width: 0;
}

.history-event-name {
  overflow: hidden;
  color: #dce7e4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-event-date,
.history-event-products,
.history-event-sales {
  color: var(--muted);
  white-space: nowrap;
}

.history-event-products,
.history-event-sales {
  text-align: right;
}

.history-event-action {
  display: flex;
  justify-content: flex-end;
}

.history-event-action .run-again-button {
  min-width: 96px;
  white-space: nowrap;
}

.event-summary strong {
  font-size: 30px;
}

.event-summary span,
.status-list span,
.toggle-list label,
.checklist label {
  color: var(--muted);
}

.next-event-card,
.run-status-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.next-event-card {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.42)),
    linear-gradient(145deg, rgba(40, 198, 79, 0.24), transparent 58%),
    #070908;
}

.next-event-card::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 48%;
  background:
    linear-gradient(90deg, transparent, rgba(40, 198, 79, 0.16)),
    repeating-linear-gradient(100deg, rgba(40, 198, 79, 0.08) 0 2px, transparent 2px 14px);
  opacity: 0.72;
  pointer-events: none;
}

.next-event-card > * {
  position: relative;
  z-index: 1;
}

.panel h2 {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 18px 0 34px;
}

.event-meta span {
  color: #d9e4e0;
}

.event-meta .warning {
  color: #ffc04a;
}

.arrow-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(190px, 100%);
}

.status-list {
  margin-top: 28px;
}

.status-list b {
  display: inline-grid;
  width: 26px;
  height: 26px;
  margin-right: 12px;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: #001b08;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(40, 198, 79, 0.42);
}

.status-list span:not(.is-ready) b {
  background: rgba(255, 255, 255, 0.08);
  color: #ff8a90;
  box-shadow: none;
}

.status-list span:not(.is-ready) b::before {
  content: "!";
}

.status-list span.is-ready b::before {
  content: "✓";
}

.status-list span.is-ready {
  color: #dff6e6;
}

.run-status-card:not(.is-ready) .status-mark {
  border-color: rgba(255, 32, 43, 0.42);
  background: rgba(255, 32, 43, 0.16);
  color: var(--red);
  box-shadow: 0 0 42px rgba(255, 32, 43, 0.18);
}

.live-event-heading {
  align-items: start;
  margin-bottom: 34px;
}

.pulse-badge {
  gap: 12px;
  min-width: 112px;
  justify-content: center;
  font-size: 16px;
}

.pulse-badge::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(40, 198, 79, 0.8);
}

.pulse-badge.is-stopped {
  border-color: rgba(255, 32, 43, 0.44);
  background: rgba(255, 32, 43, 0.12);
  color: #ff8a90;
}

.pulse-badge.is-stopped::before {
  background: var(--red);
  box-shadow: 0 0 18px rgba(255, 32, 43, 0.7);
}

.live-prices-card,
.live-summary-card {
  padding: 28px;
  background:
    radial-gradient(circle at 12% 8%, rgba(40, 198, 79, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(40, 198, 79, 0.055), transparent 52%),
    rgba(8, 9, 9, 0.93);
}

.live-card-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}

.live-card-title h2 {
  margin: 0;
  color: var(--text);
  text-decoration: none;
}

.live-card-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 999px;
  background: rgba(40, 198, 79, 0.16);
  color: var(--green);
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(40, 198, 79, 0.18);
}

.live-product-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(120px, 0.7fr)) auto;
  gap: 12px;
  align-items: end;
  margin: -10px 0 20px;
}

.live-product-toolbar .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  min-width: 150px;
}

.live-product-toolbar .secondary-button span {
  color: var(--green);
}

.control-icon {
  font-size: 30px;
}

.live-prices-table th,
.live-prices-table td {
  padding: 18px 12px;
}

.live-prices-table th {
  color: var(--green);
}

.live-prices-table td:first-child {
  width: 64px;
}

.live-prices-table td:nth-child(2) {
  color: var(--text);
}

.live-prices-table td:last-child {
  text-align: right;
}

.live-prices-table strong {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--text);
  font-weight: 600;
}

.current-price {
  color: var(--green);
  font-size: 20px;
  font-weight: 650;
}

.crash-checkbox {
  width: 22px;
  min-height: 22px;
  accent-color: var(--green);
}

.live-prices-table tr.is-crashed {
  background: linear-gradient(90deg, rgba(255, 32, 43, 0.2), rgba(255, 32, 43, 0.035));
  box-shadow: inset 4px 0 0 var(--red);
}

.live-prices-table tr.is-crashed .current-price {
  color: var(--red);
}

.live-control-actions {
  display: grid;
  gap: 12px;
  margin: 28px 0 14px;
}

.live-control-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  width: 100%;
}

.crash-instruction {
  margin: 0 0 8px;
  border-left: 3px solid var(--green);
  color: #dce7e4;
  padding-left: 12px;
  line-height: 1.45;
}

.start-event-button {
  border-color: rgba(40, 198, 79, 0.48);
}

.stop-event-button {
  border-color: rgba(255, 32, 43, 0.46);
  color: #ff8a90;
}

.crash-event-button {
  min-height: 58px;
}

.product-chip {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  flex: 0 0 46px;
  border: 2px solid rgba(40, 198, 79, 0.72);
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(40, 198, 79, 0.18);
}

.product-chip.bud {
  background: radial-gradient(circle at 30% 25%, #ff5960, #c5111c 72%);
}

.product-chip.stella {
  background: radial-gradient(circle at 30% 25%, #fff, #d9f3df 58%, #b4141d 60%);
  color: #b4141d;
}

.product-chip.wings {
  background: radial-gradient(circle at 30% 25%, #8b0c15, #050505 72%);
}

.product-chip.coke {
  background: radial-gradient(circle at 30% 25%, #fff, #f6f6f6 68%);
  color: #d1111b;
}

.live-summary-card {
  min-height: 350px;
}

.manager-notification-settings {
  margin-top: 18px;
}

.manager-email-status {
  margin: 12px 0 0;
}

.single-focus-grid .live-summary-card {
  align-self: start;
}

.market-state-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 126px;
  gap: clamp(18px, 3vw, 38px);
  margin: -16px 0 24px;
  border: 1px solid rgba(40, 198, 79, 0.28);
  border-radius: 16px;
  background:
    radial-gradient(circle at 8% 50%, rgba(40, 198, 79, 0.28), transparent 34%),
    linear-gradient(90deg, rgba(40, 198, 79, 0.14), rgba(0, 0, 0, 0.34)),
    rgba(0, 0, 0, 0.42);
  padding: clamp(22px, 2.6vw, 34px);
  text-align: left;
  box-shadow: 0 0 42px rgba(40, 198, 79, 0.14);
}

.market-state-panel span {
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 26px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.market-state-panel strong {
  color: var(--green);
  font-size: clamp(68px, 8vw, 138px);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 0 32px rgba(40, 198, 79, 0.45);
}

.market-state-panel.is-closed {
  border-color: rgba(255, 32, 43, 0.34);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 32, 43, 0.2), transparent 38%),
    rgba(0, 0, 0, 0.28);
}

.market-state-panel.is-closed strong {
  color: var(--red);
  text-shadow: 0 0 32px rgba(255, 32, 43, 0.45);
}

.live-summary-card .arrow-button {
  width: 100%;
  min-height: 70px;
  border-radius: 10px;
  padding: 0 28px;
  font-size: 17px;
}

.live-feedback-message {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  margin: 0;
  border: 1px solid rgba(40, 198, 79, 0.24);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  padding: 14px 16px;
  color: #dce7e4;
}

.run-status-card {
  min-height: 280px;
}

.status-mark {
  position: absolute;
  right: 46px;
  bottom: 42px;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid rgba(40, 198, 79, 0.48);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(40, 198, 79, 0.5), rgba(40, 198, 79, 0.12)),
    #071209;
  color: var(--text);
  font-size: 42px;
  font-weight: 900;
  box-shadow:
    0 0 0 18px rgba(40, 198, 79, 0.055),
    0 0 0 40px rgba(40, 198, 79, 0.025),
    0 0 42px rgba(40, 198, 79, 0.35);
}

.primary-button,
.secondary-button,
.send-button,
.email-support-button,
.jam-help-button {
  min-height: 40px;
  border-radius: 8px;
  border: 0;
  padding: 0 16px;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.primary-button,
.send-button,
.email-support-button {
  background: linear-gradient(135deg, var(--green-bright), #1fc85d 60%, #148d43);
  color: #001b08;
  box-shadow: 0 14px 34px rgba(40, 198, 79, 0.22);
}

.secondary-button {
  border: 1px solid rgba(40, 198, 79, 0.36);
  background: rgba(40, 198, 79, 0.09);
  color: var(--text);
}

.jam-help-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid rgba(40, 198, 79, 0.36);
  background: rgba(40, 198, 79, 0.1);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.jam-help-button::before {
  content: "J";
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}

.time-grid,
.form-grid,
.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.build-controls-card .time-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.form-grid,
.integration-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-weight: 500;
}

label span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.build-controls-card label span,
.product-card h2,
.crash-section h2 {
  color: var(--green);
  letter-spacing: 0.02em;
}

input,
select {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.76);
  color: var(--text);
  padding: 0 10px;
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  min-height: 18px;
  padding: 0;
  accent-color: var(--green-bright);
}

label:has(> input[type="checkbox"]),
label:has(> input[type="radio"]) {
  display: flex;
  align-items: center;
  gap: 10px;
}

.build-controls-card input,
.build-controls-card select {
  min-height: 44px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.52);
  font-size: 16px;
  font-weight: 900;
}

input:focus,
select:focus {
  outline: 3px solid rgba(40, 198, 79, 0.16);
  border-color: var(--green-bright);
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  align-items: end;
  gap: 18px;
  margin: 24px 0 0;
}

.product-search-row {
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 10px;
  margin: 0 0 12px;
}

.search-row span {
  grid-column: 1 / -1;
}

.search-row button {
  min-height: 44px;
  border: 1px solid rgba(40, 198, 79, 0.4);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.18), rgba(40, 198, 79, 0.04)),
    #050807;
  color: var(--green);
  font-weight: 900;
  font-size: 0;
}

.product-search-row input,
.product-search-row button {
  min-height: 38px;
}

.search-row button::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin: auto;
  border: 2px solid currentColor;
  border-radius: 999px;
  box-shadow: 9px 9px 0 -6px currentColor;
  transform: translate(-2px, -2px);
}

.product-picker {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) 150px minmax(420px, 1.35fr);
  column-gap: 0;
  row-gap: 18px;
  align-items: stretch;
}

.product-card {
  min-height: 650px;
  padding: 20px;
}

.product-picker > .product-card:first-child {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.card-title-row h2 {
  margin: 0;
  font-size: 17px;
  color: var(--text);
  font-weight: 600;
  text-transform: uppercase;
}

.card-title-row h2::after {
  display: none;
}

.count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  border: 1px solid rgba(40, 198, 79, 0.44);
  border-radius: 999px;
  background: rgba(40, 198, 79, 0.12);
  color: var(--green);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
}

.list-table {
  overflow: auto;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.26);
}

#available-products {
  max-height: clamp(280px, 48vh, 520px);
  scrollbar-color: rgba(40, 198, 79, 0.72) rgba(0, 0, 0, 0.24);
  scrollbar-width: thin;
}

#available-products::-webkit-scrollbar {
  width: 10px;
}

#available-products::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.24);
}

#available-products::-webkit-scrollbar-thumb {
  border: 2px solid rgba(0, 0, 0, 0.24);
  border-radius: 999px;
  background: rgba(40, 198, 79, 0.72);
}

.list-table button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 0 12px;
  font-size: 14px;
}

.list-table button:first-child {
  border-top: 0;
}

.list-table button.selected,
.selected-products-card tr.selected {
  background: linear-gradient(90deg, rgba(40, 198, 79, 0.22), rgba(40, 198, 79, 0.04));
  box-shadow: inset 0 0 0 1px rgba(40, 198, 79, 0.55), 0 0 18px rgba(40, 198, 79, 0.18);
}

.list-table button.already-selected {
  color: rgba(255, 255, 255, 0.52);
  background:
    linear-gradient(90deg, rgba(40, 198, 79, 0.1), rgba(40, 198, 79, 0.02)),
    rgba(255, 255, 255, 0.02);
  cursor: not-allowed;
}

.list-table button.already-selected::after {
  content: "Selected";
  margin-left: 12px;
  border: 1px solid rgba(40, 198, 79, 0.44);
  border-radius: 999px;
  color: var(--green);
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 900;
}

.list-table button[hidden] {
  display: none;
}

.selected-products-card tbody tr {
  cursor: pointer;
}

.price-editor {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.price-editor h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 14px;
  text-transform: uppercase;
}

.price-editor-grid {
  display: grid;
  grid-template-columns: minmax(150px, 1.4fr) repeat(4, minmax(80px, 0.7fr));
  gap: 10px;
  margin-bottom: 12px;
}

.price-editor input {
  min-height: 38px;
}

.price-editor input[readonly] {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  cursor: not-allowed;
}

.picker-actions,
.toolbar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.picker-actions {
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  width: 132px;
  justify-self: center;
}

.move-button {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid rgba(40, 198, 79, 0.38);
  border-radius: 12px;
  padding: 0 14px;
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.18), rgba(40, 198, 79, 0.04)),
    #050706;
  color: var(--text);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.move-button strong {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: #001b08;
  font-size: 0;
}

.move-button.add strong::before,
.move-button.remove strong::before {
  font-size: 18px;
  line-height: 1;
}

.move-button.add strong::before {
  content: "\2192";
}

.move-button.remove strong::before {
  content: "\2190";
}

.move-button.remove {
  grid-template-columns: auto 1fr;
  border-color: rgba(255, 32, 43, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 32, 43, 0.12), rgba(255, 32, 43, 0.03)),
    #050505;
}

.move-button.remove strong {
  background: var(--red);
  color: #fff;
}

.move-button:hover {
  transform: translateY(-1px);
}

.selected-products-card table {
  overflow: hidden;
  border-radius: 8px;
}

.selected-products-card td:last-child,
.selected-products-card th:last-child {
  text-align: right;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
}

th {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.crash-section {
  margin-top: 4px;
  padding: 20px;
}

#crash-list tr {
  cursor: pointer;
}

#crash-list tr.selected {
  background: linear-gradient(90deg, rgba(40, 198, 79, 0.16), rgba(40, 198, 79, 0.035));
  box-shadow: inset 4px 0 0 var(--green);
}

.crash-editor {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.crash-editor h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 14px;
  text-transform: uppercase;
}

.crash-editor-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.crash-product-selector {
  display: grid;
  gap: 7px;
}

.crash-product-selector > span {
  color: var(--green);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crash-product-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
  max-height: 190px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.24);
  padding: 10px;
}

.crash-product-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 9px;
  align-items: center;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: 8px 10px;
}

.crash-product-option:has(input:checked) {
  border-color: rgba(40, 198, 79, 0.62);
  background: rgba(40, 198, 79, 0.13);
  box-shadow: inset 3px 0 0 var(--green);
}

.crash-product-option input {
  accent-color: var(--green);
}

.crash-product-option span {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crash-product-option small {
  grid-column: 2;
  color: var(--muted);
  font-size: 11px;
}

.crash-section .toolbar-row {
  margin-top: 14px;
}

.crash-section .secondary-button {
  display: inline-flex;
  align-items: center;
  min-width: 120px;
  min-height: 42px;
  justify-content: space-between;
  gap: 12px;
}

.crash-section .secondary-button span {
  display: inline-grid;
  width: 26px;
  min-width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(40, 198, 79, 0.42);
  border-radius: 999px;
  color: var(--green);
}

.crash-section .button-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.crash-section .create-action {
  border-color: rgba(40, 198, 79, 0.7);
  background: linear-gradient(135deg, var(--green), #0b9d34);
  color: #001b08;
  box-shadow: 0 0 22px rgba(40, 198, 79, 0.32);
}

.crash-section .create-action span {
  border-color: rgba(0, 0, 0, 0.26);
  color: #001b08;
}

.live-badge,
.online-badge {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  border: 1px solid rgba(40, 198, 79, 0.42);
  border-radius: 999px;
  background: rgba(40, 198, 79, 0.12);
  color: var(--green);
  padding: 0 24px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.license-status-badge {
  border-color: rgba(40, 198, 79, 0.58);
  background: rgba(40, 198, 79, 0.1);
  color: var(--green);
  box-shadow: 0 0 28px rgba(40, 198, 79, 0.13);
}

.license-status-badge.is-demo {
  border-color: rgba(255, 192, 74, 0.62);
  background: rgba(255, 192, 74, 0.11);
  color: #ffc04a;
  box-shadow: 0 0 28px rgba(255, 192, 74, 0.12);
}

.tv-preview {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.94), rgba(139, 17, 27, 0.7)),
    radial-gradient(circle at 20% 20%, rgba(40, 198, 79, 0.72), transparent 28%),
    #000;
}

.animated-market-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.animated-market-bg span {
  position: absolute;
  inset: auto -10% -22%;
  height: 68%;
  opacity: 0.46;
  background-image: radial-gradient(circle, currentColor 1.6px, transparent 2.1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.82) 44%, transparent 100%);
  transform: perspective(500px) rotateX(58deg);
  animation: marketWave 7s linear infinite;
}

.animated-market-bg span:nth-child(1) {
  right: 36%;
  color: color-mix(in srgb, var(--theme-accent-color, var(--green)) 92%, transparent);
  transform: perspective(500px) rotateX(58deg) rotateZ(-7deg);
}

.animated-market-bg span:nth-child(2) {
  left: 30%;
  color: color-mix(in srgb, var(--theme-crash-color, var(--red)) 92%, transparent);
  transform: perspective(500px) rotateX(58deg) rotateZ(10deg);
  animation-duration: 5.6s;
  animation-direction: reverse;
}

.animated-market-bg span:nth-child(3) {
  inset: 14% -8% auto;
  height: 36%;
  opacity: 0.13;
  color: var(--theme-text-color, #fff);
  background-size: 24px 24px;
  transform: skewY(-8deg);
  animation-duration: 10s;
}

.tv-preview::before,
.tv-preview::after {
  content: "";
  position: absolute;
  inset: auto -8% -18% -8%;
  height: 58%;
  pointer-events: none;
  opacity: 0.82;
  transform: skewY(-7deg);
  background-image: radial-gradient(circle, currentColor 1.5px, transparent 1.8px);
  background-size: 16px 16px;
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.82) 42%, transparent 100%);
}

.tv-preview::before {
  right: 42%;
  color: color-mix(in srgb, var(--theme-accent-color, var(--green)) 92%, transparent);
  border-radius: 50% 50% 0 0;
  transform: perspective(420px) rotateX(58deg) rotateZ(-8deg) translateY(16%);
}

.tv-preview::after {
  left: 38%;
  color: color-mix(in srgb, var(--theme-crash-color, var(--red)) 96%, transparent);
  border-radius: 50% 50% 0 0;
  transform: perspective(420px) rotateX(58deg) rotateZ(10deg) translateY(11%);
}

.ticker {
  position: relative;
  z-index: 1;
  padding: 10px 14px;
  background: linear-gradient(90deg, var(--theme-accent-color, var(--green)), var(--theme-crash-color, var(--red)));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-block;
  min-width: max-content;
  padding-left: 100%;
  animation: tickerScroll 18s linear infinite;
}

.ticker-track::after {
  content: " THE DRINK EXCHANGE - MARKET OPEN - BUDWEISER UP 3.20 - STELLA DOWN 3.10 - WINGS UP 4.25 - DIET COKE LOWEST 1.75 - NEXT MARKET CRASH INCOMING -";
  padding-left: 48px;
}

.cheapest-callout {
  position: absolute;
  z-index: 3;
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.54);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px);
}

.crash-countdown {
  display: none;
}

.cheapest-callout span {
  color: var(--theme-accent-color, var(--green));
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cheapest-callout {
  right: 24px;
  top: 52px;
  bottom: auto;
  grid-auto-flow: column;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 9px 12px;
  animation: cheapestPop 3.4s ease-in-out infinite;
}

.cheapest-callout strong {
  color: #fff;
  font-size: 15px;
}

.cheapest-callout b {
  color: var(--theme-accent-color, var(--green));
  font-size: 18px;
}

.instruction-scroller {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(90deg, rgba(40, 198, 79, 0.16), rgba(255, 32, 43, 0.14)),
    rgba(0, 0, 0, 0.72);
  color: #fff;
  padding: 10px 0;
  white-space: nowrap;
}

.instruction-track {
  display: inline-block;
  min-width: max-content;
  padding-left: 100%;
  font-size: 13px;
  letter-spacing: 0.04em;
  animation: instructionScroll 42s linear infinite;
}

.instruction-track::after {
  content: "   -   " attr(data-repeat);
}

.board-title {
  position: relative;
  z-index: 1;
  padding: 28px 24px 18px;
  font-size: 38px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--theme-text-color, var(--text));
}

.price-board {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1px;
  width: min(440px, calc(100% - 48px));
  margin: 0 24px 28px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.price-board span,
.price-board strong {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.94);
  color: #080909;
}

@keyframes marketWave {
  0% {
    background-position: 0 0;
    filter: brightness(0.86);
  }
  50% {
    filter: brightness(1.34);
  }
  100% {
    background-position: 72px -36px;
    filter: brightness(0.86);
  }
}

@keyframes marketClosedDrift {
  0% {
    background-position: 0 0, 0 0, 0 0, 50% 100%;
    filter: brightness(0.82) saturate(1.1);
  }
  100% {
    background-position: 44px -18px, 64px 0, -70px 0, 50% 94%;
    filter: brightness(1.08) saturate(1.38);
  }
}

@keyframes marketClosedFloor {
  0% {
    background-position: 0 0, 0 0;
    filter: brightness(0.82);
  }
  50% {
    filter: brightness(1.16);
  }
  100% {
    background-position: 0 0, 88px -44px;
    filter: brightness(0.82);
  }
}

@keyframes marketClosedGlow {
  from {
    opacity: 0.56;
    transform: skewX(8deg) scaleX(0.94);
  }
  to {
    opacity: 1;
    transform: skewX(8deg) scaleX(1.04);
  }
}

@keyframes tickerScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes instructionScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes cheapestPop {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
  }
  45% {
    transform: translateY(-10px) scale(1.04);
    box-shadow: 0 0 30px color-mix(in srgb, var(--theme-accent-color, var(--green)) 42%, transparent);
  }
}

.screens-layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.media-studio-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(300px, 0.75fr);
  gap: 22px;
  align-items: start;
}

.media-preview-panel {
  grid-column: 1 / -1;
}

.media-upload-panel,
.media-library-panel,
.media-preview-panel {
  min-height: 100%;
}

.media-icon {
  color: var(--green-bright);
}

.media-drop-zone {
  position: relative;
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 250px;
  margin-top: 16px;
  border: 1px dashed rgba(40, 198, 79, 0.64);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(40, 198, 79, 0.18), transparent 38%),
    linear-gradient(135deg, rgba(40, 198, 79, 0.1), rgba(255, 32, 43, 0.045)),
    rgba(0, 0, 0, 0.32);
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.media-drop-zone.is-dragging {
  border-color: var(--green-bright);
  background-color: rgba(40, 198, 79, 0.12);
  box-shadow:
    0 0 0 4px rgba(40, 198, 79, 0.12),
    0 24px 70px rgba(0, 0, 0, 0.34);
  transform: translateY(-2px);
}

.media-drop-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.media-drop-zone span,
.media-rule-grid span,
.media-preview-frame span {
  color: var(--green-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.media-drop-zone strong {
  color: #fff;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 900;
  text-transform: uppercase;
}

.media-drop-zone small {
  max-width: 420px;
  color: #c8d3d0;
  line-height: 1.45;
}

.media-rule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.media-asset-list {
  display: grid;
  gap: 12px;
}

.media-asset-list article {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  padding: 12px;
}

.media-asset-list article.is-uploaded {
  border-color: rgba(40, 198, 79, 0.24);
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.035);
}

.media-asset-list strong,
.media-asset-list small {
  display: block;
}

.media-asset-list small {
  margin-top: 5px;
  color: var(--muted);
}

.media-asset-list em {
  grid-column: 2 / 4;
  color: rgba(35, 240, 106, 0.78);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  width: 100%;
  border: 1px solid rgba(40, 198, 79, 0.26);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.58), rgba(255, 32, 43, 0.56)),
    #08100d;
  box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.42);
}

.media-thumb-preview {
  background-position: center;
  background-size: cover;
  object-fit: cover;
}

video.media-thumb-preview {
  min-height: 48px;
}

.video-thumb {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.82) 0 8%, transparent 9%),
    linear-gradient(135deg, rgba(255, 32, 43, 0.68), rgba(40, 198, 79, 0.38)),
    #080909;
}

.sponsor-thumb {
  background:
    linear-gradient(90deg, rgba(40, 198, 79, 0.72), rgba(255, 32, 43, 0.72)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px 8px);
}

.media-tv-preview {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 360px;
  border: 1px solid rgba(40, 198, 79, 0.36);
  border-radius: 14px;
  background:
    radial-gradient(circle at 82% 44%, rgba(255, 32, 43, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(0, 28, 14, 0.92), rgba(0, 0, 0, 0.94) 48%, rgba(54, 0, 6, 0.9)),
    #000;
}

.media-preview-frame {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: center;
  display: grid;
  gap: 10px;
  width: min(560px, 78%);
  min-height: 210px;
  place-items: center;
  border: 1px solid rgba(40, 198, 79, 0.62);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.18), rgba(255, 32, 43, 0.12)),
    rgba(0, 0, 0, 0.62);
  text-align: center;
  box-shadow: 0 0 60px rgba(40, 198, 79, 0.14);
}

.media-preview-frame strong {
  font-size: clamp(28px, 5vw, 68px);
  font-weight: 900;
  text-transform: uppercase;
}

.media-preview-frame small {
  color: #d9e3df;
}

.media-preview-ticker {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  min-height: 38px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(90deg, var(--green), #886c36 50%, var(--red));
  color: #fff;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.venue-link-card {
  display: grid;
  gap: 20px;
  min-height: auto;
  padding: 26px;
}

.compact-title {
  margin-bottom: 12px;
}

.compact-title h2 {
  color: var(--text);
  text-decoration: none;
}

.link-badge {
  gap: 12px;
  min-width: 168px;
  justify-content: center;
}

.link-badge::before {
  content: "↗";
  font-size: 20px;
}

.link-icon,
.view-icon {
  width: 42px;
  height: 42px;
  font-size: 19px;
}

.venue-url {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  min-height: 126px;
  border: 1px solid rgba(40, 198, 79, 0.48);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.16), rgba(40, 198, 79, 0.04)),
    rgba(0, 0, 0, 0.24);
  color: var(--green);
  padding: 20px;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.venue-url span,
.mobile-link-panel,
.screen-instructions {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.08), rgba(255, 32, 43, 0.035)),
    rgba(255, 255, 255, 0.025);
  padding: 16px;
}

.venue-url span {
  width: 78px;
  min-height: 86px;
  place-items: center;
  align-content: center;
  justify-content: center;
  padding: 0;
}

.mobile-link-panel > span,
.screen-instructions > span {
  color: var(--green);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-link-panel p,
.screen-instructions p {
  margin: 0;
  color: #cbd5d2;
  font-size: 14px;
  line-height: 1.45;
}

.mobile-url {
  padding: 20px;
  font-size: 18px;
}

.mobile-preview-device {
  display: grid;
  align-content: start;
  gap: 9px;
  width: min(225px, 100%);
  aspect-ratio: 9 / 16.7;
  justify-self: center;
  border: 6px solid rgba(40, 198, 79, 0.78);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 0%, rgba(40, 198, 79, 0.18), transparent 42%),
    #030605;
  padding: 18px 12px 14px;
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(40, 198, 79, 0.16);
}

.mobile-preview-top {
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.mobile-preview-deal,
.mobile-preview-row,
.mobile-preview-timer {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.mobile-preview-deal {
  display: grid;
  gap: 3px;
  padding: 11px 8px;
  text-align: center;
}

.mobile-preview-deal span {
  color: var(--green);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-preview-deal strong {
  color: #fff;
  font-size: 17px;
}

.mobile-preview-deal b {
  color: var(--green);
  font-size: 30px;
  line-height: 1;
}

.mobile-preview-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 6px;
  align-items: center;
  min-height: 40px;
  padding: 8px;
  color: #fff;
}

.mobile-preview-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-preview-row strong {
  color: #fff;
}

.mobile-preview-row em {
  display: grid;
  min-width: 40px;
  min-height: 22px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-style: normal;
}

.mobile-preview-row.up strong,
.mobile-preview-row.up em {
  color: var(--green);
}

.mobile-preview-row.down strong,
.mobile-preview-row.down em {
  color: var(--red);
}

.mobile-preview-timer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 8px;
  color: #dce7e4;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-preview-timer b {
  color: #fff;
}

.inline-link-mark {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(40, 198, 79, 0.5);
  border-radius: 6px;
  color: var(--green);
  font-size: 0;
}

.venue-url span::before {
  content: "▣";
  font-size: 14px;
}

.inline-link-mark {
  display: inline-flex;
  margin-left: 8px;
  font-size: 14px;
}

.tv-preview-panel {
  padding: 24px;
}

.tv-preview-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: min(62vh, 720px);
  overflow: hidden;
  border: 1px solid rgba(40, 198, 79, 0.34);
  border-radius: 14px;
  background: #000;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42), 0 0 34px rgba(40, 198, 79, 0.14);
}

.tv-preview-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tv-preview-panel .secondary-button {
  display: inline-flex;
  align-items: center;
}

.open-screen-button {
  min-height: 48px;
  border-color: rgba(40, 198, 79, 0.45);
  border-radius: 14px;
  padding: 0 20px;
  color: var(--text);
  text-decoration: none;
}

.open-screen-button span {
  color: var(--green);
}

.tv-preview-panel .tv-preview {
  width: 100%;
  min-width: 0;
  min-height: 545px;
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background:
    radial-gradient(circle at 90% 58%, rgba(255, 32, 43, 0.22), transparent 34%),
    radial-gradient(circle at 18% 82%, rgba(40, 198, 79, 0.2), transparent 34%),
    linear-gradient(120deg, rgba(0, 0, 0, 0.98) 0%, rgba(5, 16, 18, 0.96) 42%, rgba(98, 8, 17, 0.55) 100%),
    #000;
}

@media (max-width: 1180px) {
  .screens-layout {
    grid-template-columns: 1fr;
  }

  .venue-link-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .venue-link-card > .compact-title,
  .venue-link-card > p,
  .venue-link-card > .screen-instructions,
  .venue-link-card > .muted {
    grid-column: 1;
  }

  .venue-link-card > .mobile-link-panel {
    grid-column: 1;
    grid-row: auto;
  }

  .history-row {
    grid-template-columns: minmax(120px, 1fr) 96px 42px 62px 104px;
    gap: 10px;
  }

  .tv-preview-panel .tv-preview {
    min-height: clamp(420px, 54vw, 620px);
  }
}

.tv-preview-panel .ticker {
  padding: 14px 20px;
  font-size: 14px;
}

.tv-preview-panel .ticker::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--green);
}

.tv-preview-panel .board-title {
  padding: 70px 34px 28px;
  font-size: clamp(36px, 3.4vw, 54px);
  letter-spacing: 0;
}

.tv-preview-panel .price-board {
  width: min(500px, calc(100% - 68px));
  margin: 0 34px 48px;
}

.tv-preview-panel .price-board span,
.tv-preview-panel .price-board strong {
  padding: 20px 24px;
  font-size: 18px;
}

.theme-builder-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) minmax(360px, 0.62fr) minmax(520px, 1fr);
  gap: 20px;
  align-items: stretch;
}

.theme-builder-layout > .panel {
  height: 100%;
}

.save-theme-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.restore-theme-button {
  min-width: 150px;
}

.save-theme-button span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
}

.theme-presets-panel,
.theme-controls-panel,
.theme-preview-panel {
  min-height: 660px;
}

.theme-preset-list {
  display: grid;
  gap: 12px;
}

.theme-preset {
  display: grid;
  gap: 6px;
  width: 100%;
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  padding: 14px;
  text-align: left;
}

.theme-preset span {
  font-weight: 900;
}

.theme-preset small {
  line-height: 1.35;
}

.theme-preset.active,
.theme-preset:hover {
  border-color: rgba(40, 198, 79, 0.46);
  background: linear-gradient(90deg, rgba(40, 198, 79, 0.18), rgba(40, 198, 79, 0.04));
  box-shadow: inset 4px 0 0 var(--red);
}

.theme-control-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.theme-control-tabs button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-weight: 900;
}

.theme-control-tabs button.active {
  border-color: rgba(40, 198, 79, 0.48);
  background: rgba(40, 198, 79, 0.12);
  color: var(--green);
}

.theme-control-group {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.logo-upload-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 14px;
  align-items: stretch;
}

.logo-upload-box {
  min-height: 128px;
  border: 1px dashed rgba(40, 198, 79, 0.42);
  border-radius: 12px;
  background: rgba(40, 198, 79, 0.06);
  padding: 16px;
}

.logo-upload-box input {
  min-height: auto;
  border: 0;
  background: transparent;
  padding: 0;
}

.logo-upload-box strong {
  color: var(--text);
}

.logo-preview-tile {
  display: grid;
  gap: 10px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  padding: 14px;
}

.logo-preview-tile span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.logo-preview-tile img {
  width: 100%;
  max-height: 78px;
  object-fit: contain;
}

.swatch-grid,
.background-choice-grid,
.slider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.background-choice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.background-choice {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  padding: 8px 10px;
  font-weight: 900;
  text-align: left;
}

.background-choice span {
  display: block;
  width: 42px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #000;
}

.background-choice.active {
  border-color: rgba(40, 198, 79, 0.55);
  background: rgba(40, 198, 79, 0.12);
  color: var(--green);
}

.background-choice.market span {
  background:
    radial-gradient(circle at 20% 80%, rgba(40, 198, 79, 0.7), transparent 34%),
    radial-gradient(circle at 80% 70%, rgba(255, 32, 43, 0.7), transparent 38%),
    #020606;
}

.background-choice.neon span {
  background:
    linear-gradient(90deg, rgba(40, 198, 79, 0.45) 1px, transparent 1px),
    linear-gradient(rgba(40, 198, 79, 0.28) 1px, transparent 1px),
    #000;
  background-size: 9px 9px;
}

.background-choice.lounge span {
  background:
    radial-gradient(circle at 30% 30%, rgba(154, 76, 255, 0.6), transparent 44%),
    radial-gradient(circle at 80% 70%, rgba(40, 198, 79, 0.45), transparent 42%),
    #050108;
}

.background-choice.clean span {
  background: linear-gradient(135deg, #000, #111);
}

.background-choice.crash span {
  background:
    radial-gradient(circle at 70% 50%, rgba(255, 32, 43, 0.82), transparent 48%),
    #120004;
}

.background-choice.sport span {
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.35), transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 8px),
    #031109;
}

.swatch-grid input[type="color"] {
  height: 44px;
  padding: 4px;
}

.slider-grid {
  grid-template-columns: 1fr;
}

.font-choice-grid {
  margin-bottom: 14px;
}

.slider-grid input[type="range"] {
  accent-color: var(--green);
}

.scroller-message-section .card-title-row {
  margin-bottom: 12px;
}

.scroller-message-list {
  display: grid;
  gap: 10px;
}

.scroller-message-row {
  display: grid;
  grid-template-columns: auto minmax(120px, 0.34fr) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.24);
  padding: 10px;
}

.scroller-message-row:has(input[type="radio"]:checked) {
  border-color: rgba(40, 198, 79, 0.58);
  background: rgba(40, 198, 79, 0.1);
  box-shadow: inset 3px 0 0 var(--green);
}

.scroller-message-row input[type="radio"] {
  width: 18px;
  min-height: 18px;
  accent-color: var(--green);
}

.scroller-message-row span {
  color: var(--text);
  font-size: 13px;
}

.scroller-message-row .scroller-message-input {
  min-height: 40px;
}

.scroller-message-add {
  display: grid;
  grid-template-columns: minmax(130px, 0.4fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.scroller-message-add button {
  min-height: 44px;
}

.full-field {
  margin-top: 18px;
}

.theme-preview-panel {
  padding: 24px;
}

.theme-tv-preview {
  position: relative;
  --theme-heading-font: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  --theme-body-font: Arial, Helvetica, sans-serif;
  --theme-heading-size: 56px;
  --theme-price-size: 42px;
  --theme-row-height: 66px;
  --theme-background-color: #000000;
  --theme-accent-color: #28c64f;
  --theme-crash-color: #ff202b;
  --theme-text-color: #ffffff;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  border-radius: 14px;
  background:
    radial-gradient(circle at 88% 58%, rgba(255, 32, 43, 0.22), transparent 34%),
    radial-gradient(circle at 18% 82%, rgba(40, 198, 79, 0.2), transparent 34%),
    linear-gradient(120deg, color-mix(in srgb, var(--theme-background-color) 96%, #000) 0%, rgba(5, 16, 18, 0.96) 42%, color-mix(in srgb, var(--theme-crash-color) 34%, #000) 100%),
    var(--theme-background-color);
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.42);
}

.theme-tv-preview.background-neon-grid {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--theme-accent-color) 22%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--theme-accent-color) 16%, transparent) 1px, transparent 1px),
    radial-gradient(circle at 70% 45%, color-mix(in srgb, var(--theme-crash-color) 30%, transparent), transparent 36%),
    var(--theme-background-color);
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.theme-tv-preview.background-lounge-glow {
  background:
    radial-gradient(circle at 20% 25%, rgba(154, 76, 255, 0.34), transparent 36%),
    radial-gradient(circle at 78% 72%, color-mix(in srgb, var(--theme-accent-color) 24%, transparent), transparent 38%),
    linear-gradient(135deg, color-mix(in srgb, var(--theme-background-color) 80%, #050108), var(--theme-background-color));
}

.theme-tv-preview.background-clean-black {
  background:
    linear-gradient(180deg, #050505, #000 54%, #050505),
    #000;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.04),
    inset 0 0 120px rgba(0, 0, 0, 0.82);
}

.theme-tv-preview.background-clean-black::before,
.theme-tv-preview.background-clean-black::after,
.theme-tv-preview.background-clean-black .animated-market-bg {
  display: none;
}

.theme-tv-preview.background-clean-black .ticker {
  background: #050505;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.theme-tv-preview.background-crash-red {
  background:
    radial-gradient(circle at 80% 58%, color-mix(in srgb, var(--theme-crash-color) 46%, transparent), transparent 38%),
    linear-gradient(135deg, var(--theme-background-color), color-mix(in srgb, var(--theme-crash-color) 40%, #000) 68%, #000);
}

.theme-tv-preview.background-crash-red::before {
  opacity: 0.28;
}

.theme-tv-preview.background-sports-board {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 11px),
    radial-gradient(circle at 20% 78%, color-mix(in srgb, var(--theme-accent-color) 30%, transparent), transparent 38%),
    linear-gradient(135deg, color-mix(in srgb, var(--theme-background-color) 86%, var(--theme-accent-color)), var(--theme-background-color));
}

.theme-tv-preview .ticker {
  padding: 10px 18px;
  font-size: 12px;
}

.theme-tv-preview .board-title {
  padding: 26px 32px 14px;
  font-family: var(--theme-heading-font);
  font-size: clamp(24px, calc(var(--theme-heading-size) * 0.46), 48px);
  font-weight: 300;
  letter-spacing: 0.12em;
}

.theme-screen-logo {
  position: absolute;
  left: 50%;
  right: auto;
  top: 58px;
  width: min(165px, 22%);
  max-height: 80px;
  object-fit: contain;
  transform: translateX(-50%);
}

.theme-tv-preview .price-board {
  --theme-product-columns: 2;
  grid-template-columns: repeat(var(--theme-product-columns), minmax(0, 1fr) auto);
  width: calc(100% - 64px);
  margin: 0 32px 58px;
}

.theme-tv-preview .price-board span,
.theme-tv-preview .price-board strong {
  padding: 6px 12px;
  font-family: var(--theme-body-font);
  min-height: calc(var(--theme-row-height) * 0.34);
  font-size: clamp(11px, calc(var(--theme-price-size) * 0.34), 24px);
  background: rgba(5, 12, 14, 0.72);
  color: #fff;
}

.theme-tv-preview .price-board .category-header {
  grid-column: 1 / -1;
  padding: 5px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(40, 198, 79, 0.32);
  background:
    linear-gradient(90deg, rgba(40, 198, 79, 0.28), rgba(40, 198, 79, 0.06)),
    rgba(0, 0, 0, 0.62);
  color: var(--theme-accent-color, var(--green));
  font-size: 0.72em;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.theme-tv-preview.theme-preset-nightclub .ticker {
  background: linear-gradient(90deg, #06120a, #111043 44%, #ff1f6d);
  box-shadow: 0 0 32px rgba(34, 245, 95, 0.18);
}

.theme-tv-preview.theme-preset-nightclub .board-title {
  color: #fff;
  letter-spacing: 0.18em;
  text-shadow:
    0 0 18px rgba(34, 245, 95, 0.48),
    0 0 42px rgba(255, 31, 109, 0.3);
}

.theme-tv-preview.theme-preset-nightclub .price-board {
  border-color: rgba(34, 245, 95, 0.42);
  background: rgba(0, 0, 0, 0.54);
  box-shadow:
    0 0 52px rgba(34, 245, 95, 0.14),
    inset 0 0 36px rgba(255, 31, 109, 0.08);
}

.theme-tv-preview.theme-preset-nightclub .price-board span,
.theme-tv-preview.theme-preset-nightclub .price-board strong {
  padding-block: 9px;
  font-size: clamp(13px, 1.08vw, 20px);
  background: rgba(2, 5, 12, 0.82);
}

.theme-tv-preview.theme-preset-sports .ticker {
  background: #062713;
  border-bottom: 2px solid var(--theme-accent-color, var(--green));
}

.theme-tv-preview.theme-preset-sports .board-title {
  padding-top: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.theme-tv-preview.theme-preset-sports .price-board {
  border: 2px solid rgba(255, 255, 255, 0.24);
  background: rgba(0, 0, 0, 0.62);
}

.theme-tv-preview.theme-preset-sports .price-board span,
.theme-tv-preview.theme-preset-sports .price-board strong {
  padding-block: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.14);
  background: rgba(4, 24, 12, 0.82);
  font-size: clamp(13px, 1vw, 19px);
  text-transform: uppercase;
}

.theme-tv-preview.theme-preset-sports .price-board .category-header {
  background: var(--theme-accent-color, var(--green));
  color: #041008;
}

.theme-tv-preview.theme-preset-cocktail .ticker {
  background: linear-gradient(90deg, #140716, #2b1b14, #42300f);
  color: #fff3df;
}

.theme-tv-preview.theme-preset-cocktail::before {
  opacity: 0.24;
  animation-duration: 22s;
}

.theme-tv-preview.theme-preset-cocktail .board-title {
  color: #fff3df;
  letter-spacing: 0.08em;
  text-transform: none;
}

.theme-tv-preview.theme-preset-cocktail .price-board {
  border-color: rgba(217, 180, 106, 0.4);
  background: rgba(18, 8, 16, 0.54);
}

.theme-tv-preview.theme-preset-cocktail .price-board span,
.theme-tv-preview.theme-preset-cocktail .price-board strong {
  background: rgba(16, 8, 14, 0.74);
  color: #fff3df;
}

.theme-tv-preview.theme-preset-cocktail .price-board .category-header {
  border-bottom-color: rgba(217, 180, 106, 0.34);
  background: linear-gradient(90deg, rgba(217, 180, 106, 0.24), rgba(217, 180, 106, 0.06));
  color: #d9b46a;
}

.theme-tv-preview.theme-preset-contrast {
  box-shadow:
    inset 0 0 0 3px #fff,
    inset 0 0 120px rgba(0, 0, 0, 0.82);
}

.theme-tv-preview.theme-preset-contrast .ticker,
.theme-tv-preview.theme-preset-contrast .instruction-scroller {
  background: #fff;
  color: #000;
}

.theme-tv-preview.theme-preset-contrast .board-title {
  padding-top: 22px;
  color: #fff;
  letter-spacing: 0.06em;
}

.theme-tv-preview.theme-preset-contrast .price-board {
  border: 2px solid #fff;
  background: #000;
}

.theme-tv-preview.theme-preset-contrast .price-board span,
.theme-tv-preview.theme-preset-contrast .price-board strong {
  padding-block: 11px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.32);
  background: #050505;
  color: #fff;
  font-size: clamp(15px, 1.2vw, 23px);
}

.theme-tv-preview.theme-preset-contrast .price-board .category-header {
  background: #fff;
  color: #000;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.category-list span {
  border: 1px solid rgba(40, 198, 79, 0.34);
  border-radius: 999px;
  background: rgba(40, 198, 79, 0.08);
  color: var(--green);
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.pricing-rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.rules-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  padding: 16px;
}

.rules-card h3 {
  margin: 0;
  color: var(--green);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rules-card .secondary-button {
  min-height: 34px;
}

.rule-input {
  width: min(220px, 100%);
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.32);
  color: var(--text);
  padding: 0 10px;
}

.rules-card td:has(.rule-input) {
  padding-block: 7px;
}

.text-action {
  border: 0;
  background: transparent;
  color: #ff8a90;
  padding: 0;
}

.theme-state-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.theme-state-buttons .active {
  border-color: rgba(40, 198, 79, 0.62);
  background: rgba(40, 198, 79, 0.18);
  color: var(--green);
}

.tv-display-body {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(40, 198, 79, 0.18), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(255, 32, 43, 0.16), transparent 30%),
    #000;
}

.public-theme-body {
  display: grid;
  place-items: stretch;
}

.public-theme-shell {
  display: grid;
  width: 100vw;
  height: 100vh;
  padding: 0;
}

.public-fullscreen-preview {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
}

.public-fullscreen-preview .ticker {
  padding: 1.1vh 2.4vw;
  font-size: clamp(18px, 1.25vw, 28px);
}

.public-fullscreen-preview .ticker-track {
  animation-duration: 24s;
}

.public-fullscreen-preview .theme-screen-logo {
  left: auto;
  right: 3vw;
  top: 11vh;
  width: min(280px, 18vw);
  max-height: 130px;
  transform: none;
}

.public-fullscreen-preview .board-title {
  padding: 5.6vh 3vw 1.6vh;
  font-size: clamp(52px, 4.8vw, 112px);
  font-weight: 300;
  letter-spacing: 0.13em;
}

.public-fullscreen-preview .price-board {
  --theme-product-columns: 2;
  width: min(76vw, 1320px);
  margin: 0 3vw 8vh;
}

.public-fullscreen-preview .price-board span,
.public-fullscreen-preview .price-board strong {
  padding: 0.72vh 1.15vw;
  font-size: clamp(18px, 1.18vw, 32px);
}

.public-fullscreen-preview .crash-countdown {
  left: 3vw;
  bottom: 7vh;
  min-width: 190px;
  padding: 1.4vh 1.4vw;
}

.public-fullscreen-preview .crash-countdown span,
.public-fullscreen-preview .cheapest-callout span {
  font-size: clamp(13px, 0.78vw, 18px);
}

.public-fullscreen-preview .crash-countdown strong {
  font-size: clamp(48px, 4.2vw, 86px);
}

.public-fullscreen-preview .cheapest-callout {
  right: 3vw;
  top: 7.6vh;
  bottom: auto;
  min-width: 0;
  padding: 0.9vh 1.1vw;
}

.public-fullscreen-preview .cheapest-callout strong {
  font-size: clamp(20px, 1.4vw, 38px);
}

.public-fullscreen-preview .cheapest-callout b {
  font-size: clamp(24px, 1.8vw, 48px);
}

.public-fullscreen-preview .instruction-scroller {
  padding: 1.15vh 0;
}

.public-fullscreen-preview .instruction-track {
  font-size: clamp(18px, 1.35vw, 32px);
  animation-duration: 56s;
}

.tv-preview-embed .public-fullscreen-preview {
  min-height: 100vh;
  aspect-ratio: auto;
  border-radius: 0;
}

.tv-preview-embed .public-fullscreen-preview .ticker {
  padding: 0.8vh 0;
}

.tv-preview-embed .public-fullscreen-preview .ticker-track {
  font-size: clamp(9px, 1.3vw, 16px);
}

.tv-preview-embed .public-fullscreen-preview .board-title {
  padding: 5vh 3vw 1vh;
  font-size: clamp(24px, 5.6vw, 54px);
}

.tv-preview-embed .public-fullscreen-preview .price-board {
  width: calc(100% - 6vw);
  margin: 0 3vw 7vh;
}

.tv-preview-embed .public-fullscreen-preview .price-board span,
.tv-preview-embed .public-fullscreen-preview .price-board strong {
  padding: 0.54vh 1vw;
  font-size: clamp(10px, 1.9vw, 20px);
}

.tv-preview-embed .public-fullscreen-preview .price-board .category-header {
  padding-block: 0.36vh;
  font-size: clamp(7px, 1.2vw, 12px);
}

.tv-preview-embed .public-fullscreen-preview .cheapest-callout {
  right: 2vw;
  top: 6vh;
  padding: 0.7vh 0.9vw;
}

.tv-preview-embed .public-fullscreen-preview .cheapest-callout strong {
  font-size: clamp(11px, 1.8vw, 18px);
}

.tv-preview-embed .public-fullscreen-preview .cheapest-callout b {
  font-size: clamp(14px, 2.3vw, 24px);
}

.tv-preview-embed .public-fullscreen-preview .crash-countdown {
  left: 3vw;
  bottom: 6vh;
  min-width: 92px;
  padding: 0.8vh 1vw;
}

.tv-preview-embed .public-fullscreen-preview .crash-countdown span,
.tv-preview-embed .public-fullscreen-preview .cheapest-callout span {
  font-size: clamp(7px, 1vw, 11px);
}

.tv-preview-embed .public-fullscreen-preview .crash-countdown strong {
  font-size: clamp(22px, 4.4vw, 46px);
}

.tv-preview-embed .public-fullscreen-preview .crash-takeover strong {
  font-size: clamp(82px, 18vw, 160px);
}

.tv-preview-embed .public-fullscreen-preview .crash-takeover b {
  font-size: clamp(16px, 3vw, 34px);
}

.tv-preview-embed .public-fullscreen-preview .market-signal-panel,
.tv-preview-embed .public-fullscreen-preview .market-signal-panel.rising,
.tv-preview-embed .public-fullscreen-preview .market-signal-panel.falling {
  display: none;
}

.tv-preview-embed .public-fullscreen-preview .instruction-scroller {
  padding: 0.7vh 0;
}

.tv-preview-embed .public-fullscreen-preview .instruction-track {
  font-size: clamp(9px, 1.35vw, 15px);
}

.tv-preview-embed .public-fullscreen-preview .crash-takeover {
  animation: crashTakeoverPulse 1.25s steps(2, end) infinite;
}

.tv-preview-embed .public-fullscreen-preview {
  animation: crashShake 1.25s steps(2, end) infinite;
}

.tv-preview-embed .public-fullscreen-preview .ticker {
  animation: tickerCrashFlash 0.7s steps(2, end) infinite;
}

.public-tv-board {
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr;
  gap: 3vh;
  padding: 3.2vw;
  color: #fff;
}

.public-tv-header {
  display: grid;
  grid-template-columns: minmax(220px, 24vw) 1fr auto;
  align-items: center;
  gap: 3vw;
}

.public-tv-header img {
  width: 100%;
}

.public-tv-header p,
.market-column span {
  margin: 0 0 8px;
  color: var(--green);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.public-tv-header h1 {
  margin: 0;
  font-size: clamp(46px, 5vw, 86px);
  line-height: 0.95;
  text-transform: uppercase;
}

.public-tv-header > span {
  border: 1px solid rgba(40, 198, 79, 0.46);
  border-radius: 999px;
  background: rgba(40, 198, 79, 0.12);
  color: var(--green);
  padding: 14px 22px;
  font-weight: 900;
}

.public-price-stage {
  display: grid;
  grid-template-columns: minmax(180px, 0.26fr) minmax(0, 1fr) minmax(180px, 0.26fr);
  gap: 2vw;
  align-items: stretch;
}

.main-market-board,
.market-column {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.09), rgba(255, 32, 43, 0.08)),
    rgba(0, 0, 0, 0.72);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.46);
}

.main-market-board .ticker {
  font-size: clamp(16px, 1.2vw, 24px);
}

.main-market-board .board-title {
  font-size: clamp(56px, 6.4vw, 124px);
}

.public-price-board {
  width: calc(100% - 5vw);
  margin: 0 2.5vw 2.8vw;
  font-size: clamp(22px, 2.1vw, 42px);
}

.public-price-board span,
.public-price-board strong {
  padding: 2.1vh 2vw;
}

.market-column {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 2vw;
}

.market-column strong {
  font-size: clamp(28px, 3vw, 58px);
}

.market-column b {
  font-size: clamp(36px, 4vw, 72px);
}

.falling b {
  color: var(--red);
}

.rising b {
  color: var(--green);
}

.integration-summary,
.activity-box {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.activity-box {
  margin-top: 14px;
}

.pos-connect-panel {
  display: grid;
  gap: 20px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 198, 79, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(4, 24, 22, 0.94), rgba(3, 11, 10, 0.94)),
    rgba(255, 255, 255, 0.03);
  padding: 22px;
}

.pos-connect-title {
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: 18px;
}

.pos-connect-title span,
.pos-product-import > span,
.pos-setup-wizard > span {
  color: #bdd2d3;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pos-connect-title h2 {
  margin: 6px 0 0;
  color: #fff;
  font-size: 20px;
}

.pos-help-button {
  justify-self: end;
  min-height: 36px;
  padding-inline: 14px;
}

.pos-provider-grid,
.pos-credential-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pos-lock-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border: 1px solid rgba(217, 233, 255, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  padding: 14px;
}

.pos-lock-panel strong {
  color: #fff;
}

.pos-lock-panel p {
  margin: 4px 0 0;
}

.pos-unlock-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--text);
}

.pos-unlock-toggle input {
  width: 18px;
  min-height: 18px;
}

.pos-connect-panel.is-locked .pos-credential-grid {
  opacity: 0.76;
}

.pos-connect-panel.is-locked #save-pos-config,
.pos-connect-panel.is-locked #test-pos-connection,
.pos-connect-panel.is-locked #disconnect-pos {
  opacity: 0.58;
}

.pos-setup-wizard {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(255, 255, 255, 0.035);
  padding: 18px;
}

.pos-setup-wizard strong {
  color: #fff;
  font-size: 18px;
}

.pos-setup-wizard p {
  margin: 0;
  color: #d3dfdf;
  line-height: 1.45;
}

.pos-setup-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pos-setup-steps li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: #fff;
  font-weight: 600;
}

.pos-setup-steps b {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6d2d, #2fb7a4);
  color: #fff;
  font-size: 12px;
}

.pos-support-note {
  justify-self: start;
  border: 1px solid rgba(255, 184, 77, 0.46);
  border-radius: 999px;
  background: rgba(255, 184, 77, 0.12);
  color: #ffe0a8;
  padding: 8px 12px;
  font-size: 12px;
}

.pos-action-row {
  justify-content: start;
}

.pos-product-import {
  display: grid;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
}

.social-integration-panel {
  grid-column: 1 / -1;
}

.social-automation-status-panel {
  display: grid;
  grid-column: 1 / -1;
  gap: 18px;
  padding: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(40, 198, 79, 0.16), transparent 28%),
    radial-gradient(circle at 90% 92%, rgba(255, 32, 43, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(40, 198, 79, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(3, 7, 7, 0.96);
}

.social-story-queue-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 32, 43, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(40, 198, 79, 0.055), transparent 46%),
    rgba(8, 9, 9, 0.93);
}

.story-queue-list {
  display: grid;
  gap: 10px;
}

.story-queue-list span {
  display: grid;
  grid-template-columns: minmax(95px, 0.34fr) minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  min-height: 68px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.24);
  padding: 12px;
}

.story-queue-list small {
  grid-row: 1 / span 2;
  color: var(--green);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-queue-list strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 500;
}

.story-queue-list em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.social-story-queue-panel .secondary-button {
  min-height: 46px;
}

.automation-heading {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.automation-icon {
  position: relative;
  display: inline-grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(40, 198, 79, 0.32);
  border-radius: 999px;
  color: transparent;
  background:
    radial-gradient(circle, rgba(40, 198, 79, 0.18), rgba(40, 198, 79, 0.04) 62%, transparent),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 28px rgba(40, 198, 79, 0.16);
}

.automation-icon::before {
  content: "";
  width: 22px;
  height: 16px;
  border: 2px solid var(--green);
  border-radius: 6px;
  box-shadow: 0 0 18px rgba(40, 198, 79, 0.42);
}

.automation-icon::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--green);
  box-shadow:
    -6px 14px 0 var(--green),
    6px 14px 0 var(--green),
    0 -10px 0 var(--green);
}

.automation-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(22px, 1.7vw, 30px);
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.automation-heading h2::after {
  content: "";
  display: block;
  width: 76px;
  height: 3px;
  margin-top: 12px;
  background: var(--green);
  box-shadow: 0 0 20px rgba(40, 198, 79, 0.4);
}

.automation-heading p {
  max-width: 980px;
  margin: 18px 0 0;
  color: rgba(236, 244, 241, 0.78);
  font-size: clamp(16px, 1.1vw, 20px);
  line-height: 1.35;
}

.automation-list {
  display: grid;
}

.automation-list label {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 70px;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.automation-list label:last-child {
  border-bottom: 0;
}

.automation-list input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.instagram-mark {
  position: relative;
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(40, 198, 79, 0.18);
  border-radius: 10px;
  color: transparent;
  background:
    linear-gradient(145deg, rgba(40, 198, 79, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.035);
}

.instagram-mark::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid var(--green);
  border-radius: 7px;
}

.instagram-mark::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border: 2px solid var(--green);
  border-radius: 999px;
  box-shadow: 8px -8px 0 -3px var(--green);
}

.automation-list strong {
  color: var(--text);
  font-size: clamp(16px, 1.1vw, 20px);
  font-weight: 500;
  line-height: 1.2;
}

.automation-list em {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green);
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
}

.automation-list em::before {
  content: "";
  display: inline-block;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 36%),
    linear-gradient(135deg, #19c84d, #2fe36c);
  box-shadow: 0 0 28px rgba(40, 198, 79, 0.32);
}

.automation-list em::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 8px;
  margin-left: 11px;
  margin-top: -3px;
  border-bottom: 3px solid #fff;
  border-left: 3px solid #fff;
  transform: rotate(-45deg);
}

.social-connect-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.34fr);
  gap: 16px;
  align-items: start;
}

.social-account-card {
  min-height: 100%;
  border-color: rgba(40, 198, 79, 0.34);
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.14), rgba(255, 32, 43, 0.04)),
    rgba(255, 255, 255, 0.035);
}

.social-account-card strong {
  color: var(--text);
}

.social-account-card span {
  color: var(--green);
  font-weight: 900;
}

.story-preview-card {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.story-preview-label {
  justify-self: stretch;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.instagram-story-preview {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: start;
  gap: 8px;
  width: min(100%, 255px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(40, 198, 79, 0.34);
  border-radius: 22px;
  background:
    radial-gradient(circle at 28% 72%, rgba(40, 198, 79, 0.34), transparent 28%),
    radial-gradient(circle at 86% 34%, rgba(255, 32, 43, 0.34), transparent 32%),
    linear-gradient(145deg, #020807, #000 46%, #23070a);
  padding: 14px;
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.38),
    inset 0 0 70px rgba(0, 0, 0, 0.62);
}

.instagram-story-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(40, 198, 79, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(40, 198, 79, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.34;
  transform: perspective(280px) rotateX(58deg) translateY(18%);
  transform-origin: bottom;
}

.story-ticker {
  margin: -14px -14px 4px;
  padding: 8px 12px;
  background: linear-gradient(90deg, var(--green), #177b31 48%, var(--red));
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.story-logo-line {
  display: grid;
  min-height: 74px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.12), rgba(255, 32, 43, 0.1)),
    rgba(255, 255, 255, 0.05);
}

.story-logo-line img {
  width: 92%;
  max-width: 92%;
  max-height: 58px;
  object-fit: contain;
}

.story-event-name {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.story-main-message {
  margin-top: 4px;
  color: #fff;
  font-size: clamp(30px, 3.3vw, 48px);
  font-weight: 500;
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(40, 198, 79, 0.35);
}

.story-feature-price {
  display: grid;
  gap: 2px;
  margin-top: 4px;
  border: 1px solid rgba(40, 198, 79, 0.34);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.44);
  padding: 12px;
  text-align: center;
}

.story-feature-price span,
.story-footer span {
  color: var(--green);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-feature-price strong {
  color: #fff;
  font-size: 20px;
}

.story-feature-price b {
  color: var(--green);
  font-size: 44px;
  line-height: 1;
}

.story-mini-board {
  display: none;
  grid-template-columns: 1fr auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.story-mini-board span,
.story-mini-board strong {
  padding: 7px 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 12px;
}

.story-mini-board strong {
  color: var(--green);
  text-align: right;
}

.story-footer {
  display: grid;
  gap: 5px;
  margin-top: 0;
  text-align: center;
}

.story-footer b {
  color: #fff;
  font-size: 10px;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.instagram-story-preview.story-state-crash {
  border-color: rgba(255, 32, 43, 0.58);
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 32, 43, 0.64), transparent 35%),
    linear-gradient(145deg, #1c0004, #000 52%, #06230d);
}

.instagram-story-preview.story-state-crash .story-ticker,
.instagram-story-preview.story-state-crash .story-feature-price {
  background: linear-gradient(135deg, rgba(255, 32, 43, 0.42), rgba(0, 0, 0, 0.48));
  border-color: rgba(255, 32, 43, 0.55);
}

.instagram-story-preview.story-state-crash .story-main-message,
.instagram-story-preview.story-state-crash .story-feature-price b {
  color: var(--red);
  text-shadow: 0 0 22px rgba(255, 32, 43, 0.68);
}

.instagram-story-preview.story-state-close {
  border-color: rgba(217, 180, 106, 0.42);
  background:
    radial-gradient(circle at 30% 28%, rgba(217, 180, 106, 0.28), transparent 34%),
    radial-gradient(circle at 82% 74%, rgba(40, 198, 79, 0.2), transparent 34%),
    linear-gradient(145deg, #0b0602, #000 58%, #120609);
}

.instagram-story-preview.story-state-close .story-ticker {
  background: linear-gradient(90deg, #d9b46a, #202013 48%, var(--green));
}

.instagram-story-preview.story-state-close .story-feature-price b,
.instagram-story-preview.story-state-close .story-feature-price span,
.instagram-story-preview.story-state-close .story-footer span {
  color: #d9b46a;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 120px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--muted);
  text-align: center;
}

.license-options label {
  grid-template-columns: auto 1fr;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.license-options input {
  width: 18px;
  min-height: 18px;
}

.license-options span {
  grid-column: 2;
}

.license-result {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.licensing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(360px, 0.38fr);
  gap: 14px;
  align-items: start;
}

.license-dashboard {
  display: grid;
  gap: 14px;
}

.license-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
  border: 1px solid rgba(40, 198, 79, 0.24);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.32);
  padding: 14px 16px;
}

.license-notice span {
  border-radius: 999px;
  background: rgba(40, 198, 79, 0.16);
  color: #94f5a8;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.license-notice p {
  margin: 0;
  color: var(--muted);
}

.license-hero-card,
.license-info-card {
  border: 1px solid rgba(104, 209, 178, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 198, 79, 0.12), transparent 28%),
    linear-gradient(145deg, rgba(40, 198, 79, 0.08), transparent 52%),
    rgba(5, 10, 10, 0.91);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.license-hero-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 118px;
  padding: 24px;
}

.license-hero-card span,
.license-info-card span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.license-hero-card strong {
  display: block;
  margin: 8px 0;
  color: var(--text);
  font-size: 26px;
}

.license-hero-card p {
  max-width: 560px;
  margin: 0;
  color: #c8d3d0;
}

.license-hero-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  flex-wrap: wrap;
  gap: 10px;
}

.license-hero-actions b {
  width: 100%;
  color: var(--text);
  font-size: 26px;
  font-weight: 500;
  text-align: right;
}

.license-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.license-info-card {
  min-height: 86px;
  padding: 18px;
}

.license-info-card strong {
  display: block;
  margin: 8px 0;
  color: var(--text);
}

.license-purchase-panel,
.license-side-panel,
.license-included-panel,
.license-activity-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 198, 79, 0.08), transparent 26%),
    linear-gradient(145deg, rgba(40, 198, 79, 0.06), transparent 48%),
    rgba(5, 10, 10, 0.91);
}

.license-plan-card {
  min-height: 74px;
}

.license-plan-card:has(input:checked) {
  border-color: rgba(40, 198, 79, 0.52);
  background: rgba(40, 198, 79, 0.1);
  box-shadow: inset 4px 0 0 var(--green);
}

.license-plan-card strong {
  color: var(--text);
}

.license-plan-card small {
  grid-column: 2;
}

.license-box {
  margin: 16px 0 0;
  min-height: 118px;
}

.license-box strong {
  color: var(--text);
}

.license-side-panel {
  min-height: 260px;
}

.license-status-card,
.license-note {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  padding: 14px;
}

.license-status-card span {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.license-status-card strong,
.license-note strong {
  color: var(--text);
}

.license-process {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.license-process span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.license-process b {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: rgba(40, 198, 79, 0.14);
  color: var(--green);
  font-size: 12px;
}

.license-billing-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.license-billing-actions button {
  min-height: 44px;
}

.license-included-list {
  display: grid;
}

.license-included-list span {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 18px;
  align-items: center;
  min-height: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.license-included-list strong {
  color: var(--text);
}

.license-included-list small {
  grid-column: 1;
}

.license-included-list b {
  grid-row: 1 / span 2;
  grid-column: 2;
  border-radius: 999px;
  background: rgba(40, 198, 79, 0.14);
  color: #8bf2a0;
  padding: 8px 12px;
  font-size: 12px;
}

.license-activity-panel table {
  margin-top: 10px;
}

#licensing {
  margin: 0;
  min-height: auto;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: var(--text);
}

#licensing h1,
#licensing .screen-intro {
  color: var(--text);
  text-shadow: 0 12px 36px rgba(255, 255, 255, 0.08);
}

#licensing .screen-intro {
  font-size: 16px;
}

#licensing .live-badge {
  border-color: rgba(40, 198, 79, 0.45);
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.16), rgba(255, 32, 43, 0.06)),
    rgba(0, 0, 0, 0.58);
  color: var(--green);
  box-shadow: 0 16px 38px rgba(40, 198, 79, 0.12);
}

#licensing .license-dashboard {
  gap: 12px;
}

#licensing .license-hero-card,
#licensing .license-info-card,
#licensing .license-purchase-panel,
#licensing .license-side-panel,
#licensing .license-included-panel,
#licensing .license-activity-panel {
  border-color: rgba(40, 198, 79, 0.22);
  background:
    radial-gradient(circle at 0 0, rgba(40, 198, 79, 0.13), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(255, 32, 43, 0.09), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(6, 10, 9, 0.94);
  color: var(--text);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

#licensing .license-hero-card {
  min-height: 104px;
  padding: 20px 22px;
}

#licensing .license-hero-card strong,
#licensing .license-info-card strong,
#licensing .license-status-card strong,
#licensing .license-plan-card strong,
#licensing .license-box strong,
#licensing h2,
#licensing th {
  color: #fff;
}

#licensing .license-hero-card p,
#licensing .license-info-card small,
#licensing .license-status-card small,
#licensing .license-box small,
#licensing .license-box span,
#licensing td,
#licensing .license-included-list small {
  color: var(--muted);
}

#licensing .license-hero-card span,
#licensing .license-info-card span,
#licensing .license-status-card span {
  color: var(--green);
}

#licensing .license-hero-actions b {
  color: #fff;
  font-size: 26px;
}

#licensing .license-mini-grid {
  grid-template-columns: 1fr 1fr;
}

#licensing .licensing-layout {
  grid-template-columns: minmax(0, 0.6fr) minmax(360px, 0.4fr);
}

#licensing .panel,
#licensing .help-panel {
  border-radius: 16px;
}

#licensing .license-purchase-panel,
#licensing .license-side-panel {
  min-height: 248px;
}

#licensing .license-options label,
#licensing .license-status-card,
#licensing .license-box {
  border-color: var(--line);
  background: rgba(0, 0, 0, 0.28);
}

#licensing .license-plan-card:has(input:checked) {
  border-color: rgba(40, 198, 79, 0.7);
  background: rgba(40, 198, 79, 0.12);
}

#licensing .license-included-list span {
  border-top-color: var(--line);
}

#licensing .license-included-list b,
#licensing .count-pill {
  background: rgba(40, 198, 79, 0.16);
  color: #94f5a8;
}

#licensing .license-billing-actions {
  grid-template-columns: 1.2fr 1fr;
}

#licensing .license-activity-panel table {
  width: 100%;
}

#licensing .license-activity-panel tr {
  border-color: rgba(255, 255, 255, 0.12);
}

.checklist-panel {
  padding: 24px;
}

.checklist-command-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}

.checklist-command-panel h2 {
  margin: 8px 0;
  color: var(--text);
  font-size: 28px;
}

.section-kicker {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.checklist-score-card {
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(40, 198, 79, 0.35);
  border-radius: 10px;
  padding: 18px;
  background: rgba(40, 198, 79, 0.08);
}

.checklist-score-card span,
.checklist-score-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.checklist-score-card strong {
  color: var(--green);
  font-size: 36px;
  line-height: 1;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.checklist-panel .live-card-title {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 4px;
}

.readiness-list {
  gap: 0;
}

.readiness-list label {
  display: grid;
  grid-template-columns: 38px 1fr 36px 112px;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.readiness-list label:last-child {
  border-bottom: 0;
}

.readiness-list strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}

.readiness-dot {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--green);
  font-weight: 900;
}

.readiness-dot.complete {
  border-color: rgba(40, 198, 79, 0.72);
  box-shadow: 0 0 18px rgba(40, 198, 79, 0.2);
}

.readiness-list input {
  width: 28px;
  min-height: 28px;
  justify-self: center;
  accent-color: var(--green);
}

.readiness-list em {
  color: var(--muted);
  font-style: normal;
  font-weight: 850;
}

.readiness-list label:has(input:checked) em {
  color: var(--green);
}

.masked-secret-field {
  -webkit-text-security: disc;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 16px;
  align-items: start;
}

.jam-panel,
.stuck-card {
  padding: 18px;
}

.jam-header {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.jam-header.compact {
  grid-template-columns: 38px 1fr 34px;
}

.jam-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  font-weight: 900;
}

.jam-header p {
  margin: 0 0 4px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.jam-header strong,
.stuck-card h3 {
  color: var(--text);
}

.chat-window {
  min-height: 286px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
  display: grid;
  gap: 12px;
  align-content: start;
  max-height: 386px;
  overflow-y: auto;
}

.chat-message {
  max-width: 470px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: rgba(40, 198, 79, 0.07);
}

.chat-message.user {
  justify-self: end;
  border-color: rgba(255, 32, 43, 0.42);
  background: rgba(255, 32, 43, 0.08);
}

.chat-message.user span {
  color: var(--red);
}

.chat-message span {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.chat-message p {
  margin: 0;
  line-height: 1.45;
}

.chat-message p + p {
  margin-top: 8px;
}

.support-message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.support-message-actions button {
  min-height: 30px;
  border: 1px solid rgba(40, 198, 79, 0.45);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(40, 198, 79, 0.1);
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
}

.prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 12px;
}

.prompt-chips button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(40, 198, 79, 0.08);
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
}

.chat-input-row {
  display: grid;
  grid-template-columns: 1fr 70px;
  gap: 10px;
}

.send-button,
.email-support-button {
  display: grid;
  place-items: center;
}

.stuck-card {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 22px;
  background:
    radial-gradient(circle at 0 0, rgba(40, 198, 79, 0.13), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(6, 10, 9, 0.94);
}

.stuck-card h3 {
  margin-bottom: 4px;
}

.stuck-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.support-signal-list {
  display: grid;
  gap: 8px;
}

.support-signal-list span {
  border: 1px solid rgba(40, 198, 79, 0.24);
  border-radius: 8px;
  padding: 9px 10px;
  background: rgba(40, 198, 79, 0.06);
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
}

.stuck-card .email-support-button {
  min-height: 48px;
  border-radius: 999px;
}

.help-popover {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: start end;
  padding: 96px 42px 42px;
  background: rgba(0, 0, 0, 0.42);
  z-index: 20;
}

.help-popover[hidden] {
  display: none;
}

.help-popover-card {
  width: min(420px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  background:
    linear-gradient(145deg, rgba(40, 198, 79, 0.055), transparent 46%),
    rgba(8, 9, 9, 0.97);
  box-shadow: var(--shadow);
}

.help-popover-card h3 {
  margin: 18px 0 8px;
  color: #cbd8d4;
}

.help-popover-card p {
  color: #dce6e3;
  line-height: 1.45;
}

.help-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-weight: 500;
}

.confirm-modal[hidden] {
  display: none;
}

.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
}

.confirm-card {
  display: grid;
  gap: 14px;
  width: min(460px, 100%);
  border: 1px solid rgba(255, 32, 43, 0.34);
  border-radius: 16px;
  background:
    radial-gradient(circle at 82% 0%, rgba(255, 32, 43, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(40, 198, 79, 0.07), rgba(255, 32, 43, 0.06)),
    rgba(8, 9, 9, 0.98);
  padding: 22px;
  box-shadow: var(--shadow);
}

.confirm-card > span {
  color: var(--red);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.confirm-card h2 {
  margin: 0;
  color: #fff;
  font-size: 34px;
}

.confirm-card p {
  margin: 0;
  color: #d8e1de;
  line-height: 1.45;
}

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

body :where(strong, b, button, label, th, .nav-item, .submenu-trigger, .primary-button, .secondary-button, .venue-url, .count-pill, .live-badge) {
  font-weight: 500;
}

body :where(.venue-url, .screen-intro, td, small, input, select, p) {
  font-weight: 400;
}

body :where(.metric-card strong, .current-price, .price-board strong, .crash-countdown strong, .cheapest-callout strong, .cheapest-callout b, .license-hero-actions b) {
  font-weight: 500;
}

.theme-tv-preview {
  isolation: isolate;
}

.theme-tv-preview::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  background:
    conic-gradient(from 120deg at 50% 50%, transparent 0 12%, rgba(40, 198, 79, 0.18) 16%, transparent 23%, rgba(255, 32, 43, 0.16) 30%, transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), transparent 34%);
  opacity: 0.48;
  animation: energySweep 14s linear infinite;
}

.theme-tv-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.42), transparent 24%),
    rgba(255, 32, 43, 0.56);
}

.theme-tv-preview.market-crashing {
  animation:
    crashShake 0.38s steps(2, end) 8,
    crashImpactZoom 3.2s ease-out;
}

.theme-tv-preview.market-crashing::after {
  animation: redFlash 0.8s steps(2, end) infinite;
}

.theme-tv-preview.market-crashing .price-board strong {
  animation: priceDrop 1.1s ease-out;
}

.theme-tv-preview.preview-crashing .price-board strong {
  animation: priceDrop 0.72s ease-out infinite;
}

.theme-tv-preview.market-crashing .ticker {
  background: linear-gradient(90deg, #ff202b, #ff202b 42%, #28c64f);
  animation: tickerCrashFlash 0.48s steps(2, end) infinite;
  box-shadow:
    0 0 28px rgba(255, 32, 43, 0.72),
    0 0 70px rgba(255, 32, 43, 0.36);
}

.theme-tv-preview.market-crashing .ticker-track {
  color: #fff;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.78),
    0 0 24px rgba(255, 32, 43, 0.96);
  animation:
    tickerScroll 7s linear infinite,
    tickerCrashTextFlash 0.48s steps(2, end) infinite;
}

.theme-tv-preview.preview-crashing .crash-takeover,
.theme-tv-preview.market-crashing .crash-takeover {
  opacity: 1;
  transform: scale(1);
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.2), rgba(255, 32, 43, 0.94) 18%, rgba(82, 0, 4, 0.9) 44%, rgba(0, 0, 0, 0.66) 72%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0 3px, transparent 3px 16px);
  animation:
    crashTakeoverPunch 0.45s steps(2, end) infinite,
    redFlash 0.52s steps(2, end) infinite;
}

.theme-tv-preview.preview-crashing .crash-takeover span,
.theme-tv-preview.market-crashing .crash-takeover span {
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.8);
}

.theme-tv-preview.preview-crashing .crash-takeover strong,
.theme-tv-preview.market-crashing .crash-takeover strong {
  font-size: clamp(46px, 9vw, 180px);
  letter-spacing: 0.04em;
  line-height: 0.82;
  text-shadow:
    0 3px 0 #fff,
    0 10px 0 #7b0509,
    0 0 26px rgba(255, 255, 255, 0.96),
    0 0 78px rgba(255, 32, 43, 1);
}

.theme-tv-preview.preview-crashing .market-signal-panel,
.theme-tv-preview.market-crashing .market-signal-panel {
  border-color: rgba(255, 32, 43, 0.72);
  background: rgba(60, 0, 4, 0.78);
  animation: signalJolt 0.36s steps(2, end) infinite;
}

.theme-tv-preview.crash-imminent .ticker {
  box-shadow: 0 0 34px rgba(255, 32, 43, 0.35);
}

.theme-tv-preview.crash-imminent .crash-countdown {
  display: none;
}

.crash-takeover,
.cheapest-takeover {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  pointer-events: none;
  color: #fff;
  opacity: 0;
  transform: scale(1.08);
  background:
    radial-gradient(circle at center, rgba(255, 32, 43, 0.82), rgba(82, 0, 4, 0.78) 36%, rgba(0, 0, 0, 0.55) 68%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 18px);
  text-align: center;
  transition: opacity 180ms ease, transform 220ms ease;
}

.theme-tv-preview.crash-imminent .crash-takeover,
.theme-tv-preview.cheapest-showing .cheapest-takeover {
  opacity: 1;
  transform: scale(1);
}

.crash-takeover span,
.cheapest-takeover span {
  color: #fff;
  font-size: clamp(15px, 1.5vw, 30px);
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.crash-takeover strong,
.cheapest-takeover strong {
  color: #fff;
  font-size: clamp(128px, 15vw, 300px);
  line-height: 0.85;
  text-shadow:
    0 0 24px rgba(255, 255, 255, 0.7),
    0 0 60px rgba(255, 32, 43, 0.9);
}

.crash-takeover b,
.cheapest-takeover b {
  color: #fff;
  font-size: clamp(18px, 1.8vw, 36px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cheapest-takeover {
  background:
    radial-gradient(circle at center, color-mix(in srgb, var(--theme-accent-color, var(--green)) 74%, transparent), rgba(5, 26, 10, 0.84) 38%, rgba(0, 0, 0, 0.58) 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 18px);
}

.cheapest-takeover strong {
  font-size: clamp(64px, 7.8vw, 170px);
}

.cheapest-takeover b {
  color: var(--theme-accent-color, var(--green));
  font-size: clamp(72px, 9vw, 190px);
  text-shadow: 0 0 55px color-mix(in srgb, var(--theme-accent-color, var(--green)) 72%, transparent);
}

.theme-tv-preview .ticker {
  z-index: 6;
}

.theme-tv-preview .ticker-track {
  animation-duration: 48s;
}

.theme-tv-preview .board-title {
  text-shadow:
    0 0 24px rgba(255, 255, 255, 0.16),
    0 10px 34px rgba(0, 0, 0, 0.65);
}

.theme-tv-preview .price-board {
  max-width: none;
  width: calc(100% - 64px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.28);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.theme-tv-preview .price-board span,
.theme-tv-preview .price-board strong {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 12, 14, 0.72);
  color: #fff;
  backdrop-filter: blur(10px);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.theme-tv-preview .price-board strong {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.2vw, 26px);
  color: #fff;
  text-align: right;
}

.theme-tv-preview .price-board strong em {
  display: inline-grid;
  min-width: clamp(56px, 5vw, 96px);
  min-height: 1.75em;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74em;
  font-style: normal;
  text-align: right;
}

.theme-tv-preview .price-board .price-up {
  color: var(--theme-accent-color, var(--green));
}

.theme-tv-preview .price-board .price-up em::before {
  content: "▲ ";
}

.theme-tv-preview .price-board .price-down,
.theme-tv-preview .price-board .price-crashed {
  color: var(--theme-crash-color, var(--red));
}

.theme-tv-preview .price-board .price-down em::before,
.theme-tv-preview .price-board .price-crashed em::before {
  content: "▼ ";
}

.theme-tv-preview .price-board .price-flat em::before {
  content: "• ";
}

.theme-tv-preview .price-board .price-crashed {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--theme-crash-color, var(--red)) 46%, transparent), rgba(0, 0, 0, 0.54));
  box-shadow: inset 0 0 22px color-mix(in srgb, var(--theme-crash-color, var(--red)) 38%, transparent);
}

.theme-tv-preview .price-board .price-down.just-crashed,
.theme-tv-preview .price-board .price-crashed.just-crashed {
  animation: crashedProductPulse 0.7s ease-in-out infinite;
}

.theme-tv-preview .price-board .cheapest-row {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--theme-accent-color, var(--green)) 74%, transparent), rgba(255, 255, 255, 0.08));
  color: #fff;
  box-shadow: inset 0 0 22px color-mix(in srgb, var(--theme-accent-color, var(--green)) 28%, transparent);
  animation: cheapestRowPulse 2.4s ease-in-out infinite;
}

.theme-tv-preview.theme-preset-nightclub .ticker {
  background: linear-gradient(90deg, #06120a, #111043 44%, #ff1f6d);
  box-shadow: 0 0 32px rgba(34, 245, 95, 0.18);
}

.theme-tv-preview.theme-preset-nightclub .board-title {
  letter-spacing: 0.18em;
  text-shadow:
    0 0 18px rgba(34, 245, 95, 0.48),
    0 0 42px rgba(255, 31, 109, 0.3);
}

.theme-tv-preview.theme-preset-nightclub .price-board {
  border-color: rgba(34, 245, 95, 0.42);
  background: rgba(0, 0, 0, 0.54);
  box-shadow:
    0 0 52px rgba(34, 245, 95, 0.14),
    inset 0 0 36px rgba(255, 31, 109, 0.08);
}

.theme-tv-preview.theme-preset-nightclub .price-board span,
.theme-tv-preview.theme-preset-nightclub .price-board strong {
  padding-block: 9px;
  background: rgba(2, 5, 12, 0.82);
  font-size: clamp(13px, 1.08vw, 20px);
}

.theme-tv-preview.theme-preset-sports .ticker {
  background: #062713;
  border-bottom: 2px solid var(--theme-accent-color, var(--green));
}

.theme-tv-preview.theme-preset-sports .board-title {
  padding-top: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.theme-tv-preview.theme-preset-sports .price-board {
  border: 2px solid rgba(255, 255, 255, 0.24);
  background: rgba(0, 0, 0, 0.62);
}

.theme-tv-preview.theme-preset-sports .price-board span,
.theme-tv-preview.theme-preset-sports .price-board strong {
  padding-block: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.14);
  background: rgba(4, 24, 12, 0.82);
  font-size: clamp(13px, 1vw, 19px);
  text-transform: uppercase;
}

.theme-tv-preview.theme-preset-sports .price-board .category-header {
  background: var(--theme-accent-color, var(--green));
  color: #041008;
}

.theme-tv-preview.theme-preset-cocktail .ticker {
  background: linear-gradient(90deg, #140716, #2b1b14, #42300f);
  color: #fff3df;
}

.theme-tv-preview.theme-preset-cocktail::before {
  opacity: 0.24;
  animation-duration: 22s;
}

.theme-tv-preview.theme-preset-cocktail .board-title {
  color: #fff3df;
  letter-spacing: 0.08em;
  text-transform: none;
}

.theme-tv-preview.theme-preset-cocktail .price-board {
  border-color: rgba(217, 180, 106, 0.4);
  background: rgba(18, 8, 16, 0.54);
}

.theme-tv-preview.theme-preset-cocktail .price-board span,
.theme-tv-preview.theme-preset-cocktail .price-board strong {
  background: rgba(16, 8, 14, 0.74);
  color: #fff3df;
}

.theme-tv-preview.theme-preset-cocktail .price-board .category-header {
  border-bottom-color: rgba(217, 180, 106, 0.34);
  background: linear-gradient(90deg, rgba(217, 180, 106, 0.24), rgba(217, 180, 106, 0.06));
  color: #d9b46a;
}

.theme-tv-preview.theme-preset-contrast {
  box-shadow:
    inset 0 0 0 3px #fff,
    inset 0 0 120px rgba(0, 0, 0, 0.82);
}

.theme-tv-preview.theme-preset-contrast .ticker,
.theme-tv-preview.theme-preset-contrast .instruction-scroller {
  background: #fff;
  color: #000;
}

.theme-tv-preview.theme-preset-contrast .board-title {
  padding-top: 22px;
  color: #fff;
  letter-spacing: 0.06em;
}

.theme-tv-preview.theme-preset-contrast .price-board {
  border: 2px solid #fff;
  background: #000;
}

.theme-tv-preview.theme-preset-contrast .price-board span,
.theme-tv-preview.theme-preset-contrast .price-board strong {
  padding-block: 11px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.32);
  background: #050505;
  color: #fff;
  font-size: clamp(15px, 1.2vw, 23px);
}

.theme-tv-preview.theme-preset-contrast .price-board .category-header {
  background: #fff;
  color: #000;
}

.cheapest-callout {
  border-color: color-mix(in srgb, var(--theme-accent-color, var(--green)) 72%, transparent);
  background:
    linear-gradient(145deg, rgba(0, 0, 0, 0.62), rgba(12, 36, 18, 0.76)),
    rgba(0, 0, 0, 0.72);
}

.cheapest-callout::before {
  content: "";
  position: absolute;
  inset: -12px;
  z-index: -1;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--theme-accent-color, var(--green)) 54%, transparent);
  filter: blur(1px);
  animation: dealHalo 2s ease-in-out infinite;
}

.animated-market-bg span {
  animation-duration: 10s;
}

@keyframes energySweep {
  from {
    transform: rotate(0deg) scale(1);
  }
  to {
    transform: rotate(360deg) scale(1.04);
  }
}

@keyframes redFlash {
  0%,
  100% {
    opacity: 0.16;
  }
  18%,
  42% {
    opacity: 1;
  }
  62% {
    opacity: 0.42;
  }
}

@keyframes tickerCrashFlash {
  0%,
  100% {
    background: linear-gradient(90deg, #ff202b, #900008 58%, #ff202b);
  }
  50% {
    background: linear-gradient(90deg, #fff, #ff202b 22%, #ff202b 78%, #fff);
  }
}

@keyframes tickerCrashTextFlash {
  0%,
  100% {
    color: #fff;
  }
  50% {
    color: #ff202b;
  }
}

@keyframes crashShake {
  0%,
  100% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(-8px, 4px);
  }
  40% {
    transform: translate(8px, -5px);
  }
  60% {
    transform: translate(-5px, -3px);
  }
  80% {
    transform: translate(5px, 5px);
  }
}

@keyframes crashImpactZoom {
  0%,
  100% {
    filter: saturate(1);
  }
  8% {
    filter: saturate(1.8) contrast(1.22);
  }
  18% {
    filter: saturate(2.2) contrast(1.36);
  }
  48% {
    filter: saturate(1.7) contrast(1.18);
  }
}

@keyframes crashTakeoverPunch {
  0%,
  100% {
    filter: brightness(1.12) contrast(1.05);
  }
  50% {
    filter: brightness(1.75) contrast(1.34);
  }
}

@keyframes priceDrop {
  0% {
    color: #fff;
    transform: translateY(0);
  }
  35% {
    color: var(--theme-crash-color, var(--red));
    transform: translateY(10px) scale(1.06);
  }
  100% {
    color: var(--theme-accent-color, var(--green));
    transform: translateY(0);
  }
}

@keyframes cheapestRowPulse {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.45);
  }
}

@keyframes dealHalo {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.04);
  }
}

@keyframes crashedProductPulse {
  0%,
  100% {
    filter: brightness(1);
    transform: translateX(0);
  }
  50% {
    filter: brightness(1.85);
    transform: translateX(-6px);
  }
}

.public-fullscreen-preview .price-board {
  width: calc(100vw - 6vw);
  max-width: none;
  margin-right: 3vw;
  margin-bottom: 17vh;
}

.public-fullscreen-preview .price-board span,
.public-fullscreen-preview .price-board strong {
  padding: 0.8vh 1.35vw;
  font-size: clamp(24px, 1.38vw, 40px);
}

.public-fullscreen-preview .price-board .category-header {
  padding-block: 0.55vh;
  font-size: clamp(12px, 0.75vw, 18px);
}

.public-fullscreen-preview .price-board strong em {
  min-width: clamp(74px, 5.2vw, 118px);
  font-size: 0.68em;
}

.public-fullscreen-preview .market-signal-panel {
  display: grid;
  top: 17vh;
  bottom: auto;
  min-width: min(250px, 15vw);
  padding: 12px 14px;
}

.public-fullscreen-preview .market-signal-panel.falling {
  right: 3vw;
}

.public-fullscreen-preview .market-signal-panel.rising {
  right: calc(3vw + min(270px, 16.5vw));
}

.public-fullscreen-preview .cheapest-callout {
  top: 7.6vh;
  bottom: auto;
}

.public-fullscreen-preview .crash-takeover strong {
  font-size: clamp(180px, 18vw, 360px);
}

.public-fullscreen-preview .cheapest-takeover strong {
  font-size: clamp(96px, 8.5vw, 220px);
}

.public-fullscreen-preview .cheapest-takeover b {
  font-size: clamp(120px, 10vw, 250px);
}

.market-signal-panel {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 4px;
  min-width: min(260px, 22vw);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent),
    rgba(0, 0, 0, 0.68);
  padding: 14px 16px;
  color: #fff;
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  text-transform: uppercase;
}

.market-signal-panel span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.market-signal-panel strong {
  font-size: clamp(17px, 1.35vw, 30px);
  font-weight: 500;
  line-height: 1;
}

.market-signal-panel b {
  font-size: clamp(18px, 1.55vw, 34px);
  font-weight: 500;
  line-height: 1;
}

.market-signal-panel.rising {
  right: 3vw;
  bottom: 13vh;
  border-color: color-mix(in srgb, var(--theme-accent-color, var(--green)) 58%, transparent);
}

.market-signal-panel.rising b {
  color: var(--theme-accent-color, var(--green));
}

.market-signal-panel.falling {
  right: 3vw;
  bottom: 25vh;
  border-color: color-mix(in srgb, var(--theme-crash-color, var(--red)) 58%, transparent);
}

.market-signal-panel.falling b {
  color: var(--theme-crash-color, var(--red));
}

.theme-tv-preview.crash-imminent .market-signal-panel {
  opacity: 0.16;
  transform: translateX(20px);
}

.theme-tv-preview.market-crashing .market-signal-panel {
  animation: signalJolt 0.8s steps(2, end) 2;
}

.public-fullscreen-preview .market-signal-panel,
.public-fullscreen-preview .market-signal-panel.rising,
.public-fullscreen-preview .market-signal-panel.falling {
  top: auto;
  bottom: 5.8vh;
  align-content: center;
  min-width: min(245px, 15vw);
  min-height: 78px;
  max-height: 92px;
  padding: 10px 14px;
}

.public-fullscreen-preview .market-signal-panel.rising {
  right: calc(3vw + min(265px, 16vw));
}

.public-fullscreen-preview .market-signal-panel.falling {
  right: 3vw;
}

.public-fullscreen-preview .market-signal-panel strong {
  font-size: clamp(18px, 1.2vw, 26px);
}

.public-fullscreen-preview .market-signal-panel b {
  font-size: clamp(20px, 1.35vw, 30px);
}

.theme-preview-panel .theme-tv-preview {
  overflow: hidden;
}

.theme-tv-preview.ticker-bottom .ticker {
  top: auto;
  bottom: 0;
}

.theme-tv-preview.ticker-bottom .instruction-scroller {
  bottom: 32px;
}

.theme-tv-preview.ticker-off .ticker {
  display: none;
}

.theme-screen-settings {
  position: absolute;
  top: 44px;
  left: 18px;
  z-index: 9;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  pointer-events: none;
}

.theme-screen-settings span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(40, 198, 79, 0.36);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  color: #d8e1de;
  padding: 0 11px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.34);
}

.theme-tv-preview.ticker-bottom .theme-screen-settings,
.theme-tv-preview.ticker-off .theme-screen-settings {
  top: 16px;
}

.theme-tv-preview.logo-left .theme-screen-logo {
  right: auto;
  left: 24px;
  top: 58px;
  transform: none;
}

.theme-tv-preview.logo-hidden .theme-screen-logo {
  display: none;
}

.theme-tv-preview.safe-projector .price-board {
  width: calc(100% - 110px);
  margin-inline: 55px;
}

.theme-tv-preview.safe-edge .price-board {
  width: calc(100% - 24px);
  margin-inline: 12px;
}

.theme-tv-preview.layout-large-tiles .price-board {
  grid-template-columns: repeat(var(--theme-product-columns), minmax(0, 1fr));
  gap: 8px;
  border: 0;
  background: transparent;
}

.theme-tv-preview.layout-large-tiles .price-board .category-header {
  display: none;
}

.theme-tv-preview.layout-large-tiles .price-board span:not(.category-header),
.theme-tv-preview.layout-large-tiles .price-board strong {
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.theme-tv-preview.layout-large-tiles .price-board span:not(.category-header) {
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.theme-tv-preview.layout-large-tiles .price-board strong {
  justify-content: space-between;
  border-radius: 0 0 8px 8px;
}

.theme-tv-preview.layout-split-hero .cheapest-callout {
  left: 32px;
  right: auto;
  top: 28%;
  min-width: 220px;
  transform: scale(1.08);
}

.theme-tv-preview.layout-split-hero .price-board {
  width: 54%;
  margin-left: auto;
}

.theme-tv-preview.instruction-static .instruction-track {
  animation: none;
  transform: none;
  text-align: center;
}

.theme-tv-preview.preview-state-idle .crash-countdown,
.theme-tv-preview.preview-state-idle .cheapest-callout,
.theme-tv-preview.preview-state-idle .market-signal-panel,
.theme-tv-preview.preview-state-idle .instruction-scroller {
  display: none;
}

.theme-tv-preview.preview-state-idle .board-title {
  display: grid;
  min-height: 100%;
  place-items: center;
  padding: 0 36px;
  font-size: clamp(32px, 4vw, 72px);
  text-align: center;
}

.theme-tv-preview.preview-state-idle .price-board {
  display: none;
}

.theme-tv-preview.event-closed .ticker,
.theme-tv-preview.event-closed .crash-countdown,
.theme-tv-preview.event-closed .cheapest-callout,
.theme-tv-preview.event-closed .market-signal-panel,
.theme-tv-preview.event-closed .instruction-scroller,
.theme-tv-preview.event-closed .crash-takeover,
.theme-tv-preview.event-closed .cheapest-takeover,
.theme-tv-preview.event-closed .price-board {
  display: none;
}

.theme-tv-preview.event-closed {
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(0, 42, 18, 0.72) 0%, rgba(0, 0, 0, 0.86) 38%, rgba(58, 0, 5, 0.86) 100%),
    radial-gradient(circle at 35% 42%, rgba(40, 198, 79, 0.16), transparent 32%),
    radial-gradient(circle at 74% 38%, rgba(255, 32, 43, 0.22), transparent 34%),
    #020303;
}

.theme-tv-preview.event-closed::before {
  inset: 0;
  z-index: 0;
  opacity: 0.9;
  background:
    linear-gradient(163deg, transparent 0 22%, rgba(40, 198, 79, 0.52) 23%, transparent 24% 58%, rgba(255, 32, 43, 0.58) 59%, transparent 60%),
    repeating-linear-gradient(88deg, rgba(40, 198, 79, 0.12) 0 2px, transparent 2px 34px),
    repeating-linear-gradient(92deg, rgba(255, 32, 43, 0.14) 0 2px, transparent 2px 38px),
    radial-gradient(circle at 50% 100%, rgba(255, 32, 43, 0.24), transparent 44%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.22) 52%, rgba(0, 0, 0, 0.74));
  animation: marketClosedDrift 16s ease-in-out infinite alternate;
}

.theme-tv-preview.event-closed::after {
  inset: auto -10% -18%;
  z-index: 1;
  height: 58%;
  opacity: 0.9;
  background:
    linear-gradient(90deg, rgba(40, 198, 79, 0.36), rgba(255, 32, 43, 0.44)),
    radial-gradient(circle, currentColor 1.4px, transparent 2px);
  background-size: auto, 22px 22px;
  color: rgba(40, 198, 79, 0.74);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.72) 46%, transparent);
  transform: perspective(560px) rotateX(62deg);
  animation: marketClosedFloor 8s linear infinite;
}

.theme-tv-preview.event-closed .animated-market-bg {
  z-index: 0;
  opacity: 0.72;
  filter: blur(1.2px) saturate(1.45);
}

.theme-tv-preview.event-closed .animated-market-bg span {
  height: 74%;
  opacity: 0.46;
  background-image:
    linear-gradient(currentColor 0 0),
    radial-gradient(circle, currentColor 1.5px, transparent 2px);
  background-repeat: no-repeat, repeat;
  background-size: 44% 2px, 18px 18px;
  background-position: 0 20%, 0 0;
}

.theme-tv-preview.event-closed .animated-market-bg span:nth-child(1) {
  inset: 4% 44% auto -6%;
  height: 54%;
  transform: skewY(-10deg);
}

.theme-tv-preview.event-closed .animated-market-bg span:nth-child(2) {
  inset: 8% -6% auto 48%;
  height: 58%;
  transform: skewY(9deg);
}

.theme-tv-preview.event-closed .animated-market-bg span:nth-child(3) {
  opacity: 0.18;
}

.theme-tv-preview.event-closed .board-title {
  position: relative;
  z-index: 6;
  display: grid;
  min-height: 100%;
  place-items: center;
  width: 100%;
  padding: 0 3vw;
  color: var(--theme-crash-color, var(--red));
  font-size: 0;
  text-align: center;
  text-transform: uppercase;
  transform: skewX(-8deg);
  text-shadow:
    0 2px 0 #ffb4b4,
    0 8px 0 #7b0509,
    0 16px 26px rgba(0, 0, 0, 0.88),
    0 0 22px rgba(255, 32, 43, 0.94),
    0 0 70px rgba(255, 32, 43, 0.78);
}

.theme-tv-preview.event-closed .board-title::before {
  content: "MARKET\A CLOSED";
  white-space: pre-line;
  font-family: Impact, "Arial Black", var(--theme-heading-font);
  font-size: clamp(78px, 15vw, 260px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 0.02em;
  background:
    linear-gradient(180deg, #ff8b79 0%, #ff231f 34%, #a90009 66%, #ff281d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(255, 47, 38, 0.96));
}

.theme-tv-preview.event-closed .board-title::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 64%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), rgba(255, 32, 43, 0.9), transparent);
  box-shadow:
    0 0 22px rgba(255, 32, 43, 0.96),
    0 0 68px rgba(255, 32, 43, 0.62);
  transform: skewX(8deg);
  animation: marketClosedGlow 2.8s ease-in-out infinite alternate;
}

.theme-tv-preview.tv-screens-demo.event-closed .ticker,
.theme-tv-preview.tv-screens-demo.event-closed .crash-countdown,
.theme-tv-preview.tv-screens-demo.event-closed .cheapest-callout,
.theme-tv-preview.tv-screens-demo.event-closed .market-signal-panel,
.theme-tv-preview.tv-screens-demo.event-closed .instruction-scroller,
.theme-tv-preview.tv-screens-demo.event-closed .price-board {
  display: none;
}

.theme-tv-preview.tv-screens-demo.event-closed .ticker {
  display: none;
}

.theme-tv-preview.tv-screens-demo.event-closed .board-title::before {
  content: "MARKET\A CLOSED";
}

.theme-tv-preview.tv-screens-demo.crash-imminent .crash-takeover {
  animation: crashTakeoverPulse 1.25s steps(2, end) infinite;
}

.theme-tv-preview.tv-screens-demo.crash-imminent .ticker {
  animation: tickerCrashFlash 0.7s steps(2, end) infinite;
}

@keyframes crashTakeoverPulse {
  0%,
  42% {
    opacity: 0;
    transform: scale(1.08);
  }
  50%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.mobile-market-view.event-closed .mobile-live-pill {
  border-color: rgba(255, 32, 43, 0.48);
  color: var(--red);
}

.theme-preview-panel .theme-tv-preview .ticker {
  padding: 6px 10px;
  font-size: clamp(8px, 0.62vw, 10px);
}

.theme-preview-panel .theme-tv-preview .board-title {
  padding: 18px 22px 8px;
  font-size: clamp(18px, calc(var(--theme-heading-size) * 0.42), 42px);
  letter-spacing: 0.11em;
}

.theme-preview-panel .theme-tv-preview .price-board {
  width: calc(100% - 44px);
  margin: 0 22px 76px;
}

.theme-preview-panel .theme-tv-preview .price-board span,
.theme-preview-panel .theme-tv-preview .price-board strong,
.theme-preview-panel .theme-tv-preview.theme-preset-nightclub .price-board span,
.theme-preview-panel .theme-tv-preview.theme-preset-nightclub .price-board strong,
.theme-preview-panel .theme-tv-preview.theme-preset-sports .price-board span,
.theme-preview-panel .theme-tv-preview.theme-preset-sports .price-board strong,
.theme-preview-panel .theme-tv-preview.theme-preset-contrast .price-board span,
.theme-preview-panel .theme-tv-preview.theme-preset-contrast .price-board strong {
  padding: 4px 8px;
  min-height: calc(var(--theme-row-height) * 0.28);
  font-size: clamp(9px, calc(var(--theme-price-size) * 0.27), 20px);
}

.theme-preview-panel .theme-tv-preview .price-board .category-header,
.theme-preview-panel .theme-tv-preview.theme-preset-contrast .price-board .category-header,
.theme-preview-panel .theme-tv-preview.theme-preset-sports .price-board .category-header {
  padding-block: 3px;
  font-size: clamp(7px, 0.58vw, 10px);
}

.theme-preview-panel .theme-tv-preview .price-board strong {
  gap: 8px;
}

.theme-preview-panel .theme-tv-preview .price-board strong em {
  min-width: 44px;
  min-height: 1.45em;
  font-size: 0.62em;
}

.theme-preview-panel .theme-tv-preview .cheapest-callout {
  top: 34px;
  right: 18px;
  bottom: auto;
  padding: 8px 10px;
}

.theme-preview-panel .theme-tv-preview .cheapest-callout strong {
  font-size: clamp(13px, 1.1vw, 18px);
}

.theme-preview-panel .theme-tv-preview .cheapest-callout b {
  font-size: clamp(16px, 1.4vw, 24px);
}

.theme-preview-panel .theme-tv-preview .market-signal-panel,
.theme-preview-panel .theme-tv-preview .market-signal-panel.rising,
.theme-preview-panel .theme-tv-preview .market-signal-panel.falling {
  right: 18px;
  min-width: 150px;
  max-width: 190px;
  padding: 8px 10px;
}

.theme-preview-panel .theme-tv-preview .market-signal-panel.rising {
  bottom: 24px;
}

.theme-preview-panel .theme-tv-preview .market-signal-panel.falling {
  bottom: 24px;
}

.theme-preview-panel .theme-tv-preview .market-signal-panel span {
  font-size: 7px;
}

.theme-preview-panel .theme-tv-preview .market-signal-panel strong {
  font-size: clamp(11px, 1vw, 16px);
}

.theme-preview-panel .theme-tv-preview .market-signal-panel b {
  font-size: clamp(12px, 1.1vw, 18px);
}

.theme-preview-panel .theme-tv-preview .instruction-scroller {
  padding: 5px 0;
}

.theme-preview-panel .theme-tv-preview .instruction-track {
  font-size: clamp(9px, 0.72vw, 12px);
}

.stripe-billing-panel {
  background:
    radial-gradient(circle at 0 0, rgba(40, 198, 79, 0.13), transparent 32%),
    radial-gradient(circle at 100% 100%, rgba(255, 32, 43, 0.09), transparent 34%),
    linear-gradient(145deg, rgba(40, 198, 79, 0.05), rgba(255, 255, 255, 0.01)),
    rgba(6, 10, 9, 0.94);
}

.stripe-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stripe-breakdown-grid span {
  display: grid;
  gap: 8px;
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  padding: 16px;
}

.stripe-breakdown-grid small {
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stripe-breakdown-grid strong {
  color: #fff;
  font-size: clamp(26px, 2.6vw, 42px);
  font-weight: 500;
  line-height: 1;
}

.stripe-breakdown-grid b {
  color: #94f5a8;
  font-weight: 500;
}

body:not(.tv-display-body) strong,
body:not(.tv-display-body) b,
body:not(.tv-display-body) th,
body:not(.tv-display-body) h2,
body:not(.tv-display-body) h3,
body:not(.tv-display-body) .nav-section-label,
body:not(.tv-display-body) .nav-item,
body:not(.tv-display-body) .secondary-button,
body:not(.tv-display-body) .primary-button {
  font-weight: 500;
}

body:not(.tv-display-body) .metric-icon,
body:not(.tv-display-body) .status-list b,
body:not(.tv-display-body) .live-card-icon {
  font-weight: 500;
}

@keyframes signalJolt {
  0%,
  100% {
    transform: translate(0, 0);
  }
  30% {
    transform: translate(-8px, 2px);
  }
  60% {
    transform: translate(6px, -3px);
  }
}

.mobile-market-view {
  display: none;
}

.tv-display-body.mobile-preview-embed {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(40, 198, 79, 0.2), transparent 34%),
    radial-gradient(circle at 100% 10%, rgba(255, 32, 43, 0.18), transparent 34%),
    #000;
}

.tv-display-body.mobile-preview-embed .public-theme-shell {
  display: block;
}

.tv-display-body.mobile-preview-embed .public-fullscreen-preview {
  display: none;
}

.tv-display-body.mobile-preview-embed .mobile-market-view {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 12px;
  height: 100vh;
  min-height: 0;
  overflow: hidden;
  padding: 12px;
  color: #f8fbfa;
}

.tv-display-body.mobile-preview-embed .mobile-market-hero {
  position: relative;
  display: grid;
  gap: 10px;
  margin: -12px -12px 0;
  padding: 12px;
  border-bottom: 1px solid rgba(40, 198, 79, 0.24);
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.16), rgba(255, 32, 43, 0.12)),
    rgba(0, 0, 0, 0.92);
}

.tv-display-body.mobile-preview-embed .mobile-brand,
.tv-display-body.mobile-preview-embed .mobile-market-footer {
  display: none;
}

.tv-display-body.mobile-preview-embed .mobile-status-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.tv-display-body.mobile-preview-embed .mobile-market-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(18px, 9vw, 28px);
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.tv-display-body.mobile-preview-embed .mobile-deal-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.tv-display-body.mobile-preview-embed .mobile-deal-strip article:nth-child(2) {
  display: none;
}

.tv-display-body.mobile-preview-embed .mobile-market-list {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
  scrollbar-color: rgba(40, 198, 79, 0.8) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.tv-display-body.mobile-preview-embed .mobile-market-list section {
  display: grid;
  gap: 6px;
}

.tv-display-body.mobile-preview-embed .mobile-market-list h2 {
  margin: 0;
  color: var(--green);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tv-display-body.mobile-preview-embed .mobile-market-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 8px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  padding: 10px;
  text-decoration: none;
}

.tv-display-body.mobile-preview-embed .mobile-market-list em {
  grid-column: 2;
  font-size: 11px;
}

@media (max-width: 700px) {
  .homepage-shell {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .homepage-rail {
    padding: 18px 12px;
  }

  .homepage-rail img {
    content: url("../assets/tde-icon.png");
  }

  .homepage-rail p,
  .home-rail-link,
  .home-privacy-link {
    display: none;
  }

  .home-dashboard-button {
    min-width: 0;
    min-height: 48px;
    padding: 0;
    font-size: 0;
  }

  .home-dashboard-button::before {
    content: "Open";
    font-size: 12px;
  }

  .home-control-panel {
    grid-template-columns: 1fr;
  }

  .home-tv-panel {
    grid-template-columns: 1fr;
  }

  .how-steps,
  .pos-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homepage-preview-stage {
    grid-template-columns: minmax(0, 1fr) 194px;
    justify-self: center;
  }

  .home-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .live-product-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .live-product-toolbar label:first-child,
  .live-product-toolbar .secondary-button {
    grid-column: 1 / -1;
  }

  .live-feedback-message {
    grid-column: 1;
  }

  .social-connect-grid {
    grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  }

  .story-preview-card {
    grid-column: 1 / -1;
    justify-items: start;
  }

  .instagram-story-preview {
    width: min(255px, 100%);
  }

  .app-shell {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .brand {
    display: grid;
    min-height: 58px;
    place-items: center;
  }

  .brand-logo,
  .nav-section-label,
  .nav-divider,
  .nav-item:not(.active),
  .nav-group-separated:not(:has(.nav-item.active)),
  .submenu-trigger strong,
  .submenu-trigger b,
  .sidebar-footer,
  .user-card {
    display: none;
  }

  .brand-icon {
    display: block;
  }

  .nav-item,
  .submenu-trigger {
    justify-items: center;
    justify-content: center;
    padding: 0;
  }

  .submenu {
    padding-left: 0;
  }
}

@media (max-width: 700px) {
  .dashboard-gateway {
    align-items: start;
    padding: 18px;
  }

  .gateway-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .gateway-logo-panel {
    min-height: 148px;
    padding: 18px;
  }

  .gateway-options {
    grid-template-columns: 1fr;
  }

  .gateway-option {
    min-height: 164px;
  }

  .homepage-shell {
    display: block;
  }

  .homepage-rail {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(40, 198, 79, 0.24);
  }

  .homepage-rail img {
    width: 58px;
  }

  .home-dashboard-button {
    margin-left: auto;
    min-width: 130px;
    padding: 0 16px;
    font-size: 13px;
  }

  .home-dashboard-button::before {
    content: none;
  }

  .homepage-main {
    padding: 16px;
  }

  .homepage-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "customer";
    padding: 22px;
  }

  .homepage-logo-banner {
    min-height: 118px;
  }

  .homepage-logo-banner img {
    width: min(620px, 90%);
  }

  .homepage-preview-stage {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 18px;
  }

  .home-tv-sample {
    min-height: 220px;
  }

  .homepage-tv-frame {
    --homepage-tv-scale: 0.26;
  }

  .homepage-copy h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .how-steps,
  .benefit-grid,
  .pos-strip,
  .privacy-grid,
  .home-feature-grid,
  .home-tv-panel,
  .home-bottom-cta {
    grid-template-columns: 1fr;
  }

  .home-bottom-cta .home-primary-action {
    width: min(100%, 320px);
    justify-self: start;
  }

  .app-shell,
  body.dashboard-visible .app-shell {
    display: block;
  }

  .workspace::before {
    left: 0;
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 10;
    min-height: auto;
    padding: 10px;
  }

  .brand {
    display: none;
  }

  .nav-list,
  .submenu,
  .submenu.open {
    display: flex;
    gap: 6px;
    overflow-x: auto;
  }

  .nav-group,
  .nav-group-separated,
  .nav-group-separated:not(:has(.nav-item.active)) {
    display: contents;
  }

  .nav-item,
  .nav-item:not(.active),
  .submenu-trigger {
    display: inline-flex;
    width: auto;
    min-width: max-content;
    flex: 0 0 auto;
    gap: 8px;
    padding: 0 13px;
  }

  .nav-item strong,
  .submenu-trigger strong {
    display: inline;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
  }

  .submenu-trigger b {
    display: inline;
  }

  .nav-link-dot {
    width: 7px;
    height: 7px;
  }

  .workspace {
    padding: 20px;
  }

  .screen-heading,
  .heading-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .market-state-panel {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .scroller-message-row,
  .scroller-message-add {
    grid-template-columns: 1fr;
  }

  .metric-grid,
  .dashboard-overview-grid,
  .dashboard-date-fields,
  .dashboard-grid,
  .overview-grid,
  .build-page,
  .event-name-row,
  .product-picker,
  .price-editor-grid,
  .crash-editor-grid,
  .pricing-rules-grid,
  .time-grid,
  .form-grid,
  .integration-grid,
  .social-connect-grid,
  .screens-layout,
  .media-studio-layout,
  .media-rule-grid,
  .theme-builder-layout,
  .licensing-layout,
  .license-mini-grid,
  .stripe-breakdown-grid,
  .public-tv-header,
  .public-price-stage,
  .support-layout,
  .checklist-command-panel,
  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .venue-link-card {
    grid-template-columns: 1fr;
  }

  .media-preview-panel {
    grid-column: 1;
  }

  .media-drop-zone {
    min-height: 188px;
    padding: 22px 16px;
  }

  .media-drop-zone strong {
    font-size: clamp(22px, 9vw, 34px);
    line-height: 0.96;
  }

  .media-rule-grid label {
    min-width: 0;
  }

  .media-asset-list article {
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: start;
  }

  .media-asset-list article > div {
    min-width: 0;
  }

  .media-asset-list strong {
    overflow-wrap: anywhere;
  }

  .media-asset-list em {
    grid-column: 1 / -1;
  }

  .media-asset-list article .secondary-button {
    grid-column: 1 / -1;
  }

  .media-tv-preview {
    min-height: 270px;
    border-radius: 12px;
  }

  .media-preview-frame {
    width: calc(100% - 32px);
    min-height: 150px;
    padding: 18px;
  }

  .media-preview-frame strong {
    font-size: clamp(24px, 11vw, 42px);
    line-height: 0.95;
  }

  .media-preview-ticker {
    min-height: 34px;
    padding-inline: 12px;
    font-size: 10px;
  }

  .venue-link-card > .compact-title,
  .venue-link-card > p,
  .venue-link-card > .screen-instructions,
  .venue-link-card > .muted,
  .venue-link-card > .mobile-link-panel {
    grid-column: 1;
    grid-row: auto;
  }

  .overview-custom-range {
    grid-template-columns: 1fr;
  }

  #licensing .licensing-layout,
  #licensing .license-mini-grid,
  #licensing .license-hero-card,
  #licensing .license-billing-actions,
  #licensing .license-notice {
    grid-template-columns: 1fr;
  }

  .automation-heading {
    display: grid;
  }

  .automation-list label {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    padding: 16px 0;
  }

  .automation-list em {
    grid-column: 2;
    justify-self: start;
    font-size: 18px;
  }

  .automation-list em::before {
    width: 38px;
    height: 38px;
  }

  .automation-list em::after {
    width: 15px;
    height: 8px;
    margin-left: 11px;
    border-bottom-width: 3px;
    border-left-width: 3px;
  }
}

@media (max-width: 700px) {
  .tv-display-body.mobile-preview-embed {
    overflow: hidden;
    background:
      radial-gradient(circle at 18% 0%, rgba(40, 198, 79, 0.2), transparent 34%),
      radial-gradient(circle at 100% 10%, rgba(255, 32, 43, 0.18), transparent 34%),
      #000;
  }

  .tv-display-body.mobile-preview-embed .public-theme-shell {
    display: block;
  }

  .tv-display-body.mobile-preview-embed .public-fullscreen-preview {
    display: none;
  }

  .tv-display-body.mobile-preview-embed .mobile-market-view {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    height: 100vh;
    min-height: 0;
    overflow: hidden;
    padding: 12px;
  }

  .tv-display-body.mobile-preview-embed .mobile-market-hero {
    position: relative;
    margin: -12px -12px 0;
    padding: 12px;
  }

  .tv-display-body.mobile-preview-embed .mobile-brand,
  .tv-display-body.mobile-preview-embed .mobile-market-footer {
    display: none;
  }

  .tv-display-body.mobile-preview-embed .mobile-status-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tv-display-body.mobile-preview-embed .mobile-market-hero h1 {
    font-size: clamp(18px, 9vw, 28px);
    text-align: center;
  }

  .tv-display-body.mobile-preview-embed .mobile-deal-strip {
    grid-template-columns: 1fr;
  }

  .tv-display-body.mobile-preview-embed .mobile-deal-strip article:nth-child(2) {
    display: none;
  }

  .tv-display-body.mobile-preview-embed .mobile-market-list {
    gap: 10px;
  }

  .tv-display-body.mobile-preview-embed .mobile-market-list section {
    gap: 6px;
  }

  .tv-display-body.mobile-preview-embed .mobile-market-list h2 {
    font-size: 10px;
  }

  .tv-display-body.mobile-preview-embed .mobile-market-list a {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 8px;
    padding: 10px;
  }

  .tv-display-body.mobile-preview-embed .mobile-market-list em {
    grid-column: 2;
    font-size: 11px;
  }

  .tv-display-body.tv-preview-embed {
    overflow: hidden;
  }

  .tv-display-body.tv-preview-embed .public-theme-shell {
    display: grid;
    width: 100vw;
    min-height: 100vh;
  }

  .tv-display-body.tv-preview-embed .public-fullscreen-preview {
    display: block;
  }

  .tv-display-body.tv-preview-embed .mobile-market-view {
    display: none;
  }

  .tv-display-body {
    overflow: hidden;
    background:
      radial-gradient(circle at 18% 0%, rgba(40, 198, 79, 0.2), transparent 34%),
      radial-gradient(circle at 100% 10%, rgba(255, 32, 43, 0.18), transparent 34%),
      #000;
  }

  .public-theme-shell {
    display: block;
    width: auto;
    min-height: 100vh;
  }

  .public-fullscreen-preview {
    display: none;
  }

  .mobile-market-view {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    gap: 16px;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    padding: max(18px, env(safe-area-inset-top)) 14px max(18px, env(safe-area-inset-bottom));
    color: #f8fbfa;
  }

  .mobile-market-hero {
    z-index: 4;
    display: grid;
    gap: 12px;
    margin: -18px -14px 0;
    padding: max(18px, env(safe-area-inset-top)) 14px 14px;
    border-bottom: 1px solid rgba(40, 198, 79, 0.24);
    background:
      linear-gradient(135deg, rgba(40, 198, 79, 0.16), rgba(255, 32, 43, 0.12)),
      rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(14px);
  }

  .mobile-brand {
    color: var(--green);
    font-size: 12px;
    letter-spacing: 0.18em;
  }

  .mobile-market-hero h1 {
    font-size: clamp(30px, 10vw, 44px);
    line-height: 0.98;
    letter-spacing: 0.08em;
  }

  .mobile-market-hero h1::after {
    width: 48px;
    height: 3px;
    margin-top: 8px;
  }

  .mobile-status-row,
  .mobile-deal-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .mobile-live-pill,
  .mobile-crash-timer,
  .mobile-deal-strip article,
  .mobile-market-list a,
  .mobile-market-footer {
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 10px;
    background: rgba(7, 11, 10, 0.78);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
  }

  .mobile-live-pill,
  .mobile-crash-timer {
    display: grid;
    min-height: 44px;
    align-content: center;
    padding: 9px 11px;
    color: #dce7e4;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-live-pill {
    border-color: rgba(40, 198, 79, 0.44);
    color: var(--green);
  }

  .mobile-crash-timer b {
    display: block;
    margin-top: 2px;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0;
  }

  .mobile-deal-strip article {
    display: grid;
    align-content: center;
    gap: 4px;
    min-height: 88px;
    padding: 12px;
  }

  .mobile-deal-strip span,
  .mobile-market-list h2 {
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .mobile-deal-strip strong {
    color: #fff;
    font-size: 21px;
    font-weight: 500;
  }

  .mobile-deal-strip b {
    color: var(--green);
    font-size: 32px;
    font-weight: 500;
    line-height: 1;
  }

  .mobile-deal-strip .down,
  .mobile-market-list .down {
    color: var(--red);
  }

  .mobile-market-list {
    display: grid;
    gap: 18px;
    align-content: start;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 2px;
    scrollbar-color: rgba(40, 198, 79, 0.8) rgba(255, 255, 255, 0.08);
    scrollbar-width: thin;
  }

  .mobile-market-list::-webkit-scrollbar {
    width: 6px;
  }

  .mobile-market-list::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
  }

  .mobile-market-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(40, 198, 79, 0.78);
  }

  .mobile-market-list section {
    display: grid;
    gap: 8px;
  }

  .mobile-market-list h2 {
    margin: 0 0 2px;
    color: var(--green);
  }

  .mobile-market-list a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    min-height: 62px;
    padding: 12px;
    color: #fff;
    text-decoration: none;
  }

  .mobile-market-list a span {
    min-width: 0;
    overflow: hidden;
    font-size: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-market-list a strong {
    color: #fff;
    font-size: 22px;
    font-weight: 500;
  }

  .mobile-market-list a em {
    display: grid;
    min-width: 58px;
    min-height: 32px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
    font-style: normal;
  }

  .mobile-market-list .up {
    color: var(--green);
  }

  .mobile-market-list .mobile-cheapest-row {
    border-color: rgba(40, 198, 79, 0.58);
    background:
      linear-gradient(90deg, rgba(40, 198, 79, 0.42), rgba(40, 198, 79, 0.08)),
      rgba(7, 11, 10, 0.84);
  }

  .mobile-market-footer {
    margin-top: 2px;
    padding: 14px;
    color: #d9e4e0;
    font-size: 14px;
    line-height: 1.45;
  }
}
