/* KTB — Trip prep, rebuilt as a customer journey (2026-11-30).
   Three moments a traveller actually stands in: booking, landing, in Seoul.
   Replaces the four seller steps (flights → tickets → tables → tools).
   Identifier = the moment, not the vendor: a button's big line is what the
   traveller gets, the small line is price / perk / platform.
   Static, no external fonts. 390px first, desktop from 700px. */

.ktb-tp{
  margin:0 0 18px;
  padding:16px 14px 8px;
  border:1px solid #e7d6bd;
  border-radius:20px;
  background:linear-gradient(180deg,#fffdf9 0%,#fdf5ea 100%);
  box-shadow:0 3px 16px rgba(80,60,35,.07);
  overflow-wrap:anywhere;
}
.ktb-tp-eyebrow{margin:0 0 6px;font-size:10.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#a9512c}
.ktb-tp-t{margin:0 0 7px;font-size:19.5px;line-height:1.3;letter-spacing:-.01em;font-weight:800;color:#2b2620}
.ktb-tp-s{margin:0;font-size:13px;line-height:1.6;color:#5c5348}
.ktb-tp-aff{margin:7px 0 0;font-size:11px;line-height:1.5;color:#8a7a5d}

/* ---- the three moments ---- */
.ktb-jn{list-style:none;margin:14px 0 0;padding:0}
.ktb-jn-stage{position:relative;margin:0;padding:0 0 15px}
.ktb-jn-stage+.ktb-jn-stage{border-top:1px solid #f1e3d1;padding-top:16px}
.ktb-jn-when{margin:0;display:inline-block;padding:4px 11px;border-radius:100px;
  background:#2b2620;color:#fff8ef;font-size:11.5px;font-weight:800;line-height:1.35;letter-spacing:.01em}
.ktb-jn-h{margin:9px 0 0;font-size:17.5px;line-height:1.32;font-weight:800;color:#2b2620;letter-spacing:-.005em}
.ktb-jn-sub{margin:4px 0 0;font-size:12.8px;line-height:1.55;color:#5c5348}

.ktb-jn-cards{list-style:none;margin:11px 0 0;padding:0;display:grid;gap:9px}
.ktb-jn-card{min-width:0;padding:12px 12px 13px;border:1px solid #f0e4d4;border-radius:14px;
  background:#fff;box-shadow:0 1px 2px rgba(43,38,32,.04)}
.ktb-jn-ct{margin:0;font-size:14.8px;font-weight:800;line-height:1.34;color:#2b2620;letter-spacing:-.005em}
.ktb-jn-cs{margin:3px 0 0;font-size:12.8px;line-height:1.52;color:#5c5348}

/* buttons: line 1 = what you get, line 2 = price / perk / platform */
.ktb-jn-btns{display:grid;gap:7px;margin:10px 0 0}
.ktb-jn-b{display:block;padding:11px 12px;border:1px solid #cfd8cb;border-radius:12px;
  background:#fff;color:#315844;text-decoration:none;text-align:center}
.ktb-jn-b:active{transform:scale(.995)}
.ktb-jn-l{display:block;font-size:14.3px;font-weight:800;line-height:1.3}
.ktb-jn-v{display:block;margin-top:2px;font-size:12.2px;font-weight:700;line-height:1.35;opacity:.92}
.ktb-jn-b.primary{background:#3f6b55;border-color:#3f6b55;color:#fff}
.ktb-jn-b.free{background:#fff7ec;border-color:#e6c5a1;color:#8d4420}
.ktb-jn-b.map{background:#8f6a1f;border-color:#8f6a1f;color:#fff}
.ktb-jn-b.map2{background:#fffdf6;border-color:#d9bb85;color:#7a5613}

/* free tool row (same shape as a card, green accent) */
.ktb-jn-tool{display:block;margin:9px 0 0;padding:10px 12px;border:1px solid #dfe8e0;border-radius:12px;
  background:#fbfdfa;color:#2b2620;text-decoration:none}
.ktb-jn-tool b{display:block;font-size:13.8px;font-weight:800;line-height:1.34;color:#315844}
.ktb-jn-tool span{display:block;margin-top:2px;font-size:12px;line-height:1.45;color:#5c5348}
.ktb-jn-more{margin:10px 0 0;font-size:12px;line-height:1.55;color:#5c5348}
.ktb-jn-more a{color:#3f6b55;font-weight:800;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
.ktb-jn-more .ktb-tp-sep{white-space:nowrap}
.ktb-jn-warn{margin:9px 0 0;padding:8px 10px;border:1px solid #f0d3c2;border-radius:10px;
  background:#fbeee6;font-size:11.5px;line-height:1.5;color:#6d2f10}
.ktb-jn-fine{margin:8px 0 0;font-size:11.4px;line-height:1.5;color:#7a6f60}
/* paid downloads: badge, real-page previews, contents, paying line (2nd QA 2026-11-30) */
.ktb-jn-paid{display:inline-block;margin-right:5px;padding:0 5px;border:1px solid #c9a96a;border-radius:4px;
  background:#fff;color:#7a5613;font-size:9.5px;font-weight:900;line-height:1.55;letter-spacing:.06em;text-transform:uppercase;vertical-align:1px}
.ktb-jn-b.map .ktb-jn-paid,.ktb-jn-b.map2 .ktb-jn-paid{background:#fff8e6;color:#6b4a0c}
.nwu{white-space:nowrap}
.ktb-jn-paidblk{margin:11px 0 0;padding:11px 10px 10px;border:1px solid #e3d3b6;border-radius:13px;background:#fffaf0}
.ktb-jn-paidhd{margin:0 0 8px;font-size:10.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#8a5a12;line-height:1.4}
.ktb-jn-shots{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}
.ktb-jn-shots figure{margin:0;min-width:0}
.ktb-jn-shots img{display:block;width:100%;height:auto;border:1px solid #eadfc9;border-radius:8px;background:#fff}
.ktb-jn-shots figcaption{margin:4px 0 0;font-size:10px;line-height:1.35;color:#7a6a52}
.ktb-jn-toc{list-style:none;margin:9px 0 0;padding:0;display:grid;gap:4px}
.ktb-jn-toc li{position:relative;padding-left:11px;font-size:11.5px;line-height:1.45;color:#5c5348}
.ktb-jn-toc li:before{content:"·";position:absolute;left:2px;font-weight:900;color:#a9512c}
.ktb-jn-toc b{color:#2b2620}
.ktb-jn-pay{margin:10px 0 0;padding:8px 10px;border:1px dashed #d9c39c;border-radius:10px;
  background:#fff;font-size:11.5px;line-height:1.5;color:#4a4034}
.ktb-jn-pay b{color:#2b2620}


/* trip.com hotel search box */
.ktb-tp-widget{margin:11px 0 0;padding:5px;border:1px solid #eadfcf;border-radius:14px;background:#fff;
  display:flex;flex-direction:column;align-items:center;gap:3px}
.ktb-tp-wl{margin:2px 0 0;font-size:10.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#8a7a5d;text-align:center}
.ktb-tp-widget iframe{display:block;width:320px;height:320px;max-width:100%;border:0;border-radius:10px;background:#fff}

/* desktop QR hand-off (the label shows only where the codes do) */
.ktb-jn-qr-l{display:none;margin:14px 0 0;font-size:11.5px;line-height:1.45;color:#6b6257;text-align:center}
.ktb-tp-qr{display:none;flex-wrap:wrap;justify-content:center;gap:14px;margin:10px 0 0}
.ktb-tp-qr a{display:flex;flex-direction:column;align-items:center;gap:3px;color:#6b6257;text-decoration:none;font-size:10px;line-height:1.2}
.ktb-tp-qr img{width:62px;height:62px;border:1px solid #ece3d7;border-radius:6px;background:#fff}

@media(min-width:700px){
  .ktb-tp{padding:22px 22px 12px}
  .ktb-tp-t{font-size:22px}
  .ktb-tp-s{font-size:13.5px}
  .ktb-jn-h{font-size:19px}
  /* cards keep their own height, and a button stays one line long enough to read */
  .ktb-jn-cards{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  .ktb-jn-card.wide{grid-column:1/-1}
  .ktb-jn-card.wide .ktb-jn-btns{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ktb-jn-card.wide .ktb-jn-btns.one{grid-template-columns:1fr}
  .ktb-jn-btns .ktb-jn-b.wide{grid-column:1/-1}
  .ktb-tp-widget{width:-moz-fit-content;width:fit-content;margin-left:auto;margin-right:auto}
  .ktb-tp-qr{display:flex}
  .ktb-jn-qr-l{display:block}
}
@media(max-width:430px){
  .ktb-tp{padding:14px 12px 6px}
  .ktb-tp-widget{padding:0;border:0;background:transparent}
  .ktb-tp-widget iframe{border-radius:12px}
  .ktb-jn-b{padding:12px 12px}
}
@media(max-width:359px){
  .ktb-tp-widget{display:none}
}
