:root {
  --tv-bg: #090b10;
  --tv-card: rgba(18, 24, 38, 0.85);
  --tv-card-border: rgba(255, 255, 255, 0.08);
  --tv-gold: #fbbf24;
  --tv-accent: #6366f1;
  --tv-veg: #10b981;
  --tv-nonveg: #ef4444;
  --tv-text-primary: #ffffff;
  --tv-text-secondary: #cbd5e1;
  --tv-text-muted: #94a3b8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
  background: #000000;
  color: var(--tv-text-primary);
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TV Frame / 16:9 Canvas Stage Host */
#tvCanvas {
  width: 100vw;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000000;
}

/* Top Progress Bar (Slide Duration Countdown) */
.slide-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, #6366f1, #a855f7, #fbbf24);
  width: 0%;
  z-index: 100;
  transition: width 0.1s linear;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SPLASH / PRELOADER SCREEN (Asset Pre-caching & Pre-buffering Engine)
   ───────────────────────────────────────────────────────────────────────────── */
.loading-screen {
  position: absolute;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #1e1b4b 0%, #080a0f 85%);
  padding: 40px;
  opacity: 1;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1);
}

.loading-screen.fade-out {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

.loading-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 680px;
  width: 90%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 48px 56px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 80px rgba(99, 102, 241, 0.15);
}

.loading-logo-box {
  position: relative;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(168, 85, 247, 0.2));
  border: 1px solid rgba(168, 85, 247, 0.4);
  margin-bottom: 24px;
  box-shadow: 0 0 35px rgba(99, 102, 241, 0.4);
}

.loading-logo-icon {
  font-size: 44px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.loading-logo-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 26px;
  border: 2px solid rgba(168, 85, 247, 0.5);
  animation: logo-ripple 2s infinite ease-out;
}

@keyframes logo-ripple {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.25); opacity: 0; }
}

.loading-app-title {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 6px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.loading-subtitle {
  font-size: 16px;
  color: var(--tv-text-secondary, #94a3b8);
  margin-bottom: 32px;
}

.loading-progress-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.loading-progress-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.loading-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #a855f7, #fbbf24);
  border-radius: 999px;
  transition: width 0.25s ease-out;
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.6);
}

.loading-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  font-weight: 700;
}

.loading-status-text {
  color: #cbd5e1;
  letter-spacing: 0.3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.loading-percent-text {
  color: #fbbf24;
  font-family: monospace;
  font-size: 15px;
  font-weight: 800;
}

.loading-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.loading-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #94a3b8;
  letter-spacing: 0.4px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   PAIRING SCREEN (Unpaired Setup State - Fully Adaptive for TV Viewports)
   ───────────────────────────────────────────────────────────────────────────── */
.pairing-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  box-sizing: border-box;
  text-align: center;
  background: radial-gradient(circle at center, #1e1b4b 0%, #090b10 80%);
  padding: clamp(6px, 1.8vh, 20px) clamp(16px, 3vw, 40px);
}

.pairing-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(6px, 1.4vh, 14px);
  flex-shrink: 0;
}

.pairing-logo {
  font-size: clamp(24px, 4.6vh, 44px);
  line-height: 1;
  margin-bottom: clamp(2px, 0.5vh, 6px);
  filter: drop-shadow(0 6px 16px rgba(99, 102, 241, 0.4));
}

.pairing-title {
  font-size: clamp(17px, 3.2vh, 30px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: clamp(2px, 0.4vh, 5px);
  color: #ffffff;
}

.pairing-sub {
  font-size: clamp(11px, 1.7vh, 14px);
  color: var(--tv-text-secondary);
  max-width: min(85vw, 640px);
  margin-bottom: 0;
  line-height: 1.3;
}

.pairing-dual-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(12px, 2.5vw, 36px);
  width: min(92vw, 880px);
  flex: 1;
  min-height: 0;
  max-height: clamp(230px, 66vh, 400px);
}

.pairing-card {
  flex: 1;
  min-width: 0;
  min-height: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: clamp(12px, 2vh, 20px);
  padding: clamp(8px, 1.6vh, 20px) clamp(14px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

.pairing-card.code-card {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 35px rgba(99, 102, 241, 0.12);
}

.pairing-card.qr-card {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.1);
}

.pairing-badge {
  font-size: clamp(8.5px, 1.2vh, 10.5px);
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: clamp(2px, 0.5vh, 5px) clamp(8px, 1vw, 12px);
  border-radius: 20px;
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.4);
  margin-bottom: clamp(2px, 0.6vh, 8px);
  flex-shrink: 0;
}

.pairing-badge.qr-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.4);
}

.pairing-code-label {
  font-size: clamp(8.5px, 1.2vh, 10.5px);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #a5b4fc;
  margin-bottom: 1px;
  font-weight: 700;
  flex-shrink: 0;
}

.pairing-code-value {
  font-size: clamp(30px, 6vh, 50px);
  font-weight: 900;
  letter-spacing: clamp(3px, 0.7vw, 6px);
  color: #ffffff;
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
  font-family: monospace;
  margin: clamp(2px, 0.5vh, 6px) 0 clamp(4px, 1vh, 12px) 0;
  line-height: 1.1;
  flex-shrink: 0;
}

.pairing-steps {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 1vh, 10px);
  align-items: flex-start;
  width: 100%;
  flex-shrink: 0;
}

.pairing-step {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 12px);
  font-size: clamp(10.5px, 1.5vh, 13.5px);
  color: var(--tv-text-secondary);
  line-height: 1.2;
  text-align: left;
}

.step-num {
  width: clamp(18px, 2.6vh, 24px);
  height: clamp(18px, 2.6vh, 24px);
  border-radius: 50%;
  background: var(--tv-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: clamp(9.5px, 1.3vh, 11.5px);
  flex-shrink: 0;
}

.code-highlight {
  color: #fbbf24;
  font-size: clamp(11.5px, 1.6vh, 15px);
  font-family: monospace;
}

/* Center Divider */
.pairing-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1vh, 10px);
  color: var(--tv-text-muted);
  font-size: clamp(9.5px, 1.3vh, 12px);
  font-weight: 800;
  letter-spacing: 1.5px;
  flex-shrink: 0;
}

.pairing-divider-line {
  width: 1px;
  flex: 1;
  max-height: clamp(30px, 8vh, 70px);
  background: rgba(255, 255, 255, 0.15);
}

/* QR Code Section */
.pairing-qr-wrapper {
  background: #ffffff;
  padding: clamp(5px, 0.9vh, 9px);
  border-radius: clamp(8px, 1.4vh, 14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: clamp(1px, 0.4vh, 4px) 0;
  flex-shrink: 1;
}

.pairing-qr-wrapper img {
  width: clamp(90px, 18vh, 160px);
  height: clamp(90px, 18vh, 160px);
  display: block;
  image-rendering: pixelated;
  object-fit: contain;
}

.pairing-qr-instructions {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  flex-shrink: 0;
}

.qr-action-title {
  font-weight: 800;
  font-size: clamp(10.5px, 1.6vh, 14px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.qr-action-sub {
  font-size: clamp(8.5px, 1.2vh, 11px);
  color: var(--tv-text-secondary);
  margin: clamp(1px, 0.3vh, 3px) 0 0 0;
  max-width: 250px;
  line-height: 1.25;
}

.pairing-url-hint {
  font-size: clamp(8px, 1.1vh, 10px);
  color: #38bdf8;
  margin-top: clamp(2px, 0.5vh, 5px);
  font-family: monospace;
  background: rgba(0, 0, 0, 0.4);
  padding: clamp(2px, 0.3vh, 4px) clamp(5px, 0.8vw, 8px);
  border-radius: 5px;
  word-break: break-all;
  max-width: 90%;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

/* ─────────────────────────────────────────────────────────────────────────────
   PLAYBACK SCREEN (Active Slide Loop)
   ───────────────────────────────────────────────────────────────────────────── */
.slide-container {
  width: 1920px;
  height: 1080px;
  /* fitTvStage() sizes the stage to the screen's shape (e.g. 1080×1728 on a portrait tablet) */
  position: relative;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  overflow: hidden;
  transform-origin: center center;
  box-sizing: border-box;
  background: var(--tv-bg, #080a0f);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.95);
}

/* TV Slide Header (Permanently hidden per user request for clean, non-distracting full-screen template playback) */
.tv-header {
  display: none !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.store-branding {
  display: flex;
  align-items: center;
  gap: 16px;
}

.store-logo-tv {
  font-size: 32px;
}

.store-title-tv {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.header-headline-banner {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--tv-gold);
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 8px 24px;
  border-radius: 40px;
  text-transform: uppercase;
}

.tv-clock {
  font-size: 24px;
  font-weight: 700;
  color: var(--tv-text-secondary);
  font-variant-numeric: tabular-nums;
}

#slideMount {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

/* Slide Content Bodies */
.slide-view {
  flex: 1;
  min-height: 0;
  height: 100%;
  width: 100%;
  position: relative;
  box-sizing: border-box;
  padding: 36px 52px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide-view.active {
  opacity: 1;
}

/* Dynamic Menu Grid (2 Columns Layout) */
/* Dynamic Menu Grid (2 Columns Layout - Fully Adaptive for Smart TV) */
.menu-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2vw, 32px);
  height: 100%;
  min-height: 0;
  flex: 1;
  overflow: hidden;
  box-sizing: border-box;
}

.menu-column {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.8vh, 10px);
  height: 100%;
  min-height: 0;
  overflow: visible;
}

.column-header {
  font-size: clamp(15px, 2.4vh, 21px);
  font-weight: 800;
  color: var(--tv-text-primary, #f8fafc);
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: clamp(3px, 0.5vh, 6px);
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  text-transform: uppercase;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.column-items-list {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.2vh, 14px);
  flex: 1;
  min-height: 0;
  justify-content: space-between;
  overflow: visible;
  padding-top: 10px;
}

/* Individual Food Item Card */
.food-card {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 16px);
  background: var(--tv-card);
  border: 1px solid var(--tv-card-border);
  border-radius: clamp(8px, 1.3vh, 14px);
  padding: clamp(4px, 0.9vh, 10px) clamp(10px, 1.2vw, 16px);
  position: relative;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  flex: 1;
  min-height: 0;
  box-sizing: border-box;
  overflow: visible;
}

.food-card.sold-out {
  opacity: 0.45;
  filter: grayscale(0.6);
}

.sold-out-stamp {
  position: absolute;
  right: 14px;
  top: 10px;
  background: var(--tv-nonveg);
  color: #fff;
  font-size: clamp(9px, 1.2vh, 11px);
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.food-img {
  width: clamp(46px, 7.5vh, 72px);
  height: clamp(46px, 7.5vh, 72px);
  border-radius: clamp(6px, 1vh, 10px);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.food-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.food-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.diet-icon {
  width: clamp(11px, 1.6vh, 14px);
  height: clamp(11px, 1.6vh, 14px);
  border-radius: 3px;
  border: 1.5px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.diet-icon.veg { border-color: var(--tv-veg); }
.diet-icon.veg::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--tv-veg); }
.diet-icon.nonveg { border-color: var(--tv-nonveg); }
.diet-icon.nonveg::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--tv-nonveg); }

.food-name {
  font-size: clamp(12.5px, 2vh, 17.5px);
  font-weight: 700;
  color: var(--tv-text-primary, #ffffff);
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.food-desc {
  font-size: clamp(9.5px, 1.3vh, 12px);
  color: var(--tv-text-muted);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.food-price-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  margin-left: 8px;
  gap: 1px;
}

.food-strike-price {
  font-size: clamp(10px, 1.4vh, 13px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: line-through;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 2px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.food-price-tag {
  font-size: clamp(15px, 2.5vh, 22px);
  font-weight: 900;
  color: var(--tv-gold);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.discount-pill {
  font-size: clamp(8px, 1.1vh, 9.5px);
  font-weight: 900;
  color: #34d399;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 1px 5px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-top: 1px;
}

.offer-badge {
  position: absolute;
  top: -9px;
  left: 14px;
  background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  color: #ffffff;
  font-size: clamp(8.5px, 1.1vh, 10.5px);
  font-weight: 900;
  padding: 2.5px 9px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.5);
  display: flex;
  align-items: center;
  gap: 4px;
  animation: pulse-glow 2.5s infinite ease-in-out;
  z-index: 10;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 14px rgba(239, 68, 68, 0.5); transform: scale(1); }
  50% { box-shadow: 0 4px 20px rgba(249, 115, 22, 0.75); transform: scale(1.04); }
}

/* Video Ad View */
.video-slide-view {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-slide-view video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none !important;
  user-select: none !important;
  outline: none !important;
}

/* Complete suppression of native WebKit/Chromium/Android TV media controls and play overlays */
video::-webkit-media-controls,
video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-overlay-play-button,
video::-webkit-media-controls-timeline,
video::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-time-remaining-display,
video::-webkit-media-controls-mute-button,
video::-webkit-media-controls-toggle-closed-captions-button,
video::-webkit-media-controls-volume-slider {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0px !important;
  height: 0px !important;
}

.canvas-el-video video {
  pointer-events: none !important;
  user-select: none !important;
  outline: none !important;
}

/* Poster Slide View */
.poster-slide-view {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.poster-slide-view img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Fullscreen Trigger Overlay for Click-to-Play Audio Policy (Suppressed on Signage TV) */
.audio-click-gate {
  display: none !important;
  pointer-events: none !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   50-ITEM HIGH-DENSITY QSR PRICE BOARD (COMPACT_50_GRID)
   ───────────────────────────────────────────────────────────────────────────── */
.compact-50-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  height: 100%;
  max-height: 100%;
  flex: 1;
  min-height: 0;
  padding: 24px 32px;
  box-sizing: border-box;
  overflow: hidden;
}

.compact-column {
  display: flex;
  flex-direction: column;
  background: var(--tv-card);
  border: 1px solid var(--tv-card-border);
  border-radius: 14px;
  padding: 10px 12px;
  backdrop-filter: blur(10px);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.compact-column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 6px;
  margin-bottom: 6px;
  border-bottom: 2px solid rgba(251, 191, 36, 0.4);
}

.compact-column-title {
  font-size: 14.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--tv-gold);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compact-column-count {
  font-size: 11px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
  color: var(--tv-text-secondary);
  padding: 1px 6px;
  border-radius: 10px;
}

.compact-items-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  overflow: hidden;
}

.compact-item-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.04);
  min-height: 34px;
  box-sizing: border-box;
}

.compact-item-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

.compact-item-row.sold-out {
  opacity: 0.35;
  filter: grayscale(0.8);
}

.compact-diet-dot {
  width: 12px;
  height: 12px;
  border-radius: 2.5px;
  border: 1.5px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.compact-diet-dot.veg { border-color: #10b981; }
.compact-diet-dot.veg::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #10b981; }
.compact-diet-dot.nonveg { border-color: #ef4444; }
.compact-diet-dot.nonveg::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #ef4444; }
.compact-diet-dot.egg { border-color: #f59e0b; }
.compact-diet-dot.egg::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #f59e0b; }

.compact-item-name {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
  flex: 0 1 auto;
  max-width: 72%;
}

.compact-offer-tag {
  font-size: 8.5px;
  font-weight: 800;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  padding: 1px 5px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  flex-shrink: 0;
  white-space: nowrap;
}

.compact-dot-leader {
  flex: 1;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.25);
  margin: 0 4px;
  min-width: 8px;
}

.compact-price-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.compact-strike {
  font-size: 10.5px;
  color: #f87171;
  text-decoration: line-through;
  font-weight: 700;
}

.compact-price {
  font-size: 14.5px;
  font-weight: 900;
  color: var(--tv-gold);
  font-variant-numeric: tabular-nums;
}

/* Light Theme in TV Player */
body[data-theme="light"],
.theme-light {
  --tv-bg: #f8fafc;
  --tv-card: rgba(255, 255, 255, 0.95);
  --tv-card-border: #e2e8f0;
  --tv-gold: #d97706;
  --tv-text-primary: #0f172a;
  --tv-text-secondary: #475569;
  --tv-text-muted: #64748b;
}

body[data-theme="light"] #tvCanvas,
.theme-light #tvCanvas {
  background: #f8fafc;
  color: #0f172a;
}
body[data-theme="light"] .tv-header,
.theme-light .tv-header {
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 100%);
}
body[data-theme="light"] .store-title-tv,
.theme-light .store-title-tv {
  color: #0f172a;
}
body[data-theme="light"] .tv-clock,
.theme-light .tv-clock {
  color: #475569;
}
body[data-theme="light"] .compact-column,
.theme-light .compact-column {
  background: rgba(255, 255, 255, 0.92);
  border-color: #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
body[data-theme="light"] .compact-item-row,
.theme-light .compact-item-row {
  background: rgba(241, 245, 249, 0.8);
  border-color: #e2e8f0;
}
body[data-theme="light"] .compact-item-row:nth-child(even),
.theme-light .compact-item-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.9);
}
body[data-theme="light"] .compact-item-name,
.theme-light .compact-item-name {
  color: #0f172a;
}
body[data-theme="light"] .compact-dot-leader,
.theme-light .compact-dot-leader {
  border-bottom: 1px dotted rgba(0, 0, 0, 0.2);
}
body[data-theme="light"] .compact-price,
.theme-light .compact-price {
  color: #d97706;
}

body[data-theme="light"] .column-header,
.theme-light .column-header {
  color: #0f172a;
  border-bottom: 2px solid rgba(15, 23, 42, 0.2);
}

body[data-theme="light"] .food-card,
.theme-light .food-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

body[data-theme="light"] .food-name,
.theme-light .food-name {
  color: #0f172a;
}

body[data-theme="light"] .food-desc,
.theme-light .food-desc {
  color: #475569;
}

body[data-theme="light"] .food-price-tag,
.theme-light .food-price-tag {
  color: #d97706;
}

body[data-theme="light"] .food-strike-price,
.theme-light .food-strike-price {
  color: #94a3b8;
}

/* ─────────────────────────────────────────────────────────────────────────────
   CUSTOM TEMPLATE STUDIO ENGINE STYLES (TV PLAYER)
   ───────────────────────────────────────────────────────────────────────────── */
.custom-template-board {
  width: 100%;
  height: 100%;
  max-height: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0 clamp(8px, 1.5vw, 24px);
  position: relative;
}

.custom-board-grid {
  display: grid;
  gap: 16px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  align-content: stretch;
}

.custom-board-grid.cols-1 { grid-template-columns: 1fr; }
.custom-board-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.custom-board-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.custom-board-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Split Hero Layouts */
.custom-board-grid.layout-split-hero-left {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 20px;
}
.custom-board-grid.layout-split-hero-right {
  display: grid;
  grid-template-columns: 1fr 38%;
  gap: 20px;
}

.split-hero-banner {
  background: rgba(0,0,0,0.5);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 12px 36px rgba(0,0,0,0.5);
}
.split-hero-banner img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.split-hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.85) 100%);
  z-index: 2;
}
.split-hero-content {
  position: relative;
  z-index: 3;
}
.split-hero-tag {
  display: inline-block;
  background: var(--accent-color, #fbbf24);
  color: #000;
  font-weight: 900;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.split-hero-title {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 6px;
}
.split-hero-price {
  font-size: 30px;
  font-weight: 900;
  color: var(--accent-color, #fbbf24);
}

/* Card Styles */
.card-style-glass .custom-item-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.card-style-solid .custom-item-card {
  background: #151822;
  border: 1px solid #23283a;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}
.card-style-minimal .custom-item-card {
  background: transparent;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 4px;
}

/* Custom Item Card base */
.custom-item-card {
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  transition: all 0.2s ease;
}

.custom-item-card.sold-out {
  opacity: 0.35;
  filter: grayscale(0.8);
}

/* Image Positions */
.custom-item-card.img-pos-left {
  flex-direction: row;
}
.custom-item-card.img-pos-right {
  flex-direction: row-reverse;
}
.custom-item-card.img-pos-top {
  flex-direction: column;
  align-items: stretch;
  padding: 0;
}
.custom-item-card.img-pos-top .custom-card-img {
  width: 100%;
  height: 90px;
  border-radius: 12px 12px 0 0;
}
.custom-item-card.img-pos-top .custom-card-body {
  padding: 10px 14px;
}
.custom-item-card.img-pos-none .custom-card-img {
  display: none !important;
}

/* Card Image */
.custom-card-img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

/* Card Body */
.custom-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.custom-card-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.custom-card-name {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
}

.custom-card-desc {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Price Positions */
.custom-item-card.price-pos-right .custom-price-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  flex-shrink: 0;
}

.custom-item-card.price-pos-badge_top .custom-price-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--accent-color, #fbbf24);
  color: #000;
  font-size: 13px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.5);
  z-index: 5;
}

.custom-item-card.price-pos-bottom .custom-price-bottom {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Price Text */
.custom-price-val {
  font-size: 17px;
  font-weight: 900;
  color: var(--accent-color, #fbbf24);
  font-variant-numeric: tabular-nums;
}

.custom-strike-val {
  font-size: 12px;
  text-decoration: line-through;
  color: #ef4444;
  font-weight: 700;
}

.custom-offer-pill {
  font-size: 9.5px;
  font-weight: 800;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  display: inline-block;
  white-space: nowrap;
}

/* Dense Scale for High Item Counts (16, 24, 50 items) */
.custom-template-board.dense-mode .custom-board-grid {
  gap: 6px;
}
.custom-template-board.dense-mode .custom-item-card {
  padding: 4px 8px;
  gap: 8px;
}
.custom-template-board.dense-mode .custom-card-img {
  width: 36px;
  height: 36px;
  font-size: 16px;
}
.custom-template-board.dense-mode .custom-card-name {
  font-size: 12.5px;
}
.custom-template-board.dense-mode .custom-price-val {
  font-size: 13px;
}
.custom-template-board.dense-mode .custom-card-desc {
  display: none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   MCDONALD'S & BURGER KING STYLE COMBO & VALUE MEAL DEALS (TV PLAYER)
   ───────────────────────────────────────────────────────────────────────────── */
.qsr-combo-board {
  width: 100%;
  height: 100%;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(6px, 1.4vh, 18px) clamp(16px, 2.5vw, 32px);
  box-sizing: border-box;
  background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.15), transparent 50%),
              radial-gradient(circle at bottom left, rgba(239, 68, 68, 0.18), transparent 50%),
              #080a0f;
  color: #fff;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.qsr-headline-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: clamp(4px, 0.8vh, 10px);
  margin-bottom: clamp(6px, 1vh, 12px);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.qsr-store-brand {
  font-size: clamp(14px, 2.4vh, 20px);
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.qsr-fire-icon {
  font-size: clamp(16px, 2.8vh, 24px);
}

.qsr-campaign-pill {
  font-size: clamp(9.5px, 1.4vh, 12.5px);
  font-weight: 900;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  padding: clamp(3px, 0.5vh, 5px) clamp(10px, 1.2vw, 16px);
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.6);
  flex-shrink: 0;
}

.qsr-board-body {
  flex: 1;
  display: grid;
  gap: clamp(10px, 1.6vw, 20px);
  min-height: 0;
  overflow: hidden;
}

/* 1. Hero Showcase Archetype (BK 60/40 Split) */
.qsr-archetype-hero_showcase .qsr-board-body {
  grid-template-columns: 1.3fr 0.9fr;
}

/* 2. Split Duo (2 Mega Equal Boxes) */
.qsr-archetype-split_duo .qsr-board-body {
  grid-template-columns: 1fr 1fr;
}

/* 3. Value Quad (4 Boxes) */
.qsr-archetype-value_quad .qsr-board-body {
  grid-template-columns: repeat(4, 1fr);
}

/* 4. McD 3-in-1 McSaver Board (Horizontal Flow) */
.qsr-archetype-mcd_3in1 .qsr-board-body {
  grid-template-columns: 1fr;
  display: flex;
  flex-direction: column;
}

/* Hero Combo Box */
.qsr-hero-combo-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: clamp(10px, 1.8vh, 16px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  flex: 1;
  min-height: 0;
}

.qsr-hero-img-wrap {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #11141e;
}

.qsr-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qsr-hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(8,10,15,0.9) 100%);
}

.qsr-badge-floating {
  position: absolute;
  top: clamp(8px, 1.5vh, 14px);
  left: clamp(8px, 1.5vw, 14px);
  background: var(--qsr-accent, #fbbf24);
  color: #000;
  font-weight: 900;
  font-size: clamp(9.5px, 1.4vh, 12.5px);
  padding: clamp(3px, 0.5vh, 5px) clamp(8px, 1vw, 14px);
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.6);
  z-index: 2;
}

.qsr-hero-details {
  padding: clamp(8px, 1.5vh, 16px) clamp(12px, 1.8vw, 20px);
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.8vh, 8px);
  background: rgba(10, 12, 18, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.qsr-combo-title {
  font-size: clamp(16px, 2.8vh, 24px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.4px;
  line-height: 1.15;
}

/* Inclusions Row with Step Items */
.qsr-inclusions-row {
  display: flex;
  align-items: center;
  gap: clamp(4px, 0.8vw, 8px);
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.05);
  padding: clamp(4px, 0.8vh, 8px) clamp(8px, 1vw, 14px);
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.qsr-inc-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: clamp(10.5px, 1.6vh, 13.5px);
  font-weight: 700;
  color: #f1f5f9;
}

.qsr-inc-icon {
  font-size: clamp(12px, 1.8vh, 16px);
}

.qsr-plus-sign {
  font-size: clamp(11px, 1.6vh, 14px);
  font-weight: 900;
  color: var(--qsr-accent, #fbbf24);
}

/* Giant Pricing Banner */
.qsr-pricing-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2px;
}

.qsr-price-group {
  display: flex;
  flex-direction: column;
}

.qsr-price-label {
  font-size: clamp(8px, 1.1vh, 9.5px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--tv-text-muted, #94a3b8);
}

.qsr-deal-price {
  font-size: clamp(24px, 4.4vh, 36px);
  font-weight: 900;
  color: var(--qsr-accent, #fbbf24);
  line-height: 1;
  display: flex;
  align-items: baseline;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.45);
}

.qsr-deal-price .qsr-currency {
  font-size: clamp(14px, 2.4vh, 20px);
  margin-right: 2px;
}

.qsr-savings-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qsr-strike-price {
  font-size: clamp(13px, 2.2vh, 18px);
  font-weight: 800;
  color: #ef4444;
  text-decoration: line-through;
}

.qsr-save-tag {
  background: #ef4444;
  color: #fff;
  font-size: clamp(9px, 1.2vh, 11px);
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.qsr-upgrade-banner {
  font-size: clamp(9.5px, 1.3vh, 12px);
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: clamp(3px, 0.5vh, 6px) clamp(6px, 1vw, 10px);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Companion Column & Cards */
.qsr-companion-column {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1vh, 10px);
  flex: 1;
  min-height: 0;
  justify-content: space-between;
  overflow: hidden;
}

.qsr-companion-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: clamp(8px, 1.4vh, 12px);
  padding: clamp(4px, 0.8vh, 8px) clamp(8px, 1vw, 12px);
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 12px);
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.qsr-companion-thumb {
  width: clamp(40px, 7vh, 56px);
  height: clamp(40px, 7vh, 56px);
  border-radius: clamp(6px, 1vh, 8px);
  object-fit: cover;
  flex-shrink: 0;
  background: #1e293b;
}

.qsr-companion-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.qsr-companion-title {
  font-size: clamp(12px, 1.8vh, 15px);
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qsr-companion-sub {
  font-size: clamp(9px, 1.3vh, 11.5px);
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qsr-companion-price {
  font-size: clamp(14px, 2.2vh, 19px);
  font-weight: 900;
  color: var(--qsr-accent, #fbbf24);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* ─────────────────────────────────────────────────────────────────────────────
   FREE-FORM PPT / CANVAS PLAYER RENDER STYLES (Smart TV 1080p / 4K)
   ───────────────────────────────────────────────────────────────────────────── */
.freeform-canvas-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  flex: 1;
  overflow: hidden;
  box-sizing: border-box;
}

.zb-design {
  position: absolute;
  inset: 0;
}

.canvas-el {
  position: absolute;
  box-sizing: border-box;
  user-select: none;
}

.canvas-el-text {
  width: 100%;
  height: 100%;
  display: flex;
  box-sizing: border-box;
  overflow: hidden;
  word-break: break-word;
}

.canvas-el-image img {
  width: 100%;
  height: 100%;
  display: block;
}

.canvas-el-badge {
  width: 100%;
  height: 100%;
  container-type: size;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  padding: 8px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.6);
}

.canvas-el-badge.shape-circle {
  border-radius: 50%;
}
.canvas-el-badge.shape-pill {
  border-radius: 999px;
}
.canvas-el-badge.shape-badge {
  border-radius: 18px;
}

.canvas-el-item {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(6px, 1vw, 12px);
  padding: clamp(4px, 0.8vh, 10px) clamp(8px, 1.2vw, 14px);
  box-sizing: border-box;
  border-radius: clamp(8px, 1.2vh, 12px);
  overflow: hidden;
}

.canvas-el-item.style-glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.canvas-el-item.style-solid {
  background: #11141e;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.canvas-el-item.style-glow {
  background: rgba(245, 158, 11, 0.12);
  border: 2px solid #f59e0b;
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.35);
}

.canvas-el-item.style-minimal {
  background: transparent;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.25);
  border-radius: 0;
}

.canvas-el-combo {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(6px, 1vh, 12px) clamp(8px, 1.2vw, 14px);
  box-sizing: border-box;
  border-radius: clamp(8px, 1.4vh, 14px);
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 2px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  overflow: hidden;
}



