*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0}body{overflow:hidden;background:#06101b;color:#eef8ff;font-family:Inter,"Microsoft YaHei",system-ui,sans-serif}button,select{font:inherit}#map{position:fixed;inset:0;width:100%;height:100%;background:#0a1926}.noise{position:fixed;inset:0;pointer-events:none;opacity:.035;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");z-index:20}.glass{background:linear-gradient(135deg,rgba(7,22,38,.88),rgba(10,31,49,.72));border:1px solid rgba(150,220,255,.22);box-shadow:0 14px 42px rgba(0,0,0,.34),inset 0 1px rgba(255,255,255,.07);backdrop-filter:blur(17px);-webkit-backdrop-filter:blur(17px)}.topbar{position:fixed;z-index:30;left:18px;right:18px;top:14px;height:76px;border-radius:18px;padding:12px 18px;display:flex;align-items:center;gap:26px}.eyebrow{font-size:9px;letter-spacing:3px;color:#79dfff}.topbar h1{font-size:22px;margin:4px 0 0}.stats{margin-left:auto;display:flex;gap:28px}.stats div{display:flex;flex-direction:column;align-items:center}.stats b{font-size:18px}.stats span{font-size:9px;color:#8fa8b9}.sidebar{position:fixed;z-index:30;left:18px;top:104px;bottom:96px;width:248px;border-radius:18px;padding:15px;overflow:auto}.section-title{font-size:11px;letter-spacing:2px;color:#9cb4c5;margin-bottom:10px}.day-item{padding:10px;border-radius:12px;margin-bottom:6px;cursor:pointer;border:1px solid transparent;transition:.2s;display:grid;grid-template-columns:6px 1fr auto;gap:9px;align-items:center}.day-item:hover,.day-item.active{background:rgba(255,255,255,.09);border-color:rgba(120,220,255,.25)}.day-color{width:6px;height:34px;border-radius:8px;box-shadow:0 0 13px currentColor}.day-item b{font-size:12px;display:block;line-height:1.35}.day-item small{color:#91a8b8;font-size:9px}.day-num{font-size:9px;color:#8fa8b9}.divider{height:1px;background:rgba(255,255,255,.1);margin:12px 0}.switch-row{display:flex;justify-content:space-between;align-items:center;font-size:11px;margin:12px 2px}.switch-row input{display:none}.switch-row i{width:34px;height:19px;border-radius:20px;background:#23394a;position:relative}.switch-row i:after{content:"";position:absolute;width:13px;height:13px;border-radius:50%;background:white;top:3px;left:3px;transition:.2s}.switch-row input:checked+i{background:#20b8ff}.switch-row input:checked+i:after{left:18px}.info-card{position:fixed;z-index:30;right:18px;top:104px;width:320px;max-height:calc(100vh - 200px);overflow:auto;border-radius:18px;padding:16px}.day-chip{display:inline-block;padding:5px 9px;border-radius:7px;font-size:10px;font-weight:800}.info-card h2{font-size:18px;margin:11px 0 8px}.meta{display:flex;gap:6px;flex-wrap:wrap}.meta span{font-size:9px;color:#b5c8d5;background:rgba(255,255,255,.07);padding:5px 7px;border-radius:6px}.schedule{margin-top:12px}.schedule-row{display:grid;grid-template-columns:44px 1fr;gap:9px;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.07)}.schedule-row time{font-size:10px;font-weight:800}.schedule-row div{font-size:11px;line-height:1.45}.schedule-row small{display:block;color:#8fa8b9}.map-tools{position:fixed;z-index:35;right:18px;bottom:96px;border-radius:12px;padding:4px;display:flex;gap:2px}.map-tools button,.player button{border:0;color:#eef8ff;background:transparent;cursor:pointer}.map-tools button{padding:8px 10px;border-radius:8px;font-size:10px}.map-tools button.active{background:#18aef3}.player{position:fixed;z-index:40;left:18px;right:18px;bottom:12px;height:68px;border-radius:18px;display:flex;align-items:center;padding:9px 16px;gap:16px}.controls{display:flex;gap:7px;align-items:center}.controls button{font-size:17px;width:32px;height:32px}.controls .play{width:44px;height:44px;border-radius:50%;background:#15b5ff;box-shadow:0 0 23px rgba(21,181,255,.5)}.timeline-wrap{flex:1;min-width:0}.now{display:flex;gap:9px;align-items:center;margin-bottom:7px;font-size:10px}.now span{color:#6bdcff;font-weight:800}.now b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.timeline{height:5px;background:rgba(255,255,255,.12);border-radius:8px;position:relative;display:flex}.timeline-seg{flex:1;height:5px;cursor:pointer;position:relative}.timeline-seg:after{content:"";position:absolute;width:8px;height:8px;border-radius:50%;top:-2px;left:50%;background:#496172;border:2px solid #0c1c29}.timeline-seg.active:after{background:#fff;box-shadow:0 0 13px currentColor}.speed{display:flex;align-items:center;gap:7px;font-size:9px;color:#8fa8b9}.speed select{background:#102738;color:white;border:1px solid #28465a;border-radius:7px;padding:6px}.speed button{font-size:17px}.toast{position:fixed;z-index:160;left:50%;top:105px;transform:translateX(-50%) translateY(-20px);background:#0a2133;border:1px solid #28546c;padding:10px 16px;border-radius:10px;opacity:0;pointer-events:none;transition:.25s;font-size:12px;max-width:calc(100vw - 30px);text-align:center}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.marker-label{background:rgba(4,18,30,.94);color:#fff;border:1px solid rgba(110,220,255,.4);padding:5px 8px;border-radius:7px;white-space:nowrap;font-size:11px}.amap-logo,.amap-copyright{opacity:.7!important}.map-status{position:fixed;z-index:25;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:8px;background:rgba(4,16,27,.88);border:1px solid rgba(95,199,255,.28);border-radius:16px;padding:20px 24px;box-shadow:0 15px 50px rgba(0,0,0,.4);text-align:center}.map-status.hidden{display:none}.map-status.error{z-index:100;background:rgba(25,8,12,.95);border-color:rgba(255,95,95,.55);max-width:520px}.map-status span{font-size:11px;color:#9fb3c1;line-height:1.6}.loader{width:30px;height:30px;border:3px solid rgba(255,255,255,.15);border-top-color:#24b9ff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.mobile-detail-btn{display:none}

@media(max-width:760px){
 body{overflow:hidden}
 #map{inset:0}
 .noise{display:none}
 .topbar{left:10px;right:10px;top:9px;height:66px;border-radius:16px;padding:10px 14px}
 .eyebrow{font-size:7px;letter-spacing:2.2px}
 .topbar h1{font-size:17px;margin-top:3px}
 .stats{display:none}
 .sidebar{left:10px;right:10px;top:84px;bottom:auto;width:auto;height:80px;border-radius:15px;padding:9px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;display:flex;align-items:center}
 .sidebar .section-title,.sidebar .divider,.sidebar .switch-row{display:none}
 #dayList{display:flex;gap:7px;width:max-content}
 .day-item{display:grid;grid-template-columns:5px auto;margin:0;padding:8px 10px;min-width:116px;height:60px;white-space:normal}
 .day-item.active{transform:none}
 .day-color{height:38px;width:5px}
 .day-item b{font-size:10px;line-height:1.25;max-height:26px;overflow:hidden}
 .day-item small{font-size:8px;white-space:nowrap}
 .day-num{display:none}
 .info-card{display:none;left:10px;right:10px;top:auto;bottom:92px;width:auto;max-height:56vh;border-radius:17px;padding:15px;z-index:70}
 .info-card.mobile-open{display:block}
 .info-card h2{font-size:17px}
 .schedule{max-height:32vh;overflow:auto}
 .mobile-detail-btn{display:block;position:fixed;z-index:45;left:12px;bottom:99px;border-radius:12px;padding:9px 12px;color:white;font-size:11px}
 .map-tools{right:10px;bottom:99px;border-radius:12px}
 .map-tools button{padding:9px 9px;font-size:10px}
 .player{left:10px;right:10px;bottom:9px;height:76px;border-radius:17px;padding:9px 11px;gap:8px}
 .controls{gap:2px}
 .controls button{width:29px;height:29px;font-size:15px}
 .controls .play{width:44px;height:44px;font-size:18px}
 .timeline-wrap{min-width:0}
 .now{gap:5px;margin-bottom:7px}
 .now span{font-size:9px;max-width:35px}
 .now b{font-size:10px}
 .speed span{display:none}
 .speed{gap:3px}
 .speed select{width:54px;padding:6px 3px;font-size:10px}
 .speed button{display:none}
 .toast{top:172px}
 .map-status{top:52%;width:calc(100vw - 42px);padding:17px}
 .amap-controls{display:none!important}
}


.close-info-card{
  display:none;
  position:sticky;
  top:0;
  float:right;
  z-index:5;
  width:38px;
  height:38px;
  margin:-3px -3px 4px 8px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:50%;
  color:#fff;
  background:rgba(255,255,255,.10);
  font-size:27px;
  line-height:32px;
  cursor:pointer;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.close-info-card:active{
  transform:scale(.94);
  background:rgba(255,80,80,.28);
}

@media(max-width:760px){
  .info-card.mobile-open .close-info-card{display:block}
  .info-card.mobile-open{
    max-height:calc(100dvh - 190px);
    overflow:auto;
    overscroll-behavior:contain;
  }
  body.itinerary-open .mobile-detail-btn{display:none}
}


.schedule-row{
  grid-template-columns:48px minmax(0,1fr);
  align-items:center;
}
.schedule-place{min-width:0}
.place-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:9px;
}
.place-heading b{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
}
.nav-btn{
  flex:0 0 auto;
  border:1px solid rgba(46,190,255,.34);
  border-radius:9px;
  padding:6px 9px;
  color:#eaf8ff;
  background:linear-gradient(135deg,rgba(22,174,243,.28),rgba(14,103,172,.23));
  cursor:pointer;
  font-size:10px;
  white-space:nowrap;
  box-shadow:0 5px 16px rgba(0,120,190,.15);
}
.nav-btn span{color:#4ed2ff}
.nav-btn:hover{background:rgba(22,174,243,.42)}
.nav-btn:active{transform:scale(.96)}
.nav-unavailable{
  flex:0 0 auto;
  font-size:9px;
  color:#718797;
  border:1px solid rgba(255,255,255,.08);
  border-radius:7px;
  padding:4px 7px;
  white-space:nowrap;
}
.marker-label span{color:#aebfca}
.marker-nav-btn{
  display:block;
  width:100%;
  margin-top:8px;
  padding:7px 10px;
  border:0;
  border-radius:8px;
  background:#19aff3;
  color:#fff;
  font-weight:700;
  cursor:pointer;
}

@media(max-width:760px){
  .schedule-row{grid-template-columns:54px minmax(0,1fr);gap:7px}
  .place-heading{gap:6px}
  .place-heading b{font-size:13px}
  .nav-btn{padding:7px 8px;font-size:10px}
  .nav-unavailable{font-size:8px;padding:4px 5px}
}


.overview-color{
  background:linear-gradient(180deg,#24c7ff,#8c5cff,#ff5b6e);
  color:#24c7ff;
}
.overview-item{
  border-color:rgba(92,210,255,.18);
}
.overview-item.active{
  background:linear-gradient(135deg,rgba(30,174,235,.18),rgba(115,72,210,.14));
  border-color:rgba(95,210,255,.42);
}
.overview-schedule-row{
  cursor:pointer;
  border-radius:10px;
  padding-left:7px;
  padding-right:7px;
  transition:.2s;
}
.overview-schedule-row:hover{
  background:rgba(255,255,255,.06);
}
.overview-go{
  flex:0 0 auto;
  color:#62d8ff;
  font-size:10px;
  white-space:nowrap;
}
@media(max-width:760px){
  .overview-item{min-width:112px}
  .overview-schedule-row time{font-size:9px}
}


/* V2.8：单日模式提示更明显 */
.now b{
  color:#edfaff;
}
.day-item.active{
  box-shadow:inset 0 0 0 1px rgba(88,215,255,.18),
             0 8px 22px rgba(0,0,0,.18);
}
