/* 팜시크릿 — 약사들의 수다 (커뮤니티)
 * 사람인 채용 메인 IA 차용 + 디시/뽐뿌식 익명 게시판 톤
 */

/* ═════════════════════════════════════════════
   애니메이션
   ═════════════════════════════════════════════ */

/* 페이지 진입 stagger fade-in — main 직속 section 순서대로 */
@keyframes tk-section-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
main > section {
  animation: tk-section-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
main > section:nth-of-type(1) { animation-delay: 0.00s; }
main > section:nth-of-type(2) { animation-delay: 0.10s; }
main > section:nth-of-type(3) { animation-delay: 0.20s; }

/* 팜맵 배너 우하단 핀 — 무한 살짝 bounce */
@keyframes tk-pin-bounce {
  0%, 100% { transform: translate(-46%, 0); }
  50%      { transform: translate(-46%, -4px); }
}

/* 접근성: 모션 감소 사용자에겐 애니메이션 끄기 */
@media (prefers-reduced-motion: reduce) {
  main > section { animation: none; }
}

/* ═════════════════════════════════════════════
   페이지 헤더 — 한 줄 라벨 + 검색바 (당근식)
   ═════════════════════════════════════════════ */
   .tk-pagehead {
    background: #fff;
    border-bottom: 1px solid #eef0f3;
  }
  .tk-pagehead-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 30px 0;
  }
  .tk-pagetitle {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.02em;
    line-height: 1.2;
  }
  .tk-pagetitle-pin { font-size: 16px; line-height: 1; }
  .tk-pagetitle-strong { font-weight: 800; }
  .tk-pagetitle-sub {
    font-size: 13.5px;
    font-weight: 500;
    color: #6b7280;
    letter-spacing: -0.01em;
  }
  
  .tk-pagehead-search {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 6px 16px;
    background: #f3f4f6;
    border: 1px solid transparent;
    border-radius: 9999px;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  }
  .tk-pagehead-search:focus-within {
    background: #fff;
    border-color: var(--color-brand);
    box-shadow: 0 0 0 4px rgba(254, 105, 27, 0.14);
  }
  .tk-pagehead-search input {
    flex: 1;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 14px;
    min-width: 0;
  }
  .tk-pagehead-search input::placeholder { color: #606060; }
  .tk-pagehead-search button {
    width: 32px; height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 0;
    background: var(--color-brand);
    color: #fff;
    cursor: pointer;
  }
  /* 인기 검색어 퀵 칩 */
  .tk-pagehead-suggest {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }
  .tk-suggest-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    color: #4b5563;
    letter-spacing: -0.01em;
  }
  .tk-suggest-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
  }
  .tk-suggest-chip {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    font-size: 13px;
    color: #374151;
    text-decoration: none;
    transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
  }
  .tk-suggest-chip:hover {
    background: var(--color-brand);
    border-color: var(--color-brand);
    color: #fff;
  }

  @media (max-width: 640px) {
    .tk-pagetitle-sub { display: none; }
  }
  /* 모바일: 인기 검색어 라벨 옆에서 한 줄 가로 스크롤 */
  @media (max-width: 767px) {
    .tk-pagehead-suggest {
      flex-wrap: nowrap;
      overflow: hidden;
      gap: 10px;
    }
    .tk-suggest-chips {
      flex: 1;
      flex-wrap: nowrap;
      overflow-x: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
      -webkit-mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 28px), transparent 100%);
              mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 28px), transparent 100%);
      padding-right: 8px;
    }
    .tk-suggest-chips::-webkit-scrollbar { display: none; }
    .tk-suggest-chip { flex-shrink: 0; }
  }
  
  /* ═════════════════════════════════════════════
     최근 찾아본 인기 수다글 (카드 가로 슬라이드)
     ═════════════════════════════════════════════ */
  .tk-popular-wrap {
    background: #fafbfc;
    border-bottom: 1px solid #eef0f3;
    padding-top: 34px;
    padding-bottom: 34px;
  }
  @media (max-width: 767px) {
    .tk-popular-wrap{
      padding:24px 0;
    }
  }
  .tk-popular-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .tk-popular-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111827;
  }
  .tk-fire {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    background: linear-gradient(135deg, #f97316, #ef4444);
    border-radius: 9999px;
    font-size: 12px;
    color: #fff;
  }
  .tk-popular-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .tk-popular-arrow {
    width: 32px; height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    color: #1f2937;
  }
  .tk-popular-arrow:hover { background: #f3f4f6; border-color: #d1d5db; }
  .tk-popular-more {
    font-size: 13px;
    color: var(--color-brand);
    font-weight: 600;
    margin-left: 6px;
  }
  .tk-popular-more:hover { text-decoration: underline; }
  
  .tk-popular-swiper {
    overflow: hidden;
    padding: 10px 0;
  }
  .tk-popular-swiper .swiper-wrapper {
    align-items: stretch;
  }
  .tk-pop-slide {
    width: 290px;
    height: auto;
    display: flex;
  }

  .tk-pop-card {
    display: flex;
    flex-direction: column;
    padding: 16px 18px 14px;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    min-height: 162px;
    width: 100%;
    box-shadow: 0px 3px 4px rgba(0,0,0,0.09);
  }

  .tk-popular-arrow.is-disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
  }
  .tk-pop-card:hover {
    transform: translateY(-2px);
    border-color: #dbe2ea;
    box-shadow: var(--shadow-card-hover);
  }
  .tk-pop-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
  }
  .tk-pop-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    line-height: 1.4;
    letter-spacing: -0.015em;
    overflow: hidden;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }
  .tk-pop-card:hover .tk-pop-title { color: var(--color-brand-dark); }
  .tk-pop-desc {
    margin-top: 9px;
    font-size: 15px;
    line-height: 1.6;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 500;
    word-break: keep-all;
  }
  .tk-pop-meta {
    margin-top: auto;
    padding-top: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #9ca3af;
  }
  .tk-pop-nick { color: #4b5563; font-weight: 500; }
  .tk-pop-meta-sep { color: #d1d5db; }
  .tk-pop-meta-item { font-family: var(--font-mono); color: #6b7280; }
  
  @media (max-width: 640px) {
    .tk-pop-card { flex-basis: 240px; min-height: 148px; padding: 14px; }
    .tk-pop-title { font-size: 14px; }
    .tk-popular-arrow { display: none; }
  }
  
  /* ═════════════════════════════════════════════
     2단 레이아웃 — 좌 사이드바 + 우 메인
     ═════════════════════════════════════════════ */
  .tk-layout {
    padding-top: 40px;
    padding-bottom: 64px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  @media (min-width: 1024px) {
    .tk-layout { grid-template-columns: 270px 1fr; gap: 32px; }
  }
  @media (min-width: 767px) {
    .tk-layout{
      padding:30px 0 50px;
    }
  }
  
  /* ═════════════════════════════════════════════
     좌측 사이드바
     ═════════════════════════════════════════════ */
  .tk-aside { min-width: 0; }
  .tk-aside-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  @media (min-width: 1024px) {
    .tk-aside-inner {
      position: sticky;
      top: 144px;
      max-height: calc(100vh - 164px);
      overflow-y: auto;
      padding-right: 4px;
    }
    .tk-aside-inner::-webkit-scrollbar { width: 6px; }
    .tk-aside-inner::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 3px; }
  }
  
  /* 사이드바 CTA (tier별 — 비회원/일반/인증 동일 골격) */
  .tk-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .tk-cta-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 16px;
    background: #f3f4f6;
    border-radius: 14px;
  }
  .tk-cta-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    flex-shrink: 0;
    line-height: 1;
  }
  .tk-cta-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
  /* tier별 변형은 PNG 일러스트 자체 색이 다르므로 background는 불필요 */
  .tk-cta-avatar--amber,
  .tk-cta-avatar--brand { background: transparent; }
  .tk-cta-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.35;
    min-width: 0;
    word-break: keep-all;
  }
  .tk-cta-line {
    font-size: 13.5px;
    color: #6b7280;
    letter-spacing: -0.01em;
  }
  .tk-cta-line:last-child {
    font-size: 14.5px;
    font-weight: 600;
    color: #111827;
  }
  .tk-cta-line strong {
    font-weight: 800;
    color: #111827;
  }
  .tk-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    background: var(--color-brand);
    color: #fff;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: background 0.18s ease, transform 0.18s ease;
  }
  .tk-cta-btn:hover {
    background: var(--color-brand-dark);
    transform: translateY(-1px);
  }
  
  /* 사이드바 섹션 (평면형 — 박스/테두리 없음) */
  .tk-navsec + .tk-navsec { margin-top: 4px; }
  .tk-navsec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
  }
  .tk-navsec-label {
    display: block;
    margin-bottom: 10px;
    padding: 0 4px;
    font-family: var(--font-label);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9ca3af;
  }
  .tk-navsec-head .tk-navsec-label { margin-bottom: 0; }
  .tk-filter-reset {
    font-size: 11px;
    color: #9ca3af;
    background: transparent;
    border: 0;
    cursor: pointer;
  }
  .tk-filter-reset:hover { color: #ef4444; }
  
  /* 카테고리 네비 리스트 (당근식 큰 텍스트, 평면형)
     기본 구조: li.tk-navlist-item > a (목록/상세/작성 통일) */
  .tk-navlist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
  }
  .tk-navlist-item {
    display: flex;
    min-width: 0;
  }
  .tk-navlist-item > a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #4b5563;
    letter-spacing: -0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
  }
  .tk-navlist-item > a:hover {
    background: #f3f4f6;
    color: #111827;
  }
  .tk-navlist-item.is-active > a {
    background: rgba(254, 105, 27, 0.10);
    color: var(--color-brand-dark);
    font-weight: 700;
  }
  .tk-navlist-text { display: inline-flex; align-items: center; gap: 8px; }
  .tk-navlist-count {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: #9ca3af;
  }
  .tk-navlist-item.is-active .tk-navlist-count { color: var(--color-brand); }

  /* 모바일: 카테고리 가로 스크롤 칩 */
  @media (max-width: 1023px) {
    .tk-navlist {
      flex-direction: row;
      flex-wrap: nowrap;
      overflow-x: auto;
      gap: 6px;
      padding: 4px 0;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    .tk-navlist::-webkit-scrollbar { display: none; }
    .tk-navlist-item { flex-shrink: 0; }
    .tk-navlist-item > a {
      gap: 6px;
      padding: 8px 14px;
      background: #f3f4f6;
      border-radius: 9999px;
      font-size: 14px;
    }
    .tk-navlist-item > a:hover {
      background: #e5e7eb;
    }
    .tk-navlist-item.is-active > a {
      background: var(--color-brand);
      color: #fff;
    }
    .tk-navlist-item.is-active .tk-navlist-count { color: rgba(255, 255, 255, 0.72); }
  }
  
  /* 지역 필터 — 칩 */
  .tk-region-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 4px;
  }
  .tk-region-chip {
    padding: 5px 10px;
    background: #f3f4f6;
    border: 1px solid transparent;
    border-radius: 9999px;
    font-size: 12px;
    color: #4b5563;
    cursor: pointer;
  }
  .tk-region-chip:hover { background: #e5e7eb; color: #111827; }
  .tk-region-chip.is-active {
    background: #fff;
    border-color: var(--color-brand);
    color: var(--color-brand-dark);
    font-weight: 600;
  }
  
  /* 인기 태그 — 다중 사이즈 클라우드 */
  .tk-tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    line-height: 1.4;
    padding: 0 4px;
  }
  .tk-tagcloud a {
    font-size: 13px;
    color: #6b7280;
    transition: color 0.12s ease;
  }
  .tk-tagcloud a:hover { color: var(--color-brand); }
  .tk-tagcloud a.tk-tag-lg { font-size: 16px; font-weight: 700; color: #1f2937; }
  .tk-tagcloud a.tk-tag-md { font-size: 14px; font-weight: 600; color: #374151; }

  /* 사이드바 팜맵 유도 배너 (블루 그라데이션 + 우하단 3D 마커) */
  .tk-map-banner {
    position: relative;
    display: block;
    padding: 22px 20px 22px;
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 65%, #60a5fa 100%);
    color: #fff;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }
  /* 모바일에서 메인 영역 끝(페이지네이션 다음)으로 옮겼을 때 위쪽 간격 */
  .tk-main > .tk-map-banner {
    margin-top: 28px;
  }
  .tk-map-banner-sub {
    /* font-family: var(--font-label); */
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255,1);
  }
  .tk-map-banner-title {
    margin-top: 10px;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #fff;
  }
  .tk-map-banner-title em {
    font-style: normal;
    font-weight: 800;
    color: #fff89f;
    padding: 0 2px;
  }
  .tk-map-banner-desc {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: -0.005em;
  }
  .tk-map-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
  }
  .tk-map-banner-cta::after {
    content: '›';
    font-family: var(--font-display);
    font-size: 18px;
    line-height: 1;
    font-weight: 500;
  }
  .tk-map-banner-deco {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 100px;
    height: 100px;
    pointer-events: none;
    user-select: none;
  }
  .tk-map-banner-deco-map {
    position: absolute;
    inset: auto 0 0 0;
    width: 100%;
    height: 76%;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.28));
    transform: rotate(-6deg);
  }
  .tk-map-banner-deco-pin {
    position: absolute;
    top: 0;
    left: 50%;
    width: 44%;
    height: 44%;
    object-fit: contain;
    transform: translate(-46%, 0);
    filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.35));
    animation: tk-pin-bounce 2.6s ease-in-out infinite;
  }
  @media (prefers-reduced-motion: reduce) {
    .tk-map-banner-deco-pin { animation: none; }
  }

  /* ═════════════════════════════════════════════
     메인 — 정렬 바 + 게시글 리스트
     ═════════════════════════════════════════════ */
  .tk-main { min-width: 0; }
  
  .tk-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 4px 14px;
  }
  .tk-toolbar-left {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
  }
  .tk-toolbar-left strong {
    color: var(--color-brand);
    font-family: var(--font-mono);
    font-weight: 700;
  }
  .tk-sort {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: #f3f4f6;
    border-radius: 9999px;
    padding: 3px;
  }
  .tk-sort-btn {
    padding: 6px 14px;
    background: transparent;
    border: 0;
    border-radius: 9999px;
    font-size: 12.5px;
    color: #6b7280;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.12s ease, color 0.12s ease;
  }
  .tk-sort-btn:hover { color: #111827; }
  .tk-sort-btn.is-active {
    background: #fff;
    color: #111827;
    font-weight: 700;
    box-shadow: 0 1px 2px rgba(15,23,42,0.06);
  }
  
  /* 게시글 카드 (당근 동네생활식 — 제목 + 본문 미리보기 + 우측 작은 썸네일) */
  .tk-list {
    display: flex;
    flex-direction: column;
    background: #fff;
    overflow: hidden;
  }
  .tk-empty {
    padding: 48px 24px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
  }
  
  .tk-post {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 25px 20px;
    border-bottom: 1px solid #f1f3f5;
    text-decoration: none;
    transition: background 0.12s ease;
  }
  .tk-post.has-thumb {
    grid-template-columns: minmax(0, 1fr) 84px;
  }
  .tk-post:last-child { border-bottom: 0; }
  .tk-post:hover { background: #fafbfc; }
  .tk-post.is-notice { background: #fff9f3; }
  .tk-post.is-notice:hover { background: #fff1e0; }
  
  .tk-post-body { min-width: 0; }
  .tk-post-top {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 6px;
  }
  .tk-post-cat {
    display: inline-flex;
    align-items: center;
    padding: 2px 11px;
    font-weight: 700;
    font-size: 13px;
    line-height: 20px;
    border-radius: 10px;
  }
  .tk-post-title {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    line-height: 1.4;
    letter-spacing: -0.015em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .tk-post:hover .tk-post-title { color: var(--color-brand-dark); }
  
  .tk-post-desc {
    margin-top: 9px;
    font-size: 15px;
    line-height: 1.55;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.005em;
  }
  
  .tk-post-meta {
    margin-top: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    font-size: 13px;
    color: #9ca3af;
  }
  .tk-post-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-mono);
    font-weight: 500;
    color: #6b7280;
  }
  .tk-post-meta-sep { color: #d1d5db; }
  .tk-post-meta-nick { color: #4b5563; font-weight: 500; }
  .tk-post-meta-region { color: #4b5563; }
  .tk-post-meta-time { font-family: var(--font-mono); color: #9ca3af; }
  
  /* 우측 작은 썸네일 — 이모지 placeholder 박스 */
  .tk-post-thumb {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px; height: 84px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    font-size: 38px;
    line-height: 1;
    flex-shrink: 0;
    border: 1px solid #fde8d0;
  }
  .tk-post.is-notice .tk-post-thumb {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-color: #fcd34d;
  }
  
  /* 카테고리 칩 색상 — 전 카테고리 공통 (브랜드 + 화이트) */
  .tk-cat-run,
  .tk-cat-free    { background: var(--color-brand); color: #fff; }

  /* 비회원 잠금 — 더미 텍스트를 ps-blur로 가림. DOM에 실제 본문은 없음 */
  .ps-blur { user-select: none; pointer-events: none; }
  .tk-post-thumb.ps-blur { filter: blur(8px); }
  
  @media (max-width: 640px) {
    .tk-post,
    .tk-post.has-thumb { padding: 14px 16px; gap: 12px; }
    .tk-post.has-thumb { grid-template-columns: minmax(0, 1fr) 64px; }
    .tk-post-title { font-size: 14.5px; }
    .tk-post-desc { font-size: 13px; }
    .tk-post-thumb { width: 64px; height: 64px; font-size: 30px; }
    .tk-post-meta { font-size: 11.5px; gap: 4px 6px; }
  }
  
  /* ═════════════════════════════════════════════
     페이지네이션
     ═════════════════════════════════════════════ */
  .tk-pager {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }
  .tk-pager-btn {
    min-width: 36px; height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #4b5563;
    font-size: 13px;
    font-family: var(--font-mono);
    cursor: pointer;
    font-weight: 500;
    transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
  }
  .tk-pager-btn:hover { background: #f9fafb; color: #111827; }
  .tk-pager-btn.is-active {
    background: #111827;
    border-color: #111827;
    color: #fff;
    font-weight: 700;
  }
  .tk-pager-btn[disabled] {
    color: #d1d5db;
    cursor: not-allowed;
    background: #fff;
  }
  .tk-pager-ellipsis {
    display: inline-flex;
    align-items: center;
    padding: 0 6px;
    color: #9ca3af;
    font-size: 13px;
  }
  
  /* ═════════════════════════════════════════════
     우하단 글쓰기 FAB
     ═════════════════════════════════════════════ */
  .tk-fab {
    position: fixed;
    right: 24px;
    bottom: 88px;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px 14px 18px;
    background: var(--color-brand);
    color: #fff;
    border: 0;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(254, 105, 27, 0.38), 0 2px 6px rgba(15,23,42,0.12);
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    text-decoration: none;
  }
  .tk-fab:hover {
    background: var(--color-brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(254, 105, 27, 0.45), 0 2px 6px rgba(15,23,42,0.16);
  }
  .tk-fab svg { width: 18px; height: 18px; }
  @media (max-width: 767px) {
    .tk-fab { right: 16px; bottom: 16px; padding: 12px 18px 12px 16px; font-size: 13px; }
  }
  
  /* ═════════════════════════════════════════════
     비회원/일반 게이팅 안내 (메인 페이지 컨벤션 재사용)
     ═════════════════════════════════════════════ */
  .tk-gate-inline {
    margin: 16px 0;
    padding: 18px 18px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    font-size: 14px;
    color: #1e3a8a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }
  .tk-gate-inline strong { font-weight: 700; }
  .tk-gate-inline a {
    font-weight: 700;
    color: #1d4ed8;
    text-decoration: underline;
  }
  