/* ============================================================
   今日大赛每日吃瓜 - Caution Warning Tape Gossip Theme
   Industrial caution style: yellow/black stripes, sticky notes,
   alert badges, bold industrial typography
   ============================================================ */

:root {
  --black: #1a1a1a;
  --yellow: #ffd700;
  --yellow-deep: #f5c400;
  --white: #ffffff;
  --red: #ff1744;
  --green: #00e676;
  --gray-light: #f5f5f5;
  --gray-mid: #999999;
  --gray-dark: #4a4a4a;
  --paper: #fffdf0;
  --stripe-angle: 45deg;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Arial Black", "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--gray-light);
  background-image:
    repeating-linear-gradient(
      var(--stripe-angle),
      var(--yellow) 0,
      var(--yellow) 40px,
      var(--black) 40px,
      var(--black) 80px
    );
  background-size: 113px 113px;
  background-attachment: fixed;
  color: var(--black);
  line-height: 1.5;
  min-height: 100vh;
}

/* Main wrap sits above the stripe backdrop */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--gray-light);
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
  position: relative;
}

/* ---------- Caution tape banner ---------- */
.caution-tape {
  background-image: repeating-linear-gradient(
    var(--stripe-angle),
    var(--yellow) 0,
    var(--yellow) 30px,
    var(--black) 30px,
    var(--black) 60px
  );
  padding: 10px 0;
  text-align: center;
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--black);
  font-weight: 900;
  border-top: 4px solid var(--black);
  border-bottom: 4px solid var(--black);
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
}
.caution-tape span {
  background: var(--yellow);
  padding: 2px 10px;
  margin: 0 12px;
  border: 2px solid var(--black);
}
.caution-tape .tape-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--black);
}

/* ---------- Header ---------- */
.site-header {
  background: var(--black);
  color: var(--yellow);
  padding: 24px 24px 0;
  border-bottom: 6px solid var(--yellow);
  position: relative;
}
.site-header::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 6px;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0,
    var(--yellow) 12px,
    var(--black) 12px,
    var(--black) 24px
  );
}
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
}
.logo {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo .logo-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 22px;
  padding: 4px 10px;
  border: 3px solid var(--yellow);
  transform: rotate(-4deg);
  box-shadow: 3px 3px 0 var(--yellow);
}
.logo .logo-sub {
  font-size: 14px;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 6px;
  border-left: 3px solid var(--yellow);
  padding-left: 10px;
}
.header-meta {
  font-size: 13px;
  color: var(--white);
  font-weight: 700;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.header-meta a {
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 2px dashed transparent;
}
.header-meta a:hover {
  border-bottom-color: var(--yellow);
}
.header-meta .alert-blink {
  background: var(--red);
  color: var(--white);
  padding: 3px 8px;
  border: 2px solid var(--yellow);
  animation: blink 1.4s steps(2, start) infinite;
}
@keyframes blink {
  50% { opacity: 0.35; }
}

/* ---------- Navigation ---------- */
.main-nav {
  background: var(--yellow);
  border-top: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
}
.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}
.main-nav li {
  flex: 1;
  min-width: 110px;
}
.main-nav a {
  display: block;
  text-align: center;
  padding: 14px 8px;
  color: var(--black);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 1px;
  border-right: 2px solid var(--black);
  transition: background 0.15s, color 0.15s;
  font-size: 15px;
}
.main-nav li:last-child a { border-right: none; }
.main-nav a:hover {
  background: var(--black);
  color: var(--yellow);
}
.main-nav a.active {
  background: var(--red);
  color: var(--white);
  position: relative;
}
.main-nav a.active::after {
  content: "!";
  position: absolute;
  top: 2px; right: 6px;
  background: var(--yellow);
  color: var(--black);
  font-size: 11px;
  width: 14px; height: 14px;
  line-height: 14px;
  border-radius: 50%;
  border: 2px solid var(--black);
}

/* ---------- Layout containers ---------- */
.container {
  padding: 28px 24px;
}
.section {
  margin-bottom: 36px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--black);
  margin-bottom: 18px;
  position: relative;
  padding-left: 8px;
}
.section-title::before {
  content: "▶";
  color: var(--red);
  font-size: 18px;
}
.section-title .stripe-tag {
  background: var(--black);
  color: var(--yellow);
  font-size: 12px;
  padding: 3px 10px;
  letter-spacing: 3px;
  margin-left: auto;
  border: 2px solid var(--black);
}
.section-title .stripe-tag.red {
  background: var(--red);
  color: var(--white);
}

.grid {
  display: grid;
  gap: 20px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Sticky note card ---------- */
.sticky {
  background: var(--paper);
  padding: 18px 18px 16px;
  position: relative;
  box-shadow: 3px 4px 10px rgba(0,0,0,0.25);
  border: 1px solid rgba(0,0,0,0.1);
  transition: transform 0.18s, box-shadow 0.18s;
}
.sticky:nth-child(3n+1) { transform: rotate(-1.2deg); }
.sticky:nth-child(3n+2) { transform: rotate(0.8deg); }
.sticky:nth-child(3n+3) { transform: rotate(-0.6deg); }
.sticky:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 6px 8px 16px rgba(0,0,0,0.3);
  z-index: 5;
}
.sticky::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 16px;
  background: rgba(255,215,0,0.7);
  border: 1px solid rgba(0,0,0,0.15);
  box-shadow: 0 2px 3px rgba(0,0,0,0.2);
}
.sticky.tilt-l { transform: rotate(-2deg); }
.sticky.tilt-r { transform: rotate(2deg); }

.sticky-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px dashed var(--gray-mid);
}
.sticky-title {
  font-size: 17px;
  font-weight: 900;
  color: var(--black);
}
.sticky-body {
  font-size: 14px;
  color: var(--gray-dark);
  line-height: 1.7;
  font-weight: 400;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}
.sticky-foot {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--gray-mid);
}

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  border: 2px solid var(--black);
  text-transform: uppercase;
}
.badge-low { background: var(--green); color: var(--black); }
.badge-mid { background: var(--yellow); color: var(--black); }
.badge-high { background: var(--red); color: var(--white); }
.badge-dev { background: var(--black); color: var(--yellow); }
.badge-confirm { background: var(--green); color: var(--black); }
.badge-clarify { background: var(--gray-mid); color: var(--white); }
.badge-new {
  background: var(--red);
  color: var(--white);
  animation: blink 1.4s steps(2, start) infinite;
}

/* Exclamation alert icon block */
.alert-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: var(--yellow);
  color: var(--black);
  border: 3px solid var(--black);
  font-weight: 900;
  font-size: 18px;
  border-radius: 50%;
  flex-shrink: 0;
}
.alert-icon.red { background: var(--red); color: var(--white); }
.alert-icon.green { background: var(--green); color: var(--black); }

/* ---------- Featured alert block ---------- */
.feature-alert {
  background: var(--black);
  color: var(--white);
  border: 4px solid var(--yellow);
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.feature-alert::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 12px;
  background-image: repeating-linear-gradient(
    45deg,
    var(--yellow) 0,
    var(--yellow) 16px,
    var(--black) 16px,
    var(--black) 32px
  );
}
.feature-alert::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 12px;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0,
    var(--yellow) 16px,
    var(--black) 16px,
    var(--black) 32px
  );
}
.feature-alert-inner {
  padding-top: 14px;
  padding-bottom: 14px;
}
.feature-alert .fa-label {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 4px 12px;
  font-size: 13px;
  letter-spacing: 3px;
  font-weight: 900;
  border: 2px solid var(--yellow);
  margin-bottom: 12px;
}
.feature-alert h2 {
  font-size: 26px;
  color: var(--yellow);
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.feature-alert p {
  color: var(--white);
  font-size: 15px;
  line-height: 1.7;
  font-family: "PingFang SC", sans-serif;
  font-weight: 400;
  max-width: 80ch;
}
.feature-alert .fa-foot {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 900;
  letter-spacing: 1px;
  text-decoration: none;
  border: 3px solid var(--black);
  box-shadow: 3px 3px 0 var(--black);
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
}
.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--black);
}
.btn-red { background: var(--red); color: var(--white); }
.btn-black { background: var(--black); color: var(--yellow); }
.btn-green { background: var(--green); color: var(--black); }

/* ---------- Chigua meter (吃瓜指数) ---------- */
.meter {
  background: var(--white);
  border: 3px solid var(--black);
  padding: 18px;
  position: relative;
}
.meter::before {
  content: "";
  position: absolute;
  top: -3px; left: -3px; right: -3px;
  height: 10px;
  background-image: repeating-linear-gradient(
    45deg,
    var(--yellow) 0,
    var(--yellow) 12px,
    var(--black) 12px,
    var(--black) 24px
  );
  border: 3px solid var(--black);
}
.meter-head {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.meter-title {
  font-size: 18px;
  font-weight: 900;
}
.meter-value {
  font-size: 36px;
  font-weight: 900;
  color: var(--red);
}
.meter-bar {
  height: 24px;
  background: var(--gray-light);
  border: 2px solid var(--black);
  position: relative;
  overflow: hidden;
}
.meter-fill {
  height: 100%;
  background-image: repeating-linear-gradient(
    45deg,
    var(--red) 0,
    var(--red) 12px,
    var(--yellow) 12px,
    var(--yellow) 24px
  );
  border-right: 3px solid var(--black);
}
.meter-scale {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--gray-dark);
  margin-top: 6px;
  font-weight: 700;
}

/* ---------- Daily digest list ---------- */
.digest {
  background: var(--white);
  border: 3px solid var(--black);
}
.digest-item {
  display: flex;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 2px dashed var(--gray-mid);
  align-items: flex-start;
}
.digest-item:last-child { border-bottom: none; }
.digest-item:hover { background: var(--paper); }
.digest-time {
  font-weight: 900;
  color: var(--red);
  font-size: 14px;
  min-width: 60px;
  border-right: 2px solid var(--black);
  padding-right: 12px;
}
.digest-text {
  font-size: 14px;
  color: var(--gray-dark);
  font-family: "PingFang SC", sans-serif;
  font-weight: 400;
  line-height: 1.6;
}
.digest-text strong { color: var(--black); font-weight: 900; }

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 30px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 10px; top: 0; bottom: 0;
  width: 4px;
  background-image: repeating-linear-gradient(
    0deg,
    var(--yellow) 0,
    var(--yellow) 12px,
    var(--black) 12px,
    var(--black) 24px
  );
}
.tl-item {
  position: relative;
  margin-bottom: 22px;
  background: var(--paper);
  padding: 14px 16px;
  border: 2px solid var(--black);
  box-shadow: 3px 3px 0 var(--black);
}
.tl-item::before {
  content: "";
  position: absolute;
  left: -24px; top: 18px;
  width: 14px; height: 14px;
  background: var(--yellow);
  border: 3px solid var(--black);
  border-radius: 50%;
}
.tl-item.high::before { background: var(--red); }
.tl-item.low::before { background: var(--green); }
.tl-time {
  font-size: 12px;
  color: var(--gray-mid);
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.tl-title {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 6px;
}
.tl-body {
  font-size: 13px;
  color: var(--gray-dark);
  font-family: "PingFang SC", sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

/* ---------- Date selector ---------- */
.date-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  background: var(--white);
  border: 3px solid var(--black);
  padding: 12px;
}
.date-selector .ds-label {
  font-weight: 900;
  letter-spacing: 2px;
  align-self: center;
  margin-right: 8px;
}
.date-chip {
  padding: 6px 12px;
  border: 2px solid var(--black);
  background: var(--gray-light);
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  color: var(--black);
}
.date-chip:hover { background: var(--yellow); }
.date-chip.active { background: var(--red); color: var(--white); }

/* ---------- Alert feed (alerts.html) ---------- */
.alert-feed {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.alert-card {
  background: var(--white);
  border-left: 8px solid var(--red);
  border-top: 2px solid var(--black);
  border-right: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  position: relative;
}
.alert-card.mid { border-left-color: var(--yellow); }
.alert-card.low { border-left-color: var(--green); }
.alert-card .ac-icon {
  width: 40px; height: 40px;
  background: var(--red);
  color: var(--white);
  border: 3px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  flex-shrink: 0;
}
.alert-card.mid .ac-icon { background: var(--yellow); color: var(--black); }
.alert-card.low .ac-icon { background: var(--green); color: var(--black); }
.alert-card .ac-body { flex: 1; }
.alert-card .ac-title {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 4px;
}
.alert-card .ac-text {
  font-size: 14px;
  color: var(--gray-dark);
  font-family: "PingFang SC", sans-serif;
  font-weight: 400;
  line-height: 1.6;
}
.alert-card .ac-meta {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--gray-mid);
  font-weight: 700;
}

/* ---------- Category filters ---------- */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding: 14px;
  background: var(--black);
  border: 3px solid var(--yellow);
}
.filters .f-label {
  color: var(--yellow);
  font-weight: 900;
  letter-spacing: 2px;
  align-self: center;
  margin-right: 8px;
}
.filter-chip {
  padding: 6px 12px;
  background: var(--yellow);
  color: var(--black);
  border: 2px solid var(--yellow);
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
}
.filter-chip:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.filter-chip.active { background: var(--red); color: var(--white); border-color: var(--yellow); }

/* ---------- Ranking ---------- */
.rank-list {
  background: var(--white);
  border: 3px solid var(--black);
}
.rank-row {
  display: grid;
  grid-template-columns: 50px 1fr 140px 80px;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 2px solid var(--gray-light);
}
.rank-row:last-child { border-bottom: none; }
.rank-row:hover { background: var(--paper); }
.rank-num {
  font-size: 22px;
  font-weight: 900;
  text-align: center;
  color: var(--gray-mid);
}
.rank-row.top-1 .rank-num { color: var(--red); }
.rank-row.top-2 .rank-num { color: var(--black); }
.rank-row.top-3 .rank-num { color: var(--yellow-deep); }
.rank-row.top-1, .rank-row.top-2, .rank-row.top-3 {
  background: var(--paper);
}
.rank-topic {
  font-size: 15px;
  font-weight: 900;
}
.rank-topic .rt-tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 6px;
  background: var(--gray-light);
  color: var(--gray-dark);
  margin-left: 6px;
  border: 1px solid var(--gray-mid);
  font-weight: 700;
}
.rank-heat {
  display: flex;
  align-items: center;
  gap: 8px;
}
.heat-bar {
  flex: 1;
  height: 14px;
  background: var(--gray-light);
  border: 1px solid var(--black);
  position: relative;
  overflow: hidden;
}
.heat-fill {
  height: 100%;
  background-image: repeating-linear-gradient(
    45deg,
    var(--red) 0,
    var(--red) 8px,
    var(--yellow) 8px,
    var(--yellow) 16px
  );
}
.heat-val {
  font-size: 12px;
  font-weight: 900;
  color: var(--red);
  min-width: 36px;
  text-align: right;
}
.rank-trend {
  text-align: center;
  font-weight: 900;
  font-size: 14px;
}
.rank-trend.up { color: var(--red); }
.rank-trend.down { color: var(--green); }
.rank-trend.flat { color: var(--gray-mid); }
@media (max-width: 600px) {
  .rank-row { grid-template-columns: 40px 1fr 70px; }
  .rank-trend { display: none; }
}

/* ---------- Archive ---------- */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .archive-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .archive-grid { grid-template-columns: 1fr; } }
.archive-card {
  background: var(--paper);
  border: 3px solid var(--black);
  padding: 18px;
  text-align: center;
  text-decoration: none;
  color: var(--black);
  position: relative;
  box-shadow: 4px 4px 0 var(--black);
  transition: transform 0.12s;
}
.archive-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--red);
}
.archive-card .ac-month {
  font-size: 28px;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 4px;
}
.archive-card .ac-year {
  font-size: 13px;
  color: var(--gray-mid);
  letter-spacing: 2px;
  font-weight: 900;
}
.archive-card .ac-count {
  margin-top: 10px;
  font-size: 12px;
  background: var(--black);
  color: var(--yellow);
  display: inline-block;
  padding: 3px 8px;
  border: 2px solid var(--black);
}

.search-box {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border: 3px solid var(--black);
  background: var(--white);
}
.search-box input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  font-size: 15px;
  font-family: "PingFang SC", sans-serif;
  font-weight: 700;
  outline: none;
}
.search-box button {
  padding: 12px 22px;
  background: var(--yellow);
  color: var(--black);
  border: none;
  border-left: 3px solid var(--black);
  font-weight: 900;
  letter-spacing: 2px;
  cursor: pointer;
}
.search-box button:hover { background: var(--red); color: var(--white); }

/* On this day */
.onthisday {
  background: var(--black);
  color: var(--yellow);
  border: 4px solid var(--yellow);
  padding: 20px;
  position: relative;
}
.onthisday::before {
  content: "那年今日";
  position: absolute;
  top: -14px; left: 18px;
  background: var(--red);
  color: var(--white);
  padding: 4px 12px;
  font-size: 13px;
  letter-spacing: 3px;
  font-weight: 900;
  border: 2px solid var(--yellow);
}
.onthisday h3 {
  font-size: 18px;
  margin: 8px 0 12px;
  color: var(--white);
}
.onthisday ul {
  list-style: none;
}
.onthisday li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--gray-dark);
  font-size: 14px;
  color: var(--white);
  font-family: "PingFang SC", sans-serif;
  font-weight: 400;
}
.onthisday li:last-child { border-bottom: none; }
.onthisday li .otd-year {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-weight: 900;
  padding: 1px 6px;
  margin-right: 8px;
  font-size: 12px;
}

/* ---------- Tracker / Evidence board ---------- */
.evidence-board {
  background: var(--paper);
  border: 4px solid var(--black);
  padding: 24px;
  position: relative;
  background-image:
    linear-gradient(var(--gray-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-light) 1px, transparent 1px);
  background-size: 24px 24px;
}
.ev-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 800px) { .ev-cards { grid-template-columns: 1fr; } }
.ev-pin {
  background: var(--white);
  border: 2px solid var(--black);
  padding: 14px;
  position: relative;
  box-shadow: 3px 4px 8px rgba(0,0,0,0.2);
}
.ev-pin::before {
  content: "";
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 14px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--black);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.ev-pin.yellow::before { background: var(--yellow); }
.ev-pin.green::before { background: var(--green); }
.ev-pin h4 {
  font-size: 15px;
  margin-bottom: 6px;
  margin-top: 4px;
}
.ev-pin p {
  font-size: 13px;
  color: var(--gray-dark);
  font-family: "PingFang SC", sans-serif;
  font-weight: 400;
  line-height: 1.6;
}
.ev-pin .ev-string {
  position: absolute;
  bottom: -22px;
  right: 10px;
  width: 60px;
  height: 22px;
  border-bottom: 2px solid var(--black);
  border-left: 2px solid var(--black);
  border-bottom-left-radius: 20px;
}

/* Status indicators */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 2px solid var(--black);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
}
.status-pill .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid var(--black);
}
.status-dev { background: var(--yellow); }
.status-dev .dot { background: var(--red); animation: blink 1.4s steps(2,start) infinite; }
.status-confirm { background: var(--green); }
.status-confirm .dot { background: var(--white); }
.status-clarify { background: var(--gray-mid); color: var(--white); }
.status-clarify .dot { background: var(--white); }

/* Event tracker timeline (horizontal-ish) */
.tracker-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tracker-step {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-left: 4px solid var(--black);
  padding-left: 18px;
  margin-left: 14px;
  position: relative;
}
.tracker-step::before {
  content: "";
  position: absolute;
  left: -12px; top: 22px;
  width: 20px; height: 20px;
  background: var(--yellow);
  border: 3px solid var(--black);
  border-radius: 50%;
}
.tracker-step.done::before { background: var(--green); }
.tracker-step.now::before {
  background: var(--red);
  animation: blink 1.2s steps(2,start) infinite;
}
.tracker-step .ts-date {
  font-size: 12px;
  color: var(--gray-mid);
  font-weight: 900;
  min-width: 90px;
}
.tracker-step .ts-body {
  flex: 1;
}
.tracker-step .ts-title {
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 4px;
}
.tracker-step .ts-text {
  font-size: 13px;
  color: var(--gray-dark);
  font-family: "PingFang SC", sans-serif;
  font-weight: 400;
}

/* ---------- About page ---------- */
.mission-box {
  background: var(--white);
  border: 4px solid var(--black);
  padding: 28px;
  position: relative;
}
.mission-box::before {
  content: "使命";
  position: absolute;
  top: -16px; left: 24px;
  background: var(--red);
  color: var(--white);
  padding: 5px 14px;
  font-weight: 900;
  letter-spacing: 4px;
  border: 3px solid var(--black);
}
.mission-box h2 {
  font-size: 24px;
  margin-bottom: 14px;
  color: var(--black);
}
.mission-box p {
  font-size: 15px;
  color: var(--gray-dark);
  font-family: "PingFang SC", sans-serif;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 12px;
}

.standard-list {
  list-style: none;
}
.standard-list li {
  background: var(--paper);
  border: 2px solid var(--black);
  padding: 14px 18px;
  margin-bottom: 12px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 3px 3px 0 var(--black);
}
.standard-list li .num {
  background: var(--yellow);
  color: var(--black);
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  border: 2px solid var(--black);
  flex-shrink: 0;
}
.standard-list li .txt {
  font-size: 14px;
  color: var(--gray-dark);
  font-family: "PingFang SC", sans-serif;
  font-weight: 400;
  line-height: 1.7;
}
.standard-list li .txt strong { color: var(--black); font-weight: 900; }

.disclaimer {
  background: var(--black);
  color: var(--yellow);
  border: 4px solid var(--yellow);
  padding: 22px;
  margin-top: 24px;
  position: relative;
}
.disclaimer::before {
  content: "!";
  position: absolute;
  top: -20px; left: 20px;
  width: 40px; height: 40px;
  background: var(--red);
  color: var(--white);
  border: 3px solid var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
}
.disclaimer h3 {
  font-size: 18px;
  margin-bottom: 10px;
  margin-top: 10px;
  color: var(--white);
  letter-spacing: 2px;
}
.disclaimer p {
  font-size: 14px;
  color: var(--white);
  font-family: "PingFang SC", sans-serif;
  font-weight: 400;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--white);
  border: 3px solid var(--black);
  padding: 18px;
  text-align: center;
  box-shadow: 3px 3px 0 var(--black);
}
.contact-card .cc-icon {
  width: 50px; height: 50px;
  margin: 0 auto 10px;
  background: var(--yellow);
  border: 3px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  border-radius: 50%;
}
.contact-card .cc-title {
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 6px;
  letter-spacing: 1px;
}
.contact-card .cc-value {
  font-size: 13px;
  color: var(--gray-dark);
  font-family: "PingFang SC", sans-serif;
  font-weight: 400;
}

/* ---------- Subscribe box ---------- */
.subscribe-box {
  background: var(--yellow);
  border: 4px solid var(--black);
  padding: 24px;
  text-align: center;
  position: relative;
  box-shadow: 6px 6px 0 var(--black);
}
.subscribe-box::before, .subscribe-box::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 10px;
  background-image: repeating-linear-gradient(
    45deg,
    var(--black) 0,
    var(--black) 12px,
    var(--yellow) 12px,
    var(--yellow) 24px
  );
}
.subscribe-box::before { top: -4px; }
.subscribe-box::after { bottom: -4px; }
.subscribe-box h3 {
  font-size: 22px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.subscribe-box p {
  font-size: 14px;
  font-family: "PingFang SC", sans-serif;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--gray-dark);
}
.subscribe-form {
  display: flex;
  gap: 0;
  max-width: 460px;
  margin: 0 auto;
  border: 3px solid var(--black);
  background: var(--white);
}
.subscribe-form input {
  flex: 1;
  padding: 12px 14px;
  border: none;
  font-size: 14px;
  font-family: "PingFang SC", sans-serif;
  outline: none;
}
.subscribe-form button {
  padding: 12px 18px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-left: 3px solid var(--black);
  font-weight: 900;
  letter-spacing: 1px;
  cursor: pointer;
}

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--black);
  border: 3px solid var(--yellow);
  margin-bottom: 28px;
}
@media (max-width: 700px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
.stat-cell {
  padding: 18px 12px;
  text-align: center;
  border-right: 2px solid var(--gray-dark);
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--yellow);
}
.stat-num.red { color: var(--red); }
.stat-num.green { color: var(--green); }
.stat-label {
  font-size: 12px;
  color: var(--white);
  letter-spacing: 2px;
  margin-top: 4px;
  font-weight: 700;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 28px 24px 18px;
  border-top: 6px solid var(--yellow);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -6px;
  height: 6px;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0,
    var(--yellow) 12px,
    var(--black) 12px,
    var(--black) 24px
  );
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
}
.footer-col h4 {
  color: var(--yellow);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 6px; }
.footer-col a {
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-family: "PingFang SC", sans-serif;
  font-weight: 400;
}
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px dashed var(--gray-dark);
  padding-top: 14px;
  text-align: center;
  font-size: 12px;
  color: var(--gray-mid);
  font-family: "PingFang SC", sans-serif;
  font-weight: 400;
  letter-spacing: 1px;
}
.footer-warn {
  background-image: repeating-linear-gradient(
    45deg,
    var(--yellow) 0,
    var(--yellow) 16px,
    var(--black) 16px,
    var(--black) 32px
  );
  padding: 8px;
  text-align: center;
  margin-bottom: 14px;
}
.footer-warn span {
  background: var(--black);
  color: var(--yellow);
  padding: 4px 14px;
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 900;
  border: 2px solid var(--yellow);
}

/* ---------- Utility ---------- */
.text-red { color: var(--red); }
.text-green { color: var(--green); }
.text-yellow { color: var(--yellow-deep); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; gap: 12px; align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.spacer { height: 20px; }
.tag-line {
  font-size: 13px;
  color: var(--gray-dark);
  font-family: "PingFang SC", sans-serif;
  font-weight: 400;
  line-height: 1.8;
}
