/* navigation.css — loaded after atlas-editions.css.
   Frameless map + dropdown navbar (initiatives menus, add-place link).
   Reuses --paper/--text/--muted/--rule already scoped by mode on body. */

/* ── Map: no frame, full bleed ─────────────────────────────────── */

.theme-atlas #map {
  inset: 0;
  border: 0;
  outline: 0;
  border-radius: 0;
  box-shadow: none;
}

.theme-atlas .map-toolbar {
  top: 14px;
  left: 14px;
  right: 60px;
}

.theme-atlas .map-footer {
  left: 14px;
  bottom: 30px;
}
@media (max-width: 760px) {
  .theme-atlas .map-footer {
    bottom: 50px;
  }
}

/* ── Initiatives menus (Meetups / Walks) ───────────────────────── */

.theme-atlas .initiatives {
  display: flex;
  align-items: center;
  gap: 4px;
}

.theme-atlas details.initiative {
  position: relative;
}
.theme-atlas details.initiative > summary {
  list-style: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 0;
  color: var(--text);
}
.theme-atlas details.initiative > summary::-webkit-details-marker {
  display: none;
}
.theme-atlas details.initiative > summary::marker {
  content: "";
}
.theme-atlas details.initiative > summary:hover,
.theme-atlas details.initiative[open] > summary {
  background: transparent;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.theme-atlas .initiative-panel {
  position: absolute;
  top: 100%;
  right: 0;
  width: 250px;
  z-index: 80;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 0;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

.theme-atlas .initiative-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  border-radius: 0;
  color: var(--text);
  text-decoration: none;
}
.theme-atlas .initiative-link:hover {
  background: transparent;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.theme-atlas .network-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: none;
}
.theme-atlas .network-icon svg {
  width: 100%;
  height: 100%;
}
.theme-atlas .initiative-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}

/* ── Add a place ────────────────────────────────────────────────── */

.theme-atlas .nav-add {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 0;
  color: var(--text);
  text-decoration: none;
}
.theme-atlas .nav-add:hover {
  background: transparent;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.theme-atlas .add-icon {
  font-size: 16px;
  line-height: 1;
}

/* ── Mobile (≤760px): fixed dropdown panels ────────────────────── */

@media (max-width: 760px) {
  .theme-atlas {
    --nav-h: 64px;
  }
  .theme-atlas .initiative-panel {
    position: fixed;
    top: var(--nav-h);
    right: 8px;
    left: auto;
    width: min(290px, calc(100vw - 16px));
    margin-top: 0;
  }
  .theme-atlas .nav-add {
    padding: 6px 8px;
    gap: 4px;
  }
}

/* ── Mobile: two-row navbar ──────────────────────── */

@media (max-width: 760px) {
  .theme-atlas {
    --nav-h: 88px;
  }
  .theme-atlas .navbar {
    flex-wrap: wrap;
    align-items: flex-start;
    height: auto;
    min-height: var(--nav-h);
  }
  .theme-atlas .brand {
    width: calc(100% - 90px);
  }
  .theme-atlas .nav-links {
    display: contents;
  }
  .theme-atlas .initiatives {
    order: 2;
    flex-basis: 70%;
  }
  .theme-atlas #appearance,
  .theme-atlas #language {
    position: absolute;
    top: 10px;
  }
  .theme-atlas #appearance {
    right: 50px;
  }
  .theme-atlas #language {
    right: 10px;
  }
  .theme-atlas .nav-add {
    order: 3;
    margin-left: auto;
  }
  .theme-atlas .add-label {
    display: none;
  }
}

/* Refined identity and reusable community symbols */
.theme-atlas .wordmark-btc {
  font: 400 23px/1 var(--serif);
  letter-spacing: 0.02em;
}
.theme-atlas .brand-name {
  align-items: baseline;
}
.theme-atlas #fit {
  display: grid;
  place-items: center;
  min-width: 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  flex: none;
}
.folk-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex: none;
  background: currentColor;
  mask: var(--folk) center/contain no-repeat;
  -webkit-mask: var(--folk) center/contain no-repeat;
}
.folk-sun {
  --folk: url(assets/ui-sun.svg);
}
.folk-moon {
  --folk: url(assets/ui-moon.svg?v=2);
}
.folk-meetup {
  --folk: url(assets/ui-meetup.svg);
}
.folk-walk {
  --folk: url(assets/ui-walk.svg);
}
.theme-atlas #appearance {
  display: grid;
  place-items: center;
}
.theme-atlas details.initiative > summary {
  display: flex;
  align-items: center;
  gap: 6px;
}
.theme-atlas details.initiative > summary .folk-icon {
  width: 21px;
  height: 21px;
}
.theme-atlas.edition-atlas .calendar-top::after {
  mask-image: url(assets/ui-meetup.svg);
  -webkit-mask-image: url(assets/ui-meetup.svg);
}
.theme-atlas.edition-atlas .sidebar-heading::before {
  mask-image: url(assets/ui-meetup.svg);
  -webkit-mask-image: url(assets/ui-meetup.svg);
}
.theme-atlas .merchant-marker,
.theme-atlas .event-marker {
  border-radius: 50% !important;
  width: 32px;
  height: 32px;
  border-width: 1.5px;
  box-shadow: 0 1px 5px #0005;
}
.theme-atlas .merchant-marker {
  font-size: 20px;
}
.theme-atlas .event-marker .folk-icon {
  width: 23px;
  height: 23px;
}
.theme-atlas .walk-marker {
  background: #e0ba57;
  color: #173d2d;
}
@media (max-width: 760px) {
  .theme-atlas .wordmark-btc {
    font-size: 14px;
  }
  .theme-atlas .initiatives {
    gap: 0;
  }
  .theme-atlas details.initiative > summary {
    padding: 6px 9px;
  }
}

/* Event list starts directly; mobile retains its expand control. */
.theme-atlas.edition-atlas .calendar-top::after {
  display: none;
}
@media (min-width: 761px) {
  .theme-atlas .calendar-top {
    display: none;
  }
}
@media (max-width: 760px) {
  .theme-atlas .calendar-top {
    justify-content: flex-end;
    padding: 8px 14px;
  }
}

/* ── Featured past event (archive showcase) ───────────────────── */
.theme-atlas .event-card-featured {
  align-items: center;
  border-color: var(--rule);
  background: var(--paper-raised);
}
.theme-atlas .proof-wordmark {
  flex: none;
  font: 700 26px/1 var(--serif);
  letter-spacing: 0.03em;
  color: #a3352c;
}
.theme-atlas .event-tagline {
  margin: 0 0 2px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.theme-atlas .event-card-featured .event-copy h3 {
  -webkit-line-clamp: 2;
}
.theme-atlas .event-card-featured .badge {
  margin-top: 2px;
  width: fit-content;
}
@media (max-width: 760px) {
  .theme-atlas .proof-wordmark {
    font-size: 20px;
  }
}

.theme-atlas .event-card-featured {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  padding: 18px 0 20px;
  border-top: 2px solid var(--vytis);
  background: transparent;
}
.theme-atlas .event-card-featured .proof-wordmark {
  font-size: 42px;
  color: var(--text);
  letter-spacing: 0.05em;
}
.theme-atlas .event-card-featured .event-copy {
  width: 100%;
}
.theme-atlas .event-card-featured .event-tagline {
  color: var(--muted);
  font-size: 10px;
}
.theme-atlas .event-card-featured .event-copy h3 {
  font-size: 15px;
  margin: 7px 0;
}
.theme-atlas .event-card-featured .badge {
  color: var(--text);
  border-bottom: 1px solid var(--vytis);
  font-size: 11px;
}
@media (max-width: 760px) {
  .theme-atlas .mobile-events .event-card-featured {
    padding: 10px;
    min-width: 230px;
  }
  .theme-atlas .mobile-events .event-card-featured .proof-wordmark {
    font-size: 26px;
  }
}
@media (max-width: 760px) {
  .theme-atlas .mobile-events .event-card-featured {
    gap: 5px;
  }
  .theme-atlas .mobile-events .event-card-featured .event-copy h3,
  .theme-atlas .mobile-events .event-card-featured .event-tagline {
    display: none;
  }
  .theme-atlas .mobile-events .event-card-featured .badge {
    display: block;
    margin: 4px 0 0;
  }
}

/* ── Event dialog: website link, address row, link sections ────── */
.theme-atlas .detail-website-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 4px;
  font-weight: 600;
  color: var(--text);
  text-decoration: underline;
}
.theme-atlas .detail-address {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 2px 0;
}
.theme-atlas .address-icon {
  display: inline-flex;
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.theme-atlas .address-icon svg {
  width: 100%;
  height: 100%;
}
.theme-atlas .address-external-link {
  display: inline-flex;
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--muted);
  align-self: center;
}
.theme-atlas .address-external-link:hover {
  color: var(--text);
}
.theme-atlas .detail-section {
  margin-top: 14px;
}
.theme-atlas .detail-section h3 {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.theme-atlas .detail-links-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.theme-atlas .detail-link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--rule);
}
.theme-atlas .detail-link:hover {
  text-decoration-color: currentColor;
}

.theme-atlas .detail-address-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  text-decoration: underline;
}
.theme-atlas .detail-address-link svg {
  flex: none;
}
.theme-atlas .detail-website-link {
  padding: 10px 14px;
  border: 1px solid var(--rule);
  text-decoration: none;
  margin-bottom: 12px;
}
.theme-atlas #event-detail .detail-meta a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.theme-atlas #event-detail .detail-section h3 {
  font: 500 11px/1.4 var(--sans);
  letter-spacing: 0.1em;
  margin: 0 0 9px;
  color: var(--muted);
}
.theme-atlas #event-detail .detail-links-list {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.theme-atlas #event-detail .detail-section {
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  margin-top: 18px;
}

.theme-atlas button.detail-address-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.theme-atlas dialog.map-choice {
  width: min(340px, calc(100vw - 40px));
  padding: 24px;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--rule);
}
.theme-atlas dialog.map-choice h3 {
  font: 400 23px/1.2 var(--serif);
  margin: 0 0 12px;
}
.theme-atlas dialog.map-choice p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
}
.theme-atlas dialog.map-choice > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  color: var(--text);
  border-top: 1px solid var(--rule);
  text-decoration: none;
}
.theme-atlas .map-choice-close {
  font: inherit;
  color: var(--text);
  background: none;
  border: 1px solid var(--rule);
  padding: 8px 14px;
  margin-top: 16px;
  cursor: pointer;
}
.theme-atlas dialog.map-choice::backdrop {
  background: #0008;
}

.theme-atlas .zolak-logo {
  display: inline-block;
  width: 22px;
  height: 23px;
  object-fit: contain;
  vertical-align: middle;
  margin: 0 5px 0 2px;
  background: transparent;
  border-radius: 0;
}
.theme-atlas .event-copy .zolak-logo {
  width: 17px;
  height: 18px;
  margin-right: 4px;
}

/* Legend mirrors the map markers. */
.theme-atlas .legend-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #285845;
  font: 700 16px/1 var(--sans);
}
.theme-atlas .legend-place {
  background: #f7f4e7;
  color: #143d2c;
}
.theme-atlas .legend-meetup {
  background: #b43c2a;
  border-color: #f7f4e7;
  color: #fff6df;
}
.theme-atlas .legend-pin .folk-icon {
  width: 18px;
  height: 18px;
}
.theme-atlas .legend button {
  gap: 7px;
}
.theme-atlas .legend .legend-pin {
  border-radius: 50% !important;
}

.theme-atlas .legend-walk {
  background: #e0ba57;
  border-color: #f7f4e7;
  color: #173d2d;
}
.theme-atlas .legend {
  flex-wrap: wrap;
}

/* Official Zolak mark: black on paper, original colors on dark. */
.theme-atlas.mode-light .zolak-logo {
  filter: brightness(0);
}
.theme-atlas.mode-dark .zolak-logo {
  filter: none;
}

/* Full Lithuanian month names, including narrow event cards. */
html[lang="lt"] .theme-atlas .date-badge {
  width: 80px;
  min-width: 80px;
}
html[lang="lt"] .theme-atlas .date-badge span {
  letter-spacing: 0.025em;
  text-transform: none;
  font-size: 11px;
  white-space: nowrap;
}

/* ── Photo gallery: compact thumbnail grid + full-view dialog ──── */
.theme-atlas .gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 10px 0 18px;
}
.theme-atlas .gallery-thumb {
  display: block;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
}
.theme-atlas .gallery-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.theme-atlas .gallery-thumb:hover {
  border-color: var(--text);
}
.theme-atlas dialog.gallery-dialog[open] {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(92vw, 900px);
  max-height: 90vh;
  padding: 20px;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-atlas dialog.gallery-dialog::backdrop {
  background: #0008;
}
.theme-atlas .gallery-dialog-img {
  display: block;
  max-width: 100%;
  max-height: calc(90vh - 40px);
  width: auto;
  height: auto;
  object-fit: contain;
  margin: auto;
}
.theme-atlas .gallery-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  font: inherit;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 8px 14px;
  cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  .theme-atlas .gallery-thumb {
    transition: none;
  }
}

/* Selected gallery B: compact editorial mosaic; extra photos scroll horizontally. */
.theme-atlas .gallery-grid {
  display: grid;
  grid-template-rows: 72px 72px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-columns: 75px;
  grid-auto-flow: column;
  gap: 5px;
  height: auto;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.theme-atlas .gallery-thumb {
  min-width: 0;
  min-height: 0;
  scroll-snap-align: start;
}
.theme-atlas .gallery-thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}
.theme-atlas .gallery-thumb:first-child {
  grid-row: 1/3;
  grid-column: 1/3;
}
.theme-atlas .gallery-thumb:nth-child(2) {
  grid-column: 3/5;
  grid-row: 1;
}
.theme-atlas .gallery-thumb:nth-child(3) {
  grid-column: 3;
  grid-row: 2;
}
.theme-atlas .gallery-thumb:nth-child(4) {
  grid-column: 4;
  grid-row: 2;
}

/* Keep keyboard focus inside the scrolling gallery, like the hover border. */
.theme-atlas .gallery-thumb:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: -3px;
}

/* Mobile layout: one header, grouped map controls and directly accessible events. */
#mobile-menu {
  display: none;
}
.theme-atlas .map-toolbar {
  align-items: stretch;
}
.theme-atlas #search,
.theme-atlas #fit {
  height: 40px;
  min-height: 40px;
  box-sizing: border-box;
  margin: 0;
}
.theme-atlas #search {
  padding-top: 0;
  padding-bottom: 0;
}
@media (max-width: 760px) {
  html {
    height: auto;
    overflow-x: hidden;
  }
  body.theme-atlas {
    --nav-h: 60px;
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }
  .theme-atlas .navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    height: 60px;
    min-height: 60px;
    padding: 0 14px;
    gap: 12px;
  }
  .theme-atlas .brand {
    width: auto;
    margin-right: auto;
  }
  .theme-atlas .brand-logo {
    width: 26px;
    height: 34px;
  }
  .theme-atlas .wordmark-country,
  .theme-atlas .wordmark-btc {
    font-size: 19px;
  }
  .theme-atlas #mobile-menu {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    background: none;
    border: 1px solid var(--rule);
    color: var(--text);
    cursor: pointer;
  }
  .theme-atlas .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    padding: 16px;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    max-height: calc(100svh - 60px);
    overflow-y: auto;
  }
  .theme-atlas.mobile-menu-open .nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }
  .theme-atlas .initiatives {
    flex-basis: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    order: 0;
    gap: 0;
  }
  .theme-atlas details.initiative > summary {
    padding: 12px 0;
    min-height: 44px;
    border-bottom: 1px solid var(--rule);
  }
  .theme-atlas .initiative-panel {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    border: 0;
    box-shadow: none;
    padding: 6px 12px;
  }
  .theme-atlas .nav-add {
    order: 0;
    margin: 0;
    width: 100%;
    padding: 10px 0;
    min-height: 44px;
  }
  .theme-atlas .add-label {
    display: inline;
  }
  .theme-atlas #appearance,
  .theme-atlas #language {
    position: static;
    min-height: 44px;
    min-width: 44px;
    padding: 8px !important;
    margin: 0;
  }
  .theme-atlas #appearance {
    display: flex;
    gap: 10px;
    margin-right: auto;
  }
  .theme-atlas #appearance::after {
    content: attr(title);
    font: 14px var(--sans);
  }
  .theme-atlas .workspace {
    position: relative;
    inset: auto;
    display: block;
    min-height: 0;
  }
  .theme-atlas .map-pane {
    height: 56svh;
    min-height: 350px;
    max-height: 520px;
  }
  .theme-atlas .map-toolbar {
    top: 12px;
    left: 12px;
    right: 12px;
    gap: 8px;
  }
  .theme-atlas .search-wrap {
    width: auto;
    flex: 1;
    min-width: 0;
  }
  .theme-atlas #search {
    font-size: 16px;
  }
  .theme-atlas #fit {
    width: 40px;
    min-width: 40px;
  }
  .theme-atlas .map-footer {
    left: 10px;
    right: 58px;
    bottom: 40px;
    display: block;
    pointer-events: none;
  }
  .theme-atlas .legend {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    padding: 3px;
    pointer-events: auto;
    width: 100%;
    font-size: 10px;
  }
  .theme-atlas .legend button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    min-height: 66px;
    padding: 3px 1px;
    font-size: 10px;
    line-height: 1.2;
    text-align: center;
    overflow-wrap: anywhere;
  }
  .theme-atlas .legend-pin {
    width: 19px;
    height: 19px;
    font-size: 13px;
  }
  .theme-atlas .legend-pin .folk-icon {
    width: 15px;
    height: 15px;
  }
  .theme-atlas .maplibregl-ctrl-top-right {
    top: auto;
    bottom: 40px;
    right: 10px;
  }
  .theme-atlas .maplibregl-ctrl-top-right .maplibregl-ctrl {
    margin: 0;
  }
  .theme-atlas .maplibregl-ctrl-group button {
    width: 38px;
    height: 36px;
  }
  .theme-atlas .maplibregl-ctrl-attrib {
    font-size: 9px !important;
    line-height: 14px;
    max-width: 100%;
  }
  .theme-atlas #data-status:not([hidden]) {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    font-size: 10px;
    background: var(--paper);
    padding: 5px;
  }
  .theme-atlas .calendar-pane,
  body.theme-atlas.calendar-expanded .calendar-pane {
    position: relative;
    inset: auto;
    height: auto;
    display: block;
    overflow: visible;
    z-index: auto;
    border-top: 1px solid var(--rule);
  }
  .theme-atlas .calendar-top,
  .theme-atlas #mobile-calendar,
  .theme-atlas #mobile-events {
    display: none !important;
  }
  .theme-atlas .calendar-content {
    display: block;
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 18px 14px 28px;
  }
  .theme-atlas .event-list {
    overflow: visible;
  }
  .theme-atlas .upcoming-events .event-card {
    width: 100%;
  }
  .theme-atlas .past-events-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding: 0 2px 12px;
    scrollbar-width: thin;
  }
  .theme-atlas .past-events-track > .event-card {
    flex: 0 0 86%;
    min-width: 0;
    scroll-snap-align: start;
    align-items: flex-start;
    border: 1px solid var(--rule);
    padding: 14px 10px;
    margin: 0;
  }
  .theme-atlas .event-card {
    gap: 10px;
  }
  .theme-atlas .event-copy h3 {
    font-size: 18px;
    line-height: 1.3;
    display: block;
    -webkit-line-clamp: unset;
    max-height: none;
    margin: 0 0 8px;
  }
  .theme-atlas .event-copy p {
    font-size: 13px;
    line-height: 1.45;
    margin: 4px 0;
  }
  .theme-atlas .date-badge {
    width: 42px;
    min-width: 42px;
  }
  .theme-atlas .date-badge strong {
    font-size: 28px;
  }
  html[lang="lt"] .theme-atlas .date-badge {
    width: 64px;
    min-width: 64px;
  }
  html[lang="lt"] .theme-atlas .date-badge span {
    font-size: 10px;
    letter-spacing: 0;
  }
  .theme-atlas .gallery-grid {
    margin-bottom: 22px;
  }
}

/* Mobile destinations: map, events, community. Desktop keeps the Atlas split view. */
.community-pane,
.mobile-bottom-nav {
  display: none;
}
@media (max-width: 760px) {
  html {
    height: 100%;
    overflow: hidden;
  }
  body.theme-atlas {
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    --bottom-h: calc(64px + env(safe-area-inset-bottom, 0px));
  }
  .theme-atlas .navbar {
    position: fixed;
    inset: 0 0 auto;
    height: 60px;
    padding: 0 10px;
    gap: 6px;
  }
  .theme-atlas #mobile-menu {
    display: none;
  }
  .theme-atlas .nav-links,
  .theme-atlas.mobile-menu-open .nav-links {
    display: flex;
    position: static;
    width: auto;
    padding: 0;
    border: 0;
    background: none;
    max-height: none;
    overflow: visible;
    gap: 2px;
    flex-wrap: nowrap;
  }
  .theme-atlas #appearance,
  .theme-atlas #language {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    margin: 0;
  }
  .theme-atlas #appearance::after {
    content: none;
  }
  .theme-atlas .workspace {
    position: fixed;
    inset: 60px 0 var(--bottom-h);
    display: block;
    min-height: 0;
    overflow: hidden;
  }
  .theme-atlas .map-pane {
    height: 100%;
    min-height: 0;
    max-height: none;
    display: block;
  }
  .theme-atlas .calendar-pane,
  .theme-atlas.calendar-expanded .calendar-pane,
  .theme-atlas .community-pane {
    display: none;
    position: absolute;
    inset: 0;
    height: 100%;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    border: 0;
    padding: 0;
  }
  .theme-atlas[data-mobile-view="events"] .map-pane,
  .theme-atlas[data-mobile-view="community"] .map-pane {
    display: none;
  }
  .theme-atlas[data-mobile-view="events"] .calendar-pane {
    display: block;
  }
  .theme-atlas[data-mobile-view="community"] .community-pane {
    display: block;
    padding: 22px 16px 30px;
    box-sizing: border-box;
  }
  .theme-atlas #desktop-gallery {
    display: none;
  }
  .theme-atlas .calendar-content {
    padding: 22px 16px 30px;
  }
  .theme-atlas .mobile-bottom-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: fixed;
    inset: auto 0 0;
    height: var(--bottom-h);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-sizing: border-box;
    background: var(--paper);
    border-top: 1px solid var(--rule);
    z-index: 110;
  }
  .theme-atlas .mobile-bottom-nav :is(button, a) {
    border: 0;
    border-top: 2px solid transparent;
    background: none;
    color: var(--muted);
    font: 12px var(--sans);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    cursor: pointer;
    padding: 7px 2px;
  }
  .theme-atlas .mobile-bottom-nav :is(button, a)[aria-current="page"] {
    color: var(--text);
    border-top-color: var(--text);
    background: color-mix(in srgb, var(--text) 6%, transparent);
  }
  .theme-atlas .mobile-bottom-nav svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linejoin: round;
  }
  .theme-atlas .mobile-bottom-nav .folk-icon {
    width: 22px;
    height: 22px;
  }
  .theme-atlas .legend button {
    min-height: 52px;
  }
  .theme-atlas .map-footer {
    bottom: 36px;
  }
  .theme-atlas .maplibregl-ctrl-top-right {
    bottom: 36px;
  }
  .theme-atlas .maplibregl-ctrl-group button {
    height: 30px;
  }
  .theme-atlas #community-links .initiatives {
    display: block;
  }
  .theme-atlas #community-links .initiative {
    display: block;
    margin: 22px 0;
  }
  .theme-atlas #community-links .initiative summary {
    pointer-events: none;
    list-style: none;
    font-size: 20px;
    padding: 8px 0;
    color: var(--text);
  }
  .theme-atlas #community-links summary::after {
    display: none;
  }
  .theme-atlas #community-links summary::-webkit-details-marker {
    display: none;
  }
  .theme-atlas #community-links .initiative-panel {
    display: grid;
    position: static;
    min-width: 0;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 8px 0;
    gap: 4px;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .theme-atlas #community-links .initiative-link {
    min-height: 44px;
    padding: 8px 4px;
    box-sizing: border-box;
    overflow-wrap: anywhere;
  }
  .theme-atlas #community-links .nav-add {
    display: flex;
    border-top: 1px solid var(--rule);
    padding: 18px 0;
    width: 100%;
  }
  .theme-atlas #community-gallery .gallery-grid {
    margin-bottom: 24px;
  }
  .theme-atlas .mobile-bottom-nav button:focus-visible {
    outline: 2px solid var(--text);
    outline-offset: -4px;
  }
}

/* Compact controls and consistent event lists. */
.theme-atlas #language {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none;
}
@media (max-width: 760px) {
  .theme-atlas .map-footer {
    left: 10px;
    right: 58px;
    bottom: 36px;
    width: auto;
  }
  .theme-atlas .legend {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: max-content;
    max-width: 100%;
    padding: 4px 8px;
    gap: 0;
  }
  .theme-atlas .legend button {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    min-height: 28px;
    gap: 8px;
    font-size: 12px;
    text-align: left;
    padding: 3px 0;
    overflow-wrap: normal;
  }
  .theme-atlas .past-events-track {
    display: block;
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
  }
  .theme-atlas .past-events-track > .event-card {
    width: 100%;
    min-width: 0;
    border: 0;
    border-bottom: 1px solid var(--rule);
    padding: 18px 12px;
    margin: 0;
  }
  .theme-atlas #community-gallery > .list-heading {
    display: none;
  }
  .theme-atlas #community-gallery .gallery-grid {
    margin-top: 0;
  }
  .theme-atlas #community-links .initiative summary {
    background: transparent !important;
    padding: 8px 4px;
  }
  .theme-atlas #community-links .nav-add {
    padding: 18px 8px;
    gap: 10px;
    box-sizing: border-box;
  }
  .theme-atlas #community-links .add-icon {
    margin: 0;
  }
}
@media (max-width: 760px) {
  .theme-atlas .map-footer {
    right: 10px;
  }
  .theme-atlas .legend {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    width: max-content;
    box-sizing: border-box;
    padding: 5px 7px;
  }
  .theme-atlas .legend button {
    gap: 5px;
    min-height: 28px;
    white-space: nowrap;
  }
  .theme-atlas .maplibregl-ctrl-top-right {
    bottom: 86px;
  }
}
@media (max-width: 360px) {
  .theme-atlas .legend {
    gap: 7px;
    padding: 4px;
  }
  .theme-atlas .legend button {
    font-size: 10px;
    gap: 3px;
  }
  .theme-atlas .legend-pin {
    width: 17px;
    height: 17px;
  }
}

.community-source {
  margin-top: 24px;
  padding: 22px 8px;
  border-top: 1px solid var(--rule);
}
.community-source h3 {
  font: 22px var(--serif);
  margin: 0 0 10px;
  color: var(--text);
}
.community-source p {
  font: 14px/1.6 var(--sans);
  color: var(--muted);
  margin: 0 0 14px;
}
.community-source .source-link {
  display: inline-block;
  padding: 8px 0;
  color: var(--text);
  font: 14px var(--sans);
  text-underline-offset: 4px;
}

/* Full-size gallery: stable image area and reachable navigation. */
.theme-atlas dialog.gallery-dialog[open] {
  flex-direction: column;
  height: min(90dvh, 800px);
  max-height: 90dvh;
  padding: 60px 16px 12px;
  gap: 12px;
  box-sizing: border-box;
}
.theme-atlas .gallery-dialog-stage {
  flex: 1;
  min-height: 0;
  width: 100%;
}
.theme-atlas .gallery-dialog-img {
  width: 100%;
  height: 100%;
  max-height: 100%;
}
.theme-atlas .gallery-dialog-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-shrink: 0;
}
.theme-atlas .gallery-dialog-arrow {
  width: 48px;
  height: 44px;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: 24px/1 sans-serif;
  cursor: pointer;
}
.theme-atlas .gallery-dialog-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}
.theme-atlas .gallery-dialog-arrow:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}
.theme-atlas .gallery-dialog-count {
  min-width: 5ch;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* Brief context, with a dedicated descriptive page. */
.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.theme-atlas .brand-description {
  font: 12px var(--sans);
  letter-spacing: 0;
  color: var(--muted);
  white-space: nowrap;
}
.desktop-about {
  color: var(--text);
  text-decoration: none;
  font: 14px var(--sans);
}
.desktop-about:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.mobile-bottom-nav a {
  text-decoration: none;
}
.community-description {
  color: var(--text);
  margin: 0 0 20px;
  font: 16px/1.5 var(--sans);
}
@media (max-width: 760px) {
  .brand-description,
  .desktop-about {
    display: none;
  }
  .mobile-bottom-nav a:focus-visible {
    outline: 2px solid var(--text);
    outline-offset: -5px;
  }
}

/* Shared masthead rhythm on the map, event, community and About views. */
.theme-atlas .navbar {
  position: fixed;
  inset: 0 0 auto;
  height: 64px;
  min-height: 64px;
  z-index: 120;
  align-items: center;
  flex-wrap: nowrap;
}
.theme-atlas .navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: nowrap;
}
.theme-atlas .navbar .initiatives {
  gap: 22px;
}
.theme-atlas .navbar :is(.initiative > summary, .nav-add, .desktop-about) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0;
  margin: 0;
  gap: 8px;
  font: 15px/1 var(--sans);
  white-space: nowrap;
}
.theme-atlas .navbar :is(.initiative > summary, .nav-add) .folk-icon {
  width: 21px;
  height: 21px;
}
.theme-atlas .navbar :is(#appearance, #language) {
  position: static;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 !important;
  margin: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none;
  font: 600 16px/1 var(--serif);
}
.theme-atlas .navbar #appearance .folk-icon {
  width: 21px;
  height: 21px;
}
.theme-atlas .navbar #appearance::after {
  content: none;
}
.theme-atlas .navbar [aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}
@media (min-width: 761px) and (max-width: 1100px) {
  .theme-atlas .navbar {
    padding-inline: 16px;
  }
  .theme-atlas .navbar .nav-links,
  .theme-atlas .navbar .initiatives {
    gap: 14px;
  }
  .theme-atlas .brand-description {
    font-size: 10px;
  }
}
@media (max-width: 760px) {
  .theme-atlas .navbar {
    height: 60px;
    min-height: 60px;
    padding-inline: 10px;
  }
  .theme-atlas .navbar .nav-links {
    gap: 2px;
  }
  .theme-atlas .navbar :is(.desktop-about, .initiatives, .nav-add) {
    display: none;
  }
}
@media (max-width: 760px) {
  .theme-atlas .navbar a.desktop-about,
  .theme-atlas .navbar a.nav-add {
    display: none;
  }
}

/* Navigation behaves like text links, without highlighted button rectangles. */
.theme-atlas .navbar :is(summary, a, button) {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 140ms ease;
}
.theme-atlas .navbar :is(summary, a, button):hover,
.theme-atlas .navbar :is(summary, a, button):focus-visible {
  color: var(--accent);
  background: transparent;
  text-decoration-line: underline;
}
@media (prefers-reduced-motion: reduce) {
  .theme-atlas .navbar :is(summary, a, button) {
    transition: none;
  }
}

/* Installed mobile app: retain full button height above the home indicator. */
@media (max-width: 760px) {
  .installed-pwa body.theme-atlas {
    --bottom-h: calc(74px + env(safe-area-inset-bottom, 0px));
  }
  .installed-pwa .theme-atlas .mobile-bottom-nav {
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }
  .installed-pwa .theme-atlas .navbar {
    height: calc(60px + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
    padding-left: max(10px, env(safe-area-inset-left, 0px));
    padding-right: max(10px, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
  }
  .installed-pwa .theme-atlas .workspace {
    top: calc(60px + env(safe-area-inset-top, 0px));
  }
}
/* Reuse the date column so undated events align with dated cards. */
.theme-atlas .pending-date::before {
  content: "";
  display: block;
  width: 30px;
  height: 40px;
  margin-top: 2px;
  background: var(--text);
  mask: url(assets/folk-hourglass.svg) center / contain no-repeat;
  -webkit-mask: url(assets/folk-hourglass.svg) center / contain no-repeat;
}

/* The section heading already supplies the first separator. */
.theme-atlas .upcoming-events > .list-heading + .event-card {
  border-top: 0;
}

/* Regional profile keeps country context in addresses, without event badges. */
.country-filter {
  font: inherit;
  color: var(--text);
  background: var(--panel, #143d2f);
  border: 1px solid var(--line);
  padding: 0 10px;
  height: 42px;
  max-width: 175px;
  cursor: pointer;
}
.country-filter option {
  background: #143d2f;
  color: #f4eddb;
}
#events-country {
  margin: 0 0 18px;
  width: 100%;
  max-width: none;
}
.event-location {
  font-size: 0.82em !important;
}
.regional-site .wordmark-btc {
  font-family: inherit;
  font-size: 1em;
  letter-spacing: -0.04em;
}
.regional-site .wordmark-country {
  margin-right: 0.25em;
}
.regional-site .brand-name {
  white-space: nowrap;
}
[hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  .regional-site .map-toolbar {
    flex-wrap: wrap;
  }
  .regional-site .map-toolbar .country-filter {
    order: 3;
    flex: 0 0 100%;
    max-width: none;
    height: 36px;
  }
  .regional-site .brand-name {
    font-size: 23px;
  }
  .regional-site .event-location {
    font-size: 0.85em !important;
  }
}

.regional-site .wordmark-country,
.regional-site .wordmark-btc {
  font: 400 25px/1 var(--serif);
  color: var(--text);
  text-transform: none;
  letter-spacing: 0.01em;
}
@media (max-width: 760px) {
  .regional-site .wordmark-country,
  .regional-site .wordmark-btc {
    font-size: 20px;
  }
}

/* Original flat SVG country flags: consistent rendering across platforms. */
.country-icon{display:inline-block;width:18px;height:12px;flex:none;object-fit:contain;vertical-align:-2px;margin-right:7px;box-shadow:0 0 0 1px var(--rule-soft,rgba(128,128,128,.25))}
.initiative summary .country-icon{margin-right:0}
.event-location .country-icon,.search-result .country-icon{width:15px;height:10px;vertical-align:-1px}
.country-filter[data-country="LT"]{background-image:url(/assets/country-lt.svg)}
.country-filter[data-country="LV"]{background-image:url(/assets/country-lv.svg)}
.country-filter[data-country="EE"]{background-image:url(/assets/country-ee.svg)}
.country-filter[data-country="LT"],.country-filter[data-country="LV"],.country-filter[data-country="EE"]{background-repeat:no-repeat;background-position:10px center;background-size:18px 12px;padding-left:36px}
.gallery-credit{font-size:12px;line-height:1.5;text-align:center;max-width:900px;margin:12px auto;color:var(--text);padding:0 15px}.gallery-credit a{color:inherit;text-underline-offset:3px}.gallery-country{position:absolute;bottom:7px;left:7px;display:flex;align-items:center;gap:4px;background:var(--paper);color:var(--text);padding:4px 6px;font:10px var(--sans);pointer-events:none}.gallery-country .country-icon{width:12px;height:8px;margin:0}.gallery-thumb{position:relative}
.gallery-thumb .gallery-country img.country-icon{width:12px;height:8px;object-fit:contain;transform:none;position:static;display:inline-block}

/* Conference screen: shared by the legend and map markers. */
.folk-conference { mask-image:url("/assets/conference.svg"); -webkit-mask-image:url("/assets/conference.svg"); }
.theme-atlas .conference-marker, .theme-atlas .legend-conference { background:#e7c46a; color:#172732; border-color:#f7f4e7; }

.nav-contact { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; }
.nav-contact svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; }
@media(max-width:760px) { .nav-contact { display: none !important; } }

/* Email uses the same theme colour as the navigation text. */
.navbar a.nav-contact, .navbar a.nav-contact:visited { color: var(--text); background: transparent; }
.navbar a.nav-contact:hover { color: var(--accent); background: transparent; }

.community-contact { margin: 22px 0; padding: 22px 8px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.community-contact h3 { margin: 0 0 12px; color: var(--text); font: 22px var(--serif); }
.community-contact a { display: inline-block; padding: 8px 0; color: var(--text); font: 18px var(--sans); text-underline-offset: 5px; overflow-wrap: anywhere; }
.community-contact a:hover { color: var(--accent); }

/* Event artwork appears only inside the detail dialog. */
.event-cover{margin:20px 0 24px}.event-cover img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain}.event-cover figcaption{font-size:12px;line-height:1.5;margin-top:8px;opacity:.75}.event-cover a{color:inherit}

/* Shared editorial event sheet: compact desktop, single-column mobile. */
.theme-atlas dialog#event-dialog{width:min(1000px,calc(100vw - 64px));max-height:calc(100dvh - 48px);padding:28px;box-sizing:border-box;overflow:auto}
#event-detail .event-heading{padding-right:30px;margin-bottom:20px}
.theme-atlas #event-detail .event-heading h2{font-size:clamp(24px,2.5vw,34px);line-height:1.16;padding:0;margin:10px 0 0;max-width:900px}
#event-detail .event-body{display:grid;gap:28px;align-items:start}
#event-detail .event-body.has-artwork{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#event-detail .event-information{min-width:0;font-size:15px;line-height:1.5}
#event-detail .event-information>p{margin:14px 0}
#event-detail .detail-meta{margin:12px 0;gap:2px;font-size:14px}
#event-detail .event-cover{margin:0;min-width:0}
#event-detail .event-cover img{max-height:330px;object-position:top center}
#event-detail .detail-section{margin-top:14px;padding-top:12px}
#event-detail .detail-actions{border-top:1px solid var(--line);margin-top:20px;padding-top:16px;flex-wrap:wrap}
#event-detail .detail-actions:empty{display:none}
#event-detail .share-status:empty{display:none}
@media(max-width:680px){
 .theme-atlas dialog#event-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 32px);padding:20px}
 #event-detail .event-body.has-artwork{grid-template-columns:1fr;gap:18px}
 #event-detail .event-cover{grid-row:1}
 #event-detail .event-cover img{max-height:250px}
 #event-detail .event-heading{margin-bottom:18px}
 #event-detail .detail-actions{gap:8px}
}

/* Shared event / Bitcoin merchant list switcher. */
.theme-atlas .sidebar-tabs{display:flex;flex:none;gap:8px;padding:18px 24px 12px;border-bottom:1px solid var(--rule-soft,var(--line));background:var(--paper,var(--bg));position:relative;z-index:2}
.theme-atlas .sidebar-tab{flex:1;min-width:0;min-height:42px;padding:9px 8px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font:500 14px var(--sans);cursor:pointer;line-height:1.3}
.theme-atlas .sidebar-tab[aria-pressed=true]{color:var(--text);border-bottom-color:var(--accent)}
.theme-atlas .sidebar-tab:hover{color:var(--text);border-bottom-color:var(--accent);text-decoration:none}
.theme-atlas .sidebar-tab,.theme-atlas .sidebar-tab[aria-pressed=true]{text-decoration:none}
.theme-atlas .sidebar-tab:focus-visible,.theme-atlas .sidebar-place:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
@media(min-width:761px){.theme-atlas .calendar-pane{display:flex;flex-direction:column}}
.theme-atlas .calendar-content{flex:1;min-height:0}
.sidebar-place-count{font:13px var(--sans);color:var(--muted);margin:20px 0}
.sidebar-place{display:flex;align-items:center;gap:16px;width:100%;text-align:left;border:0;border-top:1px solid var(--rule-soft,var(--line));background:transparent;color:var(--text);padding:22px 12px;cursor:pointer}
.sidebar-place:hover{background:var(--paper-raised,var(--bg))}
.sidebar-place-icon{width:32px;height:32px;display:grid;place-items:center;flex:none;border:1px solid var(--rule-soft,var(--line));border-radius:50%;font:22px var(--sans);color:var(--accent)}
.sidebar-place-copy{display:flex;flex-direction:column;gap:7px;min-width:0}.sidebar-place-copy strong{font:500 19px var(--sans);overflow-wrap:anywhere}.sidebar-place-copy>span{font:14px/1.5 var(--sans);color:var(--muted)}
@media(max-width:760px){.theme-atlas[data-mobile-view=events] .calendar-pane{display:flex!important;flex-direction:column}.theme-atlas .sidebar-tabs{padding:10px 16px}.theme-atlas .sidebar-tab{font-size:13px}.sidebar-place{padding:18px 10px}}

/* Original unframed Bitcoin letter with an overlapping Lightning accent. */
.theme-atlas .sidebar-place .sidebar-payment-icons{position:relative;display:block;width:57px;height:40px;flex:none;border:0;background:none}
.theme-atlas .sidebar-place .sidebar-place-icon{position:absolute;left:10px;top:2px;display:block;width:auto;height:auto;min-width:0;padding:0;border:0!important;box-shadow:none;border-radius:0;background:none;font:34px/1 var(--sans);color:var(--accent);transform:none}
.theme-atlas .sidebar-place .sidebar-lightning{position:absolute;left:22px;top:16px;display:block;width:17px;height:22px;border:0;padding:0;background:none;color:var(--text);transform:none}
.sidebar-lightning svg{display:block;width:100%;height:100%;overflow:visible;fill:currentColor;stroke:var(--panel,var(--bg));stroke-width:1.7;stroke-linejoin:round;paint-order:stroke fill}
