:root {
  --bg: #080a0f;
  --bg-elevated: #111520;
  --bg-card: #151a27;
  --bg-card-hover: #1b2233;
  --surface-glass: rgba(14, 18, 28, 0.82);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f5fa;
  --text-muted: #98a2b8;
  --text-dim: #667085;
  --gold: #e6b86a;
  --gold-soft: rgba(230, 184, 106, 0.14);
  --gold-glow: rgba(230, 184, 106, 0.28);
  --blue: #6eb5ff;
  --blue-soft: rgba(110, 181, 255, 0.14);
  --green: #4ade80;
  --green-soft: rgba(74, 222, 128, 0.14);
  --red: #fb7185;
  --red-soft: rgba(251, 113, 133, 0.15);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 18px 40px -18px rgba(0, 0, 0, 0.72);
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

body {
  background-image:
    radial-gradient(1100px 520px at 15% -10%, rgba(110, 181, 255, 0.09), transparent 60%),
    radial-gradient(900px 480px at 90% -8%, rgba(230, 184, 106, 0.11), transparent 58%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

.hidden {
  display: none !important;
}

.container {
  width: min(1240px, 100% - 32px);
  margin: 0 auto;
}

/* 顶部玻璃拟态导航栏 */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: var(--surface-glass);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(230, 184, 106, 0.25), rgba(110, 181, 255, 0.18));
  border: 1px solid rgba(230, 184, 106, 0.45);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  box-shadow: 0 0 24px rgba(230, 184, 106, 0.18);
  flex-shrink: 0;
}

.brand-text {
  min-width: 0;
}

.brand-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-subtitle {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.phase-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
}

.phase-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px currentColor;
}

.phase-badge.phase-upload {
  color: var(--blue);
  background: var(--blue-soft);
  border-color: rgba(110, 181, 255, 0.35);
}

.phase-badge.phase-upload .phase-dot {
  background: var(--blue);
}

.phase-badge.phase-voting {
  color: var(--gold);
  background: var(--gold-soft);
  border-color: rgba(230, 184, 106, 0.4);
}

.phase-badge.phase-voting .phase-dot {
  background: var(--gold);
}

.phase-badge.phase-ended {
  color: var(--green);
  background: var(--green-soft);
  border-color: rgba(74, 222, 128, 0.35);
}

.phase-badge.phase-ended .phase-dot {
  background: var(--green);
}

.nav-tabs {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.nav-tab {
  border: none;
  background: transparent;
  color: var(--text-muted);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-tab:hover {
  color: var(--text);
}

.nav-tab.active {
  background: linear-gradient(135deg, #e6b86a, #d29b45);
  color: #12100c;
  box-shadow: 0 6px 18px -6px var(--gold-glow);
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, #ecc277, #cf963c);
  color: #14110b;
  border-color: rgba(255, 226, 168, 0.5);
  box-shadow: 0 10px 24px -10px var(--gold-glow);
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #f3cd88, #dca246);
  border-color: rgba(255, 232, 185, 0.7);
}

.btn-secondary {
  background: var(--blue-soft);
  color: var(--blue);
  border-color: rgba(110, 181, 255, 0.35);
}

.btn-danger {
  background: var(--red-soft);
  color: var(--red);
  border-color: rgba(251, 113, 133, 0.35);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.82rem;
  border-radius: 8px;
}

/* 公告横幅 */
.hero-banner {
  margin: 22px 0 20px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(21, 26, 39, 0.92), rgba(14, 18, 28, 0.92));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-notice {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  flex: 1 1 360px;
}

.hero-notice strong {
  color: var(--gold);
  font-weight: 600;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-chip {
  padding: 7px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.stat-chip b {
  color: var(--text);
  font-family: var(--font-mono);
  margin-left: 4px;
}

/* 工具条 & 模型筛选 */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.pill:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.pill.active {
  background: var(--gold-soft);
  color: var(--gold);
  border-color: rgba(230, 184, 106, 0.5);
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.search-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.86rem;
  width: 190px;
  outline: none;
  transition: border-color 0.2s ease;
}

.search-input:focus {
  border-color: var(--gold);
}

/* 领奖台（揭榜期） */
.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.podium-card {
  position: relative;
  background: linear-gradient(180deg, rgba(27, 34, 51, 0.95), rgba(17, 21, 32, 0.95));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.podium-card:hover {
  transform: translateY(-3px);
}

.podium-card.rank-1 {
  border-color: rgba(230, 184, 106, 0.65);
  box-shadow: 0 18px 46px -18px rgba(230, 184, 106, 0.35);
}

.podium-card.rank-2 {
  border-color: rgba(186, 204, 230, 0.45);
}

.podium-card.rank-3 {
  border-color: rgba(205, 140, 96, 0.45);
}

.podium-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(8, 10, 15, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.rank-1 .podium-rank {
  color: #ffd98e;
  border-color: rgba(230, 184, 106, 0.6);
}

.rank-2 .podium-rank {
  color: #dce7f7;
}

.rank-3 .podium-rank {
  color: #ebb084;
}

.podium-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #0c0f17;
}

.podium-body {
  padding: 14px 16px;
}

/* 画廊网格 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.art-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.art-card:hover {
  transform: translateY(-3px);
  border-color: rgba(230, 184, 106, 0.38);
  background: var(--bg-card-hover);
}

.art-card.voted-mine {
  border-color: rgba(74, 222, 128, 0.65);
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.2), var(--shadow-card);
}

.art-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #0c0f17;
  overflow: hidden;
  cursor: zoom-in;
}

.art-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.art-card:hover .art-thumb {
  transform: scale(1.03);
}

.art-code-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: rgba(8, 10, 15, 0.74);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.art-zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 4px 9px;
  border-radius: 8px;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(8, 10, 15, 0.72);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.art-thumb-wrap:hover .art-zoom-hint {
  opacity: 1;
}

.art-body {
  padding: 14px 15px 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.art-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.model-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(230, 184, 106, 0.28);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vote-count-pill {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.art-title {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.art-author-reveal {
  font-size: 0.82rem;
  color: var(--green);
}

.art-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.art-actions .btn {
  flex: 1;
}

/* 加载更多 & 空状态 */
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.empty-state {
  text-align: center;
  padding: 58px 24px;
  border-radius: var(--radius-lg);
  background: rgba(21, 26, 39, 0.66);
  border: 1px dashed var(--border-strong);
}

.empty-icon {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.empty-state h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.empty-state p {
  margin: 0 auto 18px;
  max-width: 480px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* 投稿表单 */
.panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.submit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.dropzone {
  position: relative;
  border: 1.5px dashed rgba(230, 184, 106, 0.42);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  min-height: 310px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.dropzone:hover,
.dropzone.dragover {
  border-color: var(--gold);
  background: rgba(230, 184, 106, 0.06);
}

.dropzone img.preview-img {
  max-width: 100%;
  max-height: 380px;
  border-radius: 12px;
  object-fit: contain;
  margin-bottom: 12px;
}

.file-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.form-hint {
  margin: 5px 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: rgba(8, 10, 15, 0.72);
  color: var(--text);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(230, 184, 106, 0.14);
}

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

.quick-tag {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.76rem;
  cursor: pointer;
}

.quick-tag:hover {
  color: var(--gold);
  border-color: rgba(230, 184, 106, 0.45);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--text-muted);
  cursor: pointer;
}

.checkbox-row input {
  margin-top: 3px;
  accent-color: var(--gold);
}

.privacy-box {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(110, 181, 255, 0.08);
  border: 1px solid rgba(110, 181, 255, 0.25);
  color: #cfe6ff;
  font-size: 0.82rem;
  margin-bottom: 16px;
}

/* 灯箱与弹窗 */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(4, 6, 10, 0.88);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal-card {
  width: min(460px, 100%);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.08rem;
}

.icon-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.lightbox-shell {
  width: min(1160px, 100%);
  height: min(92vh, 860px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #0c0f17;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.lightbox-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(17, 21, 32, 0.9);
}

.lightbox-stage {
  position: relative;
  overflow: auto;
  display: grid;
  place-items: center;
  padding: 16px;
  background: radial-gradient(circle at center, #141926 0%, #080a0f 75%);
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.lightbox-img.zoomed {
  max-width: none;
  max-height: none;
  cursor: zoom-out;
}

.lightbox-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: rgba(17, 21, 32, 0.92);
  flex-wrap: wrap;
}

/* Toast 提示 */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 100;
  padding: 11px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  background: #171d2c;
  color: var(--text);
  border: 1px solid var(--border-strong);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.72);
  max-width: min(92vw, 520px);
}

.toast.success {
  border-color: rgba(74, 222, 128, 0.55);
  color: #bbf7d0;
}

.toast.error {
  border-color: rgba(251, 113, 133, 0.55);
  color: #fecdd3;
}

/* 页脚 */
.site-footer {
  margin: 42px 0 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-dim);
  font-size: 0.8rem;
  flex-wrap: wrap;
}

.site-footer a:hover {
  color: var(--gold);
}

/* 后台专用样式补充 */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.phase-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.phase-option {
  padding: 12px 10px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.phase-option.active {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: var(--gold);
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

th,
td {
  padding: 11px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.mini-thumb {
  width: 58px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  background: #0c0f17;
  cursor: pointer;
}

.badge-warn {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.74rem;
  background: var(--red-soft);
  color: var(--red);
  border: 1px solid rgba(251, 113, 133, 0.35);
}

.verified-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #bbf7d0;
  background: rgba(16, 40, 26, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(74, 222, 128, 0.38);
}

.exhibition-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fde68a;
  background: rgba(45, 29, 10, 0.84);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(230, 184, 106, 0.55);
}

.exhibition-pill-inline {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #fde68a;
  background: rgba(230, 184, 106, 0.14);
  border: 1px solid rgba(230, 184, 106, 0.42);
}

.meta-modal-card {
  width: min(720px, 100%);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.88);
}

.meta-kv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.meta-kv-item {
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.meta-kv-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 3px;
}

.meta-kv-value {
  font-size: 0.84rem;
  font-family: var(--font-mono);
  color: var(--text);
  word-break: break-all;
}

.meta-raw-box {
  flex: 1;
  min-height: 160px;
  max-height: 44vh;
  overflow: auto;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #07090e;
  border: 1px solid var(--border);
  color: #d6deef;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.admin-action-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.contest-hidden-banner {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(110, 181, 255, 0.08);
  border: 1px solid rgba(110, 181, 255, 0.25);
  color: #cfe6ff;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.batch-dropzone {
  border: 1.5px dashed rgba(230, 184, 106, 0.42);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  padding: 16px 18px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  margin-bottom: 14px;
}

.batch-dropzone:hover,
.batch-dropzone.dragover {
  border-color: var(--gold);
  background: rgba(230, 184, 106, 0.07);
}

.batch-progress-wrap {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(8, 10, 15, 0.65);
  border: 1px solid var(--border);
}

.batch-progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 8px;
}

.batch-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ecc277, #6eb5ff);
  transition: width 0.22s ease;
}

.admin-exhibition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.admin-ex-card {
  background: var(--bg-card);
  border: 1px solid rgba(230, 184, 106, 0.28);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.admin-ex-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #0c0f17;
  cursor: zoom-in;
}

.admin-ex-body {
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

@media (max-width: 820px) {
  .submit-layout,
  .podium-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 20px);
  }
  .search-input {
    width: 100%;
  }
  .toolbar-right {
    width: 100%;
  }
  .phase-selector {
    grid-template-columns: 1fr;
  }
}

.receipt-code-box {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(230, 184, 106, 0.12);
  border: 1px dashed rgba(230, 184, 106, 0.55);
  text-align: center;
  margin: 12px 0;
}
.receipt-code-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 6px;
  color: var(--gold);
}
