body.auth-pending > * { visibility: hidden; }
header.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 30px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); background: rgba(6,10,20,0.55); border-bottom: 1px solid var(--border-cool); }
header.nav .brand { display: flex; align-items: center; gap: 12px; }
header.nav .brand img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
header.nav .brand .en { font-family: "Cinzel",serif; font-size: 15px; letter-spacing: .18em; color: var(--moon); }
header.nav .brand .cn { font-size: 11px; letter-spacing: .2em; color: var(--text-dim); margin-top: 2px; }
header.nav .actions { display: flex; gap: 10px; align-items: center; }
.nav-btn { padding: 8px 18px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; letter-spacing: .1em;
  color: var(--gold-bright); background: rgba(140,175,235,.06); transition: all .25s; cursor: pointer; }
.nav-btn:hover { background: rgba(140,175,235,.16); box-shadow: 0 0 16px rgba(140,175,235,.22); }
.nav-btn.ghost { border-color: var(--border-cool); color: var(--text-dim); background: transparent; }
.nav-btn.ghost:hover { color: var(--moon); border-color: var(--moon); box-shadow: none; }

.layout { max-width: 1440px; margin: 0 auto; padding: 30px 28px 84px; display: grid; grid-template-columns: minmax(0,1fr); gap: 32px; }
.col-main { min-width: 0; }

/* 面包屑 + 版块头 */
.crumb { font-size: 12px; color: var(--text-dim); letter-spacing: .08em; margin-bottom: 16px; }
.crumb a { color: var(--gold); } .crumb a:hover { color: var(--gold-bright); }
.board-head { display: flex; align-items: center; gap: 22px; padding: 28px 30px; margin-bottom: 24px; min-height:132px; }
.board-head .em { font-size: 44px; line-height: 1; flex-shrink: 0; }
.board-head .h .name { font-size: 24px; color: var(--gold-bright); letter-spacing: .06em; }
.board-head .h .desc { font-size: 13px; color: var(--text-dim); margin-top: 6px; line-height: 1.6; font-weight: 300; }
.board-head .stats { margin-left: auto; display: flex; gap: 26px; text-align: center; flex-shrink: 0; }
.board-head .stats .n { font-family: "Cinzel",serif; font-size: 22px; color: var(--moon); }
.board-head .stats .l { font-size: 11px; color: var(--text-dim); letter-spacing: .1em; margin-top: 2px; }

/* 工具条 */
.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.tabs { display: flex; gap: 6px; }
.tab { padding: 7px 16px; border-radius: 8px; font: inherit; font-size: 13px; color: var(--text-dim); cursor: pointer; border: 1px solid transparent; background: transparent; transition: all .2s; letter-spacing: .05em; }
.tab:hover { color: var(--moon); }
.tab.active { color: var(--gold-bright); border-color: var(--border); background: rgba(140,175,235,.08); }
.new-post { margin-left: auto; }
.thread-search { display:flex; align-items:center; gap:7px; min-width:min(100%,460px); }
.thread-search .input { min-height:38px; box-sizing:border-box; border:1px solid var(--border-cool); border-radius:8px; background:rgba(4,13,27,.72); color:var(--text); padding:7px 10px; }
.thread-search input { flex:1 1 180px; min-width:110px; }
.thread-search select { flex:0 1 140px; }
.thread-type-field { display:grid; gap:7px; margin:0 0 14px; color:var(--text-dim); font-size:12px; }
.thread-type-field .input,.thread-type-field textarea { width:100%; box-sizing:border-box; min-height:42px; padding:10px 12px; border:1px solid rgba(170,196,230,.25); border-radius:8px; background:rgba(4,13,27,.75); color:#eef4ff; }
.thread-type-field textarea { min-height:120px; resize:vertical; }
.thread-type-tag { color:#f1c1dc; border-color:rgba(230,130,184,.5); background:rgba(182,66,128,.11); }

/* 帖子列表 */
.thread { display: flex; gap: 18px; align-items: flex-start; padding: 22px 26px; border-radius: 14px;
  border: 1px solid var(--border-cool); background: rgba(16,24,44,.42); margin-bottom: 12px; transition: all .25s; cursor: pointer; }
.thread:hover { border-color: var(--gold); background: rgba(140,175,235,.06); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.4); }
.thread .main { flex: 1; min-width: 0; }
.thread .badges { display: flex; gap: 6px; margin-bottom: 5px; flex-wrap: wrap; }
.tagx { font-size: 11px; padding: 1px 8px; border-radius: 4px; letter-spacing: .05em; border: 1px solid var(--border-cool); color: var(--text-dim); }
.tagx.pin { color: #a9caee; border-color: rgba(140,175,235,.5); background: rgba(140,175,235,.08); }
.tagx.hot { color: #e8756c; border-color: rgba(232,117,108,.5); background: rgba(232,117,108,.08); }
.tagx.gold { color: var(--gold-bright); border-color: var(--border); background: rgba(140,175,235,.08); }
.thread .title { font-size: 15.5px; color: var(--text); letter-spacing: .02em; line-height: 1.5; }
.thread:hover .title { color: var(--gold-bright); }
.thread .meta { font-size: 12px; color: var(--text-dim); margin-top: 8px; display: flex; gap: 16px; flex-wrap: wrap; }
.thread .meta .author { color: var(--moon); }
.author-profile-chip { display: inline-flex; align-items: center; gap: 2px; max-width: 100%; padding: 2px 6px; border-radius: 7px; }
.author-profile-chip.author-bg-snow-paper { color: #364353 !important; background: linear-gradient(135deg, rgba(245,248,250,.96), rgba(218,227,237,.94)); border: 1px solid rgba(155,171,188,.5); }
.author-profile-chip.author-font-serif { font-family: "Noto Serif SC", "Songti SC", STSong, serif; }
.thread .nums { text-align: center; flex-shrink: 0; align-self: center; }
.thread .nums .r { font-family: "Cinzel",serif; font-size: 18px; color: var(--moon); }
.thread .nums .rl { font-size: 10px; color: var(--text-dim); letter-spacing: .1em; }
.board-pager { display:flex; align-items:center; justify-content:center; gap:14px; margin:22px 0 8px; color:var(--text-dim); font-size:12px; }
.board-pager .nav-btn:disabled { cursor:not-allowed; opacity:.42; box-shadow:none; }
.forum-activity { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px; align-items: center; padding: 22px; margin-bottom: 12px; }
.forum-activity .badges { display: flex; gap: 7px; flex-wrap: wrap; }
.forum-activity h2 { margin: 10px 0 8px; color: var(--gold-bright); font-size: 19px; font-weight: 500; letter-spacing: .05em; }
.forum-activity p { margin: 0; color: var(--text-dim); font-size: 13px; line-height: 1.75; white-space: pre-wrap; }
.forum-activity-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; color: var(--muted); font-size: 11px; }
.forum-activity-actions { display: grid; gap: 8px; min-width: 132px; }
.forum-activity-actions .nav-btn { width: 100%; text-align: center; }

/* 锁定态 */
.locked-note { text-align: center; padding: 60px 24px; }
.locked-note .lk { font-size: 46px; margin-bottom: 16px; }
.locked-note h3 { font-size: 20px; color: var(--gold-bright); letter-spacing: .1em; margin-bottom: 12px; }
.locked-note p { font-size: 14px; color: var(--text-dim); line-height: 1.9; max-width: 440px; margin: 0 auto 22px; font-weight: 300; }

/* 右栏 */
.col-side { display: flex; flex-direction: column; gap: 18px; }
.side-card { padding: 20px; }
.side-card .st { font-family: "Cinzel",serif; font-size: 12px; letter-spacing: .25em; color: var(--gold); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border-cool); }
.board-nav { display: grid; gap: 12px; }
.board-nav a { position: relative; min-height: 140px; display: flex; align-items: flex-end; padding: 20px; overflow: hidden; border-radius: 14px; color: #f4f7fb; border: 1px solid var(--border-cool); transition: all .25s; }
.board-nav a::before { content:""; position:absolute; z-index:1; inset:0; background:linear-gradient(180deg,rgba(3,7,14,.06),rgba(3,7,14,.92)); }
.board-nav a::after { content:""; position:absolute; inset:0; border:1px solid transparent; border-radius:inherit; pointer-events:none; }
.board-nav a:hover { border-color:var(--moon); transform:translateY(-2px); box-shadow:0 14px 28px rgba(0,0,0,.35); }
.board-nav a:hover .board-tile-image { transform:scale(1.045); }
.board-nav a.active::after { border-color:rgba(207,224,255,.72); box-shadow:inset 0 0 24px rgba(140,175,235,.18); }
.board-nav .board-tile-image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.board-nav .board-tile-copy { position:relative; z-index:2; }
.board-nav .board-tile-name { display:block; font-size:17px; letter-spacing:.12em; text-shadow:0 2px 12px #000; }
.board-nav .board-tile-desc { display:block; margin-top:5px; font-size:10px; color:#c2cede; letter-spacing:.06em; line-height:1.45; }
.membership-action { margin-left:auto; flex:0 0 auto; min-width:116px; }
.member-list-trigger { flex:0 0 auto; }
.member-directory-list { display:grid; gap:0; }
.member-directory-row { min-height:58px; display:grid; grid-template-columns:14px minmax(0,1fr) auto auto; align-items:center; gap:10px; border-top:1px solid rgba(180,205,235,.14); }
.member-presence { width:8px; height:8px; border-radius:50%; background:#6e7888; }
.member-presence.is-online { background:#65c999; box-shadow:0 0 0 4px rgba(101,201,153,.12); }
.member-directory-name { min-width:0; overflow-wrap:anywhere; color:var(--text); }
.member-directory-role { color:var(--gold); font-size:11px; }
.member-directory-empty { padding:54px 16px; color:var(--muted); text-align:center; }
.directory-title { display:flex; align-items:baseline; gap:12px; color:var(--gold-bright); }
.directory-title span { color:var(--muted); font-size:11px; }
.directory-board { padding:22px 24px; }
.directory-board-head { display:grid; grid-template-columns:48px minmax(0,1fr) 100px; gap:10px; padding:0 0 12px; color:var(--muted); font-size:10px; letter-spacing:.08em; border-bottom:1px solid rgba(180,205,235,.14); }
.author-profile-chip.author-identity-news-reporter,.author-identity-news-reporter .author-identity { color:#f5ce68 !important; text-shadow:0 0 12px rgba(245,178,49,.32); }
.service-note { color:var(--text-dim); line-height:1.7; font-size:12px; }
.service-search { flex:1 1 360px; }
.service-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.service-card { padding:20px; display:flex; min-width:0; flex-direction:column; gap:13px; }
.service-card-head { display:grid; grid-template-columns:12px minmax(0,1fr) auto; align-items:center; gap:8px; }
.service-card-head b { min-width:0; overflow-wrap:anywhere; color:var(--gold-bright); }
.service-card-head small { color:var(--muted); }
.service-game-list { display:flex; flex-wrap:wrap; gap:6px; }
.service-game-list span { padding:3px 8px; border:1px solid var(--border-cool); border-radius:999px; color:var(--moon); font-size:11px; }
.service-card p,.service-booking p { margin:0; color:var(--text-dim); font-size:12px; line-height:1.65; overflow-wrap:anywhere; }
.service-card-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:auto; }
.service-booking { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:14px; padding:16px 0; border-top:1px solid rgba(180,205,235,.14); }
.service-booking:first-child { border-top:0; }
.service-booking small { color:var(--muted); }
.attachment-picker { margin:14px 0; padding:14px; border:1px dashed rgba(180,205,235,.28); border-radius:10px; background:rgba(7,15,30,.45); }
.attachment-picker input { width:100%; color:var(--text-dim); }
.attachment-list { display:grid; gap:8px; margin-top:10px; }
.attachment-chip { display:flex; align-items:center; gap:9px; padding:9px 11px; border-radius:8px; background:rgba(154,190,235,.08); color:var(--text); font-size:12px; overflow:hidden; }
.attachment-chip span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.post-attachments { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:10px; margin:14px 0; }
.post-attachment-image { display:block; border:1px solid var(--border-cool); border-radius:10px; overflow:hidden; background:#050a12; }
.post-attachment-image img { display:block; width:100%; max-height:360px; object-fit:contain; }
.post-attachment-file { display:flex; align-items:center; gap:10px; padding:13px; border:1px solid var(--border-cool); border-radius:10px; color:var(--moon); background:rgba(154,190,235,.06); overflow:hidden; }
.post-attachment-file span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.thread-modal-title { margin:0 36px 8px 0; color:var(--gold-bright); line-height:1.45; overflow-wrap:anywhere; }
.thread-modal-meta { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; margin-bottom:14px; color:var(--muted); font-size:12px; }
.thread-modal-meta .admin-delete,
.thread-modal-meta .own-delete { margin-left:auto; }
.thread-actions { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:18px; }
.thread-special { margin:16px 0; padding:16px; border:1px solid rgba(180,205,235,.2); border-radius:10px; background:rgba(128,164,210,.06); color:var(--text-dim); font-size:13px; }
.thread-special b { color:var(--moon); }.thread-special p { line-height:1.7; }.thread-special textarea { width:100%; min-height:80px; margin:12px 0 9px; box-sizing:border-box; padding:12px; background:rgba(4,13,27,.75); border:1px solid rgba(170,196,230,.25); border-radius:8px; color:#eef4ff; }
.mission-entry { padding:14px 0; border-top:1px solid rgba(180,205,235,.14); }
.forum-post { padding:18px 0; border-top:1px solid rgba(180,205,235,.14); scroll-margin:24px; transition:background .25s,box-shadow .25s; }
.forum-post-head { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; color:var(--gold-bright); font-size:12px; }.forum-post-head > span:last-child { color:var(--muted); text-align:right; }
.forum-post-signature { margin-bottom:8px; color:var(--muted); font-size:11px; }
.forum-post-body { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.8; }
.forum-post-actions { display:flex; align-items:center; gap:8px; margin-top:12px; }
.post-reply-action { min-height:34px; padding:6px 12px; font-size:11px; }
.post-delete-action { padding:6px 10px; border:0; background:transparent; color:#e6a7a7; font:inherit; font-size:11px; cursor:pointer; }
.post-reply-context { margin:10px 0 12px; padding:10px 12px; border-left:3px solid rgba(160,195,235,.55); border-radius:0 8px 8px 0; background:rgba(140,175,235,.07); color:var(--text-dim); }
.post-reply-context b { display:block; color:var(--moon); font-size:11px; }.post-reply-context p { margin:4px 0 0; display:-webkit-box; overflow:hidden; font-size:12px; line-height:1.55; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.forum-post-focus { background:rgba(145,183,230,.12); box-shadow:0 0 0 12px rgba(145,183,230,.12); }
.thread-pager { display:flex; align-items:center; justify-content:center; gap:12px; margin:18px 0; color:var(--muted); font-size:12px; }
.reply-composer { margin-top:18px; padding-top:18px; border-top:1px solid rgba(180,205,235,.18); }.reply-composer > textarea { width:100%; min-height:120px; box-sizing:border-box; padding:14px; background:rgba(4,13,27,.75); border:1px solid rgba(170,196,230,.25); border-radius:8px; color:#eef4ff; resize:vertical; }
.reply-target { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; align-items:center; margin:0 0 12px; padding:12px 14px; border:1px solid rgba(163,199,238,.28); border-radius:10px; background:rgba(128,164,210,.08); }.reply-target[hidden] { display:none; }.reply-target b,.reply-target span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.reply-target b { color:var(--moon); font-size:12px; }.reply-target span { margin-top:4px; color:var(--muted); font-size:11px; }
.reply-message { min-height:24px; margin:8px 0; color:#e6a7a7; }.reply-disabled { padding:18px; border:1px solid rgba(180,205,235,.14); color:var(--text-dim); text-align:center; }
.rank li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; color: var(--text); list-style: none; }
.rank li .rk { width: 20px; font-family: "Cinzel",serif; color: var(--gold); }
.rank li .pts { margin-left: auto; font-size: 12px; color: var(--text-dim); }
.side-card .note { font-size: 12.5px; color: var(--text-dim); line-height: 1.9; font-weight: 300; }

@media (max-width: 900px) { .layout { grid-template-columns: 1fr; padding-inline:20px; } .col-side { order: -1; } .board-head .stats { display: none; } }
@media (max-width: 640px) {
  header.nav { display: grid; grid-template-columns: minmax(0,1fr); padding: calc(10px + env(safe-area-inset-top)) 12px 10px; gap: 9px; }
  header.nav .brand { min-width: 0; }
  header.nav .brand img { width: 34px; height: 34px; }
  header.nav .brand .en { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; letter-spacing: .1em; }
  header.nav .brand .cn { display: none; }
  header.nav .actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; gap: 6px; }
  header.nav .actions .nav-btn.ghost { display: none; }
  header.nav .actions .nav-btn.department-link { display: inline-flex; align-items:center; }
  header.nav .actions .nav-btn.activity-link { display: inline-flex; align-items:center; }
  header.nav .actions .nav-btn { min-width: 0; justify-content: center; overflow: hidden; padding-inline: 5px; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
  .nav-btn { min-height: 42px; padding: 9px 12px; }
  .layout { padding: 16px 12px calc(48px + env(safe-area-inset-bottom)); gap: 14px; }
  .col-side { order: 1; }
  .side-card { padding: 14px; }
  .board-nav { grid-template-columns:1fr; gap:10px; }
  .board-nav a { min-height:104px; }
  .board-head { align-items: flex-start; flex-wrap: wrap; padding: 17px 16px; gap: 12px; }
  .board-head .h { min-width: 0; flex: 1; }
  .board-head .em { font-size: 34px; }
  .board-head .h .name { font-size: 20px; }
  .membership-action { width:100%; margin-left:0; }
  .member-list-trigger { width:100%; }
  .member-directory-row { grid-template-columns:14px minmax(0,1fr) auto; padding:9px 0; }
  .member-directory-role { display:none; }
  .member-remove { grid-column:2 / -1; justify-self:start; }
  .tabs { width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .tab { min-height: 42px; white-space: nowrap; }
  .new-post { width: 100%; margin-left: 0; text-align: center; min-height: 44px; }
  .thread-search { display:grid; grid-template-columns:minmax(0,1fr) auto; width:100%; min-width:0; }
  .thread-search input { grid-column:1 / -1; width:100%; }
  .thread-search select { min-width:0; width:100%; }
  .service-search { grid-template-columns:minmax(0,1fr) auto; }
  .service-search input { grid-column:auto; }
  .thread { padding: 15px 14px; gap: 10px; }
  .thread .nums { display: none; }
  .board-pager { display:grid; grid-template-columns:1fr 1fr; gap:9px; text-align:center; }
  .board-pager span { grid-column:1 / -1; grid-row:1; }
  .forum-activity { grid-template-columns: 1fr; padding: 17px 15px; }
  .forum-activity-actions { grid-template-columns: 1fr; min-width: 0; }
  #forumModal { padding: 10px !important; align-items: end !important; backdrop-filter:none !important; -webkit-backdrop-filter:none !important; }
  #forumModal > .card { width: 100% !important; max-height: 92dvh !important; padding: 22px 16px calc(18px + env(safe-area-inset-bottom)) !important; border-radius: 18px 18px 0 0 !important; }
  #forumModal textarea { min-height: 150px !important; font-size: 16px; }
  #forumModal .nav-btn { width: 100%; }
  #forumModal .post-reply-action,#forumModal .post-delete-action { width:auto !important; }
  .forum-post-head { align-items:flex-start; flex-direction:column; }.forum-post-head > span:last-child { text-align:left; }
  .reply-target { grid-template-columns:1fr; }.thread-pager { display:grid; grid-template-columns:1fr 1fr; text-align:center; }.thread-pager span { grid-column:1/-1; grid-row:1; }
  .directory-board { padding:15px 14px; }
  .directory-board-head { display:none; }
  .service-grid { grid-template-columns:1fr; }
  .service-booking { grid-template-columns:1fr; }
  .service-card-actions .nav-btn { flex:1 1 130px; }
  header.nav,.card,#forumModal > .card { backdrop-filter:none !important; -webkit-backdrop-filter:none !important; }
}
@media (prefers-reduced-motion:reduce) { .forum-post { transition:none; }.forum-post-focus { box-shadow:0 0 0 6px rgba(145,183,230,.12); } }
.board-icon { width: 28px; height: 28px; object-fit: cover; border-radius: 7px; flex: 0 0 auto; }
.board-hero-icon { width: 76px; height: 76px; object-fit: cover; border-radius: 18px; flex: 0 0 auto; border: 1px solid var(--border-cool); }

/* 学院食堂使用独立的明亮日间主题；其他版块继续沿用守夜人夜间视觉。 */
body[data-board="cafeteria"] header.nav {
  padding-block: 10px;
  border-bottom-color: rgba(126, 143, 151, .28);
  background: rgba(255, 253, 248, .84);
  box-shadow: 0 8px 28px rgba(91, 81, 64, .07);
  backdrop-filter: blur(18px) saturate(1.04);
  -webkit-backdrop-filter: blur(18px) saturate(1.04);
}
body[data-board="cafeteria"] header.nav .brand { gap: 13px; }
body[data-board="cafeteria"] header.nav .brand img {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 4px 13px rgba(115, 93, 50, .1);
}
body[data-board="cafeteria"] header.nav .brand .en { color: #173651; font-size: 16px; }
body[data-board="cafeteria"] header.nav .brand .cn { color: #5e6d78; }
body[data-board="cafeteria"] header.nav .actions { gap: 4px; }
body[data-board="cafeteria"] header.nav .nav-btn {
  position: relative;
  min-height: 38px;
  padding: 8px 13px;
  border-color: transparent;
  color: #4e5f6a;
  background: transparent;
  box-shadow: none;
}
body[data-board="cafeteria"] header.nav .nav-btn:hover { color: #173651; background: rgba(225, 230, 226, .48); }
body[data-board="cafeteria"] header.nav .nav-btn[aria-current="page"] { color: #8d6c2c; }
body[data-board="cafeteria"] header.nav .nav-btn[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 2px;
  left: 13px;
  height: 2px;
  background: #a8843a;
}
body[data-board="cafeteria"] .realm-v3-cassell-launch { display: none; }
body[data-board="cafeteria"] .realm-v3-cassell-launch + .layout,
body[data-board="cafeteria"] .layout { max-width: 1600px; padding-top: 22px; }
body[data-board="cafeteria"] .crumb { margin: 0 4px 13px; color: #78838a; }
body[data-board="cafeteria"] .crumb a { color: #596e7d; }
body[data-board="cafeteria"] .board-head {
  min-height: 116px;
  margin-bottom: 18px;
  padding: 18px 8px 20px;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body[data-board="cafeteria"] .board-head::before { display: none; }
body[data-board="cafeteria"] .cafeteria-heading .name {
  color: #173651;
  font-size: clamp(34px, 3.1vw, 48px);
  letter-spacing: .08em;
  text-shadow: 0 2px 0 rgba(255, 255, 255, .75);
}
body[data-board="cafeteria"] .cafeteria-heading .desc {
  margin-top: 8px;
  color: #9b7a36;
  font-size: 14px;
  letter-spacing: .12em;
}
body[data-board="cafeteria"] .toast {
  border-color: rgba(160, 128, 61, .5);
  color: #173651;
  background: rgba(255, 253, 248, .96);
  box-shadow: 0 12px 32px rgba(83, 74, 57, .18);
}

@media (max-width: 640px) {
  body[data-board="cafeteria"] header.nav { padding-block: calc(8px + env(safe-area-inset-top)) 8px; }
  body[data-board="cafeteria"] header.nav .brand img { width: 42px; height: 42px; }
  body[data-board="cafeteria"] header.nav .actions .nav-btn[aria-current="page"] { display: inline-flex; }
  body[data-board="cafeteria"] .board-head { min-height: 92px; padding-inline: 3px; }
  body[data-board="cafeteria"] .cafeteria-heading .name { font-size: 30px; }
}
.author-secondary-mark.title-purple{border-color:rgba(166,112,205,.62);color:#d8adf1;background:rgba(103,49,139,.2);box-shadow:0 0 12px rgba(142,78,181,.12)}
.author-secondary-mark.title-gold{border-color:rgba(226,181,87,.68);color:#f5d58c;background:rgba(139,93,27,.2);box-shadow:0 0 14px rgba(219,164,55,.14)}
.author-secondary-mark.title-pink{border-color:rgba(226,130,165,.65);color:#f3b6cb;background:rgba(147,58,92,.2);box-shadow:0 0 12px rgba(209,96,138,.12)}
