/* Rotaract Events: every stylesheet, in cascade order. Each file sits next to what it styles (components/, screens/); the looks
   several of them share are in styles/. The order matters (at equal specificity the later rule wins), so a new file goes
   at the end or right after the file it builds on. *//* Tokens (light and dark), the reset, the page frame and the shared keyframes. */
:root {
  --bg: #f5f4f7;
  --surface: #ffffff;
  --surface-2: #f0eef3;
  --text: #1f1c26;
  --muted: #5f5a6a;
  --line: #dedae5;
  --accent: #d41367;
  --accent-hover: #b50f57;
  --on-accent: #fff;
  --azure: #0067c8;
  --danger: #b42318;
  --today: #fff4f8;
  --shadow: 0 1px 2px rgba(31, 28, 38, 0.05), 0 4px 14px -6px rgba(31, 28, 38, 0.1);
  --frost-1: blur(2.5px) saturate(1.3);
  --frost-2: blur(6px) saturate(1.3);
  --frost-3: blur(14px) saturate(1.3); /* frost levels: 1 veil on a card or colour block, 2 pane on the wash, 3 chrome bars, sheet, captions on pictures */
  --pane: color-mix(in srgb, var(--surface) 70%, transparent);
  --bar: color-mix(in srgb, var(--surface) 82%, transparent);
  --glass-line: rgba(255, 255, 255, 0.8);
  --glass-hi: rgba(255, 255, 255, 0.6);
  --h-btn: 40px;
  --h-chip: 30px;
  --r-chip: 8px; /* the four controls: button (pill, 40px), segmented bar (pill, 40px), chip (8px corners, 30px, always clickable), status (icon + text, no box) */
  color-scheme: only light; /* "only": no forced darkening by the browser on top of the app's own themes */
}
:root[data-theme="dark"] {
  --bg: #17151c;
  --surface: #211e28;
  --surface-2: #2a2733;
  --text: #efecf3;
  --muted: #aaa4b5;
  --line: #37333f;
  --accent: #ff5c9d;
  --accent-hover: #ff7bb0;
  --on-accent: #1f1c26;
  --azure: #5aa9ff;
  --danger: #ff8a80;
  --today: #2f2230;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 6px 18px -6px rgba(0, 0, 0, 0.5);
  --glass-line: rgba(255, 255, 255, 0.18);
  --glass-hi: rgba(255, 255, 255, 0.1);
  color-scheme: only dark;
}
/* frost fallbacks: more solid panes without backdrop-filter; solid and unblurred on request (the media query comes last so it wins) */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root {
    --pane: color-mix(in srgb, var(--surface) 88%, transparent);
    --bar: color-mix(in srgb, var(--surface) 94%, transparent);
  }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  :root {
    --frost-1: none;
    --frost-2: none;
    --frost-3: none;
    --pane: var(--surface);
    --bar: var(--surface);
  }
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
/* the page itself scrolls, under the top bar and the tabs that float on it, so its scroll indicator runs over both. On a touch
   screen it is only a hint that flashes while scrolling: none there. A mouse keeps the scrollbar it can drag. */
@media (pointer: coarse) {
  html {
    scrollbar-width: none;
  }
  html::-webkit-scrollbar {
    display: none;
  }
}
/* the full-bleed pieces (the compact head, section headings) are 100vw wide. Samsung Internet ignores html's overflow-x and widens the
   page to fit anything that pokes out; wider page, wider vw, wider bleed: the page grows until it is several screens wide. clip on body
   (not propagated to the viewport, unlike html's) keeps that overflow out of the page width, and unlike hidden it leaves sticky working. */
body {
  overflow-x: clip;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px / 1.5 system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
}
a {
  color: var(--accent);
}
button {
  font: inherit;
  cursor: pointer;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 16px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--accent);
  color: var(--on-accent);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 20;
}
.skip:focus {
  left: 8px;
}
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    /* biome-ignore lint/complexity/noImportantStyles: reduced motion has to beat every animation, whatever its selector */
    animation-duration: 0.01ms !important;
    /* biome-ignore lint/complexity/noImportantStyles: as above, for transitions */
    transition-duration: 0.01ms !important;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

/* React SPA: the app renders into #root, which draws no box of its own, so header#top, #frost, main, nav#tabs and the sheets
   stay children of body for every rule above (body.calpage's flex column, the sticky #frost at the top of the body) */
#root {
  display: contents;
}
/* frosted glass, used wherever a pane sits on colour or picture */
.glass {
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: var(--frost-1);
  -webkit-backdrop-filter: var(--frost-1);
  border: 1px solid var(--glass-line);
  box-shadow:
    inset 0 1px 0 var(--glass-hi),
    0 6px 14px -8px rgba(31, 28, 38, 0.35);
}
:root[data-theme="dark"] .glass {
  background: rgba(255, 255, 255, 0.1);
}
/* header */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding-top: env(safe-area-inset-top);
  position: sticky;
  top: 0;
  z-index: 1100;
}
.bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 60px;
}
.bar .lft,
.bar .rgt {
  display: flex;
  align-items: center;
  gap: 6px;
}
.bar .rgt {
  gap: 2px;
} /* four labelled buttons fit a 375px phone in German */
.bar .rgt .x {
  display: flex;
  gap: 6px;
}
.hbtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 40px;
  padding: 3px 5px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.12s,
    color 0.15s,
    background 0.15s;
  min-height: 40px;
}
/* icons alone where the labels don't fit: phones under 360px, and up to 400px once developer mode adds its button to a bar that
   already has the back button or a screen's own (About's share) */
@media (max-width: 359px) {
  .hbtn span {
    display: none;
  }
}
@media (max-width: 400px) {
  .bar .rgt:has(> :nth-child(5)) .hbtn span,
  .bar:has(.lft > :nth-child(2)) .rgt:has(> :nth-child(4)) .hbtn span {
    display: none;
  }
}
.hbtn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hbtn:hover {
  color: var(--accent);
}
.hbtn:active {
  transform: scale(0.94);
}
.hbtn.on {
  color: var(--accent-hover);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.brand img,
.brand .wl svg {
  height: 30px;
  width: auto;
  display: block;
}
/* the dark theme draws the logo itself, white (Chrome.tsx WHITE_LOGO); the red file is the light theme's */
.brand .wl {
  display: none;
  color: #fff;
}
:root[data-theme="dark"] .brand img {
  display: none;
}
:root[data-theme="dark"] .brand .wl {
  display: block;
}
.brand span {
  display: none;
}
.actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.icon-btn {
  background: none;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
  transition:
    transform 0.12s,
    border-color 0.15s,
    color 0.15s;
}
.icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.icon-btn:active {
  transform: scale(0.95);
}
.icon-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lang {
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface);
  color: var(--text);
  padding: 5px 8px;
}
.banner {
  background: #fff4d6;
  color: #6b4a00;
  border-bottom: 1px solid #f2d78a;
  font-size: 0.76rem;
  line-height: 1.3;
  padding: 4px 16px;
  text-align: center;
}
:root[data-theme="dark"] .banner {
  background: #3a2e10;
  color: #ffd98a;
  border-color: #5a4718;
}
/* bottom tabs: home · discover · calendar */
body {
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
}
.tabs-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100; /* above the map's controls (Leaflet goes up to 1000) */
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
  background: var(--bar);
  backdrop-filter: var(--frost-3);
  -webkit-backdrop-filter: var(--frost-3);
  border-top: 1px solid var(--line);
}
.tab {
  flex: 1;
  max-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 4px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  transition:
    transform 0.12s,
    color 0.15s,
    background 0.15s;
}
.tab svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tab.on {
  color: var(--accent-hover);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}
.tab:active {
  transform: scale(0.94);
}
/* home: personal overview on a wash of the chosen clubs' colours */
body.wash::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      300px 240px at 10% 0%,
      color-mix(in srgb, var(--c1) 65%, transparent) 0%,
      color-mix(in srgb, var(--c1) 14%, transparent) 55%,
      transparent 70%
    ),
    radial-gradient(260px 200px at 100% 180px, color-mix(in srgb, var(--c2) 55%, transparent) 0%, transparent 65%),
    radial-gradient(320px 260px at 40% 85%, color-mix(in srgb, var(--c3) 45%, transparent) 0%, transparent 65%),
    var(--bg);
}
body.wash .glass,
body.wash .event {
  background: var(--pane);
  backdrop-filter: var(--frost-2);
  -webkit-backdrop-filter: var(--frost-2);
}
body.wash .event {
  border: 1px solid var(--glass-line);
}
.hello {
  padding: 10px 0 8px;
}
.hello h1 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.hello .sub {
  margin: 2px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}
.home .fact {
  margin: 6px 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted);
} /* the line of the day, in the greeting and in explore mode */
.explore .fact {
  margin-top: 10px;
}
.hello .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.news {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 0.8rem;
  margin: 8px 0;
  text-decoration: none;
  color: var(--text);
}
.news b {
  color: var(--accent);
}
.news svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  margin-left: auto;
  flex: 0 0 auto;
  transform: scaleX(-1);
}
.panes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.pane {
  padding: 9px 11px;
  font-size: 0.8rem;
  border-radius: 16px;
  min-width: 0;
}
.pane .k {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 800;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}
.pane .k svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.pane .r {
  display: grid;
  grid-template-columns: 7px 1fr auto auto;
  gap: 5px;
  align-items: center;
  padding: 5px 0;
  border-top: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
  text-decoration: none;
  color: var(--text);
}
.pane .r:nth-child(2) {
  border: 0;
}
.pane .r i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c);
}
.pane .r span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.pane .r b {
  font-size: 0.7rem;
  color: var(--muted);
  white-space: nowrap;
}
.pane .r.soon b {
  color: var(--danger);
}
.pane .m {
  margin: 4px 0 0;
  color: var(--muted);
}
/* home banner */
.home {
  margin: 6px 0 0;
}
.explore {
  border-radius: 16px;
  padding: 14px 16px;
  margin-top: 14px;
  background: linear-gradient(135deg, color-mix(in srgb, #d41367 10%, var(--surface)), var(--surface));
}
.explore .k {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 800;
}
.explore p {
  margin: 4px 0 0;
}
.explore .links {
  margin-top: 10px;
}
.list-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin: 12px 2px 6px;
}
.list-head.sh {
  margin: 10px calc(50% - 50vw) 4px;
  padding: 3px calc(50vw - 50% + 2px) 2px;
}
.list-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}
.list-head .summary {
  margin: 0;
  font-size: 0.78rem;
}
.seg.views {
  display: flex;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 6px;
}
.filters .seg.views {
  margin: 10px 0 0;
}
.seg.views::-webkit-scrollbar {
  display: none;
}
.seg.views button {
  flex: 1 1 auto;
  font-size: 0.8rem;
  padding: 0 8px;
  white-space: nowrap;
}
#results > h3:first-child {
  margin-top: 8px;
}
.seg.views button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--on-accent);
}
/* filters */
.filters {
  padding: 16px 0 4px;
}
.top {
  display: flex;
  gap: 8px;
}
.search {
  position: relative;
  flex: 1;
}
.search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2;
}
.search input {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  height: var(--h-btn);
  padding: 0 14px 0 42px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}
.fbtn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 99px;
  min-height: var(--h-btn);
  padding: 0 16px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}
.fbtn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.fbtn .n {
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 99px;
  font-size: 0.75rem;
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
}
.fbtn .n[hidden] {
  display: none;
}
.fbtn[aria-expanded="true"] {
  border-color: var(--accent);
  color: var(--accent);
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 12px 12px;
  margin-top: 10px;
}
.panel[hidden] {
  display: none;
}
.row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  align-items: center;
}
.row::-webkit-scrollbar {
  display: none;
}
.panel .row {
  padding: 8px 0 2px;
}
#clubs,
#districts {
  flex-wrap: wrap;
}
a.fbtn,
.fbtn.ic {
  padding: 0;
  width: var(--h-btn);
  justify-content: center;
} /* icon only: a round button */
.rowlabel {
  flex: 0 0 auto;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-right: 2px;
}
.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: var(--h-chip);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--r-chip);
  padding: 0 10px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition:
    transform 0.12s,
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.chip:hover {
  border-color: var(--muted);
}
.chip:active {
  transform: scale(0.95);
}
.chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.chip.district[aria-pressed="true"] {
  background: var(--azure);
  border-color: var(--azure);
  color: var(--on-accent);
}
.chip .dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--c);
  flex: 0 0 auto;
}
.chip img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.chip svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chip small {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.72rem;
}
.chip[aria-pressed="true"]::before {
  content: "✓";
  font-weight: 800;
} /* a selected chip is filled and checked */
.chip.club {
  border-color: color-mix(in srgb, var(--c) 35%, var(--surface));
}
a.chip:hover {
  border-color: var(--c, var(--muted));
}
.chip.main {
  outline: 1.5px solid var(--c);
}
.chip.club[aria-pressed="true"] {
  background: var(--c);
  border-color: var(--c);
  color: var(--on-c);
  box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--c) 70%, transparent);
}
.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
}
.tools select,
.tools input {
  font: inherit;
  font-size: 0.92rem;
  height: var(--h-btn);
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface);
  color: var(--text);
}
.tools input {
  width: 170px;
}
.hint {
  font-size: 0.8rem;
  color: var(--muted);
  width: 100%;
}
.seg {
  display: inline-flex;
  min-height: var(--h-btn);
  border: 1px solid var(--line);
  border-radius: 99px;
  overflow: hidden;
  background: var(--surface);
}
.seg[hidden] {
  display: none;
}
.seg button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background: none;
  border: 0;
  padding: 0 14px;
  font-size: 0.88rem;
  font-weight: 600;
  transition:
    transform 0.12s,
    background 0.15s;
}
/* never wider than its place, whatever the font: the options share what there is, tighter on the narrowest phones */
.seg {
  max-width: 100%;
}
.seg button {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
}
@media (max-width: 359px) {
  .seg button {
    padding: 0 8px;
  }
}
.seg button + button {
  border-left: 1px solid var(--line);
}
.seg button[aria-pressed="true"],
.seg button[aria-selected="true"] {
  background: var(--accent);
  color: var(--on-accent);
}
.seg button:active {
  transform: scale(0.96);
}
.seg button:focus-visible {
  outline-offset: -2px;
}
.seg button[aria-pressed="true"]:focus-visible,
.seg button[aria-selected="true"]:focus-visible {
  outline-color: var(--on-accent);
}
/* the small links under the install steps (an app already installed, another device): one a line */
#installBody > a.meta {
  display: block;
  margin-top: 8px;
}
#installBody .seg {
  margin: 10px 0 4px;
}
.seg button svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -2px;
  margin-right: 5px;
}
.summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 14px 2px 8px;
}
.summary .r {
  display: flex;
  align-items: center;
  gap: 12px;
}
.summary .clear {
  background: none;
  border: 0;
  color: var(--accent);
  padding: 0;
  font-weight: 600;
}
h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 22px 2px 8px;
}
@media (max-width: 600px) {
  .tools input {
    width: 100%;
  }
}
/* the hero (event head, club hero) sticks under the top bar and compacts as you scroll; useMorphHead() sets --m from 0 to 1 (position: sticky sits in the two hero rules, so their own position wins) */
.sent {
  display: block;
  height: 0;
}
.morph {
  z-index: 5;
  overflow-anchor: none; /* its title moves up 80px as it compacts: anchored to it, the browser scrolls back up, the head expands, and round it goes */
  transition: --m 0.3s ease;
}
@property --m {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
} /* registered so the transition can interpolate it */
/* the primary button of a morphing head: a labelled pill at rest (left, below the text, at --bt), the icon alone at the right once stuck;
   the two heads set left (their own padding) and the colours */
.morph .go {
  position: absolute;
  top: calc(var(--bt, 120px) * (1 - var(--m)) + 15px * var(--m));
  height: calc(var(--h-btn) - 6px * var(--m));
  padding: 0 calc(16px - 7px * var(--m));
  min-width: calc(var(--gw, 0px) * (1 - var(--m)));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(6px * (1 - var(--m)));
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  z-index: 1;
}
.morph .go span {
  max-width: calc(200px * (1 - var(--m)));
  overflow: hidden;
  opacity: calc(1 - var(--m) * 1.5);
}
.morph .go svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
/* month and section headings stick under what is above them: the top bar (its 3 + 60 + 1 px and the notch), or the compact hero while
   useMorphHead() sets --stick. Registered as a length so stickyHeads() reads it in px, env() resolved. */
@property --stick {
  syntax: "<length>";
  inherits: true;
  initial-value: 64px;
}
:root {
  --stick: calc(64px + env(safe-area-inset-top));
  --stick2: var(--stick);
}
.sh {
  position: sticky;
  top: var(--stick2);
  z-index: 3;
  margin: 10px calc(50% - 50vw) 2px;
  padding: 4px calc(50vw - 50% + 2px) 3px;
  transform: translateY(var(--ty, 0px));
  clip-path: inset(max(0px, calc(-1 * var(--ty, 0px))) 0 0 0);
}
.sh.lv1 {
  top: var(--stick);
  z-index: 4;
}
/* the frost behind the stack: one bar, sized by stickyHeads() (--fh); it fades in with the first stuck heading and grows with the stack.
   A zero-height sticky element at the top of the body, so it moves with the page in the rubber-band at the end, as the headings do. */
#frost {
  position: sticky;
  top: calc(var(--stick) - 1px);
  height: 0;
  z-index: 2;
  pointer-events: none;
}
#frost::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--fh, 1px);
  background: var(--bar);
  backdrop-filter: var(--frost-3);
  -webkit-backdrop-filter: var(--frost-3);
  opacity: 0;
  transition:
    height 0.2s,
    opacity 0.2s;
}
#frost.on::before {
  opacity: 1;
} /* at rest the strip is invisible: on hero pages it would otherwise draw a hairline across the hero */
#frost.now::before {
  transition:
    height 0.12s,
    opacity 0.12s;
}
/* skeletons */
.skel {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 12px;
  margin-bottom: 10px;
}
.skel .b {
  background: linear-gradient(90deg, var(--surface-2) 25%, var(--line) 50%, var(--surface-2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
  border-radius: 8px;
}
.skel .d {
  height: 54px;
}
.skel .t {
  height: 18px;
  width: 70%;
  margin-bottom: 8px;
}
.skel .m {
  height: 12px;
  width: 50%;
  margin-bottom: 6px;
}
.skel .s {
  width: 35%;
}

/* event card: colour wash into the club colour, the crest under a frosted date pane, one meta line, picture, star. The whole card
   opens the event: its link (.open) is stretched over it, and only the chips and the star sit above that link. */
.event {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  align-items: start;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(110deg, color-mix(in srgb, var(--c) 14%, var(--surface)), var(--surface) 46%);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 12px;
  margin-bottom: 10px;
  animation: rise 0.35s ease-out both;
  animation-delay: calc(var(--i, 0) * 35ms);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.event:hover {
  transform: translateY(-1px);
  box-shadow:
    0 2px 4px rgba(31, 28, 38, 0.06),
    0 12px 24px -10px color-mix(in srgb, var(--c) 45%, transparent);
}
.event > * {
  position: relative;
}
.event > .open {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.event > .open:focus-visible {
  outline-offset: -3px; /* the card clips what is outside it */
}
.event .chip,
.event .star {
  z-index: 2;
}
.event .wm,
.evdetail .wm {
  position: absolute;
  left: -12px;
  bottom: -24px;
  width: 100px;
  height: 100px;
  object-fit: contain;
  opacity: 0.28;
  transform: rotate(-10deg);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 55%, transparent), linear-gradient(90deg, #000 40%, transparent 92%);
  mask-image: linear-gradient(#000 55%, transparent), linear-gradient(90deg, #000 40%, transparent 92%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
@media (max-width: 400px) {
  .event .wm {
    width: 84px;
    height: 84px;
    left: -14px;
  }
}
.event .date,
.evdetail .date {
  text-align: center;
  border-radius: 10px;
  padding: 6px 0;
  min-width: 54px;
  height: fit-content;
  color: color-mix(in srgb, var(--c) 80%, #000);
  position: relative;
  box-shadow:
    inset 0 1px 0 var(--glass-hi),
    0 6px 14px -8px color-mix(in srgb, var(--c) 80%, #000);
}
.event .date::after,
.evdetail .date::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 55%);
  pointer-events: none;
}
.event .date.glass {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
} /* the veil stays; one filter per card is enough on long lists */
:root[data-theme="dark"] .event .date,
:root[data-theme="dark"] .evdetail .date {
  color: #fff;
}
.event .date b,
.evdetail .date b {
  display: block;
  font-size: 1.35rem;
  line-height: 1.05;
}
.event .date span,
.evdetail .date span {
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c);
}
:root[data-theme="dark"] .event .date span {
  color: #fff;
  opacity: 0.85;
}
.event .body {
  min-width: 0;
}
.event h4 {
  margin: 0 0 3px;
  font-size: 1.04rem;
  line-height: 1.28;
  font-weight: 650;
}
.meta {
  color: var(--muted);
  font-size: 0.86rem;
}
.event .meta {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-top: 6px;
}
/* status: icon (or dot) and coloured text. No box, so it can't be taken for a button. */
.st {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.st svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.st i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.st.soon,
.st.bad {
  color: var(--danger);
}
.st.new {
  color: var(--accent);
}
.side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.thumb {
  width: 84px;
  height: 62px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--surface-2);
  display: block;
}
.star {
  background: none;
  border: 0;
  padding: 2px;
  color: var(--muted);
  line-height: 1;
  transition: transform 0.12s;
}
.star svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.star[aria-pressed="true"] {
  color: #e8a317;
}
.star[aria-pressed="true"] svg {
  fill: currentColor;
}
.star:active {
  transform: scale(1.3);
}
.cancelled h4 {
  text-decoration: line-through;
  color: var(--muted);
}
.empty {
  text-align: center;
  color: var(--muted);
  padding: 36px 12px;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.empty .linkbtn {
  margin-top: 10px;
  background: var(--surface-2);
}
/* 40px tap targets without changing the visual size: an invisible extender around small controls */
.star,
.chip,
.summary .clear,
.toast button,
.calwrap .mhead > button {
  position: relative;
}
.star::after,
.chip::after,
.summary .clear::after,
.toast button::after,
.calwrap .mhead > button::after {
  content: "";
  position: absolute;
  inset: -7px;
}
.chip::after {
  inset: -4px 0 -2px;
}
.summary .clear::after {
  inset: -5px -8px;
}
.calwrap .mhead > button::after {
  inset: -2px -6px;
} /* chip: 2px below is all the scrolling .row has */
@media (max-width: 600px) {
  .event {
    grid-template-columns: 50px 1fr auto;
    gap: 10px;
  }
  .thumb {
    width: 72px;
    height: 56px;
  }
}
/* calendar page: the grid fills the viewport between the bars; a frosted sheet shows the selected day */
.calpage {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
}
.calwrap {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  max-width: 1000px;
  margin: 0 auto;
}
.calwrap .mhead {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.calwrap .mhead h2 {
  margin: 0 auto 0 4px;
  font-size: 1.05rem;
}
.calwrap .mhead > button {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 99px;
  min-height: var(--h-btn);
  min-width: var(--h-btn);
  padding: 0 12px;
  font-size: 0.88rem;
  font-weight: 600;
}
.calwrap .mhead h2 {
  font-size: 0.98rem;
  line-height: 1.15;
}
.calwrap .seg.scope {
  flex: 0 0 auto;
}
.calwrap .mhead > button {
  flex: 0 0 auto;
  white-space: nowrap;
}
@media (max-width: 400px) {
  .calwrap .mhead {
    flex-wrap: wrap;
  }
  .calwrap .seg.scope {
    order: 9;
    width: 100%;
  }
  .calwrap .seg.scope button {
    flex: 1;
  }
} /* narrow phones: the scope bar gets its own row */
.calwrap .seg.scope button {
  padding: 0 9px;
  font-size: 0.78rem;
  white-space: nowrap;
}
.calwrap .grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: auto repeat(var(--rows, 5), 1fr);
  gap: 3px;
  min-height: 0;
}
.calwrap .day {
  min-height: 0;
}
.calwrap .day .ch {
  font-size: 0.6rem;
}
/* the sheet ends where the bottom tabs begin: under them its last card (or its only one) could not be reached */
/* a modal <dialog>: the browser's own box and backdrop are reset, the dialog itself is the dim area */
dialog.sheet {
  position: fixed;
  inset: 0 0 var(--tabs, calc(64px + env(safe-area-inset-bottom))) 0;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--text);
  background: rgba(20, 16, 30, 0.35);
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.25s;
}
dialog.sheet:not([open]) {
  display: none;
}
dialog.sheet::backdrop {
  background: none;
}
.sheet.open {
  opacity: 1;
}
.sheet-head h3:focus {
  outline: none;
} /* focused on open so a screen reader starts at the day; no ring on a heading */
.sheet-in {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  max-height: 78vh;
  border-radius: 22px 22px 0 0;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: var(--frost-3);
  -webkit-backdrop-filter: var(--frost-3);
  display: flex;
  flex-direction: column;
  transform: translateY(24px);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sheet.open .sheet-in {
  transform: none;
}
@starting-style {
  .sheet.open {
    opacity: 0;
  }
  .sheet.open .sheet-in {
    transform: translateY(24px);
  }
} /* the slide in, from where it is shown */
.sheet .handle {
  display: grid;
  place-items: center;
  padding: 8px 0 2px;
}
.sheet .handle i {
  width: 40px;
  height: 5px;
  border-radius: 99px;
  background: var(--line);
}
.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 16px 8px;
}
.sheet-head h3 {
  margin: 0;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
}
.sheet-body {
  overflow: auto;
  padding: 0 16px 16px;
}

/* month grid (shared by the calendar page) */
.month {
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 12px;
}
.mhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.mhead h2 {
  margin: 0;
  font-size: 1.05rem;
}
.mhead button {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 99px;
  min-height: var(--h-btn);
  min-width: var(--h-btn);
  padding: 0 12px;
  font-size: 0.88rem;
  font-weight: 600;
}
.grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.dow {
  text-align: center;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 4px 0;
}
.day {
  min-height: 100px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
  background: var(--surface);
  text-align: left;
  font: inherit;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}
.day.other {
  background: none;
}
.day.other .n {
  font-weight: 400;
}
.day.today {
  background: var(--today);
  border-color: var(--accent);
}
.day[aria-pressed="true"] {
  outline: 2px solid var(--azure);
  outline-offset: -2px;
}
.day .n {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}
.day.today .n {
  color: var(--accent);
}
.ch {
  position: relative;
  overflow: hidden;
  display: block;
  font-size: 0.74rem;
  line-height: 1.25;
  font-weight: 700;
  background: color-mix(in srgb, var(--c) 16%, var(--surface));
  color: color-mix(in srgb, var(--c) 70%, #000);
  border-radius: 5px;
  padding: 3px 6px;
  text-align: left;
}
:root[data-theme="dark"] .ch {
  color: color-mix(in srgb, var(--c) 35%, #fff);
  background: color-mix(in srgb, var(--c) 30%, var(--surface));
}
.ch::before {
  content: "";
  position: absolute;
  right: -2px;
  bottom: -8px;
  width: 44%;
  aspect-ratio: 1;
  background: var(--crest) center / contain no-repeat;
  opacity: 0.2;
  transform: rotate(-8deg);
  pointer-events: none;
}
.ch i {
  position: relative;
  font-style: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  hyphens: auto;
}
.more {
  font-size: 0.68rem;
  color: var(--muted);
}
.ch[hidden],
.more[hidden] {
  display: none;
}
/* on a phone an event is its title on the club's tint, the crest behind it, cut at the edge (no "…"), with the least padding everywhere.
   fit() in calendar.js gives each day as many title lines per event (--l: 3, 2 or 1) as still let all its events fit */
@media (max-width: 600px) {
  .calwrap {
    padding: 6px 3px;
  }
  .grid {
    gap: 2px;
  }
  .day {
    padding: 2px;
    gap: 1px;
    border-radius: 6px;
  }
  .day .n {
    font-size: 0.7rem;
    padding-left: 2px;
  }
  .day .ch {
    flex: 0 0 auto;
    font-size: 0.6rem;
    line-height: 1.2;
    padding: 1px 2px;
    border-radius: 3px;
  }
  .day .ch i {
    display: block;
    max-height: calc(var(--l, 1) * 1.2em);
  }
  .day .more {
    font-size: 0.56rem;
    line-height: 1;
    padding-left: 2px;
  }
}
/* really small phones (iPhone 5 size): no room for words, so one round mark per event with the club's crest on its tint */
@media (max-width: 352px) {
  .day {
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 2px;
  }
  .day .n {
    width: 100%;
  }
  .day .ch {
    width: 16px;
    height: 16px;
    padding: 0;
    border-radius: 50%;
  }
  .day .ch i {
    display: none;
  }
  .day .ch::before {
    inset: 3px;
    width: auto;
    opacity: 1;
    transform: none;
  }
  .day .more {
    line-height: 16px;
    padding: 0;
  }
}
/* sections, feeds, dialogs, toast */
section.card {
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px;
  margin-top: 28px;
}
section.card h2 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}
section.card > p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
}
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.links.center {
  justify-content: center;
}
.links a,
.links button,
.linkbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--h-btn);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.2;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0 16px;
  color: var(--text);
  background: var(--surface);
  transition:
    transform 0.12s,
    background 0.15s,
    border-color 0.15s;
}
.links a:hover,
.links button:hover,
.linkbtn:hover {
  border-color: var(--muted);
}
.links a:active,
.links button:active,
.linkbtn:active {
  transform: scale(0.96);
}
.links .primary,
.linkbtn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.links .primary:hover,
.linkbtn.primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.ph {
  flex: 0 0 auto;
} /* holds the place (width and height) of the button that lives in the sticky head */
.links svg,
.linkbtn svg,
.clubpage .btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
footer {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 20px 0 12px;
  text-align: center;
}
#foot {
  margin-top: 28px;
  text-align: center;
}
#foot .meta {
  font-size: 0.78rem;
}
footer a {
  color: var(--muted);
}
/* link card: icon, title, one line, chevron; it lifts on hover and presses in, so it reads as a button */
a.more {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1rem;
  border-radius: 16px;
  padding: 12px 12px 12px 14px;
  text-decoration: none;
  margin-top: 10px;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
a.more:hover {
  border-color: var(--p);
  transform: translateY(-1px);
}
a.more:active {
  transform: scale(0.98);
}
a.more .tx {
  flex: 1;
  min-width: 0;
}
a.more b {
  display: block;
  line-height: 1.25;
}
a.more span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.3;
  margin-top: 2px;
}
a.more .chev {
  width: 20px;
  height: 20px;
  stroke: var(--p);
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: scaleX(-1);
  flex: 0 0 auto;
}
a.more .ic {
  margin: 0;
  flex: 0 0 auto;
}
.feeds {
  display: grid;
  gap: 6px;
}
.feeds h3 {
  margin: 12px 2px 4px;
}
.feed {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  border-radius: 12px;
  padding: 8px 8px 8px 12px;
}
.feed .name {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
}
.feed .name img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 auto;
}
.feed .name a {
  color: inherit;
  text-decoration: none;
}
.feed .nm {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.25;
}
.feed .nm small {
  font-weight: 400;
  font-size: 0.78rem;
}
.subbtn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 99px;
  background: var(--azure);
  color: #fff;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
}
.subbtn svg,
.way svg,
.facts2 svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.subbtn:active,
.way:active {
  transform: scale(0.97);
}
.how {
  display: grid;
  gap: 8px;
}
.how details {
  background: var(--surface-2);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0;
}
.how summary {
  font-weight: 600;
  color: var(--text);
}
.how ol {
  margin: 8px 0 0;
  padding-left: 20px;
}
.how li {
  margin: 4px 0;
}
.steps {
  margin: 8px 0 0;
  padding-left: 20px;
}
.steps li {
  margin: 4px 0;
}
.linkbox {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.linkbox input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 0.9rem;
  height: var(--h-btn);
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface-2);
  color: var(--text);
}
.linkbox button {
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface);
  padding: 0 16px;
  font-size: 0.88rem;
  font-weight: 600;
}
dialog.ob {
  border: 0;
  border-radius: 20px;
  padding: 0;
  width: min(460px, calc(100% - 32px));
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5);
}
dialog.ob[open] {
  animation: pop 0.25s ease-out;
}
dialog.ob::backdrop {
  background: rgba(20, 16, 30, 0.55);
  animation: fade 0.25s ease-out;
}
.ob-in {
  padding: 20px 20px 16px;
  max-height: calc(100dvh - 24px);
  overflow: auto;
}
.ob .choice {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}
.ob .btn.big {
  width: 100%;
}
.ob .btn.big.alt {
  background: var(--surface-2);
  color: var(--text);
}
.ob .bar2 {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.ob .bar2 i {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: var(--line);
}
.ob .bar2 i.on {
  background: var(--accent);
}
.obhead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
}
.ob .obhead h2 {
  margin: 0;
  flex: 1;
  min-width: 0;
}
.obback {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: -4px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
}
.obback:hover {
  border-color: var(--muted);
}
.obback:active {
  transform: scale(0.94);
}
.obback svg,
.ob .btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.ob .btn.quiet {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line);
}
.ob .btn.quiet:hover {
  background: var(--surface-2);
  border-color: var(--muted);
}
.ob h2 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}
.ob h2:focus,
.hat [aria-live]:focus {
  outline: 0;
}
.ob p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
}
dialog.ob.full {
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  border-radius: 0;
}
.full .ob-in {
  height: 100%;
  max-height: none;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 22px 22px calc(18px + env(safe-area-inset-bottom));
}
.full .nav {
  margin-top: auto;
  padding-top: 16px;
}
.slide {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 0;
}
.slide img {
  width: 100%;
  height: min(36vh, 300px);
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: block;
}
.slide h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 9vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--p);
}
.slide p {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.4;
}
.slide .pill {
  display: grid;
  gap: 8px;
}
.slide .pill b {
  color: var(--p);
}
.ob h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin: 14px 0 6px;
}
.ob .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ob .nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.ob .nav .btn {
  margin-left: auto;
}
.ob .btn {
  min-height: var(--h-btn);
  background: var(--accent);
  color: var(--on-accent);
  border: 0;
  border-radius: 99px;
  padding: 0 18px;
  font-size: 0.88rem;
  font-weight: 600;
  transition:
    transform 0.12s,
    background 0.15s;
}
/* a link that looks like the button (Open the app): a block box, so the height and width apply, its text centred, no underline */
.ob a.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.ob .btn:hover {
  background: var(--accent-hover);
}
.ob .btn:active,
.cta .go:active {
  transform: scale(0.96);
}
.ob .skip {
  position: static;
  background: none;
  border: 0;
  color: var(--muted);
  font-weight: 600;
  padding: 10px 12px 10px 0;
}
/* installed: the way back to the website is there for who looks for it, no more */
.ob .skip.faint {
  display: block;
  margin-top: 28px;
  font-size: 0.75rem;
  font-weight: 400;
}
.ob .feeds {
  gap: 8px;
}
.ob .lang {
  margin: 2px 0 6px;
}
.ob .credit {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
}
/* every popup: back top left, close top right */
.obx {
  margin: 0 -4px 0 0;
}
/* installed from Samsung Internet: no panel, the page dimmed, an arrow up to the app's icon in the address bar (Onboarding ToIcon) */
dialog.ob.point {
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  border-radius: 0;
  /* the dimming on the dialog itself: the backdrop keeps the lighter look it opened with */
  background: rgba(20, 16, 30, 0.94);
  box-shadow: none;
  color: #fff;
}
.point .ob-in {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  max-height: none;
  padding: 24px 28px calc(48px + env(safe-area-inset-bottom));
  text-align: center;
}
.point .ob-in h2 {
  font-size: 1.8rem;
}
.point .ob-in p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  line-height: 1.45;
  margin: 8px auto 0;
  max-width: 22em;
}
.point .skip.faint {
  color: rgba(255, 255, 255, 0.7);
}
.toicon {
  position: absolute;
  top: 6px;
  right: 46px; /* the tip some 64px from the edge: on Samsung Internet's app icon, left of reload */
  width: min(48vw, 200px);
  height: auto;
  max-height: 52dvh;
  overflow: visible;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.toicon .glow {
  stroke: var(--accent);
  stroke-width: 18;
  opacity: 0.45;
  filter: blur(6px);
}
.toicon .line,
.toicon .head {
  stroke: #fff;
  stroke-width: 7;
}
.toicon .glow,
.toicon .line {
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  animation: draw 1.1s 0.2s ease-out forwards;
}
.toicon .head {
  opacity: 0;
  animation: show 0.3s 1.2s ease-out forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes show {
  to {
    opacity: 1;
  }
}
/* with reduced motion the animations last a hundredth of a millisecond (base.css), so the arrow is simply there */
/* the share popup: one full-width button per way to share */
.sharepop .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}
/* the QR code: square, as wide as the popup allows, white with its own margin in both themes; the space is kept while uqr loads */
.ob .qr {
  aspect-ratio: 1;
  width: min(100%, 360px);
  margin: 4px auto 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.ob .qr svg {
  display: block;
  width: 100%;
  height: 100%;
}
.ob .qrurl {
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(84px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  background: var(--text);
  color: var(--bg);
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  z-index: 1200;
}
.toast.show {
  opacity: 1;
  pointer-events: auto;
}
.toast button {
  margin-left: 10px;
  background: var(--accent);
  color: var(--on-accent);
  border: 0;
  border-radius: 99px;
  padding: 4px 10px;
  font-weight: 600;
}
/* Easter eggs (components/Festive): a few dozen boxes, transform and opacity only, played once. Above the page, below the bars. */
.fest {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
}
.fest i {
  position: absolute;
  width: 8px;
  height: 12px;
  background: var(--c);
  opacity: 0;
}
.fest.zibele i {
  left: calc(var(--x) * 1%);
  top: -16px;
  border-radius: 2px;
  animation: confetti 2.6s linear calc(var(--i) * 70ms) both;
}
/* 1 August: rocket --b leaves the bottom edge at --b * .8s and climbs for .7s to (--l, --t), where its sparks then fly apart */
.fest.aug1 i {
  left: calc(var(--l) * 1%);
  top: calc(var(--t) * 1%);
  width: 4px;
  height: 12px;
  border-radius: 2px;
  animation: spark 1.1s ease-out calc(var(--b) * 0.8s + 0.7s) both;
}
.fest.aug1 i.r {
  top: 100%;
  height: 18px;
  animation: rocket 0.7s ease-out calc(var(--b) * 0.8s) both;
}
@keyframes confetti {
  0% {
    opacity: 1;
    transform: none;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(calc((var(--x) - 50) * 0.6px), 105vh, 0) rotate(calc(var(--x) * 9deg));
  }
}
@keyframes rocket {
  0% {
    opacity: 1;
    transform: none;
  }
  92% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(calc((var(--t) - 100) * 1vh));
  }
}
/* 0% is what a waiting spark looks like (fill: both), so it starts invisible */
@keyframes spark {
  0% {
    opacity: 0;
    transform: rotate(calc(var(--a) * 36deg)) translateY(-6px);
  }
  4%,
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(calc(var(--a) * 36deg)) translateY(-120px);
  }
}
/* settings page */
.settings h1 {
  font-size: 1.4rem;
  margin: 18px 0 2px;
}
.settings .lead {
  color: var(--muted);
  margin: 0 0 14px;
}
.settings section {
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 12px;
  background: var(--surface);
}
.settings h2 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 10px;
}
.setrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 4px 0;
}
.setrow[hidden] {
  display: none;
}
button.setrow {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
}
.setrow + .setrow {
  border-top: 1px solid var(--line);
}
.setrow .cur {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}
.setrow.link {
  text-decoration: none;
  color: inherit;
}
.setrow.danger span {
  color: var(--danger);
}
.linkbtn.primary.danger,
.linkbtn.primary.danger:hover {
  background: var(--danger);
  border-color: var(--danger);
}
.setrow.link:active {
  opacity: 0.6;
}
.setrow.link .chev {
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2;
  transform: scaleX(-1);
  flex: 0 0 auto;
}
.setrow > span:first-child {
  white-space: nowrap;
}
.setrow.col {
  flex-direction: column;
  align-items: stretch;
}
.setrow.col .linkbox {
  margin-top: 6px;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 8px;
}
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 6px 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  font: inherit;
  color: var(--text);
  transition:
    transform 0.12s,
    border-color 0.15s,
    background 0.15s;
}
.tile img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.tile .dot {
  width: 14px;
  height: 14px;
  border-radius: 99px;
  background: var(--c);
}
.tile b {
  font-size: 0.84rem;
}
.tile span {
  font-size: 0.66rem;
  color: var(--muted);
}
.tile:active {
  transform: scale(0.96);
}
/* event page */
.evpage {
  padding-top: 16px;
}
.evdetail {
  background: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: clip;
  background-image: linear-gradient(170deg, color-mix(in srgb, var(--c) 12%, var(--surface)), var(--surface) 40%);
  animation: rise 0.35s ease-out both;
}
.evdetail .hero {
  position: relative;
  overflow: hidden;
  height: min(56vw, 340px);
}
.evdetail .hero img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.evdetail .hero .blur {
  position: absolute;
  inset: 0;
  object-fit: cover;
  filter: blur(18px) brightness(0.85);
  transform: scale(1.25);
}
.evdetail .head {
  --m: 0;
  position: sticky;
  height: 64px;
  display: grid;
  grid-template-columns: calc(54px - var(--m) * 16px) 1fr auto;
  gap: 12px;
  align-items: start;
  padding: calc(16px - var(--m) * 8px) 16px 0;
  background: color-mix(in srgb, var(--surface) calc(min(1, var(--m) * 20) * 100%), transparent);
  box-shadow: 0 10px 18px -14px rgba(0, 0, 0, calc(var(--m) * 0.5));
}
.evdetail .head > * {
  position: relative;
} /* the .go below takes position: absolute back */
.evdetail .wm {
  position: absolute;
  top: 20px;
  opacity: calc(0.28 * (1 - var(--m)));
}
.evdetail .date {
  transform-origin: top left;
  transform: scale(calc(1 - var(--m) * 0.3));
}
.evdetail .head .tags {
  max-height: calc(34px * (1 - var(--m)));
  opacity: calc(1 - var(--m) * 1.5);
  overflow: hidden;
  margin-top: calc(6px * (1 - var(--m)));
}
.evdetail .head .star {
  opacity: calc(1 - var(--m) * 1.5);
}
.evdetail .head > div:not(.date) {
  min-width: 0;
  padding-right: calc(var(--m) * 8px);
}
.evdetail .head.on h1,
.evdetail .head.on .meta {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.evdetail .head .go {
  position: absolute;
  left: calc(16px + var(--m) * (100% - 66px));
  background: var(--accent);
  color: var(--on-accent);
}
.evdetail .head .go svg {
  width: 15px;
  height: 15px;
}
.evdetail h1 {
  margin: 0 0 4px;
  font-size: calc(1.35rem - var(--m) * 0.4rem);
  line-height: 1.25;
  max-height: calc(1.25em * (4 - var(--m) * 3));
  overflow: hidden;
}
.evdetail .links {
  flex-wrap: nowrap;
  gap: 6px;
  padding: 12px 16px 0;
  margin-top: calc(var(--bt, 76px) - 76px);
} /* the head is 64px; its content and the button at rest reach --bt - 12px */
.evdetail .desc {
  white-space: pre-line;
  padding: 2px 16px 16px;
  margin: 0;
}
.kv {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  font-size: 0.92rem;
  padding: 14px 16px 16px;
  margin: 0;
}
.kv dt {
  color: var(--muted);
}
.kv dd {
  margin: 0;
  white-space: pre-line;
}
.kv dd.soon {
  color: var(--danger);
  font-weight: 600;
}
.kv dd svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  vertical-align: -2px;
  margin-right: 4px;
}
/* the event's three buttons stay on one line down to small phones and fill it: the primary one most, the calendar icon not at all */
.evdetail .links > a,
.evdetail .links > button {
  padding: 0 12px;
  white-space: nowrap;
}
.evdetail .links > .ph {
  flex: 2 0 auto;
}
.evdetail .links > button {
  flex: 1 1 auto;
}
@media (max-width: 359px) {
  .evdetail .links {
    flex-wrap: wrap;
  }
}
/* the share popup's story page: the story pictures to choose from, two to a row; a tile shimmers until its picture is drawn */
.storygrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 6px;
  min-height: 120px;
}
.storytile {
  aspect-ratio: 9 / 16;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface-2);
  cursor: pointer;
  transition: transform 0.12s;
}
.storytile:active {
  transform: scale(0.97);
}
.storytile canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.storytile.wait {
  background: linear-gradient(90deg, var(--surface-2) 25%, var(--line) 50%, var(--surface-2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
}
.storytile.wait canvas {
  visibility: hidden;
}
/* club page: a sticky 64px header (crest, name, district, subscribe icon) over a colour block that scrolls away. At rest the header is transparent
   and its crest and name draw big, overflowing onto the block; as you scroll it compacts into its box and takes the block's colour. */
.clubpage .cstick {
  --m: 0;
  position: sticky;
  display: flow-root;
  height: 64px;
  margin: 0 -16px;
  padding: 0 18px;
  color: var(--on-c);
}
/* the colour, bled to the screen's edges once compact. Only this background is as wide as 100vw: where the browser's vw is wider than
   the page (Samsung Internet), a head that wide had its crest, name and button at its two ends, off the screen */
.clubpage .cstick::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc(var(--m) * (50% - 50vw));
  right: calc(var(--m) * (50% - 50vw));
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--c) calc(var(--m) * 100%), transparent),
    color-mix(in srgb, color-mix(in srgb, var(--c) 62%, #000) calc(var(--m) * 100%), transparent)
  );
  box-shadow: 0 10px 18px -14px rgba(0, 0, 0, calc(var(--m) * 0.6));
}
.clubpage .cstick .c {
  position: absolute;
  left: 18px;
  top: calc(24px - var(--m) * 11px);
  width: calc(56px - var(--m) * 26px);
  height: calc(56px - var(--m) * 26px);
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}
.clubpage h1 {
  margin: calc(88px - var(--m) * 80px) 0 0;
  padding: 0 calc(var(--m) * 56px) 0 calc(var(--m) * 40px);
  font-size: calc(1.6rem - var(--m) * 0.55rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  position: relative;
}
.clubpage .cstick.on h1,
.clubpage .cstick.on .sub {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.clubpage .sub {
  opacity: 0.85;
  font-size: 0.84rem;
  position: relative;
  margin-top: 2px;
  padding: 0 calc(var(--m) * 56px) 0 calc(var(--m) * 40px);
}
.clubpage .cstick .go {
  left: calc(18px + var(--m) * (100% - 70px));
  background: #fff;
  color: var(--c);
}
.clubpage .chero {
  position: relative;
  overflow: hidden;
  margin: -64px -16px 0;
  padding: var(--bt, 160px) 18px 80px;
  will-change: transform;
  background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 62%, #000));
  color: var(--on-c);
  border-radius: 0 0 28px 28px;
}
.clubpage .chero .big {
  position: absolute;
  right: -40px;
  top: -30px;
  width: 240px;
  opacity: 0.16;
  transform: rotate(8deg);
  pointer-events: none;
}
.clubpage .btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
}
.clubpage .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--h-btn);
  border-radius: 99px;
  padding: 0 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition:
    transform 0.12s,
    background 0.15s;
}
.clubpage .btn.glass {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.clubpage .btn.ic {
  width: var(--h-btn);
  height: var(--h-btn);
  padding: 0;
  justify-content: center;
}
.clubpage .btn.ic svg {
  width: 18px;
  height: 18px;
}
.clubpage .btn.glass:hover {
  background: rgba(255, 255, 255, 0.28);
}
.clubpage .btn:active,
.morph .go:active {
  transform: scale(0.95);
}
.clubpage .chero :focus-visible,
.clubpage .cstick :focus-visible {
  outline-color: var(--on-c);
}
.clubpage .nx {
  margin: -50px 4px 0;
}
.nx {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 14px;
  border-radius: 18px;
  text-decoration: none;
  color: var(--text);
  position: relative;
  animation: rise 0.4s ease-out both;
}
.nx > div {
  flex: 1;
  min-width: 0;
}
.nx .chev,
.pane .r .chev {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: scaleX(-1);
}
.pane .r .chev {
  width: 13px;
  height: 13px;
}
.nx .k {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c);
  font-weight: 800;
}
.nx .cd {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 2px 0 4px;
}
.nx h4 {
  margin: 0 0 2px;
  font-size: 1.02rem;
  line-height: 1.25;
}
.nx .m {
  font-size: 0.8rem;
  color: var(--muted);
}
:root[data-theme="dark"] .nx .k {
  color: color-mix(in srgb, var(--c) 60%, #fff);
}
.nx img {
  flex: 0 0 auto;
  width: 96px;
  height: 84px;
  object-fit: cover;
  border-radius: 12px;
}
.strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 -16px;
  padding: 0 16px 6px;
  scrollbar-width: none;
}
.strip::-webkit-scrollbar {
  display: none;
}
/* club page: "About this club" */
.aboutc {
  border-radius: 16px;
  padding: 12px 14px;
  margin-top: 12px;
}
.aboutc .k {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 800;
  color: color-mix(in srgb, var(--c) 75%, #000);
}
:root[data-theme="dark"] .aboutc .k {
  color: color-mix(in srgb, var(--c) 60%, #fff);
}
.aboutc p {
  margin: 4px 0 0;
  font-size: 0.92rem;
}
.aboutc .links {
  margin-top: 10px;
}
.aboutc .with {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
}
.aboutc .with span {
  width: 100%;
  font-size: 0.78rem;
  color: var(--muted);
}
.aboutc > .with:nth-child(2) {
  margin-top: 6px;
  padding-top: 0;
  border: 0;
}
/* news teasers: picture with the title on it */
.strip.teasers {
  gap: 10px;
}
.nw {
  position: relative;
  flex: 0 0 auto;
  width: 200px;
  height: 120px;
  border-radius: 14px;
  overflow: hidden;
  background: color-mix(in srgb, var(--c, var(--accent)) 30%, var(--surface));
  text-decoration: none;
  box-shadow: var(--shadow);
}
.nw img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nw .t {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 10px 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: #fff;
}
.nx,
.news,
.nw,
.strip.pics a {
  transition: transform 0.15s;
}
.nx:active,
.news:active,
.nw:active,
.strip.pics a:active,
.event:active {
  transform: scale(0.98);
}
.nw b {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.82rem;
  line-height: 1.25;
}
.nw span {
  font-size: 0.68rem;
  opacity: 0.85;
}

.strip.pics a {
  flex: 0 0 auto;
  display: flex;
}
.strip.pics img {
  width: 140px;
  height: 94px;
  object-fit: cover;
  border-radius: 12px;
  flex: 0 0 auto;
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 255, 255, 0.7);
}
/* about: the morph */
.about .track {
  height: 340vh;
  position: relative;
  margin: 0 -16px;
}
html:has(.about .track) {
  scroll-snap-type: y proximity;
}
.about .snap {
  position: absolute;
  left: 0;
  width: 1px;
  height: 1px;
  top: calc(var(--at) * (340vh - 100dvh));
  scroll-snap-align: start;
} /* About.tsx MIDS */
.about .stage {
  position: sticky;
  top: 63px;
  height: calc(100dvh - 63px - var(--tabs, calc(64px + env(safe-area-inset-bottom))));
  padding: 20px 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--p, #d41367) 12%, transparent), transparent 70%);
  transition: background 0.5s;
}
.about .prog {
  position: absolute;
  right: 16px;
  top: 18px;
  display: flex;
  gap: 5px;
}
.about .prog i {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--text) 28%, transparent);
  transition:
    background 0.3s,
    width 0.3s;
}
.about .prog i.on {
  background: var(--p);
  width: 18px;
}
.about .words {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about .w {
  color: var(--p);
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.about .word {
  font-size: clamp(2.2rem, 9vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.95;
  transition:
    font-size 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s;
  opacity: 0.45;
}
.about .words.closed .word {
  font-size: clamp(3rem, 13vw, 4.4rem);
  opacity: 1;
}
.about .w.on .word {
  font-size: clamp(3rem, 13vw, 4.4rem);
  opacity: 1;
}
.about .open {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.about .open > * {
  overflow: hidden;
  min-height: 0;
}
.about .w.on .open {
  grid-template-rows: 1fr;
}
.about .open .pic {
  height: 0;
  transition:
    height 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    margin 0.55s;
}
.about .w.on .open .pic {
  height: min(34vh, 260px);
  margin: 10px 0 10px;
}
.about .open .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: block;
}
.about .open p {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.4;
}
.about .hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  text-align: center;
  font-size: 0.76rem;
  color: var(--muted);
}
.about .hint i {
  display: block;
  font-style: normal;
  animation: bob 1.4s infinite;
}
@keyframes bob {
  50% {
    transform: translateY(4px);
  }
}
.about .after {
  padding-top: 24px;
}
.about .after h2 {
  font-size: 1.4rem;
  margin: 0 0 4px;
}
.about .after .lead {
  color: var(--muted);
  margin: 0;
}
.qa details {
  border-top: 1px solid var(--line);
  padding: 10px 0;
}
.qa summary {
  font-weight: 650;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.qa summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.3rem;
  transition: transform 0.2s;
}
.qa details[open] summary::after {
  transform: rotate(45deg);
}
.qa details p {
  margin: 8px 0 0;
  color: var(--muted);
  animation: fade 0.25s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .about .track {
    height: auto;
  }
  .about .snap {
    display: none;
  }
  .about .stage {
    position: static;
    height: auto;
  }
  .about .word {
    opacity: 1;
  }
}
/* the Learn / Help / Celebrate words open on a tap too */
.about .word {
  cursor: pointer;
}
/* call to action: your club / find your club */
.cta {
  border-radius: 16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c, #d41367) 14%, var(--surface)), var(--surface));
  border: 1px solid color-mix(in srgb, var(--c, #d41367) 30%, var(--surface));
  padding: 12px 14px;
  margin-top: 16px;
}
.cta.new {
  --c: #d41367;
  --on-c: #fff;
}
.cta .k {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: color-mix(in srgb, var(--c) 70%, #000);
  font-weight: 800;
}
:root[data-theme="dark"] .cta .k {
  color: color-mix(in srgb, var(--c) 60%, #fff);
}
.cta .rc {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
}
.cta .rc img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.cta .rc .dot {
  width: 14px;
  height: 14px;
  border-radius: 99px;
  background: var(--c);
}
.cta .rc b {
  display: block;
  font-size: 0.98rem;
}
.cta .rc span {
  font-size: 0.78rem;
  color: var(--muted);
}
.cta .go {
  display: inline-flex;
  align-items: center;
  min-height: var(--h-btn);
  background: var(--c);
  color: var(--on-c);
  border: 0;
  border-radius: 99px;
  padding: 0 16px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.12s;
}
.cta .find {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.cta .in {
  flex: 1;
  min-width: 0;
  height: var(--h-btn);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0 14px;
  font: inherit;
  font-size: 0.9rem;
  background: var(--surface);
  color: var(--text);
}
.cta .hint {
  margin-top: 4px;
}
.cta .near {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}
/* about-more: frosted panes over full-bleed visuals */
.more h1 {
  font-size: 1.4rem;
  margin: 18px 0 10px;
}
.vis {
  position: relative;
  isolation: isolate;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  background: var(--surface-2);
}
.vis .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vis.map {
  height: 400px;
}
.vis .leaflet-container {
  background: #eef2f7;
  font: inherit;
}
.vis .pane {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 500;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: var(--frost-3);
  -webkit-backdrop-filter: var(--frost-3);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  padding: 12px 14px;
  color: #1f1c26;
}
.vis .pane b {
  display: block;
  font-size: 1.05rem;
}
.vis .pane span {
  font-size: 0.86rem;
  color: #3b3745;
}
.vis .pane .wheel {
  height: 26px;
  display: block;
  margin-bottom: 6px;
}
.vis .leg {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.vis .leg span {
  font-size: 0.72rem;
  font-weight: 800;
}
/* family page: one frosted tile per part of Rotary (icon, name, half a sentence), then the clubs by district */
.fam h1 {
  font-size: 1.4rem;
  margin: 18px 0 2px;
}
.fam .lead {
  color: var(--muted);
  margin: 0 0 14px;
}
.fam h2 {
  font-size: 1.1rem;
}
.fam #know {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.fam #know b {
  min-width: 0;
  overflow-wrap: anywhere;
} /* a long word wraps instead of widening the page */
.tiles2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.ft {
  border-radius: 16px;
  padding: 14px;
}
.ft .ic,
a.more .ic,
.step .ic,
.bh .ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--p) 16%, var(--surface));
  color: var(--p);
  margin-bottom: 8px;
}
.ft .ic svg,
a.more .ic svg,
.step .ic svg,
.bh .ic svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ft .logo {
  display: block;
  height: 44px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  background: #fff;
  border-radius: 10px;
  padding: 6px 8px;
  margin-bottom: 8px;
}
.ft b {
  display: block;
  font-size: 0.98rem;
}
.ft span {
  font-size: 0.84rem;
  color: var(--muted);
}
a.tile {
  text-decoration: none;
}
@media (max-width: 600px) {
  .vis {
    height: 260px;
  }
  .vis.map {
    height: 380px;
  }
}
/* map page: the map fills the screen between the bars */
.mapwrap {
  flex: 1;
  min-height: 0;
  position: relative;
}
#map {
  position: absolute;
  inset: 0;
  background: #fff;
} /* white like the map's own edge tiles, so the area outside Switzerland is one surface */
.mapopts {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.mapopt {
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: var(--r-chip);
  padding: 6px 10px;
}
/* an event: a small calendar sheet (month on a band in the club colour, the day under it) with a point at the place */
.mapevent span {
  position: relative;
  display: grid;
  grid-template-rows: 13px 1fr;
  width: 36px;
  height: 38px;
  border-radius: 9px;
  background: #fff;
  color: #1f1c26;
  border: 2px solid var(--c);
  box-sizing: border-box;
  text-align: center;
  line-height: 1;
}
.mapevent span {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s;
  transform-origin: 50% 125%;
}
.mapevent span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  translate: -50% 0;
  border: 7px solid transparent;
  border-bottom: 0;
  border-top: 8px solid var(--c);
}
/* a stack: blank sheets fanned out, each in its event's club colour, the count in front */
.mapgroup span {
  position: relative;
  display: block;
  width: 48px;
  height: 44px;
  transition: transform 0.15s;
}
.mapgroup:hover span {
  transform: scale(1.1);
}
.mapgroup s {
  position: absolute;
  left: 9px;
  top: 2px;
  width: 30px;
  height: 34px;
  box-sizing: border-box;
  border: 2px solid var(--c);
  border-top-width: 9px;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  rotate: var(--r);
  transform-origin: 50% 100%;
}
.mapgroup em {
  position: absolute;
  left: 50%;
  top: 14px;
  translate: -50% 0;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  box-sizing: border-box;
  border-radius: 13px;
  background: #1f1c26;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
}
/* while a popup is open: its pin lifted and ringed, the others faded back */
#map.picking .leaflet-marker-icon:not(.on) {
  opacity: 0.35;
}
.mapevent.on span {
  transform: scale(1.2);
  outline: 3px solid color-mix(in srgb, var(--c) 35%, transparent);
  outline-offset: 2px;
}
.mapclub.on span {
  opacity: 1;
  transform: scale(1.2);
}
.mapevent:hover span {
  transform: scale(1.12);
}
.mapevent b {
  display: grid;
  place-items: center;
  margin: -2px -2px 0;
  border-radius: 8px 8px 0 0;
  background: var(--c);
  color: var(--on-c);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
/* the day, centred, over the club's crest: tilted and half cut by the right edge, faded, a hint of the club like the cards' watermark */
.mapevent i {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  margin: 0 1px 1px;
  border-radius: 0 0 6px 6px;
  text-shadow: 0 0 3px #fff;
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 800;
}
.mapevent i::before {
  content: "";
  position: absolute;
  right: -5px;
  top: -3px;
  width: 22px;
  height: 28px;
  background: var(--crest, none) center / contain no-repeat;
  z-index: -1;
  opacity: 0.45;
  rotate: 14deg;
}
/* a club's home: the crest in a cogged ring, like Rotary's wheel, in the club colour. Faded a little: the events are in front. */
.mapclub span {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  opacity: 0.8;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
  transition:
    opacity 0.15s,
    transform 0.15s;
}
.mapclub:hover span,
.mapclub:focus-visible span {
  opacity: 1;
  transform: scale(1.12);
}
.mapclub svg {
  width: 40px;
  height: 40px;
}
.mapclub .cogs {
  fill: none;
  stroke: var(--c);
  stroke-width: 5;
  stroke-dasharray: 1 1;
}
.mapclub .ring {
  fill: #fff;
  stroke: var(--c);
  stroke-width: 3;
}
/* what is what: clubs, events, the districts */
/* a details element: closed it is a small button, open it lists clubs, events and the districts. Open at the start on wide screens. */
.maplegend {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 500;
  padding: 6px 10px;
  font-size: 0.75rem;
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: var(--r-chip);
}
.maplegend summary {
  cursor: pointer;
  font-weight: 600;
}
.maplegend ul {
  margin: 6px 0 2px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}
.maplegend li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.maplegend i {
  flex: none;
  width: 14px;
  height: 14px;
  box-sizing: border-box;
}
.mapclub-mini {
  border: 3px dotted currentColor;
  border-radius: 50%;
}
.mapevent-mini {
  border: 2px solid currentColor;
  border-top-width: 5px;
  border-radius: 3px;
}
.mapdistrict-mini {
  border: 2px solid var(--c);
  border-radius: 3px;
  background: color-mix(in srgb, var(--c) 20%, transparent);
}
/* the popups: Leaflet's bubble gives way to the content, the event card of the lists or the small club header, in the app's type */
#map .mappopup .leaflet-popup-content-wrapper {
  padding: 0;
  border-radius: 14px;
  background: none;
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.45);
}
#map .mappopup .leaflet-popup-content {
  margin: 0;
  font:
    16px / 1.5 system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
}
#map .mappopup .leaflet-popup-tip {
  background: var(--surface);
}
#map .mappopup:has(.clubpop) .leaflet-popup-tip-container {
  display: none;
}
/* an event: its picture on top, the trimmed card under it (Map.tsx MapCard) */
#map .mapcardwrap {
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface);
}
#map .mappic {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}
#map .mapcardwrap:has(.mappic) .event {
  border-radius: 0;
  box-shadow: none;
}
#map .mappopup .event {
  margin: 0;
  animation: none;
}
#map .mapcard .meta {
  white-space: normal;
}
#map .mapcard .tags:empty {
  display: none;
}
/* the club header in small: the colour block of the club page, its crest big and faded behind, the crest and name in front */
#map .clubpop {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 14px 16px 16px;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 62%, #000));
  color: var(--on-c);
  text-decoration: none;
}
.clubpop .big {
  position: absolute;
  right: -30px;
  top: -24px;
  width: 140px;
  opacity: 0.16;
  transform: rotate(8deg);
  pointer-events: none;
}
.clubpop .c {
  position: relative;
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}
.clubpop .txt {
  position: relative;
  min-width: 0;
}
.clubpop b {
  display: block;
  font-size: 1.1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.clubpop small {
  display: block;
  margin-top: 2px;
  opacity: 0.85;
  font-size: 0.8rem;
}
.clubpop .chev {
  position: relative;
  width: 20px;
  height: 20px;
  rotate: 180deg;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Wheel of Fate (Discover): the brand wheel, big, as a wheel of fortune, the events inside its rim as segments (crest, date); it turns until the chosen one is on top */
.fate .wheel {
  position: relative;
  container-type: inline-size;
  width: min(100%, 380px, 46dvh);
  aspect-ratio: 1;
  margin: 12px auto 16px;
  overflow: hidden;
} /* hidden: the turning square's corners must not widen the popup */
.fate .disc {
  position: absolute;
  inset: 0;
  transition: transform 3.6s cubic-bezier(0.12, 0.62, 0.1, 1);
}
.fate .disc > img {
  display: block;
  width: 100%;
  height: 100%;
}
/* the segments fill the wheel inside its rim, over the spokes; a label runs outwards from the middle: the date, on the club's crest as a faint backdrop (as on an event card) */
.fate .segs {
  position: absolute;
  inset: 21%;
  border-radius: 50%;
}
.fate .segs::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 9cqw;
  height: 9cqw;
  border-radius: 50%;
  background: #d41367;
  box-shadow: 0 0 0 0.8cqw var(--surface);
}
.fate .segs span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 23cqw;
  height: 11cqw;
  margin-top: -5.5cqw;
  transform-origin: 0 50%;
  transform: rotate(calc(var(--a) - 90deg)) translateX(5.5cqw);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.3cqw;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: var(--text);
}
.fate .segs img,
.fate .segs .dot {
  position: absolute;
  z-index: -1;
  right: 1.5cqw;
  top: 0.75cqw;
  width: 9.5cqw;
  height: 9.5cqw;
  object-fit: contain;
  border-radius: 0;
  rotate: 90deg;
  opacity: 0.26;
}
/* the pointer on top; while the wheel turns it ticks against the segments */
.fate .tick {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 0;
  margin-left: -11px;
  border: 11px solid transparent;
  border-top: 26px solid var(--text);
  border-bottom: 0;
  transform-origin: 50% 0;
  filter: drop-shadow(0 0 2px var(--surface));
}
.fate .spin .tick {
  animation: fatetick 0.14s ease-in-out infinite alternate;
}
.fate .k {
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.fate p {
  text-align: center;
}
.fate .skip[aria-disabled="true"] {
  opacity: 0.5;
}
@keyframes fatetick {
  to {
    transform: rotate(-22deg);
  }
}
/* Easter egg: event bingo, a 4 × 4 card of squares to tap */
.bingo .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.bingo p b {
  font-size: 1.5rem;
  color: var(--accent);
}
.bingo .grid button {
  aspect-ratio: 1;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.15;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.bingo .grid [aria-pressed="true"] {
  background: var(--accent);
  color: var(--on-accent);
  border-color: transparent;
}
/* The sorting ceremony (components/Sorting): the hat, a question with its answers, then the verdict: crest, name, why, the way to the club. The hat nods once at the verdict. */
.hat .ob-in > :not(.obhead, .nav) {
  text-align: center;
}
.hat .mark {
  font-size: 3rem;
  line-height: 1;
  margin: 6px 0 12px;
}
.hat .nod {
  animation: hatnod 0.7s ease-in-out;
}
.hat img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.hat .dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 99px;
  background: var(--c);
}
.hat b {
  display: block;
  margin: 6px 0 2px;
  font-size: 1.2rem;
}
@keyframes hatnod {
  40% {
    rotate: -16deg;
    translate: 0 6px;
  }
}
/* explanatory pages ("This app", "New in the club"): frosted boxes, tappable tiles, numbered steps, the word list */
.fam .box {
  border-radius: 16px;
  padding: 14px 16px;
  margin: 6px 0 4px;
}
.fam .box > :first-child {
  margin-top: 0;
}
.fam .box > :last-child {
  margin-bottom: 0;
}
.fam .box ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: grid;
  gap: 6px;
}
/* the crosses and ticks are for the plain lists: numbered steps (ol) keep their numbers */
.fam .box ul li {
  display: flex;
  gap: 8px;
}
.fam .box ul li::before {
  content: "✕";
  color: var(--accent);
  font-weight: 800;
}
.fam .box .qa details:first-child {
  border-top: 0;
  padding-top: 0;
}
.fam .box .qa details:last-child {
  padding-bottom: 0;
}
.fam .fine {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 18px 2px 0;
}
.ft b {
  display: block;
  line-height: 1.25;
}
.ft span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}
a.ft {
  color: var(--text);
  text-decoration: none;
  position: relative;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
a.ft:hover {
  border-color: var(--p);
  transform: translateY(-1px);
}
a.ft:active {
  transform: scale(0.98);
}
a.ft .chev {
  position: absolute;
  right: 12px;
  top: 14px;
  width: 18px;
  height: 18px;
  stroke: var(--p);
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: scaleX(-1);
}
.fam .hero {
  border-radius: 22px;
  padding: 26px 18px 22px;
  margin: 16px 0 6px;
  text-align: center;
}
.fam .hero img {
  height: 72px;
  max-width: 120px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(31, 28, 38, 0.25));
  animation: fade 0.5s ease-out;
}
.fam .hero .wave {
  font-size: 2.6rem;
  line-height: 1;
}
.fam .hero h1 {
  font-size: 1.6rem;
  margin: 10px 0 4px;
  text-wrap: balance;
}
.fam .hero p {
  margin: 0;
  color: var(--muted);
  text-wrap: balance;
}
.nsteps {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
.step {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  padding: 12px 12px 12px 14px;
  color: var(--text);
  text-decoration: none;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
a.step:hover {
  border-color: var(--p);
  transform: translateY(-1px);
}
a.step:active {
  transform: scale(0.98);
}
.step .ic {
  margin: 0;
  flex: 0 0 auto;
  font-weight: 800;
  font-size: 1.1rem;
}
.step .tx {
  flex: 1;
  min-width: 0;
}
.step b {
  display: block;
  line-height: 1.25;
}
.step span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}
.step .chev {
  width: 20px;
  height: 20px;
  stroke: var(--p);
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: scaleX(-1);
  flex: 0 0 auto;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.facts div {
  border-radius: 16px;
  padding: 12px 8px;
  text-align: center;
}
.facts b {
  display: block;
  font-size: 1.35rem;
  line-height: 1.1;
  color: var(--p);
}
.facts span {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.25;
}
:root[data-theme="dark"] .facts b {
  filter: brightness(1.5);
}
.wsearch {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 99px;
  height: var(--h-btn);
  padding: 0 16px;
  font: inherit;
  margin: 6px 0 8px;
}
.gloss {
  border-radius: 16px;
  padding: 4px 16px;
  margin: 0;
}
.gloss div {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.gloss div:first-child {
  border-top: 0;
}
.gloss dt {
  font-weight: 700;
}
.gloss dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.gloss + .fine {
  text-align: center;
}
:root[data-theme="dark"] .ft .ic,
:root[data-theme="dark"] a.more .ic,
:root[data-theme="dark"] .step .ic,
:root[data-theme="dark"] .bh .ic {
  color: color-mix(in srgb, var(--p) 45%, #fff);
  background: color-mix(in srgb, var(--p) 32%, var(--surface));
}
.fam .box.tint {
  margin-top: 14px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--p) 16%, transparent), transparent 65%), var(--pane);
}
:root[data-theme="dark"] .fam .box.tint {
  background: linear-gradient(160deg, color-mix(in srgb, var(--p) 26%, transparent), transparent 65%), var(--pane);
}
.bh {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.bh .ic {
  margin: 0;
  flex: 0 0 auto;
}
.fam .bh h2 {
  margin: 0;
  font-size: 1.2rem;
}
.fam .box ul.yes li::before {
  content: "✓";
  color: #009739;
}
.gloss div[data-ltr] {
  border-top: 0;
  padding-top: 14px;
}
.gloss div[data-ltr]::before {
  content: attr(data-ltr);
  display: block;
  margin-bottom: 4px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
}
/* club page: "how this club works" popup, and the partner clubs as a footnote */
/* on a card the club is information, not a second link inside the card link: crest and name, no pill */
.cl {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--c) 75%, #000);
}
:root[data-theme="dark"] .cl {
  color: color-mix(in srgb, var(--c) 60%, #fff);
}
.cl img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}
.cl .dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--c);
}
/* cards are one of two things. Clickable: raised (the shadow of .glass and .event), presses in, and a single one carries a chevron.
   Container: holds rows, chips and buttons and never reacts as a whole: flat, outline only. */
.pane.glass,
.settings section.glass,
.aboutc.glass,
.cta.glass,
.explore.glass,
.fam .box.glass,
.panel.glass {
  box-shadow: none;
}
/* a club's structured text (rich()): headings, numbered step cards, a check list */
.rich p {
  color: var(--text);
  margin: 0 0 10px;
}
.rich h3:first-child {
  margin-top: 4px;
}
.rich .nsteps {
  margin: 0 0 4px;
}
.rich .step {
  background: var(--surface-2);
  align-items: flex-start;
  padding: 10px 12px;
}
.rich .step span b {
  display: inline;
}
.rich .pts {
  list-style: none;
  padding: 0;
  margin: 0 0 4px;
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
}
.rich .pts li {
  display: flex;
  gap: 8px;
}
.rich .pts li::before {
  content: "✓";
  color: #009739;
  font-weight: 800;
}
/* developer page (dev.html): the Settings look, plus a status line, small counters, plain lists */
.dev h3 {
  margin: 14px 0 4px;
}
.dev .links {
  margin: 10px 0 2px;
}
.dev .setrow .tools {
  margin: 0;
  justify-content: flex-end;
}
.devstate {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  font-weight: 600;
}
.devstate i {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #009739;
}
.devstate.warn i {
  background: #e8a317;
}
.devstate.bad i {
  background: var(--danger);
}
.devok {
  margin: 6px 0;
  font-size: 0.9rem;
  color: #00843a;
}
:root[data-theme="dark"] .devok {
  color: #5fd08a;
}
.devfail {
  margin: 8px 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--danger) 12%, transparent);
  color: var(--danger);
  font-size: 0.78rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.devfacts {
  margin: 10px 0;
  --p: var(--accent);
}
.devfacts div {
  background: var(--surface-2);
  padding: 8px 4px;
  border-radius: 12px;
}
.devua {
  overflow-wrap: anywhere;
  font-size: 0.74rem;
}
.devkey {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2px 6px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.devkey code {
  font-size: 0.8rem;
  font-weight: 700;
}
.devkey span {
  grid-column: 1;
  grid-row: 2;
  font-size: 0.74rem;
  color: var(--muted);
  overflow-wrap: anywhere;
  max-height: 3.6em;
  overflow: hidden;
}
.devkey .linkbtn {
  grid-row: 1 / 3;
}
.devlist {
  display: grid;
  gap: 6px;
  padding: 8px 0 2px;
  font-size: 0.86rem;
}
.devlist a {
  color: var(--text);
}
.devclub {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}
.devclub:first-child {
  border-top: 0;
}
.devclub span {
  flex: 1;
  min-width: 0;
}
.devsteps {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  font-size: 0.82rem;
}
.devsteps li {
  display: flex;
  gap: 8px;
  padding: 3px 0;
}
.devsteps b {
  width: 1em;
  text-align: center;
}
.devsteps .success b {
  color: #00843a;
}
.devsteps .failure b,
.devsteps .cancelled b {
  color: var(--danger);
}
.devsteps .skipped {
  color: var(--muted);
}
:root[data-theme="dark"] .devsteps .success b {
  color: #5fd08a;
}
.devrecent {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: grid;
  gap: 6px;
}
.devrecent li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  font-size: 0.86rem;
  font-weight: 400;
  margin: 0;
}
.devrecent li.devstate i {
  align-self: center;
}
.devrecent a {
  color: inherit;
  flex: 1 1 60%;
  min-width: 0;
}
.devrecent small {
  color: var(--muted);
}
/* Developer overview: one overall state, the runs as dots, a back link on the pages under it */
/* the overview card: the state and the last update on one line, then a line each for the app and its data. Every age sits
   right-aligned in the same column, so after a push the eye goes straight to it. */
.devhealth {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}
.devhealth > b {
  flex: 1 1 auto;
  font-size: 1.2rem;
}
.devhealth i,
.devlight i {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #009739;
}
.devhealth.warn i,
.devlight.warn i {
  background: #e8a317;
}
.devhealth.bad i,
.devlight.bad i {
  background: var(--danger);
}
.devlast {
  display: grid;
  justify-items: end;
  line-height: 1.15;
}
.devlast small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.devlast time {
  font-size: 1.05rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
/* the lines under the lights (the runs' history, warnings) are the small print of the card */
.devcard .devstate {
  align-items: baseline;
  font-size: 0.9rem;
}
.devcard .devstate i {
  transform: translateY(1px);
}
.devrunning {
  margin: -6px 0 10px;
}
.devlights {
  display: grid;
  gap: 2px;
  margin: 0 0 12px;
  border-top: 1px solid var(--line);
}
.devlight {
  display: grid;
  grid-template-columns: 16px 3.2em minmax(0, 1fr) auto;
  grid-template-areas: "dot name what age" ". . sub sub";
  column-gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.devlight i {
  grid-area: dot;
  width: 10px;
  height: 10px;
  justify-self: center;
}
.devlight b {
  grid-area: name;
}
.devlight span,
.devlight small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.devlight span {
  grid-area: what;
}
.devlight time {
  grid-area: age;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.devlight small {
  grid-area: sub;
  color: var(--muted);
  font-size: 0.8rem;
}
.devstrip {
  display: flex;
  gap: 3px;
  margin: 0 0 10px;
}
.devstrip i {
  flex: 1 1 0;
  max-width: 14px;
  height: 18px;
  border-radius: 3px;
  background: #009739;
}
.devstrip i.warn {
  background: #e8a317;
}
.devstrip i.bad {
  background: var(--danger);
}
.dev .devback {
  display: inline-block;
  margin: 4px 0 0;
  font-weight: 600;
  text-decoration: none;
}
.dev > .more {
  margin-bottom: 8px;
}
/* the dark mode check: the report as label and value, the painted samples as squares with what they should be */
.devdark {
  margin: 0 0 12px;
}
.devdark div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.devdark dt {
  color: var(--muted);
}
.devdark dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}
.devsamples {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.devsamples li {
  display: grid;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--muted);
}
.devsamples i {
  display: grid;
  place-items: center;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-style: normal;
  font-weight: 700;
  font-size: 1.2rem;
}
.devsamples img {
  max-width: 80%;
  max-height: 40px;
}
.devedit {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.devedit textarea {
  width: 100%;
  min-height: 10rem;
  font:
    0.74rem / 1.4 ui-monospace,
    monospace;
}
/* popups: a warning, where it works, short steps */
.alertline {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--danger);
  background: color-mix(in srgb, var(--danger) 10%, var(--surface));
  font-weight: 600;
  font-size: 0.92rem;
}
.ob p.alertline {
  color: var(--danger);
}
/* "On your phone": what is left to do there after subscribing with Google. A head, the phone to pick, its steps */
.phonefix {
  margin: 0 0 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 0.9rem;
}
.pf-h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.pf-h svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--azure);
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pf-h span {
  display: flex;
  flex-direction: column;
}
.pf-h b {
  font-size: 0.95rem;
  color: var(--text);
}
.pf-h small,
.pf-note {
  color: var(--muted);
  font-size: 0.8rem;
}
.phonefix .seg {
  display: flex;
  margin-bottom: 10px;
  min-height: 34px;
}
.phonefix .seg button {
  flex: 1;
  color: var(--text);
}
.phonefix .seg button[aria-pressed="true"] {
  background: var(--azure);
  color: #fff;
}
:root[data-theme="dark"] .phonefix .seg button[aria-pressed="true"] {
  color: #10131a;
}
.phonefix .qsteps {
  margin: 0;
  color: var(--text);
}
.phonefix .linkbtn {
  margin: 10px 0 0;
}
.pf-note {
  display: block;
  margin-top: 8px;
}
.how .phonefix {
  margin: 10px 0 4px;
  background: var(--surface);
}
.alertline svg,
.where svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.where {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  gap: 6px;
}
.where li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
}
.where .no {
  color: var(--danger);
  background: color-mix(in srgb, var(--danger) 10%, var(--surface));
}
.where .ok {
  color: #0a7a35;
  background: color-mix(in srgb, #009739 12%, var(--surface));
}
:root[data-theme="dark"] .where .ok {
  color: #6fdc96;
}
.qsteps {
  margin: 0 0 12px;
  padding-left: 22px;
}
.qsteps li {
  margin: 4px 0;
}

/* the subscribe sheet: what a subscription does, then the ways in */
.facts2 {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  gap: 6px;
}
.facts2 li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.35;
}
.facts2 svg {
  color: var(--azure);
  margin-top: 1px;
}
.ob .waypick {
  margin: 0 0 6px;
  font-weight: 600;
  color: var(--text);
}
.ways {
  display: grid;
  gap: 6px;
  margin: 0;
}
.way {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  text-align: left;
  text-decoration: none;
}
.way > svg:first-child {
  width: 22px;
  height: 22px;
  color: var(--azure);
}
.way span {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.way b {
  font-size: 0.95rem;
}
.way small {
  color: var(--muted);
  font-size: 0.8rem;
}
.way .chev {
  color: var(--muted);
  transform: scaleX(-1);
}
.where .both svg + svg {
  margin-left: -6px;
}
/* the add-a-calendar flow (components/Subscribe.tsx): one step per page, where you are, a drawing of what to tap */
.sfstep {
  display: grid;
  gap: 10px;
  justify-items: start;
}
.sfstep .linkbtn {
  margin: 0;
}
.sfstep .ways {
  width: 100%;
}
.sfstep > .linkbtn.primary {
  width: 100%;
  min-height: 48px;
  font-size: 1rem;
}
.ob .sfn {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.ob .sft {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 650;
  line-height: 1.3;
  color: var(--text);
}
/* the steps as a row of numbered dots joined by a line: done ones ticked, this one filled */
.stepper {
  list-style: none;
  display: flex;
  width: 100%;
  margin: 0 0 4px;
  padding: 0;
  gap: 0;
}
.stepper li {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}
.stepper li::before {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--line);
}
.stepper li:first-child::before {
  display: none;
}
.stepper li:first-child {
  flex: 0 0 auto;
}
.stepper li {
  --d: 24px;
}
.stepper li span {
  display: grid;
  place-items: center;
  flex: 0 0 var(--d);
  width: var(--d);
  height: var(--d);
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--surface);
}
.stepper li.past::before,
.stepper li.now::before {
  background: var(--azure);
}
.stepper li.past span {
  border-color: var(--azure);
  color: var(--azure);
}
.stepper li.now span {
  border-color: var(--azure);
  background: var(--azure);
  color: #fff;
}
.ob .sfctx {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 4px 10px 4px 8px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--azure) 14%, var(--surface));
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 650;
}
.sfctx svg {
  width: 15px;
  height: 15px;
  stroke: var(--azure);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* a drawing: dashed like a sketch, so nobody takes its switch for a real one */
.sfvis {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: 14px;
  border: 1.5px dashed var(--line);
  background: var(--surface-2);
  color: var(--text);
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
.sfvis svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
}
.sfvis .pn {
  fill: var(--surface);
  stroke: var(--line);
  stroke-width: 1.5;
}
.sfvis .pn.dl {
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.18));
}
.sfvis .ln {
  fill: var(--line);
}
.sfvis .rule {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.5;
}
.sfvis .hl {
  fill: var(--azure);
}
.sfvis .hl.o {
  fill: color-mix(in srgb, var(--azure) 10%, var(--surface));
  stroke: var(--azure);
  stroke-width: 2;
}
.sfvis .tap {
  fill: color-mix(in srgb, var(--azure) 22%, transparent);
  stroke: var(--azure);
  stroke-width: 1.5;
  stroke-dasharray: 3 3;
}
.sfvis .ar,
.sfvis .onl {
  fill: none;
  stroke: var(--muted);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sfvis .ar.thin {
  stroke-width: 1.5;
}
.sfvis .onl {
  stroke: #fff;
}
.sfvis .onl.thin {
  stroke-width: 1.8;
}
.sfvis .onl.big {
  stroke-width: 7;
}
.sfvis .knob {
  fill: #fff;
}
.sfvis .gear {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
}
.sfvis text {
  font-size: 9.5px;
  font-weight: 600;
  fill: var(--muted);
}
.sfvis text.on {
  fill: #fff;
}
.sfvis text.b {
  font-size: 11px;
  font-weight: 700;
  fill: currentColor;
}
.sfvis text.sm {
  font-size: 9.5px;
}
.way .wi {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.sfmark {
  flex: 0 0 auto;
  display: grid;
}
.sfmark img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.sfok {
  color: #009739;
  font-size: 1.1rem;
}
/* a smaller second choice under the rows (another club, the .ics file): quiet, but an outlined pill with a chevron, so plainly a button */
.sfmore {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px auto 0;
  min-height: 34px;
  padding: 0 10px 0 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
}
.sfmore:hover {
  border-color: var(--muted);
  color: var(--text);
}
.sfmore:active {
  transform: scale(0.97);
}
.sfmore svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sfmore .chev {
  transform: scaleX(-1);
}
.ob .skip.web {
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 0.85rem;
  padding: 8px 4px;
  text-align: center;
  width: 100%;
}
.sfseg {
  display: flex;
  width: 100%;
}
.sfseg button {
  flex: 1;
  color: var(--text);
}
.sfhelp {
  justify-self: center;
}
.facts2.big {
  gap: 14px;
  margin: 10px 0 4px;
}
.facts2.big li {
  align-items: center;
  font-size: 1.05rem;
  font-weight: 650;
}
.facts2.big svg {
  width: 26px;
  height: 26px;
  margin: 0;
}
/* calendar help: a problem's question and its fixes */
.fixask {
  margin-top: 8px;
}
.fixask p {
  margin: 0 0 8px;
  color: var(--muted);
}
.fixask .seg {
  display: flex;
}
.fixask .seg button {
  flex: 1;
  color: var(--text);
}
.fixcase {
  display: grid;
  gap: 2px;
  justify-items: start;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-2);
  animation: fade 0.25s ease-out;
}
.fixcase span {
  color: var(--muted);
  font-size: 0.92rem;
}
.fixcase .linkbtn {
  margin-top: 8px;
  background: var(--surface);
}
.sfseg button[aria-pressed="true"],
.fixask .seg button[aria-pressed="true"] {
  color: var(--on-accent);
}
/* About this app: good to know, titles only */
.ft.slim {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}
.ft.slim .ic {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  margin: 0;
  flex: 0 0 auto;
}
.ft.slim .ic svg {
  width: 18px;
  height: 18px;
}
.ft.slim b {
  font-size: 0.9rem;
}
/* year in review: one card per number, side by side, one per swipe (scroll-snap); the round buttons below move it a card */
.rvbar {
  display: flex;
  gap: 4px;
  margin-top: 12px;
}
.rvbar i {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: var(--line);
  transition: background 0.3s;
}
.rvbar .on {
  background: var(--accent);
}
.rv {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 10px -16px 0;
  padding: 0 16px 20px;
  scroll-padding: 0 16px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.rv::-webkit-scrollbar {
  display: none;
}
@media (prefers-reduced-motion: no-preference) {
  .rv {
    scroll-behavior: smooth;
  }
}
/* a card: the club colour edge to edge, a lighter glow top right, the wheel turning slowly in the corner */
.rv section {
  position: relative;
  overflow: hidden;
  flex: 0 0 100%;
  scroll-snap-align: start;
  min-height: min(100dvh - 270px, 560px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  border-radius: 28px;
  padding: 28px 24px;
  color: var(--on-c);
  background:
    radial-gradient(120% 90% at 100% 0, color-mix(in srgb, var(--c) 68%, #fff), transparent 60%),
    linear-gradient(160deg, var(--c), color-mix(in srgb, var(--c) 60%, #000));
  box-shadow: 0 16px 30px -20px var(--c);
}
.rv section > * {
  position: relative;
}
.rv .wm {
  position: absolute;
  right: -84px;
  bottom: -84px;
  width: 290px;
  height: 290px;
  opacity: 0.16;
  filter: grayscale(1) brightness(4);
  pointer-events: none;
}
.rv .on .wm {
  animation: rvspin 80s linear infinite;
}
.rv .on > :not(.wm) {
  animation: rvin 0.55s ease-out both;
}
.rv .on > :nth-child(3) {
  animation-delay: 0.08s;
}
.rv .on > :nth-child(n + 4) {
  animation-delay: 0.18s;
}
.rv .on .bars i {
  animation: rvgrow 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s both;
}
@keyframes rvin {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}
@keyframes rvspin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes rvgrow {
  from {
    transform: scaleY(0);
  }
}
.rv h1 {
  margin: 0;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.rv p {
  margin: 0;
  opacity: 0.92;
}
.rv p > a:not(.chip) {
  color: inherit;
}
.rv .yr {
  font-size: clamp(3rem, 18vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  opacity: 0.32;
}
.rv .k {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  opacity: 0.85;
}
.rv .k svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.rv b {
  font-size: clamp(3.2rem, 19vw, 5.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}
.rv .bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 110px;
  margin: 14px 0 20px;
}
.rv .bars i {
  position: relative;
  flex: 1;
  height: calc(var(--h) * 100%);
  min-height: 3px;
  border-radius: 6px 6px 2px 2px;
  background: color-mix(in srgb, var(--on-c) 38%, transparent);
  font-style: normal;
  transform-origin: bottom;
}
.rv .bars .top {
  background: var(--on-c);
}
.rv .bars span {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding-top: 4px;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
}
.rv .host {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding-bottom: 10px;
}
.rv .host::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(var(--w) * 100%);
  height: 4px;
  border-radius: 99px;
  background: currentColor;
  opacity: 0.7;
}
.rv .links {
  margin-top: 10px;
}
.rv .links .primary {
  background: var(--on-c);
  color: var(--c);
  border-color: transparent;
}
.rv .pics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
}
.rv .pics img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}
.rvnav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0 0 24px;
}
.rvnav .next svg {
  transform: scaleX(-1);
}
