:root {
  --green: #1f7a53;
  --green-dark: #145c3e;
  --green-light: #eaf5ef;
  --green-soft: #f2f8f4;
  --orange: #e8833a;
  --orange-soft: #fff3e6;
  --ink: #1f2a24;
  --muted: #6b7a71;
  --line: #e3eae6;
  --bg: #f5f7f5;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(26, 54, 40, .07);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.35; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--green), #4aa87c 55%, #9ccf6a);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 13px;
  background: linear-gradient(135deg, var(--green), #3f9c6d);
  color: #fff; font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(31, 122, 83, .25);
  font-family: "STKaiti", "KaiTi", "PingFang SC", serif;
}
.brand-mark.small { width: 36px; height: 36px; font-size: 18px; border-radius: 10px; box-shadow: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 19px; letter-spacing: 2px; }
.brand-text em { font-style: normal; font-size: 10px; letter-spacing: 2.4px; color: #8a9a91; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 8px 15px; border-radius: 9px; font-size: 15px; color: #3d4a43;
  transition: all .18s ease; white-space: nowrap;
}
.main-nav a:hover { color: var(--green); background: var(--green-soft); }
.main-nav a.active { color: var(--green); background: var(--green-light); font-weight: 600; }
.nav-toggle {
  display: none; margin-left: auto; border: 1px solid var(--line);
  background: #fff; border-radius: 9px; width: 42px; height: 38px; cursor: pointer;
  color: var(--ink); font-size: 13px;
}

/* ---------- footer ---------- */
.site-footer { margin-top: 64px; background: #173d2c; color: #d7e5dd; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 40px; padding-bottom: 32px; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand .brand-mark { background: rgba(255, 255, 255, .12); box-shadow: none; color: #fff; }
.footer-brand strong { font-size: 17px; letter-spacing: 2px; color: #fff; }
.footer-brand p { font-size: 13px; color: #9fb8ab; margin-top: 4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-content: start; }
.footer-links a { font-size: 14px; color: #bcd1c5; }
.footer-links a:hover { color: #fff; }
.footer-meta { font-size: 13px; color: #93ada0; line-height: 2; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 16px 0 22px; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: #7f9a8c; flex-wrap: wrap; }

/* ---------- hero ---------- */
.hero { padding-top: 26px; }
.carousel { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: #dfe9e3; aspect-ratio: 1120 / 430; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; pointer-events: none; }
.slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 44px 38px; background: linear-gradient(180deg, transparent, rgba(11, 42, 27, .72)); color: #fff; }
.slide-caption h2 { font-size: 28px; letter-spacing: 1px; }
.slide-caption p { font-size: 15px; margin-top: 6px; color: #e3efe8; }
.hero-empty { background: linear-gradient(120deg, #1f7a53, #3f9c6d); display: flex; align-items: center; }
.hero-empty .slide-caption { position: static; background: none; padding: 40px 44px; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255, 255, 255, .82); color: #26443a; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s;
}
.carousel:hover .carousel-arrow { opacity: 1; }
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }
.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-dots { position: absolute; right: 26px; bottom: 22px; z-index: 5; display: flex; gap: 8px; }
.carousel-dots .dot { width: 9px; height: 9px; border-radius: 50%; border: none; cursor: pointer; background: rgba(255, 255, 255, .45); padding: 0; transition: all .2s; }
.carousel-dots .dot.is-active { background: #fff; width: 24px; border-radius: 5px; }

/* ---------- quick entries ---------- */
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 24px; }
.quick-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; display: flex; align-items: center; gap: 15px;
  transition: transform .18s, box-shadow .18s, border-color .18s; position: relative; overflow: hidden;
}
.quick-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfe3d8; }
.quick-icon {
  width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-light); color: var(--green);
}
.quick-card:nth-child(2) .quick-icon { background: #eaf1fb; color: #2c5f8a; }
.quick-card:nth-child(3) .quick-icon { background: var(--orange-soft); color: var(--orange); }
.quick-card:nth-child(4) .quick-icon { background: #f0ecfa; color: #6b52a3; }
.quick-icon svg { width: 26px; height: 26px; }
.quick-body strong { display: block; font-size: 16px; }
.quick-body span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.quick-card .corner { position: absolute; right: -12px; bottom: -12px; width: 54px; height: 54px; border-radius: 50%; background: var(--green-soft); }

/* ---------- vote notice ---------- */
.vote-banner {
  margin-top: 22px; display: flex; align-items: center; gap: 16px;
  background: linear-gradient(100deg, #fff5e9, #ffe9d3);
  border: 1px solid #f5cfab; border-radius: var(--radius); padding: 16px 22px;
  transition: box-shadow .18s;
}
.vote-banner:hover { box-shadow: 0 10px 24px rgba(232, 131, 58, .16); }
.vote-bell { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--orange); display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 10px rgba(232, 131, 58, .18); }
.vote-bell svg { width: 22px; height: 22px; }
.vote-banner strong { display: block; font-size: 16px; color: #8a4a17; }
.vote-banner span { font-size: 13px; color: #a56f43; }
.vote-banner .go { margin-left: auto; color: var(--orange); font-weight: 600; font-size: 14px; white-space: nowrap; }

/* ---------- home panels ---------- */
.section { margin-top: 34px; }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px 12px; box-shadow: 0 4px 16px rgba(26, 54, 40, .03); }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 12px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 19px; display: flex; align-items: center; gap: 9px; }
.panel-head h2::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--green); }
.panel-head a { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 3px; }
.panel-head a:hover { color: var(--green); }
.panel-head a svg { width: 14px; height: 14px; }
.mini-list li + li { border-top: 1px dashed var(--line); }
.mini-list a { display: flex; align-items: center; gap: 12px; padding: 14px 0; }
.mini-list .tag { flex-shrink: 0; }
.mini-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
.mini-list a:hover .mini-title { color: var(--green); }
.mini-list time { font-size: 12px; color: #9aa8a0; flex-shrink: 0; }
.mini-news a { gap: 14px; }
.mini-thumb { width: 86px; height: 62px; border-radius: 9px; overflow: hidden; flex-shrink: 0; background: var(--green-soft); }
.mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-news .mini-title { display: block; white-space: normal; line-height: 1.5; }
.mini-news .mini-sub { font-size: 12px; color: #95a49b; margin-top: 3px; }

/* ---------- page head ---------- */
.page-head { background: linear-gradient(120deg, #173d2c, #22674a 60%, #2f8a5e); color: #fff; padding: 44px 0 40px; }
.page-head h1 { font-size: 30px; letter-spacing: 2px; }
.page-head p { margin-top: 8px; color: #c9ded2; font-size: 14px; }
.page-body { padding-top: 30px; }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.tab { padding: 8px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: #55635b; transition: all .18s; }
.tab:hover { border-color: #bdd9ca; color: var(--green); }
.tab.is-active { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; box-shadow: 0 6px 14px rgba(31, 122, 83, .2); }

/* ---------- tags / badges ---------- */
.tag { display: inline-block; font-size: 12px; padding: 2px 9px; border-radius: 6px; line-height: 1.6; white-space: nowrap; }
.tag-property { background: #eaf1fb; color: #2c5f8a; }
.tag-committee { background: var(--green-light); color: var(--green-dark); }
.tag-service { background: var(--orange-soft); color: #ad5c1d; }
.tag-pin { background: #fdecea; color: #c0392b; font-weight: 600; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; border-radius: 999px; padding: 3px 10px; }
.badge-open { background: var(--green-light); color: var(--green-dark); }
.badge-done { background: #eef1ef; color: #7b8a81; }
.badge-warn { background: var(--orange-soft); color: #ad5c1d; }

/* ---------- notice list ---------- */
.list-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.notice-row { display: flex; align-items: center; gap: 18px; padding: 20px 26px; border-bottom: 1px solid var(--line); transition: background .15s; }
.notice-row:last-child { border-bottom: none; }
.notice-row:hover { background: var(--green-soft); }
.notice-tag { width: 92px; flex-shrink: 0; }
.notice-main { flex: 1; min-width: 0; }
.notice-main h3 { font-size: 16.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.notice-main .meta { font-size: 12.5px; color: #93a198; margin-top: 4px; }
.row-arrow { color: #b6c5bc; flex-shrink: 0; }
.row-arrow svg { width: 18px; height: 18px; }
.notice-row:hover .row-arrow { color: var(--green); }

/* ---------- news grid ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-thumb { aspect-ratio: 4 / 3; background: var(--green-soft); overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-thumb img { transform: scale(1.04); }
.news-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.news-body h3 { font-size: 16.5px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-body p { font-size: 13px; color: var(--muted); margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.news-body .meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #93a198; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.news-body .read { color: var(--green); font-weight: 600; }

/* ---------- activity grid ---------- */
.act-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.act-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .18s, box-shadow .18s; display: flex; flex-direction: column; }
.act-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.act-cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--green-soft); }
.act-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.act-card:hover .act-cover img { transform: scale(1.04); }
.act-cover .date-chip { position: absolute; left: 14px; top: 14px; background: rgba(23, 61, 44, .86); color: #fff; border-radius: 10px; padding: 6px 11px; text-align: center; line-height: 1.15; backdrop-filter: blur(4px); }
.date-chip b { display: block; font-size: 18px; }
.date-chip span { font-size: 10px; letter-spacing: 1px; color: #cfe3d8; }
.act-body { padding: 16px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.act-body h3 { font-size: 16.5px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.act-meta { margin-top: 12px; font-size: 12.5px; color: var(--muted); display: flex; flex-direction: column; gap: 5px; }
.act-meta span { display: flex; align-items: center; gap: 6px; }
.act-meta svg { width: 15px; height: 15px; color: #9db3a6; flex-shrink: 0; }
.act-foot { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; }
.act-foot .apply { color: var(--green); font-weight: 600; }
.act-foot .closed { color: #a8b4ac; }

/* ---------- article ---------- */
.breadcrumb { font-size: 13px; color: #93a198; margin-bottom: 16px; display: flex; gap: 6px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--green); }
.article-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 46px 46px; box-shadow: 0 6px 24px rgba(26, 54, 40, .04); }
.article-card h1 { font-size: 27px; letter-spacing: .5px; line-height: 1.45; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: #93a198; margin-top: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.article-meta span { display: flex; align-items: center; gap: 6px; }
.article-meta svg { width: 15px; height: 15px; }
.article-content { margin-top: 24px; font-size: 16px; line-height: 2; color: #2e3a33; word-break: break-word; }
.article-content img { border-radius: 10px; margin: 18px 0; }
.article-gallery { margin-top: 28px; }
.article-gallery h4 { font-size: 14px; color: var(--muted); margin-bottom: 12px; }

/* ---------- gallery ---------- */
.gallery { position: relative; border-radius: 14px; overflow: hidden; background: #12231a; aspect-ratio: 16 / 9; }
.gallery .slide img { object-fit: contain; background: #12231a; }
.gallery .carousel-arrow { opacity: 1; width: 36px; height: 36px; }
.gallery .carousel-dots { bottom: 14px; right: 18px; }

/* ---------- activity detail ---------- */
.activity-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.info-box { background: var(--green-soft); border: 1px solid #dcebe2; border-radius: 12px; padding: 14px 16px; }
.info-box span { font-size: 12px; color: #7d9186; display: block; }
.info-box strong { display: flex; align-items: center; gap: 7px; font-size: 14.5px; margin-top: 4px; font-weight: 600; }
.info-box svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }

/* ---------- signup ---------- */
.signup-card { margin-top: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 34px 34px; }
.signup-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.signup-head h2 { font-size: 20px; }
.signup-head .count { font-size: 13px; color: var(--muted); }
.signup-head .count b { color: var(--green); font-size: 17px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; color: #4b5a52; font-weight: 600; }
.field label .req { color: #d3543f; margin-left: 3px; }
.field label .opt { color: #9aa8a0; font-weight: 400; margin-left: 4px; font-size: 12px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid #d8e2dc; background: #fbfcfb; border-radius: 10px;
  padding: 11px 14px; font-size: 14.5px; color: var(--ink); font-family: inherit; transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #7ab99a; box-shadow: 0 0 0 3px rgba(31, 122, 83, .1); background: #fff; }
.field .hint { font-size: 12px; color: #d3543f; }
.field .tip { font-size: 12px; color: #93a198; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: none; cursor: pointer; border-radius: 999px; padding: 11px 28px; font-size: 15px; font-weight: 600; transition: all .18s; }
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 18px rgba(31, 122, 83, .22); }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { background: #fff; color: var(--green); border: 1px solid #bcd9c9; }
.btn-outline:hover { background: var(--green-soft); }
.btn-disabled, .btn:disabled { background: #e6ebe8; color: #9aa8a0; cursor: not-allowed; box-shadow: none; }
.btn-light { background: rgba(255, 255, 255, .92); color: #1d4a35; padding: 8px 20px; font-size: 14px; }
.btn-light:hover { background: #fff; }
.signup-actions { margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.signup-actions .note { font-size: 12.5px; color: #93a198; }
.signup-closed { margin-top: 18px; background: #f4f6f5; border: 1px dashed #d3ddd7; border-radius: 12px; padding: 18px 20px; color: #8a988f; font-size: 14px; text-align: center; }

/* ---------- lostfound ---------- */
.lf-list .notice-row { align-items: flex-start; }
.lf-status { flex-shrink: 0; }
.lf-contact { margin-top: 22px; background: var(--green-soft); border: 1px solid #dcebe2; border-radius: 12px; padding: 18px 22px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lf-contact .icon { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--green); display: flex; align-items: center; justify-content: center; }
.lf-contact .icon svg { width: 20px; height: 20px; }
.lf-contact .who { font-size: 13px; color: #6f8278; }
.lf-contact .num { font-size: 19px; font-weight: 700; letter-spacing: 1px; color: var(--green-dark); }
.lf-contact .closed-tip { color: #8a988f; font-size: 14px; }

/* ---------- votes ---------- */
.vote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vote-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; transition: transform .18s, box-shadow .18s; display: flex; flex-direction: column; }
.vote-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.vote-card h3 { font-size: 17.5px; font-weight: 600; display: flex; align-items: flex-start; gap: 8px; }
.vote-card p { font-size: 13px; color: var(--muted); margin-top: 9px; flex: 1; }
.vote-card .foot { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; font-size: 12.5px; color: #8b9a91; }
.vote-card .foot .enter { color: var(--green); font-weight: 600; }
.section-title { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 18px; }
.section-title::before { content: ""; width: 4px; height: 20px; border-radius: 2px; background: var(--green); }
.section-title .sub { font-size: 13px; color: #93a198; font-weight: 400; }
.vote-form { margin-top: 22px; }
.option-item { display: flex; align-items: center; gap: 12px; border: 1px solid #dce5df; border-radius: 12px; padding: 14px 18px; margin-bottom: 12px; cursor: pointer; transition: all .18s; background: #fbfcfb; }
.option-item:hover { border-color: #9fcab2; background: var(--green-soft); }
.option-item input { accent-color: var(--green); width: 18px; height: 18px; flex-shrink: 0; }
.option-item .label { flex: 1; font-size: 15px; }
.option-item:has(input:checked) { border-color: var(--green); background: var(--green-light); box-shadow: 0 0 0 2px rgba(31, 122, 83, .08); }
.result-row { margin-bottom: 18px; }
.result-head { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin-bottom: 7px; }
.result-head .num { color: var(--muted); font-size: 13px; white-space: nowrap; }
.bar { height: 10px; border-radius: 999px; background: #edf2ef; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #2f8a5e, #7cc29a); transition: width .8s ease; }
.result-row.leading .bar i { background: linear-gradient(90deg, var(--orange), #f3b26f); }
.vote-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: #93a198; margin-top: 12px; }
.vote-meta span { display: flex; align-items: center; gap: 6px; }
.vote-meta svg { width: 15px; height: 15px; }
.result-card { margin-top: 24px; background: var(--green-soft); border: 1px solid #dcebe2; border-radius: 14px; padding: 24px 26px; }
.result-card h3 { font-size: 17px; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.result-card h3 svg { width: 18px; height: 18px; color: var(--green); }
.result-note { font-size: 12.5px; color: #7d9186; margin-top: 16px; padding-top: 14px; border-top: 1px dashed #cfe2d6; }
.alert { border-radius: 12px; padding: 14px 18px; font-size: 14px; display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.alert-info { background: #eef5fb; border: 1px solid #d3e4f3; color: #2c5f8a; }
.alert-success { background: var(--green-light); border: 1px solid #cfe6d9; color: var(--green-dark); }
.alert-warn { background: var(--orange-soft); border: 1px solid #f5d9bd; color: #9a5717; }

/* ---------- pagination / empty ---------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 28px; }
.pager a, .pager span { min-width: 36px; height: 36px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; color: #4f5e55; }
.pager a:hover { border-color: #a9cdb9; color: var(--green); }
.pager .current { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }
.pager .disabled { color: #c2ccc6; }
.empty { text-align: center; padding: 64px 20px; color: #9aa8a0; font-size: 14px; }
.empty .em-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--green-soft); color: #a9c5b5; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.empty .em-icon svg { width: 30px; height: 30px; }

/* ---------- flash ---------- */
.flash-stack { position: fixed; right: 22px; top: 92px; z-index: 100; display: flex; flex-direction: column; gap: 10px; max-width: 380px; }
.flash { display: flex; align-items: flex-start; gap: 10px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 10px; padding: 13px 16px; box-shadow: 0 12px 30px rgba(20, 40, 30, .14); font-size: 14px; animation: slideIn .3s ease; }
.flash.error { border-left-color: #d3543f; }
.flash svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--green); }
.flash.error svg { color: #d3543f; }
@keyframes slideIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 90px 20px 100px; }
.notfound .code { font-size: 72px; font-weight: 800; color: #cfe0d6; letter-spacing: 4px; line-height: 1; }
.notfound h1 { font-size: 22px; margin-top: 12px; }
.notfound p { color: var(--muted); margin-top: 8px; font-size: 14px; }
.notfound .btn { margin-top: 24px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid, .act-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .article-card { padding: 28px 26px 34px; }
}
@media (max-width: 760px) {
  .header-inner { height: 64px; gap: 14px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 16px; flex-direction: column; align-items: stretch; gap: 2px; box-shadow: 0 16px 24px rgba(20, 40, 30, .08); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 14px; }
  .brand-text strong { font-size: 17px; }
  .hero { padding-top: 18px; }
  .carousel { aspect-ratio: 4 / 3; border-radius: 16px; }
  .slide-caption { padding: 50px 22px 26px; }
  .slide-caption h2 { font-size: 21px; }
  .slide-caption p { font-size: 13px; }
  .carousel-dots { right: 16px; bottom: 14px; }
  .quick-grid { gap: 12px; }
  .quick-card { padding: 16px 14px; gap: 11px; }
  .quick-icon { width: 42px; height: 42px; border-radius: 11px; }
  .quick-icon svg { width: 22px; height: 22px; }
  .quick-body strong { font-size: 14.5px; }
  .quick-body span { font-size: 11px; }
  .panel-grid, .vote-grid { grid-template-columns: 1fr; }
  .news-grid, .act-grid { grid-template-columns: 1fr; }
  .page-head { padding: 32px 0 30px; }
  .page-head h1 { font-size: 24px; }
  .notice-row { padding: 16px 18px; gap: 12px; }
  .notice-tag { width: auto; }
  .notice-row { flex-wrap: wrap; }
  .row-arrow { display: none; }
  .article-card h1 { font-size: 22px; }
  .article-content { font-size: 15px; }
  .activity-info { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .signup-card { padding: 22px 20px 26px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; padding-top: 30px; }
  .flash-stack { left: 16px; right: 16px; top: 78px; max-width: none; }
  .vote-banner { align-items: flex-start; padding: 14px 16px; }
  .vote-banner .go { margin-left: 0; }
}
