:root {
  /* Colors from the MomUp app (momup.vercel.app). */
  --bg: #F7F4FA;
  --card: #FFFFFF;
  --ink: #1F1846;
  --muted: #6E6984;
  --line: #E9E3F4;
  --brand: #8670D6;        /* MomUp purple: logo, pins, borders, header */
  --accent: #735DC9;       /* same purple, a touch deeper so text and buttons stay readable */
  --accent-ink: #FFFFFF;
  --soft: #EFEAFB;
  --highlight: #FFD260;    /* the yellow heart / crown */
  --highlight-ink: #1F1846;
  --free: #1A7A4D;
  --online: #5B45B0;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15121F;
    --card: #211C2E;
    --ink: #F3F1F8;
    --muted: #A9A3BC;
    --line: #352E48;
    --brand: #A08FE3;
    --accent: #A08FE3;
    --accent-ink: #15121F;
    --soft: #2C2547;
    --highlight: #FFD260;
    --highlight-ink: #1F1846;
    --free: #5FD39A;
    --online: #C9BCF5;
  }
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; }
a { color: var(--accent); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 1000; background: var(--ink); color: var(--bg); padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 8px; }

/* header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { font-weight: 800; font-size: 22px; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }

.tag { margin: 0; color: var(--muted); }
.end { margin-left: auto; align-self: center; display: flex; align-items: center; gap: 16px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--card); }
.lang button { font: 700 13px/1 var(--font); border: 0; background: none; color: var(--muted); padding: 7px 11px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.insta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.insta svg { width: 20px; height: 20px; }
@media (max-width: 560px) { .insta span { display: none; } .insta svg { width: 24px; height: 24px; } }

/* contact */
.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin: 8px 0 32px; padding: 28px 32px; background: var(--soft); border-radius: 20px; }
@media (max-width: 480px) { .contact { padding: 24px 20px; } }
.contact h2 { margin: 0 0 4px; font-size: 22px; }
.contact p { margin: 0; color: var(--muted); max-width: 52ch; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.contact .btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.contact .btn svg { width: 18px; height: 18px; }

/* team */
.team { flex-basis: 100%; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 6px; }
.team h3 { margin: 0 0 14px; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.team ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .team ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .team ul { grid-template-columns: 1fr; } }
.person { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
.person .photo { grid-row: 1 / span 2; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--card); border: 2px solid var(--line); }
.person .photo:empty::before, .person .photo:not(:has(img))::before { content: attr(data-initials); font-weight: 800; font-size: 20px; color: var(--accent); }
.person .photo img { width: 100%; height: 100%; object-fit: cover; }
.person.lead .photo { width: 84px; height: 84px; border-color: var(--accent); }
.person b { align-self: end; font-size: 17px; }
.person span:last-child { align-self: start; color: var(--muted); font-size: 14px; }

/* hero: headline and search over a photo (warm gradient until the photo is added) */
.hero {
  color: #fff;
  background: radial-gradient(120% 140% at 85% 0%, #C9BCF5 0%, #8670D6 38%, #5B45B0 75%, #3B2A85 100%);
  padding: clamp(40px, 8vw, 88px) 0 clamp(32px, 6vw, 56px);
}
.hero { position: relative; overflow: hidden; }
.hero > .wrap { position: relative; z-index: 1; }
/* Photo on the right, fading into the orange behind the headline. */
.hero.has-photo::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: min(60%, 760px);
  background: url("images/hero.jpg") center 22% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .6) 22%, #000 48%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .6) 22%, #000 48%);
}
@media (max-width: 760px) {
  /* Phones: photo behind everything, tinted so the white text stays readable. */
  .hero.has-photo::after {
    width: 100%; -webkit-mask-image: none; mask-image: none;
    background:
      linear-gradient(180deg, rgba(74, 55, 160, .8) 0%, rgba(91, 69, 176, .55) 50%, rgba(59, 42, 133, .85) 100%),
      url("images/hero.jpg") center 30% / cover no-repeat;
  }
}
.hero h1 { margin: 0; font-size: clamp(30px, 5.4vw, 52px); line-height: 1.1; font-weight: 800; letter-spacing: -.01em; max-width: 18ch; text-shadow: 0 2px 16px rgba(0, 0, 0, .25); }
.hero-text { margin: 10px 0 24px; font-size: clamp(17px, 2.2vw, 20px); max-width: 46ch; opacity: .95; text-shadow: 0 1px 10px rgba(0, 0, 0, .25); }
.hero .where { max-width: 760px; }
.hero input { border-color: transparent; box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
.hero .btn { box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
.hero .btn:not(.ghost) { background: var(--highlight); border-color: var(--highlight); color: var(--highlight-ink); }
.hero .btn.ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .8); backdrop-filter: blur(4px); }
.hero .status { color: rgba(255, 255, 255, .92); }
.filter-bar { padding-top: 4px; }
.filter-bar .filters { border-top: 0; margin-top: 0; }
.where { display: flex; flex-wrap: wrap; gap: 8px; }
.where input { flex: 1 1 260px; min-width: 0; }
input, select { font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; }
.btn { font: 700 15px/1 var(--font); border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); border-radius: 12px; padding: 12px 18px; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--accent); }
.status { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

/* Filters: one compact row of pills. The first option of each list says what it is ("Any age"), so the labels are for screen readers only. */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 0; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filters label { display: flex; flex: none; }
.filters select { appearance: none; -webkit-appearance: none; padding: 6px 28px 6px 12px; font-size: 14px; font-weight: 600; border-radius: 999px; cursor: pointer;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%238670D6' stroke-width='1.8'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 11px center; }
.filters select:has(option[value=""]:not(:checked)) { border-color: var(--accent); background-color: var(--soft); color: var(--accent); }
.filters .chip { align-items: center; gap: 6px; padding: 5px 12px 5px 9px; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.filters .chip:has(input:checked) { border-color: var(--accent); background: var(--soft); color: var(--accent); }
.filters .chip input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
/* Phones: one line that scrolls sideways instead of a tall block. */
@media (max-width: 760px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .filters::-webkit-scrollbar { display: none; }
  .filters label, .filters .chip { white-space: nowrap; }
}

/* who is going */
.events.going { padding-top: 20px; }
.going-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
@media (max-width: 760px) { .going-list { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; } .going-list > li { scroll-snap-align: start; } }
.going-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 16px; padding: 12px 14px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.going-item:hover, .going-item.active { border-color: var(--brand); box-shadow: 0 4px 18px rgba(134, 112, 214, .18); }
.going-item .date { grid-row: span 2; }
.going-item h3 { margin: 0; font-size: 15px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.going-item .going-count { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 13px; font-weight: 700; color: var(--accent); }
.going-item .day { margin: 0; font-size: 13px; color: var(--muted); }
.goers { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 0; padding: 0; list-style: none; }
.goers li { font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--soft); color: var(--accent); }
.goers li.goer-you { background: var(--accent); color: var(--accent-ink); }
.going-box { margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: var(--soft); }
.going-box p { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.going-box .goers { margin: 0 0 10px; }
.going-box .goers li:not(.goer-you) { background: var(--card); }
.going-box .btn { text-decoration: none; display: inline-flex; align-items: center; }

/* events */
.events { padding-top: 24px; }
.events-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 12px; }
.events-head .link { white-space: nowrap; }
.events-count { white-space: nowrap; }
.events-head h2 { margin: 0; font-size: 22px; }
.events-count { color: var(--muted); font-weight: 600; font-size: 16px; }
.link { font: 700 14px/1 var(--font); border: 0; background: none; color: var(--accent); cursor: pointer; padding: 6px 0; }
.event-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1000px) { .event-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .event-list.collapsed { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .event-list.collapsed > li { scroll-snap-align: start; }
  .event-list:not(.collapsed) { grid-template-columns: 1fr; }
}
.event { display: flex; flex-direction: column; gap: 8px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--highlight); border-radius: 16px; padding: 14px 16px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.event:hover, .event.active { border-color: var(--brand); border-left-color: var(--highlight); box-shadow: 0 4px 18px rgba(134, 112, 214, .18); }
.event .when { display: flex; align-items: center; gap: 10px; }
.date { flex: none; width: 48px; text-align: center; border-radius: 10px; background: var(--soft); padding: 5px 0 6px; line-height: 1.1; }
.date b { display: block; font-size: 20px; }
.date small { display: block; font-size: 12px; font-weight: 700; color: var(--online); text-transform: uppercase; }
.event .day { font-size: 14px; color: var(--muted); }
.event .day b { color: var(--ink); }
.event h3 { margin: 0; font-size: 17px; line-height: 1.3; }
.event .desc { margin: 0; font-size: 14px; color: var(--muted); }
.event .badges { margin: 0; }
.event .place { margin: 0; font-size: 13px; color: var(--muted); }
.event .acts { margin-top: auto; display: flex; flex-wrap: wrap; gap: 4px 14px; padding-top: 4px; }
.event .acts a, .event .acts button { font: 700 13px/1 var(--font); color: var(--accent); background: none; border: 0; padding: 6px 0; cursor: pointer; text-decoration: none; }
.empty.small { padding: 14px; font-size: 14px; }
.pin.event-pin { background: var(--highlight); border-radius: 4px; transform: rotate(45deg); }
.pin.event-pin.active { transform: rotate(45deg) scale(1.35); }

/* layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding-top: 20px; padding-bottom: 32px; }
.mapbox { position: sticky; top: 16px; align-self: start; }
#map { height: calc(100vh - 32px); max-height: 720px; border-radius: 16px; border: 1px solid var(--line); }
@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .mapbox { position: static; order: -1; }
  #map { height: 280px; }
}

.count { margin: 0 0 12px; font-weight: 700; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.item { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.item:hover, .item.active { border-color: var(--brand); box-shadow: 0 4px 18px rgba(134, 112, 214, .18); }
.item .row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.item h2 { margin: 0; font-size: 18px; line-height: 1.3; }
.item .org { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.item .desc { margin: 10px 0 0; font-size: 15px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.badges li { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--soft); }
.badges .free { color: var(--free); }
.badges .online { color: var(--online); }
.item .meta { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.save { flex: none; border: 1px solid var(--line); background: var(--card); color: var(--muted); border-radius: 999px; width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; font-size: 18px; }
.save[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.empty { padding: 24px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 16px; }

.foot { padding-top: 16px; padding-bottom: 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot p { margin: 6px 0; }

.leaflet-popup-content { font-family: var(--font); }
.pin { width: 18px; height: 18px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.pin.active { transform: scale(1.35); }
.me { width: 16px; height: 16px; border-radius: 50%; background: #1c7ed6; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(28, 126, 214, .25); }

/* header links */
.nav { font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; }
.nav:hover { color: var(--accent); }
@media (max-width: 560px) { .nav { font-size: 14px; } .end { gap: 10px; } }
.team-link { flex-basis: 100%; font-weight: 700; text-decoration: none; }
.team-link:hover { text-decoration: underline; }

/* contact page */
.contact-page { padding-top: clamp(32px, 6vw, 64px); padding-bottom: 48px; }
.contact-intro { max-width: 640px; }
.contact-intro h1 { margin: 0 0 10px; font-size: clamp(32px, 5vw, 46px); line-height: 1.1; }
.contact-intro p { margin: 0 0 22px; font-size: 18px; color: var(--muted); }
.contact-intro .btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.contact-intro .btn svg { width: 18px; height: 18px; }
.team-page { margin-top: clamp(40px, 7vw, 72px); }
.team-page h2 { margin: 0 0 24px; font-size: 26px; }
.team-page ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .team-page ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team-page ul { grid-template-columns: 1fr; } }
.member { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px 20px; }
.member img, .member .initials { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; border: 4px solid var(--soft); }
.member .initials { display: grid; place-items: center; background: var(--soft); font-size: 48px; font-weight: 800; color: var(--accent); }
.member.lead img { border-color: var(--accent); }
.member b { font-size: 20px; }
.member span:last-child { color: var(--muted); }

/* event details window */
.sheet { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 28px 26px 24px; border: 0; border-radius: 22px; background: var(--card); color: var(--ink); box-shadow: 0 24px 80px rgba(0, 0, 0, .28); }
.sheet::backdrop { background: rgba(31, 24, 70, .45); backdrop-filter: blur(2px); }
.sheet-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; }
.sheet-close:hover { color: var(--ink); }
.sheet .when { display: flex; align-items: center; gap: 12px; padding-right: 44px; }
.sheet .date { width: 56px; }
.sheet .date b { font-size: 24px; }
.sheet .day { margin: 0; color: var(--muted); }
.sheet .day b { color: var(--ink); }
.sheet h2 { margin: 16px 0 2px; font-size: 24px; line-height: 1.25; }
.sheet .org { margin: 0; color: var(--muted); font-size: 15px; }
.sheet .badges { margin-top: 14px; }
.sheet .desc { margin: 14px 0 0; font-size: 16px; }
.sheet .place { margin: 12px 0 0; font-size: 15px; color: var(--muted); }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.sheet-actions .btn { text-decoration: none; display: inline-flex; align-items: center; }
@media (max-width: 560px) {
  /* Phones: slides up from the bottom. */
  .sheet { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 22px 22px 0 0; max-height: 88vh; padding: 24px 18px 28px; }
  .sheet-actions .btn { flex: 1 1 calc(50% - 4px); justify-content: center; }
}

/* suggest an activity (contact page) */
.suggest { margin-top: clamp(40px, 7vw, 72px); max-width: 760px; scroll-margin-top: 24px; }
.suggest h2 { margin: 0 0 6px; font-size: 26px; }
.suggest > p { margin: 0 0 18px; color: var(--muted); }
#suggest-form, #collab-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
#suggest-form label, #collab-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--muted); }
#suggest-form .wide, #collab-form .wide { grid-column: 1 / -1; }
#suggest-form input, #collab-form input, #suggest-form textarea, #collab-form textarea, #suggest-form select, #collab-form select { font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; width: 100%; }
#suggest-form textarea, #collab-form textarea { resize: vertical; }
.send { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.send .btn { display: inline-flex; align-items: center; gap: 8px; }
.send .btn svg { width: 18px; height: 18px; }
.send small { color: var(--muted); }
@media (max-width: 560px) { #suggest-form, #collab-form { grid-template-columns: 1fr; padding: 18px; } }
#suggest-form .hint, #collab-form .hint { margin: -4px 0 0; font-size: 13px; color: var(--muted); }
#suggest-form textarea[name="message"], #collab-form textarea[name="message"] { min-height: 180px; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { margin: 0; padding: 12px 16px; border-radius: 12px; font-weight: 700; }
.form-msg.ok { background: #e6f6ea; color: #1e6b31; }
.form-msg.error { background: #fdecea; color: #a12a1b; }
@media (prefers-color-scheme: dark) { .form-msg.ok { background: #1d3524; color: #8fe0a2; } .form-msg.error { background: #3b1f1b; color: #f5a397; } }
#suggest-submit[disabled], #collab-submit[disabled] { opacity: .6; cursor: wait; }
.person b a, .member b a { color: inherit; text-decoration: none; }
.person b a:hover, .member b a:hover { color: var(--accent); text-decoration: underline; }
.member .initials { font-size: 44px; }
.brand .logo { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 2px 8px rgba(124, 86, 228, .3); }

/* account page */
.account-page { padding-top: clamp(32px, 6vw, 56px); padding-bottom: 56px; max-width: 760px; }
.account-page h1 { margin: 0 0 12px; font-size: clamp(28px, 4.6vw, 40px); line-height: 1.15; }
.account-page .lede { font-size: 18px; color: var(--muted); }
.account-loading { color: var(--muted); }
.acc-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; margin-bottom: 20px; }
.acc-card h2 { margin: 0 0 14px; font-size: 20px; }
.why { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 8px; }
.why li { padding-left: 30px; position: relative; }
.why li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--soft); color: var(--accent); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
#login-form label, #code-form label { display: block; font-weight: 700; margin-bottom: 6px; }
.account-page .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.account-page .row input { flex: 1 1 240px; }
.account-page input:not([type=checkbox]) { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; }
.account-page small, .account-page .muted { color: var(--muted); }
.account-page .small { font-size: 13px; }
#login-form small, #code-form small { display: block; margin-top: 8px; }
#code-form { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
#code-form input { letter-spacing: .25em; font-weight: 700; }
#code-form[hidden] { display: none; }
#login-form .form-msg, #code-form .form-msg { margin-top: 12px; }
.acc-head { margin-bottom: 16px; }
.acc-head h1 { margin-bottom: 2px; }
.acc-head .who { margin: 0; color: var(--muted); }
#profile-form { display: grid; gap: 16px; }
#profile-form label:not(.check):not(.age-chip) { display: grid; gap: 6px; font-weight: 700; font-size: 14px; color: var(--muted); }
#profile-form fieldset { border: 0; padding: 0; margin: 0; }
#profile-form legend { font-weight: 700; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
#profile-form .check { display: flex; gap: 10px; align-items: center; }
#profile-form .check input { width: 18px; height: 18px; accent-color: var(--accent); }
.ages { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.age-chip { position: relative; min-width: 42px; text-align: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-weight: 700; cursor: pointer; user-select: none; }
.age-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.age-chip:has(input:checked) { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.age-chip:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.form-msg.inline { padding: 8px 12px; }
.saved-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.saved-list a { font-weight: 700; }
.acc-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin: 8px 0 14px; }
.link.danger { color: #c0392b; }
#profile-form .notify { display: grid; gap: 8px; }
#profile-form .notify small { margin-left: 28px; }
#profile-form .notify[hidden] { display: none; }
#profile-form .push { display: grid; gap: 8px; justify-items: start; margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line); }
#profile-form .push small { margin-left: 0; }
.push-state { margin: 0; font-weight: 700; font-size: 14px; }
.push-state.ok { color: var(--free); }
.push-state.warn { color: var(--ink); font-weight: 500; background: var(--soft); padding: 10px 12px; border-radius: 12px; }
.push-acts { display: flex; flex-wrap: wrap; gap: 6px 18px; }
#profile-form [hidden] { display: none !important; }
#profile-form label small { font-weight: 400; }
.kids { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.kids li { display: grid; grid-template-columns: minmax(0, 1fr) 170px auto auto; gap: 8px; align-items: center; }
.kids .kid-age { font-size: 13px; font-weight: 700; color: var(--accent); min-width: 72px; }
.kids .link.danger { font-size: 18px; padding: 6px 8px; }
@media (max-width: 560px) { .kids li { grid-template-columns: minmax(0, 1fr) auto auto; padding: 10px; border: 1px solid var(--line); border-radius: 14px; } .kids .kid-name { grid-column: 1 / -1; } }
#kids-box > small { display: block; margin-top: 8px; }
#profile-form .visible { display: grid; gap: 8px; }
#profile-form .visible input:disabled { opacity: .6; }
#profile-form .visible small { margin-left: 28px; }

/* sales for kids: MomUp lavender and violet with a pink date, so they stand apart from play events (yellow) */
:root {
  --sale: #7B3FD6; --sale-ink: #FFFFFF; --sale-title: #3E1A8C; --sale-line: #DCC8FA;
  --sale-bg: linear-gradient(135deg, #F7F0FF 0%, #EBDDFF 55%, #D9C0FC 100%);
  --sale-date: linear-gradient(160deg, #FF6FB1 0%, #B44DE8 100%);
  --sale-pill: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
  :root {
    --sale: #C29BFF; --sale-ink: #1A0F33; --sale-title: #EADCFF; --sale-line: #43336B;
    --sale-bg: linear-gradient(135deg, #2D2050 0%, #241A40 55%, #1B1430 100%);
    --sale-pill: #3A2B63;
  }
}
.events.sales { margin-top: 32px; padding-top: 22px; padding-bottom: 22px; background: var(--sale-bg); border: 1px solid var(--sale-line); border-radius: 24px; max-width: calc(1200px - 48px); box-shadow: 0 10px 34px rgba(123, 63, 214, .14); }
@media (max-width: 1248px) { .events.sales { margin-left: 24px; margin-right: 24px; } }
@media (max-width: 480px) { .events.sales { margin-left: 12px; margin-right: 12px; padding-left: 14px; padding-right: 14px; } }
.events.sales h2 { color: var(--sale-title); display: flex; align-items: center; gap: 12px; }
.events.sales h2::before { content: "%"; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sale-pill); color: var(--sale); font-size: 20px; font-weight: 800; box-shadow: 0 4px 14px rgba(123, 63, 214, .25); }
.events.sales .events-count { color: var(--sale); }
/* sales banner: big title, count, next date and "Show all" on the left, a picture on the right */
.sales-banner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 210px; align-items: center; gap: 8px 20px; margin-bottom: 18px; }
.sales-banner-text { display: grid; justify-items: start; gap: 8px; }
.events.sales .sales-banner h2 { margin: 0; font-size: clamp(24px, 3.2vw, 32px); line-height: 1.15; }
.events.sales .sales-banner h2 .events-count { font-size: .7em; font-weight: 700; }
.events.sales .sales-banner h2 .events-count:not(:empty)::after { content: " ›"; }
.sales-lede { margin: 0 0 0 52px; font-size: 15px; color: var(--sale-title); opacity: .8; max-width: 34ch; }
.sales-next { margin: 0 0 0 52px; font-size: 14px; font-weight: 700; color: var(--sale); }
.events.sales .sales-banner .link { margin: 6px 0 0 52px; }
.sales-art { justify-self: end; width: 210px; }
.sales-art-svg { display: block; width: 100%; height: auto; }
.art-glow { fill: rgba(255, 255, 255, .55); }
.art-heart { fill: none; stroke: #B48AF0; stroke-width: 3; stroke-linejoin: round; }
@media (prefers-color-scheme: dark) { .art-glow { fill: rgba(255, 255, 255, .08); } .art-heart { stroke: #C29BFF; } }
@media (max-width: 640px) {
  .sales-banner { grid-template-columns: minmax(0, 1fr) 118px; gap: 6px 8px; }
  .sales-art { width: 118px; align-self: start; }
  .sales-lede, .sales-next, .events.sales .sales-banner .link { margin-left: 0; }
  .events.sales .sales-banner h2 { font-size: 22px; }
}
#sales-more { background: var(--sale-pill); color: var(--sale-title); padding: 9px 16px; border-radius: 999px; box-shadow: 0 3px 12px rgba(123, 63, 214, .18); }
#sales-more::after { content: " →"; }
.event.sale { border-color: var(--sale-line); border-left: 1px solid var(--sale-line); border-radius: 18px; }
.event.sale:hover, .event.sale.active { border-color: var(--sale); box-shadow: 0 6px 22px rgba(123, 63, 214, .22); }
.event.sale .date { background: var(--sale-date); box-shadow: 0 4px 12px rgba(214, 72, 170, .3); }
.event.sale .date b, .event.sale .date small { color: #FFFFFF; }
.event.sale .badges .free { background: rgba(31, 160, 90, .15); }
.event.sale .acts a, .event.sale .acts button { color: var(--sale); }
.pin.sale-pin { background: #D64BB4; }
.events[hidden] { display: none; }

/* "add to home screen" hint */
.install { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 1200; width: min(440px, calc(100vw - 24px));
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 20px; background: var(--card); color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(31, 24, 70, .22); animation: install-in .3s ease-out; }
.install img { flex: none; border-radius: 11px; }
.install b { display: block; font-size: 16px; }
.install p { margin: 2px 0 10px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.install-acts { display: flex; align-items: center; gap: 14px; }
.install .btn { padding: 9px 16px; }
@keyframes install-in { from { opacity: 0; transform: translate(-50%, 12px); } }
@media (prefers-reduced-motion: reduce) { .install { animation: none; } }
/* installed app: leave room for the phone's status bar and home bar */
@media (display-mode: standalone) { body { padding-bottom: env(safe-area-inset-bottom); } }

/* "Install the app" links and page */
.hero-app { margin: 14px 0 0; }
.hero-app .app-link { display: inline-block; color: #fff; font-weight: 700; text-decoration: none; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .55); }
.hero-app .app-link:hover { background: rgba(255, 255, 255, .26); }
.foot .app-link { font-weight: 700; }
.is-app .app-link, .is-app .hero-app { display: none !important; }
.install-page { padding-top: clamp(28px, 6vw, 56px); padding-bottom: 56px; }
.install-hero { display: flex; gap: 24px; align-items: center; margin-bottom: 32px; }
.install-hero img { flex: none; border-radius: 22px; box-shadow: 0 10px 30px rgba(134, 112, 214, .35); }
.install-hero h1 { margin: 0 0 8px; font-size: clamp(28px, 5vw, 42px); line-height: 1.15; }
.install-hero p { margin: 0 0 16px; font-size: 18px; color: var(--muted); max-width: 52ch; }
.install-hero .done { color: var(--free); font-weight: 700; }
.btn.big { font-size: 17px; padding: 14px 28px; }
.install-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.install-steps ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.install-steps .mine { border-color: var(--brand); box-shadow: 0 6px 24px rgba(134, 112, 214, .18); }
.install-steps .qr { text-align: center; }
.install-steps .qr img { display: block; margin: 8px auto; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 8px; }
.install-steps .small { font-size: 13px; }
.install-steps .muted { color: var(--muted); }
@media (max-width: 900px) { .install-steps { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .install-hero { flex-direction: column; align-items: flex-start; gap: 14px; } .install-hero img { width: 72px; height: 72px; border-radius: 17px; } }
.inapp { margin: 0 0 24px; padding: 18px 20px; border-radius: 18px; background: #FFF3C4; color: #1F1846; border: 2px solid var(--highlight); }
.inapp b { display: block; font-size: 18px; margin-bottom: 6px; }
.inapp p { margin: 0 0 12px; line-height: 1.5; }
.menu-hint { font-size: 15px !important; color: var(--ink) !important; background: var(--soft); border-radius: 12px; padding: 10px 14px; }

/* app tab bar: phones and the installed app */
.tabs { display: none; }
@media (max-width: 720px) {
  .has-tabs body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .has-tabs .top .nav { display: none; }
  .tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100; display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--card); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 24px rgba(31, 24, 70, .07); }
  .tabs a { display: grid; justify-items: center; gap: 2px; padding: 4px 0; color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 600; border-radius: 12px; }
  .tabs svg { width: 24px; height: 24px; }
  .tabs a[aria-current="page"] { color: var(--accent); }
  .tabs a[aria-current="page"] svg { fill: var(--soft); }
  .has-tabs .install { bottom: calc(78px + env(safe-area-inset-bottom)); }
}

/* chat */
.chat-page { padding-top: clamp(24px, 5vw, 48px); padding-bottom: 40px; max-width: 760px; }
.chat-page h1 { margin: 0 0 6px; font-size: clamp(26px, 4.4vw, 38px); line-height: 1.15; }
.chat-page .lede { font-size: 18px; color: var(--muted); }
.chat-page .muted { color: var(--muted); margin: 0; }
.chat-page .small { font-size: 13px; }
.chat-page [hidden] { display: none !important; }
.chat-page #chat-out .btn { display: inline-block; text-decoration: none; }
.chat-page .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chat-page .row input { flex: 1 1 240px; }
.chat-page input, .chat-page textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; width: 100%; }
.chat-page textarea { resize: vertical; }
.chat-page .form-msg { margin-top: 12px; }
.chat-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px 20px; margin-bottom: 20px; }
#new-topic { display: grid; gap: 14px; }
#new-topic h2 { margin: 0; }
#new-topic label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; color: var(--muted); }
.topics { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.topics a { display: grid; gap: 4px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 16px; color: var(--ink); text-decoration: none; }
.topics a:hover { border-color: var(--brand); box-shadow: 0 6px 20px rgba(134, 112, 214, .15); }
.topics b { font-size: 17px; line-height: 1.3; overflow-wrap: anywhere; }
.topics small { color: var(--muted); }
.chat-page .back { display: inline-block; margin-bottom: 14px; color: var(--accent); }
@media (max-width: 720px) { .has-tabs .chat-page .back { display: inline-block; } }
#topic-h { overflow-wrap: anywhere; }
.messages { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.msg { max-width: min(560px, 88%); justify-self: start; background: var(--card); border: 1px solid var(--line); border-radius: 18px 18px 18px 6px; padding: 10px 14px 6px; }
.msg.mine { justify-self: end; background: var(--soft); border-color: transparent; border-radius: 18px 18px 6px 18px; }
.msg-head { display: flex; gap: 10px; align-items: baseline; font-size: 13px; }
.msg-head b { color: var(--accent); }
.msg-head time { color: var(--muted); }
.msg p { margin: 2px 0 2px; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg-acts { display: flex; gap: 14px; justify-content: flex-end; }
.msg-acts .link { font-size: 12px; font-weight: 600; color: var(--muted); padding: 4px 0; }
.msg-acts .link:hover { color: var(--accent); }
.compose { position: sticky; bottom: 0; display: flex; gap: 8px; align-items: flex-end; padding: 10px 0 12px; background: var(--bg); }
.compose textarea { resize: none; min-height: 46px; max-height: 220px; }
.compose .btn { flex: none; }
@media (max-width: 720px) { .has-tabs .compose { bottom: calc(66px + env(safe-area-inset-bottom)); } }
.chat-rules { margin-top: 24px !important; }
.chat-search { margin: 0 0 14px; position: relative; }
.chat-search input { padding-left: 42px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238670D6' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") no-repeat 14px center / 18px; }
.search-status { margin: -4px 0 12px !important; font-weight: 600; }
.topics .snippet { font-size: 14px; color: var(--ink); opacity: .85; overflow-wrap: anywhere; }
.topics mark { background: var(--highlight); color: var(--highlight-ink); border-radius: 4px; padding: 0 2px; }
.chat-page .more { text-align: center; margin: 16px 0 0; }
.msg-head .who { font: 700 13px/1.2 var(--font); color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; }
.msg-head .who:hover { text-decoration: underline; }
.member-card { border: 0; border-radius: 22px; padding: 0; width: min(360px, calc(100vw - 32px)); background: var(--card); color: var(--ink); box-shadow: 0 20px 50px rgba(31, 24, 70, .3); }
.member-card::backdrop { background: rgba(31, 24, 70, .45); }
.member-card .card-in { padding: 22px 22px 18px; display: grid; gap: 10px; }
.member-card .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--soft); color: var(--accent); display: grid; place-items: center; font-size: 24px; font-weight: 800; }
.member-card h2 { margin: 0; font-size: 22px; overflow-wrap: anywhere; }
.member-card dl { margin: 0; display: grid; gap: 6px; }
.member-card dt { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.member-card dd { margin: 0; }
.member-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.member-card .muted { color: var(--muted); margin: 0; }
.member-card .btn { justify-self: end; }

/* events imported from berlin.de */
.event .acts .via { color: var(--muted); font-weight: 600; }
.event .acts .via:hover { color: var(--accent); }

/* about: Yuliia's story */
.about { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px 44px; align-items: start; margin: 48px 0 28px; padding: 36px 40px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; scroll-margin-top: 24px; }
.about-photo { margin: 0; text-align: center; }
.about-photo img { width: 100%; max-width: 240px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid var(--soft); box-shadow: 0 10px 30px rgba(134, 112, 214, .22); }
.about-photo figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.about-photo figcaption b { display: block; color: var(--ink); font-size: 16px; }
.about-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.about h2 { margin: 0 0 16px; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; }
.about-story { max-width: 62ch; }
.about-story p { margin: 0 0 14px; font-size: 17px; line-height: 1.65; }
.about-story p:first-child::first-letter { float: left; font-size: 3.1em; line-height: .9; font-weight: 800; color: var(--brand); margin: 6px 8px 0 0; }
.about-sign { margin: 18px 0 0; font-weight: 700; font-style: italic; color: var(--accent); }
@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; padding: 26px 20px; margin-top: 36px; }
  .about-photo img { max-width: 150px; }
}

/* WhatsApp community */
:root { --wa: #1F8F4E; --wa-ink: #FFFFFF; }
@media (prefers-color-scheme: dark) { :root { --wa: #3DCB78; --wa-ink: #0E2417; } }
.btn.wa { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; background: var(--wa); border-color: var(--wa); color: var(--wa-ink); }
.btn.wa svg { width: 18px; height: 18px; }
.wa-hint { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.wa-hint .btn { display: flex; justify-content: center; margin-top: 10px; line-height: 1.3; }
.btn.wa svg { flex: none; }
.wa-link { margin: 4px 0 0; font-size: 14px; }
.wa-link a { color: var(--wa); font-weight: 700; text-decoration: none; }

/* first-visit language welcome */
.welcome { text-align: center; padding: 30px 22px 24px; }
.welcome-logo { border-radius: 14px; box-shadow: 0 6px 18px rgba(134, 112, 214, .3); }
.welcome h2 { margin: 14px 0 6px; font-size: 19px; line-height: 1.35; }
.welcome-sub { margin: 0 0 20px; font-size: 13px; color: var(--muted); }
.welcome-choices { display: grid; gap: 10px; }
.welcome-choice { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 12px; text-align: left; width: 100%; padding: 14px 16px; font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.welcome-choice:hover, .welcome-choice:focus-visible { border-color: var(--accent); background: var(--soft); transform: translateY(-1px); }
.welcome-choice.suggested { border-color: var(--accent); background: var(--soft); }
.welcome-choice .mark { grid-row: span 2; font-size: 28px; line-height: 1; text-align: center; }
.welcome-choice .text { font-size: 18px; font-weight: 700; }
.welcome-choice small { font-size: 13px; color: var(--muted); }

/* outside Berlin */
.far { text-align: center; }
.far-pin { font-size: 44px; line-height: 1; margin: 4px 0 8px; }
.far h2 { margin: 0 0 8px; font-size: 22px; }
.far p { margin: 0 0 18px; color: var(--muted); }
.far-actions { display: grid; gap: 8px; }
.far-actions .btn { width: 100%; }
.far .far-follow { margin: 16px 0 0; font-size: 14px; }

/* chat page: the door to the MomUp app */
.momup-chat { max-width: 640px; padding-top: 28px; padding-bottom: 40px; display: grid; gap: 16px; }
.momup-door { text-align: center; padding: 34px 26px 26px; background: linear-gradient(160deg, var(--card) 0%, var(--soft) 100%); }
.momup-logo { border-radius: 18px; box-shadow: 0 10px 28px rgba(134, 112, 214, .35); }
.momup-door h1 { margin: 16px 0 8px; font-size: clamp(24px, 4vw, 30px); }
.momup-door .lede { margin: 0 auto 22px; max-width: 46ch; color: var(--muted); }
.momup-actions { display: grid; gap: 10px; max-width: 380px; margin: 0 auto; }
.momup-actions .btn { display: flex; justify-content: center; gap: 8px; text-decoration: none; padding: 15px 18px; font-size: 16px; }
.momup-main { box-shadow: 0 8px 22px rgba(115, 93, 201, .3); }
.momup-new { margin: 18px 0 6px; font-weight: 600; }
.momup-new a { font-weight: 700; }
.momup-door .small { margin: 0 auto; max-width: 46ch; font-size: 13px; }
.momup-wa { text-align: center; }
.momup-wa h2 { margin: 0 0 12px; font-size: 16px; font-weight: 600; color: var(--muted); }
.momup-actions .btn { align-items: center; }
.momup-actions .btn svg { flex: none; width: 20px; height: 20px; }
.momup-wa .btn.wa { display: flex; justify-content: center; width: 100%; max-width: 380px; margin: 0 auto; padding: 14px 18px; line-height: 1.3; text-align: left; }

/* phones: logo and language buttons on one line (the tab bar replaces the header links; Instagram is under Contact) */
@media (max-width: 560px) {
  .top .wrap { flex-wrap: nowrap; align-items: center; padding-top: 12px; padding-bottom: 12px; gap: 8px; }
  .brand { font-size: 19px; gap: 7px; white-space: nowrap; }
  .brand .logo { width: 30px; height: 30px; }
  .lang button { padding: 7px 9px; font-size: 12px; }
  .has-tabs .top .insta { display: none; }
}
@media (max-width: 350px) { .brand { font-size: 17px; } .lang button { padding: 6px 7px; } }
