/* Tripmallow — one stylesheet for the whole app.
   Brand tokens (README of the Tripmallow design system): cocoa, mallow, toast, cream.
   Public sites override the --t-* tokens with their chosen theme (themes.js). */
:root {
  --cocoa: #3A2530; --cocoa-muted: #6E5A63; --mallow: #FFD6E1; --toast: #FF8A3D;
  --cream: #FFF9F3; --card: #FFFFFF; --hairline: #F1E4DA;
  --r-sm: 14px; --r-md: 28px; --r-lg: 40px; --pill: 999px;
  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, sans-serif;
  --hand: "Caveat", "Nunito", cursive;
  /* theme tokens (default = Marshmallow) */
  --t-bg: var(--cream); --t-paper: #fff; --t-ink: var(--cocoa); --t-muted: var(--cocoa-muted);
  --t-tint: var(--mallow); --t-accent: var(--toast); --t-accent-ink: var(--cocoa); --t-line: var(--hairline);
  --t-display: var(--display);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--cocoa); font: 500 16px/1.5 var(--body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--toast); outline-offset: 2px; border-radius: 6px; }

/* ---------- layout ---------- */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 560px; margin: 0 auto; padding: 0 20px; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.muted { color: var(--cocoa-muted); }
.small { font-size: 14px; }
.center { text-align: center; }

/* ---------- top bar ---------- */
.bar { display: flex; align-items: center; gap: 12px; padding: 14px 20px; max-width: 1080px; margin: 0 auto; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -.02em; }
.logo img { width: 36px; height: 36px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: var(--pill); border: 0; cursor: pointer; text-decoration: none; font-weight: 800; font-size: 16px; background: var(--toast); color: var(--cocoa); transition: transform .12s ease, filter .12s ease; }
.btn:hover { filter: brightness(1.04); }
.btn:active { transform: scale(.97); }
.btn.soft { background: var(--mallow); }
.btn.white { background: #fff; }
.btn.ghost { background: transparent; border: 2px solid var(--hairline); }
.btn.dark { background: var(--cocoa); color: var(--cream); }
.btn.small { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link { background: none; border: 0; padding: 10px 4px; min-height: 44px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- cards ---------- */
.card { background: var(--card); border-radius: var(--r-md); padding: 24px; }
.card.pink { background: var(--mallow); }
.card.dark { background: var(--cocoa); color: var(--cream); }
.label { font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--cocoa-muted); }

/* ---------- forms ---------- */
.field { display: block; }
.field > span { display: block; font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.input, select.input, textarea.input { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-sm); border: 2px solid var(--hairline); background: #fff; font-size: 17px; }
textarea.input { min-height: 110px; resize: vertical; line-height: 1.45; }
.input:focus { border-color: var(--toast); outline: none; }
.hint { font-size: 14px; color: var(--cocoa-muted); margin-top: 6px; }
.hint.ok { color: #1F6B3A; font-weight: 700; }
.hint.bad { color: #A1281C; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 48px; padding: 10px 18px; border-radius: var(--pill); border: 2px solid var(--hairline); background: #fff; font-weight: 700; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--mallow); border-color: var(--cocoa); }
.choice { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; min-height: 64px; padding: 14px 18px; border-radius: var(--r-sm); border: 2px solid var(--hairline); background: #fff; cursor: pointer; font-weight: 700; font-size: 17px; }
.choice small { display: block; font-weight: 500; font-size: 14px; color: var(--cocoa-muted); }
.choice[aria-pressed="true"] { border-color: var(--cocoa); background: var(--mallow); }
.choice .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--cocoa); flex: none; }
.choice[aria-pressed="true"] .dot { background: var(--cocoa); box-shadow: inset 0 0 0 4px var(--mallow); }

/* ---------- country picker ---------- */
.picker { position: relative; }
.picker-list { list-style: none; margin: 8px 0 0; padding: 6px; max-height: 260px; overflow: auto; background: #fff; border-radius: var(--r-sm); border: 2px solid var(--hairline); }
.picker-list button { width: 100%; text-align: left; min-height: 44px; padding: 8px 12px; border: 0; background: none; border-radius: 10px; cursor: pointer; font-size: 16px; }
.picker-list button:hover, .picker-list button:focus { background: var(--mallow); }
.picked { display: inline-flex; align-items: center; gap: 10px; background: var(--mallow); border-radius: var(--pill); padding: 8px 8px 8px 18px; font-weight: 800; }
.picked button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; font-weight: 800; }

/* ---------- landing ---------- */
.hero { padding: 28px 0 48px; display: grid; gap: 32px; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); }
.hero .lead { font-size: 19px; color: var(--cocoa-muted); margin-top: 16px; max-width: 34em; }
.hero .row { margin-top: 26px; }
.phone { background: var(--cocoa); border-radius: 44px; padding: 12px; max-width: 320px; margin: 0 auto; width: 100%; }
.phone-screen { border-radius: 34px; overflow: hidden; background: var(--cream); aspect-ratio: 9 / 17; }
.section { padding: 48px 0; }
.section h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 20px; }
.grid3 { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature h3 { font-size: 22px; margin: 12px 0 6px; }
.feature .ico { width: 52px; height: 52px; border-radius: 16px; background: var(--mallow); display: grid; place-items: center; }
.steps { counter-reset: s; }
.steps .card::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--toast); font-family: var(--display); font-weight: 600; font-size: 20px; margin-bottom: 12px; }
.quote { font-family: var(--hand); font-size: 30px; line-height: 1.2; }
.foot { padding: 32px 20px 120px; text-align: center; color: var(--cocoa-muted); font-size: 14px; }

/* ---------- onboarding ---------- */
.flow { min-height: 100vh; display: flex; flex-direction: column; }
.progress { display: flex; gap: 6px; }
.progress i { height: 6px; flex: 1; border-radius: 3px; background: var(--hairline); }
.progress i.on { background: var(--toast); }
.flow-main { flex: 1; padding: 20px 0 32px; }
.flow-main h1 { font-size: clamp(30px, 6vw, 40px); margin-bottom: 8px; }
.flow-foot { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--cream) 30%); padding: 20px 0 24px; }
.slug-preview { font-weight: 800; word-break: break-all; }
.themes { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.theme-card { border: 3px solid transparent; border-radius: 20px; padding: 0; overflow: hidden; cursor: pointer; text-align: left; background: #fff; }
.theme-card[aria-pressed="true"] { border-color: var(--cocoa); }
.theme-card .sw { height: 84px; position: relative; }
.theme-card .sw b { position: absolute; left: 12px; bottom: 10px; font-family: var(--t-display); font-weight: 600; font-size: 22px; }
.theme-card .sw i { position: absolute; right: 12px; top: 12px; width: 30px; height: 30px; border-radius: 50%; }
.theme-card .nm { display: block; padding: 8px 12px 10px; font-weight: 800; font-size: 15px; }
.done-stamp { width: 120px; margin: 0 auto 8px; animation: pop .5s cubic-bezier(.2,1.4,.4,1); }
@keyframes pop { from { transform: scale(.4) rotate(-12deg); opacity: 0; } }
.copybox { display: flex; gap: 8px; align-items: center; background: #fff; border: 2px solid var(--hairline); border-radius: var(--r-sm); padding: 6px 6px 6px 14px; }
.copybox code { flex: 1; font: 700 15px/1.3 var(--body); word-break: break-all; }

/* ---------- dashboard ---------- */
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px; background: #fff; border-radius: var(--pill); }
.tabs button { flex: 1; min-height: 44px; padding: 8px 10px; font-size: 15px; border: 0; border-radius: var(--pill); background: none; font-weight: 800; cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { background: var(--mallow); }
.trip-row { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 20px; padding: 12px; }
.trip-row .thumb { width: 64px; height: 64px; border-radius: 14px; background: var(--mallow); flex: none; object-fit: cover; display: grid; place-items: center; font-family: var(--display); font-weight: 600; }
.trip-row .info { flex: 1; min-width: 0; }
.trip-row .info b { display: block; font-size: 17px; overflow-wrap: anywhere; }
.photos-edit { display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.photos-edit figure { margin: 0; position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--mallow); }
.photos-edit img { width: 100%; height: 100%; object-fit: cover; }
.photos-edit figure button { position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; font-weight: 800; cursor: pointer; }
.add-photo { aspect-ratio: 1; border-radius: 14px; border: 2px dashed var(--cocoa-muted); display: grid; place-items: center; cursor: pointer; font-weight: 800; text-align: center; padding: 6px; background: #fff; }
.day-edit { background: var(--cream); border-radius: 18px; padding: 14px; }

/* ---------- sheets / toasts ---------- */
.sheet-back { position: fixed; inset: 0; background: rgba(58,37,48,.45); z-index: 50; display: flex; align-items: flex-end; justify-content: center; animation: fade .2s; }
.sheet { background: var(--cream); width: 100%; max-width: 620px; max-height: 92vh; overflow: auto; border-radius: 28px 28px 0 0; padding: 20px 20px 28px; animation: up .25s ease; }
@media (min-width: 700px) { .sheet-back { align-items: center; } .sheet { border-radius: 28px; } }
.sheet-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sheet-head h2 { font-size: 26px; flex: 1; }
.x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; font-size: 22px; font-weight: 800; flex: none; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.toast-msg { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: var(--cocoa); color: var(--cream); padding: 12px 20px; border-radius: var(--pill); font-weight: 700; z-index: 80; max-width: calc(100% - 32px); text-align: center; }
.fb-line { text-align: center; font-size: 14px; color: var(--k-soft, var(--soft, #6E5A63)); margin: 28px auto 8px; padding: 0 18px; }
.fb-line .fb-btn { font-size: 14px; font-weight: 800; min-height: 44px; }
.beta { display: inline-block; background: var(--mallow); border-radius: var(--pill); padding: 2px 10px; font-size: 12px; font-weight: 800; vertical-align: middle; }

/* ---------- public site (themed) ---------- */
.site { background: var(--t-bg); color: var(--t-ink); min-height: 100vh; }
.site h1, .site h2, .site h3 { font-family: var(--t-display); color: var(--t-ink); }
.site .muted { color: var(--t-muted); }
.site-bar { display: flex; align-items: center; gap: 10px; padding: 14px 20px; max-width: 1000px; margin: 0 auto; }
.site-bar .name { font-family: var(--t-display); font-weight: 600; font-size: 20px; text-decoration: none; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.site .pill { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 18px; border-radius: var(--pill); border: 0; background: var(--t-accent); color: var(--t-accent-ink); font-weight: 800; cursor: pointer; text-decoration: none; }
.site .pill.alt { background: var(--t-paper); color: var(--t-ink); border: 2px solid var(--t-line); }
.site-hero { max-width: 1000px; margin: 0 auto; padding: 24px 20px 32px; }
.site-hero h1 { font-size: clamp(36px, 7vw, 64px); overflow-wrap: anywhere; }
.site-hero .about { font-size: 18px; margin-top: 12px; max-width: 36em; color: var(--t-muted); }
.stats { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.stat { background: var(--t-paper); border-radius: 20px; padding: 12px 18px; min-width: 110px; }
.stat b { display: block; font-family: var(--t-display); font-size: 30px; line-height: 1; }
.stat span { font-size: 14px; color: var(--t-muted); font-weight: 700; }
.site-sec { max-width: 1000px; margin: 0 auto; padding: 24px 20px; }
.site-sec > h2 { font-size: 30px; margin-bottom: 16px; }
.globe-card { background: var(--t-paper); border-radius: var(--r-lg); padding: 20px; }
.globe-wrap { position: relative; display: grid; place-items: center; }
.globe { touch-action: none; cursor: grab; max-width: 100%; }
.globe-tip { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); background: var(--t-ink); color: var(--t-bg); padding: 6px 14px; border-radius: var(--pill); font-weight: 700; font-size: 14px; opacity: 0; transition: opacity .2s; pointer-events: none; white-space: nowrap; }
.globe-tip.on { opacity: 1; }
.globe-btns { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.globe-btns button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--t-line); background: var(--t-bg); color: var(--t-ink); font-size: 20px; font-weight: 800; cursor: pointer; }
.country-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.country-list li { background: var(--t-tint); color: var(--t-ink); border-radius: var(--pill); padding: 6px 14px; font-weight: 700; font-size: 14px; }
.trip-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.trip-card { display: block; text-decoration: none; background: var(--t-paper); border-radius: 24px; overflow: hidden; color: var(--t-ink); transition: transform .15s; }
.trip-card:hover { transform: translateY(-3px); }
.trip-card .cover { aspect-ratio: 4 / 3; background: var(--t-tint); display: grid; place-items: center; overflow: hidden; }
.trip-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.trip-card .cover .big { font-family: var(--t-display); font-weight: 600; font-size: 34px; padding: 16px; text-align: center; overflow-wrap: anywhere; }
.trip-card .body { padding: 14px 18px 18px; }
.trip-card h3 { font-size: 22px; overflow-wrap: anywhere; }
.trip-card p { color: var(--t-muted); margin-top: 6px; }
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.gallery figure { margin: 0; background: var(--t-paper); padding: 10px 10px 14px; border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.gallery figure:nth-child(odd) { transform: rotate(-1.2deg); }
.gallery figure:nth-child(even) { transform: rotate(1deg); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; background: var(--t-tint); }
.gallery figcaption { font-family: var(--hand); font-size: 22px; text-align: center; margin-top: 6px; color: var(--t-ink); }
.day { background: var(--t-paper); border-radius: 22px; padding: 18px 20px; }
.day + .day { margin-top: 12px; }
.day h3 { font-size: 20px; margin-bottom: 8px; }
.day dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; }
.day dt { font-weight: 800; color: var(--t-muted); font-size: 14px; padding-top: 2px; }
.day dd { margin: 0; overflow-wrap: anywhere; }
.postcards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.postcard { position: relative; display: block; text-decoration: none; color: #3A2530; background: #FFFDF8; border-radius: 10px; padding: 18px; box-shadow: 0 8px 24px rgba(0,0,0,.10); min-height: 200px; }
.postcard .pc-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; margin-bottom: 12px; background: var(--t-tint); }
.postcard .msg { font-family: var(--hand); font-size: 26px; line-height: 1.15; white-space: pre-line; overflow-wrap: anywhere; padding-right: 64px; }
.postcard .to { font-weight: 800; font-size: 14px; color: #6E5A63; margin-bottom: 6px; }
.postcard .stamp { position: absolute; top: 14px; right: 14px; width: 54px; height: 54px; }
.postcard.has-photo .stamp { top: auto; bottom: 14px; }
.postcard.big { max-width: 640px; margin: 0 auto; padding: 24px; }
.postcard.big .msg { font-size: 34px; }
.site-foot { text-align: center; padding: 40px 20px 110px; color: var(--t-muted); font-size: 14px; }
.site-foot a { font-weight: 800; color: var(--t-ink); }
.empty { background: var(--t-paper); border-radius: 24px; padding: 28px; text-align: center; color: var(--t-muted); }
.offline-note { background: var(--t-tint); color: var(--t-ink); text-align: center; padding: 8px 16px; font-weight: 700; font-size: 14px; }

/* ---------- admin ---------- */
.kpis { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.kpi { background: #fff; border-radius: 20px; padding: 14px 16px; }
.kpi b { display: block; font-family: var(--display); font-size: 32px; }
.table-box { overflow-x: auto; background: #fff; border-radius: 20px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
th { font-weight: 800; white-space: nowrap; }

/* ---------- misc ---------- */
.loading { display: grid; place-items: center; min-height: 60vh; }
.loading img { width: 72px; animation: bob 1.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-4deg); } }

@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 12px; }
  .grid3 { grid-template-columns: minmax(0, 1fr); }
  .phone { max-width: 260px; }
}
@media (min-width: 640px) { .themes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* =====================================================================
   Scrapbook craft (homepage + public sites) — the gangasitinerary.com
   language in Tripmallow colours: gingham lid, chunky outlines, taped
   polaroids, stickers, boarding-pass tickets, handwriting.
   Uses --k-* tokens so public sites can re-colour it with their theme.
   ===================================================================== */
.craft { --k-ink: var(--cocoa); --k-soft: var(--cocoa-muted); --k-bg: var(--cream); --k-card: #fff; --k-paper: #FFFDF9; --k-tint: var(--mallow); --k-accent: var(--toast); --k-accent-ink: var(--cocoa); --k-title: var(--cocoa);
  --k-g: rgba(255, 138, 61, .42); --k-g-base: #FFC9D8; --k-tape: rgba(255, 214, 225, .92); --k-butter: #FFF1BD; --k-shadow: rgba(58, 37, 48, .22); --k-display: var(--display);
  background: var(--k-bg); color: var(--k-ink); overflow-x: clip; }
.craft h1, .craft h2, .craft h3 { font-family: var(--k-display); color: var(--k-title); text-wrap: balance; }
.lid { position: relative; padding: calc(env(safe-area-inset-top) + 14px) 16px 40px;
  background: repeating-linear-gradient(90deg, var(--k-g) 0 22px, transparent 22px 44px), repeating-linear-gradient(0deg, var(--k-g) 0 22px, transparent 22px 44px), var(--k-g-base);
  -webkit-mask: radial-gradient(14px at 50% calc(100% - 14px), #000 98%, #0000) 50% 100% / 28px 100% repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - 14px) no-repeat;
  mask: radial-gradient(14px at 50% calc(100% - 14px), #000 98%, #0000) 50% 100% / 28px 100% repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - 14px) no-repeat; }
.lid.flip { -webkit-mask: radial-gradient(14px at 50% 14px, #000 98%, #0000) 50% 0 / 28px 100% repeat-x, linear-gradient(#000 0 0) bottom / 100% calc(100% - 14px) no-repeat; mask: radial-gradient(14px at 50% 14px, #000 98%, #0000) 50% 0 / 28px 100% repeat-x, linear-gradient(#000 0 0) bottom / 100% calc(100% - 14px) no-repeat; padding: 56px 16px 48px; }
.topbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; max-width: 1040px; margin: 0 auto; }
.k-logo { display: inline-flex; align-items: center; gap: 8px; background: var(--k-card); color: var(--k-title); border: 2px solid var(--k-ink); border-radius: 14px; padding: 4px 12px 4px 6px; box-shadow: 0 3px 0 var(--k-ink); text-decoration: none; font-family: var(--k-display); font-weight: 600; font-size: 20px; line-height: 1.2; max-width: 100%; overflow-wrap: anywhere; }
.k-logo img { width: 30px; height: 30px; flex: none; }
.k-pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; background: var(--k-card); color: var(--k-ink); border: 2px solid var(--k-ink); box-shadow: 0 3px 0 var(--k-ink); border-radius: 99px; padding: 6px 16px; font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap; cursor: pointer; }
.k-pill.hot { background: var(--k-accent); color: var(--k-accent-ink); }
.k-pill:active, .k-btn:active { transform: translateY(3px); box-shadow: 0 0 0 var(--k-ink); }
.k-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 24px; border: 2px solid var(--k-ink); border-radius: 99px; background: var(--k-accent); color: var(--k-accent-ink); font-weight: 800; font-size: 17px; text-decoration: none; box-shadow: 0 4px 0 var(--k-ink); cursor: pointer; transition: transform .1s, box-shadow .1s; }
.k-btn.alt { background: var(--k-card); color: var(--k-ink); }
.k-btn svg { width: 20px; height: 20px; }
.hand { display: inline-block; font-family: var(--hand); font-weight: 600; font-size: 30px; line-height: 1.1; color: var(--k-accent); transform: rotate(-2deg); }
.craft .hand { color: color-mix(in srgb, var(--k-accent) 70%, var(--k-ink)); }
.k-main { max-width: 1040px; margin: 0 auto; padding: 0 18px; }
.k-sec { padding: 46px 0 8px; }
.k-sec > h2 { font-size: clamp(30px, 5vw, 40px); }
.k-sec > .lede { color: var(--k-soft); font-size: 17px; margin: 8px 0 20px; max-width: 40em; }
/* hero */
.k-hero { display: grid; gap: 30px; padding: 30px 0 10px; align-items: center; }
@media (min-width: 760px) { .k-hero { grid-template-columns: 1.08fr .92fr; padding-top: 44px; } }
.k-hero h1 { font-size: clamp(40px, 7.5vw, 66px); line-height: 1.04; margin-top: 6px; }
.k-hero .sub { font-size: 18px; margin: 16px 0 22px; max-width: 33em; color: var(--k-soft); }
.k-hero .sub b { color: var(--k-ink); }
.trust { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--k-soft); padding: 0; list-style: none; }
.trust li::before { content: "✓ "; color: var(--k-ink); }
/* polaroid board */
.board { position: relative; width: min(330px, 84vw); margin: 18px auto 10px; }
.pola { display: block; position: relative; background: var(--k-paper); padding: 12px 12px 0; border-radius: 4px; box-shadow: 0 0 0 2px var(--k-ink), 0 8px 0 var(--k-shadow); transform: rotate(var(--r, -3deg)); text-decoration: none; color: var(--k-ink); }
.pola::before { content: ""; position: absolute; top: -13px; left: 50%; width: 92px; height: 26px; margin-left: -46px; background: var(--k-tape); transform: rotate(3deg); border-radius: 2px; z-index: 1; }
.pola .shot { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 2px var(--k-ink); background: var(--k-tint); overflow: hidden; }
.pola .cap { font-family: var(--hand); font-weight: 600; font-size: 26px; line-height: 1.05; text-align: center; padding: 10px 4px 12px; overflow-wrap: anywhere; }
.board .pola { animation: k-sway 6s ease-in-out infinite; }
@keyframes k-sway { 50% { transform: rotate(calc(var(--r, -3deg) + 2deg)); } }
.stk { position: absolute; width: 60px; height: 60px; z-index: 2; pointer-events: none; }
.stk.s1 { left: -24px; top: 150px; } .stk.s2 { right: -24px; bottom: 74px; width: 66px; height: 66px; } .stk.s3 { right: -14px; top: -14px; width: 56px; height: 56px; }
/* mini site inside the hero polaroid */
.mini { padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; height: 100%; background: var(--cream); font-size: 12px; }
.mini .mh { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.05; color: var(--cocoa); }
.mini .mk { font-family: var(--hand); font-size: 17px; color: #B5562A; }
.mini .globe-mini { width: 62%; aspect-ratio: 1; margin: 2px auto; border-radius: 50%; border: 2px solid var(--cocoa); background: radial-gradient(circle at 34% 30%, #fff 0 12%, #FFE9F0 40%, #FFD6E1 100%); position: relative; overflow: hidden; }
.mini .globe-mini i { position: absolute; background: var(--toast); border: 1.5px solid var(--cocoa); border-radius: 46% 54% 50% 50%; }
.mini .tk { border: 2px solid var(--cocoa); border-radius: 10px; background: #fff; overflow: hidden; }
.mini .tk div:first-child { height: 16px; background: repeating-linear-gradient(90deg, rgba(255,138,61,.4) 0 6px, transparent 6px 12px), repeating-linear-gradient(0deg, rgba(255,138,61,.4) 0 6px, transparent 6px 12px), #FFD6E1; border-bottom: 2px solid var(--cocoa); }
.mini .tk div:last-child { padding: 5px 8px; font-weight: 800; font-size: 11px; }
/* tickets (boarding passes) */
.tickets { display: grid; gap: 18px; }
@media (min-width: 760px) { .tickets { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); } }
.ticket { display: flex; flex-direction: column; text-decoration: none; color: var(--k-ink); background: var(--k-card); border: 2px solid var(--k-ink); border-radius: 20px; overflow: hidden; box-shadow: 0 5px 0 var(--k-ink); transition: transform .15s; }
a.ticket:hover { transform: translateY(-3px); }
.t-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 2px solid var(--k-ink);
  background: repeating-linear-gradient(90deg, var(--k-g) 0 12px, transparent 12px 24px), repeating-linear-gradient(0deg, var(--k-g) 0 12px, transparent 12px 24px), var(--k-g-base); }
.t-chip { background: var(--k-card); color: var(--k-ink); border: 2px solid var(--k-ink); border-radius: 99px; padding: 2px 10px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.t-chip.hot { background: var(--k-accent); color: var(--k-accent-ink); }
.t-scene { display: block; width: 100%; height: 64px; border-bottom: 2px dashed var(--k-ink); }
.t-body { padding: 14px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.t-body h3 { font-size: 26px; line-height: 1.1; overflow-wrap: anywhere; }
.t-body p { color: var(--k-soft); margin-top: 6px; }
.route { display: flex; align-items: center; gap: 10px; font-family: var(--k-display); font-weight: 600; font-size: 17px; margin-bottom: 8px; }
.route span { overflow-wrap: anywhere; }
.route i { flex: 1; min-width: 30px; border-top: 2px dashed var(--k-soft); position: relative; }
.route i::after { content: "✈"; position: absolute; left: 50%; top: -13px; transform: translateX(-50%); font-style: normal; font-size: 16px; color: var(--k-accent); }
.t-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 12px; font-size: 15px; }
.t-meta b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--k-soft); }
.t-go { margin-top: auto; padding-top: 14px; font-weight: 800; }
.been { position: absolute; right: 12px; top: 40px; width: 70px; height: 70px; font-size: 18px !important; border-radius: 50%; border: 4px double var(--k-accent); color: var(--k-ink); display: grid; place-items: center; text-align: center; font: 700 21px/1 var(--hand); transform: rotate(-14deg); background: var(--k-card); opacity: .92; pointer-events: none; }
.ticket.rel { position: relative; }
/* feature polaroids */
.polas { display: grid; gap: 30px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 14px; }
@media (min-width: 760px) { .polas { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 30px; } }
.polas .pola { padding: 10px 10px 0; margin: 0; }
.polas .pola:nth-child(3n+1) { --r: -2.5deg; } .polas .pola:nth-child(3n+2) { --r: 2deg; } .polas .pola:nth-child(3n) { --r: -1deg; }
.polas .pola::before { width: 64px; margin-left: -32px; height: 20px; top: -10px; }
.polas .art { display: block; width: 100%; aspect-ratio: 1; border-radius: 2px; box-shadow: 0 0 0 2px var(--k-ink); }
.polas .cap { font-size: 23px; padding-bottom: 4px; }
.polas .cap + p { font-size: 14px; text-align: center; color: var(--k-soft); padding: 0 4px 12px; line-height: 1.35; }
/* steps on a flight path */
.path { display: grid; gap: 18px; position: relative; }
@media (min-width: 760px) { .path { grid-template-columns: repeat(3, minmax(0, 1fr)); } .path::before { content: ""; position: absolute; left: 12%; right: 12%; top: 36px; border-top: 3px dashed var(--k-soft); z-index: 0; } }
.step { position: relative; z-index: 1; background: var(--k-card); border: 2px solid var(--k-ink); border-radius: 22px; padding: 18px 20px 20px; box-shadow: 0 5px 0 var(--k-ink); }
.step .n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--k-ink); background: var(--k-accent); font-family: var(--k-display); font-weight: 600; font-size: 21px; margin-bottom: 10px; }
.step h3 { font-size: 22px; } .step p { color: var(--k-soft); margin-top: 4px; }
/* theme stamps */
.swatches { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; padding: 6px 0; }
.swatch { width: 84px; text-align: center; font-weight: 800; font-size: 13px; }
.swatch i { display: block; width: 84px; height: 84px; border-radius: 4px; margin-bottom: 8px; position: relative; border: 2px solid var(--k-ink); box-shadow: 0 4px 0 var(--k-ink); }
.swatch i::before { content: ""; position: absolute; inset: 4px; border: 3px dotted var(--k-bg); border-radius: 2px; }
.swatch:nth-child(odd) i { transform: rotate(-3deg); } .swatch:nth-child(even) i { transform: rotate(2deg); }
.swatch i b { position: absolute; inset: 12px; border: 2px solid var(--k-ink); border-radius: 4px; display: grid; place-items: center; font-family: var(--display); font-size: 26px; font-weight: 600; font-style: normal; }
/* sticky note */
.note { position: relative; background: var(--k-butter); border: 2px solid var(--k-ink); border-radius: 4px; padding: 30px 22px 22px; box-shadow: 0 6px 0 var(--k-shadow); transform: rotate(1deg); max-width: 660px; margin: 26px auto 0; color: #3A2530; }
.note::before { content: ""; position: absolute; top: -13px; left: 26px; width: 96px; height: 26px; background: var(--k-tape); transform: rotate(-5deg); }
.note .hand { color: #3A2530; font-size: 34px; transform: none; }
.note p + p { margin-top: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0 0; }
.facts li { background: #fff; border: 2px solid #3A2530; border-radius: 99px; padding: 4px 12px; font-size: 15px; font-weight: 700; }
/* compare table */
.compare { background: var(--k-card); border: 2px solid var(--k-ink); border-radius: 20px; box-shadow: 0 5px 0 var(--k-ink); overflow-x: auto; }
.compare table { min-width: 540px; font-size: 15px; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 2px dashed var(--hairline); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: var(--k-tint); border-bottom: 2px solid var(--k-ink); font-family: var(--display); font-weight: 600; font-size: 16px; }
.compare thead th.us { background: var(--k-accent); }
.compare tr:last-child td { border-bottom: 0; }
.yes { font-weight: 800; } .no { color: var(--k-soft); }
/* faq */
.faq { display: grid; gap: 12px; max-width: 760px; }
.faq details { background: var(--k-card); border: 2px solid var(--k-ink); border-radius: 18px; box-shadow: 0 3px 0 var(--k-ink); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; font-weight: 800; font-size: 17px; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 800; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 18px 16px; color: var(--k-soft); }
/* final band */
.final { text-align: center; margin-top: 56px; }
.final h2 { font-size: clamp(32px, 6vw, 48px); }
.final p { font-size: 18px; margin: 10px auto 22px; max-width: 30em; }
.k-foot { text-align: center; padding: 26px 16px 110px; color: var(--k-soft); font-size: 15px; }
.k-foot .sig { display: block; font-family: var(--hand); font-size: 28px; color: var(--k-ink); margin-bottom: 4px; }
.k-foot a { font-weight: 800; color: var(--k-ink); }
/* public-site specific */
.k-card { background: var(--k-card); border: 2px solid var(--k-ink); border-radius: 22px; box-shadow: 0 5px 0 var(--k-ink); padding: 18px 20px; }
.k-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0 0; }
.k-chips li { background: var(--k-card); border: 2px solid var(--k-ink); border-radius: 99px; padding: 4px 12px; font-size: 14px; font-weight: 700; }
.k-chips li.on { background: var(--k-accent); color: var(--k-accent-ink); }
.craft .globe-card { background: var(--k-card); border: 2px solid var(--k-ink); border-radius: 26px; box-shadow: 0 5px 0 var(--k-ink); }
.craft .globe-btns button { border: 2px solid var(--k-ink); background: var(--k-card); color: var(--k-ink); box-shadow: 0 3px 0 var(--k-ink); }
.strip { display: flex; gap: 22px; overflow-x: auto; padding: 22px 6px 22px; scroll-snap-type: x mandatory; }
.strip .pola { flex: 0 0 min(240px, 66vw); scroll-snap-align: center; }
.strip .pola:nth-child(odd) { --r: -2deg; } .strip .pola:nth-child(even) { --r: 2.5deg; }
.strip .pola .shot { aspect-ratio: 1; }
.dayt { background: var(--k-card); border: 2px solid var(--k-ink); border-radius: 20px; box-shadow: 0 4px 0 var(--k-ink); overflow: hidden; }
.dayt + .dayt { margin-top: 14px; }
.dayt header { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--k-tint); border-bottom: 2px dashed var(--k-ink); }
.dayt header .d { flex: none; width: 46px; height: 46px; border-radius: 12px; border: 2px solid var(--k-ink); background: #fff; display: grid; place-items: center; font-family: var(--k-display); font-weight: 600; font-size: 13px; line-height: 1; text-align: center; color: var(--k-ink); }
.dayt header h3 { font-size: 20px; overflow-wrap: anywhere; }
.dayt dl { margin: 0; padding: 14px 18px 16px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; }
.dayt dt { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--k-soft); padding-top: 3px; }
.dayt dd { margin: 0; overflow-wrap: anywhere; }
.big-card { background: var(--k-card); border: 2px solid var(--k-ink); border-radius: 24px; box-shadow: 0 6px 0 var(--k-ink); padding: 20px 22px 22px; max-width: 640px; margin: 0 auto; position: relative; }
.big-card .kick { display: inline-block; background: var(--k-tint); border-radius: 8px; padding: 2px 10px; font-weight: 800; font-size: 14px; }
.big-card .num { font-family: var(--k-display); font-weight: 600; font-size: clamp(44px, 12vw, 68px); line-height: 1; color: var(--k-accent); margin-top: 8px; }
.craft .postcard { border: 2px solid var(--k-ink); box-shadow: 0 5px 0 var(--k-shadow); }
@media (prefers-reduced-motion: reduce) { .board .pola { animation: none; } }

@media (max-width: 440px) { .swatches { gap: 12px 10px; } .swatch { width: 60px; font-size: 11px; } .swatch i { width: 60px; height: 60px; } .swatch i b { inset: 8px; font-size: 18px; } .topbar .hide-sm { display: none; } .polas { gap: 26px 16px; } .polas .cap { font-size: 20px; } .k-hero h1 { font-size: 38px; } }

.group { font-size: 22px; margin: 22px 0 12px; }
.craft .offline-note { background: var(--k-tint); color: var(--k-ink); }
.craft .site-sec, .craft .site-hero { max-width: none; padding-left: 0; padding-right: 0; }
.craft .empty { background: var(--k-card); border: 2px dashed var(--k-soft); color: var(--k-soft); }
.craft .country-list li { background: var(--k-tint); color: var(--k-ink); border: 2px solid var(--k-ink); }
.trip-hero { max-width: 680px; margin: 14px auto 0; }
.trip-hero h1 { font-size: clamp(26px, 6vw, 36px); margin-top: 4px; overflow-wrap: anywhere; }
.trip-hero .hl { font-family: var(--hand); font-size: 26px; line-height: 1.15; margin-top: 10px; color: var(--k-ink); }

/* ---------- gangasitinerary-style extras ---------- */
.stamps-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.stamps-row span { min-width: 64px; height: 64px; padding: 0 10px; border-radius: 50%; border: 3px dashed var(--k-accent); display: grid; place-items: center; font: 600 18px/1 var(--hand); color: var(--k-ink); transform: rotate(var(--r, -6deg)); text-align: center; }
.legend { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; list-style: none; padding: 0; margin: 8px 0 0; font-size: 14px; font-weight: 700; }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; box-sizing: border-box; }
.dayt-head { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; background: var(--k-tint); cursor: pointer; min-height: 70px; color: var(--k-ink); }
.dayt-head[aria-expanded="true"] { border-bottom: 2px dashed var(--k-ink); }
.dayt-head:focus-visible { outline: 3px solid var(--k-accent); outline-offset: -3px; }
.dayt-head .d { flex: none; width: 46px; height: 46px; border-radius: 12px; border: 2px solid var(--k-ink); background: var(--k-card); display: grid; place-items: center; font-family: var(--k-display); font-weight: 600; font-size: 13px; line-height: 1; text-align: center; }
.chev { font-size: 24px; font-weight: 800; transition: transform .2s; }
.dayt-head[aria-expanded="true"] .chev { transform: rotate(180deg); }
.dayt-body { padding: 14px 16px 16px; }
.slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.chk { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.chk input { appearance: none; flex: none; width: 26px; height: 26px; border: 2px solid var(--k-ink); border-radius: 8px; background: var(--k-card); margin: 0; cursor: pointer; display: grid; place-items: center; }
.chk input:checked { background: var(--k-accent); }
.chk input:checked::after { content: ""; width: 7px; height: 12px; border: solid var(--k-accent-ink); border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px, -1px); }
.chk span b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--k-soft); }
.slots .chk input:checked + span { text-decoration: line-through; color: var(--k-soft); }
.word-card { background: var(--k-butter); color: #3A2530; border: 2px solid var(--k-ink); border-radius: 22px; padding: 22px; text-align: center; box-shadow: 0 5px 0 var(--k-shadow); }
.word-card .w { font-family: var(--k-display); font-weight: 600; font-size: clamp(40px, 11vw, 64px); line-height: 1; color: var(--k-title); overflow-wrap: anywhere; }
.craft.site .word-card .w { color: color-mix(in srgb, var(--k-accent) 60%, #3A2530); }
.word-card .say { font-family: var(--k-display); font-weight: 600; font-size: 26px; margin-top: 6px; }
.word-card .mean { font-weight: 800; margin-top: 2px; }
.word-card .muted { color: #6E5A63; }
.phrases { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.phrases button { all: unset; box-sizing: border-box; display: block; width: 100%; padding: 10px 14px; border-radius: 14px; background: var(--k-tint); cursor: pointer; min-height: 44px; color: var(--k-ink); }
.phrases button b { display: block; font-family: var(--k-display); font-size: 20px; }
.phrases button span { font-size: 14px; color: var(--k-soft); }
.phrases button:focus-visible { outline: 3px solid var(--k-accent); }
.show-big { position: fixed; inset: 0; z-index: 90; background: var(--k-bg); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.show-big .x { position: absolute; top: 16px; right: 16px; border: 2px solid var(--k-ink); }
.show-big .sb-w { font-family: var(--k-display); font-weight: 600; font-size: clamp(54px, 16vw, 120px); line-height: 1; color: var(--k-ink); overflow-wrap: anywhere; }
.show-big .sb-s { font-size: 26px; font-weight: 700; color: var(--k-soft); margin-top: 16px; }
.fx { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: end; }
.fx-eq { font-size: 26px; font-weight: 800; padding-bottom: 10px; }
.craft .input { background: var(--k-card); color: var(--k-ink); border-color: var(--k-ink); }
.glance { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.glance button { all: unset; box-sizing: border-box; width: 100%; display: block; background: var(--k-card); border: 2px solid var(--k-ink); border-radius: 16px; padding: 12px 16px; cursor: pointer; box-shadow: 0 3px 0 var(--k-ink); color: var(--k-ink); min-height: 48px; overflow-wrap: anywhere; }
.glance button b { color: var(--k-accent); margin-right: 6px; }
.craft.site .glance button b { color: var(--k-title); }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--k-card); border-top: 2px solid var(--k-ink); padding: 6px 10px calc(6px + env(safe-area-inset-bottom)); }
.tabbar > div { max-width: 480px; margin: 0 auto; display: flex; gap: 6px; }
.tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 56px; border: 0; border-radius: 16px; background: none; color: var(--k-ink); font-weight: 800; font-size: 14px; cursor: pointer; }
.tabbar button svg { width: 24px; height: 24px; }
.tabbar button[aria-current="true"] { background: var(--k-tint); }
body.has-tabbar .k-foot { padding-bottom: 150px; }
.trip-hero { position: relative; }
.trip-stamp { position: absolute; right: -12px; top: -16px; width: 64px; height: 64px; transform: rotate(10deg); }
.view .k-sec:first-child { padding-top: 34px; }
[hidden], .show-big[hidden], .view[hidden], .dayt-body[hidden] { display: none !important; }


/* ---------- 10-step sign-up ---------- */
.flow2 { min-height: 100vh; display: flex; flex-direction: column; }
.flight { position: relative; max-width: 1040px; margin: 16px auto 0; height: 22px; border-top: 3px dashed var(--k-ink); opacity: .9; }
.flight i { position: absolute; left: 0; top: -3px; height: 3px; background: var(--k-ink); transition: width .4s ease; }
.flight b { position: absolute; top: -17px; transform: translateX(-50%); font-size: 24px; color: var(--k-ink); transition: left .4s ease; line-height: 1; }
.flow-card { flex: 1; max-width: 620px; width: 100%; padding-top: 22px; padding-bottom: 30px; }
.flow-card h1 { font-size: clamp(30px, 7vw, 42px); margin-top: 4px; }
.flow-foot2 { position: sticky; bottom: 0; padding: 14px 18px calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--k-bg) 28%); }
.flow-foot2 .row { max-width: 620px; margin: 0 auto; }
.k-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.craft .chip { border: 2px solid var(--k-ink); background: var(--k-card); color: var(--k-ink); box-shadow: 0 2px 0 var(--k-ink); }
.craft .chip[aria-pressed="true"] { background: var(--k-accent); color: var(--k-accent-ink); }
.craft .choice { border: 2px solid var(--k-ink); background: var(--k-card); color: var(--k-ink); box-shadow: 0 3px 0 var(--k-ink); }
.craft .choice[aria-pressed="true"] { background: var(--k-tint); }
.craft .choice small, .craft .hint { color: var(--k-soft); }
.craft .hint.ok { color: #1F6B3A; } .craft .hint.bad { color: #A1281C; }
.craft .field > span { color: var(--k-ink); }
.craft .theme-card { border: 2px solid var(--k-ink); box-shadow: 0 3px 0 var(--k-ink); }
.craft .theme-card[aria-pressed="true"] { outline: 3px solid var(--k-accent); outline-offset: 2px; }
.swatch-chip { display: inline-flex; align-items: center; gap: 8px; }
.swatch-chip i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--k-ink); }
.been-count { font-weight: 800; font-size: 18px; min-height: 40px; display: flex; align-items: center; gap: 10px; }
.stamp-count { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border-radius: 50%; border: 3px dashed var(--k-accent); font: 700 24px/1 var(--hand); transform: rotate(-8deg); }
.pv-wrap { border-radius: 20px; overflow: hidden; border: 2px solid var(--k-ink); box-shadow: 0 5px 0 var(--k-ink); }
.pv { background: var(--k-bg); }
.pv .lid { -webkit-mask-size: 16px 100%, 100% calc(100% - 8px); mask-size: 16px 100%, 100% calc(100% - 8px); }
.pv .board, .pv .stk { display: none; }
.pv .pola::before { width: 40px; margin-left: -20px; height: 12px; top: -6px; }
.pv .shot { aspect-ratio: 1; }
.craft .copybox { background: var(--k-card); }
.craft .copybox code { color: var(--k-ink); }

/* live demo phone in the homepage hero */
.demo-phone { position: relative; width: min(310px, 80vw); margin: 0 auto; }
.demo-phone .frame { position: relative; background: #3A2530; border-radius: 46px; padding: 12px; box-shadow: 0 0 0 2px #3A2530, 0 10px 0 rgba(58,37,48,.25); transform: rotate(2deg); }
.demo-phone .frame::before { content: ""; position: absolute; top: 20px; left: 50%; width: 90px; height: 22px; margin-left: -45px; border-radius: 12px; background: #3A2530; z-index: 2; }
.demo-phone iframe { display: block; width: 100%; aspect-ratio: 9 / 17; border: 0; border-radius: 34px; background: #FFF4EA; }
.demo-phone a.cover { position: absolute; inset: 0; z-index: 3; border-radius: 46px; }
.demo-phone .tag { position: absolute; z-index: 4; left: 50%; bottom: -18px; transform: translateX(-50%) rotate(-2deg); white-space: nowrap; }
.demo-phone .stk { z-index: 5; }
.demo-phone .stk.s1 { top: 80px; left: -26px; } .demo-phone .stk.s2 { bottom: 120px; right: -26px; } .demo-phone .stk.s3 { top: -18px; right: -10px; }
body.embed { scrollbar-width: none; } body.embed::-webkit-scrollbar { display: none; }

/* =====================================================================
   Admin portal (.ui), login, shared form fixes, dark mode
   ===================================================================== */
:root { color-scheme: light; }
.craft.ui { color-scheme: light dark; min-height: 100vh; }
.ui-title { font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--k-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ui-main { max-width: 640px; padding-top: 14px; padding-bottom: 130px; }
.ui-main > .stack > *, .ui-main > * + * { margin-top: 14px; }
.ui-h { font-size: 20px; margin: 22px 0 8px; }
.ui-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--k-bg); border-top: 2px solid var(--k-ink); padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); }
.ui-foot > div { max-width: 640px; margin: 0 auto; }
.sec-list { display: grid; gap: 10px; }
.sec-row, .plan-card, .warn-card { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--k-ink); background: var(--k-card); border: 2px solid var(--k-ink); border-radius: 20px; padding: 14px 16px; box-shadow: 0 3px 0 var(--k-ink); min-height: 72px; }
.sec-row:active, .plan-card:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--k-ink); }
.sec-ico { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--k-tint); display: grid; place-items: center; color: var(--k-ink); }
.sec-ico svg { width: 24px; height: 24px; }
.sec-txt { flex: 1; min-width: 0; }
.sec-txt b, .plan-card b { display: block; font-size: 17px; }
.sec-txt small, .plan-card small { display: block; color: var(--k-soft); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sec-go { font-size: 28px; font-weight: 800; color: var(--k-soft); line-height: 1; }
.plan-card > span:first-child { flex: 1; min-width: 0; }
.warn-card { flex-direction: column; align-items: flex-start; gap: 4px; background: var(--k-butter); color: #3A2530; border-style: dashed; box-shadow: none; }
.warn-card span { font-size: 15px; }
.craft .trip-row { background: var(--k-card); border: 2px solid var(--k-ink); box-shadow: 0 3px 0 var(--k-ink); text-decoration: none; color: var(--k-ink); }
.craft .trip-row .thumb { background: var(--k-tint); overflow: hidden; }
.craft .trip-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.craft .photos-edit figure, .craft .add-photo { border: 2px solid var(--k-ink); background: var(--k-tint); color: var(--k-ink); }
.craft .photos-edit figure button { background: var(--k-card); color: var(--k-ink); border: 2px solid var(--k-ink); }
.pf { width: 96px; height: 96px; border-radius: 18px; border: 2px solid var(--k-ink); background: var(--k-tint); overflow: hidden; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.pf img { width: 100%; height: 100%; object-fit: cover; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 99px; border: 2px solid var(--k-ink); background: var(--k-card); }
.seg button { min-height: 44px; border: 0; border-radius: 99px; background: none; color: var(--k-ink); font-weight: 800; cursor: pointer; font-size: 15px; }
.seg button[aria-pressed="true"] { background: var(--k-accent); color: var(--k-accent-ink); }
.stepper { display: inline-flex; align-items: center; gap: 0; border: 2px solid var(--k-ink); border-radius: 99px; overflow: hidden; background: var(--k-card); }
.stepper button { width: 52px; height: 48px; border: 0; background: var(--k-tint); color: var(--k-ink); font-size: 24px; font-weight: 800; cursor: pointer; }
.stepper output { min-width: 56px; text-align: center; font-weight: 800; font-size: 20px; }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 700; min-height: 44px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .sl { flex: none; width: 52px; height: 30px; border-radius: 99px; border: 2px solid var(--k-ink); background: var(--k-card); position: relative; transition: background .2s; }
.switch .sl::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--k-ink); transition: transform .2s; }
.switch input:checked + .sl { background: var(--k-accent); }
.switch input:checked + .sl::after { transform: translateX(22px); }
.switch input:focus-visible + .sl { outline: 3px solid var(--k-accent); outline-offset: 2px; }
.pw { position: relative; display: block; }
.pw .input { padding-right: 76px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 40px; padding: 0 12px; border: 0; border-radius: 12px; background: var(--k-tint); color: var(--k-ink); font-weight: 800; cursor: pointer; }
.small-chip { min-height: 40px; padding: 6px 12px; font-size: 14px; }
.login-card { max-width: 460px; margin: 10px auto 0; padding: 24px; }
.login-strip { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.login-strip > div { flex: 1 1 260px; }
.it-day .dayt-body textarea { min-height: 64px; }
.craft .kpi { background: var(--k-card); border: 2px solid var(--k-ink); }
.craft .table-box { background: var(--k-card); border: 2px solid var(--k-ink); }
.craft th, .craft td { border-color: var(--k-line, var(--hairline)); }
.craft .copybox { border: 2px solid var(--k-ink); }
.craft .picked { background: var(--k-tint); color: var(--k-ink); }
.craft .picked button { background: var(--k-card); color: var(--k-ink); }
.craft .picker-list { background: var(--k-card); border-color: var(--k-ink); }
.craft .picker-list button { color: var(--k-ink); }
.craft .picker-list button:hover, .craft .picker-list button:focus { background: var(--k-tint); }
.craft .muted, .craft .small.muted { color: var(--k-soft); }
.craft .label { color: var(--k-soft); }
/* date inputs: never wider than their box (iOS Safari) */
input[type="date"].input { -webkit-appearance: none; appearance: none; display: block; width: 100%; min-width: 0; max-width: 100%; text-align: left; line-height: 1.2; }
input[type="date"].input::-webkit-date-and-time-value { text-align: left; }
.field { min-width: 0; }
/* sign-up footer: solid, so nothing looks like it overlaps */
.flow-foot2 { background: var(--k-bg); border-top: 2px solid var(--k-ink); }
.flow-card { padding-bottom: 40px; }
/* swipeable themes */
.swiper { margin: 0 -18px; }
.swipe-track { position: relative; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 18px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.swipe-track::-webkit-scrollbar { display: none; }
.swipe-track:focus-visible { outline: 3px solid var(--k-accent); outline-offset: -3px; }
.swipe-slide { flex: 0 0 min(84%, 440px); scroll-snap-align: center; border-radius: 20px; overflow: hidden; border: 2px solid var(--k-ink); box-shadow: 0 5px 0 var(--k-ink); }
.swipe-bar { display: flex; align-items: center; gap: 10px; padding: 0 18px 8px; }
.swipe-name { flex: 1; text-align: center; }
.swipe-name b { display: block; font-family: var(--display); font-size: 22px; }
.swipe-name small { color: var(--k-soft); font-weight: 700; }
.swipe-dots { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 12px 18px 0; }
.swipe-dots button { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--k-ink); cursor: pointer; padding: 0; }
.swipe-dots button[aria-current="true"] { transform: scale(1.35); box-shadow: 0 0 0 2px var(--k-bg), 0 0 0 4px var(--k-ink); }
/* dark mode: the portal, log in and sign-up follow the phone's setting.
   Public sites keep the look the owner chose. */
@media (prefers-color-scheme: dark) {
  .craft.ui { --k-ink: #FFF1EA; --k-soft: #D9C4BD; --k-bg: #1D1418; --k-card: #2B1F25; --k-paper: #33252C; --k-tint: #4A2F3B; --k-accent: #FF8A3D; --k-accent-ink: #1D1418; --k-title: #FFF1EA;
    --k-g: rgba(255, 156, 198, .30); --k-g-base: #3E2247; --k-shadow: rgba(0,0,0,.5); --k-butter: #FFE9A8; --k-line: #4A3940; }
  body:has(.craft.ui) { background: #1D1418; }
  .craft.ui .input { background: var(--k-card); color: var(--k-ink); }
  .craft.ui .input::placeholder { color: #A89089; }
  .craft.ui .hint.ok { color: #8FE0A8; } .craft.ui .hint.bad { color: #FF9C8F; }
  .craft.ui .warn-card { color: #3A2530; }
  .craft.ui .note { color: #3A2530; }
  .craft.ui .swipe-slide { border-color: #FFF1EA; }
  .toast-msg { background: #FFF1EA; color: #1D1418; }
}
.sec-list { grid-template-columns: minmax(0, 1fr); }
.sec-row, .plan-card { min-width: 0; }
.craft.ui .topbar { flex-wrap: nowrap; }
.craft.ui .topbar .k-logo { flex: none; }
@media (max-width: 430px) { .craft.ui .topbar .k-logo { font-size: 0; gap: 0; padding: 4px; } .craft.ui .topbar .k-logo img { margin: 0; } }
@media (max-width: 480px) { .two { grid-template-columns: minmax(0, 1fr); } }
.word-card .say-l { font-family: var(--hand); font-size: 22px; font-weight: 400; opacity: .8; }
.word-card .w { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; word-break: normal; font-size: clamp(32px, 9vw, 60px); }
.show-big .sb-w { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.word-card .w.long { font-size: clamp(28px, 7.4vw, 46px); }
.craft .trip-row .thumb { display: grid; place-items: center; color: var(--k-ink); }
.copybox code { word-break: normal; overflow-wrap: anywhere; min-width: 0; flex: 1; }
.craft.ui .topbar { max-width: 640px; margin: 0 auto; }
.demo-phone .tag { font-size: 16px; padding: 8px 16px; }
.swipe-name small { font-size: 14px; }
/* public site hero: smaller polaroid on phones so the first trip shows sooner */
@media (max-width: 640px) { .craft.site .board { width: min(190px, 52vw); margin: 6px auto 0; } .craft.site .board .pola .cap { font-size: 18px; } }

/* =====================================================================
   Printable trip album (A5 landscape pages)
   ===================================================================== */
.alb-main { max-width: 900px; }
.alb-top { margin: 14px 0 22px; }
.alb-pages { display: grid; gap: 22px; }
.alb-page { position: relative; aspect-ratio: 210 / 148; width: 100%; background: var(--k-paper, #fff); border: 2px solid var(--k-ink); border-radius: 8px; box-shadow: 0 6px 0 var(--k-ink); overflow: hidden; container-type: inline-size; color: var(--k-ink); }
.alb-in { position: absolute; inset: 6cqw 7cqw; display: flex; align-items: center; justify-content: space-between; gap: 5cqw; }
.alb-page .hand { font-size: 4.6cqw; }
.alb-page h1 { font-family: var(--k-display); font-size: 8.4cqw; line-height: 1.02; color: var(--k-title, var(--k-ink)); margin-top: .5cqw; overflow-wrap: anywhere; }
.alb-page h2 { font-family: var(--k-display); font-size: 5.6cqw; line-height: 1.05; margin: 1cqw 0 2.4cqw; }
.alb-sub { font-size: 2.8cqw; font-weight: 700; margin-top: 1.6cqw; color: var(--k-soft); }
.alb-cover { background: var(--k-bg); }
.alb-cover .alb-lid { position: absolute; left: 0; right: 0; top: 0; height: 9cqw; background: repeating-linear-gradient(90deg, var(--k-g) 0 3cqw, transparent 3cqw 6cqw), repeating-linear-gradient(0deg, var(--k-g) 0 3cqw, transparent 3cqw 6cqw), var(--k-g-base); border-bottom: 2px solid var(--k-ink); }
.alb-cover .alb-in { top: 14cqw; }
.alb-cover .alb-in > div:first-child { flex: 1; min-width: 0; }
.alb-pola { flex: none; margin: 0; background: #fff; padding: 1.6cqw 1.6cqw 0; border: 2px solid var(--k-ink); box-shadow: 0 1cqw 0 rgba(0,0,0,.12); transform: rotate(var(--r, 0deg)); width: 38cqw; color: #2A1E24; }
.alb-pola.big { width: 34cqw; }
.alb-pola img { display: block; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; background: #eee; }
.alb-pola figcaption { font-family: var(--hand); font-size: 3.2cqw; text-align: center; padding: 1cqw 0 1.4cqw; line-height: 1.1; }
.alb-pola figcaption small { display: block; font-family: var(--body, inherit); font-size: 1.9cqw; font-weight: 700; opacity: .65; margin-top: .4cqw; }
.alb-two { justify-content: space-around; }
.alb-stamp { flex: none; border: .6cqw dashed var(--k-accent); color: var(--k-accent); border-radius: 50%; width: 30cqw; height: 30cqw; display: grid; place-items: center; text-align: center; font-weight: 800; font-size: 3.6cqw; transform: rotate(-8deg); padding: 3cqw; }
.alb-intro { flex-direction: column; justify-content: center; align-items: stretch; gap: 4cqw; }
.alb-route { display: flex; align-items: center; gap: 2cqw; font-weight: 800; font-size: 3.4cqw; }
.alb-route i { flex: 1; border-top: .5cqw dashed var(--k-accent); position: relative; }
.alb-route i::after { content: "✈"; position: absolute; left: 50%; top: -2.6cqw; font-style: normal; color: var(--k-accent); }
.alb-facts { display: flex; gap: 6cqw; }
.alb-facts small, .alb-day small { display: block; font-size: 1.9cqw; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--k-soft); }
.alb-facts b { font-size: 3.2cqw; }
.alb-intro blockquote { margin: 0; font-family: var(--hand); font-size: 5cqw; line-height: 1.1; color: var(--k-title, var(--k-ink)); }
.alb-day { align-items: flex-start; }
.alb-dn { display: inline-block; background: var(--k-accent); color: var(--k-accent-ink); border-radius: 99px; padding: .6cqw 2cqw; font-weight: 800; font-size: 2.2cqw; }
.alb-day p { font-size: 2.7cqw; line-height: 1.35; margin-bottom: 1.8cqw; }
.alb-back { background: var(--k-bg); }
.alb-back .alb-in { flex-direction: column; justify-content: center; text-align: center; }
.alb-back p { font-size: 2.8cqw; }
.cap .by { display: block; font-family: var(--body, inherit); font-size: 12px; font-weight: 700; opacity: .65; }
@media print {
  @page { size: A5 landscape; margin: 0; }
  body { background: #fff !important; }
  .alb-bar, .alb-top, .fb-line, .toast-msg, .offline-note { display: none !important; }
  .alb-main { max-width: none; padding: 0 !important; margin: 0 !important; }
  .alb-pages { display: block; }
  .alb-page { width: 210mm; height: 148mm; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; break-after: page; page-break-after: always; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .alb-page:last-child { break-after: auto; page-break-after: auto; }
}

/* =====================================================================
   Us two: invites, partner card, join page, captioned photos
   ===================================================================== */
.duo { display: inline-flex; flex: none; }
.duo b { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--k-ink); background: var(--k-tint); color: var(--k-ink); font-family: var(--display); font-size: 20px; }
.duo b + b { margin-left: -12px; background: var(--k-accent); color: var(--k-accent-ink); }
.duo-card { display: flex; align-items: center; gap: 14px; }
.duo-card small { display: block; color: var(--k-soft); font-size: 14px; margin-top: 2px; }
.duo-big { text-align: center; display: grid; justify-items: center; gap: 10px; padding: 24px; }
.duo-big .duo b { width: 64px; height: 64px; font-size: 28px; }
.invite-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--k-ink); background: var(--k-tint); border-style: dashed; }
.invite-card b { font-size: 18px; } .invite-card span:last-child { color: var(--k-soft); font-size: 15px; }
.invite-hero { padding: 22px; }
.ticks { margin: 4px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.join-card { text-align: center; padding: 26px 20px; display: grid; justify-items: center; background: var(--paper, var(--k-card)); }
.join-pola { width: 120px; height: 132px; background: #fff; border: 2px solid var(--k-ink); padding: 8px 8px 24px; transform: rotate(-3deg); box-shadow: 0 4px 0 rgba(0,0,0,.12); margin-bottom: 14px; }
.join-pola img, .join-pola span { width: 100%; height: 100%; object-fit: cover; display: grid; place-items: center; background: var(--k-tint); font-family: var(--display); font-size: 40px; color: var(--k-ink); }
.photos-cap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.photos-cap figure { margin: 0; display: grid; gap: 6px; }
.pc-img { position: relative; aspect-ratio: 1; border: 2px solid var(--k-ink); border-radius: 12px; overflow: hidden; background: var(--k-tint); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-img button { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--k-ink); background: var(--k-card); color: var(--k-ink); font-size: 20px; font-weight: 800; cursor: pointer; }
.pc-by { position: absolute; left: 6px; bottom: 6px; background: var(--k-card); color: var(--k-ink); border: 2px solid var(--k-ink); border-radius: 99px; padding: 2px 10px; font-size: 12px; font-weight: 800; }
.pc-cap { min-height: 42px; padding: 8px 10px; font-size: 16px; }
.photos-cap .add-photo { aspect-ratio: 1; display: grid; place-items: center; border: 2px dashed var(--k-ink); border-radius: 12px; font-weight: 800; cursor: pointer; background: var(--k-card); color: var(--k-ink); }
@media (min-width: 560px) { .photos-cap { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* =====================================================================
   Founder note tool (only on devices with note mode on)
   ===================================================================== */
.rv { font-family: var(--body, system-ui, sans-serif); color: #2A1E24; }
.rv-bar { position: fixed; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 9990; display: flex; gap: 6px; }
body:has(.ui-foot) .rv-bar, body:has(.flow-foot2) .rv-bar, body.has-tabbar .rv-bar { bottom: calc(92px + env(safe-area-inset-bottom)); }
.rv-fab, .rv-count { min-height: 44px; border-radius: 99px; border: 2px solid #2A1E24; background: #FFE36E; color: #2A1E24; font-weight: 800; font-size: 15px; padding: 0 16px; box-shadow: 0 3px 0 #2A1E24; cursor: pointer; }
.rv-count { background: #2A1E24; color: #FFE36E; min-width: 44px; padding: 0 12px; }
.rv-count[hidden] { display: none; }
.rv-hint { position: fixed; left: 50%; top: 12px; transform: translateX(-50%); z-index: 9992; background: #2A1E24; color: #fff; border-radius: 99px; padding: 8px 8px 8px 16px; font-weight: 700; font-size: 14px; display: flex; gap: 10px; align-items: center; white-space: nowrap; box-shadow: 0 4px 16px rgba(0,0,0,.3); }
.rv-hint button { min-height: 36px; border: 0; border-radius: 99px; padding: 0 14px; background: #FFE36E; color: #2A1E24; font-weight: 800; cursor: pointer; }
.rv-box { position: fixed; z-index: 9989; border: 3px solid #FFB800; border-radius: 8px; background: rgba(255, 227, 110, .18); pointer-events: none; transition: all .08s; }
body.rv-picking, body.rv-picking * { cursor: crosshair !important; }
.rv-sheet { position: fixed; inset: 0; z-index: 9995; background: rgba(30, 20, 25, .45); display: flex; align-items: flex-end; justify-content: center; }
.rv-sheet[hidden], .rv-hint[hidden], .rv-box[hidden], .rv-bar[hidden] { display: none !important; }
.rv-card { background: #FFFDF8; width: 100%; max-width: 520px; max-height: 86vh; overflow: auto; border-radius: 22px 22px 0 0; border: 2px solid #2A1E24; border-bottom: 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); display: grid; gap: 12px; }
@media (min-width: 640px) { .rv-sheet { align-items: center; } .rv-card { border-radius: 22px; border-bottom: 2px solid #2A1E24; } }
.rv-where { font-weight: 800; font-size: 15px; overflow-wrap: anywhere; } .rv-where small { display: block; font-weight: 600; color: #6E5A63; font-size: 13px; margin-top: 2px; }
.rv-kinds { display: flex; flex-wrap: wrap; gap: 6px; }
.rv-kinds button { min-height: 40px; padding: 0 14px; border-radius: 99px; border: 2px solid #2A1E24; background: #fff; color: #2A1E24; font-weight: 800; font-size: 14px; cursor: pointer; }
.rv-kinds button[aria-pressed="true"] { background: #2A1E24; color: #FFE36E; }
.rv .input { width: 100%; background: #fff; color: #2A1E24; border: 2px solid #2A1E24; border-radius: 14px; padding: 12px; font: inherit; font-size: 16px; }
.rv-row { display: flex; align-items: center; gap: 10px; } .rv-row span { flex: 1; }
.rv-go { min-height: 46px; padding: 0 20px; border-radius: 99px; border: 2px solid #2A1E24; background: #FF7A1A; color: #2A1E24; font-weight: 800; font-size: 16px; cursor: pointer; box-shadow: 0 3px 0 #2A1E24; }
.rv-go:disabled { opacity: .6; }
.rv-link { min-height: 44px; border: 0; background: none; color: #2A1E24; font-weight: 800; text-decoration: underline; cursor: pointer; font-size: 15px; padding: 0 4px; }
.rv-head { display: flex; align-items: center; justify-content: space-between; font-size: 18px; }
.rv-all { display: flex; gap: 10px; align-items: center; font-weight: 800; min-height: 40px; }
.rv-all input, .rv-item input { width: 22px; height: 22px; accent-color: #FF7A1A; flex: none; }
.rv-list { display: grid; gap: 8px; }
.rv-page { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #6E5A63; margin-top: 6px; overflow-wrap: anywhere; }
.rv-item { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 2px solid #2A1E24; border-radius: 14px; padding: 10px 12px; }
.rv-open { flex: 1; min-width: 0; text-align: left; border: 0; background: none; padding: 0; color: #2A1E24; cursor: pointer; font: inherit; }
.rv-open b { display: block; font-size: 15px; overflow-wrap: anywhere; } .rv-open small { display: block; color: #6E5A63; font-size: 13px; margin-top: 2px; overflow-wrap: anywhere; }
.rv-k { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; border-radius: 99px; padding: 2px 8px; background: #FFE36E; margin-bottom: 4px; }
.rv-k.k-bug { background: #FFB4A8; } .rv-k.k-idea { background: #C9E7FF; } .rv-k.k-design { background: #F6C6E0; } .rv-k.k-copy { background: #D7F0C8; }
.rv-empty, .rv-small { color: #6E5A63; font-size: 14px; }
.rv-pin { position: absolute; z-index: 9988; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #2A1E24; background: #FFE36E; color: #2A1E24; font-weight: 800; font-size: 13px; cursor: pointer; box-shadow: 0 2px 0 #2A1E24; padding: 0; }
@media print { .rv { display: none !important; } }
.table-box select.input { min-width: 112px; }
.rv-go { white-space: nowrap; }

/* embedded demo: scrollable by the visitor, no scrollbar */
body.embed { scrollbar-width: none; } body.embed::-webkit-scrollbar { display: none; }
@media (max-width: 760px) { .k-hero { gap: 22px; padding-top: 18px; } }
/* the main "make my site" button: a little more alive */
.k-btn.cta { position: relative; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; animation: cta-bob 3.2s ease-in-out infinite; }
.k-btn.cta svg { width: 20px; height: 20px; transition: transform .2s ease; }
.k-btn.cta::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); animation: cta-shine 3.2s ease-in-out infinite; pointer-events: none; }
.k-btn.cta:hover { transform: translateY(-2px) rotate(-1deg); } .k-btn.cta:hover svg { transform: translateX(4px); }
.k-btn.cta:active { transform: translateY(3px) scale(.98); box-shadow: 0 1px 0 var(--k-ink); animation: none; }
@keyframes cta-shine { 0%, 55% { left: -60%; } 80%, 100% { left: 130%; } }
@keyframes cta-bob { 0%, 70%, 100% { transform: none; } 78% { transform: translateY(-3px) rotate(-1.2deg); } 86% { transform: translateY(0) rotate(.8deg); } }
@media (prefers-reduced-motion: reduce) { .k-btn.cta, .k-btn.cta::after { animation: none; } }
/* one-calendar date range picker */
.rp { border: 2px solid var(--k-ink); border-radius: 20px; background: var(--k-card, #fff); padding: 12px; color: var(--k-ink); }
.rp-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.rp-pill { text-align: left; border: 2px solid var(--k-ink); border-radius: 14px; background: var(--k-card, #fff); color: var(--k-ink); padding: 8px 10px; cursor: pointer; min-height: 56px; min-width: 0; }
.rp-pill small { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--k-soft); }
.rp-pill b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-pill.on { background: var(--k-tint); box-shadow: 0 3px 0 var(--k-ink); }
.rp-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.rp-nav button { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 2px solid var(--k-ink); background: var(--k-card, #fff); color: var(--k-ink); font-size: 22px; font-weight: 800; cursor: pointer; line-height: 1; }
.rp-month { flex: 1; min-width: 0; min-height: 44px; border: 0; background: none; color: var(--k-ink); font: inherit; font-weight: 800; font-size: 17px; text-align: center; text-align-last: center; cursor: pointer; -webkit-appearance: none; appearance: none; }
.rp-wk, .rp-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; }
.rp-wk span { font-size: 12px; font-weight: 800; color: var(--k-soft); padding: 4px 0; }
.rp-grid { row-gap: 2px; }
.rp-grid button { height: 44px; border: 0; background: none; color: var(--k-ink); font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; border-radius: 12px; }
.rp-grid button:disabled { opacity: .3; cursor: default; }
.rp-grid button.rp-today { text-decoration: underline; text-underline-offset: 3px; }
.rp-grid button.rp-in { background: var(--k-tint); border-radius: 0; }
.rp-grid button.rp-s, .rp-grid button.rp-e { background: var(--k-accent); color: var(--k-accent-ink); border-radius: 12px; box-shadow: inset 0 0 0 2px var(--k-ink); }
.rp-sum { margin-top: 8px; font-size: 15px; color: var(--k-soft); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .rp-sum b { color: var(--k-ink); }
.rp-clear { border: 0; background: none; color: var(--k-ink); font-weight: 800; text-decoration: underline; cursor: pointer; min-height: 36px; font-size: 14px; }
body.embed .craft { padding-top: 34px; }

/* =====================================================================
   Country skins on trip pages
   ===================================================================== */
.lid.has-deco { position: relative; padding-bottom: 66px; }
.skin-deco { position: absolute; left: 0; right: 0; bottom: 14px; width: 100%; height: 44px; pointer-events: none; }
.skin-lanterns, .skin-blossom, .skin-lemons, .skin-palms { height: 58px; bottom: 2px; z-index: 2; }
.skin-lanterns .swing { animation: skin-swing 3.6s ease-in-out infinite alternate; }
.skin-aurora .glow { animation: skin-glow 5s ease-in-out infinite alternate; } .skin-aurora .g2 { animation-delay: -2.5s; }
@keyframes skin-swing { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
@keyframes skin-glow { from { opacity: .25; } to { opacity: .7; } }
.skin-fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 30; }
@media (prefers-reduced-motion: reduce) { .skin-lanterns .swing, .skin-aurora .glow { animation: none; } }

/* =====================================================================
   Mascots, "what my trips say about me", and the Made for… cards
   ===================================================================== */
.mascot { display: block; width: 100%; height: auto; }
.trip-mascot { position: absolute; right: -14px; top: -30px; width: 84px; transform: rotate(8deg); filter: drop-shadow(0 3px 0 rgba(0,0,0,.12)); animation: pet-bob 3.4s ease-in-out infinite; }
@keyframes pet-bob { 0%, 100% { transform: rotate(8deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-4px); } }
.vibe-card { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; background: var(--k-card); border: 2px solid var(--k-ink); border-radius: 24px; padding: 18px; box-shadow: 0 5px 0 var(--k-ink); margin-top: 16px; }
.vibe-pet { text-align: center; } .vibe-pet small { display: block; font-size: 12px; font-weight: 800; color: var(--k-soft); margin-top: 2px; }
.vibe-txt h3 { font-family: var(--k-display); font-size: clamp(28px, 7vw, 38px); line-height: 1; color: var(--k-title, var(--k-ink)); margin: 2px 0 8px; }
.vibe-txt p { color: var(--k-soft); }
.vibe-chips { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vibe-chips li { border: 2px solid var(--k-ink); border-radius: 99px; padding: 4px 12px; font-weight: 800; font-size: 14px; background: var(--k-tint); }
@media (max-width: 480px) { .vibe-card { grid-template-columns: 1fr; text-align: center; } .vibe-pet { width: 110px; margin: 0 auto; } .vibe-chips { justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .trip-mascot { animation: none; } }

.madefor { display: grid; gap: 22px; margin-top: 18px; }
.mf { display: grid; gap: 0; border: 2px solid var(--k-ink); border-radius: 26px; overflow: hidden; box-shadow: 0 6px 0 var(--k-ink); background: var(--k-card); }
@media (min-width: 760px) { .mf { grid-template-columns: 1fr 1fr; align-items: stretch; } .mf-map .mf-art { order: 2; } }
.mf-art { position: relative; min-height: 230px; display: grid; place-items: center; padding: 22px; overflow: hidden; }
.mf-txt { padding: 20px 22px 24px; border-top: 2px dashed var(--k-ink); }
@media (min-width: 760px) { .mf-txt { border-top: 0; display: flex; flex-direction: column; justify-content: center; } }
.mf-txt h3 { font-family: var(--k-display); font-size: 30px; margin: 10px 0 6px; } .mf-txt p { color: var(--k-soft); }
.mf-txt .t-chip { align-self: flex-start; display: inline-block; }
/* couple: two polaroids and a countdown */
.mf-couple .mf-art { background: repeating-linear-gradient(90deg, rgba(255,111,163,.18) 0 18px, transparent 18px 36px), repeating-linear-gradient(0deg, rgba(255,111,163,.18) 0 18px, transparent 18px 36px), #FFF0F5; }
.mf-couple .mf-art { display: flex; gap: 0; justify-content: center; align-items: center; }
.mf-pola { margin: 0 -10px; width: 130px; background: #fff; padding: 8px 8px 0; border: 2px solid var(--k-ink); transform: rotate(var(--r)); box-shadow: 0 4px 0 rgba(58,37,48,.18); }
.mf-shot { display: block; aspect-ratio: 1; padding: 10px; }
.mf-pola figcaption { font-family: var(--hand); font-size: 20px; text-align: center; padding: 4px 0 6px; color: #3A2530; }
.mf-heart { position: absolute; width: 46px; left: 50%; top: 18px; margin-left: -23px; transform: rotate(-8deg); }
.mf-count { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%) rotate(-2deg); background: var(--k-accent); color: var(--k-accent-ink); border: 2px solid var(--k-ink); border-radius: 99px; padding: 6px 14px; font-weight: 800; white-space: nowrap; box-shadow: 0 3px 0 var(--k-ink); }
.mf-count b { font-size: 20px; }
/* map: a passport page */
.mf-map .mf-art { background: #1F3A5F; }
.mf-passport { width: min(280px, 100%); background: #FFF8EA; border: 2px solid var(--k-ink); border-radius: 14px; padding: 16px; text-align: center; transform: rotate(-2deg); box-shadow: 0 5px 0 rgba(0,0,0,.25); }
.mf-pp-title { display: block; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; font-weight: 800; color: #1F3A5F; }
.mf-big { display: block; font-family: var(--k-display); font-size: 64px; line-height: 1; color: #1F3A5F; margin-top: 4px; }
.mf-pp-sub { display: block; font-weight: 800; color: #6E5A63; font-size: 14px; }
.mf-stamps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.mf-stamps span { border: 2.5px dashed var(--c); color: var(--c); border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center; font-weight: 800; font-size: 13px; transform: rotate(var(--r)); }
/* crew: a group chat */
.mf-crew .mf-art { background: #E9F5EE; }
.mf-chat { width: min(300px, 100%); display: grid; gap: 8px; font-size: 15px; }
.mf-chat p { margin: 0; padding: 8px 12px; border-radius: 16px; border: 2px solid var(--k-ink); max-width: 85%; line-height: 1.3; }
.mf-chat small { display: block; font-size: 11px; font-weight: 800; color: #3F7A2A; }
.mf-in { background: #fff; justify-self: start; border-bottom-left-radius: 4px !important; }
.mf-out { background: #C7F2D9; justify-self: end; border-bottom-right-radius: 4px !important; }
.mf-link { justify-self: end; display: flex; gap: 10px; align-items: center; background: #fff; border: 2px solid var(--k-ink); border-radius: 16px; padding: 8px 12px 8px 8px; box-shadow: 0 3px 0 var(--k-ink); }
.mf-link-pic { width: 52px; height: 52px; border-radius: 12px; background: #D3F2FA; display: grid; place-items: center; padding: 4px; flex: none; }
.mf-link b { display: block; } .mf-link small { color: #6E5A63; font-size: 12px; }
.mf-couple .mf-art { padding-bottom: 70px; min-height: 260px; }
/* "your trip is over, make it a book" */
.book-nudge { display: flex; gap: 14px; align-items: center; background: var(--k-butter); color: #3A2530; }
.book-nudge b { display: block; font-size: 18px; line-height: 1.25; }
.book-nudge .muted { color: #6E5A63; display: block; }
.book-nudge .row { display: flex; align-items: center; flex-wrap: wrap; }
.book-pet { width: 84px; flex: none; }
.book-chip { flex: none; font-size: 12px; font-weight: 800; border: 2px solid var(--k-ink); border-radius: 99px; padding: 2px 10px; background: var(--k-butter); color: #3A2530; }
.book-banner { display: block; text-align: center; margin: 4px 0 14px; padding: 12px 16px; border-radius: 16px; border: 2px solid var(--k-ink); background: var(--k-butter); color: #3A2530; font-weight: 700; text-decoration: none; box-shadow: 0 3px 0 var(--k-ink); }
@media (max-width: 420px) { .book-nudge { flex-direction: column; text-align: center; } .book-nudge .row { justify-content: center; } }
.alb-keep { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 3cqw; }
.alb-keep .hand { font-size: 5cqw; color: var(--k-title, var(--k-ink)); }
.alb-lines { flex: 1; background: repeating-linear-gradient(to bottom, transparent 0 6.4cqw, var(--k-soft) 6.4cqw calc(6.4cqw + 1px)); opacity: .5; }
.alb-boxes { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3cqw; }
.alb-boxes i { border: .4cqw dashed var(--k-soft); border-radius: 1.4cqw; }
.alb-keep .alb-stamp { align-self: center; }
