:root {
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --paper: #ffffff;
  --panel: #ffffff;
  --accent: #2563eb;
  --accent-soft: #eff6ff;
  --red: #dc2626;
  --blue: #2563eb;
  --soft: #f8fafc;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
  font-family:
    "Noto Sans", "Noto Sans Thai", "Noto Sans Arabic", "Noto Sans JP", "Noto Sans KR", "Noto Sans SC", "Noto Sans Devanagari",
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f8fafc 0, #ffffff 320px),
    var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 720;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: #111827;
  font-size: 13px;
}

.nav {
  gap: 8px;
  color: var(--muted);
}

.nav a {
  padding: 8px 12px;
  border-radius: 8px;
}

.nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--soft);
}

.nav-lang-dropdown {
  position: relative;
  margin-left: auto;
}

.nav-lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.nav-lang-btn::after {
  content: "▾";
  font-size: 11px;
  color: var(--muted);
}

.nav-lang-menu {
  display: none;
  position: fixed;
  right: 16px;
  top: 72px;
  width: min(280px, calc(100vw - 32px));
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
  z-index: 20;
}

.nav-lang-dropdown.open .nav-lang-menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.nav-lang-menu a {
  display: block;
  padding: 8px 12px !important;
  border-radius: 6px !important;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.nav-lang-menu a:hover {
  background: var(--soft);
}

.nav-lang-active {
  color: var(--accent) !important;
  background: var(--accent-soft) !important;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.home-hero,
.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: end;
  min-height: 340px;
  padding: 52px 0 30px;
}

.detail-hero.compact {
  min-height: 270px;
  padding-bottom: 24px;
}

.hero-copy h1,
.detail-hero h1 {
  margin: 8px 0 16px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 0.96;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.anthem-name {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  color: var(--muted);
}

.hero-lede {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}

.hero-stats strong {
  color: var(--ink);
  font-size: 20px;
}

.home-hero--full,
.detail-hero--full {
  display: block;
  min-height: auto;
  padding: 52px 0 30px;
}

.now-playing,
.audio-panel,
.map-panel,
.download-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.now-playing {
  padding: 22px;
  box-shadow: var(--shadow);
}

.player-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.player-top h2,
.audio-panel h2,
.download-card h2,
.lyrics-block h2,
.related-band h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0;
}

.detail-badge span {
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  background:
    linear-gradient(180deg, #b91f32 0 22%, #f7f7f7 22% 34%, #253a7d 34% 66%, #f7f7f7 66% 78%, #b91f32 78%),
    #253a7d;
  font-weight: 800;
  letter-spacing: 0;
}

.flag,
.flag-card {
  border-radius: 8px;
  object-fit: cover;
}

.flag {
  width: 70px;
  height: 52px;
}

.flag-card {
  width: 58px;
  height: 42px;
}

audio {
  width: 100%;
}

.segmented,
.tabs,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.segmented {
  margin-top: 16px;
}

.segmented button,
.tabs button,
.chip {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: white;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background-color 160ms ease;
}

.segmented .active,
.tabs .active,
.chip.active {
  color: var(--accent);
  border-color: #bfdbfe;
  background: var(--accent-soft);
}

.controls-band,
.related-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.seo-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.seo-tabs a {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: white;
  font-weight: 700;
}

.seo-tabs a.active {
  color: var(--accent);
  border-color: #bfdbfe;
  background: var(--accent-soft);
}

.search-box {
  width: min(420px, 100%);
}

.search-box input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
  outline: 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: border-color 160ms ease;
}

.search-box input:focus {
  border-color: var(--accent);
}

.continent-section {
  padding: 28px 0 12px;
}

.continent-section + .continent-section {
  border-top: 1px solid var(--line);
}

.continent-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.continent-header h2 {
  margin: 0;
  font-size: 22px;
}

.continent-count {
  padding: 3px 9px;
  border-radius: 20px;
  background: var(--soft);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.country-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  text-align: center;
  font-size: 13px;
  line-height: 1.3;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.country-tile:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.country-tile img {
  width: 48px;
  height: 36px;
  border-radius: 4px;
  object-fit: cover;
}

.country-tile span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.country-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.country-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.country-card.selected {
  border-color: #bfdbfe;
  box-shadow: inset 4px 0 0 var(--accent);
}

.country-card strong,
.country-card small {
  display: block;
}

.country-card small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.35;
}

.status {
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 750;
}

.status.ok {
  color: #047857;
  background: #ecfdf5;
}

.status.warn {
  color: #7d5b12;
  background: #fffbeb;
}

.back-link {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--muted);
}

.detail-badge {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.detail-badge span {
  width: 180px;
  height: 126px;
  font-size: 28px;
}

.detail-flag {
  width: 180px;
  height: 126px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.detail-badge strong {
  color: var(--muted);
}

.detail-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 20px 0 42px;
}

.audio-panel {
  position: sticky;
  top: 92px;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.meta-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.meta-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.meta-list dt {
  color: var(--muted);
}

.meta-list dd {
  margin: 0;
  font-weight: 740;
}

.download-card {
  margin-top: 18px;
  padding: 18px;
  background: #fbfdff;
}

.download-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.download-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 68px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.download-item:hover {
  border-color: #bfdbfe;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.08);
  transform: translateY(-1px);
}

.download-item strong,
.download-item small {
  display: block;
}

.download-item small,
.file-meta {
  color: var(--muted);
  font-size: 13px;
}

.download-item small {
  margin-top: 4px;
  line-height: 1.35;
}

.file-meta {
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--soft);
  white-space: nowrap;
}

.lyrics-area {
  min-width: 0;
}

.intent-panel,
.focus-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.intent-panel {
  margin-bottom: 16px;
}

.intent-panel h2,
.focus-card h2 {
  margin: 0;
  font-size: 24px;
}

.intent-panel p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.single-layout,
.stack-layout,
.lyrics-page-grid,
.download-page-grid {
  display: grid;
  gap: 16px;
  padding: 24px 0 56px;
}

.single-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: start;
}

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

.lyrics-page-grid .lyrics-block:first-child {
  grid-row: span 2;
}

.download-page-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.history-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 16px;
  align-items: start;
  padding: 24px 0 56px;
}

.history-main,
.history-summary,
.timeline-card,
.related-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.history-main h2,
.timeline-card h2,
.related-card h2 {
  margin: 0;
  font-size: 24px;
}

.history-main p {
  color: var(--muted);
  line-height: 1.65;
}

.history-main p:last-child {
  margin-bottom: 0;
}

.timeline-card,
.related-card {
  grid-column: 1 / -1;
}

.timeline {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  padding: 0 0 0 24px;
  list-style: none;
  border-left: 2px solid var(--line);
}

.timeline li {
  position: relative;
  padding: 0 0 28px 20px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid white;
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline span {
  display: block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 760;
  margin-bottom: 4px;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.focus-desc {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.focus-card audio {
  margin-top: 18px;
}

.karaoke-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin-top: 18px;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.karaoke-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.anthem-video {
  width: 100%;
  max-height: 480px;
  margin-top: 18px;
  border-radius: 8px;
  background: #000;
}

.primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: white;
  background: var(--accent);
  font-weight: 760;
}

.button-link.secondary {
  color: var(--accent);
  border-color: #bfdbfe;
  background: var(--accent-soft);
}

.tabs {
  margin-bottom: 14px;
}

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

.lyrics-block {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.lyrics-block.muted {
  background: #f8fafc;
}

.lyrics-block > p {
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.78;
}

/* ── History ──────────────────────────────────── */

.history-facts {
  display: grid;
  gap: 0;
  margin: 16px 0 0;
}

.history-facts div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.history-facts dt {
  color: var(--muted);
  font-size: 14px;
  flex-shrink: 0;
}

.history-facts dd {
  margin: 0;
  font-size: 14px;
  text-align: right;
}

.fun-fact-card {
  background: var(--accent-soft);
  border-color: #bfdbfe;
}

.fun-fact-text {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
}

/* ── Mini player ──────────────────────────────── */

.section-desc {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.mini-player {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.mini-player-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.mini-player-flag {
  width: 36px;
  height: 27px;
  border-radius: 4px;
  object-fit: cover;
}

.mini-player-info strong,
.mini-player-info small {
  display: block;
}

.mini-player-info small {
  color: var(--muted);
  font-size: 13px;
}

.mini-player-audio {
  min-width: 280px;
}

/* ── Lyrics interleaved ──────────────────────── */

.lyrics-meta {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.lyrics-meta-list {
  display: flex;
  gap: 28px;
  margin: 0;
}

.lyrics-meta-list div {
  display: flex;
  gap: 8px;
}

.lyrics-meta-list dt {
  color: var(--muted);
  font-size: 14px;
}

.lyrics-meta-list dd {
  margin: 0;
  font-weight: 700;
  font-size: 14px;
}

.lyrics-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  cursor: pointer;
  color: var(--muted);
  font-size: 14px;
  user-select: none;
}

.lyrics-toggle input {
  accent-color: var(--accent);
}

.lyrics-interleaved {
  display: grid;
  gap: 14px;
}

.lyrics-line-pair {
  display: grid;
  gap: 2px;
}

.lyrics-original {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.lyrics-trans {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.lyrics-interleaved.hide-trans .lyrics-trans {
  display: none;
}

.lyrics-interleaved.hide-trans {
  gap: 8px;
}

/* ── Hub player ────────────────────────────────── */

.hub-player {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.hub-player-inner {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.hub-player-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hub-player-flag {
  width: 48px;
  height: 36px;
  border-radius: 4px;
  object-fit: cover;
}

.hub-player-info strong,
.hub-player-info small {
  display: block;
}

.hub-player-info small {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

/* ── Hub cards grid ───────────────────────────── */

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

.hub-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.hub-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.hub-card h2 {
  margin: 0;
  font-size: 18px;
}

.hub-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.hub-card-action {
  margin-top: auto;
  padding-top: 8px;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}

.hub-lyrics-preview {
  font-size: 15px;
  line-height: 1.7;
}

.hub-lang-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.hub-lang-tag {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.hub-card-meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.hub-card-funfact {
  margin: 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  line-height: 1.5;
}

.hub-card-thumb {
  width: 100%;
  border-radius: 6px;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.hub-file-list {
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ── Hub related ──────────────────────────────── */

.hub-related {
  padding: 24px 0 48px;
  border-top: 1px solid var(--line);
}

.related-band {
  margin-bottom: 48px;
}

.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-list a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--blue);
  font-weight: 700;
}

/* ── Footer ───────────────────────────────────── */

.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 720;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--ink);
}

@media (max-width: 880px) {
  .topbar,
  .controls-band,
  .related-band {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar {
    padding: 14px 16px;
  }

  .nav {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .home-hero,
  .detail-hero,
  .detail-layout,
  .lyrics-columns,
  .single-layout,
  .lyrics-page-grid,
  .download-page-grid,
  .history-layout {
    grid-template-columns: 1fr;
  }

  .home-hero,
  .detail-hero {
    min-height: 0;
    padding-top: 34px;
  }

  .audio-panel {
    position: static;
  }

  .country-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
  }

  .country-tile {
    padding: 10px 6px;
  }

  .mini-player-inner {
    grid-template-columns: 1fr;
  }

  .mini-player-audio {
    min-width: 0;
  }

  .lyrics-meta-list {
    flex-wrap: wrap;
    gap: 12px 24px;
  }

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

  .detail-badge {
    justify-items: start;
  }

  .detail-flag {
    width: 120px;
    height: 84px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: start;
    gap: 16px;
  }
}
