/* 넷이서, 사막으로 — colourful, logo-led, solid colour blocks (no gradients, no paper, no decorative dots) */
@font-face { font-family: "Trip Sans"; src: url("assets/fonts/TripSans.woff2") format("woff2"); font-weight: 45 920; font-display: swap; }
@font-face { font-family: "Trip Display"; src: url("assets/fonts/TripDisplay.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Trip Latin"; src: url("assets/fonts/TripLatin.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }

:root {
  --bg: #F3F1FA; --card: #FFFFFF; --ink: #16122B; --muted: #4F4867; --line: #E2DDF0;
  --night: #24135F; --violet: #5A2DD8; --pink: #C80F69; --red: #B9361A; --green: #12704E; --sun: #FFC531; --neon: #FF4FA3;
  --ui: "Trip Sans", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --disp: "Trip Display", var(--ui);
  --lat: "Trip Latin", var(--ui);
  --r: 20px; --tabh: 68px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 17px/1.55 var(--ui); letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: anywhere; }
img { display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--neon); outline-offset: 3px; border-radius: 12px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; z-index: 50; }
.skip:focus { left: 12px; }
.noscript { padding: 24px; }
[lang="en"] { font-family: var(--lat); letter-spacing: -0.005em; }

/* ---------- top bar & tabs ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--night); color: #fff; padding-top: env(safe-area-inset-top); }
.topbar-inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 8px 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand-mark { width: 40px; height: 40px; border-radius: 11px; }
.brand-word { font-family: var(--disp); font-size: 20px; line-height: 1; letter-spacing: -0.02em; color: #fff; }
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; border-radius: 16px; text-decoration: none; color: var(--muted); font-size: 13px; font-weight: 700; }
.tab.on { background: var(--night); color: #fff; }
.tab-ic { display: block; height: 22px; }
main { max-width: 1120px; margin: 0 auto; padding: 16px 16px calc(var(--tabh) + 32px + env(safe-area-inset-bottom)); outline: none; }
@media (min-width: 900px) {
  .topbar-inner { padding: 10px 28px; }
  .tabs { position: static; margin-left: auto; display: flex; gap: 6px; background: transparent; border: 0; padding: 0; }
  .tab { flex-direction: row; gap: 8px; min-height: 48px; padding: 0 18px; color: #E4DCFF; font-size: 16px; }
  .tab.on { background: var(--sun); color: var(--night); }
  main { padding: 28px 28px 64px; }
}

/* ---------- shared bits ---------- */
.badge { flex: none; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; overflow: hidden; }
.badge svg { width: 100%; height: 100%; }
.badge.is-logo { background: #fff; border: 1.5px solid var(--line); padding: 5px; }
.badge.is-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 9px; }
.badge.sm { width: 44px; height: 44px; border-radius: 13px; }
.badge.lg { width: 64px; height: 64px; border-radius: 18px; }
.badge.lg.is-logo { padding: 7px; }
.btn, .btn-map, .fbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 16px; border-radius: 999px; font: 700 15px/1 var(--ui); text-decoration: none; border: 0; cursor: pointer; }
.btn { background: var(--night); color: #fff; }
.btn.ghost { background: #fff; color: var(--night); border: 2px solid var(--night); }
.btn.plan { background: #FFF0C2; color: #5A3A00; }
.btn-map { background: #EDE7FF; color: #3C1DA3; flex: none; }
.tag { display: inline-flex; align-items: center; font: 800 12.5px/1 var(--ui); padding: 6px 9px; border-radius: 8px; background: #EDE7FF; color: #3C1DA3; font-style: normal; letter-spacing: 0; }
.tag.paid { background: #D5F2E4; color: #0B5A3D; }
.tag.unpaid { background: #FFE0EE; color: #9C0B52; }
.region { white-space: nowrap; }
.region b { font-weight: 800; }
.arrow { margin: 0 6px; font-weight: 800; }
.sec { margin-top: 28px; }
.sec-title { font-family: var(--disp); font-weight: 400; font-size: 24px; letter-spacing: -0.02em; margin-bottom: 12px; }
.pdesc { color: var(--muted); font-size: 15px; line-height: 1.45; }
.pname { font-weight: 700; font-size: 16px; color: var(--ink); }
.psub { font-size: 15px; color: var(--muted); }
.pnote { font-size: 14.5px; color: #8A1E00; background: #FFF0E8; padding: 6px 10px; border-radius: 10px; margin-top: 6px; }
.price { font: 700 15px/1.4 var(--lat); color: var(--ink); margin-top: 4px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--night); color: #fff; border-radius: 28px; padding: 26px 22px 22px; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: var(--red); box-shadow: 0 -10px 0 #D9472B; }
.hero-art { margin-bottom: 14px; }
.hero-art img { width: 60px; height: 60px; border-radius: 16px; }
.hero-kicker { font: 700 14px/1.3 var(--ui); color: var(--sun); }
.wordmark { font-family: var(--disp); font-weight: 400; font-size: clamp(38px, 11vw, 46px); line-height: 1.04; letter-spacing: -0.03em; margin: 12px 0 8px; color: #fff; }
.hero-sub { font: 700 19px/1.2 var(--lat); font-stretch: 85%; color: #E4DCFF; }
.who-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.who { font: 800 15px/1 var(--ui); padding: 10px 14px; border-radius: 999px; }
.w0 { background: var(--neon); color: #2B0016; }
.w1 { background: var(--sun); color: #2E1F00; }
.w2 { background: #5CE0A8; color: #00321F; }
.w3 { background: #fff; color: var(--night); }
@media (min-width: 900px) {
  .hero { padding: 40px 40px 44px; }
  .wordmark { font-size: 76px; }
  .hero-art img { width: 120px; height: 120px; border-radius: 30px; }
  .hero-art { position: absolute; right: 40px; top: 40px; margin: 0; }
  .hero-kicker, .wordmark { padding-right: 150px; }
  .hero-sub { font-size: 24px; }
}

/* ---------- next up ---------- */
.next { margin-top: 16px; background: var(--card); border-radius: var(--r); padding: 16px; border: 2px solid var(--night); }
.next-label { font: 800 14px/1.2 var(--ui); color: var(--muted); display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.dday { font-family: var(--disp); font-weight: 400; font-size: 22px; color: var(--pink); }
.sim { font-size: 12px; background: #FFF0C2; color: #5A3A00; padding: 4px 8px; border-radius: 6px; }
.next-body { display: flex; align-items: center; gap: 14px; text-decoration: none; min-height: 64px; }
.next-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.next-when { font: 700 14px/1.3 var(--ui); color: var(--violet); }
.next-big { font: 800 21px/1.25 var(--ui); }
.next-place { font-size: 15px; color: var(--muted); }
.next .btn { margin-top: 12px; }

/* ---------- day cards (home) ---------- */
.daycards { display: grid; gap: 12px; }
@media (min-width: 900px) { .daycards { grid-template-columns: repeat(5, 1fr); } }
.daycard { display: flex; align-items: stretch; gap: 14px; text-decoration: none; border-radius: var(--r); padding: 16px; color: #fff; min-height: 112px; }
@media (min-width: 900px) { .daycard { flex-direction: column; min-height: 300px; } .daycard-side { margin-top: auto; flex-direction: row !important; justify-content: space-between; } }
.daynum { font-family: var(--disp); font-size: 46px; line-height: .95; flex: none; min-width: 74px; white-space: nowrap; letter-spacing: -0.03em; }
.daycard-main { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.daydate { font-size: 14px; font-weight: 700; opacity: .92; }
.dayhead { font-size: 18px; font-weight: 800; line-height: 1.3; }
.dayregion { font-size: 13.5px; line-height: 1.4; }
.dayregion .region { white-space: normal; }
.daycard-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 8px; }
.count { font-size: 13px; font-weight: 800; background: rgba(255,255,255,.18); padding: 6px 9px; border-radius: 8px; white-space: nowrap; }
.t-violet { background: var(--violet); } .t-pink { background: var(--pink); } .t-red { background: var(--red); } .t-green { background: var(--green); } .t-ink { background: var(--night); }

/* ---------- notes ---------- */
.notes { display: grid; gap: 10px; }
@media (min-width: 900px) { .notes { grid-template-columns: repeat(2, 1fr); } }
.note { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border-radius: 16px; padding: 14px; }
.note b { display: block; font-weight: 800; font-size: 16px; }
.note small { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 2px; }

/* ---------- day view ---------- */
.picker { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 14px; }
.pick { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 60px; border-radius: 16px; color: var(--ink); text-decoration: none; border: 2px solid var(--line); }
.pick b { font-family: var(--disp); font-weight: 400; font-size: 22px; line-height: 1; }
.pick small { font-size: 13px; font-weight: 700; color: var(--muted); }
.pick.on { color: #fff; border-color: transparent; }
.pick.on small { color: #fff; }
.pick:not(.on) { background: #fff; }
.dayban { border-radius: 24px; padding: 20px; color: #fff; }
.dayban-date { font-weight: 700; font-size: 15px; opacity: .95; }
.dayban-title { font-family: var(--disp); font-weight: 400; font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; margin: 6px 0 10px; }
.dayban-region { font-size: 15px; }
.dayban-stay { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14.5px; font-weight: 700; background: rgba(0,0,0,.22); padding: 8px 12px; border-radius: 12px; }
@media (min-width: 900px) { .dayban { padding: 28px 32px; } .dayban-title { font-size: 44px; } }
.timeline { margin-top: 16px; display: grid; gap: 10px; }
.item { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: start; }
.time { display: flex; flex-direction: column; padding-top: 14px; font-family: var(--lat); font-variant-numeric: tabular-nums; }
.time b { font-size: 19px; font-weight: 800; line-height: 1.1; }
.time small { font-size: 14px; font-weight: 600; color: var(--muted); }
.time.none { font: 700 12.5px/1.3 var(--ui); color: var(--muted); }
.item-card { display: grid; grid-template-columns: 52px minmax(0,1fr) auto; gap: 12px; align-items: start; background: var(--card); border-radius: 18px; padding: 12px; border: 2px solid transparent; min-width: 0; }
.item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.item-body h3 { font-size: 18px; font-weight: 800; line-height: 1.3; }
.item.is-next .item-card { border-color: var(--neon); }
.item.is-focus .item-card { border-color: var(--violet); }
.next-tag { align-self: flex-start; background: var(--neon); color: #2B0016; margin-bottom: 4px; }
@media (max-width: 520px) { .item-card { grid-template-columns: 52px minmax(0,1fr); } .item-card .btn-map { grid-column: 2; justify-self: start; } }
@media (min-width: 900px) { .timeline, .daynav { max-width: 820px; } .item { grid-template-columns: 90px 1fr; } .time b { font-size: 22px; } }
.daynav { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; }

/* ---------- stays ---------- */
.pagehead { margin: 4px 0 16px; }
.eyebrow { font-weight: 800; font-size: 14px; color: var(--violet); }
.pagehead h1 { font-family: var(--disp); font-weight: 400; font-size: 34px; letter-spacing: -0.02em; line-height: 1.1; margin-top: 4px; }
.staybar { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px 0; background: #fff; border-radius: 18px; padding: 14px 10px; margin-bottom: 14px; }
.sb-day { grid-row: 1; grid-column: span 2; text-align: center; font: 800 18px/1 var(--lat); }
.sb-day small { display: block; font: 700 12px/1.6 var(--ui); color: var(--muted); }
.sb-stay { grid-row: 2; font: 700 11.5px/1.2 var(--lat); overflow-wrap: normal; word-break: normal; display: grid; place-items: center; min-height: 40px; color: #fff; padding: 6px 3px; border-radius: 10px; margin: 0 2px; text-align: center; }
.sb-stay.s0 { grid-column: 2 / 6; background: var(--violet); }
.sb-stay.s1 { grid-column: 6 / 8; background: var(--red); }
.sb-stay.s2 { grid-column: 8 / 10; background: var(--pink); }
.stays { display: grid; gap: 14px; }
@media (min-width: 900px) { .stays { grid-template-columns: repeat(3, 1fr); } }
.stay { background: var(--card); border-radius: 22px; padding: 16px; border-top: 8px solid var(--violet); display: flex; flex-direction: column; gap: 14px; }
.stay.s1 { border-top-color: var(--red); } .stay.s2 { border-top-color: var(--pink); }
.stay-top { display: flex; gap: 14px; align-items: center; }
.stay h2 { font-size: 19px; font-weight: 800; line-height: 1.25; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; }
.facts div { background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.facts dt { font-size: 13px; font-weight: 700; color: var(--muted); }
.facts dd { margin: 0; font-weight: 800; font-size: 16px; }
.facts dd small { display: block; font-weight: 600; font-size: 12.5px; color: var(--muted); }
.stay-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: auto; }
.booked { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; margin-right: auto; }
.booked img { width: 28px; height: 28px; border-radius: 7px; }

/* ---------- eats ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.fbtn { background: #fff; color: var(--ink); border: 2px solid var(--line); }
.fbtn.on { background: var(--night); color: #fff; border-color: var(--night); }
.eats { display: grid; gap: 12px; }
@media (min-width: 900px) { .eats { grid-template-columns: repeat(2, 1fr); } }
.eat { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border-radius: 20px; padding: 16px; }
.eat-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.eat h2 { font-size: 19px; font-weight: 800; line-height: 1.25; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.eat-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
