/* Phase 3 additions - the song page, seeding, crew states. */

.back { display: inline-block; font-size: 13.5px; opacity: .6; text-decoration: none;
  color: var(--ink); margin-bottom: 20px; }
.back:hover { opacity: 1; }
.song h2 a { color: inherit; text-decoration: none; }
.song h2 a:hover { color: var(--accent-ink); }

.song-head { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 8px; }
.p-frozen { background: rgba(126,200,200,.18); color: #1F6F6F;
  border: 1px solid rgba(126,200,200,.7); }

.seed-block { background: var(--ink); color: var(--paper); border-radius: 14px;
  padding: 28px 30px; margin: 22px 0 26px; }
.seed-block .lbl { font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.seed-block .words { font-family: 'EB Garamond', serif; font-size: 21px; font-style: italic;
  line-height: 1.5; }
.seed-block .words.dim { opacity: .45; font-style: normal; font-size: 17px; }
.seed-block .ask { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-light);
  font-size: 14.5px; line-height: 1.7; opacity: .88; }
.seed-block .ask b { color: var(--accent); font-weight: 600; }

.crew { background: var(--paper-deep); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 26px; margin-bottom: 26px; }
.crew-head { display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.crew-head h2 { font-size: 20px; font-weight: 500; }
.crew-count { font-size: 12.5px; opacity: .6; }
.crew-list { display: flex; flex-direction: column; gap: 9px; }
.crew-row { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.crew-row.former { opacity: .68; }
.avatar.hollow { background: transparent; border: 1.5px dashed rgba(10,10,26,.3);
  color: rgba(10,10,26,.4); }
.crew-row .role { opacity: .55; font-size: 12.5px; }
.tag-former { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 10px; background: rgba(10,10,26,.07);
  color: rgba(10,10,26,.55); border: 1px solid var(--line); }
.former-note { font-size: 12px; opacity: .6; margin-top: 6px; padding-left: 40px; }

.crew-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--line); }
.crew-cta .right { margin-left: auto; }
.linky.dark { color: var(--ink); }
.state-note { font-size: 12.5px; opacity: .68; }
.state-note.blocked { background: rgba(10,10,26,.05); border: 1px dashed var(--line);
  border-radius: 8px; padding: 10px 14px; }
.badge-pending { background: rgba(212,167,74,.2); color: var(--accent-ink); font-size: 11px;
  font-weight: 700; padding: 4px 10px; border-radius: 4px; letter-spacing: .06em;
  text-transform: uppercase; }

.reg { width: 100%; }
.reg label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.reg textarea { width: 100%; font-family: inherit; font-size: 15px; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--paper);
  resize: vertical; margin-bottom: 12px; }
.consent { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px;
  font-weight: 400 !important; background: var(--paper); border: 1px dashed var(--line);
  border-radius: 8px; padding: 11px 13px; margin-bottom: 14px; line-height: 1.55; }
.consent em { opacity: .6; }

.quota { font-size: 13px; background: var(--paper-deep); border: 1px solid var(--line);
  border-radius: 9px; padding: 12px 15px; margin: 20px 0 24px; }
.quota.unlimited { background: rgba(212,167,74,.12); border-color: var(--accent); }
.inline-radios { flex-direction: row; flex-wrap: wrap; }

.statusform { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.statusform select { font-family: inherit; font-size: 14px; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }

.later { text-align: center; padding: 34px 20px; border: 1px dashed rgba(10,10,26,.18);
  border-radius: 12px; font-size: 13.5px; opacity: .6; }

/* ── tabs ───────────────────────────────────────────────────────────────── */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 30px 0 24px;
  flex-wrap: wrap; }
.tabs a { font-size: 14px; font-weight: 600; padding: 11px 16px; text-decoration: none;
  color: var(--ink); opacity: .55; border-bottom: 2px solid transparent; }
.tabs a:hover { opacity: .85; }
.tabs a.on { opacity: 1; border-bottom-color: var(--accent); }
.tabs .n { font-size: 11.5px; opacity: .6; margin-left: 4px; }

.pane-note { font-size: 13.5px; opacity: .6; padding: 20px 0; }

.locked { text-align: center; padding: 48px 24px; border: 1px dashed rgba(10,10,26,.24);
  border-radius: 14px; background: var(--paper-deep); }
.locked .ic { font-size: 28px; opacity: .45; margin-bottom: 12px; }
.locked h3 { font-family: 'EB Garamond', serif; font-size: 22px; margin-bottom: 8px; }
.locked p { font-size: 13.5px; opacity: .72; max-width: 430px; margin: 0 auto 18px; line-height: 1.65; }

/* ── the thread ─────────────────────────────────────────────────────────── */
.thread { margin-top: 4px; }
.idea { display: flex; gap: 13px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.idea.nested { margin-left: 46px; border-bottom: none; border-left: 2px solid var(--line);
  padding-left: 16px; padding-top: 12px; }
.idea.pinned { background: rgba(212,167,74,.07); border-radius: 10px;
  padding-left: 12px; padding-right: 12px; }
.idea-body { flex: 1; min-width: 0; }
.idea-top { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 5px;
  font-size: 13.5px; }
.idea-top .dim { font-size: 12.5px; }
.idea-top .when { margin-left: auto; font-size: 12px; opacity: .45; }
.idea-text { font-size: 14.5px; line-height: 1.7; }
.tag-pin { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(212,167,74,.25); color: var(--accent-ink); padding: 2px 8px; border-radius: 10px; }
.tombstone { font-size: 13px; opacity: .4; font-style: italic; padding-left: 4px; }

.idea-actions { display: flex; gap: 14px; align-items: center; margin-top: 9px; flex-wrap: wrap; }
.replybox summary { cursor: pointer; list-style: none; font-size: 12.5px; opacity: .6; }
.replybox summary::-webkit-details-marker { display: none; }
.replybox summary:hover { opacity: 1; }
.replybox[open] summary { margin-bottom: 8px; }
.replybox textarea { width: 100%; min-width: 260px; font-family: inherit; font-size: 14px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--paper); resize: vertical; margin-bottom: 8px; }
.replybox form { max-width: 560px; }

.composer { background: var(--paper-deep); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px; margin-top: 22px; }
.composer textarea { width: 100%; font-family: inherit; font-size: 14.5px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 9px; background: var(--paper); resize: vertical; }
.composer-foot { display: flex; align-items: center; gap: 12px; margin-top: 11px; flex-wrap: wrap; }
.empty.small { padding: 34px 20px; }
.empty.small p { font-size: 14px; }

/* ── work in progress ───────────────────────────────────────────────────── */
.storage { margin-bottom: 22px; }
.storage .bar { height: 5px; background: rgba(10,10,26,.09); border-radius: 3px; overflow: hidden; }
.storage .bar span { display: block; height: 100%; background: var(--accent); }
.storage p { font-size: 12px; opacity: .55; margin-top: 7px; }

.file-group { margin-bottom: 24px; }
.file-group h4 { font-size: 11.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; opacity: .5; margin-bottom: 11px; }
.file { display: flex; align-items: flex-start; gap: 13px; background: var(--paper-deep);
  border: 1px solid var(--line); border-radius: 11px; padding: 14px 17px; margin-bottom: 9px; }
.file.removed { opacity: .55; background: transparent; border-style: dashed; }
.file .ic { width: 36px; height: 36px; border-radius: 9px; background: var(--paper);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex: none; }
.file-main { flex: 1; min-width: 0; }
.fname { font-size: 14px; font-weight: 600; word-break: break-word; }
.ver { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(155,138,196,.22); color: #5B4A85; padding: 2px 7px; border-radius: 4px;
  margin-left: 6px; }
.fmeta { font-size: 12px; opacity: .55; margin-top: 2px; }
.fnote { font-size: 12.5px; opacity: .72; font-style: italic; margin-top: 5px; }
.file-actions { display: flex; align-items: center; gap: 12px; flex: none; flex-wrap: wrap;
  justify-content: flex-end; }
.file-actions .dl { font-size: 12.5px; font-weight: 600; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); border-radius: 7px; padding: 6px 13px; background: var(--paper); }
.file-actions .dl:hover { border-color: var(--accent); }
.linky.danger { color: #8E2C21; }

.uploader { margin-top: 22px; }
.drop { border: 2px dashed rgba(10,10,26,.22); border-radius: 12px; padding: 26px;
  text-align: center; margin-bottom: 16px; }
.drop .big { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.drop input[type=file] { font: inherit; font-size: 13.5px; margin-bottom: 10px; }
.drop .small { font-size: 12.5px; opacity: .6; line-height: 1.6; }
.drop .warn { color: #8E2C21; opacity: 1; }
.uploader .row { display: grid; grid-template-columns: 1fr 2fr; gap: 14px; }
@media (max-width: 620px) { .uploader .row { grid-template-columns: 1fr; } }
.uploader input[type=text] { width: 100%; font-family: inherit; font-size: 14.5px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }

/* ── the archive ────────────────────────────────────────────────────────── */
.searchbar { display: flex; align-items: center; gap: 10px; background: var(--paper-deep);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 26px 0 18px; }
.searchbar input[type=search] { flex: 1; border: 0; background: transparent; font: inherit;
  font-size: 15px; outline: none; color: var(--ink); }
.searchbar span { opacity: .45; }

.facets { display: flex; gap: 26px; flex-wrap: wrap; padding-bottom: 18px;
  border-bottom: 1px solid var(--line); }
.facet { min-width: 150px; }
.facet h5 { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  opacity: .45; margin-bottom: 8px; }
.facet .fl { display: block; font-size: 13px; opacity: .72; padding: 2px 0;
  text-decoration: none; color: var(--ink); }
.facet .fl:hover { opacity: 1; }
.facet .fl b { opacity: .45; font-weight: 400; font-size: 12px; }
.facet .fl.on { opacity: 1; font-weight: 600; color: var(--accent-ink); }

.result-line { font-size: 13px; opacity: .6; margin: 16px 0 18px; }
.arch-group { font-family: 'EB Garamond', serif; font-size: 20px; font-weight: 500;
  margin: 28px 0 12px; padding-bottom: 7px; border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 10px; }
.arch-group span { font-family: 'Inter', sans-serif; font-size: 12px; opacity: .5; font-weight: 400; }
.p-arch { background: rgba(10,10,26,.07); color: rgba(10,10,26,.5); border: 1px solid var(--line); }
.song-foot .free { color: #1F6F6F; font-weight: 600; }
.song-foot .cooling { opacity: .6; }

.lineage { display: flex; align-items: baseline; gap: 10px; background: rgba(155,138,196,.13);
  border: 1px solid rgba(155,138,196,.4); border-radius: 10px; padding: 11px 16px;
  font-size: 12.5px; margin-bottom: 18px; line-height: 1.6; }
.lineage a { color: #5B4A85; }

.reimagine { background: var(--paper-deep); border: 1px solid var(--line); border-radius: 12px;
  padding: 22px 24px; margin-bottom: 22px; }
.reimagine h3 { font-family: 'EB Garamond', serif; font-size: 20px; font-weight: 500;
  margin-bottom: 6px; }
.reimagine p { font-size: 13.5px; opacity: .72; margin-bottom: 14px; }
.reimagine .row { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; margin-bottom: 14px; }
@media (max-width: 620px) { .reimagine .row { grid-template-columns: 1fr; } }
.reimagine input { width: 100%; font-family: inherit; font-size: 14.5px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }

/* ── admin console ──────────────────────────────────────────────────────── */
.admin-tabs { margin-top: 4px; }
table.people { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 8px; }
table.people th { text-align: left; font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; opacity: .45; padding: 0 10px 8px 0; font-weight: 700; }
table.people td { padding: 12px 10px 12px 0; border-top: 1px solid var(--line);
  vertical-align: top; }
table.people tr.suspended { opacity: .55; }
.pname { display: flex; gap: 10px; align-items: flex-start; }
.pname .dim { font-size: 12px; }
.row-actions { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.inline.tight select, .inline.tight input { font-family: inherit; font-size: 13px;
  padding: 6px 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); }

table.audit td { font-size: 12.5px; vertical-align: top; }
table.audit .act { font-family: ui-monospace, Consolas, monospace; font-size: 12px;
  background: rgba(10,10,26,.05); padding: 2px 7px; border-radius: 4px; }
table.audit .detail { max-width: 260px; word-break: break-word; }
.nowrap { white-space: nowrap; }

.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 8px; }
@media (max-width: 700px) { .settings-grid { grid-template-columns: 1fr; } }
.sub-head { font-family: 'EB Garamond', serif; font-size: 18px; font-weight: 500;
  margin: 22px 0 8px; }
pre.cmd { background: var(--ink); color: var(--paper); padding: 12px 15px; border-radius: 8px;
  font-size: 12.5px; overflow-x: auto; margin-top: 8px; }

.release-links { list-style: none; margin-bottom: 12px; }
.release-links li { display: flex; align-items: center; gap: 10px; padding: 5px 0;
  font-size: 14px; }
.releaseform { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; }
.releaseform input { font-family: inherit; font-size: 14px; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }

/* ── collections ────────────────────────────────────────────────────────
   A collection tag reads as a link, where a genre tag is only a label -
   one goes somewhere and the other does not. Same shape, warmer colour. */
.tag-c { font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 12px;
  border: 1px solid rgba(255,140,66,.5); color: #A24E12; background: rgba(255,140,66,.12);
  text-decoration: none; }
.tag-c:hover { background: rgba(255,140,66,.22); }

.colls { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px; margin-top: 26px; }
.coll { background: var(--paper-deep); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 20px; }
.coll h2 { font-size: 21px; font-weight: 500; line-height: 1.15; margin: 4px 0 3px; }
.coll h2 a { text-decoration: none; }

.tracks { list-style: none; counter-reset: none; margin: 22px 0 0; padding: 0;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: var(--paper-deep); }
.tracks li { display: flex; align-items: baseline; gap: 14px; padding: 12px 18px;
  border-bottom: 1px solid var(--line); }
.tracks li:last-child { border-bottom: 0; }
.tno { width: 24px; text-align: right; opacity: .45; font-size: 13px;
  font-variant-numeric: tabular-nums; flex: none; }
.tmain { flex: 1; min-width: 0; }
.tmain a { text-decoration: none; font-size: 17px; }
.tmain small { display: block; font-size: 12px; opacity: .55; margin-top: 2px; }
.tplaces { font-size: 12.5px; opacity: .6; white-space: nowrap; flex: none; }
.tplaces em { font-style: normal; color: #A24E12; margin-left: 6px; }

.links-row { display: flex; gap: 9px; flex-wrap: wrap; margin: 14px 0 0; }
.loose-list { list-style: none; padding: 0; margin: 10px 0 0; font-size: 14px; }
.loose-list li { padding: 5px 0; border-bottom: 1px solid var(--line); }
.loose-list li:last-child { border-bottom: 0; }
.row-form { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.row-form input { font-family: inherit; font-size: 14px; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.p-planned { background: rgba(10,10,26,.08); color: rgba(10,10,26,.55); }
.p-open { background: rgba(155,138,196,.2); color: #5B4A85; }
.p-archived { background: rgba(10,10,26,.08); color: rgba(10,10,26,.5); }

/* ── the producer place ─────────────────────────────────────────────────
   Distinct from a genre or a collection tag: this one describes a person's
   place on the song, not the song itself. */
.tag-producer { font-size: 10px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; padding: 2px 8px; border-radius: 12px;
  border: 1px solid rgba(84,140,120,.55); color: #2F6B57;
  background: rgba(84,140,120,.12); margin-left: 7px; white-space: nowrap; }
