/* 月蝕 웹 — 런처(launcher/src/style.css)와 같은 토큰. 깊은 밤 남보라·검정 바탕에 핏빛 달 하나.
 *  - 모서리 0~6px. 알약 모양 금지 (원형은 상태 점 말고는 쓰지 않음).
 *  - 면은 단색, 경계는 얇은 선. 그라디언트는 그림 위 글자를 읽히게 하는 그늘에만.
 *  - 꽉 찬 붉은색은 화면마다 주 버튼 하나에만. 나머지 강조는 선·글자색.
 *  - 제목은 굵게 압축(라틴 = Eklise Cond, 한글 = Pretendard 800), 본문은 작게.
 */
@font-face { font-family: 'GS Serif'; font-weight: 300; font-display: swap; src: url('/fonts/gesshoku-serif.woff') format('woff'); }
@font-face { font-family: 'Eklise Cond'; font-weight: 700; font-display: swap; src: url('/fonts/eklise-cond-700.woff') format('woff'); unicode-range: U+0000-00FF, U+2013-2014, U+00B7, U+00D7; }
@font-face { font-family: 'Eklise Cond'; font-weight: 600; font-display: swap; src: url('/fonts/eklise-cond-600.woff') format('woff'); unicode-range: U+0000-00FF, U+2013-2014, U+00B7, U+00D7; }
@font-face { font-family: 'Pretendard Web'; font-weight: 400; font-display: swap; src: url('/fonts/pretendard-regular.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard Web'; font-weight: 600; font-display: swap; src: url('/fonts/pretendard-semibold.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard Web'; font-weight: 800; font-display: swap; src: url('/fonts/pretendard-extrabold.woff2') format('woff2'); }
/* 일본어 화면만: Noto Sans CJK JP 조각 (tools/make-ja-font.py, OFL) — 라틴·숫자는 Pretendard 가 그린다 */
@font-face { font-family: 'Eklise JP'; font-weight: 100 500; font-display: swap; src: url('/fonts/noto-sans-jp-400.woff') format('woff'); unicode-range: U+3000-30FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FF00-FFEF; }
@font-face { font-family: 'Eklise JP'; font-weight: 501 900; font-display: swap; src: url('/fonts/noto-sans-jp-700.woff') format('woff'); unicode-range: U+3000-30FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FF00-FFEF; }

:root {
  color-scheme: dark;
  --bg0: #050409;
  --bg1: #09080e;
  --s1: #0f0d16;
  --s2: #16131f;
  --s3: #1f1a2a;
  --well: #08070c;
  --line: rgba(232, 224, 255, 0.07);
  --line2: rgba(232, 224, 255, 0.12);
  --line3: rgba(232, 224, 255, 0.2);
  --ink: #eeeaf3;
  --ink2: #b3abc2;
  --ink3: #8a8299;
  --ink4: #5a536a;
  --red: #cc2f62;
  --red-hi: #de4177;
  --red-lo: #8c1d44;
  --red-ink: #ff8db3;
  --red-wash: rgba(204, 47, 98, 0.12);
  --violet: #6f5bc4;
  --violet-lo: #2b2148;
  --violet-ink: #b9abff;
  --ok: #72d39b;
  --ok-wash: rgba(114, 211, 155, 0.08);
  --warn: #f0a46a;
  --warn-wash: rgba(240, 164, 106, 0.1);
  --r: 4px;
  --r-lg: 6px;
  --gut: 24px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --sans: 'Pretendard', 'Pretendard Web', 'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --cond: 'Eklise Cond', 'Pretendard', 'Pretendard Web', 'Noto Sans CJK KR', system-ui, sans-serif;
  --serif: 'GS Serif', 'Noto Serif CJK JP', 'Noto Serif CJK KR', serif;
  --mono: 'JetBrains Mono', 'IBM Plex Mono', 'D2Coding', ui-monospace, monospace;
}
html:lang(ja) {
  --sans: 'Pretendard Web', 'Eklise JP', 'Noto Sans CJK JP', 'Hiragino Sans', 'Yu Gothic UI', 'Meiryo', system-ui, sans-serif;
  --cond: 'Eklise Cond', 'Pretendard Web', 'Eklise JP', 'Noto Sans CJK JP', 'Hiragino Sans', system-ui, sans-serif;
}
html:lang(ja) body { word-break: normal; line-break: strict; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg0); color: var(--ink); font: 14px/1.6 var(--sans); -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red-ink); outline-offset: 2px; }
::selection { background: rgba(204, 47, 98, .4); }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); }
main { flex: 1; }
.px { image-rendering: pixelated; }
.mono { font-family: var(--mono); font-size: .92em; }
.muted { color: var(--ink3); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── 위쪽 바 ── */
.nav { position: sticky; top: 0; z-index: 20; background: #07060b; border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 26px; height: 26px; }
.brand b { font: 300 21px/1 var(--serif); color: var(--ink); letter-spacing: .02em; }
.brand span { font: 700 12px/1 var(--cond); letter-spacing: .32em; color: var(--ink3); }
.nav-links { display: flex; align-items: stretch; gap: 4px; height: 100%; }
.nav-links a { position: relative; display: flex; align-items: center; padding: 0 12px; font-weight: 600; font-size: 13.5px; color: var(--ink2); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.on { color: var(--ink); }
.nav-links a.on::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--red); }
.nav-r { margin-left: auto; display: flex; align-items: center; gap: 10px; min-width: 0; }
.nav-search { display: flex; }
.nav-search input { width: 190px; height: 32px; padding: 0 10px; border: 1px solid var(--line2); border-right: 0; border-radius: var(--r) 0 0 var(--r); background: var(--well); font-size: 13px; }
.nav-search button { height: 32px; padding: 0 10px; border: 1px solid var(--line2); border-radius: 0 var(--r) var(--r) 0; background: var(--s2); color: var(--ink2); cursor: pointer; font-size: 12.5px; font-weight: 600; }
.nav-acc { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px 0 4px; border: 1px solid var(--line); border-radius: var(--r); background: var(--s1); font-weight: 600; font-size: 13px; }
.nav-acc:hover { border-color: var(--line2); }
.langs { display: flex; border: 1px solid var(--line2); border-radius: var(--r); }
.langs a { font: 600 11px/1 var(--cond); letter-spacing: .1em; color: var(--ink3); padding: 8px 7px; }
.langs a + a { border-left: 1px solid var(--line2); }
.langs a:hover { color: var(--ink); }
.langs a.on { color: var(--ink); background: var(--s3); }

/* ── 단추·입력 ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border: 1px solid var(--line2); border-radius: var(--r); background: var(--s2); color: var(--ink); font-weight: 600; font-size: 13.5px; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s; }
.btn:hover { background: var(--s3); border-color: var(--line3); }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn.primary:hover { background: var(--red-hi); border-color: var(--red-hi); }
.btn.line { background: transparent; }
.btn.danger { background: transparent; border-color: rgba(204, 47, 98, .45); color: var(--red-ink); }
.btn.danger:hover { background: var(--red-wash); }
.btn.sm { height: 30px; padding: 0 11px; font-size: 12.5px; }
.btn.lg { height: 46px; padding: 0 22px; font-size: 15px; }
.btn[disabled], .btn.off { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn small { font: 600 11px var(--cond); letter-spacing: .1em; opacity: .75; }
.field { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--line2); border-radius: var(--r); background: var(--well); font-size: 14px; transition: border-color .15s; }
textarea.field { height: auto; min-height: 220px; padding: 10px 12px; line-height: 1.6; resize: vertical; font-family: var(--sans); }
select.field { appearance: none; padding-right: 30px; background-image: linear-gradient(45deg, transparent 50%, var(--ink3) 50%), linear-gradient(135deg, var(--ink3) 50%, transparent 50%); background-position: calc(100% - 15px) 17px, calc(100% - 10px) 17px; background-size: 5px 5px; background-repeat: no-repeat; }
.field:focus { outline: none; border-color: var(--red-lo); box-shadow: 0 0 0 1px var(--red-lo); }
label.lb { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink2); margin: 0 0 6px; }
.form-row { margin-bottom: 16px; }
.hint { font-size: 12px; color: var(--ink3); margin-top: 6px; }
.err { padding: 10px 12px; border: 1px solid rgba(204, 47, 98, .45); border-left: 3px solid var(--red); background: var(--red-wash); color: var(--red-ink); font-size: 13px; margin-bottom: 16px; border-radius: var(--r); }
.note { padding: 10px 12px; border: 1px solid var(--line2); border-left: 3px solid var(--violet); background: var(--s1); color: var(--ink2); font-size: 13px; margin-bottom: 16px; border-radius: var(--r); }
.note.ok { border-left-color: var(--ok); }

/* ── 제목 ── */
.kick { font: 700 11.5px/1 var(--cond); letter-spacing: .2em; text-transform: uppercase; color: var(--red-ink); }
.ttl { font: 800 30px/1.15 var(--sans); letter-spacing: -.01em; }
.ttl.lat { font-family: var(--cond); font-weight: 700; letter-spacing: .01em; }
.sec { padding: 56px 0; }
.sec + .sec { padding-top: 8px; }
.sec-h { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sec-h .ttl { margin-top: 8px; }
.sec-h a.more { font-size: 12.5px; font-weight: 600; color: var(--ink3); white-space: nowrap; }
.sec-h a.more:hover { color: var(--ink); }
.page-h { padding: 36px 0 20px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.page-h .ttl { margin-top: 8px; font-size: 34px; }
.page-h p { margin-top: 8px; color: var(--ink2); font-size: 13.5px; max-width: 640px; }

/* ── 홈 ── */
.hero { position: relative; min-height: min(620px, 82vh); display: flex; align-items: center; border-bottom: 1px solid var(--line); overflow: hidden; background: #08060c; }
.hero-bg { position: absolute; inset: 0; background: #05040a url('/static/bg/home.webp') 72% 42% / cover no-repeat; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 4, 9, .94) 0%, rgba(5, 4, 9, .78) 36%, rgba(5, 4, 9, .15) 70%, rgba(5, 4, 9, 0) 100%), linear-gradient(0deg, rgba(5, 4, 9, .9) 0%, rgba(5, 4, 9, 0) 30%); }
.hero-in { position: relative; padding: 64px var(--gut) 56px; }
.hero h1 { font: 300 clamp(80px, 11vw, 132px)/.95 var(--serif); letter-spacing: .02em; color: var(--ink); margin-top: 18px; }
.hero h1 + .lat { font: 700 15px/1 var(--cond); letter-spacing: .62em; color: var(--ink3); margin: 14px 0 0 6px; }
.hero h2 { font: 800 clamp(26px, 3.2vw, 38px)/1.2 var(--sans); margin-top: 30px; letter-spacing: -.01em; }
.hero h2 em { font-style: normal; color: var(--red-ink); }
.hero p.lead { margin-top: 14px; max-width: 470px; color: var(--ink2); font-size: 14.5px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.lookup { margin-top: 30px; max-width: 470px; }
.lookup label { display: block; font: 700 11px var(--cond); letter-spacing: .2em; color: var(--ink3); margin-bottom: 8px; }
.lookup form { display: flex; }
.lookup input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; background: rgba(8, 7, 12, .85); border: 1px solid var(--line3); border-right: 0; border-radius: var(--r) 0 0 var(--r); font-size: 15px; }
.lookup input:focus { outline: none; border-color: var(--red-lo); }
.lookup button { height: 46px; padding: 0 18px; border: 1px solid var(--line3); border-radius: 0 var(--r) var(--r) 0; background: var(--s2); font-weight: 700; cursor: pointer; }
.lookup button:hover { background: var(--s3); }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.num { padding: 26px var(--gut); border-right: 1px solid var(--line); }
.num:last-child { border-right: 0; }
.num .k { font-size: 12px; color: var(--ink3); font-weight: 600; }
.num .v { font: 700 46px/1.05 var(--cond); margin-top: 6px; letter-spacing: -.01em; }
.num .v small { font-size: 18px; color: var(--ink3); margin-left: 6px; letter-spacing: .04em; }
.num .s { font-size: 12px; color: var(--ink3); margin-top: 4px; }
.cols2 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; }
.news { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.news-i { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; padding: 14px; background: var(--s1); transition: background-color .15s; }
a.news-i:hover { background: var(--s2); }
.news-i img { width: 132px; height: 96px; object-fit: cover; border-radius: 3px; background: var(--well); }
.news-i .meta { display: flex; gap: 10px; align-items: center; font-size: 11.5px; color: var(--ink3); }
.tag { display: inline-block; padding: 2px 6px; border: 1px solid var(--line2); border-radius: 3px; font-size: 11px; font-weight: 600; color: var(--ink2); line-height: 1.4; }
.tag.red { border-color: rgba(204, 47, 98, .5); color: var(--red-ink); }
.tag.ok { border-color: rgba(114, 211, 155, .4); color: var(--ok); }
.tag.vio { border-color: rgba(111, 91, 196, .6); color: var(--violet-ink); }
.tag.warn { border-color: rgba(240, 164, 106, .5); color: var(--warn); }
.news-i h3 { font-size: 15px; font-weight: 800; margin-top: 6px; }
.news-i p { font-size: 13px; color: var(--ink2); margin-top: 4px; }
.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.feat > div { background: var(--s1); padding: 22px; position: relative; min-height: 220px; overflow: hidden; }
.feat .glyph { font: 300 54px/1 var(--serif); color: var(--red-ink); opacity: .9; }
.feat h3 { font-size: 17px; font-weight: 800; margin-top: 18px; }
.feat p { font-size: 13px; color: var(--ink2); margin-top: 8px; max-width: 320px; }
.feat ul { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }

/* ── 목록 표 (포럼) ── */
.layout-side { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
.side { position: sticky; top: 76px; display: grid; gap: 2px; }
.side a { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: var(--r); font-size: 13.5px; font-weight: 600; color: var(--ink2); border-left: 2px solid transparent; }
.side a:hover { background: var(--s1); color: var(--ink); }
.side a.on { background: var(--s2); color: var(--ink); border-left-color: var(--red); border-radius: 0 var(--r) var(--r) 0; }
.side a span { font: 600 11.5px var(--cond); color: var(--ink4); letter-spacing: .06em; }
.side .side-h { font: 700 11px var(--cond); letter-spacing: .2em; color: var(--ink4); padding: 14px 12px 6px; }
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar form { display: flex; flex: 1; min-width: 200px; max-width: 380px; }
.toolbar form .field { height: 36px; border-radius: var(--r) 0 0 var(--r); border-right: 0; }
.toolbar form .btn { height: 36px; border-radius: 0 var(--r) var(--r) 0; }
.toolbar .sp { flex: 1; }
.rows { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--s1); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) 150px 64px 88px; align-items: center; gap: 14px; padding: 11px 16px; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row.head { background: var(--bg1); font: 700 10.5px var(--cond); letter-spacing: .18em; color: var(--ink4); padding: 9px 16px; }
.row:not(.head):hover { background: var(--s2); }
.row .t { min-width: 0; }
.row .t a { font-weight: 600; font-size: 14px; }
.row .t a:hover { color: var(--red-ink); }
.row .t .sub { display: flex; gap: 8px; align-items: center; margin-top: 3px; font-size: 12px; color: var(--ink3); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.row .n { text-align: right; font: 600 13px var(--cond); color: var(--ink2); letter-spacing: .04em; }
.row .d { text-align: right; font-size: 12px; color: var(--ink3); }
.row.pinned { background: rgba(204, 47, 98, .045); }
.who { display: inline-flex; align-items: center; gap: 7px; min-width: 0; font-size: 13px; font-weight: 600; }
.who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.head8 { width: 22px; height: 22px; flex: none; border-radius: 2px; image-rendering: pixelated; background: var(--s3); }
.head8.lg { width: 40px; height: 40px; border-radius: 3px; }
.head8.none { display: grid; place-items: center; font: 700 11px var(--cond); color: var(--ink3); border: 1px solid var(--line2); background: var(--s2); }
.head8.lg.none { font-size: 16px; }
.empty { padding: 48px 20px; text-align: center; color: var(--ink3); font-size: 13.5px; }
.empty b { display: block; color: var(--ink2); font-size: 15px; margin-bottom: 6px; }
.pager { display: flex; gap: 4px; justify-content: center; margin: 20px 0 0; }
.pager a, .pager span { min-width: 34px; height: 34px; display: grid; place-items: center; padding: 0 8px; border: 1px solid var(--line); border-radius: var(--r); font: 600 13px var(--cond); color: var(--ink2); }
.pager a:hover { border-color: var(--line3); color: var(--ink); }
.pager .on { background: var(--s3); border-color: var(--line3); color: var(--ink); }

/* ── 글 ── */
.post { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--s1); }
.post-h { padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.post-h h1 { font-size: 24px; font-weight: 800; line-height: 1.3; margin-top: 10px; }
.post-meta { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 12.5px; color: var(--ink3); flex-wrap: wrap; }
.post-body { padding: 22px 24px 26px; }
.prose { font-size: 14.5px; line-height: 1.75; color: #e2dce9; }
.prose > * + * { margin-top: .9em; }
.prose h3, .prose h4, .prose h5, .prose h6 { font-weight: 800; color: var(--ink); line-height: 1.35; margin-top: 1.4em; }
.prose h3 { font-size: 18px; } .prose h4 { font-size: 16px; } .prose h5, .prose h6 { font-size: 14.5px; }
.prose a { color: var(--red-ink); text-decoration: underline; text-decoration-color: rgba(255, 141, 179, .35); text-underline-offset: 3px; }
.prose code { font-family: var(--mono); font-size: .88em; padding: 1px 5px; background: var(--well); border: 1px solid var(--line); border-radius: 3px; }
.prose pre { padding: 12px 14px; background: var(--well); border: 1px solid var(--line); border-radius: var(--r); overflow-x: auto; }
.prose pre code { padding: 0; border: 0; background: none; }
.prose blockquote { margin-left: 0; padding: 2px 0 2px 14px; border-left: 2px solid var(--line3); color: var(--ink2); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose img { max-height: 480px; border-radius: var(--r); border: 1px solid var(--line); }
.prose table { border-collapse: collapse; font-size: 13.5px; }
.prose th, .prose td { border: 1px solid var(--line2); padding: 6px 10px; }
.prose hr { border: 0; border-top: 1px solid var(--line2); }
.post-act { display: flex; gap: 8px; padding: 12px 24px; border-top: 1px solid var(--line); flex-wrap: wrap; align-items: center; }
.post-act form { display: inline; }
.post-act .sp { flex: 1; }
.cmts { margin-top: 24px; }
.cmt { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.cmt-h { display: flex; gap: 10px; align-items: baseline; font-size: 12.5px; color: var(--ink3); flex-wrap: wrap; }
.cmt-h b { color: var(--ink); font-size: 13.5px; }
.cmt .prose { font-size: 14px; margin-top: 4px; }
.cmt-act { display: flex; gap: 12px; margin-top: 6px; }
.cmt-act button, .cmt-act a, .linkbtn { background: none; border: 0; padding: 0; color: var(--ink3); font-size: 12px; cursor: pointer; font-weight: 600; }
.cmt-act button:hover, .cmt-act a:hover, .linkbtn:hover { color: var(--ink); }
.cmt.hidden-c { opacity: .55; }
.reply { margin-top: 18px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--s1); }
.reply textarea.field { min-height: 110px; }
.locked-bar { padding: 12px 16px; border: 1px dashed var(--line3); border-radius: var(--r); color: var(--ink3); font-size: 13px; margin-top: 18px; }

/* ── 유저 조회·프로필 ── */
.search-big { display: flex; max-width: 640px; margin: 4px 0 28px; }
.search-big input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; font-size: 17px; border: 1px solid var(--line3); border-right: 0; border-radius: var(--r) 0 0 var(--r); background: var(--well); }
.search-big input:focus { outline: none; border-color: var(--red-lo); }
.search-big button { height: 52px; padding: 0 24px; border: 1px solid var(--red); border-radius: 0 var(--r) var(--r) 0; background: var(--red); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.pgrid a { display: flex; gap: 12px; align-items: center; padding: 14px; background: var(--s1); }
.pgrid a:hover { background: var(--s2); }
.pgrid b { display: block; font-size: 14px; }
.pgrid small { color: var(--ink3); font-size: 11.5px; }

.ban { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 22px; border: 1px solid var(--line2); border-radius: var(--r-lg); margin-bottom: 18px; }
.ban .mark { width: 10px; align-self: stretch; border-radius: 2px; }
.ban .st { font: 800 24px/1.15 var(--sans); }
.ban .why { font-size: 13.5px; color: var(--ink2); margin-top: 4px; }
.ban .dates { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; font-size: 12px; color: var(--ink3); }
.ban .dates b { color: var(--ink2); font-weight: 600; margin-left: 4px; }
.ban .big { text-align: right; }
.ban .big .k { font: 700 11px var(--cond); letter-spacing: .18em; color: var(--ink3); }
.ban .big .v { font: 700 30px/1.1 var(--cond); margin-top: 4px; }
.ban.ok { background: var(--ok-wash); border-color: rgba(114, 211, 155, .28); }
.ban.ok .mark { background: var(--ok); }
.ban.ok .st { color: var(--ok); }
.ban.temp { background: var(--warn-wash); border-color: rgba(240, 164, 106, .45); }
.ban.temp .mark { background: var(--warn); }
.ban.temp .st, .ban.temp .big .v { color: var(--warn); }
.ban.perm { background: var(--red-lo); border-color: var(--red); }
.ban.perm .mark { background: #fff; }
.ban.perm .st { color: #fff; }
.ban.perm .why, .ban.perm .dates, .ban.perm .dates b, .ban.perm .big .k { color: #f7d6e2; }
.ban.perm .big .v { color: #fff; }
.ban.unk { background: var(--s1); border-style: dashed; border-color: var(--line3); }
.ban.unk .mark { background: var(--ink4); }
.ban.unk .st { color: var(--ink2); font-size: 18px; }

.prof { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: start; }
.viewer { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(120% 70% at 50% 30%, #1a1426 0%, #0b0a10 70%); }
.viewer canvas { display: block; width: 100%; height: 440px; cursor: grab; touch-action: pan-y; }
.viewer canvas:active { cursor: grabbing; }
.viewer .vfoot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: rgba(9, 8, 14, .9); font-size: 12px; color: var(--ink3); }
.viewer .vfoot .yaw { display: flex; gap: 4px; }
.viewer .vfoot .yaw button { height: 26px; padding: 0 8px; border: 1px solid var(--line2); background: var(--s1); border-radius: 3px; font-size: 11.5px; cursor: pointer; color: var(--ink2); }
.viewer .vfoot .yaw button:hover { color: var(--ink); border-color: var(--line3); }
.viewer .nosk { display: none; position: absolute; inset: 0 0 46px; place-items: center; text-align: center; color: var(--ink3); font-size: 13px; padding: 20px; }
.viewer.noskin .nosk { display: grid; }
.p-name { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.p-name h1 { font: 700 40px/1 var(--cond); letter-spacing: .01em; }
.p-uuid { margin-top: 8px; padding: 3px 8px; border: 1px solid var(--line2); border-radius: 4px; background: none; font: 600 11.5px var(--cond); letter-spacing: .04em; color: var(--ink3); cursor: pointer; }
.p-uuid:hover { color: var(--ink); border-color: var(--line3, var(--ink3)); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-top: 18px; }
.facts > div { background: var(--s1); padding: 12px 14px; min-width: 0; }
.facts .k { font: 700 10.5px var(--cond); letter-spacing: .16em; color: var(--ink4); }
.facts .v { font-size: 14px; font-weight: 600; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; }
.box { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--s1); margin-top: 18px; }
.box-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.box-h h2 { font-size: 14px; font-weight: 800; }
.box-h .kick { font-size: 10.5px; }
.box-b { padding: 14px 16px; }
.kv { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 8px 14px; font-size: 13px; }
.kv dt { color: var(--ink3); }
.kv dd { margin: 0; }
.stats { width: 100%; border-collapse: collapse; font-size: 13px; }
.stats th { text-align: right; font: 700 10.5px var(--cond); letter-spacing: .14em; color: var(--ink4); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.stats th:first-child, .stats td:first-child { text-align: left; }
.stats td { text-align: right; padding: 9px 10px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.stats tr:last-child td { border-bottom: 0; }
.stats .w { color: var(--ok); } .stats .l { color: var(--red-ink); }
/* 제재 기록 */
.tscroll { overflow-x: auto; }
.banh th, .banh td { text-align: left !important; vertical-align: top; }
.banh td.why { color: var(--ink2); min-width: 160px; white-space: normal; }
.banh .st { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 2px 7px; border: 1px solid var(--line2); border-radius: 3px; color: var(--ink3); }
.banh .st.on { color: var(--red-ink); border-color: var(--red-lo); background: rgba(204, 47, 98, .08); }
.banh .st.rm { color: var(--ink2); }
.worn { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.worn a, .worn div { display: block; border: 1px solid var(--line); border-radius: var(--r); background: var(--well); padding: 6px; }
.worn a:hover { border-color: var(--line3); }
.worn img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.worn span { display: block; font-size: 11.5px; color: var(--ink2); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.names { display: flex; flex-wrap: wrap; gap: 6px; }

/* ── 스토어 ── */
.store-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: end; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 11px; border: 1px solid var(--line2); border-radius: var(--r); font-size: 12.5px; font-weight: 600; color: var(--ink2); background: var(--s1); }
.chip:hover { color: var(--ink); border-color: var(--line3); }
.chip.on { background: var(--ink); color: var(--bg0); border-color: var(--ink); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 16px 0; }
.filters .field { height: 34px; width: auto; font-size: 13px; }
.filters form.q { display: flex; }
.filters form.q .field { border-radius: var(--r) 0 0 var(--r); border-right: 0; width: 220px; }
.filters form.q .btn { height: 34px; border-radius: 0 var(--r) var(--r) 0; }
.count { font: 600 12px var(--cond); letter-spacing: .1em; color: var(--ink3); margin-left: auto; }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.it { position: relative; display: flex; flex-direction: column; background: var(--s1); transition: background-color .15s; }
.it:hover { background: var(--s2); }
.it .pic { aspect-ratio: 1; display: grid; place-items: center; background: radial-gradient(80% 70% at 50% 45%, #1a1526 0%, rgba(15, 13, 22, 0) 75%); }
.it .pic img { width: 82%; height: 82%; object-fit: contain; }
.it .pic img.cape { width: auto; height: 78%; image-rendering: pixelated; box-shadow: 0 0 0 1px var(--line2); }
.it .pic img.cape.hd { image-rendering: auto; }
.it .pic .nopic { font: 700 11px var(--cond); letter-spacing: .16em; color: var(--ink4); }
.it .meta { padding: 0 12px 12px; }
.it .nm { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.it .sub { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 4px; font-size: 11.5px; color: var(--ink3); }
.price { font: 700 13px var(--cond); letter-spacing: .04em; color: var(--ink); }
.price.free { color: var(--ok); font-family: var(--sans); font-size: 12px; }
.it .own { position: absolute; top: 8px; left: 8px; }
.item-page { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.shot { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(120% 70% at 50% 35%, #1a1426 0%, #0b0a10 70%); }
.shot .big { aspect-ratio: 1; display: grid; place-items: center; }
.shot .big img { width: 78%; height: 78%; object-fit: contain; }
.shot .big img.cape { height: 70%; width: auto; image-rendering: pixelated; }
.shot .big img.cape.hd { image-rendering: auto; }
.shot canvas { display: block; width: 100%; aspect-ratio: 1; height: auto; cursor: grab; touch-action: pan-y; }
.shot .vfoot { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--line); background: rgba(9, 8, 14, .9); font-size: 12px; color: var(--ink3); flex-wrap: wrap; }
.seg { display: inline-flex; border: 1px solid var(--line2); border-radius: var(--r); overflow: hidden; }
.seg button { height: 28px; padding: 0 10px; border: 0; border-left: 1px solid var(--line2); background: var(--s1); color: var(--ink2); font-size: 12px; cursor: pointer; }
.seg button:first-child { border-left: 0; }
.seg button[aria-pressed="true"] { background: var(--s3); color: var(--ink); }
.buy { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--s1); padding: 22px; }
.buy h1 { font-size: 28px; font-weight: 800; line-height: 1.2; margin-top: 10px; }
.buy .pr { font: 700 34px/1 var(--cond); margin: 18px 0 4px; }
.buy .pr.free { font: 800 24px/1 var(--sans); color: var(--ok); }
.buy .acts { display: grid; gap: 8px; margin-top: 18px; }
.buy .acts form { display: grid; }
.buy .acts .btn { width: 100%; }
.buy .fine { font-size: 12px; color: var(--ink3); margin-top: 14px; line-height: 1.6; }
.spec { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.testpay { max-width: 520px; margin: 40px auto; border: 1px dashed var(--warn); border-radius: var(--r-lg); padding: 24px; background: var(--s1); }
.testpay h1 { font-size: 22px; font-weight: 800; margin-top: 8px; }
.testpay .amt { font: 700 40px/1 var(--cond); margin: 18px 0; }
.testpay .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.upl { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.rules { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--s1); padding: 18px; font-size: 13px; color: var(--ink2); }
.rules h3 { font-size: 13.5px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.rules ul { margin: 0 0 14px; padding-left: 1.2em; }
.rules li + li { margin-top: 4px; }
.kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kinds label { display: block; cursor: pointer; }
.kinds input { position: absolute; opacity: 0; }
.kinds span { display: block; padding: 12px; border: 1px solid var(--line2); border-radius: var(--r); background: var(--well); font-weight: 700; font-size: 13.5px; }
.kinds span small { display: block; font-weight: 400; color: var(--ink3); font-size: 11.5px; margin-top: 2px; }
.kinds input:checked + span { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); background: var(--red-wash); }
.kinds input:focus-visible + span { outline: 2px solid var(--red-ink); outline-offset: 2px; }
.file { display: block; padding: 18px; border: 1px dashed var(--line3); border-radius: var(--r); background: var(--well); font-size: 13px; color: var(--ink2); }
.queue { display: grid; gap: 12px; }
.q-i { display: grid; grid-template-columns: 120px minmax(0, 1fr) 300px; gap: 18px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--s1); align-items: start; }
.q-i .pic { aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--r); display: grid; place-items: center; background: var(--well); }
.q-i .pic img { width: 86%; height: 86%; object-fit: contain; }
.q-i .pic img.cape { width: auto; height: 80%; image-rendering: pixelated; }
.q-i h3 { font-size: 15px; font-weight: 800; }
.q-i .acts { display: grid; gap: 8px; }
.q-i .acts .two { display: flex; gap: 8px; }
.q-i .acts input.field { height: 34px; font-size: 13px; }
.creator-h { display: flex; gap: 16px; align-items: center; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs a { padding: 10px 14px; font-weight: 600; font-size: 13.5px; color: var(--ink3); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--ink); border-bottom-color: var(--red); }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; font: 700 10.5px var(--cond); letter-spacing: .14em; color: var(--ink4); padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--bg1); }
.tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow-x: auto; background: var(--s1); }
.inline { display: inline-flex; gap: 6px; align-items: center; }
.inline .field { height: 30px; width: auto; font-size: 12.5px; }

/* ── 로그인 ── */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - 56px - 90px); }
.auth-art { position: relative; background: #06050b url('/static/bg/castle.webp') 50% 40% / cover no-repeat; border-right: 1px solid var(--line); }
.auth-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 4, 9, .85), rgba(5, 4, 9, .1) 55%); }
.auth-art .cap { position: absolute; left: 32px; bottom: 32px; z-index: 1; }
.auth-art .cap b { display: block; font: 300 64px/1 var(--serif); }
.auth-art .cap span { font: 700 12px var(--cond); letter-spacing: .5em; color: var(--ink2); }
.auth-form { display: grid; place-items: center; padding: 48px var(--gut); }
.auth-form > div { width: 100%; max-width: 380px; }
.auth-form h1 { font-size: 28px; font-weight: 800; margin: 10px 0 26px; }
.auth-form .btn.primary { width: 100%; height: 44px; margin-top: 6px; }
.auth-form .alt { margin-top: 18px; font-size: 13px; color: var(--ink3); }
.auth-form .alt a { color: var(--red-ink); font-weight: 600; }

/* ── 바닥 ── */
.foot { border-top: 1px solid var(--line); background: #07060b; margin-top: 64px; }
.foot-in { display: flex; justify-content: space-between; gap: 20px; padding: 26px var(--gut); font-size: 12px; color: var(--ink3); flex-wrap: wrap; }
.foot-in nav { display: flex; gap: 16px; }
.foot-in a:hover { color: var(--ink); }

/* ── 공용 조각 (대시보드·API 문서) ── */
.small { font-size: 12px; }
.strong { font-weight: 700; }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; text-align: right; }
.clip { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pad { padding: 12px 16px; }
.w100 { width: 100px !important; }
.w120 { width: 120px !important; }
.full { width: 100%; }
.lbl { display: block; font: 700 10.5px var(--cond); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); margin-bottom: 6px; }
.stack { display: grid; gap: 10px; max-width: 380px; }
.stack .lbl { margin: 6px 0 -4px; }
.narrow { max-width: 640px; }
.two { display: flex; gap: 8px; }
.chk { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink2); cursor: pointer; }
.chk input { accent-color: var(--red); width: 15px; height: 15px; margin: 0; }
.site-banner { background: var(--warn-wash); border-bottom: 1px solid rgba(240, 164, 106, .35); color: var(--warn); font-size: 13px; font-weight: 600; padding: 7px 0; }
.need { font: 600 11px var(--cond); letter-spacing: .08em; color: var(--warn); }
.bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; }

/* ── 대시보드 뼈대: 왼쪽 줄 + 본문 ── */
.dash { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: calc(100vh - 56px); background: linear-gradient(90deg, #07060b 231px, var(--line) 231px, var(--line) 232px, transparent 232px); }
.dash + * { margin-top: 0; }
body:has(.dash) .foot { margin-top: 0; }
.rail { padding: 18px 0 24px; position: sticky; top: 56px; align-self: start; height: calc(100vh - 56px); overflow-y: auto; }
.rail-me { display: flex; gap: 10px; align-items: center; padding: 0 18px 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.rail-me b { display: block; font-size: 13.5px; line-height: 1.2; }
.rail-g { font: 700 10px var(--cond); letter-spacing: .2em; text-transform: uppercase; color: var(--ink4); padding: 14px 18px 6px; }
.rail nav { display: grid; }
.rail nav a { display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 0 18px; font-size: 13px; font-weight: 600; color: var(--ink2); border-left: 2px solid transparent; }
.rail nav a:hover { color: var(--ink); background: var(--s1); }
.rail nav a.on { color: var(--ink); background: var(--s2); border-left-color: var(--red); }
.badge { font: 700 11px var(--cond); min-width: 20px; height: 18px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 3px; background: var(--red); color: #fff; }
.rail-foot { display: flex; gap: 6px; flex-wrap: wrap; padding: 16px 18px 0; margin-top: 12px; border-top: 1px solid var(--line); }
.dash-main { padding: 26px 32px 48px; min-width: 0; }
.dh { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.dh h1 { font-size: 26px; font-weight: 800; margin-top: 6px; letter-spacing: -.01em; }
.dh p { color: var(--ink3); font-size: 12.5px; margin-top: 6px; max-width: 760px; }
.role { display: inline-block; font: 700 10.5px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; padding: 4px 6px; border-radius: 3px; border: 1px solid var(--line2); color: var(--ink2); margin-top: 3px; }
.role.r-owner { border-color: var(--red); color: #fff; background: var(--red-lo); }
.role.r-admin { border-color: rgba(204, 47, 98, .55); color: var(--red-ink); }
.role.r-moderator { border-color: rgba(111, 91, 196, .7); color: var(--violet-ink); }
.role.r-reviewer { border-color: rgba(114, 211, 155, .45); color: var(--ok); }
.role.r-support { border-color: rgba(240, 164, 106, .5); color: var(--warn); }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 18px; }
.kpi { background: var(--s1); padding: 14px 16px 12px; }
.kpi.hot { box-shadow: inset 3px 0 0 var(--red); }
.k-t { font: 700 10.5px var(--cond); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); }
.k-v { font: 800 28px/1.15 var(--sans); font-variant-numeric: tabular-nums; margin-top: 6px; letter-spacing: -.02em; }
.k-s { font-size: 11.5px; color: var(--ink4); margin-top: 2px; }
.k-s b { color: var(--ink2); font-weight: 600; }
.dgrid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--s1); margin-bottom: 16px; overflow: hidden; }
.dgrid .panel { margin-bottom: 0; }
.panel-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--bg1); }
.panel-h h2 { font-size: 13px; font-weight: 800; }
.panel .tbl-wrap { border: 0; border-radius: 0; }
.legend { display: flex; gap: 12px; font-size: 11px; color: var(--ink3); }
.legend span::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 5px; vertical-align: 0; }
.legend .l1::before { background: var(--red); }
.legend .l2::before { background: var(--violet); }
.chart { display: block; width: 100%; height: auto; padding: 14px 16px 6px; }
.chart .b1 { fill: var(--red); }
.chart .b2 { fill: var(--violet); }
.chart line { stroke: var(--line3); }
.chart text { fill: var(--ink4); font: 600 7px var(--cond); }
.perm-list { display: grid; grid-template-columns: 1fr 1fr; }
.perm-list .pl:nth-child(odd) { border-right: 1px solid var(--line); }
.pl { display: flex; flex-direction: column; padding: 6px 14px; font-size: 11.5px; line-height: 1.35; color: var(--ink4); border-bottom: 1px solid var(--line); }
.pl .mono { font-size: 11px; }
.pl.on { color: var(--ink); }
.pl.on .mono { color: var(--ok); }

.tbl.dense th { padding: 8px 10px; }
.tbl.dense td { padding: 8px 10px; font-size: 12.5px; }
.tbl.dense th, .tbl.dense td { white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.tbl.dense td.wrapok { white-space: normal; }
.tbl tr.dim td { opacity: .5; }
.tbl td.thumb { width: 56px; }
.tbl td.thumb img { width: 40px; height: 40px; object-fit: contain; background: var(--well); border: 1px solid var(--line); border-radius: 3px; }
.tbl td.thumb img.cape { image-rendering: pixelated; padding: 4px; }
.tbl .field { height: 30px; font-size: 12.5px; }
.act { font-family: var(--mono); font-size: 11.5px; color: var(--ink2); }
.act.a-ban, .act.a-owner, .act.a-user, .act.a-admin { color: var(--red-ink); }
.act.a-role, .act.a-apikey, .act.a-secret, .act.a-settings { color: var(--violet-ink); }
.act.a-item, .act.a-order, .act.a-points { color: var(--warn); }
.act.a-reauth, .act.a-2fa { color: var(--ink3); }
.tag.bk-temporary { border-color: rgba(240, 164, 106, .5); color: var(--warn); }
.tag.bk-permanent { border-color: rgba(204, 47, 98, .55); color: var(--red-ink); }
.tag.bk-hardware { border-color: var(--red); color: #fff; background: var(--red-lo); }
.tag.st-approved { color: var(--ok); border-color: rgba(114, 211, 155, .4); }
.tag.st-pending { color: var(--warn); border-color: rgba(240, 164, 106, .5); }
.tag.st-rejected, .tag.st-hidden { color: var(--ink3); }
.tag.kk-service { color: var(--violet-ink); border-color: rgba(111, 91, 196, .6); }
.dash .filters { margin: 0 0 12px; }
.dash .filters .field { width: 200px; }
.dash .filters select.field { width: auto; }

.ban-form, .key-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.ban-form .f, .key-form .f { min-width: 120px; }
.ban-form .f.grow, .key-form .f.grow { flex: 1; min-width: 220px; }
.ban-form .field, .key-form .field { height: 36px; font-size: 13px; }
.ban-form .two .field[type=number] { width: 80px; }
.panel .hint { padding: 0 16px 12px; margin-top: 8px; }
.scope-pick { display: flex; flex-wrap: wrap; gap: 6px 14px; min-height: 36px; align-items: center; }
.scope-pick .mono { font-size: 11.5px; }
.scopes { display: flex; flex-wrap: wrap; gap: 4px; }
.sc { font-size: 10.5px; padding: 1px 5px; background: var(--s3); border-radius: 3px; color: var(--ink2); }
.keybox { border: 1px solid var(--ok); background: var(--ok-wash); border-radius: var(--r-lg); padding: 14px 16px; margin-bottom: 16px; display: grid; gap: 6px; }
.keybox .kick { color: var(--ok); }
.keybox code { font: 600 14px var(--mono); padding: 10px 12px; background: var(--well); border: 1px solid var(--line2); border-radius: var(--r); user-select: all; overflow-wrap: anywhere; }
.keybox p { font-size: 12px; color: var(--ink2); }

.matrix th.c, .matrix td.c { text-align: center; width: 92px; }
.matrix td.c input { accent-color: var(--red); width: 16px; height: 16px; }
.matrix .fixed { color: var(--red); font-size: 12px; }
.matrix tr.sep td { background: var(--bg1); font: 700 10.5px var(--cond); letter-spacing: .16em; text-transform: uppercase; color: var(--red-ink); padding: 9px 10px; }
.matrix tr.owner-only td:first-child { box-shadow: inset 2px 0 0 var(--red-lo); }

.acts { display: grid; gap: 12px; padding: 14px 16px; }
.row-f { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.row-f .lbl { margin: 0 4px 0 0; }
.row-f .field { height: 32px; font-size: 13px; width: auto; min-width: 150px; }
.danger-zone { border-color: rgba(204, 47, 98, .35) !important; }
.row-f.danger-zone { border: 1px dashed; padding: 10px; border-radius: var(--r); }
.panel .kv { padding: 14px 16px; }
.phrase { padding: 8px 10px; background: var(--well); border: 1px dashed var(--line3); border-radius: var(--r); font-size: 12.5px; color: var(--ink2); }
.settings { display: grid; }
.set-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.set-row .mono { font-size: 11px; }
.set-row .field { max-width: 260px; height: 32px; }
.settings .bar { padding: 0 16px 14px; }
.mfa { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
.qr { background: #f4eef2; padding: 10px; border-radius: var(--r); }
.qr svg { display: block; width: 100%; height: auto; }
.secret { font: 700 17px var(--mono); letter-spacing: .08em; padding: 12px; background: var(--well); border: 1px solid var(--line2); border-radius: var(--r); margin-bottom: 4px; user-select: all; }
.field.code { font: 700 22px var(--mono); letter-spacing: .4em; height: 50px; text-align: center; }
.box-b.stack { padding: 0; }

/* ── API 문서 ── */
.api-docs .dgrid { margin-top: 4px; }
.api-docs .prose p { font-size: 13px; color: var(--ink2); margin-bottom: 8px; }
.api-docs code, .ep-h code { font: 600 12.5px var(--mono); }
.eps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-top: 16px; }
.ep { background: var(--s1); padding: 12px 16px; }
.ep-h { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ep p { font-size: 13px; color: var(--ink2); margin-top: 6px; }
.meth { font: 700 11px var(--cond); letter-spacing: .1em; width: 46px; text-align: center; padding: 3px 0; border-radius: 3px; }
.meth.m-get { background: var(--violet-lo); color: var(--violet-ink); }
.meth.m-post { background: var(--red-lo); color: #fff; }
.ep-p { margin-top: 6px; display: grid; gap: 2px; font-size: 12px; }
.ep pre { margin: 8px 0 0; padding: 8px 10px; background: var(--well); border: 1px solid var(--line); border-radius: var(--r); font: 12px var(--mono); color: var(--ink2); overflow-x: auto; }


/* ── 화면 안에 있던 style="…" 를 옮긴 것 (CSP style-src 'self' 는 style 속성을 막는다) ── */
.u1 { padding-bottom:14px !important; }
.u2 { display:flex !important;gap:6px !important;flex-wrap:wrap !important; }
.u3 { font-size:18px !important; }
.u4 { display:flex !important;justify-content:space-between !important;align-items:center !important;margin-top:10px !important;gap:10px !important; }
.u5 { margin:0 !important; }
.u6 { color:var(--red-ink) !important;font-weight:600 !important; }
.u7 { max-width:860px !important; }
.u8 { min-height:340px !important; }
.u9 { display:flex !important;gap:8px !important;justify-content:flex-end !important; }
.u10 { max-width:760px !important; }
.u11 { display:flex !important;justify-content:flex-end !important;margin-top:10px !important; }
.u12 { max-width:900px !important; }
.u13 { margin-top:10px !important; }
.u14 { font-size:12.5px !important; }
.u15 { margin-top:0 !important; }
.u16 { display:flex !important;gap:14px !important;align-items:center !important;flex-wrap:wrap !important; }
.u17 { flex:1 !important;min-width:0 !important; }
.u18 { font-weight:800 !important;font-size:16px !important; }
.u19 { margin-top:2px !important; }
.u20 { font-size:13.5px !important;color:var(--ink2) !important; }
.u21 { display:flex !important;gap:8px !important;margin-top:14px !important;max-width:420px !important; }
.u22 { font-family:var(--mono) !important;letter-spacing:.12em !important;text-transform:uppercase !important; }
.u23 { margin:14px 0 0 !important; }
.u24 { display:grid !important;gap:12px !important;max-width:420px !important; }
.u25 { display:flex !important;justify-content:flex-end !important;margin-top:18px !important; }
.u26 { grid-template-columns:minmax(0,1fr) 64px !important; }
.u27 { display:flex !important;gap:8px !important;flex-wrap:wrap !important; }
.u28 { margin-top:8px !important; }
.u29 { color:var(--red-ink) !important; }
.u30 { margin-right:4px !important; }
.u31 { margin-top:10px !important;color:var(--ink2) !important;font-size:13.5px !important;white-space:pre-line !important; }
.u32 { margin-top:14px !important; }
.u33 { font-size:12.5px !important;margin-top:4px !important; }
.u34 { font-size:13px !important;color:var(--ink2) !important; }
.u35 { width:100% !important; }
.u36 { margin-top:36px !important; }
.u37 { font-size:20px !important; }
.u38 { color:var(--ink) !important; }
.u39 { min-height:90px !important; }
.u40 { max-width:200px !important; }
.u41 { display:flex !important;justify-content:flex-end !important; }
.u42 { font-size:12px !important; }
.u43 { margin-bottom:28px !important; }
.u44 { padding-bottom:16px !important;border:0 !important;margin:0 !important; }
.u45 { margin:12px 0 0 !important; }
.u46 { font-weight:400 !important; }
.u47 { font-size:13px !important; }
.u48 { object-fit:contain !important; }
.u49 { aspect-ratio:1 !important;border:0 !important;padding:0 !important;background:none !important; }
.u50 { aspect-ratio:1 !important;display:grid !important;place-items:center !important;border:0 !important;padding:0 !important;background:none !important;font:700 22px var(--cond) !important;color:var(--ink3) !important; }
.u51 { padding:22px 10px !important; }
.u52 { margin:18px 0 8px !important; }
.u53 { margin-top:28px !important; }

/* ── 좁은 화면 ── */
@media (max-width: 1100px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dgrid { grid-template-columns: 1fr; }
  .prof { grid-template-columns: 300px minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .q-i { grid-template-columns: 100px minmax(0, 1fr); }
  .q-i .acts { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .dash { grid-template-columns: 1fr; background: none; }
  .perm-list { grid-template-columns: 1fr; }
  .perm-list .pl:nth-child(odd) { border-right: 0; }
  .rail { position: static; height: auto; padding: 6px 0 0; background: #07060b; border-bottom: 1px solid var(--line); display: flex; overflow-x: auto; }
  .rail nav { flex: none; }
  .rail-me, .rail-g, .rail-foot { display: none; }
  .rail nav { display: flex; overflow-x: auto; }
  .rail nav a { border-left: 0; border-bottom: 2px solid transparent; white-space: nowrap; gap: 8px; padding: 0 12px; }
  .rail nav a.on { border-bottom-color: var(--red); }
  .dash-main { padding: 18px var(--gut) 40px; }
  .mfa { grid-template-columns: 1fr; }
  .qr { max-width: 220px; }
  .nav-search { display: none; }
  .cols2, .item-page, .upl, .auth { grid-template-columns: 1fr; }
  .auth-art { min-height: 200px; border-right: 0; border-bottom: 1px solid var(--line); }
  .feat { grid-template-columns: 1fr; }
  .layout-side { grid-template-columns: 1fr; }
  .side { position: static; display: flex; overflow-x: auto; gap: 4px; padding-bottom: 4px; }
  .side .side-h { display: none; }
  .side a { white-space: nowrap; border-left: 0; border: 1px solid var(--line); }
  .side a.on { border-radius: var(--r); border-color: var(--line3); }
  .side a span { margin-left: 8px; }
  .prof { grid-template-columns: minmax(0, 1fr); }
  .viewer canvas { height: 360px; }
}
@media (max-width: 640px) {
  :root { --gut: 16px; }
  .nav-in { gap: 12px; height: 52px; }
  .nav-links { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; height: 52px; background: #07060b; border-top: 1px solid var(--line); justify-content: space-around; gap: 0; }
  .nav-links a { flex: 1; justify-content: center; padding: 0 4px; font-size: 13px; }
  .nav-links a.on::after { top: -1px; bottom: auto; left: 22%; right: 22%; }
  body { padding-bottom: 52px; }
  .brand span { display: none; }
  .nav-acc .nm { display: none; }
  .hero { min-height: 0; }
  .hero-bg { background-position: 62% 20%; }
  .hero-bg::after { background: linear-gradient(0deg, rgba(5, 4, 9, .96) 18%, rgba(5, 4, 9, .55) 60%, rgba(5, 4, 9, .3) 100%); }
  .hero-in { padding: 120px var(--gut) 36px; }
  .hero h2 { margin-top: 22px; }
  .nums { grid-template-columns: 1fr; }
  .num { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px var(--gut); }
  .num:last-child { border-bottom: 0; }
  .num .v { font-size: 38px; }
  .news-i { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
  .news-i img { width: 92px; height: 72px; }
  .row { grid-template-columns: minmax(0, 1fr) 54px; padding: 12px; }
  .row .whocol, .row .d { display: none; }
  .row.head { display: none; }
  .page-h .ttl { font-size: 28px; }
  .ban { grid-template-columns: auto minmax(0, 1fr); padding: 16px; gap: 14px; }
  .ban .big { grid-column: 2; text-align: left; }
  .ban .st { font-size: 21px; }
  .p-name h1 { font-size: 32px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .kv { grid-template-columns: 110px minmax(0, 1fr); }
  .items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters form.q { width: 100%; }
  .filters form.q .field { width: 100%; flex: 1; }
  .count { margin-left: 0; }
  .kinds { grid-template-columns: 1fr; }
  .q-i { grid-template-columns: 80px minmax(0, 1fr); padding: 12px; gap: 12px; }
  .post-h, .post-body { padding-left: 16px; padding-right: 16px; }
  .post-act { padding: 12px 16px; }
  .search-big input { height: 48px; font-size: 16px; }
  .search-big button { height: 48px; padding: 0 16px; }
  .store-top { grid-template-columns: 1fr; }
  .stats .hide-sm { display: none; }
  .foot { margin-top: 40px; }
  .dh h1 { font-size: 22px; }
  .k-v { font-size: 22px; }
  .dash .filters .field { width: 100%; }
  .set-row { flex-direction: column; align-items: start; }
}

/* ───────── 스토어 (2판) — 그림이 주인공. 각진 면, 얇은 선, 빨강은 화면에 하나 ───────── */
.seg a { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-left: 1px solid var(--line2); background: var(--s1); color: var(--ink2); font-size: 12.5px; font-weight: 600; }
.seg a:first-child { border-left: 0; }
.seg a:hover { color: var(--ink); }
.seg a.on { background: var(--s3); color: var(--ink); }

.store-hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg1); }
.store-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: #07060c; }
.store-hero .hfeat::before { content: ""; position: absolute; left: 66%; top: 24%; width: 1500px; height: 1000px; transform: translate(-50%, -50%); z-index: -1; pointer-events: none; background: url('/static/bg/sky.webp') center / cover no-repeat; -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent); }
.store-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 4, 9, .95) 0%, rgba(5, 4, 9, .8) 34%, rgba(5, 4, 9, .3) 64%, rgba(5, 4, 9, .6) 100%), linear-gradient(0deg, var(--bg0) 0%, rgba(5, 4, 9, 0) 34%); }
.store-hero .hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: 380px; }
.store-hero .in { padding: 56px 0 48px; max-width: 520px; }
.store-hero .kick { color: var(--red-ink); }
.store-hero h1 { font-size: 40px; line-height: 1.12; font-weight: 800; letter-spacing: -.01em; margin-top: 10px; }
.store-hero p { margin-top: 14px; color: var(--ink2); font-size: 14.5px; line-height: 1.7; max-width: 440px; }
.store-hero .cta { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.store-hero .hfeat { position: relative; height: 380px; }
.store-hero .hfeat .hf { position: absolute; display: grid; place-items: center; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .6)); }
.store-hero .hfeat .hf img { width: 100%; height: 100%; object-fit: contain; }
.store-hero .hfeat .hf img.cape { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.store-hero .hfeat .h0 { left: 34%; top: 9%; width: 168px; height: 270px; transform: perspective(900px) rotateY(-14deg); }
.store-hero .hfeat .h1 { left: 4%; top: 6%; width: 150px; height: 150px; }
.store-hero .hfeat .h2 { left: 70%; top: 14%; width: 150px; height: 150px; }
.store-hero .hfeat .h3 { left: 6%; top: 52%; width: 170px; height: 170px; }

.store-h { padding-bottom: 6px; border-bottom: 0; }
.stabs-row { display: flex; justify-content: space-between; align-items: end; gap: 14px; border-bottom: 1px solid var(--line); margin-top: 26px; }
.stabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.stabs a { position: relative; display: inline-flex; align-items: baseline; gap: 7px; padding: 12px 14px 13px; font-size: 14.5px; font-weight: 700; color: var(--ink3); white-space: nowrap; }
.stabs a .n { font: 600 11.5px var(--cond); letter-spacing: .06em; color: var(--ink4); }
.stabs a:hover { color: var(--ink); }
.stabs a.on { color: var(--ink); }
.stabs a.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--red); }
.side-acts { display: flex; gap: 6px; padding-bottom: 10px; }
.slots { display: flex; gap: 2px 16px; flex-wrap: wrap; padding: 12px 2px 0; font-size: 13px; }
.slots a { color: var(--ink3); padding: 2px 0; border-bottom: 1px solid transparent; }
.slots a:hover { color: var(--ink); }
.slots a.on { color: var(--ink); border-bottom-color: var(--ink2); }
.sbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 16px 0 18px; }
.sbar form.q { display: flex; flex: 1 1 260px; max-width: 360px; }
.sbar form.q .field { height: 34px; border-radius: var(--r) 0 0 var(--r); border-right: 0; font-size: 13px; }
.sbar form.q .btn { height: 34px; border-radius: 0 var(--r) var(--r) 0; }
.sbar form.sort { display: flex; gap: 6px; }
.sbar form.sort .field { height: 32px; width: auto; min-width: 150px; font-size: 12.5px; }
.sbar .count { margin-left: auto; font-size: 12px; color: var(--ink4); font-variant-numeric: tabular-nums; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: 14px; }
.cards.six { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--s1); overflow: hidden; transition: border-color .18s, transform .18s var(--ease); }
.card:hover, .card:focus-visible { border-color: var(--line3); transform: translateY(-2px); }
.stage { position: relative; aspect-ratio: 1 / 1.08; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(46% 9% at 50% 86%, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(70% 55% at 50% 22%, rgba(255, 244, 248, .075) 0%, rgba(255, 244, 248, 0) 70%),
    linear-gradient(180deg, #15121d 0%, #0d0c13 100%); }
.stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28%; background: linear-gradient(0deg, rgba(5, 4, 9, .45), rgba(5, 4, 9, 0)); pointer-events: none; }
.card:hover .stage { background:
    radial-gradient(46% 9% at 50% 86%, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(70% 55% at 50% 22%, rgba(255, 244, 248, .12) 0%, rgba(255, 244, 248, 0) 70%),
    linear-gradient(180deg, #19151f 0%, #0e0c14 100%); }
.stage .art { position: relative; z-index: 1; width: 84%; height: 84%; object-fit: contain; transition: opacity .2s; }
.stage.k-cape .art { width: auto; height: 74%; margin-top: -4%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 16px 24px rgba(0, 0, 0, .5); transform-origin: 50% 0; }
.stage .art.px { image-rendering: pixelated; }
.stage .spin { position: absolute; inset: 8%; z-index: 2; overflow: hidden; opacity: 0; pointer-events: none; }
.stage .spin img { height: 100%; width: auto; max-width: none; }
.card.spin-ready:hover .stage .spin { opacity: 1; }
.card.spin-ready:hover .stage .spin img { will-change: transform, opacity; }
.card.spin-ready:hover .stage.k-acc .art { opacity: 0; }
.card:hover .stage.k-cape .art { animation: sway 2.4s var(--ease) infinite alternate; }
@keyframes sway { from { transform: perspective(700px) rotateY(-16deg); } to { transform: perspective(700px) rotateY(16deg); } }
.stage .badges { position: absolute; z-index: 3; top: 9px; left: 9px; display: flex; gap: 4px; }
.bd { font: 700 10px/1 var(--cond); letter-spacing: .12em; padding: 4px 5px 3px; border-radius: 2px; background: rgba(5, 4, 9, .75); border: 1px solid var(--line2); color: var(--ink2); }
.bd.new { color: var(--red-ink); border-color: rgba(204, 47, 98, .5); }
.bd.set { color: var(--violet-ink); border-color: rgba(111, 91, 196, .55); }
.stage .own, .set-stage .own { position: absolute; z-index: 3; top: 9px; right: 9px; font-size: 11px; font-weight: 700; color: var(--ok); padding: 2px 6px; border: 1px solid rgba(114, 211, 155, .4); border-radius: 2px; background: rgba(5, 4, 9, .75); }
.stage .nopic { font: 700 11px var(--cond); letter-spacing: .16em; color: var(--ink4); }
.stage .stack { position: absolute; inset: auto 12px 10px auto; z-index: 2; width: 18px; height: 14px; border: 1px solid var(--line3); box-shadow: 3px -3px 0 -1px var(--s1), 3px -3px 0 0 var(--line3); }
.card .meta { padding: 11px 13px 13px; border-top: 1px solid var(--line); }
.card .nm { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .sub { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 5px; font-size: 12px; color: var(--ink3); }
.card .sub .k { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price { font: 700 14px var(--cond); letter-spacing: .03em; color: var(--ink); white-space: nowrap; }
.price.free { font: 700 12px var(--sans); letter-spacing: 0; color: var(--ok); }

.st-setsec { margin: 6px 0 30px; }
.sec-h.tight { margin-bottom: 12px; align-items: baseline; }
.ttl.sm { font-size: 18px; font-weight: 800; }
.sec-h .more { font-size: 12.5px; color: var(--ink3); }
.sec-h .more:hover { color: var(--ink); }
.st-sets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.setc { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--s1); overflow: hidden; transition: border-color .18s; }
.setc:hover { border-color: var(--line3); }
.set-stage { position: relative; height: 210px; overflow: hidden; background: radial-gradient(60% 10% at 50% 88%, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)), radial-gradient(80% 70% at 50% 20%, rgba(255, 244, 248, .07), rgba(255, 244, 248, 0) 70%), linear-gradient(180deg, #15121d, #0d0c13); }
.set-stage .p { position: absolute; display: grid; place-items: center; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .55)); }
.set-stage .p img { width: 100%; height: 100%; object-fit: contain; }
.set-stage .p img.cape { box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
.set-stage .p img.px { image-rendering: pixelated; }
.set-stage .p0 { left: calc(50% - 52px); top: 22px; width: 104px; height: 166px; z-index: 2; }
.set-stage .p0.k-acc { left: calc(50% - 70px); top: 30px; width: 140px; height: 140px; }
.set-stage .p1 { left: 6%; top: 26px; width: 108px; height: 108px; }
.set-stage .p2 { right: 6%; top: 22px; width: 108px; height: 108px; }
.set-stage .p3 { left: 13%; top: 110px; width: 92px; height: 92px; z-index: 3; }
.set-stage .p4 { right: 13%; top: 112px; width: 92px; height: 92px; z-index: 3; }
.set-meta { display: flex; justify-content: space-between; align-items: end; gap: 10px; padding: 12px 14px 14px; border-top: 1px solid var(--line); }
.set-meta .nm { font-size: 15px; font-weight: 800; }
.set-meta .sub { font-size: 12px; color: var(--ink3); margin-top: 3px; }
.set-meta .pr { text-align: right; }
.set-meta .was, .prline .save s { display: block; font: 600 11.5px var(--cond); color: var(--ink4); }
.store-empty { border: 1px dashed var(--line2); border-radius: var(--r-lg); padding: 48px 20px; text-align: center; }
.store-empty b { display: block; font-size: 16px; }
.store-empty p { color: var(--ink3); margin: 6px 0 16px; font-size: 13px; }

/* 상세 */
.crumb { display: flex; gap: 8px; align-items: center; padding: 22px 0 16px; font-size: 12.5px; color: var(--ink3); }
.crumb a:hover { color: var(--ink); }
.crumb span { color: var(--ink4); }
.crumb b { color: var(--ink2); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); gap: 24px; align-items: start; }
.pd-stage { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background:
    radial-gradient(38% 7% at 50% 90%, rgba(0, 0, 0, .65) 0%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(60% 60% at 50% 18%, rgba(255, 244, 248, .09) 0%, rgba(255, 244, 248, 0) 70%),
    linear-gradient(180deg, #17131f 0%, #0b0a10 100%); }
.pd-stage .stage3d canvas { display: block; width: 100%; aspect-ratio: 1 / .9; height: auto; cursor: grab; touch-action: pan-y; }
.pd-stage .stage2d { aspect-ratio: 1 / .9; display: grid; place-items: center; }
.pd-stage .stage2d img { width: 76%; height: 76%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .5)); }
.pd-stage .stage2d img.cape { width: auto; height: 74%; }
.pd-stage .stage2d img.px { image-rendering: pixelated; }
.pd-stage .stage2d > img, .pd-stage .stage2d .swing { grid-area: 1 / 1; }
.pd-stage .stage2d .swing { position: relative; height: 76%; aspect-ratio: 1; overflow: hidden; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .5)); }
.pd-stage .stage2d .swing[hidden] { display: none; }
.pd-stage .stage2d .swing img { width: auto; height: 100%; max-width: none; object-fit: fill; filter: none; will-change: transform; }
.pd-stage .tools { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.pd-stage .tools .seg { background: rgba(9, 8, 14, .85); }
.pd-stage .cap { padding: 10px 14px; border-top: 1px solid var(--line); background: rgba(9, 8, 14, .9); font-size: 12px; color: var(--ink3); }
.stage-set { position: relative; aspect-ratio: 1 / .9; }
.stage-set .p { position: absolute; display: grid; place-items: center; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .55)); }
.stage-set .p img { width: 100%; height: 100%; object-fit: contain; }
.stage-set .p img.px { image-rendering: pixelated; }
.stage-set .p0 { left: 36%; top: 14%; width: 28%; height: 58%; z-index: 2; }
.stage-set .p0.k-acc { left: 30%; top: 22%; width: 40%; height: 40%; }
.stage-set .p1 { left: 6%; top: 10%; width: 28%; height: 32%; }
.stage-set .p2 { right: 6%; top: 10%; width: 28%; height: 32%; }
.stage-set .p3 { left: 8%; top: 52%; width: 26%; height: 30%; z-index: 3; }
.stage-set .p4 { right: 8%; top: 52%; width: 26%; height: 30%; z-index: 3; }
.stage-set .p5 { left: 38%; top: 70%; width: 24%; height: 26%; z-index: 3; }
.pd-buy { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--s1); padding: 22px 22px 20px; }
.pd-buy .tags { display: flex; gap: 5px; flex-wrap: wrap; }
.pd-buy h1 { font-size: 30px; font-weight: 800; line-height: 1.18; margin-top: 12px; letter-spacing: -.01em; }
.pd-buy .descr { color: var(--ink2); margin-top: 8px; font-size: 13.5px; }
.prline { display: flex; align-items: end; gap: 14px; margin: 18px 0 4px; }
.prline .pr { font: 700 36px/1 var(--cond); letter-spacing: .01em; }
.prline .pr.free { font: 800 26px/1 var(--sans); color: var(--ok); }
.prline .save { font-size: 12px; color: var(--ok); }
.pd-buy .acts { display: grid; gap: 8px; margin-top: 18px; padding: 0; }
.pd-buy .acts form { display: grid; }
.pd-buy .acts .btn { width: 100%; }
.pd-buy .fine { font-size: 12px; color: var(--ink3); margin-top: 14px; line-height: 1.6; }
.members { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r); }
.members .mh { display: flex; justify-content: space-between; padding: 9px 12px; font-size: 12px; font-weight: 700; color: var(--ink2); border-bottom: 1px solid var(--line); }
.members .mh span { color: var(--ok); font-weight: 600; }
.mrow { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 12px; border-top: 1px solid var(--line); }
.mrow:first-of-type { border-top: 0; }
.mrow:hover { background: var(--s2); }
.mrow .mt { width: 40px; height: 40px; display: grid; place-items: center; background: var(--well); border-radius: 3px; }
.mrow .mt img { max-width: 34px; max-height: 34px; object-fit: contain; }
.mrow .mt img.cape { max-height: 36px; image-rendering: pixelated; }
.mrow .mn { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow .mn span { display: block; font-size: 11.5px; color: var(--ink3); font-weight: 400; }
.mrow .mo { font-size: 11.5px; font-weight: 700; color: var(--ok); }
.more-sec { margin-top: 40px; }
a.tag:hover { color: var(--ink); border-color: var(--line3); }

@media (max-width: 1100px) {
  .cards.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .store-hero .hfeat .h3 { display: none; }
}
@media (max-width: 860px) {
  .store-hero .hero-in { grid-template-columns: 1fr; min-height: 0; }
  .store-hero .hfeat { display: none; }
  .store-hero::before { background: #07060c url('/static/bg/sky.webp') 27% -190px / 900px auto no-repeat; }
  .store-hero .in { padding: 40px 0 34px; }
  .store-hero h1 { font-size: 30px; }
  .st-sets { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .st-sets .setc { scroll-snap-align: start; }
  .st-sets.all { grid-auto-flow: row; grid-template-columns: 1fr; overflow: visible; }
  .pd { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards, .cards.six { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .stabs-row { flex-direction: column; align-items: stretch; }
  .side-acts { padding: 8px 0; order: -1; justify-content: flex-end; }
  .sbar form.q { max-width: none; flex-basis: 100%; }
  .sbar .count { display: none; }
  .card .meta { padding: 9px 10px 11px; }
  .card .nm { font-size: 13px; }
  .pd-buy h1 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .card:hover .stage.k-cape .art { animation: none; }
  .card, .card:hover { transform: none; }
}

/* ── 배경 그림 (qimg) ── 글자 쪽은 늘 어둡게 덮는다 */
main.pg-forum, main.pg-dash { background: linear-gradient(180deg, rgba(5, 4, 9, 0) 280px, var(--bg0) 820px), url('/static/bg/forum.webp') right top / max(100%, 1280px) auto no-repeat; }
main.pg-players { background: linear-gradient(180deg, rgba(5, 4, 9, .55), var(--bg0) 520px), url('/static/bg/sky.webp') center -120px / 1280px auto no-repeat; }
@media (max-width: 760px) {
  main.pg-players { background-position: center -60px; background-size: 900px auto; }
}

/* ── 제작 가이드 · 템플릿 ── */
.tpl-box { margin: -18px -18px 18px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: var(--s2); }
.tpl-box h3 { margin-bottom: 10px; }
.tpl-box .dls { grid-template-columns: 1fr; }
.tpl-box .more { display: inline-block; margin-top: 10px; font-size: 12.5px; color: var(--ink2); }
.tpl-box .more:hover { color: var(--ink); }
.dls { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; margin-top: 14px; }
.dl { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border: 1px solid var(--line2); border-left: 3px solid var(--red-lo); border-radius: var(--r); background: var(--s1); }
.dl b { font-size: 13px; color: var(--ink); }
.dl span { font: 600 11px var(--cond); letter-spacing: .08em; color: var(--ink3); }
.dl:hover { border-color: var(--line3); border-left-color: var(--red-ink); background: var(--s3); }
.guide section { padding: 34px 0 6px; border-top: 1px solid var(--line); margin-top: 26px; scroll-margin-top: 70px; }
.guide section:first-of-type { border-top: 0; margin-top: 0; padding-top: 4px; }
.guide h2 { font-size: 22px; font-weight: 800; margin-bottom: 14px; letter-spacing: -.01em; }
.guide h3 { font-size: 14px; font-weight: 800; margin: 18px 0 8px; }
.gmore { margin-top: 22px; border: 1px solid var(--line2); border-radius: 4px; background: var(--s1); }
.gmore summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 12px 16px; font-size: 13px; font-weight: 700; color: var(--ink2); }
.gmore summary::-webkit-details-marker { display: none; }
.gmore summary::before { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .15s; }
.gmore[open] summary::before { transform: rotate(45deg); }
.gmore summary:hover { color: var(--ink); }
.gmore-b { padding: 0 16px 16px; border-top: 1px solid var(--line); }
.guide section > p, .guide .gsplit p, .guide .gcols p { color: var(--ink2); max-width: 760px; }
.guide .gsm { font-size: 12.5px; margin-top: 10px; }
.gnav { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 18px; }
.gnav a { padding: 6px 12px; border: 1px solid var(--line2); background: var(--s1); color: var(--ink2); font-size: 12.5px; font-weight: 600; border-radius: var(--r); }
.gnav a:hover { color: var(--ink); background: var(--s3); }
.gsplit { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.gsplit .tbl { margin-top: 14px; border: 1px solid var(--line); }
.gart .sheet { width: 100%; height: auto; border: 1px solid var(--line2); background: repeating-conic-gradient(#15121b 0 25%, #0e0c13 0 50%) 0 0 / 16px 16px; }
.gstage { margin-top: 10px; aspect-ratio: 16 / 10; border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 30%, rgba(204, 47, 98, .12), transparent 60%), var(--bg1); }
.gstage canvas { width: 100%; height: 100%; display: block; cursor: grab; }
.gart .tools { margin-top: 8px; }
.sw { display: inline-block; width: 10px; height: 10px; margin-right: 8px; vertical-align: -1px; border: 1px solid rgba(0, 0, 0, .5); }
.sw.c-front { background: #cc2f62; } .sw.c-back { background: #585294; } .sw.c-top { background: #e8c45c; } .sw.c-bottom { background: #7ab274; } .sw.c-side { background: #68a0d6; }
.slot-dls { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 16px; }
.slot-dls .sd { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line2); border-radius: var(--r); background: var(--s1); }
.slot-dls .sd b { font-size: 13px; }
.slot-dls .sd span { font-size: 11px; color: var(--ink3); }
.slot-dls .sd:hover { border-color: var(--red-lo); background: var(--s3); }
.gcols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 6px; }
.guide .kv dt { color: var(--ink); font-size: 12.5px; }
.guide .kv dd { color: var(--ink2); font-size: 13px; margin-bottom: 8px; }
.gl { padding-left: 1.2em; color: var(--ink2); font-size: 13px; }
.gl li + li { margin-top: 4px; }
.steps { padding-left: 1.4em; color: var(--ink2); font-size: 13px; }
.steps li + li { margin-top: 6px; }
.steps.big { list-style: none; padding: 0; counter-reset: st; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.steps.big li { counter-increment: st; margin: 0; padding: 14px; border: 1px solid var(--line); background: var(--s1); border-radius: var(--r); display: flex; flex-direction: column; gap: 6px; }
.steps.big li::before { content: counter(st, decimal-leading-zero); font: 700 13px var(--cond); letter-spacing: .1em; color: var(--red-ink); }
.steps.big b { color: var(--ink); font-size: 14px; }
.rule-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.rule-grid > div { padding: 14px; border: 1px solid var(--line); border-top: 2px solid var(--line3); background: var(--s1); border-radius: var(--r); }
.rule-grid h3 { margin: 0 0 6px; }
.rule-grid p { font-size: 13px; color: var(--ink2); }
.errs td:first-child { color: var(--ink); width: 40%; }
.errs td:last-child { color: var(--ink2); }
@media (max-width: 960px) {
  .gsplit, .gcols { grid-template-columns: 1fr; }
  .steps.big, .rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slot-dls { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .steps.big, .rule-grid { grid-template-columns: 1fr; }
  .slot-dls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .errs td:first-child { width: auto; }
}
.guide td.mono, #spec td:nth-child(2) { white-space: nowrap; }
@media (max-width: 560px) { #spec .tbl { font-size: 12px; } #spec .tbl td, #spec .tbl th { padding: 8px; } }
.rows .row .d { white-space: nowrap; flex-shrink: 0; }
table.stats td:not(:first-child) { white-space: nowrap; }
@media (max-width: 560px) { table.stats .srv { display: none; } table.stats td, table.stats th { padding-left: 6px; padding-right: 6px; } }
.faces td:first-child { white-space: nowrap; }

/* ══════════ 3판: 프로필 사진·배너·칭호, 포럼 ══════════ */
.ic { width: 16px; height: 16px; flex: none; display: inline-block; vertical-align: -3px; }

/* 프로필 사진 — 네모(모서리 3px). 마크 머리는 픽셀 그대로 */
.av { flex: none; object-fit: cover; background: var(--s3); border: 1px solid var(--line2); }
.av.s { width: 22px; height: 22px; border-radius: 2px; }
.av.m { width: 40px; height: 40px; border-radius: 3px; }
.av.l { width: 112px; height: 112px; border-radius: 4px; border-width: 2px; }
.av.px { image-rendering: pixelated; }
span.av { display: grid; place-items: center; font: 700 11px var(--cond); color: var(--ink3); }
span.av.m { font-size: 16px; } span.av.l { font-size: 40px; }
.who { gap: 6px; }
.who .nm { font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who .nm:hover { color: var(--red-ink); }

/* 칭호 — 오른쪽 위 모서리를 깎은 각진 표, 등급별 선·글자색 */
.tb { display: inline-flex; align-items: center; height: 18px; padding: 0 7px 0 6px; font: 700 10.5px/1 var(--sans); letter-spacing: .02em; white-space: nowrap; border: 1px solid var(--line3); color: var(--ink2); background: var(--s2); clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 0 100%); flex: none; max-width: 14em; overflow: hidden; text-overflow: ellipsis; }
.tb.r-rare { border-color: rgba(116, 168, 255, .55); color: #a9c8ff; background: rgba(76, 120, 210, .12); }
.tb.r-epic { border-color: rgba(150, 125, 255, .7); color: var(--violet-ink); background: rgba(111, 91, 196, .18); }
.tb.r-legend { border-color: rgba(233, 189, 92, .7); color: #f2cf7f; background: rgba(233, 189, 92, .1); }
.tb.r-mythic { border-color: var(--red); color: #ffd1e0; background: linear-gradient(90deg, var(--red-lo) 0 3px, rgba(204, 47, 98, .2) 3px); padding-left: 9px; }

/* 머리 종 */
.nav-bell { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: var(--r); background: var(--s1); color: var(--ink2); }
.nav-bell:hover, .nav-bell.on { color: var(--ink); border-color: var(--line2); }
.nav-bell .ic { width: 17px; height: 17px; }
.nav-bell .bn { position: absolute; top: -5px; right: -6px; min-width: 17px; height: 15px; padding: 0 4px; background: var(--red); color: #fff; font: 700 10px/15px var(--cond); text-align: center; border-radius: 2px; }
.acc-links { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }

/* ── 포럼 목록 ── */
.forum { padding-bottom: 48px; }
.f-hero { padding: 30px 0 18px; display: flex; align-items: end; gap: 20px; }
.f-hero .ttl { margin-top: 8px; font-size: 30px; }
.f-hero p { margin-top: 6px; color: var(--ink2); font-size: 13.5px; max-width: 640px; }
.f-grid { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 22px; align-items: start; }
.f-side { position: sticky; top: 72px; display: grid; gap: 14px; }
.f-write { width: 100%; height: 40px; }
.f-cats { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.f-cats .side-h, .f-tagbox .side-h { font: 700 10.5px var(--cond); letter-spacing: .2em; color: var(--ink4); padding: 10px 12px 6px; background: var(--s1); }
.f-cats a { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: rgba(15, 13, 22, .92); font-size: 13.5px; font-weight: 600; color: var(--ink2); border-left: 2px solid transparent; }
.f-cats a:hover { color: var(--ink); background: var(--s2); }
.f-cats a.on { color: var(--ink); background: var(--s2); border-left-color: var(--red); }
.f-cats a b { font: 600 11.5px var(--cond); color: var(--ink4); letter-spacing: .06em; }
.f-tagbox { border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(15, 13, 22, .92); }
.f-tags { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px 10px 12px; }
.tg { display: inline-flex; align-items: center; gap: 3px; height: 22px; padding: 0 7px; border: 1px solid var(--line2); border-radius: 2px; font-size: 12px; font-weight: 600; color: var(--ink2); background: var(--well); white-space: nowrap; }
.tg:hover { color: var(--ink); border-color: var(--line3); }
.tg small { font: 600 10.5px var(--cond); color: var(--ink4); }
.tg.sm { height: 18px; font-size: 11px; padding: 0 5px; color: var(--ink3); }
.f-tools { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 10px; flex-wrap: wrap; }
.f-sort { display: flex; border: 1px solid var(--line2); border-radius: var(--r); overflow: hidden; background: var(--s1); }
.f-sort a { padding: 0 13px; height: 34px; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--ink3); }
.f-sort a + a { border-left: 1px solid var(--line); }
.f-sort a:hover { color: var(--ink); }
.f-sort a.on { color: var(--ink); background: var(--s3); box-shadow: inset 0 -2px 0 var(--red); }
.f-search { display: flex; min-width: 0; flex: 0 1 380px; }
.f-search select, .f-search input, .f-search button { height: 34px; border: 1px solid var(--line2); background: var(--well); font-size: 13px; }
.f-search select { border-radius: var(--r) 0 0 var(--r); padding: 0 8px; border-right: 0; color: var(--ink2); background: var(--s1); }
.f-search input { flex: 1; min-width: 0; padding: 0 10px; }
.f-search input:focus { outline: none; border-color: var(--red-lo); }
.f-search button { width: 38px; display: grid; place-items: center; border-left: 0; border-radius: 0 var(--r) var(--r) 0; background: var(--s2); color: var(--ink2); cursor: pointer; }
.f-filter { display: flex; gap: 12px; align-items: center; padding: 8px 12px; margin-bottom: 10px; border: 1px solid var(--line); border-left: 2px solid var(--violet); background: var(--s1); font-size: 13px; color: var(--ink2); flex-wrap: wrap; }
.f-filter a { display: inline-flex; gap: 4px; align-items: center; margin-left: auto; color: var(--ink3); font-weight: 600; font-size: 12.5px; }
.f-filter a:hover { color: var(--ink); }
.f-list { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: rgba(15, 13, 22, .94); }
.f-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; padding: 12px 14px 12px 8px; border-top: 1px solid var(--line); align-items: start; }
.f-row:first-child { border-top: 0; }
.f-row:hover { background: var(--s2); }
.f-row.pin { background: rgba(204, 47, 98, .05); padding-top: 9px; padding-bottom: 9px; }
.f-row.pin .f-t { font-size: 14px; }
.f-score { display: grid; justify-items: center; gap: 0; padding-top: 2px; color: var(--ink4); }
.f-score b { font: 700 14px/1.2 var(--cond); color: var(--ink2); letter-spacing: .02em; }
.f-score.mine-up { color: var(--red-ink); } .f-score.mine-up b { color: var(--red-ink); }
.f-score.mine-down { color: var(--violet-ink); }
.f-body { min-width: 0; }
.f-meta { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; min-height: 0; }
.f-meta:empty { display: none; }
.mk { display: inline-flex; align-items: center; gap: 3px; height: 18px; padding: 0 5px; border: 1px solid var(--line2); border-radius: 2px; font-size: 11px; font-weight: 700; color: var(--ink3); white-space: nowrap; }
.mk .ic { width: 12px; height: 12px; vertical-align: 0; }
.mk.cat { color: var(--ink2); }
.mk.cat:hover { color: var(--ink); border-color: var(--line3); }
.mk.pin { color: var(--red-ink); border-color: rgba(204, 47, 98, .45); }
.mk.new { color: var(--red-ink); background: var(--red-wash); border-color: var(--red-lo); font-family: var(--cond); letter-spacing: .05em; }
.mk.ok { color: var(--ok); border-color: rgba(114, 211, 155, .4); }
.mk.warn { color: var(--warn); border-color: rgba(240, 164, 106, .5); }
.f-t { margin-top: 4px; font-size: 15px; font-weight: 700; line-height: 1.4; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.f-t > a:first-child { color: var(--ink); }
.f-t > a:first-child:hover { color: var(--red-ink); }
.f-t a:first-child:visited { color: var(--ink2); }
.f-cn { font: 700 13px var(--cond); color: var(--red-ink); letter-spacing: .02em; }
.f-im { display: inline-flex; gap: 2px; align-items: center; font: 600 12px var(--cond); color: var(--ink3); }
.f-im .ic { width: 13px; height: 13px; vertical-align: 0; }
.f-pv { margin-top: 3px; font-size: 13px; color: var(--ink3); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.55; }
.f-by { display: flex; gap: 8px; align-items: center; margin-top: 8px; font-size: 12px; color: var(--ink3); flex-wrap: wrap; min-width: 0; }
.f-by .who { font-size: 12.5px; max-width: 100%; }
.f-by .dot { color: var(--ink4); }
.f-st { display: inline-flex; gap: 10px; color: var(--ink4); font: 600 12px var(--cond); letter-spacing: .02em; }
.f-st span { display: inline-flex; align-items: center; gap: 3px; }
.f-st .ic { width: 13px; height: 13px; vertical-align: 0; }
.f-cover { display: block; width: 160px; height: 90px; border: 1px solid var(--line2); border-radius: var(--r); overflow: hidden; background: var(--well); align-self: center; }
.f-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s var(--ease); }
.f-row:hover .f-cover img { transform: scale(1.04); }

/* ── 글 보기 ── */
.crumbs { display: flex; gap: 8px; align-items: center; padding: 22px 0 14px; font-size: 12.5px; font-weight: 600; color: var(--ink3); }
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--ink4); }
.pv-grid { display: grid; grid-template-columns: minmax(0, 1fr) 272px; gap: 22px; align-items: start; }
.pv { border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(15, 13, 22, .96); }
.pv-h { padding: 20px 26px 16px; border-bottom: 1px solid var(--line); }
.pv-h h1 { font-size: 25px; font-weight: 800; line-height: 1.3; margin-top: 8px; letter-spacing: -.005em; }
.pv-meta { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 12.5px; color: var(--ink3); flex-wrap: wrap; }
.pv-body { padding: 22px 26px 8px; font-size: 15px; line-height: 1.8; }
.pv-tags { display: flex; gap: 5px; flex-wrap: wrap; padding: 14px 26px 0; }
.pv-bar { display: flex; gap: 8px; align-items: center; padding: 14px 26px 16px; flex-wrap: wrap; }
.pv-bar form:not(.vote) { display: inline; }
.pv-bar .sp { flex: 1; }
.pv-mod { display: flex; gap: 6px; align-items: center; padding: 10px 26px; border-top: 1px dashed var(--line2); flex-wrap: wrap; background: var(--bg1); border-radius: 0 0 var(--r-lg) var(--r-lg); }
.pv-mod .kick { color: var(--ink4); margin-right: 6px; }
.pv-mod form { display: inline; }
.vote { display: inline-flex; align-items: stretch; border: 1px solid var(--line2); border-radius: var(--r); overflow: hidden; background: var(--s1); }
.vb { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px; border: 0; background: none; color: var(--ink3); cursor: pointer; font: 600 12.5px var(--cond); letter-spacing: .02em; }
.vb:hover:not([disabled]) { color: var(--ink); background: var(--s2); }
.vb.up.on { color: #fff; background: var(--red); }
.vb.down.on { color: #fff; background: var(--violet); }
.vb[disabled] { cursor: default; opacity: .7; }
.vs { display: grid; place-items: center; min-width: 40px; padding: 0 6px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); font: 700 15px var(--cond); color: var(--ink); }
.vote.mini { border: 0; background: none; }
.vote.mini .vb { height: 22px; padding: 0 4px; }
.vote.mini .vb.up.on { background: none; color: var(--red-ink); }
.pv-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.pn { display: grid; gap: 3px; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(15, 13, 22, .9); min-width: 0; }
.pn:hover { border-color: var(--line3); }
.pn .k { display: inline-flex; align-items: center; gap: 4px; font: 700 10.5px var(--cond); letter-spacing: .16em; color: var(--ink4); text-transform: uppercase; }
.pn b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn.r { text-align: right; justify-items: end; }
.pn.none { border: 0; background: none; }
.pv-side { position: sticky; top: 72px; display: grid; gap: 12px; }
.acard { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--s1); }
.ac-ban { height: 84px; background: var(--s3); }
.ac-ban img { width: 100%; height: 100%; object-fit: cover; }
.ac-ban.none { background: linear-gradient(135deg, var(--s2), var(--violet-lo)); height: 44px; }
.ac-b { padding: 0 16px 14px; display: grid; justify-items: start; gap: 6px; }
.ac-b .av.m { width: 56px; height: 56px; margin-top: -28px; border: 2px solid var(--s1); box-shadow: 0 0 0 1px var(--line2); }
.ac-nm { font-size: 16px; font-weight: 800; }
.ac-nm:hover { color: var(--red-ink); }
.ac-b dl { margin: 6px 0 0; width: 100%; display: grid; gap: 4px; font-size: 12.5px; }
.ac-b dl div { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 5px; }
.ac-b dt { color: var(--ink3); } .ac-b dd { margin: 0; font-weight: 600; }
.pinfo { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--s1); padding: 6px 14px; font-size: 12.5px; }
.pinfo div { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid var(--line); }
.pinfo div:first-child { border-top: 0; }
.pinfo span { color: var(--ink3); }
.pinfo b { font-family: var(--cond); font-size: 13.5px; letter-spacing: .02em; }

/* 글 속 그림: 한 장은 크게, 여러 장이 한 문단이면 바둑판 */
.prose img { max-height: 560px; width: auto; height: auto; cursor: zoom-in; background: var(--well); }
.prose p:has(> img + img), .prose p:has(> img + br + img) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.prose p:has(> img:nth-of-type(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prose p:has(> img:nth-of-type(4):last-of-type) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prose p:has(> img + img) br { display: none; }
.prose p:has(> img + img) img { width: 100%; height: 300px; object-fit: cover; max-height: none; margin: 0; }
.prose p:has(> img:nth-of-type(3)) img { height: 220px; }
.prose p:has(> img:nth-of-type(4):last-of-type) img { height: 300px; }
.prose .spoiler { background: var(--ink4); color: transparent; border-radius: 2px; padding: 0 3px; cursor: pointer; transition: color .15s, background-color .15s; }
.prose .spoiler a, .prose .spoiler code { visibility: hidden; }
.prose .spoiler.open { background: var(--s3); color: inherit; }
.prose .spoiler.open a, .prose .spoiler.open code { visibility: visible; }
.prose a.mention { color: var(--violet-ink); text-decoration: none; font-weight: 700; background: rgba(111, 91, 196, .14); padding: 0 3px; border-radius: 2px; }

/* 보는 창 (그림 크게) */
.lbx { position: fixed; inset: 0; z-index: 90; background: rgba(4, 3, 8, .94); display: grid; grid-template-rows: auto 1fr auto; }
.lbx[hidden] { display: none; }
.lbx-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: var(--ink2); font: 600 12.5px var(--cond); letter-spacing: .06em; }
.lbx-top .sp { flex: 1; }
.lbx button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line2); border-radius: var(--r); background: rgba(15, 13, 22, .85); color: var(--ink); cursor: pointer; }
.lbx button:hover { border-color: var(--line3); }
.lbx-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 64px; }
.lbx-stage img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border: 0; cursor: zoom-out; }
.lbx .prev, .lbx .next { position: absolute; top: 50%; transform: translateY(-50%); }
.lbx .prev { left: 14px; } .lbx .next { right: 14px; }
.lbx-thumbs { display: flex; gap: 6px; justify-content: center; padding: 10px; overflow-x: auto; }
.lbx-thumbs img { width: 64px; height: 44px; object-fit: cover; border: 1px solid var(--line2); border-radius: 2px; opacity: .55; cursor: pointer; }
.lbx-thumbs img.on { opacity: 1; border-color: var(--red); }

/* 댓글 */
.cmts { margin-top: 22px; }
.cm-empty { padding: 4px 0 8px; font-size: 13px; }
.cm { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.cm:target { background: linear-gradient(90deg, rgba(204, 47, 98, .1), transparent 70%); }
.cm-kids { margin-left: 52px; border-left: 2px solid var(--line2); padding-left: 14px; }
.cm.child { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 10px 0; }
.cm.child .av.m { width: 32px; height: 32px; }
.cm-kids .cm:first-child { border-top: 0; }
.cm-h { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--ink3); flex-wrap: wrap; }
.cm-h .nm { color: var(--ink); font-weight: 700; font-size: 13.5px; }
.cm-h .nm:hover { color: var(--red-ink); }
.cm-h a.muted:hover { color: var(--ink); }
.op { font: 700 10px/16px var(--cond); letter-spacing: .1em; padding: 0 5px; border: 1px solid rgba(204, 47, 98, .5); color: var(--red-ink); border-radius: 2px; }
.cm-t { font-size: 14px; margin-top: 4px; }
.cm-t img { max-height: 320px; }
.cm-act { display: flex; gap: 12px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.cm-act form:not(.vote) { display: inline; }
.ab { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 0; color: var(--ink3); font-size: 12px; font-weight: 600; cursor: pointer; }
.ab:hover { color: var(--ink); }
.ab .ic { width: 14px; height: 14px; vertical-align: 0; }
.cm.hidden-c { opacity: .55; }
.rep { position: relative; display: inline-block; }
.rep summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; color: var(--ink3); font-size: 12px; font-weight: 600; height: 30px; }
.rep summary::-webkit-details-marker { display: none; }
.rep summary:hover { color: var(--ink); }
.rep .ic { width: 14px; height: 14px; vertical-align: 0; }
.rep form { position: absolute; z-index: 15; top: 100%; left: 0; width: 210px; display: grid; gap: 6px; padding: 12px; border: 1px solid var(--line3); border-radius: var(--r); background: var(--s2); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); font-size: 13px; }
.rep label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.cm-act .rep summary { height: auto; }
.reply { margin-top: 16px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(15, 13, 22, .96); }
.reply .bar { margin-top: 10px; justify-content: flex-end; }
.reply-to { display: flex; gap: 10px; align-items: center; padding: 6px 10px; margin-bottom: 8px; border-left: 2px solid var(--violet); background: var(--s2); font-size: 12.5px; color: var(--ink2); }
.reply-to[hidden] { display: none; }

/* ── 글쓰기 칸 ── */
.ed-wrap { max-width: 920px; }
.post-form { display: grid; gap: 12px; }
.pf-top { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px; }
.pf-title { height: 46px; font-size: 17px; font-weight: 700; }
.pf-top select.field { height: 46px; background-position: calc(100% - 15px) 20px, calc(100% - 10px) 20px; }
.pf-tags label.lb { margin-bottom: 4px; }
.pf-act { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pf-act .hint { margin: 0; max-width: 520px; }
.pf-act .sp { flex: 1; }
.ed { border: 1px solid var(--line2); border-radius: var(--r); background: var(--well); }
.ed:focus-within { border-color: var(--red-lo); box-shadow: 0 0 0 1px var(--red-lo); }
.ed.drag { border-color: var(--red); box-shadow: 0 0 0 2px rgba(204, 47, 98, .35); background: rgba(204, 47, 98, .04); }
.ed-bar { display: flex; align-items: stretch; justify-content: space-between; border-bottom: 1px solid var(--line2); background: var(--s1); border-radius: var(--r) var(--r) 0 0; flex-wrap: wrap; }
.ed-tabs { display: flex; }
.ed-tabs button { height: 36px; padding: 0 14px; border: 0; border-right: 1px solid var(--line); background: none; color: var(--ink3); font-size: 13px; font-weight: 600; cursor: pointer; }
.ed-tabs button.on { color: var(--ink); background: var(--well); box-shadow: inset 0 2px 0 var(--red); }
.ed-tools { display: flex; flex-wrap: wrap; }
.ed-tools button { width: 34px; height: 36px; display: grid; place-items: center; border: 0; border-left: 1px solid var(--line); background: none; color: var(--ink3); cursor: pointer; }
.ed-tools button:hover { color: var(--ink); background: var(--s2); }
.ed-ta { display: block; width: 100%; min-height: 140px; padding: 12px 14px; border: 0; background: none; resize: vertical; font: 14.5px/1.7 var(--sans); }
.ed-ta[rows="16"] { min-height: 360px; }
.ed-ta:focus { outline: none; }
.ed-prev { min-height: 140px; padding: 14px 16px; }
.ed-prev[hidden], .ed textarea[hidden] { display: none; }
.ed-foot { display: flex; gap: 12px; align-items: center; padding: 6px 12px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--ink4); }
.ed-foot .sp { flex: 1; }
.ed-count { font: 600 11.5px var(--cond); letter-spacing: .04em; color: var(--ink3); }
.ed-count.over { color: var(--red-ink); }
.ed-draft { color: var(--ink3); }
.ed-draft button { background: none; border: 0; color: var(--red-ink); font-size: 11.5px; cursor: pointer; padding: 0 0 0 6px; font-weight: 600; }
.ed-ups { display: grid; gap: 1px; }
.ed-ups:empty { display: none; }
.upr { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 12px; border-top: 1px solid var(--line); font-size: 12.5px; background: var(--s1); }
.upr img, .upr .ph { width: 44px; height: 32px; object-fit: cover; border: 1px solid var(--line2); border-radius: 2px; background: var(--s3); }
.upr .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink2); }
.upr .pb { grid-column: 2; height: 3px; background: var(--s3); position: relative; overflow: hidden; margin-top: 4px; }
.upr .pb i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--red); transition: width .15s; }
.upr .st { font: 600 11.5px var(--cond); letter-spacing: .04em; color: var(--ink3); }
.upr.done .st { color: var(--ok); }
.upr.done .pb i { background: var(--ok); }
.upr.bad { background: var(--red-wash); }
.upr.bad .st { color: var(--red-ink); }

/* ── 알림 ── */
.nf-wrap { max-width: 860px; }
.nf-h { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 30px 0 18px; }
.nf-h .ttl { margin-top: 8px; }
.nf-list { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: rgba(15, 13, 22, .96); }
.nf-list:empty { display: none; }
.nf { display: grid; grid-template-columns: 22px 40px minmax(0, 1fr) 10px; gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink2); }
.nf:first-child { border-top: 0; }
.nf:hover { background: var(--s2); }
.nf.unread { background: rgba(204, 47, 98, .05); color: var(--ink); }
.nf-ic { color: var(--ink4); display: grid; place-items: center; }
.nf.unread .nf-ic { color: var(--red-ink); }
.nf-t { display: grid; gap: 2px; min-width: 0; }
.nf-t > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.nf-t .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nf-dot { width: 8px; height: 8px; background: var(--red); }

/* ── 회원 페이지 ── */
.mhead { margin-top: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--s1); }
.mban { aspect-ratio: 3 / 1; max-height: 320px; width: 100%; background: linear-gradient(135deg, var(--s2), var(--violet-lo) 70%, var(--red-lo)); }
.mhead:not(.has-ban) .mban { aspect-ratio: auto; height: 90px; }
.mban img { width: 100%; height: 100%; object-fit: cover; }
.mid { display: flex; gap: 18px; align-items: end; padding: 0 22px 18px; }
.mid .av.l { margin-top: -56px; border: 3px solid var(--s1); box-shadow: 0 0 0 1px var(--line2); }
.mtx { min-width: 0; flex: 1; padding-bottom: 4px; }
.mnm { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mnm h1 { font-size: 26px; font-weight: 800; }
.mtx .small { margin-top: 4px; }
.mtx .small a { color: var(--ink2); text-decoration: underline; text-decoration-color: var(--line3); }
.medit { align-self: end; }
.tt-row { display: flex; flex-wrap: wrap; gap: 6px; }
.mlist { display: grid; }
.mpost { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line); }
.mpost:first-child { border-top: 0; }
.mpost:hover { background: var(--s2); }
.mth { width: 96px; height: 54px; object-fit: cover; border: 1px solid var(--line2); border-radius: 2px; background: var(--well); }
.mth.none { display: block; background: repeating-linear-gradient(135deg, var(--s2) 0 6px, var(--s1) 6px 12px); }
.mpt { display: grid; gap: 2px; min-width: 0; }
.mpt b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pbanner { position: relative; display: block; margin-bottom: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; height: 200px; }
.pbanner img { width: 100%; height: 100%; object-fit: cover; }
.pb-who { position: absolute; left: 14px; bottom: 12px; display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; background: rgba(7, 6, 11, .82); border: 1px solid var(--line2); border-radius: var(--r); }
.pb-who b { font-size: 14px; }

/* ── 프로필 꾸미기 ── */
.me-wrap { max-width: 980px; padding-bottom: 48px; }
.me-prev { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--s1); }
.me-ban { aspect-ratio: 3 / 1; background: linear-gradient(135deg, var(--s2), var(--violet-lo) 70%, var(--red-lo)); }
.me-ban img { width: 100%; height: 100%; object-fit: cover; }
.me-id { display: flex; gap: 16px; align-items: end; padding: 0 20px 16px; }
.me-id .av.l { margin-top: -50px; border: 3px solid var(--s1); box-shadow: 0 0 0 1px var(--line2); }
.me-nm { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.me-nm b { font-size: 20px; font-weight: 800; }
.me-id a.muted { font-size: 12.5px; }
.me-id a.muted:hover { color: var(--ink); }
.crop-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; }
.crop-side { display: grid; gap: 10px; justify-items: start; }
.crop-now { display: flex; gap: 12px; align-items: end; }
.cropper { display: grid; gap: 8px; }
.cropper[hidden] { display: none; }
.crop-stage { position: relative; width: 260px; height: 260px; overflow: hidden; background: repeating-conic-gradient(var(--s2) 0 25%, var(--s1) 0 50%) 0 0 / 16px 16px; border: 1px solid var(--line3); border-radius: var(--r); cursor: grab; touch-action: none; user-select: none; }
.cropper.wide .crop-stage { width: min(100%, 600px); height: auto; aspect-ratio: 3 / 1; }
.crop-stage:active { cursor: grabbing; }
.crop-img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; }
.crop-frame { position: absolute; inset: 0; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85); pointer-events: none; }
.crop-frame::after { content: ''; position: absolute; inset: 33.3% 0; border-top: 1px solid rgba(255, 255, 255, .25); border-bottom: 1px solid rgba(255, 255, 255, .25); }
.crop-zoom { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--ink3); }
.crop-zoom input { flex: 1; accent-color: var(--red); }
.filebtn { position: relative; overflow: hidden; }
.filebtn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cropf .hint { margin: 0; }
.inline-f { margin-top: 10px; }
.ban-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ban-opt { position: relative; display: grid; gap: 4px; cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--ink2); }
.ban-opt input { position: absolute; opacity: 0; }
.ban-opt img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; border: 1px solid var(--line2); border-radius: var(--r); }
.ban-opt:hover img { border-color: var(--line3); }
.ban-opt input:checked + img { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.ban-opt input:focus-visible + img { outline: 2px solid var(--red-ink); outline-offset: 2px; }
.cropf[data-aspect="3"] { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.tt-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tt-opt { display: flex; gap: 10px; align-items: center; padding: 9px 12px; background: var(--s1); cursor: pointer; flex-wrap: wrap; }
.tt-opt:hover { background: var(--s2); }
.tt-opt input { accent-color: var(--red); margin: 0; }
.kick.mt { margin: 18px 0 8px; color: var(--ink3); }
.tt-shop { display: grid; gap: 6px; }
.tt-shop form { display: flex; gap: 10px; align-items: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r); flex-wrap: wrap; }
.tt-shop form .small { flex: 1; }
.box-h a.sm { font-size: 12px; margin-left: auto; }
.box-h a.sm:hover { color: var(--ink); }

/* 칭호 목록 */
.tt-cat { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; margin-bottom: 28px; }
.tt-card { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(15, 13, 22, .94); }
.tt-card.have { border-color: rgba(114, 211, 155, .3); }
.tt-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tt-r { font: 700 10px var(--cond); letter-spacing: .16em; color: var(--ink4); text-transform: uppercase; }
.tt-card p { font-size: 12.5px; color: var(--ink3); }
.tt-foot { display: flex; align-items: center; gap: 8px; min-height: 30px; }
.tt-foot .sp { flex: 1; }
.tt-new { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 14px 16px; align-items: end; }
.tt-new .f.grow { grid-column: 1 / -2; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }

@media (max-width: 1100px) {
  .pv-grid { grid-template-columns: minmax(0, 1fr); }
  .pv-side { position: static; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tt-new { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tt-new .f.grow { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .f-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .f-side { position: static; display: flex; gap: 8px; align-items: center; overflow-x: auto; padding-bottom: 2px; }
  .f-write { width: auto; flex: none; height: 34px; }
  .f-cats { display: flex; background: none; border: 0; gap: 4px; flex: none; }
  .f-cats .side-h, .f-tagbox { display: none; }
  .f-cats a { border: 1px solid var(--line); border-radius: var(--r); white-space: nowrap; gap: 8px; padding: 6px 10px; }
  .f-cats a.on { border-color: var(--line3); border-left: 1px solid var(--line3); box-shadow: inset 0 -2px 0 var(--red); }
  .f-search { flex: 1 1 100%; }
  .crop-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .nav-bell { width: 32px; height: 32px; }
  .f-hero { padding: 18px 0 12px; }
  .f-hero .ttl { font-size: 24px; }
  .f-hero p { font-size: 12.5px; }
  .f-sort { width: 100%; }
  .f-sort a { flex: 1; padding: 0 4px; font-size: 12.5px; }
  .f-row { grid-template-columns: minmax(0, 1fr) auto; padding: 11px 12px; gap: 10px; }
  .f-score { display: none; }
  .f-cover { width: 84px; height: 64px; align-self: start; margin-top: 4px; }
  .f-t { font-size: 14.5px; }
  .f-pv { -webkit-line-clamp: 1; }
  .f-by .tg.sm { display: none; }
  .pv-h { padding: 16px 16px 14px; }
  .pv-h h1 { font-size: 20px; }
  .pv-body { padding: 16px 16px 4px; font-size: 14.5px; }
  .pv-tags { padding: 12px 16px 0; }
  .pv-bar { padding: 12px 16px 14px; gap: 6px; }
  .pv-bar .btn span { display: none; }
  .pv-mod { padding: 10px 16px; }
  .pv-side { grid-template-columns: minmax(0, 1fr); }
  .pv-nav { grid-template-columns: minmax(0, 1fr); }
  .pn.r { text-align: left; justify-items: start; }
  .prose p:has(> img + img), .prose p:has(> img:nth-of-type(3)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prose p:has(> img + img) img, .prose p:has(> img:nth-of-type(3)) img, .prose p:has(> img:nth-of-type(4):last-of-type) img { height: 140px; }
  .cm-kids { margin-left: 18px; padding-left: 10px; }
  .pf-top { grid-template-columns: minmax(0, 1fr); }
  .ed-bar { flex-direction: column; }
  .ed-tabs { border-bottom: 1px solid var(--line); }
  .ed-tools { overflow-x: auto; flex-wrap: nowrap; }
  .ed-bar > * { max-width: 100%; min-width: 0; }
  .ed-tools button:first-child { border-left: 0; }
  .ed-hint { display: none; }
  .ed-ta[rows="16"] { min-height: 260px; }
  .lbx-stage { padding: 0 8px; }
  .lbx .prev, .lbx .next { top: auto; bottom: -50px; transform: none; }
  .nf { grid-template-columns: 18px 32px minmax(0, 1fr) 8px; gap: 10px; padding: 10px 12px; font-size: 13px; }
  .nf .av.m { width: 32px; height: 32px; }
  .mid { padding: 0 14px 14px; gap: 12px; flex-wrap: wrap; }
  .mid .av.l, .me-id .av.l { width: 80px; height: 80px; margin-top: -40px; }
  .mnm h1 { font-size: 21px; }
  .ban-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crop-stage { width: 100%; max-width: 300px; height: auto; aspect-ratio: 1; }
  .pbanner { height: auto; aspect-ratio: 3 / 1; }
  .mpost { grid-template-columns: 72px minmax(0, 1fr); padding: 10px 12px; }
  .mth { width: 72px; height: 44px; }
  .tt-new { grid-template-columns: minmax(0, 1fr); }
  .three { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .f-cover img { transition: none; }
}

/* ───────── 4판: 영상 · 유튜브 · 소식 ───────── */
.ed-sep { width: 1px; background: var(--line2); margin: 0 0 0 0; }
.ed-tools button.ed-media { width: auto; padding: 0 10px; gap: 6px; display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 600; }
.ed-yt { display: flex; gap: 8px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line2); background: var(--s1); flex-wrap: wrap; }
.ed-yt[hidden] { display: none; }
.ed-yt > .ic { color: var(--red-ink); }
.ed-yt .field { flex: 1; min-width: 200px; height: 32px; }
.ed-yt-err { color: var(--red-ink); font-size: 12px; }
.upr .ph { display: grid; place-items: center; color: var(--ink3); }
.upr.conv .st { color: var(--warn); }
.upr.conv .pb i { background: var(--warn); }

/* 유튜브 — 누르기 전엔 썸네일 */
.yt { position: relative; aspect-ratio: 16 / 9; width: 100%; margin: 14px 0; background: #000; border: 1px solid var(--line2); border-radius: var(--r); overflow: hidden; }
.yt a.yt-a { position: absolute; inset: 0; display: block; color: #fff; }
.yt img { width: 100%; height: 100%; object-fit: cover; margin: 0; border: 0; border-radius: 0; opacity: .86; transition: opacity .15s; cursor: pointer; }
.yt a:hover img { opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; display: grid; place-items: center; background: var(--red); border-radius: 6px; box-shadow: 0 4px 18px rgba(0, 0, 0, .5); }
.yt-play svg { width: 22px; height: 22px; fill: #fff; }
.yt a:hover .yt-play { background: var(--red-hi); }
.yt-tag { position: absolute; left: 10px; bottom: 10px; padding: 3px 7px; font: 700 11px var(--cond); letter-spacing: .06em; background: rgba(0, 0, 0, .72); border-radius: 2px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 우리 영상 */
.vid { margin: 14px 0; background: #000; border: 1px solid var(--line2); border-radius: var(--r); overflow: hidden; }
.vid video { display: block; width: 100%; height: auto; max-height: 76vh; background: #000; }
.vid figcaption { padding: 5px 10px; font: 600 11.5px var(--cond); color: var(--ink3); background: var(--s1); border-top: 1px solid var(--line); letter-spacing: .04em; }
.vid-box { aspect-ratio: 16 / 9; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--ink2); background: repeating-linear-gradient(135deg, var(--s1) 0 10px, var(--bg1) 10px 20px); text-align: center; padding: 16px; }
.vid-box b { font-size: 14px; }
.vid-box span { font-size: 12.5px; color: var(--ink3); }
.vid-pc { font: 700 13px var(--cond) !important; color: var(--warn) !important; }
.vid-sp { width: 26px; height: 26px; border: 2px solid var(--line3); border-top-color: var(--warn); border-radius: 50%; animation: vsp 1s linear infinite; }
@keyframes vsp { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .vid-sp { animation: none; } }
.vid-bad .vid-box { background: var(--red-wash); color: var(--red-ink); }

/* 소식 목록 */
.nw-page { padding-bottom: 60px; }
.nw-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.nw-cats { display: flex; gap: 0; border: 1px solid var(--line2); border-radius: var(--r); overflow: hidden; width: max-content; max-width: 100%; margin: 4px 0 20px; background: var(--s1); overflow-x: auto; }
.nw-cats a { padding: 9px 16px; font-size: 13px; font-weight: 600; color: var(--ink3); border-right: 1px solid var(--line); white-space: nowrap; }
.nw-cats a:last-child { border-right: 0; }
.nw-cats a:hover { color: var(--ink); background: var(--s2); }
.nw-cats a.on { color: var(--ink); background: var(--well); box-shadow: inset 0 -2px 0 var(--red); }
.nw-tag { display: inline-block; padding: 2px 7px; font: 700 11px var(--cond); letter-spacing: .06em; border: 1px solid var(--line3); border-radius: 2px; color: var(--ink2); }
.nw-tag.c-notice { color: var(--red-ink); border-color: var(--red-lo); }
.nw-tag.c-update { color: var(--violet-ink); border-color: var(--violet-lo); }
.nw-tag.c-event { color: #f0c46a; border-color: #6b5420; }
.nw-tag.c-maint { color: var(--warn); border-color: var(--warn); }
.nw-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--ink3); }
.nw-feat { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); border: 1px solid var(--line2); border-radius: var(--r-lg); overflow: hidden; background: var(--s1); margin-bottom: 18px; }
.nw-feat:hover { border-color: var(--line3); }
.nw-fimg { display: block; aspect-ratio: 16 / 9; background: var(--well); overflow: hidden; }
.nw-fimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.nw-feat:hover .nw-fimg img { transform: scale(1.02); }
.nw-ftxt { display: flex; flex-direction: column; gap: 12px; padding: 26px 28px; justify-content: center; }
.nw-ft { font-size: 24px; line-height: 1.35; font-weight: 800; letter-spacing: -.01em; }
.nw-fsum { color: var(--ink2); font-size: 14px; line-height: 1.7; }
.nw-more { display: inline-flex; align-items: center; gap: 4px; font: 700 12.5px var(--cond); letter-spacing: .06em; color: var(--red-ink); text-transform: uppercase; }
.nw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.nw-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--s1); }
.nw-card:hover { border-color: var(--line3); background: var(--s2); }
.nw-img { display: block; aspect-ratio: 16 / 9; background: var(--well); overflow: hidden; }
.nw-img img { width: 100%; height: 100%; object-fit: cover; }
.nw-txt { display: flex; flex-direction: column; gap: 7px; padding: 14px 16px 16px; }
.nw-t { font-size: 15.5px; line-height: 1.4; font-weight: 800; }
.nw-sum { font-size: 13px; line-height: 1.6; color: var(--ink3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 소식 글 */
.nw-art { padding-bottom: 70px; }
.nw-art-in { max-width: 920px; }
.nw-preview { margin: 0 0 14px; }
.nw-ah { margin: 4px 0 20px; }
.nw-ah h1 { font-size: 34px; line-height: 1.28; font-weight: 800; letter-spacing: -.015em; margin-top: 12px; }
.nw-upd { color: var(--ink4); }
.nw-cover { margin: 0 0 26px; border: 1px solid var(--line2); border-radius: var(--r-lg); overflow: hidden; background: var(--well); }
.nw-cover img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; }
.nw-fb { font-size: 12.5px; color: var(--ink3); border-left: 2px solid var(--line3); padding-left: 10px; margin-bottom: 16px; }
.nw-body { max-width: 740px; font-size: 16.5px; line-height: 1.9; }
.nw-body h3 { font-size: 21px; margin-top: 1.6em; }
.nw-body h4 { font-size: 17.5px; margin-top: 1.4em; }
.nw-body .yt, .nw-body .vid, .nw-body p:has(> img) { max-width: none; }
.nw-foot { display: flex; gap: 8px; margin: 26px 0 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.nw-moresec { margin-top: 30px; }
.nw-more-h { font-size: 17px; font-weight: 800; margin-bottom: 12px; }

/* 홈 소식 칸 */
.home-news .nw-feat { grid-template-columns: minmax(0, 1fr); margin-bottom: 10px; }
.home-news .nw-ftxt { padding: 16px 18px 18px; gap: 8px; }
.home-news .nw-ft { font-size: 19px; }
.home-news .nw-fsum { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hn-list { display: grid; gap: 1px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--line); }
.hn-i { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; background: var(--s1); }
.hn-i:hover { background: var(--s2); }
.hn-i img { width: 112px; height: 63px; object-fit: cover; border-radius: 2px; background: var(--well); }
.hn-i .meta { display: flex; gap: 8px; align-items: center; font-size: 11.5px; color: var(--ink3); }
.hn-i h3 { font-size: 14px; line-height: 1.4; margin-top: 4px; font-weight: 700; }

/* 대시보드 소식 */
.nw-dbar { margin: 4px 0 14px; display: flex; gap: 8px; align-items: center; }
.nw-tbl .nw-tt { display: flex; gap: 10px; align-items: center; min-width: 260px; }
.nw-tbl .nw-tt img, .nw-noimg { width: 64px; height: 36px; object-fit: cover; border-radius: 2px; border: 1px solid var(--line2); background: var(--well); flex: none; display: block; }
.nw-tbl .nw-tt a { font-weight: 700; }
.nw-tbl .lc { display: inline-block; margin-right: 4px; padding: 0 4px; font: 700 10px var(--cond); border: 1px solid var(--line3); border-radius: 2px; color: var(--ink3); }
.nw-tbl .acts { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nw-tbl .acts form { display: inline-flex; gap: 6px; }
.nw-del { position: relative; }
.nw-del summary { list-style: none; cursor: pointer; }
.nw-del summary::-webkit-details-marker { display: none; }
.nw-del[open] form { position: absolute; right: 0; top: calc(100% + 4px); z-index: 5; padding: 8px; background: var(--s2); border: 1px solid var(--line3); border-radius: var(--r); }
.nw-ed-st { display: flex; gap: 10px; align-items: center; margin: -4px 0 14px; font-size: 12.5px; color: var(--ink3); }
.nw-ed-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.nw-langs { display: flex; border: 1px solid var(--line2); border-bottom: 0; border-radius: var(--r) var(--r) 0 0; overflow: hidden; background: var(--s1); }
.nw-langs button { flex: 1; display: flex; gap: 6px; align-items: baseline; justify-content: center; padding: 10px 12px; border: 0; border-right: 1px solid var(--line); background: none; color: var(--ink3); font-size: 13px; font-weight: 700; cursor: pointer; }
.nw-langs button:last-child { border-right: 0; }
.nw-langs button.on { color: var(--ink); background: var(--well); box-shadow: inset 0 2px 0 var(--red); }
.nw-langs .req { color: var(--red-ink); }
.nw-lp { border: 1px solid var(--line2); border-radius: 0 0 var(--r) var(--r); padding: 12px; background: var(--s1); display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.nw-ed-main, .nw-ed-side { min-width: 0; }
.nw-lp[hidden] { display: none; }
.nw-title { height: 46px; font-size: 18px; font-weight: 700; }
.nw-ed-side .panel-b { padding: 14px 16px; }
.nw-ed-side .stack { display: grid; gap: 12px; }
.nw-ed-side .f { display: grid; gap: 6px; }
.nw-ed-side .hint { padding: 0; margin: 0; font-size: 11.5px; color: var(--ink3); }
.nw-acts { display: grid; gap: 8px; margin-top: 4px; }
.nw-acts .btn { justify-content: center; }
.nw-cover-ed { display: grid; gap: 10px; }
.nw-cv-prev { aspect-ratio: 16 / 9; display: grid; place-items: center; border: 1px dashed var(--line3); border-radius: var(--r); background: var(--well); overflow: hidden; font-size: 12px; text-align: center; padding: 6px; }
.nw-cv-prev img { width: 100%; height: 100%; object-fit: cover; }
.nw-cv-prev:has(img) { padding: 0; border-style: solid; }
.nw-cv-st { color: var(--ink3); min-height: 1em; }
.nw-cover-ed .bar { display: flex; gap: 6px; }

@media (max-width: 1100px) {
  .nw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nw-ed-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .nw-feat { grid-template-columns: minmax(0, 1fr); }
  .nw-ftxt { padding: 18px 18px 20px; }
}
@media (max-width: 640px) {
  .nw-grid, .nw-grid.three { grid-template-columns: minmax(0, 1fr); }
  .nw-h { flex-direction: column; align-items: flex-start; }
  .nw-ah h1 { font-size: 25px; }
  .nw-ft { font-size: 20px; }
  .nw-body { font-size: 15.5px; line-height: 1.85; }
  .nw-cover { margin-left: -16px; margin-right: -16px; border-radius: 0; border-left: 0; border-right: 0; }
  .nw-body .yt, .nw-body .vid, .pv-body .yt, .pv-body .vid { margin-left: -16px; margin-right: -16px; border-radius: 0; border-left: 0; border-right: 0; width: auto; }
  .nw-langs button { flex-direction: column; align-items: center; gap: 1px; padding: 8px 6px; }
  .nw-langs button .small { font-size: 10.5px; font-weight: 500; }
  .ed-tools button.ed-media span { display: none; }
  .ed-tools button.ed-media { width: 34px; padding: 0; justify-content: center; }
  .yt-play { width: 56px; height: 40px; margin: -20px 0 0 -28px; }
  .hn-i { grid-template-columns: 96px minmax(0, 1fr); }
  .hn-i img { width: 96px; height: 54px; }
}

/* ── 대시보드 소식 → 런처 ── */
.nw-tbl .lc.on { color: var(--red-ink); border-color: rgba(204, 47, 98, .5); }
.nl-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 16px; align-items: start; margin-bottom: 16px; }
.nl-grid .panel { margin: 0; }
.nl-grid .panel-b { padding: 14px 16px 16px; }
.nl-grid .stack { display: grid; gap: 14px; }
.nl-grid .f { display: grid; gap: 6px; }
.nl-cats { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.nl-pl { display: flex; border: 1px solid var(--line2); border-radius: 4px; overflow: hidden; }
.nl-pl a { padding: 3px 8px; font: 700 11px var(--cond); color: var(--ink3); letter-spacing: .06em; }
.nl-pl a + a { border-left: 1px solid var(--line2); }
.nl-pl a.on { background: var(--s2, rgba(255, 255, 255, .06)); color: var(--ink); }
.nl-order { list-style: none; margin: 0; padding: 0; }
.nl-row { display: grid; grid-template-columns: 28px 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line); }
.nl-row:first-child { border-top: 0; }
.nl-order .nl-row:not(:has(img)) { grid-template-columns: minmax(0, 1fr) auto; }
.nl-row img { width: 64px; height: 36px; object-fit: cover; border-radius: 2px; display: block; }
.nl-row.out { opacity: .5; }
.nl-n { color: var(--ink3); font-size: 12px; text-align: right; }
.nl-t { min-width: 0; }
.nl-t a { font-weight: 600; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nl-acts { display: flex; gap: 4px; }
.nl-acts .btn .ic { width: 12px; height: 12px; }
.nl-cut { padding: 6px 16px; font: 700 11px var(--cond); letter-spacing: .08em; color: var(--red-ink); border-top: 1px dashed rgba(204, 47, 98, .5); background: rgba(204, 47, 98, .06); }
.hint.pad { padding: 10px 16px 14px; }
/* 런처 홈 카드 (launcher/src/style.css .news-card 와 같은 수치) */
.lnc-stage { padding: 16px; border-radius: 6px; background: #09080e; border: 1px solid var(--line); margin-bottom: 10px; }
.lnc-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.lnc-head h3 { margin: 0; font: 800 15px var(--cond); color: #eeeaf3; }
.lnc-head span { font: 11px var(--mono); color: #7f7790; }
.lnc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lnc-card { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; border: 1px solid rgba(232, 224, 255, .12); background: #100c18; }
.lnc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.lnc-text { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 3px; padding: 34px 14px 12px; background: linear-gradient(180deg, transparent, rgba(6, 5, 10, .9) 52%); }
.lnc-meta { display: flex; gap: 8px; font: 11px var(--mono); color: #b3abc2; }
.lnc-tag { color: #ff8db3; }
.lnc-title { font: 800 16px/1.25 var(--cond); color: #eeeaf3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lnc-body { font-size: 12px; line-height: 1.45; color: #b3abc2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lnc-empty { padding: 28px 12px; text-align: center; color: #7f7790; font-size: 13px; border: 1px dashed rgba(232, 224, 255, .12); border-radius: 6px; }
@media (max-width: 1100px) { .nl-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .lnc { grid-template-columns: minmax(0, 1fr); } .nl-row { grid-template-columns: 22px minmax(0, 1fr); } .nl-row img { display: none; } .nl-acts { grid-column: 1 / -1; } }
