/* Diveryo website - "less white": the light boxes become see-through glass,
   like the dive-site cards on Explore. Kept in its own file so it can be
   switched off in one step (remove the <link> to glass.css) without touching
   anything else. Inside a glass box the page's own colour names are re-pointed
   to light colours, so all the text inside turns white automatically. */

.globe-panel-card,
.globe-panel-card-buddy,
.buddy-card,
.profile-stat,
.record-card,
.milestone-card,
.profile-action-btn:not(.primary),
.tp-search-bar,
.dvc-card, .dvc-ch, .dvc-tabs,
.dvg-tile:not(.dvg-feat), .dvg-lv, .dvg-card,
.dvr-item,
.dvs-card {
  --ink: #ffffff;
  --ink-dim: rgba(255, 255, 255, 0.86);
  --ink-faint: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.28);
  --surface: rgba(255, 255, 255, 0.12);
  --surface-hi: rgba(255, 255, 255, 0.16);
  --deep: rgba(255, 255, 255, 0.08);
  --cyan-dim: rgba(159, 243, 230, 0.28);
  color: #fff;
  background: linear-gradient(160deg, rgba(230,234,237,0.20) 0%, rgba(180,190,197,0.12) 30%, rgba(240,243,244,0.20) 55%, rgba(150,160,168,0.12) 100%) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 8px 20px -14px rgba(7,27,44,0.45);
  text-shadow: 0 1px 2px rgba(7, 27, 44, 0.25);
}

/* Fields to type in stay light and easy to read inside the glass. */
/* Typing boxes: see-through too, white text (no white boxes anywhere). */
.globe-panel-card input, .globe-panel-card textarea, .globe-panel-card select,
.dvc-card input, .dvc-card textarea,
.dvr-form input, .dvr-form textarea,
.dvc-box input, .dvc-box textarea,
#globeSearch, #sortSelect, #viewAtlas input, #viewAtlas select, .logbook-search-input {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
  text-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
}
.dvr-sugg { background: #155c9c !important; color: #fff !important; border-color: rgba(255,255,255,0.3) !important; }
.dvr-sugg div { color: #fff; text-shadow: none; }
select option { color: #0f2733; background: #fff; }
.globe-panel-card input::placeholder, .globe-panel-card textarea::placeholder,
.tp-search-bar input::placeholder, .dvc-box input::placeholder, .dvc-box textarea::placeholder,
.dvr-form input::placeholder, .dvr-form textarea::placeholder,
#globeSearch::placeholder, #viewAtlas input::placeholder, .logbook-search-input::placeholder { color: rgba(255,255,255,0.72) !important; }

/* Numbers and highlights keep a bright aqua accent on the glass. */
.profile-stat .n { color: #ffffff; }
.milestone-card .m-progress-track { background: rgba(255, 255, 255, 0.18); }
.tp-search-bar .tp-diver-stepper button { background: rgba(255,255,255,0.2); color: #fff; border-color: rgba(255,255,255,0.4); }
#tpDiverCount { color: #fff; }

/* Community / Games windows: the page's blue instead of a white sheet. */
.dvc-sheet, .dvg-sheet { background: linear-gradient(180deg, #1aa39a 0%, #1786b8 45%, #155c9c 100%) !important; color: #fff; }
.dvc-tabs { border-bottom: 0 !important; margin: 10px 12px 0; border-radius: 12px; }
.dvc-tabs button { color: rgba(255,255,255,0.85) !important; }
.dvc-tabs button.on { background: rgba(255,255,255,0.22) !important; color: #fff !important; }
.dvc-empty, .dvg-center, .dvg-note, .dvg-sec, .dvc-time, .dvg-top { color: rgba(255,255,255,0.85) !important; }
.dvc-back, .dvg-back { color: #fff !important; }
.dvc-msg { background: rgba(255,255,255,0.14) !important; border-color: rgba(255,255,255,0.28) !important; color: #fff; }
.dvc-msg.me { background: #0f8f82 !important; }
.dvc-ans .dvc-card { background: rgba(255,255,255,0.08) !important; }
.dvc-acts button { color: rgba(255,255,255,0.9) !important; }
.dvc-acts button.on { color: #ffb4a8 !important; }
.dvg-opt { background: rgba(255,255,255,0.14) !important; color: #fff !important; border-color: rgba(255,255,255,0.3) !important; }
.dvg-opt.ok { background: rgba(47,191,113,0.45) !important; border-color: #6fe3a3 !important; }
.dvg-opt.bad { background: rgba(226,86,74,0.45) !important; border-color: #ff9a8f !important; }
.dvg-fact { background: rgba(255,255,255,0.14) !important; color: #fff !important; }
.dvg-row { border-color: rgba(255,255,255,0.2) !important; }
.dvg-row.me { background: rgba(255,255,255,0.18) !important; }
.dvg-lv .st { color: #ffd23f; }
.dvc-av { background: rgba(255,255,255,0.22) !important; color: #fff !important; }

/* Requests box tabs + store card titles. */
.dvr-tabs button { background: rgba(255,255,255,0.12) !important; color: rgba(255,255,255,0.9) !important; border-color: rgba(255,255,255,0.28) !important; }
.dvr-tabs button.on { background: rgba(255,255,255,0.26) !important; color: #fff !important; }
.dvr-item button { background: rgba(255,255,255,0.18) !important; color: #fff !important; border: 1px solid rgba(255,255,255,0.4) !important; }
.dvs-card .dvs-t { color: #fff; }

/* Trip Planner search: the fields sit straight on the glass (no white boxes). */
.tp-search-bar input { background: transparent !important; color: #fff !important; border: 0 !important; text-shadow: none; }
.tp-search-bar input::placeholder { color: rgba(255,255,255,0.75); }
/* Locked milestones: still dimmed, but readable on the glass. */
.milestone-card.locked { opacity: 0.85; }

/* Page text: white on the blue background everywhere (titles, paragraphs,
   labels) - not just inside the glass boxes. */
#viewAtlas, #viewGlobe, #viewWhatsOnPage, #viewProfile, #viewMedia {
  --ink: #ffffff;
  --ink-dim: rgba(255, 255, 255, 0.86);
  --ink-faint: rgba(255, 255, 255, 0.70);
  color: #fff;
}
/* Things that stay light inside those pages keep dark text. */
.gallery-banner {
  --ink: #0f2733; --ink-dim: #4c6672; --ink-faint: #7c93a0;
}

/* Community / Games buttons on Buddies: glass pills with white text. */
.dvh-hub button { background: rgba(255,255,255,0.18) !important; color: #fff !important; border-color: rgba(255,255,255,0.4) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.dvh-hub button:hover { background: rgba(255,255,255,0.28) !important; }

/* Dive-site window: same see-through glass, white text like the rest. */
.site-modal {
  --ink: #ffffff; --ink-dim: rgba(255,255,255,0.88); --ink-faint: rgba(255,255,255,0.72);
  --line: rgba(255,255,255,0.28); --surface: rgba(255,255,255,0.12); --surface-hi: rgba(255,255,255,0.16);
  color: #fff; text-shadow: 0 1px 2px rgba(7,27,44,0.35);
}
.site-modal input, .site-modal textarea, .site-modal select { --ink: #0f2733; --ink-dim: #4c6672; --ink-faint: #7c93a0; text-shadow: none; }

/* Top bar and phone bottom bar: blue glass instead of white. */
.section-nav { background: rgba(12, 70, 110, 0.42) !important; border-bottom: 1px solid rgba(255,255,255,0.18) !important; box-shadow: 0 10px 28px -18px rgba(7,27,44,0.5) !important; }
.section-nav button { color: rgba(255,255,255,0.82); }
.section-nav button:hover { color: #fff; background: rgba(255,255,255,0.14); }
.section-nav button.active { color: #fff; }
.nav-get-app-btn { background: #0f2733 !important; color: #fff !important; }
@media (max-width: 900px) {
  .mobile-tab-bar { background: rgba(12, 70, 110, 0.72) !important; border-top: 1px solid rgba(255,255,255,0.18) !important; }
  .mobile-tab { color: rgba(255,255,255,0.75) !important; }
  .mobile-tab.active { color: #9ff3e6 !important; }
}

/* Trip Planner package cards: glass. */
.tp-package-card { background: rgba(255,255,255,0.12) !important; border: 1px solid rgba(255,255,255,0.3) !important; color: #fff;
  --ink: #fff; --ink-dim: rgba(255,255,255,0.86); --ink-faint: rgba(255,255,255,0.7); }
.tp-package-media { background: rgba(255,255,255,0.08) !important; }

/* Logbook journal: the page's blue with white text and glass cards
   (was a cream paper page). */
.logbook-view { background: linear-gradient(180deg, #1aa39a 0%, #1786b8 45%, #155c9c 100%) !important; color: #fff !important; }
.logbook-spine { display: none; }
.logbook-masthead { border-bottom-color: rgba(255,255,255,0.22) !important; }
.logbook-eyebrow, .logbook-card-loc { color: #9ff3e6 !important; }
.logbook-title, .logbook-card-name { color: #fff !important; }
.logbook-stats-line, .logbook-card-notes { color: rgba(255,255,255,0.86) !important; }
.logbook-view, .logbook-view p, .logbook-page-body { color: #fff; }
.logbook-card { background: rgba(255,255,255,0.12) !important; border: 1px solid rgba(255,255,255,0.3) !important;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 26px -14px rgba(7,27,44,0.45) !important; }
.logbook-card-media, .logbook-media-strip { background: rgba(255,255,255,0.08) !important; }
.logbook-card-media .no-thumb { color: rgba(255,255,255,0.6) !important; }
.logbook-stat-chip { color: #fff !important; background: rgba(255,255,255,0.16) !important; }
.logbook-stat-rating { color: #ffd23f !important; }
.logbook-card-edit { color: #9ff3e6 !important; }
