:root {
  --paper: #f7f6f0;
  --white: #fffefa;
  --ink: #242a26;
  --muted: #68716a;
  --line: #dcded4;
  --accent: #a85332;
  --sage: #e5eadf;
  --radius: 18px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    'PingFang SC',
    'Microsoft YaHei',
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #ad5c35;
  outline-offset: 4px;
}
button:disabled {
  cursor: default;
}
img,
svg {
  display: block;
  max-width: 100%;
}
.shell {
  max-width: 1180px;
  margin: auto;
  padding: 0 36px;
}
.skip {
  position: fixed;
  top: -100px;
  left: 12px;
  padding: 10px;
  background: var(--ink);
  color: white;
  z-index: 200;
}
.skip:focus {
  top: 10px;
}
.topbar {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.wordmark {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 750;
  letter-spacing: -0.5px;
  font-size: 18px;
}
.brand-icon {
  width: 33px;
  height: 33px;
  background: var(--ink);
  color: #f4f2e6;
  display: grid;
  place-items: center;
  font-size: 13px;
  line-height: 1;
  border-radius: 7px;
  letter-spacing: -1px;
}
.wordmark small {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 1px;
  display: block;
  margin-top: -3px;
}
.desktop-nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
}
.desktop-nav a[aria-current='page'] {
  border-bottom: 2px solid var(--accent);
  padding-bottom: 5px;
}
.edition {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
}
.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 70px;
  padding: 48px 0 38px;
  align-items: end;
}
.eyebrow {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: -2px;
  margin: 18px 0 16px;
}
h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero p {
  font-size: 15px;
  color: var(--muted);
  max-width: 510px;
  margin: 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.section-head h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
  margin: 0;
  font-weight: 650;
}
.section-head small {
  font-size: 11px;
  color: var(--muted);
}
.topic-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.search-wrap {
  position: relative;
  flex: 1;
  max-width: 370px;
}
.search-wrap span {
  position: absolute;
  left: 14px;
  top: 11px;
  color: var(--muted);
}
.search {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 12px 16px 12px 38px;
  font-size: 14px;
  min-height: 47px;
  color: var(--ink);
}
.category-tabs {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 0 14px;
  margin: 0 0 16px;
  border-bottom: 1px solid var(--line);
}
.category-tabs button {
  padding: 4px 0;
  border: 0;
  white-space: nowrap;
  background: transparent;
  font-size: 13px;
  color: var(--muted);
  min-height: 38px;
}
.category-tabs button[aria-pressed='true'] {
  color: var(--accent);
  font-weight: 700;
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.topic-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 232px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition:
    transform 0.18s,
    border-color 0.18s;
}
.topic-card:hover {
  transform: translateY(-3px);
  border-color: #969d90;
}
.topic-card.first-six {
  background: color-mix(in srgb, var(--accent) 6%, var(--white));
}
.topic-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 23px;
}
.topic-number {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--muted);
}
.topic-symbol {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid color-mix(in srgb, var(--accent) 50%, white);
  color: var(--accent);
  border-radius: 50%;
  font-size: 23px;
  line-height: 1;
  font-weight: 400;
}
.topic-card h3 {
  font-size: 21px;
  line-height: 1.3;
  margin: 0 0 5px;
  letter-spacing: -0.6px;
  font-weight: 620;
}
.topic-card .english {
  font-family: ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 1.3px;
  color: var(--muted);
  margin-bottom: 18px;
}
.topic-card .desc {
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 19px;
}
.topic-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}
.topic-foot b {
  font-size: 16px;
  font-weight: 600;
  margin-right: 3px;
}
.topic-foot .arrow {
  font-size: 22px;
  color: var(--accent);
}
.city-tiny {
  color: var(--muted);
  margin-left: 8px;
  font-family: ui-monospace, monospace;
  font-size: 10px;
}
.guide-strip {
  margin: 35px 0;
  border: 1px solid var(--line);
  background: var(--sage);
  border-radius: var(--radius);
  padding: 23px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.guide-strip h2 {
  font-size: 18px;
  margin: 0 0 5px;
}
.guide-strip p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.text-link {
  font-size: 13px;
  border-bottom: 1px solid var(--ink);
  white-space: nowrap;
}
.footer {
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 11px;
}
.footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer p {
  margin: 0;
}
.mobile-nav {
  display: none;
}
.crumb {
  display: flex;
  gap: 9px;
  font-size: 12px;
  color: var(--muted);
  padding-top: 26px;
}
.crumb a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.topic-hero {
  padding: 28px 0 27px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 50px;
  align-items: center;
}
.topic-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topic-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1.5px;
  margin: 14px 0 15px;
}
.topic-hero .intro {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 710px;
  margin: 0;
}
.topic-stats {
  display: flex;
  gap: 23px;
  align-items: center;
  margin-top: 16px;
}
.topic-stats b {
  font-family: ui-monospace, monospace;
  font-size: 24px;
  font-weight: 500;
}
.topic-stats span {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.reading-box {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.reading-box summary {
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  min-height: 28px;
}
.reading-box ul {
  padding-left: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
  margin: 9px 0 0;
}
.reading-box .source {
  font-size: 10px;
  color: var(--muted);
  margin-top: 12px;
  display: block;
  text-decoration: underline;
}
.notice {
  font-size: 12px;
  line-height: 1.8;
  background: #edece4;
  border-left: 3px solid var(--accent);
  padding: 12px 15px;
  margin: 22px 0 0;
  color: #5c635b;
}
.events-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 245px;
  gap: 35px;
  margin-top: 28px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}
.filter {
  flex: 1;
  min-width: 145px;
  position: relative;
}
.filter label {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 3px;
}
.filter select {
  width: 100%;
  min-height: 43px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px;
  color: var(--ink);
  font-size: 12px;
}
.filter-search {
  max-width: none;
  margin-top: 14px;
}
.result-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
  margin: 22px 0 10px;
}
.reset {
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 11px;
  padding: 8px 0;
  min-height: 40px;
}
.event-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 12px;
  overflow: hidden;
}
.event-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 12px;
}
.date-label {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: var(--ink);
  font-weight: 650;
}
.pill {
  padding: 3px 7px;
  background: #ecefe7;
  border-radius: 5px;
  line-height: 1.4;
  font-size: 10px;
}
.pill.la {
  background: #f3e9de;
}
.status {
  margin-left: auto;
  font-size: 10px;
}
.status.open {
  color: #53725a;
}
.status.waitlist,
.status.full {
  color: #9d682e;
}
.status.closed {
  color: #976655;
}
.event-card h3 {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin: 0 0 10px;
  overflow-wrap: anywhere;
}
.event-card h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.event-summary {
  color: #586158;
  font-size: 13px;
  line-height: 1.85;
  margin: 0 0 13px;
}
.event-host {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
  overflow-wrap: anywhere;
}
.event-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  border-top: 1px solid #eceee5;
  padding-top: 13px;
  margin-top: 15px;
}
.event-bottom a {
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 32px;
}
.match-note {
  font-size: 10px;
  color: var(--muted);
  max-width: 70%;
  overflow-wrap: anywhere;
}
.event-note {
  font-size: 11px;
  color: #7f694f;
  line-height: 1.75;
  padding-top: 9px;
  margin: 0;
}
.load-more {
  border: 1px solid var(--ink);
  color: var(--ink);
  border-radius: 40px;
  background: transparent;
  display: block;
  padding: 12px 30px;
  min-height: 48px;
  margin: 24px auto 10px;
  font-size: 13px;
}
.empty {
  padding: 38px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 14px;
}
.empty h3 {
  font-size: 16px;
  color: var(--ink);
}
.empty p {
  font-size: 13px;
}
.side-note {
  border-top: 1px solid var(--ink);
  padding-top: 15px;
  margin-bottom: 27px;
}
.side-note h2 {
  font-size: 13px;
  margin: 0 0 13px;
}
.side-note p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
.related-link {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.related-link span {
  color: var(--muted);
}
.article {
  max-width: 740px;
  margin: 36px auto 60px;
}
.article h1 {
  font-size: 38px;
  letter-spacing: -1px;
}
.article h2 {
  font-size: 22px;
  margin: 36px 0 10px;
}
.article p,
.article li {
  font-size: 15px;
  line-height: 1.95;
  color: #586158;
}
.article a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  margin: 20px 0;
}
.article th,
.article td {
  padding: 12px 9px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
[hidden] {
  display: none !important;
}
.noscript {
  padding: 15px;
  border: 1px solid var(--line);
  font-size: 13px;
}
.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;
}
.home-section {
  padding-bottom: 10px;
}
.site-caption {
  font-size: 11px;
  color: var(--muted);
  margin: 14px 0 24px;
}
.topic-index .section-head {
  margin-top: 12px;
}
.counts-legend {
  display: flex;
  gap: 13px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 18px;
}
.topic-hero .eyebrow {
  color: var(--accent);
}
@media (min-width: 1000px) {
  .topic-card:nth-child(-n + 6) {
    min-height: 252px;
  }
  .topic-card.first-six h3 {
    font-size: 24px;
  }
  .events-sidebar {
    padding-top: 5px;
  }
  .event-card {
    padding: 24px;
  }
  .event-card h3 {
    font-size: 20px;
  }
}
@media (max-width: 850px) {
  .shell {
    padding: 0 24px;
  }
  .hero {
    gap: 35px;
  }
  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .topic-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .reading-box {
    padding: 14px 17px;
  }
  .events-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .events-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .desktop-nav {
    gap: 20px;
  }
  .edition {
    display: none;
  }
}
@media (max-width: 560px) {
  .shell {
    padding: 0 19px;
  }
  .topbar {
    height: 65px;
  }
  .wordmark {
    font-size: 16px;
    gap: 9px;
  }
  .brand-icon {
    width: 30px;
    height: 30px;
  }
  .wordmark small {
    font-size: 10px;
  }
  .desktop-nav {
    display: none;
  }
  .edition {
    display: block;
    font-size: 9px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 0 26px;
  }
  h1 {
    font-size: 39px;
    margin: 14px 0;
    letter-spacing: -1.7px;
  }
  .hero p {
    font-size: 13px;
    line-height: 1.8;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.8px;
  }
  .topic-toolbar {
    flex-direction: column;
    gap: 12px;
  }
  .search-wrap {
    max-width: none;
  }
  .section-head {
    margin-bottom: 14px;
  }
  .section-head h2 {
    font-size: 18px;
  }
  .section-head small {
    font-size: 10px;
  }
  .topic-grid {
    gap: 11px;
  }
  .topic-card {
    padding: 15px;
    min-height: 217px;
    border-radius: 13px;
  }
  .topic-card-top {
    margin-bottom: 18px;
  }
  .topic-symbol {
    width: 30px;
    height: 30px;
    font-size: 19px;
  }
  .topic-number {
    font-size: 9px;
  }
  .topic-card h3 {
    font-size: 18px;
    letter-spacing: -0.4px;
  }
  .topic-card .english {
    font-size: 7px;
    letter-spacing: 0.7px;
    min-height: 21px;
    line-height: 1.5;
    margin-bottom: 9px;
  }
  .topic-card .desc {
    font-size: 11px;
    line-height: 1.75;
    margin-bottom: 15px;
  }
  .topic-foot {
    font-size: 9px;
    gap: 2px;
  }
  .topic-foot b {
    font-size: 15px;
  }
  .city-tiny {
    display: none;
  }
  .topic-foot .arrow {
    font-size: 20px;
  }
  .category-tabs {
    gap: 20px;
    margin-bottom: 15px;
    padding-bottom: 8px;
  }
  .category-tabs button {
    font-size: 12px;
  }
  .guide-strip {
    display: block;
    margin: 26px 0;
    padding: 19px;
  }
  .guide-strip h2 {
    font-size: 16px;
  }
  .guide-strip p {
    font-size: 12px;
    margin-bottom: 12px;
  }
  .footer {
    display: block;
    padding-bottom: 100px;
    font-size: 10px;
  }
  .footer p + p {
    margin-top: 9px;
  }
  .mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    display: flex;
    padding: 6px 16px max(6px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(250, 250, 244, 0.96);
    backdrop-filter: blur(12px);
  }
  .mobile-nav a {
    display: flex;
    flex: 1;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 11px;
    color: var(--muted);
  }
  .mobile-nav a span {
    font-size: 17px;
  }
  .mobile-nav a[aria-current='page'] {
    color: var(--accent);
    font-weight: 650;
  }
  .crumb {
    padding-top: 19px;
    font-size: 11px;
  }
  .topic-hero {
    padding: 22px 0 24px;
    gap: 21px;
  }
  .topic-hero h1 {
    font-size: 34px;
    line-height: 1.22;
    margin: 13px 0;
  }
  .topic-hero .intro {
    font-size: 13px;
    line-height: 1.95;
  }
  .topic-stats {
    gap: 26px;
  }
  .topic-stats b {
    font-size: 22px;
  }
  .topic-stats span {
    font-size: 9px;
  }
  .reading-box ul {
    font-size: 12px;
  }
  .events-layout {
    margin-top: 23px;
  }
  .event-card {
    padding: 17px;
  }
  .event-card h3 {
    font-size: 17px;
    line-height: 1.55;
  }
  .event-summary {
    font-size: 12px;
  }
  .event-host {
    font-size: 10px;
  }
  .event-meta {
    gap: 6px;
  }
  .status {
    font-size: 9px;
  }
  .event-bottom {
    gap: 8px;
  }
  .event-bottom a {
    font-size: 11px;
    white-space: nowrap;
  }
  .filter {
    min-width: calc(50% - 5px);
  }
  .filter select {
    font-size: 12px;
    min-height: 45px;
  }
  .events-sidebar {
    display: block;
  }
  .side-note {
    margin-bottom: 25px;
  }
  .article {
    margin-top: 28px;
  }
  .article h1 {
    font-size: 32px;
  }
  .article p,
  .article li {
    font-size: 14px;
  }
  .article th,
  .article td {
    font-size: 12px;
    padding: 10px 6px;
  }
  .notice {
    font-size: 11px;
  }
  .site-caption {
    font-size: 10px;
  }
  .search {
    font-size: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .topic-title-row .topic-symbol {
    width: 35px;
    height: 35px;
  }
  .counts-legend {
    font-size: 10px;
  }
  .home-section .section-head {
    margin-top: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

.topic-hero.topic-summary {
  grid-template-columns: 1fr;
  gap: 0;
}
.topic-summary .source {
  display: inline-block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
  text-decoration: underline;
}
.hero h1 {
  font-size: clamp(30px, 4.6vw, 54px);
}

.topic-leads {
  display: block;
  color: var(--accent);
  font-size: 10px;
  margin-top: 5px;
}
.notice .text-link {
  white-space: normal;
}
#system-one-review {
  scroll-margin-top: 24px;
}
#system-one-review summary {
  cursor: pointer;
  min-height: 44px;
  padding: 10px 0;
  font-size: 14px;
}
#system-one-review .event-summary {
  font-size: 13px;
}
#system-one-review .event-note {
  font-size: 12px;
}
#system-one-review .site-caption {
  font-size: 11px;
}

.title-phrase {
  display: inline-block;
  white-space: nowrap;
}

.update-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.update-item h3 {
  font-size: 18px;
  line-height: 1.5;
  margin: 4px 0 10px;
}
.update-item p {
  margin: 6px 0;
}
.update-item ul {
  padding-left: 20px;
}
.update-item .site-caption {
  font-size: 11px;
  color: var(--muted);
}
.old-value {
  color: var(--muted);
}
.updates .topic-stats {
  margin: 24px 0;
}
.updates h2 {
  scroll-margin-top: 24px;
}
.hero .text-link {
  display: inline-block;
  margin-top: 14px;
}

.source-links {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  align-items: center;
}
.source-links a {
  white-space: nowrap;
}

/* Anonymous Wishlist and public nicknames. */
.wish-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.wish-toggle,
.wish-action {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  padding: 9px 17px;
  color: var(--ink);
  font-size: 13px;
  flex-shrink: 0;
}
.wish-toggle[aria-pressed='true'] {
  background: var(--sage);
  border-color: #839b83;
  color: #31543b;
}
.wish-toggle:disabled {
  opacity: 0.55;
}
.wish-people {
  flex: 1;
  min-width: 0;
  text-align: right;
  border: 0;
  background: none;
  color: var(--ink);
  padding: 4px 0;
  font-size: 12px;
  min-height: 44px;
}
.wish-names {
  display: block;
  font-size: 11px;
  color: var(--muted);
  overflow-wrap: anywhere;
  margin-top: 3px;
}
.wish-profile {
  padding: 24px;
  background: var(--sage);
  border-radius: 18px;
  margin: 24px 0;
}
.wish-profile label {
  font-size: 15px;
  font-weight: 600;
}
.wish-profile label span {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 8px;
}
.wish-profile .site-caption {
  margin: 7px 0 13px;
}
.nickname-editor {
  display: flex;
  gap: 10px;
  max-width: 490px;
}
.nickname-editor input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 16px;
  background: var(--white);
  color: var(--ink);
}
.wish-tools {
  margin-top: 17px;
  border-top: 1px solid #cbd4c6;
  padding-top: 13px;
}
.wish-tools summary {
  cursor: pointer;
  min-height: 44px;
  font-size: 13px;
  display: list-item;
  align-content: center;
}
.wish-tools p {
  font-size: 12px;
  color: var(--muted);
  max-width: 620px;
}
.wish-tool-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.wish-tools textarea {
  width: 100%;
  min-height: 90px;
  margin-top: 12px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.wish-toast {
  position: fixed;
  z-index: 90;
  bottom: 86px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(620px, calc(100vw - 32px));
  border: 1px solid #8e9b8b;
  border-radius: 12px;
  background: #f8fbf3;
  padding: 12px 18px;
  font-size: 12px;
  box-shadow: 0 4px 25px #25302522;
  pointer-events: none;
}
.wish-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.wish-dialog-head h2 {
  font-size: 22px;
  margin: 0;
}
.wish-dialog-head button {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  font-size: 28px;
  color: var(--ink);
}
#wish-people-dialog {
  width: min(480px, calc(100vw - 32px));
  max-height: 75vh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
}
#wish-people-dialog::backdrop {
  background: #20282088;
}
.people-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.people-list li {
  border-radius: 20px;
  padding: 8px 13px;
  background: var(--sage);
  font-size: 14px;
  overflow-wrap: anywhere;
  max-width: 100%;
}
[data-wishlist-count] {
  font-size: 10px;
  background: var(--sage);
  border-radius: 9px;
  padding: 0 4px;
}
[data-wishlist-count]:empty {
  display: none;
}
.mobile-nav a span {
  flex-shrink: 0;
}
@media (max-width: 560px) {
  .wish-profile {
    padding: 18px;
  }
  .nickname-editor {
    gap: 7px;
  }
  .nickname-editor .wish-action {
    padding: 9px 12px;
  }
  .mobile-nav {
    padding-left: 9px;
    padding-right: 9px;
  }
  .mobile-nav a {
    gap: 4px;
    font-size: 10px;
    flex-wrap: wrap;
    align-content: center;
  }
  .mobile-nav a span {
    font-size: 16px;
  }
  .wish-people {
    font-size: 11px;
  }
  .wish-names {
    font-size: 10px;
  }
  .wish-toggle {
    font-size: 12px;
    padding: 9px 13px;
  }
  #wish-people-dialog {
    padding: 20px;
  }
  .wish-toast {
    bottom: 78px;
  }
  .wish-tool-buttons .wish-action {
    font-size: 12px;
  }
}

/* Event addresses, attendance ratings and shared transcripts. */
.attendance-row,
.community-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.community-entry {
  min-width: 0;
  min-height: 68px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f7f8f2;
  color: var(--ink);
  padding: 10px 12px;
  text-align: left;
}
.community-entry:hover {
  border-color: #8c9e89;
}
.community-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 5px;
}
.community-entry > span + span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
}
#community-dialog {
  width: min(560px, calc(100vw - 24px));
  max-height: 85dvh;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  background: var(--white);
  color: var(--ink);
  overscroll-behavior: contain;
}
#community-dialog::backdrop {
  background: #20282088;
}
.community-event-name {
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  margin: 9px 0 18px;
}
.community-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.community-tabs button {
  flex: 1;
  min-width: 0;
  padding: 6px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}
.community-tabs button[aria-pressed='true'] {
  background: var(--sage);
  border-color: #879e83;
  font-weight: 600;
}
.community-feedback {
  font-size: 12px;
  background: var(--sage);
  padding: 10px 12px;
  border-radius: 9px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.community-feedback.is-error {
  background: #f8e7df;
  color: #83432c;
}
.contribution-list {
  font-size: 13px;
  color: var(--muted);
  margin: 16px 0;
}
.contribution {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  margin: 10px 0;
  overflow-wrap: anywhere;
}
.contribution-meta {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 8px;
}
.contribution-address {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  margin: 8px 0;
}
.contribution-note {
  font-size: 12px;
  line-height: 1.7;
  margin: 8px 0;
}
.contribution a {
  display: inline-block;
  min-height: 36px;
  align-content: center;
  font-size: 12px;
  color: var(--accent);
}
.contribution-form {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 18px;
}
.contribution-form h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
.community-identity {
  font-size: 11px;
  color: var(--muted);
  margin: 6px 0 18px;
  overflow-wrap: anywhere;
}
.community-identity a,
#community-readonly a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contribution-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.contribution-form label {
  display: block;
  font-size: 13px;
  margin: 14px 0 7px;
}
.contribution-form label > span {
  color: var(--muted);
  font-size: 11px;
}
.contribution-form textarea,
.contribution-form input:not([type='radio']):not([type='checkbox']) {
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}
.contribution-form textarea {
  resize: vertical;
}
.contribution-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 15px 0 5px;
}
.primary-action {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.contribution-form :disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.rating-summary {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.5px;
  margin: 20px 0 8px;
}
.rating-contribution {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.rating-contribution .contribution-meta {
  margin: 0;
}
.rating-contribution strong {
  font-size: 15px;
  white-space: nowrap;
  color: var(--accent);
}
.contribution-form .attended-confirm {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 5px 0 18px;
}
.attended-confirm input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.contribution-form .rating-options {
  display: flex;
  gap: 8px;
}
.rating-options legend {
  font-size: 13px;
  margin-bottom: 4px;
}
.rating-options label {
  flex: 1;
  position: relative;
  margin: 8px 0;
}
.rating-options input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.rating-options label span {
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  background: #f7f8f2;
}
.rating-options small {
  font-size: 10px;
  font-weight: 400;
}
.rating-options input:checked + span {
  background: var(--sage);
  border-color: #607c61;
  color: #31543b;
}
.rating-options input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
#rating-remove {
  margin-top: 10px;
}
@media (max-width: 560px) {
  #community-dialog {
    padding: 18px;
    max-height: 90dvh;
  }
  .community-entry {
    padding: 10px;
  }
  .community-row {
    gap: 8px;
  }
  .community-label {
    font-size: 11px;
  }
  .rating-summary {
    font-size: 21px;
  }
  .rating-options label span {
    min-height: 50px;
  }
  .contribution-form .rating-options {
    gap: 6px;
  }
}

#community-dialog .wish-dialog-head {
  position: sticky;
  top: -24px;
  background: var(--white);
  z-index: 2;
  padding: 8px 0;
}
#address-remove {
  margin-top: 10px;
}
@media (max-width: 560px) {
  #community-dialog .wish-dialog-head {
    top: -18px;
  }
}

.google-account {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin: 24px 0;
  background: var(--white);
}
.google-account h2 {
  font-size: 19px;
  margin: 0 0 10px;
}
.google-account p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 650px;
}
.google-account .site-caption {
  font-size: 11px;
  margin: 12px 0 0;
}
.google-account a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
#google-button-wrap {
  margin: 16px 0;
  max-width: 100%;
  min-height: 44px;
}
#google-button {
  max-width: 100%;
  min-height: 44px;
}
.google-merge-details {
  margin-top: 14px;
}
.google-merge-details summary {
  min-height: 36px;
  font-size: 12px;
  cursor: pointer;
  align-content: center;
}
.google-merge-details p {
  font-size: 12px;
}
.google-account .private-email {
  color: var(--ink);
  font-size: 15px;
  overflow-wrap: anywhere;
}
.google-account button:disabled {
  opacity: 0.55;
}
@media (max-width: 560px) {
  .google-account {
    padding: 18px;
  }
  .google-account h2 {
    font-size: 17px;
  }
  .google-account p {
    font-size: 12px;
  }
}

/* Homepage totals read from the live contribution database. */
.home-community-stats {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sage);
  padding: 20px 24px;
  margin: 0 0 30px;
}
.home-stats-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.home-stats-heading h2 {
  font-size: 15px;
  font-weight: 650;
  margin: 0;
}
.home-stats-heading [role='status'] {
  font-size: 10px;
  color: var(--muted);
}
.home-stats-numbers {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  margin: 8px 0;
}
.home-stats-numbers p {
  font-size: 12px;
  margin: 0;
  display: flex;
  gap: 6px;
  align-items: baseline;
}
.home-stats-numbers strong {
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}
.home-stats-note {
  font-size: 10px;
  color: var(--muted);
  margin: 5px 0 0;
  line-height: 1.7;
}
@media (max-width: 560px) {
  .home-community-stats {
    padding: 16px;
    margin-bottom: 24px;
  }
  .home-stats-numbers {
    gap: 10px 22px;
  }
  .home-stats-numbers strong {
    font-size: 28px;
  }
  .home-stats-numbers p {
    font-size: 11px;
    gap: 5px;
  }
}

/* Locale controls remain accessible on narrow screens. */
.topbar {
  position: relative;
  flex-wrap: wrap;
}
.language-switch {
  display: flex;
  gap: 2px;
  margin-left: auto;
  order: 3;
  flex-shrink: 0;
  border: 1px solid var(--line, #d9dcd3);
  border-radius: 20px;
  padding: 3px;
  font-size: 12px;
}
.language-switch a {
  padding: 6px 10px;
  border-radius: 16px;
  text-decoration: none;
  white-space: nowrap;
}
.language-switch a[aria-current] {
  background: var(--ink, #252b26);
  color: #fff;
}
html[lang='en'] .topic-card h3 {
  font-size: clamp(21px, 2.4vw, 29px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}
html[lang='en'] .topic-card .english {
  display: none;
}
html[lang='en'] .topic-title-row h1 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}
html[lang='en'] .mobile-nav a {
  font-size: 11px;
}
html[lang='en'] .home-stats-numbers p {
  display: flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .language-switch {
    margin-left: auto;
  }
  .topbar .edition {
    display: none;
  }
  html[lang='en'] .hero h1 {
    font-size: 38px;
  }
  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filter select {
    max-width: 100%;
  }
  .wish-tool-buttons {
    flex-wrap: wrap;
  }
  .community-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .community-entry {
    min-width: 0;
  }
  .community-entry span {
    overflow-wrap: anywhere;
  }
}

/* Mobile calendar and contribution filters share the same event results. */
.explorer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0;
  flex-wrap: wrap;
}
.address-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
  min-height: 44px;
}
.address-filter input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.address-filter-feedback {
  border-left: 3px solid var(--accent);
  padding: 4px 12px;
  margin-bottom: 12px;
  font-size: 13px;
}
.calendar-picker {
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 12px 0;
  background: var(--paper);
  padding: 12px;
}
.calendar-picker summary {
  cursor: pointer;
  min-height: 24px;
  font-weight: 600;
  font-size: 14px;
}
#calendar-selection {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  margin-left: 8px;
}
.calendar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 8px;
}
.calendar-heading h3 {
  font-size: 16px;
  margin: 0;
}
.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.calendar-weekdays {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 8px;
}
.calendar-date {
  border: 1px solid transparent;
  border-radius: 10px;
  min-height: 52px;
  padding: 6px 2px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.calendar-date span {
  font-size: 15px;
  font-weight: 650;
}
.calendar-date small {
  font-size: 10px;
  color: var(--muted);
}
.calendar-date:hover {
  border-color: var(--accent);
}
.calendar-date[aria-pressed='true'] {
  color: var(--paper);
  background: var(--ink);
}
.calendar-date[aria-pressed='true'] small {
  color: inherit;
  opacity: 0.8;
}
.calendar-date:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.calendar-day {
  margin: 22px 0;
}
.calendar-day > h2 {
  font-size: 17px;
  padding: 10px 0;
  border-bottom: 2px solid var(--accent);
}
.calendar-agenda .event-card {
  margin-bottom: 12px;
}

/* The hero calendar links directly to the existing date-filtered agenda. */
.hero {
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}
.home-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.home-shortcuts a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 70px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--sage);
}
.home-shortcuts strong {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 14px;
  line-height: 1.4;
}
.home-shortcuts a > span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.home-shortcuts a:hover,
.home-shortcuts a:focus-visible {
  border-color: var(--accent);
}
.home-stats-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.home-calendar {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 18px;
}
.home-calendar-head,
.home-calendar-city {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.home-calendar-head h2 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.3px;
}
.home-calendar-head a {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 0;
}
.home-calendar-week {
  margin-top: 14px;
}
.home-calendar-city {
  margin-bottom: 7px;
}
.home-calendar-city h3 {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.4px;
}
.home-calendar-city span {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}
.home-calendar-city h3 span {
  margin-left: 7px;
}
.home-calendar-dates {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}
.home-calendar-date {
  display: flex;
  min-height: 70px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--paper);
  line-height: 1.4;
}
.home-calendar-date small {
  font-size: 10px;
  color: var(--muted);
}
.home-calendar-weekday {
  font-size: 10px;
  color: var(--muted);
}
.home-calendar-date strong {
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.home-calendar-date:hover,
.home-calendar-date:focus-visible {
  border-color: var(--accent);
  background: var(--sage);
}
.home-calendar-date[aria-current='date'] {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}
.home-calendar-date[aria-current='date'] span,
.home-calendar-date[aria-current='date'] small {
  color: var(--white);
}
.hero .home-calendar-note {
  margin-top: 12px;
  font-size: 10px;
  line-height: 1.5;
}
@media (max-width: 850px) {
  .hero {
    gap: 24px;
  }
}
@media (max-width: 560px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px 0 24px;
  }
  .hero h1,
  html[lang='en'] .hero h1 {
    font-size: 32px;
    line-height: 1.2;
    margin: 10px 0;
  }
  .hero-links {
    gap: 0 18px;
    font-size: 11px;
  }
  .hero-links .text-link {
    margin-top: 10px;
  }
  .home-calendar {
    padding: 12px;
  }
  .home-calendar-head h2 {
    font-size: 16px;
  }
  .home-calendar-week {
    margin-top: 10px;
  }
  .home-calendar-dates {
    gap: 4px;
  }
  .home-calendar-date {
    min-height: 64px;
    border-radius: 7px;
  }
  .hero .home-calendar-note {
    margin-top: 10px;
  }
}

@media (max-width: 360px) {
  .hero {
    gap: 14px;
    padding-top: 16px;
  }
  .hero .eyebrow {
    display: none;
  }
  .hero h1,
  html[lang='en'] .hero h1 {
    font-size: 30px;
  }
  .hero > div > p {
    font-size: 12px;
    line-height: 1.7;
  }
  .home-calendar-date {
    min-height: 60px;
  }
}

/* Two rows: attendance, then community resources. */
.event-actions {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 4px;
}
.attendance-row .wish-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f7f8f2;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.attendance-row .wish-toggle {
  border: 0;
  border-radius: 10px 10px 0 0;
  background: transparent;
  text-align: left;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
}
.attendance-row .wish-toggle[aria-pressed='true'] {
  background: var(--sage);
}
.attendance-row .wish-people {
  text-align: left;
  padding: 4px 12px 8px;
  font-size: 10px;
}
.attendance-row .wish-names {
  font-size: 10px;
}
.quick-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 20px;
}

/* SideParties: a field guide for the moments around the main event. */
:root {
  --paper: #f5f2eb;
  --white: #fffdf8;
  --ink: #242421;
  --muted: #78766e;
  --line: #dedbd2;
  --sage: #ece9df;
  --brand: #df542e;
}
.shell {
  max-width: 1264px;
}
.topbar {
  min-height: 88px;
  gap: 18px;
}
.wordmark {
  font-size: 22px;
  letter-spacing: -1px;
  flex-shrink: 0;
}
.brand-icon {
  position: relative;
  width: 40px;
  height: 40px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -2px;
  border-radius: 10px;
  padding-right: 5px;
  background: var(--brand);
  color: var(--white);
}
.brand-icon > span {
  position: absolute;
  font-size: 15px;
  right: 3px;
  top: 2px;
  line-height: 1;
}
.brand-domain {
  color: var(--muted);
  font-weight: 450;
}
.wordmark small {
  font-size: 10px;
  letter-spacing: 2px;
  margin-top: 0;
}
.desktop-nav {
  gap: 24px;
}
.edition {
  display: none;
}
.hero.sideparties-hero {
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding: 74px 0 60px;
  align-items: center;
}
.sideparties-hero .eyebrow {
  color: var(--brand);
  font-size: 11px;
  letter-spacing: 2px;
}
.sideparties-hero .dot {
  width: 7px;
  height: 7px;
  background: var(--brand);
  box-shadow: 0 0 0 4px #df542e12;
}
.sideparties-hero h1,
html[lang='en'] .sideparties-hero h1 {
  font-size: clamp(40px, 4.7vw, 62px);
  line-height: 1.26;
  letter-spacing: -2.5px;
  font-weight: 760;
  margin: 23px 0 22px;
}
.sideparties-hero h1 em {
  color: var(--brand);
}
.sideparties-hero .hero-intro {
  font-size: 14px;
  line-height: 1.9;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 29px;
}
.sp-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid var(--line);
  border-radius: 7px;
  min-height: 49px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 650;
  transition:
    background 0.18s,
    transform 0.18s;
}
.sp-button:hover {
  transform: translateY(-2px);
}
.sp-button > span {
  font-size: 20px;
  line-height: 1;
}
.sp-button-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.sp-button-primary:hover {
  background: var(--brand);
  border-color: var(--brand);
}
.sp-button-secondary {
  background: transparent;
}
.sp-button-secondary:hover {
  background: var(--white);
}
.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  margin-top: 30px;
  font-size: 10px;
  color: var(--muted);
}
.hero-metrics strong {
  font-size: 16px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-right: 3px;
}
.hero-metrics a {
  border-bottom: 1px solid var(--line);
}
.side-ticket-scene {
  min-width: 0;
  height: 400px;
  position: relative;
  display: grid;
  place-items: center;
}
.ticket-orbit {
  position: absolute;
  width: 385px;
  height: 255px;
  border: 1px solid #c7c3b84f;
  border-radius: 50%;
  transform: rotate(-32deg);
}
.ticket-orbit-two {
  width: 315px;
  height: 390px;
  transform: rotate(28deg);
}
.ticket-note {
  position: absolute;
  top: 5px;
  right: 20px;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  transform: rotate(7deg);
}
.side-ticket {
  width: 302px;
  background: var(--brand);
  border-radius: 11px;
  transform: rotate(-7deg);
  color: #fff9ec;
  box-shadow:
    11px 15px 0 #ddd7cb,
    17px 28px 35px #42352012;
}
.ticket-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 23px 0;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.5px;
}
.ticket-corner-arrow {
  font-size: 27px;
  line-height: 1;
}
.ticket-body {
  padding: 27px 25px 24px;
}
.ticket-kicker {
  font-size: 10px;
  letter-spacing: 3px;
}
.ticket-body > strong {
  display: block;
  font-size: 42px;
  font-weight: 740;
  line-height: 1.3;
  letter-spacing: -1.5px;
  margin: 11px 0 20px;
}
.ticket-tags {
  display: flex;
  gap: 7px;
}
.ticket-tags > span {
  font-size: 10px;
  padding: 3px 10px;
  border: 1px solid #fff9ec73;
  border-radius: 20px;
}
.ticket-stub {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 25px;
  border-top: 1px dashed #fff9ec85;
  font-size: 9px;
  letter-spacing: 2px;
}
.ticket-stub::before,
.ticket-stub::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: -11px;
  border-radius: 50%;
  background: var(--paper);
}
.ticket-stub::before {
  left: -11px;
}
.ticket-stub::after {
  right: -11px;
}
.ticket-stub b {
  font-weight: 550;
  font-size: 12px;
  letter-spacing: 1px;
}
.ticket-barcode {
  width: 83px;
  height: 32px;
  opacity: 0.85;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0 2px,
    transparent 2px 5px,
    var(--ink) 5px 6px,
    transparent 6px 9px,
    var(--ink) 9px 12px,
    transparent 12px 14px
  );
}
.ticket-seal {
  display: flex;
  position: absolute;
  right: 0;
  bottom: 44px;
  width: 90px;
  height: 90px;
  border: 5px solid var(--paper);
  background: var(--ink);
  color: var(--white);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 25px;
  font-weight: 750;
  transform: rotate(11deg);
}
.ticket-seal span {
  color: #f2b590;
  font-size: 26px;
}
.conference-section {
  border-top: 1px solid var(--line);
  padding: 33px 0 44px;
  scroll-margin-top: 24px;
}
.section-kicker {
  display: block;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.5px;
  margin-bottom: 7px;
}
.conference-section-head {
  margin-bottom: 25px;
  align-items: end;
}
.conference-section-head h2,
.sideparties-topics .section-head h2 {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.8px;
}
.conference-section-head > p {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 4px;
}
.conference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.conference-card {
  display: flex;
  flex-direction: column;
  padding: 22px 23px 18px;
  min-height: 217px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition:
    transform 0.18s,
    border-color 0.18s;
}
.conference-card:hover {
  transform: translateY(-3px);
  border-color: var(--conference-color, var(--brand));
}
.conference-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.conference-category {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
}
.conference-category i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--conference-color, var(--brand));
}
.conference-arrow {
  font-size: 20px;
  line-height: 1;
  color: var(--muted);
}
.conference-card h3 {
  margin: 21px 0 8px;
  font-size: 27px;
  letter-spacing: -1px;
  font-weight: 720;
  line-height: 1.15;
}
.conference-description {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 24px;
}
.conference-card-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-top: auto;
  font-size: 10px;
  color: var(--muted);
}
.conference-status {
  white-space: nowrap;
}
.conference-card-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.conference-card-active .conference-category,
.conference-card-active .conference-description,
.conference-card-active .conference-card-footer,
.conference-card-active .conference-arrow {
  color: #ccc8bf;
}
.conference-card-active .conference-card-footer {
  border-color: #fffdf828;
}
.conference-card-active .conference-status {
  color: #f6bc99;
}
.sideparties-topics {
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.sideparties-topics .topic-card {
  border-radius: 10px;
}
.sideparties-guide {
  padding: 28px;
  background: #ede9df;
  border-radius: 10px;
  margin: 36px 0 42px;
}
.sideparties-guide h2 {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.8px;
}
.sideparties-guide .sp-button {
  flex-shrink: 0;
}
.footer {
  line-height: 1.9;
}
html[lang='en'] .ticket-body > strong {
  font-size: 38px;
  line-height: 1.12;
}
@media (max-width: 980px) {
  .topbar {
    gap: 12px;
  }
  .desktop-nav {
    gap: 15px;
    font-size: 13px;
  }
  .wordmark {
    font-size: 19px;
  }
  .hero.sideparties-hero {
    grid-template-columns: 1.3fr 1fr;
    padding-top: 55px;
    gap: 10px;
  }
  .sideparties-hero h1,
  html[lang='en'] .sideparties-hero h1 {
    font-size: 44px;
  }
  .side-ticket-scene {
    transform: scale(0.88);
    transform-origin: center right;
  }
  .ticket-seal {
    right: -8px;
  }
  .conference-card {
    padding: 20px 18px 16px;
  }
  .conference-card h3 {
    font-size: 23px;
  }
}
@media (max-width: 720px) {
  .desktop-nav {
    gap: 12px;
    font-size: 12px;
  }
  .brand-domain {
    display: none;
  }
  .hero.sideparties-hero {
    grid-template-columns: 1fr;
    padding: 38px 0 32px;
    gap: 15px;
  }
  .sideparties-hero h1,
  html[lang='en'] .sideparties-hero h1 {
    font-size: clamp(36px, 7vw, 52px);
    letter-spacing: -1.5px;
  }
  .side-ticket-scene {
    height: 300px;
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
    transform: none;
  }
  .side-ticket {
    transform: rotate(-6deg) scale(0.75);
  }
  .ticket-orbit {
    width: 300px;
    height: 200px;
  }
  .ticket-orbit-two {
    width: 240px;
    height: 285px;
  }
  .ticket-note {
    top: 20px;
    right: 30px;
    font-size: 9px;
  }
  .ticket-seal {
    right: 40px;
    bottom: 14px;
    width: 73px;
    height: 73px;
    font-size: 20px;
  }
  .conference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .conference-section-head {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
  .conference-section-head > p {
    margin: 0;
  }
}
@media (max-width: 560px) {
  .topbar {
    min-height: 74px;
    height: auto;
    flex-wrap: nowrap;
  }
  .wordmark {
    font-size: 19px;
    gap: 9px;
  }
  .brand-icon {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }
  .wordmark small {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  .language-switch {
    font-size: 10px;
  }
  .language-switch a {
    padding: 5px 7px;
  }
  .sideparties-hero .eyebrow {
    display: flex;
    font-size: 10px;
  }
  .sideparties-hero .hero-intro {
    font-size: 12px;
  }
  .sideparties-hero .hero-intro br {
    display: none;
  }
  .hero-actions {
    margin-top: 23px;
    gap: 9px;
  }
  .sp-button {
    padding: 11px 16px;
    min-height: 47px;
    gap: 23px;
    font-size: 12px;
  }
  .hero-metrics {
    gap: 6px 17px;
    margin-top: 22px;
  }
  .hero-metrics a {
    width: auto;
  }
  .conference-section {
    padding: 25px 0 30px;
  }
  .conference-section-head h2,
  .sideparties-topics .section-head h2 {
    font-size: 23px;
  }
  .conference-grid {
    gap: 10px;
  }
  .conference-card {
    min-height: 212px;
    padding: 16px 14px 14px;
  }
  .conference-card h3 {
    font-size: 22px;
    margin-top: 18px;
    overflow-wrap: anywhere;
  }
  .conference-description {
    font-size: 10px;
    margin-bottom: 16px;
  }
  .conference-category {
    font-size: 9px;
    gap: 5px;
  }
  .conference-card-footer {
    flex-direction: column;
    gap: 4px;
    font-size: 9px;
  }
  .sideparties-guide {
    padding: 22px;
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }
  .sideparties-guide h2 {
    font-size: 23px;
  }
  .sideparties-guide p {
    font-size: 12px;
  }
}
@media (min-width: 561px) and (max-width: 850px) {
  .topbar {
    height: auto;
    padding: 15px 0 12px;
  }
  .desktop-nav {
    order: 4;
    width: 100%;
    justify-content: space-between;
    font-size: 12px;
  }
}
.ticket-orbit {
  max-width: 70%;
  max-height: 80%;
}
.conference-empty {
  margin: 8px 0 50px;
  padding: clamp(28px, 5vw, 62px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.conference-empty .eyebrow {
  color: var(--brand);
  font-size: 10px;
}
.conference-empty h2 {
  margin: 16px 0 14px;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.25;
  letter-spacing: -1px;
}
.conference-empty p {
  max-width: 580px;
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 14px;
}
.event-timezone {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 450;
  line-height: 1.4;
  color: var(--muted);
}
#calendar-month-select {
  max-width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 6px 27px 6px 10px;
  color: var(--ink);
  background: var(--white);
  font-size: 12px;
  font-weight: 600;
}
@media (max-width: 560px) {
  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-actions .sp-button {
    padding: 11px 13px;
    gap: 8px;
    font-size: 11px;
  }
  .hero-actions .sp-button > span {
    flex-shrink: 0;
  }
  .sideparties-hero .hero-intro br {
    display: initial;
  }
  .mobile-nav {
    padding: 7px 10px max(7px, env(safe-area-inset-bottom));
  }
  .mobile-nav a,
  html[lang='en'] .mobile-nav a {
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    font-size: 10px;
    white-space: nowrap;
  }
  .mobile-nav a span {
    font-size: 16px;
  }
}
@media (max-width: 360px) {
  html[lang='en'] .wordmark small {
    display: none;
  }
  .mobile-nav a,
  html[lang='en'] .mobile-nav a {
    font-size: 9px;
  }
}
