/* 若草フクロウ放送局：放送ページ */

:root {
	--wr-bg: #fff;
	--wr-text: #1a1a1a;
	--wr-muted: #6b6b6b;
	--wr-line: #e6e6e6;
	--wr-onair: #c8372d;
	color-scheme: light;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	min-height: 100%;
}

body {
	background: var(--wr-bg);
	color: var(--wr-text);
	font-family: system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", sans-serif;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.wr-station {
	display: flex;
	flex-direction: column;
	gap: 28px;
	max-width: 480px;
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0 auto;
	padding: 28px 20px 20px;
}

.wr-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.wr-name {
	margin: 0;
	font-size: 0.85rem;
	font-weight: 600;
}

.wr-onair {
	display: none;
	margin: 0;
	color: var(--wr-onair);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

[data-state="playing"] .wr-onair {
	display: block;
}

.wr-label {
	margin: 0 0 8px;
	color: var(--wr-muted);
	font-size: 0.75rem;
	font-weight: 600;
}

.wr-title {
	margin: 0 0 20px;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.wr-controls {
	display: flex;
	align-items: center;
	gap: 16px;
}

.wr-play {
	flex: 0 0 auto;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid var(--wr-text);
	border-radius: 4px;
	background: #fff;
	color: var(--wr-text);
	font: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
}

.wr-play:hover {
	background: #f6f6f6;
}

.wr-play:focus-visible,
.wr-volume input:focus-visible {
	outline: 2px solid var(--wr-text);
	outline-offset: 2px;
}

.wr-volume {
	flex: 1 1 auto;
	min-width: 0;
}

.wr-volume input {
	width: 100%;
	accent-color: var(--wr-text);
}

.wr-status:empty {
	display: none;
}

.wr-status {
	margin: 12px 0 0;
	color: var(--wr-muted);
	font-size: 0.85rem;
}

.wr-programs {
	border-top: 1px solid var(--wr-line);
	padding-top: 16px;
}

.wr-program-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wr-program-list li {
	display: flex;
	gap: 16px;
	align-items: baseline;
	padding: 8px 0;
	border-bottom: 1px solid var(--wr-line);
}

.wr-program-list time {
	flex: 0 0 3.2em;
	color: var(--wr-muted);
	font-variant-numeric: tabular-nums;
}

.wr-program-list span {
	overflow-wrap: anywhere;
}

.wr-program-list .is-current span {
	font-weight: 700;
}

[data-state="empty"] .wr-programs,
[data-state="empty"] .wr-controls {
	display: none;
}

.wr-footer {
	margin-top: auto;
	color: var(--wr-muted);
	font-size: 0.7rem;
	text-align: center;
}

.wr-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
