
  @import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&family=Roboto:wght@400;700&display=swap');

  :root {
    --primary: #ffffff;
    --accent: #ff4500;
    --bg-dark: #1a1a1a;
  }

  * { box-sizing: border-box; }

  body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    /* Fixed background image for web parallax effect */
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.85)), url('background.jpg');
    background-size: 100% 100%, cover;
    background-position: center top, center top; /* Gradient fixed, image aligned to top */
    background-attachment: fixed, fixed;
    background-repeat: no-repeat, no-repeat;
    color: var(--primary);
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
  }

  .header {
    text-align: center;
    padding: 70px 20px 30px; /* added top padding to account for top bar */
  }

  .header h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--accent);
    margin: 0;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.9);
    line-height: 1.1;
  }

  .header p {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin: 10px 0 0 0;
    color: #e0e0e0;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.9);
  }

  .top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    z-index: 2000;
    flex-wrap: wrap;
    gap: 8px;
    pointer-events: none;
  }
  
  .top-bar > * {
    pointer-events: auto;
  }

  .course-name-badge {
    background: rgba(0,0,0,0.5); 
    padding: 4px 8px; 
    border-radius: 4px; 
    font-size: 0.75rem; 
    color: #ccc; 
    max-width: 120px; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    border: 1px solid #444;
  }

  .top-bar-icons {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .top-bar .control-btn {
    padding: 6px 12px;
    font-size: 0.9rem;
  }

  /* Offset Leaflet Controls to avoid top bar */
  .leaflet-top {
    margin-top: 60px !important;
  }

  /* Scrollable map container for mobile devices */
  .map-section {
    width: 100%;
    overflow-x: auto;
    padding: 20px 0 20px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) #333;
    -webkit-overflow-scrolling: touch;
  }

  .map-section::-webkit-scrollbar {
    height: 10px;
  }
  .map-section::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.5);
  }
  .map-section::-webkit-scrollbar-thumb {
    background-color: var(--accent);
    border-radius: 5px;
  }

  .map-wrapper {
    position: relative;
    width: 95vw;
    min-width: 800px; /* Reduced by 100px per user request */
    max-width: 1300px;
    margin: 0 auto;
  }

  .map-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.8));
  }

  .recenter-btn {
    background: rgba(0,0,0,0.5);
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.9rem;
    color: #00e676;
    border: 1px solid #00e676;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    white-space: nowrap;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: background 0.2s, transform 0.2s;
  }
  
  .recenter-btn:hover {
    background: rgba(0, 230, 118, 0.2);
  }

  .recenter-btn:active {
    transform: scale(0.95);
  }

  /* Interactive location cards overlaid on the map */
  .location-card {
    position: absolute;
    transform: translate(-50%, -50%);
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 69, 0, 0.4);
    border-radius: 8px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: white;
    width: max-content;
    min-width: 120px;
    max-width: 90vw;
    box-shadow: 0 5px 15px rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    transition: all 0.2s ease-in-out;
    z-index: 10;
  }

  .location-card:hover {
    transform: translate(-50%, -50%) scale(1.05);
    background: rgba(30, 30, 30, 0.98);
    border-color: var(--accent);
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.4);
    z-index: 20;
  }

  .highlight-station {
    animation: pulseHighlight 2s infinite alternate;
    border-color: #ffaa00;
    background-color: #ffaa0088;
    z-index: 15;
  }

  @keyframes pulseHighlight {
    0% { box-shadow: 0 0 10px rgba(255, 170, 0, 0.5); border-color: rgba(255, 170, 0, 0.5); }
    100% { box-shadow: 0 0 30px rgba(255, 170, 0, 1); border-color: #ffcc00; }
  }

  .done-station {
    border-color: #00cc00;
    background: rgba(20, 40, 20, 0.95);
  }
  
  .done-station h3 {
    color: #00cc00 !important;
  }

  .card-text {
    flex: 1;
  }

  .card-text h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    color: var(--accent);
    margin: 0 0 4px 0;
    line-height: 1.1;
  }

  .card-text .eta {
    font-size: 0.75rem;
    color: #e0e0e0;
    line-height: 1.3;
  }

  .map-btn {
    background: #e63e008a;
    color: white;
    padding: 6px;
    border-radius: 5px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
  }
  
  .dist-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px !important;
    height: 18px !important;
    margin-left: -9px !important;
    margin-top: -9px !important;
    background-color: #ffaa00 !important;
    color: #000;
    border-radius: 50%;
    font-size: 0.6rem;
    transition: all 0.2s ease-in-out;
    border: none !important;
  }
  .dist-marker.passed-marker {
    background-color: #b39ddbcc !important;
    font-size: 0.5rem !important;
    width: 20px !important;
    height: 20px !important;
    margin-left: -10px !important;
    margin-top: -10px !important;
  }
  
  #leaflet-map.zoom-out .dist-marker {
    display: none !important;
  }
  #leaflet-map.zoom-out .dist-marker.km-5,
  #leaflet-map.zoom-out .dist-marker.km-last {
    display: flex !important;
    width: 10.8px !important;
    height: 10.8px !important;
    margin-left: -5.4px !important;
    margin-top: -5.4px !important;
    font-size: 0.4rem;
  }
  #leaflet-map.zoom-out .dist-marker.passed-marker.km-5,
  #leaflet-map.zoom-out .dist-marker.passed-marker.km-last {
    width: 12px !important;
    height: 12px !important;
    margin-left: -6px !important;
    margin-top: -6px !important;
  }
  
  #leaflet-map.zoom-in .dist-marker {
    width: 24px !important;
    height: 24px !important;
    margin-left: -12px !important;
    margin-top: -12px !important;
    font-size: 0.8rem;
  }
  #leaflet-map.zoom-in .dist-marker.passed-marker {
    width: 25px !important;
    height: 25px !important;
    margin-left: -12.5px !important;
    margin-top: -12.5px !important;
    font-size: 0.7rem !important;
  }

  .location-card:hover .map-btn {
    background: #e63e00c0;
  }

  /* Geographical Positioning via Percentages */
  .card-1 { top: 28.0%; left: 55.2%; }
  .card-2 { top: 88.2%; left: 53.1%; }
  .card-3 { top: 99.1%; right: 12.4%; }
  .card-4 { top: 79.7%; left: 90.8%; }
  .card-5 { top: 99.1%; left: 88.6%; }
  .card-6 { top: 93.3%; left: 53.1%; }
  .card-7 { top: 37.9%; left: 10.7%; }
  .card-8 { top: 14.2%; left: 11.5%; }
  .card-9 { top: 43.8%; left: 10.5%; }
  .card-10 { top: 39.7%; left: 55.5%; }
  .card-9km { top: 44%; left: 35%; min-width: 55px; }
  .card-70km {top: 63%;left: 27%;min-width: 55px;}
  .card-78km { top: 48%; left: 35%; min-width: 55px; }

  .tips-section {
    max-width: 800px;
    margin: 0 auto 60px;
    background: rgba(20, 20, 20, 0.85);
    border-left: 5px solid var(--accent);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    width: 90%;
  }

  .tips-section h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    margin: 0 0 15px 0;
    color: var(--accent);
    text-transform: uppercase;
  }

  .tips-section ul {
    font-size: 1.1rem;
    line-height: 1.6;
    padding-left: 20px;
    margin: 0;
    color: #f0f0f0;
  }

  .tips-section li {
    margin-bottom: 8px;
  }

  .swipe-hint {
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: none;
  }

  @media (max-width: 900px) {
    .swipe-hint {
      display: block;
      animation: flash 2s infinite;
    }
  }

  @keyframes flash {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
  }

  /* AVATAR AND BADGE CSS */
  .avatar-tracker {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #0f0;
    border: 2px solid #fff;
    box-shadow: 0 0 10px #0f0, 0 0 20px #0f0;
    transform: translate(-50%, -50%);
    z-index: 100;
    transition: left 1s ease-in-out, top 1s ease-in-out, width 0.3s, height 0.3s;
    background-size: cover;
    background-position: center;
    background-image: none;
    display: none;
  }

  .avatar-tracker:hover {
    width: 60px;
    height: 60px;
    background-image: url('https://www.gravatar.com/avatar/6fff76d05c47a15c5148a8fef09933cd?s=80&d=identicon');
    background-color: transparent;
    border: 3px solid #0f0;
  }

  .last-seen-badge {
    grid-column: 1 / span 3;
    text-align: center;
    font-size: 0.75rem;
    color: #aaa;
    background: transparent;
    padding: 2px 0;
    margin-top: -5px;
    border: none;
    box-shadow: none;
  }

  .last-seen-badge.badge-error {
    color: #ffaa00;
  }
  
  .badge-error {
    border-color: #ff3333;
    color: #ff3333;
    box-shadow: 0 0 10px #ff3333;
  }

  /* TELEMETRY PANEL */
  .telemetry-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    background: rgba(20, 20, 20, 0.9);
    border-top: 2px solid var(--accent);
    padding: 10px 5px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
  }

  .metric-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(40, 40, 40, 0.8);
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 69, 0, 0.3);
    min-width: 90px;
  }

  .metric-value {
    font-family: 'Roboto', sans-serif;
    font-size: 1.6rem;
    color: #0f0;
    font-weight: bold;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
  }

  .metric-label {
    font-size: 0.75rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
  }

  /* Push last seen badge up so it doesn't overlap telemetry */
  @media (min-width: 768px) {
    .telemetry-panel ~ .last-seen-badge {
      bottom: 120px;
    }
  }

  /* MODALS & CONTROLS */
  .control-btn {
    background: rgba(40, 40, 40, 0.9);
    border: 1px solid var(--accent);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.3);
    transition: background 0.3s, box-shadow 0.3s;
  }
  .control-btn:hover {
    background: rgba(255, 69, 0, 0.2);
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.6);
  }

  .track-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.85);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.5);
    backdrop-filter: blur(5px);
  }

  #activity-state-badge {
    background: rgba(0,0,0,0.5);
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.9rem;
    color: #ffaa00;
    border: 1px solid #ffaa00;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    white-space: nowrap;
  }

  .modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
  }

  .modal-content {
    background-color: #222;
    margin: 5% auto;
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px;
    border: 1px solid var(--accent);
    border-radius: 12px;
    width: 80%;
    max-width: 600px;
    color: white;
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.4);
  }

  .modal-content h2 {
    margin-block-end: 0.5rem;
    margin-block-start: 0.5rem;
  }
  
  #eta-modal .modal-content {
    max-width: 700px;
  }

  .wpt-icon {
    font-size: 1.5rem !important;
    text-align: center;
    line-height: 1;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.8));
    width: 24px !important;
    height: 24px !important;
    margin-left: -12px !important;
    margin-top: -12px !important;
    background: transparent !important;
    border: none !important;
    transition: all 0.2s ease-in-out;
  }
  
  #leaflet-map.zoom-out .wpt-icon {
    width: 14.4px !important;
    height: 14.4px !important;
    margin-left: -7.2px !important;
    margin-top: -7.2px !important;
    font-size: 0.9rem !important;
  }
  
  #leaflet-map.zoom-in .wpt-icon {
    width: 32px !important;
    height: 32px !important;
    margin-left: -16px !important;
    margin-top: -16px !important;
    font-size: 2rem !important;
  }

  .wpt-tooltip {
    background-color: #222;
    color: #fff;
    border: 1px solid #555;
    border-radius: 4px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0,0,0,0.4);
  }
  .wpt-tooltip::before {
    border-top-color: #555;
  }

  .dist-marker {
    background-color: rgba(255, 170, 0, 0.55);
    color: #1a202c;
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 50%;
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.6);
  }

  .modal-input, .modal-select {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    background: #333;
    border: 1px solid #555;
    color: white;
    border-radius: 6px;
  }
  
  /* Hide Number Spinners */
  input[type=number]::-webkit-inner-spin-button, 
  input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
  }
  input[type=number] {
    -moz-appearance: textfield;
  }

  /* --- CLEAN DEVICE SETTINGS UI --- */

  .config-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
  }

  .config-row-stacked {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 6px;
  }

  .config-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    border-bottom: 1px solid #444;
    padding-bottom: 4px;
  }
  .config-section-header:first-of-type {
    margin-top: 10px;
  }

  .config-section-title {
    color: var(--accent);
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 6px;
    text-align: left;
    margin-top: 20px;
    border-bottom: 1px solid #444;
    padding-bottom: 4px;
  }
  
  .config-section-header .config-section-title {
    margin-top: 0;
    border-bottom: none;
    padding-bottom: 0;
  }

  .file-upload-container {
    display: flex;
    width: 100%;
    align-items: center;
  }

  .file-loaded-container {
    gap: 8px;
    width: 100%;
    align-items: center;
    background: rgba(0,0,0,0.2);
    padding: 4px 8px;
    border-radius: 6px;
    margin-top: 8px;
  }

  .filename-display {
    flex-grow: 1;
    font-family: monospace;
    font-size: 0.85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .btn-upload-label {
    cursor: pointer;
    padding: 6px 12px !important;
    width: auto;
    display: inline-block;
  }
  
  .info-icon {
    font-size: 0.8rem;
    color: #888;
    cursor: help;
    position: relative;
    display: inline-block;
    margin-left: 4px;
  }
  
  .info-icon:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: normal;
    width: max-content;
    max-width: 200px;
    z-index: 1000;
    pointer-events: none;
    border: 1px solid #555;
    box-shadow: 0 4px 6px rgba(0,0,0,0.5);
    text-align: center;
  }

  .config-row label {
    font-size: 0.92rem;
    font-weight: 500;
  }

  .modal-select-inline {
    width: auto;
    min-width: 140px;
    padding: 6px 12px;
    margin: 0;
    background: #333;
    border: 1px solid #555;
    color: white;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
  }

  .modal-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
  }

  .btn-save, .btn-cancel {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    flex: 1;
  }
  
  .btn-save {
    background-color: var(--accent);
    color: white;
  }

  .btn-cancel {
    background-color: #555;
    color: white;
  }

  /* iOS Toggle Switch */
  .switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
  }
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #555;
    transition: .4s;
  }
  .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
  }
  input:checked + .slider {
    background-color: #0f0;
  }
  input:checked + .slider:before {
    transform: translateX(26px);
  }
  .slider.round {
    border-radius: 24px;
  }
  .slider.round:before {
    border-radius: 50%;
  }
  
  input:disabled + .slider {
    opacity: 0.5;
    cursor: not-allowed;
  }

  .metric-unit {
    font-size: 0.55em;
    color: #aaa;
    font-weight: 500;
    margin-left: 1px;
  }

  .help-text {
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 10px;
  }

  /* Leaflet Blinking Blue Dot */
  .leaflet-blue-dot {
    width: 15px;
    height: 15px;
    background-color: #4285F4;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 10px rgba(66, 133, 244, 0.8);
    animation: pulse-blue 1.5s infinite;
  }

  @keyframes pulse-blue {
    0% {
      box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.7);
    }
    70% {
      box-shadow: 0 0 0 15px rgba(66, 133, 244, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(66, 133, 244, 0);
    }
  }

  /* Leaflet Blinking Green Dot */
  .leaflet-green-dot {
    width: 15px;
    height: 15px;
    background-color: #00e676;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.8);
    animation: pulse-green 1.5s infinite;
  }

  @keyframes pulse-green {
    0% {
      box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7);
    }
    70% {
      box-shadow: 0 0 0 15px rgba(0, 230, 118, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(0, 230, 118, 0);
    }
  }

  .runner-tooltip {
    background-color: rgba(0, 0, 0, 0.5) !important;
    color: #ddd !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
  }
  .leaflet-tooltip-top.runner-tooltip:before {
    border-top-color: transparent !important;
  }
  
  #leaflet-map.zoom-out .runner-tooltip {
    font-size: 0.55rem !important;
    padding: 2px 4px !important;
  }
  

  /* Toast Notification */
  .toast {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 69, 0, 0.9);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
  }
  .toast.show {
    opacity: 1;
  }


/* Push leaflet bottom controls above telemetry dashboard */
.leaflet-control-container,
.leaflet-bottom {
    bottom: 0 !important;
    z-index: 2000 !important;
    transition: padding-bottom 0.2s ease-in-out;
}

#gps-drift-badge {
  background: rgba(255, 69, 0, 0.15);
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.9rem;
  color: #ff4500;
  border: 1px solid #ff4500;
  font-family: 'Oswald', sans-serif;
  font-weight: bold;
  white-space: nowrap;
  animation: pulse-flash 1.5s infinite;
}

#off-course-badge {
  background: rgba(255, 0, 0, 0.15);
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.9rem;
  color: #ff3333;
  border: 1px solid #ff3333;
  font-family: 'Oswald', sans-serif;
  font-weight: bold;
  white-space: nowrap;
  animation: pulse-flash 1.5s infinite;
}

@keyframes pulse-flash {
  0% { opacity: 0.6; }
  50% { opacity: 1.0; }
  100% { opacity: 0.6; }
}

#box-eta {
  cursor: pointer;
}

.leaflet-control-attribution {
  display: none !important;
}

#crew-tips-list h1, #crew-tips-list h2, #crew-tips-list h3 {
  margin-block: 10px 4px;
  font-family: 'Oswald', sans-serif;
  color: var(--accent);
  text-align: left;
}
#crew-tips-list h1 { font-size: 1.4rem; }
#crew-tips-list h2 { font-size: 1.2rem; }
#crew-tips-list h3 { font-size: 1.1rem; }

#crew-tips-list p {
  margin-block: 4px 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #ddd;
}

#crew-tips-list li {
  list-style-type: disc;
  margin-left: 20px;
  margin-block: 4px;
  font-size: 0.95rem;
  color: #ddd;
  display: list-item;
}

