/* Creator operational counts and opt-in directory. */
.cd-section{padding:64px 0;background:#fff;color:#111;border-top:2px solid #111}.cd-section .wrap,.cd-admin .wrap{width:min(1180px,calc(100% - 40px));margin:auto}.cd-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:24px}.cd-kicker{color:#c00049;font-weight:800;font-size:.78rem;letter-spacing:.12em;margin:0 0 12px}.cd-section h2{font-size:clamp(1.6rem,4vw,2.5rem);line-height:1.2;margin:0}.cd-note{font-size:.93rem;line-height:1.7;color:#555;max-width:850px;margin:16px 0 24px}.cd-stats,.cd-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.cd-stat,.cd-card{border:2px solid #111;padding:24px;min-width:0;background:#fff}.cd-stat strong{display:block;font-size:clamp(2rem,6vw,3.5rem);line-height:1.2;margin-top:12px}.cd-stat small{font-size:1rem;margin-left:6px}.cd-stat:first-child{background:#fff0f5}.cd-card h3{font-size:1.2rem;margin:0 0 16px;overflow-wrap:anywhere}.cd-card p{margin:8px 0;color:#555}.cd-tint{background:#fff0f5}.cd-state{border:2px solid #111;padding:24px;background:#fff;line-height:1.7}.cd-error{border-color:#b00038}.cd-time{font-size:.85rem;color:#555;margin:14px 0}.cd-form{max-width:640px;display:grid;gap:16px;background:#fff;border:2px solid #111;padding:24px}.cd-form label{line-height:1.7;font-weight:700}.cd-form input[type=text]{display:block;width:100%;box-sizing:border-box;border:2px solid #111;padding:12px;margin-top:8px;font:inherit}.cd-check{display:flex;gap:10px;align-items:flex-start}.cd-check input{width:20px;height:20px;flex-shrink:0;margin-top:3px;accent-color:#fd1f72}.cd-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.cd-section button,.cd-admin .btn{font:inherit;cursor:pointer;min-height:44px;border:2px solid #111;padding:10px 18px;background:#fff;color:#111;text-decoration:none;font-weight:700;display:inline-flex;align-items:center;justify-content:center}.cd-section button[type=submit]{background:#fd1f72;color:#fff}.cd-section button:disabled{cursor:wait;opacity:.6}.cd-section a:focus-visible,.cd-section button:focus-visible,.cd-section input:focus-visible,.cd-admin a:focus-visible{outline:3px solid #fd1f72;outline-offset:4px}.cd-admin{margin:0;font-family:Pretendard,system-ui,sans-serif;color:#111;background:#fff}.cd-admin *{box-sizing:border-box}.cd-admin-header{background:#111;color:#fff;display:flex;justify-content:space-between;gap:20px;padding:22px;border-bottom:2px solid #111;margin-bottom:48px}.cd-admin-header a{color:#fff}.cd-admin main{padding-bottom:60px}.cd-admin h1{font-size:clamp(1.8rem,5vw,3rem)}.cd-recent{list-style:none;padding:0;display:grid;gap:12px}.cd-recent li{border:2px solid #111;padding:18px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;overflow-wrap:anywhere}.cd-recent time{color:#555}.cd-admin [data-admin-creator-stats]{margin-bottom:24px}@media(max-width:520px){.cd-section{padding:40px 0}.cd-section .wrap,.cd-admin .wrap{width:calc(100% - 32px)}.cd-stats{gap:10px}.cd-stat{padding:16px 12px}.cd-grid{grid-template-columns:1fr}.cd-form{padding:18px}.cd-admin-header{padding:18px 16px}.cd-heading>.btn{width:100%;justify-content:center}}

.cd-admin .cd-kicker,.cd-admin .cd-stat strong{font-family:Unbounded,Pretendard,sans-serif}

/* Public opt-in cards reuse codex4 identity geometry; only consented fields are present. */
[data-creator-directory] .cc-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
[data-creator-directory] .cc-card,.cd-consent-preview .cc-card{display:flex;flex-direction:column;gap:16px;min-width:0;padding:24px;background:#fff;border:2px solid #111;border-radius:22px;box-sizing:border-box}
[data-creator-directory] .cc-metrics,.cd-consent-preview .cc-metrics{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}
[data-creator-directory] .cc-metrics dt,.cd-consent-preview .cc-metrics dt{white-space:normal;line-height:1.5}
[data-creator-directory] .cc-handle,.cd-consent-preview .cc-handle{min-height:18px;line-height:18px}
[data-creator-directory] .cc-avatar,.cd-consent-preview .cc-avatar{position:relative;flex-shrink:0}
[data-creator-directory] .cc-avatar img,.cd-consent-preview .cc-avatar img{position:absolute;inset:0}
.cd-platform-icon,.cd-platform-mark{display:grid;place-items:center;color:#555}.cd-platform-icon{width:100%;height:100%}.cd-platform-mark{width:32px}
.cd-consent-preview{min-width:0}.cd-consent-preview>.cd-note{margin:0 0 12px}
@media(max-width:1150px){[data-creator-directory] .cc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){[data-creator-directory] .cc-grid{grid-template-columns:1fr;gap:16px}[data-creator-directory] .cc-card,.cd-consent-preview .cc-card{padding:16px}}

/* /creators/ follows its existing sub.css sections/boxes. Home/admin and shared codex4 CSS stay unchanged. */
.cd-section.cd-public-section{padding:clamp(72px,8vw,140px) 0;border-top:0}
.cd-section.cd-public-section>.wrap{width:var(--wrap);margin-inline:auto}
.cd-public-section.cd-tint{background:var(--blush-2)}
.cd-public-section .cd-heading{gap:2rem;margin-bottom:clamp(28px,3vw,52px)}
.cd-public-section h2{font-size:clamp(1.8rem,3vw,3.2rem);font-weight:900;line-height:1.12;max-width:20ch}
.cd-public-section .cd-stat,.cd-public-section .cc-card,.cd-public-section .cd-state,.cd-public-section .cd-form{border:1.5px solid var(--line);border-radius:22px;padding:clamp(20px,2vw,32px);background:#fff}
.cd-public-section .cd-stats,.cd-public-section .cc-grid{gap:clamp(14px,1.6vw,24px)}
.cd-public-section .cd-form{width:100%;max-width:none}
.cd-public-section .cd-consent-preview{max-width:520px}
.cd-public-section .cd-state+.cd-form{margin-top:24px}
.cd-public-section .cd-form input[type=text]{border:1.5px solid var(--line);border-radius:12px}
.cd-public-section .cd-form button{border-width:1.5px;border-radius:999px}
.cd-public-section .cd-error{border-color:#b00038}
