/* 화면별 스타일 */
.sm { font-size: 12.5px; } .gap { height: 14px; } .pad { padding: 12px 4px; } .mt { margin-top: 18px; } .pt { color: var(--warn); font-weight: 800; } .plus { color: var(--ok); } .minus { color: var(--danger); } .bad-t { color: var(--danger); font-size: 12px; }
.card-h.pad { padding: 14px 18px 0; } .card.flush > .card-h.pad { padding: 14px 18px; margin: 0; border-bottom: 1px solid var(--line2); }
.sec-h { font-size: 16px; margin: 22px 0 10px; } .cols2.top { align-items: start; margin-top: 14px; }
.w90 { width: 96px; } .w120 { width: 120px; } .inp { width: auto; }
code { background: #eef1f4; padding: 2px 6px; border-radius: 5px; font-size: 12.5px; }
.crumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink3); margin-bottom: 10px; } .crumb a:hover { color: var(--ink); text-decoration: underline; }
.slist { list-style: none; margin: 0; padding: 0; } .slist li { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line2); }
.slist li:last-child { border-bottom: 0; } .slist a { display: flex; flex: 1; min-width: 0; align-items: center; gap: 10px; padding: 10px 4px; flex-wrap: wrap; } .slist a:hover b { text-decoration: underline; }
.slist.big a { padding: 13px 16px; } .slist.big li { padding-right: 8px; }
.dotc { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* 피드와 글 카드 */
.feed { display: flex; flex-direction: column; gap: 12px; }
.pcard { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--sh); transition: border-color .12s, box-shadow .12s; }
.pcard:hover { border-color: #c9d2dc; box-shadow: 0 4px 14px rgba(17, 30, 45, .08); }
.pc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.pc-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--ink3); } .pc-meta .sep { flex: 1; min-width: 4px; }
.bpill { background: var(--brand-soft); color: var(--brand-d); font-weight: 700; font-size: 11.5px; padding: 2px 9px; border-radius: 11px; } .bpill:hover { background: #cdebe6; }
.anon-l { display: inline-flex; align-items: center; gap: 6px; color: var(--ink2); font-weight: 600; }
.pc-t { font-size: 17px; line-height: 1.4; } .pc-t a:hover { color: var(--brand-d); }
.pc-ex { color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; }
.pc-link { display: flex; align-items: center; gap: 8px; background: var(--bg); padding: 8px 12px; border-radius: 9px; font-size: 13px; color: var(--ink2); } .pc-link span { color: var(--ink3); margin-left: auto; }
.pc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.pc-stat { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.act { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border-radius: 15px; border: 0; background: transparent; color: var(--ink3); font-size: 13px; font-weight: 600; }
button.act:hover, a.act:hover { background: var(--bg); color: var(--ink); } .act.on { color: var(--brand-d); background: var(--brand-soft); } .act.pas { cursor: default; } .act.big { height: 38px; padding: 0 16px; border: 1px solid var(--line); background: #fff; color: var(--ink2); } .act.big.on { border-color: var(--brand); }
.act.acceptb { color: var(--ok); }
.pc-rec { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--ink3); border-top: 1px dashed var(--line); padding-top: 8px; margin-top: 4px; } .pc-rec em { font-style: normal; background: var(--accent-soft); color: var(--warn); padding: 1px 8px; border-radius: 10px; font-weight: 600; }
.pc-thumb { position: relative; width: 168px; height: 118px; flex: none; border-radius: 11px; overflow: hidden; background: #dfe5ea; align-self: center; } .pc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.play { position: absolute; inset: 0; margin: auto; width: 40px; height: 40px; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; display: grid; place-items: center; } .play.big { width: 64px; height: 64px; } .dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .7); color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 5px; }
.adc { background: #fbfcfd; border-style: dashed; } .ad-l { background: #eceff3; color: var(--ink2); font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 5px; }
.composer { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; margin-bottom: 14px; color: var(--ink3); box-shadow: var(--sh); } .composer .cp-t { flex: 1; } .composer:hover { border-color: var(--brand); }
.banner { display: flex; align-items: center; gap: 12px; background: linear-gradient(90deg, #e2f4f1, #f3f9ec); border: 1px solid #bfe3dc; border-radius: var(--r); padding: 12px 16px; margin-bottom: 12px; color: var(--brand-d); } .banner div { flex: 1; display: flex; flex-direction: column; } .banner span { color: var(--ink2); font-size: 13px; }
.notice-strip { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin-bottom: 12px; font-size: 13.5px; } .notice-strip a { display: flex; align-items: center; gap: 8px; } .notice-strip b { color: var(--brand-d); }
.feed-note { font-size: 12.5px; margin: -4px 2px 10px; }
.rail-ci .muted { margin-bottom: 10px; } .mini-m { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.prog { height: 8px; background: #e8ecf0; border-radius: 4px; overflow: hidden; margin: 6px 0 3px; } .prog i { display: block; height: 100%; background: linear-gradient(90deg, #0d8a7a, #35b9a4); border-radius: 4px; transition: width .3s; } .prog.slim { height: 6px; } .prog.success i { background: var(--ok); } .prog.failed i { background: var(--danger); }
.ad-card { background: #fffdf7; border-color: #f1e1bf; display: flex; flex-direction: column; gap: 6px; } .ad-card .ad-l { align-self: flex-start; }
.card.bhead h1 { font-size: 22px; margin-bottom: 4px; } .bc-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.school-bar { margin-top: 12px; padding: 12px 16px; } .school-bar .note { padding: 6px 10px; }
.bfilter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px; }
.bsearch { display: flex; align-items: center; gap: 8px; border: 1px solid #cdd4dc; border-radius: 9px; padding: 0 12px; height: 36px; background: #fff; min-width: 200px; color: var(--ink3); } .bsearch input { border: 0; outline: 0; background: transparent; flex: 1; min-width: 0; height: 34px; font-size: 14px; } .bsearch:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(13, 138, 122, .16); }
.card.flush > .bfilter { border-bottom: 1px solid var(--line2); }
.tagbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 16px; border-bottom: 1px solid var(--line2); } .tag.sel { background: var(--brand); color: #fff; } .tag small { color: var(--ink3); margin-left: 3px; } .tag.sel small { color: #d6f1ec; }
.tag button { border: 0; background: transparent; margin-left: 4px; padding: 0; display: inline-grid; place-items: center; color: var(--ink3); }
.plist { list-style: none; margin: 0; padding: 0; }
.prow { display: grid; grid-template-columns: 56px minmax(0, 1fr) 96px 64px 52px 62px; gap: 10px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--line2); font-size: 13.5px; } .prow:hover:not(.head) { background: #fafcfc; }
.prow.head { font-size: 12px; font-weight: 700; color: var(--ink3); background: #f7f9fb; padding: 9px 16px; } .prow.pin { background: #f6fbfa; }
.pr-t a { font-weight: 600; font-size: 14.5px; } .pr-t a:hover { color: var(--brand-d); } .pr-t .ti { margin-left: 6px; color: var(--ink3); vertical-align: -2px; } .pr-t .cmn { color: var(--brand-d); font-size: 12px; margin-left: 6px; }
.pr-tags { display: flex; gap: 8px; margin-top: 2px; font-size: 12px; color: var(--ink3); } .pr-a { color: var(--ink2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pr-d, .pr-n { color: var(--ink3); font-size: 12.5px; } .pr-n.lk { color: var(--brand-d); font-weight: 600; } .pr-n { text-align: right; } .pr-d { text-align: right; }
.cat h2 { font-size: 15px; color: var(--ink2); margin: 18px 0 10px; } .bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.bcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 15px 16px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--sh); } .bcard p { color: var(--ink3); font-size: 13px; flex: 1; } .bc-n { font-weight: 800; font-size: 15.5px; } .bc-n:hover { color: var(--brand-d); } .bc-f { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; }

/* 글 상세 */
.post { padding: 22px 24px; } .post h1 { font-size: 24px; margin: 8px 0 14px; line-height: 1.35; } .ph-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line2); } .ph-a { display: flex; flex-direction: column; gap: 4px; }
#p-body { padding: 18px 0; } .rich p { margin: 0 0 4px; line-height: 1.8; font-size: 15px; } .rich .sp { height: 10px; } .rich ul { margin: 6px 0; padding-left: 22px; line-height: 1.8; } .rich blockquote { margin: 8px 0; padding: 8px 14px; border-left: 3px solid var(--brand); background: var(--bg); border-radius: 0 8px 8px 0; color: var(--ink2); }
.pimg { margin: 0 0 16px; } .pimg img, .pvid img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 12px; display: block; } .pvid { margin: 0 0 16px; } .vplay { position: relative; display: block; width: 100%; border: 0; padding: 0; border-radius: 12px; overflow: hidden; background: #000; }
.linkcard { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); background: var(--bg); border-radius: 11px; padding: 12px 14px; margin-top: 12px; } .linkcard .grow { display: flex; flex-direction: column; } .linkcard span { color: var(--ink3); font-size: 12.5px; }
.atts { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .att { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 7px 12px; font-size: 13px; } .att:hover { background: var(--bg); } .att small { color: var(--ink3); } .att-img { margin: 0; } .att-img img { max-width: 220px; border-radius: 10px; display: block; } .att-img figcaption { font-size: 12px; color: var(--ink3); }
.poll { margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; } .po { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; overflow: hidden; background: #fff; cursor: pointer; } .po input { accent-color: var(--brand); margin-right: 8px; }
.po.done { cursor: default; } .po-b { position: absolute; left: 0; top: 0; bottom: 0; background: #e6f4f1; z-index: 0; } .po.mine .po-b { background: #bfe6df; } .po-t, .po b { position: relative; z-index: 1; } .po b small { color: var(--ink3); font-weight: 500; }
.trans { margin-top: 12px; border: 1px solid #cfe0f7; background: #f4f8fe; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; } .trans h3 { font-size: 16px; } .trans small { color: var(--ink3); }
.pfoot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line2); }
.comments { padding: 18px 20px; } .cform { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; } .cform textarea { width: 100%; border: 1px solid #cdd4dc; border-radius: 10px; padding: 10px 12px; min-height: 76px; resize: vertical; background: #fff; } .cform textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(13, 138, 122, .16); } .cform.reply { margin: 8px 0 0; }
.clist, .replies { list-style: none; margin: 0; padding: 0; } .cm { border-bottom: 1px solid var(--line2); padding: 12px 0; } .cm:last-child { border-bottom: 0; } .replies { margin: 10px 0 0 18px; padding-left: 14px; border-left: 2px solid var(--line2); } .replies .cm { border-bottom: 0; padding: 8px 0; }
.cm-main.acc { background: #f2faf5; border: 1px solid #b9e0c9; border-radius: 12px; padding: 12px 14px; margin: -2px -6px; } .acc-l { color: var(--ok); font-weight: 800; font-size: 12.5px; display: flex; align-items: center; gap: 5px; margin-bottom: 6px; } .cm-main.hid { opacity: .65; }
.cm-h { display: flex; align-items: center; gap: 8px; margin: 2px 0 6px; } .cm-h time { margin-left: auto; font-size: 12px; color: var(--ink3); } .cm-b { line-height: 1.7; font-size: 14.5px; } .cm-b .rich p { font-size: 14.5px; line-height: 1.7; } .cm-a { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 4px; } .tr-t { color: #234e93; }
.card-h h2 + .muted { margin-left: 8px; }

/* 글쓰기 */
.editor { display: flex; flex-direction: column; gap: 16px; } .etype { display: flex; gap: 6px; flex-wrap: wrap; } .etype button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--line); background: #fff; border-radius: 18px; font-weight: 600; font-size: 13.5px; color: var(--ink2); } .etype button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.etool { display: flex; gap: 4px; } .etool button { min-width: 32px; height: 30px; border: 1px solid var(--line); background: #fff; border-radius: 7px; padding: 0 8px; font-size: 13px; } .etool button.on { background: var(--brand-soft); border-color: var(--brand); } .preview { border: 1px dashed #cdd4dc; border-radius: 10px; padding: 14px 16px; min-height: 160px; background: #fcfdfd; }
.sample-pick { display: flex; flex-wrap: wrap; gap: 8px; } .sp { width: 96px; height: 72px; border: 2px solid transparent; border-radius: 10px; overflow: hidden; padding: 0; background: #dfe5ea; position: relative; } .sp img { width: 100%; height: 100%; object-fit: cover; display: block; } .sp.on { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(13, 138, 122, .25); } .sp.up { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: #f1f4f7; color: var(--ink3); font-size: 12px; cursor: pointer; }
.drop { display: flex; align-items: center; gap: 10px; border: 2px dashed #cdd4dc; border-radius: 12px; padding: 18px; color: var(--ink3); cursor: pointer; font-weight: 500 !important; } .drop:hover, .drop.over { border-color: var(--brand); background: #f6fbfa; }
.alist { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; } .alist li { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 9px; padding: 6px 10px; font-size: 13px; } .alist img { width: 36px; height: 36px; object-fit: cover; border-radius: 6px; } .alist span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .alist small { color: var(--ink3); }
.tagin { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; border: 1px solid #cdd4dc; border-radius: 9px; padding: 6px 10px; background: #fff; min-height: 42px; } .tagin:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(13, 138, 122, .16); } .tagin input { border: 0; outline: 0; flex: 1; min-width: 120px; height: 28px; background: transparent; }
.poll-ed { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; } .draft-note { align-items: center; } .draft-note span { flex: 1; }

/* 멘토, 클럽 */
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; } .mcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--sh); } .mi { color: var(--ink2); font-size: 13.5px; line-height: 1.6; }
.icon-btn.on { color: var(--brand-d); } .icon-btn.sm { width: 30px; height: 30px; }
.kgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; } .kcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--sh); } .k-n { font-size: 17px; font-weight: 800; } .k-n:hover { color: var(--brand-d); } .kcard p { color: var(--ink2); font-size: 13.5px; flex: 1; }
.kd { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; background: var(--bg); border-radius: 10px; padding: 10px 12px; } .kd.wide { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); margin-top: 14px; } .kd dt { font-size: 11.5px; color: var(--ink3); } .kd dd { margin: 2px 0 0; font-weight: 700; font-size: 13.5px; }
.khead h1 { font-size: 24px; } .kintro { margin-top: 8px; color: var(--ink2); max-width: 680px; line-height: 1.7; }
.mlist { display: flex; flex-direction: column; gap: 10px; } .meet { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; } .meet.off { opacity: .6; } .meet h3 { font-size: 15.5px; margin-bottom: 3px; } .m-d { width: 56px; height: 62px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-d); display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; } .m-d b { font-size: 22px; line-height: 1; } .m-d span { font-size: 12px; font-weight: 700; }
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; font-size: 13px; } .switch input { appearance: none; width: 44px; height: 26px; border-radius: 13px; background: #cdd4dc; position: relative; transition: background .15s; cursor: pointer; flex: none; } .switch input::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); } .switch input:checked { background: var(--brand); } .switch input:checked::after { transform: translateX(18px); } .switch input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* 채팅 */
.chat { display: grid; grid-template-columns: 330px minmax(0, 1fr); height: calc(100vh - var(--top) - 56px); min-height: 520px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); }
.ch-list { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; } .ch-lh { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 8px; } .ch-lh h1 { font-size: 19px; } .ch-s { margin: 4px 14px 10px; }
.rooms { list-style: none; margin: 0; padding: 0; overflow: auto; flex: 1; } .rm { display: flex; align-items: center; gap: 11px; padding: 11px 16px; border-bottom: 1px solid var(--line2); } .rm:hover { background: #f7f9fb; } .rm.on { background: var(--brand-soft); }
.av-on { position: relative; display: inline-flex; } .av-on.on::after { content: ''; position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: #2fbf71; border: 2px solid #fff; }
.rm-g { width: 42px; height: 42px; border-radius: 50%; background: #e4e9ee; color: var(--ink2); display: grid; place-items: center; flex: none; } .rm-t { flex: 1; min-width: 0; display: flex; flex-direction: column; } .rm-t b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .rm-t small { color: var(--ink3); font-weight: 500; } .rm-l { font-size: 12.5px; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .rm-m { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 11.5px; color: var(--ink3); } .rm-m .nb { background: var(--danger); color: #fff; border-radius: 9px; min-width: 18px; text-align: center; padding: 0 5px; line-height: 18px; font-style: normal; font-size: 11px; }
.ch-conv { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: #f7f9fb; } .ch-h { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); } .ch-h .back { display: none; }
.ch-body { flex: 1; overflow: auto; padding: 16px 18px; min-height: 0; } .msgs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; } .dsep { text-align: center; margin: 12px 0 8px; } .dsep span { background: #e4e9ee; color: var(--ink2); font-size: 12px; padding: 3px 12px; border-radius: 12px; } .sysm { text-align: center; margin: 6px 0; } .sysm span { color: var(--ink3); font-size: 12.5px; }
.msg { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; } .msg.grp { margin-top: 0; } .msg.me { flex-direction: row-reverse; } .m-av { width: 32px; flex: none; } .m-c { max-width: 72%; display: flex; flex-direction: column; } .msg.me .m-c { align-items: flex-end; } .m-n { font-size: 12.5px; color: var(--ink2); margin-bottom: 3px; }
.m-row { display: flex; align-items: flex-end; gap: 6px; } .msg.me .m-row { flex-direction: row; } .bub { background: #fff; border: 1px solid var(--line); border-radius: 4px 14px 14px 14px; padding: 8px 13px; line-height: 1.55; font-size: 14px; word-break: break-word; white-space: pre-wrap; } .msg.me .bub { background: var(--brand); color: #fff; border-color: var(--brand); border-radius: 14px 4px 14px 14px; }
.m-meta { display: flex; flex-direction: column; align-items: flex-end; font-size: 11px; color: var(--ink3); gap: 1px; white-space: nowrap; font-style: normal; } .m-meta em { font-style: normal; color: var(--brand-d); font-weight: 700; } .fmsg { display: flex; align-items: center; gap: 10px; } .fmsg small { display: block; opacity: .75; }
.typing { color: var(--ink3); font-size: 12.5px; padding: 4px 0 0 40px; } .ch-f { display: flex; align-items: flex-end; gap: 8px; padding: 10px 14px; background: #fff; border-top: 1px solid var(--line); } .ch-f textarea { flex: 1; border: 1px solid #cdd4dc; border-radius: 12px; padding: 9px 12px; resize: none; max-height: 120px; min-height: 40px; background: #fff; } .ch-f textarea:focus { outline: none; border-color: var(--brand); } .ch-f.blocked { justify-content: center; color: var(--ink3); }
.ch-empty { margin: auto; }
.pick-list { list-style: none; margin: 0; padding: 0; max-height: 280px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; } .pick-list li { padding: 8px 12px; border-bottom: 1px solid var(--line2); } .pick-list li:last-child { border-bottom: 0; }

/* 주변 러너와 러닝 인증 */
.nb-grid { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 14px; margin-top: 14px; align-items: start; } .radar-wrap { margin: 10px 0; } .radar { width: 100%; height: auto; display: block; } .rbg { fill: #eef6f4; } .rg { fill: none; stroke: #c5ddd8; stroke-dasharray: 4 4; } .rl { stroke: #d7e7e3; } .rt { font-size: 10px; fill: #6c8a84; } .me { fill: #17212b; } .me-t { font-weight: 700; fill: #17212b; font-size: 12px; }
.rd circle:last-of-type { fill: var(--brand); stroke: #fff; stroke-width: 2; } .rd.fr circle:last-of-type { fill: var(--accent); } .rd { cursor: pointer; } .rd:hover circle:last-of-type, .rd:focus circle:last-of-type { r: 8; }
.legend { display: flex; gap: 14px; align-items: center; font-size: 12.5px; flex-wrap: wrap; } .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; } .dme { background: #17212b; } .dot { background: var(--brand); } .dfr { background: var(--accent); }
.nblist { list-style: none; margin: 12px 0 0; padding: 0; } .nblist li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line2); flex-wrap: wrap; } .nblist li:last-child { border-bottom: 0; } .nblist li.flash { background: #fff7e2; }
.run-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 14px; margin-bottom: 18px; align-items: start; } .wbar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 150px; margin: 8px 0 12px; } .wbar div { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 3px; font-size: 11.5px; color: var(--ink3); } .wbar i { width: 100%; max-width: 34px; background: linear-gradient(180deg, #35b9a4, #0d8a7a); border-radius: 6px 6px 2px 2px; display: block; min-height: 3px; } .wbar b { font-size: 11px; color: var(--ink2); height: 14px; }
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; } .rcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); } .r-img { position: relative; aspect-ratio: 16 / 10; background: #dfe5ea; } .r-img img { width: 100%; height: 100%; object-fit: cover; display: block; } .r-km { position: absolute; left: 12px; bottom: 10px; color: #fff; font-size: 30px; font-weight: 800; text-shadow: 0 2px 8px rgba(0, 0, 0, .6); } .r-km small { font-size: 14px; margin-left: 2px; }
.r-b { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; } .r-st { display: flex; gap: 14px; align-items: center; font-size: 12.5px; color: var(--ink3); } .r-st b { color: var(--ink); font-size: 15px; margin-right: 3px; } .sc-wrap { display: grid; place-items: center; } .sc-wrap canvas { width: min(100%, 420px); height: auto; border-radius: 14px; box-shadow: var(--sh2); }

/* 프로필과 설정 */
.phead { padding: 22px; } .phead.dawn { background: linear-gradient(120deg, #fff4e2, #fde9ee 55%, #e8eefc); } .phead h1 { font-size: 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; } .pbio { margin: 8px 0; color: var(--ink2); } .plv { min-width: 190px; } .plv .prog { margin: 8px 0 4px; } .phead > .row { align-items: flex-start; flex-wrap: nowrap; gap: 18px; }
.flist { list-style: none; margin: 0; padding: 0; } .flist li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line2); flex-wrap: wrap; } .flist li:last-child { border-bottom: 0; }
.setl { list-style: none; margin: 0; padding: 0; } .setl li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line2); } .setl li:last-child { border-bottom: 0; }

/* 시간표와 학점 */
.tt-bar { margin-bottom: 12px; } .tt-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 14px; align-items: start; } .tt-card { padding: 14px; overflow-x: auto; } .tt { min-width: 560px; }
.tt-h { display: grid; grid-template-columns: 56px repeat(5, 1fr); font-weight: 700; text-align: center; padding-bottom: 8px; color: var(--ink2); } .tt-b { display: grid; grid-template-columns: 56px repeat(5, 1fr); position: relative; border-top: 1px solid var(--line); } .tt-t span { display: block; font-size: 11px; color: var(--ink3); text-align: right; padding-right: 8px; transform: translateY(-7px); }
.tt-c { position: relative; border-left: 1px solid var(--line2); } .tt-c i { display: block; border-bottom: 1px solid var(--line2); box-sizing: border-box; } .tt-k { position: absolute; left: 3px; right: 3px; border: 0; border-radius: 9px; padding: 6px 8px; text-align: left; display: flex; flex-direction: column; gap: 1px; font-size: 12px; overflow: hidden; line-height: 1.3; } .tt-k b { font-size: 13px; } .tt-k:hover { filter: brightness(.96); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.tiles { display: flex; gap: 10px; margin-bottom: 12px; } .tiles > div { flex: 1; background: var(--bg); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; } .tiles b { font-size: 22px; } .tiles span { font-size: 12px; color: var(--ink3); } .tiles.big b { font-size: 30px; } .tiles.card { padding: 14px; }
.tpl { list-style: none; margin: 0; padding: 0; } .tpl li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line2); } .code-box { margin-top: 12px; font: 800 28px/1 ui-monospace, monospace; letter-spacing: .1em; text-align: center; background: var(--bg); border-radius: 12px; padding: 18px; user-select: all; }
.todo-add { display: grid; grid-template-columns: minmax(0, 1fr) 160px 110px auto; gap: 10px; align-items: start; margin-bottom: 12px; padding: 14px; } .todos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; } .td { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; } .td.done b { text-decoration: line-through; color: var(--ink3); } .td.over { border-color: #f1c7c7; background: #fffafa; } .td .chk span { display: none; }
.gpa-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; margin-bottom: 14px; align-items: start; } .gb .bar-row { grid-template-columns: 130px 1fr 130px; } .sem-h { font-size: 14px; margin: 14px 0 6px; color: var(--ink2); }

/* 아카이브 */
.agrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; } .acard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); display: flex; flex-direction: column; } .a-img { aspect-ratio: 16 / 10; background: #dfe5ea; display: block; position: relative; } .a-img img { width: 100%; height: 100%; object-fit: cover; display: block; } .a-img.noimg { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; font-weight: 700; } .k-0 { background: linear-gradient(135deg, #2f8f83, #5bc4b2); } .k-1 { background: linear-gradient(135deg, #3b6fd0, #7aa5f0); } .k-2 { background: linear-gradient(135deg, #c27a1f, #eab25f); } .k-3 { background: linear-gradient(135deg, #8a56c2, #b992e6); } .k-4 { background: linear-gradient(135deg, #c24f6b, #ee94a8); }
.a-b { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; } .a-b h3 { font-size: 15.5px; } .a-b h3 a:hover { color: var(--brand-d); }
.adetail { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 20px; padding: 0; overflow: hidden; } .adetail:not(:has(.ad-img)) { grid-template-columns: 1fr; padding: 0; } .ad-img img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 240px; } .ad-b { padding: 20px 22px 20px 4px; display: flex; flex-direction: column; gap: 10px; } .adetail:not(:has(.ad-img)) .ad-b { padding: 20px 22px; } .ad-b h1 { font-size: 24px; } .adesc { line-height: 1.8; color: var(--ink2); }
.rate-sum { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; align-items: center; margin-bottom: 8px; } .rs-n { display: flex; flex-direction: column; align-items: center; gap: 4px; } .rs-n b { font-size: 38px; line-height: 1; } .rs-d .bar-row { grid-template-columns: 34px 1fr 30px; gap: 8px; }
.starpick { display: flex; gap: 2px; } .starpick button { border: 0; background: transparent; color: #cdd4dc; padding: 2px; } .starpick button.on { color: #f2a33a; } .starpick button.on svg { fill: #f2a33a; } .rvlist { list-style: none; padding: 0; margin: 0; } .rvlist li { padding: 14px 0; border-bottom: 1px solid var(--line2); display: flex; flex-direction: column; gap: 6px; } .rvlist li:last-child { border-bottom: 0; }

/* 장터 */
.ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; } .gcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); display: flex; flex-direction: column; } .g-img { position: relative; aspect-ratio: 4 / 3; background: #dfe5ea; display: block; } .g-img img { width: 100%; height: 100%; object-fit: cover; display: block; } .g-img.noimg { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--ink3); background: linear-gradient(135deg, #e9eef3, #f5f7fa); } .g-k { position: absolute; left: 10px; top: 10px; }
.g-b { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; } .g-b h3 { font-size: 15px; line-height: 1.4; } .g-b h3 a:hover { color: var(--brand-d); } .g-p b { font-size: 18px; }
.pdetail { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 24px; padding: 20px; } .pd-img { border-radius: 14px; overflow: hidden; background: #dfe5ea; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; flex-direction: column; color: var(--ink3); gap: 8px; } .pd-img img { width: 100%; height: 100%; object-fit: cover; } .pd-img.noimg { background: linear-gradient(135deg, #e9eef3, #f5f7fa); }
.pd-b { display: flex; flex-direction: column; gap: 14px; } .pd-b h1 { font-size: 24px; } .pd-p b { font-size: 28px; margin-right: 10px; } .gb { background: var(--bg); border-radius: 12px; padding: 12px 14px; } .qty { display: flex; align-items: center; gap: 10px; } .qty select { height: 38px; border: 1px solid #cdd4dc; border-radius: 9px; padding: 0 10px; background: #fff; }
.sum { background: var(--bg); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; } .sum .tot { border-top: 1px solid var(--line); padding-top: 8px; font-size: 16px; }
.olist { display: flex; flex-direction: column; gap: 10px; } .ord { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; } .o-img { width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: #e9eef3; flex: none; display: grid; place-items: center; color: var(--ink3); } .o-img img { width: 100%; height: 100%; object-fit: cover; }

/* 랭킹과 미션과 멤버십 */
.rank-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; } .cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin-top: 12px; text-align: center; } .cal b { font-size: 11.5px; color: var(--ink3); } .cal span { aspect-ratio: 1.15; display: grid; place-items: center; border-radius: 9px; background: var(--bg); font-size: 12.5px; color: var(--ink2); } .cal span.ck { background: var(--brand); color: #fff; } .cal span.td { outline: 2px solid var(--accent); }
.mgrid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; } .mi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; } .mi.done { background: #f6faf8; }
.podium { display: flex; align-items: flex-end; justify-content: center; gap: 14px; margin: 6px 0 18px; } .pd { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 20px; min-width: 150px; } .pd.p1 { padding-bottom: 28px; border-color: #f0cf8e; background: #fffbf1; } .pd.p2 { padding-bottom: 16px; } .pd-r { position: absolute; top: -12px; background: var(--ink); color: #fff; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; } .p1 .pd-r { background: var(--accent); }
.rklist { list-style: none; margin: 0; padding: 0; } .rklist li { display: flex; align-items: center; gap: 14px; padding: 11px 18px; border-bottom: 1px solid var(--line2); } .rklist li.me { background: #fff7e2; } .rn { width: 30px; text-align: center; font-weight: 800; color: var(--ink2); font-size: 15px; }
.rwgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; } .rw { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 8px; } .rw p { flex: 1; } .rw-i { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--warn); display: grid; place-items: center; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 14px 0 18px; } .plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 12px; } .plan.on { border: 2px solid var(--brand); } .plan.rec { box-shadow: 0 10px 28px rgba(13, 138, 122, .16); } .pl-rec { position: absolute; top: 14px; right: 14px; } .plan h3 { font-size: 18px; } .pl-p b { font-size: 28px; } .pl-p span { color: var(--ink3); margin-left: 4px; } .plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; font-size: 14px; } .plan li { display: flex; gap: 8px; align-items: flex-start; } .plan li .ic { color: var(--brand); margin-top: 3px; }
.mstat h2 { font-size: 24px; margin: 2px 0; } .rcpt { margin: 0; display: flex; flex-direction: column; } .rcpt div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line2); } .rcpt dt { color: var(--ink3); } .rcpt dd { margin: 0; font-weight: 600; } .rcpt .tot dd { font-size: 17px; }

/* 운영 화면 */
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-bottom: 14px; } .kpis.three { grid-template-columns: repeat(3, 1fr); } .kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: flex; gap: 12px; align-items: center; box-shadow: var(--sh); } .kpi > div { display: flex; flex-direction: column; } .kpi b { font-size: 22px; margin: 2px 0; } .k-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-d); display: grid; place-items: center; flex: none; }
.repl { display: flex; flex-direction: column; gap: 12px; } .rep { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; } .rep h3 { font-size: 15.5px; } .thumb { display: block; width: 72px; height: 52px; border-radius: 8px; overflow: hidden; background: #dfe5ea; } .thumb img { width: 100%; height: 100%; object-fit: cover; }
.range { width: 100%; accent-color: var(--brand); } .gate .ic, .empty .ic { color: #aab5c0; }
@media (max-width: 1100px) { .nb-grid, .gpa-grid, .tt-grid, .run-top, .rank-top, .pdetail, .adetail { grid-template-columns: minmax(0, 1fr); } .adetail .ad-b { padding: 4px 22px 20px; } .plans { grid-template-columns: 1fr; } .pdetail .pd-img { max-height: 380px; aspect-ratio: 16 / 10; } .cols2 { grid-template-columns: 1fr; } .chat { grid-template-columns: 290px minmax(0, 1fr); } }
@media (max-width: 900px) {
  .chat { grid-template-columns: 1fr; height: calc(100vh - var(--top) - 110px); } .chat .ch-conv { display: none; } .chat.show-conv .ch-list { display: none; } .chat.show-conv .ch-conv { display: flex; } .ch-h .back { display: grid; }
  .prow { grid-template-columns: 48px minmax(0, 1fr) 54px; } .prow .pr-a, .prow .pr-d { display: none; } .prow .pr-n:nth-child(5) { display: none; } .prow.head .pr-a, .prow.head .pr-d { display: none; }
  .pc-thumb { width: 108px; height: 88px; } .todo-add { grid-template-columns: 1fr 1fr; } .todo-add .btn { grid-column: span 2; } .phead > .row { flex-wrap: wrap; } .kpis.three { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .pcard { flex-direction: column-reverse; padding: 14px; } .pc-thumb { width: 100%; height: 160px; align-self: stretch; } .post { padding: 16px; } .post h1 { font-size: 20px; } .podium { gap: 6px; } .pd { min-width: 0; padding: 12px 10px; flex: 1; } .kd { grid-template-columns: 1fr 1fr; } .meet { flex-wrap: wrap; } .m-c { max-width: 82%; } .rate-sum { grid-template-columns: 1fr; } .tiles { flex-wrap: wrap; } .tiles > div { min-width: 40%; } .ord { flex-wrap: wrap; } .pfoot { flex-direction: column; align-items: stretch; } .banner { flex-wrap: wrap; }
  .tbl thead { display: none; } .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; } .tbl tr { border-bottom: 1px solid var(--line); padding: 8px 0; } .tbl td { border: 0; padding: 4px 12px; display: flex; gap: 10px; justify-content: space-between; text-align: right !important; } .tbl td::before { content: attr(data-l); color: var(--ink3); font-size: 12px; text-align: left; flex: none; }
  .tbl td:empty { display: none; } .tbl td[data-l=""]::before { display: none; } .tbl td[data-l=""] { justify-content: flex-end; }
}

.cm-sep { height: 14px; border-top: 1px solid var(--line2); margin-top: 10px; }

@media (max-width: 600px) { .tt { min-width: 440px; } .tt-h, .tt-b { grid-template-columns: 40px repeat(5, minmax(0, 1fr)); } .tt-k { padding: 4px 5px; font-size: 10.5px; } .tt-k b { font-size: 11px; } .tt-t span { padding-right: 4px; font-size: 10px; } .tt-card { padding: 10px; } }

.feed-more { display: flex; justify-content: center; margin: 16px 0 4px; } .feed-end { text-align: center; margin: 14px 0; } .newposts { position: sticky; top: calc(var(--top) + 8px); z-index: 20; display: flex; justify-content: center; margin: 8px 0; } .newposts[hidden] { display: none; } .newposts .btn { box-shadow: 0 6px 18px rgba(13, 138, 122, .35); }
.kcard .kd { grid-template-columns: 1fr 1fr; } .kcard .kd div:first-child { grid-column: span 2; }
