.category-tabs,
.filter-summary-row,
.filter-sheet-backdrop {
  display: none;
}

body[data-page="category"].category-news-mode .category-hero > .filter-row[aria-label="정책 유형"],
body[data-page="category"].category-news-mode .filter-summary-row,
body[data-page="category"].category-news-mode .search-box {
  display: none;
}

@media (max-width: 759px) {
  body[data-page="category"] {
    background: #f5f6f8;
  }

  body[data-page="category"] .promo-bar,
  body[data-page="category"] .brand-mark,
  body[data-page="category"] .brand-copy small,
  body[data-page="category"] .trust-badge,
  body[data-page="category"] .desktop-nav,
  body[data-page="category"] .site-search {
    display: none;
  }

  body[data-page="category"] .site-header {
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 0;
    box-shadow: none;
  }

  body[data-page="category"] .header-inner {
    position: relative;
    min-height: 58px;
    justify-content: center;
    padding: 8px 54px;
  }

  body[data-page="category"] .header-inner::before,
  body[data-page="category"] .header-inner::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  body[data-page="category"] .header-inner::before {
    left: 21px;
    width: 20px;
    height: 20px;
    border: 2px solid #111827;
    border-radius: 50%;
  }

  body[data-page="category"] .header-inner::after {
    right: 25px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #111827;
    box-shadow: 0 -9px 0 #111827, 0 9px 0 #111827;
  }

  body[data-page="category"] .brand {
    justify-content: center;
  }

  body[data-page="category"] .brand::after {
    content: "";
    position: absolute;
    left: 38px;
    top: 37px;
    width: 9px;
    height: 2px;
    border-radius: 999px;
    background: #111827;
    transform: rotate(45deg);
  }

  body[data-page="category"] .brand-copy strong {
    font-size: 23px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: 0;
  }

  body[data-page="category"] .category-tabs {
    position: sticky;
    top: 58px;
    z-index: 24;
    display: flex;
    gap: 31px;
    overflow-x: auto;
    padding: 14px 22px 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e2e5ea;
    scrollbar-width: none;
  }

  body[data-page="category"] .category-tabs::-webkit-scrollbar,
  body[data-page="category"] .filter-summary-row::-webkit-scrollbar {
    display: none;
  }

  body[data-page="category"] .category-tabs a {
    position: relative;
    flex: 0 0 auto;
    min-height: 43px;
    color: #8d939d;
    font-size: 18px;
    font-weight: 950;
    white-space: nowrap;
  }

  body[data-page="category"] .category-tabs a.active {
    color: #111827;
  }

  body[data-page="category"] .category-tabs a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: #111827;
  }

  body[data-page="category"] .site-main {
    padding: 12px 14px 28px;
  }

  body[data-page="category"] .page-stack {
    gap: 10px;
  }

  body[data-page="category"] .category-hero {
    gap: 0;
    padding: 0 0 2px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body[data-page="category"] .category-hero .eyebrow,
  body[data-page="category"] .category-hero h1,
  body[data-page="category"] #categoryCount,
  body[data-page="category"] .category-hero > .filter-row[aria-label="정책 유형"],
  body[data-page="category"] .region-filter,
  body[data-page="category"] .search-box {
    display: none;
  }

  body[data-page="category"] .filter-summary-row {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding: 2px 0 4px;
    scrollbar-width: none;
  }

  body[data-page="category"] .filter-summary-row button {
    min-height: 48px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #cfd5df;
    border-radius: 8px;
    background: #ffffff;
    color: #222831;
    padding: 10px 14px;
    font-size: 17px;
    font-weight: 950;
    box-shadow: 0 1px 3px rgba(17, 24, 39, 0.06);
  }

  body[data-page="category"] .filter-summary-row .summary-popular {
    border-color: #3154d4;
    color: #2445c7;
  }

  body[data-page="category"] .summary-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    color: #5f6772;
  }

  body[data-page="category"] .summary-icon.map::before {
    content: "";
    position: absolute;
    inset: 1px 4px 5px;
    border-radius: 50% 50% 50% 0;
    background: currentColor;
    transform: rotate(-45deg);
  }

  body[data-page="category"] .summary-icon.user::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 9px 0 4px rgba(95, 103, 114, 0.18);
  }

  body[data-page="category"] .summary-icon.bars::before {
    content: "";
    position: absolute;
    left: 3px;
    bottom: 3px;
    width: 4px;
    height: 10px;
    border-radius: 999px;
    background: #2563eb;
    box-shadow: 6px -5px 0 #2563eb, 12px -1px 0 #2563eb;
  }

  body[data-page="category"] .section {
    margin: 0;
  }

  body[data-page="category"] .result-notice:empty {
    display: none;
  }

  body[data-page="category"] .policy-list {
    gap: 11px;
  }

  body[data-page="category"] .policy-card,
  body[data-page="category"] .policy-card.app-list-card {
    display: block;
    padding: 17px 16px 15px;
    border: 1px solid #d7dce4;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 3px 11px rgba(15, 23, 42, 0.08);
  }

  body[data-page="category"] .policy-thumb,
  body[data-page="category"] .mini-meta {
    display: none;
  }

  body[data-page="category"] .policy-body {
    display: grid;
    gap: 9px;
  }

  body[data-page="category"] .meta-row {
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 1px;
  }

  body[data-page="category"] .badge {
    min-height: 30px;
    border-radius: 8px;
    padding: 6px 11px;
    font-size: 15px;
    line-height: 1.05;
    font-weight: 950;
  }

  body[data-page="category"] .badge.agency {
    background: #2348d3;
    color: #ffffff;
  }

  body[data-page="category"] .badge.deadline {
    margin-left: auto;
    background: transparent;
    color: #8d2b2b;
    padding-inline: 0;
    white-space: nowrap;
  }

  body[data-page="category"] .policy-card h3 {
    margin: 0;
    color: #111827;
    font-size: 22px;
    line-height: 1.32;
    font-weight: 950;
    letter-spacing: 0;
  }

  body[data-page="category"] .policy-card h3 a {
    color: inherit;
  }

  body[data-page="category"] .policy-card .policy-highlight {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #a03a35;
    font-size: 18px;
    line-height: 1.42;
    font-weight: 850;
  }

  body[data-page="category"] .policy-facts {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 7px 12px;
    margin: 3px 0 0;
    color: #20242b;
    font-size: 17px;
    line-height: 1.3;
  }

  body[data-page="category"] .policy-facts dt,
  body[data-page="category"] .policy-facts dd {
    margin: 0;
  }

  body[data-page="category"] .policy-facts dt {
    color: #111827;
    font-weight: 950;
  }

  body[data-page="category"] .policy-facts dd {
    min-width: 0;
    color: #414854;
    font-weight: 850;
  }

  body[data-page="category"] .card-actions {
    display: none;
  }

  body[data-page="category"] .empty-card {
    border-radius: 8px;
    background: #ffffff;
    font-size: 17px;
    font-weight: 850;
  }

  body[data-page="category"].filter-sheet-open {
    overflow: hidden;
  }

  .filter-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(17, 24, 39, 0.62);
  }

  .filter-sheet {
    width: min(100%, 370px);
    max-height: min(76vh, 690px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
    padding: 26px 20px 20px;
    box-shadow: 0 22px 80px rgba(0, 0, 0, 0.24);
  }

  .filter-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .filter-sheet-head h2 {
    margin: 0;
    color: #111827;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 950;
  }

  .filter-sheet-close {
    position: relative;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: transparent;
  }

  .filter-sheet-close::before,
  .filter-sheet-close::after {
    content: "";
    position: absolute;
    left: 11px;
    top: 20px;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #111827;
  }

  .filter-sheet-close::before {
    transform: rotate(45deg);
  }

  .filter-sheet-close::after {
    transform: rotate(-45deg);
  }

  .filter-sheet-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    overflow-y: auto;
    padding: 14px 2px 4px;
  }

  .filter-sheet-options a {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #aeb4bf;
    border-radius: 999px;
    background: #ffffff;
    color: #222831;
    padding: 8px 16px;
    font-size: 18px;
    font-weight: 900;
  }

  .filter-sheet-options a.active {
    border-color: #111827;
    background: #f2f4f7;
    color: #111827;
  }
}
