/* Reddit-style Blogger YouTube post list — v1.2.145 */
#ytPosts{
  margin:4px 0 0;
  font-family:inherit;
}
#ytPosts .yt-head{
  display:flex;
  align-items:center;
  gap:8px;
  margin:2px 0 10px;
  font-size:13px;
  font-weight:700;
  color:inherit;
}
#ytPosts .yt-head:before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:#FF4500;
  flex:0 0 auto;
}
#ytPosts .yt-count{
  margin-left:auto;
  font-size:11px;
  font-weight:500;
  color:#6B7280;
}
#ytPosts .yt-viewport{
  position:relative;
  /* v1.2.144: 위·아래 페이드가 카드 글자를 덮지 않도록 안쪽 여백을 두고, 그만큼 박스를 키운다.
     838px = 카드 10칸(82px × 10 + 간격 2px × 9) 이고, 여백 18px 씩이 위·아래 그림자 자리다. */
  box-sizing:border-box;
  height:874px;
  padding:18px 0;
  overflow:hidden;
  /* 호버 시 카드가 살짝 커지고 그림자가 보이도록 잘림 여유를 둔다 */
  overflow:clip;
  overflow-clip-margin:14px;
  perspective:700px;
  border-radius:8px;
}
#ytPosts .yt-viewport:before,
#ytPosts .yt-viewport:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  /* v1.2.144: 페이드는 여백(18px) 안에만 머문다 — 카드 첫 줄·마지막 줄 글자와 겹치지 않는다 */
  height:18px;
  z-index:4;
  pointer-events:none;
}
#ytPosts .yt-viewport:before{
  top:0;
  background:linear-gradient(to bottom,rgba(255,255,255,1),rgba(255,255,255,0));
}
#ytPosts .yt-viewport:after{
  bottom:0;
  background:linear-gradient(to top,rgba(255,255,255,1),rgba(255,255,255,0));
}
html[data-theme="dark"] #ytPosts .yt-viewport:before{
  background:linear-gradient(to bottom,rgba(15,17,19,1),rgba(15,17,19,0));
}
html[data-theme="dark"] #ytPosts .yt-viewport:after{
  background:linear-gradient(to top,rgba(15,17,19,1),rgba(15,17,19,0));
}
/* 추천·인기 글 레일: 키보드 포커스를 받아 화살표로도 넘길 수 있다 */
#ytPosts[tabindex]:focus-visible{
  outline:2px solid #FF4500;
  outline-offset:3px;
  border-radius:10px;
}
/* 터치 기기에는 휠이 없다. 변환 이동 대신 뷰포트 자체를 네이티브 스크롤한다. */
@media (hover:none),(pointer:coarse){
  #ytPosts .yt-viewport{
    overflow-x:hidden;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
    scrollbar-width:none;
  }
  #ytPosts .yt-viewport::-webkit-scrollbar{width:0;height:0}
  #ytPosts .yt-list{transform:none !important;transition:none !important}
  #ytPosts .yt-viewport:before,
  #ytPosts .yt-viewport:after{display:none}
}
#ytPosts .yt-list{
  display:flex;
  flex-direction:column;
  gap:2px;
  will-change:transform;
  transform:translateY(0);
  transition:transform .55s cubic-bezier(.22,.9,.3,1);
}
#ytPosts .yt-item{
  display:flex;
  align-items:center;
  height:82px;
  flex:0 0 82px;
  box-sizing:border-box;
  padding:0;
  border-radius:10px;
  color:inherit !important;
  text-decoration:none !important;
  transition:transform .55s cubic-bezier(.22,.9,.3,1),opacity .45s ease;
  transform-origin:center top;
}
/* 카드 표면은 내부 span 에 그린다: Blogger 테마가 <a> 에 transform/background !important 를 걸어 직접 지정이 먹지 않는 경우가 있다 */
#ytPosts .yt-card{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  height:100%;
  box-sizing:border-box;
  padding:6px 8px;
  /* v1.2.141: 호버 확대(1.02)와 그림자가 레일 오른쪽 끝에서 잘리지 않도록 오른쪽 여유를 둔다 */
  margin-right:10px;
  border-radius:10px;
  transition:transform .16s ease,background-color .16s ease,box-shadow .18s ease;
}
#ytPosts .yt-item.is-out{
  opacity:0;
  transform:rotateX(-78deg) translateY(-8px);
}
/* 추천·인기 글 호버 액션: 카드 확대·들뜨기 + 붉은 테두리 + 제목 밑줄 */
#ytPosts .yt-item{
  position:relative;
  z-index:1;
}
#ytPosts .yt-item:not(.is-out):hover{
  z-index:2;
}
#ytPosts .yt-item:not(.is-out):hover .yt-card,
#ytPosts .yt-item:not(.is-out):focus-visible .yt-card{
  /* 테마가 본문 쪽에 transform !important 를 걸고 있어 여기서도 !important 가 필요하다(실측) */
  transform:translateY(-2px) scale(1.02) !important;
  background:rgba(255,69,0,.055);
  box-shadow:inset 0 0 0 1px rgba(255,69,0,.38),0 8px 20px rgba(15,23,42,.14);
}
#ytPosts .yt-item:not(.is-out):hover .yt-title,
#ytPosts .yt-item:not(.is-out):focus-visible .yt-title{
  text-decoration:underline;
  text-underline-offset:2px;
  text-decoration-thickness:1px;
}
#ytPosts .yt-item:not(.is-out):hover .yt-thumb,
#ytPosts .yt-item:not(.is-out):focus-visible .yt-thumb{
  box-shadow:inset 0 0 0 1px rgba(255,69,0,.28);
}
@media (prefers-reduced-motion:reduce){
  #ytPosts .yt-item:not(.is-out):hover .yt-card,
  #ytPosts .yt-item:not(.is-out):focus-visible .yt-card{transform:none !important}
}
#ytPosts .yt-more{
  display:none;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:13px 0 10px;
  color:#6B7280;
  font-size:11px;
}
#ytPosts .yt-more.on{display:flex}
#ytPosts .yt-more i{
  width:13px;
  height:13px;
  border:2px solid rgba(107,114,128,.25);
  border-top-color:#FF4500;
  border-radius:50%;
  animation:ytThumbSpin .7s linear infinite;
}
#ytPosts .yt-end{
  display:none;
  padding:12px 0 8px;
  text-align:center;
  color:#9CA3AF;
  font-size:11px;
}
#ytPosts .yt-thumb{
  position:relative;
  width:124px;
  aspect-ratio:16/9;
  flex:0 0 124px;
  border-radius:10px;
  overflow:hidden;
  background:#f1f3f5;
  isolation:isolate;
}
#ytPosts .yt-thumb:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(100deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.55) 50%,rgba(255,255,255,0) 70%);
  transform:translateX(-100%);
  animation:ytThumbShimmer 1.4s infinite;
  pointer-events:none;
}
#ytPosts .yt-thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  border:0;
  position:relative;
  z-index:2;
  background:transparent;
  opacity:0;
  transition:opacity .35s ease;
}
#ytPosts .yt-thumb iframe{
  position:absolute;
  inset:-18% -34%;
  z-index:4;
  width:168%;
  height:136%;
  border:0;
  pointer-events:none;
  background:#000;
}
#ytPosts .yt-item.is-yt-hover .yt-thumb img{opacity:0}
#ytPosts .yt-thumb.is-loaded img{opacity:1}
#ytPosts .yt-thumb.is-loaded:before{display:none}
#ytPosts .yt-thumb.is-loading:after{
  content:"";
  position:absolute;
  z-index:3;
  top:50%;
  left:50%;
  width:15px;
  height:15px;
  margin:-8px 0 0 -8px;
  border:2px solid rgba(107,114,128,.25);
  border-top-color:#FF4500;
  border-radius:50%;
  animation:ytThumbSpin .7s linear infinite;
}
#ytPosts .yt-thumb-empty{background:linear-gradient(135deg,#e5e7eb,#f8fafc)}
#ytPosts .yt-thumb-empty:before{display:none}
#ytPosts .yt-thumb-empty:after{
  content:"IMAGE";
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:9px;
  font-weight:700;
  letter-spacing:.08em;
  color:#6B7280;
}
@keyframes ytThumbShimmer{to{transform:translateX(100%)}}
@keyframes ytThumbSpin{to{transform:rotate(360deg)}}
#ytPosts .yt-info{
  min-width:0;
  flex:1 1 auto;
  padding-top:1px;
}
#ytPosts .yt-title{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  max-height:2.72em;
  overflow:hidden;
  margin:0;
  font-size:14px;
  line-height:1.36;
  font-weight:600;
  color:inherit;
  word-break:break-word;
}
#ytPosts .yt-meta{
  margin-top:4px;
  font-size:12px;
  line-height:1.3;
  color:#6B7280;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#ytPosts .yt-empty{
  padding:14px 4px;
  font-size:12px;
  color:#6B7280;
}
@media (prefers-color-scheme:dark){
  #ytPosts .yt-count,
  #ytPosts .yt-meta,
  #ytPosts .yt-empty{color:#9CA3AF}
  #ytPosts .yt-item:hover{background:rgba(255,255,255,.06)}
  #ytPosts .yt-thumb{background:#252a31}
  #ytPosts .yt-thumb:before{
    background:linear-gradient(100deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.14) 50%,rgba(255,255,255,0) 70%);
  }
  #ytPosts .yt-thumb-empty{background:linear-gradient(135deg,#252a31,#343b45)}
}

/* ===== Light / Dark mode toggle ===== */
#jtThemeToggle{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:99999;
  width:42px;
  height:42px;
  padding:0;
  border:1px solid rgba(0,0,0,.12);
  border-radius:50%;
  background:rgba(255,255,255,.94);
  color:#292929;
  display:flex;
  align-items:center;
  justify-content:center;
  font:20px/1 system-ui,sans-serif;
  cursor:pointer;
  box-shadow:0 4px 14px rgba(0,0,0,.16);
  -webkit-tap-highlight-color:transparent;
}
#jtThemeToggle:hover{background:#fff}
@media screen and (max-width:600px){
  #jtThemeToggle{right:12px;bottom:12px;width:40px;height:40px;font-size:19px}
}

html[data-theme="dark"]{color-scheme:dark;background:#0f1113}
html[data-theme="dark"] body{
  background:#0f1113 !important;
  color:#e6e8eb !important;
}
html[data-theme="dark"] body.rd3-layout{
  --rd3-border:rgba(255,255,255,.14);
  --rd3-muted:#9CA3AF;
  --rd3-hover:rgba(255,255,255,.06);
  --rd3-active:rgba(255,255,255,.10);
  --rd3-ring:rgba(255,255,255,.18);
}
html[data-theme="dark"] .centered-top-container,
html[data-theme="dark"] .centered-top,
html[data-theme="dark"] .page_body,
html[data-theme="dark"] .main_content_container,
html[data-theme="dark"] .post-outer-container,
html[data-theme="dark"] .post-content,
html[data-theme="dark"] .post-body,
html[data-theme="dark"] .post-body-container{
  background:transparent !important;
  color:#e6e8eb !important;
}
html[data-theme="dark"] .post-title-container{
  background:#176b5a !important;
}
html[data-theme="dark"] .post-title-container .post-title{
  color:#fff !important;
}
html[data-theme="dark"] .centered-top-container a,
html[data-theme="dark"] .blog-title,
html[data-theme="dark"] .blog-title a,
html[data-theme="dark"] .post-body a{
  color:#8cc8ff !important;
}
html[data-theme="dark"] .post-body-container img{
  border-color:rgba(255,255,255,.22) !important;
  background:#111 !important;
}
html[data-theme="dark"] .post-body > .jt-about{
  background:#12161a !important;
  border-color:#262e34 !important;
  color:#e9edf0 !important;
}
html[data-theme="dark"] .post-body > .jt-about [style*="background:#f7faf8"]{
  background:#12161a !important;
  border-color:#262e34 !important;
  color:#e9edf0 !important;
}
html[data-theme="dark"] .post-body > .jt-about [style*="background:#ffffff"]{
  background:#171d21 !important;
  border-color:#2a3238 !important;
}
html[data-theme="dark"] .post-body > .jt-about [style*="border:1px solid #dfe5e1"]{border-color:#2a3238 !important}
html[data-theme="dark"] .post-body > .jt-about [style*="background:#e7f3ec"]{background:rgba(31,122,92,.22) !important}
html[data-theme="dark"] .post-body > .jt-about [style*="color:#14201b"]{color:#eef2f5 !important}
html[data-theme="dark"] .post-body > .jt-about [style*="color:#5f6b65"]{color:#b3bcc4 !important}
html[data-theme="dark"] .post-body > .jt-about [style*="color:#8a958f"]{color:#97a1a9 !important}
html[data-theme="dark"] .post-body > .jt-about [style*="color:#1f7a5c"]{color:#5fd3a9 !important}
html[data-theme="dark"] .post-body > .jt-about [style*="background:#14201b"]{
  background:#0b1512 !important;
  border:1px solid #24322c !important;
}
html.jt-static-page .status-msg-body,
html.jt-static-page .status-msg-wrap{display:none !important}
html.jt-static-page .sidebar-container,
html.jt-static-page .post-outer-container{display:none !important}
html.jt-static-page body{background:#ffffff !important}
html.jt-static-page #jtStaticHost{
  max-width:1100px;
  margin:0 auto;
  padding:12px 12px 48px;
}
html.jt-static-page #jtStaticHost iframe{
  display:block;
  width:100%;
  border:0;
  border-radius:14px;
  background:#fff;
  box-shadow:0 12px 34px rgba(0,0,0,.14);
}
/* 정적 페이지: 좌우 위젯(좌측 메뉴 레일, 우측 사이드바, 퀵내비) 제거 + 1열 전체 폭 */
html.jt-static-page #rd3Left,
html.jt-static-page .rd3-left,
html.jt-static-page #jtLeftToggle,
html.jt-static-page body.rd3-layout .sidebar-container,
html.jt-static-page body.rd3-layout .sidebar-container.sidebar-invisible,
html.jt-static-page .sidebar-wrapper,
html.jt-static-page .post-sidebar,
html.jt-static-page .post-outer-container,
html.jt-static-page #ytPosts{display:none !important}
html.jt-static-page:not(.jt-resume-page) #jtQuickNav{
  display:flex !important;
  flex-direction:row !important;
  left:50% !important;
  right:auto !important;
  top:auto !important;
  bottom:calc(14px + env(safe-area-inset-bottom,0px)) !important;
  transform:translateX(-50%) !important;
}
html.jt-static-page body.rd3-layout .main_content_container{
  display:block !important;
  width:100% !important;
  max-width:1280px !important;
  margin:0 auto !important;
  padding:0 16px !important;
}
html.jt-static-page body.rd3-layout .main_content_container > .page,
html.jt-static-page body.rd3-layout .page,
html.jt-static-page body.rd3-layout .page_body{
  width:100% !important;
  max-width:none !important;
  margin:0 auto !important;
}
html.jt-static-page body.rd3-layout .post-content.container,
html.jt-static-page body.rd3-layout .post-outer{
  width:100% !important;
  max-width:none !important;
}
html.jt-static-page body.rd3-layout .post-body-container{
  margin-left:0 !important;
  margin-right:0 !important;
  max-width:none !important;
}
html.jt-static-page.jt-resume-page body{overflow-x:hidden !important;margin:0 !important}
html.jt-static-page.jt-resume-page .header-outer,
html.jt-static-page.jt-resume-page .header-wrapper,
html.jt-static-page.jt-resume-page .tabs-outer,
html.jt-static-page.jt-resume-page .footer-outer,
html.jt-static-page.jt-resume-page .footer-fix,
html.jt-static-page.jt-resume-page .sidebar-container,
html.jt-static-page.jt-resume-page .sidebar-wrapper,
html.jt-static-page.jt-resume-page #rd3Left,
html.jt-static-page.jt-resume-page #jtLeftToggle,
html.jt-static-page.jt-resume-page .post-outer-container,
html.jt-static-page.jt-resume-page .post-footer,
html.jt-static-page.jt-resume-page .comments{display:none !important}
html.jt-static-page.jt-resume-page #page_body,
html.jt-static-page.jt-resume-page .main-inner,
html.jt-static-page.jt-resume-page .main-outer,
html.jt-static-page.jt-resume-page .main_content_container{width:100% !important;max-width:none !important;margin:0 !important;padding:0 !important;display:block !important}
html.jt-static-page.jt-resume-page #jtStaticHost{width:100% !important;max-width:none !important;margin:0 !important;padding:0 !important}
html.jt-static-page.jt-resume-page #jtStaticHost iframe{width:100%;max-width:210mm;margin:0 auto;border-radius:0;box-shadow:none}
/* 404 */
.jt-404{max-width:680px;margin:0 auto;padding:34px 20px 50px;text-align:center}
.jt-404-code{margin:0 0 6px;font-size:60px;line-height:1;font-weight:800;letter-spacing:-.02em;color:var(--main-color,#1f7a5c)}
.jt-404 h1{margin:0 0 10px;font-size:24px;line-height:1.35}
.jt-404 p{margin:0 0 18px;line-height:1.7;color:#5f6b65}
.jt-404-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:0 0 26px}
.jt-404-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border:1px solid #d9e1dc;border-radius:10px;color:inherit;text-decoration:none;font-size:14px;font-weight:700;transition:opacity .2s ease}
.jt-404-btn.primary{background:var(--main-color,#1f7a5c);border-color:var(--main-color,#1f7a5c);color:#fff}
.jt-404-btn:hover{opacity:.86}
.jt-404-recent{list-style:none;display:grid;gap:8px;max-width:520px;margin:0 auto;padding:0;text-align:left}
.jt-404-recent a{display:block;padding:10px 12px;border:1px solid #e5ebe7;border-radius:8px;color:inherit;text-decoration:none;font-size:14px;line-height:1.5}
.jt-404-recent a:hover{border-color:var(--main-color,#1f7a5c)}
html[data-theme="dark"] .jt-404 p{color:#9CA3AF}
html[data-theme="dark"] .jt-404-btn{border-color:rgba(255,255,255,.18)}
html[data-theme="dark"] .jt-404-recent a{border-color:rgba(255,255,255,.14)}
html[data-theme="dark"] .sidebar-container,
html[data-theme="dark"] .rd3-left-inner{
  border-color:rgba(255,255,255,.14) !important;
}
html[data-theme="dark"] .sidebar-container .widget{
  background:transparent !important;
  color:#e6e8eb !important;
}
html[data-theme="dark"] .search input,
html[data-theme="dark"] .search-input input,
html[data-theme="dark"] input[type="text"]{
  background:#1a1d21 !important;
  color:#e6e8eb !important;
  border-color:rgba(255,255,255,.18) !important;
}
html[data-theme="dark"] #jtThemeToggle{
  background:#2b3339;
  color:#ffffff;
  border-color:rgba(255,255,255,.45);
  box-shadow:0 4px 16px rgba(0,0,0,.55);
}
html[data-theme="dark"] #ytPosts .yt-count,
html[data-theme="dark"] #ytPosts .yt-meta,
html[data-theme="dark"] #ytPosts .yt-empty{color:#9CA3AF}
html[data-theme="dark"] #ytPosts .yt-item:not(.is-out):hover .yt-card,
html[data-theme="dark"] #ytPosts .yt-item:not(.is-out):focus-visible .yt-card{
  background:rgba(255,255,255,.075);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.20),0 10px 24px rgba(0,0,0,.5);
}
html[data-theme="dark"] #ytPosts .yt-item:not(.is-out):hover .yt-thumb,
html[data-theme="dark"] #ytPosts .yt-item:not(.is-out):focus-visible .yt-thumb{
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);
}
html[data-theme="dark"] #ytPosts .yt-thumb{background:#252a31}
html[data-theme="dark"] #ytPosts .yt-thumb:before{
  background:linear-gradient(100deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.14) 50%,rgba(255,255,255,0) 70%);
}
html[data-theme="dark"] #ytPosts .yt-thumb-empty{background:linear-gradient(135deg,#252a31,#343b45)}

/* ===== Right-side floating quick nav (페이지 번호와 겹치지 않도록 우측 중앙) ===== */
#jtQuickNav{
  position:fixed;
  right:calc(14px + env(safe-area-inset-right,0px));
  top:50%;
  left:auto;
  bottom:auto;
  transform:translateY(-50%);
  z-index:99998;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  padding:6px;
  border:1px solid rgba(255,255,255,.6);
  border-radius:999px;
  background:rgba(255,255,255,.5);
  -webkit-backdrop-filter:blur(14px) saturate(1.2);
  backdrop-filter:blur(14px) saturate(1.2);
  box-shadow:0 10px 30px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.35);
}
#jtQuickNav .jt-qn-btn{
  width:44px;
  height:44px;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#292929;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  text-decoration:none !important;
  transition:background-color .15s ease,opacity .2s ease;
  -webkit-tap-highlight-color:transparent;
}
#jtQuickNav .jt-qn-btn:hover{background:rgba(0,0,0,.08)}
#jtQuickNav .jt-qn-btn svg{width:22px;height:22px;display:block}
#jtQuickNav .jt-qn-btn.is-dim{opacity:.45}
html[data-theme="dark"] #jtQuickNav{
  background:rgba(10,14,17,.5);
  border-color:rgba(255,255,255,.35);
  box-shadow:0 10px 30px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.12);
}
html[data-theme="dark"] #jtQuickNav .jt-qn-btn{
  color:#ffffff;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.65));
}
html[data-theme="dark"] #jtQuickNav .jt-qn-btn:hover{background:rgba(255,255,255,.18)}
html[data-theme="dark"] #jtQuickNav .jt-qn-btn.is-dim{opacity:.72}
@media screen and (max-width:600px){
  #jtQuickNav{right:calc(10px + env(safe-area-inset-right,0px));padding:5px;gap:5px}
  #jtQuickNav .jt-qn-btn{width:42px;height:42px}
  #jtQuickNav .jt-qn-btn svg{width:21px;height:21px}
}

/* [md] Markdown rendering */
.post-body .md-ready{display:block}
.post-body{--jt-md-accent:var(--main-color,#ec4899);--jt-md-title:var(--title-color,#1f2328);--jt-md-border:var(--border-color,#dde2e7);--jt-md-soft:rgba(236,72,153,.09);--jt-md-th-bg:#f2f6f8;--jt-md-row-alt:#fafcfd;--jt-md-table-bg:#ffffff}
html[data-theme="dark"] .post-body{--jt-md-title:#e6e8eb;--jt-md-border:rgba(255,255,255,.18);--jt-md-soft:rgba(255,255,255,.06);--jt-md-th-bg:rgba(255,255,255,.07);--jt-md-row-alt:rgba(255,255,255,.035);--jt-md-table-bg:rgba(255,255,255,.02)}
.post-body h1{font-size:clamp(24px,3vw,30px);line-height:1.3;font-weight:800;letter-spacing:-.015em;color:var(--jt-md-title);margin:36px 0 18px;padding:0 0 10px;border-bottom:2px solid var(--jt-md-border);scroll-margin-top:90px}
.post-body h2{font-size:clamp(21px,2.6vw,24px);line-height:1.38;font-weight:800;letter-spacing:-.01em;color:var(--jt-md-title);margin:36px 0 16px;padding:10px 14px 10px 18px;border-left:5px solid var(--jt-md-accent);border-bottom:1px solid var(--jt-md-border);border-radius:6px 10px 10px 6px;background:var(--jt-md-soft);background:linear-gradient(90deg,var(--jt-md-soft),transparent 78%);scroll-margin-top:90px}
.post-body h3{font-size:clamp(17px,2.2vw,20px);line-height:1.45;font-weight:700;color:var(--jt-md-accent);margin:28px 0 12px;padding:6px 12px;border-left:3px solid var(--jt-md-accent);border-radius:0 8px 8px 0;background:linear-gradient(90deg,var(--jt-md-soft),transparent 68%);scroll-margin-top:90px}
.post-body h4{font-size:16.5px;line-height:1.5;font-weight:700;color:var(--jt-md-title);margin:22px 0 10px;padding:7px 12px 7px 14px;border-left:2px solid var(--jt-md-border);border-radius:0 8px 8px 0;background:var(--jt-md-row-alt);scroll-margin-top:90px}
.post-body h4::before{content:"";display:inline-block;width:7px;height:7px;margin-right:8px;border-radius:2px;background:var(--jt-md-accent);vertical-align:2px}
.post-body h5,.post-body h6{font-size:15px;line-height:1.5;font-weight:700;color:var(--jt-md-title);margin:18px 0 8px}
.post-body > h1:first-child,.post-body > h2:first-child,.post-body > h3:first-child,.post-body .markdown > :first-child{margin-top:0}
.post-body table{width:100%;margin:20px 0;border:1px solid var(--jt-md-border);border-radius:12px;border-collapse:separate;border-spacing:0;overflow:hidden;table-layout:auto;background:var(--jt-md-table-bg);font-size:14.5px;line-height:1.65}
.post-body th,.post-body td{padding:10px 12px;border-right:1px solid var(--jt-md-border);border-bottom:1px solid var(--jt-md-border);text-align:left;vertical-align:top;white-space:normal;word-break:keep-all;overflow-wrap:anywhere;hyphens:auto}
.post-body th:last-child,.post-body td:last-child{border-right:0}
.post-body tbody tr:last-child td{border-bottom:0}
.post-body thead th{background:var(--jt-md-th-bg);font-weight:700;color:var(--jt-md-title);border-bottom:2px solid var(--jt-md-border)}
.post-body tbody tr:nth-child(even){background:var(--jt-md-row-alt)}
.post-body tbody tr:hover{background:var(--jt-md-soft)}
.jt-table-wrap{width:100%;max-width:100%;box-sizing:border-box;margin:20px 0;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--jt-md-border);border-radius:12px;background:var(--jt-md-table-bg)}
.jt-table-wrap table{width:100%;min-width:600px;margin:0;border:0;border-radius:0}
@media only screen and (max-width:640px){.jt-table-wrap table{min-width:560px}.post-body th,.post-body td{padding:8px 10px;font-size:14px}}
.post-body .markdown u{text-decoration:underline;text-decoration-color:var(--main-color,#ec4899);text-decoration-thickness:2px;text-underline-offset:3px}
.post-body .markdown mark{background-color:rgba(255,214,0,.45);color:inherit;padding:1px 4px;border-radius:3px}
.post-body .md-code{position:relative;margin:0 0 20px}
.post-body .md-code pre{margin:0}
.post-body .md-copy{position:absolute;top:8px;right:8px;z-index:2;padding:4px 10px;font-family:var(--meta-font,Arial,sans-serif);font-size:12px;font-weight:600;line-height:1;border:0;border-radius:4px;background:var(--main-color,#ec4899);color:#fff;cursor:pointer;opacity:.85;transition:opacity .2s ease}
.post-body .md-copy:hover{opacity:1}
.post-body .ify-fold{position:relative;margin:0}
.post-body .ify-fold:not(:last-child){margin-bottom:20px}
.post-body .ify-fold-inner{position:relative;max-height:260px;overflow:hidden}
.post-body .ify-fold.is-open .ify-fold-inner{max-height:none;overflow:visible}
.post-body .ify-fold:not(.is-open) .ify-fold-inner{-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 90px),transparent 100%);mask-image:linear-gradient(to bottom,#000 calc(100% - 90px),transparent 100%)}
.post-body .ify-fold:not(.is-open) .ify-fold-inner:after{display:none !important}
.post-body .ify-fold-more{text-align:center}
.post-body .ify-fold-btn{display:inline-block;margin:12px 0 0;padding:9px 24px;border:0;border-radius:20px;background:var(--main-color,#ec4899);color:#fff;font-size:14px;font-weight:600;cursor:pointer;transition:opacity .2s ease}
.post-body .ify-fold-btn:hover{opacity:.88}
.post-body .ify-fold:last-child .ify-fold-more{margin-bottom:0}
.post-body .markdown:last-child{margin-bottom:0}
.post-body .markdown:last-child>*:last-child{margin-bottom:0}

/* [youtube link="..."] responsive embed */
.jt-yt-embed{display:block;position:relative;width:calc(100% - 48px);max-width:100%;aspect-ratio:16/9;margin:22px auto;background:#000;border-radius:12px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.25)}
/* v1.2.140: 마크다운 본문(.markdown 은 좌우 24px 패딩) 안에서는 이미지가 부모 폭을 그대로 채우므로
   유튜브도 같은 폭을 쓴다(이중 여백 제거). 숏츠(9:16)는 제외한다. */
.post-body .markdown .jt-yt-embed:not(.jt-shorts){width:100%;max-width:100%;margin-left:0;margin-right:0}
.jt-yt-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;z-index:2}
.jt-yt-embed:before{content:"";position:absolute;inset:0;background:#000}
.jt-yt-embed.ready:before{display:none}
.jt-yt-embed img.jt-yt-thumb{
  position:absolute !important;inset:0 !important;
  width:100% !important;max-width:none !important;height:100% !important;
  object-fit:cover !important;object-position:center center !important;
  display:block !important;margin:0 !important;
  border:0 !important;border-radius:0 !important;
  z-index:3;
}
/* 본문 이미지 강제 규칙(22-post-image, !important)보다 우선 */
body.item-view .post-body-container > .post-body img.jt-yt-thumb{
  position:absolute !important;inset:0 !important;
  width:100% !important;max-width:none !important;height:100% !important;
  object-fit:cover !important;object-position:center center !important;
  display:block !important;margin:0 !important;
  border:0 !important;border-radius:0 !important;
  z-index:3;
}
.jt-yt-embed.ready img.jt-yt-thumb,
.jt-yt-embed.ready button.jt-yt-play,
body.item-view .post-body-container .jt-yt-embed.ready img.jt-yt-thumb,
body.item-view .post-body-container > .post-body.entry-content .jt-yt-embed.ready img.jt-yt-thumb{display:none !important}
.jt-yt-play{position:absolute;z-index:4;left:50%;top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;padding:0;border:1px solid rgba(255,255,255,.75);border-radius:50%;background:rgba(15,17,19,.72);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.35)}
.jt-yt-play:hover{background:rgba(255,0,0,.82)}
.jt-yt-play svg{width:28px;height:28px;margin-left:3px}
@media only screen and (max-width:600px){.jt-yt-embed{width:calc(100% - 32px);border-radius:10px;margin:16px auto}}

/* 세로(숏츠) 영상: 화면 중앙에 9:16으로 배치 */
.jt-yt-embed.jt-shorts{width:min(calc(100% - 96px),360px);aspect-ratio:9/16;margin:22px auto;border-radius:16px}
.jt-yt-embed.jt-shorts iframe{width:100%;height:100%}
@media only screen and (max-width:768px){.jt-yt-embed.jt-shorts{width:min(calc(100% - 32px),360px);margin:16px auto}}

/* Google 지도 임베드 ([map "주소"]) */
.jt-map-embed{display:block;position:relative;width:min(calc(100% - 32px),900px);aspect-ratio:16/9;margin:22px auto;border-radius:12px;overflow:hidden;background:#e9edf0;box-shadow:0 8px 24px rgba(0,0,0,.16)}
.jt-map-embed .jt-map-note{position:absolute;inset:0;z-index:0;display:flex;align-items:center;justify-content:center;padding:16px;text-align:center;font-size:14px;color:#5b6670}
.jt-map-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;z-index:1}
.jt-map-fallback{display:block;width:fit-content;margin:10px auto 0;padding:6px 14px;border:1px solid rgba(0,0,0,.14);border-radius:999px;background:rgba(0,0,0,.03);font-size:13px;color:inherit;text-decoration:none}
.jt-map-fallback:hover{text-decoration:underline}
html[data-theme="dark"] .jt-map-fallback{border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.06)}
html[data-theme="dark"] .jt-map-embed{background:#1b231f}
@media only screen and (max-width:768px){.jt-map-embed{width:calc(100% - 24px);border-radius:10px;margin:16px auto}}
/* ===== 글 끝 댓글: '댓글 쓰기 / 보이기' (YouTube 스타일) ===== */
.jt-cmt{margin:26px 0 8px;font-family:inherit;color:inherit}
.jt-cmt-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 12px}
.jt-cmt-title{font-size:17px;font-weight:700;line-height:1.3;margin:0;padding:0;border:0}
.jt-cmt-actions{display:flex;gap:8px}
.jt-cmt-btn{appearance:none;-webkit-appearance:none;border:0;border-radius:999px;background:rgba(0,0,0,.055);color:inherit;font-family:inherit;font-size:13px;font-weight:600;line-height:1;padding:9px 16px;cursor:pointer;transition:background .15s ease}
.jt-cmt-btn:hover{background:rgba(0,0,0,.1)}
.jt-cmt-btn.is-on{background:rgba(0,0,0,.1)}
.jt-cmt-form{margin:0 0 14px;border:1px solid rgba(0,0,0,.1);border-radius:12px;overflow:hidden;background:#fff}
.jt-cmt-form[hidden]{display:none}
.jt-cmt-form iframe{display:block;width:100%;height:440px;border:0}
.jt-cmt-list[hidden]{display:none}
.jt-cmt-item{display:flex;gap:12px;padding:14px 0;border-top:1px solid rgba(0,0,0,.06)}
.jt-cmt-item:first-child{border-top:0}
.jt-cmt-avatar{flex:0 0 38px;width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:15px;font-weight:700;overflow:hidden}
.jt-cmt-avatar img{width:100%;height:100%;object-fit:cover}
.jt-cmt-main{min-width:0;flex:1 1 auto}
.jt-cmt-meta{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin:0 0 3px}
.jt-cmt-name{font-size:13px;font-weight:700}
.jt-cmt-time{font-size:12px;color:rgba(0,0,0,.55)}
.jt-cmt-text{font-size:14.5px;line-height:1.6;word-break:break-word}
.jt-cmt-text p{margin:0 0 6px}
.jt-cmt-text p:last-child{margin-bottom:0}
.jt-cmt-empty{padding:14px 0;font-size:14px;color:rgba(0,0,0,.55)}
html[data-theme="dark"] .jt-cmt-btn{background:rgba(255,255,255,.1)}
html[data-theme="dark"] .jt-cmt-btn:hover{background:rgba(255,255,255,.16)}
html[data-theme="dark"] .jt-cmt-form{border-color:rgba(255,255,255,.14);background:#1b231f}
html[data-theme="dark"] .jt-cmt-item{border-top-color:rgba(255,255,255,.08)}
html[data-theme="dark"] .jt-cmt-time{color:rgba(255,255,255,.55)}
@media only screen and (max-width:768px){.jt-cmt{margin:20px 0 4px}.jt-cmt-form iframe{height:400px}}


/* 추천 글 사이드바 스크롤바 숨김 */
body.rd3-layout .sidebar-container{
  scrollbar-width:none;
  -ms-overflow-style:none;
}
body.rd3-layout .sidebar-container::-webkit-scrollbar{
  width:0;
  height:0;
  display:none;
}

/* ===== /search : 라벨 필터 + 페이지네이션 ===== */
html.jt-search-app body.feed-view .blog-posts,
html.jt-search-app body.feed-view .feed-message,
html.jt-search-app body.feed-view .status-msg-body,
html.jt-search-app #blog-pager{display:none !important}
#jtSearchApp{
  max-width:920px;
  margin:0 auto;
  padding:32px 16px 48px;
  font-family:inherit;
  color:inherit;
}
#jtSearchApp .jt-sp-bar{
  display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px;
}
#jtSearchApp .jt-sp-chip{
  appearance:none;-webkit-appearance:none;
  border:1px solid rgba(0,0,0,.14);border-radius:999px;
  background:transparent;color:inherit;
  font-family:inherit;font-size:13px;font-weight:600;line-height:1;
  padding:9px 14px;cursor:pointer;
  transition:background .18s ease,border-color .18s ease,color .18s ease;
}
#jtSearchApp .jt-sp-chip:hover{border-color:var(--main-color,#1f7a5c)}
#jtSearchApp .jt-sp-chip.is-on{
  background:var(--main-color,#1f7a5c);
  border-color:var(--main-color,#1f7a5c);color:#fff;
}
#jtSearchApp .jt-sp-chip small{font-size:11px;font-weight:500;opacity:.75;margin-left:4px}
#jtSearchApp .jt-sp-status{margin:0 0 14px;font-size:13px;opacity:.7}
#jtSearchApp .jt-sp-list{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
#jtSearchApp .jt-sp-item{
  display:flex;flex-direction:column;gap:12px;align-items:stretch;
  padding:12px;border:1px solid rgba(0,0,0,.1);border-radius:14px;
  background:rgba(0,0,0,.015);color:inherit !important;text-decoration:none !important;
  position:relative;z-index:1;
  transition:border-color .18s ease,box-shadow .18s ease,transform .16s ease;
}
/* /search 카드도 추천·인기 글과 같은 들뜸 효과 (테마 !important 를 이기려면 transform 에 !important 필요) */
#jtSearchApp .jt-sp-item:hover,
#jtSearchApp .jt-sp-item:focus-visible{
  border-color:var(--main-color,#1f7a5c);
  box-shadow:0 10px 24px rgba(0,0,0,.08);
  transform:translateY(-2px) scale(1.02) !important;
  z-index:2;
}
@media (prefers-reduced-motion:reduce){
  #jtSearchApp .jt-sp-item:hover,
  #jtSearchApp .jt-sp-item:focus-visible{transform:none !important}
}
#jtSearchApp .jt-sp-thumb{
  flex:none;width:100%;aspect-ratio:16/9;
  border-radius:10px;overflow:hidden;background:rgba(0,0,0,.06);
}
#jtSearchApp .jt-sp-thumb img{display:block;width:100%;height:100%;object-fit:cover}
#jtSearchApp .jt-sp-thumb.is-empty{display:none}
#jtSearchApp .jt-sp-body{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1 1 auto}
#jtSearchApp .jt-sp-title{font-size:15px;font-weight:700;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#jtSearchApp .jt-sp-snip{
  font-size:13px;line-height:1.6;opacity:.72;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
#jtSearchApp .jt-sp-meta{font-size:11.5px;opacity:.55;margin-top:2px}
#jtSearchApp .jt-sp-empty{padding:44px 0;text-align:center;font-size:14px;opacity:.7}
#jtSearchApp .jt-sp-pager{
  display:flex;justify-content:center;align-items:center;flex-wrap:wrap;
  gap:6px;margin:28px 0 0;
}
#jtSearchApp .jt-sp-pg{
  appearance:none;-webkit-appearance:none;min-width:38px;height:38px;padding:0 11px;
  border:1px solid rgba(0,0,0,.14);border-radius:10px;
  background:transparent;color:inherit;font-family:inherit;
  font-size:14px;font-weight:600;cursor:pointer;
  transition:background .18s ease,color .18s ease,border-color .18s ease;
}
#jtSearchApp .jt-sp-pg:hover:not(:disabled):not(.is-on){
  border-color:var(--main-color,#1f7a5c);color:var(--main-color,#1f7a5c);
}
#jtSearchApp .jt-sp-pg.is-on{
  background:var(--main-color,#1f7a5c);
  border-color:var(--main-color,#1f7a5c);color:#fff;cursor:default;
}
#jtSearchApp .jt-sp-pg:disabled{opacity:.35;cursor:default}
#jtSearchApp .jt-sp-gap{min-width:24px;text-align:center;opacity:.5}
html[data-theme="dark"] #jtSearchApp .jt-sp-chip,
html[data-theme="dark"] #jtSearchApp .jt-sp-item,
html[data-theme="dark"] #jtSearchApp .jt-sp-pg{border-color:rgba(255,255,255,.16)}
html[data-theme="dark"] #jtSearchApp .jt-sp-item{background:rgba(255,255,255,.03)}
html[data-theme="dark"] #jtSearchApp .jt-sp-item:hover,
html[data-theme="dark"] #jtSearchApp .jt-sp-item:focus-visible{
  box-shadow:0 12px 26px rgba(0,0,0,.55);
}
html[data-theme="dark"] #jtSearchApp .jt-sp-thumb{background:rgba(255,255,255,.08)}
@media screen and (max-width:1100px){
  #jtSearchApp .jt-sp-list{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media screen and (max-width:900px){
  #jtSearchApp .jt-sp-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media screen and (max-width:640px){
  #jtSearchApp{padding:24px 12px 40px}
  #jtSearchApp .jt-sp-list{grid-template-columns:1fr;gap:14px}
  #jtSearchApp .jt-sp-item{padding:12px}
  #jtSearchApp .jt-sp-title{font-size:16px}
  #jtSearchApp .jt-sp-snip{font-size:13.5px}
  #jtSearchApp .jt-sp-pg{min-width:34px;height:34px;font-size:13px}
}
/* 긴 글 접기/더보기 (세 도메인 공통, JS가 클래스 부여). 가려진 240px 구간에 blur + 다단 그라데이션 */
    .post-body.jt-expandable{--jt-expand-fade:#fff;position:relative;max-height:900px;overflow:hidden}
    html[data-theme="dark"] .post-body.jt-expandable{--jt-expand-fade:#0f1113}
    .post-body.jt-expandable.is-open{max-height:none;overflow:visible}
    .post-body.jt-expandable:not(.is-open)::before{content:'';position:absolute;display:block;left:0;right:0;bottom:0;width:auto;height:240px;pointer-events:none;z-index:1;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);-webkit-mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.55) 55%,#000 100%);mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.55) 55%,#000 100%)}
    .post-body.jt-expandable:not(.is-open)::after{content:'';position:absolute;display:block;left:0;right:0;bottom:0;width:auto;height:240px;pointer-events:none;z-index:2;background:linear-gradient(to bottom,rgba(255,255,255,0) 0%,rgba(255,255,255,.10) 16%,rgba(255,255,255,.42) 42%,rgba(255,255,255,.74) 66%,rgba(255,255,255,.93) 85%,var(--jt-expand-fade) 100%)}
    html[data-theme="dark"] .post-body.jt-expandable:not(.is-open)::after{background:linear-gradient(to bottom,rgba(15,17,19,0) 0%,rgba(15,17,19,.16) 16%,rgba(15,17,19,.50) 42%,rgba(15,17,19,.80) 66%,rgba(15,17,19,.95) 85%,var(--jt-expand-fade) 100%)}
.jt-expand-btn{display:block;margin:16px auto 4px;padding:10px 28px;border:1px solid rgba(0,0,0,.16);border-radius:999px;background:#fff;color:#111;font:700 14px/1 inherit;letter-spacing:.2px;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.12);transition:transform .15s ease,box-shadow .15s ease}
.jt-expand-btn:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(0,0,0,.16)}
.jt-expand-btn:active{transform:translateY(0)}
html[data-theme="dark"] .jt-expand-btn{background:#1b231f;color:#eef2ef;border-color:rgba(255,255,255,.22);box-shadow:0 6px 18px rgba(0,0,0,.4)}
