@charset "utf-8";
/* =========================================================
   Retro Diary — 2000년대 미니홈피 감성 티스토리 스킨
   색상은 관리자 > 꾸미기 > 스킨 편집 > 스킨 옵션에서 바꿀 수 있어요.
   ========================================================= */

:root {
  --bg: #c7d0d9;
  --frame: #6e8aa3;
  --point: #ff7a1a;
  --tab: #4f86b8;
  --ink: #3a3f45;
  --sub: #8a929b;
  --line: #e2e6ea;
  --blue: #2a6fb3;
  --book: #e9ecef;
  --pixel: "Galmuri11", "Galmuri9", "Dotum", "돋움", sans-serif;
  --read: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", "Noto Sans KR", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--read);
  font-size: 13px;
  line-height: 1.6;
  background-color: var(--bg);
}
body.pattern-dots {
  background-image: radial-gradient(rgba(255,255,255,.55) 1.6px, transparent 1.7px);
  background-size: 16px 16px;
}
body.pattern-check {
  background-image:
    linear-gradient(45deg, rgba(255,255,255,.28) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.28) 75%),
    linear-gradient(45deg, rgba(255,255,255,.28) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.28) 75%);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
}
body.pattern-stripe {
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 10px, transparent 10px 20px);
}
body.font-pixel, body.font-pixel input, body.font-pixel button, body.font-pixel select, body.font-pixel textarea { font-family: var(--pixel); }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--point); }
img { max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

/* 픽셀 폰트를 쓰는 UI 요소 */
.cy-counter, .cy-title, .bgm-screen, .cy-mood, .owner-name, .owner-sub, .side-tit,
.box-tit, .tab, .cy-foot, .cy-mainhead, .news-cate, .stat-table, .item-meta, .item-cmt,
.post-cate, .post-meta, .tags-lbl, .post-nav span, .list-table th, .list-table .c-no,
.list-table .c-cmt, .cy-paging, .cy-search button, .cy-surf select, .room-talk, .stat-guest,
.oneline-list .when, .rel-date, .side-toggle {
  font-family: var(--pixel);
}

/* ---------------- 바깥 틀 ---------------- */
.cy-page { padding: 28px 16px 40px; }
.cy-outer {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 12px 16px 14px;
  background: var(--frame);
  border-radius: 18px;
  box-shadow: 0 6px 0 rgba(0,0,0,.12), 0 18px 40px rgba(40,55,70,.18);
}
.cy-outer::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px dashed rgba(255,255,255,.45);
  border-radius: 13px;
  pointer-events: none;
}

/* ---------------- 상단 ---------------- */
.cy-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 38px;
  padding: 2px 76px 8px 4px;
}
.cy-counter {
  flex: 0 0 214px;
  color: rgba(255,255,255,.9);
  font-size: 11px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.cy-counter .num { color: #fff; font-weight: 700; }
.cy-counter .num.today { color: #ffd2b0; }
.cy-counter .bar { margin: 0 4px; opacity: .5; }
.cy-topright {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cy-title {
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 0 rgba(0,0,0,.18);
}
.cy-title a:hover { color: #ffe1c9; }

/* BGM 플레이어 */
.cy-bgm {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 4px;
  background: #2e3a45;
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 20px;
}
.bgm-btn {
  width: 24px; height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--point);
  color: #fff;
  font-size: 10px;
  line-height: 24px;
  cursor: pointer;
}
.bgm-screen {
  width: 150px;
  overflow: hidden;
  white-space: nowrap;
  color: #9ff7c9;
  font-size: 11px;
}
.bgm-track { display: inline-block; padding-left: 100%; animation: bgm-marquee 11s linear infinite; }
.cy-bgm:not(.playing) .bgm-track { animation-play-state: paused; padding-left: 0; }
@keyframes bgm-marquee { to { transform: translateX(-100%); } }
.bgm-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.bgm-eq i { width: 3px; height: 3px; background: #9ff7c9; }
.cy-bgm.playing .bgm-eq i { animation: bgm-eq .8s ease-in-out infinite alternate; }
.cy-bgm.playing .bgm-eq i:nth-child(2) { animation-delay: .25s; }
.cy-bgm.playing .bgm-eq i:nth-child(3) { animation-delay: .5s; }
@keyframes bgm-eq { from { height: 3px; } to { height: 12px; } }

/* ---------------- 다이어리 본체 ---------------- */
.cy-book {
  position: relative;
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr) 60px;
  gap: 12px;
  padding: 12px 0 12px 12px;
  background: var(--book);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.cy-card {
  background: #fff;
  border: 1px solid #cdd3d9;
  border-radius: 10px;
  padding: 14px;
}

/* ---------------- 왼쪽 프로필 ---------------- */
.cy-left { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cy-mood { font-size: 11px; color: var(--sub); }
.cy-mood .mood-lbl { color: var(--point); margin-right: 4px; }
.cy-mood .mood-val { color: var(--ink); }
.cy-photo {
  padding: 4px;
  border: 1px solid var(--line);
  background: #fafbfc;
}
.cy-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.cy-desc {
  max-height: 150px;
  overflow-y: auto;
  font-size: 12px;
  line-height: 1.7;
  color: #5c636b;
  white-space: pre-line;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.cy-owner {
  padding-top: 10px;
  border-top: 1px dashed #d4d9de;
}
.owner-name { color: var(--blue); font-weight: 700; font-size: 13px; }
.owner-sub { margin-left: 4px; color: var(--sub); font-size: 11px; }

.cy-search { display: flex; gap: 4px; }
.cy-search input {
  flex: 1;
  min-width: 0;
  height: 26px;
  padding: 0 8px;
  border: 1px solid #ccd2d8;
  border-radius: 4px;
  font-size: 12px;
}
.cy-search button,
.protect-box button {
  height: 26px;
  padding: 0 9px;
  border: 1px solid #b9c1c9;
  border-radius: 4px;
  background: linear-gradient(#fff, #e9edf1);
  font-size: 11px;
  cursor: pointer;
}
.cy-surf select {
  width: 100%;
  height: 26px;
  padding: 0 4px;
  border: 1px solid #ccd2d8;
  border-radius: 4px;
  background: #fff;
  color: #5c636b;
  font-size: 11px;
}

.cy-side { display: flex; flex-direction: column; gap: 14px; }
.side-toggle { display: none; }
.side-tit {
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-size: 12px;
  font-weight: 400;
}
.side-list li {
  padding: 3px 0;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.side-list li::before { content: "· "; color: var(--point); }
.side-tags, .cy-tagcloud ul { display: flex; flex-wrap: wrap; gap: 4px; }
.side-tags a, .cy-tagcloud a {
  display: inline-block;
  padding: 1px 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 11px;
  color: #6b737b;
}
.side-tags a:hover, .cy-tagcloud a:hover { border-color: var(--point); }

/* 티스토리 카테고리 목록 */
.side-category ul { margin: 0; padding: 0; list-style: none; }
.side-category .tt_category a { display: block; padding: 2px 0; font-size: 12px; color: #4b525a; }
.side-category .tt_category a:hover { color: var(--point); }
.side-category .link_tit { font-weight: 700; color: var(--ink); }
.side-category .category_list { margin-top: 2px; }
.side-category .link_item::before { content: "▸ "; color: #b7bfc7; }
.side-category .sub_category_list { padding-left: 12px; }
.side-category .link_sub_item::before { content: "└ "; color: #c5ccd3; }
.side-category .c_cnt { margin-left: 2px; color: var(--point); font-size: 10px; }
.side-category img { vertical-align: middle; }

/* ---------------- 오른쪽 본문 ---------------- */
.cy-main { min-width: 0; min-height: 560px; padding: 14px 18px 20px; }
.cy-mainhead {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: -2px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #d4d9de;
  font-size: 11px;
  color: #9aa3ac;
}
.cy-url { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cy-rss { color: var(--point); flex: 0 0 auto; }

.box-tit {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 2px solid #e6eaee;
  color: var(--blue);
  font-size: 13px;
  font-weight: 400;
}
.box-tit span::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin: 0 6px 2px 0;
  background: var(--point);
  border-radius: 1px;
  vertical-align: middle;
}
.box-tit em { color: var(--point); font-style: normal; font-size: 11px; }

/* 홈 화면 전용 */
.home-only { display: none; }
#tt-body-index .home-only { display: block; }
.home-box { margin-bottom: 18px; }
.home-row {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 18px;
}
.news-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  border-bottom: 1px dotted #e1e5e9;
  font-size: 12.5px;
  min-width: 0;
}
.news-list li a { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-cate {
  flex: 0 0 auto;
  max-width: 76px;
  padding: 0 5px;
  border: 1px solid #ffd9bd;
  border-radius: 3px;
  background: #fff4ec;
  color: var(--point);
  font-size: 10px;
  line-height: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stat-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.stat-table th, .stat-table td { padding: 5px 2px; border-bottom: 1px dotted #e1e5e9; }
.stat-table th { text-align: left; font-weight: 400; color: var(--sub); }
.stat-table td { text-align: right; }
.stat-table td.hot { color: var(--point); font-weight: 700; }
.stat-guest { display: inline-block; margin-top: 8px; font-size: 11px; color: var(--blue); }

.room-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid #dde2e6;
  border-radius: 6px;
  background: #fdfbf6;
}
.room-frame img { display: block; width: 100%; height: auto; }
.room-talk {
  position: absolute;
  left: 12px; top: 12px;
  max-width: 60%;
  padding: 5px 10px;
  background: #fff;
  border: 1px solid #cdd3d9;
  border-radius: 12px;
  font-size: 11px;
  box-shadow: 0 2px 0 rgba(0,0,0,.06);
}
.room-talk::after {
  content: "";
  position: absolute;
  left: 18px; bottom: -6px;
  width: 9px; height: 9px;
  background: #fff;
  border-right: 1px solid #cdd3d9;
  border-bottom: 1px solid #cdd3d9;
  transform: rotate(45deg);
}

.oneline-list li {
  padding: 4px 0;
  border-bottom: 1px dotted #e1e5e9;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.oneline-list li::before { content: "ㄴ "; color: #b7bfc7; }
.oneline-list .who { color: var(--blue); margin-left: 2px; }
.oneline-list .when { margin-left: 6px; color: #b0b7be; font-size: 10px; }
.diary-tit { margin-top: 6px; }

/* 글 목록 (홈) */
.cy-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed #dde2e6;
}
.item-thumb { flex: 0 0 96px; }
.item-thumb img {
  display: block;
  width: 96px; height: 96px;
  object-fit: cover;
  border: 3px solid #fff;
  outline: 1px solid #dde2e6;
  border-radius: 2px;
}
.item-txt { flex: 1; min-width: 0; }
.item-meta { font-size: 11px; color: var(--sub); }
.item-cate { color: var(--blue); margin-right: 6px; }
.item-title { margin: 3px 0 4px; font-size: 15px; font-weight: 700; line-height: 1.45; word-break: keep-all; }
.item-sum {
  margin: 0;
  color: #7a828a;
  font-size: 12.5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.item-cmt { display: inline-block; margin-top: 5px; font-size: 10px; color: var(--point); }

/* 목록 표 (카테고리/태그/검색) */
.cy-list { margin-bottom: 18px; }
.list-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.list-table th {
  padding: 6px 4px;
  background: #f3f5f7;
  border-top: 1px solid #d9dee3;
  border-bottom: 1px solid #d9dee3;
  font-size: 11px;
  font-weight: 400;
  color: #7c848c;
}
.list-table td { padding: 7px 4px; border-bottom: 1px dotted #dfe3e7; font-size: 12.5px; }
.list-table .c-no { width: 92px; text-align: center; font-size: 11px; color: var(--sub); }
.list-table .c-cmt { width: 46px; text-align: center; font-size: 11px; color: var(--point); }
.list-table .c-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-table tbody tr:hover td { background: #fffaf5; }
.empty { padding: 30px 0; text-align: center; color: var(--sub); }

/* 글 본문 */
.cy-post { padding-bottom: 10px; }
.cy-post + .cy-post { margin-top: 26px; padding-top: 20px; border-top: 2px dashed #e1e5e9; }
.post-head { padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px dashed #d4d9de; }
.post-cate a, .post-cate {
  display: inline-block;
  font-size: 11px;
  color: var(--blue);
}
.cy-post.notice .post-cate { color: var(--point); }
.post-title { margin: 4px 0 6px; font-size: 21px; font-weight: 700; line-height: 1.4; word-break: keep-all; }
.post-meta { font-size: 11px; color: var(--sub); }
.post-admin { margin-left: 8px; }
.post-admin a { margin-left: 6px; color: #9aa3ac; }

.post-body { font-size: 15px; line-height: 1.85; color: #33383d; overflow-wrap: anywhere; }
.post-body p { margin: 0 0 1em; }
.post-body h2, .post-body h3, .post-body h4 { margin: 1.6em 0 .6em; line-height: 1.4; }
.post-body h2 { font-size: 20px; }
.post-body h3 { font-size: 17px; color: var(--blue); }
.post-body h4 { font-size: 15px; }
.post-body img { height: auto; }
.post-body figure { margin: 1.2em 0; }
.post-body figure.imageblock, .post-body figure.imagegridblock { text-align: center; }
.post-body figcaption { margin-top: 6px; font-size: 12px; color: var(--sub); text-align: center; }
.post-body blockquote {
  margin: 1.2em 0;
  padding: 12px 16px;
  background: #f7f9fb;
  border-left: 4px solid var(--point);
  color: #555c63;
}
.post-body blockquote[data-ke-style="style2"] { border: 0; background: none; text-align: center; font-size: 17px; }
.post-body blockquote[data-ke-style="style3"] { border: 1px solid #e1e5e9; border-radius: 8px; }
.post-body hr { margin: 2em 0; border: 0; border-top: 2px dashed #d9dee3; }
.post-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.post-body table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 14px; }
.post-body td, .post-body th { padding: 6px 8px; border: 1px solid #dde2e6; }
.post-body pre { overflow-x: auto; padding: 14px; background: #2e3a45; color: #e8eef3; border-radius: 6px; font-size: 13px; line-height: 1.6; }
.post-body code { font-family: "D2Coding", Consolas, monospace; }
.post-body ul { list-style: disc; padding-left: 1.4em; margin: 0 0 1em; }
.post-body ol { list-style: decimal; padding-left: 1.4em; margin: 0 0 1em; }
.post-body iframe { max-width: 100%; }

.post-tags { margin-top: 26px; font-size: 12px; color: var(--sub); }
.post-tags .tags-lbl { margin-right: 6px; color: var(--point); font-size: 11px; }
.post-tags a {
  display: inline-block;
  margin: 2px 0;
  padding: 1px 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #6b737b;
}
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
.post-nav a {
  display: block;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafbfc;
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.post-nav a span { display: block; font-size: 10px; color: var(--sub); }
.post-nav .nav-next { grid-column: 2; text-align: right; }

.post-related { margin-top: 28px; }
.post-related ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.post-related a { display: block; font-size: 12px; }
.rel-thumb { display: block; margin-bottom: 4px; }
.rel-thumb img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; }
.text_type .rel-title { display: block; padding: 8px; min-height: 60px; background: #f5f7f9; border-radius: 4px; }
.rel-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.45; }
.rel-date { display: block; font-size: 10px; color: var(--sub); }

.post-comment { margin-top: 30px; padding-top: 16px; border-top: 2px solid #e6eaee; }

/* 티스토리 기본 댓글·방명록 살짝 꾸미기 */
.tt-comment-cont .tt-box-total { font-family: var(--pixel); color: var(--blue); }
.tt-comment-cont .tt-btn_register { background: var(--point) !important; border-color: var(--point) !important; color: #fff !important; border-radius: 4px; }
.tt-comment-cont .tt-link-user { color: var(--blue); }

.protect-box { padding: 26px; text-align: center; background: #f7f9fb; border-radius: 8px; }
.protect-box p { margin: 0 0 10px; color: #5c636b; }
.protect-box input { height: 28px; width: 160px; padding: 0 8px; border: 1px solid #ccd2d8; border-radius: 4px; }

.guest-hello { margin: 0 0 14px; font-size: 12px; color: var(--sub); }

.cy-tagcloud ul { gap: 6px; }
.cy-tagcloud .cloud1 { font-size: 16px; color: var(--point); border-color: #ffd9bd; }
.cy-tagcloud .cloud2 { font-size: 14px; color: var(--blue); }
.cy-tagcloud .cloud3 { font-size: 13px; }
.cy-tagcloud .cloud4 { font-size: 12px; }
.cy-tagcloud .cloud5 { font-size: 11px; color: #a1a9b1; }

/* 페이지 번호 */
.cy-paging { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 22px; font-size: 12px; }
.cy-paging a { min-width: 24px; height: 24px; line-height: 22px; text-align: center; border: 1px solid transparent; border-radius: 4px; color: #7c848c; }
.cy-paging a:hover { border-color: var(--line); color: var(--point); }
.cy-paging .selected { color: var(--point); font-weight: 700; }
.cy-paging .pg-num:has(.selected) { border-color: #ffd9bd; background: #fff4ec; }
.cy-paging .no-more-prev, .cy-paging .no-more-next { visibility: hidden; }

/* ---------------- 세로 탭 ---------------- */
.cy-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 26px;
  margin-left: -13px;
}
.tab {
  position: relative;
  display: block;
  width: 58px;
  padding: 8px 2px 8px 6px;
  border-radius: 0 9px 9px 0;
  background: var(--tab);
  color: #fff;
  font-size: 11px;
  text-align: center;
  box-shadow: inset 1px 0 0 rgba(0,0,0,.08);
}
.tab:hover { color: #fff; filter: brightness(1.08); }
#tt-body-index .tab-home,
#tt-body-page .tab-diary,
#tt-body-category .tab-diary,
#tt-body-archive .tab-diary,
#tt-body-search .tab-diary,
#tt-body-tag .tab-tag,
#tt-body-guestbook .tab-guest {
  background: #fff;
  color: var(--ink);
  border: 1px solid #cdd3d9;
  border-left: 0;
}

/* ---------------- 하단 ---------------- */
.cy-foot {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 0 0;
  font-size: 10px;
  color: rgba(255,255,255,.75);
}
.cy-foot a:hover { color: #fff; }
.cy-foot .dot { opacity: .5; }

/* ---------------- 모바일 ---------------- */
@media (max-width: 860px) {
  .cy-page { padding: 12px 8px 24px; }
  .cy-outer { padding: 10px 10px 12px; border-radius: 14px; }
  .cy-top { flex-wrap: wrap; padding: 2px 4px 8px; gap: 6px; }
  .cy-counter { flex: 0 0 100%; order: 2; }
  .cy-topright { order: 1; flex: 0 0 100%; }
  .cy-book { grid-template-columns: minmax(0, 1fr); padding: 10px; gap: 10px; }
  .cy-tabs { order: -1; flex-direction: row; flex-wrap: wrap; margin: 0; padding: 0; gap: 4px; }
  .tab { width: auto; flex: 1 1 0; padding: 7px 4px; border-radius: 8px; }
  #tt-body-index .tab-home, #tt-body-page .tab-diary, #tt-body-category .tab-diary,
  #tt-body-archive .tab-diary, #tt-body-search .tab-diary, #tt-body-tag .tab-tag,
  #tt-body-guestbook .tab-guest { border-left: 1px solid #cdd3d9; }
  .cy-left {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 8px 12px;
    align-items: start;
  }
  .cy-left > .cy-mood, .cy-left > .cy-search, .cy-left > .cy-surf, .cy-left > .cy-side, .cy-left > .side-toggle { grid-column: 1 / -1; }
  .cy-photo { grid-row: span 2; }
  .cy-desc { max-height: 110px; }
  .cy-owner { padding-top: 6px; }
  .side-toggle {
    display: block;
    width: 100%;
    padding: 6px;
    border: 1px dashed #c5ccd3;
    border-radius: 6px;
    background: #fafbfc;
    color: #6b737b;
    font-size: 11px;
    cursor: pointer;
  }
  .cy-side { display: none; }
  .cy-left.side-open .cy-side { display: flex; }
  .cy-main { min-height: 0; padding: 12px 14px 18px; }
  .home-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .post-title { font-size: 19px; }
  .post-related ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .list-table .c-no { width: 78px; }
}
@media (max-width: 420px) {
  .bgm-screen { width: 110px; }
  .item-thumb { flex-basis: 72px; }
  .item-thumb img { width: 72px; height: 72px; }
  .post-body { font-size: 14.5px; }
}
