.truk-clock2,
.truk-clock2 * {
  box-sizing: border-box;
}

.truk-clock2 {
  --bg: #05070d;
  --panel: rgba(13,18,30,0.94);
  --line: rgba(95,125,180,0.26);
  --text: #f4f7ff;
  --muted: #8f9bb6;
  --cyan: #00d9ff;
  --pink: #ff2f92;
  --green: #00ff99;
  --amber: #ffcc00;
  --red: #ff3b3b;
  width: 100%;
  min-height: 720px;
  padding: clamp(14px, 1.4vw, 26px);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 15% 8%, rgba(0,217,255,0.14), transparent 30%),
    radial-gradient(circle at 85% 82%, rgba(255,47,146,0.13), transparent 34%),
    linear-gradient(135deg, #03050a 0%, #09111f 48%, #03050a 100%);
  border-radius: 28px;
  overflow: hidden;
}

.truk-clock2 .truk-top {
  display: grid;
  grid-template-columns: 1fr auto auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  margin-bottom: 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(22,31,49,0.96), rgba(8,13,24,0.9));
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(0,0,0,0.28);
}

.truk-clock2 .truk-title {
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(0,217,255,0.22);
}

.truk-clock2 .truk-subtitle,
.truk-clock2 .truk-date,
.truk-clock2 .truk-help,
.truk-clock2 .truk-source {
  color: var(--muted);
}

.truk-clock2 .truk-subtitle {
  margin-top: 6px;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.truk-clock2 .truk-pill {
  justify-self: center;
  padding: 12px 24px;
  border-radius: 999px;
  background: rgba(0,217,255,0.12);
  border: 1px solid rgba(0,217,255,0.36);
  font-weight: 950;
  color: var(--cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


.truk-clock2 .truk-theme-picker {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.truk-clock2 .truk-theme-picker select {
  max-width: 170px;
  border: 1px solid rgba(0,217,255,0.34);
  border-radius: 999px;
  background: rgba(5,7,13,0.86);
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: none;
  padding: 8px 32px 8px 12px;
  cursor: pointer;
  outline: none;
}

.truk-clock2 .truk-theme-picker select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255,47,146,0.18);
}

.truk-clock2 .truk-date {
  justify-self: end;
  text-align: right;
  font-weight: 900;
}

.truk-clock2 .truk-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr 1fr;
  gap: 18px;
}

.truk-clock2 .truk-panel {
  min-width: 0;
  padding: clamp(14px, 1vw, 20px);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(22,31,49,0.96), rgba(8,13,24,0.9));
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.06);
}

.truk-clock2 .truk-centre {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  outline: none;
  padding-top: clamp(12px, 1vw, 20px);
}


.truk-clock2 .truk-ad-block-alert {
  width: min(100%, 420px);
  margin: 0 0 2px;
  appearance: none;
  border: 2px solid rgba(255,47,146,0.9);
  border-radius: 18px;
  padding: 10px 18px;
  background: rgba(255,47,146,0.14);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: clamp(1.05rem, 1.65vw, 1.75rem);
  font-weight: 950;
  letter-spacing: 0.18em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(255,255,255,0.28);
  box-shadow:
    0 0 0 2px rgba(255,47,146,0.12),
    0 0 26px rgba(255,47,146,0.32),
    inset 0 1px 0 rgba(255,255,255,0.09);
  animation: trukAdBlockFlash 2.4s ease-in-out infinite;
}

.truk-clock2 .truk-ad-block-alert[hidden] {
  display: none !important;
}

.truk-clock2 .truk-ad-block-alert:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

@keyframes trukAdBlockFlash {
  0%, 100% {
    background: rgba(255,47,146,0.12);
    box-shadow:
      0 0 0 2px rgba(255,47,146,0.12),
      0 0 20px rgba(255,47,146,0.22);
    transform: scale(1);
  }
  50% {
    background: rgba(255,47,146,0.42);
    box-shadow:
      0 0 0 3px rgba(255,47,146,0.22),
      0 0 38px rgba(255,47,146,0.58);
    transform: scale(1.012);
  }
}

.truk-clock2 .truk-panel-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.truk-clock2 .truk-gap { margin-top: 22px; }

.truk-clock2 .truk-timer-title,
.truk-clock2 .truk-countdown-title {
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(0,217,255,0.18);
}

.truk-clock2 .truk-timer-title span,
.truk-clock2 .truk-countdown-title span {
  color: var(--pink);
}

.truk-clock2 .truk-big-timer,
.truk-clock2 .truk-countdown {
  font-size: clamp(1.8rem, 3.2vw, 3.8rem);
  line-height: 0.92;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(0,217,255,0.24);
  white-space: nowrap;
}

.truk-clock2 .truk-countdown { font-size: clamp(2.2rem, 3.5vw, 4.2rem); }

.truk-clock2 .truk-help {
  margin-top: 10px;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.3;
}


.truk-clock2 .truk-up-next {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(0,0,0,0.24);
  border: 1px solid rgba(0,217,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.truk-clock2 .truk-up-next-poster {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.truk-clock2 .truk-up-next-poster img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.truk-clock2 .truk-up-next-content {
  min-width: 0;
  flex: 1;
}

.truk-clock2 .truk-up-next-label {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.truk-clock2 .truk-up-next-title {
  margin-top: 6px;
  font-size: clamp(1rem, 1.35vw, 1.45rem);
  line-height: 1.08;
  font-weight: 950;
  color: var(--text);
}

.truk-clock2 .truk-up-next-meta {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.25;
  font-weight: 800;
}

.truk-clock2 .truk-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.truk-clock2 button {
  cursor: pointer;
  padding: 10px 8px;
  border-radius: 14px;
  border: 1px solid rgba(0,217,255,0.36);
  background: rgba(0,217,255,0.12);
  color: var(--text);
  font-weight: 900;
  text-transform: uppercase;
}

.truk-clock2 .truk-progress {
  height: 18px;
  margin-top: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0,0,0,0.32);
  border: 1px solid rgba(255,255,255,0.1);
}

.truk-clock2 .truk-progress > div {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--pink));
}

.truk-clock2 .truk-analogue {
  --clock-size: min(42vh, 31vw, 420px);
  width: var(--clock-size);
  height: var(--clock-size);
  aspect-ratio: 1 / 1;
  flex: 0 0 var(--clock-size);
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.12) 0 5%, transparent 6%),
    radial-gradient(circle at center, rgba(0,217,255,0.09), rgba(0,0,0,0.56));
  border: 12px solid rgba(255,255,255,0.13);
  box-shadow: inset 0 0 38px rgba(0,0,0,0.52), 0 0 42px rgba(0,217,255,0.18), 0 0 54px rgba(255,47,146,0.1);
}

.truk-clock2 .truk-ticks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.truk-clock2 .truk-ticks line {
  stroke: rgba(255,255,255,0.48);
  stroke-width: 0.55;
  stroke-linecap: round;
}

.truk-clock2 .truk-ticks line.major {
  stroke: rgba(255,255,255,0.94);
  stroke-width: 1.25;
}

.truk-clock2 .truk-num {
  z-index: 2;
  position: absolute;
  font-size: clamp(1.8rem, 3vw, 3.6rem);
  font-weight: 950;
  transform: translate(-50%, -50%);
  color: var(--text);
  text-shadow: 0 0 18px rgba(255,255,255,0.22);
}

.truk-clock2 .n12 { top: 12%; left: 50%; }
.truk-clock2 .n3 { top: 50%; left: 88%; }
.truk-clock2 .n6 { top: 88%; left: 50%; }
.truk-clock2 .n9 { top: 50%; left: 12%; }

.truk-clock2 .truk-hand {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 50%;
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(0deg);
  border-radius: 999px;
}

.truk-clock2 .truk-hour { width: 13px; height: 27%; background: #fff; }
.truk-clock2 .truk-minute { width: 8px; height: 37%; background: var(--cyan); box-shadow: 0 0 18px rgba(0,217,255,0.45); }
.truk-clock2 .truk-second { width: 4px; height: 42%; background: var(--pink); box-shadow: 0 0 18px rgba(255,47,146,0.62); }

.truk-clock2 .truk-centre-dot {
  position: absolute;
  z-index: 5;
  width: 28px;
  height: 28px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 6px solid var(--pink);
  border-radius: 50%;
}

.truk-clock2 .truk-digital {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}

.truk-clock2 .truk-digital-face {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 64%;
  transform: translate(-50%, -50%);
  width: min(54%, 210px);
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(3, 8, 18, 0.62);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 10px 28px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.truk-clock2 .truk-digital span {
  font-size: clamp(1.25rem, 2.2vw, 2.15rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.truk-clock2 .truk-digital small {
  font-size: clamp(0.82rem, 1.15vw, 1.2rem);
  font-weight: 950;
  color: var(--cyan);
}

.truk-clock2 .truk-world {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.truk-clock2 .truk-world-card,
.truk-clock2 .truk-card,
.truk-clock2 .truk-weather-card {
  padding: 12px;
  border-radius: 16px;
  background: rgba(0,0,0,0.24);
  border: 1px solid rgba(255,255,255,0.1);
}

.truk-clock2 .truk-world-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  padding: 8px 6px;
  text-align: center;
  font-weight: 900;
}

.truk-clock2 .truk-world-country {
  display: block;
  max-width: 100%;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(0.58rem, 0.72vw, 0.74rem);
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.truk-clock2 .truk-world-time {
  display: block;
  max-width: 100%;
  color: var(--text);
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.truk-clock2 .truk-world-card span:first-child {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(0.58rem, 0.72vw, 0.74rem);
}

.truk-clock2 .truk-headline {
  font-size: clamp(1.25rem, 1.8vw, 2.1rem);
  line-height: 1.12;
  font-weight: 950;
}

.truk-clock2 .truk-source {
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 800;
}

.truk-clock2 .truk-weather {
  display: grid;
  gap: 9px;
}

.truk-clock2 .truk-weather-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-weight: 900;
}



.truk-clock2 .truk-weather-flag {
  width: 34px;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 1.45rem;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.truk-clock2 .truk-weather-graphic {
  width: 54px;
  min-width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: radial-gradient(circle at 35% 25%, rgba(255,255,255,0.18), rgba(0,217,255,0.08));
  border: 1px solid rgba(0,217,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 18px rgba(0,217,255,0.08);
}

.truk-clock2 .truk-weather-icon {
  width: 45px;
  height: 45px;
  overflow: visible;
}

.truk-clock2 .truk-weather-sun {
  fill: #ffcc00;
  filter: drop-shadow(0 0 8px rgba(255,204,0,0.45));
}

.truk-clock2 .truk-weather-rays line {
  stroke: #ffcc00;
  stroke-width: 4;
  stroke-linecap: round;
}

.truk-clock2 .truk-weather-cloud {
  fill: #d9e7ff;
  opacity: 0.96;
  filter: drop-shadow(0 0 8px rgba(0,217,255,0.18));
}

.truk-clock2 .truk-weather-rain line {
  stroke: var(--cyan);
  stroke-width: 4;
  stroke-linecap: round;
}

.truk-clock2 .truk-weather-fog line {
  stroke: rgba(244,247,255,0.78);
  stroke-width: 4;
  stroke-linecap: round;
}

.truk-clock2 .truk-weather-lightning {
  fill: var(--amber);
  filter: drop-shadow(0 0 8px rgba(255,204,0,0.5));
}

.truk-clock2 .truk-weather-snow text {
  fill: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.truk-clock2 .truk-weather-copy {
  flex: 1;
  min-width: 0;
}

.truk-clock2 .truk-temp {
  color: var(--cyan);
  font-size: 1.55rem;
  font-weight: 950;
}

@media (max-width: 1050px) {
  .truk-clock2 .truk-top,
  .truk-clock2 .truk-grid {
    grid-template-columns: 1fr;
  }

  .truk-clock2 .truk-date,
  .truk-clock2 .truk-pill,
  .truk-clock2 .truk-theme-picker {
    justify-self: stretch;
    text-align: left;
  }

  .truk-clock2 .truk-theme-picker {
    justify-content: space-between;
  }

  .truk-clock2 .truk-theme-picker select {
    max-width: none;
    width: min(260px, 100%);
  }

  .truk-clock2 .truk-analogue {
    --clock-size: min(78vw, 400px);
  }

  .truk-clock2 .truk-digital-face {
    width: min(58%, 190px);
    padding: 6px 10px;
  }

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

/* Listener message/contact block */
.truk-listener-message,
.truk-listener-message * {
  box-sizing: border-box;
}

.truk-listener-message {
  --text: #f4f7ff;
  --muted: #8f9bb6;
  --cyan: #00d9ff;
  --pink: #ff2f92;
  --green: #00ff99;
  --red: #ff3b3b;
  width: 100%;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

.truk-listener-card {
  padding: clamp(18px, 2vw, 30px);
  border-radius: 26px;
  background:
    radial-gradient(circle at 15% 8%, rgba(0,217,255,0.14), transparent 30%),
    radial-gradient(circle at 85% 82%, rgba(255,47,146,0.13), transparent 34%),
    linear-gradient(135deg, rgba(22,31,49,0.96), rgba(8,13,24,0.94));
  border: 1px solid rgba(95,125,180,0.26);
  box-shadow: 0 18px 44px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.06);
}

.truk-listener-title {
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(0,217,255,0.22);
}

.truk-listener-intro {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.truk-listener-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.truk-listener-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.truk-listener-form input,
.truk-listener-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.16) !important;
  border-radius: 16px;
  background: rgba(0,0,0,0.42) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff !important;
  padding: 13px 14px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
}


.truk-listener-form textarea {
  min-height: 92px;
  resize: vertical;
}

.truk-listener-form input::placeholder,
.truk-listener-form textarea::placeholder {
  color: rgba(255,255,255,0.72) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.72) !important;
  opacity: 1;
}

.truk-listener-form input:-webkit-autofill,
.truk-listener-form textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px rgba(0,0,0,0.72) inset !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff !important;
}

.truk-listener-form input:focus,
.truk-listener-form textarea:focus {
  border-color: rgba(0,217,255,0.54);
  box-shadow: 0 0 0 3px rgba(0,217,255,0.12);
}

.truk-listener-check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.9rem !important;
  line-height: 1.35;
}

.truk-listener-check input {
  width: auto;
  margin-top: 2px;
}

.truk-listener-hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

.truk-listener-form button {
  cursor: pointer;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(0,217,255,0.36);
  background: linear-gradient(90deg, rgba(0,217,255,0.24), rgba(255,47,146,0.22));
  color: var(--text);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.truk-listener-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.truk-listener-status {
  min-height: 1.4em;
  font-weight: 900;
  color: var(--muted);
}

.truk-listener-status.is-success {
  color: var(--green);
}

.truk-listener-status.is-error {
  color: var(--red);
}

.truk-listener-status.is-working {
  color: var(--cyan);
}


/* Listener message button/popup mode */
.truk-listener-popup-mode {
  position: relative;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.truk-listener-open-button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 320px);
  padding: 15px 22px;
  border-radius: 999px;
  border: 1px solid rgba(0,217,255,0.42);
  background: linear-gradient(90deg, rgba(0,217,255,0.26), rgba(255,47,146,0.24));
  color: var(--text);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 14px 34px rgba(0,0,0,0.26), 0 0 24px rgba(0,217,255,0.12);
}

.truk-listener-open-button:focus-visible,
.truk-listener-close-button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.truk-listener-button-status {
  text-align: center;
  font-size: 0.92rem;
}

.truk-listener-panel {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  padding: 18px;
  background: rgba(0,0,0,0.68);
  align-items: center;
  justify-content: center;
}

.truk-listener-panel.is-open {
  display: flex;
}

.truk-listener-panel .truk-listener-card {
  position: relative;
  width: min(94vw, 620px);
  max-height: min(92vh, 720px);
  overflow: auto;
}

.truk-listener-close-button {
  cursor: pointer;
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.38);
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 900;
}

.truk-listener-panel .truk-listener-title {
  padding-right: 42px;
}
/* Latest listener messages inside the Show Timer panel */
.truk-clock2 .truk-message-stack {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  margin-top: 8px;
  padding: 7px 8px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 15%, rgba(0,217,255,0.14), transparent 34%),
    linear-gradient(135deg, rgba(10,16,30,0.96), rgba(22,31,49,0.94));
  border: 1px solid rgba(0,217,255,0.34);
  box-shadow:
    0 12px 32px rgba(0,0,0,0.24),
    0 0 24px rgba(0,217,255,0.1),
    inset 0 1px 0 rgba(255,255,255,0.08);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.truk-clock2 .truk-message-stack.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.truk-clock2 .truk-message-stack-title {
  color: var(--cyan);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.truk-clock2 .truk-message-list {
  display: grid;
  gap: 5px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.truk-clock2 .truk-message-card {
  box-sizing: border-box !important;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
  appearance: none;
  cursor: pointer;
  text-align: left;
  padding: 6px 8px;
  border-radius: 11px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--text);
  font-family: inherit;
}

.truk-clock2 .truk-message-card.is-newest {
  border-color: rgba(255,47,146,0.44);
  box-shadow: 0 0 18px rgba(255,47,146,0.08);
}

.truk-clock2 .truk-message-card.is-unacknowledged {
  animation: trukMessageFlash 2.1s ease-in-out infinite;
  border-color: rgba(255,47,146,0.95);
  box-shadow:
    0 0 0 2px rgba(255,47,146,0.14),
    0 0 24px rgba(255,47,146,0.32),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.truk-clock2 .truk-message-card.is-acknowledged {
  opacity: 0.82;
}

.truk-clock2 .truk-message-card:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

@keyframes trukMessageFlash {
  0%, 100% {
    background: rgba(0,0,0,0.22);
    transform: scale(1);
  }
  50% {
    background: rgba(255,47,146,0.24);
    transform: scale(1.006);
  }
}

.truk-clock2 .truk-message-topline {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}

.truk-clock2 .truk-message-name {
  min-width: 0;
  color: var(--pink);
  font-size: clamp(0.72rem, 0.82vw, 0.9rem);
  line-height: 1.05;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.truk-clock2 .truk-message-time {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.truk-clock2 .truk-message-text {
  margin-top: 3px;
  color: var(--text);
  font-size: clamp(0.72rem, 0.84vw, 0.92rem);
  line-height: 1.16;
  font-weight: 800;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  display: block;
  overflow: visible;
  max-width: 100%;
}


.truk-clock2 .truk-message-actions {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.truk-clock2 .truk-message-ack,
.truk-clock2 .truk-message-delete {
  color: var(--pink);
  font-size: 0.55rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.truk-clock2 .truk-message-delete {
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255,47,146,0.12);
  border: 1px solid rgba(255,47,146,0.34);
  white-space: nowrap;
}

.truk-clock2 .truk-message-delete:hover,
.truk-clock2 .truk-message-delete:focus-visible {
  background: rgba(255,47,146,0.26);
  outline: none;
}

.truk-clock2 .truk-message-card.is-acknowledged .truk-message-ack {
  display: none;
}

.truk-clock2 .truk-message-card.is-acknowledged .truk-message-actions {
  justify-content: flex-end;
}

/* Live metadata gate for listener messages */
.truk-listener-live-status {
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 16px;
  font-weight: 900;
  line-height: 1.35;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.28);
  color: var(--muted);
}

.truk-listener-live-status.is-open {
  color: var(--green);
  border-color: rgba(0,255,153,0.34);
  background: rgba(0,255,153,0.08);
}

.truk-listener-live-status.is-closed,
.truk-listener-live-status.is-checking {
  color: var(--pink);
  border-color: rgba(255,47,146,0.34);
  background: rgba(255,47,146,0.08);
}

.truk-listener-message.is-messages-closed .truk-listener-form {
  opacity: 0.58;
}

.truk-listener-message.is-messages-closed .truk-listener-form button,
.truk-listener-message.is-messages-closed .truk-listener-form input,
.truk-listener-message.is-messages-closed .truk-listener-form textarea {
  cursor: not-allowed;
}

.truk-clock2 .truk-override-toggle {
  margin-top: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  border-radius: 14px;
  background: rgba(255, 47, 146, 0.10);
  border: 1px solid rgba(255, 47, 146, 0.32);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.25;
}

.truk-clock2 .truk-override-toggle[hidden] {
  display: none !important;
}

.truk-clock2 .truk-override-toggle input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--pink);
}


.truk-listener-message label small {
  color: var(--muted);
  font-size: 0.78em;
  font-weight: 700;
}

/* Presenter management notice */
.truk-clock2 .truk-management-notice {
  width: 100%;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255,47,146,0.18), rgba(0,217,255,0.10)),
    rgba(8,13,24,0.94);
  border: 1px solid rgba(255,47,146,0.42);
  box-shadow: 0 18px 44px rgba(0,0,0,0.28), 0 0 32px rgba(255,47,146,0.14);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  overflow: hidden;
}

.truk-clock2 .truk-management-notice[hidden] {
  display: none !important;
}

.truk-clock2 .truk-management-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: trukManagementNoticePulse 1.55s ease-in-out infinite;
}

.truk-clock2 .truk-management-notice.is-acknowledged {
  opacity: 1;
  transform: translateY(0);
  animation: none;
  border-color: rgba(0,255,153,0.38);
  box-shadow: 0 18px 44px rgba(0,0,0,0.28), 0 0 22px rgba(0,255,153,0.12);
}

.truk-clock2 .truk-management-notice-kicker {
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.truk-clock2 .truk-management-notice-title {
  color: var(--text);
  font-size: clamp(1.2rem, 1.6vw, 2rem);
  line-height: 1.05;
  font-weight: 950;
  margin-bottom: 6px;
}

.truk-clock2 .truk-management-notice-message {
  color: var(--text);
  font-size: clamp(0.95rem, 1.05vw, 1.2rem);
  line-height: 1.35;
  font-weight: 800;
  overflow-wrap: anywhere;
  word-break: normal;
}

.truk-clock2 .truk-management-notice-ack {
  cursor: pointer;
  justify-self: end;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,47,146,0.58);
  background: rgba(255,47,146,0.18);
  color: var(--text);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.truk-clock2 .truk-management-notice-ack:hover,
.truk-clock2 .truk-management-notice-ack:focus-visible {
  background: rgba(255,47,146,0.30);
  outline: 2px solid rgba(255,47,146,0.52);
  outline-offset: 2px;
}

.truk-clock2 .truk-management-notice-ack.is-thank-you {
  border-color: rgba(0,255,153,0.48);
  background: rgba(0,255,153,0.14);
  color: var(--green);
  cursor: default;
}

.truk-clock2 .truk-management-notice-ack.is-thank-you:hover,
.truk-clock2 .truk-management-notice-ack.is-thank-you:focus-visible {
  background: rgba(0,255,153,0.18);
  outline-color: rgba(0,255,153,0.42);
}

@keyframes trukManagementNoticePulse {
  0%, 100% {
    border-color: rgba(255,47,146,0.46);
    background:
      linear-gradient(135deg, rgba(255,47,146,0.18), rgba(0,217,255,0.10)),
      rgba(8,13,24,0.94);
    box-shadow:
      0 18px 44px rgba(0,0,0,0.28),
      0 0 24px rgba(255,47,146,0.18),
      inset 0 0 0 1px rgba(255,255,255,0.04);
  }
  50% {
    border-color: rgba(255,47,146,1);
    background:
      linear-gradient(135deg, rgba(255,47,146,0.34), rgba(0,217,255,0.12)),
      rgba(18,13,26,0.98);
    box-shadow:
      0 18px 44px rgba(0,0,0,0.28),
      0 0 52px rgba(255,47,146,0.58),
      0 0 12px rgba(255,47,146,0.34),
      inset 0 0 0 2px rgba(255,47,146,0.24);
  }
}

@media (max-width: 760px) {
  .truk-clock2 .truk-management-notice {
    grid-template-columns: 1fr;
  }

  .truk-clock2 .truk-management-notice-ack {
    justify-self: stretch;
  }
}


/* Filler prompt box */
.truk-clock2 .truk-filler-prompt-wrap {
  width: 100%;
  max-width: 100%;
  display: grid;
  gap: 8px;
  margin-top: 12px;
  overflow: hidden;
}

.truk-clock2 .truk-filler-toggle {
  justify-self: center;
  max-width: 100%;
  cursor: pointer;
  border: 1px solid rgba(255,47,146,0.34);
  background: rgba(255,47,146,0.10);
  color: var(--pink);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: clamp(0.7rem, 0.78vw, 0.86rem);
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

.truk-clock2 .truk-filler-toggle:hover,
.truk-clock2 .truk-filler-toggle:focus-visible {
  background: rgba(255,47,146,0.20);
  box-shadow: 0 0 18px rgba(255,47,146,0.18);
  outline: none;
}

.truk-clock2 .truk-filler-prompt-wrap.is-hidden .truk-filler-prompt {
  display: none;
}

.truk-clock2 .truk-filler-prompt-wrap.is-hidden {
  margin-top: 2px;
}

.truk-clock2 .truk-filler-prompt {
  width: 100%;
  margin-top: 2px;
  padding: 10px 12px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0,217,255,0.10), rgba(255,47,146,0.12));
  border: 1px solid rgba(0,217,255,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 24px rgba(0,217,255,0.08);
  overflow: hidden;
}

.truk-clock2 .truk-filler-prompt.is-changing {
  animation: trukFillerPromptGlow 0.7s ease-out;
}

.truk-clock2 .truk-filler-prompt-title {
  margin-bottom: 7px;
  color: var(--pink);
  font-size: clamp(0.76rem, 0.86vw, 0.95rem);
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.truk-clock2 .truk-filler-prompt-text {
  color: var(--text);
  font-size: clamp(0.85rem, 0.95vw, 1.05rem);
  line-height: 1.28;
  font-weight: 850;
  text-align: center;
  overflow-wrap: anywhere;
}

@keyframes trukFillerPromptGlow {
  0% {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 10px rgba(255,47,146,0.05);
    transform: translateY(0);
  }
  45% {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 34px rgba(255,47,146,0.26), 0 0 18px rgba(0,217,255,0.14);
    transform: translateY(-1px);
  }
  100% {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 24px rgba(0,217,255,0.08);
    transform: translateY(0);
  }
}

/* Presenter material info box */
.truk-clock2 .truk-presenter-info {
  width: 100%;
  margin-top: 4px;
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,47,146,0.13), rgba(0,217,255,0.08));
  border: 1px solid rgba(255,47,146,0.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 26px rgba(255,47,146,0.10);
  overflow: hidden;
}

.truk-clock2 .truk-presenter-info-title {
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(0.95rem, 1.15vw, 1.2rem);
  font-weight: 950;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(255,47,146,0.32);
}

.truk-clock2 .truk-presenter-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.truk-clock2 .truk-presenter-info-item {
  min-width: 0;
  padding: 10px;
  border-radius: 14px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.10);
}

.truk-clock2 .truk-presenter-info-heading {
  margin-bottom: 6px;
  color: var(--pink);
  font-size: clamp(0.72rem, 0.8vw, 0.88rem);
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.truk-clock2 .truk-presenter-info-text {
  color: var(--text);
  font-size: clamp(0.78rem, 0.85vw, 0.95rem);
  line-height: 1.28;
  overflow-wrap: anywhere;
  word-break: normal;
}

.truk-clock2 .truk-presenter-info-text ul {
  margin: 0;
  padding-left: 1.15em;
}

.truk-clock2 .truk-presenter-info-text li {
  margin: 0 0 0.45em;
}

.truk-clock2 .truk-presenter-info-source {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 1050px) {
  .truk-clock2 .truk-presenter-info-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   TRUK Clock 2 selectable colour schemes
   Controlled in: Settings → TRUK Clock 2 → Colour scheme
   ========================================================= */


.truk-clock2.truk-theme-original {
  /* Original Screenabl-style Trans Radio UK dark dashboard theme.
     It uses the default variables and panel styling defined above. */
}

.truk-clock2.truk-theme-black {
  --text: #f4f7ff;
  --muted: #8f9bb6;
  --cyan: #00d9ff;
  --pink: #ff2f92;
  --green: #00ff99;
  --amber: #ffcc00;
  --red: #ff3b3b;
  --line: rgba(95,125,180,0.26);
  background:
    radial-gradient(circle at 15% 8%, rgba(0,217,255,0.14), transparent 30%),
    radial-gradient(circle at 85% 82%, rgba(255,47,146,0.13), transparent 34%),
    linear-gradient(135deg, #03050a 0%, #09111f 48%, #03050a 100%);
}

.truk-clock2.truk-theme-lgbtq {
  --text: #ffffff;
  --muted: #d7ddff;
  --cyan: #5bcefa;
  --pink: #f5a9b8;
  --green: #66ffb5;
  --amber: #ffe066;
  --red: #ff5d7d;
  --line: rgba(255,255,255,0.22);
  background:
    radial-gradient(circle at 12% 14%, rgba(228,3,3,0.22), transparent 24%),
    radial-gradient(circle at 34% 4%, rgba(255,140,0,0.18), transparent 26%),
    radial-gradient(circle at 70% 5%, rgba(0,128,38,0.16), transparent 27%),
    radial-gradient(circle at 90% 82%, rgba(115,41,130,0.24), transparent 34%),
    linear-gradient(135deg, #111342 0%, #0b0f2f 42%, #24103f 100%);
}

.truk-clock2.truk-theme-white {
  --text: #172033;
  --muted: #657289;
  --cyan: #007bbd;
  --pink: #db3c86;
  --green: #008a5f;
  --amber: #b26b00;
  --red: #d9304f;
  --line: rgba(34,52,82,0.14);
  background:
    radial-gradient(circle at 18% 8%, rgba(0,123,189,0.12), transparent 30%),
    radial-gradient(circle at 86% 88%, rgba(219,60,134,0.10), transparent 34%),
    linear-gradient(135deg, #f7fbff 0%, #ffffff 50%, #eef6ff 100%);
}

.truk-clock2.truk-theme-orange {
  --text: #fff8ee;
  --muted: #ffd9aa;
  --cyan: #ffd166;
  --pink: #ff7a59;
  --green: #8cffb2;
  --amber: #ffb000;
  --red: #ff4d4d;
  --line: rgba(255,190,100,0.25);
  background:
    radial-gradient(circle at 18% 8%, rgba(255,176,0,0.20), transparent 30%),
    radial-gradient(circle at 86% 86%, rgba(255,94,58,0.18), transparent 34%),
    linear-gradient(135deg, #1a0e05 0%, #241006 45%, #3a1607 100%);
}

.truk-clock2.truk-theme-blue {
  --text: #f4fbff;
  --muted: #a8c8e8;
  --cyan: #5ad7ff;
  --pink: #8aa7ff;
  --green: #6fffd2;
  --amber: #ffd166;
  --red: #ff5d7d;
  --line: rgba(90,180,255,0.26);
  background:
    radial-gradient(circle at 16% 10%, rgba(90,215,255,0.20), transparent 30%),
    radial-gradient(circle at 86% 84%, rgba(77,99,255,0.18), transparent 34%),
    linear-gradient(135deg, #031123 0%, #08264b 50%, #020915 100%);
}

.truk-clock2.truk-theme-pink {
  --text: #fff7fb;
  --muted: #ffd2e4;
  --cyan: #ffc2dc;
  --pink: #ff5fa2;
  --green: #9effc6;
  --amber: #ffd27d;
  --red: #ff6f91;
  --line: rgba(255,135,180,0.30);
  background:
    radial-gradient(circle at 15% 8%, rgba(255,95,162,0.24), transparent 30%),
    radial-gradient(circle at 86% 84%, rgba(255,194,220,0.18), transparent 34%),
    linear-gradient(135deg, #1b0711 0%, #351026 48%, #12050c 100%);
}

.truk-clock2.truk-theme-accessibility {
  --text: #ffffff;
  --muted: #f3f7ff;
  --cyan: #00e5ff;
  --pink: #ff6bd6;
  --green: #41ff8a;
  --amber: #ffd800;
  --red: #ff5a5f;
  --line: rgba(255,255,255,0.72);
  background:
    radial-gradient(circle at 14% 10%, rgba(0,229,255,0.16), transparent 28%),
    radial-gradient(circle at 86% 84%, rgba(255,216,0,0.15), transparent 34%),
    linear-gradient(135deg, #000000 0%, #071323 48%, #000000 100%);
}

.truk-clock2.truk-theme-lgbtq .truk-top,
.truk-clock2.truk-theme-lgbtq .truk-panel,
.truk-clock2.truk-theme-lgbtq .truk-management-notice,
.truk-clock2.truk-theme-lgbtq .truk-card,
.truk-clock2.truk-theme-lgbtq .truk-weather-card,
.truk-clock2.truk-theme-lgbtq .truk-world-card,
.truk-clock2.truk-theme-lgbtq .truk-presenter-info,
.truk-clock2.truk-theme-lgbtq .truk-presenter-info-item,
.truk-clock2.truk-theme-lgbtq .truk-up-next,
.truk-clock2.truk-theme-orange .truk-top,
.truk-clock2.truk-theme-orange .truk-panel,
.truk-clock2.truk-theme-orange .truk-management-notice,
.truk-clock2.truk-theme-orange .truk-card,
.truk-clock2.truk-theme-orange .truk-weather-card,
.truk-clock2.truk-theme-orange .truk-world-card,
.truk-clock2.truk-theme-orange .truk-presenter-info,
.truk-clock2.truk-theme-orange .truk-presenter-info-item,
.truk-clock2.truk-theme-orange .truk-up-next,
.truk-clock2.truk-theme-blue .truk-top,
.truk-clock2.truk-theme-blue .truk-panel,
.truk-clock2.truk-theme-blue .truk-management-notice,
.truk-clock2.truk-theme-blue .truk-card,
.truk-clock2.truk-theme-blue .truk-weather-card,
.truk-clock2.truk-theme-blue .truk-world-card,
.truk-clock2.truk-theme-blue .truk-presenter-info,
.truk-clock2.truk-theme-blue .truk-presenter-info-item,
.truk-clock2.truk-theme-blue .truk-up-next,
.truk-clock2.truk-theme-pink .truk-top,
.truk-clock2.truk-theme-pink .truk-panel,
.truk-clock2.truk-theme-pink .truk-management-notice,
.truk-clock2.truk-theme-pink .truk-card,
.truk-clock2.truk-theme-pink .truk-weather-card,
.truk-clock2.truk-theme-pink .truk-world-card,
.truk-clock2.truk-theme-pink .truk-presenter-info,
.truk-clock2.truk-theme-pink .truk-presenter-info-item,
.truk-clock2.truk-theme-pink .truk-up-next,
.truk-clock2.truk-theme-accessibility .truk-top,
.truk-clock2.truk-theme-accessibility .truk-panel,
.truk-clock2.truk-theme-accessibility .truk-management-notice,
.truk-clock2.truk-theme-accessibility .truk-card,
.truk-clock2.truk-theme-accessibility .truk-weather-card,
.truk-clock2.truk-theme-accessibility .truk-world-card,
.truk-clock2.truk-theme-accessibility .truk-presenter-info,
.truk-clock2.truk-theme-accessibility .truk-presenter-info-item,
.truk-clock2.truk-theme-accessibility .truk-up-next {
  background: linear-gradient(135deg, rgba(22,31,49,0.86), rgba(6,10,18,0.72));
  border-color: var(--line);
  box-shadow: 0 18px 44px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.06);
}

.truk-clock2.truk-theme-white .truk-top,
.truk-clock2.truk-theme-white .truk-panel,
.truk-clock2.truk-theme-white .truk-management-notice,
.truk-clock2.truk-theme-white .truk-card,
.truk-clock2.truk-theme-white .truk-weather-card,
.truk-clock2.truk-theme-white .truk-world-card,
.truk-clock2.truk-theme-white .truk-presenter-info,
.truk-clock2.truk-theme-white .truk-presenter-info-item,
.truk-clock2.truk-theme-white .truk-up-next {
  background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(241,247,255,0.86));
  border-color: var(--line);
  box-shadow: 0 18px 44px rgba(36,58,94,0.12), inset 0 1px 0 rgba(255,255,255,0.78);
}

.truk-clock2.truk-theme-lgbtq .truk-title {
  background: linear-gradient(90deg, #e40303, #ff8c00, #ffed00, #008026, #24408e, #732982);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.truk-clock2.truk-theme-white .truk-title,
.truk-clock2.truk-theme-orange .truk-title,
.truk-clock2.truk-theme-blue .truk-title,
.truk-clock2.truk-theme-pink .truk-title,
.truk-clock2.truk-theme-accessibility .truk-title {
  color: var(--text);
  text-shadow: 0 0 24px color-mix(in srgb, var(--cyan) 30%, transparent);
}

.truk-clock2.truk-theme-white .truk-pill,
.truk-clock2.truk-theme-white button,
.truk-clock2.truk-theme-white .truk-ad-block-alert {
  color: var(--text);
}

.truk-clock2.truk-theme-white .truk-pill {
  background: rgba(0,123,189,0.10);
  border-color: rgba(0,123,189,0.24);
}

.truk-clock2.truk-theme-orange .truk-pill,
.truk-clock2.truk-theme-orange button {
  background: rgba(255,176,0,0.14);
  border-color: rgba(255,176,0,0.36);
  color: #fff8ee;
}

.truk-clock2.truk-theme-blue .truk-pill,
.truk-clock2.truk-theme-blue button {
  background: rgba(90,215,255,0.12);
  border-color: rgba(90,215,255,0.36);
  color: #f4fbff;
}

.truk-clock2.truk-theme-pink .truk-pill,
.truk-clock2.truk-theme-pink button {
  background: rgba(255,95,162,0.15);
  border-color: rgba(255,135,180,0.42);
  color: #fff7fb;
}

.truk-clock2.truk-theme-lgbtq .truk-pill,
.truk-clock2.truk-theme-lgbtq button {
  background: linear-gradient(90deg, rgba(228,3,3,0.14), rgba(255,140,0,0.12), rgba(0,128,38,0.12), rgba(36,64,142,0.14), rgba(115,41,130,0.14));
  border-color: rgba(255,255,255,0.26);
  color: #ffffff;
}

.truk-clock2.truk-theme-white .truk-analogue {
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.95) 0 5%, transparent 6%),
    radial-gradient(circle at center, rgba(0,123,189,0.12), rgba(255,255,255,0.92));
  border-color: rgba(23,32,51,0.12);
  box-shadow: inset 0 0 30px rgba(0,123,189,0.10), 0 0 42px rgba(0,123,189,0.12);
}

.truk-clock2.truk-theme-orange .truk-analogue {
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.12) 0 5%, transparent 6%),
    radial-gradient(circle at center, rgba(255,176,0,0.12), rgba(12,5,2,0.60));
  border-color: rgba(255,176,0,0.22);
}

.truk-clock2.truk-theme-blue .truk-analogue {
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.12) 0 5%, transparent 6%),
    radial-gradient(circle at center, rgba(90,215,255,0.12), rgba(0,5,15,0.62));
  border-color: rgba(90,215,255,0.22);
}

.truk-clock2.truk-theme-pink .truk-analogue {
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.12) 0 5%, transparent 6%),
    radial-gradient(circle at center, rgba(255,95,162,0.16), rgba(20,4,12,0.66));
  border-color: rgba(255,135,180,0.28);
  box-shadow: inset 0 0 38px rgba(0,0,0,0.46), 0 0 42px rgba(255,95,162,0.18);
}

.truk-clock2.truk-theme-lgbtq .truk-analogue {
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.12) 0 5%, transparent 6%),
    conic-gradient(from 0deg, rgba(228,3,3,0.22), rgba(255,140,0,0.22), rgba(255,237,0,0.18), rgba(0,128,38,0.22), rgba(36,64,142,0.24), rgba(115,41,130,0.24), rgba(228,3,3,0.22));
  border-color: rgba(255,255,255,0.20);
}

.truk-clock2.truk-theme-white .truk-ticks line,
.truk-clock2.truk-theme-white .truk-num {
  color: var(--text);
  stroke: rgba(23,32,51,0.45);
}

.truk-clock2.truk-theme-white .truk-ticks line.major {
  stroke: rgba(23,32,51,0.80);
}

.truk-clock2.truk-theme-white .truk-hour {
  background: #172033;
}

.truk-clock2.truk-theme-white .truk-card,
.truk-clock2.truk-theme-white .truk-weather-card,
.truk-clock2.truk-theme-white .truk-world-card,
.truk-clock2.truk-theme-white .truk-presenter-info-item,
.truk-clock2.truk-theme-white .truk-up-next,
.truk-clock2.truk-theme-white .truk-progress {
  background: rgba(255,255,255,0.62);
}

.truk-clock2.truk-theme-lgbtq .truk-progress > div {
  background: linear-gradient(90deg, #e40303, #ff8c00, #ffed00, #008026, #24408e, #732982);
}

.truk-clock2.truk-theme-orange .truk-progress > div {
  background: linear-gradient(90deg, #ffb000, #ff7a59, #ffd166);
}

.truk-clock2.truk-theme-blue .truk-progress > div {
  background: linear-gradient(90deg, #5ad7ff, #3f8cff, #8aa7ff);
}

.truk-clock2.truk-theme-white .truk-progress > div {
  background: linear-gradient(90deg, #008a5f, #007bbd, #db3c86);
}


.truk-clock2.truk-theme-accessibility .truk-top,
.truk-clock2.truk-theme-accessibility .truk-panel,
.truk-clock2.truk-theme-accessibility .truk-management-notice,
.truk-clock2.truk-theme-accessibility .truk-card,
.truk-clock2.truk-theme-accessibility .truk-weather-card,
.truk-clock2.truk-theme-accessibility .truk-world-card,
.truk-clock2.truk-theme-accessibility .truk-presenter-info,
.truk-clock2.truk-theme-accessibility .truk-presenter-info-item,
.truk-clock2.truk-theme-accessibility .truk-up-next,
.truk-clock2.truk-theme-accessibility .truk-listener-message-card,
.truk-clock2.truk-theme-accessibility .truk-filler-box {
  background: linear-gradient(135deg, rgba(0,0,0,0.94), rgba(5,18,35,0.92));
  border: 2px solid var(--line);
  box-shadow: 0 0 0 1px rgba(0,229,255,0.16), 0 18px 44px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.10);
}

.truk-clock2.truk-theme-accessibility .truk-title,
.truk-clock2.truk-theme-accessibility .truk-panel-title,
.truk-clock2.truk-theme-accessibility .truk-presenter-info-title,
.truk-clock2.truk-theme-accessibility .truk-filler-title,
.truk-clock2.truk-theme-accessibility .truk-message-status,
.truk-clock2.truk-theme-accessibility .truk-source {
  color: #ffffff;
  text-shadow: none;
}

.truk-clock2.truk-theme-accessibility .truk-pill,
.truk-clock2.truk-theme-accessibility button,
.truk-clock2.truk-theme-accessibility .truk-ad-block-alert,
.truk-clock2.truk-theme-accessibility .truk-theme-picker select {
  background: #000000;
  border: 2px solid var(--amber);
  color: #ffffff;
}

.truk-clock2.truk-theme-accessibility button:focus,
.truk-clock2.truk-theme-accessibility .truk-theme-picker select:focus,
.truk-clock2.truk-theme-accessibility .truk-panel-toggle:focus-visible {
  outline: 4px solid var(--amber);
  outline-offset: 3px;
}

.truk-clock2.truk-theme-accessibility .truk-big-timer,
.truk-clock2.truk-theme-accessibility .truk-countdown,
.truk-clock2.truk-theme-accessibility .truk-temp,
.truk-clock2.truk-theme-accessibility .truk-digital small {
  color: var(--amber);
}

.truk-clock2.truk-theme-accessibility .truk-analogue {
  background:
    radial-gradient(circle at center, rgba(255,216,0,0.16) 0 5%, transparent 6%),
    radial-gradient(circle at center, rgba(0,229,255,0.12), rgba(0,0,0,0.76));
  border-color: #ffffff;
  box-shadow: inset 0 0 34px rgba(0,0,0,0.72), 0 0 0 2px rgba(255,216,0,0.46), 0 0 38px rgba(0,229,255,0.20);
}

.truk-clock2.truk-theme-accessibility .truk-ticks line {
  stroke: rgba(255,255,255,0.82);
}

.truk-clock2.truk-theme-accessibility .truk-ticks line.major {
  stroke: var(--amber);
  stroke-width: 1.55;
}

.truk-clock2.truk-theme-accessibility .truk-hour {
  background: #ffffff;
}

.truk-clock2.truk-theme-accessibility .truk-minute {
  background: var(--amber);
  box-shadow: 0 0 18px rgba(255,216,0,0.55);
}

.truk-clock2.truk-theme-accessibility .truk-second {
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(0,229,255,0.55);
}

.truk-clock2.truk-theme-accessibility .truk-progress {
  border: 2px solid rgba(255,255,255,0.72);
  background: rgba(0,0,0,0.78);
}

.truk-clock2.truk-theme-accessibility .truk-progress > div {
  background: linear-gradient(90deg, var(--amber), var(--cyan));
}

.truk-clock2.truk-theme-accessibility .truk-num,
.truk-clock2.truk-theme-accessibility .truk-headline,
.truk-clock2.truk-theme-accessibility .truk-presenter-info-item,
.truk-clock2.truk-theme-accessibility .truk-filler-text,
.truk-clock2.truk-theme-accessibility .truk-listener-message-text {
  color: #ffffff;
}

/* Presenter-controlled panel toggles */
.truk-clock2 .truk-panel-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.truk-clock2 .truk-panel-control-row .truk-presenter-info-title {
  flex: 1 1 auto;
  margin-bottom: 0;
}

.truk-clock2 .truk-panel-toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.truk-clock2 .truk-panel-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.truk-clock2 .truk-panel-toggle-slider {
  position: relative;
  width: 42px;
  height: 22px;
  border-radius: 999px;
  background: rgba(0,0,0,0.34);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: inset 0 1px 4px rgba(0,0,0,0.38);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.truk-clock2 .truk-panel-toggle-slider::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform 180ms ease, background 180ms ease;
}

.truk-clock2 .truk-panel-toggle input:checked + .truk-panel-toggle-slider {
  background: rgba(255,47,146,0.28);
  border-color: rgba(255,47,146,0.72);
  box-shadow: 0 0 18px rgba(255,47,146,0.24), inset 0 1px 4px rgba(0,0,0,0.24);
}

.truk-clock2 .truk-panel-toggle input:checked + .truk-panel-toggle-slider::before {
  transform: translateX(20px);
  background: #fff;
}

.truk-clock2 .is-panel-hidden .truk-panel-toggle-label {
  color: var(--pink);
}

.truk-clock2 .truk-panel-toggle-label {
  min-width: 2.6rem;
  text-align: right;
}

.truk-clock2 .truk-panel-collapsible[hidden] {
  display: none !important;
}

.truk-clock2 .truk-news-block.is-panel-hidden,
.truk-clock2 .truk-presenter-info.is-panel-hidden {
  opacity: 0.78;
}

.truk-clock2 .truk-message-status-badge {
  width: 100%;
  margin-top: 14px;
  padding: 6px 8px;
  border-radius: 11px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.20);
  color: var(--muted);
}

.truk-clock2 .truk-message-status-badge.is-active {
  color: var(--green);
  border-color: rgba(0,255,153,0.42);
  background: rgba(0,255,153,0.10);
  box-shadow: 0 0 18px rgba(0,255,153,0.12);
}

.truk-clock2 .truk-message-status-badge.is-inactive {
  color: var(--pink);
  border-color: rgba(255,47,146,0.42);
  background: rgba(255,47,146,0.10);
  box-shadow: 0 0 18px rgba(255,47,146,0.10);
}

.truk-clock2 .truk-message-status-badge.is-checking {
  color: var(--cyan);
  border-color: rgba(0,217,255,0.34);
  background: rgba(0,217,255,0.08);
}

/* v1.0.56 accessibility pass */
.truk-clock2 :focus-visible,
.truk-listener-message :focus-visible {
  outline: 3px solid var(--amber, #ffd800);
  outline-offset: 3px;
}

.truk-clock2.truk-theme-accessibility {
  --text: #ffffff;
  --muted: #ffffff;
  --cyan: #00f0ff;
  --pink: #ff8be6;
  --green: #65ff9a;
  --amber: #ffe600;
  --red: #ff6a6a;
  --line: rgba(255,255,255,0.88);
}

.truk-clock2.truk-theme-accessibility .truk-subtitle,
.truk-clock2.truk-theme-accessibility .truk-date,
.truk-clock2.truk-theme-accessibility .truk-help,
.truk-clock2.truk-theme-accessibility .truk-source,
.truk-clock2.truk-theme-accessibility .truk-up-next-meta,
.truk-clock2.truk-theme-accessibility .truk-message-time,
.truk-clock2.truk-theme-accessibility .truk-panel-toggle,
.truk-clock2.truk-theme-accessibility .truk-theme-picker {
  color: #ffffff;
}

.truk-clock2.truk-theme-accessibility .truk-panel-toggle {
  gap: 10px;
}

.truk-clock2.truk-theme-accessibility .truk-panel-toggle-label {
  min-width: 0;
  max-width: 7.4rem;
  white-space: normal;
  line-height: 1.08;
  text-align: right;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.truk-clock2.truk-theme-accessibility .truk-panel-control-row {
  gap: 10px;
}

.truk-clock2.truk-theme-accessibility .truk-panel,
.truk-clock2.truk-theme-accessibility .truk-top,
.truk-clock2.truk-theme-accessibility .truk-card,
.truk-clock2.truk-theme-accessibility .truk-weather-card,
.truk-clock2.truk-theme-accessibility .truk-world-card,
.truk-clock2.truk-theme-accessibility .truk-presenter-info,
.truk-clock2.truk-theme-accessibility .truk-presenter-info-item,
.truk-clock2.truk-theme-accessibility .truk-up-next,
.truk-clock2.truk-theme-accessibility .truk-filler-prompt,
.truk-clock2.truk-theme-accessibility .truk-message-card,
.truk-clock2.truk-theme-accessibility .truk-message-status-badge {
  background: #020812;
  border-color: rgba(255,255,255,0.9);
  color: #ffffff;
}

.truk-clock2.truk-theme-accessibility .truk-message-card.is-unacknowledged {
  animation: trukAccessibilityMessageFlash 3.4s ease-in-out infinite;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(255,230,0,0.28), 0 0 22px rgba(255,230,0,0.30);
}

.truk-clock2.truk-theme-accessibility .truk-management-notice.is-visible {
  animation: trukAccessibilityManagementPulse 3.2s ease-in-out infinite;
  border-color: var(--amber);
}

.truk-clock2.truk-theme-accessibility .truk-ad-block-alert {
  animation: trukAccessibilityReminderPulse 3.4s ease-in-out infinite;
  border-color: var(--amber);
  color: #ffffff;
  background: #111100;
}

@keyframes trukAccessibilityMessageFlash {
  0%, 100% {
    background: #020812;
    transform: none;
  }
  50% {
    background: #332400;
    transform: none;
  }
}

@keyframes trukAccessibilityManagementPulse {
  0%, 100% {
    background: #020812;
    box-shadow: 0 0 0 2px rgba(255,230,0,0.22), 0 18px 44px rgba(0,0,0,0.42);
  }
  50% {
    background: #231800;
    box-shadow: 0 0 0 4px rgba(255,230,0,0.40), 0 0 34px rgba(255,230,0,0.28), 0 18px 44px rgba(0,0,0,0.42);
  }
}

@keyframes trukAccessibilityReminderPulse {
  0%, 100% {
    background: #111100;
    box-shadow: 0 0 0 2px rgba(255,230,0,0.18);
  }
  50% {
    background: #332400;
    box-shadow: 0 0 0 4px rgba(255,230,0,0.38), 0 0 28px rgba(255,230,0,0.28);
  }
}

.truk-clock2.truk-theme-accessibility button:focus-visible,
.truk-clock2.truk-theme-accessibility select:focus-visible,
.truk-clock2.truk-theme-accessibility input:focus-visible,
.truk-clock2.truk-theme-accessibility textarea:focus-visible,
.truk-clock2.truk-theme-accessibility .truk-message-card:focus-visible,
.truk-clock2.truk-theme-accessibility .truk-panel-toggle input:focus-visible + .truk-panel-toggle-slider {
  outline: 4px solid var(--amber);
  outline-offset: 4px;
  box-shadow: 0 0 0 2px #000000, 0 0 0 7px rgba(255,230,0,0.45);
}

.truk-clock2.truk-theme-accessibility .truk-panel-toggle-slider {
  border: 2px solid #ffffff;
  background: #000000;
}

.truk-clock2.truk-theme-accessibility .truk-panel-toggle input:checked + .truk-panel-toggle-slider {
  background: #004b18;
  border-color: var(--green);
}

.truk-clock2.truk-theme-accessibility .truk-message-status-badge.is-active {
  color: #ffffff;
  border-color: var(--green);
  background: #003d18;
}

.truk-clock2.truk-theme-accessibility .truk-message-status-badge.is-inactive {
  color: #ffffff;
  border-color: var(--red);
  background: #4b0007;
}

.truk-clock2.truk-theme-accessibility .truk-message-status-badge.is-checking {
  color: #ffffff;
  border-color: var(--cyan);
  background: #00323a;
}

@media (prefers-reduced-motion: reduce) {
  .truk-clock2 *,
  .truk-clock2 *::before,
  .truk-clock2 *::after,
  .truk-listener-message *,
  .truk-listener-message *::before,
  .truk-listener-message *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .truk-clock2 .truk-ad-block-alert,
  .truk-clock2 .truk-message-card.is-unacknowledged,
  .truk-clock2 .truk-management-notice.is-visible {
    animation: none !important;
    box-shadow: 0 0 0 3px rgba(255,230,0,0.40) !important;
  }
}

/* TRUK Clock 2 Pro additions */
.truk-clock2 .truk-compact-toggle {
  border: 1px solid color-mix(in srgb, var(--truk-accent, #ff8bd8), transparent 35%);
  background: rgba(255,255,255,.08);
  color: var(--truk-text, #fff);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  cursor: pointer;
}
.truk-clock2.is-compact-mode .truk-news-block,
.truk-clock2.is-compact-mode .truk-weather,
.truk-clock2.is-compact-mode .truk-presenter-info,
.truk-clock2.is-compact-mode .truk-filler-prompt-wrap,
.truk-clock2.is-compact-mode .truk-pro-box,
.truk-clock2.is-compact-mode .truk-world { display: none !important; }
.truk-clock2.is-compact-mode .truk-grid { grid-template-columns: minmax(260px, .8fr) minmax(320px, 1.2fr) minmax(220px, .7fr); }
.truk-live-status-panel {
  margin-top: 10px;
  padding: 6px 8px;
  border-radius: 11px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--truk-text, #fff);
  font-size: .86rem;
  line-height: 1.45;
}
.truk-pro-box {
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--truk-text, #fff);
  overflow-wrap: anywhere;
}
.truk-pro-box-title {
  font-weight: 900;
  color: var(--truk-accent, #ff8bd8);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .82rem;
}
.truk-pro-box-text {
  font-size: .88rem;
  line-height: 1.42;
}
.truk-pro-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.truk-pro-links a {
  color: var(--truk-text, #fff);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 6px 9px;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 800;
}
.truk-pro-links a:focus-visible,
.truk-compact-toggle:focus-visible,
.truk-station-id-alert:focus-visible {
  outline: 3px solid #fff275;
  outline-offset: 3px;
}
.truk-priority-note {
  border-color: color-mix(in srgb, var(--truk-accent, #ff8bd8), white 20%);
  box-shadow: 0 0 20px rgba(255, 139, 216, .18);
}
.truk-station-id-alert {
  margin-bottom: 10px;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 950;
  letter-spacing: .12em;
  color: #1b1020;
  background: linear-gradient(135deg, #fff275, #78f7ff);
  cursor: pointer;
  box-shadow: 0 0 24px rgba(255,242,117,.45);
}
.truk-station-id-alert.is-flashing {
  animation: trukStationIdPulse 1.8s ease-in-out infinite;
}
@keyframes trukStationIdPulse {
  0%,100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.04); filter: brightness(1.18); }
}
.truk-theme-accessibility .truk-pro-box,
.truk-theme-accessibility .truk-live-status-panel {
  background: #000;
  border-color: #fff275;
  color: #fff;
}
.truk-theme-accessibility .truk-pro-box-title { color: #fff275; }
@media (prefers-reduced-motion: reduce) {
  .truk-station-id-alert.is-flashing { animation: none; }
}


/* Pro social platform links */
.truk-social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.truk-social-link {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--truk-text, #fff);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 7px 9px;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 900;
  line-height: 1;
}
.truk-social-link:hover,
.truk-social-link:focus-visible {
  background: rgba(255,255,255,.16);
  border-color: var(--truk-accent, #ff8bd8);
  text-decoration: none;
}
.truk-social-link:focus-visible {
  outline: 3px solid #fff275;
  outline-offset: 3px;
}
.truk-social-icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--truk-accent, #ff8bd8);
  color: #07101f;
  padding: 5px;
}
.truk-social-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.truk-social-facebook .truk-social-icon { background: #1877f2; color: #fff; }
.truk-social-instagram .truk-social-icon { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4); color: #fff; }
.truk-social-x .truk-social-icon { background: #000; color: #fff; border: 1px solid rgba(255,255,255,.32); }
.truk-social-tiktok .truk-social-icon { background: #111; color: #fff; border: 1px solid rgba(0,242,234,.55); }
.truk-social-youtube .truk-social-icon { background: #ff0000; color: #fff; }
.truk-social-threads .truk-social-icon { background: #000; color: #fff; border: 1px solid rgba(255,255,255,.32); }
.truk-social-bluesky .truk-social-icon { background: #1185fe; color: #fff; }
.truk-social-linkedin .truk-social-icon { background: #0a66c2; color: #fff; }
.truk-social-twitch .truk-social-icon { background: #9146ff; color: #fff; }
.truk-social-mixcloud .truk-social-icon { background: #5000ff; color: #fff; }
.truk-social-soundcloud .truk-social-icon { background: #ff5500; color: #fff; }
.truk-social-spotify .truk-social-icon { background: #1db954; color: #04140a; }
.truk-social-whatsapp .truk-social-icon { background: #25d366; color: #062b16; }
.truk-social-discord .truk-social-icon { background: #5865f2; color: #fff; }
.truk-social-website .truk-social-icon { background: var(--truk-accent, #ff8bd8); color: #07101f; }

.truk-social-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.truk-theme-accessibility .truk-social-link {
  border-color: #fff275;
  background: #050505;
}
.truk-theme-accessibility .truk-social-icon {
  background: #fff275 !important;
  color: #000 !important;
  border: 2px solid #fff;
}
@media (max-width: 1050px) {
  .truk-social-links { grid-template-columns: 1fr; }
}

/* v1.0.63 Presenter Local Time */
/* v1.0.64 Main clock fixed to UK time */
.truk-clock2 .truk-local-time {
  width: min(100%, 360px);
  margin: 2px auto 4px;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(0,0,0,0.24);
  border: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.truk-clock2 .truk-local-time-title {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.1;
}

.truk-clock2 .truk-local-time-main {
  margin-top: 4px;
  color: var(--text);
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  font-weight: 950;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.truk-clock2 .truk-local-time-meta {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.truk-clock2.truk-theme-lgbtq .truk-local-time,
.truk-clock2.truk-theme-pink .truk-local-time {
  border-color: rgba(255,47,146,0.26);
  background: rgba(255,47,146,0.08);
}

.truk-clock2.truk-theme-orange .truk-local-time {
  border-color: rgba(255,168,82,0.28);
  background: rgba(255,126,51,0.1);
}

.truk-clock2.truk-theme-blue .truk-local-time {
  border-color: rgba(72,169,255,0.28);
  background: rgba(72,169,255,0.1);
}

.truk-clock2.truk-theme-white .truk-local-time {
  background: rgba(255,255,255,0.72);
  border-color: rgba(20,32,50,0.16);
}

.truk-clock2.truk-theme-accessibility .truk-local-time {
  background: #050505;
  border: 2px solid #ffffff;
  box-shadow: none;
}

.truk-clock2.truk-theme-accessibility .truk-local-time-title,
.truk-clock2.truk-theme-accessibility .truk-local-time-meta {
  color: #ffffff;
}

.truk-clock2.truk-theme-accessibility .truk-local-time-main {
  color: #00ffff;
}

/* v1.0.65 Presenter Local Time source label removed */


.truk-clock2.truk-theme-accessibility .truk-digital-face {
  background: #000;
  border: 2px solid #ffff00;
  box-shadow: none;
}


/* Now & Next shortcode */
.truk-now-next-widget,
.truk-now-next-widget * {
  box-sizing: border-box;
}

.truk-now-next-widget {
  --nn-bg: #05070d;
  --nn-panel: rgba(13,18,30,0.94);
  --nn-line: rgba(95,125,180,0.26);
  --nn-text: #f4f7ff;
  --nn-muted: #8f9bb6;
  --nn-accent: #ff4fb3;
  width: 100%;
  padding: clamp(14px, 1.5vw, 22px);
  color: var(--nn-text);
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #03050a 0%, #09111f 52%, #03050a 100%);
  border: 1px solid var(--nn-line);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.28);
}

.truk-now-next-heading {
  margin-bottom: 14px;
  color: var(--nn-accent);
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.truk-now-next-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.truk-now-next-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 120px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(0,0,0,0.24);
  border: 1px solid rgba(255,255,255,0.12);
}

.truk-now-next-poster {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
}

.truk-now-next-poster img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.truk-now-next-kicker {
  color: var(--nn-accent);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.truk-now-next-title {
  margin-top: 6px;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.08;
  font-weight: 950;
  color: var(--nn-text);
}

.truk-now-next-meta {
  margin-top: 7px;
  color: var(--nn-muted);
  font-size: 0.92rem;
  line-height: 1.25;
  font-weight: 800;
}

@media (max-width: 760px) {
  .truk-now-next-grid {
    grid-template-columns: 1fr;
  }
  .truk-now-next-card {
    grid-template-columns: 76px minmax(0, 1fr);
  }
  .truk-now-next-poster {
    width: 76px;
    height: 76px;
    border-radius: 14px;
  }
}
