/* 우숲 — 앱 스타일 UI */
.ipsup {
	--brand: #00C471;
	--brand-strong: #00A862;
	--brand-weak: #E6F9EF;
	--univ: #3A63F2;
	--univ-weak: #EBF0FF;
	--ink: #191F28;
	--ink-2: #333D4B;
	--sub: #6B7684;
	--muted: #8B95A1;
	--line: #EEF0F3;
	--fill: #F2F4F6;
	--surface: #FFFFFF;
	--danger: #F04452;
	--danger-weak: #FDECEE;
	--radius: 16px;
	--maxw: 600px;
	--tabbar: 64px;

	position: relative;
	max-width: var(--maxw);
	margin: 0 auto;
	min-height: 100vh;
	min-height: 100dvh;
	background: var(--surface);
	color: var(--ink);
	font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: -0.01em;
	word-break: keep-all;
	overflow-wrap: anywhere;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
}
.ipsup *, .ipsup *::before, .ipsup *::after { box-sizing: border-box; }
.ipsup a { color: inherit; text-decoration: none; }
.ipsup p { margin: 0; }
.ipsup button { font: inherit; letter-spacing: inherit; }
.ipsup :focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 8px; }
.ipsup .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ips-ico { width: 20px; height: 20px; flex: none; }

/* 페이지 배경 */
body.ipsup-app { margin: 0; background: var(--fill, #F2F4F6); }
@media (min-width: 640px) {
	body.ipsup-app { background: #F2F4F6; }
	body.ipsup-app .ipsup { box-shadow: 0 0 0 1px #E8EBEE; }
}

/* ---------- 로고 ---------- */
.ips-logo { display: inline-flex; align-items: center; }
.ips-lockup { display: block; height: 26px; width: auto; }
.ips-mark { display: block; flex: none; }
.ips-logo__word { font-size: 21px; font-weight: 800; letter-spacing: -0.05em; color: var(--ink); line-height: 1; }

/* ---------- 상단 바 ---------- */
.ips-top {
	position: sticky; top: 0; z-index: 20;
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	height: 56px; padding: 0 16px;
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
	backdrop-filter: saturate(180%) blur(16px);
}
.admin-bar .ips-top { top: 32px; }
@media (max-width: 782px) { .admin-bar .ips-top { top: 46px; } }
.ips-top--plain { position: static; background: transparent; }
.ips-top__title { font-size: 17px; font-weight: 700; }
.ips-top__right { display: flex; align-items: center; gap: 8px; }
.ips-iconbtn { width: 40px; height: 40px; margin-left: -8px; display: grid; place-items: center; border-radius: 12px; color: var(--ink); }
.ips-iconbtn:last-child { margin: 0 -8px 0 0; }
.ips-iconbtn .ips-ico { width: 24px; height: 24px; }
.ips-iconbtn:active { background: var(--fill); }
.ips-me .ips-anon { display: none; }

.ips-chip { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.ips-chip--go { background: var(--brand); color: #fff !important; }
.ips-chip--wait { background: var(--fill); color: var(--sub) !important; }

/* 게시판 칩 */
.ips-chips {
	position: sticky; top: 56px; z-index: 19;
	display: flex; gap: 6px; padding: 4px 16px 12px; overflow-x: auto; scrollbar-width: none;
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
	backdrop-filter: saturate(180%) blur(16px);
}
.admin-bar .ips-chips { top: 88px; }
.ips-chips::-webkit-scrollbar { display: none; }
.ips-chips a {
	flex: none; height: 34px; padding: 0 14px; display: inline-flex; align-items: center;
	border-radius: 999px; background: var(--fill); color: var(--ink-2);
	font-size: 14px; font-weight: 600; transition: background .15s, color .15s;
}
.ips-chips a[aria-current="page"] { background: var(--ink); color: #fff; }

/* ---------- 본문 ---------- */
.ips-body { padding-bottom: calc(var(--tabbar) + 32px + env(safe-area-inset-bottom)); }
.ips-head { padding: 20px 20px 8px; }
.ips-h1 { margin: 0; font-size: 26px; line-height: 1.35; font-weight: 800; letter-spacing: -0.035em; color: var(--ink); }
.ips-h2 { margin: 0 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.ips-h2 span { color: var(--brand); }
.ips-sub { margin-top: 6px; font-size: 15px; color: var(--sub); }

/* 토스트 */
.ips-toast {
	margin: 8px 16px 4px; padding: 14px 16px; border-radius: 14px;
	font-size: 15px; font-weight: 600; animation: ips-pop .28s cubic-bezier(.2,.9,.3,1.2);
}
.ips-toast--ok { background: var(--ink); color: #fff; }
.ips-toast--err { background: var(--danger-weak); color: #C4202E; }
@keyframes ips-pop { from { transform: translateY(-6px) scale(.98); opacity: 0; } }

/* 배지 */
.ips-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); line-height: 1.2; }
.ips-badge {
	display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px;
	background: var(--brand-weak); color: var(--brand-strong);
	font-size: 12.5px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap;
}
.ips-badge--univ { background: var(--univ-weak); color: var(--univ); }
.ips-anon { color: var(--sub); font-weight: 500; }
.ips-dot::before { content: ""; display: inline-block; width: 2px; height: 2px; margin: 0 6px 3px 0; border-radius: 50%; background: currentColor; vertical-align: middle; }

/* 인증 배너 */
.ips-banner {
	display: flex; align-items: center; gap: 12px; margin: 4px 16px 8px; padding: 16px;
	border-radius: var(--radius); background: var(--brand-weak); color: var(--ink);
}
.ips-banner__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.ips-banner__text { flex: 1; font-size: 13.5px; color: var(--sub); line-height: 1.45; }
.ips-banner__text strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.ips-banner > .ips-ico { color: var(--muted); }

/* 피드 */
.ips-feed { list-style: none; margin: 0; padding: 0; }
.ips-feed li + li { border-top: 1px solid var(--line); }
.ips-row { display: block; padding: 18px 20px; transition: background .12s; }
.ips-row:active { background: #F9FAFB; }
@media (hover: hover) { .ips-row:hover { background: #FAFBFC; } }
.ips-row__title { display: block; margin-top: 10px; font-size: 17px; line-height: 1.4; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); }
.ips-row__body {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--sub);
}
.ips-stats { display: flex; gap: 14px; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.ips-stats span { display: inline-flex; align-items: center; gap: 4px; }
.ips-stats .ips-ico { width: 16px; height: 16px; }

.ips-pager { display: flex; justify-content: center; gap: 8px; padding: 16px; }

/* 빈 화면 */
.ips-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 56px 24px; }
.ips-empty__mark { margin-bottom: 16px; opacity: .9; }
.ips-empty strong { font-size: 18px; font-weight: 700; }
.ips-empty p { margin: 6px 0 20px; color: var(--sub); font-size: 15px; }

/* ---------- 버튼 ---------- */
.ips-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	height: 48px; padding: 0 22px; border: 0; border-radius: 14px;
	background: var(--brand); color: #fff !important;
	font-size: 16px; font-weight: 700; cursor: pointer;
	transition: background .15s, transform .08s;
}
.ips-btn:hover { background: var(--brand-strong); }
.ips-btn:active { transform: scale(.98); }
.ips-btn--block { display: flex; width: 100%; height: 56px; font-size: 17px; }
.ips-btn--soft { background: var(--fill); color: var(--ink-2) !important; }
.ips-btn--soft:hover { background: #E8EBED; }
.ips-btn--danger { background: var(--danger); }
.ips-btn--danger:hover { background: #D93644; }
.ips-textbtn {
	display: inline-flex; align-items: center; gap: 4px; padding: 6px 8px; margin: -6px -8px;
	background: none; border: 0; border-radius: 8px; color: var(--muted); font-size: 14px; font-weight: 500; cursor: pointer; list-style: none;
}
.ips-textbtn::-webkit-details-marker { display: none; }
.ips-textbtn .ips-ico { width: 16px; height: 16px; }
.ips-textbtn:hover { color: var(--ink-2); background: var(--fill); }

/* ---------- 하단 탭 ---------- */
.ips-tabbar {
	position: fixed; z-index: 30; left: 50%; bottom: 0; transform: translateX(-50%);
	width: 100%; max-width: var(--maxw);
	display: grid; grid-template-columns: repeat(5, 1fr);
	height: calc(var(--tabbar) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
	background: rgba(255, 255, 255, 0.96);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
	backdrop-filter: saturate(180%) blur(16px);
	border-top: 1px solid var(--line);
}
.ips-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #B0B8C1; font-size: 11px; font-weight: 600; }
.ips-tab .ips-ico { width: 24px; height: 24px; }
.ips-tab[aria-current="page"] { color: var(--ink); }
.ips-tab--write .ips-ico { background: linear-gradient(135deg, #22DB8E, #00A862) !important; width: 44px; height: 44px; padding: 11px; margin: -6px 0 -4px; border-radius: 15px; background: var(--brand); color: #fff; stroke-width: 2.2; box-shadow: 0 6px 16px rgba(0, 196, 113, 0.32); }
.ips-tab--write span { color: var(--brand); }

/* ---------- 글 보기 ---------- */
.ips-article { padding: 20px 20px 16px; }
.ips-article__title { margin: 14px 0 0; font-size: 23px; line-height: 1.4; font-weight: 800; letter-spacing: -0.035em; }
.ips-article__body { margin-top: 16px; font-size: 16.5px; line-height: 1.75; color: var(--ink-2); }
.ips-warn { margin-top: 8px; color: var(--danger); font-size: 14px; font-weight: 600; }
.ips-actions { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.ips-actions form { margin: 0; }
.ips-actions__spacer { flex: 1; }
.ips-like {
	display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px;
	border: 0; border-radius: 999px; background: var(--fill); color: var(--ink-2);
	font-size: 14px; font-weight: 700; cursor: pointer; transition: background .15s, color .15s;
}
.ips-like .ips-ico { width: 18px; height: 18px; }
.ips-like.is-on { background: #FFEBEE; color: var(--danger); }
.ips-like.is-on .ips-ico { fill: currentColor; animation: ips-beat .35s ease; }
.ips-like[aria-disabled="true"] { cursor: default; color: var(--muted); }
@keyframes ips-beat { 40% { transform: scale(1.3); } }

/* 신고 시트 */
.ips-report { position: relative; }
.ips-report[open] summary { color: var(--ink); }
.ips-report__sheet {
	position: absolute; right: -8px; top: calc(100% + 10px); z-index: 25; width: 260px;
	display: grid; gap: 2px; padding: 16px; border-radius: 18px; background: var(--surface);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.04);
	animation: ips-pop .2s ease;
}
.ips-report__sheet strong { font-size: 15px; margin-bottom: 6px; }
.ips-report__sheet .ips-btn { margin-top: 10px; height: 48px; font-size: 15px; }
.ips-radio { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-radius: 10px; font-size: 14.5px; cursor: pointer; }
.ips-radio input { accent-color: var(--danger); width: 18px; height: 18px; margin: 0; }

/* 댓글 */
.ips-comments { border-top: 8px solid var(--fill); padding: 20px 20px 8px; }
.ips-comments__empty { margin-bottom: 12px; }
.ips-clist { list-style: none; margin: 0; padding: 0; }
.ips-c { padding: 14px 0; }
.ips-c + .ips-c { border-top: 1px solid var(--line); }
.ips-c--writer .ips-anon { color: var(--brand); font-weight: 700; }
.ips-c__body { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.ips-c__actions { display: flex; justify-content: flex-end; margin-top: 4px; }
.ips-c__actions form { margin: 0; }
.ips-c__gone { font-size: 14px; color: var(--muted); }

.ips-composer {
	position: fixed; z-index: 30; left: 50%; bottom: 0; transform: translateX(-50%);
	width: 100%; max-width: var(--maxw);
	display: flex; align-items: flex-end; gap: 8px;
	padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
	background: var(--surface); border-top: 1px solid var(--line);
}
.ips-composer textarea {
	flex: 1; min-height: 44px; max-height: 140px; resize: none; padding: 11px 16px;
	border: 0; border-radius: 22px; background: var(--fill); color: var(--ink);
	font: inherit; font-size: 15.5px; line-height: 1.4; outline: none;
}
.ips-composer textarea:focus { background: #EDEFF2; box-shadow: inset 0 0 0 1.5px var(--brand); }
.ips-composer__send { height: 44px; padding: 0 16px; border: 0; border-radius: 22px; background: var(--brand); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.ips-composer--locked { justify-content: center; padding: 16px 12px calc(16px + env(safe-area-inset-bottom)); }
.ips-composer--locked a { color: var(--brand) !important; font-weight: 700; font-size: 15px; }

/* ---------- 글쓰기 ---------- */
.ips-write { display: flex; flex-direction: column; min-height: calc(100dvh - 56px); padding: 8px 20px 0; }
.ips-boardpick { border: 0; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ips-boardpick legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--sub); }
.ips-pick input { position: absolute; opacity: 0; pointer-events: none; }
.ips-pick span {
	display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px;
	background: var(--fill); color: var(--ink-2); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .15s;
}
.ips-pick input:checked + span { background: var(--ink); color: #fff; }
.ips-pick input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.ips-write__title, .ips-write__body {
	width: 100%; border: 0; outline: none; background: transparent; color: var(--ink); font: inherit; padding: 0;
}
.ips-write__title { margin-top: 16px; padding: 14px 0; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; border-bottom: 1px solid var(--line); }
.ips-write__body { flex: 1; min-height: 240px; margin-top: 16px; font-size: 16.5px; line-height: 1.7; resize: none; }
.ips-write__title::placeholder, .ips-write__body::placeholder { color: #B0B8C1; }
.ips-write__foot {
	position: sticky; bottom: 0; margin: 0 -20px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
	background: var(--surface); display: grid; gap: 10px;
}
.ips-write__foot .ips-meta .ips-sub { margin: 0 4px 0 0; font-size: 13px; }

/* ---------- 폼 공통 ---------- */
.ips-form { display: grid; gap: 20px; }
.ips-field { display: grid; gap: 8px; }
.ips-field > label, .ips-field__label { font-size: 14px; font-weight: 600; color: var(--sub); }
.ipsup input[type="text"], .ipsup input[type="email"] {
	width: 100%; height: 56px; padding: 0 16px; border: 0; border-radius: 14px;
	background: var(--fill); color: var(--ink); font: inherit; font-size: 17px; outline: none;
	transition: box-shadow .15s, background .15s;
}
.ipsup input[type="text"]:focus, .ipsup input[type="email"]:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--brand); }
.ipsup .ips-write__title:focus { box-shadow: none; background: transparent; }
.ipsup input::placeholder { color: #B0B8C1; }
.ips-code { text-align: center; font-size: 26px !important; font-weight: 700; letter-spacing: 0.4em; font-variant-numeric: tabular-nums; }
.ips-help { font-size: 13px; color: var(--muted); line-height: 1.5; }
.ips-checkline { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.ips-checkline input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }

.ips-upload {
	display: flex; align-items: center; gap: 14px; padding: 18px 16px; border-radius: 14px;
	border: 1.5px dashed #D1D6DB; background: #FAFBFC; cursor: pointer; transition: all .15s;
}
.ips-upload:hover { border-color: var(--brand); background: var(--brand-weak); }
.ips-upload .ips-ico { width: 32px; height: 32px; color: var(--brand); stroke-width: 1.6; }
.ips-upload__text { display: grid; font-size: 13px; color: var(--muted); }
.ips-upload__text strong { font-size: 15px; color: var(--ink); }
.ips-upload__text em { font-style: normal; }
.ips-upload.is-filled { border-style: solid; border-color: var(--brand); background: var(--brand-weak); }
.ips-upload.is-filled em { color: var(--brand-strong); font-weight: 600; }
.ips-upload__input { position: absolute; width: 1px; height: 1px; opacity: 0; }

/* 인증 화면 */
.ips-status { display: flex; gap: 12px; align-items: flex-start; margin: 12px 20px 0; padding: 16px; border-radius: var(--radius); background: var(--fill); }
.ips-status .ips-ico { width: 22px; height: 22px; margin-top: 1px; color: var(--sub); }
.ips-status strong { display: block; font-size: 15px; }
.ips-status span { font-size: 13.5px; color: var(--sub); line-height: 1.5; }
.ips-status--ok { background: var(--brand-weak); }
.ips-status--ok .ips-ico { color: var(--brand); }
.ips-status--err { background: var(--danger-weak); }
.ips-status--err .ips-ico { color: var(--danger); }

.ips-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 24px 20px 0; padding: 4px; border-radius: 14px; background: var(--fill); }
.ips-seg > input { position: absolute; opacity: 0; pointer-events: none; }
.ips-seg > label { height: 42px; display: grid; place-items: center; border-radius: 11px; font-size: 15px; font-weight: 700; color: var(--sub); cursor: pointer; transition: all .18s; }
.ips-seg > input:checked + label { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
.ips-seg > input:focus-visible + label { outline: 2px solid var(--brand); }
.ips-seg__panel { display: none; grid-column: 1 / -1; margin: 4px -24px 0; padding: 24px 20px 0; background: var(--surface); }
#ips-vt-high:checked ~ .ips-seg__panel--high, #ips-vt-univ:checked ~ .ips-seg__panel--univ { display: block; }
.ips-form--code { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }

/* MY */
.ips-profile { display: flex; align-items: center; gap: 14px; padding: 24px 20px 20px; }
.ips-profile__avatar { width: 56px; height: 56px; border-radius: 20px; background: var(--brand-weak); color: var(--brand); display: grid; place-items: center; }
.ips-profile__avatar .ips-ico { width: 28px; height: 28px; }
.ips-profile__info strong { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.ips-profile__info span { font-size: 14px; color: var(--sub); }
.ips-menu { margin: 0 20px; border-radius: var(--radius); background: var(--fill); overflow: hidden; }
.ips-menu a { display: flex; align-items: center; gap: 12px; padding: 16px; font-size: 15.5px; font-weight: 600; }
.ips-menu a + a { border-top: 1px solid #E6E9EC; }
.ips-menu a span { flex: 1; }
.ips-menu a .ips-ico:first-child { color: var(--sub); }
.ips-menu a .ips-ico:last-child { width: 16px; height: 16px; color: #B0B8C1; }
.ips-menu a:hover { background: #ECEEF1; }
.ips-profile ~ .ips-head { margin-top: 20px; border-top: 8px solid var(--fill); }

/* ---------- 비로그인 첫 화면 ---------- */
.ips-landing { padding: 28px 24px 200px; }
.ips-landing__title { margin: 0; font-size: clamp(32px, 9vw, 42px); line-height: 1.22; font-weight: 800; letter-spacing: -0.05em; }
.ips-landing__brand { margin-top: 14px !important; font-size: 17px; font-weight: 700; color: var(--brand-strong); }
.ips-landing__lead { margin-top: 16px; font-size: 16.5px; line-height: 1.6; color: var(--sub); max-width: 30em; }
.ips-preview { position: relative; margin: 36px 0 8px; padding: 22px 18px 18px; border-radius: 24px; background: linear-gradient(160deg, #F0FAF5 0%, #F2F4F6 100%); }
.ips-preview__card { padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 6px 20px rgba(25, 31, 40, 0.06); }
.ips-preview__card--reply { margin: 10px 0 0 28px; position: relative; }
.ips-preview__card--reply::before { content: ""; position: absolute; left: -16px; top: 16px; width: 10px; height: 14px; border-left: 2px solid #D1D6DB; border-bottom: 2px solid #D1D6DB; border-bottom-left-radius: 8px; }
.ips-preview__title { margin-top: 10px !important; font-size: 17px; font-weight: 700; }
.ips-preview__body { margin-top: 8px !important; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.ips-preview .ips-stats { margin-top: 8px; }
.ips-points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; }
.ips-points li { display: flex; gap: 14px; align-items: center; }
.ips-points .ips-ico { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--fill); color: var(--brand); flex: none; }
.ips-points span { display: grid; font-size: 14px; color: var(--sub); line-height: 1.4; }
.ips-points strong { font-size: 16px; color: var(--ink); font-weight: 700; }
.ips-cta {
	position: fixed; z-index: 30; left: 50%; bottom: 0; transform: translateX(-50%);
	width: 100%; max-width: var(--maxw); display: grid; gap: 8px;
	padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
	background: linear-gradient(to bottom, rgba(255,255,255,0) 0, #fff 24px);
}

/* 운영정책 */
.ips-policy { padding-bottom: 48px; }
.ips-policy .ips-head { padding-bottom: 20px; }
.ips-policy .ips-h2 { margin: 24px 20px 6px; }
.ips-policy > p { margin: 0 20px; color: var(--ink-2); font-size: 15.5px; line-height: 1.75; }
.ips-foot { margin-top: 32px !important; color: var(--muted) !important; font-size: 13px !important; }

@media (prefers-reduced-motion: reduce) { .ipsup * { animation: none !important; transition: none !important; } }

/* 글쓰기 제목은 상자 없이 큰 글씨로 */
.ipsup input.ips-write__title, .ipsup input.ips-write__title:focus {
	height: auto; padding: 14px 0; border-radius: 0; background: transparent; box-shadow: none;
	border-bottom: 1px solid var(--line); font-size: 22px; font-weight: 700;
}
.ipsup input.ips-write__title:focus { border-bottom-color: var(--brand); }

.ips-pick--lounge span { background: var(--brand-weak); color: var(--brand-strong); }
.ips-pick--lounge input:checked + span { background: var(--brand); color: #fff; }

/* ---------- 가입·로그인 ---------- */
.ips-auth { padding: 8px 24px 48px; }
.ips-auth .ips-toast { margin: 0 0 16px; }
.ips-auth .ips-h1 { font-size: 28px; }
.ips-auth .ips-sub { margin-bottom: 26px; }
.ips-auth__social { display: grid; gap: 10px; }
.ips-btn--kakao { background: #FEE500; color: #191919 !important; }
.ips-btn--kakao:hover { background: #F5DC00; }
.ips-btn--naver { background: #03C75A; color: #fff !important; }
.ips-btn--naver:hover { background: #02B351; }
.ips-btn--kakao .ips-ico, .ips-btn--naver .ips-ico { width: 20px; height: 20px; margin-right: 4px; }
.ips-auth__id { margin-top: 10px; }
.ips-auth__id > summary { list-style: none; cursor: pointer; }
.ips-auth__id > summary::-webkit-details-marker { display: none; }
.ips-auth__id[open] > summary { display: none; }
.ips-auth__id .ips-form, .ips-auth__form { margin-top: 18px; }
.ips-auth__social:empty { display: none; }
.ips-auth__social:empty + .ips-auth__id { margin-top: 0; }
.ipsup input[type="password"] { width: 100%; height: 56px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--fill); color: var(--ink); font: inherit; font-size: 17px; outline: none; }
.ipsup input[type="password"]:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--brand); }
.ips-agree { display: grid; gap: 10px; padding: 16px; border-radius: 14px; background: var(--fill); }
.ips-agree__all { padding-bottom: 10px; border-bottom: 1px solid #E5E8EB; }
.ips-agree a { color: var(--brand-strong); }
.ips-auth__switch { margin-top: 22px !important; text-align: center; font-size: 14.5px; color: var(--sub); }
.ips-auth__switch a { color: var(--brand-strong); font-weight: 700; }
.ips-badge--none { background: var(--fill); color: var(--sub); }
.ips-meta__link { margin-left: 6px; color: var(--brand-strong); font-weight: 700; font-size: 13px; }
.ips-composer--locked span { color: var(--muted); font-size: 14px; }
