/* R74 活动汇总 H5 */
:root {
  --color-primary: #FF6B35;
  --color-secondary: #004E89;
  --color-accent: #F7C948;
  --color-bg: #FAFAFA;
  --color-text: #1A1A2E;
  --color-ongoing: #FF5722;
  --color-upcoming: #FF9800;
  --color-ended: #757575;
  --color-register: #4CAF50;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --font: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --footer-h: 72px;
  --contact-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  padding-bottom: calc(var(--contact-h) + var(--safe-bottom));
}
body.sheet-open { overflow: hidden; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; }

.top-bar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.top-bar__brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.top-bar__logo { border-radius: 8px; object-fit: cover; }
.top-bar__actions { display: flex; gap: 6px; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(0,0,0,.04); font-size: 16px;
}

.theme-panel {
  position: sticky; top: 56px; z-index: 49;
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 10px 16px; background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.theme-chip {
  padding: 6px 12px; border-radius: 999px; font-size: 13px;
  border: 1px solid rgba(0,0,0,.1); background: #fff;
}

.hero {
  position: relative; height: 40vh; min-height: 220px; max-height: 420px;
  overflow: hidden; background: var(--color-secondary);
}
.hero__track { position: relative; width: 100%; height: 100%; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .6s ease;
}
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 48px 20px 36px;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  color: #fff;
}
.hero__caption h1 { margin: 0 0 4px; font-size: 22px; }
.hero__caption p { margin: 0; opacity: .9; font-size: 14px; }
.hero__dots {
  position: absolute; bottom: 12px; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: center; gap: 6px;
}
.hero__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.45);
}
.hero__dot.is-active { background: #fff; width: 20px; border-radius: 4px; }
.hero__brand {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: var(--radius);
  background: rgba(255,255,255,.88); font-size: 13px;
}
.hero__brand img { border-radius: 10px; }
.hero__brand span { display: block; color: #666; font-size: 12px; }

.section-title { margin: 0 0 14px; font-size: 18px; }

.stats-dashboard { padding: 20px 16px 8px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.stat-card {
  background: #fff; border-radius: var(--radius); padding: 16px 10px;
  text-align: center; box-shadow: var(--shadow);
}
.stat-num { display: block; font-size: 26px; font-weight: 700; color: var(--color-primary); }
.stat-label { font-size: 12px; color: #666; }
.stats-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.stats-tag {
  padding: 4px 10px; border-radius: 999px; font-size: 12px;
  background: color-mix(in srgb, var(--color-primary) 12%, #fff);
  color: var(--color-secondary);
}

.filter-bar {
  display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-chip {
  flex-shrink: 0; padding: 8px 16px; border-radius: 999px;
  font-size: 14px; border: 1px solid rgba(0,0,0,.1); background: #fff;
  transition: all .25s ease;
}
.filter-chip.is-active {
  background: var(--color-primary); color: #fff; border-color: var(--color-primary);
}

.event-main { padding: 8px 16px 24px; }
.event-section { margin-bottom: 28px; }
.event-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  transition: opacity .3s ease;
}
.event-grid.is-animating { opacity: .4; }
@media (min-width: 640px) {
  .event-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .event-grid { grid-template-columns: repeat(3, 1fr); }
}

.event-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.event-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.event-card__cover { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.event-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.event-card__chip {
  position: absolute; top: 10px; left: 10px;
  padding: 4px 10px; border-radius: 999px; font-size: 12px;
  background: rgba(255,255,255,.92);
}
.event-card__status {
  position: absolute; top: 10px; right: 10px;
  padding: 4px 10px; border-radius: 999px; font-size: 12px; color: #fff;
}
.status--ongoing { background: var(--color-ongoing); }
.status--upcoming { background: var(--color-upcoming); }
.status--past { background: var(--color-ended); }
.event-card__body { padding: 14px; }
.event-card__title { margin: 0 0 8px; font-size: 16px; }
.event-card__meta { margin: 0 0 4px; font-size: 13px; color: #666; }
.event-card__proof { margin: 8px 0 0; font-size: 12px; color: var(--color-register); }
.card-countdown { margin: 6px 0; font-size: 13px; color: var(--color-upcoming); font-variant-numeric: tabular-nums; }
.event-card__cta { margin-top: 10px; width: 100%; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 10px; font-size: 14px; font-weight: 600;
  border: 2px solid transparent; transition: opacity .2s;
}
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--outline { background: #fff; border-color: var(--color-primary); color: var(--color-primary); }
.btn--ghost { background: transparent; color: #666; }
.btn--full { width: 100%; }
.btn--sm { padding: 8px 14px; font-size: 13px; }

.calendar-view { padding: 0 16px 16px; }
.calendar-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; font-size: 14px; font-weight: 600;
}
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-day {
  padding: 10px 4px; border-radius: 10px; text-align: center;
  background: #fff; border: 1px solid rgba(0,0,0,.06);
}
.cal-day.has-event { background: color-mix(in srgb, var(--color-primary) 10%, #fff); }
.cal-day.is-selected { outline: 2px solid var(--color-primary); }
.cal-day__wd { display: block; font-size: 11px; color: #888; }
.cal-day__num { display: block; font-size: 16px; font-weight: 700; }
.cal-day__dot {
  display: inline-block; margin-top: 4px; min-width: 18px; height: 18px;
  border-radius: 999px; font-size: 11px; line-height: 18px;
  background: var(--color-primary); color: #fff;
}
.calendar-list { margin-top: 16px; display: grid; gap: 12px; }

.trust-footer {
  margin: 0 16px 24px; padding: 24px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.trust-grid { display: grid; gap: 20px; }
@media (min-width: 640px) {
  .trust-grid { grid-template-columns: 1fr auto; align-items: start; }
}
.trust-logo { border-radius: 12px; margin-bottom: 10px; }
.trust-contact { padding: 0; margin: 12px 0 0; list-style: none; font-size: 14px; }
.trust-contact li { margin-bottom: 6px; }
.trust-qr { text-align: center; }
.trust-qr p { margin: 8px 0 0; font-size: 13px; color: #666; }

.detail-sheet { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.detail-sheet:not([hidden]) { pointer-events: auto; }
.detail-sheet__backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,.45);
  opacity: 0; transition: opacity .28s ease;
}
.detail-sheet.is-open .detail-sheet__backdrop { opacity: 1; }
.detail-sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 92vh; background: #fff;
  border-radius: 16px 16px 0 0;
  transform: translateY(100%); transition: transform .32s cubic-bezier(.4,0,.2,1);
  overflow: hidden; display: flex; flex-direction: column;
}
.detail-sheet.is-open .detail-sheet__panel { transform: translateY(0); }
.detail-sheet__handle {
  width: 40px; height: 4px; border-radius: 2px; margin: 10px auto 0;
  background: rgba(0,0,0,.12);
}
.detail-sheet__close {
  position: absolute; top: 8px; right: 12px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,.06); font-size: 22px; line-height: 1;
}
.detail-sheet__body { overflow-y: auto; padding-bottom: calc(24px + var(--safe-bottom)); }
.detail-hero { position: relative; aspect-ratio: 16/9; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-content { padding: 16px 20px 24px; }
.detail-title { margin: 8px 0 12px; font-size: 22px; }
.detail-meta { padding: 0; margin: 0 0 16px; list-style: none; font-size: 14px; color: #555; }
.detail-meta li { margin-bottom: 6px; }
.detail-desc { font-size: 15px; line-height: 1.7; margin-bottom: 16px; }
.detail-ended { color: #888; text-align: center; padding: 12px; }
.detail-stats {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 16px;
}
.detail-stats div {
  text-align: center; padding: 12px; border-radius: 10px;
  background: color-mix(in srgb, var(--color-secondary) 8%, #fff);
}
.detail-stats strong { display: block; font-size: 22px; color: var(--color-primary); }
.detail-stats span { font-size: 12px; color: #666; }
.detail-actions { margin-top: 16px; }

.reg-form label { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 600; }
.reg-form input, .reg-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.12); border-radius: 10px; font-size: 15px;
}
.reg-form__proof { font-size: 14px; margin-bottom: 12px; }
.reg-form__proof .urgency { color: #e65100; font-weight: 600; }
.reg-form__msg { font-size: 14px; color: #c62828; }
.reg-form__msg.is-success { color: var(--color-register); }

.countdown { margin: 12px 0 16px; padding: 14px; border-radius: var(--radius);
  background: color-mix(in srgb, var(--color-upcoming) 12%, #fff); text-align: center; }
.countdown__label { margin: 0 0 10px; font-size: 13px; color: #666; }
.countdown__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.countdown__cell { background: #fff; border-radius: 10px; padding: 10px 4px; }
.countdown__num {
  display: block; font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums;
  animation: flipIn .4s ease;
}
.countdown__unit { font-size: 11px; color: #888; }
@keyframes flipIn {
  from { transform: rotateX(-40deg); opacity: .5; }
  to { transform: rotateX(0); opacity: 1; }
}

.detail-gallery h3 { margin: 20px 0 10px; font-size: 16px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.gallery-thumb { padding: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 1; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center;
}
.lightbox__img { max-width: 92vw; max-height: 80vh; object-fit: contain; }
.lightbox__close {
  position: absolute; top: 16px; right: 16px; color: #fff; font-size: 32px;
}
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: #fff; font-size: 40px; padding: 12px;
}
.lightbox__nav--prev { left: 8px; }
.lightbox__nav--next { right: 8px; }
.lightbox__caption {
  position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #fff;
}

.share-modal {
  position: fixed; inset: 0; z-index: 250;
  background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.share-modal__sheet {
  background: #fff; border-radius: var(--radius); padding: 16px; max-width: 100%;
}
.share-modal__sheet canvas { width: 100%; height: auto; border-radius: 8px; }
.share-modal__actions { display: grid; gap: 8px; margin-top: 12px; }

.contact-footer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  padding: 6px 12px calc(6px + var(--safe-bottom));
  background: rgba(255,255,255,.96); border-top: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 -2px 10px rgba(0,0,0,.05);
  backdrop-filter: blur(8px);
}
.contact-footer__btns {
  display: flex; gap: 6px; justify-content: center; align-items: center;
}
.contact-footer__cta, .contact-footer__btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  text-decoration: none; white-space: nowrap; line-height: 1.2;
}
.contact-footer__cta { background: var(--color-primary); color: #fff; }
.contact-footer__btn {
  background: #fff; color: var(--color-text); border: 1px solid rgba(0,0,0,.1);
}
.contact-footer__brand { margin: 4px 0 0; text-align: center; font-size: 10px; color: #999; }

.empty-state { text-align: center; color: #888; padding: 32px 16px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

body[data-theme="darkTech"] { color: #eaeaea; }
body[data-theme="darkTech"] .top-bar,
body[data-theme="darkTech"] .event-card,
body[data-theme="darkTech"] .trust-footer,
body[data-theme="darkTech"] .stat-card,
body[data-theme="darkTech"] .contact-footer { background: #16213e; }
body[data-theme="darkTech"] .filter-chip,
body[data-theme="darkTech"] .cal-day { background: #1a1a2e; border-color: rgba(255,255,255,.1); }

@media (min-width: 768px) {
  .detail-sheet__panel {
    left: 50%; right: auto; width: min(520px, 92vw);
    transform: translate(-50%, 100%); border-radius: 16px 16px 0 0;
  }
  .detail-sheet.is-open .detail-sheet__panel { transform: translate(-50%, 0); }
}

/* Share page */
body.share-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 16px calc(100px + var(--safe-bottom));
}
.share-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 20px;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
}
.share-card__eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
}
.share-logo-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid var(--color-secondary);
  box-shadow: var(--shadow);
}
.share-logo { width: 100%; height: 100%; object-fit: cover; }
.share-card h1 { margin: 0 0 6px; font-size: 22px; font-weight: 800; }
.share-card__tagline { margin: 0 0 8px; font-size: 14px; color: #666; }
.share-card__desc { margin: 0 0 16px; font-size: 13px; color: #888; line-height: 1.6; }
.share-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.share-stat {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 10px 8px;
}
.share-stat strong { display: block; font-size: 20px; color: var(--color-primary); }
.share-stat span { font-size: 11px; color: #666; }
.share-event-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  text-align: left;
}
.share-event-list li {
  padding: 12px;
  margin-bottom: 8px;
  border-radius: var(--radius);
  background: var(--color-bg);
  font-size: 13px;
}
.share-event-list li strong { display: block; margin: 4px 0; font-size: 15px; color: var(--color-text); }
.share-event-list li span { color: #666; }
.share-event-list__status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  color: #fff;
}
.share-event-list__empty { text-align: center; color: #888; }
.share-card .btn { margin-bottom: 10px; }
.share-page-link { margin-top: 12px; text-decoration: none; display: flex; align-items: center; justify-content: center; }
.share-poster-panel {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,.08);
  text-align: left;
}
.share-poster-panel h2 { margin: 0 0 6px; font-size: 17px; text-align: center; }
.share-poster-hint { margin: 0 0 12px; font-size: 12px; color: #888; text-align: center; }
.poster-wrap { margin-top: 12px; }
.poster-wrap canvas { width: 100%; height: auto; border-radius: 8px; }
.app-toast {
  position: fixed;
  left: 50%;
  bottom: calc(100px + var(--safe-bottom));
  transform: translateX(-50%) translateY(12px);
  padding: 10px 18px;
  background: rgba(26,26,46,.92);
  color: #fff;
  font-size: 14px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 400;
}
.app-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* P2 · 活动地图（高德 / 腾讯） */
.event-map-section { padding: 8px 16px 16px; }
.map-hint { margin: -8px 0 12px; font-size: 12px; color: #888; }
.map-provider-toggle {
  display: flex; gap: 8px; margin-bottom: 10px;
}
.map-provider-btn {
  flex: 1; padding: 8px 10px; border-radius: 999px; font-size: 13px; font-weight: 600;
  border: 1px solid rgba(0,0,0,.1); background: #fff; color: var(--color-text);
}
.map-provider-btn.is-active {
  background: var(--color-primary); color: #fff; border-color: var(--color-primary);
}
.map-provider-btn:disabled { opacity: .45; cursor: not-allowed; }
.event-map {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: #e8eef5;
}
.event-map--live { width: 100%; }
.event-map__fallback { position: relative; width: 100%; height: 100%; min-height: 200px; }
.event-map__static { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-map__placeholder {
  display: flex; align-items: center; justify-content: center;
  height: 100%; font-size: 48px; background: linear-gradient(135deg, #dce8f5, #eef3f8);
}
.event-map__fallback-msg {
  position: absolute; left: 12px; right: 12px; bottom: 12px; margin: 0;
  padding: 8px 12px; border-radius: 8px; font-size: 12px; color: #fff;
  background: rgba(0,0,0,.55); text-align: center;
}
.amap-marker {
  width: 28px; height: 28px; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px; font-weight: 700; border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.amap-marker.status--ongoing { background: var(--color-ongoing); }
.amap-marker.status--upcoming { background: var(--color-upcoming); }
.map-legend { list-style: none; margin: 12px 0 0; padding: 0; }
.map-legend__row {
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid rgba(0,0,0,.06); padding: 8px 0;
}
.map-legend__item {
  flex: 1; display: flex; align-items: center; gap: 8px;
  padding: 0; border: none; background: none; text-align: left; cursor: pointer;
}
.map-legend__text { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.map-legend__text strong { font-size: 14px; color: var(--color-text); }
.map-legend__text span { font-size: 12px; color: #888; }
.map-legend__dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.map-legend__dot.status--ongoing { background: var(--color-ongoing); }
.map-legend__dot.status--upcoming { background: var(--color-upcoming); }
.map-legend__nav { display: flex; gap: 6px; flex-shrink: 0; }
.map-nav-link {
  padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600;
  text-decoration: none; border: 1px solid rgba(0,0,0,.1); background: #fff;
}
.map-nav-link--amap { color: #0091ff; }
.map-nav-link--tx { color: #12b7f5; }
.map-legend__empty { color: #888; font-size: 13px; padding: 8px 0; }
.detail-nav {
  display: flex; gap: 8px; margin: 0 0 14px;
}
.detail-nav .btn { flex: 1; }

/* P2 · 订阅 */
.subscribe-section { padding: 0 16px 16px; }
.subscribe-card {
  background: #fff; border-radius: var(--radius); padding: 20px 16px;
  box-shadow: var(--shadow);
}
.subscribe-hint { margin: -8px 0 14px; font-size: 13px; color: #666; line-height: 1.6; }
.subscribe-form label { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 600; }
.subscribe-form input[type=tel],
.subscribe-form select {
  display: block; width: 100%; margin-top: 6px; padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.12); border-radius: 10px; font-size: 15px;
}
.subscribe-check { font-weight: 400; display: flex; align-items: center; gap: 8px; }
.subscribe-check input { width: auto; margin: 0; }
.subscribe-msg { font-size: 14px; color: #c62828; margin-top: 8px; }
.subscribe-msg.is-success { color: var(--color-register); }
.subscribe-note { margin: 10px 0 0; font-size: 12px; color: #888; }
.admin-link {
  display: inline-block; margin-top: 10px; font-size: 12px; color: #888;
  text-decoration: underline;
}

/* Admin */
body.admin-page { padding-bottom: calc(80px + var(--safe-bottom)); background: var(--color-bg); }
.admin-header {
  padding: 24px 16px 12px; text-align: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff;
}
.admin-header h1 { margin: 0 0 6px; font-size: 20px; }
.admin-header p { margin: 0; font-size: 13px; opacity: .9; }
.admin-main { padding: 16px; max-width: 640px; margin: 0 auto; }
.admin-card {
  background: #fff; border-radius: var(--radius); padding: 16px; margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.admin-card h2 { margin: 0 0 8px; font-size: 16px; }
.admin-hint { margin: 0 0 12px; font-size: 12px; color: #888; }
.admin-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.admin-table th, .admin-table td {
  padding: 8px 6px; border-bottom: 1px solid rgba(0,0,0,.08); text-align: left;
}
.admin-table th { font-weight: 600; color: #666; }
.admin-empty { text-align: center; color: #888; padding: 16px !important; }
.admin-status { margin: 8px 0 0; font-size: 12px; color: #666; }
.admin-event-list { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.8; }
