:root {
  color-scheme: dark;
  --bg: #060816;
  --bg-soft: #0b1020;
  --bg-elevated: rgba(14, 20, 38, 0.82);
  --bg-strong: #11182a;
  --line: rgba(196, 205, 223, 0.14);
  --line-strong: rgba(196, 205, 223, 0.26);
  --text: #edf2ff;
  --text-soft: #c1cbdf;
  --text-muted: #8c97ae;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: min(1240px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

::selection {
  color: #04131c;
  background: rgba(125, 211, 252, 0.82);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 14% 12%, rgba(125, 211, 252, 0.1), transparent 0 22%),
    radial-gradient(circle at 86% 10%, rgba(167, 139, 250, 0.1), transparent 0 20%),
    radial-gradient(circle at 50% 46%, rgba(125, 211, 252, 0.04), transparent 0 30%),
    linear-gradient(180deg, #050712 0%, #080b17 45%, #060816 100%);
  color: var(--text);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.main,
.layout,
.content-area,
.sidebar,
.article-view,
.article-body,
.article-cover,
.comments,
.guestbook,
.tag-cloud,
.related,
.article-neighbors,
.pagination-wrap,
.pagination,
.sidebar-card,
.post-grid,
.post-card,
.list-hero,
.empty-state,
.tt_box_namecard {
  min-width: 0;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 88%);
}

.page-noise::before,
.page-noise::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-noise::before {
  background:
    radial-gradient(circle at 18% 18%, rgba(125, 211, 252, 0.14), transparent 0 18%),
    radial-gradient(circle at 82% 16%, rgba(167, 139, 250, 0.12), transparent 0 16%),
    radial-gradient(circle at 48% 72%, rgba(125, 211, 252, 0.08), transparent 0 22%);
  filter: blur(48px);
  opacity: 0.9;
}

.page-noise::after {
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  opacity: 0.05;
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  display: none;
  height: 3px;
  background: rgba(255, 255, 255, 0.04);
}

#tt-body-page .reading-progress {
  display: block;
}

.reading-progress__bar {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 16px rgba(125, 211, 252, 0.36);
}

.intro-splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 42% 34%, rgba(125, 211, 252, 0.14), transparent 0 26%),
    radial-gradient(circle at 62% 42%, rgba(167, 139, 250, 0.12), transparent 0 24%),
    rgba(5, 7, 18, 0.92);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
}

.intro-splash.is-visible {
  display: grid;
  animation: splashIn 220ms ease both;
}

.intro-splash.is-leaving {
  animation: splashOut 360ms ease both;
}

.intro-splash__card {
  display: grid;
  gap: 12px;
  width: min(420px, 100%);
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(15, 20, 38, 0.9), rgba(10, 14, 28, 0.96));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.44);
  text-align: center;
}

.intro-splash__kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.intro-splash__title {
  color: var(--text);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.06em;
}

.intro-splash__summary {
  color: var(--text-soft);
  font-size: 1rem;
}

@keyframes splashIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes splashOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-splash.is-visible,
  .intro-splash.is-leaving {
    animation: none;
  }
}

.panel {
  position: relative;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(15, 20, 38, 0.9), rgba(10, 14, 28, 0.92));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 40%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: 18px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 12, 23, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.site-brand__mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 28px rgba(125, 211, 252, 0.5);
}

.site-brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-brand__text strong {
  font-size: 1rem;
  font-weight: 700;
}

.site-brand__text span {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.site-nav,
.site-nav__links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav ul,
.site-nav ol {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  color: var(--text-soft);
  transition: color 160ms ease, opacity 160ms ease;
}

.site-nav a::after,
.article-body a::after,
.tag-list a::after,
.tag-cloud__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  opacity: 0.55;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a:hover::after,
.article-body a:hover::after,
.tag-list a:hover::after,
.tag-cloud__list a:hover::after {
  transform: scaleX(1);
}

.main {
  padding: 28px 0 56px;
}

.sidebar-toggle {
  display: none;
  position: fixed;
  left: 18px;
  top: 132px;
  z-index: 35;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(8, 12, 23, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.sidebar-toggle:hover {
  border-color: rgba(125, 211, 252, 0.34);
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
}

.hero {
  margin-bottom: 24px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 10% 10%, rgba(125, 211, 252, 0.12), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(167, 139, 250, 0.16), transparent 20%),
    linear-gradient(180deg, rgba(18, 24, 42, 0.88), rgba(10, 14, 28, 0.92));
  box-shadow: var(--shadow);
}

.hero--conditional {
  display: none;
}

#tt-body-index .hero--conditional {
  display: block;
}

.hero__inner {
  max-width: 760px;
}

.hero__kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.2rem, 4.8vw, 4.25rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.hero__summary {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--text-soft);
  font-size: clamp(0.98rem, 1.7vw, 1.1rem);
  line-height: 1.8;
}

.hero__meta {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.hero__meta > span {
  display: none;
}

.hero__meta-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 999px;
  color: #d8e3f6;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  background:
    linear-gradient(180deg, rgba(125, 211, 252, 0.08), rgba(167, 139, 250, 0.05)),
    rgba(255, 255, 255, 0.02);
}

.layout {
  display: block;
}

.layout--has-sidebar {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.content-area {
  order: 2;
  min-width: 0;
}

.sidebar {
  order: 1;
  position: sticky;
  top: 112px;
  align-self: start;
  display: grid;
  gap: 18px;
  transition: transform 220ms ease, opacity 220ms ease;
  scrollbar-width: none;
  scrollbar-color: transparent transparent;
}

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

.sidebar::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 999px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 999px;
  border: 1px solid transparent;
}

.sidebar:hover {
  scrollbar-width: thin;
  scrollbar-color: rgba(196, 205, 223, 0.36) rgba(255, 255, 255, 0.04);
}

.sidebar:hover::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

.sidebar:hover::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(196, 205, 223, 0.48), rgba(140, 151, 174, 0.38));
  border-color: rgba(255, 255, 255, 0.05);
}

.sidebar:hover::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.72), rgba(167, 139, 250, 0.46));
}

.sidebar-card,
.list-hero,
.empty-state,
.article-head,
.article-cover,
.article-body,
.article-tags,
.related,
.article-neighbors,
.comments,
.guestbook,
.tag-cloud,
.pagination {
  padding: 24px;
}

.article-head {
  padding: 28px 24px 26px;
}

.sidebar-card {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.sidebar-card:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 211, 252, 0.24);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.skin-midnight-ledger .post-card,
.skin-midnight-ledger .sidebar-card,
.skin-midnight-ledger .list-hero,
.skin-midnight-ledger .article-head,
.skin-midnight-ledger .article-body {
  opacity: 0;
  transform: translateY(8px);
}

.skin-midnight-ledger .post-card.is-ready,
.skin-midnight-ledger .sidebar-card.is-ready,
.skin-midnight-ledger .list-hero.is-ready,
.skin-midnight-ledger .article-head.is-ready,
.skin-midnight-ledger .article-body.is-ready {
  animation: cardIn 360ms ease both;
  animation-delay: calc(var(--card-index, 0) * 32ms);
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sidebar-card h2,
.sidebar-card p,
.section-head h2,
.section-head h3 {
  margin-top: 0;
}

.search-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.search-box input,
.search-box button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.search-box input {
  padding: 0 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.search-box button,
.ghost-link {
  color: var(--text);
  background: rgba(13, 19, 33, 0.92);
  border: 1px solid rgba(125, 211, 252, 0.24);
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.search-box button {
  padding: 0 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.search-box button:hover {
  border-color: rgba(125, 211, 252, 0.42);
  background: rgba(17, 24, 41, 0.98);
  transform: translateY(-1px);
}

.ghost-link {
  padding: 0;
  color: var(--accent);
  background: none;
  border: 0;
}

.category-list ul,
.recent-posts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-list .tt_category,
.category-list .tt_category ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-list li,
.recent-posts li {
  border-top: 1px solid var(--line);
}

.category-list li:first-child,
.recent-posts li:first-child {
  border-top: 0;
}

.category-list a,
.recent-posts a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  color: var(--text-soft);
}

.category-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: 10px;
  row-gap: 0;
  position: relative;
  padding: 13px 0 13px 24px;
}

.category-list .tt_category > li > a {
  font-weight: 600;
}

.category-list .tt_category > li > ul.category_list {
  position: relative;
  margin: 4px 0 8px 18px;
  padding-left: 12px;
}

.category-list .tt_category > li > ul.category_list::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(125, 211, 252, 0.14);
}

.category-list .tt_category ul.category_list ul.category_list,
.category-list .tt_category ul.category_list ul.sub_category_list {
  position: relative;
  margin: 4px 0 6px 12px;
  padding-left: 12px;
}

.category-list .tt_category ul.category_list ul.category_list::before,
.category-list .tt_category ul.category_list ul.sub_category_list::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(125, 211, 252, 0.1);
}

.category-list li.has-submenu {
  position: relative;
}

.category-list li.has-submenu > a {
  padding-right: 44px;
}

.category-list .sub_category_list[hidden] {
  display: none !important;
}

.category-toggle {
  position: absolute;
  top: 8px;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, color 160ms ease;
}

.category-toggle:hover {
  color: var(--text);
  border-color: rgba(125, 211, 252, 0.22);
  background: rgba(125, 211, 252, 0.06);
}

.category-toggle span {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 160ms ease;
}

.category-list li.has-submenu.is-expanded > .category-toggle span {
  transform: rotate(225deg) translateY(-1px);
}

.category-list .tt_category ul li a {
  padding-left: 34px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.category-list .tt_category ul li a::before {
  content: none;
  position: absolute;
  left: 16px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(125, 211, 252, 0.68);
  box-shadow: 0 0 0 5px rgba(125, 211, 252, 0.08);
  transform: translateY(-50%);
}

.category-list .tt_category ul.category_list ul.category_list li a,
.category-list .tt_category ul.category_list ul.sub_category_list li a,
.category-list .link_sub_item {
  padding-left: 42px;
  color: rgba(193, 203, 223, 0.82);
  font-size: 0.92rem;
}

.category-list .tt_category ul.category_list ul.category_list li a::before,
.category-list .tt_category ul.category_list ul.sub_category_list li a::before,
.category-list .link_sub_item::before {
  content: none;
  left: 24px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.72);
  box-shadow: 0 0 0 5px rgba(167, 139, 250, 0.08);
}

.category-list .tt_category ul li a:hover {
  color: var(--text-soft);
}

.category-list a.is-active,
.category-list li.selected > a,
.category-list li.selected > .link_sub_item {
  color: var(--text) !important;
  font-weight: 700 !important;
  padding-right: 10px;
  border-radius: 12px;
  background: rgba(125, 211, 252, 0.08);
}

.category-list a.is-parent-active {
  color: var(--text-soft);
  font-weight: 600;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.category-list a.is-parent-active .c_cnt {
  color: var(--text-soft);
}

.category-list a.is-active .c_cnt,
.category-list li.selected > a .c_cnt,
.category-list li.selected > .link_sub_item .c_cnt {
  color: var(--text) !important;
  font-weight: 700;
}

.category-list a.is-active::before,
.category-list li.selected > a::before,
.category-list li.selected > .link_sub_item::before {
  content: none;
}

.category-list .tt_category ul.category_list ul.category_list li.selected > a::before,
.category-list .tt_category ul.category_list ul.sub_category_list li.selected > a::before,
.category-list .link_sub_item.is-active::before,
.category-list li.selected > .link_sub_item::before {
  content: none;
}

.category-active-dot {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(125, 211, 252, 0.1);
  transform: translateY(-50%);
  pointer-events: none;
}

.category-list .link_sub_item > .category-active-dot,
.category-list .tt_category ul.category_list ul.category_list li > a > .category-active-dot,
.category-list .tt_category ul.category_list ul.sub_category_list li > a > .category-active-dot {
  left: 24px;
  background: rgba(167, 139, 250, 0.92);
  box-shadow: 0 0 0 6px rgba(167, 139, 250, 0.1);
}

.category-list .link_tit,
.category-list .link_item {
  width: 100%;
}

.category-list .c_cnt {
  min-width: 28px;
  text-align: right;
  color: var(--text-muted);
  font-weight: 600;
}

.category-list img {
  display: inline-block;
  width: 14px;
  height: 14px;
  padding-left: 0 !important;
  vertical-align: middle;
}

.new-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.14);
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.category-list img[alt="N"],
.recent-posts img[alt="N"],
.post-card img[alt="N"],
.article-head img[alt="N"],
.list-hero img[alt="N"],
.related-card img[alt="N"] {
  display: none !important;
}

.recent-posts strong,
.recent-posts span {
  display: block;
}

.visit-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.visit-stat {
  display: grid;
  gap: 4px;
  padding: 8px 10px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.visit-stat__label {
  color: var(--text-muted);
  min-width: 0;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
}

.visit-stat__value {
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

@media (max-width: 1100px) {
  .visit-stats {
    grid-template-columns: 1fr;
  }
}

.recent-posts span {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.list-hero,
.empty-state {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.list-hero__content h2,
.empty-state h3 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.list-hero__content p,
.empty-state p {
  margin: 0;
  color: var(--text-soft);
}

.list-hero__meta {
  flex: 0 0 auto;
  text-align: right;
}

.list-hero__meta strong {
  display: block;
  font-size: 2.5rem;
  line-height: 1;
}

.list-hero__meta span {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
}

.post-grid {
  display: grid;
  gap: 22px;
  align-items: stretch;
}

#tt-body-index .post-grid,
.post-grid--list.grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

#tt-body-index .content-area .post-grid,
#tt-body-category .content-area .post-grid--list.grid,
#tt-body-archive .content-area .post-grid--list.grid,
#tt-body-search .content-area .post-grid--list.grid,
#tt-body-tag .content-area .post-grid--list.grid {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
}

.post-grid--list.editorial {
  grid-template-columns: 1fr;
}

.post-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(16, 22, 38, 0.96), rgba(10, 14, 28, 0.96));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 211, 252, 0.34);
  box-shadow: 0 20px 54px rgba(3, 8, 18, 0.54);
}

.post-card__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-width: 100%;
}

.post-card__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.1), rgba(167, 139, 250, 0.1));
}

.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 260ms ease, filter 260ms ease;
}

.post-card:hover .post-card__thumb img {
  transform: scale(1.05);
  filter: saturate(1.06);
}

.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 18px 18px 16px;
}

.post-card__meta,
.post-card__footer,
.article-head__meta,
.section-head,
.neighbor-card__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.post-card__meta,
.post-card__footer,
.article-head__meta {
  color: var(--text-muted);
  margin-top: 18px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.post-card__category,
.article-head__meta a {
  color: var(--accent);
  font-weight: 700;
}

.post-card h2,
.post-card h3 {
  margin: 10px 0 8px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.04em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card h2 {
  min-height: calc(1.15em * 2);
}

.post-card h3 {
  min-height: calc(1.15em * 2);
}

.post-card h2 img,
.post-card h3 img {
  display: none !important;
}

.post-card h2 {
  font-size: 1.68rem;
  -webkit-line-clamp: 2;
}

.post-card h3 {
  font-size: 1.22rem;
  -webkit-line-clamp: 2;
}

.post-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.58;
  display: none;
}

.post-card__footer {
  margin-top: 18px;
  font-size: 0.76rem;
}

.article-view {
  position: relative;
  display: grid;
  gap: 24px;
}

.article-hero-media {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  min-height: clamp(320px, 40vw, 520px);
  padding: 48px 32px;
  margin-bottom: 0;
}

.article-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 8, 18, 0.42), rgba(5, 8, 18, 0.58) 45%, rgba(5, 8, 18, 0.82) 100%),
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.12), transparent 28%);
}

.article-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.96) brightness(0.68);
}

.article-body .hero-source-hidden,
.article-body .hero-source-hidden + p:empty {
  display: none !important;
}

.article-toc {
  display: none;
}

@media (min-width: 1680px) {
  #tt-body-page .article-toc {
    position: fixed;
    top: 140px;
    right: max(28px, calc((100vw - 1240px) / 2 - 250px));
    z-index: 20;
    display: block;
    width: 210px;
    max-height: calc(100vh - 180px);
    overflow: auto;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(10, 14, 28, 0.72);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  }

  .article-toc:empty {
    display: none;
  }

  .article-toc__title {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .article-toc__nav {
    display: grid;
    gap: 4px;
  }

  .article-toc__link {
    display: block;
    padding: 7px 0 7px 10px;
    border-left: 1px solid rgba(196, 205, 223, 0.18);
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.35;
    transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
  }

  .article-toc__link:hover,
  .article-toc__link.is-active {
    color: var(--text);
    border-color: var(--accent);
    transform: translateX(2px);
  }

  .article-toc__link--h3 {
    padding-left: 18px;
    font-size: 0.78rem;
  }
}

.article-head h1 {
  margin: 0;
  max-width: none;
  width: 100%;
  font-size: clamp(2rem, 4.1vw, 3.3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
  word-break: keep-all;
  text-wrap: pretty;
}

.article-cover {
  overflow: hidden;
}

.article-cover img {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 6px);
}

.article-body {
  font-size: 1.16rem;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: -0.01em;
  word-break: keep-all;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4 {
  margin-top: 1.8em;
  margin-bottom: 0.6em;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  scroll-margin-top: 128px;
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body blockquote,
.article-body pre,
.article-body table {
  margin: 1.15em 0;
}

.article-body p + p {
  margin-top: 1.35em;
}

.article-body li {
  margin: 0.45em 0;
}

.article-body strong,
.article-body b {
  font-weight: 700;
}

.article-body blockquote {
  position: relative;
  margin-left: 0;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.article-body blockquote p,
.article-body blockquote li,
.article-body blockquote strong,
.article-body blockquote em,
.article-body blockquote span,
.article-body blockquote a {
  color: inherit !important;
}

.article-body blockquote[data-ke-style],
.article-body blockquote[data-ke-style="style1"],
.article-body blockquote[data-ke-style="style2"],
.article-body blockquote[data-ke-style="style3"],
.article-body blockquote[data-ke-style="style4"] {
  color: var(--text) !important;
  opacity: 1 !important;
  padding: 30px 28px 26px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-left-width: 1px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(125, 211, 252, 0.05), rgba(167, 139, 250, 0.02)),
    rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 16px 34px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.article-body blockquote[data-ke-style]::before {
  content: "\201C";
  display: block;
  margin-bottom: 10px;
  color: rgba(237, 242, 255, 0.82);
  font-size: 4.2rem;
  line-height: 0.72;
  font-weight: 800;
}

.article-body blockquote[data-ke-style] p,
.article-body blockquote[data-ke-style] li,
.article-body blockquote[data-ke-style] strong,
.article-body blockquote[data-ke-style] em,
.article-body blockquote[data-ke-style] span,
.article-body blockquote[data-ke-style] br {
  color: var(--text) !important;
  opacity: 1 !important;
}

.article-body blockquote[data-ke-style="style2"],
.article-body blockquote[data-ke-style="style3"] {
  color: #f3f7ff;
}

.article-body blockquote[data-ke-style="style4"] {
  text-align: left;
}

.article-body blockquote[data-ke-style="style4"]::before {
  margin-bottom: 14px;
  text-align: left;
}

.article-body code,
.article-body pre {
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

.article-body a {
  position: relative;
  color: var(--accent);
}

#tt-body-category .article-view,
#tt-body-category .post-grid:not(.post-grid--list),
#tt-body-search .article-view,
#tt-body-search .post-grid:not(.post-grid--list),
#tt-body-tag .article-view,
#tt-body-tag .post-grid:not(.post-grid--list),
#tt-body-archive .article-view,
#tt-body-archive .post-grid:not(.post-grid--list) {
  display: none;
}

#tt-body-index .post-grid--list {
  display: none;
}

body.is-home-root .list-hero,
body.is-home-root .list-hero {
  display: none !important;
}

body.is-home-root .post-grid--list {
  display: grid !important;
}

body.is-category-root .post-grid--list {
  display: grid;
}

body.is-category-root .post-grid:not(.post-grid--list),
body.is-category-root .article-view {
  display: none;
}

#tt-body-page .post-grid,
#tt-body-page .list-hero,
#tt-body-page .empty-state,
#tt-body-page .pagination,
body.has-article-view .post-grid,
body.has-article-view .list-hero,
body.has-article-view .empty-state,
body.has-article-view .pagination {
  display: none;
}

#tt-body-page .sidebar-toggle,
body.has-article-view .sidebar-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#tt-body-page .layout--has-sidebar,
body.has-article-view .layout--has-sidebar {
  grid-template-columns: minmax(0, 1fr);
}

#tt-body-page .content-area,
body.has-article-view .content-area {
  order: 1;
}

#tt-body-page .sidebar,
body.has-article-view .sidebar {
  position: static;
  width: 0;
  max-height: none;
  overflow: hidden;
  padding-right: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-18px);
}

#tt-body-page.sidebar-open .layout--has-sidebar,
body.has-article-view.sidebar-open .layout--has-sidebar {
  grid-template-columns: 280px minmax(0, 1fr);
}

#tt-body-page.sidebar-open .content-area,
body.has-article-view.sidebar-open .content-area {
  order: 2;
}

#tt-body-page.sidebar-open .sidebar,
body.has-article-view.sidebar-open .sidebar {
  position: sticky;
  top: 112px;
  width: 280px;
  max-height: calc(100vh - 140px);
  overflow: auto;
  padding-right: 4px;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

#tt-body-page.sidebar-open .sidebar-toggle,
body.has-article-view.sidebar-open .sidebar-toggle {
  color: var(--text);
  background: rgba(13, 19, 33, 0.92);
  border-color: rgba(125, 211, 252, 0.3);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26);
}

#tt-body-page.sidebar-open .sidebar-toggle::after,
body.has-article-view.sidebar-open .sidebar-toggle::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(125, 211, 252, 0.12);
  border-radius: 999px;
  pointer-events: none;
}

#tt-body-page.sidebar-open .sidebar-card,
body.has-article-view.sidebar-open .sidebar-card {
  animation: sidebarCardIn 220ms ease both;
}

#tt-body-page.sidebar-open .sidebar-card:nth-child(1),
body.has-article-view.sidebar-open .sidebar-card:nth-child(1) {
  animation-delay: 20ms;
}

#tt-body-page.sidebar-open .sidebar-card:nth-child(2),
body.has-article-view.sidebar-open .sidebar-card:nth-child(2) {
  animation-delay: 40ms;
}

#tt-body-page.sidebar-open .sidebar-card:nth-child(3),
body.has-article-view.sidebar-open .sidebar-card:nth-child(3) {
  animation-delay: 60ms;
}

#tt-body-page.sidebar-open .sidebar-card:nth-child(4),
body.has-article-view.sidebar-open .sidebar-card:nth-child(4) {
  animation-delay: 80ms;
}

#tt-body-page.sidebar-open .sidebar-card:nth-child(5),
body.has-article-view.sidebar-open .sidebar-card:nth-child(5) {
  animation-delay: 100ms;
}

@keyframes sidebarCardIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.article-body pre {
  position: relative;
  overflow-x: auto;
  padding: 18px 72px 18px 18px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 34px),
    #050914;
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 38px rgba(0, 0, 0, 0.2);
  color: #edf2ff;
}

.code-copy-button {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  min-width: 48px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(237, 242, 255, 0.16);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
  color: rgba(237, 242, 255, 0.78);
  font: 700 0.72rem/1 "Pretendard", sans-serif;
  letter-spacing: 0;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.code-copy-button:hover,
.code-copy-button:focus-visible {
  border-color: rgba(125, 211, 252, 0.5);
  background: rgba(14, 116, 144, 0.28);
  color: #edf2ff;
  outline: none;
  transform: translateY(-1px);
}

.code-copy-button.is-copied {
  border-color: rgba(134, 239, 172, 0.48);
  background: rgba(22, 101, 52, 0.35);
  color: #bbf7d0;
}

.code-copy-button.is-error {
  border-color: rgba(253, 164, 175, 0.5);
  background: rgba(159, 18, 57, 0.32);
  color: #fecdd3;
}

.article-body pre::before {
  content: "";
  display: block;
  width: 38px;
  height: 10px;
  margin-bottom: 14px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 5px 5px, rgba(248, 113, 113, 0.9) 0 4px, transparent 4.5px),
    radial-gradient(circle at 19px 5px, rgba(251, 191, 36, 0.9) 0 4px, transparent 4.5px),
    radial-gradient(circle at 33px 5px, rgba(74, 222, 128, 0.9) 0 4px, transparent 4.5px);
}

.article-body pre code,
.article-body pre .hljs,
.article-body .hljs {
  display: block;
  color: #edf2ff !important;
  background: transparent !important;
  font-family: "D2Coding", "Fira Code", "Consolas", monospace;
  font-size: 0.95rem;
  line-height: 1.75;
  white-space: pre;
}

.article-body pre code span,
.article-body pre .hljs span,
.article-body .hljs span {
  color: inherit;
}

.article-body pre code .hljs-comment,
.article-body pre .hljs-comment,
.article-body .hljs-comment {
  color: #8f9bb3 !important;
}

.article-body pre code .hljs-keyword,
.article-body pre code .hljs-selector-tag,
.article-body pre code .hljs-title,
.article-body pre code .hljs-section,
.article-body pre .hljs-keyword,
.article-body pre .hljs-selector-tag,
.article-body pre .hljs-title,
.article-body pre .hljs-section,
.article-body .hljs-keyword,
.article-body .hljs-selector-tag,
.article-body .hljs-title,
.article-body .hljs-section {
  color: #7dd3fc !important;
}

.article-body pre code .hljs-string,
.article-body pre code .hljs-attr,
.article-body pre code .hljs-symbol,
.article-body pre .hljs-string,
.article-body pre .hljs-attr,
.article-body pre .hljs-symbol,
.article-body .hljs-string,
.article-body .hljs-attr,
.article-body .hljs-symbol {
  color: #f9c86b !important;
}

.article-body pre code .hljs-number,
.article-body pre code .hljs-literal,
.article-body pre code .hljs-variable,
.article-body pre .hljs-number,
.article-body pre .hljs-literal,
.article-body pre .hljs-variable,
.article-body .hljs-number,
.article-body .hljs-literal,
.article-body .hljs-variable {
  color: #c4b5fd !important;
}

.article-body pre code .hljs-function,
.article-body pre code .hljs-title.function_,
.article-body pre code .hljs-built_in,
.article-body pre .hljs-function,
.article-body pre .hljs-title.function_,
.article-body pre .hljs-built_in,
.article-body .hljs-function,
.article-body .hljs-title.function_,
.article-body .hljs-built_in {
  color: #86efac !important;
}

.article-body pre code .hljs-tag,
.article-body pre code .hljs-name,
.article-body pre code .hljs-selector-class,
.article-body pre code .hljs-selector-id,
.article-body pre .hljs-tag,
.article-body pre .hljs-name,
.article-body pre .hljs-selector-class,
.article-body pre .hljs-selector-id,
.article-body .hljs-tag,
.article-body .hljs-name,
.article-body .hljs-selector-class,
.article-body .hljs-selector-id {
  color: #fda4af !important;
}

.article-body pre[data-ke-language],
.article-body [data-ke-language] pre,
.article-body .codeblock-wrap pre,
.article-body .codehilite pre {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 34px),
    #050914 !important;
}

.article-body :not(pre) > code {
  padding: 0.12em 0.38em;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 7px;
  color: var(--accent);
  background: rgba(125, 211, 252, 0.08);
  font-size: 0.92em;
}

.article-body img {
  height: auto;
  border-radius: var(--radius-md);
  max-width: 100%;
}

.article-body iframe,
.article-body video,
.article-body embed,
.article-body object,
.article-body table,
.article-body ins,
.article-body .container_postbtn,
.article-body .adsbygoogle {
  max-width: 100% !important;
}

.article-body iframe,
.article-body video,
.article-body embed,
.article-body object {
  width: 100% !important;
}

.article-body table {
  display: table;
  width: 100%;
  overflow-x: visible;
}

.article-body ins,
.article-body .adsbygoogle,
.article-body [id*="google_ads"],
.article-body [class*="google-auto-placed"] {
  display: block !important;
  width: 100% !important;
  margin: 28px auto !important;
  overflow: hidden !important;
  border-radius: 18px;
}

.article-body .adsbygoogle,
.article-body [class*="google-auto-placed"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.006)),
    rgba(255, 255, 255, 0.012);
}

.article-body .toc-box {
  margin: 24px 0 !important;
  padding: 22px 24px !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg, rgba(15, 20, 38, 0.92), rgba(10, 14, 28, 0.96)) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22) !important;
}

.article-body .toc-box__title {
  margin: 0 0 14px !important;
  color: var(--text) !important;
  font-size: 1.08rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
}

.article-body .toc-box ol[data-ke-list-type],
.article-body .toc-box ul[data-ke-list-type] {
  margin: 0 !important;
  padding-left: 20px !important;
  color: var(--text-soft) !important;
}

.article-body .toc-box li {
  margin: 8px 0 !important;
}

.article-body .toc-box li::marker {
  color: var(--text-muted);
}

.article-body .toc-box a {
  color: var(--text-soft) !important;
  text-decoration: none !important;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.article-body .toc-box a:hover {
  color: var(--accent) !important;
  border-color: rgba(125, 211, 252, 0.34);
}

.article-body .summary-box,
.article-body .tip-box,
.article-body .warning-box,
.article-body .note-box,
.article-body .related-box,
.article-body .checklist-box,
.article-body .result-box,
.article-body .faq-box,
.article-body .steps-box,
.article-body .compare-box,
.article-body .insight-quote {
  position: relative;
  margin: 24px 0;
  padding: 20px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 48px),
    rgba(255, 255, 255, 0.018);
  color: var(--text-soft);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.article-body .summary-box::before,
.article-body .tip-box::before,
.article-body .warning-box::before,
.article-body .note-box::before,
.article-body .related-box::before,
.article-body .checklist-box::before,
.article-body .result-box::before,
.article-body .faq-box::before,
.article-body .steps-box::before,
.article-body .compare-box::before,
.article-body .insight-quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 999px;
  background: var(--accent);
}

.article-body .summary-box > strong:first-child,
.article-body .tip-box > strong:first-child,
.article-body .warning-box > strong:first-child,
.article-body .note-box > strong:first-child,
.article-body .related-box > strong:first-child,
.article-body .checklist-box > strong:first-child,
.article-body .result-box > strong:first-child,
.article-body .faq-box > strong:first-child,
.article-body .steps-box > strong:first-child,
.article-body .compare-box > strong:first-child,
.article-body .insight-quote > strong:first-child {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-body .summary-box p,
.article-body .tip-box p,
.article-body .warning-box p,
.article-body .note-box p,
.article-body .related-box p,
.article-body .checklist-box p,
.article-body .result-box p,
.article-body .faq-box p,
.article-body .steps-box p,
.article-body .compare-box p,
.article-body .insight-quote p {
  margin: 0.7em 0 0;
}

.article-body .summary-box p:first-of-type,
.article-body .tip-box p:first-of-type,
.article-body .warning-box p:first-of-type,
.article-body .note-box p:first-of-type,
.article-body .related-box p:first-of-type,
.article-body .checklist-box p:first-of-type,
.article-body .result-box p:first-of-type,
.article-body .faq-box p:first-of-type,
.article-body .steps-box p:first-of-type,
.article-body .compare-box p:first-of-type,
.article-body .insight-quote p:first-of-type {
  margin-top: 0;
}

.article-body .tip-box {
  border-color: rgba(125, 211, 252, 0.26);
  background:
    linear-gradient(180deg, rgba(125, 211, 252, 0.055), transparent 52px),
    rgba(255, 255, 255, 0.018);
}

.article-body .warning-box {
  border-color: rgba(251, 191, 36, 0.26);
}

.article-body .warning-box::before {
  background: #fbbf24;
}

.article-body .note-box::before {
  background: var(--accent-2);
}

.article-body .result-box {
  border-color: rgba(167, 139, 250, 0.28);
}

.article-body .result-box::before {
  background: var(--accent-2);
}

.article-body .faq-box {
  border-color: rgba(96, 165, 250, 0.28);
  background:
    linear-gradient(180deg, rgba(96, 165, 250, 0.06), transparent 52px),
    rgba(255, 255, 255, 0.018);
}

.article-body .faq-box::before {
  background: #60a5fa;
}

.article-body .faq-box details {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.article-body .faq-box details:first-of-type {
  padding-top: 6px;
  border-top: 0;
}

.article-body .faq-box summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 700;
  list-style: none;
}

.article-body .faq-box summary::-webkit-details-marker {
  display: none;
}

.article-body .faq-box summary::before {
  content: "Q.";
  margin-right: 8px;
  color: var(--accent);
}

.article-body .faq-box details p {
  margin-top: 10px;
  padding-left: 24px;
}

.article-body .steps-box {
  border-color: rgba(45, 212, 191, 0.24);
}

.article-body .steps-box::before {
  background: #2dd4bf;
}

.article-body .steps-box ol {
  margin: 10px 0 0;
  padding-left: 20px;
}

.article-body .steps-box li + li {
  margin-top: 12px;
}

.article-body .steps-box li::marker {
  color: #7dd3fc;
  font-weight: 700;
}

.article-body .compare-box {
  border-color: rgba(167, 139, 250, 0.26);
}

.article-body .compare-box::before {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

.article-body .compare-box__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.article-body .compare-box__item {
  min-width: 0;
  padding: 16px 16px 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.article-body .compare-box__item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.95rem;
}

.article-body .insight-quote {
  padding: 24px 24px 22px;
  border-color: rgba(125, 211, 252, 0.18);
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.08), transparent 30%),
    rgba(255, 255, 255, 0.018);
}

.article-body .insight-quote::before {
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.9), rgba(167, 139, 250, 0.9));
}

.article-body .insight-quote blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.05rem;
}

.article-body .insight-quote cite {
  display: block;
  margin-top: 12px;
  color: var(--text-muted);
  font-style: normal;
  font-size: 0.9rem;
}

.article-body .checklist-box ul {
  margin: 8px 0 0;
  padding-left: 0;
  list-style: none !important;
  list-style-type: none !important;
}

.article-body .checklist-box li {
  position: relative;
  padding-left: 20px;
  list-style: none !important;
}

.article-body .checklist-box li::marker {
  content: "";
  font-size: 0;
}

.article-body .checklist-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(125, 211, 252, 0.08);
}

.article-body .related-box a {
  display: inline-flex;
  margin: 8px 10px 0 0;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.025);
}

.article-body .related-box a:hover {
  color: var(--accent);
  border-color: rgba(125, 211, 252, 0.34);
}

.tag-list,
.tag-cloud__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list {
  font-size: 0;
}

.tag-list a,
.tag-cloud__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.94rem;
}

.tag-list a::before,
.tag-cloud__list a::before {
  content: "#";
  margin-right: 2px;
  color: var(--accent);
}

.related-grid,
.neighbor-grid {
  display: grid;
  gap: 8px;
}

.related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.related-card,
.neighbor-card {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
}

.related-card__thumb {
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.related-card__thumb img {
  width: 100%;
  aspect-ratio: 16 / 7.2;
  object-fit: cover;
}

.related-card__title,
.neighbor-card strong {
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card__date,
.neighbor-card span {
  color: var(--text-muted);
  font-size: 0.76rem;
}

.comment-module,
.guestbook {
  color: var(--text-soft);
}

.comment-module [data-tistory-react-app="Comment"],
.guestbook [data-tistory-react-app="Comment"] {
  color: var(--text-soft);
}

.comment-module .tt-comment-cont,
.guestbook .tt-comment-cont {
  display: grid;
  gap: 18px;
}

.comment-module .tt-box-total,
.guestbook .tt-box-total {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}

.comment-module .tt_num_g,
.guestbook .tt_num_g {
  color: var(--accent);
}

.comment-module .tt-area-reply,
.guestbook .tt-area-reply {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  padding: 18px;
}

.comment-module .tt-item-reply,
.guestbook .tt-item-reply {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.comment-module .tt-item-reply:first-child,
.guestbook .tt-item-reply:first-child {
  border-top: 0;
  padding-top: 0;
}

.comment-module .tt-box-meta,
.comment-module .tt-wrap-info,
.guestbook .tt-box-meta,
.guestbook .tt-wrap-info {
  color: var(--text-muted);
}

.comment-module .tt-link-user,
.guestbook .tt-link-user,
.comment-module .tt-link-comment,
.guestbook .tt-link-comment {
  color: var(--accent);
}

.comment-module .tt_desc,
.guestbook .tt_desc {
  color: var(--text-soft);
}

.comment-module .tt-area-write,
.guestbook .tt-area-write {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  padding: 18px;
}

.comment-module .tt-box-thumb,
.guestbook .tt-box-thumb {
  flex: 0 0 auto;
}

.comment-module .tt-thumbnail,
.guestbook .tt-thumbnail {
  display: block;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.06);
  background-position: center;
  background-size: cover;
}

.comment-module .tt_wrap_write,
.guestbook .tt_wrap_write {
  display: grid;
  gap: 14px;
  width: 100%;
  min-width: 0;
}

.comment-module .tt-box-account,
.guestbook .tt-box-account {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.comment-module input,
.comment-module button,
.guestbook input,
.guestbook button {
  border-radius: 12px;
}

.comment-module input,
.guestbook input {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  min-height: 42px;
  padding: 0 14px;
}

.comment-module input::placeholder,
.guestbook input::placeholder,
.comment-module textarea::placeholder,
.guestbook textarea::placeholder {
  color: var(--text-muted);
}

.comment-module .tt-cmt,
.guestbook .tt-cmt {
  min-height: 120px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.comment-module .tt-box-textarea,
.guestbook .tt-box-textarea {
  border-radius: 24px;
}

.comment-module .tt-inner-g,
.guestbook .tt-inner-g {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid rgba(159, 174, 209, 0.16);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(12, 18, 34, 0.94), rgba(7, 11, 22, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.comment-module .tt-box-textarea textarea,
.guestbook .tt-box-textarea textarea,
.comment-module textarea,
.guestbook textarea {
  width: 100%;
  min-height: 120px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--text);
  resize: vertical;
}

.comment-module .tt-box-write,
.guestbook .tt-box-write {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.comment-module .tt-xe-label,
.guestbook .tt-xe-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
}

.comment-module .tt-xe-label input,
.guestbook .tt-xe-label input {
  min-height: auto;
  padding: 0;
  accent-color: var(--accent);
}

.comment-module .tt-xe-input-helper,
.guestbook .tt-xe-input-helper {
  display: none;
}

.comment-module .tt-btn_register,
.guestbook .tt-btn_register,
.comment-module .tt_btn_submit,
.guestbook .tt_btn_submit,
.comment-module .tt_btn_prev_more,
.guestbook .tt_btn_prev_more {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  color: #04131c;
  background: linear-gradient(135deg, var(--accent), #b6f0ff);
  font-weight: 700;
}

[data-tistory-react-app="Namecard"] .tt_box_namecard,
.tt_box_namecard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 28px 0 0;
  padding: 20px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(15, 20, 38, 0.88), rgba(10, 14, 28, 0.94));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

[data-tistory-react-app="Namecard"] .tt_box_namecard .tt_cont,
.tt_box_namecard .tt_cont {
  display: grid;
  gap: 6px;
  min-width: 0;
}

[data-tistory-react-app="Namecard"] .tt_box_namecard .tt_tit_cont,
[data-tistory-react-app="Namecard"] .tt_box_namecard .tt_tit_cont:link,
[data-tistory-react-app="Namecard"] .tt_box_namecard .tt_tit_cont:visited,
.tt_box_namecard .tt_cont a.tt_tit_cont,
.tt_box_namecard .tt_cont a.tt_tit_cont:link,
.tt_box_namecard .tt_cont a.tt_tit_cont:visited,
.tt_box_namecard .tt_tit_cont,
.tt_box_namecard .tt_tit_cont:link,
.tt_box_namecard .tt_tit_cont:visited {
  color: #eef3ff !important;
  opacity: 1 !important;
  font-size: 1.08rem !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  text-decoration: none !important;
}

[data-tistory-react-app="Namecard"] .tt_box_namecard .tt_desc,
[data-tistory-react-app="Namecard"] .tt_box_namecard .tt_desc:link,
[data-tistory-react-app="Namecard"] .tt_box_namecard .tt_desc:visited,
.tt_box_namecard .tt_cont a.tt_desc,
.tt_box_namecard .tt_cont a.tt_desc:link,
.tt_box_namecard .tt_cont a.tt_desc:visited,
.tt_box_namecard .tt_desc,
.tt_box_namecard .tt_desc:link,
.tt_box_namecard .tt_desc:visited {
  color: #c7d1e3 !important;
  opacity: 1 !important;
  font-size: 0.94rem !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

[data-tistory-react-app="Namecard"] .tt_box_namecard .tt_btn_subscribe,
.tt_box_namecard .tt_btn_subscribe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  margin-top: 8px;
  padding: 0 16px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 999px;
  color: #04131c;
  background: linear-gradient(135deg, var(--accent), #b6f0ff);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

[data-tistory-react-app="Namecard"] .tt_box_namecard .tt_btn_subscribe:hover,
.tt_box_namecard .tt_btn_subscribe:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

[data-tistory-react-app="Namecard"] .tt_box_namecard .tt_btn_subscribe .tt_txt_g,
.tt_box_namecard .tt_btn_subscribe .tt_txt_g {
  color: inherit;
  font-weight: inherit;
}

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

.comment-module .tt_txt_user,
.guestbook .tt_txt_user {
  color: var(--text) !important;
  opacity: 1 !important;
  font-weight: 700 !important;
}

[data-tistory-react-app="Namecard"] .tt_box_namecard .tt_wrap_thumb,
.tt_box_namecard .tt_wrap_thumb {
  flex: 0 0 auto;
  order: -1;
}

[data-tistory-react-app="Namecard"] .tt_box_namecard .tt_thumb_g,
.tt_box_namecard .tt_thumb_g {
  display: block;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 0 6px rgba(125, 211, 252, 0.06);
}

[data-tistory-react-app="Namecard"] .tt_box_namecard .tt_btn_subscribe,
.tt_box_namecard .tt_btn_subscribe {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: start !important;
  min-height: 40px !important;
  padding: 0 16px !important;
  margin-top: 8px !important;
  border: 1px solid rgba(125, 211, 252, 0.24) !important;
  border-radius: 999px !important;
  color: #04131c !important;
  background: linear-gradient(135deg, var(--accent), #b6f0ff) !important;
  opacity: 1 !important;
  visibility: visible !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18) !important;
  font-weight: 700 !important;
}

[data-tistory-react-app="Namecard"] .tt_box_namecard .tt_btn_subscribe .tt_txt_g,
.tt_box_namecard .tt_btn_subscribe .tt_txt_g {
  color: inherit !important;
}

.comment-module .tt-area-reply,
.guestbook .tt-area-reply,
.comment-module .tt-area-write,
.guestbook .tt-area-write {
  background: linear-gradient(180deg, rgba(14, 20, 38, 0.96), rgba(9, 13, 25, 0.98)) !important;
  color: #e6eefc !important;
}

.comment-module .tt-box-meta,
.comment-module .tt-wrap-info,
.guestbook .tt-box-meta,
.guestbook .tt-wrap-info,
.comment-module .tt-xe-label,
.guestbook .tt-xe-label {
  color: #cbd5e8 !important;
}

.comment-module .tt_desc,
.guestbook .tt_desc,
.comment-module .tt-cmt,
.guestbook .tt-cmt,
.comment-module textarea,
.guestbook textarea,
.comment-module input,
.guestbook input {
  color: #eef3ff !important;
}

.comment-module input,
.guestbook input,
.comment-module textarea,
.guestbook textarea,
.comment-module .tt-cmt,
.guestbook .tt-cmt {
  background: rgba(7, 11, 22, 0.92) !important;
  border-color: rgba(196, 205, 223, 0.16) !important;
}

.comment-module input::placeholder,
.guestbook input::placeholder,
.comment-module textarea::placeholder,
.guestbook textarea::placeholder {
  color: #7f8aa2 !important;
}

.comment-module .tt-btn_register,
.guestbook .tt-btn_register {
  opacity: 1 !important;
}

.comment-module .tt-btn_register:disabled,
.guestbook .tt-btn_register:disabled {
  opacity: 0.58 !important;
}

@media (max-width: 780px) {
  [data-tistory-react-app="Namecard"] .tt_box_namecard,
  .tt_box_namecard {
    align-items: flex-start;
    padding: 18px;
  }

  [data-tistory-react-app="Namecard"] .tt_box_namecard .tt_thumb_g,
  .tt_box_namecard .tt_thumb_g {
    width: 48px;
    height: 48px;
  }
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 14px 18px;
  min-height: 0;
}

.pagination-wrap {
  margin-top: 26px;
}

.pagination-wrap--has-sidebar {
  padding-left: 344px;
}

.pagination--global {
  width: 100%;
  max-width: 100%;
}

.pagination__numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.pagination__btn,
.pagination__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.92rem;
  line-height: 1;
}

.pagination__numbers .selected {
  color: var(--text);
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 56px;
  color: var(--text-muted);
}

.site-footer p {
  margin: 0;
}

.site-footer__top {
  color: var(--accent);
}

.another_category,
.tt_category,
.category_list,
.tt_article_useless_p_margin {
  color: inherit;
}

.article-body + .another_category,
.another_category.another_category_color_gray {
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(15, 20, 38, 0.88), rgba(10, 14, 28, 0.94));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.another_category h4 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.another_category h4 a {
  color: var(--accent);
}

.another_category table {
  width: 100%;
  border-collapse: collapse;
}

.another_category tr + tr th,
.another_category tr + tr td {
  border-top: 1px solid var(--line);
}

.another_category th,
.another_category td {
  padding: 14px 0;
  vertical-align: middle;
}

.another_category th {
  text-align: left;
  font-weight: 600;
}

.another_category td {
  width: 120px;
  text-align: right;
  color: var(--text-muted);
  font-size: 0.88rem;
  white-space: nowrap;
}

.another_category th a {
  color: var(--text-soft);
  transition: color 160ms ease;
}

.another_category th a:hover {
  color: var(--text);
}

.another_category th span {
  color: var(--text-muted);
  font-weight: 600;
}

[data-tistory-react-app="Namecard"] .tt_box_namecard .tt_btn_subscribe,
.tt_box_namecard .tt_btn_subscribe {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: flex-start !important;
  width: fit-content !important;
  min-width: 108px !important;
  min-height: 42px !important;
  padding: 0 18px !important;
  margin-top: 10px !important;
  border: 1px solid rgba(125, 211, 252, 0.28) !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #8fdfff, #c8f4ff) !important;
  color: #04131c !important;
  opacity: 1 !important;
  visibility: visible !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-shadow: 0 12px 28px rgba(4, 10, 22, 0.28) !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-indent: 0 !important;
  overflow: visible !important;
}

[data-tistory-react-app="Namecard"] .tt_box_namecard .tt_btn_subscribe .tt_txt_g,
.tt_box_namecard .tt_btn_subscribe .tt_txt_g {
  display: inline !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

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

.article-body + .another_category,
.another_category,
.another_category.another_category_color_gray {
  color: #e7eefc !important;
  background:
    linear-gradient(180deg, rgba(16, 22, 40, 0.98), rgba(9, 13, 25, 0.98)) !important;
  border-color: rgba(159, 174, 209, 0.18) !important;
}

.another_category h4,
.another_category h4 a,
.another_category th,
.another_category th a,
.another_category td,
.another_category th span {
  color: #e7eefc !important;
}

.another_category h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.another_category h4::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #dff7ff, #7dd3fc 62%, #4f46e5 100%);
  box-shadow: 0 0 0 6px rgba(125, 211, 252, 0.1);
}

.another_category h4 a {
  color: #8fdfff !important;
}

.another_category table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.another_category tbody tr {
  transition: background 160ms ease, transform 160ms ease;
}

.another_category tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

.another_category tr + tr th,
.another_category tr + tr td {
  border-top-color: rgba(159, 174, 209, 0.14) !important;
}

.another_category th,
.another_category td {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}

.another_category th a {
  color: #eef3ff !important;
  font-weight: 650 !important;
}

.another_category th a:hover {
  color: #8fdfff !important;
}

.another_category th span {
  color: #97a5c2 !important;
}

.another_category td {
  color: #aab7d2 !important;
  font-size: 0.9rem !important;
}

.comment-module,
.guestbook,
.comment-module [data-tistory-react-app="Comment"],
.guestbook [data-tistory-react-app="Comment"],
.comment-module .tt-comment-cont,
.guestbook .tt-comment-cont {
  color: #e7eefc !important;
}

.comment-module .tt-box-total,
.guestbook .tt-box-total,
.comment-module .tt_txt_g,
.guestbook .tt_txt_g,
.comment-module .tt_num_g,
.guestbook .tt_num_g,
.comment-module .tt_txt_user,
.guestbook .tt_txt_user,
.comment-module .tt-xe-label-text,
.guestbook .tt-xe-label-text {
  color: #eef3ff !important;
}

.comment-module .tt_num_g,
.guestbook .tt_num_g {
  color: #8fdfff !important;
}

.comment-module .tt-area-reply,
.guestbook .tt-area-reply,
.comment-module .tt-area-write,
.guestbook .tt-area-write {
  border-color: rgba(159, 174, 209, 0.16) !important;
  background:
    linear-gradient(180deg, rgba(16, 22, 40, 0.98), rgba(9, 13, 25, 0.98)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.comment-module .tt-thumbnail,
.guestbook .tt-thumbnail {
  border-color: rgba(125, 211, 252, 0.24) !important;
  background-color: rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 0 0 8px rgba(125, 211, 252, 0.05) !important;
}

.comment-module .tt_desc,
.guestbook .tt_desc,
.comment-module .tt-box-meta,
.comment-module .tt-wrap-info,
.guestbook .tt-box-meta,
.guestbook .tt-wrap-info {
  color: #c7d1e3 !important;
}

.comment-module .tt-cmt,
.guestbook .tt-cmt,
.comment-module textarea,
.guestbook textarea,
.comment-module input,
.guestbook input {
  color: #eef3ff !important;
  border-color: rgba(159, 174, 209, 0.16) !important;
  background: rgba(6, 10, 20, 0.92) !important;
}

.comment-module .tt-cmt[data-placeholder]::before,
.guestbook .tt-cmt[data-placeholder]::before {
  color: #8b97b2 !important;
}

.comment-module input::placeholder,
.guestbook input::placeholder,
.comment-module textarea::placeholder,
.guestbook textarea::placeholder {
  color: #8b97b2 !important;
}

.comment-module .tt-btn_register,
.guestbook .tt-btn_register {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 88px;
  box-shadow: 0 10px 22px rgba(4, 10, 22, 0.22);
}

@media (max-width: 1100px) {
  .layout--has-sidebar {
    grid-template-columns: 1fr;
  }

  .content-area,
  .sidebar {
    order: initial;
  }

  .sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #tt-body-page.sidebar-open .layout--has-sidebar,
  body.has-article-view.sidebar-open .layout--has-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  #tt-body-page.sidebar-open .content-area,
  body.has-article-view.sidebar-open .content-area {
    order: 1;
  }

  #tt-body-page .sidebar,
  body.has-article-view .sidebar {
    position: fixed;
    left: 20px;
    top: 118px;
    width: min(320px, calc(100vw - 40px));
    max-height: calc(100vh - 140px);
    overflow: auto;
    padding: 18px 4px 4px;
    grid-template-columns: 1fr;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(8, 12, 23, 0.96);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
    z-index: 34;
    visibility: hidden;
  }

  #tt-body-page.sidebar-open .sidebar,
  body.has-article-view.sidebar-open .sidebar {
    position: fixed;
    left: 20px;
    top: 118px;
    width: min(320px, calc(100vw - 40px));
    max-height: calc(100vh - 140px);
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    visibility: visible;
  }

  .pagination-wrap--has-sidebar {
    padding-left: 0;
  }
}

@media (max-width: 780px) {
  :root {
    --container: min(100% - 24px, 100%);
  }

  .site-header__inner,
  .site-nav,
  .site-nav ul,
  .site-nav__links,
  .list-hero,
  .pagination,
  .site-footer,
  .article-head__meta,
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .sidebar-card,
  .list-hero,
  .empty-state,
  .article-head,
  .article-cover,
  .article-body,
  .article-tags,
  .related,
  .article-neighbors,
  .comments,
  .guestbook,
  .tag-cloud,
  .pagination {
    padding: 18px;
  }

  #tt-body-index .post-grid,
  .post-grid--list.grid,
  .related-grid,
  .sidebar {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
    padding-top: 12px;
  }

  .site-header__inner {
    border-radius: 24px;
  }

  .sidebar-toggle {
    top: 88px;
    left: 12px;
    min-width: 42px;
    min-height: 42px;
    padding: 0 12px;
    z-index: 40;
  }

  .hero {
    padding: 28px 20px;
  }

  .hero__title {
    font-size: clamp(1.9rem, 10vw, 2.8rem);
    line-height: 1.14;
  }

  .hero__summary {
    font-size: 0.98rem;
  }

  .article-head h1 {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
    line-height: 1.12;
  }

  .article-hero-media {
    min-height: 260px;
    padding: 28px 18px;
  }

  .article-head--hero {
    width: calc(100% - 24px);
    padding: 22px 20px;
    border-radius: 24px;
  }

  .article-head--hero .article-head__meta {
    gap: 8px 16px;
  }

  .article-body {
    font-size: 1.02rem;
    line-height: 1.82;
  }

  .article-body h1,
  .article-body h2,
  .article-body h3,
  .article-body h4 {
    font-size: 1.6rem;
    line-height: 1.22;
  }

  .article-body h3 {
    font-size: 1.4rem;
  }

  .article-body h4 {
    font-size: 1.2rem;
  }

  .article-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  #tt-body-page .sidebar,
  body.has-article-view .sidebar {
    left: 12px;
    top: 142px;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 168px);
    padding: 18px 0 0;
    border-radius: 24px;
  }

  #tt-body-page.sidebar-open,
  body.has-article-view.sidebar-open {
    overflow: hidden;
  }

  #tt-body-page.sidebar-open .content-area,
  #tt-body-page.sidebar-open .site-footer,
  #tt-body-page.sidebar-open .pagination-wrap,
  body.has-article-view.sidebar-open .content-area,
  body.has-article-view.sidebar-open .site-footer,
  body.has-article-view.sidebar-open .pagination-wrap {
    opacity: 0.16;
    pointer-events: none;
    user-select: none;
  }

  #tt-body-page.sidebar-open .site-header,
  body.has-article-view.sidebar-open .site-header {
    opacity: 0.22;
  }

  #tt-body-page.sidebar-open .sidebar,
  body.has-article-view.sidebar-open .sidebar {
    position: fixed;
    left: 12px;
    top: 142px;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 168px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
  }
}

@media (max-width: 390px) {
  :root {
    --container: min(100% - 16px, 100%);
  }

  .site-header {
    padding-top: 8px;
  }

  .site-header__inner {
    gap: 10px;
    padding: 14px 16px;
    border-radius: 22px;
  }

  .site-brand {
    gap: 10px;
  }

  .site-brand__text strong {
    font-size: 0.95rem;
  }

  .site-brand__text span {
    font-size: 0.78rem;
  }

  .site-nav,
  .site-nav ul,
  .site-nav__links {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
  }

  .site-nav a {
    font-size: 0.9rem;
  }

  .main {
    padding: 16px 0 40px;
  }

  .page-shell {
    overflow-x: hidden;
  }

  .layout,
  .content-area,
  .sidebar,
  .article-view,
  .article-body,
  .comments,
  .guestbook,
  .tag-cloud,
  .related,
  .article-neighbors,
  .pagination-wrap,
  .pagination,
  .tt_box_namecard {
    width: 100%;
    max-width: 100%;
  }

  .site-header__inner,
  .hero,
  .sidebar-card,
  .list-hero,
  .empty-state,
  .article-head,
  .article-cover,
  .article-body,
  .article-tags,
  .related,
  .article-neighbors,
  .comments,
  .guestbook,
  .tag-cloud,
  .pagination,
  .tt_box_namecard {
    padding: 16px;
  }

  .sidebar-toggle {
    top: 88px;
    left: 8px;
    min-width: 38px;
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .article-head h1 {
    font-size: 1.72rem;
  }

  .article-hero-media {
    min-height: 220px;
    padding: 20px 12px;
  }

  .article-head--hero {
    padding: 18px 16px;
    border-radius: 22px;
  }

  .article-head--hero h1 {
    max-width: 100%;
  }

  .article-body {
    font-size: 0.98rem;
    line-height: 1.76;
  }

  .article-body h1,
  .article-body h2 {
    font-size: 1.4rem;
  }

  .article-body h3 {
    font-size: 1.24rem;
  }

  .tag-list,
  .tag-cloud__list {
    gap: 8px;
  }

  .tag-list a,
  .tag-cloud__list a {
    padding: 8px 12px;
    font-size: 0.86rem;
  }

  .neighbor-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .tt_box_namecard {
    gap: 14px;
    align-items: center;
  }

  .tt_box_namecard .tt_tit_cont,
  .tt_box_namecard .tt_tit_cont:link,
  .tt_box_namecard .tt_tit_cont:visited {
    font-size: 0.96rem !important;
  }

  .tt_box_namecard .tt_desc,
  .tt_box_namecard .tt_desc:link,
  .tt_box_namecard .tt_desc:visited {
    font-size: 0.84rem !important;
  }

  .post-card,
  .sidebar-card,
  .article-head,
  .article-body,
  .comments,
  .guestbook,
  .tag-cloud,
  .related,
  .article-neighbors,
  .pagination,
  .tt_box_namecard {
    width: 100%;
    max-width: 100%;
  }

  .article-body iframe,
  .article-body video,
  .article-body embed,
  .article-body object,
  .article-body img,
  .article-body ins {
    max-width: 100% !important;
  }

  #tt-body-page .sidebar {
    left: 8px;
    top: 134px;
    width: calc(100vw - 16px);
    max-height: calc(100vh - 144px);
  }

  #tt-body-page.sidebar-open .sidebar,
  body.has-article-view.sidebar-open .sidebar {
    left: 8px;
    top: 134px;
    width: calc(100vw - 16px);
    max-height: calc(100vh - 144px);
  }
}
