/* gittik.biz — modern data-tool aesthetic, dual theme.
 * Verbatim port of the Claude design kit's styles.css with the
 * additions gittik needs for full pages (forms, map, mosaic spans).
 *
 * Tokens
 *   .gt-theme-dark | .gt-theme-light       — color theme (swappable)
 *   .gt-accent-{terracotta,amber,emerald,sky,violet}
 *
 * Type families
 *   Source Serif 4 (display) · Inter (UI/body) · JetBrains Mono (data)
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Source+Serif+4:opsz,ital,wght@8..60,0,400;8..60,0,500;8..60,1,400&display=swap');

/* ──────────── Token roots ──────────── */
.gt-theme-dark {
  --bg: #0A0A0C;
  --panel: #111114;
  --panel-2: #16161B;
  --border: #1F1F26;
  --border-strong: #2D2D38;
  --hover: #1A1A20;
  --text: #F4F4F5;
  --text-2: #B4B4BD;
  --text-3: #7A7A85;
  --text-faint: #4B4B55;
  --pin-dim: #28282F;
  --pin-mid: #3D3D48;
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 0 0 1px var(--border), 0 8px 24px rgba(0,0,0,.4);
  --shadow-card: 0 0 0 1px var(--border), 0 1px 0 rgba(255,255,255,.03) inset;
  --grid-line: rgba(255,255,255,.04);
  --code-bg: #0E0E12;
  color-scheme: dark;
}
.gt-theme-light {
  --bg: #F7F5F0;
  --panel: #FFFFFF;
  --panel-2: #FBF9F4;
  --border: #E4DFD3;
  --border-strong: #C9C2B0;
  --hover: #EDE9DF;
  --text: #14140F;
  --text-2: #4A4A42;
  --text-3: #74746A;
  --text-faint: #A39E92;
  --pin-dim: #DDD7C8;
  --pin-mid: #BFB7A2;
  --shadow: 0 0 0 1px var(--border), 0 8px 24px rgba(40,30,15,.06);
  --shadow-card: 0 0 0 1px var(--border);
  --grid-line: rgba(0,0,0,.05);
  --code-bg: #F2EFE6;
  color-scheme: light;
}

.gt-accent-terracotta { --accent: #FF6B35; --accent-soft: rgba(255,107,53,.12); --accent-line: rgba(255,107,53,.45); --accent-text: #FFFFFF; }
.gt-accent-amber      { --accent: #F59E0B; --accent-soft: rgba(245,158,11,.14); --accent-line: rgba(245,158,11,.5);  --accent-text: #14140F; }
.gt-accent-emerald    { --accent: #10B981; --accent-soft: rgba(16,185,129,.14);  --accent-line: rgba(16,185,129,.45); --accent-text: #052E22; }
.gt-accent-sky        { --accent: #4DA2FF; --accent-soft: rgba(77,162,255,.14);  --accent-line: rgba(77,162,255,.45); --accent-text: #00152E; }
.gt-accent-violet     { --accent: #A78BFA; --accent-soft: rgba(167,139,250,.14); --accent-line: rgba(167,139,250,.5);  --accent-text: #1E1430; }

/* ──────────── Base / reset ──────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-feature-settings: 'ss01','cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { filter: brightness(1.1); }

.gt-mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-feature-settings: 'ss01','zero'; }
.gt-serif { font-family: 'Source Serif 4', 'Times New Roman', serif; font-weight: 400; }
.gt-num { font-variant-numeric: tabular-nums; }
.gt-italic { font-style: italic; }
.gt-accent-text { color: var(--accent); }

/* ──────────── Chip ──────────── */
.gt-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 11px 6px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--text-2);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  transition: transform .14s cubic-bezier(.34,1.56,.64,1), background .14s, border-color .14s, color .14s;
  white-space: nowrap;
  text-decoration: none;
}
.gt-chip:hover { background: var(--hover); color: var(--text); }
.gt-chip:active { transform: scale(.94); }
.gt-chip.is-active {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent);
}
.gt-chip-label { font-family: 'Inter', sans-serif; font-weight: 500; }
.gt-chip-count { color: var(--text-faint); font-size: 11.5px; }
.gt-chip.is-active .gt-chip-count { color: var(--accent); opacity: .7; }

/* ──────────── Buttons ──────────── */
.gt-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  font-family: inherit; font-size: 14px; font-weight: 500;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none !important;
  transition: background .14s, border-color .14s, transform .12s;
}
.gt-btn:hover { background: var(--hover); border-color: var(--border-strong); filter: none; }
.gt-btn:active { transform: translateY(1px); }
.gt-btn-primary {
  background: var(--accent); color: var(--accent-text) !important; border-color: var(--accent);
}
.gt-btn-primary:hover { filter: brightness(1.08); background: var(--accent); }
.gt-btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text-3);
}
.gt-btn-ghost:hover { color: var(--text); background: var(--hover); border-color: var(--border); }

/* ──────────── Card ──────────── */
.gt-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 4px;
  position: relative;
}
.gt-hover-lift { transition: transform .18s cubic-bezier(.2,.7,.3,1), border-color .14s; }
.gt-hover-lift:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.gt-inset { box-shadow: inset 0 1px 0 var(--border); }

/* ──────────── Section meta-label ──────────── */
.gt-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ──────────── Map dots & pins ──────────── */
.gt-dot-land  { fill: var(--pin-mid); }
.gt-dot-ocean { fill: var(--pin-dim); }
.gt-pin       { fill: var(--accent); }
.gt-pin-origin { fill: var(--text); }
@keyframes gt-pulse {
  0%, 100% { opacity: .35; transform: scale(1); }
  50%      { opacity: .8;  transform: scale(2.2); }
}
.gt-pin-pulse {
  fill: var(--accent);
  transform-origin: center;
  transform-box: fill-box;
  animation: gt-pulse 2.6s ease-in-out infinite;
}

/* ──────────── Compass strip (v2 — numbered step rows) ──────────── */
.gt-strip {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: center;
  gap: 20px;
  padding: 18px 40px;
  border-top: 1px solid var(--border);
}
.gt-strip-step {
  display: flex; align-items: center; gap: 14px;
}
.gt-strip-num {
  width: 30px; height: 30px; border-radius: 15px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  color: var(--text-3);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600;
  flex-shrink: 0;
}
.gt-strip-num.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
}
.gt-strip-title {
  font-size: 18px; font-weight: 600; color: var(--text);
  letter-spacing: -0.01em; line-height: 1.1;
}
.gt-strip-hint {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--text-3); margin-top: 3px; letter-spacing: .06em;
}
.gt-strip-chips { display: flex; flex-wrap: wrap; gap: 7px; }

/* ──────────── Cover image fallback ──────────── */
.gt-cover-fallback {
  background:
    radial-gradient(ellipse at 30% 20%, var(--accent-soft) 0%, transparent 60%),
    linear-gradient(135deg, var(--panel-2), var(--panel));
}
.gt-cover-grid {
  position: absolute;
  inset: 0;
  opacity: .25;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--text-3) 0, var(--text-3) 0.5px, transparent 0.5px, transparent 40px),
    linear-gradient(to bottom, var(--text-3) 0, var(--text-3) 0.5px, transparent 0.5px, transparent 40px);
  background-size: 40px 40px;
}

/* ──────────── Mosaic grid ──────────── */
.gt-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.gt-mosaic > .gt-span-3  { grid-column: span 3; }
.gt-mosaic > .gt-span-4  { grid-column: span 4; }
.gt-mosaic > .gt-span-6  { grid-column: span 6; }

/* ──────────── Section divider w/ tick ──────────── */
.gt-divider {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.gt-divider::before { content: ''; width: 6px; height: 6px; background: var(--accent); }

/* ──────────── Top nav ──────────── */
.gt-nav {
  display: flex; align-items: center;
  padding: 16px 28px;
  border-bottom: 1px solid var(--border);
  gap: 18px;
}
.gt-logo {
  font-weight: 700; letter-spacing: -0.02em; font-size: 18px;
  color: var(--text) !important;
  text-decoration: none !important;
}
.gt-logo span { color: var(--accent); }
.gt-nav-sep { width: 1px; height: 14px; background: var(--border); margin: 0 4px; }
.gt-link {
  color: var(--text-2); text-decoration: none; font-size: 14px;
}
/* Accent swatches row (nav) */
.gt-accent-row {
  display: flex; gap: 4px; margin-left: 8px;
}
.gt-accent-swatch {
  width: 14px; height: 14px; border-radius: 7px;
  background: var(--swatch);
  padding: 0;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform .14s, border-color .14s;
  text-decoration: none !important;
  display: inline-block;
}
.gt-accent-swatch:hover { transform: scale(1.15); }
.gt-accent-swatch.is-active { border: 2px solid var(--text); }
/* Theme toggle */
.gt-theme-toggle {
  width: 30px; height: 30px; border-radius: 4px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
  cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: 4px;
  text-decoration: none !important;
}
.gt-theme-toggle:hover { background: var(--hover); color: var(--text); }
.gt-link:hover { color: var(--text); filter: none; }
.gt-link.is-active { color: var(--text); font-weight: 500; }
.gt-nav-logout {
  display: inline; margin: 0; padding: 0;
}
.gt-nav-bell {
  position: relative;
  display: inline-flex; align-items: center;
  padding: 4px;
}
.gt-nav-bell-dot {
  position: absolute; top: 2px; right: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  border: 1.5px solid var(--bg);
}
.gt-nav-logout button {
  background: transparent; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: var(--text-2);
}
.gt-nav-logout button:hover { color: var(--text); }

/* ──────────── Flag badge ──────────── */
.gt-flag {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: #fff;
  border-radius: 2px;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.gt-flag-DE { background: hsl(45 90% 50%); }
.gt-flag-NL { background: hsl(20 90% 50%); }
.gt-flag-US { background: hsl(210 80% 55%); }
.gt-flag-CA { background: hsl(0 75% 55%); }
.gt-flag-GB { background: hsl(220 60% 50%); }
.gt-flag-SE { background: hsl(50 85% 55%); }
.gt-flag-FR { background: hsl(220 70% 55%); }
.gt-flag-CH { background: hsl(0 80% 55%); }
.gt-flag-AT { background: hsl(0 70% 55%); }
.gt-flag-IE { background: hsl(140 50% 45%); }
.gt-flag-AU { background: hsl(220 60% 50%); }
.gt-flag-JP { background: hsl(0 80% 55%); }
.gt-flag-AE { background: hsl(140 50% 45%); }
.gt-flag-DK { background: hsl(0 80% 55%); }
.gt-flag-NO { background: hsl(220 60% 50%); }
.gt-flag-ES { background: hsl(40 90% 50%); }
.gt-flag-IT { background: hsl(140 60% 40%); }
.gt-flag-PT { background: hsl(140 60% 40%); }
.gt-flag-BE { background: hsl(50 85% 55%); }
.gt-flag-NZ { background: hsl(220 70% 35%); }
.gt-flag-XX { background: var(--pin-mid); }

/* ──────────── Page layout shell ──────────── */
/* The design's artboards are 1440 wide. We mirror that as a boxed
   container that centers on wider screens and naturally fills on
   narrow ones. The vertical column rail (border on both sides + a
   subtle outer gutter color) makes the box read as a real surface,
   not just centered content. */
.gt-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 1440px;
  margin: 0 auto;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: var(--bg);
}
.gt-page-main {
  flex: 1;
}
/* Outer gutter outside the box — slightly darker than --bg for dark,
   slightly warmer for light. Pure aesthetic; the 1440 box anchors. */
html.gt-theme-dark  body { background: #06060A; }
html.gt-theme-light body { background: #EFEBE0; }
.gt-footer {
  padding: 20px 40px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--text-3);
}
.gt-footer a { color: var(--text-3); letter-spacing: .06em; }
.gt-footer a:hover { color: var(--text); }

/* ──────────── Home / Atlas ──────────── */
.gt-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  padding: 28px 40px 16px;
  border-bottom: 1px solid var(--border);
  gap: 40px;
}
.gt-hero-title {
  font-family: 'Source Serif 4', serif;
  font-size: 64px;
  line-height: 1;
  margin-top: 6px;
  letter-spacing: -0.025em;
  color: var(--text);
  font-weight: 400;
}
.gt-hero-title em { color: var(--accent); font-style: italic; }
.gt-hero-sub {
  font-size: 14px;
  color: var(--text-2);
  margin-top: 14px;
  max-width: 600px;
  line-height: 1.5;
}
.gt-hero-sub em { font-family: 'JetBrains Mono', monospace; font-style: normal; color: var(--text); }
.gt-hero-stat {
  text-align: right;
}
.gt-hero-stat-num {
  font-family: 'Source Serif 4', serif;
  font-size: 96px;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.gt-hero-stat-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: .12em;
}
.gt-hero-stat-foot {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-3);
  margin-top: 6px;
  letter-spacing: .04em;
}
.gt-hero-stat-foot strong { color: var(--text); font-weight: 500; }

.gt-map-row {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 0;
  border-bottom: 1px solid var(--border);
}
.gt-map-panel {
  padding: 32px 40px;
  position: relative;
  border-right: 1px solid var(--border);
}
.gt-map-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.gt-map-legend {
  display: flex; gap: 14px; font-size: 11px;
}
.gt-map-legend > span {
  display: flex; align-items: center; gap: 6px;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .04em;
}
.gt-map-legend-pin {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.gt-map-legend-orig {
  width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--text);
}

.gt-country-list {
  padding: 32px 28px;
}
.gt-country-list-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 16px;
}
.gt-country-row {
  display: grid;
  grid-template-columns: 18px 1fr auto 42px;
  gap: 10px; align-items: center;
  padding: 9px 4px;
  border: 0;
  border-top: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  color: var(--text);
  text-align: left;
  text-decoration: none !important;
  transition: background .14s, color .14s;
  font-family: inherit;
}
.gt-country-row:hover { background: var(--hover); }
.gt-country-row.is-active { background: var(--accent-soft); }
.gt-country-row.is-active .gt-country-name { color: var(--accent); font-weight: 600; }
.gt-country-row.is-active .gt-country-count { color: var(--accent); }
.gt-country-row.is-active .gt-country-bar > div { background: var(--accent); }
.gt-country-name { font-size: 13px; color: var(--text); }
.gt-country-count {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--text-3); font-variant-numeric: tabular-nums;
}
.gt-country-bar {
  width: 42px; height: 3px; background: var(--border); position: relative;
}
.gt-country-bar > div {
  position: absolute; top: 0; left: 0; bottom: 0;
  background: var(--text-3); transition: width .3s;
}
.gt-circle-mark {
  width: 10px; height: 10px;
  border-radius: 5px;
  border: 1.2px solid var(--text-3);
}
.gt-country-row.is-active .gt-circle-mark { background: var(--accent); border-color: var(--accent); }
.gt-country-list-foot {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--text-3);
}

.gt-compass {
  background: var(--panel-2);
  border-bottom: 1px solid var(--border);
}
.gt-compass-head {
  padding: 24px 40px 6px;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px;
}
.gt-compass-title {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-size: 30px; line-height: 1.05; letter-spacing: -0.02em;
  margin-top: 4px; margin-bottom: 0;
  color: var(--text); font-weight: 400;
}
.gt-compass-sub {
  font-size: 14px; color: var(--text-2);
  margin: 6px 0 0;
  max-width: 640px;
  line-height: 1.5;
}
.gt-compass-actions {
  display: flex; align-items: center; gap: 14px;
  white-space: nowrap;
}

.gt-feature {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
}
.gt-feature-cover {
  position: relative; min-height: 440px;
  border-right: 1px solid var(--border);
  padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.gt-feature-eyebrow {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: .14em;
}
.gt-feature-eyebrow-divider { width: 1px; height: 10px; background: var(--text-3); }
.gt-feature-title {
  position: relative;
  font-family: 'Source Serif 4', serif;
  font-size: 44px; line-height: 1.02; color: var(--text);
  letter-spacing: -0.02em;
  text-wrap: pretty;
  font-weight: 400;
}
.gt-feature-byline {
  display: flex; align-items: center; gap: 10px;
  margin-top: 18px;
  font-size: 13px;
}
.gt-avatar {
  width: 30px; height: 30px; border-radius: 15px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  overflow: hidden;
  flex-shrink: 0;
}
.gt-avatar-img {
  object-fit: cover;
  display: block;
  padding: 0;
}
.gt-feature-right {
  padding: 32px 40px;
  display: flex; flex-direction: column; gap: 24px;
}
.gt-feature-quote {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-family: 'Source Serif 4', serif;
  font-size: 22px; line-height: 1.4;
  color: var(--text);
  font-style: italic;
  text-wrap: pretty;
}
.gt-feature-stats {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.gt-stat-group { display: flex; gap: 24px; }
.gt-stat-key {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--text-3); letter-spacing: .1em;
}
.gt-stat-val {
  font-family: 'Source Serif 4', serif;
  font-variant-numeric: tabular-nums;
  font-size: 18px; margin-top: 2px;
  color: var(--text);
}

.gt-feed-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}
/* Sort tabs (new/top/hot) */
.gt-sort-tabs {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  background: var(--panel);
}
.gt-sort-tab {
  padding: 6px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  text-decoration: none !important;
  border-radius: 999px;
  transition: background .14s, color .14s;
}
.gt-sort-tab:hover { color: var(--text); filter: none; }
.gt-sort-tab.is-active {
  background: var(--accent);
  color: var(--accent-text) !important;
}
.gt-feed-section {
  padding: 32px 40px;
}
.gt-feed-applied {
  margin-top: 6px; font-size: 13px; color: var(--text-2);
}
.gt-feed-applied b {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  font-weight: 500;
}

.gt-empty {
  padding: 60px 20px;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: 4px;
}
.gt-empty-title {
  font-family: 'Source Serif 4', serif;
  font-size: 24px;
  color: var(--text-2);
}
.gt-empty-sub {
  font-size: 13px; color: var(--text-3); margin-top: 8px;
}

/* ──────────── Story card (mosaic) ──────────── */
.gt-story-card {
  padding: 16px;
  cursor: pointer;
  display: flex; flex-direction: column; gap: 10px;
  height: 100%;
  text-decoration: none !important;
  color: inherit;
}
.gt-story-card-lg { padding: 20px; }
.gt-story-card-sm { padding: 14px; }
.gt-story-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-2);
}
.gt-story-meta-faint { color: var(--text-faint); }
.gt-story-meta-spacer { flex: 1; }
.gt-story-title {
  font-family: 'Source Serif 4', serif;
  font-size: 17px; line-height: 1.22;
  color: var(--text);
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.gt-story-card-lg .gt-story-title { font-size: 22px; line-height: 1.18; }
.gt-story-card-sm .gt-story-title { font-size: 15px; line-height: 1.25; }
.gt-story-excerpt {
  font-size: 12px; color: var(--text-2); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.gt-story-card-lg .gt-story-excerpt { -webkit-line-clamp: 3; }
.gt-story-codes {
  display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px;
}
.gt-story-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 2px 5px;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-3);
}
.gt-story-author {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-faint);
  text-decoration: none !important;
}
.gt-story-author:hover { color: var(--text-2); }

/* ──────────── Comments ──────────── */
.gt-comments {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.gt-comments-title {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.gt-comments-count {
  font-size: 14px; color: var(--text-3);
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.gt-comments-list { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.gt-comment {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 12px 0;
}
.gt-comment-reply {
  margin-left: 44px;
  border-left: 2px solid var(--border);
  padding-left: 14px;
}
.gt-comment-deleted .gt-comment-text { color: var(--text-faint); font-style: italic; }
.gt-comment-avatar {
  width: 32px; height: 32px;
  border-radius: 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  overflow: hidden;
  flex-shrink: 0;
}
.gt-comment-avatar.gt-avatar-img { padding: 0; object-fit: cover; }
.gt-comment-body { min-width: 0; }
.gt-comment-head {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 4px;
}
.gt-comment-handle { color: var(--text); text-decoration: none; font-weight: 500; font-size: 14px; }
.gt-comment-handle:hover { color: var(--accent); }
.gt-comment-time { font-size: 12px; color: var(--text-3); }
.gt-comment-text {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  word-wrap: break-word;
  white-space: pre-wrap;
}
.gt-comment-foot {
  display: flex; gap: 14px;
  margin-top: 6px;
  font-size: 12px;
}
.gt-comment-foot summary {
  list-style: none;
  cursor: pointer;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .04em;
}
.gt-comment-foot summary::-webkit-details-marker { display: none; }
.gt-comment-foot summary:hover { color: var(--accent); }
.gt-comment-link {
  background: transparent; border: 0; padding: 0;
  cursor: pointer;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .04em;
}
.gt-comment-link:hover { color: var(--accent); }
.gt-comment-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  outline: none;
  resize: vertical;
  min-height: 64px;
}
.gt-comment-input:focus {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.gt-mention {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.gt-mention:hover { text-decoration: underline; }
.gt-comment-composer { margin-bottom: 16px; }

/* Story share buttons row */
.gt-story-share {
  margin: 32px 0 0;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
}
.gt-story-share span { margin-right: 6px; }

/* ──────────── Vote widget ──────────── */
.gt-vote {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0;
  padding: 6px 8px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.gt-vote-btn {
  background: transparent;
  border: 0;
  padding: 6px;
  border-radius: 4px;
  color: var(--text-3);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .14s, color .14s;
}
.gt-vote-btn:hover { background: var(--hover); color: var(--text); }
.gt-vote-btn.is-active { color: var(--accent); }
.gt-vote-btn.is-active.is-down { color: #6B6B73; }
.gt-vote-score {
  min-width: 28px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

/* Mini score badge on mosaic cards */
.gt-story-score {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.gt-story-score svg { width: 8px; height: 8px; }

/* ──────────── Story detail page ──────────── */
.gt-story-page {
  padding: 32px 40px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
}
.gt-story-main { min-width: 0; }
.gt-story-rail {
  border-left: 1px solid var(--border);
  padding-left: 24px;
}
.gt-story-back {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: .06em;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 24px;
}
.gt-story-back:hover { color: var(--text); }
.gt-story-eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.gt-story-eyebrow > span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .12em;
}
.gt-story-page-title {
  font-family: 'Source Serif 4', serif;
  font-size: 56px; line-height: 1.05;
  color: var(--text);
  letter-spacing: -0.02em;
  text-wrap: pretty;
  font-weight: 400;
}
.gt-story-byline {
  display: flex; align-items: center; gap: 10px;
  margin-top: 16px;
  font-size: 13px; color: var(--text-2);
}
.gt-story-body {
  font-family: 'Source Serif 4', serif;
  font-size: 20px; line-height: 1.6;
  color: var(--text);
  margin-top: 36px;
  max-width: 640px;
  text-wrap: pretty;
}
.gt-story-body p { margin: 0 0 22px; }
.gt-story-scorecard {
  margin-top: 28px;
  padding: 24px 26px;
  background: var(--accent-soft);
  border-radius: 4px;
  display: grid; gap: 16px;
}
.gt-scorecard-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  align-items: start;
}
.gt-scorecard-row dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--accent);
  padding-top: 6px;
}
.gt-scorecard-row dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gt-chip-readonly { cursor: default; }
.gt-chip-readonly:hover { background: transparent; color: var(--text-2); }
/* Sentiment tints — applied to "found" chips so positive/negative
   outcomes read at a glance from every card. Light-mode greens/reds
   tweak slightly for dark mode. */
.gt-chip-pos {
  background: rgba(16,185,129,.12) !important;
  border-color: rgba(16,185,129,.42) !important;
  color: #047857 !important;
}
html.gt-theme-dark .gt-chip-pos { color: #34D399 !important; }
.gt-chip-neg {
  background: rgba(220,38,38,.10) !important;
  border-color: rgba(220,38,38,.38) !important;
  color: #B91C1C !important;
}
html.gt-theme-dark .gt-chip-neg { color: #FCA5A5 !important; }
.gt-chip-readonly.is-other {
  background: var(--accent); color: #fff; border-color: var(--accent);
  font-style: italic;
}

/* ──────────── Profile ──────────── */
.gt-profile-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px; align-items: center;
  padding: 32px 40px 28px;
  border-bottom: 1px solid var(--border);
}
.gt-profile-photo {
  width: 96px; height: 96px;
  border-radius: 4px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  color: var(--accent);
  font-weight: 600;
  font-family: 'Source Serif 4', serif;
  object-fit: cover;
}
.gt-profile-name {
  display: flex; align-items: baseline; gap: 10px;
}
.gt-profile-name h1 {
  font-family: 'Source Serif 4', serif;
  font-size: 36px;
  letter-spacing: -0.02em;
  margin: 0; font-weight: 400; color: var(--text);
}
.gt-profile-handle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; color: var(--text-3);
}
.gt-profile-bio {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.5;
}
.gt-profile-meta-row {
  display: flex; gap: 18px;
  font-size: 13px; color: var(--text-2);
  margin-top: 8px; align-items: center; flex-wrap: wrap;
}
.gt-profile-meta-row > span { display: flex; align-items: center; gap: 6px; }
.gt-profile-meta-sep { color: var(--text-faint); }
.gt-profile-stats {
  display: flex; gap: 24px;
  margin-top: 16px;
}
.gt-profile-stat-num {
  font-family: 'Source Serif 4', serif;
  font-variant-numeric: tabular-nums;
  font-size: 20px; color: var(--text);
}
.gt-profile-stat-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: .1em;
}
.gt-profile-actions {
  display: flex; flex-direction: column; gap: 8px; align-items: flex-end;
}

/* ──────────── Submit / wizard v2 — single-page with progress dial ──── */
.gt-submit-head {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 20px;
}
.gt-submit-title {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-size: 44px;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 6px 0 0;
  color: var(--text);
  font-weight: 400;
}
.gt-submit-title em { color: var(--accent); font-style: italic; }
.gt-submit-sub {
  font-size: 14px;
  color: var(--text-2);
  margin: 10px 0 0;
  max-width: 600px;
  line-height: 1.5;
}
.gt-submit-progress {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 8px;
}
.gt-submit-bars {
  display: flex; gap: 4px;
}
.gt-submit-bars > span {
  width: 28px; height: 4px;
  border-radius: 2px;
  background: var(--border);
}

.gt-submit-section {
  display: flex;
  flex-direction: column;
}
.gt-submit-section-head {
  display: flex; align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
}
.gt-submit-section-num {
  width: 30px; height: 30px; border-radius: 4px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600;
  flex-shrink: 0;
  align-self: center;
}
.gt-submit-section-title {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  font-weight: 400;
}
.gt-submit-section-rule {
  flex: 1; height: 1px; background: var(--border);
  align-self: center;
}
.gt-submit-section-body {
  padding-left: 44px;
}

/* Big pick grid (4 wide) for Step 2 (Why) */
.gt-pick-quad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.gt-pick-box {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  color: var(--text);
  font-family: inherit;
  text-align: left;
  transition: background .14s, border-color .14s, transform .12s;
}
.gt-pick-box:hover { background: var(--hover); border-color: var(--border-strong); }
.gt-pick-box.is-active {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent);
}
.gt-pick-box .gt-pick-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; opacity: .7; min-width: 30px;
}
.gt-pick-box .gt-pick-label {
  font-size: 14px; font-weight: 500; flex: 1;
}
.gt-pick-box .gt-pick-check {
  width: 16px; height: 16px; border-radius: 8px;
  border: 1.5px solid var(--border-strong);
  background: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.gt-pick-box.is-active .gt-pick-check {
  background: var(--accent); border-color: var(--accent);
}
.gt-pick-box .gt-pick-check svg { display: none; }
.gt-pick-box.is-active .gt-pick-check svg { display: block; }

/* Submit actions at end of left column */
.gt-submit-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  gap: 20px;
}

/* Preview stats grid in right rail */
.gt-preview-stats {
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ──────────── Forms / wizard ──────────── */
.gt-wizard {
  display: grid;
  grid-template-columns: 1fr 380px;
  min-height: calc(100vh - 60px);
}
.gt-wizard-left {
  padding: 32px 36px 40px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  gap: 36px;
}
.gt-wizard-section-title {
  font-family: 'Source Serif 4', serif;
  font-size: 42px; line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 6px; margin-bottom: 8px;
  color: var(--text); font-weight: 400;
}
.gt-wizard-section-title em { color: var(--accent); font-style: italic; }
.gt-wizard-section-sub {
  font-size: 14px; color: var(--text-2); max-width: 520px;
  line-height: 1.5; margin-bottom: 28px;
}
.gt-field {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 22px;
}
.gt-field-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--text-3);
  display: flex; justify-content: space-between; align-items: baseline;
}
.gt-input,
.gt-textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 3px;
  font-family: inherit;
  outline: none;
  transition: border-color .14s, box-shadow .14s;
}
.gt-input-serif {
  font-family: 'Source Serif 4', serif;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.gt-textarea {
  resize: vertical; min-height: 140px; line-height: 1.6;
}
.gt-input:focus, .gt-textarea:focus {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.gt-input::placeholder, .gt-textarea::placeholder { color: var(--text-faint); }
.gt-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.gt-pick {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.gt-pick-option {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 3px;
  cursor: pointer;
  color: var(--text);
  font-family: inherit; text-align: left;
  transition: background .14s, border-color .14s;
  user-select: none;
}
.gt-pick-option:hover { background: var(--hover); }
.gt-pick-option.is-active {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent);
}
.gt-pick-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; opacity: .7;
  min-width: 32px;
}
.gt-pick-label {
  font-size: 15px; font-weight: 500;
}
.gt-pick-spacer { flex: 1; }
.gt-pick-check {
  width: 16px; height: 16px; border-radius: 8px;
  border: 1.5px solid var(--border-strong);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
}
.gt-pick-option.is-active .gt-pick-check {
  background: var(--accent); border-color: var(--accent);
}
.gt-pick-check svg { display: none; }
.gt-pick-option.is-active .gt-pick-check svg { display: block; }

.gt-pick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.gt-step-progress {
  padding: 14px 40px;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}
.gt-step-list { display: flex; gap: 0; }
.gt-step {
  background: transparent; border: 0;
  cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  padding: 4px 12px;
  opacity: .5;
  color: var(--text);
  font-family: inherit;
  text-decoration: none;
  transition: opacity .15s;
}
.gt-step:hover { opacity: .8; }
.gt-step.is-current { opacity: 1; }
.gt-step.is-done { opacity: .7; }
.gt-step-num {
  width: 20px; height: 20px; border-radius: 10px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 600; font-family: 'JetBrains Mono', monospace;
}
.gt-step.is-current .gt-step-num {
  background: var(--accent);
  border-color: var(--accent-line);
  color: var(--accent-text);
}
.gt-step.is-done .gt-step-num {
  background: var(--accent-soft);
  border-color: var(--accent-line);
}
.gt-step-label {
  font-size: 13px;
}
.gt-step.is-current .gt-step-label { font-weight: 600; }
.gt-step-foot { display: flex; gap: 10px; align-items: center; }

.gt-wizard-right {
  padding: 32px 24px;
  background: var(--panel-2);
  display: flex; flex-direction: column;
  gap: 18px;
  overflow-y: auto;
}
.gt-preview-pin {
  margin-top: 20px;
  padding: 16px;
  border: 1px dashed var(--border-strong);
  border-radius: 3px;
}
.gt-preview-pin-row {
  display: flex; align-items: center; gap: 10px;
}
.gt-preview-pin-dot {
  position: relative; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
}
.gt-preview-pin-pulse {
  position: absolute; width: 28px; height: 28px; border-radius: 14px;
  background: var(--accent); opacity: .18;
  animation: gt-pulse 2s ease-in-out infinite;
}
.gt-preview-pin-core {
  position: relative; width: 10px; height: 10px;
  border-radius: 5px; background: var(--accent);
}
.gt-wizard-nav {
  display: flex; gap: 10px; margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.gt-wizard-nav-spacer { flex: 1; }

/* ──────────── Survey block (single-page submit fallback) ──────────── */
.gt-survey-section {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 18px 20px 16px;
  margin-bottom: 20px;
}
.gt-survey-section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 12px;
}
.gt-survey-other {
  display: block; margin-top: 12px;
  width: 100%; padding: 10px 12px;
  border: 1px dashed var(--border-strong);
  background: var(--panel);
  color: var(--text);
  border-radius: 3px;
  font-family: 'Source Serif 4', serif;
  font-size: 14px; font-style: italic;
  outline: none;
  transition: border-color .14s, background .14s;
}
.gt-survey-other:focus {
  border-style: solid; border-color: var(--accent-line);
  background: var(--panel);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.gt-survey-other::placeholder { color: var(--text-faint); font-style: italic; }

/* ──────────── Auth pages ──────────── */
.gt-auth {
  max-width: 380px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.gt-auth h1 {
  font-family: 'Source Serif 4', serif;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--text);
  font-weight: 400;
}
.gt-auth-form {
  display: flex; flex-direction: column; gap: 18px;
}
.gt-auth-form > .gt-field { margin-bottom: 0; }
.gt-auth-alt {
  margin-top: 18px;
  color: var(--text-3);
  font-size: 14px;
}
.gt-auth-alt a { color: var(--accent); }
.gt-err {
  color: var(--accent);
  font-size: 13px;
  padding: 10px 14px;
  background: var(--accent-soft);
  border-radius: 3px;
  border-left: 2px solid var(--accent);
}

/* ──────────── Country landing page (/ulke/:slug) ──────────── */
.gt-country-hero {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  padding: 32px 40px;
  border-bottom: 1px solid var(--border);
}
.gt-country-hero-left { min-width: 0; }
.gt-country-title {
  display: flex; align-items: center; gap: 14px;
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin: 8px 0 0;
  color: var(--text);
}
.gt-country-title em { color: var(--accent); font-style: italic; }
.gt-country-sub {
  font-size: 15px;
  color: var(--text-2);
  margin: 14px 0 22px;
  max-width: 540px;
  line-height: 1.5;
}
.gt-country-stats {
  display: flex; gap: 28px;
  margin-top: 6px;
}
.gt-country-hero-right {
  border-left: 1px solid var(--border);
  padding-left: 32px;
}
.gt-year-bars {
  display: flex; gap: 6px;
  align-items: flex-end;
  height: 140px;
  margin-top: 14px;
  padding-bottom: 30px;
  position: relative;
}
.gt-year-bar {
  flex: 1;
  height: 100%;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  position: relative;
}
.gt-year-bar-fill {
  background: var(--accent);
  width: 100%;
  min-height: 2px;
  border-radius: 1px 1px 0 0;
  transition: height .3s;
}
.gt-year-bar-label {
  position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: .04em;
}
.gt-year-bar-count {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  font-size: 10px;
  color: var(--text);
}

.gt-country-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
}
.gt-country-summary > div {
  padding: 20px 40px;
}
.gt-country-summary > div:first-child {
  border-right: 1px solid var(--border);
}

/* ──────────── Insights bars ──────────── */
.gt-insight-row {
  display: grid;
  grid-template-columns: 42px 1fr 100px 42px;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
}
.gt-insight-code {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: .02em;
}
.gt-insight-label {
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gt-insight-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.gt-insight-bar > span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}
.gt-insight-n {
  text-align: right;
  font-size: 13px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

/* ──────────── Notifications + profile tabs ──────────── */
.gt-profile-tabs {
  display: flex;
  gap: 4px;
  padding: 16px 40px 0;
  border-top: 1px solid var(--border);
}
.gt-notif-list {
  display: flex; flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}
.gt-notif {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.gt-notif.is-unread { background: var(--accent-soft); padding-left: 14px; padding-right: 14px; }
.gt-notif-line {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}
.gt-notif-link {
  color: var(--text);
  font-weight: 500;
}
.gt-notif-link:hover { color: var(--accent); }

/* ──────────── Compare (/karsilastir) ──────────── */
.gt-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 600px;
}
.gt-compare-col {
  display: flex; flex-direction: column;
  position: relative;
}
.gt-compare-col-sep { border-right: 1px solid var(--border); }
.gt-compare-pick {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--panel-2);
  display: flex; align-items: center; gap: 10px;
  position: relative;
}
.gt-compare-pick-id { flex: 1; min-width: 0; }
.gt-compare-pick-id > a { font-size: 15px; font-weight: 500; }
.gt-compare-swap {
  position: relative;
}
.gt-compare-swap summary {
  list-style: none;
  background: transparent;
  border: 1px solid var(--border);
  width: 24px; height: 24px; border-radius: 3px;
  color: var(--text-3);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.gt-compare-swap summary::-webkit-details-marker { display: none; }
.gt-compare-swap[open] summary { color: var(--accent); border-color: var(--accent-line); }
.gt-compare-swap-menu {
  position: absolute; top: 100%; right: 0;
  min-width: 220px;
  margin-top: 4px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 4px;
  box-shadow: var(--shadow);
  max-height: 280px; overflow-y: auto;
  z-index: 10;
}
.gt-compare-swap-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 8px;
  text-decoration: none !important;
  color: var(--text);
  font-size: 13px;
  border-radius: 3px;
}
.gt-compare-swap-item:hover { background: var(--hover); filter: none; }

.gt-compare-title { padding: 24px 20px 18px; border-bottom: 1px solid var(--border); }
.gt-compare-stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.gt-compare-stats > div {
  padding: 12px 14px;
  border-right: 1px solid var(--border);
}
.gt-compare-stats > div:last-child { border-right: 0; }

.gt-compare-scorecard {
  padding: 20px;
  display: flex; flex-direction: column;
  gap: 18px; flex: 1;
}
.gt-compare-dim-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.gt-compare-dim-chips { display: flex; flex-wrap: wrap; gap: 5px; }
/* Compare chip shading rules */
.gt-chip.is-shared-any {
  border-color: var(--accent-line);
  color: var(--accent);
  opacity: .75;
}
.gt-chip.is-faint { color: var(--text-faint); border-color: var(--border); }

.gt-compare-quote {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: var(--panel-2);
}

.gt-compare-insight {
  border-top: 2px solid var(--accent);
  padding: 24px 40px;
  background: var(--panel-2);
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 24px;
  align-items: center;
}
.gt-compare-insight em { color: var(--accent); font-style: italic; font-weight: 500; }

/* ──────────── Responsive ──────────── */
@media (max-width: 960px) {
  .gt-hero { grid-template-columns: 1fr; }
  .gt-hero-stat { text-align: left; }
  .gt-hero-title { font-size: 44px; }
  .gt-hero-stat-num { font-size: 64px; }
  .gt-map-row { grid-template-columns: 1fr; }
  .gt-map-panel { border-right: 0; border-bottom: 1px solid var(--border); }
  .gt-feature { grid-template-columns: 1fr; }
  .gt-feature-cover { border-right: 0; border-bottom: 1px solid var(--border); min-height: 300px; }
  .gt-feature-title { font-size: 32px; }
  .gt-wizard { grid-template-columns: 1fr; }
  .gt-wizard-left { border-right: 0; border-bottom: 1px solid var(--border); }
  .gt-story-page { grid-template-columns: 1fr; }
  .gt-story-rail { border-left: 0; padding-left: 0; }
  .gt-story-page-title { font-size: 40px; }
  .gt-profile-head { grid-template-columns: 1fr; }
  .gt-profile-actions { align-items: flex-start; }
  .gt-mosaic > .gt-span-3,
  .gt-mosaic > .gt-span-4,
  .gt-mosaic > .gt-span-6 { grid-column: span 6; }
  .gt-pick-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .gt-hero-title { font-size: 32px; }
  .gt-hero-stat-num { font-size: 48px; }
  .gt-story-page-title { font-size: 30px; }
  .gt-mosaic { grid-template-columns: 1fr; }
  .gt-mosaic > * { grid-column: span 1 !important; }
  .gt-step-list { flex-wrap: wrap; }
  .gt-strip { grid-template-columns: 1fr; }
  .gt-strip-meta { display: none; }
  .gt-feed-section, .gt-map-panel, .gt-country-list, .gt-profile-head, .gt-wizard-left {
    padding-left: 20px; padding-right: 20px;
  }
}
