/* ═══════════════════════════════════════════════════════════════════════════
   BACKGROUND TEST (19 Nov): dark bluish-grey paper, with light-blue decorations.
   To turn it off: remove the bg-test.css <link> line in
   resources/views/layouts/partials/head.blade.php. Nothing else was changed.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Dark bluish-grey paper; notebook grid lines in light blue; pink margin line kept */
html body {
    background-color: #2b3440 !important;
    background-image:
        /* pink margin line removed 19 Nov: */
        repeating-linear-gradient(to bottom, transparent, transparent 19px, rgba(150,190,230,0.18) 19px, rgba(150,190,230,0.18) 20px),
        repeating-linear-gradient(to right, transparent, transparent 19px, rgba(150,190,230,0.18) 19px, rgba(150,190,230,0.18) 20px) !important;
}
html .lp-graph-bg {
    background-color: #2b3440 !important;
    background-image:
        /* pink margin line removed 19 Nov: */
        repeating-linear-gradient(to bottom, transparent, transparent 19px, rgba(150,190,230,0.18) 19px, rgba(150,190,230,0.18) 20px),
        repeating-linear-gradient(to right, transparent, transparent 19px, rgba(150,190,230,0.18) 19px, rgba(150,190,230,0.18) 20px) !important;
}

/* World map tracing: light blue so it stands out */
html #lp-world-map { opacity: .55 !important; }
html #lp-world-map path { stroke: #9cc8ee !important; }

/* Dashboard panel: dark too, so its pale-blue text reads (it was white with a faint grid) */
html .lp-dashboard-card {
    background-color: #323c49 !important;
    background-image:
        repeating-linear-gradient(to bottom, transparent, transparent 19px, rgba(150,190,230,0.14) 19px, rgba(150,190,230,0.14) 20px),
        repeating-linear-gradient(to right, transparent, transparent 19px, rgba(150,190,230,0.14) 19px, rgba(150,190,230,0.14) 20px) !important;
}

/* ── Text on the dark paper: white (main title and subtitle stay white) ── */
html body, html h1, html h2, html h3, html h4, html h5, html h6, html p, html a,
html li, html span, html label, html small, html .title, html .card-title,
html .description, html .text-muted,
html .lp-hero-title, html .lp-hero-subtitle {
    color: #ffffff !important;
}

/* ── Head bar and buttons: what was dark blue is now pale light blue (#9cc8ee) ── */
html .lp-navbar-brand { color: #9cc8ee !important; }

/* Dark-blue blocks (menu links, dashboard tabs, + button, contact button): pale blue, with dark writing */
html body nav.navbar #navbarNav .navbar-nav .nav-item .nav-link,
html body nav.navbar #navbarNav .navbar-nav .nav-item .dropdown-toggle,
html .lp-tab-btn, html .lp-plus-btn, html .lp-contact-submit,
html .lp-profile-save-btn {
    background-color: #9cc8ee !important;
    color: #2b3440 !important;
}
html body nav.navbar #navbarNav .navbar-nav .nav-item .nav-link *,
html .lp-tab-btn *, html .lp-plus-btn *, html .lp-contact-submit *,
html .lp-profile-save-btn * {
    color: #2b3440 !important;
    background-color: transparent !important;
}

/* Light boxes keep their dark-blue writing (pale blue would be unreadable on them) */
html .modal-content, html .modal-content *,
html .dropdown-menu, html .dropdown-menu *,
html .lp-piece-card, html .lp-piece-card *,
html .lp-about-card, html .lp-about-card *,
html .lp-faq-item, html .lp-faq-item *,
html .lp-contact-card, html .lp-contact-card *,
html .lp-dashboard-card .card, html .lp-dashboard-card .card *,
html .alert, html .alert *,
html .form-control, html input, html textarea, html select,
html .btn, html .btn *,
html .gm-style, html .gm-style * {
    color: #0d2b6e !important;
}
/* …except the dark-blue blocks above, which stay pale blue inside menus */
html .dropdown-menu .dropdown-item:hover { color: #ffffff !important; }

/* Head bar: Home, Map, About, FAQs, Contact and Me / Get In, all in white.
   Red Screen Eye draws each letter on its own little block in the TEXT colour,
   so making the text white gives white blocks (the same look as "Home"). */
html .lp-navbar-brand { color: #ffffff !important; }
html body nav.navbar #navbarNav .navbar-nav .nav-item .nav-link,
html body nav.navbar #navbarNav .navbar-nav .nav-item .dropdown-toggle,
html body nav.navbar #navbarNav .navbar-nav .nav-item .nav-link *,
html body nav.navbar #navbarNav .navbar-nav .nav-item .dropdown-toggle * {
    color: #ffffff !important;
    background-color: transparent !important;
}

/* The navigation script colours the menu links from this setting */
html { --lp-nav-color: #ffffff; }

/* ── Map page: the map sits behind the head bar and is light, so the head bar goes back to navy there ── */
/* 19 Nov: the Google map is now in dark mode, so the head bar is white again on the map page (it was navy for the light map) */
html body.lp-page-map { --lp-nav-color: #ffffff; }
html body.lp-page-map .lp-navbar-brand,
html body.lp-page-map nav.navbar #navbarNav .navbar-nav .nav-item .nav-link,
html body.lp-page-map nav.navbar #navbarNav .navbar-nav .nav-item .dropdown-toggle,
html body.lp-page-map nav.navbar #navbarNav .navbar-nav .nav-item .nav-link *,
html body.lp-page-map nav.navbar #navbarNav .navbar-nav .nav-item .dropdown-toggle * {
    color: #ffffff !important;
    text-shadow: 0 0 4px rgba(0,0,0,.8), 0 0 8px rgba(0,0,0,.6) !important;  /* soft dark glow so it stays readable over lighter parts of the map */
}

/* ── Footer (19 Nov): dark blue, and pushed below the first screen so it only shows when you scroll down ── */
html footer.footer { background-color: #0d2b6e !important; }
html footer.footer, html footer.footer * { color: #ffffff !important; }
html .lp-main { min-height: 100vh; }
/* Footer stays hidden until the visitor scrolls down (the script is in layouts/partials/footer.blade.php) */
html footer.footer { display: none !important; }
html body.lp-scrolled footer.footer { display: block !important; }
html body.lp-page-map footer.footer { display: none !important; }

/* ── 19 Nov: the homepage's night sky is now the background on every page ──
   (same photo, darkened the same way; no grid. The stars and the world map are only on the homepage.)
   To go back to the plain grid background on other pages, delete this block. */
html body {
    background-color: #0b1d3a !important;
    background-image:
        linear-gradient(rgba(7,13,31,.5), rgba(7,13,31,.5)),
        url('/images/night-sky.jpg') !important;
    background-size: cover, cover !important;
    background-position: center, center 68% !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}
html .lp-graph-bg { background: transparent !important; }

/* ── 20 Nov: map page head bar always visible: kept above the map, on a soft dark band that fades into the map ── */
html body.lp-page-map nav.navbar {
    z-index: 1100 !important;
    background: linear-gradient(to bottom, rgba(7,13,31,.85), rgba(7,13,31,.55) 60%, rgba(7,13,31,0)) !important;
    padding-bottom: 18px !important;
}

/* ── 22 Nov: My pieces page: no more grey panel with grid lines; the pieces sit straight on the night sky
      (the same background as the About me page) ── */
html body .lp-dashboard-card {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* ── 22 Nov: the white page background from the Material Kit theme (".main") is taken out, so the
      night sky shows directly behind every page's content (My pieces, FAQ, contact, etc.) ── */
html body .main { background: transparent !important; }

/* ══ 22 Nov: last scrapbook leftovers restyled (Tia's choices) ══ */

/* My pieces tabs and the "+" button: glowing white outline, tabs in Fredericka */
html body .lp-tab-btn, html body .lp-tab-btn *,
html body .lp-plus-btn, html body .lp-plus-btn * {
    background: transparent !important;
    color: #ffffff !important;
}
html body .lp-tab-btn, html body .lp-plus-btn {
    border: 1.5px solid #ffffff !important;
    box-shadow: 0 0 10px rgba(210,228,255,.8), 0 0 24px rgba(170,200,255,.45) !important;
    text-shadow: 0 0 8px rgba(210,228,255,.9) !important;
    clip-path: none !important;
}
html body .lp-tab-btn {
    font-family: var(--lp-display-font) !important; font-style: normal !important;
    border-radius: 10px !important;
}
html body .lp-tab-btn:not(.active) { opacity: .55; }   /* the tab you're not on stays a little faded */

/* FAQ: solid white boxes (no blue), not glowing, with navy text in Single Day (22 Nov) */
html body .lp-faq-item {
    background: #ffffff !important;
    border: 1.5px solid #ffffff !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}
html body .lp-faq-item, html body .lp-faq-item * {
    color: #0d2b6e !important;
    font-family: var(--lp-body-font) !important;
}

/* Account settings (22 Nov): Save buttons in a glowing WHITE outline. So they show, the white boxes on that page
   are now see-through with a thin white outline (like the FAQ), and their writing is white. Form fields stay white. */
html body .lp-profile-card {
    background: transparent !important;
    border: 1.5px solid #ffffff !important;
    border-radius: 6px !important;
}
html body .lp-profile-card, html body .lp-profile-card label, html body .lp-profile-card p,
html body .lp-profile-card h2, html body .lp-profile-card h3, html body .lp-profile-card h4,
html body .lp-profile-card small, html body .lp-profile-card span:not(.material-icons),
html body .lp-profile-card .lp-profile-section-toggle { color: #ffffff !important; }
html body .lp-profile-save-btn, html body .lp-profile-save-btn * {
    background: transparent !important;
    color: #ffffff !important;
}
html body .lp-profile-save-btn {
    border: 1.5px solid #ffffff !important;
    border-radius: 10px !important;
    clip-path: none !important;
    box-shadow: 0 0 10px rgba(210,228,255,.8), 0 0 24px rgba(170,200,255,.45) !important;
    text-shadow: 0 0 8px rgba(210,228,255,.9) !important;
}
html body .lp-profile-save-btn:hover { box-shadow: 0 0 14px rgba(220,235,255,.95), 0 0 34px rgba(180,208,255,.6) !important; }
/* the typing boxes on the account settings page stay white with navy writing, so they're readable on the sky */
html body .lp-profile-card input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
html body .lp-profile-card textarea, html body .lp-profile-card select {
    background: #ffffff !important; color: #0d2b6e !important;
    border-radius: 4px !important; padding: 6px 10px !important;
}

/* 27 Nov: admin-only "Reports" nav link badge (temporary look; Tia to design) */
/* 27 Nov: the Office badge sits on the top-right corner of "Office", like a notification circle.
   It needs the long selector because the nav makes everything inside its links see-through (see the "nav-link *" rules above). */
html body nav.navbar #navbarNav .navbar-nav .nav-item .nav-link.lp-admin-link { position: relative !important; clip-path: none !important; overflow: visible !important; }   /* the nav links' torn-paper cut-out shape was cutting the badge off */
html body nav.navbar #navbarNav .navbar-nav .nav-item.lp-admin-item { position: relative !important; }
html body nav.navbar #navbarNav .navbar-nav .nav-item.lp-admin-item > .lp-admin-badge {
  position: absolute; top: -6px; right: -6px; z-index: 5; text-decoration: none !important; display: flex; align-items: center; justify-content: center; box-sizing: border-box;
  min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; border: 2px solid #ffffff;
  background-color: #d32f2f !important; color: #ffffff !important;
  font-family: Arial, Helvetica, sans-serif !important; font-size: 13px !important; font-weight: bold; font-style: normal !important; line-height: 1;
  box-shadow: 0 1px 4px rgba(0,0,0,.5);
}

/* 27 Nov: little glowing star next to "Office" in the nav (admin only) */
html body .lp-office-nav-star { width: .8em; height: .8em; margin-left: 5px; vertical-align: -.02em;   /* as tall as the capital letters */
  fill: none !important; stroke: #ffffff; stroke-width: 3.5; stroke-linejoin: round; overflow: visible;   /* 27 Nov: outline only, glowing */
  filter: drop-shadow(0 0 2px rgba(255,255,255,.95)) drop-shadow(0 0 6px rgba(190,215,255,.85)); }

/* 27 Nov: My pieces cards: the title over the photo is white, on a soft dark blue fog rising from the bottom of the photo */
html body [id^="piece-card-"] .lp-piece-card .card-header-image .card-title {
    position: absolute !important; left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important; margin: 0 !important;
    padding: 34px 14px 12px !important;
    color: #ffffff !important;
    background: linear-gradient(to top, rgba(13,43,110,.88) 0%, rgba(13,43,110,.6) 45%, rgba(13,43,110,0) 100%) !important;
    text-shadow: 0 0 8px rgba(7,13,31,.6) !important;
    border-radius: 0 0 6px 6px;
}
html body [id^="piece-card-"] .lp-piece-card .card-header-image .card-title:empty { display: none !important; }   /* no title: no fog */

/* 28 Nov: Caveat chosen by Tia as the body font, instead of Single Day (delete this block to go back to Single Day) */
html:root { --lp-body-font: 'Caveat', 'SingleDay', cursive !important; }

/* 1 Dec: menu words are written like "Home" (only the first letter a capital), not in ALL CAPITALS: the menu bar links
   and the items in the drop-down menus (My Pieces, Profile, Log Out, Log In, Register). Phones and computers. */
html body nav.navbar #navbarNav .navbar-nav .nav-item .nav-link,
html body nav.navbar #navbarNav .navbar-nav .nav-item .dropdown-toggle,
html body nav.navbar .dropdown-menu .dropdown-item,
html body nav.navbar .dropdown-menu .dropdown-item * { text-transform: none !important; }
html body nav.navbar .dropdown-menu .dropdown-item { font-family: var(--lp-nav-font) !important; font-size: 1.35rem !important; letter-spacing: .02em; }
html body nav.navbar .dropdown-menu .dropdown-item .material-icons { font-family: 'Material Icons' !important; font-size: 20px !important; }

/* 1 Dec: PHONE ONLY: the menu links keep straight edges (the old slanted "torn paper" shape is off on phones).
   The menu itself slides in from the side as the template does. */
@media (max-width: 767px) {
    html body nav.navbar #navbarNav .navbar-nav .nav-item .nav-link,
    html body nav.navbar #navbarNav .navbar-nav .nav-item .dropdown-toggle { clip-path: none !important; }
}

/* 1 Dec: PHONE ONLY: the menu button is a dark blue circle with three glowing white lines.
   The lines are drawn by the button itself and the template's own icon is hidden, so nothing tilts or turns into a square when tapped. */
@media (max-width: 767px) {
    html body nav.navbar .navbar-toggler,
    html body nav.navbar .navbar-toggler.toggled {
        position: relative; width: 46px !important; height: 46px !important; min-width: 46px; padding: 0 !important; margin: 0 !important;
        border: none !important; border-radius: 50% !important; background: #0d2b6e !important;
        box-shadow: 0 0 10px rgba(120,170,255,.45) !important; transform: none !important;
    }
    html body nav.navbar .navbar-toggler:focus { outline: none; }
    html body nav.navbar .navbar-toggler > *:not(.sr-only) { display: none !important; }   /* the template's icon (it tilts when tapped) */
    html body nav.navbar .navbar-toggler::before {
        content: ''; position: absolute; left: 13px; top: 22px; width: 20px; height: 2px; border-radius: 2px; background: #ffffff;
        box-shadow: 0 -6px 0 #ffffff, 0 6px 0 #ffffff;
        filter: drop-shadow(0 0 2px rgba(255,255,255,.95)) drop-shadow(0 0 5px rgba(170,205,255,.85));
    }
}

/* 1 Dec: PHONE ONLY: in the menu, the little arrow of "Me" / "Get In" sits right after the word instead of on top of it */
@media (max-width: 767px) {
    html body nav.navbar .navbar-collapse .dropdown-toggle::after {
        position: static !important; right: auto !important; margin: 0 0 0 8px !important;
        display: inline-block; vertical-align: middle;
    }
}

/* 1 Dec: PHONE ONLY: the Log in and Register pop-ups fit the screen (start below the menu bar, scroll inside if needed) */
@media (max-width: 767px) {
  html body #loginModal .modal-dialog, html body #signupModal .modal-dialog {
    margin: 76px auto 10px !important; width: calc(100vw - 20px) !important; max-width: calc(100vw - 20px) !important; }
  html body #loginModal .modal-content, html body #signupModal .modal-content {
    max-height: calc(100vh - 88px); max-height: calc(100svh - 88px); overflow-y: auto; border-radius: 10px; }
  html body #loginModal .card-signup, html body #signupModal .card-signup { margin: 0 !important; }
  html body #loginModal .modal-header, html body #signupModal .modal-header { padding: 10px 14px 0 !important; }
  html body #loginModal .card-header { margin: 0 !important; padding: 10px !important; }
  html body #loginModal .modal-body, html body #signupModal .modal-body { padding: 6px 14px !important; }
  html body #loginModal .card-body, html body #signupModal .card-body { padding: 4px 0 !important; }
  html body #signupModal .modal-body .row { margin: 0 !important; }
  html body #signupModal .modal-body [class*="col-md-5"] { padding: 0 !important; }
  html body #loginModal .card-title, html body #signupModal .modal-title { font-size: 1.6rem !important; margin: 4px 0 !important; }
  html body #signupModal .info { margin: 0 0 6px !important; padding: 0 !important; max-width: none !important; }
  html body #signupModal .info .icon { display: none !important; }
  html body #signupModal .info-title { font-size: 1.15rem !important; margin: 4px 0 !important; }
  html body #signupModal .info p, html body #signupModal .info .description { font-size: .98rem !important; line-height: 1.3 !important; margin-bottom: 4px !important; }
  html body #loginModal .form-group, html body #signupModal .form-group { margin: 0 0 8px !important; padding-top: 0 !important; }
  html body #loginModal .form-control, html body #signupModal .form-control { font-size: 16px !important; }
  html body #loginModal .modal-footer, html body #signupModal .modal-footer { padding: 6px 14px 12px !important; }
}

/* 1 Dec: PHONE ONLY: all text slightly bigger (about 9%). Almost every size on the site is in rem, so they all grow together. */
@media (max-width: 767px) {
  html { font-size: 17.5px; }
}

/* 1 Dec (evening): PHONE ONLY: the Home link in the menu bar sits a little higher (it was too low) */
@media (max-width: 767px) {
  html body nav.navbar .lp-navbar-brand { position: relative; top: -8px; font-size: 1.5rem !important; }   /* 1 Dec: smaller (was 2rem) */
  html.lp-phone-steps body #lpIntroTitle { margin-top: 28px; }   /* 2 Dec: a little more space between Home and the title */
}

/* 1 Dec (evening): a soft dark-blue glow behind the homepage words, so the letters stand out from the map and stars (phone and laptop) */
html body .lp-hero-title, html body .lp-hero-subtitle, html body #lpIntroLine, html body #lpIntroLine * {
  text-shadow: 0 0 6px rgba(6,16,46,.95), 0 0 14px rgba(6,16,46,.8), 0 0 28px rgba(6,16,46,.6) !important;
}

/* 2 Dec: the key icon (key boxes and pieces) lies flat: star end on the left, teeth pointing down */
svg.lp-key-icon { transform: rotate(-90deg) scaleX(-1); transform-origin: center; margin-left: 8px !important; margin-right: 14px !important; }   /* room for the key lying flat */

/* 2 Dec: the found-piece pop-up and the "view a piece" pop-up: much bigger, so the photo and words fit without scrolling */
html body #foundPieceModal .modal-dialog, html body #viewPieceModal .modal-dialog { max-width: min(1150px, 94vw) !important; width: 94vw; }
html body #foundPieceModal .modal-body img, html body #viewPieceModal #viewPiecePhoto { max-height: 70vh; width: 100% !important; object-fit: contain; }
/* PHONE: photo on the left, words on the right */
@media (max-width: 767px) {
  html body #foundPieceModal .modal-dialog, html body #viewPieceModal .modal-dialog { margin: 76px auto 10px !important; width: calc(100vw - 16px) !important; max-width: calc(100vw - 16px) !important; }
  html body #foundPieceModal .modal-content, html body #viewPieceModal .modal-content { max-height: calc(100svh - 88px); overflow-y: auto; }
  html body #foundPieceModal .lp-found-step[data-step="1"] > .row, html body #viewPieceModal .modal-body > .row { flex-wrap: nowrap !important; margin: 0 -6px; }
  html body #foundPieceModal .lp-found-step[data-step="1"] > .row > [class*="col-"],
  html body #viewPieceModal .modal-body > .row > [class*="col-"] { flex: 0 0 50% !important; max-width: 50% !important; padding: 0 6px !important; margin-bottom: 0 !important; }
  html body #foundPieceModal .lp-found-step[data-step="1"] > .row > .col-12,
  html body #viewPieceModal .modal-body > .row > .col-12 { flex: 0 0 100% !important; max-width: 100% !important; }   /* no photo: words full width */
  html body #foundPieceModal .modal-body img, html body #viewPieceModal #viewPiecePhoto { max-height: 58svh; }
  html body #foundPieceModal .lp-found-step[data-step="1"] p, html body #viewPieceModal #viewPieceWords { font-size: 1.1rem !important; line-height: 1.4; }
}

/* 2 Dec: a soft blue glow behind the menu words, so they stay readable even over something white */
html body nav.navbar .lp-navbar-brand,
html body nav.navbar #navbarNav .navbar-nav .nav-item .nav-link,
html body nav.navbar #navbarNav .navbar-nav .nav-item .dropdown-toggle {
  text-shadow: 0 0 4px rgba(13,43,110,.95), 0 0 10px rgba(13,43,110,.85), 0 0 20px rgba(30,70,160,.6) !important;
}

/* 3 Dec: PHONE ONLY: bigger menu words in the sliding menu (was 1.1rem), and its drop-down items */
@media (max-width: 767px) {
  html body nav.navbar #navbarNav .navbar-nav .nav-item .nav-link,
  html body nav.navbar #navbarNav .navbar-nav .nav-item .dropdown-toggle { font-size: 1.6rem !important; padding: 8px 12px !important; }
  html body nav.navbar #navbarNav .dropdown-menu .dropdown-item { font-size: 1.45rem !important; padding-top: 8px !important; padding-bottom: 8px !important; }
}

/* 3 Dec: PHONE ONLY: the "verify your email" note on My pieces: its button outlined and bigger, so it's clearly a button */
@media (max-width: 767px) {
  html body .lp-verify-note { font-size: 1.15rem !important; line-height: 1.4; }
  html body .lp-verify-note .lp-verify-btn { display: inline-block; margin: 8px 0 0 !important; padding: 6px 16px !important; font-size: 1.15rem !important;
    border: 1.5px solid #0d2b6e !important; border-radius: 8px !important; color: #0d2b6e !important; background: #fff !important; text-transform: none !important; }
}

/* ── 3 Dec: Bootstrap "info" colour → purplish blue with white writing.
   Title bars ("Log in" etc.): lighter at the top, fading to deeper purplish blue. Buttons ("get in" etc.): plain purplish blue.
   ":not(#lpX)" repeated only makes these rules stronger than the older per-pop-up colour rules. ── */
html body .card-header-info:not(#lpX):not(#lpX):not(#lpX) {
  background: linear-gradient(180deg, #7a72e0 0%, #4c47b8 100%) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.18), 0 7px 10px -5px rgba(76,71,184,.5) !important;
}
html body .card-header-info:not(#lpX):not(#lpX):not(#lpX),
html body .card-header-info:not(#lpX):not(#lpX):not(#lpX) * { color: #ffffff !important; }
html body .btn.btn-info:not(#lpX):not(#lpX):not(#lpX),
html body .btn.btn-info:not(#lpX):not(#lpX):not(#lpX):focus,
html body .btn.btn-info:not(#lpX):not(#lpX):not(#lpX):active {
  background-color: #4c47b8 !important; background-image: none !important; border-color: #4c47b8 !important; color: #ffffff !important;
  box-shadow: 0 2px 2px 0 rgba(76,71,184,.14), 0 3px 1px -2px rgba(76,71,184,.2), 0 1px 5px 0 rgba(76,71,184,.12) !important;
}
html body .btn.btn-info:not(#lpX):not(#lpX):not(#lpX) * { color: #ffffff !important; }
html body .btn.btn-info:not(#lpX):not(#lpX):not(#lpX):hover {
  background-color: #5d58cc !important; background-image: none !important; border-color: #5d58cc !important; color: #ffffff !important;
  box-shadow: 0 14px 26px -12px rgba(76,71,184,.42), 0 4px 23px 0 rgba(0,0,0,.12), 0 8px 10px -5px rgba(76,71,184,.2) !important;
}
/* 3 Dec: the menu drop-downs (Me / Get In): the highlighted item uses the same purplish blue */
html body .dropdown-menu:not(#lpX):not(#lpX) :is(.dropdown-item, a):is(:hover, :focus, :active, .active) {
  background-color: #4c47b8 !important; background-image: none !important; color: #ffffff !important;
  box-shadow: 0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(76,71,184,.4) !important;
}
html body .dropdown-menu:not(#lpX):not(#lpX) :is(.dropdown-item, a):is(:hover, :focus, :active, .active) * { color: #ffffff !important; }

/* 3 Dec: Google's "Use two fingers to move the map" message (.gm-style-mot, on the .gm-style-moc layer): the site's dark-blue
   text rule for maps (line ~72) made it dark blue and small on Google's dark see-through layer. White, big and bold again. */
html body .gm-style .gm-style-moc { background-color: rgba(0,0,0,.65) !important; }
html body .gm-style .gm-style-mot { color: #ffffff !important; font-size: 24px !important; line-height: 1.35 !important; font-weight: 600 !important;
  font-family: Arial, sans-serif !important; font-style: normal !important; text-shadow: 0 1px 4px rgba(0,0,0,.7) !important; padding: 0 20px !important; }

/* 3 Dec: PHONE ONLY: the menu's drop-down items (Log in, Register, My pieces, Profile, Log out) sit on the dark-blue phone menu,
   but the general "dark-blue writing in drop-downs" rule (line ~63) turned their icons dark blue too. White, like the words. */
@media (max-width: 767px) {
  html body nav.navbar #navbarNav .dropdown-menu .dropdown-item,
  html body nav.navbar #navbarNav .dropdown-menu .dropdown-item * { color: #ffffff !important; }
}
