/*
 * Artists — archive landing, single profile, register + dashboard forms.
 * Loaded only on artist-related pages (see inc/enqueue.php).
 * Uses design tokens from main.css :root.
 */

/* --- shared ------------------------------------------------------------- */

.artist-kicker {
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--wf-gold, var(--ink-faint));
	margin: 0 0 10px;
}

.artists-lead {
	font-size: 17px;
	line-height: 1.55;
	color: var(--ink-soft);
	max-width: 640px;
}

.artist-notice {
	padding: 12px 16px;
	border: 1px solid var(--line);
	max-width: 640px;
	font-size: 15px;
}
.artist-notice.is-ok    { border-color: var(--wf-green, #1f3522); }
.artist-notice.is-error { border-color: var(--accent-red); color: var(--accent-red); }

/* --- archive landing ----------------------------------------------------- */

.artists-hero h1 {
	font-size: 44px;
	margin: 0 0 14px;
}
.artists-benefits {
	list-style: none;
	margin: 22px 0 28px;
	padding: 0;
	max-width: 640px;
}
.artists-benefits li {
	position: relative;
	padding: 8px 0 8px 26px;
	border-bottom: 1px solid var(--wf-line, rgba(0, 0, 0, 0.1));
	line-height: 1.5;
}
.artists-benefits li::before {
	content: "♪";
	position: absolute;
	left: 0;
	color: var(--wf-gold, var(--ink-faint));
}
.artists-cta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.artists-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.artist-card {
	display: block;
	color: inherit;
	text-decoration: none;
}
.artist-card-media {
	aspect-ratio: 1 / 1;
	background: var(--wf-bg, #f4ede0);
	overflow: hidden;
	margin-bottom: 12px;
}
.artist-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}
.artist-card:hover .artist-card-media img {
	transform: scale(1.03);
}
.artist-card-placeholder {
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	font-size: 42px;
	color: var(--ink-faint);
	background: var(--wf-bg, #f4ede0);
	aspect-ratio: 1 / 1;
}
.artist-card-name {
	margin: 0 0 4px;
	font-size: 22px;
}
.artist-card-opis {
	margin: 0;
	font-size: 14px;
	color: var(--ink-soft);
	line-height: 1.45;
}

/* --- single profile ------------------------------------------------------ */

.artist-profile-head {
	display: grid;
	grid-template-columns: 360px 1fr;
	gap: 36px;
	align-items: end;
	margin-bottom: 36px;
}
.artist-profile-media img {
	width: 100%;
	height: auto;
	display: block;
}
.artist-profile-intro h1 {
	font-size: 46px;
	margin: 0 0 10px;
}
.artist-opis {
	font-size: 17px;
	color: var(--ink-soft);
	line-height: 1.5;
}
.artist-bio {
	max-width: 720px;
	margin-bottom: 36px;
	line-height: 1.6;
}
.artist-song-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 720px;
}
.artist-song {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--wf-line, rgba(0, 0, 0, 0.1));
}
.artist-song-title {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.artist-song audio {
	max-width: 320px;
	width: 100%;
}

/* --- forms (register + dashboard) ---------------------------------------- */

.artist-form-section h1 {
	font-size: 40px;
	margin: 0 0 10px;
}
.artist-form {
	max-width: 640px;
	margin-top: 22px;
}
.artist-field {
	margin: 0 0 20px;
}
.artist-field label {
	display: block;
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 6px;
	color: var(--ink-soft);
}
.artist-field input[type="text"],
.artist-field input[type="email"],
.artist-field input[type="password"],
.artist-field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--line);
	background: #ffffff;
	font: inherit;
	color: var(--ink);
}
.artist-field input:focus,
.artist-field textarea:focus {
	outline: 2px solid var(--wf-gold, var(--ink));
	outline-offset: 0;
}
.artist-current-photo img {
	display: block;
	margin-bottom: 8px;
}
.artist-hint {
	font-size: 13px;
	color: var(--ink-faint);
	margin: 6px 0 0;
}
.artist-alt {
	font-size: 14px;
	color: var(--ink-soft);
}
/* Tracks header: label + slot counter */
.artist-tracks-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}
.artist-tracks-head label {
	margin: 0;
}
.artist-slots {
	font-family: var(--sans);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-faint);
}

/* Existing (saved) tracks */
.artist-dash-songs {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}
.artist-dash-songs li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--wf-line, rgba(0, 0, 0, 0.1));
}
.artist-song-icon {
	color: var(--wf-gold, var(--ink-faint));
	font-size: 16px;
}
.artist-dash-songs .artist-song-title {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.artist-remove {
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--accent-red);
	white-space: nowrap;
	cursor: pointer;
}

/* Dropzone */
.artist-dropzone {
	position: relative;
	border: 1.5px dashed rgba(0, 0, 0, 0.22);
	border-radius: 12px;
	background: var(--wf-bg, #f7f3ec);
	padding: 30px 20px;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.18s ease, background 0.18s ease;
}
.artist-dropzone:hover {
	border-color: var(--wf-gold, var(--ink));
}
.artist-dropzone.is-dragover {
	border-color: var(--wf-gold, var(--ink));
	background: rgba(184, 146, 77, 0.1);
}
/* The real <input> covers the zone but stays invisible; we drive the
   picker via zone click, so keep it from stealing pointer events. */
.artist-dropzone [data-artist-dropzone-input] {
	position: absolute;
	inset: 0;
	opacity: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
	z-index: -1;
}
.artist-dropzone-inner {
	pointer-events: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}
.artist-dropzone-icon {
	color: var(--wf-gold, var(--ink-soft));
	margin-bottom: 4px;
}
.artist-dropzone-title {
	margin: 0;
	font-size: 16px;
	color: var(--ink);
}
.artist-dropzone-sub {
	margin: 0;
	font-size: 13px;
	color: var(--ink-faint);
}
.artist-dropzone-browse {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Staged (not-yet-saved) upload queue */
.artist-dropzone-queue {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: grid;
	gap: 8px;
}
.artist-queue-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border: 1px solid var(--wf-line, rgba(0, 0, 0, 0.12));
	border-radius: 8px;
	background: #ffffff;
}
.artist-queue-icon {
	color: var(--wf-gold, var(--ink-faint));
}
.artist-queue-meta {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}
.artist-queue-name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 14px;
}
.artist-queue-size {
	font-size: 12px;
	color: var(--ink-faint);
}
.artist-queue-remove {
	flex: none;
	width: 26px;
	height: 26px;
	border: none;
	border-radius: 50%;
	background: transparent;
	color: var(--ink-faint);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}
.artist-queue-remove:hover {
	background: rgba(0, 0, 0, 0.06);
	color: var(--ink);
}
.artist-dropzone-error {
	margin: 10px 0 0;
	font-size: 13px;
	color: var(--accent-red);
}
.artist-login form {
	max-width: 420px;
}
.artist-login input[type="text"],
.artist-login input[type="password"] {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--line);
	font: inherit;
}

/* --- auth modal (login / register popup) --------------------------------- */

/* Scoped to the modal: this file now loads on every page for guests (the
   footer's "Artist login" opens the modal from anywhere), and a bare
   `button.btn` would have restyled every button on the site. */
.artist-auth-overlay button.btn {
	font: inherit;
	cursor: pointer;
}

/* Closed by default — opens only via .is-open (JS). Class-driven so the
   overlay can fade and the card can lift in. The [hidden] rule must beat
   our own display:grid, otherwise the modal shows on page load. */
.artist-auth-overlay[hidden] {
	display: none !important;
}
.artist-auth-overlay {
	position: fixed;
	inset: 0;
	z-index: 100;
	background: rgba(0, 0, 0, 0.55);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	display: grid;
	place-items: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.22s ease, visibility 0.22s ease;
}
.artist-auth-overlay.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}
body.artist-auth-open {
	overflow: hidden;
}

.artist-auth-modal {
	position: relative;
	width: 100%;
	max-width: 420px;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	background: #ffffff;
	border-radius: 14px;
	padding: 40px 40px 28px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
	transform: translateY(10px) scale(0.985);
	transition: transform 0.22s ease;
	/* The modal is a WHITE card, but it can open over a dark page (For-Artists,
	   register) whose :root pins --ink/--line to light values for dark
	   backgrounds. Pin readable dark-on-white values scoped to the modal so its
	   text + input borders are always legible, wherever it opens. */
	--ink: #241c14;
	--ink-soft: #5c5145;
	--ink-faint: #8a8074;
	--line: #cfc7b8;
	--wf-gold: #9b7833;
	color: var(--ink);
}
/* Make the fields unmistakably fields on the white card. */
.artist-auth-modal .artist-field input[type="text"],
.artist-auth-modal .artist-field input[type="email"],
.artist-auth-modal .artist-field input[type="password"] {
	background: #fbf9f4;
	color: var(--ink);
	border: 1px solid #c7bfb0 !important;
}
.artist-auth-modal .artist-field label { color: var(--ink-soft); }
.artist-auth-modal .artist-auth-title { color: var(--ink); }
.artist-auth-overlay.is-open .artist-auth-modal {
	transform: none;
}

.artist-auth-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 34px;
	height: 34px;
	border: none;
	border-radius: 50%;
	background: transparent;
	display: grid;
	place-items: center;
	color: var(--ink-faint);
	cursor: pointer;
	transition: color 0.2s ease, background 0.2s ease;
}
.artist-auth-close:hover {
	color: var(--ink);
	background: rgba(0, 0, 0, 0.05);
}

/* Content is centered; field labels stay left-aligned for scannability. */
.artist-auth-view {
	text-align: center;
}
.artist-auth-view .artist-field label {
	text-align: left;
}
.artist-auth-view .artist-notice {
	text-align: left;
}

.artist-auth-title {
	font-size: 30px;
	margin: 6px 0 6px;
}
.artist-auth-sub {
	font-size: 15px;
	color: var(--ink-soft);
	margin: 0 0 22px;
	line-height: 1.5;
}

/* Inputs — roomier + rounded inside the modal */
.artist-auth-modal .artist-field {
	margin-bottom: 16px;
}
.artist-auth-modal .artist-field input[type="text"],
.artist-auth-modal .artist-field input[type="email"],
.artist-auth-modal .artist-field input[type="password"] {
	height: 46px;
	border-radius: 8px;
	border-color: rgba(0, 0, 0, 0.18);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.artist-auth-modal .artist-field input:focus {
	outline: none;
	border-color: var(--wf-gold, var(--ink));
	box-shadow: 0 0 0 3px rgba(184, 146, 77, 0.18);
}
.artist-auth-modal .artist-field input::placeholder {
	color: var(--ink-faint);
	opacity: 0.7;
}

.artist-pass-wrap {
	position: relative;
}
.artist-pass-wrap input {
	width: 100%;
	padding-right: 58px;
}
.artist-pass-toggle {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	border: none;
	background: transparent;
	font-family: var(--sans);
	font-size: 12px;
	letter-spacing: 0.06em;
	color: var(--ink-faint);
	cursor: pointer;
	padding: 4px;
}
.artist-pass-toggle:hover {
	color: var(--ink);
}

.artist-auth-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	margin: 2px 0 18px;
	font-size: 13px;
}
.artist-remember {
	color: var(--ink-soft);
	cursor: pointer;
}
.artist-remember input {
	margin-right: 6px;
	accent-color: var(--wf-gold, #b8924d);
}
.artist-auth-forgot {
	color: var(--ink-soft);
	text-decoration: none;
	border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.artist-auth-forgot:hover {
	color: var(--ink);
}

.artist-auth-submit {
	width: 100%;
	border-radius: 8px;
	/* The button inherits the form's left-aligned text, so the label sat against
	   the left edge of a full-width button. */
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

.artist-auth-terms {
	font-size: 12px;
	color: var(--ink-faint);
	line-height: 1.5;
	margin: 12px 0 0;
	text-align: center;
}

.artist-auth-switch {
	margin: 22px -40px 0;
	padding: 16px 40px 0;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	font-size: 14px;
	color: var(--ink-soft);
	text-align: center;
}
.artist-auth-switch button {
	border: none;
	background: transparent;
	font: inherit;
	font-weight: 600;
	color: var(--ink);
	cursor: pointer;
	padding: 0;
	border-bottom: 1px solid var(--wf-gold, var(--ink));
}
.artist-auth-switch button:hover {
	color: var(--wf-gold, var(--ink));
}

.artist-auth-modal .artist-notice {
	border-radius: 8px;
	margin-bottom: 16px;
	font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
	.artist-auth-overlay,
	.artist-auth-modal {
		transition: none;
	}
}
@media (max-width: 480px) {
	.artist-auth-modal {
		padding: 32px 24px 22px;
	}
	.artist-auth-switch {
		margin-left: -24px;
		margin-right: -24px;
		padding-left: 24px;
		padding-right: 24px;
	}
}

/* --- responsive ---------------------------------------------------------- */

@media (max-width: 920px) {
	.artists-grid { grid-template-columns: 1fr 1fr; }
	.artist-profile-head { grid-template-columns: 1fr; align-items: start; }
	.artists-hero h1, .artist-profile-intro h1 { font-size: 34px; }
}
@media (max-width: 560px) {
	.artists-grid { grid-template-columns: 1fr; }
	.artist-song { flex-wrap: wrap; }
}

/* ===== Artist dashboard — themed layout, dark form + simulated stats ===== */
.artist-form-page .artist-form-section { max-width: 880px; margin: 0 auto; padding: clamp(40px,7vw,96px) 24px; }
.artist-form-page h1 { color: #efe6d6; }
.artist-form-h { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 26px; color: #efe6d6; margin: 40px 0 6px; padding-top: 26px; border-top: 1px solid rgba(201,164,76,.14); }

/* dark inputs (the auth modal keeps its own light styling) */
.artist-form-page .artist-field input[type="text"],
.artist-form-page .artist-field input[type="email"],
.artist-form-page .artist-field textarea {
  background: #141009 !important; color: #f2ead9 !important;
  border: 1px solid rgba(201,164,76,.28) !important; border-radius: 10px !important;
  padding: 12px 14px !important;
}
.artist-form-page .artist-field input:focus,
.artist-form-page .artist-field textarea:focus {
  border-color: #c9a44c !important; box-shadow: 0 0 0 3px rgba(201,164,76,.16) !important; outline: none !important;
}
.artist-form-page .artist-field label { color: #b7a98a; }
.artist-form-page .artist-field input[type="file"] { color: #b7a98a; }

/* stats */
.artist-stats { margin: 24px 0 8px; }
.astat-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
@media (max-width: 720px) { .astat-cards { grid-template-columns: 1fr 1fr; } }
.astat { background: rgba(255,255,255,.03); border: 1px solid rgba(201,164,76,.16); border-radius: 12px; padding: 16px 18px; }
.astat-payout { background: linear-gradient(180deg, rgba(201,164,76,.15), rgba(201,164,76,.04)); border-color: rgba(201,164,76,.42); }
.astat-k { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #b7a98a; }
.astat-v { font-family: 'Cormorant Garamond', serif; font-size: 30px; color: #efe6d6; margin-top: 6px; line-height: 1.1; }
.astat-payout .astat-v { color: #e7c87a; }
.astat-v .woocommerce-Price-amount { color: inherit !important; }
.astat-graph { margin-top: 14px; background: rgba(255,255,255,.02); border: 1px solid rgba(201,164,76,.14); border-radius: 12px; padding: 18px 20px 16px; }
.astat-graph-h { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #b7a98a; margin-bottom: 14px; }
.astat-bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.astat-bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 8px; }
.astat-bar span { width: 100%; max-width: 28px; background: linear-gradient(180deg,#e7c87a,#a67c33); border-radius: 4px 4px 0 0; display: block; }
.astat-bar em { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 9px; color: #8a7c66; font-style: normal; }
.astat-note { font-size: 12px; color: #8a7c66; margin-top: 12px; }

/* ===== Artist dashboard — cover-image zone + dark tracks ===== */
.artist-cover { display: block; position: relative; border: 1.5px dashed rgba(201,164,76,.3); border-radius: 14px; overflow: hidden; cursor: pointer; background: #0d0906; transition: border-color .18s ease; }
.artist-cover:hover { border-color: #c9a44c; }
.artist-cover-img { display: block; height: 210px; background: #0d0906 center/cover no-repeat; }
.artist-cover-img:not(.has-img) { background: linear-gradient(135deg,#1a130c,#0d0906); }
.artist-cover-cta { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 16px; background: rgba(13,9,6,.5); transition: opacity .2s ease; pointer-events: none; }
.artist-cover-img.has-img ~ .artist-cover-cta { opacity: 0; }
.artist-cover:hover .artist-cover-cta { opacity: 1; }
.artist-cover-cta svg { color: #e7c87a; }
.artist-cover-t { font-family: 'Cormorant Garamond', serif; font-size: 19px; color: #efe6d6; }
.artist-cover-s { font-size: 12px; color: #b7a98a; }
.artist-cover input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

.artist-form-page .artist-dropzone { background: #0d0906; border-color: rgba(201,164,76,.3); }
.artist-form-page .artist-dropzone:hover,
.artist-form-page .artist-dropzone.is-dragover { border-color: #c9a44c; background: rgba(201,164,76,.06); }
.artist-form-page .artist-dropzone-title { color: #efe6d6; }
.artist-form-page .artist-dropzone-sub { color: #b7a98a; }
.artist-form-page .artist-dropzone-browse { color: #e7c87a; }
.artist-form-page .artist-dropzone-icon { color: #c9a44c; }
.artist-form-page .artist-dash-songs li { border-bottom-color: rgba(201,164,76,.14); }
.artist-form-page .artist-song-title,
.artist-form-page .artist-tracks-head label { color: #efe6d6; }
.artist-form-page .artist-slots { color: #b7a98a; }
.artist-form-page .artist-queue-item { background: #141009; border-color: rgba(201,164,76,.2); color: #efe6d6; }
.artist-form-page audio { width: 240px; max-width: 100%; }


/* ---- artist dashboard: one column width for the whole page ---------------
   The stats and the chart run the full 880px shell; the form under them was
   still 640, so "Your public page" read as a different, narrower page. */
.artist-form-page .artist-form { max-width: none; }
.artist-form-page .artist-actions { display: flex; justify-content: center; margin-top: 28px; }
.artist-form-page .artist-actions .btn { min-width: 240px; text-align: center; justify-content: center; }

/* ---- artist dashboard: five fixed track slots ---------------------------
   One row per slot, always five, so an artist sees what is filled and what is
   free without the list growing and the upload box moving around. */
.artist-slots { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.artist-slot {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid rgba(201,164,76,0.18);
  border-radius: 10px;
  background: rgba(201,164,76,0.03);
}
.artist-slot.is-filled { background: rgba(201,164,76,0.07); border-color: rgba(201,164,76,0.3); }
.artist-slot-n {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: #9d8d70;
  line-height: 34px;
  text-align: center;
}
.artist-slot-body { display: grid; gap: 8px; min-width: 0; }
.artist-form-page .artist-slot input[type="text"] { width: 100%; }
.artist-slot-audio { width: 100%; height: 34px; }
.artist-slot .artist-remove { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #9d8d70; display: inline-flex; align-items: center; gap: 7px; }

/* The file row: a real button plus the chosen name, instead of the browser's. */
.artist-slot-file { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; cursor: pointer; }
.artist-slot-file input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.artist-slot-file-btn {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid rgba(201,164,76,0.5);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e4d9c2;
  transition: border-color .2s, color .2s;
}
.artist-slot-file:hover .artist-slot-file-btn { border-color: #c9a44c; color: #f4ecd8; }
.artist-slot-file-name { font-family: var(--serif); font-style: italic; font-size: 13.5px; color: #9d8d70; }
.artist-slot-file-name.has-file { color: #e4d9c2; font-style: normal; }

/* A sign-in that failed, said inside the modal instead of on WooCommerce's
   own page. */
.artist-auth-error {
  margin: 0 0 16px;
  padding: 11px 14px;
  border: 1px solid rgba(181,67,43,0.45);
  background: rgba(181,67,43,0.08);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  color: #e0a99a;
}

/* ── The auth modal, as the design draws it (LOLA/v2 "Artist Portal") ──────
   A photo panel beside the form: the wordmark, what the artist gets, and two
   figures. It is what makes this read as the Artist Portal rather than a
   generic login box — and it is decoration, so a phone gets the form alone.
   Scoped to [data-artist-auth]: the customer login reuses these class names,
   and an unscoped two-column rule left it with an empty right half. */
[data-artist-auth] .artist-auth-modal { --aa-dark:#100c08; --aa-cream:#f5ede0; --aa-mute:#8e8474; --aa-soft:#c7bba8; --aa-gold:#c9a661; }
@media (min-width: 861px) {
  [data-artist-auth] .artist-auth-modal { display: grid; grid-template-columns: 1.05fr 1fr; max-width: 940px; width: min(940px, 94vw); padding: 0; overflow: hidden; }
  [data-artist-auth] .artist-auth-modal .artist-auth-body { padding: clamp(30px, 3vw, 48px); overflow-y: auto; max-height: 88vh; }
}
[data-artist-auth] .artist-auth-art { display: none; }
@media (min-width: 861px) {
  [data-artist-auth] .artist-auth-art {
    display: flex; flex-direction: column; justify-content: space-between;
    position: relative; padding: clamp(30px, 3vw, 48px);
    background: var(--aa-dark) center/cover no-repeat;
    background-image: var(--img-wide, none);
  }
  [data-artist-auth] .artist-auth-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(16,12,8,.6), rgba(16,12,8,.88)); }
  [data-artist-auth] .artist-auth-art > * { position: relative; z-index: 1; }
  [data-artist-auth] .artist-auth-art .wordmark { font-family: var(--font-word, serif); font-size: 22px; letter-spacing: .24em; text-transform: uppercase; color: var(--aa-cream); }
  [data-artist-auth] .artist-auth-art .wordmark .plus { color: var(--aa-gold); }
  [data-artist-auth] .artist-auth-art .wordmark .sub { display: block; font-family: var(--font-code, monospace); font-size: 8.5px; letter-spacing: .32em; color: var(--aa-mute); margin-top: 5px; }
  [data-artist-auth] .artist-auth-art h2 { font-family: var(--font-serif, serif); font-weight: 400; color: var(--aa-cream); font-size: clamp(30px, 3vw, 44px); line-height: 1.04; margin: 0; }
  [data-artist-auth] .artist-auth-art h2 em { color: var(--aa-gold); font-style: italic; }
  [data-artist-auth] .artist-auth-art .p { font-family: var(--font-serif, serif); font-size: 17px; line-height: 1.55; color: var(--aa-soft); margin-top: 18px; max-width: 38ch; }
  [data-artist-auth] .artist-auth-art .stats { display: flex; gap: 34px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(231,210,176,.16); flex-wrap: wrap; }
  [data-artist-auth] .artist-auth-art .stats .n { font-family: var(--font-serif, serif); font-size: 32px; color: var(--aa-gold); line-height: 1; }
  [data-artist-auth] .artist-auth-art .stats .l { font-family: var(--font-code, monospace); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--aa-mute); margin-top: 7px; }
  /* The close button sits over the form half, not the photo. */
  [data-artist-auth] .artist-auth-modal .artist-auth-close { z-index: 3; }
}
