@charset "utf-8";

@font-face {
  font-family: "Hakgyoansim Bareondotum";
  src: url("./images/HakgyoansimBareondotumR.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Hakgyoansim Bareondotum";
  src: url("./images/HakgyoansimBareondotumB.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

:root {
  --bg: #ffffff;
  --surface: #f6f6f6;
  --surface-strong: #eeeeee;
  --card-bg: #ffffff;
  --text: #111111;
  --muted: #666666;
  --soft: #8b8b8b;
  --line: #d9d9d9;
  --shadow: 0 14px 36px rgba(0, 0, 0, 0.04);
  --content-width: 600px;
  --article-width: 600px;
  --radius-lg: 0.9rem;
  --radius-md: 0.7rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hakgyoansim Bareondotum";
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: -0.02em;
  overflow-y: scroll;
}

body,
body *,
body *::before,
body *::after {
  font-family: "Hakgyoansim Bareondotum" !important;
}

a {
  color: inherit;
  text-decoration: none;
}

a[href]:hover,
a[href]:focus-visible,
button:not(:disabled):not([aria-disabled="true"]):hover,
button:not(:disabled):not([aria-disabled="true"]):focus-visible,
summary:hover,
summary:focus-visible,
input[type="submit"]:not(:disabled):hover,
input[type="submit"]:not(:disabled):focus-visible,
input[type="button"]:not(:disabled):hover,
input[type="button"]:not(:disabled):focus-visible {
  color: #000;
  text-decoration: underline;
  text-decoration-thickness: 0.075em;
  text-underline-offset: 0.12em;
}

.site-brand a,
.site-brand a:hover,
.site-brand a:focus-visible,
.site-brand a * {
  color: inherit !important;
  text-decoration: none !important;
}

.webzine .story-card-link:hover .story-excerpt,
.webzine .story-card-link:focus-visible .story-excerpt,
.home-note-item:hover .home-note-summary,
.home-note-item:focus-visible .home-note-summary,
.story-card-link:hover .story-excerpt,
.story-card-link:focus-visible .story-excerpt {
  color: inherit !important;
  text-decoration: none !important;
}

#tt-body-page blockquote {
  font-size: 0.86rem;
}

.another_category_color_gray,
.another_category_color_gray h4 {
  visibility: collapse;
}

.tt-btn_register[disabled],
.tt-btn_register[aria-disabled="true"] {
  color: var(--soft) !important;
  text-decoration: none !important;
  cursor: default !important;
}

.tt-btn_register[disabled]:hover,
.tt-btn_register[disabled]:focus-visible,
.tt-btn_register[aria-disabled="true"]:hover,
.tt-btn_register[aria-disabled="true"]:focus-visible {
  color: var(--soft) !important;
  text-decoration: none !important;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.meiskin2-shell {
  min-height: 100vh;
}

.site-header {
  padding: 5rem 0 3rem;
}

.site-header-inner,
.site-main,
.site-footer-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.site-header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px;
  gap: 1rem;
  align-items: start;
  align-items: center;
}

.site-brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
  align-items: center;
}

.site-brand-avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  background: var(--surface-strong);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  flex-shrink: 0;
}

.site-brand-copy {
  min-width: 0;
}

.site-brand-name {
  display: block;
  font-size: 0.82rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.site-brand-bio {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.74rem;
  line-height: 1.7;
  color: var(--text);
}

.site-header-panel {
  text-align: right;
}

.header-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  font-size: 0.72rem;
  line-height: 1.4;
  margin-bottom: 0.6rem;
}

.header-links-dot {
  color: var(--text);
}

.header-categories {
  position: relative;
  display: inline-block;
  font-size: 0.72rem;
  line-height: 1.8;
}

.header-categories::marker,
.header-categories summary::-webkit-details-marker {
  display: none;
}

.header-categories-label {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: inline-block;
}

.header-categories-panel {
  display: none;
  position: absolute;
  top: 0;
  left: calc(100% + 1rem);
  min-width: 10rem;
  padding-left: 0.25rem;
  z-index: 10;
  text-align: left;
}

.header-categories-panel ul {
  text-align: left;
}

.header-categories[open] .header-categories-panel {
  display: block;
}

.header-categories-panel,
.header-categories-panel * {
  white-space: normal;
}

.header-categories ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-categories li {
  margin: 0;
  padding: 0;
}

.header-categories a {
  display: block;
  color: var(--text);
}

.header-categories ul ul {
  margin-left: 1rem;
}

.site-main {
  padding-bottom: 4.5rem;
}

.editorial-section,
.article-view,
.protected-view {
  margin-bottom: 1rem;
}

.section-head {
  margin-bottom: 1.25rem;
}

.section-head h2,
.article-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.section-description {
  margin: 0.35rem 0 0;
  color: var(--soft);
  font-size: 0.74rem;
  line-height: 1.7;
}

.cover-stack {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.home-note-list,
.home-list-items {
  display: grid;
  gap: 0.3rem;
}

.tag-cloud {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.45rem 0.7rem;
}

.tag-cloud>* {
  flex: 0 0 auto;
}

.home-note-item {
  max-width: 48rem;
}

.home-note-title {
  display: block;
  font-size: 0.82rem;
  line-height: 1.4;
  font-weight: 700;
}

.home-note-summary {
  margin: 0.45rem 0 0;
  font-size: 0.60rem;
  line-height: 1.8;
  color: var(--text);
}

.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-gallery-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1.02;
  overflow: hidden;
  background: var(--surface);
}

.home-gallery-thumb,
.home-gallery-thumb-fallback,
.home-grid-thumb,
.home-grid-thumb-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-grid-list {
  display: grid;
  gap: 1.3rem;
}

.home-grid-thumb-wrap {
  position: relative;
  aspect-ratio: 1 / 1.05;
  background: var(--surface);
  overflow: hidden;
}

.home-gallery-thumb-fallback,
.home-grid-thumb-fallback {
  background: var(--surface-strong) url("./images/noimg.png") center / cover no-repeat;
}

.home-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.3rem 0;
}

.home-list-title {
  display: block;
  font-size: 0.8rem;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.home-list-date {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
  white-space: nowrap;
}

.archive-view .article-list {
  max-width: var(--article-width);
  margin-left: auto;
  margin-right: auto;
}

.article-list {
  display: grid;
  gap: 1.75rem;
}

.article-item {
  margin: 0;
}

.story-card-link {
  display: block;
}

.story-thumb-wrap {
  position: relative;
  background: var(--surface);
  overflow: hidden;
}

.story-thumb-fallback {
  position: absolute;
  inset: 0;
  background: var(--surface-strong) url("./images/noimg.png") center / cover no-repeat;
}

.story-thumb {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-body {
  min-width: 0;
}

.story-headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.story-title,
.cover-note-title,
.article-nav-link,
.tag-chip,
.pagination-link {
  font-weight: 700;
  letter-spacing: -0.03em;
}

.story-title,
.cover-note-title,
.home-list-title,
.article-nav-link {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.story-date {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
  white-space: nowrap;
}

.story-excerpt {
  overflow: hidden;
  margin: 0.6rem 0 0;
  font-size: 0.78rem;
  line-height: 1.72;
  color: var(--text);
}

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

.simple .article-list {
  gap: 0.3rem;
}

.simple .story-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.25rem 0;
}

.simple .article-thumb {
  display: none;
}

.simple .story-body {
  display: block;
  width: 100%;
}

.simple .story-excerpt {
  display: none;
}

.simple .story-headline {
  align-items: center;
}

.simple .story-title {
  font-size: 0.8rem;
  line-height: 1.6;
}

.webzine .article-list {
  gap: 1.3rem;
}

:is(.home-grid-item .story-card-link, .webzine .story-card-link) {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  width: 100%;
}

:is(.home-grid-item .story-card-link, .webzine) .article-thumb {
  height: 100%;
  aspect-ratio: 1 / 1;
}

:is(.home-grid-item .story-card-link, .webzine) .story-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 100%;
  padding: 0.35rem 0 0;
}

:is(.home-grid-item .story-card-link, .webzine, .gallery) .story-headline {
  margin-bottom: 0;
}

:is(.home-grid-item .story-card-link, .webzine) .story-title {
  font-size: 0.84rem;
  line-height: 1.5;
}

:is(.home-grid-item .story-card-link, .webzine) .story-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  line-height: 1.7;
}

.gallery .story-date,
.gallery .story-excerpt {
  display: none;
}

.gallery .article-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.gallery .article-thumb {
  aspect-ratio: 1 / 1.05;
}

.gallery .story-body {
  padding-top: 0.75rem;
}

.gallery .story-title {
  font-size: 0.82rem;
  line-height: 1.5;
}

.article-view {
  padding-top: 0.5rem;
}

.article-header,
.article-body-wrap,
.article-nav,
.editorial-comments,
.protected-view,
.notice-view .article-header,
.notice-view .article-body-wrap {
  max-width: var(--article-width);
  margin-left: auto;
}

.article-header {
  margin-bottom: 2rem;
}

.article-date-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
  margin-top: 0.35rem;
}

.article-admin-links {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.article-admin-link,
.article-admin-sep {
  color: var(--soft);
  font-size: 0.72rem;
  line-height: 1.5;
  font-weight: 400;
}

.article-hero {
  margin: 0 0 1.75rem;
  background: var(--surface);
  max-width: var(--article-width);
  margin-left: auto;
  margin-right: auto;
}

.article-hero-image {
  width: 100%;
  height: auto;
}

.article-body-wrap {
  font-size: 0.82rem;
  line-height: 1.75;
}

.editorial-article-content>*:first-child {
  margin-top: 0;
}

.editorial-article-content p {
  margin: 0 0 1.1rem;
}

.editorial-article-content h1,
.editorial-article-content h2,
.editorial-article-content h3,
.editorial-article-content h4 {
  margin: 2rem 0 0.75rem;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.editorial-article-content img {
  margin: 1.5rem 0;
}

.editorial-article-content a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.editorial-article-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.2rem;
  border-left: 2px solid var(--line);
  background: var(--surface);
}

.editorial-article-content pre {
  overflow-x: auto;
  background: var(--surface);
}

.editorial-article-content code {
  font-family: "Hakgyoansim Bareondotum";
  font-size: 0.92em;
}

.editorial-article-content :not(pre)>code {
  padding: 0.12rem 0.3rem;
  background: var(--surface);
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0;
  font-size: 0.8rem;
  line-height: 1.4;
}

.article-post-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  width: 100%;
}

.article-action-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.article-action-link,
.article-nav-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--soft);
  font-weight: 400;
}

.article-action-link {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.article-comments-link {
  color: var(--soft);
}

.container_postbtn {
  display: none !important;
}

.article-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0;
}

.article-nav-link {
  width: auto;
}

.editorial-comments {
  margin-top: 3.25rem;
}

.editorial-comments[hidden] {
  display: none;
}

.guestbook-view .tt-comment-cont,
.editorial-comments .tt-comment-cont {
  display: flex;
  flex-direction: column;
}

.guestbook-view .tt-comment-cont>form {
  order: -1;
}

.editorial-comments .tt-thumbnail,
.guestbook-view .tt-thumbnail {
  display: none !important;
}

.editorial-comments .tt-box-thumb,
.guestbook-view .tt-box-thumb {
  display: none !important;
}

.rp-form {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.guestbook-view .rp-form {
  order: -1;
  margin-top: 0;
  margin-bottom: 1.5rem;
  padding-top: 0;
  padding-bottom: 1.5rem;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.tt_box_cheers {
  display: none !important;
}

.tt-box-total,
.tt_box_total,
.tt_box_cheers .tt_desc_cheers,
.tt_box_cheers .tt_btn_cheers,
.tt_box_cheers .tt_guide_cheers {
  display: none;
}

.tt-area-write,
.tt-box-write {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.tt_wrap_write {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.tt-area-write .tt-box-account {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.tt-box-textarea .tt-inner-g,
.protected-input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  outline: none;
}

.tt-account-field {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  min-width: 0;
}

.tt-account-field>input {
  width: 100%;
  padding: 0.65rem 0 0.45rem;
  border: 0 !important;
  background: transparent !important;
  color: var(--text);
  outline: none;
  box-shadow: none !important;
  font-size: 0.82rem;
  line-height: 1.6;
}

.tt-account-field>input:focus {
  outline: none;
}

.tt-account-line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--line);
  flex: 0 0 auto;
}

.tt-account-field>input:focus+.tt-account-line {
  background: var(--text);
}

.tt-box-textarea .tt-inner-g {
  min-height: 9.5rem;
  padding: 0.9rem 1rem;
  font-size: 0.8rem;
  line-height: 1.8;
}

.tt-box-textarea .tt-cmt[contenteditable="true"]:empty::before {
  content: "내용을 남겨 주세요.";
  color: var(--soft);
}

.tt-box-textarea .tt-cmt[contenteditable="true"],
.editorial-comments .tt-cmt[contenteditable="true"],
.guestbook-view .tt-cmt[contenteditable="true"] {
  font-size: 0.8rem !important;
  line-height: 1.8 !important;
}

.tt-box-textarea .tt-inner-g .tt-cmt[contenteditable="true"],
.editorial-comments .tt-box-textarea .tt-cmt[contenteditable="true"],
.guestbook-view .tt-box-textarea .tt-cmt[contenteditable="true"] {
  font-size: 0.8rem !important;
  line-height: 1.8 !important;
}

.article-hero:has(.article-hero-image[src=""]),
.article-hero:has(.article-hero-image:not([src])) {
  display: none !important;
}

.article-hero-image[src=""],
.article-hero:has(> img[src=""]) {
  display: none !important;
}

.editorial-comments input[type="checkbox"],
.guestbook-view input[type="checkbox"] {
  appearance: checkbox !important;
  -webkit-appearance: checkbox !important;
  display: inline-block !important;
  opacity: 1 !important;
  width: 0.85rem !important;
  height: 0.85rem !important;
  accent-color: var(--soft);
  margin: 0;
  flex: 0 0 auto;
}

.editorial-comments .tt-box-textarea,
.guestbook-view .tt-box-textarea {
  margin: 0 !important;
  padding: 0 !important;
}

.editorial-comments .tt-box-textarea .tt-cmt,
.guestbook-view .tt-box-textarea .tt-cmt,
.editorial-comments .tt-box-textarea .tt-inner-g,
.guestbook-view .tt-box-textarea .tt-inner-g {
  margin: 0 !important;
}

.editorial-comments .tt-box-write .tt-xe-label,
.guestbook-view .tt-box-write .tt-xe-label,
.editorial-comments .secret-btn,
.guestbook-view .secret-btn {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 0.35rem !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 auto !important;
  position: static !important;
  float: none !important;
  min-width: 0 !important;
  font-size: 0.72rem !important;
  line-height: 1.4 !important;
  color: var(--soft) !important;
  white-space: nowrap !important;
}

.editorial-comments .tt-xe-label-text,
.guestbook-view .tt-xe-label-text {
  display: inline-block !important;
  font-size: 0.72rem !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  white-space: nowrap !important;
}

.editorial-comments .tt-box-write .tt-xe-label>input,
.guestbook-view .tt-box-write .tt-xe-label>input {
  position: static !important;
  margin: 0 !important;
}

.editorial-comments .tt-xe-input-helper,
.guestbook-view .tt-xe-input-helper,
.editorial-comments .secret-btn .secret-icon,
.guestbook-view .secret-btn .secret-icon,
.editorial-comments .tt-box-write .tt_img_area_reply,
.guestbook-view .tt-box-write .tt_img_area_reply,
.editorial-comments .tt_ico_lock,
.guestbook-view .tt_ico_lock {
  display: none !important;
}

.protected-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--soft) !important;
}

.tt-btn_register {
  display: inline-flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  width: auto !important;
  margin: 0 !important;
  margin-left: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--soft) !important;
}

.tt-btn_register {
  font-size: 0.72rem;
  line-height: 1.4;
}

.editorial-comments button,
.guestbook-view button {
  background: transparent;
  color: var(--soft);
  border: 0 !important;
  box-shadow: none;
  padding: 0;
}

.editorial-comments .tt-area-write .tt-box-account input,
.guestbook-view .tt-area-write .tt-box-account input {
  background: transparent;
  border: 0 !important;
  padding: 0;
  font-size: 0.82rem;
  box-shadow: none;
}

.editorial-comments .tt-account-field>input,
.guestbook-view .tt-account-field>input {
  padding: 0.55rem 0 0.45rem;
}

.editorial-comments .tt-account-line,
.guestbook-view .tt-account-line {
  height: 1px;
  background: var(--line);
}

.editorial-comments .tt-account-field>input:focus+.tt-account-line,
.guestbook-view .tt-account-field>input:focus+.tt-account-line {
  background: var(--text);
}

.guestbook-view .tt-box-textarea .tt-inner-g {
  min-height: 7.8rem;
}

.editorial-comments .tt-box-write,
.guestbook-view .tt-box-write {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  width: 100% !important;
  margin-top: 0 !important;
}

.editorial-comments .tt-box-write .tt-xe-label,
.guestbook-view .tt-box-write .tt-xe-label {
  margin: 0 !important;
  width: auto !important;
  min-height: 1.25rem;
  justify-content: flex-start !important;
}

.editorial-comments .tt-box-write .tt-btn_register,
.guestbook-view .tt-box-write .tt-btn_register {
  align-self: auto;
  margin-left: 0 !important;
  flex: 0 0 auto !important;
}

.guestbook-view .tt-box-write>div[style*="margin-left: auto"][style*="align-items: center"] {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  justify-content: space-between;
  gap: 0.3rem;
}

.editorial-comments .tt-box-textarea .tt-inner-g,
.guestbook-view .tt-box-textarea .tt-inner-g {
  min-height: 9.5rem;
  padding: 0.9rem 1rem;
  font-size: 0.8rem;
  line-height: 1.8;
  background: transparent;
}

.protected-view {
  padding-top: 0.5rem;
}

.protected-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  width: min(100%, 12rem);
  margin: 0 auto;
}

.protected-input {
  width: 100%;
  padding: 0.55rem 0;
  border-width: 0 0 1px;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.6;
}

.protected-submit {
  min-width: 4.5rem;
  padding: 0;
  font-size: 0.72rem;
  line-height: 1.4;
}

.tt-list-reply,
.tt-list-reply-comment {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tt-item-reply>.tt-wrap-cmt {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 0;
}

.tt-list-reply-comment .tt-item-reply>.tt-wrap-cmt {
  margin-left: 2rem;
  padding-left: 1rem;
  border-left: 0;
}

.tt-thumbnail {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
}

.tt-wrap-cmt .tt-box-content {
  flex: 1 1 auto;
  min-width: 0;
}

.tt-wrap-cmt .tt-link-user,
.tt-wrap-cmt .tt_date,
.tt-link-comment,
.tt-wrap-cmt .tt_desc,
.tt-txt-mention,
.tt-button-modify,
.tt-list-modify a,
.tt-btn-cancel {
  margin: 0;
  color: inherit;
  text-decoration: none;
}

.tt-btn-cancel {
  display: none !important;
}

.tt-wrap-cmt .tt-link-user {
  font-size: 0.82rem;
  line-height: 1.4;
  font-weight: 700;
}

.tt-wrap-info,
.tt-wrap-cmt .tt-box-meta {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  color: var(--soft);
  width: 100%;
}

.tt-wrap-cmt .tt_date,
.tt-link-comment,
.tt-link-comment .tt_num_g {
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--soft);
}

.tt-wrap-cmt .tt_desc {
  font-size: 0.82rem;
  line-height: 1.8;
}

.tt-wrap-cmt .tt-wrap-link-comment {
  margin-top: 0;
}

.tt-wrap-cmt .tt-wrap-link-comment,
.tt-wrap-cmt .tt-link-comment,
.tt-wrap-cmt .tt_date {
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

.tt-wrap-cmt .tt-list-modify {
  position: static;
  display: inline-flex !important;
  align-items: center;
  flex-wrap: nowrap !important;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  justify-content: flex-end;
}

.tt-wrap-info>.tt-list-modify {
  display: inline-flex !important;
  align-items: center;
  flex-wrap: nowrap !important;
  justify-content: flex-end !important;
  width: auto !important;
  gap: 0.35rem;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.tt-wrap-info>.tt-box-modify {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  justify-content: flex-end !important;
  gap: 0.35rem !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--soft);
  white-space: nowrap;
}

.tt-wrap-cmt .tt-list-modify li:first-child,
.tt-wrap-cmt .tt-list-modify li:last-child {
  display: none !important;
}

.guestbook-view .tt-wrap-cmt .tt-list-modify li:first-child,
.guestbook-view .tt-wrap-cmt .tt-list-modify li:last-child {
  display: list-item !important;
}

.guestbook-view .tt-wrap-cmt .tt-list-modify li:nth-child(n + 3) {
  display: none !important;
}

.tt-wrap-cmt .tt-list-modify a {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  padding: 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--soft);
}

.tt-wrap-cmt .tt-box-modify>.tt-button-modify {
  display: none !important;
}

:is(.editorial-comments, .guestbook-view) .tt-item-reply>.tt-wrap-cmt {
  padding: 0.85rem 0 0.85rem 0;
  border-bottom: 0;
}

:is(.editorial-comments, .guestbook-view) .tt-list-reply-comment .tt-item-reply>.tt-wrap-cmt {
  margin-left: 2rem;
  padding: 0.6rem 0 0.6rem 0;
  width: calc(100% - 2rem);
  border-bottom: 0;
  border-left: 0;
}

:is(.editorial-comments, .guestbook-view) .tt-list-reply>.tt-item-reply+.tt-item-reply>.tt-wrap-cmt,
:is(.editorial-comments, .guestbook-view) .tt-list-reply>.tt-item-reply+.tt-item-reply>.tt_cmt_info,
:is(.editorial-comments, .guestbook-view) .tt-list-reply-comment .tt-item-reply>.tt-wrap-cmt,
:is(.editorial-comments, .guestbook-view) .tt-item-reply>.tt-wrap-cmt {
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
}

.editorial-comments .rp-form,
.guestbook-view .rp-form {
  border-top: 0;
}

.guestbook-view .rp-form {
  border-bottom: 0;
}

:is(.editorial-comments, .guestbook-view) .tt-item-reply>.tt-wrap-cmt,
:is(.editorial-comments, .guestbook-view) .tt-list-reply-comment .tt-item-reply>.tt-wrap-cmt {
  padding-bottom: 0;
}

:is(.editorial-comments, .guestbook-view) .tt-wrap-cmt .tt-wrap-info {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  margin-bottom: 0.15rem;
}

:is(.editorial-comments, .guestbook-view) .tt-wrap-cmt .tt-wrap-link-comment {
  margin-top: 0;
}

.editorial-comments .tt-btn_register,
.guestbook-view .tt-btn_register {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: auto !important;
  margin: 0 !important;
  margin-left: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--soft) !important;
  font-size: 0.72rem !important;
  line-height: 1.4 !important;
}

:is(.editorial-comments, .guestbook-view) .tt-wrap-cmt .tt-thumbnail {
  display: none !important;
}

:is(.editorial-comments, .guestbook-view) .tt-wrap-cmt .tt-wrap-info,
:is(.editorial-comments, .guestbook-view) .tt-wrap-cmt .tt-box-meta {
  gap: 0.45rem;
  margin-bottom: 0.3rem;
}

:is(.editorial-comments, .guestbook-view) .tt-wrap-cmt .tt-box-modify>.tt-button-modify {
  display: none !important;
}

:is(.editorial-comments, .guestbook-view) .tt-wrap-cmt .tt-link-user {
  font-size: 0.82rem;
  line-height: 1.4;
  font-weight: 700;
}

:is(.editorial-comments, .guestbook-view) .tt-wrap-cmt .tt_desc {
  font-size: 0.82rem;
  line-height: 1.8;
}

:is(.editorial-comments, .guestbook-view) .tt-wrap-cmt .tt_date,
:is(.editorial-comments, .guestbook-view) .tt-link-comment,
:is(.editorial-comments, .guestbook-view) .tt-link-comment .tt_num_g {
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--soft);
}

.tt-link-comment .tt_txt_g {
  font-size: 0.72rem;
}

:is(.editorial-comments, .guestbook-view) .tt-box-modify button,
:is(.editorial-comments, .guestbook-view) .tt-list-modify a {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

:is(.editorial-comments, .guestbook-view) .tt-wrap-info {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-start;
  margin-bottom: 0.15rem;
  gap: 0.35rem;
  white-space: nowrap;
  width: 100%;
}

:is(.editorial-comments, .guestbook-view) .tt-wrap-info>.tt-list-modify {
  justify-content: flex-end !important;
  width: auto !important;
  margin: 0 !important;
}

:is(.editorial-comments, .guestbook-view) .tt-wrap-info>.tt-box-modify,
.guestbook-view .guestbook-card .tt-box-modify {
  justify-content: flex-end !important;
  width: auto !important;
  margin-left: auto !important;
}

:is(.editorial-comments, .guestbook-view) .tt-wrap-cmt .tt_date,
:is(.editorial-comments, .guestbook-view) .tt-link-comment {
  line-height: 1;
}

.guestbook-view .guestbook-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  width: 100%;
  max-width: 100%;
}

.guestbook-view .guestbook-card-head,
.editorial-comments .guestbook-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 0;
  width: 100%;
}

.guestbook-view .guestbook-card-title,
.editorial-comments .guestbook-card-title {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.guestbook-view .guestbook-card .tt-link-user,
.editorial-comments .guestbook-card .tt-link-user {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  font-weight: 700;
  color: var(--text) !important;
}

.guestbook-view .guestbook-card-body,
.editorial-comments .guestbook-card-body {
  width: 100%;
  min-width: 0;
}

.guestbook-view .guestbook-card-body .tt_desc,
.editorial-comments .guestbook-card-body .tt_desc {
  display: block;
  max-width: none;
  padding: 0;
  border-radius: 0;
  background: none;
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--text);
  word-break: break-word;
}

.guestbook-view .guestbook-card-foot,
.editorial-comments .guestbook-card-foot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  width: 100%;
}

.guestbook-view .guestbook-card-tools,
.editorial-comments .guestbook-card-tools {
  position: static;
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  min-width: 0;
  gap: 0.35rem;
  opacity: 1;
  visibility: visible;
  transition: none;
}

.guestbook-view .guestbook-card .tt-box-modify,
.editorial-comments .guestbook-card .tt-box-modify {
  position: static;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
  gap: 0.35rem !important;
  width: auto !important;
  max-width: 100%;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--soft);
  white-space: nowrap;
}

.guestbook-view .guestbook-card .tt-box-modify>.tt-button-modify,
.editorial-comments .guestbook-card .tt-box-modify>.tt-button-modify {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  opacity: 0.4;
}

.guestbook-view .guestbook-card .tt-box-modify.tt-box-modify-open .tt-button-modify,
.guestbook-view .guestbook-card .tt-button-modify:hover,
.editorial-comments .guestbook-card .tt-box-modify.tt-box-modify-open .tt-button-modify,
.editorial-comments .guestbook-card .tt-button-modify:hover {
  opacity: 0.75;
  background: transparent;
}

.guestbook-view .guestbook-card .tt-list-modify,
.editorial-comments .guestbook-card .tt-list-modify {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-end !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100%;
  flex: 0 1 auto;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  text-align: right;
  white-space: nowrap;
}

.guestbook-view .guestbook-card .tt-list-modify li:not(:last-child),
.editorial-comments .guestbook-card .tt-list-modify li:not(:last-child) {
  border-bottom: 0;
  margin-right: 0;
}

.guestbook-view .guestbook-card .tt-list-modify a,
.editorial-comments .guestbook-card .tt-list-modify a {
  min-width: 0;
  justify-content: center;
  padding: 0;
  background: transparent;
  font-size: 0.72rem;
  line-height: 1.4;
}

.guestbook-view .guestbook-card .tt-list-modify li,
.editorial-comments .guestbook-card .tt-list-modify li {
  margin: 0;
  padding: 0;
}

.guestbook-view .guestbook-card .tt-list-modify li:last-child,
.guestbook-view .guestbook-card .tt-list-modify a:last-child,
.editorial-comments .guestbook-card .tt-list-modify li:last-child,
.editorial-comments .guestbook-card .tt-list-modify a:last-child {
  margin-right: 0 !important;
  padding-right: 0 !important;
}

.guestbook-view .guestbook-card .tt-list-modify a:hover,
.editorial-comments .guestbook-card .tt-list-modify a:hover {
  background: transparent;
  color: var(--text);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 0 1.5rem 3rem;
}

.pagination-link {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.72rem;
  line-height: 1.4;
  font-weight: 400;
  color: var(--soft);
}

.no-more-prev,
.no-more-next {
  opacity: 0.35;
  pointer-events: none;
}

.site-footer {
  padding-bottom: 1rem;
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  padding-bottom: 1rem;
  color: var(--soft);
  font-size: 0.72rem;
  line-height: 1.5;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--surface);
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #cfcfcf;
}

::selection {
  background: var(--text);
  color: #fff;
}

@media (max-width: 760px) {
  .site-header-inner {
    grid-template-columns: minmax(0, 1fr) 80px;
    align-items: start;
  }

  .site-brand {
    align-items: center;
  }

  .home-gallery-grid,
  .gallery .article-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-categories-panel {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    margin-top: 0.5rem;
    padding-left: 0;
    text-align: right;
  }

  .header-categories ul ul {
    margin-left: 0.85rem;
  }

  .header-categories[open] .header-categories-panel {
    display: block;
  }

  .header-categories-panel ul {
    display: inline-block;
    text-align: right;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-top: 2rem;
  }

  .site-brand {
    gap: 0.75rem;
  }

  .site-brand-avatar {
    width: 2.8rem;
    height: 2.8rem;
  }

  .site-brand-name {
    font-size: 0.92rem;
  }

  .site-brand-bio {
    font-size: 0.74rem;
  }

  .home-list-date,
  .story-date,
  .article-date-row {
    font-size: 0.72rem;
  }

  .simple .story-card-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .article-nav {
    gap: 1.25rem;
  }

  .tt-list-reply-comment .tt-item-reply>.tt-wrap-cmt {
    margin-left: 1rem;
    width: calc(100% - 1rem);
  }

  .header-categories-panel {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 0.5rem;
    padding-left: 0;
    text-align: right;
  }
}

@media (max-width: 520px) {

  .editorial-comments .tt-box-write,
  .guestbook-view .tt-box-write {
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 0.75rem !important;
  }

  .editorial-comments .tt-box-write .tt-btn_register,
  .guestbook-view .tt-box-write .tt-btn_register {
    margin-left: auto !important;
  }

  .tt-area-write .tt-box-account {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}
