:root {

            --glass-bg: rgba(14,14,18,0.75);

            --glass-bg-lite: rgba(20,20,26,0.6);

            --glass-border: rgba(255,255,255,0.09);

            --glass-border-hover: rgba(255,255,255,0.18);

            --text-light: rgba(255,255,255,0.9);

            --text-dim: rgba(255,255,255,0.45);

            --text-faint: rgba(255,255,255,0.22);

            --shadow: 0 8px 32px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.2);

            --text-main: #1c1917;

            --text-sub: #78716c;

            --border-light: #e7e5e4;

        }



        * { box-sizing: border-box; margin: 0; padding: 0; }



        body, html {

            width: 100%; height: 100%;

            font-family: 'Inter', sans-serif;

            background: #000; color: var(--text-light);

            overflow: hidden; -webkit-font-smoothing: antialiased;

        }



        .app-container { display: block; position: relative; width: 100vw; height: 100vh; overflow: hidden; }

        .map-wrapper { position: absolute; inset: 0; z-index: 0; }

        #container { width: 100%; height: 100%; }



        .map-error {

            position: absolute; inset: 0; display: none;

            align-items: center; justify-content: center;

            flex-direction: column; gap: 12px; background: #000; z-index: 5;

        }

        .map-error p { color: rgba(255,255,255,0.35); font-size: 0.9rem; }



        /* ── Glass base ── */

        .glass {

            background: var(--glass-bg);

            backdrop-filter: blur(28px);

            -webkit-backdrop-filter: blur(28px);

            border: 1px solid var(--glass-border);

            border-radius: 18px;

            box-shadow: var(--shadow);

        }



        /* ── Top bar ── */

       .top-island {

    position:absolute; top:20px; left:50%; transform:translateX(-50%);

    display:flex; align-items:center; gap:12px;

    padding:8px 10px 8px 16px; border-radius:50px; z-index:10;

}



        .logo-box {

            display: flex; align-items: center; gap: 9px;

            padding-right: 14px; border-right: 1px solid var(--glass-border-hover); flex-shrink: 0;

        }



       .logo-gradient-bar {

    width: 3px; height: 28px; border-radius: 2px;

    background: linear-gradient(180deg,#f87171,#fbbf24,#34d399,#60a5fa,#f87171);

    background-size: 100% 200%;

    animation: colorFlow 2s ease-in-out infinite;

}



        .logo-text { font-size: 0.82rem; font-weight: 600; line-height: 1.15; color: var(--text-light); }

        .logo-text span { display: block; font-size: 0.68rem; font-weight: 400; color: var(--text-dim); margin-top: 1px; }



        .ask-search-box { display: flex; align-items: center; gap: 10px; width: 380px; padding: 4px 6px; }



        .ask-input {

            border: none; outline: none; flex: 1;

            font-family: 'Inter', sans-serif; font-size: 0.9rem;

            color: var(--text-light); background: transparent;

        }

        .ask-input::placeholder { color: var(--text-faint); }



        @keyframes colorFlow {

    0%   { background-position: 0% 0%; }

    50%  { background-position: 0% 100%; }

    100% { background-position: 0% 0%; }

}

       @keyframes condense {

    from { opacity:0; filter:blur(20px) saturate(0); }

    to   { opacity:1; filter:blur(0) saturate(1); }

}

        @keyframes slideInUp {

    from { opacity:0; transform:translateY(12px); }

    to   { opacity:1; transform:translateY(0); }

}

        @keyframes locatePulse {

    0%, 100% { opacity: 1; border-color: var(--glass-border); }

    50% { opacity: 0.4; border-color: rgba(251,191,36,0.8); }

}

.locate-pulse { animation: locatePulse 1s ease-in-out 3; }

.cart-item-new { animation: slideInUp 0.3s cubic-bezier(0.16,1,0.3,1); }



        /* ── AI reply ── */

        .drifter-ai-reply {

            position: absolute; top: 78px; left: 50%; transform: translateX(-50%);

            padding: 10px 20px; border-radius: 50px; z-index: 100;

            max-width: 480px; width: calc(100% - 320px);

            display: none; align-items: center; gap: 12px;

            animation: slideDown 0.25s ease;

        }



        @keyframes slideDown {

            from { opacity: 0; transform: translate(-50%,-14px); }

            to   { opacity: 1; transform: translate(-50%,0); }

        }



        .drifter-ai-reply-text { font-size: 0.82rem; color: var(--text-light); font-weight: 500; flex: 1; }



        /* ── Left panel ── */

      .left-island-group {

            position: absolute; top: 78px; left: 20px; bottom: 84px;

            display: flex; flex-direction: column; gap: 10px; z-index: 10;

        }



       .left-island { padding: 16px; width: 310px; flex-shrink: 0; }



        .section-title {

            font-size: 0.6rem; font-weight: 700; text-transform: uppercase;

            letter-spacing: 0.12em; color: var(--text-dim); margin-bottom: 12px;

        }



        .filter-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }



        .filter-btn {

            background: rgba(255,255,255,0.05); border: 1px solid transparent;

            border-radius: 11px; padding: 9px 6px;

            display: flex; flex-direction: column; align-items: center; gap: 4px;

            font-size: 0.68rem; font-weight: 500; color: var(--text-dim);

            cursor: pointer;  transition: all 0.25s cubic-bezier(0.16,1,0.3,1); position: relative;

            font-family: 'Inter', sans-serif;

        }

        .filter-btn:hover { background: rgba(255,255,255,0.1); color: var(--text-light); }

       .filter-btn.active { 

    background: rgba(255,255,255,0.15); 

    border-color: rgba(255,255,255,0.2); 

    color: var(--text-light); 

    font-weight: 600;

    transform: scale(1.04);

}

        .filter-btn i { width: 18px; height: 18px; }

        .filter-btn .lock { position: absolute; top: 5px; right: 5px; font-size: 8px; opacity: 0.45; }



        .duration-row { display: flex; align-items: center; gap: 14px; }



      .duration-val {

    font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 500;

    color: rgba(255,255,255,0.55); min-width: 50px; flex-shrink: 0; letter-spacing: 0.02em;

}



        input[type="range"] {

            flex: 1; -webkit-appearance: none; appearance: none;

            height: 2px; border-radius: 2px; background: rgba(255,255,255,0.2);

            outline: none; cursor: pointer;

        }

        input[type="range"]::-webkit-slider-thumb {

            -webkit-appearance: none; width: 13px; height: 13px;

            border-radius: 50%; background: rgba(255,255,255,0.88);

            cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,0.5);

        }



        /* ── Left island 3 (cart) ── */

.left-island-3 {

            flex-shrink: 1;

            min-height: 0;

            display: flex;

            flex-direction: column;

            overflow: hidden;

        }

.left-cart-tabs {

    display: flex;

    border-bottom: 1px solid rgba(255,255,255,0.07);

    margin: -16px -16px 12px;

    padding: 0 4px;

}

.left-cart-tab {

    flex: 1; padding: 10px 4px; background: none; border: none;

    font-family: 'Inter', sans-serif; font-size: 0.62rem; font-weight: 700;

    text-transform: uppercase; letter-spacing: 0.06em;

    color: var(--text-dim); cursor: pointer; transition: 0.18s;

    border-bottom: 2px solid transparent; margin-bottom: -1px;

}

.left-cart-tab.active { color: var(--text-light); border-bottom-color: rgba(255,255,255,0.5); }

.left-cart-body {

    overflow-y: auto; flex: 1; min-height: 0;

}

.left-cart-body::-webkit-scrollbar { width: 3px; }

.left-cart-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 2px; }

.cart-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }

.cart-item {

    display: flex; align-items: center; justify-content: space-between;

    background: rgba(255,255,255,0.05); padding: 9px 12px;

    border-radius: 10px; border: 1px solid rgba(255,255,255,0.04);

    transition: 0.15s; cursor: pointer;

}

.cart-item:hover { background: rgba(255,255,255,0.09); }

.cart-item-left { display: flex; align-items: center; gap: 10px; }

.item-name { font-size: 0.8rem; font-weight: 500; color: var(--text-light); }

.remove-btn {

    color: rgba(255,255,255,0.22); cursor: pointer; transition: 0.15s;

    background: none; border: none; display: flex; align-items: center; padding: 3px;

}

.remove-btn:hover { color: #f87171; }

.empty-cart {

    text-align: center; color: var(--text-faint); font-size: 0.8rem;

    font-style: normal; padding: 20px 0;

    border: 1px dashed rgba(255,255,255,0.1); border-radius: 10px;

}

.generate-btn {

    background: rgba(255,255,255,0.12); color: var(--text-light);

    border: 1px solid rgba(255,255,255,0.18); padding: 11px; border-radius: 10px;

    font-weight: 600; font-size: 0.82rem;

    display: flex; align-items: center; justify-content: center; gap: 8px;

    cursor: pointer; transition: 0.2s; font-family: 'Inter', sans-serif;

    width: 100%; flex-shrink: 0; margin-top: 8px;

}

.generate-btn:hover:not(:disabled) { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.3); transform: translateY(-1px); }

.generate-btn:disabled { opacity: 0.28; cursor: not-allowed; transform: none; }



/* ── Bottom footer (Concierge services) ── */

.bottom-footer {

    position: absolute; bottom: 0; left: 0; right: 0;

    height: 64px;

    background: rgba(14,14,18,0.88);

    backdrop-filter: blur(28px);

    -webkit-backdrop-filter: blur(28px);

    border-top: 1px solid rgba(255,255,255,0.08);

    display: flex; align-items: center; justify-content: center;

    gap: 4px; z-index: 10; padding: 0 16px;

}

.footer-service-btn {

    flex: 1; max-width: 120px;

    display: flex; flex-direction: column; align-items: center; gap: 4px;

    padding: 8px 4px; border-radius: 10px;

    background: none; border: none; cursor: pointer;

    transition: background 0.18s;

    font-family: 'Inter', sans-serif;

}

.footer-service-btn:hover { background: rgba(255,255,255,0.07); }

.footer-service-icon { display: none; }

.footer-service-label {

    font-size: 0.72rem; font-weight: 600;

    color: rgba(255,255,255,0.55);

    white-space: nowrap;

    letter-spacing: 0.02em;

}

.footer-divider {

    width: 1px; height: 28px;

    background: rgba(255,255,255,0.08);

    flex-shrink: 0;

}

/* ── Transit Layer UI ── */

        .transit-btn {

            position: absolute;

            top: 20px; right: 20px;

            height: 44px; padding: 0 16px; /* 改为横向并增加内边距 */

            background: var(--glass-bg);

            backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);

            border-radius: 50px; /* 胶囊形状 */

            display: flex; align-items: center; justify-content: center; gap: 8px;

            box-shadow: var(--shadow);

            border: 1px solid var(--glass-border);

            cursor: pointer; z-index: 50; transition: all 0.3s cubic-bezier(0.16,1,0.3,1);

            color: rgba(255,255,255,0.85);

            font-family: 'Inter', sans-serif; font-size: 0.82rem; font-weight: 600;

        }

        .transit-btn:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); color: #fff; transform: translateY(-1px); }

        

       /* 避让路线生成面板的逻辑 */

        body.route-active .transit-btn { right: 90px; }

       /* ── Drifter's Log 按钮定位 ── */

        .insider-btn { top: 74px; }

        body.route-active .insider-btn { right: 90px; }

       /* CRT 专注模式：直接物理隐藏所有普通地点，彻底杀掉任何雾气！ */

        body.crt-focus-mode .custom-marker {

            display: none !important;

        }

        .transit-panel {

            position: absolute;

            top: 50%; right: -300px; /* 默认隐藏 */

            transform: translateY(-50%); /* 绝对垂直居中 */

            width: 240px; max-height: 65vh; /* 最大高度限制为屏幕的65% */

            background: var(--glass-bg);

            backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);

            border-radius: 18px 0 0 18px;

            border: 1px solid var(--glass-border);

            border-right: none;

            box-shadow: -8px 0 32px rgba(0,0,0,0.35);

            z-index: 45; transition: right 0.3s cubic-bezier(0.16,1,0.3,1);

            display: flex; flex-direction: column; overflow: hidden;

        }

        .transit-panel.open { right: 0; }

        /* ── Drifter's Log 专属按钮与列表样式 ── */

        .insider-btn { top: 74px; transition: all 0.3s cubic-bezier(0.16,1,0.3,1); }

        body.route-active .insider-btn { right: 90px; }

        

        /* 解决视觉打架：面板打开时，按钮自动平滑隐藏 */

        body.log-active .insider-btn { opacity: 0; pointer-events: none; transform: translateX(20px); }

        body.log-active #mInsiderBtn { opacity: 0; pointer-events: none; transform: scale(0.8); }



        .log-list { display: flex !important; flex-direction: column !important; padding: 8px 12px; gap: 8px; overflow-y: auto !important; overflow-x: hidden !important; flex: 1; }

        .log-list::-webkit-scrollbar { width: 3px; }

        .log-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 2px; }

        

        .log-item { display: flex !important; flex-direction: row !important; gap: 12px; text-decoration: none; align-items: center; padding: 8px; border-radius: 12px; transition: all 0.2s ease; border: 1px solid transparent; width: 100%; box-sizing: border-box; }

        .log-item:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); transform: translateX(2px); }

      

        #mInsiderPanel.open { 

            height: 75vh !important; 

        }

        #mobileLogList { 

            flex: 1 !important; 

            min-height: 0 !important; 

            max-height: none !important;

            overflow-y: auto !important; 

            -webkit-overflow-scrolling: touch !important; 

            overscroll-behavior: contain !important; 

        }

        #mobileLogList .log-item { 

            flex-shrink: 0 !important;

        }

        .log-thumb { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: rgba(255,255,255,0.05); }

        .log-text-col { display: flex; flex-direction: column; gap: 6px; flex: 1; overflow: hidden; }

        .log-title { 
    color: rgba(255,255,255,0.92); 
    font-size: 0.8rem; 
    font-weight: 600; 
    font-family: 'Inter', sans-serif; 
    line-height: 1.35; 
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}

.log-item:hover .log-title {
    -webkit-line-clamp: unset;
}

        .log-date { color: #78716c; font-size: 0.68rem; font-family: 'Inter', sans-serif; }

        .tp-header { padding: 16px; border-bottom: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; }

        .tp-title { font-size: 0.85rem; font-weight: 700; color: var(--text-light); font-family: 'Inter', sans-serif; display: flex; align-items: center; gap: 8px;}

        .tp-close { background: none; border: none; color: var(--text-dim); cursor: pointer; display: flex; padding: 4px; border-radius: 50%; transition: 0.2s;}

        .tp-close:hover { background: rgba(255,255,255,0.1); color: #fff; }

        .tp-list { flex: 1; overflow-y: auto; padding-bottom: 12px; }

        .tp-list::-webkit-scrollbar { width: 3px; }

        .tp-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 2px; }

        

        .tp-item {

            display: flex; align-items: center; gap: 10px;

            padding: 10px 12px; border-radius: 10px; margin-bottom: 4px;

            cursor: pointer; transition: 0.2s; border: 1px solid transparent;

        }

        .tp-item:hover { background: rgba(255,255,255,0.05); }

        .tp-item.active { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }

        .tp-color-box { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }

        .tp-name { font-size: 0.8rem; font-weight: 600; color: var(--text-light); font-family: 'Inter', sans-serif;}

        

        .tp-clear { 

            margin: 12px; padding: 10px; background: rgba(239,68,68,0.15); 

            color: #fca5a5; border: 1px solid rgba(239,68,68,0.3); border-radius: 10px;

            font-size: 0.75rem; font-weight: 600; cursor: pointer; text-align: center;

            transition: 0.2s; display: none; font-family: 'Inter', sans-serif;

        }

        .tp-clear:hover { background: rgba(239,68,68,0.25); color: #fff; }

        /* ── Aux controls ── */

        .custom-copyright {

            position: absolute; bottom: 72px; right: 68px;

            background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);

            padding: 4px 12px; border-radius: 30px; font-size: 0.62rem; color: var(--text-dim);

            z-index: 50; pointer-events: none; border: 1px solid var(--glass-border);

        }



       .locate-btn {

    position: absolute; bottom: 80px; right: 20px;

    width: 44px; height: 44px;

    background: rgba(255,255,255,0.12);

    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);

    border-radius: 50%; display: flex; align-items: center; justify-content: center;

    box-shadow: 0 4px 16px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.15);

    cursor: pointer; z-index: 50; transition: 0.18s;

    border: 1px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.85);

}

.locate-btn:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4); color: #fff; }



        .icon-spin { animation: spin 1s linear infinite; }

        @keyframes spin { 100% { transform: rotate(360deg); } }



@keyframes tabFlash {

    0%   { background: rgba(255,255,255,0.06); color: var(--text-light); }

    40%  { background: rgba(255,255,255,0.25); color: white; }

    100% { background: rgba(255,255,255,0.06); color: var(--text-light); }

}

.count-bounce { animation: tabFlash 0.5s ease forwards; }



        .route-controls {

            position: absolute; top: 20px; right: 20px;

            background: var(--glass-bg); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);

            padding: 8px; border-radius: 12px; box-shadow: var(--shadow);

            border: 1px solid var(--glass-border);

            display: none; flex-direction: column; gap: 5px; z-index: 50;

        }



        .rc-title {

            font-size: 0.58rem; font-weight: 700; text-transform: uppercase;

            letter-spacing: 0.1em; color: var(--text-dim); text-align: center; margin-bottom: 3px;

        }



        .rc-btn {

            background: rgba(255,255,255,0.05); border: 1px solid transparent;

            padding: 5px 14px; border-radius: 7px; font-size: 0.75rem; font-weight: 600;

            color: var(--text-dim); cursor: pointer; transition: 0.15s; font-family: 'Inter', sans-serif;

        }

        .rc-btn:hover { background: rgba(255,255,255,0.1); color: var(--text-light); }

        .rc-btn.active { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.25); color: var(--text-light); }



       .trial-badge { display: inline-flex; align-items: center; background: rgba(245,158,11,0.5); color: #fff3b0; padding: 2px 7px; border-radius: 20px; font-size: 0.66rem; font-weight: 600; margin-left: 5px; }

        .trial-badge.exhausted { background: rgba(239,68,68,0.2); color: #f87171; }

      .upgrade-pro-btn {

    display: flex; align-items: center;

    padding: 7px 14px; border-radius: 50px; flex-shrink: 0;

    font-family: 'Inter', sans-serif; font-size: 0.75rem; font-weight: 700;

    color: #1c1917; text-decoration: none; white-space: nowrap;

    background: linear-gradient(135deg, #fde68a, #fbbf24, #f59e0b);

    background-size: 200% 100%; background-position: 100% 0;

    position: relative; overflow: hidden;

    animation: upgradeShimmer 2.5s ease-in-out infinite;

    box-shadow: 0 2px 12px rgba(251,191,36,0.45);

    border: none; cursor: pointer;

}



.upgrade-pro-btn::before {

    content: ''; position: absolute;

    top: 0; left: -100%; width: 60%; height: 100%;

    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);

    animation: upgradeSweep 2.5s ease-in-out infinite;

}



@keyframes upgradeSweep {

    0%   { left: -100%; }

    50%  { left: 150%; }

    100% { left: 150%; }

}



@keyframes upgradeShimmer {

    0%, 100% { box-shadow: 0 2px 12px rgba(251,191,36,0.45); }

    50%       { box-shadow: 0 2px 20px rgba(251,191,36,0.8); }

}

        /* ── Hover Tooltip Styles ── */

        .filter-btn::before {

            content: attr(data-tooltip);

            position: absolute;

            bottom: calc(100% + 12px);

            left: 50%;

            transform: translateX(-50%) translateY(4px);

            background: rgba(20, 20, 26, 0.92);

            backdrop-filter: blur(12px);

            -webkit-backdrop-filter: blur(12px);

            border: 1px solid rgba(255, 255, 255, 0.15);

            color: rgba(255, 255, 255, 0.95);

            padding: 7px 12px;

            border-radius: 8px;

            font-family: 'Inter', sans-serif;

            font-size: 0.68rem;

            font-weight: 500;

            white-space: nowrap;

            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);

            pointer-events: none;

            opacity: 0;

            visibility: hidden;

            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

            z-index: 100;

        }



        .filter-btn::after {

            content: '';

            position: absolute;

            bottom: calc(100% + 6px);

            left: 50%;

            transform: translateX(-50%) translateY(4px);

            border-width: 6px 6px 0 6px;

            border-style: solid;

            border-color: rgba(255, 255, 255, 0.15) transparent transparent transparent;

            pointer-events: none;

            opacity: 0;

            visibility: hidden;

            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

            z-index: 99;

        }



        .filter-btn:hover::before,

        .filter-btn:hover::after {

            opacity: 1;

            visibility: visible;

            transform: translateX(-50%) translateY(0);

        }



        .filter-btn:nth-child(3n+1)::before {

            left: 0;

            transform: translateX(0) translateY(4px);

        }

        .filter-btn:nth-child(3n+1):hover::before {

            transform: translateX(0) translateY(0);

        }



        .filter-btn:nth-child(3n)::before {

            left: auto;

            right: 0;

            transform: translateX(0) translateY(4px);

        }

        .filter-btn:nth-child(3n):hover::before {

            transform: translateX(0) translateY(0);

        }



        /* ── Markers ── */

        .amap-marker-label { border: none !important; background: transparent !important; }

        .custom-marker { display: flex; align-items: center; gap: 6px; cursor: pointer; transition: transform 0.2s; }

        .custom-marker:hover { transform: translateY(-2px); }



        .marker-pin {

            width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%;

            display: flex; align-items: center; justify-content: center;

            color: white; border: none; transition: all 0.2s;

            transform: translateZ(0); box-shadow: 0 2px 8px rgba(0,0,0,0.4);

        }

        .marker-pin svg { width: 15px; height: 15px; }



        .marker-text {

            font-size: 11px; font-weight: 700; letter-spacing: 0.02em;

            text-shadow: 0 1px 4px rgba(0,0,0,1), 0 0 3px rgba(0,0,0,0.9); transition: 0.2s;

        }

        .label-text {

    transition: opacity 0.2s ease;

}

.labels-hidden .label-text {

    opacity: 0;

    pointer-events: none;

}



.cat-scenic .marker-pin      { background: #10B981; box-shadow: 0 0 8px rgba(16,185,129,0.35); }

.cat-scenic .marker-text     { color: #10B981; }

.cat-landmarks .marker-pin   { background: #F59E0B; box-shadow: 0 0 8px rgba(245,158,11,0.35); }

.cat-landmarks .marker-text  { color: #F59E0B; }

.cat-unique .marker-pin      { background: #A3E635; box-shadow: 0 0 8px rgba(163,230,53,0.35); }

.cat-unique .marker-text     { color: #A3E635; }

.cat-culture .marker-pin     { background: #8B5CF6; box-shadow: 0 0 8px rgba(139,92,246,0.35); }

.cat-culture .marker-text    { color: #8B5CF6; }

.cat-experience .marker-pin  { background: #F97316; box-shadow: 0 0 8px rgba(249,115,22,0.35); }

.cat-experience .marker-text { color: #F97316; }

.cat-bar .marker-pin         { background: #A855F7; box-shadow: 0 0 8px rgba(168,85,247,0.35); }

.cat-bar .marker-text        { color: #A855F7; }

.cat-shopping .marker-pin    { background: #06B6D4; box-shadow: 0 0 8px rgba(6,182,212,0.35); }

.cat-shopping .marker-text   { color: #06B6D4; }

.cat-photospots .marker-pin  { background: #EC4899; box-shadow: 0 0 8px rgba(236,72,153,0.35); }

.cat-photospots .marker-text { color: #EC4899; }

.cat-food .marker-pin        { background: #EF4444; box-shadow: 0 0 8px rgba(239,68,68,0.35); }

.cat-food .marker-text       { color: #EF4444; }

.cat-cafe .marker-pin        { background: #D97706; box-shadow: 0 0 8px rgba(217,119,6,0.35); }

.cat-cafe .marker-text       { color: #D97706; }

.cat-stay .marker-pin        { background: #64748b; box-shadow: 0 0 8px rgba(100,116,139,0.35); }

.cat-stay .marker-text       { color: #64748b; }



        .custom-marker:hover .marker-pin { transform: scale(1.12); filter: brightness(1.15); }

        .custom-marker.selected .marker-pin { width: auto !important; padding: 0 8px; border-radius: 20px; gap: 4px; transform: scale(1.15) !important; box-shadow: 0 4px 16px rgba(0,0,0,0.5) !important; }

        .custom-marker.selected .marker-text { background: rgba(255,255,255,0.95) !important; padding: 2px 9px; border-radius: 12px; backdrop-filter: blur(4px); text-shadow: none !important; color: #1c1917 !important; font-size: 12px; font-weight: 700; }



        /* ── Info window ── */

        .info-window { width: 270px; padding: 4px; font-family: 'Inter', sans-serif; }

        .info-img { width: 100%; height: 130px; object-fit: cover; border-radius: 8px; margin-bottom: 12px; }

        .info-category { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin-bottom: 4px; color: #78716c; }

        .info-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 5px; color: #1c1917; }

        .info-desc { font-size: 0.78rem; color: #78716c; margin-bottom: 10px; line-height: 1.45; }

        .info-drifter { background: #f9f9f9; border-left: 3px solid #1c1917; padding: 8px; font-size: 0.73rem; color: #555; margin-bottom: 12px; border-radius: 0 4px 4px 0; font-style: normal; }

        .info-actions { display: flex; gap: 8px; }

        .info-add { flex: 2; background: #f5f5f4; color: #1c1917; border: 1px solid #e7e5e4; padding: 9px; border-radius: 8px; font-weight: 600; font-size: 0.78rem; cursor: pointer; transition: 0.18s; }

        .info-add.is-added { background: #1c1917; color: white; }

        .info-add:hover { background: #1c1917; color: white; }

        .info-save { flex: 1; background: white; color: #78716c; border: 1px solid #e7e5e4; border-radius: 8px; cursor: pointer; transition: 0.18s; display: flex; align-items: center; justify-content: center; }

        .info-save:hover { color: #ef4444; }

        .info-save.is-saved { color: #ef4444; border-color: #fca5a5; background: #fef2f2; }

        .info-actions a:hover { background: #1c1917 !important; color: #fff !important; }



        /* ── Itinerary modal ── */

        .modal-overlay {

            position: fixed; inset: 0; background: rgba(0,0,0,0.7);

            backdrop-filter: blur(20px); z-index: 200;

            display: none; align-items: center; justify-content: center; padding: 40px;

        }



        .modal-content {

            background: rgba(14,14,18,0.92); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);

            border: 1px solid rgba(255,255,255,0.09);

            width: 100%; max-width: 1000px; height: 90vh; border-radius: 24px;

            display: flex; flex-direction: column; overflow: hidden;

            box-shadow: 0 32px 64px rgba(0,0,0,0.6); animation: slideUp 0.35s ease;

        }



        @keyframes slideUp {

            from { opacity: 0; transform: translateY(22px); }

            to   { opacity: 1; transform: translateY(0); }

        }



        .modal-header {

            padding: 32px 40px; border-bottom: 1px solid rgba(255,255,255,0.08);

            display: flex; justify-content: space-between; align-items: flex-start;

            background: rgba(255,255,255,0.03);

        }

        .modal-header h2 { font-family: 'Georgia', serif; font-size: 2.4rem; font-style: italic; color: rgba(255,255,255,0.92); }

        .modal-header p  { color: rgba(255,255,255,0.4); font-size: 0.88rem; margin-top: 4px; }



        .close-btn {

            background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);

            cursor: pointer; color: rgba(255,255,255,0.6);

            padding: 8px; border-radius: 50%; transition: 0.18s;

        }

        .close-btn:hover { background: rgba(255,255,255,0.12); }



        .modal-body {

            flex: 1; overflow-y: auto; padding: 40px;

            display: flex; flex-direction: column; gap: 48px;

        }

        .modal-body::-webkit-scrollbar { width: 3px; }

        .modal-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 2px; }



        /* Trip overview */

        .trip-overview-box { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 20px 24px; margin-bottom: 8px; }

        .trip-overview-label { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.3); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }

        .trip-overview-text { font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.65; font-style: normal; }

        .trip-tips-box { background: rgba(163,230,53,0.06); border: 1px solid rgba(163,230,53,0.15); border-radius: 16px; padding: 20px 24px; }

        .trip-tips-label { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(163,230,53,0.6); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }

        .trip-tips-text { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.65; }



        /* Day rows */

        .day-row { display: grid; grid-template-columns: 3fr 9fr; gap: 32px; align-items: start; margin-bottom: 80px; }

        .day-row:last-child { margin-bottom: 0; }

        .day-left { position: relative; padding-top: 20px; }

        .day-right { display: flex; flex-direction: column; gap: 16px; padding-top: 20px; }

        .day-num-bg { position: absolute; top: -10px; left: -5px; font-family: 'Georgia', serif; font-size: 5rem; font-weight: 700; color: rgba(255,255,255,0.06); line-height: 1; z-index: 0; }

        .day-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; position: relative; z-index: 1; }

        .why-box { background: rgba(255,255,255,0.04); padding: 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.07); position: relative; z-index: 1; }

        .why-title { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.3); margin-bottom: 8px; display: flex; align-items: center; gap: 4px; }

        .why-desc { font-size: 0.83rem; color: rgba(255,255,255,0.5); line-height: 1.6; font-style: normal; }



        /* Place cards */

        .place-card { display: flex; gap: 22px; background: rgba(255,255,255,0.05); padding: 22px; border-radius: 18px; border: 1px solid rgba(255,255,255,0.07); transition: 0.2s; }

        .place-card:hover { background: rgba(255,255,255,0.08); }

        .place-img { width: 130px; height: 130px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }

        .place-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }

        .place-meta { display: flex; align-items: center; gap: 8px; font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.3); margin-bottom: 8px; }

        .place-meta-dot { width: 3px; height: 3px; background: rgba(255,255,255,0.2); border-radius: 50%; }

        .place-title { font-size: 1.2rem; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 5px; }

        .place-desc { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.5; margin-bottom: 10px; }

        .place-drifter { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-left: 3px solid rgba(255,255,255,0.25); padding: 10px 14px; border-radius: 8px; font-size: 0.78rem; color: rgba(255,255,255,0.55); font-style: normal; display: flex; gap: 8px; align-items: flex-start; }

        .place-drifter strong { font-weight: 700; font-style: normal; white-space: nowrap; color: rgba(255,255,255,0.7); }



        /* Revision box */

        .revision-box { display: flex; gap: 12px; background: rgba(255,255,255,0.04); padding: 22px; border-radius: 18px; border: 1px solid rgba(255,255,255,0.07); margin-top: 24px; }

        .revision-input { flex: 1; padding: 13px 18px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); font-family: 'Inter', sans-serif; font-size: 0.9rem; outline: none; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.88); transition: 0.18s; }

        .revision-input::placeholder { color: rgba(255,255,255,0.25); }

        .revision-input:focus { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.09); }

        .revision-btn { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.88); border: 1px solid rgba(255,255,255,0.18); padding: 0 22px; border-radius: 10px; font-weight: 600; cursor: pointer; transition: 0.18s; display: flex; align-items: center; gap: 8px; font-family: 'Inter', sans-serif; }

        .revision-btn:hover:not(:disabled) { background: rgba(255,255,255,0.2); transform: translateY(-1px); }

        .revision-btn:disabled { opacity: 0.3; cursor: not-allowed; }



        /* Modal footer */

        .modal-footer { padding: 22px 40px; background: rgba(255,255,255,0.03); border-top: 1px solid rgba(255,255,255,0.07); display: flex; justify-content: space-between; align-items: center; }

        .footer-stats { font-size: 0.83rem; color: rgba(255,255,255,0.35); font-weight: 500; }

        .start-btn { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.12); padding: 11px 28px; border-radius: 10px; font-weight: 600; cursor: pointer; transition: 0.18s; }

        .start-btn:hover { background: rgba(255,255,255,0.14); }



        /* ── Landing page ── */

        @keyframes blurIn {

            from { opacity: 0; filter: blur(14px); transform: translateY(10px); }

            to   { opacity: 1; filter: blur(0);    transform: translateY(0); }

        }



        @keyframes pulse {

            0%,100% { transform: translate(-50%,-60%) scale(1);    opacity: 0.5; }

            50%      { transform: translate(-50%,-60%) scale(1.18); opacity: 1; }

        }



        .premium-landing {

            position: fixed; inset: 0; z-index: 9999;

            background-color: #cfd0d3;

            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");

            display: flex; flex-direction: column; align-items: center; justify-content: center;

            overflow: hidden;

        }



        .premium-landing::before {

            content: ''; position: absolute;

            width: 600px; height: 600px;

            background: radial-gradient(circle, rgba(99,102,241,0.09) 0%, transparent 70%);

            top: 50%; left: 50%; transform: translate(-50%,-60%);

            animation: pulse 4s ease-in-out infinite;

            pointer-events: none;

        }



        .pl-content { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 1; }



       .pl-title {

    font-family: 'Playfair Display', serif;

    font-style: italic;

    font-size: 3.8rem;

    font-weight: 400;

    letter-spacing: -0.02em;

    margin-bottom: 24px;

    position: relative;

    display: inline-block;

    background: linear-gradient(

        105deg,

        #111 0%,

        #111 25%,

        #6b7280 33%,

        #9aa0a8 38%,

        #c8cdd4 43%,

        #e8ecf0 47%,

        #ffffff 50%,

        #e8ecf0 53%,

        #c8cdd4 57%,

        #9aa0a8 62%,

        #6b7280 67%,

        #111 75%,

        #111 100%

    );

    background-size: 400% 100%;

    background-position: 110% 0;

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;

    animation: blurInShimmer 1.2s ease forwards, shimmerSilver 5.5s ease-in-out 1.6s forwards;

}



@keyframes blurInShimmer {

    from { opacity: 0; filter: blur(14px); transform: translateY(10px); }

    to   { opacity: 1; filter: blur(0);    transform: translateY(0); }

}



@keyframes shimmerSilver {

    0%   { background-position: 110% 0; }

    100% { background-position: -20% 0; }

}



.gemini-star-badge {

    position: absolute;

    top: -8px;

    right: -52px;

    opacity: 0;

    animation: geminiAppear 0.8s cubic-bezier(0.16,1,0.3,1) 6.0s forwards;

}



@keyframes geminiAppear {

    0%   { opacity: 0; transform: scale(0.3) rotate(-30deg); }

    60%  { opacity: 1; transform: scale(1.2) rotate(8deg); }

    100% { opacity: 1; transform: scale(1) rotate(0deg); }

}



.gemini-star-badge svg {

    width: 38px;

    height: 38px;

    animation: geminiPulse 3s ease-in-out 6.8s infinite;

}



@keyframes geminiPulse {

    0%, 100% { transform: scale(1) rotate(0deg); filter: brightness(1); }

    50%      { transform: scale(1.1) rotate(12deg); filter: brightness(1.35); }

}



        .pl-subtitle {

            font-size: 0.85rem; color: #444; margin-bottom: 70px;

            max-width: 520px; line-height: 1.8; text-align: center;

            animation: blurIn 1s ease 0.25s forwards; opacity: 0;

        }



        .pl-input-wrapper {

            position: relative; width: 340px; margin-bottom: 10px;

            animation: blurIn 0.8s ease 0.5s forwards; opacity: 0;

        }



        .pl-input { width: 100%; background: transparent; border: none; border-bottom: 1px solid #222; padding: 8px 30px 8px 0; font-family: 'Inter', sans-serif; font-size: 0.85rem; color: #111; outline: none; }

        .pl-input::placeholder { color: #555; }



        .pl-arrow-btn { position: absolute; right: 0; bottom: 8px; background: none; border: none; cursor: pointer; color: #111; display: flex; align-items: center; transition: transform 0.18s; }

        .pl-arrow-btn:hover { transform: translateX(3px); }



        .pl-msg {

            font-size: 0.73rem; color: #555; min-height: 20px; margin-bottom: 80px;

            animation: blurIn 0.8s ease 0.6s forwards; opacity: 0;

        }



        .pl-btn-group {

            display: flex; flex-direction: row; gap: 20px;

            animation: blurIn 0.8s ease 0.75s forwards; opacity: 0;

        }



        .pl-neu-btn {

            background: rgba(255,255,255,0.55);

            border: 1px solid rgba(255,255,255,0.75);

            padding: 12px 24px; border-radius: 50px;

            display: flex; align-items: center; gap: 8px;

            font-family: 'Inter', sans-serif; font-size: 0.78rem; color: #222;

            cursor: pointer; position: relative; overflow: hidden;

            transition: all 0.3s ease; backdrop-filter: blur(8px);

        }



        .pl-neu-btn::before {

            content: ''; position: absolute;

            top: 0; left: -100%; width: 100%; height: 100%;

            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.65), transparent);

            transition: left 0.5s ease;

        }

        .pl-neu-btn:hover::before { left: 100%; }

        .pl-neu-btn:hover { background: rgba(255,255,255,0.88); border-color: rgba(255,255,255,1); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }

        .pl-neu-btn:active { transform: translateY(0); transition-duration: 0.1s; }



        /* ── Onboarding Tour ── */

.tour-overlay {

    position: fixed; inset: 0; z-index: 1000;

    pointer-events: none;

}



.tour-backdrop {

    position: fixed; inset: 0; z-index: 999;

    background: rgba(0,0,0,0.55);

    backdrop-filter: none;

    pointer-events: all;

}



.tour-highlight {

    position: fixed; z-index: 1001;

    border-radius: 14px;

    box-shadow: 0 0 0 4px rgba(251,191,36,0.8), 0 0 0 9999px rgba(0,0,0,0.55);

    pointer-events: none;

    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);

    background: transparent;

    isolation: isolate;

}



.tour-card {

    position: fixed; z-index: 1002;

    background: rgba(14,14,18,0.96);

    backdrop-filter: blur(28px);

    -webkit-backdrop-filter: blur(28px);

    border: 1px solid rgba(255,255,255,0.12);

    border-radius: 18px;

    padding: 22px 24px;

    width: 300px;

    box-shadow: 0 16px 48px rgba(0,0,0,0.5);

    pointer-events: all;

    animation: tourCardIn 0.35s cubic-bezier(0.16,1,0.3,1);

}



@keyframes tourCardIn {

    from { opacity: 0; transform: translateY(10px) scale(0.97); }

    to   { opacity: 1; transform: translateY(0) scale(1); }

}



        @keyframes markerPulse {

    0%, 100% { transform: scale(1); filter: brightness(1); }

    50% { transform: scale(1.3); filter: brightness(1.6); }

}

.marker-pulse .marker-pin {

    animation: markerPulse 0.8s ease-in-out infinite;

}

@keyframes btnGlow {

    0%, 100% { color: rgba(255,255,255,0.85); text-shadow: none; }

    50% { color: white; text-shadow: 0 0 16px rgba(255,255,255,0.9); }

}

.btn-glow {

    animation: btnGlow 1s ease-in-out infinite !important;

}

        #askInput::placeholder { color: rgba(255,255,255,0.7) !important; }

@keyframes filterHighlight {

    0%, 100% { background: rgba(255,255,255,0.05); border-color: transparent; }

    50% { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4); }

}

.filter-highlight {

    animation: filterHighlight 0.5s ease-in-out forwards !important;

    color: var(--text-light) !important;

}

        



.tour-step-label {

    font-size: 0.6rem; font-weight: 700; text-transform: uppercase;

    letter-spacing: 0.12em; color: #fbbf24; margin-bottom: 8px;

}



.tour-card h3 {

    font-family: 'Inter', sans-serif;

    font-size: 1.15rem;

    font-weight: 700;

    font-style: normal;

    color: rgba(255,255,255,0.92);

    margin-bottom: 8px;

    letter-spacing: -0.02em;

}



.tour-card p {

    font-size: 0.82rem; color: rgba(255,255,255,0.55);

    line-height: 1.6; margin-bottom: 18px;

}



.tour-btn-row {

    display: flex; align-items: center; justify-content: space-between;

}



.tour-skip {

    background: none; border: none; cursor: pointer;

    font-family: 'Inter', sans-serif; font-size: 0.75rem;

    color: rgba(255,255,255,0.28); transition: 0.15s;

}

.tour-skip:hover { color: rgba(255,255,255,0.55); }



.tour-next {

    background: rgba(255,255,255,0.12);

    border: 1px solid rgba(255,255,255,0.2);

    color: rgba(255,255,255,0.88);

    padding: 8px 20px; border-radius: 50px;

    font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 600;

    cursor: pointer; transition: 0.18s;

    display: flex; align-items: center; gap: 6px;

}

.tour-next:hover { background: rgba(255,255,255,0.2); transform: translateY(-1px); }

.tour-next.is-final {

    background: linear-gradient(135deg, #fde68a, #fbbf24, #f59e0b);

    color: #1c1917; border-color: transparent;

}



.tour-dots {

    display: flex; gap: 5px; align-items: center;

}

.tour-dot {

    width: 5px; height: 5px; border-radius: 50%;

    background: rgba(255,255,255,0.2); transition: 0.2s;

}

.tour-dot.active { background: #fbbf24; width: 14px; border-radius: 3px; }

.tour-welcome {

    position: fixed; inset: 0; z-index: 1002;

    display: flex; align-items: center; justify-content: center;

    pointer-events: none;

}

.tour-welcome-card {

    background: rgba(14,14,18,0.96);

    backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);

    border: 1px solid rgba(255,255,255,0.12);

    border-radius: 24px; padding: 36px 40px;

    width: 420px; text-align: center;

    box-shadow: 0 24px 64px rgba(0,0,0,0.6);

    pointer-events: all;

    animation: tourCardIn 0.4s cubic-bezier(0.16,1,0.3,1);

}

.tour-welcome-card h2 {

    font-family: 'Georgia', serif;

    font-size: 1.7rem;

    font-weight: 400;

    font-style: italic;

    color: rgba(255,255,255,0.92);

    margin-bottom: 14px;

    line-height: 1.3;

    letter-spacing: -0.01em;

}

.tour-welcome-card p {

    font-size: 0.85rem; color: rgba(255,255,255,0.5);

    line-height: 1.7; margin-bottom: 28px;

}

.tour-welcome-start {

    background: linear-gradient(135deg, #fde68a, #fbbf24, #f59e0b);

    color: #1c1917; border: none;

    padding: 12px 32px; border-radius: 50px;

    font-family: 'Inter', sans-serif; font-size: 0.88rem; font-weight: 700;

    cursor: pointer; transition: 0.18s; margin-bottom: 12px; width: 100%;

}

.tour-welcome-start:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(251,191,36,0.4); }

.tour-welcome-skip {

    background: none; border: none; cursor: pointer;

    font-family: 'Inter', sans-serif; font-size: 0.75rem;

    color: rgba(255,255,255,0.25); transition: 0.15s; display: block; width: 100%;

}

.tour-welcome-skip:hover { color: rgba(255,255,255,0.5); }



        #policyModal h4 { font-size: 0.82rem; font-weight: 700; color: #1c1917; margin: 14px 0 4px; }

#policyModal p { margin: 0 0 8px; }



        @keyframes stationGlowPulse {

            0%   { filter: drop-shadow(0 0 0px var(--glow-color)) brightness(1); transform: scale(1); }

            30%  { filter: drop-shadow(0 0 24px var(--glow-color)) brightness(2.2); transform: scale(1.6); }

            70%  { filter: drop-shadow(0 0 4px var(--glow-color)) brightness(1); transform: scale(1.1); }

            100% { filter: drop-shadow(0 0 12px var(--glow-color)) brightness(1.3); transform: scale(1.25); }

        }

        .transit-station-active {



            animation: stationGlowPulse 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;

        }



        @media (max-width: 1024px) {

            .transit-btn, .transit-panel, .insider-btn, .insider-panel { display: none !important; }

            .m-transit-fab { display: flex !important; }

        }



        .m-transit-fab {

            width: 48px; height: 48px; border-radius: 50%; background: rgba(28,25,23,0.9); 

            backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);

            border: 1px solid rgba(255,255,255,0.15); color: #fff; display: none; align-items: center; justify-content: center;

            box-shadow: 0 4px 16px rgba(0,0,0,0.4); cursor: pointer; margin-bottom: 12px; pointer-events: auto; transition: 0.2s;

        }

        .m-transit-fab:active { transform: scale(0.92); }

        .m-transit-panel {

            position: fixed; bottom: -120vh; left: 0; right: 0;

            background: rgba(14,14,18,0.95); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);

            border-top: 1px solid rgba(255,255,255,0.1); border-radius: 24px 24px 0 0;

            z-index: 2000; 

            transition: bottom 0.35s cubic-bezier(0.16,1,0.3,1); 

            display: flex; flex-direction: column; 

            padding: 12px 20px max(env(safe-area-inset-bottom, 20px), 24px); 

            box-shadow: 0 -12px 40px rgba(0,0,0,0.6);

            pointer-events: none; 

        }

        .m-transit-panel.open { 

            bottom: 0; 

            pointer-events: auto; 

        }

        .m-sheet-handle { width: 40px; height: 4px; background: rgba(255,255,255,0.2); border-radius: 4px; margin: 0 auto 16px; }

        .m-tp-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; color: #fff; }

        .m-tp-close { background: rgba(255,255,255,0.1); border-radius: 50%; border: none; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 6px; transition: 0.2s;}

        .m-tp-close:active { background: rgba(255,255,255,0.2); transform: scale(0.9); }

        .m-tp-clear { font-size: 13px; font-weight:600; color: #fca5a5; background: rgba(239,68,68,0.15); padding: 6px 16px; border-radius: 20px; margin-right: 12px; transition: 0.2s;}

        .m-tp-list { display: flex; flex-wrap: wrap; gap: 10px; max-height: 45vh; overflow-y: auto; padding-bottom: 10px; }

        .m-tp-item { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 20px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); font-size: 13px; font-weight: 600; color: #fff; transition: 0.2s; }

        .m-tp-item.active { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); }

