:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, sans-serif; background: #07111f; color: #f6f8fb; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 90% -10%, #153f5f, transparent 45%), #07111f; }
.app-shell { width: min(720px, 100%); margin: 0 auto; padding: 24px 16px 42px; }
.topbar, .hero-copy, .section-heading, .compass-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar { margin-bottom: 20px; }
.eyebrow { margin: 0 0 5px; color: #63d8ff; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
h1, h2, p { margin: 0; } h1 { font-size: clamp(24px, 5vw, 34px); letter-spacing: -.04em; } h2 { font-size: 20px; }
.status-pill, .demo-tag { border: 1px solid #31536d; border-radius: 999px; color: #9cc1d5; font-size: 11px; padding: 7px 10px; white-space: nowrap; }
.hero-card, .map-card, .destination-card { border: 1px solid #19354d; border-radius: 20px; background: rgba(11, 30, 47, .84); box-shadow: 0 15px 50px rgba(0,0,0,.18); }
.hero-card, .destination-card, .community-card, .waypoints-card { padding: 18px; margin-bottom: 14px; }
.community-card { border: 1px solid #19354d; border-radius: 20px; background: rgba(11, 30, 47, .84); }
.hero-copy { justify-content: flex-start; font-weight: 700; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #667b89; box-shadow: 0 0 0 5px rgba(102,123,137,.12); }
.live-dot.active { background: #45e0a1; box-shadow: 0 0 0 5px rgba(69,224,161,.13); }
.primary-button { width: 100%; margin-top: 18px; border: 0; border-radius: 12px; padding: 14px 16px; color: #03121c; background: #63d8ff; font: inherit; font-weight: 800; cursor: pointer; }
.primary-button.active { color: #fff; background: #b13e57; }
.muted { margin-top: 10px; color: #8ba5b7; font-size: 13px; line-height: 1.45; }
.map-card { position: relative; overflow: hidden; margin-bottom: 14px; }
#map { min-height: 390px; background: #b9dce6; }
.map-overlay { position: absolute; z-index: 500; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; gap: 10px; color: #dcebf2; font-size: 11px; pointer-events: none; }
.map-overlay span { border-radius: 8px; padding: 7px 9px; background: rgba(7,17,31,.82); }
.compass { position: relative; width: 142px; height: 142px; flex: 0 0 142px; border: 1px solid #2d5872; border-radius: 50%; background: radial-gradient(circle, #12354b 0 47%, #0b2436 48% 100%); }
.compass-ring span { position: absolute; color: #8fb7c9; font-size: 11px; font-weight: 800; } .compass-ring span:nth-child(1){top:10px;left:66px}.compass-ring span:nth-child(2){right:11px;top:65px}.compass-ring span:nth-child(3){bottom:10px;left:66px}.compass-ring span:nth-child(4){left:11px;top:65px}
.arrow { position: absolute; inset: 45px 0 auto; color: #ff6f72; text-align: center; font-size: 44px; line-height: 1; transform-origin: 50% 28%; transition: transform .25s ease; }
.destination-data { display: grid; gap: 7px; } .destination-data strong { font-size: 16px; } .destination-data span { color: #a8c1ce; font-size: 13px; }
.speed-row { display: grid; grid-template-columns: 1fr 110px; align-items: center; gap: 8px 12px; margin-top: 16px; } .speed-row label { color: #c5dce7; font-size: 13px; font-weight: 700; } .speed-row input { width: 110px; } .speed-help { grid-column: 1 / -1; color: #8ba5b7; font-size: 12px; }
.profile-row, .group-actions { display: flex; gap: 10px; margin-top: 14px; } .profile-fields { display: grid; gap: 8px; flex: 1; }
input, select { width: 100%; border: 1px solid #2b5068; border-radius: 10px; padding: 11px 12px; color: #edf7fb; background: #0a2032; font: inherit; } input[type=file] { padding: 8px; font-size: 12px; }
.secondary-button { border: 1px solid #3c718d; border-radius: 10px; padding: 10px 12px; color: #dff6ff; background: #12354b; font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
.avatar-preview { width: 62px; height: 62px; display: grid; place-items: center; flex: 0 0 62px; overflow: hidden; border: 2px solid #63d8ff; border-radius: 50%; background: #12354b; font-size: 26px; } .avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.members-list { display: grid; gap: 8px; margin-top: 12px; } .member { display: flex; align-items: center; gap: 9px; color: #c5dce7; font-size: 13px; } .member img, .member-avatar { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; object-fit: cover; background: #21465c; }
.member-marker { background: transparent; border: 0; }
.waypoints-card { border: 1px solid #19354d; border-radius: 20px; background: rgba(11, 30, 47, .84); }
.waypoint-form { display: grid; gap: 8px; margin-top: 14px; }
.coordinate-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.waypoint-buttons { display: flex; gap: 8px; }
.waypoints-list { display: grid; gap: 8px; margin-top: 14px; }
.waypoint-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px; border: 1px solid #21465c; border-radius: 10px; background: #0a2032; }
.waypoint-info { display: grid; gap: 3px; min-width: 0; }
.waypoint-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.waypoint-info span, .waypoint-info small { color: #8ba5b7; font-size: 11px; }
.waypoint-actions { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.link-button { border: 0; padding: 3px; color: #63d8ff; background: transparent; font: inherit; font-size: 12px; cursor: pointer; }
.link-button.danger { color: #ff9292; }
.waypoint-marker { border: 0; background: transparent; color: #07111f; font-size: 22px; text-align: center; text-shadow: 0 0 0 2px #63d8ff, 0 2px 4px #000; }
.leaflet-control-attribution { font-size: 9px; }
@media (max-width: 430px) { .topbar { align-items: flex-start; flex-direction: column; } .compass-row { align-items: flex-start; } .compass { width: 124px; height: 124px; flex-basis: 124px; } .group-actions { flex-direction: column; } }
