:root {
  --ink: #101828;
  --muted: #667085;
  --line: #dfe5ec;
  --paper: #f6f8fb;
  --white: #ffffff;
  --navy: #071d3f;
  --navy-2: #0a2f5e;
  --blue: #0878d1;
  --cyan: #25c2d3;
  --mint: #37b889;
  --coral: #e46852;
  --shadow: 0 18px 48px rgba(5, 24, 51, 0.13);
  --shell: min(1440px, calc(100% - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}
button, input, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, .topic-rail:focus-visible, .partner-logos:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.shell { width: var(--shell); margin-inline: auto; }

.conference-header {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  color: var(--white);
  background: #061a38;
}
.hero-slides, .hero-slide, .hero-shade {
  position: absolute;
  inset: 0;
}
.hero-slides { z-index: 0; }
.hero-slide {
  display: block;
  opacity: 0;
  transition: opacity 1.15s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.035);
}
.hero-slide.active img { animation: hero-drift 8s ease-out both; }
@keyframes hero-drift {
  from { transform: scale(1.035); }
  to { transform: scale(1.085); }
}
.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 14, 34, .9) 0%, rgba(3, 16, 38, .72) 42%, rgba(3, 18, 42, .26) 76%, rgba(3, 14, 34, .42) 100%),
    linear-gradient(0deg, rgba(3, 14, 34, .76) 0%, transparent 54%);
}
.tech-grid {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0.13;
  background-image: linear-gradient(rgba(85, 210, 221, 0.22) 1px, transparent 1px), linear-gradient(90deg, rgba(85, 210, 221, 0.22) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, black, transparent 78%);
}
.signal-trace {
  position: absolute;
  z-index: 2;
  right: -5%;
  bottom: 12%;
  display: flex;
  align-items: center;
  width: 48%;
  height: 80px;
  opacity: 0.24;
}
.signal-trace::before, .signal-trace::after { content: ""; height: 1px; flex: 1; background: var(--cyan); }
.signal-trace span { display: block; width: 28px; border: 1px solid var(--cyan); border-width: 1px 0 0 1px; transform: rotate(45deg); }
.signal-trace span:nth-child(1) { height: 18px; }
.signal-trace span:nth-child(2) { height: 44px; }
.signal-trace span:nth-child(3) { height: 70px; }
.signal-trace span:nth-child(4) { height: 34px; }
.signal-trace span:nth-child(5) { height: 16px; }

.topbar {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--white); font-size: 19px; font-weight: 500; }
.brand b { color: #73d8e2; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.62);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
}
.brand-mark.small { width: 36px; height: 36px; font-size: 13px; }
.language-switch { display: flex; gap: 10px; align-items: center; color: rgba(255,255,255,.52); }
.language-switch button { min-width: 44px; min-height: 44px; padding: 6px 3px; border: 0; color: rgba(255,255,255,.62); background: transparent; cursor: pointer; }
.language-switch button.active { color: var(--white); font-weight: 700; }

.hero {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 430px;
  padding-block: 48px 44px;
}
.hero-copy { max-width: 930px; }
.live-label, .sponsor-label, .section-kicker {
  margin: 0 0 17px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
}
.live-label { display: flex; align-items: center; gap: 9px; color: #8ce5eb; }
.live-label i { width: 8px; height: 8px; border-radius: 50%; background: #42d895; box-shadow: 0 0 0 5px rgba(66,216,149,.13); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(66,216,149,0); } }
.edition { margin: 0 0 6px; color: rgba(255,255,255,.78); font-size: 18px; }
.hero h1 { max-width: 930px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 48px; font-weight: 500; line-height: 1.08; text-wrap: balance; }
.hero-place { margin: 18px 0 0; color: #8ce5eb; font-size: 12px; font-weight: 750; text-transform: uppercase; }
.event-action-row { display: flex; align-items: flex-end; gap: 28px; margin-top: 30px; }
.event-meta { display: flex; align-items: center; gap: 25px; }
.event-meta > span:not(.meta-divider) { display: grid; gap: 0; }
.event-meta b { font-size: 16px; }
.event-meta span span { color: rgba(255,255,255,.68); font-size: 13px; }
.meta-divider { width: 1px; height: 38px; background: rgba(255,255,255,.26); }
.hero-upload-button {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 4px;
  color: var(--navy);
  background: white;
  box-shadow: 0 9px 28px rgba(1, 11, 27, .22);
  font-size: 13px;
  font-weight: 800;
  transition: background .2s ease, transform .2s ease;
}
.hero-upload-button:hover { background: #eaf9fb; transform: translateY(-1px); }
.upload-mark { position: relative; display: grid; place-items: center; width: 20px; height: 22px; font-size: 20px; font-weight: 700; line-height: 1; }
.upload-mark::after { content: ""; position: absolute; right: 2px; bottom: 0; left: 2px; height: 2px; background: currentColor; }
.hero-control-row { display: flex; align-items: center; gap: 22px; margin-top: 28px; }
.hero-scene-label { min-width: 0; color: rgba(255,255,255,.7); font-size: 11px; }
.hero-controls, .hero-dots { display: flex; align-items: center; }
.hero-controls { gap: 13px; }
.hero-dots { gap: 7px; }
.hero-dots button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.hero-dots button::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: rgba(255,255,255,.35);
  transition: height .2s ease, background .2s ease;
}
.hero-dots button.active::before { height: 3px; background: #8ce5eb; }
.hero-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  color: white;
  background: rgba(3,14,34,.22);
  cursor: pointer;
}
.hero-toggle > span { position: relative; width: 9px; height: 11px; }
.hero-toggle > span::before, .hero-toggle > span::after {
  content: "";
  position: absolute;
  top: 0;
  width: 3px;
  height: 11px;
  background: currentColor;
}
.hero-toggle > span::before { left: 0; }
.hero-toggle > span::after { right: 0; }
.hero-toggle.paused > span {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
}
.hero-toggle.paused > span::before, .hero-toggle.paused > span::after { display: none; }

.conference-stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 24px;
  border-block: 1px solid rgba(255,255,255,.18);
  background: rgba(4, 21, 48, .56);
  backdrop-filter: blur(14px);
}
.conference-stat {
  display: grid;
  align-content: center;
  min-height: 82px;
  padding: 14px 24px;
  border-right: 1px solid rgba(255,255,255,.14);
}
.conference-stat:last-child { border-right: 0; }
.conference-stat strong { color: white; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.conference-stat span { margin-top: 7px; color: rgba(255,255,255,.62); font-size: 10px; font-weight: 700; text-transform: uppercase; }

.topic-rail {
  position: relative;
  z-index: 5;
  overflow: hidden;
  height: 44px;
  border-bottom: 1px solid #d8e0e8;
  color: #516070;
  background: #eef3f7;
}
.topic-track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: topic-scroll 42s linear infinite;
}
.topic-set { display: flex; align-items: center; height: 100%; }
.topic-set span { padding-inline: 20px; font-size: 10px; font-weight: 750; text-transform: uppercase; white-space: nowrap; }
.topic-set i { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); }
.topic-rail:hover .topic-track { animation-play-state: paused; }
.topic-rail:focus .topic-track { animation-play-state: paused; }
@keyframes topic-scroll { to { transform: translateX(-50%); } }

.partner-band { position: relative; z-index: 6; border-bottom: 1px solid var(--line); background: white; }
.partner-inner { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: 24px; min-height: 108px; padding-block: 14px; }
.partner-heading { display: grid; align-content: center; gap: 6px; min-width: 0; padding-right: 24px; border-right: 1px solid var(--line); }
.partner-heading img { width: 108px; max-height: 34px; object-fit: contain; }
.partner-heading p { margin: 0; color: #607083; font-size: 10px; font-weight: 800; line-height: 1.35; text-transform: uppercase; }
.partner-logos {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(132px, 1fr);
  align-items: stretch;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  list-style: none;
  scrollbar-width: none;
}
.partner-logos::-webkit-scrollbar { display: none; }
.partner-logos li { display: grid; grid-template-rows: 48px 30px; align-items: center; justify-items: center; min-width: 0; padding: 2px 12px; border-right: 1px solid #edf0f4; }
.partner-logos li:last-child { border-right: 0; }
.partner-logos img { width: 100%; max-width: 116px; height: 44px; object-fit: contain; }
.partner-logos span { align-self: start; max-width: 128px; color: #667085; font-size: 9px; font-weight: 650; line-height: 1.25; text-align: center; text-wrap: balance; }

.stream-nav { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.95); backdrop-filter: blur(14px); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; min-height: 67px; }
.view-tabs, .nav-links { display: flex; align-items: center; }
.view-tabs { gap: 4px; align-self: stretch; }
.view-tabs button { position: relative; min-width: 106px; height: 100%; padding: 0 20px; border: 0; color: #6c7584; background: transparent; font-weight: 650; cursor: pointer; }
.view-tabs button::after { content: ""; position: absolute; right: 20px; bottom: -1px; left: 20px; height: 3px; background: transparent; }
.view-tabs button.active { color: var(--navy); }
.view-tabs button.active::after { background: var(--blue); }
.tab-dot { display: inline-block; width: 6px; height: 6px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--mint); }
.nav-links { gap: 10px; }
.nav-links a { padding: 8px 14px; color: #475467; font-size: 14px; font-weight: 650; }
.nav-links .nav-upload { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 1px solid var(--navy); border-radius: 3px; color: white; background: var(--navy); font-weight: 800; }
.nav-upload:hover { background: #0b315d; }
.nav-upload .upload-mark { width: 17px; height: 18px; font-size: 16px; }

.main-content { min-height: 570px; padding-block: 55px 78px; }
.new-photo-banner {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: -27px auto 30px;
  padding: 10px 16px 10px 11px;
  border: 1px solid #98dfd0;
  border-radius: 5px;
  color: #075c52;
  background: #e8fbf5;
  box-shadow: 0 8px 28px rgba(18, 110, 91, .12);
  cursor: pointer;
}
.new-photo-banner > span:nth-child(2) { display: grid; text-align: left; }
.new-photo-banner b { font-size: 13px; }
.new-photo-banner small { color: #39776e; font-size: 11px; }
.refresh-symbol { display: grid; place-items: center; width: 30px; height: 30px; color: white; background: var(--mint); font-size: 19px; }
.stream-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 24px; }
.section-kicker { color: var(--blue); }
.stream-heading .section-kicker { margin-bottom: 7px; }
.stream-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-weight: 500; }
.photo-count { margin: 0 0 5px; color: var(--muted); font-size: 13px; }

.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.photo-card { position: relative; min-width: 0; overflow: hidden; border-radius: 5px; background: #dfe5ec; box-shadow: 0 1px 2px rgba(10, 26, 48, .08); }
.photo-open { display: block; width: 100%; padding: 0; border: 0; background: #dfe5ec; cursor: zoom-in; }
.photo-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #081a2c; transition: filter .25s ease; }
.photo-card:hover img { filter: saturate(1.04) brightness(1.03); }
.photo-overlay { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: end; padding: 45px 12px 11px; color: white; background: linear-gradient(transparent, rgba(2,10,23,.7)); pointer-events: none; }
.photo-meta { display: grid; min-width: 0; }
.photo-meta strong { overflow: hidden; font-size: 12px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.photo-meta time { color: rgba(255,255,255,.78); font-size: 10px; }
.source-tag { position: absolute; top: 10px; left: 10px; padding: 4px 7px; color: white; background: rgba(4,22,45,.75); font-size: 9px; font-weight: 800; text-transform: uppercase; backdrop-filter: blur(8px); }
.like-button { display: inline-flex; align-items: center; gap: 5px; padding: 7px 9px; border: 0; color: white; background: rgba(255,255,255,.16); cursor: pointer; pointer-events: auto; }
.like-button span { font-size: 15px; }
.like-button b { font-size: 11px; }
.like-button.liked { color: #ff8674; background: rgba(255,255,255,.93); }
.like-button:disabled { cursor: default; }
.photo-skeleton { aspect-ratio: 4/3; border-radius: 5px; background: linear-gradient(90deg, #e4e9ef, #f2f4f7, #e4e9ef); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.timeline-group { grid-column: 1 / -1; margin-top: 21px; }
.timeline-group:first-child { margin-top: 0; }
.timeline-date { display: flex; align-items: center; gap: 13px; margin: 0 0 15px; font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 500; }
.timeline-date::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.timeline-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.empty-state { max-width: 650px; margin: 70px auto 40px; text-align: center; }
.empty-signal { display: flex; align-items: center; justify-content: center; gap: 4px; height: 48px; margin-bottom: 22px; }
.empty-signal i { width: 5px; background: var(--blue); }
.empty-signal i:nth-child(1), .empty-signal i:nth-child(5) { height: 13px; opacity: .45; }
.empty-signal i:nth-child(2), .empty-signal i:nth-child(4) { height: 28px; opacity: .7; }
.empty-signal i:nth-child(3) { height: 46px; }
.empty-state h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 500; }
.empty-state p { margin: 13px 0 26px; color: var(--muted); }
.empty-actions { display: flex; justify-content: center; gap: 10px; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: 3px; font-weight: 700; cursor: pointer; }
.button.primary { color: white; background: var(--blue); }
.button.primary:hover { background: #0669b8; }
.button.secondary { border-color: #cbd5e1; color: var(--navy); background: white; }
.button.wide { width: 100%; }
.button.compact { min-height: 36px; padding: 7px 11px; font-size: 12px; }

.site-footer { color: #d2d9e4; background: #07172e; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; min-height: 134px; }
.footer-conference { display: flex; align-items: center; gap: 13px; }
.footer-conference strong { color: white; }
.footer-conference p { margin: 2px 0 0; color: #8290a5; font-size: 12px; }
.footer-bottom { display: flex; align-items: center; gap: 22px; padding-block: 18px; border-top: 1px solid #1e314b; color: #6e8099; font-size: 11px; }
.footer-bottom > span:nth-child(2) { margin-right: auto; }
.powered-by { color: #8290a5; transition: color .2s ease; }
.powered-by:hover { color: #c6d0dd; }

.lightbox { position: fixed; z-index: 100; inset: 0; display: grid; grid-template-columns: 80px minmax(0, 1fr) 80px; align-items: center; color: white; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(1,8,18,.94); backdrop-filter: blur(10px); }
.lightbox-stage { position: relative; z-index: 1; grid-column: 2; display: flex; flex-direction: column; width: min(1120px, 100%); max-height: calc(100vh - 80px); margin: 0 auto; }
.lightbox-image-wrap { display: grid; place-items: center; min-height: 0; flex: 1; }
.lightbox-image-wrap img { max-width: 100%; max-height: calc(100vh - 175px); object-fit: contain; box-shadow: 0 20px 65px rgba(0,0,0,.4); }
.lightbox-stage figcaption { display: flex; justify-content: space-between; gap: 25px; align-items: center; min-height: 76px; padding-top: 15px; }
.lightbox-stage figcaption > div { display: grid; }
.lightbox-stage figcaption strong { font-size: 15px; }
.lightbox-stage figcaption span, .lightbox-stage figcaption small { color: #aeb8c7; font-size: 12px; }
.lightbox-close, .lightbox-arrow { position: relative; z-index: 2; border: 0; color: white; background: transparent; cursor: pointer; }
.lightbox-close { position: absolute; top: 22px; right: 26px; width: 44px; height: 44px; font-size: 31px; }
.lightbox-arrow { width: 54px; height: 80px; justify-self: center; font-size: 56px; font-weight: 200; }
.lightbox-arrow.previous { grid-column: 1; }
.lightbox-arrow.next { grid-column: 3; }
.like-button.large { color: white; background: #173451; }
.like-button.large.liked { color: #ff8674; background: white; }
.like-button.large span { font-size: 21px; }

/* Shared inner pages */
.inner-page { min-height: 100vh; background: #f4f7fa; }
.inner-header { color: white; background: var(--navy); }
.inner-header .topbar { border: 0; }
.header-actions { display: flex; align-items: center; gap: 26px; }
.back-link { color: #b9c8da; font-size: 13px; font-weight: 650; }
.back-link:hover { color: white; }
.form-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8%; align-items: start; padding-block: 78px; }
.form-intro { position: sticky; top: 40px; padding-top: 21px; }
.form-intro h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 42px; font-weight: 500; line-height: 1.12; }
.form-intro > p:not(.section-kicker) { max-width: 510px; margin: 20px 0; color: var(--muted); }
.upload-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border-block: 1px solid var(--line); }
.upload-facts span { display: grid; padding: 17px 12px 17px 0; }
.upload-facts b { color: var(--navy); font-size: 15px; }
.upload-facts small { color: var(--muted); font-size: 10px; }
.form-panel { padding: 34px; border-top: 3px solid var(--blue); background: white; box-shadow: var(--shadow); }
.form-panel form, .login-panel form { display: grid; gap: 20px; }
label { display: grid; gap: 7px; color: #344054; font-size: 13px; font-weight: 700; }
label > small { justify-self: end; margin-top: -26px; color: #98a2b3; font-size: 10px; font-weight: 500; }
input, textarea { width: 100%; border: 1px solid #cfd7e2; border-radius: 3px; color: var(--ink); background: white; outline: none; }
input { height: 45px; padding: 0 12px; }
textarea { padding: 11px 12px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8,120,209,.1); }
.drop-zone { position: relative; place-items: center; min-height: 210px; padding: 27px; border: 1px dashed #91a5bc; color: var(--navy); background: #f8fafc; text-align: center; cursor: pointer; }
.drop-zone:hover, .drop-zone.dragging { border-color: var(--blue); background: #f2f8fd; }
.drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-zone strong { font-size: 16px; }
.drop-zone small { justify-self: auto; margin: -2px 0 0; color: var(--muted); font-size: 11px; }
.upload-symbol { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid #b7c4d3; color: var(--blue); background: white; font-size: 24px; }
#file-summary { max-width: 100%; color: var(--blue); font-size: 12px; font-weight: 650; overflow-wrap: anywhere; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.privacy-note { margin: -6px 0 0; color: #7d8999; font-size: 10px; text-align: center; }
.flash { margin-bottom: 18px; padding: 11px 13px; border-left: 3px solid var(--blue); color: #235271; background: #eaf5fc; font-size: 13px; }
.flash.error { border-color: var(--coral); color: #783929; background: #fff0ed; }
.flash.success { border-color: var(--mint); color: #236851; background: #eaf9f3; }
.submission-success { display: grid; justify-items: center; padding: 50px 24px; text-align: center; }
.submission-success > span { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 50%; color: white; background: var(--mint); font-size: 27px; }
.submission-success h2 { max-width: 480px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 500; }
.submission-success p { margin: 9px 0 27px; color: var(--muted); }

/* Admin */
.admin-login-page { min-height: 100vh; color: white; background: linear-gradient(130deg, #061a38, #0b3b68); }
.login-shell { display: grid; justify-items: center; align-content: center; min-height: 100vh; padding: 40px 20px; }
.login-shell > .brand { margin-bottom: 30px; }
.login-panel { width: min(430px, 100%); padding: 38px; border-top: 3px solid var(--cyan); color: var(--ink); background: white; box-shadow: 0 22px 70px rgba(0,0,0,.24); }
.login-panel .section-kicker { margin-bottom: 9px; }
.login-panel h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 31px; font-weight: 500; }
.login-panel > p:not(.section-kicker) { margin: 9px 0 25px; color: var(--muted); font-size: 13px; }
.login-shell .centered { margin-top: 22px; }
.admin-main { padding-block: 48px 80px; }
.admin-title { display: flex; align-items: end; justify-content: space-between; margin-bottom: 26px; }
.admin-title .section-kicker { margin-bottom: 5px; }
.admin-title h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 34px; font-weight: 500; }
.admin-title > p { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.stats-grid article { display: grid; align-content: start; min-height: 112px; padding: 17px; border-top: 2px solid #a6b4c5; background: white; }
.stats-grid article:last-child { border-top-color: var(--coral); }
.stats-grid span { color: var(--muted); font-size: 11px; }
.stats-grid strong { color: var(--navy); font-size: 27px; }
.stats-grid small { color: var(--muted); font-size: 9px; line-height: 1.4; }
.moderation-section { margin-top: 47px; }
.moderation-heading .section-kicker { margin-bottom: 5px; }
.moderation-heading h2 { margin: 0 0 19px; font-size: 23px; }
.batch-bar { position: sticky; z-index: 10; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; margin-bottom: 16px; padding: 10px 14px; border: 1px solid var(--line); background: rgba(255,255,255,.96); }
.batch-bar > div { display: flex; gap: 7px; }
.select-all { display: flex; grid-auto-flow: column; align-items: center; gap: 8px; }
.select-all input { width: 17px; height: 17px; }
#selected-count { color: var(--muted); font-size: 12px; }
.button.approve { color: white; background: #15805e; }
.button.reject { border-color: #e2b4aa; color: #a44735; background: white; }
.pending-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.pending-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: white; }
.photo-select { position: absolute; z-index: 3; top: 9px; left: 9px; display: block; }
.photo-select input { width: 19px; height: 19px; accent-color: var(--blue); }
.pending-preview { position: relative; display: block; width: 100%; padding: 0; border: 0; overflow: hidden; background: #dfe5ec; cursor: zoom-in; }
.pending-preview img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.pending-preview span { position: absolute; right: 8px; bottom: 8px; padding: 4px 7px; color: white; background: rgba(4,20,40,.77); font-size: 10px; }
.pending-info { min-height: 102px; padding: 13px; }
.pending-info strong { display: block; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.pending-info p { margin: 5px 0; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.pending-info small { color: #98a2b3; font-size: 9px; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 0 13px 13px; }
.admin-empty { padding: 70px 20px; border: 1px dashed #b9c5d3; background: rgba(255,255,255,.5); text-align: center; }
.admin-empty span { display: grid; place-items: center; width: 43px; height: 43px; margin: 0 auto 13px; border-radius: 50%; color: white; background: var(--mint); }
.admin-empty h3 { margin: 0; }
.admin-empty p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.admin-preview-modal { display: grid; grid-template-columns: 1fr; place-items: center; }
.admin-preview-modal img { position: relative; z-index: 2; max-width: calc(100vw - 100px); max-height: calc(100vh - 90px); object-fit: contain; }

@media (max-width: 1100px) {
  :root { --shell: min(100% - 44px, 1200px); }
  .hero h1 { font-size: 40px; }
  .photo-grid, .timeline-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pending-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-inner { grid-template-columns: 1fr; gap: 8px; min-height: 0; padding-block: 12px; }
  .partner-heading { display: flex; align-items: center; justify-content: flex-start; gap: 18px; padding: 0; border: 0; }
  .partner-heading img { width: 76px; max-height: 24px; }
  .partner-heading p { max-width: 300px; font-size: 9px; text-align: left; }
  .partner-logos { grid-auto-columns: minmax(105px, 1fr); }
  .partner-logos li { grid-template-rows: 42px 26px; padding-inline: 8px; }
  .partner-logos img { max-width: 104px; height: 38px; }
  .partner-logos span { max-width: 108px; font-size: 9px; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 32px); }
  .conference-header { min-height: auto; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(3,14,34,.82), rgba(3,14,34,.48)),
      linear-gradient(0deg, rgba(3,14,34,.78) 0%, rgba(3,14,34,.12) 70%);
  }
  .hero-slide img { object-position: center; }
  .topbar { height: 64px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 36px; height: 36px; font-size: 13px; }
  .hero { min-height: 410px; padding-block: 34px 28px; }
  .hero-copy { min-width: 0; }
  .edition { font-size: 14px; }
  .hero h1 { max-width: 17ch; font-size: 30px; overflow-wrap: anywhere; text-wrap: wrap; }
  .hero-place { margin-top: 14px; font-size: 10px; }
  .event-action-row { flex-direction: column; align-items: stretch; gap: 17px; margin-top: 20px; }
  .event-meta { gap: 16px; }
  .event-meta b { font-size: 14px; }
  .event-meta span span { font-size: 11px; }
  .hero-upload-button { width: 100%; min-height: 50px; }
  .hero-control-row { justify-content: space-between; gap: 10px; margin-top: 18px; }
  .hero-scene-label { flex: 1; max-width: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero-controls { flex: none; gap: 7px; }
  .hero-dots { gap: 0; }
  .conference-stats { grid-template-columns: repeat(2, 1fr); width: 100%; margin: 0; border-bottom: 0; }
  .conference-stat { min-height: 70px; padding: 12px 16px; }
  .conference-stat:nth-child(2) { border-right: 0; }
  .conference-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .conference-stat strong { font-size: 24px; }
  .conference-stat span { margin-top: 5px; font-size: 11px; }
  .topic-rail { height: 40px; }
  .topic-rail { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
  .topic-rail::-webkit-scrollbar { display: none; }
  .topic-track { animation: none; transform: none; }
  .topic-set[aria-hidden="true"] { display: none; }
  .topic-set span { padding-inline: 14px; font-size: 10px; }
  .partner-inner { grid-template-columns: 1fr; gap: 8px; min-height: 0; padding-block: 12px; }
  .partner-heading { display: flex; align-items: center; justify-content: flex-start; gap: 18px; padding: 0; border: 0; }
  .partner-heading img { width: 76px; max-height: 24px; }
  .partner-heading p { max-width: 240px; font-size: 9px; text-align: left; }
  .partner-logos { grid-auto-columns: 126px; }
  .partner-logos li { grid-template-rows: 40px 28px; padding-inline: 9px; }
  .partner-logos img { max-width: 100px; height: 36px; }
  .partner-logos span { max-width: 112px; font-size: 9px; }
  .nav-inner { width: 100%; min-height: 58px; padding-left: max(7px, env(safe-area-inset-left)); padding-right: max(10px, env(safe-area-inset-right)); }
  .view-tabs { min-width: 0; height: 58px; flex: 1; }
  .view-tabs button { flex: 1; min-width: 0; padding: 0 7px; font-size: 12px; }
  .view-tabs button::after { right: 7px; left: 7px; }
  .tab-dot { margin-right: 5px; }
  .nav-links { flex: none; }
  .nav-links a { min-height: 44px; padding: 7px 10px; font-size: 12px; }
  .nav-links .nav-upload { display: inline-flex; }
  .main-content { padding-block: 30px 52px; }
  .new-photo-banner { margin-top: -19px; }
  .stream-heading { margin-bottom: 17px; }
  .stream-heading h2 { font-size: 25px; }
  .stream-heading .section-kicker { font-size: 11px; }
  .photo-grid, .timeline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .photo-card { border-radius: 4px; }
  .photo-overlay { padding: 34px 7px 7px; }
  .photo-meta strong { display: none; }
  .source-tag { top: 6px; left: 6px; }
  .like-button { min-width: 44px; min-height: 44px; justify-content: center; padding: 5px 7px; }
  .footer-inner { min-height: 102px; padding-block: 27px; }
  .footer-bottom { flex-wrap: wrap; gap: 6px 18px; padding-bottom: max(18px, env(safe-area-inset-bottom)); }
  .footer-bottom > span:nth-child(2) { width: 100%; order: 3; }
  .powered-by { margin-left: auto; }
  .lightbox { grid-template-columns: 52px minmax(0, 1fr) 52px; }
  .lightbox-stage { grid-column: 1 / -1; padding: 0 14px; }
  .lightbox-image-wrap img { max-height: calc(100vh - 190px); }
  .lightbox-arrow { position: absolute; z-index: 3; top: 45%; width: 44px; height: 60px; background: rgba(2,12,26,.55); }
  .lightbox-arrow.previous { left: 5px; }
  .lightbox-arrow.next { right: 5px; }
  .lightbox-stage figcaption { align-items: start; min-height: 95px; }
  .lightbox-close { top: 8px; right: 8px; background: rgba(2,12,26,.55); }
  .form-layout { grid-template-columns: 1fr; gap: 28px; padding-block: 34px 48px; }
  .form-intro { position: static; padding: 0; }
  .form-intro h1 { font-size: 34px; }
  .upload-facts { margin-top: 28px; }
  .form-panel { padding: 22px 18px; box-shadow: 0 12px 34px rgba(5, 24, 51, .1); }
  input { height: 48px; font-size: 16px; }
  textarea { min-height: 112px; font-size: 16px; }
  .button { min-height: 48px; }
  .field-grid { grid-template-columns: 1fr; }
  .header-actions { gap: 13px; }
  .inner-header .language-switch { gap: 3px; }
  .inner-header .language-switch button { padding-inline: 1px; font-size: 11px; }
  .inner-header .back-link { font-size: 11px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pending-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
  .batch-bar { flex-wrap: wrap; }
  .admin-preview-modal img { max-width: calc(100vw - 28px); }
}

@media (max-width: 430px) {
  .brand { gap: 9px; }
  .hero { min-height: 400px; }
  .hero h1 { font-size: 28px; }
  .event-meta { align-items: stretch; }
  .event-meta > span:not(.meta-divider) { flex: 1; }
  .tab-dot { display: none; }
  .photo-count { display: none; }
  .upload-facts span { padding-right: 5px; }
  .login-panel { padding: 30px 22px; }
  .stats-grid { gap: 8px; }
  .pending-grid { grid-template-columns: 1fr; }
  .batch-bar > div { width: 100%; }
  .batch-bar .button { flex: 1; }
  .inner-header .brand > span:last-child { display: none; }
  .inner-header .header-actions { margin-left: auto; }
  .login-shell { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  .topic-rail { overflow-x: auto; scrollbar-width: none; }
  .topic-track { transform: none !important; }
  .topic-set[aria-hidden="true"] { display: none; }
}
