:root {
    --bg: #071019;
    --panel: rgba(12, 28, 38, 0.92);
    --panel-2: rgba(16, 38, 48, 0.94);
    --line: rgba(123, 206, 185, 0.16);
    --text: #edf7f4;
    --muted: #94aaa6;
    --mint: #6ee7c1;
    --gold: #d7b676;
    --cyan: #5dbbc2;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body.intro-open { overflow: hidden; }
.brand-intro {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #f3fbff;
    background:
        radial-gradient(ellipse at 50% 44%, rgba(23, 124, 153, 0.2), transparent 33rem),
        linear-gradient(145deg, #050914, #081a2a 55%, #07111d);
    opacity: 1;
    transition: opacity 650ms ease, visibility 650ms ease;
}
.brand-intro.is-leaving { visibility: hidden; opacity: 0; pointer-events: none; }
.intro-atmosphere {
    position: absolute;
    inset: -30%;
    background:
        radial-gradient(ellipse at 50% 54%, transparent 0 17rem, rgba(76, 203, 221, 0.1) 17.1rem, transparent 17.2rem),
        repeating-linear-gradient(118deg, transparent 0 95px, rgba(93, 187, 194, 0.035) 96px 97px, transparent 98px 190px);
    animation: intro-atmosphere-drift 12s linear infinite;
}
.intro-content { position: relative; display: grid; justify-items: center; padding: 24px; text-align: center; animation: intro-content-arrive 900ms cubic-bezier(.2,.8,.2,1) both; }
.intro-emblem { position: relative; width: 112px; height: 112px; display: grid; place-items: center; margin-bottom: 29px; border: 1px solid rgba(110, 231, 193, 0.55); border-radius: 32px; color: var(--mint); background: linear-gradient(145deg, rgba(110, 231, 193, 0.12), rgba(45, 104, 150, 0.1)); box-shadow: 0 0 80px rgba(63, 206, 206, 0.16), inset 0 0 28px rgba(110, 231, 193, 0.08); transform: rotate(-8deg); }
.intro-emblem-letter { font-size: 60px; font-weight: 800; letter-spacing: -6px; transform: rotate(8deg); text-shadow: 0 0 28px rgba(110, 231, 193, 0.45); }
.intro-orbit { position: absolute; inset: -15px; border: 1px solid rgba(110, 231, 193, 0.17); border-radius: 38px; transform: rotate(25deg); }
.intro-orbit-two { inset: -28px; border-color: rgba(93, 187, 194, 0.12); border-radius: 44px; transform: rotate(-25deg); }
.intro-overline { color: var(--mint); font-size: 10px; font-weight: 700; letter-spacing: 5px; }
.intro-content h1 { margin-top: 12px; font-size: clamp(48px, 9vw, 76px); line-height: 1; letter-spacing: -4px; text-shadow: 0 7px 40px rgba(90, 210, 213, 0.2); }
.intro-tagline { margin-top: 16px; color: #b4c9d4; font-size: 14px; letter-spacing: 2px; }
.intro-actions { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.intro-enter { min-height: 46px; padding: 0 19px; border: 1px solid rgba(110, 231, 193, 0.7); border-radius: 7px; color: #071019; background: linear-gradient(105deg, #6ee7c1, #83d9e5); font-size: 12px; font-weight: 800; box-shadow: 0 0 32px rgba(110, 231, 193, 0.17); }
.intro-enter span { margin-left: 10px; }
.intro-skip { padding: 10px 4px; border: 0; color: #a8bdc8; background: transparent; font-size: 11px; }
.intro-status { min-height: 16px; margin-top: 17px; color: #78909e; font-size: 10px; }
@keyframes intro-content-arrive { from { opacity: 0; transform: translateY(17px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes intro-atmosphere-drift { to { transform: rotate(360deg); } }
body {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
    font-kerning: normal;
    text-rendering: optimizeLegibility;
    background:
        linear-gradient(rgba(93, 187, 194, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(93, 187, 194, 0.035) 1px, transparent 1px),
        radial-gradient(ellipse at 76% 14%, rgba(48, 220, 203, 0.15), transparent 30rem),
        radial-gradient(ellipse at 16% 84%, rgba(45, 100, 219, 0.12), transparent 32rem),
        linear-gradient(135deg, #050b15 0%, #081522 48%, #07101d 100%);
    background-size: 72px 72px, 72px 72px, auto, auto, auto;
}
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button { transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease; }
button:hover { transform: translateY(-1px); }
button:active { transform: scale(0.97); }

.topbar {
    height: 74px;
    display: grid;
    grid-template-columns: 180px minmax(220px, 1fr) auto auto;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 24px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(100deg, rgba(5, 13, 23, 0.97), rgba(8, 24, 35, 0.9));
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 21px; font-weight: 800; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--mint); border-radius: 50% 50% 46% 54%; color: var(--mint); background: rgba(110, 231, 193, 0.08); box-shadow: 0 0 24px rgba(110, 231, 193, 0.12); }
.global-search { height: 46px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 4px; padding: 5px 6px 5px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.global-search span { color: var(--mint); font-size: 21px; }
.global-search input { min-width: 0; border: 0; outline: 0; color: var(--text); background: transparent; }
.global-search input::placeholder { color: var(--muted); }
.global-search button { height: 34px; padding: 0 16px; border: 0; border-radius: 6px; color: #071019; background: var(--mint); font-weight: 800; }
.owner-contact { min-width: 178px; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid rgba(110, 231, 193, 0.2); border-radius: 8px; color: var(--text); text-decoration: none; background: linear-gradient(120deg, rgba(110, 231, 193, 0.09), rgba(39, 93, 120, 0.1)); transition: border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.owner-contact:hover { transform: translateY(-1px); border-color: rgba(110, 231, 193, 0.55); background: rgba(110, 231, 193, 0.13); }
.contact-icon { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #071019; background: var(--mint); font-size: 16px; font-weight: 800; }
.contact-copy { min-width: 0; display: grid; gap: 2px; }
.contact-copy strong { font-size: 13px; line-height: 1.2; }
.contact-copy small { color: var(--muted); font-size: 10px; line-height: 1.2; white-space: nowrap; }
.top-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.language-select { height: 38px; max-width: 118px; border: 1px solid var(--line); border-radius: 7px; color: var(--text); background: var(--panel); outline: 0; padding: 0 8px; }
.install-button { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 0 9px; border: 1px solid rgba(110, 231, 193, 0.38); border-radius: 7px; color: var(--mint); background: rgba(110, 231, 193, 0.08); font-size: 12px; font-weight: 700; }
.install-button[hidden] { display: none; }
.icon-button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; color: var(--mint); background: var(--panel); }
.account-button { font-weight: 800; }

.app-shell { height: calc(100vh - 74px); display: grid; grid-template-columns: 86px minmax(0, 1fr); }
.service-nav { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 10px; border-right: 1px solid var(--line); background: rgba(8, 20, 29, 0.96); }
.service-button { width: 64px; height: 58px; display: grid; place-items: center; gap: 0; border: 1px solid transparent; border-radius: 8px; color: var(--muted); background: transparent; }
.service-button span { font-size: 20px; line-height: 1; }
.service-button small { font-size: 10px; }
.service-button:hover { border-color: var(--line); color: var(--text); background: rgba(110, 231, 193, 0.05); }
.service-button.active { border-color: rgba(110, 231, 193, 0.22); color: var(--mint); background: rgba(110, 231, 193, 0.08); box-shadow: inset 3px 0 0 var(--mint); }
.workspace { position: relative; min-width: 0; padding: 20px; }
.map-header { height: 58px; display: flex; align-items: flex-start; justify-content: space-between; }
.city-label, .drawer-kicker { color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: 3px; }
.map-header h1 { margin-top: 3px; font-size: 20px; font-weight: 700; letter-spacing: -0.35px; }
.city-label { text-shadow: 0 0 16px rgba(215, 182, 118, 0.32); }
.view-toggle { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); }
.view-button { min-width: 44px; height: 32px; border: 0; border-radius: 5px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 800; }
.view-button.active { color: #071019; background: var(--mint); }

.map-workspace { position: relative; height: calc(100vh - 210px); min-height: 440px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.leaflet-container { font-family: inherit; }
#map { width: 100%; height: 100%; z-index: 1; background: #10252d; filter: saturate(0.78) contrast(1.08) hue-rotate(142deg); transition: filter 300ms ease, transform 500ms cubic-bezier(.2,.8,.2,1); }
.map-workspace.three-d #map { transform: perspective(900px) scale(1.015) rotateX(2deg); filter: saturate(0.65) contrast(1.14) hue-rotate(142deg) brightness(0.8); }
.results-panel { position: relative; z-index: 4; height: 100%; padding: 16px; border-left: 1px solid var(--line); background: rgba(10, 24, 33, 0.96); backdrop-filter: blur(12px); transition: width 220ms ease, padding 220ms ease, opacity 180ms ease; }
.results-panel.collapsed { width: 0; padding-inline: 0; opacity: 0; overflow: hidden; pointer-events: none; }
.results-reopen { position: absolute; z-index: 6; top: 12px; right: 12px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; color: var(--text); background: rgba(8, 20, 29, 0.94); }
.map-workspace:has(.results-panel.collapsed) { grid-template-columns: minmax(0, 1fr) 0; }
.results-heading { height: 36px; display: flex; align-items: flex-start; justify-content: space-between; font-size: 13px; font-weight: 800; }
.close-button { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: transparent; }
.status-message { min-height: 46px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.5; white-space: pre-line; }
.results-list { display: grid; gap: 8px; }
.place-card { width: 100%; min-height: 70px; display: grid; grid-template-columns: 38px 1fr; align-items: center; text-align: left; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: rgba(16, 38, 48, 0.72); }
.place-result-row { display: grid; grid-template-columns: minmax(0, 1fr) 34px; gap: 6px; }
.place-save, .track-favorite { width: 34px; min-height: 34px; align-self: center; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: var(--panel-2); font-size: 18px; }
.place-save[aria-pressed="true"], .track-favorite[aria-pressed="true"] { border-color: rgba(110, 231, 193, 0.5); color: var(--mint); }
.place-card:hover { border-color: rgba(110, 231, 193, 0.42); background: rgba(110, 231, 193, 0.06); }
.place-index { display: grid; place-items: center; color: var(--gold); font-size: 11px; }
.place-card strong, .place-card small { display: block; }
.place-card strong { margin-bottom: 5px; font-size: 12px; }
.place-card small { color: var(--muted); font-size: 10px; }
.map-controls { position: absolute; left: 116px; bottom: 28px; z-index: 5; display: flex; gap: 8px; }
.location-button, .route-button { height: 42px; padding: 0 14px; border-radius: 7px; font-weight: 800; }
.location-button { border: 1px solid var(--line); color: var(--text); background: rgba(10, 24, 33, 0.94); }
.route-button { border: 1px solid var(--mint); color: #071019; background: var(--mint); }
.location-button:hover, .route-button:hover { box-shadow: 0 9px 24px rgba(110, 231, 193, 0.12); }

.service-drawer { position: fixed; z-index: 30; top: 74px; bottom: 0; left: 86px; width: min(360px, calc(100vw - 86px)); padding: 22px; border-right: 1px solid var(--line); background: rgba(8, 20, 29, 0.98); transform: translateX(-105%); transition: transform 260ms cubic-bezier(.2,.8,.2,1), visibility 260ms ease; backdrop-filter: blur(16px); visibility: hidden; pointer-events: none; }
.service-drawer.open { visibility: visible; pointer-events: auto; }
.service-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.drawer-header h2 { margin-top: 5px; font-size: 20px; }
.drawer-section { display: grid; gap: 10px; padding-top: 16px; }
.drawer-field { display: grid; gap: 6px; color: var(--muted); font-size: 11px; }
.drawer-field input, .drawer-field textarea, .drawer-field select { width: 100%; border: 1px solid var(--line); border-radius: 7px; padding: 10px; color: var(--text); outline: 0; background: var(--panel-2); resize: vertical; }
.primary-button { height: 42px; border: 1px solid var(--mint); border-radius: 7px; color: #071019; background: var(--mint); font-weight: 800; }
.primary-button:disabled { cursor: wait; opacity: 0.65; }
.review-item { padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); }
.review-item strong { display: block; margin-bottom: 5px; font-size: 12px; }
.review-item p { color: var(--muted); font-size: 11px; line-height: 1.6; }
.review-list { display: grid; gap: 8px; }
.review-image { display: block; width: 100%; max-height: 220px; margin-top: 10px; border-radius: 6px; object-fit: cover; }
.review-status, .review-login-note { color: var(--muted); font-size: 11px; line-height: 1.6; }
.review-status:empty { display: none; }
.review-status.error, .auth-message.error { color: #ff9d9d; }
.review-form, .auth-form { display: grid; gap: 10px; }
.review-form input[type="file"] { padding: 7px; font-size: 10px; }
.auth-message { min-height: 18px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.text-button { border: 0; color: var(--mint); background: transparent; font-size: 12px; }
[hidden] { display: none !important; }

.music-dock { position: fixed; z-index: 20; right: 22px; bottom: 18px; height: 68px; display: grid; grid-template-columns: 28px 40px 28px 28px 42px 150px minmax(80px, 150px) 38px 40px 28px 28px; align-items: center; gap: 8px; padding: 7px 12px 7px 7px; border: 1px solid var(--line); border-radius: 9px; background: rgba(8, 20, 29, 0.94); backdrop-filter: blur(14px); }
.music-stage { display: none; }
.music-play { width: 38px; height: 38px; border: 0; border-radius: 50%; color: #071019; background: var(--gold); }
.music-step { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; color: var(--text); background: var(--panel-2); font-size: 18px; line-height: 20px; }
.music-favorite { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: var(--panel-2); font-size: 15px; }
.music-favorite.active { border-color: rgba(110, 231, 193, 0.5); color: var(--mint); }
.music-expand { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 6px; color: var(--mint); background: var(--panel-2); font-size: 18px; line-height: 1; }
.music-progress { width: 100%; accent-color: var(--mint); }
.online-music-search { display: grid; gap: 7px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(16, 38, 48, 0.58); }
.online-music-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.online-music-row input { min-width: 0; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--text); background: var(--panel-2); }
.online-music-row .primary-button { padding: 0 13px; }
.online-music-note { color: var(--muted); font-size: 10px; }
.music-track-list, .music-favorites, .saved-items { display: grid; gap: 8px; }
.music-favorites { padding: 10px 0 2px; color: var(--text); font-size: 12px; }
.track-row { display: grid; grid-template-columns: minmax(0, 1fr) 36px; gap: 6px; align-items: center; }
.track-card { min-height: 56px; }
.track-favorite { width: 36px; height: 36px; }
.saved-track, .saved-item-button { min-height: 38px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--text); text-align: left; background: rgba(16, 38, 48, 0.72); font-size: 11px; }
.bus-panel { --bus-accent: #ffc86b; --bus-highlight: #a995ff; }
.bus-panel-intro, .bus-data-notice { color: var(--muted); font-size: 11px; line-height: 1.7; }
.bus-feature-group { display: grid; gap: 9px; padding: 12px; border: 1px solid rgba(169, 149, 255, 0.24); border-radius: 9px; background: linear-gradient(145deg, rgba(54, 43, 91, 0.32), rgba(16, 38, 48, 0.58)); }
.bus-feature-group h3 { color: var(--bus-highlight); font-size: 11px; }
.bus-feature-group p { color: var(--muted); font-size: 10px; line-height: 1.7; }
.bus-link-card { min-height: 68px; display: grid; grid-template-columns: 42px minmax(0, 1fr) 18px; align-items: center; gap: 8px; padding: 10px; border: 1px solid rgba(255, 200, 107, 0.25); border-radius: 8px; color: var(--text); text-decoration: none; background: rgba(16, 38, 48, 0.72); }
.bus-link-card:hover { border-color: var(--bus-accent); background: rgba(255, 200, 107, 0.07); }
.bus-link-card strong, .bus-link-card small { display: block; }
.bus-link-card strong { font-size: 11px; line-height: 1.5; }
.bus-link-card small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.bus-live-link .place-index { color: var(--bus-highlight); font-size: 9px; letter-spacing: 0.5px; }
.bus-app-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.bus-app-links a, .bus-schedule-inline { padding: 9px 6px; border: 1px solid rgba(169, 149, 255, 0.28); border-radius: 6px; color: var(--bus-highlight); text-align: center; text-decoration: none; font-size: 10px; }
.bus-app-links a:hover, .bus-schedule-inline:hover { border-color: var(--bus-highlight); background: rgba(169, 149, 255, 0.08); }
.bus-schedule-inline { display: block; }
.music-time { color: var(--muted); font-size: 9px; text-align: right; }
.smart-mode-button { height: 30px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: transparent; font-size: 10px; font-weight: 800; }
.smart-mode-button.active { border-color: var(--mint); color: #071019; background: var(--mint); box-shadow: 0 0 18px rgba(110,231,193,.18); }
.track-art { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 6px; color: var(--gold); background: linear-gradient(135deg, #183c43, #0d191e); font-size: 11px; }
.track-info strong, .track-info small { display: block; }
.track-info strong { font-size: 11px; }
.track-info small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.equalizer { height: 22px; display: flex; align-items: end; gap: 3px; }
.equalizer i { width: 2px; height: 7px; background: var(--mint); animation: pulse 900ms ease-in-out infinite alternate; }
.equalizer i:nth-child(2) { animation-delay: -300ms; }
.equalizer i:nth-child(3) { animation-delay: -600ms; }
.equalizer i:nth-child(4) { animation-delay: -150ms; }
.music-dock.paused .equalizer i { animation-play-state: paused; height: 3px; }
@keyframes pulse { from { height: 3px; } to { height: 21px; } }

.music-dock.immersive {
    inset: 0;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 500px;
    grid-template-columns: minmax(0, 1fr) repeat(3, auto) minmax(0, 1fr);
    grid-template-rows: 42px minmax(120px, 1fr) auto auto 54px;
    gap: 18px 14px;
    padding: clamp(20px, 5vw, 64px);
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
}
.music-dock.immersive .music-stage {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: block;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 52%, rgba(24, 101, 104, 0.38), transparent 38%),
        radial-gradient(ellipse at 16% 70%, rgba(48, 95, 190, 0.27), transparent 36%),
        radial-gradient(ellipse at 84% 70%, rgba(181, 91, 86, 0.2), transparent 36%),
        linear-gradient(180deg, #050914, #0b1425 58%, #050910);
}
.music-dock.immersive .music-stage::before {
    position: absolute;
    inset: -30%;
    content: "";
    background:
        conic-gradient(from 240deg at 18% 75%, transparent 0 18deg, rgba(79, 194, 220, 0.15) 20deg, transparent 34deg 180deg),
        conic-gradient(from 105deg at 82% 74%, transparent 0 16deg, rgba(187, 115, 238, 0.13) 18deg, transparent 32deg 180deg),
        radial-gradient(ellipse at 50% 108%, rgba(110, 231, 193, 0.22), transparent 35%);
    animation: concert-lights 16s ease-in-out infinite alternate;
}
.music-dock.immersive .music-stage::after {
    position: absolute;
    right: -8%;
    bottom: -43%;
    left: -8%;
    height: 58%;
    border-radius: 50% 50% 0 0;
    content: "";
    background: repeating-linear-gradient(90deg, transparent 0 26px, rgba(127, 220, 213, 0.04) 27px 28px);
    filter: blur(1px);
    transform: perspective(260px) rotateX(32deg);
}
.music-dock.immersive > :not(.music-stage) { position: relative; z-index: 1; }
.music-dock.immersive .smart-mode-button { grid-column: 1; grid-row: 1; justify-self: start; align-self: start; }
.music-dock.immersive .music-expand { grid-column: 5; grid-row: 1; justify-self: end; width: 38px; height: 38px; }
.music-dock.immersive .track-art {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    align-self: end;
    width: clamp(150px, 27vmin, 280px);
    height: clamp(150px, 27vmin, 280px);
    border: 1px solid rgba(110, 231, 193, 0.48);
    border-radius: 50%;
    color: #eafff9;
    background:
        radial-gradient(circle at 50% 50%, rgba(7, 17, 26, 0.2) 0 12%, transparent 13%),
        repeating-radial-gradient(circle at 50% 50%, rgba(110, 231, 193, 0.12) 0 1px, transparent 2px 8px),
        radial-gradient(circle at 38% 32%, rgba(46, 142, 143, 0.9), rgba(13, 31, 49, 0.96) 58%, #070c17);
    box-shadow: 0 0 42px rgba(70, 220, 193, 0.17), inset 0 0 48px rgba(0, 0, 0, 0.5);
    font-size: 18px;
}
.music-dock.immersive .track-info { grid-column: 1 / -1; grid-row: 3; text-align: center; }
.music-dock.immersive .track-info strong { font-size: clamp(22px, 4vw, 34px); letter-spacing: -0.5px; }
.music-dock.immersive .track-info small { margin-top: 8px; font-size: 12px; }
.music-dock.immersive .music-progress { grid-column: 1 / 5; grid-row: 4; align-self: center; height: 5px; }
.music-dock.immersive .music-time { grid-column: 5; grid-row: 4; align-self: center; font-size: 12px; }
.music-dock.immersive .music-previous { grid-column: 2; grid-row: 5; justify-self: end; width: 44px; height: 44px; }
.music-dock.immersive .music-play { grid-column: 3; grid-row: 5; width: 54px; height: 54px; font-size: 20px; box-shadow: 0 0 26px rgba(215, 182, 118, 0.25); }
.music-dock.immersive .music-next { grid-column: 4; grid-row: 5; justify-self: start; width: 44px; height: 44px; }
.music-dock.immersive .music-favorite { grid-column: 1; grid-row: 5; justify-self: end; width: 40px; height: 40px; }
.music-dock.immersive .equalizer { grid-column: 5; grid-row: 5; justify-self: end; }
.music-dock.immersive .equalizer i { width: 3px; }
.music-dock.immersive .music-stage > span {
    position: absolute;
    top: clamp(24px, 5vw, 62px);
    left: 50%;
    color: rgba(211, 244, 240, 0.62);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
    transform: translateX(-50%);
}
@keyframes concert-lights {
    from { transform: rotate(-5deg) scale(1); }
    to { transform: rotate(5deg) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
    .intro-atmosphere { animation: none; }
    .intro-content { animation-duration: 1ms; }
    .brand-intro { transition-duration: 1ms; }
    .music-dock.immersive .music-stage::before { animation: none; }
}

.modal { position: fixed; z-index: 40; inset: 0; display: none; place-items: center; padding: 20px; background: rgba(3, 8, 12, 0.72); backdrop-filter: blur(10px); }
.modal.open { display: grid; }
.modal-card { position: relative; width: min(360px, 100%); display: grid; justify-items: center; gap: 12px; padding: 30px; border: 1px solid var(--line); border-radius: 10px; text-align: center; background: var(--panel-2); }
.modal-close { position: absolute; top: 12px; right: 12px; }
.profile-avatar { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--mint); color: var(--mint); background: rgba(110,231,193,.08); font-size: 24px; }
.modal-card p { color: var(--muted); font-size: 12px; }
.modal-card .primary-button { width: 100%; }

@media (max-width: 900px) {
    .topbar { grid-template-columns: 150px minmax(150px, 1fr) auto auto; gap: 10px; padding: 0 14px; }
    .owner-contact { min-width: 0; padding: 7px 9px; }
    .contact-icon { width: 25px; height: 25px; }
    .contact-copy small { font-size: 9px; }
    .language-select { max-width: 100px; }
    .music-dock { right: 12px; height: 62px; grid-template-columns: 26px 38px 26px 26px 38px minmax(90px, 1fr) minmax(80px, 0.9fr) 32px 36px 28px 28px; gap: 6px; padding: 6px; }
    .music-dock .music-play { width: 36px; height: 36px; }
    .app-shell { grid-template-columns: 72px minmax(0, 1fr); }
    .service-nav { padding-inline: 4px; }
    .service-button { width: 58px; }
    .service-drawer { left: 72px; }
    .map-workspace { grid-template-columns: minmax(0, 1fr) 240px; }
    .map-controls { left: 102px; }
}

@media (max-width: 700px) {
    .topbar { height: 152px; grid-template-columns: 1fr auto; grid-template-rows: 54px 46px 38px; gap: 0 10px; padding: 0 12px; }
    .brand { grid-column: 1; }
    .top-actions { grid-column: 2; }
    .global-search { grid-column: 1 / -1; grid-row: 2; width: 100%; }
    .owner-contact { grid-column: 1 / -1; grid-row: 3; width: fit-content; padding: 4px 9px; }
    .contact-icon { width: 24px; height: 24px; }
    .language-select { max-width: 104px; }
    .install-button { width: 36px; min-width: 36px; height: 36px; padding: 0; }
    .install-button-label { display: none; }
    .app-shell { height: calc(100vh - 152px); grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) 64px; }
    .service-nav { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; height: 64px; flex-direction: row; justify-content: space-around; padding: 3px 8px; border-top: 1px solid var(--line); border-right: 0; }
    .service-button { width: 58px; height: 52px; }
    .service-button.active { box-shadow: inset 0 3px 0 var(--mint); }
    .workspace { grid-row: 1; padding: 12px 10px 76px; }
    .map-header { height: 52px; }
    .map-header h1 { font-size: 16px; }
    .map-workspace { height: calc(100vh - 262px); min-height: 420px; grid-template-columns: 1fr; }
    .results-panel { position: absolute; left: 10px; right: 10px; bottom: 10px; height: auto; max-height: 190px; border: 1px solid var(--line); border-radius: 8px; }
    .results-list { grid-auto-flow: column; grid-auto-columns: 220px; overflow-x: auto; }
    .map-controls { left: 20px; bottom: 218px; }
    .service-drawer { z-index: 35; top: auto; bottom: 64px; left: 0; width: 100%; max-height: 70vh; border: 1px solid var(--line); border-bottom: 0; transform: translateY(105%); }
    .service-drawer.open { transform: translateY(0); }
    .music-dock { left: 10px; right: 10px; bottom: 74px; height: 60px; grid-template-columns: 28px 38px 28px 28px 38px minmax(45px, 1fr) 30px 30px 28px; gap: 6px; padding: 6px 7px; }
    .music-dock .track-art { width: 38px; height: 38px; }
    .music-dock .music-time, .music-dock .equalizer { display: none; }
    .music-dock .music-expand { width: 28px; height: 28px; }
    .music-dock.immersive {
        inset: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        min-height: 420px;
        grid-template-columns: minmax(0, 1fr) repeat(3, auto) minmax(0, 1fr);
        grid-template-rows: 38px minmax(100px, 1fr) auto auto 48px;
        gap: 14px 8px;
        padding: 22px 18px max(28px, env(safe-area-inset-bottom));
    }
    .music-dock.immersive .track-art { width: clamp(140px, 42vmin, 220px); height: clamp(140px, 42vmin, 220px); }
    .music-dock.immersive .music-time, .music-dock.immersive .equalizer { display: flex; }
}
@media (max-width: 360px) {
    .language-select { max-width: 84px; padding-inline: 5px; }
    .install-button { width: 32px; min-width: 32px; height: 34px; }
    .icon-button { width: 34px; height: 34px; }
    .music-dock { grid-template-columns: 28px 36px 28px 28px 34px minmax(0, 1fr) 28px 28px; gap: 5px; }
    .music-dock .music-progress { display: none; }
    .music-dock.immersive .music-progress { display: block; }
    .music-dock.immersive { padding-inline: 12px; }
}