/* MyCollegePark v65.74 — Core layout, home map, filters, map/layer components and shared early UI.
   Source-order module: keep stylesheet link order unchanged. */
* {
  box-sizing: border-box;
}

html{
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}body{
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

.app-shell {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.topbar {
  flex: 0 0 auto;
  min-height: 86px;
  padding: 18px 24px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
}



.brand-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}



.beta-badge {
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
.quick-filter{
  border: 1px solid var(--line-strong);
  background: var(--surface);
}.filter-control{
  border: 1px solid var(--line-strong);
  
}.floating-action{
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.icon-button {
  height: 40px;
  padding: 0 13px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.button-icon {
  font-size: 15px;
  color: var(--muted);
}

.filter-panel {
  flex: 0 0 auto;
  border-bottom: 1px solid var(--line);
}

.top-filter-row {
  
}

.search-wrap {
  position: relative;
  flex: 1 1 auto;
  max-width: none;
  margin-bottom: 0;
}

.search-wrap input {
  width: 100%;
  height: 42px;
  padding: 0 14px 0 40px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  outline: none;
  background: var(--surface-soft);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.search-wrap input:focus {
  background: var(--surface);
  border-color: #a8b7c7;
  box-shadow: 0 0 0 3px rgba(31, 111, 235, .08);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--muted);
  pointer-events: none;
}

.sidebar-filters {
  flex: 0 0 auto;
  border-bottom: 1px solid rgba(221, 226, 231, .9);
}

.sidebar-filter-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

.sidebar-filter-row + .sidebar-filter-row {
  margin-top: 7px;
}

.quick-row .quick-filter {
  flex: 1 1 0;
}

.date-row .filter-control {
  min-width: 0;
}

.month-control {
  flex: 1 1 auto;
}

.date-row .year-control {
  flex: 0 0 92px;
}

.date-row .date-control {
  flex: 1 1 auto;
  width: auto;
}

.date-row .past-toggle {
  flex: 0 0 auto;
}

.quick-filter{
  height: 38px;
  border-radius: 9px;
}.filter-control{
  height: 38px;
  border-radius: 9px;
}

.quick-filter {
  padding: 0 13px;
  cursor: pointer;
  font-weight: 600;
}

.quick-filter:hover {
}
.quick-filter.active {
}

.filter-control {
  padding: 0 30px 0 11px;
  background: var(--surface);
}

.category-control {
  flex: 0 0 180px;
  min-width: 180px;
}

.year-control {
  width: 96px;
}

.date-control {
  width: 152px;
  padding-right: 10px;
}

.past-toggle {
  height: 38px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--surface);
  cursor: pointer;
  user-select: none;
  font-size: 13px;
}

.past-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-box {
  width: 16px;
  height: 16px;
  border: 1px solid #aeb7c1;
  border-radius: 4px;
  background: #fff;
  position: relative;
}

.past-toggle input:checked + .toggle-box {
  background: var(--text);
  border-color: var(--text);
}

.past-toggle input:checked + .toggle-box::after {
  content: "✓";
  position: absolute;
  inset: -2px 0 0 2px;
  color: #fff;
  font-size: 12px;
}

.workspace {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
}

.sidebar {
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(221, 226, 231, .8);
}

.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--muted);
}

.result-count {
  margin-top: 3px;
  font-size: 14px;
}

.text-button {
  padding: 4px 0;
  font-size: 13px;
}

.text-button:hover {
  color: var(--text);
}

.event-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.card.clickable {
  cursor: pointer;
}

.card.past-card {
  opacity: .68;
}

.card-main {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.card-icon-wrap {
  flex: 0 0 28px;
  padding-top: 2px;
}

.card-category-icon {
  width: 28px;
  height: 35px;
  object-fit: contain;
  display: block;
}

.card-content {
  flex: 1;
  min-width: 0;
}

.card-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 4px;
}

.badge {
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.past-badge {
  background: #f2f2f2;
  color: #8a8f95;
}

.card h3 {
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.card .meta {
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}

.description-clamp {
  margin-top: 7px;
  font-size: 13.5px;
  line-height: 1.48;
  color: #37414b;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  margin-top: 10px;
}

.card-link {
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}

.demo-label {
  font-size: 11px;
  color: #9aa1a8;
}

.map-panel {
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

#map {
  width: 100%;
  height: 100%;
  min-height: 0;
  background: #e9ecef;
}

.leaflet-control-layers {
  display: none !important;
}

.map-style-popover {
  position: absolute;
  
  z-index: 900;
  width: 230px;
  padding: 10px;
  background: rgba(255, 255, 255, .97);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.popover-title {
  padding: 4px 6px 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.map-style-option {
  width: 100%;
  padding: 8px;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  align-items: center;
  border: none;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.map-style-option:hover,
.map-style-option.active {
  background: #f3f6f9;
}

.map-style-option strong,
.map-style-option small {
  display: block;
}

.map-style-option strong {
  font-size: 13px;
}

.map-style-option small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.style-preview {
  width: 44px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.preview-light {
  background:
    linear-gradient(135deg, #f2f3f4 0 34%, #dfe3e6 34% 36%, #fafafa 36% 64%, #e1e5e8 64% 67%, #f6f6f6 67%);
}

.preview-dark {
  background:
    linear-gradient(135deg, #1b1f24 0 28%, #30363d 28% 34%, #161b22 34% 66%, #2b3138 66% 72%, #11161b 72%);
}

.preview-satellite {
  background:
    linear-gradient(135deg, #728057 0 30%, #4f6741 30% 47%, #a69476 47% 55%, #536f79 55% 72%, #6b764e 72%);
}

.floating-action {
  position: absolute;
  z-index: 850;
  right: 14px;
  bottom: 14px;
  height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  font-size: 12px;
  font-weight: 700;
}

.legend-panel {
  position: absolute;
  z-index: 860;
  right: 14px;
  bottom: 60px;
  width: 210px;
  padding: 10px;
  background: rgba(255,255,255,.97);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.legend-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.icon-only {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  color: var(--muted);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  font-size: 12px;
}

.legend-item img {
  width: 18px;
  height: 23px;
}

.hidden {
  
}

.custom-event-marker {
  background: transparent !important;
  border: 0 !important;
}

.custom-event-marker img {
  display: block;
  width: 40px;
  height: 51px;
  max-width: none;
  transition: transform .15s ease, filter .15s ease;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.16));
}

.custom-event-marker.selected-marker img {
  transform: scale(1.14);
  filter:
    drop-shadow(0 0 0 rgba(0,0,0,0))
    drop-shadow(0 0 6px rgba(31,111,235,.45))
    drop-shadow(0 3px 3px rgba(0,0,0,.18));
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background: rgba(255,255,255,.7);
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  background: #18212b;
  color: #fff;
  border: 3px solid rgba(255,255,255,.94);
  box-shadow: 0 4px 14px rgba(27,39,51,.18);
  font-weight: 700;
}

.leaflet-popup-content-wrapper {
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.leaflet-popup-content {
  margin: 12px 14px;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .workspace {
    grid-template-columns: 370px minmax(0, 1fr);
  }

  .filter-panel {
    padding-bottom: 10px;
  }
}

@media (max-width: 760px) {
  .topbar {
    min-height: 64px;
    padding: 10px 14px;
  }

  

  

  .filter-panel {
    padding: 8px 10px;
  }

  .search-wrap {
    max-width: none;
    margin-bottom: 8px;
  }

  .filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    overscroll-behavior-x: contain;
  }

  .filter-row > * {
    flex: 0 0 auto;
  }

  .workspace {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(240px, 48%) minmax(0, 52%);
    overflow: hidden;
  }

  .map-panel {
    grid-row: 1;
    height: 100%;
    min-height: 0;
  }

  .sidebar {
    grid-row: 2;
    height: 100%;
    min-height: 0;
    border-right: none;
    border-top: 1px solid var(--line);
  }

  .event-list {
    max-height: none;
    min-height: 0;
    overflow-y: auto;
  }

  .topbar-actions {
    display: none;
  }
}

@media (max-height: 760px) and (min-width: 761px) {
  .topbar {
    min-height: 68px;
    padding-top: 11px;
    padding-bottom: 10px;
  }

  

  

  .filter-panel {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .search-wrap {
    margin-bottom: 8px;
  }

  .search-wrap input {
    height: 38px;
  }

  .quick-filter{
    height: 35px;
  }.filter-control{
    height: 35px;
  }.past-toggle{
    height: 35px;
  }
}


.sidebar-filters .quick-filter,
.sidebar-filters .filter-control,
.sidebar-filters .past-toggle {
  height: 34px;
  font-size: 12.5px;
}

.sidebar-filters .quick-filter {
  padding: 0 10px;
}

.sidebar-filters .filter-control {
  padding-left: 9px;
}

.sidebar-filters .past-toggle {
  padding: 0 9px;
}

.sidebar-filters .toggle-box {
  width: 15px;
  height: 15px;
}


@media (max-width: 760px) {
  .top-filter-row {
    gap: 8px;
  }

  .category-control {
    flex: 0 0 145px;
    min-width: 145px;
  }

  .sidebar-filters {
    padding: 8px 10px;
  }
}

@media (max-width: 520px) {
  .top-filter-row {
    align-items: stretch;
  }

  .search-wrap {
    min-width: 0;
  }

  .category-control {
    flex: 0 0 132px;
    min-width: 132px;
    font-size: 12px;
  }
}


/* Header actions */
.topbar-link {
  color: #4f5863;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 4px;
}

.topbar-link:hover {
  color: var(--text);
}

.login-button {
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--text);
  border-radius: 10px;
  background: var(--text);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.login-button:hover {
  opacity: .9;
}

/* Search/category precise alignment */
.top-filter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px 190px;
  align-items: center;
}

.top-filter-row .search-wrap {
  height: 40px;
}

.top-filter-row .search-wrap {
  margin: 0;
}

.top-filter-row .category-control {
  width: 100%;
  min-width: 0;
  align-self: stretch;
}

/* Result period */
.results-heading {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.result-period {
  font-size: 12px;
  white-space: nowrap;
}

/* One-row compact filters */

.single-filter-row {
  
}

.single-filter-row .quick-filter,
.single-filter-row .filter-control {
  height: 31px;
  font-size: 11.5px;
}

.single-filter-row .quick-filter {
  padding: 0 8px;
}

.single-filter-row .month-control {
  width: 58px;
  min-width: 58px;
  padding-left: 7px;
  padding-right: 20px;
}

.single-filter-row .year-control {
  width: 76px;
  min-width: 76px;
  padding-left: 7px;
  padding-right: 20px;
}

.day-button {
  min-width: 48px;
}

.hidden-date-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.past-switch {
  font-size: 11.5px;
  gap: 5px;
}

.switch-track {
  width: 28px;
  height: 16px;
}

.switch-thumb {
  width: 12px;
  height: 12px;
}

.past-switch input:checked + .switch-track .switch-thumb {
  transform: translateX(12px);
}

@media (max-width: 980px) and (min-width: 761px) {
  .top-filter-row {
    grid-template-columns: minmax(0, 1fr) 180px 165px;
  }

  .single-filter-row {
    grid-template-columns: auto auto 56px 74px auto auto;
    gap: 5px;
  }
}

@media (max-width: 760px) {
  .top-filter-row {
    grid-template-columns: 1fr 1fr;
  }

  .single-filter-row {
    display: flex;
    flex-wrap: nowrap;
    
    overscroll-behavior-x: contain;
  }

  .single-filter-row > * {
    flex: 0 0 auto;
  }
}


/* =========================
   Dark theme
   Activated automatically
   when the Dark basemap is selected.
   ========================= */

body.dark-theme {

  background: var(--bg);
  color: var(--text);
}

body.dark-theme .topbar {
  background: var(--surface);
  border-color: var(--line);
}
body.dark-theme .filter-panel {
}
body.dark-theme .sidebar {
}
body.dark-theme .sidebar-filters {
}
body.dark-theme .sidebar-header {
}

body.dark-theme .card {
  box-shadow: var(--shadow-soft);
}

body.dark-theme .card.clickable:hover {
  border-color: #465565;
  background: #1b222b;
  box-shadow: 0 7px 20px rgba(0, 0, 0, .28);
}

body.dark-theme .card.selected {
  box-shadow:
    0 0 0 3px rgba(77, 143, 232, .16),
    var(--shadow-soft);
}

body.dark-theme .card.past-card {
  opacity: .55;
}

body.dark-theme .description-clamp {
}
body.dark-theme .demo-label {
}
body.dark-theme .result-period {
}
body.dark-theme .topbar-link {
  color: var(--muted);
}

body.dark-theme .map-style-option small {
  color: var(--muted);
}
body.dark-theme .text-button {
  color: var(--muted);
}

body.dark-theme .past-badge {
  background: #20262d;
  color: #808b96;
}

body.dark-theme .quick-filter {
}
body.dark-theme .past-toggle {
  background: #181e25;
  color: var(--text);
  border-color: var(--line-strong);
}
body.dark-theme .floating-action {
  background: #181e25;
  color: var(--text);
  border-color: var(--line-strong);
}

body.dark-theme .search-wrap input:focus {
  background: #171e26;
  border-color: #59697a;
  box-shadow: 0 0 0 3px rgba(109, 167, 255, .12);
}

body.dark-theme .quick-filter:hover {
}
body.dark-theme .quick-filter.active {
}

body.dark-theme .login-button {
  background: #eef3f8;
  color: #131820;
  border-color: #eef3f8;
}

body.dark-theme .map-style-popover,
body.dark-theme .legend-panel {
  background: rgba(20, 26, 33, .97);
  border-color: var(--line);
  color: var(--text);
}

body.dark-theme .map-style-option:hover,
body.dark-theme .map-style-option.active {
  background: #222a34;
}

body.dark-theme .style-preview {
  border-color: #47515c;
}

body.dark-theme .switch-track {
  background: #3d4752;
}

body.dark-theme .past-switch input:checked + .switch-track {
  background: #d9e1ea;
}

body.dark-theme .past-switch input:checked + .switch-track .switch-thumb {
  background: #14191f;
}

body.dark-theme .leaflet-control-zoom a {
  background: #171d24;
  color: #eef3f8;
  border-color: #303944;
}

body.dark-theme .leaflet-control-zoom a:hover {
  background: #222a33;
}

body.dark-theme .leaflet-control-attribution {
  background: rgba(14, 18, 23, .8);
  color: #aab4bf;
}

body.dark-theme .leaflet-control-attribution a {
  color: #c8d8ed;
}

body.dark-theme .leaflet-popup-content-wrapper,
body.dark-theme .leaflet-popup-tip {
  background: #171d24;
  color: #eef3f8;
}

body.dark-theme .marker-cluster-small,
body.dark-theme .marker-cluster-medium,
body.dark-theme .marker-cluster-large {
  background: rgba(15, 19, 24, .7);
}

body.dark-theme .marker-cluster-small div,
body.dark-theme .marker-cluster-medium div,
body.dark-theme .marker-cluster-large div {
  background: #edf2f7;
  color: #151a20;
  border-color: rgba(20, 25, 31, .92);
}

body.dark-theme .legend-item,
body.dark-theme .result-count {
  color: var(--text);
}

body.dark-theme select {
  color-scheme: dark;
}


/* =========================
   Satellite green theme
   Activated automatically
   when Satellite basemap is selected.
   ========================= */

body.satellite-theme {

  background: var(--bg);
  color: var(--text);
}

body.satellite-theme .topbar {
  background: #f9fbf7;
  border-color: var(--line);
}
body.satellite-theme .filter-panel {
}
body.satellite-theme .sidebar-header {
}

body.satellite-theme .card {
  box-shadow: var(--shadow-soft);
}

body.satellite-theme .card.clickable:hover {
  background: #fbfdf9;
  border-color: #aec0aa;
  box-shadow: 0 7px 20px rgba(43, 66, 46, .13);
}

body.satellite-theme .card.selected {
  box-shadow:
    0 0 0 3px rgba(81, 124, 83, .14),
    var(--shadow-soft);
}

body.satellite-theme .past-badge {
  background: #e9ece7;
  color: #879087;
}

body.satellite-theme .description-clamp {
}
body.satellite-theme .demo-label {
}
body.satellite-theme .result-period {
}

body.satellite-theme .topbar-link {
  color: var(--muted);
}
body.satellite-theme .map-style-option small {
  color: var(--muted);
}
body.satellite-theme .text-button {
  color: var(--muted);
}

body.satellite-theme .quick-filter {
}
body.satellite-theme .floating-action {
  background: #f8faf6;
  color: var(--text);
  border-color: var(--line-strong);
}

body.satellite-theme .search-wrap input:focus {
  background: #fff;
  border-color: #92a98f;
  box-shadow: 0 0 0 3px rgba(78, 121, 80, .12);
}

body.satellite-theme .quick-filter:hover {
}
body.satellite-theme .quick-filter.active {
}

body.satellite-theme .login-button {
  background: #355b3b;
  color: #fff;
  border-color: #355b3b;
}

body.satellite-theme .login-button:hover {
  background: #2c4f33;
}

body.satellite-theme .map-style-popover,
body.satellite-theme .legend-panel {
  background: rgba(248, 251, 246, .97);
  border-color: #cbd8c7;
  color: var(--text);
}

body.satellite-theme .map-style-option:hover,
body.satellite-theme .map-style-option.active {
  background: #e8efe5;
}

body.satellite-theme .style-preview {
  border-color: #b8c6b5;
}

body.satellite-theme .switch-track {
  background: #bdc9bb;
}

body.satellite-theme .past-switch input:checked + .switch-track {
  background: #466e4d;
}

body.satellite-theme .card-link {
  color: #3f7248;
}

body.satellite-theme .leaflet-control-zoom a {
  background: #f4f8f2;
  color: #203125;
  border-color: #c2cec0;
}

body.satellite-theme .leaflet-control-zoom a:hover {
  background: #e7eee4;
}

body.satellite-theme .leaflet-control-attribution {
  background: rgba(239, 244, 236, .86);
  color: #5f6d61;
}

body.satellite-theme .leaflet-control-attribution a {
  color: #3d6744;
}

body.satellite-theme .leaflet-popup-content-wrapper,
body.satellite-theme .leaflet-popup-tip {
  background: #f8fbf6;
  color: #1f2d22;
}

body.satellite-theme .marker-cluster-small,
body.satellite-theme .marker-cluster-medium,
body.satellite-theme .marker-cluster-large {
  background: rgba(225, 235, 221, .82);
}

body.satellite-theme .marker-cluster-small div,
body.satellite-theme .marker-cluster-medium div,
body.satellite-theme .marker-cluster-large div {
  background: #355d3d;
  color: #fff;
  border-color: rgba(248, 251, 246, .95);
}

body.satellite-theme .result-count,
body.satellite-theme .legend-item {
  color: var(--text);
}

body.satellite-theme select {
  color-scheme: light;
}


/* Custom month/year filter menus */
.native-filter-select-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.filter-menu-wrap {
  position: relative;
  min-width: 0;
}

.menu-filter-button {
  min-width: 88px;
  justify-content: space-between;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.year-menu-button {
  min-width: 78px;
}

.menu-chevron {
  font-size: 12px;
  line-height: 1;
  opacity: .7;
}

.filter-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 1300;
  min-width: 150px;
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.year-menu {
  min-width: 92px;
}

.filter-menu-option {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  border-radius: 8px;
  padding: 7px 9px;
  text-align: left;
  cursor: pointer;
  font-size: 12px;
}

.filter-menu-option:hover,
.filter-menu-option.active {
  background: var(--surface-soft);
}

body.dark-theme .filter-menu {
  background: #171d24;
  border-color: #303944;
}

body.dark-theme .filter-menu-option {
  color: #eef3f8;
}

body.dark-theme .filter-menu-option:hover,
body.dark-theme .filter-menu-option.active {
  background: #222a34;
}

body.satellite-theme .filter-menu {
  background: #f8fbf6;
  border-color: #cbd8c7;
}

body.satellite-theme .filter-menu-option:hover,
body.satellite-theme .filter-menu-option.active {
  background: #e8efe5;
}

/* Make the filter row breathe a bit better */

.single-filter-row .filter-menu-wrap {
  
}


/* Synchronized multi-category filter */
.category-filter-wrap {
  position: relative;
  width: 220px;
  min-width: 220px;
}

.category-menu-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  cursor: pointer;
}

.category-menu {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  z-index: 1400;
  width: 250px;
  max-height: 340px;
  overflow-y: auto;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.category-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 4px 8px;
}

.category-menu-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.category-clear-button {
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  padding: 3px 4px;
}

.category-check-row,
.legend-check-row {
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 9px;
  cursor: pointer;
  user-select: none;
}

.category-check-row { padding: 7px; }
.legend-check-row { padding: 4px 2px; font-size: 12px; }

.category-check-row:hover,
.legend-check-row:hover {
  background: var(--surface-soft);
}

.category-check-row input,
.legend-check-row input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.category-check-row img,
.legend-check-row img {
  width: 18px;
  height: 23px;
  object-fit: contain;
}

.category-check-label {
  flex: 1;
  min-width: 0;
  font-size: 12.5px;
}

body.dark-theme .category-menu {
  background: #171d24;
  border-color: #303944;
}

body.dark-theme .category-check-row:hover,
body.dark-theme .legend-check-row:hover {
  background: #222a34;
}

body.satellite-theme .category-menu {
  background: #f8fbf6;
  border-color: #cbd8c7;
}

body.satellite-theme .category-check-row:hover,
body.satellite-theme .legend-check-row:hover {
  background: #e8efe5;
}

@media (max-width: 760px) {
  .category-filter-wrap {
  }
  .category-menu {
    width: min(260px, calc(100vw - 20px));
  }
}


/* Map style button moved into the map */
.map-style-fab {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 910;
  height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255,255,255,.96);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.map-style-fab:hover {
  background: var(--surface-soft);
}

.map-style-popover {
  top: 58px;
  right: 14px;
}

body.dark-theme .map-style-fab {
  background: rgba(23,29,36,.96);
  color: #eef3f8;
  border-color: #3a4552;
}

body.dark-theme .map-style-fab:hover {
  background: #222a33;
}

body.satellite-theme .map-style-fab {
  background: rgba(248,251,246,.96);
  color: #1d2a20;
  border-color: #becbbb;
}

body.satellite-theme .map-style-fab:hover {
  background: #e8efe5;
}


/* Compact, aligned "Show past events" checkbox */
.past-checkbox {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  height: 31px;
  min-width: 58px;
  padding: 0 2px;
  cursor: pointer;
  user-select: none;
  color: var(--muted);
}

.past-checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.past-checkmark {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface);
  position: relative;
  align-self: center;
}

.past-checkbox input:checked + .past-checkmark {
  background: var(--text);
  border-color: var(--text);
}

.past-checkbox input:checked + .past-checkmark::after {
  content: "✓";
  position: absolute;
  left: 2px;
  top: -2px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}

.past-label-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: .9;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  text-align: left;
}

.past-label-text span + span {
  margin-top: 2px;
}

body.dark-theme .past-checkmark {
  background: #181e25;
  border-color: #4a5663;
}

body.dark-theme .past-checkbox input:checked + .past-checkmark {
  background: #eef3f8;
  border-color: #eef3f8;
}

body.dark-theme .past-checkbox input:checked + .past-checkmark::after {
  color: #14191f;
}

body.satellite-theme .past-checkmark {
  background: #f8faf6;
  border-color: #aebca9;
}

body.satellite-theme .past-checkbox input:checked + .past-checkmark {
  background: #355b3b;
  border-color: #355b3b;
}

body.satellite-theme .past-checkbox input:checked + .past-checkmark::after {
  color: #fff;
}

/* keep the final filter visually aligned with the other 31px controls */
.single-filter-row > .past-checkbox {
  align-self: center;
}

/* College Park municipal boundary + outside fade */
.leaflet-cityBoundaryPane,
.leaflet-cityBoundaryPane svg,
.leaflet-cityBoundaryPane path {
  pointer-events: none !important;
}

body.dark-theme .leaflet-cityBoundaryPane,
body.satellite-theme .leaflet-cityBoundaryPane {
  pointer-events: none !important;
}


/* Pencil-drawn municipal outline */
.city-boundary-pencil {
  filter: url(#pencilBoundaryFilter);
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

body.dark-theme .leaflet-cityBoundaryPane .city-boundary-pencil {
  filter: url(#pencilBoundaryFilter) drop-shadow(0 0 0.25px rgba(255,255,255,.20));
}

body.satellite-theme .leaflet-cityBoundaryPane .city-boundary-pencil {
  filter: url(#pencilBoundaryFilter) drop-shadow(0 0 0.25px rgba(255,250,240,.20));
}


/* Map bottom controls */
.map-bottom-actions {
  position: absolute;
  z-index: 850;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
}

.map-bottom-actions .floating-action {
  position: static;
  right: auto;
  bottom: auto;
}

.layers-panel {
  position: absolute;
  z-index: 860;
  right: 14px;
  bottom: 60px;
  width: 260px;
  padding: 10px;
  background: rgba(255,255,255,.97);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.map-layer-row {
  display: grid;
  grid-template-columns: 16px 22px 1fr;
  gap: 8px;
  align-items: center;
  padding: 7px 5px;
  border-radius: 9px;
  cursor: pointer;
  user-select: none;
}

.map-layer-row:hover {
  background: var(--surface-soft);
}

.map-layer-row input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--accent);
}

.layer-swatch {
  width: 20px;
  height: 14px;
  border-radius: 4px;
  display: inline-block;
}

.boundary-swatch {
  background: transparent;
  border-top: 2px solid #d72626;
  border-radius: 0;
  height: 4px;
}

.districts-swatch {
  background:
    linear-gradient(90deg,
      rgba(70,130,180,.23) 0 25%,
      rgba(235,160,60,.23) 25% 50%,
      rgba(130,95,180,.23) 50% 75%,
      rgba(70,155,105,.23) 75%);
  border: 1px solid rgba(80,90,105,.4);
}

.schools-swatch {
  background: rgba(229, 92, 151, .14);
  border: 1.5px solid #d85b96;
}


.layer-copy {
  min-width: 0;
}

.layer-copy strong,
.layer-copy small {
  display: block;
}

.layer-copy strong {
  font-size: 12px;
  line-height: 1.2;
}

.layer-copy small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.25;
}

.layers-status {
  min-height: 14px;
  margin: 4px 5px 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.3;
}

body.dark-theme .layers-panel {
  background: rgba(23,29,36,.97);
  border-color: #303944;
}

body.dark-theme .map-layer-row:hover {
  background: #222a34;
}

body.dark-theme .boundary-swatch {
  border-top-color: #fff;
}

body.satellite-theme .layers-panel {
  background: rgba(248,251,246,.97);
  border-color: #cbd8c7;
}

body.satellite-theme .map-layer-row:hover {
  background: #e8efe5;
}


/* Council district legend */
.district-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  margin: 2px 5px 8px 39px;
  padding: 8px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-soft);
}

.district-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 10.5px;
}

.district-legend-color {
  width: 13px;
  height: 13px;
  border-radius: 3px;
  flex: 0 0 13px;
}

.district-1 { background: #3f7fbc; }
.district-2 { background: #dc923a; }
.district-3 { background: #7f63ad; }
.district-4 { background: #439565; }

body.dark-theme .district-legend {
  background: #1c232c;
  border-color: #303944;
}

body.satellite-theme .district-legend {
  background: #eef4eb;
  border-color: #cbd8c7;
}


/* School points + school information popups */
.school-point-marker {
  background: transparent;
  border: 0;
}

.school-point-marker span {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--school-color, #d85b96);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  box-shadow: 0 2px 7px rgba(0,0,0,.25);
}

body.dark-theme .school-point-marker span {
  border-color: #171d24;
}

body.satellite-theme .school-point-marker span {
  border-color: #f8fbf6;
}

.school-info-popup .leaflet-popup-content-wrapper {
  border-radius: 13px;
}

.school-info-popup .leaflet-popup-content {
  margin: 13px 15px;
}

.school-district-popup h3,
.school-point-popup h3 {
  margin: 2px 0 8px;
  font-size: 15px;
  line-height: 1.25;
}

.school-popup-eyebrow {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.school-popup-divider {
  height: 1px;
  margin: 8px 0;
  background: var(--line);
}

.school-popup-section-title {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.school-popup-school + .school-popup-school {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.school-popup-school strong {
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
}

.school-popup-address,
.school-popup-phone {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.35;
}

.school-district-popup a,
.school-point-popup a {
  display: inline-block;
  margin-top: 6px;
  color: #b63f78;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.school-district-popup a:hover,
.school-point-popup a:hover {
  text-decoration: underline;
}

body.dark-theme .school-district-popup a,
body.dark-theme .school-point-popup a {
  color: #f08cba;
}

body.satellite-theme .school-district-popup a,
body.satellite-theme .school-point-popup a {
  color: #98607a;
}


/* Separate school layer controls */
/* Layer groups */
.layers-section-heading {
  margin: 10px 4px 7px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border, #dfe4ea);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #697586;
}

.layers-subheading {
  margin: 8px 5px 3px 39px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.elementary-swatch {
  background: rgba(216, 91, 150, .12);
  border: 1.5px solid #d85b96;
}

.middle-swatch {
  background: rgba(111, 99, 194, .12);
  border: 1.5px solid #6f63c2;
}

.high-swatch {
  background: rgba(212, 139, 44, .12);
  border: 1.5px solid #d48b2c;
}

/* ---------------------------------------------------------
   Authentication / user events
   --------------------------------------------------------- */

body.modal-open {
  overflow: hidden;
}

.user-menu-wrap {
  position: relative;
}

.user-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 170px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: var(--surface);
  box-shadow: 0 14px 35px rgba(28, 36, 46, .16);
  z-index: 2200;
}

.user-menu button {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 9px 10px;
  text-align: left;
  color: var(--text);
  cursor: pointer;
}

.user-menu button:hover {
  background: var(--surface-soft);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 33, .55);
  backdrop-filter: blur(3px);
}

.modal-backdrop.hidden {
  display: none;
}

.modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line-strong);
  
  
  box-shadow: 0 28px 70px rgba(0, 0, 0, .26);
}

.auth-modal-card {
  width: min(440px, 100%);
}

.my-events-modal-card,
.event-editor-card {
  width: min(820px, 100%);
}

.modal-card h2 {
  margin: 0 0 8px;
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.modal-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-right: 34px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 4px;
  margin: 18px 0;
  border-radius: 11px;
  background: var(--surface-soft);
}

.auth-tab {
  border: 0;
  border-radius: 8px;
  padding: 9px 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.auth-tab.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(20, 30, 40, .12);
}

.modal-form {
  display: grid;
  gap: 13px;
}

.modal-form label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 10px 11px;
  background: var(--surface-soft);
  color: var(--text);
  font: inherit;
  outline: none;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  border-color: #8ea8c2;
  box-shadow: 0 0 0 3px rgba(31, 111, 235, .08);
}

.event-form-grid {
  grid-template-columns: 1fr 1fr;
}

.event-form-grid .span-2 {
  grid-column: 1 / -1;
}

.primary-action,
.secondary-action {
  border-radius: 9px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 700;
}

.primary-action {
  border: 1px solid var(--text);
  background: var(--text);
  color: var(--surface);
}

.secondary-action {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
}

.compact-action {
  padding: 8px 12px;
}

.form-help {
  color: var(--muted);
  font-size: 11px;
}

.form-error {
  padding: 9px 11px;
  border-radius: 8px;
  background: rgba(194, 58, 58, .10);
  color: #b12828;
  font-size: 12px;
}

.modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.location-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.location-actions {
  justify-content: flex-start;
}

.my-events-list {
  display: grid;
  gap: 10px;
}

.my-event-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}

.my-event-card h3 {
  margin: 7px 0 4px;
}

.my-event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.my-event-actions button {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 7px 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.my-event-actions .primary-inline {
  background: var(--text);
  color: var(--surface);
  border-color: var(--text);
}

.my-event-actions .danger-inline {
  color: #b12828;
}

.status-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(100, 110, 120, .12);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.status-published { background: rgba(38, 142, 78, .12); color: #217141; }
.status-pending { background: rgba(217, 144, 31, .14); color: #9b6414; }
.status-rejected { background: rgba(194, 58, 58, .12); color: #a52f2f; }
.status-draft { background: rgba(79, 100, 122, .12); color: #526578; }

.rejection-note {
  margin-top: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(194, 58, 58, .08);
  font-size: 12px;
}

.empty-state {
  display: grid;
  gap: 5px;
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  text-align: center;
  
}
.modal-loading {
  display: grid;
  gap: 5px;
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  text-align: center;
  color: var(--muted);
}

.location-pick-banner {
  position: fixed;
  left: 50%;
  top: 86px;
  z-index: 4900;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 32px);
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.location-pick-banner.hidden {
  display: none;
}

.location-pick-banner span {
  color: var(--muted);
  font-size: 12px;
}

.location-pick-banner button {
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}

.location-pick-mode {
  cursor: crosshair !important;
}

body.dark-theme .modal-card {
  
  
}
body.dark-theme .user-menu {
  background: var(--surface);
  color: var(--text);
}
body.satellite-theme .modal-card {
}
body.satellite-theme .user-menu {
  background: var(--surface);
  color: var(--text);
}
body.dark-theme .location-pick-banner,
body.satellite-theme .location-pick-banner {
  background: var(--surface);
  color: var(--text);
}

@media (max-width: 760px) {
  .topbar-actions {
    gap: 6px;
  }

  .topbar-link {
    display: none;
  }

  .login-button {
    padding-left: 9px;
    padding-right: 9px;
  }

  .event-form-grid {
    grid-template-columns: 1fr;
  }

  .event-form-grid .span-2 {
    grid-column: 1;
  }

  .modal-backdrop {
    padding: 8px;
    align-items: flex-end;
  }

  .modal-card {
    width: 100%;
    max-height: 92vh;
    border-radius: 16px 16px 10px 10px;
  }

  .modal-heading-row {
    display: grid;
  }
}



/* v66.00 — desktop account control matches mobile circular avatar/initials */
.account-avatar-menu-button{
  position:relative!important;
  width:38px!important;min-width:38px!important;max-width:38px!important;
  height:38px!important;min-height:38px!important;max-height:38px!important;
  padding:3px!important;border-radius:50%!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:0!important;overflow:visible!important;
  background:rgba(255,255,255,.12)!important;
  border:1px solid rgba(255,255,255,.28)!important;
  color:#fff!important;box-shadow:none!important;
}
.account-avatar-menu-button .account-button-avatar-host{
  width:30px!important;height:30px!important;min-width:30px!important;max-width:30px!important;
  flex:0 0 30px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
}
.account-avatar-menu-button .account-button-avatar{
  width:30px!important;height:30px!important;min-width:30px!important;max-width:30px!important;
  border-radius:50%!important;overflow:hidden!important;display:inline-flex!important;
  align-items:center!important;justify-content:center!important;padding:0!important;
  background:#fff!important;color:#114f43!important;font-size:11px!important;font-weight:850!important;
}
.account-avatar-menu-button .account-button-avatar>img.account-button-avatar-image{
  display:block!important;width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;
  max-width:30px!important;max-height:30px!important;object-fit:cover!important;object-position:center!important;
  border-radius:50%!important;margin:0!important;padding:0!important;position:static!important;transform:none!important;
}
.account-avatar-menu-button .message-unread-badge{position:absolute!important;top:-4px!important;right:-5px!important;z-index:2}
.user-menu-wrap:has(.account-avatar-menu-button){position:relative}
