.cs-liveboard-wrap {
  --cs-gold: #d8ae58;
  --cs-gold-light: #f6dd9b;
  --cs-gold-deep: #8f6325;
  --cs-ivory: #fff9e9;
  --cs-muted: #c7bcaa;
  --cs-black: #080706;
  --cs-panel: rgba(11, 9, 7, .91);
  position: relative;
  isolation: isolate;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 36px);
  overflow: hidden;
  color: var(--cs-ivory);
  font-family: "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, sans-serif;
  border: 1px solid rgba(216, 174, 88, .55);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(5, 4, 3, .34) 0%, rgba(5, 4, 3, .78) 34%, rgba(5, 4, 3, .97) 100%),
    url("christmas-sessions-wallpaper.jpg") center top / cover no-repeat,
    var(--cs-black);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, .42),
    inset 0 1px 0 rgba(255, 232, 169, .18);
}

.cs-liveboard-wrap::before {
  position: absolute;
  z-index: -1;
  top: -180px;
  left: 50%;
  width: min(760px, 90%);
  height: 420px;
  content: "";
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(circle, rgba(222, 174, 74, .26) 0%, rgba(222, 174, 74, 0) 70%);
}

.cs-liveboard-wrap *,
.cs-liveboard-wrap *::before,
.cs-liveboard-wrap *::after {
  box-sizing: border-box;
}

.cs-card {
  position: relative;
  padding: clamp(18px, 2.5vw, 28px);
  overflow: hidden;
  border: 1px solid rgba(216, 174, 88, .38);
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(25, 20, 14, .94), rgba(7, 6, 5, .96)),
    var(--cs-panel);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 233, 174, .12);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.cs-card::before {
  position: absolute;
  top: 0;
  right: 12%;
  left: 12%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cs-gold-light), transparent);
  opacity: .72;
}

.cs-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cs-title {
  margin: 0;
  color: var(--cs-gold-light);
  font-family: Georgia, "Times New Roman", serif;
  max-width: 100%;
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 18px rgba(218, 168, 65, .18);
}

.cs-sub {
  max-width: 680px;
  margin: 9px 0 0;
  color: var(--cs-muted);
  font-size: 13px;
  line-height: 1.55;
}

.cs-metaBar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(216, 174, 88, .18);
}

.cs-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 12px;
  color: var(--cs-ivory);
  font-size: 12px;
  line-height: 1.2;
  border: 1px solid rgba(216, 174, 88, .42);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(216, 174, 88, .14), rgba(216, 174, 88, .04));
  box-shadow: inset 0 1px 0 rgba(255, 238, 191, .08);
}

.cs-pill b {
  color: var(--cs-gold-light);
  letter-spacing: .02em;
}

.cs-liveStatus {
  border-color: rgba(99, 220, 143, .55);
  background: linear-gradient(180deg, rgba(29, 117, 66, .24), rgba(14, 61, 35, .12));
  box-shadow: inset 0 1px 0 rgba(196, 255, 218, .1), 0 0 22px rgba(66, 207, 119, .08);
}

.cs-liveStatus b {
  color: #aaf0c3;
  font-size: 11px;
  letter-spacing: .08em;
}

.cs-liveDot {
  position: relative;
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #6ee7a0;
  box-shadow: 0 0 10px rgba(110, 231, 160, .9);
}

.cs-liveDot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(110, 231, 160, .65);
  border-radius: 50%;
  animation: cs-live-pulse 1.8s ease-out infinite;
}

@keyframes cs-live-pulse {
  0% { opacity: .9; transform: scale(.55); }
  75%, 100% { opacity: 0; transform: scale(1.45); }
}

.cs-metaBar + .cs-list {
  margin-top: 16px;
}

.cs-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.cs-item {
  position: relative;
  padding: 16px 17px;
  overflow: hidden;
  border: 1px solid rgba(216, 174, 88, .22);
  border-radius: 0;
  background: linear-gradient(105deg, rgba(255, 255, 255, .055), rgba(216, 174, 88, .025));
  box-shadow: inset 3px 0 0 rgba(216, 174, 88, .78);
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.cs-item:hover {
  border-color: rgba(236, 200, 119, .52);
  background-color: rgba(216, 174, 88, .055);
  transform: translateY(-1px);
}

.cs-rowTop {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.cs-client {
  margin: 0;
  color: #fffdf6;
  font-size: 16px;
  font-weight: 760;
  line-height: 1.35;
  letter-spacing: .015em;
}

.cs-times {
  display: flex;
  gap: 8px 22px;
  flex-wrap: wrap;
  margin: 10px 0 0;
  color: var(--cs-muted);
  font-size: 12px;
  line-height: 1.45;
}

.cs-times b {
  color: var(--cs-gold-light);
  font-weight: 650;
}

.cs-badge {
  display: inline-block;
  padding: 5px 9px;
  color: #eee7d9;
  font-size: 11px;
  line-height: 1.25;
  border: 1px solid rgba(216, 174, 88, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
}

.cs-badge.session {
  color: #170f04;
  border-color: rgba(255, 225, 151, .68);
  background: linear-gradient(135deg, #f5dda0, #b98737);
  box-shadow: 0 5px 18px rgba(187, 132, 45, .18);
}

.cs-badge.session b {
  font-weight: 800;
}

.cs-badge.delay {
  color: #ffe9a9;
  border-color: rgba(255, 193, 7, .42);
  background: rgba(255, 193, 7, .13);
}

.cs-badge.countdown {
  color: #fff1bd;
  border-color: rgba(240, 184, 56, .62);
  background: linear-gradient(180deg, rgba(174, 111, 15, .28), rgba(75, 45, 4, .28));
  font-variant-numeric: tabular-nums;
  min-width: 158px;
  text-align: center;
}

.cs-badge.insession {
  color: #baf4cd;
  border-color: rgba(86, 210, 130, .4);
  background: rgba(76, 175, 80, .14);
}

.cs-badge.done {
  color: #d2ccc2;
  border-color: rgba(210, 204, 194, .24);
  background: rgba(158, 158, 158, .12);
}

.cs-badge.scheduled {
  color: #e8ddca;
  border-color: rgba(216, 174, 88, .3);
  background: rgba(216, 174, 88, .08);
}

.cs-badge.selection {
  color: #c9e7ff;
  border-color: rgba(73, 166, 239, .38);
  background: rgba(33, 150, 243, .14);
}

.cs-badge.selectionarea {
  color: #f2c9fa;
  border-color: rgba(195, 96, 218, .38);
  background: rgba(156, 39, 176, .14);
}

.cs-ontime-pill {
  color: #c7f5d3;
  border-color: rgba(75, 196, 113, .42);
  background: rgba(20, 128, 65, .18);
}

.cs-ontime-pill b {
  color: #c7f5d3;
}

.cs-pauseBanner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 14px 18px;
  color: #fff5db;
  text-align: center;
  border: 1px solid rgba(255, 193, 85, .64);
  border-radius: 0;
  background: linear-gradient(135deg, rgba(120, 28, 17, .95), rgba(48, 12, 8, .96));
  box-shadow: 0 12px 28px rgba(72, 8, 4, .28), inset 0 1px 0 rgba(255, 226, 155, .16);
}

.cs-pauseBanner b {
  color: #ffd886;
  font-size: 13px;
  letter-spacing: .09em;
}

.cs-pauseBanner span {
  font-size: 13px;
}

.cs-pauseBanner small {
  color: #ddcdb7;
  font-size: 11px;
}

.cs-admin {
  margin-top: 18px;
}

.cs-admin h3 {
  color: var(--cs-gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
}

.cs-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cs-input,
.cs-select {
  min-height: 42px;
  padding: 10px 12px;
  color: #fffaf0;
  font-family: inherit;
  font-size: 14px;
  border: 1px solid rgba(216, 174, 88, .34);
  border-radius: 11px;
  outline: 0;
  background: rgba(255, 255, 255, .065);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
  caret-color: #fff;
  -webkit-text-fill-color: #fffaf0;
}

.cs-input:active,
.cs-input:focus,
.cs-input:focus-visible,
.cs-select:active,
.cs-select:focus,
.cs-select:focus-visible {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.cs-input:-webkit-autofill,
.cs-input:-webkit-autofill:hover,
.cs-input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff;
  box-shadow: 0 0 0 1000px #26211c inset !important;
  transition: background-color 9999s ease-out 0s;
}

.cs-input::placeholder {
  color: #a69c8c;
}

.cs-liveboard-wrap input.cs-input,
.cs-liveboard-wrap textarea.cs-input,
.cs-liveboard-wrap select.cs-select {
  color: #fffaf0 !important;
  -webkit-text-fill-color: #fffaf0 !important;
}

.cs-input:focus,
.cs-select:focus {
  border-color: var(--cs-gold);
  background: rgba(255, 255, 255, .09);
  box-shadow: 0 0 0 3px rgba(216, 174, 88, .14);
}

.cs-select option {
  color: #17120c;
  background: #fffaf0;
}

.cs-input.small {
  width: 190px;
}

.cs-input.time {
  width: 110px;
}

.cs-input.dur {
  width: 150px;
}

.cs-durationEditor {
  display: inline-flex;
  align-items: flex-end;
  gap: 8px;
}

.cs-durationEditor label {
  display: grid;
  gap: 4px;
  color: var(--cs-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.cs-durationEditor .cs-input {
  width: 88px;
}

.cs-defaultDuration .cs-input {
  width: 110px;
}

.cs-timeEditor {
  display: inline-flex;
  align-items: stretch;
  width: 190px;
  min-height: 42px;
  overflow: hidden;
  border: 1px solid rgba(216, 174, 88, .34);
  border-radius: 11px;
  background: rgba(255, 255, 255, .065);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.cs-timeEditor:focus-within {
  border-color: var(--cs-gold);
  box-shadow: 0 0 0 3px rgba(216, 174, 88, .14);
}

.cs-timeEditor .cs-input.time {
  width: 118px;
  min-height: 40px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cs-periodToggle {
  min-width: 70px;
  padding: 8px 12px;
  color: #1a1003;
  font-family: inherit;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .06em;
  border: 0;
  border-left: 1px solid rgba(255, 229, 164, .5);
  background: linear-gradient(135deg, #f4dc9d, #ad792d);
  cursor: pointer;
}

.cs-periodToggle:hover,
.cs-periodToggle:focus-visible {
  filter: brightness(1.08);
  outline: 0;
}

.cs-btn {
  min-height: 42px;
  padding: 10px 15px;
  color: #1a1003;
  font-family: inherit;
  font-weight: 800;
  border: 1px solid rgba(255, 229, 164, .62);
  border-radius: 11px;
  background: linear-gradient(135deg, #f4dc9d, #ad792d);
  box-shadow: 0 7px 18px rgba(147, 94, 22, .16);
  cursor: pointer;
  transition: filter .2s ease, transform .2s ease, box-shadow .2s ease;
}

.cs-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(147, 94, 22, .25);
}

.cs-btn.secondary {
  color: #eee5d5;
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .1);
  box-shadow: none;
}

.cs-btn.ghost {
  color: var(--cs-gold-light);
  border-color: rgba(216, 174, 88, .4);
  background: transparent;
  box-shadow: none;
}

.cs-btn:disabled {
  opacity: .58;
  cursor: not-allowed;
  filter: grayscale(.3);
  transform: none;
}

.cs-adminList {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.cs-adminRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 11px;
  border: 1px solid rgba(216, 174, 88, .18);
  border-radius: 0;
  background: rgba(255, 255, 255, .025);
}

.cs-adminLeft {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 680px;
  flex-wrap: wrap;
}

.cs-sessionControls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 1 auto;
  flex-wrap: wrap;
}

.cs-timingState {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  color: #d8cdbd;
  font-size: 11px;
  border: 1px solid rgba(216, 174, 88, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
}

.cs-timingState.in_session {
  color: #baf4cd;
  border-color: rgba(86, 210, 130, .35);
  background: rgba(76, 175, 80, .12);
}

.cs-timingState.selection {
  color: #f2c9fa;
  border-color: rgba(195, 96, 218, .38);
  background: rgba(156, 39, 176, .14);
}

.cs-timingState.completed {
  color: #cfc7bb;
  border-color: rgba(207, 199, 187, .2);
}

.cs-btn-start {
  color: #092314;
  border-color: rgba(158, 242, 183, .48);
  background: linear-gradient(135deg, #c6f2d1, #58ad75);
}

.cs-btn-complete {
  color: #171004;
  background: linear-gradient(135deg, #ffe8a8, #c18c36);
}

.cs-btn-selection {
  color: #241028;
  border-color: rgba(232, 177, 245, .55);
  background: linear-gradient(135deg, #f4d3fa, #b36ec2);
}

.cs-emergencyPanel {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(216, 174, 88, .22);
  border-radius: 0;
  background: rgba(255, 255, 255, .025);
}

.cs-emergencyPanel > div {
  display: flex;
  flex: 1 1 360px;
  flex-direction: column;
  gap: 3px;
}

.cs-emergencyPanel b {
  color: var(--cs-gold-light);
  font-size: 13px;
}

.cs-emergencyPanel span {
  color: var(--cs-muted);
  font-size: 11px;
  line-height: 1.4;
}

.cs-emergencyPanel.is-paused {
  border-color: rgba(255, 113, 82, .42);
  background: rgba(125, 26, 12, .18);
}

.cs-emergencyPanel.is-paused b {
  color: #ffc18e;
}

.cs-pauseReason {
  flex: 1 1 220px;
}

.cs-liveboard-wrap.cs-tv-mode {
  position: fixed;
  z-index: 2147483646;
  inset: 0;
  width: 100vw;
  max-width: none;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: clamp(20px, 3vw, 52px);
  overflow-x: hidden;
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  background-attachment: fixed;
}

.cs-tv-mode #cs-liveboard-public {
  width: min(1600px, 100%);
  margin: 0 auto;
}

.cs-tv-mode #cs-liveboard-admin {
  display: none !important;
}

.cs-tv-mode .cs-card {
  padding: clamp(26px, 3vw, 46px);
}

.cs-tv-mode .cs-title {
  font-size: clamp(34px, 4vw, 64px);
}

.cs-tv-mode .cs-sub,
.cs-tv-mode .cs-pill,
.cs-tv-mode .cs-times {
  font-size: clamp(13px, 1.15vw, 18px);
}

.cs-tv-mode .cs-client {
  font-size: clamp(18px, 1.55vw, 26px);
}

.cs-tv-mode .cs-badge {
  padding: 7px 12px;
  font-size: clamp(12px, 1vw, 16px);
}

.cs-liveboard-wrap.cs-timer-tv-mode {
  position: fixed;
  z-index: 2147483646;
  inset: 0;
  width: 100vw;
  max-width: none;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: clamp(22px, 4vw, 70px);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background-attachment: fixed;
}

.cs-timer-tv-mode #cs-liveboard-public {
  width: 100%;
  min-height: calc(100vh - clamp(44px, 8vw, 140px));
  min-height: calc(100dvh - clamp(44px, 8vw, 140px));
}

.cs-timer-tv-mode #cs-liveboard-admin { display: none !important; }

.cs-timerStage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  min-height: calc(100vh - clamp(44px, 8vw, 140px));
  min-height: calc(100dvh - clamp(44px, 8vw, 140px));
  padding: clamp(28px, 5vw, 76px);
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(216, 174, 88, .48);
  background:
    radial-gradient(circle at 50% 42%, rgba(216, 174, 88, .13), transparent 42%),
    linear-gradient(145deg, rgba(18, 14, 10, .82), rgba(4, 3, 3, .94));
  box-shadow: inset 0 1px 0 rgba(255, 232, 169, .2), 0 30px 90px rgba(0,0,0,.45);
}

.cs-timerStage::before,
.cs-timerStage::after {
  position: absolute;
  left: 50%;
  width: min(720px, 72%);
  height: 1px;
  content: "";
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--cs-gold-light), transparent);
  opacity: .62;
}
.cs-timerStage::before { top: 7%; }
.cs-timerStage::after { bottom: 7%; }

.cs-timerEyebrow {
  color: var(--cs-gold-light);
  font-size: clamp(12px, 1.4vw, 22px);
  font-weight: 800;
  letter-spacing: .32em;
  text-transform: uppercase;
}

.cs-timerClient {
  max-width: 1200px;
  margin: clamp(18px, 3vh, 38px) 0 0;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 8vw, 132px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: .015em;
  overflow-wrap: anywhere;
  text-shadow: 0 5px 35px rgba(0,0,0,.72), 0 0 40px rgba(216,174,88,.12);
}

.cs-timerDivider {
  width: min(290px, 52vw);
  height: 1px;
  margin: clamp(24px, 4vh, 48px) 0;
  background: linear-gradient(90deg, transparent, var(--cs-gold), transparent);
}

.cs-timerLabel {
  color: #d9ccb9;
  font-size: clamp(12px, 1.25vw, 20px);
  font-weight: 700;
  letter-spacing: .25em;
}

.cs-timerValue {
  margin-top: clamp(8px, 1.8vh, 22px);
  color: var(--cs-gold-light);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(92px, 20vw, 300px);
  font-weight: 250;
  line-height: .86;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 8px 45px rgba(0,0,0,.78), 0 0 55px rgba(216,174,88,.18);
}

.cs-timerValue.is-complete { color: #fff4d0; opacity: .72; }
.cs-timerComplete { margin-top: 18px; color: var(--cs-gold-light); font-size: clamp(14px, 1.5vw, 24px); font-weight: 800; letter-spacing: .18em; }
.cs-timerMeta { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: clamp(20px, 3vh, 36px); }
.cs-timerMeta span { padding: 8px 14px; color: #e8ddca; font-size: clamp(11px, 1vw, 16px); border: 1px solid rgba(216,174,88,.38); border-radius: 999px; background: rgba(216,174,88,.07); }
.cs-timerMeta b { color: var(--cs-gold-light); }
.cs-timerPaused { display: flex; justify-content: center; gap: 10px 18px; flex-wrap: wrap; margin-top: 22px; padding: 12px 18px; color: #fff4d0; border: 1px solid rgba(255,193,85,.58); background: rgba(91,25,12,.72); }
.cs-timerPaused b { color: #ffd886; letter-spacing: .12em; }
.cs-timerWaiting .cs-timerClient { font-size: clamp(42px, 7vw, 110px); }
.cs-timerWaiting .cs-timerLabel { max-width: 620px; line-height: 1.5; letter-spacing: .08em; }

@media (max-width: 720px) {
  .cs-liveboard-wrap.cs-timer-tv-mode { padding: 10px; }
  .cs-timerStage { min-height: calc(100vh - 20px); min-height: calc(100dvh - 20px); padding: 28px 14px; }
  .cs-timerClient { font-size: clamp(38px, 14vw, 70px); line-height: 1.02; }
  .cs-timerValue { font-size: clamp(76px, 27vw, 150px); }
  .cs-timerEyebrow { letter-spacing: .2em; }
}

.cs-note,
.cs-status {
  margin: 11px 0 0;
  color: var(--cs-muted);
  font-size: 12px;
  line-height: 1.5;
}

.cs-error {
  margin-top: 11px;
  padding: 10px 12px;
  color: #ffd5d8;
  font-size: 12px;
  border: 1px solid rgba(255, 84, 100, .32);
  border-radius: 10px;
  background: rgba(176, 0, 32, .16);
}

.cs-dirty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  color: #ffe6a8;
  font-size: 12px;
  border: 1px solid rgba(216, 174, 88, .38);
  border-radius: 999px;
  background: rgba(216, 174, 88, .1);
}

.cs-announcement {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 10px 18px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(216, 174, 88, .55);
  border-radius: 0;
  background: rgba(33, 24, 12, .95);
}

.cs-announcement b { color: var(--cs-gold-light); letter-spacing: .06em; }
.cs-announcement span { min-width: 0; overflow-wrap: anywhere; }
.cs-announcement a { color: #fffaf0; text-decoration: underline; text-decoration-color: rgba(246, 221, 155, .7); text-underline-offset: 3px; }
.cs-announcement a:hover { color: var(--cs-gold-light); }
.cs-announcement.important { border-color: #e5a838; background: rgba(104, 47, 8, .94); }
.cs-badge.package { color: #f7e6b5; border-color: rgba(216, 174, 88, .55); }
.cs-finish-pill { border-color: rgba(96, 201, 131, .45); }

.cs-adminGrid { display: grid; gap: 10px; margin: 15px 0; }
.cs-adminSection {
  border: 1px solid rgba(216, 174, 88, .22);
  border-radius: 0;
  background: rgba(255, 255, 255, .025);
}
.cs-adminSection summary {
  padding: 13px 15px;
  color: var(--cs-gold-light);
  font-weight: 750;
  cursor: pointer;
}
.cs-toolPanel { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; padding: 0 14px 14px; }
.cs-toolPanel label { display: grid; gap: 5px; color: var(--cs-muted); font-size: 11px; }
.cs-packageRow { display: grid; grid-template-columns: minmax(180px,1fr) auto auto; align-items: end; gap: 10px; padding: 0 14px 10px; }
.cs-announcementInput { flex: 1 1 420px; min-height: 74px; resize: vertical; }
.cs-linkInput { flex: 1 1 280px; }
.cs-sponsorBanner { width: 100%; margin-bottom: 14px; overflow: hidden; border: 1px solid rgba(216, 174, 88, .5); background: #080706; }
.cs-sponsorBanner a { display: block; }
.cs-sponsorBanner img { display: block; width: 100%; height: auto; max-height: 360px; object-fit: cover; }
.cs-sponsorTools { align-items: center; }
.cs-sponsorPreview { display: grid; place-items: center; width: min(100%, 380px); min-height: 90px; overflow: hidden; border: 1px solid rgba(216, 174, 88, .25); background: rgba(255,255,255,.03); color: var(--cs-muted); font-size: 12px; }
.cs-sponsorPreview img { display: block; width: 100%; max-height: 160px; object-fit: contain; }
.cs-liveStream {
  width: 100%;
  margin-bottom: 16px;
  border: 1px solid rgba(216, 174, 88, .58);
  background: linear-gradient(145deg, rgba(21, 17, 12, .98), rgba(5, 5, 5, .98));
  box-shadow: 0 18px 52px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 232, 173, .08);
}
.cs-liveStreamHeading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(216, 174, 88, .3);
  background: linear-gradient(90deg, rgba(216, 174, 88, .04), rgba(216, 174, 88, .14), rgba(216, 174, 88, .04));
}
.cs-liveStreamHeading h2 {
  margin: 0;
  color: var(--cs-gold-light);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(19px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: .09em;
  line-height: 1.15;
  text-align: center;
}
.cs-liveStreamFrame,
.cs-liveStreamAdminPreview {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  overflow: hidden;
  background: #000;
}
.cs-liveStreamFrame iframe,
.cs-liveStreamAdminPreview iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.cs-liveStreamTools { align-items: stretch; flex-direction: column; }
.cs-liveStreamInput { width: 100%; min-height: 46px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 11px; }
.cs-liveStreamAdminPreview { max-width: 640px; padding-top: min(56.25%, 360px); border: 1px solid rgba(216, 174, 88, .35); }
.cs-liveStreamEmpty { padding: 20px; color: var(--cs-muted); border: 1px dashed rgba(216, 174, 88, .28); text-align: center; }
.cs-check { display: inline-flex !important; grid-auto-flow: column; align-items: center; gap: 7px !important; min-height: 42px; }
.cs-noteInline { color: var(--cs-muted); font-size: 11px; line-height: 1.4; }
.cs-packageSelect { min-width: 190px; }
.cs-socialFooter {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  width: 100%;
  margin: 18px auto 0;
  padding: 14px 18px;
  border-top: 1px solid rgba(216, 174, 88, .34);
  border-bottom: 1px solid rgba(216, 174, 88, .2);
  color: var(--cs-gold-light);
  background: linear-gradient(90deg, rgba(216, 174, 88, .02), rgba(216, 174, 88, .1), rgba(216, 174, 88, .02));
  text-align: center;
}
.cs-socialLead {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}
.cs-socialLinks {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.cs-socialLinks a {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  text-underline-offset: 4px;
}
.cs-socialLinks a:hover,
.cs-socialLinks a:focus-visible {
  color: var(--cs-gold-light);
  text-decoration: underline;
  outline: none;
}
.cs-socialDivider { color: rgba(216, 174, 88, .7); }
.cs-tv-mode .cs-socialFooter {
  font-size: clamp(12px, 1vw, 16px);
}
.cs-tv-mode .cs-socialLead,
.cs-tv-mode .cs-socialLinks a {
  font-size: inherit;
}
.cs-timer-tv-mode .cs-socialFooter {
  position: absolute;
  right: clamp(18px, 4vw, 58px);
  bottom: clamp(16px, 3vw, 40px);
  left: clamp(18px, 4vw, 58px);
  width: auto;
  margin: 0;
  z-index: 2;
}
.cs-tvPager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
  color: var(--cs-gold-light);
  text-align: center;
  font-size: 12px;
  letter-spacing: .08em;
}
.cs-tvPager[hidden] { display: none !important; }
.cs-tvPageLabel { min-width: 116px; }
.cs-tvPageButton {
  min-width: 108px;
  padding: 8px 14px;
  border: 1px solid rgba(216, 174, 88, .58);
  border-radius: 0;
  color: var(--cs-gold-light);
  background: linear-gradient(180deg, rgba(216, 174, 88, .15), rgba(216, 174, 88, .05));
  font: inherit;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
}
.cs-tvPageButton:hover,
.cs-tvPageButton:focus-visible {
  border-color: var(--cs-gold-light);
  background: rgba(216, 174, 88, .22);
  outline: 2px solid rgba(244, 214, 145, .24);
  outline-offset: 2px;
}
.cs-tvPageButton:disabled {
  opacity: .35;
  cursor: default;
}
.cs-tv-mode .cs-item[hidden] { display: none !important; }

@media (max-width: 720px) {
  .cs-liveboard-wrap {
    padding: 12px;
    border-radius: 0;
    background-position: 58% top;
  }

  .cs-card {
    padding: 16px;
    border-radius: 0;
  }

  .cs-title {
    font-size: clamp(18px, 7vw, 26px);
    line-height: 1.18;
  }

  .cs-head,
  .cs-rowTop {
    flex-direction: column;
  }

  .cs-rowTop > div {
    justify-content: flex-start !important;
  }

  .cs-item {
    padding: 14px;
  }

  .cs-input,
  .cs-input.small,
  .cs-input.dur,
  .cs-select {
    width: 100%;
  }

  .cs-durationEditor {
    width: 100%;
  }

  .cs-durationEditor label {
    flex: 1 1 50%;
  }

  .cs-durationEditor .cs-input,
  .cs-defaultDuration .cs-input {
    width: 100%;
  }

  .cs-timeEditor {
    width: 100%;
  }

  .cs-timeEditor .cs-input.time {
    width: calc(100% - 76px);
  }

  .cs-periodToggle {
    width: 76px;
  }

  .cs-adminLeft,
  .cs-adminRow,
  .cs-sessionControls {
    align-items: stretch;
    flex-direction: column;
  }

  .cs-sessionControls {
    width: 100%;
  }

  .cs-timingState {
    justify-content: center;
  }

  .cs-emergencyPanel {
    align-items: stretch;
    flex-direction: column;
  }

  .cs-btn {
    width: 100%;
  }

  .cs-socialFooter {
    align-items: center;
    flex-direction: column;
    padding: 12px 10px;
  }

  .cs-socialLinks {
    flex-direction: column;
    gap: 6px;
  }

  .cs-socialDivider { display: none; }

  .cs-socialLinks a { overflow-wrap: anywhere; }

  .cs-timer-tv-mode .cs-socialFooter {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .cs-announcement { grid-template-columns: 1fr; }

  .cs-packageRow { grid-template-columns: 1fr; }
  .cs-toolPanel { align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .cs-liveboard-wrap *,
  .cs-liveboard-wrap *::before,
  .cs-liveboard-wrap *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .cs-liveDot::after {
    animation: none !important;
    opacity: .35;
  }
}
