*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans TC","PingFang TC",sans-serif;background:#edf7fb;color:#16324a}.topbar{position:sticky;top:0;z-index:10;display:flex;justify-content:space-between;gap:16px;align-items:center;padding:16px max(18px,calc((100vw - 1060px)/2));background:rgba(237,247,251,.92);backdrop-filter:blur(14px);border-bottom:1px solid #d6e8f2}.eyebrow{font-size:11px;letter-spacing:.18em;font-weight:800;color:#2677a8;margin:0 0 4px}.topbar h1{font-size:20px;margin:0}.subtitle{margin:4px 0 0;color:#5b7284;font-size:13px}.ghost{border:1px solid #9bc7dd;background:white;border-radius:999px;padding:10px 14px;color:#175f8e;font-weight:700}main{max-width:1060px;margin:auto;padding:18px}.card{background:white;border-radius:24px;box-shadow:0 12px 35px rgba(17,74,111,.08);overflow:hidden;margin-bottom:18px}.hero{display:grid;grid-template-columns:minmax(240px,420px) 1fr;align-items:center}.hero img{width:100%;height:100%;object-fit:cover;display:block}.hero-copy{padding:28px}.hero-copy h2{font-size:28px;margin:12px 0}.hero-copy p{line-height:1.8;color:#5a7080}.pill{display:inline-block;background:#dff3ff;color:#0b5f91;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:800}.daynav{display:flex;gap:8px;overflow:auto;padding:2px 0 14px;scrollbar-width:none}.daychip{white-space:nowrap;border:0;background:white;border-radius:999px;padding:10px 14px;box-shadow:0 5px 15px rgba(17,74,111,.07);font-weight:700;color:#486679}.daychip.active{background:#0b5f91;color:white}.day{padding:22px}.dayhead{display:flex;justify-content:space-between;gap:20px;align-items:end;padding-bottom:18px;border-bottom:1px solid #e5eef3}.dayhead span{font-weight:900;color:#2c89bd;letter-spacing:.08em}.dayhead h2{margin:4px 0 0;font-size:26px}.route{font-size:13px;color:#648091}.timeline{display:grid;gap:0}.stop{display:grid;grid-template-columns:44px 1fr;gap:12px;padding:20px 0;border-bottom:1px dashed #d8e5ec}.stop:last-child{border-bottom:0}.num{width:36px;height:36px;border-radius:50%;background:#0b5f91;color:#fff;display:grid;place-items:center;font-weight:900}.content h3{margin:2px 0 5px;font-size:20px}.ko{margin:0 0 10px;font-weight:700;color:#2f748f}.content>p:not(.ko){color:#607684;line-height:1.6}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.btn{display:inline-block;text-decoration:none;background:#0b5f91;color:white;padding:9px 12px;border-radius:10px;font-size:13px;font-weight:800}.btn.secondary{background:#e6f4fa;color:#0a5b88}.free{padding-top:18px}.free p{line-height:1.8;color:#5f7685}.tools{padding:22px}.tools h2{margin-top:0}.toolgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.toolbtn{border:0;background:#edf7fb;color:#174d6d;text-decoration:none;border-radius:14px;padding:14px 10px;font-weight:800;text-align:center;cursor:pointer}.toast{min-height:1.5em;color:#29729b;font-size:13px}.close{position:sticky;top:8px;margin-left:auto;display:block;border:0;border-radius:50%;width:42px;height:42px;background:#fff;font-size:28px;box-shadow:0 4px 15px rgba(0,0,0,.15)}dialog{border:0;border-radius:20px;padding:10px;max-width:min(92vw,760px);max-height:92vh}dialog::backdrop{background:rgba(5,28,42,.75)}dialog img{max-width:100%;height:auto;display:block;border-radius:12px}footer{padding:28px 18px 50px;text-align:center;color:#628094;display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
@media(max-width:760px){.hero{grid-template-columns:1fr}.hero img{max-height:68vh;object-fit:contain;background:#dff0f8}.hero-copy{padding:20px}.hero-copy h2{font-size:23px}.day{padding:18px}.dayhead{display:block}.route{margin-top:8px}.toolgrid{grid-template-columns:1fr 1fr}.topbar{padding:12px 16px}.topbar .subtitle{display:none}.topbar h1{font-size:18px}}
@media(display-mode:standalone){.topbar{padding-top:max(12px,env(safe-area-inset-top))}}
.addr{margin:8px 0 10px!important;padding:10px 12px;background:#f5fafc;border-radius:12px;color:#355d72!important;font-size:13px;line-height:1.55!important}
.addrlabel{display:block;font-size:11px;font-weight:900;color:#7a98a8;margin-bottom:2px;letter-spacing:.04em}
.trip-actions{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 4px}
.mini{border:1px solid #c9e1ed;background:#fff;color:#145f88;border-radius:10px;padding:9px 10px;font-size:12px;font-weight:800;cursor:pointer}
.mini:active{transform:translateY(1px);background:#eaf6fb}
.speak-driver{background:#0b5f91;color:white;border-color:#0b5f91}
@media(max-width:520px){.trip-actions{display:grid;grid-template-columns:1fr 1fr}.mini{width:100%;padding:11px 8px}}

.trip-actions a.mini{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.naver-direct{background:#eafaf1!important;border-color:#a8e7bf!important;color:#087d43!important}
.uber-direct{background:#111!important;border-color:#111!important;color:white!important}

/* v4 compact Korean name/address rows */
.info-line{display:flex;align-items:center;gap:8px;margin:7px 0;min-width:0}
.info-text{min-width:0;flex:0 1 auto}
.info-line .ko{margin:0;font-weight:700;color:#2f748f}
.info-line .addr{margin:0!important;padding:0;background:transparent;border-radius:0;color:#5f7685!important;font-size:13px;line-height:1.45!important}
.inline-copy{flex:0 0 auto;border:1px solid #c9e1ed;background:#f5fafc;color:#17678f;border-radius:8px;padding:4px 8px;font-size:11px;font-weight:800;cursor:pointer}
.inline-copy:active{background:#dff1f8}
@media(max-width:520px){.info-line{align-items:flex-start}.inline-copy{margin-top:1px}.trip-actions{grid-template-columns:1fr 1fr}}

.day-photo{margin:12px 0 18px;border-radius:18px;overflow:hidden;aspect-ratio:16/9;background:#eee}
.day-photo img{display:block;width:100%;height:100%;object-fit:cover}

.return-checklist{display:grid;gap:9px;margin:12px 0 14px}
.return-checklist label{display:flex;align-items:flex-start;gap:9px;padding:10px 12px;border-radius:12px;background:rgba(11,79,124,.06);line-height:1.45}
.return-checklist input{width:18px;height:18px;margin-top:2px;flex:0 0 auto}
@media(max-width:640px){.trip-actions{gap:7px}.mini{min-height:40px;padding:8px 10px}.daynav{overflow-x:auto;white-space:nowrap}}

#toast{position:fixed;left:50%;bottom:calc(22px + env(safe-area-inset-bottom));transform:translateX(-50%) translateY(12px);z-index:9999;background:#111;color:#fff;padding:9px 13px;border-radius:999px;font-size:14px;opacity:0;pointer-events:none;transition:.18s;max-width:90vw;text-align:center}
#toast.show{opacity:.94;transform:translateX(-50%) translateY(0)}

.uber-confirm-dialog{
  width:min(92vw,680px);
  max-height:90vh;
  padding:0;
  border:0;
  border-radius:24px;
  overflow:hidden;
  background:#f7f2e8;
  box-shadow:0 24px 70px rgba(0,0,0,.28);
}
.uber-confirm-dialog::backdrop{background:rgba(17,28,39,.62)}
.uber-confirm-card{margin:0}
.uber-confirm-hero{
  padding:34px 32px 30px;
  background:#eaf5f4;
  border-bottom:1px solid #c7dedd;
}
.uber-kicker{
  font-size:13px;
  letter-spacing:.28em;
  font-weight:700;
  color:#ef735c;
  margin-bottom:20px;
}
.uber-confirm-hero h2{
  margin:0 0 14px;
  font-size:clamp(34px,7vw,52px);
  line-height:1.05;
}
.uber-confirm-hero p{margin:0;color:#5b7585;line-height:1.7}
.uber-confirm-body{padding:30px}
.uber-destination-card{
  padding:24px;
  background:#fff;
  border-left:4px solid #d7e6e5;
  display:grid;
  gap:10px;
}
.uber-destination-card strong{font-size:26px}
.uber-destination-card span{font-size:18px;line-height:1.6}
.uber-destination-card #uberDestinationKo{color:#1f9d9b}
.uber-destination-card hr{width:100%;border:0;border-top:1px solid #c7dedd}
.uber-pickup-block{
  margin-top:28px;
  padding-top:24px;
  border-top:1px dashed #c7dedd;
  display:grid;
  gap:10px;
}
.uber-pickup-block label{font-weight:700;font-size:18px}
.uber-pickup-block input{
  width:100%;
  box-sizing:border-box;
  min-height:52px;
  padding:0 16px;
  font-size:17px;
  border:2px solid #f3cfc6;
  background:white;
}
.uber-pickup-block small{color:#657d8b;line-height:1.5}
.uber-confirm-actions{
  padding:24px 30px 30px;
  background:#fff;
  display:grid;
  gap:12px;
}
.uber-confirm-primary,.uber-confirm-cancel{
  min-height:58px;
  border:0;
  font-size:18px;
  font-weight:700;
}
.uber-confirm-primary{background:#ef735c;color:#fff}
.uber-confirm-cancel{background:#fff;border:1px solid #c7dedd;color:#4d6877}
@media(max-width:640px){
  .uber-confirm-dialog{width:calc(100vw - 28px);border-radius:20px}
  .uber-confirm-hero{padding:28px 24px}
  .uber-confirm-body{padding:24px}
  .uber-confirm-actions{padding:20px 24px 24px}
  .uber-destination-card strong{font-size:23px}
  .uber-destination-card span{font-size:16px}
}
