    
    
        :root {
      --header-bg: #f6f7fb;
      --header-surface: #ffffff;
      --header-line: #e5e8ef;
      --header-line-strong: #d7dbe5;
      --header-text: #17191f;
      --header-muted: #6e7687;
      --bg: #0b0e13;
      --bg-soft: #121722;
      --panel: #f5f6fb;
      --panel-line: rgba(255,255,255,0.08);
      --text: #f6f7fb;
      --muted: rgba(255,255,255,0.66);
      --muted-dark: #5d6473;
      --brand: #4a68ff;
      --brand-2: #7f92ff;
      --brand-soft: #eef0ff;
      --white: #fff;
      --max: 1320px;
      --radius-xl: 28px;
      --radius-lg: 22px;
      --radius-md: 18px;
      --shadow: 0 24px 60px rgba(0,0,0,0.28);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: "Pretendard", "Noto Sans KR", sans-serif;
      background:
        radial-gradient(circle at 50% 0%, rgba(66,104,255,0.12), transparent 18%),
        linear-gradient(180deg, #090b0f 0%, #0b0e13 32%, #0d1015 100%);
      color: var(--text);
    }

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

    .wrap {
      max-width: var(--max);
      margin: 0 auto;
      padding: 0 28px;
    }
    
    .top-shell {
      position: sticky;
      top: 0;
      z-index: 120;
      background: rgba(255,255,255,0.94);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--header-line);
      transition: transform 0.28s ease, opacity 0.28s ease;
    }

    .top-shell.is-collapsed {
      transform: translateY(-100%);
      opacity: 0;
    }

    .sticky-category-shell {
      position: sticky;
      top: 0;
      z-index: 110;
      background: rgba(247,248,252,0.98);
      border-top: 1px solid #edf0f6;
      border-bottom: 1px solid var(--header-line);
      backdrop-filter: blur(12px);
    }

    .inner {
      max-width: var(--max);
      margin: 0 auto;
      padding: 0 20px;
    }

    .family-bar {
      background: #fff;
    }

    .family-outer {
      display: flex;
      justify-content: center;
      padding: 10px 0;
    }

    .family-wrap {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-height: 46px;
      padding: 4px;
      border: 1px solid var(--header-line-strong);
      border-radius: 16px;
      background: #fff;
      box-shadow: 0 4px 16px rgba(32, 43, 73, 0.08);
      overflow-x: auto;
      scrollbar-width: none;
      white-space: nowrap;
    }

    .family-wrap::-webkit-scrollbar,
    .category-tabs::-webkit-scrollbar {
      display: none;
    }

    .family-link {
      flex: 0 0 auto;
      padding: 8px 12px;
      border-radius: 10px;
      font-size: 13px;
      font-weight: 700;
      color: var(--header-muted);
    }

    .family-link.is-active {
      background: var(--brand-soft);
      color: var(--brand);
    }

    .main-header {
      background: #fff;
    }

    .main-header-wrap {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      gap: 16px;
      min-height: 78px;
    }

    .header-promo {
      justify-self: start;
      align-self: stretch;
      display: flex;
      align-items: center;
      padding: 0 16px;
      border-radius: 0 0 14px 14px;
      border: 1px solid #dfe3ff;
      border-top: 0;
      background: linear-gradient(180deg, #eef2ff 0%, #f6f8ff 100%);
      color: var(--brand);
      font-size: 13px;
      font-weight: 800;
      white-space: nowrap;
    }

    .brand {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-self: center;
      text-align: center;
      gap: 6px;
      min-width: 0;
    }

    .brand-mark {
      width: 132px;
      height: 44px;
      object-fit: contain;
    }

    .brand-copy span {
      display: block;
      color: var(--header-muted);
      font-size: 12px;
      line-height: 1.45;
    }

    .header-actions {
      display: flex;
      align-items: center;
      justify-self: end;
      gap: 8px;
    }

    .cta-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 38px;
      padding: 0 14px;
      border-radius: 12px;
      border: 1px solid var(--brand);
      background: var(--brand);
      color: #fff;
      font-weight: 700;
      font-size: 13px;
    }


        .category-row {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      min-height: 58px;
      gap: 12px;
    }

    .category-balance {
      justify-self: start;
      width: 120px;
      min-height: 1px;
    }

    .category-tabs {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 2px;
      overflow-x: auto;
      scrollbar-width: none;
      white-space: nowrap;
    }

    .category-tab {
      flex: 0 0 auto;
      position: relative;
      padding: 0 16px;
      min-height: 48px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      font-weight: 700;
      color: var(--header-muted);
    }

    .category-tab.is-active {
      color: var(--brand);
    }

    .category-tab.is-active::after {
      content: "";
      position: absolute;
      left: 16px;
      right: 16px;
      bottom: 0;
      height: 3px;
      background: var(--brand);
      border-radius: 999px;
    }

    .category-utility {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 6px;
      width: 240px;
      justify-self: end;
    }

    .utility-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 28px;
      padding: 0 10px;
      border-radius: 999px;
      border: 1px solid #e4e7ef;
      background: #f8f9fc;
      color: #6f7786;
      font-size: 12px;
      font-weight: 700;
      white-space: nowrap;
      cursor: pointer;
    }

    .utility-link:hover {
      background: var(--brand-soft);
      color: var(--brand);
      border-color: #cdd1f8;
    }

    .util-divider {
      width: 1px;
      height: 16px;
      background: #dde0ea;
      display: inline-block;
      margin: 0 4px;
    }