/* ==========================================================================
   IC Nükleer Teknoloji — Küresel reaktör haritası
   Açık zemin: solda filtre ve grafik paneli, sağda küre sahnesi
   ========================================================================== */

.globe-section {
  --g-ink: #0a3a2c;
  --g-text: #173f33;
  --g-muted: #5d7a70;
  --g-dim: #8aa197;
  --g-line: #073d2f1c;
  --g-line-soft: #073d2f10;
  --g-accent: #0b7657;
  --g-accent-soft: #eaf5f0;

  position: relative;
  isolation: isolate;
  padding: clamp(40px, 6vh, 90px) clamp(16px, 3.5vw, 64px);
  background: #eaf2ee;
  color: var(--g-text);
}

.globe-shell {
  display: grid;
  grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  height: min(94svh, 960px);
  min-height: 780px;
  overflow: hidden;
  border: 1px solid var(--g-line);
  border-radius: clamp(20px, 2.2vw, 34px);
  background: #fff;
  box-shadow: 0 34px 90px -40px #05261c40;
}

/* --------------------------------------------------------------------------
   Sol panel
   -------------------------------------------------------------------------- */
.globe-side {
  grid-column: 1;
  border-right: 1px solid var(--g-line);
  background: #fbfdfc;
}

.globe-side-top {
  grid-row: 1;
  padding: clamp(28px, 3.4vh, 42px) 32px 18px;
}

/* Grafikler kendi içinde kayar; başlık ve filtreler hep görünür kalır */
.globe-side-bottom {
  grid-row: 2;
  min-height: 0;
  overflow-y: auto;
  padding: 0 32px 26px;
  scrollbar-width: thin;
  scrollbar-color: #073d2f29 transparent;
}

.globe-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.globe-eyebrow i {
  width: 34px;
  height: 1px;
  background: var(--g-accent);
}

.globe-eyebrow span {
  color: #16815f;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.globe-side h2 {
  margin: 0;
  color: var(--g-ink);
  font-size: clamp(28px, 2.3vw, 36px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.globe-side h2 span {
  display: block;
  color: #16815f;
  font-weight: 300;
}

.globe-lead {
  margin: 12px 0 0;
  color: var(--g-muted);
  font-size: 13px;
  line-height: 1.6;
}

/* Özet sayılar */
.globe-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--g-line);
  border-radius: 14px;
  background: var(--g-line);
}

.globe-stat {
  padding: 11px 14px 12px;
  background: #fff;
}

.globe-stat b {
  display: block;
  color: var(--g-ink);
  font-family: var(--font-geist-mono);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.globe-stat span {
  display: block;
  margin-top: 3px;
  color: var(--g-dim);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Filtreler */
.globe-filters {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.globe-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.globe-label {
  color: var(--g-dim);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.globe-segment {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--g-line);
  border-radius: 12px;
  background: #f1f6f3;
}

.globe-segment button {
  height: 34px;
  padding: 0 8px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: var(--g-muted);
  font-size: 12px;
  font-weight: 650;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}

.globe-segment button:hover {
  color: var(--g-ink);
}

.globe-segment button.active {
  background: #fff;
  color: var(--g-accent);
  box-shadow: 0 2px 8px #0534261a;
}

.globe-selects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.globe-field select {
  width: 100%;
  height: 40px;
  padding: 0 30px 0 12px;
  border: 1px solid var(--g-line);
  border-radius: 10px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7657' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 14px,
    #fff;
  color: var(--g-ink);
  font-size: 12px;
  text-overflow: ellipsis;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.globe-field select:hover,
.globe-field select:focus-visible {
  border-color: #0b765766;
  outline: none;
}

.globe-note {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--g-accent-soft);
  color: #2f5b4c;
  font-size: 11px;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Grafikler
   -------------------------------------------------------------------------- */
.globe-chart {
  padding: 18px 0 16px;
  border-top: 1px solid var(--g-line);
}

.globe-chart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.globe-chart-head span {
  color: var(--g-ink);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.globe-chart-head em {
  color: var(--g-dim);
  font-size: 10px;
  font-style: normal;
}

/* Yığılmış durum çubuğu */
.globe-stack {
  display: flex;
  gap: 2px;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef3f0;
}

.globe-stack i {
  display: block;
  height: 100%;
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s;
}

.globe-stack i.is-dim {
  opacity: 0.22;
}

.globe-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 10px;
}

.globe-legend button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: none;
  color: var(--g-muted);
  font-size: 11px;
  text-align: left;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.globe-legend button:hover {
  background: #f1f6f3;
  color: var(--g-ink);
}

.globe-legend button.active {
  border-color: #0b765740;
  background: var(--g-accent-soft);
  color: var(--g-ink);
}

.globe-legend i {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* Uzun etiketler (Closed / suspended) kesilmek yerine iki satıra iner */
.globe-legend span {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}

.globe-legend b {
  color: var(--g-ink);
  font-family: var(--font-geist-mono);
  font-size: 11px;
  font-weight: 500;
}

/* Yatay çubuklar */
.globe-bars {
  display: grid;
  gap: 2px;
  min-height: 60px;
}

.globe-bar {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) 38px;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 5px 6px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--g-text);
  font-size: 11px;
  text-align: left;
}

.globe-bars.is-clickable .globe-bar {
  cursor: pointer;
  transition: background 0.2s;
}

.globe-bars.is-clickable .globe-bar:hover {
  background: #f1f6f3;
}

.globe-bar-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.globe-bar-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef3f0;
}

.globe-bar-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0b7657, #22b884);
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.globe-bar b {
  color: var(--g-ink);
  font-family: var(--font-geist-mono);
  font-size: 11px;
  font-weight: 500;
  text-align: right;
}

.globe-empty {
  margin: 0;
  padding: 10px 6px;
  color: var(--g-dim);
  font-size: 11px;
}

/* Veri künyesi */
.globe-source {
  margin: 4px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--g-line);
  color: var(--g-dim);
  font-size: 10px;
  line-height: 1.6;
}

.globe-source a {
  color: var(--g-muted);
  border-bottom: 1px solid var(--g-line);
  transition: color 0.2s;
}

.globe-source a:hover {
  color: var(--g-accent);
}

.globe-source time {
  font-family: var(--font-geist-mono);
}

/* --------------------------------------------------------------------------
   Küre sahnesi
   -------------------------------------------------------------------------- */
.globe-stage {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, #ffffff 0%, #eef5f1 46%, #dbe9e2 100%);
  transition: background 0.7s;
}

/* Gece görünümünde sahne kararır; şehir ışıkları okunur */
.is-night .globe-stage {
  background:
    radial-gradient(circle at 50% 48%, #173a33 0%, #0b1f1a 55%, #06120f 100%);
}

/* İnce ızgara dokusu */
.globe-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(#073d2f0d 1px, #0000 1px),
    linear-gradient(90deg, #073d2f0d 1px, #0000 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #0000 30%, #000 80%);
  mask-image: radial-gradient(circle at 50% 50%, #0000 30%, #000 80%);
  pointer-events: none;
  transition: opacity 0.7s;
}

.is-night .globe-stage::before {
  opacity: 0.12;
}

.globe-canvas {
  position: absolute;
  inset: 0;
  cursor: grab;
  transition: right 0.4s cubic-bezier(0.2, 0.75, 0.25, 1);
}

/* Panel açıldığında küre panelin solunda kalan alana ortalanır */
.is-panel-open .globe-canvas {
  right: min(360px, 44%);
}

.globe-canvas:active {
  cursor: grabbing;
}

/* Bir sahanın üzerindeyken tıklanabilir olduğu belli olsun */
.globe-canvas.is-pointing,
.globe-canvas.is-pointing:active {
  cursor: pointer;
}

.globe-canvas canvas {
  display: block;
  outline: none;
}

/* --------------------------------------------------------------------------
   Yükleniyor durumu
   -------------------------------------------------------------------------- */
.globe-loader {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  transition: opacity 0.6s, visibility 0.6s;
  pointer-events: none;
}

.globe-loader.is-done {
  opacity: 0;
  visibility: hidden;
}

.globe-loader-ring {
  width: 44px;
  height: 44px;
  border: 1px solid #073d2f24;
  border-top-color: var(--g-accent);
  border-radius: 50%;
  animation: globe-spin 1.1s linear infinite;
}

.globe-loader span {
  color: var(--g-muted);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.globe-loader.is-error .globe-loader-ring {
  border-top-color: #f07a4a;
  animation: none;
}

@keyframes globe-spin {
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   Tekerlekle yakınlaştırma ipucu
   -------------------------------------------------------------------------- */
.globe-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 17px;
  border-radius: 999px;
  background: #0a2a21eb;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #eaf4ef;
  font-size: 12px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(0.96);
  transition: opacity 0.25s, visibility 0.25s, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.globe-hint.visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.globe-hint kbd {
  padding: 3px 8px;
  border: 1px solid #ffffff2e;
  border-radius: 6px;
  background: #ffffff14;
  font-family: var(--font-geist-mono);
  font-size: 11px;
}

.globe-hint span {
  color: #b9d3c8;
}

/* --------------------------------------------------------------------------
   Arama
   -------------------------------------------------------------------------- */
.globe-search {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 7;
  width: min(290px, calc(100% - 44px));
}

.globe-search input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 40px;
  border: 1px solid var(--g-line);
  border-radius: 12px;
  background: #ffffffe6;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--g-ink);
  font-size: 13px;
  box-shadow: 0 10px 30px #0534260f;
  transition: border-color 0.25s;
}

.globe-search input::placeholder {
  color: var(--g-dim);
}

.globe-search input:focus {
  outline: none;
  border-color: #0b765766;
}

.globe-search svg {
  position: absolute;
  top: 13px;
  left: 14px;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--g-muted);
  stroke-width: 1.6px;
  pointer-events: none;
}

.globe-results {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  max-height: 292px;
  overflow-y: auto;
  border: 1px solid var(--g-line);
  border-radius: 12px;
  background: #fffffff5;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px #05342614;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s, visibility 0.22s, transform 0.22s;
}

.globe-results.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.globe-results button {
  display: flex;
  align-items: baseline;
  gap: 8px;
  width: 100%;
  padding: 11px 14px;
  border: 0;
  border-bottom: 1px solid var(--g-line-soft);
  background: none;
  color: var(--g-ink);
  font-size: 13px;
  text-align: left;
  transition: background 0.18s;
}

.globe-results button:last-child {
  border-bottom: 0;
}

.globe-results button:hover,
.globe-results button:focus-visible {
  background: var(--g-accent-soft);
  outline: none;
}

.globe-results em {
  color: var(--g-dim);
  font-size: 11px;
  font-style: normal;
}

.globe-results .globe-empty {
  padding: 14px;
}

/* --------------------------------------------------------------------------
   Alt orta — görünüm kontrolleri
   -------------------------------------------------------------------------- */
.globe-controls {
  position: absolute;
  bottom: 22px;
  left: 50%;
  z-index: 5;
  display: flex;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--g-line);
  border-radius: 14px;
  background: #ffffffe6;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px #05342614;
  transform: translateX(-50%);
  transition: left 0.4s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.is-panel-open .globe-controls {
  left: calc((100% - min(360px, 44%)) / 2);
}

.globe-controls button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--g-muted);
  transition: color 0.2s, background 0.2s;
}

.globe-controls button:hover {
  background: #f1f6f3;
  color: var(--g-ink);
}

.globe-controls button.active {
  background: var(--g-accent-soft);
  color: var(--g-accent);
}

.globe-controls svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5px;
}

/* --------------------------------------------------------------------------
   Saha ve ülke detay paneli
   -------------------------------------------------------------------------- */
.globe-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  width: min(360px, 44%);
  border-left: 1px solid var(--g-line);
  background: #fffffff2;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateX(22px);
  transition: opacity 0.35s, visibility 0.35s, transform 0.35s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.globe-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.globe-panel-head {
  position: relative;
  padding: 24px 54px 20px 24px;
  border-bottom: 1px solid var(--g-line);
}

.globe-panel-close {
  position: absolute;
  top: 18px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--g-line);
  border-radius: 50%;
  background: #fff;
  color: var(--g-muted);
  transition: color 0.2s, border-color 0.2s;
}

.globe-panel-close:hover {
  border-color: #0b765766;
  color: var(--g-ink);
}

.globe-panel-close svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8px;
}

.globe-panel-country {
  margin: 0 0 6px;
  color: #16815f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.globe-panel-country span {
  color: var(--g-dim);
  font-weight: 500;
}

.globe-panel h3 {
  margin: 0;
  color: var(--g-ink);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.globe-panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.globe-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid var(--g-line);
  border-radius: 999px;
  color: var(--g-muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.globe-tag i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.globe-tag.is-smr {
  border-color: #4c8dff59;
  color: #2f6fe0;
}

.globe-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 24px 24px;
}

/* İnce kaydırma çubuğu */
.globe-panel-body,
.globe-results,
.globe-side-bottom {
  scrollbar-width: thin;
  scrollbar-color: #073d2f29 transparent;
}

.globe-panel-body::-webkit-scrollbar,
.globe-results::-webkit-scrollbar,
.globe-side-bottom::-webkit-scrollbar {
  width: 4px;
}

.globe-panel-body::-webkit-scrollbar-thumb,
.globe-results::-webkit-scrollbar-thumb,
.globe-side-bottom::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: #073d2f29;
}

.globe-panel-body::-webkit-scrollbar-thumb:hover,
.globe-results::-webkit-scrollbar-thumb:hover,
.globe-side-bottom::-webkit-scrollbar-thumb:hover {
  background: #0b765780;
}

.globe-panel-body::-webkit-scrollbar-button,
.globe-results::-webkit-scrollbar-button,
.globe-side-bottom::-webkit-scrollbar-button {
  display: none;
}

.globe-figures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 20px 0 0;
  overflow: hidden;
  border: 1px solid var(--g-line);
  border-radius: 12px;
  background: var(--g-line);
}

.globe-figure {
  padding: 13px 14px 14px;
  background: #fff;
}

.globe-figure b {
  display: block;
  color: var(--g-ink);
  font-family: var(--font-geist-mono);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.globe-figure span {
  display: block;
  margin-top: 4px;
  color: var(--g-dim);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.globe-section-title {
  margin: 22px 0 10px;
  color: var(--g-dim);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Ülke özeti */
.globe-country {
  margin-top: 4px;
  padding: 2px 14px 14px;
  border-radius: 14px;
  background: var(--g-accent-soft);
}

.globe-country .globe-section-title {
  margin: 12px 0 10px;
  color: #16815f;
}

.globe-country-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}

.globe-country-grid b {
  display: block;
  color: var(--g-ink);
  font-family: var(--font-geist-mono);
  font-size: 16px;
  font-weight: 500;
}

.globe-country-grid span {
  display: block;
  margin-top: 2px;
  color: #5d7a70;
  font-size: 10px;
}

.globe-country-filter {
  width: 100%;
  height: 36px;
  margin-top: 12px;
  border: 1px solid #0b765740;
  border-radius: 10px;
  background: #fff;
  color: var(--g-accent);
  font-size: 12px;
  font-weight: 650;
  transition: background 0.2s, color 0.2s;
}

.globe-country-filter:hover {
  background: var(--g-accent);
  color: #fff;
}

/* Ünite listesi */
.globe-unit {
  margin-bottom: 6px;
  overflow: hidden;
  border: 1px solid var(--g-line);
  border-radius: 12px;
  background: #fff;
}

.globe-unit-head {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 13px;
  border: 0;
  background: none;
  color: var(--g-ink);
  text-align: left;
  transition: background 0.2s;
}

.globe-unit-head:hover {
  background: #f6faf8;
}

.globe-unit-head i {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.globe-unit-head strong {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
}

.globe-unit-head em {
  color: var(--g-muted);
  font-family: var(--font-geist-mono);
  font-size: 11px;
  font-style: normal;
}

.globe-unit-head svg {
  flex: none;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--g-dim);
  stroke-width: 1.6px;
  transition: transform 0.25s;
}

.globe-unit.open .globe-unit-head svg {
  transform: rotate(180deg);
}

.globe-unit-body {
  display: none;
  padding: 0 13px 12px;
}

.globe-unit.open .globe-unit-body {
  display: block;
}

.globe-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
  border-top: 1px solid var(--g-line-soft);
}

.globe-row dt {
  flex: none;
  color: var(--g-dim);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.globe-row dd {
  margin: 0;
  color: var(--g-ink);
  font-size: 12px;
  text-align: right;
}

.globe-row dd.mono {
  font-family: var(--font-geist-mono);
}

.globe-panel-foot {
  padding: 14px 24px;
  border-top: 1px solid var(--g-line);
  color: var(--g-dim);
  font-size: 10px;
}

.globe-panel-foot a {
  color: var(--g-muted);
  border-bottom: 1px solid var(--g-line);
}

.globe-panel-foot a:hover {
  color: var(--g-accent);
}

/* --------------------------------------------------------------------------
   Küre üzerindeki ipucu balonu
   Konum JS ile sahaya bağlanır; balon noktanın hemen üstünde durur.
   -------------------------------------------------------------------------- */
.globe-hover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 6;
  pointer-events: none;
  will-change: transform;
}

.globe-hover .globe-tip {
  width: max-content;
  max-width: 260px;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 10px));
  transition: opacity 0.16s;
}

.globe-hover.visible .globe-tip {
  opacity: 1;
}

.globe-tip {
  padding: 9px 12px;
  border-radius: 10px;
  background: #0a2a21f2;
  box-shadow: 0 10px 26px #05261c40;
  color: #eef6f2;
  font-family: var(--font-sans);
  font-size: 12px;
}

.globe-tip strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.globe-tip span {
  display: block;
  margin-top: 3px;
  color: #a9c6ba;
  font-size: 10px;
  letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   Duyarlı davranış
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .globe-shell {
    grid-template-columns: minmax(290px, 330px) minmax(0, 1fr);
  }

  .globe-side-top {
    padding-inline: 24px;
  }

  .globe-side-bottom {
    padding-inline: 24px;
  }

  .globe-lead {
    display: none;
  }
}

/* Dar ekranda tek sütun: başlık ve filtreler, küre, grafikler */
@media (max-width: 900px) {
  .globe-section {
    padding: clamp(28px, 4vh, 44px) 16px;
  }

  .globe-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
    min-height: 0;
    border-radius: 20px;
  }

  .globe-side {
    border-right: 0;
  }

  .globe-side-top {
    grid-row: 1;
    padding: 26px 20px 20px;
    border-bottom: 1px solid var(--g-line);
  }

  .globe-lead {
    display: block;
  }

  .globe-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .globe-stat {
    padding: 10px 10px 11px;
  }

  .globe-stat b {
    font-size: 15px;
  }

  .globe-stat span {
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .globe-stage {
    grid-column: 1;
    grid-row: 2;
    height: min(72svh, 620px);
  }

  .globe-side-bottom {
    grid-row: 3;
    overflow: visible;
    padding: 0 20px 22px;
    border-top: 1px solid var(--g-line);
  }

  .globe-side-bottom .globe-chart:first-child {
    border-top: 0;
  }

  .is-panel-open .globe-canvas {
    right: 0;
  }

  .is-panel-open .globe-controls {
    left: 50%;
  }

  .globe-search {
    top: 14px;
    left: 14px;
    width: calc(100% - 28px);
  }

  /* Panel alttan açılır */
  .globe-panel {
    top: auto;
    left: 0;
    width: auto;
    max-height: 80%;
    border-top: 1px solid var(--g-line);
    border-left: 0;
    border-radius: 18px 18px 0 0;
    transform: translateY(24px);
  }

  .globe-panel.open {
    transform: translateY(0);
  }

  .globe-controls {
    bottom: 14px;
  }

  .globe-hint {
    display: none;
  }
}

@media (max-width: 520px) {
  .globe-stats {
    grid-template-columns: 1fr 1fr;
  }

  .globe-selects {
    grid-template-columns: 1fr;
  }

  .globe-controls button {
    width: 36px;
  }
}
