:root {
  --bg: #050810;
  --surface: #0c1220;
  --surface2: #111a2e;
  --border: #1e2d4a;
  --accent: #00e5ff;
  --accent2: #ff6b35;
  --accent3: #7c3aed;
  --text: #e8edf5;
  --text2: #8899b4;
  --gold: #ffd166;
  --lighgrey: #e8edf51e;
  --green: #06ffa5;
  --red: #ff4060;
  --font-display: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  overflow-x: hidden;
  min-height: 100vh;
}
/* Animated background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(0,229,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(124,58,237,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(255,107,53,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Grid texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0,229,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }

/* ---- HEADER ---- */
header {
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  background:rgba(5,8,16,.92);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: 1400px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  animation: spin 20s linear infinite;
  box-shadow: 0 0 20px rgba(0,229,255,0.4);
}
@keyframes spin { to { transform: rotate(360deg); } }
.logo-text { font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -0.5px; }
.logo-text span { color: var(--accent); }
nav { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
nav a {
  color: var(--text2);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 6px;
  transition: all 0.2s;
  border: 1px solid transparent;
  letter-spacing: 0.3px;
}
nav a:hover { color: var(--accent); border-color: var(--accent); background: rgba(0,229,255,0.06); }
nav a.active { color: var(--accent); border-color: rgba(0,229,255,0.3); background: rgba(0,229,255,0.08); }

/* ---- HERO ---- */
.hero {
  padding: 80px 20px 60px;
  text-align: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(0,229,255,0.3);
  border-radius: 100px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--accent);
  margin-bottom: 28px;
  background: rgba(22, 97, 22, 0.151);
  letter-spacing: 1px;
}
.hero-badge::before { content: '●'; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;color:#ff0606} 50%{opacity:0.3} }
h1 {
  font-size: clamp(40px, 7vw, 90px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -3px;
  margin-bottom: 20px;
}
h1 em { font-style: normal; color: var(--accent); }
h1 .line2 { color: var(--text2); font-size: 0.6em; letter-spacing: -1px; }
.hero-sub {
  font-size: 18px;
  color: var(--text2);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
  font-weight: 400;
}

/* Big UTC clock */
.utc-display {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 60px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
}
.utc-display::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.utc-label { font-family: var(--font-mono); font-size: 11px; color: var(--text2); letter-spacing: 3px; margin-bottom: 8px; }
.utc-time { font-family: var(--font-mono); font-size: clamp(36px, 6vw, 72px); color: var(--accent); letter-spacing: -2px; font-weight: 700; }
.utc-date { font-size: 14px; color: var(--text2); margin-top: 6px; }

/* ---- SEARCH ---- */
.search-wrap {
  max-width: 600px;
  margin: 0 auto 60px;
  position: relative;
}
.search-input {
  width: 100%;
  padding: 18px 60px 18px 24px;
  background: Var(--lighgrey);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font-size: 16px;
  font-family: var(--font-display);
  outline: none;
  transition: all 0.3s;
}
.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.1);
}
.search-input::placeholder { color: var(--text2); }
.search-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text2);
  font-size: 20px;
}
#search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  z-index: 50;
  display: none;
}
#search-results.show { display: block; }
.search-result-item {
  padding: 14px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.15s;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
}
.search-result-item:hover { background: rgba(0,229,255,0.07); }
.search-result-item .flag { font-size: 20px; }
.search-result-item .city-name { font-weight: 600; }
.search-result-item .city-tz { color: var(--text2); font-size: 12px; font-family: var(--font-mono); }
.search-result-item .city-time { margin-left: auto; font-family: var(--font-mono); color: var(--accent); font-size: 14px; }

/* ---- SECTION TITLES ---- */
.section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.section-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
}
.section-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text2);
  background: var(--surface);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
}
.section { padding: 60px 0; }

/* ---- CONTINENT TABS ---- */
.continent-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.tab-btn {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: transparent;
  color: var(--text2);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.tab-btn:hover { border-color: var(--accent); color: var(--accent); }
.tab-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

/* ---- CITY CARDS GRID ---- */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.city-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.city-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,229,255,0.04), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s;
}
.city-card:hover {
  border-color: rgba(0,229,255,0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(0,229,255,0.1);
}
.city-card:hover::before { opacity: 1; }
.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}
.card-flag { font-size: 32px; line-height: 1; }
.card-offset {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text2);
  background: var(--surface2);
  padding: 4px 8px;
  border-radius: 6px;
}
.card-city {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 2px;
}
.card-country { font-size: 12px; color: var(--text2); margin-bottom: 16px; }
.card-time {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -1px;
  margin-bottom: 4px;
}
.card-date { font-size: 11px; color: var(--text2); font-family: var(--font-mono); }
.card-tz { font-size: 11px; color: var(--text2); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); font-family: var(--font-mono); }

/* DST badge */
.dst-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(255,209,102,0.15);
  color: var(--gold);
  font-size: 10px;
  font-family: var(--font-mono);
  margin-left: 6px;
  vertical-align: middle;
}

/* ---- TOOLS SECTION ---- */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.tool-icon {
  font-size: 36px;
  margin-bottom: 4px;
}
.tool-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.tool-desc { font-size: 13px; color: var(--text2); line-height: 1.5; }
.tool-card[data-color="cyan"] { border-color: rgba(0,229,255,0.25); }
.tool-card[data-color="cyan"]:hover { border-color: var(--accent); box-shadow: 0 20px 60px rgba(0,229,255,0.1); }
.tool-card[data-color="orange"] { border-color: rgba(255,107,53,0.25); }
.tool-card[data-color="orange"]:hover { border-color: var(--accent2); box-shadow: 0 20px 60px rgba(255,107,53,0.1); }
.tool-card[data-color="purple"] { border-color: rgba(124,58,237,0.25); }
.tool-card[data-color="purple"]:hover { border-color: var(--accent3); box-shadow: 0 20px 60px rgba(124,58,237,0.1); }
.tool-card[data-color="gold"] { border-color: rgba(255,209,102,0.25); }
.tool-card[data-color="gold"]:hover { border-color: var(--gold); box-shadow: 0 20px 60px rgba(255,209,102,0.1); }
.tool-card[data-color="green"] { border-color: rgba(6,255,165,0.25); }
.tool-card[data-color="green"]:hover { border-color: var(--green); box-shadow: 0 20px 60px rgba(6,255,165,0.1); }

/* ---- STATS ---- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-bottom: 60px;
  background: var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.stat-item {
  background: var(--surface);
  padding: 28px 24px;
  text-align: center;
}
.stat-num {
  font-size: 36px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent);
  letter-spacing: -2px;
}
.stat-label { font-size: 13px; color: var(--text2); margin-top: 4px; }

/* ---- FOOTER ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 20px 40px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto 40px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text2);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--text2);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text2);
}

/* ---- HIDDEN CONTINENTS ---- */
.continent-group { display: none; }
.continent-group.active { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }

/* ---- UTC BAR ---- */
.utc-bar {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  overflow: hidden;
}
.utc-bar-inner {
  display: flex;
  gap: 40px;
  animation: marquee 60s linear infinite;
  width: max-content;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.utc-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text2);
  white-space: nowrap;
}
.utc-bar-item .city { color: var(--text); font-weight: bold; }
.utc-bar-item .time { color: #ff4060; }

/* Responsive */
@media(max-width: 768px) {
  h1 { letter-spacing: -2px; }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav { display: none; }
}
@media(max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { padding: 12px 16px; }
}

.show-more-btn {
  display: block;
  margin: 32px auto 0;
  padding: 14px 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text2);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.show-more-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(0,229,255,0.05); }

/* ═══════════════ COOKIE CONSENT SYSTEM ═══════════════ */
#wtn-cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99999;
  background: linear-gradient(135deg, #0c1220 0%, #111a2e 100%);
  border-top: 1px solid #1e2d4a;
  box-shadow: 0 -8px 40px rgba(0,0,0,.6), 0 -1px 0 rgba(0,229,255,.15);
  padding: 0;
  transform: translateY(100%);
  transition: transform .45s cubic-bezier(.16,1,.3,1);
  font-family: 'Inter', sans-serif;
}
#wtn-cookie-banner.show { transform: translateY(0); }
#wtn-cookie-banner.hide { transform: translateY(110%); transition: transform .35s ease-in; }

.wtn-cookie-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.wtn-cookie-icon { font-size: 28px; flex-shrink: 0; }
.wtn-cookie-text { flex: 1; min-width: 260px; }
.wtn-cookie-text strong {
  display: block;
  color: #e8edf5;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -.2px;
}
.wtn-cookie-text p {
  color: #8899b4;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}
.wtn-cookie-text a {
  color: #00e5ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,229,255,.3);
  transition: border-color .2s;
}
.wtn-cookie-text a:hover { border-color: #00e5ff; }

.wtn-cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
}
.wtn-btn-accept-all {
  padding: 11px 22px;
  background: #00e5ff;
  color: #000;
  border: none;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.wtn-btn-accept-all:hover {
  background: #33ecff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,229,255,.35);
}
.wtn-btn-essential {
  padding: 11px 18px;
  background: transparent;
  color: #8899b4;
  border: 1px solid #1e2d4a;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.wtn-btn-essential:hover { border-color: #8899b4; color: #e8edf5; }
.wtn-btn-settings {
  padding: 11px 18px;
  background: transparent;
  color: #8899b4;
  border: 1px solid #1e2d4a;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.wtn-btn-settings:hover { border-color: #7c3aed; color: #7c3aed; }

/* ── COOKIE MODAL ── */
#wtn-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
#wtn-cookie-modal.show { opacity: 1; visibility: visible; }
.wtn-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,8,16,.85);
  backdrop-filter: blur(8px);
}
.wtn-modal-box {
  position: relative;
  background: #0c1220;
  border: 1px solid #1e2d4a;
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(0,229,255,.08);
  font-family: 'Inter', sans-serif;
}
.wtn-modal-box::-webkit-scrollbar { width: 4px; }
.wtn-modal-box::-webkit-scrollbar-track { background: #050810; }
.wtn-modal-box::-webkit-scrollbar-thumb { background: #1e2d4a; border-radius: 2px; }

.wtn-modal-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid #1e2d4a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: #0c1220;
  z-index: 2;
}
.wtn-modal-title {
  font-size: 18px;
  font-weight: 800;
  color: #e8edf5;
  letter-spacing: -.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wtn-modal-close {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid #1e2d4a;
  color: #8899b4;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  font-family: 'Inter', sans-serif;
}
.wtn-modal-close:hover { border-color: #ff4060; color: #ff4060; }

.wtn-modal-body { padding: 20px 24px; }
.wtn-modal-body p {
  color: #8899b4;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.wtn-modal-body p a { color: #00e5ff; text-decoration: none; }
.wtn-modal-body p a:hover { text-decoration: underline; }

/* Cookie Category Toggles */
.wtn-cookie-cat {
  background: #111a2e;
  border: 1px solid #1e2d4a;
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.wtn-cookie-cat:hover { border-color: rgba(0,229,255,.2); }
.wtn-cookie-cat-header {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 12px;
}
.wtn-cat-info { flex: 1; min-width: 0; }
.wtn-cat-name {
  font-size: 14px;
  font-weight: 700;
  color: #e8edf5;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wtn-cat-badge {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
  letter-spacing: .5px;
}
.wtn-badge-required { background: rgba(6,255,165,.12); color: #06ffa5; }
.wtn-badge-optional { background: rgba(0,229,255,.1); color: #00e5ff; }
.wtn-cat-desc { font-size: 12px; color: #8899b4; line-height: 1.5; }

/* Toggle Switch */
.wtn-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.wtn-toggle input { opacity: 0; width: 0; height: 0; }
.wtn-toggle-slider {
  position: absolute;
  inset: 0;
  background: #1e2d4a;
  border-radius: 12px;
  cursor: pointer;
  transition: background .25s;
}
.wtn-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 3px;
  background: #8899b4;
  border-radius: 50%;
  transition: transform .25s, background .25s;
}
.wtn-toggle input:checked + .wtn-toggle-slider { background: rgba(0,229,255,.2); border: 1px solid rgba(0,229,255,.4); }
.wtn-toggle input:checked + .wtn-toggle-slider::before { transform: translateX(20px); background: #00e5ff; }
.wtn-toggle input:disabled + .wtn-toggle-slider { opacity: .5; cursor: not-allowed; }
.wtn-toggle input:disabled + .wtn-toggle-slider::before { background: #06ffa5; transform: translateX(20px); }

/* Cookie Details Expand */
.wtn-cat-details {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.wtn-cat-details.open { max-height: 300px; padding: 0 18px 16px; }
.wtn-cookie-item {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px 16px;
  padding: 10px 0;
  border-top: 1px solid rgba(30,45,74,.5);
  font-size: 12px;
}
.wtn-cookie-item:first-child { border-top: none; }
.wtn-ci-name { font-family: 'JetBrains Mono', monospace; color: #00e5ff; font-size: 11px; }
.wtn-ci-purpose { color: #8899b4; }
.wtn-ci-duration { color: #ffd166; font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.wtn-expand-btn {
  background: transparent;
  border: none;
  color: #8899b4;
  font-size: 11px;
  cursor: pointer;
  padding: 6px 0 0;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color .2s;
}
.wtn-expand-btn:hover { color: #00e5ff; }
.wtn-expand-icon { transition: transform .3s; display: inline-block; }
.wtn-expand-icon.open { transform: rotate(180deg); }

/* Modal Footer */
.wtn-modal-footer {
  padding: 16px 24px 20px;
  border-top: 1px solid #1e2d4a;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  position: sticky;
  bottom: 0;
  background: #0c1220;
}
.wtn-modal-footer .wtn-btn-accept-all { flex: 1; max-width: 200px; text-align: center; }
.wtn-modal-footer .wtn-btn-save-pref {
  padding: 11px 20px;
  background: transparent;
  border: 1px solid #00e5ff;
  color: #00e5ff;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}
.wtn-modal-footer .wtn-btn-save-pref:hover { background: rgba(0,229,255,.08); }

/* Cookie Settings Float Button (shows after consent) */
#wtn-cookie-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #0c1220;
  border: 1px solid #1e2d4a;
  color: #8899b4;
  font-size: 20px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
  font-family: 'Inter', sans-serif;
}
#wtn-cookie-fab:hover { border-color: #00e5ff; color: #00e5ff; transform: scale(1.08); }
#wtn-cookie-fab.visible { display: flex; }

/* Consent toast notification */
.wtn-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99998;
  background: #0c1220;
  border: 1px solid rgba(6,255,165,.3);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #e8edf5;
  box-shadow: 0 8px 30px rgba(0,0,0,.5);
  transform: translateX(calc(100% + 32px));
  transition: transform .4s cubic-bezier(.16,1,.3,1);
  font-family: 'Inter', sans-serif;
}
.wtn-toast.show { transform: translateX(0); }
.wtn-toast-icon { font-size: 18px; }
.wtn-toast strong { color: #06ffa5; }

@media (max-width: 680px) {
  .wtn-cookie-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .wtn-cookie-actions { width: 100%; }
  .wtn-btn-accept-all, .wtn-btn-essential, .wtn-btn-settings { flex: 1; text-align: center; padding: 12px 10px; font-size: 13px; }
  .wtn-modal-box { border-radius: 16px 16px 0 0; max-height: 85vh; }
  #wtn-cookie-modal { align-items: flex-end; padding: 0; }
  .wtn-modal-footer .wtn-btn-accept-all { max-width: none; }
  .wtn-cookie-item { grid-template-columns: 1fr 1fr; }
  .wtn-ci-duration { grid-column: 1 / -1; }
}


.ticker-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  display: inline-block;
  vertical-align: middle;
}

.flag {
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
}

.card-flag {
  width: 30px;
  height: 21px;
  object-fit: cover;
  display: inline-block;
  vertical-align: middle;
}

.card-flag img {
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
}