/* DistroMusic Radio - shops & creators additions (workers/auth-poc/src/landing-extra-css.ts) */
html { scroll-behavior: smooth; }
section[id], .rights[id] { scroll-margin-top: 16px; }

/* Hero: supporting line + "Explore music & licensing" sublink */
.hero .hero-support { margin: -10px 0 22px; color: var(--faint); font-size: .95rem; max-width: 32em; line-height: 1.6; }
.hero-link {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--amber-2); font-weight: 700; letter-spacing: .03em; text-decoration: none;
  border-bottom: 1px solid rgba(243,194,125,.35);
}
.hero-link:hover { border-bottom-color: var(--amber-2); }
/* Japanese two-line headline only: a little smaller so each line fits, and no breaks inside a phrase
   (a too-narrow screen breaks after the comma instead). English is not matched by these rules. */
html[lang="ja"] .hero h1 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); word-break: keep-all; overflow-wrap: anywhere; }

/* Sample player card: one neutral "Sample" badge (no red LIVE pill) and a muted, non-green status dot,
   so the illustration never reads as a live broadcast. Scoped to .preview; dots elsewhere are unchanged. */
.preview-head .preview-tag { color: var(--muted); border-style: solid; font-weight: 700; letter-spacing: .14em; padding: 5px 12px; }
.preview .dot.dot-sample { background: var(--faint); box-shadow: none; }
.preview .status { color: var(--muted); }

/* MADE FOR SHOPS & CREATORS */
.creators-tagline { margin: 0 0 6px; font-size: clamp(1.25rem, 3.2vw, 1.6rem); font-weight: 700; line-height: 1.3; }
.creators-text { margin: 0 0 16px; color: var(--muted); max-width: 40em; }
.features.features-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.rights {
  display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px 14px;
  margin-top: 14px; padding: 16px 20px; border: 1px solid rgba(232,165,75,.45); border-radius: 16px;
  background: linear-gradient(180deg, rgba(232,165,75,.08), rgba(232,165,75,.03));
}
.rights .feature-icon { align-self: start; }
.rights h3 { margin: 0 0 2px; font-size: 1.05rem; }
.rights p { margin: 0; color: var(--muted); font-size: .93rem; }
.rights .rights-note { margin-top: 6px; color: var(--faint); font-size: .82rem; }
.rights-link { white-space: nowrap; }

/* Bottom CTA: eyebrow over the heading, a little less weight than the hero */
.cta .eyebrow { margin-bottom: 6px; }
.cta { padding-top: clamp(20px, 5vw, 30px); padding-bottom: clamp(20px, 5vw, 30px); }

/* /licensing placeholder */
.licensing h1 { margin: 0 0 10px; font-size: clamp(1.5rem, 5vw, 2rem); line-height: 1.2; }
.licensing h2 { margin: 22px 0 8px; font-size: 1rem; letter-spacing: .04em; }
.licensing .sub { margin: 0 0 12px; color: var(--muted); max-width: 42em; }
.licensing-status { margin: 0 0 14px; }
.licensing-cases { margin: 0 0 12px; padding-left: 1.4em; display: grid; gap: 6px; }

/* /admin: user management (admin role only) */
.admin-wrap { max-width: 1100px; }
.admin h1 { margin: 0 0 6px; font-size: clamp(1.5rem, 5vw, 1.9rem); line-height: 1.2; }
.admin h2 { margin: 26px 0 12px; font-size: 1.05rem; letter-spacing: .04em; }
.admin .sub { margin: 0 0 6px; color: var(--muted); }
.table-scroll { overflow-x: auto; margin-top: 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(0,0,0,.18); }
table.users { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.users th { text-align: left; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-2); font-weight: 600; }
table.users th, table.users td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.users tbody tr:last-child td { border-bottom: 0; }
table.users td.email { overflow-wrap: anywhere; }
table.users .you { color: var(--faint); font-size: .85rem; }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.btn-ghost.btn-sm { min-height: 34px; padding: 0 10px; font-size: .82rem; border-radius: 10px; }
.btn-ghost.btn-danger { border-color: var(--err); color: var(--err); background: rgba(239,122,108,.08); }
.btn-ghost.btn-danger:hover { background: rgba(239,122,108,.16); }
.status-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: .8rem; white-space: nowrap; }
.status-pill.is-active { color: var(--ok); border-color: rgba(123,207,143,.45); }
.status-pill.is-suspended { color: var(--err); border-color: rgba(239,122,108,.55); }
.add-user { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 16px; align-items: end; }
.add-user .btn-primary { grid-column: 1 / -1; justify-self: start; margin-bottom: 16px; }
.field select {
  min-height: 48px; padding: 0 14px; font: inherit; color: var(--text);
  background: rgba(0,0,0,.22); border: 1px solid var(--line); border-radius: 14px;
}
.field select:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(232,165,75,.22); }
.pw-dialog { color: var(--text); max-width: 440px; width: calc(100% - 32px); padding: 22px 24px; }
.pw-dialog::backdrop { background: rgba(0,0,0,.6); }
.pw-dialog h2 { margin: 0 0 6px; font-size: 1.2rem; }
.pw-dialog .sub { margin: 0 0 14px; color: var(--muted); overflow-wrap: anywhere; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; }
@media (max-width: 700px) {
  .add-user { grid-template-columns: 1fr; }
  .add-user .btn-primary { width: 100%; }
}

@media (max-width: 820px) {
  .features.features-2 { grid-template-columns: 1fr; }
  .rights { grid-template-columns: 30px 1fr; }
  .rights-link { grid-column: 1 / -1; width: 100%; white-space: normal; text-align: center; }
  .hero-actions .hero-link { width: 100%; justify-content: center; border-bottom: 0; }
}
@media (max-width: 600px) {
  .hero .hero-support { margin: -6px 0 14px; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
