*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:#202020;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang TC","Noto Sans TC","Microsoft JhengHei","Heiti TC",sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}a{color:#0055bf;text-decoration:none}a:hover{color:#003c86}h1,h2,h3,p{margin:0}button{font:inherit}.shell{max-width:1180px;margin:0 auto;padding:22px 14px calc(150px + env(safe-area-inset-bottom))}.header{padding:14px 0 8px}.kicker{font-size:12px;letter-spacing:.12em;color:#6b6b6b;font-weight:800;text-transform:uppercase}.main-title{font-size:clamp(38px,10vw,72px);line-height:1.02;letter-spacing:-.045em;margin:10px 0 14px;font-weight:800;max-width:980px}.tagrow{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.tag{display:inline-flex;align-items:center;padding:7px 12px;border-radius:999px;font-size:12px;font-weight:800;border:2px solid #202020;box-shadow:0 4px 0 rgba(32,32,32,.12)}.section{margin-top:28px}.section-head{margin-bottom:14px}.eyebrow{font-size:12px;letter-spacing:.12em;color:#6b6b6b;font-weight:800;text-transform:uppercase}.section-title{font-size:clamp(28px,7vw,44px);letter-spacing:-.03em;line-height:1.08;font-weight:800;margin-top:2px}.grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px;align-items:start}.card{background:#fff;border:2px solid #202020;border-radius:24px;box-shadow:0 6px 0 rgba(32,32,32,.12),0 14px 24px rgba(32,32,32,.06);padding:20px}.next-img{position:relative;width:100%;height:180px;background:#f2f2f2;overflow:hidden;border-bottom:2px solid #202020}.next-img img{width:100%;height:100%;display:block;object-fit:cover}.pill-btn{min-height:44px;padding:10px 15px;border:2px solid #202020;border-radius:999px;font-weight:800;font-size:14px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 0 rgba(32,32,32,.12);text-decoration:none}.bottom-nav{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(10px + env(safe-area-inset-bottom));width:min(540px,calc(100% - 44px));z-index:99;display:grid;grid-template-columns:repeat(5,1fr);gap:2px;padding:6px;border:none;background:rgba(255,255,255,.68);backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);border-radius:999px;box-shadow:0 1px 0 rgba(255,255,255,.7) inset,0 12px 34px rgba(32,32,32,.18),0 2px 8px rgba(32,32,32,.10)}.nav-btn{min-height:50px;border:none;border-radius:999px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10px;font-weight:800;cursor:pointer;padding:0;background:transparent;color:#6b6b6b}.nav-btn.active{background:#ffd500;color:#0055bf}.day-list{display:grid;gap:14px}.day-card{background:#fff;border:2px solid #202020;border-radius:24px;box-shadow:0 6px 0 rgba(32,32,32,.12),0 14px 24px rgba(32,32,32,.06);overflow:hidden}.brick{height:10px;background:linear-gradient(90deg,#e3000b 0 33.333%,#ffd500 33.333% 66.666%,#0055bf 66.666% 100%)}.day-hero{position:relative;border-bottom:2px solid #202020}.day-hero img{width:100%;height:190px;object-fit:cover;display:block}.day-tags{position:absolute;left:14px;bottom:14px;display:flex;gap:8px;flex-wrap:wrap}.day-tags span{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#fff;color:#202020;font-size:11px;font-weight:800;border:2px solid #202020;box-shadow:0 3px 0 rgba(32,32,32,.10)}.day-body{padding:20px}.day-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;align-items:flex-start}.day-kicker{font-size:12px;letter-spacing:.12em;color:#6b6b6b;font-weight:800}.day-title{font-size:25px;letter-spacing:-.03em;font-weight:800;margin-top:4px;line-height:1.15}.base{color:#6b6b6b;font-size:13px;font-weight:700;max-width:320px}.timeline{display:grid;margin-top:18px}.row{display:grid;grid-template-columns:64px 1fr;gap:10px}.row-time{font-size:13px;color:#6b6b6b;font-variant-numeric:tabular-nums;padding-top:3px;font-weight:700}.stop-body{padding-left:16px;border-left:2px solid #d9d9d9;position:relative;min-width:0;padding-bottom:16px}.stop-body:before{content:'';position:absolute;left:-6px;top:5px;width:10px;height:10px;border-radius:50%;background:#fff;border:2px solid #202020}.stop-label{font-size:18px;line-height:1.3;font-weight:800;letter-spacing:-.01em;display:flex;align-items:center;flex-wrap:wrap;gap:2px}.dur{display:inline-flex;align-items:center;gap:4px;margin-top:7px;padding:4px 9px;border-radius:999px;background:#d9d9d9;color:#202020;font-size:11px;font-weight:800;border:1px solid #202020}.transit .row-time{font-size:12px;color:#a1a1a6}.transit-body{padding-left:34px;border-left:2px dashed #d9d9d9;min-width:0;padding-bottom:14px;color:#6b6b6b;font-size:13px;line-height:1.5}.notes{margin-top:16px;padding:16px;border-radius:18px;background:#d9d9d9;border:2px solid #202020}.notes-title{font-size:11px;letter-spacing:.12em;color:#5c5c5c;font-weight:800;text-transform:uppercase}.notes-list{display:grid;gap:9px;margin-top:11px}.note-row{display:flex;gap:8px;font-size:13px;line-height:1.6;color:#202020}.weather-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.weather-card{background:#fff;border:2px solid #202020;border-radius:20px;box-shadow:0 4px 0 rgba(32,32,32,.10);padding:16px}.quick-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin-top:15px}.quick{padding:16px;border-radius:16px;border:2px solid #202020}.fragment{margin-top:0}.fragment sc-if{display:contents}.screen{display:none}.screen.active{display:block}@media(max-width:480px){.shell{padding-left:12px;padding-right:12px}.grid2{grid-template-columns:1fr}.card{padding:16px}}

.time-range{display:block;line-height:1.45;white-space:nowrap}.time-range>span{display:block}.time-range small{display:block;font-size:10px;line-height:1.25}.timeline-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;margin-bottom:4px}.timeline-map{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:2px solid #202020;border-radius:999px;background:#fff;color:#0055bf;font-size:12px;font-weight:800;line-height:1.4}.timeline-map:hover{background:#ffd500;color:#202020}.timeline-map:focus-visible{outline:3px solid #0055bf;outline-offset:3px}.itinerary-intro{font-size:14px;line-height:1.7;color:#6b6b6b;margin-top:12px;max-width:780px}

/* New-trip flags keep existing trip typography unchanged. */
.text-cards .day-hero,.text-cards .next-img{display:none}
.compact-headings .main-title{font-size:clamp(30px,7vw,50px);line-height:1.15}
.compact-headings .section-title{font-size:clamp(26px,5vw,36px)}
.compact-headings .day-title{font-size:clamp(20px,4.5vw,25px);line-height:1.4}
.nearby-options{margin-top:24px;border-top:2px solid #222;padding-top:12px}
.nearby-options summary{cursor:pointer;font-weight:800;min-height:44px;padding:10px 0;line-height:1.5}
.nearby-intro{font-size:14px;line-height:1.8;color:#666}
.nearby-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px}
.nearby-card{border:2px solid #222;border-radius:16px;padding:16px;background:#fff}
.nearby-card h3{margin:8px 0;font-size:19px;line-height:1.5}
.nearby-card p{font-size:14px;line-height:1.8;overflow-wrap:anywhere}
.nearby-where{color:#666}.nearby-links{display:flex;gap:8px;flex-wrap:wrap}
.nearby-links a{display:inline-flex;align-items:center;min-height:44px;border:2px solid #222;border-radius:24px;padding:6px 14px;color:#0059c8;font-weight:800;font-size:14px;text-decoration:none}

.illustrated .day-hero{height:clamp(200px,32vw,360px);aspect-ratio:auto;max-height:none;background:#fff8ed}
.illustrated .day-hero img{width:100%;height:100%;object-fit:cover;object-position:center 55%}
.illustrated .next-img{height:auto;aspect-ratio:3/2;background:#fff8ed}
.illustrated .next-img img{object-fit:contain}

.nav-icon{display:block;width:22px;height:22px;flex:none;overflow:visible}

.weather-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.weather-refresh{min-height:44px;cursor:pointer;background:#fff}.weather-refresh:disabled{opacity:.6;cursor:wait}.weather-note,.weather-date{font-size:12px;color:#626b72;line-height:1.7;margin-top:10px}.weather-place{font-size:20px;margin-top:12px}.weather-condition{display:flex;align-items:center;gap:8px;margin-top:10px}.weather-condition span{width:22px;height:22px;border-radius:6px;border:2px solid #202020}.weather-temperature{font-size:30px;font-weight:800;margin-top:10px}.weather-temperature span{font-size:18px;color:#626b72}
