/* ==========================================================================
   Dear Fintech. — Minimal Editorial × Modern Fintech
   Design layer on top of the hELLO skin (v4.10.6). Everything here is scoped
   under html#hELLO so it wins over hELLO's utility classes without a wall of
   !important. Sections:
     1. Tokens            6. Article
     2. Base              7. Code / table / quote
     3. Top bar           8. Tags / post nav / author
     4. Sidebar           9. Search overlay
     5. Hero + list      10. Motion + responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --df-bg: #fafafa;
  --df-surface: #ffffff;
  --df-surface-2: #f2f2f2;
  --df-line: rgba(0, 0, 0, 0.09);
  --df-line-strong: rgba(0, 0, 0, 0.16);
  --df-text: #171717;
  --df-text-2: #737373;
  --df-text-3: #9a9a9a;
  --df-accent: #4f46e5;
  --df-accent-soft: rgba(79, 70, 229, 0.07);
  --df-glass: rgba(250, 250, 250, 0.72);
  --df-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.06);
  --df-shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.16);

  --df-sans: "Inter", "Pretendard Variable", Pretendard, -apple-system,
    BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", system-ui, sans-serif;
  --df-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", monospace;

  --df-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --df-ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  /* how far a hero word lifts on hover / tap */
  --df-hero-lift: -6px;
  --df-rail: 256px;
  --df-gutter: clamp(1.25rem, 4vw, 3.5rem);

  /* Page load screen: 900ms end to end. 13 letters at 30ms stagger, so the
     last letter starts at 360ms and lands at 640ms; hold to 680ms, then a
     220ms fade-out. The skin's own variables (style.css) are overridden here
     because this file is linked after it. */
  --loader-bg: #fafafa;
  --loader-text: #171717;
  --loader-stagger: 30ms;
  --loader-letter: 280ms;
  --loader-hold: 680ms;
  --loader-out: 220ms;
}

html.dark {
  --df-bg: #141414;
  --df-surface: #1c1c1c;
  --df-surface-2: #202020;
  --df-line: rgba(255, 255, 255, 0.1);
  --df-line-strong: rgba(255, 255, 255, 0.18);
  --df-text: #ededed;
  --df-text-2: #999999;
  --df-text-3: #757575;
  --df-accent: #a5a0ff;
  --df-accent-soft: rgba(165, 160, 255, 0.12);
  --df-glass: rgba(20, 20, 20, 0.7);
  --df-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 40px rgba(0, 0, 0, 0.45);
  --df-shadow-lg: 0 32px 80px rgba(0, 0, 0, 0.6);

  --loader-bg: #141414;
  --loader-text: #ededed;
}

/* 2. Base ------------------------------------------------------------------ */
html#hELLO {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-padding-top: 96px;
}

html#hELLO body {
  background-color: var(--df-bg);
  color: var(--df-text);
  font-family: var(--df-sans);
  font-size: 16px;
  letter-spacing: -0.011em;
  word-break: normal;
  overflow-wrap: anywhere;
}

html#hELLO #index {
  word-break: normal;
}

/* Nothing may push the layout wider than the viewport. `clip` rather than
   `hidden` on purpose: it does not create a scroll container, so the sticky
   TOC and the sticky top bar keep working. */
html#hELLO,
html#hELLO body {
  overflow-x: clip;
}

/* Grid and flex children default to min-width:auto, which lets a long word, a
   table or an image beside them widen the whole column. */
html#hELLO #content,
html#hELLO #content > #article,
html#hELLO #post,
html#hELLO #article,
html#hELLO #article .contents_style,
html#hELLO .df-post-head,
html#hELLO .df-post-head__meta,
html#hELLO #list,
html#hELLO .df-item__body {
  min-width: 0;
  max-width: 100%;
}

html#hELLO ::selection {
  background: var(--df-accent);
  color: #fff;
}

html#hELLO :focus-visible {
  outline: 2px solid var(--df-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

html#hELLO a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s var(--df-ease-soft), opacity 0.18s var(--df-ease-soft);
}

html#hELLO .text-hidden,
html#hELLO #bottom .btn .txt {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* hELLO paints a full-height rail; the redesign uses a hairline, not a panel */
html#hELLO #sidebar {
  background-color: var(--df-glass) !important;
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  border-right: 1px solid var(--df-line);
}

/* 3. Top bar --------------------------------------------------------------- */
html#hELLO #indicator .bar {
  height: 2px;
  background: var(--df-accent) !important;
  border-radius: 0 2px 2px 0;
  transition: width 0.08s linear;
}

html#hELLO #top {
  height: 60px;
  padding: 0 var(--df-gutter);
  background-color: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-bottom: 1px solid transparent;
}

html#hELLO #top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--df-glass);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--df-line);
  opacity: 0;
  transition: opacity 0.28s var(--df-ease-soft);
  pointer-events: none;
}

html#hELLO #top.is-stuck::before {
  opacity: 1;
}

html#hELLO #top > * {
  position: relative;
  z-index: 1;
}

html#hELLO #top .img img.thumb {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--df-line);
}

html#hELLO #top .df-brand {
  display: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--df-text);
}

@media (min-width: 1100px) {
  html#hELLO #top .img {
    display: none;
  }

  html#hELLO #top .df-brand {
    display: inline-block;
  }
}

html#hELLO .df-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

html#hELLO .df-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid transparent;
  color: var(--df-text-2);
  background: transparent;
  cursor: pointer;
  transition: color 0.18s, background-color 0.18s, border-color 0.18s;
}

html#hELLO .df-icon-btn:hover {
  color: var(--df-text);
  background: var(--df-surface-2);
  border-color: var(--df-line);
}

html#hELLO .df-icon-btn svg {
  width: 17px;
  height: 17px;
}

html#hELLO .df-kbd {
  display: none;
  align-items: center;
  gap: 3px;
  margin-left: 6px;
  font-family: var(--df-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--df-text-3);
  letter-spacing: 0.02em;
}

@media (min-width: 900px) {
  html#hELLO .df-search-trigger {
    width: auto;
    padding: 0 10px 0 12px;
    gap: 8px;
    justify-content: flex-start;
  }

  html#hELLO .df-search-trigger .df-kbd {
    display: inline-flex;
  }

  html#hELLO .df-search-trigger kbd {
    display: inline-block;
    padding: 2px 5px;
    font-family: inherit;
    font-size: 10px;
    line-height: 1;
    color: var(--df-text-3);
    border: 1px solid var(--df-line);
    border-radius: 4px;
    background: var(--df-surface);
  }
}

/* subscribe button (Tistory widget). hELLO sizes it 2.25rem square, which
   squeezes the two-syllable label into 구 / 독, so the button is pinned to the
   width its own content needs. */
html#hELLO #top .menu_toolbar {
  display: flex;
  flex: none;
}

html#hELLO #top .btn_subscription,
html#hELLO .btn_subscription {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 6px;
  width: auto;
  min-width: max-content;
  height: 32px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  word-break: keep-all;
  color: var(--df-text);
  background: var(--df-surface);
  border: 1px solid var(--df-line-strong);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.18s, background-color 0.18s;
}

html#hELLO .btn_subscription > svg,
html#hELLO .btn_subscription .df-sub-label {
  flex: 0 0 auto;
  white-space: nowrap;
  word-break: keep-all;
}

html#hELLO .btn_subscription .df-sub-label {
  display: inline-block;
}

/* Top bar subscribe. hELLO's own menuToolbar button only renders when the host
   ends in .tistory.com, so the skin ships this one for the custom domain and
   df.js removes it for the blog owner. */
html#hELLO .df-sub-top svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html#hELLO .df-sub-top .df-star-f {
  display: none;
}

html#hELLO .df-sub-top.following {
  color: var(--df-accent);
  border-color: var(--df-accent);
  background: var(--df-accent-soft);
}

html#hELLO .df-sub-top.following .df-star-o {
  display: none;
}

html#hELLO .df-sub-top.following .df-star-f {
  display: block;
  fill: currentColor;
}

html#hELLO #top .btn_subscription:hover,
html#hELLO .btn_subscription:hover {
  border-color: var(--df-text-3);
}

html#hELLO .btn_subscription .ico {
  font-size: 11px;
}

/* bottom floating controls */
html#hELLO #bottom {
  padding: 0 var(--df-gutter);
  bottom: 20px;
}

html#hELLO #bottom .wrap {
  gap: 6px;
}

html#hELLO #bottom .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--df-text-2);
  background: var(--df-glass);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--df-line);
  border-radius: 999px;
  box-shadow: var(--df-shadow);
  transition: color 0.18s, border-color 0.18s, transform 0.18s var(--df-ease);
}

html#hELLO #bottom .btn:hover {
  color: var(--df-text);
  border-color: var(--df-line-strong);
  transform: translateY(-1px);
}

html#hELLO #bottom .btn .ico {
  display: inline-flex;
  font-size: 0;
}

html#hELLO #bottom .btn svg {
  width: 16px;
  height: 16px;
}

html#hELLO #bottom .theme .i-sun {
  display: none;
}

html.dark #bottom .theme .i-moon {
  display: none;
}

html.dark #bottom .theme .i-sun {
  display: inline-flex;
}

/* 4. Sidebar --------------------------------------------------------------- */
/* 스크롤 컨테이너(`ul.wrap`)만 잡는다. 자손 선택자로 두면 안쪽
   `<search class="wrap">`까지 256px + 좌우 22px 패딩을 물려받아
   검색 박스가 사이드바 오른쪽 경계를 22px 넘어간다. */
html#hELLO #sidebar > .wrap {
  width: var(--df-rail);
  padding: 34px 22px 120px;
  gap: 0;
  scrollbar-width: none;
}

html#hELLO #sidebar > .wrap::-webkit-scrollbar {
  width: 0;
}

html#hELLO #sidebar .el {
  width: 100%;
  padding: 0;
}

html#hELLO #sidebar .df-rail-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 0 0 26px;
  text-align: left;
}

html#hELLO #sidebar #profile img.thumb {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--df-line);
  object-fit: cover;
}

html#hELLO #sidebar #profile .df-rail-name {
  display: block;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--df-text);
}

html#hELLO #sidebar #profile .df-rail-handle {
  font-size: 11px;
  color: var(--df-text-3);
  letter-spacing: 0.02em;
}

/* 구독 별 · 티스토리 기본 구독 버튼(.btn_subscription)을 프로필 오른쪽에 붙인다.
   구독 중이면 base.js가 .following을 붙이므로 별이 채워진다. */
html#hELLO #sidebar .df-rail-brand {
  position: relative;
}

html#hELLO #sidebar #profile .df-rail-brand__text {
  padding-right: 38px;
}

html#hELLO #sidebar .df-sub-star {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--df-line);
  border-radius: 999px;
  background: transparent;
  color: var(--df-text-2);
  line-height: 0;
  cursor: pointer;
  transition: color 0.16s, border-color 0.16s, background-color 0.16s;
}

html#hELLO #sidebar .df-sub-star:hover {
  color: var(--df-accent);
  border-color: var(--df-accent);
}

html#hELLO #sidebar .df-sub-star:focus-visible {
  color: var(--df-accent);
  border-color: var(--df-accent);
  outline: 2px solid var(--df-accent);
  outline-offset: 2px;
}

html#hELLO #sidebar .df-sub-star svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html#hELLO #sidebar .df-sub-star .df-star-f {
  display: none;
}

html#hELLO #sidebar .df-sub-star.following {
  color: var(--df-accent);
  border-color: var(--df-accent);
  background: var(--df-accent-soft);
}

html#hELLO #sidebar .df-sub-star.following .df-star-o {
  display: none;
}

html#hELLO #sidebar .df-sub-star.following .df-star-f {
  display: block;
  fill: currentColor;
}


html#hELLO #sidebar .df-rail-section {
  padding: 22px 0;
  border-top: 1px solid var(--df-line);
}

html#hELLO #sidebar .df-rail-label {
  margin: 0 0 14px;
  font-family: var(--df-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--df-text-3);
}

/* search inside the rail */
html#hELLO #sidebar #search search.wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 9px 10px;
  background: var(--df-surface-2) !important;
  border: 1px solid transparent;
  border-radius: 9px;
  transition: border-color 0.18s, background-color 0.18s;
}

html#hELLO #sidebar #search search.wrap:focus-within {
  border-color: var(--df-line-strong);
  background: var(--df-surface) !important;
}

html#hELLO #sidebar #search .input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  padding: 0;
  font-family: var(--df-sans);
  font-size: 13px;
  color: var(--df-text) !important;
  background: transparent !important;
}

html#hELLO #sidebar #search .input::placeholder {
  color: var(--df-text-3);
}

html#hELLO #sidebar #search .ico {
  color: var(--df-text-3) !important;
  font-size: 12px;
}

html#hELLO #sidebar #search label {
  display: inline-flex;
  flex: none;
}

/* 마크업의 돋보기 SVG는 width/height가 없어 0×0으로 그려지고 있었습니다. */
html#hELLO #sidebar #search label svg {
  display: block;
  width: 14px;
  height: 14px;
  flex: none;
}

/* categories */
html#hELLO #category .tt_category {
  font-size: 13.5px;
}

html#hELLO #category .tt_category > ul {
  gap: 2px;
  row-gap: 2px;
}

html#hELLO #category .tt_category a {
  color: var(--df-text-2) !important;
  transition: color 0.16s;
}

html#hELLO #category .tt_category a:hover {
  color: var(--df-text) !important;
}

html#hELLO #category .tt_category .link_tit {
  display: flex;
  align-items: center;
  margin: 0 0 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--df-text-3) !important;
}

html#hELLO #category .tt_category .link_tit .c_cnt {
  margin-left: 6px;
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: var(--df-text-3);
}

/* The count is a unit: (15) must never break across lines, whatever the name
   next to it does. Without a fixed width it was squeezed into 13~17px and
   split into "(1" / "5)" under the narrow sub-category column. */
html#hELLO #category .tt_category .link_tit .c_cnt,
html#hELLO #category .tt_category .link_item .c_cnt,
html#hELLO #category .tt_category .link_sub_item .c_cnt {
  flex: 0 0 auto;
  min-width: max-content;
  white-space: nowrap;
  word-break: keep-all;
}

html#hELLO #category .tt_category ul.category_list {
  gap: 1px;
  row-gap: 1px;
  font-size: 13.5px;
}

html#hELLO #category .tt_category li {
  padding-right: 14px;
}

html#hELLO #category .tt_category .link_item,
html#hELLO #category .tt_category .link_sub_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 6px 0;
  border-radius: 6px;
  overflow-wrap: break-word;
}

html#hELLO #category .tt_category .link_item .c_cnt,
html#hELLO #category .tt_category .link_sub_item .c_cnt {
  font-size: 11px;
  color: var(--df-text-3);
  font-variant-numeric: tabular-nums;
}

/* A long sub-category name takes the extra lines; the count stays on the
   first line at the right edge instead of floating to the middle. The icon and
   the count line up with that first line too (20px row line box). */
html#hELLO #category .tt_category .link_item,
html#hELLO #category .tt_category .link_sub_item {
  align-items: flex-start;
}

html#hELLO #category .tt_category .link_item .c_cnt,
html#hELLO #category .tt_category .link_sub_item .c_cnt {
  padding-top: 2px;
}

html#hELLO #category .tt_category .link_item .df-cat-ico {
  margin-top: 2.5px;
}

html#hELLO #category .tt_category .df-cat-ico {
  display: inline-flex;
  width: 15px;
  height: 15px;
  margin-right: 7px;
  color: var(--df-text-3);
  flex: none;
}

html#hELLO #category .tt_category .df-cat-ico svg {
  width: 15px;
  height: 15px;
}

html#hELLO #category .tt_category .link_item:has(.df-cat-ico) {
  justify-content: flex-start;
}

html#hELLO #category .tt_category .link_item .df-cat-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: break-word;
  white-space: normal;
}

/* current category */
html#hELLO #category .tt_category li.on > .link_item,
html#hELLO #category .tt_category li.on > a.link_item {
  color: var(--df-text) !important;
  font-weight: 600;
}

/* fold control injected by hELLO's Alpine category component */
html#hELLO #category .tt_category ul li > i.fa-solid {
  right: 2px;
  top: 9px;
  width: 10px;
  height: 10px;
  font-size: 0;
  transition: transform 0.24s var(--df-ease);
}

html#hELLO #category .tt_category ul li > i.fa-solid::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  margin: 1px 0 0 1px;
  border-right: 1.4px solid var(--df-text-3);
  border-bottom: 1.4px solid var(--df-text-3);
  transform: rotate(-45deg);
  font-family: initial;
}

html#hELLO #category .tt_category ul li > i.fa-solid.rotate-90::before {
  transform: rotate(45deg);
}

html#hELLO #category .tt_category .sub_category_list {
  margin-top: 2px;
  padding-left: 24px;
  font-size: 12.5px;
}

html#hELLO #category .tt_category .sub_category_list li:first-child {
  margin-top: 2px;
}

html#hELLO #category .tt_category .sub_category_list .link_sub_item {
  padding: 4px 0;
  color: var(--df-text-3) !important;
}

html#hELLO #category .tt_category .sub_category_list .link_sub_item::before {
  content: none !important;
  display: none !important;
}

html#hELLO #category .tt_category .sub_category_list .link_sub_item:hover {
  color: var(--df-text) !important;
}

/* rail footer links */
html#hELLO #my-links .links {
  gap: 2px;
  row-gap: 2px;
}

html#hELLO #my-links .link .txt {
  display: flex;
  align-items: center;
  gap: 9px;
  line-height: 1.4;
}

html#hELLO #my-links .link a.link {
  font-size: 13.5px;
  color: var(--df-text-2) !important;
}

html#hELLO #my-links .link a.link:hover {
  color: var(--df-text) !important;
}

html#hELLO #my-links .ico,
html#hELLO .df-rail-link svg {
  display: inline-flex;
  width: 15px;
  height: 15px;
  color: var(--df-text-3);
  font-size: 0;
}

html#hELLO .df-rail-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  font-size: 13.5px;
  color: var(--df-text-2);
}

html#hELLO .df-rail-link:hover {
  color: var(--df-text);
}

html#hELLO .df-rail-link svg {
  width: 15px;
  height: 15px;
}

/* mask behind the slide-over rail */
html#hELLO #mask {
  background: rgba(10, 10, 10, 0.4) !important;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

/* 5. Hero ------------------------------------------------------------------ */
html#hELLO #global-header {
  width: min(100% - 2 * var(--df-gutter), 1100px);
  margin: 0 auto clamp(1.5rem, 3vw, 2.25rem);
  padding: clamp(2rem, 6vw, 4.75rem) 0 clamp(1.25rem, 2.5vw, 1.75rem);
}

html#hELLO .df-hero {
  width: 100%;
}

html#hELLO .df-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--df-text-3);
}

html#hELLO .df-hero__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--df-accent);
}

html#hELLO .df-hero__title {
  margin: 0;
  font-family: var(--df-sans);
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  font-weight: 620;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--df-text);
}

html#hELLO .df-hero__line {
  display: block;
  /* The rise animation masks each line, so the clip box is the line box and
     would shave the descenders of g, p and y. The padding gives the clip box
     room below the baseline and the negative margin keeps the layout as it
     was (line-height 1.02 stays untouched). */
  padding-bottom: 0.26em;
  margin-bottom: -0.26em;
  /* The same room above, for a word that lifts on hover (see
     .df-hero__word). It cannot be top padding: on the second line the
     matching negative margin only meets the first line's -0.26em bottom
     margin, the two collapse back to -0.26em, and the padding alone pushes
     the line 0.26em down. So the clip box grows by 0.26em here instead; a
     clip-path leaves the box and the flow exactly as they are, and the bottom
     edge stays at the padding edge (descenders show, the rise still hides). */
  clip-path: inset(-0.26em 0 0 0);
}

html#hELLO .df-hero__line > span {
  display: block;
}

/* One box per word so a word can lift on its own. The entrance rise stays on
   the line's inner wrapper above, so the two never write to the same transform:
   the wrapper owns translateY for the rise, the word owns only its own offset. */
html#hELLO .df-hero__word {
  display: inline-block;
  transform: translateY(0);
  /* df.js writes the hover/tap colour (a random sky -> violet) inline, and it
     fades on the same curve as the lift. The shadow sits at zero alpha while
     idle so the dark-mode bloom can animate instead of snapping in. */
  transition: transform 0.28s var(--df-ease), color 0.28s var(--df-ease),
    text-shadow 0.28s var(--df-ease);
  text-shadow: 0 0 18px color-mix(in srgb, currentColor 0%, transparent);
}

/* A mouse lifts the word while it is over it and lets it settle back on leave. */
@media (hover: hover) and (pointer: fine) {
  html#hELLO .df-hero__word:hover {
    transform: translateY(var(--df-hero-lift));
  }
}

/* Touch screens do not hover: df.js puts .is-lift on the tapped word and keeps
   it long enough for a short tap to be seen. */
html#hELLO .df-hero__word.is-lift {
  transform: translateY(var(--df-hero-lift));
}

/* The rise waits for the load screen: df.js puts .df-hero-play on <html> when
   #df-loader starts its fade-out, and only then do the lines run. Before that
   they sit in their start position, so the 900ms curtain no longer swallows
   the whole animation. Two ways out keep them from staying invisible: without
   JS there is no .df-js and the lines are simply visible, and the delayed
   snap below catches a play class that never arrives (script error, an
   animation event the browser never fires). */
html#hELLO.df-js .df-hero__line > span {
  /* Clear the whole clip box, padding included, so no sliver shows before the
     animation starts. */
  transform: translateY(calc(100% + 0.34em));
  opacity: 0;
}

html#hELLO.df-js:not(.df-hero-play) .df-hero__line > span {
  /* a separate name on purpose: if this used df-rise, adding .df-hero-play
     would retime the animation that is already running and drop the line into
     the middle of the rise instead of starting it */
  animation: df-hero-snap 0.001s linear 2.4s forwards;
}

html#hELLO.df-hero-play .df-hero__line > span {
  animation: df-rise 0.9s var(--df-ease) forwards;
  animation-delay: calc(var(--df-i, 0) * 90ms + 60ms);
}

html#hELLO .df-hero__line:nth-child(2) > span {
  --df-i: 1;
  color: var(--df-text-2);
}

html#hELLO .df-hero__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(1.75rem, 4vw, 3rem);
  padding-top: 16px;
  border-top: 1px solid var(--df-line);
  font-size: 12px;
  color: var(--df-text-3);
  letter-spacing: 0.02em;
}

html#hELLO .df-hero__section {
  font-weight: 600;
  color: var(--df-text-2);
}

html#hELLO .df-hero__links {
  display: flex;
  align-items: center;
  gap: 18px;
}

html#hELLO .df-hero__links a {
  color: var(--df-text-3);
}

html#hELLO .df-hero__links a:hover {
  color: var(--df-text);
}

@keyframes df-rise {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes df-hero-snap {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 5b. List ---------------------------------------------------------------- */
html#hELLO #list {
  width: min(100% - 2 * var(--df-gutter), 1100px);
  margin: 0 auto;
}

html#hELLO .df-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0 0 30px;
}

html#hELLO .df-filter__item {
  display: inline-flex;
  align-items: center;
  flex: none;
  max-width: 100%;
  gap: 6px;
  padding: 6px 11px;
  white-space: nowrap;
  word-break: keep-all;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--df-text-2);
  border: 1px solid var(--df-line);
  border-radius: 999px;
  background: transparent;
  transition: color 0.16s, border-color 0.16s, background-color 0.16s;
}

html#hELLO .df-filter__item:hover {
  color: var(--df-text);
  border-color: var(--df-line-strong);
}

html#hELLO .df-filter__item.is-on {
  color: var(--df-bg);
  background: var(--df-text);
  border-color: var(--df-text);
}

html#hELLO .df-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 216px;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  padding: clamp(1.5rem, 3vw, 2rem) 0;
  border-bottom: 1px solid var(--df-line);
}

html#hELLO .df-item:first-of-type {
  border-top: 1px solid var(--df-line);
}

html#hELLO #list .df-item__title img,
html#hELLO #list .df-item__meta img,
html#hELLO #df-search-links img,
html#hELLO #category .link_item img {
  display: none !important;
}

html#hELLO .df-item__title a {
  color: inherit;
  text-decoration: none;
}

html#hELLO .df-item__body {
  min-width: 0;
  max-width: 720px;
  order: 1;
}

html#hELLO a.df-item__thumb {
  order: 2;
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 9px;
  border: 1px solid var(--df-line);
  background: var(--df-surface-2);
}

html#hELLO .df-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--df-ease), opacity 0.4s;
}

html#hELLO .df-item:hover .df-item__thumb img {
  transform: scale(1.035);
}

html#hELLO .df-item__meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
  font-size: 11.5px;
  color: var(--df-text-3);
  letter-spacing: 0.03em;
}

html#hELLO .df-item__cat .df-cat-parent {
  display: none;
  color: var(--df-text-3);
  font-weight: 500;
}

@media (min-width: 720px) {
  html#hELLO .df-item__cat .df-cat-parent {
    display: inline;
  }
}

html#hELLO .df-item__cat {
  color: var(--df-accent);
  font-weight: 600;
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html#hELLO .df-item__dot {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: var(--df-text-3);
  opacity: 0.7;
  flex: none;
}

html#hELLO .df-item__date {
  flex: none;
  font-variant-numeric: tabular-nums;
}

html#hELLO .df-item__title {
  margin: 0 0 8px;
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  font-weight: 620;
  line-height: 1.38;
  letter-spacing: -0.022em;
  color: var(--df-text);
  transition: color 0.18s;
}

html#hELLO .df-item:hover .df-item__title {
  color: var(--df-accent);
}

html#hELLO .df-item__summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--df-text-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

html#hELLO .df-item--notext .df-item__thumb {
  order: 1;
}

/* empty state */
html#hELLO #empty {
  margin: 40px 0;
  padding: 56px 20px;
  text-align: center;
  background: transparent;
  border: 1px dashed var(--df-line-strong);
  border-radius: 12px;
  color: var(--df-text-2);
}

html#hELLO #empty .txt {
  font-size: 15px;
  color: var(--df-text);
}

html#hELLO #empty .desc {
  margin-top: 6px;
  font-size: 13px;
  color: var(--df-text-2);
}

/* paging */
html#hELLO #paging {
  gap: 4px;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

html#hELLO #paging a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--df-text-2);
  font-variant-numeric: tabular-nums;
  transition: color 0.16s, background-color 0.16s;
}

html#hELLO #paging a:hover {
  color: var(--df-text);
  background: var(--df-surface-2);
}

html#hELLO #paging span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin: 0;
  font-size: 13px;
  line-height: 1;
  color: inherit;
}

html#hELLO #paging span:not(.selected) {
  display: inline-flex !important;
}

html#hELLO #paging .selected {
  color: var(--df-text) !important;
  font-weight: 600;
  background: transparent !important;
  border-radius: 0;
}

html#hELLO #paging .num a:has(.selected) {
  background: var(--df-surface-2);
  color: var(--df-text);
}

html#hELLO #paging i.ico {
  display: inline-flex;
  width: 14px;
  height: 14px;
  margin: 0;
  font-size: 0;
  color: var(--df-text-2);
}

html#hELLO #paging .link.no-more-prev,
html#hELLO #paging .link.no-more-next {
  opacity: 0.32;
  pointer-events: none;
}

/* 6. Article --------------------------------------------------------------- */
html#hELLO .permalink-container {
  width: min(100% - 2 * var(--df-gutter), 720px);
  padding-left: 0;
  padding-right: 0;
}

/* Room for the fixed top bar (60px). Without it the post head - the category
   chip, the date and read time, and the owner's 수정/삭제/공개 row - starts at
   36px and sits under the bar, where the bar takes the clicks.
   Below 1100px #main already carries a 60px top padding for that bar, so the
   post only adds its own breathing room there; from 1100px up the bar offset
   has to be part of this padding. */
html#hELLO #post {
  padding-top: 2.75rem;
}

@media (min-width: 1100px) {
  html#hELLO #post {
    padding-top: calc(60px + 2.75rem);
  }
}

html#hELLO #post > #header {
  width: min(100% - 2 * var(--df-gutter), 720px);
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  padding: 0;
}

@media (min-width: 1240px) {
  html#hELLO #post > #header {
    width: min(100% - 2 * var(--df-gutter), 1016px);
    padding-right: 296px;
  }
}

html#hELLO .df-post-head {
  padding: clamp(1rem, 4vw, 2.5rem) 0 clamp(1.25rem, 3vw, 1.75rem);
  border-bottom: 1px solid var(--df-line);
}

html#hELLO .df-post-head__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 18px;
  font-size: 12px;
  color: var(--df-text-3);
  letter-spacing: 0.02em;
}

html#hELLO .df-post-head__cat {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  white-space: nowrap;
  word-break: keep-all;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 4px 9px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--df-accent);
  background: var(--df-accent-soft);
  border-radius: 6px;
}

html#hELLO .df-post-head__cat:hover {
  color: var(--df-accent);
  background: var(--df-accent-soft);
  opacity: 0.8;
}

html#hELLO .df-post-head__title {
  margin: 0;
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  font-weight: 640;
  line-height: 1.24;
  letter-spacing: -0.03em;
  color: var(--df-text);
  text-align: left;
}

html#hELLO .df-readtime {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: max-content;
  gap: 5px;
  white-space: nowrap;
  word-break: keep-all;
  color: var(--df-text-3);
}

html#hELLO .df-readtime svg {
  width: 13px;
  height: 13px;
  flex: none;
}

html#hELLO .df-readtime span {
  display: inline-block;
  white-space: nowrap;
  word-break: keep-all;
}

html#hELLO .df-readtime:empty {
  display: none;
}

html#hELLO #admin {
  display: inline-flex;
  gap: 8px;
  margin-left: auto;
}

html#hELLO #admin a,
html#hELLO #admin button {
  font-size: 11.5px;
  color: var(--df-text-3);
  background: none;
  border: 0;
  cursor: pointer;
}

html#hELLO #admin a:hover,
html#hELLO #admin button:hover {
  color: var(--df-text);
}

/* body copy */
html#hELLO #article .contents_style {
  font-family: var(--df-sans);
  font-size: 16.5px;
  line-height: 1.82;
  letter-spacing: -0.006em;
  color: var(--df-text) !important;
  padding: 0;
}

html#hELLO #article .contents_style > p,
html#hELLO #article .contents_style > ul,
html#hELLO #article .contents_style > ol {
  margin: 0 0 1.35em;
  color: var(--df-text) !important;
}

html#hELLO #article .contents_style > p[data-ke-size] {
  font-size: 16.5px;
  line-height: 1.82;
}

html#hELLO #article .contents_style h2 {
  margin: 3.2em 0 0.9em;
  font-size: 1.4375rem;
  font-weight: 650;
  line-height: 1.42;
  letter-spacing: -0.025em;
  color: var(--df-text);
}

html#hELLO #article .contents_style h2:first-child {
  margin-top: 1.2em;
}

html#hELLO #article .contents_style h3 {
  margin: 2.4em 0 0.7em;
  font-size: 1.1875rem;
  font-weight: 620;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--df-text);
}

html#hELLO #article .contents_style h4 {
  margin: 2em 0 0.6em;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.015em;
  color: var(--df-text);
}

html#hELLO #article .contents_style h2 a,
html#hELLO #article .contents_style h3 a,
html#hELLO #article .contents_style h4 a {
  color: inherit !important;
}

html#hELLO #article .contents_style h2 a::after,
html#hELLO #article .contents_style h3 a::after {
  content: "";
  display: inline-block;
  width: 0;
}

html#hELLO #article .contents_style a {
  color: var(--df-accent) !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--df-accent) 40%, transparent);
}

html#hELLO #article .contents_style a:hover {
  text-decoration-color: var(--df-accent);
}

html#hELLO #article .contents_style strong,
html#hELLO #article .contents_style b {
  font-weight: 650;
  color: var(--df-text);
}

html#hELLO #article .contents_style ul[data-ke-list-type],
html#hELLO #article .contents_style ol[data-ke-list-type] {
  gap: 0.45em;
  padding-left: 1.25em;
  margin: 0 0 1.35em;
}

html#hELLO #article .contents_style ul[data-ke-list-type] > li,
html#hELLO #article .contents_style ol[data-ke-list-type] > li {
  color: var(--df-text);
}

html#hELLO #article .contents_style ul[data-ke-list-type] > li::marker,
html#hELLO #article .contents_style ol[data-ke-list-type] > li::marker {
  color: var(--df-text-3);
}

html#hELLO #article .contents_style hr[data-ke-style] {
  margin: 3em 0;
  height: 0;
  border: 0;
  border-top: 1px solid var(--df-line);
  background: none;
}

html#hELLO #article .contents_style img {
  border-radius: 10px;
}

/* Tistory keeps each image at its original width on mobile
   (figure[data-ke-mobileStyle="widthOrigin"]), which is what pushed the
   Evaluation posts past a 375px viewport. Every body element is capped here
   instead of clipped, so the reader sees the whole image. */
html#hELLO #article .contents_style img,
html#hELLO #article .contents_style figure img,
html#hELLO #article .contents_style span[data-url] img {
  max-width: 100% !important;
  height: auto !important;
}

html#hELLO #article .contents_style figure[data-ke-type="image"],
html#hELLO #article .contents_style figure.imageblock,
html#hELLO #article .contents_style figure.imagegridblock {
  max-width: 100% !important;
}

html#hELLO #article .contents_style figure[data-ke-type="opengraph"],
html#hELLO #article .contents_style figure[data-ke-type="opengraph"] a {
  max-width: 100%;
  min-width: 0;
}

html#hELLO #article .contents_style figure[data-ke-type="opengraph"] .og-text,
html#hELLO #article .contents_style figure[data-ke-type="opengraph"] .og-title,
html#hELLO #article .contents_style figure[data-ke-type="opengraph"] .og-desc,
html#hELLO #article .contents_style figure[data-ke-type="opengraph"] .og-host {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

html#hELLO #article .contents_style figure figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--df-text-3);
  text-align: center;
}

html#hELLO #article .contents_style code:not(:where(pre *)) {
  padding: 2px 6px;
  font-family: var(--df-mono) !important;
  font-size: 0.86em;
  border-radius: 5px;
  background: var(--df-surface-2) !important;
  border: 1px solid var(--df-line);
  color: var(--df-text);
  white-space: normal;
}

html#hELLO #article .contents_style .notion-code {
  padding: 2px 6px;
  font-family: var(--df-mono) !important;
  font-size: 0.86em;
  border-radius: 5px;
  background: var(--df-surface-2);
  border: 1px solid var(--df-line);
  color: var(--df-text);
}

/* 6b. TOC ---------------------------------------------------------------- */
html#hELLO #toc {
  padding: 0;
  margin: 0 0 2.5rem;
  background: transparent !important;
  color: var(--df-text) !important;
  border: 0;
}

html#hELLO #toc .df-toc__title {
  margin: 0 0 14px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--df-text-3);
}

html#hELLO #toc .df-toc__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--df-line);
}

html#hELLO #toc .df-toc__item {
  margin: 0;
  padding: 0;
}

html#hELLO #toc .df-toc__link {
  display: block;
  padding: 6px 0 6px 14px;
  margin-left: -1px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--df-text-3);
  border-left: 1px solid transparent;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.16s, border-color 0.16s;
}

html#hELLO #toc .df-toc__item.is-h3 .df-toc__link {
  padding-left: 26px;
  font-size: 12px;
}

html#hELLO #toc .df-toc__item.is-h4 .df-toc__link {
  padding-left: 34px;
  font-size: 11.5px;
}

html#hELLO #toc .df-toc__link:hover {
  color: var(--df-text);
}

html#hELLO #toc .df-toc__item.is-active .df-toc__link {
  color: var(--df-text);
  border-left-color: var(--df-accent);
  font-weight: 500;
}

html#hELLO #scrollspy {
  display: none !important;
}

@media (min-width: 1240px) {
  html#hELLO #content.permalink-container {
    width: min(100% - 2 * var(--df-gutter), 1016px);
    display: grid;
    grid-template-columns: minmax(0, 720px) 224px;
    column-gap: 72px;
    align-items: start;
  }

  html#hELLO #content > #toc {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 92px;
    margin: 8px 0 0;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }

  html#hELLO #content > #toc::-webkit-scrollbar {
    width: 0;
  }

  html#hELLO #content > #article {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  html#hELLO #content > #toc .df-toc__link {
    white-space: normal;
  }
}

/* 7. Code / table / quote -------------------------------------------------- */
html#hELLO #article .contents_style pre {
  position: relative;
  margin: 1.75em 0;
  padding: 0;
  overflow: hidden;
  background: var(--df-surface-2) !important;
  border: 1px solid var(--df-line);
  border-radius: 12px;
}

html#hELLO #article .contents_style pre code {
  display: block;
  padding: 18px 20px;
  overflow-x: auto;
  font-family: var(--df-mono) !important;
  font-size: 13px;
  line-height: 1.75;
  tab-size: 2;
  background: transparent !important;
  border-radius: 0;
  color: var(--df-text);
  -webkit-overflow-scrolling: touch;
}

html#hELLO #article .contents_style pre code.hljs {
  background: transparent !important;
  padding: 18px 20px;
}

html#hELLO .df-code {
  margin: 1.75em 0;
  border-radius: 12px;
  background: var(--df-surface-2);
  border: 1px solid var(--df-line);
  overflow: hidden;
}

html#hELLO .df-code pre {
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html#hELLO .df-code__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px 8px 16px;
  border-bottom: 1px solid var(--df-line);
  background: color-mix(in srgb, var(--df-text) 3%, transparent);
}

html#hELLO .df-code__lang {
  font-family: var(--df-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--df-text-3);
}

html#hELLO .df-code__copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  font-family: var(--df-sans);
  font-size: 11.5px;
  color: var(--df-text-3);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.16s, background-color 0.16s, border-color 0.16s;
}

html#hELLO .df-code__copy:hover {
  color: var(--df-text);
  background: var(--df-surface);
  border-color: var(--df-line);
}

html#hELLO .df-code__copy.is-done {
  color: var(--df-accent);
}

html#hELLO .df-code__copy svg {
  width: 13px;
  height: 13px;
}

/* tables: Tistory wraps them in a horizontal scroll container */
html#hELLO #article .contents_style table[data-ke-align] {
  width: 100%;
  margin: 1.75em 0;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
  border: 0;
  overflow: hidden;
}

html#hELLO #article .contents_style table,
html#hELLO #article .contents_style [data-horizontal-scroll="true"] {
  max-width: 100%;
}

html#hELLO #article .contents_style [data-horizontal-scroll="true"] {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--df-line);
  border-radius: 10px;
  padding: 0 12px;
  background: var(--df-surface);
}

html#hELLO #article .contents_style [data-horizontal-scroll="true"] table {
  margin: 0 !important;
}

html#hELLO #article .contents_style table[data-ke-align] th,
html#hELLO #article .contents_style table[data-ke-align] td {
  padding: 11px 12px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--df-line) !important;
  background: transparent !important;
  color: var(--df-text);
  vertical-align: top;
}

html#hELLO #article .contents_style table[data-ke-align] tr:last-child td {
  border-bottom: 0 !important;
}

html#hELLO #article .contents_style table[data-ke-align] th,
html#hELLO #article .contents_style table[data-ke-align] tr:first-child td {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--df-text-2);
  border-bottom: 1px solid var(--df-line-strong) !important;
}

html#hELLO #article .contents_style blockquote[data-ke-style] {
  margin: 1.75em 0;
  padding: 4px 0 4px 20px;
  font-family: var(--df-sans) !important;
  font-size: 16px;
  line-height: 1.8;
  color: var(--df-text-2) !important;
  border-left: 2px solid var(--df-accent);
  background: transparent !important;
  border-radius: 0;
  font-style: normal;
}

html#hELLO #article .contents_style blockquote[data-ke-style][data-ke-style="style1"] {
  padding: 20px 0 20px 22px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--df-text) !important;
  border-left-color: var(--df-text);
}

html#hELLO #article .contents_style blockquote[data-ke-style][data-ke-style="style3"] {
  padding: 18px 20px;
  border-left: 0;
  border-radius: 10px;
  background: var(--df-surface-2) !important;
}

html#hELLO #article .contents_style [data-ke-type="moreLess"] .btn-toggle-moreless {
  background: var(--df-surface) !important;
  border: 1px solid var(--df-line) !important;
  color: var(--df-text) !important;
  border-radius: 8px !important;
  font-size: 12px !important;
}

/* Tistory post action bar (like / share / copy) */
html#hELLO #article .container_postbtn {
  padding-top: 2rem;
  gap: 6px;
  color: var(--df-text-2) !important;
}

html#hELLO #article .container_postbtn .postbtn_like > .wrap_btn:not([id^="reaction-"]) > button,
html#hELLO #article .container_postbtn .btn_subscription,
html#hELLO #article .container_postbtn .tt-btn-support {
  background: var(--df-surface) !important;
  border: 1px solid var(--df-line) !important;
  border-radius: 9px !important;
  color: var(--df-text-2) !important;
}

html#hELLO #article .container_postbtn .postbtn_like > .wrap_btn:not([id^="reaction-"]) > button:hover {
  border-color: var(--df-line-strong) !important;
  color: var(--df-text) !important;
}

/* 8. Tags / post nav / author --------------------------------------------- */
html#hELLO #tags {
  gap: 6px !important;
  margin: 22px 0 0;
  font-size: 0 !important;
}

html#hELLO #tags a {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  font-size: 12px;
  color: var(--df-text-2) !important;
  background: var(--df-surface-2);
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none !important;
}

html#hELLO #tags a:hover {
  color: var(--df-text) !important;
  border-color: var(--df-line-strong);
}

html#hELLO .df-postnav:empty {
  display: none;
}

html#hELLO .df-postnav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 40px 0 8px;
}

html#hELLO .df-postnav__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--df-line);
  border-radius: 10px;
  transition: border-color 0.18s, background-color 0.18s;
}

html#hELLO .df-postnav__item:hover {
  border-color: var(--df-line-strong);
  background: var(--df-surface);
}

html#hELLO .df-postnav__item.is-next {
  text-align: right;
  align-items: flex-end;
}

html#hELLO .df-postnav__label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--df-text-3);
}

html#hELLO .df-postnav__title {
  font-size: 13.5px;
  font-weight: 550;
  line-height: 1.5;
  color: var(--df-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

html#hELLO #footer {
  margin-bottom: 4rem;
}

html#hELLO #author {
  margin-top: 36px;
  padding: 26px 0;
  border-top: 1px solid var(--df-line);
  border-bottom: 0;
  gap: 14px;
  align-items: center;
}

html#hELLO #author img.thumb {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--df-line);
}

html#hELLO #author .blogger {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--df-text) !important;
}

html#hELLO #author .desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--df-text-2) !important;
}

/* related posts */
html#hELLO #related {
  margin: 32px 0 0;
  padding: 20px 22px;
  background: var(--df-surface) !important;
  border: 1px solid var(--df-line);
  border-radius: 12px;
  color: var(--df-text) !important;
}

html#hELLO #related .tit {
  font-size: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--df-line);
  color: var(--df-text-2);
}

html#hELLO #related .post a.tit {
  padding: 0;
  border: 0;
  font-size: 13.5px;
  color: var(--df-text-2);
}

html#hELLO #related .post a.tit:hover {
  color: var(--df-text);
}

/* comments area — Tistory renders it, so only rhythm and surfaces are touched */
html#hELLO #replies {
  margin-top: 2rem;
}

html#hELLO #group {
  font-family: var(--df-sans);
}

/* tag cloud page */
html#hELLO #tag ul.tags {
  gap: 8px;
}

html#hELLO #tag .tag a.link {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--df-text-2) !important;
  background: var(--df-surface) !important;
  border: 1px solid var(--df-line);
  border-radius: 10px;
  transition: color 0.16s, border-color 0.16s, transform 0.2s var(--df-ease);
}

html#hELLO #tag .tag a.link:hover {
  color: var(--df-text) !important;
  border-color: var(--df-line-strong);
  background: var(--df-surface) !important;
  transform: translateY(-1px);
}

/* guestbook / protected */
html#hELLO #guestbook,
html#hELLO #protected {
  width: min(100% - 2 * var(--df-gutter), 720px);
}

html#hELLO #protected .tit {
  color: var(--df-text) !important;
}

html#hELLO #protected .input {
  background: var(--df-surface) !important;
  border: 1px solid var(--df-line) !important;
  color: var(--df-text) !important;
  border-radius: 8px;
}

/* 9. Search overlay -------------------------------------------------------- */
html#hELLO .df-search {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(4rem, 12vh, 9rem) 1rem 1rem;
}

html#hELLO .df-search[hidden] {
  display: none;
}

html#hELLO .df-search__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 14, 0.42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.24s var(--df-ease-soft);
}

html#hELLO .df-search.is-open .df-search__backdrop {
  opacity: 1;
}

html#hELLO .df-search__panel {
  position: relative;
  width: min(100%, 620px);
  background: var(--df-surface);
  border: 1px solid var(--df-line);
  border-radius: 16px;
  box-shadow: var(--df-shadow-lg);
  overflow: hidden;
  transform: translateY(-10px) scale(0.985);
  opacity: 0;
  transition: transform 0.28s var(--df-ease), opacity 0.24s var(--df-ease-soft);
}

html#hELLO .df-search.is-open .df-search__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

html#hELLO .df-search__form {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--df-line);
}

html#hELLO .df-search__form svg {
  width: 18px;
  height: 18px;
  color: var(--df-text-3);
  flex: none;
}

html#hELLO .df-search__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  font-family: var(--df-sans);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--df-text);
  background: transparent;
  border: 0;
  outline: none;
}

html#hELLO .df-search__input::placeholder {
  color: var(--df-text-3);
  font-weight: 400;
}

html#hELLO .df-search__esc {
  flex: none;
  padding: 3px 6px;
  font-family: var(--df-sans);
  font-size: 10.5px;
  color: var(--df-text-3);
  border: 1px solid var(--df-line);
  border-radius: 5px;
}

html#hELLO .df-search__body {
  padding: 14px 10px 16px;
}

html#hELLO .df-search__hint {
  padding: 0 12px 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--df-text-3);
}

html#hELLO .df-search__list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

html#hELLO .df-search__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  font-size: 13.5px;
  color: var(--df-text-2);
  border-radius: 8px;
  transition: color 0.14s, background-color 0.14s;
}

html#hELLO .df-search__link:hover,
html#hELLO .df-search__link:focus-visible {
  color: var(--df-text);
  background: var(--df-surface-2);
}

html#hELLO .df-search__link span.cnt {
  font-size: 11px;
  color: var(--df-text-3);
  font-variant-numeric: tabular-nums;
}

html#hELLO .df-search__foot {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 11px 20px;
  font-size: 11px;
  color: var(--df-text-3);
  border-top: 1px solid var(--df-line);
  background: color-mix(in srgb, var(--df-text) 2%, transparent);
}

html#hELLO .df-search__foot kbd {
  padding: 2px 5px;
  font-family: var(--df-sans);
  font-size: 10px;
  color: var(--df-text-2);
  border: 1px solid var(--df-line);
  border-radius: 4px;
}

html#hELLO.df-search-open,
html#hELLO.df-search-open body {
  overflow: hidden;
}

/* 9b. Subscribe sheet ------------------------------------------------------ */
/* Tistory's own follow flow needs the *.tistory.com login cookie, so on the
   custom domain every visitor is a guest and its button only opens a popup
   that comes back with nothing changed. df.js opens this sheet there instead,
   with the two routes that do work from the custom domain: the RSS feed and a
   Tistory page opened in its own window. On the tistory.com host the sheet is
   never opened and Tistory's native button keeps its behaviour. */
html#hELLO .df-sub {
  position: fixed;
  inset: 0;
  z-index: 9600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

html#hELLO .df-sub[hidden] {
  display: none;
}

html#hELLO .df-sub__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 14, 0.34);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  backdrop-filter: blur(10px) saturate(120%);
  opacity: 0;
  transition: opacity 0.24s var(--df-ease-soft);
}

html#hELLO .df-sub.is-open .df-sub__backdrop {
  opacity: 1;
}

html#hELLO .df-sub__panel {
  position: relative;
  width: min(100%, 460px);
  max-height: calc(100dvh - 2.5rem);
  overflow-y: auto;
  padding: 26px 26px 24px;
  background: var(--df-surface);
  border: 1px solid var(--df-line);
  border-radius: 18px;
  box-shadow: var(--df-shadow-lg);
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: transform 0.34s var(--df-ease), opacity 0.26s var(--df-ease-soft);
  outline: none;
}

html#hELLO .df-sub.is-open .df-sub__panel {
  opacity: 1;
  transform: none;
}

html#hELLO .df-sub__x {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--df-text-3);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.16s, background-color 0.16s, border-color 0.16s;
}

html#hELLO .df-sub__x svg {
  width: 15px;
  height: 15px;
}

html#hELLO .df-sub__x:hover {
  color: var(--df-text);
  background: var(--df-surface-2);
  border-color: var(--df-line);
}

html#hELLO .df-sub__eyebrow {
  margin: 0 0 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--df-text-3);
}

html#hELLO .df-sub__title {
  margin: 0;
  font-size: 20px;
  font-weight: 640;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--df-text);
}

html#hELLO .df-sub__desc {
  margin: 7px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--df-text-2);
}

html#hELLO .df-sub__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

html#hELLO .df-sub__opt {
  padding: 15px 15px 14px;
  border: 1px solid var(--df-line);
  border-radius: 12px;
}

html#hELLO .df-sub__opt-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

html#hELLO .df-sub__badge {
  flex: 0 0 auto;
  padding: 2px 6px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--df-text-3);
  border: 1px solid var(--df-line);
  border-radius: 5px;
}

html#hELLO .df-sub__opt-title {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--df-text);
}

html#hELLO .df-sub__opt-desc {
  margin: 8px 0 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--df-text-2);
}

html#hELLO .df-sub__row {
  display: flex;
  align-items: center;
  gap: 8px;
}

html#hELLO .df-sub__url {
  flex: 1 1 auto;
  min-width: 0;
  padding: 8px 10px;
  font-family: var(--df-mono);
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--df-text-2);
  background: color-mix(in srgb, var(--df-text) 3%, transparent);
  border: 1px solid var(--df-line);
  border-radius: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-user-select: all;
  user-select: all;
}

html#hELLO .df-sub__copy {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 11px;
  font-family: var(--df-sans);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--df-text);
  background: var(--df-surface);
  border: 1px solid var(--df-line-strong);
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.16s, border-color 0.16s, background-color 0.16s;
}

html#hELLO .df-sub__copy svg {
  width: 12px;
  height: 12px;
}

html#hELLO .df-sub__copy .i-check {
  display: none;
}

html#hELLO .df-sub__copy:hover {
  border-color: var(--df-text-3);
}

html#hELLO .df-sub__copy.is-done {
  color: var(--df-accent);
  border-color: var(--df-accent);
  background: var(--df-accent-soft);
}

html#hELLO .df-sub__copy.is-done .i-copy {
  display: none;
}

html#hELLO .df-sub__copy.is-done .i-check {
  display: block;
}

html#hELLO .df-sub__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 34px;
  font-family: var(--df-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--df-bg);
  background: var(--df-text);
  border: 1px solid var(--df-text);
  border-radius: 9px;
  cursor: pointer;
  transition: opacity 0.16s;
}

html#hELLO .df-sub__cta svg {
  width: 12px;
  height: 12px;
}

html#hELLO .df-sub__cta:hover {
  opacity: 0.86;
}

html#hELLO .df-sub__fb {
  min-height: 0;
  margin: 8px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--df-accent);
}

html#hELLO .df-sub__fb:empty {
  display: none;
}

html#hELLO.df-sub-open,
html#hELLO.df-sub-open body {
  overflow: hidden;
}

/* 10. Motion --------------------------------------------------------------- */
html#hELLO .df-reveal {
  opacity: 0;
  transform: translateY(14px);
}

html#hELLO .df-reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.62s var(--df-ease), transform 0.62s var(--df-ease);
  transition-delay: calc(var(--df-order, 0) * 60ms);
}

html#hELLO #main {
  animation: df-in 0.5s var(--df-ease-soft) both;
}

@keyframes df-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html#hELLO * {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }

  html#hELLO .df-reveal {
    opacity: 1;
    transform: none;
  }

  html#hELLO .df-hero__line > span,
  html#hELLO.df-js .df-hero__line > span,
  html#hELLO.df-js:not(.df-hero-play) .df-hero__line > span {
    opacity: 1;
    transform: none;
    animation: none;
  }

  html#hELLO .df-hero__word {
    transform: none !important;
    transition: none !important;
  }

  html#hELLO #main {
    animation: none;
  }
}

/* 11. Responsive ----------------------------------------------------------- */
@media (max-width: 1099px) {
  html#hELLO #main {
    padding-top: 60px;
  }

  html#hELLO #list,
  html#hELLO #global-header {
    width: min(100% - 2rem, 880px);
  }

  html#hELLO #post > #header {
    width: min(100% - 2rem, 720px);
  }

  html#hELLO .df-post-head {
    padding-top: 8px;
  }

  html#hELLO .permalink-container {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* a phone keeps the same 60px from #main and adds a tighter 28px */
  html#hELLO #post {
    padding-top: 1.75rem;
  }

  html#hELLO #toc {
    padding: 0;
    margin: 0 0 2rem;
  }
}

@media (max-width: 719px) {
  html#hELLO .df-item {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 16px;
    padding: 22px 0;
  }

  html#hELLO .df-item__thumb {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
  }

  html#hELLO .df-item__title {
    font-size: 16px;
    line-height: 1.42;
  }

  html#hELLO .df-item__summary {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }

  html#hELLO .df-item__meta {
    margin-bottom: 7px;
    font-size: 10.5px;
    gap: 7px;
  }

  html#hELLO .df-hero__title {
    font-size: clamp(2rem, 9vw, 2.75rem);
    letter-spacing: -0.03em;
    /* a smaller type size gets a smaller lift, so it reads the same */
    --df-hero-lift: -5px;
  }

  html#hELLO .df-hero__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Chips wrap onto another line instead of running past the viewport. */
  html#hELLO .df-filter {
    flex-wrap: wrap;
    max-width: 100%;
    margin-right: 0;
    padding-right: 0;
  }

  html#hELLO #article .contents_style,
  html#hELLO #article .contents_style > p[data-ke-size] {
    font-size: 16px;
    line-height: 1.8;
  }

  html#hELLO #article .contents_style h2 {
    font-size: 1.25rem;
  }

  html#hELLO #article .contents_style h3 {
    font-size: 1.125rem;
  }

  html#hELLO #article .contents_style pre,
  html#hELLO .df-code {
    margin-left: -1rem;
    margin-right: -1rem;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  html#hELLO #article .contents_style pre code,
  html#hELLO #article .contents_style pre code.hljs {
    padding: 14px 16px;
    font-size: 12.5px;
  }

  html#hELLO .df-post-head__title {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  html#hELLO .df-postnav {
    grid-template-columns: 1fr;
  }

  html#hELLO .df-postnav__item.is-next {
    text-align: left;
    align-items: flex-start;
  }

  html#hELLO .df-search {
    padding-top: 12vh;
  }

  html#hELLO .df-search__panel {
    border-radius: 14px;
  }

  html#hELLO .df-sub {
    padding: 1rem;
  }

  html#hELLO .df-sub__panel {
    padding: 22px 18px 18px;
    border-radius: 16px;
  }

  html#hELLO .df-sub__title {
    font-size: 18px;
  }
}

/* Loader: plays on every page entry; colours follow the theme tokens */
html#hELLO #df-loader .df-loader__word {
  font-family: var(--df-sans);
  font-weight: 620;
  font-size: clamp(2rem, 6vw, 4.25rem);
  letter-spacing: -0.04em;
}

/* ----------------------------------------------------------------------------
   Readability bump (2026-11-26): category chips, meta lines and headlines are a
   step larger on desktop only. Everything below starts at 720px, so the
   (max-width: 719px) block above keeps every mobile size it already had.
   ------------------------------------------------------------------------- */
@media (min-width: 720px) {
  /* Filter chips 12.5 → 14px; padding grows with the type so the pill balance holds */
  html#hELLO .df-filter__item {
    padding: 7px 14px;
    font-size: 14px;
  }

  /* List row meta — category · date (and anything else in the row) 11.5 → 13px */
  html#hELLO .df-item__meta {
    font-size: 13px;
  }

  /* Article head meta — date + time and the reading-time badge inherit this 12 → 13px */
  html#hELLO .df-post-head__meta {
    font-size: 13px;
  }

  /* The category chip inside that row carries its own 11.5px; match the row at 13px */
  html#hELLO .df-post-head__cat {
    padding: 5px 10px;
    font-size: 13px;
  }

  /* Headlines +2px at both ends of the clamp (17~21 → 19~23 / 28~40 → 30~42) */
  html#hELLO .df-item__title {
    font-size: clamp(1.1875rem, 1.75vw, 1.4375rem);
  }

  html#hELLO .df-post-head__title {
    font-size: clamp(1.875rem, 3.6vw, 2.625rem);
  }
}

/* ---------------------------------------------------------------------------
   Dark-only neon accents (2026-11-26)
   Colour, rule and glow taken from cyberpunk-preview/cyberpunk.css, applied to
   the dark theme only and without any layout change. Every rule below starts
   with html#hELLO.dark, so light mode has no matching declaration and keeps its
   previous rendering.
     a. reading progress: cyan into one magenta stop, with a soft bloom
     b. top bar: cyan hairline while the frosted bar is stuck
     c. TOC: cyan rail and wash on the active entry
     d. quote: cyan rail and wash
     e. list row: hover title, row rule and thumbnail ring in cyan
     f. sidebar: obsidian glass, cyan hairlines, profile ring, cyan link hover
   ------------------------------------------------------------------------- */
html#hELLO.dark {
  --df-neon: #00f0ff;
  --df-neon-magenta: #ff2a85;
  --df-neon-line: rgba(0, 240, 255, 0.16);
  --df-neon-line-strong: rgba(0, 240, 255, 0.34);
  --df-neon-glow: rgba(0, 240, 255, 0.42);
  --df-neon-glow-soft: rgba(0, 240, 255, 0.14);
  --df-neon-wash: rgba(0, 240, 255, 0.035);
}

/* a. reading progress bar */
html#hELLO.dark #indicator .bar {
  background: linear-gradient(
    90deg,
    var(--df-neon) 0%,
    var(--df-neon) 62%,
    var(--df-neon-magenta) 100%
  ) !important;
  box-shadow: 0 0 10px var(--df-neon-glow), 0 0 2px var(--df-neon-glow);
}

/* b. hairline under the glass top bar (df.css owns ::before) */
html#hELLO.dark #top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 240, 255, 0.46) 22%,
    rgba(0, 240, 255, 0.46) 78%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.24s var(--df-ease-soft);
}

html#hELLO.dark #top.is-stuck::after,
html#hELLO.dark #top:focus-within::after {
  opacity: 0.5;
}

/* c. table of contents */
html#hELLO.dark #toc .df-toc__list {
  border-left-color: var(--df-neon-line);
}

/* No box-shadow here: a blurred shadow around the whole link reads as a stray
   highlighted box. The rail plus the wash is enough. */
html#hELLO.dark #toc .df-toc__item.is-active .df-toc__link {
  color: var(--df-neon);
  border-left-color: var(--df-neon);
  background: linear-gradient(90deg, var(--df-neon-glow-soft), transparent 72%);
}

/* d. quote */
html#hELLO.dark #article .contents_style blockquote[data-ke-style] {
  border-left-color: var(--df-neon);
  background: var(--df-neon-wash) !important;
}

html#hELLO.dark #article .contents_style blockquote[data-ke-style][data-ke-style="style1"] {
  border-left-color: var(--df-neon);
  box-shadow: -2px 0 18px -6px var(--df-neon-glow);
}

html#hELLO.dark #article .contents_style blockquote[data-ke-style][data-ke-style="style3"] {
  border-left: 0;
  background: var(--df-neon-wash) !important;
}

/* e. list rows: hover was the only place --df-accent (violet) met the reader
   on the index, so it turns cyan here */
html#hELLO.dark .df-item {
  transition: border-color 0.2s var(--df-ease-soft);
}

html#hELLO.dark .df-item:hover {
  border-bottom-color: var(--df-neon-line-strong);
}

html#hELLO.dark .df-item:hover .df-item__title {
  color: var(--df-neon);
  text-shadow: 0 0 22px var(--df-neon-glow-soft);
}

html#hELLO.dark .df-item:hover a.df-item__thumb {
  border-color: var(--df-neon-line-strong);
  box-shadow: 0 0 0 1px var(--df-neon-glow-soft),
    0 10px 30px var(--df-neon-glow-soft);
}

/* f. sidebar */
html#hELLO.dark #sidebar {
  background-color: rgba(9, 11, 16, 0.72) !important;
  border-right-color: var(--df-neon-line);
  box-shadow: inset -1px 0 0 0 var(--df-neon-glow-soft);
}

html#hELLO.dark #sidebar #profile img.thumb {
  box-shadow: 0 0 0 1px var(--df-neon-line-strong),
    0 0 20px -4px var(--df-neon-glow);
  transition: box-shadow 0.24s var(--df-ease);
}

html#hELLO.dark #sidebar #profile:hover img.thumb {
  box-shadow: 0 0 0 1px var(--df-neon), 0 0 26px -2px var(--df-neon-glow);
}

html#hELLO.dark #sidebar .df-rail-section {
  border-top-color: var(--df-neon-line);
}

html#hELLO.dark #sidebar #search search.wrap:focus-within {
  border-color: var(--df-neon-line-strong);
  box-shadow: 0 0 0 1px var(--df-neon-glow-soft), 0 0 22px var(--df-neon-glow-soft);
}

html#hELLO.dark #sidebar .link_item:hover,
html#hELLO.dark #sidebar .link_sub_item:hover,
html#hELLO.dark #sidebar #my-links .link a.link:hover,
html#hELLO.dark #sidebar .df-rail-link:hover {
  color: var(--df-neon) !important;
}

html#hELLO.dark #sidebar .df-sub-star:hover {
  color: var(--df-neon);
  border-color: var(--df-neon);
}

/* Hero word hover colour: df.js writes a random sky → violet inline; the bloom
   below follows whatever colour it wrote, because it is built from
   currentColor. Light mode gets the colour only — a neon bloom on white reads
   as a smear — and a phone has no hover, so the :hover half stays behind the
   same fine-pointer query the lift uses. */
@media (hover: hover) and (pointer: fine) {
  html#hELLO.dark .df-hero__word:hover {
    text-shadow: 0 0 18px color-mix(in srgb, currentColor 42%, transparent),
      0 0 46px color-mix(in srgb, currentColor 18%, transparent);
  }
}

html#hELLO.dark .df-hero__word.is-lift {
  text-shadow: 0 0 18px color-mix(in srgb, currentColor 42%, transparent),
    0 0 46px color-mix(in srgb, currentColor 18%, transparent);
}
