    * {
      box-sizing: border-box;
    }

    :root {
      --text-main: #191919;
      --text-body: #2f2f2f;
      --text-muted: rgba(255, 255, 255, 0.82);
      --line-soft: #ececec;
      --surface-code: #f6f6f3;
      --accent: #df0f57;
      --link-color: #0b6bcb;
      --focus-ring: #1a73e8;
      --hero-progress: 0;
    }

    html {
      -webkit-text-size-adjust: 100%;
    }

    body {
      margin: 0;
      font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
      background: #fff;
      color: var(--text-main);
      word-break: keep-all;
      overflow-wrap: break-word;
    }

    a {
      color: inherit;
    }

    .sr-only {
      position: absolute !important;
      width: 1px !important;
      height: 1px !important;
      padding: 0 !important;
      margin: -1px !important;
      overflow: hidden !important;
      clip: rect(0, 0, 0, 0) !important;
      white-space: nowrap !important;
      border: 0 !important;
    }

    .sticky-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 64px;
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 0 20px;
      background: rgba(255, 255, 255, 0.96);
      border-bottom: 1px solid rgba(0, 0, 0, 0.06);
      box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      z-index: 1000;
      opacity: 0;
      pointer-events: none;
      transform: translateY(-18px);
      transition:
        opacity 0.28s ease,
        transform 0.28s ease,
        box-shadow 0.28s ease,
        background 0.28s ease,
        border-color 0.28s ease;
    }

    body.sticky-active .sticky-header {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }

    .sticky-header-inner {
      width: 100%;
      max-width: 1120px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      gap: 16px;
      min-width: 0;
    }

    .sticky-home,
    .sticky-home:visited,
    .sticky-home:hover,
    .sticky-home:active {
      flex-shrink: 0;
      font-size: 14px;
      font-weight: 500;
      color: #191919 !important;
      text-decoration: none;
      white-space: nowrap;
    }

    .sticky-home:hover {
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .sticky-title {
      min-width: 0;
      font-size: 16px;
      font-weight: 600;
      line-height: 1.4;
      color: #111;
      letter-spacing: -0.03em;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .back-link-wrap {
      position: absolute;
      top: 34px;
      left: 50%;
      transform: translateX(-50%) translateY(calc(-24px * var(--hero-progress)));
      width: calc(100% - 40px);
      max-width: 1120px;
      z-index: 5;
      opacity: calc(1 - var(--hero-progress));
      pointer-events: auto;
      transition:
        opacity 0.16s linear,
        transform 0.16s linear;
    }

    body.sticky-active .back-link-wrap {
      pointer-events: none;
    }

    .back-link,
    .back-link:visited,
    .back-link:hover,
    .back-link:active {
      display: inline-block;
      font-size: 15px;
      font-weight: 500;
      color: #ffffff !important;
      text-decoration: none;
      text-underline-offset: 3px;
    }

    .back-link:hover {
      text-decoration: underline;
    }

    .post-hero {
      position: relative;
      width: 100%;
      min-height: 520px;
      display: flex;
      align-items: flex-end;
      overflow: hidden;
      background: #fff;
    }

    .post-hero-bg {
      position: absolute;
      inset: 0;
      z-index: 1;
      opacity: calc(1 - var(--hero-progress));
      visibility: visible;
      transform: scale(calc(1 + (0.04 * var(--hero-progress))));
      transition:
        opacity 0.16s linear,
        transform 0.16s linear;
      will-change: opacity, transform;
    }

    body.sticky-active .post-hero-bg {
      visibility: hidden;
    }

    .post-hero-bg img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .post-hero-overlay {
      position: absolute;
      inset: 0;
      z-index: 2;
      background:
        linear-gradient(to top, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.16)),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.06));
      opacity: calc(1 - var(--hero-progress));
      visibility: visible;
      transition: opacity 0.16s linear;
      will-change: opacity;
    }

    body.sticky-active .post-hero-overlay {
      visibility: hidden;
    }

    .post-hero-inner {
      position: relative;
      z-index: 3;
      width: 100%;
      max-width: 1120px;
      margin: 0 auto;
      padding: 110px 20px 42px;
      opacity: calc(1 - var(--hero-progress));
      transform: translateY(calc(-26px * var(--hero-progress)));
      pointer-events: auto;
      transition:
        padding 0.24s ease,
        opacity 0.16s linear,
        transform 0.16s linear;
      will-change: opacity, transform;
    }

    body.sticky-active .post-hero-inner {
      pointer-events: none;
    }

    body.hero-condensed .post-hero-inner {
      padding: 86px 20px 32px;
    }

    .post-header {
      max-width: 760px;
    }

    .category {
      display: inline-flex;
      align-items: center;
      min-height: 30px;
      padding: 0 12px;
      margin-bottom: 18px;
      border: none;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.14);
      backdrop-filter: blur(6px);
      color: #ffffff;
      font-size: 13px;
      font-weight: 500;
      line-height: 1;
      letter-spacing: -0.01em;
    }

    .post-title {
      margin: 0;
      font-size: 30px;
      font-weight: 500;
      line-height: 1.28;
      letter-spacing: -0.05em;
      color: #fff;
    }

    .meta {
      margin-top: 10px;
      font-size: 14px;
      font-weight: 400;
      line-height: 1.6;
      color: var(--text-muted);
      letter-spacing: -0.01em;
    }

    .content-wrap {
      width: 100%;
      max-width: 1120px;
      margin: 0 auto;
      padding: 56px 20px 96px;
    }

    .post-layout {
      display: grid;
      grid-template-columns: minmax(0, 760px) 320px;
      gap: 40px;
      align-items: start;
    }

    .content-column {
      min-width: 0;
    }

    .content {
      font-size: 16px;
      font-weight: 400;
      line-height: 1.6;
      letter-spacing: -0.03em;
      color: var(--text-body);
      text-align: left;
    }

    .content > *:first-child {
      margin-top: 0 !important;
    }

    .content > *:last-child {
      margin-bottom: 0 !important;
    }

    .content h1,
    .content h2,
    .content h3,
    .content h4,
    .content h5,
    .content h6 {
      color: var(--text-main);
      font-weight: 700;
      letter-spacing: -0.035em;
      text-align: left;
    }

    .content h1 {
      margin: 56px 0 18px;
      font-size: 24px;
      line-height: 1.34;
    }

    .content h2 {
      margin: 52px 0 18px;
      font-size: 22px;
      line-height: 1.34;
      letter-spacing: -0.04em;
    }

    .content h3 {
      margin: 42px 0 16px;
      font-size: 19px;
      line-height: 1.42;
    }

    .content h4 {
      margin: 34px 0 14px;
      font-size: 16px;
      line-height: 1.42;
    }

    .content h5 {
      margin: 30px 0 12px;
      font-size: 14px;
      line-height: 1.42;
    }

    .content h6 {
      margin: 26px 0 10px;
      font-size: 12px;
      line-height: 1.42;
    }

    .content p {
      margin: 0 0 18px;
    }

    .content strong {
      font-weight: 700;
      color: #0f172a;
      background-color: rgba(189, 242, 239, 0.4);
      padding: 0 1px;
      border-radius: 1px;
    }

    .content b {
      font-weight: 700;
    }

    .content em {
      font-style: italic;
    }

    .content a {
      color: var(--link-color);
      text-decoration: underline;
      text-decoration-color: rgba(11, 107, 203, 0.45);
      text-underline-offset: 3px;
      transition: text-decoration-color 0.2s ease;
    }

    .content a:hover {
      text-decoration-color: rgba(11, 107, 203, 0.9);
    }

    .content ul,
    .content ol {
      margin: 0 0 24px;
      padding-left: 1.4em;
      text-align: left;
    }

    .content li {
      margin-bottom: 10px;
      padding-left: 0.1em;
    }

    .content li > ul,
    .content li > ol {
      margin-top: 10px;
      margin-bottom: 10px;
    }

    .content blockquote {
      margin: 28px 0;
      padding: 6px 0 6px 18px;
      border-left: 3px solid #d9d9d9;
      color: #555;
      text-align: left;
    }

    .content hr {
      margin: 40px 0;
      border: 0;
      border-top: 1px solid var(--line-soft);
    }

    .content img {
      display: block;
      max-width: 100%;
      height: auto;
      margin: 32px auto;
      border-radius: 0px;
      cursor: zoom-in;
    }

    .content code {
      display: inline-block;
      padding: 0.16em 0.45em;
      border-radius: 6px;
      background: var(--surface-code);
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      font-size: 0.9em;
      line-height: 1.6;
      color: #3b3b3b;
      vertical-align: baseline;
    }

    .content pre {
      margin: 28px 0;
      padding: 18px 20px;
      border-radius: 14px;
      background: var(--surface-code);
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }

    .content pre code {
      display: block;
      padding: 0;
      background: transparent;
      border-radius: 0;
      font-size: 0.92em;
      line-height: 1.75;
      white-space: pre;
    }

    .content table {
      border-collapse: collapse;
      width: auto;
      margin: 28px 0;
      font-size: 15px;
      line-height: 1.6;
      table-layout: auto;
    }

    .content th,
    .content td {
      border: 1px solid #e0e0e0;
      padding: 6px 18px;
      text-align: left;
      vertical-align: middle;
      white-space: nowrap;
    }

    .content th {
      background-color: #f5f5f5;
      font-weight: 600;
      color: var(--text-main);
      text-align: center;
    }

    .post-footer {
      margin-top: 60px;
      padding-top: 0;
      font-size: 14px;
      line-height: 1.6;
      color: #6f6f6f;
      text-align: left;
    }

    .related-sidebar {
      min-width: 0;
      padding-top: 22px;
    }

    .related-sidebar.is-hidden {
      display: none;
    }

    .related-sidebar-inner {
      position: sticky;
      top: 32px;
      max-height: calc(100vh - 64px);
      overflow-y: auto;
      padding-right: 6px;
    }

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

    .related-sidebar-inner::-webkit-scrollbar-thumb {
      background: rgba(0, 0, 0, 0.16);
      border-radius: 999px;
    }

    .related-title {
      margin: 0 0 24px;
      font-size: 18px;
      font-weight: 700;
      line-height: 1.4;
      letter-spacing: -0.03em;
      color: var(--text-main);
    }

    .related-list {
      display: grid;
      gap: 14px;
    }

    .related-card {
      display: grid;
      grid-template-columns: 72px minmax(0, 1fr);
      gap: 10px;
      align-items: start;
      text-decoration: none;
      color: inherit;
      padding: 0;
    }

    .related-card.is-content {
      grid-template-columns: 120px minmax(0, 1fr);
      gap: 12px;
    }

    .related-card:hover .related-card-post-title {
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .related-card.is-current {
      background: #ececec;
      border-radius: 14px;
      padding: 7px 8px 9px 8px;
    }

    .related-thumb {
      position: relative;
      width: 64px;
      aspect-ratio: 1 / 1;
      border-radius: 0;
      flex-shrink: 0;
      overflow: visible;
      padding: 1px 1px 4px 1px;
    }

    .related-thumb-frame {
      position: relative;
      width: 100%;
      height: 100%;
      background: #ffffff;
      border: 4px solid #ffffff;
      box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.16),
        0 0 1px rgba(0, 0, 0, 0.10);
      overflow: hidden;
    }

    .related-thumb-image {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      background: #f7f7f7;
    }

    .content-thumb {
      width: 112px;
      aspect-ratio: 16 / 10;
      overflow: hidden;
      border-radius: 10px;
    }

    .content-image {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
      background: #ffffff;
      border-radius: 6px;
    }

    .related-card-body {
      min-width: 0;
    }

    .related-card-post-title {
      margin: 0 0 6px;
      font-size: 15px;
      font-weight: 600;
      line-height: 1.5;
      letter-spacing: -0.02em;
      color: var(--text-main);
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .related-date {
      font-size: 13px;
      line-height: 1.5;
      color: #7a7a7a;
    }

    .error {
      color: #b00020;
      font-size: 15px;
      line-height: 1.7;
    }

    .back-link:focus-visible,
    .sticky-home:focus-visible,
    .content a:focus-visible,
    .related-card:focus-visible {
      outline: 3px solid var(--focus-ring);
      outline-offset: 3px;
      border-radius: 4px;
    }

    .image-lightbox {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.92);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 32px;
      z-index: 9999;
      cursor: zoom-out;
    }

    .image-lightbox.is-open {
      display: flex;
    }

    .image-lightbox img {
      max-width: min(1200px, 92vw);
      max-height: 88vh;
      width: auto;
      height: auto;
      object-fit: contain;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
      cursor: default;
    }

    .image-lightbox-close {
      position: absolute;
      top: 20px;
      right: 24px;
      border: 0;
      background: transparent;
      color: #fff;
      font-size: 40px;
      line-height: 1;
      cursor: pointer;
    }

    .content img.img-small {
  max-width: 520px;
  width: 100%;
  display: block;
  margin: 32px auto;
}

.content img.img-medium {
  max-width: 680px;
  width: 100%;
  display: block;
  margin: 32px auto;
}

.content img.img-large {
  max-width: 960px;
  width: 100%;
  display: block;
  margin: 32px auto;
}

.content img.img-full {
  max-width: 100%;
  width: 100%;
  display: block;
  margin: 32px auto;
}

.pdf-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  z-index: 9999;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 24px;
}

.pdf-modal.active {
  display: flex;
}

.pdf-modal-inner {
  width: min(1200px, 100%);
  height: min(92vh, 100%);
  background: #111;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.pdf-controls {
  position: absolute;
  left: 50%;
  top: 16px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 11;
}

.pdf-nav {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  color: white;
  cursor: pointer;
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.pdf-nav:hover {
  background: rgba(255,255,255,0.28);
}

.pdf-page-info {
  color: white;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.pdf-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: 16px;
  box-sizing: border-box;
}

.pdf-frame canvas {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.pdf-page {
  width: 100%;
  max-width: 960px;
  box-shadow: 0 0 18px rgba(0,0,0,0.35);
}

.pdf-error {
  color: #fff;
  text-align: center;
  padding: 24px;
}

.pdf-close {
  position: absolute;
  top: 14px;
  right: 14px;

  width: 42px;
  height: 42px;

  border: 0;
  border-radius: 999px;

  background: rgba(255,255,255,0.15);
  color: white;

  font-size: 20px;
  cursor: pointer;

  z-index: 10;
}

.pdf-thumb-wrap {
  position: relative;
  display: inline-block;
}

.pdf-badge {
  position: absolute;
  top: 12px;
  right: 12px;

  padding: 6px 10px;

  border-radius: 999px;

  background: rgba(0,0,0,0.72);
  color: white;

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;

  backdrop-filter: blur(8px);
  pointer-events: none;
}

.pdf-thumb-wrap {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 32px auto;
}

.pdf-thumb-wrap img {
  display: block;
  max-width: 100%;
  height: auto;
}

.pdf-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;

  padding: 6px 10px;
  border-radius: 999px;

  background: rgba(0,0,0,0.72);
  color: #fff;

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;

  pointer-events: none;
}

    @media (max-width: 1180px) {
      .sticky-header-inner {
        max-width: 760px;
      }

      .back-link-wrap {
        max-width: 760px;
      }

      .post-hero-inner {
        max-width: 760px;
      }

      .content-wrap {
        max-width: 760px;
      }

      .post-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
      }

      .related-sidebar-inner {
        position: static;
        max-height: none;
        overflow: visible;
        padding-right: 0;
      }
    }

    @media (max-width: 768px) {
      .sticky-header {
        height: 58px;
        padding: 0 18px;
      }

      .sticky-header-inner {
        gap: 12px;
      }

      .sticky-home,
      .sticky-home:visited,
      .sticky-home:hover,
      .sticky-home:active {
        font-size: 13px;
      }

      .sticky-title {
        font-size: 15px;
      }

      .back-link-wrap {
        top: 24px;
        width: calc(100% - 36px);
      }

      .post-hero {
        min-height: 360px;
      }

      .post-hero-inner {
        padding: 84px 18px 30px;
      }

      body.hero-condensed .post-hero-inner {
        padding: 64px 18px 22px;
      }

      .category {
        margin-bottom: 16px;
        font-size: 12px;
      }

      .post-title {
        font-size: 30px;
        line-height: 1.3;
      }

      .meta {
        margin-top: 8px;
        font-size: 13px;
      }

      .content-wrap {
        padding: 36px 18px 72px;
      }

      .content {
        font-size: 17px;
        line-height: 1.76;
      }

      .content h1 {
        margin: 44px 0 16px;
        font-size: 24px;
      }

      .content h2 {
        margin: 40px 0 16px;
        font-size: 22px;
      }

      .content h3 {
        margin: 34px 0 14px;
        font-size: 20px;
      }

      .content h4 {
        margin: 28px 0 12px;
        font-size: 17px;
      }

      .content h5 {
        margin: 24px 0 10px;
        font-size: 15px;
      }

      .content h6 {
        margin: 22px 0 8px;
        font-size: 13px;
      }

      .content img {
        margin: 24px auto;
        border-radius: 12px;
      }

      .content pre {
        margin: 24px 0;
        padding: 16px;
        border-radius: 12px;
      }

      .content table {
        font-size: 14px;
      }

      .content th,
      .content td {
        padding: 5px 10px;
      }

      .post-footer {
        margin-top: 48px;
        font-size: 12px;
      }

      .related-card {
        grid-template-columns: 60px minmax(0, 1fr);
        gap: 9px;
      }

      .related-card.is-content {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 10px;
      }

      .related-thumb {
        width: 60px;
        padding: 1px 1px 4px 1px;
      }

      .content-thumb {
        width: 96px;
        aspect-ratio: 16 / 10;
      }

      .related-card.is-current {
        border-radius: 12px;
      }

      .related-title {
        font-size: 17px;
      }

      .related-card-post-title {
        font-size: 14px;
      }

      .related-date {
        font-size: 12px;
      }
    }

.content h2 {
  position: relative;
  padding-left: 28px;
}

.content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.70em;
  width: 18px;
  height: 18px;
  border: 4px solid #111;
  box-sizing: border-box;
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .content img {
    margin: 24px auto;
  }

  .content img.img-large {
    max-width: 100%;
  }

  .content img.img-full {
    max-width: 100%;
  }
}
