/* Source Han Sans KR — Adobe; license: fonts/source-han-sans-kr/LICENSE.txt */
@font-face{font-family:"Source Han Sans KR";font-style:normal;font-weight:100 900;font-display:swap;src:url("../fonts/source-han-sans-kr/SourceHanSansKR-VF.woff2") format("woff2")}
/* 사이트 디자인 값 — 뼈대(기능 CSS)와 디자인을 나누는 첫 단계 (2026-10-16).
   다른 사이트(예: 슈토커)는 이 파일만 바꿔서 글꼴·색을 바꾼다. 모든 페이지에서 가장 먼저 읽는다.
   예전엔 base.css · refresh.css(두 번) · neutral-surfaces.css 가 같은 색 변수를 차례로 덮어썼는데, 마지막에 남던 값만 여기 한 번 둔다 */
:root{
  /* 글꼴 — 본문 전체 (이모지는 운영체제 → 구글 Noto Color Emoji 순) */
  --fz-font:"Source Han Sans KR",-apple-system,"Apple SD Gothic Neo","Malgun Gothic","Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif;
  /* 색 — 이름은 예전 그대로 (기능 CSS 가 이 이름을 쓴다) */
  --green:#2f63c9;   /* 강조색 — 글자·테두리용 (#6495ed 를 진하게, 흰 바탕 대비 5:1) */
  --ink:#1e222a;     /* 본문 글자 */
  --muted:#6e7b92;   /* 흐린 글자 */
  --line:#dfe6f3;    /* 선 */
  --soft:#f0f4fa;    /* 옅은 바탕 */
  /* 슈토커 파란색 (2026-10-19) — 기준 #6495ed. accent: 칠하는 색(버튼·출석 표시·로고 띠), accent-ink: 그 위 글자/진한 버전 */
  --fz-accent:#6495ed;--fz-accent-dark:#3f72d6;--fz-accent-soft:#e8effc;
  /* 회색 단계 — CSS 곳곳에 직접 적혀 있던 회색을 이 이름으로 (tools/css_tokens.py). 값을 바꾸면 사이트 전체 톤이 바뀐다.
     g0 검정 → gf 흰색 16단계, 그 사이 밝은 회색은 두 자리(ge5 = #e5e5e5) */
  --fz-g0:#060709;--fz-g1:#0e1014;--fz-g2:#1d2027;--fz-g3:#2b313b;--fz-g4:#39414f;--fz-g5:#475163;--fz-g6:#566176;--fz-g7:#64718a;
  --fz-g8:#778399;--fz-g9:#8b95a7;--fz-ga:#9ea6b6;--fz-gb:#b1b8c5;--fz-gc:#c5cad3;--fz-gd:#ced8ec;--fz-ge:#e6ecf6;--fz-gf:#ffffff;
  --fz-ge3:#d6dff0;--fz-ge5:#d9e1f1;--fz-ge6:#dbe3f1;--fz-ge9:#dfe6f3;--fz-ged:#e5ebf5;
  --fz-gf0:#e9eef7;--fz-gf2:#ecf0f8;--fz-gf3:#eef1f8;--fz-gf4:#eff3f9;--fz-gf5:#f0f4fa;--fz-gf7:#f3f6fb;--fz-gfa:#f8f9fc;
}
/* 회색 단계는 파란 기운을 섞은 값 (원래 순수 회색 — tools_export/theme.citizen.css.bak) */
html .primary,html .memo-row button{border-color:var(--fz-accent-dark);background:var(--fz-accent-dark);color:#fff}
html .primary:hover,html .memo-row button:hover{border-color:var(--fz-accent);background:var(--fz-accent)}
/* 선택된 대메뉴 — 시티젠의 검정 대신 슈토커 파란색 (글자 진한 파랑 · 밑줄 기준 파랑) */
html #site-header #main-nav button.active{color:var(--fz-accent-dark)}
html #site-header #main-nav button.active:after{background:var(--fz-accent);height:2px}
/* 목록 제목 앞 댓글 수 칸 (site.js commentBadge) */
.count-badge{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:22px;height:18px;margin-right:7px;padding:0 5px;box-sizing:border-box;background:var(--fz-accent);color:#fff;font-size:11px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums;vertical-align:1px}
/* 카테고리 색 (site.js categoryColors) — 탭 글자 · 목록 카테고리 글자 */
html #board .tabs button.cat-colored{color:var(--cat)}
html #board .tabs button.cat-colored small{color:var(--cat);opacity:.75}
html [data-cat-colored]{color:var(--cat)!important}
/* 목록 제목 뒤 댓글 수 [3] — 파란색 */
html #board .title .count{color:var(--fz-accent-dark)}
/* 글 보기 커스텀 필드 표 · 다운로드 버튼 · 정회원 전용 안내 (js/boards/post-fields.js) */
html #detail .post-fields{width:calc(100% - 24px);max-width:none;margin:24px 12px 0;border-collapse:collapse;table-layout:fixed;border-top:1px solid var(--line);font-size:14px}
html .post-fields th,html .post-fields td{box-sizing:border-box;height:52px;padding:8px 16px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.post-fields th{width:130px;background:var(--fz-gf5);color:var(--fz-g3);font-weight:700;white-space:nowrap}
.post-fields td{color:var(--fz-g3)}
.field-download{display:inline-flex;align-items:center;justify-content:center;min-width:120px;height:32px;padding:0 16px;background:var(--fz-accent);color:#fff!important;font-size:13px;font-weight:600;letter-spacing:.04em;text-decoration:none}
.field-download:hover{background:var(--fz-accent-dark)}
.post-locked{box-sizing:border-box;height:286.5px;margin:0;padding:0 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.post-locked h1{font-size:20px;margin:0 0 12px}
.post-locked p{color:#888;margin:0 0 20px}
.post-locked .login-link{display:inline-block;padding:9px 18px;border:1px solid #222;color:#222;text-decoration:none}
@media(max-width:760px){.post-fields{max-width:none}.post-fields th{width:96px}}
/* 에디터에서 안 쓰는 도구 (site.js features → html.no-*) */
.no-sheet [data-mode="sheet"],.no-game .fct-game,.no-book .fct-book{display:none!important}
/* 제목 색 (js/boards/title-color.js) */
.title-row{position:relative}
.title-color{position:relative;flex:none;display:flex;align-items:stretch}
/* 제목 입력칸에 붙은 칸 — 카테고리 칸과 같은 높이·바탕·테두리, 아래 색 띠가 고른 색 */
html .title-color-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:46px;height:42px;margin-left:-1px;padding:0;border:1px solid #ced8ec;background:#f3f6fb;color:var(--fz-g3);font:inherit;font-size:15px;font-weight:800;line-height:1;cursor:pointer;box-shadow:none}
html .title-color-btn::after{content:'';width:18px;height:3px;background:var(--tc,transparent);box-shadow:inset 0 0 0 1px var(--fz-gc)}
html .title-color-btn[aria-pressed="true"]{color:var(--tc)}
html .title-color-btn[aria-pressed="true"]::after{box-shadow:none}
html .title-color-btn:hover,html .title-color-btn[aria-expanded="true"]{background:#e8effc}
.title-color-pop{position:absolute;right:0;top:calc(100% + 4px);z-index:30;display:grid;grid-template-columns:repeat(5,22px);gap:6px;padding:10px;background:var(--fz-gf);border:1px solid var(--line);box-shadow:0 6px 18px rgba(20,30,60,.12)}
.title-color-pop[hidden]{display:none}
.title-color-pop button{width:22px;height:22px;border:1px solid rgba(0,0,0,.08);padding:0;cursor:pointer}
.title-color-pop button.is-none{background:linear-gradient(135deg,#fff 45%,#e03131 45%,#e03131 55%,#fff 55%)}
.title-color-pop button:hover{outline:2px solid var(--fz-accent);outline-offset:1px}
.post-title-text[data-bold]{font-weight:700}
/* 추천 (js/boards/votes.js) — 글: 본문 아래 가운데 큰 버튼, 댓글: 답글 옆 작은 버튼 */
.post-vote{display:flex;justify-content:center;margin:28px 0 8px}
.vote-btn{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:var(--fz-gf);color:var(--fz-g5);font:inherit;cursor:pointer;line-height:1}
.vote-btn b{font-weight:700;font-variant-numeric:tabular-nums;color:var(--fz-g3)}
.vote-post{height:42px;padding:0 20px;font-size:14px}
.vote-comment{height:24px;padding:0 8px;font-size:12px;margin-right:6px}
.vote-comment span{display:none}
html .comment-buttons{display:flex;align-items:center;gap:10px;margin-top:8px}
html .comment-buttons .vote-comment{order:1;margin:0 0 0 auto;padding:4px 0}
.vote-btn:not(:disabled):hover{border-color:var(--fz-accent);color:var(--fz-accent-dark)}
.vote-btn.is-voted{border-color:var(--fz-accent);background:var(--fz-accent-soft);color:var(--fz-accent-dark)}
.vote-btn.is-voted b{color:var(--fz-accent-dark)}
.vote-btn.is-voted svg path{fill:currentColor;fill-opacity:.18}
.vote-btn:disabled{cursor:default;opacity:.6}

/* 스크랩 — 추천 버튼 옆 (js/boards/scrap.js) */
.post-vote{gap:8px}
.scrap-btn.is-voted svg path{fill:currentColor;fill-opacity:.25}

/* 설문 — 글 보기 투표 칸 · 글쓰기 설문 만들기 칸 (js/boards/poll.js) */
.post-poll{max-width:520px;margin:24px auto 0;padding:16px 18px;border:1px solid var(--line);background:var(--fz-gf)}
.poll-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:10px;font-size:13px}
.poll-head b{color:var(--fz-accent-dark)}
.poll-head span{color:var(--fz-g8);font-size:12px}
.poll-q+.poll-q{margin-top:14px}
.poll-q h4{margin:0 0 8px;font-size:15px;font-weight:600}
.poll-q h4 small{font-weight:400;color:var(--fz-g8);font-size:12px}
.poll-q ul{margin:0;padding:0;list-style:none;display:grid;gap:6px}
.poll-q label{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--line);cursor:pointer;font-size:14px}
.poll-q label:hover{border-color:var(--fz-accent)}
.poll-q input{accent-color:var(--fz-accent)}
.poll-result{position:relative;display:flex;justify-content:space-between;gap:10px;padding:8px 10px;border:1px solid var(--line);font-size:14px;overflow:hidden}
.poll-bar{position:absolute;inset:0 auto 0 0;background:var(--fz-accent-soft)}
.poll-result.is-mine{border-color:var(--fz-accent)}
.poll-result.is-mine .poll-bar{background:color-mix(in srgb,var(--fz-accent) 28%,transparent)}
.poll-label,.poll-num{position:relative}
.poll-label{min-width:0;overflow-wrap:anywhere}
.poll-num{flex:none;color:var(--fz-g5);font-size:12px;font-variant-numeric:tabular-nums}
.poll-submit{margin-top:12px;width:100%;height:38px}
.poll-foot{margin:10px 0 0;font-size:12px;color:var(--fz-g8);text-align:center}
.poll-builder{margin:10px 0 4px;padding:14px;border:1px solid var(--line);background:var(--fz-gfa,#fafbfe);display:grid;gap:8px}
.poll-b-head{display:flex;justify-content:space-between;align-items:center}
.poll-b-head b{color:var(--fz-accent-dark);font-size:14px}
.poll-builder input:not([type=date]),.poll-builder select,.poll-b-stop{box-sizing:border-box;height:34px;padding:0 10px;border:1px solid var(--line);background:var(--fz-gf);font:inherit;font-size:14px}
.poll-b-title{width:100%}
.poll-b-items{margin:0;padding:0;list-style:none;display:grid;gap:6px}
.poll-b-items li{display:flex;gap:6px}
.poll-b-items input{flex:1;min-width:0}
.poll-builder button{height:34px;padding:0 12px;border:1px solid var(--line);background:var(--fz-gf);font:inherit;font-size:13px;cursor:pointer;color:var(--fz-g5)}
.poll-builder button:hover{border-color:var(--fz-accent);color:var(--fz-accent-dark)}
.poll-b-del{flex:none;width:34px;padding:0!important}
.poll-b-add{justify-self:start}
.poll-b-opts{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:13px;color:var(--fz-g5)}
.poll-b-opts label{display:flex;align-items:center;gap:6px}
.poll-b-note{margin:0;font-size:12px;color:var(--fz-g8)}
.no-poll .fct-poll{display:none!important}
/* 스크랩 목록의 지워진 글 줄 — 누르는 곳 없이 */
.member-records .rec-row-plain{display:flex;gap:20px;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--line);font-size:13px;color:var(--fz-g8)}
/* 관리 → 방문 통계 — 최근 30일 막대 (admin/admin-stats.js) */
.stat-bars{display:flex;align-items:flex-end;gap:3px;height:160px;padding:10px 0 22px;border-bottom:1px solid var(--line)}
.stat-bar{position:relative;flex:1;min-width:0;height:100%;display:flex;align-items:flex-end}
.stat-bar i{display:block;width:100%;height:var(--h);min-height:1px;background:var(--fz-accent);opacity:.75}
.stat-bar:hover i,.stat-bar.is-today i{opacity:1;background:var(--fz-accent-dark)}
.stat-bar em{position:absolute;left:50%;bottom:-19px;transform:translateX(-50%);font-style:normal;font-size:10px;color:var(--fz-g8);white-space:nowrap}
@media(max-width:560px){.stat-bar:nth-child(odd) em{display:none}}
html .poll-builder .poll-b-opts label{display:flex;align-items:center;gap:6px;margin:0;font-size:13px;font-weight:400;color:var(--fz-g5)}
html .poll-builder .poll-b-opts select,html .poll-builder .poll-b-opts input{width:auto;margin:0}
/* 맨 위로 버튼 — 푸터 위 본문 오른쪽 바깥 (js/core/footer.js) */
.to-top{position:absolute;left:100%;bottom:28px;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:44px;height:44px;margin-left:12px;padding:0;border:1px solid rgba(255,255,255,.14);background:#1c2333;color:#fff;cursor:pointer;pointer-events:auto;box-shadow:0 4px 14px rgba(15,22,40,.18);transition:background-color .15s,transform .15s}
.to-top svg{width:16px;height:16px}
.to-top::after{content:'TOP';font-size:9px;font-weight:700;letter-spacing:.08em;line-height:1}
.to-top:hover{background:var(--fz-accent);border-color:var(--fz-accent);transform:translateY(-2px)}   /* 푸터와 같은 남색 — 흰 화면·어두운 리플레이 화면 모두 어울리게. 푸터에서 28px 띄운다 */
@media(max-width:1150px){.to-top{display:none}}   /* 시티젠처럼 본문 바깥에 자리가 없으면 숨긴다 — 본문 안으로 들어오지 않는다 (1024 + 양쪽 44px 버튼 자리) */
/* 관리 → 개요 맨 위 [전체현황 | 오늘] 방문자 · 페이지뷰 (admin/admin-stats.js) */
.stat-strip{display:grid;grid-template-columns:1fr 1fr;margin:0 0 18px;border:1px solid var(--line);background:var(--fz-gf)}
.stat-strip-cell{padding:12px 16px}
.stat-strip-cell+.stat-strip-cell{border-left:1px solid var(--line)}
.stat-strip dt{margin:0 0 4px;font-size:12px;color:var(--fz-g8)}
.stat-strip dd{margin:0;font-size:14px;color:var(--fz-g5)}
.stat-strip b{color:var(--fz-accent-dark);font-variant-numeric:tabular-nums}
@media(max-width:560px){.stat-strip{grid-template-columns:1fr}.stat-strip-cell+.stat-strip-cell{border-left:0;border-top:1px solid var(--line)}}
/* 라이브 메뉴 옆 '보는 사람 있음' 점(시티젠 HZ-TV 라이브용)은 슈토커 다시보기에서 안 쓴다 */
html [data-go="라이브"]::after{display:none!important}

/* 흰 머리 + 파란 포인트 (2026-10-20, 파란 바탕 머리에서 바꿈) — 시티젠(흰 머리·초록)과 구별되게:
   지금 메뉴는 형광펜(글자 아래쪽 절반에 연파랑) · 로고 띠·끝 점 파랑 · 아이콘은 회색, 올리면 연파랑 바탕에 파랑 */
html #site-header{background:#fff;border-top:3px solid var(--fz-accent);border-bottom:1px solid var(--fz-ged,#e4e9f2)}   /* 맨 위 파란 띠 3px */
html #site-header .logo{color:#1d1d1d}
html #site-header .logo-mark{--logo-bar:var(--fz-accent);--logo-overlap:#3f5fa8}   /* 글자 검정 · 띠 파랑 · 겹친 곳 진파랑 */
html #site-header .logo span{color:var(--fz-accent)}   /* 로고 끝 점 — 띠와 같은 파랑 */
html #site-header .notification-button,html #site-header .notification-button.has-unread{color:#4a5263;background:none}
html #site-header .notification-button:hover,html #site-header .notification-button[aria-expanded="true"]{color:var(--fz-accent-dark);background:var(--fz-accent-soft)}
@media(min-width:761px){
 html #site-header #main-nav>button,html #site-header #main-nav .nav-group>[data-go],html #site-header #main-nav .nav-toggle{color:#4a5263}
 html #site-header #main-nav>button:hover,html #site-header #main-nav .nav-group>[data-go]:hover{color:#1d1d1d}
 /* 지금 메뉴 — 각진 연파랑 네모 (2026-10-20, 밑줄·형광펜 대신). 버튼은 머리 높이 전체라 네모는 ::before 로 가운데 32px 만 */
 html #site-header #main-nav button.active,html #site-header #main-nav .nav-group>[data-go].active{color:var(--fz-accent-dark);font-weight:600}
 html #site-header #main-nav button.active{position:relative;isolation:isolate;text-decoration:none}
 html #site-header #main-nav button.active::before{content:'';position:absolute;left:-6px;right:-6px;top:50%;height:32px;transform:translateY(-50%);background:var(--fz-accent-soft);z-index:-1}
 /* 홈 ▾ — 드롭다운 묶음은 화살표까지 한 네모로 (버튼 쪽 네모는 끄고 묶음에 깐다) */
 html #site-header #main-nav .nav-group:has(>[data-go].active){position:relative;z-index:40}   /* 쌓임 맥락을 만들되 z-index 를 줘서 펼친 메뉴가 본문 아래로 깔리지 않게 */
 html #site-header #main-nav .nav-group>[data-go].active::before{display:none}
 html #site-header #main-nav .nav-group:has(>[data-go].active)::before{content:'';position:absolute;left:-6px;right:-2px;top:50%;height:32px;transform:translateY(-50%);background:var(--fz-accent-soft);z-index:-1}
 html #site-header #main-nav button.active:after{display:none}
 /* 홈 ▾ 화살표 — 글자와 같은 색으로 */
 html #site-header #main-nav .nav-group:hover>[data-go]{color:#1d1d1d}
 html #site-header #main-nav .nav-group:hover .nav-toggle,html #site-header #main-nav .nav-toggle[aria-expanded="true"]{color:#1d1d1d}
 html #site-header #main-nav .nav-group:has(.active) .nav-toggle{color:var(--fz-accent-dark)}
}
/* 출석부 달력 아이콘 — 알림 종 옆, 같은 모양 */
html #site-header .attend-button{display:grid;place-items:center;width:36px;height:40px;color:#4a5263;text-decoration:none}
html #site-header .attend-button:hover,html #site-header .attend-button.is-on{color:var(--fz-accent-dark);background:var(--fz-accent-soft)}
@media(max-width:760px){html #site-header .attend-button{width:32px}}
/* 포인트 레벨 아이콘 — base.css 를 안 부르는 페이지(리플레이·관리·개인정보)에서도 15px (머리 프로필 버튼) */
.level-icon{display:inline-block;width:15px;height:15px;vertical-align:-2px;image-rendering:pixelated;flex:none}
td.author .level-icon{margin-right:4px}
.is-level{width:auto!important;height:auto!important;min-width:0!important;background:none!important;border:0!important;border-radius:0!important;display:inline-flex;align-items:center;justify-content:center}
html .comment-head{display:flex;align-items:center;justify-content:flex-start;gap:5px;min-height:20px}
html .comment-head .comment-avatar.is-level{flex:0 0 15px;width:15px!important;height:15px!important;justify-content:flex-start;margin:0;padding:0;line-height:1}
html .comment-head .is-level .level-icon{display:block;margin:0;vertical-align:middle}
html .comment-head b,html .comment-head time{display:inline-flex;align-items:center;min-height:20px;margin:0;line-height:20px}
html .comment-head time{margin-left:3px}
/* 안 읽은 알림 — 종 오른쪽 위 빨간 점 (종 안 채우기와 같이) */
html #site-header .notification-button{position:relative}
html #site-header .notification-button.has-unread::after{content:'';position:absolute;top:9px;right:8px;width:7px;height:7px;border-radius:50%;background:#ff4d4f;box-shadow:0 0 0 2px #fff}
@media(max-width:760px){html #site-header .notification-button.has-unread::after{right:6px}}
/* 모바일 ☰ — 40px 네모 */
@media(max-width:760px){html #site-header #mobile-menu-toggle{width:40px;height:40px;min-width:40px;padding:0;border:1px solid var(--fz-ged,#e4e9f2);background:#fff;color:#1c2333}}   /* 상자 바깥선이 본문·프로필과 같은 16px 선 */
/* 모바일 ☰ — 흰 네모 상자, 열면 남색 */
html #site-header #mobile-menu-toggle[aria-expanded="true"]{background:#1c2333;border-color:#1c2333;color:#fff}   /* 늘 흰 네모(프로필 버튼과 같은 모양) — 열면 남색으로 뒤집힌다 */
/* 닉네임 메뉴 — 누르면 [쪽지 보내기] (js/boards/nick-menu.js) */
html td.author,html .meta-author,html .comment-head b,html .chat-message-head strong,html .att-table .nick,html .podium-who b{cursor:pointer}
html .meta-author:hover,html .comment-head b:hover,html .chat-message-head strong:hover,html .att-table .nick:hover,html td.author:hover{text-decoration:underline;text-underline-offset:3px}
.nick-menu{position:absolute;z-index:600;min-width:140px;padding:4px 0;border:1px solid var(--line);background:var(--fz-gf);box-shadow:0 6px 20px rgba(20,30,60,.14)}
.nick-menu-name{margin:0;padding:6px 12px 5px;border-bottom:1px solid var(--line);font-size:12px;font-weight:700;color:var(--fz-g3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}
.nick-menu button{display:flex;align-items:center;gap:8px;width:100%;height:34px;padding:0 12px;border:0;background:none;font:inherit;font-size:13px;color:var(--fz-g3);text-align:left;cursor:pointer}
.nick-menu button:hover,.nick-menu button:focus-visible{background:var(--fz-accent-soft);color:var(--fz-accent-dark);outline:0}
/* 색을 정하지 않은 카테고리(토크) — 좁은 화면의 제목 앞 카테고리도 넓은 화면 칸과 같은 회색 (파랑이면 요청과 헷갈린다) */
html #board .post-category.category-inline:not([style*="color"]){color:var(--fz-g7)}
/* 모바일 본문 좌우 = 머리와 같은 16px — 게시판·글 보기·쪽지·출석부는 안쪽 칸이 12px 라 main 에 4px 를 더한다 (홈·채팅은 따로 맞춰져 있어 빼고) */
@media(max-width:760px){
 html main.compact-board:not(.home-page):not(.chat-page){padding-left:4px;padding-right:4px}
}
/* 모바일 출석부 글자 키우기 — 10~11px 이던 표·보조 글자를 12~13px (눈 편하게) */
@media(max-width:760px){
 html #attendance td,html #attendance .att-cell span{font-size:13px}
 html #attendance th,html #attendance dt,html #attendance .att-week span,html #attendance .att-mine small{font-size:12px}
 html #attendance .att-top .primary{font-size:13px}
}
/* PC 출석부 글자 키우기 — 표 13px · 머리줄과 보조 글자 12px */
@media(min-width:761px){
 html #attendance th{font-size:12px}
 html #attendance td{font-size:13px}
 html #attendance dt,html #attendance .att-week span,html #attendance .att-mine small,html #attendance .att-top .primary{font-size:12px}
}
/* 내 메뉴 — 포인트 아래 레벨 진행 막대 (js/core/header.js levelProgress) */
.profile-progress{margin:-4px 0 6px;padding:0 14px 8px;border-bottom:1px solid var(--line)}
.profile-progress-bar{display:block;height:6px;background:var(--fz-ge,#e9edf4);overflow:hidden}
.profile-progress-bar i{display:block;height:100%;background:var(--fz-accent)}
html #site-header .profile-progress small{display:flex;justify-content:space-between;gap:8px;width:100%;margin:4px 0 0;padding:0;font-size:11px;font-weight:400;color:var(--fz-g8);font-variant-numeric:tabular-nums}
html #site-header .profile-progress small span{display:inline;margin:0;padding:0;font-size:inherit;color:inherit}
html #site-header #profile-menu{min-width:200px}   /* 레벨 진행 줄이 들어가도 여유 있게 */
html #site-header #profile-menu a.profile-points:has(+ .profile-progress){border-bottom:0}   /* 포인트 줄과 진행 막대 사이 선 없애기 — 둘을 한 덩어리로 */
/* 관리 → 로그인 기록 (admin/admin-logins.js) */
.login-tools{display:flex;align-items:center;gap:10px;margin:0 0 10px}
.login-tools .admin-input{width:260px;max-width:100%}
.login-ip{padding:0;border:0;background:none;font:inherit;color:var(--fz-accent-dark);cursor:pointer}
.login-ip:hover{text-decoration:underline}
/* 관리 → 방문 통계 탭 · 막대 표 (admin/admin-stats.js) */
.stat-tabs{display:flex;gap:0;margin:22px 0 12px;border-bottom:1px solid var(--line)}
.stat-tabs button{height:38px;padding:0 16px;border:0;border-bottom:2px solid transparent;background:none;font:inherit;font-size:14px;color:var(--fz-g7);cursor:pointer;margin-bottom:-1px}
.stat-tabs button[aria-selected="true"]{border-bottom-color:var(--fz-accent);color:var(--fz-accent-dark);font-weight:600}
.stat-sub{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 10px}
.stat-sub .is-on{border-color:var(--fz-accent);color:var(--fz-accent-dark)}
.stat-rows{border-top:1px solid var(--fz-g3)}
.stat-row{display:grid;grid-template-columns:110px minmax(0,1fr) minmax(0,1fr);align-items:center;gap:16px;padding:6px 4px;border-bottom:1px solid var(--line);font-size:13px}
.stat-row-head{font-size:12px;color:var(--fz-g8);padding:8px 4px}
.stat-row.is-now{background:var(--fz-accent-soft)}
.stat-cell{display:flex;align-items:center;gap:8px;min-width:0}
.sbar{flex:1;height:10px;background:var(--fz-gf0,#eef1f6);overflow:hidden}
.sbar i{display:block;height:100%}
.sbar.v i{background:var(--fz-accent)}
.sbar.p i{background:#9db7ea}
.stat-cell b{flex:none;width:76px;text-align:right;font-weight:500;color:var(--fz-g3)}
.sbar-none{color:var(--fz-g9)}
@media(max-width:640px){.stat-row{grid-template-columns:70px minmax(0,1fr) minmax(0,1fr);gap:8px}.stat-cell b{width:52px;font-size:12px}}
/* 최근 30일 막대 — 올리면(포커스) 숫자 말풍선 */
.stat-bar{cursor:default;outline:0}
.stat-tip{position:absolute;left:50%;bottom:calc(var(--h) + 8px);transform:translateX(-50%);z-index:5;display:none;min-width:96px;padding:6px 9px;background:#1c2333;color:#fff;font-size:11px;line-height:1.5;white-space:nowrap;text-align:left;box-shadow:0 4px 12px rgba(0,0,0,.18);pointer-events:none}
.stat-tip b{display:block;font-weight:600;color:#c9d6f5}
.stat-bar:hover .stat-tip,.stat-bar:focus .stat-tip{display:block}
.stat-bar:first-child .stat-tip,.stat-bar:nth-child(2) .stat-tip{left:0;transform:none}
.stat-bar:last-child .stat-tip,.stat-bar:nth-last-child(2) .stat-tip{left:auto;right:0;transform:none}
/* 시간별 기간 고르기 — 사이트 카테고리 탭과 같은 얇은 네모 */
.stat-sub .stat-pill{height:30px;padding:0 12px;border:1px solid var(--line);border-radius:0;background:var(--fz-gf);font:inherit;font-size:13px;color:var(--fz-g6);cursor:pointer}
.stat-sub .stat-pill:hover{border-color:var(--fz-accent);color:var(--fz-accent-dark)}
.stat-sub .stat-pill.is-on{border-color:var(--fz-accent);background:var(--fz-accent);color:#fff}
/* 방문 통계 — 탭 오른쪽 달·해 고르기 */
.stat-tabs{align-items:center}
.stat-pick{display:flex;align-items:center;gap:4px;margin-left:auto;padding-bottom:4px}
.stat-pick .stat-pill{width:30px;height:30px;padding:0;border:1px solid var(--line);background:var(--fz-gf);font-size:15px;color:var(--fz-g6);cursor:pointer}
.stat-pick .stat-pill:disabled{opacity:.35;cursor:default}
.stat-pick input,.stat-pick select{height:30px;padding:0 8px;border:1px solid var(--line);border-radius:0;background:var(--fz-gf);font:inherit;font-size:13px;color:var(--fz-g3)}
/* 최근 30일 — 방문자 · 페이지뷰 나란히 막대 */
.stat-legend{display:flex;align-items:center;gap:6px;margin:-4px 0 8px;font-size:12px;color:var(--fz-g6)}
.stat-legend i{display:inline-block;width:10px;height:10px;margin-left:6px}
.stat-legend i:first-child{margin-left:0}
.stat-legend i.v,.stat-pair i.v{background:var(--fz-accent-dark)}
.stat-legend i.p,.stat-pair i.p{background:#a9c1f0}
.stat-legend small{color:var(--fz-g8)}
.stat-legend span{color:var(--fz-g9);margin-left:4px}
.stat-bars.two .stat-bar>i{display:none}
.stat-pair{display:flex;align-items:flex-end;gap:1px;width:100%;height:100%}
.stat-pair i{flex:1;min-height:1px}
.stat-bars.two .stat-bar:hover .stat-pair i,.stat-bars.two .stat-bar:focus .stat-pair i{filter:brightness(.9)}
.stat-bars.two .stat-bar.is-today .stat-pair i.v{background:#1c2333}
/* 날 사이 여백 넓히기 — 막대 쌍은 칸의 60%만 */
.stat-bars.two{gap:6px}
.stat-bars.two .stat-pair{width:60%;margin:0 auto}
/* 방문자 칸과 페이지뷰 칸 사이를 넓게 — 숫자가 다음 칸 막대에 붙어 보이지 않게 */
.stat-row{gap:16px 40px}
.stat-row>.stat-cell+.stat-cell{padding-left:12px;border-left:1px solid var(--line)}
@media(max-width:640px){.stat-row{gap:8px 14px}.stat-row>.stat-cell+.stat-cell{padding-left:8px}}
/* 글자 가독성 — 메뉴와 목록은 선명하게, 보조 정보는 한 단계 옅게 */
html body{color:var(--fz-g2);font-weight:400}
html #site-header{font-weight:400}
html #site-header #main-nav>button,html #site-header #main-nav .nav-group>[data-go]{color:var(--fz-g2);font-weight:400}
html #site-header #main-nav .nav-dropdown a{color:var(--fz-g3);font-weight:400}
html #site-header #main-nav button.active,html #site-header #main-nav .nav-group>[data-go].active{color:var(--fz-accent-dark);font-weight:400}
html #side-menu a{color:var(--fz-g3);font-weight:400}
html #board td.title,html #detail-list td.title{color:var(--fz-g2);font-weight:400;font-size:14px}
html #detail .detail-content,html .comment-body,html .comment p{color:var(--fz-g2)}
html .toolbar .tabs button{color:var(--fz-g6);font-weight:400}
html .toolbar .tabs button.active{color:var(--fz-g2);font-weight:400}
html #board th,html #detail-list th{color:var(--fz-g6);font-weight:400}
/* 오래된 글 댓글 닫기 (js/boards/comment-guard.js) — 댓글 칸·답글 버튼 숨기고 안내 */
#comments-area.is-closed #comment-form,#comments-area.is-closed .reply-button,#comments-area.is-closed .general-inline-reply{display:none!important}
.comment-closed{margin:14px 0 0;padding:12px 14px;border:1px solid var(--line);background:var(--fz-gf5,#f5f7fb);color:var(--fz-g7);font-size:13px;text-align:center}
