@charset "utf-8";

:root{
  --bg:#ffffff;
  --surface:#ffffff;
  --text:#101010;
  --muted:#737373;
  --line:#e9e9e6;
  --soft:#f6f6f6;
  --max:900px;
  --radius:18px;
  --radius-sm:12px;
  --ease:cubic-bezier(.22,1,.36,1);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"Pretendard","Apple SD Gothic Neo","Noto Sans KR",Segoe UI,sans-serif;
  font-size:11px;
  font-weight:300;
  letter-spacing:-.03em;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
img{max-width:100%;height:auto}
::selection{background:#151515;color:#fff}

/* ---------- header ---------- */
.site-header{
  z-index:100;
  border-bottom:1px solid rgba(0,0,0,.04);
  background:rgba(255, 255, 255, 0.9);
  
}
.header-inner{
  position:relative;
  max-width:var(--max);height:58px;margin:0 auto;padding:0 28px;
  display:flex;align-items:center;justify-content:space-between;
}
.brand{font-size:13px;font-weight:650;letter-spacing:-.03em}
.nav{display:flex;align-items:center;gap:28px;color:#777}
.nav ul{display:flex;align-items:center;gap:28px;list-style:none;margin:0;padding:0}
.nav a{position:relative;transition:color .25s ease; }
.nav a:hover,.nav a.active{color:#111; font-weight:700;}
.nav a.active:after{
  content:"";position:absolute;left:0;right:0;bottom:-9px;height:3px;background:#a8b8c6; border-radius: 50px;
}
.nav-right{display:flex;align-items:center;gap:18px}
.icon-btn{
  width:32px;height:32px;border:0;border-radius:50%;padding:0;color:inherit;
  background:transparent;display: flex;justify-content: center;align-items: center;cursor:pointer;
  transition:background .25s ease,transform .25s var(--ease);
}
.icon-btn:hover{background:rgba(0,0,0,.05);transform:translateY(-1px)}
.mobile-menu{display:none}

/* ---------- layout ---------- */
.container{max-width:var(--max);margin:0 auto;padding:0 28px}
main.container{padding-bottom:96px}
.hero{padding:86px 0 62px;border-bottom:1px solid var(--line)}
.hero-kicker{font-size:11px;color:#8b8b8b;margin-bottom:14px}
.hero h1{
  max-width:720px;margin:0;
  font-size:36px;line-height:1.18;font-weight:620;letter-spacing:-.055em;
}
.hero p{max-width:540px;margin:20px 0 0;color:#747474;font-size:13px}

.section-head{
  display:flex;align-items:end;justify-content:space-between;
  margin:0 0 22px;
}
.section-head h2{margin:0;font-size:25px;font-weight:800;letter-spacing:-.045em}
.section-head a{font-size:11px;color:#878787;transition:color .2s ease}
.section-head a:hover{color:#111}

/* ---------- cards ---------- */
.card,.photo-card{
  display:block;
  border:1px solid rgba(0,0,0,.04);
  border-radius:10px;overflow:hidden;background:var(--surface);
  transition:transform .45s var(--ease),box-shadow .45s var(--ease);
}
.card:hover,.photo-card:hover{
  transform:translateY(-3px);
}
.photo{
  position:relative;overflow:hidden;
}
.photo img{
  display:block;width:100%;height:100%;object-fit:cover;
  transition:transform .8s var(--ease),filter .8s var(--ease);
}
.card:hover img,.photo-card:hover img,.post-item:hover .photo img,.gallery-item:hover .photo img{transform:scale(1.025)}
.card-body{padding:18px 18px 20px}
.meta{display:flex;gap:10px;color:#999;font-size:10px;margin-bottom:8px}
.card-title{font-size:14px;font-weight:600;letter-spacing:-.025em}
.card-desc{font-size:11px;color:#858585;margin-top:5px}
/* 썸네일 없는 글(.is-empty) / 보호글(.is-protected) 미리보기 — 클래스는 script.js가 붙임, JS 없으면 :empty */
.photo:empty,.photo.is-empty{
  --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='M15 8h.01'/%3E%3Cpath d='m3 16 5-5c.9-.9 2.1-.9 3 0l5 5'/%3E%3Cpath d='m14 14 1-1c.9-.9 2.1-.9 3 0l3 3'/%3E%3C/svg%3E");
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;
  background:#ffffff;color:#bdbdb7;
  aspect-ratio: 1/1;
}
.photo:empty:before,.photo.is-empty:before{
  content:"";width:32px;height:32px;background:rgb(226 226 226);
  -webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat;
}
.photo.is-protected{
  aspect-ratio: 1/1;
  --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Ccircle cx='12' cy='16' r='1'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E");
  background:#ffffff;color:#8f8f8a;
}
.photo.is-protected:after{content:"Protected";font-size:10px;letter-spacing:0}
.is-list .photo.is-protected:after{display:none}


/* 홈 커버: featured (첫 글 크게 + 옆에 2개) */
.home-section{padding:70px 0 0}
.feature-grid{
  display:grid;grid-template-columns:1.35fr .65fr;gap:18px;margin-top:34px;
}
.feature-grid .card:first-child{grid-row:span 2}
.feature-grid .card:first-child .photo{aspect-ratio:16/10}
.feature-grid .card:not(:first-child) .photo{aspect-ratio:16/9}
.feature-grid .card:not(:first-child) .card-desc{display:none}
.feature-grid .card:nth-child(n+4){display:none}

/* 홈 커버: photos */
.masonry{
  display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-items:start;
}
.photo-card .photo{aspect-ratio:4/3}
.photo-card .card-body{padding:18px 18px 20px;background:var(--bg)}
.photo-card:hover{box-shadow:none}
.photo-card .card-title{font-size:12px;font-weight:560}
.photo-card .meta{margin:0 0 5px}

/* ---------- list page ---------- */
.page-title{
  padding:62px 0 28px;
  display:flex;align-items:flex-end;justify-content:space-between;
}
.page-title h1{margin:0;font-size:25px;font-weight:620;letter-spacing:-.045em}
#tt-body-search .page-title h1:before{content:"Results for '"}
#tt-body-search .page-title h1:after{content:"’"}
.page-title p{margin:4px 0 0;color:#8a8a8a;font-size:11px}
.view-switch{display:flex;gap:6px}
.switch-btn{
  border:1px solid var(--line);background:transparent;color:#999;cursor:pointer;
  padding:7px 10px;border-radius:999px;font-size:10px;line-height:1.2;transition:.2s ease;
}
.switch-btn.active,.switch-btn:hover{background:#111;color:#fff;border-color:#111}
.list-empty{padding:60px 0;text-align:center;color:#999}

/* 글 목록 — 갤러리형 */
.post-item{display:block;min-width:0}
.post-list.is-gallery{
  display:grid;grid-template-columns:repeat(3,1fr);gap:28px 18px;padding-top:34px;
}
.is-gallery .photo{border:1px solid rgba(0,0,0,.04); aspect-ratio:4/3;border-radius:10px}
.is-gallery .post-item-title{font-size:12px;font-weight:580;margin-top:11px}
.is-gallery .post-item-excerpt{display:none}
.is-gallery .post-item-meta{font-size:10px;color:#9b9b9b;margin-top:3px}
.is-gallery .protected{grid-column:1/-1}

/* 글 목록 — 목록형 */
.post-list.is-list{padding-top:15px}
.home-section .post-list.is-list{padding-top:0}
.is-list .post-item{
  display:grid;grid-template-columns:120px 1fr 90px;gap:24px;align-items:center;
  padding:22px 0;border-bottom:1px solid rgba(0,0,0,.04);
  transition:opacity .25s ease,transform .25s var(--ease);
}
.is-list .post-item:hover{transform:translateX(4px)}
.is-list .photo{border:1px solid rgba(0,0,0,.04); border-radius:6px}
.is-list .post-item-text{min-width:0}
.is-list .post-item-title{font-size:13px;font-weight:580}
.is-list .post-item-excerpt{font-size:11px;color:#8b8b8b;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.is-list .post-item-meta{text-align:right;font-size:10px;color:#9b9b9b}
.is-list .post-item-cat{display:none}
.badge{
  display:inline-block;margin-right:6px;padding:1px 7px;border-radius:999px;
  background:#111;color:#fff;font-size:9px;font-weight:500;vertical-align:1px;
}

/* 보호글 */
.protected{padding:34px 0;border-bottom:1px solid rgba(0,0,0,.04);}
.protected h2{margin:4px 0 6px;font-size:15px;font-weight:600}
.protected p{margin:0 0 14px;color:#888;font-size:11px}
.protected-form{display:flex;gap:0px;max-width:280px}
.protected-form input{
  flex:1;border:none;background:#f9f9f9;border-radius:8px;
  padding:9px 12px;outline:0;border-bottom-right-radius: 0; border-top-right-radius: 0;
}
.protected-form .submit {border-radius:8px; border-bottom-left-radius: 0; border-top-left-radius: 0;}

/* 페이징 */
.pagination{display:flex;justify-content:center;align-items:center;gap:14px;padding-top:52px;color:#999;font-size:11px}
.pagination a{cursor:pointer;transition:color .2s}
.pagination a:hover,.pagination .selected{color:#111}
.pagination .selected{font-weight:650}
.pagination .no-more-prev,.pagination .no-more-next{opacity:.3;pointer-events:none}
#tt-body-page .pagination{display:none}

/* ---------- post ---------- */
.post{max-width:820px;margin:0 auto}
.post-head{padding:82px 0 42px;text-align:center}
.post-category{font-size:10px;color:#999;margin-bottom:14px}
.post-category a:hover{color:#111}
.post-head h1{font-size:27px;line-height:1.28;letter-spacing:-.05em;font-weight:630;margin:0}
.post-info{margin-top:18px;font-size:10px;color:#9b9b9b}
.post-admin{display:flex;justify-content:center;gap:12px;margin-top:10px;font-size:10px;color:#aaa}
.post-admin a:hover{color:#111}
.post-cover{border-radius:20px;overflow:hidden;margin:0 0 52px}
.post-cover img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}

.post-body{font-size:14px;line-height:2;color:#242424;word-break:keep-all;overflow-wrap:break-word}
.post-body p{margin:0 0 1.2em}
.post-body .tt_article_useless_p_margin p{margin:0}
.post-body h2,.post-body h3,.post-body h4{letter-spacing:-.035em;line-height:1.45}
.post-body h2{font-size:19px;margin:54px 0 18px}
.post-body h3{font-size:16px;margin:42px 0 14px}
.post-body h4{font-size:14px;margin:32px 0 10px}
.post-body a{text-decoration:underline;text-underline-offset:3px;text-decoration-color:#ccc}
.post-body a:hover{text-decoration-color:#111}
.post-body img{max-width:100%;height:auto}
.post-body figure{margin:42px auto}
.post-body figcaption{font-size:10px;color:#999;text-align:center;margin-top:8px}
.post-body blockquote{margin:32px 0;padding:2px 0 2px 18px;border-left:2px solid #111;color:#555}
.post-body pre{background:var(--soft);border-radius:12px;padding:18px;overflow:auto;font-size:12px;line-height:1.7}
.post-body :not(pre) > code{background:var(--soft);border-radius:5px;padding:2px 5px;font-size:.9em}
.post-body hr{border:0;border-top:1px solid var(--line);margin:48px 0}
.post-body ul,.post-body ol{padding-left:1.4em}
.post-body table{border-collapse:collapse;width:100%;font-size:12px}
.post-body th,.post-body td{border:1px solid var(--line);padding:8px 10px}

/* [##_tag_label_rep_##]는 ", "로 구분되어 출력 → 쉼표 숨김 */
.post-tags{font-size:0;padding:38px 0 0}
.post-tags a{
  display:inline-block;margin:0 7px 7px 0;
  padding:7px 10px;border:1px solid var(--line);border-radius:999px;
  color:#777;font-size:10px;line-height:1.2;transition:.2s;
}
.post-tags a:before{content:"#"}
.post-tags a:hover{background:#111;color:#fff;border-color:#111}

.post-nav{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:64px;border-top:1px solid rgba(0,0,0,.04);padding-top:22px}
.post-nav:not(:has(a)){display:none}
.post-nav a{padding:18px;border-radius:14px;background:#fff;transition:transform .25s var(--ease)}
.post-nav a:hover{transform:translateY(-2px)}
.post-nav a.next{grid-column:2;text-align:right}
.post-nav small{display:block;color:#999;font-size:9px;margin-bottom:4px}
.post-nav span{font-size:11px}

.related{margin-top:64px}
.related-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.gallery-item{display:block;min-width:0}
.gallery-item .photo{ border:1px solid rgba(0,0,0,.04); aspect-ratio:4/3;border-radius:12px}
.gallery-title{font-size:11px;font-weight:580;margin-top:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gallery-meta{font-size:10px;color:#9b9b9b;margin-top:2px}

.container_postbtn .postbtn_like {border:none!important; padding-left:0!important;}
body .container_postbtn .btn_post .txt_like {color:#666!important; font-size:11px!important;}

/* ---------- 댓글 / 방명록 ([##_comment_group_##], [##_guestbook_group_##]) ---------- */
.post-comments{margin-top:64px;padding-top:30px;border-top:1px solid rgba(0,0,0,.04);}
.tt-comment-cont{font-size:12px}
.tt-box-total{margin-bottom:14px}
.tt-box-total .tt_txt_g,.tt-box-total .tt_num_g{font-size:13px;font-weight:620}
.tt-area-write .tt-box-textarea,.tt-area-write .tt-box-account input{border-radius:12px}
.tt-btn_register{border-radius:999px!important}
.tt_btn_prev_more {font-size:12px;}
.tt-wrap-cmt .tt-box-content {width: calc(100% - 80px);}
.tt-area-write .tt-box-account input {padding: 7px 15px; font-size:12px; border:1px solid rgba(0,0,0,.04); border-radius:8px; background: #ffffff; }
.tt-thumbnail:after {box-shadow: none;}
.tt-list-reply-comment .tt-item-reply {border-top:none;}

/* ---------- tags ---------- */
.tags-wrap{padding-top:32px}
.tag-cloud{display:flex;flex-wrap:wrap;gap:10px}
.tag-cloud a{
  padding:7px 13px;border-radius:999px;background:#ffffff;
  border: 1px solid rgba(0, 0, 0, .04);font-size:11px;color:#777;
  transition:transform .25s var(--ease),border-color .25s ease,background .25s ease;
}
.tag-cloud a:hover{transform:translateY(-2px);background:#ffffff;}
/* cloud5 = 가장 많이 쓰인 태그 */
.tag-cloud .cloud5{color:#111;font-weight:620}
.tag-cloud .cloud4{color:#333;font-weight:560}
.tag-cloud .cloud3{color:#555}
.tag-cloud .cloud2{color:#888}
.tag-cloud .cloud1{color:#aaa}

/* ---------- guestbook ---------- */
.guest-grid{display:grid;grid-template-columns:1fr;gap:72px;}
.guest-note{color:#777;max-width:300px}
.guest-app{min-width:0}
.submit{
  border:0;background:#111;color:#fff;border-radius:999px;padding:9px 16px;
  font-size:10px;cursor:pointer;transition:transform .2s var(--ease),opacity .2s;
}
.submit:hover{transform:translateY(-1px);opacity:.86}
.tt-box-total {display:none;}
.tt-wrap-cmt .tt-link-user, .tt-box-textarea .tt_txt_user {font-size:12px;}
.tt-wrap-cmt .tt_desc, .tt-box-textarea textarea, .tt-box-textarea div, .tt-btn_register {font-size:12px;}
.tt-box-textarea .tt-inner-g {border:1px solid rgba(0,0,0,.04); border-radius:8px; background: #ffffff; overflow-y:auto;}
.tt-wrap-cmt .tt_date {font-size:11px; padding-top:0;}
.tt-link-comment .tt_txt_g {font-size:11px; padding-top:0;}
.tt-wrap-info .tt_date+.tt-wrap-link-comment:before {top:50%; transform:translateY(-50%);}
.tt-wrap-info {margin-top:12px;}
.tt-list-reply {border-bottom:none;}
.tt-item-reply .tt-list-reply-comment {border-top:none;}
.tt-btn-cancel {font-size:12px;}
.tt-btn_register {width:auto; height:auto; line-height:1; padding:6px 12px;}

/* ---------- search ---------- */
.search-overlay{
  position:fixed;inset:0;background:rgba(255,255,255,.8);
  backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
  z-index:300;display:grid;place-items:center;opacity:0;visibility:hidden;
  transition:.3s ease;
}
.search-overlay.open{opacity:1;visibility:visible}
.search-box{width:min(680px,calc(100% - 48px))}
.search-box input{
  width:100%;border:0;border-bottom:1px solid #ccc;background:transparent;border-radius:0;
  font-size:25px;padding:16px 0;outline:0;letter-spacing:-.04em;
}
.search-close{position:absolute;right:26px;top:18px;font-size:20px}

/* ---------- copyright ---------- */
.copyright{position:fixed; bottom:20px; right:20px; color:#999;font-size:10px;}
.copyright:hover{color:#111}

/* ---------- profile / category (V2) ---------- */
.profile-shell{display:none;padding-top:34px}
#tt-body-index .profile-shell{display:block}
.profile-card{border:1px solid rgba(0,0,0,.04); border-radius:22px;overflow:hidden;background:var(--surface)}
.profile-cover{
  height:135px;position:relative;overflow:hidden;
  background: radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.25), transparent 42%),
radial-gradient(circle at 78% 40%, rgba(255, 255, 255, 0.2), transparent 27%),
linear-gradient(to bottom right, #385365, #365376 54%, #617491);
  background-size:cover;background-position:center;
}
.profile-main{position:relative;padding:0 24px 22px}
.profile-avatar{
  width:92px;height:92px;border-radius:50%;margin-top:-46px;position:relative;z-index:2;overflow:hidden;
  border:5px solid var(--surface);box-shadow:0 4px 18px rgba(0,0,0,.04);
}
.profile-avatar img,.post-author-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.profile-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-top:12px}
.profile-name{font-size:17px;line-height:1.25;font-weight:650;letter-spacing:-.04em}
.profile-handle{margin-top:2px;font-size:10px;color:#989898;}
.profile-bio{max-width:580px;margin:14px 0 0;font-size:12px;color:#4f4f4f;line-height:1.75}
.profile-bio:empty{display:none}
.profile-meta{display:flex;gap:14px;flex-wrap:wrap;margin-top:12px;color:#929292;font-size:10px}
.profile-meta:empty{display:none}
.profile-stat{display:flex;gap:15px;margin-top:14px;font-size:10px;color:#8a8a8a}
.profile-stat b{color:#171717;font-weight:630;margin-right:4px}
.profile-action{
  position: absolute; right: 24px; top: 68px;
  background:transparent;border-radius:999px; display:flex;
  font-size:10px;color:#555;transition:.22s ease;white-space:nowrap;
}
.profile-action svg {width:18px;}

figure.imageblock.alignCenter {margin:0 auto!important;}

/* 카테고리 칩: 1단 대분류 + 2단 소분류(현재 대분류의 것만)
   JS가 [##_category_list_##] 출력을 .cat-row 두 줄로 다시 그림. JS 없으면 평평한 칩으로 표시 */
.archive-toolbar{display:none}
#tt-body-category .archive-toolbar{display:block;padding:18px 0 16px;border-bottom:1px solid rgba(0,0,0,.04);}
.archive-categories{display:flex;flex-wrap:wrap;gap:5px}
.archive-categories.is-enhanced{flex-direction:column;flex-wrap:nowrap;gap:8px}
.archive-categories ul,.archive-categories li{display:contents;list-style:none}
.archive-categories img{display:none}
.cat-row{position:relative;display:flex;flex-wrap:wrap;gap:5px;scrollbar-width:none}
.cat-row::-webkit-scrollbar{display:none}
.archive-categories a{flex:0 0 auto;padding:7px 12px;border-radius:999px;color:#777;font-size:11px;line-height:1.2;border:1px solid transparent;transition:.2s;white-space:nowrap}
.archive-categories a:hover{color:#111}
.archive-categories a.active{background:#111;border-color:#111;color:#fff}
.archive-categories .c_cnt,.cat-count{margin-left:4px;opacity:.5;font-size:.9em}
.cat-sub{align-self:flex-start;max-width:100%;padding:4px;border-radius:999px;background:var(--soft)}
.cat-sub a{padding:5px 11px;font-size:10px}
.cat-sub a.active{background:#fff;border-color:#ffffff;color:#111}
.cat-sub a:first-child {display: none;}

.post-author{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:18px}
.post-author-avatar{width:27px;height:27px;border-radius:50%;overflow:hidden;background:#171717}
.post-author-text{text-align:left;line-height:1.35}
.post-author-name{font-size:10px;font-weight:620}
.post-author-meta{font-size:9px;color:#9d9d9d;margin-top:1px}

/* ---------- motion ---------- */
.js .reveal{opacity:0;transform:translateY(16px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.js .reveal.is-visible{opacity:1;transform:none}
.js .post-item.reveal.is-visible:hover{transform:translateX(4px)}
.js .is-gallery .post-item.reveal.is-visible:hover{transform:none}

@media (prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important;transition:none!important;animation:none!important}
  .js .reveal{opacity:1;transform:none}
}
@media (max-width:800px){
  .header-inner,.container{padding-left:18px;padding-right:18px}
  .nav{display:none}
  .mobile-menu{display:grid}
  .site-header.nav-open {background:#ffffff;}
  .site-header.nav-open .nav{
    display:flex;flex-direction:column;align-items:stretch;gap:0;
    position:absolute;top:59px;left:0;right:0;padding:10px 18px 10px;
    background:rgba(255,255,255,1);border-bottom:1px solid var(--line);
  }
  .site-header.nav-open .nav ul{flex-direction:column;align-items:stretch;gap:0}
  .site-header.nav-open .nav a{display:block;padding:10px 0}
  .nav a.active:after{display:none}
  .hero{padding:58px 0 44px}
  .hero h1{font-size:28px}
  .feature-grid{grid-template-columns:1fr 1fr}
  .feature-grid .card:first-child{grid-column:1/-1;grid-row:auto}
  .masonry,.post-list.is-gallery{grid-template-columns:1fr 1fr}
  .related-grid{grid-template-columns:1fr 1fr}
  .guest-grid{grid-template-columns:1fr;gap:26px}
  .profile-cover{height:156px}
  .profile-avatar{width:82px;height:82px;margin-top:-41px}
  .profile-action {top:60px;}
  .site-header {position:sticky; top:0; backdrop-filter:blur(22px) saturate(160%);
  -webkit-backdrop-filter:blur(22px) saturate(160%);} 
}
@media (max-width:560px){
  body{font-size:12px}
  .feature-grid,.masonry{grid-template-columns:1fr}
  .is-list .post-item{grid-template-columns:88px 1fr;gap:14px}
  .is-list .post-item-meta{display:none}
  .page-title{padding-top:42px;align-items:flex-start;gap:20px}
  .post-head{padding-top:55px}
  .post-head h1{font-size:22px}
  .post-nav a.next{grid-column:auto}
  .footer-inner{align-items:flex-start;gap:14px;flex-direction:column}
  .profile-shell{padding-top:18px}
  .profile-card{border-radius:16px}
  .profile-cover{height:122px}
  .profile-main{padding-left:16px;padding-right:16px}
  .profile-avatar{width:72px;height:72px;margin-top:-36px;border-width:4px}
  .profile-name{font-size:16px}
  .profile-top{gap:12px}
  /* 모바일: 줄바꿈 대신 가로 스크롤 */
  .cat-row{flex-wrap:nowrap;overflow-x:auto}
  .cat-main{margin:0 -18px;padding:0 18px}
  .cat-sub{border-radius:16px}
  .archive-categories a{font-size:12px;padding:8px 13px}
  .cat-sub a{font-size:11px;padding:6px 11px}
}

.tt_box_namecard {display: none!important;}
.container_postbtn .btn_menu_toolbar.btn_subscription {display:none;}

/* 파일 첨부 (figure.fileblock) — 티스토리 content.css 기본 스타일 덮어쓰기
   content.css가 #tt-body-page 선택자도 쓰므로 :is(#tt-body-page,body)로 우선순위를 맞춤 */
:is(#tt-body-page,body) .post-body figure.fileblock{
  width:100%;max-width:470px;height:auto;margin:32px 0;
  border:1px solid var(--line);border-radius:var(--radius-sm);background:#ffffff;
  transition:border-color .25s ease,background .25s ease,transform .25s var(--ease);
}
:is(#tt-body-page,body) .post-body figure.fileblock[data-ke-align=alignCenter]{margin-left:auto;margin-right:auto}
:is(#tt-body-page,body) .post-body figure.fileblock[data-ke-align=alignRight]{margin-left:auto;margin-right:0}
:is(#tt-body-page,body) .post-body figure.fileblock:hover{border-color:#dcdcd7;background:#fff;transform:translateY(-1px)}
:is(#tt-body-page,body) .post-body figure.fileblock a{
  display:flex;align-items:center;gap:14px;height:auto;padding:13px 14px 13px 13px;
  color:inherit;text-decoration:none;
}
/* 오른쪽 다운로드 버튼 */
:is(#tt-body-page,body) .post-body figure.fileblock a::after{
  position:static;flex:0 0 30px;width:30px;height:30px;border-radius:50%;
  border:none;background:#fff center/14px no-repeat;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v12M7 11l5 5 5-5M5 20h14'/%3E%3C/svg%3E");
  transition:background-color .25s ease,border-color .25s ease;
}
:is(#tt-body-page,body) .post-body figure.fileblock a:hover::after{
  background-color:#111;border-color:#111;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v12M7 11l5 5 5-5M5 20h14'/%3E%3C/svg%3E");
}
/* 왼쪽 파일 아이콘 — script.js가 확장자(data-ext)를 붙이면 아이콘 대신 ZIP, PDF 등 표시 */
:is(#tt-body-page,body) .post-body figure.fileblock .image{
  position:static;flex:0 0 40px;width:40px;height:40px;margin:0;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  background:var(--soft) center/18px no-repeat;
}
:is(#tt-body-page,body) .post-body figure.fileblock .image:not(.censoring){
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9a95' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3C/svg%3E");
}
:is(#tt-body-page,body) .post-body figure.fileblock .image[data-ext]{background-image:none}
:is(#tt-body-page,body) .post-body figure.fileblock .image[data-ext]::after{
  content:attr(data-ext);font-size:9px;font-weight:600;letter-spacing:.02em;color:#77776f;
}
:is(#tt-body-page,body) .post-body figure.fileblock .image.censoring{background-size:24px}
:is(#tt-body-page,body) .post-body figure.fileblock .desc{position:static;flex:1;min-width:0}
:is(#tt-body-page,body) .post-body figure.fileblock .filename{height:auto;margin:0;color:var(--text);font-size:12px;font-weight:500;line-height:1.5}
:is(#tt-body-page,body) .post-body figure.fileblock .name{max-width:none;height:auto}
:is(#tt-body-page,body) .post-body figure.fileblock .size{height:auto;margin:1px 0 0;font-family:inherit;font-size:10px;color:#9b9b9b}
:is(#tt-body-page,body) .post-body figure.fileblock .censorship-guide{font-size:11px;color:#777;line-height:1.5}
:is(#tt-body-page,body) .post-body figure.fileblock a.censorship::after{display:none}

.another_category {display:none;}
.tt_box_namecard {display: none!important;}
figure.imagegridblock, #tt-body-page figure.imagegridblock {margin:0;}
.container_postbtn .btn_menu_toolbar.btn_subscription {display:none;}