﻿@charset "utf-8";

:root {
    --v2-titlebar-height: 72px;
    --v2-link-height: 44px;
    --v2-banner-width: min(480px, 90vw);
    --v2-ad-space: 74px;
    --v2-control-gap: 10px;
    --v2-safe-top: env(safe-area-inset-top, 0px);
    --v2-safe-right: env(safe-area-inset-right, 0px);
    --v2-safe-bottom: env(safe-area-inset-bottom, 0px);
    --v2-safe-left: env(safe-area-inset-left, 0px);
    --v2-text: #111827;
    --v2-muted: #5f6b7a;
    --v2-border: #d9dee7;
    --v2-soft-border: #e8ebf0;
    --v2-surface: #ffffff;
    --v2-surface-soft: rgba(255, 255, 255, 0.94);
    --v2-blue: #075ed8;
    --v2-blue-dark: #044fb9;
    --v2-green: #10884d;
    --v2-red: #d93025;
    --v2-yellow: #f5b301;
    --v2-shadow: 0 16px 42px rgba(15, 23, 42, 0.18);
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    color: var(--v2-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", Arial, sans-serif;
    background: #eef2f5;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

.v2-shell {
    position: fixed;
    inset: 0;
    display: grid;
    grid-template-rows: calc(var(--v2-titlebar-height) + var(--v2-safe-top)) var(--v2-link-height) 1fr;
    min-width: 0;
    background: #eef2f5;
}

.v2-titlebar {
    z-index: 1200;
    display: grid;
    grid-template-columns: minmax(210px, 1fr) minmax(280px, 560px) max-content max-content;
    align-items: center;
    gap: 16px;
    padding: calc(12px + var(--v2-safe-top)) 20px 12px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--v2-border);
    box-shadow: 0 1px 12px rgba(15, 23, 42, 0.08);
}

.v2-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 40px;
    font-weight: 800;
    letter-spacing: 0;
}

.v2-brand-logo {
    display: inline-flex;
    align-items: center;
    width: 134px;
    height: 28px;
    flex: 0 0 auto;
    overflow: hidden;
}

.v2-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.v2-brand-text {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 25px;
    line-height: 1;
}

.v2-brand-text strong {
    font-weight: 760;
}

.v2-search {
    position: relative;
    min-width: 0;
}

.v2-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    color: #667085;
    font-size: 18px;
    pointer-events: none;
}

#searchInput {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 46px;
    padding: 0 48px 0 43px;
    border: 1px solid #c8ced8;
    border-radius: 9px;
    outline: none;
    color: #101828;
    caret-color: #101828 !important;
    -webkit-appearance: none;
    appearance: none;
    background: #fff;
    color-scheme: light;
    font-size: 16px;
    line-height: normal;
    opacity: 1;
    -webkit-user-select: text;
    user-select: text;
    transform: translateZ(0);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

#searchInput::placeholder {
    color: #aeb6c2;
    opacity: 1;
}

#searchInput:focus {
    border-color: #4d8ff0;
    color: #101828;
    caret-color: #101828 !important;
    box-shadow: 0 0 0 3px rgba(7, 94, 216, 0.13);
}

.v2-search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    z-index: 3;
    width: 32px;
    height: 32px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #667085;
    font-size: 18px;
}

.v2-icon-btn,
.v2-filter-button,
.v2-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cfd6e1;
    background: #fff;
    color: #1f2937;
    border-radius: 9px;
    min-height: 42px;
    transition: background 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.v2-search .v2-search-clear {
    display: none;
    min-height: 32px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.v2-search.has-value .v2-search-clear {
    display: inline-flex;
}

.v2-search.has-value .v2-search-clear:hover {
    border: 0;
    background: #f2f4f7;
}

.v2-icon-btn:hover,
.v2-filter-button:hover,
.v2-menu-button:hover {
    background: #f8fafc;
    border-color: #b8c2d1;
}

.v2-filter-button {
    position: relative;
    gap: 8px;
    width: 118px;
    padding: 0 18px;
    font-weight: 700;
}

.v2-filter-icon {
    position: relative;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
}

.v2-filter-icon::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 4px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 8px solid currentColor;
}

.v2-filter-icon::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 10px;
    width: 4px;
    height: 4px;
    border-radius: 0 0 1px 1px;
    background: currentColor;
}

.v2-count,
.v2-watch-count {
    display: inline-flex;
    min-width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--v2-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.v2-filter-button .v2-count {
    position: absolute;
    right: -7px;
    top: -7px;
}

.v2-menu-button {
    position: relative;
    width: 46px;
    font-size: 24px;
}

.v2-watch-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}

.v2-watch-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.25;
}

.v2-watch-count {
    position: absolute;
    right: -7px;
    top: -7px;
}

.v2-link-strip {
    z-index: 1100;
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 0 16px;
    background: #fff;
    border-bottom: 1px solid var(--v2-soft-border);
}

.v2-link-scroll {
    display: flex;
    gap: 10px;
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    padding: 6px 0;
}

.v2-link-scroll a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    max-width: min(420px, 72vw);
    flex: 0 0 auto;
    padding: 0 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    border: 1px solid #e6e9ef;
    border-radius: 7px;
    background: #fff;
    color: #2f3a4a;
    font-size: 13px;
    font-weight: 650;
}

.v2-link-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    object-fit: contain;
}

.v2-link-scroll a:hover {
    border-color: #bfd2f4;
    background: #f7fbff;
    color: #075ed8;
}

.v2-map-stage {
    position: relative;
    min-height: 0;
    overflow: hidden;
}

#map {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #dbe6ee;
}

.leaflet-control-zoom {
    margin: 12px 0 0 12px !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16) !important;
}

.v2-user-location-marker {
    border: 0;
    background: transparent;
}

.v2-user-location-marker span {
    display: block;
    width: 100%;
    height: 100%;
    border: 3px solid #fff;
    border-radius: 999px;
    background: #1a73e8;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.45), 0 0 0 2px rgba(26, 115, 232, 0.16);
}

.v2-search-results {
    position: absolute;
    top: 54px;
    left: 0;
    right: 0;
    z-index: 1500;
    max-height: min(420px, calc(100vh - 180px));
    overflow-y: auto;
    border: 1px solid #d7dce5;
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--v2-shadow);
}

.v2-search-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid #edf0f4;
    background: #fff;
    text-align: left;
}

.v2-search-item:hover,
.v2-search-item:focus {
    background: #f8fbff;
}

.v2-search-item strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
}

.v2-search-item small {
    grid-column: 1 / -1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--v2-muted);
    font-size: 12px;
}

.v2-search-status {
    align-self: start;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 800;
}

.v2-search-status.available {
    color: #067647;
    background: #dcfae6;
}

.v2-search-status.unavailable {
    color: #b42318;
    background: #fee4e2;
}

.v2-detail-panel {
    position: absolute;
    z-index: 900;
    top: 16px;
    right: 18px;
    bottom: calc(var(--v2-ad-space) + 18px);
    width: min(440px, calc(100vw - 42px));
    overflow: hidden;
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: 10px;
    background: var(--v2-surface-soft);
    box-shadow: var(--v2-shadow);
    backdrop-filter: blur(10px);
}

.v2-detail-panel:not(.open) {
    display: none;
}

.v2-panel-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #111827;
    font-size: 28px;
    line-height: 1;
}

.v2-panel-close:hover {
    background: #f1f5f9;
}

.v2-detail-content {
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    padding: 26px 18px 16px;
    overscroll-behavior: contain;
}

.v2-empty-panel {
    display: grid;
    gap: 8px;
    padding: 44px 14px;
    color: var(--v2-muted);
    text-align: center;
}

.v2-empty-panel strong {
    color: var(--v2-text);
    font-size: 20px;
}

.v2-station-head {
    display: grid;
    gap: 8px;
    padding-right: 34px;
}

.v2-station-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
    min-width: 0;
}

.v2-pill {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    flex: 0 0 auto;
    min-height: 22px;
    padding: 3px 9px 2px;
    border-radius: 999px;
    background: #dcfae6;
    color: #067647;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 3px;
    white-space: nowrap;
}

.v2-pill.empty {
    background: #fee4e2;
    color: #b42318;
}

.v2-station-title {
    min-width: 0;
    margin: 0;
    font-size: 24px;
    line-height: 1.22;
    overflow-wrap: anywhere;
}

.v2-meta {
    display: grid;
    gap: 6px;
    color: #344054;
    font-size: 14px;
}

.v2-meta-row {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: start;
    gap: 6px;
    min-width: 0;
}

.v2-meta-icon {
    display: inline-flex;
    justify-content: center;
    width: 22px;
    line-height: 1.35;
}

.v2-meta-provider {
    color: #667085;
}

.v2-plug-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 0;
    margin-top: 1px;
}

.v2-plug-badge {
    display: inline-flex;
    align-items: center;
    min-height: 21px;
    padding: 3px 8px 2px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.v2-summary-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 14px;
}

.v2-summary-tag {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 7px 10px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #edf0f4;
    color: #344054;
    font-size: 13px;
}

.v2-section-title {
    margin: 18px 0 8px;
    font-size: 15px;
    font-weight: 850;
}

.v2-charger-table {
    overflow: hidden;
    border: 1px solid var(--v2-border);
    border-radius: 8px;
    background: #fff;
}

.v2-charger-row {
    display: grid;
    grid-template-columns: minmax(132px, 1.2fr) minmax(86px, 0.85fr) minmax(96px, 0.9fr);
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 8px 10px;
    border-bottom: 1px solid #edf0f4;
}

.v2-charger-row:last-child {
    border-bottom: 0;
}

.v2-charger-head {
    min-height: 34px;
    color: #667085;
    background: #fafafa;
    font-size: 12px;
    font-weight: 700;
}

.v2-charger-head span:last-child {
    text-align: right;
}

.v2-type {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    font-weight: 760;
    font-size: 14px;
}

.v2-availability-bar {
    display: grid;
    gap: 4px;
    min-width: 0;
    font-size: 12px;
}

.v2-bar {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: #d8dde6;
}

.v2-bar span {
    display: block;
    height: 100%;
    min-width: 5px;
    border-radius: inherit;
    background: var(--v2-green);
}

.v2-bar span.empty {
    background: var(--v2-red);
}

.v2-fee {
    min-width: 0;
    overflow: visible;
    white-space: normal;
    overflow-wrap: normal;
    word-break: keep-all;
    color: #344054;
    text-align: right;
    font-size: 13px;
    line-height: 1.32;
}

.v2-insight-slot {
    margin-top: 12px;
}

.v2-insight {
    overflow: hidden;
    border: 1px solid rgba(16, 136, 77, 0.45);
    border-radius: 8px;
    background: #f6fffa;
}

.v2-insight-header {
    display: grid;
    grid-template-columns: minmax(118px, auto) minmax(0, 1fr) 18px;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 0;
    background: linear-gradient(90deg, rgba(16, 136, 77, 0.1), rgba(16, 136, 77, 0.03));
    color: #064e3b;
    text-align: left;
}

.v2-insight-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    font-size: 14px;
    font-weight: 850;
    white-space: nowrap;
}

.v2-insight-title::before {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 999px;
    background: var(--v2-green);
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.8);
}

.v2-insight-judgement {
    min-width: 0;
    color: #057647;
    font-size: 13px;
    font-weight: 800;
    text-align: right;
    line-height: 1.25;
}

.v2-insight-high .v2-insight-header {
    background: linear-gradient(90deg, rgba(217, 48, 37, 0.11), rgba(217, 48, 37, 0.03));
    color: #7a271a;
}

.v2-insight-high .v2-insight-title::before {
    background: var(--v2-red);
}

.v2-insight-high .v2-insight-judgement {
    color: #b42318;
}

.v2-insight-watch .v2-insight-header,
.v2-insight-medium .v2-insight-header {
    background: linear-gradient(90deg, rgba(245, 179, 1, 0.18), rgba(16, 136, 77, 0.04));
}

.v2-insight-watch .v2-insight-title::before,
.v2-insight-medium .v2-insight-title::before {
    background: var(--v2-yellow);
}

.v2-insight-watch .v2-insight-judgement,
.v2-insight-medium .v2-insight-judgement {
    color: #986f00;
}

.v2-insight-chevron {
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(225deg);
    justify-self: center;
    transition: transform 0.18s ease;
}

.v2-insight.is-collapsed .v2-insight-chevron {
    transform: rotate(45deg);
}

.v2-insight-body {
    display: grid;
    gap: 9px;
    padding: 10px 13px 12px;
    border-top: 1px solid rgba(16, 136, 77, 0.16);
}

.v2-insight.is-collapsed .v2-insight-body {
    display: none;
}

.v2-insight-reasons {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #1f2937;
    font-size: 13px;
    line-height: 1.4;
}

.v2-insight-reasons li {
    position: relative;
    padding-left: 15px;
}

.v2-insight-reasons li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.66em;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--v2-green);
}

.v2-insight-high .v2-insight-reasons li::before {
    background: var(--v2-red);
}

.v2-insight-medium .v2-insight-reasons li::before,
.v2-insight-watch .v2-insight-reasons li::before {
    background: var(--v2-yellow);
}

.v2-insight-suggestion {
    margin: 0;
    padding-top: 8px;
    border-top: 1px solid rgba(16, 136, 77, 0.13);
    color: #344054;
    font-size: 13px;
    line-height: 1.45;
}

.v2-note {
    margin: 8px 0 0;
    color: #4b5563;
    line-height: 1.45;
    font-size: 14px;
    white-space: pre-line;
}

.v2-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
    position: sticky;
    bottom: 0;
    z-index: 3;
    padding: 12px 0 2px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.98) 22%, rgba(255, 255, 255, 0.98));
}

.v2-actions.has-notify {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.v2-primary,
.v2-secondary,
.v2-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 8px;
    padding: 0 16px;
    border: 1px solid transparent;
    font-weight: 850;
}

.v2-primary,
.v2-action-button.primary {
    background: var(--v2-blue);
    color: #fff;
}

.v2-primary:hover,
.v2-action-button.primary:hover {
    background: var(--v2-blue-dark);
}

.v2-secondary,
.v2-action-button.secondary {
    background: #fff;
    color: #075ed8;
    border-color: #a8c7fa;
}

.v2-secondary:hover,
.v2-action-button.secondary:hover {
    background: #f5f9ff;
}

.v2-action-button[disabled] {
    cursor: not-allowed;
    opacity: 0.55;
}

.v2-mobile-sheet {
    display: none;
}

.v2-location-note,
.v2-legend,
.v2-sponsor-banner {
    position: absolute;
    z-index: 920;
}

.v2-location-note {
    left: 62px;
    top: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: min(360px, calc(100vw - 32px));
    padding: 9px 10px;
    border: 1px solid #fad79c;
    border-radius: 8px;
    background: #fff7e6;
    color: #7a4b00;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    font-size: 13px;
}

.v2-location-note span {
    min-width: 0;
}

.v2-location-note button {
    flex: 0 0 auto;
    border: 0;
    border-radius: 6px;
    padding: 5px 8px;
    background: #f5b301;
    color: #2f2100;
    font-weight: 800;
}

.v2-connection-notice,
.v2-update-notice {
    position: fixed;
    left: 50%;
    z-index: 4100;
    display: none;
    width: min(430px, calc(100vw - 32px));
    transform: translateX(-50%);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}

.v2-connection-notice.show,
.v2-update-notice.show {
    display: grid;
}

.v2-connection-notice {
    top: calc(18px + env(safe-area-inset-top));
    gap: 8px;
    padding: 14px 16px;
    border: 1px solid #f7c76d;
    background: #fff7e6;
    color: #714000;
}

.v2-connection-notice strong {
    font-size: 15px;
}

.v2-connection-message {
    font-size: 13px;
    line-height: 1.45;
}

.v2-connection-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.v2-connection-actions button,
.v2-update-notice button {
    border: 0;
    border-radius: 6px;
    padding: 7px 10px;
    font-weight: 800;
}

.v2-connection-retry,
.v2-update-notice button {
    background: #075ed8;
    color: #fff;
}

.v2-connection-settings {
    background: #fff;
    color: #075ed8;
}

.v2-update-notice {
    bottom: calc(18px + env(safe-area-inset-bottom));
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1e3a8a;
    font-size: 13px;
}

.v2-legend {
    left: 16px;
    bottom: calc(var(--v2-ad-space) + var(--v2-control-gap));
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: calc(100vw - 32px);
    overflow-x: auto;
    padding: 8px 12px;
    border: 1px solid rgba(226, 232, 240, 0.94);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
}

.v2-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.v2-legend-marker {
    display: inline-block;
    width: 20px;
    height: 33px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.v2-legend-marker-available {
    background-image: url('https://raw.githubusercontent.com/pointhi/leaflet-color-markers/master/img/marker-icon-2x-green.png');
}

.v2-legend-marker-unavailable {
    background-image: url('https://raw.githubusercontent.com/pointhi/leaflet-color-markers/master/img/marker-icon-2x-red.png');
}

.v2-fast-charging-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 3px solid #ffd700;
    border-radius: 999px;
    background: #fff;
    color: #ffd700;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
}

.v2-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
}

.v2-map-actions {
    width: auto;
    margin-top: 8px !important;
}

.leaflet-left .v2-map-actions {
    margin-left: 12px !important;
}

.v2-map-actions.leaflet-bar {
    border: 2px solid rgba(0, 0, 0, 0.2);
    background: #fff;
    background-clip: padding-box;
    box-shadow: none;
    line-height: 1;
}

.v2-map-action-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 26px;
    height: 26px;
    margin: 0;
    padding: 0;
    border: 0;
    border-bottom: 0;
    background: #fff;
    color: #111827;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.v2-map-action-button:first-child,
.v2-map-actions.is-location-unavailable .v2-map-action-button {
    border-radius: 0;
}

.v2-map-action-button:last-child,
.v2-map-actions.is-location-unavailable .v2-map-action-button {
    border-bottom: 0;
    border-radius: 0;
}

.v2-map-actions.is-location-unavailable .v2-map-action-button {
    border-radius: 0;
}

.v2-map-action-button + .v2-map-action-button {
    border-top: 1px solid #ccc;
}

.v2-map-action-button:hover {
    background: #f8fafc;
}

.v2-map-action-button.is-disabled {
    cursor: default;
    color: #98a2b3;
    background: #f8fafc;
}

.leaflet-touch .v2-map-action-button {
    width: 30px;
    height: 30px;
}

.v2-map-action-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.v2-location-action svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
    stroke-width: 1.7;
}

.v2-dot-green {
    background: var(--v2-green);
}

.v2-dot-red {
    background: var(--v2-red);
}

.v2-dot-yellow {
    border: 3px solid #ffd700;
    background: #fff;
    color: #ffd700;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.v2-dot-gray {
    background: #8a94a6;
}

.v2-sponsor-banner {
    left: 50%;
    bottom: calc(8px + var(--v2-safe-bottom));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: var(--v2-banner-width);
    transform: translateX(-50%);
    overflow: hidden;
    padding: 4px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.v2-sponsor-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background: transparent;
}

.v2-sponsor-banner span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.v2-filter-overlay,
.v2-watch-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    background: rgba(15, 23, 42, 0.28);
}

.v2-filter-overlay.active,
.v2-watch-overlay.active {
    display: block;
}

.v2-filter-panel,
.v2-watch-panel {
    position: fixed;
    top: var(--v2-safe-top);
    right: var(--v2-safe-right);
    bottom: 0;
    z-index: 2100;
    display: grid;
    grid-template-rows: auto 1fr auto;
    width: min(380px, calc(100vw - var(--v2-safe-left) - var(--v2-safe-right) - 24px));
    transform: translateX(105%);
    border-left: 1px solid var(--v2-border);
    background: #fff;
    box-shadow: -18px 0 40px rgba(15, 23, 42, 0.16);
    transition: transform 0.22s ease;
}

.v2-filter-panel.open,
.v2-watch-panel.open {
    transform: translateX(0);
}

.v2-filter-header,
.v2-watch-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid var(--v2-soft-border);
}

.v2-filter-header h2 {
    margin: 0;
    font-size: 20px;
}

.v2-filter-header button,
.v2-watch-header button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: #f3f4f6;
    color: #111827;
    font-size: 22px;
}

.v2-filter-content {
    min-height: 0;
    overflow-y: auto;
    padding: 14px 18px 18px;
}

.v2-filter-content fieldset {
    position: relative;
    display: grid;
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 0 0 18px;
    border: 0;
}

.v2-filter-content fieldset + fieldset {
    padding-top: 12px;
}

.v2-filter-content legend {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 0 0 2px;
    font-weight: 850;
}

.v2-filter-content legend::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: var(--v2-soft-border);
}

.v2-filter-content label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #344054;
}

.v2-price-range {
    display: grid;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f8fafc;
}

.v2-operator-list,
.v2-plug-filter-list {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 7px;
    min-height: 0;
    max-height: none;
    overflow: visible;
}

.v2-filter-footer,
.v2-watch-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px 18px calc(14px + var(--v2-safe-bottom));
    border-top: 1px solid var(--v2-soft-border);
}

.v2-watch-footer {
    grid-template-columns: 1fr;
}

.v2-watch-header > div {
    display: grid;
    gap: 3px;
}

.v2-watch-header strong {
    font-size: 18px;
}

.v2-watch-header span {
    color: var(--v2-muted);
    font-size: 13px;
}

.v2-watch-list {
    overflow-y: auto;
    padding: 12px 18px;
}

.watch-panel-empty {
    padding: 28px 10px;
    color: var(--v2-muted);
    text-align: center;
}

.watch-panel-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--v2-soft-border);
}

.watch-panel-item-name {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 700;
}

.watch-panel-item-actions {
    display: flex;
    gap: 8px;
}

.watch-panel-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    line-height: 1;
}

.watch-panel-action-btn svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
    overflow: visible;
}

.watch-panel-remove-btn {
    color: #b42318;
}

.v2-navigation-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    place-items: center;
    padding: 20px;
}

.v2-navigation-modal.show {
    display: grid;
}

.v2-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.v2-modal-content {
    position: relative;
    z-index: 1;
    width: min(380px, calc(100vw - 40px));
    padding: 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--v2-shadow);
}

.v2-modal-content h2 {
    margin: 0 0 14px;
    font-size: 20px;
}

.v2-nav-options {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
}

.v2-nav-options.single-option {
    grid-template-columns: 1fr;
}

.v2-nav-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    font-weight: 800;
}

.v2-nav-option:hover {
    background: #f8fafc;
}

.v2-nav-option img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.v2-loading {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.94);
    color: #344054;
    font-weight: 750;
}

.v2-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #dbeafe;
    border-top-color: var(--v2-blue);
    border-radius: 999px;
    animation: v2-spin 0.9s linear infinite;
}

@keyframes v2-spin {
    to { transform: rotate(360deg); }
}

.inapp-overlay-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.75);
    animation: inappFadeIn 0.3s ease;
}

.inapp-overlay-card {
    width: 100%;
    max-width: 360px;
    padding: 40px 28px 32px;
    border-radius: 16px;
    background: #fff;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.inapp-overlay-icon {
    margin-bottom: 16px;
    font-size: 48px;
}

.inapp-overlay-title {
    margin: 0 0 12px;
    color: #1e293b;
    font-size: 20px;
    font-weight: 700;
}

.inapp-overlay-desc {
    margin: 0 0 24px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.inapp-overlay-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.inapp-overlay-btn {
    display: block;
    padding: 14px 20px;
    border: 0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.inapp-overlay-btn:active {
    opacity: 0.7;
}

.inapp-overlay-btn-primary {
    background: #00a8e1;
    color: #fff;
}

.inapp-overlay-btn-secondary {
    border: 1px solid #e2e8f0;
    background: transparent;
    color: #64748b;
}

.inapp-overlay-hint {
    margin: 16px 0 0;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.5;
}

.inapp-overlay-hiding .inapp-overlay-backdrop {
    animation: inappFadeOut 0.3s ease forwards;
}

@keyframes inappFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes inappFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.v2-marker {
    position: relative;
    width: 30px;
    height: 42px;
}

.v2-marker-pin {
    position: absolute;
    left: 3px;
    top: 0;
    display: grid;
    place-items: center;
    width: 24px;
    height: 31px;
    border: 2px solid #fff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.35);
}

.v2-marker-pin span {
    transform: rotate(45deg);
    color: #fff;
    font-size: 13px;
    line-height: 1;
}

.v2-marker.available .v2-marker-pin {
    background: var(--v2-green);
}

.v2-marker.unavailable .v2-marker-pin {
    background: var(--v2-red);
}

.v2-marker.fake .v2-marker-pin {
    border-color: #f5b301;
}

.v2-marker.selected .v2-marker-pin {
    box-shadow: 0 0 0 4px rgba(7, 94, 216, 0.22), 0 3px 8px rgba(15, 23, 42, 0.35);
}

.v2-legacy-marker.v2-marker-selected {
    filter: drop-shadow(0 0 0 rgba(7, 94, 216, 0.5)) drop-shadow(0 0 8px rgba(7, 94, 216, 0.8));
}

@media (max-width: 760px) {
    :root {
        --v2-titlebar-height: 56px;
        --v2-link-height: 40px;
        --v2-banner-width: min(480px, 90vw);
        --v2-ad-space: 54px;
    }

    .v2-shell {
        grid-template-rows: calc(var(--v2-titlebar-height) + var(--v2-safe-top)) var(--v2-link-height) 1fr;
    }

    .v2-titlebar {
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 8px;
        padding: calc(8px + var(--v2-safe-top)) 10px 8px;
    }

    .v2-brand {
        gap: 8px;
        min-height: 32px;
    }

    .v2-brand-logo {
        width: 119px;
        height: 25px;
    }

    .v2-brand-text {
        min-height: 25px;
        max-width: none;
        font-size: 22px;
    }

    .v2-search {
        position: absolute;
        left: 10px;
        right: 10px;
        top: calc(var(--v2-safe-top) + var(--v2-titlebar-height) + var(--v2-link-height) + 8px);
        z-index: 950;
        grid-column: 1 / -1;
    }

    #searchInput {
        height: 42px;
        padding-left: 39px;
        font-size: 16px;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
    }

    .v2-search-results {
        top: 48px;
        max-height: min(360px, calc(100vh - 250px));
    }

    .v2-filter-button {
        width: 42px;
        min-height: 38px;
        padding: 0;
        justify-self: end;
    }

    .v2-filter-button span:not(.v2-filter-icon):not(.v2-count) {
        display: none;
    }

    .v2-menu-button {
        width: 42px;
        min-height: 38px;
        font-size: 22px;
    }

    .v2-link-strip {
        padding: 0 10px;
    }

    .v2-link-scroll a {
        max-width: 82vw;
        min-height: 28px;
        padding: 0 10px;
        font-size: 12px;
    }

    .v2-detail-panel {
        display: none;
    }

    .v2-mobile-sheet {
        --v2-sheet-drag-y: 0px;
        position: absolute;
        left: 0;
        right: 0;
        top: calc(var(--v2-safe-top) + var(--v2-titlebar-height) + var(--v2-link-height) + 62px);
        bottom: calc(var(--v2-ad-space) + 10px);
        z-index: 940;
        display: none;
        transform: translateY(var(--v2-sheet-drag-y));
        overflow: hidden;
        border-radius: 16px 16px 0 0;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 -12px 30px rgba(15, 23, 42, 0.18);
        transition: transform 0.22s ease;
        will-change: transform;
    }

    .v2-mobile-sheet.open {
        display: block;
        transform: translateY(var(--v2-sheet-drag-y));
    }

    .v2-sheet-top {
        position: relative;
        min-height: 28px;
        cursor: grab;
        touch-action: none;
    }

    .v2-sheet-handle {
        width: 46px;
        height: 5px;
        margin: 8px auto 0;
        border-radius: 999px;
        background: #98a2b3;
        cursor: grab;
        touch-action: none;
    }

    .v2-sheet-close {
        position: absolute;
        right: 10px;
        top: 0;
        width: 32px;
        height: 32px;
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: #111827;
        font-size: 26px;
        line-height: 1;
        touch-action: manipulation;
    }

    .v2-sheet-close:active {
        background: #f1f5f9;
    }

    .v2-mobile-sheet.dragging {
        transition: none;
    }

    .v2-mobile-sheet.dragging .v2-sheet-handle {
        cursor: grabbing;
    }

    .v2-mobile-sheet.dragging .v2-sheet-top {
        cursor: grabbing;
    }

    .v2-mobile-sheet .v2-detail-content {
        height: calc(100% - 28px);
        max-height: none;
        padding: 10px 14px 16px;
    }

    .v2-mobile-sheet .v2-station-head {
        padding-right: 0;
    }

    .v2-station-title {
        font-size: 21px;
    }

    .v2-station-title-row {
        gap: 8px;
    }

    .v2-plug-badges {
        gap: 4px;
    }

    .v2-plug-badge {
        min-height: 20px;
        padding: 2px 7px;
        font-size: 11px;
    }

    .v2-charger-row {
        grid-template-columns: minmax(88px, 0.8fr) minmax(82px, 0.72fr) minmax(136px, 1.25fr);
        align-items: start;
        gap: 7px;
        padding: 7px 8px;
    }

    .v2-insight-slot {
        margin-top: 10px;
    }

    .v2-insight-header {
        grid-template-columns: minmax(112px, auto) minmax(0, 1fr) 18px;
        min-height: 52px;
        padding: 10px 11px;
        gap: 8px;
    }

    .v2-insight-title {
        font-size: 13px;
    }

    .v2-insight-judgement {
        font-size: 12px;
    }

    .v2-insight-body {
        padding: 10px 12px 12px;
    }

    .v2-insight-reasons,
    .v2-insight-suggestion {
        font-size: 13px;
    }

    .v2-type,
    .v2-fee {
        font-size: 12px;
    }

    .v2-actions.has-notify {
        grid-template-columns: 1fr 1fr;
    }

    .v2-legend {
        left: 10px;
        bottom: calc(var(--v2-ad-space) + 8px);
        display: flex;
        max-width: calc(100vw - 20px);
        gap: 10px;
        padding: 7px 10px;
        font-size: 12px;
        z-index: 930;
    }

    .v2-legend-marker {
        width: 17px;
        height: 28px;
    }

    .v2-fast-charging-icon {
        width: 22px;
        height: 22px;
        font-size: 12px;
    }

    .v2-location-note {
        left: 58px;
        right: 10px;
        top: 60px;
        width: auto;
        max-width: none;
        z-index: 940;
        padding: 8px 9px;
        font-size: 12px;
        justify-content: space-between;
    }

    .v2-location-note button {
        min-height: 30px;
        padding: 0 10px;
    }

    .v2-sponsor-banner {
        width: var(--v2-banner-width);
        padding: 3px;
        bottom: calc(10px + var(--v2-safe-bottom));
    }

    .v2-sponsor-banner span {
        width: 1px;
        height: 1px;
    }

    .leaflet-control-zoom {
        display: block;
        margin: 64px 0 0 12px !important;
    }

    .leaflet-left .v2-map-actions {
        margin-top: 8px !important;
    }
}

@media (max-width: 420px) {
    .v2-brand {
        gap: 6px;
    }

    .v2-brand-logo {
        width: 100px;
        height: 21px;
    }

    .v2-brand-text {
        min-height: 21px;
        font-size: 19px;
    }

    .v2-actions.has-notify {
        grid-template-columns: 1fr;
    }

    .v2-charger-row {
        grid-template-columns: minmax(76px, 0.72fr) minmax(72px, 0.68fr) minmax(118px, 1.12fr);
        gap: 6px;
    }

    .v2-location-note {
        left: 56px;
        right: 8px;
    }
}

@media (max-width: 360px) {
    .v2-brand {
        gap: 5px;
    }

    .v2-brand-logo {
        width: 86px;
        height: 18px;
    }

    .v2-brand-text {
        min-height: 18px;
        font-size: 17px;
    }
}
