/* =====================================================================
   SkankRadio Band Profile (1.16.0) — public page /artist/{band}/
   Prefixes: .srap-* public view, .sr-profile-* editor
   ===================================================================== */
.srap-page {
	max-width: 1100px;
	margin: 40px auto;
	padding: 0 20px;
	color: #eee;
	font-family: inherit;
}

/* === HERO: centered column === */
.srap-hero.srap-hero-centered {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 18px;
	margin-bottom: 56px;
}

.srap-hero-centered .srap-hero-avatar {
	width: 280px;
	height: 280px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid #F9AB03;
	box-shadow: 0 14px 44px rgba(0, 0, 0, 0.55);
	background: #1a1a1a;
	margin: 0 auto;
}
.srap-hero-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.srap-hero-avatar-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #16BC0E 0%, #0a5a06 100%);
	color: #fff;
	font-size: 72px;
	font-weight: 800;
	letter-spacing: 2px;
}

.srap-hero-centered .srap-hero-name {
	margin: 6px 0 0;
	font-size: clamp(34px, 5vw, 56px);
	line-height: 1.05;
	font-weight: 800;
	color: #F9AB03;
	letter-spacing: -0.5px;
}
.srap-hero-centered .srap-hero-location {
	margin: 0;
	font-size: 15px;
	color: #16BC0E;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.srap-hero-centered .srap-hero-bio {
	margin: 4px auto 0;
	font-size: 16px;
	line-height: 1.65;
	color: #ffffff;
	max-width: 680px;
}

.srap-hero-centered .srap-hero-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 4px;
}
.srap-social {
	display: inline-block;
	padding: 8px 18px;
	background: transparent;
	color: #ffffff;
	border: 2px solid #16BC0E;
	border-radius: 50px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-decoration: none;
	transition: color 0.18s ease, border-color 0.18s ease;
}
.srap-social:hover { color: #F9AB03; border-color: #F9AB03; }

/* Analytics: horizontal strip under the bio (was a side card) */
.srap-hero-stats-strip {
	display: flex;
	justify-content: center;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 0;
	margin-top: 6px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	overflow: hidden;
}
.srap-hero-stats-strip .srap-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 18px 34px;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.srap-hero-stats-strip .srap-stat:last-child { border-right: 0; }
.srap-stat-value {
	font-size: 26px;
	font-weight: 800;
	color: #16BC0E;
	line-height: 1;
}
.srap-stat-label {
	font-size: 11px;
	color: #16BC0E;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-weight: 600;
}
.srap-stat-top { max-width: 220px; }
.srap-stat-toptrack {
	font-size: 14px;
	color: #F9AB03;
	font-weight: 700;
	text-decoration: none;
	line-height: 1.3;
}
.srap-stat-toptrack:hover { color: #ffbf1f; }

.srap-hero-actions { margin-top: 6px; }
.srap-edit-btn {
	display: inline-block;
	padding: 10px 22px;
	background: transparent;
	color: #ffffff;
	border: 2px solid #F9AB03;
	border-radius: 50px;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.18s ease, border-color 0.18s ease;
}
.srap-edit-btn:hover { color: #16BC0E; border-color: #16BC0E; }

/* === SECTIONS === */
.srap-section {
	margin-bottom: 48px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.srap-section-title {
	font-size: 20px;
	font-weight: 700;
	color: #F9AB03;
	margin: 0 0 20px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
}
.srap-empty { color: #16BC0E; font-style: italic; margin: 0; }

/* === TRACK GRID === */
.srap-tracks-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 22px;
}
.srap-track-card {
	display: block;
	text-decoration: none;
	color: inherit;
	transition: transform 0.18s ease;
}
.srap-track-card:hover { transform: translateY(-4px); }
.srap-track-cover {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 8px;
	display: block;
	background: #1a1a1a;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
.srap-track-cover-placeholder {
	width: 100%;
	aspect-ratio: 1 / 1;
	background: #1a1a1a;
	border-radius: 8px;
}
.srap-track-meta { margin-top: 10px; }
.srap-track-title {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.srap-track-artist { margin: 0; font-size: 13px; color: #16BC0E; }

/* Editor band switcher */
.sr-band-switch { margin-bottom: 8px; }
#sr-band-select {
	width: 100%;
	background-color: #050505;
	color: #ffffff;
	border: 2px solid #16BC0E;
	border-radius: 8px;
	padding: 12px 38px 12px 14px;
	font-size: 15px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23F9AB03' d='M6 8L0 0h12z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 14px center;
}
#sr-band-select:focus { outline: none; border-color: #F9AB03; }
#sr-band-select option {
	background-color: #050505 !important;
	color: #ffffff !important;
}

/* === MOBILE === */
@media (max-width: 720px) {
	.srap-hero-centered .srap-hero-avatar { width: 200px; height: 200px; }
	.srap-hero-stats-strip { width: 100%; }
	.srap-hero-stats-strip .srap-stat { flex: 1 1 33%; padding: 16px 10px; }
}
@media (max-width: 500px) {
	.srap-page { margin: 24px auto; padding: 0 16px; }
	.srap-hero-centered .srap-hero-avatar { width: 168px; height: 168px; }
	.srap-tracks-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

/* =====================================================================
   FRONT-END EDITOR [skankradio_profile]
   ===================================================================== */
.sr-profile-app {
	max-width: 1400px;
	margin: 25px auto;
	padding: 0 16px;
	color: #eee;
}
.sr-profile-gated {
	background: #1a1a1a;
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 16px;
	padding: 40px 32px;
	text-align: center;
}
.sr-profile-editor {
	background: #1a1a1a;
	border: 2px solid #16bc0e;
	border-radius: 16px;
	padding: 40px 44px;
	box-shadow: none;
}
.sr-profile-editor-header { margin-bottom: 24px; }
.sr-profile-editor-title {
	margin: 0 0 6px;
	font-size: 26px;
	font-weight: 700;
	color: #F9AB03;
}
.sr-profile-editor-sub {
	color: #ffffff;
	font-size: 14px;
	margin: 0;
	word-break: break-all;
}
.sr-profile-editor-sub a { color: #16BC0E; text-decoration: none; }
.sr-profile-editor-sub a:hover { color: #ffbf1f; }

.sr-profile-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.sr-profile-section-title {
	margin: 12px 0 0;
	font-size: 14px;
	font-weight: 700;
	color: #16BC0E;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	padding-top: 16px;
	border-top: 1px solid rgba(255,255,255,.08);
}

/* AVATAR EDITOR */
.sr-profile-avatar-row {
	display: flex;
	gap: 20px;
	align-items: center;
}
.sr-profile-avatar-preview {
	width: 120px;
	height: 120px;
	flex-shrink: 0;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid #ffffff;
	background: #1a1a1a;
}
.sr-profile-avatar-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.sr-profile-avatar-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #16BC0E 0%, #0a5a06 100%);
	color: #fff;
	font-size: 36px;
	font-weight: 800;
}
.sr-profile-avatar-controls {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.sr-profile-avatar-btn {
	display: inline-block;
	max-width: 200px;
}

.sr-profile-msg {
	margin-top: 12px;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
	min-height: 1em;
	text-align: center;
}
.sr-profile-msg:empty { display: none; }
.sr-profile-msg-success {
	background: rgba(22, 188, 14, 0.12);
	border: 1px solid rgba(22, 188, 14, 0.35);
	color: #16BC0E;
}
.sr-profile-msg-error {
	background: rgba(249, 171, 3, 0.12);
	border: 1px solid rgba(249, 171, 3, 0.35);
	color: #F9AB03;
}

@media (max-width: 600px) {
	.sr-profile-editor { padding: 28px 20px; }
	.sr-profile-avatar-row { flex-direction: column; align-items: flex-start; }
	.sr-profile-avatar-preview { width: 100px; height: 100px; }
}
