/* 카테고리 허브(coin.·stock.·religion.… 대문) 공용 모양 — category.html 에서 옮겼다(매 방문 44KB 인라인 → 캐시되는 파일).
   언어·카테고리에 따라 바뀌는 줄(상승/하락 색, 허브 색 변수)은 category.html 의 <style> 에 남아 이 파일 뒤에 온다. */
  .wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

  .topbar {
    position: sticky; top: 0; z-index: 40;
    background: rgba(4,5,15,.82); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
  }
  body.light-theme .topbar { background: rgba(244,246,250,.85); }
  .topbar-inner { display: flex; align-items: center; gap: 14px; height: 60px; }
  .brand { font-weight: 900; font-size: 1.02rem; letter-spacing: -.02em; white-space: nowrap; }
  .brand span { color: var(--accent); }
  .topbar-spacer { flex: 1; }

  .cat-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .cat-nav::-webkit-scrollbar { display: none; }
  .cat-nav a {
    padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700;
    color: var(--text-sub); border: 1px solid transparent; white-space: nowrap; transition: var(--transition);
  }
  .cat-nav a:hover { color: var(--text); background: var(--card); }
  .cat-nav a.active { color: #fff; background: var(--accent); border-color: var(--accent); }

  /* flex: none — 줄어들 수 있으면 옆의 가로 스크롤 메뉴와 함께 줄어 '中文' 이 두 줄이 됐다(768~1280px, 4개 언어, 2026-11-02). 메뉴만 줄어든다. */
  .lang-switch { display: flex; flex: none; gap: 4px; border: 1px solid var(--border); border-radius: 999px; padding: 3px; }
  .lang-switch a { padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; color: var(--muted); }
  .lang-switch a.on { background: var(--accent); color: #fff; }

  .grp-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
  .grp-nav a { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border, rgba(255,255,255,.12));
               color: var(--text-sub, #c7c9d6); text-decoration: none; font-size: .82rem; font-weight: 700; }
  .grp-nav a:hover { border-color: rgba(99,102,241,.6); color: #fff; }
  .grp { margin-bottom: 26px; scroll-margin-top: 70px; }
  .grp[hidden] { display: none; }
  .grp-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 12px; }
  .grp-h h3 { font-size: 1.05rem; font-weight: 800; }
  .grp-h span { font-size: .82rem; color: var(--muted, #8b8fa3); }
  .mkt { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; max-width: 760px; margin: 18px auto 0; }
  /* 시세가 오기 전에도 자리는 잡아 둔다 — display:none 이던 띠가 시세와 함께 나타나며 아래 도구 목록 전체를 밀었다(모바일 CLS 0.07).
     첫 조회가 실패하면 스크립트가 접는다. */
  .mkt[hidden] { visibility: hidden; }
  .mkt-cell { padding: 9px 10px; border-radius: 12px; border: 1px solid var(--border, rgba(255,255,255,.1));
              background: rgba(255,255,255,.03); text-align: left; min-width: 0; }
  .mkt-cell[hidden] { display: none; }
  .mkt-cell b { display: block; font-size: .7rem; color: var(--muted, #8b8fa3); font-weight: 800; }
  .mkt-cell span { display: block; font-size: .95rem; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mkt-cell em { font-style: normal; font-size: .74rem; font-weight: 700; font-variant-numeric: tabular-nums; }
  @media (max-width: 640px) { .mkt { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  .hero { padding: 54px 0 34px; text-align: center; }
  .hero-icon {
    width: 78px; height: 78px; margin: 0 auto 16px; border-radius: 24px;
    display: flex; align-items: center; justify-content: center; font-size: 2.3rem;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    box-shadow: 0 16px 40px var(--accent-glow);
  }
  .hero h1 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.22; }
  .hero p { margin-top: 12px; color: var(--text-sub); font-size: 1rem; max-width: 640px; margin-left: auto; margin-right: auto; }
  .hero-meta { margin-top: 16px; font-size: .8rem; color: var(--muted); }

  .search-frame {
    display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 22px auto 0;
    background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px;
    transition: var(--transition);
  }
  .search-frame:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }
  .search-frame input {
    flex: 1; min-width: 0; background: none; border: none; outline: none;
    color: var(--text); font-size: .95rem; font-weight: 600; font-family: inherit;
  }
  .search-frame input::placeholder { color: var(--muted); font-weight: 500; }
  .search-frame input.url-mode { color: #38bdf8; }
  .search-icon { color: var(--muted); font-size: 1rem; }

  section { padding: 30px 0; }
  .sec-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
  .reads { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 14px; }
  .read-topic { min-width: 0; background: var(--card, rgba(255,255,255,.04)); border: 1px solid var(--border, rgba(255,255,255,.12));
                border-radius: 14px; padding: 16px 16px 14px; }
  .read-head { display: flex; gap: 12px; align-items: flex-start; }
  .read-ico { font-size: 1.6rem; line-height: 1; }
  .read-txt { min-width: 0; }
  .read-txt b { display: block; font-size: 1rem; font-weight: 800; }
  .read-txt small { display: block; margin-top: 4px; font-size: .82rem; line-height: 1.55; color: var(--text-sub, #b8bbd0); }
  .read-kids { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
  .read-kids a { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 6px 10px;
                 border-radius: 999px; font-size: .8rem; border: 1px solid var(--border, rgba(255,255,255,.12)); color: var(--text-sub, #b8bbd0); }
  .read-kids a:hover, .read-head:hover b { color: #fff; border-color: rgba(99,102,241,.6); }
  .read-more { display: inline-block; margin-top: 12px; font-size: .82rem; font-weight: 800; color: var(--accent, #818cf8); }
  .sec-head h2 { font-size: 1.22rem; font-weight: 900; letter-spacing: -.02em; }
  .sec-head span { font-size: .8rem; color: var(--muted); }

  .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 14px; }
  .card {
    display: block; background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 18px; transition: var(--transition);
  }
  .card.filtered-out { display: none !important; }
  .card:hover { border-color: var(--border-hover); background: var(--card-hover); transform: translateY(-3px); }
  .card-icon { font-size: 1.7rem; margin-bottom: 10px; }
  .card h3 { font-size: .99rem; font-weight: 800; margin-bottom: 6px; letter-spacing: -.01em; }
  .card p { font-size: .82rem; color: var(--text-sub); line-height: 1.55;
            display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

  .card.over-limit { display: none !important; }
  .show-more-btn { display: block; width: 100%; max-width: 380px; margin: 18px auto 0; padding: 13px;
                   border-radius: var(--radius-md); background: var(--card); border: 1px solid var(--border);
                   color: var(--text); font-size: .88rem; font-weight: 800; cursor: pointer;
                   font-family: inherit; transition: var(--transition); }
  .show-more-btn:hover { border-color: var(--border-hover); background: var(--card-hover); transform: translateY(-2px); }

  .prose { max-width: 820px; }
  .prose article { margin-bottom: 26px; }
  .prose h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 8px; color: var(--text); }
  .prose p { color: var(--text-sub); font-size: .93rem; line-height: 1.85; }
  .prose ul { margin: 10px 0 0 2px; list-style: none; }
  .prose li { color: var(--text-sub); font-size: .89rem; line-height: 1.8; padding-left: 18px; position: relative; }
  .prose li::before { content: '›'; position: absolute; left: 4px; color: var(--accent); font-weight: 900; }

  .gloss { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 10px; }
  .gloss-item { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
  .gloss-item dt { font-weight: 800; font-size: .89rem; color: var(--accent2); margin-bottom: 4px; }
  .gloss-item dd { font-size: .83rem; color: var(--text-sub); line-height: 1.6; }

  .faq-item { border: 1px solid var(--border); border-radius: 12px; background: var(--card); margin-bottom: 10px; overflow: hidden; }
  .faq-item summary {
    cursor: pointer; padding: 15px 18px; font-weight: 800; font-size: .92rem; list-style: none;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after { content: '+'; color: var(--accent); font-size: 1.2rem; font-weight: 900; flex-shrink: 0; }
  .faq-item[open] summary::after { content: '−'; }
  .faq-item p { padding: 0 18px 16px; color: var(--text-sub); font-size: .88rem; line-height: 1.8; }

  .disclaimer {
    margin-top: 10px; padding: 14px 16px; border-radius: 12px;
    border: 1px solid var(--border); background: var(--card);
    color: var(--muted); font-size: .78rem; line-height: 1.7;
  }

  footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 28px 0 46px; text-align: center; }
  footer a { color: var(--accent); font-weight: 700; font-size: .88rem; }
  footer p { color: var(--muted); font-size: .78rem; margin-top: 8px; }

  @media (max-width: 720px) {
    .topbar-inner { height: 54px; gap: 10px; }
    .brand { font-size: .92rem; }
    .cat-nav { display: none; }
    .hero { padding: 36px 0 26px; }
    .grid { grid-template-columns: 1fr; }
  }

  /* ═══ 디자인 업그레이드 — 히어로에 빛과 움직임 ═══ */
  .hero, .kw-hero { position: relative; }
  .hero::before, .kw-hero::before {
    content: ''; position: absolute; left: 50%; top: 0; width: min(720px, 90vw); height: 260px; transform: translateX(-50%);
    background: radial-gradient(50% 60% at 50% 30%, rgba(99,102,241,0.35), transparent 70%); pointer-events: none; z-index: -1; filter: blur(6px);
  }
  /* 폭을 화면에 묶는다 — 560px 고정이면 휴대폰에서 문서가 580px 로 넓어져 글 페이지 전체가 축소돼 보였다 */
  .kw-hero::before { left: 0; transform: none; width: min(560px, 100%); }
  .hero-icon, .kw-hero .ico { animation: heroFloat 5.5s ease-in-out infinite; }
  .hero-icon { background: linear-gradient(135deg, rgba(99,102,241,0.9), rgba(217,70,239,0.85)); color: #fff;
               box-shadow: 0 18px 44px rgba(99,102,241,0.45), 0 0 0 8px rgba(99,102,241,0.12), inset 0 1px 0 rgba(255,255,255,0.25); }
  @keyframes heroFloat { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
  .hero h1, .kw-hero h1 { text-shadow: 0 6px 30px rgba(99,102,241,0.35); }
  .hero-meta, .kw-meta { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.25); }
  .cat-nav a.active { background: var(--grad); border-color: transparent; box-shadow: 0 6px 18px rgba(99,102,241,0.4); }
  .cat-nav a:hover { background: rgba(99,102,241,0.12); }
  .toc { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--glass-border); }
  .toc a.active { padding-left: 10px; border-left: 3px solid; border-image: var(--grad) 1; }
  @media (prefers-reduced-motion: reduce) { .hero-icon, .kw-hero .ico { animation: none; } }

  /* ═══ 개편 2 — 포털과 같은 톤: 유리판·그라데이션 테두리·글로우 ═══ */
  @property --xc-ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
  @keyframes xcSpin { to { --xc-ang: 360deg; } }
  @keyframes xcSlide { to { background-position: 200% center; } }
  @keyframes xcPing { 0% { box-shadow: 0 0 0 0 rgba(239,68,68,.75); } 80%,100% { box-shadow: 0 0 0 8px rgba(239,68,68,0); } }
  @keyframes xcIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

  .topbar { background: var(--glass); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
            border-bottom-color: var(--glass-border); }
  .topbar::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
                   background: var(--grad); background-size: 200% auto; opacity: .7; animation: xcSlide 8s linear infinite; }
  .brand span { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
  .lang-switch { border-color: var(--glass-border); background: rgba(255,255,255,.03); }
  .lang-switch a.on { background: var(--grad); box-shadow: 0 4px 14px rgba(168,85,247,.4); }

  .hero h1 { background: linear-gradient(120deg, var(--text) 30%, #c4b5fd 60%, #f0abfc); -webkit-background-clip: text; background-clip: text;
             -webkit-text-fill-color: transparent; text-shadow: none; filter: drop-shadow(0 6px 26px rgba(99,102,241,.35)); padding-bottom: .06em; }
  body.light-theme .hero h1 { background-image: linear-gradient(120deg, #0f172a 30%, #4f46e5 65%, #c026d3); filter: none; }
  .hero-meta { font-weight: 800; color: var(--text-sub); background: rgba(99,102,241,.14); border-color: rgba(168,85,247,.35);
               box-shadow: 0 0 18px rgba(99,102,241,.18); }
  .search-frame { background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--glass-border);
                  box-shadow: inset 0 2px 6px rgba(0,0,0,.25); }
  body.light-theme .search-frame { box-shadow: 0 6px 20px rgba(15,23,42,.06); }
  .search-frame:focus-within { border-color: transparent; box-shadow: 0 0 0 2px rgba(168,85,247,.7), 0 0 36px rgba(99,102,241,.4); }

  /* 코인·주식 허브 — 사이트의 핵심. 회전하는 그라데이션 테두리와 LIVE 배지 */
  .hero-core { margin-top: 26px; padding: 40px 24px 30px; border-radius: 26px; isolation: isolate; overflow: hidden;
               background: radial-gradient(120% 140% at 0% 0%, rgba(240,185,11,.12), transparent 45%),
                           radial-gradient(120% 140% at 100% 0%, rgba(34,211,238,.14), transparent 45%),
                           linear-gradient(160deg, rgba(10,12,30,.88), rgba(4,6,18,.94));
               box-shadow: 0 24px 70px rgba(0,0,0,.45); }
  .hero-core::before { z-index: -1; width: 100%; }
  .hero-core::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
                      background: conic-gradient(from var(--xc-ang, 0deg), #f0b90b, #22d3ee, #a855f7, #ec4899, #f0b90b);
                      -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
                      animation: xcSpin 8s linear infinite; }
  .hero-grid { position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: .4;
               background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
               background-size: 28px 28px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
  body.light-theme .hero-core { background: radial-gradient(120% 140% at 0% 0%, rgba(240,185,11,.16), transparent 45%),
                                            radial-gradient(120% 140% at 100% 0%, rgba(34,211,238,.16), transparent 45%), #fff;
                                box-shadow: 0 20px 50px rgba(15,23,42,.10); }
  body.light-theme .hero-grid { background-image: linear-gradient(rgba(15,23,42,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,.05) 1px, transparent 1px); }
  .hero-core .hero-icon { background: linear-gradient(135deg, #fde68a, #f0b90b 45%, #22d3ee); color: #0b0b0c;
                          box-shadow: 0 18px 44px rgba(240,185,11,.35), 0 0 0 8px rgba(34,211,238,.10), inset 0 1px 0 rgba(255,255,255,.4); }
  .hero-core h1 { background-image: linear-gradient(90deg, #fde68a, #f0b90b 30%, #22d3ee 70%, #a5b4fc); background-size: 200% auto;
                  animation: xcSlide 6s linear infinite; filter: drop-shadow(0 6px 26px rgba(34,211,238,.25)); }
  body.light-theme .hero-core h1 { background-image: linear-gradient(90deg, #b45309, #0e7490, #6d28d9); filter: none; }
  .live-badge { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; padding: 4px 11px; border-radius: 999px;
                font-size: .7rem; font-weight: 900; letter-spacing: .12em; color: #fecaca;
                background: rgba(239,68,68,.16); border: 1px solid rgba(239,68,68,.45); box-shadow: 0 0 20px rgba(239,68,68,.2); }
  body.light-theme .live-badge { color: #b91c1c; }
  .live-badge i { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; animation: xcPing 1.6s ease-out infinite; }
  .hero-core .hero-meta { background: rgba(34,211,238,.12); border-color: rgba(34,211,238,.35); }

  /* 시세 띠 */
  .mkt { position: relative; }
  .mkt-cell { position: relative; overflow: hidden; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
              border-color: var(--glass-border); border-radius: 14px; padding: 10px 12px; transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
  .mkt-cell::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad); opacity: .75; }
  .mkt-cell:hover { border-color: rgba(168,85,247,.55); box-shadow: 0 10px 26px rgba(99,102,241,.25); transform: translateY(-2px); }
  .mkt-cell span { font-weight: 900; font-size: 1rem; }

  /* 묶음 바로가기·묶음 제목 */
  .grp-nav a { background: var(--glass); border-color: var(--glass-border); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
               transition: var(--transition); }
  .grp-nav a:hover { color: #fff; background: var(--grad); border-color: transparent; box-shadow: 0 8px 22px rgba(99,102,241,.35); transform: translateY(-2px); }
  body.light-theme .grp-nav a:hover { color: #fff; }
  .grp-h { position: relative; padding-left: 14px; }
  .grp-h::before { content: ''; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 4px;
                   background: var(--grad); box-shadow: 0 0 12px rgba(168,85,247,.6); }
  .grp-h h3 { font-size: 1.12rem; font-weight: 900; letter-spacing: -.02em; }

  .sec-head h2 { position: relative; padding-left: 14px; }
  .sec-head h2::before { content: ''; position: absolute; left: 0; top: .18em; bottom: .18em; width: 4px; border-radius: 4px;
                         background: var(--grad); box-shadow: 0 0 12px rgba(168,85,247,.6); }

  /* 도구 카드 — 유리판 + 호버 때 그라데이션 테두리와 빛 */
  .card { position: relative; overflow: hidden; isolation: isolate; border-color: var(--glass-border);
          box-shadow: inset 0 1px 0 rgba(255,255,255,.04); animation: xcIn .5s cubic-bezier(.2,.7,.2,1) backwards; }
  .card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
                  background: var(--grad); opacity: 0; transition: opacity .25s ease;
                  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
  .card::after { content: ''; position: absolute; width: 220px; height: 220px; right: -90px; top: -110px; border-radius: 50%; pointer-events: none; z-index: -1;
                 background: radial-gradient(circle, rgba(168,85,247,.28), transparent 70%); opacity: 0; transition: opacity .3s ease; }
  .card:hover { border-color: transparent; transform: translateY(-5px); box-shadow: 0 22px 46px rgba(99,102,241,.26), 0 0 0 1px rgba(168,85,247,.3); }
  .card:hover::before, .card:hover::after { opacity: 1; }
  .card-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; font-size: 1.5rem;
               background: linear-gradient(135deg, rgba(99,102,241,.22), rgba(217,70,239,.16)); border: 1px solid rgba(168,85,247,.25);
               transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
  .card:hover .card-icon { transform: scale(1.1) rotate(-6deg); }
  .grid .card:nth-child(2) { animation-delay: .04s; } .grid .card:nth-child(3) { animation-delay: .08s; }
  .grid .card:nth-child(4) { animation-delay: .12s; } .grid .card:nth-child(5) { animation-delay: .16s; }
  .grid .card:nth-child(6) { animation-delay: .2s; }

  .show-more-btn { background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
  .show-more-btn:hover { box-shadow: 0 12px 30px rgba(99,102,241,.3); }

  /* 코인·주식 허브의 차트·신호 묶음(앞의 두 묶음) — 더 크게, 회전 테두리 판 위에 */
  .core-hub #toolGrid > .grp:nth-child(-n+2) { position: relative; isolation: isolate; padding: 20px; border-radius: 22px; margin-bottom: 30px;
      background: radial-gradient(120% 120% at 0% 0%, rgba(240,185,11,.08), transparent 50%),
                  radial-gradient(120% 120% at 100% 0%, rgba(34,211,238,.09), transparent 50%), var(--glass); }
  .core-hub #toolGrid > .grp:nth-child(-n+2)::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
      background: conic-gradient(from var(--xc-ang, 0deg), #f0b90b, #22d3ee, #a855f7, #ec4899, #f0b90b);
      -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
      animation: xcSpin 10s linear infinite; opacity: .85; }
  .core-hub #toolGrid > .grp:nth-child(-n+2) .grp-h h3 { font-size: 1.32rem;
      background: linear-gradient(90deg, #fde68a, #f0b90b 30%, #22d3ee 70%, #a5b4fc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
  body.light-theme .core-hub #toolGrid > .grp:nth-child(-n+2) .grp-h h3 { background-image: linear-gradient(90deg, #b45309, #0e7490, #6d28d9); }
  .core-hub #toolGrid > .grp:nth-child(-n+2) .grp-h::before { background: linear-gradient(180deg, #f0b90b, #22d3ee); box-shadow: 0 0 14px rgba(34,211,238,.6); }
  .core-hub #toolGrid > .grp:nth-child(-n+2) .grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 14px; }
  .core-hub #toolGrid > .grp:nth-child(-n+2) .card { padding: 20px; background: var(--card); }
  .core-hub #toolGrid > .grp:nth-child(-n+2) .card h3 { font-size: 1.06rem; }
  .core-hub #toolGrid > .grp:nth-child(-n+2) .card-icon { width: 54px; height: 54px; font-size: 1.75rem; border-radius: 16px;
      background: linear-gradient(135deg, rgba(240,185,11,.25), rgba(34,211,238,.22)); border-color: rgba(34,211,238,.3);
      box-shadow: 0 8px 22px rgba(34,211,238,.18); }
  .core-hub #toolGrid > .grp:nth-child(-n+2) .card::before { background: linear-gradient(135deg, #f0b90b, #22d3ee, #a855f7); }
  .core-hub #toolGrid > .grp:nth-child(-n+2) .card:hover { box-shadow: 0 22px 46px rgba(34,211,238,.2), 0 0 0 1px rgba(34,211,238,.3); }

  /* 읽을거리·안내·용어·FAQ */
  .read-topic { position: relative; background: var(--glass); border-color: var(--glass-border); border-radius: 18px;
                backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: var(--transition); }
  .read-topic:hover { border-color: rgba(168,85,247,.45); box-shadow: 0 14px 34px rgba(99,102,241,.2); }
  .read-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 13px;
              font-size: 1.4rem; background: linear-gradient(135deg, rgba(99,102,241,.22), rgba(217,70,239,.16)); }
  .read-kids a { background: rgba(255,255,255,.03); transition: var(--transition); }
  .read-kids a:hover { background: rgba(99,102,241,.16); }
  body.light-theme .read-kids a:hover, body.light-theme .read-head:hover b { color: var(--text); }
  .read-more { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
  .prose li::before { content: ''; top: .72em; left: 3px; width: 7px; height: 7px; border-radius: 50%; background: var(--grad);
                      box-shadow: 0 0 8px rgba(168,85,247,.55); }
  .gloss-item { background: var(--glass); border-color: var(--glass-border); box-shadow: inset 3px 0 0 #a855f7; }
  .gloss-item dt { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
  .faq-item { background: var(--glass); border-color: var(--glass-border); transition: border-color .25s ease, box-shadow .25s ease; }
  .faq-item[open] { border-color: rgba(168,85,247,.45); box-shadow: 0 12px 30px rgba(99,102,241,.16); }
  .faq-item summary::after { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%;
                             color: #fff; background: var(--grad); font-size: .95rem; }
  .disclaimer { background: var(--glass); border-color: var(--glass-border); }
  footer { border-top-color: var(--glass-border); position: relative; }
  footer::before { content: ''; position: absolute; left: 50%; top: -1px; width: min(320px, 70%); height: 1px; transform: translateX(-50%); background: var(--grad); }

  @media (max-width: 720px) {
    .hero-core { margin-top: 14px; padding: 30px 16px 22px; border-radius: 20px; }
    .core-hub #toolGrid > .grp:nth-child(-n+2) { padding: 14px; border-radius: 18px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .topbar::after, .hero-core::after, .hero-core h1, .live-badge i, .card,
    .core-hub #toolGrid > .grp:nth-child(-n+2)::before { animation: none !important; }
  }

  /* ═══ 묶음 바로가기를 스크롤해도 화면 맨 위에 붙게(2026-11-21 까지는 고정 광고 띠 52/46px 아래) ═══ */
  .grp-nav { position: sticky; top: 0; z-index: 41; margin: 4px -20px 18px; padding: 10px 20px;
             background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
  @supports (color: color-mix(in srgb, red, blue)) {
    .grp-nav { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  }
  .grp-nav.stuck { border-bottom-color: var(--glass-border); box-shadow: 0 10px 24px -14px rgba(0,0,0,.35); }
  body.light-theme .grp-nav.stuck { box-shadow: 0 10px 24px -14px rgba(15,23,42,.18); }
  .grp-nav a { white-space: nowrap; flex: none; }
  .grp-nav a.on { color: #fff; background: var(--grad); border-color: transparent; }
  .grp { scroll-margin-top: 130px; }
  /* 좁은 화면에서는 한 줄로 두고 줄만 가로로 스크롤(붙었을 때 화면을 덜 가린다) */
  @media (max-width: 900px) {
    .grp-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .grp-nav::-webkit-scrollbar { display: none; }
    .grp { scroll-margin-top: 112px; }
  }

  /* 맨 위로 */
  .to-top { position: fixed; right: 16px; bottom: 20px; z-index: 46; width: 44px; height: 44px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center; cursor: pointer; font: inherit; font-size: 1.1rem; font-weight: 900;
            color: var(--text); background: var(--glass); border: 1px solid var(--glass-border);
            backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 26px rgba(0,0,0,.25);
            opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  body.light-theme .to-top { box-shadow: 0 8px 22px rgba(15,23,42,.12); }
  .to-top.show { opacity: 1; visibility: visible; transform: none; }
  .to-top:hover { border-color: rgba(168,85,247,.6); }
  .to-top:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  @media (prefers-reduced-motion: reduce) { .grp-nav, .to-top { transition: none; } }
  /* ═══ 2차 디자인 점검 — 휴대폰에서 히어로가 첫 화면을 다 썼다(첫 도구 카드 ~870px).
     제목 + 두 줄 소개 + 한 줄 통계로 줄이고, 본문 글자는 14–15px 로 올린다. ═══ */
  .card p { font-size: .875rem; }
  .prose p { font-size: .95rem; }
  .prose li { font-size: .92rem; }
  .read-txt small { font-size: .875rem; }
  .read-kids a { font-size: .84rem; min-height: 36px; display: inline-flex; align-items: center; }
  /* 한 줄 말줄임이면 폰에서 글 제목의 뒤쪽이 잘렸다(320px 영어 금융 허브 19개) — 두 줄까지. a 는 inline-flex(36px 가운데 맞춤)라
     line-clamp 가 안 들어서 안쪽 span 에 건다. */
  .read-kids a { white-space: normal; }
  .read-kids a > span { min-width: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; line-height: 1.35; }
  .gloss-item dd { font-size: .875rem; }
  .faq-item p { font-size: .92rem; }
  .disclaimer { font-size: .8125rem; }
  .lang-switch a { display: inline-flex; align-items: center; min-height: 32px; }
  .grp-nav a { min-height: 36px; display: inline-flex; align-items: center; }
  .grp-h span { font-size: .875rem; }
  footer a { display: inline-flex; align-items: center; min-height: 36px; }
  footer p { font-size: .8125rem; }
  .intro-more { display: none; margin-top: 4px; min-height: 36px; padding: 0 2px; background: none; border: 0; font: inherit;
                font-size: .875rem; font-weight: 800; color: #a5b4fc; cursor: pointer; }
  @media (max-width: 720px) {
    .hero { padding: 16px 0 6px; }
    .hero-icon { display: none; }
    .hero h1 { font-size: 1.5rem; }
    .hero p { margin-top: 6px; font-size: .92rem; line-height: 1.55;
              display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .hero-meta { margin-top: 8px; font-size: .8125rem; padding: 3px 11px; }
    .search-frame { margin-top: 12px; padding: 10px 14px; }
    .hero-core { margin-top: 10px; padding: 16px 14px 16px; }
    .live-badge { margin-bottom: 8px; padding: 3px 10px; font-size: .75rem; }
    /* 시세 띠는 한 줄 가로 스크롤 — 두 줄이던 띠가 190px 를 썼다 */
    .mkt { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 12px -20px 0; padding: 0 20px 2px; }
    .mkt::-webkit-scrollbar { display: none; }
    .mkt-cell { flex: 0 0 auto; min-width: 112px; padding: 8px 11px; }
    .intro-sec { padding: 14px 0 0; }
    .intro-p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .intro-sec.open .intro-p { display: block; }
    .intro-more { display: inline-flex; align-items: center; }
    .intro-sec.open .intro-more { display: none; }
    section { padding: 22px 0; }
    #tools { padding-top: 16px; }
    /* 도구 카드: 아이콘 왼쪽, 제목·두 줄 설명 오른쪽 — 한 장이 ~170px 에서 ~100px 로 */
    .card { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 14px; }
    .card-icon { grid-row: span 2; margin: 0; }
    .card h3 { margin: 1px 0 3px; }
    .card p { -webkit-line-clamp: 2; }
    .core-hub #toolGrid > .grp:nth-child(-n+2) .card { padding: 14px; grid-template-columns: 54px minmax(0, 1fr); }
  }

  /* ═══════════ 개편 4 — 허브마다 자기 색 (2026-10) ═══════════
     코인 금색·호박, 주식 파랑·청록, 종교 장미·호박, 법률 금빛·남색, 금융 초록, 심리 보라·분홍, 게임 자홍·주황, 유틸 청록, 도구 남색.
     --h1·--h2·--h3: 장식 색, --hbtn·--hon: 채운 버튼 바탕과 그 위 글자(대비 4.5:1 이상으로 고른 짝),
     --htint: 어두운 바탕 위 강조 글자색. 배경 오로라(--aur-*)도 허브 색으로 바뀐다.
     움직임: 휴대폰은 히어로 오로라(+상단 바 점)만, 데스크톱은 + 핵심 허브 회전 테두리·LIVE 점. */
  :root { --h1: #6366f1; --h2: #a855f7; --h3: #ec4899; --h1a: rgba(99,102,241,.38); --h2a: rgba(168,85,247,.3); --h3a: rgba(236,72,153,.22);
          --hbtn: linear-gradient(135deg, #4f46e5, #7c3aed); --hon: #fff; --htint: #c7d2fe; }
  :root { --hgrad: linear-gradient(135deg, var(--h1), var(--h2)); }

  .topbar::after { animation: none; background: linear-gradient(90deg, transparent, var(--h1), var(--h2), transparent); opacity: .8; }
  .brand span { background: var(--hgrad); -webkit-background-clip: text; background-clip: text; }
  .lang-switch a.on, .cat-nav a.active { background: var(--hbtn); color: var(--hon); box-shadow: 0 4px 16px var(--h1a); }
  .cat-nav a:hover { background: var(--h1a); color: var(--text); }

  /* 히어로 — 모든 허브가 유리판 + 오로라 + 그라데이션 테두리 */
  .hero { isolation: isolate; overflow: hidden; margin-top: 26px; padding: 46px 24px 34px; border-radius: 28px; border: 1px solid transparent;
          background: linear-gradient(165deg, rgba(14,16,36,.95), rgba(5,7,18,.97)) padding-box,
                      linear-gradient(130deg, var(--h1), rgba(255,255,255,.06) 40%, rgba(255,255,255,.04) 60%, var(--h2)) border-box;
          box-shadow: 0 34px 80px -30px var(--h1a), 0 24px 60px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.08); }
  .hero::before { width: 100%; left: 0; transform: none; height: 1px; top: 0; filter: none; z-index: 1;
                  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); }
  .hero .xn-aurora { --xa1: var(--h1a); --xa2: var(--h2a); --xa3: var(--h3a); }
  .hero-icon { animation: none; background: var(--hbtn); color: var(--hon);
               box-shadow: 0 18px 44px var(--h1a), 0 0 0 8px rgba(255,255,255,.04), 0 0 0 9px var(--h2a), inset 0 1px 0 rgba(255,255,255,.35); }
  .hero-core .hero-icon { background: var(--hbtn); color: var(--hon); box-shadow: 0 18px 44px var(--h1a), 0 0 0 9px var(--h2a), inset 0 1px 0 rgba(255,255,255,.35); }
  /* 묶음 바로가기는 붙기 전엔 투명하게 — 오로라 위에 어두운 띠가 떠 보였다 */
  .grp-nav:not(.stuck) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero h1, .hero-core h1 { animation: none; background-size: 100% auto;
             background-image: linear-gradient(120deg, #fff 20%, var(--htint) 55%, var(--h2) 100%); filter: drop-shadow(0 8px 30px var(--h1a)); }
  .hero p { color: var(--text-sub); }
  .hero-meta, .hero-core .hero-meta { color: var(--text); background: rgba(255,255,255,.05); border-color: var(--h1a); box-shadow: 0 0 22px var(--h1a); }
  .search-frame { border: 1.5px solid transparent;
                  background: linear-gradient(rgba(6,7,20,.95), rgba(6,7,20,.95)) padding-box, linear-gradient(90deg, var(--h1a), var(--h2a)) border-box;
                  box-shadow: 0 12px 34px -14px var(--h1a), inset 0 2px 6px rgba(0,0,0,.3); }
  .search-frame:focus-within { border-color: transparent;
                  background: linear-gradient(rgba(3,4,14,.94), rgba(3,4,14,.94)) padding-box, linear-gradient(90deg, var(--h1), var(--h2)) border-box;
                  box-shadow: 0 0 0 4px var(--h2a), 0 0 46px var(--h1a); }

  /* 코인·주식 — 회전 테두리를 허브 색으로 */
  .hero-core { padding: 40px 24px 30px; background: linear-gradient(165deg, rgba(12,14,32,.9), rgba(4,6,18,.95)); border: 0; }
  .hero-core::after { background: conic-gradient(from var(--xc-ang, 0deg), var(--h1), var(--h2), var(--h3), var(--h2), var(--h1)); }
  .core-hub #toolGrid > .grp:nth-child(-n+2)::before { animation: none; background: linear-gradient(135deg, var(--h1), rgba(255,255,255,.05) 45%, var(--h2)); }
  .core-hub #toolGrid > .grp:nth-child(-n+2) { background: radial-gradient(120% 120% at 0% 0%, var(--h1a), transparent 45%), var(--glass); }
  .core-hub #toolGrid > .grp:nth-child(-n+2) .grp-h h3 { background-image: linear-gradient(90deg, var(--htint), var(--h1) 50%, var(--h2)); }
  .core-hub #toolGrid > .grp:nth-child(-n+2) .grp-h::before { background: linear-gradient(180deg, var(--h1), var(--h2)); box-shadow: 0 0 14px var(--h1a); }
  .core-hub #toolGrid > .grp:nth-child(-n+2) .card-icon { background: linear-gradient(135deg, var(--h1a), var(--h2a)); border-color: var(--h1a); box-shadow: 0 8px 22px var(--h1a); }
  .core-hub #toolGrid > .grp:nth-child(-n+2) .card::before { background: linear-gradient(135deg, var(--h1), var(--h2)); }
  .core-hub #toolGrid > .grp:nth-child(-n+2) .card:hover { box-shadow: 0 22px 46px -10px var(--h1a), 0 0 0 1px var(--h1a); }

  /* 시세 띠 — 시세판처럼(왼쪽 색 막대가 오르내림을 따른다) */
  .mkt-cell { padding: 10px 12px 9px 15px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); }
  .mkt-cell::before { left: 0; right: auto; top: 9px; bottom: 9px; width: 3px; height: auto; border-radius: 0 3px 3px 0; background: var(--hgrad); opacity: .9; }
  .mkt-cell:hover { border-color: var(--h1a); box-shadow: 0 10px 26px -6px var(--h1a); }
  .mkt-cell b { letter-spacing: .04em; color: var(--text-sub); }

  /* 묶음 바로가기·제목 */
  .grp-nav a:hover, .grp-nav a.on { color: var(--hon); background: var(--hbtn); border-color: transparent; box-shadow: 0 8px 22px -4px var(--h1a); }
  .grp-h::before, .sec-head h2::before { background: linear-gradient(180deg, var(--h1), var(--h2)); box-shadow: 0 0 12px var(--h1a); }
  .sec-head h2 { padding-bottom: 6px; }
  .sec-head h2::after { content: ''; position: absolute; left: 14px; bottom: 0; width: 48px; height: 2px; border-radius: 2px;
                        background: linear-gradient(90deg, var(--h1), transparent); }

  /* 도구 카드 */
  .card { box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 12px 26px -20px rgba(0,0,0,.8); }
  .card::before { background: linear-gradient(135deg, var(--h1), transparent 50%, var(--h2)); }
  .card::after { background: radial-gradient(circle, var(--h1a), transparent 70%); }
  .card:hover { box-shadow: 0 24px 48px -16px var(--h1a), 0 0 0 1px rgba(255,255,255,.04); }
  .card:active { transform: translateY(-1px) scale(.985); transition-duration: .1s; }
  .card:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--h1), 0 0 28px var(--h1a); }
  .card-icon { background: linear-gradient(135deg, var(--h1a), var(--h2a)); border-color: var(--h1a); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
  .show-more-btn { background: linear-gradient(var(--card), var(--card)) padding-box, var(--hgrad) border-box; }
  .show-more-btn:hover { box-shadow: 0 12px 30px -6px var(--h1a); }

  /* 읽을거리·안내·용어·FAQ */
  .read-topic:hover { border-color: var(--h1a); box-shadow: 0 16px 36px -10px var(--h1a); }
  .read-ico { background: linear-gradient(135deg, var(--h1a), var(--h2a)); }
  .read-kids a:hover { background: var(--h1a); border-color: var(--h1a); }
  .read-more { background: none; -webkit-text-fill-color: currentColor; color: var(--htint); }
  .prose li::before { background: var(--hgrad); box-shadow: 0 0 8px var(--h1a); }
  .gloss-item { box-shadow: inset 3px 0 0 var(--h1); }
  .gloss-item dt { background: none; -webkit-text-fill-color: currentColor; color: var(--htint); }
  .faq-item[open] { border-color: var(--h1a); box-shadow: 0 12px 30px -8px var(--h1a); }
  .faq-item summary::after { background: var(--hbtn); color: var(--hon); }
  .intro-more { color: var(--htint); }
  footer::before { background: var(--hgrad); }
  footer a { color: var(--htint); }
  .to-top:hover { border-color: var(--h1); box-shadow: 0 10px 26px -6px var(--h1a); }

  @media (max-width: 720px) {
    .hero, .hero-core { margin-top: 12px; padding: 20px 16px 18px; border-radius: 22px; }
  }
  /* 움직임 예산 — 휴대폰: 히어로 오로라만(+상단 바 점) */
  @media (max-width: 760px) {
    .hero-core::after, .live-badge i { animation: none !important; }
    .live-badge i { box-shadow: 0 0 0 3px rgba(239,68,68,.25); }
  }
  @media (prefers-reduced-motion: reduce) { .card, .card-icon { transition: none; } }

  /* 모바일 속도(2026-10, md/decisions.md "모바일 속도"): 글꼴 조각이 도착할 때마다 페이지 전체를 다시 배치하던 것이
     감속 모바일 TBT 의 대부분이었다(코인 허브 0.95초·주식 허브 0.77초). 화면 밖 카드와 도구 목록 아래 절은 그리지 않고 건너뛴다(포털과 같은 처방).
     카드는 원래 overflow:hidden 이라 페인트 격리로 달라지는 모양이 없다. 높이는 카드 내용(안쪽 여백·테두리 뺀 값) — 한 번 그린 뒤에는 auto 가 기억한다.
     절은 자식 그림자가 옆으로 삐져나오므로 그만큼 잘리지 않게 overflow-clip-margin 을 아는 브라우저에서만 건너뛴다. */
  .card { content-visibility: auto; contain-intrinsic-size: auto 152px; }
  .core-hub #toolGrid > .grp:nth-child(-n+2) .card { contain-intrinsic-size: auto 162px; }
  @media (max-width: 720px) { .card, .core-hub #toolGrid > .grp:nth-child(-n+2) .card { contain-intrinsic-size: auto 74px; } }
  @supports (overflow-clip-margin: 1px) {
    main > section:not(.intro-sec):not(#tools):not(.hs):not(.ent) { content-visibility: auto; contain-intrinsic-size: auto 1200px; overflow-clip-margin: 40px; }
  }

  /* ═══ 허브 첫 화면(2026-10): 맨 위 시세 띠(서버가 그림) + 들어가는 길 ═══
     띠는 칸 높이·안내 줄 높이를 고정해 값이 늦게 와도 아래가 움직이지 않는다(CLS 0). */
  .hs { padding: 0; margin-top: 18px; }
  .hs .mkt { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); max-width: none; margin: 0; }
  /* 세 줄 모두 한 줄 고정(줄 높이 지정 + 말줄임) — '–' 에서 값으로 바뀌어도 칸 높이가 같다 */
  .hs .mkt-cell { display: block; color: var(--text); text-decoration: none; }
  .hs .mkt-cell b { line-height: 16px; height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hs .mkt-cell span { line-height: 24px; height: 24px; }
  .hs .mkt-cell em { display: block; line-height: 18px; height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mkt-cell em.nt { color: var(--text-sub); }
  .mkt-cell[data-p] span { color: var(--muted); }
  .mkt-cell:focus-visible { outline: 2px solid var(--h1); outline-offset: 2px; }
  .hs-note { display: flex; margin: 6px 2px 0; height: 18px; line-height: 18px; font-size: .75rem; color: var(--muted); white-space: nowrap; }
  .hs-note time { flex: none; }
  .hs-note span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

  .ent { padding: 24px 0 4px; }
  .ent-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 12px; }
  .ent-h h2 { font-size: 1.22rem; font-weight: 900; letter-spacing: -.02em; }
  .ent-h span { font-size: .875rem; color: var(--muted); }
  .ent-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
  .ent-steps li { min-width: 0; }
  .ent-steps a { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 12px; height: 100%; box-sizing: border-box;
                 padding: 14px 16px; border-radius: 16px; color: var(--text); text-decoration: none;
                 background: var(--glass); border: 1px solid var(--glass-border); transition: var(--transition); }
  .ent-steps a:hover { border-color: var(--h1a); box-shadow: 0 14px 30px -10px var(--h1a); transform: translateY(-2px); }
  .ent-steps a:focus-visible { outline: 2px solid var(--h1); outline-offset: 2px; }
  .ent-steps i { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%;
                 font-style: normal; font-size: .8rem; font-weight: 900; background: var(--hbtn); color: var(--hon); }
  .ent-ico { font-size: 1.5rem; line-height: 1; }
  .ent-t { min-width: 0; }
  .ent-t b { display: block; font-size: .98rem; font-weight: 800; }
  .ent-t small { display: block; margin-top: 3px; font-size: .84rem; line-height: 1.45; color: var(--text-sub); }
  .ent-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin-top: 16px; }
  .ent-rw { min-width: 0; }
  .ent-rw h3 { margin: 0 0 8px; font-size: .8rem; font-weight: 800; letter-spacing: .04em; color: var(--muted); }
  .ent-row { display: flex; flex-wrap: wrap; gap: 8px; }
  .ent-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border-radius: 999px; white-space: nowrap;
              font-size: .84rem; font-weight: 700; color: var(--text-sub); text-decoration: none;
              background: var(--glass); border: 1px solid var(--glass-border); transition: var(--transition); }
  .ent-chip:hover { color: var(--text); border-color: var(--h1a); }
  .ent-chip em { font-style: normal; font-size: .64rem; font-weight: 900; letter-spacing: .06em; padding: 2px 6px; border-radius: 999px;
                 background: var(--hbtn); color: var(--hon); }
  @media (max-width: 900px) {
    .ent-steps { grid-template-columns: 1fr; gap: 8px; }
    .ent-steps a { padding: 11px 14px; }
    .ent-rows { grid-template-columns: 1fr; }
    .ent-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 2px; }
    .ent-row::-webkit-scrollbar { display: none; }
  }
  @media (max-width: 720px) {
    .hs { margin-top: 10px; }
    .hs .mkt { display: flex; margin: 0 -20px; }
    .hs-note { margin: 4px 0 0; }
    .ent { padding: 18px 0 0; }
    .ent-h h2 { font-size: 1.1rem; }
    .ent-h { margin-bottom: 10px; }
    .ent-h span { font-size: .84rem; }
    .ent-t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  }

  /* ═══ 코인·주식 허브 = 다크 시세판(2026-11-16, 운영자 「메인 컨텐츠 디자인 강화」) ═══
     맨 위 시세 띠를 첫 화면의 주인공으로: 격자선 판 위 숫자 칸, 숫자는 크게·고정 폭 숫자, 오르내림은 칸 바탕에 옅은 색(색은 category.html 의 --up·--down).
     칸 높이는 줄 높이로 고정 그대로(값이 늦게 와도 CLS 0). 숫자만 — 해석·권유 문구 없음(md/revenue.md).
     헌법 8: 이 두 허브에서 무한 움직임(테두리 회전·제목 흐름·아이콘 둥실·LIVE 점 깜박임·상단 줄 흐름)과 시세 칸 흐림을 끈다 — LIVE 점은 처음 세 번만. */
  .core-hub .hs { position: relative; padding: 12px; border-radius: 18px; border: 1px solid rgba(255,255,255,.08);
                  background:
                    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 100% 24px,
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 24px 100%,
                    linear-gradient(180deg, #0b0f1d, #060812); }
  .core-hub .hs::before { content: ''; position: absolute; left: 18px; right: 18px; top: -1px; height: 2px; border-radius: 2px; background: var(--hgrad, linear-gradient(90deg, var(--h1), var(--h2))); opacity: .85; }
  .core-hub .hs .mkt { gap: 10px; }
  .core-hub .hs .mkt-cell { -webkit-backdrop-filter: none; backdrop-filter: none; padding: 11px 14px 10px 16px; border-radius: 12px;
                            background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015)); border: 1px solid rgba(255,255,255,.09); }
  .core-hub .hs .mkt-cell:has(em.up) { background: linear-gradient(180deg, color-mix(in srgb, var(--up, #f04452) 13%, transparent), rgba(255,255,255,.015)); }
  .core-hub .hs .mkt-cell:has(em.down) { background: linear-gradient(180deg, color-mix(in srgb, var(--down, #3182f6) 13%, transparent), rgba(255,255,255,.015)); }
  .core-hub .hs .mkt-cell b { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
  .core-hub .hs .mkt-cell span { font-size: 1.36rem; font-weight: 800; letter-spacing: -.02em; line-height: 32px; height: 32px; color: #f8fafc; font-variant-numeric: tabular-nums; }
  .core-hub .hs .mkt-cell[data-p] span { color: var(--muted); }
  .core-hub .hs .mkt-cell em { font-size: .8rem; }
  .core-hub .hs-note { margin: 8px 2px 0; }
  body.light-theme .core-hub .hs { border-color: rgba(15,23,42,.1);
                  background: linear-gradient(rgba(15,23,42,.04) 1px, transparent 1px) 0 0 / 100% 24px, linear-gradient(90deg, rgba(15,23,42,.04) 1px, transparent 1px) 0 0 / 24px 100%, #f8fafc; }
  body.light-theme .core-hub .hs .mkt-cell { background: #fff; border-color: rgba(15,23,42,.1); }
  body.light-theme .core-hub .hs .mkt-cell span { color: #0f172a; }
  /* 히어로: 격자를 진하게 + 4칸마다 굵은 선(차트 판 느낌, 그림일 뿐 자료 아님) */
  .core-hub .hero-grid { opacity: .75;
               background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
                                 linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
               background-size: 112px 112px, 112px 112px, 28px 28px, 28px 28px; }
  body.light-theme .core-hub .hero-grid { background-image: linear-gradient(rgba(15,23,42,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,.07) 1px, transparent 1px),
                                 linear-gradient(rgba(15,23,42,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,.04) 1px, transparent 1px); }
  .core-hub .hero-core::after { animation: none; }
  .core-hub .hero-core h1 { animation: none; background-position: 0 0; }
  .core-hub .hero-icon { animation: none; }
  .core-hub .live-badge i { animation: xcPing 1.6s ease-out 3; }
  body:has(.core-hub) .topbar::after { animation: none; }
  @media (max-width: 720px) {
    .core-hub .hs { padding: 10px 0 10px; border-radius: 14px; margin-left: -6px; margin-right: -6px; }
    .core-hub .hs::before { left: 12px; right: 12px; }
    .core-hub .hs .mkt { margin: 0; padding: 0 10px 2px; }
    .core-hub .hs .mkt-cell { min-width: 126px; padding: 9px 12px 8px 14px; }
    .core-hub .hs .mkt-cell span { font-size: 1.16rem; line-height: 28px; height: 28px; }
    .core-hub .hs-note { margin: 6px 10px 0; }
  }
  @media (prefers-reduced-motion: reduce) { .core-hub .live-badge i { animation: none; } }

  /* ═══ 나토 v2 결(2026-11-27, 대표 「앱 차례로 살펴 보면서 나토 수준의 디자인 개선」) ═══
     허브마다 자기 색(개편 4)은 작은 강조로만 남긴다 — 칸 제목 막대·고른 탭. 나머지는 나토처럼 차분하게:
     헌법 8 — 끝없는 움직임(테두리 회전·흐르는 줄·둥실 아이콘·LIVE 깜박임)·흐림(backdrop-filter)·빛 번짐 그림자·무지개 글자를 뺀다.
     카드는 평평한 칸(얇은 선, 올라오지 않음), 제목은 글자색 그대로. 이 블록 하나만 지우면 예전 모양으로 돌아간다. */
  body .topbar, body .toc, body .search-frame, body .grp-nav, body .grp-nav a, body .read-topic, body .mkt-cell, body .core-hub .hs .mkt-cell,
  body .gloss-item, body .faq-item { -webkit-backdrop-filter: none; backdrop-filter: none; }
  body .topbar::after, body .hero::before, body .kw-hero::before, body .hero-core::after, body .hero-grid, body .core-hub .hero-grid,
  body .hero .xn-aurora, body .core-hub .hs::before, body .mkt-cell::before, body footer::before,
  body .core-hub #toolGrid > .grp:nth-child(-n+2)::before, body .card::before, body .card::after { display: none; }
  body .hero-icon, body .kw-hero .ico, body .hero-core .hero-icon, body .core-hub .hero-icon { animation: none; box-shadow: none; }
  body .live-badge { box-shadow: none; }
  body .live-badge i, body .core-hub .live-badge i { animation: none; }
  /* 히어로 — 유리판·오로라·그라데이션 테두리 → 평평한 칸 */
  body .hero, body .hero-core, body.light-theme .hero-core { background: var(--card); border: 1px solid var(--border); box-shadow: none; }
  body .hero h1, body .kw-hero h1, body .hero-core h1, body.light-theme .hero h1, body.light-theme .hero-core h1,
  body.light-theme .core-hub #toolGrid > .grp:nth-child(-n+2) .grp-h h3, body .core-hub #toolGrid > .grp:nth-child(-n+2) .grp-h h3 {
    background: none; -webkit-text-fill-color: currentColor; color: var(--text); text-shadow: none; filter: none; animation: none; }
  body .hero h1, body .hero-core h1 { font-weight: 900; letter-spacing: -0.04em; }
  body .hero-meta, body .kw-meta, body .hero-core .hero-meta { background: none; border: 1px solid var(--border); box-shadow: none; color: var(--muted); }
  body .brand span { background: none; -webkit-text-fill-color: currentColor; }
  /* 찾기 칸 — 나토처럼 굵은 테두리의 둥근 칸 */
  body .search-frame, body.light-theme .search-frame { box-shadow: none; border: 2px solid var(--text); border-radius: 999px; }
  body .search-frame:focus-within { box-shadow: 0 0 0 4px color-mix(in srgb, var(--text) 14%, transparent); border-color: var(--text); }
  /* 고른 탭 — 허브 색 그대로, 빛 번짐만 뺌 */
  body .lang-switch a.on, body .cat-nav a.active { box-shadow: none; }
  body .grp-nav a:hover { box-shadow: none; transform: none; }
  body .grp-nav.stuck { box-shadow: 0 1px 0 var(--border); }
  /* 칸 제목 막대 — 허브 색 한 줄(빛 번짐 없음) */
  body .grp-h::before, body .sec-head h2::before, body .core-hub #toolGrid > .grp:nth-child(-n+2) .grp-h::before { background: var(--h1); box-shadow: none; }
  /* 카드 — 평평한 칸: 얇은 선, 올라오거나 아이콘이 돌지 않음 */
  body .card { box-shadow: none; animation: none; }
  body .card:hover, body .core-hub #toolGrid > .grp:nth-child(-n+2) .card:hover { transform: none; box-shadow: none; border-color: var(--text); }
  body .card:hover .card-icon { transform: none; }
  body .card-icon, body .core-hub #toolGrid > .grp:nth-child(-n+2) .card-icon { box-shadow: none; }
  body .core-hub #toolGrid > .grp:nth-child(-n+2) { border: 1px solid var(--border); box-shadow: none; }
  body .show-more-btn:hover, body .read-topic:hover, body .faq-item[open], body .mkt-cell:hover { box-shadow: none; transform: none; }
  body .prose li::before { box-shadow: none; background: var(--h1); }
  body .gloss-item { box-shadow: inset 3px 0 0 var(--h1); }
  body .sec-head h2::after { display: none; }   /* 칸 제목 아래 그러데이션 밑줄 — 막대 하나로 충분(v2) */
