/*! supertwentyplus licence: (c) 2026 Supertwentyplus Pte. Ltd. All rights reserved. Proprietary, not open source.
   Use only as provided on supertwentyplus.com (free or by subscription, under its Terms). Copying, reuse or hosting elsewhere,
   in whole or in part, needs a written licence: supertwentyplus@gmail.com. See LICENSE.txt at the site root. */
/* National Flags and Anthems */
.na-app { gap: 18px; }
.na-tabs button { padding: 0 16px; }
.na-pane { display: flex; flex-direction: column; gap: 20px; }
.na-pane[hidden] { display: none; }

.na-feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; scroll-margin-top: 16px; }
@media (min-width: 820px) { .na-feature { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.na-stage { display: flex; flex-direction: column; gap: 8px; padding: 14px; background: linear-gradient(180deg, #DCE8F7 0%, #F4F7FB 70%); border-radius: var(--card-radius); }
.na-flag { width: 100%; aspect-ratio: 100 / 78; display: block; }
.na-roll { width: 100%; height: 64px; display: block; background: rgba(255, 255, 255, .7); border-radius: 8px; }
.na-roll[hidden] { display: none; }
.na-info { display: flex; flex-direction: column; gap: 10px; }
.na-region { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); }
.na-name { font-size: clamp(26px, 4vw, 36px); line-height: 1.1; }
.na-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; }
.na-facts dt { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.na-facts dd { margin: 0; font-weight: 600; }
.na-anthem { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.na-a-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); }
.na-a-title { font-size: 22px; }
.na-a-orig { color: var(--ink-2); font-style: italic; }
.na-a-note { color: var(--ink-2); }
.na-a-meta { font-size: 14px; font-weight: 600; }
.na-a-src { font-size: 13px; color: var(--ink-3); }
.na-a-src a { color: inherit; }
.na-player { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 4px; }
.na-play .icon { font-size: 18px; fill: currentColor; stroke: none; }
.na-player-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 18px; }
.na-player-opts select { min-height: 44px; }
.na-check { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; cursor: pointer; }
.na-check input { width: 20px; height: 20px; accent-color: var(--action-bg); }

.na-lyrics { padding: 16px 18px; background: var(--bg); border-radius: var(--card-radius); display: flex; flex-direction: column; gap: 8px; }
.na-lyrics[hidden] { display: none; }
.na-lyrics h3 { font-size: 18px; }
.na-ly-note { font-size: 13px; color: var(--ink-3); }
.na-ly-lines p { font: 500 17px/1.6 var(--font-body); color: var(--ink-2); }
.na-ly-lines p.is-open { color: var(--ink); font-weight: 700; }
.na-ly-lines p.is-singing { color: #B5650B; }

.na-days h3 { font-size: 18px; margin-bottom: 10px; }
.na-day-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.na-day { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--btn-radius); text-align: left; color: var(--ink); cursor: pointer; }
.na-day:hover { border-color: var(--ink); }
.na-day img { width: 40px; height: 30px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); flex: none; }
.na-day span { display: flex; flex-direction: column; min-width: 0; }
.na-day strong { font-size: 15px; }
.na-day small { font-size: 12.5px; color: var(--ink-3); }

.na-browse { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.na-filters { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.na-search { flex: 1 1 240px; min-height: 48px; padding: 0 14px; background: var(--surface); color: var(--ink); border: var(--input-border); border-radius: var(--btn-radius); font-size: 16px; }
.na-regions { flex-wrap: wrap; border-radius: 22px; }
.na-regions button { padding: 0 12px; font-size: 14px; }
.na-count { font-size: 14px; color: var(--ink-3); }
.na-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 10px; }
.na-tile { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 8px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--btn-radius); color: var(--ink); cursor: pointer; text-align: center; }
.na-tile:hover { border-color: var(--ink); }
.na-tile[aria-pressed="true"] { border-color: var(--c-tools); box-shadow: 0 0 0 2px var(--c-tools); }
.na-tile img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); background: var(--bg); }
.na-tile-name { font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.na-tile-note { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 26px; height: 26px; background: #1F2D4A; color: #fff; border-radius: 50%; font-size: 14px; }
.na-none { color: var(--ink-3); }

/* Quizzes */
.na-quiz-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 20px; }
.na-quiz-top .field { min-width: 220px; }
.na-quiz-top select { min-height: 48px; padding: 0 12px; border: var(--input-border); border-radius: var(--btn-radius); background: var(--surface); color: var(--ink); font-size: 16px; }
.na-quiz-score { font-weight: 700; font-variant-numeric: tabular-nums; }
.na-quiz { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.na-q-flag { width: 100%; max-width: 380px; padding: 14px; background: var(--bg); border-radius: var(--card-radius); }
.na-q-flag img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; display: block; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .18)); }
.na-q-prompt { font: 700 20px var(--font-display); text-align: center; }
.na-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 560px; }
.na-opt { min-height: 56px; padding: 8px 12px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--btn-radius); color: var(--ink); font-weight: 700; font-size: 16px; cursor: pointer; }
.na-opt:hover:not(:disabled) { border-color: var(--ink); }
.na-opt.is-right { background: #E3F3EC; border-color: #0A7A55; color: #0A5A43; }
.na-opt.is-wrong { background: #FDE3DE; border-color: #C0291A; color: #8A2414; }
.na-opt:disabled { cursor: default; }
.na-options-flags .na-opt { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.na-options-flags img { width: 100%; max-width: 160px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }
.na-q-feedback { min-height: 1.5em; text-align: center; }
.na-q-feedback .btn { margin-top: 10px; }
.na-q-listen { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; max-width: 380px; padding: 22px; background: linear-gradient(180deg, #DCE8F7, #F4F7FB); border-radius: var(--card-radius); }
.na-q-play .icon { fill: currentColor; stroke: none; }
.na-q-bar { width: 100%; height: 6px; background: rgba(31, 45, 74, .15); border-radius: 3px; overflow: hidden; }
.na-q-bar div { height: 100%; width: 0; background: #E3A21A; }
.na-q-end { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px; text-align: center; background: #E3F3EC; border: 1px solid #A7D8C3; border-radius: var(--card-radius); color: #0A3F2F; width: 100%; max-width: 560px; }
.na-q-end h3 { font-size: 24px; color: #0A5A43; }

.na-sources { border-top: 1px solid var(--line); padding-top: 12px; }
.na-sources summary { cursor: pointer; font-weight: 700; min-height: 40px; display: flex; align-items: center; }
.na-sources-body { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--ink-2); padding-top: 6px; }
.na-sources-body a { color: inherit; }
.na-credit-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
@media (max-width: 560px) {
  .na-tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .na-tabs button { padding: 0 4px; font-size: 14px; }
  .na-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .na-tile { padding: 6px; }
  .na-tile-name { font-size: 12.5px; }
  .na-opt { font-size: 15px; }
}
