:root {
  font-family: Inter, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: #303546;
  background: #f8f9fc;
  font-synthesis: none;
  --ink: #303546;
  --muted: #83899b;
  --accent: #7864c6;
  --line: #e8eaf1;
  --surface: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #b7a8f0;
  outline-offset: 5px;
}
button {
  border: 0;
}
button:disabled {
  cursor: default;
  opacity: 0.4;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  background: white;
  padding: 12px;
  z-index: 10;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #f8f9fc;
  height: 104px;
  max-width: 1540px;
  margin: auto;
  padding: 0 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 20px;
  letter-spacing: -0.6px;
  font-weight: 750;
}
.brand-light {
  font-weight: 450;
  color: #6d7284;
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  margin-top: 5px;
  color: #9297a6;
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #7864c6;
  color: white;
  font-size: 32px;
  font-weight: 650;
  letter-spacing: -5px;
  padding-right: 5px;
  transform: rotate(-6deg);
}
.brand-mark span {
  color: #f9dc89;
  font-size: 24px;
  margin-top: 6px;
}
.official-link {
  font-size: 12px;
  color: #747b8f;
  display: flex;
  gap: 17px;
  align-items: center;
}
.official-link span {
  font-size: 21px;
}
.page-shell {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  gap: 52px;
  max-width: 1540px;
  margin: auto;
  padding: 44px 54px 0;
}
.sidebar {
  position: sticky;
  top: calc(var(--header-height, 104px) + 24px);
  align-self: start;
  padding-top: 6px;
  max-height: calc(100dvh - var(--header-height, 104px) - 48px);
  overflow-y: auto;
}
.sidebar-caption {
  font-size: 9px;
  letter-spacing: 2px;
  color: #9b9fb0;
  font-weight: 650;
}
.sidebar h2 {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 0.6px;
  margin: 15px 0 9px;
}
.tiny-star {
  color: #ac99d6;
  margin-left: 14px;
  font-size: 18px;
}
.sidebar-description {
  font-size: 11px;
  color: #969bac;
  margin: 0 0 35px;
}
.filter-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #858c9c;
  margin-bottom: 13px;
}
.filter-top button {
  font-size: 10px;
  background: none;
  padding: 5px 0;
  color: var(--accent);
}
.band-filters {
  display: grid;
  gap: 4px;
}
.band-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  width: 100%;
  padding: 10px 11px;
  border-radius: 8px;
  background: transparent;
  color: #697185;
  font-size: 11px;
  min-height: 36px;
  transition:
    background 0.15s,
    opacity 0.15s;
}
.band-filter:hover {
  background: #eeedf6;
}
.band-filter[aria-pressed="false"] {
  opacity: 0.4;
}
.band-filter .band-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--band-color);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--band-color) 9%, transparent);
}
.band-filter .band-check {
  margin-left: auto;
  color: #a2a6b4;
  font-size: 11px;
}
.band-filter[aria-pressed="false"] .band-check {
  visibility: hidden;
}
.legend-note {
  display: flex;
  gap: 11px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 22px;
  align-items: center;
}
.legend-example {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: conic-gradient(
    #ff3377 0% 33.333%,
    #3344aa 33.333% 66.666%,
    #3388bb 66.666%
  );
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #e9eaf0;
}
.legend-note p {
  font-size: 10px;
  line-height: 1.9;
  color: #9399a9;
  margin: 0;
}
.sidebar-bottom {
  margin-top: 25px;
  font-size: 9px;
  color: #a2a8b5;
  display: flex;
  align-items: center;
  gap: 7px;
}
.live-dot {
  width: 5px;
  height: 5px;
  background: #88ad9f;
  border-radius: 50%;
}
main {
  min-width: 0;
}

.eyebrow {
  font-size: 9px;
  letter-spacing: 2.3px;
  font-weight: 650;
  color: #9695a9;
  display: flex;
  gap: 8px;
  align-items: center;
}
.eyebrow span {
  height: 5px;
  width: 5px;
  background: #baa8de;
  border-radius: 50%;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 0;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.view-label {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  gap: 9px;
  align-items: center;
  white-space: nowrap;
}
.calendar-symbol {
  font-size: 19px;
  color: #8e81b4;
}
.timezone-label {
  font-size: 8px;
  letter-spacing: 0.6px;
  color: #a5a9b5;
  border: 1px solid #e1e4ed;
  border-radius: 4px;
  padding: 3px 4px;
  margin-left: 2px;
}
.toolbar-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
input[type="month"] {
  font-size: 11px;
  color: #676e83;
  border: 1px solid #e1e4ed;
  padding: 9px 10px;
  border-radius: 8px;
  background: #fff;
  max-width: 153px;
  height: 35px;
}
.today-button {
  background: #eeebf8;
  border: 1px solid #e4dff3;
  color: #7864ad;
  border-radius: 8px;
  font-size: 11px;
  padding: 9px 15px;
  white-space: nowrap;
  min-height: 35px;
}
.today-button:hover {
  background: #e4ddf5;
}
.mobile-filter-button {
  display: none;
}
.data-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #959bab;
  min-height: 26px;
  flex-wrap: wrap;
}
.status-dot {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #b3a5d4;
}
.data-status.error {
  color: #a65567;
}
.data-status.error .status-dot {
  background: #c16a80;
}
.data-status button {
  font-size: 11px;
  text-decoration: underline;
  background: none;
  color: inherit;
  padding: 4px;
}
.edge-button {
  display: block;
  background: transparent;
  color: #a0a5b4;
  font-size: 10px;
  margin: 8px auto 19px;
  padding: 8px 12px;
  letter-spacing: 0.8px;
}
.edge-button:hover {
  color: var(--accent);
}
.month-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.month-card {
  display: block;
  background: #fff;
  border: 1px solid #e8eaf2;
  border-radius: 14px;
  padding: 22px 16px 16px;
  box-shadow: 0 3px 12px #3d455403;
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
  min-width: 0;
  position: relative;
  scroll-margin-top: 25px;
}
.month-card:hover {
  transform: translateY(-3px);
  border-color: #bcb0db;
  box-shadow: 0 9px 24px #4d3d7b0b;
}
.month-card.is-current {
  border-color: #c5b7e5;
  box-shadow: 0 0 0 1px #ece6f6;
}
.month-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 7px;
}
.month-title {
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.month-title strong {
  font-size: 27px;
  line-height: 1;
  letter-spacing: -1px;
  font-weight: 600;
}
.month-title small {
  font-size: 10px;
  color: #a4a8b7;
  font-weight: 400;
  letter-spacing: 0.4px;
}
.month-arrow {
  font-size: 17px;
  color: #c4c5cf;
}
.month-card:hover .month-arrow {
  color: var(--accent);
}
.month-badge {
  font-size: 8px;
  color: #9b87bf;
  border: 1px solid #e9e0f2;
  border-radius: 5px;
  padding: 3px 5px;
  letter-spacing: 0.6px;
}
.month-subtitle {
  color: #a7aab8;
  font-size: 9px;
  letter-spacing: 1.1px;
  margin: 0 0 17px;
}
.weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  text-align: center;
  font-size: 9px;
  color: #9da3b2;
  padding-bottom: 9px;
}
.weekdays span:first-child {
  color: #c296a7;
}
.weekdays span:last-child {
  color: #9aa8c5;
}
.dates-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-template-rows: repeat(6, 39px);
  align-items: center;
  justify-items: center;
}
.day {
  height: 34px;
  width: 34px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: #687084;
}
.day-number {
  position: relative;
  z-index: 1;
  line-height: 23px;
  min-width: 23px;
  text-align: center;
  border-radius: 50%;
}
.day.has-events {
  background: var(--day-paint);
  border-radius: 50%;
  box-shadow: 0 2px 4px #3944520b;
}
.day.has-events .day-number {
  background: #ffffffeb;
  color: #414658;
  font-size: 10px;
  font-weight: 650;
  line-height: 22px;
  min-width: 22px;
}
.day.is-today:not(.has-events) {
  border: 1px solid #b5a5d3;
  border-radius: 50%;
  color: #7e66b0;
  font-weight: 700;
}
.day.is-today:after {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  background: #7864c6;
  border-radius: 50%;
  bottom: -5px;
}
.month-bottom {
  margin-top: 17px;
  border-top: 1px solid #f0f1f6;
  padding-top: 13px;
  font-size: 9px;
  color: #a4aaba;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.month-bottom.active {
  color: #9590ac;
}
.month-bottom strong {
  font-weight: 500;
  color: #786b9e;
}
.month-dots {
  display: flex;
  gap: 3px;
  align-items: center;
  max-width: 100px;
  overflow: hidden;
}
.month-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--band-color);
  flex-shrink: 0;
}
.bottom-button {
  margin-top: 22px;
}
.page-footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 27px 0 31px;
  margin-top: 32px;
}
.page-footer > span {
  font-size: 8px;
  letter-spacing: 2px;
  color: #aaaebc;
}
.page-footer > span > span {
  color: #b7a2d4;
  margin-left: 5px;
}
.page-footer p {
  font-size: 9px;
  line-height: 1.8;
  color: #a4aab7;
  margin: 12px 0 0;
}
.page-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.month-detail {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px;
  min-height: 440px;
  margin-top: 20px;
}
.back-button {
  background: transparent;
  color: #8e7baa;
  padding: 8px 0;
  font-size: 12px;
}
.noscript {
  padding: 24px;
  text-align: center;
}
.mobile-filters {
  display: none;
  padding: 10px 0 20px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 1550px) {
  .month-card {
    padding: 25px 22px 18px;
  }
  .dates-grid {
    grid-template-rows: repeat(6, 44px);
  }
}
@media (max-width: 1240px) {
  .site-header {
    padding: 0 34px;
  }
  .page-shell {
    padding: 34px 34px 0;
    gap: 28px;
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .month-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .month-card {
    padding: 23px 24px 18px;
  }
  .dates-grid {
    grid-template-rows: repeat(6, 41px);
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 77px;
    padding: 0 22px;
  }
  .brand {
    font-size: 18px;
    gap: 10px;
  }
  .brand-mark {
    width: 35px;
    height: 35px;
    border-radius: 11px;
    font-size: 28px;
  }
  .brand small {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .official-link {
    font-size: 10px;
    gap: 6px;
  }
  .page-shell {
    display: block;
    padding: 27px 22px 0;
  }
  .sidebar {
    display: none;
  }

  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
  }

  .toolbar {
    padding: 12px 0;
    gap: 8px;
  }
  .view-label {
    font-size: 11px;
    gap: 5px;
  }
  .calendar-symbol {
    font-size: 17px;
  }
  .timezone-label {
    display: none;
  }
  .toolbar-actions {
    gap: 6px;
  }
  input[type="month"] {
    font-size: 10px;
    padding: 6px;
    max-width: 126px;
    height: 33px;
  }
  .today-button {
    font-size: 10px;
    padding: 7px 11px;
    min-height: 33px;
  }
  .mobile-filter-button {
    display: block;
    background: white;
    border: 1px solid #e1e4ed;
    border-radius: 7px;
    color: #818699;
    padding: 8px;
    font-size: 10px;
    min-height: 33px;
  }
  .mobile-filter-button[aria-expanded="true"] {
    background: #eae4f5;
    color: #7864ad;
  }
  .mobile-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 10px;
  }
  .mobile-filters .band-filter {
    font-size: 10px;
    padding: 11px 9px;
  }
  .data-status {
    font-size: 9px;
    min-height: 28px;
  }
  .month-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 480px;
    margin: auto;
  }
  .month-card {
    padding: 24px 24px 19px;
    border-radius: 16px;
    scroll-margin-top: 70px;
  }
  .month-card:hover {
    transform: none;
  }
  .month-title strong {
    font-size: 32px;
  }
  .month-title small {
    font-size: 12px;
  }
  .month-heading {
    margin-bottom: 8px;
  }
  .month-subtitle {
    font-size: 10px;
    margin-bottom: 19px;
  }
  .month-badge {
    font-size: 9px;
    padding: 4px 7px;
  }
  .weekdays {
    font-size: 10px;
    padding-bottom: 12px;
  }
  .dates-grid {
    grid-template-rows: repeat(6, 43px);
  }
  .day {
    font-size: 12px;
    height: 36px;
    width: 36px;
  }
  .day.has-events .day-number {
    font-size: 11px;
    line-height: 23px;
    min-width: 23px;
  }
  .month-bottom {
    font-size: 10px;
    margin-top: 15px;
    padding-top: 15px;
  }
  .edge-button {
    margin-top: 5px;
    margin-bottom: 15px;
    font-size: 10px;
  }
  .bottom-button {
    margin-top: 20px;
  }
  .month-detail {
    padding: 23px;
    min-height: 430px;
  }
  .page-footer {
    margin-top: 26px;
  }
  .page-footer p {
    font-size: 9px;
  }
  .page-footer > span {
    font-size: 7px;
    letter-spacing: 1.5px;
  }
}
@media (max-width: 360px) {
  .site-header {
    padding: 0 15px;
  }
  .page-shell {
    padding: 23px 15px 0;
  }
  .brand {
    font-size: 16px;
  }
  .official-link {
    font-size: 9px;
  }
  .view-label {
    font-size: 10px;
  }
  .calendar-symbol {
    display: none;
  }
  .month-card {
    padding: 22px 17px 17px;
  }
  input[type="month"] {
    max-width: 114px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.month-grid {
  overflow-anchor: none;
}
.mobile-reset {
  grid-column: 1/-1;
  background: #eeebf8;
  color: #7864ad;
  border-radius: 8px;
  padding: 10px;
  font-size: 11px;
  margin-top: 7px;
}

/* Keep the entire calendar control block reachable while months are inserted. */
html {
  scrollbar-gutter: stable;
}
.calendar-controls {
  position: sticky;
  top: var(--header-height, 104px);
  z-index: 10;
  background: #f8f9fc;
  padding-top: 0;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.calendar-controls .toolbar {
  position: static;
  background: none;
}
.calendar-controls + .mobile-filters {
  position: sticky;
  top: calc(var(--header-height, 104px) + var(--controls-height, 66px));
  z-index: 9;
  background: #f8f9fc;
  max-height: 55dvh;
  overflow-y: auto;
}
.month-card {
  scroll-margin-top: calc(
    var(--header-height, 104px) + var(--controls-height, 66px) +
      var(--mobile-filters-height, 0px) + 20px
  );
}
.edge-status {
  color: #a0a5b4;
  font-size: 10px;
  text-align: center;
  letter-spacing: 0.8px;
  padding: 8px 12px;
  margin: 22px auto 19px;
}
.month-detail {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 6px 0 0;
  min-height: 440px;
}
.back-button {
  min-height: 42px;
}
.detail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 22px 0 14px;
}
.detail-heading h2 {
  font-size: 31px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 10px 0 0;
}
.detail-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.detail-nav a {
  display: block;
  padding: 11px 14px;
  font-size: 11px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #84749e;
}
.detail-nav a:hover {
  border-color: #b5a4d5;
  background: #f2eef9;
}
.detail-summary {
  color: #9197a7;
  font-size: 11px;
  line-height: 1.8;
  margin: 0 0 25px;
}
.event-list {
  display: grid;
  gap: 16px;
}
.event-card {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  width: 100%;
  padding: 26px;
  text-align: left;
  border: 1px solid #e5e7ef;
  border-radius: 15px;
  background: white;
  color: var(--ink);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.event-card:hover {
  border-color: #baaacf;
  box-shadow: 0 6px 24px #4d3d7b09;
}
.event-date-badge {
  flex: 0 0 70px;
  padding: 14px 8px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--event-color) 7%, white);
  text-align: center;
}
.event-date-badge span {
  display: block;
  font-size: 10px;
  color: #8d879b;
}
.event-date-badge strong {
  display: block;
  font-size: 31px;
  font-weight: 550;
  margin: 5px 0;
  color: #635a78;
}
.event-date-badge small {
  display: block;
  font-size: 9px;
  color: #a29cad;
}
.event-card-content {
  flex: 1;
  min-width: 0;
}
.event-bands {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.event-band {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #727082;
  line-height: 1.5;
  padding: 4px 8px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--band-color) 7%, white);
  border: 1px solid color-mix(in srgb, var(--band-color) 13%, white);
}
.event-band::before {
  content: "";
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--band-color);
}
.event-card h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  margin: 11px 0 9px;
  overflow-wrap: anywhere;
}
.event-card-date {
  color: #838398;
  font-size: 11px;
  line-height: 1.7;
  margin: 5px 0;
}
.event-card-place {
  color: #9a9cad;
  font-size: 11px;
  line-height: 1.7;
  margin: 5px 0;
  overflow-wrap: anywhere;
}
.event-label {
  display: inline-block;
  font-size: 10px;
  color: #9383ac;
  margin-top: 7px;
}
.event-card-arrow {
  color: #b6a9c9;
  font-size: 21px;
  flex-shrink: 0;
  padding-top: 1px;
}
.detail-message {
  font-size: 12px;
  color: #9791a9;
  margin: 8px 0 4px;
}
.event-skeleton {
  height: 172px;
  background: linear-gradient(105deg, #eeedf4, #f6f5f9, #eeedf4);
  border: 1px solid #e9e8f0;
  border-radius: 15px;
}
.detail-empty {
  padding: 65px 24px;
  text-align: center;
  border: 1px dashed #dfd9ec;
  border-radius: 16px;
  background: #ffffff90;
}
.detail-empty h3 {
  font-size: 19px;
  font-weight: 500;
  color: #77708a;
}
.detail-empty p {
  font-size: 12px;
  color: #9b95a8;
  line-height: 1.9;
}
.empty-symbol {
  font-size: 25px;
  color: #b1a0ce;
}
.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 9px;
  border: 1px solid transparent;
  text-align: center;
}
.action-button.primary {
  background: #806bb8;
  color: white;
  border-color: #806bb8;
}
.action-button.primary:hover {
  background: #705aab;
}
.action-button.secondary {
  color: #8c7ca4;
  background: #f6f3fa;
  border-color: #e7e0ef;
}
.event-dialog {
  width: min(640px, calc(100vw - 40px));
  max-height: min(850px, 88dvh);
  padding: 0;
  border: 1px solid #ffffffb3;
  border-radius: 20px;
  background: white;
  color: var(--ink);
  box-shadow: 0 25px 100px #2d20493b;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.event-dialog::backdrop {
  background: #302a474d;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.event-modal {
  padding: 27px 32px 30px;
  position: relative;
  overflow: hidden;
}
.event-modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--event-paint);
}
.modal-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.modal-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f4f1f8;
  color: #9786ac;
  font-size: 24px;
  font-weight: 300;
}
.event-modal h2 {
  font-size: 23px;
  line-height: 1.65;
  font-weight: 600;
  margin: 17px 0 24px;
  overflow-wrap: anywhere;
}
.event-fields {
  margin: 0;
  border-top: 1px solid #eeebf3;
}
.event-field {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid #eeebf3;
  font-size: 12px;
  line-height: 1.8;
}
.event-field dt {
  color: #a39aaf;
}
.event-field dd {
  margin: 0;
  color: #726b80;
  overflow-wrap: anywhere;
}
.official-event-link {
  color: #8067ac;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.calendar-help {
  font-size: 10px;
  line-height: 1.9;
  color: #a49bad;
  margin: 13px 0 0;
}
.event-metadata {
  font-size: 10px;
  color: #a59bae;
  margin-top: 22px;
  border-top: 1px solid #eeebf3;
  padding-top: 15px;
}
.event-metadata summary {
  cursor: pointer;
}
.event-metadata p {
  overflow-wrap: anywhere;
  line-height: 1.8;
}
body.modal-open {
  overflow: hidden;
}
@media (max-width: 760px) {
  .calendar-controls {
    padding-top: 0;
  }
  .calendar-controls + .mobile-filters {
    top: calc(var(--header-height, 77px) + var(--controls-height, 58px));
  }
  .month-detail {
    padding: 2px 0 0;
  }
  .detail-heading {
    align-items: flex-start;
    gap: 12px;
    margin-top: 19px;
  }
  .detail-heading h2 {
    font-size: 24px;
  }
  .detail-nav {
    gap: 5px;
  }
  .detail-nav a {
    padding: 9px 7px;
    font-size: 10px;
  }
  .detail-summary {
    font-size: 10px;
    margin-bottom: 18px;
  }
  .event-card {
    padding: 18px 15px;
    gap: 13px;
    border-radius: 13px;
  }
  .event-date-badge {
    flex-basis: 48px;
    padding: 11px 5px;
    border-radius: 8px;
  }
  .event-date-badge strong {
    font-size: 26px;
  }
  .event-date-badge small {
    font-size: 8px;
  }
  .event-card h3 {
    font-size: 14px;
    line-height: 1.75;
  }
  .event-card-arrow {
    display: none;
  }
  .event-band {
    font-size: 9px;
    padding: 3px 5px;
  }
  .event-card-date,
  .event-card-place {
    font-size: 10px;
  }
  .event-dialog {
    width: calc(100vw - 28px);
    max-height: 90dvh;
    border-radius: 17px;
  }
  .event-modal {
    padding: 20px 22px 25px;
  }
  .event-modal h2 {
    font-size: 19px;
  }
  .event-field {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 8px;
    font-size: 11px;
    padding: 14px 0;
  }
  .modal-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 20px;
  }
  .calendar-help {
    font-size: 9px;
  }
}
