/* ============================================================
   钢. 侵权通报官方网站门户 — 液态玻璃视觉系统
   ============================================================ */

:root {
  --red: #e60012;
  --red-soft: #ff2d3f;
  --ink: #17171c;
  --ink-2: #565662;
  --ink-3: #8b8b99;
  --white: #ffffff;

  --glass-bg: linear-gradient(150deg, rgba(255, 255, 255, 0.74) 0%, rgba(255, 255, 255, 0.44) 48%, rgba(255, 255, 255, 0.3) 100%);
  --glass-bg-strong: linear-gradient(150deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.66) 55%, rgba(255, 255, 255, 0.52) 100%);
  --glass-border: rgba(255, 255, 255, 0.78);
  --glass-border-soft: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 22px 48px -24px rgba(58, 14, 30, 0.38), 0 6px 18px -12px rgba(58, 14, 30, 0.2);
  --glass-inner: inset 0 1px 0 rgba(255, 255, 255, 0.96), inset 0 -1px 0 rgba(255, 255, 255, 0.4),
    inset 0 0 26px rgba(255, 255, 255, 0.32);

  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --ease: cubic-bezier(0.22, 0.9, 0.24, 1);
  --topbar-h: 66px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro SC", "SF Pro Text", "PingFang SC",
    "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: #f2ecec;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-bottom: 116px;
}

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

button {
  font-family: inherit;
}

/* ------------------------------ 背景与光斑 ------------------------------ */

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 12% 0%, #fffdfb 0%, rgba(255, 253, 251, 0) 60%),
    radial-gradient(100% 80% at 92% 6%, #fdeef0 0%, rgba(253, 238, 240, 0) 55%),
    linear-gradient(180deg, #fbf7f4 0%, #f1eaec 46%, #eae4ea 100%);
}

.blob {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(58px);
  opacity: 0.55;
  animation: float 22s var(--ease) infinite alternate;
}

.blob-1 {
  width: 46vw;
  height: 46vw;
  left: -8vw;
  top: -10vw;
  background: radial-gradient(circle at 30% 30%, #ff5566, #ff9bb0 62%, rgba(255, 155, 176, 0) 72%);
}

.blob-2 {
  width: 40vw;
  height: 40vw;
  right: -10vw;
  top: 4vh;
  background: radial-gradient(circle at 60% 40%, #7aa8ff, #b7c9ff 60%, rgba(183, 201, 255, 0) 72%);
  animation-delay: -6s;
}

.blob-3 {
  width: 52vw;
  height: 52vw;
  left: 18vw;
  bottom: -24vw;
  background: radial-gradient(circle at 40% 40%, #ffd08a, #ffe6bf 58%, rgba(255, 230, 191, 0) 72%);
  animation-delay: -11s;
}

.blob-4 {
  width: 34vw;
  height: 34vw;
  right: 4vw;
  bottom: -8vw;
  background: radial-gradient(circle at 50% 50%, #c9a7ff, #e3d4ff 60%, rgba(227, 212, 255, 0) 72%);
  animation-delay: -3s;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: radial-gradient(rgba(120, 100, 110, 0.11) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
}

@keyframes float {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(2.5vw, 3vh, 0) scale(1.09);
  }
}

/* ------------------------------- 玻璃基础类 ------------------------------- */

.glass {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(34px) saturate(200%);
  -webkit-backdrop-filter: blur(34px) saturate(200%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-inner);
  border-radius: var(--radius-xl);
  isolation: isolate;
}

/* 顶部高光条，模拟玻璃棱边反光 */
.glass::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1.5px;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.95) 22%,
    rgba(255, 255, 255, 0.98) 50%,
    rgba(255, 255, 255, 0.95) 78%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* 左上角的镜面反光，让玻璃有「厚度」 */
.glass::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 62%;
  height: 58%;
  border-radius: inherit;
  background: radial-gradient(120% 120% at 8% 0%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 62%);
  pointer-events: none;
  z-index: 0;
}

.glass > * {
  position: relative;
  z-index: 1;
}

/* -------------------------------- 顶栏 -------------------------------- */

.topbar {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100vw - 24px));
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px 0 12px;
  z-index: 40;
  border-radius: 22px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.48));
  -webkit-backdrop-filter: blur(30px) saturate(190%);
  backdrop-filter: blur(30px) saturate(190%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 12px 34px -18px rgba(28, 12, 18, 0.4), var(--glass-inner);
}

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

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 6px 16px -8px rgba(230, 0, 18, 0.55), inset 0 0 0 1px rgba(230, 0, 18, 0.1);
  flex: 0 0 auto;
}

.brand-title {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-title b {
  color: var(--red);
  font-weight: 800;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--glass-border-soft);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink-2);
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.icon-btn:active {
  transform: scale(0.95);
}

.icon-btn.is-ringing {
  animation: ring 0.9s var(--ease);
}

@keyframes ring {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-12deg); }
  40% { transform: rotate(10deg); }
  60% { transform: rotate(-7deg); }
  80% { transform: rotate(4deg); }
}

.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ff3b4d, var(--red));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
  box-shadow: 0 3px 10px -2px rgba(230, 0, 18, 0.7);
}

.account-btn {
  height: 42px;
  padding: 0 17px;
  border-radius: 14px;
  border: 1px solid rgba(230, 0, 18, 0.16);
  background: linear-gradient(180deg, #ff3849, var(--red));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 20px -10px rgba(230, 0, 18, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease);
  white-space: nowrap;
  max-width: 168px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-btn:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.account-btn:active {
  transform: scale(0.97);
}

.account-btn.is-user {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border-color: var(--glass-border);
  box-shadow: 0 6px 16px -10px rgba(28, 12, 18, 0.4), inset 0 1px 0 #fff;
}

/* -------------------------------- 底栏 -------------------------------- */

.bottombar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(460px, calc(100vw - 28px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 7px;
  z-index: 40;
  border-radius: 24px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.5));
  -webkit-backdrop-filter: blur(30px) saturate(190%);
  backdrop-filter: blur(30px) saturate(190%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 16px 40px -18px rgba(28, 12, 18, 0.45), var(--glass-inner);
}

.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 4px 7px;
  border-radius: 18px;
  color: var(--ink-3);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: color 0.25s var(--ease), background 0.3s var(--ease), transform 0.25s var(--ease);
}

.tab svg {
  transition: transform 0.3s var(--ease);
}

.tab:hover {
  color: var(--ink-2);
}

.tab.active {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.72));
  box-shadow: 0 8px 20px -12px rgba(28, 12, 18, 0.5), inset 0 1px 0 #fff,
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.9);
}

.tab.active svg {
  transform: translateY(-1px) scale(1.04);
  color: var(--red);
}

/* -------------------------------- 布局 -------------------------------- */

.view {
  width: min(980px, calc(100vw - 28px));
  margin: 0 auto;
  padding-top: calc(var(--topbar-h) + 30px);
  animation: pageIn 0.5s var(--ease) both;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.section-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 34px 4px 16px;
}

.section-title h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.section-title span {
  font-size: 12.5px;
  color: var(--ink-3);
}

/* -------------------------------- 首页 -------------------------------- */

.hero {
  padding: 34px 30px 30px;
  text-align: center;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 70%;
  background: radial-gradient(60% 100% at 50% 0%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.hero-logo {
  width: 132px;
  height: 132px;
  margin: 0 auto 18px;
  display: block;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 24px 50px -24px rgba(230, 0, 18, 0.55), 0 2px 0 rgba(255, 255, 255, 0.9) inset;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(24px, 4.2vw, 33px);
  font-weight: 800;
  letter-spacing: -0.4px;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
}

.hero p {
  margin: 0 auto;
  max-width: 620px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.pill {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 12px -8px rgba(28, 12, 18, 0.4), inset 0 1px 0 #fff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.stat {
  padding: 20px 12px;
  text-align: center;
  border-radius: var(--radius-lg);
}

.stat b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.6px;
  font-variant-numeric: tabular-nums;
}

.stat span {
  font-size: 12px;
  color: var(--ink-3);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.info-card {
  padding: 22px 22px 24px;
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 50px -24px rgba(28, 12, 18, 0.42), var(--glass-inner);
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-card h3 i {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-size: 13px;
  font-style: normal;
  color: var(--red);
  background: rgba(230, 0, 18, 0.09);
}

.info-card p {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-2);
}

.info-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-2);
}

/* -------------------------------- 通报列表 -------------------------------- */

.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}

.search {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 2px rgba(28, 12, 18, 0.05);
}

.search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  color: var(--ink);
  font-family: inherit;
}

.search input::placeholder {
  color: var(--ink-3);
}

.chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.chip {
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.chip:hover {
  background: rgba(255, 255, 255, 0.85);
}

.chip.active {
  background: linear-gradient(180deg, #ff3849, var(--red));
  color: #fff;
  border-color: rgba(230, 0, 18, 0.3);
  box-shadow: 0 8px 18px -10px rgba(230, 0, 18, 0.9);
}

/* 通报卡片（液态玻璃 + 可展开） */
.notice {
  margin-bottom: 13px;
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
  overflow: hidden;
}

.notice:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 50px -26px rgba(28, 12, 18, 0.45), var(--glass-inner);
}

.notice.open {
  background: var(--glass-bg-strong);
  box-shadow: 0 30px 60px -28px rgba(28, 12, 18, 0.48), var(--glass-inner);
  transform: none;
  cursor: default;
}

.notice-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.notice-head h3 {
  margin: 0 0 7px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.2px;
}

.notice-summary {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notice.open .notice-summary {
  -webkit-line-clamp: unset;
  display: block;
}

.notice-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 13px;
  font-size: 12px;
  color: var(--ink-3);
}

.notice-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}

.cat {
  padding: 3px 9px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--red);
  background: rgba(230, 0, 18, 0.08);
  border: 1px solid rgba(230, 0, 18, 0.12);
}

/* AI 来源标识 */
.cat.ai {
  color: #4b3bb8;
  background: rgba(101, 78, 220, 0.1);
  border-color: rgba(101, 78, 220, 0.18);
}

.ai-note-chip {
  max-width: 260px;
  padding: 3px 9px;
  border-radius: 8px;
  font-size: 11.5px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 互斥勾选框 */
.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 #fff, 0 6px 16px -14px rgba(28, 12, 18, 0.6);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  user-select: none;
  transition: all 0.22s var(--ease);
}

.check:hover {
  background: #fff;
  color: var(--ink);
}

.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  margin: 0;
  border-radius: 5px;
  border: 1.5px solid rgba(23, 23, 28, 0.24);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  flex: 0 0 auto;
}

.check input:checked {
  border-color: var(--red);
  background: linear-gradient(180deg, #ff3849, var(--red));
}

.check input:checked::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

.check:has(input:checked) {
  color: var(--red);
  border-color: rgba(230, 0, 18, 0.28);
  background: rgba(255, 246, 247, 0.95);
  box-shadow: 0 8px 20px -16px rgba(230, 0, 18, 0.9), inset 0 1px 0 #fff;
}

.notice-toggle {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--red);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  transition: all 0.3s var(--ease);
}

.notice:hover .notice-toggle {
  background: #fff;
}

.notice-toggle svg {
  transition: transform 0.4s var(--ease);
}

.notice.open .notice-toggle svg {
  transform: rotate(180deg);
}

/* 展开区域：grid 0fr -> 1fr 平滑动画 */
.notice-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.55s var(--ease), opacity 0.4s var(--ease), margin-top 0.4s var(--ease);
  margin-top: 0;
}

.notice.open .notice-body {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 16px;
}

.notice-body > .inner {
  overflow: hidden;
  min-height: 0;
}

.article {
  padding-top: 16px;
  border-top: 1px solid rgba(23, 23, 28, 0.07);
  font-size: 14.5px;
  line-height: 2;
  color: #2c2c34;
  white-space: pre-wrap;
  word-break: break-word;
}

.attach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.attach-grid img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px -16px rgba(28, 12, 18, 0.6);
  cursor: zoom-in;
  transition: transform 0.3s var(--ease);
}

.attach-grid img:hover {
  transform: scale(1.03);
}

.attach-file {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  font-size: 12.5px;
  color: var(--ink-2);
  overflow: hidden;
}

.attach-file span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.load-more {
  width: 100%;
  margin-top: 6px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.load-more:hover {
  background: #fff;
  color: var(--ink);
}

.empty {
  padding: 56px 20px;
  text-align: center;
  color: var(--ink-3);
  font-size: 14px;
}

/* -------------------------------- 表单 -------------------------------- */

.card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.notice-banner {
  display: flex;
  gap: 12px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  background: linear-gradient(140deg, rgba(255, 241, 235, 0.92), rgba(255, 228, 224, 0.6));
  border: 1px solid rgba(255, 210, 200, 0.9);
  box-shadow: 0 14px 34px -22px rgba(230, 60, 30, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 13.5px;
  line-height: 1.8;
  color: #7a2f1a;
}

.notice-banner b {
  color: var(--red);
}

.notice-banner .ico {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(230, 0, 18, 0.1);
  color: var(--red);
  font-size: 15px;
}

.field {
  margin-bottom: 16px;
}

.field > label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink-2);
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 13px 15px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 2px rgba(28, 12, 18, 0.05);
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.input:focus,
.textarea:focus,
.select:focus {
  background: #fff;
  border-color: rgba(230, 0, 18, 0.4);
  box-shadow: 0 0 0 4px rgba(230, 0, 18, 0.1), inset 0 1px 2px rgba(28, 12, 18, 0.04);
}

.textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.8;
}

.counter {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.counter.over {
  color: var(--red);
  font-weight: 700;
}

.btn {
  height: 48px;
  padding: 0 26px;
  border-radius: 15px;
  border: 1px solid rgba(230, 0, 18, 0.18);
  background: linear-gradient(180deg, #ff3849, var(--red));
  color: #fff;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 14px 28px -14px rgba(230, 0, 18, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease);
}

.btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.985);
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 20px -16px rgba(28, 12, 18, 0.5), inset 0 1px 0 #fff;
}

.btn-block {
  width: 100%;
}

.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* 上传区 */
.dropzone {
  border: 1.5px dashed rgba(230, 0, 18, 0.28);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.dropzone:hover,
.dropzone.dragover {
  border-color: rgba(230, 0, 18, 0.6);
  background: rgba(255, 245, 245, 0.85);
}

.dropzone p {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--ink-3);
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px -14px rgba(28, 12, 18, 0.6);
  background: #fff;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb .rm {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 0;
  background: rgba(20, 20, 24, 0.6);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.thumb .fn {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 4px 6px;
  font-size: 10px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.62));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thumb.doc {
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--ink-2);
  padding: 8px;
  text-align: center;
}

/* -------------------------------- 模态框 -------------------------------- */

.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(30, 20, 26, 0.28);
  -webkit-backdrop-filter: blur(9px) saturate(120%);
  backdrop-filter: blur(9px) saturate(120%);
  animation: fadeIn 0.28s var(--ease);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  width: min(460px, 100%);
  max-height: min(86vh, 780px);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(34px) saturate(190%);
  backdrop-filter: blur(34px) saturate(190%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 40px 90px -30px rgba(28, 12, 18, 0.6), var(--glass-inner);
  animation: modalIn 0.42s var(--ease);
  overflow: hidden;
}

.modal.wide {
  width: min(760px, 100%);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 14px;
  flex: 0 0 auto;
}

.modal-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink-2);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.modal-close:hover {
  background: #fff;
  color: var(--ink);
}

.modal-body {
  padding: 0 22px 22px;
  overflow-y: auto;
  flex: 1 1 auto;
}

.modal-foot {
  padding: 0 22px 22px;
  flex: 0 0 auto;
}

.switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin-bottom: 18px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.switcher button {
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.28s var(--ease);
}

.switcher button.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 16px -10px rgba(28, 12, 18, 0.6), inset 0 1px 0 #fff;
}

/* 消息列表 */
.msg {
  padding: 15px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.85);
  transition: all 0.25s var(--ease);
}

.msg.unread {
  background: linear-gradient(140deg, rgba(255, 244, 245, 0.95), rgba(255, 255, 255, 0.7));
  border-color: rgba(230, 0, 18, 0.2);
  box-shadow: 0 12px 26px -20px rgba(230, 0, 18, 0.7);
}

.msg h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
}

.msg h4 .unread-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex: 0 0 auto;
}

.msg p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-2);
  white-space: pre-wrap;
}

.msg time {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--ink-3);
}

/* 管理面板 */
.admin-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 6px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.85);
  scrollbar-width: none;
}

.admin-tabs::-webkit-scrollbar {
  display: none;
}

.admin-tabs button {
  flex: 0 0 auto;
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s var(--ease);
}

.admin-tabs button.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 16px -12px rgba(28, 12, 18, 0.6);
}

.review-item {
  padding: 18px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.review-item h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
}

.review-item .content {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-2);
  white-space: pre-wrap;
  max-height: 220px;
  overflow: auto;
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(248, 246, 247, 0.9);
}

.status {
  padding: 3px 9px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
}

.status.pending { color: #a86100; background: rgba(255, 176, 32, 0.16); }
.status.approved, .status.resolved { color: #0a7a52; background: rgba(16, 185, 129, 0.15); }
.status.rejected { color: #a11; background: rgba(230, 0, 18, 0.12); }
.status.reviewing { color: #0b62c4; background: rgba(59, 130, 246, 0.14); }

/* Toast */
.toast-root {
  position: fixed;
  left: 50%;
  bottom: 102px;
  transform: translateX(-50%);
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  pointer-events: none;
}

.toast {
  padding: 12px 20px;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 40px -20px rgba(28, 12, 18, 0.6);
  animation: toastIn 0.35s var(--ease);
  max-width: min(440px, 88vw);
  text-align: center;
}

.toast.error {
  color: #8d0010;
  background: rgba(255, 238, 240, 0.96);
  border-color: rgba(230, 0, 18, 0.25);
}

.toast.success {
  color: #08543a;
  background: rgba(236, 253, 245, 0.96);
  border-color: rgba(16, 185, 129, 0.25);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* 图片查看器 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 26px;
  background: rgba(20, 12, 16, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: fadeIn 0.24s var(--ease);
  cursor: zoom-out;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 14px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}

.skeleton {
  height: 96px;
  border-radius: var(--radius-lg);
  margin-bottom: 13px;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.5) 30%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0.5) 70%);
  background-size: 220% 100%;
  animation: shimmer 1.3s linear infinite;
}

@keyframes shimmer {
  from { background-position: 120% 0; }
  to { background-position: -20% 0; }
}

.hint {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.7;
}

.field-error {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--red);
}

/* -------------------------------- 响应式 -------------------------------- */

@media (max-width: 720px) {
  :root {
    --topbar-h: 60px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .brand-title {
    font-size: 13.5px;
  }

  .hero {
    padding: 26px 18px 22px;
  }

  .hero-logo {
    width: 106px;
    height: 106px;
    border-radius: 26px;
  }

  .stats {
    gap: 8px;
  }

  .stat b {
    font-size: 21px;
  }

  .view {
    padding-top: calc(var(--topbar-h) + 22px);
  }

  .notice {
    padding: 17px 17px;
  }

  .notice-head h3 {
    font-size: 15.5px;
  }

  .bottombar {
    bottom: 10px;
  }
}

@media (max-width: 420px) {
  .brand-title {
    display: none;
  }

  .account-btn {
    padding: 0 13px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* -------------------------- 撤稿记录 / 封禁提示 -------------------------- */

.notice-deleted {
  opacity: 0.92;
  background: linear-gradient(150deg, rgba(246, 243, 244, 0.86), rgba(238, 234, 236, 0.62));
  cursor: default;
}

.notice-deleted:hover {
  transform: none;
  box-shadow: var(--glass-shadow), var(--glass-inner);
}

.notice-deleted h3 {
  color: var(--ink-2);
  text-decoration: line-through;
  text-decoration-color: rgba(23, 23, 28, 0.35);
}

.cat.del {
  color: #6b6b76;
  background: rgba(23, 23, 28, 0.08);
  border-color: rgba(23, 23, 28, 0.12);
}

.del-reason {
  margin-top: 12px;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.75;
  color: #6a3230;
  background: rgba(255, 238, 236, 0.85);
  border: 1px solid rgba(230, 0, 18, 0.14);
  white-space: pre-wrap;
}

.del-reason b {
  color: var(--red);
}

.ban-banner {
  margin-bottom: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  font-size: 13px;
  line-height: 1.8;
  color: #7a2f1a;
  background: linear-gradient(140deg, rgba(255, 236, 230, 0.95), rgba(255, 220, 214, 0.7));
  border: 1px solid rgba(255, 190, 175, 0.9);
  box-shadow: 0 14px 34px -24px rgba(230, 60, 30, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.ban-banner b {
  color: var(--red);
}

.cat.verifying {
  color: #9a5b00;
  background: rgba(255, 176, 32, 0.16);
  border-color: rgba(255, 176, 32, 0.28);
}
