
:root {
  --bg-top: rgba(8, 47, 73, 0.75);
  --bg-main: #020617;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --surface-bg: rgba(15, 23, 42, 0.72);
  --surface-border: rgba(148, 163, 184, 0.16);
  --input-bg: rgba(2, 6, 23, 0.72);
  --glow-cyan: rgba(34, 211, 238, 0.3);
}

:root[data-theme='light'] {
  --bg-top: rgba(125, 211, 252, 0.45);
  --bg-main: #eef6ff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --surface-bg: rgba(255, 255, 255, 0.82);
  --surface-border: rgba(148, 163, 184, 0.22);
  --input-bg: rgba(255, 255, 255, 0.92);
  --glow-cyan: rgba(14, 165, 233, 0.22);
}

:root {
  color-scheme: dark;
  font-family: Inter, system-ui, sans-serif;
  background:
    radial-gradient(circle at top, var(--bg-top), transparent 28%),
    linear-gradient(180deg, var(--bg-main) 0%, var(--bg-main) 100%);
  color: var(--text-main);
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  min-height: 100%;
}

body {
  margin: 0;
  background: transparent;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  padding: 24px;
}

.hero,
.stats-grid,
.globe-stage,
.details-grid {
  max-width: 1600px;
  margin: 0 auto;
}

.hero-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.7fr);
  gap: 18px;
  align-items: stretch;
  padding: 10px 0 20px;
}

.hero-copy {
  padding: 16px 0;
}

.hero h1 {
  margin: 8px 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.hero p,
.hero-meta,
.panel-copy,
.sidebar p,
.mini-meta,
.stack-list span,
.toolbar-field span,
.country-chip span,
.country-chip em {
  color: var(--text-muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: #22d3ee;
}

.card-surface,
.stat-card,
.globe-stage,
.sidebar,
.log-chip,
.mini-card,
.country-chip,
.toolbar {
  border: 1px solid var(--surface-border);
  background: var(--surface-bg);
  backdrop-filter: blur(12px);
  border-radius: 24px;
}

.hero-meta {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.hero-meta > div {
  display: grid;
  gap: 4px;
}

.hero-meta strong {
  font-size: 0.92rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.stat-card {
  padding: 16px;
}

.stat-label,
.stat-helper {
  color: var(--text-muted);
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 6px 0;
}

.globe-stage-v2 {
  padding: 18px;
  margin-bottom: 18px;
}

.globe-heading {
  align-items: end;
}

.panel-heading,
.sidebar-heading,
.compact-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.panel-heading h2,
.sidebar h2,
.insights-panel h2 {
  margin: 4px 0;
}

.panel-actions {
  display: flex;
  gap: 10px;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 220px 120px;
  gap: 14px;
  padding: 14px;
  margin-bottom: 16px;
}

.toolbar-field {
  display: grid;
  gap: 8px;
}

.toolbar-field input,
.toolbar-field select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: var(--input-bg);
  color: var(--text-main);
  padding: 12px 14px;
}

.toolbar-summary {
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 18px;
  background: rgba(8, 47, 73, 0.45);
}

.toolbar-summary strong {
  font-size: 1.7rem;
}

.globe-shell-v2 {
  position: relative;
  height: 72vh;
  min-height: 680px;
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.1), rgba(2, 6, 23, 0.75));
}

.globe-shell-v2 canvas {
  width: 100% !important;
  height: 100% !important;
}

.globe-overlay-note {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.68);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.country-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.country-chip {
  padding: 14px;
  text-align: left;
  display: grid;
  gap: 4px;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.country-chip strong {
  color: #f8fafc;
}

.country-chip em {
  font-style: normal;
}

.country-chip:hover,
.country-chip-active {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(8, 47, 73, 0.7);
}

.details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 18px;
  align-items: start;
}

.sidebar,
.insights-panel {
  padding: 18px;
}

.insights-panel {
  border: 1px solid var(--surface-border);
  background: var(--surface-bg);
  backdrop-filter: blur(12px);
  border-radius: 24px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sidebar section + section,
.insight-block + .insight-block {
  margin-top: 22px;
}

.stack-list,
.card-list,
.bullet-list {
  padding: 0;
  margin: 12px 0 0;
}

.stack-list,
.card-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.stack-list li,
.mini-card {
  padding: 12px 14px;
}

.stack-list li,
.mini-card,
.bullet-list li {
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.stack-list strong,
.mini-card strong {
  display: block;
  margin-bottom: 6px;
}

.card-list {
  gap: 12px;
}

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

.mini-card {
  display: grid;
  gap: 10px;
}

.mini-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.logs-panel {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.stacked-logs {
  display: grid;
}

.log-chip {
  padding: 10px 14px;
  display: grid;
  gap: 4px;
}

.status-enabled,
.status-ok {
  border-color: rgba(34, 197, 94, 0.35);
}

.status-disabled {
  border-color: rgba(245, 158, 11, 0.35);
}

.status-error {
  border-color: rgba(239, 68, 68, 0.45);
}

.refresh-button,
.pulse-badge {
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: var(--text-main);
  background: rgba(8, 47, 73, 0.55);
  border-radius: 999px;
  padding: 10px 14px;
}

.pulse-badge {
  white-space: nowrap;
}

.bullet-list {
  list-style: disc;
  padding-left: 18px;
}

.bullet-list li {
  margin-bottom: 10px;
}

.loading,
.error-banner,
.empty-state {
  max-width: 700px;
  margin: 120px auto;
  padding: 24px;
  text-align: center;
}

@media (max-width: 1240px) {
  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .details-grid,
  .hero-v2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .toolbar {
    grid-template-columns: 1fr;
  }

  .info-grid,
  .two-col-list {
    grid-template-columns: 1fr;
  }

  .globe-shell-v2 {
    height: 62vh;
    min-height: 520px;
  }
}

@media (max-width: 720px) {
  .app-shell {
    padding: 14px;
  }

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

  .globe-shell-v2 {
    height: 55vh;
    min-height: 420px;
  }

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


.refresh-button {
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(8, 47, 73, 0.65);
  color: var(--text-main);
  padding: 12px 16px;
  border-radius: 14px;
}

.country-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 280px;
  margin-bottom: 18px;
  border: 1px solid var(--surface-border);
}

.country-hero-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.country-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 24px;
  background: linear-gradient(180deg, rgba(2,6,23,0.08) 10%, rgba(2,6,23,0.88) 100%);
}

.country-hero-overlay h2 {
  margin: 6px 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.country-tagline {
  color: #cbd5e1;
  font-size: 0.96rem;
}

.country-hero .pulse-badge {
  position: absolute;
  top: 18px;
  right: 18px;
}

.profile-list,
.event-card-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 12px;
}

.profile-card,
.event-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  padding: 12px;
  border-radius: 20px;
  background: rgba(2, 6, 23, 0.42);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.profile-image,
.event-image {
  width: 100%;
  height: 100%;
  min-height: 110px;
  object-fit: cover;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.8);
}

.profile-copy,
.event-copy {
  min-width: 0;
}

.profile-copy strong,
.event-copy strong {
  display: block;
  margin-bottom: 4px;
}

.profile-copy p,
.event-copy p {
  margin: 6px 0;
  color: #cbd5e1;
}

.profile-role {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  color: #67e8f9;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.profile-copy span:not(.profile-role),
.event-copy span {
  color: var(--text-muted);
}

.event-card {
  grid-template-columns: 180px minmax(0, 1fr);
}

.event-image {
  min-height: 128px;
}

.sidebar-v3 section h3,
.insights-panel h3 {
  margin-top: 0;
}

.loading,
.error-banner {
  max-width: 840px;
  margin: 20vh auto;
  padding: 20px 24px;
  border-radius: 20px;
  text-align: center;
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.pulse-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(251, 146, 60, 0.16);
  border: 1px solid rgba(251, 146, 60, 0.3);
  color: #fdba74;
  font-weight: 700;
}

.logs-panel.stacked-logs {
  display: grid;
  gap: 10px;
}

.log-chip {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
}

.status-ok {
  border-color: rgba(34, 197, 94, 0.24);
}

.status-enabled {
  border-color: rgba(34, 211, 238, 0.24);
}

.status-disabled {
  border-color: rgba(148, 163, 184, 0.24);
}

.status-error {
  border-color: rgba(248, 113, 113, 0.24);
}

@media (max-width: 1180px) {
  .hero-v2,
  .details-grid,
  .toolbar,
  .info-grid {
    grid-template-columns: 1fr;
  }

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

  .event-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .app-shell {
    padding: 16px;
  }

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

  .globe-shell-v2 {
    height: 60vh;
    min-height: 520px;
  }

  .country-rail {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .profile-card {
    grid-template-columns: 1fr;
  }

  .profile-image {
    min-height: 180px;
  }
}


.footer-note {
  max-width: 1600px;
  margin: 18px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-muted);
}

.section-heading,
.profile-topline,
.detail-actions,
.detail-tag-row,
.detail-stat-grid {
  display: flex;
  gap: 10px;
}

.section-heading,
.profile-topline {
  align-items: center;
  justify-content: space-between;
}

.section-heading span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.interactive-card {
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.interactive-card:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.3);
  background: rgba(8, 47, 73, 0.34);
}

.inline-link-button {
  border: 0;
  background: transparent;
  color: #67e8f9;
  padding: 0;
}

.strong-link {
  font-weight: 700;
}

.profile-detail-panel {
  position: sticky;
  top: 18px;
}

.profile-detail-hero {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.profile-detail-image {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 24px;
  background: rgba(2, 6, 23, 0.42);
}

.profile-detail-copy h2 {
  margin: 6px 0;
}

.detail-tag-row {
  flex-wrap: wrap;
  margin-top: 14px;
}

.ghost-chip {
  border: 1px solid rgba(34, 211, 238, 0.24);
  background: rgba(8, 47, 73, 0.24);
  color: var(--text-main);
  border-radius: 999px;
  padding: 8px 12px;
}

.ghost-chip-static {
  color: #cbd5e1;
}

.detail-actions {
  margin-top: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.detail-stat-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.detail-stat-pill {
  border-radius: 20px;
  background: rgba(2, 6, 23, 0.46);
  border: 1px solid rgba(148, 163, 184, 0.12);
  padding: 14px;
  display: grid;
  gap: 4px;
}

.detail-stat-pill strong {
  font-size: 1.2rem;
}

.detail-stat-pill span {
  color: var(--text-muted);
}

.detail-list-card {
  padding: 14px 16px;
}

.profile-detail-empty {
  min-height: 520px;
}

@media (max-width: 1180px) {
  .profile-detail-panel {
    position: static;
  }

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

@media (max-width: 760px) {
  .profile-detail-hero,
  .footer-note {
    grid-template-columns: 1fr;
    display: grid;
  }

  .detail-stat-grid {
    grid-template-columns: 1fr 1fr;
  }
}


.app-shell-v5 {
  background:
    radial-gradient(circle at top center, rgba(34, 211, 238, 0.08), transparent 22%),
    radial-gradient(circle at 90% 10%, rgba(99, 102, 241, 0.08), transparent 18%);
}

.hero-v5 {
  align-items: start;
}

.hero-meta-v5 {
  min-height: 100%;
}

.navigator {
  margin-top: 18px;
  padding: 18px;
  display: grid;
  gap: 14px;
}

.navigator-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.navigator-topline strong,
.spotlight-card h2 {
  display: block;
  margin-bottom: 4px;
}

.navigator-topline span,
.navigator-result em,
.navigator-empty,
.navigator-badge,
.spotlight-card p {
  color: var(--text-muted);
}

.navigator-badge {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(8, 47, 73, 0.38);
  white-space: nowrap;
}

.navigator-search input {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.8);
  color: var(--text-main);
  padding: 14px 16px;
}

.navigator-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.navigator-result,
.navigator-empty {
  padding: 14px;
  text-align: left;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(2, 6, 23, 0.58);
}

.navigator-result {
  display: grid;
  gap: 6px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.navigator-result:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(8, 47, 73, 0.48);
}

.result-type {
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  color: #cbd5e1;
}

.result-type-country { border: 1px solid rgba(34, 211, 238, 0.24); }
.result-type-artist { border: 1px solid rgba(168, 85, 247, 0.24); }
.result-type-producer { border: 1px solid rgba(59, 130, 246, 0.24); }
.result-type-track { border: 1px solid rgba(16, 185, 129, 0.24); }
.result-type-event { border: 1px solid rgba(251, 191, 36, 0.24); }

.spotlight-row {
  max-width: 1600px;
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.7fr);
  gap: 16px;
}

.spotlight-card {
  padding: 18px 20px;
}

.spotlight-card h2 {
  margin: 6px 0 10px;
}

.spotlight-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ghost-chip-button {
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(2, 6, 23, 0.4);
}

.globe-stage-v5 {
  box-shadow: 0 24px 90px rgba(2, 6, 23, 0.28);
}

.details-grid-v5 {
  align-items: stretch;
}

.footer-note-v5 {
  max-width: 1600px;
  margin: 18px auto 0;
  padding: 18px 22px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.58);
}

@media (max-width: 1180px) {
  .spotlight-row,
  .hero-v5,
  .details-grid-v5 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .navigator-topline {
    flex-direction: column;
  }

  .navigator-results,
  .country-rail,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .app-shell {
    padding: 14px;
  }

  .navigator-results,
  .stats-grid,
  .country-rail {
    grid-template-columns: 1fr;
  }
}


.app-shell-v6 {
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.05), transparent 20%),
    radial-gradient(circle at 50% 28%, rgba(59, 130, 246, 0.04), transparent 24%);
}

.hero-v6 {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.7fr);
  padding-bottom: 12px;
}

.hero-copy-v6 {
  max-width: 760px;
}

.hero-copy-v6 p {
  max-width: 58ch;
}

.hero-meta-v6 {
  align-self: center;
}

.stats-grid-v6 {
  margin-bottom: 16px;
}

.globe-stage-v6 {
  padding: 20px;
  box-shadow: 0 26px 90px rgba(2, 6, 23, 0.24);
}

.globe-heading-v6 {
  margin-bottom: 12px;
  align-items: center;
}

.globe-heading-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.globe-heading-copy h2 {
  margin: 6px 0 8px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.panel-actions-v6 {
  justify-content: center;
}

.toolbar-v6 {
  max-width: 1120px;
  margin: 0 auto 18px;
}

.globe-shell-v2 {
  height: 76vh;
  min-height: 760px;
}

.globe-shell-v2 canvas {
  display: block;
}

.country-rail-v6 {
  margin-top: 18px;
}

.details-grid-v6 {
  margin-top: 18px;
}

.navigator-section {
  max-width: 1600px;
  margin: 18px auto 0;
  padding: 18px;
}

.navigator-section-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 14px;
}

.navigator-section-header h2 {
  margin: 6px 0 8px;
}

.navigator-v6 {
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.footer-note-v6 {
  margin-top: 18px;
}

@media (max-width: 1180px) {
  .hero-v6,
  .navigator-section-header {
    grid-template-columns: 1fr;
    display: grid;
  }

  .globe-shell-v2 {
    height: 70vh;
    min-height: 680px;
  }
}

@media (max-width: 760px) {
  .globe-shell-v2 {
    height: 62vh;
    min-height: 520px;
  }

  .globe-heading-copy {
    text-align: left;
  }
}


.app-shell-v7 {
  padding-top: 18px;
}

.hero-v7 {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.6fr);
  margin-bottom: 10px;
}

.hero-copy-v7 {
  max-width: 820px;
}

.hero-meta-v7 {
  align-self: center;
}

.globe-stage-v7 {
  padding: 22px 22px 28px;
}

.globe-heading-v7 {
  margin-bottom: 12px;
}

.toolbar-v7 {
  max-width: 1100px;
  margin: 0 auto 16px;
}

.globe-shell-v2 {
  height: 78vh;
  min-height: 720px;
  max-width: 1240px;
  margin: 0 auto;
}

.details-grid-v7 {
  margin-top: 20px;
}

.navigator-section-v7,
.editor-guide {
  max-width: 1600px;
  margin: 18px auto 0;
  padding: 20px;
}

.country-rail-v7 {
  margin-top: 18px;
}

.editor-guide-header {
  margin-bottom: 14px;
}

.editor-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.editor-steps .mini-card {
  padding: 16px;
}

.editor-steps code,
.mini-card code {
  background: rgba(2, 6, 23, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 10px;
  padding: 2px 6px;
  color: var(--text-main);
}

.footer-note-v7 {
  margin-top: 18px;
}

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

@media (max-width: 840px) {
  .hero-v7,
  .details-grid-v7,
  .toolbar-v7 {
    grid-template-columns: 1fr;
  }

  .globe-shell-v2 {
    height: 64vh;
    min-height: 520px;
  }

  .editor-steps {
    grid-template-columns: 1fr;
  }
}


.editor-workbench {
  max-width: 1600px;
  margin: 18px auto 0;
  padding: 20px;
}

.editor-workbench-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
}

.editor-form,
.editor-output {
  display: grid;
  gap: 14px;
}

.editor-form textarea,
.editor-form input,
.editor-form select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: var(--input-bg);
  color: var(--text-main);
  padding: 12px 14px;
}

.editor-inline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.editor-output-card {
  display: grid;
  gap: 8px;
}

.editor-output-card code,
.editor-snippet-block pre,
.editor-hints code {
  word-break: break-word;
}

.editor-snippet-block {
  border: 1px solid var(--surface-border);
  background: rgba(2, 6, 23, 0.52);
  border-radius: 20px;
  overflow: hidden;
}

.editor-snippet-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.editor-snippet-block pre {
  margin: 0;
  padding: 16px;
  max-height: 420px;
  overflow: auto;
  font-size: 0.92rem;
}

.hint-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.hint-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

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

@media (max-width: 980px) {
  .editor-workbench-grid,
  .editor-inline-grid {
    grid-template-columns: 1fr;
  }
}


.editor-workbench-grid-v9 {
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
}

.editor-action-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.secondary-button {
  background: rgba(8, 47, 73, 0.55);
}

.draft-shelf {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.draft-shelf-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.draft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.draft-card {
  display: grid;
  gap: 10px;
  align-content: start;
}

.draft-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.draft-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.draft-card pre {
  margin: 0;
  max-height: 220px;
  overflow: auto;
  padding: 12px;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 0.86rem;
}

.draft-actions {
  display: flex;
  gap: 12px;
}


.editor-workbench-grid-v10 {
  grid-template-columns: minmax(340px, 0.92fr) minmax(0, 1.08fr);
}

.upload-action-wrap {
  align-content: end;
}

.upload-action-wrap .refresh-button {
  width: 100%;
}

.status-note {
  color: var(--text-muted);
  font-size: 0.86rem;
  text-align: right;
}


.auth-panel {
  margin-bottom: 18px;
  display: grid;
  gap: 14px;
}

.auth-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.auth-user-chip,
.status-banner {
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(8, 47, 73, 0.5);
  border: 1px solid rgba(34, 211, 238, 0.18);
}

.status-banner {
  border-radius: 16px;
  color: #cbd5e1;
}

.upload-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 14px;
  align-items: end;
}

@media (max-width: 980px) {
  .upload-row {
    grid-template-columns: 1fr;
  }
}


.top-nav {
  max-width: 1600px;
  margin: 0 auto 18px;
  padding: 10px;
  display: flex;
  gap: 10px;
  justify-content: center;
  position: sticky;
  top: 12px;
  z-index: 20;
}

.top-nav-link {
  color: #cbd5e1;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 140ms ease, color 140ms ease, transform 140ms ease;
}

.top-nav-link:hover,
.top-nav-link.active {
  background: rgba(34, 211, 238, 0.14);
  color: #f8fafc;
  transform: translateY(-1px);
}

.hero-v11-pro {
  padding-top: 4px;
}

.globe-stage-v7 {
  padding: 24px;
  background:
    radial-gradient(circle at 50% 30%, rgba(14, 165, 233, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.84), rgba(2, 6, 23, 0.92));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.globe-shell-pro {
  min-height: 760px;
  height: 76vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 48%, rgba(59, 130, 246, 0.14), rgba(2, 6, 23, 0.9) 58%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.96));
}

.globe-shell-pro canvas {
  margin: 0 auto;
}

.globe-overlay-note-pro {
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  text-align: center;
  min-width: 180px;
}

.globe-overlay-note-pro em {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.admin-page-shell,
.admin-help-grid {
  max-width: 1600px;
  margin: 0 auto;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 16px;
  align-items: start;
  padding: 22px;
  margin-bottom: 18px;
}

.admin-hero h1 {
  margin: 8px 0;
}

.admin-hero-meta {
  display: grid;
  gap: 14px;
}

.admin-hero-meta > div {
  display: grid;
  gap: 4px;
}

.admin-help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.upload-stack {
  display: grid;
  gap: 12px;
}

.image-preview-card {
  display: grid;
  gap: 10px;
}

.image-preview-frame {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.12);
  display: grid;
  place-items: center;
}

.image-preview-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

@media (max-width: 980px) {
  .admin-hero,
  .admin-help-grid {
    grid-template-columns: 1fr;
  }

  .top-nav {
    position: static;
  }

  .globe-shell-pro {
    min-height: 620px;
    height: 68vh;
  }
}


/* v11.4 globe centering and stage polish */
.globe-stage-v2,
.globe-stage-v5,
.globe-stage-v6,
.globe-stage-v7 {
  max-width: 1680px;
}

.globe-shell-pro {
  display: grid;
  place-items: center;
  min-height: 720px;
  background:
    radial-gradient(circle at 50% 45%, rgba(14, 165, 233, 0.12), rgba(2, 6, 23, 0) 26%),
    radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.12), rgba(2, 6, 23, 0.82) 72%);
}

.globe-canvas-host {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.globe-canvas-host > div,
.globe-canvas-host canvas {
  margin: 0 auto !important;
}

.globe-overlay-note-pro {
  left: 50%;
  right: auto;
  bottom: 18px;
  transform: translateX(-50%);
  text-align: center;
  min-width: 220px;
}

.globe-heading-v7,
.globe-heading-v6,
.globe-heading {
  align-items: center;
}

.globe-heading-copy {
  max-width: 840px;
}

.globe-stage {
  box-shadow: 0 20px 70px rgba(2, 6, 23, 0.28);
}

.status-banner {
  border: 1px solid rgba(34, 211, 238, 0.18);
  background: rgba(8, 47, 73, 0.24);
  border-radius: 16px;
  padding: 12px 14px;
}

@media (max-width: 960px) {
  .globe-shell-pro {
    min-height: 620px;
  }
}

@media (max-width: 760px) {
  .globe-shell-pro {
    min-height: 520px;
  }

  .globe-overlay-note-pro {
    min-width: 0;
    width: calc(100% - 28px);
  }
}


.musicbrainz-panel {
  margin-bottom: 18px;
}

.musicbrainz-panel-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 840px) {
  .musicbrainz-panel-top {
    flex-direction: column;
  }
}


.pager-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.pager-button {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.46);
  color: var(--text-main);
  border-radius: 12px;
  padding: 8px 12px;
}

.pager-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pager-button-active {
  border-color: rgba(34, 211, 238, 0.38);
  background: rgba(8, 47, 73, 0.68);
}

.compact-list {
  margin-bottom: 0;
}


.spotify-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: -2px;
}

.spotify-fetch-button {
  white-space: nowrap;
}

@media (max-width: 760px) {
  .spotify-action-row {
    align-items: flex-start;
  }
}


.compact-country-hero { min-height: 220px; }
.compact-profile-card { grid-template-columns: 68px minmax(0,1fr); gap: 10px; padding: 10px; }
.compact-profile-image { min-height: 68px; height: 68px; border-radius: 14px; }
.compact-profile-copy strong { margin-bottom: 2px; }
.compact-profile-list { gap: 10px; }
.compact-info-grid { gap: 14px; }
.compact-mini-card { padding: 10px 12px; border-radius: 16px; }
.pagination-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.page-button {
  border: 1px solid rgba(148,163,184,0.16);
  background: rgba(2,6,23,0.44);
  color: var(--text-main);
  border-radius: 12px;
  padding: 8px 12px;
}
.page-button-active { border-color: rgba(34,211,238,0.36); background: rgba(8,47,73,0.6); }
.compact-profile-panel { padding: 16px; }
.compact-detail-hero { grid-template-columns: 160px minmax(0,1fr); gap: 14px; }
.compact-detail-image { min-height: 160px; border-radius: 18px; }
.compact-detail-stats { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.compact-insight-block { margin-top: 16px; }
.admin-preview-image { width: 100%; height: 100%; object-fit: cover; }
.inventory-shell { max-width: 1600px; margin: 18px auto 0; padding: 20px; }
.inventory-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.inventory-tab { cursor: pointer; }
.inventory-tab-active { border-color: rgba(34,211,238,0.36); background: rgba(8,47,73,0.48); }
.inventory-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 12px; }
.inventory-card { display: grid; gap: 10px; }
.inventory-card-top { display: grid; gap: 4px; }
.country-chip-hidden { opacity: 0.6; }

@media (max-width: 960px) {
  .compact-detail-hero,
  .compact-detail-stats {
    grid-template-columns: 1fr;
  }
}


/* v12.8 production polish */
.top-nav {
  max-width: 1600px;
  margin: 0 auto 18px;
  padding: 10px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.top-nav-link {
  color: #cbd5e1;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 14px;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
  border: 1px solid transparent;
}

.top-nav-link:hover,
.top-nav-link.active {
  color: #f8fafc;
  background: rgba(8, 47, 73, 0.5);
  border-color: rgba(34, 211, 238, 0.18);
}

.hero-v11-pro {
  padding-top: 10px;
  gap: 24px;
}

.hero-v11-pro .hero-copy {
  max-width: 980px;
}

.hero-v11-pro h1 {
  letter-spacing: -0.03em;
}

.globe-stage-v7 {
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(2, 6, 23, 0.32);
}

.navigator-section {
  max-width: 1600px;
  margin: 18px auto 0;
  padding: 18px;
}

.navigator-section-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.navigator-badge {
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(8, 47, 73, 0.5);
  border: 1px solid rgba(34, 211, 238, 0.18);
  color: var(--text-main);
  white-space: nowrap;
}

.country-manager {
  margin-bottom: 18px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
}

.country-manager-copy {
  display: grid;
  gap: 8px;
  align-content: start;
}

.country-manager-copy span,
.country-manager-status span,
.country-manager-status em {
  color: var(--text-muted);
}

.country-manager-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 0.7fr) auto;
  gap: 14px;
  align-items: end;
}

.country-manager-status {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.42);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.inventory-shell {
  max-width: 1600px;
  margin: 18px auto 0;
  padding: 20px;
}

.inventory-grid {
  max-height: 640px;
  overflow: auto;
  padding-right: 4px;
}

.inventory-card {
  gap: 8px;
}

.sidebar-v4,
.insights-panel {
  box-shadow: 0 16px 48px rgba(2, 6, 23, 0.18);
}

@media (max-width: 1100px) {
  .country-manager,
  .country-manager-controls {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .top-nav {
    flex-wrap: wrap;
  }
}


.leaderboard-section {
  max-width: 1600px;
  margin: 18px auto 0;
  padding: 20px;
}

.leaderboard-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

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

.leaderboard-card {
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(2, 6, 23, 0.42);
  border-radius: 22px;
  padding: 16px;
  color: var(--text-main);
  display: grid;
  gap: 10px;
  text-align: left;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.leaderboard-card:hover,
.leaderboard-card-active {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.3);
  background: rgba(8, 47, 73, 0.46);
}

.leaderboard-rank {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: rgba(251, 146, 60, 0.16);
  border: 1px solid rgba(251, 146, 60, 0.28);
  color: #fdba74;
}

.leaderboard-copy {
  display: grid;
  gap: 6px;
}

.leaderboard-copy span {
  color: var(--text-muted);
}

.leaderboard-metrics {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.leaderboard-metrics em {
  font-style: normal;
  color: #cbd5e1;
  font-size: 0.84rem;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(8, 47, 73, 0.24);
  border: 1px solid rgba(34, 211, 238, 0.12);
}

.leaderboard-score {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f8fafc;
}

@media (max-width: 1280px) {
  .leaderboard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .leaderboard-header {
    flex-direction: column;
  }

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


/* v13.2 production polish */
.top-nav {
  justify-content: flex-start;
}
.top-nav-link-admin {
  margin-left: auto;
}

.globe-heading-minimal {
  margin-bottom: 10px;
}
.globe-heading-minimal .globe-heading-copy {
  min-height: 0;
}
.globe-heading-minimal .eyebrow {
  margin-bottom: 0;
}

.leaderboard-section-pro {
  padding: 24px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(2, 6, 23, 0.88)),
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.12), transparent 28%);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.3);
}

.leaderboard-header-pro {
  margin-bottom: 18px;
}

.leaderboard-header-pro h2 {
  margin: 6px 0 8px;
  letter-spacing: -0.02em;
}

.leaderboard-grid-pro {
  gap: 16px;
}

.leaderboard-card-pro {
  padding: 18px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(8, 47, 73, 0.22), rgba(2, 6, 23, 0.28)),
    rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.leaderboard-card-pro:hover,
.leaderboard-card-pro.leaderboard-card-active {
  border-color: rgba(34, 211, 238, 0.34);
  background:
    linear-gradient(180deg, rgba(8, 47, 73, 0.4), rgba(2, 6, 23, 0.35)),
    rgba(2, 6, 23, 0.54);
}

.leaderboard-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.leaderboard-score-wrap {
  text-align: right;
  display: grid;
  gap: 2px;
}

.leaderboard-score-label {
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.leaderboard-copy strong {
  font-size: 1.08rem;
}

.leaderboard-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.leaderboard-stat-pill {
  border-radius: 16px;
  padding: 10px 12px;
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.1);
  display: grid;
  gap: 3px;
}

.leaderboard-stat-pill small {
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.leaderboard-stat-pill strong {
  font-size: 1rem;
  margin: 0;
}

@media (max-width: 760px) {
  .leaderboard-stat-row {
    grid-template-columns: 1fr;
  }
}


/* v13.3 branding and launch polish */
.hero-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #f8fafc;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.9), rgba(251, 146, 60, 0.9));
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.18);
}

.hero-v11-pro {
  position: relative;
}

.hero-v11-pro::after {
  content: '';
  position: absolute;
  inset: auto 0 -8px 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(34,211,238,0), rgba(34,211,238,0.2), rgba(251,146,60,0.22), rgba(34,211,238,0));
}

.hero-meta-v7 {
  background:
    linear-gradient(180deg, rgba(15,23,42,0.84), rgba(15,23,42,0.68)),
    radial-gradient(circle at top right, rgba(34,211,238,0.12), transparent 36%);
}

.footer-note-pro {
  padding: 18px 0 8px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  align-items: center;
}

.footer-note-pro > div {
  display: grid;
  gap: 4px;
}

.footer-note-pro strong {
  color: #f8fafc;
}

.footer-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 760px) {
  .footer-note-pro {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    justify-content: flex-start;
  }
}


/* v13.4 country focus uses flags for enabled countries */
.country-hero-image {
  object-fit: cover;
  object-position: center;
  background: linear-gradient(180deg, rgba(15,23,42,0.88), rgba(2,6,23,0.92));
}


/* v13.6 theme toggle */
.top-nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(8, 47, 73, 0.38);
  color: var(--text-main);
  border-radius: 999px;
  padding: 10px 14px;
  min-width: 84px;
}

:root[data-theme='light'] .theme-toggle,
:root[data-theme='light'] .refresh-button,
:root[data-theme='light'] .page-button,
:root[data-theme='light'] .ghost-chip,
:root[data-theme='light'] .pulse-badge {
  background: rgba(255,255,255,0.86);
  color: #0f172a;
}

/* loading skeletons */
.app-shell-loading {
  max-width: 1600px;
  margin: 0 auto;
}

.skeleton-block,
.skeleton-line {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(148, 163, 184, 0.12);
}

.skeleton-block::after,
.skeleton-line::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  animation: skeletonShimmer 1.5s infinite;
}

.skeleton-nav {
  height: 58px;
  margin-bottom: 18px;
}

.skeleton-hero {
  padding: 22px 0;
}

.skeleton-copy {
  display: grid;
  gap: 14px;
}

.skeleton-line {
  height: 18px;
}

.skeleton-line-short {
  width: 160px;
}

.skeleton-line-title {
  width: min(520px, 80%);
  height: 54px;
}

.skeleton-line-medium {
  width: min(700px, 92%);
}

.skeleton-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin: 6px 0 18px;
}

.skeleton-card {
  height: 110px;
}

.skeleton-globe {
  height: 72vh;
  min-height: 680px;
}

@keyframes skeletonShimmer {
  100% {
    transform: translateX(100%);
  }
}

/* globe hover */
.globe-shell-pro {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.globe-shell-hovered {
  transform: translateY(-2px);
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.34);
}

.globe-shell-hovered::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, var(--glow-cyan), transparent 42%);
  opacity: 0.8;
}

.globe-overlay-note {
  transition: transform 180ms ease, opacity 180ms ease;
}

.globe-overlay-note-active {
  transform: translateY(-2px);
}

/* top 5 flags */
.leaderboard-copy-with-flag {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.leaderboard-copy-text {
  display: grid;
  gap: 4px;
}

.leaderboard-flag {
  width: 48px;
  height: 34px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255,255,255,0.86);
}

/* light theme base */
:root[data-theme='light'] body {
  color: #0f172a;
}

:root[data-theme='light'] .card-surface,
:root[data-theme='light'] .stat-card,
:root[data-theme='light'] .globe-stage,
:root[data-theme='light'] .sidebar,
:root[data-theme='light'] .log-chip,
:root[data-theme='light'] .mini-card,
:root[data-theme='light'] .country-chip,
:root[data-theme='light'] .toolbar,
:root[data-theme='light'] .insights-panel,
:root[data-theme='light'] .leaderboard-section-pro {
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

:root[data-theme='light'] .country-hero-overlay,
:root[data-theme='light'] .globe-overlay-note,
:root[data-theme='light'] .toolbar-summary,
:root[data-theme='light'] .leaderboard-rank,
:root[data-theme='light'] .detail-stat-pill,
:root[data-theme='light'] .leaderboard-stat-pill {
  color: #0f172a;
}

@media (max-width: 960px) {
  .skeleton-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .skeleton-globe {
    min-height: 420px;
  }

  .top-nav-actions {
    width: 100%;
    justify-content: space-between;
  }
}


/* v13.7 mini dashboard stats */
.stats-grid {
  gap: 12px;
  margin-bottom: 16px;
}

.stat-card-dashboard {
  padding: 12px 14px;
  min-height: 118px;
  display: grid;
  gap: 6px;
  align-content: start;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(8, 47, 73, 0.16), rgba(2, 6, 23, 0.18)),
    var(--surface-bg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.stat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  background: rgba(8, 47, 73, 0.36);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.stat-trend-chip {
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(2, 6, 23, 0.18);
}

.stat-card-dashboard .stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-card-dashboard .stat-value {
  font-size: 1.4rem;
  line-height: 1.1;
  margin: 0;
}

.stat-card-dashboard .stat-helper {
  font-size: 0.8rem;
  line-height: 1.25;
}

.stat-trend-up .stat-icon,
.stat-trend-up .stat-trend-chip {
  border-color: rgba(34, 211, 238, 0.24);
}

.stat-trend-live .stat-icon,
.stat-trend-live .stat-trend-chip {
  border-color: rgba(251, 146, 60, 0.24);
}

:root[data-theme='light'] .stat-card-dashboard {
  background:
    linear-gradient(180deg, rgba(125, 211, 252, 0.12), rgba(255,255,255,0.78)),
    var(--surface-bg);
}

:root[data-theme='light'] .stat-icon,
:root[data-theme='light'] .stat-trend-chip {
  background: rgba(255,255,255,0.72);
}


.ai-assist-panel {
  max-width: 1600px;
  margin: 18px auto 0;
  padding: 20px;
}

.ai-assist-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 16px;
}

.ai-assist-form {
  display: grid;
  gap: 14px;
}

.ai-assist-form textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: var(--input-bg);
  color: var(--text-main);
  padding: 14px;
  resize: vertical;
}

.ai-assist-preview {
  overflow: hidden;
}

.ai-assist-preview pre {
  margin: 10px 0 0;
  padding: 14px;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.42);
  border: 1px solid rgba(148, 163, 184, 0.1);
  overflow: auto;
  max-height: 420px;
  color: var(--text-main);
}

.ai-assist-hint {
  gap: 8px;
}

@media (max-width: 1100px) {
  .ai-assist-grid {
    grid-template-columns: 1fr;
  }
}


/* v14 smart content */
.smart-country-section {
  margin: 16px 0 0;
  padding: 14px;
}

.smart-country-grid {
  display: grid;
  gap: 14px;
}

.smart-country-block {
  display: grid;
  gap: 8px;
}

.timeline-stack {
  display: grid;
  gap: 8px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 72px repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.34);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.timeline-row em {
  font-style: normal;
  color: var(--text-muted);
}

:root[data-theme='light'] .timeline-row {
  background: rgba(255,255,255,0.74);
}


/* v15 ai assist v2 + analytics */
.admin-analytics-panel {
  max-width: 1600px;
  margin: 18px auto 0;
  padding: 20px;
}

.admin-analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.analytics-card {
  align-content: start;
}

.analytics-list-card {
  gap: 8px;
}

.analytics-list-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.analytics-rank {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(8, 47, 73, 0.42);
  border: 1px solid rgba(34, 211, 238, 0.16);
  font-size: 0.84rem;
}

.heatmap-bars {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.heatmap-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 30px;
  gap: 10px;
  align-items: center;
}

.heatmap-row em {
  font-style: normal;
  color: var(--text-muted);
  text-align: right;
}

.heatmap-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  overflow: hidden;
}

.heatmap-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.8), rgba(251, 146, 60, 0.8));
}

@media (max-width: 1100px) {
  .admin-analytics-grid {
    grid-template-columns: 1fr;
  }
}


/* v16 editorial layer */
.editorial-section {
  max-width: 1600px;
  margin: 18px auto 0;
  padding: 20px;
}

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

.editorial-card {
  border-radius: 24px;
  padding: 16px;
  border: 1px solid var(--surface-border);
  background:
    linear-gradient(180deg, rgba(8, 47, 73, 0.12), rgba(2, 6, 23, 0.22)),
    var(--surface-bg);
  display: grid;
  gap: 10px;
  align-content: start;
}

.editorial-card-label {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.editorial-media-button {
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.editorial-media {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.5);
}

.admin-editorial-panel {
  max-width: 1600px;
  margin: 18px auto 0;
  padding: 20px;
}

@media (max-width: 1100px) {
  .editorial-grid {
    grid-template-columns: 1fr;
  }
}


/* v17 production, content health, and monetization */
.promotion-section,
.admin-promotion-panel,
.admin-health-panel {
  max-width: 1600px;
  margin: 18px auto 0;
  padding: 20px;
}

.promotion-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px;
  align-items: start;
}

.promotion-benefits {
  display: grid;
  gap: 12px;
}

.promotion-form {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid var(--surface-border);
  background: rgba(2, 6, 23, 0.24);
}

.promotion-inbox-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.promotion-inbox-card {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid var(--surface-border);
  background: rgba(2, 6, 23, 0.28);
}

.promotion-inbox-card p {
  color: var(--text-muted);
}

.promotion-inbox-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.promotion-status-new {
  border-color: rgba(251, 146, 60, 0.3);
}

.promotion-status-reviewed {
  border-color: rgba(34, 211, 238, 0.3);
}

.promotion-status-closed {
  opacity: 0.72;
}

.health-score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.health-score-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--surface-border);
  background: rgba(2, 6, 23, 0.26);
  display: grid;
  gap: 9px;
}

.health-score-card strong {
  font-size: 2rem;
}

.health-score-card em {
  font-style: normal;
  color: var(--text-muted);
}

.health-progress {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.14);
}

.health-progress > div {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(34,211,238,0.9), rgba(251,146,60,0.9));
}

.health-issues-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.social-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-main);
  border: 1px solid var(--surface-border);
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.social-profile-link:hover {
  transform: translateY(-1px);
}

.social-profile-link-spotify {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.28);
}

.social-profile-link-instagram {
  background: linear-gradient(135deg, rgba(168,85,247,0.12), rgba(251,146,60,0.12));
  border-color: rgba(217, 70, 239, 0.26);
}

:root[data-theme='light'] .promotion-form,
:root[data-theme='light'] .promotion-inbox-card,
:root[data-theme='light'] .health-score-card {
  background: rgba(255,255,255,0.74);
}

@media (max-width: 980px) {
  .promotion-layout,
  .health-score-grid,
  .health-issues-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .promotion-section,
  .admin-promotion-panel,
  .admin-health-panel {
    padding: 14px;
  }

  .promotion-inbox-top {
    flex-direction: column;
  }

  .detail-actions {
    align-items: flex-start;
  }
}


/* v17.1 — simplified Apple-inspired public experience */
:root {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, system-ui, sans-serif;
}

:root[data-theme='light'] {
  --bg-main: #f5f5f7;
  --text-main: #1d1d1f;
  --text-muted: #6e6e73;
  --surface-bg: rgba(255, 255, 255, 0.86);
  --surface-border: rgba(0, 0, 0, 0.07);
  --input-bg: rgba(255, 255, 255, 0.96);
}

:root[data-theme='dark'] {
  --bg-main: #000;
  --text-main: #f5f5f7;
  --text-muted: #a1a1a6;
  --surface-bg: rgba(28, 28, 30, 0.88);
  --surface-border: rgba(255, 255, 255, 0.1);
  --input-bg: rgba(28, 28, 30, 0.96);
}

body {
  background: var(--bg-main);
}

.apple-shell {
  padding: 0 24px 48px;
}

.apple-nav {
  max-width: 1440px;
  margin: 0 auto;
  height: 58px;
  padding: 0 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.apple-brand {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.apple-admin-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.apple-theme-toggle {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--text-main);
  background: rgba(128, 128, 128, 0.12);
}

.apple-hero {
  max-width: 1050px;
  margin: 0 auto;
  padding: 90px 20px 70px;
  text-align: center;
}

.apple-kicker,
.apple-section-heading span,
.apple-promotion-copy > span {
  display: block;
  color: #0071e3;
  font-size: 0.9rem;
  font-weight: 650;
  margin-bottom: 10px;
}

.apple-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
  font-weight: 750;
}

.apple-hero p {
  margin: 24px 0 0;
  color: var(--text-muted);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  letter-spacing: -0.02em;
}

.apple-metrics {
  max-width: 760px;
  margin: 0 auto 34px;
  padding: 18px 22px;
  border-radius: 22px;
  background: var(--surface-bg);
  border: 1px solid var(--surface-border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  box-shadow: 0 10px 35px rgba(0,0,0,0.05);
}

.apple-metrics div {
  display: grid;
  place-items: center;
  gap: 3px;
}

.apple-metrics div + div {
  border-left: 1px solid var(--surface-border);
}

.apple-metrics strong {
  font-size: 1.45rem;
}

.apple-metrics span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.apple-globe-stage,
.simple-country-panel,
.simple-profile-panel,
.apple-editorial-card,
.apple-ranking-section,
.apple-promotion {
  background: var(--surface-bg);
  border: 1px solid var(--surface-border);
  box-shadow: 0 18px 60px rgba(0,0,0,0.07);
}

.apple-globe-stage {
  max-width: 1440px;
  margin: 0 auto 24px;
  padding: 28px;
  border-radius: 34px;
}

.apple-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 22px;
}

.apple-section-heading h2,
.apple-promotion h2 {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.apple-section-heading.compact {
  margin-bottom: 14px;
}

.apple-section-heading.compact span {
  margin-bottom: 5px;
  font-size: 0.72rem;
}

.apple-section-heading.compact h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.apple-filter-bar {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 10px;
  margin-bottom: 18px;
}

.apple-filter-bar input,
.apple-filter-bar select,
.apple-promotion-form input,
.apple-promotion-form select,
.apple-promotion-form textarea {
  width: 100%;
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  background: var(--input-bg);
  color: var(--text-main);
  padding: 13px 15px;
  outline: none;
  font: inherit;
}

.apple-filter-bar input:focus,
.apple-filter-bar select:focus,
.apple-promotion-form input:focus,
.apple-promotion-form select:focus,
.apple-promotion-form textarea:focus {
  border-color: rgba(0, 113, 227, 0.45);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.apple-globe-stage .globe-shell-v2 {
  min-height: 620px;
  height: 68vh;
  border-radius: 26px;
}

.simple-details-grid {
  max-width: 1440px;
  margin: 0 auto 24px;
  gap: 20px;
}

.simple-details-grid.country-only {
  grid-template-columns: 1fr;
}

.simple-details-grid.has-profile {
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
}

.simple-country-panel,
.simple-profile-panel {
  border-radius: 34px;
  padding: 20px;
}

.simple-country-hero {
  min-height: 350px;
  border: 0;
  border-radius: 26px;
  margin-bottom: 18px;
}

.simple-country-hero .country-hero-image {
  height: 350px;
}

.simple-country-hero .country-hero-overlay {
  padding: 28px;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.78) 100%);
}

.simple-country-hero .country-hero-overlay > span {
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
}

.simple-country-hero h2 {
  color: #fff;
  margin: 6px 0;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  letter-spacing: -0.05em;
}

.simple-country-hero p {
  color: rgba(255,255,255,0.8);
  margin: 0;
  max-width: 520px;
}

.simple-quick-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 28px;
  padding: 6px 0;
}

.simple-quick-facts div {
  display: grid;
  place-items: center;
  gap: 3px;
  padding: 12px;
}

.simple-quick-facts div + div {
  border-left: 1px solid var(--surface-border);
}

.simple-quick-facts strong {
  font-size: 1.35rem;
}

.simple-quick-facts span {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.simple-people-section {
  margin-bottom: 28px;
}

.simple-people-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.simple-person-card {
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  background: rgba(128,128,128,0.06);
  color: var(--text-main);
  padding: 10px;
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.simple-person-card:hover {
  background: rgba(0,113,227,0.07);
}

.simple-person-image {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 14px;
}

.simple-person-card span {
  min-width: 0;
  display: grid;
}

.simple-person-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.simple-person-card small {
  color: var(--text-muted);
}

.simple-person-card em,
.apple-chevron {
  font-style: normal;
  color: var(--text-muted);
  font-size: 1.5rem;
}

.simple-latest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px;
}

.simple-list {
  display: grid;
}

.simple-list-item {
  min-width: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--surface-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-main);
  text-decoration: none;
}

.simple-list-item span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.simple-list-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.simple-list-item small,
.simple-list-item time,
.apple-editorial-card small {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.simple-more-details {
  margin-top: 24px;
  border-top: 1px solid var(--surface-border);
  padding-top: 16px;
}

.simple-more-details summary {
  cursor: pointer;
  color: #0071e3;
  font-weight: 600;
  list-style: none;
}

.simple-more-details summary::-webkit-details-marker {
  display: none;
}

.simple-more-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin-top: 16px;
}

.simple-more-grid div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(128,128,128,0.06);
}

.simple-more-grid span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.simple-profile-panel {
  position: sticky;
  top: 18px;
}

.simple-back-button {
  border: 0;
  background: transparent;
  color: #0071e3;
  padding: 4px 0 16px;
}

.simple-profile-image {
  width: 100%;
  height: 300px;
  border-radius: 24px;
  object-fit: cover;
  background: rgba(128,128,128,0.1);
}

.simple-profile-copy {
  padding: 20px 2px 4px;
}

.simple-profile-copy > span {
  color: #0071e3;
  font-size: 0.78rem;
  font-weight: 650;
}

.simple-profile-copy h2 {
  margin: 5px 0 10px;
  font-size: 2.35rem;
  letter-spacing: -0.045em;
}

.simple-profile-copy p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
}

.simple-profile-tags,
.simple-social-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.simple-profile-tags button,
.simple-profile-tags span {
  border: 0;
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(128,128,128,0.1);
  color: var(--text-main);
  font-size: 0.78rem;
}

.simple-profile-releases {
  margin-top: 28px;
}

.apple-editorial-section,
.apple-ranking-section {
  max-width: 1440px;
  margin: 0 auto 24px;
  padding: 34px;
  border-radius: 34px;
}

.apple-editorial-section {
  background: transparent;
  border: 0;
  box-shadow: none;
}

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

.apple-editorial-card {
  border-radius: 28px;
  padding: 16px;
}

.apple-editorial-card .editorial-media {
  height: 230px;
  border-radius: 20px;
}

.apple-editorial-card > strong {
  margin-top: 4px;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.apple-editorial-card p {
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.apple-new-card {
  padding: 24px;
}

.apple-ranking-list {
  display: grid;
}

.apple-ranking-item {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--surface-border);
  background: transparent;
  color: var(--text-main);
  padding: 15px 4px;
  display: grid;
  grid-template-columns: 34px 46px minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.apple-ranking-item:last-child {
  border-bottom: 0;
}

.apple-ranking-item.active {
  color: #0071e3;
}

.apple-ranking-item img {
  width: 46px;
  height: 32px;
  object-fit: cover;
  border-radius: 9px;
}

.apple-rank-number {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.apple-rank-name {
  display: grid;
  gap: 2px;
}

.apple-rank-name small {
  color: var(--text-muted);
}

.apple-promotion {
  max-width: 1440px;
  margin: 0 auto 24px;
  padding: 34px;
  border-radius: 34px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 24px;
}

.apple-promotion-copy h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.apple-promotion-copy p {
  margin: 12px 0 0;
  color: var(--text-muted);
}

.apple-primary-button {
  border: 0;
  border-radius: 999px;
  background: #0071e3;
  color: #fff;
  padding: 12px 19px;
  font-weight: 650;
}

.apple-primary-button:disabled {
  opacity: 0.55;
}

.apple-promotion-form {
  grid-column: 1 / -1;
  padding: 20px 0 0;
  border: 0;
  border-top: 1px solid var(--surface-border);
  border-radius: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 180px repeat(3, minmax(0,1fr));
  gap: 10px;
}

.apple-promotion-form textarea {
  grid-column: 1 / -1;
  resize: vertical;
}

.apple-promotion-form .apple-primary-button {
  justify-self: start;
}

.apple-form-status {
  align-self: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.apple-footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px 4px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.apple-footer strong {
  color: var(--text-main);
}

@media (max-width: 1100px) {
  .simple-details-grid.has-profile,
  .apple-editorial-grid {
    grid-template-columns: 1fr;
  }

  .simple-profile-panel {
    position: static;
  }

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

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

@media (max-width: 720px) {
  .apple-shell {
    padding: 0 12px 30px;
  }

  .apple-hero {
    padding: 64px 12px 48px;
  }

  .apple-hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .apple-metrics {
    margin-bottom: 18px;
  }

  .apple-globe-stage,
  .simple-country-panel,
  .simple-profile-panel,
  .apple-ranking-section,
  .apple-promotion {
    padding: 16px;
    border-radius: 24px;
  }

  .apple-globe-stage .globe-shell-v2 {
    min-height: 450px;
    height: 58vh;
    border-radius: 20px;
  }

  .apple-filter-bar,
  .simple-latest-grid,
  .simple-more-grid,
  .apple-promotion {
    grid-template-columns: 1fr;
  }

  .simple-country-hero,
  .simple-country-hero .country-hero-image {
    min-height: 260px;
    height: 260px;
  }

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

  .simple-quick-facts div:nth-child(3) {
    border-left: 0;
  }

  .simple-people-grid {
    grid-template-columns: 1fr;
  }

  .apple-editorial-section {
    padding: 18px 0;
  }

  .apple-promotion .apple-primary-button {
    justify-self: start;
  }

  .apple-promotion-form {
    grid-template-columns: 1fr;
  }

  .apple-footer {
    flex-direction: column;
  }
}


/* v17.2 — discovery, festivals, related content, and mobile drawers */
.universal-search {
  position: relative;
  max-width: 720px;
  margin: 34px auto 0;
  z-index: 20;
}

.universal-search-field {
  height: 58px;
  border-radius: 20px;
  background: var(--surface-bg);
  border: 1px solid var(--surface-border);
  box-shadow: 0 18px 55px rgba(0,0,0,0.09);
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 0 17px;
}

.universal-search-field > span {
  color: var(--text-muted);
  font-size: 1.4rem;
}

.universal-search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-main);
  font: inherit;
  font-size: 1rem;
}

.universal-search-field button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: rgba(128,128,128,0.12);
  color: var(--text-main);
}

.universal-search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: 66px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface-bg);
  border: 1px solid var(--surface-border);
  box-shadow: 0 24px 70px rgba(0,0,0,0.18);
  backdrop-filter: blur(22px);
}

.universal-search-results > button {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--surface-border);
  background: transparent;
  color: var(--text-main);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.universal-search-results > button:hover {
  background: rgba(0,113,227,0.07);
}

.universal-search-results > button span {
  display: grid;
  gap: 3px;
}

.universal-search-results small,
.universal-search-empty span {
  color: var(--text-muted);
}

.universal-search-results em {
  font-style: normal;
  color: var(--text-muted);
  font-size: 1.4rem;
}

.universal-search-empty {
  padding: 18px;
  display: grid;
  gap: 5px;
  text-align: left;
}

.apple-filter-bar-simple {
  grid-template-columns: minmax(180px, 230px);
  justify-content: end;
}

.upcoming-festivals-section {
  max-width: 1440px;
  margin: 0 auto 24px;
  padding: 34px 0 10px;
}

.festival-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 330px);
  gap: 14px;
  overflow-x: auto;
  padding: 0 2px 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.festival-card {
  scroll-snap-align: start;
  border-radius: 26px;
  overflow: hidden;
  background: var(--surface-bg);
  border: 1px solid var(--surface-border);
  box-shadow: 0 14px 45px rgba(0,0,0,0.06);
}

.festival-image-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.festival-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.festival-card-copy {
  padding: 16px;
  display: grid;
  gap: 6px;
}

.festival-card-copy > span {
  color: #0071e3;
  font-size: 0.75rem;
  font-weight: 650;
}

.festival-card-copy > strong {
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.festival-card-copy > small {
  color: var(--text-muted);
}

.festival-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.festival-actions button,
.festival-actions a {
  border: 0;
  background: transparent;
  color: #0071e3;
  padding: 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
}

.related-scenes-section,
.related-artists-section {
  margin-top: 28px;
}

.related-scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}

.related-scene-grid button {
  border: 1px solid var(--surface-border);
  border-radius: 17px;
  background: rgba(128,128,128,0.06);
  color: var(--text-main);
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 3px 10px;
  text-align: left;
}

.related-scene-grid button strong,
.related-scene-grid button span {
  grid-column: 1;
}

.related-scene-grid button span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.related-scene-grid button em {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-style: normal;
  color: var(--text-muted);
  font-size: 1.5rem;
}

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

.related-artist-grid button {
  border: 1px solid var(--surface-border);
  border-radius: 17px;
  background: rgba(128,128,128,0.06);
  color: var(--text-main);
  padding: 9px;
  display: grid;
  grid-template-columns: 46px minmax(0,1fr);
  gap: 10px;
  align-items: center;
  text-align: left;
}

.related-artist-grid img {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  object-fit: cover;
}

.related-artist-grid span {
  display: grid;
  min-width: 0;
}

.related-artist-grid strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-artist-grid small {
  color: var(--text-muted);
}

.smart-empty-state {
  padding: 18px 0;
  display: grid;
  gap: 5px;
}

.smart-empty-state span {
  color: var(--text-muted);
}

.mobile-profile-backdrop {
  display: none;
}

@media (max-width: 720px) {
  .universal-search {
    margin-top: 26px;
  }

  .universal-search-field {
    height: 54px;
    border-radius: 18px;
  }

  .universal-search-results {
    top: 61px;
  }

  .apple-filter-bar-simple {
    grid-template-columns: 1fr;
  }

  .upcoming-festivals-section {
    padding: 26px 0 4px;
  }

  .festival-scroll {
    grid-auto-columns: 84vw;
  }

  .related-scene-grid,
  .related-artist-grid {
    grid-template-columns: 1fr;
  }

  .simple-details-grid.has-profile {
    display: block;
  }

  .mobile-profile-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 80;
    border: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
  }

  .simple-profile-panel {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: 8px;
    z-index: 90;
    max-height: 88vh;
    overflow-y: auto;
    border-radius: 28px 28px 22px 22px;
    box-shadow: 0 -18px 70px rgba(0,0,0,0.28);
    animation: profile-sheet-in 220ms ease-out;
  }

  .simple-profile-panel::before {
    content: "";
    display: block;
    width: 42px;
    height: 5px;
    border-radius: 999px;
    background: rgba(128,128,128,0.35);
    margin: 0 auto 10px;
  }

  .simple-profile-image {
    height: 250px;
  }
}

@keyframes profile-sheet-in {
  from { transform: translateY(35px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}


/* v17.3 — simpler backend and login */
.admin-login-shell {
  min-height: calc(100vh - 58px);
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.admin-login-card {
  width: min(100%, 420px);
  padding: 34px;
  border-radius: 30px;
  background: var(--surface-bg);
  border: 1px solid var(--surface-border);
  box-shadow: 0 28px 90px rgba(0,0,0,0.12);
  display: grid;
  gap: 22px;
}

.admin-login-card h1 {
  margin: 5px 0 8px;
  font-size: 2.45rem;
  letter-spacing: -0.05em;
}

.admin-login-card p,
.admin-login-card small {
  margin: 0;
  color: var(--text-muted);
}

.admin-login-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #0071e3;
  color: #fff;
  font-weight: 750;
}

.admin-login-kicker {
  color: #0071e3;
  font-size: 0.78rem;
  font-weight: 650;
}

.admin-password-field,
.admin-account-form label {
  display: grid;
  gap: 8px;
}

.admin-password-field span,
.admin-account-form label span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.admin-password-field input,
.admin-account-form input {
  width: 100%;
  border-radius: 15px;
  border: 1px solid var(--surface-border);
  background: var(--input-bg);
  color: var(--text-main);
  padding: 13px 14px;
  outline: none;
}

.admin-password-field input:focus,
.admin-account-form input:focus {
  border-color: rgba(0,113,227,0.45);
  box-shadow: 0 0 0 4px rgba(0,113,227,0.1);
}

.admin-login-button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: #0071e3;
  color: #fff;
  font-weight: 650;
}

.admin-login-button:disabled {
  opacity: 0.55;
}

.admin-login-error {
  padding: 11px 13px;
  border-radius: 13px;
  background: rgba(239,68,68,0.1);
  color: #ef4444;
  font-size: 0.86rem;
}

.simple-admin-shell {
  max-width: 1500px;
  margin: 0 auto;
  padding: 26px 0 60px;
}

.simple-admin-header {
  padding: 0 6px 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
}

.simple-admin-header h1 {
  margin: 4px 0 0;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.simple-admin-user {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.simple-admin-user a,
.simple-admin-user button {
  border: 0;
  background: transparent;
  color: #0071e3;
  padding: 0;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
}

.simple-admin-tabs {
  position: sticky;
  top: 8px;
  z-index: 40;
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding: 6px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: var(--surface-bg);
  border: 1px solid var(--surface-border);
  box-shadow: 0 12px 38px rgba(0,0,0,0.07);
  backdrop-filter: blur(20px);
}

.simple-admin-tabs button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--text-muted);
  padding: 10px 14px;
  font-weight: 600;
}

.simple-admin-tabs button.active {
  background: #0071e3;
  color: #fff;
}

.simple-admin-content {
  display: grid;
  gap: 18px;
}

.admin-welcome-card,
.admin-account-card {
  padding: 28px;
  border-radius: 28px;
  background: var(--surface-bg);
  border: 1px solid var(--surface-border);
  box-shadow: 0 16px 55px rgba(0,0,0,0.06);
}

.admin-welcome-card {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 24px;
  align-items: center;
}

.admin-welcome-card h2,
.admin-account-card h2 {
  margin: 5px 0 9px;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.admin-welcome-card p,
.admin-account-card p {
  margin: 0;
  color: var(--text-muted);
}

.admin-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(90px,1fr));
}

.admin-summary-strip div {
  display: grid;
  place-items: center;
  padding: 8px 20px;
}

.admin-summary-strip div + div {
  border-left: 1px solid var(--surface-border);
}

.admin-summary-strip strong {
  font-size: 1.45rem;
}

.admin-summary-strip span {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.admin-account-card {
  max-width: 720px;
}

.admin-account-user {
  margin: 24px 0;
  padding: 16px;
  border-radius: 16px;
  background: rgba(128,128,128,0.07);
  display: grid;
  gap: 4px;
}

.admin-account-user span {
  color: var(--text-muted);
  font-size: 0.76rem;
}

.admin-account-form {
  max-width: 440px;
  display: grid;
  gap: 15px;
}

.admin-account-status {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.admin-import-tools {
  margin: 0 0 18px;
  padding: 0;
  border-radius: 20px;
  border: 1px solid var(--surface-border);
  background: rgba(128,128,128,0.04);
}

.admin-import-tools > summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  color: #0071e3;
  font-weight: 650;
}

.admin-import-tools > summary::-webkit-details-marker {
  display: none;
}

.admin-import-tools-grid {
  display: grid;
  gap: 10px;
  padding: 0 12px 12px;
}

.simple-admin-content .admin-analytics-panel,
.simple-admin-content .admin-health-panel,
.simple-admin-content .admin-editorial-panel,
.simple-admin-content .admin-promotion-panel {
  margin-top: 0;
}

@media (max-width: 760px) {
  .simple-admin-shell {
    padding-top: 16px;
  }

  .simple-admin-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .simple-admin-user {
    flex-wrap: wrap;
  }

  .simple-admin-tabs {
    top: 4px;
  }

  .admin-welcome-card {
    grid-template-columns: 1fr;
  }

  .admin-summary-strip div {
    padding: 8px 12px;
  }

  .admin-login-card {
    padding: 26px;
    border-radius: 24px;
  }
}


/* v17.4 — quick add, publishing workflow, event details, shareable pages */
.festival-card-button {
  padding: 0;
  border: 1px solid var(--surface-border);
  color: var(--text-main);
  text-align: left;
}

.festival-card-button .festival-card-copy {
  display: grid;
}

.festival-card-button .festival-card-copy em {
  margin-top: 8px;
  color: #0071e3;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 650;
}

.simple-event-list-item {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
}

.event-detail-backdrop,
.admin-preview-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  border: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(5px);
}

.event-detail-sheet,
.admin-entry-preview {
  position: fixed;
  z-index: 110;
  background: var(--surface-bg);
  border: 1px solid var(--surface-border);
  box-shadow: 0 30px 100px rgba(0,0,0,0.28);
}

.event-detail-sheet {
  top: 50%;
  left: 50%;
  width: min(560px, calc(100vw - 28px));
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  transform: translate(-50%, -50%);
  padding: 18px;
  border-radius: 30px;
}

.event-detail-image {
  width: 100%;
  height: 300px;
  border-radius: 22px;
  object-fit: cover;
  background: rgba(128,128,128,0.1);
}

.event-detail-copy {
  padding: 20px 4px 14px;
}

.event-detail-copy > span,
.admin-entry-preview-copy > span {
  color: #0071e3;
  font-size: 0.78rem;
  font-weight: 650;
}

.event-detail-copy h2,
.admin-entry-preview-copy h2 {
  margin: 5px 0 8px;
  font-size: clamp(2rem, 5vw, 3.1rem);
  letter-spacing: -0.045em;
}

.event-detail-copy p,
.admin-entry-preview-copy p {
  margin: 0;
  color: var(--text-muted);
}

.event-detail-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 8px;
}

.event-detail-facts > div,
.event-detail-facts > button {
  border: 0;
  border-radius: 16px;
  background: rgba(128,128,128,0.08);
  color: var(--text-main);
  padding: 13px;
  display: grid;
  gap: 4px;
  text-align: left;
}

.event-detail-facts span {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.event-detail-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.event-share-button {
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  background: rgba(128,128,128,0.08);
  color: var(--text-main);
  padding: 10px 15px;
  font-weight: 600;
}

.admin-quick-add {
  padding: 30px;
  border-radius: 28px;
  background: var(--surface-bg);
  border: 1px solid var(--surface-border);
  box-shadow: 0 16px 55px rgba(0,0,0,0.06);
}

.admin-quick-add h2,
.simple-editor-header h2,
.simple-inventory-header h2 {
  margin: 5px 0 8px;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.admin-quick-add p,
.simple-editor-header p {
  margin: 0;
  color: var(--text-muted);
}

.admin-quick-add-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  margin-top: 24px;
}

.admin-quick-add-grid button {
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  background: rgba(128,128,128,0.055);
  color: var(--text-main);
  padding: 18px;
  display: grid;
  gap: 6px;
  text-align: left;
}

.admin-quick-add-grid button:hover {
  border-color: rgba(0,113,227,0.3);
  background: rgba(0,113,227,0.06);
}

.admin-quick-add-grid button > span {
  color: #0071e3;
  font-size: 1.4rem;
}

.admin-quick-add-grid small {
  color: var(--text-muted);
}

.simple-editor-shell,
.simple-inventory-shell {
  padding: 26px;
  border-radius: 28px;
  background: var(--surface-bg);
  border: 1px solid var(--surface-border);
  box-shadow: 0 16px 55px rgba(0,0,0,0.06);
}

.simple-editor-header,
.simple-inventory-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
  margin-bottom: 22px;
}

.simple-editor-form {
  display: grid;
  gap: 14px;
}

.simple-editor-form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--surface-border);
  background: var(--input-bg);
  color: var(--text-main);
  padding: 12px 14px;
  font: inherit;
  resize: vertical;
}

.simple-editor-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: center;
}

.publication-badge {
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.72rem;
  font-weight: 650;
  text-transform: capitalize;
}

.publication-draft {
  color: #b45309;
  background: rgba(245,158,11,0.12);
}

.publication-published {
  color: #15803d;
  background: rgba(34,197,94,0.12);
}

.simple-editor-advanced {
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 0;
}

.simple-editor-advanced summary {
  padding: 13px 15px;
  color: #0071e3;
  cursor: pointer;
  font-weight: 600;
}

.simple-editor-advanced-grid {
  padding: 0 14px 14px;
  display: grid;
  gap: 12px;
}

.admin-entry-preview {
  top: 50%;
  left: 50%;
  width: min(520px, calc(100vw - 28px));
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  transform: translate(-50%, -50%);
  padding: 18px;
  border-radius: 28px;
}

.admin-preview-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.admin-preview-top button {
  border: 0;
  background: transparent;
  color: var(--text-main);
  font-size: 1.3rem;
}

.admin-entry-preview-image {
  width: 100%;
  height: 280px;
  border-radius: 20px;
  object-fit: cover;
  background: rgba(128,128,128,0.1);
}

.admin-entry-preview-copy {
  padding: 18px 2px;
}

.simple-inventory-header {
  align-items: center;
}

.simple-inventory-header .inventory-tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.simple-inventory-header .inventory-tabs button {
  border: 0;
  border-radius: 999px;
  background: rgba(128,128,128,0.08);
  color: var(--text-muted);
  padding: 8px 11px;
}

.simple-inventory-header .inventory-tabs button.active {
  background: #0071e3;
  color: white;
}

.simple-country-manager {
  border-bottom: 1px solid var(--surface-border);
  padding-bottom: 16px;
  margin-bottom: 10px;
}

.simple-country-manager summary {
  cursor: pointer;
  color: #0071e3;
  font-weight: 600;
}

.simple-country-manager-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 12px;
}

.simple-country-manager-row select {
  min-width: 220px;
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  background: var(--input-bg);
  color: var(--text-main);
  padding: 9px 11px;
}

.simple-country-manager-row button,
.simple-inventory-list article > button {
  border: 0;
  background: transparent;
  color: #0071e3;
}

.simple-inventory-list {
  display: grid;
}

.simple-inventory-list article {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 13px 2px;
  border-bottom: 1px solid var(--surface-border);
}

.publication-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.publication-dot.draft {
  background: #f59e0b;
}

.publication-dot.published {
  background: #22c55e;
}

.simple-inventory-name {
  display: grid;
  gap: 3px;
}

.simple-inventory-name small {
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .admin-quick-add-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 720px) {
  .event-detail-sheet,
  .admin-entry-preview {
    top: auto;
    left: 8px;
    right: 8px;
    bottom: 8px;
    width: auto;
    max-height: 90vh;
    transform: none;
    border-radius: 28px 28px 22px 22px;
  }

  .event-detail-image,
  .admin-entry-preview-image {
    height: 230px;
  }

  .event-detail-facts {
    grid-template-columns: 1fr;
  }

  .admin-quick-add-grid {
    grid-template-columns: 1fr;
  }

  .simple-editor-header,
  .simple-inventory-header {
    flex-direction: column;
  }

  .simple-inventory-list article {
    grid-template-columns: auto minmax(0,1fr) auto;
  }

  .simple-inventory-list article > button:last-child {
    grid-column: 3;
  }
}


/* v17.6 — backend quality */
.admin-inventory-filters {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(170px, .8fr) minmax(160px, .7fr);
  gap: 9px;
  margin-bottom: 14px;
}
.admin-inventory-filters input,
.admin-inventory-filters select {
  width: 100%;
  border: 1px solid var(--surface-border);
  border-radius: 13px;
  background: var(--input-bg);
  color: var(--text-main);
  padding: 10px 12px;
}
.admin-inline-status {
  margin: 10px 0;
  padding: 10px 12px;
  border-radius: 13px;
  background: rgba(0,113,227,.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-muted);
}
.admin-inline-status button { border: 0; background: transparent; color: #0071e3; font-weight: 700; }
.publication-dot.archived { background: #8e8e93; }
.archive-date { color: var(--text-muted); font-size: .78rem; }
.admin-empty-list { padding: 24px 2px; color: var(--text-muted); }
.admin-readiness-card {
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 14px;
  background: rgba(128,128,128,.045);
  display: grid;
  gap: 11px;
}
.admin-readiness-top { display: grid; grid-template-columns: minmax(0,1fr) minmax(140px,.55fr); gap: 14px; align-items: center; }
.admin-readiness-top > span { display: grid; gap: 3px; }
.admin-readiness-top small { color: var(--text-muted); }
.admin-readiness-track { height: 8px; border-radius: 999px; overflow: hidden; background: rgba(128,128,128,.14); }
.admin-readiness-track > div { height: 100%; border-radius: inherit; background: #0071e3; }
.duplicate-warning { padding: 10px 12px; border-radius: 12px; background: rgba(245,158,11,.1); display: grid; gap: 3px; }
.duplicate-warning strong { color: #b45309; }
.duplicate-warning span { color: var(--text-muted); font-size: .82rem; }
.admin-quality-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.admin-quality-card { padding: 24px; border-radius: 28px; background: var(--surface-bg); border: 1px solid var(--surface-border); box-shadow: 0 16px 55px rgba(0,0,0,.06); }
.admin-quality-heading { display: flex; justify-content: space-between; align-items: start; gap: 14px; margin-bottom: 14px; }
.admin-quality-heading h2 { margin: 5px 0 0; font-size: 1.65rem; letter-spacing: -.035em; }
.admin-quality-heading > strong { font-size: 2rem; }
.quality-list { display: grid; margin: 10px 0 16px; }
.quality-list > div { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--surface-border); }
.quality-list > div span { display: grid; gap: 2px; }
.quality-list small { color: var(--text-muted); }
@media (max-width: 760px) {
  .admin-inventory-filters, .admin-quality-grid, .admin-readiness-top { grid-template-columns: 1fr; }
}


/* v17.7 — review queue, history, link health, line-ups, scheduled featuring */
.event-lineup-section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--surface-border);
}

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

.event-lineup-grid button {
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  background: rgba(128,128,128,0.06);
  color: var(--text-main);
  padding: 8px;
  display: grid;
  grid-template-columns: 44px minmax(0,1fr);
  gap: 9px;
  align-items: center;
  text-align: left;
}

.event-lineup-grid img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 12px;
}

.event-lineup-grid button > span {
  display: grid;
  min-width: 0;
}

.event-lineup-grid small {
  color: var(--text-muted);
}

.event-artist-picker {
  display: grid;
  gap: 9px;
}

.toolbar-field-label {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.event-artist-picker-grid {
  max-height: 220px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  background: rgba(128,128,128,0.035);
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 6px;
}

.event-artist-picker-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 10px;
}

.event-artist-picker-grid label:hover {
  background: rgba(0,113,227,0.06);
}

.admin-review-shell {
  padding: 28px;
  border-radius: 28px;
  background: var(--surface-bg);
  border: 1px solid var(--surface-border);
  box-shadow: 0 16px 55px rgba(0,0,0,0.06);
}

.admin-review-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
}

.admin-review-header h2 {
  margin: 5px 0 8px;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.admin-review-header p {
  margin: 0;
  color: var(--text-muted);
}

.admin-review-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-review-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,150px));
  gap: 8px;
  margin: 20px 0 10px;
}

.admin-review-summary div {
  padding: 14px;
  border-radius: 16px;
  background: rgba(128,128,128,0.06);
  display: grid;
  gap: 3px;
}

.admin-review-summary strong {
  font-size: 1.4rem;
}

.admin-review-summary span {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.admin-review-list {
  display: grid;
  gap: 9px;
}

.admin-review-list article {
  padding: 16px;
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 18px;
  align-items: center;
}

.admin-review-list h3 {
  margin: 4px 0;
}

.admin-review-list p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.review-source {
  color: #0071e3;
  font-size: 0.72rem;
  font-weight: 650;
}

.review-card-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.review-card-actions button,
.history-quality-list button {
  border: 0;
  background: transparent;
  color: #0071e3;
  font-weight: 600;
}

.admin-reviewed-imports {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--surface-border);
}

.admin-reviewed-imports summary {
  color: #0071e3;
  cursor: pointer;
  font-weight: 600;
}

.admin-operations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}

.admin-operations-grid .admin-quality-card {
  min-width: 0;
}

.admin-seo-card {
  grid-column: 1 / -1;
}

.admin-page-link {
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
}

.quality-ok-message {
  color: #15803d;
  padding: 10px 0;
}

.history-quality-list button {
  flex: 0 0 auto;
}

.admin-operations-status {
  grid-column: 1 / -1;
}

@media (max-width: 820px) {
  .admin-review-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-review-list article {
    grid-template-columns: 1fr;
  }

  .review-card-actions {
    justify-content: flex-start;
  }

  .admin-operations-grid {
    grid-template-columns: 1fr;
  }

  .admin-seo-card,
  .admin-operations-status {
    grid-column: auto;
  }

  .event-artist-picker-grid,
  .event-lineup-grid {
    grid-template-columns: 1fr;
  }
}


/* v17.7.1 — first-run admin setup and clearer password recovery */
.admin-login-help {
  border-top: 1px solid var(--surface-border);
  padding-top: 14px;
}

.admin-login-help summary {
  cursor: pointer;
  color: #0071e3;
  font-size: 0.86rem;
  font-weight: 650;
}

.admin-login-help > div {
  margin-top: 12px;
  padding: 13px;
  border-radius: 14px;
  background: rgba(128,128,128,0.06);
  display: grid;
  gap: 8px;
}

.admin-login-help p {
  margin: 0;
  font-size: 0.82rem;
}

.admin-login-help code {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  padding: 7px 9px;
  border-radius: 9px;
  background: rgba(128,128,128,0.1);
  color: var(--text-main);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.76rem;
}

.admin-reset-hint {
  color: #b45309 !important;
  line-height: 1.45;
}


/* v17.8 — additional event source scanners */
.admin-review-actions {
  max-width: 760px;
}

@media (max-width: 1100px) {
  .admin-review-header {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* v17.8.1 — streamlined event import workflow */
.admin-review-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 20px 0 10px;
}

.admin-review-toolbar .admin-review-summary {
  margin: 0;
}

.admin-publish-ready {
  width: auto;
  padding-inline: 20px;
}

.admin-review-event-card {
  grid-template-columns: 92px minmax(0, 1fr) auto !important;
}

.review-event-image {
  width: 92px;
  height: 92px;
  overflow: hidden;
  border-radius: 15px;
  background: rgba(128,128,128,0.08);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.review-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-event-copy {
  min-width: 0;
}

.review-needs-attention {
  display: inline-block;
  margin-top: 6px;
  color: #b45309;
}

.review-publish-button {
  padding: 9px 13px !important;
  border-radius: 999px !important;
  background: #0071e3 !important;
  color: white !important;
}

.review-publish-button:disabled {
  opacity: 0.4;
}

.editor-static-type {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--surface-border);
  background: rgba(128,128,128,0.05);
  font-weight: 650;
}

.editor-image-field {
  display: grid;
  gap: 9px;
}

.editor-current-image {
  display: grid;
  grid-template-columns: 86px minmax(0,1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  background: rgba(128,128,128,0.035);
}

.editor-current-image img {
  width: 86px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
}

.editor-current-image span {
  color: #15803d;
  font-size: 0.82rem;
  font-weight: 600;
}

@media (max-width: 820px) {
  .admin-review-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-review-event-card {
    grid-template-columns: 74px minmax(0,1fr) !important;
  }

  .review-event-image {
    width: 74px;
    height: 74px;
  }

  .admin-review-event-card .review-card-actions {
    grid-column: 1 / -1;
  }
}


/* v17.8.2 — Spotify profile loading */
.spotify-profile-loader {
  display: grid;
  gap: 7px;
}

.spotify-profile-loader > small {
  color: var(--text-muted);
  font-size: 0.76rem;
}

.spotify-input-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.spotify-input-action .admin-login-button {
  width: auto;
  white-space: nowrap;
}

.spotify-loaded-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  background: rgba(128,128,128,0.045);
}

.spotify-loaded-card > img {
  width: 108px;
  height: 108px;
  object-fit: cover;
  border-radius: 17px;
}

.spotify-loaded-card > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.spotify-loaded-card strong {
  font-size: 1.2rem;
}

.spotify-loaded-card small {
  color: var(--text-muted);
}

.spotify-mini-tracks {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}

.spotify-mini-tracks span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(29,185,84,0.09);
  font-size: 0.7rem;
}

@media (max-width: 720px) {
  .spotify-input-action {
    grid-template-columns: 1fr;
  }

  .spotify-loaded-card {
    grid-template-columns: 76px minmax(0,1fr);
  }

  .spotify-loaded-card > img {
    width: 76px;
    height: 76px;
  }
}


/* v17.8.3 — Eventbrite UK London Soca */
.admin-review-actions {
  max-width: 980px;
}

.admin-review-actions .page-button {
  white-space: nowrap;
}


/* v17.8.4 — public promotion anti-spam protection */
.promotion-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.promotion-security-check {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  background: rgba(128,128,128,0.045);
}

.promotion-security-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.promotion-security-heading > div {
  display: grid;
  gap: 3px;
}

.promotion-security-heading span,
.promotion-security-check small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.promotion-security-heading strong {
  font-size: 0.96rem;
}

.promotion-security-heading button {
  border: 0;
  background: transparent;
  color: #0071e3;
  font-weight: 650;
  padding: 8px;
}

.promotion-security-check input {
  width: 100%;
  border-radius: 13px;
  border: 1px solid var(--surface-border);
  background: var(--input-bg);
  color: var(--text-main);
  padding: 11px 13px;
}


/* v18.2 — true iPhone globe centering */
.globe-canvas-host,
.globe-canvas-host > div {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
}

.globe-canvas-host canvas {
  display: block;
  max-width: 100%;
}

/* Preserve horizontal centering when the hover/touch state is active. */
.globe-overlay-note-pro.globe-overlay-note-active {
  transform: translateX(-50%) translateY(-2px);
}

@media (max-width: 720px) {
  .apple-globe-stage .globe-shell-v2,
  .globe-shell-pro {
    height: clamp(410px, 112vw, 500px);
    min-height: 0;
  }

  .globe-overlay-note-pro {
    width: auto;
    max-width: calc(100% - 24px);
    min-width: 0;
    bottom: 12px;
    padding: 8px 11px;
    border-radius: 14px;
  }

  .globe-overlay-note-pro em {
    display: none;
  }
}

@media (max-width: 430px) {
  .apple-globe-stage {
    padding: 14px;
  }

  .apple-globe-stage .globe-shell-v2,
  .globe-shell-pro {
    height: clamp(400px, 110vw, 455px);
    border-radius: 20px;
  }
}


/* v18.3 — full country artists & producers page */
.people-heading-link {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}

.people-heading-link > div {
  min-width: 0;
}

.people-heading-link span {
  display: block;
  color: #0071e3;
  font-size: 0.82rem;
  font-weight: 650;
  margin-bottom: 5px;
}

.people-heading-link h3 {
  margin: 0;
}

.people-heading-link em {
  flex: 0 0 auto;
  color: #0071e3;
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 650;
  padding-bottom: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .people-heading-link:hover h3,
  .people-heading-link:hover em {
    color: #0071e3;
  }
}

.country-people-page {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 50px 0 80px;
}

.country-people-hero {
  display: grid;
  gap: 28px;
  padding: 34px;
  border-radius: 32px;
  background: var(--surface-bg);
  border: 1px solid var(--surface-border);
  box-shadow: 0 18px 60px rgba(0,0,0,0.06);
}

.country-people-back {
  justify-self: start;
  border: 0;
  background: transparent;
  color: #0071e3;
  padding: 3px 0;
  font-weight: 650;
}

.country-people-title-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.country-people-flag {
  width: 92px;
  height: 68px;
  object-fit: cover;
  border-radius: 17px;
  box-shadow: 0 5px 18px rgba(0,0,0,0.12);
}

.country-people-title-row > div {
  min-width: 0;
}

.country-people-title-row span {
  color: #0071e3;
  font-size: 0.86rem;
  font-weight: 650;
}

.country-people-title-row h1 {
  margin: 5px 0 7px;
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: .98;
  letter-spacing: -0.055em;
}

.country-people-title-row p {
  margin: 0;
  color: var(--text-muted);
}

.country-people-search {
  display: grid;
  gap: 8px;
}

.country-people-search > span {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.country-people-search input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--surface-border);
  border-radius: 17px;
  padding: 0 17px;
  background: var(--input-bg);
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
}

.country-people-search input:focus {
  border-color: rgba(0,113,227,.55);
  box-shadow: 0 0 0 4px rgba(0,113,227,.09);
}

.country-people-result-count {
  padding: 20px 5px 0;
  color: var(--text-muted);
}

.country-people-result-count strong {
  color: var(--text-main);
}

.country-people-section {
  padding: 54px 0 0;
}

.country-people-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 19px;
}

.country-people-section-heading span {
  display: block;
  color: #0071e3;
  font-size: 0.84rem;
  font-weight: 650;
  margin-bottom: 4px;
}

.country-people-section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.045em;
}

.country-people-section-heading > strong {
  min-width: 42px;
  height: 42px;
  padding: 0 11px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(128,128,128,.1);
  font-size: .9rem;
}

.country-people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.country-people-card {
  min-width: 0;
  border: 1px solid var(--surface-border);
  border-radius: 22px;
  background: var(--surface-bg);
  color: var(--text-main);
  padding: 11px;
  display: grid;
  grid-template-columns: 76px minmax(0,1fr) auto;
  gap: 13px;
  align-items: center;
  text-align: left;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.country-people-image {
  width: 76px;
  height: 76px;
  border-radius: 17px;
  object-fit: cover;
  background: rgba(128,128,128,.08);
}

.country-people-card-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.country-people-card-copy small {
  color: #0071e3;
  font-size: .7rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.country-people-card-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1rem;
}

.country-people-card-copy > span {
  color: var(--text-muted);
  font-size: .76rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-people-card > em {
  color: var(--text-muted);
  font-style: normal;
  font-size: 1.35rem;
  padding-right: 3px;
}

.country-people-empty {
  padding: 28px;
  border-radius: 20px;
  border: 1px dashed var(--surface-border);
  color: var(--text-muted);
  text-align: center;
}

@media (hover: hover) and (pointer: fine) {
  .country-people-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0,113,227,.28);
    box-shadow: 0 12px 32px rgba(0,0,0,.06);
  }
}

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

@media (max-width: 620px) {
  .country-people-page {
    padding: 22px 0 55px;
  }

  .country-people-hero {
    padding: 22px 18px;
    border-radius: 25px;
    gap: 22px;
  }

  .country-people-title-row {
    grid-template-columns: 68px minmax(0,1fr);
    gap: 14px;
  }

  .country-people-flag {
    width: 68px;
    height: 51px;
    border-radius: 13px;
  }

  .country-people-title-row h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .country-people-section {
    padding-top: 38px;
  }

  .country-people-grid {
    grid-template-columns: 1fr;
  }

  .country-people-card {
    grid-template-columns: 68px minmax(0,1fr) auto;
    min-height: 92px;
  }

  .country-people-image {
    width: 68px;
    height: 68px;
    border-radius: 15px;
  }
}
