/* ── Europa animation page ─────────────────────────────────────── */
    .map-section { padding: 0; }

    .anim-outer {
      background: var(--card-bg, #fff);
      border-radius: 12px;
      box-shadow: 0 2px 20px rgba(0,0,0,.10);
      overflow: hidden;
    }

    .anim-tabs {
      display: flex;
      gap: .4rem;
      flex-wrap: wrap;
      padding: .8rem 1.2rem .6rem;
      border-bottom: 1px solid rgba(0,0,0,.07);
      background: var(--card-bg, #fff);
    }
    [data-theme="dark"] .anim-tabs { border-color: rgba(255,255,255,.08); }
    .anim-tab {
      padding: .28rem .85rem;
      border: 1.5px solid rgba(0,0,0,.14);
      border-radius: 20px;
      font-size: .78rem;
      font-weight: 600;
      background: transparent;
      color: var(--text, #181c1f);
      cursor: pointer;
      transition: all .15s;
      font-family: var(--font);
    }
    [data-theme="dark"] .anim-tab { border-color: rgba(255,255,255,.2); }
    .anim-tab.active, .anim-tab:hover { background: var(--green); color: #fff; border-color: var(--green); }

    .map-canvas-wrap {
      position: relative;
      width: 100%;
    }
    #eu-map {
      width: 100%;
      height: 540px;
      background: #c8dff0;
    }
    @media (max-width: 768px) { #eu-map { height: 320px; } }

    #night-overlay {
      position: absolute;
      inset: 0;
      z-index: 600;
      background: rgba(4, 8, 30, 1);
      opacity: 0;
      pointer-events: none;
      transition: opacity 1.4s ease-in-out;
    }

    .map-time-badge {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      z-index: 800;
      background: rgba(8, 16, 28, .78);
      color: #e8f4ff;
      border-radius: 10px;
      backdrop-filter: blur(8px);
      pointer-events: none;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: .7rem .9rem .65rem;
      gap: .18rem;
      min-width: 80px;
      border: 1px solid rgba(255,255,255,.10);
      transition: background .8s, border-color .8s, color .8s;
    }
    .map-time-badge .tb-icon { font-size: 1.1rem; line-height: 1; margin-bottom: .1rem; transition: color .8s; }
    .map-time-badge .tb-day { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
    .map-time-badge .tb-date { font-size: 1.05rem; font-weight: 800; letter-spacing: .02em; line-height: 1.1; }
    .map-time-badge .tb-time { font-size: 1.35rem; font-weight: 900; letter-spacing: .04em; line-height: 1; }
    .map-time-badge .tb-utc { font-size: .6rem; opacity: .5; letter-spacing: .08em; }
    .map-time-badge.night { background: rgba(4, 8, 20, .85); border-color: rgba(150,180,255,.18); color: #c8d8ff; }
    .map-time-badge.night .tb-icon { color: #a0b8f8; }
    @media (max-width: 600px) {
      .map-time-badge { left: 8px; top: 8px; transform: none; padding: .5rem .65rem; min-width: 64px; }
      .map-time-badge .tb-time { font-size: 1.1rem; }
    }

    .map-loading {
      position: absolute;
      inset: 0;
      z-index: 900;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background: rgba(10,20,30,.60);
      color: #d0e8f4;
      gap: 1rem;
      transition: opacity .4s;
    }
    .map-loading.done { opacity: 0; pointer-events: none; }
    .spinner {
      width: 42px; height: 42px;
      border: 3px solid rgba(255,255,255,.15);
      border-top-color: var(--green);
      border-radius: 50%;
      animation: spin .8s linear infinite;
    }
    @keyframes spin { to { transform: rotate(360deg); } }
    .load-label { font-size: .9rem; font-weight: 600; }
    .load-progress { font-size: .78rem; color: #8ab; }

    .anim-controls {
      padding: .8rem 1.2rem;
      background: var(--card-bg, #fff);
      border-top: 1px solid rgba(0,0,0,.07);
      display: flex;
      flex-direction: column;
      gap: .6rem;
    }
    [data-theme="dark"] .anim-controls { border-color: rgba(255,255,255,.08); }

    .ctrl-row { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }

    .anim-btn {
      display: inline-flex; align-items: center; justify-content: center;
      width: 36px; height: 36px;
      border: 1.5px solid var(--green);
      border-radius: 6px;
      background: transparent;
      color: var(--green);
      font-size: .85rem;
      cursor: pointer;
      transition: background .15s, color .15s;
      flex-shrink: 0;
      font-family: var(--font);
    }
    .anim-btn:hover { background: var(--green); color: #fff; }
    .anim-btn.play { width: 44px; height: 44px; font-size: 1rem; }

    .timeline-wrap { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .3rem; }
    .timeline {
      -webkit-appearance: none; appearance: none;
      width: 100%; height: 5px; border-radius: 3px; outline: none; cursor: pointer;
      background: linear-gradient(to right, var(--green) var(--pct,0%), rgba(0,0,0,.13) var(--pct,0%));
    }
    [data-theme="dark"] .timeline {
      background: linear-gradient(to right, var(--green) var(--pct,0%), rgba(255,255,255,.14) var(--pct,0%));
    }
    .timeline::-webkit-slider-thumb {
      -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%;
      background: var(--green); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25);
    }
    .timeline::-moz-range-thumb {
      width: 16px; height: 16px; border-radius: 50%;
      background: var(--green); border: 2px solid #fff;
    }

    .day-marks {
      display: flex; justify-content: space-between;
      font-size: .69rem; color: #888e96; user-select: none; padding: 0 1px;
    }
    .day-marks .today { color: var(--green); font-weight: 700; }

    .ctrl-right { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
    .speed-select {
      font-size: .78rem; border: 1px solid rgba(0,0,0,.15); border-radius: 5px;
      padding: .25rem .4rem; background: transparent; color: var(--text);
      cursor: pointer; font-family: var(--font);
    }
    [data-theme="dark"] .speed-select { border-color: rgba(255,255,255,.2); color: #e8eaed; background: transparent; }
    .time-label { font-size: .78rem; font-weight: 700; color: var(--text); min-width: 9rem; text-align: right; }

    .anim-legend {
      padding: .4rem 1.2rem .6rem;
      border-top: 1px solid rgba(0,0,0,.07);
    }
    [data-theme="dark"] .anim-legend { border-color: rgba(255,255,255,.08); }
    .legend-title { font-size: .68rem; color: #888e96; text-align: center; margin-bottom: .3rem; }
    .legend-bar { display: flex; align-items: center; gap: .5rem; }
    .legend-gradient {
      flex: 1; height: 10px; border-radius: 3px;
      background: linear-gradient(to right, #ffff8c, #fedc3c, #fd8c14, #e63c0f, #c81414, #8c050f);
    }
    .legend-ticks { display: flex; justify-content: space-between; font-size: .64rem; color: #888e96; margin-top: 2px; }
    .legend-unit { font-size: .72rem; color: var(--text, #111); font-weight: 600; white-space: nowrap; }

    .anim-source { padding: .45rem 1.2rem .7rem; font-size: .71rem; color: #888e96; }
    .anim-source a { color: var(--green); }

    @media (max-width: 600px) {
      .ctrl-right { flex-wrap: wrap; }
      .time-label { min-width: auto; }
    }
