/* 기본 스타일: 색, 배치, 공통 부품 */
:root {
  --bg: #f2f4f7; --surface: #fff; --ink: #17212b; --ink2: #3f4d5b; --ink3: #6c7a89; --line: #dfe4ea; --line2: #eceff3;
  --brand: #0d8a7a; --brand-d: #086b5e; --brand-soft: #e2f4f1; --brand-ink: #fff; --accent: #e8962a; --accent-soft: #fff1dc;
  --danger: #d03c3c; --danger-soft: #fde9e9; --warn: #a86a0a; --warn-soft: #fff3d9; --ok: #23875a; --ok-soft: #e1f4ea; --info: #2f6fcf; --info-soft: #e6effc;
  --r: 14px; --r-s: 9px; --sh: 0 1px 2px rgba(17, 30, 45, .05); --sh2: 0 10px 30px rgba(17, 30, 45, .16);
  --top: 60px; --side: 248px; --rail: 304px;
  --font: 'Pretendard', 'Noto Sans KR', 'Noto Sans CJK KR', 'Malgun Gothic', 'Apple SD Gothic Neo', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14.5px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #000; color: #fff; padding: 8px 12px; z-index: 999; border-radius: 6px; }
.skip:focus { left: 8px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; }
.muted { color: var(--ink3); }
.ic { flex: none; vertical-align: middle; }

/* 상단 바 */
.topbar { position: sticky; top: 0; z-index: 60; height: var(--top); background: var(--surface); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px; padding: 0 18px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.logo { width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(140deg, #0d8a7a, #19b5a0); color: #fff; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(13, 138, 122, .35); }
.bt { display: flex; flex-direction: column; line-height: 1.1; }
.bt b { font-size: 18px; letter-spacing: -.02em; }
.bt small { font-size: 9.5px; letter-spacing: .12em; color: var(--ink3); margin-top: 2px; }
.gsearch { flex: 1; max-width: 420px; position: relative; margin-left: 8px; }
.gsearch input { width: 100%; height: 38px; border-radius: 19px; border: 1px solid var(--line); background: var(--bg); padding: 0 16px 0 38px; font-size: 14px; }
.gsearch input:focus { background: #fff; border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(13, 138, 122, .16); }
.gs-ic { position: absolute; left: 13px; top: 10px; color: var(--ink3); pointer-events: none; }
.role-switch { display: flex; align-items: center; gap: 2px; background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 3px; margin-left: auto; }
.rs-l { font-size: 11px; color: var(--ink3); padding: 0 8px 0 10px; }
.role-switch button { border: 0; background: transparent; height: 30px; padding: 0 13px; border-radius: 16px; font-size: 13px; font-weight: 600; color: var(--ink2); }
.role-switch button.on { background: var(--ink); color: #fff; }
.tb-r { display: flex; align-items: center; gap: 4px; }
.icon-btn { width: 38px; height: 38px; border: 0; background: transparent; border-radius: 50%; display: grid; place-items: center; color: var(--ink2); position: relative; }
.icon-btn:hover { background: var(--bg); }
.navbtn { display: none; }
.bell .dot { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; border: 2px solid #fff; box-sizing: content-box; line-height: 1; font-style: normal; }
.me-btn { display: flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 4px 8px 4px 4px; border-radius: 22px; }
.me-btn:hover { background: var(--bg); }
.me-n { font-weight: 600; font-size: 13.5px; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pop { position: fixed; top: calc(var(--top) - 4px); right: 14px; width: 360px; max-width: calc(100vw - 20px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh2); z-index: 80; overflow: hidden; }
.pop[hidden] { display: none; }
.pop-h { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--line2); }
.pop-f { padding: 10px 16px; border-top: 1px solid var(--line2); text-align: center; font-size: 13px; color: var(--brand-d); font-weight: 600; }
.link { background: none; border: 0; color: var(--brand-d); font-weight: 600; font-size: 12.5px; padding: 0; }
.nlist { list-style: none; margin: 0; padding: 0; max-height: 380px; overflow: auto; }
.ni { display: flex; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--line2); }
.ni:hover { background: var(--bg); }
.ni.un { background: #f3faf9; }
.ni-ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-d); flex: none; }
.ni-ic.t-like { background: var(--accent-soft); color: var(--warn); } .ni-ic.t-chat { background: var(--info-soft); color: var(--info); } .ni-ic.t-system { background: #eceff3; color: var(--ink2); }
.ni-t { font-size: 13px; line-height: 1.45; }
.ni-t time { display: block; font-size: 11.5px; color: var(--ink3); margin-top: 2px; }
.umenu { width: 252px; padding-bottom: 6px; }
.um-h { display: flex; gap: 11px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line2); margin-bottom: 4px; }
.um-h small { display: block; color: var(--ink3); font-size: 12px; }
.umenu a, .umenu button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 16px; background: none; border: 0; text-align: left; font-size: 13.5px; color: var(--ink2); }
.umenu a:hover, .umenu button:hover { background: var(--bg); }

/* 배치 */
.layout { display: grid; grid-template-columns: var(--side) minmax(0, 1fr) var(--rail); gap: 22px; max-width: 1560px; margin: 0 auto; padding: 18px 20px 40px; align-items: start; }
.layout.role-admin, .layout.role-advertiser { grid-template-columns: var(--side) minmax(0, 1fr); }
.layout.role-admin .rail, .layout.role-advertiser .rail, .layout.norail .rail { display: none; }
.layout.norail { grid-template-columns: var(--side) minmax(0, 1fr); }
.sidebar { position: sticky; top: calc(var(--top) + 14px); max-height: calc(100vh - var(--top) - 28px); overflow: auto; scrollbar-width: thin; padding-right: 4px; }
.nav-group { margin-bottom: 14px; }
.nav-h { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--ink3); padding: 6px 10px; }
.nav-i { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 9px; font-size: 14px; color: var(--ink2); position: relative; }
.nav-i:hover { background: #e8ecf0; }
.nav-i.on { background: var(--brand-soft); color: var(--brand-d); font-weight: 700; }
.nav-i .nb { margin-left: auto; background: var(--danger); color: #fff; border-radius: 9px; font-size: 11px; padding: 0 6px; line-height: 18px; font-style: normal; }
.nav-i.sub { padding: 6px 10px 6px 26px; font-size: 13.5px; }
.nav-i.sub .bn { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-i .lk { color: var(--ink3); display: inline-flex; } .nav-i .an { font-size: 10.5px; color: var(--ink3); border: 1px solid var(--line); border-radius: 8px; padding: 0 6px; }
.nav-cat { display: flex; align-items: center; gap: 6px; width: 100%; border: 0; background: none; padding: 7px 8px; font-size: 12.5px; font-weight: 700; color: var(--ink2); text-align: left; border-radius: 8px; }
.nav-cat:hover { background: #e8ecf0; }
main { min-width: 0; outline: none; }
.rail { position: sticky; top: calc(var(--top) + 14px); display: flex; flex-direction: column; gap: 14px; }
.foot { max-width: 1560px; margin: 0 auto; padding: 18px 24px 34px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--ink3); border-top: 1px solid var(--line); }
.foot .fl { display: flex; gap: 14px; } .foot a:hover { color: var(--ink); text-decoration: underline; }
.scrim { display: none; }
.bottom-nav { display: none; }

/* 카드와 버튼 */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--sh); }
.card + .card { margin-top: 14px; }
.card.flush { padding: 0; overflow: hidden; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.card-h h2, .card-h h3 { font-size: 16px; }
.page-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.page-h h1 { font-size: 22px; } .page-h p { color: var(--ink3); margin-top: 3px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 15px; border-radius: 9px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 13.5px; color: var(--ink); white-space: nowrap; transition: background .12s, border-color .12s; }
.btn:hover { background: var(--bg); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; } .btn.primary:hover { background: var(--brand-d); }
.btn.danger { background: var(--danger); border-color: var(--danger); color: #fff; } .btn.danger:hover { background: #b32e2e; }
.btn.ghost { border-color: transparent; background: transparent; } .btn.ghost:hover { background: var(--bg); }
.btn.sm { height: 32px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-d); }
.spin { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .row.sb { justify-content: space-between; } .grow { flex: 1; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.chip { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 11px; font-size: 11.5px; font-weight: 700; background: #eceff3; color: var(--ink2); white-space: nowrap; }
.chip.ok { background: var(--ok-soft); color: var(--ok); } .chip.warn { background: var(--warn-soft); color: var(--warn); } .chip.bad { background: var(--danger-soft); color: var(--danger); } .chip.info { background: var(--info-soft); color: var(--info); } .chip.mute { background: #eceff3; color: var(--ink3); } .chip.brand { background: var(--brand-soft); color: var(--brand-d); }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--bg); color: var(--ink2); font-size: 12px; }
a.tag:hover { background: var(--brand-soft); color: var(--brand-d); }
.bdg { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 5px; font-size: 10.5px; font-weight: 700; background: #eceff3; color: var(--ink2); margin-left: 4px; }
.bdg-job { background: var(--info-soft); color: var(--info); } .bdg-license { background: var(--ok-soft); color: var(--ok); } .bdg-career { background: #efe3fb; color: #6b3aa3; } .bdg-mentor { background: var(--accent-soft); color: var(--warn); } .bdg-plan { background: #2b3440; color: #fff; }
.lv { font-size: 11px; color: var(--ink3); margin-left: 5px; font-weight: 600; }
.avatar { display: inline-grid; place-items: center; border-radius: 50%; font-weight: 800; flex: none; }
.avatar.anon { background: #e3e7ec; color: #8a96a3; }
.nickline { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.nick { font-weight: 600; } a.nick:hover { text-decoration: underline; }
.stars { display: inline-flex; gap: 1px; } .stars .st { color: #d4dae1; display: inline-flex; } .stars .st.on { color: #f2a33a; } .stars .st.on svg { fill: #f2a33a; } .stars .st.half { color: #f2a33a; } .stars .st.half svg { fill: rgba(242, 163, 58, .45); }
.cnt { display: inline-block; background: #e3e8ee; border-radius: 9px; font-size: 11px; padding: 0 6px; margin-left: 3px; color: var(--ink2); }
.note { display: flex; gap: 8px; align-items: flex-start; background: var(--info-soft); color: #234e93; padding: 10px 12px; border-radius: 10px; font-size: 12.5px; line-height: 1.5; }
.note.warn { background: var(--warn-soft); color: var(--warn); } .note.ok { background: var(--ok-soft); color: #1b6c47; }
.note .ic { margin-top: 2px; }

/* 탭과 선택 */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.tab { padding: 10px 14px; font-weight: 600; color: var(--ink3); border-bottom: 2px solid transparent; white-space: nowrap; margin-bottom: -1px; }
.tab:hover { color: var(--ink); } .tab.on { color: var(--brand-d); border-bottom-color: var(--brand); }
.seg { display: inline-flex; background: #e8ecf0; border-radius: 10px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; height: 30px; padding: 0 13px; border-radius: 8px; font-weight: 600; font-size: 13px; color: var(--ink2); }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.sel select { height: 34px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 0 28px 0 10px; font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-b { height: 30px; padding: 0 12px; border-radius: 15px; border: 1px solid var(--line); background: #fff; font-size: 13px; color: var(--ink2); }
.chip-b:hover { border-color: var(--brand); } .chip-b.on, .chip-b[aria-pressed="true"] { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-d); font-weight: 700; }

/* 양식 */
.form { display: flex; flex-direction: column; gap: 14px; }
.field label, .field legend { display: block; font-weight: 600; font-size: 13px; margin-bottom: 5px; color: var(--ink2); padding: 0; }
.field .req { color: var(--danger); }
.field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=hidden]), .field select, .field textarea, .inp { width: 100%; min-height: 40px; border: 1px solid #cdd4dc; border-radius: 9px; padding: 8px 12px; background: #fff; font-size: 14px; }
.field textarea { resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus, .inp:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(13, 138, 122, .16); }
.field.err input, .field.err select, .field.err textarea { border-color: var(--danger); background: #fffafa; }
.field.good input { border-color: var(--ok); }
.field-msg { min-height: 0; font-size: 12.5px; color: var(--danger); margin-top: 4px; } .field.good .field-msg { color: var(--ok); } .field-msg:empty { display: none; }
.hint { font-size: 12px; color: var(--ink3); margin-top: 4px; }
.form-err { color: var(--danger); font-size: 13px; font-weight: 600; } .form-err:empty { display: none; }
.chk, .rad { display: flex; gap: 8px; align-items: flex-start; font-weight: 500 !important; cursor: pointer; }
.chk input, .rad input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.radios { display: flex; flex-wrap: wrap; gap: 14px; } fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.inline { display: flex; gap: 8px; } .inline input { flex: 1; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* 대화상자와 알림 */
.backdrop { position: fixed; inset: 0; background: rgba(15, 25, 35, .5); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; overflow-y: auto; }
.dialog { background: #fff; border-radius: 18px; width: 100%; max-width: 540px; max-height: calc(100vh - 40px); display: flex; flex-direction: column; box-shadow: var(--sh2); animation: pop .16s ease-out; }
.dialog.small { max-width: 420px; } .dialog.wide { max-width: 780px; } .dialog.xwide { max-width: 980px; }
@keyframes pop { from { transform: translateY(8px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.dialog > header { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 12px 22px; border-bottom: 1px solid var(--line2); }
.dialog > header h2 { font-size: 17px; }
.dlg-body { padding: 18px 22px; overflow: auto; }
.dialog > footer { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 22px 16px; border-top: 1px solid var(--line2); }
.dlg-msg { line-height: 1.65; color: var(--ink2); } .dlg-intro { color: var(--ink3); font-size: 13px; margin-bottom: 14px; }
#toasts { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; background: #1d2731; color: #fff; padding: 11px 12px 11px 14px; border-radius: 12px; box-shadow: var(--sh2); font-size: 13.5px; max-width: 380px; animation: pop .16s; }
.toast.ok { background: #14634a; } .toast.err { background: #a52f2f; }
.toast button { border: 0; background: transparent; color: inherit; opacity: .7; display: grid; place-items: center; padding: 2px; }

/* 쪽 넘김, 빈 상태, 표 */
.pager { display: flex; justify-content: center; gap: 4px; margin: 18px 0 4px; }
.pg { min-width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 13px; display: inline-grid; place-items: center; padding: 0 8px; }
.pg.on { background: var(--ink); color: #fff; border-color: var(--ink); } .pg:disabled { opacity: .4; cursor: not-allowed; }
.empty, .gate { text-align: center; padding: 44px 20px; color: var(--ink3); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.empty h3, .gate h2 { color: var(--ink); font-size: 17px; } .empty p, .gate p { max-width: 420px; line-height: 1.6; } .empty-act { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.gate { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 56px 24px; } .gate .btn { margin-top: 10px; }
.skel-wrap { display: flex; flex-direction: column; gap: 12px; }
.skel-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.sk { height: 12px; border-radius: 6px; background: linear-gradient(90deg, #eceff3 25%, #f6f8fa 50%, #eceff3 75%); background-size: 200% 100%; animation: sh 1.3s infinite; display: block; } .w30 { width: 30%; } .w60 { width: 60%; } .w90 { width: 90%; }
@keyframes sh { to { background-position: -200% 0; } }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-size: 12px; color: var(--ink3); font-weight: 700; padding: 10px 12px; background: #f7f9fb; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 11px 12px; border-bottom: 1px solid var(--line2); vertical-align: middle; }
.tbl tr:hover td { background: #fafbfc; } .tbl .r { text-align: right; } .tbl .c { text-align: center; } .tbl td.nw { white-space: nowrap; }
.chart { width: 100%; height: auto; } .chart .gl { stroke: #e6eaee; stroke-width: 1; } .chart .gt { font-size: 10.5px; fill: #7a8794; }
.bars { display: flex; flex-direction: column; gap: 9px; } .bar-row { display: grid; grid-template-columns: 110px 1fr 56px; gap: 10px; align-items: center; font-size: 13px; }
.bar-t { height: 10px; background: #edf0f3; border-radius: 5px; overflow: hidden; } .bar-f { display: block; height: 100%; background: var(--brand); border-radius: 5px; } .bar-v { text-align: right; color: var(--ink2); font-weight: 600; }

/* 로그인 */
body.is-auth { background: #fff; }
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, 5fr) minmax(0, 6fr); }
.auth-side { background: linear-gradient(160deg, #0a5d52, #0d8a7a 60%, #20b9a3); color: #fff; padding: 48px 56px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.auth-side h1 { font-size: 30px; line-height: 1.35; } .auth-side ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; } .auth-side li { display: flex; gap: 10px; align-items: center; opacity: .95; }
.auth-side .bt small { color: rgba(255, 255, 255, .7); } .auth-side .logo { background: rgba(255, 255, 255, .2); box-shadow: none; } .brand.big .bt b { font-size: 22px; } .auth-note { font-size: 12px; opacity: .75; margin-top: 12px; }
.auth-main { display: grid; place-items: center; padding: 32px 20px; background: var(--bg); }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--sh); } .auth-card.wide { max-width: 520px; }
.auth-card h2 { font-size: 22px; } .auth-links { display: flex; justify-content: space-between; font-size: 13px; color: var(--brand-d); font-weight: 600; }
.or { text-align: center; position: relative; color: var(--ink3); font-size: 12px; } .or::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--line); } .or span { background: #fff; padding: 0 10px; position: relative; }
.demo-acc { background: var(--bg); border-radius: 12px; padding: 12px 14px; font-size: 12.5px; color: var(--ink2); } .demo-acc p { margin: 4px 0 8px; color: var(--ink3); line-height: 1.5; } .demo-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.mailbox { background: var(--bg); border-radius: 10px; padding: 12px; font-size: 12.5px; color: var(--ink2); } .mailbox p { color: var(--ink3); margin: 4px 0 8px; } .mail-sub { font-weight: 700; }
.mails { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; } .mails li { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; } .mails time { float: right; font-size: 12px; color: var(--ink3); } .mails p { margin-top: 6px; color: var(--ink2); }
.policy p, .policy li { line-height: 1.75; color: var(--ink2); } .policy .sp { height: 8px; }

/* 반응형 */
@media (max-width: 1360px) { .layout { grid-template-columns: var(--side) minmax(0, 1fr); } .rail { display: none; } }
@media (max-width: 1060px) {
  .layout, .layout.role-admin, .layout.role-advertiser, .layout.norail { grid-template-columns: minmax(0, 1fr); padding: 14px 14px 80px; }
  .navbtn { display: grid; }
  .sidebar { position: fixed; top: var(--top); left: 0; bottom: 0; width: 280px; max-width: 86vw; background: #fff; z-index: 70; transform: translateX(-102%); transition: transform .2s; padding: 14px; max-height: none; box-shadow: var(--sh2); border-right: 1px solid var(--line); }
  body.nav-open .sidebar { transform: none; } body.nav-open .scrim { display: block; position: fixed; inset: var(--top) 0 0 0; background: rgba(15, 25, 35, .4); z-index: 65; }
  .gsearch { max-width: none; } .rs-l { display: none; }
}
@media (max-width: 760px) {
  .topbar { padding: 0 8px; gap: 4px; } .bt { display: none; } .gsearch { display: none; } .me-n { display: none; } .me-btn > svg { display: none; }
  .role-switch button { padding: 0 9px; font-size: 12px; } .brand .logo { width: 34px; height: 34px; }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); z-index: 55; padding-bottom: env(safe-area-inset-bottom); }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 6px; font-size: 10.5px; color: var(--ink3); } .bottom-nav a.on { color: var(--brand-d); font-weight: 700; }
  .foot { padding-bottom: 76px; } .cols2, .cols3 { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; } .auth-side { padding: 28px 24px; } .auth-side h1 { font-size: 22px; } .auth-side ul { display: none; }
  .dialog { border-radius: 16px; } .backdrop { padding: 10px; align-items: flex-end; } .dialog { max-height: calc(100vh - 20px); }
  .page-h h1 { font-size: 19px; } .tbl th, .tbl td { padding: 9px 10px; } #toasts { left: 10px; right: 10px; align-items: stretch; bottom: 72px; }
}
