@charset "UTF-8";

/* Windows XP Luna blog skin.
   Window chrome / title buttons adapted from XP.css 0.2.6 (MIT, botoxparty).
   Tistory: upload skin.html + this file only. */

:root {
  --face: #ece9d8;
  --face-2: #f5f4ec;
  --line: #aca899;
  --line-dark: #716f64;
  --blue: #316ac5;
  --blue-deep: #0a246a;
  --title-1: #0a9dff;
  --title-2: #0054e3;
  --link: #003399;
  --text: #222;
  --muted: #555;
  --ui: Tahoma, "Segoe UI", "Malgun Gothic", "맑은 고딕", sans-serif;
  --task: 32px;
  --btn-face: linear-gradient(180deg, #fff 0%, #f3f2ea 48%, #ece9d8 100%);
  --btn-border: #003c74;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, textarea { font-family: var(--ui); }

/* 티스토리 NEW 아이콘: width 10px + padding + border-box 때문에 가로가 찌그러짐 */
img[src*="new_ico"],
img[src*="new.gif"],
.xp-file b img,
.xp-mini b img {
  box-sizing: content-box !important;
  width: 10px !important;
  height: 10px !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  margin: 0 0 0 6px !important;
  vertical-align: 0;
  object-fit: contain;
  image-rendering: pixelated;
  flex: 0 0 auto;
}
.xp-tree img[src*="new_ico"],
.xp-side img[src*="new_ico"] { display: none; }

.xp-new {
  display: inline-block;
  margin: 0 0 0 6px;
  padding: 0 3px;
  min-width: 12px;
  height: 13px;
  line-height: 12px;
  font-size: 9px;
  font-weight: 700;
  font-family: Tahoma, sans-serif;
  letter-spacing: 0;
  color: #fff;
  background: linear-gradient(180deg, #ff6a6a, #d01010);
  border: 1px solid #8b1515;
  vertical-align: 1px;
  text-shadow: 0 1px 0 #7a0000;
}

body {
  font-family: var(--ui);
  font-size: 12px;
  color: var(--text);
  background:
    radial-gradient(1200px 420px at 50% 12%, #cfe6f7 0%, transparent 52%),
    linear-gradient(180deg, #7eb4e2 0%, #9ec8e8 28%, #c5dc90 52%, #6b9a38 78%, #3e6e16 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

.xp-desk {
  min-height: 100vh;
  padding: 18px 18px calc(var(--task) + 28px);
}

.xp-dim {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 15;
  background: rgba(0,20,60,.38);
}

.xp-stage {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.xp-win {
  margin-bottom: 6px;
  padding: 0 0 3px;
  background: var(--face);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  box-shadow:
    inset -1px -1px #00138c,
    inset 1px 1px #0831d9,
    inset -2px -2px #001ea0,
    inset 2px 2px #166aee,
    inset -3px -3px #003bda,
    inset 3px 3px #0855dd,
    0 10px 28px rgba(0,20,40,.22);
  overflow: visible;
}

.xp-title {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  min-height: 30px;
  margin: 0;
  padding: 3px 5px 3px 3px;
  background: linear-gradient(
    180deg,
    #0997ff 0%,
    #0053ee 8%,
    #0050ee 40%,
    #0066ff 88%,
    #0066ff 93%,
    #005bff 95%,
    #003dd7 96%,
    #003dd7 100%
  );
  color: #fff;
  overflow: hidden;
  border-top: 1px solid #0831d9;
  border-left: 1px solid #0831d9;
  border-right: 1px solid #001ea0;
  border-radius: 8px 8px 0 0;
  font-family: "Trebuchet MS", Tahoma, "Malgun Gothic", sans-serif;
}
.xp-title__ico {
  width: 16px; height: 16px; flex: 0 0 auto;
  border: 1px solid #024;
  background:
    linear-gradient(#3a6ea5 0 4px, transparent 4px) 2px 2px / 11px 4px no-repeat,
    linear-gradient(180deg, #fffdf0, #e8d27a);
  box-shadow: inset 0 0 0 1px #fff6;
}
.xp-title__text {
  flex: 1;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 1px 1px #0f1089;
}
.xp-title__text a { color: #fff; text-decoration: none; }

.xp-btns {
  display: flex;
  gap: 2px;
  flex: 0 0 auto;
  pointer-events: none;
}
.xp-btn {
  width: 21px;
  height: 21px;
  min-width: 21px;
  border: 1px solid #003c74;
  border-radius: 3px;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.45);
  position: relative;
}
.xp-btn--min,
.xp-btn--max {
  background: linear-gradient(180deg, #2e8af8 0%, #1a5fe8 48%, #154fcf 100%);
}
.xp-btn--close {
  background: linear-gradient(180deg, #e47654 0%, #d22516 48%, #b51c0d 100%);
}
.xp-btn--min::before {
  content: "";
  position: absolute;
  left: 4px; right: 7px; bottom: 5px;
  border-bottom: 2px solid #fff;
}
.xp-btn--max::before {
  content: "";
  position: absolute;
  left: 5px; right: 5px; top: 5px; bottom: 5px;
  border: 2px solid #fff;
  border-top-width: 3px;
}
.xp-btn--close::before,
.xp-btn--close::after {
  content: "";
  position: absolute;
  left: 9px; top: 4px;
  width: 2px; height: 12px;
  background: #fff;
}
.xp-btn--close::before { transform: rotate(45deg); }
.xp-btn--close::after { transform: rotate(-45deg); }

.xp-menubar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 3px;
  padding: 0 4px 0 2px;
  min-height: 23px;
  background: var(--face);
  border-bottom: 1px solid #808080;
  box-shadow: 0 1px 0 #fff;
}
.xp-menu {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.xp-menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 1px 0;
  list-style: none;
}
#tt-body-index .xp-home-cover { display: none; }
.xp-tree .new, .xp-side .N { display: none; }
.xp-menu li { display: flex; }
.xp-menu a {
  color: #000;
  text-decoration: none;
  padding: 3px 11px;
  line-height: 17px;
  border: 1px solid transparent;
}
.xp-menu a:hover,
.xp-menu li:hover > a {
  text-decoration: none;
  background: #316ac5;
  color: #fff;
  border-color: #1b4a94;
}
#tt-body-index .xp-menu .t_menu_home > a,
#tt-body-tag .xp-menu .t_menu_tag > a,
#tt-body-guestbook .xp-menu .t_menu_guestbook > a {
  background: #316ac5;
  color: #fff;
  border-color: #1b4a94;
}
.xp-menu .sub_category_list,
.xp-menu .link_tit,
.xp-menu .c_cnt { display: none; }
.xp-burger {
  display: none;
  margin-left: auto;
  height: 22px;
  min-height: 22px;
  padding: 0 10px;
  border: 1px solid #003c74;
  border-radius: 3px;
  background: linear-gradient(180deg, #fff 0%, #ebebe5 86%, #d8d0c4 100%);
}

.xp-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 3px;
  padding: 6px 8px 7px;
  background: linear-gradient(180deg, #faf9f2, #ece9d8);
  border-bottom: 1px solid #d4d0c8;
}
.xp-tool {
  padding: 5px 10px;
  color: #222;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
}
.xp-tool:hover { text-decoration: none; background: #f7f4e8; border-color: #d4d0c8; }
.xp-vbar { width: 1px; height: 16px; background: var(--line); }
.xp-addr { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; }
.xp-addr label {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  color: #000;
  font-size: 12px;
  white-space: nowrap;
  flex: 0 0 auto;
}
.xp-addr input {
  flex: 1;
  min-width: 0;
  height: 24px;
  border: 1px solid #7f9db9;
  box-shadow: inset 1px 1px 0 #dce6ef;
  padding: 0 8px;
  font-size: 12px;
  background: #fff;
}
.xp-addr button {
  height: 24px;
  padding: 0 14px;
  border: 1px solid #003c74;
  border-radius: 3px;
  background: linear-gradient(180deg, #fff 0%, #ebebe5 86%, #d8d0c4 100%);
  box-shadow: none;
  cursor: pointer;
}
.xp-addr button:hover,
.xp-burger:hover,
.btn_subscription:hover,
.btn-g:hover {
  box-shadow: inset -1px 1px #fff0cf, inset 1px 2px #fdd889, inset -2px 2px #fbc761, inset 2px -2px #e5a01a;
}

.xp-work {
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr);
  min-height: 0;
  margin: 0 3px;
  background: #fff;
  border: 1px solid #808080;
}
.xp-side {
  background: linear-gradient(180deg, #7ba2e7 0%, #6375d6 100%);
  padding: 12px 10px 16px;
  overflow-x: hidden;
  overflow-y: auto;
  min-width: 0;
}
.xp-main { min-width: 0; padding: 0; background: #fff; }

.xp-status { display: none; }
.xp-status span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xp-pane {
  margin: 0;
  background: none;
  border: 0;
  box-shadow: none;
}
.xp-pane__h,
.xp-side__h {
  margin: 14px 0 6px;
  padding: 0;
  background: none;
  border: 0;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(0,20,60,.3);
}
.xp-side .xp-prof + .xp-side__h,
.xp-side .xp-prof + * .xp-side__h { margin-top: 16px; }
.xp-pane--quiet { display: none; }

.xp-prof, .xp-tree, .xp-mini, .xp-cloud, .xp-cal { padding: 0; }
.xp-prof {
  text-align: center;
  color: #fff;
  padding: 4px 0 8px;
}
.xp-prof img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,40,.25);
}
.xp-prof__name {
  margin: 8px 0 0;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 0 rgba(0,20,60,.25);
}
.xp-prof__bio { display: none; }

.xp-side .btn_tool,
.xp-side .btn_subscription,
.xp-side .btn_menu_toolbar {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 8px 0 0 !important;
  padding: 5px 8px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  float: none !important;
  position: static !important;
}
.xp-side .txt_tool_id,
.xp-side .img_common_tistory,
.xp-side .ico_check_type1 {
  display: none !important;
}
.xp-side .txt_state {
  display: inline !important;
  font-style: normal !important;
  font-weight: 700 !important;
  color: inherit !important;
  font-size: 12px !important;
}

.xp-tree ul { list-style: none; margin: 0; padding: 0; }
.xp-tree > .tt_category > li > .link_tit {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(0,20,60,.25);
}
.xp-tree > .tt_category > li > .link_tit::before {
  content: "";
  width: 16px;
  height: 14px;
  flex: 0 0 auto;
  background:
    linear-gradient(#e8d27a, #c9a84c) 1px 5px / 14px 8px no-repeat,
    linear-gradient(#fff6c8, #e8d27a) 0 2px / 8px 5px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(80,60,0,.35);
}
.xp-tree .category_list {
  margin: 2px 0 0;
  padding: 0 0 0 10px;
}
.xp-tree .link_item,
.xp-tree .link_sub_item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,20,60,.2);
}
.xp-tree .link_item::before,
.xp-tree .link_sub_item::before {
  content: "";
  width: 14px;
  height: 12px;
  flex: 0 0 auto;
  background: linear-gradient(#fff6c8, #e8d27a);
  box-shadow: inset 0 0 0 1px rgba(80,60,0,.35);
}
.xp-tree .link_sub_item { padding-left: 22px; }
.xp-tree a { text-decoration: none; }
.xp-tree a:hover {
  text-decoration: none;
  background: rgba(255,255,255,.18);
}
.xp-tree .c_cnt {
  margin-left: auto;
  opacity: .8;
  font-weight: 400;
  font-size: 11px;
}
.xp-tree .selected > a,
.xp-tree li.selected > a,
.xp-tree a.selected,
.xp-tree a[aria-current="page"] {
  font-weight: 700;
  background: #1f4dad;
}

.xp-mini { list-style: none; margin: 0; padding: 0; }
.xp-mini li + li { margin-top: 6px; }
.xp-mini a { color: #fff; text-decoration: none; display: block; line-height: 1.35; }
.xp-mini a:hover { text-decoration: underline; }
.xp-mini b { font-weight: 400; }
.xp-mini em { display: none; }

.xp-side .xp-cloud a { color: #fff; }
.xp-cal { color: #fff; }
.xp-cal table { width: 100%; border-collapse: collapse; }
.xp-cal th, .xp-cal td { text-align: center; padding: 3px 0; }
.xp-cal a { color: #fff; }
.xp-sys { margin: 16px 0 0; color: #fff; opacity: .9; font-size: 11px; }
.xp-sys__sub { display: none; }

.btn_subscription, .btn-g {
  display: inline-block;
  min-height: 28px;
  padding: 5px 12px;
  border: 1px solid var(--btn-border);
  background: var(--btn-face);
  box-shadow: inset 1px 1px 0 #fff;
  color: #222;
  line-height: 1.2;
  font-size: 12px;
}

.xp-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px 118px;
  gap: 8px;
  padding: 5px 12px;
  background: linear-gradient(180deg, #fff, #ece9d8);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid #fff;
  font-weight: 700;
  font-size: 11px;
  color: #333;
}
#tt-body-page .xp-cols,
#tt-body-guestbook .xp-cols { display: none; }

.xp-file {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px 118px;
  gap: 8px;
  align-items: center;
  padding: 5px 12px;
  min-height: 26px;
  border-bottom: 1px solid #f0eee6;
  cursor: pointer;
}
@media (hover: hover) {
  .xp-file:hover { background: #316ac5; }
  .xp-file:hover a,
  .xp-file:hover span,
  .xp-file:hover time,
  .xp-file:hover b,
  .xp-file:hover .xp-new { color: #fff; text-decoration: none; }
  .xp-file:hover .xp-new {
    color: #fff;
    background: linear-gradient(180deg, #ff8a8a, #e33);
    border-color: #fff;
  }
}
.xp-file__name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #000;
}
.xp-file__name i {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  background: #e4d27a center/cover no-repeat;
  border: 1px solid #9a8330;
  box-shadow: inset 0 0 0 1px #fff8;
}
.xp-file__name i.is-empty,
.xp-file__name:not(:has(i))::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  background:
    linear-gradient(#3a6ea5 0 3px, transparent 3px) 2px 2px / 11px 3px no-repeat,
    linear-gradient(180deg, #fff, #efe0a0);
  border: 1px solid #9a8330;
}
.xp-file__name:not(:has(i))::before { display: inline-block; }
.xp-file__name b {
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.xp-file__cat, .xp-file time {
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xp-intro { display: none; }
#tt-body-index .xp-intro {
  display: block;
  padding: 12px 16px 10px;
  border-bottom: 1px solid #eceae0;
  background: #fff;
}
.xp-intro__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #444;
  white-space: pre-wrap;
}
#tt-body-index .xp-lead { display: none; }

.xp-lead { margin: 10px 14px; color: var(--muted); }
.xp-empty {
  position: relative;
  max-width: 320px;
  margin: 40px auto;
  padding: 40px 18px 16px;
  background: var(--face);
  color: #222;
  text-align: center;
  border-radius: 8px 8px 0 0;
  box-shadow:
    inset -1px -1px #00138c,
    inset 1px 1px #0831d9,
    inset -2px -2px #001ea0,
    inset 2px 2px #166aee,
    inset -3px -3px #003bda,
    inset 3px 3px #0855dd;
}
.xp-empty::before {
  content: "알림";
  position: absolute;
  left: 3px; right: 3px; top: 3px;
  height: 26px;
  padding: 4px 8px 0;
  background: linear-gradient(180deg, #0997ff 0%, #0053ee 12%, #0050ee 40%, #0066ff 90%, #003dd7 100%);
  color: #fff;
  font: 700 13px "Trebuchet MS", Tahoma, "Malgun Gothic", sans-serif;
  text-shadow: 1px 1px #0f1089;
  text-align: left;
  border-radius: 7px 7px 0 0;
}
.xp-cloud--page { padding: 12px; }
.xp-cloud--page a { display: inline-block; margin: 0 8px 8px 0; }

.xp-post { padding: 20px 24px 32px; }
.xp-post__head { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #d4d0c8; }
.xp-post__head .xp-file__cat { margin: 0 0 4px; font-size: 12px; }
.xp-post__head h1 { margin: 0 0 8px; font-size: 22px; line-height: 1.35; color: #1a1a1a; }
.xp-by { margin: 0; color: #666; font-size: 12px; }
.xp-post__body, #article-view { font-size: 15px; line-height: 1.75; word-break: break-word; overflow-wrap: anywhere; overflow-x: hidden; }
.xp-post__body p { margin: 0 0 1em; }
.xp-post__body h2, .xp-post__body h3, .xp-post__body h4,
#article-view h2, #article-view h3, #article-view h4 { color: var(--link); line-height: 1.35; }
.xp-post__body a, #article-view a { text-decoration: underline; overflow-wrap: anywhere; }
.xp-post__body blockquote, #article-view blockquote { margin: 1em 0; padding: 8px 12px; background: #f7f4ea; border-left: 3px solid #3a6ea5; }
.xp-post__body pre, #article-view pre { overflow: auto; max-width: 100%; padding: 10px; background: #f3f2ea; border: 1px solid var(--line); font-size: 13px; }
.xp-post__body code, #article-view code { font-family: Consolas, "Courier New", monospace; background: #f3f2ea; padding: 0 3px; }
.xp-post__body pre code, #article-view pre code { padding: 0; background: none; }
.xp-post__body img, #article-view img { display: block; max-width: 100%; height: auto; margin: 12px auto; }
.xp-post__body iframe, #article-view iframe,
.xp-post__body video, #article-view video { max-width: 100%; }
.xp-post__body ul, .xp-post__body ol, #article-view ul, #article-view ol { margin: 0 0 1em; padding-left: 1.4em; }
.xp-post__body li, #article-view li { margin: 0.25em 0; }
.xp-post__body hr, #article-view hr { border: 0; border-top: 1px solid var(--line); margin: 1.4em 0; }
.xp-post__body figure, #article-view figure { margin: 1em 0; max-width: 100%; }
.xp-post__body figcaption, #article-view figcaption { margin-top: 6px; color: #555; font-size: 12px; text-align: center; }
.xp-post__body table, #article-view table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1em 0; font-size: 14px; }
.xp-post__body th, .xp-post__body td, #article-view th, #article-view td {
  border: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top;
}
.xp-post__body th, #article-view th { background: #f7f4ea; }

.xp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; padding-top: 10px; border-top: 1px solid #d4d0c8; }
.xp-tags a { display: inline-block; margin: 0 4px 4px 0; padding: 4px 8px; border: 1px solid var(--line); background: #f7f4ea; }

.xp-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 16px; }
.xp-pager a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px; border: 1px solid var(--line); background: #f7f4ea; color: #222; text-decoration: none;
}
.xp-pager a:hover { background: #fff; text-decoration: none; border-color: var(--blue); }
.xp-pager small { color: #666; }

.xp-lock { max-width: 280px; margin: 24px auto; padding: 16px; border: 1px solid var(--line); background: var(--face); display: grid; gap: 8px; }
.xp-lock input { height: 36px; border: 1px solid #7f9db9; padding: 0 8px; font-size: 16px; }
.xp-lock button { height: 36px; border: 1px solid var(--btn-border); background: var(--btn-face); }

.xp-pages { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; padding: 14px 8px; }
.xp-pages a { padding: 4px 8px; }
.xp-pages .selected { padding: 4px 8px; background: var(--blue); color: #fff !important; }
.xp-pages__arr.no-more-prev, .xp-pages__arr.no-more-next { color: #999; pointer-events: none; }

/* XP.css 0.2.6 window / button / field — scoped to comments */
.xp-cmt.window {
  margin: 20px 0 12px;
  padding: 0 0 3px;
  background: var(--face);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  box-shadow:
    inset -1px -1px #00138c,
    inset 1px 1px #0831d9,
    inset -2px -2px #001ea0,
    inset 2px 2px #166aee,
    inset -3px -3px #003bda,
    inset 3px 3px #0855dd;
  overflow: hidden;
}
.xp-cmt .title-bar {
  display: flex;
  align-items: center;
  height: 28px;
  padding: 3px 6px 3px 8px;
  background: linear-gradient(
    180deg,
    #0997ff 0%,
    #0053ee 8%,
    #0050ee 40%,
    #0066ff 88%,
    #0066ff 93%,
    #005bff 95%,
    #003dd7 96%,
    #003dd7 100%
  );
  color: #fff;
  font-family: "Trebuchet MS", Tahoma, "Malgun Gothic", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-shadow: 1px 1px #0f1089;
  border-top: 1px solid #0831d9;
  border-left: 1px solid #0831d9;
  border-right: 1px solid #001ea0;
  border-radius: 8px 8px 0 0;
}
.xp-cmt .title-bar-text { flex: 1; }
.xp-cmt .window-body {
  margin: 6px 10px 10px;
  min-width: 0;
  overflow: visible;
}

.xp-cmt .tt-box-total { display: none !important; }

.btn_register,
.tt-btn_register,
.tt_btn_submit,
.tt_btn_prev_more {
  font-family: var(--ui) !important;
  background: linear-gradient(180deg, #fff 0%, #ebebe5 86%, #d8d0c4 100%) !important;
  color: #222 !important;
  border: 1px solid #003c74 !important;
  border-radius: 3px !important;
  min-height: 23px;
  height: 23px;
  padding: 0 14px !important;
  cursor: pointer;
  box-shadow: none !important;
}
.btn_register:hover,
.tt-btn_register:hover,
.tt_btn_submit:hover {
  box-shadow: inset -1px 1px #fff0cf, inset 1px 2px #fdd889, inset -2px 2px #fbc761, inset 2px -2px #e5a01a !important;
}

.xp-cmt .window-body,
.tt-comment-cont,
.tt-area-reply,
.tt-list-reply,
.tt-item-reply,
.tt-wrap-cmt,
.tt-box-content,
.tt-area-write {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

.tt-comment-cont,
.tt-area-reply,
.tt-list-reply {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tt-item-reply {
  width: 100% !important;
  margin: 0 !important;
  margin-left: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.tt-wrap-cmt {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  align-items: start;
  padding: 10px 0;
}

.tt-item-reply + .tt-item-reply > .tt-wrap-cmt {
  border-top: 1px solid #d4d0c8;
}

.tt-box-thumb {
  width: 36px;
  height: 36px;
  overflow: hidden;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 50%;
}
.tt-thumbnail,
.tt-box-thumb img,
.tt-wrap-cmt img {
  display: block;
  width: 36px !important;
  height: 36px !important;
  object-fit: cover;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background-color: #c8c8c8;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border-radius: 50%;
}

.tt-box-content {
  position: relative;
  width: auto;
  padding: 0 26px 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.tt-box-meta { margin: 0 0 2px; }
.tt-link-user { font-weight: 700; color: #222 !important; text-decoration: none !important; }
.tt_btn_profile { border: 0; background: none; padding: 0 3px; cursor: pointer; }

.tt-wrap-desc, .tt_desc {
  line-height: 1.55;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.tt_date, .tt-wrap-info { color: #666; font-size: 11px; margin-top: 8px; }
.tt-link-comment { color: var(--link); }

.tt-box-modify {
  position: absolute !important;
  top: 0;
  right: 0;
  width: auto !important;
  min-width: 16px;
  margin: 0;
  z-index: 2;
  overflow: visible !important;
}
.tt-button-modify {
  position: relative !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  padding: 0 !important;
  border: 1px solid #003c74 !important;
  border-radius: 2px !important;
  background: linear-gradient(180deg, #fff 0%, #ebebe5 86%, #d8d0c4 100%) !important;
  background-image: none !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  overflow: visible !important;
  cursor: pointer;
}
.tt-button-modify::before { content: none !important; }
.tt-button-modify::after {
  content: "▾" !important;
  position: static;
  display: block;
  font-size: 10px;
  line-height: 14px;
  color: #222;
  text-align: center;
  background: none;
  width: auto;
  height: auto;
  transform: none;
}
.tt-list-modify {
  position: absolute !important;
  right: 0;
  left: auto;
  z-index: 40 !important;
  min-width: 128px;
  width: max-content;
  max-width: min(280px, 80vw);
  margin: 2px 0 0 !important;
  padding: 2px !important;
  border: 1px solid #0055ea !important;
  background: #fff !important;
  box-shadow: 2px 2px 0 rgba(0,0,40,.18);
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}
.tt-list-modify li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  list-style: none;
  white-space: nowrap;
}
.tt-list-modify a {
  display: block;
  padding: 4px 12px;
  color: #222 !important;
  text-decoration: none !important;
  font-size: 12px;
  white-space: nowrap;
  word-break: keep-all;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tt-list-modify a:hover {
  background: #316ac5;
  color: #fff !important;
}
.tt-box-modify input,
.tt-list-modify input,
.tt-box-modify textarea {
  display: block;
  width: 240px !important;
  max-width: 70vw !important;
  min-width: 160px !important;
  height: 24px !important;
  margin: 4px !important;
  padding: 0 8px !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  font-size: 12px !important;
}

.tt-area-write,
.tt_wrap_write,
.tt-box-textarea,
.tt-inner-g {
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}
.tt-comment-cont > .tt-area-write,
.tt-comment-cont > form > .tt-area-write {
  margin-top: 4px;
  padding-top: 8px !important;
  border-top: 1px solid #d4d0c8 !important;
}
.tt-box-write {
  width: 100%;
  max-width: 100%;
}
.tt_inp_g,
.tt-comment-cont input,
.tt-comment-cont textarea,
.tt-cmt {
  border: 1px solid #7f9db9 !important;
  background: #fff !important;
  color: #222 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}
.tt-cmt {
  min-height: 72px;
  max-height: 132px;
  padding: 6px 8px;
  font-size: 13px;
  font-family: var(--ui);
  overflow-x: hidden !important;
  overflow-y: auto !important;
  resize: none;
}
.tt-cmt::-webkit-scrollbar { width: 12px; height: 12px; }
.tt-cmt::-webkit-scrollbar-track { background: #ece9d8; }
.tt-cmt::-webkit-scrollbar-thumb {
  background: #c8d6fb;
  border: 1px solid #fff;
  border-radius: 2px;
}
.tt-cmt:focus {
  outline: none !important;
  box-shadow: none !important;
}
.tt-box-write {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.tt-xe-label { color: #333; font-size: 12px; }
.tt_box_pwd {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
}
.tt_box_pwd fieldset {
  display: flex !important;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 0;
  border: 0 !important;
  min-width: 0;
}
.tt_box_pwd .tt_inp_g {
  flex: 1;
  min-width: 0 !important;
  height: 24px !important;
  max-width: none !important;
}
.tt_box_pwd .tt_btn_submit,
.tt_form_pwd .tt_btn_submit {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 52px !important;
  max-width: 80px !important;
  height: 24px !important;
  padding: 0 10px !important;
  font-size: 12px !important;
  line-height: 22px !important;
  overflow: hidden;
}
.tt_btn_submit .tt_img_area_reply,
.tt_btn_submit .tt_ico_check,
.tt_box_pwd .tt_img_area_reply,
.tt_box_pwd .tt_ico_check {
  display: inline !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  background-image: none !important;
  font-size: 12px !important;
  line-height: 22px !important;
  color: #222 !important;
  text-indent: 0 !important;
  overflow: visible !important;
  vertical-align: middle;
}
.tt_btn_submit .tt_ico_check::before,
.tt_btn_submit .tt_ico_check::after,
.tt_box_pwd .tt_img_area_reply::before,
.tt_box_pwd .tt_img_area_reply::after {
  content: none !important;
}

.tt-comment-cont:has(.tt-item-reply .tt-area-write) > .tt-area-write,
.tt-comment-cont:has(.tt-list-reply .tt-area-write) > form > .tt-area-write,
.tt-comment-cont:has(.tt-item-reply .tt-area-write) > form:last-of-type .tt-area-write {
  display: none !important;
}

.tt-list-reply .tt-list-reply,
.tt-item-reply .tt-list-reply,
.tt-item-reply > .tt-area-reply,
.tt-item-reply > ul,
.tt-wrap-cmt + .tt-list-reply,
.tt-item-reply.rp_reply,
li.rp_reply {
  width: 100% !important;
  margin: 0 !important;
  margin-left: 0 !important;
  padding-left: 20px !important;
  border-left: 1px solid #d4d0c8;
}

.xp-tool:focus-visible,
.xp-addr input:focus-visible,
.xp-addr button:focus-visible,
.xp-burger:focus-visible,
.xp-start:focus-visible,
.xp-file__name:focus-visible,
.xp-tree a:focus-visible,
.xp-cmt input:focus-visible,
.xp-cmt textarea:focus-visible,
.xp-lock input:focus-visible {
  outline: 2px solid #003c9a;
  outline-offset: 1px;
}

.xp-task {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 20;
  height: calc(var(--task) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: flex;
  align-items: stretch;
  background: linear-gradient(180deg, #245edb 0%, #3f8cf3 4%, #245edb 8%, #245edb 100%);
  box-shadow: 0 -1px 0 #163e9a;
}
.xp-start {
  display: flex; align-items: center;
  padding: 0 18px 0 10px;
  border-radius: 0 16px 16px 0;
  background: linear-gradient(180deg, #89e13a 0%, #3d9a12 42%, #2f7d0c 100%);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  text-shadow: 1px 1px 0 #1a4a00;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.35);
}
.xp-start::before {
  content: "";
  width: 14px; height: 14px; margin-right: 7px;
  background: linear-gradient(90deg, #f25022 50%, #7fba00 50%), linear-gradient(90deg, #00a4ef 50%, #ffb900 50%);
  background-size: 100% 50%;
  background-position: 0 0, 0 100%;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 1px rgba(0,0,0,.15);
}
.xp-task__win {
  display: flex; align-items: center;
  max-width: 42vw;
  margin: 3px 6px;
  padding: 0 12px;
  border: 1px solid #163e9a;
  background: linear-gradient(180deg, #3a7de8, #1b4fb8);
  color: #fff !important;
  text-decoration: none !important;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.2);
}
.xp-tray {
  margin-left: auto;
  display: flex; align-items: center;
  padding: 0 12px;
  background: linear-gradient(180deg, #19a0ea, #0b79d3);
  color: #fff;
  white-space: nowrap;
  border-left: 1px solid #0a5ea8;
  font-variant-numeric: tabular-nums;
}

.xp-top {
  display: none;
  position: fixed;
  right: 16px;
  bottom: calc(var(--task) + 14px);
  z-index: 21;
  min-width: 72px;
  height: 26px;
  padding: 0 10px;
  border: 1px solid #003c74;
  border-radius: 3px;
  background: linear-gradient(180deg, #fff 0%, #ebebe5 86%, #d8d0c4 100%);
  color: #222;
  font-size: 12px;
  cursor: pointer;
}
.xp-top.is-on { display: inline-flex; align-items: center; justify-content: center; }
.xp-top:hover {
  box-shadow: inset -1px 1px #fff0cf, inset 1px 2px #fdd889, inset -2px 2px #fbc761, inset 2px -2px #e5a01a;
}

.revenue_unit_wrap { max-width: 1100px; margin: 8px auto; }
.another_category table, .another_category td { border: 0 !important; }

@media (max-width: 1024px) {
  .xp-work { grid-template-columns: 196px minmax(0, 1fr); }
  .xp-file, .xp-cols { grid-template-columns: minmax(0, 1fr) 120px; }
  .xp-file time, .xp-cols span:last-child { display: none; }
}

@media (max-width: 860px) {
  :root { --task: 40px; }
  .xp-desk { padding: 8px 8px calc(var(--task) + 12px); }
  .xp-work { grid-template-columns: 1fr; min-height: 0; }
  .xp-side {
    display: none;
    position: fixed;
    top: 0; bottom: var(--task); right: 0;
    z-index: 18;
    width: min(84vw, 320px);
    box-shadow: -4px 0 16px rgba(0,0,0,.25);
  }
  body.xp-open .xp-side { display: block; }
  body.xp-open .xp-dim { display: block; }
  .xp-burger { display: inline-flex; align-items: center; }
  .xp-menu { display: block; }
  .xp-menu ul { flex-wrap: wrap; }
  .xp-menu a { display: inline-block; padding: 6px 10px; }

  .xp-addr input, .xp-addr button { height: 36px; font-size: 16px; }
  .xp-file, .xp-cols { grid-template-columns: 1fr; }
  .xp-cols { display: none; }
  .xp-file { padding: 12px; }
  .xp-file__name b { white-space: normal; }
  .xp-file__cat, .xp-file time { display: inline; margin-right: 8px; }
  .xp-pager { grid-template-columns: 1fr; }
  .xp-post { padding: 14px 12px 20px; }
  .xp-post__head h1 { font-size: 20px; }
  .xp-post__body, #article-view { font-size: 16px; }
  .xp-btns { display: none; }
  .xp-status { display: none; }
  .xp-task__win { max-width: 36vw; }
}

@media (max-width: 743px) {
  .xp-post__body iframe, #article-view iframe {
    width: 100% !important;
    height: 56vw;
  }
}

[data-tistory-react-app="Namecard"] {
  display: none !important;
}

.xp-tool, .xp-burger, .xp-start, .xp-pages a { cursor: pointer; }
.xp-side { overflow-wrap: anywhere; }
.xp-file a { text-decoration: none; }

#menubar,
#menubar.menu_toolbar,
.menu_toolbar.toolbar_rb {
  display: none !important;
}
.container_postbtn > .btn_subscription,
.container_postbtn > button.btn_subscription {
  display: none !important;
}

.xp-post, .xp-main, .xp-work { max-width: 100%; }
.container_postbtn, .postbtn_like { max-width: 100%; overflow: hidden; }

::selection { background: #316ac5; color: #fff; }
.xp-post__body h5, .xp-post__body h6,
#article-view h5, #article-view h6 { margin: 1.1em 0 0.4em; color: #333; }
.xp-post__body strong, #article-view strong { font-weight: 700; }
.xp-post__body em, #article-view em { font-style: italic; }
.xp-post__body s, .xp-post__body del, #article-view s, #article-view del { color: #666; }
.xp-post__body mark, #article-view mark { background: #fff3a3; padding: 0 2px; }
.xp-post__body kbd, #article-view kbd {
  display: inline-block;
  padding: 0 5px;
  border: 1px solid var(--line);
  background: var(--face);
  font-size: 12px;
}
.xp-post__body sub, .xp-post__body sup,
#article-view sub, #article-view sup { font-size: 11px; }
.xp-post__body dl, #article-view dl { margin: 0 0 1em; }
.xp-post__body dt, #article-view dt { font-weight: 700; }
.xp-post__body dd, #article-view dd { margin: 0 0 0.6em 1.2em; }
.xp-post__body address, #article-view address { font-style: normal; color: #444; }

.contents_style img,
.tt_article_useless_p_margin img { height: auto; }
.xp-post__body img.alignLeft,
#article-view img.alignLeft { margin-left: 0; margin-right: 12px; float: left; }
.xp-post__body img.alignRight,
#article-view img.alignRight { margin-right: 0; margin-left: 12px; float: right; }
.xp-post__body img.alignCenter,
#article-view img.alignCenter { float: none; margin-left: auto; margin-right: auto; }
.xp-post__body .cap1, #article-view .cap1,
.xp-post__body .imageblock p, #article-view .imageblock p {
  margin-top: 4px;
  color: #666;
  font-size: 12px;
  text-align: center;
}
.xp-post__body .imageblock, #article-view .imageblock { margin: 1em 0; }
.xp-post__body .txc-textbox, #article-view .txc-textbox {
  margin: 1em 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #f7f4ea;
}
.xp-post__body .moreless_fold,
#article-view .moreless_fold,
div[data-ke-type="moreLess"] {
  margin: 1em 0;
  padding: 8px;
  border: 1px solid var(--line);
  background: #f7f4ea;
}
.btn-toggle-moreless {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--btn-border);
  background: var(--btn-face);
  cursor: pointer;
}

.xp-post__body iframe[src*="youtube"],
#article-view iframe[src*="youtube"],
.xp-post__body iframe[src*="vimeo"],
#article-view iframe[src*="vimeo"] {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

.container_postbtn,
.area_sympathy,
.postbtn_like,
.wrap_btn {
  margin: 16px 0;
  padding: 0;
  border: 0 !important;
  border-top: 0 !important;
  box-shadow: none !important;
}
.container_postbtn,
.container_postbtn *,
.postbtn_like,
.postbtn_like *,
.area_sympathy {
  box-shadow: none !important;
}
.another_category {
  margin: 16px 0 !important;
  padding: 8px 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.another_category h4,
.another_category h3,
.another_category .tit,
.another_category caption {
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: none !important;
  box-shadow: none !important;
  font-size: 13px;
  font-weight: 700;
  color: #333;
}
.another_category table,
.another_category tbody,
.another_category tr,
.another_category td,
.another_category th {
  display: block !important;
  width: 100% !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
.another_category td { padding: 4px 0 !important; }
.another_category a { color: var(--link); border: 0 !important; }

#tt-body-tag .xp-lead,
#tt-body-search .xp-lead,
#tt-body-category .xp-lead { font-weight: 700; }
.xp-cloud a, .xp-cloud--page a {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 2px 8px;
  border: 1px solid var(--line);
  background: #f7f4ea;
  color: #222;
}
.xp-tags b { flex: 0 0 auto; padding-top: 4px; }

.xp-pages { align-items: center; }
.xp-pages a {
  min-width: 24px;
  text-align: center;
  border: 1px solid transparent;
  color: #222;
}
.xp-pages a:hover { border-color: var(--line); background: #f7f4ea; text-decoration: none; }
.xp-pages .selected,
.xp-pages a.selected,
.xp-pages strong {
  background: var(--blue);
  color: #fff !important;
  border-color: #163e9a;
}

#tt-body-guestbook .xp-cmt { margin-top: 12px; }
#tt-body-guestbook .xp-lead {
  margin: 0 0 12px;
  padding: 0;
  background: none;
  color: #333;
  font-weight: 700;
  font-size: 13px;
}

.xp-lock p { margin: 0; }
.xp-lock button { cursor: pointer; }

.xp-tree a:hover { text-decoration: none; background: rgba(255,255,255,.16); }
.xp-side .btn_subscription { margin-top: 4px; }
.xp-cal caption { color: #fff; }

.revenue_unit_wrap,
.adsbygoogle,
.kakao_ad_area { max-width: 100%; overflow: hidden; }

.xp-pages a:focus-visible,
.xp-pager a:focus-visible,
.tt-button-modify:focus-visible,
.tt-link-comment:focus-visible {
  outline: 2px solid #003c9a;
  outline-offset: 1px;
}

@media print {
  .xp-side, .xp-task, .xp-toolbar, .xp-menubar, .xp-btns,
  .xp-status, .xp-cmt, .container_postbtn, .xp-top { display: none !important; }
  .xp-desk { padding: 0; background: #fff; }
  .xp-win { border: 0; box-shadow: none; background: #fff; padding: 0; }
  .xp-work { display: block; }
  body { background: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
