/* 달생의 작업실 전용 스킨 (2026-10-01)
   편집기 본문 블록 스타일(그림·표·오픈그래프·영상·코드·접은 글·목록·이모티콘·지도·슬라이드)은
   TISTORY Odyssey 스킨(MIT License, Copyright TISTORY)에서 가져왔다. */

/* ---- 편집기 본문 블록 (Odyssey, MIT) ---- */
/* 전체 공통 */
#article-view {
  margin: 0;
  padding: 20px 20px 50px;
  word-wrap: break-word;
  color: #333;
  min-height: 370px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Apple SD Gothic Neo", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0;
}

.contents_style>* {
  margin: 20px 0 0 0;
}

/* 텍스트 관련 */
#article-view h2[data-ke-size] {
  font-size: 1.62em;
  line-height: 1.46;
}

#article-view h3[data-ke-size] {
  font-size: 1.44em;
  line-height: 1.48;
}

#article-view h4[data-ke-size] {
  font-size: 1.25em;
  line-height: 1.55;
}

#article-view p[data-ke-size='size18'] {
  font-size: 1.12em;
  line-height: 1.67;
}

#article-view p[data-ke-size='size16'] {
  line-height: 1.75;
}

#article-view p[data-ke-size='size14'] {
  font-size: 0.87em;
  line-height: 1.71;
}

#article-view h2,
#article-view h3,
#article-view h4 {
  font-weight: normal;
  letter-spacing: -1px;
  color: #000;
  margin: 1em 0 20px;
}

#article-view p+p, #article-view p {
  margin-bottom: 30px;
}

#article-view h2+h2,
#article-view h3+h3,
#article-view h4+h4 {
  margin: 0;
}

#article-view h2+h3,
#article-view h2+h4,
#article-view h3+h4 {
  margin-top: 10px;
}

#article-view h2+p,
#article-view h3+p,
#article-view h4+p,
#article-view h5+p,
#article-view h6+p {
  margin-top: 10px;
}

#article-view div[data-ke-type='moreLess'] {
  caret-color: auto;
  background-color: #fafafa;
  padding: 20px 20px 22px;
  margin: 20px 0;
  border: 1px dashed #dddddd;
  color: #333333;
}

#article-view a {
  color: #0070d1;
  text-decoration: underline;
}

#article-view figure[data-ke-type='contentSearch'] a {
  text-decoration: none;
}

/* 인용문 */
#article-view blockquote[data-ke-style='style1'] {
  text-align: center;
  background: url(https://t1.daumcdn.net/axz_keditor/dist/latest/image/blockquote-style1.svg) no-repeat 50% 0;
  padding: 34px 0 0 0;
  font-size: 1.12em;
  color: #333;
  line-height: 1.67;
  border: 0 none;
  font-family: "Noto Serif KR";
}

#article-view blockquote[data-ke-style='style2'] {
  border-color: #d0d0d0;
  border-width: 0 0 0 4px;
  border-style: solid;
  padding: 1px 0 0 12px;
  color: #666;
  line-height: 1.75;
  font-size: 1em;
  text-align: left;
}

#article-view blockquote[data-ke-style='style3'] {
  border: 1px solid #dddddd;
  background-color: #fcfcfc;
  text-align: left;
  padding: 21px 25px 20px 25px;
  color: #666;
  font-size: 1em;
  line-height: 1.75;
}

#article-view blockquote {
  display: block;
  margin: 20px auto 0;
  letter-spacing: 0px;
}

/* 첨부: 공통 */

/* 이미지 클릭 관련 - lightbox */
#article-view span[data-lightbox] {
  cursor: pointer;
}

/* 첨부: 파일 */
#article-view figure.fileblock {
  width: 470px;
  height: 73px;
  box-sizing: border-box;
  position: relative;
  border-radius: 1px;
  margin-top: 20px;
  margin-bottom: 0px;
  box-shadow: 0 1px 4px 0 rgb(0 0 0 / 7%);
  border: solid 1px rgba(0, 0, 0, 0.1);
}

#article-view figure.fileblock a {
  display: block;
}

#article-view figure.fileblock .image {
  float: left;
  width: 30px;
  height: 30px;
  background-image: url('https://t1.daumcdn.net/tistory_admin/static/manage/post-editor/img_editor_content.svg');
  margin: 22px 17px 21px 22px;
  background-position: 0 0;
}

#article-view figure.fileblock .desc {
  position: absolute;
  left: 70px;
  right: 60px;
  top: 4px;
  bottom: 0;
}

#article-view figure.fileblock .filename {
  color: #333333;
  font-size: 14px;
  text-overflow: ellipsis;
  width: 100%;
  height: 20px;
  margin: 16px 0 0;
}

#article-view figure.fileblock .size {
  font-family: Pretendard-Regular;
  font-size: 12px;
  color: #777;
  height: 16px;
}

#article-view figure[data-ke-align=alignCenter].fileblock {
  margin-left: auto;
  margin-right: auto;
}

#article-view figure[data-ke-align=alignRight].fileblock {
  margin-left: auto;
}

#article-view figure.fileblock .name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 272px;
  height: 20px;
  display: block;
}

#article-view figure.fileblock a::after {
  content: '';
  background-image: url('https://t1.daumcdn.net/tistory_admin/static/manage/post-editor/img_editor_content.svg');
  background-position: -40px 0;
  width: 30px;
  height: 30px;
  position: absolute;
  right: 24px;
  top: 19px;
}

/* 첨부: 이미지 */
#article-view figure.imageblock {
  display: table;
  position: relative;
}

#article-view figure.imageblock.alignLeft {
  text-align: left;
}

#article-view figure.imageblock.alignCenter {
  margin: 20px auto 0;
  text-align: center;
}

#article-view figure.imageblock.alignRight {
  text-align: right;
  margin-left: auto;
}

#article-view figure.imageblock.floatLeft {
  float: left;
  margin-right: 20px;
}

#article-view figure.imageblock.floatRight {
  float: right;
  margin-left: 20px;
}

#article-view figure.imageblock.widthContent {
  display: block;
}

#article-view figure.imageblock.widthContent img {
  width: 100%;
}

#article-view figure.imageblock.floatLeft figcaption,
#article-view figure.imageblock.floatRight figcaption {
  text-align: left;
}

#article-view figure.imageblock img {
  display: inline-block;
  max-width: 100%;
  margin: 0;
  height: auto;
}

#article-view iframe,
#article-view figure img,
#article-view figure iframe {
  max-width: 100%;
}

#article-view figure img:not([width]),
#article-view figure iframe:not([width]) {
  width: 100%;
}

#article-view figure {
  max-width: 100%;
  clear: both;
}

#article-view figure img {
  display: inline-block;
}

#article-view figure.imagegridblock+figure.imagegridblock,
#article-view figure.imagegridblock+figure.imageblock,
#article-view figure.imageblock+figure.imagegridblock {
  margin-top: 10px;
}

/* 캡션 텍스트 */
#article-view figure figcaption {
  font-size: 13px;
  color: #777;
  word-break: break-word;
  padding-top: 10px;
  min-height: 20px;
  caption-side: bottom;
  text-align: center;
  caret-color: auto;
  width: 100%;
  box-sizing: content-box;
}

/* 첨부: 이미지 그리드 */
#article-view figure.imagegridblock {
  position: relative;
  caret-color: transparent;
  background-color: transparent;
  width: 100%;
  height: auto;
  margin: 20px 0 0 0;
}

#article-view figure.imagegridblock .image-container {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
}

#article-view figure.imagegridblock .image-container>span {
  margin-right: 0;
  margin-top: 2px;
}

#article-view figure.imagegridblock img {
  margin: 0;
  height: inherit;
}

#article-view figure.imagegridblock span img {
  width: 100%;
}

hr[data-ke-style],
#article-view hr[data-ke-style] {
  border: none;
  font-size: 0;
  line-height: 0;
  margin: 20px auto;
  background: url(https://t1.daumcdn.net/axz_keditor/dist/latest/image/divider-line.svg);
  background-size: 200px 420px;
  cursor: default !important;
}

hr[data-ke-style='style1'],
#article-view hr[data-ke-style='style1'] {
  background-position: center 0;
  width: 64px;
  height: 4px;
  padding: 20px;
}

hr[data-ke-style='style2'],
#article-view hr[data-ke-style='style2'] {
  background-position: center -48px;
  width: 64px;
  height: 3px;
  padding: 20px;
}

hr[data-ke-style='style3'],
#article-view hr[data-ke-style='style3'] {
  background-position: center -96px;
  width: 64px;
  height: 8px;
  padding: 18px 20px;
}

hr[data-ke-style='style4'],
#article-view hr[data-ke-style='style4'] {
  background-position: center -144px;
  width: 2px;
  height: 60px;
  padding: 0 51px;

}

hr[data-ke-style='style4']+hr[data-ke-style='style4'],
#article-view hr[data-ke-style='style4']+hr[data-ke-style='style4'] {
  margin-top: 0;
}

hr[data-ke-style='style5'],
#article-view hr[data-ke-style='style5'] {
  background-position: center -208px;
  background-repeat: repeat-x;
  height: 2px;
  padding: 21px 0;
}

hr[data-ke-style='style6'],
#article-view hr[data-ke-style='style6'] {
  background-position: center -256px;
  background-repeat: repeat-x;
  height: 2px;
  padding: 21px 0;
}

hr[data-ke-style='style7'],
#article-view hr[data-ke-style='style7'] {
  background-position: center -304px;
  width: 200px;
  height: 19px;
  padding: 18px 20px 17px 20px;
}

hr[data-ke-style='style8'],
#article-view hr[data-ke-style='style8'] {
  background-position: center -362px;
  width: 200px;
  height: 19px;
  padding: 18px 20px 17px 20px;
}

/* 테이블 */
#article-view table[data-ke-style] {
  margin-bottom: 0px;
}

#article-view table {
  border-color: #ddd;
  margin-bottom: 0px;
}

#article-view table tbody tr {
  box-sizing: content-box;
}

#article-view table td {
  word-break: break-word;
  padding: 8px;
  font-size: 15px;
}

#article-view table[data-ke-style='style1'] tr:first-child td {
  border-bottom: 1px solid #6ed3d8;
}

#article-view table[data-ke-style='style2'] tr:first-child td {
  border-bottom: 1px solid #008300;
}

#article-view table[data-ke-style='style3'] tr:first-child td {
  border-bottom: 1px solid #006dbe;
}

#article-view table[data-ke-style='style4'] tr:nth-child(2n) td {
  background-color: #f9f9f9;
}

#article-view table[data-ke-style='style5'] tr:nth-child(2n) td {
  background-color: #f8fbfb;
}

#article-view table[data-ke-style='style6'] tr:nth-child(2n) td {
  background-color: #f5f7f5;
}

#article-view table[data-ke-style='style7'] tr:nth-child(2n) td {
  background-color: #f6f8fb;
}

#article-view table[data-ke-style='style8'] tr:first-child td {
  border-bottom: 2px solid #797979;
}

#article-view table[data-ke-style='style8'] {
  border-left: 0 none;
  border-right: 0 none;
}

#article-view table[data-ke-style='style8'] td {
  border-right-color: transparent;
  border-left-color: transparent;
}

#article-view table[data-ke-style='style9'] tr:first-child td {
  border-bottom: 2px solid #6ed3d8;
}

#article-view table[data-ke-style='style9'] {
  border-left: 0 none;
  border-right: 0 none;
}

#article-view table[data-ke-style='style9'] td {
  border-right-color: transparent;
  border-left-color: transparent;
}

#article-view table[data-ke-style='style10'] tr:first-child td {
  border-bottom: 2px solid #008300;
}

#article-view table[data-ke-style='style10'] {
  border-left: 0 none;
  border-right: 0 none;
}

#article-view table[data-ke-style='style10'] td {
  border-right-color: transparent;
  border-left-color: transparent;
}

#article-view table[data-ke-style='style11'] tr:first-child td {
  border-bottom: 2px solid #2780d4;
}

#article-view table[data-ke-style='style11'] {
  border-left: 0 none;
  border-right: 0 none;
}

#article-view table[data-ke-style='style11'] td {
  border-right-color: transparent;
  border-left-color: transparent;
}

#article-view table[data-ke-style='style12'] tr:nth-child(odd) td {
  background-color: #f9f9f9;
}

#article-view table[data-ke-style='style12'] tr td:first-child {
  background-color: #efefef;
}

#article-view table[data-ke-style='style12'] tr:first-child td {
  background-color: #9b9b9b;
  border: 1px solid #888;
  color: #fff;
}

#article-view table[data-ke-style='style13'] tr:nth-child(odd) td {
  background-color: #f9f9f9;
}

#article-view table[data-ke-style='style13'] tr td:first-child {
  background-color: #efefef;
}

#article-view table[data-ke-style='style13'] tr:first-child td {
  background-color: #6ed3d8;
  border: 1px solid #5cbcc1;
  color: #fff;
}

#article-view table[data-ke-style='style14'] tr:nth-child(odd) td {
  background-color: #f9f9f9;
}

#article-view table[data-ke-style='style14'] tr td:first-child {
  background-color: #efefef;
}

#article-view table[data-ke-style='style14'] tr:first-child td {
  background-color: #008300;
  border: 1px solid #006d00;
  color: #fff;
}

#article-view table[data-ke-style='style15'] tr:nth-child(odd) td {
  background-color: #f9f9f9;
}

#article-view table[data-ke-style='style15'] tr td:first-child {
  background-color: #efefef;
}

#article-view table[data-ke-style='style15'] tr:first-child td {
  background-color: #2780d4;
  border: 1px solid #1568b7;
  color: #fff;
}

#article-view table[data-ke-style='style16'],
#article-view table[data-ke-style='style16'] tr,
#article-view table[data-ke-style='style16'] tr td {
  border-color: transparent;
}

/* 오픈 그래프 */
#article-view figure[data-ke-type='opengraph'] {
  margin: 10px 0;
}

#article-view figure[data-ke-type='opengraph'] a {
  box-sizing: initial;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.07);
  border: solid 1px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #000;
}

#article-view figure[data-ke-type='opengraph'] a:hover {
  opacity: 1;
}

#article-view figure[data-ke-type='opengraph'] div.og-image {
  border-right: solid 1px rgba(0, 0, 0, 0.06);
  width: 200px;
  height: 200px;
  background-size: cover;
  background-position: center;
}

#article-view figure[data-ke-type='opengraph'] div.og-image button {
  display: none;
}

#article-view figure[data-ke-type='opengraph']:hover div.og-image button {
  cursor: pointer;
  border: none;
  display: block;
  position: absolute;
  top: 0px;
  right: 0px;
  background-color: #000;
  width: 15px;
  height: 15px;
}

#article-view figure[data-ke-type='opengraph'] p.og-title {
  color: #000000;
  font-size: 22px;
  padding-bottom: 10px;
  max-width: 467px;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0px;
  overflow: hidden;
  font-family: Pretendard-Regular;
}

#article-view figure[data-ke-type='opengraph'] .og-desc {
  margin: 0px;
  max-width: 467px;
  text-overflow: ellipsis;
  overflow: hidden;
  font-family: Pretendard-Regular;
  font-size: 14px;
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #909090;
  max-height: 42px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
}

@media (max-width: 600px) {
  #article-view figure[data-ke-type='opengraph'] a {
    height: 90px;
  }

  #article-view figure[data-ke-type='opengraph'] a::before {
    left: 44px;
  }

  #article-view figure[data-ke-type='opengraph'] div.og-image {
    width: 90px;
    height: 90px;
  }

  #article-view figure[data-ke-type='opengraph'] div.og-text {
    padding: 13px 12px 0 20px;
    height: 90px;
  }

  #article-view figure[data-ke-type='opengraph'] div.og-text p.og-title {
    font-size: 16px;
    -webkit-line-clamp: 1;
  }

  #article-view figure[data-ke-type='opengraph'] div.og-text p.og-desc {
    display: none;
  }

  #article-view figure[data-ke-type='opengraph'] div.og-text p.og-host {
    bottom: 10px;
  }
}

/* 비디오 첨부 */
#article-view figure[data-ke-type='video'] {
  display: block;
  table-layout: fixed;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  color: #bdbdbd;
  font-size: 16px;
  line-height: 30px;
}

#article-view figure[data-ke-type='video'][data-ke-style='alignLeft'] {
  text-align: left;
}

#article-view figure[data-ke-type='video'][data-ke-style='alignCenter'] {
  margin: 20px auto 0;
  text-align: center;
}

#article-view figure[data-ke-type='video'][data-ke-style='alignRight'] {
  text-align: right;
  margin-left: auto;
}

#article-view figure[data-ke-type='video'] img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

#article-view figure[data-ke-type='video'][data-video-host] iframe {
  margin: 0px;
  display: block;
}

#article-view figure[data-ke-type='video']>iframe[width='0'][height='0'] {
  width: 860px;
  height: 484px;
  max-width: 100%;
}

/* 코드 블럭 */
#article-view pre code.hljs {
  font-size: 14px;
  padding: 20px;
  font-family: SF Mono, Menlo, Consolas, Monaco, monospace;
  border: solid 1px #ebebeb;
  line-height: 1.71;
  overflow: auto;
}

/* 접은 글 */
#article-view .moreless-content :first-child {
  margin-top: 0;
  margin-bottom: 0;
}

#article-view div[data-ke-type='moreLess'] .moreless-content {
  display: none;
}

#article-view div[data-ke-type='moreLess'].open .moreless-content {
  display: block;
}

#article-view div[data-ke-type='moreLess'] .btn-toggle-moreless {
  color: #909090;
  font-size: 16px;
  line-height: 26px;
  font-family: Pretendard-Regular, sans-serif;
  cursor: pointer;
  text-decoration: none;
}

/* 리스트 */
#article-view ul li,
#article-view ol li {
  margin: 0 0 3px 22px;
  line-height: 1.7;
}

#article-view ul,
#article-view ol {
  margin: 14px auto 24px;
  padding: 0 0 0 10px;
}

/* 이모티콘 */
#article-view figure[data-ke-type=emoticon][data-ke-align=alignCenter] {
  text-align: center;
}

#article-view figure[data-ke-type=emoticon][data-ke-align=alignLeft] {
  text-align: left;
}

#article-view figure[data-ke-type=emoticon][data-ke-align=alignRight] {
  text-align: right;
}

/* 지도 */
#article-view figure[data-ke-type='map'],
#article-view iframe[data-ke-type='map'] {
  display: block;
  margin: 0 auto;
}

/* 첨부: 이미지 슬라이드 */
#article-view figure.imageslideblock {
  clear: both;
  position: relative;
  font-size: 0;
  outline: 0 none;
}

#article-view figure.imageslideblock .btn {
  display: none;
  outline: none;
}

#article-view figure.imageslideblock.ready .btn {
  display: inline-block;
}

#article-view figure.imageslideblock.ready .mark {
  opacity: 1;
}

#article-view figure.imageslideblock div.image-container {
  position: relative;
  min-width: 480px;
  max-width: 100%;
  min-height: 300px;
  max-height: 860px;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto;
}

#article-view figure.imageslideblock div.image-container span.image-wrap {
  display: none;
}

#article-view figure.imageslideblock div.image-container span.image-wrap.selected {
  display: inline;
}

#article-view figure.imageslideblock div.image-container img {
  max-width: 100%;
  max-height: 100%;
}

#article-view figure.imageslideblock div.image-container .btn {
  position: absolute;
  border: 0;
  background: transparent;
  width: 60px;
  height: 60px;
  top: 50%;
  margin-top: -20px;
}

#article-view figure.imageslideblock div.image-container .btn-prev {
  left: 0;
}

#article-view figure.imageslideblock div.image-container .btn-next {
  right: 0;
}

#article-view figure.imageslideblock div.image-container:hover .btn span {
  opacity: 0.3;
}

#article-view figure.imageslideblock div.image-container .btn span {
  background-image: url('https://t1.daumcdn.net/tistory_admin/static/manage/post-editor/img_editor_content.svg');
  text-indent: -10000px;
  overflow: hidden;
  width: 40px;
  height: 40px;
  opacity: 0;
  transition: opacity ease-in-out 0.2s;
  display: inline-block;
}

#article-view figure.imageslideblock div.image-container .btn:hover span {
  opacity: 1;
}

#article-view figure.imageslideblock div.image-container .btn .ico-prev {
  background-position: -220px 0;
}

#article-view figure.imageslideblock div.image-container .btn .ico-next {
  background-position: -260px 0;
}

#article-view figure.imageslideblock div.mark {
  display: block;
  height: 44px;
  text-align: center;
  opacity: 0;
  transition: opacity ease-in-out 0.2s;
}

#article-view figure.imageslideblock div.mark span {
  width: 30px;
  height: 4px;
  display: inline-block;
  margin: 20px 1px;
  background-color: #d6d6d6;
  text-indent: -10000px;
  overflow: hidden;
  cursor: pointer;
}

#article-view figure.imageslideblock div.mark span:first-child {
  background-color: #000;
  margin-left: 0;
}

#article-view figure.imageslideblock div.mark span:last-child {
  margin-right: 0;
}

#article-view figure.imageslideblock figcaption {
  text-align: center;
  color: #666;
  font-size: 14px;
}

#article-view figure.imageslideblock.alignLeft {
  text-align: left;
}

#article-view figure.imageslideblock.alignCenter {
  margin: 0 auto 20px;
  text-align: center;
}

#article-view figure.imageslideblock.alignRight {
  text-align: right;
  margin-left: auto;
}

@media (max-width: 600px) {
  #article-view figure.imageslideblock div.image-container {
    min-width: 100%;
    width: 100%;
    max-height: 100%;
  }

  #article-view figure.imageslideblock div.image-container .btn span {
    opacity: 0.3;
  }
}


/* ---- 우리 레이아웃 (시안에서) ---- */
:root {
  --text: #222a2b;
  --muted: #737d7e;
  --accent: #2b756f;
  --line: #e5e9e8;
  --box-bg: #f5f7f6;
  --page-bg: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: Pretendard, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button { cursor: pointer; }

.site-header {
  height: 60px;
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  width: min(calc(100% - 40px), 1048px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-name { font-size: 17px; font-weight: 700; letter-spacing: -0.03em; }
.site-actions { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.site-actions button { padding: 6px 0; border: 0; background: none; color: var(--text); }
.site-actions button:hover { color: var(--accent); }

.menu-panel { border-bottom: 1px solid var(--line); background: var(--page-bg); }
.menu-panel[hidden] { display: none; }
.menu-panel__inner {
  width: min(calc(100% - 40px), 1048px);
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.menu-panel__inner input {
  width: min(100%, 280px);
  margin-left: auto;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--page-bg);
  color: var(--text);
}
.menu-panel__inner input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }

.content-grid {
  width: min(calc(100% - 40px), 1048px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 700px) 300px;
  gap: 48px;
}

.post-column { min-width: 0; }
.intro {
  margin: 30px 0 36px;
  padding: 26px 28px;
  border-radius: 10px;
  background: var(--box-bg);
}
.intro__title { margin: 0 0 10px; font-size: 28px; line-height: 1.3; letter-spacing: -0.04em; }
.intro__desc { margin: 0; font-size: 16px; line-height: 1.65; }
.intro__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.intro__button {
  padding: 10px 14px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.intro__button--primary { background: var(--accent); color: #fff; }
.intro__button--primary:hover { background: #205c57; color: #fff; }
.intro__button--outline { color: var(--accent); }
.intro__button--outline:hover { background: #e5f0ed; }
.home-series__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.home-series__heading h1, .home-series__heading h2 { margin: 0 0 18px; font-size: 23px; line-height: 1.4; letter-spacing: -0.03em; }
.home-series__heading span { color: var(--muted); font-size: 13px; white-space: nowrap; }
.post-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.post-list > li { padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.post-list__label { display: block; margin-bottom: 6px; color: var(--accent); font-size: 13px; font-weight: 700; }
.post-list__title { display: block; font-size: 19px; font-weight: 700; line-height: 1.4; }
.post-list__summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 8px 0 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.post-list time { color: var(--muted); font-size: 13px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 32px; color: var(--muted); font-size: 14px; }
.pagination .selected { color: var(--accent); font-weight: 700; }
.pagination .no-more-prev, .pagination .no-more-next { visibility: hidden; }
.post-header { padding: 42px 0 28px; border-bottom: 1px solid var(--line); }
.post-category { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.01em; }
.post-header h1 {
  margin: 11px 0 14px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.32;
  overflow-wrap: break-word;
}
.post-meta { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.post-meta span { margin: 0 4px; }

#article-view { padding-top: 30px; color: var(--text); }
#article-view p,
#article-view p[data-ke-size],
#article-view li {
  font-size: 17px;
  line-height: 1.8;
  overflow-wrap: break-word;
}
#article-view p,
#article-view p + p,
#article-view p[data-ke-size] { margin: 0 0 1.2em; }
#article-view p.series-line {
  margin-bottom: 1em;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
#article-view p[style*="text-align:center"],
#article-view p[style*="text-align: center"] {
  margin-top: 0.7em;
  color: #555 !important;
  font-size: 15px !important;
}
#article-view h2,
#article-view h2[data-ke-size] {
  margin: 4em 0 0.9em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.03em;
  scroll-margin-top: 20px;
}
#article-view h3,
#article-view h3[data-ke-size] {
  margin: 1.8em 0 0.7em;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.025em;
}
#article-view p code,
#article-view li code {
  padding: 0.12em 0.32em;
  border-radius: 4px;
  background: var(--box-bg);
  font-size: 0.9em;
}
#article-view pre {
  position: relative;
  margin: 22px 0 28px;
  padding: 48px 20px 20px;
  overflow-x: auto;
  border-radius: 8px;
  background: var(--box-bg);
  color: #303a3c;
  font-family: D2Coding, Consolas, "Courier New", monospace;
  font-size: 14px;
  line-height: 1.7;
  tab-size: 2;
}
#article-view pre code { font: inherit; }
.copy-button {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 10px;
  border: 1px solid #d7dfdc;
  border-radius: 5px;
  background: var(--page-bg);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}
.copy-button:hover { color: var(--accent); border-color: var(--accent); }
#article-view blockquote {
  margin: 26px 0 30px;
  padding: 22px 24px;
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  background: #f1f7f5;
}
#article-view blockquote p { margin: 0; }
#article-view figure { margin: 30px 0 34px; }
#article-view img { display: block; max-width: 100%; height: auto; }
#article-view figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}
#article-view ul,
#article-view ol { margin: 0 0 1.2em; padding-left: 1.5em; }
#article-view li { padding-left: 0.2em; }
#article-view li + li { margin-top: 0.35em; }
#article-view table { width: 100%; margin: 26px 0; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
#article-view th,
#article-view td { padding: 11px 12px; border: 1px solid var(--line); text-align: left; }
#article-view th { background: var(--box-bg); font-weight: 700; }

.toc {
  margin: 34px 0 6px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--page-bg);
}
.toc summary { color: var(--accent); font-size: 15px; font-weight: 700; cursor: pointer; }
.toc ol { margin: 14px 0 0; padding-left: 1.5em; }
.toc li { font-size: 15px; line-height: 1.7; }
.toc li + li { margin-top: 5px; }

.ad-slot { margin: 30px 0 38px; text-align: center; }
.ad-slot:empty { display: none; margin: 0; }
.sidebar .ad-slot { margin: 35px 0 39px; }

.post-navigation { margin-top: 60px; }
.post-navigation__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.post-navigation__card {
  min-height: 106px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.post-navigation__card:hover { border-color: var(--accent); }
.post-navigation__card span { color: var(--muted); font-size: 13px; }
.post-navigation__card strong { font-size: 16px; font-weight: 600; line-height: 1.45; }
.series-link { display: inline-block; margin-top: 20px; color: var(--accent); font-size: 14px; font-weight: 600; }

.author-box {
  margin-top: 52px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.author-avatar {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e5f0ed;
  color: var(--accent);
  font-size: 22px;
  font-weight: 700;
}
.author-box__text { flex: 1; min-width: 0; }
.author-box__name { margin: 0 0 5px; font-size: 16px; }
.author-box p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.subscribe-button {
  flex: none;
  padding: 9px 14px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--page-bg);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}
.subscribe-button:hover { background: #f1f7f5; }

.related-posts,
.comments { margin-top: 58px; }
.related-posts h2,
.comments h2 { margin: 0 0 18px; font-size: 20px; font-weight: 700; }
.related-posts ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.related-posts li { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.comments-placeholder { height: 160px; border-radius: 8px; background: var(--box-bg); }

.sidebar { padding-top: 44px; }
.sidebar-section h2 { margin: 0 0 18px; font-size: 16px; font-weight: 700; }
.sidebar-section ul,
.sidebar-section ol { margin: 0; padding: 0; list-style: none; }
.sidebar-section li { padding: 10px 0; border-bottom: 1px solid var(--line); color: #505b5a; font-size: 14px; line-height: 1.5; }
.sidebar-section li span { color: var(--muted); }
.sidebar-section--popular li { padding: 11px 0; }

.site-footer {
  margin-top: 100px;
  padding: 26px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 1023px) {
  .content-grid { display: block; max-width: 700px; }
  .sidebar { display: none; }
}

@media (max-width: 768px) {
  .site-header { height: 56px; }
  .site-actions { gap: 16px; }
  .menu-panel__inner { flex-wrap: wrap; column-gap: 20px; row-gap: 14px; }
  .menu-panel__inner input { width: 100%; margin-left: 0; }
  .intro { margin: 20px 0 28px; padding: 20px; }
  .intro__title { font-size: 24px; }
  .post-list__title { font-size: 18px; }
  .post-header { padding: 28px 0 22px; }
  .post-header h1 { margin: 10px 0 12px; font-size: 26px; line-height: 1.35; }
  #article-view { padding-top: 25px; }
  #article-view p,
  #article-view p[data-ke-size],
  #article-view li { font-size: 16px; line-height: 1.8; }
  #article-view h2,
#article-view h2[data-ke-size] { margin-top: 3.4em; }
  #article-view pre { padding: 46px 16px 18px; }
  #article-view pre,
  #article-view pre code { white-space: pre-wrap; overflow-wrap: anywhere; }
  #article-view blockquote { padding: 18px 19px; }
  .ad-slot { margin: 25px 0 32px; }
  .post-navigation { margin-top: 50px; }
  .post-navigation__cards { grid-template-columns: 1fr; }
  .author-box { flex-wrap: wrap; padding: 20px; }
  .subscribe-button { margin-left: 70px; }
  .site-footer { margin-top: 78px; }
}

/* ---- 티스토리 스킨 추가분 ---- */
#article-view { margin: 0; padding: 30px 0 0; min-height: 0; font-family: Pretendard, sans-serif; color: var(--text); letter-spacing: normal; }
#article-view .contents_style > * { margin-top: 0; }
#article-view a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
#article-view figure.imageblock { margin: 30px 0 34px; }
#article-view figure.imageblock figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; text-align: center; }

/* 홈 소개 상자는 첫 화면(홈)에서만 */
.intro { display: none; }
#tt-body-index .intro { display: block; }
.intro__title { font-weight: 700; color: var(--text); }

/* 카테고리 목록(티스토리가 만드는 목록) */
.tt_category, .tt_category ul { margin: 0; padding: 0; list-style: none; }
.sidebar .tt_category a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: #505b5a; font-size: 14px; line-height: 1.5; }
.sidebar .tt_category .sub_category_list a { padding-left: 14px; }
.tt_category .c_cnt { color: var(--muted); }
.tt_category .selected { color: var(--accent); font-weight: 700; }
.menu-panel__category { flex: 1; min-width: 0; }
.menu-panel__category .tt_category, .menu-panel__category .tt_category ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.menu-panel__category .tt_category > li { display: contents; }

/* 태그, 관련 글, 빈 목록, 보호글, 태그 모음 */
.post-tags { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.post-tags a { padding: 5px 10px; border-radius: 14px; background: var(--box-bg); color: var(--muted); }
.post-tags a:hover { color: var(--accent); }
.related-date { color: var(--muted); font-size: 13px; margin-left: 6px; }
.list-empty { padding: 40px 0; color: var(--muted); text-align: center; }
.protected { padding: 40px 0; }
.protected__form { display: flex; gap: 8px; margin-top: 14px; }
.protected__form input { flex: 1; max-width: 260px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; }
.protected__form button { padding: 9px 16px; border: 1px solid var(--accent); border-radius: 6px; background: var(--accent); color: #fff; }
.tag-cloud { padding-top: 30px; }
.tag-cloud a { display: inline-block; margin: 0 10px 10px 0; color: var(--muted); }

/* 작성자 상자: 티스토리 구독 버튼 */
.author-box__name { font-weight: 700; }
.author-box__subscribe:empty { display: none; }
.author-box__subscribe .btn_subscription { padding: 9px 14px; border: 1px solid var(--accent); border-radius: 6px; background: var(--page-bg); color: var(--accent); font-size: 13px; font-weight: 600; cursor: pointer; }

/* 쪽 넘김 */
.pagination a { padding: 4px 6px; }
.pagination:has(.pagination__num:only-of-type) { display: none; }

/* 댓글 */
.comments { margin-top: 58px; }

/* 티스토리 코드 강조(hljs)가 상자 안에 테두리·여백을 한 번 더 넣지 않게 */
#article-view pre code,
#article-view pre code.hljs { display: block; padding: 0; border: 0; background: none; font: inherit; overflow: visible; }

/* 본문 첫 줄 연재 라벨: 편집기 속성(data-ke-size)이 붙어도 작은 회색 줄 */
#article-view p.series-line,
#article-view p.series-line[data-ke-size] { margin: 0 0 1em; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* 티스토리 공통 스타일(uselessPMargin.css)이 본문 문단 여백을 !important로 0으로 만든다.
   스킨이 빈 문단을 숨기므로 문단 간격은 여기서 같은 방식으로 되돌린다. */
#article-view .tt_article_useless_p_margin p { margin: 0 0 1.2em !important; }
#article-view .tt_article_useless_p_margin p.series-line { margin: 0 0 1em !important; }
#article-view .tt_article_useless_p_margin p[style*="text-align:center"],
#article-view .tt_article_useless_p_margin p[style*="text-align: center"] { margin: 0.7em 0 2em !important; }
/* 1.4.4: 이야기가 바뀌는 곳의 빈 줄. 원고 "(공백)" → 발행 도구가 size18 빈 문단으로 넣고, 스크립트가 story-gap을 붙인다
   (2026-10-02 사용자 "글 내용이 바뀔 때마다 공백을 적극적으로"). 앞 문단 여백 1.2em + 이 빈 줄 2em */
#article-view .tt_article_useless_p_margin p.story-gap {
  display: block; height: 2em; margin: 0 !important; overflow: hidden;
  font-size: 16px; line-height: 0; color: transparent;
}
#article-view .tt_article_useless_p_margin blockquote p,
#article-view .tt_article_useless_p_margin li p { margin: 0 !important; }

/* 티스토리가 넣는 목록 광고 자리 폭 */
.revenue_unit_wrap { max-width: 1048px; margin: 30px auto; }

/* ---- 1.4 꾸미기: 프로필 그림, 목록 썸네일, 사이드바 프로필 카드, 주인 전용 버튼 ----
   색은 지금 배색(초록 --accent #2b756f, 회색 바탕) 그대로(사용자 선택 "3번", 꿀빛 안은 너무 노랗다고 함) */

/* 머리글: 이름 옆 작은 프로필 */
.site-name { display: inline-flex; align-items: center; gap: 9px; }
.site-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }

/* 홈 소개 상자: 프로필 그림 + 지금 회색 바탕 */
.intro { display: none; align-items: center; gap: 24px; }
#tt-body-index .intro { display: flex; }
.intro__avatar { flex: none; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; }
.intro__text { min-width: 0; }

/* 글 목록: 대표 그림이 있으면 오른쪽에. 168px은 그림 속 내용이 안 읽혀 270px로 키움(1.4.3, 2026-10-02 사용자 시안 "PC는 1번") */
.post-list > li:has(.post-list__thumb) { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 26px; align-items: center; }
.post-list__text { min-width: 0; }
.post-list__thumb { display: block; }
.post-list__thumb img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }

/* 사이드바 맨 위 프로필 카드 */
.profile-card { margin: 0 0 30px; padding: 26px 22px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: center; }
.profile-card__avatar { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 3px solid var(--box-bg); }
.profile-card__name { margin: 12px 0 6px; font-size: 17px; font-weight: 700; }
.profile-card__desc { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.profile-card__desc:empty { display: none; }
.profile-card__subscribe:empty { display: none; }
.profile-card__subscribe .btn_subscription { padding: 8px 16px; border: 1px solid var(--accent); border-radius: 999px; background: #fff; color: var(--accent); font-size: 13px; font-weight: 700; cursor: pointer; }
.profile-card__subscribe .btn_subscription:hover { background: #e5f0ed; }
.profile-card__subscribe .txt_tool_id,
.profile-card__subscribe [class*="ico"] { display: none; }
.profile-card__subscribe .txt_state { font-style: normal; }

/* 주인 전용 버튼: 로그인한 블로그 주인에게만(.member) 보인다 */
.owner-tools { display: none; }
.owner-tools.member { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.owner-tools a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--accent); font-size: 12.5px; font-weight: 700; }
.owner-tools a:hover { background: #eef5f3; }
.owner-tools--menu.member { margin: 0; padding: 0; border: 0; justify-content: flex-start; }
/* 바닥글 로그인 링크: 로그인하면 숨김 */
.login-link { margin-left: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.login-link.member { display: none; }

/* 2편부터 쓰는 대화 상자(.chat-card)는 글 안에 margin: 0이 직접 적혀 있어 아래 문단과 붙는다 */
#article-view .chat-card { margin-bottom: 1.4em !important; }

@media (max-width: 768px) {
  /* 휴대폰은 머리글에 프로필이 있으니 소개 상자의 큰 그림은 빼서 첫 글이 빨리 보이게 */
  .intro__avatar { display: none; }
  /* 휴대폰 목록은 그림을 글 위에 화면 폭 그대로(1.4.3, 2026-10-02 사용자 시안 "모바일은 2번". 96px 썸네일은 내용이 안 읽혔음) */
  .post-list > li:has(.post-list__thumb) { display: flex; flex-direction: column; gap: 14px; }
  .post-list__thumb { order: -1; }
  .post-list__thumb img { aspect-ratio: 16 / 9; }
}
