/* ============================================================================
   无限摄影社 · 组件层 Components
   玻璃卡片 / 按钮 / 表单 / 徽章 / 模态 / 灯箱 / 空态 / Toast
   ========================================================================== */

/* ══════════════════════════════════════════════════════════════════
   玻璃卡片
   ═══════════════════════════════════════════════════════════════════ */
.glass {
  position: relative;
  background: var(--glass-2);
  backdrop-filter: blur(var(--blur-md)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--blur-md)) saturate(150%);
  border: 1px solid var(--stroke-1);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md), var(--shadow-inset-top);
}
/* 顶部金属高光线：LOGO 银色字的反射 */
.glass--edge::before {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 1px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--metal-line);
  opacity: .34;
  pointer-events: none;
}
.glass--pad { padding: var(--sp-5); }
.glass--tall { padding: var(--sp-6); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--glass-2);
  backdrop-filter: blur(var(--blur-md)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--blur-md)) saturate(150%);
  border: 1px solid var(--stroke-1);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md), var(--shadow-inset-top);
  transition: transform var(--dur-base) var(--ease-out),
              border-color var(--dur-base),
              box-shadow var(--dur-base),
              background var(--dur-base);
}
.card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 1px;
  background: var(--metal-line);
  opacity: .3;
  pointer-events: none;
  z-index: 2;
}
.card--hover:hover {
  transform: translateY(-4px);
  background: var(--glass-3);
  border-color: var(--stroke-2);
  box-shadow: var(--shadow-lg), var(--shadow-inset-top);
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink-800), var(--ink-900));
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slower) var(--ease-out);
}
.card--hover:hover .card__media img { transform: scale(1.06); }
.card__body { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.card__title {
  font-size: var(--fs-md);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.01em;
}
.card__desc { font-size: var(--fs-sm); color: var(--text-3); line-height: 1.6; }
.card__foot {
  margin-top: auto;
  padding-top: var(--sp-3);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-3);
  font-size: var(--fs-2xs);
  color: var(--text-4);
}

/* 图片占位骨架 */
.skeleton {
  background: linear-gradient(100deg,
    rgba(255,255,255,.03) 20%,
    rgba(255,255,255,.085) 50%,
    rgba(255,255,255,.03) 80%);
  background-size: 220% 100%;
  animation: shimmer 1.6s linear infinite;
}

/* ══════════════════════════════════════════════════════════════════
   按钮
   ═══════════════════════════════════════════════════════════════════ */
.btn {
  --btn-h: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  height: var(--btn-h);
  padding: 0 var(--sp-4);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--dur-fast), border-color var(--dur-fast),
              transform var(--dur-fast), box-shadow var(--dur-fast), color var(--dur-fast);
  -webkit-user-select: none; user-select: none;
}
.btn:active:not(:disabled) { transform: scale(.972); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; stroke-width: 1.9; flex: 0 0 auto; }

.btn--primary {
  background: linear-gradient(140deg, var(--red-500), var(--red-700));
  color: var(--text-on-red);
  border-color: rgba(255,255,255,.14);
  box-shadow: var(--shadow-red), var(--shadow-inset-top);
}
.btn--primary:hover:not(:disabled) {
  background: linear-gradient(140deg, var(--red-400), var(--red-600));
  box-shadow: 0 12px 34px -8px rgba(200,16,46,.62), var(--shadow-inset-top);
}

.btn--ghost {
  background: var(--glass-2);
  color: var(--text-1);
  border-color: var(--stroke-1);
  box-shadow: var(--shadow-inset-top);
}
.btn--ghost:hover:not(:disabled) {
  background: var(--glass-3);
  border-color: var(--stroke-2);
}

.btn--outline {
  background: transparent;
  color: var(--text-2);
  border-color: var(--stroke-2);
}
.btn--outline:hover:not(:disabled) { background: var(--glass-2); color: var(--text-1); }

.btn--metal {
  background: var(--metal-soft);
  color: var(--ink-900);
  border-color: rgba(255,255,255,.5);
  box-shadow: var(--shadow-md);
}
.btn--metal:hover:not(:disabled) { filter: brightness(1.07); }

.btn--danger {
  background: rgba(200,16,46,.14);
  color: var(--red-300);
  border-color: rgba(200,16,46,.34);
}
.btn--danger:hover:not(:disabled) { background: rgba(200,16,46,.24); color: #fff; }

.btn--sm { --btn-h: 31px; padding: 0 var(--sp-3); font-size: var(--fs-xs); border-radius: var(--r-sm); }
.btn--lg { --btn-h: 46px; padding: 0 var(--sp-6); font-size: var(--fs-md); border-radius: var(--r-lg); }
.btn--block { width: 100%; }
.btn--icon { width: var(--btn-h); padding: 0; flex: 0 0 auto; }
.btn--icon.btn--sm { width: 31px; }
.btn--icon.btn--lg { width: 46px; }

/* 图标按钮（工具栏） */
.icon-btn {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: var(--r-md);
  color: var(--text-2);
  background: var(--glass-1);
  border: 1px solid var(--stroke-1);
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}
.icon-btn:hover { background: var(--glass-3); color: var(--text-1); border-color: var(--stroke-2); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 18px; height: 18px; stroke-width: 1.8; }

/* 分段控件 */
.segment {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: var(--r-md);
  background: var(--glass-1);
  border: 1px solid var(--stroke-1);
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
}
.segment::-webkit-scrollbar { display: none; }
.segment__btn {
  padding: 6px var(--sp-3);
  border-radius: var(--r-sm);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-3);
  white-space: nowrap;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.segment__btn:hover { color: var(--text-1); background: var(--glass-2); }
.segment__btn.is-active {
  background: var(--glass-4);
  color: var(--text-1);
  box-shadow: var(--shadow-sm), var(--shadow-inset-top);
}

/* ══════════════════════════════════════════════════════════════════
   徽章 / 标签
   ═══════════════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px;
  border-radius: var(--r-full);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: .02em;
  background: var(--glass-2);
  border: 1px solid var(--stroke-1);
  color: var(--text-2);
  white-space: nowrap;
}
.badge--red {
  background: rgba(200,16,46,.16);
  border-color: rgba(200,16,46,.36);
  color: var(--red-300);
}
.badge--metal {
  background: rgba(255,255,255,.10);
  border-color: var(--stroke-2);
  color: var(--silver-100);
}
.badge--green {
  background: rgba(24,160,96,.15);
  border-color: rgba(24,160,96,.34);
  color: #4ADE93;
}
.badge--amber {
  background: rgba(214,158,26,.15);
  border-color: rgba(214,158,26,.34);
  color: #F0C05A;
}
.badge--dim { color: var(--text-4); }
.badge__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  flex: 0 0 6px;
}
.badge--live .badge__dot { animation: pulseRed 2.4s var(--ease-out) infinite; }

/* 头像 */
.avatar {
  --sz: 40px;
  width: var(--sz); height: var(--sz);
  flex: 0 0 var(--sz);
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(140deg, var(--ink-700), var(--ink-850));
  border: 1px solid var(--stroke-2);
  display: grid; place-items: center;
  font-weight: 800;
  font-size: calc(var(--sz) * .38);
  color: var(--silver-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.avatar--sm { --sz: 30px; }
.avatar--lg { --sz: 56px; }
.avatar--xl { --sz: 82px; }
.avatar--sq { border-radius: var(--r-md); }

/* ══════════════════════════════════════════════════════════════════
   表单
   ═══════════════════════════════════════════════════════════════════ */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: .02em;
  display: flex; align-items: center; gap: 5px;
}
.field__label .req { color: var(--red-400); }
.field__hint { font-size: var(--fs-2xs); color: var(--text-4); line-height: 1.55; }
.field__error { font-size: var(--fs-2xs); color: var(--red-300); font-weight: 600; }

.input, .textarea, .select {
  width: 100%;
  padding: 10px var(--sp-3);
  border-radius: var(--r-md);
  background: var(--glass-1);
  border: 1px solid var(--stroke-1);
  color: var(--text-1);
  font-size: var(--fs-sm);
  transition: background var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.input::placeholder, .textarea::placeholder { color: var(--text-4); }
.input:hover, .textarea:hover, .select:hover { background: var(--glass-2); }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  background: var(--glass-2);
  border-color: var(--stroke-red);
  box-shadow: 0 0 0 3px rgba(200,16,46,.11);
}
.input:disabled, .textarea:disabled, .select:disabled { opacity: .5; cursor: not-allowed; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] {
  border-color: rgba(200,16,46,.6);
}
.textarea { min-height: 96px; resize: vertical; line-height: 1.65; font-family: inherit; }
.select {
  appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239DA4B2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 15px;
  cursor: pointer;
}
.select option { background: var(--ink-850); color: var(--text-1); }

/* 复选框 */
.check {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  cursor: pointer; font-size: var(--fs-sm); color: var(--text-2);
  -webkit-user-select: none; user-select: none;
}
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box {
  width: 18px; height: 18px; flex: 0 0 18px;
  border-radius: 5px;
  border: 1.5px solid var(--stroke-3);
  background: var(--glass-1);
  display: grid; place-items: center;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.check__box svg { width: 12px; height: 12px; stroke-width: 3.2; color: #fff; opacity: 0; transform: scale(.6); transition: all var(--dur-fast) var(--ease-spring); }
.check input:checked + .check__box {
  background: linear-gradient(140deg, var(--red-500), var(--red-700));
  border-color: var(--red-400);
}
.check input:checked + .check__box svg { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 2px solid var(--red-500); outline-offset: 2px; }

/* 开关 */
.switch { display: inline-flex; align-items: center; gap: var(--sp-3); cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch__track {
  width: 42px; height: 24px; flex: 0 0 42px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.09);
  border: 1px solid var(--stroke-2);
  position: relative;
  transition: background var(--dur-base), border-color var(--dur-base);
}
.switch__track::after {
  content: "";
  position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--silver-200);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-spring), background var(--dur-base);
}
.switch input:checked + .switch__track {
  background: linear-gradient(120deg, var(--red-600), var(--red-500));
  border-color: var(--red-400);
}
.switch input:checked + .switch__track::after { transform: translateX(18px); background: #fff; }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--red-500); outline-offset: 2px; }

/* 表单栅格 */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--sp-4); }
.form-grid .col-span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0,1fr); } }

/* 图片 URL 输入 + 预览 */
.image-input { display: flex; gap: var(--sp-3); align-items: flex-start; }
.image-input__preview {
  width: 92px; height: 92px; flex: 0 0 92px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px dashed var(--stroke-2);
  background: var(--glass-1);
  display: grid; place-items: center;
  color: var(--text-4);
  font-size: var(--fs-2xs);
  text-align: center;
  padding: 4px;
}
.image-input__preview img { width: 100%; height: 100%; object-fit: cover; }

/* ══════════════════════════════════════════════════════════════════
   模态
   ═══════════════════════════════════════════════════════════════════ */
.modal {
  position: fixed; inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: var(--sp-5);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-base), visibility var(--dur-base);
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__scrim {
  position: absolute; inset: 0;
  background: rgba(3,3,6,.72);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}
.modal__panel {
  position: relative;
  width: min(100%, 620px);
  max-height: min(88dvh, 900px);
  display: flex;
  flex-direction: column;
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(22,22,32,.90), rgba(12,12,19,.94));
  backdrop-filter: blur(var(--blur-xl)) saturate(170%);
  -webkit-backdrop-filter: blur(var(--blur-xl)) saturate(170%);
  border: 1px solid var(--stroke-2);
  box-shadow: var(--shadow-xl), var(--shadow-inset-top);
  transform: translateY(18px) scale(.975);
  transition: transform var(--dur-slow) var(--ease-out);
  overflow: hidden;
}
.modal.is-open .modal__panel { transform: none; }
.modal__panel--wide { width: min(100%, 860px); }
.modal__panel--narrow { width: min(100%, 440px); }
.modal__head {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--stroke-1);
  flex: 0 0 auto;
}
.modal__title { font-size: var(--fs-lg); font-weight: 800; letter-spacing: -.02em; }
.modal__sub { font-size: var(--fs-2xs); color: var(--text-4); margin-top: 2px; }
.modal__close { margin-left: auto; }
.modal__body {
  padding: var(--sp-6);
  overflow-y: auto;
  flex: 1;
  overscroll-behavior: contain;
}
.modal__foot {
  display: flex; align-items: center; justify-content: flex-end;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-6);
  border-top: 1px solid var(--stroke-1);
  background: rgba(0,0,0,.22);
  flex: 0 0 auto;
}
@media (max-width: 720px) {
  .modal { padding: 0; place-items: end center; }
  .modal__panel {
    width: 100%;
    max-height: 92dvh;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    transform: translateY(100%);
  }
  .modal.is-open .modal__panel { transform: none; }
  .modal__head { padding: var(--sp-4) var(--sp-5); }
  .modal__body { padding: var(--sp-5); }
  .modal__foot {
    padding: var(--sp-4) var(--sp-5) calc(var(--sp-4) + env(safe-area-inset-bottom));
  }
  .modal__foot .btn { flex: 1; }
}

/* ══════════════════════════════════════════════════════════════════
   灯箱
   ═══════════════════════════════════════════════════════════════════ */
.lightbox {
  position: fixed; inset: 0;
  z-index: var(--z-lightbox);
  display: flex; flex-direction: column;
  background: rgba(3,3,6,.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-base), visibility var(--dur-base);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__bar {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  padding-top: calc(var(--sp-4) + env(safe-area-inset-top));
  flex: 0 0 auto;
}
.lightbox__stage {
  flex: 1;
  display: grid; place-items: center;
  padding: 0 var(--sp-5) var(--sp-5);
  min-height: 0;
  position: relative;
}
.lightbox__img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xl);
  animation: popIn var(--dur-slow) var(--ease-out);
}
.lightbox__meta { flex: 0 0 auto; padding: 0 var(--sp-5) var(--sp-6); text-align: center; }
.lightbox__title { font-size: var(--fs-lg); font-weight: 800; }
.lightbox__desc { font-size: var(--fs-sm); color: var(--text-3); margin-top: 6px; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--glass-3);
  backdrop-filter: blur(var(--blur-md));
  -webkit-backdrop-filter: blur(var(--blur-md));
  border: 1px solid var(--stroke-2);
  color: var(--text-1);
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.lightbox__nav:hover { background: var(--glass-4); }
.lightbox__nav--prev { left: var(--sp-4); }
.lightbox__nav--next { right: var(--sp-4); }
.lightbox__counter {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-3);
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: var(--glass-2);
  border: 1px solid var(--stroke-1);
}
@media (max-width: 720px) {
  .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__nav--prev { left: var(--sp-2); }
  .lightbox__nav--next { right: var(--sp-2); }
}

/* ══════════════════════════════════════════════════════════════════
   空态 / 加载
   ═══════════════════════════════════════════════════════════════════ */
.empty {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-16) var(--sp-6);
  text-align: center;
  color: var(--text-3);
}
.empty__art {
  width: 76px; height: 76px;
  color: var(--text-4);
  opacity: .7;
  margin-bottom: var(--sp-2);
}
.empty__title { font-size: var(--fs-lg); font-weight: 800; color: var(--text-1); }
.empty__desc { font-size: var(--fs-sm); color: var(--text-3); max-width: 46ch; line-height: 1.7; }

.spinner {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.14);
  border-top-color: var(--red-500);
  animation: spinInfinity .8s linear infinite;
}
.loading-screen {
  position: fixed; inset: 0;
  z-index: 2000;
  display: grid; place-items: center;
  background: var(--ink-1000);
  transition: opacity var(--dur-slow), visibility var(--dur-slow);
}
.loading-screen.is-done { opacity: 0; visibility: hidden; }
.loading-screen__inner { display: flex; flex-direction: column; align-items: center; gap: var(--sp-5); }
.loading-screen__logo {
  width: 108px; height: 108px;
  border-radius: var(--r-xl);
  object-fit: cover;
  border: 1px solid var(--stroke-2);
  box-shadow: var(--shadow-xl);
  animation: popIn var(--dur-slower) var(--ease-out) both;
}
.loading-screen__bar {
  width: 160px; height: 2px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.09);
  overflow: hidden;
}
.loading-screen__bar span {
  display: block; height: 100%; width: 40%;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, transparent, var(--red-500), transparent);
  animation: shimmer 1.1s linear infinite;
  background-size: 220% 100%;
}

/* ══════════════════════════════════════════════════════════════════
   Toast
   ═══════════════════════════════════════════════════════════════════ */
.toast-host {
  position: fixed;
  left: 50%; bottom: calc(var(--sp-8) + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: var(--z-toast);
  display: flex; flex-direction: column-reverse;
  gap: var(--sp-2);
  align-items: center;
  pointer-events: none;
  width: min(92vw, 460px);
}
@media (max-width: 720px) {
  .toast-host { bottom: calc(var(--tabbar-h) + var(--sp-4) + env(safe-area-inset-bottom)); }
}
.toast {
  display: flex; align-items: center; gap: var(--sp-3);
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  background: linear-gradient(140deg, rgba(26,26,38,.94), rgba(14,14,22,.96));
  backdrop-filter: blur(var(--blur-lg)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--blur-lg)) saturate(160%);
  border: 1px solid var(--stroke-2);
  box-shadow: var(--shadow-lg), var(--shadow-inset-top);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-1);
  pointer-events: auto;
  animation: toastIn var(--dur-slow) var(--ease-spring);
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(18px) scale(.94); }
  to   { opacity: 1; transform: none; }
}
.toast.is-out { animation: toastOut var(--dur-base) var(--ease-out) forwards; }
@keyframes toastOut {
  to { opacity: 0; transform: translateY(10px) scale(.96); }
}
.toast__icon {
  width: 26px; height: 26px; flex: 0 0 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--glass-3);
}
.toast__icon svg { width: 15px; height: 15px; stroke-width: 2.4; }
.toast--success .toast__icon { background: rgba(24,160,96,.20); color: #4ADE93; }
.toast--error   .toast__icon { background: rgba(200,16,46,.20); color: var(--red-300); }
.toast--info    .toast__icon { background: rgba(74,144,196,.20); color: #7FC0EF; }

/* ══════════════════════════════════════════════════════════════════
   数据表（后台）
   ═══════════════════════════════════════════════════════════════════ */
.table-wrap {
  border-radius: var(--r-lg);
  border: 1px solid var(--stroke-1);
  background: var(--glass-1);
  overflow: hidden;
}
.table-scroll { overflow-x: auto; }
.data-table { min-width: 660px; font-size: var(--fs-sm); }
.data-table th {
  text-align: left;
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--text-4);
  background: rgba(255,255,255,.028);
  border-bottom: 1px solid var(--stroke-1);
  white-space: nowrap;
}
.data-table td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid rgba(255,255,255,.045);
  vertical-align: middle;
  color: var(--text-2);
}
.data-table tbody tr { transition: background var(--dur-fast); }
.data-table tbody tr:hover { background: rgba(255,255,255,.032); }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table .cell-title { color: var(--text-1); font-weight: 700; }
.data-table .cell-actions { display: flex; gap: 6px; justify-content: flex-end; }

/* ══════════════════════════════════════════════════════════════════
   提示条
   ═══════════════════════════════════════════════════════════════════ */
.notice {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  padding: var(--sp-4);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  line-height: 1.65;
  background: var(--glass-1);
  border: 1px solid var(--stroke-1);
  color: var(--text-2);
}
.notice svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; stroke-width: 1.9; }
.notice--red {
  background: rgba(200,16,46,.09);
  border-color: rgba(200,16,46,.28);
  color: #F6C9D1;
}
.notice--red svg { color: var(--red-400); }
.notice--warn {
  background: rgba(214,158,26,.09);
  border-color: rgba(214,158,26,.26);
  color: #F2DCA8;
}
.notice--warn svg { color: #E0B44A; }
.notice--info svg { color: #7FC0EF; }

/* ══════════════════════════════════════════════════════════════════
   「内容由社团管理端维护」这类只读说明      （v2.0.0 新增）
   ------------------------------------------------------------------
   社员端把「去管理后台添加」的按钮换成了这句话。
   刻意做得很轻 —— 它是说明，不是行动号召。
   ═══════════════════════════════════════════════════════════════════ */
.manage-note {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: var(--fs-xs);
  color: var(--text-3);
  background: rgba(255, 255, 255, .04);
  border: 1px dashed var(--stroke-1);
}
.manage-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px var(--sp-4);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  color: var(--text-2);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--stroke-1);
}
.manage-hint svg { width: 16px; height: 16px; flex: 0 0 16px; opacity: .7; }
