/* ==========================================================================
   MakeAVacation design system — v7 "Sunlit" (2026-11-28)

   Concept: a warm, sunlit travel scrapbook. Warm-white canvas, colors taken
   from the logo (sunset orange, golden sand, ocean teal, deep ocean), one
   friendly typeface, big soft-cornered photo cards and pill controls —
   every surface rounded and gently lifted so the springy motion has
   something soft to bounce.

   Sources:
   - Airbnb 2025 Summer Release: dimensional UI, soft curves, subtle lighting
     and drop shadows; pill search shell (32px radius, ~66px tall), category
     tabs with icon + label, 12px cards, #222 / #6a6a6a text, 4/8/16/24/32 spacing
   - Refactoring UI: personality through type, color and radius (warm and
     approachable = large radius + soft shadows); shade scales per hue;
     grays tinted to the palette's temperature; fewer borders, more spacing
   - Apple HIG typography: tighter tracking and leading as size grows
   - WCAG 2.2: every text color pair ≥ 4.5:1 (computed); the bright logo
     orange (#f06018, 3.3:1 on white) is used only for non-text accents.
   Load order: style → flights → polish → theme → motion.
   ========================================================================== */

:root {
  /* ----- palette (from the logo) ----- */
  --sun: #f06018;            /* logo sunset: decorative accents, focus, indicators (non-text) */
  --sun-rgb: 240, 96, 24;
  --brand: #c8480e;          /* text + fills under white text: 4.8:1 */
  --brand-rgb: 200, 72, 14;
  --brand-hover: #b03c0a;
  --brand-deep: #9a3409;     /* text on sun tints */
  --brand-50: #fff2ea;
  --brand-100: #ffe3d2;
  --brand-200: #fbc9a9;
  --grad-sun: linear-gradient(180deg, #e05a17 0%, #c2410c 100%);
  --gold: #f0b43c;
  --gold-50: #fff6de;
  --teal: #0078a8;           /* links / secondary: 4.9:1 */
  --teal-bright: #18a8c0;
  --teal-50: #e6f5fa;
  --ocean: #003060;          /* logo deep ocean: dark surfaces */
  --ocean-deep: #00213f;
  --ocean-rgb: 0, 48, 96;
  /* ----- warm neutrals ----- */
  --ink: #1f1a17;            /* 16.6:1 on canvas */
  --ink-2: #4a433d;          /* 9.4:1 */
  --muted: #6f665e;          /* 5.4:1 */
  --muted-2: #8c837b;        /* decorative / large text only */
  --line: #ede5dc;
  --line-strong: #dcd1c5;
  --canvas: #fffaf5;
  --surface: #ffffff;
  --surface-2: #fbf5ee;
  --surface-3: #f4ebe0;
  --shade: 70, 40, 15;       /* warm shadow color */
  /* ----- depth (soft, warm, layered) ----- */
  --sh-1: 0 1px 2px rgba(var(--shade), .06), 0 1px 1px rgba(var(--shade), .03);
  --sh-2: 0 2px 4px rgba(var(--shade), .05), 0 10px 24px -8px rgba(var(--shade), .16);
  --sh-3: 0 4px 10px rgba(var(--shade), .06), 0 24px 48px -16px rgba(var(--shade), .28);
  --sh-pop: 0 10px 24px rgba(var(--shade), .10), 0 32px 72px -20px rgba(var(--shade), .38);
  --sh-sun: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 18px -6px rgba(var(--brand-rgb), .55);
  /* ----- shape + type ----- */
  --r-xs: 10px; --r-sm: 14px; --r-md: 18px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* ----- legacy tokens re-pointed (style.css / flights.css use these) ----- */
  --green-dark: var(--ocean-deep); --green-mid: var(--brand); --green-light: var(--brand); --green-accent: var(--brand);
  --blue: var(--brand); --blue-dark: var(--brand-hover); --navy: var(--ink); --border: var(--line);
  --ink-soft: var(--ink-2); --ink-muted: var(--muted); --text: var(--ink); --text-light: var(--muted);
  --tan: var(--surface-2); --tan-dark: var(--line); --radius: var(--r-md); --island: #15110e;
  /* motion.css hooks */
  --nav-scrolled: rgba(255, 250, 245, .94); --splash-weight: 800; --splash-track: -.02em;
  --burst: #f06018, #18a8c0, #f0b43c, #003060, #e9486e, #34a853;
  --bar-1: #f0b43c; --bar-2: #f06018; --bar-3: #18a8c0; --bar-4: #30c0d8;
}

/* ===== 1. Base ============================================================ */
html { background: var(--canvas); }
body {
  font-family: var(--font); color: var(--ink); background: var(--canvas);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
button, input, select, textarea { font-family: inherit; }
/* sunlit wash: the logo's sunset, sand and ocean, very faint */
body::before {
  background:
    radial-gradient(55% 45% at 8% 0%, rgba(var(--sun-rgb), .13), transparent 70%),
    radial-gradient(50% 45% at 95% 4%, rgba(240, 180, 60, .16), transparent 68%),
    radial-gradient(60% 55% at 92% 96%, rgba(24, 168, 192, .10), transparent 70%),
    radial-gradient(55% 50% at 4% 96%, rgba(240, 180, 60, .10), transparent 70%);
}
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); letter-spacing: -.02em; }
/* headings that sit on the dark ocean surfaces stay white */
:is(.home-promo, .donate-side, .nl-signup, .support-card, .trails-hero, .wizard-header, .trail-card-head,
    .budget-summary-card:nth-child(2), .ai-header.dark) :is(h1, h2, h3, h4) { color: #fff; }
::selection { background: rgba(var(--sun-rgb), .22); }
:is(button, a, [role="button"], input, select, textarea):focus-visible {
  outline: 2.5px solid var(--sun); outline-offset: 2px;
}
a { color: var(--teal); }

/* ===== 2. Primitives: buttons ============================================== */
.btn-primary, .btn-book, .donate-submit, .xgo, .hw-search, .flt-book {
  background: var(--grad-sun); color: #fff; border: none; border-radius: var(--r-pill);
  font-weight: 800; letter-spacing: .005em; box-shadow: var(--sh-sun);
}
.btn-primary:hover, .btn-book:hover, .donate-submit:hover, .xgo:hover, .hw-search:hover, .flt-book:hover {
  background: var(--grad-sun); filter: brightness(1.07);
}
.btn-primary:disabled, .donate-submit:disabled { filter: saturate(.4); box-shadow: none; opacity: .65; }
.btn-secondary, .btn-outline, .btn-back, .trip-empty-btn, .ai-save-btn, .btn-add-trip, .stay-add, .flt-addtrip, .acc-buy-btn, .trn-book {
  background: var(--surface); color: var(--ink); border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill); font-weight: 700;
}
.btn-secondary:hover, .btn-outline:hover, .btn-back:hover, .trip-empty-btn:hover, .ai-save-btn:hover,
.btn-add-trip:hover, .stay-add:hover, .flt-addtrip:hover, .acc-buy-btn:hover, .trn-book:hover {
  background: var(--surface); color: var(--ink); border-color: var(--ink);
}
:is(.btn-add-trip, .stay-add).added { background: var(--teal-50); border-color: #9fd6e8; color: #005f86; }
.btn-go { background: var(--ink); color: #fff; border-radius: var(--r-pill); font-weight: 700; }
.btn-go:hover { background: #000; }
.btn-danger, .btn-remove { background: var(--surface); border: 1.5px solid #f1c7c2; color: #b3261e; border-radius: var(--r-pill); font-weight: 700; }
.btn-danger:hover, .btn-remove:hover { background: #fdecea; border-color: #b3261e; color: #b3261e; }

/* ===== 3. Primitives: chips (filters, quick-adds, suggestions) ============ */
:is(.flt-pill, .food-chip, .shop-chip, .shop-qtab, .hint-chip, .wizard-chip, .suggestion, .budget-chip,
    .acc-filter-btn, .wx-chip, .disc-btn, .food-toggle, .food-more-btn) {
  background: var(--surface); color: var(--ink-2); border: 1px solid var(--line-strong);
  border-radius: var(--r-pill); font-weight: 600;
}
:is(.flt-pill, .food-chip, .shop-chip, .shop-qtab, .hint-chip, .wizard-chip, .suggestion, .budget-chip,
    .acc-filter-btn, .wx-chip, .disc-btn, .food-toggle, .food-more-btn):hover {
  background: var(--surface); color: var(--ink); border-color: var(--ink);
}
:is(.flt-pill, .food-chip, .shop-qtab, .wizard-chip, .acc-filter-btn, .food-toggle):is(.active, .selected) {
  background: var(--ink); border-color: var(--ink); color: #fff;
}

/* ===== 4. Primitives: fields =============================================== */
:is(.search-row, .trails-filters, .zip-search-row, .budget-add-row, .shop-add-row, .ai-input-row, .wx-search-row, .cruise-form)
  :is(input[type="text"], input[type="number"], input[type="email"], input:not([type]), select),
.zip-input-wrap, .budget-limit-input, .budget-amount-wrap, .trip-name-input, .trip-date-input,
.auth-modal input:not([type="checkbox"]), .flt-modal input:not([type="checkbox"]):not([type="radio"]), .flt-modal select {
  border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background-color: var(--surface);
  color: var(--ink); font-weight: 500;
}
:is(.search-row, .trails-filters, .zip-search-row, .budget-add-row, .shop-add-row, .ai-input-row, .wx-search-row, .cruise-form)
  :is(input, select):focus,
.zip-input-wrap:focus-within, .budget-amount-wrap:focus-within, .budget-limit-input:focus, .trip-name-input:focus,
.auth-modal input:focus, .flt-modal :is(input, select):focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--sun-rgb), .16);
}
::placeholder { color: var(--muted-2); }
/* inputs inside a wrapper field: the wrapper draws the border */
:is(.zip-input-wrap, .budget-amount-wrap) input, :is(.zip-input-wrap, .budget-amount-wrap) input:focus {
  border: 0 !important; box-shadow: none !important; background: transparent !important;
}

/* ===== 5. Primitives: surfaces / cards ===================================== */
:is(.search-card, .forecast-card, .trip-header-card, .budget-summary-card, .ai-container, .stay-card, .flt-card,
    .food-card, .camp-card, .fish-card, .trn-card, .acc-card, .trail-card, .agent-gate,
    .disc-card, .admin-card, .wx-row, .gas-item, .trip-item) {
  border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--sh-1); background-color: var(--surface);
}
:is(.stay-card, .flt-card, .food-card, .trn-card, .acc-card) { overflow: hidden; }
:is(.stay-card, .flt-card, .food-card, .camp-card, .fish-card, .trail-card, .trn-card, .acc-card):hover {
  box-shadow: var(--sh-2); border-color: var(--line-strong);
}
.camp-card, .fish-card { backdrop-filter: none; }
/* dark card headers + hero banners: deep ocean from the logo, with a sunset glow */
:is(.trail-card-head, .trails-hero, .wizard-header, .forecast-header) {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(var(--sun-rgb), .38), transparent 55%),
    linear-gradient(135deg, var(--ocean-deep), var(--ocean) 70%);
  color: #fff;
}
.trails-hero { border-radius: var(--r-xl); padding: 1.8rem 2rem 1.6rem; box-shadow: var(--sh-2); }
.trails-hero h2, .wizard-header h2 { color: #fff; font-weight: 800; letter-spacing: -.025em; }
.trail-title-row h3 { font-weight: 700; color: #fff; }
.camp-card-header h3, .fish-card-header h3 { font-weight: 800; letter-spacing: -.01em; }

/* page titles: one voice across every tab */
:is(.search-card h2, .shop-header h2, .ai-header h2, .budget-header h2, .acc-hero h2, .forecast-title, .disc-head h2, .about-title, .donate-title, .admin-title) {
  font-weight: 800; letter-spacing: -.025em; color: var(--ink);
}
.search-card h2 { font-size: 1.15rem; }
:is(.shop-header h2, .ai-header h2, .budget-header h2, .acc-hero h2) { font-size: 1.7rem; }
.acc-hero, .search-card { background-color: var(--surface); }

/* ===== 6. Top bar =========================================================== */
.topnav {
  background: rgba(255, 250, 245, .86); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line); box-shadow: none;
}
.nav-group-btn { font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.nav-group-btn:hover, .nav-group.open > .nav-group-btn, .nav-group.active-group > .nav-group-btn { color: var(--ink); }
.nav-group.active-group > .nav-group-btn::after { background: var(--sun); }
@media (min-width: 1201px) {
  .nav-group-menu { border-color: var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-pop); padding: .45rem; }
  .nav-group-menu .tab { border-radius: 14px; font-weight: 600; color: var(--ink-2); }
  .nav-group-menu .tab:hover { background: var(--surface-2); color: var(--ink); }
  .nav-group-menu .tab.active { background: var(--brand-50); color: var(--brand-deep); box-shadow: none; }
}
.tab-donate-btn {
  background: var(--brand-50); color: var(--brand-deep) !important; border: 1px solid var(--brand-100);
  border-radius: var(--r-pill); font-weight: 800; box-shadow: none;
}
.tab-donate-btn:hover, .tab-donate-btn.active { background: var(--brand-100); color: var(--brand-deep) !important; }
.auth-signin-btn { background: var(--ink); color: #fff; border-radius: var(--r-pill); font-weight: 800; }
.auth-signin-btn:hover { background: #000; }
.auth-chip { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-pill); color: var(--ink); font-weight: 700; }
.auth-chip:hover, .auth-chip.open { background: var(--surface-2); border-color: var(--ink); }
.auth-dropdown { border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-pop); }
.hamburger span { background: var(--ink); }
@media (max-width: 1200px) {
  .topnav-links { background: var(--canvas); box-shadow: var(--sh-3); }
  .nav-group-btn { color: var(--muted); font-weight: 800; opacity: 1; letter-spacing: .08em; }
  .nav-group-menu .tab { color: var(--ink); font-weight: 600; border-left: none; border-radius: 12px; margin: 0 .8rem; width: auto; }
  .nav-group-menu .tab.active { background: var(--brand-50); color: var(--brand-deep); }
}

/* ===== 7. Home ============================================================== */
.home-hero {
  border-radius: var(--r-xl); padding: 5.2rem 1.4rem 8.8rem;
  background:
    linear-gradient(180deg, rgba(31, 26, 23, .10) 0%, rgba(31, 26, 23, .48) 100%),
    url('https://images.unsplash.com/photo-1504280390367-361c6d9f38f4?w=1920&auto=format&fit=crop&q=80') center 60% / cover no-repeat;
}
.home-title {
  font-family: var(--font); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.7rem);
  letter-spacing: -.035em; line-height: 1.02; color: #fff;
  text-shadow: 0 1px 2px rgba(31, 26, 23, .18), 0 8px 32px rgba(31, 26, 23, .28);
}
.home-widget {
  border-radius: var(--r-xl); box-shadow: var(--sh-3); border: 1px solid rgba(255, 255, 255, .7);
  padding: .5rem 1.6rem 1.6rem;
}
.hw-tabs { gap: .35rem; border-bottom-color: var(--line); margin-bottom: 1.3rem; }
.hw-tab { padding: .8rem .85rem .85rem; color: var(--muted); font-weight: 700; font-size: .82rem; }
.hw-tab .hw-ico { font-size: 1.7rem; }
.hw-tab:hover { color: var(--ink); }
.hw-tab.active { color: var(--ink); border-bottom-color: var(--sun); }
.hw-map-hint { color: var(--muted); }
#hw-map, #hw-gmap { border-radius: var(--r-lg); }

/* the search shell: one pill with segments (desktop) */
@media (min-width: 721px) {
  .hw-row {
    flex-wrap: nowrap; gap: 0; align-items: stretch;
    background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-pill);
    box-shadow: var(--sh-2); padding: 6px;
  }
  .hw-row .hw-map-hint { display: none; }
  .hw-row :is(.hw-field, .hw-field-col) {
    position: relative; border: none; border-radius: var(--r-pill); box-shadow: none;
    padding: .55rem 1.35rem; min-height: 54px; transition: background-color .15s ease, box-shadow .2s ease;
  }
  .hw-row .hw-field-col { flex: 0 1 190px; }
  .hw-row :is(.hw-field, .hw-field-col):hover { background: var(--surface-2); }
  .hw-row :is(.hw-field, .hw-field-col):focus-within { background: var(--surface); box-shadow: var(--sh-3); }
  .hw-row :is(.hw-field, .hw-field-col) + :is(.hw-field, .hw-field-col)::before {
    content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line-strong);
  }
  .hw-row :is(.hw-field, .hw-field-col):is(:hover, :focus-within)::before,
  .hw-row :is(.hw-field, .hw-field-col):is(:hover, :focus-within) + :is(.hw-field, .hw-field-col)::before { opacity: 0; }
  .hw-search { padding: 0 2rem; margin-left: .35rem; font-size: 1rem; }
}
.hw-lbl { font-size: .74rem; font-weight: 800; color: var(--ink); letter-spacing: .01em; }
.hw-field input, .hw-field-col input { color: var(--ink); font-weight: 500; }
@media (max-width: 720px) {
  .hw-row :is(.hw-field, .hw-field-col) { border: 1.5px solid var(--line-strong); border-radius: var(--r-md); }
  .hw-row :is(.hw-field, .hw-field-col):focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--sun-rgb), .16); }
}

/* promo band: deep ocean with a sunset glow */
.home-promo {
  background:
    radial-gradient(90% 160% at 100% 0%, rgba(var(--sun-rgb), .55), transparent 55%),
    radial-gradient(70% 140% at 0% 100%, rgba(24, 168, 192, .30), transparent 60%),
    var(--ocean-deep);
  border-radius: var(--r-xl); padding: 2rem 2.4rem; box-shadow: var(--sh-2);
}
.hp-title { font-family: var(--font); font-weight: 800; letter-spacing: -.025em; font-size: clamp(1.4rem, 3vw, 2rem); }
.hp-sub { color: rgba(255, 255, 255, .82); }
.hp-btn { background: #fff; color: var(--ink); font-weight: 800; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .4); }
.hp-btn:hover { background: var(--gold-50); }

.home-section-label { font-size: 1.65rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); margin: 3rem 0 1.1rem; }

/* photo cards: Airbnb-style — the photo is the card */
.photo-grid { gap: 1.6rem 1.3rem; }
.photo-card, .photo-card:hover { background: transparent; border: none; box-shadow: none; border-radius: var(--r-lg); overflow: visible; }
.photo-card .pc-img {
  height: auto; aspect-ratio: 5 / 4; border-radius: var(--r-lg); box-shadow: var(--sh-1);
  transition: box-shadow .3s ease, opacity 320ms var(--ease-out, ease);
}
.photo-card:hover .pc-img { box-shadow: var(--sh-3); }
.photo-card .pc-body { background: transparent; padding: .75rem .25rem 0; }
.pc-body strong { color: var(--ink); font-size: 1.02rem; font-weight: 800; letter-spacing: -.01em; }
.pc-body span { color: var(--muted); font-size: .9rem; }
.pc-heart {
  top: .8rem; right: .8rem; width: 36px; height: 36px; background: rgba(255, 255, 255, .92);
  color: var(--ink-2); box-shadow: 0 2px 8px rgba(var(--shade), .25); backdrop-filter: blur(6px);
}
.pc-heart:hover { color: var(--sun); }
.photo-card.liked .pc-heart { background: var(--sun); color: #fff; }

/* tool tiles: each tool gets its own sunny color */
.home-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-1); padding: 1.35rem .8rem 1.2rem;
}
.home-card:hover { border-color: transparent; box-shadow: var(--sh-3); }
.home-ico {
  width: 58px; height: 58px; border-radius: 19px; font-size: 1.65rem;
  background-color: var(--tile, var(--brand-50));
  box-shadow: inset 0 -3px 0 rgba(var(--shade), .06), inset 0 1px 0 rgba(255, 255, 255, .8);
}
.home-card:hover .home-ico { background-color: var(--tile, var(--brand-50)); }
.home-card:nth-child(6n+1) { --tile: #ffe6d6; }
.home-card:nth-child(6n+2) { --tile: #dcf1f8; }
.home-card:nth-child(6n+3) { --tile: #fff0c7; }
.home-card:nth-child(6n+4) { --tile: #e1e9f4; }
.home-card:nth-child(6n+5) { --tile: #fde3e1; }
.home-card:nth-child(6n+6) { --tile: #e1f3e5; }
.home-name { color: var(--ink); font-weight: 800; letter-spacing: -.01em; }
.home-desc { color: var(--muted); }

/* destination strip on search tabs */
.xds { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xl); }
.xds-h { font-weight: 800; letter-spacing: -.025em; }
.xds-sub { color: var(--muted); }
.xds-cats { border-bottom-color: var(--line); }
.xds-cat { color: var(--muted); font-weight: 700; }
.xds-cat:hover { color: var(--ink); }
.xds-cat.active { color: var(--ink); border-bottom-color: var(--sun); }
.xds-card, .xds-card:hover { background: transparent; border: none; box-shadow: none; overflow: visible; border-radius: var(--r-md); }
.xds-img { border-radius: var(--r-md); height: 170px; box-shadow: var(--sh-1); transition: box-shadow .3s ease; }
.xds-card:hover .xds-img { box-shadow: var(--sh-3); }
.xds-body { padding: .65rem .2rem 0; }
.xds-body strong { font-weight: 800; letter-spacing: -.01em; }
.xds-map { background: var(--ink); box-shadow: 0 10px 24px -8px rgba(var(--shade), .6); }
.xds-map:hover { background: #000; }

/* ===== 8. Search panels on tool tabs ======================================= */
.flt-search-card .flt-search-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-2); padding: .65rem;
}
.flt-search-panel .flt-form { gap: .55rem; }
.flt-search-panel .flt-field {
  border: 1.5px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.flt-search-panel .flt-field:hover { border-color: var(--muted-2); }
.flt-search-panel .flt-field:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--sun-rgb), .16); }
.flt-search-panel .flt-field > label { font-size: .72rem; font-weight: 800; color: var(--ink); letter-spacing: .01em; text-transform: none; }
.flt-search-panel .flt-field :is(input, select) { color: var(--ink); font-weight: 500; }
.wx-search-row { background: var(--surface); border-radius: var(--r-pill); box-shadow: var(--sh-2); border: 1px solid var(--line-strong); }
.flt-controls, .flt-controls span { color: var(--muted); }

/* ===== 9. Right rail ======================================================= */
.support-card--rail {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(var(--sun-rgb), .45), transparent 60%),
    var(--ocean-deep);
  border-radius: var(--r-lg); box-shadow: var(--sh-2);
}
.support-card--rail .support-ico { background: rgba(255, 255, 255, .14); }
.flt-gear-card { border-radius: var(--r-md); border-color: var(--line); background: var(--surface); }
.flt-gear-card:hover { box-shadow: var(--sh-2); border-color: var(--line-strong); }
.flt-gear-btn { color: var(--brand); font-weight: 800; }

/* ===== 10. Modals ========================================================== */
:is(.flt-modal-overlay, .auth-modal-overlay) { background: rgba(31, 26, 23, .42); backdrop-filter: blur(6px); }
:is(.flt-modal, .auth-modal) { border-radius: var(--r-xl); box-shadow: var(--sh-pop); border: 1px solid var(--line); }
:is(.auth-modal-head, .flt-modal-head) h3, .auth-modal-head h2 { font-weight: 800; letter-spacing: -.02em; }

/* ===== 11. Donate / support ================================================ */
.donate-side {
  background:
    radial-gradient(110% 80% at 100% 0%, rgba(var(--sun-rgb), .45), transparent 60%),
    radial-gradient(90% 70% at 0% 100%, rgba(24, 168, 192, .28), transparent 60%),
    var(--ocean-deep) !important;
}
.donate-freq { background: var(--surface-3); border-radius: var(--r-pill); }
.df-opt { border-radius: var(--r-pill); color: var(--muted); }
.df-opt.active { color: var(--ink); }
.donate-amt { border-radius: var(--r-md); border: 1.5px solid var(--line-strong); background: var(--surface); }
.donate-amt:hover { border-color: var(--ink); }
.donate-amt.active { background: var(--brand-50); border-color: var(--brand); color: var(--brand-deep); box-shadow: 0 0 0 3px rgba(var(--sun-rgb), .14); }
.donate-amt.active :is(.da-amt, .da-sub) { color: var(--brand-deep); }

/* ===== 12. Budget / trip =================================================== */
.budget-summary-card.highlight, .budget-summary-card.paid, .budget-summary-card:nth-child(2) {
  background: linear-gradient(135deg, var(--ocean-deep), var(--ocean)); border-color: transparent; color: #fff;
}
.budget-summary-card:nth-child(2) * { color: #fff; }

/* ===== 13. Newsletter + footer ============================================= */
.nl-signup {
  background:
    radial-gradient(60% 180% at 100% 0%, rgba(var(--sun-rgb), .40), transparent 60%),
    var(--ocean-deep);
}
.nl-signup-text strong { font-weight: 800; letter-spacing: -.01em; }
.nl-signup-form input { border-radius: var(--r-pill); padding-left: 18px; }
.nl-signup-btn { background: var(--gold); color: var(--ink); border-radius: var(--r-pill); font-weight: 800; padding: 11px 24px; }
.nl-signup-btn:hover { background: #f5c45c; filter: none; }
.site-footer, footer:not(.site-footer) { background: var(--surface-2); color: var(--muted); }
.footer-link { color: var(--ink-2); }
.footer-link:hover { color: var(--brand); }

/* ===== 13b. Older hard-coded badges and grays, brought into the palette ====
   (found by an automated contrast audit across every tab; all now >= 4.5:1) */
.diff-easy { background: #1d7a43; color: #fff; }
.diff-mod, .acc-fee { background: var(--gold); color: var(--ink); }
.diff-hard { background: #b3261e; color: #fff; }
.water-badge { color: #005f86; background: var(--teal-50); border-color: #bfe3ef; }
.forecast-divider, .search-divider, .search-divider span, .budget-empty, .shop-empty-tip, .flt-gear-disc { color: var(--muted); }

/* Fishing: the rod-guide banner is inline-styled in index.html */
#tab-fishing > div:first-child {
  background: radial-gradient(120% 160% at 100% 0%, rgba(var(--sun-rgb), .40), transparent 55%),
              linear-gradient(135deg, var(--ocean-deep), var(--ocean)) !important;
  border-radius: var(--r-lg) !important; padding: 1rem 1.3rem !important; box-shadow: var(--sh-2);
}
#tab-fishing > div:first-child span { color: rgba(255, 255, 255, .8) !important; }
#tab-fishing > div:first-child a {
  background: #fff !important; color: var(--ink) !important; border-radius: var(--r-pill) !important; font-weight: 800 !important;
}
.forecast-card { border-radius: var(--r-xl); overflow: hidden; }

/* ===== 14. Small screens =================================================== */
@media (max-width: 600px) {
  .home-hero { padding: 3rem 1rem 6.4rem; border-radius: var(--r-lg); }
  .home-widget { border-radius: var(--r-lg); padding: .3rem 1rem 1.1rem; }
  .home-promo { padding: 1.5rem 1.3rem; border-radius: var(--r-lg); }
  .home-section-label { font-size: 1.35rem; margin-top: 2.2rem; }
  .photo-grid { gap: 1.1rem .8rem; }
  .home-card { border-radius: var(--r-md); grid-template-columns: 42px 1fr; padding: .75rem .8rem; }
  .home-ico { width: 42px; height: 42px; border-radius: 14px; font-size: 1.25rem; }
}

/* ==========================================================================
   Round 2 — icons, page headers, hero subhead, footer
   Icons: /img/icons/*.svg, one "sunlit clay" recipe (logo palette, top-lit
   gradient, highlight, contact shadow) — the dimensional-icon idea from
   Airbnb's 2025 release, replacing emoji that render differently per device.
   ========================================================================== */
.ic {
  display: inline-block; flex: none; width: 1.3em; height: 1.3em; margin-right: .5em;
  background: center / contain no-repeat; vertical-align: -.28em;
}
.ic[data-ic="stays"] { background-image: url(/img/icons/stays.svg); }
.ic[data-ic="flights"] { background-image: url(/img/icons/flights.svg); }
.ic[data-ic="cars"] { background-image: url(/img/icons/cars.svg); }
.ic[data-ic="campsites"] { background-image: url(/img/icons/campsites.svg); }
.ic[data-ic="food"] { background-image: url(/img/icons/food.svg); }
.ic[data-ic="weather"] { background-image: url(/img/icons/weather.svg); }
.ic[data-ic="trains"] { background-image: url(/img/icons/trains.svg); }
.ic[data-ic="cruises"] { background-image: url(/img/icons/cruises.svg); }
.ic[data-ic="trails"] { background-image: url(/img/icons/trails.svg); }
.ic[data-ic="fishing"] { background-image: url(/img/icons/fishing.svg); }
.ic[data-ic="gas"] { background-image: url(/img/icons/gas.svg); }
.ic[data-ic="excursions"] { background-image: url(/img/icons/excursions.svg); }
.ic[data-ic="travel"] { background-image: url(/img/icons/travel.svg); }
.ic[data-ic="agent"] { background-image: url(/img/icons/agent.svg); }
.ic[data-ic="trip"] { background-image: url(/img/icons/trip.svg); }
.ic[data-ic="budget"] { background-image: url(/img/icons/budget.svg); }
.ic[data-ic="shopping"] { background-image: url(/img/icons/shopping.svg); }
.ic[data-ic="accessories"] { background-image: url(/img/icons/accessories.svg); }
.ic[data-ic="ai"] { background-image: url(/img/icons/ai.svg); }
.ic[data-ic="about"] { background-image: url(/img/icons/about.svg); }
.ic[data-ic="donate"] { background-image: url(/img/icons/donate.svg); }
.ic[data-ic="saved"] { background-image: url(/img/icons/saved.svg); }
.ic[data-ic="account"] { background-image: url(/img/icons/account.svg); }
.ic[data-ic="discounts"] { background-image: url(/img/icons/discounts.svg); }
.ic[data-ic="admin"] { background-image: url(/img/icons/admin.svg); }
.ic[data-ic="home"] { background-image: url(/img/icons/home.svg); }

/* menus */
.nav-group-menu .tab .ic { width: 26px; height: 26px; margin-right: .7rem; vertical-align: -8px; }
.tab-donate-btn .ic { width: 18px; height: 18px; margin-right: .35rem; vertical-align: -4px; }

/* home category bar: icons sit softened until chosen (Airbnb category-bar pattern) */
.hw-tab .hw-ico {
  display: block; width: 36px; height: 36px; font-size: 0; color: transparent;
  background: center / contain no-repeat; transition: filter .2s ease, opacity .2s ease;
}
.hw-tab:not(.active) .hw-ico { filter: saturate(.35); opacity: .75; }
.hw-tab:hover .hw-ico { filter: none; opacity: 1; }
.hw-tab[data-cat="airbnb"] .hw-ico { background-image: url(/img/icons/stays.svg); }
.hw-tab[data-cat="flights"] .hw-ico { background-image: url(/img/icons/flights.svg); }
.hw-tab[data-cat="cars"] .hw-ico { background-image: url(/img/icons/cars.svg); }
.hw-tab[data-cat="campsites"] .hw-ico { background-image: url(/img/icons/campsites.svg); }
.hw-tab[data-cat="food"] .hw-ico { background-image: url(/img/icons/food.svg); }
.hw-tab[data-cat="weather"] .hw-ico { background-image: url(/img/icons/weather.svg); }
.hw-tab[data-cat="trains"] .hw-ico { background-image: url(/img/icons/trains.svg); }
.hw-tab[data-cat="cruises"] .hw-ico { background-image: url(/img/icons/cruises.svg); }

/* tool tiles */
.home-ico { font-size: 0 !important; color: transparent; background-repeat: no-repeat; background-position: center; background-size: 38px; }
.home-card[onclick*="'campsites'"] .home-ico { background-image: url(/img/icons/campsites.svg); }
.home-card[onclick*="'fishing'"] .home-ico { background-image: url(/img/icons/fishing.svg); }
.home-card[onclick*="'trails'"] .home-ico { background-image: url(/img/icons/trails.svg); }
.home-card[onclick*="'gas'"] .home-ico { background-image: url(/img/icons/gas.svg); }
.home-card[onclick*="'weather'"] .home-ico { background-image: url(/img/icons/weather.svg); }
.home-card[onclick*="'food'"] .home-ico { background-image: url(/img/icons/food.svg); }
.home-card[onclick*="'excursions'"] .home-ico { background-image: url(/img/icons/excursions.svg); }
.home-card[onclick*="'travel'"] .home-ico { background-image: url(/img/icons/travel.svg); }
.home-card[onclick*="'flights'"] .home-ico { background-image: url(/img/icons/flights.svg); }
.home-card[onclick*="'trains'"] .home-ico { background-image: url(/img/icons/trains.svg); }
.home-card[onclick*="'cars'"] .home-ico { background-image: url(/img/icons/cars.svg); }
.home-card[onclick*="'cruises'"] .home-ico { background-image: url(/img/icons/cruises.svg); }
.home-card[onclick*="'airbnb'"] .home-ico { background-image: url(/img/icons/stays.svg); }
.home-card[onclick*="'accessories'"] .home-ico { background-image: url(/img/icons/accessories.svg); }

/* page headers on every tool tab: icon tile + title + one line */
.flt-search-card .flt-search-title, .wx-search .wx-search-title {
  display: flex; align-items: center; gap: .9rem; text-align: left;
  font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.03em; color: var(--ink); margin: .3rem 0 .25rem;
}
.flt-search-card .flt-search-sub, .wx-search .wx-search-sub {
  display: block; text-align: left; color: var(--muted); font-size: 1rem; line-height: 1.45;
  margin: 0 0 1.2rem calc(58px + .9rem); max-width: 64ch;
}
.wx-search { text-align: left; }
h2:is(.flt-search-title, .wx-search-title) > .ic:first-child {
  width: 58px; height: 58px; margin: 0; border-radius: 19px; vertical-align: middle;
  background-color: var(--surface); background-size: 38px; border: 1px solid var(--line); box-shadow: var(--sh-2);
}
h2 > .ic:first-child { width: 1.2em; height: 1.2em; margin-right: .4em; vertical-align: -.2em; }

/* hero subhead */
.home-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 600; color: rgba(255, 255, 255, .94);
  max-width: 560px; margin: .8rem auto 0; text-shadow: 0 1px 14px rgba(31, 26, 23, .45); text-wrap: balance;
}
/* the weather search is one pill: its input is bare */
.wx-search-row input, .wx-search-row input:focus { border: 0 !important; box-shadow: none !important; background: transparent !important; }
.wx-search-row:focus-within { border-color: var(--brand); box-shadow: var(--sh-2), 0 0 0 4px rgba(var(--sun-rgb), .16); }

/* footer: brand + four link groups */
.site-footer {
  display: block; text-align: left; padding: 3.2rem 1.5rem 1.4rem; font-size: .92rem;
  background: var(--surface-2); border-top: 1px solid var(--line); color: var(--muted);
}
.ft-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2rem; }
.ft-logo { display: block; width: 40px; height: auto; }
.ft-brand strong { display: block; margin: .7rem 0 .35rem; font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.ft-brand p { margin: 0; max-width: 28ch; line-height: 1.5; }
.ft-col h4 { margin: .35rem 0 .8rem; font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink); }
.ft-col .footer-link { display: block; padding: .3rem 0; color: var(--ink-2); font-weight: 500; text-decoration: none; }
.ft-col .footer-link:hover { color: var(--brand); }
.ft-bottom {
  max-width: 1180px; margin: 2.4rem auto 0; padding-top: 1.2rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2.5rem; font-size: .8rem; line-height: 1.5;
}
.ft-aff { max-width: 72ch; }
@media (max-width: 900px) {
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1.2rem; }
  .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .site-footer { display: block; text-align: left; padding: 2.2rem 1.2rem 1.2rem; }
  .site-footer .ft-aff { max-width: none; font-size: .78rem; color: var(--muted); }
  .ft-bottom { flex-direction: column; }
  .home-ico { background-size: 26px; }
  .flt-search-card .flt-search-sub, .wx-search .wx-search-sub { margin-left: 0; font-size: .95rem; }
  h2:is(.flt-search-title, .wx-search-title) > .ic:first-child { width: 48px; height: 48px; background-size: 32px; border-radius: 16px; }
}

/* Cars: a deliberate two-row form (like Flights) — places on top, dates + times + search below */
@media (min-width: 900px) {
  .flt-search-panel .car-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: .55rem; }
  .flt-search-panel .car-form .flt-field { min-width: 0; }
  .flt-search-panel .car-form .flt-field:has(#car-loc) { grid-column: 1 / 3; }
  .flt-search-panel .car-form .flt-field:has(#car-drop) { grid-column: 3 / 6; }
  .flt-search-panel .car-form > button { grid-column: 5; grid-row: 2; align-self: center; }
}

/* ==========================================================================
   Round 3 — one icon language everywhere
   Small inline spots: monochrome Lucide line icons (lucide.dev, ISC) that follow
   the text color, swapped in for emoji by js/glyphs.js. Large decorative spots
   and empty states: the clay icons. No emoji left in the interface.
   ========================================================================== */
.gl {
  display: inline-block; flex: none; width: 1.08em; height: 1.08em; margin-right: .38em; vertical-align: -.16em;
  background-color: currentColor;
  -webkit-mask: var(--gl) center / contain no-repeat; mask: var(--gl) center / contain no-repeat;
}
.gl-solo { margin-right: 0; }
.gl[data-gl="alarm-clock"] { --gl: url(/img/ui/alarm-clock.svg); }
.gl[data-gl="armchair"] { --gl: url(/img/ui/armchair.svg); }
.gl[data-gl="backpack"] { --gl: url(/img/ui/backpack.svg); }
.gl[data-gl="ban"] { --gl: url(/img/ui/ban.svg); }
.gl[data-gl="banknote"] { --gl: url(/img/ui/banknote.svg); }
.gl[data-gl="battery-full"] { --gl: url(/img/ui/battery-full.svg); }
.gl[data-gl="bed-double"] { --gl: url(/img/ui/bed-double.svg); }
.gl[data-gl="beer"] { --gl: url(/img/ui/beer.svg); }
.gl[data-gl="bike"] { --gl: url(/img/ui/bike.svg); }
.gl[data-gl="book-open"] { --gl: url(/img/ui/book-open.svg); }
.gl[data-gl="bot"] { --gl: url(/img/ui/bot.svg); }
.gl[data-gl="building-2"] { --gl: url(/img/ui/building-2.svg); }
.gl[data-gl="bus"] { --gl: url(/img/ui/bus.svg); }
.gl[data-gl="calendar"] { --gl: url(/img/ui/calendar.svg); }
.gl[data-gl="camera"] { --gl: url(/img/ui/camera.svg); }
.gl[data-gl="candy"] { --gl: url(/img/ui/candy.svg); }
.gl[data-gl="car"] { --gl: url(/img/ui/car.svg); }
.gl[data-gl="circle-check"] { --gl: url(/img/ui/circle-check.svg); }
.gl[data-gl="circle-x"] { --gl: url(/img/ui/circle-x.svg); }
.gl[data-gl="clipboard-list"] { --gl: url(/img/ui/clipboard-list.svg); }
.gl[data-gl="clock"] { --gl: url(/img/ui/clock.svg); }
.gl[data-gl="cloud"] { --gl: url(/img/ui/cloud.svg); }
.gl[data-gl="cloud-fog"] { --gl: url(/img/ui/cloud-fog.svg); }
.gl[data-gl="cloud-lightning"] { --gl: url(/img/ui/cloud-lightning.svg); }
.gl[data-gl="cloud-rain"] { --gl: url(/img/ui/cloud-rain.svg); }
.gl[data-gl="cloud-snow"] { --gl: url(/img/ui/cloud-snow.svg); }
.gl[data-gl="cloud-sun"] { --gl: url(/img/ui/cloud-sun.svg); }
.gl[data-gl="cloud-sun-rain"] { --gl: url(/img/ui/cloud-sun-rain.svg); }
.gl[data-gl="coffee"] { --gl: url(/img/ui/coffee.svg); }
.gl[data-gl="compass"] { --gl: url(/img/ui/compass.svg); }
.gl[data-gl="credit-card"] { --gl: url(/img/ui/credit-card.svg); }
.gl[data-gl="croissant"] { --gl: url(/img/ui/croissant.svg); }
.gl[data-gl="crown"] { --gl: url(/img/ui/crown.svg); }
.gl[data-gl="cup-soda"] { --gl: url(/img/ui/cup-soda.svg); }
.gl[data-gl="droplet"] { --gl: url(/img/ui/droplet.svg); }
.gl[data-gl="eye"] { --gl: url(/img/ui/eye.svg); }
.gl[data-gl="ferris-wheel"] { --gl: url(/img/ui/ferris-wheel.svg); }
.gl[data-gl="file-text"] { --gl: url(/img/ui/file-text.svg); }
.gl[data-gl="fish"] { --gl: url(/img/ui/fish.svg); }
.gl[data-gl="flag"] { --gl: url(/img/ui/flag.svg); }
.gl[data-gl="flame"] { --gl: url(/img/ui/flame.svg); }
.gl[data-gl="flashlight"] { --gl: url(/img/ui/flashlight.svg); }
.gl[data-gl="flask-conical"] { --gl: url(/img/ui/flask-conical.svg); }
.gl[data-gl="folder-open"] { --gl: url(/img/ui/folder-open.svg); }
.gl[data-gl="footprints"] { --gl: url(/img/ui/footprints.svg); }
.gl[data-gl="fuel"] { --gl: url(/img/ui/fuel.svg); }
.gl[data-gl="globe"] { --gl: url(/img/ui/globe.svg); }
.gl[data-gl="hand"] { --gl: url(/img/ui/hand.svg); }
.gl[data-gl="headphones"] { --gl: url(/img/ui/headphones.svg); }
.gl[data-gl="heart"] { --gl: url(/img/ui/heart.svg); }
.gl[data-gl="hotel"] { --gl: url(/img/ui/hotel.svg); }
.gl[data-gl="house"] { --gl: url(/img/ui/house.svg); }
.gl[data-gl="ice-cream-cone"] { --gl: url(/img/ui/ice-cream-cone.svg); }
.gl[data-gl="id-card"] { --gl: url(/img/ui/id-card.svg); }
.gl[data-gl="image"] { --gl: url(/img/ui/image.svg); }
.gl[data-gl="info"] { --gl: url(/img/ui/info.svg); }
.gl[data-gl="landmark"] { --gl: url(/img/ui/landmark.svg); }
.gl[data-gl="lightbulb"] { --gl: url(/img/ui/lightbulb.svg); }
.gl[data-gl="link"] { --gl: url(/img/ui/link.svg); }
.gl[data-gl="lock"] { --gl: url(/img/ui/lock.svg); }
.gl[data-gl="luggage"] { --gl: url(/img/ui/luggage.svg); }
.gl[data-gl="mail"] { --gl: url(/img/ui/mail.svg); }
.gl[data-gl="map"] { --gl: url(/img/ui/map.svg); }
.gl[data-gl="map-pin"] { --gl: url(/img/ui/map-pin.svg); }
.gl[data-gl="martini"] { --gl: url(/img/ui/martini.svg); }
.gl[data-gl="moon"] { --gl: url(/img/ui/moon.svg); }
.gl[data-gl="mountain"] { --gl: url(/img/ui/mountain.svg); }
.gl[data-gl="package"] { --gl: url(/img/ui/package.svg); }
.gl[data-gl="paperclip"] { --gl: url(/img/ui/paperclip.svg); }
.gl[data-gl="party-popper"] { --gl: url(/img/ui/party-popper.svg); }
.gl[data-gl="pizza"] { --gl: url(/img/ui/pizza.svg); }
.gl[data-gl="plane"] { --gl: url(/img/ui/plane.svg); }
.gl[data-gl="plane-landing"] { --gl: url(/img/ui/plane-landing.svg); }
.gl[data-gl="plane-takeoff"] { --gl: url(/img/ui/plane-takeoff.svg); }
.gl[data-gl="plug"] { --gl: url(/img/ui/plug.svg); }
.gl[data-gl="printer"] { --gl: url(/img/ui/printer.svg); }
.gl[data-gl="refresh-cw"] { --gl: url(/img/ui/refresh-cw.svg); }
.gl[data-gl="rocket"] { --gl: url(/img/ui/rocket.svg); }
.gl[data-gl="sailboat"] { --gl: url(/img/ui/sailboat.svg); }
.gl[data-gl="sandwich"] { --gl: url(/img/ui/sandwich.svg); }
.gl[data-gl="satellite"] { --gl: url(/img/ui/satellite.svg); }
.gl[data-gl="save"] { --gl: url(/img/ui/save.svg); }
.gl[data-gl="search"] { --gl: url(/img/ui/search.svg); }
.gl[data-gl="server"] { --gl: url(/img/ui/server.svg); }
.gl[data-gl="settings"] { --gl: url(/img/ui/settings.svg); }
.gl[data-gl="ship"] { --gl: url(/img/ui/ship.svg); }
.gl[data-gl="shirt"] { --gl: url(/img/ui/shirt.svg); }
.gl[data-gl="shopping-bag"] { --gl: url(/img/ui/shopping-bag.svg); }
.gl[data-gl="shopping-cart"] { --gl: url(/img/ui/shopping-cart.svg); }
.gl[data-gl="smartphone"] { --gl: url(/img/ui/smartphone.svg); }
.gl[data-gl="snowflake"] { --gl: url(/img/ui/snowflake.svg); }
.gl[data-gl="soup"] { --gl: url(/img/ui/soup.svg); }
.gl[data-gl="sparkles"] { --gl: url(/img/ui/sparkles.svg); }
.gl[data-gl="square-parking"] { --gl: url(/img/ui/square-parking.svg); }
.gl[data-gl="star"] { --gl: url(/img/ui/star.svg); }
.gl[data-gl="sun"] { --gl: url(/img/ui/sun.svg); }
.gl[data-gl="sunset"] { --gl: url(/img/ui/sunset.svg); }
.gl[data-gl="target"] { --gl: url(/img/ui/target.svg); }
.gl[data-gl="tent"] { --gl: url(/img/ui/tent.svg); }
.gl[data-gl="thermometer"] { --gl: url(/img/ui/thermometer.svg); }
.gl[data-gl="ticket"] { --gl: url(/img/ui/ticket.svg); }
.gl[data-gl="train-front"] { --gl: url(/img/ui/train-front.svg); }
.gl[data-gl="trash-2"] { --gl: url(/img/ui/trash-2.svg); }
.gl[data-gl="tree-pine"] { --gl: url(/img/ui/tree-pine.svg); }
.gl[data-gl="trees"] { --gl: url(/img/ui/trees.svg); }
.gl[data-gl="triangle-alert"] { --gl: url(/img/ui/triangle-alert.svg); }
.gl[data-gl="umbrella"] { --gl: url(/img/ui/umbrella.svg); }
.gl[data-gl="user"] { --gl: url(/img/ui/user.svg); }
.gl[data-gl="users"] { --gl: url(/img/ui/users.svg); }
.gl[data-gl="utensils"] { --gl: url(/img/ui/utensils.svg); }
.gl[data-gl="wallet"] { --gl: url(/img/ui/wallet.svg); }
.gl[data-gl="watch"] { --gl: url(/img/ui/watch.svg); }
.gl[data-gl="waves"] { --gl: url(/img/ui/waves.svg); }
.gl[data-gl="wifi"] { --gl: url(/img/ui/wifi.svg); }
.gl[data-gl="wind"] { --gl: url(/img/ui/wind.svg); }
.gl[data-gl="wine"] { --gl: url(/img/ui/wine.svg); }
.gl[data-gl="worm"] { --gl: url(/img/ui/worm.svg); }
.gl[data-gl="wrench"] { --gl: url(/img/ui/wrench.svg); }
.gl[data-gl="zap"] { --gl: url(/img/ui/zap.svg); }
:is(.xgo, .hw-search, .btn-primary) > .gl-solo { width: 1.3em; height: 1.3em; vertical-align: -.25em; }
.hw-field .gl, .zip-input-wrap .gl, .wx-search-row .gl, .wx-search-icon .gl { color: var(--muted); }
.species-tag .gl { color: var(--teal); }
.trail-location .gl, .trail-access .gl { opacity: .85; }

/* search-panel fields: the pin / calendar / people / clock / seat were emoji in CSS */
.flt-search-panel .flt-field::before {
  content: ""; width: 20px; height: 20px; font-size: 0; background-color: var(--muted);
  -webkit-mask: url(/img/ui/map-pin.svg) center / contain no-repeat; mask: url(/img/ui/map-pin.svg) center / contain no-repeat;
  transition: background-color .15s ease;
}
.flt-search-panel .flt-field:has(input[type=date])::before { content: ""; -webkit-mask-image: url(/img/ui/calendar.svg); mask-image: url(/img/ui/calendar.svg); }
.flt-search-panel .flt-field:has(select)::before { content: ""; -webkit-mask-image: url(/img/ui/users.svg); mask-image: url(/img/ui/users.svg); }
.flt-search-panel .flt-field:has(select[id*="time"])::before { content: ""; -webkit-mask-image: url(/img/ui/clock.svg); mask-image: url(/img/ui/clock.svg); }
.flt-search-panel .flt-field:has(select[id*="cabin"])::before { content: ""; -webkit-mask-image: url(/img/ui/armchair.svg); mask-image: url(/img/ui/armchair.svg); }
.flt-search-panel .flt-field:focus-within::before { background-color: var(--brand); }

/* large decorative spots: clay icons */
.support-ico { font-size: 0 !important; color: transparent; background-image: url(/img/icons/rocket.svg); background-repeat: no-repeat; background-position: center; background-size: 26px; }
.forecast-icon {
  font-size: 0 !important; display: inline-block; flex: none; width: 54px; height: 54px; border-radius: 18px;
  background: rgba(255, 255, 255, .14) url(/img/icons/fishing.svg) center / 38px no-repeat;
  border: 1px solid rgba(255, 255, 255, .2);
}
.acct-avatar { font-size: 0; background-image: url(/img/icons/account.svg); background-repeat: no-repeat; background-position: center; background-size: 62%; }
.cc-ico { font-size: 1.6rem; }

/* empty states: a clay icon on a soft tile instead of a giant emoji */
.budget-empty-icon, .shop-empty-icon,
#tab-budget .empty-state .icon,
#tab-shopping .empty-state .icon,
#tab-trip .empty-state .icon,
#tab-fishing .empty-state .icon,
#tab-trails .empty-state .icon,
#tab-campsites .empty-state .icon,
#tab-saved .empty-state .icon,
#tab-gas .empty-state .icon,
#tab-accessories .empty-state .icon,
#tab-food .empty-state .icon,
#tab-airbnb .empty-state .icon,
#tab-cars .empty-state .icon,
#tab-weather .empty-state .icon,
#tab-excursions .empty-state .icon,
#tab-flights .empty-state .icon,
#tab-trains .empty-state .icon {
  font-size: 0 !important; color: transparent; display: block; width: 88px; height: 88px; margin: 0 auto 1rem;
  border-radius: 28px; background-color: var(--surface); background-repeat: no-repeat; background-position: center;
  background-size: 56px; border: 1px solid var(--line); box-shadow: var(--sh-2);
}
.budget-empty-icon { background-image: url(/img/icons/budget.svg); }
.shop-empty-icon { background-image: url(/img/icons/shopping.svg); }
#tab-budget .empty-state .icon { background-image: url(/img/icons/budget.svg); }
#tab-shopping .empty-state .icon { background-image: url(/img/icons/shopping.svg); }
#tab-trip .empty-state .icon { background-image: url(/img/icons/trip.svg); }
#tab-fishing .empty-state .icon { background-image: url(/img/icons/fishing.svg); }
#tab-trails .empty-state .icon { background-image: url(/img/icons/trails.svg); }
#tab-campsites .empty-state .icon { background-image: url(/img/icons/campsites.svg); }
#tab-saved .empty-state .icon { background-image: url(/img/icons/saved.svg); }
#tab-gas .empty-state .icon { background-image: url(/img/icons/gas.svg); }
#tab-accessories .empty-state .icon { background-image: url(/img/icons/accessories.svg); }
#tab-food .empty-state .icon { background-image: url(/img/icons/food.svg); }
#tab-airbnb .empty-state .icon { background-image: url(/img/icons/stays.svg); }
#tab-cars .empty-state .icon { background-image: url(/img/icons/cars.svg); }
#tab-weather .empty-state .icon { background-image: url(/img/icons/weather.svg); }
#tab-excursions .empty-state .icon { background-image: url(/img/icons/excursions.svg); }
#tab-flights .empty-state .icon { background-image: url(/img/icons/flights.svg); }
#tab-trains .empty-state .icon { background-image: url(/img/icons/trains.svg); }
.empty-state p, .budget-empty, .shop-empty { color: var(--muted); }
.empty-state h3, .empty-state strong { color: var(--ink); font-weight: 800; letter-spacing: -.015em; }

/* Fishing forecast header is dark ocean: its title, subtitle and divider go light */
.forecast-header .forecast-title, .forecast-header :is(h1, h2, h3, h4) { color: #fff; }
.forecast-header .forecast-sub { color: rgba(255, 255, 255, .8); }
.forecast-header .forecast-divider, .forecast-header .forecast-divider span { color: rgba(255, 255, 255, .72); }
.forecast-header .forecast-divider::before, .forecast-header .forecast-divider::after { background: rgba(255, 255, 255, .25); }
