:root {
  --bg: #000;
  --panel: #0d2228;
  --panel-2: #143941;
  --panel-glass-bg:
    radial-gradient(circle at 90% 0%, rgba(40, 198, 79, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(27, 76, 88, 0.82), rgba(13, 34, 40, 0.96));
  --panel-glass-bg-soft:
    radial-gradient(circle at 90% 0%, rgba(40, 198, 79, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(24, 66, 78, 0.72), rgba(10, 25, 30, 0.94));
  --panel-glass-border: rgba(104, 209, 178, 0.18);
  --panel-glass-shadow:
    0 28px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  --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;
  --insider-blue: #2f9bff;
  --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;
  gap: 18px;
  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));
}

.language-select {
  display: grid;
  gap: 8px;
  width: 100%;
  color: #9ff8b1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.language-select select {
  min-height: 44px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.44);
  color: #fff;
  padding: 0 12px;
  letter-spacing: 0;
  text-transform: none;
}

.gateway-language-select {
  max-width: 260px;
  justify-self: center;
}

.homepage-language-select {
  display: none;
  max-width: 260px;
  justify-self: center;
}

.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;
}

.gateway-auth-panel[hidden] {
  display: none;
}

.gateway-auth-panel {
  margin-top: 18px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(40, 198, 79, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.09), rgba(255, 32, 43, 0.055)),
    rgba(0, 0, 0, 0.3);
}

.gateway-reset-panel {
  border-color: rgba(40, 198, 79, 0.46);
}

.gateway-auth-heading {
  display: grid;
  gap: 8px;
  max-width: 660px;
  margin-bottom: 18px;
}

.gateway-auth-heading span,
.gateway-auth-form label > span {
  color: #9ff8b1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gateway-auth-heading h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 0.95;
  text-transform: uppercase;
}

.gateway-auth-heading p,
.gateway-auth-message {
  margin: 0;
  color: #d9e3df;
  line-height: 1.45;
}

.gateway-auth-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gateway-auth-form label {
  display: grid;
  align-content: start;
  gap: 8px;
}

.gateway-auth-form input[type="email"],
.gateway-auth-form input[type="password"],
.gateway-auth-form input[type="text"] {
  min-height: 52px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.44);
  color: #fff;
  padding: 0 14px;
}

.gateway-password-requirement {
  color: rgba(217, 227, 223, 0.74);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.gateway-remember-row,
.gateway-venue-fields {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gateway-venue-fields[hidden] {
  display: none;
}

.gateway-terms-row,
.gateway-password-help,
.gateway-auth-actions,
.gateway-auth-message {
  grid-column: 1 / -1;
}

.gateway-password-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: -6px;
}

.gateway-password-help[hidden] {
  display: none;
}

.gateway-forgot-password {
  border: 1px solid rgba(159, 248, 177, 0.42);
  border-radius: 8px;
  background: rgba(159, 248, 177, 0.08);
  color: #c8ffd2;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  min-height: 34px;
  padding: 8px 12px;
  text-decoration: none;
}

.gateway-setup-link {
  border-color: #8ef5a4;
  background: #8ef5a4;
  color: #03140c;
}

.gateway-forgot-password:disabled {
  cursor: wait;
  opacity: 0.65;
}

.gateway-remember-row,
.gateway-terms-row {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: #d9e3df;
}

.gateway-remember-row[hidden],
.gateway-terms-row[hidden] {
  display: none !important;
}

.gateway-remember-row input,
.gateway-terms-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.gateway-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gateway-auth-actions button {
  min-width: 150px;
  padding: 0 22px;
}

.gateway-auth-message {
  min-height: 22px;
  color: #9ff8b1;
  font-weight: 700;
}

.gateway-auth-message.is-error {
  color: #ff9aa0;
}

.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-close span,
.nearest-close span::before,
.nearest-close span::after {
  display: block;
}

.nearest-close span {
  position: relative;
  width: 16px;
  height: 16px;
  margin: 0 auto;
}

.nearest-close span::before,
.nearest-close span::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 1px;
  width: 2px;
  height: 14px;
  border-radius: 999px;
  background: currentColor;
}

.nearest-close span::before {
  transform: rotate(45deg);
}

.nearest-close span::after {
  transform: rotate(-45deg);
}

.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.is-installed {
  border-color: rgba(255, 192, 74, 0.36);
  background:
    linear-gradient(135deg, rgba(255, 192, 74, 0.12), rgba(40, 198, 79, 0.06)),
    rgba(0, 0, 0, 0.34);
}

.nearest-result-card[hidden] {
  display: none;
}

.nearest-result-card strong {
  color: #fff;
  font-size: 28px;
}

.nearest-result-card p {
  margin: 0;
  color: #d5dfdb;
}

.nearest-result-card.is-installed > span {
  color: #ffc04a;
}

.nearest-result-card.is-installed #nearest-result-price {
  color: #ffc04a;
}

.nearest-result-card.is-empty {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.34);
}

.nearest-result-card.is-empty > span,
.nearest-result-card.is-empty #nearest-result-price {
  color: #ffc04a;
}

.nearest-result-list {
  display: grid;
  gap: 12px;
}

.nearest-result-item {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(40, 198, 79, 0.22);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.24);
  padding: 14px;
}

.nearest-result-item.is-installed {
  border-color: rgba(255, 192, 74, 0.3);
}

.nearest-result-item > span {
  color: #28c64f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nearest-result-item.is-installed > span,
.nearest-result-item.is-installed small:last-of-type {
  color: #ffc04a;
}

.nearest-result-card .nearest-result-item strong {
  color: #fff;
  font-size: 22px;
  line-height: 1.1;
}

.nearest-result-item small {
  color: rgba(255, 255, 255, 0.64);
}

.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: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.nearest-venue-links a {
  display: inline-grid;
  min-width: 128px;
  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;
  font-size: 13px;
  font-weight: 800;
}

.nearest-venue-links .nearest-live-board-link {
  border-color: rgba(40, 198, 79, 0.8);
  background: #28c64f;
  color: #001b0b;
}

.nearest-venue-links a[href="#"],
.nearest-venue-links a[hidden] {
  display: 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;
}

.home-customer-view .mobile-preview-device {
  width: min(270px, 100%);
  border-radius: 18px;
  border-width: 0;
  background:
    linear-gradient(180deg, rgba(1, 18, 16, 0.74), rgba(0, 8, 7, 0.92)),
    rgba(5, 9, 8, 0.9);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.36), 0 0 42px rgba(40, 198, 79, 0.22);
}

.home-customer-view .mobile-market-view {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 10px;
  width: min(310px, 100%);
  aspect-ratio: 9 / 16.2;
  min-height: 0;
  overflow: hidden;
  border-radius: 18px;
  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.16), transparent 34%),
    #000;
  color: #f8fbfa;
  padding: 11px;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.36), 0 0 42px rgba(40, 198, 79, 0.22);
}

.home-customer-view .demo-mobile-preview {
  grid-template-rows: auto auto minmax(0, 1fr);
  place-items: stretch;
}

.home-customer-view .demo-mobile-preview::before {
  content: none;
}

.home-customer-view .mobile-market-hero {
  display: grid;
  gap: 8px;
  margin: -11px -11px 0;
  padding: 11px;
  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);
}

.home-customer-view .mobile-brand {
  display: flex;
  justify-content: center;
}

.home-customer-view .mobile-brand img {
  width: 100%;
  max-height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(40, 198, 79, 0.3));
}

.home-customer-view .mobile-venue-label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.home-customer-view .mobile-market-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 31px;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}

.home-customer-view .mobile-market-hero h1::after {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 14px rgba(40, 198, 79, 0.52);
}

.home-customer-view .mobile-status-row,
.home-customer-view .mobile-deal-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.home-customer-view .mobile-live-pill,
.home-customer-view .mobile-crash-timer,
.home-customer-view .mobile-deal-strip article {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(7, 11, 10, 0.78);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}

.home-customer-view .mobile-live-pill,
.home-customer-view .mobile-crash-timer {
  display: grid;
  align-content: center;
  min-height: 34px;
  padding: 8px;
  color: #dce7e4;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-customer-view .mobile-live-pill {
  border-color: rgba(40, 198, 79, 0.44);
  color: var(--green);
}

.home-customer-view .mobile-deal-strip article {
  display: grid;
  gap: 3px;
  padding: 10px;
}

.home-customer-view .mobile-deal-strip span,
.home-customer-view .mobile-market-list h2 {
  color: rgba(255, 255, 255, 0.58);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-customer-view .mobile-deal-strip strong {
  color: #fff;
  font-size: 17px;
}

.home-customer-view .mobile-deal-strip b {
  color: var(--insider-blue);
  font-size: 26px;
  line-height: 1;
}

.home-customer-view .mobile-deal-strip .down,
.home-customer-view .mobile-market-list .down,
.home-customer-view .mobile-market-list a.mobile-price-down strong {
  color: var(--red);
}

.home-customer-view .mobile-market-list .up,
.home-customer-view .mobile-market-list a.mobile-price-up strong {
  color: var(--green);
}

.home-customer-view .mobile-market-list {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 0;
  overflow: hidden;
  padding-right: 2px;
}

.home-customer-view .mobile-market-list section {
  display: grid;
  gap: 6px;
}

.home-customer-view .mobile-market-list h2 {
  margin: 0;
  color: var(--green);
}

.home-customer-view .mobile-market-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 8px;
  align-items: center;
  min-height: 48px;
  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;
}

.home-customer-view .mobile-market-list a span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-customer-view .mobile-market-list a strong {
  font-size: 18px;
}

.home-customer-view .mobile-market-list em {
  grid-column: 2;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-style: normal;
}

.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-panel .homepage-tv-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  border-radius: 8px;
}

.homepage-tv-preview .market-mover-spotlight {
  display: none;
}

.homepage-tv-preview .market-signal-panel,
.homepage-tv-preview .market-signal-panel.rising,
.homepage-tv-preview .market-signal-panel.falling {
  right: clamp(18px, 2.5vw, 34px);
  min-width: clamp(150px, 17vw, 220px);
  max-width: clamp(170px, 20vw, 250px);
  gap: 3px;
  padding: clamp(8px, 1vw, 12px) clamp(10px, 1.2vw, 14px);
}

.homepage-tv-preview .market-signal-panel.falling {
  bottom: clamp(76px, 14vh, 122px);
}

.homepage-tv-preview .market-signal-panel.rising {
  bottom: clamp(18px, 4vh, 44px);
}

.homepage-tv-preview .market-signal-panel span {
  font-size: clamp(6px, 0.62vw, 9px);
}

.homepage-tv-preview .market-signal-panel strong {
  font-size: clamp(13px, 1.45vw, 21px);
}

.homepage-tv-preview .market-signal-panel b {
  font-size: clamp(16px, 1.8vw, 26px);
}

.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;
}

.home-market-flow {
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.14), rgba(255, 32, 43, 0.06)),
    rgba(5, 12, 10, 0.92);
}

.home-market-flow-heading {
  display: grid;
  gap: 14px;
  max-width: 780px;
}

.home-panel .home-market-flow-heading span {
  color: var(--green);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-panel .home-market-flow-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1;
  text-transform: none;
}

.home-panel .home-market-flow-heading p {
  margin: 0;
  color: #c8d3d0;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.45;
}

.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;
}

.home-panel .home-market-flow-heading h2 {
  color: #fff;
  font-size: clamp(32px, 3.8vw, 52px);
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.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-provider-grid .field {
  position: relative;
}

.pos-provider-select-logo {
  display: block;
  width: 82px;
  height: 28px;
  margin-bottom: 7px;
  object-fit: contain;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.78);
}

.pos-strip {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  align-items: stretch;
}

.pos-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 82px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  background: #fff;
  color: #06283a;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
  text-align: center;
  overflow: hidden;
}

.pos-strip > .pos-logo {
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: #fff;
  padding: 10px 16px;
}

.pos-logo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 58px;
  filter: none;
  mix-blend-mode: normal;
  object-fit: contain;
  opacity: 1;
}

.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;
}

.pos-contact-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(40, 198, 79, 0.18);
  border-radius: 10px;
  background: rgba(40, 198, 79, 0.055);
}

.pos-contact-prompt p {
  margin: 0;
  color: #d9e3df;
  font-size: 14px;
  line-height: 1.45;
}

.pos-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--green);
  color: #031008;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  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;
}

.pos-agent-package-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
  padding: 16px;
  border: 1px solid rgba(40, 198, 79, 0.2);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.11), rgba(40, 198, 79, 0.03)),
    rgba(0, 0, 0, 0.13);
}

.pos-agent-package-row small {
  flex: 1 1 260px;
  color: #d2e6df;
  font-size: 13px;
  line-height: 1.4;
}

.lightspeed-web-extension-row .venue-link-actions {
  flex: 0 0 auto;
  width: auto;
  margin-left: auto;
  align-self: flex-end;
  justify-content: flex-end;
}

.lightspeed-web-extension-row .venue-link-actions .secondary-button {
  min-width: 88px;
}

.pos-agent-download-status {
  flex: 1 1 220px;
  color: #bfeede;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.pos-agent-download-status[data-tone="issue"] {
  color: #ff8b8b;
}

.pos-agent-download-status[data-tone="success"] {
  color: #2be66b;
}

.square-connect-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 8px 0 12px;
  background: transparent;
}

.square-connect-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 360px);
  min-height: 58px;
  padding: 0 28px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  box-shadow: 0 16px 34px rgba(40, 198, 79, 0.2);
}

.square-manual-settings {
  grid-column: 1 / -1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.12);
}

.square-manual-settings summary {
  cursor: pointer;
  padding: 12px 14px;
  color: #a8d7c8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.square-manual-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 14px 14px;
}

.pos-agent-download-button {
  min-width: 260px;
  min-height: 46px;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(40, 198, 79, 0.14);
}

.secondary-button.disabled,
.secondary-button[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

.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;
}

.mobile-live-admin-bar {
  display: none;
}

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);
  cursor: pointer;
  text-decoration: none;
  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.demo-locked,
.nav-item.demo-locked:hover,
.primary-button.demo-locked,
.secondary-button.demo-locked {
  cursor: pointer;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(248, 251, 250, 0.34);
  box-shadow: none;
  opacity: 1;
  transform: none;
}

.nav-item.demo-locked .nav-link-dot {
  background: rgba(248, 251, 250, 0.22);
  box-shadow: 0 0 0 4px rgba(248, 251, 250, 0.04);
}

.nav-item.demo-locked strong::after,
.primary-button.demo-locked::after,
.secondary-button.demo-locked::after {
  content: "Licensed";
  margin-left: 8px;
  color: #ffc04a;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.demo-dashboard .nav-item.demo-locked strong::after,
body.demo-dashboard .primary-button.demo-locked::after,
body.demo-dashboard .secondary-button.demo-locked::after {
  content: none;
}

.screen.demo-preview-locked {
  position: relative;
}

.screen.demo-preview-locked .screen-heading::after {
  content: "Demo preview";
  display: none;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(255, 192, 74, 0.38);
  border-radius: 999px;
  background: rgba(255, 192, 74, 0.1);
  color: #ffc04a;
  padding: 0 12px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#media.demo-preview-locked .screen-heading::after,
#history.demo-preview-locked .screen-heading::after {
  display: none;
}

.screen.demo-preview-locked .demo-control-locked,
.screen.demo-preview-locked .demo-control-locked:hover {
  cursor: not-allowed;
  filter: grayscale(0.55);
  opacity: 0.45;
  pointer-events: none;
}

.screen.demo-preview-locked input.demo-control-locked,
.screen.demo-preview-locked select.demo-control-locked,
.screen.demo-preview-locked textarea.demo-control-locked {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(248, 251, 250, 0.48);
}

.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;
}

[hidden] {
  display: none !important;
}

[data-admin-only],
.nav-item[data-screen="venue-support"],
.nav-item[data-screen="venue-approvals"],
body:not(.admin-dashboard) #venue-support,
body:not(.admin-dashboard) #venue-approvals {
  display: none !important;
}

body.admin-dashboard .nav-item[data-screen="venue-support"],
body.admin-dashboard .nav-item[data-screen="venue-approvals"] {
  display: flex !important;
}

.admin-assist-banner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(40, 198, 79, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.2), rgba(246, 189, 59, 0.08)),
    rgba(5, 20, 12, 0.9);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.admin-assist-banner span {
  display: block;
  margin-bottom: 5px;
  color: #9ff8b1;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-assist-banner strong {
  display: block;
  color: var(--text);
  font-size: 18px;
}

.admin-assist-banner small {
  display: block;
  margin-top: 5px;
  color: rgba(236, 244, 241, 0.78);
}

.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;
  min-height: 58px;
  padding-right: 168px;
}

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);
}

body.dashboard-visible .screen-heading h1 {
  color: #fff;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  text-shadow: none;
}

.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: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  align-self: end;
}

.screen-help-stack .live-badge {
  min-height: 48px;
  padding: 0 18px;
}

.screen.active .license-status-badge {
  position: fixed;
  top: 58px;
  right: clamp(24px, 7vw, 90px);
  z-index: 40;
}

.screen.active .jam-help-button {
  position: fixed;
  top: 58px;
  right: calc(clamp(24px, 7vw, 90px) + 126px);
  z-index: 40;
}

body.demo-dashboard .screen.active .jam-help-button {
  right: calc(clamp(24px, 7vw, 90px) + 178px);
}

.demo-media-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 1px solid rgba(40, 198, 79, 0.55);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(40, 198, 79, 0.14), rgba(255, 32, 43, 0.16));
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(28px, 4vw, 58px);
  font-weight: 950;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.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,
.support-details-modal 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;
}

.confirmation-modal[hidden] {
  display: none;
}

.support-details-modal[hidden] {
  display: none;
}

.support-details-modal {
  position: fixed;
  inset: 0;
  z-index: 92;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 70% 18%, rgba(40, 198, 79, 0.15), transparent 32%),
    rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

.support-details-card {
  display: grid;
  gap: 18px;
  width: min(980px, 100%);
  max-height: min(88vh, 860px);
  overflow: auto;
  border: 1px solid rgba(40, 198, 79, 0.42);
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 32, 43, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(40, 198, 79, 0.1), rgba(255, 32, 43, 0.07)),
    rgba(7, 10, 9, 0.98);
  padding: clamp(18px, 2.5vw, 30px);
  color: var(--text);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.support-details-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.support-details-header span,
.support-details-grid span {
  display: block;
  color: #9ff8b1;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.support-details-header h2 {
  margin: 6px 0 0;
  color: #fff;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 0.95;
}

.support-details-body {
  display: grid;
  gap: 18px;
}

.support-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.support-details-grid > div,
.support-details-section {
  border: 1px solid rgba(104, 209, 178, 0.18);
  border-radius: 8px;
  background: rgba(5, 10, 10, 0.64);
  padding: 14px;
}

.support-details-grid strong {
  display: block;
  margin-top: 7px;
  color: var(--text);
  overflow-wrap: anywhere;
}

.support-details-section {
  display: grid;
  gap: 12px;
}

.support-details-section h3 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  text-transform: uppercase;
  text-decoration: underline;
}

.confirmation-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 32, 43, 0.16), transparent 36%),
    rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

.confirmation-card {
  display: grid;
  gap: 16px;
  width: min(520px, 100%);
  border: 1px solid rgba(255, 32, 43, 0.42);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 32, 43, 0.2), transparent 34%),
    linear-gradient(145deg, rgba(40, 198, 79, 0.08), rgba(255, 32, 43, 0.08)),
    rgba(7, 10, 9, 0.98);
  padding: clamp(22px, 2.5vw, 34px);
  color: var(--text);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.confirmation-card > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.confirmation-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 0.95;
}

.confirmation-card p {
  margin: 0;
  color: #dce7e3;
  font-size: 17px;
  line-height: 1.45;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

.danger-button {
  border-color: rgba(255, 32, 43, 0.72);
  background: linear-gradient(135deg, #ff202b, #8c030a);
  color: #fff;
}

.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 var(--panel-glass-border);
  border-radius: 8px;
  background: var(--panel-glass-bg-soft);
  box-shadow: var(--panel-glass-shadow);
  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 var(--panel-glass-border);
  border-radius: 8px;
  background: var(--panel-glass-bg-soft);
  box-shadow: var(--panel-glass-shadow);
  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: var(--panel-glass-bg);
}

#overview {
  min-height: calc(100vh - 48px);
  background:
    radial-gradient(circle at 16% 100%, rgba(40, 198, 79, 0.14), transparent 30%),
    radial-gradient(circle at 96% 4%, rgba(255, 122, 47, 0.14), transparent 28%);
}

#overview .screen-heading::after {
  display: none;
}

.overview-ignite-heading {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  margin-bottom: 34px;
}

.overview-ignite-heading h1 {
  max-width: none;
}

.overview-ignite-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(100%, 1010px);
  margin-bottom: 16px;
}

#overview .license-status-badge {
  border-color: #ff6b2b;
  background: linear-gradient(135deg, rgba(255, 214, 74, 0.9), rgba(255, 122, 47, 0.86));
  color: #071f2a;
  box-shadow: 0 16px 46px rgba(255, 122, 47, 0.22);
}

.overview-ignite-card,
.overview-ignite-range {
  border: 1px solid var(--panel-glass-border);
  border-radius: 20px;
  background: var(--panel-glass-bg);
  box-shadow: var(--panel-glass-shadow);
}

.overview-ignite-card {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 150px;
  padding: 22px;
}

.overview-ignite-card > span,
.overview-ignite-periods b,
.overview-ignite-range > div > span,
.overview-ignite-range label span {
  color: #aee7d7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.overview-ignite-periods {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.overview-ignite-periods div {
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.overview-ignite-periods strong {
  min-width: 0;
  color: #fff;
  max-width: 100%;
  font-size: clamp(22px, 2.05vw, 34px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  overflow-wrap: normal;
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.overview-ignite-periods div:nth-child(2) strong {
  color: rgba(255, 255, 255, 0.74);
}

.overview-ignite-range {
  grid-template-columns: minmax(260px, 1fr) 180px 180px auto;
  gap: 20px;
  align-items: end;
  width: min(100%, 1010px);
  margin: 0;
  padding: 28px 22px;
}

.overview-ignite-range p {
  margin: 10px 0 0;
  color: #c6d6d2;
  font-size: 16px;
}

.overview-ignite-range .overview-range-results {
  color: var(--green);
}

.overview-ignite-range input {
  min-height: 50px;
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
}

.overview-ignite-actions {
  display: flex;
  gap: 12px;
}

@media (max-width: 1100px) {
  .overview-ignite-stats,
  .overview-ignite-range {
    width: 100%;
  }

  .overview-ignite-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .overview-ignite-range {
    grid-template-columns: 1fr 1fr;
  }

  .overview-ignite-range > div,
  .overview-ignite-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .overview-ignite-heading,
  .overview-ignite-stats,
  .overview-ignite-range {
    grid-template-columns: 1fr;
  }

  .overview-ignite-heading {
    gap: 18px;
  }

  .overview-ignite-heading .license-status-badge {
    justify-self: start;
  }

  .overview-ignite-actions {
    flex-direction: column;
  }
}

.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 var(--panel-glass-border);
  border-radius: 8px;
  background: var(--panel-glass-bg-soft);
  box-shadow: var(--panel-glass-shadow);
}

.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: var(--panel-glass-bg-soft);
}

.build-controls-card {
  padding: 24px 26px;
}

.event-name-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) 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(220px, 1.25fr) minmax(130px, 0.55fr) minmax(220px, 0.95fr) minmax(132px, 0.5fr);
  gap: clamp(18px, 3vw, 56px);
  align-items: center;
  min-height: 58px;
  padding: 12px 0;
  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 {
  color: var(--muted);
  white-space: nowrap;
}

.history-event-products {
  text-align: left;
}

.history-row > span:nth-child(2),
.history-row > span:nth-child(3) {
  color: var(--muted);
  white-space: nowrap;
}

.history-row > span:nth-child(3) {
  text-align: left;
}

.history-event-action {
  display: flex;
  justify-content: flex-start;
}

.history-row > span:last-child {
  display: flex;
  justify-content: flex-start;
}

.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)),
    var(--panel-glass-bg);
}

.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;
}

.live-event-picker {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(220px, 1fr);
  align-items: end;
  gap: 14px;
  margin-bottom: 18px;
}

.live-event-picker label {
  display: grid;
  gap: 8px;
}

.live-event-picker label span {
  color: var(--green-bright);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.live-event-picker small {
  color: var(--muted);
  line-height: 1.35;
  padding-bottom: 10px;
}

.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: var(--panel-glass-bg-soft);
}

.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;
}

.live-product-name-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.live-product-name-cell .live-remove-product {
  flex: 0 0 auto;
}

.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;
}

.icrtouch-price-level-warning {
  margin: 12px 0 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 190, 62, 0.78);
  border-radius: 8px;
  background: rgba(255, 190, 62, 0.14);
  color: #ffe7a6;
  box-shadow: 0 0 22px rgba(255, 190, 62, 0.12);
}

.icrtouch-price-level-warning strong,
.icrtouch-price-level-warning span {
  display: block;
}

.icrtouch-price-level-warning strong {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.icrtouch-price-level-warning span {
  margin-top: 4px;
  color: rgba(255, 246, 218, 0.84);
  font-size: 0.78rem;
  line-height: 1.35;
}

.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;
}

#send-manager-test-email.is-working {
  border-color: rgba(40, 198, 79, 0.72);
  background: linear-gradient(90deg, rgba(40, 198, 79, 0.34), rgba(255, 255, 255, 0.08), rgba(40, 198, 79, 0.34));
  background-size: 220% 100%;
  color: #fff;
  animation: testEmailButtonWorking 1s linear infinite;
}

#send-manager-test-email.is-complete {
  border-color: rgba(40, 198, 79, 0.9);
  background: var(--green);
  color: #06140f;
}

@keyframes testEmailButtonWorking {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 220% 0;
  }
}

.manager-alerts-panel {
  display: grid;
  grid-column: 1 / -1;
  gap: 20px;
  align-content: start;
  background:
    radial-gradient(circle at 12% 0%, rgba(40, 198, 79, 0.13), transparent 38%),
    linear-gradient(135deg, rgba(40, 198, 79, 0.08), rgba(255, 32, 43, 0.04)),
    rgba(255, 255, 255, 0.035);
}

.manager-alerts-heading,
.instagram-publishing-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.manager-alerts-heading h2,
.instagram-publishing-header h2 {
  margin: 6px 0 0;
  color: var(--text);
  font-size: clamp(20px, 1.5vw, 26px);
  font-weight: 700;
  letter-spacing: 0;
}

.manager-alerts-heading p {
  max-width: 720px;
  margin: 8px 0 0;
  color: rgba(236, 244, 241, 0.82);
  line-height: 1.45;
}

.manager-alerts-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr);
  gap: 16px;
  align-items: end;
}

.manager-email-field {
  margin: 0;
}

.manager-email-status-card {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 100%;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(2, 31, 24, 0.45);
}

.manager-email-status-card .section-kicker {
  display: block;
}

.manager-email-status-card strong {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(40, 198, 79, 0.16);
  color: var(--green);
  font-size: 15px;
  font-weight: 700;
}

.manager-email-status-card p {
  margin: 10px 0 0;
  color: rgba(236, 244, 241, 0.82);
  font-size: 14px;
  line-height: 1.4;
}

.manager-alert-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.manager-alert-options label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 96px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.manager-alert-options input,
.instagram-repost-actions input,
.instagram-autopublish-toggle input {
  accent-color: var(--green);
}

.manager-alert-options strong {
  display: block;
  color: var(--text);
  font-size: 16px;
}

.manager-alert-options em {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.35;
}

.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;
}

.live-feedback-message:empty {
  display: none;
}

.run-status-card {
  min-height: 280px;
}

.status-mark {
  position: absolute;
  right: 46px;
  top: 50%;
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
  transform: translateY(-50%);
  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(--green);
  font-size: 46px;
  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.52);
  background: linear-gradient(135deg, rgba(40, 198, 79, 0.22), rgba(40, 198, 79, 0.08));
  color: #fff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.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));
  color: #fff;
  font-weight: 950;
}

.history-row.incompatible-pos-event {
  opacity: 0.48;
  filter: grayscale(0.85);
}

.history-row.incompatible-pos-event .run-again-button {
  cursor: not-allowed;
  opacity: 0.56;
}

.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;
  line-height: 1.05;
  text-align: center;
}

.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(170px, 1.35fr) minmax(120px, 0.9fr) repeat(4, minmax(94px, 0.7fr));
  gap: 10px;
  margin-bottom: 12px;
}

.price-editor-grid label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.price-editor-grid span {
  color: var(--green-bright);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.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: minmax(128px, 150px) minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  margin-bottom: 12px;
}

.crash-editor-grid > label {
  display: grid;
  gap: 7px;
}

.crash-editor-grid input[type="time"] {
  width: 100%;
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(40, 198, 79, 0.26);
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.08), rgba(255, 255, 255, 0.025)),
    #020706;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0 14px;
}

.crash-editor-grid input[type="time"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(1);
  opacity: 0.7;
}

.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(180px, 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: 9px;
  align-items: center;
  min-height: 44px;
  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;
  color: var(--text);
  line-height: 1.15;
  overflow-wrap: anywhere;
  white-space: normal;
}

.crash-product-option small {
  display: none;
}

.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: #ff6b2b;
  background: linear-gradient(135deg, rgba(255, 214, 74, 0.9), rgba(255, 122, 47, 0.86));
  color: #071f2a;
  box-shadow: 0 16px 46px rgba(255, 122, 47, 0.22);
}

.license-status-badge.is-demo {
  position: relative;
  gap: 9px;
  min-height: 48px;
  border: 2px solid #ff6b2b;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 214, 74, 0.9), rgba(255, 122, 47, 0.86));
  color: #071f2a;
  padding: 0 18px;
  box-shadow: 0 16px 40px rgba(255, 122, 47, 0.22);
}

.license-status-badge.is-demo::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 4px solid rgba(4, 22, 31, 0.18);
  border-radius: 999px;
  background: #082837;
}

.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;
  z-index: 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: " " attr(data-repeat);
  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(--insider-blue);
  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(--insider-blue);
  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%;
    opacity: 0.56;
    filter: brightness(0.92) saturate(1.12);
  }
  50% {
    opacity: 0.7;
    filter: brightness(1.02) saturate(1.2);
  }
  100% {
    background-position: 10px -4px, 16px 0, -18px 0, 50% 98%;
    opacity: 0.62;
    filter: brightness(0.96) saturate(1.16);
  }
}

@keyframes marketClosedFloor {
  0% {
    background-position: 0 0, 0 0;
    opacity: 0.62;
    filter: brightness(0.9);
  }
  50% {
    opacity: 0.7;
    filter: brightness(1.02);
  }
  100% {
    background-position: 0 0, 18px -9px;
    opacity: 0.62;
    filter: brightness(0.9);
  }
}

@keyframes marketClosedGlow {
  from {
    opacity: 0.56;
    transform: skewX(8deg) scaleX(0.94);
  }
  to {
    opacity: 1;
    transform: skewX(8deg) scaleX(1.04);
  }
}

@keyframes marketStateFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
    filter: blur(5px) brightness(0.75);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0) brightness(1);
  }
}

@keyframes closedStateSettle {
  from {
    filter: brightness(1.25) saturate(1.4);
  }
  to {
    filter: brightness(1) saturate(1);
  }
}

@keyframes marketClosedTitleEnter {
  0% {
    opacity: 0;
    transform: translateY(-26px) scale(1.04);
    filter: blur(8px) brightness(1.7);
  }
  58% {
    opacity: 1;
    transform: translateY(4px) scale(1);
    filter: blur(0) brightness(1.16);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0) brightness(1);
  }
}

@keyframes countdownPanelEnter {
  from {
    opacity: 0;
    transform: translate(-50%, -42%) scale(0.94);
    filter: blur(7px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0);
  }
}

@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: stretch;
}

.media-studio-layout {
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(620px, 1580px);
  grid-template-areas:
    "upload preview"
    "queue preview";
  gap: 22px;
  align-items: start;
}

.media-preview-panel {
  grid-area: preview;
  align-self: start;
}

.media-upload-panel {
  grid-area: upload;
}

.media-library-panel {
  grid-area: queue;
}

.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: 160px;
  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: 22px;
  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(20px, 1.8vw, 28px);
  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: 1fr;
  gap: 14px;
  margin-top: 18px;
}

.media-asset-list {
  display: grid;
  gap: 12px;
}

.media-asset-list article {
  display: grid;
  grid-template-columns: 64px 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;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.media-asset-actions {
  display: grid;
  gap: 8px;
  min-width: 92px;
}

.media-asset-actions .secondary-button {
  min-height: 38px;
}

.media-remove-button {
  border-color: rgba(255, 32, 43, 0.38);
  color: #ffd6d8;
}

.media-remove-button:hover {
  border-color: rgba(255, 32, 43, 0.68);
  background: rgba(255, 32, 43, 0.14);
}

.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 article.is-active {
  border-color: rgba(40, 198, 79, 0.72);
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 0 3px rgba(40, 198, 79, 0.08);
}

.media-asset-list article:focus-visible {
  outline: 2px solid rgba(40, 198, 79, 0.78);
  outline-offset: 3px;
}

.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: block;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  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-tv-preview .price-board {
  opacity: 0.62;
  filter: brightness(0.68);
}

.media-tv-preview .cheapest-callout,
.media-tv-preview .market-signal-panel {
  transform: scale(0.9);
  transform-origin: top right;
}

.media-preview-frame {
  position: absolute;
  inset: 24% 16% 15%;
  z-index: 8;
  display: grid;
  gap: 10px;
  align-content: center;
  width: auto;
  min-height: 0;
  place-items: center;
  border: 1px solid rgba(40, 198, 79, 0.62);
  border-radius: 16px;
  background:
    radial-gradient(circle at 26% 22%, rgba(255, 255, 255, 0.2), transparent 18%),
    radial-gradient(circle at 72% 36%, rgba(255, 32, 43, 0.34), transparent 28%),
    linear-gradient(135deg, rgba(40, 198, 79, 0.74), rgba(12, 22, 17, 0.9) 44%, rgba(255, 32, 43, 0.72)),
    rgba(0, 0, 0, 0.84);
  text-align: center;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.68),
    0 0 70px rgba(40, 198, 79, 0.22);
  backdrop-filter: blur(10px);
}

.media-preview-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.34);
}

.media-preview-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.42));
}

.media-preview-live {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-preview-image {
  background-position: center;
  background-size: cover;
}

.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;
}

.link-icon {
  position: relative;
  font-size: 0;
}

.link-icon::before {
  content: "";
  width: 21px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.link-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 9px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
  box-shadow: 0 -4px 0 -1px currentColor;
}

.venue-link-row {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: stretch;
  gap: 14px;
  min-width: 0;
  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);
  padding: 18px;
}

.visual-link-panel,
.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-text {
  display: block;
  color: var(--green);
  min-width: 0;
  font-size: clamp(10px, 0.82vw, 14px);
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-check-copy {
  max-width: 820px;
  margin: 8px 0 18px;
  color: rgba(236, 244, 241, 0.72);
  line-height: 1.5;
}

.history-event-products small {
  display: block;
  margin-top: 4px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.venue-link-actions {
  display: flex;
  width: 100%;
  gap: 10px;
  flex-wrap: nowrap;
  justify-content: center;
}

.venue-open-button {
  display: inline-grid;
  flex: 1 1 0;
  min-width: 76px;
  min-height: 44px;
  place-items: center;
  text-decoration: none;
}

.venue-copy-button {
  flex: 1 1 0;
  min-width: 76px;
  min-height: 44px;
}

.visual-link-panel > span,
.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: 18px;
  font-size: clamp(13px, 1.25vw, 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 {
  display: grid;
  gap: 5px;
  justify-items: center;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.mobile-preview-top img {
  width: 100%;
  max-height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(40, 198, 79, 0.34));
}

.mobile-preview-top span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.mobile-preview-top strong {
  font-size: 14px;
}

.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.84);
  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;
}

.inline-link-mark {
  display: inline-flex;
  margin-left: 8px;
  font-size: 14px;
}

.tv-preview-panel {
  padding: 24px;
  width: min(100%, 1580px);
  justify-self: start;
  display: flex;
  flex-direction: column;
}

.orientation-toggle {
  display: inline-flex;
  gap: 4px;
  border: 1px solid rgba(40, 198, 79, 0.24);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  padding: 4px;
}

.orientation-toggle button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(236, 244, 241, 0.72);
  padding: 0 14px;
  font-weight: 800;
}

.orientation-toggle button.active {
  background: rgba(40, 198, 79, 0.18);
  color: var(--green);
}

.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;
  aspect-ratio: 16 / 9;
  min-height: 0;
  max-height: none;
  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;
}

.tv-preview-panel .tv-preview.visual-preview-portrait {
  width: min(420px, 100%);
  min-height: 620px;
  aspect-ratio: 9 / 16;
  justify-self: center;
  margin-inline: auto;
}

@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;
  }

  .logo-upload-row {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.7fr);
  }

  .venue-link-row,
  .mobile-url {
    gap: 12px;
    padding: 16px;
  }

  .venue-url-text {
    font-size: clamp(12px, 2.4vw, 16px);
  }

  .history-row {
    grid-template-columns: minmax(150px, 1.1fr) minmax(92px, 0.5fr) minmax(150px, 0.85fr) minmax(64px, 0.35fr) minmax(104px, 0.45fr);
    gap: 14px;
  }

  .tv-preview-panel .tv-preview {
    min-height: 0;
    max-height: none;
  }
}

.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(260px, 0.32fr) minmax(560px, 1fr) minmax(340px, 0.46fr);
  gap: 20px;
  align-items: start;
}

.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: 0;
}

.branding-experience-builder {
  margin-top: 18px;
}

.builder-helper-copy {
  margin: 0 0 18px;
  color: rgba(248, 251, 250, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.branding-preview-hero {
  position: sticky;
  top: 18px;
  min-height: 0;
}

.theme-preset-list {
  display: grid;
  gap: 10px;
}

.theme-preset {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 4px 12px;
  width: 100%;
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(40, 198, 79, 0.035));
  color: var(--text);
  padding: 14px;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.theme-preset b {
  align-self: end;
  font-weight: 900;
}

.theme-preset small {
  grid-column: 2;
  line-height: 1.35;
}

.theme-preset em {
  grid-column: 2;
  color: var(--green);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preset-preview {
  grid-row: 1 / span 3;
  display: block;
  width: 54px;
  height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: #020606;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.04);
}

.preset-preview.market {
  background:
    radial-gradient(circle at 20% 72%, rgba(40, 198, 79, 0.85), transparent 34%),
    radial-gradient(circle at 74% 30%, rgba(255, 32, 43, 0.76), transparent 40%),
    #020606;
}

.preset-preview.nightclub {
  background:
    linear-gradient(90deg, rgba(34, 245, 95, 0.36) 1px, transparent 1px),
    linear-gradient(rgba(255, 31, 109, 0.22) 1px, transparent 1px),
    #05000d;
  background-size: 10px 10px;
}

.preset-preview.sports {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.09) 0 2px, transparent 2px 9px),
    linear-gradient(135deg, rgba(49, 230, 93, 0.5), rgba(0, 0, 0, 0.2)),
    #031109;
}

.preset-preview.cocktail {
  background:
    radial-gradient(circle at 30% 24%, rgba(217, 180, 106, 0.68), transparent 36%),
    radial-gradient(circle at 80% 76%, rgba(229, 72, 88, 0.44), transparent 40%),
    #09030c;
}

.preset-preview.premium {
  background:
    linear-gradient(135deg, rgba(255, 206, 99, 0.34), transparent 40%),
    radial-gradient(circle at 66% 74%, rgba(40, 198, 79, 0.26), transparent 38%),
    #090805;
}

.preset-preview.minimal {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 2px),
    #020202;
  background-size: 100% 18px;
}

.preset-preview.boxes {
  background:
    linear-gradient(90deg, transparent 24%, #050808 24% 28%, transparent 28% 49%, #050808 49% 53%, transparent 53% 74%, #050808 74% 78%, transparent 78%),
    linear-gradient(180deg, rgba(191, 139, 0, 0.74) 0 46%, #050808 46% 52%, rgba(0, 116, 105, 0.78) 52% 100%);
}

.preset-preview.strips {
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 12px),
    linear-gradient(90deg, rgba(191, 139, 0, 0.84), rgba(0, 0, 0, 0.9) 44%, rgba(0, 116, 105, 0.72));
}

.preset-preview.minimal-grid {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    radial-gradient(circle at 20% 20%, rgba(191, 139, 0, 0.52), transparent 34%),
    #020808;
  background-size: 18px 18px, 18px 18px, auto, auto;
}

.theme-context-options {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.theme-option-panel {
  display: none;
  gap: 12px;
  border: 1px solid rgba(40, 198, 79, 0.24);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.28);
  padding: 14px;
}

.theme-option-panel.active {
  display: grid;
}

.theme-option-panel strong {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.theme-option-panel label {
  display: grid;
  gap: 7px;
}

.theme-option-panel label span {
  color: var(--green-bright);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.theme-option-panel select {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  padding: 0 10px;
}

.theme-option-checkbox {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.theme-option-checkbox input {
  width: 18px;
  height: 18px;
}

.theme-tv-preview.market-signal-minimal .market-signal-panel {
  display: none !important;
}

.theme-tv-preview.market-energy-high {
  filter: saturate(1.18) contrast(1.06);
}

.theme-tv-preview.neon-high-glow {
  box-shadow:
    inset 0 0 120px rgba(0, 0, 0, 0.42),
    0 0 54px rgba(34, 245, 95, 0.2),
    0 0 84px rgba(255, 31, 109, 0.16);
}

.theme-tv-preview.neon-grid-still .animated-market-bg span,
.theme-tv-preview.neon-grid-still .ticker-track,
.theme-tv-preview.neon-grid-still .instruction-track {
  animation-play-state: paused;
}

.theme-tv-preview.boxes-straight .price-board span:not(.category-header),
.theme-tv-preview.boxes-straight .price-board strong {
  margin-inline: 0;
  transform: none;
}

.theme-tv-preview.boxes-compact .price-board span:not(.category-header) {
  font-size: clamp(14px, 1.55vw, 28px);
}

.theme-tv-preview.boxes-compact .price-board strong {
  font-size: clamp(24px, 3.4vw, 62px);
}

.theme-tv-preview.strip-compact .price-board span:not(.category-header),
.theme-tv-preview.strip-compact .price-board strong {
  padding-block: 5px;
}

.theme-tv-preview.minimal-dense .price-board {
  gap: 1px;
}

.theme-tv-preview.minimal-static .ticker-track,
.theme-tv-preview.minimal-static .instruction-track,
.theme-tv-preview.minimal-static .animated-market-bg span {
  animation: none !important;
}
.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);
  transform: translateY(-1px);
}

.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);
}

.branding-control-panel {
  display: grid;
  gap: 14px;
}

.branding-control-section {
  overflow: hidden;
  border: 1px solid rgba(40, 198, 79, 0.18);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.2);
}

.branding-control-section summary {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 2px 12px;
  align-items: center;
  padding: 14px;
  cursor: pointer;
  list-style: none;
}

.branding-control-section summary::-webkit-details-marker {
  display: none;
}

.branding-control-section summary span {
  grid-row: 1 / span 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: rgba(40, 198, 79, 0.12);
  color: var(--green);
  font-weight: 900;
}

.branding-control-section summary strong {
  color: #fff;
  font-size: 16px;
}

.branding-control-section summary small {
  color: rgba(248, 251, 250, 0.64);
  line-height: 1.35;
}

.branding-control-section[open] {
  border-color: rgba(40, 198, 79, 0.42);
  background: linear-gradient(135deg, rgba(40, 198, 79, 0.08), rgba(0, 0, 0, 0.24));
}

.branding-control-section[open] > :not(summary) {
  margin: 0 14px 14px;
}

.branding-essentials-grid {
  display: grid;
  gap: 14px;
}

.branding-output-grid {
  grid-template-columns: minmax(0, 1fr);
}

.logo-upload-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 12px;
  align-items: start;
}

.logo-upload-box {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 0;
  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 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.logo-upload-box strong {
  color: var(--text);
  line-height: 1.2;
}

.logo-upload-box > div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.logo-upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  width: 100%;
  border: 1px solid rgba(40, 198, 79, 0.44);
  border-radius: 10px;
  background: rgba(40, 198, 79, 0.12);
  color: var(--green);
  font-size: 15px;
  font-weight: 900;
}

.logo-upload-box small {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#branding .trader-logo-upload {
  align-items: start;
}

#branding .trader-logo-upload #venue-logo-preview {
  display: none;
  width: min(100%, 260px);
  max-width: 260px;
  height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.08) 25%, transparent 25% 75%, rgba(255, 255, 255, 0.08) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.08) 25%, transparent 25% 75%, rgba(255, 255, 255, 0.08) 75%),
    rgba(0, 0, 0, 0.28);
  background-position: 0 0, 8px 8px, 0 0;
  background-size: 16px 16px, 16px 16px, auto;
  object-fit: contain;
  padding: 10px;
}

#branding .trader-logo-upload #venue-logo-preview[src] {
  display: block;
}

.board-title-graphic-control input {
  min-height: 42px;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(40, 198, 79, 0.24);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--text);
  padding: 8px;
}

.board-title-graphic-control small {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logo-preview-tile {
  display: grid;
  gap: 10px;
  min-height: 100%;
  align-content: center;
  justify-items: center;
  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,
.colour-mood-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;
}

.colour-mood-grid label {
  min-width: 0;
}

.colour-mood-grid input[type="color"] {
  height: 48px;
  padding: 4px;
}

.branding-hidden-select {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.visual-selector-group {
  display: grid;
  gap: 8px;
}

.visual-selector-group > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-selector-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.visual-selector-option,
.output-format-tabs button {
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  padding: 10px;
  text-align: left;
}

.visual-selector-option b {
  display: block;
  margin-bottom: 4px;
}

.visual-selector-option small {
  color: var(--muted);
  line-height: 1.25;
}

.visual-selector-option.active,
.output-format-tabs button.active {
  border-color: rgba(40, 198, 79, 0.58);
  background: rgba(40, 198, 79, 0.13);
  color: var(--green);
  box-shadow: inset 0 -3px 0 rgba(40, 198, 79, 0.42);
}

.output-format-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.output-format-tabs button {
  min-height: 46px;
  text-align: center;
  font-weight: 900;
}

.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;
}

#branding {
  --branding-rail: 220px;
  --branding-settings: 280px;
}

.branding-console-shell {
  display: grid;
  gap: 14px;
  min-height: calc(100vh - 148px);
}

.branding-console-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
}

.branding-console-title {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.branding-console-title h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(22px, 2vw, 34px);
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.branding-console-title .screen-intro {
  max-width: 760px;
  margin-top: 6px;
}

.branding-app-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(40, 198, 79, 0.42);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(40, 198, 79, 0.36), rgba(40, 198, 79, 0.08));
  color: #ffffff;
  font-weight: 1000;
  box-shadow: 0 0 28px rgba(40, 198, 79, 0.14);
}

.branding-console-status {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.branding-console-status > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid rgba(40, 198, 79, 0.18);
  border-radius: 999px;
  background: rgba(6, 20, 24, 0.72);
  color: var(--green);
  padding: 0 14px;
  font-size: 13px;
  font-weight: 900;
}

.branding-console-status i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 14px rgba(40, 198, 79, 0.82);
}

.branding-console-grid {
  display: grid;
  grid-template-columns: minmax(200px, var(--branding-rail)) minmax(0, 1fr) minmax(270px, var(--branding-settings));
  gap: 14px;
  align-items: start;
}

.branding-screen-rail,
.branding-stage-panel,
.branding-settings-panel,
.branding-message-dock {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(5, 16, 20, 0.82);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.branding-screen-rail,
.branding-settings-panel {
  position: sticky;
  top: 14px;
  max-height: calc(100vh - 218px);
  overflow: auto;
  padding: 16px;
}

.branding-rail-home {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(40, 198, 79, 0.35);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(40, 198, 79, 0.2), rgba(40, 198, 79, 0.04));
  color: #ffffff;
  padding: 0 12px;
  text-align: left;
}

.branding-rail-home span {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background:
    linear-gradient(90deg, transparent 9px, rgba(255, 255, 255, 0.78) 9px 12px, transparent 12px),
    linear-gradient(0deg, transparent 9px, rgba(255, 255, 255, 0.78) 9px 12px, transparent 12px),
    rgba(40, 198, 79, 0.18);
}

.branding-rail-section-label {
  margin: 22px 6px 10px;
  color: rgba(248, 251, 250, 0.58);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.branding-screen-list {
  gap: 0;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.branding-screen-list .theme-preset {
  grid-template-columns: 50px minmax(0, 1fr) auto;
  min-height: 64px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: transparent;
  padding: 10px 6px;
  box-shadow: none;
  transform: none;
}

.branding-screen-list .theme-preset.active {
  margin-inline: -1px;
  border: 1px solid rgba(40, 198, 79, 0.54);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(40, 198, 79, 0.22), rgba(40, 198, 79, 0.05));
  box-shadow: inset 3px 0 0 var(--green);
}

.branding-screen-list .preset-preview {
  grid-row: 1 / span 2;
  width: 48px;
  height: 38px;
  border-radius: 6px;
}

.branding-screen-list .theme-preset b {
  align-self: end;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.branding-screen-list .theme-preset small {
  grid-column: 2;
  overflow: hidden;
  color: rgba(248, 251, 250, 0.62);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.branding-screen-list .theme-preset em {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--green);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
}

.branding-add-screen {
  width: 100%;
  margin-top: 14px;
}

.branding-rail-links {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  color: rgba(248, 251, 250, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.branding-stage-panel {
  padding: 20px;
}

.branding-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.branding-stage-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(20px, 1.35vw, 26px);
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: none;
  white-space: nowrap;
}

.branding-stage-header p {
  margin: 6px 0 0;
  color: rgba(248, 251, 250, 0.62);
  font-size: 14px;
}

.branding-stage-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.branding-preview-tabs {
  display: flex;
  gap: 28px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.branding-preview-tabs button {
  min-height: 42px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: rgba(248, 251, 250, 0.66);
  padding: 0 0 10px;
  font-weight: 900;
}

.branding-preview-tabs button.active {
  border-color: var(--green);
  color: #ffffff;
}

.branding-stage-panel .branding-demo-preview {
  width: 100%;
  min-height: 0;
  max-height: min(60vh, 670px);
  aspect-ratio: 16 / 9;
  border-color: rgba(40, 198, 79, 0.34);
  border-radius: 8px;
}

.branding-stage-panel .theme-state-buttons {
  justify-content: flex-start;
  margin-top: 14px;
}

.branding-settings-panel .card-title-row {
  margin-bottom: 12px;
}

.branding-settings-panel .branding-control-section {
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(7, 22, 26, 0.55);
}

.branding-settings-panel .branding-control-section[open] {
  border-color: rgba(40, 198, 79, 0.22);
  background: rgba(8, 24, 27, 0.72);
}

.branding-settings-panel .branding-control-section summary {
  padding: 14px 16px;
}

.branding-settings-panel .branding-control-section[open] > :not(summary) {
  margin: 0 16px 16px;
}

.compact-branding-grid,
.branding-settings-panel .colour-mood-grid {
  grid-template-columns: 1fr;
}

.branding-settings-panel .visual-selector-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.branding-settings-panel .visual-selector-option {
  min-height: 50px;
  padding: 8px;
}

.branding-message-dock {
  display: grid;
  grid-template-columns: auto minmax(180px, 0.34fr) minmax(220px, 0.44fr) minmax(280px, 1fr);
  gap: 12px;
  align-items: end;
  padding: 16px 18px;
}

.branding-message-dock .card-title-row {
  margin: 0;
}

.branding-message-dock .scroller-message-add {
  grid-template-columns: minmax(110px, 0.35fr) minmax(0, 1fr) auto;
  margin: 0;
  border: 0;
  padding: 0;
}

.branding-message-dock .scroller-message-list {
  grid-column: 1 / -1;
}

@media (max-width: 1500px) {
  #branding {
    --branding-rail: 214px;
    --branding-settings: 270px;
  }
}

@media (max-width: 1280px) {
  .branding-console-grid,
  .branding-message-dock {
    grid-template-columns: 1fr;
  }

  .branding-screen-rail,
  .branding-settings-panel {
    position: static;
    max-height: none;
  }
}

.branding-preview-hero.venue-mockup-mode {
  position: sticky;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 20% 18%, rgba(40, 198, 79, 0.2), transparent 24%),
    radial-gradient(circle at 80% 12%, rgba(255, 32, 43, 0.22), transparent 24%),
    linear-gradient(135deg, #101512, #190708 52%, #050505);
}

.branding-preview-hero.venue-mockup-mode::before {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 0;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.28;
  pointer-events: none;
}

.branding-preview-hero.venue-mockup-mode > * {
  position: relative;
  z-index: 1;
}

.branding-preview-hero.venue-mockup-mode .theme-tv-preview {
  width: min(82%, 980px);
  margin: 42px auto 26px;
  border: 8px solid #090909;
  border-radius: 10px;
  box-shadow:
    0 20px 0 #050505,
    0 32px 70px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(40, 198, 79, 0.2);
}

.branding-preview-hero.venue-mockup-mode .theme-tv-preview::after {
  content: "";
  position: absolute;
  left: 24%;
  right: 24%;
  bottom: -34px;
  height: 22px;
  border-radius: 0 0 16px 16px;
  background: #060606;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.45);
}

.theme-tv-preview {
  position: relative;
  overflow: hidden;
  --theme-board-font: "Segoe UI Variable", "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --theme-heading-font: var(--theme-board-font);
  --theme-body-font: var(--theme-board-font);
  --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;
  font-family: var(--theme-board-font);
  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 20px;
  font-family: var(--theme-board-font, "Segoe UI Variable", "Segoe UI", Arial, sans-serif);
  font-size: 12px;
}

.theme-tv-preview .board-title {
  padding: 26px 32px 14px;
  font-family: var(--board-title-font, var(--theme-board-font, "Segoe UI Variable", "Segoe UI", Arial, sans-serif));
  font-size: clamp(34px, calc(var(--theme-heading-size) * 0.62), 72px);
  font-weight: 900;
  letter-spacing: 0.025em;
  line-height: 0.9;
  color: var(--board-title-color, var(--theme-accent-color, var(--green)));
  text-wrap: balance;
  text-shadow:
    0 3px 0 rgba(0, 0, 0, 0.74),
    0 0 22px color-mix(in srgb, var(--board-title-color, var(--theme-accent-color, var(--green))) 52%, transparent),
    0 0 54px rgba(255, 255, 255, 0.16);
  -webkit-text-fill-color: currentColor;
}

.theme-tv-preview .board-title span {
  display: block;
  width: max-content;
  max-width: 100%;
  text-transform: uppercase;
}

.theme-tv-preview .board-title-main {
  white-space: nowrap;
  color: var(--board-title-color, var(--theme-accent-color, var(--green)));
  -webkit-text-fill-color: currentColor;
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--board-title-color, var(--theme-accent-color, var(--green))) 34%, transparent));
}

.theme-tv-preview .board-title-sub {
  margin-top: -0.06em;
  color: color-mix(in srgb, var(--board-title-color, var(--theme-accent-color, var(--green))) 86%, #ffffff);
  font-size: 0.94em;
  letter-spacing: 0.055em;
  -webkit-text-fill-color: currentColor;
  text-shadow:
    0 0 12px color-mix(in srgb, var(--board-title-color, var(--theme-accent-color, var(--green))) 70%, transparent),
    0 3px 0 rgba(0, 0, 0, 0.72);
}

.theme-tv-preview .board-title.has-title-graphic {
  display: flex;
  align-items: center;
  min-height: clamp(96px, 10vw, 160px);
  color: inherit;
  text-shadow: none;
  -webkit-text-fill-color: currentColor;
}

.theme-tv-preview .board-title.has-title-graphic img {
  display: block;
  width: min(58%, 760px);
  max-height: clamp(84px, 9vw, 148px);
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.52));
}

.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;
  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 span:not(.category-header) {
  font-family: var(--theme-product-font, var(--theme-board-font, "Segoe UI Variable", "Segoe UI", Arial, sans-serif));
}

.theme-tv-preview .price-board strong {
  font-family: var(--theme-price-font, var(--theme-board-font, "Segoe UI Variable", "Segoe UI", Arial, sans-serif));
}

.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;
}

.pricing-currency-field {
  max-width: 420px;
  margin-top: 16px;
}

.pricing-rules-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.pricing-rules-actions .primary-button {
  width: auto;
  min-width: 180px;
}

.pricing-rules-actions span {
  color: rgba(236, 244, 241, 0.72);
  font-size: 14px;
}

.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: 82px;
  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;
}

.rule-minutes .rule-input {
  width: 112px;
}

.rule-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: rgba(236, 244, 241, 0.88);
  font-weight: 500;
}

.rule-label-stacked {
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
  text-transform: uppercase;
}

.rule-label-stacked small {
  color: rgba(236, 244, 241, 0.58);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}

.rule-amount {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(236, 244, 241, 0.78);
}

.rule-currency-label {
  min-width: 52px;
}

.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;
  min-height: 100svh;
  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;
  height: 100svh;
  padding: 0;
}

.public-fullscreen-preview {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  height: 100svh;
  min-height: 100svh;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
}

.public-venue-screen.live-state-loading .public-fullscreen-preview > :not(.animated-market-bg) {
  visibility: hidden;
}

.tv-performance-mode .public-fullscreen-preview {
  background:
    linear-gradient(120deg, rgba(0, 36, 16, 0.88), rgba(0, 0, 0, 0.98) 48%, rgba(54, 0, 4, 0.88)),
    #000;
  box-shadow: none;
}

.tv-performance-mode .public-fullscreen-preview::before,
.tv-performance-mode .public-fullscreen-preview::after {
  display: none;
}

.tv-performance-mode .public-fullscreen-preview .animated-market-bg {
  display: block;
  opacity: 0.72;
}

.tv-performance-mode .public-fullscreen-preview .animated-market-bg span {
  opacity: 0.28;
  animation-duration: 14s;
}

.tv-performance-mode .public-fullscreen-preview .price-board span,
.tv-performance-mode .public-fullscreen-preview .price-board strong,
.tv-performance-mode .public-fullscreen-preview .board-title,
.tv-performance-mode .public-fullscreen-preview .board-title-main,
.tv-performance-mode .public-fullscreen-preview .board-title-sub {
  filter: none;
  text-shadow: none;
}

.tv-performance-mode .public-fullscreen-preview .ticker-track,
.tv-performance-mode .public-fullscreen-preview .instruction-track {
  animation-duration: 90s !important;
  animation-iteration-count: infinite !important;
}

@supports (height: 100dvh) {
  .tv-display-body {
    min-height: 100dvh;
  }

  .public-theme-shell,
  .public-fullscreen-preview {
    height: 100dvh;
  }

  .public-fullscreen-preview {
    min-height: 100dvh;
  }
}

.tv-fullscreen-button {
  position: fixed;
  z-index: 40;
  right: 22px;
  bottom: 22px;
  display: inline-grid;
  min-height: 46px;
  place-items: center;
  border: 1px solid rgba(40, 198, 79, 0.58);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.9), rgba(255, 32, 43, 0.72)),
    #07120d;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.4), 0 0 22px rgba(40, 198, 79, 0.22);
  color: #fff;
  padding: 0 20px;
  font: 900 13px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.tv-display-body.is-fullscreen .tv-fullscreen-button,
.tv-display-body.mobile-preview-embed .tv-fullscreen-button,
.tv-display-body.tv-preview-embed .tv-fullscreen-button,
.tv-display-body.tv-fallback-renderer .tv-fullscreen-button {
  display: none;
}

.public-fullscreen-preview .ticker {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  width: 100vw !important;
  margin-inline: 0 !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
  padding: 0.95vh 2.6vw;
  font-size: clamp(18px, 1.25vw, 28px);
}

.public-fullscreen-preview .instruction-scroller {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  margin-inline: 0 !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
}

body.tv-display-body .public-fullscreen-preview .ticker,
body.tv-display-body .public-fullscreen-preview .instruction-scroller {
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  margin-inline: 0 !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
}

.public-fullscreen-preview .ticker-track {
  animation-duration: 72s;
}

.public-fullscreen-preview .theme-screen-logo {
  left: auto;
  right: 3.2vw;
  top: 8.2vh;
  width: min(220px, 15vw);
  max-height: 130px;
  transform: none;
}

.public-fullscreen-preview .board-title {
  padding: 5.4vh 3vw 1.2vh;
  font-size: clamp(48px, calc(var(--theme-heading-size) * 1.78), 168px);
  font-weight: 900;
  letter-spacing: 0.045em;
  max-width: min(84vw, 1540px);
}

.public-fullscreen-preview .price-board {
  --theme-product-columns: 2;
  width: calc(100vw - 6vw);
  max-width: none;
  margin: 0 3vw 7.4vh;
}

.public-fullscreen-preview .price-board span,
.public-fullscreen-preview .price-board strong {
  padding: 0.64vh 1.08vw;
  min-height: calc(var(--theme-row-height) * 0.86);
  font-size: clamp(16px, calc(var(--theme-price-size) * 0.68), 64px);
}

.public-fullscreen-preview .price-board.board-density-medium span,
.public-fullscreen-preview .price-board.board-density-medium strong {
  padding-block: 0.94vh;
  min-height: calc(var(--theme-row-height) * 1.02);
  font-size: clamp(18px, calc(var(--theme-price-size) * 0.82), 72px);
}

.public-fullscreen-preview .price-board.board-density-large span,
.public-fullscreen-preview .price-board.board-density-large strong {
  padding-block: 1.28vh;
  min-height: calc(var(--theme-row-height) * 1.24);
  font-size: clamp(22px, calc(var(--theme-price-size) * 1.04), 90px);
}

.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 .price-change-countdown {
  position: absolute;
  right: 3vw;
  top: 20vh;
  z-index: 6;
  display: grid;
  gap: 0.35vh;
  min-width: 210px;
  border: 1px solid rgba(40, 198, 79, 0.42);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.62);
  box-shadow:
    inset 0 0 24px rgba(40, 198, 79, 0.12),
    0 0 24px rgba(40, 198, 79, 0.12);
  padding: 0.85vh 1vw;
  color: #fff;
  text-align: right;
}

.public-fullscreen-preview .price-change-countdown span {
  color: rgba(236, 244, 241, 0.72);
  font-size: clamp(11px, 0.7vw, 16px);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-fullscreen-preview .price-change-countdown strong {
  color: var(--theme-accent-color, var(--green));
  font-size: clamp(28px, 2.3vw, 56px);
  line-height: 0.95;
  text-shadow: 0 0 22px rgba(40, 198, 79, 0.42);
}

.public-fullscreen-preview .price-change-countdown.has-error {
  border-color: rgba(255, 32, 43, 0.88);
  box-shadow:
    inset 0 0 24px rgba(255, 32, 43, 0.14),
    0 0 26px rgba(255, 32, 43, 0.28);
}

.public-fullscreen-preview .price-change-countdown.has-error strong {
  color: var(--theme-crash-color, var(--red));
  text-shadow: 0 0 22px rgba(255, 32, 43, 0.42);
}

.public-fullscreen-preview .price-change-countdown {
  display: none !important;
}

.public-fullscreen-preview .price-update-transition {
  position: absolute;
  left: 50%;
  top: 15vh;
  z-index: 18;
  display: grid;
  gap: 0.5vh;
  min-width: min(620px, 48vw);
  padding: 1.4vh 2.2vw;
  border: 1px solid rgba(40, 198, 79, 0.7);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(40, 198, 79, 0.18), rgba(0, 0, 0, 0.86) 34%, rgba(0, 0, 0, 0.86) 66%, rgba(40, 198, 79, 0.18)),
    rgba(0, 0, 0, 0.78);
  box-shadow:
    0 0 46px rgba(40, 198, 79, 0.28),
    inset 0 0 28px rgba(40, 198, 79, 0.16);
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  transform: translate(-50%, -16px) scale(0.96);
  opacity: 0;
  pointer-events: none;
}

.public-fullscreen-preview .price-update-transition.is-showing {
  animation: priceUpdateTransition 5.2s cubic-bezier(0.16, 0.84, 0.26, 1) both;
}

.public-fullscreen-preview .price-update-transition.is-down {
  border-color: rgba(40, 198, 79, 0.78);
}

.public-fullscreen-preview .price-update-transition.is-up {
  border-color: rgba(43, 145, 255, 0.78);
  box-shadow:
    0 0 46px rgba(43, 145, 255, 0.28),
    inset 0 0 28px rgba(43, 145, 255, 0.16);
}

.public-fullscreen-preview .price-update-transition span,
.public-fullscreen-preview .price-update-transition b {
  color: rgba(236, 244, 241, 0.78);
  font-size: clamp(12px, 0.78vw, 18px);
  font-weight: 900;
  letter-spacing: 0.18em;
}

.public-fullscreen-preview .price-update-transition strong {
  color: var(--theme-accent-color, var(--green));
  font-size: clamp(42px, 4.2vw, 92px);
  line-height: 0.92;
  text-shadow: 0 0 26px rgba(40, 198, 79, 0.56);
}

.public-fullscreen-preview .price-update-transition.is-up strong {
  color: #2b91ff;
  text-shadow: 0 0 26px rgba(43, 145, 255, 0.56);
}

@keyframes priceUpdateTransition {
  0% {
    opacity: 0;
    transform: translate(-50%, -18px) scale(0.94);
  }
  10%,
  78% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -10px) scale(0.98);
  }
}

.public-fullscreen-preview .instruction-scroller {
  bottom: env(safe-area-inset-bottom, 0);
  padding: 1.15vh 0;
}

.public-fullscreen-preview .instruction-track {
  font-size: clamp(18px, 1.35vw, 32px);
  animation-duration: 110s;
}

.tv-preview-embed .public-fullscreen-preview {
  min-height: 100vh;
  aspect-ratio: auto;
  border-radius: 0;
}

.tv-preview-embed .public-fullscreen-preview .ticker {
  padding: 0.62vh 1vw;
}

.tv-preview-embed .public-fullscreen-preview .ticker-track {
  font-size: clamp(9px, 1.3vw, 16px);
}

.tv-preview-embed .public-fullscreen-preview .board-title {
  padding: 7vh 3vw 1vh;
  font-size: clamp(22px, 5vw, 48px);
  max-width: 72vw;
}

.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-activity-summary {
  display: grid;
  gap: 6px;
}

.pos-activity-summary span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pos-activity-summary strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
}

.pos-activity-summary.success span {
  color: var(--green);
}

.pos-activity-summary.issue span {
  color: #ff9aa6;
}

.pos-activity-summary.working span {
  color: #8fd0ff;
}

.pos-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.pos-status-grid span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.pos-status-grid b {
  overflow: hidden;
  color: #fff;
  font-size: 17px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pos-status-grid small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pos-terminal-list {
  display: grid;
  gap: 8px;
  margin: -2px 0 10px;
  color: #b8f5cb;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.pos-terminal-list-title {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pos-terminal-options {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  max-height: 260px;
  overflow: auto;
}

.pos-terminal-option {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid rgba(40, 255, 91, 0.22);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.22);
  color: #dfffe8;
  font-size: 11px;
  line-height: 1.25;
}

.pos-terminal-option input {
  width: 13px;
  height: 13px;
  accent-color: #28ff5b;
  flex: 0 0 auto;
}

.pos-terminal-option span {
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

.pos-ignite-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 20px;
  align-items: start;
}

.footer-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.inline-fields {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field > span,
.field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
}

.pos-connect-panel {
  display: grid;
  gap: 20px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(40, 198, 79, 0.2), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(255, 32, 43, 0.12), transparent 36%),
    linear-gradient(135deg, rgba(13, 54, 57, 0.76), rgba(5, 27, 28, 0.96)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(40, 198, 79, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 22px 60px rgba(0, 0, 0, 0.2);
  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: var(--green);
  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-provider-grid .field,
.pos-credential-grid .field,
.pos-product-import .field {
  min-height: 86px;
  border: 1px solid rgba(40, 198, 79, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(40, 198, 79, 0.06), rgba(0, 0, 0, 0.18));
  padding: 12px;
}

.pos-lock-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border: 1px solid rgba(40, 198, 79, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(40, 198, 79, 0.08), rgba(0, 0, 0, 0.18)),
    rgba(5, 26, 27, 0.78);
  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(40, 198, 79, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(40, 198, 79, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(21, 61, 62, 0.72), rgba(7, 25, 27, 0.86));
  padding: 18px;
}

.pos-setup-wizard > span,
.pos-product-import > span {
  color: #bdd2d3;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.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-setup-wizard > .pos-support-note {
  justify-self: start;
  max-width: 100%;
  border: 1px solid rgba(255, 184, 77, 0.46);
  border-radius: 8px;
  background: rgba(255, 184, 77, 0.12);
  color: #ffe0a8;
  padding: 9px 12px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.pos-action-row {
  justify-content: start;
}

.pos-product-import {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(40, 198, 79, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.08), rgba(255, 32, 43, 0.03)),
    rgba(6, 28, 29, 0.74);
  padding: 16px;
}

.pos-csv-import-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border: 1px solid rgba(255, 184, 77, 0.36);
  border-radius: 8px;
  background: rgba(255, 184, 77, 0.1);
  padding: 12px;
}

.pos-csv-import-row[hidden] {
  display: none !important;
}

.pos-csv-import-row strong {
  display: block;
  color: #fff;
}

.pos-csv-import-row small {
  display: block;
  max-width: 760px;
  color: #ffe0a8;
  line-height: 1.4;
}

.pos-csv-import-button {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.pos-csv-import-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.pos-review-panel {
  display: grid;
  gap: 16px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(40, 198, 79, 0.16), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(255, 32, 43, 0.1), transparent 32%),
    linear-gradient(135deg, rgba(13, 54, 57, 0.72), rgba(4, 20, 21, 0.96));
  border: 1px solid rgba(40, 198, 79, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 22px 60px rgba(0, 0, 0, 0.2);
}

.pos-review-panel h2 {
  margin: 6px 0 0;
  color: #fff;
  font-size: 1.25rem;
}

.pos-review-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid rgba(40, 198, 79, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.26);
}

.pos-review-table th,
.pos-review-table td {
  border-bottom: 1px solid rgba(40, 198, 79, 0.12);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.pos-review-table tr:last-child th,
.pos-review-table tr:last-child td {
  border-bottom: 0;
}

.pos-review-table th {
  width: 42%;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pos-review-table td {
  color: #fff;
  font-weight: 700;
}

.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: var(--panel-glass-bg-soft);
}

.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 small {
  grid-column: 2;
  margin-top: -10px;
  color: rgba(236, 244, 241, 0.58);
  font-size: 12px;
  line-height: 1.3;
}

.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);
}

.instagram-automation-list label {
  grid-template-columns: 46px minmax(0, 1fr) auto;
  cursor: pointer;
}

.instagram-automation-list label.is-disabled {
  opacity: 0.54;
}

.automation-icon {
  position: relative;
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(40, 198, 79, 0.3);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(40, 198, 79, 0.14), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.035);
}

.automation-icon::before,
.automation-icon::after {
  content: "";
  position: absolute;
}

.automation-icon.story-start::before {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-block: 9px solid transparent;
  border-left: 14px solid var(--green);
}

.automation-icon.story-stop::before {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: var(--green);
}

.automation-icon.story-crash::before {
  width: 24px;
  height: 24px;
  clip-path: polygon(44% 0, 67% 0, 55% 35%, 80% 35%, 30% 100%, 42% 52%, 20% 52%);
  background: var(--red);
  filter: drop-shadow(0 0 10px rgba(255, 32, 43, 0.56));
}

.social-connect-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.34fr);
  gap: 16px;
  align-items: start;
}

.instagram-integration-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 20px;
  align-items: start;
}

.instagram-connection-panel {
  grid-column: 1 / -1;
}

.instagram-ignite-layout {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.42fr);
}

.instagram-ignite-layout .instagram-connection-panel {
  grid-column: 1;
}

.instagram-ignite-layout .instagram-branding-panel {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: sticky;
  top: 18px;
}

.instagram-publishing-panel {
  display: grid;
  gap: 18px;
}

.instagram-meta-approval-panel {
  display: grid;
  gap: 12px;
  max-width: 860px;
  border-color: rgba(246, 189, 59, 0.32);
  background:
    linear-gradient(135deg, rgba(246, 189, 59, 0.12), rgba(40, 198, 79, 0.05)),
    rgba(5, 10, 10, 0.76);
}

.instagram-meta-approval-panel h2 {
  margin: 0;
  color: var(--text);
}

.instagram-meta-approval-panel p {
  margin: 0;
  color: rgba(236, 244, 241, 0.78);
  line-height: 1.5;
}

.instagram-autopublish-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: rgba(236, 244, 241, 0.86);
  font-weight: 700;
  cursor: pointer;
}

.instagram-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.instagram-status-grid .field {
  margin: 0;
}

.demo-only-pill {
  align-self: center;
}

.instagram-repost-card,
.advanced-instagram-details {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.instagram-repost-card p {
  margin: 12px 0 0;
  color: rgba(236, 244, 241, 0.78);
  line-height: 1.45;
}

.instagram-repost-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.instagram-repost-actions label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.advanced-instagram-details summary {
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

.advanced-instagram-details .inline-fields {
  margin-top: 14px;
}

.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: 14px;
  width: min(100%, 300px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--theme-accent-color, var(--green)) 46%, transparent);
  border-radius: 22px;
  background:
    radial-gradient(circle at 28% 72%, color-mix(in srgb, var(--theme-accent-color, var(--green)) 34%, transparent), transparent 28%),
    radial-gradient(circle at 86% 34%, color-mix(in srgb, var(--theme-crash-color, var(--red)) 34%, transparent), transparent 32%),
    linear-gradient(145deg, color-mix(in srgb, var(--theme-background-color, #020807) 88%, #020807), #000 46%, color-mix(in srgb, var(--theme-crash-color, var(--red)) 20%, #23070a));
  padding: 14px;
  color: var(--theme-text-color, #fff);
  font-family: var(--theme-body-font, Arial, Helvetica, sans-serif);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.38),
    inset 0 0 70px rgba(0, 0, 0, 0.62);
}

.story-mobile-heading {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 4px 0 8px;
  text-align: center;
  text-transform: uppercase;
}

.story-mobile-heading img {
  width: 100%;
  max-width: 210px;
  max-height: 36px;
  object-fit: contain;
}

.story-mobile-heading span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border: 1px solid color-mix(in srgb, var(--theme-accent-color, var(--green)) 46%, transparent);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.48);
  color: var(--theme-accent-color, var(--green));
  padding: 0 10px;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: 0.12em;
  box-shadow: 0 0 18px color-mix(in srgb, var(--theme-accent-color, var(--green)) 18%, transparent);
}

.story-mobile-heading strong {
  color: var(--theme-text-color, #fff);
  font-family: var(--theme-heading-font, inherit);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.18);
}

.story-message-panel {
  display: grid;
  gap: 7px;
  padding: 16px 14px;
  border: 1px solid color-mix(in srgb, var(--theme-accent-color, var(--green)) 52%, transparent);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.42)),
    color-mix(in srgb, var(--theme-background-color, #020807) 82%, transparent);
  text-align: center;
  box-shadow:
    0 0 24px color-mix(in srgb, var(--theme-accent-color, var(--green)) 16%, transparent),
    inset 0 0 28px rgba(0, 0, 0, 0.44);
}

.instagram-story-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--theme-accent-color, var(--green)) 12%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--theme-accent-color, var(--green)) 9%, transparent) 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(--theme-accent-color, var(--green)), #177b31 48%, var(--theme-crash-color, var(--red)));
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.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.84);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.story-main-message {
  margin-top: 0;
  color: var(--theme-text-color, #fff);
  font-family: var(--theme-heading-font, inherit);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 24px color-mix(in srgb, var(--theme-accent-color, var(--green)) 35%, transparent);
}

.story-message-panel > .story-feature-product {
  color: var(--theme-text-color, #fff);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.05;
}

.story-message-panel > .story-feature-price {
  display: block;
  margin-top: 5px;
  border: 1px solid color-mix(in srgb, var(--theme-accent-color, var(--green)) 42%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--theme-accent-color, var(--green)) 12%, rgba(0, 0, 0, 0.66));
  color: var(--theme-accent-color, var(--green));
  font-size: 44px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  padding: 10px 8px;
  text-shadow: 0 0 22px color-mix(in srgb, var(--theme-accent-color, var(--green)) 48%, transparent);
}

.story-message-panel > .story-footer-message {
  color: color-mix(in srgb, var(--theme-text-color, #fff) 72%, transparent);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.story-feature-price {
  display: grid;
  gap: 2px;
  margin-top: 4px;
  border: 1px solid color-mix(in srgb, var(--theme-accent-color, var(--green)) 42%, transparent);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.44);
  padding: 12px;
  text-align: center;
}

.story-feature-price span,
.story-footer span,
.story-feature-label {
  color: var(--theme-accent-color, var(--green));
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-feature-price strong {
  color: var(--theme-text-color, #fff);
  font-size: 20px;
}

.story-feature-price b {
  color: var(--theme-accent-color, var(--green));
  font-size: 44px;
  line-height: 1;
}

.instagram-story-preview > .story-feature-product {
  color: var(--theme-text-color, #fff);
  font-size: 21px;
  line-height: 1.05;
  text-align: center;
}

.instagram-story-preview > .story-feature-price {
  display: block;
  color: var(--theme-accent-color, var(--green));
  font-size: 44px;
  font-style: normal;
  font-weight: 900;
  line-height: 0.95;
  text-align: center;
  text-shadow: 0 0 22px color-mix(in srgb, var(--theme-accent-color, var(--green)) 48%, transparent);
}

.instagram-story-preview > .story-footer-message {
  align-self: end;
  color: color-mix(in srgb, var(--theme-text-color, #fff) 72%, transparent);
  font-size: 11px;
  line-height: 1.25;
  text-align: center;
}

.instagram-branding-panel .story-mobile-heading {
  gap: 5px;
}

.instagram-branding-panel .story-mobile-heading img {
  max-height: 28px;
}

.instagram-branding-panel .story-mobile-heading strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(18px, 1.45vw, 24px);
}

.instagram-branding-panel .story-main-message {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(24px, 1.85vw, 32px);
  line-height: 0.92;
}

.instagram-branding-panel .story-message-panel > .story-feature-product {
  font-size: 18px;
}

.instagram-branding-panel .story-message-panel > .story-feature-price {
  font-size: clamp(32px, 2.6vw, 42px);
}

.story-mini-board {
  display: grid;
  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 {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  color: var(--green);
  text-align: right;
}

.story-mini-board em {
  color: color-mix(in srgb, currentColor 72%, #ffffff);
  font-style: normal;
  font-weight: 900;
}

.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,
.instagram-story-preview.story-state-crash .story-feature-price b {
  color: var(--theme-crash-color, var(--red));
  text-shadow: 0 0 22px color-mix(in srgb, var(--theme-crash-color, var(--red)) 68%, transparent);
}

.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,
.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-dashboard-simplified {
  grid-template-columns: 1fr;
}

.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 var(--panel-glass-border);
  border-radius: 8px;
  background: var(--panel-glass-bg-soft);
  box-shadow: var(--panel-glass-shadow);
}

.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;
}

.approval-status-panel,
.approval-admin-panel {
  display: grid;
  gap: 18px;
}

.approval-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.approval-summary-grid > div,
.approval-request-card {
  border: 1px solid rgba(104, 209, 178, 0.18);
  border-radius: 8px;
  background: rgba(5, 10, 10, 0.64);
  padding: 16px;
}

.approval-summary-grid span,
.approval-request-card span {
  display: block;
  margin-bottom: 8px;
  color: #9ff8b1;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.approval-summary-grid strong,
.approval-request-card strong {
  display: block;
  color: var(--text);
  font-size: 18px;
}

.admin-support-card .admin-support-venue-name {
  margin-bottom: 4px;
  color: #ffffff;
  font-size: clamp(20px, 1.35vw, 28px);
  line-height: 1.08;
}

.approval-status-panel p,
.approval-request-card p,
.muted-copy {
  margin: 0;
  color: var(--muted);
}

.approval-request-list {
  display: grid;
  gap: 12px;
}

.admin-assist-status {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(40, 198, 79, 0.38);
  border-radius: 8px;
  background: rgba(40, 198, 79, 0.12);
}

.admin-assist-status strong {
  color: #9ff8b1;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-assist-status span {
  color: var(--text);
}

.approval-request-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.approval-request-card small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.56);
}

.approval-request-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.approval-request-actions .support-visual-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.support-details-grid a {
  color: #9ff8b1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.license-info-card strong {
  display: block;
  margin: 8px 0;
  color: var(--text);
}

.license-purchase-panel,
.license-side-panel,
.license-plan-switch-panel,
.license-included-panel,
.license-activity-panel {
  background: var(--panel-glass-bg-soft);
}

.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-switch-options {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  margin: 18px 0;
}

.license-change-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.license-change-actions button {
  min-width: 220px;
}

.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;
}

.license-activity-title-row {
  gap: 14px;
}

.license-activity-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 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 .license-dashboard {
  gap: 12px;
}

#licensing .license-hero-card,
#licensing .license-info-card,
#licensing .license-purchase-panel,
#licensing .license-plan-switch-panel,
#licensing .license-side-panel,
#licensing .license-included-panel,
#licensing .license-activity-panel {
  border-color: rgba(90, 214, 194, 0.28);
  background:
    radial-gradient(circle at 0 0, rgba(40, 198, 79, 0.16), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(36, 178, 164, 0.12), transparent 36%),
    linear-gradient(145deg, rgba(19, 75, 77, 0.88), rgba(8, 24, 26, 0.96)),
    rgba(8, 28, 30, 0.94);
  color: var(--text);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#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-plan-switch-panel,
#licensing .license-side-panel {
  min-height: 248px;
}

#licensing .license-options label,
#licensing .license-status-card,
#licensing .license-box {
  border-color: rgba(90, 214, 194, 0.24);
  background: rgba(3, 24, 25, 0.52);
}

#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;
}

.training-action-row {
  margin-top: 18px;
}

.training-action-row .primary-button,
.training-action-row .secondary-button {
  width: auto;
  min-width: 128px;
}

.training-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.training-topic-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 238px;
}

.training-topic-card > span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(40, 198, 79, 0.34);
  border-radius: 8px;
  color: var(--green);
  background: rgba(40, 198, 79, 0.1);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.training-topic-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
}

.training-topic-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.training-topic-card .secondary-button {
  align-self: end;
  width: fit-content;
  min-width: 142px;
  margin-top: 8px;
}

.training-player-launch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 22px;
  align-items: stretch;
  background:
    radial-gradient(circle at 16% 4%, rgba(40, 198, 79, 0.2), transparent 38%),
    radial-gradient(circle at 86% 24%, rgba(255, 45, 56, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(8, 52, 43, 0.98), rgba(7, 22, 26, 0.96));
}

.training-player-copy {
  display: grid;
  gap: 16px;
  align-content: center;
}

.training-player-copy h2 {
  margin: 0;
  max-width: 880px;
  color: var(--text);
  font-size: clamp(34px, 4vw, 64px);
  line-height: 0.98;
  text-transform: uppercase;
}

.training-player-copy p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.training-player-preview {
  display: grid;
  min-height: 340px;
  place-items: center;
  border: 1px solid rgba(40, 198, 79, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(40, 198, 79, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 25% 30%, rgba(40, 198, 79, 0.25), transparent 32%),
    radial-gradient(circle at 78% 42%, rgba(255, 48, 58, 0.24), transparent 35%),
    #020807;
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
  overflow: hidden;
}

.training-player-preview-screen {
  display: grid;
  gap: 9px;
  width: min(330px, 82%);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.48);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.training-player-preview-screen span,
.training-help-card span {
  color: var(--green);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.training-player-preview-screen strong {
  color: var(--text);
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
}

.training-player-preview-screen small,
.training-help-card small {
  color: var(--muted);
  line-height: 1.4;
}

.training-help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.training-help-card {
  display: grid;
  gap: 10px;
  min-height: 172px;
  text-align: left;
  cursor: pointer;
}

.training-help-card:hover {
  border-color: rgba(40, 198, 79, 0.62);
  transform: translateY(-1px);
}

.training-help-card strong {
  color: var(--text);
  font-size: 22px;
}

.training-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
}

.training-guide-modal[hidden] {
  display: none;
}

.training-guide-window {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(760px, calc(100vw - 36px));
  max-height: min(720px, calc(100vh - 36px));
  overflow: hidden;
  border: 1px solid rgba(40, 198, 79, 0.42);
  border-radius: 10px;
  background:
    radial-gradient(circle at 18% 0%, rgba(40, 198, 79, 0.14), transparent 36%),
    linear-gradient(135deg, rgba(8, 46, 40, 0.98), rgba(4, 11, 12, 0.98));
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.75);
}

.training-guide-header,
.training-guide-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid rgba(104, 209, 178, 0.18);
}

.training-guide-footer {
  border-top: 1px solid rgba(104, 209, 178, 0.18);
  border-bottom: 0;
  justify-content: flex-end;
}

.training-guide-header div {
  display: grid;
  gap: 6px;
}

.training-guide-header span,
.training-guide-script > span {
  color: var(--green);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.training-guide-header h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
}

.training-guide-close {
  position: relative;
  display: grid;
  width: 42px;
  min-height: 42px;
  place-items: center;
  border: 1px solid rgba(40, 198, 79, 0.42);
  border-radius: 8px;
  background: rgba(40, 198, 79, 0.1);
  color: #fff;
  font-size: 0;
}

.training-guide-close::before,
.training-guide-close::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.training-guide-close::before {
  transform: rotate(45deg);
}

.training-guide-close::after {
  transform: rotate(-45deg);
}

.training-guide-body {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
  padding: 22px;
  overflow: auto;
}

.guide-video-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(620px, 92%);
  min-height: 370px;
  overflow: hidden;
  border: 1px solid rgba(40, 198, 79, 0.34);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(40, 198, 79, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 26% 24%, rgba(40, 198, 79, 0.22), transparent 34%),
    radial-gradient(circle at 84% 42%, rgba(255, 48, 58, 0.2), transparent 36%),
    rgba(0, 0, 0, 0.58);
  background-size: 36px 36px, 36px 36px, auto, auto, auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.52);
}

.guide-video-topbar,
.guide-video-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.36);
  border-bottom: 1px solid rgba(104, 209, 178, 0.18);
}

.guide-video-controls {
  grid-template-columns: auto minmax(0, 1fr);
  border-top: 1px solid rgba(104, 209, 178, 0.18);
  border-bottom: 0;
}

.guide-video-topbar span,
.guide-video-topbar small {
  color: var(--green);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-video-topbar strong {
  color: var(--text);
  overflow: hidden;
  font-size: 13px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guide-video-stage {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.guide-video-dashboard {
  position: absolute;
  left: 8%;
  top: 19%;
  z-index: 2;
  display: grid;
  gap: 8px;
  width: min(360px, 70%);
  padding: 22px;
  border: 1px solid rgba(40, 198, 79, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.14), rgba(255, 48, 58, 0.07)),
    rgba(0, 0, 0, 0.62);
  animation: guideVideoPanelFloat 7s ease-in-out infinite;
}

.guide-video-dashboard span,
.guide-video-dashboard small {
  color: var(--muted);
  font-weight: 850;
}

.guide-video-dashboard strong {
  color: var(--text);
  font-size: clamp(24px, 4vw, 46px);
  line-height: 0.95;
  text-transform: uppercase;
}

.guide-video-pointer {
  position: absolute;
  z-index: 4;
  left: 18%;
  top: 68%;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(40, 198, 79, 0.15), 0 0 28px rgba(40, 198, 79, 0.8);
  animation: guideVideoPointer 7s ease-in-out infinite;
}

.guide-video-pulse {
  position: absolute;
  z-index: 1;
  right: 11%;
  top: 22%;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  border: 1px solid rgba(255, 48, 58, 0.4);
  background: radial-gradient(circle, rgba(255, 48, 58, 0.22), transparent 68%);
  animation: guideVideoPulse 2.8s ease-in-out infinite;
}

.guide-video-step-list {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 18px;
  z-index: 3;
  display: grid;
}

.guide-video-step-list span {
  grid-area: 1 / 1;
  padding: 12px 14px;
  border: 1px solid rgba(104, 209, 178, 0.24);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.62);
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(14px);
  animation: guideVideoCaption 12s linear infinite;
  animation-delay: calc(var(--step-index) * 3s);
}

.guide-video-play-icon {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--green);
}

.guide-video-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.guide-video-track b {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--red));
  transform-origin: left center;
  animation: guideVideoTrack 7s linear infinite;
}

.guide-video-setup .guide-video-dashboard::after,
.guide-video-build .guide-video-dashboard::after,
.guide-video-screens .guide-video-dashboard::after,
.guide-video-live .guide-video-dashboard::after,
.guide-video-history .guide-video-dashboard::after,
.guide-video-support .guide-video-dashboard::after {
  content: "";
  display: block;
  height: 54px;
  margin-top: 12px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(40, 198, 79, 0.7), rgba(40, 198, 79, 0.18)),
    repeating-linear-gradient(0deg, transparent 0 11px, rgba(255, 255, 255, 0.12) 12px);
}

.guide-screen-mock {
  display: grid;
  gap: 10px;
  width: min(440px, 84%);
  padding: 28px;
  border: 1px solid rgba(40, 198, 79, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.16), rgba(255, 48, 58, 0.08)),
    rgba(0, 0, 0, 0.54);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

.guide-screen-mock span,
.guide-screen-mock small {
  color: var(--muted);
  font-weight: 850;
}

.guide-screen-mock strong {
  color: var(--text);
  font-size: clamp(30px, 4vw, 58px);
  line-height: 0.95;
  text-transform: uppercase;
}

@keyframes guideVideoPanelFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  45% {
    transform: translate(4%, -4%) scale(1.03);
  }
  72% {
    transform: translate(16%, 6%) scale(0.96);
  }
}

@keyframes guideVideoPointer {
  0%,
  100% {
    left: 18%;
    top: 68%;
  }
  35% {
    left: 72%;
    top: 28%;
  }
  65% {
    left: 52%;
    top: 58%;
  }
}

@keyframes guideVideoPulse {
  0%,
  100% {
    opacity: 0.48;
    transform: scale(0.9);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.1);
  }
}

@keyframes guideVideoCaption {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  4%,
  22% {
    opacity: 1;
    transform: translateY(0);
  }
  26%,
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@keyframes guideVideoTrack {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.training-guide-script {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 18px;
  border: 1px solid rgba(104, 209, 178, 0.2);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
}

.training-guide-script p {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
}

.training-guide-script ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.45;
}

.training-guide-footer .secondary-button,
.training-guide-footer .primary-button {
  width: auto;
  min-width: 132px;
}

.training-academy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 18px;
  align-items: stretch;
}

.training-video-panel,
.training-outcome-panel,
.training-workflow-panel,
.training-chapter-card,
.training-operator-card {
  background:
    radial-gradient(circle at 18% 0%, rgba(40, 198, 79, 0.13), transparent 38%),
    linear-gradient(135deg, rgba(11, 61, 50, 0.96), rgba(7, 28, 31, 0.94));
}

.training-video-panel {
  display: grid;
  gap: 16px;
}

.training-video-panel h2,
.training-workflow-panel h2,
.training-operator-card h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(26px, 2.5vw, 42px);
  line-height: 1.02;
}

.training-video-panel p,
.training-outcome-panel span,
.training-workflow-map small,
.training-chapter-body,
.training-operator-card p,
.training-operator-card li {
  color: var(--muted);
  line-height: 1.5;
}

.training-video-frame {
  display: grid;
  min-height: 280px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(40, 198, 79, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(40, 198, 79, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 30% 30%, rgba(40, 198, 79, 0.24), transparent 36%),
    radial-gradient(circle at 76% 42%, rgba(255, 48, 58, 0.22), transparent 38%),
    #020807;
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.4);
}

.training-video-frame div {
  display: grid;
  gap: 8px;
  max-width: 460px;
  padding: 28px;
  text-align: center;
}

.training-video-frame span {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.training-video-frame strong {
  color: var(--text);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 0.95;
  text-transform: uppercase;
}

.training-video-frame small {
  color: var(--muted);
  font-weight: 800;
}

.training-outcome-panel ul,
.training-operator-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.training-outcome-panel li {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid rgba(104, 209, 178, 0.2);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.training-outcome-panel strong,
.training-operator-card span {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.training-workflow-panel {
  margin-top: 18px;
}

.training-workflow-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.training-workflow-map article {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 216px;
  padding: 16px;
  border: 1px solid rgba(104, 209, 178, 0.22);
  border-radius: 8px;
  background: rgba(2, 12, 13, 0.54);
}

.training-workflow-map span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  color: #06140f;
  background: var(--green);
  font-size: 13px;
  font-weight: 950;
}

.training-workflow-map strong {
  color: var(--text);
  font-size: 18px;
}

.training-workflow-map .secondary-button {
  align-self: end;
  min-width: 0;
  width: 100%;
}

.training-chapter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.training-chapter-card {
  padding: 0;
  overflow: hidden;
}

.training-chapter-card summary {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 18px;
  cursor: pointer;
  color: var(--text);
  border-bottom: 1px solid rgba(104, 209, 178, 0.2);
}

.training-chapter-card summary::marker {
  color: var(--green);
}

.training-chapter-card summary span {
  color: var(--green);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.training-chapter-card summary strong {
  font-size: 20px;
  line-height: 1.15;
}

.training-chapter-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.training-chapter-body p,
.training-chapter-body ol,
.training-chapter-body blockquote {
  margin: 0;
}

.training-chapter-body ol {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.training-chapter-body b {
  color: var(--text);
}

.training-chapter-body blockquote {
  border-left: 3px solid var(--green);
  padding: 12px 14px;
  color: var(--text);
  background: rgba(40, 198, 79, 0.08);
}

.training-chapter-body .secondary-button {
  width: fit-content;
  min-width: 150px;
}

.training-operator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.training-operator-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.training-operator-card h2 {
  font-size: 24px;
}

.training-operator-card li {
  position: relative;
  padding-left: 18px;
}

.training-operator-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
}

.checklist-panel .live-card-title {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 4px;
}

.qr-code-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.qr-code-panel,
.qr-scroller-panel {
  background:
    radial-gradient(circle at 18% 0%, rgba(40, 198, 79, 0.14), transparent 42%),
    linear-gradient(135deg, rgba(10, 48, 52, 0.96), rgba(5, 34, 26, 0.94));
}

.qr-code-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 18px;
}

.qr-code-card img {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  border: 10px solid #fff;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.34);
}

.qr-code-details {
  display: grid;
  gap: 12px;
}

.qr-code-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.qr-code-actions .secondary-button,
.qr-code-actions .primary-button {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-width: 128px;
  justify-content: center;
  text-align: center;
}

.qr-code-actions .venue-copy-button {
  flex: 0 0 auto;
  width: auto;
}

.qr-code-details strong {
  color: var(--text);
  font-size: clamp(22px, 2vw, 34px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.qr-code-details p,
.qr-toggle-row em {
  color: var(--muted);
  line-height: 1.45;
}

.qr-scroller-panel {
  display: grid;
  gap: 16px;
}

.qr-scroller-panel h2 {
  margin: 0;
  color: var(--text);
  font-size: 24px;
}

.qr-message-editor {
  display: grid;
  gap: 8px;
}

.qr-message-editor span {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.qr-message-editor textarea {
  min-height: 118px;
  resize: vertical;
  width: 100%;
  border: 1px solid rgba(40, 198, 79, 0.54);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(3, 18, 16, 0.86);
  color: var(--text);
  padding: 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(40, 198, 79, 0.08);
}

.qr-message-editor textarea:hover {
  border-color: rgba(40, 198, 79, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.026)),
    rgba(3, 18, 16, 0.9);
}

.qr-message-editor textarea:focus {
  outline: none;
  border-color: rgba(40, 198, 79, 0.92);
  background: rgba(4, 20, 17, 0.96);
  box-shadow:
    0 0 0 3px rgba(40, 198, 79, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.qr-toggle-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(40, 198, 79, 0.32);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
}

.qr-toggle-row input {
  width: 22px;
  min-height: 22px;
  accent-color: var(--green);
}

.qr-toggle-row strong,
.qr-toggle-row em {
  display: block;
}

.qr-toggle-row strong {
  color: var(--text);
  margin-bottom: 5px;
}

.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 label.is-auto {
  background: linear-gradient(90deg, rgba(40, 198, 79, 0.06), transparent 58%);
}

.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 input:disabled {
  cursor: not-allowed;
  opacity: 0.78;
}

.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: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.help-popover[hidden] {
  display: none;
}

.help-popover-card {
  display: grid;
  gap: 18px;
  width: min(620px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid rgba(40, 198, 79, 0.38);
  border-radius: 18px;
  padding: 22px;
  background:
    radial-gradient(circle at 12% 8%, rgba(40, 198, 79, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(40, 198, 79, 0.09), rgba(255, 32, 43, 0.045)),
    rgba(3, 8, 6, 0.98);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.72);
}

.help-popover-header {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 12px;
}

.help-popover-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  font-weight: 950;
}

#jam-help-title {
  color: #fff;
  font-size: 20px;
  font-weight: 850;
}

#jam-help-content {
  display: grid;
  gap: 14px;
}

.help-popover-card h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
}

.help-popover-card p {
  margin: 0;
  color: #dce6e3;
  line-height: 1.5;
}

.help-popover-card h3,
.help-popover-card p {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.help-close {
  position: relative;
  display: grid;
  width: 38px;
  min-height: 38px;
  place-items: center;
  border: 1px solid rgba(40, 198, 79, 0.42);
  border-radius: 10px;
  background: rgba(40, 198, 79, 0.12);
  color: #fff;
  padding: 0;
  font-size: 0;
}

.help-close::before,
.help-close::after {
  content: "";
  position: absolute;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.help-close::before {
  transform: rotate(45deg);
}

.help-close::after {
  transform: rotate(-45deg);
}

.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-text, .count-pill, .live-badge) {
  font-weight: 500;
}

body :where(.venue-url-text, .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);
  transition: opacity 620ms ease, background 620ms ease, transform 620ms ease;
}

.theme-tv-preview {
  font-family: var(--theme-board-font, "Segoe UI Variable", "Segoe UI", Arial, sans-serif);
  transition:
    background 900ms ease,
    box-shadow 700ms ease,
    filter 700ms ease,
    transform 520ms ease;
}

.theme-tv-preview .ticker,
.theme-tv-preview .instruction-scroller,
.theme-tv-preview .board-title,
.theme-tv-preview .price-board,
.theme-tv-preview .cheapest-callout,
.theme-tv-preview .market-signal-panel,
.theme-tv-preview .market-open-countdown {
  transition:
    opacity 520ms ease,
    transform 900ms cubic-bezier(0.16, 0.84, 0.26, 1),
    filter 780ms ease,
    background 520ms ease,
    box-shadow 520ms ease;
}

.theme-tv-preview.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker,
.theme-tv-preview.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-scroller,
.theme-tv-preview.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .board-title,
.theme-tv-preview.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .price-board,
.theme-tv-preview.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .cheapest-callout {
  animation: marketStateFadeIn 720ms cubic-bezier(0.16, 0.84, 0.26, 1) both;
}

.theme-tv-preview.market-opening {
  animation:
    marketOpenPulse 1.8s ease-in-out infinite,
    marketOpenLift 10s cubic-bezier(0.16, 0.84, 0.26, 1) both;
}

.theme-tv-preview.market-opening::after {
  opacity: 0.72;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.44), transparent 18%),
    linear-gradient(115deg, transparent 0 16%, rgba(40, 198, 79, 0.78) 17% 42%, transparent 43% 58%, rgba(255, 214, 74, 0.58) 59% 70%, transparent 71%),
    rgba(40, 198, 79, 0.2);
  animation: marketOpenFlash 1.2s ease-in-out infinite alternate;
}

.theme-tv-preview.market-opening .ticker,
.theme-tv-preview.market-opening .instruction-scroller {
  background: linear-gradient(90deg, #28c64f, #f6d94a 48%, #28c64f);
  box-shadow:
    0 0 34px rgba(40, 198, 79, 0.78),
    0 0 90px rgba(246, 217, 74, 0.36);
}

.theme-tv-preview.market-opening .ticker-track,
.theme-tv-preview.market-opening .instruction-track {
  color: #06120a;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.88);
  animation:
    tickerScroll 22s linear infinite,
    marketOpenTextFlash 1.1s ease-in-out infinite alternate;
}

.theme-tv-preview.market-opening .market-open-takeover {
  opacity: 1;
  transform: scale(1);
  animation:
    marketOpenTakeoverIn 760ms cubic-bezier(0.16, 0.84, 0.26, 1) both,
    marketOpenTakeoverPulse 1.4s ease-in-out infinite alternate;
}
.theme-tv-preview.market-crashing {
  animation:
    crashShake 0.38s steps(2, end) 5,
    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,
.theme-tv-preview.market-crashing .instruction-scroller {
  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.crash-counting-down .ticker,
.theme-tv-preview.crash-counting-down .instruction-scroller {
  background: linear-gradient(90deg, #ff202b, #5f0005 42%, #ff202b);
  animation: tickerCrashFlash 0.32s steps(2, end) infinite;
  box-shadow:
    0 0 34px rgba(255, 32, 43, 0.78),
    0 0 90px rgba(255, 32, 43, 0.42);
}

.theme-tv-preview.crash-counting-down .ticker-track,
.theme-tv-preview.crash-counting-down .instruction-track {
  color: #fff;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.88),
    0 0 28px rgba(255, 32, 43, 1);
  animation:
    tickerScroll 38s linear infinite,
    tickerCrashTextFlash 0.32s steps(2, end) infinite;
}

.theme-tv-preview.crash-counting-down::after {
  opacity: 0.58;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.22), transparent 18%),
    linear-gradient(115deg, transparent 0 18%, rgba(255, 32, 43, 0.76) 19% 44%, transparent 45% 62%, rgba(255, 32, 43, 0.64) 63% 74%, transparent 75%);
  animation: redFlash 0.26s steps(2, end) infinite;
}

.theme-tv-preview.market-crashing .ticker-track,
.theme-tv-preview.market-crashing .instruction-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 26s linear infinite,
    tickerCrashTextFlash 0.48s steps(2, end) infinite;
}

.theme-tv-preview.preview-crashing .crash-takeover,
.theme-tv-preview.market-crashing .crash-takeover,
.theme-tv-preview.crash-counting-down .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:
    crashTakeoverIn 420ms cubic-bezier(0.18, 0.96, 0.2, 1) both,
    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,
.theme-tv-preview.crash-counting-down .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,
.theme-tv-preview.crash-counting-down .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);
}
.crash-takeover,
.cheapest-takeover,
.market-open-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 420ms ease,
    transform 520ms cubic-bezier(0.18, 0.96, 0.2, 1),
    background 520ms ease;
}

.theme-tv-preview.crash-imminent .crash-takeover,
.theme-tv-preview.cheapest-showing .cheapest-takeover {
  opacity: 1;
  transform: scale(1);
  animation: takeoverFadeIn 440ms cubic-bezier(0.18, 0.96, 0.2, 1) both;
}

.crash-takeover span,
.cheapest-takeover span,
.market-open-takeover span {
  color: #fff;
  font-size: clamp(15px, 1.5vw, 30px);
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.crash-takeover strong,
.cheapest-takeover strong,
.market-open-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,
.market-open-takeover b {
  color: #fff;
  font-size: clamp(18px, 1.8vw, 36px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.market-open-takeover {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.28), rgba(40, 198, 79, 0.9) 20%, rgba(6, 58, 26, 0.86) 46%, rgba(0, 0, 0, 0.58) 72%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 3px, transparent 3px 18px);
}

.market-open-takeover strong {
  color: #fff;
  font-size: clamp(70px, 10vw, 210px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow:
    0 4px 0 rgba(0, 0, 0, 0.72),
    0 0 34px rgba(255, 255, 255, 0.86),
    0 0 88px rgba(40, 198, 79, 1);
}

.market-open-takeover b {
  color: #f6d94a;
}

.cheapest-takeover {
  background:
    radial-gradient(circle at center, color-mix(in srgb, var(--insider-blue) 74%, transparent), rgba(3, 14, 34, 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(--insider-blue);
  font-size: clamp(72px, 9vw, 190px);
  text-shadow: 0 0 55px color-mix(in srgb, var(--insider-blue) 72%, transparent);
}

.theme-tv-preview .ticker {
  z-index: 6;
}

.theme-tv-preview .ticker-track {
  animation-duration: 72s;
}

.theme-tv-preview .board-title {
  text-shadow:
    0 3px 0 rgba(0, 0, 0, 0.78),
    0 0 20px color-mix(in srgb, var(--board-title-color, var(--theme-accent-color, var(--green))) 54%, transparent),
    0 0 58px rgba(255, 255, 255, 0.18);
}

.theme-tv-preview .price-board {
  position: relative;
  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.is-paged::after,
.public-fullscreen-preview .price-board.is-paged::after {
  content: "PAGE " attr(data-page);
  position: absolute;
  right: 0;
  bottom: calc(-1.75em - 0.55vh);
  padding: 0.35em 0.72em;
  border: 1px solid color-mix(in srgb, var(--theme-accent-color, var(--green)) 58%, transparent);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: clamp(10px, 0.8vw, 18px);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 0 24px color-mix(in srgb, var(--theme-accent-color, var(--green)) 34%, transparent);
}

.public-fullscreen-preview .price-board.is-paged::after {
  top: calc(-2.2em - 0.75vh);
  right: 0;
  bottom: auto;
  z-index: 8;
  pointer-events: none;
}

.theme-tv-preview .price-board-page-marker,
.public-fullscreen-preview .price-board-page-marker {
  position: absolute !important;
  right: 0 !important;
  top: calc(-2.2em - 0.75vh) !important;
  z-index: 220 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: max-content !important;
  height: auto !important;
  padding: 0.35em 0.72em !important;
  border: 1px solid color-mix(in srgb, var(--theme-accent-color, var(--green)) 58%, transparent) !important;
  border-radius: 999px !important;
  background: rgba(0, 0, 0, 0.72) !important;
  color: #fff !important;
  font: 900 clamp(10px, 0.8vw, 18px)/1 Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  box-shadow: 0 0 24px color-mix(in srgb, var(--theme-accent-color, var(--green)) 34%, transparent) !important;
  pointer-events: none !important;
}

body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board-page-marker,
.theme-tv-preview.layout-boxes .price-board-page-marker,
.branding-demo-preview.layout-boxes .price-board-page-marker {
  top: clamp(-60px, -5.8vh, -38px) !important;
  right: clamp(8px, 1vw, 18px) !important;
}

.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 480ms ease, color 480ms ease, transform 520ms cubic-bezier(0.2, 0.88, 0.24, 1), opacity 480ms ease, box-shadow 480ms 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.84);
  font-size: 0.74em;
  font-style: normal;
  text-align: right;
}

.theme-tv-preview .price-board .price-up {
  color: var(--theme-accent-color, var(--green));
  animation: priceCellPulse 4.8s ease-in-out infinite;
}

.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));
  animation: priceCellPulse 4.2s ease-in-out infinite;
}

.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 {
  position: relative;
  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);
  display: block;
  transform-origin: center;
  will-change: filter, transform;
}

.theme-tv-preview .price-board .price-crashed.just-crashed {
  animation: crashedProductPulse 0.42s ease-in-out infinite;
}

.tv-performance-mode .public-fullscreen-preview .price-board .price-crashed,
.tv-performance-mode .public-fullscreen-preview .price-board .price-crashed.just-crashed {
  animation: crashedProductPulse 0.34s steps(2, end) infinite !important;
  animation-duration: 0.34s !important;
  animation-iteration-count: infinite !important;
}

.theme-tv-preview .price-board .mover-spotlight-row {
  position: relative;
  z-index: 2;
  animation: moverRowZoom 2.2s ease-in-out infinite;
}

.theme-tv-preview .price-board .mover-spotlight-row.spotlight-drop,
.theme-tv-preview .price-board .mover-spotlight-row.spotlight-drop em {
  color: #ff202b;
  box-shadow:
    inset 0 0 32px rgba(255, 32, 43, 0.38),
    0 0 34px rgba(255, 32, 43, 0.28);
}

.theme-tv-preview .price-board .mover-spotlight-row.spotlight-rise,
.theme-tv-preview .price-board .mover-spotlight-row.spotlight-rise em {
  color: #28c64f;
  box-shadow:
    inset 0 0 32px rgba(40, 198, 79, 0.34),
    0 0 34px rgba(40, 198, 79, 0.28);
}

.theme-tv-preview .price-board .mover-spotlight-row.spotlight-price,
.theme-tv-preview .price-board .mover-spotlight-row.spotlight-price em {
  color: #f6d94a;
  box-shadow:
    inset 0 0 34px rgba(246, 217, 74, 0.34),
    0 0 36px rgba(246, 217, 74, 0.28);
}

.theme-tv-preview .price-board .cheapest-row {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--insider-blue) 74%, transparent), rgba(255, 255, 255, 0.08));
  color: #fff;
  box-shadow: inset 0 0 22px color-mix(in srgb, var(--insider-blue) 28%, transparent);
  animation: cheapestRowPulse 2.4s ease-in-out infinite;
}

.theme-tv-preview .price-board .price-crashed.cheapest-row,
.theme-tv-preview .price-board .price-crashed.just-crashed,
.theme-tv-preview:not(.market-crashing) .price-board .price-crashed.cheapest-row {
  animation: crashedProductPulse 0.42s ease-in-out infinite !important;
  transform-origin: center;
}

.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 marketOpenLift {
  from {
    filter: brightness(1.32) saturate(1.45);
  }
  to {
    filter: brightness(1) saturate(1);
  }
}

@keyframes marketOpenPulse {
  0%, 100% {
    box-shadow: inset 0 0 120px rgba(40, 198, 79, 0.3);
  }
  50% {
    box-shadow: inset 0 0 180px rgba(246, 217, 74, 0.36);
  }
}

@keyframes marketOpenFlash {
  0%, 100% {
    opacity: 0.42;
  }
  50% {
    opacity: 0.86;
  }
}

@keyframes marketOpenTextFlash {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.35);
  }
}

@keyframes marketOpenTakeoverIn {
  from {
    opacity: 0;
    transform: scale(1.16) rotate(-1deg);
    filter: blur(10px) brightness(1.35);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) brightness(1);
  }
}

@keyframes marketOpenTakeoverPulse {
  from {
    text-shadow: 0 0 28px rgba(255, 255, 255, 0.62);
  }
  to {
    text-shadow: 0 0 52px rgba(246, 217, 74, 0.92);
  }
}

@keyframes crashTakeoverIn {
  from {
    opacity: 0;
    transform: scale(1.18);
    filter: blur(10px) brightness(1.4);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) brightness(1);
  }
}

@keyframes takeoverFadeIn {
  from {
    opacity: 0;
    transform: scale(1.12);
    filter: blur(7px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@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);
  }
  25% {
    filter: brightness(2);
    transform: translate3d(-16px, 0, 0) rotate(-0.7deg);
  }
  50% {
    filter: brightness(1.45);
    transform: translate3d(14px, 0, 0) rotate(0.7deg);
  }
  75% {
    filter: brightness(2);
    transform: translate3d(-10px, 0, 0) rotate(-0.45deg);
  }
}

@keyframes priceCellPulse {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.42);
  }
}

@keyframes moverRowZoom {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1.1);
  }
  50% {
    transform: scale(1.045);
    filter: brightness(1.86);
  }
}

@keyframes moverSpotlightPulse {
  0%,
  100% {
    filter: brightness(1);
    transform: translateX(0) translateY(0) scale(1);
  }
  50% {
    filter: brightness(1.7);
    transform: translateX(0) translateY(0) scale(1.05);
  }
}

@keyframes animalSignalTakeover {
  0% {
    opacity: 0;
    transform: scale(1.14);
    filter: blur(10px) brightness(1.25);
  }
  10%,
  76% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) brightness(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.96);
    filter: blur(8px) brightness(0.86);
  }
}

@keyframes animalIconPulse {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.65);
  }
}

@keyframes jamIconPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 22px currentColor) brightness(1);
    transform: translateY(0) scale(1);
  }
  50% {
    filter: drop-shadow(0 0 34px currentColor) brightness(1.18);
    transform: translateY(-8px) scale(1.035);
  }
}

.public-fullscreen-preview .price-board {
  width: calc(100vw - 6vw);
  max-width: none;
  margin-right: 3vw;
  margin-bottom: 7.4vh;
}

.public-fullscreen-preview .price-board span,
.public-fullscreen-preview .price-board strong {
  padding: 0.64vh 1.08vw;
  font-size: clamp(19px, 1.18vw, 34px);
}

.public-fullscreen-preview .price-board.board-density-medium span,
.public-fullscreen-preview .price-board.board-density-medium strong {
  padding-block: 0.94vh;
  font-size: clamp(24px, 1.52vw, 44px);
}

.public-fullscreen-preview .price-board.board-density-large span,
.public-fullscreen-preview .price-board.board-density-large strong {
  padding-block: 1.28vh;
  font-size: clamp(30px, 2vw, 58px);
}

.public-fullscreen-preview .price-board .category-header {
  padding-block: 0.36vh;
  font-size: clamp(12px, 0.7vw, 18px);
}

.public-fullscreen-preview .price-board strong em {
  min-width: clamp(74px, 5.2vw, 118px);
  font-size: 0.68em;
}

.public-fullscreen-preview.event-open:not(.market-crashing) .market-signal-panel {
  display: none;
}

.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(190px, 20vw, 420px);
}

.public-fullscreen-preview.market-crashing .crash-takeover strong {
  font-size: clamp(132px, 14vw, 310px);
}

.public-fullscreen-preview .crash-takeover span {
  font-size: clamp(22px, 1.8vw, 42px);
}

.public-fullscreen-preview .crash-takeover b {
  font-size: clamp(28px, 2.3vw, 54px);
}

.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));
}

.market-mover-spotlight {
  position: absolute;
  right: calc(3vw + clamp(380px, 28vw, 520px));
  top: 18vh;
  bottom: auto;
  z-index: 6;
  display: grid;
  justify-items: end;
  width: clamp(330px, 27vw, 460px);
  max-width: calc(94vw - clamp(380px, 28vw, 520px));
  padding: clamp(12px, 1.1vw, 22px) clamp(16px, 1.5vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.66)),
    rgba(0, 0, 0, 0.62);
  color: #f6d94a;
  text-align: right;
  text-transform: uppercase;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(22px) translateY(-4px) scale(0.94);
  box-shadow:
    0 0 42px rgba(246, 217, 74, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.market-mover-spotlight.is-showing {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1);
  animation: moverSpotlightPulse 2.4s ease-in-out infinite;
}

.market-mover-spotlight.spotlight-drop {
  color: #ff202b;
  box-shadow:
    0 0 46px rgba(255, 32, 43, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.market-mover-spotlight.spotlight-rise {
  color: #28c64f;
  box-shadow:
    0 0 46px rgba(40, 198, 79, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.market-mover-spotlight span {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(12px, 0.82vw, 18px);
  font-weight: 900;
  letter-spacing: 0.2em;
}

.market-mover-spotlight strong {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(30px, 2.45vw, 66px);
  line-height: 0.95;
  text-shadow: 0 0 26px currentColor;
}

.market-mover-spotlight.name-long strong {
  font-size: clamp(24px, 2vw, 50px);
  line-height: 0.9;
}

.market-mover-spotlight.name-extra-long strong {
  font-size: clamp(20px, 1.65vw, 40px);
}

.market-mover-spotlight b {
  display: block;
  max-width: 100%;
  font-size: clamp(34px, 2.75vw, 74px);
  line-height: 0.92;
  text-shadow: 0 0 34px currentColor;
}

.market-animal-signal {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: block;
  overflow: hidden;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.1);
  background:
    radial-gradient(circle at center, color-mix(in srgb, currentColor 42%, transparent), rgba(0, 0, 0, 0.66) 44%, rgba(0, 0, 0, 0.36) 76%),
    repeating-linear-gradient(90deg, color-mix(in srgb, currentColor 18%, transparent) 0 3px, transparent 3px 22px);
  box-shadow:
    inset 0 0 180px color-mix(in srgb, currentColor 36%, transparent),
    0 0 80px color-mix(in srgb, currentColor 58%, transparent);
  color: var(--theme-accent-color, var(--green));
  text-align: center;
  text-transform: uppercase;
  transition: opacity 620ms ease, transform 720ms cubic-bezier(0.16, 0.84, 0.26, 1), filter 620ms ease;
}

.market-animal-signal.is-showing {
  animation: animalSignalTakeover 7.4s cubic-bezier(0.16, 0.84, 0.26, 1) both;
}

.market-animal-signal.signal-bull {
  color: var(--theme-accent-color, var(--green));
}

.market-animal-signal.signal-bear {
  color: var(--theme-crash-color, var(--red));
}

.market-animal-icon {
  position: absolute;
  left: clamp(18px, 4vw, 82px);
  bottom: -2vh;
  display: block;
  width: clamp(340px, 33vw, 660px);
  height: clamp(390px, 65vh, 780px);
  border: 0;
  border-radius: 0;
  background-image: url("../assets/jam-down.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  -webkit-mask-image: radial-gradient(ellipse at 50% 54%, #000 0 58%, rgba(0, 0, 0, 0.72) 68%, transparent 86%);
  mask-image: radial-gradient(ellipse at 50% 54%, #000 0 58%, rgba(0, 0, 0, 0.72) 68%, transparent 86%);
  box-shadow: none;
  color: currentColor;
  font-family: "Arial Black", Impact, Arial, sans-serif;
  font-size: 0;
  text-shadow: none;
  filter: drop-shadow(0 0 22px currentColor);
  animation: jamIconPulse 0.86s ease-in-out infinite;
}

.signal-jam-up .market-animal-icon {
  width: clamp(360px, 36vw, 720px);
  background-image: url("../assets/jam-up.png");
}

.signal-jam-down .market-animal-icon {
  width: clamp(340px, 33vw, 660px);
  background-image: url("../assets/jam-down.png");
}

.market-animal-signal > div {
  position: absolute;
  left: clamp(360px, 35vw, 710px);
  right: clamp(40px, 8vw, 180px);
  bottom: clamp(142px, 22vh, 260px);
  padding: clamp(22px, 2.2vw, 46px) clamp(26px, 2.8vw, 58px);
  border: 2px solid currentColor;
  border-radius: clamp(18px, 1.8vw, 34px);
  background:
    linear-gradient(135deg, color-mix(in srgb, currentColor 18%, transparent), rgba(0, 0, 0, 0.82)),
    rgba(0, 0, 0, 0.72);
  box-shadow:
    0 0 34px color-mix(in srgb, currentColor 38%, transparent),
    0 22px 70px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  text-align: left;
}

.market-animal-signal > div::before {
  content: "";
  position: absolute;
  left: clamp(-54px, -3.2vw, -30px);
  bottom: clamp(34px, 4vh, 72px);
  width: clamp(34px, 3.4vw, 62px);
  height: clamp(34px, 3.4vw, 62px);
  background:
    linear-gradient(135deg, color-mix(in srgb, currentColor 18%, transparent), rgba(0, 0, 0, 0.82)),
    rgba(0, 0, 0, 0.72);
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  box-shadow: -12px 12px 26px rgba(0, 0, 0, 0.28);
}

.market-animal-signal strong {
  display: block;
  color: #fff;
  font-size: clamp(44px, 5.4vw, 116px);
  font-style: italic;
  letter-spacing: 0.035em;
  line-height: 0.9;
  text-shadow:
    0 5px 0 rgba(0, 0, 0, 0.72),
    0 0 32px currentColor,
    0 0 90px color-mix(in srgb, currentColor 74%, transparent);
}

.market-animal-signal b {
  display: inline-grid;
  margin-top: clamp(12px, 1.4vw, 26px);
  color: currentColor;
  font-size: clamp(24px, 2.6vw, 58px);
  font-style: italic;
  line-height: 1;
  text-shadow: 0 0 30px currentColor;
}

.market-animal-signal b::after {
  content: "  \2191 \2191";
}

.market-animal-signal.signal-bear b::after {
  content: "  \2193 \2193";
}

.market-animal-signal::after {
  content: "JAM - INSIDER TIP";
  position: absolute;
  left: clamp(46px, 6vw, 130px);
  bottom: clamp(42px, 5.8vh, 76px);
  transform: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(13px, 1vw, 22px);
  letter-spacing: 0.28em;
}

.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:not(.has-market-signals):not(.market-crashing) .market-signal-panel {
  display: none;
}

.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-preview-panel .branding-demo-preview .theme-screen-settings {
  display: none;
}

.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.layout-boxes,
.theme-tv-preview.layout-strips,
.theme-tv-preview.layout-minimal-grid {
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 160, 142, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(0, 10, 10, 0.96), rgba(0, 0, 0, 0.98));
}

.theme-tv-preview.layout-boxes .animated-market-bg,
.theme-tv-preview.layout-strips .animated-market-bg,
.theme-tv-preview.layout-minimal-grid .animated-market-bg,
.theme-tv-preview.layout-boxes::before,
.theme-tv-preview.layout-boxes::after,
.theme-tv-preview.layout-strips::before,
.theme-tv-preview.layout-strips::after,
.theme-tv-preview.layout-minimal-grid::before,
.theme-tv-preview.layout-minimal-grid::after {
  display: none;
}

.theme-tv-preview.layout-boxes .ticker,
.theme-tv-preview.layout-strips .ticker,
.theme-tv-preview.layout-minimal-grid .ticker {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #f8fbfa;
}

.theme-tv-preview.layout-boxes .ticker::before,
.theme-tv-preview.layout-strips .ticker::before,
.theme-tv-preview.layout-minimal-grid .ticker::before {
  content: "LIVE PRICES";
  float: right;
  margin: -2px 0 -2px 16px;
  transform: skewX(-14deg);
  background: linear-gradient(135deg, #007a70, #009b86);
  padding: 8px 18px;
  color: #fff;
  font-weight: 900;
}

.theme-tv-preview.layout-boxes .board-title,
.theme-tv-preview.layout-strips .board-title,
.theme-tv-preview.layout-minimal-grid .board-title {
  color: #fff;
  font-size: clamp(34px, 5.6vw, 92px);
  letter-spacing: 0.03em;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.86), 0 0 24px rgba(255, 255, 255, 0.16);
}

.theme-tv-preview.layout-boxes .theme-screen-logo,
.theme-tv-preview.layout-strips .theme-screen-logo,
.theme-tv-preview.layout-minimal-grid .theme-screen-logo {
  left: 32px;
  top: 52px;
  transform: none;
}

.theme-tv-preview.layout-boxes .price-board,
.theme-tv-preview.layout-minimal-grid .price-board {
  display: grid;
  grid-template-columns: repeat(var(--theme-product-columns), minmax(0, 1fr));
  grid-auto-rows: minmax(38px, auto);
  gap: 4px;
  width: calc(100% - 32px);
  margin: 0 16px 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.theme-tv-preview.layout-boxes .price-board .category-header,
.theme-tv-preview.layout-minimal-grid .price-board .category-header {
  display: none;
}

.theme-tv-preview.layout-boxes .price-board span:not(.category-header),
.theme-tv-preview.layout-boxes .price-board strong,
.theme-tv-preview.layout-minimal-grid .price-board span:not(.category-header),
.theme-tv-preview.layout-minimal-grid .price-board strong {
  grid-column: var(--theme-item-col, auto);
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(112deg, rgba(0, 155, 134, 0.26), rgba(0, 0, 0, 0.78) 44%, rgba(191, 139, 0, 0.22)),
    rgba(8, 12, 13, 0.92);
  box-shadow: inset 0 0 36px rgba(0, 0, 0, 0.46);
}

.theme-tv-preview.layout-boxes .price-board span:not(.category-header),
.theme-tv-preview.layout-minimal-grid .price-board span:not(.category-header) {
  grid-row: var(--theme-product-row, auto);
  border-bottom: 0;
  padding: 16px 14px 4px;
  color: #fff;
  font-size: clamp(13px, 1.25vw, 23px);
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.theme-tv-preview.layout-boxes .price-board strong,
.theme-tv-preview.layout-minimal-grid .price-board strong {
  grid-row: var(--theme-price-row, auto);
  border-top: 0;
  padding: 6px 14px 18px;
  color: #f7f7f7;
  font-size: clamp(24px, 3.3vw, 58px);
  line-height: 0.95;
  text-align: left;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.58);
}

.theme-tv-preview.layout-boxes .price-board strong em,
.theme-tv-preview.layout-minimal-grid .price-board strong em {
  display: block;
  margin-top: 8px;
  font-size: 0.34em;
  line-height: 1;
}

.theme-tv-preview.layout-boxes .price-board .price-up,
.theme-tv-preview.layout-minimal-grid .price-board .price-up {
  color: #78d895;
}

.theme-tv-preview.layout-boxes .price-board .price-down,
.theme-tv-preview.layout-boxes .price-board .price-crashed,
.theme-tv-preview.layout-minimal-grid .price-board .price-down,
.theme-tv-preview.layout-minimal-grid .price-board .price-crashed {
  color: #ff3030;
}

.theme-tv-preview.layout-minimal-grid .price-board {
  gap: 2px;
  width: calc(100% - 20px);
  margin-inline: 10px;
}

.theme-tv-preview.layout-minimal-grid .price-board span:not(.category-header),
.theme-tv-preview.layout-minimal-grid .price-board strong {
  background:
    radial-gradient(circle at 22% 28%, color-mix(in srgb, var(--theme-accent-color, #00a08e) 18%, transparent), transparent 45%),
    rgba(5, 12, 13, 0.92);
}

.theme-tv-preview.layout-strips .price-board {
  grid-template-columns: 0.45fr 0.32fr 0.23fr 0.45fr 0.32fr 0.23fr;
  gap: 2px 10px;
  width: calc(100% - 36px);
  margin: 0 18px 52px;
  border: 0;
  background: transparent;
}

.theme-tv-preview.layout-strips .price-board .category-header {
  display: none;
}

.theme-tv-preview.layout-strips .price-board span:not(.category-header),
.theme-tv-preview.layout-strips .price-board strong {
  min-height: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(105deg, rgba(0, 155, 134, 0.76), rgba(0, 0, 0, 0.82) 58%);
}

.theme-tv-preview.layout-strips .price-board span:not(.category-header) {
  padding: 9px 14px;
  color: #fff;
  font-size: clamp(14px, 1.4vw, 26px);
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.theme-tv-preview.layout-strips .price-board strong {
  padding: 9px 14px;
  color: #fff;
  font-size: clamp(26px, 3vw, 54px);
  line-height: 0.9;
  text-align: right;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.58);
}

.theme-tv-preview.layout-strips .price-board strong em {
  display: inline-block;
  min-width: 58px;
  margin-left: 12px;
  color: #67d58f;
  font-size: 0.34em;
  line-height: 1;
  text-align: left;
}

.theme-tv-preview.layout-strips .price-board .price-down em,
.theme-tv-preview.layout-strips .price-board .price-crashed em {
  color: #ff3030;
}

.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-change-countdown,
.theme-tv-preview.event-scheduled .price-change-countdown,
.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;
  animation: closedStateSettle 900ms ease both;
}

.theme-tv-preview.event-closed::before {
  inset: 0;
  z-index: 0;
  opacity: 0.62;
  background:
    linear-gradient(163deg, transparent 0 24%, rgba(40, 198, 79, 0.34) 25%, transparent 26% 60%, rgba(255, 32, 43, 0.38) 61%, transparent 62%),
    repeating-linear-gradient(88deg, rgba(40, 198, 79, 0.07) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(92deg, rgba(255, 32, 43, 0.08) 0 1px, transparent 1px 46px),
    radial-gradient(circle at 50% 100%, rgba(255, 32, 43, 0.18), transparent 46%);
  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 42s ease-in-out infinite alternate;
}

.theme-tv-preview.event-closed::after {
  inset: auto -10% -18%;
  z-index: 1;
  height: 58%;
  opacity: 0.64;
  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, 26px 26px;
  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 36s ease-in-out infinite alternate;
}

.theme-tv-preview.event-closed .animated-market-bg {
  z-index: 0;
  opacity: 0.42;
  filter: blur(1.6px) saturate(1.18);
}

.theme-tv-preview.event-closed .animated-market-bg span {
  height: 74%;
  opacity: 0.26;
  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;
  animation: none;
}

.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 {
  max-width: none;
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 0;
  padding: 0 5vw;
  color: var(--theme-crash-color, var(--red));
  font-size: 0;
  text-align: center;
  text-transform: uppercase;
  transform: none;
  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);
  animation: marketClosedTitleEnter 980ms cubic-bezier(0.16, 0.84, 0.26, 1) both;
}

.theme-tv-preview.event-closed .board-title::before {
  content: "MARKET\A CLOSED";
  display: block;
  white-space: pre-line;
  font-family: var(--board-title-font, var(--theme-board-font, "Segoe UI Variable", "Segoe UI", Arial, sans-serif));
  font-size: clamp(72px, 11vw, 178px);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: 0.02em;
  color: #ff302f;
  filter: drop-shadow(0 0 12px rgba(255, 47, 38, 0.96));
  transform: skewX(-8deg);
  transform-origin: center;
}

.market-open-countdown {
  display: none;
}

.theme-tv-preview.event-scheduled .board-title {
  position: absolute;
  left: 50%;
  top: 16vh;
  z-index: 7;
  display: grid;
  width: min(980px, 84vw);
  max-width: none;
  min-height: 0;
  place-items: center;
  padding: 0;
  color: var(--theme-crash-color, var(--red));
  font-size: 0;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%) skewX(-7deg);
  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-scheduled .board-title::before {
  content: "OPENING\A SOON";
  display: block;
  white-space: pre-line;
  font-family: var(--board-title-font, var(--theme-board-font, "Segoe UI Variable", "Segoe UI", Arial, sans-serif));
  font-size: clamp(72px, 11vw, 190px);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #ffffff 0%, #f6d94a 34%, #28c64f 70%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(40, 198, 79, 0.98));
}

.theme-tv-preview.event-scheduled .board-title::after {
  content: "";
  width: min(520px, 56vw);
  height: 3px;
  margin-top: clamp(12px, 1.4vw, 24px);
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(246, 217, 74, 0.95), rgba(40, 198, 79, 0.95), transparent);
  box-shadow:
    0 0 22px rgba(40, 198, 79, 0.96),
    0 0 68px rgba(246, 217, 74, 0.62);
}

.theme-tv-preview.event-scheduled.opening-now .board-title {
  display: none;
}

.theme-tv-preview.event-scheduled .ticker,
.theme-tv-preview.event-scheduled .crash-countdown,
.theme-tv-preview.event-scheduled .cheapest-callout,
.theme-tv-preview.event-scheduled .market-signal-panel,
.theme-tv-preview.event-scheduled .instruction-scroller,
.theme-tv-preview.event-scheduled .crash-takeover,
.theme-tv-preview.event-scheduled .cheapest-takeover,
.theme-tv-preview.event-scheduled .price-board {
  display: none;
}

.theme-tv-preview.event-scheduled .market-open-countdown {
  position: absolute;
  left: 50%;
  top: auto;
  bottom: 9vh;
  z-index: 8;
  display: grid;
  gap: clamp(5px, 0.7vw, 12px);
  width: min(520px, 58vw);
  padding: clamp(12px, 1.2vw, 22px) clamp(18px, 2vw, 34px);
  border: 1px solid rgba(40, 198, 79, 0.62);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(40, 198, 79, 0.16), rgba(255, 32, 43, 0.1)),
    rgba(0, 0, 0, 0.58);
  box-shadow:
    0 0 34px rgba(40, 198, 79, 0.22),
    0 28px 70px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
  animation: countdownPanelEnter 780ms cubic-bezier(0.16, 0.84, 0.26, 1) both;
}

.theme-tv-preview.event-scheduled .market-open-countdown span,
.theme-tv-preview.event-scheduled .market-open-countdown b {
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(10px, 0.74vw, 16px);
  font-weight: 900;
  letter-spacing: 0.2em;
}

.theme-tv-preview.event-scheduled.opening-countdown .board-title::before {
  content: "OPENING\A SOON";
  background:
    linear-gradient(180deg, #ffffff 0%, #f6d94a 34%, #28c64f 70%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(40, 198, 79, 0.98));
}

.theme-tv-preview.event-scheduled.opening-countdown .board-title::after {
  background: linear-gradient(90deg, transparent, rgba(246, 217, 74, 0.95), rgba(40, 198, 79, 0.95), transparent);
  box-shadow:
    0 0 22px rgba(40, 198, 79, 0.96),
    0 0 68px rgba(246, 217, 74, 0.62);
}
.theme-tv-preview.event-scheduled.opening-countdown .market-open-countdown {
  top: auto;
  bottom: 8vh;
  width: min(760px, 72vw);
  border-color: rgba(246, 217, 74, 0.84);
  background:
    radial-gradient(circle at center, rgba(246, 217, 74, 0.2), transparent 58%),
    linear-gradient(135deg, rgba(40, 198, 79, 0.38), rgba(246, 217, 74, 0.18)),
    rgba(0, 0, 0, 0.72);
  box-shadow:
    0 0 54px rgba(40, 198, 79, 0.5),
    0 0 120px rgba(246, 217, 74, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  animation:
    countdownPanelEnter 360ms cubic-bezier(0.16, 0.84, 0.26, 1) both,
    marketOpenPulse 0.72s ease-in-out infinite;
}

.theme-tv-preview.event-scheduled.opening-countdown .market-open-countdown strong {
  color: #fff;
  font-size: clamp(132px, 20vw, 360px);
  line-height: 0.82;
  text-shadow:
    0 8px 0 rgba(0, 0, 0, 0.72),
    0 0 32px rgba(255, 255, 255, 0.88),
    0 0 92px rgba(40, 198, 79, 0.94);
}
.theme-tv-preview.event-scheduled .market-open-countdown strong {
  color: var(--theme-accent-color, var(--green));
  font-family: var(--theme-board-font, "Segoe UI Variable", "Segoe UI", Arial, sans-serif);
  font-size: clamp(38px, 4.8vw, 102px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-shadow:
    0 4px 0 rgba(0, 0, 0, 0.72),
    0 0 24px rgba(40, 198, 79, 0.74),
    0 0 80px rgba(40, 198, 79, 0.48);
}

.theme-tv-preview.event-closed .board-title::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  top: 67%;
  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: none;
  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 .branding-demo-preview .board-title {
  max-width: min(58%, 520px);
  padding: 54px 22px 10px;
  font-size: clamp(30px, calc(var(--theme-heading-size) * 0.48), 52px);
  line-height: 0.88;
}

.theme-preview-panel .theme-tv-preview:not(.branding-demo-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.board-density-medium span,
.theme-preview-panel .theme-tv-preview .price-board.board-density-medium strong {
  padding-block: 6px;
  font-size: clamp(11px, calc(var(--theme-price-size) * 0.32), 24px);
}

.theme-preview-panel .theme-tv-preview .price-board.board-density-large span,
.theme-preview-panel .theme-tv-preview .price-board.board-density-large strong {
  padding-block: 8px;
  font-size: clamp(13px, calc(var(--theme-price-size) * 0.38), 28px);
}

.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);
}

#visual-preview-screen .market-signal-panel,
#visual-preview-screen .market-signal-panel.rising,
#visual-preview-screen .market-signal-panel.falling,
.theme-preview-panel .branding-demo-preview .market-signal-panel,
.theme-preview-panel .branding-demo-preview .market-signal-panel.rising,
.theme-preview-panel .branding-demo-preview .market-signal-panel.falling {
  top: auto;
  bottom: 5.8%;
  align-content: center;
  min-width: min(190px, 20%);
  max-width: min(210px, 23%);
  min-height: 58px;
  max-height: 76px;
  padding: 8px 10px;
}

#visual-preview-screen .market-signal-panel.rising,
.theme-preview-panel .branding-demo-preview .market-signal-panel.rising {
  right: calc(3% + min(210px, 24%));
}

#visual-preview-screen .market-signal-panel.falling,
.theme-preview-panel .branding-demo-preview .market-signal-panel.falling {
  right: 3%;
}

.theme-preview-panel .theme-tv-preview .market-mover-spotlight {
  right: 218px;
  top: 72px;
  bottom: auto;
  width: 172px;
  max-width: 172px;
  padding: 8px 10px;
  border-radius: 10px;
}

.theme-preview-panel .theme-tv-preview .market-mover-spotlight span {
  font-size: 7px;
}

.theme-preview-panel .theme-tv-preview .market-mover-spotlight strong {
  overflow-wrap: anywhere;
  font-size: clamp(13px, 1.2vw, 20px);
}

.theme-preview-panel .theme-tv-preview .market-mover-spotlight.name-long strong {
  font-size: clamp(10px, 0.92vw, 15px);
  line-height: 0.92;
}

.theme-preview-panel .theme-tv-preview .market-mover-spotlight.name-extra-long strong {
  font-size: clamp(9px, 0.8vw, 13px);
}

.theme-preview-panel .theme-tv-preview .market-mover-spotlight b {
  font-size: clamp(17px, 1.6vw, 28px);
}

.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);
}

.branding-stage-panel .branding-demo-preview .board-title {
  padding: 48px 20px 8px;
  font-size: clamp(24px, calc(var(--theme-heading-size) * 0.38), 42px);
}

.branding-stage-panel .branding-demo-preview .price-board {
  width: calc(100% - 40px);
  margin: 0 20px 48px;
}

.branding-stage-panel .branding-demo-preview .price-board span,
.branding-stage-panel .branding-demo-preview .price-board strong,
.branding-stage-panel .branding-demo-preview .price-board.board-density-large span,
.branding-stage-panel .branding-demo-preview .price-board.board-density-large strong,
.branding-stage-panel .branding-demo-preview .price-board.board-density-medium span,
.branding-stage-panel .branding-demo-preview .price-board.board-density-medium strong,
.branding-stage-panel .branding-demo-preview.theme-preset-nightclub .price-board span,
.branding-stage-panel .branding-demo-preview.theme-preset-nightclub .price-board strong,
.branding-stage-panel .branding-demo-preview.theme-preset-sports .price-board span,
.branding-stage-panel .branding-demo-preview.theme-preset-sports .price-board strong,
.branding-stage-panel .branding-demo-preview.theme-preset-contrast .price-board span,
.branding-stage-panel .branding-demo-preview.theme-preset-contrast .price-board strong {
  min-height: 16px;
  padding: 2px 6px;
  font-size: clamp(8px, calc(var(--theme-price-size) * 0.19), 12px);
}

.branding-stage-panel .branding-demo-preview .price-board .category-header,
.branding-stage-panel .branding-demo-preview .price-board.board-density-large .category-header,
.branding-stage-panel .branding-demo-preview .price-board.board-density-medium .category-header,
.branding-stage-panel .branding-demo-preview.theme-preset-contrast .price-board .category-header,
.branding-stage-panel .branding-demo-preview.theme-preset-sports .price-board .category-header {
  min-height: 14px;
  padding-block: 1px;
  font-size: 7px;
}

.branding-stage-panel .branding-demo-preview .price-board strong em {
  min-width: 34px;
  font-size: 0.56em;
}

.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 {
  --mobile-public-top-guard: clamp(44px, 10svh, 78px);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 12px;
  height: 100vh;
  min-height: 0;
  overflow: hidden;
  padding: 0 12px 12px;
  color: #f8fbfa;
}

.tv-display-body.mobile-preview-embed .mobile-market-hero {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 0 -12px;
  padding: calc(var(--mobile-public-top-guard) + env(safe-area-inset-top, 0px)) 12px 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-market-footer {
  display: none;
}

.tv-display-body.mobile-preview-embed .mobile-brand {
  display: flex;
  justify-content: center;
  width: 100%;
}

.tv-display-body.mobile-preview-embed .mobile-brand img {
  width: 100%;
  max-height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(40, 198, 79, 0.34));
}

.tv-display-body.mobile-preview-embed .mobile-venue-label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.tv-display-body.mobile-preview-embed .mobile-status-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tv-display-body.mobile-preview-embed .mobile-live-pill,
.tv-display-body.mobile-preview-embed .mobile-crash-timer,
.tv-display-body.mobile-preview-embed .mobile-deal-strip article {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(7, 11, 10, 0.78);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}

.tv-display-body.mobile-preview-embed .mobile-live-pill,
.tv-display-body.mobile-preview-embed .mobile-crash-timer {
  display: grid;
  align-content: center;
  min-height: 38px;
  padding: 8px 10px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tv-display-body.mobile-preview-embed .mobile-live-pill {
  border-color: rgba(40, 198, 79, 0.44);
  color: var(--green);
}

.tv-display-body.mobile-preview-embed .mobile-crash-timer b {
  display: block;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0;
}

.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 {
  display: grid;
  gap: 3px;
  padding: 10px;
}

.tv-display-body.mobile-preview-embed .mobile-deal-strip span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tv-display-body.mobile-preview-embed .mobile-deal-strip strong {
  color: #fff;
  font-size: 17px;
}

.tv-display-body.mobile-preview-embed .mobile-deal-strip b {
  color: var(--insider-blue);
  font-size: 24px;
  line-height: 1;
}

.tv-display-body.mobile-preview-embed .mobile-deal-strip .up {
  color: var(--green);
}

.tv-display-body.mobile-preview-embed .mobile-deal-strip .down {
  color: var(--red);
}

.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 a.mobile-price-up strong,
.tv-display-body.mobile-preview-embed .mobile-market-list .up {
  color: var(--green);
}

.tv-display-body.mobile-preview-embed .mobile-market-list a.mobile-price-down strong,
.tv-display-body.mobile-preview-embed .mobile-market-list a.mobile-price-crashed strong,
.tv-display-body.mobile-preview-embed .mobile-market-list .down {
  color: var(--red);
}

.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;
  }

  .gateway-auth-form {
    grid-template-columns: 1fr;
  }

  .gateway-venue-fields,
  .approval-summary-grid,
  .approval-request-card {
    grid-template-columns: 1fr;
  }

  .gateway-auth-actions button {
    width: 100%;
  }

  .approval-request-actions {
    justify-content: stretch;
  }

  .approval-request-actions button {
    width: 100%;
  }

  .homepage-shell {
    display: block;
  }

  .homepage-rail {
    display: none;
  }

  .homepage-main {
    max-width: 100%;
    overflow-x: hidden;
    padding: 16px;
  }

  .homepage-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "customer";
    padding: 22px;
  }

  .homepage-logo-banner {
    min-height: 118px;
    gap: 14px;
  }

  .homepage-language-select {
    display: grid;
  }

  .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;
  }

  .home-tv-panel {
    display: none;
    gap: 14px;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 14px;
  }

  .home-tv-panel > * {
    max-width: 100%;
    min-width: 0;
  }

  .home-tv-panel .homepage-tv-preview {
    width: 100%;
    max-width: 100%;
    height: clamp(150px, 48vw, 188px);
    aspect-ratio: auto;
    min-height: 0;
    border-radius: 8px;
    contain: layout paint;
    isolation: isolate;
    overflow: hidden;
  }

  .home-tv-panel .homepage-tv-preview .ticker {
    position: absolute;
    inset: 0 0 auto;
    z-index: 5;
    height: 18px;
    padding: 4px 7px;
    font-size: 7px;
    letter-spacing: 0.04em;
  }

  .home-tv-panel .homepage-tv-preview .ticker-track {
    max-width: 100%;
    padding-left: 0;
    animation: none;
    transform: translateX(0);
  }

  .home-tv-panel .homepage-tv-preview .board-title {
    position: absolute;
    left: 12px;
    top: 44px;
    z-index: 2;
    max-width: 48%;
    padding: 0;
    font-size: clamp(18px, 6.2vw, 24px);
    line-height: 0.88;
  }

  .home-tv-panel .homepage-tv-preview .price-board {
    --theme-product-columns: 1;
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 3;
    grid-template-columns: minmax(0, 1fr) auto;
    width: min(50%, 168px);
    max-height: 66px;
    gap: 2px 7px;
    margin: 0;
    padding: 0;
    border-radius: 5px;
  }

  .home-tv-panel .homepage-tv-preview .price-board .category-header {
    font-size: 6px;
    letter-spacing: 0.12em;
  }

  .home-tv-panel .homepage-tv-preview .price-board span:not(.category-header),
  .home-tv-panel .homepage-tv-preview .price-board strong {
    padding: 3px 5px;
    font-size: 9px;
    line-height: 1.05;
  }

  .home-tv-panel .homepage-tv-preview .price-board > :nth-child(n + 6) {
    display: none;
  }

  .home-tv-panel .homepage-tv-preview .cheapest-callout {
    top: 48px;
    right: 10px;
    bottom: auto;
    left: auto;
    max-width: 40%;
    gap: 5px;
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    border-radius: 7px;
    padding: 5px 6px;
    animation: none;
  }

  .home-tv-panel .homepage-tv-preview .cheapest-callout span {
    font-size: 5px;
    letter-spacing: 0.1em;
  }

  .home-tv-panel .homepage-tv-preview .cheapest-callout strong {
    font-size: 8px;
  }

  .home-tv-panel .homepage-tv-preview .cheapest-callout b {
    font-size: 10px;
  }

  .home-tv-panel .homepage-tv-preview .market-signal-panel,
  .home-tv-panel .homepage-tv-preview .crash-countdown {
    display: none;
  }

  .home-tv-panel .homepage-tv-preview .instruction-scroller {
    display: none;
  }

  .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-bottom-cta {
    grid-template-columns: 1fr;
  }

  .home-bottom-cta .home-primary-action {
    width: min(100%, 320px);
    justify-self: start;
  }

  .pos-contact-prompt {
    align-items: stretch;
    flex-direction: column;
  }

  .pos-contact-button {
    width: 100%;
  }

  .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;
  }

  .screen-heading {
    padding-right: 0;
    padding-top: 62px;
  }

  .screen.active .license-status-badge {
    position: absolute;
    top: 18px;
    right: auto;
    left: 0;
  }

  .screen.active .jam-help-button {
    position: absolute;
    top: 18px;
    right: auto;
    left: 126px;
  }

  .market-state-panel {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.mobile-live-dashboard .app-shell,
  body.dashboard-visible.mobile-live-dashboard .app-shell {
    display: block;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  body.mobile-live-dashboard .sidebar {
    display: none;
  }

  body.mobile-live-dashboard .workspace {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    padding: 12px;
  }

  body.mobile-live-dashboard .mobile-live-admin-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: -12px -12px 12px;
    border-bottom: 1px solid rgba(40, 198, 79, 0.22);
    background: rgba(0, 8, 6, 0.96);
    padding: 10px 12px;
    backdrop-filter: blur(14px);
  }

  body.mobile-live-dashboard .mobile-live-admin-bar img {
    width: min(190px, 56vw);
    max-height: 28px;
    object-fit: contain;
  }

  body.mobile-live-dashboard .mobile-live-admin-bar button {
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    white-space: nowrap;
  }

  body.mobile-live-dashboard #open-mobile-version {
    display: none;
  }

  body.mobile-live-dashboard .screen:not(#live) {
    display: none;
  }

  body.mobile-live-dashboard #live.screen {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body.mobile-live-dashboard .live-event-heading {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
  }

  body.mobile-live-dashboard .live-event-heading h1 {
    font-size: clamp(28px, 12vw, 46px);
    line-height: 0.95;
  }

  body.mobile-live-dashboard .live-event-heading .screen-intro {
    display: none;
  }

  body.mobile-live-dashboard .pulse-badge {
    min-height: 38px;
    min-width: 0;
    justify-self: start;
    font-size: 13px;
  }

  body.mobile-live-dashboard .market-state-panel {
    min-height: 86px;
    margin: 0 0 12px;
    border-radius: 10px;
    padding: 16px;
  }

  body.mobile-live-dashboard .market-state-panel span {
    font-size: 12px;
  }

  body.mobile-live-dashboard .market-state-panel strong {
    font-size: clamp(42px, 17vw, 74px);
  }

  body.mobile-live-dashboard .single-focus-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 100%;
  }

  body.mobile-live-dashboard .live-prices-card,
  body.mobile-live-dashboard .live-summary-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 14px;
    border-radius: 10px;
    overflow: hidden;
  }

  body.mobile-live-dashboard .live-card-title {
    margin-bottom: 14px;
  }

  body.mobile-live-dashboard .live-card-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  body.mobile-live-dashboard .live-product-toolbar {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0 0 12px;
  }

  body.mobile-live-dashboard .live-product-toolbar label:first-child,
  body.mobile-live-dashboard .live-product-toolbar button {
    grid-column: 1 / -1;
  }

  body.mobile-live-dashboard .live-prices-table {
    display: table;
    width: 100%;
    table-layout: fixed;
    overflow: visible;
    white-space: normal;
  }

  body.mobile-live-dashboard .live-prices-table th:nth-child(4),
  body.mobile-live-dashboard .live-prices-table th:nth-child(5),
  body.mobile-live-dashboard .live-prices-table th:nth-child(7),
  body.mobile-live-dashboard .live-prices-table td:nth-child(4),
  body.mobile-live-dashboard .live-prices-table td:nth-child(5),
  body.mobile-live-dashboard .live-prices-table td:nth-child(7) {
    display: none;
  }

  body.mobile-live-dashboard .live-prices-table th:nth-child(1),
  body.mobile-live-dashboard .live-prices-table td:nth-child(1) {
    width: 42px;
  }

  body.mobile-live-dashboard .live-prices-table th:nth-child(2),
  body.mobile-live-dashboard .live-prices-table td:nth-child(2) {
    width: auto;
  }

  body.mobile-live-dashboard .live-prices-table th:nth-child(3),
  body.mobile-live-dashboard .live-prices-table td:nth-child(3) {
    width: 78px;
  }

  body.mobile-live-dashboard .live-prices-table th:nth-child(6),
  body.mobile-live-dashboard .live-prices-table td:nth-child(6) {
    width: 44px;
    text-align: right;
  }

  body.mobile-live-dashboard .live-prices-table th,
  body.mobile-live-dashboard .live-prices-table td {
    padding: 12px 5px;
    font-size: 14px;
    vertical-align: middle;
  }

  body.mobile-live-dashboard .live-prices-table td:nth-child(2) strong {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.mobile-live-dashboard .live-product-name-cell {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  body.mobile-live-dashboard .live-product-name-cell .live-remove-product {
    font-size: 11px;
  }

  body.mobile-live-dashboard .current-price {
    font-size: 15px;
    white-space: nowrap;
  }

  body.mobile-live-dashboard .live-control-actions {
    margin: 14px 0 12px;
  }

  body.mobile-live-dashboard .live-control-actions button,
  body.mobile-live-dashboard .crash-event-button {
    min-height: 48px;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: left;
  }

  body.mobile-live-dashboard .live-feedback-message {
    grid-column: auto;
    grid-row: auto;
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  body.mobile-live-dashboard .crash-instruction {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  body.mobile-live-dashboard .crash-checkbox {
    width: 22px;
    min-width: 22px;
    min-height: 22px;
  }

  body.desktop-dashboard-forced .app-shell,
  body.dashboard-visible.desktop-dashboard-forced .app-shell {
    display: grid;
    grid-template-columns: 250px minmax(930px, 1fr);
    width: max(1180px, 100vw);
    min-width: 1180px;
    max-width: none;
    overflow-x: visible;
  }

  body.dashboard-visible.desktop-dashboard-forced {
    overflow-x: auto;
  }

  body.desktop-dashboard-forced .mobile-live-admin-bar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-bottom: 1px solid rgba(40, 198, 79, 0.22);
    background: rgba(0, 8, 6, 0.96);
    padding: 8px;
    backdrop-filter: blur(14px);
  }

  body.desktop-dashboard-forced .mobile-live-admin-bar img {
    display: none;
  }

  body.desktop-dashboard-forced .mobile-live-admin-bar button {
    min-height: 36px;
    min-width: 0;
    flex: 1 1 0;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1.1;
    white-space: normal;
  }

  body.desktop-dashboard-forced #open-desktop-version {
    display: none;
  }

  body.desktop-dashboard-forced .sidebar {
    position: sticky;
    top: 0;
    display: grid;
    width: auto;
    min-width: 0;
    min-height: 100vh;
    max-height: 100vh;
    padding: 10px 8px;
  }

  body.desktop-dashboard-forced .brand {
    display: grid;
    min-height: auto;
    place-items: initial;
  }

  body.desktop-dashboard-forced .brand-logo,
  body.desktop-dashboard-forced .nav-section-label,
  body.desktop-dashboard-forced .nav-divider,
  body.desktop-dashboard-forced .nav-item:not(.active),
  body.desktop-dashboard-forced .nav-group-separated,
  body.desktop-dashboard-forced .submenu-trigger strong,
  body.desktop-dashboard-forced .submenu-trigger b,
  body.desktop-dashboard-forced .sidebar-footer,
  body.desktop-dashboard-forced .user-card {
    display: revert;
  }

  body.desktop-dashboard-forced .brand-icon {
    display: none;
  }

  body.desktop-dashboard-forced .nav-item,
  body.desktop-dashboard-forced .submenu-trigger {
    display: flex;
    width: 100%;
    justify-items: initial;
    justify-content: flex-start;
    min-width: 0;
    padding: 0 8px;
  }

  body.desktop-dashboard-forced .nav-item strong,
  body.desktop-dashboard-forced .submenu-trigger strong {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 11px;
    line-height: 1.15;
  }

  body.desktop-dashboard-forced .submenu {
    padding-left: 0;
  }

  body.desktop-dashboard-forced .workspace {
    min-width: 930px;
    max-width: none;
    overflow-x: visible;
    padding: 18px;
  }

  body.desktop-dashboard-forced .screen {
    min-width: 0;
    max-width: none;
  }

  body.desktop-dashboard-forced .metric-grid,
  body.desktop-dashboard-forced .dashboard-overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.desktop-dashboard-forced .screen-heading h1 {
    font-size: clamp(42px, 5vw, 64px);
  }

  .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,
  .live-event-picker,
  .product-picker,
  .price-editor-grid,
  .crash-editor-grid,
  .pricing-rules-grid,
  .time-grid,
  .form-grid,
  .integration-grid,
  .pos-ignite-layout,
  .inline-fields,
  .social-connect-grid,
  .instagram-integration-layout,
  .instagram-status-grid,
  .manager-alerts-grid,
  .manager-alert-options,
  .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,
  .qr-code-layout,
  .checklist-command-panel,
  .checklist-grid,
  .training-topic-grid {
    grid-template-columns: 1fr;
  }

  .qr-code-card {
    grid-template-columns: 1fr;
  }

  .venue-link-card {
    grid-template-columns: 1fr;
  }

  .manager-alerts-heading,
  .instagram-publishing-header {
    flex-direction: column;
  }

  .media-preview-panel {
    grid-column: 1;
  }

  .media-studio-layout {
    grid-template-areas:
      "upload"
      "queue"
      "preview";
  }

  .branding-preview-hero {
    position: static;
  }

  .branding-console-topbar,
  .branding-stage-header {
    align-items: stretch;
    flex-direction: column;
  }

  .branding-console-status,
  .branding-stage-actions {
    justify-content: flex-start;
  }

  .branding-console-grid {
    grid-template-columns: 1fr;
  }

  .branding-screen-rail,
  .branding-settings-panel {
    position: static;
    max-height: none;
  }

  .branding-message-dock {
    grid-template-columns: 1fr;
  }

  .logo-upload-row,
  .visual-selector-options,
  .output-format-tabs,
  .colour-mood-grid,
  .background-choice-grid {
    grid-template-columns: 1fr;
  }

  .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 {
    inset: 22% 18px 54px;
    width: auto;
    min-height: 0;
    padding: 18px;
  }

  .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;
  }

  .logo-upload-row {
    grid-template-columns: 1fr;
  }

  .venue-link-row,
  .mobile-url {
    gap: 8px;
    padding: 12px;
  }

  .venue-url-text {
    font-size: clamp(10px, 3vw, 13px);
  }

  .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-market-footer {
    display: none;
  }

  .tv-display-body.mobile-preview-embed .mobile-brand {
    display: flex;
  }

  .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;
  }

  .tv-fullscreen-button {
    display: none;
  }

  .mobile-market-view {
    --mobile-public-top-guard: clamp(58px, 12svh, 96px);
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 16px;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    padding: 0 14px max(18px, env(safe-area-inset-bottom));
    color: #f8fbfa;
  }

  .mobile-market-hero {
    z-index: 4;
    display: grid;
    gap: 12px;
    position: sticky;
    top: 0;
    margin: 0 -14px;
    padding: calc(var(--mobile-public-top-guard) + env(safe-area-inset-top, 0px)) 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 {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .mobile-brand img {
    width: 100%;
    max-height: 54px;
    object-fit: contain;
    filter:
      drop-shadow(0 0 14px rgba(40, 198, 79, 0.34))
      drop-shadow(0 0 20px rgba(255, 32, 43, 0.14));
  }

  .mobile-venue-label {
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(14px, 3.6vw, 20px);
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
  }

  .mobile-market-hero h1 {
    font-size: clamp(26px, 8.6vw, 40px);
    line-height: 1;
    letter-spacing: 0.08em;
    text-align: center;
  }

  .mobile-market-hero h1::after {
    width: 48px;
    height: 3px;
    margin: 8px auto 0;
  }

  .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 {
    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-market-view.event-closed .mobile-live-pill {
    border-color: rgba(255, 32, 43, 0.48);
    color: var(--red);
  }

  .mobile-market-view.event-closed {
    grid-template-rows: 1fr;
    place-items: center;
    padding: max(20px, env(safe-area-inset-top)) 18px max(20px, env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at center, rgba(255, 32, 43, 0.16), transparent 46%),
      linear-gradient(135deg, rgba(0, 34, 18, 0.96), rgba(34, 0, 4, 0.98)),
      #000;
  }

  .mobile-market-view.event-closed .mobile-market-hero,
  .mobile-market-view.event-closed .mobile-deal-strip,
  .mobile-market-view.event-closed .mobile-market-list {
    display: none;
  }

  .mobile-market-view.event-closed::before {
    content: "MARKET\A CLOSED";
    white-space: pre-line;
    color: #ff302f;
    font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
    font-size: clamp(76px, 22vw, 138px);
    font-weight: 900;
    line-height: 0.84;
    letter-spacing: 0.02em;
    text-align: center;
    text-transform: uppercase;
    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);
    transform: skewX(-7deg);
  }

  .mobile-market-view.event-scheduled .mobile-crash-timer,
  .mobile-market-view.opening-countdown .mobile-crash-timer {
    border-color: rgba(40, 198, 79, 0.5);
    color: #fff;
    box-shadow:
      0 0 28px rgba(40, 198, 79, 0.22),
      0 18px 45px rgba(0, 0, 0, 0.24);
  }

  .mobile-market-view.crash-counting-down .mobile-crash-timer,
  .mobile-market-view.market-crashing .mobile-crash-timer {
    border-color: rgba(255, 32, 43, 0.68);
    background:
      linear-gradient(135deg, rgba(255, 32, 43, 0.24), rgba(0, 0, 0, 0.72)),
      rgba(7, 11, 10, 0.84);
    color: #fff;
    animation: mobileCrashPulse 0.8s ease-in-out infinite;
  }

  .mobile-market-view.market-crashing:not(.event-closed) {
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(circle at center, rgba(255, 32, 43, 0.42), transparent 52%),
      linear-gradient(135deg, rgba(32, 0, 0, 0.98), rgba(0, 0, 0, 0.95)),
      #000;
    animation: mobileCrashScreenFlash 0.7s steps(2, end) infinite;
  }

  .mobile-market-view.market-crashing:not(.event-closed)::before {
    content: "MARKET\A CRASH";
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    padding: 0 18px;
    white-space: pre-line;
    color: #ff302f;
    font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
    font-size: clamp(78px, 24vw, 148px);
    font-weight: 900;
    line-height: 0.84;
    letter-spacing: 0.02em;
    text-align: center;
    text-transform: uppercase;
    pointer-events: none;
    text-shadow:
      0 2px 0 #ffb4b4,
      0 8px 0 #7b0509,
      0 18px 30px rgba(0, 0, 0, 0.92),
      0 0 24px rgba(255, 32, 43, 0.98),
      0 0 92px rgba(255, 32, 43, 0.86);
    transform: skewX(-8deg);
    animation: mobileCrashTitlePunch 0.78s steps(2, end) infinite;
  }

  .mobile-market-view.market-crashing:not(.event-closed)::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 39;
    pointer-events: none;
    background:
      repeating-linear-gradient(0deg, rgba(255, 32, 43, 0.18) 0 3px, transparent 3px 9px),
      radial-gradient(circle at center, rgba(255, 32, 43, 0.44), rgba(0, 0, 0, 0.74) 62%);
    mix-blend-mode: screen;
    animation: mobileCrashOverlayFlash 0.42s steps(2, end) infinite;
  }

  .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(--insider-blue);
    font-size: 32px;
    font-weight: 500;
    line-height: 1;
  }

  .mobile-deal-strip .down,
  .mobile-market-list .down {
    color: var(--red);
  }

  .mobile-deal-strip .up,
  .mobile-market-list .up {
    color: var(--green);
  }

  .mobile-deal-strip .flat,
  .mobile-market-list .flat {
    color: rgba(255, 255, 255, 0.68);
  }

  .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.mobile-price-up {
    border-color: rgba(40, 198, 79, 0.28);
  }

  .mobile-market-list a.mobile-price-down,
  .mobile-market-list a.mobile-price-crashed {
    border-color: rgba(255, 32, 43, 0.3);
  }

  .mobile-market-list a.mobile-price-up strong {
    color: var(--green);
  }

  .mobile-market-list a.mobile-price-down strong,
  .mobile-market-list a.mobile-price-crashed strong {
    color: var(--red);
  }

  .mobile-market-list a.mobile-just-crashed {
    animation: mobileCrashRowPulse 0.72s ease-in-out infinite;
  }

  .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);
  }

  @keyframes mobileCrashPulse {
    0%,
    100% {
      filter: brightness(1);
      transform: scale(1);
    }
    50% {
      filter: brightness(1.5);
      transform: scale(1.02);
    }
  }

  @keyframes mobileCrashRowPulse {
    0%,
    100% {
      filter: brightness(1);
      transform: translateX(0);
    }
    50% {
      filter: brightness(1.7);
      transform: translateX(-3px);
    }
  }

  @keyframes mobileCrashScreenFlash {
    0%,
    100% {
      filter: saturate(1.1) brightness(1);
    }
    50% {
      filter: saturate(1.9) brightness(1.28);
    }
  }

  @keyframes mobileCrashTitlePunch {
    0%,
    100% {
      opacity: 1;
      transform: skewX(-8deg) scale(1);
    }
    50% {
      opacity: 0.72;
      transform: skewX(-8deg) scale(1.08);
    }
  }

  @keyframes mobileCrashOverlayFlash {
    0%,
    100% {
      opacity: 0.32;
    }
    50% {
      opacity: 0.9;
    }
  }
}

.theme-tv-preview .market-mover-spotlight,
.public-fullscreen-preview .market-mover-spotlight,
.theme-preview-panel .theme-tv-preview .market-mover-spotlight {
  display: none !important;
}

.theme-tv-preview.opening-countdown .board-title,
.theme-tv-preview.opening-now .board-title {
  position: absolute !important;
  inset: auto !important;
  left: 50% !important;
  top: clamp(70px, 15vh, 160px) !important;
  z-index: 7 !important;
  display: grid !important;
  width: min(980px, 84vw) !important;
  max-width: none !important;
  min-height: 0 !important;
  place-items: center !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-align: center !important;
  transform: translateX(-50%) !important;
}

.theme-tv-preview.opening-countdown .board-title::before,
.theme-tv-preview.opening-now .board-title::before {
  content: "OPENING\A SOON" !important;
  display: block !important;
  white-space: pre-line !important;
  font-family: var(--board-title-font, var(--theme-board-font, "Segoe UI Variable", "Segoe UI", Arial, sans-serif)) !important;
  font-size: clamp(76px, 12vw, 210px) !important;
  font-weight: 900 !important;
  line-height: 0.86 !important;
  letter-spacing: 0.02em !important;
  background: linear-gradient(180deg, #ffffff 0%, #f6d94a 34%, #28c64f 70%, #ffffff 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  filter: drop-shadow(0 0 14px rgba(40, 198, 79, 0.98)) !important;
  transform: skewX(-8deg) !important;
}

.theme-tv-preview.opening-countdown .board-title::after,
.theme-tv-preview.opening-now .board-title::after {
  content: "" !important;
  width: min(520px, 56vw) !important;
  height: 3px !important;
  margin-top: clamp(12px, 1.4vw, 24px) !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, transparent, rgba(246, 217, 74, 0.95), rgba(40, 198, 79, 0.95), transparent) !important;
  box-shadow:
    0 0 22px rgba(40, 198, 79, 0.96),
    0 0 68px rgba(246, 217, 74, 0.62) !important;
}

.theme-tv-preview.opening-countdown .market-open-countdown,
.theme-tv-preview.opening-now .market-open-countdown {
  left: 50% !important;
  right: auto !important;
  margin-inline: 0 !important;
  transform: translateX(-50%) !important;
}

/* 20260602-square-delay-ui-fixes: compact previews, pricing inputs, branding and POS sync layout */
.media-asset-list .muted-copy {
  margin: 0;
  padding: 22px;
  color: rgba(255, 255, 255, 0.68);
}

.media-preview-panel .media-tv-preview,
#screens .tv-preview-panel .tv-preview {
  max-height: none;
  min-height: 0;
  overflow: hidden;
}

#media .media-preview-panel .media-tv-preview {
  max-width: 1580px;
}

#screens .tv-preview-panel {
  align-self: stretch;
}

#screens .tv-preview-panel .card-title-row {
  flex: 0 0 auto;
}

#screens .tv-preview-panel .tv-preview {
  flex: 0 0 auto;
  height: auto;
  aspect-ratio: 16 / 9;
}

.rules-card table input[type="number"] {
  width: 118px;
  min-width: 118px;
  max-width: 118px;
}

.rules-card table td:last-child,
.rules-card table td:nth-child(2) {
  white-space: nowrap;
}

#branding .branding-console-grid {
  align-items: start;
}

#branding .branding-screen-rail,
#branding .branding-settings-panel {
  max-height: min(62vh, 690px);
  align-self: start;
}

#branding .branding-identity-setup {
  margin-top: 0;
}

#branding .branding-identity-setup summary {
  grid-template-columns: 1fr;
}

#branding .branding-identity-setup summary::before {
  display: none;
}

#branding .branding-identity-setup .branding-essentials-grid {
  gap: 10px;
}

#branding .branding-identity-setup .logo-upload-card {
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
}

#branding .branding-identity-setup .logo-upload-card img {
  width: 54px;
  height: 54px;
  padding: 6px;
}

#branding .branding-identity-setup .logo-upload-actions {
  gap: 8px;
}

#branding .branding-identity-setup .logo-upload-actions .secondary-button {
  min-height: 36px;
  padding: 0 10px;
  font-size: 12px;
}

#branding .branding-colour-section {
  padding: 14px 16px 16px;
}

#branding .branding-colour-section .colour-mood-grid {
  margin: 0;
}

#branding .branding-stage-panel .branding-message-dock {
  margin-top: 14px;
  padding: 14px;
  grid-template-columns: minmax(170px, 0.22fr) auto minmax(260px, 1fr) minmax(190px, 0.28fr);
}

#branding .branding-stage-panel .branding-message-dock .scroller-message-add {
  grid-column: 1 / -1;
}

#setup .pos-review-panel .pos-product-import {
  margin-top: 16px;
  border-top: 1px solid rgba(104, 209, 178, 0.18);
  padding-top: 16px;
}

#setup .pos-review-panel .pos-product-import .pos-action-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

#setup .pos-review-panel .pos-product-import .primary-button,
#setup .pos-review-panel .pos-product-import .secondary-button {
  justify-content: center;
  width: 100%;
}
/* 20260602-login-hardening-3: admin assist must never show in demo */
.admin-assist-banner[hidden],
.admin-assist-status[hidden],
body[data-license-mode="demo"] .admin-assist-banner,
body[data-license-mode="demo"] .admin-assist-status,
body[data-license-mode="demo"] #clear-admin-assist,
body.demo-dashboard .admin-assist-banner,
body.demo-dashboard .admin-assist-status,
body.demo-dashboard #clear-admin-assist {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* 20260603-demo-sweep: keep dashboard pages on the teal house style */
:root {
  --tde-teal-panel-bg:
    radial-gradient(circle at 12% 0%, rgba(40, 198, 79, 0.15), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(36, 178, 164, 0.13), transparent 38%),
    linear-gradient(145deg, rgba(18, 72, 75, 0.88), rgba(6, 25, 27, 0.96));
  --tde-teal-panel-border: rgba(90, 214, 194, 0.3);
}

body.dashboard-visible .workspace {
  background:
    radial-gradient(circle at 24% 0%, rgba(40, 198, 79, 0.11), transparent 30%),
    radial-gradient(circle at 92% 18%, rgba(36, 178, 164, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(0, 8, 7, 0.98), rgba(0, 13, 10, 0.98));
}

body.dashboard-visible .workspace .screen :where(
  .panel,
  .overview-ignite-card,
  .overview-ignite-range,
  .license-hero-card,
  .license-info-card,
  .approval-request-card,
  .jam-panel,
  .stuck-card,
  .rules-card,
  .media-upload-panel,
  .media-library-panel,
  .media-preview-panel,
  .pos-setup-wizard,
  .manager-notification-settings,
  .checklist-score-card,
  .nearest-result-card
) {
  border-color: var(--tde-teal-panel-border) !important;
  background: var(--tde-teal-panel-bg) !important;
  box-shadow: var(--panel-glass-shadow) !important;
}

body.dashboard-visible .workspace .screen :where(
  .activity-box,
  .license-status-card,
  .license-box,
  .approval-summary-grid > div,
  .readiness-list label,
  .media-asset-list article,
  .pos-status-grid span,
  .history-row,
  .qr-message-editor textarea,
  .form-grid label,
  .compact-branding-grid label,
  .theme-control-group,
  .logo-upload-card,
  .instagram-status-grid > div
) {
  border-color: rgba(90, 214, 194, 0.24) !important;
  background: rgba(3, 24, 25, 0.56) !important;
}

body.dashboard-visible .workspace .screen :where(.section-kicker, .card-title-row span, label > span, .approval-summary-grid span, .approval-request-card span) {
  color: #8ff5d4;
}

/* Boxes TV theme: full-screen broadcast tile board. */
.theme-tv-preview.layout-boxes {
  --boxes-header-height: clamp(76px, 12vh, 148px);
  --boxes-footer-height: clamp(42px, 6vh, 74px);
  --boxes-gutter: clamp(12px, 1.2vw, 24px);
  --boxes-gold: #b98900;
  --boxes-blue: #034485;
  --boxes-teal: #007b70;
  --boxes-charcoal: #252525;
  isolation: isolate;
  align-content: stretch !important;
  padding: var(--boxes-header-height) var(--boxes-gutter) var(--boxes-footer-height) !important;
  background:
    linear-gradient(180deg, rgba(0, 18, 18, 0.98) 0%, rgba(0, 5, 6, 0.99) 24%, #020303 100%) !important;
  box-shadow:
    inset 0 0 0 clamp(5px, 0.7vw, 12px) #151718,
    inset 0 0 0 clamp(7px, 0.9vw, 16px) rgba(255, 255, 255, 0.08),
    inset 0 0 70px rgba(0, 0, 0, 0.9) !important;
}

.theme-tv-preview.layout-boxes .board-title {
  position: absolute !important;
  left: clamp(44px, 5vw, 92px) !important;
  top: clamp(28px, 5vh, 70px) !important;
  z-index: 7 !important;
  width: auto !important;
  max-width: 34vw !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(44px, 6vw, 112px) !important;
  line-height: 0.78 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-shadow: 0 5px 0 rgba(0, 0, 0, 0.86), 0 0 18px rgba(255, 255, 255, 0.24) !important;
  transform: none !important;
}

.theme-tv-preview.layout-boxes .board-title-main,
.theme-tv-preview.layout-boxes .board-title-sub {
  display: none !important;
}

.theme-tv-preview.layout-boxes .board-title::before {
  content: "TDE";
  display: block;
  font-family: Arial Black, Impact, Arial, sans-serif;
}

.theme-tv-preview.layout-boxes .ticker {
  position: absolute !important;
  left: var(--boxes-gutter) !important;
  right: var(--boxes-gutter) !important;
  top: var(--boxes-gutter) !important;
  z-index: 6 !important;
  height: calc(var(--boxes-header-height) - var(--boxes-gutter)) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
  padding: 0 !important;
  background: linear-gradient(180deg, rgba(0, 18, 18, 0.96), rgba(0, 0, 0, 0.88)) !important;
  color: #f7fbfb !important;
  overflow: visible !important;
}

.theme-tv-preview.layout-boxes .ticker-track {
  position: absolute !important;
  right: clamp(220px, 18vw, 370px) !important;
  bottom: clamp(11px, 1.7vh, 24px) !important;
  left: auto !important;
  width: auto !important;
  max-width: 42vw !important;
  padding: 0 !important;
  font-size: clamp(13px, 1.28vw, 24px) !important;
  line-height: 1 !important;
  text-align: right !important;
  animation: none !important;
  transform: none !important;
}

.theme-tv-preview.layout-boxes .ticker-track::before {
  content: "MARKET CRASH IN 02:14";
  color: #f2f4f4;
}

.theme-tv-preview.layout-boxes .ticker-track {
  font-size: 0 !important;
}

.theme-tv-preview.layout-boxes .ticker::before {
  position: absolute !important;
  right: clamp(24px, 2.6vw, 56px) !important;
  top: clamp(18px, 3vh, 44px) !important;
  float: none !important;
  margin: 0 !important;
  padding: clamp(10px, 1.3vh, 18px) clamp(22px, 2.3vw, 42px) !important;
  background: linear-gradient(135deg, #007a70, #009982) !important;
  color: #fff !important;
  font-size: clamp(16px, 1.5vw, 30px) !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  box-shadow: 0 0 32px rgba(0, 150, 132, 0.28) !important;
}

.theme-tv-preview.layout-boxes .ticker::after {
  content: "";
  position: absolute;
  right: clamp(194px, 15.2vw, 318px);
  bottom: clamp(10px, 1.6vh, 23px);
  width: 0;
  height: 0;
  border-left: clamp(8px, 0.8vw, 14px) solid transparent;
  border-right: clamp(8px, 0.8vw, 14px) solid transparent;
  border-top: clamp(13px, 1.2vw, 22px) solid #ff252c;
}

.theme-tv-preview.layout-boxes .price-board {
  position: relative !important;
  z-index: 3 !important;
  display: grid !important;
  grid-template-columns: repeat(var(--theme-product-columns, 8), minmax(0, 1fr)) !important;
  grid-auto-rows: minmax(0, 1fr) !important;
  align-self: stretch !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.theme-tv-preview.layout-boxes .price-board .category-header {
  display: none !important;
}

.theme-tv-preview.layout-boxes .price-board span:not(.category-header),
.theme-tv-preview.layout-boxes .price-board strong {
  grid-column: var(--theme-item-col, auto) !important;
  grid-row: var(--theme-card-row, auto) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  border-right: clamp(6px, 0.72vw, 14px) solid #020303 !important;
  border-bottom: clamp(6px, 0.72vw, 14px) solid #020303 !important;
  border-radius: 0 !important;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%) !important;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.52)),
    var(--boxes-card-color, var(--boxes-charcoal)) !important;
  box-shadow: inset 0 0 44px rgba(0, 0, 0, 0.64) !important;
  color: #f7f7f7 !important;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.68) !important;
  backdrop-filter: none !important;
}

.theme-tv-preview.layout-boxes .price-board span:not(.category-header):nth-of-type(4n + 1),
.theme-tv-preview.layout-boxes .price-board strong:nth-of-type(4n + 1) { --boxes-card-color: var(--boxes-gold); }
.theme-tv-preview.layout-boxes .price-board span:not(.category-header):nth-of-type(4n + 2),
.theme-tv-preview.layout-boxes .price-board strong:nth-of-type(4n + 2) { --boxes-card-color: var(--boxes-charcoal); }
.theme-tv-preview.layout-boxes .price-board span:not(.category-header):nth-of-type(4n + 3),
.theme-tv-preview.layout-boxes .price-board strong:nth-of-type(4n + 3) { --boxes-card-color: var(--boxes-blue); }
.theme-tv-preview.layout-boxes .price-board span:not(.category-header):nth-of-type(4n),
.theme-tv-preview.layout-boxes .price-board strong:nth-of-type(4n) { --boxes-card-color: var(--boxes-teal); }

.theme-tv-preview.layout-boxes .price-board span:not(.category-header) {
  align-self: stretch !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: clamp(44px, 5.8vh, 86px) clamp(10px, 1.1vw, 20px) 0 !important;
  font-family: Arial Narrow, Arial, sans-serif !important;
  font-size: clamp(18px, 2vw, 40px) !important;
  font-weight: 900 !important;
  line-height: 0.96 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

.theme-tv-preview.layout-boxes .price-board strong {
  align-self: stretch !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(6px, 0.7vh, 12px) !important;
  padding: 0 clamp(10px, 1.1vw, 20px) clamp(26px, 4vh, 60px) !important;
  font-family: Arial Narrow, Arial, sans-serif !important;
  font-size: clamp(38px, 4.7vw, 88px) !important;
  font-weight: 900 !important;
  line-height: 0.84 !important;
  text-align: center !important;
}

.theme-tv-preview.layout-boxes .price-board strong em {
  display: block !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #7bdd99 !important;
  font-size: clamp(14px, 1.45vw, 28px) !important;
  font-style: normal !important;
  line-height: 1 !important;
  text-align: center !important;
}

.theme-tv-preview.layout-boxes .price-board .price-down em,
.theme-tv-preview.layout-boxes .price-board .price-crashed em {
  color: #ff2e35 !important;
}

.theme-tv-preview.layout-boxes .cheapest-callout,
.theme-tv-preview.layout-boxes .market-signal-panel {
  display: none !important;
}

.theme-tv-preview.layout-boxes .instruction-scroller {
  position: absolute !important;
  left: var(--boxes-gutter) !important;
  right: var(--boxes-gutter) !important;
  bottom: var(--boxes-gutter) !important;
  z-index: 6 !important;
  display: flex !important;
  align-items: center !important;
  height: calc(var(--boxes-footer-height) - var(--boxes-gutter)) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
  padding: 0 clamp(22px, 2vw, 44px) !important;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.74), rgba(0, 14, 14, 0.9)) !important;
  color: #fff !important;
}

.theme-tv-preview.layout-boxes .instruction-track {
  width: 100% !important;
  padding: 0 !important;
  color: #fff !important;
  font-size: clamp(15px, 1.45vw, 28px) !important;
  animation: none !important;
  transform: none !important;
}

.theme-tv-preview.layout-boxes .instruction-track::before {
  content: "17 MAY 2024    |    10:15 AM";
  float: left;
}

.theme-tv-preview.layout-boxes .instruction-track::after {
  content: "THEDRINKEXCHANGE.CO.UK";
  float: right;
  color: #009b86;
  font-weight: 900;
}

body.tv-display-body .public-fullscreen-preview.layout-boxes {
  padding: var(--boxes-header-height) var(--boxes-gutter) var(--boxes-footer-height) !important;
}

body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board {
  grid-template-columns: repeat(var(--theme-product-columns, 8), minmax(0, 1fr)) !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board span:not(.category-header),
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board strong,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board.board-density-large span,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board.board-density-large strong,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board.board-density-medium span,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board.board-density-medium strong {
  grid-row: var(--theme-card-row, auto) !important;
}
.theme-tv-preview.layout-boxes .price-board span:not(.category-header) {
  position: relative !important;
  z-index: 1 !important;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.52)),
    var(--boxes-card-color, #252525) !important;
}

.theme-tv-preview.layout-boxes .price-board strong {
  position: relative !important;
  z-index: 2 !important;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.tv-display-body .public-fullscreen-preview.layout-boxes,
.theme-tv-preview.layout-boxes {
  --boxes-gutter: clamp(22px, 2vw, 42px);
}

body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .board-title,
body.tv-display-body .public-fullscreen-preview.layout-boxes .board-title {
  position: absolute !important;
  left: clamp(70px, 5.2vw, 112px) !important;
  top: clamp(42px, 4.8vh, 64px) !important;
  z-index: 9 !important;
  width: auto !important;
  max-width: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #fff !important;
  font-family: Arial Black, Impact, Arial, sans-serif !important;
  font-size: clamp(54px, 5.2vw, 96px) !important;
  line-height: 0.78 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-shadow: 0 5px 0 rgba(0, 0, 0, 0.86), 0 0 18px rgba(255, 255, 255, 0.24) !important;
  transform: none !important;
}

body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .board-title::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .board-title::before {
  content: "TDE" !important;
  display: block !important;
}

body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .board-title > *,
body.tv-display-body .public-fullscreen-preview.layout-boxes .board-title > * {
  display: none !important;
}

body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board {
  padding-inline: clamp(10px, 0.8vw, 18px) !important;
  overflow: hidden !important;
}

body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board span:not(.category-header) {
  padding-top: clamp(50px, 6.2vh, 76px) !important;
  font-size: clamp(24px, 2.05vw, 42px) !important;
}

body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board strong {
  padding-bottom: clamp(32px, 3.8vh, 54px) !important;
  font-size: clamp(46px, 4.4vw, 82px) !important;
}

body.tv-display-body .public-fullscreen-preview.layout-boxes .instruction-track,
.theme-tv-preview.layout-boxes .instruction-track {
  color: transparent !important;
  font-size: 0 !important;
}

body.tv-display-body .public-fullscreen-preview.layout-boxes .instruction-track::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .instruction-track::after,
.theme-tv-preview.layout-boxes .instruction-track::before,
.theme-tv-preview.layout-boxes .instruction-track::after {
  color: #fff !important;
  font-size: clamp(20px, 1.55vw, 30px) !important;
  line-height: 1 !important;
}

body.tv-display-body .public-fullscreen-preview.layout-boxes .instruction-track::after,
.theme-tv-preview.layout-boxes .instruction-track::after {
  color: #009b86 !important;
}

body.tv-display-body .public-fullscreen-preview.layout-boxes + .tv-fullscreen-button,
body.tv-display-body .public-fullscreen-preview.layout-boxes .tv-sound-unlock,
body.tv-display-body:has(.public-fullscreen-preview.layout-boxes) .tv-fullscreen-button,
body.tv-display-body:has(.public-fullscreen-preview.layout-boxes) .tv-sound-unlock {
  display: none !important;
}
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board span:not(.category-header),
.theme-tv-preview.layout-boxes .price-board span:not(.category-header) {
  font-size: clamp(20px, 1.58vw, 31px) !important;
  line-height: 0.94 !important;
}

body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board strong,
.theme-tv-preview.layout-boxes .price-board strong {
  font-size: clamp(34px, 3.05vw, 58px) !important;
  line-height: 0.88 !important;
}

body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board strong em,
.theme-tv-preview.layout-boxes .price-board strong em {
  font-size: clamp(15px, 1.18vw, 23px) !important;
  line-height: 1 !important;
}
/* Boxes theme refinement: event title, scroller dividers, drink icons and safer tile spacing. */
.theme-tv-preview.layout-boxes,
body.tv-display-body .public-fullscreen-preview.layout-boxes {
  --boxes-header-height: clamp(92px, 13vh, 154px);
  --boxes-footer-height: clamp(48px, 6vh, 78px);
  --boxes-gutter: clamp(30px, 2.7vw, 56px);
}

.theme-tv-preview.layout-boxes .board-title,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .board-title,
body.tv-display-body .public-fullscreen-preview.layout-boxes .board-title {
  left: clamp(64px, 4.4vw, 96px) !important;
  top: clamp(44px, 4.8vh, 70px) !important;
  max-width: min(760px, 48vw) !important;
  color: #fff !important;
  font-family: Arial Black, Impact, Arial, sans-serif !important;
  font-size: clamp(34px, 3.25vw, 66px) !important;
  line-height: 0.9 !important;
  text-transform: uppercase !important;
  text-shadow: 0 5px 0 rgba(0, 0, 0, 0.86), 0 0 18px rgba(255, 255, 255, 0.22) !important;
}

.theme-tv-preview.layout-boxes .board-title::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .board-title::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .board-title::before {
  content: none !important;
}

.theme-tv-preview.layout-boxes .board-title > *,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .board-title > *,
body.tv-display-body .public-fullscreen-preview.layout-boxes .board-title > * {
  display: block !important;
  font-family: inherit !important;
}

.theme-tv-preview.layout-boxes .board-title-main,
body.tv-display-body .public-fullscreen-preview.layout-boxes .board-title-main {
  display: inline !important;
}

.theme-tv-preview.layout-boxes .board-title-sub,
body.tv-display-body .public-fullscreen-preview.layout-boxes .board-title-sub {
  display: inline !important;
  margin-left: 0.24em !important;
}

.theme-tv-preview.layout-boxes .price-board,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board {
  padding-inline: clamp(40px, 3.2vw, 68px) !important;
  overflow: visible !important;
}

.theme-tv-preview.layout-boxes .price-board::before,
.theme-tv-preview.layout-boxes .price-board::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board::after {
  position: absolute;
  left: clamp(40px, 3.2vw, 68px);
  right: clamp(40px, 3.2vw, 68px);
  z-index: 8;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(12px, 1.2vw, 22px);
  color: #f4f7f7;
  font-family: Arial Narrow, Arial, sans-serif;
  font-size: clamp(12px, 1vw, 18px);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 0 #000;
  pointer-events: none;
}

.theme-tv-preview.layout-boxes .price-board::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board::before {
  content: "SCROLLER 1 OF 2";
  top: calc(50% - clamp(8px, 0.8vh, 14px));
}

.theme-tv-preview.layout-boxes .price-board::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board::after {
  content: "SCROLLER 2 OF 2";
  bottom: clamp(-25px, -2.4vh, -16px);
}

.theme-tv-preview.layout-boxes .price-board span:not(.category-header),
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board span:not(.category-header) {
  align-items: center !important;
  justify-content: flex-start !important;
  padding: clamp(20px, 2.6vh, 34px) clamp(12px, 1vw, 18px) 0 !important;
  gap: clamp(8px, 0.8vh, 13px) !important;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%) !important;
  overflow: hidden !important;
}

.theme-tv-preview.layout-boxes .price-board strong,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board strong {
  padding: 0 clamp(12px, 1vw, 18px) clamp(20px, 2.8vh, 38px) !important;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%) !important;
}

.theme-tv-preview.layout-boxes .boxes-drink-icon,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-drink-icon {
  position: relative;
  display: block;
  width: clamp(24px, 2.2vw, 42px);
  height: clamp(34px, 3.5vw, 62px);
  margin-bottom: clamp(3px, 0.5vh, 8px);
  color: rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.62));
  flex: 0 0 auto;
}

.theme-tv-preview.layout-boxes .boxes-drink-icon::before,
.theme-tv-preview.layout-boxes .boxes-drink-icon::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-drink-icon::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-drink-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
}

.theme-tv-preview.layout-boxes .boxes-icon-pint::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-icon-pint::before {
  top: 0;
  width: 70%;
  height: 100%;
  border: 2px solid currentColor;
  border-top-width: 3px;
  border-radius: 5px 5px 9px 9px;
}

.theme-tv-preview.layout-boxes .boxes-icon-pint::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-icon-pint::after {
  top: 18%;
  width: 58%;
  height: 18%;
  border-top: 2px solid currentColor;
  border-radius: 50%;
}

.theme-tv-preview.layout-boxes .boxes-icon-bottle::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-icon-bottle::before {
  bottom: 0;
  width: 54%;
  height: 72%;
  border: 2px solid currentColor;
  border-radius: 4px 4px 7px 7px;
}

.theme-tv-preview.layout-boxes .boxes-icon-bottle::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-icon-bottle::after {
  top: 0;
  width: 22%;
  height: 32%;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
}

.theme-tv-preview.layout-boxes .boxes-icon-tumbler::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-icon-tumbler::before {
  top: 10%;
  width: 72%;
  height: 82%;
  border: 2px solid currentColor;
  border-top-width: 3px;
  border-radius: 3px 3px 9px 9px;
  transform: translateX(-50%) skewX(-8deg);
}

.theme-tv-preview.layout-boxes .boxes-icon-tumbler::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-icon-tumbler::after {
  top: 0;
  right: 2px;
  left: auto;
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-radius: 0 7px 0 0;
  transform: none;
}

.theme-tv-preview.layout-boxes .boxes-icon-can::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-icon-can::before {
  top: 2%;
  width: 58%;
  height: 96%;
  border: 2px solid currentColor;
  border-radius: 6px;
}

.theme-tv-preview.layout-boxes .boxes-icon-can::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-icon-can::after {
  top: 18%;
  width: 2px;
  height: 64%;
  background: currentColor;
  box-shadow: 8px -6px 0 -3px currentColor, -8px 6px 0 -3px currentColor;
  transform: translateX(-50%) rotate(18deg);
}

.theme-tv-preview.layout-boxes .boxes-icon-wine::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-icon-wine::before {
  top: 0;
  width: 66%;
  height: 52%;
  border: 2px solid currentColor;
  border-radius: 4px 4px 16px 16px;
}

.theme-tv-preview.layout-boxes .boxes-icon-wine::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-icon-wine::after {
  bottom: 0;
  width: 60%;
  height: 42%;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid transparent;
  box-shadow: 0 -11px 0 -9px currentColor, 0 -22px 0 -10px currentColor;
}

.theme-tv-preview.layout-boxes .boxes-product-name,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-product-name {
  display: block;
  max-width: 100%;
  color: #fff;
  font: inherit;
  overflow-wrap: anywhere;
}

.theme-tv-preview.layout-boxes .boxes-product-unit,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-product-unit {
  display: block;
  margin-top: clamp(2px, 0.4vh, 6px);
  color: rgba(255, 255, 255, 0.9);
  font-family: Arial Narrow, Arial, sans-serif;
  font-size: clamp(12px, 0.92vw, 18px);
  font-weight: 500;
  line-height: 1;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.72);
}

.theme-tv-preview.layout-boxes .price-board strong {
  margin-top: clamp(82px, 10vh, 132px) !important;
}
.theme-tv-preview.layout-boxes .price-board span:not(.category-header),
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board span:not(.category-header) {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
}

.theme-tv-preview.layout-boxes .boxes-product-name,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-product-name {
  width: 100% !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  text-align: center !important;
}

.theme-tv-preview.layout-boxes .boxes-product-unit,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-product-unit {
  width: 100% !important;
  text-align: center !important;
}

.theme-tv-preview.layout-boxes .board-title,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .board-title,
body.tv-display-body .public-fullscreen-preview.layout-boxes .board-title {
  color: #fff !important;
  font-size: clamp(32px, 3vw, 58px) !important;
}

.theme-tv-preview.layout-boxes .price-board span:not(.category-header),
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board span:not(.category-header) {
  font-size: clamp(18px, 1.42vw, 28px) !important;
}

.theme-tv-preview.layout-boxes .price-board strong,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board strong {
  font-size: clamp(32px, 2.85vw, 54px) !important;
}
.theme-tv-preview.layout-boxes .board-title,
.theme-tv-preview.layout-boxes .board-title *,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .board-title,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .board-title *,
body.tv-display-body .public-fullscreen-preview.layout-boxes .board-title,
body.tv-display-body .public-fullscreen-preview.layout-boxes .board-title * {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
  filter: none !important;
}

.theme-tv-preview.layout-boxes .instruction-scroller,
body.tv-display-body .public-fullscreen-preview.layout-boxes .instruction-scroller {
  bottom: clamp(18px, 2vh, 30px) !important;
  height: clamp(36px, 4.5vh, 54px) !important;
  overflow: visible !important;
}

.theme-tv-preview.layout-boxes .instruction-track::before,
.theme-tv-preview.layout-boxes .instruction-track::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .instruction-track::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .instruction-track::after {
  font-size: clamp(17px, 1.35vw, 26px) !important;
}

.theme-tv-preview.layout-boxes .price-board::before,
.theme-tv-preview.layout-boxes .price-board::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board::after {
  background: linear-gradient(90deg, rgba(0, 155, 134, 0.75), rgba(0, 155, 134, 0.75)) left center / calc(50% - 82px) 1px no-repeat,
    linear-gradient(90deg, rgba(0, 155, 134, 0.75), rgba(0, 155, 134, 0.75)) right center / calc(50% - 82px) 1px no-repeat;
}
/* Boxes correction: fixed 8x2 board geometry, visible scroller bars, no nested name-card styling. */
.theme-tv-preview.layout-boxes .price-board,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board {
  grid-template-columns: repeat(var(--theme-product-columns, 8), minmax(0, 1fr)) !important;
  grid-template-rows: repeat(var(--theme-product-rows, 2), minmax(0, 1fr)) !important;
  grid-auto-rows: 0 !important;
  row-gap: clamp(26px, 3.2vh, 42px) !important;
  padding-inline: clamp(44px, 3.4vw, 74px) !important;
}

.theme-tv-preview.layout-boxes .price-board > span:not(.category-header),
.theme-tv-preview.layout-boxes .price-board > strong,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board > span:not(.category-header),
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board > strong {
  grid-column: var(--theme-item-col, auto) !important;
  grid-row: var(--theme-card-row, auto) !important;
}

.theme-tv-preview.layout-boxes .boxes-product-name,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-product-name,
.theme-tv-preview.layout-boxes .price-board .boxes-product-name,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board .boxes-product-name {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  clip-path: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  font: inherit !important;
  line-height: 0.94 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.theme-tv-preview.layout-boxes .price-board::before,
.theme-tv-preview.layout-boxes .price-board::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board::after {
  z-index: 30 !important;
  height: clamp(18px, 2.2vh, 26px) !important;
  color: #f7f7f7 !important;
  font-size: clamp(13px, 1.05vw, 20px) !important;
  line-height: 1 !important;
  text-shadow: 0 2px 0 #000, 0 0 12px rgba(0, 0, 0, 0.85) !important;
  background:
    linear-gradient(90deg, rgba(0, 155, 134, 0.85), rgba(0, 155, 134, 0.85)) left center / calc(50% - 92px) 1px no-repeat,
    linear-gradient(90deg, rgba(0, 155, 134, 0.85), rgba(0, 155, 134, 0.85)) right center / calc(50% - 92px) 1px no-repeat,
    rgba(0, 0, 0, 0.78) !important;
}

.theme-tv-preview.layout-boxes .price-board::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board::before {
  top: calc(50% - clamp(10px, 1.1vh, 15px)) !important;
}

.theme-tv-preview.layout-boxes .price-board::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board::after {
  bottom: clamp(-30px, -2.8vh, -20px) !important;
}

.theme-tv-preview.layout-boxes .price-board > span:not(.category-header),
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board > span:not(.category-header) {
  font-size: clamp(14px, 1.18vw, 24px) !important;
  padding-top: clamp(18px, 2vh, 28px) !important;
}

.theme-tv-preview.layout-boxes .price-board > strong,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board > strong {
  font-size: clamp(26px, 2.45vw, 48px) !important;
  padding-bottom: clamp(16px, 2vh, 30px) !important;
}
/* Boxes dashboard hardening: prevent nested name spans becoming tiles. */
.theme-tv-preview.layout-boxes .price-board > span:not(.category-header),
.theme-tv-preview.layout-boxes .price-board > strong,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board > span:not(.category-header),
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board > strong {
  border-right: clamp(6px, 0.72vw, 14px) solid #020303 !important;
  border-bottom: clamp(6px, 0.72vw, 14px) solid #020303 !important;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%) !important;
}

.theme-tv-preview.layout-boxes .price-board .boxes-product-name,
.theme-tv-preview.layout-boxes .price-board .boxes-product-unit,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board .boxes-product-name,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board .boxes-product-unit {
  grid-column: auto !important;
  grid-row: auto !important;
  border: 0 !important;
  clip-path: none !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.75) !important;
}

.theme-tv-preview.layout-boxes .price-board::before,
.theme-tv-preview.layout-boxes .price-board::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board::after {
  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible !important;
  min-width: 180px !important;
  padding-inline: 10px !important;
}

.theme-tv-preview.layout-boxes .price-board::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board::before {
  top: calc(50% - 16px) !important;
}

.theme-tv-preview.layout-boxes .price-board::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board::after {
  bottom: -28px !important;
}
/* Boxes emergency correction: fixed preview board, no name plates, stronger scroller labels. */
.branding-stage-panel .branding-demo-preview.layout-boxes {
  padding: clamp(72px, 11vh, 118px) clamp(18px, 2vw, 34px) clamp(48px, 6vh, 72px) !important;
}

.branding-stage-panel .branding-demo-preview.layout-boxes .price-board,
.theme-preview-panel .branding-demo-preview.layout-boxes .price-board {
  position: absolute !important;
  left: clamp(24px, 2.4vw, 44px) !important;
  right: clamp(24px, 2.4vw, 44px) !important;
  top: clamp(104px, 15vh, 158px) !important;
  bottom: clamp(52px, 7vh, 82px) !important;
  display: grid !important;
  grid-template-columns: repeat(var(--theme-product-columns, 8), minmax(0, 1fr)) !important;
  grid-template-rows: repeat(var(--theme-product-rows, 2), minmax(0, 1fr)) !important;
  grid-auto-rows: 0 !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 clamp(22px, 2.2vw, 42px) !important;
  gap: clamp(18px, 2.5vh, 34px) 0 !important;
  overflow: visible !important;
}

.theme-tv-preview.layout-boxes .price-board > span:not(.category-header),
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board > span:not(.category-header),
.branding-stage-panel .branding-demo-preview.layout-boxes .price-board > span:not(.category-header) {
  padding: clamp(14px, 1.7vh, 26px) clamp(8px, 0.8vw, 14px) 0 !important;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.52)),
    var(--boxes-card-color, #252525) !important;
}

.theme-tv-preview.layout-boxes .price-board > strong,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board > strong,
.branding-stage-panel .branding-demo-preview.layout-boxes .price-board > strong {
  padding: 0 clamp(8px, 0.8vw, 14px) clamp(14px, 1.9vh, 28px) !important;
  background: transparent !important;
}

.theme-tv-preview.layout-boxes .boxes-product-name,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-product-name,
.branding-stage-panel .branding-demo-preview.layout-boxes .boxes-product-name {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  clip-path: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  font-family: Arial Narrow, Arial, sans-serif !important;
  font-size: clamp(15px, 1.15vw, 24px) !important;
  font-weight: 900 !important;
  line-height: 0.94 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.78) !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.theme-tv-preview.layout-boxes .boxes-product-unit,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-product-unit,
.branding-stage-panel .branding-demo-preview.layout-boxes .boxes-product-unit {
  background: transparent !important;
  box-shadow: none !important;
  font-size: clamp(10px, 0.82vw, 16px) !important;
}

.theme-tv-preview.layout-boxes .price-board::before,
.theme-tv-preview.layout-boxes .price-board::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board::after,
.branding-stage-panel .branding-demo-preview.layout-boxes .price-board::before,
.branding-stage-panel .branding-demo-preview.layout-boxes .price-board::after {
  left: clamp(22px, 2.2vw, 42px) !important;
  right: clamp(22px, 2.2vw, 42px) !important;
  z-index: 80 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  height: clamp(18px, 2vh, 28px) !important;
  padding: 0 !important;
  color: #fff !important;
  font-family: Arial Narrow, Arial, sans-serif !important;
  font-size: clamp(11px, 0.9vw, 17px) !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-shadow: 0 2px 0 #000, 0 0 10px #000 !important;
  background:
    linear-gradient(90deg, rgba(0, 155, 134, 0.9), rgba(0, 155, 134, 0.9)) left center / calc(50% - 86px) 1px no-repeat,
    linear-gradient(90deg, rgba(0, 155, 134, 0.9), rgba(0, 155, 134, 0.9)) right center / calc(50% - 86px) 1px no-repeat !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.theme-tv-preview.layout-boxes .price-board::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board::before,
.branding-stage-panel .branding-demo-preview.layout-boxes .price-board::before {
  content: "SCROLLER 1 OF 2" !important;
  top: calc(50% - 13px) !important;
}

.theme-tv-preview.layout-boxes .price-board::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board::after,
.branding-stage-panel .branding-demo-preview.layout-boxes .price-board::after {
  content: "SCROLLER 2 OF 2" !important;
  bottom: -32px !important;
}
/* Boxes TV board reset: fixed 8x2 broadcast geometry for the dashboard preview and live screen. */
#branding .branding-stage-panel .branding-demo-preview.layout-boxes,
.theme-tv-preview.layout-boxes,
body.tv-display-body .public-fullscreen-preview.layout-boxes {
  --boxes-edge-x: clamp(24px, 2.6vw, 54px);
  --boxes-header-h: clamp(82px, 10vh, 126px);
  --boxes-footer-h: clamp(42px, 5.2vh, 70px);
  --boxes-row-gap: clamp(26px, 4.8vh, 56px);
  position: relative !important;
  overflow: hidden !important;
  padding: 0 !important;
  background:
    linear-gradient(180deg, rgba(0, 32, 27, 0.86), rgba(0, 0, 0, 0.98) 34%, #000 100%) !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .ticker,
.theme-tv-preview.layout-boxes .ticker,
body.tv-display-body .public-fullscreen-preview.layout-boxes .ticker {
  position: absolute !important;
  inset: 0 0 auto 0 !important;
  height: var(--boxes-header-h) !important;
  min-height: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
  background: linear-gradient(180deg, rgba(0, 20, 18, 0.98), rgba(0, 0, 0, 0.72)) !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .ticker span,
.theme-tv-preview.layout-boxes .ticker span,
body.tv-display-body .public-fullscreen-preview.layout-boxes .ticker span {
  font-size: clamp(9px, 0.72vw, 14px) !important;
  line-height: 1 !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .board-title,
.theme-tv-preview.layout-boxes .board-title,
body.tv-display-body .public-fullscreen-preview.layout-boxes .board-title {
  position: absolute !important;
  top: clamp(26px, 3.6vh, 46px) !important;
  left: var(--boxes-edge-x) !important;
  z-index: 80 !important;
  width: min(58vw, 980px) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: #fff !important;
  font-family: Impact, Haettenschweiler, 'Arial Narrow', Arial, sans-serif !important;
  font-size: clamp(28px, 3.8vw, 74px) !important;
  font-weight: 900 !important;
  line-height: 0.86 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  text-shadow: 0 4px 0 #000, 0 0 18px rgba(75, 255, 130, 0.42) !important;
  background: transparent !important;
  box-shadow: none !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .status-pill,
.theme-tv-preview.layout-boxes .status-pill,
body.tv-display-body .public-fullscreen-preview.layout-boxes .status-pill {
  position: absolute !important;
  top: clamp(32px, 4vh, 54px) !important;
  right: var(--boxes-edge-x) !important;
  z-index: 90 !important;
  transform: skewX(-12deg) !important;
  border-radius: 0 !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .price-board,
.theme-tv-preview.layout-boxes .price-board,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board {
  position: absolute !important;
  top: calc(var(--boxes-header-h) + clamp(8px, 1.2vh, 16px)) !important;
  right: var(--boxes-edge-x) !important;
  bottom: calc(var(--boxes-footer-h) + clamp(14px, 2vh, 28px)) !important;
  left: var(--boxes-edge-x) !important;
  display: grid !important;
  grid-template-columns: repeat(var(--theme-product-columns, 8), minmax(0, 1fr)) !important;
  grid-template-rows: repeat(var(--theme-product-rows, 2), minmax(0, 1fr)) !important;
  grid-auto-flow: row !important;
  grid-auto-rows: 0 !important;
  gap: var(--boxes-row-gap) 0 !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .price-board > .category-header,
.theme-tv-preview.layout-boxes .price-board > .category-header,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board > .category-header {
  display: none !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .price-board > span:not(.category-header),
#branding .branding-stage-panel .branding-demo-preview.layout-boxes .price-board > strong,
.theme-tv-preview.layout-boxes .price-board > span:not(.category-header),
.theme-tv-preview.layout-boxes .price-board > strong,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board > span:not(.category-header),
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board > strong {
  grid-column: var(--theme-item-col, auto) !important;
  grid-row: var(--theme-card-row, auto) !important;
  align-self: stretch !important;
  justify-self: stretch !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-right: clamp(5px, 0.62vw, 13px) solid #010202 !important;
  box-sizing: border-box !important;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%) !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .price-board > span:not(.category-header),
.theme-tv-preview.layout-boxes .price-board > span:not(.category-header),
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board > span:not(.category-header) {
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: clamp(5px, 0.8vh, 12px) !important;
  padding: clamp(16px, 2.2vh, 34px) clamp(9px, 0.8vw, 16px) 0 !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 52% 14%, rgba(255, 255, 255, 0.18), transparent 35%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.6)),
    var(--boxes-card-color, #222) !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .price-board > strong,
.theme-tv-preview.layout-boxes .price-board > strong,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board > strong {
  z-index: 3 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(2px, 0.5vh, 8px) !important;
  padding: 0 clamp(9px, 0.8vw, 16px) clamp(12px, 1.8vh, 28px) !important;
  overflow: hidden !important;
  color: #fff !important;
  font-family: Impact, Haettenschweiler, 'Arial Narrow', Arial, sans-serif !important;
  font-size: clamp(28px, 3.1vw, 60px) !important;
  font-weight: 900 !important;
  line-height: 0.9 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-shadow: 0 3px 0 #000, 0 0 10px rgba(0, 0, 0, 0.75) !important;
  background: transparent !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .boxes-product-name,
.theme-tv-preview.layout-boxes .boxes-product-name,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-product-name {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  clip-path: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  font-family: Impact, Haettenschweiler, 'Arial Narrow', Arial, sans-serif !important;
  font-size: clamp(15px, 1.42vw, 30px) !important;
  font-weight: 900 !important;
  line-height: 0.94 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  text-shadow: 0 3px 0 #000, 0 0 10px rgba(0, 0, 0, 0.72) !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .boxes-drink-icon,
.theme-tv-preview.layout-boxes .boxes-drink-icon,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-drink-icon {
  display: block !important;
  flex: 0 0 auto !important;
  width: clamp(18px, 2.3vw, 46px) !important;
  height: clamp(24px, 3.8vh, 72px) !important;
  opacity: 0.94 !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .boxes-product-unit,
.theme-tv-preview.layout-boxes .boxes-product-unit,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-product-unit {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: clamp(10px, 0.9vw, 18px) !important;
  line-height: 1 !important;
  text-align: center !important;
  text-shadow: 0 2px 0 #000 !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .move,
.theme-tv-preview.layout-boxes .move,
body.tv-display-body .public-fullscreen-preview.layout-boxes .move {
  display: block !important;
  margin-top: clamp(4px, 0.7vh, 10px) !important;
  font-family: Arial, sans-serif !important;
  font-size: clamp(12px, 1.15vw, 24px) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .price-board::before,
#branding .branding-stage-panel .branding-demo-preview.layout-boxes .price-board::after,
.theme-tv-preview.layout-boxes .price-board::before,
.theme-tv-preview.layout-boxes .price-board::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board::after {
  position: absolute !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 70 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: clamp(18px, 2.1vh, 28px) !important;
  color: #fff !important;
  font-family: 'Arial Narrow', Arial, sans-serif !important;
  font-size: clamp(11px, 0.86vw, 17px) !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-shadow: 0 2px 0 #000, 0 0 10px #000 !important;
  background:
    linear-gradient(90deg, rgba(0, 155, 134, 0.9), rgba(0, 155, 134, 0.9)) left center / calc(50% - 86px) 1px no-repeat,
    linear-gradient(90deg, rgba(0, 155, 134, 0.9), rgba(0, 155, 134, 0.9)) right center / calc(50% - 86px) 1px no-repeat !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .price-board::before,
.theme-tv-preview.layout-boxes .price-board::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board::before {
  content: 'SCROLLER 1 OF 2' !important;
  top: calc(50% - (var(--boxes-row-gap) / 2) - clamp(9px, 1vh, 14px)) !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .price-board::after,
.theme-tv-preview.layout-boxes .price-board::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board::after {
  content: 'SCROLLER 2 OF 2' !important;
  bottom: calc((var(--boxes-row-gap) * -0.5) - clamp(18px, 1.8vh, 28px)) !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .stage-footer,
.theme-tv-preview.layout-boxes .stage-footer,
body.tv-display-body .public-fullscreen-preview.layout-boxes .stage-footer {
  position: absolute !important;
  right: var(--boxes-edge-x) !important;
  bottom: 0 !important;
  left: var(--boxes-edge-x) !important;
  z-index: 82 !important;
  height: var(--boxes-footer-h) !important;
  min-height: 0 !important;
  padding: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 18, 16, 0.96)) !important;
}

/* Boxes TV proportion fix: keep the event title out of the cards and size rows like the reference board. */
#branding .branding-stage-panel .branding-demo-preview.layout-boxes,
.theme-tv-preview.layout-boxes,
body.tv-display-body .public-fullscreen-preview.layout-boxes {
  --boxes-edge-x: clamp(30px, 2.6vw, 56px) !important;
  --boxes-header-h: clamp(110px, 13vh, 150px) !important;
  --boxes-footer-h: clamp(64px, 7vh, 96px) !important;
  --boxes-row-gap: clamp(34px, 5.4vh, 64px) !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .board-title,
.theme-tv-preview.layout-boxes .board-title,
body.tv-display-body .public-fullscreen-preview.layout-boxes .board-title {
  top: clamp(32px, 4.1vh, 50px) !important;
  width: calc(100% - (var(--boxes-edge-x) * 2) - clamp(260px, 20vw, 430px)) !important;
  max-width: none !important;
  font-size: clamp(28px, 2.75vw, 54px) !important;
  line-height: 0.92 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .price-board,
.theme-tv-preview.layout-boxes .price-board,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board {
  top: calc(var(--boxes-header-h) + clamp(12px, 1.5vh, 22px)) !important;
  bottom: calc(var(--boxes-footer-h) + clamp(56px, 7vh, 86px)) !important;
  gap: var(--boxes-row-gap) 0 !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .price-board > span:not(.category-header),
.theme-tv-preview.layout-boxes .price-board > span:not(.category-header),
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board > span:not(.category-header) {
  padding-top: clamp(12px, 1.9vh, 26px) !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .boxes-drink-icon,
.theme-tv-preview.layout-boxes .boxes-drink-icon,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-drink-icon {
  width: clamp(16px, 1.8vw, 38px) !important;
  height: clamp(22px, 3.2vh, 58px) !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .boxes-product-name,
.theme-tv-preview.layout-boxes .boxes-product-name,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-product-name {
  font-size: clamp(13px, 1.15vw, 24px) !important;
  line-height: 0.96 !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .price-board > strong,
.theme-tv-preview.layout-boxes .price-board > strong,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board > strong {
  padding-bottom: clamp(10px, 1.45vh, 22px) !important;
  font-size: clamp(28px, 2.7vw, 52px) !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .move,
.theme-tv-preview.layout-boxes .move,
body.tv-display-body .public-fullscreen-preview.layout-boxes .move {
  font-size: clamp(11px, 1vw, 20px) !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .price-board::before,
.theme-tv-preview.layout-boxes .price-board::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board::before {
  top: calc(50% - (var(--boxes-row-gap) / 2) - 12px) !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .price-board::after,
.theme-tv-preview.layout-boxes .price-board::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board::after {
  bottom: calc((var(--boxes-row-gap) * -0.5) - 18px) !important;
}

/* Boxes event title: use one header line instead of the shared split-title treatment. */
#branding .branding-stage-panel .branding-demo-preview.layout-boxes .board-title span,
.theme-tv-preview.layout-boxes .board-title span,
body.tv-display-body .public-fullscreen-preview.layout-boxes .board-title span {
  display: inline !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  color: inherit !important;
  font: inherit !important;
  line-height: inherit !important;
  text-shadow: inherit !important;
  white-space: inherit !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .board-title-sub::before,
.theme-tv-preview.layout-boxes .board-title-sub::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .board-title-sub::before {
  content: ' ';
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .board-title::after,
.theme-tv-preview.layout-boxes .board-title::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .board-title::after {
  display: none !important;
}

/* Boxes dashboard preview fix: opt the slanted TV cards out of compact table-row preview rules. */
#branding .branding-stage-panel .branding-demo-preview.layout-boxes .price-board,
.theme-preview-panel .branding-demo-preview.layout-boxes .price-board,
#visual-preview-screen.layout-boxes .price-board {
  top: calc(var(--boxes-header-h) + clamp(18px, 2.4vh, 34px)) !important;
  bottom: calc(var(--boxes-footer-h) + clamp(54px, 6.6vh, 82px)) !important;
  display: grid !important;
  align-items: stretch !important;
  justify-items: stretch !important;
  grid-template-columns: repeat(var(--theme-product-columns, 8), minmax(0, 1fr)) !important;
  grid-template-rows: repeat(var(--theme-product-rows, 2), minmax(132px, 1fr)) !important;
  grid-auto-rows: 0 !important;
  gap: var(--boxes-row-gap) 0 !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .price-board > span:not(.category-header),
#branding .branding-stage-panel .branding-demo-preview.layout-boxes .price-board > strong,
.theme-preview-panel .branding-demo-preview.layout-boxes .price-board > span:not(.category-header),
.theme-preview-panel .branding-demo-preview.layout-boxes .price-board > strong,
#visual-preview-screen.layout-boxes .price-board > span:not(.category-header),
#visual-preview-screen.layout-boxes .price-board > strong {
  grid-column: var(--theme-item-col, auto) !important;
  grid-row: var(--theme-card-row, auto) / span 1 !important;
  align-self: stretch !important;
  justify-self: stretch !important;
  width: auto !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-right: clamp(5px, 0.62vw, 12px) solid #010202 !important;
  box-sizing: border-box !important;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%) !important;
  transform: none !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .price-board > span:not(.category-header),
.theme-preview-panel .branding-demo-preview.layout-boxes .price-board > span:not(.category-header),
#visual-preview-screen.layout-boxes .price-board > span:not(.category-header) {
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: clamp(4px, 0.7vh, 10px) !important;
  padding: clamp(13px, 1.8vh, 28px) clamp(8px, 0.8vw, 16px) 0 !important;
  font-size: clamp(12px, 1.05vw, 22px) !important;
  line-height: 1 !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 52% 14%, rgba(255, 255, 255, 0.2), transparent 35%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.62)),
    var(--boxes-card-color, #222) !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .price-board > strong,
.theme-preview-panel .branding-demo-preview.layout-boxes .price-board > strong,
#visual-preview-screen.layout-boxes .price-board > strong {
  z-index: 3 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(2px, 0.4vh, 7px) !important;
  padding: 0 clamp(8px, 0.8vw, 16px) clamp(12px, 1.6vh, 24px) !important;
  color: #fff !important;
  font-family: Impact, Haettenschweiler, 'Arial Narrow', Arial, sans-serif !important;
  font-size: clamp(26px, 2.55vw, 52px) !important;
  font-weight: 900 !important;
  line-height: 0.9 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-shadow: 0 3px 0 #000, 0 0 10px rgba(0, 0, 0, 0.75) !important;
  background: transparent !important;
  box-shadow: none !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .price-board > strong em,
.theme-preview-panel .branding-demo-preview.layout-boxes .price-board > strong em,
#visual-preview-screen.layout-boxes .price-board > strong em {
  display: block !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: clamp(2px, 0.4vh, 7px) 0 0 !important;
  padding: 0 !important;
  font-family: Arial, sans-serif !important;
  font-size: clamp(10px, 0.95vw, 19px) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .boxes-drink-icon,
.theme-preview-panel .branding-demo-preview.layout-boxes .boxes-drink-icon,
#visual-preview-screen.layout-boxes .boxes-drink-icon {
  width: clamp(16px, 1.65vw, 34px) !important;
  height: clamp(21px, 3vh, 54px) !important;
  margin: 0 !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .boxes-product-name,
.theme-preview-panel .branding-demo-preview.layout-boxes .boxes-product-name,
#visual-preview-screen.layout-boxes .boxes-product-name {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  clip-path: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  font-family: Impact, Haettenschweiler, 'Arial Narrow', Arial, sans-serif !important;
  font-size: clamp(12px, 1.08vw, 22px) !important;
  font-weight: 900 !important;
  line-height: 0.96 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  text-shadow: 0 3px 0 #000, 0 0 10px rgba(0, 0, 0, 0.72) !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .boxes-product-unit,
.theme-preview-panel .branding-demo-preview.layout-boxes .boxes-product-unit,
#visual-preview-screen.layout-boxes .boxes-product-unit {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: clamp(9px, 0.78vw, 15px) !important;
  line-height: 1 !important;
}

/* Boxes title fit: keep venue/event names as a single TV header line. */
#branding .branding-stage-panel .branding-demo-preview.layout-boxes .board-title,
.theme-preview-panel .branding-demo-preview.layout-boxes .board-title,
#visual-preview-screen.layout-boxes .board-title,
.theme-tv-preview.layout-boxes .board-title,
body.tv-display-body .public-fullscreen-preview.layout-boxes .board-title {
  width: calc(100% - (var(--boxes-edge-x, 44px) * 2) - clamp(230px, 18vw, 390px)) !important;
  max-width: none !important;
  font-size: clamp(22px, 2.25vw, 44px) !important;
  line-height: 0.92 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .board-title-main,
#branding .branding-stage-panel .branding-demo-preview.layout-boxes .board-title-sub,
.theme-preview-panel .branding-demo-preview.layout-boxes .board-title-main,
.theme-preview-panel .branding-demo-preview.layout-boxes .board-title-sub,
#visual-preview-screen.layout-boxes .board-title-main,
#visual-preview-screen.layout-boxes .board-title-sub,
.theme-tv-preview.layout-boxes .board-title-main,
.theme-tv-preview.layout-boxes .board-title-sub,
body.tv-display-body .public-fullscreen-preview.layout-boxes .board-title-main,
body.tv-display-body .public-fullscreen-preview.layout-boxes .board-title-sub {
  display: inline !important;
  width: auto !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

/* Boxes live dashboard selector fix: apply full TV tiles to the actual branding preview instance. */
.branding-demo-preview.layout-boxes {
  --boxes-edge-x: clamp(18px, 2vw, 38px) !important;
  --boxes-header-h: clamp(76px, 11vh, 118px) !important;
  --boxes-footer-h: clamp(38px, 5.8vh, 66px) !important;
  --boxes-row-gap: clamp(28px, 5vh, 56px) !important;
  position: relative !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.branding-demo-preview.layout-boxes .board-title {
  position: absolute !important;
  top: clamp(26px, 4vh, 46px) !important;
  left: var(--boxes-edge-x) !important;
  z-index: 80 !important;
  width: calc(100% - (var(--boxes-edge-x) * 2) - clamp(210px, 18vw, 360px)) !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: clamp(18px, 2.05vw, 38px) !important;
  line-height: 0.92 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.branding-demo-preview.layout-boxes .board-title-main,
.branding-demo-preview.layout-boxes .board-title-sub,
.branding-demo-preview.layout-boxes .board-title span {
  display: inline !important;
  width: auto !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

.branding-demo-preview.layout-boxes .price-board {
  position: absolute !important;
  top: calc(var(--boxes-header-h) + clamp(10px, 1.8vh, 22px)) !important;
  right: var(--boxes-edge-x) !important;
  bottom: calc(var(--boxes-footer-h) + clamp(42px, 6vh, 74px)) !important;
  left: var(--boxes-edge-x) !important;
  display: grid !important;
  grid-template-columns: repeat(var(--theme-product-columns, 8), minmax(0, 1fr)) !important;
  grid-template-rows: repeat(var(--theme-product-rows, 2), minmax(120px, 1fr)) !important;
  grid-auto-rows: 0 !important;
  align-items: stretch !important;
  justify-items: stretch !important;
  gap: var(--boxes-row-gap) 0 !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
}

.branding-demo-preview.layout-boxes .price-board > .category-header {
  display: none !important;
}

.branding-demo-preview.layout-boxes .price-board > span:not(.category-header),
.branding-demo-preview.layout-boxes .price-board > strong,
.branding-demo-preview.layout-boxes .price-board.board-density-large > span:not(.category-header),
.branding-demo-preview.layout-boxes .price-board.board-density-large > strong,
.branding-demo-preview.layout-boxes .price-board.board-density-medium > span:not(.category-header),
.branding-demo-preview.layout-boxes .price-board.board-density-medium > strong {
  grid-column: var(--theme-item-col, auto) !important;
  grid-row: var(--theme-card-row, auto) / span 1 !important;
  align-self: stretch !important;
  justify-self: stretch !important;
  width: auto !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-right: clamp(4px, 0.55vw, 11px) solid #010202 !important;
  box-sizing: border-box !important;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%) !important;
  transform: none !important;
}

.branding-demo-preview.layout-boxes .price-board > span:not(.category-header),
.branding-demo-preview.layout-boxes .price-board.board-density-large > span:not(.category-header),
.branding-demo-preview.layout-boxes .price-board.board-density-medium > span:not(.category-header) {
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: clamp(4px, 0.7vh, 10px) !important;
  padding: clamp(12px, 1.8vh, 26px) clamp(7px, 0.75vw, 14px) 0 !important;
  overflow: hidden !important;
  font-size: clamp(11px, 1vw, 20px) !important;
  line-height: 1 !important;
  background:
    radial-gradient(circle at 52% 14%, rgba(255, 255, 255, 0.2), transparent 35%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.62)),
    var(--boxes-card-color, #222) !important;
}

.branding-demo-preview.layout-boxes .price-board > strong,
.branding-demo-preview.layout-boxes .price-board.board-density-large > strong,
.branding-demo-preview.layout-boxes .price-board.board-density-medium > strong {
  z-index: 3 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(2px, 0.4vh, 7px) !important;
  padding: 0 clamp(7px, 0.75vw, 14px) clamp(10px, 1.5vh, 22px) !important;
  color: #fff !important;
  font-family: Impact, Haettenschweiler, 'Arial Narrow', Arial, sans-serif !important;
  font-size: clamp(24px, 2.4vw, 48px) !important;
  font-weight: 900 !important;
  line-height: 0.9 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-shadow: 0 3px 0 #000, 0 0 10px rgba(0, 0, 0, 0.75) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.branding-demo-preview.layout-boxes .boxes-product-name {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  clip-path: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: clamp(11px, 0.98vw, 19px) !important;
  line-height: 0.96 !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.branding-demo-preview.layout-boxes .boxes-drink-icon {
  width: clamp(15px, 1.5vw, 30px) !important;
  height: clamp(20px, 2.8vh, 50px) !important;
  margin: 0 !important;
}

.branding-demo-preview.layout-boxes .boxes-product-unit {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: clamp(8px, 0.72vw, 14px) !important;
}

/* Boxes tile renderer: dashboard preview uses one real tile per drink, not product/price row pairs. */
.branding-demo-preview.layout-boxes .price-board.boxes-tile-board {
  position: absolute !important;
  top: calc(var(--boxes-header-h, 96px) + clamp(10px, 1.8vh, 22px)) !important;
  right: var(--boxes-edge-x, 24px) !important;
  bottom: calc(var(--boxes-footer-h, 52px) + clamp(42px, 6vh, 74px)) !important;
  left: var(--boxes-edge-x, 24px) !important;
  display: grid !important;
  grid-template-columns: repeat(var(--theme-product-columns, 8), minmax(0, 1fr)) !important;
  grid-template-rows: repeat(var(--theme-product-rows, 2), minmax(120px, 1fr)) !important;
  grid-auto-rows: 0 !important;
  gap: var(--boxes-row-gap, clamp(28px, 5vh, 56px)) 0 !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

.branding-demo-preview.layout-boxes .boxes-board-tile {
  grid-column: var(--theme-item-col, auto) !important;
  grid-row: var(--theme-card-row, auto) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-width: 0 !important;
  min-height: 100% !important;
  padding: clamp(14px, 2vh, 28px) clamp(8px, 0.8vw, 16px) clamp(12px, 1.8vh, 24px) !important;
  border-right: clamp(4px, 0.55vw, 11px) solid #010202 !important;
  box-sizing: border-box !important;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%) !important;
  background:
    radial-gradient(circle at 52% 14%, rgba(255, 255, 255, 0.2), transparent 35%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.62)),
    var(--boxes-card-color, #222) !important;
  overflow: hidden !important;
}

.branding-demo-preview.layout-boxes .boxes-board-product,
.branding-demo-preview.layout-boxes .boxes-board-price {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  text-align: center !important;
}

.branding-demo-preview.layout-boxes .boxes-board-product {
  justify-content: flex-start !important;
  gap: clamp(4px, 0.7vh, 10px) !important;
}

.branding-demo-preview.layout-boxes .boxes-board-price {
  justify-content: flex-end !important;
  gap: clamp(2px, 0.4vh, 7px) !important;
  font-family: Impact, Haettenschweiler, 'Arial Narrow', Arial, sans-serif !important;
  font-size: clamp(24px, 2.4vw, 48px) !important;
  font-weight: 900 !important;
  line-height: 0.9 !important;
  letter-spacing: 0 !important;
  text-shadow: 0 3px 0 #000, 0 0 10px rgba(0, 0, 0, 0.75) !important;
}

.branding-demo-preview.layout-boxes .boxes-board-price em {
  display: block !important;
  margin: clamp(2px, 0.4vh, 7px) 0 0 !important;
  font-family: Arial, sans-serif !important;
  font-size: clamp(10px, 0.95vw, 19px) !important;
  font-style: normal !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.branding-demo-preview.layout-boxes .boxes-board-tile.price-up .boxes-board-price em,
.branding-demo-preview.layout-boxes .boxes-board-tile.price-flat .boxes-board-price em {
  color: #78d895 !important;
}

.branding-demo-preview.layout-boxes .boxes-board-tile.price-down .boxes-board-price em,
.branding-demo-preview.layout-boxes .boxes-board-tile.price-crashed .boxes-board-price em {
  color: #ff3030 !important;
}

/* Boxes tile content isolation: keep old price-board span/strong rules away from tile internals. */
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-board-product,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-board-price,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-product-name,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-product-unit,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-drink-icon {
  position: relative !important;
  grid-column: auto !important;
  grid-row: auto !important;
  align-self: auto !important;
  justify-self: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  border: 0 !important;
  clip-path: none !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-board-product,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-board-price {
  z-index: 6 !important;
}

/* Boxes tile stretch fix: the tile element itself must fill the fixed 8x2 TV grid cell. */
.branding-demo-preview.layout-boxes .price-board.boxes-tile-board > .boxes-board-tile,
.theme-tv-preview.layout-boxes .price-board.boxes-tile-board > .boxes-board-tile {
  align-self: stretch !important;
  justify-self: stretch !important;
  width: auto !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  transform: none !important;
}

.branding-demo-preview.layout-boxes .price-board.boxes-tile-board > .boxes-board-tile {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* TV sequence parity: opening/closed/crash takeover states hide prices across every theme. */
.theme-tv-preview.opening-countdown .price-board,
.theme-tv-preview.opening-now .price-board,
.theme-tv-preview.event-scheduled .price-board,
.theme-tv-preview.event-closed .price-board,
.theme-tv-preview.market-opening .price-board,
body.tv-display-body .public-fullscreen-preview.opening-countdown .price-board,
body.tv-display-body .public-fullscreen-preview.opening-now .price-board,
body.tv-display-body .public-fullscreen-preview.event-scheduled .price-board,
body.tv-display-body .public-fullscreen-preview.event-closed .price-board,
body.tv-display-body .public-fullscreen-preview.market-opening .price-board {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.theme-tv-preview.opening-countdown .ticker,
.theme-tv-preview.opening-countdown .instruction-scroller,
.theme-tv-preview.opening-now .ticker,
.theme-tv-preview.opening-now .instruction-scroller,
body.tv-display-body .public-fullscreen-preview.opening-countdown .ticker,
body.tv-display-body .public-fullscreen-preview.opening-countdown .instruction-scroller,
body.tv-display-body .public-fullscreen-preview.opening-now .ticker,
body.tv-display-body .public-fullscreen-preview.opening-now .instruction-scroller {
  display: none !important;
}

/* Boxes no-scrollbar board: remove artificial scroller divider labels/lines. */
.theme-tv-preview.layout-boxes .price-board::before,
.theme-tv-preview.layout-boxes .price-board::after,
.branding-demo-preview.layout-boxes .price-board::before,
.branding-demo-preview.layout-boxes .price-board::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

/* Boxes broadcast tile typography and icon sizing. */
.branding-demo-preview.layout-boxes .price-board.boxes-tile-board {
  top: calc(var(--boxes-header-h, 96px) + clamp(12px, 2vh, 28px)) !important;
  bottom: calc(var(--boxes-footer-h, 52px) + clamp(12px, 2.6vh, 32px)) !important;
  grid-template-rows: repeat(var(--theme-product-rows, 2), minmax(170px, 1fr)) !important;
  gap: clamp(14px, 2.2vh, 30px) 0 !important;
}

.branding-demo-preview.layout-boxes .price-board.boxes-tile-board > .boxes-board-tile {
  padding: clamp(18px, 3vh, 42px) clamp(10px, 1vw, 20px) clamp(18px, 2.8vh, 38px) !important;
}

.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-board-product {
  flex: 1 1 auto !important;
  justify-content: flex-start !important;
  gap: clamp(8px, 1.2vh, 18px) !important;
}

.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-board-price {
  flex: 0 0 auto !important;
  font-size: clamp(34px, 4vw, 78px) !important;
  line-height: 0.88 !important;
}

.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-board-price em {
  margin-top: clamp(6px, 0.9vh, 14px) !important;
  font-size: clamp(14px, 1.45vw, 28px) !important;
}

.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-product-name {
  font-size: clamp(18px, 1.9vw, 38px) !important;
  line-height: 0.92 !important;
}

.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-product-unit {
  font-size: clamp(12px, 1.1vw, 22px) !important;
}

.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-drink-icon {
  width: clamp(28px, 3.2vw, 64px) !important;
  height: clamp(38px, 5.6vh, 100px) !important;
  border-color: currentColor !important;
  color: rgba(255, 255, 255, 0.96) !important;
}

/* Boxes hard visual reset: own the theme instead of inheriting Bull/table preview styling. */
.theme-tv-preview.layout-boxes .theme-screen-logo,
body.tv-display-body .public-fullscreen-preview.layout-boxes .theme-screen-logo,
body.tv-display-body .public-fullscreen-preview.layout-boxes .public-theme-logo,
.branding-demo-preview.layout-boxes .theme-screen-logo {
  display: none !important;
  visibility: hidden !important;
}

.theme-tv-preview.layout-boxes:not(.opening-countdown):not(.opening-now):not(.event-scheduled):not(.event-closed):not(.market-opening):not(.market-crashing) .price-board::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.opening-countdown):not(.opening-now):not(.market-opening):not(.market-crashing) .price-board::before,
.branding-demo-preview.layout-boxes.event-open:not(.opening-countdown):not(.opening-now):not(.market-opening):not(.market-crashing) .price-board::before {
  content: "SCROLLER 1 OF 2" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: calc(50% - 12px) !important;
  z-index: 40 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 24px !important;
  color: #fff !important;
  font-family: 'Arial Narrow', Arial, sans-serif !important;
  font-size: clamp(13px, 1.05vw, 20px) !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-shadow: 0 2px 0 #000, 0 0 10px #000 !important;
  background:
    linear-gradient(90deg, rgba(0, 155, 134, 0.9), rgba(0, 155, 134, 0.9)) left center / calc(50% - 92px) 1px no-repeat,
    linear-gradient(90deg, rgba(0, 155, 134, 0.9), rgba(0, 155, 134, 0.9)) right center / calc(50% - 92px) 1px no-repeat !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.theme-tv-preview.layout-boxes:not(.opening-countdown):not(.opening-now):not(.event-scheduled):not(.event-closed):not(.market-opening):not(.market-crashing) .price-board::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.opening-countdown):not(.opening-now):not(.market-opening):not(.market-crashing) .price-board::after,
.branding-demo-preview.layout-boxes.event-open:not(.opening-countdown):not(.opening-now):not(.market-opening):not(.market-crashing) .price-board::after {
  content: "SCROLLER 2 OF 2" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -36px !important;
  z-index: 40 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 24px !important;
  color: #fff !important;
  font-family: 'Arial Narrow', Arial, sans-serif !important;
  font-size: clamp(13px, 1.05vw, 20px) !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-shadow: 0 2px 0 #000, 0 0 10px #000 !important;
  background:
    linear-gradient(90deg, rgba(0, 155, 134, 0.9), rgba(0, 155, 134, 0.9)) left center / calc(50% - 92px) 1px no-repeat,
    linear-gradient(90deg, rgba(0, 155, 134, 0.9), rgba(0, 155, 134, 0.9)) right center / calc(50% - 92px) 1px no-repeat !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.branding-demo-preview.layout-boxes .price-board.boxes-tile-board,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board,
.theme-tv-preview.layout-boxes .price-board {
  top: clamp(112px, 14vh, 160px) !important;
  bottom: clamp(64px, 9vh, 110px) !important;
}

.branding-demo-preview.layout-boxes .price-board.boxes-tile-board > .boxes-board-tile {
  padding: clamp(26px, 4vh, 54px) clamp(14px, 1.3vw, 26px) clamp(26px, 4vh, 52px) !important;
}

.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-product-name {
  font-size: clamp(26px, 2.65vw, 54px) !important;
  line-height: 0.9 !important;
}

.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-product-unit {
  margin-top: clamp(5px, 0.8vh, 12px) !important;
  font-size: clamp(16px, 1.55vw, 30px) !important;
}

.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-board-price {
  font-size: clamp(48px, 5.3vw, 102px) !important;
  line-height: 0.84 !important;
}

.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-board-price em {
  font-size: clamp(18px, 1.9vw, 38px) !important;
}

.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-drink-icon {
  width: clamp(42px, 4.6vw, 88px) !important;
  height: clamp(58px, 7.6vh, 132px) !important;
}

body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board > span:not(.category-header),
.theme-tv-preview.layout-boxes:not(.branding-demo-preview) .price-board > span:not(.category-header) {
  font-size: clamp(26px, 2.65vw, 54px) !important;
  line-height: 0.9 !important;
  padding-top: clamp(44px, 6vh, 82px) !important;
}

body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board > strong,
.theme-tv-preview.layout-boxes:not(.branding-demo-preview) .price-board > strong {
  font-size: clamp(48px, 5.3vw, 102px) !important;
  line-height: 0.84 !important;
  padding-bottom: clamp(34px, 5vh, 70px) !important;
}

body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board > strong em,
.theme-tv-preview.layout-boxes:not(.branding-demo-preview) .price-board > strong em {
  font-size: clamp(18px, 1.9vw, 38px) !important;
}

/* Boxes real renderer: one controlled tile system for dashboard preview and public TV. */
.theme-tv-preview.layout-boxes .price-board.boxes-tile-board,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board.boxes-tile-board,
.branding-demo-preview.layout-boxes .price-board.boxes-tile-board {
  position: absolute !important;
  top: clamp(96px, 11vh, 132px) !important;
  right: clamp(22px, 2.4vw, 48px) !important;
  bottom: clamp(72px, 8vh, 104px) !important;
  left: clamp(22px, 2.4vw, 48px) !important;
  display: grid !important;
  grid-template-columns: repeat(var(--theme-product-columns, 8), minmax(0, 1fr)) !important;
  grid-template-rows: repeat(var(--theme-product-rows, 2), minmax(0, 1fr)) !important;
  grid-auto-rows: 0 !important;
  gap: clamp(38px, 5.2vh, 68px) 0 !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

.theme-tv-preview.layout-boxes .price-board.boxes-tile-board > .boxes-board-tile,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board.boxes-tile-board > .boxes-board-tile,
.branding-demo-preview.layout-boxes .price-board.boxes-tile-board > .boxes-board-tile {
  grid-column: var(--theme-item-col, auto) !important;
  grid-row: var(--theme-card-row, auto) !important;
  align-self: stretch !important;
  justify-self: stretch !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: auto !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: clamp(30px, 4.4vh, 62px) clamp(14px, 1.25vw, 26px) clamp(30px, 4.2vh, 58px) !important;
  border: 0 !important;
  border-right: clamp(7px, 0.8vw, 16px) solid #010202 !important;
  box-sizing: border-box !important;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%) !important;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.62)),
    var(--boxes-card-color, #222) !important;
  box-shadow: inset 0 0 48px rgba(255, 255, 255, 0.05) !important;
  overflow: hidden !important;
}

.theme-tv-preview.layout-boxes .boxes-board-tile .boxes-board-product,
.theme-tv-preview.layout-boxes .boxes-board-tile .boxes-board-price,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile .boxes-board-product,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile .boxes-board-price,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-board-product,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-board-price {
  position: relative !important;
  z-index: 6 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  clip-path: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  text-align: center !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.theme-tv-preview.layout-boxes .boxes-board-tile .boxes-board-product,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile .boxes-board-product,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-board-product {
  flex: 1 1 auto !important;
  justify-content: flex-start !important;
  gap: clamp(8px, 1.2vh, 18px) !important;
}

.theme-tv-preview.layout-boxes .boxes-board-tile .boxes-board-price,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile .boxes-board-price,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-board-price {
  flex: 0 0 auto !important;
  justify-content: flex-end !important;
  font-family: Impact, Haettenschweiler, 'Arial Narrow', Arial, sans-serif !important;
  font-size: clamp(54px, 5.6vw, 112px) !important;
  font-weight: 900 !important;
  line-height: 0.82 !important;
  letter-spacing: 0 !important;
  text-shadow: 0 4px 0 #000, 0 0 12px rgba(0, 0, 0, 0.8) !important;
}

.theme-tv-preview.layout-boxes .boxes-board-tile .boxes-board-price em,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile .boxes-board-price em,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-board-price em {
  display: block !important;
  margin-top: clamp(8px, 1vh, 16px) !important;
  color: #78d895 !important;
  font-family: Arial, sans-serif !important;
  font-size: clamp(20px, 2vw, 40px) !important;
  font-style: normal !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-shadow: 0 2px 0 #000 !important;
}

.theme-tv-preview.layout-boxes .boxes-board-tile.price-down .boxes-board-price em,
.theme-tv-preview.layout-boxes .boxes-board-tile.price-crashed .boxes-board-price em,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile.price-down .boxes-board-price em,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile.price-crashed .boxes-board-price em,
.branding-demo-preview.layout-boxes .boxes-board-tile.price-down .boxes-board-price em,
.branding-demo-preview.layout-boxes .boxes-board-tile.price-crashed .boxes-board-price em {
  color: #ff3030 !important;
}

.theme-tv-preview.layout-boxes .boxes-board-tile .boxes-product-name,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile .boxes-product-name,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-product-name {
  display: block !important;
  width: 100% !important;
  color: #fff !important;
  font-family: Impact, Haettenschweiler, 'Arial Narrow', Arial, sans-serif !important;
  font-size: clamp(28px, 2.75vw, 58px) !important;
  font-weight: 900 !important;
  line-height: 0.9 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  text-shadow: 0 4px 0 #000, 0 0 12px rgba(0, 0, 0, 0.8) !important;
  white-space: normal !important;
}

.theme-tv-preview.layout-boxes .boxes-board-tile .boxes-product-unit,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile .boxes-product-unit,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-product-unit {
  display: block !important;
  margin-top: clamp(6px, 0.8vh, 12px) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: clamp(16px, 1.45vw, 30px) !important;
  line-height: 1 !important;
  text-shadow: 0 2px 0 #000 !important;
}

.theme-tv-preview.layout-boxes .boxes-board-tile .boxes-drink-icon,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile .boxes-drink-icon,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-drink-icon {
  display: block !important;
  width: clamp(44px, 4.8vw, 92px) !important;
  height: clamp(60px, 7.8vh, 138px) !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.96) !important;
  opacity: 1 !important;
}

/* Boxes real renderer guard: never inherit the legacy 2-column board default. */
.theme-tv-preview.layout-boxes .price-board.boxes-tile-board,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board.boxes-tile-board,
.branding-demo-preview.layout-boxes .price-board.boxes-tile-board {
  --theme-product-columns: 8;
  --theme-product-rows: 2;
}

/* TV sequence parity extension: crash countdown also hides all price boards. */
.theme-tv-preview.crash-imminent .price-board,
.theme-tv-preview.crash-counting-down .price-board,
body.tv-display-body .public-fullscreen-preview.crash-imminent .price-board,
body.tv-display-body .public-fullscreen-preview.crash-counting-down .price-board {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Boxes final board polish: clean tiles, line-only scrollers, and fitted opening states. */
.theme-tv-preview.layout-boxes .theme-screen-logo,
.theme-tv-preview.layout-boxes .public-theme-logo,
body.tv-display-body .public-fullscreen-preview.layout-boxes .theme-screen-logo,
body.tv-display-body .public-fullscreen-preview.layout-boxes .public-theme-logo,
.theme-tv-preview.opening-countdown .theme-screen-logo,
.theme-tv-preview.opening-now .theme-screen-logo,
.theme-tv-preview.market-opening .theme-screen-logo,
body.tv-display-body .public-fullscreen-preview.opening-countdown .theme-screen-logo,
body.tv-display-body .public-fullscreen-preview.opening-now .theme-screen-logo,
body.tv-display-body .public-fullscreen-preview.market-opening .theme-screen-logo,
body.tv-display-body .public-fullscreen-preview.opening-countdown .public-theme-logo,
body.tv-display-body .public-fullscreen-preview.opening-now .public-theme-logo,
body.tv-display-body .public-fullscreen-preview.market-opening .public-theme-logo {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.theme-tv-preview.layout-boxes.event-open .board-title,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .board-title,
.branding-demo-preview.layout-boxes.event-open .board-title {
  top: clamp(28px, 3.2vh, 42px) !important;
  left: clamp(40px, 3.8vw, 76px) !important;
  right: auto !important;
  width: min(42vw, 780px) !important;
  max-width: min(42vw, 780px) !important;
  overflow: visible !important;
  white-space: normal !important;
  line-height: 0.92 !important;
  font-size: clamp(36px, 3.35vw, 68px) !important;
}

.theme-tv-preview.opening-countdown .board-title,
.theme-tv-preview.opening-now .board-title,
body.tv-display-body .public-fullscreen-preview.opening-countdown .board-title,
body.tv-display-body .public-fullscreen-preview.opening-now .board-title,
.branding-demo-preview.opening-countdown .board-title,
.branding-demo-preview.opening-now .board-title {
  left: 50% !important;
  right: auto !important;
  top: clamp(62px, 9vh, 118px) !important;
  width: min(92vw, 1400px) !important;
  max-width: 92vw !important;
  transform: translateX(-50%) !important;
  overflow: visible !important;
  white-space: normal !important;
  text-align: center !important;
}

.theme-tv-preview.opening-countdown .board-title::before,
.theme-tv-preview.opening-now .board-title::before,
body.tv-display-body .public-fullscreen-preview.opening-countdown .board-title::before,
body.tv-display-body .public-fullscreen-preview.opening-now .board-title::before,
.branding-demo-preview.opening-countdown .board-title::before,
.branding-demo-preview.opening-now .board-title::before {
  font-size: clamp(58px, 8.8vw, 154px) !important;
  line-height: 0.86 !important;
  max-width: 100% !important;
  white-space: pre-line !important;
}

.theme-tv-preview.layout-boxes .price-board.boxes-tile-board,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board.boxes-tile-board,
.branding-demo-preview.layout-boxes .price-board.boxes-tile-board {
  top: clamp(116px, 12.8vh, 156px) !important;
  right: clamp(18px, 1.9vw, 38px) !important;
  bottom: clamp(80px, 8.8vh, 112px) !important;
  left: clamp(18px, 1.9vw, 38px) !important;
  gap: clamp(34px, 4.8vh, 62px) 0 !important;
  overflow: visible !important;
}

.theme-tv-preview.layout-boxes .price-board.boxes-tile-board::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board.boxes-tile-board::before,
.branding-demo-preview.layout-boxes .price-board.boxes-tile-board::before,
.theme-tv-preview.layout-boxes .price-board.boxes-tile-board::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board.boxes-tile-board::after,
.branding-demo-preview.layout-boxes .price-board.boxes-tile-board::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 3 !important;
  display: block !important;
  height: 1px !important;
  pointer-events: none !important;
  background: linear-gradient(90deg, rgba(0, 184, 166, 0), rgba(0, 184, 166, 0.72) 18%, rgba(0, 184, 166, 0.72) 82%, rgba(0, 184, 166, 0)) !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.theme-tv-preview.layout-boxes .price-board.boxes-tile-board::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board.boxes-tile-board::before,
.branding-demo-preview.layout-boxes .price-board.boxes-tile-board::before {
  top: calc(50% - 1px) !important;
  bottom: auto !important;
}

.theme-tv-preview.layout-boxes .price-board.boxes-tile-board::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board.boxes-tile-board::after,
.branding-demo-preview.layout-boxes .price-board.boxes-tile-board::after {
  top: auto !important;
  bottom: clamp(-44px, -4.2vh, -26px) !important;
}

.theme-tv-preview.layout-boxes .price-board.boxes-tile-board > .boxes-board-tile,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board.boxes-tile-board > .boxes-board-tile,
.branding-demo-preview.layout-boxes .price-board.boxes-tile-board > .boxes-board-tile {
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%) !important;
  border-right: clamp(5px, 0.62vw, 12px) solid #010202 !important;
  padding: clamp(34px, 4.7vh, 68px) clamp(14px, 1.25vw, 28px) clamp(34px, 4.6vh, 66px) !important;
  overflow: hidden !important;
}

.theme-tv-preview.layout-boxes .boxes-board-tile .boxes-board-product,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile .boxes-board-product,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-board-product {
  justify-content: flex-start !important;
  gap: clamp(9px, 1.15vh, 18px) !important;
}

.theme-tv-preview.layout-boxes .boxes-board-tile .boxes-product-name,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile .boxes-product-name,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-product-name {
  font-size: clamp(32px, 3.1vw, 66px) !important;
  line-height: 0.88 !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  text-wrap: balance !important;
  max-width: 100% !important;
}

.theme-tv-preview.layout-boxes .boxes-board-tile .boxes-product-unit,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile .boxes-product-unit,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-product-unit {
  font-size: clamp(17px, 1.55vw, 32px) !important;
  line-height: 1 !important;
}

.theme-tv-preview.layout-boxes .boxes-board-tile .boxes-board-price,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile .boxes-board-price,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-board-price {
  font-size: clamp(64px, 6.15vw, 126px) !important;
  line-height: 0.8 !important;
}

.theme-tv-preview.layout-boxes .boxes-board-tile .boxes-board-price em,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile .boxes-board-price em,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-board-price em {
  font-size: clamp(24px, 2.25vw, 46px) !important;
  line-height: 1 !important;
}

.theme-tv-preview.layout-boxes .boxes-board-tile .boxes-drink-icon,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile .boxes-drink-icon,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-drink-icon {
  width: clamp(48px, 4.9vw, 96px) !important;
  height: clamp(64px, 7.9vh, 142px) !important;
}

.theme-tv-preview.layout-boxes .boxes-board-tile .boxes-drink-icon::before,
.theme-tv-preview.layout-boxes .boxes-board-tile .boxes-drink-icon::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile .boxes-drink-icon::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile .boxes-drink-icon::after,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-drink-icon::before,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-drink-icon::after {
  border-color: currentColor !important;
  border-width: 2px !important;
}

/* Boxes final geometry correction: 8x2-safe text, no scroller labels, no clipping. */
#branding .branding-stage-panel .branding-demo-preview.layout-boxes .price-board.boxes-tile-board::before,
.theme-tv-preview.layout-boxes .price-board.boxes-tile-board::before,
.theme-tv-preview.layout-boxes:not(.opening-countdown):not(.opening-now):not(.event-scheduled):not(.event-closed):not(.market-opening):not(.market-crashing) .price-board.boxes-tile-board::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board.boxes-tile-board::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.opening-countdown):not(.opening-now):not(.market-opening):not(.market-crashing) .price-board.boxes-tile-board::before,
.branding-demo-preview.layout-boxes.event-open:not(.opening-countdown):not(.opening-now):not(.market-opening):not(.market-crashing) .price-board.boxes-tile-board::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: calc(50% - 1px) !important;
  bottom: auto !important;
  z-index: 70 !important;
  display: block !important;
  height: 1px !important;
  background: linear-gradient(90deg, rgba(0, 184, 166, 0), rgba(0, 184, 166, 0.78) 18%, rgba(0, 184, 166, 0.78) 82%, rgba(0, 184, 166, 0)) !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-shadow: none !important;
}

#branding .branding-stage-panel .branding-demo-preview.layout-boxes .price-board.boxes-tile-board::after,
.theme-tv-preview.layout-boxes .price-board.boxes-tile-board::after,
.theme-tv-preview.layout-boxes:not(.opening-countdown):not(.opening-now):not(.event-scheduled):not(.event-closed):not(.market-opening):not(.market-crashing) .price-board.boxes-tile-board::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board.boxes-tile-board::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.opening-countdown):not(.opening-now):not(.market-opening):not(.market-crashing) .price-board.boxes-tile-board::after,
.branding-demo-preview.layout-boxes.event-open:not(.opening-countdown):not(.opening-now):not(.market-opening):not(.market-crashing) .price-board.boxes-tile-board::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: auto !important;
  bottom: clamp(-42px, -4vh, -24px) !important;
  z-index: 70 !important;
  display: block !important;
  height: 1px !important;
  background: linear-gradient(90deg, rgba(0, 184, 166, 0), rgba(0, 184, 166, 0.72) 18%, rgba(0, 184, 166, 0.72) 82%, rgba(0, 184, 166, 0)) !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-shadow: none !important;
}

.theme-tv-preview.layout-boxes.event-open .board-title,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .board-title,
.branding-demo-preview.layout-boxes.event-open .board-title {
  top: clamp(26px, 3vh, 40px) !important;
  left: clamp(40px, 3.6vw, 72px) !important;
  width: min(48vw, 860px) !important;
  max-width: min(48vw, 860px) !important;
  font-size: clamp(34px, 3vw, 58px) !important;
  line-height: 0.9 !important;
}

.theme-tv-preview.layout-boxes .price-board.boxes-tile-board,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board.boxes-tile-board,
.branding-demo-preview.layout-boxes .price-board.boxes-tile-board {
  top: clamp(154px, 15vh, 184px) !important;
  bottom: clamp(82px, 8.8vh, 112px) !important;
  gap: clamp(34px, 4.4vh, 54px) 0 !important;
}

.theme-tv-preview.layout-boxes .price-board.boxes-tile-board > .boxes-board-tile,
body.tv-display-body .public-fullscreen-preview.layout-boxes .price-board.boxes-tile-board > .boxes-board-tile,
.branding-demo-preview.layout-boxes .price-board.boxes-tile-board > .boxes-board-tile {
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%) !important;
  padding: clamp(24px, 3.2vh, 42px) clamp(12px, 1vw, 20px) clamp(24px, 3.1vh, 40px) !important;
}

.theme-tv-preview.layout-boxes .boxes-board-tile .boxes-drink-icon,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile .boxes-drink-icon,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-drink-icon {
  width: clamp(34px, 3.35vw, 62px) !important;
  height: clamp(44px, 5.6vh, 88px) !important;
}

.theme-tv-preview.layout-boxes .boxes-board-tile .boxes-product-name,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile .boxes-product-name,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-product-name {
  font-size: clamp(24px, 2.18vw, 42px) !important;
  line-height: 0.9 !important;
  max-width: 100% !important;
}

.theme-tv-preview.layout-boxes .boxes-board-tile .boxes-product-unit,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile .boxes-product-unit,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-product-unit {
  font-size: clamp(15px, 1.25vw, 24px) !important;
  margin-top: clamp(4px, 0.7vh, 10px) !important;
}

.theme-tv-preview.layout-boxes .boxes-board-tile .boxes-board-price,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile .boxes-board-price,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-board-price {
  font-size: clamp(42px, 4.05vw, 78px) !important;
  line-height: 0.82 !important;
  max-width: 100% !important;
}

.theme-tv-preview.layout-boxes .boxes-board-tile .boxes-board-price em,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile .boxes-board-price em,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-board-price em {
  font-size: clamp(18px, 1.65vw, 32px) !important;
  margin-top: clamp(7px, 0.8vh, 12px) !important;
}

/* Boxes scroller parity: use the real Bull Market top and bottom moving scrollers. */
.theme-tv-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker,
.branding-demo-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 90 !important;
  display: block !important;
  height: clamp(34px, 4vh, 48px) !important;
  min-height: 0 !important;
  padding: 10px 14px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: linear-gradient(90deg, var(--theme-accent-color, var(--green)), var(--theme-crash-color, var(--red))) !important;
  color: #fff !important;
}

.theme-tv-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker::before,
.theme-tv-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker::after,
.branding-demo-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker::before,
.branding-demo-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker::after {
  content: none !important;
  display: none !important;
}

.theme-tv-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker-track,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker-track,
.branding-demo-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker-track {
  position: static !important;
  display: inline-block !important;
  min-width: max-content !important;
  width: auto !important;
  max-width: none !important;
  padding-left: 100% !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-align: left !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
  animation: tickerScroll 18s linear infinite !important;
  transform: none !important;
}

.theme-tv-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker-track::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker-track::before,
.branding-demo-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker-track::before {
  content: none !important;
  display: none !important;
}

.theme-tv-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker-track::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker-track::after,
.branding-demo-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker-track::after {
  content: " " attr(data-repeat) !important;
  display: inline !important;
  padding-left: 48px !important;
}

.theme-tv-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-scroller,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-scroller,
.branding-demo-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-scroller {
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  z-index: 90 !important;
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 10px 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
  background:
    linear-gradient(90deg, rgba(40, 198, 79, 0.16), rgba(255, 32, 43, 0.14)),
    rgba(0, 0, 0, 0.72) !important;
  color: #fff !important;
}

.theme-tv-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-track,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-track,
.branding-demo-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-track {
  display: inline-block !important;
  min-width: max-content !important;
  width: auto !important;
  padding-left: 100% !important;
  color: #fff !important;
  font-size: 13px !important;
  line-height: 1 !important;
  letter-spacing: 0.04em !important;
  text-align: left !important;
  text-shadow: none !important;
  animation: instructionScroll 42s linear infinite !important;
  transform: none !important;
}

.theme-tv-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-track::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-track::before,
.branding-demo-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-track::before {
  content: none !important;
  display: none !important;
}

.theme-tv-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-track::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-track::after,
.branding-demo-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-track::after {
  content: "   -   " attr(data-repeat) !important;
  display: inline !important;
  float: none !important;
  padding-left: 0 !important;
  color: inherit !important;
}

.theme-tv-preview.layout-boxes.event-open .price-board.boxes-tile-board,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .price-board.boxes-tile-board,
.branding-demo-preview.layout-boxes.event-open .price-board.boxes-tile-board {
  top: clamp(148px, 14.3vh, 174px) !important;
  bottom: clamp(58px, 6.3vh, 82px) !important;
}

.theme-tv-preview.layout-boxes.event-open .price-board.boxes-tile-board::before,
.theme-tv-preview.layout-boxes.event-open .price-board.boxes-tile-board::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .price-board.boxes-tile-board::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .price-board.boxes-tile-board::after,
.branding-demo-preview.layout-boxes.event-open .price-board.boxes-tile-board::before,
.branding-demo-preview.layout-boxes.event-open .price-board.boxes-tile-board::after {
  content: none !important;
  display: none !important;
}

/* Boxes text/icon push: every item keeps an icon and names use more of the card. */
.theme-tv-preview.layout-boxes .boxes-board-tile .boxes-board-product,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile .boxes-board-product,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-board-product {
  justify-content: flex-start !important;
  gap: clamp(7px, 0.75vh, 12px) !important;
}

.theme-tv-preview.layout-boxes .boxes-board-tile .boxes-drink-icon,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile .boxes-drink-icon,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-drink-icon {
  display: block !important;
  flex: 0 0 auto !important;
  width: clamp(32px, 3.1vw, 58px) !important;
  height: clamp(40px, 5vh, 78px) !important;
  margin: 0 0 clamp(2px, 0.4vh, 6px) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.theme-tv-preview.layout-boxes .boxes-board-tile .boxes-product-name,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile .boxes-product-name,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-product-name {
  font-size: clamp(29px, 2.55vw, 50px) !important;
  line-height: 0.86 !important;
  white-space: normal !important;
  max-width: 104% !important;
}

.theme-tv-preview.layout-boxes .boxes-board-tile .boxes-product-unit,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-board-tile .boxes-product-unit,
.branding-demo-preview.layout-boxes .boxes-board-tile .boxes-product-unit {
  font-size: clamp(14px, 1.18vw, 22px) !important;
  margin-top: clamp(3px, 0.5vh, 8px) !important;
}

/* Boxes scroller spacing: keep Bull-style scrollers clear of the event title. */
.theme-tv-preview.layout-boxes.event-open .board-title,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .board-title,
.branding-demo-preview.layout-boxes.event-open .board-title {
  top: clamp(56px, 5.8vh, 72px) !important;
  left: clamp(40px, 3.6vw, 72px) !important;
  width: min(48vw, 860px) !important;
  max-width: min(48vw, 860px) !important;
  font-size: clamp(36px, 3.15vw, 62px) !important;
  line-height: 0.9 !important;
  overflow: visible !important;
}

.theme-tv-preview.layout-boxes.event-open .price-board.boxes-tile-board,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .price-board.boxes-tile-board,
.branding-demo-preview.layout-boxes.event-open .price-board.boxes-tile-board {
  top: clamp(174px, 16.4vh, 204px) !important;
  bottom: clamp(58px, 6.3vh, 82px) !important;
  gap: clamp(28px, 3.7vh, 46px) 0 !important;
}

.theme-tv-preview.layout-boxes.event-open .price-board.boxes-tile-board > .boxes-board-tile,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .price-board.boxes-tile-board > .boxes-board-tile,
.branding-demo-preview.layout-boxes.event-open .price-board.boxes-tile-board > .boxes-board-tile {
  padding-top: clamp(20px, 2.6vh, 34px) !important;
  padding-bottom: clamp(22px, 2.8vh, 36px) !important;
}

.theme-tv-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-name,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-name,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-name {
  font-size: clamp(30px, 2.62vw, 52px) !important;
  line-height: 0.85 !important;
}

/* Boxes reference pass: working scrollers and slimmer exchange-style product cards. */
.theme-tv-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker-track,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker-track,
.branding-demo-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker-track {
  position: static !important;
  display: inline-block !important;
  min-width: max-content !important;
  width: auto !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-inline: 0 !important;
  color: #fff !important;
  font-size: clamp(11px, 0.78vw, 15px) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0.04em !important;
  text-align: left !important;
  text-transform: uppercase !important;
  animation: tickerScroll 42s linear infinite !important;
  transform: translateX(0) !important;
  will-change: transform !important;
}

.theme-tv-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-track,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-track,
.branding-demo-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-track {
  position: static !important;
  display: inline-block !important;
  min-width: max-content !important;
  width: auto !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-inline: 0 !important;
  color: #fff !important;
  font-size: clamp(12px, 0.9vw, 17px) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0.03em !important;
  text-align: left !important;
  animation: instructionScroll 52s linear infinite !important;
  transform: translateX(0) !important;
  will-change: transform !important;
}

.theme-tv-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker,
.branding-demo-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker {
  right: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  height: clamp(30px, 3.3vh, 40px) !important;
  padding: clamp(7px, 0.82vh, 10px) 0 !important;
  background: linear-gradient(90deg, #28c64f 0%, #b88a20 50%, #ff202b 100%) !important;
}

.theme-tv-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-scroller,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-scroller,
.branding-demo-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-scroller {
  padding: clamp(8px, 0.95vh, 12px) 0 !important;
  background:
    linear-gradient(90deg, rgba(40, 198, 79, 0.18), rgba(255, 32, 43, 0.16)),
    rgba(0, 0, 0, 0.82) !important;
}

.theme-tv-preview.layout-boxes.event-open .board-title,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .board-title,
.branding-demo-preview.layout-boxes.event-open .board-title {
  top: clamp(50px, 5.1vh, 64px) !important;
  font-size: clamp(32px, 2.8vw, 54px) !important;
  line-height: 0.92 !important;
}

.theme-tv-preview.layout-boxes.event-open .price-board.boxes-tile-board,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .price-board.boxes-tile-board,
.branding-demo-preview.layout-boxes.event-open .price-board.boxes-tile-board {
  top: clamp(146px, 13.8vh, 172px) !important;
  right: clamp(12px, 1.2vw, 24px) !important;
  bottom: clamp(54px, 6vh, 76px) !important;
  left: clamp(12px, 1.2vw, 24px) !important;
  gap: clamp(18px, 2.4vh, 32px) 0 !important;
}

.theme-tv-preview.layout-boxes.event-open .price-board.boxes-tile-board > .boxes-board-tile,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .price-board.boxes-tile-board > .boxes-board-tile,
.branding-demo-preview.layout-boxes.event-open .price-board.boxes-tile-board > .boxes-board-tile {
  justify-content: flex-start !important;
  clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%) !important;
  border-right: clamp(5px, 0.58vw, 11px) solid #010202 !important;
  padding: clamp(18px, 2.35vh, 32px) clamp(8px, 0.8vw, 16px) clamp(20px, 2.65vh, 36px) !important;
  background:
    radial-gradient(circle at 52% 10%, rgba(255, 255, 255, 0.23), transparent 28%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.15), transparent 36%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.66)),
    var(--boxes-card-color, #222) !important;
}

.theme-tv-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-product,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-product,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-product {
  flex: 1 1 auto !important;
  justify-content: flex-start !important;
  gap: clamp(6px, 0.72vh, 12px) !important;
  min-height: 0 !important;
}

.theme-tv-preview.layout-boxes.event-open .boxes-board-tile .boxes-drink-icon,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile .boxes-drink-icon,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile .boxes-drink-icon {
  display: block !important;
  width: clamp(30px, 2.8vw, 54px) !important;
  height: clamp(42px, 5.2vh, 82px) !important;
  margin: 0 0 clamp(4px, 0.55vh, 8px) !important;
  color: rgba(255, 255, 255, 0.96) !important;
}

.theme-tv-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-name,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-name,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-name {
  font-size: clamp(24px, 2.05vw, 40px) !important;
  line-height: 0.92 !important;
  max-width: 100% !important;
  white-space: normal !important;
  text-wrap: balance !important;
}

.theme-tv-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-unit,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-unit,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-unit {
  font-size: clamp(14px, 1.25vw, 24px) !important;
  line-height: 1 !important;
  margin-top: clamp(2px, 0.4vh, 6px) !important;
}

.theme-tv-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price {
  flex: 0 0 auto !important;
  justify-content: flex-end !important;
  font-size: clamp(42px, 3.85vw, 74px) !important;
  line-height: 0.82 !important;
  padding-top: clamp(8px, 1vh, 16px) !important;
}

.theme-tv-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price em,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price em,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price em {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(4px, 0.4vw, 8px) !important;
  margin-top: clamp(7px, 0.82vh, 12px) !important;
  font-size: clamp(18px, 1.6vw, 30px) !important;
}

.theme-tv-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price em::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price em::before,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price em::before {
  content: "" !important;
  display: inline-block !important;
  width: 0 !important;
  height: 0 !important;
  border-left: clamp(6px, 0.52vw, 10px) solid transparent !important;
  border-right: clamp(6px, 0.52vw, 10px) solid transparent !important;
  border-bottom: clamp(10px, 0.85vw, 16px) solid #72d890 !important;
}

.theme-tv-preview.layout-boxes.event-open .boxes-board-tile.price-down .boxes-board-price em::before,
.theme-tv-preview.layout-boxes.event-open .boxes-board-tile.price-crashed .boxes-board-price em::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile.price-down .boxes-board-price em::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile.price-crashed .boxes-board-price em::before,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile.price-down .boxes-board-price em::before,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile.price-crashed .boxes-board-price em::before {
  border-bottom: 0 !important;
  border-top: clamp(10px, 0.85vw, 16px) solid #ff3030 !important;
}

.theme-tv-preview.layout-boxes.event-open .boxes-board-tile.price-flat .boxes-board-price em::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile.price-flat .boxes-board-price em::before,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile.price-flat .boxes-board-price em::before {
  content: none !important;
  display: none !important;
}

.theme-tv-preview .price-board .price-flat em::before,
body.tv-display-body .public-fullscreen-preview .price-board .price-flat em::before,
.public-fullscreen-preview .price-board .price-flat em::before,
.branding-demo-preview .price-board .price-flat em::before {
  content: none !important;
  display: none !important;
}

/* Boxes scroller legibility fix: centre the moving tracks inside the Bull-style bars. */
.theme-tv-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker,
.branding-demo-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker {
  display: flex !important;
  align-items: center !important;
  height: clamp(34px, 3.8vh, 46px) !important;
  padding: 0 !important;
}

.theme-tv-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker-track,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker-track,
.branding-demo-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker-track {
  flex: 0 0 auto !important;
  font-size: clamp(12px, 0.86vw, 16px) !important;
  line-height: 1 !important;
  transform: none !important;
}

.theme-tv-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-scroller,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-scroller,
.branding-demo-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-scroller {
  display: flex !important;
  align-items: center !important;
  min-height: clamp(34px, 3.8vh, 46px) !important;
  padding: 0 !important;
}

.theme-tv-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-track,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-track,
.branding-demo-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-track {
  flex: 0 0 auto !important;
  font-size: clamp(11px, 0.82vw, 16px) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  transform: none !important;
}

/* Boxes scroller repeat fix: repeated ticker/instruction copies must match the live track size. */
.theme-tv-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker-track::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker-track::after,
.branding-demo-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker-track::after,
.theme-tv-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-track::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-track::after,
.branding-demo-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-track::after {
  float: none !important;
  display: inline !important;
  color: inherit !important;
  font: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  text-transform: inherit !important;
  text-shadow: inherit !important;
}

/* Boxes hard correction: no footer/date/site, centred opening, moving scrollers, reference-scale tiles. */
.theme-tv-preview.layout-boxes .stage-footer,
body.tv-display-body .public-fullscreen-preview.layout-boxes .stage-footer,
.branding-demo-preview.layout-boxes .stage-footer,
.theme-tv-preview.layout-boxes .stage-footer::before,
.theme-tv-preview.layout-boxes .stage-footer::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .stage-footer::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .stage-footer::after,
.branding-demo-preview.layout-boxes .stage-footer::before,
.branding-demo-preview.layout-boxes .stage-footer::after {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  content: none !important;
}

.theme-tv-preview.layout-boxes.opening-countdown .board-title,
.theme-tv-preview.layout-boxes.opening-now .board-title,
body.tv-display-body .public-fullscreen-preview.layout-boxes.opening-countdown .board-title,
body.tv-display-body .public-fullscreen-preview.layout-boxes.opening-now .board-title,
.branding-demo-preview.layout-boxes.opening-countdown .board-title,
.branding-demo-preview.layout-boxes.opening-now .board-title {
  left: 50% !important;
  right: auto !important;
  top: clamp(42px, 7.4vh, 96px) !important;
  width: min(90vw, 1280px) !important;
  max-width: 90vw !important;
  transform: translateX(-50%) !important;
  text-align: center !important;
  overflow: visible !important;
}

.theme-tv-preview.layout-boxes.opening-countdown .board-title::before,
.theme-tv-preview.layout-boxes.opening-now .board-title::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes.opening-countdown .board-title::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes.opening-now .board-title::before,
.branding-demo-preview.layout-boxes.opening-countdown .board-title::before,
.branding-demo-preview.layout-boxes.opening-now .board-title::before {
  font-size: clamp(72px, 9vw, 170px) !important;
  line-height: 0.88 !important;
  text-align: center !important;
}

.tv-performance-mode .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker-track,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker-track,
.theme-tv-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker-track,
.branding-demo-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker-track {
  animation-name: boxesTickerScroll !important;
  animation-duration: 24s !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
  animation-play-state: running !important;
  transform: translateX(100vw);
}

.tv-performance-mode .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-track,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-track,
.theme-tv-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-track,
.branding-demo-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-track {
  animation-name: boxesInstructionScroll !important;
  animation-duration: 34s !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
  animation-play-state: running !important;
  transform: translateX(100vw);
}

@keyframes boxesTickerScroll {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}

@keyframes boxesInstructionScroll {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}

.theme-tv-preview.layout-boxes.event-open .board-title,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .board-title,
.branding-demo-preview.layout-boxes.event-open .board-title {
  top: clamp(44px, 4.8vh, 58px) !important;
  left: clamp(30px, 3vw, 58px) !important;
  width: min(40vw, 720px) !important;
  max-width: min(40vw, 720px) !important;
  font-size: clamp(34px, 3.1vw, 62px) !important;
  line-height: 0.9 !important;
}

.theme-tv-preview.layout-boxes.event-open .price-board.boxes-tile-board,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .price-board.boxes-tile-board,
.branding-demo-preview.layout-boxes.event-open .price-board.boxes-tile-board {
  top: clamp(112px, 11.8vh, 142px) !important;
  right: clamp(8px, 0.8vw, 16px) !important;
  bottom: clamp(46px, 5.2vh, 64px) !important;
  left: clamp(8px, 0.8vw, 16px) !important;
  gap: clamp(18px, 2.6vh, 34px) 0 !important;
}

.theme-tv-preview.layout-boxes.event-open .price-board.boxes-tile-board > .boxes-board-tile,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .price-board.boxes-tile-board > .boxes-board-tile,
.branding-demo-preview.layout-boxes.event-open .price-board.boxes-tile-board > .boxes-board-tile {
  padding: clamp(18px, 2.7vh, 38px) clamp(7px, 0.72vw, 14px) clamp(20px, 3vh, 42px) !important;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%) !important;
}

.theme-tv-preview.layout-boxes.event-open .boxes-board-tile .boxes-drink-icon,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile .boxes-drink-icon,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile .boxes-drink-icon {
  width: clamp(38px, 3.8vw, 78px) !important;
  height: clamp(50px, 6.5vh, 108px) !important;
  margin-bottom: clamp(7px, 1vh, 14px) !important;
}

.theme-tv-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-name,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-name,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-name {
  font-size: clamp(31px, 2.75vw, 58px) !important;
  line-height: 0.9 !important;
  max-width: 112% !important;
}

.theme-tv-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-unit,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-unit,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-unit {
  font-size: clamp(17px, 1.55vw, 32px) !important;
}

.theme-tv-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price {
  font-size: clamp(48px, 4.7vw, 96px) !important;
}

.theme-tv-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price em,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price em,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price em {
  font-size: clamp(19px, 1.75vw, 36px) !important;
}

/* Boxes hard correction follow-up: title/card separation and no price clipping. */
.theme-tv-preview.layout-boxes.event-open .board-title,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .board-title,
.branding-demo-preview.layout-boxes.event-open .board-title {
  top: clamp(48px, 5vh, 62px) !important;
  left: clamp(34px, 3.2vw, 64px) !important;
  width: min(44vw, 780px) !important;
  max-width: min(44vw, 780px) !important;
  font-size: clamp(34px, 3vw, 58px) !important;
  line-height: 0.9 !important;
}

.theme-tv-preview.layout-boxes.event-open .price-board.boxes-tile-board,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .price-board.boxes-tile-board,
.branding-demo-preview.layout-boxes.event-open .price-board.boxes-tile-board {
  top: clamp(166px, 16vh, 196px) !important;
  left: clamp(28px, 2.4vw, 48px) !important;
  right: clamp(18px, 1.8vw, 36px) !important;
  bottom: clamp(52px, 5.8vh, 74px) !important;
}

.theme-tv-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-name,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-name,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-name {
  font-size: clamp(32px, 2.85vw, 60px) !important;
  line-height: 0.88 !important;
}

.theme-tv-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price {
  font-size: clamp(48px, 4.25vw, 82px) !important;
  line-height: 0.82 !important;
}

/* Boxes reference typography: tall condensed text, larger without horizontal clipping. */
.theme-tv-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-name,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-name,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-name {
  width: 122% !important;
  max-width: 122% !important;
  font-size: clamp(31px, 2.8vw, 58px) !important;
  line-height: 0.86 !important;
  transform: scaleX(0.78) !important;
  transform-origin: center center !important;
}

.theme-tv-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price {
  width: 122% !important;
  max-width: 122% !important;
  font-size: clamp(50px, 4.65vw, 92px) !important;
  transform: scaleX(0.82) !important;
  transform-origin: center center !important;
}

.theme-tv-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price em,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price em,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price em {
  transform: scaleX(1.08) !important;
}

/* Boxes opening/scheduled states: remove legacy bottom date/site/footer completely. */
.theme-tv-preview.layout-boxes.opening-countdown .stage-footer,
.theme-tv-preview.layout-boxes.opening-now .stage-footer,
.theme-tv-preview.layout-boxes.event-scheduled .stage-footer,
body.tv-display-body .public-fullscreen-preview.layout-boxes.opening-countdown .stage-footer,
body.tv-display-body .public-fullscreen-preview.layout-boxes.opening-now .stage-footer,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-scheduled .stage-footer,
.theme-tv-preview.layout-boxes.opening-countdown .instruction-scroller,
.theme-tv-preview.layout-boxes.opening-now .instruction-scroller,
.theme-tv-preview.layout-boxes.event-scheduled .instruction-scroller,
body.tv-display-body .public-fullscreen-preview.layout-boxes.opening-countdown .instruction-scroller,
body.tv-display-body .public-fullscreen-preview.layout-boxes.opening-now .instruction-scroller,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-scheduled .instruction-scroller {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Boxes final hard override: real moving scrollers, SVG line icons, cleaner card geometry. */
.theme-tv-preview.layout-boxes .boxes-drink-icon,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-drink-icon,
.branding-demo-preview.layout-boxes .boxes-drink-icon {
  display: block !important;
  flex: 0 0 auto !important;
  width: clamp(42px, 4.2vw, 86px) !important;
  height: clamp(54px, 6.8vh, 116px) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.theme-tv-preview.layout-boxes .boxes-drink-icon::before,
.theme-tv-preview.layout-boxes .boxes-drink-icon::after,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-drink-icon::before,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-drink-icon::after,
.branding-demo-preview.layout-boxes .boxes-drink-icon::before,
.branding-demo-preview.layout-boxes .boxes-drink-icon::after {
  content: none !important;
  display: none !important;
}

.theme-tv-preview.layout-boxes .boxes-icon-pint,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-icon-pint,
.branding-demo-preview.layout-boxes .boxes-icon-pint {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 96' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 9h28l-4 78H22L18 9Z'/%3E%3Cpath d='M21 24c8-5 22-5 31 0'/%3E%3Cpath d='M24 15h16'/%3E%3C/g%3E%3C/svg%3E") !important;
}

.theme-tv-preview.layout-boxes .boxes-icon-bottle,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-icon-bottle,
.branding-demo-preview.layout-boxes .boxes-icon-bottle {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 96' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M27 8h10v18l9 12v48H18V38l9-12V8Z'/%3E%3Cpath d='M26 8h12'/%3E%3Cpath d='M20 56h24'/%3E%3C/g%3E%3C/svg%3E") !important;
}

.theme-tv-preview.layout-boxes .boxes-icon-tumbler,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-icon-tumbler,
.branding-demo-preview.layout-boxes .boxes-icon-tumbler {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 96' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 25h34l-7 58H23L16 25Z'/%3E%3Cpath d='M25 45c6-4 14-4 21 0'/%3E%3Cpath d='M45 23c0-8 4-12 10-12'/%3E%3C/g%3E%3C/svg%3E") !important;
}

.theme-tv-preview.layout-boxes .boxes-icon-can,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-icon-can,
.branding-demo-preview.layout-boxes .boxes-icon-can {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 96' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11h28l-4 74H17l4-74Z'/%3E%3Cpath d='M22 20h26'/%3E%3Cpath d='M18 77h27'/%3E%3Cpath d='M25 66l17-34'/%3E%3C/g%3E%3C/svg%3E") !important;
}

.theme-tv-preview.layout-boxes .boxes-icon-wine,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-icon-wine,
.branding-demo-preview.layout-boxes .boxes-icon-wine {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 96' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 10h26v18c0 13-7 22-13 22s-13-9-13-22V10Z'/%3E%3Cpath d='M32 50v31'/%3E%3Cpath d='M21 84h22'/%3E%3Cpath d='M21 29h22'/%3E%3C/g%3E%3C/svg%3E") !important;
}

.theme-tv-preview.layout-boxes .boxes-icon-glass,
body.tv-display-body .public-fullscreen-preview.layout-boxes .boxes-icon-glass,
.branding-demo-preview.layout-boxes .boxes-icon-glass {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 96' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 20h34l-7 60H23L16 20Z'/%3E%3Cpath d='M22 39h23'/%3E%3C/g%3E%3C/svg%3E") !important;
}

.tv-performance-mode .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker-track,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker-track,
.theme-tv-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker-track,
.branding-demo-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .ticker-track {
  transform: none !important;
  translate: none !important;
  margin-left: 0 !important;
  animation: boxesTickerMarquee 18s linear infinite !important;
  animation-play-state: running !important;
  will-change: margin-left !important;
}

.tv-performance-mode .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-track,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-track,
.theme-tv-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-track,
.branding-demo-preview.layout-boxes.event-open:not(.market-crashing):not(.crash-imminent):not(.market-opening) .instruction-track {
  transform: none !important;
  translate: none !important;
  margin-left: 0 !important;
  animation: boxesInstructionMarquee 22s linear infinite !important;
  animation-play-state: running !important;
  will-change: margin-left !important;
}

@keyframes boxesTickerMarquee {
  from { margin-left: 0; }
  to { margin-left: -50%; }
}

@keyframes boxesInstructionMarquee {
  from { margin-left: 0; }
  to { margin-left: -50%; }
}

.theme-tv-preview.layout-boxes.event-open .price-board.boxes-tile-board > .boxes-board-tile,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .price-board.boxes-tile-board > .boxes-board-tile,
.branding-demo-preview.layout-boxes.event-open .price-board.boxes-tile-board > .boxes-board-tile {
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%) !important;
  border-right: clamp(6px, 0.7vw, 14px) solid #010202 !important;
  border-radius: 0 !important;
}

.theme-tv-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-name,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-name,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-name {
  width: 136% !important;
  max-width: 136% !important;
  font-size: clamp(35px, 3.25vw, 68px) !important;
  line-height: 0.84 !important;
  transform: scaleX(0.68) !important;
}

.theme-tv-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-unit,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-unit,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-unit {
  font-size: clamp(18px, 1.7vw, 34px) !important;
}

/* Boxes final stack correction: large readable names without unit overlap. */
.theme-tv-preview.layout-boxes.event-open .price-board.boxes-tile-board > .boxes-board-tile,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .price-board.boxes-tile-board > .boxes-board-tile,
.branding-demo-preview.layout-boxes.event-open .price-board.boxes-tile-board > .boxes-board-tile {
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%) !important;
  padding: clamp(22px, 3vh, 42px) clamp(8px, 0.75vw, 14px) clamp(24px, 3.2vh, 46px) !important;
}

.theme-tv-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-product,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-product,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-product {
  flex: 1 1 auto !important;
  display: grid !important;
  grid-template-rows: clamp(50px, 6.2vh, 100px) minmax(clamp(54px, 7vh, 120px), auto) clamp(22px, 2.8vh, 42px) !important;
  align-items: center !important;
  justify-items: center !important;
  gap: clamp(5px, 0.8vh, 12px) !important;
  min-height: 0 !important;
}

.theme-tv-preview.layout-boxes.event-open .boxes-board-tile .boxes-drink-icon,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile .boxes-drink-icon,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile .boxes-drink-icon {
  grid-row: 1 !important;
  align-self: end !important;
  width: clamp(36px, 3.7vw, 74px) !important;
  height: clamp(46px, 5.9vh, 96px) !important;
  margin: 0 !important;
}

.theme-tv-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-name,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-name,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-name {
  grid-row: 2 !important;
  align-self: center !important;
  width: 138% !important;
  max-width: 138% !important;
  font-size: clamp(30px, 2.85vw, 58px) !important;
  line-height: 0.88 !important;
  transform: scaleX(0.72) !important;
  transform-origin: center center !important;
}

.theme-tv-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-unit,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-unit,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile .boxes-product-unit {
  grid-row: 3 !important;
  align-self: start !important;
  margin: 0 !important;
  font-size: clamp(15px, 1.35vw, 26px) !important;
  line-height: 1 !important;
}

.theme-tv-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price,
body.tv-display-body .public-fullscreen-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price,
.branding-demo-preview.layout-boxes.event-open .boxes-board-tile .boxes-board-price {
  flex: 0 0 auto !important;
  width: 126% !important;
  max-width: 126% !important;
  font-size: clamp(48px, 4.5vw, 88px) !important;
  transform: scaleX(0.82) !important;
  transform-origin: center center !important;
}

.branding-studio-status strong {
  overflow: hidden;
  color: rgba(248, 251, 250, 0.86);
  font-size: 13px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.branding-experience-builder {
  grid-template-columns: minmax(620px, 1fr) minmax(330px, 0.42fr);
  grid-template-areas:
    "presets presets"
    "preview controls";
  gap: 16px;
}

.branding-experience-builder .theme-presets-panel {
  grid-area: presets;
}

.branding-experience-builder .branding-preview-hero {
  grid-area: preview;
}

.branding-experience-builder .branding-control-panel {
  grid-area: controls;
}

#branding .panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 34%),
    rgba(4, 9, 9, 0.94);
}

#branding .panel h2 {
  margin: 0;
  color: #fff;
  text-decoration: none;
}

.branding-preview-toolbar {
  display: block;
  margin-bottom: 16px;
}

.branding-preview-toolbar .section-kicker {
  color: var(--green);
}

.branding-preview-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.branding-preview-meta span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(248, 251, 250, 0.72);
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.branding-preview-hero {
  top: 12px;
  padding: 18px;
}

.branding-preview-hero .theme-tv-preview {
  width: min(1180px, 96%);
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  margin: 18px auto 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.42),
    0 0 0 10px rgba(0, 0, 0, 0.22),
    inset 0 0 120px rgba(0, 0, 0, 0.42);
}

.branding-preview-hero .theme-screen-settings,
.branding-preview-hero .branding-preview-meta,
.branding-preview-hero .theme-screen-logo {
  display: none;
}

.branding-preview-hero .jam-insider-hidden .cheapest-callout,
.branding-preview-hero .jam-insider-hidden .market-signal-panel {
  display: none;
}

.branding-preview-hero .public-fullscreen-preview {
  width: min(1180px, 96%);
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.branding-preview-hero .public-fullscreen-preview .ticker {
  padding: 6px 10px;
  font-size: clamp(8px, 0.62vw, 10px);
}

.branding-preview-hero .public-fullscreen-preview .board-title {
  padding: 20px 24px 9px;
  font-size: clamp(24px, calc(var(--theme-heading-size) * 0.56), 58px);
  max-width: 100%;
}

.branding-preview-hero .public-fullscreen-preview .price-board {
  width: calc(100% - 48px);
  margin: 0 24px 72px;
}

.branding-preview-hero .theme-tv-preview .board-title {
  padding: 20px 24px 9px;
  font-size: clamp(24px, calc(var(--theme-heading-size) * 0.56), 58px);
  letter-spacing: 0.065em;
}

.branding-preview-hero .theme-tv-preview .price-board {
  width: calc(100% - 48px);
  margin: 0 24px 72px;
}

.branding-preview-hero .theme-tv-preview .price-board span,
.branding-preview-hero .theme-tv-preview .price-board strong,
.branding-preview-hero .theme-tv-preview.theme-preset-nightclub .price-board span,
.branding-preview-hero .theme-tv-preview.theme-preset-nightclub .price-board strong,
.branding-preview-hero .theme-tv-preview.theme-preset-sports .price-board span,
.branding-preview-hero .theme-tv-preview.theme-preset-sports .price-board strong,
.branding-preview-hero .theme-tv-preview.theme-preset-contrast .price-board span,
.branding-preview-hero .theme-tv-preview.theme-preset-contrast .price-board strong {
  padding: 5px 9px;
  min-height: calc(var(--theme-row-height) * 0.3);
  font-size: clamp(10px, calc(var(--theme-price-size) * 0.3), 22px);
}

.branding-preview-hero .public-fullscreen-preview .price-board span,
.branding-preview-hero .public-fullscreen-preview .price-board strong,
.branding-preview-hero .theme-tv-preview .price-board span,
.branding-preview-hero .theme-tv-preview .price-board strong {
  min-height: calc(var(--theme-row-height) * 0.44);
  padding-block: calc(var(--theme-row-height) * 0.07);
  align-items: center;
}

.branding-preview-hero .theme-tv-preview .theme-screen-logo {
  top: 52px;
  max-height: 72px;
}

.theme-tv-preview .traders-board {
  position: absolute;
  inset: 0;
  display: none;
  grid-template-rows: minmax(62px, 13%) minmax(0, 1fr) minmax(54px, 10%) minmax(38px, 7%);
  gap: 10px;
  padding: 14px 18px 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 18%),
    radial-gradient(circle at 8% 98%, rgba(88, 215, 44, 0.28), transparent 18%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 22px),
    #03080b;
  color: #f8faf8;
  font-family: "Arial Black", Impact, Arial, sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  overflow: hidden;
}

.theme-tv-preview.theme-preset-traders .traders-board {
  display: grid;
}

.theme-tv-preview.theme-preset-traders .ticker,
.theme-tv-preview.theme-preset-traders .board-title,
.theme-tv-preview.theme-preset-traders .price-board,
.theme-tv-preview.theme-preset-traders .crash-countdown,
.theme-tv-preview.theme-preset-traders .cheapest-callout,
.theme-tv-preview.theme-preset-traders .cheapest-takeover,
.theme-tv-preview.theme-preset-traders .market-signal-panel,
.theme-tv-preview.theme-preset-traders .market-mover-spotlight,
.theme-tv-preview.theme-preset-traders .instruction-scroller {
  display: none;
}

.theme-tv-preview.theme-preset-traders.event-closed .traders-board,
.theme-tv-preview.theme-preset-traders.event-scheduled .traders-board {
  display: none;
}

.theme-tv-preview.theme-preset-traders.event-closed .board-title {
  display: flex;
}

.theme-tv-preview.theme-preset-traders.event-scheduled .board-title,
.theme-tv-preview.theme-preset-traders.event-scheduled .market-open-countdown {
  display: grid;
}

.traders-topbar,
.traders-content-grid,
.traders-metrics,
.traders-ticker {
  min-width: 0;
}

.traders-topbar {
  display: grid;
  grid-template-columns: minmax(170px, 25%) minmax(180px, 1fr) minmax(128px, 14%) minmax(170px, 22%);
  gap: 10px;
  align-items: stretch;
  min-height: 0;
}

.traders-logo-lockup {
  display: flex;
  align-items: center;
  gap: 5%;
  min-width: 0;
}

.traders-logo-lockup .theme-screen-logo {
  position: static;
  display: none;
  max-width: 100%;
  max-height: 82%;
  object-fit: contain;
}

.traders-logo-lockup .theme-screen-logo[src] {
  display: block;
}

.traders-logo-lockup .theme-screen-logo[src] + .trader-logo-fallback {
  display: none;
}

.trader-logo-fallback {
  display: grid;
  grid-template-columns: auto 1px auto;
  gap: 8%;
  align-items: center;
  color: #fff;
}

.trader-logo-fallback::after {
  content: "";
  width: 1px;
  height: 72%;
  background: rgba(248, 250, 248, 0.82);
}

.trader-logo-fallback b {
  color: #fff;
  font-size: clamp(28px, 3.6cqw, 46px);
  font-style: italic;
  line-height: 0.8;
}

.trader-logo-fallback span {
  color: #f7f7f7;
  font-size: clamp(12px, 1.35cqw, 20px);
  line-height: 0.96;
}

.upload-logo-fallback {
  grid-template-columns: 1fr;
  gap: 2px;
  width: min(100%, 190px);
  min-height: 54px;
  justify-items: center;
  border: 1px dashed rgba(88, 215, 44, 0.62);
  border-radius: 4px;
  background: rgba(88, 215, 44, 0.06);
  padding: 8px 10px;
  text-align: center;
}

.upload-logo-fallback::after {
  display: none;
}

.upload-logo-fallback b,
.upload-logo-fallback span {
  color: #f8faf8;
  font-size: clamp(12px, 1.42cqw, 18px);
  font-style: normal;
  line-height: 0.96;
}

.traders-market-status,
.traders-clock,
.traders-crash-box,
.traders-panel,
.traders-news,
.traders-metrics span {
  border: 1px solid rgba(180, 205, 215, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(0, 0, 0, 0.28));
  box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.42);
}

.traders-market-status {
  display: grid;
  place-items: center;
  text-align: center;
  border: 0;
  background: transparent;
}

.traders-market-status strong {
  color: #58d72c;
  font-size: clamp(36px, 5.2cqw, 72px);
  font-style: italic;
  line-height: 0.95;
  text-shadow: 0 0 22px rgba(88, 215, 44, 0.38);
}

.traders-market-status span {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(11px, 1.25cqw, 18px);
  font-style: italic;
  letter-spacing: 0.12em;
}

.traders-clock,
.traders-crash-box {
  display: grid;
  place-items: center;
  text-align: center;
}

.traders-clock strong {
  font-size: clamp(28px, 3.5cqw, 50px);
}

.traders-clock span,
.traders-crash-box span {
  font-size: clamp(10px, 1.1cqw, 16px);
}

.traders-crash-box {
  border-color: rgba(255, 48, 48, 0.48);
  color: #ff3030;
}

.traders-crash-box strong {
  font-size: clamp(28px, 3.5cqw, 50px);
  line-height: 0.9;
}

.traders-crash-box b {
  width: 80%;
  height: 40%;
  background:
    linear-gradient(135deg, transparent 0 15%, rgba(255, 48, 48, 0.9) 16% 18%, transparent 19% 30%, rgba(255, 48, 48, 0.9) 31% 34%, transparent 35%),
    repeating-linear-gradient(90deg, rgba(255, 48, 48, 0.22) 0 1px, transparent 1px 12px);
}

.traders-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 72%) minmax(260px, 1fr);
  gap: 10px;
  min-height: 0;
}

.traders-table,
.traders-side {
  min-height: 0;
}

.traders-table {
  --traders-row-height: clamp(39px, 4.35cqw, 62px);
  display: grid;
  grid-template-rows: 38px minmax(0, 1fr);
  border: 1px solid rgba(180, 205, 215, 0.34);
  overflow: hidden;
}

.traders-row-list {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: visible;
  will-change: transform;
}

.traders-table.is-scrolling .traders-row-list {
  animation: tradersListScroll 68s linear infinite;
}

.traders-row {
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(92px, 16%) minmax(86px, 15%) minmax(120px, 25%);
  align-items: center;
  flex: 0 0 var(--traders-row-height);
  min-width: 0;
  border-bottom: 1px solid rgba(180, 205, 215, 0.24);
  background: rgba(3, 8, 11, 0.72);
}

.traders-head {
  flex-basis: auto;
  min-height: 38px;
}

.traders-row > * {
  min-width: 0;
  padding: 0 12px;
}

.traders-row span {
  overflow: hidden;
  font-size: clamp(18px, 2.15cqw, 34px);
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.traders-row span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.traders-row b {
  color: rgba(255, 255, 255, 0.62);
}

.traders-head span {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(11px, 1.05cqw, 16px);
}

.traders-row.up span:nth-child(3) {
  color: #58d72c;
}

.traders-row.down span:nth-child(3) {
  color: #ff3030;
}

.traders-row.crashed {
  border-color: rgba(255, 48, 48, 0.82);
  background:
    linear-gradient(90deg, rgba(255, 48, 48, 0.84), rgba(95, 0, 5, 0.76) 52%, rgba(255, 48, 48, 0.7)),
    rgba(80, 0, 5, 0.9);
  box-shadow:
    inset 0 0 28px rgba(255, 255, 255, 0.16),
    0 0 30px rgba(255, 48, 48, 0.48);
  animation: tradersCrashRowFlash 0.62s steps(2, end) infinite;
}

.traders-row.crashed span,
.traders-row.crashed b {
  color: #fff !important;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.78),
    0 0 18px rgba(255, 255, 255, 0.82);
}

.traders-row.crashed .traders-price-cell,
.traders-row.crashed span:nth-child(3),
.traders-row.crashed i {
  color: #fff !important;
}

.traders-row i {
  display: block;
  width: 92%;
  height: 52%;
  border: 0;
  background:
    linear-gradient(140deg, transparent 0 18%, currentColor 19% 22%, transparent 23% 34%, currentColor 35% 38%, transparent 39% 52%, currentColor 53% 56%, transparent 57%),
    linear-gradient(180deg, color-mix(in srgb, currentColor 28%, transparent), transparent);
  color: #58d72c;
}

.traders-row.down i {
  color: #ff3030;
  transform: scaleY(-1);
}

.traders-side {
  display: grid;
  grid-template-rows: minmax(0, 30%) minmax(0, 26%) minmax(0, 1fr);
  gap: 8px;
  overflow: hidden;
}

.traders-panel,
.traders-news,
.traders-movement {
  min-height: 0;
  overflow: hidden;
  padding: 8px 10px;
}

.traders-panel h3,
.traders-news h3 {
  margin: 0 0 5px;
  font-size: clamp(20px, 2.35cqw, 34px);
  font-style: italic;
  line-height: 1;
}

.traders-panel p {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  border-top: 1px solid rgba(180, 205, 215, 0.18);
  padding: 4px 0;
  font-size: clamp(14px, 1.5cqw, 22px);
  line-height: 1.05;
}

.traders-panel p span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.traders-panel.risers h3,
.traders-panel.risers b {
  color: #58d72c;
}

.traders-panel.fallers {
  border-color: rgba(255, 48, 48, 0.42);
  background: linear-gradient(180deg, rgba(255, 48, 48, 0.18), rgba(0, 0, 0, 0.2));
}

.traders-panel.fallers h3,
.traders-panel.fallers b {
  color: #ff3030;
}

.traders-news {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 6px;
  border-color: rgba(255, 190, 0, 0.42);
}

.traders-news h3,
.traders-movement h3 {
  grid-column: 1 / -1;
  color: #ffc400;
}

.traders-news p,
.traders-movement p {
  margin: 0;
  color: #fff;
  font-size: clamp(14px, 1.45cqw, 21px);
  line-height: 1.16;
  overflow: hidden;
}

.traders-movement {
  display: grid;
  align-content: start;
  gap: 6px;
  border: 1px solid rgba(180, 205, 215, 0.34);
  background: linear-gradient(180deg, rgba(88, 215, 44, 0.08), rgba(0, 0, 0, 0.22));
}

.traders-news strong {
  display: grid;
  place-items: center;
  min-width: 0;
  border: 1px solid rgba(255, 190, 0, 0.38);
  color: #fff;
  font-size: clamp(8px, 0.85cqw, 11px);
  text-align: center;
  overflow: hidden;
}

.traders-news strong b {
  display: block;
  color: #58d72c;
  font-size: clamp(16px, 2.2cqw, 24px);
  white-space: nowrap;
}

.traders-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  min-height: 0;
}

.traders-metrics span {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(11px, 1.1cqw, 16px);
  text-align: center;
  min-width: 0;
  overflow: hidden;
}

.traders-metrics b {
  color: #58d72c;
  font-size: clamp(28px, 3.2cqw, 48px);
  line-height: 0.95;
}

.traders-metrics span:nth-child(4) b {
  color: #ffc400;
}

.traders-ticker {
  display: block;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(180, 205, 215, 0.26);
  background: rgba(0, 0, 0, 0.62);
  color: #58d72c;
  font-size: clamp(18px, 1.7cqw, 28px);
  line-height: 42px;
  white-space: nowrap;
}

.traders-ticker-track {
  display: inline-block;
  min-width: 100%;
  padding-left: 100%;
  animation: tickerScroll 42s linear infinite;
}

.traders-ticker-label,
.traders-ticker-item {
  display: inline-block;
  margin-right: 1.2em;
}

.traders-ticker-label::after,
.traders-ticker-item::after {
  content: "-";
  margin-left: 1.2em;
  color: rgba(255, 255, 255, 0.55);
}

.traders-ticker-item.up {
  color: #58d72c;
}

.traders-ticker-item.down {
  color: #ff3030;
  text-shadow: 0 0 18px rgba(255, 48, 48, 0.8);
}

.traders-ticker-item.flat {
  color: rgba(255, 255, 255, 0.86);
}

@keyframes tradersListScroll {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(calc(var(--traders-row-height, 48px) * var(--traders-row-count, 0) * -1));
  }
}

@keyframes tradersCrashRowFlash {
  0%,
  100% {
    filter: brightness(1.35) saturate(1.25);
    opacity: 1;
  }

  50% {
    filter: brightness(0.72) saturate(1.7);
    opacity: 0.78;
  }
}

.trader-logo-upload[hidden] {
  display: none !important;
}

@supports not (font-size: 1cqw) {
  .trader-logo-fallback b {
    font-size: clamp(24px, 2.3vw, 38px);
  }

  .trader-logo-fallback span {
    font-size: clamp(10px, 0.9vw, 16px);
  }

  .traders-market-status strong {
    font-size: clamp(28px, 3.15vw, 48px);
  }

  .traders-market-status span,
  .traders-clock span,
  .traders-crash-box span,
  .traders-head span,
  .traders-metrics span {
    font-size: clamp(8px, 0.78vw, 12px);
  }

  .traders-clock strong {
    font-size: clamp(18px, 1.9vw, 30px);
  }

  .traders-crash-box strong {
    font-size: clamp(22px, 2.35vw, 38px);
  }

  .traders-row span {
    font-size: clamp(11px, 1.05vw, 18px);
  }

  .traders-panel h3,
  .traders-news h3 {
    font-size: clamp(15px, 1.55vw, 22px);
  }

  .traders-panel p,
  .traders-news p,
  .traders-ticker {
    font-size: clamp(9px, 0.88vw, 13px);
  }

  .traders-news strong {
    font-size: clamp(8px, 0.7vw, 11px);
  }

  .traders-news strong b {
    font-size: clamp(16px, 1.75vw, 24px);
  }

  .traders-metrics b {
    font-size: clamp(18px, 2vw, 32px);
  }
}

.branding-state-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.branding-state-buttons button {
  width: 100%;
  min-height: 42px;
  border-radius: 8px;
}

#branding .theme-preset {
  grid-template-columns: 42px minmax(0, 1fr);
  border-radius: 8px;
  min-height: 88px;
  padding: 12px;
}

#branding .theme-preset-list {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  max-height: none;
  overflow: auto;
  padding: 2px 2px 4px;
}

#branding .theme-preset .preset-preview {
  width: 42px;
  height: 58px;
}

#branding .theme-preset small {
  font-size: 11px;
}

#branding .theme-preset em {
  font-size: 10px;
}

#branding .show-jam-toggle {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  margin: 0;
  color: rgba(248, 251, 250, 0.82);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#branding .show-jam-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--green-bright);
}

.branding-control-section {
  border-radius: 8px;
}

.branding-control-section summary span {
  border-radius: 8px;
}

#branding .branding-control-block {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(40, 198, 79, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  padding: 14px;
}

#branding .branding-control-block + .branding-control-block {
  margin-top: 12px;
}

#branding .branding-control-block.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.branding-output-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.branding-output-cards span {
  padding: 10px;
}

.branding-output-cards small {
  line-height: 1.3;
}

#branding .scroller-message-section {
  display: grid;
  gap: 14px;
}

#branding .scroller-message-section > label {
  margin: 0;
}

@media (max-width: 1320px) {
  .branding-experience-builder {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
    grid-template-areas:
      "presets presets"
      "preview controls";
  }

  .branding-preview-hero {
    position: relative;
    top: auto;
  }
}

@media (max-width: 900px) {
  .branding-studio-status,
  .branding-state-buttons,
  .branding-output-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .branding-experience-builder {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "presets"
      "preview"
      "controls";
  }

  .branding-preview-toolbar {
    display: grid;
  }

  .branding-preview-meta {
    justify-content: start;
  }
}

@media (max-width: 640px) {
  .branding-studio-status,
  .branding-state-buttons,
  .branding-output-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* TV Branding restoration guardrails from the June 14 working session. */
#branding .branding-preview-hero .theme-tv-preview {
  overflow: hidden !important;
  contain: layout paint;
}

#branding .branding-preview-hero .theme-preset-traders .crash-takeover,
#branding .branding-preview-hero .theme-preset-traders .market-open-countdown,
#branding .branding-preview-hero .theme-preset-traders .market-open-takeover,
#branding .branding-preview-hero .theme-preset-traders .crash-countdown {
  display: none !important;
}

#branding .traders-panel.fallers {
  display: none !important;
}

#branding .traders-side {
  grid-template-rows: minmax(0, 44%) minmax(0, 1fr);
}

#branding .traders-logo-lockup .theme-screen-logo:not([src]),
#branding .traders-logo-lockup .theme-screen-logo[src=""] {
  display: none !important;
}

@media (max-width: 1320px) {
  .training-help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .training-workflow-map {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .training-operator-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .training-player-launch,
  .training-guide-body {
    grid-template-columns: 1fr;
  }

  .training-academy-hero,
  .training-chapter-grid {
    grid-template-columns: 1fr;
  }

  .training-workflow-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .training-help-grid {
    grid-template-columns: 1fr;
  }

  .training-guide-modal {
    padding: 10px;
  }

  .training-guide-window {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
  }

  .training-guide-footer {
    flex-wrap: wrap;
  }

  .training-guide-footer .secondary-button,
  .training-guide-footer .primary-button {
    flex: 1 1 140px;
  }

  .training-guide-visual {
    min-height: 260px;
  }

  .training-workflow-map {
    grid-template-columns: 1fr;
  }

  .training-chapter-card summary {
    grid-template-columns: 1fr;
  }

  .training-video-frame {
    min-height: 220px;
  }
}
