:root {
  --blue: #073e80;
  --deep: #082b56;
  --pale: #eaf0f7;
  --ink: #162a41;
  --muted: #728196;
  --line: #dbe3ec;
  --paper: #fff;
  --soft: #f6f8fb;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #558ed4;
  outline-offset: 3px;
}
button {
  border-radius: 0;
}
img {
  display: block;
  max-width: 100%;
}
::selection {
  background: #c5d8ee;
}
.container {
  max-width: 1390px;
  margin: auto;
  padding-left: 5.3%;
  padding-right: 5.3%;
}
.site-header {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 1px;
  color: var(--blue);
}
.brand b {
  font-size: 13px;
  font-weight: 600;
}
.brand-mark {
  font-family: Georgia, serif;
  letter-spacing: -3px;
  font-size: 28px;
  line-height: 1;
  border-top: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  padding: 7px 0;
}
.brand-mark > span {
  font-size: 22px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
}
.outline {
  border: 1px solid var(--blue);
  background: transparent;
  padding: 11px 18px;
  color: var(--blue);
  font-size: 12px;
}
.outline:hover {
  background: var(--pale);
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--blue);
  color: white;
  border: 1px solid var(--blue);
  padding: 16px 23px;
  font-size: 13px;
  transition: background 0.2s;
}
.primary:hover {
  background: var(--deep);
}
.primary span {
  font-size: 22px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.6px;
  line-height: 1.6;
  color: var(--blue);
}
.blue-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  margin-right: 8px;
}
.hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 45px;
  padding-top: 60px;
  padding-bottom: 32px;
}
.event-name {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--muted);
  margin: 24px 0 13px;
}
h1 {
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1.35;
  letter-spacing: -3px;
  margin: 0;
  font-weight: 800;
  color: var(--blue);
}
.title-outline {
  color: white;
  -webkit-text-stroke: 1.3px var(--blue);
}
.hero-subtitle {
  font-size: 14px;
  color: #64778b;
  line-height: 1.9;
  margin: 24px 0 26px;
}
.hero-cta {
  margin-bottom: 26px;
}
.hero-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 9px;
  color: #8491a1;
  line-height: 1.8;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.hero-foot span:last-child {
  font-size: 7px;
  letter-spacing: 1px;
  white-space: nowrap;
}
.hero-graphic {
  position: relative;
  min-height: 390px;
  background: var(--pale);
  overflow: hidden;
  color: var(--blue);
}
.graphic-caption {
  position: absolute;
  top: 23px;
  left: 24px;
  font-size: 8px;
  letter-spacing: 2px;
  line-height: 1.7;
}
.orb-grid {
  position: absolute;
  right: -70px;
  top: 10px;
  width: 290px;
  height: 290px;
  border: 1px solid #a2bad6;
  border-radius: 50%;
  background:
    repeating-linear-gradient(0deg, transparent 0 23px, #a2bad655 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, #a2bad655 23px 24px);
  transform: rotate(-22deg);
}
.arch {
  position: absolute;
  right: 20px;
  bottom: 27px;
  width: 190px;
  height: 250px;
  border: 1px solid #6b97c4;
  border-radius: 120px 120px 0 0;
  transform: rotate(21deg);
  background: var(--blue);
  box-shadow:
    12px 0 0 var(--pale),
    13px 0 0 #7a9cc0,
    25px 0 0 var(--pale),
    26px 0 0 #7a9cc0;
}
.graphic-line {
  position: absolute;
  left: -40px;
  bottom: 45px;
  width: 400px;
  height: 120px;
  border: 1px solid #8baccd;
  border-radius: 50%;
  transform: rotate(-25deg);
}
.graphic-type {
  position: absolute;
  top: 84px;
  left: 25px;
  font-size: 66px;
  font-weight: 800;
  line-height: 0.97;
  letter-spacing: -4px;
}
.graphic-type i {
  font:
    italic 66px Georgia,
    serif;
  letter-spacing: -2px;
}
.graphic-no {
  position: absolute;
  left: 25px;
  bottom: 22px;
  font-size: 11px;
  letter-spacing: 2px;
}
.graphic-note {
  position: absolute;
  right: 20px;
  bottom: 22px;
  color: white;
  font-size: 11px;
  line-height: 1.8;
  z-index: 1;
}
.event-strip {
  background: var(--deep);
  color: white;
  margin-top: 27px;
}
.strip-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr 0.9fr;
  padding-top: 26px;
  padding-bottom: 26px;
  gap: 20px;
}
.strip-inner > div {
  padding-left: 25px;
  border-left: 1px solid #ffffff35;
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
}
.strip-inner > div:first-child {
  padding-left: 0;
  border: 0;
}
.strip-inner small {
  width: 100%;
  font-size: 7px;
  letter-spacing: 1.5px;
  color: #a7bed8;
}
.strip-inner strong {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.5px;
}
.strip-inner span {
  font-size: 10px;
  color: #bacadd;
}
.track-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin: 42px 0 75px;
}
.track-links button {
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 0 19px;
}
.track-links button > span {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: var(--muted);
}
.track-links strong {
  display: block;
  font-size: 21px;
  color: var(--blue);
  font-weight: 600;
  margin-top: 12px;
}
.track-links strong b {
  float: right;
  font-size: 24px;
  font-weight: 400;
}
.track-links p {
  font-size: 11px;
  color: var(--muted);
  margin: 11px 0 0;
  line-height: 1.8;
}
.track-links button:hover strong {
  color: #517cab;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}
.section-title h2 {
  font-size: 31px;
  line-height: 1.6;
  margin: 10px 0 0;
  letter-spacing: -1px;
}
.section-title h2 i {
  font-style: normal;
  font-weight: 400;
  color: var(--blue);
}
.section-title > p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0 0 5px;
}
.work-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  margin: 30px 0 23px;
}
.tabs {
  display: flex;
  gap: 26px;
  align-self: stretch;
  align-items: stretch;
}
.tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 14px 0;
  font-size: 12px;
  color: var(--muted);
}
.tabs button[aria-pressed="true"] {
  color: var(--blue);
  border-bottom-color: var(--blue);
  font-weight: 600;
}
.tabs span {
  font-size: 9px;
  vertical-align: super;
  margin-left: 3px;
}
.search {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
}
.search input {
  font-size: 11px;
  max-width: 160px;
  padding: 8px 0;
  border: 0;
  background: none;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 24px;
}
.work-card {
  min-width: 0;
}
.cover-button {
  background: var(--pale);
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4/5;
  border: 0;
  padding: 0;
  text-align: left;
}
.cover-button > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.cover-button:hover > img {
  transform: scale(1.025);
}
.cover-number {
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 9px;
  padding: 5px 8px;
  background: white;
  color: var(--blue);
}
.cover-type {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #ffffffed;
  color: var(--blue);
  font-size: 8px;
  padding: 6px 9px;
  letter-spacing: 0.5px;
}
.text-cover {
  width: 100%;
  height: 100%;
  padding: 35px 22px;
  background: #e3eaf3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
}
.text-cover > span,
.text-cover > small {
  font-size: 8px;
  letter-spacing: 1px;
}
.text-cover strong {
  font-size: 35px;
  line-height: 1.5;
  color: var(--blue);
  white-space: pre-wrap;
}
.work-meta {
  padding-top: 17px;
}
.work-meta > span {
  font-size: 9px;
  color: #8b96a5;
  line-height: 1.8;
}
.work-meta h3 {
  font-size: 17px;
  line-height: 1.5;
  margin: 7px 0 6px;
  font-weight: 600;
}
.work-meta h3 > button {
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
}
.work-meta p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.card-bottom {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}
.card-bottom b {
  font-size: 17px;
  color: var(--blue);
  font-weight: 500;
  margin-right: 3px;
}
.card-bottom button {
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 11px;
  padding: 5px 0;
}
.list-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 50px;
  font-size: 9px;
  color: var(--muted);
}
.status-note {
  font-size: 11px;
  line-height: 1.8;
  background: var(--soft);
  border-left: 2px solid #90aecf;
  padding: 12px 16px;
  color: #6a7f98;
}
.empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 65px 20px;
  color: var(--muted);
  font-size: 13px;
}
.public-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 45px 0 55px;
  border-top: 1px solid var(--line);
}
.public-rules h2 {
  font-size: 30px;
  line-height: 1.65;
  color: var(--blue);
  margin: 15px 0;
}
.public-rules h3 {
  font-size: 14px;
  margin: 0 0 15px;
}
.public-rules p {
  font-size: 12px;
  color: #6b7d91;
  line-height: 2;
  margin: 0 0 12px;
}
.muted {
  color: var(--muted) !important;
  font-size: 11px !important;
  line-height: 1.9 !important;
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 35px;
  background: var(--soft);
  border-top: 1px solid var(--line);
}
.footer-brand {
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: 1px;
}
.footer p,
.footer a {
  font-size: 9px;
  color: var(--muted);
  line-height: 1.8;
}
dialog {
  border: 0;
  color: var(--ink);
  background: white;
  padding: 0;
  max-height: 92dvh;
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #071e3ad6;
  backdrop-filter: blur(3px);
}
.close-dialog {
  position: sticky;
  display: block;
  float: right;
  top: 10px;
  margin: 10px 13px 0 0;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 25px;
  width: 36px;
  height: 36px;
  line-height: 1;
  z-index: 4;
}
.work-dialog {
  width: min(900px, calc(100% - 40px));
}
.detail-heading {
  padding: 45px 50px 25px;
}
.detail-heading h2 {
  font-size: 31px;
  line-height: 1.5;
  margin: 12px 0;
}
.detail-heading p {
  font-size: 11px;
  color: #6e7d8e;
  line-height: 1.8;
}
.detail-media {
  padding: 0 50px;
}
.gallery-stage {
  background: var(--soft);
}
.gallery-stage img {
  max-height: 75dvh;
  margin: auto;
  object-fit: contain;
}
.gallery-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 12px;
  font-size: 11px;
}
.gallery-controls button {
  background: transparent;
  border: 1px solid var(--line);
  padding: 7px 16px;
}
.detail-media video {
  width: 100%;
  max-height: 65dvh;
  background: #061d35;
  display: block;
}
.detail-media audio {
  width: 100%;
  margin: 16px 0;
}
.media-link {
  font-size: 10px;
  display: block;
  margin: 12px 0 25px;
  color: var(--blue);
}
.text-work {
  background: var(--soft);
  padding: 30px;
}
.text-work > div {
  white-space: pre-wrap;
  line-height: 2.2;
  font-size: 16px;
  margin-top: 25px;
  overflow-wrap: anywhere;
}
.attachment-list h3 {
  font-size: 14px;
}
.attachment-list a {
  display: block;
  font-size: 12px;
  color: var(--blue);
  padding: 9px 0;
}
.detail-description {
  padding: 30px 50px;
}
.detail-description h3 {
  font-size: 14px;
}
.detail-description p {
  font-size: 13px;
  line-height: 2;
  color: #6a7a8d;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.detail-vote {
  position: sticky;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  z-index: 2;
}
.detail-vote strong {
  font-size: 19px;
  color: var(--blue);
  font-weight: 500;
  display: block;
}
.detail-vote small {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-top: 8px;
}
.text-button {
  display: block;
  border: 0;
  background: none;
  font-size: 10px;
  color: var(--muted);
  padding: 8px;
  margin: auto;
}
.login-dialog {
  width: min(460px, calc(100% - 30px));
  padding: 40px;
}
.login-dialog > .close-dialog {
  position: absolute;
  right: 0;
  top: 0;
}
.login-dialog h2 {
  font-size: 28px;
  line-height: 1.6;
  margin: 16px 0;
}
.login-dialog > p {
  font-size: 12px;
  line-height: 2;
  color: var(--muted);
}
.login-dialog small {
  display: block;
  font-size: 10px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 18px;
}
form label {
  display: block;
  font-size: 12px;
  line-height: 1.7;
}
form input,
form select,
form textarea {
  display: block;
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: #fff;
  width: 100%;
  margin-top: 7px;
  font-size: 13px;
  min-width: 0;
  border-radius: 0;
}
form textarea {
  resize: vertical;
  line-height: 1.8;
  min-height: 80px;
}
.login-dialog form .primary {
  width: 100%;
  margin-top: 19px;
}
.login-dialog li {
  font-size: 12px;
  line-height: 2;
}
#login-error,
.form-error {
  color: #ad3c35;
  font-size: 12px;
  line-height: 1.8;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  background: var(--deep);
  color: white;
  padding: 14px 24px;
  max-width: calc(100% - 30px);
  width: max-content;
  font-size: 13px;
  line-height: 1.7;
  z-index: 20;
  box-shadow: 0 10px 30px #0002;
}
.toast.error {
  background: #8e3939;
}
.skip {
  position: fixed;
  top: -90px;
  left: 12px;
  z-index: 30;
  background: var(--blue);
  color: #fff;
  padding: 14px;
}
.skip:focus {
  top: 10px;
}
[hidden] {
  display: none !important;
}
/* Admin uses the same typography with dense, accessible controls. */
.admin-body {
  background: var(--soft);
}
.admin-header {
  height: 85px;
  background: white;
}
.admin-shell {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 40px;
  padding-top: 30px;
  padding-bottom: 70px;
}
.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: start;
  position: sticky;
  top: 20px;
}
.admin-nav button {
  text-align: left;
  background: none;
  border: 0;
  padding: 13px 17px;
  font-size: 12px;
  color: var(--muted);
}
.admin-nav button.active {
  background: var(--blue);
  color: #fff;
}
.admin-panel {
  min-width: 0;
}
.admin-panel > h1 {
  font-size: 28px;
  letter-spacing: 0;
  margin: 7px 0 22px;
}
.admin-panel h2 {
  font-size: 19px;
  margin: 0 0 15px;
  line-height: 1.5;
}
.admin-panel h3 {
  font-size: 14px;
}
.admin-box {
  background: white;
  border: 1px solid var(--line);
  padding: 26px;
  margin-bottom: 22px;
}
.admin-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 18px 0;
}
.admin-actions a {
  font-size: 12px;
  color: var(--blue);
  border-bottom: 1px solid #b7c8dc;
  padding-bottom: 4px;
}
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.admin-grid .wide {
  grid-column: 1/-1;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 9px;
}
.check-label input {
  width: 16px;
  height: 16px;
  margin: 0;
}
.field-help {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  margin: 6px 0 0;
}
.table-wrap {
  overflow: auto;
  width: 100%;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 11px;
}
th {
  font-weight: 500;
  color: var(--muted);
  background: var(--soft);
}
th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
  vertical-align: top;
  overflow-wrap: anywhere;
}
td button {
  font-size: 10px;
  padding: 5px 8px;
  margin: 0 5px 4px 0;
  border: 1px solid var(--line);
  background: #fff;
}
td button:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.pill {
  font-size: 9px;
  padding: 4px 7px;
  background: var(--pale);
  color: var(--blue);
  white-space: nowrap;
}
.danger {
  color: #a84444 !important;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: white;
  margin-bottom: 25px;
}
.metrics > div {
  padding: 23px 20px;
  border-right: 1px solid var(--line);
}
.metrics small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}
.metrics strong {
  display: block;
  font-size: 31px;
  font-weight: 500;
  color: var(--blue);
  margin-top: 9px;
}
.trend-row {
  display: grid;
  grid-template-columns: 90px 1fr 45px;
  gap: 15px;
  align-items: center;
  font-size: 11px;
  margin: 13px 0;
}
.trend-bar {
  height: 14px;
  background: var(--pale);
}
.trend-bar > div {
  height: 100%;
  background: #497bac;
}
.form-buttons {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 25px;
  flex-wrap: wrap;
}
.file-upload {
  border: 1px dashed #adc0d5;
  padding: 12px;
  background: var(--soft);
}
.file-upload input {
  font-size: 11px;
  border: 0;
  padding: 0;
}
.admin-login-wrap {
  max-width: 450px;
  padding: 0 20px;
  margin: 65px auto;
}
.admin-login-wrap .admin-box {
  padding: 32px;
}
.admin-login-wrap label {
  margin: 15px 0;
}
.admin-login-wrap h1 {
  font-size: 28px;
  letter-spacing: 0;
  line-height: 1.5;
  margin: 15px 0;
}
.admin-login-wrap .primary {
  width: 100%;
}
.hash {
  font-family: Consolas, monospace;
  max-width: 170px;
  word-break: break-all;
  font-size: 9px;
}
.code-warning {
  padding: 12px;
  border-left: 2px solid var(--blue);
  background: var(--pale);
  font-size: 11px;
  line-height: 1.9;
}
.pagination {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 15px 0;
  font-size: 12px;
}
.pagination button {
  border: 1px solid var(--line);
  padding: 8px 12px;
  background: white;
}
.media-preview {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0;
}
.media-preview img {
  width: 70px;
  height: 90px;
  object-fit: cover;
}
.desktop-only {
  display: block;
}
@media (min-width: 1600px) {
  .hero-graphic {
    min-height: 450px;
  }
  .graphic-type {
    font-size: 80px;
  }
  .graphic-type i {
    font-size: 80px;
  }
  .arch {
    width: 230px;
    height: 300px;
  }
  .orb-grid {
    width: 340px;
    height: 340px;
  }
}
@media (max-width: 1000px) {
  .hero {
    gap: 25px;
    padding-top: 40px;
  }
  .hero-graphic {
    min-height: 350px;
  }
  .graphic-type {
    font-size: 58px;
  }
  .graphic-type i {
    font-size: 58px;
  }
  .hero-foot span:last-child {
    display: none;
  }
  .graphic-note {
    font-size: 9px;
  }
  .arch {
    width: 145px;
    height: 210px;
    right: 0;
  }
  .orb-grid {
    width: 230px;
    height: 230px;
  }
  .section-title h2 {
    font-size: 26px;
  }
  .tabs {
    gap: 18px;
  }
  .work-grid {
    gap: 30px 18px;
  }
  .work-meta h3 {
    font-size: 15px;
  }
  .admin-shell {
    grid-template-columns: 135px minmax(0, 1fr);
    gap: 20px;
  }
  .admin-box {
    padding: 20px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics > div {
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 700px) {
  .container {
    padding-left: 6%;
    padding-right: 6%;
  }
  .site-header {
    height: 87px;
    gap: 12px;
  }
  .brand {
    font-size: 9px;
    gap: 10px;
    letter-spacing: 0.5px;
  }
  .brand b {
    font-size: 10px;
  }
  .brand-mark {
    font-size: 23px;
    padding: 6px 0;
  }
  .brand-mark > span {
    font-size: 18px;
  }
  .site-header nav {
    gap: 15px;
    font-size: 10px;
  }
  .site-header nav > a {
    display: none;
  }
  .site-header .outline {
    padding: 9px 10px;
    font-size: 10px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 33px;
    padding-bottom: 24px;
    gap: 27px;
  }
  .eyebrow {
    font-size: 7px;
    letter-spacing: 1.1px;
  }
  .event-name {
    font-size: 10px;
    letter-spacing: 1px;
    margin-top: 23px;
  }
  .hero h1 {
    font-size: clamp(40px, 10.5vw, 62px);
    line-height: 1.4;
    letter-spacing: -2px;
  }
  .title-outline {
    -webkit-text-stroke: 1px var(--blue);
  }
  .hero-subtitle {
    font-size: 12px;
    line-height: 1.9;
    margin: 17px 0 23px;
  }
  .hero-cta {
    font-size: 11px;
    padding: 13px 20px;
    margin-bottom: 17px;
  }
  .hero-foot {
    font-size: 8px;
    padding-top: 13px;
  }
  .hero-graphic {
    min-height: 245px;
  }
  .graphic-type {
    top: 66px;
    left: 24px;
    font-size: 47px;
    line-height: 0.95;
  }
  .graphic-type i {
    font-size: 47px;
  }
  .graphic-caption {
    top: 17px;
    font-size: 6px;
  }
  .arch {
    right: 28px;
    bottom: 0;
    width: 135px;
    height: 205px;
  }
  .orb-grid {
    right: -25px;
    top: -10px;
    width: 220px;
    height: 220px;
  }
  .graphic-note {
    right: 30px;
    bottom: 18px;
    font-size: 9px;
  }
  .graphic-no {
    font-size: 9px;
    left: 24px;
    bottom: 17px;
  }
  .graphic-line {
    bottom: 15px;
  }
  .event-strip {
    margin-top: 8px;
  }
  .strip-inner {
    grid-template-columns: 1fr 1.65fr;
    padding-top: 22px;
    padding-bottom: 22px;
    gap: 10px;
  }
  .strip-inner > div {
    padding-left: 15px;
    gap: 7px;
  }
  .strip-inner > div:last-child {
    display: none;
  }
  .strip-inner small {
    font-size: 6px;
    letter-spacing: 0.5px;
  }
  .strip-inner strong {
    font-size: 20px;
  }
  .strip-inner span {
    font-size: 8px;
  }
  .track-links {
    gap: 20px;
    margin: 29px 0 47px;
  }
  .track-links button > span {
    font-size: 6px;
    letter-spacing: 0.7px;
  }
  .track-links strong {
    font-size: 17px;
    margin-top: 10px;
  }
  .track-links strong b {
    font-size: 18px;
  }
  .track-links p {
    font-size: 9px;
    line-height: 1.9;
    margin-top: 9px;
  }
  .track-links button {
    padding-bottom: 15px;
  }
  .section-title {
    display: block;
  }
  .section-title h2 {
    font-size: 25px;
    line-height: 1.6;
  }
  .section-title h2 i {
    display: block;
  }
  .section-title > p {
    font-size: 10px;
    line-height: 1.9;
    margin-top: 15px;
  }
  .work-toolbar {
    display: block;
    margin: 23px 0 20px;
  }
  .tabs {
    gap: 22px;
  }
  .tabs button {
    font-size: 11px;
    padding: 12px 0;
  }
  .search {
    border-top: 1px solid var(--line);
    padding: 9px 0;
    gap: 13px;
  }
  .search input {
    max-width: 100%;
    flex: 1;
    font-size: 11px;
  }
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 27px 15px;
  }
  .cover-number {
    font-size: 7px;
    top: 7px;
    left: 7px;
    padding: 4px 6px;
  }
  .cover-type {
    font-size: 7px;
    bottom: 7px;
    left: 7px;
    padding: 4px 6px;
  }
  .work-meta {
    padding-top: 12px;
  }
  .work-meta > span {
    font-size: 7px;
    line-height: 1.7;
    display: block;
  }
  .work-meta h3 {
    font-size: 13px;
    line-height: 1.6;
    margin: 5px 0;
  }
  .work-meta p {
    font-size: 9px;
  }
  .card-bottom {
    font-size: 8px;
    gap: 5px;
    margin-top: 12px;
    padding-top: 8px;
  }
  .card-bottom b {
    font-size: 14px;
  }
  .card-bottom button {
    font-size: 9px;
    white-space: nowrap;
  }
  .status-note {
    font-size: 9px;
    padding: 9px 12px;
  }
  .list-foot {
    font-size: 8px;
    gap: 15px;
    line-height: 1.8;
    padding-bottom: 35px;
  }
  .text-cover {
    padding: 25px 13px;
    gap: 18px;
  }
  .text-cover strong {
    font-size: 24px;
  }
  .text-cover > small,
  .text-cover > span {
    font-size: 6px;
  }
  .public-rules {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 30px 0;
  }
  .public-rules h2 {
    font-size: 25px;
    line-height: 1.6;
    margin: 12px 0;
  }
  .public-rules p {
    font-size: 11px;
    line-height: 2;
  }
  .footer {
    padding-top: 22px;
    padding-bottom: 22px;
    flex-wrap: wrap;
    gap: 14px;
  }
  .footer-brand {
    font-size: 10px;
  }
  .footer p {
    font-size: 8px;
  }
  .footer a {
    font-size: 8px;
    width: 100%;
  }
  .work-dialog {
    width: calc(100% - 16px);
    max-height: 96dvh;
  }
  .detail-heading {
    padding: 35px 23px 15px;
  }
  .detail-heading h2 {
    font-size: 23px;
    margin-top: 13px;
  }
  .detail-heading p {
    font-size: 10px;
  }
  .detail-media {
    padding: 0 16px;
  }
  .detail-description {
    padding: 18px 23px;
  }
  .detail-description p {
    font-size: 12px;
  }
  .detail-vote {
    padding: 15px 20px;
    gap: 12px;
  }
  .detail-vote strong {
    font-size: 16px;
  }
  .detail-vote small {
    font-size: 8px;
  }
  .detail-vote .primary {
    padding: 13px 15px;
    font-size: 11px;
    gap: 10px;
  }
  .text-work {
    padding: 22px;
  }
  .text-work > div {
    font-size: 14px;
  }
  .login-dialog {
    padding: 32px 25px;
  }
  .login-dialog h2 {
    font-size: 25px;
  }
  .login-dialog > p {
    font-size: 11px;
  }
  .admin-shell {
    display: block;
    padding-top: 15px;
  }
  .admin-nav {
    flex-direction: row;
    position: static;
    overflow: auto;
    gap: 6px;
    padding: 0 0 16px;
    margin-bottom: 12px;
  }
  .admin-nav button {
    white-space: nowrap;
    padding: 11px 13px;
    font-size: 11px;
  }
  .admin-panel > h1 {
    font-size: 23px;
    margin: 0 0 17px;
  }
  .admin-box {
    padding: 18px;
    margin-bottom: 18px;
  }
  .admin-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .admin-grid .wide {
    grid-column: auto;
  }
  .admin-actions {
    gap: 10px;
  }
  .admin-actions .primary {
    font-size: 11px;
    padding: 12px 15px;
  }
  .admin-actions a {
    font-size: 10px;
  }
  .admin-panel h2 {
    font-size: 17px;
  }
  .metrics > div {
    padding: 17px;
  }
  .metrics strong {
    font-size: 27px;
  }
  .metrics small {
    font-size: 9px;
  }
  form label {
    font-size: 11px;
  }
  form input,
  form select,
  form textarea {
    font-size: 13px;
  }
  .table-wrap table {
    min-width: 600px;
  }
  th,
  td {
    font-size: 10px;
    padding: 10px 8px;
  }
  .desktop-only {
    display: none;
  }
  .toast {
    font-size: 12px;
    bottom: 18px;
    padding: 12px 18px;
  }
  .trend-row {
    grid-template-columns: 75px 1fr 30px;
    font-size: 10px;
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* Real submission layouts */
.cover-button img { object-fit: contain; background: #edf1f7; }
.hero { min-height: 0; padding-top: 38px; padding-bottom: 38px; }
.hero-main { padding-top: 12px; }
.hero-graphic { max-height: 430px; }
.load-more { display:block; margin:32px auto 0; }
.load-more[hidden] { display:none; }
.interactive-work { margin:20px 0; }
.interactive-work summary { cursor:pointer; padding:16px 0; font-weight:600; }
.interactive-work iframe { width:100%; height:620px; border:1px solid #ccd5e4; background:white; }
@media(max-width:640px) { .hero { padding-top:24px; padding-bottom:24px; } .hero-graphic { display:none; } .hero h1 { font-size:48px; } .hero-foot { margin-top:24px; } .interactive-work iframe { height:560px; } }

/* Clear format labels for text entries and media fallback. */
.work-meta .text-work-label { color: var(--blue); font-size: 12px; font-weight: 600; margin-top: 10px; }
.cover-type { font-size: 11px; font-weight: 600; }
.text-cover > small { font-size: 11px; letter-spacing: 0; line-height: 1.8; }
.text-cover strong { overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
