:root {
  /* 現代日系配色 — 深靛藍 × 珊瑚紅 × 冰白 */
  --ink: #0f1923;
  --ink2: #3a4a5c;
  --ink3: #7a8fa8;
  --paper: #f0f4f8;
  --paper2: #e4ecf4;
  --paper3: #c8d8e8;
  --accent: #d4502a;
  --accent2: #e8703a;
  --green: #0d9488;
  --blue: #1a3a5c;
  --header-bg: #0f1923;
  --radius: 18px;
  --shadow: 0 2px 20px rgba(15,25,35,0.08);
  --shadow-md: 0 4px 32px rgba(15,25,35,0.13);
  --glass: rgba(255,255,255,0.72);
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; background: var(--paper); font-family: 'Noto Sans TC', sans-serif; color: var(--ink); overflow: hidden; }

/* APP SHELL */
#app { display: flex; flex-direction: column; height: 100dvh; max-width: 430px; margin: 0 auto; background: var(--paper); position: relative; overflow: hidden; }

/* HEADER */
.app-header { 
  background: linear-gradient(160deg, rgba(10,20,35,0.65) 0%, rgba(10,20,35,0.82) 100%), url('https://res.cloudinary.com/dyzbvpgwq/image/upload/v1774596510/japan-trip/qvq0ng7iivnezi7f2ubn.jpg') center 30%/cover no-repeat;
  color: white; 
  padding: 52px 20px 18px; 
  flex-shrink: 0;
  position: relative;
}
.header-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.trip-title { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.trip-sub { font-size: 11px; color: rgba(255,255,255,0.55); letter-spacing: 0.06em; margin-top: 3px; }
.header-right { text-align: right; }
.weather-mini { font-size: 22px; line-height: 1; }
.weather-temp { font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 2px; }
.rate-badge { 
  background: var(--accent); color: white; font-size: 10px; padding: 4px 10px; 
  border-radius: 99px; font-weight: 600; margin-top: 6px; display: inline-block; cursor: pointer;
  letter-spacing: 0.02em;
}

/* DATE TABS */
.date-tabs-wrap { 
  background: linear-gradient(to bottom, rgba(10,20,35,0.85) 0%, rgba(10,20,35,0.97) 100%), url('https://res.cloudinary.com/dyzbvpgwq/image/upload/v1774596510/japan-trip/qvq0ng7iivnezi7f2ubn.jpg') center 60%/cover no-repeat;
  padding: 0 20px 14px; flex-shrink: 0;
}
.date-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.date-tabs::-webkit-scrollbar { display: none; }
.day-tab { 
  flex-shrink: 0; padding: 6px 14px; border-radius: 99px; 
  font-size: 11px; font-weight: 500; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.5);
  transition: all 0.2s; white-space: nowrap;
  background: transparent;
}
.day-tab.active { background: var(--accent); border-color: var(--accent); color: white; font-weight: 600; }

/* MAIN SCROLL AREA */
.main-scroll { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 16px 20px 100px; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }

/* WEATHER CARD */
.weather-card {
  background: linear-gradient(135deg, #0d9488 0%, #0a6b62 100%);
  border-radius: var(--radius); padding: 14px 16px; margin-bottom: 14px;
  color: white; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 4px 20px rgba(13,148,136,0.3);
}
.weather-icon { font-size: 36px; }
.weather-info { flex: 1; }
.weather-city { font-size: 12px; opacity: 0.8; }
.weather-desc { font-size: 15px; font-weight: 600; margin: 2px 0; }
.weather-detail { font-size: 11px; opacity: 0.75; }
.weather-temp-big { font-size: 28px; font-weight: 300; font-family: 'Outfit', sans-serif; }

/* TODAY SUMMARY */
.today-summary {
  background: white; border-radius: var(--radius); padding: 16px;
  margin-bottom: 14px; box-shadow: var(--shadow); border: 1px solid rgba(200,216,232,0.65);
}
.today-summary-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.today-summary-kicker { font-size: 11px; color: var(--ink3); font-weight: 700; letter-spacing: 0.06em; }
.today-summary-title { font-size: 18px; color: var(--ink); font-weight: 800; margin-top: 2px; }
.today-summary-weather { flex-shrink: 0; padding: 7px 10px; border-radius: 999px; background: var(--paper2); color: var(--ink2); font-size: 12px; font-weight: 700; }
.today-summary-current { background: var(--paper); border-radius: 14px; padding: 12px; margin-bottom: 8px; border-left: 3px solid var(--accent); }
.today-summary-next { background: var(--paper); border-radius: 14px; padding: 12px; margin-bottom: 12px; }
.today-summary-next-label { font-size: 11px; color: var(--accent); font-weight: 800; margin-bottom: 4px; }
.today-summary-next-name { font-size: 15px; color: var(--ink); font-weight: 800; line-height: 1.35; }
.today-summary-next-desc { font-size: 12px; color: var(--ink3); line-height: 1.5; margin-top: 4px; }
.today-summary-transport { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--paper2); }
.today-summary-transport-main { font-size: 12px; color: var(--ink2); font-weight: 800; line-height: 1.45; }
.today-summary-transport-transfer { font-size: 12px; color: var(--ink3); line-height: 1.5; margin-top: 2px; }
.today-summary-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 12px; }
.today-summary-stat { min-height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 12px; background: var(--paper2); color: var(--ink3); font-size: 10px; font-weight: 700; }
.today-summary-stat span { color: var(--ink); font-size: 18px; font-family: 'Outfit', sans-serif; line-height: 1.1; }
.today-summary-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.today-summary-actions button {
  min-height: 42px; border-radius: 12px; border: 1.5px solid var(--paper3);
  background: white; color: var(--ink2); font-size: 13px; font-weight: 800; font-family: inherit;
}
.today-summary-actions button:first-child { background: var(--accent); border-color: var(--accent); color: white; }

