.switcher-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
  padding: 11px clamp(14px, 3vw, 24px);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.switcher-bar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}

.switcher-bar__brand .sub {
  color: var(--faint);
  font-weight: 500;
  font-family: var(--font-ui);
  font-size: 13px;
}

.seg {
  display: flex;
  gap: 3px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3px;
}

.seg__btn {
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 9px;
  transition: background .12s ease, color .12s ease;
}

.seg__btn.is-active {
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.public {
  min-height: calc(100vh - 62px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 6vw, 64px) 20px;
}

.public.is-active {
  display: flex;
  animation: fadeup .4s ease both;
}

.public--top {
  align-items: flex-start;
}

.public--glow {
  background-image: radial-gradient(70% 38% at 50% 0%, var(--accent-soft), transparent 70%);
}

.public--glow-404 {
  background-image: radial-gradient(60% 40% at 50% 0%, var(--accent-soft), transparent 70%);
}

.public-theme {
  position: fixed;
  top: 16px;
  right: clamp(14px, 3vw, 24px);
  z-index: 60;
}

.bio {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bio__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  color: var(--accent-ink);
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}

.bio__avatar--img {
  object-fit: cover;
  padding: 0;
}

.bio__name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  letter-spacing: -.01em;
}

.bio__handle {
  font-size: 14px;
  color: var(--faint);
  margin: 4px 0 14px;
}

.bio__cardlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: -4px 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  background: var(--bio-surface, var(--accent-soft));
  border: 1px solid var(--bio-surface-border, transparent);
  transition: transform .15s ease, background .15s ease;
}

.bio__cardlink:hover {
  transform: translateY(-1px);
}

.bio-has-bg .bio__cardlink {
  color: var(--bio-ink, var(--ink));
}

.bio__text {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 340px;
  margin-bottom: 30px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.bio__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.bio-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 15px;
  font-weight: 600;
  transition: transform .12s ease, border-color .12s ease;
}

.bio-link:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.bio-link .arrow {
  color: var(--accent-strong);
}

.bio-link__icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
  flex: none;
}

.bio-link .label {
  flex: 1;
  text-align: left;
}

.bio-link__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.bio-link__body .label {
  flex: none;
}

.bio-link__desc {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  opacity: .72;
  text-align: left;
  overflow-wrap: anywhere;
}

.bio-link .arrow,
.bio-link .ext {
  flex: none;
}

.bio-link .ext {
  color: var(--faint);
}

.bio-link--custom {
  background: var(--bl-bg);
  border-color: var(--bl-bg);
  color: var(--bl-ink);
  box-shadow: var(--shadow);
}

.bio-link--custom .arrow,
.bio-link--custom .ext {
  color: var(--bl-ink);
}

.bio-link--custom:hover {
  border-color: var(--bl-ink);
}

.bio-link--accent {
  background: var(--accent);
  border-color: transparent;
  color: var(--accent-ink);
  box-shadow: var(--shadow);
  font-weight: 700;
}

.bio-link--accent .arrow,
.bio-link--accent .ext {
  color: var(--accent-ink);
}

.bio__credit {
  text-decoration: none;
  margin-top: 34px;
  font-size: 12px;
  color: var(--faint);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .15s ease;
}

.bio__credit:hover {
  color: var(--muted);
}

.public.bio-has-bg {
  min-height: 100vh;
}

.bio-has-bg .bio__name {
  color: var(--bio-ink, var(--ink));
}

.bio-has-bg .bio__name,
.bio-has-bg .bio__handle,
.bio-has-bg .bio__text,
.bio-has-bg .bio__credit {
  text-shadow: 0 1px 3px var(--bio-ink-shadow, transparent);
}

.bio-has-bg .bio__handle,
.bio-has-bg .bio__text,
.bio-has-bg .bio__credit {
  color: var(--bio-ink-soft, var(--faint));
}

.bio-has-bg .bio__credit:hover {
  color: var(--bio-ink, var(--ink));
}

.bio-has-bg .bio-link:not(.bio-link--custom):not(.bio-link--accent) {
  background: var(--bio-surface, var(--card));
  border-color: var(--bio-surface-border, var(--border));
  color: var(--bio-ink, var(--ink));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.bio-has-bg .bio-link:not(.bio-link--custom):not(.bio-link--accent) .arrow,
.bio-has-bg .bio-link:not(.bio-link--custom):not(.bio-link--accent) .ext {
  color: var(--bio-ink, var(--accent-strong));
}

.bio-has-bg .bio-link:not(.bio-link--custom):not(.bio-link--accent):hover {
  border-color: var(--bio-ink, var(--accent));
}

body:has(.bio-has-bg) .public-theme {
  display: none;
}

.interstitial {
  width: 100%;
  max-width: 460px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: clamp(26px, 4vw, 38px);
  text-align: center;
}

.interstitial__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.interstitial__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 26px);
  letter-spacing: -.01em;
  margin: 0 0 10px;
}

.interstitial__text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 22px;
}

.interstitial__text strong {
  color: var(--ink);
  font-weight: 600;
}

.dest-box {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card-2);
  padding: 16px;
  text-align: left;
  margin-bottom: 14px;
}

.dest-box__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 8px;
}

.dest-box__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dest-box__globe {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  flex: none;
}

.dest-box__url {
  min-width: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  word-break: break-all;
}

.dest-box__url .path {
  color: var(--faint);
}

.via {
  font-size: 12.5px;
  color: var(--faint);
  margin-bottom: 22px;
}

.via strong {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--muted);
}

.interstitial__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  display: inline-block;
  animation: spin .8s linear infinite;
  margin: 0 auto 20px;
}

.safety-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.errpage {
  width: 100%;
  max-width: 480px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.errpage__code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(78px, 16vw, 128px);
  line-height: .9;
  letter-spacing: -.04em;
  margin-bottom: 8px;
}

.errpage__code--grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.errpage__code--muted {
  color: var(--border-strong);
}

.errpage__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -.01em;
  margin: 0 0 10px;
}

.errpage__text {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 22px;
  max-width: 380px;
}

.errpage__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.handle-pill {
  display: inline-flex;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 11px 16px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}

.handle-pill .dim {
  color: var(--faint);
}

.code-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--faint);
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
  font-family: var(--font-display);
  margin-top: 22px;
}

.page-toggle-fixed {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 10;
}

.rd-confirm,
.rd-auto {
  display: none;
}

.interstitial.is-safe .rd-confirm {
  display: block;
}

.interstitial:not(.is-safe) .rd-auto {
  display: block;
}

.errpage--standalone {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 6vw, 64px) 20px;
}

.legal-page {
  min-height: 100vh;
  padding: clamp(64px, 11vw, 116px) 20px clamp(48px, 8vw, 88px);
  background-image: radial-gradient(58% 30% at 50% 0%, var(--accent-soft), transparent 70%);
}

.legal {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.legal__brand {
  font-size: 17px;
}

.legal__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 38px);
  letter-spacing: -.02em;
  margin: 26px 0 6px;
}

.legal__updated {
  font-size: 13px;
  color: var(--faint);
  margin: 0 0 22px;
}

.legal__lead {
  font-size: 16.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 8px;
}

.legal__section {
  margin-top: 30px;
}

.legal__section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -.01em;
  margin: 0 0 10px;
}

.legal__section p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 12px;
}

.legal__section a {
  color: var(--accent-strong);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent-strong) 35%, transparent);
}

.legal__section a:hover {
  border-bottom-color: var(--accent-strong);
}

.legal__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
}

.legal__nav a {
  color: var(--muted);
  text-decoration: none;
}

.legal__nav a:hover {
  color: var(--ink);
}

.report__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.report__opt {
  font-weight: 500;
  font-size: 11.5px;
  color: var(--faint);
  text-transform: none;
  letter-spacing: 0;
}

.report__select {
  font-size: 15px;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--card-2);
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.report__select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.report__error {
  margin-top: 22px;
  padding: 12px 15px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: color-mix(in srgb, #e5484d 14%, transparent);
  border: 1px solid color-mix(in srgb, #e5484d 38%, transparent);
}

.report__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.report__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.filecard {
  width: 100%;
  max-width: 440px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px 28px;
  box-shadow: var(--shadow);
}

.filecard__icon {
  position: relative;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--surface-2, var(--bg-soft));
  border: 1px solid var(--border);
  color: var(--muted);
  margin-bottom: 20px;
}

.filecard__badge {
  position: absolute;
  bottom: -8px;
  right: -8px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .03em;
  color: #fff;
  background: var(--grad);
  border-radius: 7px;
  padding: 3px 7px;
  box-shadow: var(--shadow-sm);
}

.filecard__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 2.4vw, 22px);
  letter-spacing: -.01em;
  line-height: 1.3;
  margin: 0 0 6px;
  word-break: break-word;
}

.filecard__fname {
  font-size: 13px;
  color: var(--faint);
  margin: -2px 0 4px;
  word-break: break-word;
}

.filecard__meta {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 24px;
}

.filecard__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  margin: -12px 0 22px;
  white-space: pre-wrap;
  word-break: break-word;
}

.filecard__expiry {
  font-size: 12.5px;
  color: var(--faint);
  margin: 14px 0 0;
}

.filecard__actions {
  width: 100%;
  display: flex;
  justify-content: center;
}

.filecard__dl {
  width: 100%;
  max-width: 280px;
  gap: 9px;
}

.filecard__brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--faint);
  text-decoration: none;
}

.filecard__brand:hover {
  color: var(--muted);
}

.filecard--haspreview {
  max-width: 560px;
}

.filecard__icon--lock {
  color: var(--accent);
}

.filecard__preview {
  width: 100%;
  margin-bottom: 22px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-soft);
}

.filecard__img {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  background:
    repeating-conic-gradient(var(--bg-soft) 0% 25%, var(--card) 0% 50%) 50% / 22px 22px;
}

.filecard__media {
  display: block;
  width: 100%;
  max-height: 460px;
  background: #000;
}

.filecard__preview--audio {
  padding: 18px;
  background: var(--bg-soft);
}

.filecard__audio {
  width: 100%;
  display: block;
}

.filecard__preview--text {
  background: var(--bg-soft);
  text-align: left;
}

.filecard__text {
  margin: 0;
  padding: 16px;
  max-height: 420px;
  overflow: auto;
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 12.5px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--ink);
  tab-size: 2;
}

.filecard__unlock {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filecard__pw {
  width: 100%;
  padding: 11px 14px;
  border-radius: 11px;
  border: 1px solid var(--border-strong, var(--border));
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 15px;
  text-align: center;
}

.filecard__pw:focus {
  outline: none;
  border-color: var(--accent);
}

.filecard__err {
  font-size: 13.5px;
  color: var(--danger, #d6483b);
  margin: 0 0 14px;
}

.events {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  padding: 42px 18px 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.events__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.events__head .bio__avatar {
  width: 58px;
  height: 58px;
  font-size: 19px;
  margin: 0;
  flex: none;
}

.events__who {
  min-width: 0;
}

.events__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
}

.events__handle {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.events__title {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.1;
  margin: 0 0 6px;
}

.events__month-label {
  margin: 26px 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
}

.evrow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.evrow:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}

.evrow--cancelled {
  opacity: .62;
}

.evrow--cancelled .evrow__title {
  text-decoration: line-through;
}

.datechip {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: grid;
  place-items: center;
  flex: none;
  font-family: var(--font-display);
  line-height: 1;
}

.datechip__dow {
  font-size: 10.5px;
  text-transform: uppercase;
  font-weight: 700;
}

.datechip__day {
  font-size: 19px;
  font-weight: 700;
}

.datechip--lg {
  width: 68px;
  height: 68px;
  background: var(--grad);
  color: var(--accent-ink);
}

.datechip--lg .datechip__mon {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.datechip--lg .datechip__day {
  font-size: 27px;
}

.evrow__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.evrow__title {
  font-size: 15.5px;
  font-weight: 650;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.evrow__meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.evrow__spots {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 11.5px;
  font-weight: 700;
}

.evrow__spots--full {
  color: var(--red);
  background: transparent;
  border: 1px solid var(--red);
}

.evrow__badge--cancelled,
.evpage__badge--cancelled {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--red);
  color: var(--red);
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
}

.ama {
  max-width: 640px;
  align-items: stretch;
  text-align: left;
}

.ama > .bio__avatar {
  align-self: center;
}

.ama__title {
  margin: 0;
  color: var(--bio-ink, var(--ink));
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 34px);
  line-height: 1.1;
  text-align: center;
  overflow-wrap: anywhere;
}

.ama__handle {
  align-self: center;
  color: var(--bio-ink-soft, var(--faint));
  text-decoration: none;
}

.ama__intro {
  max-width: 520px;
  margin: 0 auto 22px;
  color: var(--bio-ink-soft, var(--muted));
  line-height: 1.6;
  text-align: center;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.ama__form,
.ama__done {
  width: 100%;
  margin-top: 0;
  background: var(--bio-surface, var(--card));
  border-color: var(--bio-surface-border, var(--border));
}

.ama__closed,
.ama__empty {
  padding: 18px;
  color: var(--bio-ink-soft, var(--muted));
  text-align: center;
}

.ama__list {
  width: 100%;
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.ama__item {
  padding: 20px;
  background: var(--bio-surface, var(--card));
  border: 1px solid var(--bio-surface-border, var(--border));
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.ama__q {
  color: var(--bio-ink-soft, var(--muted));
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.ama__meta {
  margin-top: 7px;
  color: var(--bio-ink-soft, var(--faint));
  font-size: 12px;
}

.ama__a {
  margin-top: 14px;
  color: var(--bio-ink, var(--ink));
  font-size: 15.5px;
  line-height: 1.65;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.ama__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.ama__report {
  margin-top: 34px;
}

.bio-has-bg .ama__title,
.bio-has-bg .ama__handle,
.bio-has-bg .ama__intro,
.bio-has-bg .ama__closed,
.bio-has-bg .ama__empty {
  text-shadow: 0 1px 3px var(--bio-ink-shadow, transparent);
}

.contact__form,
.contact__done {
  width: 100%;
  margin-top: 0;
  background: var(--bio-surface, var(--card));
  border-color: var(--bio-surface-border, var(--border));
}

.contact__topics {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.contact__topics legend {
  padding: 0;
  margin-bottom: 8px;
}

.contact__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact__chip {
  position: relative;
  display: inline-flex;
}

.contact__chip input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.contact__chip span {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.contact__chip input:checked + span {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
}

.contact__chip input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.contact__note {
  margin: 0;
  line-height: 1.55;
}

.evpage {
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  padding: 42px 18px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.evpage__back {
  width: fit-content;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

.evpage__back:hover {
  color: var(--ink);
}

.evpage__hero {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.evpage__headings {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.evpage__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 5vw, 32px);
  line-height: 1.08;
  margin: 0;
  overflow-wrap: anywhere;
}

.evpage__when {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.evpage__when-local {
  color: var(--faint);
  font-size: 13.5px;
}

.evpage__loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

a.evpage__loc {
  color: var(--accent-strong);
}

.evpage__desc {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  margin: 4px 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.evpage__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.evpage__spots {
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
}

.evpage__cal {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.evform,
.evform__done {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 14px;
  margin-top: 2px;
}

.evform__err {
  padding: 12px 15px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: color-mix(in srgb, var(--red) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--red) 38%, transparent);
}

.evform__note {
  margin: -4px 0 0;
  font-size: 12.5px;
  color: var(--faint);
}

.evform__done {
  align-items: center;
  justify-items: center;
  text-align: center;
}

.evform__done p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.evform__done-check {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: var(--accent-soft);
}

.evform__cancel-link {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--card-2);
  border: 1px dashed var(--border-strong);
}

.evform__cancel-link code {
  min-width: 0;
  font-size: 12.5px;
  word-break: break-all;
  color: var(--ink);
}

.evpage__closed {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--muted);
  line-height: 1.5;
}

.evpage__closed--cancelled {
  color: var(--red);
  border-color: var(--red);
  background: transparent;
}

.evpage__closed-reason {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-style: italic;
}

.evpage__org {
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
}

.evpage__org a {
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 700;
}

.events__empty {
  text-align: center;
  color: var(--muted);
  padding: 54px 18px 42px;
}

.events__empty p {
  margin: 0;
}

.events__empty-sub {
  color: var(--faint);
  margin-top: 6px !important;
}

.bio__events {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bio-surface, var(--card));
  border: 1px solid var(--bio-surface-border, var(--border));
  color: var(--bio-ink, var(--ink));
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}

.bio__events:hover {
  transform: translateY(-1px);
}

.evpage--cancel {
  max-width: 560px;
  text-align: center;
  align-items: center;
}

.evpage__cancel-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.evpage__cancel-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.evpage__cancel-reason {
  flex-basis: 100%;
  text-align: left;
  margin-bottom: 4px;
}

.evpage__cancel-reason textarea {
  resize: vertical;
}

@media (max-width: 560px) {
  .events,
  .evpage {
    padding-inline: 14px;
  }

  .evrow {
    padding: 12px;
    gap: 11px;
  }

  .evpage__hero {
    gap: 13px;
  }

  .datechip--lg {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .datechip--lg .datechip__day {
    font-size: 22px;
  }

  .evpage__meta-row,
  .evpage__cal {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .evpage__cal .btn {
    width: 100%;
  }

  .evform__cancel-link {
    grid-template-columns: 1fr;
  }
}

.evrow__icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
}

.evpage__banner {
  margin: 14px 0 18px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.evpage__banner img {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}

.evpage__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.evpage__title:has(.evpage__icon) {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bookpage__desc {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.bookpage .events__head {
  margin-bottom: 28px;
}

.bookpage .events__title {
  margin-bottom: 10px;
}

.bookform {
  padding: 24px;
  gap: 16px;
}

.bookpage .evform__done {
  padding: 28px 24px;
}

.events__book-cta {
  margin-bottom: 18px;
}

.bookdays {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 20px;
  scrollbar-width: thin;
}

.bookday {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 66px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
  transition: border-color .12s ease, background .12s ease;
}

.bookday:hover {
  border-color: var(--border-strong);
}

.bookday.is-active {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--card));
}

.bookday__dow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--faint);
}

.bookday__day {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
}

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

.bookslots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
}

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

.bookslot__pill {
  display: block;
  text-align: center;
  padding: 11px 8px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--card);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: border-color .12s ease, background .12s ease;
}

.bookslot__pill:hover {
  border-color: var(--border-strong);
}

.bookslot input:checked + .bookslot__pill {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, var(--card));
}

.bookslot input:focus-visible + .bookslot__pill {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.bookpage__tz {
  margin: 0 0 2px;
  font-size: 12.5px;
  color: var(--faint);
}

@media (max-width: 640px) {
  .bookform {
    padding: 20px 16px;
  }
}

.bookpage__done-when {
  font-weight: 700;
  margin: 4px 0 0;
}
