/* ================================================================
   Nerezidentam — interactions.css v3.4
   Ticker над меню · Fixed header (mobile-friendly) · Компактные страны
   ================================================================ */

/* ===== Ticker bar — над хедером, в самом верху ===== */
.ticker-bar-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  background: linear-gradient(90deg, var(--gold-dim), var(--surface), var(--gold-dim));
  border-bottom: 1px solid var(--gold-line);
  overflow: hidden;
  height: 32px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--gold);
  line-height: 32px;
  white-space: nowrap;
  /* НЕ flex — он ломает inline-block анимацию */
}
.ticker-bar-track {
  display: inline-block;
  white-space: nowrap;
  animation: tickerScroll 60s linear infinite;
  will-change: transform;
}
.ticker-bar-top:hover .ticker-bar-track {
  animation-play-state: paused;
}
.ticker-bar-item {
  display: inline-block;
  padding: 0 28px;
  border-right: 1px solid var(--gold-line);
  height: 32px;
  line-height: 32px;
  vertical-align: top;
}
.ticker-bar-item:last-child { border-right: none; }
.ticker-bar-item strong { color: var(--text); margin-right: 6px; font-weight: 600; }
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Header — fixed, под тиккером, mobile-friendly ===== */
.site-header {
  position: fixed;
  top: 32px; /* высота тиккера */
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  height: 64px;
  /* GPU acceleration для надёжности на iOS Safari */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  /* Убрал backdrop-filter — он ломает fixed на iOS */
}
[data-theme="dark"] .site-header { background: rgba(10, 13, 20, 0.98); }
[data-theme="light"] .site-header { background: rgba(250, 248, 243, 0.98); }

/* Body padding-top: ticker (32) + header (64) */
body { padding-top: 96px !important; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
  height: 64px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border: none;
  flex-shrink: 0;
}
.site-logo:hover { border: none; }
.site-logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.85rem;
  color: #0a0a0a;
  letter-spacing: -0.05em;
  box-shadow: 0 2px 8px rgba(230, 181, 102, 0.3);
}
[data-theme="light"] .site-logo-mark { color: #ffffff; }
.site-logo-text {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
}
.site-logo-text span { color: var(--gold); }

/* ===== Desktop menu with dropdowns ===== */
.site-menu {
  display: none;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
@media (min-width: 1100px) { .site-menu { display: flex; } }

.menu-item {
  position: relative;
}
.menu-item > a,
.menu-item > button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--sans);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.menu-item > a:hover,
.menu-item > button:hover,
.menu-item:hover > a,
.menu-item:hover > button {
  color: var(--gold);
  background: var(--gold-dim);
}
.menu-item .arrow {
  width: 10px;
  height: 10px;
  transition: transform var(--t-fast);
  opacity: 0.6;
}
.menu-item:hover .arrow { transform: rotate(180deg); }

.menu-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-fast);
  z-index: 110;
  min-width: 280px;
  max-width: 90vw;
}
.menu-item:hover .menu-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.menu-item > .menu-dropdown::before {
  content: '';
  position: absolute;
  top: -10px; left: 0; right: 0; height: 10px;
}
.menu-dropdown-grid {
  display: grid;
  gap: 4px;
  grid-template-columns: 1fr;
}
.menu-dropdown.cols-2 .menu-dropdown-grid { grid-template-columns: repeat(2, 1fr); min-width: 480px; }
.menu-dropdown.cols-3 .menu-dropdown-grid { grid-template-columns: repeat(3, 1fr); min-width: 600px; }

.menu-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--text-2);
  border: none;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--t-fast);
  line-height: 1.3;
}
.menu-dropdown a:hover { background: var(--gold-dim); color: var(--gold); }
.menu-dropdown a .menu-flag { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }
.menu-dropdown a .menu-text { flex: 1; }
.menu-dropdown a strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; font-size: 0.92rem; }
.menu-dropdown a:hover strong { color: var(--gold); }
.menu-dropdown a small { font-size: 0.78rem; color: var(--text-3); display: block; }
.menu-dropdown .group-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  padding: 6px 12px 4px;
  font-weight: 600;
  grid-column: 1 / -1;
}
.menu-dropdown-footer {
  margin-top: 8px; padding-top: 12px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.menu-dropdown-footer a {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
}

/* ===== Header right group ===== */
.site-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.icon-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--t-fast);
  position: relative;
}
.icon-btn:hover { color: var(--gold); border-color: var(--gold-line); background: var(--gold-dim); }
.icon-btn svg { width: 18px; height: 18px; }

[data-theme="dark"] .theme-icon-light { display: block; }
[data-theme="dark"] .theme-icon-dark { display: none; }
[data-theme="light"] .theme-icon-light { display: none; }
[data-theme="light"] .theme-icon-dark { display: block; }

.lang-switcher { position: relative; }
.lang-toggle { font-family: var(--mono); font-size: 0.78rem; font-weight: 600; padding: 0 10px; min-width: 48px; gap: 4px; }
.lang-dropdown {
  position: absolute;
  top: 100%; right: 0;
  margin-top: 6px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--t-fast);
  z-index: 110;
  min-width: 140px;
}
.lang-switcher.is-open .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown a {
  display: flex; gap: 8px; align-items: center;
  padding: 8px 12px;
  color: var(--text-2);
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  border: none;
  white-space: nowrap;
}
.lang-dropdown a:hover { background: var(--gold-dim); color: var(--gold); }
.lang-dropdown a.active { color: var(--gold); background: var(--gold-dim); font-weight: 600; }

.site-cta { display: none; }
@media (min-width: 1100px) { .site-cta { display: inline-flex; } }

/* ===== Burger ===== */
.burger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  padding: 9px 11px;
  cursor: pointer;
  transition: all var(--t-fast);
}
@media (min-width: 1100px) { .burger { display: none; } }
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all var(--t-base);
}
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===== Mobile menu — учитывает offset тиккера ===== */
.mobile-menu {
  position: fixed;
  top: 96px; /* ticker (32) + header (64) */
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 99;
  overflow-y: auto;
  padding: 16px 16px 80px;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s 0.25s;
}
.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
}

.mm-group { border-bottom: 1px solid var(--border); }
.mm-group-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--sans);
  cursor: pointer;
  user-select: none;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
}
.mm-group-title:active { background: var(--surface-2); }
.mm-group-title .toggle {
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform var(--t-base);
  line-height: 1;
  flex-shrink: 0;
}
.mm-group.open .mm-group-title .toggle { transform: rotate(45deg); }
.mm-group-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mm-group.open .mm-group-content {
  max-height: 1500px;
  padding: 4px 0 14px;
}
.mm-group-content a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0 12px 14px;
  color: var(--text-2);
  font-size: 0.95rem;
  border: none;
  border-left: 2px solid var(--border);
  margin-left: 4px;
  text-decoration: none;
}
.mm-group-content a:active,
.mm-group-content a:hover { color: var(--gold); border-color: var(--gold-line); background: var(--surface-2); }
.mm-group-content a .menu-flag { font-size: 1.3rem; line-height: 1; }

.mobile-menu .single-link {
  display: block;
  padding: 16px 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.mobile-menu .single-link:hover,
.mobile-menu .single-link:active { color: var(--gold); border-bottom-color: var(--gold-line); }

.mobile-menu-cta { margin-top: 24px; }
.mobile-menu-tg-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  margin-top: 16px;
  background: linear-gradient(135deg, #229ED9, #1e88c0);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  border: none;
}
.mobile-menu-tg-link:hover { color: white; opacity: 0.9; }

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
  margin-top: 48px;
}
.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr repeat(4, 1fr); } }

.footer-brand h3 { font-family: var(--serif); font-size: 1.1rem; margin: 12px 0 8px; }
.footer-brand p { color: var(--text-3); font-size: 0.9rem; max-width: 360px; }

.footer-section { min-width: 0; }
.footer-section-title {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
  margin-bottom: 14px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.footer-section-title .toggle {
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform var(--t-base);
  display: none;
  line-height: 1;
}
.footer-section.open .footer-section-title .toggle { transform: rotate(45deg); }
.footer-section-list { list-style: none; padding: 0; margin: 0; }
.footer-section-list li { margin-bottom: 8px; }
.footer-section-list a { color: var(--text-2); font-size: 0.88rem; border: none; transition: color var(--t-fast); }
.footer-section-list a:hover { color: var(--gold); }

@media (max-width: 640px) {
  .footer-section-title { padding: 14px 0; border-bottom: 1px solid var(--border); margin-bottom: 0; }
  .footer-section-title .toggle { display: inline-block; }
  .footer-section-list { max-height: 0; overflow: hidden; transition: max-height var(--t-base); }
  .footer-section.open .footer-section-list { max-height: 800px; padding: 14px 0; }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-3);
}
.footer-bottom a { color: var(--text-3); border: none; }
.footer-bottom a:hover { color: var(--gold); }

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 12px; left: 12px; right: 12px;
  max-width: 480px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  display: none;
  animation: slideUp 0.3s ease-out;
}
.cookie-banner.is-visible { display: block; }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.cookie-banner p { font-size: 0.86rem; color: var(--text-2); margin: 0 0 12px; }
.cookie-banner .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 8px 16px; font-size: 0.85rem; }

/* ===== Modal ===== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}
[data-theme="light"] .modal-backdrop { background: rgba(0, 0, 0, 0.5); }
.modal-backdrop.is-open { display: flex; }
.modal {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  padding: 24px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.25s ease-out;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  background: transparent;
  border: none;
  color: var(--text-3);
  cursor: pointer;
  font-size: 1.4rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
}
.modal-close:hover { background: var(--surface-2); color: var(--text); }

/* ===== Email magnet ===== */
.email-magnet { background: linear-gradient(135deg, var(--surface), var(--bg-3)); border: 1px solid var(--border-2); border-radius: var(--radius-lg); padding: 24px; text-align: center; position: relative; overflow: hidden; }
@media (min-width: 640px) { .email-magnet { padding: 32px; } }
.email-magnet h3 { margin: 12px 0; }
.email-magnet form { display: flex; gap: 8px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
.email-magnet input[type="email"] { flex: 1; min-width: 200px; padding: 12px 16px; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: var(--radius-md); color: var(--text); font-size: 0.92rem; }
.email-magnet input[type="email"]:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-dim); }
.email-magnet .privacy-note { font-size: 0.78rem; color: var(--text-3); margin-top: 12px; }

/* ===== Share buttons ===== */
.share-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 32px 0;
}
.share-block-title {
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
  margin-bottom: 12px;
  font-weight: 600;
}
.share-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-2);
  background: var(--bg-2);
  color: var(--text-2);
  transition: all var(--t-fast);
  cursor: pointer;
  font-family: var(--sans);
}
.share-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.share-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border: 1px solid var(--border-2); }
.share-btn.tg:hover    { background: #229ED9; color: white; border-color: #229ED9; }
.share-btn.wa:hover    { background: #25D366; color: white; border-color: #25D366; }
.share-btn.x:hover     { background: #000;    color: white; border-color: #000; }
.share-btn.vk:hover    { background: #0077FF; color: white; border-color: #0077FF; }
.share-btn.fb:hover    { background: #1877F2; color: white; border-color: #1877F2; }
.share-btn.copy:hover  { background: var(--gold); color: #1a1a1a; border-color: var(--gold); }
[data-theme="light"] .share-btn.copy:hover { color: white; }

/* ===== Telegram subscribe banner ===== */
.tg-banner {
  background: linear-gradient(135deg, #229ED9, #1e88c0);
  color: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  flex-wrap: wrap;
}
.tg-banner-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tg-banner-icon svg { width: 32px; height: 32px; }
.tg-banner-text { flex: 1; min-width: 200px; }
.tg-banner-text h4 { margin: 0 0 4px; color: white; font-family: var(--serif); }
.tg-banner-text p { margin: 0; opacity: 0.9; font-size: 0.9rem; color: white; }
.tg-banner-btn {
  background: white;
  color: #229ED9;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  border: none;
}
.tg-banner-btn:hover { background: #f0f0f0; color: #1e88c0; }

/* ===== КОМПАКТНЫЙ COUNTRY HERO (без огромного градиента) ===== */
.country-compact-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.country-compact-hero .flag {
  font-size: 4.5rem;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}
.country-compact-hero .info {
  flex: 1;
  min-width: 240px;
}
.country-compact-hero .info .eyebrow { display: block; margin-bottom: 4px; }
.country-compact-hero .info h1 {
  margin: 4px 0 0;
  line-height: 1.15;
}

/* Тонкая полоска флаговых цветов под заголовком */
.country-flag-stripe {
  display: flex;
  height: 4px;
  width: 80px;
  border-radius: 2px;
  overflow: hidden;
  margin: 14px 0 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.country-flag-stripe span { flex: 1; }

/* Цвета флагов (горизонтальные полосы — упрощённо) */
.country-flag-stripe.RU span:nth-child(1) { background: #ffffff; }
.country-flag-stripe.RU span:nth-child(2) { background: #002868; }
.country-flag-stripe.RU span:nth-child(3) { background: #d62718; }

.country-flag-stripe.BY span:nth-child(1) { background: #d22730; }
.country-flag-stripe.BY span:nth-child(2) { background: #007a3d; }
.country-flag-stripe.BY span:nth-child(3) { background: #ffffff; }

.country-flag-stripe.KZ span:nth-child(1) { background: #00afca; }
.country-flag-stripe.KZ span:nth-child(2) { background: #fec50c; }
.country-flag-stripe.KZ span:nth-child(3) { background: #00afca; }

.country-flag-stripe.GE span:nth-child(1) { background: #ffffff; }
.country-flag-stripe.GE span:nth-child(2) { background: #ff0000; }
.country-flag-stripe.GE span:nth-child(3) { background: #ffffff; }

.country-flag-stripe.RS span:nth-child(1) { background: #c6363c; }
.country-flag-stripe.RS span:nth-child(2) { background: #0c4076; }
.country-flag-stripe.RS span:nth-child(3) { background: #ffffff; }

.country-flag-stripe.TR span:nth-child(1) { background: #c8102e; }
.country-flag-stripe.TR span:nth-child(2) { background: #c8102e; }
.country-flag-stripe.TR span:nth-child(3) { background: #c8102e; }

.country-flag-stripe.AE span:nth-child(1) { background: #00732f; }
.country-flag-stripe.AE span:nth-child(2) { background: #ffffff; }
.country-flag-stripe.AE span:nth-child(3) { background: #ff0000; }

.country-flag-stripe.AM span:nth-child(1) { background: #d90012; }
.country-flag-stripe.AM span:nth-child(2) { background: #0033a0; }
.country-flag-stripe.AM span:nth-child(3) { background: #f2a800; }

.country-flag-stripe.TH span:nth-child(1) { background: #a51931; }
.country-flag-stripe.TH span:nth-child(2) { background: #2d2a4a; }
.country-flag-stripe.TH span:nth-child(3) { background: #f4f5f8; }

.country-flag-stripe.CY span:nth-child(1) { background: #d57800; }
.country-flag-stripe.CY span:nth-child(2) { background: #4e5b31; }
.country-flag-stripe.CY span:nth-child(3) { background: #d57800; }

.country-flag-stripe.PT span:nth-child(1) { background: #006600; }
.country-flag-stripe.PT span:nth-child(2) { background: #ff0000; }
.country-flag-stripe.PT span:nth-child(3) { background: #ff0000; }

.country-flag-stripe.ES span:nth-child(1) { background: #aa151b; }
.country-flag-stripe.ES span:nth-child(2) { background: #f1bf00; }
.country-flag-stripe.ES span:nth-child(3) { background: #aa151b; }

/* ===== Skip-to-content ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  background: var(--gold);
  color: #1a1a1a;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus { top: 8px; color: #1a1a1a; }
[data-theme="light"] .skip-link { color: white; }

/* ===== Mobile adjustments ===== */
@media (max-width: 640px) {
  .ticker-bar-top {
    font-size: 0.74rem;
    height: 32px;
  }
  .ticker-bar-item {
    padding: 0 18px;
  }
}
