/* Record Tribe's own pages (recordtribe.com: home, signup, Connect with Discogs,
   Terms, Privacy, "no site here"), on top of site.css and its Classic
   theme. Only what those pages need beyond it: running text and the
   signup form. */

.platform { padding-block: 48px 72px; min-height: 55vh; }
.platform-body { max-width: 40rem; font-size: 18px; line-height: 1.6; }
.platform-body h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.05; margin: 0 0 22px; }
.platform-body h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.15; margin: 40px 0 12px; }
.platform-body p { margin: 0 0 16px; }
.platform-body ul { margin: 0 0 16px; padding-left: 22px; }
.platform-body li { margin: 0 0 6px; }
.platform-body button { font: inherit; font-weight: 700; color: var(--accent-ink); background: var(--accent); border: 0; border-radius: 999px; padding: 14px 26px; cursor: pointer; }
.platform-body button:hover, .platform-body button:focus-visible { filter: brightness(1.08); }
.platform-body form { margin-top: 28px; }
.platform-body .field { display: grid; gap: 6px; margin: 0 0 22px; }
.platform-body label { font-weight: 600; font-size: 17px; }
.platform-body input[type=text], .platform-body input[type=email], .platform-body input[type=password] {
  font: inherit; color: var(--ink); background: var(--surface); border: 1px solid color-mix(in srgb, var(--ink) 50%, transparent); border-radius: 10px; padding: 12px 14px; width: 100%;
}
.platform-body input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.platform-body .addr { display: flex; align-items: center; gap: 8px; }
.platform-body .addr input { flex: 1; min-width: 0; }
.platform-body .addr span { font-weight: 600; white-space: nowrap; }
.platform-body .hint { font-size: 16px; }
.platform-body .check { margin: 0 0 18px; }
.platform-body .check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.platform-body .check input { width: 20px; height: 20px; margin-top: 5px; flex: none; accent-color: var(--accent); }
.platform-body .problems { padding: 14px 18px; margin: 0 0 24px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--bad) 14%, var(--surface)); }
.platform-body .problems ul { margin: 0; padding-left: 20px; }
.platform-body .cf-turnstile { margin: 8px 0 24px; }

/* recordtribe.com's home page. */
.rt-home .hero-mark { width: 88px; height: 88px; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .35)); }
.rt-home .hero-text h1 { max-width: 16ch; }
.rt-home .hero-text .lede { max-width: 40ch; font-size: 21px; line-height: 1.45; }
.net-totals { margin: 6px 0 0; font-size: 18px; font-weight: 600; color: #fff; }
.net-totals .sep { padding: 0 8px; }
.rt-home .sec-note { margin: 6px 0 18px; font-size: 17px; }
.rt-home .sec-head + .joined { margin-top: 18px; }
.strip > a .s { font-size: 15px; font-style: italic; }
.joined { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.joined a { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
.joined a:hover .joined-name { text-decoration: underline; text-underline-offset: 4px; }
.joined img { width: 60px; height: 60px; flex: none; border-radius: 999px; object-fit: cover; }
.joined img.joined-logo { width: auto; max-width: 120px; height: 48px; border-radius: 0; object-fit: contain; }
.joined-text { display: grid; gap: 3px; min-width: 0; }
.joined-name { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: 20px; line-height: 1.2; }
.joined-meta { font-size: 16px; }
@media (min-width: 900px) {
  .strip.arrivals { grid-template-columns: repeat(6, 1fr); gap: 20px 18px; }
  .strip.arrivals img { width: 100%; height: auto; aspect-ratio: 1; }
}
/* Log out on the admin site shows on phones too; recordtribe.com's Log in moves into the phone menu, as on the sites. */
.hdr-tools button.login { display: inline-block; }
#header .logo-with-photo { flex-shrink: 1; min-width: 0; }
.menu-btn .i-shut { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-shut { display: inline; }
.rt-home .home > .joined:first-child { margin-top: 0; }
.net-totals a { color: #fff; }

/* Ranked cards: Biggest collections on the home page and the Sites page. */
.board { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.board a { display: grid; grid-template-columns: 44px 56px minmax(0, 1fr) auto; grid-template-areas: "rank face who count" "rank face bar bar"; align-items: center; column-gap: 16px; row-gap: 10px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
.board a:hover .board-name { text-decoration: underline; text-underline-offset: 4px; }
.board-rank { grid-area: rank; font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 800; font-size: 28px; text-align: center; font-variant-numeric: tabular-nums; }
.board img { grid-area: face; width: 56px; height: 56px; border-radius: 999px; object-fit: cover; }
.board img.joined-logo { border-radius: 0; object-fit: contain; }
.board-who { grid-area: who; display: grid; gap: 2px; min-width: 0; }
.board-name { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: 20px; line-height: 1.2; }
.board-sub { font-size: 15px; }
.board-count { grid-area: count; text-align: right; display: grid; }
.board-count b { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 800; font-size: 24px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.board-count span { font-size: 15px; }
.board-bar { grid-area: bar; height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.board-bar i { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.board-first a { border-color: var(--accent); }
.rt-home .sec-head + .board { margin-top: 18px; }
@media (max-width: 600px) {
  .board a { grid-template-columns: 30px 44px minmax(0, 1fr) auto; column-gap: 12px; padding: 14px 16px; }
  .board img { width: 44px; height: 44px; }
  .board-rank { font-size: 22px; }
  .board-name { font-size: 18px; }
  .board-count b { font-size: 20px; }
}

/* Album of the week, on the home page. */
.week { display: grid; gap: 24px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.week-cover img, .week-cover .cover-empty { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 8px; object-fit: cover; box-shadow: 0 12px 32px rgba(0, 0, 0, .25); }
.week-text { display: grid; gap: 10px; align-content: center; }
.week-eyebrow { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.week-title { margin: 0; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.05; }
.week-title a { text-decoration: none; }
.week-title a:hover { text-decoration: underline; text-underline-offset: 6px; }
.week-artist { margin: 0; font-size: 20px; }
.week-in { margin: 10px 0 0; font-size: 16px; font-weight: 600; }
.week-owners { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.week-owners a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); text-decoration: none; font-size: 16px; font-weight: 600; }
.week-owners a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.week-owners img { width: 36px; height: 36px; border-radius: 999px; object-fit: cover; }
.week-owners img.joined-logo { width: auto; max-width: 72px; height: 28px; border-radius: 0; object-fit: contain; }
.week .actions { margin-top: 8px; }
@media (min-width: 760px) { .week { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 36px; padding: 28px; } }

/* All albums: the format, decade and style filters. */
.album-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 16px; margin: 0; }
.album-filters .field { display: grid; gap: 6px; margin: 0; min-width: 0; flex: 1 1 200px; max-width: 280px; }
.album-filters label { font-weight: 600; font-size: 16px; }
.album-filters select { width: 100%; }
.album-filters-go { display: flex; gap: 10px; }
.album-filters-none { font-size: 18px; margin: 0; }
@media (max-width: 600px) { .album-filters .field { max-width: none; flex-basis: 100%; } }

/* admin.recordtribe.com. */
.hdr-tools form { margin: 0; }
.hdr-tools button.login { background: none; border: 0; font: inherit; font-weight: 500; font-size: 15px; cursor: pointer; }
.setup-steps { padding-left: 24px; display: grid; gap: 24px; }
.setup-steps li > p:first-child { margin-top: 0; }
.qr { display: block; width: 240px; height: 240px; margin: 16px 0; }
.setup-key { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 18px; letter-spacing: .04em; word-spacing: .3em; }
.input-code { max-width: 220px; font-size: 22px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.backup-codes { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px 24px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 18px; }
.pa-action { margin: 28px 0 36px; }
.pa-action p { margin: 0 0 16px; }
.pa-act { margin: 0; }
.pa-devices { padding: 0; list-style: none; }
.pa-devices .pa-act { margin-top: 18px; }
.platform-body h2 { margin-top: 44px; }
.platform-body .pa-devices, .platform-body .backup-codes { padding: 0; margin-left: 0; }
.pa-sub { margin: 28px 0 12px; font-size: 18px; }
.pa-error { margin: 12px 0 0; font-size: 15px; overflow-wrap: anywhere; }
.pa-fail-name { font-size: 20px; }
.pa-log li { padding: 16px 20px; }
.pa-log .pa-log-what { margin: 0; font-size: 17px; font-weight: 600; }
.platform-body .pa-log, .wrap > .pa-log { padding: 0; }
.pa-item { display: flex; align-items: center; gap: 22px; margin: 8px 0 24px; }
.pa-item .page-title { margin: 4px 0; }
.pa-item-img { width: 120px; height: 120px; flex: none; object-fit: cover; border-radius: var(--radius-sm); }
.pa-item-face { border-radius: 999px; }
.pa-item-line { margin: 0; font-size: 17px; }
.pa-facts { margin: 0 0 32px; }
.pa-dupe-list { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 16px; }
@media (max-width: 560px) {
  .pa-item { flex-direction: column; align-items: flex-start; gap: 14px; }
}
.pa-gap { margin-top: 36px; }
.pa-email-actions { flex-wrap: wrap; gap: 12px; }
.pa-email-copy { padding: 22px 24px; border-radius: var(--radius); background: var(--surface); font-size: 17px; }
.pa-email-copy img { max-width: 100%; height: auto; }

/* recordtribe.com search: results run the column's full width, as on the sites. */
.platform-body .results { padding-left: 0; margin: 0 0 16px; }
.platform-body .results li { margin: 0; }
.hdr-tools .login { white-space: nowrap; }

/* recordtribe.com's banners blend into Record Tribe's own colors: the violet of the mark into the deep purple of the header (Corey, October 18, 2026). */
.pair-rt { --pair-a: #6A2BD9; --pair-b: #24104A; }
