/* =====================================================================
   list.css —— 栏目列表页补充样式
   （卡片网格主体在 base.css，这里放代表卡片、站点卡片等变体）
   ===================================================================== */

/* ---------------------------------------------------------------------
   代表卡片（3:4 竖版证件照）
   --------------------------------------------------------------------- */
.rep-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.rep-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid rgba(217, 164, 65, .68);
  background: linear-gradient(180deg, rgba(140, 30, 22, .9), rgba(96, 16, 12, .94));
  box-shadow: 0 8px 20px rgba(40, 6, 4, .36);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.rep-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-light);
  box-shadow: 0 16px 32px rgba(40, 6, 4, .5);
}
.rep-card:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }

.rep-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(160deg, #b0472f, #6e1512);
}
.rep-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
/* 无照片：姓氏色块 */
.rep-photo .initial {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "SimSun", serif;
  font-size: 56px;
  font-weight: 700;
  color: rgba(247, 220, 164, .62);
  background: linear-gradient(160deg, #a63a2b, #5f120f);
}

.rep-info { display: flex; flex-direction: column; gap: 3px; padding: 12px 13px 14px; }
.rep-name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}
.rep-meta { margin: 0; font-size: 13.5px; color: var(--text-dim); }
.rep-post {
  overflow: hidden;
  margin: 6px 0 0;
  padding-top: 7px;
  border-top: 1px dashed rgba(247, 220, 164, .28);
  color: var(--gold-light);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------------------------------------------------------------------
   站点卡片（基本情况）
   --------------------------------------------------------------------- */
.station-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.station-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid rgba(217, 164, 65, .7);
  background: linear-gradient(180deg, rgba(140, 30, 22, .9), rgba(92, 15, 11, .94));
  box-shadow: 0 10px 24px rgba(40, 6, 4, .38);
  transition: transform .2s ease, border-color .2s ease;
}
.station-card:hover { transform: translateY(-3px); border-color: var(--gold-light); }

.station-photo {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(150deg, #a63a2b, #5f120f);
}
.station-photo img { width: 100%; height: 100%; object-fit: cover; }
.station-photo .photo-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 8px;
  color: rgba(247, 220, 164, .55);
  font-family: "SimSun", serif;
  font-size: 40px;
}

.station-body { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 17px; }
.station-name { margin: 0 0 4px; font-size: 18px; font-weight: 700; color: #fff; }
.station-sub { margin: 0; font-size: 13.5px; color: var(--text-dim); }

.station-btn {
  flex: none;
  height: 36px;
  padding: 0 18px;
  border: 1px solid var(--gold);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(217, 164, 65, .9), rgba(176, 125, 31, .9));
  color: #4a0d0b;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: filter .18s ease, transform .18s ease;
}
.station-btn:hover { filter: brightness(1.12); transform: translateY(-1px); }

/* 站点详情弹窗内 */
.station-detail-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(247, 220, 164, .4);
  margin-bottom: 18px;
}
.station-detail-photo.fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #a63a2b, #5f120f);
  color: rgba(247, 220, 164, .5);
  font-family: "SimSun", serif;
  font-size: 42px;
}

.station-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.stat-box {
  padding: 14px;
  border: 1px solid rgba(247, 220, 164, .35);
  background: rgba(80, 12, 9, .5);
  text-align: center;
}
.stat-box b {
  display: block;
  color: var(--gold-light);
  font-family: "Bahnschrift", "DIN Alternate", sans-serif;
  font-size: 27px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.stat-box span { color: var(--text-dim); font-size: 13px; }

.station-desc {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: rgba(80, 12, 9, .45);
  color: var(--text-on-red);
  font-size: 15px;
  line-height: 1.85;
}

.station-reps-title {
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(247, 220, 164, .3);
  color: var(--gold-light);
  font-size: 15px;
}

.station-rep-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.station-rep-chips span {
  padding: 5px 13px;
  border: 1px solid rgba(247, 220, 164, .35);
  border-radius: 13px;
  background: rgba(140, 30, 22, .6);
  color: var(--text-on-red);
  font-size: 13.5px;
}

/* ---------------------------------------------------------------------
   云会议列表
   --------------------------------------------------------------------- */
.meeting-list { display: flex; flex-direction: column; gap: 16px; }

.meeting-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border: 2px solid rgba(217, 164, 65, .55);
  background: linear-gradient(90deg, rgba(140, 30, 22, .9), rgba(96, 16, 12, .92));
  box-shadow: 0 6px 18px rgba(40, 6, 4, .32);
  transition: border-color .18s ease, transform .18s ease;
}
.meeting-row:hover { border-color: var(--gold-light); transform: translateX(3px); }

.meeting-status {
  flex: none;
  width: 92px;
  padding: 6px 0;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.meeting-status.live {
  background: linear-gradient(180deg, #ff7a5c, #d13a24);
  color: #fff;
  animation: live-pulse 1.8s ease-in-out infinite;
}
.meeting-status.done { border: 1px solid rgba(247, 220, 164, .35); color: var(--text-dim); }
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 122, 92, .55); }
  50% { box-shadow: 0 0 0 9px rgba(255, 122, 92, 0); }
}

.meeting-info { flex: 1 1 auto; min-width: 0; }
.meeting-info h4 { margin: 0 0 5px; font-size: 19px; color: #fff; }
.meeting-info p { margin: 0; color: var(--text-dim); font-size: 14px; }

.meeting-join {
  flex: none;
  height: 42px;
  padding: 0 24px;
  border: 0;
  border-radius: 21px;
  background: linear-gradient(180deg, #ff8a5c, #d13a24);
  color: #fff;
  font-size: 15.5px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(209, 58, 36, .45);
}
.meeting-join:hover { filter: brightness(1.1); }
.meeting-join:disabled {
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .45);
  box-shadow: none;
  cursor: not-allowed;
}

/* ---------------------------------------------------------------------
   模拟会议室
   --------------------------------------------------------------------- */
.room-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
}

.room-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(217, 164, 65, .6);
  background:
    radial-gradient(60% 60% at 50% 40%, rgba(180, 60, 40, .5), transparent 72%),
    linear-gradient(160deg, #3a0c09, #1e0504);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, .5);
}
.room-stage .room-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--text-dim);
  text-align: center;
}
.room-stage .room-placeholder .avatar-lg {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border: 2px solid rgba(247, 220, 164, .5);
  border-radius: 50%;
  background: linear-gradient(160deg, #a63a2b, #5f120f);
  color: var(--gold-light);
  font-family: "SimSun", serif;
  font-size: 34px;
}
.room-stage .room-placeholder b { color: #fff; font-size: 20px; }
.room-stage .room-placeholder small { color: rgba(232, 207, 168, .7); font-size: 13.5px; }

.room-tile {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 168px;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 220, 164, .4);
  background: rgba(40, 8, 6, .7);
  color: rgba(247, 220, 164, .6);
  font-size: 13px;
}

.room-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.room-side h4 { margin: 0; color: var(--gold-light); font-size: 15px; letter-spacing: 1px; }
.room-side ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.room-side li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(247, 220, 164, .25);
  background: rgba(80, 12, 9, .45);
  color: var(--text-on-red);
  font-size: 14px;
}
.room-side li .dot {
  width: 7px; height: 7px; flex: none;
  border-radius: 50%;
  background: #46d68a;
}

.room-controls {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(247, 220, 164, .22);
}
.room-controls button {
  flex: 1;
  height: 42px;
  border: 1px solid rgba(247, 220, 164, .4);
  border-radius: 21px;
  background: rgba(80, 12, 9, .6);
  color: var(--gold-light);
  font-size: 14.5px;
}
.room-controls button:hover { background: rgba(150, 26, 20, .85); border-color: var(--gold-light); }
.room-controls button[aria-pressed="false"] { opacity: .45; }
.room-controls .leave {
  border-color: #d13a24;
  background: linear-gradient(180deg, #e8563c, #b83218);
  color: #fff;
  font-weight: 700;
}

/* 响应式 */
@media (max-width: 1400px) {
  .rep-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .station-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .rep-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .station-grid { grid-template-columns: 1fr; }
  .room-wrap { grid-template-columns: 1fr; }
}

/* =====================================================================
   条文列表（法律法规 / 人大制度）
   法规没有配图，改用"文号 + 标题 + 摘要 + 日期"的条目式布局
   ===================================================================== */
.docket-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: docket;
}

.docket {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  border: 1px solid rgba(217, 164, 65, .45);
  border-left: 4px solid rgba(255, 190, 110, .85);
  background: linear-gradient(100deg, rgba(140, 30, 22, .82), rgba(96, 16, 12, .88));
  box-shadow: 0 6px 18px rgba(40, 6, 4, .3);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
  counter-increment: docket;
}
.docket:hover {
  transform: translateX(5px);
  border-color: rgba(255, 220, 160, .85);
  border-left-color: #ffd98a;
  box-shadow: 0 10px 26px rgba(40, 6, 4, .45), 0 0 24px rgba(255, 170, 90, .25);
}
.docket:focus-visible { outline: 3px solid #ffe9c4; outline-offset: 3px; }

/* 左侧"法"字印章 */
.docket-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 214, 150, .55);
  border-radius: 8px;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 210, 150, .35), transparent 68%),
    linear-gradient(150deg, #c33a24, #8e1b10);
  color: #ffe9c4;
  font-family: "SimSun", "Songti SC", serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: inset 0 0 14px rgba(255, 180, 110, .3), 0 0 14px rgba(255, 150, 80, .2);
}

.docket-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.docket-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}
.docket-code {
  flex: none;
  padding: 1px 8px;
  border: 1px solid rgba(255, 214, 160, .4);
  border-radius: 3px;
  color: rgba(255, 226, 175, .9);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12.5px;
  letter-spacing: .04em;
}
.docket-title {
  overflow: hidden;
  color: #fff;
  font-family: "SimHei", "Microsoft YaHei", sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .02em;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 2px 6px rgba(60, 8, 6, .6);
}
.docket:hover .docket-title { color: #fff4d8; }

.docket-desc {
  overflow: hidden;
  color: rgba(240, 214, 180, .82);
  font-size: 14px;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docket-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(232, 200, 160, .62);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.docket-meta .dot { color: rgba(255, 200, 140, .35); }

.docket-arrow {
  flex: none;
  color: rgba(255, 200, 140, .5);
  font-size: 26px;
  line-height: 1;
  transition: color .2s ease, transform .2s ease;
}
.docket:hover .docket-arrow { color: #ffe9c4; transform: translateX(4px); }

/* =====================================================================
   通知列表（通知公告）
   ===================================================================== */
.notice-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notice-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 22px;
  border: 1px solid rgba(217, 164, 65, .3);
  background: rgba(120, 24, 18, .6);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.notice-item:hover {
  border-color: rgba(255, 220, 160, .7);
  background: rgba(150, 34, 24, .78);
  transform: translateX(4px);
}
.notice-item:focus-visible { outline: 3px solid #ffe9c4; outline-offset: 3px; }

.notice-bullet {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffce7a;
  box-shadow: 0 0 10px rgba(255, 190, 110, .9);
}

.notice-title {
  flex: 1 1 auto;
  overflow: hidden;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notice-item:hover .notice-title { color: #fff4d8; }

.notice-date {
  flex: none;
  color: rgba(232, 200, 160, .7);
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}

/* 窄屏适配 */
@media (max-width: 900px) {
  .docket { padding: 15px 16px; gap: 13px; }
  .docket-mark { width: 44px; height: 44px; font-size: 21px; }
  .docket-title { font-size: 16.5px; }
  .docket-desc { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .notice-item { padding: 14px 16px; }
  .notice-title { font-size: 15px; white-space: normal; }
}
/* =====================================================================
   站点卡片：整体可点击查看照片
   ===================================================================== */
.station-card {
  cursor: pointer;
  position: relative;
}
.station-card:focus-visible { outline: 3px solid #ffe9c4; outline-offset: 3px; }

/* 照片区：悬停时浮出"点击查看照片"提示 */
.station-photo { position: relative; }
.station-photo img { transition: transform .35s ease, filter .35s ease; }
.station-card:hover .station-photo img { transform: scale(1.04); filter: brightness(1.05); }

/* 照片数量角标 */
.station-photo-count {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 3px 10px;
  border: 1px solid rgba(255, 235, 190, .8);
  border-radius: 12px;
  background: rgba(74, 12, 9, .72);
  color: #ffe9c4;
  font-size: 12.5px;
  letter-spacing: .06em;
  backdrop-filter: blur(3px);
}

/* 悬停提示条 */
.station-photo-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(50, 8, 6, .82));
  color: #ffe9c4;
  font-size: 13.5px;
  letter-spacing: .1em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .28s ease, transform .28s ease;
  pointer-events: none;
}
.station-card:hover .station-photo-hint,
.station-card:focus-visible .station-photo-hint { opacity: 1; transform: none; }

/* =====================================================================
   站点照片图集弹窗
   ===================================================================== */
.gallery { display: flex; flex-direction: column; gap: 14px; }

.gallery-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 214, 160, .45);
  background: #2a0806;
}
.gallery-main { width: 100%; height: 100%; object-fit: contain; background: #1e0504; }

/* 左右切换 */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 220, 170, .55);
  border-radius: 50%;
  background: rgba(50, 8, 6, .6);
  color: #ffe9c4;
  font-size: 22px;
  line-height: 1;
  backdrop-filter: blur(3px);
  transition: background-color .18s ease, border-color .18s ease;
}
.gallery-nav:hover { background: rgba(170, 34, 22, .85); border-color: #fff3d8; }
.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }
.gallery-nav:focus-visible { outline: 3px solid #ffe9c4; outline-offset: 2px; }

/* 页码 */
.gallery-index {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 2px 10px;
  border-radius: 11px;
  background: rgba(50, 8, 6, .7);
  color: #ffe9c4;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}

/* 缩略图条 */
.gallery-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.gallery-thumb {
  width: 88px;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 2px solid rgba(255, 214, 160, .3);
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  opacity: .7;
  transition: opacity .18s ease, border-color .18s ease, transform .18s ease;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover { opacity: 1; transform: translateY(-2px); }
.gallery-thumb.is-active {
  border-color: #ffe9c4;
  opacity: 1;
  box-shadow: 0 0 14px rgba(255, 190, 110, .6);
}
.gallery-thumb:focus-visible { outline: 2px solid #ffe9c4; outline-offset: 2px; }

/* 照片下方元信息 */
.gallery-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: rgba(232, 200, 160, .8);
  font-size: 13.5px;
}
.gallery-meta .dot { color: rgba(255, 200, 140, .4); }

@media (max-width: 700px) {
  .gallery-thumb { width: 64px; }
  .gallery-nav { width: 36px; height: 36px; font-size: 19px; }
}