/* Reddit-style Blogger YouTube post list — v1.1.9 */
#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;
  height:1120px;
  overflow:hidden;
  perspective:700px;
  border-radius:8px;
}
#ytPosts .yt-viewport:before,
#ytPosts .yt-viewport:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:38px;
  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 .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:flex-start;
  gap:9px;
  height:78px;
  flex:0 0 78px;
  box-sizing:border-box;
  padding:5px 6px;
  border-radius:8px;
  color:inherit !important;
  text-decoration:none !important;
  transition:transform .55s cubic-bezier(.22,.9,.3,1),opacity .45s ease,background-color .12s ease;
  transform-origin:center top;
}
#ytPosts .yt-item.is-out{
  opacity:0;
  transform:rotateX(-78deg) translateY(-8px);
}
#ytPosts .yt-item:hover{background:transparent !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:122px;
  aspect-ratio:16/9;
  flex:0 0 122px;
  border-radius:8px;
  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.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.76em;
  overflow:hidden;
  margin:0;
  font-size:12.5px;
  line-height:1.38;
  font-weight:600;
  color:inherit;
  word-break:break-word;
}
#ytPosts .yt-meta{
  margin-top:4px;
  font-size:11px;
  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);
}
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"] .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:hover{background:transparent !important}
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)}

/* ===== Bottom-center quick nav ===== */
#jtQuickNav{
  position:fixed;
  left:50%;
  bottom:calc(14px + env(safe-area-inset-bottom,0px));
  transform:translateX(-50%);
  z-index:99998;
  display:flex;
  align-items:center;
  gap:4px;
  padding:5px;
  border:1px solid rgba(255,255,255,.45);
  border-radius:999px;
  background:rgba(255,255,255,.58);
  -webkit-backdrop-filter:blur(14px) saturate(1.2);
  backdrop-filter:blur(14px) saturate(1.2);
  box-shadow:0 8px 26px rgba(0,0,0,.18);
}
#jtQuickNav .jt-qn-btn{
  width:36px;
  height:36px;
  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:19px;height:19px;display:block}
#jtQuickNav .jt-qn-btn.is-dim{opacity:.45}
html[data-theme="dark"] #jtQuickNav{
  background:rgba(10,14,17,.88);
  border-color:rgba(255,255,255,.30);
  box-shadow:0 8px 26px rgba(0,0,0,.55);
}
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{bottom:calc(10px + env(safe-area-inset-bottom,0px));padding:4px}
  #jtQuickNav .jt-qn-btn{width:34px;height:34px}
}

/* ===== Home hero video ===== */
html.jt-home-page .jt-hero{
  position:relative;
  width:100%;
  height:clamp(260px,38vw,520px);
  margin:0 0 28px;
  border-radius:14px;
  overflow:hidden;
  background:#0f1113;
  isolation:isolate;
}
html.jt-home-page .jt-hero-media,
html.jt-home-page .jt-hero-media iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
html.jt-home-page .jt-hero-media iframe{
  border:0;
  pointer-events:none;
  transform:scale(1.18);
}
html.jt-home-page .jt-hero-poster{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.04);
}
html.jt-home-page .jt-hero-play{
  position:absolute;
  z-index:3;
  left:50%;
  top:50%;
  width:64px;
  height:64px;
  margin:-32px 0 0 -32px;
  padding:0;
  border:1px solid rgba(255,255,255,.65);
  border-radius:50%;
  background:rgba(255,255,255,.16);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
html.jt-home-page .jt-hero-play:hover{background:rgba(255,255,255,.28)}
html.jt-home-page .jt-hero-play svg{width:24px;height:24px;margin-left:3px}
html.jt-home-page .jt-hero:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(90deg,rgba(0,0,0,.65),rgba(0,0,0,.18) 60%,rgba(0,0,0,.35));
  pointer-events:none;
}
html.jt-home-page .jt-hero-copy{
  position:absolute;
  z-index:2;
  left:clamp(18px,4vw,48px);
  bottom:clamp(20px,4vw,44px);
  right:clamp(18px,4vw,48px);
  color:#fff;
}
html.jt-home-page .jt-hero-kicker{
  margin:0 0 8px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.14em;
  color:#ffb199;
}
html.jt-home-page .jt-hero-title{
  margin:0;
  font-size:clamp(26px,3.4vw,46px);
  line-height:1.2;
  font-weight:700;
  color:#fff;
}
html.jt-home-page .jt-hero-sub{
  margin:8px 0 0;
  font-size:clamp(12px,1.3vw,16px);
  color:rgba(255,255,255,.86);
}

/* 추천 글 사이드바 스크롤바 숨김 */
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;
}
