html {
    overflow-y: visible;
}

body {
    font-family: "Quicksand", sans-serif;
    font-weight: 900;
}

.floatify {
    position: fixed;
    bottom: 3px;
    left: 5px;
}

.navbar {
    position: fixed;
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 999;
}

#app {
    margin-top: 70px !important;
}

.delete-event {
    float: right;
    margin-bottom: 10px;
}

.delete {
    color: transparent;
}

.right {
    float: right;
}

.tag {
    margin: 2px;
}

.mirror {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

#map {
    margin-top: -17px;
    height: calc(100vh - 54px);
    z-index: 1;
}

.leaflet-bottom {
    display: none;
}

.nprogress-busy {
    z-index: 99999;
}

#nprogress .bar {
    background: pink !important;
}

#nprogress .spinner-icon {
    border-top-color: pink !important;
    border-left-color: #f394a4 !important;
}

.flatpickr-month {
    background: #eb6864 !important;
    color: white !important;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.flatpickr-calendar {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.event-title {
    display: inline-block;
}

.user-info {
    display: flex;
    align-items: center;
    padding: 3px;
    border-top: 2px solid hsl(0deg, 0%, 96%);
    border-bottom: 2px solid hsl(0deg, 0%, 96%);
    padding: 25px;
    font-size: 25px;
}

.user-avatar-container {
    width: 40px;
    /* Adjust the width and height as needed */
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
}

.user-avatar-event {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name-tag a {
    color: #333;
    /* Adjust the color as needed */
    font-weight: bold;
    text-decoration: none;
}

.upload-photo-button {
    z-index: 99;
    position: absolute;
    left: 0px;
}

.upload-photo {
    max-width: 250px;
    max-height: 250px;
}

.vis-toggle {
    position: absolute;
    z-index: 1;
    margin-top: 9px;
    margin-left: 9px;
}

.divider-top {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 2px solid hsl(0deg, 0%, 96%);
}

.modal {
    background: none !important;
}

.modal-close {
    top: 65px !important;
}

#filterSelect_multiSelect {
    width: 100%;
}

.multiselect-wrapper .multiselect-list {
    width: 50%;
}

.multiselect-input {
    color: inherit !important;
    background: inherit !important;
}

.comment-box {
    min-height: 200px;
}

.comments-wrapper {
    max-height: 500px;
    min-height: 200px;
    overflow-x: hidden;
}

.single-comment {
    overflow-x: unset;
}

.tabs a {
    color: silver;
}

.tabs a:hover {
    color: white;
    border-bottom-color: white;
}

.tabbed-modal {
    overflow: visible;
    height: 75vh;
}

.tabbed-modal-content {
    overflow: scroll;
    overflow-x: hidden;
    max-height: 100%;
}

.level-head {
    padding-left: 40px;
    padding-right: 40px;
    cursor: pointer;
}

.theme-dark .level-head {
    color: white;
}

.pink {
    color: #FA7C91 !important;
}

.level-body:hover {
    color: #363636;
}

.smaller-tabs {
    font-size: 13px;
}

.corner-buttons {
    margin-left: 5px;
}

#twitch-embed iframe {
    width: 100%;
    height: calc(90vh - 75px);
}

.streamer-top-menu {
    margin-bottom: 20px;
    margin-top: -5px;
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
    scrollbar-width: auto;
    scrollbar-color: #eb6864 transparent;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 16px;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background-color: #eb6864;
    border-radius: 10px;
    border: 3px solid #ffffff;
}

.bottom-spacer {
    margin-bottom: 125px !important;
}

.footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
}

.navbar-burger {
    margin-left: 0;
}

.bell {
    margin-left: auto;
}

@media (max-width: 1023px) {
    .nav-move1 {
        display: flex;
    }

    .nav-move2 {
        display: none;
    }
}

@media (min-width: 1024px) {
    .nav-move1 {
        display: none;
    }

    .nav-move2 {
        display: flex;
    }
}

.mod-buttons,
.mod-buttons button {
    display: inline-flex;
    font-weight: 900;
    color: white;
    margin-right: 5px;
}

.notifications {
    opacity: 0.5;
    margin-bottom: 0 !important;
    border-bottom: 1px solid silver;
}

.notify-modal {
    overflow-y: visible;
    height: 75vh;
}

.notify-modal-content {
    overflow-y: scroll;
}

.g-logo {
    max-height: 35px !important;
}

.marker-cluster-small div {
    background: linear-gradient(120deg, #d4fc79 0%, #96e6a1 100%);
}

.marker-cluster-medium div {
    background: radial-gradient(circle at 10% 20%, rgb(255, 200, 124) 0%, rgb(252, 251, 121) 90%);
}

.marker-cluster-large div {
    background: linear-gradient(107deg, rgb(255, 67, 5) 11.1%, rgb(245, 135, 0) 95.3%);
}

.marker-cluster span {
    color: white;
    font-size: 15px;
    font-weight: 900;
    font-family: monospace;
    -webkit-text-stroke: 0.6px black;
}

#go-to {
    margin-bottom: 5px;
}

.comment-btn {
    color: grey;
    cursor: pointer;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image.is-128x128,
.image.is-64x64 {
    overflow: hidden;
}

.comment-btn:hover {
    color: #4a4a4a;
}

.eula-title {
    padding-top: 54px;
}

/* changes for bulma v1, I'm not redoing that CSS file */

a {
    color: #FA7C91;
}

a:hover {
    color: #4a4a4a;
}

.navbar-item,
.navbar-link,
.navbar-burger {
    color: white;
}

.navbar-dropdown .navbar-item:not(.is-active, .is-selected) {
    color: #4a4a4a !important;
}

.theme-dark .navbar-dropdown .navbar-item:not(.is-active, .is-selected) {
    background-color: hsl(221, 14%, 9%) !important;
    color: white !important;
}

.navbar-dropdown {
    background-color: #eb6864;
}

.navbar-dropdown .navbar-item:hover,
.navbar-dropdown .navbar-item:active,
.navbar-dropdown .navbar-item:focus,
.navbar-dropdown .navbar-item:hover,
.navbar-dropdown .navbar-item:active,
.navbar-dropdown .navbar-item:focus,
.theme-dark .navbar-dropdown .navbar-item:hover,
.theme-dark .navbar-dropdown .navbar-item:active,
.theme-dark .navbar-dropdown .navbar-item:focus {
    background-color: whitesmoke !important;
    color: #0a0a0a !important;
}

.is-primary,
.is-active,
.file-cta {
    background-color: #eb6864;
    color: #fff;
}

.file-cta {
    border-bottom: white 1px solid;
    border-right: white 1px solid;
    border-left: 0;
    border-top: 0;
    border-radius: 0;
}

.tag {
    background-color: rgb(250, 124, 145);
}

.navbar-item:hover,
.navbar-link:hover,
button.is-primary:hover,
.navbar-item:active,
.navbar-link:active,
button.is-primary:active,
.navbar-item:focus,
.navbar-link:focus,
button.is-primary:focus {
    background-color: #e8524d;
}

input[type="checkbox"],
input[type="radio"] {
    vertical-align: baseline;
    accent-color: #eb6864;
}

.tabs li.is-active a,
.tabs .is-active {
    border-color: #eb6864 !important;
    color: #eb6864 !important;
    background: none !important;
}

.input:focus,
.textarea:focus,
.select select:focus,
.is-focused.input,
.is-focused.textarea,
.select select.is-focused,
.input:active,
.textarea:active,
.select select:active,
.is-active.input,
.is-active.textarea,
.select select.is-active {
    box-shadow: rgba(250, 124, 145, 0.25) 0px 0px 0px 0.125em;
    border-color: rgb(250, 124, 145);
}

.select::after {
    border-color: #eb6864 !important;
}

.theme-dark .user-name-tag a {
    color: silver;
}

.theme-dark .user-name-tag a:hover {
    color: white;
}

.theme-dark .multiselect-wrapper ul li.active,
.theme-dark .multiselect-list {
    background-color: black !important;
    color: white !important;
}

#card-element {
    background: white;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid silver;
}

.leaflet-marker-pane .custom_marker {
    background: #eb6864;
    padding: 3px !important;
    border-radius: 50%;
    border: 1px solid white;
}

.leaflet-marker-pane .live-marker {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.5));
    animation: colorChange 2s infinite alternate;
}

.leaflet-marker-pane .s_live-marker {
    animation: s_colorChange 2s infinite alternate;
}

.leaflet-marker-pane .s_custom_marker {
    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
        radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    padding: 5px !important;
    border-radius: 50%;
    border: 1px solid white;
}

.live-text {
    color: red;
    font-weight: 900;
}

.message-header {
    background-color: #eb6864;
    color: #fff;
}

.sponsored-text {
    max-width: 230px;
    background-image: linear-gradient(to right,
            #462523 0,
            #cb9b51 22%,
            #f6e27a 45%,
            #f6f2c0 50%,
            #f6e27a 55%,
            #cb9b51 78%,
            #462523 100%);
    color: transparent;
    -webkit-background-clip: text;
    font-weight: 900;
}

.live-text i,
.sponsored-text i {
    float: left;
}

/* Keyframes for pulsing animation */
@keyframes colorChange {
    0% {
        background-color: #eb6864;
        filter: drop-shadow(0 0 0px rgba(255, 0, 0, 0.5));
    }

    100% {
        background-color: #ff0000;
        filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.5));
    }
}

@keyframes s_colorChange {
    0% {
        background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
            radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    }

    100% {
        /* yeah I don't know enough about css to know how this works */
        background: radial-gradient(ellipse farthest-corner at right bottom, red 0%, #ff6666 100%),
            radial-gradient(ellipse farthest-corner at left top, red 0%, #ff6666 100%),
            radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
            radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    }
}
/* ==== Footer (like Simul's) ====================================================== */
/* One slim line, fixed to the bottom of the info pages. */
.app-footer {
    padding: 0 16px;
    z-index: 20;
    border-top: 1px solid rgba(127, 127, 127, 0.18);
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.theme-dark .app-footer { background: rgba(20, 22, 26, 0.82); }
.app-footer-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    height: 40px;
    font-size: 13px;
    white-space: nowrap;
}
.app-footer-brand { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 700; color: inherit; }
.app-footer-brand img { width: 20px; height: 20px; }
.app-footer-brand:hover { color: #eb6864; }
.app-footer-year { opacity: 0.6; }
.app-footer-links { display: flex; align-items: center; }
.app-footer-links a { color: inherit; opacity: 0.75; transition: color 0.15s, opacity 0.15s; }
.app-footer-links a:hover { color: #eb6864; opacity: 1; }
/* dots between the links (only between the ones showing) */
.app-footer-links a + a::before { content: '·'; display: inline-block; margin: 0 0.5rem; opacity: 0.5; color: var(--bulma-text, currentColor); }
.app-footer-year + .app-footer-links::before { content: '·'; margin-right: 0.75rem; opacity: 0.5; }
.app-footer-line > * { flex-shrink: 0; }
@media (max-width: 420px) {
    .app-footer-from { display: none; } /* "© 2027" on phones */
}
@media (max-width: 359px) {
    .app-footer-line { gap: 0.5rem; font-size: 12px; }
    .app-footer-year + .app-footer-links::before { margin-right: 0.5rem; }
}
/* GroupUp's pin logo, in the brand red (logo.svg is white, for the navbar). */
.app-footer-logo {
    width: 18px; height: 18px; background: #eb6864;
    -webkit-mask: url(/assets/logo.svg) center / contain no-repeat; mask: url(/assets/logo.svg) center / contain no-repeat;
}
/* GroupUp has more links than fit one line on phones: they wrap under the name. */
@media (max-width: 768px) {
    .app-footer.gu-footer .app-footer-line { flex-wrap: wrap; row-gap: 0.15rem; height: auto; padding: 6px 0; white-space: normal; }
    .app-footer.gu-footer .app-footer-links { flex-wrap: wrap; justify-content: center; flex-shrink: 1; max-width: 100%; gap: 0.1rem 0.9rem; }
    /* wrapped rows: spacing instead of dots, so no line starts with one */
    .app-footer.gu-footer .app-footer-links a + a::before, .app-footer.gu-footer .app-footer-year + .app-footer-links::before { display: none; }
}

/* ==== Home page ============================================================================ */
.home-hero {
    position: relative;
    padding: 2.5rem 2rem 2.25rem;
    border-radius: 18px;
    background:
        radial-gradient(circle at 85% 20%, rgba(235, 104, 100, 0.22), transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(235, 104, 100, 0.12), transparent 40%),
        rgba(127, 127, 127, 0.07);
    border: 1px solid rgba(127, 127, 127, 0.16);
    overflow: hidden;
}

.home-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.9rem;
}

.home-title span { color: #eb6864; }

.home-lead {
    max-width: 640px;
    font-size: 1.15rem;
    line-height: 1.55;
    opacity: 0.85;
}

.home-cta { margin-top: 1.5rem; }
.home-cta .button { border-radius: 999px; gap: 0.35rem; font-weight: 700; }
.home-cta .button .material-symbols-outlined { font-size: 20px; }
.home-ghost { background: transparent; border: 1px solid rgba(127, 127, 127, 0.35); }
.home-ghost:hover { border-color: #eb6864; color: #eb6864; }

.home-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 2.5rem;
}

.home-feature {
    padding: 1.1rem 1.2rem;
    border-radius: 14px;
    border: 1px solid rgba(127, 127, 127, 0.16);
    background: rgba(127, 127, 127, 0.05);
}

.home-feature > .material-symbols-outlined {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 22px;
    color: #eb6864;
    background: rgba(235, 104, 100, 0.13);
}

.home-feature h3 { margin: 0.6rem 0 0.25rem; font-size: 1.05rem; font-weight: 700; }
.home-feature p { font-size: 0.92rem; line-height: 1.45; opacity: 0.75; }
/* In the hero: the sites you can watch, as the playlist shows them, on small tiles. */
.home-hero .home-sites { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.home-sites li {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border-radius: 9px;
    background: rgba(127, 127, 127, 0.12);
    box-shadow: inset 0 0 0 1px rgba(127, 127, 127, 0.18);
    transition: transform 0.15s, background-color 0.15s, box-shadow 0.15s;
}
.home-sites li:hover { transform: translateY(-2px); background: rgba(235, 104, 100, 0.14); box-shadow: inset 0 0 0 1px rgba(235, 104, 100, 0.45); }
.home-sites .site-icon { width: 21px; height: 21px; opacity: 1; }
/* Three cards side by side; one under another on phones. */
@media (max-width: 768px) { .home-features { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .home-sites li, .home-sites li:hover { transition: none; transform: none; } }
/* Phones: one row, the tiles sharing the width (up to their usual size). */
@media (max-width: 480px) {
    .home-hero .home-sites { display: grid; grid-template-columns: repeat(10, minmax(0, 32px)); gap: 0.25rem; }
    .home-sites li { width: auto; height: auto; aspect-ratio: 1; border-radius: 8px; }
    .home-sites .site-icon { width: 55%; height: 55%; }
}

/* GroupUp: the categories as tiles (the map's own icons), and up to six cards. */
.home-hero .home-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.home-cats li {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 11px;
    background: #fff; box-shadow: inset 0 0 0 1px rgba(127, 127, 127, 0.18); transition: transform 0.15s, box-shadow 0.15s;
}
.home-cats li:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(235, 104, 100, 0.6), 0 4px 12px rgba(235, 104, 100, 0.18); }
.home-cats img { width: 32px; height: 32px; }
.theme-dark .home-cats li { background: #f3f3f3; }
.home-feature-cta { border-color: rgba(235, 104, 100, 0.35); background: rgba(235, 104, 100, 0.06); }
.gu-home { padding-bottom: 3.5rem; } /* clear of the fixed footer */
@media (max-width: 1023px) and (min-width: 769px) { .gu-home .home-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
    .home-hero { padding: 1.75rem 1.1rem 1.5rem; }
    .home-cats li { width: 38px; height: 38px; }
    .home-cats img { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) { .home-cats li, .home-cats li:hover { transition: none; transform: none; } }

/* --- Icon-only navbar ---------------------------------------------------------------------- */
.navbar-item.nav-icon { justify-content: center; }
.navbar-item.nav-icon .material-symbols-outlined, .nav-account .material-symbols-outlined { font-size: 26px; transition: color 0.15s, transform 0.15s; }
.navbar-item.nav-icon:hover .material-symbols-outlined, .nav-account:hover .material-symbols-outlined { color: #fff; }
.navbar-item.nav-icon.is-current .material-symbols-outlined { color: #fff; font-variation-settings: 'FILL' 1; }
.navbar .navbar-item.nav-icon:hover, .navbar .navbar-item.nav-icon:focus { background-color: transparent; }
.nav-home { padding-left: 0.4rem; }
@media (min-width: 1024px) {
    .navbar-end > .navbar-item.nav-icon { padding-left: 0.85rem; padding-right: 0.85rem; }
    .nav-account { padding-right: 2.2rem; }
}
@media (max-width: 1023px) {
    .nav-account .is-hidden-desktop { margin-left: 0.35rem; }
}
/* Tight phones: logo, home, four icons and the burger. */
@media (max-width: 400px) {
    .main-navbar .navbar-brand > .navbar-item.nav-icon { padding-left: 0.4rem; padding-right: 0.4rem; }
    .main-navbar .navbar-brand > .navbar-item.nav-icon .material-symbols-outlined { font-size: 24px; }
}
@media (max-width: 359px) {
    .main-navbar .navbar-brand > .navbar-item.nav-icon { padding-left: 0.25rem; padding-right: 0.25rem; }
}

/* Hover: a soft white circle behind the icon (box-shadow, so nothing moves and badges stay put). */
.navbar-item.nav-icon .material-symbols-outlined, .nav-account .material-symbols-outlined {
    border-radius: 50%;
    transition: color 0.15s, background-color 0.15s, box-shadow 0.15s, transform 0.1s;
}
.navbar-item.nav-icon:hover .material-symbols-outlined, .nav-account:hover .material-symbols-outlined,
.navbar-item.nav-icon:focus-visible .material-symbols-outlined {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.2);
}
.navbar-item.nav-icon.is-current:hover .material-symbols-outlined {
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.3);
}
.navbar-item.nav-icon:active .material-symbols-outlined { transform: scale(0.9); }


/* ==== Map page: the controls and the search panel ======================================== */
/* Top right, under the navbar: clear of Leaflet's zoom (top left) and the message bar (bottom right). */
.map-controls {
    position: fixed; top: 66px; right: 14px; z-index: 30;
    display: flex; flex-direction: column; gap: 10px;
    transition: right 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.map-ctl {
    width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 50%; cursor: pointer;
    background: var(--bulma-scheme-main); color: var(--bulma-text-strong);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18), 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: background-color 0.15s, color 0.15s, transform 0.1s;
}
.map-ctl .material-symbols-outlined { font-size: 24px; }
.map-ctl:hover { color: #eb6864; }
.map-ctl:active { transform: scale(0.93); }
.map-ctl.is-on, .map-ctl:first-child { background: #eb6864; color: #fff; }
.map-ctl:first-child:hover { background: #e2504c; color: #fff; }

.map-panel {
    position: fixed; top: 52px; right: 0; bottom: 0; z-index: 29;
    width: min(380px, 100vw);
    display: flex; flex-direction: column;
    background: var(--bulma-scheme-main);
    border-left: 1px solid rgba(127, 127, 127, 0.18);
    box-shadow: -12px 0 32px rgba(0, 0, 0, 0.16);
    transform: translateX(105%); visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.3s;
}
.map-panel.is-open { transform: none; visibility: visible; transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
/* With the panel open, the buttons ride along its left edge. */
.map-panel.is-open ~ .map-controls, .map-controls:has(+ .map-panel.is-open) { right: calc(min(380px, 100vw) + 14px); }
@media (max-width: 480px) { .map-controls:has(+ .map-panel.is-open) { right: 14px; top: 64px; } .map-controls:has(+ .map-panel.is-open) .map-ctl:not(:first-child) { display: none; } .map-panel { top: 52px; } .map-panel-head { padding-right: 70px; } }

.map-panel-head { display: flex; align-items: center; min-height: 46px; padding: 1rem 1.1rem 0.6rem; }
.map-panel-head h2 { font-size: 1.2rem; font-weight: 700; color: var(--bulma-text-strong); }
.map-panel-body { flex: 1; overflow-y: auto; padding: 0 1.1rem 1rem; overscroll-behavior: contain; }
.map-panel-section { padding: 0.9rem 0; border-top: 1px solid rgba(127, 127, 127, 0.14); }
.map-panel-section:first-child { border-top: 0; padding-top: 0.2rem; }
.map-panel-label { display: block; margin-bottom: 0.5rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--bulma-text-weak); }
.map-panel-row { display: flex; align-items: baseline; justify-content: space-between; }
.map-cats-all { display: flex; gap: 0.25rem; }
.map-cats-all button { border: 0; background: none; padding: 0.1rem 0.4rem; border-radius: 6px; font: inherit; font-size: 0.8rem; font-weight: 600; color: #eb6864; cursor: pointer; }
.map-cats-all button:hover { background: rgba(235, 104, 100, 0.1); }

/* "Go to a place": one rounded field with its button inside. */
.map-go {
    display: flex; align-items: center; gap: 0.4rem; height: 44px; padding: 0 4px 0 12px;
    border-radius: 999px; border: 1px solid rgba(127, 127, 127, 0.3); background: var(--bulma-scheme-main);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.map-go:focus-within { border-color: #eb6864; box-shadow: 0 0 0 3px rgba(235, 104, 100, 0.18); }
.map-go > .material-symbols-outlined { color: #eb6864; font-size: 22px; }
.map-go-input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; color: var(--bulma-text-strong); }
.map-go-btn {
    flex: none; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 50%; background: #eb6864; color: #fff; cursor: pointer;
}
.map-go-btn:hover { background: #e2504c; }

/* Categories: chips with the map's icons. */
.map-cats { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.map-cat {
    display: inline-flex; align-items: center; gap: 0.35rem; height: 34px; padding: 0 0.7rem 0 0.35rem;
    border-radius: 999px; border: 1px solid rgba(127, 127, 127, 0.3); background: none;
    font: inherit; font-size: 0.85rem; font-weight: 600; color: var(--bulma-text-weak); cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.map-cat img { width: 24px; height: 24px; border-radius: 50%; background: #fff; filter: grayscale(1); opacity: 0.6; transition: filter 0.15s, opacity 0.15s; }
.map-cat:hover { border-color: #eb6864; }
.map-cat.is-on { background: rgba(235, 104, 100, 0.12); border-color: rgba(235, 104, 100, 0.55); color: var(--bulma-text-strong); }
.map-cat.is-on img { filter: none; opacity: 1; }

.map-dates { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.5rem; }
.map-dates .input { border-radius: 10px; }
.map-dates-to { font-size: 0.85rem; color: var(--bulma-text-weak); }

/* "Happening now": a switch (the checkbox, drawn as one). */
.map-now { position: relative; display: flex; align-items: flex-start; gap: 0.7rem; margin-top: 0.9rem; cursor: pointer; }
.map-now input { position: absolute; opacity: 0; pointer-events: none; }
.map-switch { position: relative; flex: none; width: 36px; height: 20px; margin-top: 2px; border-radius: 999px; background: var(--bulma-border); transition: background-color 0.15s; }
.map-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); transition: transform 0.15s; }
.map-now input:checked + .map-switch { background: #eb6864; }
.map-now input:checked + .map-switch::after { transform: translateX(16px); }
.map-now input:focus-visible + .map-switch { box-shadow: 0 0 0 3px rgba(235, 104, 100, 0.3); }
.map-now strong { display: block; font-size: 0.92rem; color: var(--bulma-text-strong); }
.map-now small { display: block; font-size: 0.8rem; color: var(--bulma-text-weak); }

.map-panel-foot { padding: 0.8rem 1.1rem calc(0.8rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(127, 127, 127, 0.18); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.map-panel-foot .button { border-radius: 999px; gap: 0.35rem; font-weight: 700; height: 44px; }
.map-panel-more { display: inline-flex; align-items: center; gap: 0.2rem; font-size: 0.85rem; font-weight: 600; }
.map-panel-more .material-symbols-outlined { font-size: 16px; }
@media (prefers-reduced-motion: reduce) { .map-panel, .map-panel.is-open, .map-controls { transition: none; } }
