/* 팔자마당 — 디시형 밀도 + 먹색·인주색. 오행 색은 만세력·일진 블록에만 쓴다. */
:root {
  --ink: #232838;
  --ink-2: #2e3448;
  --ink-3: #3d4560;
  --page: #f1f2f5;
  --card: #fff;
  --line: #dfe2e8;
  --line-2: #eceef2;
  --text: #1c2030;
  --text-2: #444a5c;
  --muted: #7a8091;
  --link: #2f4386;
  --visited: #6a4f8e;
  --seal: #c3352a;
  --seal-d: #a42a20;
  --seal-bg: #fbecea;
  --hl: #fff6e3;
  --ok: #1f7a5c;
  --wood: #2f6b3f; --wood-bg: #e5f1e7;
  --fire: #b3301f; --fire-bg: #fbe8e4;
  --earth: #8a6418; --earth-bg: #f6eedb;
  --metal: #596070; --metal-bg: #eceef2;
  --water: #1f3566; --water-bg: #e4e9f4;
  --r: 6px;
  --serif: "Noto Serif KR", "Nanum Myeongjo", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page); color: var(--text);
  font: 14px/1.5 var(--sans); letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: anywhere;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid #4a63c4; outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { margin: 0; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; top: 8px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }

/* ── 상단 ── */
.top { background: var(--ink); color: #fff; }
.top-in { display: flex; align-items: center; gap: 20px; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo:hover { text-decoration: none; }
.seal {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 34px; height: 34px; background: var(--seal); color: #fff; border-radius: 4px;
  font: 700 12px/1.05 var(--serif); transform: rotate(-4deg);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.18);
}
.logo-t { font: 700 21px/1 var(--serif); letter-spacing: 0.02em; }
.search { flex: 1; max-width: 420px; display: flex; background: #fff; border-radius: var(--r); overflow: hidden; }
.search input { flex: 1; min-width: 0; border: 0; padding: 0 12px; height: 36px; color: var(--text); background: transparent; }
.search input:focus { outline: none; }
.search:focus-within { box-shadow: 0 0 0 2px #7f95e6; }
.search button { border: 0; background: none; color: var(--ink-3); width: 40px; cursor: pointer; display: grid; place-items: center; }
.me { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 13px; flex: none; }
.me form { margin: 0; }
.me-nick { font-weight: 600; }
.login-btn { border: 1px solid rgba(255,255,255,.35); padding: 6px 12px; border-radius: var(--r); }
.login-btn:hover { background: rgba(255,255,255,.08); text-decoration: none; }
.linkish { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font-size: inherit; }
.linkish:hover { text-decoration: underline; }
.top .linkish { color: rgba(255,255,255,.75); }

.gnav { background: var(--ink-2); color: rgba(255,255,255,.82); border-bottom: 3px solid var(--seal); }
.gnav-in { display: flex; align-items: stretch; gap: 2px; height: 42px; font-size: 15px; font-weight: 600; }
.gnav-in > a, .tti-menu > summary {
  display: flex; align-items: center; padding: 0 14px; cursor: pointer; white-space: nowrap; position: relative;
}
.gnav-in > a:hover, .tti-menu > summary:hover { color: #fff; text-decoration: none; background: rgba(255,255,255,.05); }
.gnav-in > a.on, .tti-menu.on > summary { color: #fff; background: var(--ink-3); }
.tti-menu { position: relative; display: flex; }
.tti-menu > summary { list-style: none; }
.tti-menu > summary::-webkit-details-marker { display: none; }
.tti-menu > summary::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); margin: -3px 0 0 8px; }
.tti-pop {
  position: absolute; top: 100%; left: 0; z-index: 20; margin-top: 3px; width: 264px;
  display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--r) var(--r);
  box-shadow: 0 10px 24px rgba(20,24,40,.16); padding: 6px;
}
.tti-pop a { color: var(--text); padding: 8px 10px; font-size: 14px; border-radius: 4px; font-weight: 500; }
.tti-pop a:hover, .tti-pop a.on { background: var(--page); text-decoration: none; }
.tti-pop a.on { color: var(--seal); font-weight: 700; }

.flash { max-width: 1160px; margin: 12px auto 0; padding: 10px 16px; background: var(--hl); border: 1px solid #f0dcae; color: #6b4d0e; border-radius: var(--r); width: calc(100% - 32px); }

/* ── 본문 틀 ── */
.body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; padding-top: 18px; padding-bottom: 48px; }
.body:has(> .main:only-child) { grid-template-columns: minmax(0, 1fr); }
.main { min-width: 0; }

/* ── 버튼 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 16px;
  border-radius: var(--r); border: 1px solid var(--ink); background: var(--ink); color: #fff; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.btn:hover { text-decoration: none; background: var(--ink-3); border-color: var(--ink-3); }
.btn.sm { height: 30px; padding: 0 11px; font-size: 13px; }
.btn.ghost { background: #fff; color: var(--text-2); border-color: var(--line); }
.btn.ghost:hover { background: var(--page); border-color: #c9cdd6; }
.btn.write { background: var(--seal); border-color: var(--seal); color: #fff; }
.btn.write:hover { background: var(--seal-d); border-color: var(--seal-d); }
.btn.danger, .btn.ghost.danger { color: var(--seal); }
.btn.danger:not(.ghost) { background: var(--seal); color: #fff; border-color: var(--seal); }
.btn.muted { color: var(--muted); }
.btn[disabled] { opacity: .5; cursor: default; }

/* ── 갤러리 머리 ── */
.ghead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 4px 0 14px; }
.ghead h1 { font: 700 25px/1.2 var(--serif); letter-spacing: 0; }
.ghead h1 a:hover { text-decoration: none; }
.ghead p { margin: 6px 0 0; color: var(--muted); }
.ghead-act { display: flex; gap: 8px; flex: none; }

/* ── 목록 ── */
.list { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.list-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 2px; }
.tabs a { display: block; padding: 12px 10px 10px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--text); text-decoration: none; }
.tabs a.on { color: var(--text); border-bottom-color: var(--ink); }
.heads { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px 0; }
.heads a { font-size: 13px; padding: 3px 10px; border-radius: 99px; color: var(--text-2); border: 1px solid var(--line); background: #fff; }
.heads a:hover { text-decoration: none; border-color: #c4c9d3; }
.heads a.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.thead, .row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 132px 50px 46px 40px; align-items: center; column-gap: 8px; padding: 0 14px; }
.thead { height: 34px; font-size: 12.5px; color: var(--muted); background: #f8f9fb; border-bottom: 1px solid var(--line); }
.thead .c-title { text-align: center; }
.rows { list-style: none; margin: 0; padding: 0; }
.row { min-height: 40px; border-bottom: 1px solid var(--line-2); }
.row:last-child { border-bottom: 0; }
.row:hover { background: #fafbfc; }
.c-no, .c-date, .c-view, .c-up { text-align: center; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.c-title { min-width: 0; display: flex; align-items: center; gap: 4px; padding: 9px 0; }
.c-title > a { min-width: 0; display: inline-flex; align-items: center; gap: 4px; color: var(--text); }
.c-title > a .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-title > a:visited { color: var(--visited); }
.c-writer { min-width: 0; font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.thead .c-writer { text-align: left; }
.lbl { display: none; }
.head { color: var(--link); font-size: 13px; flex: none; }
.head::before { content: "["; } .head::after { content: "]"; }
.gname { flex: none; font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 0 5px; margin-right: 2px; }
.cc { color: var(--seal); font-size: 12px; font-weight: 700; flex: none; font-variant-numeric: tabular-nums; }
.solved { flex: none; font-size: 11px; font-weight: 700; color: var(--ok); border: 1px solid #b5dccb; background: #ecf7f2; border-radius: 3px; padding: 0 4px; }
.row.is-notice { background: #f7f8fb; }
.row.is-notice .c-title > a { font-weight: 700; }
.row.is-current { background: var(--hl); }
.row.is-current .c-title > a { font-weight: 700; }
.row.is-hidden .c-title > a { color: var(--muted); }
.tag-notice { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--seal); border: 1px solid #efc3be; background: var(--seal-bg); border-radius: 3px; padding: 0 5px; }

/* 목록 작은 아이콘 */
.i-best, .i-img, .i-manse { flex: none; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 3px; font-style: normal; font-size: 10px; font-weight: 800; line-height: 1; }
.i-best { background: var(--seal); color: #fff; }
.i-best::before { content: "개"; }
.i-img { border: 1.5px solid #9aa1b0; width: 15px; height: 12px; border-radius: 2px; position: relative; }
.i-img::before { content: ""; position: absolute; left: 2px; bottom: 2px; width: 7px; height: 4px; background: #9aa1b0; clip-path: polygon(0 100%, 40% 0, 70% 60%, 100% 20%, 100% 100%); }
.i-manse { background: var(--ink); color: #fff; font-family: var(--serif); font-weight: 700; }
.i-manse::before { content: "命"; }

/* 닉 */
.nick { display: inline-flex; align-items: center; gap: 3px; color: var(--text-2); max-width: 100%; }
.nick .ip { color: var(--muted); font-size: 12px; }
.nick.fixed { color: var(--text); }
.nick.fixed b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.nick.op b, .nick.op { font-weight: 600; }
.op-tag { font-size: 11px; color: #fff; background: var(--ink); border-radius: 3px; padding: 0 4px; }
.fx { flex: none; display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.fx.g1 { border: 2px solid #9aa3b5; }
.fx.g2 { background: var(--ok); }
.fx.g3 { background: #3b4fa0; }
.fx.g4 { background: var(--seal); box-shadow: 0 0 0 2px #e9c46a; }
.fx.big { width: 40px; height: 40px; border-radius: 8px; border-width: 4px; }

.list-foot { display: flex; align-items: center; justify-content: center; position: relative; padding: 14px; border-top: 1px solid var(--line); min-height: 60px; }
.list-foot .btn { position: absolute; right: 14px; }
.pager { display: flex; gap: 2px; flex-wrap: wrap; justify-content: center; }
.pager a, .pager em { min-width: 30px; height: 30px; display: grid; place-items: center; padding: 0 6px; border-radius: 4px; font-style: normal; color: var(--text-2); font-variant-numeric: tabular-nums; }
.pager a:hover { background: var(--page); text-decoration: none; }
.pager em { background: var(--ink); color: #fff; font-weight: 700; }
.pager.simple { margin-top: 16px; gap: 8px; }
.pager.simple a { border: 1px solid var(--line); background: #fff; padding: 0 14px; }

.empty { text-align: center; padding: 48px 16px; color: var(--text-2); }
.empty p { margin: 0 0 14px; }
.empty-s { color: var(--muted); font-size: 13px; margin: 8px 0; }

/* ── 사이드 ── */
.side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.box-h { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.side-best { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.side-best li { display: flex; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line-2); font-size: 13.5px; }
.side-best li:first-child { border-top: 0; }
.side-best a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank { flex: none; width: 18px; text-align: center; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.side-best li:nth-child(-n+3) .rank { color: var(--seal); }
.side-galls { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.side-galls a { display: block; padding: 4px 0; font-size: 13.5px; }
.side-tti { display: flex; flex-wrap: wrap; gap: 4px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.side-tti a { font-size: 12.5px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 99px; color: var(--text-2); }
.side-tti a:hover { border-color: var(--ink-3); text-decoration: none; }

/* ── 오늘 일진 (시그니처) ── */
.today {
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "date date" "pillar name" "pillar go";
  column-gap: 16px; row-gap: 2px; align-items: center;
  background: var(--ink); color: #fff; border-radius: var(--r); padding: 16px 18px; position: relative; overflow: hidden;
}
.today:hover { text-decoration: none; background: var(--ink-2); }
.today-date { grid-area: date; font-size: 12.5px; color: rgba(255,255,255,.65); margin-bottom: 10px; }
.today-pillar { grid-area: pillar; display: flex; flex-direction: column; gap: 4px; }
.today .ch { width: 46px; height: 46px; font-size: 28px; }
.today-name { grid-area: name; font-size: 15px; align-self: end; }
.today-name b { font: 700 22px/1.2 var(--serif); display: block; letter-spacing: 0.04em; }
.today-go { grid-area: go; align-self: start; font-size: 12.5px; color: #f2b8b2; margin-top: 4px; }
.today.compact .ch { width: 40px; height: 40px; font-size: 24px; }

/* 오행 글자 칸 */
.ch { display: inline-grid; place-items: center; font-family: var(--serif); font-weight: 700; border-radius: 6px; line-height: 1; }
.ch.wood { background: var(--wood-bg); color: var(--wood); }
.ch.fire { background: var(--fire-bg); color: var(--fire); }
.ch.earth { background: var(--earth-bg); color: var(--earth); }
.ch.metal { background: var(--metal-bg); color: var(--metal); }
.ch.water { background: var(--water-bg); color: var(--water); }

/* ── 만세력 카드 ── */
.manse { margin: 0 0 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; max-width: 460px; }
.manse-cap { display: flex; align-items: center; gap: 10px; padding: 9px 14px; background: #f8f9fb; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.manse-t { font: 700 14px/1 var(--serif); color: var(--text); }
.manse-note { margin-left: auto; font-size: 12px; color: var(--muted); }
.manse-grid { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: center; }
.manse-grid th { font-size: 12px; font-weight: 600; color: var(--muted); padding: 8px 0 4px; }
.manse-grid th.dm { color: var(--text); }
.manse-grid td { padding: 3px 4px; }
.manse-grid td.dm { background: #fbf8f2; }
.manse-grid th.dm { background: #fbf8f2; box-shadow: inset 0 3px 0 var(--ink); }
.manse-grid tr.ss td { font-size: 11.5px; color: var(--muted); padding: 4px 2px; }
.manse-grid .ch { width: 52px; height: 52px; font-size: 30px; }
.manse-grid .ko { display: block; font-size: 11.5px; color: var(--text-2); margin-top: 3px; }
.manse-grid td.none { color: #c3c7d0; font: 700 26px/52px var(--serif); }
.oh { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--line-2); }
.oh-i { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px; font-size: 12px; }
.oh-n { font-weight: 700; }
.oh-bar { height: 6px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.oh-bar span { display: block; height: 100%; border-radius: 3px; }
.oh-c { font-variant-numeric: tabular-nums; color: var(--text-2); }
.oh-i.wood .oh-n { color: var(--wood); } .oh-i.wood .oh-bar span { background: var(--wood); }
.oh-i.fire .oh-n { color: var(--fire); } .oh-i.fire .oh-bar span { background: var(--fire); }
.oh-i.earth .oh-n { color: var(--earth); } .oh-i.earth .oh-bar span { background: var(--earth); }
.oh-i.metal .oh-n { color: var(--metal); } .oh-i.metal .oh-bar span { background: var(--metal); }
.oh-i.water .oh-n { color: var(--water); } .oh-i.water .oh-bar span { background: var(--water); }

/* ── 글 보기 ── */
.post { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 0 24px 8px; margin-bottom: 18px; }
.post-h { padding: 20px 0 14px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.post-h h1 { font-size: 21px; line-height: 1.4; font-weight: 700; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.post-h h1 .head { font-size: 17px; font-weight: 600; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.post-meta .stats { margin-left: auto; display: flex; gap: 12px; }
.pending-note, .review-of { background: var(--hl); border: 1px solid #f0dcae; color: #6b4d0e; padding: 10px 14px; border-radius: var(--r); font-size: 13.5px; }
.review-of { background: #f4f6fb; border-color: var(--line); color: var(--text-2); }
.review-of a { color: var(--link); font-weight: 600; }
.body-text { font-size: 16px; line-height: 1.85; color: #22273a; max-width: 72ch; }
.body-text p { margin: 0 0 1.1em; }
.body-text .pic { max-width: none; }
.body-text .pic img { display: block; border-radius: 4px; max-height: 900px; width: auto; }
.edited { font-size: 12.5px; color: var(--muted); }

.vote { display: flex; justify-content: center; gap: 10px; margin: 36px 0 8px; }
.vote button {
  width: 96px; height: 96px; border-radius: 50%; border: 2px solid var(--line); background: #fff; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; transition: transform .12s ease, background-color .12s ease;
}
.vote button:active { transform: scale(.96); }
.vote .v-l { font-size: 13px; font-weight: 600; color: var(--text-2); }
.vote .v-n { font-size: 26px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.vote .v-f { font-size: 11px; color: var(--muted); }
.vote-up { border-color: #e7b3ae !important; }
.vote-up .v-n { color: var(--seal); }
.vote-up:hover, .vote-up.on { background: var(--seal-bg); }
.vote-up.on { border-color: var(--seal) !important; }
.vote-down .v-n { color: var(--text-2); }
.vote-down:hover, .vote-down.on { background: var(--page); }
.vote-down.on { border-color: var(--ink-3) !important; }
.vote-hint { text-align: center; font-size: 12.5px; color: var(--muted); margin: 0 0 24px; }
.vote-hint.best { color: var(--seal); font-weight: 700; }

.reviews { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; margin-bottom: 18px; }
.reviews h2 { font-size: 14px; margin-bottom: 6px; }
.reviews ul { list-style: none; margin: 0; padding: 0; }
.reviews li { display: flex; gap: 6px; align-items: center; padding: 4px 0; font-size: 14px; }
.rv { font-size: 11.5px; font-weight: 700; border-radius: 3px; padding: 1px 6px; }
.rv-맞았다 { color: var(--ok); background: #e8f5ef; }
.rv-틀렸다 { color: var(--seal); background: var(--seal-bg); }
.rv-반반 { color: var(--earth); background: var(--earth-bg); }

.post-tools { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); }
.post-tools > div { display: flex; gap: 6px; flex-wrap: wrap; }

.mgr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 12px; margin-bottom: 14px; background: #f7f3e9; border: 1px dashed #d8c79c; border-radius: var(--r); }
.mgr-t { font-size: 12px; font-weight: 700; color: #7a5c14; margin-right: 4px; }
.mgr-ban { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.mgr select, .mgr input { height: 30px; border: 1px solid var(--line); border-radius: 4px; padding: 0 8px; background: #fff; font-size: 13px; }
.mgr input { width: 120px; }

/* ── 댓글 ── */
.comments { border-top: 2px solid var(--ink); padding-top: 4px; margin-bottom: 16px; }
.cmt-count { font-size: 15px; padding: 10px 0; }
.cmt-count b { color: var(--seal); }
.cmts { list-style: none; margin: 0; padding: 0; }
.cmt { padding: 12px 4px; border-top: 1px solid var(--line-2); }
.cmt.reply { padding-left: 34px; background: #fafbfc; position: relative; }
.cmt.reply::before { content: ""; position: absolute; left: 14px; top: 14px; width: 10px; height: 8px; border: solid #b8bdc8; border-width: 0 0 1.5px 1.5px; }
.cmt-h { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.cmt-h time { color: var(--muted); font-size: 12px; margin-left: auto; }
.writer-tag { font-size: 11px; color: var(--link); border: 1px solid #c8d0ea; border-radius: 3px; padding: 0 4px; }
.adopt-tag { font-size: 11px; font-weight: 700; color: #fff; background: var(--ok); border-radius: 3px; padding: 1px 5px; }
.cmt-b { margin: 6px 0 4px; font-size: 14.5px; line-height: 1.65; }
.cmt-act { display: flex; gap: 12px; font-size: 12.5px; color: var(--text-2); }
.cmt-act .muted { color: var(--muted); }
.cmt-act .adopt { color: var(--ok); font-weight: 700; }
.cmt.gone .gone-t { margin: 0; color: var(--muted); font-size: 13px; }
.accepted-box { border: 1.5px solid #8ccab0; background: #f2faf6; border-radius: var(--r); padding: 0 12px; margin-bottom: 10px; }
.accepted-box .cmt { border-top: 0; }
.cmt-empty { color: var(--muted); padding: 8px 0 14px; margin: 0; }
.cmt-form { margin-top: 12px; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; background: #fbfbfc; display: flex; flex-direction: column; gap: 8px; }
.cmt-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 4px; padding: 10px; resize: vertical; min-height: 80px; background: #fff; }
.cmt-submit { display: flex; align-items: center; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.cmt-submit .cf-turnstile { margin-right: auto; }
.count { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.replying { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--link); }
.as-fixed { font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 4px; }
.anon-fields { display: flex; gap: 6px; flex-wrap: wrap; }
.cmt-form .anon-fields input { width: 140px; height: 34px; border: 1px solid var(--line); border-radius: 4px; padding: 0 10px; background: #fff; }

/* ── 글쓰기 ── */
.write { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; }
.write.narrow { max-width: 560px; margin: 0 auto; }
.write-h { font: 700 22px/1.3 var(--serif); margin-bottom: 18px; }
.write-h span { font: 600 15px var(--sans); color: var(--muted); margin-left: 6px; }
.write form { display: flex; flex-direction: column; gap: 14px; }
.write .anon-fields { gap: 10px 14px; align-items: flex-end; }
.write .anon-fields label, .pw-only { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text-2); }
.write input:not([type=radio]):not([type=checkbox]):not([type=file]), .write select, .write textarea {
  height: 40px; border: 1px solid var(--line); border-radius: var(--r); padding: 0 12px; background: #fff;
}
.write textarea { height: auto; padding: 12px; line-height: 1.7; resize: vertical; width: 100%; min-height: 300px; }
.write input:focus, .write select:focus, .write textarea:focus, .cmt-form textarea:focus, .cmt-form input:focus, .search-full input:focus { outline: none; border-color: #6f84d6; box-shadow: 0 0 0 3px rgba(79,103,200,.15); }
.hint { font-size: 12.5px; color: var(--muted); margin: 0; flex-basis: 100%; }
.hint a { color: var(--link); font-weight: 600; }
.head-pick { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.head-pick legend { font-size: 13px; color: var(--text-2); margin-bottom: 6px; padding: 0; }
.head-pick label { cursor: pointer; }
.head-pick input { position: absolute; opacity: 0; pointer-events: none; }
.head-pick span { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; font-size: 13.5px; background: #fff; }
.head-pick input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.head-pick input:focus-visible + span { outline: 2px solid #4a63c4; outline-offset: 2px; }
.title-in { font-size: 16px; font-weight: 600; width: 100%; }
.review-link { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text-2); }
.review-link small { color: var(--ok); font-weight: 600; }
.manse-in { border: 1px solid var(--line); border-radius: var(--r); background: #fbfaf6; }
.manse-in > summary { cursor: pointer; padding: 11px 14px; font-weight: 700; font-family: var(--serif); list-style: none; display: flex; align-items: center; gap: 8px; }
.manse-in > summary::before { content: "命"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 12px; }
.manse-in > summary::-webkit-details-marker { display: none; }
.manse-in[open] > summary { border-bottom: 1px solid var(--line); }
.manse-fields { padding: 14px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.manse-row { display: flex; flex-wrap: wrap; gap: 8px; }
.manse-row label { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; color: var(--text-2); }
.manse-row input { width: 96px; }
.manse-preview:empty { display: none; }
.manse-preview .manse { margin: 4px 0 0; }
.editor { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.editor-bar { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: #f8f9fb; border-bottom: 1px solid var(--line); }
.file-btn { cursor: pointer; }
.upload-state { font-size: 12.5px; color: var(--muted); }
.editor textarea { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.thumbs { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 10px; }
.thumbs:not(:empty) { padding: 10px; border-top: 1px solid var(--line-2); }
.thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
.write-foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.write-foot .cf-turnstile { margin-right: auto; }
.form-error { margin: 0 0 14px; padding: 10px 14px; border-radius: var(--r); background: var(--seal-bg); color: var(--seal-d); border: 1px solid #efc3be; font-weight: 600; }
.del-target { font-weight: 600; }

/* ── 메인 ── */
.home { display: flex; flex-direction: column; gap: 20px; }
.home-top { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
.home-intro { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 26px; display: flex; flex-direction: column; justify-content: center; }
.home-intro h1 { font: 700 26px/1.3 var(--serif); letter-spacing: 0; }
.home-intro p { color: var(--text-2); margin: 10px 0 18px; max-width: 46ch; font-size: 15px; line-height: 1.7; }
.home-cta { display: flex; gap: 8px; flex-wrap: wrap; }
.home-cta .btn:first-child { background: var(--seal); border-color: var(--seal); }
.home-cta .btn:first-child:hover { background: var(--seal-d); }
.home-top .today { align-content: center; }
.home-top .today .ch { width: 56px; height: 56px; font-size: 34px; }
.sec-h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.sec-h h2 { font-size: 17px; }
.sec-sub { font-size: 13px; color: var(--muted); }
.home-best .rows, .search-page .rows, .ulog .rows, .manage .rows { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.rows.compact .row { grid-template-columns: minmax(0, 1fr) 132px 50px 46px 40px; }
.rows.compact .c-no { display: none; }
.home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gblock { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px 10px; min-width: 0; }
.gblock-h { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; }
.gblock-h h2 { font: 700 16px/1.2 var(--serif); }
.gblock-h .more { font-size: 12.5px; color: var(--muted); }
.gblock ul { list-style: none; margin: 0; padding: 0; }
.gblock li { display: flex; align-items: center; gap: 4px; padding: 6px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.gblock li:last-child { border-bottom: 0; }
.gblock li > a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gblock li > a:visited { color: var(--visited); }
.gblock time { margin-left: auto; padding-left: 8px; font-size: 12px; color: var(--muted); flex: none; font-variant-numeric: tabular-nums; }
.tti-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.tti-grid a { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.tti-grid a:hover { border-color: var(--ink-3); text-decoration: none; }
.tti-grid b { font: 700 16px/1.2 var(--serif); }
.tti-grid span { font-size: 12px; color: var(--muted); }

/* ── 기타 페이지 ── */
.page-h { font: 700 22px/1.3 var(--serif); margin-bottom: 14px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.page-h small { font: 500 14px var(--sans); color: var(--muted); }
.lead { color: var(--text-2); font-size: 15px; line-height: 1.7; max-width: 60ch; }
.search-full { display: flex; gap: 6px; margin-bottom: 16px; }
.search-full select, .search-full input { height: 38px; border: 1px solid var(--line); border-radius: var(--r); padding: 0 10px; background: #fff; }
.search-full input { flex: 1; min-width: 0; }
.login, .doc, .search-page, .ulog, .manage, .notice-page { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 28px; }
.login { max-width: 520px; margin: 0 auto; width: 100%; }
.login-btns { display: flex; flex-direction: column; gap: 8px; margin: 20px 0; }
.sns { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: var(--r); font-weight: 700; font-size: 15px; }
.sns:hover { text-decoration: none; filter: brightness(.97); }
.sns.kakao { background: #fee500; color: #191600; }
.sns.google { background: #fff; border: 1px solid var(--line); }
.sns.off { background: var(--page); color: var(--muted); font-weight: 500; }
.dev-login { border: 1px dashed var(--line); border-radius: var(--r); padding: 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; font-size: 13px; }
.dev-login p { margin: 0; flex-basis: 100%; color: var(--muted); }
.dev-login input[name=pid] { height: 30px; border: 1px solid var(--line); border-radius: 4px; padding: 0 8px; }
.grades { list-style: none; padding: 14px 0 0; margin: 0; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; }
.grades li { display: flex; align-items: center; gap: 6px; }
.grades small { color: var(--muted); }
.nick-form { display: flex; gap: 8px; }
.nick-form input { flex: 1; height: 42px; border: 1px solid var(--line); border-radius: var(--r); padding: 0 12px; font-size: 16px; }
.ulog-h { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ulog-h h1 { font-size: 22px; }
.ulog-h p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.ulog .tabs { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.ucmts { list-style: none; margin: 0; padding: 0; }
.ucmts li { padding: 10px 0; border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 2px; }
.ucmts small { color: var(--muted); }
.doc h2 { font-size: 16px; margin: 22px 0 8px; }
.doc ol { padding-left: 20px; line-height: 1.8; }
.doc p, .doc li { color: var(--text-2); line-height: 1.75; }
.draft-note { background: var(--hl); padding: 8px 12px; border-radius: 4px; font-size: 13px; color: #6b4d0e; }
.mtable { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-bottom: 8px; }
.mtable th, .mtable td { border-bottom: 1px solid var(--line-2); padding: 8px 6px; text-align: left; vertical-align: middle; }
.mtable th { color: var(--muted); font-weight: 600; font-size: 12.5px; background: #f8f9fb; }
.mtable a { color: var(--link); }
.inline { display: inline-flex; gap: 4px; margin: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 8px; }
.kpis div { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; display: flex; flex-direction: column; }
.kpis b { font-size: 22px; font-variant-numeric: tabular-nums; }
.kpis span { font-size: 12.5px; color: var(--muted); }
.sub-h { font-size: 15px; margin: 24px 0 8px; }
.settings { display: flex; flex-direction: column; gap: 10px; max-width: 420px; }
.settings label, .rights-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text-2); }
.settings input, .rights-form input, .rights-form textarea { height: 38px; border: 1px solid var(--line); border-radius: var(--r); padding: 0 10px; }
.rights-form { display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.rights-form textarea { height: auto; padding: 10px; }
.settings .btn, .rights-form .btn { align-self: flex-start; }
.notice-page { max-width: 560px; margin: 24px auto; text-align: center; width: 100%; }
.notice-page h1 { font: 700 21px/1.3 var(--serif); margin-bottom: 10px; }
.notice-body p { color: var(--text-2); margin: 0 0 18px; }
.notice-act { display: flex; gap: 8px; justify-content: center; margin: 0; }

/* ── 하단 ── */
.foot { border-top: 1px solid var(--line); background: #fff; padding: 22px 0 30px; font-size: 12.5px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 8px; }
.foot nav a { color: var(--text-2); }
.foot p { margin: 0; }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; z-index: 50;
  background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 99px; font-size: 14px; font-weight: 600;
  box-shadow: 0 8px 22px rgba(20,24,40,.25); transition: opacity .18s ease, transform .18s ease; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--seal-d); }

/* ── 반응형 ── */
@media (max-width: 1080px) {
  .body { grid-template-columns: minmax(0, 1fr); }
  .side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .side .today { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .home-top { grid-template-columns: minmax(0, 1fr); }
  .tti-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .top-in { gap: 10px; height: 54px; }
  .logo-t { font-size: 18px; }
  .seal { width: 30px; height: 30px; font-size: 11px; }
  .search { max-width: none; }
  .search input { height: 34px; padding: 0 10px; }
  .me { gap: 8px; }
  .me .me-nick { max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .gnav-in { overflow-x: auto; scrollbar-width: none; height: 42px; font-size: 14.5px; }
  .gnav-in::-webkit-scrollbar { display: none; }
  .gnav-in > a, .tti-menu > summary { padding: 0 11px; }
  .tti-menu { position: static; }
  .tti-pop { position: fixed; left: 8px; right: 8px; top: auto; width: auto; margin-top: 45px; grid-template-columns: repeat(4, 1fr); border-radius: var(--r); }
  .body { padding-top: 12px; gap: 14px; }
  .wrap.body { padding: 12px 0 32px; }
  .side { grid-template-columns: minmax(0, 1fr); padding: 0 12px; }
  .ghead { padding: 0 14px 12px; align-items: center; }
  .ghead h1 { font-size: 21px; }
  .ghead p { font-size: 13px; }
  .list, .post, .write, .home-best .rows, .gblock, .search-page, .ulog, .manage, .doc, .login, .notice-page, .home-intro { border-radius: 0; border-left: 0; border-right: 0; }
  .list-bar { padding: 0 12px; }
  .thead { display: none; }
  .row, .rows.compact .row {
    grid-template-columns: auto auto auto auto 1fr; grid-template-areas: "title title title title title" "writer date view up ."; column-gap: 10px; row-gap: 2px;
    padding: 10px 14px;
  }
  .c-no { display: none; }
  .row.is-notice .c-no { display: none; }
  .c-title { grid-area: title; padding: 0; flex-wrap: wrap; }
  .c-title > a .t { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .c-title > a { font-size: 15.5px; }
  .c-writer { grid-area: writer; font-size: 12.5px; }
  .c-date { grid-area: date; } .c-view { grid-area: view; } .c-up { grid-area: up; }
  .c-date, .c-view, .c-up { text-align: left; font-size: 12px; }
  .lbl { display: inline; }
  .row.is-notice .tag-notice { margin-right: 4px; }
  .list-foot { flex-direction: column; gap: 10px; }
  .list-foot .btn { position: static; }
  .post { padding: 0 16px 8px; }
  .post-h h1 { font-size: 19px; }
  .post-meta .stats { margin-left: 0; width: 100%; }
  .body-text { font-size: 16px; }
  .write { padding: 18px 14px; }
  .home { gap: 16px; }
  .home-intro { padding: 20px 16px; }
  .home-intro h1 { font-size: 22px; }
  .home-top { gap: 12px; }
  .home-top .today { margin: 0 12px; }
  .sec-h { padding: 0 14px; }
  .home-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tti-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 12px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .mgr-ban { margin-left: 0; }
  .manse-grid .ch { width: 46px; height: 46px; font-size: 26px; }
  .oh { grid-template-columns: repeat(3, 1fr); }
  .foot-in { padding: 0 16px; }
  .flash { width: calc(100% - 24px); }
  .login, .doc, .search-page, .ulog, .manage, .notice-page { padding: 20px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* 신고 창 */
.report-dlg { border: 0; border-radius: 10px; padding: 0; width: min(360px, calc(100% - 32px)); box-shadow: 0 20px 50px rgba(20,24,40,.3); }
.report-dlg::backdrop { background: rgba(20,24,40,.45); }
.report-dlg form { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.report-dlg h2 { font-size: 17px; margin-bottom: 4px; }
.report-dlg label { display: flex; align-items: center; gap: 8px; padding: 6px 0; cursor: pointer; }
.report-dlg input[name=reason] { height: 38px; border: 1px solid var(--line); border-radius: var(--r); padding: 0 10px; margin-top: 4px; }
.dlg-act { display: flex; justify-content: flex-end; gap: 6px; margin-top: 8px; }

/* ── 실시간 베스트 ── */
.gnav-in > a.hot { color: #ffd2cc; }
.gnav-in > a.hot.on { color: #fff; }
.sec-more { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.sec-h h2 a:hover, .box-h a:hover { text-decoration: none; color: var(--seal); }
.best-page .ghead h1 a { color: var(--text); }
.hot-rows { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); list-style: none; padding: 0; margin: 0; }
.hot-li { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; border-bottom: 1px solid var(--line-2); }
.hot-li:last-child { border-bottom: 0; }
.hot-li .rows { border: 0 !important; background: none !important; }
.hot-li .row { border-bottom: 0; padding-left: 0; }
.hot-rank { text-align: center; font-weight: 800; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hot-rank.top { color: var(--seal); }

/* ── 타로 카드 ── */
.tarot { margin: 0 0 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.tcards { list-style: none; margin: 0; padding: 16px 14px 14px; display: flex; flex-wrap: wrap; gap: 14px 12px; }
.tslot { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 96px; }
.tcard {
  width: 88px; height: 140px; border-radius: 7px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: #fbf8f1; border: 1.5px solid #d9cfb8; box-shadow: inset 0 0 0 4px #fbf8f1, inset 0 0 0 5px #e7dcc4; text-align: center; padding: 8px 6px;
}
.tcard.major { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 4px var(--ink), inset 0 0 0 5px #6d6046; color: #f3e6c4; }
.tcard.rev { transform: rotate(180deg); }
.tc-mark { font: 700 20px/1 var(--serif); }
.tcard.major .tc-mark { color: #e9c46a; }
.tc-suit { font-size: 18px; line-height: 1; }
.tcard.wands .tc-suit { color: var(--wood); } .tcard.cups .tc-suit { color: var(--fire); }
.tcard.swords .tc-suit { color: var(--water); } .tcard.pentacles .tc-suit { color: var(--earth); }
.tc-ko { font: 700 13px/1.25 var(--serif); word-break: keep-all; }
.tc-en { font-size: 9.5px; color: var(--muted); line-height: 1.2; }
.tcard.major .tc-en { color: #b9ad8f; }
.tpos { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.tname { font-size: 12.5px; font-weight: 600; text-align: center; line-height: 1.3; }
.tname em { font-style: normal; color: var(--seal); font-size: 11.5px; }
.tarot-in > summary::before { content: "◇"; }
.tarot-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; width: 100%; }
.tarot-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.tpos-l { font-size: 13px; color: var(--text-2); }
.tarot-row select { width: 100%; }
.rev-l { font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 4px; white-space: nowrap; }

/* ── 운세콘: 도장처럼 찍히는 글자 ── */
.con {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 9px; margin: 2px 2px; vertical-align: middle; white-space: nowrap;
  font: 800 15px/1 var(--serif); letter-spacing: 0.02em; border-radius: 6px; transform: rotate(-3deg);
  border: 2.5px solid currentColor; box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3.5px currentColor; background: #fff;
}
.con.seal { color: var(--seal); } .con.ink { color: var(--ink); } .con.jade { color: var(--ok); } .con.gold { color: #a06d12; }
button.con { cursor: pointer; transition: transform .1s ease; }
button.con:hover { transform: rotate(0deg) scale(1.06); }
.con-pick > summary { cursor: pointer; font-size: 13px; color: var(--text-2); width: fit-content; list-style: none; }
.con-pick > summary::-webkit-details-marker { display: none; }
.con-pick > summary::before { content: "＋ "; }
.con-pick[open] > summary::before { content: "－ "; }
.con-grid { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px 0 2px; }

@media (max-width: 720px) {
  .tslot { width: calc(33.3% - 8px); }
  .tarot.sp10 .tslot { width: calc(25% - 9px); }
  .tcard { width: 100%; max-width: 88px; height: auto; aspect-ratio: 88 / 140; }
  .tarot-row { grid-template-columns: 70px minmax(0, 1fr) auto; }
  .hot-li { grid-template-columns: 36px minmax(0, 1fr); }
}
.leave { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 13.5px; color: var(--text-2); }
.leave > summary { cursor: pointer; color: var(--muted); width: fit-content; }
.leave p { line-height: 1.7; }
.leave-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
