/* Public site styles (community agent). Tokens come from base.css — no hardcoded colours here.
   Breakpoints: PC 1024+, tablet (max-width:1023px), mobile (max-width:767px). */

/* ---------- utilities ---------- */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: var(--r-md); background: var(--neon); color: #fff; font-weight: 700; }
.skip-link:focus { top: 12px; }
.btn-block { width: 100%; }
.hot { color: var(--neon); font-weight: 700; }
.lv { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: var(--r-sm); background: var(--paper-2); color: var(--lantern); font-size: 11px; font-weight: 700; letter-spacing: 0; line-height: 1; white-space: nowrap; }
.lv-lg { height: 28px; padding: 0 10px; font-size: var(--fs-sm); }
.ic-lock { display: inline-block; vertical-align: -1px; margin-right: 4px; color: var(--ink-3); }
.mo-only { display: none; }
[hidden] { display: none !important; }

/* ---------- header ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: var(--night); border-bottom: 1px solid var(--line-2); }
.hd-bar { display: flex; align-items: center; gap: 20px; height: 140px; } /* 로고 120px + 위아래 여백 */
.hd-logo { flex: 0 0 auto; display: flex; align-items: center; }
.hd-logo img { height: 120px; width: auto; border-radius: 10px; } /* 사장님 원본 로고 그대로 (2:1), 자르지 않음 */
.hd-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.hd-item { position: relative; }
.hd-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 0; border-radius: var(--r-md);
  background: transparent; color: var(--ink); font-size: 16px; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: background-color .3s ease-out, color .3s ease-out;
}
.hd-btn:hover, .hd-item:focus-within > .hd-btn, .hd-item.is-open > .hd-btn { background: var(--paper-2); }
.hd-btn.is-on { color: var(--ink); font-weight: 700; }
.hd-btn .chev { color: var(--ink-3); transition: transform .1s ease-in; }
.hd-item.is-open > .hd-btn .chev { transform: rotate(180deg); }
.hd-btn-sm { height: 36px; padding: 0 10px; font-size: var(--fs-sm); color: var(--ink-2); }
.hd-drop { position: absolute; top: 100%; left: 0; padding-top: 8px; visibility: hidden; opacity: 0; transition: opacity .1s ease-in, visibility 0s linear .12s; z-index: 60; }
.hd-drop-end { left: auto; right: 0; }
.hd-item:hover > .hd-drop, .hd-item:focus-within > .hd-drop, .hd-item.is-open > .hd-drop { visibility: visible; opacity: 1; transition: opacity .1s ease-in, visibility 0s; }
.hd-panel { display: flex; flex-direction: column; min-width: 180px; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); filter: drop-shadow(0 8px 24px rgb(0 0 0 / .45)); }
.hd-sub { display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: var(--r-md); background: none; color: var(--ink-2); font-size: var(--fs-md); text-align: left; white-space: nowrap; cursor: pointer; transition: background-color .3s ease-out, color .3s ease-out; }
.hd-sub:hover, .hd-sub:focus-visible { background: var(--paper-2); color: var(--ink); }
.hd-sub.is-on { color: var(--ink); font-weight: 700; }
.hd-panel form { margin: 0; }
.hd-search { position: relative; flex: 1 1 auto; max-width: 300px; margin-left: auto; }
.hd-search .input { height: 42px; padding-right: 44px; background: var(--paper); font-size: 15px; }
.hd-search button { position: absolute; right: 4px; top: 4px; width: 34px; height: 34px; border: 0; border-radius: var(--r-pill); background: none; color: var(--ink-2); display: grid; place-items: center; cursor: pointer; }
.hd-search button:hover { color: var(--ink); }
.hd-tools { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.hd-user .nick { max-width: 110px; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.hd-icon { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-md); color: var(--ink-2); transition: background-color .3s ease-out; }
.hd-icon:hover { background: var(--paper-2); color: var(--ink); }
.hd-icon .badge { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-pill); background: var(--neon); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.hd-icon-mo, .hd-burger { display: none; }
.hd-burger { place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-md); background: none; color: var(--ink); cursor: pointer; }

/* board strip under the header */
.hd-boards { border-top: 1px solid var(--line-2); background: var(--night); }
.hd-boards-in { display: flex; align-items: center; gap: 2px; height: 46px; overflow-x: auto; scrollbar-width: none; }
.hd-boards-in::-webkit-scrollbar { display: none; }
.hb { flex: 0 0 auto; display: inline-flex; align-items: center; height: 46px; padding: 0 12px; color: var(--ink-2); font-size: var(--fs-md); white-space: nowrap; border-bottom: 2px solid transparent; transition: color .3s ease-out, border-color .3s ease-out; }
.hb:first-child { padding-left: 0; }
.hb:hover { color: var(--ink); }
.hb.is-on { color: var(--ink); font-weight: 700; border-bottom-color: var(--neon); }
.hb-accent { color: var(--lantern); }
.hb-sep { flex: 0 0 1px; height: 14px; margin: 0 8px; background: var(--line); }

/* drawer (tablet + mobile) */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer-dim { position: absolute; inset: 0; background: rgb(0 0 0 / .6); opacity: 0; transition: opacity .3s ease-in; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); overflow-y: auto; padding: 16px 20px 32px; background: var(--paper); transform: translateX(100%); transition: transform .3s ease-in; }
.drawer.is-open .drawer-dim { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 48px; margin-bottom: 12px; }
.drawer-me { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.drawer-x { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.drawer-search { position: relative; margin-bottom: 14px; }
.drawer-search .input { padding-right: 46px; }
.drawer-search button { position: absolute; right: 6px; top: 6px; width: 34px; height: 34px; border: 0; background: none; color: var(--ink-2); display: grid; place-items: center; cursor: pointer; }
.drawer-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.dr-group { border-bottom: 1px solid var(--line); }
.dr-cat, .dr-link { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; }
.dr-group .dr-cat { border-bottom: 0; }
.dr-cat .chev { transition: transform .3s ease-in; color: var(--ink-3); }
.dr-group.is-open .dr-cat .chev { transform: rotate(180deg); }
.dr-subs { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease-in; }
.dr-group.is-open .dr-subs { grid-template-rows: 1fr; }
.dr-subs-inner { overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; }
.dr-group.is-open .dr-subs-inner { padding-bottom: 12px; }
.dr-sub { padding: 9px 0; color: var(--ink-2); font-size: var(--fs-md); }
.dr-sub.is-on { color: var(--ink); font-weight: 700; }
.drawer-panel form { margin: 0; }
.drawer-langs { display: flex; gap: 8px; margin-top: 20px; }
.drawer-langs a { flex: 1; display: grid; place-items: center; height: 40px; border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--ink-2); font-size: var(--fs-sm); }
.drawer-langs a.is-on { border-color: var(--neon); color: var(--ink); font-weight: 700; }
body.no-scroll { overflow: hidden; }

/* ---------- footer ---------- */
.ft { margin-top: 100px; padding: 56px 0 28px; background: var(--night); border-top: 1px solid var(--line-2); color: var(--ink-2); font-size: var(--fs-sm); }
.ft-in { display: flex; justify-content: space-between; gap: 48px; }
.ft-brand { max-width: 460px; }
.ft-logo img { height: 96px; width: auto; border-radius: 10px; }
.ft-about { margin-top: 16px; line-height: 1.7; }
.ft-notice { margin-top: 10px; color: var(--ink-3); font-size: var(--fs-xs); line-height: 1.7; }
.ft-cols { display: flex; gap: 56px; }
.ft-col { display: flex; flex-direction: column; gap: 10px; min-width: 96px; }
.ft-h { margin-bottom: 4px; color: var(--ink); font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0; }
.ft-col a { color: var(--ink-2); transition: color .3s ease-out; }
.ft-col a:hover, .ft-col a[aria-current] { color: var(--ink); }
.ft-copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-2); color: var(--ink-3); font-size: var(--fs-xs); }

/* ---------- page scaffolding ---------- */
.page { padding-top: 40px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.page-title { font-size: var(--fs-2xl); font-weight: 700; letter-spacing: -0.5px; line-height: 1.3; }
.page-sub { margin-top: 6px; color: var(--ink-2); font-size: var(--fs-md); }
.page-kicker { margin-bottom: 6px; color: var(--ink-3); font-size: var(--fs-sm); font-weight: 600; }
.page-kicker a:hover { color: var(--ink); }
.crumbs { display: flex; gap: 8px; margin-bottom: 16px; color: var(--ink-3); font-size: var(--fs-sm); }
.crumbs a:hover { color: var(--ink); }
.empty { padding: 56px 16px; border-radius: var(--r-lg); background: var(--paper); color: var(--ink-2); text-align: center; }
.empty .btn { margin-top: 16px; }
.more { color: var(--ink-3); font-size: var(--fs-sm); white-space: nowrap; transition: color .3s ease-out; }
.more::after { content: " ›"; }
.more:hover { color: var(--ink); }
.cc { margin-left: 4px; color: var(--neon); font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; }
.mk { display: inline-grid; place-items: center; height: 16px; min-width: 16px; margin-left: 4px; padding: 0 4px; border-radius: 4px; font-size: 10px; font-weight: 800; line-height: 1; vertical-align: 1px; white-space: nowrap; }
.mk-new { background: color-mix(in srgb, var(--lantern) 18%, transparent); color: var(--lantern); }
.mk-hot { background: var(--neon); color: #fff; }
.mk-notice { height: 20px; margin: 0; padding: 0 7px; background: color-mix(in srgb, var(--neon) 16%, transparent); color: var(--neon); font-size: 11px; }
.ctag { display: inline-flex; align-items: center; padding: 1px 7px; border-radius: var(--r-sm); background: var(--paper-2); color: var(--ink-2); font-size: var(--fs-xs); font-weight: 700; line-height: 18px; white-space: nowrap; }
.c-title .dtag, .c-title .ctag, .mini-list .dtag, .mini-list .ctag, .wz-t .dtag, .wz-t .ctag, .gal-t .dtag, .gal-t .ctag { margin-right: 6px; }

/* ---------- home ---------- */
.home { padding-top: 28px; }
.notice-strip { display: flex; align-items: center; gap: 16px; min-height: 48px; padding: 8px 20px; border-radius: var(--r-md); background: var(--paper); }
.ns-label { flex: 0 0 auto; padding: 2px 10px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--neon) 16%, transparent); color: var(--neon); font-size: var(--fs-xs); font-weight: 700; }
.ns-list { display: flex; flex: 1; min-width: 0; gap: 24px; overflow: hidden; }
.ns-list li { display: flex; gap: 8px; min-width: 0; font-size: var(--fs-sm); }
.ns-list li:nth-child(n+3) { display: none; }
.ns-list a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.ns-list a:hover { text-decoration: underline; }
.ns-date { color: var(--ink-3); flex: 0 0 auto; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; margin-top: 24px; align-items: start; }
.box-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.box { padding: 18px 20px 12px; border-radius: var(--r-lg); background: var(--paper); min-width: 0; }
.box-head, .sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.box-head h2 { font-size: var(--fs-lg); font-weight: 700; letter-spacing: -0.4px; }
.box-head h2 a:hover, .sec-head h2 a:hover { color: var(--neon); }
.mini-list li { display: flex; align-items: center; gap: 10px; min-height: 38px; border-bottom: 1px solid var(--line-2); }
.mini-list li:last-child { border-bottom: 0; }
.mini-list a { display: flex; align-items: center; flex: 1; min-width: 0; font-size: var(--fs-md); }
.mini-list .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mini-list a:hover .t { text-decoration: underline; text-underline-offset: 3px; }
.mini-list .d { flex: 0 0 auto; color: var(--ink-3); font-size: var(--fs-xs); }
.box-empty { padding: 22px 0 14px; color: var(--ink-3); font-size: var(--fs-sm); }
.box-empty a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.box-empty-wide { padding: 24px 20px; border-radius: var(--r-lg); background: var(--paper); margin-top: 16px; }
.home-sec { margin-top: 56px; }
.sec-head { border-bottom: 0; padding-bottom: 14px; }
.sec-head h2 { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -0.5px; }
.thumb-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ph { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--r-md); background: var(--paper-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-out, filter .3s ease-out; }
.ph-none { position: absolute; inset: 0; background: linear-gradient(135deg, var(--paper-2), var(--paper)); }
.th-t { display: block; margin-top: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-sm); }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cat-chips a { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper); color: var(--ink-2); font-size: var(--fs-sm); font-weight: 600; transition: border-color .3s ease-out, color .3s ease-out; }
.cat-chips a:hover { border-color: var(--ink-3); color: var(--ink); }
.venue-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.venue { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--r-md); background: var(--paper); }
.venue-ph { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.venue-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-out, filter .3s ease-out; }
.mono { color: var(--ink-3); font-size: 40px; font-weight: 800; }
.venue-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; min-width: 0; }
.venue-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.venue-cat { color: var(--ink-3); font-size: var(--fs-xs); }
.venue-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-md); font-weight: 700; }
.venue-sum { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.5; }
.guide-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.guide-list a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 20px; border-radius: var(--r-md); background: var(--paper); transition: background-color .3s ease-out; }
.guide-list a:hover { background: var(--paper-2); }
.guide-list strong { font-size: var(--fs-md); font-weight: 700; line-height: 1.4; }
.guide-list span { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; }
.home-side { display: flex; flex-direction: column; gap: 16px; }
.side-box { padding: 20px; border-radius: var(--r-lg); background: var(--paper); }
.side-h { margin-bottom: 12px; font-size: var(--fs-md); font-weight: 700; letter-spacing: -0.3px; }
.login-box form { display: flex; flex-direction: column; gap: 8px; }
.login-box-foot { margin-top: 12px; color: var(--ink-3); font-size: var(--fs-sm); }
.login-box-foot a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.me-hello { display: flex; align-items: center; gap: 8px; font-size: var(--fs-lg); }
.me-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.me-stats div { padding: 10px 12px; border-radius: var(--r-md); background: var(--paper-2); }
.me-stats dt { color: var(--ink-3); font-size: var(--fs-xs); }
.me-stats dd { margin: 2px 0 0; font-size: var(--fs-lg); font-weight: 700; }
.me-links { display: flex; flex-wrap: wrap; gap: 6px; }
.me-links form { margin: 0; }
.rank-list li { display: flex; align-items: center; gap: 10px; min-height: 34px; font-size: var(--fs-sm); }
.rank-list a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.rank-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.rk { flex: 0 0 20px; color: var(--ink-3); font-weight: 800; text-align: center; }
.rk-top { color: var(--neon); }
.side-empty { color: var(--ink-3); font-size: var(--fs-sm); }
.quick { display: flex; flex-direction: column; }
.quick a { display: block; padding: 8px 0; color: var(--ink-2); font-size: var(--fs-sm); border-bottom: 1px solid var(--line-2); }
.quick li:last-child a { border-bottom: 0; }
.quick a:hover { color: var(--ink); }
.side-stat { margin-top: 12px; color: var(--ink-3); font-size: var(--fs-xs); }

/* ---------- board list ---------- */
.cat-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 16px; }
.cat-tabs::-webkit-scrollbar { display: none; }
.ct { flex: 0 0 auto; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--ink-2); font-size: var(--fs-sm); font-weight: 600; transition: border-color .3s ease-out, color .3s ease-out; }
.ct:hover { color: var(--ink); border-color: var(--ink-3); }
.ct[data-d="D1"] { --dc: var(--d1); } .ct[data-d="D3"] { --dc: var(--d3); } .ct[data-d="D5"] { --dc: var(--d5); } .ct[data-d="D7"] { --dc: var(--d7); } .ct[data-d="D2"] { --dc: var(--d2); }
.ct[data-d]::before { content: ""; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--dc, var(--d-other)); }
.ct.is-on { border-color: var(--neon); background: color-mix(in srgb, var(--neon) 12%, transparent); color: var(--ink); }
.list-meta { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--ink-3); font-size: var(--fs-sm); }
.list-meta a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.bl { border-top: 2px solid var(--ink-3); background: var(--paper); }
.bl-notice { border-top: 2px solid var(--ink-3); }
.bl-notice + .bl, .bl-notice + .empty { border-top: 0; }
.bl-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 130px 64px 60px; align-items: center; gap: 0 12px; min-height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line-2); font-size: var(--fs-md); }
.bl-row:not(.bl-head):hover { background: var(--paper-2); }
.bl-head { min-height: 42px; color: var(--ink-3); font-size: var(--fs-sm); font-weight: 600; text-align: center; }
.bl-head .c-title { text-align: center; }
.is-notice { background: color-mix(in srgb, var(--neon) 5%, var(--paper)); }
.is-notice .c-title .t { font-weight: 700; }
.c-no, .c-date, .c-views { color: var(--ink-3); font-size: var(--fs-sm); text-align: center; white-space: nowrap; }
.c-author { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); font-size: var(--fs-sm); text-align: center; }
.c-title { display: flex; align-items: center; min-width: 0; padding: 11px 0; }
.c-title .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
a.c-title:hover .t { text-decoration: underline; text-underline-offset: 3px; }
a.c-title:visited .t { color: var(--ink-2); }
.c-board { color: var(--ink-3); font-size: var(--fs-xs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.my-list .bl-row { grid-template-columns: 120px minmax(0, 1fr) 64px 60px; }
/* webzine */
.wz { border-top: 2px solid var(--ink-3); }
.wz li { border-bottom: 1px solid var(--line-2); background: var(--paper); }
.wz-item { display: flex; gap: 20px; padding: 18px 16px; transition: background-color .3s ease-out; }
.wz-item:hover { background: var(--paper-2); }
.wz-ph { flex: 0 0 176px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-md); background: var(--paper-2); }
.wz-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-out, filter .3s ease-out; }
.wz-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.wz-t { display: flex; align-items: center; min-width: 0; font-size: var(--fs-lg); font-weight: 700; letter-spacing: -0.3px; }
.wz-t .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.wz-ex { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink-2); font-size: var(--fs-md); line-height: 1.6; }
.wz-m { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: auto; color: var(--ink-3); font-size: var(--fs-xs); }
.wz-m .a { color: var(--ink-2); }
/* gallery */
.gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 16px; padding-top: 16px; border-top: 2px solid var(--ink-3); }
.gal-item { display: flex; flex-direction: column; gap: 4px; }
.gal-t { display: flex; align-items: center; min-width: 0; margin-top: 6px; font-size: var(--fs-md); font-weight: 600; }
.gal-t .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.gal-m { color: var(--ink-3); font-size: var(--fs-xs); }
@media (hover: hover) and (min-width: 1024px) {
  a:hover .ph img, a:hover .venue-ph img, a:hover .wz-ph img { transform: scale(1.1); filter: brightness(.88); }
}
.list-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.board-search { display: flex; gap: 8px; flex: 1; max-width: 520px; }
.board-search .select { flex: 0 0 132px; }
.board-search .input { flex: 1; min-width: 0; }
.select { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin-top: 28px; }
.pg { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border-radius: var(--r-md); color: var(--ink-2); font-size: var(--fs-sm); font-weight: 600; transition: background-color .3s ease-out; }
a.pg:hover { background: var(--paper-2); color: var(--ink); }
.pg.is-on { background: var(--neon); color: #fff; }
.pg-gap { display: grid; place-items: center; min-width: 24px; color: var(--ink-3); }

/* ---------- permission gate ---------- */
.gate { padding: 32px 24px; border-radius: var(--r-lg); background: var(--paper); text-align: center; }
.gate-page { max-width: 560px; margin: 40px auto 0; padding: 56px 32px; }
.gate-kicker { color: var(--ink-3); font-size: var(--fs-sm); font-weight: 600; }
.gate-title { margin-top: 8px; font-size: 26px; font-weight: 700; letter-spacing: -0.5px; line-height: 1.32; }
.gate-text { margin-top: 12px; color: var(--ink-2); line-height: 1.7; }
.gate-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.gate-sm { padding: 24px; }
.gate-sm p { color: var(--ink-2); }
.gate-sm .gate-actions { margin-top: 14px; }

/* ---------- post view ---------- */
.post-page { max-width: 920px; }
.post { border-radius: var(--r-lg); background: var(--paper); }
.post-head { padding: 28px 32px 20px; border-bottom: 1px solid var(--line); }
.post-tags { display: flex; gap: 6px; margin-bottom: 10px; }
.post-tags:empty { display: none; }
.post-title { font-size: 26px; font-weight: 700; letter-spacing: -0.5px; line-height: 1.35; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 14px; color: var(--ink-3); font-size: var(--fs-sm); }
.pm-author { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; }
.post-body { padding: 28px 32px; font-size: 16px; line-height: 1.8; }
.rich > * + * { margin-top: 1em; }
.rich h2 { font-size: var(--fs-xl); margin-top: 1.6em; }
.rich h3 { font-size: var(--fs-lg); margin-top: 1.4em; }
.rich h4 { font-size: var(--fs-md); margin-top: 1.2em; }
.rich a { color: var(--d2); text-decoration: underline; text-underline-offset: 3px; }
.rich ul, .rich ol { padding-left: 1.4em; }
.rich ul { list-style: disc; }
.rich ol { list-style: decimal; }
.rich li + li { margin-top: .3em; }
.rich blockquote { margin: 1em 0 0; padding: 4px 0 4px 16px; border-left: 3px solid var(--line); color: var(--ink-2); }
.rich img { border-radius: var(--r-md); margin: 1em 0 0; }
.rich table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; font-size: var(--fs-sm); }
.rich th, .rich td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; }
.rich iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r-md); }
.rich hr { border: 0; border-top: 1px solid var(--line); }
.post-actions { display: flex; justify-content: center; padding: 0 32px 28px; }
.post-actions form { margin: 0; }
.like-btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border: 1.5px solid var(--line); border-radius: var(--r-pill); background: var(--paper-2); color: var(--ink-2); font-weight: 700; cursor: pointer; transition: border-color .3s ease-out, color .3s ease-out; }
.like-btn:hover, .like-btn.is-on { border-color: var(--neon); color: var(--neon); }
.like-btn b { color: var(--ink); }
.post-tools { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 8px; padding: 16px 32px; border-top: 1px solid var(--line); }
.pt-left, .pt-right { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; }
.post-tools form { margin: 0; }
.report { position: relative; }
.report summary { list-style: none; }
.report summary::-webkit-details-marker { display: none; }
.report-form { position: absolute; right: 0; top: 40px; z-index: 5; display: flex; gap: 6px; width: 320px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper-2); filter: drop-shadow(0 8px 24px rgb(0 0 0 / .45)); }
.report-form .input { height: 34px; font-size: var(--fs-sm); }
.prevnext { margin-top: 20px; border-radius: var(--r-lg); background: var(--paper); overflow: hidden; }
.pn { display: flex; gap: 16px; align-items: center; min-height: 50px; padding: 0 24px; border-bottom: 1px solid var(--line-2); transition: background-color .3s ease-out; }
.pn:last-child { border-bottom: 0; }
.pn:hover { background: var(--paper-2); }
.pn-l { flex: 0 0 64px; color: var(--ink-3); font-size: var(--fs-sm); }
.pn-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.prevnext:empty { display: none; }

/* comments */
.comments { margin-top: 20px; padding: 24px 32px; border-radius: var(--r-lg); background: var(--paper); }
.cm-head { font-size: var(--fs-lg); font-weight: 700; margin-bottom: 8px; }
.cm-head b { color: var(--neon); }
.cm { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.cm-reply { padding-left: 28px; position: relative; }
.cm-reply::before { content: ""; position: absolute; left: 8px; top: 18px; width: 10px; height: 10px; border-left: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }
.cm-deleted .cm-body { color: var(--ink-3); font-size: var(--fs-sm); }
.cm-meta { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); }
.cm-author { font-weight: 700; }
.cm-author.is-op::after { content: "OP"; margin-left: 6px; padding: 0 5px; border-radius: 4px; background: var(--paper-2); color: var(--lantern); font-size: 10px; vertical-align: 1px; }
.cm-meta time { color: var(--ink-3); font-size: var(--fs-xs); }
.cm-body { margin-top: 6px; line-height: 1.7; }
.cm-body a { color: var(--d2); text-decoration: underline; }
.cm-acts { display: flex; gap: 12px; margin-top: 6px; }
.cm-acts form { margin: 0; }
.cm-act { padding: 0; border: 0; background: none; color: var(--ink-3); font-size: var(--fs-xs); cursor: pointer; }
.cm-act:hover { color: var(--ink); }
.cm-empty { padding: 20px 0; color: var(--ink-3); font-size: var(--fs-sm); }
.cm-form { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.cm-form .textarea { min-height: 96px; }
.cm-submit { display: flex; justify-content: flex-end; }
.cm-replying { display: flex; align-items: center; gap: 8px; color: var(--lantern); font-size: var(--fs-sm); }
.cm-list .cm-form { margin: 12px 0 0; padding: 14px; border-radius: var(--r-md); background: var(--paper-2); }
.master-name { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px dashed color-mix(in srgb, var(--lantern) 50%, transparent); border-radius: var(--r-md); }
.master-name label { flex: 0 0 auto; color: var(--lantern); font-size: var(--fs-sm); font-weight: 700; }
.master-name .input { height: 38px; max-width: 260px; }
.write-form .master-name { flex-wrap: wrap; }
.write-form .master-name .field-help { flex-basis: 100%; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
.opt { color: var(--ink-3); font-weight: 500; }
.field-help { color: var(--ink-3); font-size: var(--fs-xs); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--neon); }
.form-error { margin-bottom: 14px; padding: 10px 14px; border-radius: var(--r-md); background: color-mix(in srgb, var(--neon) 10%, transparent); }
.check { display: inline-flex; align-items: flex-start; gap: 10px; font-size: var(--fs-sm); color: var(--ink-2); cursor: pointer; }
.check input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--neon); }
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.form-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.form-actions form { margin: 0; }
.form-actions-start { justify-content: flex-start; margin-top: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.write-page { max-width: 920px; }
.write-form { display: flex; flex-direction: column; gap: 18px; padding: 28px 32px; border-radius: var(--r-lg); background: var(--paper); }
.field-row { display: flex; gap: 12px; }
.field-cat { flex: 0 0 180px; }
.field-title { flex: 1; }
.field-checks { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.panel { padding: 24px 28px; border-radius: var(--r-lg); background: var(--paper); }
.panel-h { margin-bottom: 16px; font-size: var(--fs-lg); font-weight: 700; }
.panel-text { margin-bottom: 14px; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.7; }

/* editor */
.editor { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper-2); overflow: hidden; }
.editor:focus-within { border-color: var(--neon); }
.ed-bar { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px; border-bottom: 1px solid var(--line); background: var(--paper); }
.ed-btn { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border: 0; border-radius: var(--r-md); background: none; color: var(--ink-2); font-size: var(--fs-sm); font-weight: 700; cursor: pointer; transition: background-color .3s ease-out; }
.ed-btn:hover, .ed-btn.is-on { background: var(--paper-2); color: var(--ink); }
.ed-sep { width: 1px; margin: 6px 4px; background: var(--line); }
.ed-area { min-height: 360px; max-height: 70vh; overflow-y: auto; padding: 18px 20px; font-size: 16px; line-height: 1.8; outline: none; }
.ed-area:empty::before { content: attr(data-placeholder); color: var(--ink-3); }
.ed-area img { max-width: 100%; border-radius: var(--r-md); }
.ed-status { padding: 6px 12px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: var(--fs-xs); }
.ed-status:empty { display: none; }

/* ---------- auth ---------- */
.auth-page { display: flex; justify-content: center; padding-top: 56px; }
.auth-card { width: 100%; max-width: 420px; padding: 36px 32px; border-radius: var(--r-lg); background: var(--paper); }
.auth-card-wide { max-width: 480px; }
.auth-title { font-size: 26px; font-weight: 700; letter-spacing: -0.5px; }
.auth-sub { margin: 8px 0 24px; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form .btn { margin-top: 4px; }
.auth-foot { margin-top: 20px; color: var(--ink-3); font-size: var(--fs-sm); text-align: center; }
.auth-foot a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- mypage / messages ---------- */
.my-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 28px; border-radius: var(--r-lg); background: var(--paper); }
.my-id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.my-nick { display: block; font-size: var(--fs-xl); font-weight: 700; }
.my-user { color: var(--ink-3); font-size: var(--fs-sm); }
.my-stats { display: flex; gap: 8px; margin: 0; }
.my-stats div { min-width: 88px; padding: 10px 16px; border-radius: var(--r-md); background: var(--paper-2); text-align: center; }
.my-stats dt { color: var(--ink-3); font-size: var(--fs-xs); }
.my-stats dd { margin: 2px 0 0; font-size: var(--fs-lg); font-weight: 700; }
.tabs { display: flex; gap: 4px; margin: 24px 0 16px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 14px; border-bottom: 2px solid transparent; color: var(--ink-2); font-weight: 600; transition: color .3s ease-out; }
.tab:hover { color: var(--ink); }
.tab.is-on { color: var(--ink); border-bottom-color: var(--neon); }
.my-forms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.panel-danger { grid-column: 1 / -1; }
.my-comments li { border-bottom: 1px solid var(--line-2); background: var(--paper); }
.my-comments a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; }
.my-comments a:hover { background: var(--paper-2); }
.mc-meta { color: var(--ink-3); font-size: var(--fs-xs); }
.tbl { width: 100%; border-collapse: collapse; background: var(--paper); font-size: var(--fs-sm); }
.tbl th { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--ink-3); font-weight: 600; text-align: left; }
.tbl td { padding: 10px 14px; border-bottom: 1px solid var(--line-2); }
.tbl .num { text-align: right; }
.tbl .plus { color: var(--ok); font-weight: 700; }
.tbl .minus { color: var(--neon); font-weight: 700; }
.msg-list { border-top: 2px solid var(--ink-3); }
.msg-list li { border-bottom: 1px solid var(--line-2); background: var(--paper); }
.msg-list a { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 52px; padding: 0 16px; transition: background-color .3s ease-out; }
.msg-list a:hover { background: var(--paper-2); }
.msg-who { display: flex; align-items: center; gap: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-sm); color: var(--ink-2); }
.is-unread .msg-who, .is-unread .msg-ex { color: var(--ink); font-weight: 700; }
.dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--neon); }
.msg-ex { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.msg-date { color: var(--ink-3); font-size: var(--fs-xs); white-space: nowrap; }
.msg-body { line-height: 1.8; }
.msg-form { max-width: 720px; }

/* ---------- search ---------- */
.search-big { display: flex; gap: 8px; max-width: 640px; margin-bottom: 32px; }
.search-big .input { height: 52px; }
.search-big .btn { height: 52px; padding: 0 28px; }
.search-sec + .search-sec { margin-top: 40px; }
.sec-h { margin-bottom: 12px; font-size: var(--fs-lg); font-weight: 700; }
.sr-list { border-top: 2px solid var(--ink-3); }
.sr-list li { border-bottom: 1px solid var(--line-2); background: var(--paper); }
.sr-list a { display: flex; flex-direction: column; gap: 5px; padding: 14px 18px; transition: background-color .3s ease-out; }
.sr-list a:hover { background: var(--paper-2); }
.sr-t { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-weight: 700; }
.sr-board, .sr-cat { color: var(--ink-3); font-size: var(--fs-xs); font-weight: 600; }
.sr-board::after { content: " ·"; }
.sr-ex { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; }
.sr-meta { color: var(--ink-3); font-size: var(--fs-xs); }
mark { padding: 0 2px; border-radius: 3px; background: color-mix(in srgb, var(--lantern) 30%, transparent); color: var(--ink); }

/* ---------- policy docs ---------- */
.doc-page { max-width: 920px; }
.doc { padding: 32px 36px; border-radius: var(--r-lg); background: var(--paper); line-height: 1.8; color: var(--ink-2); }
.doc section + section { margin-top: 28px; }
.doc h2 { margin-top: 0; color: var(--ink); font-size: var(--fs-lg); }
.doc strong { color: var(--ink); }
.doc .btn { text-decoration: none; color: #fff; }

/* ---------- tablet ---------- */
@media (max-width: 1023px) {
  .hd-bar { height: 110px; gap: 12px; }
  .hd-logo img { height: 90px; }
  .hd-nav, .hd-tools, .hd-search { display: none; }
  .hd-logo { margin-right: auto; }
  .hd-burger { display: grid; }
  .hd-icon-mo { display: grid; }
  .home-grid { grid-template-columns: minmax(0, 1fr); }
  .home-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-side .side-box:last-child { grid-column: 1 / -1; }
  .thumb-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .venue-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft-in { flex-direction: column; gap: 32px; }
}

/* ---------- mobile ---------- */
@media (max-width: 767px) {
  .hd-bar { height: 80px; }
  .hd-logo img { height: 64px; }
  .hd-boards-in { height: 44px; }
  .hb { height: 44px; padding: 0 10px; font-size: var(--fs-sm); }
  .page { padding-top: 24px; }
  .page-head { align-items: flex-start; margin-bottom: 16px; }
  .page-title { font-size: 22px; }
  .page-sub { font-size: var(--fs-sm); }
  .home { padding-top: 16px; }
  .notice-strip { padding: 8px 14px; gap: 10px; }
  .ns-list li:nth-child(n+2) { display: none; }
  .home-grid { margin-top: 16px; gap: 16px; }
  .box-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .box { padding: 16px 16px 8px; }
  .home-sec { margin-top: 40px; }
  .sec-head h2 { font-size: var(--fs-lg); }
  .thumb-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .venue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .guide-list { grid-template-columns: minmax(0, 1fr); }
  .home-side { grid-template-columns: minmax(0, 1fr); }
  .bl-head { display: none; }
  .bl-row { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "t t t" "a d v"; gap: 0 10px; justify-items: start; padding: 10px 14px; }
  .bl-row .c-no { display: none; }
  .bl-row .c-title { grid-area: t; padding: 0 0 4px; width: 100%; }
  .bl-row .c-author { grid-area: a; text-align: left; font-size: var(--fs-xs); }
  .bl-row .c-date { grid-area: d; font-size: var(--fs-xs); }
  .bl-row .c-views { grid-area: v; font-size: var(--fs-xs); }
  .is-notice .c-no { display: block; grid-area: a; }
  .is-notice .c-author, .is-notice .c-views { display: none; }
  .bl-row .c-title .t { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .mo-only { display: inline; }
  .my-list .bl-row { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "t t t" "b d v"; }
  .my-list .c-board { grid-area: b; }
  .wz-item { gap: 12px; padding: 14px; }
  .wz-ph { flex-basis: 96px; }
  .wz-t { font-size: var(--fs-md); }
  .wz-ex { -webkit-line-clamp: 2; font-size: var(--fs-sm); }
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .list-foot { flex-direction: column-reverse; align-items: stretch; }
  .list-write { display: none; }
  .board-search { max-width: none; }
  .board-search .select { flex-basis: 104px; padding-left: 14px; }
  .board-search .btn { padding: 0 14px; }
  .post-head { padding: 20px 18px 16px; }
  .post-title { font-size: 21px; }
  .post-body { padding: 20px 18px; }
  .post-actions { padding: 0 18px 20px; }
  .post-tools { padding: 14px 18px; }
  .report-form { right: auto; left: 0; width: min(300px, calc(100vw - 48px)); }
  .comments { padding: 18px; }
  .cm-reply { padding-left: 20px; }
  .master-name { flex-direction: column; align-items: stretch; }
  .master-name .input { max-width: none; }
  .write-form { padding: 18px; gap: 14px; }
  .field-row { flex-direction: column; }
  .field-cat { flex-basis: auto; }
  .ed-area { min-height: 280px; padding: 14px; }
  .form-actions .btn-lg { flex: 1; }
  .auth-page { padding-top: 24px; }
  .auth-card { padding: 28px 20px; }
  .my-summary { padding: 20px; }
  .my-stats { width: 100%; }
  .my-stats div { flex: 1; min-width: 0; padding: 10px; }
  .my-forms { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 20px; }
  .msg-list a { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "w d" "x x"; gap: 2px 10px; padding: 12px 14px; }
  .msg-who { grid-area: w; }
  .msg-date { grid-area: d; }
  .msg-ex { grid-area: x; font-size: var(--fs-sm); }
  .search-big .input, .search-big .btn { height: 48px; }
  .search-big .btn { padding: 0 18px; }
  .doc { padding: 22px 18px; }
  .ft { margin-top: 64px; padding-top: 40px; }
  .ft-cols { flex-wrap: wrap; gap: 28px 40px; }
}

/* 언어 메뉴 국기 (윈도우에서도 똑같이 보이게 그림으로) */
.flag { display: inline-block; width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; flex: 0 0 auto; }
.hd-lang .hd-btn .flag { margin-right: 6px; }

/* admin-only writer info (IP + real account); rendered only when is_admin() */
.adm-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin-left: 6px; font-size: 11px; font-weight: 500; color: var(--ink-3); vertical-align: 1px; }
.adm-ip { color: var(--ink-3); font-variant-numeric: tabular-nums; text-decoration: underline dotted; text-underline-offset: 2px; }
.adm-ip:hover { color: var(--ink-2); }
.adm-real { color: var(--lantern); }
.c-author .adm-meta { display: flex; justify-content: center; margin: 1px 0 0; }
@media (max-width: 767px) { .c-author .adm-meta { display: inline-flex; margin-left: 6px; } }

/* master display level (next to display name) */
.master-name .ml-lbl { flex: 0 0 auto; margin-left: 6px; color: var(--lantern); font-size: var(--fs-sm); font-weight: 700; }
.master-name .ml-sel { width: 140px; height: 38px; flex: 0 0 140px; }
.c-author .lv, .wz-m .lv, .gal-m .lv, .pm-author .lv { margin-right: 4px; }
.cm-meta .lv { margin-right: -4px; }
@media (max-width: 767px) { .master-name .ml-lbl { margin-left: 0; } .master-name .ml-sel { width: 100%; flex-basis: auto; } }
.write-form .master-name { display: grid; grid-template-columns: auto minmax(0, 260px) auto 140px; align-items: center; justify-content: start; gap: 8px 10px; }
.write-form .master-name .ml-sel { flex: none; }
.write-form .master-name .field-help { grid-column: 1 / -1; }
@media (max-width: 767px) {
  .write-form .master-name { grid-template-columns: minmax(0, 1fr); }
  .master-name .ml-sel { height: 42px; }
}
.write-form .master-name > label { color: var(--lantern); }
