/* Stereo Fall Contest — front end (dark) */
.sfc {
	--sfc-accent: #2B3FD6;
	--sfc-bg: #111318;
	--sfc-card: #1B1E26;
	--sfc-line: #2E323D;
	--sfc-text: #F2F1ED;
	--sfc-muted: #9EA3B0;
	--sfc-ok: #7FD1A3;
	--sfc-err: #FF9B8A;
	color: var(--sfc-text);
	font-size: 16px;
	line-height: 1.5;
	max-width: 960px;
	margin: 0 auto;
	box-sizing: border-box;
}
.sfc *, .sfc *::before, .sfc *::after { box-sizing: border-box; }
.sfc a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.sfc-eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--sfc-muted); font-weight: 600; }
.sfc-title { margin: 4px 0 0; font-size: clamp(26px, 4vw, 38px); line-height: 1.1; color: var(--sfc-text); }
.sfc-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.sfc-small { font-size: 14px; color: var(--sfc-muted); margin: 8px 0 0; }

.sfc-notice { background: var(--sfc-card); border: 1px solid var(--sfc-line); border-radius: 14px; padding: 18px 20px; margin-bottom: 16px; }
.sfc-notice--ok { border-color: rgba(127, 209, 163, .5); }
.sfc-notice--warn { border-color: rgba(255, 155, 138, .5); }

.sfc-form, .sfc-card { background: var(--sfc-card); border: 1px solid var(--sfc-line); border-radius: 18px; padding: 28px; }
.sfc-card + .sfc-card { margin-top: 16px; }
.sfc-card h3 { margin: 0; font-size: 19px; color: var(--sfc-text); }
.sfc-card-head { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.sfc-req { font-size: 13px; color: var(--sfc-muted); }

.sfc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.sfc-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--sfc-muted); }
.sfc-field input, .sfc-inline input {
	width: 100%; background: var(--sfc-bg); color: var(--sfc-text); border: 1px solid var(--sfc-line);
	border-radius: 10px; padding: 13px 14px; font-size: 16px; font-family: inherit;
}
.sfc-field input:focus, .sfc-inline input:focus { outline: 2px solid var(--sfc-accent); outline-offset: 1px; border-color: transparent; }
.sfc-check { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: 14px; color: var(--sfc-muted); }
.sfc-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--sfc-accent); }
.sfc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.sfc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
	background: var(--sfc-accent); color: #fff; border: 0; border-radius: 999px; padding: 0 26px;
	font: 600 15px/1 inherit; font-family: inherit; cursor: pointer; transition: filter .15s, opacity .15s;
}
.sfc-btn:hover { filter: brightness(1.12); }
.sfc-btn:disabled { opacity: .5; cursor: default; }
.sfc-btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.sfc-btn--ghost { background: transparent; color: var(--sfc-text); border: 1px solid var(--sfc-line); }
.sfc-btn--ghost:hover { border-color: var(--sfc-muted); filter: none; }

.sfc-msg { margin-top: 12px; font-size: 14px; color: var(--sfc-muted); min-height: 1em; }
.sfc-msg:empty { margin: 0; min-height: 0; }
.sfc-msg--ok { color: var(--sfc-ok); }
.sfc-msg--err { color: var(--sfc-err); }

.sfc-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.sfc-badge { border: 1px solid var(--sfc-line); border-radius: 999px; padding: 6px 12px; font-size: 13px; color: var(--sfc-muted); }
.sfc-badge--status { color: var(--sfc-text); border-color: var(--sfc-accent); }

.sfc-drop { position: relative; margin-top: 14px; border: 1.5px dashed var(--sfc-line); border-radius: 14px; transition: border-color .15s, background .15s; }
.sfc-drop.is-over { border-color: var(--sfc-accent); background: rgba(255, 255, 255, .03); }
.sfc-drop input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.sfc-drop label { display: block; padding: 26px 16px; text-align: center; color: var(--sfc-muted); font-size: 15px; pointer-events: none; }
.sfc-drop label strong { color: var(--sfc-text); }
.sfc-drop input:focus-visible + label { outline: 2px solid var(--sfc-accent); border-radius: 12px; }
.sfc-specs { font-size: 14px; color: var(--sfc-ok); margin: 10px 0 8px; }
.sfc-current audio { width: 100%; }
.sfc-progress { height: 6px; background: var(--sfc-bg); border-radius: 99px; overflow: hidden; margin-top: 14px; }
.sfc-progress > div { height: 100%; width: 0; background: var(--sfc-accent); transition: width .2s; }
.sfc-inline { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.sfc-inline input { flex: 1 1 260px; }
.sfc-deadline { margin-top: 20px; }

/* Vote list */
.sfc-list { list-style: none; margin: 0 0 120px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.sfc-item { display: flex; align-items: center; gap: 14px; background: var(--sfc-card); border: 1px solid var(--sfc-line); border-radius: 14px; padding: 10px 12px; }
.sfc-item.is-current { border-color: var(--sfc-accent); }
.sfc-label { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; color: var(--sfc-text); }
.sfc-dur { margin-left: auto; font-size: 13px; color: var(--sfc-muted); }

.sfc-play { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--sfc-accent); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.sfc-play--sm { width: 44px; height: 44px; background: var(--sfc-bg); border: 1px solid var(--sfc-line); }
.sfc-ico { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent var(--sfc-text); margin-left: 3px; }
.sfc-play:not(.sfc-play--sm) .sfc-ico { border-left-color: #fff; }
.sfc-play.is-playing .sfc-ico { width: 12px; height: 14px; border: 0; margin: 0; border-left: 4px solid currentColor; border-right: 4px solid currentColor; color: var(--sfc-text); }
.sfc-play:not(.sfc-play--sm).is-playing .sfc-ico { color: #fff; }

.sfc-player {
	position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 9999;
	width: min(920px, calc(100% - 32px)); display: flex; align-items: center; gap: 14px;
	background: rgba(17, 19, 24, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	border: 1px solid var(--sfc-line); border-radius: 18px; padding: 12px 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.sfc-player[hidden] { display: none; }
.sfc-player-main { flex: 1; min-width: 0; }
.sfc-player-top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; margin-bottom: 6px; }
.sfc-now { font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--sfc-text); }
.sfc-time { color: var(--sfc-muted); font-variant-numeric: tabular-nums; }
.sfc-seek { width: 100%; accent-color: var(--sfc-accent); }

.sfc-dialog { border: 1px solid var(--sfc-line); border-radius: 18px; padding: 0; background: var(--sfc-card); color: var(--sfc-text); width: min(440px, calc(100% - 32px)); }
.sfc-dialog::backdrop { background: rgba(0, 0, 0, .6); }
.sfc-dialog-inner { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.sfc-dialog-inner h3 { margin: 0; font-size: 20px; color: var(--sfc-text); }
.sfc-dlabel { font-family: ui-monospace, Menlo, Consolas, monospace; }
.sfc-row { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 6px; }

@media (max-width: 600px) {
	.sfc-form, .sfc-card { padding: 20px; }
	.sfc-player-vote { display: none; }
}
