/* Layout coordinates follow the 1920px UX artboards. */
html { font-size: calc(100vw * 16 / 1920); background: #fff; }
html body, html body[data-page] { width: 120rem; color: #222; }
html body .site-header[data-shared-header] { padding-inline: 6.25rem; height: 6.25rem; min-height: 6.25rem; }
html body .site-header[data-shared-header] .brand { flex: 0 0 auto; gap: .625rem; font-size: 3.125rem; }
html body .site-header[data-shared-header] .site-nav { margin-inline: auto; }
html body .site-header[data-shared-header] .nav-link { width: 8.75rem; font-size: 2.25rem; }
html body .site-header[data-shared-header] .site-search { height: 2.5rem; }
html body .site-header[data-shared-header] .site-search input { font-size: 1rem; }
.site-search-results { position: absolute; z-index: 50; border: .0625rem solid var(--purple); background: #fff; color: #222; }
.site-search-list { --search-row-height: 2.5rem; max-height: min(calc(10 * var(--search-row-height)),var(--search-available-height,60vh)); overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; }
.site-search-results a { display: flex; align-items: center; gap: .5rem; height: var(--search-row-height); padding: 0 .5rem; font-size: .75rem; line-height: 1.25; text-decoration: none; }
.site-search-results a small { flex: none; color: #808080; font-size: inherit; }
.site-search-results a .site-search-label { display: block; flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; }
.site-search-results a .site-search-label-track { display: block; width: max-content; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-search-results a .site-search-label-track.is-scrolling { max-width: none; overflow: visible; }
.site-search-results a .site-search-label-copy { display: inline-block; margin-inline-start: 3rem; }
.site-search-results a:is(:hover,:focus-visible,.is-active) { background: var(--purple); color: #fff; }
.site-search-results a:is(:hover,:focus-visible,.is-active) small { color: #ccc; }
.site-search-results p { margin: .5rem; font-size: 1rem; }
.site-search-preview { position: fixed; z-index: 51; margin: 0; pointer-events: none; }
.site-search-preview:is(.is-avatar,.is-emoji) { background: #fff; }
.site-search-preview.is-comic { overflow: hidden; background: #fff; }
.site-search-preview img { display: block; width: 100%; height: 100%; max-width: none; max-height: none; border: 0; border-radius: 0; object-fit: contain; }
.site-search-preview.is-comic img { position: absolute; }
.site-search-preview::after { content: ''; position: absolute; inset: 0; box-sizing: border-box; border: .25rem solid var(--purple); pointer-events: none; }

html body[data-page] .workspace { --filter-open-width: 20rem; flex: 1; padding-top: 1.25rem; grid-template-columns: 20rem minmax(0,1fr); }
html body[data-page] .workspace.has-detail { grid-template-columns: 20rem minmax(0,1fr) 27.8125rem; }
html body[data-page] .workspace.filters-collapsed { grid-template-columns: 3rem minmax(0,1fr); }
html body[data-page] .workspace.filters-collapsed.has-detail { grid-template-columns: 3rem minmax(0,1fr) 27.8125rem; }
html body[data-page] .workspace .filter-sidebar { padding: 2.1875rem 1rem 3rem 6.5625rem; scrollbar-gutter: stable; scrollbar-width: auto; }
html body[data-page] .workspace .filter-sidebar::-webkit-scrollbar { width: .625rem; }
html body[data-page] .workspace .filter-tools { display: grid; grid-template-columns: minmax(0,1fr); gap: .625rem; height: auto; min-height: 0; margin-bottom: 1.25rem; }
html body[data-page] .workspace .filter-tools .reset-filters { display: inline-flex; width: auto; height: 1.875rem; min-height: 0; padding: 0 .375rem; background: #e6e6e6; color: #666; font-size: 1rem; line-height: 1; }
html body[data-page] .workspace .filter-tools .reset-filters.filters-active { background: var(--purple); color: #fff; }
html body[data-page] .workspace .filter-tools .filter-toggle { display: none; }
html body[data-page] .workspace .filter-tools .reset-filters { justify-self: start; }
html body[data-page] .workspace .catalog-search { display: flex; width: 100%; height: 1.875rem; min-height: 0; padding: 0 .25rem; margin: 0; border: .0625rem solid #444; }
html body[data-page] .workspace .catalog-search input { font-size: 1rem; line-height: 1.25; }
html body[data-page] .workspace .catalog-search svg { width: 1.25rem; height: 1.25rem; }
html body[data-page] .workspace .filter-tools .catalog-search svg { fill: none; stroke: currentColor; }
html body[data-page] .workspace .catalog-tools { display: none; }
html body[data-page] .workspace .filter-body { --filter-icon-size: 1.625rem; --filter-icon-gap: .375rem; }
html body[data-page] .workspace .filter-group { margin: 0 0 1.5625rem; }
html body[data-page] .workspace .filter-group h2 { margin: 0 0 .3125rem; font-size: 1.25rem; line-height: 1.5rem; }
html body[data-page] .workspace .filter-group .filter-options { gap: .3125rem; }
html body[data-page] .workspace .character-bands { display: grid; gap: .25rem; }
html body[data-page] .workspace .character-band-row { display: flex; gap: .375rem; }
html body[data-page] .workspace .character-options { display: flex !important; gap: .25rem !important; }
html body[data-page] .workspace .filter-body :is(.attribute-option,.character-option,.band-option) { width: 1.625rem; height: 1.625rem; }
html body[data-page] .workspace .filter-body :is(.attribute-option,.character-option) { filter: none; opacity: 1; }

html body[data-page] .workspace .tag-option { height: 1.875rem; min-height: 0; padding: 0 .375rem; font-size: 1rem; line-height: 1.25; }
html body[data-page] .workspace .card-rarity-options { display: grid; grid-template-columns: repeat(3,3.125rem); }
html body[data-page] .workspace .card-rarity-options .tag-option { width: 100%; font-size: 1rem; }
html body[data-page] .workspace .card-source-options { display: grid; grid-template-columns: repeat(2,max-content); }
html body[data-page] .workspace .card-source-options .tag-option { padding-inline: .375rem; font-size: 1rem; }
html body[data-page] .workspace .month-selects { flex-wrap: nowrap; gap: .1875rem; font-size: 1.25rem; }
html body[data-page] .workspace .month-selects select { height: 1.875rem; padding: 0; font-size: 1.25rem; }
html body[data-page] .workspace .month-selects select[data-period$="Year"] { width: 5rem; }
html body[data-page] .workspace .month-selects select[data-period$="Month"] { width: 3rem; }
html body[data-page] .workspace .period-separator { height: 1.25rem; line-height: 1.25rem; }
html body[data-page] .workspace .filter-sort h2 { display: flex; align-items: center; gap: .25rem; }
html body[data-page] .workspace .filter-sort .sort-toggle { width: 1.25rem; height: 1.5rem; min-height: 0; font-size: 1.125rem; color: #888; }
html body[data-page] .workspace .filter-sort .filter-options { display: grid; grid-template-columns: repeat(2,max-content); }
html body[data-page="songs"] .workspace .difficulty-option { width: auto; height: 1.5625rem; padding: 0 .3125rem; font-size: .75rem; opacity: .45; filter: brightness(.65); }
html body[data-page="songs"] .workspace .difficulty-option.active { opacity: 1; filter: none; }
html body[data-page="songs"] .workspace .difficulty-range { height: 3rem; margin-top: .375rem; margin-bottom: 1.25rem; }
html body[data-page="songs"] .workspace .range-values { font-size: 1rem; }
html body[data-page="songs"] .workspace .filter-difficulty { margin-bottom: 0; }
html body[data-page="songs"] .workspace .filter-group:has(> .filter-difficulty) { margin-bottom: .5rem; }
html body[data-page] .workspace .catalog { padding: 1.875rem 5.625rem 3rem 1.875rem; scrollbar-gutter: auto; }
html body[data-page] .workspace.has-detail .catalog { padding-right: 1.875rem; }
html body[data-page] .workspace .catalog-grid { gap: 1.875rem; grid-template-columns: repeat(4,minmax(0,1fr)); }
html body[data-page="cards"][data-card-type="member"] .workspace .catalog-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
html body[data-page="cards"][data-card-type="support"] .workspace .catalog-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
html body[data-page="cards"][data-card-type] .workspace .catalog-grid .art-tile { aspect-ratio: auto; }
/* Song tiles keep their design width when the detail panel opens or closes. */
html body[data-page="songs"] .workspace .catalog-grid {
  grid-template-columns: repeat(auto-fill, 16.875rem);
}
html body[data-page="songs"] .workspace.has-detail .catalog {
  padding-right: 1.25rem;
}
/* Recruitment tiles retain their width as the detail panel changes the available columns. */
html body:is([data-page="recruitment"], [data-page="events"]) .workspace .catalog-grid,
html body:is([data-page="recruitment"], [data-page="events"]) .workspace.has-detail .catalog-grid {
  grid-template-columns: repeat(auto-fill, 21.5625rem);
}
html body:is([data-page="recruitment"], [data-page="events"]) .workspace.has-detail .catalog {
  padding-right: 1.25rem;
}
html body[data-page] .workspace .catalog-grid :is(.art-tile,.event-tile,.recruitment-tile) { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; aspect-ratio: auto; border: 0; border-radius: .25rem; overflow: hidden; background: var(--purple); text-align: left; }
html body[data-page="cards"] .workspace .catalog-grid .card-visual { width: 100%; height: auto; aspect-ratio: 3/4; }
html body[data-page="cards"][data-card-type="support"] .workspace .catalog-grid .card-visual { aspect-ratio: 16/9; }
html body[data-page] .workspace .catalog-grid .card-art { width: 100%; height: 100%; object-fit: contain; }
.catalog-song-art { position: relative; display: block; width: 100%; aspect-ratio: 1; }
.catalog-caption { display: flex; flex: none; flex-direction: column; justify-content: center; min-width: 0; width: 100%; height: 3rem; padding: .125rem .3125rem; background: var(--purple); color: white; }
.catalog-caption :is(small,strong) { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; }
.catalog-caption small { font-size: .875rem; line-height: 1.125rem; }
.catalog-caption strong { font-size: 1.5rem; line-height: 1.625rem; }
.catalog-caption.caption-song { height: 1.875rem; }
.catalog-caption.caption-song strong { font-size: 1.25rem; line-height: 1.5rem; }
.catalog-caption.caption-period { height: 3.25rem; }
.catalog-caption.caption-period strong { font-size: 1.25rem; line-height: 1.5rem; }
.catalog-caption.caption-period small { font-size: 1rem; line-height: 1.375rem; }
html body[data-page] .catalog-grid :is(.event-tile,.recruitment-tile) > img { display: block; width: 100%; height: auto; aspect-ratio: 488/208; object-fit: contain; background: #fff; }
html body[data-page="events"] .catalog-grid .event-tile > img { aspect-ratio: 2/1; }
html body[data-page] .catalog-grid [data-item]:is(:hover,:focus-visible,.selected) { outline: .125rem solid var(--purple); outline-offset: .1875rem; }
.catalog-rarity { position: absolute; left: .375rem; bottom: .375rem; z-index: 5; width: auto; height: 2rem; object-fit: contain; }
html body[data-page] .workspace .detail-panel { padding: 0 1.875rem 3rem; scrollbar-gutter: auto; }
html body[data-page] .workspace .detail-tools { height: 1.875rem; min-height: 1.875rem; margin-left: -1.5625rem; }
html body[data-page] .workspace .detail-tools .detail-close { width: 1.25rem; height: 1.5rem; }
html body[data-page] .workspace .detail-panel :is(.detail-recruitment-banner,.detail-event-banner,.recruitment-related-event) { width: 100%; border: 0; border-radius: 0; }
html body[data-page] .workspace .detail-panel .detail-title { display: block; margin: .25rem 0; font-size: 1.25rem; line-height: 1.5; text-align: left; }
html body[data-page="songs"] .workspace .detail-title { text-align: center; }
html body[data-page] .workspace .detail-period { font-size: 1rem; line-height: 1.4; margin: 0 0 1.5625rem; }
html body[data-page] .workspace .detail-facts { margin-top: 2rem; gap: .375rem .75rem; font-size: 1.25rem; }
html body[data-page] .workspace .detail-facts :is(dt,dd):not(.song-credit) { margin-top: 1.25rem; }
html body[data-page] .workspace .detail-facts .icon-fact { margin-top: 0 !important; }
.detail-circle { display: inline-flex; width: 1.625rem; height: 1.625rem; border-radius: 50%; vertical-align: middle; }
.detail-circle img { width: 100%; height: 100%; object-fit: contain; }
.detail-circle.band-1 { background: #318fd0; }.detail-circle.band-2 { background: #651a2e; }.detail-circle.band-3 { background: #9a5962; }.detail-circle.band-4 { background: #593178; }.detail-circle.band-5 { background: #76511c; }
.detail-circle[class*="band-"] img { padding: .125rem; }
html body[data-page="songs"] .detail-facts .detail-circle {
  display: inline-grid;
  place-items: center;
  box-sizing: border-box;
  width: 1.625rem;
  height: 1.625rem;
  min-width: 1.625rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
  line-height: 0;
}
html body[data-page="songs"] .detail-facts .detail-circle > img {
  display: block;
  width: 100%;
  height: 100%;
}
/* Attribute assets have a one-pixel transparent gutter on each side of their 64px canvas. */
html body[data-page="songs"] .detail-facts .detail-circle > .attribute-icon { transform: scale(1.032258); }
.detail-tags { display: grid; gap: .5rem; margin: 1.5625rem 0; font-size: 1.25rem; }
.detail-tags p { display: flex; gap: .5rem; margin: 0; align-items: center; }
html body[data-page] .workspace .detail-section { margin-top: 1.5625rem; }
html body[data-page] .workspace .detail-section h2 { margin: 0 0 .125rem; font-size: 1.25rem; line-height: 1.5; }
html body[data-page] .workspace .detail-song { width: 8rem; }
html body[data-page] .workspace .recruitment-pickup-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .875rem; align-items: start; }
html body[data-page] .workspace .reward-grid { display: grid; grid-template-columns: 1fr; width: calc((100% - .875rem)/2); gap: .875rem; }
.summary-card { display: block; min-width: 0; }
.summary-card .catalog-caption { text-align: left; }
.summary-art { position: relative; display: block; width: 100%; aspect-ratio: 3/4; }
.summary-support .summary-art { aspect-ratio: 16/9; }
.summary-art > img:first-child { display: block; width: 100%; height: 100%; object-fit: contain; }
.summary-art .corner-attribute { position: absolute; top: .25rem; left: .25rem; width: 1.5rem; height: 1.5rem; z-index: 5; }
.summary-art .corner-attribute img { display: block; width: 100%; height: 100%; }
.summary-art img.catalog-rarity { width: auto; height: 2rem; aspect-ratio: auto; }
.summary-card .catalog-caption { height: auto; min-height: 2.5rem; }
.summary-card .catalog-caption strong { font-size: 1.25rem; line-height: 1.5rem; }
.summary-card .catalog-caption small { font-size: .875rem; }

html body[data-page="member"] .member-layout { grid-template-columns: 36rem minmax(0,1fr); gap: 2.5rem; padding: 0 5rem 3rem 12.5rem; }
html body[data-page="member"] .member-back, html body[data-page="support"] .member-back { position: absolute; top: 7.5rem; left: 6rem; margin: 0; padding: 0; font-size: 2rem; z-index: 2; }
html body[data-page="member"] .member-layout { padding-top: 1.875rem; }
html body[data-page="member"] .member-art > img { max-height: none; min-height: 0; width: 100%; height: auto; aspect-ratio: 3/4; }
html body[data-page="member"] .member-controls { grid-template-columns: 22.5rem minmax(0,1fr) minmax(0,1fr); gap: 2.5rem; align-items: start; margin: .625rem 0 8.125rem; }
html body[data-page="member"] .member-info-grid { grid-template-columns: 22.5rem minmax(0,1fr); gap: 2.5rem; }
html body:is([data-page="member"],[data-page="support"]) .member-level-label { font-size: 1.5rem; }
html body:is([data-page="member"],[data-page="support"]) .member-level-label output { font-size: 3rem; }
html body:is([data-page="member"],[data-page="support"]) .member-level { height: 8.125rem; }
html body:is([data-page="member"],[data-page="support"]) .member-level-label { height: auto; }
html body:is([data-page="member"],[data-page="support"]) .member-level input { position: static; height: 2rem; margin-top: 3.25rem; }
html body:is([data-page="member"],[data-page="support"]) .member-level input::-webkit-slider-thumb { width: 1.875rem; height: 1.875rem; margin-top: -.875rem; }
html body:is([data-page="member"],[data-page="support"]) .member-controls legend { font-size: 1.5rem; margin-bottom: 2rem; }
html body:is([data-page="member"],[data-page="support"]) .member-stages button { height: 3.625rem; font-size: 1.5rem; }
html body:is([data-page="member"],[data-page="support"]) .awakening-star { width: 3.125rem; height: 3.125rem; }
html body:is([data-page="member"],[data-page="support"]) .member-stat-rows { gap: .625rem 0; }
html body:is([data-page="member"],[data-page="support"]) .member-stat-rows :is(dt,dd) { padding: .375rem .625rem; font-size: 1.5rem; line-height: 1.5; }
html body[data-page="member"] .member-power h2 { height: 3.125rem; font-size: 1.5rem; line-height: 2.875rem; padding: 0 .625rem; }
html body[data-page="member"] .member-total { font-size: 3rem; margin: .625rem; }
html body:is([data-page="member"],[data-page="support"]) .member-skill { margin-bottom: 3rem; }
html body:is([data-page="member"],[data-page="support"]) .member-skill h2 { font-size: 1.5rem; height: 3.125rem; margin-bottom: 1rem; }
html body:is([data-page="member"],[data-page="support"]) .member-skill-icon { width: 4.375rem; height: 4.375rem; }
html body:is([data-page="member"],[data-page="support"]) .member-skill h2 small { font-size: 1.5rem; }
html body:is([data-page="member"],[data-page="support"]) .member-skill p { font-size: 1.5rem; line-height: 1.5; }
html body:is([data-page="member"],[data-page="support"]) .member-art-tools { gap: .625rem; }
html body:is([data-page="member"],[data-page="support"]) .member-art-tools button { width: 2.5rem; height: 2.5rem; }
html body:is([data-page="member"],[data-page="support"]) .member-art-tools svg { width: 1.875rem; height: 1.875rem; }
html body:is([data-page="member"],[data-page="support"]) .member-identity { gap: .5rem; }
html body:is([data-page="member"],[data-page="support"]) .member-rarity { width: 5rem; height: 4.375rem; }
html body:is([data-page="member"],[data-page="support"]) .member-attribute { width: 2.5rem; height: 2.5rem; }
html body:is([data-page="member"],[data-page="support"]) .member-names h1 { font-size: 1rem; border-image: linear-gradient(90deg,#b5d1ed,#c986b6,#eee5b2) 1; border-bottom-width: .25rem; }
html body:is([data-page="member"],[data-page="support"]) .member-names p { font-size: 1.5rem; }
html body[data-page="member"] .member-band { flex-basis: 10rem; height: 5rem; margin-left: 5rem; }
html body[data-page="support"] .support-layout { grid-template-columns: 43.75rem minmax(0,1fr); gap: 3.75rem; padding: 12.5rem 10rem 4rem 12.5rem; }
html body[data-page="support"] .support-controls { grid-template-columns: 18.75rem minmax(0,1fr); gap: 2.5rem; margin: .625rem 0 4rem; }
html body[data-page="support"] .support-controls fieldset { display: flex; align-items: center; gap: 2.5rem; }
html body[data-page="support"] .support-controls legend { float: left; font-size: 1.5rem; margin: 0; }
html body[data-page="support"] .support-ranks { width: 18.75rem; flex: 0 0 18.75rem; }
html body[data-page="support"] .support-rank-icon { width: 2.875rem; height: 2.875rem; }
html body[data-page="support"] .support-info { grid-template-columns: 18.75rem minmax(0,1fr); gap: 2.5rem; }
html body[data-page="support"] .support-stats { margin-top: 5rem; }
html body[data-page="support"] .support-roles { display: none; }
html body[data-page="support"] .support-identity { max-width: 22.5rem; }
html body .member-lightbox { display: none; width: 100vw; height: 100dvh; max-width: none; max-height: none; inset: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: white; }
html body .member-lightbox[open] { display: grid; place-items: center; }
html body .member-lightbox > img { max-width: 100vw; max-height: 100dvh; height: 100dvh; width: 100vw; object-fit: contain; border: 0; }
html body .member-lightbox-tools { position: absolute; left: 3rem; bottom: 2rem; margin: 0; }
html body .member-lightbox:not(.support-lightbox) .member-lightbox-tools { left: max(1rem,calc((100vw - 75dvh)/2 - 6.25rem)); bottom: .625rem; }
html body .support-lightbox .member-lightbox-tools { left: 0; bottom: 0; }
html body .member-lightbox button { width: 2.5rem; height: 2.5rem; }
html body .member-lightbox button svg { width: 1.75rem; height: 1.75rem; }

html body .bands-layout { grid-template-columns: 30rem minmax(0,1fr); margin-top: 3.125rem; }
html body .bands-sidebar { padding: 0 0 0 12.5rem; }
html body .bands-menu { padding-top: 9.375rem; gap: 1.875rem; }
html body .band-switch { width: 15.625rem; height: 5rem; }
html body .band-switch img { width: 10.9375rem; height: 4.375rem; }
html body .band-switch.active { transform: translateX(1.875rem); }
html body .bands-layout::after { left: calc(30rem - .0625rem); width: 1.875rem; }
html body .bands-main { padding: 0 7.5rem 3rem 3.125rem; }
html body .band-summary { grid-template-columns: 28.125rem minmax(0,1fr); gap: 4.375rem; margin-top: 3.75rem; min-height: 9.375rem; }
html body .band-wordmark, html body .band-wordmark img { height: 9.375rem; }
html body .band-wordmark img { width: 16.875rem; }
html body .band-description { font-size: 1rem; line-height: 1.5; }
html body .band-members { grid-template-columns: repeat(5,12.5rem); gap: 2.5rem; margin-top: 2.5rem; }
html body .band-member { height: 26.25rem; }
html body .band-member-name .name-en { font-size: .875rem; line-height: 1.25; }
html body .band-member-name .name-cn { font-size: 1.5rem; }

html body[data-page] .character-layout { display: block; padding: 3.125rem 9.375rem 6rem; margin: 0; }
.character-hero { position: relative; display: grid; grid-template-columns: 49.375rem minmax(0,1fr); gap: 2.5rem; min-height: 67.5rem; margin-bottom: 4.375rem; }
html body[data-page="character"] .character-stage { height: 67.5rem; overflow: hidden; }
html body[data-page="character"] .role-portrait { position: absolute; top: 3.125rem; left: 0; width: 47.5rem; height: 64.375rem; object-fit: contain; object-position: center top; }
html body[data-page="character"] .role-portrait[src$="/person-1-band.webp"] { top: 0; left: -.75rem; }
html body[data-page="character"] .character-stage::after { bottom: 0; }
html body[data-page="character"] .character-details { min-height: 0; padding: 6.25rem 0 0; }
html body[data-page="character"] .character-actions { position: absolute; top: 0; left: 41.875rem; display: grid; height: auto; gap: 1.25rem; margin: 0; padding: 0; z-index: 3; }
html body[data-page="character"] .character-action { width: 5rem; height: 5rem; font-size: 1.125rem; }
.character-identity { position: absolute; z-index: 2; bottom: 10.625rem; left: 8.125rem; right: 8.125rem; display: flex; gap: 1.25rem; align-items: center; padding: 1.25rem .625rem; background: #ffffffe6; }
.character-identity .role-band-logo { display: block; width: 13.75rem; height: 5rem; object-fit: contain; }
.character-identity > div { flex: 1; min-width: 0; }
.character-identity :is(h1,p) { margin: 0; font-weight: 400; font-size: 1.25rem; }
.character-identity .character-name-en { border-bottom: .0625rem solid #666; font-size: 1rem; }
.character-identity .character-cv { margin-top: 1rem; font-size: 1rem; }
.character-quote { margin: 0 0 .625rem; border-bottom: .125rem solid #222; padding: 0 0 .625rem; font-size: 2rem; font-weight: 400; text-align: center; }
.character-facts { display: grid; grid-template-columns: 10rem minmax(0,1fr); gap: .625rem 1.25rem; margin: 0 2.5rem .625rem; font-size: 1.25rem; }
.character-facts dt { display: grid; place-items: center; min-height: 3.125rem; padding: .3125rem; background: var(--purple); color: white; }
.character-facts dd { display: flex; align-items: center; min-width: 0; margin: 0; }
.character-summary { margin: 0 2.5rem; padding: 1.25rem; min-height: 12.5rem; background: #e6e6e6; font-size: 1.25rem; line-height: 1.5; white-space: pre-line; }
html body[data-page="character"] .character-groups { display: grid; grid-template-columns: 1fr; gap: 3.125rem; margin: 0; }
html body[data-page="character"] .character-group { min-height: 0; }
html body[data-page="character"] .character-group h2 { height: 3.75rem; line-height: 3.75rem; font-size: 2.25rem; margin-bottom: 1.25rem; }
html body[data-page="character"] .character-media-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 1.875rem; }
html body[data-page="character"] .character-related-art { --art-badge-size: 2.5rem; width: 100%; height: auto; overflow: hidden; }
.related-artwork { position: relative; display: block; width: 100%; aspect-ratio: 3/4; }
.media-support .related-artwork { aspect-ratio: 16/9; }
:is(.media-song,.media-emoji) .related-artwork { aspect-ratio: 1; }
html body[data-page="character"] .character-related-art .related-image { width: 100%; height: 100%; object-fit: contain; }
html body[data-page="character"] .character-related-art .related-caption { position: static; display: block; min-height: 1.875rem; padding: .125rem .3125rem; opacity: 1; background: var(--purple); color: white; font-size: 1.125rem; line-height: 1.625rem; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body[data-page="character"] .character-related-art.media-emoji .related-caption { display: none; }
html body[data-page="character"] .character-related-art .catalog-rarity { height: 2.5rem; }
html body[data-page="character"] .character-member-step { top: 50%; transform: translateY(-50%); }
html body[data-page="character"] .character-member-step[data-member-direction="previous"] { left: -3rem; }
html body[data-page="character"] .character-member-step[data-member-direction="next"] { right: -3rem; }
html body[data-page="character"] .character-page-back { top: 0; left: -3rem; }
html body[data-page] .outfits-layout { grid-template-columns: 49.375rem minmax(0,1fr); gap: 5.625rem; padding: 3.125rem 11.25rem 4rem 9.375rem; }
html body[data-page] .outfits-stage { min-height: 67.5rem; height: auto; }
html body[data-page] .outfits-portrait { top: 3.125rem; left: calc((100% - 37.5rem)/2); width: 37.5rem; max-width: 100%; height: auto; }
html body[data-page] .outfits-details { padding: 3.125rem 0 0; min-height: 0; }
html body[data-page] .outfits-grid { width: 100%; grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-rows: auto; gap: 1.25rem; min-height: 33.125rem; padding: 1.25rem; align-content: start; }
html body[data-page] .outfit-option { width: 100%; height: auto; aspect-ratio: 1; border: .0625rem solid white; }
html body[data-page] .outfit-thumbnail { object-position: center 30%; }
html body[data-page] .outfit-info { width: 100%; margin-top: 1.25rem; padding: 1.25rem; grid-template-columns: 9.375rem minmax(0,1fr); gap: 1.25rem; min-height: 11.875rem; }
html body[data-page] .outfit-info-art { width: 9.375rem; height: 9.375rem; object-fit: cover; object-position: center 15%; }
html body[data-page] .outfit-name { font-size: 1.25rem; }
html body[data-page] .outfit-acquisition { font-size: 1rem; }
html body[data-page] .profile-layout { grid-template-columns: 49.375rem minmax(0,1fr); padding: 3.125rem 9.375rem 4rem; }
html body[data-page] .profile-portrait { width: 47.5rem; }
html body[data-page] .profile-stage { height: 67.5rem; }
html body[data-page] .profile-details { padding-top: 6.25rem; }

html body > main.voice-layout { grid-template-columns: 26.875rem minmax(0,1fr); padding: 0; }
html body .voice-sidebar { margin-top: 3.125rem; padding-left: 9.375rem; }
html body .voice-categories { width: 15.625rem; padding-top: 13.125rem; gap: 2.5rem; }
html body .voice-category { width: 15.625rem; height: 4.375rem; font-size: 1.5rem; }
html body .voice-category[aria-pressed="true"] { transform: translateX(1.875rem); }
html body .voice-layout::after { left: calc(26.875rem - .0625rem); width: 1.875rem; }
html body .voice-content { padding: 0 8.75rem 3rem 3.375rem; }
html body .voice-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2.5rem 4.25rem; margin-top: 7rem; }
html body .voice-card { height: 10.125rem; padding-right: 5rem; }
html body .voice-card p { font-size: 1.25rem; }
html body .voice-card-title { font-size: 1.25rem; }
html body .voice-tag { top: .875rem; left: .875rem; height: 1.625rem; min-width: 8.5rem; font-size: 1rem; }
html body .voice-play-button { width: 3.4375rem; height: 3.4375rem; top: calc(50% - 1.71875rem); right: .875rem; }
html body .voice-play-button svg { width: 1.75rem; height: 1.75rem; }
html body[data-page="character-voice"] .voice-layout .character-page-back { top: 3.125rem; left: 6.25rem; }
html body[data-page="character-outfits"] .character-page-back, html body[data-page="character-profile"] .character-page-back { top: 8rem; left: 6rem; }
html body[data-page="songs"] .workspace .detail-cover { width: min(100%,var(--song-card-width,16.875rem)); max-width: none; }
html body[data-page="songs"] .workspace .detail-facts dd.icon-fact { text-align: left; }

html body[data-page] .calendar-layout { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 3.125rem 0 0; }
html body[data-page] .month-pane { padding: 3.125rem 5rem 4rem 11.25rem; }
html body[data-page] .calendar-side { padding: 3.125rem 12.5rem 4rem 5rem; }
html body[data-page] .calendar-monthbar { height: 2.5rem; font-size: 1rem; }
html body[data-page] .calendar-monthbar .calendar-today { background: var(--purple); color: white; border-radius: 50%; width: 2.25rem; height: 2.25rem; padding: 0; font-size: 1rem; }
html body[data-page] .calendar-weekdays { height: 1.875rem; font-size: 1rem; }
html body[data-page] .calendar-week { height: 6.25rem; }
html body[data-page] .calendar-day { font-size: 1rem; }
html body[data-page] .calendar-day span { width: 1.25rem; height: 1.25rem; line-height: 1.25rem; }
html body[data-page] .calendar-legend { font-size: .75rem; gap: .75rem; }
html body[data-page] .schedule-overview { gap: 5rem; }
html body[data-page] .schedule-group h2 { margin-bottom: 1.25rem; padding: .125rem .375rem; background: var(--purple); color: white; font-size: 1.5rem; }
html body[data-page] .schedule-list { gap: 1.25rem; }
html body[data-page] .schedule-banner { display: block; aspect-ratio: auto; border: 0; border-radius: 0; background: white; }
html body[data-page] .schedule-banner img { height: auto; aspect-ratio: 488/208; object-fit: contain; }
html body[data-page] .schedule-banner > .schedule-caption { position: static; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; min-height: 3rem; padding: .25rem .375rem; opacity: 1; background: var(--purple); color: white; text-align: left; }
.schedule-caption strong { font-size: 1.25rem; line-height: 1.5rem; font-weight: 400; }
.schedule-caption small { font-size: 1rem; }

html body:not([data-page]) main { padding: 4.21875rem 7.96875rem 3rem 10.78125rem; grid-template-columns: 20.625rem 6.09375rem 20.625rem 7.03125rem 45.9375rem; }
html body:not([data-page]) .heading { height: 2.8125rem; margin-bottom: 1.40625rem; }
html body:not([data-page]) .heading h2 { font-size: 1.875rem; }
html body:not([data-page]) .tiles { grid-template-columns: repeat(2,9.375rem); gap: 1.6875rem 1.875rem; }
html body:not([data-page]) .lower { margin-top: 2.25rem; }
html body:not([data-page]) .banner { height: 8.625rem; }
html body:not([data-page]) #cards .thumb-kind { width: 3.75rem; height: 1.875rem; font-size: 1.3125rem; }
html body:not([data-page]) :is(#cards .card-thumb,.tile.song) { --art-badge-size: 2rem; }
html body:not([data-page]) .calendar { height: 46.875rem; }
html body:not([data-page]) .monthbar { flex-basis: 3rem; height: 3rem; }
html body:not([data-page]) .monthbar strong { font-size: 1.5rem; }
html body:not([data-page]) .weekdays { flex-basis: 1.875rem; font-size: 1.3125rem; }
html body:not([data-page]) .day { font-size: 1.125rem; }
html body:not([data-page]) .date { width: 1.6875rem; height: 1.6875rem; }
html body:not([data-page]) .event { font-size: 1.125rem; height: 1.6875rem; line-height: 1.6875rem; }
html body:not([data-page]) .legend { font-size: 1rem; }
html body:not([data-page]) .tile-person, html body:not([data-page]) .tile-title { font-size: 1.125rem; }
html body[data-page="comics"] .comics-page { width: 100%; padding: 4rem 12rem; }
