@charset "utf-8";

html {
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
  text-size-adjust: none;
}

html, body {
  margin: 0;
  padding: 0;
  background-image: url("./images/bg.jpg");
  background-repeat: repeat-y;        /* 연속 */
  background-position: center top;
  background-attachment: fixed;
}

body,
input,
textarea {
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Apple SD Gothic Neo", Arial, sans-serif;
}

img {
  border: 0;
  max-width: auto;
}

fieldset {
  border: 1px solid #ddd;
  padding: 2%;
}

sup, sub {
  height: 0;
  line-height: 0;
  font-size: 10px;
}

iframe, video, embed, object {
  max-width: 100%;
}

abbr, acronym {
  border-bottom: 1px dotted #999;
  cursor: help;
}

cite, em {
  font-style: italic;
}

hr {
  margin: 0;
  padding: 0;
  border: none;
  border-top: 1px solid #ccc;
  height: 0;
  overflow: hidden;
}

code.red {
  border: 1px solid #F6CECE;
  background-color: #FFF4F4;
  color: #BE0D0D;
}

code.blue {
  border: 1px solid #B7D9F2;
  background-color: #F4FCFF;
  color: #4570CD;
}

code.green {
  border: 1px solid #B7F2C7;
  background-color: #F4FFF7;
  color: #267C45;
}

input, textarea {
  outline: none;
}

::selection {
  background: #888;
  color: #fff;
}

div, span, input, textarea {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

#tistoryProfileLayer div {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  -ms-box-sizing: content-box;
  -o-box-sizing: content-box;
  box-sizing: content-box;
}

a, input, textarea, li {
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.clear {
  clear: both;
  width: 100%;
}

.text-center {
  text-align: center;
}

.mCSB_inside>.mCSB_container {
  margin-right: 0 !important;
}



/*
 * protected
 */

.protected p {
  text-align: center;
}

.protected i {
  font-size: 20px;
  color: #555;
}

.protected input[type="password"] {
  margin-top: 10px;
  padding: 20px 10px;
  width: 300px;
  font-size: 13px;
  border: none;
  border-top: 1px dashed #ddd;
  border-bottom: 1px dashed #ddd;
}

.protected input[type="button"] {
  margin-top: 20px;
  font-size: 15px;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

/*
 * entry
 */
.entry {
  font-size: 16px;
}

.entry table {
  max-width: 100% !important;
  width: 100% !important;
}

.entry table.dual td {
  width: 50% !important;
  vertical-align: top;
}

.entry table.dual td .imageblock {
  width: 100% !important;
}

.entry table.dual td .imageblock span img {
  width: 100% !important;
}

.entry table.triple td {
  width: 33% !important;
  vertical-align: top;
}

.entry table.triple td .imageblock {
  width: 100% !important;
}

.entry table.triple td .imageblock span img {
  width: 100% !important;
}

.entry .imageblock {
  max-width: 100% !important;
  height: auto;
}

.entry .imageblock img {
  max-width: 100% !important;
  height: auto;
  vertical-align: middle;
}

.entry .imageblock span {
  max-width: 100% !important;
  width: 100% !important;
}

.entry table td .imageblock {
  width: 100% !important;
}

.entry .galleryControl {
  font-family: inherit !important;
}

.entry .tt-gallery-box {
  margin-bottom: 10px;
}

.entry .tt-gallery-box img {
  max-width: 100%;
  height: auto !important;
}

.entry .txc-info-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 500px;
  width: 100%;
  clear: both;
}

.entry .txc-info {
  font-size: 13px !important;
  width: 500px !important;
}

.entry .txc-info hr {
  max-width: 100%;
  width: 100% !important;
}

.entry .txc-info h3 {
  border-left: none;
  background-color: transparent;
  color: inherit;
}

.entry .txc-info img {
  padding: 0;
  box-shadow: none;
  border: none;
}

.entry .moreless_fold {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  background-color: #fcfcfc;
}

.entry .moreless_fold span:before {
  padding: 0 10px 0 5px;
  content: "\f107";
  font-family: "FontAwesome";
  color: #aaa;
}

.entry .moreless_fold span {
  display: block;
  padding: 10px 10px 8px;
}

.entry .moreless_top {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  background-color: #fcfcfc;
}

.entry .moreless_top span:before {
  padding: 0 10px 0 5px;
  content: "\f106";
  font-family: "FontAwesome";
  color: #aaa;
}

.entry .moreless_top span {
  display: block;
  padding: 10px 10px 8px;
}

.entry .moreless_content {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.entry .moreless_bottom {
  display: none;
}

.entry a.tx-link,
.entry a.key1 {
  font-weight: 600;
  cursor: pointer;
}

.entry .cap1,
.entry .galleryCaption {
  margin: 0 !important;
  padding: 0;
  max-width: 100%;
  text-align: center;
  color: #555;
  font-style: italic;
  word-break: break-all;
}

.entry div.footnotes {
  margin-top: 30px;
  font-size: 12px;
  border-top: 1px solid rgb(255, 255, 255);
}

.entry div.footnotes ol {
  padding: 0;
  margin: 10px 0 0 30px;
  list-style: decimal-leading-zero;
}

.entry div.footnotes ol li a {
  color: #888;
  font-weight: 400;
}

.entry .entry-ccl {
  margin-top: 15px;
  margin-bottom: 0 !important;
  line-height: 0;
}

.entry a[href*="attachment/cfile"] {
  display: inline-block;
  position: relative;
  padding: 6px 10px 3px;
  font-size: 13px;
  color: #fafafa;
  background-color: #555;
  box-shadow: 0 0 5px #222;
}

.entry a[href*="attachment/cfile"]:hover {
  background-color: #444;
  text-decoration: none;
}

.entry a[href*="attachment/cfile"]>img {
  display: none;
}

.entry .another_category h4 {
  font-size: 14px !important;
}

.entry .another_category table th,
.entry .another_category table td {
  font-size: 13px !important;
}

/*
 * admin
 */
.admin {
  margin-bottom: 10px;
  font-size: 11px;
  text-align: center;
  letter-spacing: 2px;
}

.admin a {
  color: #777;
}

.admin a:hover {
  color: #e55;
}

.admin .line {
  padding: 0 5px;
  font-size: 9px;
  color: #ddd;
}

/*
 * paging
 */
#paging {
  padding: 30px 0 20px;
  line-height: 200%;
  text-align: center;
  cursor: default;
}

#paging a {
  display: inline-block;
  margin: 0 5px 10px;
  padding: 0 5px;
}

#paging .no-more-prev,
#paging .no-more-next {
  color: #aaa;
  cursor: default;
}

#paging .selected {
  cursor: default;
  color: #07a;
}

/*
 * responsive
 */
.responsive-video {
  position: relative;
  padding-bottom: 56.25%;
  width: 100%;
}

.responsive-video iframe,
.responsive-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 텍스트 관련 */
#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 #ffffff;
  color: #ffffff;
}

#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/keditor/dist/0.7.21/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: rgb(255, 255, 255);
  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 0;
  background: url(https://t1.daumcdn.net/keditor/dist/0.7.21/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 {
  margin-bottom: 0px;
  border-color: rgb(255, 255, 255);
}

#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: #ffffff;
  border: 1px solid rgb(255, 255, 255);
  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.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: #ffffff;
  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: rgb(255, 255, 255);
  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;
  }
}

/* 공통 이미지 */
.float-img {
  position: absolute;
  width: 140px;
  opacity: 1;
  animation: float 6s ease-in-out infinite;
}

/* 개별 위치 */
.img1 {
  top: 10%;
  left: 8%;
}

.img2 {
  top: 30%;
  right: 8%;
  animation-duration: 8s;
}

/* 중앙 고정 이미지 */
.center-img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;           /* 원하는 크기로 조절 */
  transform: translate(-50%, -50%);
  z-index: 2;             /* 떠다니는 이미지 위 */
}

.float-group {
  position: relative;
  width: 360px;   /* 중앙 주변 활동 반경 */
  height: 260px;
  margin: 0 auto;
}

/* 크레딧 */
.header-credit {
  position: absolute;
  top: calc(50% + 100px); /* 이미지 절반 높이(90px) + 여백(10px) 추가 */
  left: 50%;
  transform: translateX(-50%); /* 가로 중앙 정렬 */
  
  width: 100%;            /* 텍스트가 잘리지 않게 넓게 설정 */
  text-align: center;
  font-size: 11px;
  color: #888;
  z-index: 3;             /* 이미지보다 위에 보이게 */
  white-space: nowrap;    /* 줄바꿈 방지 */
  opacity: 0.7;            /* 살짝 투명하게 해서 배경과 어우러지게 */
  transition: opacity 0.3s; /* 마우스 올렸을 때 효과를 위한 전환 */
}

.oedo {
  color: #ffffff;
  text-align: center;
  font-size: 15px;
  width: 100%;

  margin-bottom: 15px; /* 검색창과 간격 */
  letter-spacing: 1px;
  opacity: 0.85;
}


.header-credit:hover {
    opacity: 1;              /* 마우스를 올리면 선명해짐 */
}

/* 떠다니는 이미지는 뒤로 */
.float-img {
  z-index: 1;
}

/* 둥실둥실 */
@keyframes float {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(4px, -8px); }
  100% { transform: translate(0, 0); }
}

/* 모바일 */
@media {
  .float-group {
    width: 50%;
    height: 50%;
    width: 180px; 
  }

  .img1 {
    transform: translate(-120%, -40%);
  }
  .img2 {
    transform: translate(40%, -40%);
  }

  .center-img {
    width: 200px;
  }
}

/* 스크롤에 따라 자연스럽게 사라지도록 */
.floating-header {
  transition: opacity 0.2s ease-out;
}

/* 로고 영역 컨테이너 */
#floating-header {
  position: relative;
  width: 100%;
  height: 350px; /* 로고와 크레딧이 차지하는 대략적인 높이 지정 */
  display: flex;
  justify-content: center;
  align-items: center;
}

.float-group {
  position: relative;
  width: 360px;
  height: 260px; /* 이미지들의 활동 반경 */
}

/* 메뉴 영역 스타일 */

.slot-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;               /* 박스 사이의 간격 */
  align-items: center;
}

.menu-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;            /* 박스 가로 너비 */
  height: 50px;            /* 박스 세로 높이 */
  
  /* 유리알 디자인 */
  background: rgba(255, 255, 255, 0.15); 
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;     /* 모서리 곡률 */
  text-decoration: none;
  transition: all 0.3s ease;
}

/* 마우스 올렸을 때 효과 */
.menu-slot:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px); /* 살짝 떠오르는 느낌 */
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.menu-slot span {
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* 검색 슬롯 내부 설정 */
.search-slot input {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  text-align: center;
  outline: none;
}

/* 유리알 박스 전체 스타일 */
#content-inner.glass-box {
  max-width: 900px;
  margin: 60px auto;
  padding: 60px 40px;
  
  /* 유리알 효과 */
  background: rgba(255, 255, 255, 0.15); 
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  
  /* 텍스트 중앙 정렬 (요청사항) */
  text-align: center;
  color: #ffffff;
}

@media screen and (max-width: 768px) {
  #content-inner.glass-box {
    margin: 20px 10px; /* 상하 여백을 줄이고 좌우 간격을 최소화 */
    padding: 30px 15px; /* 내부 여백을 줄여서 콘텐츠 공간 확보 (중요!) */
    border-radius: 12px; /* 모바일에서는 곡률을 살짝 줄임 */
  }
}

/* 1. 기본적으로 목록 페이지에서는 본문을 절대 보여주지 않음 */
#tt-body-category .entry-header,
#tt-body-category .article-view,
#tt-body-category .tag-label {
    display: none !important;
}

/* 글 제목 스타일 */
.entry-title a, .list-title h2 {
  color: #ffffff !important;
  font-size: 1.8rem;
  text-decoration: none;
  text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.2);
}

/* 본문 내용 스타일 */
.article-view {
  margin-top: 40px;
  line-height: 1.8;
  text-align: justify; /* 본문 텍스트도 중앙 정렬 */
  background-color: transparent !important;
}

#content-inner *:not(.header-credit),
.list-body *:not(.header-credit){
    color: #ffffff !important;
}

#content-inner *:not(.wiki):not(.wiki *) {
    color: #ffffff !important;
}

#wiki {
    color: #373a3c !important;
}

#wiki * {
    color: inherit !important;
}

/* 본문 내 이미지가 박스를 벗어나지 않게 */
.article-view img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 15px;
  margin: 20px auto;
  display: block;
}

/* 글 목록(List) 스타일 */
.list-body ul { list-style: none; padding: 0; }
.list-body li {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.list-body a { color: #fff; text-decoration: none; }
.list-date { font-size: 12px; opacity: 0.7; margin-left: 10px; }


/* 글 보기, 카테고리, 태그, 검색 페이지에서는 보임 */
body#tt-body-page #content-inner,
body#tt-body-category #content-inner,
body#tt-body-tag #content-inner,
body#tt-body-search #content-inner {
  display: block !important;
}

body#tt-body-index #content-inner {
  display: none !important;
}

.article-view, 
.article-view p, 
.article-view span {
    background: transparent !important; /* 텍스트 뒤 배경 제거 */
    border: none !important;            /* 혹시 border가 남아있으면 제거 */
    outline: none !important;           /* outline 제거 */
    box-shadow: none !important;        /* 그림자 제거 */
    color: initial !important;
}

/* 1. 본문 제목 영역 강제 복구 (안전장치) */
.entry-title, .entry-header {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 2. 일반 목록 설정 (기본은 텍스트만 보임) */
.my-custom-list .thumb-area { display: none; }
.my-custom-list .list-only-title { display: block; }

/* [기본 설정] 모든 카테고리 공통: 리스트 형태로 보이게 함 */
.my-custom-list { padding: 0; list-style: none; }
.my-custom-list .list-item { margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.my-custom-list .thumb-area { display: none; } /* 일반 카테고리에선 섬네일 숨김 */
.my-custom-list .text-area { display: block; } /* 일반 카테고리에선 텍스트 보임 */

/* [갤러리 설정] いろいろ 및 絵 카테고리 전용 */
.my-custom-list .category-いろいろ, 
.my-custom-list .category-絵 {
    display: inline-block !important; /* 가로 배치 */
    width: 31%;
    margin: 1%;
    border: none;
    padding: 0;
    vertical-align: top;
    position: relative;
}

/* 갤러리 카테고리에서 섬네일 노출 */
.my-custom-list .category-いろいろ .thumb-area,
.my-custom-list .category-絵 .thumb-area {
    display: block !important;
    width: 100%;
    aspect-ratio: 1 / 1; /* 정사각형 유지 */
    overflow: hidden;
    border-radius: 12px;
}

.my-custom-list .category-いろいろ .thumb-area img,
.my-custom-list .category-絵 .thumb-area img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* 갤러리 카테고리에서 텍스트 영역을 호버 오버레이로 변경 */
.my-custom-list .category-いろいろ .text-area,
.my-custom-list .category-絵 .text-area {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 어두운 배경 */
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0; /* 평소엔 숨김 */
    transition: opacity 0.3s;
    border-radius: 12px;
    z-index: 5;
}

/* 호버 시 텍스트 등장 */
.my-custom-list .category-いろいろ:hover .text-area,
.my-custom-list .category-絵:hover .text-area {
    opacity: 1;
}

/* 텍스트 스타일 */
.my-custom-list .category-いろいろ .title-text,
.my-custom-list .category-絵 .title-text {
    color: #fff !important;
    font-weight: bold;
    text-align: center;
    padding: 10px;
}
.my-custom-list .category-いろいろ .list-date,
.my-custom-list .category-絵 .list-date { color: #ccc; font-size: 0.8em; }

/* 페이지네이션 스타일 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    gap: 15px;
}

.pagination a {
    text-decoration: none;
    color: #8e7b7c;
    padding: 5px 10px;
    font-size: 0.9em;
    transition: color 0.3s;
}

.pagination .page-numbers {
    display: flex;
    gap: 8px;
}

.pagination .num {
    cursor: pointer;
}

/* 현재 머물고 있는 페이지 번호 강조 (티스토리 기본 클래스 대응) */
.pagination .selected, 
.pagination .num:hover {
    color: #1d32c0;
    font-weight: bold;
    border-bottom: 2px solid #1d32c0;
}

/* 더 이상 갈 곳이 없을 때 숨김 처리 */
.pagination .no-more {
    display: none;
}

/* 전체 컨테이너 */
.footer-banner {
    display: none;
    margin: 120px auto 60px;
    position: relative;
    max-width: 200px; /* 원하는 배너 가로 크기 */
    width: 100%;
    bottom: 0;
    align-items: center;
}

#tt-body-index .footer-banner {
    display: block !important;
}

/* 문구 스타일 (이미지 위 고정) */
.banner-credit {
    display: block;
    font-size: 11px;
    color: #ffffff;
    margin-bottom: 10px;
    text-align: center;
}

/* ★ 여기가 핵심: 옆 이미지를 잘라주는 박스 ★ */
.slider-wrapper {
    width: 100%;
    overflow: hidden !important; /* 중요: 이걸 넘어서는 이미지는 무조건 숨김 */
    position: relative;
    display: block;
}

/* 실제로 움직이는 기차 부분 */
.banner-slider {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    transition: transform 0.6s ease-in-out;
}

/* 한 칸씩 차지하는 아이템 */
.slider-item {
    flex: 0 0 100%; /* 부모 너비의 정확히 100%만 차지 */
    min-width: 100%; /* 너비가 좁아지지 않게 고정 */
    display: flex;
    justify-content: center;
}

.slider-item img {
    width: 100%;
    height: auto;
    display: block;
    -webkit-user-drag: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 마우스를 올렸을 때 효과 */
.slider-item:hover img {
    transform: scale(1.08); /* 8% 정도 크기 확대 */
    filter: brightness(1.1); /* 살짝 밝게 */
}

/* 슬라이더 칸 자체의 설정 (확대될 때 이미지가 밖으로 안 나가게) */
.slider-item {
    overflow: hidden; 
}

/* 메뉴 버튼 */
.menu-btn {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 1001;
  font-size: 26px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: white;
}

/* 배경 오버레이 */
#overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 1000;
}

/* 사이드 메뉴 */
#sideMenu {
  position: fixed;
  top: 0;
  left: 0;              /* 0으로 변경 */
  width: 300px;
  height: 100vh;

  transform: translateX(-100%);   /* 완전히 화면 밖으로 */
  transition: transform 0.4s ease;

  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(18px);
  box-shadow: 5px 0 30px rgba(0,0,0,0.2);
  z-index: 1002;
  padding: 40px 24px;
}

#sideMenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-direction: column;
}

#sideMenu li {
  margin-bottom: 12px;
}

#sideMenu a {
  text-decoration: none;
  color: white;
  transition: 0.2s ease;
}

#sideMenu a:hover {
  opacity: 0.6;
  padding-left: 6px;
}

/* 열렸을 때 */
#sideMenu.active {
  transform: translateX(0);
}

#overlay.active {
  opacity: 1;
  visibility: visible;
}

/* 닫기 버튼 */
.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  float: right;
  cursor: pointer;
  color: white;
}

.custom-menu {
  display: flex;
  flex-direction: column;  /* 이게 핵심 */
  gap: 20px;
  margin-top: 60px;
}

.custom-menu a {
  text-decoration: none;
  color: white;
  font-size: 16px;
}

.menu-section {
  margin-top: 40px;
}

#sideMenu a,
#sideMenu a:visited,
#sideMenu a:active,
#sideMenu a:focus {
  color: white;
  opacity: 1;
  padding-left: 0;
  outline: none;
}

#sideMenu a:focus {
  outline: none;
  opacity: 1 !important;
  padding-left: 0 !important;
}

------------------

/* 전체 컨테이너 */
.home-intro {
  width: 100%;
  max-width: 1000px;
  margin: 50px auto;
  overflow: hidden; /* 영역 이탈 방지 */
}

body:not(#tt-body-index) .home-intro { display: none; }

/* 각 섹션 공통 (위치 기준점 설정) */
.home-intro-wrap, .home-intro-wrap2 {
  position: relative;
  min-height: 300px; /* 이미지 높이에 맞춰 최소 높이 설정 */
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  /* 유리알 공통 효과 */
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.home-intro-wrap {
  flex-direction: row; /* 이미지 왼쪽, 텍스트 오른쪽 */
  border-radius: 0 100px 100px 0; /* 오른쪽만 크게 둥글게 (위 오른쪽 아래) */
  margin-right: 50px; /* 오른쪽 여백을 주어 박스 모양 강조 */
  text-align: left;
  position: relative; /* z-index를 작동시키기 위해 반드시 필요 */
  z-index: 5 !important; /* 별(1)보다 높은 숫자로 강제 고정 */
}

.home-intro-wrap2 {
  flex-direction: row-reverse; /* 이미지 오른쪽, 텍스트 왼쪽 */
  border-radius: 100px 0 0 100px; /* 왼쪽만 크게 둥글게 (위 왼쪽 아래) */
  margin-left: 50px; /* 왼쪽 여백을 주어 박스 모양 강조 */
  text-align: right;
  position: relative; /* z-index를 작동시키기 위해 반드시 필요 */
  z-index: 5 !important; /* 별(1)보다 높은 숫자로 강제 고정 */
}

/* --- 첫 번째 섹션 (이미지 좌 / 텍스트 우) --- */
.home-img1 {
  width: 100%;
  display: flex;
  align-items: center;
}

.home-img1 img {
  width: 250px; /* 이미지 크기 고정 */
  border-radius: 20px;
  flex-shrink: 0;
}

.home-text1 {
  padding-left: 40px; /* 이미지 옆으로 텍스트 밀어내기 */
  color: white;
}

/* --- 두 번째 섹션 (이미지 우 / 텍스트 좌) --- */
.home-intro-wrap2 {
  justify-content: flex-end; /* 오른쪽 정렬 */
}

.home-img2 {
  width: 100%;
  display: flex;
  flex-direction: row-reverse; /* 이미지와 텍스트 순서 반전 */
  align-items: center;
}

.home-img2 img {
  width: 250px; /* 이미지 크기 고정 */
  border-radius: 20px;
  flex-shrink: 0;
}

.home-text2 {
  padding-right: 40px; /* 이미지 옆으로 텍스트 밀어내기 */
  text-align: right;   /* 텍스트 오른쪽 정렬 (선택사항) */
  color: white;
}

/* 공통 폰트 설정 */
.home-text1 h2, .home-text2 h2 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

/* 텍스트 스타일 수정 */
.home-text1 p, 
.home-text2 p {
  /* 1. 줄바꿈 관련 설정 */
  white-space: pre-line;
  word-break: keep-all;    /* 단어가 잘리지 않고 통째로 다음 줄로 이동 (한글 추천) */
}

/* --- 모바일 반응형 --- */
@media (max-width: 768px) {
  .home-img1, .home-img2 {
    flex-direction: column; /* 세로로 쌓기 */
    text-align: center;
  }
  
  .home-text1, .home-text2 {
    padding: 20px 0;
    width: 80%;
    text-align: center;
  }

  .home-img1 img, .home-img2 img {
    width: 200px; /* 모바일에서 이미지 크기 약간 축소 */
  }
}

/* 구슬 컨테이너 */
.tag-container {
  display: flex;
  gap: 8px;            /* 구슬 사이 간격 */
  margin-bottom: 15px; /* p 태그와의 간격 */
  flex-wrap: wrap;     /* 구슬이 많으면 다음 줄로 넘어가게 */
}

/* 첫 번째 박스(왼쪽 정렬)용 */
.home-text1 .tag-container {
  justify-content: flex-start;
}

/* 두 번째 박스(오른쪽 정렬)용 */
.home-text2 .tag-container {
  justify-content: flex-end;
}

/* 해시태그 구슬 개별 스타일 */
.tag-bead {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  
  /* 구슬 유리알 효과 */
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px; /* 완전 둥근 모양 */
  
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: default;
}

/* 마우스 올렸을 때 살짝 밝아지는 효과 */
.tag-bead:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* 모바일 정렬 맞춤 */
@media (max-width: 768px) {
  .tag-container {
    justify-content: center !important; /* 모바일에선 무조건 중앙 */
    margin-top: 10px;
  }
}

----------------------------
/* 서치바 컨테이너 */
#notion-search-section {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

/* 검색창과 버튼을 감싸는 내부 박스 */
.search-bar {
  position: relative;
  width: 100%;
  max-width: 500px;
}

/* 입력창 스타일 */
#notionSearchInput[type="text"] {
  width: 100%;
  padding: 15px 60px 15px 25px; /* 우측 버튼 자리를 위해 padding-right를 60px로 */
  font-size: 1.1rem;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  outline: none;
  box-sizing: border-box; /* 패딩이 너비에 영향을 주지 않도록 */
}

/* 검색 버튼 스타일 */
/* ===== 노션 검색 박스 (유리알) ===== */
#notion-box {
  margin: 20px 0;
  padding: 20px;
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

/* ===== 검색 인풋 ===== */
#notionInput {
  width: 70%;
  padding: 10px 14px;
  border-radius: 12px;

  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  outline: none;
}

#notionInput::placeholder {
  color: rgba(255,255,255,0.5);
}

/* ===== 검색 버튼 ===== */
#notionGoBtn {
  padding: 10px 16px;
  border-radius: 12px;
  margin-left: 8px;

  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

#notionGoBtn:hover {
  background: rgba(255,255,255,0.3);
}

/* ===== 검색 결과 영역 ===== */
#notionView {
  margin-top: 20px;
  color: #ddd;
  line-height: 1.6;
  max-height: 300px;     /* 원하는 높이 */
  overflow-y: auto;
  padding-right: 6px;    /* 스크롤 겹침 방지 */
}

#notionView::-webkit-scrollbar {
  width: 6px;
}

#notionView::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.25);
  border-radius: 3px;
}

#notionView::-webkit-scrollbar-track {
  background: transparent;
}


@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* 별 효과를 담는 캔버스나 컨테이너 */
#starCanvas, .stars-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* 숫자를 조절하여 레이어 순서를 결정합니다 */
  z-index: 1; !important; /* 가장 아래 바닥(0)보다 바로 위 */
  pointer-events: none; /* 별이 클릭을 방해하지 않게 설정 */ /* 기존 배경 이미지(0)보다 위로 올림 */
  
  /* 배경색을 투명하게 해서 기존 배경 이미지가 비치게 합니다 */
  background: transparent !important; 
  pointer-events: none; /* 별 레이어가 클릭을 방해하지 않도록 설정 */
}

/* 실제 콘텐츠(유리알 박스 등) */
#content, .home-intro-wrap, .glass-box {
  position: relative;
  z-index: 10; /* 별 레이어보다 훨씬 위로 올림 */
}

#scrollTopBtn {
  position: fixed;
  right: 25px;
  bottom: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;

  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: #fff;

  display: none;
  z-index: 999;

  transition: opacity 0.3s ease, transform 0.3s ease;
}

#scrollTopBtn:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.25);
}

=====================

#timeline{
  position:relative;
  z-index:2;
}

/* timeline을 감싸는 glass-box 무력화 */
#timeline{
  margin: -60px auto;
}

#content-inner.glass-box:has(#timeline){
  background: transparent !important;
  backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
}

body:has(#timeline) .post-title,
body:has(#timeline) .entry-title,
body:has(#timeline) .article-title{
  display:none !important;
}

body:has(#timeline) .post-meta,
body:has(#timeline) .entry-meta,
body:has(#timeline) .article-info,
body:has(#timeline) .post-info{
  display:none !important;
}

/* 타임라인 글에서 공감/버튼 영역 제거 */

body:has(#timeline) .container_postbtn,
body:has(#timeline) #post_button_group{
  display:none !important;
}

body:has(#wiki) .container_postbtn,
body:has(#wiki) #post_button_group{
  display:none !important;
}

=====================

#timeline {
  position: relative;
  width: 700px;
  margin: 100px auto;
}

/* 각각의 아이템 */
.timeline-item {
  position: relative;
  margin: 120px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 중앙 세로선 - 위 */
.timeline-item::before {
  content: "";
  position: absolute;
  top: -150px;          /* 아이템 간 간격과 동일 */
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 150px;
  background: rgba(255,255,255,0.4);
}

/* 중앙 세로선 - 아래 */
.timeline-item::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 150px;
  background: rgba(255,255,255,0.4);
}

/* 첫 번째는 위 선 제거 */
.timeline-item:first-child::before {
  display: none;
}

/* 마지막은 아래 선 제거 */
.timeline-item:last-child::after {
  display: none;
}

/* 유리알 공통 */
.episode,
.timeline-box {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.2);
  z-index: 2;
  white-space: pre-line;
}

/* 기존보다 더 흐린 버전 */
.timeline-box2 {
  background: rgba(39, 39, 39, 0.12);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.2);
  z-index: 2;
  white-space: pre-line;
}

/* episode */
.episode {
  padding: 8px 20px;
  margin-bottom: 24px;
  font-size: 14px;
}

/* 본문 */
.timeline-box,
.timeline-box2 {
  width: 420px;
  padding: 25px 30px;
}


#content-inner.glass-box:has(.wiki) {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body:has(.wiki) .post-title,
body:has(.wiki) .entry-title,
body:has(.wiki) .article-title{
  display:none !important;
}

body:has(.wiki) .post-meta,
body:has(.wiki) .entry-meta,
body:has(.wiki) .article-info,
body:has(.wiki) .post-info{
  display:none !important;
}

 