/* 맨 위 한줄 공지 띠 - 정적 회원 사이트 공통 모양(2026-11-28, 동작은 tn.js). 색 · 높이 · 안쪽 여백은 아래 사이트 칸에서 변수로 정한다.
   --tn-h 높이 · --tn-bg 바탕 · --tn-fg 글자 · --tn-line 아래 선 · --tn-ico 아이콘 · --tn-pad 좌우 여백 · --tn-wrap 내용 최대 폭 */
.tn-bar { position: relative; z-index: 60; height: var(--tn-h, 32px); overflow: hidden; background: var(--tn-bg, #101826); color: var(--tn-fg, #f2f5fa); border-bottom: 1px solid var(--tn-line, rgba(255, 255, 255, 0.12)); font-size: 13px; line-height: 1; }
.tn-in { display: flex; align-items: center; gap: 8px; height: 100%; max-width: var(--tn-wrap, none); margin: 0 auto; padding: 0 var(--tn-pad, 16px); box-sizing: border-box; }
.tn-ico { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--tn-ico, currentColor); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tn-view { position: relative; flex: 1; min-width: 0; height: 20px; overflow: hidden; }
/* 다음 줄이 아래에서 0.4초 동안 올라오며 나타난다(엔젤벳 공지 줄과 같은 넘김). */
.tn-line { position: absolute; inset: 0; overflow: hidden; color: inherit; font-weight: 600; line-height: 20px; white-space: nowrap; text-overflow: ellipsis; text-decoration: none; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s linear 0.4s; }
.tn-line.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
a.tn-line[href]:hover { text-decoration: underline; text-underline-offset: 3px; }
.tn-line:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; border-radius: 4px; }

/* 쇼부카지노: 머리띠(.hd)가 화면 위 고정이고 쪽마다 --hd-h 로 본문을 내린다. 띠도 화면 맨 위에 고정하고, 띠가 있으면(html.tn-on)
   --hd-h 에 띠 높이를 더해 본문 · 붙는 칸이 같이 내려가게 하고 머리띠는 띠 아래(top = 띠 높이)에 원래 높이로 둔다. 색은 머리띠와 같은 검정 + 금 선 · 상아 글자. */
:root { --tn-h: 32px; }
.tn-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 51; --tn-bg: linear-gradient(90deg, #0b0806 0%, #1a130b 50%, #0b0806 100%); --tn-fg: #f3e9d6; --tn-line: rgba(217, 177, 101, 0.22); --tn-ico: #d8b064; --tn-pad: 0px; --tn-wrap: min(100% - 2 * var(--gut, 24px), var(--wrap, 1320px)); }
html.tn-on { --hd-h: calc(76px + var(--tn-h)); }
html.tn-on .hd { top: var(--tn-h); height: calc(var(--hd-h) - var(--tn-h)); }
@media (max-width: 760px) {
  :root { --tn-h: 30px; }
  .tn-bar { font-size: 12.5px; }
  html.tn-on { --hd-h: calc(62px + var(--tn-h)); }
}
