/* 모던 베이스 + 2000년대 레트로 포인트. 모바일 우선.
   테마: 다크 기본(:root), html[data-theme="light"]에서 라이트 오버라이드. */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

:root {
  --bg: #0f1220; --panel: #181c30; --panel2: #1f2440;
  --text: #e8eaf2; --dim: #9aa1bd; --line: #2c3252;
  --accent: #7c5cff; --verified: #37c978; --retro: #ffd34d;
  --hero-title: #f4f6fa; --hero-title-glow: 0 0 60px rgba(59, 52, 214, .35);
  --hero-tagline: #8e88ff; --hero-cta-shadow: 0 8px 28px rgba(59, 52, 214, .42);
  --cta-bg: #fff; --cta-text: #0f1220; --cta-hover: #e7ecf4;
  --gnb-bg: rgba(15, 18, 32, .85); --gnb-text: #fff; --gnb-link: #c6d0de; --gnb-hover: #181c30;
  --seg-track: #0f1220; --seg-active: #1f2440;
  --scrim: rgba(5, 7, 11, .7);
  --talk-accent: #7c86f5;
  --danger: #e5484d;
  --card-shadow: 0 16px 40px rgba(0, 0, 0, .35);
  --pv-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}
html[data-theme="light"] {
  --bg: #f6f8fc; --panel: #fff; --panel2: #eef1f6;
  --text: #0e1524; --dim: #5a6b82; --line: #e2e8f1;
  --accent: #6146e0; --verified: #37c978; --retro: #a37b00;
  --hero-title: #0e1524; --hero-title-glow: none;
  --hero-tagline: #3b34d6; --hero-cta-shadow: 0 8px 22px rgba(59, 52, 214, .28);
  --cta-bg: #0e1524; --cta-text: #fff; --cta-hover: #1b2537;
  --gnb-bg: rgba(255, 255, 255, .85); --gnb-text: #0e1524; --gnb-link: #354052; --gnb-hover: #f6f8fc;
  --seg-track: #eef1f6; --seg-active: #fff;
  --scrim: rgba(14, 21, 36, .5);
  --talk-accent: #3b34d6;
  --danger: #d64045;
  --card-shadow: 0 16px 40px rgba(14, 21, 36, .08);
  --pv-shadow: 0 1px 3px rgba(14, 21, 36, .06), 0 8px 24px rgba(14, 21, 36, .05);
}
* { box-sizing: border-box; margin: 0; }
body { background: var(--bg); color: var(--text);
  font-family: "Pretendard Variable", Pretendard, "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.6; transition: background .25s ease, color .25s ease; }
a { color: inherit; }
h2 { font-size: 1.5rem; margin-bottom: .3rem; }
main { max-width: 960px; margin: 0 auto; padding: 0 1rem; }
section { padding: 3rem 0; border-top: 1px solid var(--line); }
.section-sub { color: var(--dim); margin-bottom: 1.5rem; }
.flash { position: sticky; top: 64px; z-index: 9; background: var(--accent);
  color: #fff; text-align: center; padding: .6rem 1rem; }

/* GNB — claude design "Blending Navbar.dc.html" */
.gnb { position: sticky; top: 0; z-index: 50; background: var(--gnb-bg);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line); transition: background 180ms ease, border-color 180ms ease; }
.gnb-inner { max-width: 1200px; margin: 0 auto; height: 64px; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.gnb-word { display: inline-flex; align-items: center; color: var(--gnb-text); font-weight: 800;
  font-size: 21px; letter-spacing: -.01em; text-transform: uppercase; line-height: 1;
  text-decoration: none; transition: color 180ms ease; }
.gnb-menu { display: flex; align-items: center; gap: 4px; }
.gnb-link { display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 8px;
  color: var(--gnb-link); font-size: 14px; font-weight: 500; letter-spacing: -.005em;
  text-decoration: none; transition: color 180ms ease, background 180ms ease; }
.gnb-link:hover { color: var(--gnb-text); background: var(--gnb-hover); }
.gnb-link.cur { color: var(--gnb-text); background: var(--gnb-hover); }
.gnb-sep { width: 1px; height: 22px; background: var(--line); margin: 0 6px; }
.gnb-icon { display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 0; background: transparent; cursor: pointer;
  border-radius: 8px; color: var(--dim); transition: color 180ms ease, background 180ms ease; }
.gnb-icon:hover { color: var(--gnb-text); background: var(--gnb-hover); }
.gnb-moon { display: none; }
html[data-theme="light"] .gnb-sun { display: none; }
html[data-theme="light"] .gnb-moon { display: block; }
.gnb-cta { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px;
  margin-left: 6px; background: var(--cta-bg); color: var(--cta-text); border-radius: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: -.005em; text-decoration: none; border: 0;
  cursor: pointer; font-family: inherit; transition: background 180ms ease, color 180ms ease; }
.gnb-cta:hover { background: var(--cta-hover); }
.gnb-user { color: var(--gnb-link); font-size: 14px; padding: 0 6px; max-width: 32vw;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 719px) {
  .gnb-inner { padding: 0 16px; }
  .gnb-link, .gnb-sep { display: none; }
}

/* 히어로 — claude design "Blending Hero.dc.html" */
.hero { position: relative; min-height: calc(100vh - 64px); display: flex; flex-direction: column;
  align-items: center; justify-content: center; overflow: hidden; text-align: center;
  padding: 3rem 1rem; background: var(--bg); transition: background .25s ease; }
.hero-glow { position: absolute; width: 1000px; height: 1000px; left: 50%; top: -40%;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(53, 23, 153, .55) 0%, rgba(44, 62, 196, .2) 46%, rgba(15, 18, 32, 0) 72%); }
html[data-theme="light"] .hero-glow { width: 100%; height: 100%; left: 0; top: 0; transform: none;
  background: radial-gradient(90% 70% at 50% -10%, #e9edf8 0%, rgba(255, 255, 255, 0) 60%); }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center;
  gap: 22px; padding: 0 16px; }
.hero-lockup { display: inline-flex; flex-direction: column; align-items: stretch; width: fit-content; }
.hero-logo { font-size: clamp(64px, 15vw, 150px); font-weight: 800; letter-spacing: -.045em;
  line-height: .92; color: var(--hero-title); text-shadow: var(--hero-title-glow); }
.hero-club { font-size: clamp(12px, 2.2vw, 20px); font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--dim); text-align: right; margin-top: 2px; }
.hero-slogan { font-size: clamp(22px, 3.4vw, 32px); font-weight: 700; letter-spacing: -.02em;
  color: var(--hero-tagline); }
.hero-sub { font-size: 16px; color: var(--dim); max-width: 520px; line-height: 1.6; }
.hero-cta { margin-top: 8px; display: inline-flex; align-items: center; gap: 9px; height: 54px;
  padding: 0 32px; border-radius: 11px; background: #3b34d6; color: #fff; font-size: 16px;
  font-weight: 600; text-decoration: none; transition: filter .15s ease;
  box-shadow: var(--hero-cta-shadow); }
.hero-cta:hover { filter: brightness(1.13); }
.hero-cta span { font-size: 18px; line-height: 1; }

/* 타임라인 카드 — 레트로 브라우저 프레임 */
.cards { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 1rem; text-decoration: none; transition: transform .15s; }
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card h3 { margin-top: .8rem; font-size: 1.02rem; }
.card-era { color: var(--retro); font-size: .78rem; letter-spacing: .12em; }
.card p:last-child { color: var(--dim); font-size: .88rem; margin-top: .3rem; }
.card-frame { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #cdd2e4; }
.card-bar { display: flex; align-items: center; gap: 4px; background: #b7bdd6; padding: 4px 6px; }
.card-bar span { width: 8px; height: 8px; border-radius: 50%; background: #8a91b0; }
.card-bar em { font-style: normal; font-size: .62rem; color: #3c4260; margin-left: 4px;
  background: #e6e9f5; border-radius: 3px; padding: 0 6px; flex: 1; text-align: left; }
.card-frame img, .card-ph { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: top; display: block; }
.card-ph { display: flex; align-items: center; justify-content: center; background:
  repeating-linear-gradient(45deg, #d8dcec, #d8dcec 12px, #cdd2e4 12px, #cdd2e4 24px); }
.card-ph span { font-size: 2rem; color: #6a7194; font-weight: 700; }

/* 공지 */
.notice { background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
  padding: 1rem 1.2rem; margin-bottom: .8rem; }
.notice time { color: var(--dim); font-size: .8rem; }

/* 방명록 */
.badge { background: var(--verified); color: #06230f; font-size: .72rem;
  border-radius: 4px; padding: .1rem .4rem; font-weight: 700; }
.gb-tabs { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.gb-form { background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 1.1rem; display: flex; flex-direction: column; gap: .6rem; }
.gb-form.verified { border-color: var(--verified); }
.gb-form input, .gb-form textarea, .gb-owner-form input, .gb-owner-form textarea {
  background: var(--panel2); border: 1px solid var(--line); border-radius: 6px;
  color: var(--text); padding: .55rem .7rem; font: inherit; }
.gb-form textarea, .gb-owner-form textarea { min-height: 90px; resize: vertical; }
.btn-primary, .btn-verified { border: 0; border-radius: 6px; padding: .6rem;
  font: inherit; font-weight: 700; cursor: pointer; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-verified { background: var(--verified); color: #06230f; }
.linklike { background: none; border: 0; color: var(--dim); cursor: pointer;
  font: inherit; text-decoration: underline; padding: 0; }
.gb-hint { color: var(--dim); font-size: .8rem; }
.hp { position: absolute; left: -9999px; }        /* honeypot */
.gb-list { list-style: none; margin-top: 1.5rem; display: flex; flex-direction: column; gap: .8rem; padding: 0; }
.gb-item { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.2rem; }
.gb-item.verified { border-left: 4px solid var(--verified); }
.gb-meta { display: flex; gap: .6rem; align-items: baseline; }
.gb-meta time { color: var(--dim); font-size: .78rem; margin-left: auto; }
.gb-blind { color: var(--dim); font-style: italic; }
.gb-actions { margin-top: .4rem; display: flex; gap: .8rem; }
.gb-owner-form { margin-top: .6rem; display: flex; flex-direction: column; gap: .5rem; }
.gb-owner-form[hidden] { display: none; }
.gb-empty, .degraded { color: var(--dim); text-align: center; padding: 1.5rem; }
.gb-pages { display: flex; gap: .5rem; justify-content: center; margin-top: 1.2rem; }
.gb-pages .cur { color: var(--retro); font-weight: 700; }
.gb-board-hint { margin-top: 1.6rem; text-align: center; color: var(--dim); }

/* 페이지뷰 카운터 — claude design "Blending 페이지뷰 카운터.dc.html" (히어로 내 컴팩트) */
.pv-card { width: 320px; max-width: 100%; margin-top: 14px; text-align: left;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--pv-shadow); overflow: hidden;
  transition: background .25s ease, border-color .25s ease; }
.pv-head { display: flex; align-items: center; gap: 8px; padding: 13px 18px 0; }
.pv-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--talk-accent);
  animation: pvPulse 2s ease-in-out infinite; }
@keyframes pvPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.82); } }
.pv-label { font-size: 10px; font-weight: 600; letter-spacing: .14em; color: var(--dim); }
.pv-body { display: flex; align-items: stretch; gap: 18px; padding: 10px 18px 16px; }
.pv-col { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.pv-col-label { font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--dim); }
.pv-num { font-size: 28px; font-weight: 800; line-height: 1; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; color: var(--text); }
.pv-num.accent { color: var(--talk-accent); }
.pv-sep { width: 1px; background: var(--line); }

/* 토스트 */
.toast { position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 12px);
  z-index: 200; background: var(--panel2); color: var(--text); border: 1px solid var(--line);
  border-radius: 10px; padding: .7rem 1.2rem; font-size: 14px; max-width: calc(100vw - 32px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3); opacity: 0;
  transition: opacity .25s ease, transform .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 한줄 Talk — claude design "talk.dc.html" */
.talk { border-top: 0; scroll-margin-top: 84px; }   /* 스티키 GNB(64px)에 가리지 않게 */
.talk-card { max-width: 640px; margin: 0 auto; background: var(--panel);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--card-shadow);
  overflow: hidden; transition: background .25s ease, border-color .25s ease; }
.talk-head { display: flex; align-items: center; gap: 12px; padding: 18px 22px;
  border-bottom: 1px solid var(--line); }
.talk-head-bar { width: 9px; height: 22px; border-radius: 999px; background: var(--talk-accent);
  flex: none; }
.talk-head h1, .talk-head h2 { margin: 0; font-size: 1.15rem; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.2; }
.talk-total { font-variant-numeric: tabular-nums; font-size: 11px; color: var(--dim);
  letter-spacing: .01em; }
.talk-compose { display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 16px 22px; background: var(--bg); border-bottom: 1px solid var(--line);
  transition: background .25s ease; }
.talk-user { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 38px;
  padding: 0 12px; border-radius: 8px; background: var(--panel2);
  font-size: 13px; font-weight: 700; color: var(--text); }
.talk-user svg { color: var(--talk-accent); }
.talk-compose input[name="body"] { flex: 1; min-width: 160px; height: 38px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--panel);
  color: var(--text); font-family: inherit; font-size: 14px; outline: none;
  transition: border-color .12s; }
.talk-compose input[name="body"]:focus { border-color: var(--talk-accent); }
.talk-send { display: inline-flex; align-items: center; justify-content: center; height: 38px;
  padding: 0 18px; border: 0; border-radius: 8px; background: var(--talk-accent); color: #fff;
  font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  text-decoration: none; }   /* a 태그로도 쓰인다 (게시판 빈 상태 버튼) */
.talk-send:hover { filter: brightness(1.12); }
.talk-hint { width: 100%; margin: 0; font-size: .75rem; color: var(--dim); }
.talk-gate { display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 34px 22px; background: var(--bg); border-bottom: 1px solid var(--line);
  text-align: center; }
.talk-gate-icon { display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px; background: var(--panel2); color: var(--dim); }
.talk-gate p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--dim); }
.talk-list { list-style: none; margin: 0; padding: 2px 22px 8px; }
.talk-item { display: flex; flex-direction: column; gap: 6px; padding: 15px 2px;
  border-bottom: 1px solid var(--line); }
.talk-item:last-child { border-bottom: 0; }
.talk-meta { display: flex; align-items: center; gap: 8px; }
.talk-badge { display: inline-flex; align-items: center; justify-content: center;
  width: 19px; height: 19px; border-radius: 999px; flex: none; }
.talk-badge.verified { background: var(--talk-accent); color: #fff; }
.talk-badge.temp { background: var(--panel2); color: var(--dim); }
.talk-nick { font-size: 13px; font-weight: 700;
  color: var(--text); }
.talk-meta time { margin-left: auto; font-variant-numeric: tabular-nums; font-size: 11px;
  color: var(--dim); white-space: nowrap; }
.talk-msg { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--text);
  word-break: break-word; }
.talk-msg.blind { color: var(--dim); font-style: italic; }
.talk-empty { padding: 2rem 0; text-align: center; color: var(--dim); }
.talk-actions { display: flex; justify-content: flex-end; gap: 14px; margin-top: 2px; }
.talk-actions button, .talk-actions a { display: inline-flex; align-items: center; gap: 4px;
  border: 0; background: none; padding: 0; color: var(--dim);
  font-variant-numeric: tabular-nums; font-size: 11.5px; font-weight: 600; cursor: pointer; }
.talk-actions .gb-edit-btn:hover { color: var(--talk-accent); }
.talk-actions .gb-del-btn:hover { color: var(--danger); }
.talk-pages { display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 22px; border-top: 1px solid var(--line); }
.talk-page { display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; height: 32px; padding: 0 6px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
  font-size: 13px; font-weight: 700;
  text-decoration: none; }
a.talk-page:hover { border-color: var(--talk-accent); }
.talk-page.cur { background: var(--talk-accent); border-color: var(--talk-accent); color: #fff; }
.talk-page.off { opacity: .4; }
.talk .degraded { padding: 2rem 1rem; }
/* 로그인 팝업 — claude design "Login Popup.dc.html" */
.lp-overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center;
  justify-content: center; padding: 24px; background: var(--scrim); }
.lp-overlay[hidden] { display: none; }
.lp-card { width: 420px; max-width: 100%; max-height: 100%; overflow-y: auto;
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .45), 0 4px 12px rgba(0, 0, 0, .18); }
.lp-head { display: flex; align-items: flex-start; justify-content: space-between;
  padding: 22px 24px 0; }
.lp-head h3, .lp-head .lp-title { margin: 0; font-size: 19px; font-weight: 800;
  letter-spacing: -.02em; }
.lp-head p { font-size: 13px; color: var(--dim); }
.lp-close { display: flex; align-items: center; justify-content: center; width: 34px;
  height: 34px; border-radius: 9px; border: 0; background: transparent; color: var(--dim);
  cursor: pointer; transition: background .15s, color .15s; }
.lp-close:hover { background: var(--panel2); color: var(--text); }
.lp-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 18px 24px 0;
  padding: 4px; background: var(--seg-track); border: 1px solid var(--line); border-radius: 12px; }
.lp-tab { height: 38px; border: 0; border-radius: 9px; cursor: pointer; font-family: inherit;
  font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; background: transparent;
  color: var(--dim); transition: background .15s, color .15s, box-shadow .15s; }
.lp-tab.cur { background: var(--seg-active); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.lp-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 14px; }
.lp-body[hidden] { display: none; }
.lp-field { display: flex; flex-direction: column; gap: 5px; font-size: .8rem;
  font-weight: 600; color: var(--dim); }
.lp-field input, .lp-field textarea { background: var(--panel2); border: 1px solid var(--line);
  border-radius: 8px; color: var(--text); padding: .65rem .8rem; font: inherit; }
.lp-field input:focus, .lp-field textarea:focus, .cmt-compose textarea:focus,
.bnb-search input:focus { outline: none; border-color: var(--talk-accent); }
.lp-desc { display: flex; gap: 10px; padding: 13px 14px; background: var(--bg);
  border: 1px solid var(--line); border-radius: 11px; font-size: 12.5px; line-height: 1.55;
  color: var(--dim); }
.lp-desc svg { flex-shrink: 0; margin-top: 2px; }
.lp-desc strong { display: block; color: var(--text); letter-spacing: -.01em; }
.lp-cta { height: 46px; border: 0; border-radius: 10px; background: var(--cta-bg);
  color: var(--cta-text); font-family: inherit; font-size: 14.5px; font-weight: 700;
  cursor: pointer; transition: background 180ms ease, color 180ms ease; }
.lp-cta:hover { background: var(--cta-hover); }
.lp-switch { text-align: center; font-size: 12.5px; color: var(--dim); }
.lp-switch a { color: var(--accent); text-decoration: none; }
.lp-switch a:hover { text-decoration: underline; }

/* 푸터 — claude design "Orca Footer.dc.html" (구분선은 내부 룰 하나만) */
.footer { background: var(--bg); margin-top: 3rem; transition: background .25s ease; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 72px 40px 36px; }
.footer-row { padding-top: 26px; border-top: 1px solid var(--line); display: flex;
  justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--dim); }
.footer-built { margin-left: auto; white-space: nowrap; }
.ft-heart { color: #f04e4e; }
@media (max-width: 719px) { .footer-inner { padding: 48px 20px 28px; } }

/* 관리자 */
.adm-tabs { display: flex; gap: 1rem; margin: 1rem 0 1.5rem; align-items: baseline; }
.adm-tabs a { color: var(--dim); text-decoration: none; }
.adm-tabs a.cur { color: var(--retro); font-weight: 700; }
.adm-table { width: 100%; border-collapse: collapse; font-size: .88rem; margin-bottom: 2rem; }
.adm-table th, .adm-table td { border: 1px solid var(--line); padding: .45rem .6rem; text-align: left; vertical-align: top; }
.adm-table tr.muted { opacity: .45; }
.inline { display: inline; }
.adm-table input[type="text"] { background: var(--panel2); border: 1px solid var(--line);
  border-radius: 4px; color: var(--text); padding: .15rem .4rem; }

/* ===== 게시판 — 설계: 2026-07-15-board-redesign-design.md ===== */
/* 접근성: 키보드 포커스 링 (게시판 도입과 함께 전역 신설) */
a:focus-visible, button:focus-visible { outline: 2px solid var(--talk-accent); outline-offset: 2px; }

/* 서브 GNB — 메인 GNB(64px) 아래 스티키 컨텍스트 바 */
.bnb { position: sticky; top: 64px; z-index: 40; background: var(--gnb-bg);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line); transition: background 180ms ease, border-color 180ms ease; }
.bnb-inner { max-width: 840px; margin: 0 auto; min-height: 52px; padding: 8px 16px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.bnb-title { display: inline-flex; align-items: center; gap: 9px; font-size: 15px;
  font-weight: 800; letter-spacing: -.01em; color: var(--text); text-decoration: none; }
.bnb-title .talk-head-bar { width: 7px; height: 18px; }
.bnb-spacer { flex: 1; }
.bnb-link { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px;
  border-radius: 8px; color: var(--gnb-link); font-size: 13.5px; font-weight: 600;
  text-decoration: none; transition: color 180ms ease, background 180ms ease; }
.bnb-link:hover { color: var(--gnb-text); background: var(--gnb-hover); }
.bnb-write { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px;
  border: 0; border-radius: 8px; background: var(--talk-accent); color: #fff; font-size: 13px;
  font-weight: 700; text-decoration: none; cursor: pointer; }
.bnb-write:hover { filter: brightness(1.12); }
.bnb-search { position: relative; display: flex; align-items: center; }
.bnb-search svg { position: absolute; left: 10px; color: var(--dim); pointer-events: none; }
.bnb-search input { height: 34px; width: 190px; padding: 0 12px 0 32px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--panel2);
  color: var(--text); font: inherit; font-size: 13px; }
@media (max-width: 719px) { .bnb-search input { width: 132px; } }

/* 본문 컨테이너 + 카드 셸 */
.board-main { max-width: 840px; margin: 0 auto; padding: 24px 16px 0; }
.board-main .flash { position: static; border-radius: 10px; margin-bottom: 16px; }
.board-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--card-shadow); overflow: hidden;
  transition: background .25s ease, border-color .25s ease; }
.th-action { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--talk-accent);
  text-decoration: none; white-space: nowrap; }
.th-action:hover { text-decoration: underline; }

/* 공지 고정 행 — 목록 상단, '공지' 칩 + 날짜만 (기능 변경 2026-07-15) */
.nt-chip { flex: none; align-self: center; margin-right: 8px; padding: 2px 7px; border-radius: 6px;
  background: var(--talk-accent); color: #fff; font-size: 10.5px; font-weight: 800;
  letter-spacing: .02em; line-height: 1.4; }
.nt-list { padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.nt-list + .b-list { padding-top: 6px; }

/* 목록 행 — 제목+메타 1줄, 메타는 고정폭 칼럼 (claude design 캔버스 2026-07-15) */
.b-list { list-style: none; margin: 0; padding: 2px 14px 8px; }
.b-row { border-bottom: 1px solid var(--line); }
.b-row:last-child { border-bottom: 0; }
.b-link { display: flex; align-items: center; gap: 16px; padding: 13px 8px;
  text-decoration: none; border-radius: 10px; transition: background .12s ease; }
.b-link:hover { background: var(--panel2); }
.b-title { flex: 1; display: flex; align-items: baseline; min-width: 0; font-size: 15.5px;
  font-weight: 700; letter-spacing: -.01em; color: var(--text); line-height: 1.45; }
.b-tx { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }  /* 제목만 말줄임, 뱃지는 유지 */
.b-link:hover .b-title { color: var(--talk-accent); }
.b-cnt { flex: none; margin-left: 6px; color: var(--talk-accent); font-size: 12.5px;
  font-weight: 700; font-variant-numeric: tabular-nums; }
.b-new { flex: none; align-self: center; margin-left: 6px; padding: 1.5px 4.5px;
  display: inline-block; border-radius: 4px; background: var(--danger); color: #fff;
  font-size: 9.5px; font-weight: 800; line-height: 1.3; letter-spacing: .04em; }
.b-meta { flex: none; display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--dim); }
.b-meta .talk-badge { width: 17px; height: 17px; }
.b-nick { width: 84px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-size: 12.5px; font-weight: 700; color: var(--text); }
.b-views { width: 44px; display: inline-flex; align-items: center; gap: 4px;
  font-variant-numeric: tabular-nums; }
.b-meta time { width: 42px; text-align: left; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 719px) {  /* 좁은 화면 목록은 기존 2줄 스택 유지 (post-nav 미니 행은 1줄 그대로) */
  .b-list .b-link { flex-direction: column; align-items: stretch; gap: 5px; }
  .b-list .b-meta { gap: 7px; }
  .b-list .b-nick, .b-list .b-views, .b-list .b-meta time { width: auto; }
  .b-list .b-nick { min-width: 0; }
  .b-list .b-meta time { margin-left: auto; }
}
.b-empty { display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 44px 20px; color: var(--dim); text-align: center; }

/* 글보기 */
.post-head { padding: 20px 22px 16px; border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px; }
.post-title { margin: 0; font-size: clamp(19px, 3.2vw, 24px); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.35; word-break: break-word; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--dim); }
.post-meta .b-nick { font-size: 13px; }
.post-meta time { font-variant-numeric: tabular-nums; }
.post-body { padding: 20px 22px 10px; font-size: 15px; line-height: 1.75;
  word-break: break-word; }
.post-body a { color: var(--talk-accent); }
.post-foot { display: flex; justify-content: flex-end; padding: 6px 22px 16px; }
/* 글보기 하단 '게시글 목록' — 현재 글 하이라이트 미니 목록 (claude design 캔버스 2026-07-15) */
.post-nav { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--panel); overflow: hidden;
  transition: background .25s ease, border-color .25s ease; }
.pn-head { display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 11px 16px; border-bottom: 1px solid var(--line); }
.pn-head b { font-size: 13px; font-weight: 800; letter-spacing: -.01em; color: var(--text); }
.pn-head a { font-size: 12px; font-weight: 700; color: var(--dim); text-decoration: none; }
.pn-head a:hover { color: var(--talk-accent); }
.pn-item { gap: 12px; padding: 8px 16px; border-radius: 0; }
.pn-item + .pn-item { border-top: 1px solid var(--line); }
.pn-item .b-title { font-size: 13px; font-weight: 600; }
.pn-item .b-cnt { font-size: 11.5px; margin-left: 5px; }
.pn-item .b-new { margin-left: 5px; }
.pn-item .b-meta { gap: 10px; font-size: 11px; }
.pn-item .b-meta .talk-badge { width: 15px; height: 15px; }
.pn-item .b-nick { width: 64px; font-size: 11.5px; }
.pn-item .b-views { width: 38px; }
.pn-item .b-meta time { width: 38px; font-size: 11px; }
.pn-item.cur { background: var(--panel2); cursor: default; }
.pn-item.cur .b-title { color: var(--talk-accent); }
.pn-item.cur .b-tx { font-weight: 800; }
.pn-item.cur .pn-dot { flex: none; width: 5px; height: 5px; border-radius: 999px;
  background: var(--talk-accent); align-self: center; margin-right: 2px; }

/* 댓글 — talk-item 재사용 + 입력줄 */
/* 앵커(#comments, #c{id}) 도착 시 스티키 GNB(64)+bnb(53)에 가리지 않게 */
.cmt-head, .board-main .talk-item { scroll-margin-top: 128px; }
.cmt-head { display: flex; align-items: center; gap: 12px; padding: 15px 22px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cmt-head h2 { margin: 0; font-size: 1rem; font-weight: 800; letter-spacing: -.02em; }
.cmt-compose { display: flex; gap: 10px; align-items: center; padding: 16px 22px;
  background: var(--bg); border-top: 1px solid var(--line); transition: background .25s ease; }
.cmt-compose textarea { flex: 1; min-width: 160px; min-height: 44px; max-height: 220px;
  padding: 10px 12px; resize: vertical; border: 1px solid var(--line); border-radius: 8px;
  background: var(--panel); color: var(--text); font: inherit; font-size: 14px; }

/* 글쓰기 */
.write-card { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 14px; }
.write-card .talk-head { padding: 0 0 6px; border-bottom: 0; }
.write-title input { font-size: 16.5px; font-weight: 700; }
.write-body { min-height: 320px; resize: vertical; font-size: 14.5px; line-height: 1.7; }
.write-count { align-self: flex-end; margin-top: -8px; font-size: 12px; color: var(--dim);
  font-variant-numeric: tabular-nums; }
.write-count.warn { color: var(--danger); }
.write-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.write-submit { display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 26px; border: 0; border-radius: 10px;
  background: var(--talk-accent); color: #fff; font-family: inherit; font-size: 14.5px;
  font-weight: 700; cursor: pointer; }
.write-submit:hover { filter: brightness(1.12); }
.write-submit:disabled { opacity: .6; cursor: default; filter: none; }
.write-cancel { display: inline-flex; align-items: center; justify-content: center; height: 44px;
  padding: 0 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel2);
  color: var(--text); font-family: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer;
  text-decoration: none; transition: background 160ms ease, border-color 160ms ease; }
.write-cancel:hover { background: var(--panel); border-color: var(--dim); }

/* 인라인 폼 오류 (flash와 구분되는 danger 박스) */
.form-error { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px;
  border: 1px solid var(--danger); border-radius: 11px; color: var(--danger);
  font-size: 13px; line-height: 1.55; }

/* 게시판 로그인 — lp-card 인라인 재사용 */
.login-page { display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 48px 16px 24px; }
.login-page .lp-card { width: 420px; }
.login-page .form-error { margin: 16px 24px 0; }
.login-hint { text-align: center; color: var(--dim); font-size: 13.5px; }
.login-hint a { color: var(--talk-accent); }

/* 관리자 표 잔여 규칙 (admin은 adm-table 유지 — 이식하지 않음) */
.adm-table td a { color: var(--text); text-decoration: none; }
.adm-table td a:hover { color: var(--accent); }
