:root {
  color-scheme: light;
  --page: #eaeff5;
  --paper: #ffffff;
  --ink: #1b2d45;
  --muted: #526274;
  --blue: #2a6cc0;
  --sky: #5fa1f3;
  --soft: #e4f0ff;
  --tint: #f2f8ff;
  --line: #d2dfee;
  --subtle-line: #e3eaf3;
  --shadow: 0 10px 34px #2a6cc00a;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 85% 0, #e2edfc 0, transparent 48%), var(--page); min-width: 320px; }
button, input, select { font: inherit; color: inherit; }
button, select, a { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { border: 0; }
button:disabled { cursor: default; opacity: .45; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, strong { font-weight: 500; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.icon-defs { width: 0; height: 0; position: absolute; pointer-events: none; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.skip-link { position: absolute; left: 16px; top: -70px; z-index: 20; padding: 10px 16px; background: var(--paper); color: var(--blue); border-radius: 6px; }
.skip-link:focus { top: 12px; }
.site-shell { max-width: 1240px; margin: auto; padding: 0 40px; }
.site-header { display: flex; align-items: center; gap: 64px; min-height: 106px; padding: 12px 0; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { display: block; width: 120px; height: 90px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 30px; align-self: stretch; }
.site-nav a { position: relative; display: flex; align-items: center; padding: 10px 0; color: var(--muted); font-size: 14px; white-space: nowrap; }
.site-nav a[aria-current="page"] { color: var(--blue); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; bottom: 2px; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--sky); }
.header-caption { margin-left: auto; color: var(--muted); font-size: 11px; letter-spacing: 1px; display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.header-caption > span { width: 5px; height: 5px; border-radius: 50%; background: var(--sky); }
main { padding: 18px 0 30px; min-height: 65vh; }
main:focus { outline: none; }
.page-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.page-heading h1 { font-size: 28px; letter-spacing: 1px; line-height: 1.4; }
.page-heading .page-count { color: var(--muted); font-size: 12px; }
.heading-note { font-size: 13px; color: var(--muted); margin-top: 6px; }
.filter-panel { margin-bottom: 30px; }
.search-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.search-field { position: relative; flex: 1; max-width: 430px; }
.search-field > .icon { position: absolute; left: 13px; top: 13px; color: var(--muted); width: 17px; height: 17px; pointer-events: none; }
.search-field input { display: block; width: 100%; padding: 10px 37px 10px 39px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; height: 44px; font-size: 13px; }
input::placeholder { color: #718198; opacity: 1; }
.filter-toggle { display: none; }
.filter-controls { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-select { position: relative; display: flex; align-items: center; gap: 8px; padding: 0 10px; height: 38px; background: #f8fbff; border: 1px solid var(--line); border-radius: 6px; }
.filter-select > span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.filter-select select { background: transparent; border: 0; min-width: 68px; max-width: 190px; font-size: 12px; padding: 5px 18px 5px 0; }
.date-controls { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.date-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 35px; padding: 6px 13px; border-radius: 6px; background: transparent; color: var(--muted); border: 1px solid transparent; font-size: 12px; }
.date-chip[aria-pressed="true"] { background: var(--paper); color: var(--blue); border-color: var(--line); box-shadow: 0 2px 5px #2a6cc005; }
.date-custom { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.date-custom input { min-width: 0; width: 143px; height: 35px; padding: 5px 8px; border: 1px solid var(--line); background: var(--paper); border-radius: 6px; font-size: 12px; }
.date-custom span { color: var(--muted); font-size: 12px; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: none; padding: 6px 0; color: var(--blue); font-size: 12px; }
.text-button .icon { width: 15px; height: 15px; }
.reset-filters { margin-left: auto; }
.active-entity { display: inline-flex; gap: 8px; align-items: center; padding: 6px 10px; background: var(--soft); color: var(--blue); border-radius: 6px; margin: 0 0 15px; font-size: 13px; }
.active-entity .icon { width: 13px; height: 13px; }
.event-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.event-card { min-width: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 11px; box-shadow: var(--shadow); }
.event-open { display: flex; flex-direction: column; height: 100%; }
.card-date { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 3px 8px; padding: 11px 13px 10px; color: var(--blue); }
.card-date time { font-size: 12px; font-weight: 500; }
.card-date time > span { margin-left: 8px; font-size: 10px; font-weight: 400; color: var(--muted); }
.card-date > small { font-size: 10px; color: var(--muted); }
.card-session-meta { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; white-space: nowrap; font-variant-numeric: tabular-nums; }
.card-session-meta > span + span { padding-left: 7px; border-left: 1px solid var(--line); }
.event-ratio { display: inline-block; padding: 2px 5px; border-radius: 3px; background: var(--blue); color: var(--paper); font-size: 11px; font-weight: 600; line-height: 1.4; white-space: nowrap; font-variant-numeric: tabular-nums; }
.event-poster { display: grid; place-items: center; aspect-ratio: 3 / 4; margin: 0 9px; background: #f8fbff; overflow: hidden; border-radius: 5px; }
.event-poster img { display: block; width: 100%; height: 100%; object-fit: contain; }
.event-copy { min-width: 0; display: flex; flex-direction: column; flex: 1; padding: 13px 14px 15px; }
.event-name { font-size: 22px; line-height: 1.4; letter-spacing: .5px; overflow-wrap: anywhere; }
.event-character { font-size: 12px; margin: 3px 0 10px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.event-meta { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); margin-top: 3px; }
.event-meta .icon { width: 13px; height: 13px; color: var(--blue); }
.event-meta > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.event-meta .icon { flex-shrink: 0; }
.card-pricing { padding-top: 13px; }
.event-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.event-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 5px; }
.event-price strong { color: var(--blue); font-size: 22px; font-weight: 500; line-height: 1.3; }
.event-price small { font-size: 10px; color: var(--muted); }
.event-price > strong > small { color: var(--blue); margin-left: 2px; font-weight: 400; }
.event-price .card-price-kind { color: var(--muted); font-size: 11px; }
.card-price-tiers { overflow: hidden; padding-top: 8px; font-size: 11px; color: var(--muted); }
.card-price-line { display: flex; flex-wrap: wrap; gap: 3px 0; margin-left: -8px; margin-right: -7px; }
.card-price-line > span { padding: 0 7px; border-left: 1px solid var(--line); max-width: 100%; }
.card-price-tiers .card-price-line > span { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.card-price-tiers b { color: var(--ink); font-weight: 400; font-variant-numeric: tabular-nums; }
.card-price-options { overflow: hidden; padding-top: 9px; font-size: 11px; line-height: 1.8; color: var(--muted); }
.card-price-option { display: inline-flex; align-items: baseline; flex-wrap: wrap; column-gap: 3px; font-size: 11px; color: var(--muted); }
.card-price-option > span { min-width: 0; }
.card-price-option > b { font-weight: 400; white-space: nowrap; color: var(--ink); }
.card-price-option > b > small { color: var(--muted); font-size: 10px; font-weight: 400; }
.card-price-option.is-discount, .card-price-option.is-discount > b { color: var(--blue); }
.card-price-note, .card-price-more { font-size: 11px; color: var(--muted); padding-top: 6px; }
.card-arrow { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--tint); color: var(--blue); flex-shrink: 0; }
.card-arrow .icon { width: 13px; height: 13px; }
.pagination-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding-top: 27px; }
.pagination-summary { font-size: 11px; color: var(--muted); }
.pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; }
.page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 35px; min-height: 35px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--muted); font-size: 12px; }
.page-link[aria-current="page"] { border-color: var(--sky); background: var(--soft); color: var(--blue); }
.page-direction { padding-left: 12px; padding-right: 12px; }
.page-link.disabled { background: transparent; opacity: .45; }
.page-gap { color: var(--muted); padding: 0 3px; }
.page-size select { padding: 7px 9px; background: #f8fbff; border: 1px solid var(--line); border-radius: 6px; font-size: 11px; }
.event-status { margin-left: 7px; font-size: 11px; font-weight: 400; padding: 3px 7px; color: var(--muted); background: #edf2f7; border-radius: 4px; letter-spacing: 0; vertical-align: middle; }
.event-status.cancelled { color: #854446; background: #fff0ee; }
.detail-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.detail-toolbar > span { font-size: 12px; color: var(--muted); }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 13px; padding: 7px 0; }
.back-link .icon { width: 15px; height: 15px; }
.event-detail { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); grid-template-areas: "poster info"; align-items: start; gap: 40px; padding: 34px; background: radial-gradient(ellipse at 90% 0, #e4f0ff, transparent 49%), radial-gradient(ellipse at 0 100%, #eff6ff, transparent 55%), var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.event-detail::before { content: ""; position: absolute; z-index: -1; inset: 10px; border: 1px solid var(--subtle-line); border-radius: 10px; pointer-events: none; }
.detail-poster { grid-area: poster; min-width: 0; padding: 10px 10px 0; background: var(--paper); border-radius: 10px; box-shadow: 0 12px 30px #2a6cc014; }
.poster-button { display: block; width: 100%; background: none; padding: 0; border-radius: 5px; }
.poster-button img { display: block; width: 100%; height: auto; border-radius: 5px; }
.detail-poster figcaption { display: flex; justify-content: space-between; gap: 8px; padding: 11px 2px; color: var(--muted); font-size: 11px; }
.poster-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0 0; }
.poster-tabs button { background: var(--tint); color: var(--muted); padding: 6px 10px; border-radius: 4px; font-size: 12px; }
.poster-tabs button[aria-pressed="true"] { color: var(--blue); background: var(--soft); }
.detail-info { grid-area: info; min-width: 0; padding-top: 2px; }
.detail-identity { margin-bottom: 23px; }
.edition { display: flex; gap: 12px; align-items: center; color: var(--blue); font-size: 11px; letter-spacing: 2px; margin-bottom: 14px; }
.edition::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.identity-row { display: flex; gap: 16px; justify-content: space-between; align-items: center; }
.identity-names { min-width: 0; }
.detail-name { font-size: 38px; font-weight: 500; letter-spacing: 1px; line-height: 1.3; margin-bottom: 10px; overflow-wrap: anywhere; }
.costume { font-size: 15px; margin-top: 7px; }
.costume > small { display: block; font-size: 11px; color: var(--muted); margin-bottom: 2px; }
.model-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }
.model-link { display: inline-flex; align-items: center; gap: 14px; color: var(--blue); font-size: 12px; padding: 5px 0; }
.model-link .icon { width: 23px; height: 23px; padding: 5px; border-radius: 50%; background: var(--soft); }
.date-stamp { min-width: 67px; padding: 9px 11px; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; box-shadow: 4px 4px var(--soft); flex-shrink: 0; }
.date-stamp > span, .date-stamp > small { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; }
.date-stamp > strong { display: block; font-size: 31px; font-weight: 500; line-height: 1.2; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.date-stamp > small { margin-top: 2px; }
.detail-facts { display: grid; gap: 13px; padding: 17px 0; margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-facts > div { display: grid; grid-template-columns: 73px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.detail-facts dt { display: flex; gap: 7px; align-items: center; color: var(--muted); font-size: 12px; }
.detail-facts dt .icon { width: 14px; height: 14px; }
.detail-facts dd { margin: 0; font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.detail-facts dd small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 3px; }
.detail-facts dd a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.sessions { margin-top: 21px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.section-heading h2, .section-heading h3 { font-size: 13px; font-weight: 500; letter-spacing: 1px; }
.section-heading > span { font-size: 12px; color: var(--muted); }
.session-date { font-size: 12px; color: var(--muted); margin: 15px 0 8px; font-weight: 400; }
.session-grid { display: grid; gap: 8px; }
.session-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 5px 12px; padding: 10px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; font-variant-numeric: tabular-nums; }
.session-row > span:first-child { display: inline-flex; gap: 7px; align-items: center; color: var(--muted); font-size: 12px; }
.session-number { color: var(--blue); font-size: 11px; font-weight: 400; }
.session-row > strong { font-size: 16px; font-weight: 500; white-space: nowrap; }
.session-extra { flex-basis: 100%; text-align: right; font-size: 12px; color: var(--muted); }
.fees { margin-top: 23px; padding-top: 20px; border-top: 1px solid var(--line); }
.fee-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fee-heading h2 { font-size: 13px; letter-spacing: 1px; font-weight: 500; }
.fee-heading > span { font-size: 12px; color: var(--muted); }
.fee-primary { display: flex; align-items: baseline; gap: 3px; padding: 12px 0 19px; }
.fee-currency { font-size: 20px; }
.fee-primary > strong { font-size: 38px; font-weight: 500; line-height: 1.15; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.fee-primary > strong > small { font-size: 13px; letter-spacing: 0; margin-left: 4px; }
.fee-unit { font-size: 12px; margin-left: 7px; color: var(--muted); }
.fee-discount { display: flex; gap: 10px; align-items: flex-start; background: #edf5ff; border-radius: 5px; padding: 11px 13px; margin-bottom: 18px; color: var(--blue); }
.fee-discount > .icon { width: 17px; height: 17px; margin-top: 3px; }
.fee-discount > div { flex: 1; min-width: 0; }
.fee-discount p { display: flex; flex-wrap: wrap; gap: 3px 12px; align-items: baseline; justify-content: space-between; font-size: 13px; }
.fee-discount strong { font-size: 16px; font-weight: 500; white-space: nowrap; }
.fee-discount strong small { font-size: 12px; font-weight: 400; }
.fee-note { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.fee-secondary { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; padding: 0 1px; margin-top: 13px; }
.fee-secondary-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.fee-secondary-label .icon { width: 15px; height: 15px; color: var(--blue); }
.fee-secondary-price { display: flex; align-items: baseline; gap: 7px; }
.fee-secondary-price strong { font-size: 21px; font-weight: 500; letter-spacing: -.3px; }
.fee-secondary-price small { font-size: 12px; color: var(--muted); }
.fee-secondary > p { flex-basis: 100%; font-size: 12px; color: var(--muted); }
.fee-members { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 12px 24px; margin-bottom: 8px; }
.fee-members > div + div { border-left: 1px solid var(--line); padding-left: 20px; }
.fee-members > div > span { font-size: 12px; color: var(--muted); }
.fee-members p { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 6px; margin-top: 3px; }
.fee-members strong { font-size: 21px; font-weight: 500; color: var(--blue); }
.fee-members small { font-size: 11px; color: var(--muted); }
.event-notes { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.9; color: var(--muted); }
.event-notes ul { margin: 0; padding-left: 16px; }
.signup-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 18px; padding: 10px 15px; color: var(--paper); background: var(--blue); border-radius: 7px; font-size: 13px; }
.directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.directory-card { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); background: linear-gradient(125deg, var(--paper), #f7fbff); border-radius: 13px; box-shadow: var(--shadow); }
.directory-identity { display: flex; align-items: center; gap: 18px; margin-bottom: 23px; }
.directory-avatar { display: grid; place-items: center; flex-shrink: 0; height: 54px; width: 54px; border-radius: 50%; background: var(--soft); color: var(--blue); font-size: 21px; }
.directory-avatar.organizer { border-radius: 14px; }
.directory-identity h2 { font-size: 23px; letter-spacing: .5px; overflow-wrap: anywhere; }
.directory-identity p { color: var(--muted); font-size: 12px; margin-top: 4px; }
.directory-roles { font-size: 14px; margin-bottom: 17px; }
.directory-next { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 12px; font-size: 12px; padding-top: 15px; border-top: 1px solid var(--subtle-line); }
.directory-next > span { color: var(--muted); }
.directory-next strong { font-weight: 400; }
.directory-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 22px; color: var(--blue); font-size: 12px; }
.directory-bottom > span { color: var(--muted); font-size: 11px; }
.directory-bottom .icon { width: 17px; height: 17px; }
.empty-state { text-align: center; padding: 75px 24px; background: #f8fbff; border: 1px solid var(--line); border-radius: 13px; }
.empty-state > .icon { width: 32px; height: 32px; color: var(--sky); margin-bottom: 13px; }
.empty-state h2 { font-size: 18px; margin-bottom: 7px; }
.empty-state p { color: var(--muted); font-size: 13px; margin-bottom: 15px; }
.site-footer { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0 28px; color: var(--muted); font-size: 11px; letter-spacing: .5px; }
.site-footer > span:first-child { color: var(--blue); letter-spacing: 2px; }
.initial-loading, .noscript { padding: 50px 20px; text-align: center; color: var(--muted); }
.poster-dialog { position: fixed; width: min(100% - 32px, 1000px); max-height: 92dvh; margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); overflow: auto; box-shadow: 0 24px 90px #0d2f5860; }
.poster-dialog::backdrop { background: #0b213cb3; backdrop-filter: blur(5px); }
.poster-dialog img { display: block; width: 100%; height: auto; }
.zoom-bar { position: sticky; z-index: 1; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; background: var(--paper); border-bottom: 1px solid var(--line); padding: 9px 13px 9px 18px; font-size: 13px; }
.icon-button { display: inline-flex; justify-content: center; align-items: center; width: 38px; height: 38px; border-radius: 7px; background: var(--tint); color: var(--blue); }
body.has-dialog { overflow: hidden; }
@media (hover: hover) {
  .site-nav a:hover, .text-button:hover, .back-link:hover { color: #174e91; }
  .event-card:has(a:hover), .directory-card:hover { border-color: #a3c3e9; }
  .event-open:hover .event-name { color: var(--blue); }
  .page-link:hover:not(.disabled) { border-color: var(--sky); color: var(--blue); }
}
@media (min-width: 1440px) { .site-shell { max-width: 1320px; } }
@media (min-width: 1100px) {
  .filter-panel { display: grid; grid-template-columns: minmax(240px, 1fr) auto; gap: 14px 16px; }
  .search-row { margin: 0; }
  .search-field { max-width: none; }
  .filter-controls { align-items: center; }
  .date-controls { grid-column: 1 / -1; margin-top: 0; }
}
@media (max-width: 1150px) { .event-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (max-width: 920px) {
  .site-shell { padding: 0 26px; }
  .site-header { gap: 38px; }
  .header-caption { display: none; }
  .event-detail { padding: 27px; gap: 27px; }
  .detail-name { font-size: 33px; }
  .session-row { padding: 10px; gap: 5px 8px; }
  .session-row > strong { font-size: 15px; }
  .detail-facts > div { grid-template-columns: 65px minmax(0, 1fr); gap: 9px; }
  .directory-card { padding: 23px; }
}
@media (max-width: 760px) { .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; } }
@media (max-width: 680px) {
  .site-shell { padding: 0 17px; }
  .site-header { flex-wrap: wrap; gap: 8px; padding: 10px 0 8px; min-height: auto; }
  .brand-logo { width: 104px; height: 78px; }
  .site-nav { order: 3; width: 100%; gap: 28px; margin-top: 4px; padding: 0 1px; }
  .site-nav a { font-size: 13px; padding: 8px 0 11px; }
  main { padding-top: 21px; }
  .page-heading { margin-bottom: 19px; }
  .page-heading h1 { font-size: 25px; }
  .page-heading .page-count { font-size: 11px; }
  .search-field { max-width: none; }
  .search-field input { font-size: 16px; padding-left: 35px; }
  .search-field input::placeholder { font-size: 12px; }
  .search-field > .icon { left: 11px; }
  .filter-toggle { display: inline-flex; justify-content: center; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); font-size: 12px; flex-shrink: 0; }
  .filter-toggle .icon { width: 15px; height: 15px; }
  .filter-toggle[aria-expanded="true"] { background: var(--soft); color: var(--blue); }
  .filter-controls:not(.expanded) { display: none; }
  .filter-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .filter-select { min-width: 0; height: 43px; }
  .filter-select select { width: 100%; min-width: 0; max-width: none; font-size: 16px; }
  .date-controls { gap: 3px; margin-top: 12px; }
  .date-chip { padding: 7px 11px; }
  .date-custom { width: 100%; padding-top: 8px; }
  .date-custom input { font-size: 16px; width: min(43%, 165px); height: 40px; }
  .reset-filters { margin-left: 7px; }
  .filter-panel { margin-bottom: 24px; }
  .event-grid { gap: 12px; }
  .event-card { border-radius: 9px; }
  .card-date { padding: 9px 9px 8px; gap: 2px 5px; }
  .card-date time { font-size: 11px; }
  .card-date time > span { margin-left: 3px; font-size: 10px; }
  .card-date.has-multiple-dates time > span { display: none; }
  .card-date > small { font-size: 10px; }
  .card-session-meta { gap: 4px; }
  .card-session-meta > span + span { padding-left: 4px; }
  .event-poster { margin: 0 6px; border-radius: 3px; }
  .event-copy { padding: 10px 10px 12px; }
  .event-name { font-size: 20px; }
  .event-character { font-size: 11px; margin: 3px 0 8px; }
  .event-meta { font-size: 11px; gap: 4px; }
  .event-meta .icon { width: 12px; height: 12px; }
  .event-price strong { font-size: 20px; }
  .event-price small { font-size: 10px; }
  .card-pricing { padding-top: 12px; }
  .event-card-bottom { gap: 5px; }
  .card-arrow { width: 20px; height: 20px; }
  .pagination-bar { gap: 16px 10px; padding-top: 24px; }
  .pagination { order: -1; width: 100%; }
  .page-link { min-width: 38px; min-height: 40px; }
  .page-size select { font-size: 16px; }
  .detail-toolbar { margin-bottom: 14px; }
  .event-detail { display: flex; flex-direction: column; padding: 25px; gap: 23px; }
  .detail-info { display: contents; }
  .detail-identity { order: -1; width: 100%; margin: 0; }
  .detail-poster { width: 100%; }
  .detail-name { font-size: 32px; }
  .detail-facts { width: 100%; margin: 0; padding: 17px 0; }
  .sessions { width: 100%; margin: 0; }
  .fees { width: 100%; margin: 0; padding-top: 20px; }
  .event-notes { width: 100%; margin: 0; }
  .signup-link { align-self: start; margin: 0; }
  .session-row > strong { font-size: 16px; }
  .directory-grid { grid-template-columns: 1fr; gap: 14px; }
  .directory-card { padding: 24px; }
  .directory-identity h2 { font-size: 24px; }
  .site-footer { flex-direction: column; gap: 4px; padding-bottom: 24px; font-size: 10px; }
  .poster-dialog { width: calc(100% - 16px); max-height: 95dvh; border-radius: 8px; }
}
@media (max-width: 380px) {
  .card-date time > span { display: none; }
}
@media (max-width: 360px) {
  .site-shell { padding: 0 12px; }
  .event-grid { gap: 10px; }
  .card-date { padding-left: 7px; padding-right: 7px; gap: 2px 3px; }
  .card-date time { font-size: 10px; }
  .card-session-meta { gap: 3px; }
  .card-session-meta > span + span { padding-left: 3px; }
  .event-ratio { font-size: 10px; padding-left: 4px; padding-right: 4px; }
  .event-copy { padding-left: 9px; padding-right: 9px; }
  .event-detail { padding: 20px; }
  .detail-facts > div { grid-template-columns: 62px minmax(0, 1fr); }
  .date-stamp { min-width: 57px; padding: 7px; }
  .session-row { padding: 10px 8px; }
  .session-row > strong { font-size: 14px; }
  .fee-discount { padding: 10px; gap: 8px; }
  .fee-members { gap: 12px; }
  .fee-members > div + div { padding-left: 12px; }
}
@media (pointer: coarse) { button, .site-nav a, .text-button, .back-link, .model-link, .page-link { min-height: 44px; } }

/* Compact schedule switch and the next session, with the ratio kept at top right. */
.schedule-views { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--tint); }
.schedule-views button { padding: 8px 19px; border-radius: 5px; background: transparent; color: var(--muted); font-size: 13px; }
.schedule-views button[aria-pressed="true"] { background: var(--paper); color: var(--blue); box-shadow: 0 2px 6px #2a6cc00a; }
.card-time { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; padding: 0 13px 9px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.card-time > span { color: var(--blue); padding-right: 6px; border-right: 1px solid var(--line); }
.resident-stamp > strong { font-size: 20px; letter-spacing: 1px; }
@media (max-width: 680px) { .card-time { padding: 0 9px 8px; font-size: 10px; gap: 3px; } .schedule-views { margin-bottom: 14px; } }
@media (max-width: 360px) { .card-time { padding-left: 7px; padding-right: 7px; } }
