:root {
  /* Same canvas as Plans (/user/subscribe): default layout, no extra body_class. */
  --bg: #f9f7fb;
  /*
   * Avoid radial gradients that fade to transparent: they expose plain --bg below and read as a
   * horizontal “seam” on tall/mobile viewports. Use a soft opaque vertical blend instead.
   */
  --body-bg: linear-gradient(
    180deg,
    #faf8fc 0%,
    var(--bg) 42%,
    #f7f5fa 100%
  );
  --bg-soft: #f1ebf6;
  --surface: #ffffff;
  --text: #1f2433;
  --muted: #6d7388;
  --border: #dde2ef;
  --primary: #8a1538;
  --primary-2: #b11f50;
  --accent: #18a7ff;
  --gold: #d6a34f;
  --danger: #d64045;
  --shadow: 0 10px 28px rgba(80, 24, 53, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  overscroll-behavior-x: none;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  /* Single flat layer — decorative gradient lives only on body to avoid double-stacking seams */
  background-color: var(--bg);
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  background: var(--body-bg);
  background-color: var(--bg);
  background-attachment: scroll;
}

body.has-nav {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1, h2, h3 {
  margin-top: 0;
  letter-spacing: 0.1px;
}

a {
  color: var(--primary);
}

.container {
  width: 100%;
  max-width: min(1100px, 100%);
  margin: 24px auto;
  padding: 0 14px;
  min-width: 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.hero {
  text-align: center;
  padding: 36px 20px;
  border-top: 4px solid var(--accent);
}

.hero h1 {
  margin: 8px auto 12px;
  max-width: 760px;
  font-size: 2rem;
  line-height: 1.18;
  color: #2d1f57;
}

.badge {
  display: inline-block;
  margin: 0 auto 8px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #2ec7b0);
}

.plans-discount-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  margin: 0 auto 18px;
  padding: 0 12px;
  max-width: 560px;
  box-sizing: border-box;
}

.plans-discount-line1 {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #2d1f57;
  line-height: 1.4;
}

.plans-discount-line2 {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #4a3f5c;
  line-height: 1.4;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #444d69;
  margin: 10px 0 6px;
}

input, select, textarea, button {
  width: 100%;
  font: inherit;
}

input, select, textarea {
  border: 1px solid #ccd4e6;
  border-radius: 10px;
  background: #fbfcff;
  color: var(--text);
  padding: 10px 12px;
  margin-bottom: 10px;
  transition: all 0.15s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-2);
  box-shadow: 0 0 0 3px rgba(108, 53, 204, 0.14);
  background: #fff;
}

button,
.button-link {
  display: inline-block;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2), #7c2fb8);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

button:hover,
.button-link:hover {
  opacity: 0.94;
  transform: translateY(-1px);
}

button:active,
.button-link:active {
  transform: translateY(0);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
}

th, td {
  border: 1px solid var(--border);
  padding: 10px 9px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f8f9fe;
  color: #3c4562;
  font-size: 13px;
}

.inline-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 10px 12px;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.site-nav a {
  color: #4d2557;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #e8def2;
  background: #fff;
}

.site-nav a:hover {
  background: #f0ebfb;
}

.site-nav a.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #8a1538, #a71860, #7d35d8);
}

.has-nav .main-content {
  padding-bottom: 100px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  background: transparent;
  min-height: calc(100vh - 72px);
  min-height: calc(100dvh - 72px);
  min-height: calc(100svh - 72px);
}

body.has-nav.no-dock .main-content {
  padding-bottom: 24px;
  min-height: calc(100vh - 72px);
  min-height: calc(100dvh - 72px);
  min-height: calc(100svh - 72px);
  background: transparent;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 13px;
}

.mono {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 12px;
}

.fieldset-bl {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
  background: #fafbff;
}

.secondary {
  background: linear-gradient(135deg, #5a647d, #6f7890);
}

button.linkish,
.linkish {
  background: transparent !important;
  color: var(--primary) !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 4px 0 0 !important;
  text-decoration: underline;
}

.linkish.danger {
  color: var(--danger) !important;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.plan-card {
  border-top: 4px solid var(--gold);
}

.plan-card .price {
  font-size: 1.4rem;
  color: #311f64;
}

.lyrics-cell {
  max-width: 260px;
  word-break: break-word;
}

.audio-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  padding: 10px 12px;
  z-index: 50;
  box-shadow: 0 -4px 18px rgba(80, 24, 53, 0.12);
}

.audio-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.audio-bar audio {
  width: 100%;
  accent-color: var(--accent);
}

.now-title {
  display: block;
  color: #2f3652;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
}

button.danger-wide {
  background: linear-gradient(135deg, var(--primary), var(--primary-2), #7c2fb8);
}

.brand-row {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 8px;
}

.back-nav {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #1f2433;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  box-sizing: border-box;
  line-height: 0;
  padding: 0;
}

.back-nav svg {
  width: 14px;
  height: 14px;
  display: block;
  flex-shrink: 0;
  transform: translateX(-0.5px);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #8a1538, #7d35d8);
}

.brand-logo-icon {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 5px;
}

.lang-chip {
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: #49506a;
  font-size: 12px;
  font-weight: 700;
}

.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.quick-btn {
  display: block;
  text-decoration: none;
  text-align: center;
  padding: 12px 10px;
  border-radius: 14px;
  font-weight: 700;
  color: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-btn.tone-1 { background: linear-gradient(135deg, #8a1538, #a91e52); }
.quick-btn.tone-2 { background: linear-gradient(135deg, #9b1b43, #bb2a5f); }
.quick-btn.tone-3 { background: linear-gradient(135deg, #ad244f, #cb376e); }
.quick-btn.tone-4 { background: linear-gradient(135deg, #bf2f5b, #db4b7f); }

/* Tab bar: viewport-fixed (do not use transform here — it can break fixed positioning in some WebViews). */
.mobile-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 220;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mobile-dock a {
  text-align: center;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  color: #111;
  padding: 6px 0 7px;
  border-radius: 0;
  background: transparent;
  display: grid;
  place-items: center;
  gap: 2px;
  min-width: 0;
  max-width: 100%;
}

.mobile-dock a .dock-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #111;
  font-size: 12px;
  line-height: 1;
}

.mobile-dock a .dock-icon svg {
  width: 18px;
  height: 18px;
  overflow: visible;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-dock a.active {
  background: transparent;
  color: #ac1e4d;
}

.mobile-dock a.active .dock-icon {
  color: #ac1e4d;
}

@media (max-width: 760px) {
  .container {
    margin-top: 14px;
    padding: 0 10px;
  }

  .site-nav {
    padding: 8px 8px 12px;
  }

  .hero h1 {
    font-size: 1.55rem;
  }

  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .has-nav .main-content {
    padding-bottom: 140px;
  }
}

.menu-list {
  display: grid;
  gap: 12px;
}

.menu-item-form {
  margin: 0;
}

.menu-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: center;
  justify-items: start;
  width: 100%;
  box-sizing: border-box;
  text-decoration: none;
  color: #2e3550;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 600;
  text-align: left;
}

.menu-item-label {
  grid-column: 2;
  width: 100%;
  min-width: 0;
  text-align: left;
  justify-self: stretch;
}

.menu-item .menu-icon {
  width: 22px;
  height: 22px;
  color: #ac1e4d;
}

.menu-item .menu-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.danger-item {
  color: #fff;
  background: linear-gradient(135deg, #8a1538, #b11f50);
  border-color: transparent;
}

.danger-item .menu-icon {
  color: #fff;
}

.invite-share {
  margin: 10px 0 14px;
}

/* Bonus + Invite Friends: transparent fill, brown–purple outline */
.invite-promo-cluster {
  margin: 0 0 16px;
  padding: 14px 14px 12px;
  border-radius: 14px;
  border: 2px solid rgba(115, 72, 102, 0.72);
  background: transparent;
  box-sizing: border-box;
}

.invite-promo-cluster .invite-promo-frame {
  margin-bottom: 10px;
}

.invite-promo-cluster .invite-share {
  margin: 0;
}

/* Bonus block: fully transparent panel (text only, no tinted card). */
.invite-promo-frame {
  margin: 0 0 14px;
  border-radius: 0;
  border: none;
  background: transparent;
  background-image: none;
  padding: 0;
}

.invite-promo-copy {
  margin: 0;
  border-radius: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.55;
  background: transparent;
  color: #2a2438;
}

.invite-promo-copy p {
  margin: 0 0 8px;
  color: #2a2438;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.invite-promo-copy p:last-child {
  margin-bottom: 0;
}

.invite-promo-li {
  padding-left: 2px;
}

.invite-promo-inline-link {
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.invite-promo-inline-link:hover {
  opacity: 0.88;
}

button.invite-friends-btn {
  width: 100%;
  background: linear-gradient(135deg, #7c3aed, #c026d3, #ea580c);
  color: #fff;
  border: 0;
  box-shadow: var(--shadow);
}

/* Create page: tab bar pinned to viewport bottom (first screen always shows dock). */
.page-generate .mobile-dock {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  padding: 3px 2px calc(3px + env(safe-area-inset-bottom));
}

.page-generate .mobile-dock a {
  font-size: clamp(8px, 2.6vw, 10px);
  font-weight: 700;
  padding: 3px 0 4px;
  min-width: 0;
}

.page-generate .mobile-dock a span:last-child {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-generate .mobile-dock a .dock-icon svg {
  width: clamp(14px, 4vw, 17px);
  height: clamp(14px, 4vw, 17px);
}

body.page-generate.has-nav {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

/* Create page: modals centered in the visible viewport (first screen). */
body.page-generate .share-modal-overlay.show,
body.page-invite .share-modal-overlay.show,
body.page-profile .share-modal-overlay.show,
body.page-generate .submit-modal-overlay.show {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  min-height: 100svh !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

body.has-nav.page-generate .main-content {
  padding-bottom: 88px;
}

@media (max-width: 760px) {
  body.has-nav.page-generate .main-content {
    padding-bottom: 72px;
  }
}

.lyrics-mode-switch {
  display: inline-flex;
  gap: 8px;
  background: #f3eef7;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
}

.lyrics-mode-option {
  display: inline-block !important;
  width: auto;
  margin: 0;
  cursor: pointer;
}

.lyrics-mode-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lyrics-mode-option span {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  color: #6c6f7f;
  font-weight: 700;
  font-size: 13px;
}

.lyrics-mode-option input:checked + span {
  color: #ac1e4d;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.share-modal-overlay {
  position: fixed;
  inset: 0;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: rgba(22, 18, 34, 0.45);
  z-index: 450;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.share-modal-overlay.show {
  display: flex;
}

.share-modal {
  width: min(540px, calc(100% - 24px));
  max-width: min(540px, calc(100% - 24px));
  max-height: min(90vh, calc(100dvh - 32px));
  overflow-y: auto;
  margin: auto;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
  position: relative;
}

.share-modal-title {
  margin: 0 0 10px;
  font-size: 1.125rem;
  font-weight: 700;
  color: #2e3550;
}

/* Bottom Cancel: same container + .secondary as commercial-license modal. */
.share-modal .license-modal-actions .secondary {
  width: 100%;
}

button.menu-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: center;
  justify-items: start;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  border: 1px solid var(--border);
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.share-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.share-grid button {
  margin: 0;
}

/* Invite modal: white fill, brown–purple gradient border (matches brand nav tones). */
.share-modal .share-grid .share-channel {
  color: #2e3550;
  background-color: #fff;
  background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, #8a1538 0%, #a0526e 45%, #7d35d8 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 2px solid transparent;
  border-radius: 10px;
  box-shadow: none;
}

.share-modal .share-grid .share-channel:hover {
  filter: brightness(0.97);
}

.task-msg {
  margin-bottom: 12px;
  border-left: 4px solid #18a7ff;
}

.task-status {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
}

.task-status.running {
  color: #6a4a00;
  background: #fff2d8;
}

.task-status.success {
  color: #0f6a3a;
  background: #def7ea;
}

.task-status.failed {
  color: #922a2e;
  background: #fde4e6;
}

.table-wrap {
  overflow-x: auto;
}

.songs-table {
  min-width: 560px;
}

.songs-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.song-no-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.icon-btn {
  width: 34px;
  height: 34px;
  min-width: 34px;
  padding: 6px;
  margin: 0 4px 0 0;
  display: inline-grid;
  place-items: center;
}

.plain-icon-btn {
  background: transparent !important;
  color: #111 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.batch-delete-btn {
  width: auto;
  padding: 8px 14px;
  margin: 0;
}

/* —— Mobile feed (songs / orders), JD-style cards —— */
body.has-nav.page-songs .main-content,
body.has-nav.page-orders .main-content {
  margin-top: 0;
  padding-top: 12px;
  border-radius: 0;
}

.mob-feed {
  max-width: 100%;
  min-width: 0;
}

.mob-feed-title {
  font-size: 1.25rem;
  margin: 0 0 8px;
  color: #1a1a1a;
}

.mob-feed-hint {
  font-size: 13px;
  margin: 0 0 12px;
  line-height: 1.4;
}

.mob-feed-form {
  margin: 0;
}

.mob-feed-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding: 0 2px;
}

.mob-feed-toolbar label.mob-toolbar-check {
  display: inline-flex;
  width: auto;
  margin: 0;
}

.mob-toolbar-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #555;
  cursor: pointer;
}

.mob-toolbar-check span {
  user-select: none;
}

.mob-checkbox {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #8a1538;
}

.mob-card-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-bottom: 8px;
}

.mob-feed-empty {
  margin: 24px 0;
  text-align: center;
}

.mob-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border: 1px solid #ebebeb;
  max-width: 100%;
  min-width: 0;
}

.mob-card-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 10px 8px;
  border-bottom: 1px solid #f0f0f0;
}

.mob-card-head-no-check {
  padding-left: 12px;
}

.mob-card-head-check {
  display: flex;
  align-items: center;
  padding: 2px;
  flex-shrink: 0;
}

.mob-card-head-check .mob-checkbox {
  margin: 0;
}

.mob-shop-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 600;
}

.mob-shop-row-static {
  cursor: default;
}

.mob-shop-ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.mob-shop-ico img {
  display: block;
  border-radius: 4px;
}

.mob-shop-name {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mob-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.35;
}

.mob-chevron path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mob-card-status {
  flex-shrink: 0;
  margin-left: auto;
}

.mob-card-main {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  padding: 10px 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.mob-card-main-static {
  cursor: default;
}

.mob-thumb {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.mob-thumb-song {
  background: linear-gradient(145deg, #f0e8ff 0%, #ffe8ef 50%, #e8f4ff 100%);
  border: 1px solid #ebebeb;
}

.mob-thumb-song svg {
  width: 50px;
  height: 50px;
  display: block;
}

.mob-thumb-song img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: transparent;
}

.mob-shop-row-no {
  text-decoration: none;
  cursor: default;
}

.mob-thumb-order {
  background: linear-gradient(145deg, #fff8e8 0%, #fff0f4 100%);
  border: 1px solid #ebebeb;
}

.mob-thumb-order svg {
  width: 36px;
  height: 36px;
  stroke: #c47a00;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mob-card-main-txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  padding: 2px 0;
}

.mob-card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #1a1a1a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.mob-card-meta {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #888;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.mob-card-side {
  flex-shrink: 0;
  width: 72px;
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 2px;
  padding-top: 2px;
}

.mob-card-side-label {
  font-size: 11px;
  color: #999;
}

.mob-card-side-val {
  font-size: 11px;
  font-weight: 700;
  color: #666;
  word-break: break-all;
}

.mob-card-side-price {
  align-items: flex-end;
}

.mob-price {
  font-size: 16px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.mob-currency {
  font-size: 11px;
  color: #888;
}

.mob-card-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 10px;
  border-top: 1px solid #f5f5f5;
  background: #fafafa;
}

.mob-icon-form {
  display: inline-flex;
  margin: 0;
  vertical-align: middle;
}

/* Override global `button { width:100%; padding:…; gradient }` inside feed cards */
.mob-feed button.mob-icon-btn,
.mob-feed a.mob-icon-btn {
  box-sizing: border-box;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  padding: 0 !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 8px !important;
  border: 1px solid #dcdcdc !important;
  background: #fff !important;
  color: #333 !important;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: none !important;
  flex-shrink: 0;
  font-weight: 400 !important;
  transform: none !important;
}

.mob-feed button.mob-icon-btn:hover,
.mob-feed a.mob-icon-btn:hover {
  opacity: 1 !important;
  transform: none !important;
}

.mob-feed button.mob-icon-btn:active,
.mob-feed a.mob-icon-btn:active {
  background: #f2f2f2 !important;
  transform: none !important;
}

.mob-feed .mob-icon-btn svg {
  width: 17px !important;
  height: 17px !important;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mob-feed button.mob-icon-btn-danger,
.mob-feed a.mob-icon-btn-danger {
  color: #b83232 !important;
  border-color: #eccfcf !important;
  background: #fff9f9 !important;
}

.mob-feed button.mob-icon-btn-pay,
.mob-feed a.mob-icon-btn-pay {
  color: #146c43 !important;
  border-color: #b8e0cc !important;
  background: #f0fbf5 !important;
}

.mob-feed button.mob-icon-btn-pay:active,
.mob-feed a.mob-icon-btn-pay:active {
  background: #e5f6ee !important;
}

.mob-feed-toolbar button.mob-icon-btn {
  flex-shrink: 0;
}

/* Legacy class kept for non-feed contexts */
.mob-icon-btn {
  width: 34px;
  height: 34px;
}

/* Play = filled triangle */
.mob-feed .mob-icon-btn-play svg {
  stroke: none !important;
  fill: currentColor !important;
}

.credits-link {
  text-decoration: none;
}

.songs-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
  margin-bottom: 10px;
}

.mob-feed-title-inline {
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
  font-size: 1.35rem;
}

.page-songs .songs-head-row .songs-tabs {
  flex: 0 0 auto;
  margin: 0;
}

.songs-tabs {
  display: flex;
  gap: 8px;
  margin: 8px 0 12px;
}

.songs-tab {
  width: auto;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #ac1e4d;
  background: #fff;
  color: #ac1e4d;
  margin: 0;
}

.songs-tab.is-active {
  background: #ac1e4d;
  color: #fff;
  border-color: #ac1e4d;
}

.songs-tab-panel {
  display: none;
}

.songs-tab-panel.is-active {
  display: block;
}

.music-list {
  display: grid;
  gap: 10px;
}

.music-row {
  display: grid;
  grid-template-columns: 24px 62px 1fr auto;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
}

.music-check-wrap {
  display: grid;
  place-items: center;
}

.music-cover {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  text-decoration: none;
  background: linear-gradient(145deg, #f0e8ff 0%, #ffe8ef 50%, #e8f4ff 100%);
  border: 1px solid #ebebeb;
  cursor: pointer;
  margin: 0;
  padding: 0;
  appearance: none;
}

.music-cover svg {
  width: 28px;
  height: 28px;
  stroke: #8a1538;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.music-cover .icon-cover-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  background: transparent;
}

.music-cover .icon-cover-svg {
  width: 44px;
  height: 44px;
  display: block;
}

.music-cover .icon-play,
.music-cover .icon-pause {
  display: none;
}

.music-cover.is-playing .icon-play {
  display: none;
}

.music-cover.is-playing .icon-pause {
  display: block;
}

.music-cover:hover .icon-play {
  display: block;
  fill: #8a1538;
  stroke: none;
}

.music-cover:hover .icon-cover-svg {
  display: none;
}

.music-cover.is-playing .icon-pause {
  display: block;
  fill: #8a1538;
  stroke: none;
}

.music-cover.is-playing:hover .icon-play,
.music-cover.is-playing:hover .icon-cover-img,
.music-cover.is-playing:hover .icon-cover-svg {
  display: none;
}

.song-card-logo {
  width: 58px;
  height: 58px;
  display: block;
}

.music-main {
  min-width: 0;
}

.music-title {
  display: block;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-title-link {
  color: #8a1538;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.music-row audio {
  display: none;
}

.music-meta {
  color: #777;
  font-size: 12px;
  line-height: 1.4;
}

.music-playback-status {
  color: #b8860b;
}

.music-playback-status.is-ready {
  color: #2d7a46;
}

.music-download-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #111;
  border: 1px solid #e6e6e6;
  background: #fff;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
}

.music-download-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.music-actions-tail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.license-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.submit-modal-overlay {
  position: fixed;
  inset: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: rgba(20, 18, 34, 0.45);
  z-index: 450;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right))
    max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.submit-modal-overlay.show {
  display: flex;
}

.submit-modal {
  width: min(460px, calc(100% - 28px));
  max-width: min(460px, calc(100% - 28px));
  max-height: min(90vh, calc(100dvh - 28px));
  overflow-y: auto;
  margin: auto;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
  text-align: center;
}

.profile-logout-form {
  margin-top: 22px;
}

.profile-logout-form button {
  margin-bottom: 0;
}

.detail-card {
  max-width: 780px;
  margin: 0 auto;
}

.player-shell {
  min-height: calc(100vh - 68px);
  min-height: calc(100dvh - 68px);
  min-height: calc(100svh - 68px);
  margin: -10px 0 -18px;
  padding: 22px 16px 18px;
  max-width: 100%;
  box-sizing: border-box;
  background: transparent;
  color: #2b2230;
}

.player-topbar {
  text-align: center;
  margin-bottom: 18px;
}

.player-badge {
  color: #8a1538;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 700;
}

/* Square frame + absolutely positioned img avoids replaced-element flex quirks (rectangle creep). */
.player-art-wrap {
  width: min(86vw, 340px);
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  margin: 0 auto;
  background: #fff;
  border-radius: 22px;
  border: 1px solid var(--border);
  padding: 14px;
  box-shadow: 0 8px 24px rgba(138, 21, 56, 0.08);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}

.player-art {
  position: absolute;
  left: 14px;
  top: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  max-width: none;
  max-height: none;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.player-title {
  margin: 18px 2px 6px;
  font-size: 26px;
  font-weight: 700;
  color: #000;
}

.player-subtitle {
  display: none;
}

.player-visual-slot {
  margin: 0 auto;
  width: min(86vw, 340px);
}

.player-lyrics-body {
  display: block;
  white-space: pre-wrap;
  color: inherit;
}

.player-lyrics-top {
  margin: 0;
  padding: 14px;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.55;
  color: #efe6eb;
  background: linear-gradient(
    165deg,
    #2a1824 0%,
    #1a1218 42%,
    #23192a 100%
  );
  border-radius: 22px;
  border: 1px solid rgba(172, 30, 77, 0.38);
  box-shadow:
    0 10px 28px rgba(80, 24, 53, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  max-height: min(70vh, 360px);
  min-height: min(40vh, 220px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  cursor: default;
  width: 100%;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgba(172, 30, 77, 0.55) rgba(0, 0, 0, 0.22);
}

.player-lyrics-top::selection {
  background: rgba(172, 30, 77, 0.55);
  color: #fff;
}

.player-lyrics-top::-webkit-scrollbar {
  width: 8px;
}

.player-lyrics-top::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

.player-lyrics-top::-webkit-scrollbar-thumb {
  background: rgba(172, 30, 77, 0.55);
  border-radius: 8px;
}

.player-lyrics-top::-webkit-scrollbar-thumb:hover {
  background: rgba(181, 31, 80, 0.72);
}

.player-row-progress-times {
  margin-top: 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.player-progress-times-row {
  width: 100%;
}

.player-row-seek-slider {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.player-row-seek-slider .player-icon-btn {
  flex: 0 0 auto;
}

.player-progress-slider-cell {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.player-seek-preview {
  position: absolute;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
}

.player-time-inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: #6f6f78;
}

.player-range {
  width: 100%;
  height: 32px;
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  touch-action: none;
}

.player-range::-webkit-slider-runnable-track {
  height: 4px;
  background: #dcdce5;
  border-radius: 3px;
}

.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border-radius: 50%;
  background: #ac1e4d;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.player-range::-moz-range-track {
  height: 4px;
  background: #dcdce5;
  border-radius: 3px;
}

.player-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ac1e4d;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.player-row-2 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 4px;
  margin-top: 16px;
  padding: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.player-icon-btn {
  border: none;
  background: transparent;
  padding: 4px;
  margin: 0;
  color: #7a2848;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  min-width: 0;
  line-height: 0;
}

/* Multiple SVGs in one control must occupy the same slot (grid would stack them in rows). */
.player-icon-btn-stack {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  padding: 0;
  box-sizing: border-box;
}

.player-icon-btn-stack > .player-icon-svg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

.player-icon-btn-stack > .player-icon-svg.player-svg-hidden,
.player-icon-btn-stack > svg.player-svg-hidden {
  display: none !important;
}

.player-icon-btn:focus-visible {
  outline: 2px solid rgba(172, 30, 77, 0.45);
  outline-offset: 2px;
  border-radius: 8px;
}

.player-icon-btn:active {
  opacity: 0.72;
}

.player-svg-hidden {
  display: none !important;
}

/* Player transport / mode icons (+10px vs dock baseline 18×18) */
.player-icon-svg {
  width: 28px;
  height: 28px;
  display: block;
  overflow: visible;
}

.player-icon-btn-play .player-icon-svg {
  width: 28px;
  height: 28px;
}

.player-icon-btn-stack#btn_mode_cycle .player-mode-icon {
  width: 28px;
  height: 28px;
}

/* Back / forward / lyrics: thinner outer ring (stroke set in SVG + class hook). */
.player-icon-ring-thin {
  overflow: visible;
}

.player-playlist {
  display: grid;
  gap: 8px;
}

.player-playlist.player-playlist-reordering {
  touch-action: none;
}

.player-playlist-item.is-dragging {
  position: relative;
  z-index: 60;
  --drag-dy: 0px;
  transform: translate3d(0, var(--drag-dy), 0) scale(1.02);
  box-shadow:
    0 16px 36px rgba(80, 24, 53, 0.22),
    0 6px 14px rgba(138, 21, 56, 0.14);
  border-color: #ac1e4d;
  outline: 2px solid rgba(172, 30, 77, 0.35);
  outline-offset: 0;
  cursor: grabbing;
  pointer-events: none;
  transition: none;
}

.player-playlist-item {
  width: 100%;
  text-align: left;
  border-radius: 10px;
  border: 1px solid #efe4ea;
  background: #fff;
  color: #2b2230;
  padding: 8px 10px;
}

.player-playlist-item.is-active {
  border-color: #8a1538;
  background: #fff0f5;
  color: #8a1538;
}

.player-playlist-item-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 6px;
}

.player-playlist-grip {
  cursor: grab;
  touch-action: none;
  display: grid;
  place-items: center;
  padding: 2px 4px;
  margin: 0;
  color: #8a1538;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-select: none;
}

.player-playlist-grip:active {
  cursor: grabbing;
}

.player-grip-svg {
  width: 22px;
  height: 22px;
  display: block;
  overflow: visible;
}

.player-playlist-title {
  border: 0;
  background: transparent;
  text-align: left;
  color: inherit;
  margin: 0;
  padding: 0;
  cursor: pointer;
  font-weight: 600;
}

.player-playlist-tools {
  display: inline-flex;
  gap: 6px;
}

.player-playlist-tool {
  width: 24px;
  height: 24px;
  min-width: 24px;
  margin: 0;
  border-radius: 6px;
  border: 1px solid #ead8e1;
  background: #fff;
  color: #8a1538;
  padding: 0;
  font-size: 12px;
  line-height: 1;
}

.no-dock .mobile-dock {
  display: none;
}

.no-dock.has-nav {
  padding-bottom: 0;
}

.player-panel {
  margin-top: 18px;
  border-radius: 14px;
  border: 1px solid #f0e0e8;
  background: #fff;
  padding: 12px;
}

.player-panel h3 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #8a1538;
}

.player-actions-tail {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 4px 0;
}

.player-panel .player-actions-tail .music-download-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  min-height: 48px;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  box-sizing: border-box;
  line-height: 0;
  text-decoration: none;
  color: #111;
  border: 1px solid #e6e6e6;
  background: #fff;
  border-radius: 8px;
}

.player-panel .player-actions-tail a.music-download-icon {
  cursor: pointer;
}

.player-panel .player-actions-tail button.music-download-icon {
  cursor: pointer;
}

.player-panel .player-actions-tail .music-download-icon svg {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}

.player-lyrics {
  margin: 0;
  white-space: pre-wrap;
  color: #efe6eb;
  line-height: 1.56;
}

.player-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.player-action-link {
  color: #8a1538;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid #ead8e1;
  border-radius: 999px;
  padding: 6px 12px;
  background: #fff7fa;
}

.player-license {
  color: #6f6f78;
  font-size: 13px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.detail-grid > div {
  background: #fafbff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  display: grid;
  gap: 4px;
}

.detail-grid .full-row {
  grid-column: 1 / -1;
}

.lyrics-pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
}

.page-generate .site-nav {
  background: linear-gradient(135deg, rgba(255, 72, 102, 0.95), rgba(109, 44, 219, 0.95));
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-generate .brand-logo {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.page-generate .lang-chip {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.page-generate .back-nav {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

/* Cookie banner — Google Analytics loads only after consent (mp_analytics_consent=v1). */
.mp-consent-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  background: rgba(15, 23, 42, 0.94);
  color: #e5e7eb;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.18);
  font-size: 14px;
  line-height: 1.45;
}

.mp-consent-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mp-consent-text {
  margin: 0;
  flex: 1 1 220px;
}

.mp-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.mp-consent-btn {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #f9fafb;
  font-size: 14px;
  cursor: pointer;
}

.mp-consent-btn-primary {
  background: #6366f1;
  border-color: #6366f1;
  color: #fff;
}

.mp-consent-btn-primary:hover {
  filter: brightness(1.06);
}

.mp-consent-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.page-player .mp-consent-bar {
  bottom: env(safe-area-inset-bottom, 0);
  padding-bottom: 14px;
}

.contact-modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.55);
  z-index: 10030;
  padding: 16px;
}

.contact-modal-overlay.show {
  display: flex;
}

.contact-modal {
  width: min(460px, 96vw);
  background: #fff;
  color: #111827;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 16px 48px rgba(2, 6, 23, 0.25);
}

.contact-email-line {
  margin: 10px 0 14px;
  word-break: break-all;
}

.contact-actions-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.contact-actions-row .contact-action-btn,
.contact-actions-row .secondary {
  min-height: 36px;
  min-width: 108px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
}

.contact-action-btn {
  appearance: none;
  border: 0;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--primary-2), #7c2fb8);
}

.contact-action-btn:hover {
  filter: brightness(1.06);
}
