/*
VOICE: produto de viagem comercial, leve e confiante; pouco texto, muita imagem.
IDEA: um atlas de bolso — cartões como postais, mapa como caderno de carimbos.
PICTURE: ilustrações vetoriais de cada destino ocupando cards e heróis; mapa-múndi vivo.
COLOUR and TYPE: azul profundo #183B56 dominante, azul #2878A8 apoio, verde #399B78 acento; superfícies claras sem branco puro. Sora + Inter.
LAYOUT: barra lateral escura, conteúdo até 1240px, cards em grade, empilha abaixo de 720px.
*/
:root {
  color-scheme: light dark;
  --deep: #183B56; --blue: #2878A8; --green: #399B78; --mint: #DDF2E8; --sand: #E9DCC5;
  --bg: var(--ld1);
  --surface: var(--ld2);
  --surface-2: var(--ld3);
  --line: var(--ld4);
  --ink: var(--ld5);
  --ink-2: var(--ld6);
  --accent-ink: var(--ld7);
  --blue-ink: var(--ld8);
  --shadow: 0 1px 2px rgba(16, 40, 56, .06), 0 8px 24px rgba(16, 40, 56, .08);
  --shadow-lg: 0 18px 50px rgba(16, 40, 56, .18);
  --r: 18px; --r-sm: 12px;
  --side: 248px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Sora', 'Inter', system-ui, sans-serif;
}
:root{--ld1:#E8EEEE;--ld2:#F3F6F5;--ld3:#E6ECEB;--ld4:#D3DCDC;--ld5:#202A33;--ld6:#5f6d78;--ld7:#2d7d60;--ld8:#21668f;--ld9:#d6e6ee;--ld10:#d6e6ee;--ld11:#f3f6f5;--ld12:#b9c5c9;--ld13:#4a5560;--ld14:#cad5d8;--ld15:#eef3f2;--ld16:#eef3f2;--ld17:#c3cdd0}
@media (prefers-color-scheme: dark){:root:not([data-theme=light]){--ld1:#0f1a22;--ld2:#172530;--ld3:#1d2e3b;--ld4:#2a3d4b;--ld5:#e6edf1;--ld6:#9fb0bc;--ld7:#6fd0a9;--ld8:#8cc4e6;--ld9:#0d1d29;--ld10:#0d1d29;--ld11:#0d1d29;--ld12:#3a4b57;--ld13:#6b7883;--ld14:#33434f;--ld15:#13212b;--ld16:#13212b;--ld17:#3a4b57}}
:root[data-theme=dark]{--ld1:#0f1a22;--ld2:#172530;--ld3:#1d2e3b;--ld4:#2a3d4b;--ld5:#e6edf1;--ld6:#9fb0bc;--ld7:#6fd0a9;--ld8:#8cc4e6;--ld9:#0d1d29;--ld10:#0d1d29;--ld11:#0d1d29;--ld12:#3a4b57;--ld13:#6b7883;--ld14:#33434f;--ld15:#13212b;--ld16:#13212b;--ld17:#3a4b57}
:root[data-theme=light] { color-scheme: light }
:root[data-theme=dark] { color-scheme: dark }
* { box-sizing: border-box; min-width: 0 }
html { scroll-padding-top: 80px }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); overflow-x: clip; -webkit-font-smoothing: antialiased }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -.01em; text-wrap: balance }
h1 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700 }
h2 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 650 }
h3 { font-size: 17px; font-weight: 650 }
p { margin: 0 }
a { color: inherit }
button, input, select, textarea { font: inherit; color: inherit }
button { cursor: pointer }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 60%, transparent); outline-offset: 2px; border-radius: 8px }
svg { flex: none }
.muted { color: var(--ink-2); font-size: 15px }
.demo-note { color: var(--ink-2); font-size: 13px; display: inline-flex; gap: 6px; align-items: center }
.center { display: flex; justify-content: center; text-align: center; margin: 18px auto }
.mt { margin-top: 22px }

/* ---------- Shell ---------- */
.app { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh }
.sidebar { position: sticky; top: 0; height: 100vh; background: linear-gradient(180deg, #183B56, #14324a); color: #e9f2f7; padding: 22px 16px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto }
.sidebar > a { text-decoration: none }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--deep) }
.logo-light { color: #fff }
.logo-word { font: 800 22px/1 var(--display); letter-spacing: .14em }
.slogan { font-size: 13px; color: #a9c3d4; margin: 4px 0 18px 40px }
.side-link { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; text-decoration: none; color: #c8d9e4; font-weight: 500; transition: background .2s, color .2s }
.side-link:hover { background: rgba(255, 255, 255, .07); color: #fff }
.side-link.is-active { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 3px 0 0 #6fd0a9 }
.side-progress { margin-top: auto; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center; text-align: left; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: #fff; border-radius: 14px; padding: 14px }
.side-progress small { display: block; color: #a9c3d4; font-size: 12.5px }
.side-bar { grid-column: 1 / -1; height: 6px; border-radius: 9px; background: rgba(255, 255, 255, .14); overflow: hidden; margin-top: 6px }
.side-bar i { display: block; height: 100%; background: #6fd0a9; border-radius: 9px }
.main { display: flex; flex-direction: column; min-height: 100vh }
main { flex: 1 }
.foot { text-align: center; font-size: 13px; color: var(--ink-2); padding: 28px 16px 96px }
.banner { background: #fff1cc; color: #5c4400; font-size: 14px; padding: 8px 20px; text-align: center }

.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; padding: 12px clamp(16px, 3vw, 32px); background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line) }
.top-logo { display: none; text-decoration: none }
.m-search { display: none }
.gsearch { position: relative; flex: 1; max-width: 520px; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; color: var(--ink-2) }
.gsearch input { border: 0; background: none; outline: none; height: 44px; width: 100%; font-size: 15.5px; color: var(--ink) }
.top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto }
.loc-btn { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid transparent; background: none; text-align: left }
.loc-btn:hover { background: var(--surface) }
.loc-text { display: flex; flex-direction: column; line-height: 1.15; font-weight: 600; font-size: 14px }
.loc-text small { font-weight: 400; color: var(--ink-2); font-size: 11.5px }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: none; color: var(--ink) }
.icon-btn:hover { background: var(--surface-2) }
.icon-btn.sm { width: 36px; height: 36px }
.badge { position: absolute; top: 6px; right: 6px; min-width: 18px; height: 18px; border-radius: 9px; background: #e2574c; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 4px }
.avatar-btn { border: 0; background: none; padding: 0; border-radius: 50% }
.avatar { border-radius: 50%; object-fit: cover; display: inline-block; flex: none }
.avatar-initials { display: inline-grid; place-items: center; background: linear-gradient(135deg, var(--green), var(--blue)); color: #fff; font-weight: 700; font-family: var(--display) }

.pop-wrap { position: relative }
.popover { position: absolute; top: calc(100% + 8px); right: 0; z-index: 50; min-width: 280px; max-height: 70vh; overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; animation: pop .16s ease-out }
.search-pop { left: 0; right: auto; width: 100% }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) } }
.pop-label { font-size: 12px; font-weight: 600; color: var(--ink-2); padding: 8px 10px 4px }
.pop-row { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; background: none; padding: 10px; border-radius: 10px; min-height: 44px }
.pop-row:hover, .pop-row.is-active { background: var(--surface-2) }
.pop-row small { display: block; color: var(--ink-2); font-size: 12.5px }
.pop-empty, .pop-foot { padding: 10px; font-size: 13.5px; color: var(--ink-2) }
.pop-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px 8px }
.notif-pop { width: 340px }
.notif { display: flex; gap: 10px; text-align: left; width: 100%; border: 0; background: none; padding: 10px; border-radius: 10px }
.notif:hover { background: var(--surface-2) }
.notif small { display: block; color: var(--ink-2); font-size: 13px }
.notif-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 7px; background: transparent; flex: none }
.notif.is-unread .notif-dot { background: var(--blue) }
.link-btn { border: 0; background: none; color: var(--blue-ink); font-weight: 600; font-size: 14px; padding: 6px; display: inline-flex; align-items: center; gap: 6px }
.link-btn.danger, .danger { color: #c2493d !important }

.bottomnav { display: none }

/* ---------- Buttons & controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .15s, background .2s, box-shadow .2s, color .2s; white-space: nowrap }
.btn:hover:not(:disabled) { transform: translateY(-1px) }
.btn:disabled { opacity: .5; cursor: not-allowed }
.btn > span { display: inline-flex; align-items: center; gap: 8px }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 14px; border-radius: 10px }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 16px }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(40, 120, 168, .28) }
.btn-primary:hover:not(:disabled) { background: #22699a }
.btn-accent { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(57, 155, 120, .3) }
.btn-accent:hover:not(:disabled) { background: #2f8868 }
.btn-secondary { background: var(--surface); border-color: var(--line); color: var(--ink) }
.btn-secondary:hover:not(:disabled) { border-color: var(--blue) }
.btn-soft { background: color-mix(in srgb, var(--blue) 12%, var(--surface)); color: var(--blue-ink) }
.btn-ghost { background: none; color: var(--blue-ink) }
.btn-ghost:hover:not(:disabled) { background: var(--surface-2) }
.btn-danger { background: #c2493d; color: #fff }
.btn-glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .3) }
.is-wished svg { fill: currentColor }
.chips { display: flex; flex-wrap: wrap; gap: 8px }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 500; transition: all .15s }
.chip:hover { border-color: var(--blue) }
.chip.is-active { background: var(--deep); border-color: var(--deep); color: #fff }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin: 8px 0 22px }
.tabs::-webkit-scrollbar { display: none }
.tab { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 12px 14px; min-height: 44px; font-weight: 600; font-size: 15px; color: var(--ink-2); border-bottom: 3px solid transparent; white-space: nowrap; flex: none }
.tab:hover { color: var(--ink) }
.tab.is-active { color: var(--deep); border-color: var(--green) }
:root[data-theme=dark] .tab.is-active { color: #fff }
@media (prefers-color-scheme: dark) { :root:not([data-theme=light]) .tab.is-active { color: #fff } }
.tab-count { background: var(--surface-2); border-radius: 999px; padding: 1px 8px; font-size: 12.5px; color: var(--ink-2) }
.field { display: flex; flex-direction: column; gap: 6px }
.field-label { font-size: 13px; font-weight: 600; color: var(--ink-2) }
.field input, .field select, .field textarea, .filters input, .cp-sec textarea { width: 100%; min-height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 10px 12px; font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s }
.field textarea, .cp-sec textarea { resize: vertical; line-height: 1.45 }
.field input:focus, .field select:focus, .field textarea:focus, .cp-sec textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 18%, transparent) }
.field.has-error input, .field.has-error select { border-color: #c2493d }
.field-error { color: #c2493d; font-size: 13px }
.field-hint { color: var(--ink-2); font-size: 12.5px }
.form-grid { display: grid; gap: 14px; margin-bottom: 14px }
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)) }
.check-row { display: flex; align-items: center; gap: 10px; font-size: 15px; min-height: 44px }
.check-row input { width: 20px; height: 20px; accent-color: var(--green) }
.stepper { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); min-height: 44px }
.stepper button { width: 44px; height: 42px; border: 0; background: none; display: grid; place-items: center }
.stepper button:disabled { opacity: .35 }
.stepper output { font-weight: 700 }
.stars { display: inline-flex; gap: 2px; color: #c9d1d4 }
.stars .on { color: #f0b429; fill: #f0b429 }
.stars button { border: 0; background: none; padding: 4px; min-width: 36px; min-height: 36px }
.pill { display: inline-block; font-size: 12.5px; font-weight: 600; background: var(--mint); color: #22654c; border-radius: 999px; padding: 3px 10px }
.pill-glass { background: rgba(255, 255, 255, .2); color: #fff; backdrop-filter: blur(6px) }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; background: var(--surface-2); border-radius: 8px; padding: 4px 9px }
.tag button { border: 0; background: none; padding: 2px; display: grid }
.tag-input { display: flex; flex-wrap: wrap; gap: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 6px }
.tag-input input { border: 0 !important; min-height: 32px !important; padding: 4px 6px !important; flex: 1; min-width: 120px; box-shadow: none !important }
.flag { display: inline-block; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); flex: none; line-height: 0 }
.flag svg { width: 100%; height: 100%; display: block }
.flag-fallback { display: inline-grid; place-items: center; font-size: 10px; font-weight: 700; background: var(--surface-2) }
.meter { display: block; height: 6px; background: var(--surface-2); border-radius: 9px; overflow: hidden; margin-top: 6px; grid-column: 1/-1 }
.meter b { display: block; height: 100%; background: var(--green); border-radius: 9px; transition: width .4s }

/* ---------- Layout primitives ---------- */
.page { width: 100%; max-width: 1240px; margin: 0 auto; padding: clamp(18px, 3vw, 32px) clamp(16px, 3vw, 32px) 24px }
.page-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px }
.page-head .sub { color: var(--ink-2); margin-top: 6px }
.section { margin-top: clamp(34px, 5vw, 56px) }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 16px }
.section-head p { color: var(--ink-2); margin-top: 4px; font-size: 14.5px }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow) }
.card.pad { padding: 20px }
.card.soft { background: color-mix(in srgb, var(--mint) 45%, var(--surface)) }
.h-sm { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 12px }
.h-md { margin-bottom: 16px }
.lead { font-size: 17px; line-height: 1.6 }
.lead.narrow { max-width: 760px; margin: 0 0 22px }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px }
.grid-cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) }
.fade-in, .route-fade { animation: fade .35s ease-out }
@keyframes fade { from { opacity: 0; transform: translateY(6px) } }
.skeleton { border-radius: var(--r); background: linear-gradient(90deg, var(--surface-2), var(--surface), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.1s infinite linear }
@keyframes shimmer { to { background-position: -200% 0 } }
.empty { text-align: center; padding: 48px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink-2) }
.empty h3 { color: var(--ink) }
.empty-ic { width: 60px; height: 60px; border-radius: 18px; background: var(--mint); color: var(--green); display: grid; place-items: center }
.scene { display: block; width: 100%; height: 100%; }

/* ---------- Carousel ---------- */
.carousel { position: relative }
.carousel-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 18px; scroll-padding: 2px }
.carousel-track::-webkit-scrollbar { display: none }
.carousel-item { flex: 0 0 var(--iw); scroll-snap-align: start; min-width: 0 }
.car-btn { position: absolute; top: 38%; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; transition: opacity .2s; z-index: 3 }
.car-btn:disabled { opacity: 0; pointer-events: none }
.car-prev { left: -14px } .car-next { right: -14px }

/* ---------- Home ---------- */
.page-home { max-width: 1300px }
.hero { position: relative; border-radius: 26px; overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; box-shadow: var(--shadow-lg) }
.hero-bg, .hero-slide { position: absolute; inset: 0 }
.hero-slide { opacity: 0; transition: opacity 1.2s ease; transform: scale(1.04) }
.hero-slide.is-on { opacity: 1; animation: kb 8s ease-out forwards }
@keyframes kb { from { transform: scale(1.1) } to { transform: scale(1.02) } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 59, 86, .05) 0%, rgba(24, 59, 86, .35) 45%, rgba(18, 45, 66, .85) 100%); pointer-events: none }
.hero-inner { position: relative; z-index: 2; width: 100%; padding: clamp(22px, 4vw, 44px) }
.hero-kicker { color: #dff2ea; font-weight: 600; font-size: 15px; margin-bottom: 8px }
.hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 52px); max-width: 720px; margin-bottom: 22px; text-shadow: 0 2px 20px rgba(0, 0, 0, .2) }
.hero-search { background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(12px); border-radius: 20px; padding: 14px; box-shadow: var(--shadow-lg); display: grid; gap: 12px }
.hs-main { display: flex; align-items: center; gap: 10px; background: var(--surface-2); border-radius: 14px; padding: 0 16px; color: var(--ink-2) }
.hs-main input { border: 0; background: none; outline: none; height: 52px; width: 100%; font-size: 17px; color: var(--ink) }
.hs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px }
.hs-submit { justify-self: end; min-width: 220px }
.hero-dots { display: flex; align-items: center; gap: 8px; margin-top: 16px }
.hero-dots button { width: 28px; height: 28px; border: 0; background: none; padding: 0; position: relative }
.hero-dots button::after { content: ''; position: absolute; inset: 11px 2px; border-radius: 4px; background: rgba(255, 255, 255, .45) }
.hero-dots button.is-on::after { background: #fff }
.hero-caption { color: #e1ecf2; font-size: 13.5px; margin-left: 6px }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px }
.cat-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); transition: all .2s }
.cat-tile:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow) }
.cat-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--mint); color: #22654c; display: grid; place-items: center; margin-bottom: 6px }
.cat-tile small { color: var(--ink-2); font-size: 13px }
.map-invite { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; gap: 20px; background: linear-gradient(135deg, #183B56, #1f4f6f 60%, #26667a); color: #fff; border-radius: 24px; padding: clamp(24px, 4vw, 44px); overflow: hidden }
.mi-text h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 18px }
.mi-stats { display: flex; gap: 26px; flex-wrap: wrap; margin-bottom: 22px }
.mi-stats span { display: flex; flex-direction: column; font-size: 13.5px; color: #b9d0de }
.mi-stats strong { font: 700 30px/1.1 var(--display); color: #fff }
.mi-actions { display: flex; flex-wrap: wrap; gap: 10px }
.mini-world { width: 100%; height: auto }
.mini-world path { stroke: #1f4a66; stroke-width: .5 }
.mw-n { fill: #3a6582 } .mw-v { fill: #6fd0a9 } .mw-w { fill: #E9DCC5 }

/* ---------- Explore ---------- */
.explore-search { flex: 1; max-width: 460px; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; color: var(--ink-2) }
.explore-search input { border: 0; background: none; outline: none; height: 48px; width: 100%; font-size: 16px; color: var(--ink) }
.explore-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 24px; align-items: start }
.explore-filters { position: sticky; top: 86px; padding: 18px; max-height: calc(100vh - 110px); overflow-y: auto }
.ef-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px }
.filters { display: flex; flex-direction: column; gap: 16px }
.filters-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
.filters .chip { min-height: 36px; padding: 0 12px; font-size: 13.5px }
.results-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap }
.results-count { margin-right: auto; color: var(--ink-2) }
.results-count strong { color: var(--ink); font-size: 18px }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2) }
.sort select { min-height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); padding: 0 10px; font-size: 15px }
.active-chips { margin-bottom: 16px }
.active-chips .chip { min-height: 34px }
.only-mobile { display: none }
.drawer-actions { display: flex; gap: 10px; justify-content: flex-end; position: sticky; bottom: -20px; background: var(--surface); padding: 14px 0 4px; margin-top: 16px }

/* ---------- Destination ---------- */
.dest-hero { position: relative; height: clamp(280px, 42vw, 440px); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg) }
.dest-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(15, 35, 50, .78)); pointer-events: none }
.dest-hero-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(18px, 3vw, 32px); color: #fff }
.dest-hero-text h1 { color: #fff; font-size: clamp(32px, 5vw, 52px) }
.dest-loc { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14.5px; opacity: .95; margin-bottom: 6px }
.dest-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px }
.itin-route { margin-top: 8px; font-size: 16px; opacity: .92 }
.back-btn { position: absolute; top: 16px; left: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .88); color: #1d2b35; font-weight: 600 }
.dest-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 }
.dest-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px }
.dest-facts > div { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; font-weight: 600; font-size: 14.5px }
.dest-facts svg { color: var(--green); margin-top: 2px }
.dest-facts small { display: block; font-weight: 500; color: var(--ink-2); font-size: 12.5px }
.season-bar { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px }
.season-bar span { text-align: center; font-size: 12px; padding: 10px 0; border-radius: 8px; background: var(--surface-2); color: var(--ink-2) }
.season-bar span.on { background: var(--green); color: #fff; font-weight: 600 }
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px }
.tick-list li { position: relative; padding-left: 26px }
.tick-list li::before { content: ''; position: absolute; left: 4px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 35%, transparent) }
.attr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px }
.attr { display: flex; align-items: center; gap: 14px; padding: 16px }
.attr-n { width: 36px; height: 36px; border-radius: 10px; background: var(--deep); color: #fff; display: grid; place-items: center; font: 700 15px var(--display); flex: none }
.stay-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px }
.stay-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--surface-2) }
.stay-list small { display: block; color: var(--ink-2); font-size: 13px }
.price { font-weight: 700; white-space: nowrap; text-align: right }
.price small { display: inline; font-weight: 500 }

/* ---------- Map ---------- */
.map-head { align-items: center }
.map-modes { margin: 0; border: 0 }
.map-modes .tab { border-radius: 10px; border-bottom: 0 }
.map-modes .tab.is-active { background: var(--deep); color: #fff }
.map-shell { padding: 12px; overflow: hidden }
.map-toolbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-bottom: 10px }
.region-chips .chip { min-height: 34px; font-size: 13.5px }
.map-find { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; background: var(--surface); color: var(--ink-2) }
.map-find input { border: 0; outline: none; background: none; height: 40px; font-size: 15px; color: var(--ink); width: 180px }
.map-stage { position: relative; border-radius: 14px; overflow: hidden; background: var(--ld9); touch-action: none; user-select: none }
.world-svg { display: block; width: 100%; height: auto; aspect-ratio: 960/500; cursor: grab }
.world-svg:active { cursor: grabbing }
.ocean { fill: var(--ld10) }
.country { stroke: var(--ld11); stroke-width: .6; vector-effect: non-scaling-stroke; transition: fill .3s; cursor: pointer }
.country:hover { filter: brightness(1.08) saturate(1.1) }
.country.is-sel { stroke: #f0b429; stroke-width: 2 }
.m-none { fill: var(--ld12) }
.m-visited { fill: var(--green) }
.m-wish { fill: #d9b98a }
.m-mono { fill: var(--ld13) }
.mode-mono .country:hover { fill: #2b333a }
.m-st-cont { fill: var(--ld14) }
.m-st-SA { fill: #399B78 } .m-st-EU { fill: #2878A8 } .m-st-AS { fill: #d9894a } .m-st-NA { fill: #8a6bc4 } .m-st-AF { fill: #c9a23a } .m-st-OC { fill: #3fb1c8 }
.cb-SA { background: #399B78 } .cb-EU { background: #2878A8 } .cb-AS { background: #d9894a } .cb-NA { background: #8a6bc4 } .cb-AF { background: #c9a23a } .cb-OC { background: #3fb1c8 }
.dot { fill: #fff; stroke: var(--deep); stroke-width: 1.2; vector-effect: non-scaling-stroke; pointer-events: none }
.marker { cursor: pointer }
.mk-ring { fill: #fff; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)) }
.marker:hover .mk-ring { fill: #f0b429 }
.map-tip { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); background: rgba(24, 59, 86, .9); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; pointer-events: none; white-space: nowrap }
.zoom-ctrl { position: absolute; right: 12px; top: 12px; display: flex; flex-direction: column; background: var(--surface); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden }
.zoom-ctrl button { width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; border-bottom: 1px solid var(--line) }
.zoom-ctrl button:last-child { border-bottom: 0 }
.zoom-ctrl button:hover { background: var(--surface-2) }
.legend { position: absolute; left: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 12px; background: color-mix(in srgb, var(--surface) 92%, transparent); border-radius: 12px; padding: 8px 12px; font-size: 13px; box-shadow: var(--shadow) }
.legend span { display: inline-flex; align-items: center; gap: 6px }
.lg { width: 12px; height: 12px; border-radius: 4px; display: inline-block }
.lg-v { background: var(--green) } .lg-w { background: #d9b98a } .lg-n { background: #b9c5c9 } .lg-m { background: #4a5560 }
.map-note { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; color: var(--ink-2); padding: 10px 4px 2px }
.map-note svg { margin-top: 2px }
.map-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px }
.flag-list { display: flex; flex-wrap: wrap; gap: 8px }
.flag-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 500 }
.flag-chip:hover { border-color: var(--green) }
.flag-chip.wish:hover { border-color: #d9b98a }
.flag-chip.static { cursor: default }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px }
.stat { display: flex; flex-direction: column; gap: 2px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; color: var(--ink-2); font-size: 14px }
.stat strong { font: 700 clamp(26px, 3vw, 34px)/1.1 var(--display); color: var(--ink) }
.stat strong small { font-size: 16px; color: var(--ink-2) }
.stat-accent { background: var(--deep); border-color: var(--deep); color: #b9d0de }
.stat-accent strong { color: #fff }
.stat-accent .meter { background: rgba(255, 255, 255, .15) }
.stat-accent .meter b { background: #6fd0a9 }
.cont-bars { margin-top: 18px; display: grid; gap: 12px }
.cbar { display: grid; grid-template-columns: 190px minmax(0, 1fr) 56px; gap: 12px; align-items: center; font-size: 14.5px }
.cbar i { height: 12px; border-radius: 8px; background: var(--surface-2); overflow: hidden }
.cbar b { display: block; height: 100%; border-radius: 8px; min-width: 2px }
.cbar em { font-style: normal; text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums }

.drawer-scrim { position: fixed; inset: 0; background: rgba(10, 25, 36, .35); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 60 }
.drawer-scrim.is-open { opacity: 1; pointer-events: auto }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: var(--surface); z-index: 61; transform: translateX(105%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; box-shadow: var(--shadow-lg) }
.drawer.is-open { transform: none }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 10px 20px; border-bottom: 1px solid var(--line) }
.drawer-head h2 { font-size: 18px }
.drawer-body { padding: 20px; overflow-y: auto; flex: 1 }
.cpanel { display: grid; gap: 20px }
.cp-head { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center }
.cp-head h3 { font-size: 22px }
.cp-head p { color: var(--ink-2); font-size: 14px }
.status { grid-column: 1/-1; justify-self: start; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); margin-top: 6px }
.st-v { background: var(--mint); color: #22654c } .st-w { background: #f3e5cc; color: #7a5520 }
.cp-actions { display: flex; flex-wrap: wrap; gap: 8px }
.cp-sec h4 { font-size: 14px; color: var(--ink-2); font-family: var(--font); font-weight: 600; margin-bottom: 10px }
.visit-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px }
.visit-list li { display: flex; align-items: center; gap: 10px; background: var(--surface-2); border-radius: 12px; padding: 6px 6px 6px 12px }
.vl-main { flex: 1 }
.vl-main small { display: block; color: var(--ink-2); font-size: 12.5px }
.lvl { font-size: 11.5px; font-weight: 700; color: var(--blue-ink); background: color-mix(in srgb, var(--blue) 12%, transparent); padding: 3px 8px; border-radius: 6px; white-space: nowrap }
.cp-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px }
.cp-photo { position: relative; aspect-ratio: 1; border: 0; padding: 0; border-radius: 12px; overflow: hidden }
.cp-photo img { width: 100%; height: 100%; object-fit: cover }
.cp-photo span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 6px 5px; font-size: 11.5px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); text-align: left }
.mini-list { display: grid; gap: 8px }

/* ---------- Modal ---------- */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(10, 25, 36, .45); display: grid; place-items: center; padding: 16px; animation: fade .2s }
.modal { width: min(520px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-lg); animation: pop .2s }
.modal-wide { width: min(780px, 100%) }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 8px 22px }
.modal-head h2 { font-size: 20px }
.modal-body { padding: 8px 22px 16px; overflow-y: auto }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px 18px; border-top: 1px solid var(--line) }
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none }
.toast { display: flex; align-items: center; gap: 10px; background: #183B56; color: #fff; padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 15px; animation: pop .2s }
.toast-success svg { color: #6fd0a9 } .toast-error { background: #8f2f27 } .toast-info svg { color: #8cc4e6 }

/* ---------- Itinerary ---------- */
.filter-strip { display: grid; gap: 10px; margin-bottom: 20px }
.plan-list { display: grid; gap: 12px }
.plan-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; flex-wrap: wrap }
.pi-main { display: flex; gap: 12px; align-items: center }
.pi-main small { display: block; color: var(--ink-2); font-size: 13px }
.pi-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--mint); color: #22654c; display: grid; place-items: center }
.pi-actions { display: flex; gap: 6px; align-items: center }
.day-strip { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x proximity; scrollbar-width: thin }
.day-pill { flex: none; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; min-width: 92px; padding: 10px 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); line-height: 1.15; position: relative }
.day-pill small { font-size: 11.5px; color: var(--ink-2) }
.day-pill strong { font: 700 22px var(--display) }
.day-pill span { font-size: 12.5px; color: var(--ink-2); max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.day-pill.is-active { background: var(--deep); border-color: var(--deep); color: #fff }
.day-pill.is-active small, .day-pill.is-active span { color: #b9d0de }
.day-pill.is-done::after { content: ''; position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--green) }
.day-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); overflow: hidden }
.day-media { position: relative; min-height: 320px }
.day-media .scene { position: absolute; inset: 0 }
.day-badge { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .9); color: #1d2b35; font-weight: 700; font-size: 13.5px; padding: 6px 12px; border-radius: 999px }
.day-body { padding: clamp(18px, 3vw, 28px); display: flex; flex-direction: column; gap: 16px }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px }
.timeline li { display: grid; grid-template-columns: 52px 20px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 0; position: relative }
.timeline li:not(:last-child)::after { content: ''; position: absolute; left: 69px; top: 34px; bottom: -14px; width: 2px; background: var(--line) }
.tl-time { font: 700 15px var(--display); color: var(--blue-ink); font-variant-numeric: tabular-nums; white-space: nowrap }
.tl-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 3px solid var(--blue); justify-self: center; z-index: 1 }
.tl-main small { display: block; color: var(--ink-2); font-size: 14px }
.timeline li.is-done .tl-main strong { text-decoration: line-through; opacity: .6 }
.timeline li.is-done .tl-dot { border-color: var(--green); background: var(--green) }
.check { width: 40px; height: 40px; border-radius: 12px; border: 2px solid var(--line); background: none; display: grid; place-items: center; color: transparent; transition: all .15s }
.check:hover { border-color: var(--green) }
.check.on { background: var(--green); border-color: var(--green); color: #fff }
.day-extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px }
.day-extras > div { display: flex; gap: 10px; background: var(--surface-2); border-radius: 14px; padding: 12px; font-size: 14.5px }
.day-extras svg { color: var(--green); margin-top: 2px }
.day-extras small { display: block; color: var(--ink-2); font-size: 12.5px; font-weight: 600 }
.day-nav { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: auto }
.route-map svg { width: 100%; height: auto; aspect-ratio: 1.6; border-radius: 14px; display: block }
.route-map .country { cursor: default; stroke-width: .5 }
.route-line { fill: none; stroke: #e2574c; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; stroke-width: 2.5 !important }
.route-dot { fill: #e2574c; stroke: #fff }
.route-n { fill: #fff; font-weight: 700; font-family: var(--display) }
.route-legend { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px }
.route-legend li { display: flex; align-items: center; gap: 8px; background: var(--surface-2); padding: 6px 12px 6px 6px; border-radius: 999px; font-size: 14px }
.route-legend span { width: 24px; height: 24px; border-radius: 50%; background: #e2574c; color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700 }
.route-legend small { color: var(--ink-2) }

/* ---------- Guide ---------- */
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start }
.chat { display: flex; flex-direction: column; height: calc(100vh - 140px); min-height: 520px; overflow: hidden }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line) }
.chat-head h1 { font-size: 19px }
.chat-head p { font-size: 13px; color: var(--ink-2) }
.chat-head .icon-btn { margin-left: auto }
.bot-av { width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(135deg, var(--green), var(--blue)); color: #fff; display: grid; place-items: center; flex: none }
.chat-log { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; background: var(--ld15) }
.msg { max-width: min(640px, 92%); border-radius: 18px; padding: 14px 16px; display: grid; gap: 12px; animation: fade .3s }
.msg-user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px }
.msg-bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px }
.msg-error { border-color: #e7b2ab }
.msg-list strong { font-size: 14px; color: var(--accent-ink) }
.msg-list ul { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 4px; font-size: 15px }
.msg-dests { display: flex; flex-wrap: wrap; gap: 8px }
.msg-itin { display: grid; gap: 8px; max-width: 320px }
.msg-itin > strong { font-size: 14px; color: var(--accent-ink) }
.msg-actions { display: flex; flex-wrap: wrap; gap: 8px }
.cost-table { border-collapse: collapse; width: 100%; font-size: 14.5px }
.cost-table td { padding: 8px 0; border-bottom: 1px solid var(--line) }
.cost-table td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; padding-left: 12px }
.cost-table .total td { font-weight: 700; border-bottom: 0; color: var(--accent-ink) }
.typing { flex-direction: row; display: flex; gap: 5px; padding: 16px }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-2); animation: blink 1s infinite }
.typing i:nth-child(2) { animation-delay: .15s } .typing i:nth-child(3) { animation-delay: .3s }
@keyframes blink { 50% { opacity: .25 } }
.followups { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px 0; scrollbar-width: none }
.followups .chip { flex: none; font-size: 13.5px; min-height: 36px }
.chat-input { display: flex; gap: 10px; padding: 12px 16px 16px }
.chat-input input { flex: 1; min-height: 50px; border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; background: var(--surface); font-size: 16px; outline: none }
.chat-input input:focus { border-color: var(--blue) }
.chat-input .btn { min-height: 50px; width: 54px; padding: 0 }
.guide-side { display: grid; gap: 16px; position: sticky; top: 86px }
.sugg { display: grid; gap: 8px }
.sugg button { text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 10px 12px; font-size: 14.5px; min-height: 44px }
.sugg button:hover { border-color: var(--green); background: color-mix(in srgb, var(--mint) 40%, var(--surface)) }

/* ---------- Diary ---------- */
.page-head.row { align-items: center }
.diary-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 22px }
.diary-bar .tabs { border: 0; margin: 0 }
.timeline-diary section { position: relative; padding-left: 28px; border-left: 2px solid var(--line); margin-left: 8px; padding-bottom: 12px }
.year { font-size: 22px; margin: 0 0 14px -38px; display: flex; align-items: center; gap: 10px }
.year::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px var(--bg) }
.dentry { display: grid; grid-template-columns: 260px minmax(0, 1fr); overflow: hidden; margin-bottom: 16px }
.de-media { position: relative; border: 0; padding: 0; min-height: 190px; background: var(--surface-2) }
.de-media img, .de-media .scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.de-count { position: absolute; right: 10px; bottom: 10px; display: inline-flex; gap: 4px; align-items: center; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 999px }
.de-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px }
.de-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap }
.de-loc { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--ink-2); font-size: 14px; margin-top: 4px }
.de-text { font-size: 15.5px }
.de-tags { display: flex; flex-wrap: wrap; gap: 6px }
.de-actions { display: flex; gap: 4px; margin-top: auto }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px }
.g-item { position: relative; aspect-ratio: 1; border: 0; padding: 0; border-radius: 16px; overflow: hidden; background: var(--surface-2) }
.g-item img, .g-item .scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s }
.g-item:hover img, .g-item:hover .scene { transform: scale(1.06) }
.g-item > span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .62)); color: #fff; text-align: left; display: flex; flex-direction: column }
.g-item small { opacity: .85; font-size: 12.5px }
.photo-edit { display: flex; flex-wrap: wrap; gap: 10px }
.pe-item, .pe-add { width: 92px; height: 92px; border-radius: 14px; overflow: hidden; position: relative }
.pe-item img { width: 100%; height: 100%; object-fit: cover }
.pe-item button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; display: grid; place-items: center }
.pe-add { border: 2px dashed var(--line); background: var(--surface-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 13px; color: var(--ink-2) }
.pe-add:hover { border-color: var(--green); color: var(--accent-ink) }
.lightbox { display: grid; gap: 12px }
.lb-img { position: relative; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; background: #0f1a22 }
.lb-img img, .lb-img .scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain }
.lb-img .scene { object-fit: cover }
.lb-thumbs { display: flex; gap: 8px; overflow-x: auto }
.lb-thumbs button { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; flex: none }
.lb-thumbs button.is-on { border-color: var(--green) }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover }

/* ---------- Account ---------- */
.profile { overflow: hidden; margin-bottom: 18px }
.profile-cover { height: 120px; background: linear-gradient(120deg, #183B56, #2878A8 55%, #399B78) }
.profile-main { display: flex; align-items: flex-end; gap: 18px; padding: 0 22px; margin-top: -48px; flex-wrap: wrap }
.profile-main > .avatar { box-shadow: 0 0 0 5px var(--surface) }
.profile-info { flex: 1; min-width: 220px; padding-top: 54px }
.profile-info .bio { margin-top: 8px; color: var(--ink-2); max-width: 620px }
.profile-main > .btn { margin-bottom: 4px }
.stat-row.in-card { padding: 20px 22px 22px; margin: 0 }
.stat-row.in-card .stat { background: var(--surface-2); border-color: transparent }
.stat-row.in-card .stat:hover { border-color: var(--green) }
.avatar-edit { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap }
.settings { display: grid; gap: 16px; align-content: start }
.status-line { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; padding: 12px; border-radius: 12px }
.status-line.ok { background: var(--mint); color: #22654c }
.status-line.warn { background: #fff1cc; color: #5c4400 }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .guide-layout { grid-template-columns: minmax(0, 1fr) }
  .guide-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 1020px) {
  .explore-layout { grid-template-columns: minmax(0, 1fr) }
  .explore-filters { display: none }
  .only-mobile { display: inline-flex }
  .dest-facts, .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .day-card { grid-template-columns: minmax(0, 1fr) }
  .day-media { min-height: 200px }
}
@media (max-width: 900px) {
  .app { grid-template-columns: minmax(0, 1fr) }
  .sidebar { display: none }
  .top-logo { display: inline-flex }
  .loc-btn .loc-text, .btn-guide span { display: none }
  .btn-guide { width: 44px; padding: 0 }
  .bottomnav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: color-mix(in srgb, var(--surface) 96%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 4px 4px max(4px, env(safe-area-inset-bottom)) }
  .bottomnav button { border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; min-height: 56px; font-size: 11.5px; color: var(--ink-2); border-radius: 12px }
  .bottomnav button span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100% }
  .bottomnav button.is-active { color: var(--blue-ink); background: color-mix(in srgb, var(--blue) 10%, transparent) }
  .toasts { bottom: 84px }
  .map-invite { grid-template-columns: minmax(0, 1fr) }
  .map-lists, .two-col { grid-template-columns: minmax(0, 1fr) }
  .drawer { top: auto; left: 0; width: 100%; max-height: 82vh; border-radius: 22px 22px 0 0; transform: translateY(105%) }
  .drawer.is-open { transform: none }
}
@media (max-width: 720px) {
  .gsearch { display: none }
  .top-actions { gap: 0 }
  .topbar .icon-btn { width: 40px }
  .loc-btn { padding: 0 6px; gap: 2px }
  .loc-btn > svg:last-child { display: none }
  .topbar { gap: 6px; padding-inline: 10px }
  .logo-word { font-size: 19px; letter-spacing: .1em }
  .m-search { display: inline-grid }
  .explore-search { flex-basis: 100%; max-width: none }
  .world-svg { aspect-ratio: 1.1 }
  .map-head .tabs { width: 100% }
  .topbar { justify-content: space-between }
  .hero { min-height: 0; border-radius: 20px }
  .hero-inner { padding-top: 120px }
  .hs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px }
  .hs-submit { justify-self: stretch; min-width: 0 }
  .form-grid.two { grid-template-columns: minmax(0, 1fr) }
  .dentry { grid-template-columns: minmax(0, 1fr) }
  .de-media { min-height: 180px }
  .day-extras { grid-template-columns: minmax(0, 1fr) }
  .cbar { grid-template-columns: 110px minmax(0, 1fr) 48px; font-size: 13px }
  .map-find input { width: 130px }
  .legend { position: static; margin: 8px 0 0; box-shadow: none; background: none; padding: 4px 2px }
  .map-stage { overflow: hidden }
  .zoom-ctrl button { width: 40px; height: 40px }
  .guide-side { grid-template-columns: minmax(0, 1fr) }
  .chat { height: calc(100vh - 150px) }
  .car-btn { display: none }
  .modal-foot .btn { flex: 1 }
  .dest-actions .btn { flex: 1 1 auto }
}
@media (max-width: 420px) {
  .hs-grid { grid-template-columns: minmax(0, 1fr) }
  .dest-facts, .stat-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px }
  .dest-facts > div { padding: 10px; font-size: 13.5px; grid-template-columns: minmax(0, 1fr) }
  .stat { padding: 12px }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important }
}

/* ---------- Social: grupos, chat, comunidade ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0) }
.spin { animation: spin 1s linear infinite } @keyframes spin { to { transform: rotate(360deg) } }
.head-actions { display: flex; gap: 10px; flex-wrap: wrap }
.pub-badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--accent-ink); background: var(--mint); padding: 3px 10px; border-radius: 999px }
.av-stack { display: inline-flex; align-items: center }
.av-stack > span { margin-left: -8px; border-radius: 50%; box-shadow: 0 0 0 2px var(--surface); display: inline-flex }
.av-stack > span:first-child { margin-left: 0 }
.av-more { display: inline-grid !important; place-items: center; background: var(--surface-2); color: var(--ink-2); font-size: 12px; font-weight: 700; border-radius: 50% }
.gcard { display: flex; flex-direction: column; text-align: left; padding: 0; overflow: hidden; transition: transform .2s, box-shadow .2s }
.gcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg) }
.gcard-media { position: relative; aspect-ratio: 16/8; display: block; overflow: hidden }
.gk { position: absolute; left: 12px; top: 12px; display: inline-flex; gap: 5px; align-items: center }
.gcard-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px }
.gcard-body strong { font: 650 17px var(--display) }
.gcard-body small { color: var(--ink-2); font-size: 13.5px }
.ghero { position: relative; height: clamp(220px, 30vw, 300px); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg) }
.ghero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(15, 35, 50, .8)) }
.ghero-text { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(16px, 3vw, 28px); color: #fff; display: flex; flex-direction: column; gap: 8px; align-items: flex-start }
.ghero-text h1 { color: #fff }
.ghero-text .pill { display: inline-flex; gap: 5px; align-items: center }
.ghero .av-stack > span { box-shadow: 0 0 0 2px rgba(255, 255, 255, .8) }
.gchat { display: flex; flex-direction: column; height: min(68vh, 640px); min-height: 420px; overflow: hidden }
.gchat-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); font-weight: 500 }
.online-dot { width: 9px; height: 9px; border-radius: 50%; background: #3cc47c; box-shadow: 0 0 0 3px color-mix(in srgb, #3cc47c 25%, transparent) }
.gchat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 4px; background: var(--ld16) }
.day-sep { text-align: center; margin: 12px 0 6px }
.day-sep span { font-size: 12px; background: var(--surface); color: var(--ink-2); padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line) }
.cmsg { display: flex; align-items: flex-end; gap: 8px; max-width: 78%; margin-top: 8px }
.cmsg.grouped { margin-top: 0 }
.cmsg.mine { align-self: flex-end; flex-direction: row-reverse }
.cmsg-av { width: 32px; flex: none }
.cmsg-bubble { background: var(--surface); border: 1px solid var(--line); border-radius: 16px 16px 16px 6px; padding: 8px 12px 6px; display: flex; flex-direction: column; gap: 4px; min-width: 70px }
.cmsg.mine .cmsg-bubble { background: var(--blue); color: #fff; border-color: var(--blue); border-radius: 16px 16px 6px 16px }
.cmsg-name { font-size: 13px }
.cmsg-bubble p { white-space: pre-wrap; overflow-wrap: anywhere }
.cmsg-time { align-self: flex-end; font-size: 11px; opacity: .65 }
.cmsg-photo { max-width: 260px; width: 100%; border-radius: 10px; display: block }
.cmsg-del { opacity: 0; border: 0; background: none; color: var(--ink-2); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; transition: opacity .15s }
.cmsg:hover .cmsg-del, .cmsg-del:focus-visible { opacity: 1 }
.typing-line { min-height: 22px; padding: 2px 18px; font-size: 13px; color: var(--ink-2); font-style: italic }
.gchat .chat-input { padding-top: 4px }
.gchat .chat-input input { flex: 1; min-height: 48px; border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; background: var(--surface); font-size: 16px; outline: none }
.members { padding: 8px }
.member { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 14px }
.member:hover { background: var(--surface-2) }
.member-main { flex: 1; display: flex; align-items: center; gap: 12px; border: 0; background: none; text-align: left; padding: 0 }
.member-main small { display: block; color: var(--ink-2); font-size: 13px }
.member .pill { display: inline-flex; gap: 4px; align-items: center }
.invite { display: grid; gap: 14px }
.invite-code { display: flex; justify-content: center; gap: 8px }
.invite-code span { width: 46px; height: 56px; display: grid; place-items: center; font: 700 26px var(--display); background: var(--mint); color: #1f5c46; border-radius: 12px }
.invite-row { display: flex; gap: 8px }
.invite-row input { flex: 1; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; background: var(--surface-2); font-size: 14px }
.code-input { text-transform: uppercase; letter-spacing: .3em; font: 700 22px var(--display) !important; text-align: center }
.invite-land { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; max-width: 900px; margin: 0 auto }
.il-media { min-height: 320px; position: relative } .il-media .scene { position: absolute; inset: 0 }
.il-body { padding: clamp(20px, 4vw, 36px); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; justify-content: center }
.il-body .pill { display: inline-flex; gap: 5px; align-items: center }
.feed-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start }
.feed-col { display: flex; flex-direction: column; gap: 16px; max-width: 720px; width: 100% }
.feed-col .tabs { margin: 0 }
.feed-side { display: grid; gap: 16px; position: sticky; top: 86px }
.me-card { display: flex; align-items: center; gap: 12px; border: 0; background: none; padding: 0; text-align: left; margin-bottom: 10px }
.me-card small { display: block; color: var(--blue-ink); font-size: 13px }
.trend { display: grid; gap: 4px }
.trend button { display: flex; justify-content: space-between; align-items: center; gap: 8px; border: 0; background: none; padding: 8px; border-radius: 10px; text-align: left; min-height: 40px }
.trend button:hover { background: var(--surface-2) }
.trend small { color: var(--ink-2); font-size: 12.5px; white-space: nowrap }
.trend-person { justify-content: flex-start !important }
.composer-closed { display: flex; align-items: center; gap: 12px; width: 100%; padding: 18px; text-align: left; color: var(--ink-2); font-size: 15.5px }
.composer-closed:hover { border-color: var(--green) }
.composer-closed svg { color: var(--green) }
.composer { padding: 18px; display: grid; gap: 14px }
.composer .form-grid { margin: 0 }
.composer-foot { display: flex; justify-content: flex-end; gap: 8px }
.post { padding: 16px 18px; display: grid; gap: 12px }
.post-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px }
.post-author { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 0; text-align: left }
.post-author small { display: flex; align-items: center; gap: 4px; color: var(--ink-2); font-size: 12.5px; flex-wrap: wrap }
.post-head .pill { display: inline-flex; gap: 4px; align-items: center; white-space: nowrap }
.pill-tip { background: #fbeccd; color: #7a5520 }
.post-place { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2) }
.post-place .link-btn { padding: 0 }
.post-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15.5px }
.post-photos { display: grid; gap: 4px; border-radius: 14px; overflow: hidden }
.post-photos.n2, .post-photos.n4 { grid-template-columns: 1fr 1fr } .post-photos.n3 { grid-template-columns: 2fr 1fr 1fr }
.post-photos button { border: 0; padding: 0; aspect-ratio: 4/3; background: var(--surface-2) }
.post-photos.n1 button { aspect-ratio: 16/10 }
.post-photos img { width: 100%; height: 100%; object-fit: cover; display: block }
.post-actions { display: flex; gap: 6px; border-top: 1px solid var(--line); padding-top: 8px }
.pa { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0 12px; min-height: 40px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: 14px }
.pa:hover:not(:disabled) { background: var(--surface-2) }
.pa.on { color: #e2574c } .pa.on svg { fill: #e2574c } .pa.on-c { color: var(--blue-ink) }
.comments { display: grid; gap: 10px; background: var(--surface-2); border-radius: 14px; padding: 12px }
.comment { display: flex; gap: 10px; align-items: flex-start }
.comment > div { flex: 1 } .comment small { color: var(--ink-2); font-size: 12px }
.comment p { font-size: 14.5px; overflow-wrap: anywhere }
.comment-form { display: flex; gap: 8px }
.comment-form input { flex: 1; min-height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: var(--surface); font-size: 15px; outline: none }
.person { display: flex; gap: 16px; align-items: center; margin-bottom: 12px }
.person h3 { font-size: 20px }
.person-bio { margin-bottom: 12px }
.person-stats { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); margin-bottom: 12px }
.person-stats strong { color: var(--ink); font-size: 17px }
.person-posts { display: grid; gap: 8px; margin-top: 12px }
.pp { background: var(--surface-2); border-radius: 12px; padding: 10px 12px; display: grid; gap: 6px }
.pp .pill { justify-self: start } .pp p { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden }
@media (max-width: 1020px) { .feed-layout { grid-template-columns: minmax(0, 1fr) } .feed-side { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) } .feed-col { max-width: none } }
@media (max-width: 720px) { .invite-land { grid-template-columns: minmax(0, 1fr) } .il-media { min-height: 180px } .cmsg { max-width: 92% } .gchat { height: calc(100vh - 230px) } .invite-code span { width: 40px; height: 50px; font-size: 22px } .head-actions { width: 100% } .head-actions .btn { flex: 1 } }

/* ---------- Boas-vindas ---------- */
.splash { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 18px }
.splash-bar { width: 140px; height: 4px; border-radius: 4px; background: var(--surface-2); overflow: hidden }
.splash-bar i { display: block; width: 40%; height: 100%; background: var(--green); border-radius: 4px; animation: slide 1.1s ease-in-out infinite }
@keyframes slide { from { transform: translateX(-100%) } to { transform: translateX(250%) } }
.onb { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: var(--bg) }
.onb-art { position: sticky; top: 0; height: 100vh; overflow: hidden }
.onb-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s }
.onb-slide.is-on { opacity: 1; animation: kb 7s ease-out forwards }
.onb-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 59, 86, .15), rgba(18, 45, 66, .82)) }
.onb-art-text { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(24px, 4vw, 48px); color: #fff; display: grid; gap: 10px }
.onb-art-text p { font: 600 clamp(24px, 3vw, 36px)/1.15 var(--display); max-width: 420px }
.onb-art-text span { font-size: 13.5px; color: #cfe0ea }
.onb-panel { display: flex; flex-direction: column; padding: clamp(20px, 4vw, 48px); min-height: 100vh }
.onb-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap }
.onb-logo { display: none }
.onb-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 0 auto }
.onb-steps li { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2) }
.onb-steps li + li::before { content: ''; width: 18px; height: 2px; background: var(--line); margin-right: 2px }
.onb-steps span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-weight: 700; font-size: 12px }
.onb-steps li.is-on span { background: var(--deep); color: #fff }
.onb-steps li.is-done span { background: var(--green); color: #fff }
.onb-steps em { font-style: normal }
.onb-steps li:not(.is-on) em { display: none }
.onb-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 18px; max-width: 520px; width: 100%; margin: 24px auto }
.onb-body h1 { font-size: clamp(32px, 4vw, 46px) }
.onb-lead { color: var(--ink-2); font-size: 17px }
.onb-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px }
.onb-feats > div { display: grid; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px }
.onb-feats span { width: 38px; height: 38px; border-radius: 11px; background: var(--mint); color: #22654c; display: grid; place-items: center; margin-bottom: 4px }
.onb-feats small { color: var(--ink-2); font-size: 13.5px }
.onb-cta { align-self: flex-start }
.onb-fine { font-size: 13px; color: var(--ink-2) }
.onb-invite { display: flex; gap: 10px; align-items: flex-start; background: var(--mint); color: #1f5c46; border-radius: 14px; padding: 12px 14px; font-size: 15px }
.onb-avatar { display: flex; align-items: center; gap: 16px }
.onb-avatar small { display: block; color: var(--ink-2); font-size: 13.5px }
.onb-pic { position: relative; width: 84px; height: 84px; border-radius: 50%; border: 0; padding: 0; background: linear-gradient(135deg, var(--green), var(--blue)); color: #fff; display: grid; place-items: center; font: 700 28px var(--display); flex: none; overflow: visible }
.onb-pic img { width: 100%; height: 100%; object-fit: cover; border-radius: 50% }
.onb-pic > span { display: grid; place-items: center; width: 100%; height: 100% }
.onb-pic i { position: absolute; right: -2px; bottom: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--surface); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow) }
.onb-pic.big { width: 104px; height: 104px; font-size: 34px }
.onb-nav { display: flex; justify-content: space-between; gap: 10px }
.onb-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px }
.onb-cat { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; border-radius: 16px; border: 2px solid var(--line); background: var(--surface); text-align: left; font-weight: 600; transition: all .15s }
.onb-cat svg { color: var(--green) }
.onb-cat:hover { border-color: var(--green) }
.onb-cat.is-on { border-color: var(--green); background: color-mix(in srgb, var(--mint) 60%, var(--surface)) }
.onb-check { position: absolute; top: 10px; right: 10px; color: var(--green) }
.onb-done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px }
.center-chips { justify-content: center }
.onb-final { display: grid; gap: 10px }
@media (max-width: 860px) {
  .onb { grid-template-columns: minmax(0, 1fr) }
  .onb-art { display: none }
  .onb-logo { display: inline-flex }
  .onb-steps { margin: 0 }
  .onb-body { margin: 16px auto }
}
@media (max-width: 420px) { .onb-feats { grid-template-columns: minmax(0, 1fr) } .onb-steps li + li::before { width: 8px } }

/* ---------- Tour ---------- */
.tour { position: fixed; inset: 0; z-index: 200 }
.tour-block { position: fixed; inset: 0 }
.tour-dim { position: fixed; inset: 0; background: rgba(10, 25, 36, .6) }
.tour-spot { position: fixed; border-radius: 16px; box-shadow: 0 0 0 4px rgba(111, 208, 169, .9), 0 0 0 9999px rgba(10, 25, 36, .6); transition: all .35s cubic-bezier(.2, .8, .2, 1); pointer-events: none }
.tour-card { position: fixed; width: min(360px, calc(100vw - 24px)); background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 16px 18px 14px; display: grid; gap: 8px; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s, left .35s, top .35s; z-index: 2 }
.tour-card.is-ready { opacity: 1; transform: none }
.tour-card.is-center { text-align: center; justify-items: center; width: min(420px, calc(100vw - 24px)); padding: 22px }
.tour-head { display: flex; justify-content: space-between; align-items: center; width: 100% }
.tour-count { font-size: 12.5px; font-weight: 700; color: var(--accent-ink) }
.tour-ic { width: 56px; height: 56px; border-radius: 18px; background: var(--mint); color: #22654c; display: grid; place-items: center }
.tour-card h3 { font-size: 19px }
.tour-card p { color: var(--ink-2); font-size: 15px }
.tour-bar { height: 4px; border-radius: 4px; background: var(--surface-2); overflow: hidden; width: 100%; margin-top: 4px }
.tour-bar i { display: block; height: 100%; background: var(--green); transition: width .3s }
.tour-foot { display: flex; justify-content: space-between; gap: 8px; width: 100%; margin-top: 4px }
.locpick { display: grid; gap: 14px }
.locpick-country { position: relative; display: block }
.locpick-country .flag { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); pointer-events: none }
.locpick-country select { padding-left: 42px !important }
.locpick-load { display: flex; align-items: center; gap: 8px }
.locpick-free { display: flex; gap: 8px; align-items: center }
.locpick-free input { flex: 1 }

/* ---------- Atlas 1.1: fotos, cards e carrosséis ---------- */
.photo { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease, transform .6s ease; background: var(--surface-2) }
.photo.is-loaded { opacity: 1 }
.rating { display: inline-flex; gap: 4px; align-items: center; background: rgba(12, 28, 40, .55); color: #fff; font-size: 12.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(8px) }
.rating svg { fill: #f6c344; color: #f6c344 }
.fav { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .88); color: #25343f; display: grid; place-items: center; transition: transform .15s, background .15s; z-index: 3; backdrop-filter: blur(6px) }
.fav:hover { transform: scale(1.08) }
.fav.is-on { color: #e2574c } .fav.is-on svg { fill: #e2574c }
.dcard, .icard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; height: 100%; transition: transform .25s, box-shadow .25s }
.dcard:hover, .icard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg) }
.dcard-media, .icard-media { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; text-decoration: none; color: #fff }
.dcard-media > .scene, .dcard-media > .photo, .icard-media > .scene, .icard-media > .photo { position: absolute; inset: 0; transition: transform .7s ease }
.dcard:hover .dcard-media > *:first-child, .icard:hover .icard-media > *:first-child { transform: scale(1.06) }
.dcard-media::after, .icard-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, transparent 35%, transparent 50%, rgba(8, 22, 32, .78) 100%); pointer-events: none }
.dcard-overlay, .icard-overlay { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; display: flex; flex-direction: column; gap: 2px; text-shadow: 0 1px 8px rgba(0, 0, 0, .35) }
.dcard-overlay strong, .icard-overlay strong { font: 700 20px/1.15 var(--display) }
.dcard-sm .dcard-overlay strong { font-size: 17px }
.dcard-loc { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; opacity: .95 }
.dcard-rating { position: absolute; left: 12px; top: 12px; z-index: 2 }
.dcard-body, .icard-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; flex: 1 }
.dcard-desc { font-size: 14.5px; color: var(--ink-2); line-height: 1.45 }
.dcard-when { display: flex; flex-direction: column; gap: 6px; margin-top: auto }
.dcard-when > span { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-2) }
.dcard-sm .dcard-body { padding: 10px 12px 12px }
.dcard-tags { display: flex; flex-wrap: wrap; gap: 6px }
.mini-tag { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2) }
.mini-tag.budget { background: var(--mint); color: #22654c }
.mbar { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; width: 100% }
.mbar i { font-style: normal; font-size: 10px; text-align: center; line-height: 18px; height: 18px; border-radius: 5px; background: var(--surface-2); color: var(--ink-2) }
.mbar i.on { background: var(--green); color: #fff; font-weight: 700 }
.mbar-c { gap: 2px } .mbar-c i { height: 8px; line-height: 8px; border-radius: 3px }
.dcard-lg { position: relative; height: 100%; min-height: 420px; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s }
.dcard-lg:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg) }
.dl-link { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none }
.dl-media { position: absolute; inset: 0 }
.dl-media > * { position: absolute; inset: 0; transition: transform .8s ease }
.dcard-lg:hover .dl-media > * { transform: scale(1.06) }
.dl-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1), transparent 30%, transparent 42%, rgba(8, 22, 32, .88)) }
.dl-top { position: absolute; left: 14px; top: 14px }
.dl-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; display: flex; flex-direction: column; gap: 6px }
.dl-loc { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; opacity: .95 }
.dl-text strong { font: 700 26px/1.1 var(--display); text-shadow: 0 2px 14px rgba(0, 0, 0, .3) }
.dl-desc { font-size: 14.5px; opacity: .9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden }
.dl-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; flex-wrap: wrap }
.dl-when { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(8px); max-width: 100% }
.dl-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; background: #fff; color: var(--deep); padding: 7px 12px; border-radius: 999px; transition: gap .2s }
.dcard-lg:hover .dl-go { gap: 10px }
.icard-cat { align-self: flex-start; font-size: 11.5px; font-weight: 700; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .3); padding: 2px 9px; border-radius: 999px; backdrop-filter: blur(6px); margin-bottom: 4px }
.icard-days { position: absolute; left: 12px; top: 12px; z-index: 2; display: flex; flex-direction: column; align-items: center; line-height: 1; background: var(--surface); color: var(--ink); border-radius: 12px; padding: 6px 10px; font-size: 11px; box-shadow: var(--shadow) }
.icard-days strong { font: 700 20px var(--display) }
.route-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 600 }
.route-chips li { display: inline-flex; align-items: center; gap: 4px }
.route-chips svg { color: var(--ink-2) }
.route-chips span { background: var(--surface-2); padding: 3px 9px; border-radius: 8px }
.icard-meta { display: flex; flex-direction: column; gap: 4px; margin-top: auto; font-size: 13px; color: var(--ink-2) }
.icard-meta span { display: flex; gap: 6px; align-items: center }
.icard-meta em { font-style: normal; font-size: 11.5px; opacity: .8 }
.icard-compact .icard-media { aspect-ratio: 16/9 }
.mini-dest { display: flex; align-items: center; gap: 10px; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 6px 12px 6px 6px; min-height: 52px }
.mini-dest:hover { border-color: var(--blue) }
.mini-dest small { display: block; color: var(--ink-2); font-size: 12.5px }
.mini-thumb { position: relative; width: 42px; height: 42px; border-radius: 10px; overflow: hidden; flex: none }
.mini-thumb > * { position: absolute; inset: 0 }
.carousel.fade-r .carousel-track { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent) }
.carousel.fade-l .carousel-track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%); mask-image: linear-gradient(90deg, transparent, #000 12%) }
.carousel.fade-l.fade-r .carousel-track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent) }
.car-dots { display: flex; justify-content: center; gap: 6px; margin-top: 2px }
.car-dots button { width: 22px; height: 22px; border: 0; background: none; padding: 0; position: relative }
.car-dots button::after { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 4px; transform: translate(-50%, -50%); background: var(--line); transition: width .25s, background .25s }
.car-dots button.is-on::after { width: 22px; background: var(--green) }
.car-btn { top: calc(50% - 30px) }

/* Página do destino: galeria */
.dgal { position: relative; height: clamp(300px, 46vw, 500px); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; background: var(--surface-2) }
.dgal.is-mosaic { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) }
.dgal-main { position: relative; border: 0; padding: 0; overflow: hidden; cursor: zoom-in }
.dgal-main:disabled { cursor: default }
.dgal-main > * { position: absolute; inset: 0 }
.dgal-side { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px }
.dgal-cell { border: 0; padding: 0; overflow: hidden; cursor: zoom-in }
.dgal-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s }
.dgal-cell:hover img, .dgal-main:hover:not(:disabled) > * { transform: scale(1.04) }
.dgal-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .15), transparent 25%, transparent 45%, rgba(12, 30, 44, .82)); pointer-events: none }
.dgal .dest-hero-text { pointer-events: none; max-width: 760px }
.dgal .dest-hero-text .pill { pointer-events: auto }
.dgal-all { position: absolute; right: 16px; bottom: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; border: 0; background: rgba(255, 255, 255, .92); color: #1d2b35; font-weight: 700; font-size: 14px; padding: 9px 14px; border-radius: 999px; box-shadow: var(--shadow) }
.dgal-credit { position: absolute; right: 16px; top: 16px; z-index: 3; font-size: 11.5px; color: #fff; background: rgba(0, 0, 0, .4); padding: 3px 9px; border-radius: 999px; backdrop-filter: blur(4px) }
.lbx { position: fixed; inset: 0; z-index: 300; background: rgba(6, 14, 20, .96); color: #fff; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: fade .2s }
.lbx-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-size: 15px }
.lbx-stage { position: relative; display: grid; place-items: center; padding: 0 64px; min-height: 0 }
.lbx-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; animation: fade .3s }
.lbx-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center }
.lbx-btn:hover { background: rgba(255, 255, 255, .22) }
.lbx-prev, .lbx-next { position: absolute; top: 50%; transform: translateY(-50%) } .lbx-prev { left: 10px } .lbx-next { right: 10px }
.lbx-foot { padding: 10px 16px 16px; display: grid; gap: 10px; justify-items: center }
.lbx-credit { font-size: 13px; color: #b9c8d2; min-height: 18px }
.lbx-thumbs { display: flex; gap: 8px; overflow-x: auto; max-width: 100% }
.lbx-thumbs button { width: 64px; height: 48px; flex: none; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; opacity: .6 }
.lbx-thumbs button.is-on { border-color: #6fd0a9; opacity: 1 }
.lbx-thumbs img { width: 100%; height: 100%; object-fit: cover }
.locator { margin: 0 }
.locator svg { width: 100%; height: auto; aspect-ratio: 1.4; border-radius: 14px; display: block }
.locator .country { cursor: default; stroke-width: .5 }
.locator figcaption { font-size: 13.5px; color: var(--ink-2); margin-top: 8px }
.loc-dot { fill: #e2574c; stroke: #fff }
.loc-pulse { fill: #e2574c; opacity: .25; animation: pulse 2s ease-out infinite; transform-box: fill-box; transform-origin: center }
@keyframes pulse { from { transform: scale(.6); opacity: .45 } to { transform: scale(2.2); opacity: 0 } }

/* Fotos: gerenciamento */
.pm-meter { height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; margin: 4px 0 16px }
.pm-meter i { display: block; height: 100%; background: var(--green); border-radius: 8px; transition: width .4s }
.pm-bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); margin-bottom: 10px }
.pm-bar .tabs { border: 0; margin: 0 }
.pm-bar .explore-search { max-width: 280px }
.pm-list { display: grid; gap: 14px; margin-top: 14px }
.pm-row { padding: 14px }
.pm-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px }
.pm-title { display: flex; align-items: center; gap: 8px; margin-right: auto }
.pm-title small { color: var(--ink-2) }
.pm-busy { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2) }
.pm-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px }
.pm-empty { position: relative; width: 180px; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; flex: none }
.pm-empty .scene { position: absolute; inset: 0; opacity: .7 }
.pm-empty span { position: absolute; left: 8px; bottom: 8px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .9); color: #1d2b35; padding: 3px 8px; border-radius: 999px }
.pm-photo { position: relative; width: 200px; flex: none; margin: 0; display: grid; gap: 6px }
.pm-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; display: block }
.pm-photo.is-cover img { outline: 3px solid var(--green); outline-offset: -3px }
.pm-cover { position: absolute; left: 8px; top: 8px; display: inline-flex; gap: 4px; align-items: center; background: var(--green); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px }
.pm-tools { position: absolute; right: 6px; top: 6px; display: flex; gap: 4px }
.pm-tools button { width: 30px; height: 30px; border-radius: 8px; border: 0; background: rgba(255, 255, 255, .92); color: #1d2b35; display: grid; place-items: center }
.pm-tools button:disabled { opacity: .4 }
.pm-tools button.danger { color: #c2493d }
.pm-credit { min-height: 34px; border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; font-size: 13px; background: var(--surface) }
.pm-photo figcaption { font-size: 12px; color: var(--ink-2) }
.bulk-intro { display: grid; gap: 12px; justify-items: start }
.bulk-list { display: grid; gap: 6px; max-height: 50vh; overflow-y: auto }
.bulk-item { display: grid; grid-template-columns: auto minmax(0, 1fr) 200px; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 10px; background: var(--surface-2) }
.bulk-name { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.bulk-item select { min-height: 38px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); padding: 0 8px }
.bulk-item .ok { color: var(--green) } .bulk-item .warn { color: #c9792b }
@media (max-width: 720px) {
  .dgal.is-mosaic { grid-template-columns: minmax(0, 1fr) } .dgal-side { display: none }
  .dcard-lg { min-height: 380px }
  .lbx-stage { padding: 0 8px } .lbx-prev, .lbx-next { display: none }
  .bulk-item { grid-template-columns: auto minmax(0, 1fr); } .bulk-item select { grid-column: 1 / -1 }
}
.gcard-media > .photo, .ghero > .photo, .il-media > .photo, .day-media > .photo, .dest-hero > .photo, .hero-slide > .photo, .onb-slide > .photo { position: absolute; inset: 0 }
@media (max-width: 720px) { .dgal-all { top: 16px; bottom: auto; right: 16px; font-size: 13px; padding: 7px 12px } .dgal-credit { display: none } }

/* ---------- Atlas 1.2: mapa do Brasil ---------- */
.map-head-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end }
.crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; font-size: 14.5px; color: var(--ink-2) }
.crumbs button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-weight: 600; color: var(--blue-ink) }
.crumbs button:hover { border-color: var(--blue) }
.crumbs strong { color: var(--ink); padding: 6px 4px }
.br-stats { margin-bottom: 14px }
.uf-chip { min-height: 32px !important; padding: 0 9px !important; font-size: 12.5px !important; font-weight: 700 }
.uf-chip.is-v { background: var(--mint); border-color: var(--green); color: #1f5c46 }
.br-find { position: relative }
.find-pop { left: 0; right: auto; min-width: 260px; top: calc(100% + 6px) }
.br-0 { fill: var(--ld17) }
.br-l1 { fill: #bfe3cf } .br-l2 { fill: #7cc7a2 } .br-l3 { fill: #4fae84 } .br-l4 { fill: #2b8a63 }
.lg.br-l1 { background: #bfe3cf } .lg.br-l2 { background: #7cc7a2 } .lg.br-l4 { background: #2b8a63 }
.country.muni { stroke-width: .35 }
.uf-label { fill: #fff; font-weight: 800; text-anchor: middle; dominant-baseline: middle; pointer-events: none; paint-order: stroke; stroke: rgba(20, 40, 55, .55); stroke-width: 2.5px; font-family: var(--display) }
.map-tip small { opacity: .8 }
.map-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; background: color-mix(in srgb, var(--surface) 70%, transparent); font-weight: 600 }
.uf-badge, .city-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--deep); color: #fff; display: grid; place-items: center; font: 800 18px var(--display) }
.city-ic { background: var(--mint); color: #22654c }
.uf-meter { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2) }
.uf-meter strong { color: var(--ink); font-size: 18px }
.uf-meter i { height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden }
.uf-meter b { display: block; height: 100%; background: var(--green); border-radius: 8px }
.city-form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap }
.city-form .field { flex: 1; min-width: 160px }
.br-cta { background: color-mix(in srgb, var(--mint) 45%, var(--surface)); border-radius: 14px; padding: 14px; display: grid; gap: 8px }
.cbr-1 { background: #3fb1c8 } .cbr-2 { background: #d9894a } .cbr-3 { background: #2878A8 } .cbr-4 { background: #8a6bc4 } .cbr-5 { background: #399B78 }
.uf-select { display: none; min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); padding: 0 12px; font-size: 16px; width: 100% }
@media (max-width: 720px) {
  .br-view .region-chips { display: none }
  .uf-select { display: block }
  .br-view .map-find { width: 100% } .br-view .map-find input { width: 100% }
  .br-view .world-svg { aspect-ratio: 1 }
  .map-head-actions { justify-content: flex-start }
}

/* ---------- Atlas 1.4: guia com IA ---------- */
.mode-switch { display: inline-flex; background: var(--surface-2); border-radius: 12px; padding: 3px; margin-left: auto }
.mode-switch button { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; padding: 6px 10px; border-radius: 9px; font-weight: 700; font-size: 13px; color: var(--ink-2); min-height: 34px }
.mode-switch button.is-on { background: var(--surface); color: var(--deep); box-shadow: var(--shadow) }
.mode-switch button:disabled { opacity: .45 }
.chat-head .icon-btn { margin-left: 0 }
.md { display: grid; gap: 8px; font-size: 15px }
.md .md-h { font: 650 16px var(--display); margin-top: 4px; color: var(--accent-ink) }
.md ul, .md ol { margin: 0; padding-left: 20px; display: grid; gap: 4px }
.caret { display: inline-block; width: 8px; height: 16px; background: var(--green); border-radius: 2px; animation: blink 1s infinite }
.ai-badge { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--ink-2) }
.msg-ai { max-width: min(700px, 94%) }
.typing span { margin-left: 6px; font-size: 13px; color: var(--ink-2) }
.compare-table th { text-align: left; font-size: 13px; color: var(--accent-ink); padding: 6px 0 }
.compare-table td:not(:first-child) { text-align: left !important; white-space: normal !important; padding-left: 10px; font-size: 14px }
.compare-table td:first-child { font-weight: 600; color: var(--ink-2); font-size: 13px; white-space: nowrap }
.plan-custom { flex-wrap: wrap }
.pi-ic.ai { background: linear-gradient(135deg, var(--green), var(--blue)); color: #fff }
.plan-md { width: 100%; border-top: 1px solid var(--line); padding-top: 12px }

/* ---------- Atlas 1.3 e 1.5 ---------- */
.country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px }
.ccard { display: flex; flex-direction: column; padding: 0; overflow: hidden; text-align: left; transition: transform .2s, box-shadow .2s }
.ccard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg) }
.ccard-media { position: relative; aspect-ratio: 16/9; display: block; overflow: hidden }
.ccard-media > * { position: absolute; inset: 0 }
.ccard-body { padding: 12px 14px 14px; display: grid; gap: 4px }
.ccard-name { display: flex; align-items: center; gap: 8px; font: 650 16px var(--display) }
.ccard-body small { color: var(--ink-2); font-size: 13px }
.rec-wrap { display: flex; flex-direction: column; gap: 8px; height: 100% }
.rec-wrap > .dcard { flex: 1 }
.rec-why { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--accent-ink); background: var(--mint); padding: 3px 10px; border-radius: 999px }
.diary-stats { margin-bottom: 14px }
.diary-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 8px }
.diary-filters .explore-search { max-width: 420px }
.ach-sum { margin-bottom: 12px }
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px }
.ach { padding: 16px; display: grid; gap: 6px; opacity: .78 }
.ach.is-done { opacity: 1; border-color: var(--green); background: color-mix(in srgb, var(--mint) 35%, var(--surface)) }
.ach-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2) }
.ach.is-done .ach-ic { background: linear-gradient(135deg, #f6c344, #e0a43a); color: #fff }
.ach small { color: var(--ink-2); font-size: 13px }
.ach-bar { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden }
.ach-bar i { display: block; height: 100%; background: var(--green) }
.ach em { font-style: normal; font-size: 12px; color: var(--ink-2); justify-self: end }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px }

/* ---------- Login ---------- */
.auth-body { gap: 14px }
.auth-body .tabs { margin: 0 }
.auth-input { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 0 6px 0 12px; color: var(--ink-2) }
.auth-input:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 18%, transparent) }
.auth-input input { border: 0 !important; box-shadow: none !important; padding-left: 0 !important; flex: 1; background: none !important }
.auth-err { color: #c2493d; font-size: 14.5px; background: #fbe9e6; padding: 10px 12px; border-radius: 10px }
.auth-info { display: flex; gap: 8px; align-items: flex-start; color: #1f5c46; font-size: 14.5px; background: var(--mint); padding: 10px 12px; border-radius: 10px }
.auth-body .link-btn { align-self: center }
