.twcv-live-wrap {
  --twcv-container-max: var(--container-max, 1180px);
  --twcv-space-8: var(--space-8, 48px);
  --twcv-space-5: var(--space-5, 20px);
  --twcv-gutter: var(--gutter, 20px);
  --twcv-font-sans: var(--font-sans, inherit);
  --twcv-font-display: var(--font-display, inherit);
  --twcv-white: #ffffff;
  --twcv-surface: #ffffff;
  --twcv-text-strong: #162033;
  --twcv-text-body: #303b4a;
  --twcv-text-muted: #667085;
  --twcv-sage-600: #667c68;
  --twcv-sage-700: #536757;
  --twcv-navy-50: #f3f6fb;
  --twcv-navy-300: #9aa8bf;
  --twcv-navy-700: #172947;
  --twcv-brand: #172947;
  --twcv-border: rgba(16, 24, 40, .12);
  --twcv-border-strong: rgba(16, 24, 40, .22);
  --twcv-radius-md: var(--radius-md, 10px);
  --twcv-radius-lg: var(--radius-lg, 18px);
  --twcv-shadow-sm: 0 3px 12px rgba(16, 24, 40, .06);
  max-width: var(--twcv-container-max);
  margin: 0 auto;
  padding: var(--twcv-space-8) var(--twcv-gutter);
  color: var(--twcv-text-body) !important;
  background: transparent;
}
.twcv-live-wrap,
.twcv-live-wrap * { box-sizing: border-box; }
.twcv-live-wrap a { text-decoration: none; }
.twcv-live-wrap .tt-filters {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
  color: var(--twcv-text-body) !important;
}
.twcv-live-wrap .tt-filter {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.twcv-live-wrap .tt-filter label {
  font-family: var(--twcv-font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--twcv-sage-700) !important;
}
.twcv-live-wrap .tt-filter select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--twcv-white) !important;
  border: 1px solid var(--twcv-border-strong) !important;
  border-radius: var(--twcv-radius-md);
  padding: 11px 14px;
  font-family: var(--twcv-font-sans);
  font-size: 15px;
  line-height: 1.4;
  color: var(--twcv-text-strong) !important;
  cursor: pointer;
  width: 100%;
}
.twcv-live-wrap .tt-reset {
  align-self: end;
  background: transparent !important;
  border: 1px solid var(--twcv-border-strong) !important;
  border-radius: var(--twcv-radius-md);
  padding: 11px 18px;
  font-family: var(--twcv-font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--twcv-navy-700) !important;
  cursor: pointer;
  white-space: nowrap;
}
.twcv-live-wrap .tt-reset:hover { background: var(--twcv-navy-50) !important; }
.twcv-live-wrap .tt-count {
  font-family: var(--twcv-font-sans);
  font-size: 13px;
  color: var(--twcv-text-muted) !important;
  margin-bottom: 16px;
}
.twcv-live-wrap .tt-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.twcv-live-wrap .tt-row {
  background: var(--twcv-surface) !important;
  border: 1px solid var(--twcv-border) !important;
  border-radius: var(--twcv-radius-lg);
  padding: var(--twcv-space-5);
  box-shadow: var(--twcv-shadow-sm);
  display: grid;
  grid-template-columns: 96px 1fr auto auto;
  gap: 20px;
  align-items: center;
  color: var(--twcv-text-body) !important;
}
.twcv-live-wrap .tt-row[hidden] { display: none !important; }
.twcv-live-wrap .tt-day {
  font-family: var(--twcv-font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--twcv-navy-700) !important;
}
.twcv-live-wrap .tt-time {
  font-size: 13px;
  color: var(--twcv-text-muted) !important;
  margin-top: 2px;
  font-family: var(--twcv-font-sans);
}
.twcv-live-wrap .tt-main { min-width: 0; }
.twcv-live-wrap .tt-class {
  font-family: var(--twcv-font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--twcv-navy-700) !important;
  letter-spacing: -.01em;
}
.twcv-live-wrap .tt-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 6px;
  font-family: var(--twcv-font-sans);
  font-size: 13px;
  color: var(--twcv-text-body) !important;
}
.twcv-live-wrap .tt-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--twcv-text-body) !important;
}
.twcv-live-wrap .tt-meta svg {
  width: 14px;
  height: 14px;
  color: var(--twcv-sage-600) !important;
  flex: none;
}
.twcv-live-wrap .tt-spots {
  font-family: var(--twcv-font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--twcv-sage-700) !important;
  white-space: nowrap;
}
.twcv-live-wrap .tt-spots-full { color: var(--twcv-text-muted) !important; }
.twcv-live-wrap .tt-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--twcv-font-sans);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  padding: 10px 18px;
  border-radius: var(--twcv-radius-md);
  white-space: nowrap;
  text-decoration: none !important;
  background: var(--twcv-brand) !important;
  color: var(--twcv-white) !important;
  border: 1px solid var(--twcv-brand) !important;
}
.twcv-live-wrap .tt-cta:hover,
.twcv-live-wrap .tt-cta:focus { color: var(--twcv-white) !important; text-decoration: none !important; filter: brightness(.96); }
.twcv-live-wrap .tt-cta-ghost {
  background: transparent !important;
  color: var(--twcv-navy-700) !important;
  border-color: var(--twcv-navy-300) !important;
}
.twcv-live-wrap .tt-cta-ghost:hover,
.twcv-live-wrap .tt-cta-ghost:focus { color: var(--twcv-navy-700) !important; background: var(--twcv-navy-50) !important; }
.twcv-live-wrap .tt-empty {
  padding: 28px;
  text-align: center;
  border: 1px solid var(--twcv-border) !important;
  border-radius: var(--twcv-radius-lg);
  font-family: var(--twcv-font-sans);
  color: var(--twcv-text-muted) !important;
  background: var(--twcv-surface) !important;
  margin-top: 12px;
}
.twcv-live-wrap .tt-empty a { color: var(--twcv-navy-700) !important; font-weight: 600; text-decoration: underline !important; }
.twcv-live-wrap .twcv-loading { position: relative; }
.twcv-live-wrap .twcv-loading:before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -2px;
  animation: twcv-spin .8s linear infinite;
}
@keyframes twcv-spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .twcv-live-wrap .tt-filters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .twcv-live-wrap .tt-filters { grid-template-columns: 1fr; }
  .twcv-live-wrap .tt-row {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 10px;
  }
  .twcv-live-wrap .tt-cta { width: 100%; }
}

.twcv-live-wrap .twcv-debug{background:#111827;color:#f9fafb;padding:12px;border-radius:8px;overflow:auto;font-size:12px;line-height:1.45;margin-top:16px;text-align:left;}
