.scene-link, .registration, .exhibition {
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
.scene-link, .registration a, .exhibition a { color: inherit; text-decoration: none; }
.scene-link {
  position: absolute; left: 6%; bottom: 5%; z-index: 2; display: flex;
  align-items: center; gap: 1.8em; color: #cad9e9; font-size: 14px;
  padding: 12px 0; border-bottom: 1px solid #8daac06b;
}
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #a6dfff; outline-offset: 5px; }
:is(#event-title, #registration-title, #exhibit-title):focus { outline: none; }
html[data-scene-deck] { overflow: hidden; overscroll-behavior: none; }
[data-scene-deck] :is(.particle-scene, .registration, .exhibition) {
  position: fixed; inset: 0; height: 100dvh; visibility: hidden;
}
[data-scene-deck] .on-stage { visibility: visible; }
[data-scene-deck] .particle-scene { z-index: 3; }
[data-scene-deck] .exhibition { z-index: 2; }
[data-scene-deck] :is(.particle-scene, .particle-scene__canvas, .exhibition) { touch-action: pinch-zoom; }
[data-scene-deck] .registration { display: block; overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
[data-scene-deck] .particle-scene[inert] .scene-link { opacity: 0; }
.scene-link { transition: opacity 150ms; }
[data-scene-deck] :is(.exhibit-header, .exhibit-caption, .exhibit-search, .exhibit-fallback img) { opacity: var(--work-light, 1); }
.exhibition { position: relative; height: 520vh; color: #edf2f8; background: #05080d; }
.exhibit-stage { position: sticky; top: 0; overflow: hidden; height: 100vh; height: 100dvh; isolation: isolate; background: radial-gradient(ellipse at 57% 46%,#14212a,#05080d 78%); }
.installation-view, .installation-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; display:block; }
.installation-view .screen-hover, .exhibit-fallback img[src] { cursor: pointer; }
.exhibit-header {
  position: absolute; left: 5%; right: 5%; top: max(22px, 5%); z-index: 2;
  display: flex; justify-content: space-between; align-items: center; pointer-events: none;
}
.exhibit-header h2 { font-size: 17px; margin:0; font-weight: 550; letter-spacing: .15em; }
.exhibit-header nav { display: flex; gap: clamp(10px, 2.7vw, 44px); align-items: center; }
.exhibit-header a,.exhibit-header button { pointer-events: auto; }
.exhibit-header a,.exhibit-header button { min-height: 44px; display: inline-flex; align-items: center; }
.exhibit-header button,.exhibit-watch {
  border: 0; padding: 0; background: transparent; color: #e2ebf5; font: inherit; cursor: pointer;
}
.exhibit-header button { gap: 8px; font-size: 14px; white-space: nowrap; }
.exhibit-header .ballot-launch {
  gap: 12px; padding: 0 15px; border: 1px solid #dcf3ffb8; border-radius: 7px;
  color: #102332; font-weight: 650; background: linear-gradient(136deg, #e8f6ff, #accbe1);
  box-shadow: inset 0 1px #fff, 0 0 19px #82bbef38;
  transition: box-shadow .18s, background .18s;
}
.exhibit-header .ballot-launch:hover { color: #102332; background: #ecf8ff; box-shadow: 0 0 24px #82bbef73; }
.ballot-launch-arrow { width: 6px; height: 6px; border: solid currentColor; border-width: 1px 1px 0 0; transform: rotate(45deg); }
.exhibit-header button:disabled { opacity: .55; cursor: wait; }
.exhibit-header a { font-size: 13px; color: #c0ccda; }
.exhibit-search {
  --search-silver: #a8c2d9;
  --search-edge: #a8c2d94d;
  position: absolute; z-index: 3; left: 5%; top: calc(max(22px, 5%) + 48px);
  width: clamp(206px, 17vw, 272px);
  border-radius: 10px;
}
.exhibit-search-field {
  position: relative;
  color: var(--search-silver);
  background: linear-gradient(90deg, #b9d5ec9c, #7b9db55e 65%, #7b9db51f) bottom / 100% 1px no-repeat;
  transition: color .18s;
}
.exhibit-search-field:hover, .exhibit-search-field:focus-within { color: #edf7ff; }
.exhibit-search-field::before, .exhibit-search-field::after {
  content: ""; position: absolute; top: 50%; pointer-events: none;
}
.exhibit-search-field::before {
  left: 10px; width: 10px; height: 10px; border: 1px solid; border-radius: 50%;
  transform: translateY(-60%);
}
.exhibit-search-field::after {
  left: 19px; width: 5px; height: 1px; background: currentColor; transform: translateY(4px) rotate(45deg);
}
.exhibit-search input {
  display: block; box-sizing: border-box; width: 100%; min-height: 44px;
  padding: 10px 13px 10px 34px; border: 0; border-radius: 10px; background: transparent;
  color: #eff5fb; font: inherit; font-size: 13px; letter-spacing: .04em;
}
.exhibit-search input::placeholder { color: var(--search-silver); opacity: 1; }
.exhibit-search input:focus-visible { outline: 2px solid #c2e4ff; outline-offset: 3px; }
.exhibit-search:has(input[aria-expanded="true"]) {
  background: linear-gradient(155deg, #182534f7, #090f17f7 76%);
  box-shadow: inset 0 1px #c6e5ff78, inset 0 0 0 1px var(--search-edge), 0 16px 40px #0008;
  backdrop-filter: blur(14px);
}
.exhibit-search input[aria-expanded="true"] { border-radius: 10px 10px 0 0; }
.exhibit-search input[aria-expanded="true"]:focus-visible { outline-offset: -2px; }
.exhibit-search-results { padding: 0 1px 7px; }
.exhibit-search-results p {
  margin: 0; padding: 11px 13px 9px; color: #b5c8db; font-size: 12px; letter-spacing: .05em;
  font-variant-numeric: tabular-nums;
}
.exhibit-search-results ul {
  max-height: min(30dvh, 280px); overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: #607a91 transparent;
  touch-action: pan-y; list-style: none; padding: 0; margin: 0;
}
.exhibit-search-results li {
  position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr);
  gap: 3px 8px; align-items: baseline; box-sizing: border-box; min-height: 48px;
  padding: 9px 28px 9px 13px; border-top: 1px solid #a8c2d91f; cursor: pointer;
}
.exhibit-search-results li:is(:hover,[aria-selected="true"]) {
  background: linear-gradient(90deg, #9ebddc30, #9ebddc0c); box-shadow: inset 2px 0 #b8d8f0;
}
.exhibit-search-results li::after {
  content: ""; position: absolute; right: 15px; top: 50%; width: 5px; height: 5px;
  border: solid #b8d8f0; border-width: 1px 1px 0 0; transform: translateY(-50%) rotate(45deg);
}
.exhibit-search-results li > span { grid-row: 1 / 3; color: var(--search-silver); font: 12px ui-monospace, monospace; }
.exhibit-search-results li strong { font-size: 14px; line-height: 1.4; font-weight: 550; overflow-wrap: anywhere; }
.exhibit-search-results li small { grid-column: 2; color: #b5c8db; font-size: 12px; overflow-wrap: anywhere; }
.exhibit-caption { position:absolute; z-index: 1; left: 5%; bottom: 14%; width: min(25vw, 420px); pointer-events:none; text-shadow:0 2px 20px #000; }
.exhibit-count { color:#adbac9; font: 13px/1.4 ui-monospace,monospace; word-spacing:.5em; margin:0 0 12px; }
.exhibit-count #work-number { color:white; }
.exhibit-caption h3, .screen-credit h3 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-weight: 400;
  font-size: clamp(29px, 3.2vw, 56px);
  line-height: 1.18;
  letter-spacing: .035em;
  overflow-wrap: anywhere;
}
.exhibit-caption h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.exhibit-attribution, #exhibit-status { margin: 13px 0 0; font-size: 13px; color: #becfdf; overflow-wrap: anywhere; }
#exhibit-status:empty { display: none; }
.exhibit-watch {
  display: inline-flex; min-height: 44px; align-items: center; gap: 24px; margin-top: 12px;
  border-bottom: 1px solid #adbdcd7a; font-size: 14px; pointer-events: auto;
}
.exhibit-watch:not(:focus-visible) {
  position: absolute; width: 1px; height: 1px; min-height: 0; margin: 0;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap; pointer-events: none;
}
.exhibit-watch:hover, .exhibit-header button:hover { color: white; }
.exhibit-fallback { position:absolute; inset:0; display:grid; place-items:center; pointer-events:none; }
.exhibit-fallback img { width:min(54%,780px); aspect-ratio:1.67; object-fit:cover; border:2px solid #8494a6; border-radius:9px; pointer-events: auto; }
.exhibit-ready .exhibit-fallback { display:none; }
.exhibit-fallback img:not([src]) { visibility: hidden; }

.screening {
  position: fixed; inset: 0; box-sizing: border-box; margin: 0; padding: 0; border: 0;
  width: 100%; max-width: none; height: 100%; max-height: none; overflow: clip;
  background: #030406; color: #edf2f8;
}
.screening::backdrop { background: #030406; }
.screening [hidden] { display: none !important; }
.screen-single[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.screen-single .screen-top { position: static; grid-row: 1; }
.screen-single .screen-media { position: static; grid-row: 2; margin: 0 5%; min-height: 0; }
.screen-single .screen-footer { position: static; grid-row: 3; align-items: center; background: transparent; }
.screen-single .screen-credit h3 { overflow-wrap: anywhere; }
.preview-vote { display: flex; align-items: center; justify-content: flex-end; gap: 14px; pointer-events: auto; }
.preview-vote p { margin: 0; color: #a8c2d9; font-size: 13px; }
.preview-vote .screen-control { padding-inline: 17px; border-color: #a8c2d975; white-space: nowrap; }
.screen-media { position: absolute; inset: 3% 2% 8%; }
.screen-media :is(video, img) { display: block; width: 100%; height: 100%; object-fit: contain; }
.screen-top,.screen-footer { position: absolute; inset-inline: 0; padding: 17px 5%; }
.screen-top { top: 0; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(#030406bf, transparent); }
.screen-top p, .screen-credit p { margin: 0; font-size: 13px; color: #becfdf; }
.screen-start {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center;
  text-align: center; padding: 24px; pointer-events: none;
}
.screen-start h2 { margin: 0; font: 400 clamp(40px, 8vw, 91px)/1.2 "Noto Serif SC", "Songti SC", SimSun, serif; letter-spacing: .09em; }
.screen-start p { margin: 16px 0 30px; color: #becfdf; }
.screen-start button { pointer-events: auto; }
.screen-footer {
  bottom: 0; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px 20px;
  background: linear-gradient(transparent,#030406eb 57%); pointer-events: none;
}
.screen-credit { min-width: 0; }
.screen-credit h3 { font-size: clamp(20px, 3vw, 40px); margin: 5px 0; }
.screen-controls { display: flex; gap: 7px; flex-wrap: wrap; pointer-events: auto; }
.screen-control {
  min-height: 44px; border-radius: 4px; border: 1px solid #8ea8bf70; padding: 8px 12px;
  background: #101923d8; color: #edf2f8; font: inherit; font-size: 13px; cursor: pointer;
}
.screen-control:hover:enabled { background: #243749; }
.screen-control:disabled { opacity: .45; cursor: default; }
.screen-primary { padding-inline: 22px; background: #d9ecfb; color: #0f1c2c; font-weight: 650; }
.screen-primary:hover:enabled { background: white; }
#screen-status { margin: 0; grid-column: 1 / -1; font-size: 13px; color: #b5dfff; }
#screen-status:empty { display: none; }
.screen-top, .screen-controls { transition: opacity .2s; }
.screen-quiet .screen-top, .screen-quiet .screen-controls { opacity: 0; pointer-events: none; }

.ballot {
  --ballot-pad: clamp(18px, 3vw, 30px);
  --ballot-line: #b4cde133;
  --ballot-muted: #bbcede;
  position: fixed;
  inset: 20px clamp(20px, 3vw, 48px) 20px auto;
  width: min(100vw - 48px, 575px);
  height: calc(100dvh - 40px);
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  color: #edf2f8;
  background: radial-gradient(ellipse at 94% 0%, #22364b9e, transparent 48%), #0d1621;
  border: 1px solid #a8c2d967;
  border-radius: 16px;
  box-shadow: inset 0 1px #c6e5ff54, 0 24px 80px #0009;
}
.ballot[open] { display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; }
.ballot [hidden] { display: none !important; }
.ballot::backdrop { background: linear-gradient(90deg, #02050a38, #02050ab8); backdrop-filter: blur(3px); }
.ballot-header, .ballot-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ballot-header { grid-row: 1; padding: 20px var(--ballot-pad) 10px; }
.ballot-header h2 {
  margin: 0; font: 400 clamp(27px, 3vw, 40px)/1.2 "Noto Serif SC", "Songti SC", SimSun, serif;
  letter-spacing: .06em;
}
.ballot-close {
  flex: 0 0 44px; height: 44px; border: 1px solid var(--ballot-line); padding: 0; border-radius: 50%; background: transparent;
  color: #c4d6e7; font: 23px/1 system-ui, sans-serif; cursor: pointer;
}
.ballot-close:hover { background: #c5d8e718; color: white; }
.ballot-quota {
  grid-row: 2; margin: 0 var(--ballot-pad); padding: 13px 0;
  display: flex; gap: 14px; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--ballot-line);
}
.ballot-quota p { margin: 0; color: var(--ballot-muted); font-size: 14px; }
.ballot-quota strong { margin-inline: .15em; color: #f0f8ff; font: 500 21px/1 ui-monospace, monospace; }
.ballot-meter { display: flex; gap: 5px; }
.ballot-meter span { width: 21px; height: 4px; border-radius: 3px; background: #466075; }
.ballot-meter .selected { background: #d7efff; box-shadow: 0 0 8px #9cdaff80; }
.ballot-body { grid-row: 3; min-height: 0; }
#ballot-browse { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.ballot-tools { padding: 17px var(--ballot-pad) 2px; }
.ballot-search-field { position: relative; display: block; }
.ballot-search-field input {
  display: block; box-sizing: border-box; width: 100%; height: 46px; padding: 8px 12px 8px 40px;
  background: #080e1880; border: 1px solid #a8c2d95c; border-radius: 8px; color: #eff6ff; font: inherit; font-size: 16px;
}
.ballot-search-field input::placeholder { color: #a7bbcc; opacity: 1; }
.ballot-search-field input:focus-visible { outline-offset: 2px; }
.ballot-search-icon {
  position: absolute; top: 16px; left: 15px; width: 11px; height: 11px;
  color: #bdd2e4; border: 1px solid; border-radius: 50%; pointer-events: none;
}
.ballot-search-icon::after {
  content: ""; position: absolute; width: 5px; height: 1px;
  top: 10px; left: 9px; background: currentColor; transform: rotate(45deg);
}
.ballot-filters { display: flex; gap: 10px; border-bottom: 1px solid var(--ballot-line); }
.ballot-filters button {
  min-width: 52px; min-height: 44px; padding: 0 8px; border: 0; border-bottom: 2px solid transparent;
  background: transparent; color: var(--ballot-muted); font: inherit; font-size: 13px; cursor: pointer;
}
.ballot-filters button:hover, .ballot-filters button[aria-pressed="true"] { color: #edf7ff; }
.ballot-filters button[aria-pressed="true"] { border-color: #c7e7ff; }
.ballot-scroll {
  overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; touch-action: pan-y pinch-zoom;
  scrollbar-width: thin; scrollbar-color: #6d869c transparent; padding-inline: var(--ballot-pad);
}
.ballot-results-count { margin: 11px 0 3px; min-height: 19px; color: var(--ballot-muted); font-size: 12px; }
.ballot-results, .ballot-entries { margin: 0; padding: 0; list-style: none; }
.ballot-results li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(8px, 1.7vw, 16px);
  min-height: 72px; border-bottom: 1px solid var(--ballot-line);
}
.ballot-work {
  display: grid; grid-template-columns: min(21vw, 102px) minmax(0, 1fr); gap: clamp(8px, 1.7vw, 14px);
  align-items: center; width: 100%; min-height: 60px; padding: 9px 0; border: 0; border-radius: 5px;
  background: transparent; color: inherit; text-align: left; font: inherit; cursor: pointer;
}
.ballot-cover {
  position: relative; display: block; overflow: hidden; aspect-ratio: 1.65;
  border: 1px solid #b5cee572; border-radius: 6px; background: linear-gradient(148deg, #334b61, #101925 75%);
  box-shadow: inset 0 1px #c5dff54b; transition: border-color .18s;
}
.ballot-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ballot-cover[data-type="video"]::after {
  content: ""; position: absolute; inset: 50% auto auto 50%; transform: translate(-40%, -50%);
  border: solid transparent; border-width: 6px 0 6px 9px; border-left-color: white;
  filter: drop-shadow(0 0 4px #000) drop-shadow(0 0 3px #000);
}
.ballot-work:hover .ballot-cover { border-color: #e2f2ff; }
.ballot-work strong, .ballot-work small { display: block; overflow-wrap: anywhere; }
.ballot-work strong { font-size: 15px; font-weight: 600; }
.ballot-work small { margin-top: 5px; color: var(--ballot-muted); font-size: 12px; line-height: 1.45; }
.ballot-choice {
  min-height: 44px; padding: 0 11px; border: 1px solid #89a9c371; border-radius: 6px;
  background: #192c40; color: #e1f1ff; font: inherit; font-size: 12px; white-space: nowrap; cursor: pointer;
}
.ballot-choice[data-selected="true"] { color: #0e2437; background: #cde7fb; border-color: #cde7fb; }
.ballot-choice[data-selected="true"]::before { content: "✓"; margin-right: 4px; }
.ballot-choice:hover:enabled { border-color: #eef8ff; }
.ballot-choice:disabled { opacity: .58; cursor: default; }
.ballot-receipt { padding-block: 18px; }
.ballot-receipt p { margin: 0 0 17px; color: var(--ballot-muted); font-size: 14px; line-height: 1.6; }
.ballot-entries { border-block: 1px solid var(--ballot-line); }
.ballot-entries li {
  display: grid; align-content: center;
  gap: 3px; min-height: 52px; padding-block: 9px; overflow-wrap: anywhere;
}
.ballot-entries li + li { border-top: 1px solid #a8c2d924; }
.ballot-entries strong { font-size: 15px; font-weight: 550; }
.ballot-entries span { color: #aebfd0; font-size: 12px; }
.ballot-footer { grid-row: 4; padding: 0 var(--ballot-pad); border-top: 1px solid var(--ballot-line); background: #111d2a; }
.ballot-actions { min-height: 68px; padding: 5px 0; }
.ballot-summary p, .ballot-status { margin: 0; font-size: 13px; color: #cfdfed; line-height: 1.45; }
.ballot-summary #ballot-submit-note { margin-top: 3px; font-size: 12px; color: var(--ballot-muted); }
.ballot-status:not(:empty) { padding-top: 9px; }
.ballot-actions .screen-primary { min-width: 103px; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .screen-top, .screen-controls, .exhibit-search-field, .exhibit-header .ballot-launch, .ballot-cover { transition: none; }
}

@media (max-width:700px) {
  .exhibit-header h2 { font-size: 14px; letter-spacing: .03em; }
  .exhibit-header nav { gap: 10px; }
  .exhibit-header nav :is(a,button) { font-size: 12px; }
  .exhibit-header .ballot-launch { gap: 7px; padding-inline: 9px; }
  .exhibit-search { width: min(90vw, 250px); }
  .exhibit-search input { font-size: 16px; }
  .exhibit-caption { bottom: 12%; width: min(80vw, 340px); }
  .exhibit-watch { margin-top: 3px; }
  .exhibit-stage::after { content:""; position:absolute; z-index:0; inset:79% 0 0; pointer-events:none; background:linear-gradient(to top,#020509a6,transparent); }
  .exhibit-header,.exhibit-caption {z-index:1;}
  .exhibit-fallback img { width:82%; }
  .screen-footer { grid-template-columns: 1fr; }
  .preview-vote { justify-content: space-between; }
  .screen-controls { gap: 5px; }
  .screen-control { padding-inline: 9px; }
  .ballot { inset: 0; width: 100%; height: 100dvh; border: 0; border-radius: 0; }
  .ballot-header { padding-top: max(12px, env(safe-area-inset-top)); }
  .ballot-footer { padding-bottom: env(safe-area-inset-bottom); }
}

@media (max-height: 480px) {
  .ballot { inset-block: 0; height: 100dvh; }
  .ballot-header { padding-block: 6px; }
  .ballot-quota { padding-block: 5px; }
  .ballot-tools { padding-top: 6px; }
  .ballot-actions { min-height: 48px; }
}
