/* UsGo! components */

/* ---------- Buttons ---------- */
.btn { --b: var(--blue); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap; transition: transform .18s var(--ease), background .2s, border-color .2s, box-shadow .2s, color .2s; user-select: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--sh-blue); }
.btn-primary:hover { background: var(--blue-600); }
.btn-accent { background: var(--marigold); color: var(--navy); }
.btn-accent:hover { background: #FFC04D; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-3); }
.btn-outline { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-quiet { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-quiet:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { background: transparent; color: var(--blue); padding: 0 14px; }
.btn-ghost:hover { background: var(--blue-50); }
.btn-light { background: #fff; color: var(--navy); }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .4); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .22); }
.btn-danger { background: #fff; border-color: #F3C2C8; color: var(--bad); }
.btn-danger:hover { background: var(--bad-50); }
.btn-success { background: var(--ok); color: #fff; }
.btn-success:hover { background: #0E7540; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-icon { width: 42px; padding: 0; }
.btn-sm.btn-icon { width: 36px; }
.save-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; background: rgba(255, 255, 255, .92); border: 0; color: var(--ink); box-shadow: var(--sh-1); transition: transform .2s; }
.save-btn:hover { transform: scale(1.08); }
.save-btn[aria-pressed="true"] { color: #E0245E; }
.save-btn[aria-pressed="true"] .i { fill: currentColor; }

/* ---------- Chips & badges ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; }
.chip-blue { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-700); }
.chip-teal { background: var(--teal-50); border-color: #BDE8E6; color: var(--teal-600); }
button.chip { cursor: pointer; }
.chip-toggle[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font: 700 12px/1.2 var(--body); letter-spacing: .02em; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.no-dot::before { display: none; }
.badge-pending { background: var(--warn-50); color: var(--warn); }
.badge-accepted, .badge-reviewed, .badge-published { background: var(--ok-50); color: var(--ok); }
.badge-declined { background: var(--bad-50); color: var(--bad); }
.badge-withdrawn, .badge-cancelled, .badge-hidden, .badge-draft { background: #EEF0F5; color: #5E6886; }
.badge-open, .badge-submitted { background: var(--info-50); color: var(--blue-700); }
.badge-tag { background: #EFE9FF; color: #5B35C9; }
.badge-local { background: var(--teal-50); color: var(--teal-600); }
.badge-on-img { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(10, 20, 51, .72); color: #fff; backdrop-filter: blur(6px); }

/* ---------- Avatars ---------- */
.avatar { --s: 44px; width: var(--s); height: var(--s); border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font: 700 calc(var(--s) * .38)/1 var(--body); background: var(--blue); overflow: hidden; letter-spacing: -.02em; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-xs { --s: 28px; } .avatar-sm { --s: 36px; } .avatar-lg { --s: 64px; } .avatar-xl { --s: 104px; }
.avatar-stack { display: flex; }
.avatar-stack .avatar { border: 2px solid #fff; margin-left: -8px; }
.avatar-stack .avatar:first-child { margin-left: 0; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 24px; }
.card-soft { background: var(--bg); border-color: transparent; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); }
.card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: 16px; }
.card-icon.teal { background: var(--teal-50); color: var(--teal-600); }
.card-icon.gold { background: var(--marigold-50); color: var(--marigold-600); }

.media { position: relative; overflow: hidden; background: linear-gradient(135deg, #DDE3F5, #EEF1F8); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.media .save-btn { position: absolute; top: 12px; right: 12px; z-index: 2; }

.listing { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; transition: box-shadow .25s, transform .25s var(--ease), border-color .25s; }
.listing:hover { box-shadow: var(--sh-2); transform: translateY(-3px); border-color: transparent; }
.listing:hover .media img { transform: scale(1.04); }
.listing .media { aspect-ratio: 3 / 2; }
.listing-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.listing-title { font: 700 18px/1.25 var(--display); color: var(--ink); letter-spacing: -.015em; }
.listing-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.listing .save-btn, .listing .btn, .listing button, .listing .card-actions { position: relative; z-index: 2; }
.listing .media .save-btn { position: absolute; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 14px; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta .i { width: 16px; height: 16px; color: var(--faint); }
.route { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); font-size: 14.5px; }
.route .i { color: var(--blue); width: 16px; height: 16px; }
.listing-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.price { font: 700 19px/1 var(--display); color: var(--ink); }
.price small { font: 500 13px var(--body); color: var(--muted); }
.host-line { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.host-line strong { color: var(--ink); }
.seats { font-size: 13px; font-weight: 700; color: var(--teal-600); }
.seats.low { color: var(--warn); } .seats.none { color: var(--bad); }
.desc-clamp { color: var(--muted); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Destination tiles */
.dest-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.dest-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.dest { position: relative; display: block; border-radius: var(--r-m); overflow: hidden; aspect-ratio: 4 / 5; scroll-snap-align: start; isolation: isolate; color: #fff; box-shadow: var(--sh-1); }
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.dest::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 20, 51, 0) 40%, rgba(10, 20, 51, .85) 100%); }
.dest:hover img { transform: scale(1.06); }
.dest-text { position: absolute; left: 16px; right: 16px; bottom: 16px; }
.dest-text strong { display: block; font: 700 22px/1.1 var(--display); letter-spacing: -.02em; }
.dest-text span { font-size: 13.5px; opacity: .88; }
.dest-count { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, .92); color: var(--navy); font: 700 12px/1 var(--body); padding: 6px 10px; border-radius: 999px; }

/* Person cards */
.person { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 20px; transition: box-shadow .25s, transform .25s var(--ease); position: relative; }
.person:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.person-top { display: flex; gap: 14px; align-items: center; }
.person-top h3 { font-size: 18px; margin: 0; }
.person-top p { color: var(--muted); font-size: 14px; }
.person-plan { background: var(--bg); border-radius: 12px; padding: 10px 12px; font-size: 14px; display: grid; gap: 4px; }
.person-plan strong { color: var(--ink); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { color: var(--ink); font-weight: 600; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 7px; }
.field > label, .label { font-weight: 600; font-size: 14px; color: var(--ink); }
.field .hint { font-size: 13px; color: var(--muted); }
.req { color: var(--bad); }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-s); background: #fff; font-size: 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E6886' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.input:hover, .select:hover, .textarea:hover { border-color: #B9C2D9; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 63, 239, .14); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--bad); box-shadow: 0 0 0 4px rgba(194, 40, 58, .1); }
.error-text { color: var(--bad); font-size: 13px; font-weight: 600; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.input-icon { position: relative; }
.input-icon .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.input-icon .input, .input-icon .select { padding-left: 42px; }
.chip-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.form-section { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px; }
.form-section + .form-section { margin-top: 20px; }
.form-section > h2 { font-size: 22px; margin-bottom: 4px; }
.form-section > p.muted { margin-bottom: 20px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; margin-top: 24px; }
.upload-zone { display: block; border: 2px dashed var(--line-2); border-radius: var(--r-m); padding: 24px; text-align: center; color: var(--muted); background: var(--bg); cursor: pointer; transition: border-color .2s, background .2s; }
.upload-zone:hover, .upload-zone:focus-within { border-color: var(--blue); background: var(--blue-50); }
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.thumb { position: relative; width: 96px; height: 72px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(10, 20, 51, .75); color: #fff; display: grid; place-items: center; }
.thumb .i { width: 14px; height: 14px; }

/* ---------- Search panel ---------- */
.search-panel { background: #fff; border-radius: var(--r-l); box-shadow: var(--sh-3); padding: 10px; display: grid; grid-template-columns: 1.1fr 1.1fr .9fr .9fr .7fr .9fr auto; gap: 4px; align-items: stretch; position: relative; z-index: 3; }
.sp-field { display: grid; gap: 2px; padding: 10px 16px; border-radius: 18px; transition: background .2s; position: relative; min-width: 0; }
.sp-field:hover, .sp-field:focus-within { background: var(--bg); }
.sp-field + .sp-field::before { content: ""; position: absolute; left: -2px; top: 18px; bottom: 18px; width: 1px; background: var(--line); }
.sp-field label { font: 700 12px/1.2 var(--body); letter-spacing: .04em; color: var(--ink); text-transform: uppercase; }
.sp-field input, .sp-field select { border: 0; background: transparent; padding: 2px 0; font-size: 15px; color: var(--text); width: 100%; min-width: 0; outline: none; }
.sp-field select { appearance: none; }
.search-panel .btn { min-height: 100%; border-radius: 18px; padding: 0 26px; }
.search-tabs { display: inline-flex; gap: 4px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 4px; margin-bottom: 14px; backdrop-filter: blur(10px); }
.search-tabs button { border: 0; background: none; color: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.search-tabs button[aria-selected="true"] { background: #fff; color: var(--navy); }

/* ---------- Filters (listing pages) ---------- */
.listing-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; display: grid; gap: 18px; max-height: calc(calc(100vh / var(--page-zoom)) - var(--header-h) - 32px); overflow-y: auto; }
.filters-head { display: flex; align-items: center; justify-content: space-between; }
.filters-head h2 { font-size: 20px; }
.filters .field > label, .filters legend { font-size: 13.5px; }
.filters fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.range-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.range-row .input, .form-grid .input, .form-grid .select { min-width: 0; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.results-count { font-weight: 600; color: var(--ink); }
.results-count span { color: var(--muted); font-weight: 500; }
.active-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.active-filters .chip { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-700); cursor: pointer; }
.active-filters .chip .i { width: 14px; height: 14px; }
.filter-toggle, .modal-close.filter-toggle { display: none; }
.sort-select { min-height: 42px; border-radius: 999px; width: auto; padding-left: 16px; font-size: 14px; font-weight: 600; }

/* ---------- Empty / loading ---------- */
.empty { text-align: center; padding: 56px 24px; border: 1.5px dashed var(--line-2); border-radius: var(--r-l); background: #fff; color: var(--muted); }
.grid > .empty, [data-results] > .empty { grid-column: 1 / -1; }
.empty .empty-icon { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 22px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.empty .empty-icon .i { width: 32px; height: 32px; }
.empty h3 { margin-bottom: 6px; }
.empty p { max-width: 46ch; margin: 0 auto 18px; }
.skeleton { background: linear-gradient(90deg, #EEF1F7 0%, #F7F9FC 40%, #EEF1F7 80%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; border-radius: 10px; }
.sk-card { border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; background: #fff; }
.sk-card .skeleton:first-child { aspect-ratio: 3 / 2; border-radius: 0; }
.sk-line { height: 14px; margin: 14px 18px 0; }
.sk-line.short { width: 50%; margin-bottom: 18px; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--blue-100); border-top-color: var(--blue); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Notices ---------- */
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-m); background: var(--info-50); border: 1px solid var(--blue-100); color: var(--text); font-size: 14.5px; }
.notice .i { color: var(--blue); margin-top: 2px; }
.notice strong { color: var(--ink); }
.notice-warn { background: var(--warn-50); border-color: #F6DDA6; }
.notice-warn .i { color: var(--warn); }
.notice-teal { background: var(--teal-50); border-color: #BDE8E6; }
.notice-teal .i { color: var(--teal-600); }
.notice-dark { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #D4DBF0; }
.notice-dark strong { color: #fff; }
.notice-dark .i { color: var(--marigold); }

/* ---------- Modal ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(10, 20, 51, .55); backdrop-filter: blur(3px); z-index: 120; display: grid; place-items: center; padding: 20px; animation: fade .2s; overflow-y: auto; }
.modal { background: #fff; border-radius: var(--r-l); box-shadow: var(--sh-3); width: min(560px, 100%); max-height: calc(calc(100vh / var(--page-zoom)) - 40px); overflow-y: auto; animation: pop .25s var(--ease); position: relative; }
.modal-wide { width: min(760px, 100%); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 24px 0; }
.modal-head h2 { font-size: 24px; }
.modal-body { padding: 16px 24px 8px; }
.modal-body > * + * { margin-top: 14px; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 16px 24px 24px; flex-wrap: wrap; }
.modal-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg); display: grid; place-items: center; flex: none; color: var(--ink); }
.modal-close:hover { background: var(--line); }
.modal-hero { width: 100%; aspect-ratio: 16/7; object-fit: cover; border-radius: var(--r-l) var(--r-l) 0 0; }
body.modal-open { overflow: hidden; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; z-index: 150; left: 50%; transform: translateX(-50%); bottom: 24px; display: grid; gap: 10px; width: min(440px, calc(100% - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; background: var(--navy); color: #fff; padding: 14px 16px; border-radius: 16px; box-shadow: var(--sh-3); font-size: 14.5px; animation: rise .3s var(--ease); }
.toast .i { color: var(--marigold); }
.toast.ok .i { color: #5BE39A; }
.toast.err .i { color: #FF8A98; }
.toast a, .toast button { margin-left: auto; color: var(--marigold); font-weight: 700; background: none; border: 0; white-space: nowrap; }
.toast.out { opacity: 0; transform: translateY(8px); transition: .25s; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button, .tabs a { border: 0; background: none; padding: 12px 16px; font-weight: 600; color: var(--muted); border-bottom: 2.5px solid transparent; margin-bottom: -1px; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.tabs [aria-selected="true"], .tabs [aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.seg { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; }
.seg button, .seg a { border: 0; background: none; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.seg [aria-selected="true"], .seg [aria-current="page"] { background: #fff; color: var(--blue); box-shadow: var(--sh-1); }
.count-pill { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-size: 12px; font-weight: 700; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { background: var(--bg); font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.table tr:last-child td { border-bottom: 0; }
.table td .row { flex-wrap: nowrap; }

/* ---------- Home ---------- */
.hero { position: relative; min-height: min(860px, calc(100svh / var(--page-zoom))); display: flex; align-items: center; color: #fff; isolation: isolate; padding-bottom: 72px; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 20, 51, .9) 0%, rgba(10, 20, 51, .62) 45%, rgba(10, 20, 51, .15) 100%), linear-gradient(0deg, rgba(10, 20, 51, .55), transparent 40%); }
.hero h1 { color: #fff; max-width: 15ch; font-size: clamp(38px, 6vw, 74px); }
.hero h1 em { font-style: normal; color: var(--marigold); }
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); max-width: 56ch; margin-top: 20px; color: #E3E8F7; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); font-size: 13.5px; font-weight: 600; margin-bottom: 22px; backdrop-filter: blur(8px); }
.hero-pill b { background: var(--marigold); color: var(--navy); padding: 3px 9px; border-radius: 999px; font-size: 12px; }
.hero-search { margin-top: 44px; }
.hero-credit { position: absolute; right: 16px; bottom: 12px; font-size: 11.5px; opacity: .7; }
.hero-credit a { text-decoration: underline; }
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; max-width: 720px; }
.stats-strip div { border-left: 2px solid rgba(255, 255, 255, .25); padding-left: 14px; }
.stats-strip strong { display: block; font: 700 26px/1.1 var(--display); color: #fff; }
.stats-strip span { font-size: 13px; color: #C6CEEA; }

.share-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.share-benefits { display: grid; gap: 14px; }
.benefit { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); transition: box-shadow .25s, transform .25s var(--ease); }
.benefit:hover { box-shadow: var(--sh-2); transform: translateX(4px); }
.benefit h3 { font-size: 18px; margin-bottom: 4px; }
.benefit p { color: var(--muted); font-size: 15px; }
.share-photo { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.2; box-shadow: var(--sh-3); }
.share-photo img { width: 100%; height: 100%; object-fit: cover; }
.share-float { position: absolute; left: 20px; right: 20px; bottom: 20px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border-radius: var(--r-m); padding: 16px 18px; display: flex; align-items: center; gap: 14px; box-shadow: var(--sh-2); }
.share-float strong { color: var(--ink); display: block; }
.share-float span { font-size: 13.5px; color: var(--muted); }

.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: st; }
.step-card { position: relative; padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); counter-increment: st; }
.step-card::before { content: counter(st, decimal-leading-zero); font: 800 15px/1 var(--display); color: var(--blue); background: var(--blue-50); border-radius: 10px; padding: 9px 10px; display: inline-block; margin-bottom: 18px; }
.step-card h3 { font-size: 19px; margin-bottom: 6px; }
.step-card p { color: var(--muted); font-size: 15px; }

.trust-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.trust-list { display: grid; gap: 14px; }
.trust-item { display: flex; gap: 16px; padding: 20px; border-radius: var(--r-m); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.trust-item .card-icon { background: rgba(255, 176, 32, .14); color: var(--marigold); margin: 0; flex: none; }
.trust-item h3 { font-size: 18px; margin-bottom: 4px; }
.trust-item p { font-size: 15px; }

.app-band { background: linear-gradient(120deg, var(--blue) 0%, #3550FF 50%, var(--teal) 140%); border-radius: var(--r-xl); padding: 52px; color: #E6EBFF; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.app-band h2 { color: #fff; }
.app-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.app-icon-big { width: 160px; height: 160px; border-radius: 38px; box-shadow: 0 30px 60px rgba(10, 20, 51, .35); justify-self: center; position: relative; z-index: 1; }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.store-badge { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 14px; background: #000; color: #fff; min-width: 200px; border: 1px solid rgba(255, 255, 255, .25); transition: transform .2s; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge .i { width: 28px; height: 28px; }
.store-badge small { display: block; font-size: 10.5px; letter-spacing: .08em; opacity: .8; }
.store-badge strong { display: block; font-size: 18px; line-height: 1.1; }
.store-badge em { display: inline-block; margin-top: 4px; font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; background: var(--marigold); color: var(--navy); padding: 2px 7px; border-radius: 6px; }
.store-badge.disabled { opacity: .85; cursor: default; }
.play-badge { display: inline-flex; border-radius: 12px; transition: transform .2s, box-shadow .2s; }
.play-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(10, 20, 51, .25); }
.play-badge img { height: 58px; width: auto; }
.store-badges { align-items: center; }
.store-badges .store-badge { min-height: 58px; }
.store-badges.compact { gap: 10px; }
.store-badges.compact .play-badge img { height: 46px; }
.store-badges.compact .store-badge { min-height: 46px; min-width: 0; padding: 6px 14px 6px 10px; }
.store-badges.compact .store-badge strong { font-size: 15px; }
.store-note { font-size: 13px; margin-top: 10px; opacity: .85; max-width: 46ch; }
.store-note strong { color: inherit; }
.beta-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 176, 32, .18); color: var(--marigold); font: 700 12px/1.2 var(--body); letter-spacing: .04em; text-transform: uppercase; }
.hero-app { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; font-weight: 600; color: #fff; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(8px); }
.hero-app:hover { background: rgba(0, 0, 0, .5); }
.hero-app .i { width: 22px; height: 22px; }
.store-badge.disabled:hover { transform: none; }

/* ---------- Detail pages ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: clamp(300px, 46vw, 500px); border-radius: var(--r-l); overflow: hidden; }
.gallery button { border: 0; padding: 0; position: relative; overflow: hidden; background: var(--bg); cursor: zoom-in; }
.gallery button:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.03); }
.gallery-all { position: absolute; right: 14px; bottom: 14px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; margin-top: 32px; }
.detail-head h1 { font-size: clamp(28px, 3.6vw, 42px); }
.detail-section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.detail-section:last-child { border-bottom: 0; }
.detail-section > h2 { font-size: 22px; margin-bottom: 14px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.fact { background: var(--bg); border-radius: 14px; padding: 14px 16px; }
.fact span { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.fact strong { display: block; color: var(--ink); font-size: 16px; margin-top: 4px; }
.timeline { display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; position: relative; padding-bottom: 22px; }
.timeline li::before { content: ""; position: absolute; left: 21px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .day { width: 44px; height: 44px; border-radius: 14px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font: 800 14px var(--display); }
.timeline h3 { font-size: 16.5px; margin-top: 2px; }
.timeline p { color: var(--muted); font-size: 15px; }
.rules li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.rules .i { color: var(--teal); margin-top: 3px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; background: #fff; }
.faq details + details { margin-top: 10px; }
.faq summary { font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--blue); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; color: var(--muted); }
.book-card { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-2); padding: 24px; display: grid; gap: 16px; }
.book-card .price { font-size: 28px; }
.book-card hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
.sum-row { display: flex; justify-content: space-between; font-size: 15px; }
.sum-row.total { font-weight: 700; color: var(--ink); font-size: 16.5px; }
.host-card { display: flex; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-m); }
.amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.amenities li { display: flex; gap: 10px; align-items: center; }
.amenities .i { color: var(--teal); }
.mobile-cta { display: none; }
.participants { display: flex; flex-wrap: wrap; gap: 10px; }
.participant { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; }
.participant .tag { font-size: 11px; font-weight: 700; color: var(--teal-600); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(5, 10, 26, .94); z-index: 130; display: grid; grid-template-rows: auto 1fr auto; animation: fade .2s; color: #fff; }
.lightbox-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; }
.lightbox-stage { display: grid; place-items: center; padding: 0 64px; min-height: 0; }
.lightbox-stage img { max-height: calc(78vh / var(--page-zoom)); border-radius: 12px; object-fit: contain; }
.lightbox .nav-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .14); border: 0; color: #fff; display: grid; place-items: center; }
.lightbox .nav-arrow:hover { background: rgba(255, 255, 255, .26); }
.lightbox .prev { left: 14px; } .lightbox .next { right: 14px; }
.lightbox-cap { text-align: center; padding: 14px; font-size: 13px; opacity: .8; }
.lightbox .modal-close { background: rgba(255, 255, 255, .14); color: #fff; }

/* ---------- Dashboard ---------- */
.dash { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; padding: 32px 0 80px; }
.dash-nav { position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 12px; display: grid; gap: 2px; }
.dash-nav .me { display: flex; gap: 12px; align-items: center; padding: 10px 10px 16px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.dash-nav .me strong { display: block; color: var(--ink); line-height: 1.2; }
.dash-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-weight: 600; font-size: 14.5px; color: var(--text); }
.dash-nav a:hover { background: var(--bg); }
.dash-nav a[aria-current="true"] { background: var(--blue-50); color: var(--blue); }
.dash-nav a .count-pill { margin-left: auto; }
.dash-nav .i { color: var(--faint); }
.dash-nav a[aria-current="true"] .i { color: var(--blue); }
.dash-main h1 { font-size: clamp(26px, 3vw, 34px); }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px; display: grid; gap: 6px; transition: box-shadow .2s; }
.stat:hover { box-shadow: var(--sh-1); }
.stat .card-icon { width: 40px; height: 40px; border-radius: 12px; margin: 0 0 6px; }
.stat strong { font: 700 30px/1 var(--display); color: var(--ink); }
.stat span { color: var(--muted); font-size: 14px; }
.list-card { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px; transition: box-shadow .2s; }
.list-card + .list-card { margin-top: 12px; }
.list-card:hover { box-shadow: var(--sh-1); }
.list-card .thumb-img { width: 96px; height: 76px; border-radius: 12px; object-fit: cover; flex: none; background: var(--bg); }
.list-card .lc-body { flex: 1; min-width: 0; display: grid; gap: 4px; }
.list-card .lc-body h3 { font-size: 16.5px; margin: 0; overflow: hidden; text-overflow: ellipsis; }
.list-card .lc-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; }
.panel + .panel { margin-top: 18px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.panel-head h2 { font-size: 20px; }
.request { border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px; display: grid; gap: 12px; background: #fff; }
.request + .request { margin-top: 12px; }
.request blockquote { background: var(--bg); border-radius: 12px; padding: 10px 14px; font-size: 14.5px; color: var(--text); border-left: 3px solid var(--blue-100); }
.sim-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #5B35C9; background: #EFE9FF; padding: 4px 10px; border-radius: 999px; }

/* ---------- Notifications ---------- */
.notif { display: flex; gap: 14px; padding: 16px; border-radius: var(--r-m); border: 1px solid var(--line); background: #fff; align-items: flex-start; }
.notif + .notif { margin-top: 10px; }
.notif.unread { background: var(--blue-50); border-color: var(--blue-100); }
.notif .card-icon { width: 42px; height: 42px; margin: 0; flex: none; border-radius: 12px; }
.notif-body { flex: 1; min-width: 0; }
.notif-body strong { color: var(--ink); display: block; }
.notif-body p { color: var(--muted); font-size: 14.5px; }
.notif-body time { font-size: 12.5px; color: var(--faint); }
.notif-actions { display: flex; gap: 6px; }

/* ---------- Chat ---------- */
.chat { display: grid; grid-template-columns: 340px minmax(0, 1fr); height: calc(calc(100vh / var(--page-zoom)) - var(--header-h) - 150px); min-height: 520px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.convos { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.convos-head { padding: 16px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.convo-list { overflow-y: auto; flex: 1; }
.convo { display: flex; gap: 12px; padding: 14px 16px; width: 100%; border: 0; background: none; text-align: left; border-bottom: 1px solid var(--line); align-items: center; }
.convo:hover { background: var(--bg); }
.convo[aria-current="true"] { background: var(--blue-50); }
.convo-body { flex: 1; min-width: 0; }
.convo-body strong { display: flex; justify-content: space-between; gap: 8px; color: var(--ink); font-size: 15px; }
.convo-body strong time { font-size: 12px; color: var(--faint); font-weight: 500; }
.convo-body p { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convo .unread-dot { min-width: 20px; height: 20px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 6px; }
.thread { display: flex; flex-direction: column; min-height: 0; }
.thread-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.thread-head .back { display: none; }
.thread-msgs { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 8px; background: linear-gradient(180deg, #FAFBFE, #F5F7FC); }
.msg { max-width: min(72%, 520px); padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.45; box-shadow: var(--sh-1); }
.msg time { display: block; font-size: 11px; opacity: .7; margin-top: 4px; text-align: right; }
.msg.them { background: #fff; border-bottom-left-radius: 6px; align-self: flex-start; }
.msg.me { background: var(--blue); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.msg-note { align-self: center; font-size: 12.5px; color: var(--muted); background: #fff; border: 1px dashed var(--line-2); padding: 6px 12px; border-radius: 999px; text-align: center; max-width: 90%; }
.day-sep { align-self: center; font-size: 12px; color: var(--faint); font-weight: 600; margin: 8px 0; }
.composer { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.composer .input { border-radius: 999px; }
.composer .btn { flex: none; }

/* ---------- Login ---------- */
.auth-wrap { min-height: calc(calc(100vh / var(--page-zoom)) - var(--header-h)); display: grid; grid-template-columns: 1fr 1fr; }
.auth-art { position: relative; color: #fff; display: flex; align-items: flex-end; padding: 48px; isolation: isolate; overflow: hidden; }
.auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.auth-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 20, 51, .1), rgba(10, 20, 51, .85)); }
.auth-art h2 { color: #fff; max-width: 14ch; }
.auth-panel { display: grid; place-items: center; padding: 48px 24px; background: var(--bg); }
.auth-card { width: min(460px, 100%); background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-2); padding: 32px; }
.auth-card h1 { font-size: 30px; }
/* The login page has no site header, so full-height panels use the whole screen. */
.page-login { --header-h: 0px; }
/* Official logo on the login page's photo panel, 34px from the left and 29px from the top on screen at the 85% desktop scale. */
.auth-art .auth-art-logo { position: absolute; left: 40px; top: 34px; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 0; }
.auth-art .auth-art-logo .brand-word { color: #fff; font-size: 38px; text-shadow: 0 2px 12px rgba(10, 20, 51, .45); }
.auth-art .auth-art-logo img { position: static; width: 64px; height: 64px; max-width: none; object-fit: contain; border-radius: 16px; opacity: 1; filter: none; box-shadow: 0 8px 24px rgba(10, 20, 51, .35); }
.auth-start { text-align: center; }
.auth-start p { text-wrap: balance; }
.auth-start .notice { text-align: left; }
/* Two lines at every width: the size follows the card's width, up to the normal 16px. Phones also use part of the card's padding. */
.auth-start { container-type: inline-size; --diag-extra: 0px; }
.auth-diag-l, .auth-diag-r { display: block; white-space: nowrap; font-size: min(1em, calc((100cqi + var(--diag-extra)) * .04)); }
@media (max-width: 640px) { .auth-start { --diag-extra: 20px; } .auth-diag-l, .auth-diag-r { margin-inline: -10px; } }
.auth-diag-l { text-align: left; }
.auth-diag-r { text-align: center; }
.auth-btn { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 54px; padding: 0 18px; border-radius: 16px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 700; font-size: 15.5px; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.auth-btn:hover { border-color: var(--blue); box-shadow: var(--sh-1); transform: translateY(-1px); }
.auth-btn svg { width: 24px; height: 24px; flex: none; }
.auth-btn span { flex: 1; text-align: center; margin-right: 24px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 13px; font-weight: 600; margin: 20px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.google-slot { min-height: 46px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; }
.slot-loading { display: flex; align-items: center; gap: 10px; }
/* No-JavaScript safety net: if the sign-in script never runs, explain after 12 s instead of spinning forever. */
.slot-slow { display: none; margin: 0; text-align: center; color: var(--warn); }
.google-slot[aria-busy="true"] .slot-slow { display: block; opacity: 0; animation: fade .3s ease 12s forwards; }

/* ---------- Content pages ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 2px; font-size: 14px; }
.toc strong { color: var(--ink); margin-bottom: 8px; }
.toc a { padding: 7px 12px; border-radius: 10px; color: var(--muted); border-left: 2px solid var(--line); border-radius: 0 10px 10px 0; }
.toc a:hover, .toc a.active { color: var(--blue); border-left-color: var(--blue); background: var(--blue-50); }
.legal-section { padding: 8px 0 28px; }
.legal-section h2 { font-size: 24px; margin-bottom: 12px; }
.legal-section p, .legal-section li { color: var(--text); }
.legal-section p + p { margin-top: 12px; }
.legal-section ul { list-style: disc; padding-left: 22px; margin: 12px 0; display: grid; gap: 6px; }
.legal-section a { color: var(--blue); text-decoration: underline; }
.status-table td:first-child { font-weight: 700; color: var(--ink); }
.credit-list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; }
.credit-list img { width: 96px; height: 64px; object-fit: cover; border-radius: 8px; }
.credit-list a { color: var(--blue); text-decoration: underline; word-break: break-all; }

/* Bottom navigation (mobile) */
.bottom-nav { display: none; }
