/* Creator pages: /creators and /creators/<slug>. Uses the site's theme tokens (style.css, skin.css). */
.cr-page { padding-bottom: 40px; }

/* Hero, with the two paths */
.cr-hero { position: relative; overflow: hidden; padding: 76px 0 40px; text-align: center; }
.cr-hero-glow { position: absolute; inset: -40% -10% auto; height: 520px; pointer-events: none;
    background: radial-gradient(closest-side, rgba(37, 99, 235, .20), transparent 70%), radial-gradient(closest-side at 70% 40%, rgba(14, 165, 233, .14), transparent 70%); }
.cr-hero-inner { position: relative; }
.cr-eyebrow { display: inline-block; color: var(--color-accent); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 12.5px;
    margin-bottom: 14px; padding: 5px 12px; border-radius: var(--radius-full); background: rgba(37, 99, 235, .10); }
.cr-title { font-size: clamp(30px, 5.2vw, 52px); line-height: 1.1; font-weight: 800; letter-spacing: -.025em; color: var(--text-main); max-width: 820px; margin: 0 auto 16px; }
.cr-title span { background: linear-gradient(90deg, #2563eb, #0ea5e9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cr-sub { color: var(--text-muted); font-size: 17px; line-height: 1.6; max-width: 640px; margin: 0 auto 28px; }
.cr-path { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 20px; background: var(--bg-card);
    border: 1px solid var(--border-glass); box-shadow: 0 12px 40px rgba(15, 23, 42, .08); max-width: 640px; width: 100%; }
.cr-path-btn { display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px 16px; border-radius: 15px; border: 0; cursor: pointer;
    background: transparent; color: var(--text-main); font: inherit; transition: background .15s ease, color .15s ease, box-shadow .15s ease; min-width: 0; }
.cr-path-btn strong { display: block; font-size: 15.5px; }
.cr-path-btn small { display: block; font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.cr-path-btn:hover { background: rgba(37, 99, 235, .06); }
.cr-path-btn.is-on { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; box-shadow: 0 8px 22px rgba(37, 99, 235, .32); }
.cr-path-btn.is-on small { color: rgba(255, 255, 255, .82); }
.cr-path-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: inline-grid; place-items: center; background: rgba(37, 99, 235, .12); color: var(--color-accent); }
.cr-path-btn.is-on .cr-path-ico { background: rgba(255, 255, 255, .18); color: #fff; }
.cr-path-ico svg { width: 20px; height: 20px; }
.cr-trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 24px auto 0; padding: 0; color: var(--text-muted); font-size: 13.5px; }
.cr-trust li { display: inline-flex; align-items: center; gap: 6px; }
.cr-trust svg { width: 16px; height: 16px; color: #16a34a; }

/* Sections */
.section.cr-section { padding-top: 40px; padding-bottom: 40px; }
.cr-hero + div .section.cr-section:first-child, .cr-hero + div + div .section.cr-section:first-child { padding-top: 16px; }
.cr-band { background: linear-gradient(180deg, rgba(37, 99, 235, .05), rgba(37, 99, 235, .02)); border-top: 1px solid var(--border-glass); border-bottom: 1px solid var(--border-glass); }
.cr-h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -.015em; color: var(--text-main); margin: 0 0 6px; }
.cr-center { text-align: center; margin-bottom: 22px; }
.cr-lead { color: var(--text-muted); font-size: 14.5px; margin: 0; }
.cr-btn { min-width: 200px; }

/* Creator list */
.cr-list-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.cr-count { font-size: 13px; font-weight: 700; color: var(--color-accent); background: rgba(37, 99, 235, .10); padding: 5px 12px; border-radius: var(--radius-full); }
.cr-tools { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.cr-search { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: var(--radius-full); background: var(--bg-card);
    border: 1px solid var(--border-glass); color: var(--text-muted); min-height: 44px; }
.cr-search:focus-within { border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
.cr-search svg { width: 18px; height: 18px; flex: none; }
.cr-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text-main); font: inherit; font-size: 14.5px; }
.cr-sort .form-input { min-height: 44px; border-radius: var(--radius-full); min-width: 180px; }
.cr-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.cr-chip { padding: 7px 14px; border-radius: var(--radius-full); border: 1px solid var(--border-glass); background: var(--bg-card); color: var(--text-muted);
    font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .15s ease; }
.cr-chip:hover { border-color: var(--color-accent); color: var(--text-main); }
.cr-chip.is-on { background: rgba(37, 99, 235, .12); border-color: rgba(37, 99, 235, .45); color: var(--color-accent); }
.cr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 20px; }
.cr-grid:empty { display: none; }
.cr-empty { margin-top: 20px; padding: 40px 24px; text-align: center; border: 1px dashed rgba(37, 99, 235, .35); border-radius: var(--radius-lg);
    background: rgba(37, 99, 235, .03); }
.cr-empty[hidden] { display: none; }
.cr-empty-ico { width: 52px; height: 52px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(37, 99, 235, .12); color: var(--color-accent); margin-bottom: 12px; }
.cr-empty-ico svg { width: 24px; height: 24px; }
.cr-empty h3 { font-size: 18px; color: var(--text-main); margin: 0 0 6px; }
.cr-empty p { color: var(--text-muted); max-width: 520px; margin: 0 auto 16px; line-height: 1.6; }

.cr-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--radius-lg); background: var(--bg-card);
    border: 1px solid var(--border-glass); color: inherit; text-decoration: none; overflow: hidden;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.cr-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #2563eb, #0ea5e9); opacity: .7; }
.cr-card:hover { transform: translateY(-3px); border-color: var(--border-glow); box-shadow: 0 14px 34px rgba(37, 99, 235, .16); }
.cr-card:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.cr-card-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cr-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--border-glow); }
.cr-avatar-blank { display: inline-grid; place-items: center; background: linear-gradient(135deg, rgba(37, 99, 235, .18), rgba(14, 165, 233, .14)); color: var(--color-accent); font-weight: 800; font-size: 22px; }
.cr-card-name { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; flex: 1; }
.cr-card-name strong { color: var(--text-main); font-size: 16px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-kind-tag { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: var(--radius-full); background: rgba(37, 99, 235, .10); color: var(--color-accent); }
.cr-kind-mentor { background: rgba(14, 165, 233, .12); color: #0284c7; }
.cr-rank { flex: none; font-weight: 800; color: var(--color-accent); font-size: 13px; padding: 4px 9px; border-radius: 10px; background: rgba(37, 99, 235, .10); }
.cr-markets { display: flex; flex-wrap: wrap; gap: 6px; }
.cr-markets span { font-size: 11.5px; color: var(--text-muted); padding: 2px 8px; border-radius: 6px; border: 1px solid var(--border-glass); }
.cr-card-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 0; border-top: 1px solid var(--border-glass); border-bottom: 1px solid var(--border-glass); }
.cr-card-stats div { display: flex; flex-direction: column; gap: 2px; }
.cr-card-stats b { font-family: var(--font-mono); font-size: 18px; color: var(--text-main); }
.cr-card-stats span { font-size: 11.5px; color: var(--text-muted); }
.cr-card-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 12.5px; color: var(--text-muted); }
.cr-card-foot em { font-style: normal; color: #b45309; font-weight: 700; }
.cr-price { color: var(--text-main); font-weight: 800; font-size: 16px; }
.cr-price small { font-size: 12px; font-weight: 500; color: var(--text-muted); }
.cr-card-go { font-size: 13px; font-weight: 700; color: var(--color-accent); }
.cr-card-go span { display: inline-block; transition: transform .15s ease; }
.cr-card:hover .cr-card-go span { transform: translateX(4px); }
.is-up { color: #16a34a !important; }
.is-down { color: #dc2626 !important; }

/* Steps */
.cr-steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; padding: 0; margin: 0; }
.cr-steps li { position: relative; background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: var(--radius-lg); padding: 22px 20px 20px; }
.cr-step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-weight: 800; color: #fff;
    background: linear-gradient(135deg, #2563eb, #0ea5e9); box-shadow: 0 6px 16px rgba(37, 99, 235, .30); margin-bottom: 12px; }
.cr-steps h3 { font-size: 16px; color: var(--text-main); margin: 0 0 6px; }
.cr-steps p { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin: 0; }

/* Become a creator */
.cr-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.cr-kind, .cr-card-box { background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: var(--radius-lg); padding: 22px 24px; }
.cr-kind h3 { font-size: 19px; color: var(--text-main); margin: 12px 0 6px; }
.cr-kind p { color: var(--text-muted); line-height: 1.6; margin: 0; }
.cr-kind-ico { width: 44px; height: 44px; border-radius: 12px; display: inline-grid; place-items: center; background: rgba(37, 99, 235, .12); color: var(--color-accent); }
.cr-kind-ico svg { width: 22px; height: 22px; }
.cr-card-box h2 { font-size: 19px; color: var(--text-main); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cr-card-box h3 { font-size: 14px; color: var(--text-main); margin: 18px 0 8px; }
.cr-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.cr-point-box { background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: var(--radius-lg); padding: 22px 24px; }
.cr-point-box h3 { font-size: 16px; color: var(--text-main); margin: 0 0 10px; }
.cr-ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; color: var(--text-muted); line-height: 1.55; font-size: 14.5px; }
.cr-ticks li { position: relative; padding-left: 28px; }
.cr-ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
    background: rgba(22, 163, 74, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat; }
.cr-cta { margin-top: 26px; text-align: center; padding: 32px 24px; border-radius: var(--radius-lg); color: #fff;
    background: linear-gradient(135deg, #1d4ed8, #2563eb 55%, #0ea5e9); box-shadow: 0 18px 44px rgba(37, 99, 235, .28); }
.cr-cta h2 { font-size: clamp(20px, 3vw, 26px); font-weight: 800; margin: 0 0 6px; color: #fff; }
.cr-cta p { margin: 0 0 18px; color: rgba(255, 255, 255, .86); }
.cr-cta .btn { background: #fff; color: #1d4ed8; border-color: #fff; }
.cr-cta .btn:hover { background: #eff6ff; }

/* Profile */
.cr-prof-hero { padding: 48px 0 20px; background: linear-gradient(180deg, rgba(37, 99, 235, .10), transparent); }
.cr-prof-head { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; }
.cr-prof-avatar { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 3px solid var(--color-accent); box-shadow: 0 10px 30px rgba(37, 99, 235, .25); }
.cr-prof-avatar.cr-avatar-blank { font-size: 44px; }
.cr-prof-id h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; color: var(--text-main); letter-spacing: -.02em; margin: 6px 0 4px; }
.cr-prof-meta { color: var(--text-muted); font-size: 14px; }
.cr-prof-bio { color: var(--text-main); opacity: .9; line-height: 1.6; margin-top: 10px; max-width: 640px; }
.cr-badge { display: inline-block; padding: 3px 10px; border-radius: var(--radius-full); background: rgba(37, 99, 235, .14); color: var(--color-accent); font-size: 12px; font-weight: 700; }
.cr-badge-warn { background: rgba(245, 158, 11, .15); color: #b45309; }
.cr-prof-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; min-width: 220px; }
.cr-follow { min-height: 46px; font-size: 15px; font-weight: 700; }
.cr-followers { text-align: center; color: var(--text-muted); font-size: 13px; }
.cr-like { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border-radius: var(--radius-full);
    border: 1px solid var(--border-glow); background: transparent; color: var(--text-main); font-weight: 700; cursor: pointer; transition: all .15s ease; }
.cr-like svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.cr-like:hover { border-color: var(--color-accent); }
.cr-like.is-on { background: rgba(220, 38, 38, .10); border-color: #dc2626; color: #dc2626; }
.cr-like.is-on svg { fill: currentColor; }
.cr-note { margin: 6px 0 0; padding: 12px 16px; border-radius: var(--radius-md); background: rgba(37, 99, 235, .08); color: var(--text-main); font-size: 14px; }

.cr-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.cr-stat { background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: var(--radius-md); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.cr-stat span { color: var(--text-muted); font-size: 12.5px; }
.cr-stat b { font-family: var(--font-mono); font-size: 22px; color: var(--text-main); }
.cr-chart { position: relative; height: 260px; margin-top: 8px; }
.cr-fine { color: var(--text-muted); font-size: 12.5px; line-height: 1.6; margin-top: 10px; }
.cr-rules { white-space: pre-line; color: var(--text-main); line-height: 1.65; }
.cr-strats { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.cr-strats li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.cr-strats span { color: var(--text-muted); }
.cr-update { border-left: 3px solid var(--color-accent); padding: 4px 0 4px 10px; margin-bottom: 8px; color: var(--text-main); font-size: 14px; }
.cr-trades { width: 100%; border-collapse: collapse; font-size: 14px; }
.cr-trades th { text-align: left; color: var(--text-muted); font-weight: 600; font-size: 12px; padding: 6px 4px; border-bottom: 1px solid var(--border-glass); }
.cr-trades td { padding: 9px 4px; border-bottom: 1px solid var(--border-glass); color: var(--text-main); }
.cr-trades .tt-right { text-align: right; }
.cr-side { display: inline-block; min-width: 40px; text-align: center; padding: 1px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.cr-side-buy { background: rgba(22, 163, 74, .14); color: #16a34a; }
.cr-side-sell { background: rgba(220, 38, 38, .12); color: #dc2626; }
.cr-open { color: var(--color-accent); font-weight: 700; font-size: 12.5px; }
.cr-small p { color: var(--text-muted); font-size: 12.5px; line-height: 1.7; max-width: 900px; }

.cr-card-box { min-width: 0; }
.cr-card-box .cr-trades { display: block; overflow-x: auto; }
.cr-card-box .cr-trades td, .cr-card-box .cr-trades th { white-space: nowrap; }
@media (max-width: 980px) { .cr-profile .cr-two { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
    .cr-hero { padding: 48px 0 28px; }
    .cr-path { grid-template-columns: 1fr; }
    .cr-path-btn { padding: 12px 14px; }
    .cr-sort, .cr-sort .form-input { width: 100%; }
    .cr-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
    .cr-chips::-webkit-scrollbar { display: none; }
    .cr-chip { flex: none; }
    .cr-prof-head { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .cr-prof-bio { margin-left: auto; margin-right: auto; }
    .cr-prof-actions { width: 100%; max-width: 360px; }
    .cr-card-box { padding: 18px; }
}

/* ----- Announcements: profile feed and the post page (phone first) ----- */
.cr-feed { display: grid; gap: 14px; }
.cr-post { background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: 16px; padding: 16px; min-width: 0; }
.cr-post-by { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cr-post-by > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cr-post-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; font-weight: 700; flex: none; }
.cr-post-name { font-weight: 700; color: var(--text-main); text-decoration: none; font-size: 14.5px; }
.cr-post-when { font-size: 12px; color: var(--text-muted); }
.cr-post-title { font-size: 18px; line-height: 1.3; margin: 0 0 8px; color: var(--text-main); }
.cr-post-full .cr-post-title { font-size: 24px; }
.cr-post-title a { color: inherit; text-decoration: none; }
.cr-post-img { display: block; width: 100%; max-height: 520px; object-fit: cover; border-radius: 12px; margin: 4px 0 12px; background: var(--bg-glass); }
.cr-post-body { white-space: pre-line; color: var(--text-main); font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.cr-post-body.is-clipped { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.cr-post-more-link { display: inline-block; margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--color-accent); text-decoration: none; }
.cr-post-bar { display: flex; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border-glass); }
.cr-share-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px;
    border: 1px solid var(--border-glass); background: none; color: var(--text-main); font: 600 13.5px/1 inherit; cursor: pointer; }
.cr-share-btn svg, .cr-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cr-post-bar .cr-like { min-height: 40px; }
.cr-share-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cr-share-row a, .cr-share-row button { min-height: 36px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px;
    background: var(--bg-glass); border: 1px solid var(--border-glass); color: var(--text-main); font: 600 12.5px/1 inherit; text-decoration: none; cursor: pointer; }
.cr-post-wrap { max-width: 720px; padding-top: 18px; padding-bottom: 48px; }
.cr-back { display: inline-flex; align-items: center; gap: 4px; color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 14px; margin-bottom: 12px; min-height: 40px; }
.cr-post-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0; padding: 16px;
    border-radius: 16px; background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(37, 99, 235, .04)); border: 1px solid rgba(37, 99, 235, .25); }
.cr-post-cta b { display: block; color: var(--text-main); }
.cr-post-cta span { font-size: 13px; color: var(--text-muted); }
.cr-post-more h2 { font-size: 16px; margin: 20px 0 10px; }
.cr-post-mini { display: block; padding: 12px 14px; border: 1px solid var(--border-glass); border-radius: 12px; margin-bottom: 8px; text-decoration: none; }
.cr-post-mini b { display: block; color: var(--text-main); font-size: 14.5px; }
.cr-post-mini span { font-size: 13px; color: var(--text-muted); }
.cr-post-fine { margin-top: 18px; }
.cr-feed-more { display: block; margin: 4px auto 0; }
@media (max-width: 760px) {
    .cr-post-full .cr-post-title { font-size: 21px; }
    .cr-post { border-radius: 14px; padding: 14px; }
    .cr-post-cta { flex-direction: column; align-items: stretch; text-align: left; }
    .cr-post-cta .btn { width: 100%; }
}

/* Likes on trades (profile) */
.cr-trade-like { display: inline-flex; align-items: center; gap: 4px; min-width: 44px; min-height: 36px; justify-content: center; padding: 0 8px;
    border: 0; border-radius: 999px; background: none; color: var(--text-muted); font: 600 12.5px/1 inherit; cursor: pointer; }
.cr-trade-like svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.cr-trade-like:hover { color: #dc2626; }
.cr-trade-like.is-on { color: #dc2626; }
.cr-trade-like.is-on svg { fill: currentColor; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ----- Profile, app style (phone first) ----- */
.crp { padding-bottom: 32px; }
.crp-cover { height: 132px; background: radial-gradient(120% 140% at 0% 0%, rgba(14, 165, 233, .55), transparent 55%),
    linear-gradient(120deg, #1d4ed8, #2563eb 45%, #0ea5e9); }
.crp-head { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: end; margin-top: -52px; position: relative; }
.crp-avatar { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 4px solid var(--bg-base, #fff); background: var(--bg-card);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .18); font-size: 40px; }
.crp-id { min-width: 0; padding-top: 58px; }
.crp-id h1 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; letter-spacing: -.02em; color: var(--text-main); margin: 0 0 6px; overflow-wrap: anywhere; }
.crp-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.crp-trust { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
    background: rgba(22, 163, 74, .12); color: #15803d; }
.crp-trust svg, .cr-tick svg, .cr-card-likes svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.crp-meta { color: var(--text-muted); font-size: 14px; margin: 0; }
.crp-bio { color: var(--text-main); opacity: .9; line-height: 1.6; margin: 8px 0 0; max-width: 640px; }
.crp-actions { display: flex; flex-direction: column; gap: 8px; min-width: 240px; }
.crp-actions .cr-follow { min-height: 46px; font-size: 15px; }
.crp-act-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.crp-act-row .cr-like, .crp-act-row .cr-share-btn { min-height: 42px; justify-content: center; }
.crp-actions .cr-followers { text-align: center; font-size: 12.5px; color: var(--text-muted); }
.crp-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.crp-stats .cr-stat b { font-size: 20px; }
.crp-tabs { position: sticky; top: var(--nav-height, 64px); z-index: 20; margin-top: 18px; background: var(--bg-base, #fff);
    border-bottom: 1px solid var(--border-glass); }
.crp-tabs-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.crp-tabs-in::-webkit-scrollbar { display: none; }
.crp-tabs button { flex: none; min-height: 46px; padding: 0 16px; border: 0; background: none; color: var(--text-muted);
    font: 700 14px/1 inherit; cursor: pointer; border-bottom: 3px solid transparent; }
.crp-tabs button[aria-selected="true"] { color: var(--color-accent); border-bottom-color: var(--color-accent); }
.crp-panels { padding-top: 16px; }
.crp-panel { display: grid; gap: 14px; }
.crp-panel[hidden] { display: none; }
.crp-link { margin-left: auto; border: 0; background: none; color: var(--color-accent); font: 700 13px/1 inherit; cursor: pointer; padding: 6px 0; }
.crp-trade-list { list-style: none; margin: 0; padding: 0; }
.crp-trade { display: grid; grid-template-columns: auto 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--border-glass); }
.crp-trade:first-child { border-top: 0; }
.crp-trade-main { display: flex; flex-direction: column; min-width: 0; }
.crp-trade-main b { color: var(--text-main); font-size: 14.5px; }
.crp-trade-main span { font-size: 12px; color: var(--text-muted); }
.crp-trade-r { font-family: var(--font-mono); font-size: 14px; text-align: right; }
.crp-empty { text-align: center; padding: 24px 0; }
.crp .cr-small { margin-top: 18px; }
.crp-sticky { display: none; }
/* Cards: trust tick and likes */
.cr-card-sub { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cr-tick { display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 700; color: #15803d; }
.cr-card-social { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cr-card-likes { display: inline-flex; align-items: center; gap: 3px; }
@media (max-width: 980px) { .crp-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
    .crp-cover { height: 110px; }
    .crp-head { grid-template-columns: 1fr; justify-items: center; text-align: center; margin-top: -48px; gap: 10px; }
    .crp-avatar { width: 96px; height: 96px; }
    .crp-id { padding-top: 0; }
    .crp-badges { justify-content: center; }
    .crp-actions { width: 100%; min-width: 0; }
    .crp-stats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none;
        padding: 0 16px 2px; }
    .crp-stats::-webkit-scrollbar { display: none; }
    .crp-stats .cr-stat { flex: 0 0 42%; scroll-snap-align: start; }
    .crp-tabs-in { justify-content: space-between; }
    .crp-tabs button { flex: 1; padding: 0 8px; }
    .crp-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; align-items: center; justify-content: space-between; gap: 12px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--bg-glass, rgba(255,255,255,.92));
        backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--border-glass);
        transform: translateY(110%); transition: transform .2s ease; }
    .crp-sticky.is-on { transform: none; }
    .crp-sticky b { display: block; color: var(--text-main); font-size: 14.5px; max-width: 52vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .crp-sticky span { font-size: 12.5px; color: var(--text-muted); }
    .crp-sticky .btn { min-height: 44px; padding: 0 22px; }
    .crp { padding-bottom: 84px; }
}
.cr-chart:has(> p) { height: auto; min-height: 0; padding: 12px 0; }

/* Creator's channels on the profile */
.crp-social { display: flex; gap: 8px; margin-top: 10px; }
.crp-social-link { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--border-glass);
    background: var(--bg-card); color: var(--text-main); transition: color .15s, border-color .15s, transform .15s; }
.crp-social-link:hover { color: var(--color-accent); border-color: var(--color-accent); transform: translateY(-1px); }
.crp-social-link svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) { .crp-social { justify-content: center; } }

/* ----- One type scale for creator pages (body text 14.5px, small 12.5px, box titles 17px) ----- */
.cr-page { font-family: var(--font-main); }
.cr-card-box h2 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 10px; }
.cr-card-box h3 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin: 18px 0 8px; }
.cr-rules, .cr-update, .crp-bio, .cr-post-body { font-size: 14.5px; line-height: 1.65; }
.cr-strats li { font-size: 14px; padding: 6px 0; }
.cr-strats li span { font-size: 12.5px; }
.cr-fine, .crp-meta, .cr-post-when, .crp-trade-main span { font-size: 12.5px; }
.crp-trade-main b, .cr-post-name { font-size: 14px; }
.cr-post-title { font-size: 17px; font-weight: 700; }
.cr-post-full .cr-post-title { font-size: 22px; }
.cr-stat span { display: inline-flex; align-items: center; font-size: 12.5px; }
/* Faded background icons (kpi-icons.js) on tiles and boxes */
.cr-card-box.has-kpi-icon, .cr-stat.has-kpi-icon { position: relative; overflow: hidden; isolation: isolate; }
.cr-card-box .kpi-bg-icon { top: 16px; right: 18px; width: 76px; height: 76px; transform: rotate(-8deg); }
.cr-stat .kpi-bg-icon { width: 46px; height: 46px; right: 10px; }
.cr-card-box h2 .crp-link { position: relative; z-index: 1; }
/* Tooltips: the "i" and its bubble (escape.js) */
.cr-page .lf-tip { display: inline-grid; place-items: center; width: 15px; height: 15px; margin-left: 5px; border-radius: 50%; cursor: help; outline: none;
    font: italic 700 10px/1 Georgia, serif; color: var(--color-accent, #2563eb); background: rgba(37, 99, 235, .13); vertical-align: 1px; flex: none; }
.cr-page .lf-tip:focus-visible { box-shadow: 0 0 0 2px var(--color-accent, #2563eb); }
.cr-page .crp-trust.lf-tip { display: inline-flex; width: auto; height: auto; margin: 0; padding: 3px 10px; border-radius: 999px;
    font: 700 12px/1.3 var(--font-main); color: #15803d; background: rgba(22, 163, 74, .12); vertical-align: baseline; }
#lf-tip-pop { position: fixed; z-index: 100000; max-width: min(280px, calc(100vw - 16px)); padding: 8px 10px; border-radius: 8px;
    font: 500 12px/1.45 var(--font-main, system-ui); text-align: left; color: #f8fafc; background: #0f172a;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .3); pointer-events: none; }

/* ----- Creator page style: button colour and banner (Creator mode > Settings > Page style) ----- */
.crp { --crp-accent: #2563eb; }
.crp .btn-primary { background: var(--crp-accent); border-color: var(--crp-accent); }
.crp .btn-primary:hover { background: var(--crp-accent); filter: brightness(1.08); }
.crp-tabs button[aria-selected="true"] { color: var(--crp-accent); border-bottom-color: var(--crp-accent); }
.crp .crp-link, .crp .lf-tip { color: var(--crp-accent); }
.crp-cover.has-image { background-size: cover; background-position: center; }
.crp-pat-lf-blue { background: radial-gradient(120% 140% at 0% 0%, rgba(14, 165, 233, .55), transparent 55%), linear-gradient(120deg, #1d4ed8, #2563eb 45%, #0ea5e9); }
.crp-pat-midnight { background: radial-gradient(90% 120% at 100% 0%, rgba(99, 102, 241, .45), transparent 60%), linear-gradient(135deg, #020617, #0f172a 55%, #1e293b); }
.crp-pat-emerald { background: radial-gradient(100% 120% at 0% 100%, rgba(52, 211, 153, .5), transparent 60%), linear-gradient(120deg, #064e3b, #047857 50%, #10b981); }
.crp-pat-sunset { background: linear-gradient(120deg, #7c2d12, #c2410c 40%, #f59e0b 75%, #fbbf24); }
.crp-pat-graphite { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 14px), linear-gradient(135deg, #111827, #374151); }
.crp-pat-gold { background: radial-gradient(100% 140% at 100% 0%, rgba(254, 240, 138, .55), transparent 55%), linear-gradient(120deg, #713f12, #a16207 45%, #ca8a04); }
.crp-pat-grid { background: linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(135deg, #1e3a8a, #2563eb); }
.crp-pat-waves { background: radial-gradient(circle at 0 100%, transparent 18px, rgba(255, 255, 255, .12) 19px, transparent 21px) 0 0 / 40px 40px, linear-gradient(120deg, #0c4a6e, #0284c7 60%, #38bdf8); }
.crp-cover { height: 150px; }
@media (max-width: 760px) { .crp-cover { height: 120px; } }

/* ----- /creators list, app style ----- */
.cr-livestats { display: flex; justify-content: center; gap: 10px; margin: 22px auto 6px; max-width: 560px; }
.cr-livestats div { flex: 1; padding: 12px 10px; border-radius: 14px; background: var(--bg-card); border: 1px solid var(--border-glass); text-align: center;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .05); }
.cr-livestats b { display: block; font-family: var(--font-mono); font-size: 22px; color: var(--text-main); }
.cr-livestats span { font-size: 12px; color: var(--text-muted); }
.cr-top { margin: 6px 0 18px; }
.cr-top-h { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 10px; }
.cr-top-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cr-top-card { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 16px; text-decoration: none;
    background: var(--bg-card); border: 1px solid var(--border-glass); transition: transform .15s, box-shadow .15s; }
.cr-top-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37, 99, 235, .14); }
.cr-top-card .cr-avatar { width: 48px; height: 48px; font-size: 18px; flex: none; }
.cr-top-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cr-top-name b { color: var(--text-main); font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-top-name span { font-size: 12px; color: var(--text-muted); }
.cr-top-r { font-family: var(--font-mono); font-size: 17px; }
.cr-medal { position: absolute; top: -8px; left: -8px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
    font-size: 12px; font-weight: 800; color: #fff; box-shadow: 0 4px 10px rgba(15, 23, 42, .2); }
.cr-medal-1 { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.cr-medal-2 { background: linear-gradient(135deg, #64748b, #94a3b8); }
.cr-medal-3 { background: linear-gradient(135deg, #b45309, #d97706); }
.cr-sticky-tools { position: sticky; top: 64px; z-index: 15; padding: 10px 0 6px; margin: 0 0 6px; background: var(--bg-base); }

/* Cards with the creator's own banner and colour */
.cr-card { padding: 0; gap: 0; overflow: hidden; }
.cr-card::before { display: none; }
.cr-card-cover { position: relative; height: 68px; }
.cr-card-cover .cr-rank { position: absolute; top: 10px; left: 10px; background: rgba(255, 255, 255, .92); color: #0f172a; }
.cr-price-pill { position: absolute; top: 10px; right: 10px; padding: 4px 10px; border-radius: 999px; font-weight: 800; font-size: 13px;
    background: rgba(255, 255, 255, .92); color: #0f172a; font-family: var(--font-mono); }
.cr-price-pill small { font-weight: 600; font-size: 11px; color: #475569; }
.cr-card-body { display: flex; flex-direction: column; gap: 12px; padding: 0 16px 16px; }
.cr-card-body .cr-card-top { margin-top: -26px; align-items: flex-end; }
.cr-card-body .cr-card-name { padding-top: 30px; }
.cr-card-body .cr-avatar { width: 58px; height: 58px; flex: none; }
.cr-card-body .cr-avatar { border: 3px solid var(--bg-card); box-shadow: 0 6px 16px rgba(15, 23, 42, .16); background-color: var(--bg-card); }
.cr-card-name strong { display: inline-flex; align-items: center; gap: 4px; }
.cr-card-name .cr-tick { color: #16a34a; }
.cr-card-name .cr-tick svg { width: 15px; height: 15px; }
.cr-live { font-size: 11.5px; font-weight: 700; color: #15803d; }
.cr-card-stats { border: 0; padding: 0; gap: 8px; }
.cr-card-stats div { padding: 8px 10px; border-radius: 12px; background: var(--bg-glass); }
.cr-card-stats .cr-card-r b { font-size: 20px; }
.cr-card-go { color: var(--crp-accent, var(--color-accent)); }
.cr-card:hover { border-color: var(--crp-accent, var(--border-glow)); }
@media (max-width: 760px) {
    .cr-livestats b { font-size: 19px; }
    .cr-top-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; padding: 8px 0 4px 8px; }
    .cr-top-row::-webkit-scrollbar { display: none; }
    .cr-top-card { flex: 0 0 78%; scroll-snap-align: start; }
    .cr-sticky-tools { top: 64px; }
}

/* ----- Creator card, v3: clean, the creator's colour as a thin strip, R with a small chart ----- */
.cr-card3 { padding: 18px 16px 14px; gap: 12px; overflow: hidden; border-radius: 18px; }
.cr-card3 .cr-card-strip { position: absolute; inset: 0 0 auto; height: 6px; }
.cr-card3 .cr-card-top { margin: 0; align-items: center; gap: 12px; }
.cr-card3 .cr-avatar { width: 52px; height: 52px; flex: none; border: 0; box-shadow: 0 0 0 2px var(--bg-card), 0 0 0 4px var(--crp-accent, #2563eb); }
.cr-card3 .cr-card-name { padding: 0; gap: 2px; }
.cr-card3 .cr-card-name strong { display: flex; align-items: center; gap: 5px; font-size: 16px; min-width: 0; max-width: 100%; }
.cr-card3 .cr-card-nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-card3 .cr-tick { flex: none; display: inline-flex; color: #16a34a; }
.cr-card3 .cr-tick svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.cr-card3 .cr-card-sub { display: block; font-size: 12.5px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-card3 .cr-rank { position: static; flex: none; align-self: flex-start; }
.cr-card-perf { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--bg-glass); }
.cr-card-perf .cr-card-r { display: flex; flex-direction: column; }
.cr-card-perf .cr-card-r b { font-family: var(--font-mono); font-size: 24px; line-height: 1.1; color: var(--text-main); }
.cr-card-perf .cr-card-r span { font-size: 11.5px; color: var(--text-muted); }
.cr-spark { width: 120px; height: 36px; flex: none; overflow: visible; }
.cr-spark polyline { fill: none; stroke: #16a34a; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.cr-spark.is-down polyline { stroke: #dc2626; }
.cr-card-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cr-card-chips span { font-size: 12px; color: var(--text-muted); padding: 4px 9px; border-radius: 999px; border: 1px solid var(--border-glass); }
.cr-card-chips b { color: var(--text-main); font-family: var(--font-mono); }
.cr-card3 .cr-card-foot { align-items: center; padding-top: 2px; }
.cr-card3 .cr-card-social { gap: 10px; font-size: 12.5px; }
.cr-card-btn { flex: none; padding: 9px 14px; border-radius: 12px; font-size: 13px; font-weight: 800; color: #fff; background: var(--crp-accent, #2563eb);
    box-shadow: 0 6px 16px rgba(15, 23, 42, .14); transition: filter .15s; }
.cr-card3:hover .cr-card-btn { filter: brightness(1.08); }
.cr-card3:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(15, 23, 42, .12); border-color: var(--crp-accent, var(--border-glow)); }
/* Filters: one search bar with the sort beside it, one chip row */
.cr-tools { display: flex; gap: 8px; }
.cr-tools .cr-search { flex: 1; min-width: 0; }
.cr-tools .cr-sort { flex: none; width: auto; }
.cr-tools .cr-sort .form-input { width: auto; min-width: 0; max-width: 150px; }
.cr-chips-one { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-top: 10px; }
.cr-chips-one::-webkit-scrollbar { display: none; }
.cr-chips-one .cr-chip { flex: none; }
.cr-chip-sep { flex: none; width: 1px; align-self: stretch; margin: 4px 2px; background: var(--border-glass); }
@media (max-width: 760px) {
    .cr-tools .cr-sort, .cr-tools .cr-sort .form-input { width: auto; max-width: 132px; }
    .cr-sticky-tools { padding-top: 8px; }
}
.crp-pips { display: block; font-size: 11px; font-weight: 600; color: var(--text-muted); font-family: var(--font-mono); }
/* Brand logos (lf-icons.js) in share and channel buttons */
.crp-social-link .lf-ico-slot svg, .cr-share-row .lf-ico-slot svg { width: 19px; height: 19px; }
.cr-share-row a { gap: 7px; }
.cr-share-row .lf-ico-slot svg { width: 15px; height: 15px; }
.cr-share-wa:hover { color: #25d366; border-color: #25d366; }
.cr-share-tg:hover { color: #229ed9; border-color: #229ed9; }
.cr-share-x:hover { color: var(--text-main); border-color: var(--text-main); }

/* ----- Rules as a numbered list ----- */
.crp-rules { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; counter-reset: none; }
.crp-rules li { display: flex; align-items: flex-start; gap: 12px; padding: 11px 12px; border-radius: 12px; background: var(--bg-glass);
    border: 1px solid var(--border-glass); font-size: 14.5px; line-height: 1.5; color: var(--text-main); }
.crp-rule-n { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 12.5px; font-weight: 800;
    color: #fff; background: var(--crp-accent, #2563eb); box-shadow: 0 4px 10px rgba(37, 99, 235, .25); margin-top: -1px; }

/* ----- Like: a soft pill, the heart pops when it's tapped ----- */
.cr-like { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 0 16px; border-radius: 999px;
    border: 1px solid var(--border-glass); background: var(--bg-card); color: var(--text-muted); font: 700 14px/1 var(--font-main); cursor: pointer;
    transition: color .15s, border-color .15s, background .15s; }
.cr-like svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.cr-like:hover { color: #e11d48; border-color: rgba(225, 29, 72, .35); }
.cr-like:active svg { transform: scale(.85); }
.cr-like.is-on { color: #e11d48; background: rgba(225, 29, 72, .07); border-color: rgba(225, 29, 72, .28); }
.cr-like.is-on svg { fill: currentColor; animation: crPop .38s ease; }
@keyframes crPop { 0% { transform: scale(1); } 35% { transform: scale(1.38); } 70% { transform: scale(.92); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .cr-like.is-on svg { animation: none; } }

/* ----- Posts (feed and own page) ----- */
.cr-post { position: relative; overflow: hidden; border-radius: 18px; box-shadow: 0 8px 26px rgba(15, 23, 42, .06); }
.cr-post-body p { margin: 0 0 12px; white-space: pre-line; }
.cr-post-body p:last-child { margin-bottom: 0; }
.cr-post-body p { font-size: 15px; line-height: 1.65; color: var(--text-main); }
.cr-post-bar { justify-content: space-between; align-items: center; }
.cr-post-bar .cr-like { min-height: 40px; }
.cr-post-full { padding: 0; }
.cr-post-cover { height: 96px; }
.cr-post-full .cr-post-by { padding: 0 18px; margin: -26px 0 12px; align-items: flex-end; }
.cr-post-full .cr-post-av { width: 60px; height: 60px; font-size: 24px; border: 4px solid var(--bg-card); box-shadow: 0 6px 16px rgba(15, 23, 42, .16);
    background-color: var(--bg-card); }
.cr-post-full .cr-post-by > div { padding: 32px 0 2px; }
.cr-post-name { display: inline-flex; align-items: center; gap: 4px; }
.cr-post-name .cr-tick { display: inline-flex; color: #16a34a; }
.cr-post-name .cr-tick svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.cr-post-inner { padding: 4px 18px 0; }
.cr-post-full .cr-post-title { font-size: 24px; line-height: 1.25; letter-spacing: -.015em; margin: 6px 0 12px; }
.cr-post-full .cr-post-img { border-radius: 14px; }
.cr-post-full .cr-post-bar { margin: 16px 0 0; padding: 12px 18px 16px; border-top: 1px solid var(--border-glass); }
.cr-share-icons { display: flex; gap: 8px; }
.cr-share-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-glass);
    background: var(--bg-card); color: var(--text-main); cursor: pointer; text-decoration: none; padding: 0; transition: transform .15s, color .15s, border-color .15s; }
.cr-share-ico:hover { transform: translateY(-2px); }
.cr-share-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cr-share-ico .lf-i-brand { fill: currentColor; stroke: none; width: 17px; height: 17px; }
.cr-share-ico.cr-share-wa { color: #25d366; }
.cr-share-ico.cr-share-tg { color: #229ed9; }
.cr-copy-ico.is-done { color: #16a34a; border-color: #16a34a; }
.cr-copy-ico.is-done::after { content: "Copied"; position: absolute; transform: translateY(-34px); font-size: 11px; font-weight: 700; color: #fff;
    background: #0f172a; padding: 3px 7px; border-radius: 6px; }
.cr-copy-ico { position: relative; }
.cr-post-full .cr-share-row { display: none; }
@media (max-width: 760px) {
    .cr-post-full .cr-post-title { font-size: 21px; }
    .cr-share-icons { gap: 6px; }
    .cr-share-ico { width: 38px; height: 38px; }
}

/* ----- Profile header like X/Twitter: banner, avatar on the left edge, actions on the right, then name, @handle,
   bio, meta, links and counts; tabs stick under the site bar ----- */
.crpx { position: relative; padding-bottom: 4px; }
.crpx-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: -58px; }
.crpx-avatar { width: 116px; height: 116px; border: 4px solid var(--bg-base, #fff); flex: none; font-size: 44px; }
.crpx-acts { display: flex; align-items: center; gap: 8px; padding-bottom: 6px; }
.crpx-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-glass); background: var(--bg-card);
    color: var(--text-main); cursor: pointer; padding: 0; }
.crpx-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.crpx-ico:hover { border-color: var(--crp-accent, #2563eb); color: var(--crp-accent, #2563eb); }
.crpx-like { min-height: 40px; padding: 0 12px; }
.crpx-follow { min-height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 800; }
.crpx-name { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--text-main); }
.crpx-tick { display: inline-flex; color: var(--crp-accent, #2563eb); cursor: help; }
.crpx-tick svg { width: 22px; height: 22px; fill: currentColor; stroke: #fff; stroke-width: 1.6; }
.crpx-handle { margin: 2px 0 0; color: var(--text-muted); font-size: 14.5px; }
.crpx-free { color: #15803d; font-weight: 700; }
.crpx-bio { margin: 12px 0 0; font-size: 15px; line-height: 1.55; color: var(--text-main); max-width: 640px; white-space: pre-line; }
.crpx-meta, .crpx-links { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.crpx-meta li, .crpx-links li { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; color: var(--text-muted); }
.crpx-meta svg, .crpx-links svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.crpx-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--crp-accent, #2563eb); text-decoration: none; font-weight: 600; }
.crpx-links a:hover { text-decoration: underline; }
.crpx-links .lf-ico-slot svg { fill: currentColor; stroke: none; width: 16px; height: 16px; }
.crpx-yt { color: #ff0033; }
.crpx-ig { color: #d62976; }
.crpx-counts { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 12px 0 0; font-size: 14px; color: var(--text-muted); }
.crpx-counts b { color: var(--text-main); font-weight: 800; }
.crp-head { display: none; }
/* QR pop-up */
.crpx-qr-back { position: fixed; inset: 0; z-index: 100000; background: rgba(15, 23, 42, .55); display: grid; place-items: center; padding: 16px; }
.crpx-qr-back[hidden] { display: none; }
.crpx-qr-sheet { width: min(380px, 100%); background: var(--bg-card, #fff); border-radius: 18px; padding: 16px; box-shadow: 0 24px 60px rgba(15, 23, 42, .35); }
.crpx-qr-sheet header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.crpx-qr-sheet h2 { font-size: 16px; margin: 0; }
.crpx-qr-x { border: 0; background: none; font-size: 26px; line-height: 1; color: var(--text-muted); cursor: pointer; }
.crpx-qr-sheet .cq-wrap { display: grid; gap: 10px; justify-items: center; }
.crpx-qr-sheet .cq-preview { position: relative; width: 100%; max-width: 300px; }
.crpx-qr-sheet .cq-preview canvas { width: 100%; height: auto; border-radius: 14px; display: block; box-shadow: 0 8px 24px rgba(15, 23, 42, .18); }
.crpx-qr-sheet .cq-loading { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12.5px; color: var(--text-muted); }
.crpx-qr-sheet .cq-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.crpx-qr-sheet .cq-actions .btn { min-height: 40px; }
/* Sticky tabs: nothing above them may clip overflow */
main.crp { overflow: visible !important; }
.crp-tabs { top: 64px; }
@media (max-width: 760px) {
    .crpx-top { margin-top: -46px; }
    .crpx-avatar { width: 88px; height: 88px; font-size: 34px; }
    .crpx-acts { gap: 6px; }
    .crpx-ico { width: 38px; height: 38px; }
    .crpx-like { padding: 0 10px; min-height: 38px; }
    .crpx-follow { min-height: 38px; padding: 0 14px; font-size: 13.5px; }
    .crpx-name { font-size: 21px; }
}
@media (max-width: 420px) { .crpx-follow .crpx-price { display: none; } }

/* Sticky tabs on the profile: the site hides sideways overflow on <body>, which stops sticking; clip does the same job without that */
html:has(main.crp), html:has(main.crp) body { overflow-x: clip !important; }
/* The meta item with a tooltip is a normal line, not an "i" circle */
.cr-page .crpx-meta li.lf-tip { display: inline-flex; width: auto; height: auto; margin: 0; padding: 0; border-radius: 0; background: none;
    font: inherit; font-size: 14px; color: var(--text-muted); vertical-align: baseline; }

/* Profile actions sit on the line where the banner meets the page (owner, 4 Nov) */
.crpx-acts { align-self: flex-start; margin-top: 38px; padding-bottom: 0; }   /* 58px avatar overlap minus half a 40px button */
@media (max-width: 760px) { .crpx-acts { margin-top: 27px; } }                /* 46px overlap minus half a 38px button */

/* ----- /creators for conversion: hero actions, shelves like Strategies, promoted marks, closing call to action ----- */
.cr-hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 6px; }
.cr-hero-btn { min-height: 48px; padding: 0 22px; font-weight: 800; border-radius: 999px; }
.cr-shelf { margin: 4px 0 18px; }
.cr-shelf-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 6px; }
.cr-shelf-tabs::-webkit-scrollbar { display: none; }
.cr-shelf-tab { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 16px; border-radius: 999px;
    border: 1px solid var(--border-glass); background: var(--bg-card); color: var(--text-main); font: 600 14px/1 var(--font-main); cursor: pointer; }
.cr-shelf-tab svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cr-shelf-tab.is-on { background: var(--color-accent, #2563eb); border-color: var(--color-accent, #2563eb); color: #fff; }
.cr-shelf-line { margin: 4px 0 10px; font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cr-shelf-all { border: 0; background: none; padding: 0; color: var(--color-accent, #2563eb); font: 700 13px/1 var(--font-main); cursor: pointer; }
.cr-shelf-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding: 4px 2px 10px; }
.cr-shelf-row .cr-card { flex: 0 0 300px; scroll-snap-align: start; }
.cr-promo { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px;
    font: 800 11px/1 var(--font-main); letter-spacing: .04em; text-transform: uppercase; color: #92400e; background: #fef3c7; border: 1px solid #fcd34d; cursor: help; }
.cr-card3:has(.cr-promo) .cr-rank { margin-right: 84px; }
.cr-card.is-highlight { border: 2px solid var(--crp-accent, #2563eb); box-shadow: 0 0 0 4px color-mix(in srgb, var(--crp-accent, #2563eb) 18%, transparent), 0 14px 34px rgba(15, 23, 42, .1); }
.cr-convert { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px; border-radius: 20px; color: #fff;
    background: radial-gradient(120% 140% at 100% 0%, rgba(14, 165, 233, .5), transparent 55%), linear-gradient(120deg, #1d4ed8, #2563eb 50%, #0ea5e9);
    box-shadow: 0 16px 40px rgba(37, 99, 235, .28); }
.cr-convert h2 { margin: 0 0 10px; font-size: 22px; font-weight: 800; color: #fff; }
.cr-convert ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.cr-convert li { font-size: 14px; opacity: .95; padding-left: 22px; position: relative; }
.cr-convert li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.cr-convert-btn { flex: none; background: #fff; color: #1d4ed8; font-weight: 800; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; }
@media (max-width: 760px) {
    .cr-hero-ctas .cr-hero-btn { flex: 1 1 100%; }
    .cr-shelf-row .cr-card { flex-basis: 84%; }
    .cr-convert { flex-direction: column; align-items: stretch; }
    .cr-convert-btn { width: 100%; }
}

/* Followers | likes | closed trades in one pill (owner, 4 Nov) */
.crpx-counts { display: inline-flex; flex-wrap: nowrap; gap: 0; align-items: center; padding: 6px 4px; border-radius: 999px;
    border: 1px solid var(--border-glass); background: var(--bg-glass); max-width: 100%; }
.crpx-counts span { padding: 0 12px; white-space: nowrap; font-size: 13.5px; }
.crpx-counts span + span { border-left: 1px solid var(--border-glass); }
@media (max-width: 380px) { .crpx-counts span { padding: 0 9px; font-size: 13px; } }
/* The small print is the last thing before the footer: no big gap under it */
.cr-page > .section:last-of-type { padding-bottom: 12px; }
/* Follow: choose a plan */
.cr-plans { display: grid; gap: 8px; margin: 4px 0 12px; }
.cr-plan-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 14px; cursor: pointer;
    border: 2px solid var(--border-glass); background: var(--bg-glass); color: var(--text-main); font: 600 14.5px/1.2 var(--font-main); text-align: left; }
.cr-plan-opt.is-on { border-color: var(--crp-accent, var(--color-accent, #2563eb)); background: rgba(37, 99, 235, .06); }
.cr-plan-opt b { font-family: var(--font-mono); font-size: 17px; }
.cr-plan-opt small { font-size: 12px; color: var(--text-muted); font-family: var(--font-main); font-weight: 600; }
.cr-plan-name { display: flex; align-items: center; gap: 8px; }
.cr-plan-name em { font-style: normal; font-size: 11px; font-weight: 800; color: #15803d; background: rgba(22, 163, 74, .12); padding: 3px 8px; border-radius: 999px; }
.cr-plan-go { width: 100%; min-height: 46px; border-radius: 999px; font-weight: 800; }
.cr-plan-sheet .cr-fine { text-align: center; margin: 10px 0 0; }
