.kp-pro-section { max-width: 1100px; margin: 0 auto 3rem; padding: 0 1rem; }
        .kp-pro-section[hidden] { display: none !important; }
        .kp-pro-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
        .kp-pro-head h2 { font: 800 1.35rem/1.2 'Manrope', sans-serif; color: #1a1a2e; margin: 0; }
        .kp-pro-empty { text-align: center; padding: 3rem 1.5rem; background: #faf5ff; border-radius: 16px; color: #4b5563; }
        .kp-pro-empty h3 { font: 800 1.2rem/1.2 'Manrope', sans-serif; color: #1a1a2e; margin: 0 0 .5rem; }

        .kp-hm-legend { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1.5rem; font-size: .85rem; color: #4b5563; }
        .kp-hm-legend-item { display: inline-flex; align-items: center; gap: .4rem; }
        .kp-hm-legend-swatch { width: 14px; height: 14px; border-radius: 3px; border: 1px solid rgba(0,0,0,.08); }
        .kp-hm-swatch-untouched { background: #f1f1f5; }
        .kp-hm-swatch-weak { background: #fecaca; }
        .kp-hm-swatch-learning { background: #fde68a; }
        .kp-hm-swatch-strong { background: #c7d2fe; }
        .kp-hm-swatch-mastered { background: #86efac; }
        .kp-hm-collection { margin-bottom: 2rem; }
        .kp-hm-collection-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; flex-wrap: wrap; }
        .kp-hm-collection-title { font: 700 1.02rem/1.2 'Manrope', sans-serif; color: #1a1a2e; }
        .kp-hm-collection-meta { font-size: .8rem; color: #6b7280; }
        .kp-hm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(22px, 1fr)); gap: 4px; }
        .kp-hm-cell { aspect-ratio: 1/1; border-radius: 4px; cursor: pointer; transition: transform .15s ease; }
        .kp-hm-cell:hover { transform: scale(1.4); z-index: 2; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
        .kp-hm-cell-untouched { background: #f1f1f5; }
        .kp-hm-cell-weak { background: #fecaca; }
        .kp-hm-cell-learning { background: #fde68a; }
        .kp-hm-cell-strong { background: #c7d2fe; }
        .kp-hm-cell-mastered { background: #86efac; }

        .kp-lb-scope { display: inline-flex; gap: .25rem; background: #f3f4f6; padding: .25rem; border-radius: 999px; }
        .kp-lb-scope button { border: none; background: transparent; cursor: pointer; padding: .45rem 1rem; border-radius: 999px; font: 600 .82rem/1 'Manrope', sans-serif; color: #6b7280; }
        .kp-lb-scope button.is-active { background: #7c3aed; color: #fff; }
        .kp-lb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
        .kp-lb-card { background: #fff; border: 1px solid #f0e9ff; border-radius: 16px; padding: 1.25rem; }
        .kp-lb-card h3 { font: 800 1.05rem/1.2 'Manrope', sans-serif; color: #1a1a2e; margin: 0 0 1rem; }
        .kp-lb-row { display: flex; align-items: center; gap: .85rem; padding: .6rem 0; border-bottom: 1px solid #f5f3ff; }
        .kp-lb-row:last-child { border-bottom: none; }
        .kp-lb-rank { font: 800 .95rem/1 'Manrope', sans-serif; color: #a78bfa; width: 1.8em; text-align: right; font-variant-numeric: tabular-nums; }
        .kp-lb-row.is-top .kp-lb-rank { color: #f59e0b; }
        .kp-lb-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
        .kp-lb-name { flex: 1; font-weight: 600; color: #1a1a2e; font-size: .95rem; }
        .kp-lb-score { font: 800 1rem/1 'Manrope', sans-serif; color: #7c3aed; font-variant-numeric: tabular-nums; }
        .kp-lb-score span { font-size: .72rem; color: #6b7280; font-weight: 500; margin-left: .25rem; }

        .kp-ch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.25rem; }
        .kp-ch-card { background: linear-gradient(135deg, #faf5ff 0%, #fff 100%); border: 1.5px solid #e0d4ff; border-radius: 16px; padding: 1.35rem; display: flex; flex-direction: column; gap: .85rem; }
        .kp-ch-card.is-member { border-color: #a78bfa; }
        .kp-ch-title { font: 800 1.1rem/1.25 'Manrope', sans-serif; color: #1a1a2e; }
        .kp-ch-creator { font-size: .78rem; color: #6b7280; }
        .kp-ch-desc { font-size: .9rem; color: #4b5563; line-height: 1.5; }
        .kp-ch-meta { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: #6b7280; }
        .kp-ch-meta span strong { color: #1a1a2e; font-weight: 700; }
        .kp-ch-progress-bar { height: 6px; background: #f3f4f6; border-radius: 999px; overflow: hidden; }
        .kp-ch-progress-fill { height: 100%; background: linear-gradient(90deg, #7c3aed, #a78bfa); transition: width .3s ease; }
        .kp-ch-actions { display: flex; gap: .5rem; margin-top: auto; }

        .kp-gr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.25rem; }
        .kp-gr-card { background: #fff; border: 1.5px solid #f0e9ff; border-radius: 16px; padding: 1.35rem; display: flex; flex-direction: column; gap: 1rem; }
        .kp-gr-title { font: 800 1.08rem/1.2 'Manrope', sans-serif; color: #1a1a2e; }
        .kp-gr-desc { font-size: .88rem; color: #4b5563; line-height: 1.5; }
        .kp-gr-code { background: #f3f4f6; padding: .45rem .8rem; border-radius: 8px; font-family: 'Menlo', monospace; font-size: .82rem; letter-spacing: .1em; color: #4b5563; display: inline-flex; align-items: center; gap: .6rem; }
        .kp-gr-code-copy { background: none; border: none; color: #7c3aed; cursor: pointer; font-size: .78rem; font-weight: 600; }
        .kp-gr-members { display: flex; flex-direction: column; gap: .4rem; }
        .kp-gr-member { display: flex; align-items: center; gap: .7rem; padding: .4rem .55rem; background: #faf5ff; border-radius: 8px; }
        .kp-gr-member img { width: 28px; height: 28px; border-radius: 50%; }
        .kp-gr-member-name { flex: 1; font-size: .88rem; color: #1a1a2e; font-weight: 600; }
        .kp-gr-member-stats { font-size: .75rem; color: #6b7280; }
        .kp-gr-member-stats strong { color: #7c3aed; font-weight: 700; }
        .kp-gr-actions { display: flex; justify-content: flex-end; padding-top: .25rem; }
        .kp-gr-actions .kp-mem-btn { font-size: .78rem; padding: .45rem .85rem; }
        .kp-gr-danger { color: #b91c1c !important; border-color: #fca5a5 !important; }
        .kp-gr-danger:hover { background: #fef2f2 !important; border-color: #f87171 !important; }

        .kp-share-btn { background: none; border: 1px solid #e5e7eb; color: #6b7280; padding: .4rem .7rem; border-radius: 999px; font: 600 .75rem/1 'Manrope', sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: .3rem; transition: all .15s ease; }
        .kp-share-btn:hover { color: #7c3aed; border-color: #c7b3fa; }

        .kp-study-drawer { position: fixed; inset: 0; display: none; z-index: 100001; background: rgba(26,22,20,.7); backdrop-filter: blur(6px); align-items: flex-end; justify-content: center; padding: 1rem; }
        .kp-study-drawer.is-open { display: flex; }
        .kp-study-inner { max-width: 620px; width: 100%; background: #fff; border-radius: 20px 20px 0 0; max-height: 85vh; overflow-y: auto; padding: 1.75rem 2rem 2rem; position: relative; animation: kp-study-rise .4s cubic-bezier(.2,.8,.2,1); }
        @keyframes kp-study-rise { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
        @media (min-width: 720px) { .kp-study-drawer { align-items: center; padding: 2rem; } .kp-study-inner { border-radius: 20px; } }
        .kp-study-close { position: absolute; top: 1rem; right: 1rem; background: #f3f4f6; border: none; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; }
        .kp-study-ref { font: 800 1.3rem/1.1 'Manrope', sans-serif; color: #1a1a2e; margin-bottom: .25rem; }
        .kp-study-text { font-family: Georgia, serif; color: #4b5563; font-size: .95rem; line-height: 1.6; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid #f3f4f6; }
        .kp-study-section { margin-bottom: 1.35rem; }
        .kp-study-section h4 { font: 700 .74rem/1 'Manrope', sans-serif; color: #7c3aed; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 .65rem; }
        .kp-study-section p { margin: 0; line-height: 1.6; font-size: .95rem; color: #374151; }
        .kp-study-kw { background: #faf5ff; border-left: 3px solid #7c3aed; padding: .6rem .85rem; margin-bottom: .5rem; border-radius: 0 8px 8px 0; }
        .kp-study-kw strong { color: #6d28d9; }
        .kp-study-xr { padding: .4rem 0; border-bottom: 1px solid #f3f4f6; font-size: .88rem; }
        .kp-study-xr:last-child { border-bottom: none; }
        .kp-study-xr strong { color: #1a1a2e; }
        .kp-study-xr span { color: #6b7280; }
        .kp-study-loading { text-align: center; padding: 3rem 1rem; color: #6b7280; }
        .kp-study-error { background: #fef2f2; color: #991b1b; padding: 1rem; border-radius: 12px; }

        .kp-toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%); background: #1a1a2e; color: #fff; padding: .85rem 1.3rem; border-radius: 999px; font: 600 .88rem/1 'Manrope', sans-serif; z-index: 100002; box-shadow: 0 10px 30px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
        .kp-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(-10px); }

        .kp-vc-overlay { position: fixed; inset: 0; display: none; z-index: 100003; background: rgba(26,22,20,.78); backdrop-filter: blur(6px); align-items: center; justify-content: center; padding: 1rem; }
        .kp-vc-overlay.is-open { display: flex; }
        .kp-vc-inner { background: #fff; border-radius: 20px; padding: 1.5rem; max-width: 560px; width: 100%; text-align: center; }
        .kp-vc-canvas { max-width: 100%; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.15); }
        .kp-vc-actions { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }