/*
 * Birthdaycal refresh layer
 * Loaded after styles.css, navigation.css, enhancements.css, and catalog-editor.css.
 * Warm cream / pastel UI, resilient translated names, and compact mobile layouts.
 */

:root {
  --refresh-cream: #fffaf5;
  --refresh-cream-deep: #f8efe7;
  --refresh-ink: #39302d;
  --refresh-muted: #887a73;
  --refresh-line: #eee3db;
  --refresh-coral: #e88975;
  --refresh-coral-deep: #cd6958;
  --refresh-pink: #f5cbd4;
  --refresh-pink-deep: #b96880;
  --refresh-blue: #c8dff0;
  --refresh-blue-deep: #5f91b4;
  --refresh-peach: #f8ded1;
  --refresh-mint: #cfe9dc;
  --refresh-mint-deep: #4e8c73;
  --refresh-lavender: #e4d9f1;
  --refresh-lavender-deep: #765f99;
  --refresh-header: #3b332f;
}

/* Native state and text resilience must win over component display rules. */
[hidden] {
  display: none !important;
}

body,
main,
section,
article,
div,
form,
label,
button,
a,
input,
select,
textarea,
dt,
dd,
p,
strong,
small {
  min-width: 0;
  overflow-wrap: anywhere;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(232, 137, 117, .42);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Masthead language picker: compact, visible, and safe on narrow phones. */
#site-language.lang-selector,
.language-picker #site-language,
.site-masthead .language-picker {
  min-width: 0;
}

#site-language.lang-selector {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f7eee8;
}

#site-language.lang-selector label,
.language-picker label {
  color: #d9cdc6;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

#site-language.lang-selector,
#site-language.lang-selector select,
.language-picker #site-language-select,
#site-language select {
  width: auto;
  min-width: 92px;
  min-height: 44px;
  padding: 8px 28px 8px 11px;
  border: 1px solid rgba(255, 250, 243, .46);
  border-radius: 999px;
  background: rgba(255, 250, 243, .08);
  color: #fffaf3;
  font-size: 16px;
  line-height: 1.2;
  color-scheme: dark;
}

#site-language.lang-selector option,
#site-language.lang-selector select option,
#site-language select option {
  background: var(--refresh-header);
  color: #fffaf3;
}

.site-masthead-upper-right,
.masthead-upper-right,
.site-masthead .language-picker {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.site-masthead { position: relative; }
.site-masthead .language-picker { position: absolute; top: 24px; right: 0; align-items: center; }
.language-picker > span { color: #e0d4cb; font-size: 11px; }

@media (max-width: 680px) {
  .site-masthead {
    position: relative;
    padding-top: 22px;
  }

  .site-masthead-upper-right,
  .masthead-upper-right,
  .site-masthead .language-picker {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 14px;
    max-width: calc(100% - 28px);
  }

  #site-language.lang-selector label,
  .language-picker > span {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  #site-language.lang-selector select,
  #site-language select {
    min-width: 94px;
  }

  .site-masthead .wordmark,
  .site-masthead .site-tagline {
    max-width: calc(100% - 112px);
  }
}

/* Recommendations now live directly below the global search form/context. */
#popular-section.recommendation-section,
.recommendation-section {
  width: 100%;
  max-width: 100%;
  margin: 12px 0 16px;
  padding: 0;
}

.recommendation-section .popular-heading,
.recommendation-section .recommendation-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
}

.recommendation-section h2,
#popular-title {
  margin: 0;
  color: var(--refresh-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.1;
}

.recommendation-section .cloud-note,
.recommendation-section .popular-note {
  max-width: 360px;
  margin: 0;
  color: var(--refresh-muted);
  font-size: 11px;
  line-height: 1.4;
  text-align: right;
}

#recommendation-cloud.recommendation-cloud {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 8px;
  width: 100%;
  max-width: 100%;
  line-height: 1.4;
}

.cloud-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  max-width: 100%;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--refresh-ink);
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.cloud-chip:hover {
  border-color: rgba(57, 48, 45, .2);
  transform: translateY(-1px);
}

.cloud-chip.cloud-size-0 { font-size: 14px; font-weight: 500; }
.cloud-chip.cloud-size-1 { font-size: 15px; font-weight: 600; }
.cloud-chip.cloud-size-2 { font-size: 17px; font-weight: 650; }
.cloud-chip.cloud-size-3 { font-size: 20px; font-weight: 700; }
.cloud-chip.cloud-artists:nth-child(4n + 1) { background: #f9dfe5; color: #9b5d70; }
.cloud-chip.cloud-artists:nth-child(4n + 2) { background: #dcecf6; color: #4b7897; }
.cloud-chip.cloud-artists:nth-child(4n + 3) { background: #f8ded1; color: #986454; }
.cloud-chip.cloud-artists:nth-child(4n) { background: #d9eee1; color: #4c806b; }
.cloud-chip.cloud-movies { background: #dcecf6; color: #4b7897; }
.cloud-chip.cloud-shows { background: #f8ded1; color: #986454; }
.cloud-chip.gender-female { background: #f9dfe5; color: #9b5d70; }
.cloud-chip.gender-male { background: #dcecf6; color: #4b7897; }
.cloud-chip.band { background: var(--refresh-lavender); color: var(--refresh-lavender-deep); }
.cloud-empty {
  margin: 0;
  color: #a18f86;
  font-size: 12px;
  line-height: 1.45;
}

/* Retire the old three-column recommendation treatment without affecting menus. */
.recommendation-section .popular-grid,
.recommendation-section .popular-column {
  display: none;
}

/* A–Z appears on directory menus, but not on the home view. */
#alphabet-filter.alphabet-filter {
  display: block;
}

.home-page #alphabet-filter.alphabet-filter,
.home-view #alphabet-filter.alphabet-filter,
body[data-page="home"] #alphabet-filter.alphabet-filter,
#home #alphabet-filter.alphabet-filter,
.home-intro + #alphabet-filter.alphabet-filter,
.site-search-area ~ #alphabet-filter.alphabet-filter {
  display: none !important;
}

.catalog-section #alphabet-filter.alphabet-filter,
.directory-page #alphabet-filter.alphabet-filter,
body[data-page="directory"] #alphabet-filter.alphabet-filter,
body[data-page="artists"] #alphabet-filter.alphabet-filter,
body[data-page="movies"] #alphabet-filter.alphabet-filter,
body[data-page="shows"] #alphabet-filter.alphabet-filter {
  display: block;
}

.alphabet-heading label,
.alphabet-heading > span:first-child {
  font-size: 11px;
}

.alphabet-heading label::after,
.alphabet-heading > span:first-child::after {
  content: none;
  color: var(--refresh-muted);
  font-weight: 500;
}

/* Calendar: controls wrap rather than forcing a seven-control row. */
.calendar-column .section-heading,
.calendar-controls {
  min-width: 0;
}

.calendar-column .section-heading {
  align-items: center;
  flex-wrap: wrap;
  row-gap: 10px;
}

.calendar-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
  width: auto;
  margin-left: auto;
}

.calendar-jump {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.calendar-jump label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

#calendar-month-select,
#calendar-year-select {
  width: 100px;
  min-width: 92px;
  min-height: 44px;
  padding: 8px 25px 8px 10px;
  border: 1px solid var(--refresh-line);
  border-radius: 10px;
  background: var(--white, #fff);
  color: var(--refresh-ink);
  font-size: 14px;
  line-height: 1.2;
}

.calendar-controls .today-button,
.calendar-controls .icon-button,
.calendar-controls #today-button {
  min-height: 44px;
}

.calendar-controls .icon-button {
  min-width: 44px;
  width: 44px;
}

.calendar-filter-tools {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 44px;
}

.filter-icon-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--refresh-line);
  border-radius: 11px;
  background: #fff;
  color: var(--refresh-ink);
}

.filter-icon-button:hover,
.filter-icon-button:focus-visible,
.filter-icon-button.is-active {
  border-color: #e6b0a2;
  background: #fff4ed;
  color: var(--refresh-coral-deep);
}

.filter-icon-button svg {
  width: 24px;
  height: 24px;
}

#calendar-gender-toggle .gender-filter-glyph,
.gender-filter-glyph {
  display: inline-block;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -.1em;
  line-height: 1;
}

#calendar-filter-badge,
#calendar-gender-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--refresh-coral);
  color: #fff;
  font-size: 9px;
  font-weight: 750;
  line-height: 1;
}

.calendar-filter-panel:not([hidden]) {
  display: block;
}

.calendar-filter-panel .calendar-filters {
  display: block;
  margin: 0;
}

.calendar-filter-panel .calendar-filter {
  width: 100%;
  margin: 0;
}

.calendar-filter-panel .calendar-filter + .calendar-filter {
  margin-top: 8px;
}

.calendar-filter-panel .calendar-filter[hidden] {
  display: none !important;
}

/* Group entries keep their own lavender identity; historical gender colors remain unchanged. */
.person-card.band,
.person-card.group,
.upcoming-item.band,
.age-avatar.band,
.person-avatar.band,
.upcoming-avatar.band,
.credit-choice-avatar.band,
.global-search-item-avatar.band {
  color: var(--refresh-lavender-deep);
  background: var(--refresh-lavender);
}

.person-card.band .person-avatar,
.person-card.group .person-avatar {
  color: var(--refresh-lavender-deep);
  background: var(--refresh-lavender);
}

#person-kind,
#person-gender,
#person-gender-wrap {
  min-width: 0;
}

#person-kind,
#person-gender {
  min-height: 44px;
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--refresh-line);
  border-radius: 11px;
  background: #fff;
  color: var(--refresh-ink);
  font-size: 16px;
}

#person-gender-wrap[hidden] {
  display: none !important;
}

.person-card h3 .person-name-button,
.upcoming-info .person-name-button,
.age-person .person-name-button {
  white-space: normal;
  text-overflow: clip;
  overflow: visible;
  line-height: 1.3;
}

/* Catalog filters and compact catalog cards. */
.catalog-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.catalog-filters label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--refresh-muted);
  font-size: 11px;
  font-weight: 700;
}

#broadcast-filter {
  min-width: 150px;
  min-height: 44px;
  padding: 8px 28px 8px 11px;
  border: 1px solid var(--refresh-line);
  border-radius: 10px;
  background: #fff;
  color: var(--refresh-ink);
  font-size: 14px;
}

.catalog-filters .filter-chip,
.catalog-filters .catalog-filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 11px;
  border: 1px solid #efd8cc;
  border-radius: 999px;
  background: #fff5ef;
  color: var(--refresh-coral-deep);
  font-size: 11px;
  font-weight: 700;
}

.catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.content-card.work-card,
article.work-card {
  min-width: 0;
  overflow: visible;
  padding: 18px;
  border-radius: 16px;
}

.work-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.work-poster.thumbnail,
.work-card-top .work-poster,
.work-card-top .work-poster.thumbnail {
  display: grid;
  flex: 0 0 72px;
  width: 72px;
  height: 90px;
  aspect-ratio: auto;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  background: var(--refresh-cream-deep);
}

.work-poster.thumbnail img,
.work-card-top .work-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.work-poster-empty {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 7px;
  color: var(--refresh-muted);
  font-size: 10px;
  line-height: 1.25;
  text-align: center;
}

.work-card-actions,
.work-card-top .card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-left: auto;
}

.work-card-actions .small-action,
.work-card-top .small-action {
  min-width: 40px;
  min-height: 40px;
  padding: 6px 8px;
}

.work-card-body {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  padding: 12px 0 0;
}

.work-card-body .content-kind {
  margin-bottom: 8px;
}

.work-title-button {
  min-width: 0;
  margin: 0 0 7px;
  line-height: 1.2;
}

.work-card-body dl.language-names {
  margin: 5px 0 9px;
}

.work-card-body .content-meta,
.work-broadcast-line,
.work-counts {
  margin: 0 0 7px;
  color: var(--refresh-muted);
  font-size: 10px;
  line-height: 1.4;
}

.work-broadcast-line {
  color: var(--refresh-coral-deep);
  font-weight: 700;
}

.work-card-body .content-summary,
.work-summary {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--refresh-muted);
  font-size: 11px;
  line-height: 1.45;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.work-card .work-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.work-card .work-facts dd {
  font-size: 11px;
}

/* Keep full-size poster/facts treatment for the modal only. */
#work-preview-modal .work-preview-poster,
.work-preview-modal .work-preview-poster {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 2 / 3;
  height: auto;
}

#work-preview-modal .work-facts,
.work-preview-modal .work-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.broadcast-choices,
#content-broadcasters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

#content-broadcasters label,
.broadcaster-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid var(--refresh-line);
  border-radius: 999px;
  background: #fff;
  color: var(--refresh-ink);
  font-size: 12px;
  line-height: 1.25;
}

#content-broadcasters label:focus-within,
.broadcaster-chip:focus-within {
  border-color: var(--refresh-coral);
  background: #fff5ef;
}

#content-broadcasters input[type="checkbox"],
.broadcaster-chip input[type="checkbox"] {
  width: auto;
  min-width: 16px;
  min-height: 16px;
  accent-color: var(--refresh-coral);
}

.work-release-fields,
#work-release-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 10px;
}

#content-episodes input,
#content-episodes select,
#content-episodes textarea {
  max-width: 100%;
}

/* Home leaderboard: data-driven top ten, with no fabricated empty rows. */
#work-leaderboard.work-leaderboard,
.work-leaderboard {
  width: 100%;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--refresh-line);
}

.work-leaderboard h2 {
  margin: 0;
  font-size: 25px;
}

.work-leaderboard-note,
.leaderboard-note {
  margin: 6px 0 14px;
  color: var(--refresh-muted);
  font-size: 11px;
  line-height: 1.4;
}

#work-leaderboard-list {
  display: grid;
  gap: 7px;
  width: 100%;
}

.leaderboard-labels,
.leaderboard-row {
  display: grid;
  grid-template-columns: 28px 36px minmax(0, 1fr) minmax(190px, 1.35fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.leaderboard-labels {
  padding: 0 11px 4px;
  color: var(--refresh-muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.leaderboard-row {
  min-height: 58px;
  padding: 9px 11px;
  border: 1px solid var(--refresh-line);
  border-radius: 12px;
  background: #fff;
}

.leaderboard-rank {
  color: var(--refresh-coral-deep);
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.leaderboard-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--refresh-peach);
  color: var(--refresh-coral-deep);
  font-size: 11px;
  font-weight: 750;
}

.leaderboard-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leaderboard-row.band .leaderboard-avatar,
.leaderboard-avatar.band {
  background: var(--refresh-lavender);
  color: var(--refresh-lavender-deep);
}

.leaderboard-name {
  min-width: 0;
}

.leaderboard-name .person-name-button,
.leaderboard-name button[data-preview] {
  display: block;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--refresh-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}

.leaderboard-name .person-name-button:hover,
.leaderboard-name button[data-preview]:hover {
  color: var(--refresh-coral-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.leaderboard-counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  min-width: 0;
}

.leaderboard-counts > * {
  display: block;
  min-width: 0;
  padding: 5px 6px;
  border-radius: 8px;
  background: var(--refresh-cream-deep);
  color: var(--refresh-ink);
  font-size: 10px;
  line-height: 1.25;
  text-align: center;
}

.leaderboard-counts strong,
.leaderboard-counts span {
  display: block;
}

.leaderboard-counts small,
.leaderboard-label {
  display: block;
  color: var(--refresh-muted);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.leaderboard-empty {
  margin: 0;
  padding: 20px;
  border: 1px dashed #dfc9bc;
  border-radius: 12px;
  color: var(--refresh-muted);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 950px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .leaderboard-labels,
  .leaderboard-row {
    grid-template-columns: 28px 36px minmax(0, 1fr) minmax(165px, 1.2fr);
  }
}

@media (max-width: 680px) {
  .recommendation-section .popular-heading,
  .recommendation-section .recommendation-heading {
    display: block;
  }

  .recommendation-section .cloud-note,
  .recommendation-section .popular-note {
    max-width: none;
    margin-top: 5px;
    text-align: left;
  }

  #recommendation-cloud.recommendation-cloud {
    gap: 6px;
  }

  .cloud-chip {
    min-height: 36px;
    padding: 6px 10px;
  }

  .cloud-chip.cloud-size-3 { font-size: 18px; }

  .calendar-column .section-heading {
    align-items: flex-start;
  }

  .calendar-column .section-heading > h2,
  .calendar-column .section-heading > div:first-child {
    flex: 1 1 145px;
  }

  .calendar-controls {
    width: 100%;
    margin-left: 0;
  }

  .calendar-controls .today-button,
  .calendar-controls #today-button {
    margin-right: auto;
  }

  .calendar-jump {
    flex: 1 1 205px;
  }

  #calendar-month-select,
  #calendar-year-select {
    flex: 1 1 92px;
    width: auto;
    min-width: 92px;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .content-card.work-card,
  article.work-card {
    padding: 16px;
  }

  .work-card-top .work-poster,
  .work-card-top .work-poster.thumbnail,
  .work-poster.thumbnail {
    flex-basis: 64px;
    width: 64px;
    height: 80px;
  }

  .work-card-actions .small-action,
  .work-card-top .small-action {
    min-width: 40px;
    min-height: 40px;
  }

  .broadcast-choices,
  #content-broadcasters {
    gap: 6px;
  }

  #content-broadcasters label,
  .broadcaster-chip {
    font-size: 13px;
  }

  .work-release-fields,
  #work-release-fields {
    grid-template-columns: 1fr;
  }

  .work-leaderboard {
    margin-top: 30px;
    padding-top: 21px;
  }

  .leaderboard-labels {
    display: none;
  }

  .leaderboard-row {
    grid-template-columns: 24px 36px minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    padding: 10px;
  }

  .leaderboard-rank {
    padding-top: 8px;
  }

  .leaderboard-avatar {
    margin-top: 1px;
  }

  .leaderboard-name {
    padding-top: 4px;
  }

  .leaderboard-counts {
    grid-column: 3;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin-top: 1px;
  }

  .leaderboard-counts > * {
    padding: 5px 3px;
    font-size: 9px;
  }

  .leaderboard-counts small,
  .leaderboard-label {
    font-size: 7px;
  }
}

@media (max-width: 380px) {
  .calendar-jump {
    flex-basis: 100%;
  }

  .calendar-jump select {
    min-width: 0;
  }

  .leaderboard-row {
    grid-template-columns: 22px 34px minmax(0, 1fr);
    gap: 6px;
  }

  .leaderboard-avatar {
    width: 34px;
    height: 34px;
  }

  .leaderboard-counts {
    grid-column: 3;
  }
}


/* Mobile header readability */
.site-masthead .site-kicker { display: block; max-width: 100%; margin: 0 0 8px; color: #111; font-size: 11px; font-weight: 650; letter-spacing: .04em; }
.site-masthead .wordmark { display: block; width: max-content; max-width: none; overflow: visible; white-space: nowrap; color: #111 !important; font-size: 30px; }
.site-masthead .wordmark span { color: #111 !important; }
.site-masthead .site-tagline { max-width: 270px; color: #111; font-size: 13px; }
.site-masthead .language-picker select, .site-masthead #site-language { min-width: 62px; border: 1px solid #111; border-radius: 8px; background: #fff; color: #111; }
@media (max-width: 680px) {
  .site-masthead .wordmark { max-width: none; font-size: 30px; white-space: nowrap; }
  .site-masthead .site-tagline { max-width: 245px; }
}
@media (max-width: 340px) {
  .site-masthead .wordmark { max-width: none; font-size: 28px; white-space: nowrap; }
  .site-masthead .site-tagline { max-width: 205px; font-size: 11px; }
}


/* Final mobile header and typography alignment */
.home-intro h2 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif !important; font-size: 20px !important; font-weight: 650 !important; letter-spacing: -.02em !important; line-height: 1.2 !important; }
.home-intro p:not(.eyebrow) { font-size: 13px !important; line-height: 1.45; }
@media (max-width: 680px) {
  .site-masthead .site-kicker { margin-top: 38px; }
  .site-masthead .wordmark { margin-top: 4px; }
  .site-navigation { top: 218px; min-height: calc(100vh - 218px); }
}
@media (max-width: 340px) {
  .site-masthead .site-kicker { margin-top: 34px; }
  .site-navigation { top: 205px; min-height: calc(100vh - 205px); }
}


@media (max-width: 680px) {
  .site-masthead .site-kicker { margin-top: 54px; }
  .site-navigation { top: 234px; min-height: calc(100vh - 234px); }
}
@media (max-width: 340px) {
  .site-masthead .site-kicker { margin-top: 48px; }
  .site-navigation { top: 220px; min-height: calc(100vh - 220px); }
}


/* Monochrome content surfaces */
.cloud-chip, .cloud-chip.cloud-artists:nth-child(4n + 1), .cloud-chip.cloud-artists:nth-child(4n + 2), .cloud-chip.cloud-artists:nth-child(4n + 3), .cloud-chip.cloud-artists:nth-child(4n), .cloud-chip.cloud-movies, .cloud-chip.cloud-shows, .cloud-chip.gender-female, .cloud-chip.gender-male, .cloud-chip.band { background: #ededed; color: #111; border-color: #d0d0d0; }
.stat-card, .stat-card-main, .stat-card-catalog, .stat-icon-coral, .stat-icon-pink, .stat-icon-blue, .stat-icon-yellow, .stat-icon-green { background: #f3f3f3; color: #111; }
.stat-icon { background: #e4e4e4; color: #111; }
