/* Music247 v1.5.0 — additive UI only.
 * styles.css is the exact v1.4.0 file from the supplied archive.
 * Existing player, channels, background, fonts and themes are not restyled here.
 */
.skip-now-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(216px, 100%);
  min-height: 48px;
  margin: 24px auto 0;
  padding: 12px 24px;
  border: 1px solid color-mix(in srgb, var(--accent) 70%, white);
  border-radius: 14px;
  color: #03151b;
  background: linear-gradient(125deg, var(--accent), var(--good));
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 48%, transparent), 0 0 44px color-mix(in srgb, var(--good) 25%, transparent);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.skip-now-button:hover { transform: translateY(-2px); box-shadow: 0 0 28px color-mix(in srgb, var(--accent) 62%, transparent); }
.skip-now-button > span { font-size: 21px; line-height: 1; }
/* The extra button follows the existing Video / Audio focus controls. */
.login-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface-strong) 90%, transparent);
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
}
.login-button:hover { border-color: var(--accent); color: var(--accent-ink); }
.login-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.top-actions { flex-wrap: wrap; max-width: 100%; }
/* Keep both original footer text blocks, with four icons centered between them. */
.footer { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.footer > div { flex-wrap: wrap; }
.footer > p { justify-self: end; text-align: right; }
.footer-socials { display: flex; align-items: center; justify-content: center; gap: 10px; }
.social-link {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: color-mix(in srgb, var(--surface-strong) 85%, transparent);
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, transform .18s ease;
}
.social-link svg { width: 20px; height: 20px; fill: currentColor; }
.social-link:hover { color: var(--accent-ink); border-color: var(--accent); transform: translateY(-2px); }
/* Native dialog isolates account input from music-player keyboard shortcuts. */
.auth-dialog {
  width: min(452px, calc(100vw - 28px));
  max-height: calc(100dvh - 36px);
  margin: auto;
  padding: 32px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: 28px;
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: 0 30px 100px rgba(0,0,0,.55);
  overflow: auto;
  overscroll-behavior: contain;
}
.auth-dialog::backdrop { background: rgba(2,8,13,.72); backdrop-filter: blur(12px); }
.auth-dialog [hidden] { display: none !important; }
.auth-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 11px; }
.auth-close svg { width: 17px; height: 17px; }
.auth-brand { width: 164px; margin: 2px 0 24px; }
.auth-dialog h2 { margin: 0 0 9px; font-size: 27px; line-height: 1.15; letter-spacing: -.025em; }
.auth-subtitle { margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.auth-providers { display: grid; gap: 10px; }
.auth-provider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 11px 15px;
  border: 1px solid var(--border);
  border-radius: 13px;
  color: var(--text);
  background: var(--surface-soft);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.auth-provider svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.auth-provider--facebook svg { fill: #1877f2; }
.auth-provider:hover { border-color: var(--accent); }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--faint); margin: 22px 0; font-size: 11px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-dialog label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin: 0 0 8px; }
.auth-dialog input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
}
.auth-dialog input::placeholder { color: var(--faint); }
#code-input { font-variant-numeric: tabular-nums; letter-spacing: .45em; text-align: center; }
.auth-submit { width: 100%; margin-top: 14px; min-height: 48px; font-size: 13px; }
.auth-hint { color: var(--faint); font-size: 11px; line-height: 1.6; margin: 12px 0 0; text-align: center; }
.auth-optional { padding-top: 15px; border-top: 1px solid var(--border); }
.auth-text-button { display: block; margin: 14px auto 0; padding: 5px; background: transparent; border: 0; color: var(--accent-ink); font-size: 12px; cursor: pointer; }
.auth-text-button:hover { text-decoration: underline; }
.auth-message { margin: 14px 0 0; color: var(--good-ink); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.auth-message:empty { display: none; }
.auth-message.error { color: var(--warning); }
html[data-theme="day"] .auth-message.error { color: #713008; }
.auth-dialog button:disabled { opacity: .5; cursor: wait; }
.member-name { font-size: 19px; font-weight: 750; overflow-wrap: anywhere; }
.member-email { color: var(--muted); font-size: 13px; margin-bottom: 24px; overflow-wrap: anywhere; }
#turnstile-box { margin-top: 14px; min-height: 65px; }
@media (max-width: 720px) {
  .login-button { min-height: 42px; padding: 0 9px; gap: 5px; font-size: 12px; }
  .login-button svg { width: 15px; height: 15px; }
  .footer { grid-template-columns: 1fr; }
  .footer-socials { justify-self: center; margin: 5px 0; }
  .footer > p { justify-self: start; text-align: left; }
  .auth-dialog { padding: 27px 22px; }
}
/* Only wrap the header where the added Login would otherwise clip. */
@media (max-width: 540px) {
  .top-actions { grid-column: 1 / -1; justify-self: stretch; justify-content: flex-start; }
  .top-actions #themeBtn { margin-left: auto; }
}
