/* Astroflick-only transit motion WebGL (Chart → Natal vs current) */

.af-tgl {
  margin: 14px 0 4px;
  border: 1px solid rgba(245, 242, 3, 0.18);
  background: #0a0a0b;
  padding: 12px 12px 10px;
}

.af-tgl__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 8px;
}

.af-tgl__title {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e3dbcc;
}

.af-tgl__hint {
  margin: 0;
  font-size: 12px;
  color: rgba(227, 219, 204, 0.55);
}

.af-tgl__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: min(420px, 70vw);
  margin: 0 auto;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #121214 0%, #060606 72%);
}

.af-tgl__canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.af-tgl__labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.af-tgl-house {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(227, 219, 204, 0.45);
  font-weight: 500;
}

.af-tgl-house.is-flash {
  color: #f5f203;
  text-shadow: 0 0 12px rgba(245, 242, 3, 0.55);
}

.af-tgl-planet {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.af-tgl-planet__g {
  display: block;
  font-size: 15px;
  line-height: 1;
  color: var(--af-tgl-c, #e3dbcc);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
}

.af-tgl-planet__n {
  display: block;
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--af-tgl-c, #e3dbcc);
  opacity: 0.9;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
}

.af-tgl-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 8px;
}

.af-tgl-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(227, 219, 204, 0.75);
}

.af-tgl-legend__item i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--af-tgl-c, #e3dbcc);
  box-shadow: 0 0 6px var(--af-tgl-c, #e3dbcc);
}

.af-tgl__event {
  min-height: 1.35em;
  margin: 8px 0 0;
  font-size: 13px;
  color: rgba(227, 219, 204, 0.7);
}

.af-tgl__event.is-live {
  color: #f5f203;
}

.af-tgl__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  margin-top: 10px;
}

.af-tgl__date {
  font-size: 12px;
  color: rgba(227, 219, 204, 0.65);
}

.af-tgl__speed {
  font-size: 12px;
  color: rgba(227, 219, 204, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.af-tgl__speed select {
  background: #141414;
  color: #e3dbcc;
  border: 1px solid rgba(227, 219, 204, 0.2);
  padding: 4px 6px;
  font-size: 12px;
}

.af-tgl.is-loading .af-tgl__stage {
  opacity: 0.55;
}
