/* WSN Broadcast Schedule */
.wsn-bs {
	--wsn-bs-accent: #092ff1;
	--wsn-bs-text: #111;
	--wsn-bs-muted: #666;
	--wsn-bs-line: #e5e5e5;
	--wsn-bs-live: #e3262e;
	font-family: inherit;
}
.wsn-bs__list { list-style: none; margin: 0; padding: 0; }
.wsn-bs__item {
	display: grid;
	grid-template-columns: 92px 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid var(--wsn-bs-line);
}
.wsn-bs__item:last-child { border-bottom: 0; }
.wsn-bs__when { font-weight: 700; color: var(--wsn-bs-accent); font-size: 14px; line-height: 1.25; }
.wsn-bs__day { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--wsn-bs-muted); }
.wsn-bs__title { font-weight: 700; color: var(--wsn-bs-text); line-height: 1.25; }
.wsn-bs__meta { font-size: 13px; color: var(--wsn-bs-muted); margin-top: 2px; }
.wsn-bs__badge {
	display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
	padding: 2px 7px; border-radius: 3px; background: #eee; color: #333; margin-bottom: 4px;
}
.wsn-bs__badge--live { background: var(--wsn-bs-live); color: #fff; animation: wsnBsPulse 1.6s infinite; }
.wsn-bs__badge--next { background: var(--wsn-bs-accent); color: #fff; }
.wsn-bs__watch {
	display: inline-block; padding: 7px 12px; border-radius: 3px; background: var(--wsn-bs-accent); color: #fff !important;
	font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; text-decoration: none; white-space: nowrap;
}
.wsn-bs__watch:hover { filter: brightness(.85); }
.wsn-bs .is-live .wsn-bs__watch { background: var(--wsn-bs-live); }
.wsn-bs .is-cancelled .wsn-bs__title, .wsn-bs .is-postponed .wsn-bs__title { text-decoration: line-through; opacity: .7; }
.wsn-bs__empty { margin: 0; color: var(--wsn-bs-muted); }
.wsn-bs--next .wsn-bs__item { border-bottom: 0; }
@keyframes wsnBsPulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@media (max-width: 480px) {
	.wsn-bs__item { grid-template-columns: 74px 1fr; }
	.wsn-bs__watch { grid-column: 2; justify-self: start; }
}

/* Schedule Manager (front end) */
.wsn-bsm { max-width: 1100px; margin: 32px auto; padding: 0 16px; font-size: 16px; }
.wsn-bsm h2 { margin: 0 0 8px; }
.wsn-bsm__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.wsn-bsm__user { font-size: 14px; color: #666; }
.wsn-bsm__tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 3px solid #092ff1; margin: 16px 0 20px; }
.wsn-bsm__tabs a { padding: 10px 16px; text-decoration: none; color: #2a3b8e; font-weight: 700; border-radius: 4px 4px 0 0; }
.wsn-bsm__tabs a.is-active { background: #092ff1; color: #fff; }
.wsn-bsm__notice { padding: 12px 14px; border-radius: 4px; margin: 12px 0; border-left: 4px solid; }
.wsn-bsm__notice--success { background: #eaf7ee; border-color: #2e9e4f; }
.wsn-bsm__notice--warning { background: #fff7e6; border-color: #e6a100; }
.wsn-bsm__notice--error { background: #fdecec; border-color: #d33; }
.wsn-bsm__filter a { text-decoration: none; }
.wsn-bsm__filter a.is-active { font-weight: 700; text-decoration: underline; }
.wsn-bsm__tablewrap { overflow-x: auto; }
.wsn-bsm__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.wsn-bsm__table th, .wsn-bsm__table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #e5e5e5; vertical-align: middle; }
.wsn-bsm__table th { font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: #555; }
.wsn-bsm__actions { white-space: nowrap; }
.wsn-bsm__actions form { display: inline; margin-left: 10px; }
.wsn-bsm__link { background: none; border: 0; color: #d33; cursor: pointer; padding: 0; font: inherit; text-decoration: underline; }
.wsn-bsm__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.wsn-bsm__grid label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.wsn-bsm__grid small { font-weight: 400; color: #777; }
.wsn-bsm__grid input, .wsn-bsm__grid select, .wsn-bsm__grid textarea { padding: 9px 10px; border: 1px solid #c8c8c8; border-radius: 4px; font: inherit; font-weight: 400; width: 100%; box-sizing: border-box; }
.wsn-bsm__wide { grid-column: 1 / -1; }
.wsn-bsm__btn { display: inline-block; background: #092ff1; color: #fff !important; border: 0; border-radius: 4px; padding: 11px 20px; font-weight: 700; cursor: pointer; text-decoration: none; }
.wsn-bsm__btn:hover { background: #2a3b8e; }
.wsn-bsm__btn--ghost { background: #fff; color: #092ff1 !important; border: 2px solid #092ff1; padding: 9px 16px; }
.wsn-bsm__import form { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 12px; }
.wsn-bsm--login form p { display: flex; flex-direction: column; gap: 4px; max-width: 360px; }
.wsn-bsm--login input[type=text], .wsn-bsm--login input[type=password] { padding: 9px 10px; border: 1px solid #c8c8c8; border-radius: 4px; }
@media (max-width: 640px) { .wsn-bsm__grid { grid-template-columns: 1fr; } }

/* Live button (header) */
.wsn-lb { --wsn-lb-bg: #092ff1; --wsn-lb-live: #e3262e; position: relative; display: inline-block; }
.wsn-lb__btn { display: inline-flex; align-items: center; gap: 6px; background: var(--wsn-lb-bg); color: #fff !important; text-decoration: none;
	font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 1.5px; line-height: 1; padding: 10px 18px 8px; border-radius: 3px; white-space: nowrap; text-transform: uppercase; }
.wsn-lb__btn:hover { filter: brightness(.9); }
.wsn-lb__dot { color: #ff3b3b; animation: wsnBsPulse 1.6s infinite; }
.wsn-lb.is-live .wsn-lb__btn { background: var(--wsn-lb-live); }
.wsn-lb.is-live .wsn-lb__dot { color: #fff; }
.wsn-lb__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 280px; background: #fff; border-radius: 6px; box-shadow: 0 12px 30px rgba(0,0,0,.25); padding: 8px; z-index: 9999; }
.wsn-lb__menuhead { font: 800 11px/1 sans-serif; letter-spacing: 1.5px; text-transform: uppercase; color: #e3262e; padding: 6px 10px 8px; }
.wsn-lb__item { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 4px; text-decoration: none; color: #111 !important; }
.wsn-lb__item:hover { background: #f1f3fb; }
.wsn-lb__itemtitle { font-weight: 700; font-size: 15px; }
.wsn-lb__itemstream { font-size: 12px; color: #666; }
@media (max-width: 767px) { .wsn-lb__btn { font-size: 17px; padding: 7px 10px 5px; } .wsn-lb__menu { right: -40px; min-width: 240px; } }
/* Fit the header slot: the button never overflows; a long show name ends in an ellipsis; phones show just "LIVE". */
.wsn-lb { max-width: 100%; }
.wsn-lb__btn { max-width: 100%; box-sizing: border-box; }
.wsn-lb__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 767px) { .wsn-lb__title { display: none; } }

/* Live player */
.wsn-lp__frame iframe { display: block; width: 100% !important; aspect-ratio: 16/9; height: auto !important; border: 0; border-radius: 6px; }
.wsn-lp__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.wsn-lp__tab { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 1px; background: rgba(255,255,255,.08); color: #fff; border: 2px solid rgba(255,255,255,.25); border-radius: 4px; padding: 8px 16px 6px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.wsn-lp__tab.is-active { background: #092ff1; border-color: #092ff1; }
.wsn-lp__tabbadge, .wsn-lp__badge { background: #e3262e; color: #fff; font: 800 11px/1 sans-serif; letter-spacing: 1px; padding: 4px 6px 3px; border-radius: 3px; animation: wsnBsPulse 1.6s infinite; }
.wsn-lp__now { color: #fff; font-weight: 700; margin-bottom: 10px; }
.wsn-lp--channel { background: #0b0f1f; border-radius: 8px; padding: 18px; margin: 0 0 8px; }
.wsn-lp--channel .wsn-lp__head { color: #fff; font-family: 'Bebas Neue', sans-serif; font-size: 30px; letter-spacing: 1px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.wsn-lp[hidden], .wsn-lb__menu[hidden] { display: none !important; }
/* Repeating broadcasts (Schedule Manager) */
.wsn-bsm__scope { border: 1px solid #c9d3ff; background: #f3f6ff; border-radius: 6px; padding: 10px 14px; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.wsn-bsm__scope legend { font-weight: 700; padding: 0 4px; }
.wsn-bsm__scope label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.wsn-bsm__repeat { display: flex; flex-direction: column; gap: 10px; border: 1px dashed #c8c8c8; border-radius: 6px; padding: 12px 14px; }
.wsn-bsm__repeat > label { max-width: 320px; }
.wsn-bsm__grid .wsn-bsm__inline, .wsn-bsm__grid .wsn-bsm__days label { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; font-weight: 600; margin-right: 14px; }
.wsn-bsm__grid .wsn-bsm__inline input[type="number"] { width: 72px; }
.wsn-bsm__grid .wsn-bsm__inline input[type="date"] { width: auto; }
.wsn-bsm__grid .wsn-bsm__inline input[type="radio"], .wsn-bsm__grid .wsn-bsm__days input { width: auto; }
.wsn-bsm__rep-opt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; }
.wsn-bsm__days { display: inline-flex; flex-wrap: wrap; gap: 4px 0; }
.wsn-bsm__rep-opt[data-for="dates"] { flex-direction: column; align-items: flex-start; gap: 8px; }
.wsn-bsm__cal { width: 100%; max-width: 320px; }
.wsn-bsm__calhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.wsn-bsm__calhead button { border: 1px solid #c8c8c8; background: #fff; border-radius: 4px; width: 32px; height: 30px; cursor: pointer; font-size: 18px; line-height: 1; }
.wsn-bsm__calgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.wsn-bsm__dow { text-align: center; font-size: 12px; color: #777; }
.wsn-bsm__day { border: 1px solid #e1e1e1; background: #fff; border-radius: 4px; height: 36px; cursor: pointer; font: inherit; font-size: 14px; }
.wsn-bsm__day:hover { border-color: #092ff1; }
.wsn-bsm__day.is-on { background: #092ff1; border-color: #092ff1; color: #fff; font-weight: 700; }
.wsn-bsm__day.is-first { box-shadow: inset 0 0 0 2px #2a3b8e; font-weight: 700; }
.wsn-bsm__chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; width: 100%; }
.wsn-bsm__chip { background: #eef1ff; color: #2a3b8e; border-radius: 14px; padding: 3px 4px 3px 10px; font-size: 13px; font-weight: 600; }
.wsn-bsm__chip button { border: 0; background: none; cursor: pointer; color: #2a3b8e; font-size: 15px; }
.wsn-bsm__actions .wsn-bsm__link + .wsn-bsm__link { margin-left: 8px; }

/* Staff link (footer) */
.wsn-staff { position: relative; display: inline-block; }
.wsn-staff__btn { cursor: pointer; }
.wsn-staff__pop { position: absolute; bottom: calc(100% + 10px); right: 0; width: 280px; max-width: calc(100vw - 32px); background: #fff; color: #111; text-align: left;
	border-radius: 8px; box-shadow: 0 12px 34px rgba(0,0,0,.3); padding: 10px; z-index: 9999; font-size: 14px; line-height: 1.35; }
.wsn-staff__head { font-weight: 700; padding: 4px 6px 8px; border-bottom: 1px solid #eee; margin-bottom: 6px; }
.wsn-staff__item { display: block; padding: 8px; border-radius: 5px; color: #111 !important; text-decoration: none; }
.wsn-staff__item:hover { background: #f0f3ff; }
.wsn-staff__item span { display: block; font-weight: 700; color: #092ff1; }
.wsn-staff__item small { display: block; color: #666; font-size: 12px; }
.wsn-staff__small { display: inline-block; padding: 6px 8px 2px; font-size: 12px; color: #666 !important; }
.wsn-staff__none { margin: 6px; color: #555; }
.wsn-staff__pop form p { margin: 0 0 8px; }
.wsn-staff__pop label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.wsn-staff__pop input[type="text"], .wsn-staff__pop input[type="password"] { width: 100%; box-sizing: border-box; padding: 8px; border: 1px solid #c8c8c8; border-radius: 4px; color: #111; background: #fff; }
.wsn-staff__pop .login-remember label { display: inline-flex; gap: 6px; font-weight: 400; }
.wsn-staff__pop input[type="submit"] { background: #092ff1; color: #fff; border: 0; border-radius: 4px; padding: 9px 16px; font-weight: 700; cursor: pointer; }
