/* ============================================================
   東京 · 冬日散步手帖
   日系繪本風 · 和紙白 × 墨灰粗線 × 四個平塗色
   ============================================================ */

:root {
  --paper: #FFFCF6;
  --ink: #3E3A39;
  --coral: #F2A497;
  --yellow: #F6D27A;
  --aqua: #A8D3E6;
  --green: #B9DAA5;

  --coral-soft: color-mix(in srgb, var(--coral) 24%, var(--paper));
  --yellow-soft: color-mix(in srgb, var(--yellow) 26%, var(--paper));
  --aqua-soft: color-mix(in srgb, var(--aqua) 24%, var(--paper));
  --green-soft: color-mix(in srgb, var(--green) 26%, var(--paper));
  --ink-soft: color-mix(in srgb, var(--ink) 10%, var(--paper));

  --line: 3px solid var(--ink);
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-sm: 2px 2px 0 var(--ink);
  --nav-h: 62px;
  --ease-bounce: cubic-bezier(.22, 1.5, .46, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-top: var(--nav-h);
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Ccircle cx='2' cy='2' r='1.1' fill='%233E3A39' fill-opacity='0.06'/%3E%3C/svg%3E");
  font-family: "Huninn", "jf-openhuninn", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: min(1080px, 100% - 32px);
  margin-inline: auto;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--yellow);
  border: var(--line);
  border-radius: 999px;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 8px; }
.noscript {
  margin: 16px;
  padding: 10px 14px;
  text-align: center;
  font-size: 12px;
  background: var(--yellow-soft);
  border: 2px dashed var(--ink);
  border-radius: 12px;
}

/* ---------- 固定選單 ---------- */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  background: var(--paper);
  border-bottom: var(--line);
}
.site-nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  text-decoration: none;
}
.brand__mark {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  background: var(--coral);
  border: var(--line);
  border-radius: 11px;
  box-shadow: var(--shadow-sm);
  transform: rotate(-4deg);
}
.brand__mark .icon { width: 18px; height: 18px; }
.brand__name {
  font-size: 12px;
  line-height: 1.15;
  letter-spacing: .03em;
  white-space: nowrap;
}
.brand__name small {
  display: block;
  font-size: 8px;
  letter-spacing: .17em;
  opacity: .8;
  margin-top: 2px;
}
.navlinks {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 3px 1px;
  margin-right: -3px;
}
.navlinks::-webkit-scrollbar { display: none; }
.navlinks a {
  display: block;
  padding: 7px 9px;
  font-size: 12.5px;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  border-radius: 999px;
  transition: background-color .18s, border-color .18s, transform .18s;
}
.navlinks a:hover { background: var(--ink-soft); }
.navlinks a[aria-current="true"] {
  background: var(--yellow);
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

/* ---------- 共用卡片 ---------- */
.card {
  background: #FFFFFF;
  border: var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

.tape {
  position: absolute;
  width: 84px;
  height: 22px;
  background: var(--yellow);
  border: 2px dashed var(--ink);
  border-radius: 3px;
  transform: rotate(-3.5deg);
  z-index: 2;
  pointer-events: none;
}
.tape--hero { top: -11px; left: 22px; }
.tape--countdown {
  top: -10px;
  right: 24px;
  width: 66px;
  height: 18px;
  background: var(--aqua);
  transform: rotate(2.5deg);
}

/* ---------- 首頁 ---------- */
.hero { padding-top: 20px; }
.hero__grid { display: grid; gap: 16px; }
.hero__art {
  position: relative;
  padding: 12px 12px 8px;
  background: var(--paper);
  display: grid;
  place-items: center;
}
.scene { display: block; width: 100%; height: auto; }

.hero__panel { display: grid; gap: 18px; align-content: start; }

.hero__copy {
  position: relative;
  padding: 22px 20px 20px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: .2em;
  opacity: .78;
  margin-bottom: 10px;
}
.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  border: 2px solid var(--ink);
}
.hero h1 {
  font-size: clamp(2.15rem, 9.6vw, 3.35rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: .02em;
  margin-bottom: 12px;
}
.marker {
  display: inline-block;
  padding: 0 .12em;
  margin-inline: -.02em;
  background: var(--coral);
  border-radius: 9px;
  line-height: 1.35;
}
.marker--aqua { background: var(--aqua); }
.marker--green { background: var(--green); }
.marker--yellow { background: var(--yellow); }
.hero__lead {
  font-size: 13px;
  line-height: 1.95;
  opacity: .76;
  margin-bottom: 16px;
}
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  font-size: 11px;
  line-height: 1.7;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
}
.chip .icon { width: 12px; height: 12px; }
.chip--yellow { background: var(--yellow-soft); }
.chip--aqua { background: var(--aqua-soft); }
.chip--green { background: var(--green-soft); }

/* 倒數 */
.countdown {
  position: relative;
  padding: 16px 15px 12px;
  background: var(--paper);
}
.countdown__label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  letter-spacing: .12em;
  margin-bottom: 9px;
}
.countdown__label .icon { width: 14px; height: 14px; }
.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}
.cd-tile {
  border: var(--line);
  border-radius: 14px;
  padding: 8px 2px 5px;
  text-align: center;
}
.cd-tile--yellow { background: var(--yellow); }
.cd-tile--aqua { background: var(--aqua); }
.cd-tile--coral { background: var(--coral); }
.cd-tile--green { background: var(--green); }
.cd-num {
  display: block;
  font-size: clamp(1.45rem, 7.4vw, 2rem);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}
.cd-unit {
  display: block;
  font-size: 9.5px;
  letter-spacing: .12em;
  opacity: .8;
  margin-top: 2px;
}
.countdown__note {
  margin-top: 9px;
  font-size: 10.5px;
  text-align: center;
  opacity: .78;
  line-height: 1.6;
}
.countdown__state {
  border: 2px dashed var(--ink);
  border-radius: 14px;
  padding: 16px 10px;
  text-align: center;
  background: var(--green-soft);
}
.countdown__state strong {
  display: block;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: .08em;
}
.countdown__state span {
  display: block;
  font-size: 11.5px;
  opacity: .8;
  margin-top: 2px;
}

/* ---------- 區段標題 ---------- */
.section {
  padding: 44px 0 6px;
  scroll-margin-top: calc(var(--nav-h) + 8px);
}
.sec-head {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.sec-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transform: rotate(-4deg);
}
.sec-mark .icon { width: 22px; height: 22px; }
.sec-mark--coral { background: var(--coral); }
.sec-mark--aqua { background: var(--aqua); }
.sec-mark--green { background: var(--green); }
.sec-mark--yellow { background: var(--yellow); }
.sec-kicker {
  font-size: 9.5px;
  letter-spacing: .26em;
  opacity: .75;
  line-height: 1.4;
  margin-bottom: 1px;
}
.sec-head h2 {
  font-size: clamp(1.35rem, 6vw, 1.75rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: .02em;
}
.sec-note {
  margin-left: auto;
  font-size: 10.5px;
  opacity: .75;
  letter-spacing: .02em;
}
.sec-doodle {
  margin-left: auto;
  width: 78px;
  display: block;
}
.doodle-line { display: block; width: 100%; height: auto; }

/* ---------- 航班 ---------- */
.flights { display: grid; gap: 16px; }
.flight {
  background: #fff;
  border: var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.flight__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 15px;
  border-bottom: var(--line);
  font-size: 11.5px;
  letter-spacing: .04em;
}
.flight--coral .flight__bar { background: var(--coral-soft); }
.flight--aqua .flight__bar { background: var(--aqua-soft); }
.flight__dir {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  letter-spacing: .1em;
}
.flight__dir::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
}
.flight--aqua .flight__dir::before { background: var(--aqua); }
.flight__no {
  font-size: 11.5px;
  padding: 0 8px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  letter-spacing: .06em;
}
.flight__route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 66px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  padding: 15px 14px 10px;
}
.port strong {
  display: block;
  font-size: clamp(1.35rem, 6.4vw, 1.6rem);
  font-weight: 400;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.port .port-code {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .12em;
  padding: 0 5px;
  margin-top: 3px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
}
.port small {
  display: block;
  font-size: 10px;
  opacity: .78;
  line-height: 1.5;
  margin-top: 1px;
}
.port--right { text-align: right; }
.flight__mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  color: var(--ink);
}
.flight__mid .icon {
  width: 26px;
  height: 26px;
  transform: rotate(8deg);
}
.flight__mid .dash {
  width: 100%;
  border-top: 2px dashed var(--ink);
  opacity: .4;
  margin: 2px 0 3px;
}
.flight__dur { font-size: 9.5px; opacity: .8; white-space: nowrap; }
.flight__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 2px 14px 15px;
}
.flight__meta span {
  font-size: 10.5px;
  padding: 1px 8px;
  border: 2px dashed color-mix(in srgb, var(--ink) 34%, var(--paper));
  border-radius: 999px;
  line-height: 1.7;
}

/* ---------- 每日行程 ---------- */
.daytabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 3px 12px;
  margin-inline: -3px;
}
.daytabs::-webkit-scrollbar { display: none; }
.daytab {
  flex: 1 1 0;
  min-width: 0;
  scroll-snap-align: start;
  padding: 6px 5px 7px;
  border: var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 3px 3px 0 var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform .16s var(--ease-bounce), background-color .16s, box-shadow .16s;
}
.daytab:hover { transform: translateY(-2px); }
.daytab__label {
  display: block;
  font-size: 8px;
  letter-spacing: .1em;
  opacity: .75;
  line-height: 1.5;
}
.daytab__date {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: .01em;
}
.daytab__week {
  display: block;
  font-size: 9.5px;
  opacity: .75;
  line-height: 1.4;
}
.daytab[aria-selected="true"] {
  background: var(--coral);
  transform: translateY(-2px);
  box-shadow: 4px 5px 0 var(--ink);
}
.daytab[aria-selected="true"] .daytab__label,
.daytab[aria-selected="true"] .daytab__week { opacity: 1; }
.daytab.is-pop { animation: tab-pop .5s var(--ease-bounce); }

@keyframes tab-pop {
  0% { transform: translateY(-2px) scale(1); }
  35% { transform: translateY(-7px) scale(1.07) rotate(-1.5deg); }
  70% { transform: translateY(0) scale(.985); }
  100% { transform: translateY(-2px) scale(1); }
}

.day-panel { min-height: 420px; }

.dayhead {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  margin: 6px 0 0;
}
.dayhead__stamp {
  background: var(--green);
  border: var(--line);
  border-radius: 11px;
  padding: 5px 10px;
  font-size: 10.5px;
  letter-spacing: .14em;
  line-height: 1.5;
  transform: rotate(-4deg);
  box-shadow: var(--shadow-sm);
}
.dayhead h3 {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: .01em;
}
.dayhead__meta {
  font-size: 11px;
  opacity: .78;
  line-height: 1.6;
}
.dayhead__area {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  padding: 2px 8px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--aqua-soft);
}
.dayhead__area .icon { width: 11px; height: 11px; }
.day-note {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin: 14px 0 4px;
  padding: 8px 11px;
  font-size: 11.5px;
  line-height: 1.7;
  background: var(--yellow-soft);
  border: 2px dashed var(--ink);
  border-radius: 12px;
}
.day-note .icon { width: 13px; height: 13px; margin-top: 3px; opacity: .7; }

.day-panel.is-in .dayhead { animation: rise-in .45s var(--ease-bounce) both; }
.day-panel.is-in .day-note { animation: rise-in .45s var(--ease-bounce) .06s both; }
.day-panel.is-in .tl-item {
  animation: rise-in .52s var(--ease-bounce) both;
  animation-delay: calc(var(--i) * 45ms + 60ms);
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.timeline {
  margin-top: 14px;
  padding: 0;
}
.tl-item {
  display: grid;
  grid-template-columns: 44px 16px minmax(0, 1fr);
  gap: 0 8px;
  padding-bottom: 14px;
}
.tl-time {
  font-size: 11.5px;
  line-height: 1.5;
  padding-top: 14px;
  text-align: right;
  opacity: .8;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}
.tl-rail {
  position: relative;
  display: flex;
  justify-content: center;
}
.tl-rail::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: -14px;
  left: 50%;
  width: 0;
  border-left: 2.5px dashed color-mix(in srgb, var(--ink) 32%, transparent);
  transform: translateX(-1px);
}
.tl-item:last-child .tl-rail::before { display: none; }
.tl-dot {
  position: relative;
  z-index: 1;
  width: 13px;
  height: 13px;
  margin-top: 17px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
}
.tl-item--must .tl-dot { background: var(--coral); }

.tl-card {
  position: relative;
  padding: 11px 13px 12px;
  background: #fff;
  border: var(--line);
  border-radius: var(--r-md);
  transition: transform .18s var(--ease-bounce), box-shadow .18s;
}
.tl-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-sm);
}
.tl-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.tl-head h4 {
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: .01em;
}
.tl-item--must .tl-head h4 { padding-right: 46px; }
.must {
  position: absolute;
  top: 9px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 1px 7px 1px 5px;
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: .06em;
  background: var(--coral);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 1.5px 1.5px 0 var(--ink);
  transform: rotate(3deg);
}
.must .icon { width: 10px; height: 10px; fill: var(--ink); stroke: var(--ink); }
.tl-desc {
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.8;
  opacity: .8;
}
.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 8px;
  font-size: 10.5px;
  line-height: 1.7;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
}
.tag .icon { width: 11px; height: 11px; }
.tag--plane { background: var(--coral); }
.tag--train { background: var(--aqua); }
.tag--walk { background: var(--green); }
.tag--bus, .tag--car { background: var(--yellow); }
.tag--ghost {
  background: var(--paper);
  border-style: dashed;
  opacity: .8;
  letter-spacing: .02em;
}
.tl-tip {
  display: flex;
  gap: 5px;
  align-items: flex-start;
  margin-top: 8px;
  padding: 6px 9px;
  font-size: 11px;
  line-height: 1.7;
  background: var(--yellow-soft);
  border: 2px dashed var(--ink);
  border-radius: 10px;
}
.tl-tip .icon { width: 12px; height: 12px; margin-top: 3px; opacity: .75; }

/* ---------- 住宿 ---------- */
.hotel {
  overflow: hidden;
  display: grid;
}
.hotel__art {
  position: relative;
  padding: 14px;
  background: var(--paper);
  border-bottom: var(--line);
}
.hotel__art svg { display: block; width: 100%; height: auto; }
.hotel__stamp {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 3px 10px;
  font-size: 10.5px;
  letter-spacing: .12em;
  background: var(--coral);
  border: var(--line);
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
  transform: rotate(6deg);
}
.hotel__body { padding: 20px 18px 18px; }
.hotel__body h3 {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .02em;
  margin-top: 1px;
}
.hotel__sub {
  font-size: 9.5px;
  letter-spacing: .18em;
  opacity: .78;
  margin-top: 1px;
}
.hotel__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 13px 0 11px;
}
.hotel__facts li {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 9px 7px;
  border: 2px solid var(--ink);
  border-radius: 11px;
  background: var(--paper);
}
.hotel__facts .hotel__fact--wide { grid-column: 1 / -1; }
.fact-label {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  letter-spacing: .05em;
  opacity: .78;
  line-height: 1.5;
}
.fact-label .icon { width: 10px; height: 10px; }
.hotel__facts strong {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.hotel__address {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-size: 11.5px;
  line-height: 1.7;
  margin-bottom: 9px;
}
.hotel__address .icon { width: 13px; height: 13px; margin-top: 3px; }
.hotel__notes { display: grid; gap: 3px; }
.hotel__notes li {
  position: relative;
  padding-left: 15px;
  font-size: 11.5px;
  line-height: 1.75;
  opacity: .8;
}
.hotel__notes li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .68em;
  width: 6px;
  height: 6px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--green);
}

/* ---------- 清單 ---------- */
.lists { display: grid; gap: 16px; }
.list-card {
  padding: 16px 15px 13px;
  display: flex;
  flex-direction: column;
}
.list-card__head {
  display: flex;
  align-items: center;
  gap: 9px;
}
.list-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: var(--line);
  border-radius: 12px;
  transform: rotate(-3deg);
}
.list-icon .icon { width: 19px; height: 19px; }
.list-icon--coral { background: var(--coral); }
.list-icon--aqua { background: var(--aqua); }
.list-icon--green { background: var(--green); }
.list-card__title h3 {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: .02em;
}
.list-card__title p {
  font-size: 10px;
  opacity: .78;
  line-height: 1.5;
}
.list-count {
  margin-left: auto;
  font-size: 10.5px;
  padding: 1px 8px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.progress {
  height: 12px;
  margin: 12px 0 7px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}
.progress__bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 0;
  transition: width .35s var(--ease-bounce);
}
.checks { display: grid; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 8px 1px;
  border-bottom: 2px dashed color-mix(in srgb, var(--ink) 14%, var(--paper));
  cursor: pointer;
  font-size: 12.5px;
  line-height: 1.65;
}
.check:last-child { border-bottom: none; }
.check input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  margin: 1px 0 0;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  position: relative;
  cursor: pointer;
  transition: background-color .15s, transform .15s var(--ease-bounce);
}
.check input:active { transform: scale(.92); }
.check input:checked {
  background: var(--green);
  animation: check-pop .32s var(--ease-bounce);
}
.check input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  transform: rotate(42deg);
}
@keyframes check-pop {
  0% { transform: scale(.8); }
  55% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.check__text { transition: opacity .2s, color .2s; }
.check input:checked ~ .check__text {
  opacity: .75;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.list-card__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 9px;
}
.list-done {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 10.5px;
  padding: 1px 8px;
  background: var(--green-soft);
  border: 2px solid var(--ink);
  border-radius: 999px;
  animation: rise-in .35s var(--ease-bounce) both;
}
.list-done .icon { width: 11px; height: 11px; }
.reset {
  margin-left: auto;
  padding: 4px 11px;
  font-size: 10.5px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 1.5px 1.5px 0 var(--ink);
  cursor: pointer;
  transition: transform .12s, box-shadow .12s;
}
.reset:hover { background: var(--yellow-soft); }
.reset:active { transform: translate(1.5px, 1.5px); box-shadow: none; }

.pack-groups {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}
.pack-group {
  padding: 9px 11px 6px;
  border: 2px dashed color-mix(in srgb, var(--ink) 35%, var(--paper));
  border-radius: 14px;
  background: color-mix(in srgb, var(--paper) 70%, #fff);
}
.pack-group__head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 3px;
}
.pack-group__dot {
  width: 9px;
  height: 9px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--green);
}
.pack-group__dot--coral { background: var(--coral); }
.pack-group__dot--yellow { background: var(--yellow); }
.pack-group__dot--aqua { background: var(--aqua); }
.pack-group__dot--green { background: var(--green); }
.pack-group__dot--ink { background: var(--paper); }
.pack-group__head h4 {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .06em;
}
.pack-group__count {
  margin-left: auto;
  font-size: 9.5px;
  opacity: .78;
  font-variant-numeric: tabular-nums;
}
.pack-group .check {
  font-size: 12px;
  padding: 6px 1px;
  gap: 8px;
}
.pack-group .check input {
  width: 21px;
  height: 21px;
  border-radius: 7px;
}
.pack-group .check input:checked::after {
  left: 4px;
  top: 0;
  width: 5px;
  height: 10px;
}
.footnote {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-top: 11px;
  padding: 7px 9px;
  font-size: 10.5px;
  line-height: 1.7;
  background: var(--yellow-soft);
  border-radius: 10px;
}
.footnote .icon { width: 12px; height: 12px; margin-top: 3px; }

/* ---------- 頁尾 ---------- */
.site-foot {
  margin-top: 34px;
  padding: 26px 0 34px;
  border-top: var(--line);
  text-align: center;
}
.site-foot__inner { display: grid; justify-items: center; gap: 4px; }
.foot-art { width: 112px; height: auto; margin-bottom: 2px; }
.site-foot p { font-size: 11.5px; line-height: 1.9; opacity: .82; }
.site-foot__small { font-size: 10px; opacity: .75 !important; }
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 8px;
  padding: 3px 12px;
  font-size: 11px;
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--aqua-soft);
  box-shadow: var(--shadow-sm);
  transition: transform .14s, box-shadow .14s;
}
.to-top:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.to-top .icon { width: 12px; height: 12px; transform: rotate(-90deg); }
.foot-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.foot-actions .to-top { margin-top: 0; }
.foot-actions .to-top:first-child .icon { transform: none; }

/* ---------- 插圖小動畫 ---------- */
.art-sun {
  transform-box: fill-box;
  transform-origin: center;
  animation: sun-breathe 6s ease-in-out infinite;
}
.art-cloud--1 {
  transform-box: fill-box;
  animation: cloud-drift 16s ease-in-out infinite alternate;
}
.art-cloud--2 {
  transform-box: fill-box;
  animation: cloud-drift 21s ease-in-out infinite alternate-reverse;
}
.art-birds {
  transform-box: fill-box;
  transform-origin: center;
  animation: birds-bob 5.5s ease-in-out infinite;
}
.art-tower {
  transform-box: fill-box;
  transform-origin: bottom center;
  animation: tower-sway 9s ease-in-out infinite;
}
.art-skytree {
  transform-box: fill-box;
  transform-origin: bottom center;
  animation: tower-sway 11s ease-in-out infinite reverse;
}
.art-train {
  transform-box: fill-box;
  animation: train-bob 4.5s ease-in-out infinite;
}
.art-traveller {
  transform-box: fill-box;
  transform-origin: bottom center;
  animation: traveller-bob 3.6s ease-in-out infinite;
}
.art-flag {
  transform-box: fill-box;
  transform-origin: left center;
  animation: flag-wave 3.2s ease-in-out infinite;
}
.hotel__art svg g {
  transform-box: fill-box;
  transform-origin: center;
}
.hotel__art svg g[transform] { animation: none; }

@keyframes sun-breathe {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.035) rotate(4deg); }
}
@keyframes cloud-drift {
  from { transform: translateX(-8px); }
  to { transform: translateX(14px); }
}
@keyframes birds-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes tower-sway {
  0%, 100% { transform: rotate(-.6deg); }
  50% { transform: rotate(.6deg); }
}
@keyframes train-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.6px); }
}
@keyframes traveller-bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-2px) rotate(-.8deg); }
}
@keyframes flag-wave {
  0%, 100% { transform: skewY(0deg) scaleX(1); }
  50% { transform: skewY(-3deg) scaleX(.94); }
}

/* ---------- 平板 / 桌面 ---------- */
@media (min-width: 620px) {
  :root { --nav-h: 68px; }
  body { font-size: 15.5px; }
  .wrap { width: min(1080px, 100% - 48px); }
  .brand__mark { width: 34px; height: 34px; }
  .brand__name { font-size: 13.5px; }
  .navlinks a { font-size: 12.5px; padding: 5px 11px; }
  .hero { padding-top: 26px; }
  .hero__copy { padding: 26px 26px 24px; }
  .hero__lead { font-size: 13.5px; }
  .countdown { padding: 18px 20px 14px; }
  .section { padding-top: 54px; }
  .flights { grid-template-columns: 1fr 1fr; }
  .daytab { flex: 0 0 auto; min-width: 86px; padding: 8px 12px 9px; border-radius: 16px; }
  .daytab__label { font-size: 8.5px; letter-spacing: .16em; }
  .daytab__date { font-size: 17px; }
  .tl-item { grid-template-columns: 54px 18px minmax(0, 1fr); gap: 0 10px; }
  .tl-card { padding: 13px 16px 14px; }
  .tl-desc { font-size: 12.5px; }
  .hotel__facts strong { font-size: 12.5px; }
  .lists { grid-template-columns: 1fr 1fr; }
  .list-card--wide { grid-column: 1 / -1; }
  .pack-groups { grid-template-columns: 1fr 1fr; }
  .check { font-size: 13px; }
}

@media (min-width: 900px) {
  .hero { padding-top: 32px; }
  .hero__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    gap: 22px;
  }
  .hero__art { padding: 18px 18px 12px; }
  .hero__copy { padding: 30px 30px 26px; }
  .countdown { padding: 20px 24px 16px; }
  .cd-num { font-size: 2.15rem; }
  .section { padding-top: 64px; }
  .daytabs,
  .dayhead,
  .day-note,
  .timeline { max-width: 900px; margin-inline: 0 auto; }
  .hotel { grid-template-columns: .92fr 1.08fr; }  .hotel__art {
    border-bottom: none;
    border-right: var(--line);
    display: grid;
    place-items: center;
    padding: 20px;
  }
  .hotel__body { padding: 26px 26px 24px; }
  .tl-item { grid-template-columns: 62px 20px minmax(0, 1fr); gap: 0 12px; }
  .tl-time { font-size: 12px; padding-top: 15px; }
  .tl-head h4 { font-size: 15.5px; }
  .tl-desc { font-size: 13px; }
  .tag { font-size: 10.5px; }
  .list-card { padding: 19px 18px 15px; }
  .list-card--wide .pack-groups { grid-template-columns: repeat(3, 1fr); }
  .sec-head h2 { font-size: 1.8rem; }
}

@media (min-width: 1100px) {
  .hero h1 { font-size: 3.5rem; }
}

/* 很小螢幕：讓選單更緊 */
@media (max-width: 359px) {
  .brand__name { display: none; }
  .navlinks { gap: 2px; }
  .navlinks a { padding: 5px 7px; }
}

/* ---------- 減少動態效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .art-sun, .art-cloud--1, .art-cloud--2, .art-birds,
  .art-tower, .art-skytree, .art-train, .art-traveller, .art-flag {
    animation: none !important;
  }
  .day-panel.is-in .tl-item,
  .day-panel.is-in .dayhead,
  .day-panel.is-in .day-note {
    animation: none !important;
  }
  .daytab:hover, .tl-card:hover, .daytab[aria-selected="true"] { transform: none; }
  .daytab[aria-selected="true"] { box-shadow: 3px 3px 0 var(--ink); }
}
