:root {
	--bg: #0a0a0a;
	--fg: #f4f4f4;
	--lime: #c6f000;
	--pink: #e6007e;
	--dim: #8a8a8a;
	--line: #222;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

button, input, select, textarea {
	outline: none;
	-webkit-tap-highlight-color: transparent;
}
button:focus,
button:focus-visible,
input:focus,
input:focus-visible,
select:focus,
select:focus-visible,
textarea:focus,
textarea:focus-visible {
	outline: none;
	box-shadow: none;
}

html, body {
	margin: 0;
	min-height: 100%;
	min-height: 100svh;
	background: var(--bg);
	color: var(--fg);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

body { padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }

.screen { min-height: 100svh; }

.eyebrow {
	margin: 0 0 8px;
	letter-spacing: .18em;
	text-transform: uppercase;
	font-size: 11px;
	color: var(--lime);
}

h1, h2, h3 { margin: 0; font-weight: 720; letter-spacing: -0.04em; }
h1 { font-size: clamp(2.4rem, 9vw, 4.4rem); line-height: .95; }
h2 { font-size: clamp(1.4rem, 4vw, 2rem); }
h3 { font-size: 1.35rem; }

.lead { max-width: 36rem; color: #cfcfcf; line-height: 1.45; }
.lead.sm { font-size: 14px; color: var(--dim); }

.hint { color: var(--dim); font-size: 13px; }

.auth {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100svh;
	padding: 0;
}
.auth-open {
	position: absolute;
	top: max(16px, env(safe-area-inset-top));
	right: max(16px, env(safe-area-inset-right));
	z-index: 3;
	height: 36px;
	padding: 0 14px;
	border: 0;
	background: var(--lime);
	color: #111;
	font: inherit;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
}
.auth-top {
	flex: 1 1 18%;
	display: flex;
	align-items: flex-end;
	padding: 28px 22px 16px;
}
.auth-lime {
	flex: 1 1 28%;
	display: flex;
	align-items: center;
	padding: 28px 22px;
	background: var(--lime);
	color: var(--pink);
}
.auth-lime h1 { color: var(--pink); }
.auth-pink {
	flex: 1 1 22%;
	display: flex;
	align-items: center;
	padding: 22px;
	background: var(--pink);
	color: #fff;
}
.auth-pink .lead { color: #fff; max-width: 40rem; }
.auth-bot {
	flex: 1 1 22%;
}

.cta, .ghost, .pill, .play, .panic, .duck {
	font-family: inherit;
	border: 0;
	cursor: pointer;
}
.cta {
	margin-top: 8px;
	height: 52px;
	padding: 0 22px;
	background: var(--lime);
	color: #111;
	font-size: 16px;
	font-weight: 800;
	width: min(100%, 360px);
}
.cta.sm { width: auto; height: 40px; font-size: 14px; margin: 0; }
.ghost {
	background: transparent;
	color: var(--fg);
	border: 1px solid #333;
	height: 40px;
	padding: 0 14px;
}
.ghost.sm { height: 32px; font-size: 12px; }
.pill {
	height: 32px;
	padding: 0 12px;
	border-radius: 999px;
	background: var(--lime);
	color: #111;
	font-weight: 800;
	font-size: 11px;
	letter-spacing: .08em;
}
.pill.is-staff { background: #f26a1b; }

.magic {
	display: flex;
	gap: 8px;
	margin-top: 14px;
	width: min(100%, 360px);
}
.magic input, select {
	flex: 1;
	height: 44px;
	border: 1px solid #333;
	padding: 0 12px;
	background: #111;
	color: #fff;
	font: inherit;
	border-radius: 0;
}
.magic input:focus, select:focus {
	border-color: #555;
}
.magic.stack {
	flex-direction: column;
	align-items: stretch;
}
.magic.stack input,
.magic.stack .cta,
.magic.stack .ghost {
	width: 100%;
}
.magic.stack .cta { margin-top: 0; }
.auth-err {
	margin: 0 0 10px;
	color: var(--lime);
	font-size: 14px;
	width: min(100%, 360px);
}

.app { padding: 18px 16px 48px; max-width: 920px; margin: 0 auto; }

.desk {
	display: grid;
	grid-template-columns: minmax(220px, 38%) 1fr;
	min-height: 100svh;
	min-height: 100dvh;
}
@media (max-width: 720px) {
	.desk {
		grid-template-columns: 1fr;
		grid-template-rows: 42svh 1fr;
	}
}
.stage {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 28px 22px;
	border: 0;
	width: 100%;
	min-height: 0;
	background: var(--lime);
	color: #fff;
	text-align: center;
	font: inherit;
	cursor: pointer;
}
.stage h2 {
	font-size: clamp(2.4rem, 8vw, 5rem);
	color: #fff;
	line-height: .95;
	font-weight: 800;
	word-break: break-word;
}
.side {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 22px;
	background: var(--bg);
}
.side-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	margin-bottom: 4px;
}
.side-top .slab { width: auto; min-width: 88px; }
#hello { font-weight: 800; }
.now-block {
	display: block;
	width: 100%;
	margin: 8px 0 4px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}
.now-k {
	margin: 0;
	font-size: clamp(1.35rem, 4vw, 1.9rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	color: #fff;
}
.now-t {
	margin: 8px 0 0;
	font-size: 1.05rem;
	color: #fff;
}
.now-n {
	margin: 6px 0 8px;
	color: var(--dim);
	font-size: 14px;
}
.vol-line {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 12px;
	color: var(--dim);
}
.vol-line input {
	width: 100%;
	accent-color: #fff;
	cursor: pointer;
}
.play-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}
.play-row .slab { width: 100%; }
.banner {
	margin-top: auto;
	height: auto;
	min-height: 40px;
	padding: 10px 14px;
	line-height: 1.35;
	border: 1px solid var(--lime);
	background: transparent;
	color: var(--lime);
	font: inherit;
	font-size: 13px;
	text-align: center;
	cursor: pointer;
}
.banner:focus,
.banner:focus-visible {
	outline: none;
	box-shadow: none;
	border-color: var(--lime);
}
.panel {
	position: fixed; inset: 0;
	background: var(--bg);
	padding: 22px;
	overflow: auto;
	z-index: 10;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.panel .slab { width: min(100%, 360px); }

.top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.top-actions { display: flex; gap: 8px; align-items: center; }

.tabs {
	display: flex;
	gap: 4px;
	overflow-x: auto;
	margin: 18px 0 16px;
	-webkit-overflow-scrolling: touch;
}
.tabs button {
	flex: 0 0 auto;
	border: 0;
	background: #161616;
	color: #bbb;
	height: 36px;
	padding: 0 14px;
	font: inherit;
	cursor: pointer;
}
.tabs button.is-on { background: var(--lime); color: #111; font-weight: 800; }

.pane { animation: in .25s ease; }
@keyframes in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.nowcard {
	padding: 22px 18px 16px;
	background: #c6f000;
	color: #111;
}
.nowcard .eyebrow { color: #3a4a00; }
.nowcard h3 { font-size: clamp(1.6rem, 5vw, 2.6rem); line-height: 1; }
.nowcard.is-live { background: #e11b22; color: #f3ecd9; }
.nowcard.is-live .eyebrow { color: #f3ecd9; }
.nowcard.is-muted { background: #111; color: #f3ecd9; }

.transport { display: flex; gap: 8px; margin: 16px 0 10px; }
.transport button {
	height: 48px;
	min-width: 48px;
	background: #111;
	color: #fff;
	font-size: 16px;
}
.play { min-width: 72px; background: #0a0a0a; color: var(--lime); font-size: 20px; }
.panic { background: #e11b22; color: #fff; font-weight: 800; letter-spacing: .06em; }
.panic.is-on { outline: 3px solid #fff; }

.vol, .blend { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.vol input, .blend input { flex: 1; accent-color: #111; }
.nowcard.is-live .vol input, .nowcard.is-live .play { accent-color: #f3ecd9; }

.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 14px 0; }
.split { justify-content: space-between; }
.duck {
	height: 44px;
	padding: 0 14px;
	background: #e6007e;
	color: #fff;
	font-weight: 800;
}
.duck.is-hold { transform: scale(.98); filter: brightness(1.2); }

.testflag {
	margin: 8px 0 0;
	font-size: 12px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--dim);
}

.stations { display: flex; flex-direction: column; margin-top: 8px; min-height: 42vh; }
.band {
	flex: 1 1 56px;
	min-height: 56px;
	border: 0;
	width: 100%;
	text-align: left;
	padding: 0 16px;
	font: inherit;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.band b { font-size: clamp(1.4rem, 5vw, 2.2rem); letter-spacing: -0.04em; }
.band span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.band.is-on { outline: 3px solid #fff; outline-offset: -3px; }

.scan, .inbox, .pairbox, .drop, .logbox {
	border: 1px solid var(--line);
	padding: 18px;
	margin-bottom: 14px;
}
.scan { text-align: center; padding: 36px 18px; }
.pulse {
	width: 18px; height: 18px; margin: 0 auto 14px;
	border-radius: 50%; background: var(--lime);
	animation: pulse 1.1s ease infinite;
}
@keyframes pulse { 50% { transform: scale(1.6); opacity: .4; } }

.device {
	padding: 18px;
	background: #0e1b3a;
	color: #f3ecd9;
	margin-bottom: 14px;
}
.device h3 { margin-bottom: 6px; }
.ok { color: var(--lime); }
.warn { color: #f26a1b; }

.pairbox h3 {
	font-size: 2.6rem;
	letter-spacing: .28em;
	margin: 8px 0 12px;
}
.pairbox img { display: block; background: #fff; padding: 8px; }

.drop {
	border-style: dashed;
	text-align: center;
	color: var(--dim);
}
.drop.is-over { border-color: var(--lime); color: var(--lime); }
.link { color: var(--lime); cursor: pointer; text-decoration: underline; }

.tracks { list-style: none; margin: 0; padding: 0; }
.tracks li {
	display: grid;
	grid-template-columns: 10px 1fr auto auto;
	gap: 10px;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
}
.dot { width: 10px; height: 28px; }
.tracks button {
	border: 0;
	background: #161616;
	color: #ddd;
	height: 32px;
	padding: 0 10px;
	cursor: pointer;
	font: inherit;
	font-size: 12px;
}

.sched-head, .sched {
	display: grid;
	grid-template-columns: 64px repeat(7, 1fr);
	gap: 4px;
}
.sched-head span, .cell, .slotlab {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .06em;
}
.sched-head span { color: var(--dim); text-align: center; }
.slotlab { color: var(--dim); align-self: center; }
.cell {
	min-height: 52px;
	border: 0;
	background: #161616;
	color: #eee;
	cursor: pointer;
	padding: 6px;
	text-align: left;
}
.cell.is-on { background: var(--lime); color: #111; font-weight: 800; }

.wow {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
}
@media (min-width: 640px) { .wow { grid-template-columns: 1fr 1fr; } }
.wow button {
	text-align: left;
	border: 0;
	padding: 14px;
	background: #161616;
	color: #eee;
	cursor: pointer;
	font: inherit;
}
.wow button.is-on { background: var(--lime); color: #111; }
.wow b { display: block; font-size: 16px; margin-bottom: 4px; }
.wow small { display: block; opacity: .75; line-height: 1.35; }

.logbox ol { margin: 8px 0 0; padding-left: 18px; color: #bbb; font-size: 13px; }

#app.is-wiz {
	filter: blur(14px);
	pointer-events: none;
	user-select: none;
}
.modal {
	position: fixed; inset: 0;
	background: rgba(0,0,0,.72);
	display: grid; place-items: center;
	padding: 20px;
	z-index: 20;
}
#wiz {
	z-index: 30;
	padding: 0;
	background: rgba(0,0,0,.45);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}
.sheet {
	width: min(calc(100% - 8px), 360px);
	background: #111;
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.sheet h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: -0.02em;
}
.sheet-form {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	margin: 0;
}
.slab {
	display: block;
	flex: none;
	align-self: stretch;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	height: 40px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid #333;
	border-radius: 0;
	box-sizing: border-box;
	background: #111;
	color: #fff;
	font: inherit;
	font-size: 14px;
	line-height: 38px;
	text-align: center;
	appearance: none;
	-webkit-appearance: none;
	outline: none;
	box-shadow: none;
	cursor: pointer;
}
.slab:disabled {
	opacity: .35;
	cursor: not-allowed;
}
.slab.is-go {
	background: var(--lime);
	color: #111;
	border-color: var(--lime);
	font-weight: 800;
}
.slab:focus,
.slab:focus-visible {
	outline: none;
	box-shadow: none;
	border-color: #555;
}
.slab.is-go:focus,
.slab.is-go:focus-visible {
	border-color: var(--lime);
}
.slab.is-on {
	background: var(--lime);
	color: #111;
	border-color: var(--lime);
	font-weight: 800;
}
.sheet-form .slab,
.sheet .slab,
.side .slab,
.side .banner,
.panel .slab {
	width: 100%;
}
.sheet-form input.slab:-webkit-autofill,
.sheet-form input.slab:-webkit-autofill:hover,
.sheet-form input.slab:-webkit-autofill:focus,
.sheet-form input.slab:-webkit-autofill:active {
	-webkit-text-fill-color: #fff;
	caret-color: #fff;
	border: 1px solid #333;
	outline: none;
	box-shadow: 0 0 0 40px #111 inset;
	transition: background-color 99999s ease-out;
}
.sheet .auth-err {
	width: 100%;
	margin: 0;
}

.wiz-sheet {
	width: 60%;
	height: 60%;
	max-width: 60%;
	max-height: 60%;
	padding: 16px;
	overflow: hidden;
}
.wiz-steps {
	margin: 0;
	color: var(--dim);
	font-size: 11px;
	line-height: 1.35;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.wiz-steps b { color: var(--lime); font-weight: 800; }
.wiz-body {
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	overflow: hidden;
}
.wiz-body > div {
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	overflow: hidden;
}
.wiz-lead {
	margin: 0;
	color: #cfcfcf;
	line-height: 1.4;
	font-size: 14px;
}
.pair-row {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 0;
}
.pair-row h3 {
	margin: 0;
	font-size: 1.8rem;
	letter-spacing: .18em;
	flex: 1;
	min-width: 0;
}
.pair-row img {
	width: 96px;
	height: 96px;
	flex: none;
	background: #fff;
	padding: 6px;
}
.wiz-sheet .pairbox { padding: 12px; margin-bottom: 0; }
.wiz-sheet .pairbox h3 {
	font-size: 1.6rem;
	letter-spacing: .18em;
	margin: 0 0 8px;
}
.wiz-sheet .pairbox img { width: 96px; height: 96px; }
.wiz-foot {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	padding-top: 8px;
	border-top: 1px solid var(--line);
	flex: none;
}
.wiz-foot .slab,
.wiz-body .slab,
.perm-list { width: 100%; }
.perm-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	flex: 1;
	min-height: 0;
	align-content: start;
}
.perm {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 36px;
	padding: 0 12px;
	border: 1px solid #333;
	font-size: 13px;
	cursor: pointer;
	user-select: none;
	min-width: 0;
}
.perm input {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--lime);
	flex: none;
}
.perm input:focus,
.perm input:focus-visible {
	outline: none;
	box-shadow: none;
}
.wiz-sum {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	flex: 1;
	align-content: start;
}
.wiz-sum li {
	padding: 8px 10px;
	border: 1px solid #333;
	font-size: 13px;
	line-height: 1.3;
}
.wiz-sum b { display: block; margin-bottom: 4px; }
