/* ── Reset & base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #d4af37;
  --gold-light: #f0c940;
  --gold-dark: #a07c10;
  --bg: #0f0f18;
  --bg2: #13131e;
  --bg3: #1a1a2a;
  --card: #18182a;
  --border: #272740;
  --text: #e8e8f2;
  --text-muted: #6a6a8a;
  --green: #3cba6f;
  --red: #e05555;
  --blue: #4a90e2;
  --orange: #e0883a;
  --radius: 12px;
  --sidebar-w: 230px;
  font-family: 'Tajawal', sans-serif;
}

html, body { height: 100%; background: var(--bg); color: var(--text); }
#app { height: 100%; }

/* ── Login ─────────────────────────────────────────────── */
.login-screen {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% 0%, #1e1800 0%, var(--bg) 65%);
}
.login-card {
  width: 380px; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px; box-shadow: 0 24px 60px rgba(0,0,0,.7);
}
.login-logo { text-align: center; margin-bottom: 32px; }
.login-logo h1 { font-size: 22px; font-weight: 700; color: var(--gold); margin: 14px 0 4px; }
.login-logo p  { font-size: 13px; color: var(--text-muted); }

.gold-circle {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 900; color: #1a1200;
  box-shadow: 0 4px 20px rgba(212,175,55,.4);
}
.gold-circle.sm { width: 34px; height: 34px; font-size: 13px; }

/* ── Fields ────────────────────────────────────────────── */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }

input[type="text"], input[type="password"], input[type="email"],
input[type="number"], input[type="time"], select, textarea {
  width: 100%; padding: 9px 13px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); font-family: inherit; font-size: 14px;
  transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); }
textarea { resize: vertical; min-height: 80px; }
input[type="file"] { background: none; border: none; color: var(--text-muted); font-size: 13px; padding: 0; }

/* ── Buttons ───────────────────────────────────────────── */
.btn-primary {
  padding: 9px 20px; background: var(--gold); color: #1a1200;
  border: none; border-radius: 8px; font-family: inherit; font-size: 14px;
  font-weight: 700; cursor: pointer; transition: background .2s, transform .1s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--gold-light); }
.btn-primary:active { transform: scale(.97); }
.btn-primary.btn-full { width: 100%; padding: 12px; font-size: 16px; }

.btn-secondary {
  padding: 8px 16px; background: var(--bg3); color: var(--text);
  border: 1px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 13px; cursor: pointer; white-space: nowrap;
  transition: border-color .2s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

.btn-danger {
  padding: 6px 12px; background: transparent; color: var(--red);
  border: 1px solid var(--red); border-radius: 6px;
  font-family: inherit; font-size: 12px; cursor: pointer; white-space: nowrap;
}
.btn-danger:hover { background: var(--red); color: #fff; }

.btn-trigger {
  padding: 6px 14px; background: rgba(212,175,55,.12); color: var(--gold);
  border: 1px solid var(--gold-dark); border-radius: 6px;
  font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background .2s;
}
.btn-trigger:hover { background: rgba(212,175,55,.22); }

.btn-logout {
  padding: 8px; background: transparent; color: var(--text-muted);
  border: 1px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 13px; cursor: pointer; width: 100%;
  margin-top: 10px; transition: border-color .2s;
}
.btn-logout:hover { border-color: var(--red); color: var(--red); }

.btn-icon {
  background: none; border: none; cursor: pointer; padding: 4px 8px;
  font-size: 16px; border-radius: 6px; transition: background .15s;
}
.btn-icon:hover { background: var(--bg3); }

/* ── Layout ────────────────────────────────────────────── */
#main-app { display: flex; height: 100vh; overflow: hidden; }

.sidebar {
  width: var(--sidebar-w); background: var(--bg2);
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column; flex-shrink: 0; overflow-y: auto;
}
.sidebar-header {
  display: flex; align-items: center; gap: 10px; padding: 18px 14px;
  border-bottom: 1px solid var(--border); font-size: 14px; font-weight: 700; color: var(--gold);
}
.nav-list { list-style: none; padding: 10px 8px; flex: 1; }
.nav-list li { margin-bottom: 2px; }
.nav-link {
  display: flex; align-items: center; gap: 9px; padding: 9px 10px;
  border-radius: 8px; color: var(--text-muted); text-decoration: none; font-size: 14px;
  cursor: pointer; transition: background .15s, color .15s;
}
.nav-link:hover  { background: var(--bg3); color: var(--text); }
.nav-link.active { background: rgba(212,175,55,.1); color: var(--gold); }
.ni { font-size: 15px; }

.sidebar-footer { padding: 14px; border-top: 1px solid var(--border); }
.user-chip { display: flex; align-items: center; gap: 9px; margin-bottom: 4px; }
.user-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold-dark); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.user-name { font-size: 13px; font-weight: 600; }
.user-role { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .4px; }

.content { flex: 1; overflow-y: auto; padding: 28px; background: var(--bg); }

/* ── Pages ─────────────────────────────────────────────── */
.page { display: none; }
.page.active { display: block; }

.page-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.page-header h2 { font-size: 20px; font-weight: 700; color: var(--gold); }

/* ── Cards ─────────────────────────────────────────────── */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px; margin-bottom: 18px;
}
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.card-header h3 { font-size: 13px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .5px; }
h3 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }

/* ── Stat cards ────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 18px; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }

.stat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px;
}
.stat-card.gold { border-color: var(--gold-dark); background: rgba(212,175,55,.05); }
.stat-label { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.stat-value { font-size: 24px; font-weight: 900; }
.stat-card.gold .stat-value { color: var(--gold-light); }

/* ── Two-col ───────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

/* ── Karat table ───────────────────────────────────────── */
.karat-table { border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.karat-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 14px; border-bottom: 1px solid var(--border); font-size: 14px;
}
.karat-row:last-child { border-bottom: none; }
.karat-row.header { background: var(--bg3); font-size: 11px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; }
.karat-row.gold span:last-child { color: var(--gold-light); font-weight: 700; }
.karat-row.hi   span:last-child { color: var(--gold); font-weight: 600; }
.karat-row.gold { background: rgba(212,175,55,.05); }

/* ── Country tabs bar ──────────────────────────────────── */
.country-tabs-bar { margin-bottom: 18px; }
.country-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.country-tab {
  padding: 7px 14px; border-radius: 20px; border: 1px solid var(--border);
  background: var(--bg3); cursor: pointer; font-size: 13px; font-weight: 500;
  color: var(--text-muted); transition: all .2s; display: flex; align-items: center; gap: 6px;
}
.country-tab:hover  { border-color: var(--gold-dark); color: var(--text); }
.country-tab.active { border-color: var(--gold); background: rgba(212,175,55,.1); color: var(--gold); font-weight: 700; }
.country-tab .tab-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.country-tab .tab-dot.inactive { background: var(--text-muted); }

/* ── Countries grid ────────────────────────────────────── */
.countries-grid { display: flex; flex-direction: column; gap: 10px; }

.country-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px;
  display: flex; align-items: center; gap: 20px;
  transition: border-color .2s;
}
.country-card:hover { border-color: var(--gold-dark); }
.country-card.inactive { opacity: .55; }

/* Identity block */
.cc-identity { display: flex; align-items: center; gap: 12px; min-width: 160px; flex-shrink: 0; }
.cc-flag { font-size: 34px; line-height: 1; }
.cc-name    { font-size: 15px; font-weight: 700; }
.cc-name-en { font-size: 11px; color: var(--text-muted); }

/* Meta chips row */
.cc-meta {
  display: flex; flex-wrap: wrap; gap: 6px; flex: 1;
}
.cc-meta-item {
  background: var(--bg3); border-radius: 6px; padding: 5px 10px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.cc-meta-label { font-size: 9px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 1px; }
.cc-meta-value { font-size: 13px; font-weight: 600; white-space: nowrap; }

/* Schedules */
.cc-schedules { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; flex-shrink: 0; }
.cc-sched-chip {
  background: rgba(212,175,55,.1); border: 1px solid rgba(212,175,55,.25);
  color: var(--gold); padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600;
}

/* Status + actions */
.cc-footer { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-right: auto; }
.cc-actions { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.badge-active   { color: var(--green); font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge-inactive { color: var(--text-muted); font-size: 12px; white-space: nowrap; }

/* ── Schedule editor ───────────────────────────────────── */
.sched-editor { display: flex; flex-direction: column; gap: 8px; }
.sched-row { display: flex; align-items: center; gap: 8px; }
.sched-row .time-h, .sched-row .time-m { width: 64px; }
.sched-row .time-ap { width: 72px; }
.sched-remove { background: none; border: none; color: var(--red); cursor: pointer; font-size: 18px; line-height: 1; padding: 0 4px; }
.add-sched-btn { align-self: flex-start; margin-top: 4px; }

/* ── Toggle ────────────────────────────────────────────── */
.toggle { position: relative; display: inline-block; width: 42px; height: 22px; cursor: pointer; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: var(--border); border-radius: 22px; transition: .2s; }
.toggle-slider::before { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #fff; top: 3px; right: 3px; transition: .2s; }
.toggle input:checked ~ .toggle-slider { background: var(--gold); }
.toggle input:checked ~ .toggle-slider::before { transform: translateX(-20px); }

/* ── Field rows ────────────────────────────────────────── */
.field-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--border);
}
.field-row:last-of-type { border-bottom: none; }
.field-row > label:first-child { width: 160px; flex-shrink: 0; color: var(--text-muted); font-size: 13px; }
.field-row > input, .field-row > select, .field-row > textarea { flex: 1; }
.field-row > .toggle { flex-shrink: 0; }

/* ── Section divider ───────────────────────────────────── */
.section-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .6px; color: var(--text-muted); margin: 18px 0 8px;
  padding-bottom: 6px; border-bottom: 1px solid var(--border);
}

/* ── Data table ────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th {
  text-align: right; padding: 8px 10px; color: var(--text-muted);
  font-size: 11px; text-transform: uppercase; letter-spacing: .5px;
  border-bottom: 1px solid var(--border); font-weight: 600;
}
.data-table td { padding: 10px 10px; border-bottom: 1px solid var(--border); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg3); }

/* ── Badges ────────────────────────────────────────────── */
.badge {
  display: inline-block; padding: 2px 8px; border-radius: 20px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px;
}
.badge-success { background: rgba(60,186,111,.12); color: var(--green); }
.badge-fail    { background: rgba(224,85,85,.12);  color: var(--red); }
.badge-pending { background: rgba(74,144,226,.12); color: var(--blue); }
.badge-gen     { background: rgba(212,175,55,.12); color: var(--gold); }
.badge-upload  { background: rgba(224,136,58,.12); color: var(--orange); }

/* ── Scheduler jobs ────────────────────────────────────── */
.job-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; border-radius: 8px; background: var(--bg3); margin-bottom: 7px; font-size: 13px;
}
.job-time { font-weight: 700; color: var(--gold); font-size: 15px; }
.job-country { color: var(--text-muted); font-size: 12px; }

/* ── Music list ────────────────────────────────────────── */
.music-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.music-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; background: var(--bg3); border-radius: 8px; font-size: 13px;
}

/* ── YouTube status ────────────────────────────────────── */
.yt-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-green  { background: var(--green); box-shadow: 0 0 5px var(--green); }
.dot-red    { background: var(--red); }
.dot-yellow { background: var(--gold); }

/* ── Modal ─────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.65);
  display: flex; align-items: center; justify-content: center; z-index: 100;
}
.modal {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); width: 96vw; max-width: 96vw;
  max-height: 90vh; display: flex; flex-direction: column;
  box-shadow: 0 24px 60px rgba(0,0,0,.7);
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.modal-header h3 { font-size: 15px; font-weight: 700; margin: 0; }
.modal-close { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 18px; }
.modal-body { padding: 20px; overflow-y: auto; flex: 1; }
.modal-footer { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; flex-shrink: 0; }

/* ── Upload row ────────────────────────────────────────── */
.upload-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }

/* ── Toast ─────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: 11px 22px; font-size: 14px;
  z-index: 200; box-shadow: 0 8px 28px rgba(0,0,0,.5);
}
.toast.success { border-color: var(--green); color: var(--green); }
.toast.error   { border-color: var(--red);   color: var(--red); }

/* ── Utils ─────────────────────────────────────────────── */
.hidden { display: none !important; }
.center { text-align: center; }
.text-muted { color: var(--text-muted); }
.small { font-size: 12px; }
.error-msg { color: var(--red); font-size: 12px; margin-top: 6px; }
.hint { font-size: 12px; color: var(--text-muted); margin-top: 8px; }
code { background: var(--bg3); padding: 2px 6px; border-radius: 4px; font-family: monospace; font-size: 12px; }
.msg { font-size: 13px; margin-top: 10px; padding: 8px 12px; border-radius: 6px; }
.msg.ok  { background: rgba(60,186,111,.1); color: var(--green); }
.msg.err { background: rgba(224,85,85,.1);  color: var(--red); }
.role-superadmin { color: var(--gold); font-weight: 700; }
.role-admin  { color: var(--blue); }
.role-viewer { color: var(--text-muted); }
.actions { display: flex; gap: 6px; }

/* ── Filter bar ────────────────────────────────────────── */
.filter-bar {
  display: flex; gap: 18px; align-items: flex-end; flex-wrap: wrap;
  padding: 14px 18px; margin-bottom: 14px;
}
.filter-group { display: flex; flex-direction: column; gap: 5px; }
.filter-group label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .4px; }
.filter-group select { width: auto; min-width: 130px; }

/* ── History summary ───────────────────────────────────── */
.hist-summary {
  display: flex; gap: 16px; align-items: center;
  padding: 8px 4px; margin-bottom: 10px; font-size: 13px;
}
.sum-item { display: flex; align-items: center; gap: 5px; color: var(--text-muted); }
.sum-item.success .sum-num { color: var(--green); }
.sum-item.fail    .sum-num { color: var(--red); }
.sum-num { font-size: 18px; font-weight: 900; color: var(--gold); }
.no-data { grid-column: 1/-1; padding: 60px; text-align: center; color: var(--text-muted); font-size: 14px; }

/* ── Update cards grid ─────────────────────────────────── */
.hist-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.update-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px;
  cursor: pointer; transition: border-color .2s, transform .15s;
  display: flex; flex-direction: column; gap: 10px;
}
.update-card:hover { border-color: var(--gold-dark); transform: translateY(-1px); }
.update-card.status-failed  { border-right: 3px solid var(--red); }
.update-card.status-success { border-right: 3px solid var(--green); }
.update-card.status-generating,
.update-card.status-uploading { border-right: 3px solid var(--gold); }

.uc-header { display: flex; align-items: center; justify-content: space-between; }
.uc-country { display: flex; align-items: center; gap: 8px; }
.uc-flag { font-size: 26px; line-height: 1; }
.uc-name { font-size: 14px; font-weight: 700; }
.uc-date { font-size: 11px; color: var(--text-muted); margin-top: 1px; }

.uc-prices { background: var(--bg3); border-radius: 8px; padding: 10px 12px; }
.uc-price-main { font-size: 20px; font-weight: 900; color: var(--gold-light); line-height: 1.2; }
.uc-price-label { font-size: 11px; font-weight: 400; color: var(--text-muted); }
.uc-price-usd { font-size: 12px; color: var(--text-muted); margin-top: 3px; }

.uc-title {
  font-size: 12px; color: var(--text-muted); line-height: 1.4;
  border-right: 2px solid var(--border); padding-right: 8px;
}

.uc-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.uc-btn {
  padding: 5px 12px; border-radius: 6px; font-size: 12px; font-weight: 600;
  cursor: pointer; border: none; text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
  white-space: nowrap; transition: opacity .15s;
}
.uc-btn:hover { opacity: .8; }
.video-btn { background: rgba(74,144,226,.15); color: var(--blue); border: 1px solid rgba(74,144,226,.3); }
.yt-btn    { background: rgba(255,0,0,.1);     color: #ff4444;    border: 1px solid rgba(255,0,0,.25); }
.uc-btn-disabled { font-size: 11px; color: var(--text-muted); }
.uc-detail-hint  { font-size: 11px; color: var(--text-muted); margin-right: auto; opacity: .6; }
.uc-btn-icon { padding: 3px 7px; border-radius: 5px; font-size: 13px; cursor: pointer; background: transparent; border: 1px solid rgba(255,255,255,.12); color: var(--text-muted); transition: all .15s; }
.uc-btn-icon:hover { border-color: var(--gold); color: var(--gold); }
.uc-btn-icon.danger:hover { border-color: var(--red); color: var(--red); }

.uc-error {
  font-size: 11px; color: var(--red); background: rgba(224,85,85,.08);
  border-radius: 6px; padding: 6px 10px; line-height: 1.4;
}

/* ── Update detail modal ────────────────────────────────── */
.detail-status-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.detail-trigger { font-size: 12px; color: var(--text-muted); }

.detail-prices-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px;
}
.detail-price-box {
  background: var(--bg3); border-radius: 8px; padding: 12px;
  text-align: center;
}
.detail-price-box.gold { background: rgba(212,175,55,.07); border: 1px solid rgba(212,175,55,.2); }
.dp-label { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; }
.dp-value { font-size: 18px; font-weight: 900; color: var(--text); }
.detail-price-box.gold .dp-value { color: var(--gold-light); }
.dp-sym { font-size: 12px; font-weight: 400; color: var(--text-muted); }

.detail-section { margin-bottom: 14px; }
.detail-section-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; color: var(--text-muted); margin-bottom: 7px;
}
.detail-caption-title {
  font-size: 14px; line-height: 1.5; padding: 10px 12px;
  background: var(--bg3); border-radius: 8px; color: var(--text);
}
.detail-desc {
  font-size: 12px; line-height: 1.7; white-space: pre-wrap; word-break: break-word;
  background: var(--bg3); border-radius: 8px; padding: 10px 12px;
  color: var(--text-muted); font-family: inherit; max-height: 160px; overflow-y: auto;
}
.error-pre {
  font-size: 12px; white-space: pre-wrap; word-break: break-word;
  background: rgba(224,85,85,.07); border: 1px solid rgba(224,85,85,.2);
  border-radius: 8px; padding: 10px 12px; color: var(--red); font-family: monospace;
  max-height: 120px; overflow-y: auto;
}
.yt-detail-row {
  display: flex; align-items: center; gap: 8px; font-size: 13px; flex-wrap: wrap;
}
.yt-detail-link {
  color: var(--gold); word-break: break-all; font-size: 12px; text-decoration: none;
}
.yt-detail-link:hover { text-decoration: underline; }
.detail-meta-row {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: 11px; color: var(--text-muted);
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border);
}

/* ── Video player ───────────────────────────────────────── */
.video-player-wrap { padding: 4px 0; }

/* ── APIs page ──────────────────────────────────────────── */
.four-col {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px;
}
@media (max-width: 900px) { .four-col { grid-template-columns: repeat(2, 1fr); } }

.mini-stat {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 16px;
}
.mini-stat.success { border-color: rgba(60,186,111,.3); }
.mini-stat.fail    { border-color: rgba(224,85,85,.3); }
.mini-label { font-size: 11px; color: var(--text-muted); margin-bottom: 5px; }
.mini-value { font-size: 22px; font-weight: 900; color: var(--text); }
.mini-stat.success .mini-value { color: var(--green); }
.mini-stat.fail    .mini-value { color: var(--red); }
.small-val { font-size: 13px !important; }

.apis-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px; margin-bottom: 10px;
}

.api-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .2s;
}
.api-card:hover { border-color: var(--gold-dark); }
.api-card.featured { border-color: rgba(60,186,111,.4); }
.api-card.pegs-card { opacity: .8; }

.api-card-header { display: flex; align-items: center; gap: 10px; }
.api-icon { font-size: 26px; line-height: 1; flex-shrink: 0; }
.api-info { flex: 1; min-width: 0; }
.api-name { font-size: 14px; font-weight: 700; }
.api-role { font-size: 11px; color: var(--text-muted); margin-top: 1px; }

.api-plan-badge {
  padding: 3px 8px; border-radius: 10px; font-size: 11px; font-weight: 700;
  white-space: nowrap; flex-shrink: 0;
}
.api-plan-badge.free  { background: rgba(60,186,111,.12);  color: var(--green); }
.api-plan-badge.local { background: rgba(74,144,226,.12);  color: var(--blue); }

.api-desc { font-size: 12px; color: var(--text-muted); line-height: 1.6; }

.api-endpoint {
  background: var(--bg3); border-radius: 6px; padding: 7px 10px;
  font-size: 11px; overflow-x: auto; white-space: nowrap;
}
.api-endpoint code { background: none; padding: 0; font-size: 11px; color: var(--gold); }

.api-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.api-meta-item {
  font-size: 11px; color: var(--text-muted);
  background: var(--bg3); padding: 3px 8px; border-radius: 10px;
}

.api-links { display: flex; gap: 8px; flex-wrap: wrap; }
.api-link {
  font-size: 12px; color: var(--gold); text-decoration: none;
  padding: 4px 10px; border: 1px solid rgba(212,175,55,.2);
  border-radius: 6px; transition: background .15s;
}
.api-link:hover { background: rgba(212,175,55,.1); }

.api-limit-bar { margin-top: 4px; }
.limit-label { font-size: 11px; color: var(--text-muted); margin-bottom: 5px; }
.limit-label strong { color: var(--text); }
.limit-track {
  height: 6px; background: var(--bg3); border-radius: 3px; overflow: hidden;
}
.limit-fill {
  height: 100%; background: var(--green); border-radius: 3px;
  transition: width .4s, background .3s;
}

.api-pegs-grid { display: flex; flex-wrap: wrap; gap: 5px; }
.peg-chip {
  font-size: 11px; background: var(--bg3);
  border: 1px solid var(--border); border-radius: 6px;
  padding: 3px 8px; color: var(--text-muted); font-family: monospace;
}

/* Placeholders reference */
.placeholders-box {
  background: var(--bg3); border-radius: 8px; padding: 12px;
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px;
}
.ph-chip {
  background: rgba(212,175,55,.08); border: 1px solid rgba(212,175,55,.2);
  color: var(--gold); padding: 2px 8px; border-radius: 10px;
  font-size: 12px; font-family: monospace; cursor: pointer;
}
.ph-chip:hover { background: rgba(212,175,55,.18); }

/* API source badge in update detail modal */
.detail-meta-source { margin-top: 4px; }
.api-source-badge {
  display: inline-block;
  background: rgba(212,175,55,.1); border: 1px solid rgba(212,175,55,.3);
  color: var(--gold); padding: 4px 12px; border-radius: 20px;
  font-size: 13px; font-family: monospace; letter-spacing: .3px;
}

/* ── Progress panel ───────────────────────────────────── */
.progress-panel {
  position: fixed;
  bottom: 24px; left: 50%; transform: translateX(-50%);
  width: min(560px, calc(100vw - 32px));
  background: var(--card);
  border: 1px solid rgba(212,175,55,.35);
  border-radius: 16px;
  padding: 20px 24px 18px;
  z-index: 500;
  box-shadow: 0 8px 40px rgba(0,0,0,.55);
  animation: ppSlideIn .25s ease;
}
@keyframes ppSlideIn {
  from { opacity:0; transform: translateX(-50%) translateY(20px); }
  to   { opacity:1; transform: translateX(-50%) translateY(0); }
}
.pp-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.pp-header span { font-weight: 700; font-size: 15px; color: var(--gold); }
.pp-close {
  background: none; border: none; color: var(--muted);
  font-size: 16px; cursor: pointer; line-height:1; padding:2px 6px;
  border-radius: 6px;
}
.pp-close:hover { background: rgba(255,255,255,.06); color: var(--text); }
.pp-step {
  font-size: 13px; color: var(--text);
  margin-bottom: 10px; min-height: 18px;
}
.pp-bar-track {
  width: 100%; height: 6px;
  background: rgba(255,255,255,.08);
  border-radius: 3px; overflow: hidden;
  margin-bottom: 12px;
}
.pp-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #d4af37, #ffe066);
  border-radius: 3px;
  transition: width .6s ease;
}
.pp-bar-fill.done  { background: var(--green); }
.pp-bar-fill.error { background: var(--red); }
.pp-log {
  font-size: 11px; color: var(--muted);
  font-family: monospace;
  max-height: 72px; overflow-y: auto;
  line-height: 1.6;
}

/* btn-sm helper */
.btn-sm { font-size: 12px !important; padding: 5px 12px !important; }

/* ── Price verification modal ─────────────────────────── */
.verify-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 16px;
}
.verify-box {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(212,175,55,.15);
  border-radius: 12px; padding: 16px;
}
.verify-box-title {
  font-size: 11px; text-transform: uppercase; letter-spacing: .5px;
  color: var(--muted); margin-bottom: 10px;
}
.verify-price {
  font-size: 24px; font-weight: 700; color: var(--gold);
  font-family: monospace;
}
.verify-local {
  font-size: 14px; color: var(--text); margin-top: 4px;
  font-family: monospace;
}
.verify-source {
  font-size: 11px; color: var(--muted); margin-top: 6px;
  background: rgba(212,175,55,.08); border-radius: 6px;
  padding: 3px 8px; display: inline-block;
  font-family: monospace;
}
.verify-time { font-size: 11px; color: var(--muted); margin-top: 8px; }
.verify-rows { margin-top: 12px; }
.vr {
  display: flex; justify-content: space-between;
  padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: 13px;
}
.vr:last-child { border-bottom: none; }
.vr.hi span:last-child { color: var(--gold); font-weight: 700; }
.verify-diff {
  font-size: 14px; font-weight: 600;
  background: rgba(255,255,255,.03);
  border-radius: 10px; padding: 12px 16px;
  text-align: center;
}

/* ══ Template Editor ════════════════════════════════════════════════ */
.tmpl-modal-overlay {
  position: fixed; inset: 0; background: #0d0d0d;
  z-index: 1100; display: flex; align-items: center; justify-content: center;
}
.tmpl-modal {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; width: 96vw; max-width: 1280px;
  height: 90vh; display: flex; flex-direction: column; overflow: hidden;
}
.tmpl-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.tmpl-modal-head h2 { font-size: .95rem; color: var(--gold); }
.tmpl-modal-body {
  display: flex; flex: 1; overflow: hidden; min-height: 0;
}
.tmpl-left {
  width: 340px; flex-shrink: 0; border-left: 1px solid var(--border);
  display: flex; flex-direction: column; overflow: hidden;
}
.tmpl-tabs {
  display: flex; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.tmpl-tab {
  flex: 1; padding: 10px; background: none; border: none;
  color: var(--text-muted); cursor: pointer; font-size: .82rem;
  border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.tmpl-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.tmpl-tab-content { padding: 0; overflow-y: auto; flex: 1; }
#tmpl-panel-background, #tmpl-panel-presets { padding: 16px; }
.tmpl-section { margin-bottom: 18px; }
.tmpl-section-label {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .05em;
  color: var(--text-muted); margin-bottom: 10px;
}
/* ── Accordion ── */
.tmpl-accordion { border-bottom: 1px solid rgba(255,255,255,0.07); }
.tmpl-accordion:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.tmpl-accordion-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold);
  user-select: none;
  background: rgba(255,255,255,0.02);
  transition: background .15s;
  direction: rtl;
}
.tmpl-accordion-head:hover { background: rgba(255,255,255,0.06); }
.tmpl-accordion-arrow {
  font-size: 11px;
  opacity: .6;
  transition: transform .2s;
  flex-shrink: 0;
}
.tmpl-accordion-head.open .tmpl-accordion-arrow { transform: rotate(-90deg); }
.tmpl-accordion-body { padding: 8px 16px 12px; }
.tmpl-upload-btn {
  display: block; width: 100%; padding: 10px;
  background: var(--bg-input); border: 1px dashed var(--border);
  border-radius: 8px; color: var(--text); font-size: .82rem;
  cursor: pointer; text-align: center; transition: border-color .15s;
}
.tmpl-upload-btn:hover { border-color: var(--gold); }
.tmpl-file-status {
  display: flex; align-items: center; gap: 8px;
  margin-top: 8px; font-size: .78rem; color: var(--text-muted);
}
.tmpl-file-status .tmpl-remove,
.tmpl-remove {
  margin-right: auto; background: none; border: none;
  color: #e05; cursor: pointer; font-size: .78rem; padding: 2px 6px;
  border-radius: 4px;
}
.tmpl-file-status .tmpl-remove:hover,
.tmpl-remove:hover { background: rgba(238,0,85,.1); }
.tmpl-upload-btn-sm {
  display: inline-block; padding: 4px 10px;
  background: var(--bg-input); border: 1px dashed var(--border);
  border-radius: 6px; color: var(--text); font-size: .78rem;
  cursor: pointer; transition: border-color .15s; white-space: nowrap;
}
.tmpl-upload-btn-sm:hover { border-color: var(--gold); }
.tmpl-css-hint summary { list-style: none; }
.tmpl-css-hint summary::-webkit-details-marker { display: none; }
.tmpl-css-ref {
  margin: 8px 0 6px;
  padding: 8px 10px;
  background: rgba(0,0,0,.25);
  border-radius: 6px;
  font-size: .73rem;
  line-height: 1.8;
  color: var(--text);
  border: 1px solid var(--border);
}
.tmpl-css-ref code {
  background: rgba(212,175,55,.12);
  color: var(--gold);
  padding: 1px 5px;
  border-radius: 3px;
  font-family: 'Consolas', monospace;
  font-size: .72rem;
}
.tmpl-css-textarea {
  width: 100%;
  box-sizing: border-box;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: 'Consolas', monospace;
  font-size: .73rem;
  padding: 8px 10px;
  resize: vertical;
  margin-top: 4px;
  line-height: 1.5;
  transition: border-color .15s;
}
.tmpl-css-textarea:focus { outline: none; border-color: var(--gold); }
.tmpl-row {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 10px;
}
.tmpl-row label { flex: 1; color: var(--text-muted); font-size: .76rem; }
.tmpl-row input[type=color] {
  width: 36px; height: 28px; border: 1px solid var(--border);
  border-radius: 6px; background: none; cursor: pointer; padding: 1px;
}
.tmpl-row input[type=number],
.tmpl-row input[type=text] {
  width: 80px; padding: 4px 8px; background: var(--bg-input);
  border: 1px solid var(--border); border-radius: 6px;
  color: var(--text); font-size: .8rem;
}
.tmpl-actions {
  padding: 12px 16px; border-top: 1px solid var(--border);
  display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap;
}
.tmpl-actions .btn-primary  { flex: 1; }
.tmpl-actions .btn-secondary { flex: 0 0 auto; }
.tmpl-right {
  flex: 1; display: flex; flex-direction: column; overflow: hidden; min-width: 0;
}
.tmpl-preview-header {
  padding: 10px 16px; font-size: .78rem; color: var(--text-muted);
  border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.tmpl-preview-wrap {
  flex: 1; overflow: auto; background: #111; padding: 12px; min-height: 0;
}
.tmpl-preview-iframe {
  border: none; transform-origin: top left;
  width: 1080px; height: 1920px; display: block;
}
.btn-tmpl {
  background: none; border: 1px solid var(--border);
  border-radius: 6px; color: var(--gold); cursor: pointer;
  font-size: .8rem; padding: 4px 8px; transition: background .15s;
}
.btn-tmpl:hover { background: rgba(212,175,55,.1); }
.tmpl-color-sm {
  width: 34px; height: 26px; padding: 0; border: none; cursor: pointer;
  border-radius: 4px; flex-shrink: 0;
}
.tmpl-row-ctrl {
  display: flex; align-items: center; gap: 5px; flex-shrink: 0;
}
.tmpl-opacity-range { width: 54px; flex-shrink: 0; }
.tmpl-pct { min-width: 30px; text-align: right; font-size: .71rem; color: var(--text-muted); }
.tmpl-size-input {
  width: 52px; text-align: center; background: var(--input-bg,var(--bg));
  border: 1px solid var(--border); border-radius: 4px;
  color: var(--text); font-size: .78rem; padding: 2px 4px;
}
.tmpl-font-select {
  background: var(--input-bg,var(--bg)); border: 1px solid var(--border);
  border-radius: 4px; color: var(--text); font-size: .77rem; padding: 3px 6px;
  max-width: 160px;
}

/* ══ Tasks ══════════════════════════════════════════════════ */
#page-tasks select,
#page-tasks select option,
#task-modal select,
#task-modal select option {
  background: #1a1a2e;
  color: #e8e8f2;
}
#page-tasks select {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .4rem .7rem;
  font-size: .85rem;
  cursor: pointer;
}
#page-tasks select:focus,
#task-modal select:focus { outline: none; border-color: var(--gold); }


.tasks-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: #e74c3c; color: #fff; border-radius: 10px;
  font-size: .68rem; font-weight: 700; min-width: 18px; height: 18px;
  padding: 0 5px; margin-right: 4px; vertical-align: middle;
}
.task-card {
  background: var(--bg-subtle); border: 1px solid var(--border);
  border-radius: 10px; padding: 1rem 1.1rem; margin-bottom: .7rem;
  display: flex; gap: 1rem; align-items: flex-start;
  transition: border-color .2s;
}
.task-card:hover { border-color: var(--gold); }
.task-card.completed { opacity: .6; }
.task-card.completed .task-title { text-decoration: line-through; color: var(--text-muted); }
.task-priority { width: 6px; border-radius: 3px; flex-shrink: 0; align-self: stretch; }
.task-priority.high   { background: #e74c3c; }
.task-priority.medium { background: #f39c12; }
.task-priority.low    { background: #2ecc71; }
.task-body { flex: 1; min-width: 0; }
.task-title { font-weight: 600; font-size: .95rem; margin-bottom: .25rem; }
.task-desc  { font-size: .82rem; color: var(--text-muted); margin-bottom: .45rem; white-space: pre-wrap; }
.task-meta  { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .75rem; color: var(--text-muted); }
.task-tag   {
  display: inline-block; padding: 2px 8px; border-radius: 10px;
  font-size: .72rem; font-weight: 600;
  background: var(--bg); border: 1px solid var(--border);
}
.task-tag.cat-feature     { border-color: #9b59b6; color: #9b59b6; }
.task-tag.cat-maintenance { border-color: #3498db; color: #3498db; }
.task-tag.cat-bug         { border-color: #e74c3c; color: #e74c3c; }
.task-tag.cat-other       { border-color: var(--gold); color: var(--gold); }
.task-due-overdue { color: #e74c3c; font-weight: 600; }
.task-status-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px; font-size: .75rem; font-weight: 700;
  border: 1.5px solid; white-space: nowrap;
}
.task-status-badge.pending   { border-color: #f39c12; color: #f39c12; background: rgba(243,156,18,.08); }
.task-status-badge.completed { border-color: #2ecc71; color: #2ecc71; background: rgba(46,204,113,.08); }
.task-actions { display: flex; gap: .4rem; flex-shrink: 0; }
.task-actions button { padding: 4px 10px; font-size: .78rem; border-radius: 6px; border: 1px solid var(--border); cursor: pointer; background: var(--bg); color: var(--text); }
.task-actions button:hover { border-color: var(--gold); color: var(--gold); }
.task-actions .btn-complete { border-color: #2ecc71; color: #2ecc71; }
.task-actions .btn-complete:hover { background: #2ecc71; color: #000; }
.task-actions .btn-reopen { border-color: #f39c12; color: #f39c12; }
.task-actions .btn-reopen:hover { background: #f39c12; color: #000; }
.task-actions .btn-del { border-color: #e74c3c; color: #e74c3c; }
.task-actions .btn-del:hover { background: #e74c3c; color: #fff; }
.modal-box { background: var(--bg-card,var(--bg)); border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem; }
.modal-header { display: flex; justify-content: space-between; align-items: center; }
.modal-header h3 { margin: 0; font-size: 1.05rem; }
.modal-close { background: none; border: none; font-size: 1.1rem; cursor: pointer; color: var(--text-muted); }
.form-label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .3rem; color: var(--text-muted); }
.form-input { background: var(--bg-subtle); border: 1px solid var(--border); border-radius: 6px; color: var(--text); padding: .5rem .75rem; font-size: .9rem; font-family: inherit; }
.form-input:focus { outline: none; border-color: var(--gold); }
.tmpl-bg-item {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 8px; border-radius: 6px; border: 1px solid var(--border);
  margin-bottom: 4px; transition: border-color .15s, background .15s;
}
.tmpl-bg-item:hover { border-color: var(--text-muted); background: rgba(255,255,255,.04); }
.tmpl-bg-item.active { border-color: var(--gold); background: rgba(212,175,55,.08); }
.tmpl-bg-item--previewing { border-color: #4a9eff !important; background: rgba(74,158,255,.10) !important; }
.tmpl-bg-thumb {
  width: 52px; height: 36px; object-fit: cover; border-radius: 4px;
  flex-shrink: 0; border: 1px solid var(--border); display: block;
}
.tmpl-bg-name { font-size: .76rem; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tmpl-bg-item-actions { display: flex; gap: 4px; flex-shrink: 0; }
.tmpl-btn-sm {
  font-size: .7rem; padding: 2px 7px; border-radius: 4px;
  border: 1px solid var(--border); background: none; color: var(--text); cursor: pointer;
}
.tmpl-btn-sm:hover { background: var(--border); }
.tmpl-btn-sm.danger { color: #f77; border-color: rgba(255,80,80,.25); }
.tmpl-btn-sm.danger:hover { background: rgba(255,80,80,.15); }
.tmpl-active-tag { font-size: .7rem; color: var(--gold); padding: 2px 4px; }
.tmpl-presets-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.tmpl-preset-card { display: flex; flex-direction: column; gap: 4px; }
.tmpl-preset-preview {
  border-radius: 6px; overflow: hidden; height: 60px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.tmpl-preset-btn {
  font-size: .77rem; padding: 5px 8px; border: 1px solid var(--border);
  border-radius: 5px; background: none; color: var(--text); cursor: pointer; width: 100%;
}
.tmpl-preset-btn:hover { background: rgba(212,175,55,.12); color: var(--gold); border-color: var(--gold); }
/* ── Translations page ─────────────────────────────────── */
.tr-lang-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 6px; cursor: pointer;
  border: 1px solid var(--border); transition: background .15s;
}
.tr-lang-item:hover { background: rgba(212,175,55,.08); border-color: var(--gold); }
.tr-lang-item.active { background: rgba(212,175,55,.15); border-color: var(--gold); }
.tr-lang-code { font-weight: 700; font-size: 1.05em; color: var(--gold); flex: 1; }
.tr-lang-count { font-size: .8em; color: var(--text-muted); }
.btn-xs { font-size: .75em; padding: 2px 7px; }
.tr-val-input { width: 100%; background: var(--input-bg, var(--bg2)); border: 1px solid var(--border);
  border-radius: 4px; color: var(--text); padding: 4px 7px; font-size: .88em; }
.tr-val-input:focus { outline: none; border-color: var(--gold); }

/* ── Nav sub-item ──────────────────────────────────────── */
.nav-sub-item .nav-link-sub { padding-right: 2.2rem; font-size: .9em; opacity: .85; }
.nav-sub-item .nav-link-sub .ni { font-size: .85em; }
.nav-sub-item .nav-link-sub::before { content: '└ '; font-size: .75em; opacity: .5; margin-left: 4px; }

/* ── Nav section header (non-clickable) ────────────────── */
.nav-section-header {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 4px;
  font-size: .75em; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--gold); opacity: .7;
  cursor: default; user-select: none;
  margin-top: 6px;
}
.nav-section-header .ni { font-size: 1em; }

/* ── Settings tabs ─────────────────────────────────────── */
.settings-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.stab {
  padding: 7px 16px; border-radius: 7px; border: 1px solid var(--border);
  background: none; color: var(--text); cursor: pointer; font-size: .9em;
  transition: background .15s, border-color .15s, color .15s;
}
.stab:hover  { background: rgba(212,175,55,.1); border-color: var(--gold); color: var(--gold); }
.stab.active { background: rgba(212,175,55,.18); border-color: var(--gold); color: var(--gold); font-weight: 600; }
