@charset "utf-8";
/* 레트로 광고 화면 글꼴 (방송 자막 고딕 · 옛 간판 필기체) */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Yellowtail&display=swap');
/* my-era 스킨 CSS — 티스토리 스킨 편집 > CSS 탭에 통째로 붙여넣기 */

:root{
  --point:#eff5fa;
  /* 배경 사진을 쓰고 싶으면 none 대신 url('이미지주소') 입력 */
  --page-bg-image:none;
  --bg:#fff;
  --paper:#fff;
  --ink:#111;
  --muted:#969691;
  --line:#e5e5e0;
  --line2:#efefeb;
  --soft:#f7f7f4;
  --accent:#7f95a5;
  --shadow:0 2px 8px rgba(20,24,28,.035);
}
*{box-sizing:border-box}
html,body{
  width:100%;
  height:100%;
  margin:0;
  overflow:hidden!important;
  background-color:var(--bg);
  background-image:var(--page-bg-image);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  background-attachment:fixed;
  color:var(--ink);
}
body{
  font-family:Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{border:0;background:none;color:inherit;padding:0}
svg{display:block}
::selection{background:#dce3ec;color:#111}

.shell{
  position:fixed;
  inset:0;
  z-index:10;
  display:grid;
  place-items:center;
  padding:24px;
  overflow:hidden;
}

.dictionary{
  position:relative;
  width:min(530px,calc(100vw - 28px));
  background:#fff;
  border:1px solid var(--line);
  border-radius:2px;
  box-shadow:0 1px 4px rgba(20,24,28,.025);
}
.main{padding:17px 18px 15px}

.head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
}
.badge{
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:0 8px;
  border:1px solid #deded9;
  font-size:12px;
  color:#92928e;
}
.plus{
  position:relative;
  width:34px;height:34px;
  flex:0 0 auto;
  border-radius:0;
  background:var(--point);
  cursor:pointer;
  transition:.2s ease;
}
.plus:hover{background:#e5f0f7;
  position:absolute;
  left:50%;top:50%;
  width:16px;height:1px;
  background:#fff;
  transform:translate(-50%,-50%);
}
.plus::after{transform:translate(-50%,-50%) rotate(90deg)}
.plus.is-active{transform:rotate(45deg);background:#e5f0f7;
  max-width:90%;
  font-size:clamp(36px,5.1vw,50px);
  line-height:.93;
  letter-spacing:-.075em;
  font-weight:760;
  word-break:keep-all;
}
.desc{
  margin-top:8px;
  color:#a4a49f;
  font-size:11px;
}


.pronounce{
  margin-top:12px;
  display:grid;
  grid-template-columns:62px 1fr;
  gap:9px;
  align-items:center;
}
.pron-label{
  color:#93938e;
  font-size:12px;
}
.pron-list{
  display:flex;
  align-items:center;
  width:max-content;
  border:1px solid var(--line);
}
.pron-btn{
  width:30px;
  height:29px;
  display:grid;
  place-items:center;
  color:var(--accent);
  background:#fff;
  border-left:1px solid var(--line);
  cursor:pointer;
  transition:background .12s ease,color .12s ease;
}
.pron-btn:first-child{border-left:0}
.pron-btn:hover{
  background:var(--point);
  color:#6f8798;
}
.pron-btn svg{
  width:15px;height:15px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.lookup{
  margin-top:13px;
  display:block;
}
.label{
  color:#93938e;
  font-size:13px;
  line-height:38px;
}
.controls{
  display:flex;
  align-items:center;
  gap:6px;
  margin-left:89px;
}
.index-btn{
  width:34px;
  height:34px;
  padding:0;
  border:1px solid var(--line);
  display:grid;
  place-items:center;
  color:#7f95a5;
  background:#fff;
  cursor:pointer;
  transition:background .12s ease,color .12s ease,border-color .12s ease;
}
.index-btn:hover,.index-btn.is-active{
  background:var(--point);
  color:#5f7088;
}
.index-btn svg,
.square-btn svg{
  width:17px;height:17px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.square-btn{
  width:34px;height:34px;
  display:grid;place-items:center;
  border:1px solid var(--line);
  border-radius:2px;
  color:var(--accent);
  cursor:pointer;
  transition:.16s ease;
}
.square-btn:hover,.square-btn.is-active{
  background:var(--point);
  color:#6f8798;
}

.search-row{
  margin-left:89px;
  width:min(300px,calc(100% - 89px));
  height:0;
  opacity:0;
  overflow:hidden;
  display:flex;
  align-items:center;
  border-bottom:1px solid transparent;
  transition:height .22s ease,opacity .18s ease,margin-top .22s ease,border-color .22s ease;
}
.search-row.is-open{
  height:37px;
  opacity:1;
  margin-top:9px;
  border-color:#d2d2cc;
}
.search-row input{
  min-width:0;
  flex:1;
  border:0;
  outline:0;
  background:transparent;
  padding:6px 2px;
  font-size:13px;
}
.search-go{
  width:30px;height:30px;
  display:grid;place-items:center;
  color:#8b98ab;
  cursor:pointer;
}

/* embedded dictionary index — opens directly under the main dictionary UI */
.index-panel{
  position:relative;
  z-index:20;
  width:100%;
  height:0;
  max-height:0;
  overflow:hidden;
  border-top:0 solid var(--line);
  background:#fff;
  opacity:0;
  pointer-events:none;
  transition:
    max-height .30s cubic-bezier(.2,.75,.25,1),
    opacity .18s ease,
    border-width .18s ease;
}
.index-panel.is-open{
  height:auto;
  max-height:246px;
  border-top-width:1px;
  opacity:1;
  pointer-events:auto;
}

.index-grid{
  height:246px;
  min-height:0;
  display:grid;
  grid-template-columns:160px minmax(0,1fr);
}

/* category tree — editorial / dictionary index */
.category-pane{
  min-width:0;
  overflow:auto;
  overscroll-behavior:contain;
  padding:14px 14px 14px 15px;
  border-right:1px solid #f1f1ed;
  background:#fff;
}
.category-tree ul{
  list-style:none;
  margin:0;
  padding:0;
}
.category-tree li{
  position:relative;
  margin:0;
  padding:0;
}
.category-tree a{
  position:relative;
  display:block;
  min-width:0;
  padding:5px 2px;
  color:#666661;
  font-size:10.5px;
  line-height:1.4;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  background:transparent !important;
  border:0 !important;
}
.category-tree a:hover{
  color:#111;
  background:transparent !important;
}
.category-tree>.all-category{
  margin:0 0 5px;
  padding-bottom:8px;
  border-bottom:1px solid #f0f0ec !important;
  color:#20201e;
  font-weight:500;
}
.category-tree ul ul{
  padding-left:13px;
}
.category-tree ul ul li::before{
  content:"";
  position:absolute;
  left:1px;
  top:11px;
  width:2px;
  height:2px;
  background:#c4c4bf;
}
.category-tree ul ul a{
  color:#858580;
  font-size:10px;
}
.category-tree ul ul ul{
  padding-left:11px;
}
.category-tree ul ul ul li::before{
  background:#d4d4cf;
}
.category-tree .c_cnt{
  margin-left:4px;
  color:#c4c4bf;
  font-size:8px;
}
.category-tree a.current{
  color:#111;
  font-weight:600;
  background:transparent !important;
}
.category-tree a.current::after{
  content:"";
  position:absolute;
  left:2px;
  right:2px;
  bottom:2px;
  height:1px;
  background:var(--point);
  opacity:1;
}

/* entries */
.entries-pane{
  min-width:0;
  min-height:0;
  display:flex;
  flex-direction:column;
}
.entries{
  min-height:0;
  flex:1;
  overflow:auto;
  overscroll-behavior:contain;
  padding:10px 8px 10px;
  scrollbar-width:thin;
  scrollbar-color:#d8d8d3 transparent;
}
.post-item{
  position:relative;
  display:grid;
  grid-template-columns:22px minmax(0,1fr) auto;
  gap:7px;
  align-items:center;
  min-height:32px;
  padding:7px 4px;
  border-radius:1px;
  transition:background .13s ease;
}
.post-item::after{
  content:"";
  position:absolute;
  left:4px;
  right:4px;
  bottom:0;
  height:1px;
  background:#f4f4f0;
}
.post-item:last-child::after{display:none}
.post-item:hover{background:transparent;color:#111}
.post-no{
  text-align:center;
  font-size:8px;
  color:#a8c5d6;
  font-variant-numeric:tabular-nums;
}
.post-title{
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  font-size:11.5px;
}
.post-date{
  white-space:nowrap;
  font-size:8px;
  color:#c0c0bb;
}
.empty{
  padding:26px 10px;
  text-align:center;
  color:#aaa;
  font-size:11px;
}

/* the card grows internally; the page itself never scrolls */
.dictionary{
  max-height:calc(100dvh - 28px);
  overflow:hidden;
}

/* 얇은 화이트 스크롤 */
.reader-body,
.entries,
.category-pane,
.panel-body{
  scrollbar-width:thin;
  scrollbar-color:#d7d7d2 #fff;
}
.reader-body::-webkit-scrollbar,
.entries::-webkit-scrollbar,
.category-pane::-webkit-scrollbar,
.panel-body::-webkit-scrollbar{
  width:4px;
  height:4px;
}
.reader-body::-webkit-scrollbar-track,
.entries::-webkit-scrollbar-track,
.category-pane::-webkit-scrollbar-track,
.panel-body::-webkit-scrollbar-track{
  background:#fff;
}
.reader-body::-webkit-scrollbar-thumb,
.entries::-webkit-scrollbar-thumb,
.category-pane::-webkit-scrollbar-thumb,
.panel-body::-webkit-scrollbar-thumb{
  background:#d7d7d2;
  border-radius:0;
}
.reader-body::-webkit-scrollbar-button,
.entries::-webkit-scrollbar-button,
.category-pane::-webkit-scrollbar-button,
.panel-body::-webkit-scrollbar-button{
  display:none;
  width:0;
  height:0;
}


/* 스크롤은 되지만 바는 보이지 않게 */
.reader-body,
.entries,
.category-pane,
.panel-body{
  scrollbar-width:none !important;
  -ms-overflow-style:none;
}
.reader-body::-webkit-scrollbar,
.entries::-webkit-scrollbar,
.category-pane::-webkit-scrollbar,
.panel-body::-webkit-scrollbar{
  width:0 !important;
  height:0 !important;
  display:none !important;
}

/* reader */
.reader{
  position:fixed;
  inset:0;
  z-index:100;
  display:grid;
  place-items:center;
  padding:18px;
  background:#fff;
  backdrop-filter:none;
  opacity:0;
  pointer-events:none;
  transition:.18s ease;
}
.reader.is-open{opacity:1;pointer-events:auto}
.reader-card{
  width:min(720px,100%);
  max-height:min(82dvh,820px);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:#fff;
  border:1px solid #ecece7;
  border-radius:2px;
  box-shadow:none;
}
.reader-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:11px 13px;
  border-bottom:1px solid #f1f1ed;
}
.reader-label{
  color:#a8a8a3;
  font-size:9px;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.reader-close{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  padding:0;
  border-radius:0;
  color:#8f8f8a;
  font-size:21px;
  font-weight:300;
  line-height:1;
  cursor:pointer;
}
.reader-close:hover{background:#f3f3f0}
.reader-body{
  overflow:auto;
  overscroll-behavior:contain;
  padding:26px 28px 34px;
}
.article-title{
  margin:0 0 8px;
  font-size:clamp(28px,5vw,42px);
  line-height:1.07;
  letter-spacing:-.05em;
}
.article-meta{
  margin-bottom:24px;
  color:#aaa;
  font-size:10px;
}
.article-content{
  color:#2f2f2c;
  font-size:14px;
  line-height:1.85;
}
.article-content img{max-width:100%;height:auto}
.article-content iframe{max-width:100%}
.article-content pre{max-width:100%;overflow:auto}
.article-content table{max-width:100%;overflow:auto}

/* hidden Tistory data sources */
#tistory-source,
#category-source{
  display:none!important;
  visibility:hidden!important;
  position:fixed!important;
  left:-100000px!important;
  top:-100000px!important;
  width:0!important;
  height:0!important;
  max-height:0!important;
  overflow:hidden!important;
}



@media (max-width:680px){
  .shell{padding:14px}
  .dictionary{
    width:min(100%,500px);
    border-radius:2px;
  }
  .main{padding:20px 18px 20px}
  .word-wrap{margin-top:20px}
  .word{font-size:clamp(36px,12vw,50px);max-width:100%}
  .lookup{
    margin-top:26px;
    grid-template-columns:54px minmax(0,1fr);
    gap:8px;
  }
  .pronounce{
    margin-top:16px;
    grid-template-columns:54px minmax(0,1fr);
    gap:8px;
  }
  .pron-label{font-size:12px}
  .pron-btn{
    width:32px;
    height:29px;
  }
  .label{font-size:12px}
  .index-btn{height:38px;padding:0 11px}
  .square-btn{width:38px;height:38px}
  .search-row{
    margin-left:66px;
    width:calc(100% - 66px);
  }
  .reader{
    place-items:end center;
    padding:8px;
  }
  .reader-card{
    max-height:88dvh;
    border-radius:2px;
  }
  .reader-body{padding:22px 18px 30px}

  .index-panel.is-open{
    max-height:min(350px,calc(100dvh - 300px));
  }
  .index-grid{
    height:min(350px,calc(100dvh - 300px));
    grid-template-columns:1fr;
    grid-template-rows:118px minmax(0,1fr);
  }
  .category-pane{
    border-right:0;
    border-bottom:1px solid #f1f1ed;
    padding:8px 8px 9px;
  }
  .category-tree{
    display:flex;
    gap:4px;
    overflow-x:auto;
    scrollbar-width:none;
  }
  .category-tree::-webkit-scrollbar{display:none}
  .category-tree>.all-category,
  .category-tree>ul>li>a{
    display:block;
    flex:0 0 auto;
    width:max-content;
    max-width:145px;
    border:1px solid var(--line2);
    border-radius:1px;
    padding:6px 9px;
    font-size:10px;
  }
  .category-tree>ul{
    display:flex;
    gap:4px;
    width:max-content;
  }
  .category-tree>ul>li{
    flex:0 0 auto;
  }
  .category-tree ul ul{display:none}

}

@media (max-height:520px) and (min-width:681px){
  .dictionary{transform:scale(.9)}
}

@media (max-width:680px){
  .category-pane{
    padding:10px 12px 11px;
    border-right:0;
    border-bottom:1px solid #f1f1ed;
  }
  .category-tree{
    display:block;
    overflow:visible;
  }
  .category-tree>.all-category{
    display:block;
    width:auto;
    max-width:none;
    border:0 !important;
    border-bottom:1px solid #f0f0ec !important;
    border-radius:0 !important;
    padding:4px 1px 7px;
  }
  .category-tree>ul{
    display:block;
    width:auto;
  }
  .category-tree>ul>li{
    display:block;
  }
  .category-tree>ul>li>a{
    width:auto;
    max-width:none;
    border:0 !important;
    border-radius:0 !important;
    padding:5px 1px;
  }
  .category-tree ul ul{
    display:block;
    padding-left:12px;
  }
}


#playlistBtn:hover{
  background:var(--point);
  color:#6f8798;
}
#indexBtn.is-active,
.index-btn:hover,
.square-btn:hover,
.square-btn.is-active{
  background:var(--point);
}


/* 숨겨진 BGM 플레이어 */
#yt-player-host{
  position:fixed;
  left:-20px;
  bottom:-20px;
  width:2px;
  height:2px;
  overflow:hidden;
  opacity:.001;
  pointer-events:none;
  z-index:-1;
}
#playlistBtn.is-playing{
  background:var(--point);
  color:#6f8798;
}
#playlistBtn.is-loading{
  background:var(--point);
  opacity:.68;
}




.notice-btn{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border:1px solid transparent;
  background:#fff;
  cursor:pointer;
  transition:
    border-color .14s ease,
    box-shadow .14s ease,
    transform .14s ease;
}


.notice-heart{
  width:16px;
  height:16px;
  display:block;
  color:#8fa5b4;
  fill:currentColor;
  transform:none;
  transition:
    color .14s ease,
    transform .14s ease;
}

@media (hover:hover) and (pointer:fine){
  .notice-btn:hover{
    border-color:#dfe8ee;
    box-shadow:
      inset 1px 1px 2px rgba(110,135,150,.12),
      inset -1px -1px 0 rgba(255,255,255,.95);
    transform:translateY(1px);
  }

  .notice-btn:hover .notice-heart{
    color:#708899;
    transform:scale(.93);
  }
}

.notice-btn.is-active{
  border-color:#dce8ef;
  box-shadow:
    inset 1px 1px 3px rgba(110,135,150,.14),
    inset -1px -1px 0 rgba(255,255,255,.95);
}

.notice-btn.is-active .notice-heart{
  color:#708899;
}

/* 공지 패널 */
.notice-panel{
  position:absolute;
  inset:0;
  z-index:45;
  display:flex;
  flex-direction:column;
  background:#fff;
  border:0;
  opacity:0;
  pointer-events:none;
  transform:translateY(-3px);
  transition:opacity .16s ease,transform .16s ease;
}
.notice-panel.is-open{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}
.notice-panel-head{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-height:40px;
  padding:4px 10px;
  border-bottom:1px solid #f1f1ed;
}
.notice-close{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  color:#8f8f8a;
  font-size:20px;
  font-weight:300;
  line-height:1;
  cursor:pointer;
}
.notice-close:hover{
  background:var(--point);
}
.notice-list{
  min-height:0;
  flex:1;
  overflow:auto;
  padding:10px 14px 14px;
  scrollbar-width:none;
}
.notice-list::-webkit-scrollbar{display:none}
.notice-item{
  position:relative;
  display:grid;
  grid-template-columns:24px minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  min-height:38px;
  padding:7px 3px;
  border-bottom:1px solid #f4f4f0;
}
.notice-item:last-child{border-bottom:0}
.notice-no{
  color:#a8c5d6;
  font-size:9px;
  text-align:center;
}
.notice-title{
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  font-size:11.5px;
}
.notice-date{
  color:#c0c0bb;
  font-size:8px;
  white-space:nowrap;
}
.notice-empty{
  padding:40px 10px;
  color:#aaa;
  font-size:11px;
  text-align:center;
}


@media (max-width:680px){
  .lookup{
    margin-top:14px;
    display:block;
  }
  .controls{
    margin-left:62px;
    gap:5px;
  }
  .index-btn,
  .square-btn{
    width:33px;
    height:33px;
  }
  .notice-btn{
    width:26px;
    height:26px;
    font-size:16px;
  }
}


/* 좌측 하단 미니 아이콘 메뉴 */
.bottom-controls{
  display:flex;
  align-items:center;
  gap:12px;
  margin-left:0;
  margin-top:2px;
  width:max-content;
}

.bottom-controls .index-btn,
.bottom-controls .square-btn{
  width:23px;
  height:23px;
  padding:0;
  display:grid;
  place-items:center;
  border:0;
  background:transparent;
  color:#879baa;
  cursor:pointer;
  transition:
    color .14s ease,
    transform .14s ease,
    opacity .14s ease;
}

.bottom-controls .index-btn svg,
.bottom-controls .square-btn svg{
  width:17px;
  height:17px;
}

@media (hover:hover) and (pointer:fine){
  .bottom-controls .index-btn:hover,
  .bottom-controls .square-btn:hover{
    background:transparent;
    color:#5f788b;
    transform:translateY(-1px);
  }
}

.bottom-controls .index-btn.is-active,
.bottom-controls .square-btn.is-active{
  background:transparent;
  color:#5f788b;
  transform:none;
}

/* 검색 펼침선도 좌측 하단 아이콘 기준 */
.search-row{
  margin-left:0 !important;
  width:min(260px,100%) !important;
  margin-top:5px;
}


@media (max-width:680px){
  .main{padding:15px 15px 14px}
  .word-wrap{margin-top:16px}
  .pronounce{
    margin-top:11px;
    grid-template-columns:54px minmax(0,1fr);
    gap:7px;
  }
  .lookup{margin-top:11px}
  .bottom-controls{
    margin-left:0 !important;
    gap:11px;
  }
  .bottom-controls .index-btn,
  .bottom-controls .square-btn{
    width:24px !important;
    height:24px !important;
    border:0 !important;
    background:transparent !important;
  }
  .notice-btn{
    width:28px;
    height:28px;
    font-size:18px;
  }
}


/* ===== v24 : 하단 유틸리티 한 줄 ===== */
.utility-row{
  margin-top:16px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:11px;
  width:max-content;
}

.utility-btn{
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  background:transparent;
  color:#879baa;
  cursor:pointer;
  text-decoration:none;
  transition:color .13s ease, transform .13s ease, opacity .13s ease;
}

.utility-btn svg{
  width:17px;
  height:17px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.utility-btn:visited{color:#879baa}

@media (hover:hover) and (pointer:fine){
  .utility-btn:hover{
    color:#5f788b;
    transform:translateY(-1px);
    background:transparent;
  }
}

.utility-btn.is-active,
.utility-btn.is-playing{
  color:#5f788b;
  background:transparent;
}

.utility-sep{
  width:1px;
  height:12px;
  margin:0 2px;
  background:#e8ecee;
}

.search-row{
  margin-left:0 !important;
  width:min(260px,100%) !important;
  margin-top:5px !important;
}

/* 예전 2줄 버튼 레이아웃 비활성 */
.lookup,
.controls,
.bottom-controls{
  display:none !important;
}

@media (max-width:680px){
  .utility-row{
    margin-top:14px;
    gap:12px;
  }
  .utility-btn{
    width:24px;
    height:24px;
  }
  .utility-btn svg{
    width:17px;
    height:17px;
  }
}


/* ===== 방명록 ===== */
.guest-panel{
  position:absolute;
  inset:0;
  z-index:48;
  display:flex;
  flex-direction:column;
  background:#fff;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .14s ease, visibility .14s ease;
}
.guest-panel.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.guest-panel-head{
  flex:0 0 auto;
  height:36px;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  padding:3px 9px;
  border-bottom:1px solid #f1f1ed;
}
.guest-panel-close{
  width:27px;
  height:27px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  background:transparent;
  color:#91918d;
  font-size:19px;
  font-weight:300;
  cursor:pointer;
}
.guest-panel-close:hover{
  background:var(--point);
}
.guest-panel-body{
  min-height:0;
  flex:1;
  overflow:auto;
  padding:15px 17px 18px;
  scrollbar-width:none;
}
.guest-panel-body::-webkit-scrollbar{display:none}

.guestbook-content{
  width:100%;
  font-size:11px;
  color:#40403d;
}
.guest-form{
  padding-bottom:14px;
  margin-bottom:6px;
  border-bottom:1px solid #f1f1ed;
}
.guest-fields{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
  margin-bottom:6px;
}
.guest-fields input,
.guest-form textarea{
  width:100%;
  border:1px solid #e7e7e2;
  background:#fff;
  color:#333;
  outline:0;
  border-radius:0;
  box-shadow:none;
}
.guest-fields input{
  height:29px;
  padding:0 7px;
  font-size:10px;
}
.guest-form textarea{
  min-height:66px;
  padding:8px;
  resize:vertical;
  font:inherit;
  line-height:1.55;
}
.guest-fields input:focus,
.guest-form textarea:focus{
  border-color:#d9e7ef;
  background:#fbfdfe;
}
.guest-submit-row{
  display:flex;
  justify-content:flex-end;
  margin-top:6px;
}
.guest-submit{
  height:27px;
  padding:0 10px;
  border:1px solid #dde8ee;
  background:#fff;
  color:#708797;
  font-size:10px;
  cursor:pointer;
}
.guest-submit:hover{
  background:var(--point);
}

.guest-list{
  display:flex;
  flex-direction:column;
}
.guest-entry{
  position:relative;
  padding:11px 2px;
  border-bottom:1px solid #f3f3ef;
}
.guest-entry-head{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:6px;
}
.guest-name{
  font-weight:600;
  color:#333;
}
.guest-date{
  color:#b6b6b1;
  font-size:9px;
}
.guest-action{
  margin-left:auto;
  color:#b0b0ab;
  font-size:9px;
  text-decoration:none;
}
.guest-desc{
  line-height:1.65;
  color:#5b5b56;
  word-break:break-word;
}
.guest-reply-action{
  display:inline-block;
  margin-top:6px;
  color:#879baa;
  font-size:9px;
  text-decoration:none;
}
.guest-replies{
  padding-left:16px;
}
.guest-reply{
  padding-left:8px;
  border-left:1px solid #e8eef2;
}

@media (max-width:680px){
  .guest-panel-body{padding:12px 13px 16px}
  .guest-fields{grid-template-columns:1fr}
  .guest-fields input{height:31px;font-size:11px}
}


/* ===== v25 : 발음/플리 원상복구 + 하단 3개만 좌측 ===== */
.pronounce{
  margin-top:12px !important;
  display:grid !important;
  grid-template-columns:62px 1fr !important;
  gap:9px !important;
  align-items:center !important;
}
.pron-label{
  color:#93938e;
  font-size:12px;
}
.pron-list{
  display:flex;
  align-items:center;
  width:max-content;
  border:1px solid var(--line);
}
.pron-btn{
  width:30px;
  height:29px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  border-left:1px solid var(--line);
  background:#fff;
  color:var(--accent);
  cursor:pointer;
}
.pron-btn:first-child{border-left:0}
.pron-btn svg{
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}
@media (hover:hover) and (pointer:fine){
  .pron-btn:hover{
    background:var(--point);
    color:#6f8798;
  }
}
#playlistBtn.is-playing{
  background:var(--point);
  color:#6f8798;
}

.utility-row-left{
  margin-top:15px !important;
  margin-left:0 !important;
  display:flex !important;
  align-items:center;
  justify-content:flex-start;
  gap:13px;
  width:max-content;
}
.utility-row-left .utility-btn{
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  background:transparent;
  color:#879baa;
}
.utility-row-left .utility-btn svg{
  width:17px;
  height:17px;
}
@media (hover:hover) and (pointer:fine){
  .utility-row-left .utility-btn:hover{
    background:transparent;
    color:#5f788b;
    transform:translateY(-1px);
  }
}

.search-row{
  margin-left:0 !important;
  width:min(260px,100%) !important;
}

@media (max-width:680px){
  .pronounce{
    margin-top:11px !important;
    grid-template-columns:54px minmax(0,1fr) !important;
    gap:7px !important;
  }
  .utility-row-left{
    margin-top:13px !important;
    gap:13px;
  }
  .utility-row-left .utility-btn{
    width:24px;
    height:24px;
  }
}


/* ===== v26 : 하단 3개만 진짜 좌측 끝 + 전체 여백 축소 ===== */

/* 카드 자체를 조금 더 납작하게 */
.main{
  position:relative;
  padding:14px 16px 43px !important;
}

.word-wrap{
  margin-top:13px !important;
}

.desc{
  margin-top:5px !important;
}

.pronounce{
  margin-top:9px !important;
}

/* 목록/검색/방명록만 카드 좌측 하단에 고정 */
.utility-row-left{
  position:absolute !important;
  left:13px !important;
  bottom:11px !important;
  margin:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:12px !important;
  width:max-content !important;
  z-index:6;
}

.utility-row-left .utility-btn{
  width:21px !important;
  height:21px !important;
}

/* 검색을 누르면 아이콘 바로 위에 얇게 펼쳐짐 */
.search-row{
  position:absolute !important;
  left:13px !important;
  bottom:37px !important;
  margin:0 !important;
  width:min(230px,calc(100% - 26px)) !important;
  z-index:7;
  background:#fff;
}

/* 상단도 조금 더 압축 */
.head{
  min-height:25px;
}

.badge{
  min-height:24px !important;
  padding:0 7px !important;
  font-size:11px !important;
}

.notice-btn{
  width:27px !important;
  height:27px !important;
}

.word{
  font-size:clamp(35px,5vw,48px) !important;
}

/* 모바일 */
@media (max-width:680px){
  .main{
    padding:13px 14px 43px !important;
  }

  .word-wrap{
    margin-top:12px !important;
  }

  .desc{
    margin-top:4px !important;
  }

  .pronounce{
    margin-top:8px !important;
  }

  .utility-row-left{
    left:12px !important;
    bottom:10px !important;
    gap:12px !important;
  }

  .utility-row-left .utility-btn{
    width:23px !important;
    height:23px !important;
  }

  .search-row{
    left:12px !important;
    bottom:38px !important;
    width:calc(100% - 24px) !important;
  }

  .word{
    font-size:clamp(34px,11.5vw,46px) !important;
  }
}


/* ===== v27 : 목록/검색/방명록 우측 하단 배치 ===== */
.utility-row-left{
  position:absolute !important;
  left:auto !important;
  right:13px !important;
  bottom:11px !important;
  margin:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:12px !important;
  width:max-content !important;
  z-index:6;
}

/* 검색창도 우측 하단 메뉴 바로 위에서 펼쳐지게 */
.search-row{
  position:absolute !important;
  left:auto !important;
  right:13px !important;
  bottom:37px !important;
  margin:0 !important;
  width:min(230px,calc(100% - 26px)) !important;
  z-index:7;
  background:#fff;
}

/* 카드 하단 여백은 아이콘 높이만큼만 */
.main{
  padding-bottom:43px !important;
}

@media (max-width:680px){
  .utility-row-left{
    left:auto !important;
    right:12px !important;
    bottom:10px !important;
  }

  .search-row{
    left:auto !important;
    right:12px !important;
    bottom:38px !important;
    width:calc(100% - 24px) !important;
  }
}


/* ===== v28 : 발음줄 + 우측 유틸리티 한 줄 정렬 ===== */

.main{
  padding-bottom:15px !important;
}

/* 발음 행 전체를 한 줄 flex로 */
.pronounce{
  margin-top:9px !important;
  display:flex !important;
  align-items:center !important;
  width:100% !important;
  gap:9px !important;
  grid-template-columns:none !important;
}

.pron-label{
  flex:0 0 62px;
}

.pron-list{
  flex:0 0 auto;
}

/* 목록 / 검색 / 방명록은 같은 행 오른쪽 끝 */
.utility-row-inline{
  margin:0 0 0 auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:13px !important;
  width:max-content !important;
  position:static !important;
}

.utility-row-inline .utility-btn{
  width:22px !important;
  height:22px !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  color:#879baa;
}

.utility-row-inline .utility-btn svg{
  width:17px !important;
  height:17px !important;
}

@media (hover:hover) and (pointer:fine){
  .utility-row-inline .utility-btn:hover{
    color:#5f788b !important;
    background:transparent !important;
    transform:translateY(-1px);
  }
}

/* 이전 우측하단 절대배치 완전 해제 */
.utility-row-left{
  position:static !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
}

/* 검색창은 같은 행 바로 아래, 우측 정렬 */
.search-row{
  position:static !important;
  margin:5px 0 0 auto !important;
  width:min(230px,100%) !important;
  background:#fff;
}

@media (max-width:680px){
  .main{
    padding-bottom:14px !important;
  }

  .pronounce{
    margin-top:8px !important;
    gap:7px !important;
  }

  .pron-label{
    flex-basis:54px;
  }

  .utility-row-inline{
    gap:11px !important;
  }

  .utility-row-inline .utility-btn{
    width:23px !important;
    height:23px !important;
  }

  .search-row{
    width:min(220px,100%) !important;
  }
}


/* ===== v29 : 제목 기본 h1 여백 제거 ===== */
.word{
  margin:0 !important;
  padding:0 !important;
  line-height:.92 !important;
}

.word a{
  display:inline-block;
  margin:0 !important;
  padding:0 !important;
}

.word-wrap{
  margin-top:8px !important;
}

.desc{
  margin-top:4px !important;
}

.pronounce{
  margin-top:7px !important;
}

@media (max-width:680px){
  .word-wrap{
    margin-top:7px !important;
  }

  .desc{
    margin-top:3px !important;
  }

  .pronounce{
    margin-top:6px !important;
  }
}


/* ===== v30 : 여백 중간값 ===== */
.word{
  margin:0 !important;
  padding:0 !important;
  line-height:.94 !important;
}

.word-wrap{
  margin-top:13px !important;
}

.desc{
  margin-top:6px !important;
}

.pronounce{
  margin-top:10px !important;
}

@media (max-width:680px){
  .word-wrap{
    margin-top:11px !important;
  }

  .desc{
    margin-top:5px !important;
  }

  .pronounce{
    margin-top:9px !important;
  }
}


/* ===== v31 : 타이틀 크기 소폭 축소 ===== */
.word{
  font-size:clamp(32px,4.6vw,44px) !important;
  line-height:.95 !important;
}

@media (max-width:680px){
  .word{
    font-size:clamp(31px,10.5vw,42px) !important;
  }
}


/* ===== v32 : 하트 자체로만 반응 ===== */
.notice-btn{
  width:28px !important;
  height:28px !important;
  display:grid !important;
  place-items:center !important;
  padding:0 !important;
  border:0 !important;
  outline:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  transform:none !important;
}

.notice-btn .notice-heart{
  width:17px !important;
  height:17px !important;
  display:block;
  fill:#8fa5b4 !important;
  stroke:#8fa5b4 !important;
  stroke-width:0 !important;
  transform-origin:center;
  transition:
    fill .14s ease,
    stroke .14s ease,
    stroke-width .14s ease,
    transform .14s ease,
    filter .14s ease !important;
}

@media (hover:hover) and (pointer:fine){
  .notice-btn:hover{
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    transform:none !important;
  }

  .notice-btn:hover .notice-heart{
    fill:#eff5fa !important;
    stroke:#7891a2 !important;
    stroke-width:1.6 !important;
    transform:scale(.92);
    filter:drop-shadow(0 1px 0 rgba(85,108,124,.13));
  }
}

.notice-btn.is-active{
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

.notice-btn.is-active .notice-heart{
  fill:#eff5fa !important;
  stroke:#71899a !important;
  stroke-width:1.7 !important;
  transform:scale(.91);
  filter:drop-shadow(0 1px 0 rgba(85,108,124,.15));
}


/* ===== 공지 : 메인 글 아래로 펼쳐지는 인라인 영역 ===== */
.notice-panel{
  position:relative !important;
  inset:auto !important;
  z-index:20 !important;
  width:100% !important;
  height:0 !important;
  max-height:0 !important;
  overflow:hidden !important;
  display:block !important;
  background:#fff !important;
  border-top:0 solid #f0f0ec !important;
  opacity:0 !important;
  visibility:visible !important;
  pointer-events:none !important;
  transform:none !important;
  transition:
    max-height .28s cubic-bezier(.2,.72,.25,1),
    opacity .16s ease,
    border-width .16s ease !important;
}

.notice-panel.is-open{
  height:auto !important;
  max-height:260px !important;
  border-top-width:1px !important;
  opacity:1 !important;
  pointer-events:auto !important;
}

.notice-panel-head{
  display:none !important;
}

.notice-list{
  max-height:260px !important;
  overflow:auto !important;
  padding:8px 14px 11px !important;
  scrollbar-width:none !important;
}
.notice-list::-webkit-scrollbar{
  display:none !important;
}

.notice-item{
  min-height:34px !important;
  padding:6px 2px !important;
  border-bottom:1px solid #f4f4f0 !important;
}
.notice-item:last-child{
  border-bottom:0 !important;
}
.notice-title{
  font-size:11px !important;
}
.notice-date{
  font-size:8px !important;
  color:#c0c0bb !important;
}
.notice-no{
  font-size:8px !important;
  color:#a7c4d5 !important;
}

@media (max-width:680px){
  .notice-panel.is-open{
    max-height:230px !important;
  }
  .notice-list{
    max-height:230px !important;
    padding:8px 11px 10px !important;
  }
}


/* 공지/목록이 아래로 펼쳐질 수 있게 하되 페이지 자체는 계속 고정 */
.dictionary{
  overflow:visible !important;
  max-height:none !important;
}

.shell{
  overflow:hidden !important;
}

.main{
  overflow:visible !important;
}


/* ===== v33 : 발음/우측 기능줄 정렬 보정 ===== */

/* 한 줄을 그리드로 잡아서 서로 붕 뜨지 않게 */
.pronounce{
  margin-top:8px !important;
  width:100% !important;
  display:grid !important;
  grid-template-columns:42px auto minmax(18px,1fr) auto !important;
  align-items:center !important;
  column-gap:9px !important;
}

/* '발음'이 버튼에서 너무 멀어지지 않게 */
.pron-label{
  grid-column:1 !important;
  flex:none !important;
  width:auto !important;
  color:#93938e;
  font-size:11px !important;
  line-height:1 !important;
}

/* 스피커 + 플리 */
.pron-list{
  grid-column:2 !important;
  margin:0 !important;
  align-self:center !important;
}

/* 목록 + 검색 + 방명록 */
.utility-row-inline{
  grid-column:4 !important;
  margin:0 !important;
  align-self:center !important;
  justify-self:end !important;
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  transform:none !important;
}

/* 전체 카드 하단도 과하게 뜨지 않게 */
.main{
  padding-bottom:13px !important;
}

/* 제목/설명과 기능줄 사이도 자연스럽게 */
.desc{
  margin-top:6px !important;
}
.pronounce{
  margin-top:9px !important;
}

/* 검색창은 우측 아이콘 아래 */
.search-row{
  margin-top:6px !important;
  margin-left:auto !important;
  width:min(220px,100%) !important;
}

@media (max-width:680px){
  .pronounce{
    grid-template-columns:38px auto minmax(10px,1fr) auto !important;
    column-gap:7px !important;
    margin-top:8px !important;
  }

  .pron-label{
    font-size:10.5px !important;
  }

  .utility-row-inline{
    gap:10px !important;
  }
}


/* ===== v34 : 좌우 기능 위치 교체 ===== */

/* 한 줄: [목록/검색/방명록] --- [발음 + 스피커/플리] */
.pronounce{
  margin-top:9px !important;
  width:100% !important;
  display:grid !important;
  grid-template-columns:auto minmax(24px,1fr) auto auto !important;
  align-items:center !important;
  column-gap:9px !important;
}

/* 목록 / 검색 / 방명록 → 왼쪽 */
.utility-row-inline{
  grid-column:1 !important;
  grid-row:1 !important;
  margin:0 !important;
  justify-self:start !important;
  align-self:center !important;
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
}

/* 발음 라벨 → 오른쪽 그룹 앞 */
.pron-label{
  grid-column:3 !important;
  grid-row:1 !important;
  width:auto !important;
  flex:none !important;
  margin:0 !important;
  justify-self:end !important;
  color:#93938e;
  font-size:11px !important;
  line-height:1 !important;
}

/* 스피커 + 플레이리스트 → 맨 오른쪽 */
.pron-list{
  grid-column:4 !important;
  grid-row:1 !important;
  margin:0 !important;
  justify-self:end !important;
  align-self:center !important;
}

/* 검색창은 왼쪽 아이콘 아래에서 열림 */
.search-row{
  position:static !important;
  margin:6px auto 0 0 !important;
  width:min(220px,100%) !important;
  background:#fff;
}

/* 하단 여백도 과하지 않게 */
.main{
  padding-bottom:13px !important;
}

@media (max-width:680px){
  .pronounce{
    grid-template-columns:auto minmax(10px,1fr) auto auto !important;
    column-gap:7px !important;
  }

  .utility-row-inline{
    gap:10px !important;
  }

  .pron-label{
    font-size:10.5px !important;
  }

  .search-row{
    margin-left:0 !important;
    margin-right:auto !important;
    width:min(210px,100%) !important;
  }
}


/* ===== v35 : 타이틀과 발음/플리 같은 선상 ===== */
.word-wrap{
  margin-top:13px !important;
}

.title-line{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  width:100%;
}

.word{
  flex:1 1 auto;
  min-width:0;
  margin:0 !important;
}

/* 제목 오른쪽 끝에 발음 + 재생 */
.title-line .pronounce{
  flex:0 0 auto;
  width:auto !important;
  margin:0 0 3px auto !important;
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  grid-template-columns:none !important;
}

.title-line .pron-label{
  width:auto !important;
  flex:none !important;
  margin:0 !important;
  font-size:10.5px !important;
  line-height:1 !important;
  color:#979792;
}

.title-line .pron-list{
  margin:0 !important;
  flex:none !important;
}

/* 설명은 제목 아래 */
.desc{
  margin-top:6px !important;
}

/* 목록/검색/방명록은 아래 왼쪽 */
.utility-row-inline{
  position:static !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  width:max-content !important;
  margin:11px 0 0 0 !important;
  gap:12px !important;
  transform:none !important;
  grid-column:auto !important;
  grid-row:auto !important;
}

.search-row{
  position:static !important;
  margin:6px auto 0 0 !important;
  width:min(220px,100%) !important;
}

.main{
  padding-bottom:13px !important;
}

@media (max-width:680px){
  .title-line{
    gap:9px;
  }

  .title-line .pronounce{
    gap:5px !important;
    margin-bottom:2px !important;
  }

  .title-line .pron-label{
    font-size:9.5px !important;
  }

  .title-line .pron-btn{
    width:27px !important;
    height:26px !important;
  }

  .word{
    font-size:clamp(29px,9.4vw,39px) !important;
  }

  .utility-row-inline{
    margin-top:10px !important;
    gap:11px !important;
  }
}


/* ===== v36 : 발음 그룹 타이틀 쪽으로 당기고 살짝 아래로 ===== */

.title-line{
  justify-content:flex-start !important;
  gap:0 !important;
}

/* 제목이 필요한 만큼만 차지하게 */
.title-line .word{
  flex:0 1 auto !important;
  max-width:calc(100% - 150px);
}

/* 발음 그룹을 제목 바로 옆으로 당기고 살짝 아래로 */
.title-line .pronounce{
  margin-left:16px !important;
  margin-right:0 !important;
  margin-bottom:0 !important;
  transform:translateY(7px) !important;
}

/* 발음 라벨과 버튼 자체 간격도 살짝 축소 */
.title-line .pronounce{
  gap:6px !important;
}

/* 제목과 설명 간격은 유지하되 너무 뜨지 않게 */
.desc{
  margin-top:6px !important;
}

@media (max-width:680px){
  .title-line .word{
    max-width:calc(100% - 125px);
  }

  .title-line .pronounce{
    margin-left:10px !important;
    transform:translateY(5px) !important;
    gap:5px !important;
  }
}


/* ===== v37 : 하단 기능 4개 우측 정렬 ===== */

/* 카테고리 · 태그 · 검색 · 방명록 */
.utility-row-inline{
  position:absolute !important;
  left:auto !important;
  right:16px !important;
  bottom:13px !important;
  margin:0 !important;
  width:max-content !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:13px !important;
  z-index:8;
  grid-column:auto !important;
  grid-row:auto !important;
}

.utility-row-inline .utility-btn{
  width:22px !important;
  height:22px !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  color:#879baa !important;
  text-decoration:none !important;
}

.utility-row-inline .utility-btn svg{
  width:17px !important;
  height:17px !important;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
}

@media (hover:hover) and (pointer:fine){
  .utility-row-inline .utility-btn:hover{
    color:#5f788b !important;
    background:transparent !important;
    transform:translateY(-1px);
  }
}

/* 우측 기능줄 자리를 위한 최소 하단 여백 */
.main{
  position:relative !important;
  padding-bottom:46px !important;
}

/* 검색창은 우측 기능줄 바로 위 */
.search-row{
  position:absolute !important;
  left:auto !important;
  right:16px !important;
  bottom:40px !important;
  margin:0 !important;
  width:min(225px,calc(100% - 32px)) !important;
  z-index:9;
  background:#fff;
}

@media (max-width:680px){
  .utility-row-inline{
    right:13px !important;
    bottom:11px !important;
    gap:12px !important;
  }

  .utility-row-inline .utility-btn{
    width:23px !important;
    height:23px !important;
  }

  .main{
    padding-bottom:44px !important;
  }

  .search-row{
    right:13px !important;
    bottom:39px !important;
    width:min(215px,calc(100% - 26px)) !important;
  }
}


/* ===== v39 : 카테고리만 좌측 하단 ===== */

/* 우측 그룹은 태그 · 방명록 · 검색만 */
.utility-row-inline{
  right:16px !important;
  left:auto !important;
}

/* 카테고리 버튼만 별도로 좌측 하단 이동 */
.utility-row-inline .category-left{
  position:fixed !important;
  left:calc(50% - min(265px, calc((100vw - 28px)/2)) + 16px) !important;
  right:auto !important;
  bottom:calc(50% - 0px) !important;
}

/* fixed 대신 카드 기준 정확한 위치를 위해 absolute 재정의 */
.dictionary .utility-row-inline .category-left{
  position:absolute !important;
  left:16px !important;
  bottom:13px !important;
  margin:0 !important;
  z-index:9;
}

/* 우측 그룹에서 첫 번째 자리만 비워지지 않게 */
.utility-row-inline{
  gap:13px !important;
}

@media (max-width:680px){
  .dictionary .utility-row-inline .category-left{
    left:13px !important;
    bottom:11px !important;
  }

  .utility-row-inline{
    right:13px !important;
  }
}


/* ===== v39 final : 좌/우 분리 ===== */
.dictionary > .main > .category-left{
  position:absolute !important;
  left:16px !important;
  right:auto !important;
  bottom:13px !important;
  width:22px !important;
  height:22px !important;
  display:grid !important;
  place-items:center !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  background:transparent !important;
  color:#879baa !important;
  z-index:10;
}

.dictionary > .main > .category-left svg{
  width:17px !important;
  height:17px !important;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
}

@media (hover:hover) and (pointer:fine){
  .dictionary > .main > .category-left:hover{
    color:#5f788b !important;
    transform:translateY(-1px);
  }
}

.utility-row-inline{
  left:auto !important;
  right:16px !important;
  bottom:13px !important;
}

@media (max-width:680px){
  .dictionary > .main > .category-left{
    left:13px !important;
    bottom:11px !important;
  }

  .utility-row-inline{
    right:13px !important;
    bottom:11px !important;
  }
}


/* ==========================================================
   v40 : 실제 태그 모음 + 넓은 방명록
   ========================================================== */

.dictionary{
  display:flex !important;
  flex-direction:column !important;
  max-height:calc(100dvh - 28px) !important;
  overflow:hidden !important;
}

.dictionary > .main{
  flex:0 0 auto !important;
}

/* ---------- TAG ---------- */
.tag-panel{
  position:relative !important;
  inset:auto !important;
  z-index:46 !important;
  flex:0 0 auto;
  width:100% !important;
  height:0;
  max-height:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  background:#fff;
  border-top:0 solid var(--line);
  opacity:0;
  visibility:visible;
  pointer-events:none;
  transition:
    height .26s cubic-bezier(.2,.72,.25,1),
    max-height .26s cubic-bezier(.2,.72,.25,1),
    opacity .16s ease,
    border-width .16s ease;
}

.tag-panel.is-open{
  height:min(390px,calc(100dvh - 220px));
  max-height:min(390px,calc(100dvh - 220px));
  border-top-width:1px;
  opacity:1;
  pointer-events:auto;
}

.tag-panel-head{
  flex:0 0 39px;
  min-height:39px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:5px 10px 5px 15px;
  border-bottom:1px solid #f1f1ed;
}

.tag-panel-label{
  color:#969691;
  font-size:10px;
}

.tag-panel-close{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  background:transparent;
  color:#91918d;
  font-size:20px;
  font-weight:300;
  line-height:1;
  cursor:pointer;
}

.tag-panel-close:hover{
  background:var(--point);
}

.tag-panel-body{
  min-height:0;
  flex:1;
  overflow:auto;
  padding:18px 18px 22px;
  scrollbar-width:none;
}

.tag-panel-body::-webkit-scrollbar{
  display:none;
}

.tag-cloud{
  display:flex;
  flex-wrap:wrap;
  align-content:flex-start;
  gap:7px 8px;
}

.tag-item{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:4px 8px;
  border:1px solid #e9e9e4;
  background:#fff;
  color:#74746f;
  font-size:10.5px !important;
  font-weight:400 !important;
  line-height:1.2;
  text-decoration:none !important;
  white-space:nowrap;
  transition:
    background .12s ease,
    border-color .12s ease,
    color .12s ease;
}

.tag-cloud .cloud1,
.tag-cloud .cloud2,
.tag-cloud .cloud3,
.tag-cloud .cloud4,
.tag-cloud .cloud5{
  font-size:10.5px !important;
  font-weight:400 !important;
}

@media (hover:hover) and (pointer:fine){
  .tag-item:hover{
    background:var(--point);
    border-color:#dce8ef;
    color:#587184;
  }
}

/* ---------- GUESTBOOK ----------
   기존 position:absolute + inset:0 때문에 작은 카드 높이만큼만 보이던 것 해제 */
.guest-panel{
  position:relative !important;
  inset:auto !important;
  z-index:47 !important;
  flex:0 0 auto !important;
  width:100% !important;
  height:0 !important;
  max-height:0 !important;
  min-height:0 !important;
  overflow:hidden !important;
  display:flex !important;
  flex-direction:column !important;
  background:#fff !important;
  border-top:0 solid var(--line) !important;
  opacity:0 !important;
  visibility:visible !important;
  pointer-events:none !important;
  transition:
    height .28s cubic-bezier(.2,.72,.25,1),
    max-height .28s cubic-bezier(.2,.72,.25,1),
    opacity .16s ease,
    border-width .16s ease !important;
}

.guest-panel.is-open{
  height:min(520px,calc(100dvh - 210px)) !important;
  max-height:min(520px,calc(100dvh - 210px)) !important;
  border-top-width:1px !important;
  opacity:1 !important;
  pointer-events:auto !important;
}

.guest-panel-head{
  flex:0 0 39px !important;
  height:39px !important;
  min-height:39px !important;
  padding:5px 10px !important;
}

.guest-panel-body{
  min-height:0 !important;
  flex:1 1 auto !important;
  overflow:auto !important;
  overscroll-behavior:contain;
  padding:17px 18px 24px !important;
  scrollbar-width:none !important;
}

.guest-panel-body::-webkit-scrollbar{
  display:none !important;
}

.guestbook-content{
  font-size:11.5px !important;
}

.guest-form{
  padding-bottom:17px !important;
  margin-bottom:8px !important;
}

.guest-form textarea{
  min-height:78px !important;
}

.guest-entry{
  padding:13px 2px !important;
}

.guest-entry-head{
  margin-bottom:7px !important;
}

.guest-desc{
  line-height:1.72 !important;
}

.guest-replies{
  padding-left:18px !important;
}

/* 태그와 방명록이 동시에 공간을 차지하지 않게 */
.tag-panel:not(.is-open),
.guest-panel:not(.is-open){
  border-top-width:0 !important;
}

/* 모바일에서도 방명록이 화면의 대부분을 쓰도록 */
@media (max-width:680px){
  .dictionary{
    max-height:calc(100dvh - 20px) !important;
  }

  .tag-panel.is-open{
    height:min(420px,calc(100dvh - 185px));
    max-height:min(420px,calc(100dvh - 185px));
  }

  .tag-panel-body{
    padding:15px 13px 19px;
  }

  .tag-cloud{
    gap:6px;
  }

  .guest-panel.is-open{
    height:min(570px,calc(100dvh - 175px)) !important;
    max-height:min(570px,calc(100dvh - 175px)) !important;
  }

  .guest-panel-body{
    padding:14px 13px 20px !important;
  }

  .guest-form textarea{
    min-height:88px !important;
  }
}


/* ===== v41 : 我愛你 타이틀만 색상 변경 ===== */
.word,
.word a{
  color:#edf3fc !important;
}


/* ===== v42 : 공지 상세 reader 지원 ===== */
.source-notice-article,
.source-notice-title,
.source-notice-date,
.source-notice-content{
  display:none !important;
}

.reader .article-content{
  min-width:0;
}

.reader .article-content img{
  max-width:100% !important;
  height:auto !important;
}

.reader .article-content iframe,
.reader .article-content video{
  max-width:100% !important;
}


/* ===== v44 : 안정화 — 하트는 공지 상세로 바로 이동 ===== */
.notice-panel{
  display:none !important;
}


/* ===== v45 : 패널 헤더 완전 제거 ===== */
.tag-panel-head,
.guest-panel-head,
.notice-panel-head{
  display:none !important;
}

/* 헤더 높이만큼 위에 뜨던 공간도 제거 */
.tag-panel-body{
  padding-top:16px !important;
}

.guest-panel-body{
  padding-top:16px !important;
}

/* 헤더 제거 후 패널 높이도 살짝 덜 답답하게 */
.tag-panel.is-open{
  height:min(370px,calc(100dvh - 210px)) !important;
  max-height:min(370px,calc(100dvh - 210px)) !important;
}

.guest-panel.is-open{
  height:min(520px,calc(100dvh - 195px)) !important;
  max-height:min(520px,calc(100dvh - 195px)) !important;
}

@media (max-width:680px){
  .tag-panel.is-open{
    height:min(410px,calc(100dvh - 175px)) !important;
    max-height:min(410px,calc(100dvh - 175px)) !important;
  }

  .guest-panel.is-open{
    height:min(570px,calc(100dvh - 160px)) !important;
    max-height:min(570px,calc(100dvh - 160px)) !important;
  }
}


/* ===== v46 : 제목 문구만 제거, X는 복구 ===== */

/* 태그/방명록 헤더는 X 버튼 자리로 다시 표시 */
.tag-panel-head,
.guest-panel-head{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  min-height:36px !important;
  height:36px !important;
  padding:3px 9px !important;
  border-bottom:1px solid #f1f1ed !important;
}

/* '태그 모음' 같은 제목 텍스트만 제거 */
.tag-panel-label{
  display:none !important;
}

/* X 버튼은 정상 표시 */
.tag-panel-close,
.guest-panel-close{
  display:grid !important;
  place-items:center !important;
}

/* 헤더가 돌아왔으니 본문 상단 여백은 원래 정도로 */
.tag-panel-body{
  padding-top:14px !important;
}

.guest-panel-body{
  padding-top:15px !important;
}


/* ===== v47 : 공지 리더는 본문만 ===== */
.notice-content-only{
  padding-top:0 !important;
}

body[id*="notice"] .reader-body{
  padding-top:22px !important;
}


/* ===== v48 : 불필요한 라벨/헤더 제거 ===== */

/* reader의 '글' 라벨 제거 후 X만 우측 */
.reader-head{
  min-height:0 !important;
  height:0 !important;
  padding:0 !important;
  border-bottom:0 !important;
  position:relative !important;
  z-index:5 !important;
}

.reader-label{
  display:none !important;
}

.reader-close{
  position:absolute !important;
  top:10px !important;
  right:10px !important;
  z-index:10 !important;
  background:#fff !important;
}

/* 상단 헤더 줄 자체 제거 */
.tag-panel-head,
.guest-panel-head{
  position:static !important;
  display:block !important;
  height:0 !important;
  min-height:0 !important;
  padding:0 !important;
  border:0 !important;
}

/* 제목 텍스트는 계속 숨김 */
.tag-panel-label{
  display:none !important;
}

/* X만 패널 우측 상단에 floating */
.tag-panel,
.guest-panel{
  position:relative !important;
}

.tag-panel-close,
.guest-panel-close{
  position:absolute !important;
  top:8px !important;
  right:8px !important;
  z-index:12 !important;
  width:28px !important;
  height:28px !important;
  display:grid !important;
  place-items:center !important;
  background:#fff !important;
}

/* 헤더가 사라진 만큼 본문은 위에서 바로 시작,
   X와 겹치지 않게 우측에만 여유 */
.tag-panel-body{
  padding:15px 44px 20px 18px !important;
}

.guest-panel-body{
  padding:15px 44px 22px 18px !important;
}

/* 카테고리 '전체 글' 완전 비활성 */
.category-tree > .all-category{
  display:none !important;
}

/* 모바일 */
@media (max-width:680px){
  .reader-close{
    top:8px !important;
    right:8px !important;
  }

  .tag-panel-close,
  .guest-panel-close{
    top:6px !important;
    right:6px !important;
  }

  .tag-panel-body{
    padding:13px 39px 18px 13px !important;
  }

  .guest-panel-body{
    padding:13px 39px 20px 13px !important;
  }
}


/* ===== v49 : 하트 = 我愛你 타이틀 색 ===== */
.notice-btn .notice-heart,
.notice-btn:hover .notice-heart,
.notice-btn.is-active .notice-heart{
  fill:#edf3fc !important;
  stroke:#edf3fc !important;
  stroke-width:0 !important;
  color:#edf3fc !important;
  filter:none !important;
}


/* ===== v50 : BGM 정지 상태 페이지 이동 후에도 유지 ===== */


/* ==========================================================
   v51 : PROFILE / PLAYLIST 카테고리 전용 목록
   ========================================================== */

/* 숨은 데이터 */
.source-index-extra{
  display:none !important;
}

/* 특수 카테고리에서는 인덱스 높이를 조금 더 확보 */
.index-panel.is-special.is-open{
  max-height:370px !important;
}

.index-panel.is-special .index-grid{
  height:370px !important;
}

/* 오른쪽 글 목록 내부 */
#postList.view-profile,
#postList.view-playlist{
  display:grid;
  align-content:start;
  padding:4px;
}

/* --------------------------------
   PROFILE : 3:4 portrait gallery
   -------------------------------- */
#postList.view-profile{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

#postList.view-profile .special-post{
  min-width:0;
  display:block;
  padding:7px !important;
  border:1px solid #ededE8;
  background:#fff;
  color:#333;
  text-decoration:none;
}

#postList.view-profile .special-thumb{
  position:relative;
  width:100%;
  aspect-ratio:3/4;
  overflow:hidden;
  background:#f8fafb;
  border:1px solid #f0f0eb;
}

#postList.view-profile .special-thumb img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

#postList.view-profile .special-info{
  padding:8px 1px 1px;
  text-align:center;
}

#postList.view-profile .special-title{
  display:block;
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  color:#555550;
  font-size:10.5px;
  line-height:1.35;
}

#postList.view-profile .special-date{
  display:block;
  margin-top:3px;
  color:#b9b9b4;
  font-size:8px;
}

/* --------------------------------
   PLAYLIST : 16:9 review
   -------------------------------- */
#postList.view-playlist{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}

#postList.view-playlist .special-post{
  position:relative;
  min-width:0;
  aspect-ratio:16/9;
  display:block;
  overflow:hidden;
  padding:0 !important;
  border:1px solid #e8ecef;
  background:#f5f7f8;
  color:#fff;
  text-decoration:none;
}

#postList.view-playlist .special-thumb{
  position:absolute;
  inset:0;
  overflow:hidden;
  background:#eef3f7;
}

#postList.view-playlist .special-thumb img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

#postList.view-playlist .special-thumb::after{
  content:"";
  position:absolute;
  inset:28% 0 0;
  background:linear-gradient(
    to bottom,
    rgba(78,94,106,0),
    rgba(78,94,106,.42) 58%,
    rgba(66,81,92,.68) 100%
  );
}

#postList.view-playlist .special-info{
  position:absolute;
  z-index:2;
  left:9px;
  right:9px;
  bottom:8px;
  min-width:0;
}

#postList.view-playlist .special-title{
  display:block;
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  color:#fff;
  font-size:10.5px;
  line-height:1.25;
  text-shadow:0 1px 2px rgba(20,30,36,.28);
}

#postList.view-playlist .special-stars{
  display:block;
  min-height:10px;
  margin-top:3px;
  color:#edf3fc;
  font-size:9px;
  letter-spacing:.06em;
  text-shadow:0 1px 2px rgba(20,30,36,.25);
}

/* 썸네일 없는 경우도 빈칸처럼 안 보이게 */
.special-thumb-fallback{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  background:
    linear-gradient(135deg,#fbfcfd,#edf3fc);
  color:#a7bac8;
  font-size:18px;
  font-family:Georgia,"Times New Roman",serif;
}

@media (hover:hover) and (pointer:fine){
  #postList.view-profile .special-post:hover{
    border-color:#dce7ee;
    background:#fbfdfe;
  }

  #postList.view-playlist .special-post:hover{
    border-color:#cfdee8;
  }

  #postList.view-profile .special-post:hover img,
  #postList.view-playlist .special-post:hover img{
    transform:scale(1.015);
  }

  #postList.view-profile img,
  #postList.view-playlist img{
    transition:transform .18s ease;
  }
}

/* 모바일에서는 한 칸 폭이 너무 좁아지지 않게 */
@media (max-width:680px){
  .index-panel.is-special.is-open{
    max-height:min(420px,calc(100dvh - 245px)) !important;
  }

  .index-panel.is-special .index-grid{
    height:min(420px,calc(100dvh - 245px)) !important;
  }

  #postList.view-profile{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }

  #postList.view-playlist{
    grid-template-columns:1fr;
    gap:8px;
  }
}


/* ===== v52 : PLAYLIST는 한 줄에 한 카드 ===== */
#postList.view-playlist{
  grid-template-columns:1fr !important;
  gap:10px !important;
}

#postList.view-playlist .special-post{
  width:100% !important;
  max-width:none !important;
}

@media (max-width:680px){
  #postList.view-playlist{
    grid-template-columns:1fr !important;
  }
}


/* ==========================================================
   Carrd notice — v52 compatible, JS-controlled
   ========================================================== */
.c620,
.c620 *{
  box-sizing:border-box;
}

.c620{
  --ice:#dff3fb;
  --point:#edf3fc;
  --text:#252525;

  position:relative;
  width:min(450px,100%);
  margin:0 auto;
  color:var(--text);
  font-family:Georgia,"Times New Roman","Noto Serif KR",serif;
}

/* old radio controls are unnecessary in Tistory */
.c620 > input[type="radio"]{
  display:none !important;
}

.c620-profile{
  width:100%;
  height:166px;
  display:grid;
  grid-template-columns:44% 56%;
  align-items:center;
  border:1px solid var(--ice);
  background:#fff;
}

.c620-profile-visual{
  height:100%;
  display:grid;
  place-items:center;
  padding:10px;
}

.c620-profile-frame{
  width:148px;
  height:148px;
  overflow:hidden;
  border-radius:50%;
  border:2px solid #e5f4fa;
  background-color:#fff;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
}

.c620-profile-copy{
  min-width:0;
  padding:7px 20px 4px 7px;
  text-align:center;
}

.c620-handle{
  margin:0;
  font-size:21px;
  line-height:1;
  font-weight:400;
}

.c620-handle span{
  background:linear-gradient(transparent 67%,var(--point) 67%);
}

.c620-name{
  margin-top:9px;
  font-family:"Noto Sans KR","Apple SD Gothic Neo",sans-serif;
  font-size:12px;
  font-weight:700;
}

.c620-quote{
  margin-top:8px;
  font-size:11px;
  line-height:1.25;
  font-style:italic;
  font-weight:700;
  white-space:nowrap;
}

.c620-panels{
  width:100%;
}

.c620-panel{
  display:block;
  width:100%;
  max-height:0;
  overflow:hidden;
  border:1px solid transparent;
  border-top:0;
  background:#fff;
  opacity:0;
  transform:translateY(-7px);
  transform-origin:top center;
  pointer-events:none;
  transition:
    max-height .46s cubic-bezier(.22,.72,.24,1),
    opacity .24s ease,
    transform .34s cubic-bezier(.22,.72,.24,1),
    border-color .18s ease;
}

.c620-panel.is-open{
  max-height:820px;
  border-color:var(--ice);
  border-top-color:transparent;
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

/* INFO */
.panel-info{
  padding:23px 17px 22px;
}

.c620-info-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
}

.c620-info-col{
  min-width:0;
  padding:0 18px;
}

.c620-info-col + .c620-info-col{
  border-left:1px solid var(--ice);
}

.c620-info-title{
  margin:0 0 5px;
  text-align:center;
  font-size:20px;
  line-height:1;
  font-weight:400;
}

.c620-info-sub{
  margin:0 0 14px;
  text-align:center;
  font-family:Arial,"Apple SD Gothic Neo",sans-serif;
  font-size:11px;
}

.c620-list{
  margin:0;
  padding:0;
  list-style:none;
  color:#8ac0d8;
  font-family:"Apple SD Gothic Neo","Noto Sans KR",sans-serif;
  font-size:10px;
  line-height:1.52;
}

.c620-list li{margin:2px 0}
.c620-list .indent{padding-left:10px}

/* MAIN */
.panel-main{
  padding:11px 11px 12px;
  text-align:center;
}

.c620-media{
  background-repeat:no-repeat;
  background-position:center;
  background-size:cover;
  background-color:#fff;
  border:1px solid var(--ice);
}

.c620-media.main-photo{
  width:100%;
  height:270px;
  border-radius:12px;
}

.c620-main-meta{
  padding:12px 8px 0;
  font-size:16px;
  line-height:1.45;
}

.c620-mark{
  background:linear-gradient(transparent 66%,var(--point) 66%);
}

.c620-main-etc{
  margin-top:8px;
  text-align:right;
  color:#b8ddea;
  font-family:"Apple SD Gothic Neo","Noto Sans KR",sans-serif;
  font-size:10px;
}

/* MORE */
.panel-more{
  padding:9px;
}

.c620-more-grid{
  min-height:190px;
  display:grid;
  grid-template-columns:1fr 1.03fr;
  align-items:center;
}

.c620-more-left{
  min-width:0;
  height:100%;
  padding:0 10px 0 0;
  border-right:1px solid var(--ice);
}

.c620-media.more-photo{
  width:100%;
  height:190px;
  border-radius:10px;
}

.c620-more-right{
  min-width:0;
  padding:10px 10px 10px 18px;
}

.c620-more-title{
  margin:0 0 11px;
  font-size:24px;
  line-height:1.05;
  font-weight:400;
  white-space:nowrap;
}

.c620-more-title span{
  background:linear-gradient(transparent 67%,var(--point) 67%);
}

.c620-links{
  display:grid;
  grid-template-columns:1fr 1fr;
  column-gap:16px;
  row-gap:3px;
}

.c620-links a{
  min-width:0;
  min-height:34px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:5px 2px 4px;
  border:0;
  border-bottom:1px solid #deedf4;
  background:transparent;
  color:#4d4d49 !important;
  font-size:11.5px;
  line-height:1.25;
  text-decoration:none !important;
  transition:
    color .15s ease,
    border-color .15s ease,
    padding-left .15s ease;
}

.c620-links a::after{
  content:"↗";
  flex:0 0 auto;
  color:#a9cfdf;
  font-size:9px;
  line-height:1;
  transition:transform .15s ease,color .15s ease;
}

@media (hover:hover) and (pointer:fine){
  .c620-links a:hover{
    padding-left:5px;
    color:#6d9fb5 !important;
    border-bottom-color:#b9dce9;
  }

  .c620-links a:hover::after{
    color:#7fb4ca;
    transform:translate(2px,-2px);
  }
}

/* divider */
.c620-divider{
  height:86px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:42px;
}

.c620-divider::before,
.c620-divider::after{
  content:"";
  width:45px;
  height:2px;
  background:#bde5f4;
}

.c620-divider span{
  color:#afdff1;
  font-size:30px;
}

/* image buttons */
.c620-tabs{
  display:flex;
  justify-content:center;
  gap:10px;
}

.c620-tab{
  width:114px;
  height:114px;
  display:block;
  border:2px solid #e1f2f8;
  border-radius:12px;
  background-color:#fff;
  background-repeat:no-repeat;
  background-position:center;
  background-size:calc(100% - 8px) auto;
  cursor:pointer;
  box-shadow:0 2px 7px rgba(165,218,238,.22);
}

.c620-tab.is-active{
  border-color:#c7e8f4;
  background-color:#fbfeff;
}

@media (hover:hover) and (pointer:fine){
  .c620-tab:hover{
    border-color:#c7e9f5;
  }
}

@media (max-width:520px){
  .c620-profile{
    height:145px;
    grid-template-columns:42% 58%;
  }

  .c620-profile-frame{
    width:118px;
    height:118px;
  }

  .c620-handle{font-size:19px}
  .c620-name{font-size:11px}
  .c620-quote{font-size:9px}

  .panel-info{padding:18px 9px}
  .c620-info-col{padding:0 9px}
  .c620-list{font-size:9px}

  .c620-media.main-photo{height:220px}
  .c620-main-meta{font-size:14px}

  .c620-media.more-photo{height:160px}
  .c620-more-title{font-size:19px}

  .c620-tab{
    width:calc((100vw - 84px)/3);
    max-width:100px;
    height:calc((100vw - 84px)/3);
    max-height:100px;
  }
}

@media (max-width:360px){
  .c620-info-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .c620-info-col + .c620-info-col{
    padding-top:17px;
    border-left:0;
    border-top:1px solid var(--ice);
  }

  .c620-more-grid{
    grid-template-columns:1fr;
  }

  .c620-more-left{
    padding:0 0 10px;
    border-right:0;
    border-bottom:1px solid var(--ice);
  }
}


/* ==========================================================
   v52 motion refinement
   - category open/close symmetric
   - Carrd panel motion polish
   ========================================================== */

/* height:auto를 유지하고 max-height만 애니메이션해서
   닫힐 때도 갑자기 0으로 점프하지 않게 함 */
.index-panel{
  height:auto !important;
  max-height:0 !important;
  overflow:hidden !important;
  will-change:max-height,opacity;
  transition:
    max-height .32s cubic-bezier(.22,.72,.24,1) !important,
    opacity .20s ease !important,
    border-width .20s ease !important;
}

.index-panel.is-open{
  height:auto !important;
  max-height:246px !important;
}

.index-grid{
  opacity:0;
  transform:translateY(-6px);
  transition:
    opacity .20s ease,
    transform .30s cubic-bezier(.22,.72,.24,1);
}

.index-panel.is-open .index-grid{
  opacity:1;
  transform:translateY(0);
}

/* PROFILE / PLAYLIST 특수 목록 높이도 기존값 유지 */
.index-panel.is-special.is-open{
  max-height:370px !important;
}

/* Carrd 패널 안쪽도 등장 시 살짝만 따라오게 */
.c620-panel > *{
  transition:
    transform .36s cubic-bezier(.22,.72,.24,1),
    opacity .24s ease;
}

.c620-panel:not(.is-open) > *{
  transform:translateY(-4px);
  opacity:.35;
}

.c620-panel.is-open > *{
  transform:translateY(0);
  opacity:1;
}

@media (max-width:680px){
  .index-panel.is-special.is-open{
    max-height:min(420px,calc(100dvh - 245px)) !important;
  }
}

@media (prefers-reduced-motion:reduce){
  .index-panel,
  .index-grid,
  .c620-panel,
  .c620-panel > *,
  .c620-links a,
  .c620-links a::after{
    transition:none !important;
    transform:none !important;
  }
}


/* ==========================================================
   NOTICE READER polish
   - 공지에서만 티스토리 기본 공감/공유 버튼 숨김
   - 내부 스크롤 제거, 바깥 reader가 자연스럽게 스크롤
   - Carrd 확장 시 잘림/걸림 방지
   ========================================================== */

/* 공지글에서만 Tistory 기본 공감/공유/포스트 버튼 영역 제거 */
body.notice-reader-mode .container_postbtn,
body.notice-reader-mode .postbtn_like,
body.notice-reader-mode .wrap_btn_etc,
body.notice-reader-mode .area_share,
body.notice-reader-mode .btn_share,
body.notice-reader-mode .btn_post,
body.notice-reader-mode .tt_like_container,
body.notice-reader-mode [class*="postbtn_like"],
body.notice-reader-mode [class*="container_postbtn"]{
  display:none !important;
  visibility:hidden !important;
}

/* 공지 리더는 '작은 창 안의 또 다른 스크롤'을 없앰 */
body.notice-reader-mode .reader{
  place-items:start center !important;
  overflow-y:auto !important;
  overscroll-behavior:contain;
  padding:28px 18px 58px !important;
}

/* 카드 높이 제한을 없애서 Carrd가 열리는 만큼 자연스럽게 늘어남 */
body.notice-reader-mode .reader-card{
  position:relative !important;
  width:min(980px,100%) !important;
  max-height:none !important;
  overflow:visible !important;
  margin:auto 0 !important;
}

/* 실제 공지 내용 자체에는 별도 스크롤을 만들지 않음 */
body.notice-reader-mode .reader-body{
  overflow:visible !important;
  overscroll-behavior:auto !important;
  padding:38px 30px 58px !important;
}

/* 본문 래퍼가 Carrd의 확장 높이를 막지 않게 */
body.notice-reader-mode .notice-content-only,
body.notice-reader-mode .article-content{
  width:100% !important;
  max-width:none !important;
  overflow:visible !important;
  min-height:0 !important;
}

/* Carrd 자체도 reader 안에서 여유 있게 */
body.notice-reader-mode .c620{
  margin:0 auto 22px !important;
  overflow:visible !important;
}

body.notice-reader-mode .c620-panels,
body.notice-reader-mode .c620-panel{
  overflow:hidden;
}

/* 닫기 버튼은 스크롤해도 화면 우측 상단에서 잃어버리지 않게 */
body.notice-reader-mode .reader-close{
  position:fixed !important;
  top:20px !important;
  right:22px !important;
  z-index:130 !important;
  background:rgba(255,255,255,.92) !important;
}

/* 큰 이미지/iframe도 reader 폭을 밀어내지 않음 */
body.notice-reader-mode .notice-content-only img,
body.notice-reader-mode .notice-content-only iframe,
body.notice-reader-mode .notice-content-only video{
  max-width:100% !important;
}

/* Carrd 패널 열릴 때 충분한 높이를 허용 */
body.notice-reader-mode .c620-panel.is-open{
  max-height:1200px !important;
}

/* 모바일 */
@media (max-width:680px){
  body.notice-reader-mode .reader{
    padding:18px 10px 42px !important;
  }

  body.notice-reader-mode .reader-card{
    width:100% !important;
  }

  body.notice-reader-mode .reader-body{
    padding:30px 10px 46px !important;
  }

  body.notice-reader-mode .reader-close{
    top:10px !important;
    right:10px !important;
  }
}


/* ==========================================================
   NOTICE : Carrd content only
   - 큰 reader 창 제거
   - Carrd 폭만 사용
   - 내용 높이에 따라 자연스럽게 늘어남
   ========================================================== */

body.notice-reader-mode .reader{
  place-items:start center !important;
  overflow-y:auto !important;
  padding:44px 12px 70px !important;
  background:#fff !important;
}

/* 바깥 창 자체를 없앰 */
body.notice-reader-mode .reader-card{
  width:min(450px,calc(100% - 20px)) !important;
  max-width:450px !important;
  max-height:none !important;
  min-height:0 !important;

  margin:0 auto !important;
  padding:0 !important;

  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  background:transparent !important;

  overflow:visible !important;
}

/* reader 안쪽 여백도 없애서 Carrd가 곧 내용 폭이 되게 */
body.notice-reader-mode .reader-body{
  width:100% !important;
  max-width:none !important;
  min-height:0 !important;
  padding:0 !important;
  margin:0 !important;

  border:0 !important;
  background:transparent !important;
  overflow:visible !important;
}

/* 공지 본문 wrapper가 추가 폭/테두리를 만들지 않게 */
body.notice-reader-mode .notice-content-only,
body.notice-reader-mode .article-content{
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  overflow:visible !important;
}

/* Carrd 자체가 reader 폭을 그대로 사용 */
body.notice-reader-mode .c620{
  width:100% !important;
  max-width:450px !important;
  margin:0 auto !important;
}

/* reader의 원래 장식/선이 남는 경우 제거 */
body.notice-reader-mode .reader-card::before,
body.notice-reader-mode .reader-card::after,
body.notice-reader-mode .reader-body::before,
body.notice-reader-mode .reader-body::after{
  content:none !important;
  display:none !important;
}

/* 닫기 X만 독립적으로 유지 */
body.notice-reader-mode .reader-close{
  position:fixed !important;
  top:18px !important;
  right:20px !important;
  z-index:150 !important;
  width:32px !important;
  height:32px !important;
  margin:0 !important;
  padding:0 !important;

  border:0 !important;
  background:rgba(255,255,255,.94) !important;
  box-shadow:none !important;
}

/* Carrd 열림 높이는 충분히 허용 */
body.notice-reader-mode .c620-panel.is-open{
  max-height:1400px !important;
}

/* 모바일 */
@media (max-width:520px){
  body.notice-reader-mode .reader{
    padding:42px 10px 52px !important;
  }

  body.notice-reader-mode .reader-card{
    width:100% !important;
    max-width:450px !important;
  }

  body.notice-reader-mode .reader-close{
    top:9px !important;
    right:9px !important;
  }
}


/* ==========================================================
   Carrd visual match polish
   - 하단 중앙 아이시블루 radial glow
   - quote separator 간격 축소
   ========================================================== */

body.notice-reader-mode .c620{
  position:relative !important;
  isolation:isolate;
}

/* 실제 Carrd처럼 하단 컨트롤 뒤에 둥근 아이시블루 번짐 */
body.notice-reader-mode .c620::before{
  content:"";
  position:absolute;
  z-index:-1;
  left:50%;
  bottom:-72px;
  width:640px;
  height:470px;
  transform:translateX(-50%);
  pointer-events:none;
  background:
    radial-gradient(
      ellipse at center,
      rgba(216,243,252,.78) 0%,
      rgba(229,247,253,.54) 34%,
      rgba(242,251,254,.26) 54%,
      rgba(255,255,255,0) 76%
    );
}

/* 프로필 카드도 실제 Carrd처럼 아주 살짝 떠 보이게 */
body.notice-reader-mode .c620-profile{
  position:relative;
  z-index:2;
  box-shadow:0 2px 8px rgba(174,220,237,.10);
}

/* 패널/버튼은 glow 위에 */
body.notice-reader-mode .c620-panels,
body.notice-reader-mode .c620-divider,
body.notice-reader-mode .c620-tabs{
  position:relative;
  z-index:2;
}

/* — ❝ — 사이 간격 축소 */
body.notice-reader-mode .c620-divider{
  gap:18px !important;
  height:72px !important;
}

body.notice-reader-mode .c620-divider::before,
body.notice-reader-mode .c620-divider::after{
  width:42px !important;
  height:2px !important;
}

body.notice-reader-mode .c620-divider span{
  font-size:28px !important;
  transform:translateY(2px) !important;
}

/* 모바일에서도 비슷한 비율 유지 */
@media (max-width:520px){
  body.notice-reader-mode .c620::before{
    bottom:-58px;
    width:520px;
    height:400px;
  }

  body.notice-reader-mode .c620-divider{
    gap:14px !important;
    height:62px !important;
  }

  body.notice-reader-mode .c620-divider::before,
  body.notice-reader-mode .c620-divider::after{
    width:36px !important;
  }

  body.notice-reader-mode .c620-divider span{
    font-size:26px !important;
  }
}


/* ==========================================================
   Carrd motion v2
   실제 높이값 기반 — 끊김/점프/중간 갈라짐 제거
   ========================================================== */

/* 브라우저가 버튼 위치를 억지로 고정하며 화면을 점프시키지 않게 */
body.notice-reader-mode,
body.notice-reader-mode .reader,
body.notice-reader-mode .c620,
body.notice-reader-mode .c620-panels{
  overflow-anchor:none !important;
}

/* 움직이는 건 패널 각각의 max-height가 아니라 이 컨테이너 하나 */
body.notice-reader-mode .c620-panels{
  position:relative !important;
  width:100% !important;
  height:0;
  overflow:hidden !important;
  transition:
    height .40s cubic-bezier(.22,.72,.24,1) !important;
  will-change:height;
}

/* 기존 max-height 모션 완전 해제 */
body.notice-reader-mode .c620-panel{
  display:block !important;
  position:absolute !important;
  top:0 !important;
  left:0 !important;
  width:100% !important;

  max-height:none !important;
  height:auto !important;
  overflow:visible !important;

  visibility:hidden;
  opacity:0 !important;
  transform:translateY(5px) !important;
  pointer-events:none !important;

  border-color:var(--ice) !important;
  border-top-color:transparent !important;

  transition:
    opacity .22s ease !important,
    transform .36s cubic-bezier(.22,.72,.24,1) !important;
  will-change:opacity,transform;
}

/* 현재 패널은 정상 flow 기준으로 유지 */
body.notice-reader-mode .c620-panel.is-current{
  position:relative !important;
  visibility:visible;
  opacity:1 !important;
  transform:translateY(0) !important;
  pointer-events:auto !important;
}

/* 새 패널: 같은 자리에 겹친 상태에서 살짝 fade-in */
body.notice-reader-mode .c620-panel.is-open,
body.notice-reader-mode .c620-panel.is-entering{
  visibility:visible;
}

body.notice-reader-mode .c620-panel.is-entering{
  opacity:0 !important;
  transform:translateY(5px) !important;
}

body.notice-reader-mode .c620-panel.is-entering.is-visible{
  opacity:1 !important;
  transform:translateY(0) !important;
}

/* 이전 패널은 위로 살짝 사라짐 */
body.notice-reader-mode .c620-panel.is-leaving{
  visibility:visible;
  opacity:0 !important;
  transform:translateY(-4px) !important;
  pointer-events:none !important;
}

/* 예전 자식별 이중 모션 제거 — 이게 모션을 더 덜컥거리게 했음 */
body.notice-reader-mode .c620-panel > *,
body.notice-reader-mode .c620-panel:not(.is-open) > *,
body.notice-reader-mode .c620-panel.is-open > *{
  opacity:1 !important;
  transform:none !important;
  transition:none !important;
}

/* 예전 820/1200/1400px max-height 규칙을 완전히 무력화 */
body.notice-reader-mode .c620-panel.is-open{
  max-height:none !important;
}

/* 패널 사이에 두 개의 흰 영역/테두리가 동시에 보이지 않게 */
body.notice-reader-mode .c620-panel{
  background:#fff !important;
}

/* 모션 중에도 radial glow는 버튼 쪽에 자연스럽게 고정 */
body.notice-reader-mode .c620::before{
  transition:none !important;
}

@media (prefers-reduced-motion:reduce){
  body.notice-reader-mode .c620-panels,
  body.notice-reader-mode .c620-panel{
    transition:none !important;
  }
}


/* ==========================================================
   MOBILE LAYOUT FIX v53
   검색 겹침 + 카테고리/글 목록 높이 부족 해결
   PC 레이아웃에는 영향 없음
   ========================================================== */
@media (max-width:680px){

  /* ----------------------------------
     SEARCH
     검색이 열리면 main 자체 높이를 늘려
     제목/발음 영역과 절대 겹치지 않게 함
     ---------------------------------- */
  .main:has(.search-row.is-open){
    padding-bottom:96px !important;
  }

  .search-row{
    position:absolute !important;
    left:13px !important;
    right:13px !important;
    bottom:46px !important;

    width:auto !important;
    max-width:none !important;
    margin:0 !important;

    background:#fff !important;
    z-index:12 !important;
  }

  .search-row.is-open{
    height:40px !important;
    margin:0 !important;
    padding:0 4px !important;
    border-bottom:1px solid #d2d2cc !important;
  }

  .search-row input{
    width:100% !important;
    min-width:0 !important;
    padding:8px 3px !important;
    font-size:16px !important; /* iOS 자동 확대 방지 */
    line-height:1.2 !important;
  }

  .search-go{
    flex:0 0 34px !important;
    width:34px !important;
    height:34px !important;
  }


  /* ----------------------------------
     INDEX / CATEGORY
     모바일에서는 좌우분할 완전 해제
     위 = 카테고리
     아래 = 글 목록
     ---------------------------------- */
  .index-panel.is-open{
    max-height:min(66dvh,570px) !important;
  }

  .index-panel.is-special.is-open{
    max-height:min(72dvh,620px) !important;
  }

  .index-grid,
  .index-panel.is-special .index-grid{
    height:min(66dvh,570px) !important;
    min-height:420px !important;

    display:grid !important;
    grid-template-columns:1fr !important;
    grid-template-rows:minmax(155px,190px) minmax(0,1fr) !important;
  }

  .index-panel.is-special .index-grid{
    height:min(72dvh,620px) !important;
    min-height:470px !important;
  }

  /* 카테고리 영역 */
  .category-pane{
    min-width:0 !important;
    min-height:0 !important;
    height:auto !important;

    padding:12px 15px 13px !important;

    border-right:0 !important;
    border-bottom:1px solid #f1f1ed !important;

    overflow-y:auto !important;
    overflow-x:hidden !important;
    overscroll-behavior:contain !important;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none !important;
  }

  .category-pane::-webkit-scrollbar{
    display:none !important;
  }

  .category-tree{
    display:block !important;
    width:100% !important;
    overflow:visible !important;
  }

  .category-tree>ul{
    display:block !important;
    width:100% !important;
  }

  .category-tree>ul>li{
    display:block !important;
    width:100% !important;
  }

  .category-tree>ul>li>a,
  .category-tree ul ul a{
    width:100% !important;
    max-width:none !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  /* 글 목록 영역 */
  .entries-pane{
    min-width:0 !important;
    min-height:0 !important;
    height:auto !important;
    overflow:hidden !important;
  }

  .entries{
    min-height:0 !important;
    height:100% !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain !important;
    padding:12px 12px 16px !important;
    scrollbar-width:none !important;
  }

  .entries::-webkit-scrollbar{
    display:none !important;
  }

  /* 일반 글 목록은 모바일에서 한 줄 공간 넉넉하게 */
  .post-item{
    min-height:40px !important;
    grid-template-columns:24px minmax(0,1fr) auto !important;
    gap:8px !important;
    padding:9px 3px !important;
  }

  .post-title{
    font-size:12px !important;
  }

  .post-date{
    font-size:8.5px !important;
  }


  /* ----------------------------------
     PROFILE
     전체 폭을 쓸 수 있게 된 상태에서 2열 유지
     ---------------------------------- */
  #postList.view-profile{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
    padding:2px !important;
  }

  #postList.view-profile .special-post{
    padding:6px !important;
  }

  #postList.view-profile .special-title{
    font-size:10.5px !important;
  }

  /* PLAYLIST는 기존처럼 1열 */
  #postList.view-playlist{
    grid-template-columns:1fr !important;
    gap:10px !important;
    padding:2px !important;
  }
}


/* 더 작은 iPhone 폭 */
@media (max-width:390px){
  .index-grid,
  .index-panel.is-special .index-grid{
    grid-template-rows:minmax(145px,175px) minmax(0,1fr) !important;
  }

  .category-pane{
    padding-left:12px !important;
    padding-right:12px !important;
  }

  .entries{
    padding-left:9px !important;
    padding-right:9px !important;
  }

  #postList.view-profile{
    gap:7px !important;
  }

  #postList.view-profile .special-post{
    padding:5px !important;
  }
}


/* ==========================================================
   MOBILE CATEGORY FLOW v54
   1) 카테고리만 표시
   2) 카테고리 선택 -> 해당 글 목록으로 전환
   3) ← -> 카테고리로 복귀
   ========================================================== */
@media (max-width:680px){

  /* 기존 위/아래 동시 배치 무효화 */
  .index-grid,
  .index-panel.is-special .index-grid{
    position:relative !important;
    display:block !important;
    height:min(66dvh,570px) !important;
    min-height:420px !important;
    overflow:hidden !important;
  }

  .index-panel.is-special .index-grid{
    height:min(72dvh,620px) !important;
    min-height:470px !important;
  }

  /* 카테고리 / 글목록을 같은 자리에 겹쳐놓고 화면 전환 */
  .category-pane,
  .entries-pane{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    min-width:0 !important;
    min-height:0 !important;
    border:0 !important;
    background:#fff !important;
    transition:
      opacity .20s ease,
      transform .28s cubic-bezier(.22,.72,.24,1);
  }

  /* 기본: 카테고리 화면 */
  .category-pane{
    z-index:2 !important;
    padding:14px 16px 18px !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    opacity:1;
    transform:translateX(0);
    pointer-events:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none !important;
  }

  .category-pane::-webkit-scrollbar{
    display:none !important;
  }

  .entries-pane{
    z-index:1 !important;
    padding:0 !important;
    overflow:hidden !important;
    opacity:0;
    transform:translateX(18px);
    pointer-events:none;
  }

  /* 글 목록 화면 */
  .index-panel.mobile-entries-open .category-pane{
    opacity:0;
    transform:translateX(-18px);
    pointer-events:none;
  }

  .index-panel.mobile-entries-open .entries-pane{
    z-index:3 !important;
    opacity:1;
    transform:translateX(0);
    pointer-events:auto;
  }

  /* 카테고리 항목을 모바일에서 더 누르기 편하게 */
  .category-tree a{
    min-height:38px !important;
    display:flex !important;
    align-items:center !important;
    width:100% !important;
    padding-top:7px !important;
    padding-bottom:7px !important;
  }

  /* 글 목록 상단의 뒤로가기 바 */
  .mobile-entry-head{
    height:42px;
    display:flex;
    align-items:center;
    gap:9px;
    padding:0 13px;
    border-bottom:1px solid #f0f0ec;
    background:#fff;
  }

  .mobile-entry-back{
    width:30px;
    height:30px;
    display:grid;
    place-items:center;
    padding:0;
    border:0;
    background:transparent;
    color:#869baa;
    font-size:19px;
    line-height:1;
    cursor:pointer;
  }

  .mobile-entry-name{
    min-width:0;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    color:#8b8b86;
    font-size:10px;
  }

  .entries{
    height:calc(100% - 42px) !important;
    min-height:0 !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    padding:12px 12px 18px !important;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none !important;
  }

  .entries::-webkit-scrollbar{
    display:none !important;
  }

  /* 모바일에서는 현재 카테고리 underline 강조도 약하게 */
  .category-tree a.mobile-picked{
    color:#4f6574 !important;
    text-decoration:underline !important;
    text-decoration-color:#d9e8f0 !important;
    text-underline-offset:4px;
  }
}


/* ==========================================================
   MOBILE CATEGORY AUTO HEIGHT + RETURN STATE v55
   ========================================================== */
@media (max-width:680px){

  /* 카테고리 선택 화면: 항목 개수만큼만 높이 */
  .index-panel.is-open:not(.mobile-entries-open){
    max-height:700px !important;
  }

  .index-panel.is-open:not(.mobile-entries-open) .index-grid{
    position:relative !important;
    display:block !important;
    height:auto !important;
    min-height:0 !important;
    overflow:visible !important;
  }

  .index-panel.is-open:not(.mobile-entries-open) .category-pane{
    position:relative !important;
    inset:auto !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;

    padding:14px 16px 16px !important;

    border-right:0 !important;
    border-bottom:0 !important;

    overflow:visible !important;
    opacity:1 !important;
    transform:none !important;
    pointer-events:auto !important;
  }

  /* 카테고리 화면에서는 글 목록 pane이 레이아웃 높이에 관여하지 않음 */
  .index-panel.is-open:not(.mobile-entries-open) .entries-pane{
    position:absolute !important;
    inset:0 !important;
    height:0 !important;
    min-height:0 !important;
    overflow:hidden !important;
    opacity:0 !important;
    pointer-events:none !important;
  }

  /* 마지막 카테고리(예: PLAYLIST) 바로 아래에서 패널 끝 */
  .index-panel.is-open:not(.mobile-entries-open) .category-tree{
    padding-bottom:0 !important;
    margin-bottom:0 !important;
  }

  .index-panel.is-open:not(.mobile-entries-open) .category-tree > ul,
  .index-panel.is-open:not(.mobile-entries-open) .category-tree > ul > li:last-child{
    margin-bottom:0 !important;
    padding-bottom:0 !important;
  }

  /* 글 목록 화면일 때만 넉넉한 높이 사용 */
  .index-panel.mobile-entries-open.is-open{
    max-height:min(72dvh,620px) !important;
  }

  .index-panel.mobile-entries-open .index-grid{
    position:relative !important;
    display:block !important;
    height:min(72dvh,620px) !important;
    min-height:470px !important;
    overflow:hidden !important;
  }

  .index-panel.mobile-entries-open .category-pane,
  .index-panel.mobile-entries-open .entries-pane{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
  }
}

@media (max-width:390px){
  .index-panel.is-open:not(.mobile-entries-open) .category-pane{
    padding:12px 13px 14px !important;
  }

  .index-panel.mobile-entries-open .index-grid{
    height:min(70dvh,590px) !important;
    min-height:440px !important;
  }
}


/* ==========================================================
   v56 : mobile back / Tistory toolbar / BGM persistence
   ========================================================== */

/* 모바일 글 목록 뒤로가기 — 텍스트 화살표 대신 얇은 chevron */
@media (max-width:680px){
  .mobile-entry-head{
    height:38px !important;
    gap:5px !important;
    padding:0 10px !important;
    border-bottom:1px solid #f2f2ee !important;
  }

  .mobile-entry-back{
    width:27px !important;
    height:27px !important;
    display:grid !important;
    place-items:center !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    background:transparent !important;
    color:#8ea1af !important;
    border-radius:0 !important;
  }

  .mobile-entry-back svg{
    width:15px !important;
    height:15px !important;
    display:block !important;
    fill:none !important;
    stroke:currentColor !important;
    stroke-width:1.45 !important;
    stroke-linecap:round !important;
    stroke-linejoin:round !important;
  }

  .mobile-entry-name{
    font-size:9.5px !important;
    color:#aaa9a4 !important;
    letter-spacing:.01em;
  }

  .entries{
    height:calc(100% - 38px) !important;
  }
}

/* 티스토리 우측 상단 점 세 개 툴바/메뉴가
   스킨 fixed 레이어 아래로 들어가지 않게 */
#tistorytoolbarid{
  z-index:2147483647 !important;
  pointer-events:auto !important;
  overflow:visible !important;
}

#tistorytoolbarid,
#tistorytoolbarid *{
  pointer-events:auto !important;
}

#tistorytoolbarid iframe{
  position:relative !important;
  z-index:2147483647 !important;
  pointer-events:auto !important;
}


/* ===== v57 : 타이틀-설명 간격 아주 소폭 확대 ===== */
.desc{
  margin-top:9px !important;
}

@media (max-width:680px){
  .desc{
    margin-top:8px !important;
  }
}


/* ==========================================================
   v58 : Tistory 게시글 관리 점세개 메뉴 정상화
   ========================================================== */

/* visible article uses the original Tistory content node */
.reader .reader-source-content{
  display:block !important;
  visibility:visible !important;
  position:static !important;
  width:auto !important;
  height:auto !important;
  max-height:none !important;
  overflow:visible !important;
}

/* 티스토리 게시글 관리/공유 버튼과 팝업 레이어를
   reader보다 확실히 위에 표시 */
.reader .container_postbtn,
.reader .postbtn_like,
.reader .wrap_btn,
.reader .wrap_btn_etc,
.reader .wrap_btn_share{
  position:relative;
  overflow:visible !important;
  pointer-events:auto !important;
}

.reader #tistoryEtcLayer,
.reader #tistorySnsLayer,
#tistoryEtcLayer,
#tistorySnsLayer{
  z-index:2147483600 !important;
  overflow:visible !important;
  pointer-events:auto !important;
}

/* 메뉴 내부 버튼에 스킨의 전역 button reset이 방해되지 않게 */
#tistoryEtcLayer button,
#tistorySnsLayer button,
#tistoryEtcLayer a,
#tistorySnsLayer a{
  pointer-events:auto !important;
}

/* 메뉴가 열렸을 때 reader의 본문 위로 오도록 */
#tistoryEtcLayer[style*="display: block"],
#tistorySnsLayer[style*="display: block"],
#tistoryEtcLayer.on,
#tistorySnsLayer.on{
  z-index:2147483646 !important;
}

/* 모바일에서도 관리 레이어 영역을 클릭 가능하게 */
@media (max-width:680px){
  .reader .container_postbtn{
    position:relative !important;
    z-index:120 !important;
    overflow:visible !important;
  }

  .reader #tistoryEtcLayer,
  .reader #tistorySnsLayer{
    z-index:2147483646 !important;
  }
}


/* ===== v59 : 분류 전체보기 -> ALL ===== */
.category-tree a{
  letter-spacing:0 !important;
}


/* ===== v60 : PLAYLIST 표지는 티스토리 대표사진만 ===== */
#postList.view-playlist .special-thumb img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center !important;
}


/* ===== v61 : PLAYLIST 대표사진 OG fallback ===== */
#postList.view-playlist .playlist-cover-loading{
  display:block;
  width:100%;
  height:100%;
  background:
    linear-gradient(
      90deg,
      #fafaf8 0%,
      #f4f7f8 50%,
      #fafaf8 100%
    );
}

#postList.view-playlist .special-thumb img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center !important;
}


/* ===== v62 : Tistory 발행설정 '대표이미지' 직접 사용 ===== */
#tistory-source .source-rep-thumb{
  display:none !important;
}



/* ===== v63 : 모바일 카테고리/공지 불릿 제거 ===== */
@media (max-width:680px){
  /* 카테고리 앞의 작은 점/사각형 제거 */
  .category-tree ul ul li::before,
  .category-tree ul ul ul li::before{
    content:none !important;
    display:none !important;
  }

  /* 공지 본문의 리스트 땡땡이 제거 */
  body.notice-reader-mode .notice-content-only ul,
  body.notice-reader-mode .notice-content-only ol{
    list-style:none !important;
    padding-left:0 !important;
    margin-left:0 !important;
  }

  body.notice-reader-mode .notice-content-only li{
    list-style:none !important;
  }

  body.notice-reader-mode .notice-content-only li::marker{
    content:'' !important;
    font-size:0 !important;
  }

  body.notice-reader-mode .notice-content-only li::before{
    content:none !important;
    display:none !important;
  }
}


/* ===== v64 : 게시글 reader 상단 여백 고정 + X 버튼 배경 제거 ===== */
/* 공지 전용 reader는 기존 별도 레이아웃을 유지하고, 일반 게시글 reader만 보정 */
body:not(.notice-reader-mode) .reader-head{
  flex:0 0 34px !important;
  height:34px !important;
  min-height:34px !important;
  padding:0 !important;
  border:0 !important;
  position:relative !important;
  background:transparent !important;
}

/* 스크롤해도 위쪽 34px 영역은 본문과 분리되어 항상 남음 */
body:not(.notice-reader-mode) .reader-body{
  padding-top:18px !important;
}

/* X는 사각형 흰 배경 없이 아이콘만 */
body:not(.notice-reader-mode) .reader-close{
  position:absolute !important;
  top:5px !important;
  right:8px !important;
  z-index:10 !important;
  width:24px !important;
  height:24px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#9a9a95 !important;
  opacity:.9;
  transition:color .14s ease, opacity .14s ease, transform .14s ease !important;
}

@media (hover:hover) and (pointer:fine){
  body:not(.notice-reader-mode) .reader-close:hover{
    background:transparent !important;
    color:#555550 !important;
    opacity:1;
    transform:scale(.94);
  }
}

@media (max-width:680px){
  body:not(.notice-reader-mode) .reader-head{
    flex-basis:30px !important;
    height:30px !important;
    min-height:30px !important;
  }

  body:not(.notice-reader-mode) .reader-body{
    padding-top:15px !important;
  }

  body:not(.notice-reader-mode) .reader-close{
    top:3px !important;
    right:6px !important;
    width:24px !important;
    height:24px !important;
  }
}


/* ===== v65 : 보호글(비밀글) 비밀번호 화면 ===== */
.protected-reader-content{
  width:100%;
}
.protected-box{
  width:min(420px,100%);
  margin:2px 0 4px;
  padding:2px 0 8px;
}
.protected-message{
  margin:0;
  color:#777772;
  font-size:12px;
  line-height:1.65;
}
.protected-form{
  margin-top:15px;
}
.protected-form-row{
  display:flex;
  align-items:stretch;
  gap:7px;
}
.protected-password{
  min-width:0;
  flex:1;
  height:36px;
  padding:0 10px;
  border:1px solid #e1e1dc;
  border-radius:0;
  outline:0;
  background:#fff;
  color:#2f2f2c;
  font-size:12px;
  box-shadow:none;
}
.protected-password:focus{
  border-color:#cbdbe5;
  background:#fbfdfe;
}
.protected-submit{
  flex:0 0 auto;
  height:36px;
  padding:0 13px;
  border:1px solid #dce7ed;
  background:#fff;
  color:#708797;
  font-size:11px;
  cursor:pointer;
}
.protected-submit:hover{
  background:var(--point);
}
@media (max-width:680px){
  .protected-form-row{gap:6px}
  .protected-password,
  .protected-submit{height:38px}
}


/* ===== v66 : 보호글 중앙 미니 카드 + 큐티 아이시블루 테마 ===== */
body.protected-reader-mode .reader{
  place-items:center !important;
  align-items:center !important;
  justify-items:center !important;
  padding:22px !important;
  background:
    radial-gradient(circle at 1px 1px, rgba(127,149,165,.11) 1px, transparent 1.2px) 0 0/18px 18px,
    rgba(250,252,253,.98) !important;
}

body.protected-reader-mode .reader-card{
  position:relative !important;
  width:min(390px,calc(100vw - 44px)) !important;
  max-height:calc(100dvh - 44px) !important;
  overflow:hidden !important;
  background:#fff !important;
  border:1px solid #dfe8ee !important;
  border-radius:13px !important;
  box-shadow:
    0 18px 45px rgba(82,102,116,.10),
    0 3px 10px rgba(82,102,116,.05) !important;
}

body.protected-reader-mode .reader-card::before{
  content:"";
  position:absolute;
  z-index:2;
  left:13px;
  top:13px;
  width:4px;
  height:4px;
  border-radius:50%;
  background:#b9ccd8;
  box-shadow:8px 0 0 #d4e0e7,16px 0 0 #edf3f6;
}

body.protected-reader-mode .reader-head{
  flex:0 0 37px !important;
  height:37px !important;
  min-height:37px !important;
  border-bottom:1px dashed #e8eef2 !important;
  background:#fcfdfe !important;
}

body.protected-reader-mode .reader-close{
  top:6px !important;
  right:8px !important;
  width:24px !important;
  height:24px !important;
  color:#9aaab4 !important;
  font-size:20px !important;
}

body.protected-reader-mode .reader-close:hover{
  color:#6f8798 !important;
  transform:rotate(8deg) scale(.94) !important;
}

body.protected-reader-mode .reader-body{
  overflow:auto !important;
  padding:23px 24px 25px !important;
}

.protected-reader-heading{
  text-align:center;
  margin:0 0 16px;
}

.protected-article-title{
  margin:0 !important;
  color:#2f3336 !important;
  font-size:clamp(20px,4vw,25px) !important;
  line-height:1.18 !important;
  letter-spacing:-.04em !important;
  font-weight:720 !important;
  word-break:keep-all;
}

.protected-article-meta{
  margin:7px 0 0 !important;
  color:#b0b8bd !important;
  font-size:8px !important;
  letter-spacing:.035em;
}

.protected-reader-content{
  width:100% !important;
  color:#3f4549;
}

.protected-box{
  position:relative;
  width:100% !important;
  margin:0 !important;
  padding:20px 18px 15px !important;
  text-align:center;
  border:1px solid #e6edf1;
  border-radius:10px;
  background:
    linear-gradient(180deg,#fbfdfe 0%,#fff 42%);
  box-shadow:inset 0 0 0 3px #fff;
}

.protected-lock{
  width:34px;
  height:34px;
  margin:0 auto 9px;
  display:grid;
  place-items:center;
  border:1px solid #dce8ee;
  border-radius:50%;
  background:var(--point);
  color:#7890a0;
  font-size:17px;
  line-height:1;
  box-shadow:0 2px 0 rgba(113,137,154,.06);
}

.protected-kicker{
  color:#91a4b0;
  font-size:8px;
  font-weight:700;
  letter-spacing:.19em;
}

.protected-message{
  margin:8px 0 0 !important;
  color:#797f82 !important;
  font-size:11px !important;
  line-height:1.7 !important;
}

.protected-form{
  margin-top:15px !important;
}

.protected-form-row{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 67px;
  gap:7px !important;
  align-items:center !important;
}

.protected-password{
  width:100%;
  min-width:0;
  height:37px !important;
  padding:0 11px !important;
  border:1px solid #dfe7eb !important;
  border-radius:7px !important;
  outline:0 !important;
  background:#fff !important;
  color:#363c40 !important;
  font-size:11px !important;
  letter-spacing:.06em;
  box-shadow:inset 0 1px 2px rgba(92,112,125,.025) !important;
  transition:border-color .14s ease, box-shadow .14s ease, background .14s ease;
}

.protected-password::placeholder{
  color:#bcc6cc;
  font-size:9px;
  letter-spacing:.12em;
}

.protected-password:focus{
  border-color:#bcd0dc !important;
  background:#fcfeff !important;
  box-shadow:0 0 0 3px rgba(220,234,242,.52) !important;
}

.protected-submit{
  height:37px !important;
  padding:0 10px !important;
  border:1px solid #d8e5ec !important;
  border-radius:7px !important;
  background:#eff5fa !important;
  color:#6e8798 !important;
  font-size:9px !important;
  font-weight:700;
  letter-spacing:.11em;
  cursor:pointer;
  box-shadow:0 2px 0 rgba(107,135,152,.06) !important;
  transition:transform .13s ease, background .13s ease, color .13s ease;
}

@media (hover:hover) and (pointer:fine){
  .protected-submit:hover{
    background:#e6f0f6 !important;
    color:#587488 !important;
    transform:translateY(-1px);
  }
}

.protected-foot{
  margin-top:12px;
  color:#c0d0d9;
  font-size:9px;
  letter-spacing:.23em;
  user-select:none;
}

@media (max-width:680px){
  body.protected-reader-mode .reader{
    /* 기존 모바일 reader의 bottom-sheet 정렬을 보호글에서만 완전 해제 */
    place-items:center !important;
    align-items:center !important;
    justify-items:center !important;
    padding:
      max(18px,env(safe-area-inset-top))
      16px
      max(18px,env(safe-area-inset-bottom)) !important;
  }

  body.protected-reader-mode .reader-card{
    width:min(350px,calc(100vw - 32px)) !important;
    max-height:min(520px,calc(100dvh - 36px)) !important;
    margin:auto !important;
    border-radius:12px !important;
  }

  body.protected-reader-mode .reader-head{
    flex-basis:35px !important;
    height:35px !important;
    min-height:35px !important;
  }

  body.protected-reader-mode .reader-body{
    padding:19px 17px 20px !important;
  }

  .protected-reader-heading{
    margin-bottom:13px;
  }

  .protected-article-title{
    font-size:21px !important;
  }

  .protected-box{
    padding:18px 14px 14px !important;
    border-radius:9px;
  }

  .protected-lock{
    width:32px;
    height:32px;
    margin-bottom:8px;
    font-size:16px;
  }

  .protected-message{
    font-size:10.5px !important;
  }

  .protected-form{
    margin-top:13px !important;
  }

  .protected-form-row{
    grid-template-columns:minmax(0,1fr) 62px;
    gap:6px !important;
  }

  .protected-password,
  .protected-submit{
    height:38px !important;
  }
}

@media (max-width:360px){
  body.protected-reader-mode .reader{
    padding-left:12px !important;
    padding-right:12px !important;
  }

  body.protected-reader-mode .reader-card{
    width:100% !important;
  }

  body.protected-reader-mode .reader-body{
    padding-left:14px !important;
    padding-right:14px !important;
  }

  .protected-form-row{
    grid-template-columns:minmax(0,1fr) 58px;
  }
}


/* ===== v67 : 보호글을 본 스킨과 동일한 플랫 톤으로 통합 ===== */
body.protected-reader-mode .reader{
  place-items:center !important;
  align-items:center !important;
  justify-items:center !important;
  padding:18px !important;
  background:#fff !important;
  backdrop-filter:none !important;
}

body.protected-reader-mode .reader-card{
  position:relative !important;
  width:min(530px,calc(100vw - 28px)) !important;
  max-height:calc(100dvh - 28px) !important;
  margin:auto !important;
  overflow:hidden !important;
  background:#fff !important;
  border:1px solid var(--line) !important;
  border-radius:2px !important;
  box-shadow:0 1px 4px rgba(20,24,28,.025) !important;
}

body.protected-reader-mode .reader-card::before{
  display:none !important;
  content:none !important;
}

body.protected-reader-mode .reader-head{
  flex:0 0 39px !important;
  min-height:39px !important;
  height:39px !important;
  padding:5px 9px !important;
  background:#fff !important;
  border-bottom:1px solid #f1f1ed !important;
}

body.protected-reader-mode .reader-label{
  display:none !important;
}

body.protected-reader-mode .reader-close{
  position:static !important;
  margin-left:auto !important;
  width:28px !important;
  height:28px !important;
  color:#9a9a95 !important;
  font-size:20px !important;
  background:transparent !important;
  border-radius:0 !important;
  transform:none !important;
}

body.protected-reader-mode .reader-close:hover{
  color:#6f8798 !important;
  background:var(--point) !important;
  transform:none !important;
}

body.protected-reader-mode .reader-body{
  overflow:auto !important;
  padding:25px 26px 28px !important;
  background:#fff !important;
}

.protected-reader-heading{
  margin:0 0 24px !important;
  text-align:left !important;
}

.protected-article-title{
  margin:0 !important;
  padding:0 !important;
  color:#222 !important;
  font-size:clamp(27px,5vw,38px) !important;
  line-height:1.08 !important;
  letter-spacing:-.055em !important;
  font-weight:730 !important;
  text-align:left !important;
  word-break:keep-all;
}

.protected-article-meta{
  margin:8px 0 0 !important;
  color:#aaa !important;
  font-size:9px !important;
  letter-spacing:0 !important;
  text-align:left !important;
}

.protected-reader-content{
  width:100% !important;
  color:#2f2f2c !important;
}

.protected-box{
  width:100% !important;
  margin:0 !important;
  padding:17px 0 0 !important;
  text-align:left !important;
  border:0 !important;
  border-top:1px solid #efefeb !important;
  border-radius:0 !important;
  background:#fff !important;
  box-shadow:none !important;
}

.protected-lock,
.protected-foot{
  display:none !important;
}

.protected-kicker{
  margin:0 !important;
  color:#8fa5b4 !important;
  font-size:9px !important;
  font-weight:500 !important;
  line-height:1 !important;
  letter-spacing:.08em !important;
  text-transform:lowercase !important;
}

.protected-message{
  margin:7px 0 13px !important;
  color:#969691 !important;
  font-size:11px !important;
  line-height:1.55 !important;
  text-align:left !important;
}

.protected-form{
  margin:0 !important;
}

.protected-form-row{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 36px !important;
  gap:6px !important;
  align-items:center !important;
  width:min(310px,100%) !important;
}

.protected-password{
  width:100% !important;
  min-width:0 !important;
  height:35px !important;
  padding:0 9px !important;
  border:1px solid #e3e3de !important;
  border-radius:1px !important;
  outline:0 !important;
  background:#fff !important;
  color:#333 !important;
  font-size:11px !important;
  letter-spacing:0 !important;
  box-shadow:none !important;
  transition:border-color .13s ease, background .13s ease !important;
}

.protected-password::placeholder{
  color:#bababa !important;
  font-size:10px !important;
  letter-spacing:.03em !important;
  text-transform:lowercase !important;
}

.protected-password:focus{
  border-color:#cbdbe4 !important;
  background:#fbfdfe !important;
  box-shadow:none !important;
}

.protected-submit{
  width:36px !important;
  height:35px !important;
  padding:0 !important;
  display:grid !important;
  place-items:center !important;
  border:1px solid #e0e7eb !important;
  border-radius:1px !important;
  background:var(--point) !important;
  color:#7891a2 !important;
  font-size:16px !important;
  font-weight:400 !important;
  line-height:1 !important;
  letter-spacing:0 !important;
  cursor:pointer !important;
  box-shadow:none !important;
  transition:background .13s ease,color .13s ease !important;
}

@media (hover:hover) and (pointer:fine){
  .protected-submit:hover{
    background:#e5f0f7 !important;
    color:#5f788b !important;
    transform:none !important;
  }
}

@media (max-width:680px){
  body.protected-reader-mode .reader{
    /* 일반 reader의 모바일 하단 정렬만 보호글에서는 해제 */
    place-items:center !important;
    align-items:center !important;
    justify-items:center !important;
    padding:
      max(14px,env(safe-area-inset-top))
      14px
      max(14px,env(safe-area-inset-bottom)) !important;
    background:#fff !important;
  }

  body.protected-reader-mode .reader-card{
    width:min(500px,100%) !important;
    max-height:calc(100dvh - 28px) !important;
    margin:auto !important;
    border-radius:2px !important;
  }

  body.protected-reader-mode .reader-body{
    padding:22px 18px 25px !important;
  }

  .protected-reader-heading{
    margin-bottom:20px !important;
  }

  .protected-article-title{
    font-size:clamp(26px,9vw,34px) !important;
  }

  .protected-box{
    padding-top:15px !important;
  }

  .protected-message{
    margin-top:6px !important;
    margin-bottom:12px !important;
  }

  .protected-form-row{
    width:100% !important;
    grid-template-columns:minmax(0,1fr) 38px !important;
    gap:6px !important;
  }

  .protected-password,
  .protected-submit{
    height:37px !important;
  }

  .protected-submit{
    width:38px !important;
  }
}



/* ===== v68 : 보호글 화살표만 둥글고 귀엽게 ===== */
.protected-submit{
  font-size:0 !important;
}

.protected-submit svg{
  width:15px !important;
  height:15px !important;
  display:block !important;
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:1.85 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}


/* ==========================================================
   v69 : ALBUM — 커미션 / 그림 갤러리
   - 사진만 꽉 차게 보이는 3열 포토월
   - 가장 최근 그림 1장은 2x2 크게
   - 제목·날짜는 마우스를 올렸을 때만 살짝
   - 여러 장 올린 글은 우측 상단에 겹친 사진 아이콘
   ========================================================== */
#postList.view-album{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:4px !important;
  align-content:start;
  padding:2px !important;
}

#postList.view-album .album-post{
  position:relative;
  min-width:0;
  display:block;
  aspect-ratio:1/1;
  overflow:hidden;
  padding:0 !important;
  background:#f4f7f9;
  color:#fff;
  text-decoration:none;
  isolation:isolate;
}

/* 최신 그림 = 커버처럼 크게 (원치 않으면 이 블록만 지우면 됨) */
#postList.view-album .album-post.is-featured{
  grid-column:span 2;
  grid-row:span 2;
}

#postList.view-album .album-thumb{
  position:absolute;
  inset:0;
  overflow:hidden;
  background:#f4f7f9;
}

#postList.view-album .album-thumb img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  /* 인물 그림은 얼굴이 위쪽에 있는 경우가 많아서 살짝 위 기준으로 자름 */
  object-position:center 25%;
  transition:transform .4s cubic-bezier(.22,.72,.24,1);
}

/* 대표사진이 없어서 글의 og:image를 불러오는 동안 */
#postList.view-album .album-cover-loading{
  display:block;
  width:100%;
  height:100%;
  background:linear-gradient(110deg,#f6f8f9 30%,#edf3fc 50%,#f6f8f9 70%);
  background-size:220% 100%;
  animation:albumShimmer 1.4s ease-in-out infinite;
}

@keyframes albumShimmer{
  from{background-position:100% 0}
  to{background-position:-100% 0}
}

#postList.view-album .album-post.is-featured .special-thumb-fallback{
  font-size:30px;
}

/* 여러 장짜리 글 표시 */
#postList.view-album .album-count{
  position:absolute;
  z-index:3;
  top:6px;
  right:6px;
  width:14px;
  height:14px;
  color:#fff;
  filter:drop-shadow(0 1px 1.5px rgba(40,52,60,.45));
  pointer-events:none;
}

#postList.view-album .album-count svg{
  width:100%;
  height:100%;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* hover 캡션 */
#postList.view-album .album-caption{
  position:absolute;
  z-index:2;
  left:0;
  right:0;
  bottom:0;
  padding:22px 8px 7px;
  background:linear-gradient(to bottom,rgba(66,81,92,0),rgba(66,81,92,.58));
  opacity:0;
  transform:translateY(4px);
  transition:opacity .18s ease,transform .24s cubic-bezier(.22,.72,.24,1);
  pointer-events:none;
}

#postList.view-album .album-title{
  display:block;
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  color:#fff;
  font-size:10px;
  line-height:1.3;
  text-shadow:0 1px 2px rgba(20,30,36,.25);
}

#postList.view-album .album-date{
  display:block;
  margin-top:2px;
  color:#edf3fc;
  font-size:8px;
}

#postList.view-album .album-post.is-featured .album-caption{
  padding:30px 11px 10px;
}

#postList.view-album .album-post.is-featured .album-title{
  font-size:11.5px;
}

#postList.view-album .album-post:focus-visible{
  outline:2px solid #c7dbe7;
  outline-offset:-2px;
}

#postList.view-album .album-post:focus-visible .album-caption{
  opacity:1;
  transform:none;
}

@media (hover:hover) and (pointer:fine){
  #postList.view-album .album-post:hover .album-caption{
    opacity:1;
    transform:none;
  }

  #postList.view-album .album-post:hover .album-thumb img{
    transform:scale(1.035);
  }
}

@media (max-width:680px){
  #postList.view-album{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:3px !important;
    padding:0 !important;
  }

  #postList.view-album .album-count{
    top:5px;
    right:5px;
    width:13px;
    height:13px;
  }
}

/* ==========================================================
   v71 : 공지 = 배너 모음
   하트 → 공지 → 본 스킨 카드와 같은 톤의 배너 칸
   ========================================================== */
body.notice-banner-mode .reader{
  place-items:center !important;
  padding:56px 14px !important;
}

/* 배너 크기에 딱 맞게 줄어드는 박스 (최대 530px) */
body.notice-banner-mode .reader-card{
  width:fit-content !important;
  max-width:min(530px,calc(100vw - 28px)) !important;
  margin:auto !important;
}

.banner-wall{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:8px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:2px;
  background:#fff;
  box-shadow:0 1px 4px rgba(20,24,28,.025);
}

.banner-item{
  display:block;
  max-width:100%;
  line-height:0;
  text-decoration:none !important;
  transition:transform .14s ease, opacity .14s ease;
}

/* width 속성이 있으면 그 크기, 없으면 원본 크기 */
.banner-item img{
  display:block;
  height:auto !important;
  max-width:100% !important;
  margin:0 !important;
}

@media (hover:hover) and (pointer:fine){
  a.banner-item:hover{
    transform:translateY(-1px);
    opacity:.82;
  }
}

.banner-note,
.banner-empty{
  margin-top:10px;
  color:#969691;
  font-size:10.5px;
  line-height:1.6;
  text-align:center;
  white-space:pre-line;
}

.banner-empty{
  padding:34px 10px;
  margin-top:0;
  border:1px solid var(--line);
  background:#fff;
}

@media (max-width:680px){
  body.notice-banner-mode .reader{
    padding:48px 12px !important;
  }

  .banner-wall{
    gap:6px;
    padding:10px;
  }
}


/* ==========================================================
   v72 : 티스토리 공감/공유/구독 버튼 미니멀화
   - 구독하기 · 후원 버튼 숨김
   - 둥근 테두리 제거, 아이콘만 얇게 (스킨 아이콘 색)
   - 글 하단 오른쪽에 작은 아이콘 줄로
   ========================================================== */
body .container_postbtn{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:0 !important;
  height:auto !important;
  margin:30px 0 0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  clear:both;
}

body .container_postbtn::after{
  content:none !important;
}

/* 구독하기 / 후원 */
body .container_postbtn .btn_menu_toolbar,
body .container_postbtn .btn_subscription,
body .container_postbtn [data-tistory-react-app="SupportButton"]{
  display:none !important;
}

body .container_postbtn .postbtn_like{
  float:none !important;
  display:flex !important;
  align-items:center !important;
  gap:2px !important;
  height:auto !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

body .container_postbtn .postbtn_like .wrap_btn{
  float:none !important;
  display:flex !important;
  align-items:center !important;
}

body .container_postbtn .btn_post{
  display:inline-flex !important;
  align-items:center !important;
  gap:4px !important;
  height:26px !important;
  min-width:26px !important;
  padding:0 5px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#879baa !important;
  transition:color .13s ease, transform .13s ease;
}

@media (hover:hover) and (pointer:fine){
  body .container_postbtn .btn_post:hover{
    color:#5f788b !important;
    transform:translateY(-1px);
  }
}

/* 티스토리 스프라이트 아이콘 → 스킨 톤 라인 아이콘 */
body .container_postbtn .btn_post .ico_postbtn{
  display:inline-block !important;
  width:15px !important;
  height:15px !important;
  max-width:none !important;
  margin:0 !important;
  background:currentColor !important;
  background-image:none !important;
  -webkit-mask:var(--pb-ico) center/contain no-repeat;
  mask:var(--pb-ico) center/contain no-repeat;
}

body .container_postbtn .btn_post .ico_like{
  --pb-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.7' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.5-4.6-7.5-10.3A4.2 4.2 0 0 1 12 7.2a4.2 4.2 0 0 1 7.5 2.5C19.5 15.4 12 20 12 20z'/%3E%3C/svg%3E");
}

/* 공감 누른 상태 = 채워진 하트 */
body .container_postbtn .btn_post .empathy_up_without_ani .ico_like,
body .container_postbtn .btn_post .empathy_up .ico_like,
body .container_postbtn .btn_post.like_on .ico_like{
  --pb-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.5-4.6-7.5-10.3A4.2 4.2 0 0 1 12 7.2a4.2 4.2 0 0 1 7.5 2.5C19.5 15.4 12 20 12 20z'/%3E%3C/svg%3E");
}

body .container_postbtn .btn_post .ico_share{
  --pb-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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M8 8l4-4 4 4M5.5 13.5V19h13v-5.5'/%3E%3C/svg%3E");
}

body .container_postbtn .btn_post .ico_etc{
  --pb-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='6' cy='12' r='1.6'/%3E%3Ccircle cx='12' cy='12' r='1.6'/%3E%3Ccircle cx='18' cy='12' r='1.6'/%3E%3C/svg%3E");
}

body .container_postbtn .btn_post .ico_statistics{
  --pb-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.7' stroke-linecap='round'%3E%3Cpath d='M6 19v-6M12 19V6M18 19v-9'/%3E%3C/svg%3E");
}

body .container_postbtn .btn_post .ico_report{
  --pb-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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 20V5h10l-1.5 3.5L16 12H6'/%3E%3C/svg%3E");
}

/* 하트 + 숫자 한 줄 정렬 */
body .container_postbtn .btn_post > div,
body .container_postbtn .btn_post > span:not(.ico_postbtn){
  display:inline-flex !important;
  align-items:center !important;
  gap:4px !important;
}

/* 공감 0개일 때의 '공감' 글자는 숨기고 숫자만 */
body .container_postbtn .btn_post .txt_like.is-word{
  display:none !important;
}

/* 공감 수: 아주 작게 */
body .container_postbtn .btn_post .txt_like{
  display:inline-block;
  height:15px !important;
  margin:0 !important;
  color:#a8a8a3 !important;
  font-size:10px !important;
  line-height:15px !important;
  font-family:inherit !important;
}

@media (max-width:680px){
  body .container_postbtn{
    margin-top:24px !important;
  }
}


/* ==========================================================
   v73 : '카테고리의 다른 글' — 박스 없이 인덱스 목록과 같은 톤
   ========================================================== */
body .another_category{
  margin:18px 0 0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

body .another_category h4{
  margin:0 !important;
  padding:0 2px 7px !important;
  border:0 !important;
  border-bottom:1px solid #f1f1ed !important;
  color:#a8a8a3 !important;
  font-size:9.5px !important;
  font-weight:400 !important;
  line-height:1.4 !important;
  letter-spacing:.02em;
}

/* "'카테고리 > 하위' 카테고리의 다른 글" → "others" */
body .another_category h4{
  font-size:0 !important;
}

body .another_category h4 a{
  display:none !important;
}

body .another_category h4::before{
  content:"others";
  color:#a8a8a3;
  font-size:9.5px;
  letter-spacing:.06em;
}

body .another_category table{
  width:100% !important;
  margin:0 !important;
  border-collapse:collapse !important;
  table-layout:fixed;
}

body .another_category tr + tr th,
body .another_category tr + tr td{
  border-top:1px solid #f4f4f0 !important;
}

body .another_category th,
body .another_category td{
  padding:8px 2px !important;
  vertical-align:middle !important;
  background:transparent !important;
}

body .another_category th{
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  text-align:left;
  font-weight:400 !important;
  line-height:1.4 !important;
}

body .another_category th a{
  color:#666661 !important;
  font-size:11.5px !important;
  font-weight:400 !important;
  text-decoration:none !important;
  border:0 !important;
  transition:color .13s ease;
}

@media (hover:hover) and (pointer:fine){
  body .another_category th a:hover{
    color:#111 !important;
  }
}

/* 지금 보고 있는 글 */
body .another_category th a.current{
  color:#111 !important;
  font-weight:600 !important;
  border:0 !important;
}

/* 댓글 수 (0) 숨김 */
body .another_category th span{
  display:none !important;
}

body .another_category td{
  width:74px !important;
  text-align:right !important;
  color:#c0c0bb !important;
  font-size:8.5px !important;
  white-space:nowrap;
}


/* ===== v78 : 페이지 로드 때 목록은 애니메이션 없이 바로 ===== */
.index-panel.no-anim,
.index-panel.no-anim .index-grid,
.index-panel.no-anim .category-pane,
.index-panel.no-anim .entries-pane{
  transition:none !important;
}


/* ===== v76 : ALL 숨김 + 새 글 N 하늘색 ===== */
.category-tree a.cat-all-hidden{
  display:none !important;
}

/* ALL이 빠진 만큼 하위 카테고리를 한 칸 왼쪽으로 */
.category-tree.no-all > ul > li > ul{
  padding-left:0 !important;
}

/* 원본 티스토리 N처럼 픽셀 도트 (11×11, 모서리 깎임, 흰 N) */
.category-tree .cat-new{
  display:inline-block;
  width:11px;
  height:11px;
  margin-left:4px;
  vertical-align:middle;
  position:relative;
  top:0;
  flex:0 0 auto;
  overflow:hidden;
  color:transparent;
  font-size:0;
  line-height:0;
  image-rendering:pixelated;
  background:no-repeat center/11px 11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 11' shape-rendering='crispEdges'%3E%3Cpath fill='%2399bdd6' d='M1 0h9v1h1v9h-1v1H1v-1H0V1h1z'/%3E%3Cpath fill='%23fff' d='M3 3h1v5H3zM7 3h1v5H7zM4 4h1v1H4zM5 5h1v1H5zM6 6h1v1H6z'/%3E%3C/svg%3E");
}


/* ===== v70 : 카테고리 앞 작은 점 제거 (PC 포함 전체) ===== */
.category-tree ul ul li::before,
.category-tree ul ul ul li::before{
  content:none !important;
  display:none !important;
}

@media (prefers-reduced-motion:reduce){
  #postList.view-album .album-cover-loading{
    animation:none;
  }

  #postList.view-album .album-thumb img,
  #postList.view-album .album-caption{
    transition:none;
  }
}


/* ==========================================================
   v74 : 글 제목 작게 + 비밀글 창 윗줄 제거
   ========================================================== */

/* 게시글 / 비밀글 제목: 크게 떠 있지 않고 본문과 어울리게 */
.reader .article-title,
.protected-article-title{
  margin:0 0 6px !important;
  color:#222 !important;
  font-size:21px !important;
  font-weight:650 !important;
  line-height:1.3 !important;
  letter-spacing:-.03em !important;
  word-break:keep-all;
}

.reader .article-meta,
.protected-article-meta{
  margin:0 0 22px !important;
  color:#aaa !important;
  font-size:9.5px !important;
  letter-spacing:0 !important;
}

.protected-reader-heading{
  margin:0 0 18px !important;
}

.protected-reader-heading .protected-article-meta{
  margin-bottom:0 !important;
}

/* 비밀글 창: 위쪽 헤더 줄 제거, X만 우측 상단 (일반 글과 동일) */
body.protected-reader-mode .reader-head{
  flex:0 0 30px !important;
  height:30px !important;
  min-height:30px !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  position:relative !important;
}

body.protected-reader-mode .reader-close{
  position:absolute !important;
  top:5px !important;
  right:8px !important;
  width:24px !important;
  height:24px !important;
  margin:0 !important;
  background:transparent !important;
  color:#9a9a95 !important;
}

body.protected-reader-mode .reader-close:hover{
  background:transparent !important;
  color:#555550 !important;
}

body.protected-reader-mode .reader-body{
  padding:14px 26px 26px !important;
}

@media (max-width:680px){
  .reader .article-title,
  .protected-article-title{
    font-size:19px !important;
  }

  body.protected-reader-mode .reader-body{
    padding:12px 18px 22px !important;
  }
}


/* ==========================================================
   v79 : 본문 인용구 (티스토리 에디터 인용 스타일 3종)
   - 글씨 크기는 본문과 같게 (티스토리 기본 16px 강제 해제)
   - 글자 색은 에디터에서 지정한 색 그대로 유지
   ========================================================== */
.reader .article-content blockquote,
.reader .article-content blockquote p{
  font-size:14px !important;
  line-height:1.8 !important;
  letter-spacing:0 !important;
}

.reader .article-content blockquote p{
  margin:0 !important;
  padding:0 !important;
}

/* 기본 · style2 : 왼쪽 회색 세로줄 (에디터 미리보기와 같은 모양) */
.reader .article-content blockquote,
.reader .article-content blockquote[data-ke-style='style2']{
  margin:20px 0 !important;
  padding:2px 0 2px 20px !important;
  border:0 !important;
  border-left:4px solid #d6d6d2 !important;
  background:none !important;
  color:#555 !important;
  text-align:left !important;
}

/* style1 : 가운데 정렬 + 위쪽 따옴표 */
.reader .article-content blockquote[data-ke-style='style1']{
  margin:26px auto !important;
  padding:30px 8px 0 !important;
  border:0 !important;
  background:none !important;
  text-align:center !important;
  color:#333 !important;
  position:relative;
}

.reader .article-content blockquote[data-ke-style='style1']::before{
  content:"\201C";
  position:absolute;
  top:-4px;
  left:50%;
  transform:translateX(-50%);
  color:#a9c3d5;
  font-family:Georgia,"Times New Roman",serif;
  font-size:34px;
  line-height:1;
}

/* style3 · box : 연한 상자 */
.reader .article-content blockquote[data-ke-style='style3'],
.reader .article-content blockquote[data-ke-style='box']{
  margin:20px 0 !important;
  padding:16px 20px !important;
  border:1px solid #e5e5e0 !important;
  border-left:1px solid #e5e5e0 !important;
  background:#fafbfc !important;
  color:#555 !important;
  text-align:left !important;
}

@media (max-width:680px){
  .reader .article-content blockquote,
  .reader .article-content blockquote[data-ke-style='style2']{
    padding-left:14px !important;
    border-left-width:3px !important;
  }

  .reader .article-content blockquote[data-ke-style='style3'],
  .reader .article-content blockquote[data-ke-style='box']{
    padding:14px 15px !important;
  }
}


/* ==========================================================
   v80 : 글 하단 태그 (#태그 칩)
   ========================================================== */
.reader .post-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:30px 0 0;
}

.reader .post-tag{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:3px 8px;
  border:1px solid #e3ebf0;
  background:#fff;
  color:#879baa !important;
  font-size:10.5px;
  line-height:1.2;
  text-decoration:none !important;
  transition:background .12s ease,color .12s ease,border-color .12s ease;
}

@media (hover:hover) and (pointer:fine){
  .reader .post-tag:hover{
    background:var(--point);
    border-color:#d6e4ed;
    color:#587184 !important;
  }
}

/* 태그가 있으면 공감 버튼 줄은 태그 바로 아래로 */
.reader .post-tags + .container_postbtn{
  margin-top:14px !important;
}


/* ==========================================================
   v81 : 3D 플립 시계 (좌측 하단)
   - 화이트 프레임 + 스카이블루 플립 카드
   - 천천히 좌우로 돌아가는 3D
   - 크기는 .twc-wrap 의 --twc-w 하나로 조절
   ========================================================== */
.twc-wrap{
  --twc-w:168px;
  position:fixed;
  left:max(26px,env(safe-area-inset-left,0px));
  bottom:max(64px,env(safe-area-inset-bottom,0px));
  z-index:20;
  width:var(--twc-w);
  font-size:calc(var(--twc-w) / 100);   /* 1em = 시계 폭의 1% */
  pointer-events:auto;
  user-select:none;
  -webkit-user-select:none;
  opacity:0;
  visibility:hidden;
  transform:translateY(12px) scale(.96);
  transform-origin:50% 100%;
  transition:
    opacity .3s ease,
    transform .45s cubic-bezier(.22,.72,.24,1),
    visibility 0s linear .45s;
}

/* 미니 버튼으로 열었을 때만 보임 (카드 위로 쏙 올라옴) */
.twc-wrap.is-open.is-placed{
  opacity:1;
  visibility:visible;
  transform:none;
  transition:
    opacity .3s ease,
    transform .45s cubic-bezier(.22,.72,.24,1),
    visibility 0s;
}

/* 카드가 화면 위까지 차서 앉을 자리가 없을 때 */
.twc-wrap.is-tucked{
  opacity:0 !important;
  pointer-events:none !important;
}

.twc-scene{
  position:relative;
  width:100em;
  height:66em;
  perspective:520em;
  perspective-origin:50% 40%;
}

.twc{
  position:absolute;
  inset:0;
  transform-style:preserve-3d;
  transform:rotateX(7deg) rotateY(-22deg);
  animation:twcSway 18s ease-in-out infinite;
  will-change:transform;
}

@keyframes twcSway{
  0%  {transform:translateY(0)     rotateX(7deg) rotateY(-24deg)}
  25% {transform:translateY(-1.6em) rotateX(5deg) rotateY(0deg)}
  50% {transform:translateY(0)     rotateX(7deg) rotateY(24deg)}
  75% {transform:translateY(-1.6em) rotateX(5deg) rotateY(0deg)}
  100%{transform:translateY(0)     rotateX(7deg) rotateY(-24deg)}
}

/* 두께 : 같은 모양 판을 뒤로 겹쳐 쌓아서 옆면을 만듦 */
.twc-slice,
.twc-front,
.twc-back{
  position:absolute;
  inset:0;
  border-radius:15em;
  backface-visibility:visible;
}

.twc-slice{
  background:var(--twc-slice,#e7eef3);
  box-shadow:inset 0 0 0 .5em rgba(255,255,255,.35);
}

.twc-back{
  background:linear-gradient(160deg,#e3ebf1,#cfdbe4);
}

/* 앞면 프레임 */
.twc-front{
  transform:translateZ(0);
  background:
    linear-gradient(162deg,#ffffff 0%,#f6f9fb 46%,#e8eff5 100%);
  box-shadow:
    inset 0 .6em 0 rgba(255,255,255,.95),
    inset 0 -1.2em 2em rgba(120,150,172,.16),
    inset 0 0 0 .35em rgba(255,255,255,.7),
    0 0 0 .3em rgba(165,190,208,.38);
  overflow:hidden;
}

/* 유리/플라스틱 하이라이트 */
.twc-gloss{
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:
    linear-gradient(118deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.55) 38%,rgba(255,255,255,0) 47%),
    radial-gradient(120% 60% at 30% 0%,rgba(255,255,255,.6),rgba(255,255,255,0) 60%);
  mix-blend-mode:screen;
  animation:twcGloss 18s ease-in-out infinite;
}

@keyframes twcGloss{
  0%,100%{background-position:-30em 0,0 0}
  50%    {background-position:30em 0,0 0}
}

/* 안쪽 판 (스카이블루) */
.twc-screen{
  position:absolute;
  inset:8em 8em 8em 8em;
  border-radius:8em;
  background:#ffffff;
  box-shadow:
    inset 0 .9em 1.6em rgba(80,120,150,.22),
    inset 0 0 0 .45em rgba(255,255,255,.85),
    0 0 0 .35em #dbe6ee;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:5em;
  padding:0 6em;
}

.twc-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4em;
}

/* 플립 카드 */
.twc-card{
  position:relative;
  height:17.5em;
  border-radius:1.6em;
  background:#ffffff;
  box-shadow:
    0 .6em .9em rgba(110,120,130,.18),
    inset 0 0 0 .2em #e4e9ed;
  color:#8fb1c6;
  font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-weight:700;
  perspective:60em;
}

.twc-day,.twc-mon{width:22em}
.twc-date{width:17em}
.twc-hh,.twc-mm{width:20em;height:20em}

.twc-half,
.twc-flap{
  position:absolute;
  left:0;
  right:0;
  height:50%;
  overflow:hidden;
  backface-visibility:hidden;
}

.twc-half.twc-up,
.twc-flap.twc-flap-up{
  top:0;
  border-radius:1.6em 1.6em 0 0;
  background:linear-gradient(180deg,#ffffff,#fcfdfd);
  transform-origin:50% 100%;
}

.twc-half.twc-down,
.twc-flap.twc-flap-down{
  bottom:0;
  border-radius:0 0 1.6em 1.6em;
  background:linear-gradient(180deg,#f8fafb,#f4f6f8);
  transform-origin:50% 0%;
}

/* 가운데 접히는 선 */
.twc-card::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:calc(50% - .2em);
  height:.4em;
  background:#e2e8ec;
  z-index:5;
}

.twc-half span,
.twc-flap span{
  position:absolute;
  left:0;
  right:0;
  height:200%;
  display:flex;
  align-items:center;
  justify-content:center;
  letter-spacing:-.02em;
  text-shadow:none;
}

.twc-up span,
.twc-flap-up span{top:0}

.twc-down span,
.twc-flap-down span{top:-100%}

.twc-day span,.twc-mon span{font-size:9.6em;transform:scaleX(.86)}
.twc-date span{font-size:11em;transform:scaleX(.9)}
.twc-hh span,.twc-mm span{font-size:13em;transform:scaleX(.9)}

.twc-flap{display:none;z-index:3}

.twc-card.is-flipping .twc-flap{display:block}

.twc-card.is-flipping .twc-flap-up{
  animation:twcFlipUp .28s ease-in forwards;
}

.twc-card.is-flipping .twc-flap-down{
  transform:rotateX(90deg);
  animation:twcFlipDown .28s ease-out .28s forwards;
}

@keyframes twcFlipUp{
  from{transform:rotateX(0deg);filter:brightness(1)}
  to  {transform:rotateX(-90deg);filter:brightness(.82)}
}

@keyframes twcFlipDown{
  from{transform:rotateX(90deg);filter:brightness(1.12)}
  to  {transform:rotateX(0deg);filter:brightness(1)}
}

/* am/pm · 로고 자리 */
.twc-ampm,
.twc-brand{
  align-self:flex-start;
  margin-top:1.2em;
  color:#93afc2;
  font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size:3.4em;
  font-weight:700;
  line-height:1;
  letter-spacing:.02em;
}

.twc-brand{
  align-self:flex-end;
  margin:0 0 1.4em;
  font-size:3em;
  letter-spacing:.08em;
}

/* 바닥 그림자 : 사용 안 함 */
.twc-shadow{
  display:none !important;
  position:absolute;
  left:12%;
  right:12%;
  bottom:-9em;
  height:7em;
  border-radius:50%;
  background:radial-gradient(closest-side,rgba(70,100,125,.22),rgba(70,100,125,0));
  filter:blur(.6em);
  animation:twcShadow 18s ease-in-out infinite;
  pointer-events:none;
}

@keyframes twcShadow{
  0%,50%,100%{transform:scaleX(.9);opacity:.9}
  25%,75%    {transform:scaleX(1.05);opacity:.7}
}

/* 화면이 좁으면 작게 + 카드 뒤로 (겹쳐도 글을 가리지 않게) */
@media (max-width:960px){
  .twc-wrap{
    --twc-w:118px;
    z-index:20;
    left:max(14px,env(safe-area-inset-left,0px));
    bottom:max(44px,env(safe-area-inset-bottom,0px));
  }

  /* 작을 땐 am · 我愛你 글씨가 점처럼 보여서 숨김 */
  .twc-ampm,
  .twc-brand{
    display:none;
  }
}

/* 시계가 카드 뒤에 있을 때도 누를 수 있게 : 빈 바탕은 클릭 통과 */
.shell{
  pointer-events:none;
}

.shell > *{
  pointer-events:auto;
}

@media (prefers-reduced-motion:reduce){
  .twc,
  .twc-gloss,
  .twc-shadow{
    animation:none !important;
  }

  .twc{
    transform:rotateX(6deg) rotateY(-18deg);
  }
}


/* ===== v82 : 3D 시계 캔버스 ===== */
.twc-gl{
  position:absolute;
  left:calc(var(--twc-w) * -0.17);
  bottom:calc(var(--twc-w) * -0.2);
  width:calc(var(--twc-w) * 1.34);
  height:calc(var(--twc-w) * 1.06);
  display:block;
  pointer-events:none;
}

/* 3D가 뜨면 CSS 시계는 숨김 / 로딩 중엔 둘 다 숨김 */
.twc-wrap.is-3d .twc-scene,
.twc-wrap.is-3d-loading .twc-scene{
  visibility:hidden;
}

/* 누를 수 있는 시계 */
.twc-wrap.is-clickable{
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}

.twc-wrap.is-clickable:focus-visible{
  outline:2px solid #9fd3f3;
  outline-offset:6px;
  border-radius:14px;
}


/* ===== v84 : 미니 시계 버튼 (하트 왼쪽) — 시 : 분 글자만, 미니멀 ===== */
.head .mini-clock{
  margin-left:auto;
  margin-right:-8px;
  align-self:center;
  display:flex;
  align-items:baseline;
  gap:1px;
  padding:2px 4px;
  border:0;
  background:transparent;
  color:#edf3fc;
  font:700 13px/1 Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR",Arial,sans-serif;
  font-variant-numeric:tabular-nums;
  letter-spacing:.06em;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:color .14s ease;
}

.head .mini-clock span{
  display:inline-block;
}

.head .mini-clock .mini-colon{
  font-style:normal;
}

/* 하트(我愛你 타이틀 색)와 같은 색 그대로 */

.head .mini-clock:focus-visible{
  outline:1px solid #bfc8cf;
  outline-offset:3px;
}

@media (max-width:680px){
  .head .mini-clock{
    margin-right:-4px;
  }
}

.head .notice-btn{
  margin-left:0 !important;
}


/* ==========================================================
   v85 : CLICK to … 링크 + 레트로 컴퓨터 3D 창
   ========================================================== */

/* 배경 위쪽 옛날 웹 링크 (카드 뒤에 깔림) */
.click-to{
  position:fixed;
  top:max(26px,env(safe-area-inset-top,0px));
  left:max(28px,env(safe-area-inset-left,0px));
  z-index:5;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:1px;
  pointer-events:auto;
}

.click-to a{
  width:max-content;
  color:#4767b6 !important;
  font-family:"Times New Roman",Times,"Noto Serif KR",serif;
  font-size:15px;
  line-height:1.3;
  letter-spacing:0;
  text-decoration:underline !important;
  text-decoration-thickness:1px;
  text-underline-offset:2.5px;
  transition:color .14s ease;
}

@media (hover:hover) and (pointer:fine){
  .click-to a:hover{
    color:#2c4b9c !important;
  }
}

.click-to a:focus-visible{
  outline:2px solid #b9caec;
  outline-offset:2px;
}

/* 화면이 좁으면 (사전 상자가 거의 꽉 참) : 왼쪽 위에 작게 세로로,
   사전 상자는 그 아래부터 시작하게 위쪽 자리를 비워 둠 → 절대 안 겹침 */
@media (max-width:900px){
  .click-to{
    top:max(10px,env(safe-area-inset-top,0px));
    left:max(16px,env(safe-area-inset-left,0px));
  }

  .click-to a{
    font-size:12.5px;
    line-height:1.3;
    text-underline-offset:2px;
  }

  .shell{
    padding-top:calc(max(10px,env(safe-area-inset-top,0px)) + 62px) !important;
  }
}

/* 창 */
.pc-modal{
  position:fixed;
  inset:0;
  z-index:300;
  display:grid;
  place-items:center;
  padding:
    max(16px,env(safe-area-inset-top,0px))
    max(16px,env(safe-area-inset-right,0px))
    max(16px,env(safe-area-inset-bottom,0px))
    max(16px,env(safe-area-inset-left,0px));
  background:rgba(250,251,252,.72);
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;            /* 닫혀 있을 땐 절대 클릭을 가로채지 않음 */
  transition:opacity .25s ease,visibility 0s linear .25s;
}

.pc-modal.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transition:opacity .25s ease,visibility 0s;
}

.pc-window{
  width:min(640px,100%);
  background:#fff;
  border:1px solid var(--line,#e5e5e0);
  border-radius:2px;
  box-shadow:0 18px 50px rgba(40,50,60,.08),0 2px 8px rgba(40,50,60,.04);
  transform:translateY(10px) scale(.985);
  transition:transform .35s cubic-bezier(.22,.72,.24,1);
  overflow:hidden;
}

.pc-modal.is-open .pc-window{
  transform:none;
}

.pc-titlebar{
  height:34px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 6px 0 12px;
  border-bottom:1px solid #f1f1ed;
}

.pc-dots{
  display:flex;
  gap:5px;
}

.pc-dots i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#e6eaee;
}

.pc-title{
  flex:1;
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  color:#9a9a95;
  font-family:"Times New Roman",Times,serif;
  font-size:12px;
}

.pc-close{
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  background:transparent;
  color:#9a9a95;
  font-size:19px;
  font-weight:300;
  line-height:1;
  cursor:pointer;
}

.pc-close:hover{
  color:#555550;
}

.pc-stage{
  position:relative;
  width:100%;
  aspect-ratio:4/3.1;
  max-height:min(560px,calc(100dvh - 120px));
  background:#fff;
  cursor:grab;
  touch-action:none;
}

.pc-stage.is-dragging{
  cursor:grabbing;
}

.pc-gl{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
}

.pc-loading{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:#b8c3e6;
  font:italic 700 15px "Helvetica Neue",Helvetica,Arial,sans-serif;
  letter-spacing:.02em;
  transition:opacity .3s ease;
}

.pc-stage.is-ready .pc-loading{
  opacity:0;
}

.pc-stage.is-failed .pc-loading::after{
  content:" — 3D를 불러오지 못했어요";
  font-style:normal;
  font-weight:400;
  color:#aaa;
}

@media (prefers-reduced-motion:reduce){
  .pc-modal,
  .pc-window{
    transition:none;
  }
}

/* ===== v86 : PLAYLIST 사진 위 재생 버튼 (누르면 바로 노래) ===== */
.pl-host{
  position:fixed;
  left:-420px;
  bottom:0;
  width:200px;
  height:113px;
  overflow:hidden;
  opacity:.001;
  pointer-events:none;
  z-index:-1;
}

#postList.view-playlist .pl-play{
  position:absolute;
  z-index:3;
  right:8px;
  bottom:8px;
  width:26px;
  height:25px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.7);
  background:rgba(255,255,255,.5);
  -webkit-backdrop-filter:blur(3px);
  backdrop-filter:blur(3px);
  color:#ffffff;
  transition:background .12s ease,color .12s ease;
}

#postList.view-playlist .pl-play svg{
  width:12px;
  height:12px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}

#postList.view-playlist .pl-play .i-pause{display:none}
#postList.view-playlist .special-post.is-playing .pl-play .i-play{display:none}
#postList.view-playlist .special-post.is-playing .pl-play .i-pause{display:block}

#postList.view-playlist .special-post.is-playing .pl-play{
  background:rgba(255,255,255,.82);
  color:#6f8798;
}

@media (hover:hover) and (pointer:fine){
  #postList.view-playlist .special-post:hover .pl-play{
    background:rgba(255,255,255,.82);
    color:#6f8798;
  }
}

#postList.view-playlist .special-post.is-loading .pl-play{
  animation:plBlink 1s ease-in-out infinite;
}

@keyframes plBlink{50%{opacity:.45}}

/* 이름 옆 공간을 재생 버튼에 양보 */
#postList.view-playlist .special-info{
  right:42px;
}

@media (prefers-reduced-motion:reduce){
  #postList.view-playlist .special-post.is-loading .pl-play{animation:none}
}

/* 좁은 화면 : 위쪽 CLICK 줄 자리만큼 사전 상자 최대 높이도 줄임 (위로 넘쳐 겹치지 않게) */
@media (max-width:900px){
  .dictionary{
    max-height:calc(100dvh - max(10px,env(safe-area-inset-top,0px)) - 86px) !important;
  }
}

/* ===== v87 : 갤러리(:3) 그림만 크게 보기 ===== */
.art-viewer{
  position:fixed;
  inset:0;
  z-index:320;
  display:grid;
  padding:
    max(48px,env(safe-area-inset-top,0px))
    max(16px,env(safe-area-inset-right,0px))
    max(52px,env(safe-area-inset-bottom,0px))
    max(16px,env(safe-area-inset-left,0px));
  background:rgba(250,251,252,.62);
  -webkit-backdrop-filter:blur(7px);
  backdrop-filter:blur(7px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .25s ease,visibility 0s linear .25s;
}
.art-viewer.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transition:opacity .25s ease,visibility 0s;
}
html.art-viewer-open{overflow:hidden}
.art-stage{
  position:relative;
  min-height:0;
  display:grid;
  place-items:center;
  overflow:hidden;
  touch-action:none;
}
.art-fig{
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.art-img{
  position:relative;
  z-index:1;
  display:block;
  max-width:100%;
  object-fit:contain;
  border:1px solid rgba(225,229,232,.9);
  background:#fff;
  transform-origin:50% 50%;
  cursor:zoom-in;
  user-select:none;
  -webkit-user-select:none;
  -webkit-user-drag:none;
  will-change:transform;
}
.art-viewer.is-zoomed .art-img{cursor:grab}
.art-img.is-loading{opacity:.35}
.art-img:not([src]){display:none}

/* 그림 바로 밑 문구 */
.art-text{
  max-width:100%;
  margin-top:10px;
  transition:opacity .2s ease;
}
.art-text[hidden]{display:none}
.art-viewer.is-zoomed .art-text{opacity:0}
.art-text p{margin:0}
.art-cap{
  color:#5f5f5b;
  font-family:Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR",Arial,sans-serif;
  font-size:12.5px;
  line-height:1.5;
}
.art-body{
  max-height:4.9em;
  margin-top:2px !important;
  overflow:auto;
  white-space:pre-line;
  color:#8a8a85;
  font-size:11.5px;
  line-height:1.6;
  word-break:keep-all;
  scrollbar-width:none;
}
.art-body::-webkit-scrollbar{display:none}

/* 오른쪽 아래 : 장수 · 확대 축소 */
.art-tools{
  position:absolute;
  right:max(16px,env(safe-area-inset-right,0px));
  bottom:max(14px,env(safe-area-inset-bottom,0px));
  z-index:2;
  display:flex;
  align-items:center;
}
.art-count{
  margin-right:10px;
  color:#8f8f8a;
  font-family:Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR",Arial,sans-serif;
  font-size:12px;
  letter-spacing:.08em;
  white-space:nowrap;
}
.art-zoom{
  width:28px;
  height:27px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid var(--line,#e5e5e0);
  background:#fff;
  color:var(--accent,#7f95a5);
  cursor:pointer;
}
.art-zoom + .art-zoom{border-left:0}
.art-zoom svg{
  width:13px;
  height:13px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
}

/* 좌우 넘기기 : 다른 버튼들과 같은 흰 네모 + 얇은 꺾쇠 */
.art-nav{
  position:absolute;
  top:50%;
  z-index:2;
  width:32px;
  height:32px;
  margin-top:-16px;
  display:none;
  place-items:center;
  padding:0;
  border:1px solid var(--line,#e5e5e0);
  background:rgba(255,255,255,.92);
  color:var(--accent,#7f95a5);
  cursor:pointer;
  transition:background .12s ease,color .12s ease;
}
.art-viewer.is-multi:not(.is-zoomed) .art-nav{display:grid}
.art-prev{left:max(14px,env(safe-area-inset-left,0px))}
.art-next{right:max(14px,env(safe-area-inset-right,0px))}
.art-nav svg{
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}
@media (hover:hover) and (pointer:fine){
  .art-zoom:hover,
  .art-nav:hover{background:var(--point,#eff5fa);color:#6f8798}
}

.art-close{
  position:absolute;
  top:max(8px,env(safe-area-inset-top,0px));
  right:max(10px,env(safe-area-inset-right,0px));
  z-index:2;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  background:transparent;
  color:#8f8f8a;
  font-size:24px;
  font-weight:300;
  line-height:1;
  cursor:pointer;
}
.art-close:hover{color:#555550}
.art-close:focus{outline:none}
.art-close:focus-visible{outline:1px solid #bfc8cf;outline-offset:2px}
@media (max-width:680px){
  .art-nav{width:28px;height:28px;margin-top:-14px}
  .art-prev{left:max(6px,env(safe-area-inset-left,0px))}
  .art-next{right:max(6px,env(safe-area-inset-right,0px))}
}
@media (prefers-reduced-motion:reduce){
  .art-viewer,.art-img,.art-text{transition:none}
}

/* ===== v88 : 지금 보고 있는 카테고리 = 밑줄 대신 하늘색 + 굵게 ===== */
.category-tree a.current{
  color:#6f93b0 !important;
  font-weight:700 !important;
}
.category-tree a.current::after{
  display:none !important;
}
.category-tree a.current .c_cnt{
  color:#a9c1d3 !important;
  font-weight:400 !important;
}

/* 패널 안 내용도 조금 더 천천히 따라 나오게 */
.index-grid{
  transition:
    opacity .34s ease .06s,
    transform .44s cubic-bezier(.25,.8,.25,1) !important;
}

/* ===== v89 : prompt 카테고리 = 바탕화면 ===== */
.pd-desk{
  position:fixed;
  inset:0;
  z-index:330;
  overflow:hidden;
  background:#ffffff;
  font-family:Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR",Arial,sans-serif;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .35s ease,visibility 0s linear .35s;
}
.pd-desk.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transition:opacity .35s ease,visibility 0s;
}
html.pd-open{overflow:hidden}

/* 가운데 연하늘 에어브러시 : 여러 겹 번짐 + 아주 고운 입자 */
.pd-air{
  position:absolute;
  left:50%;
  top:50%;
  width:min(86vmin,760px);
  height:min(86vmin,760px);
  transform:translate(-50%,-50%);
  pointer-events:none;
}
.pd-air::before,
.pd-air i{
  content:"";
  position:absolute;
  border-radius:50%;
}
.pd-air::before{
  inset:6%;
  background:radial-gradient(circle at 50% 50%,
    rgba(186,216,239,.40) 0%,
    rgba(196,223,242,.29) 22%,
    rgba(210,231,246,.16) 44%,
    rgba(226,239,250,.06) 62%,
    rgba(236,245,252,0) 74%);
  filter:blur(14px);
  animation:pdBreathe 10s ease-in-out infinite;
}
.pd-air i:nth-child(1){
  left:20%; top:26%; width:46%; height:40%;
  background:radial-gradient(circle,rgba(180,212,238,.20) 0%,rgba(180,212,238,0) 70%);
  filter:blur(20px);
  animation:pdDrift 13s ease-in-out infinite;
}
.pd-air i:nth-child(2){
  left:40%; top:38%; width:42%; height:44%;
  background:radial-gradient(circle,rgba(204,229,246,.22) 0%,rgba(204,229,246,0) 70%);
  filter:blur(22px);
  animation:pdDrift 16s ease-in-out infinite reverse;
}
/* 스프레이 입자 */
.pd-air::after{
  content:"";
  position:absolute;
  inset:14%;
  border-radius:50%;
  opacity:.13;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.55  0 0 0 0 0.72  0 0 0 0 0.86  0 0 0 1.6 -0.55'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  -webkit-mask-image:radial-gradient(circle,#000 0%,rgba(0,0,0,.6) 38%,transparent 70%);
  mask-image:radial-gradient(circle,#000 0%,rgba(0,0,0,.6) 38%,transparent 70%);
}
@keyframes pdBreathe{
  0%,100%{transform:scale(1);opacity:1}
  50%{transform:scale(1.05);opacity:.9}
}
@keyframes pdDrift{
  0%,100%{transform:translate(0,0)}
  50%{transform:translate(4%,-3%)}
}

/* 아이콘 */
.pd-icons{position:absolute;inset:0}
.pd-icon{
  position:absolute;
  transform:translate(-50%,-100%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  padding:4px;
  border:0;
  background:transparent;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  opacity:0;
  transition:opacity .4s ease var(--d,0ms);
}
.pd-desk.is-open .pd-icon{opacity:1}
.pd-icon > :first-child{
  transition:transform .22s cubic-bezier(.25,.8,.25,1);
}
@media (hover:hover) and (pointer:fine){
  .pd-icon:hover > :first-child{transform:translateY(-3px)}
}
.pd-label{
  max-width:120px;
  padding:2px 6px;
  border-radius:4px;
  color:#4c4c48;
  font-size:11.5px;
  line-height:1.3;
  text-align:center;
  word-break:keep-all;
  overflow-wrap:anywhere;
}
.pd-icon:focus{outline:none}
.pd-icon:focus-visible .pd-label,
.pd-icon:active .pd-label{
  background:#7fa3c1;
  color:#fff;
}

.pd-thumb{
  display:block;
  width:74px;
  padding:5px;
  background:#fff;
  border-radius:7px;
  box-shadow:0 1px 2px rgba(60,80,100,.10),0 8px 22px rgba(60,80,100,.10);
}
/* 사진 비율은 항상 3:4 세로, 크기가 달라도 가운데 기준 자동 크롭 */
.pd-thumb img{
  display:block;
  width:100%;
  aspect-ratio:3/4;
  object-fit:cover;
  object-position:50% 50%;
  border-radius:3px;
}

.pd-folder-svg{
  display:block;
  width:68px;
  height:auto;
  overflow:visible;
}
.pd-f-back{fill:#9fc4e3}
.pd-f-front{fill:#bcd8ef}
.pd-f-line{stroke:#dcebf7;stroke-width:1.2;fill:none}

/* 뒤로 */
.pd-back{
  position:absolute;
  top:max(14px,env(safe-area-inset-top,0px));
  left:max(14px,env(safe-area-inset-left,0px));
  z-index:5;
  height:30px;
  display:flex;
  align-items:center;
  gap:3px;
  padding:0 11px 0 7px;
  border:1px solid var(--line,#e5e5e0);
  background:rgba(255,255,255,.88);
  color:var(--accent,#7f95a5);
  font-size:12px;
  letter-spacing:.04em;
  cursor:pointer;
  transition:background .12s ease,color .12s ease;
}
.pd-back svg{
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.pd-back:hover{background:var(--point,#eff5fa);color:#6f8798}
.pd-back:focus{outline:none}

/* 창 */
.pd-wins{position:absolute;inset:0;pointer-events:none}
.pd-win{
  position:absolute;
  left:calc(50% + var(--ox,0px));
  top:calc(50% + var(--oy,0px));
  width:min(380px,calc(100vw - 32px));
  max-height:calc(100dvh - 80px);
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid var(--line,#e5e5e0);
  border-radius:2px;
  box-shadow:0 18px 50px rgba(40,50,60,.08),0 2px 8px rgba(40,50,60,.04);
  pointer-events:auto;
  transform:translate(-50%,-50%) scale(.97);
  opacity:0;
  transition:opacity .2s ease,transform .25s cubic-bezier(.22,.72,.24,1);
}
.pd-win.is-in{
  opacity:1;
  transform:translate(-50%,-50%) scale(1);
}
.pd-win.is-moved,
.pd-win.is-moved.is-in{transform:none}
.pd-win-photo{width:min(420px,calc(100vw - 48px))}
.pd-win-photo .pd-body{background:#fff}
.pd-win-text{width:min(440px,calc(100vw - 32px))}
.pd-bar{
  height:32px;
  flex:none;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 6px 0 12px;
  border-bottom:1px solid #f1f1ed;
  cursor:grab;
  touch-action:none;
  user-select:none;
  -webkit-user-select:none;
}
.pd-dots{display:flex;gap:5px}
.pd-dots i{width:7px;height:7px;border-radius:50%;background:#e6eaee}
.pd-title{
  flex:1;
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  color:#9a9a95;
  font-size:12px;
}
.pd-x{
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  background:transparent;
  color:#9a9a95;
  font-size:19px;
  font-weight:300;
  line-height:1;
  cursor:pointer;
}
.pd-x:hover{color:#555550}
.pd-body{min-height:0;overflow:auto}

.pd-photo-big{
  display:block;
  max-width:100%;
  max-height:calc(100dvh - 130px);
  margin:0 auto;
}

.pd-files{
  display:flex;
  flex-wrap:wrap;
  gap:6px 18px;
  padding:20px 18px 14px;
}
.pd-file{
  width:96px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:5px;
  padding:6px 2px;
  border:0;
  background:transparent;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.pd-file:focus{outline:none}
.pd-file:focus-visible .pd-label,
.pd-file:active .pd-label{background:#7fa3c1;color:#fff}
.pd-doc-svg{width:40px;height:auto;display:block}
.pd-d-page{fill:#fff;stroke:#d9dfe4;stroke-width:1.2}
.pd-d-fold{fill:#eef3f7;stroke:#d9dfe4;stroke-width:1.2;stroke-linejoin:round}
.pd-d-lines{stroke:#c7d7e4;stroke-width:1.4;stroke-linecap:round;fill:none}
@media (hover:hover) and (pointer:fine){
  .pd-file:hover .pd-doc-svg{transform:translateY(-2px)}
}
.pd-doc-svg{transition:transform .2s ease}
.pd-status{
  padding:7px 14px 8px;
  border-top:1px solid #f1f1ed;
  color:#b0b0aa;
  font-size:11px;
}

.pd-text-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:14px 16px 0;
}
.pd-seg{
  display:flex;
  border:1px solid var(--line,#e5e5e0);
}
.pd-seg button{
  height:26px;
  padding:0 12px;
  border:0;
  border-left:1px solid var(--line,#e5e5e0);
  background:#fff;
  color:#9a9a95;
  font-size:12px;
  cursor:pointer;
  transition:background .12s ease,color .12s ease;
}
.pd-seg button:first-child{border-left:0}
.pd-seg button.is-on{
  background:var(--point,#eff5fa);
  color:#5f7f98;
  font-weight:600;
}
@media (hover:hover) and (pointer:fine){
  .pd-seg button:not(.is-on):hover{color:#555550}
}
.pd-text-title{
  color:#3d3d3a;
  font-size:13px;
  font-weight:600;
}
.pd-copy{
  height:26px;
  padding:0 11px;
  border:1px solid var(--line,#e5e5e0);
  background:#fff;
  color:var(--accent,#7f95a5);
  font-size:11.5px;
  cursor:pointer;
  transition:background .12s ease,color .12s ease;
}
.pd-copy:hover,
.pd-copy.is-done{background:var(--point,#eff5fa);color:#6f8798}
.pd-text{
  margin:12px 16px 16px;
  padding:12px 13px;
  max-height:calc(100dvh - 210px);
  overflow:auto;
  border:1px solid #eef0f2;
  background:#fbfcfd;
  color:#55554f;
  font-size:12.5px;
  line-height:1.75;
  white-space:pre-wrap;
  word-break:break-word;
  user-select:text;
  -webkit-user-select:text;
}
.pd-text:focus{outline:none}

@media (max-width:680px){
  .pd-thumb{width:62px;padding:4px;border-radius:6px}
  .pd-folder-svg{width:58px}
  .pd-label{font-size:11px;max-width:100px}
  .pd-files{gap:4px 10px;padding:16px 12px 12px}
  .pd-file{width:84px}
}
@media (prefers-reduced-motion:reduce){
  .pd-air::before,.pd-air i{animation:none}
  .pd-desk,.pd-win,.pd-icon{transition:none}
}

/* ===== v90 : 카테고리 오른쪽 빈칸 = 간단 프로필 ===== */
.entries-pane{position:relative}
.idx-profile{
  position:absolute;
  inset:0;
  z-index:1;
  display:block;
  padding:16px 22px 18px 20px;
  background:#fff;
  font-family:Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR",Arial,sans-serif;
  transition:opacity .2s ease;
}
.entries-pane.has-posts .idx-profile{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
.idx-card{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  max-width:340px;
}
.idx-top{
  display:flex;
  align-items:center;
  gap:12px;
}
.idx-meta{min-width:0}
.idx-card p{margin:0}
.idx-avatar{
  width:46px;
  height:46px;
  flex:none;
  display:block;
  padding:3px;
  border:1px solid var(--line,#e5e5e0);
  border-radius:2px;
  object-fit:cover;
  background:#fff;
}
.idx-handle{
  color:#4a4a46;
  font-size:12px;
  font-weight:500;
  letter-spacing:.01em;
}
.idx-handle span{
  margin-left:6px;
  color:#a9a9a3;
  font-weight:400;
}
.idx-status{
  display:flex;
  align-items:center;
  gap:0;
  margin-top:5px !important;
  color:#a3a39d;
  font-size:8.5px;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.idx-status > span + span::before{
  content:"";
  display:inline-block;
  width:2px;
  height:2px;
  margin:0 9px;
  vertical-align:middle;
  border-radius:50%;
  background:#cfcfca;
}
.idx-open{
  color:#6f93b0;
  font-weight:600;
}
.idx-open i{
  display:inline-block;
  width:5px;
  height:5px;
  margin-right:5px;
  vertical-align:1px;
  border-radius:50%;
  background:#9cc3e0;
  box-shadow:0 0 0 2px rgba(156,195,224,.25);
  animation:idxPulse 2.4s ease-in-out infinite;
}
@keyframes idxPulse{50%{box-shadow:0 0 0 4px rgba(156,195,224,0)}}
.idx-main{
  position:relative;
  align-self:stretch;
  margin-top:14px !important;
  padding-top:12px;
  border-top:1px solid #f6f6f3;
  color:#8a8a84;
  font-size:10.5px;
  line-height:1.75;
  word-break:keep-all;
  text-wrap:pretty;
}
.idx-main span{display:block}
.idx-main span + span{margin-top:2px}
.idx-main em{
  margin-right:5px;
  color:#b5b5af;
  font-style:normal;
}
/* 모바일은 카테고리 목록만 (오른쪽 칸이 없음) */
@media (max-width:680px){
  .idx-profile{display:none}
}
@media (prefers-reduced-motion:reduce){
  .idx-open i{animation:none}
}

/* ===== v91 : CLICK 링크 깜빡깜빡 (옛날 웹 <blink> 느낌) ===== */
.click-to a{
  animation:clickBlink 1.1s steps(1,end) infinite;
}
.click-to a:nth-child(2){animation-delay:.18s}
.click-to a:nth-child(3){animation-delay:.36s}
@keyframes clickBlink{
  0%,62%{opacity:1}
  63%,100%{opacity:.12}
}
@media (hover:hover) and (pointer:fine){
  .click-to a:hover{animation:none;opacity:1}
}
@media (prefers-reduced-motion:reduce){
  .click-to a{animation:none}
}
