/* ==========================================================================
   心理健康空间
   暖调治愈系设计系统
   ========================================================================== */

:root {
  --bg: #F0F5EE;
  --surface: #FFFFFF;
  --surface-2: #EAF2E7;
  --ink: #22302A;
  --ink-2: #4E5E57;
  --muted: #86958E;
  --primary: #3E8E7E;
  --primary-dark: #2E6E61;
  --primary-soft: #E6F2EE;
  --rose: #D98B94;
  --rose-soft: #FBEDEE;
  --warm: #D9A441;
  --warm-soft: #FCF3E2;
  --lav: #8F86C0;
  --lav-soft: #F1EFFA;
  --line: #DEE8DA;
  --line-2: #EAF1E7;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-s: 0 2px 10px rgba(52, 74, 66, .05);
  --shadow: 0 8px 30px rgba(52, 74, 66, .08);
  --shadow-l: 0 18px 50px rgba(52, 74, 66, .12);
  --max: 1180px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
               "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 15.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 整站校园底图：固定铺满视口，轻微虚化后作为氛围层 */
body::before {
  content: "";
  position: fixed;
  inset: -28px;
  z-index: -2;
  background: url("/assets/campus-lake.webp") center 42% / cover no-repeat;
  opacity: .55;
  filter: blur(3px);
  pointer-events: none;
}

/* 柔和遮罩：压低底图对比度，保证长文与卡片边缘的可读性 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(238, 245, 236, .58) 0%,
    rgba(242, 247, 240, .50) 40%,
    rgba(233, 242, 231, .64) 100%);
  pointer-events: none;
}

a { color: var(--primary); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.hidden { display: none !important; }

/* ---------------------------------------------------------------- 顶栏 */
.topbar {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: rgba(250, 248, 244, .84);
  border-bottom: 1px solid var(--line-2);
}
.topbar-in {
  max-width: var(--max); margin: 0 auto; padding: 12px 22px;
  display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 13px; flex-shrink: 0;
  background: linear-gradient(140deg, var(--primary), #6FB6A6 55%, var(--lav));
  display: grid; place-items: center;
  color: #fff; font-size: 19px; font-weight: 700;
  box-shadow: 0 5px 16px rgba(62, 142, 126, .32);
}
.brand-txt b { display: block; font-size: 15px; font-weight: 700; letter-spacing: .2px; line-height: 1.3; }
.brand-txt span { display: block; font-size: 11.5px; color: var(--muted); letter-spacing: .6px; }

.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav button {
  padding: 8px 15px; border-radius: 11px; font-size: 14px; color: var(--ink-2);
  transition: .2s; white-space: nowrap; font-weight: 500;
}
.nav button:hover { background: var(--surface-2); color: var(--ink); }
.nav button.on {
  background: var(--primary); color: #fff;
  box-shadow: 0 5px 16px rgba(62, 142, 126, .28);
}
.nav .admin-link { color: var(--muted); font-size: 13px; }

/* ---------------------------------------------------------------- Hero */
.hero {
  position: relative;
  padding: 68px 0 48px;
  text-align: center;
  background: url("/assets/campus-banner.webp") center 42% / cover no-repeat;
}
/* 第一层：整体均匀遮罩，让底图退到背景里 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg,
    rgba(241, 246, 239, .54) 0%,
    rgba(241, 246, 239, .48) 30%,
    rgba(239, 245, 237, .80) 74%,
    var(--bg) 100%);
}
/* 第二层：文字正后方一块柔和亮斑，保证标题始终清晰 */
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%; top: -6%;
  transform: translateX(-50%);
  width: min(900px, 98%);
  height: 68%;
  pointer-events: none;
  background: radial-gradient(closest-side,
    rgba(249, 252, 248, .96) 0%,
    rgba(249, 252, 248, .82) 50%,
    rgba(249, 252, 248, 0) 100%);
}
.hero > .wrap { position: relative; z-index: 2; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 15px; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary-dark);
  font-size: 13px; font-weight: 600; letter-spacing: .3px;
  border: 1px solid rgba(62, 142, 126, .18);
}
.hero h1 {
  margin: 20px 0 0;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.28; font-weight: 800; letter-spacing: -.5px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #2C7A6C, #4A8CB0 48%, #7A6FB8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p {
  max-width: 640px; margin: 18px auto 0;
  color: var(--ink-2); font-size: 16px;
}
.hero-slogan {
  margin-top: 22px; font-size: 15px; color: var(--primary-dark);
  letter-spacing: 3px; font-weight: 600;
}
.hero-slogan::before, .hero-slogan::after { content: "「"; color: var(--muted); }
.hero-slogan::after { content: "」"; }

.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 38px; }
.quick-a {
  text-align: left; padding: 18px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-s); transition: .25s;
}
.quick-a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(62, 142, 126, .3); }
.quick-a i {
  font-style: normal; font-size: 26px; display: block; margin-bottom: 9px; line-height: 1.2;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.quick-a b { display: block; font-size: 14.5px; margin-bottom: 3px; }
.quick-a span { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* ---------------------------------------------------------------- 版块头 */
.sec { padding: 54px 0; }
.sec-head { margin-bottom: 26px; }
.sec-kicker {
  font-size: 12.5px; font-weight: 700; letter-spacing: 2px; color: var(--primary);
  text-transform: uppercase;
}
.sec-head h2 {
  font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin: 8px 0 0; letter-spacing: -.3px;
}
.sec-head .lead {
  margin-top: 12px; max-width: 760px; color: var(--ink-2); font-size: 15px;
  padding-left: 16px; border-left: 3px solid var(--primary-soft);
}

/* ---------------------------------------------------------------- 卡片/按钮 */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-s);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 22px; border-radius: 12px; font-size: 14.5px; font-weight: 600;
  background: var(--primary); color: #fff; transition: .2s;
  box-shadow: 0 6px 18px rgba(62, 142, 126, .25);
}
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn.ghost {
  background: var(--surface); color: var(--ink-2);
  border: 1px solid var(--line); box-shadow: none;
}
.btn.ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn.sm { padding: 7px 14px; font-size: 13px; border-radius: 10px; box-shadow: none; }
.btn.rose { background: var(--rose); box-shadow: 0 6px 18px rgba(217, 139, 148, .28); }
.btn.rose:hover { background: #C97C86; }

.field { margin-bottom: 16px; }
.field > label {
  display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--ink-2);
}
.field .hint { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 6px; }
input[type=text], input[type=password], input[type=number], input[type=date],
select, textarea {
  width: 100%; padding: 11px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface);
  transition: .18s; font-size: 14.5px; outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3.5px rgba(62, 142, 126, .12);
}
textarea { resize: vertical; min-height: 110px; line-height: 1.75; font-family: inherit; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 7px 14px; border-radius: 999px; font-size: 13px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  transition: .18s; font-weight: 500;
}
.chip:hover { border-color: rgba(62, 142, 126, .4); }
.chip.on {
  background: var(--primary-soft); border-color: var(--primary);
  color: var(--primary-dark); font-weight: 600;
}
.chip.rose.on { background: var(--rose-soft); border-color: var(--rose); color: #A55C65; }

.seg { display: inline-flex; background: var(--surface-2); padding: 4px; border-radius: 13px; gap: 4px; }
.seg button {
  padding: 8px 16px; border-radius: 10px; font-size: 13.5px; font-weight: 600;
  color: var(--ink-2); transition: .18s;
}
.seg button.on { background: var(--surface); color: var(--primary-dark); box-shadow: var(--shadow-s); }

.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 13px;
  font-size: 14px; z-index: 300; opacity: 0; pointer-events: none;
  transition: .28s; box-shadow: var(--shadow-l); max-width: 84vw; text-align: center;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: #B4575F; }

/* ---------------------------------------------------------------- 树洞 */
.hole-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 22px; align-items: start; }
.panel { padding: 24px; }
.panel-title {
  display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 700; margin-bottom: 16px;
}
.panel-title .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex-shrink: 0;
}
.panel-title .dot.rose { background: var(--rose); }
.panel-title small { font-weight: 400; font-size: 12.5px; color: var(--muted); margin-left: auto; }

.privacy {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--warm-soft); border: 1px solid rgba(217, 164, 65, .28);
  border-radius: var(--radius-sm); padding: 12px 14px; font-size: 12.8px;
  color: #8A6A25; line-height: 1.65; margin-bottom: 18px;
}
.privacy b { color: #7A5C1C; }

.wall-list { max-height: 700px; overflow-y: auto; padding-right: 5px; margin: -4px; }
.wall-list::-webkit-scrollbar { width: 6px; }
.wall-list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.post { padding: 16px 17px; border-radius: var(--radius-sm); background: var(--surface-2); margin: 4px 0 12px; }
.post-head { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; font-size: 12.5px; color: var(--muted); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: 14px;
  background: linear-gradient(140deg, var(--primary-soft), var(--lav-soft));
  color: var(--primary-dark); font-weight: 700;
}
.avatar.rose { background: linear-gradient(140deg, var(--rose-soft), var(--warm-soft)); color: #A55C65; }
.post-head .who { font-weight: 600; color: var(--ink-2); font-size: 13.5px; }
.post-body { font-size: 14.6px; white-space: pre-wrap; word-break: break-word; line-height: 1.8; }
.post-meta { margin-top: 10px; display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.tag {
  font-size: 11.5px; padding: 3px 10px; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary-dark); font-weight: 600;
}
.tag.rose { background: var(--rose-soft); color: #A55C65; }
.tag.lav { background: var(--lav-soft); color: #675D9B; }
.tag.warm { background: var(--warm-soft); color: #8A6A25; }
.tag.grey { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }

.reply {
  margin-top: 13px; padding: 13px 15px; border-radius: var(--radius-sm);
  background: var(--primary-soft); border-left: 3px solid var(--primary);
}
.reply-head { font-size: 12.5px; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.reply-body { font-size: 14px; white-space: pre-wrap; word-break: break-word; color: #2A4A43; line-height: 1.8; }

.empty { text-align: center; padding: 40px 16px; color: var(--muted); font-size: 13.5px; }
.empty i { font-style: normal; font-size: 30px; display: block; margin-bottom: 10px; opacity: .55; }
.empty i, .mood-b i, .mini .h, .act-files a, .filelist span {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Microsoft YaHei", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

/* ---------------------------------------------------------------- 科普 */
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.art {
  padding: 22px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-s);
  transition: .25s; display: flex; flex-direction: column; text-align: left;
}
.art:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(62, 142, 126, .28); }
.art .cat {
  align-self: flex-start; font-size: 11.5px; font-weight: 700; padding: 4px 11px;
  border-radius: 999px; background: var(--lav-soft); color: #675D9B; margin-bottom: 13px;
}
.art h3 { font-size: 16.5px; font-weight: 700; line-height: 1.5; margin-bottom: 9px; }
.art p { font-size: 13.6px; color: var(--ink-2); line-height: 1.75; flex: 1; }
.art .foot {
  margin-top: 15px; padding-top: 13px; border-top: 1px dashed var(--line);
  font-size: 12.5px; color: var(--muted); display: flex; align-items: center; justify-content: space-between;
}
.art .more { color: var(--primary); font-weight: 600; }

.reader {
  position: fixed; inset: 0; z-index: 200; background: rgba(38, 51, 47, .45);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 5vh 18px; overflow-y: auto;
  backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: .25s;
}
.reader.on { opacity: 1; pointer-events: auto; }
.reader-in {
  background: var(--surface); border-radius: var(--radius); max-width: 760px; width: 100%;
  padding: 40px 44px 46px; box-shadow: var(--shadow-l); position: relative;
  transform: translateY(14px); transition: .3s;
}
.reader.on .reader-in { transform: none; }
.reader-close {
  position: absolute; top: 16px; right: 18px; width: 34px; height: 34px;
  border-radius: 10px; background: var(--surface-2); color: var(--ink-2);
  font-size: 18px; line-height: 1; display: grid; place-items: center;
}
.reader-close:hover { background: var(--line); }
.reader h2 { font-size: 25px; font-weight: 800; line-height: 1.42; margin: 12px 0 14px; }
.reader .meta { font-size: 12.5px; color: var(--muted); margin-bottom: 24px; }
.reader-body { font-size: 15.5px; line-height: 2; color: #33423D; }
.reader-body p { margin: 0 0 16px; }
.reader-body strong { color: var(--ink); }
.reader-body ol, .reader-body ul { margin: 0 0 16px; padding-left: 24px; }
.reader-body li { margin-bottom: 7px; }

/* ---------------------------------------------------------------- 打卡 */
.check-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 22px; align-items: start; }
.mood-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.mood-b {
  padding: 14px 4px 11px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--surface); text-align: center; transition: .18s;
}
.mood-b i { font-style: normal; font-size: 27px; display: block; line-height: 1.2; }
.mood-b span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 5px; }
.mood-b:hover { border-color: rgba(62, 142, 126, .45); transform: translateY(-2px); }
.mood-b.on {
  border-color: var(--primary); background: var(--primary-soft);
  box-shadow: 0 4px 14px rgba(62, 142, 126, .2);
}
.mood-b.on span { color: var(--primary-dark); font-weight: 600; }

.stress-row { display: flex; gap: 8px; }
.stress-b {
  flex: 1; padding: 10px 4px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--surface); font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: .18s;
}
.stress-b:hover { border-color: rgba(217, 139, 148, .5); }
.stress-b.on { border-color: var(--rose); background: var(--rose-soft); color: #A55C65; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.stat {
  text-align: center; padding: 16px 10px; border-radius: var(--radius-sm); background: var(--surface-2);
}
.stat b { display: block; font-size: 25px; font-weight: 800; color: var(--primary-dark); line-height: 1.25; }
.stat span { font-size: 12px; color: var(--muted); }

.trend { display: flex; align-items: flex-end; gap: 3px; height: 108px; padding: 0 2px; }
.trend i {
  flex: 1; border-radius: 4px 4px 2px 2px; min-height: 3px;
  background: linear-gradient(180deg, #6FB6A6, var(--primary));
  transition: .3s; position: relative; opacity: .9;
}
.trend i.none { background: var(--line-2); }
.trend i:hover { opacity: 1; transform: scaleY(1.04); }
.trend-x { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 7px; }

.wall-mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-height: 330px; overflow-y: auto; padding-right: 4px; }
.mini {
  padding: 12px 13px; border-radius: var(--radius-sm); background: var(--surface-2); font-size: 13px;
}
.mini .h { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; font-size: 15px; }
.mini .h span { font-size: 11.5px; color: var(--muted); margin-left: auto; }
.mini p { color: var(--ink-2); line-height: 1.65; word-break: break-word; }

/* ---------------------------------------------------------------- 活动 */
.act-list { display: flex; flex-direction: column; gap: 18px; }
.act {
  display: grid; grid-template-columns: 118px 1fr; gap: 22px;
  padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-s);
  transition: .25s;
}
.act:hover { box-shadow: var(--shadow); }
.act-date { text-align: center; padding: 14px 8px; border-radius: var(--radius-sm); background: var(--primary-soft); height: fit-content; }
.act-date b { display: block; font-size: 29px; font-weight: 800; color: var(--primary-dark); line-height: 1.1; }
.act-date span { font-size: 12px; color: var(--primary-dark); opacity: .8; }
.act h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 9px; }
.act .line { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 11px; }
.act .desc { font-size: 14.2px; color: var(--ink-2); line-height: 1.8; }
.act .body { margin-top: 12px; font-size: 14.2px; color: var(--ink-2); line-height: 1.9; white-space: pre-wrap; }
.act-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 9px; margin-top: 15px; }
.act-photos img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm);
  border: 1px solid var(--line); cursor: zoom-in; transition: .2s;
}
.act-photos img:hover { transform: scale(1.025); }
.act-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.act-files a {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 10px;
  background: var(--surface-2); font-size: 12.8px; color: var(--ink-2); border: 1px solid var(--line);
}
.act-files a:hover { background: var(--primary-soft); color: var(--primary-dark); }
.more-btn { text-align: center; margin-top: 12px; }

.lightbox {
  position: fixed; inset: 0; z-index: 250; background: rgba(20, 28, 25, .88);
  display: grid; place-items: center; padding: 26px; opacity: 0; pointer-events: none; transition: .25s;
}
.lightbox.on { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 12px; }

/* ---------------------------------------------------------------- 页脚 */
.foot {
  position: relative;
  margin-top: 40px; padding: 48px 0 52px; border-top: 1px solid var(--line);
  text-align: center;
  background: url("/assets/campus-library.webp") center 28% / cover no-repeat;
}
.foot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    var(--bg) 0%,
    rgba(240, 246, 238, .86) 20%,
    rgba(238, 244, 236, .93) 100%);
}
.foot > .wrap { position: relative; }
.foot .slogan { font-size: 16px; font-weight: 700; color: var(--primary-dark); letter-spacing: 1.5px; }
.foot .info { margin-top: 12px; font-size: 12.8px; color: var(--muted); line-height: 1.9; }
.foot .info a { color: var(--muted); }
.help {
  max-width: 660px; margin: 22px auto 0; padding: 15px 20px; border-radius: var(--radius-sm);
  background: var(--rose-soft); border: 1px solid rgba(217, 139, 148, .28);
  font-size: 13px; color: #8E5158; line-height: 1.85; text-align: left;
}

/* ---------------------------------------------------------------- 栅格 */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mt-s { margin-top: 10px; } .mt { margin-top: 18px; } .mt-l { margin-top: 28px; }
.flex { display: flex; align-items: center; gap: 10px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1000px) {
  .art-grid { grid-template-columns: repeat(2, 1fr); }
  .quick { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hole-grid, .check-grid, .grid-2 { grid-template-columns: 1fr; }
  .topbar-in { flex-wrap: wrap; gap: 10px; }
  .nav { margin-left: 0; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 3px; }
  .nav::-webkit-scrollbar { height: 0; }
  .brand-txt span { display: none; }
  .act { grid-template-columns: 1fr; gap: 16px; }
  .act-date { display: flex; align-items: baseline; justify-content: center; gap: 8px; padding: 10px; }
  .act-date b { font-size: 22px; }
}
@media (max-width: 620px) {
  body { font-size: 15px; }
  .art-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 28px; }
  .sec { padding: 38px 0; }
  .panel, .art, .act { padding: 18px; }
  .reader-in { padding: 30px 22px 34px; }
  .reader h2 { font-size: 20px; }
  .wall-mini { grid-template-columns: 1fr; }
  .mood-b i { font-size: 23px; }
  .mood-b span { font-size: 10.5px; }
  .stress-b { font-size: 12.5px; }
}

/* ---------------------------------------------------------------- 页脚标识 */
.logos {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; flex-wrap: wrap; margin-bottom: 26px;
}
.logos img { height: 40px; width: auto; display: block; }
.logos-div { width: 1px; height: 32px; background: var(--line); }

a.tel { text-decoration: none; color: inherit; }
a.tel b { color: var(--primary-dark); border-bottom: 1px dashed rgba(62, 142, 126, .5); }

@media (max-width: 720px) {
  .logos { gap: 16px; margin-bottom: 20px; }
  .logos img { height: 28px; }
  .logos-div { height: 24px; }
}

/* 窄屏：横幅比例过扁，改用竖构图的林荫道 */
@media (max-width: 760px) {
  .hero { background-image: url("/assets/campus-road.webp"); background-position: center 34%; }
  .foot { background-position: center 22%; }
}

/* ---------------------------------------------------------------- 公开墙互动 */
.actions {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 13px; padding-top: 12px; border-top: 1px dashed var(--line);
}
.act-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px; font-size: 12.8px;
  color: var(--ink-2); background: var(--surface);
  border: 1px solid var(--line); transition: .2s; font-weight: 500;
}
.act-btn:hover { border-color: rgba(62, 142, 126, .45); color: var(--primary-dark); }
.act-btn:disabled { opacity: .6; cursor: default; }
.act-btn i { font-style: normal; font-size: 14px; line-height: 1; }
.act-btn b { font-weight: 600; }
.act-btn.on { background: var(--rose-soft); border-color: var(--rose); color: #A55C65; }

.cmt-wrap { margin-top: 13px; }
.cmt-list { display: flex; flex-direction: column; gap: 9px; }
.cmt-none { font-size: 12.5px; color: var(--muted); padding: 2px 2px 4px; }
.cmt {
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); padding: 11px 13px;
}
.cmt.priv { background: var(--warm-soft); border-color: rgba(217, 164, 65, .32); }
.cmt-h { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.cmt-h b { font-size: 12.8px; font-weight: 600; color: var(--ink-2); }
.cmt-h time { margin-left: auto; color: var(--muted); font-size: 11.5px; }
.cmt-b { font-size: 13.8px; line-height: 1.78; white-space: pre-wrap; word-break: break-word; }
.avatar.mini { width: 22px; height: 22px; font-size: 11px; }

.cmt-form { margin-top: 12px; }
.cmt-form textarea { min-height: 60px; font-size: 13.8px; }
.cmt-opts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 9px; }
.cmt-opts input[type=text] { width: 118px; padding: 7px 11px; font-size: 13px; }
.seg.mini { padding: 3px; border-radius: 11px; }
.seg.mini button { padding: 6px 12px; font-size: 12.5px; border-radius: 8px; }
.cmt-opts .btn.sm { margin-left: auto; }
