/* CircleCenter Night Sky — theme styles */

:root {
	--ccn-bg: #0B1630;
	--ccn-surface: #14254A;
	--ccn-surface-2: #0F1D3D;
	--ccn-line: #22355E;
	--ccn-line-strong: #3C5A8F;
	--ccn-text: #E8EEF8;
	--ccn-text-2: #C9D4E8;
	--ccn-text-3: #A9B6CF;
	--ccn-gold: #F2C14E;
	--ccn-gold-hover: #FFD97A;
	--ccn-green: #6FD3A0;
	--ccn-serif: 'Fraunces', Georgia, serif;
	--ccn-sans: 'Work Sans', system-ui, -apple-system, sans-serif;
	--ccn-radius: 20px;
	--ccn-wrap: 1200px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ccn-bg); }
body {
	margin: 0;
	background: var(--ccn-bg);
	color: var(--ccn-text);
	font-family: var(--ccn-sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
a { color: var(--ccn-gold); }
a:hover { color: var(--ccn-gold-hover); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--ccn-gold); outline-offset: 3px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ccn-skip { position: absolute; left: -9999px; }
.ccn-skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ccn-gold); color: var(--ccn-bg); padding: 10px 16px; border-radius: 8px; }

.ccn-wrap { max-width: var(--ccn-wrap); margin: 0 auto; padding: 0 24px; }
.ccn-section { padding-top: 56px; padding-bottom: 96px; }
.ccn-stack { display: flex; flex-direction: column; gap: 16px; }

.ccn-h1 { font-family: var(--ccn-serif); font-weight: 400; font-size: clamp(36px, 5vw, 52px); line-height: 1.1; margin: 0 0 24px; }
.ccn-h2 { font-family: var(--ccn-serif); font-weight: 400; font-size: 28px; margin: 0; }
.ccn-eyebrow { margin: 0; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--ccn-gold); font-weight: 600; }
.ccn-muted { color: var(--ccn-text-2); }
.ccn-prose { color: var(--ccn-text-2); }
.ccn-prose h2, .ccn-prose h3 { color: var(--ccn-text); }

.ccn-card { background: var(--ccn-surface); border: 1px solid var(--ccn-line); border-radius: var(--ccn-radius); padding: 28px; }

/* Buttons */
.ccn-btn, .ccn-prose input[type="submit"], .ccn-prose button[type="submit"], .ccn-home__form input[type="submit"], .ccn-home__form button[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
	background: var(--ccn-gold); color: var(--ccn-bg);
	font: 600 16px/1 var(--ccn-sans); text-decoration: none; cursor: pointer;
}
.ccn-btn:hover, .ccn-prose input[type="submit"]:hover, .ccn-home__form input[type="submit"]:hover, .ccn-home__form button[type="submit"]:hover { background: var(--ccn-gold-hover); color: var(--ccn-bg); }
.ccn-btn--ghost { background: transparent; color: var(--ccn-text); border: 1.5px solid var(--ccn-line-strong); }
.ccn-btn--ghost:hover { background: var(--ccn-surface); color: var(--ccn-text); }

/* Forms (WordPress, Theme My Login, BuddyPress) */
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="url"], input[type="number"], textarea, select {
	width: 100%; min-height: 48px; padding: 10px 16px;
	background: var(--ccn-bg); color: var(--ccn-text);
	border: 1.5px solid var(--ccn-line-strong); border-radius: 12px;
	font: 16px/1.4 var(--ccn-sans);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--ccn-gold); outline: none; }
label { font-weight: 600; font-size: 15px; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--ccn-gold); width: 20px; height: 20px; }

/* Header */
.ccn-header { border-bottom: 1px solid var(--ccn-line); }
.ccn-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.ccn-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ccn-text); text-decoration: none; font-family: var(--ccn-serif); font-weight: 600; font-size: 22px; }
.ccn-brand:hover { color: var(--ccn-text); }
.ccn-brand .ccn-logo-mark { color: var(--ccn-gold); }
.ccn-brand--lg { font-size: 28px; }
.ccn-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.ccn-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px; }
.ccn-menu a { color: var(--ccn-text-2); text-decoration: none; font-size: 15px; padding: 10px 0; display: inline-block; }
.ccn-menu a:hover, .ccn-menu .current-menu-item > a, .ccn-menu a[aria-current="page"] { color: var(--ccn-gold); }
.ccn-admin-link { color: var(--ccn-gold); text-decoration: none; font-size: 14px; border: 1px solid var(--ccn-line-strong); border-radius: 999px; padding: 8px 14px; }
.ccn-me { display: inline-flex; align-items: center; gap: 10px; color: var(--ccn-text-2); text-decoration: none; font-size: 15px; }
.ccn-me img { border-radius: 50%; }

/* Footer */
.ccn-footer { border-top: 1px solid var(--ccn-line); padding: 32px 0; color: var(--ccn-text-3); font-size: 14px; }
.ccn-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.ccn-footer p { margin: 0; max-width: 640px; }

/* Homepage: photo + login */
.ccn-home__layout { min-height: 100vh; display: flex; flex-wrap: wrap; }
.ccn-home__photo { flex: 3 1 560px; min-height: 420px; position: relative; background: #120D3A; overflow: hidden; }
.ccn-home__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ccn-home__panel { flex: 2 1 400px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 48px clamp(24px, 4vw, 56px); }
.ccn-home__form { width: 100%; max-width: 400px; }
.ccn-home__form p { margin: 0 0 18px; }
.ccn-home__form label { display: block; margin-bottom: 8px; }
.ccn-home__form .login-remember label, .ccn-home__form .tml-rememberme-wrap label { display: inline-flex; align-items: center; gap: 10px; font-weight: 400; color: var(--ccn-text-2); }
.ccn-home__form input[type="submit"], .ccn-home__form button[type="submit"] { width: 100%; min-height: 52px; font-size: 17px; }
.ccn-home__form .tml-links { display: none; }
/* Jetpack's math check sets an inline 50px width; give the answer room (admin sign-in page). */
#jetpack_protect_answer, input[name="jetpack_protect_num"] {
	width: 120px !important; height: 48px !important; min-height: 48px; padding: 8px 12px !important;
	font-size: 18px !important; text-align: center; vertical-align: middle !important;
}
label[for="jetpack_protect_answer"] { display: inline-block !important; margin: 0 10px 0 0 !important; vertical-align: middle !important; font-size: 18px; }

/* Passwordless sign-in */
.ccn-magic { display: flex; flex-direction: column; gap: 14px; }
.ccn-magic > label:not(.ccn-remember) { margin-bottom: -6px; }
.ccn-magic__lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ccn-text); }
.ccn-magic__note { margin: 0 !important; font-size: 14px; }
.ccn-magic .ccn-btn { align-self: flex-start; }
.ccn-btn--wide { width: 100%; min-height: 52px; font-size: 17px; }
.ccn-magic .ccn-btn--wide { align-self: stretch; }
.ccn-remember { display: inline-flex !important; align-items: center; gap: 10px; font-weight: 400 !important; color: var(--ccn-text-2); cursor: pointer; min-height: 44px; }
.ccn-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ccn-home__form .ccn-notice { margin: 0 0 16px; }
.ccn-home__admin { color: var(--ccn-text-3) !important; font-size: 13px; }
.ccn-home__links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--ccn-text-2); }
.ccn-home__legal { margin: 0; color: #8C9BB8; font-size: 12px; max-width: 400px; }

/* Star balance (dashboard) */
.ccn-balances { display: flex; flex-wrap: wrap; gap: 24px; }
.ccn-balance { flex: 1 1 420px; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.ccn-balance__rows { flex: 1 1 180px; display: flex; flex-direction: column; gap: 12px; }
.ccn-balance__row { display: flex; justify-content: space-between; gap: 12px; margin: 0; }
.ccn-balance__key { display: inline-flex; align-items: center; gap: 8px; }
.ccn-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.ccn-balance__note { margin: 0; background: var(--ccn-bg); border-radius: 12px; padding: 10px 14px; font-size: 15px; color: var(--ccn-text-2); }
.ccn-dash-grid { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; }
.ccn-dash-grid > * { flex: 1 1 320px; min-width: 0; }
.ccn-dash-grid > .ccn-wide { flex: 2 1 520px; }
.ccn-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ccn-chip { background: var(--ccn-bg); border: 1px solid var(--ccn-line-strong); border-radius: 999px; padding: 6px 12px; font-size: 14px; color: var(--ccn-text); }

/* myCred history tables */
.ccn-prose table, .mycred-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ccn-prose th, .ccn-prose td, .mycred-table th, .mycred-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--ccn-line); color: var(--ccn-text-2); }
.ccn-prose th, .mycred-table th { color: var(--ccn-text); font-weight: 600; }
.ccn-table-scroll { overflow-x: auto; }

/* BuddyPress Nouveau: directory and profiles */
.buddypress-wrap { color: var(--ccn-text); }
.buddypress-wrap .bp-navs, .buddypress-wrap .bp-subnavs { background: transparent !important; border-color: var(--ccn-line) !important; }
.buddypress-wrap .bp-navs li a, .buddypress-wrap .subnav-filters { color: var(--ccn-text-2) !important; }
.buddypress-wrap .bp-navs li.selected a, .buddypress-wrap .bp-navs li.current a { color: var(--ccn-gold) !important; background: transparent !important; }
.buddypress-wrap .dir-search input[type="search"] { min-height: 52px; border-radius: 999px !important; padding-left: 20px; background: var(--ccn-surface) !important; color: var(--ccn-text) !important; border: 1.5px solid var(--ccn-line-strong) !important; }
.buddypress-wrap .grid > li .list-wrap, .buddypress-wrap #members-list li .list-wrap {
	background: var(--ccn-surface) !important; border: 1px solid var(--ccn-line) !important; border-radius: var(--ccn-radius) !important; padding: 24px !important;
}
.buddypress-wrap .grid > li, .buddypress-wrap #members-list li { border: 0 !important; }
.buddypress-wrap .item-avatar img { border-radius: 50% !important; box-shadow: 0 0 0 3px var(--ccn-bg), 0 0 0 5px var(--ccn-gold); }
.buddypress-wrap .list-title a, .buddypress-wrap .item-title a { color: var(--ccn-text) !important; font-weight: 600; }
.buddypress-wrap .item-meta, .buddypress-wrap .activity, .buddypress-wrap .last-activity { color: var(--ccn-text-3) !important; }
.buddypress-wrap .profile table, .buddypress-wrap .profile-fields td { color: var(--ccn-text-2); border-color: var(--ccn-line) !important; }
.buddypress-wrap .profile-fields .label { color: var(--ccn-text) !important; font-weight: 600; }
.buddypress #item-header { background: var(--ccn-surface); border-radius: var(--ccn-radius); padding: 24px; }

/* Request to join (BuddyPress registration / membership requests) */
.buddypress-wrap #signup-form, .buddypress-wrap .standard-form#signup-form {
	max-width: 720px; background: var(--ccn-surface); border: 1px solid var(--ccn-line);
	border-radius: 24px; padding: 36px;
}
.buddypress-wrap #signup-form .editfield, .buddypress-wrap #signup-form .register-section { margin-bottom: 20px; }
.buddypress-wrap #signup-form label, .buddypress-wrap #signup-form legend { color: var(--ccn-text); font-weight: 600; display: block; margin-bottom: 8px; }
.buddypress-wrap #signup-form .description, .buddypress-wrap #signup-form p.description { color: var(--ccn-text-3); font-size: 14px; }
.buddypress-wrap #signup-form input[type="submit"], .buddypress-wrap #signup-form button[type="submit"] {
	min-height: 52px; padding: 0 32px; border-radius: 999px; border: 0;
	background: var(--ccn-gold) !important; color: var(--ccn-bg) !important; font: 600 17px var(--ccn-sans);
}
/* Join form: no password fields (fallback if a BuddyPress update brings them back). */
#signup-form label[for="pass1"], #signup-form .user-pass1-wrap, #signup-form .user-pass2-wrap, #signup-form .indicator-hint { display: none !important; }
.buddypress-wrap .ccn-join-note { color: var(--ccn-text-2) !important; font-size: 15px; margin: 4px 0 0; }
.buddypress-wrap .bp-feedback { background: var(--ccn-surface) !important; color: var(--ccn-text) !important; border-radius: 12px; }

/* Balance status badges */
.ccn-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.ccn-pill { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; line-height: 1.2; }
.ccn-pill--in { background: rgba(90,200,250,.16); color: #A8E6FF; border: 1px solid #3A9CCB; }
.ccn-pill--out { background: rgba(255,155,113,.14); color: #FFC2A8; border: 1px solid #B5603C; }
.ccn-pill--initiating { background: rgba(111,160,230,.14); color: #C3D6F5; border: 1px solid #3C5A8F; }
.ccn-initiating { margin: 0; background: rgba(111,160,230,.10); border: 1px solid #3C5A8F; border-radius: 12px; padding: 12px 14px; font-size: 15px; line-height: 1.55; color: var(--ccn-text-2); display: flex; flex-direction: column; gap: 8px; }
.ccn-initiating__progress { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ccn-text); font-weight: 600; }

/* Star Exchange page */
.ccn-xchg { display: flex; flex-direction: column; gap: 48px; }
.ccn-xchg__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.ccn-xchg__threshold { margin: 0; background: var(--ccn-surface); border: 1px solid var(--ccn-line); border-radius: 999px; padding: 10px 18px; font-size: 15px; color: var(--ccn-text-2); }
.ccn-xchg__threshold strong { color: var(--ccn-text); }
.ccn-xchg__h2 { margin: 0; font-size: 24px; font-weight: 600; }
.ccn-xchg__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.ccn-xchg__cards { display: flex; flex-wrap: wrap; gap: 24px; }
.ccn-xcard { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; border-radius: 24px; }
.ccn-xcard__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ccn-xcard__title { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 600; }
.ccn-xcard__stats { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ccn-xcard__stats > div { background: var(--ccn-bg); border-radius: 14px; padding: 16px; display: flex; flex-direction: column-reverse; gap: 4px; }
.ccn-xcard__stats dt { font-size: 14px; color: var(--ccn-text-3); }
.ccn-xcard__stats dd { margin: 0; font-family: var(--ccn-serif); font-size: 34px; line-height: 1.1; }
.ccn-meter { display: flex; flex-direction: column; gap: 10px; }
.ccn-meter__row, .ccn-meter__labels { margin: 0; display: flex; justify-content: space-between; gap: 12px; }
.ccn-meter__row { font-size: 15px; }
.ccn-meter__labels { font-size: 13px; color: var(--ccn-text-3); }
.ccn-meter__track { position: relative; height: 16px; border-radius: 999px; background: var(--ccn-bg); border: 1px solid var(--ccn-line); }
.ccn-meter__band { position: absolute; top: 0; bottom: 0; background: rgba(232,238,248,.12); border-left: 2px dashed #8C9BB8; border-right: 2px dashed #8C9BB8; }
.ccn-meter__mid { position: absolute; left: 50%; top: 2px; bottom: 2px; width: 1px; background: var(--ccn-line-strong); }
.ccn-meter__mark { position: absolute; top: -7px; width: 6px; height: 28px; margin-left: -3px; border-radius: 3px; background: var(--ccn-text); box-shadow: 0 0 0 3px var(--ccn-surface); }
.ccn-meter__mark.is-out { background: #FF9B71; }
.ccn-flag { margin: 0; background: rgba(255,155,113,.12); border: 1px solid #8A4A2E; border-radius: 12px; padding: 12px 14px; font-size: 15px; line-height: 1.55; color: #FFD2C0; }
.ccn-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.ccn-filter { min-height: 44px; padding: 0 18px; border-radius: 999px; font: 15px var(--ccn-sans); cursor: pointer; background: transparent; color: var(--ccn-text); border: 1.5px solid var(--ccn-line-strong); }
.ccn-filter[aria-pressed="true"] { background: var(--ccn-gold); color: var(--ccn-bg); border-color: var(--ccn-gold); font-weight: 600; }
.ccn-history { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.ccn-history th { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--ccn-line-strong); color: var(--ccn-text-3); font-weight: 600; }
.ccn-history td { padding: 14px 8px; border-bottom: 1px solid var(--ccn-line); color: var(--ccn-text); }
.ccn-history .ccn-num { text-align: right; font-weight: 600; }
.ccn-history .ccn-num.is-neg { color: var(--ccn-text-3); }
.ccn-nowrap { white-space: nowrap; }
.ccn-star-cell { display: inline-flex; align-items: center; gap: 6px; }
.ccn-role { border: 1px solid var(--ccn-line-strong); border-radius: 999px; padding: 4px 10px; font-size: 13px; white-space: nowrap; }
.ccn-xrows { display: flex; flex-direction: column; gap: 12px; }
.ccn-xrow { background: var(--ccn-surface); border: 1px solid var(--ccn-line); border-radius: 18px; padding: 18px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.ccn-xrow h3 { margin: 0; font-size: 17px; font-weight: 600; flex: 1 1 280px; }
.ccn-xrow__form { flex: 1 1 360px; color: var(--ccn-text-2); font-size: 15px; }
.ccn-xrow__form .mycred-exchange table, .ccn-xrow__form table { width: 100%; border-collapse: collapse; }
.ccn-xrow__form td, .ccn-xrow__form th { padding: 4px 6px; border: 0 !important; color: var(--ccn-text-2); text-align: left; background: transparent !important; }
.ccn-xrow__form input[type="number"], .ccn-xrow__form input[type="text"] { width: 110px; min-height: 44px; }
.ccn-xrow__form input[type="submit"], .ccn-xrow__form button { min-height: 44px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--ccn-gold); color: var(--ccn-bg); font: 600 15px var(--ccn-sans); cursor: pointer; }
.ccn-xchg__how { border-top: 1px solid var(--ccn-line); padding-top: 32px; display: flex; flex-direction: column; gap: 12px; max-width: 760px; }

@media (max-width: 560px) {
	.ccn-xcard__stats { grid-template-columns: 1fr; }
}

/* Stars History (admin) */
.ccn-sh { display: flex; flex-direction: column; gap: 20px; }
.ccn-subnav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ccn-subnav .ccn-eyebrow { margin-right: 8px; font-size: 12px; }
.ccn-subnav a { color: var(--ccn-text-2); text-decoration: none; border-radius: 999px; padding: 10px 16px; border: 1px solid transparent; }
.ccn-subnav a[aria-current="page"] { background: var(--ccn-surface); border-color: var(--ccn-line-strong); color: var(--ccn-text); font-weight: 600; }
.ccn-notice { margin: 0; background: rgba(111,211,160,.12); border: 1px solid #3F8F6B; color: #CFF3E0; border-radius: 12px; padding: 12px 16px; }
.ccn-notice--error { background: rgba(255,155,113,.12); border-color: #B5603C; color: #FFD2C0; }
.ccn-sh__cols { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px; }
.ccn-sh__members { flex: 1 1 250px; max-width: 300px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ccn-sh__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; max-height: 70vh; overflow-y: auto; }
.ccn-sh__list a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; color: var(--ccn-text); text-decoration: none; min-height: 44px; }
.ccn-sh__list a:hover { background: var(--ccn-surface-2); color: var(--ccn-text); }
.ccn-sh__list a[aria-current="page"] { background: #1B305C; box-shadow: inset 3px 0 0 var(--ccn-gold); }
.ccn-sh__list img { border-radius: 50%; flex: none; }
.ccn-sh__who { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.ccn-sh__who span { font-size: 13px; color: var(--ccn-text-3); }
.ccn-sh__main { flex: 3 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ccn-sh__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 22px; }
.ccn-sh__person { display: flex; align-items: center; gap: 14px; }
.ccn-sh__person img { border-radius: 50%; box-shadow: 0 0 0 3px var(--ccn-surface), 0 0 0 5px var(--ccn-gold); }
.ccn-sh__name { margin: 0; font-size: 22px; }
.ccn-sh__month { display: flex; flex-direction: column; gap: 8px; }
.ccn-sh__month-label { margin: 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ccn-text-3); }
.ccn-sh__item { display: flex; align-items: center; gap: 14px; background: var(--ccn-surface); border: 1px solid var(--ccn-line); border-radius: 14px; padding: 12px 16px; }
.ccn-sh__item.is-active { background: #1B305C; border-color: var(--ccn-gold); }
.ccn-sh__item svg { flex: none; }
.ccn-sh__item-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ccn-sh__item-text span { font-size: 13px; color: var(--ccn-text-3); }
.ccn-sh__item > a { padding: 10px 4px; font-size: 14px; }
.ccn-sh__amount { font-weight: 600; font-size: 17px; white-space: nowrap; }
.ccn-sh__amount.is-neg { color: var(--ccn-text-3); }
.ccn-edited { font-style: normal; color: var(--ccn-gold); margin-left: 6px; }
.ccn-sh__panel { flex: 1 1 280px; max-width: 360px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.ccn-sh__panel.is-open { border-color: var(--ccn-gold); }
.ccn-sh__panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ccn-sh__panel-title { margin: 0; font-size: 19px; }
.ccn-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ccn-line-strong); display: inline-flex; align-items: center; justify-content: center; color: var(--ccn-text); text-decoration: none; font-size: 20px; flex: none; }
.ccn-form { gap: 14px; }
.ccn-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; flex: 1 1 0; min-width: 0; }
.ccn-field-row { display: flex; gap: 10px; }
.ccn-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ccn-btn--danger { background: transparent !important; color: #FFC2A8 !important; border: 1.5px solid #B5603C !important; }
.ccn-btn--danger:hover { background: rgba(255,155,113,.12) !important; }
.ccn-changes { border-top: 1px solid var(--ccn-line); padding-top: 12px; font-size: 13px; color: var(--ccn-text-3); }
.ccn-changes h3 { margin: 0 0 6px; font-size: 14px; color: var(--ccn-text-2); }
.ccn-changes ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.ccn-filter { display: inline-flex; align-items: center; text-decoration: none; }
.ccn-filter[aria-current="page"] { background: var(--ccn-gold); color: var(--ccn-bg); border-color: var(--ccn-gold); font-weight: 600; }
.ccn-filter--warn { color: #FFC2A8; border-color: #B5603C; }
.ccn-record__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.ccn-record__wide { grid-column: 1 / -1; }
.ccn-pair { background: var(--ccn-surface); border: 1px solid var(--ccn-line); border-radius: 18px; padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.ccn-pair.is-flagged { border-color: #B5603C; }
.ccn-pair.is-active { border-color: var(--ccn-gold); }
.ccn-pair__title { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ccn-pair__title h2 { margin: 0; font-size: 18px; }
.ccn-pair__meta { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ccn-text-3); }
.ccn-pair__sides { flex: 3 1 520px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ccn-pair__side { flex: 1 1 200px; background: var(--ccn-bg); border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.ccn-pair__side img { border-radius: 50%; flex: none; }
.ccn-pair__side.is-missing { color: #FFC2A8; border: 1px dashed #B5603C; justify-content: center; }
.ccn-pair__who { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.ccn-pair__who span { font-size: 13px; color: var(--ccn-text-3); }
.ccn-pair__amt { margin-left: auto; font-weight: 600; font-size: 18px; }
.ccn-pair__arrow { flex: none; }
.ccn-pair__actions { display: flex; gap: 8px; }
.ccn-pair__full { flex-basis: 100%; }
.ccn-pair__edit { border-top: 1px solid var(--ccn-line); padding-top: 16px; }

/* Stars Admin */
.ccn-wrap-wide { max-width: 1440px; margin: 0 auto; padding: 0 24px; }
.ccn-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.ccn-tile { text-align: left; background: var(--ccn-surface); border: 1px solid var(--ccn-line); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; color: var(--ccn-text); font: inherit; }
button.ccn-tile { cursor: pointer; }
button.ccn-tile:hover { border-color: var(--ccn-line-strong); }
button.ccn-tile[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ccn-gold); }
.ccn-tile__label { font-size: 14px; font-weight: 600; color: var(--ccn-text-2); }
.ccn-tile--out { border-color: #B5603C; }
.ccn-tile--out .ccn-tile__label { color: #FFC2A8; }
.ccn-tile--in .ccn-tile__label { color: #A8E6FF; }
.ccn-tile--initiating .ccn-tile__label { color: #C3D6F5; }
.ccn-tile__num { font-family: var(--ccn-serif); font-size: 44px; line-height: 1; }
.ccn-tile__note { font-size: 13px; color: var(--ccn-text-3); }
.ccn-tile__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 400; font-size: 15px; }
.ccn-tile__row span { display: inline-flex; align-items: center; gap: 4px; }
.ccn-tile__row input { width: 72px; min-height: 40px; padding: 4px 8px; text-align: right; }
.ccn-tile__save { align-self: flex-start; min-height: 40px; margin-top: 4px; }
.ccn-admin-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ccn-filter[aria-pressed="true"] { background: var(--ccn-gold); color: var(--ccn-bg); border-color: var(--ccn-gold); font-weight: 600; }
.ccn-bulk { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; color: var(--ccn-text-2); }
.ccn-bulk label { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; }
.ccn-bulk input { width: 72px; min-height: 40px; padding: 4px 8px; text-align: right; }
.ccn-bulk .ccn-btn { min-height: 40px; }
.ccn-linkbtn { background: none; border: 0; padding: 8px 4px; color: var(--ccn-gold); font: inherit; font-size: 14px; cursor: pointer; }
.ccn-linkbtn:hover { color: var(--ccn-gold-hover); text-decoration: underline; }
.ccn-admin-table { width: 100%; min-width: 1180px; border-collapse: collapse; font-size: 15px; }
.ccn-admin-table th { background: var(--ccn-surface-2); text-align: left; padding: 12px 10px; color: var(--ccn-text-3); font-weight: 600; }
.ccn-admin-table .ccn-subhead th { padding-top: 0; font-size: 13px; font-weight: 500; }
.ccn-admin-table td { padding: 10px; border-top: 1px solid var(--ccn-line); vertical-align: middle; }
.ccn-admin-table .ccn-group { border-left: 1px solid var(--ccn-line); }
.ccn-admin-table .ccn-num { text-align: right; }
.ccn-admin-table tr.is-changed td { background: rgba(242,193,78,.06); }
.ccn-col-check { width: 36px; padding-left: 14px !important; }
.ccn-admin-member { display: inline-flex; align-items: center; gap: 10px; color: var(--ccn-text); text-decoration: none; font-weight: 600; min-height: 44px; }
.ccn-admin-member img { border-radius: 50%; }
.ccn-progress { display: block; font-size: 12px; color: var(--ccn-text-3); margin-top: 4px; white-space: nowrap; }
.ccn-threshold { min-width: 230px; }
.ccn-threshold__row { display: flex; align-items: center; gap: 10px; }
.ccn-threshold__row input[type="range"] { flex: 1; min-width: 110px; accent-color: var(--ccn-gold); min-height: 28px; }
.ccn-threshold__val { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; font-weight: 600; }
.ccn-threshold__val input { width: 62px; min-height: 36px; padding: 2px 6px; text-align: right; }
.ccn-threshold__meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ccn-text-3); }
.ccn-threshold__meta .ccn-linkbtn { font-size: 12px; padding: 4px 2px; }
.ccn-unsaved { color: var(--ccn-gold); font-weight: 600; }
.ccn-savebar { position: sticky; bottom: 16px; z-index: 10; margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; background: #1B305C; border: 1px solid var(--ccn-gold); border-radius: 16px; padding: 12px 18px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.ccn-savebar[hidden] { display: none; }

/* Circle of Spheres */
.ccn-spheres { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.ccn-spheres__stage-wrap { flex: 3 1 480px; min-width: 0; display: flex; justify-content: center; overflow: hidden; padding: 12px 0; }
.ccn-spheres__stage { position: relative; width: min(620px, 100%); aspect-ratio: 1 / 1; }
.ccn-spheres__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ccn-orb-wrap { position: absolute; inset: 0; pointer-events: none; transition: transform 750ms cubic-bezier(.45,.05,.25,1); }
.ccn-orb {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	aspect-ratio: 1 / 1; border-radius: 50%; border: 0; padding: 0; margin: 0;
	overflow: hidden; background: var(--ccn-surface);
	transition: width 750ms cubic-bezier(.45,.05,.25,1), opacity 600ms ease, box-shadow 400ms ease;
}
.ccn-orb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ccn-orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.45) 0%, rgba(255,255,255,0) 40%, rgba(11,22,48,.55) 100%); pointer-events: none; }
.ccn-orb--center { box-shadow: 0 0 0 4px var(--ccn-bg), 0 0 0 7px var(--ccn-gold), 0 0 60px rgba(111,160,230,.35); }
.ccn-orb--ring { cursor: pointer; pointer-events: auto; opacity: .55; box-shadow: 0 0 24px rgba(111,160,230,.18); }
.ccn-orb--ring:hover, .ccn-orb--ring:focus-visible { opacity: 1; box-shadow: 0 0 0 3px var(--ccn-gold), 0 0 32px rgba(242,193,78,.45); outline: none; }
.ccn-orb--hidden { opacity: 0; pointer-events: none; }
.ccn-spheres__info { flex: 2 1 340px; max-width: 440px; }
.ccn-spheres__info .ccn-h2 { font-size: 40px; line-height: 1.1; }
.ccn-quote { margin: 0; font-family: var(--ccn-serif); font-style: italic; font-size: 18px; color: var(--ccn-text-2); }
.ccn-stars-line { display: flex; gap: 20px; font-size: 15px; color: var(--ccn-text-2); border-top: 1px solid var(--ccn-line); padding-top: 16px; margin: 0; }
.ccn-hint { margin: 0; font-size: 13px; color: #8C9BB8; }

@media (prefers-reduced-motion: reduce) {
	.ccn-orb-wrap, .ccn-orb { transition: opacity 200ms ease; }
}

/* ---------- Circle of Spheres 2 (Empowerment Circles) ---------- */
.ccn-spheres2 .ccn-spheres__stage-wrap { flex-direction: column; align-items: center; gap: 12px; }
.ccn-spheres2__trail, .ccn-spheres2__pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; min-height: 48px; color: var(--ccn-text-3); font-size: 14px; }
.ccn-spheres2__trail .ccn-btn, .ccn-spheres2__pager .ccn-btn { padding: 10px 18px; font-size: 15px; }
.ccn-linkbtn { background: none; border: 0; padding: 10px 4px; color: var(--ccn-gold); font: 500 15px var(--ccn-sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ccn-linkbtn:hover { color: var(--ccn-gold-hover); }
.ccn-spheres2__empty { position: absolute; left: 50%; top: 84%; transform: translateX(-50%); width: 80%; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; z-index: 4; }
.ccn-spheres2__empty p { margin: 0; color: var(--ccn-text-2); font-size: 15px; }
.ccn-spheres2__empty[hidden] { display: none; }
.ccn-spheres2__rel { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 15px; }
.ccn-spheres2__rel dt { color: var(--ccn-text-3); }
.ccn-spheres2__rel dd { margin: 0; color: var(--ccn-text); }
.ccn-spheres2__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Empowerment Circle picker (Edit my Profile) ---------- */
.ccn-champs { border: 1px solid var(--ccn-line); border-radius: var(--ccn-radius); padding: 24px; margin: 32px 0; background: var(--ccn-surface-2); }
.ccn-champs legend { font-family: var(--ccn-serif); font-size: 24px; padding: 0 8px; color: var(--ccn-text); }
.ccn-champs__intro { margin: 0 0 16px; color: var(--ccn-text-2); }
.ccn-champs__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ccn-champs__search { flex: 1 1 260px; }
.ccn-champs__search input { width: 100%; }
.ccn-champs__count { margin: 0; color: var(--ccn-text-2); font-size: 15px; }
.ccn-champs__count span { color: var(--ccn-gold); font-weight: 600; }
.ccn-champs__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 12px; max-height: 460px; overflow-y: auto; }
.ccn-champs__grid li[hidden] { display: none; }
.ccn-champ { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px; border: 1.5px solid var(--ccn-line); border-radius: 16px; cursor: pointer; text-align: center; transition: border-color 150ms, background 150ms; }
.ccn-champ:hover { border-color: var(--ccn-line-strong); }
.ccn-champ input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ccn-champ img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; opacity: .75; }
.ccn-champ__name { font-size: 14px; line-height: 1.3; color: var(--ccn-text-2); }
.ccn-champ__tick { position: absolute; top: 8px; right: 8px; color: var(--ccn-gold); opacity: 0; transition: opacity 150ms; }
.ccn-champ.is-on { border-color: var(--ccn-gold); background: rgba(242,193,78,.08); }
.ccn-champ.is-on img { opacity: 1; box-shadow: 0 0 0 2px var(--ccn-gold); }
.ccn-champ.is-on .ccn-champ__name { color: var(--ccn-text); }
.ccn-champ.is-on .ccn-champ__tick { opacity: 1; }
.ccn-champ:has(input:focus-visible) { outline: 2px solid var(--ccn-gold); outline-offset: 2px; }
.ccn-champ:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.ccn-champs__hint { margin: 12px 0 0; font-size: 14px; color: var(--ccn-text-3); }

/* ---------- Ecosystem 4 (Empowerment + Advocacy) ---------- */
.ccn-eco4 { display: grid; grid-template-columns: 260px minmax(0, 1fr) minmax(300px, 380px); gap: 32px; align-items: start; }
.ccn-eco4 .ccn-spheres__stage-wrap { padding: 0; }
.ccn-eco4 .ccn-spheres__info { max-width: none; position: sticky; top: 96px; }
.ccn-eco4__find { display: flex; flex-direction: column; gap: 14px; background: var(--ccn-surface-2); border: 1px solid var(--ccn-line); border-radius: var(--ccn-radius); padding: 16px; position: sticky; top: 96px; }
.ccn-eco4__search { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ccn-text-2); }
.ccn-eco4__search input { width: 100%; box-sizing: border-box; height: 44px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--ccn-line-strong); background: var(--ccn-bg); color: var(--ccn-text); font: inherit; font-size: 15px; }
.ccn-eco4__list { list-style: none; margin: 0; padding: 0; max-height: 52vh; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.ccn-eco4__row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 8px; border: 0; border-radius: 10px; background: none; color: var(--ccn-text); text-align: left; font: inherit; cursor: pointer; }
.ccn-eco4__row:hover, .ccn-eco4__row:focus-visible { background: rgba(255,255,255,.06); outline: none; }
.ccn-eco4__row.is-center { background: rgba(242,193,78,.12); box-shadow: inset 3px 0 0 var(--ccn-gold); }
.ccn-eco4__row.is-picked { background: rgba(143,208,255,.12); box-shadow: inset 3px 0 0 #8FD0FF; }
.ccn-eco4__row-photo { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: var(--ccn-surface); }
.ccn-eco4__row-photo.is-sq { border-radius: 22%; box-shadow: 0 0 0 1.5px rgba(143,208,255,.6); }
.ccn-eco4__row-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ccn-eco4__row-text { display: flex; flex-direction: column; min-width: 0; font-size: 14px; line-height: 1.25; }
.ccn-eco4__row-text > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ccn-eco4__row-type { font-size: 12px; color: var(--ccn-text-3); }
.ccn-eco4__none { padding: 8px; font-size: 14px; }
.ccn-eco4__key { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--ccn-line); padding-top: 12px; font-size: 13px; color: var(--ccn-text-3); }
.ccn-eco4__key span { display: flex; align-items: center; gap: 8px; }
.ccn-eco4__key-dot, .ccn-eco4__key-sq { display: inline-block; width: 12px; height: 12px; flex: 0 0 12px; }
.ccn-eco4__key-dot { border-radius: 50%; box-shadow: 0 0 0 2px var(--ccn-gold); }
.ccn-eco4__key-sq { border-radius: 3px; box-shadow: 0 0 0 2px #8FD0FF; }
.ccn-eco4__stage { width: min(680px, 100%); }
.ccn-orb.ccn-eco4__emp { opacity: .8; box-shadow: 0 0 0 2px rgba(242,193,78,.7), 0 0 24px rgba(242,193,78,.18); }
.ccn-orb.ccn-eco4__sq, .ccn-orb.ccn-eco4__sq::after { border-radius: 22%; }
.ccn-orb.ccn-eco4__sq::after { background: linear-gradient(160deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 45%, rgba(11,22,48,.4) 100%); }
.ccn-eco4__sq--on { cursor: pointer; pointer-events: auto; opacity: .85; box-shadow: 0 0 0 2px #8FD0FF, 0 0 22px rgba(143,208,255,.22); }
.ccn-eco4__sq--on:hover, .ccn-eco4__sq--on:focus-visible { opacity: 1; box-shadow: 0 0 0 3px #8FD0FF, 0 0 30px rgba(143,208,255,.45); outline: none; }
.ccn-eco4__sq--on.is-picked { opacity: 1; box-shadow: 0 0 0 3px var(--ccn-bg), 0 0 0 6px #8FD0FF, 0 0 36px rgba(143,208,255,.5); }
.ccn-eco4__slot { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 11.5%; aspect-ratio: 1 / 1; border-radius: 22%; border: 1.5px dashed rgba(143,208,255,.35); opacity: 0; transition: opacity 400ms ease; }
.ccn-eco4__slot.is-on { opacity: 1; }
.ccn-eco4__info.is-acct { border-color: rgba(143,208,255,.5); }
.ccn-eco4__badge { align-self: flex-start; display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(143,208,255,.14); color: #8FD0FF; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.ccn-eco4__head { display: flex; align-items: center; gap: 16px; }
.ccn-eco4__head > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ccn-eco4__head .ccn-h2 { margin: 0; font-size: 30px; }
.ccn-eco4__head-photo { flex: 0 0 88px; width: 88px; height: 88px; border-radius: 22%; overflow: hidden; box-shadow: 0 0 0 2px #8FD0FF; }
.ccn-eco4__head-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ccn-eco4__by-title { margin: 0; font-size: 14px; font-weight: 600; color: var(--ccn-text-3); border-top: 1px solid var(--ccn-line); padding-top: 14px; }
.ccn-eco4__people { display: flex; flex-wrap: wrap; gap: 8px; }
.ccn-eco4__person { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--ccn-line-strong); background: none; color: var(--ccn-text); font: inherit; font-size: 14px; cursor: pointer; }
.ccn-eco4__person:hover, .ccn-eco4__person:focus-visible { border-color: var(--ccn-gold); outline: none; }
.ccn-eco4__person-photo { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; }
.ccn-eco4__person-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ccn-eco4__dt-emp { color: var(--ccn-gold) !important; }
.ccn-eco4__dt-adv { color: #8FD0FF !important; }
.ccn-champs--adv .ccn-champ img { border-radius: 22%; }
.ccn-champs--adv .ccn-champ.is-on { border-color: #8FD0FF; background: rgba(143,208,255,.08); }
.ccn-champs--adv .ccn-champ.is-on img { box-shadow: 0 0 0 2px #8FD0FF; }
.ccn-champs--adv .ccn-champ__tick, .ccn-champs--adv .ccn-champs__count span { color: #8FD0FF; }
.ccn-champ__type { font-size: 12px; color: var(--ccn-text-3); }
@media (max-width: 1100px) {
	.ccn-eco4 { grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); }
	.ccn-eco4__find { grid-column: 1 / -1; position: static; }
	.ccn-eco4__list { max-height: 220px; }
}
@media (max-width: 760px) {
	.ccn-eco4 { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.ccn-eco4 .ccn-spheres__info { position: static; }
	.ccn-eco4__head .ccn-h2 { font-size: 24px; }
}

/* ---------- All Members: Celestial gallery ---------- */
.ccn-gallery-page { padding: 0 !important; }
.ccn-gallery__hero { position: relative; overflow: hidden; border-bottom: 1px solid rgba(60,90,143,.4); }
.ccn-sky { position: absolute; inset: 0; pointer-events: none; }
.ccn-sky__star { position: absolute; border-radius: 50%; background: #C9D4E8; }
.ccn-sky__star.is-bright { background: #FFE7A3; animation: ccnTwinkle 4s ease-in-out infinite; }
@keyframes ccnTwinkle { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.ccn-gallery__hero-inner { position: relative; max-width: 820px; margin: 0 auto; padding: 88px 24px 64px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.ccn-gallery .ccn-gallery__title { margin: 0; font-family: var(--ccn-serif); font-weight: 300; font-size: clamp(44px, 7vw, 68px); line-height: 1.02; }
.ccn-gallery__lede { margin: 0; font-family: var(--ccn-serif); font-style: italic; font-weight: 300; font-size: 22px; color: var(--ccn-text-2); }
.ccn-gallery__search { width: min(560px, 100%); display: flex; align-items: center; gap: 12px; background: rgba(20,37,74,.8); border: 1px solid var(--ccn-line-strong); border-radius: 999px; padding: 0 22px; margin-top: 10px; }
.ccn-gallery__search:focus-within { border-color: var(--ccn-gold); }
.ccn-gallery__search input { flex: 1; min-width: 0; height: 56px; background: transparent !important; border: 0 !important; padding: 0 !important; color: var(--ccn-text); font-size: 16px; }
.ccn-gallery__search input::placeholder { color: #8C9BB8; }
.ccn-gallery__body { padding-top: 48px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 44px; max-width: 1240px; }
.ccn-gallery__new { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; background: rgba(20,37,74,.55); border: 1px solid var(--ccn-line); border-radius: 22px; padding: 20px 26px; }
.ccn-gallery .ccn-gallery__new-title { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ccn-gold); font-weight: 600; }
.ccn-gallery__new-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 22px; }
.ccn-gallery__new-list a { display: flex; align-items: center; gap: 10px; color: var(--ccn-text); text-decoration: none; min-height: 44px; }
.ccn-gallery__new-list span { display: flex; flex-direction: column; line-height: 1.25; }
.ccn-gallery__new-list small { font-size: 13px; color: var(--ccn-text-3); }
.ccn-halo { width: 96px; height: 96px; flex: none; border-radius: 50%; object-fit: cover; background: var(--ccn-surface); box-shadow: 0 0 0 2px var(--ccn-bg), 0 0 0 3px rgba(242,193,78,.6), 0 0 24px rgba(242,193,78,.15); transition: box-shadow .3s ease; position: relative; }
.ccn-halo--sm { width: 44px; height: 44px; }
.ccn-gallery__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.ccn-gallery__grid li[hidden] { display: none; }
.ccn-gcard { position: relative; overflow: hidden; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 34px 22px 26px; border-radius: 24px; background: linear-gradient(180deg, rgba(20,37,74,.85), rgba(15,29,61,.85)); border: 1px solid var(--ccn-line); color: var(--ccn-text); text-decoration: none; transition: transform .3s ease, border-color .3s ease; }
.ccn-gcard:hover, .ccn-gcard:focus-visible { transform: translateY(-4px); border-color: var(--ccn-line-strong); color: var(--ccn-text); }
.ccn-gcard__cst { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 150px; opacity: .35; transition: opacity .4s ease; }
.ccn-gcard:hover .ccn-gcard__cst, .ccn-gcard:focus-visible .ccn-gcard__cst { opacity: 1; }
.ccn-gcard:hover .ccn-halo, .ccn-gcard:focus-visible .ccn-halo { box-shadow: 0 0 0 2px var(--ccn-bg), 0 0 0 3px var(--ccn-gold), 0 0 36px rgba(242,193,78,.35); }
.ccn-gcard__who { position: relative; display: flex; flex-direction: column; gap: 4px; }
.ccn-gcard__name { font-family: var(--ccn-serif); font-size: 23px; }
.ccn-gcard__rank { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ccn-text-3); }
.ccn-gcard__services { position: relative; font-size: 15px; color: var(--ccn-text-2); min-height: 44px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.ccn-gcard__foot { position: relative; margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; font-size: 14px; color: var(--ccn-text-2); border-top: 1px solid rgba(60,90,143,.45); padding-top: 12px; width: 100%; }
.ccn-gcard__stars, .ccn-gcard__status { display: inline-flex; align-items: center; gap: 6px; }
.ccn-dot { width: 8px; height: 8px; border-radius: 50%; }
.ccn-dot--in { background: #5AC8FA; }
.ccn-dot--initiating { background: #8CA9D8; }
.ccn-dot--out { background: #FF9B71; }
.ccn-gallery__none { margin: 0; text-align: center; color: var(--ccn-text-2); }
@media (prefers-reduced-motion: reduce) { .ccn-sky__star.is-bright { animation: none; } .ccn-gcard, .ccn-gcard__cst, .ccn-halo { transition: none; } }

[hidden] { display: none !important; }

/* ---------- BuddyPress forms (Edit Profile, settings) in Night Sky colors ---------- */
body .buddypress-wrap .editfield, body .buddypress-wrap .standard-form .editfield { background: var(--ccn-surface-2); border: 1px solid var(--ccn-line); border-radius: 16px; padding: 20px; color: var(--ccn-text); }
body .buddypress-wrap .editfield legend, body .buddypress-wrap .editfield label, body .buddypress-wrap .editfield .field-visibility-settings-notoggle, body .buddypress-wrap .editfield .field-visibility-settings-toggle { color: var(--ccn-text); }
body .buddypress-wrap .editfield legend { font-weight: 600; font-size: 16px; }
body .buddypress-wrap .editfield p.description, body .buddypress-wrap .editfield .description { color: var(--ccn-text-2); }
body .buddypress-wrap .standard-form input[type="text"], body .buddypress-wrap .standard-form input[type="email"], body .buddypress-wrap .standard-form input[type="url"], body .buddypress-wrap .standard-form input[type="number"], body .buddypress-wrap .standard-form input[type="date"], body .buddypress-wrap .standard-form input[type="search"], body .buddypress-wrap .standard-form input[type="password"], body .buddypress-wrap .standard-form textarea, body .buddypress-wrap .standard-form select { background: var(--ccn-bg); color: var(--ccn-text); border: 1.5px solid var(--ccn-line-strong); border-radius: 12px; }
body .buddypress-wrap .standard-form input:focus, body .buddypress-wrap .standard-form textarea:focus, body .buddypress-wrap .standard-form select:focus { border-color: var(--ccn-gold); outline: none; }
body .buddypress-wrap .editfield a { color: var(--ccn-gold); }
body .buddypress-wrap .bp-tables-user, body .buddypress-wrap .bp-tables-user th, body .buddypress-wrap .bp-tables-user td { background: transparent; color: var(--ccn-text-2); border-color: var(--ccn-line); }
body .buddypress-wrap .ccn-champs .ccn-champ { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; margin: 0; width: auto; float: none; font-weight: 400; }
body .buddypress-wrap .ccn-champs .ccn-champ img { float: none; margin: 0; }
body .buddypress-wrap .ccn-champs .ccn-champ__name { display: block; width: 100%; }
body .buddypress-wrap .ccn-champs input[type="search"] { background: var(--ccn-bg); color: var(--ccn-text); border: 1.5px solid var(--ccn-line-strong); border-radius: 12px; height: 48px; padding: 0 14px; width: 100%; box-sizing: border-box; }

/* ---------- Members menu: one level of drop-down (e.g. "New") ---------- */
.ccn-menu > li { position: relative; }
.ccn-menu .menu-item-has-children > a::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.ccn-menu .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: -12px; z-index: 50; min-width: 220px; background: var(--ccn-surface); border: 1px solid var(--ccn-line-strong); border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s; }
.ccn-menu .menu-item-has-children:hover > .sub-menu, .ccn-menu .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ccn-menu .sub-menu a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ccn-text); white-space: nowrap; }
.ccn-menu .sub-menu a:hover, .ccn-menu .sub-menu .current-menu-item > a { background: var(--ccn-bg); color: var(--ccn-gold); }
.ccn-menu .current-menu-ancestor > a { color: var(--ccn-gold); }
@media (prefers-reduced-motion: reduce) { .ccn-menu .sub-menu { transition: none; } }
@media (max-width: 720px) { .ccn-menu .sub-menu { left: auto; right: -8px; max-width: calc(100vw - 32px); } .ccn-menu .sub-menu a { white-space: normal; } }

/* ---------- Member profile: Option B, star card sidebar ---------- */
.ccn-profile { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 32px; align-items: start; }
.ccn-pcard-wrap { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 14px; }
.admin-bar .ccn-pcard-wrap { top: 56px; }
.ccn-pcard { position: relative; overflow: hidden; border-radius: 26px; border: 1px solid var(--ccn-line); background: linear-gradient(180deg, #14254A, #0F1D3D); }
.ccn-pcard__sky { position: relative; height: 150px; background: radial-gradient(ellipse at 50% 120%, rgba(242,193,78,.18), transparent 60%), var(--ccn-bg); overflow: hidden; }
.ccn-pcard__body { position: relative; margin-top: -70px; padding: 0 26px 26px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.ccn-pcard__photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; background: var(--ccn-surface); box-shadow: 0 0 0 3px var(--ccn-bg), 0 0 0 5px var(--ccn-gold), 0 0 60px rgba(242,193,78,.25); }
.ccn-profile-page .ccn-pcard__name { margin: 8px 0 0; font-family: var(--ccn-serif); font-weight: 400; font-size: 36px; line-height: 1.1; color: var(--ccn-text); }
.ccn-pcard__quote { margin: 0; font-family: var(--ccn-serif); font-style: italic; font-size: 17px; line-height: 1.45; color: var(--ccn-text-2); }
.ccn-pcard__stars { margin: 0; display: flex; justify-content: center; gap: 18px; width: 100%; padding-top: 14px; border-top: 1px solid var(--ccn-line); font-size: 15px; color: var(--ccn-text); }
.ccn-pcard__stars span { display: inline-flex; align-items: center; gap: 6px; }
.ccn-pcard .ccn-btn { width: 100%; justify-content: center; box-sizing: border-box; }
.ccn-pcard__meta { margin: 0; text-align: center; font-size: 14px; color: var(--ccn-text-3); }
.ccn-profile__main { min-width: 0; display: flex; flex-direction: column; gap: 24px; }

/* Tabs (Profile, Notifications, Groups, Settings) and the sub-tabs. */
.ccn-profile .bp-navs { background: none !important; border: 0; margin: 0; padding: 0; }
.ccn-profile .main-navs ul, .ccn-profile .bp-navs ul { display: flex; flex-wrap: wrap; gap: 28px; margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--ccn-line); background: none; }
.ccn-profile .bp-navs ul li { background: none !important; border: 0 !important; margin: 0; float: none; }
.ccn-profile .bp-navs ul li a { display: inline-flex; align-items: center; gap: 8px; padding: 14px 2px !important; color: var(--ccn-text-2) !important; background: none !important; border-bottom: 2px solid transparent; text-decoration: none; font-size: 15px; }
.ccn-profile .bp-navs ul li a:hover { color: var(--ccn-gold) !important; }
.ccn-profile .bp-navs ul li.selected a, .ccn-profile .bp-navs ul li.current a { color: var(--ccn-gold) !important; border-bottom-color: var(--ccn-gold); font-weight: 600; }
.ccn-profile .bp-navs ul li .count { background: var(--ccn-surface) !important; color: var(--ccn-text-2) !important; border: 1px solid var(--ccn-line) !important; border-radius: 999px; padding: 2px 8px; font-size: 12px; }
.ccn-profile .bp-subnavs ul, .ccn-profile #subnav ul { gap: 20px; border-bottom: 0; }
.ccn-profile .bp-subnavs ul li a, .ccn-profile #subnav ul li a { font-size: 14px; padding: 8px 0 !important; }
.ccn-profile #item-body { color: var(--ccn-text-2); }

/* Public profile cards. */
.ccn-pmain { display: flex; flex-direction: column; gap: 24px; }
.ccn-pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.ccn-pcard-section { display: flex; flex-direction: column; gap: 14px; }
.ccn-profile-page .ccn-pcard-section .ccn-h2 { font-size: 26px; color: var(--ccn-text); margin: 0; }
.ccn-pcard-section__part { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--ccn-line); padding-top: 20px; margin-top: 6px; }
.ccn-pcard-section__text { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ccn-text-2); }
.ccn-pcard-section .ccn-muted { margin: 0; }
.ccn-pfields { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 10px 20px; margin: 0; }
.ccn-pfields dt { color: var(--ccn-text-3); font-size: 15px; }
.ccn-pfields dd { margin: 0; color: var(--ccn-text); }
.ccn-pfields dd p { margin: 0; }
.ccn-pbal { display: flex; flex-direction: column; gap: 10px; padding: 16px 0 4px; border-top: 1px solid var(--ccn-line); }
.ccn-pbal__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.ccn-pbal__label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ccn-text); }
.ccn-pbal__nums { margin: 0; display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--ccn-text-3); }
.ccn-pbal__nums b { color: var(--ccn-text); }
.ccn-pchamps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.ccn-pchamps a { display: block; border-radius: 50%; }
.ccn-halo--md { width: 52px; height: 52px; }
.ccn-pchamps a:hover .ccn-halo { box-shadow: 0 0 0 2px var(--ccn-bg), 0 0 0 3px var(--ccn-gold), 0 0 24px rgba(242,193,78,.35); }
.ccn-pchamps__count { font-size: 14px; }
.ccn-pchamps__link { font-size: 15px; }

@media (max-width: 900px) {
	.ccn-profile { grid-template-columns: 1fr; }
	.ccn-pcard-wrap { position: static; }
	.ccn-pfields { grid-template-columns: 1fr; gap: 4px; }
	.ccn-pfields dd { margin-bottom: 10px; }
}
.ccn-profile .bp-navs, .ccn-profile .bp-subnavs, .ccn-profile .single-screen-navs { box-shadow: none !important; border: 0 !important; background: transparent !important; }
.ccn-profile .profile.public { display: flex; flex-direction: column; gap: 24px; }
.ccn-profile .mycred-users-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; background: var(--ccn-surface); border: 1px solid var(--ccn-line); border-radius: var(--ccn-radius); padding: 24px 28px; }
.ccn-profile .mycred-users-badges::before { content: "Badges"; flex-basis: 100%; font-family: var(--ccn-serif); font-size: 26px; color: var(--ccn-text); }
.ccn-profile .mycred-users-badges .the-badge { margin: 0; }
.ccn-profile .mycred-users-badges img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }

/* ---------- Circle of Spheres 3 (lightning and face morphs) ---------- */
.ccn-s3-looks { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; }
.ccn-s3-looks a { display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; border: 1.5px solid var(--ccn-line-strong); border-radius: 16px; color: var(--ccn-text); text-decoration: none; min-width: 180px; }
.ccn-s3-looks a span { font-size: 14px; color: var(--ccn-text-3); }
.ccn-s3-looks a:hover { border-color: var(--ccn-gold); color: var(--ccn-text); }
.ccn-s3-looks a[aria-current="true"] { border-color: var(--ccn-gold); background: rgba(242,193,78,.08); }
.ccn-s3-looks a[aria-current="true"] strong { color: var(--ccn-gold); }
.ccn-s3 .ccn-spheres__stage-wrap { overflow: visible; }
.ccn-s3__sky-wrap { position: relative; width: min(640px, 100%); aspect-ratio: 1 / 1; }
.ccn-s3__sky { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); }
.ccn-s3__stage.ccn-spheres__stage { position: absolute; inset: 0; width: 100%; }
.ccn-s3__morph { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.ccn-s3-orb { position: absolute; z-index: 2; transform: translate(-50%, -50%); aspect-ratio: 1 / 1; border-radius: 50%; border: 0; padding: 0; margin: 0; overflow: hidden; background: transparent; cursor: pointer; box-shadow: 0 0 24px rgba(111,160,230,.18); transition: box-shadow .4s ease; }
.ccn-s3-orb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .62; transition: opacity .35s ease; }
.ccn-s3-orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.4) 0%, rgba(255,255,255,0) 40%, rgba(11,22,48,.5) 100%); pointer-events: none; }
.ccn-s3-orb--center { cursor: default; box-shadow: 0 0 0 4px var(--ccn-bg), 0 0 0 7px var(--ccn-gold), 0 0 70px rgba(111,160,230,.4); }
.ccn-s3-orb--center img { opacity: 1; }
.ccn-s3-orb:not(.ccn-s3-orb--center):not(.is-empty):hover, .ccn-s3-orb:not(.ccn-s3-orb--center):focus-visible { box-shadow: 0 0 0 3px var(--ccn-gold), 0 0 32px rgba(242,193,78,.45); outline: none; }
.ccn-s3-orb:not(.ccn-s3-orb--center):not(.is-empty):hover img, .ccn-s3-orb:focus-visible img { opacity: 1; }
.ccn-s3-orb.is-empty { cursor: default; box-shadow: none; }
.ccn-s3-orb.is-morphing img { opacity: 0 !important; transition: none; }
.ccn-s3-orb.is-fading img { opacity: 0; transition: opacity .2s ease; }
.ccn-s3-orb:disabled { opacity: 1; }
.ccn-s3 .ccn-spheres__info { transition: opacity .22s ease, transform .22s ease; }
.ccn-s3 .ccn-spheres__info.is-changing { opacity: 0; transform: translateY(6px); }
.ccn-s3 .ccn-spheres2__empty { z-index: 3; }
@media (prefers-reduced-motion: reduce) { .ccn-s3 .ccn-spheres__info { transition: none; } }
@media (max-width: 640px) { .ccn-s3-looks { gap: 8px; } .ccn-s3-looks a { flex: 1 1 0; min-width: 0; padding: 10px 12px; } .ccn-s3-looks a strong { font-size: 14px; } .ccn-s3-looks a span { font-size: 12px; } }
.ccn-s3-orb { left: 0; top: 0; will-change: transform; }

/* Wishlist needs: outlined chips in green, beside gold Offerings. */
.ccn-chip--need { background: transparent; border: 1px dashed var(--ccn-green); color: var(--ccn-green); }

/* Circles directory: filter by circle. */
.ccn-cfilter { width: 100%; margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.ccn-gallery .ccn-cfilter .ccn-cfilter__btn { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; height: 44px; border-radius: 999px; border: 1.5px solid var(--ccn-line-strong); background: rgba(11,22,48,.55); color: var(--ccn-text-2); font: 600 15px/1 var(--ccn-sans); cursor: pointer; min-height: 0; margin: 0; text-transform: none; letter-spacing: normal; text-shadow: none; box-shadow: none; width: auto; transition: border-color .15s, background .15s, color .15s; }
.ccn-gallery .ccn-cfilter .ccn-cfilter__btn:hover { border-color: var(--ccn-gold); color: var(--ccn-text); }
.ccn-gallery .ccn-cfilter .ccn-cfilter__btn[aria-pressed="true"] { background: var(--ccn-gold); border-color: var(--ccn-gold); color: var(--ccn-bg); box-shadow: 0 0 0 4px rgba(242,193,78,.18), 0 0 22px rgba(242,193,78,.35); }
.ccn-cfilter__mark { flex: none; color: var(--ccn-gold); }
.ccn-gallery .ccn-cfilter .ccn-cfilter__btn[aria-pressed="true"] .ccn-cfilter__mark { color: var(--ccn-bg); }
.ccn-cfilter__n { font-weight: 500; font-size: 13px; opacity: .75; padding-left: 2px; }
.ccn-cfilter__pick { position: relative; display: inline-block; margin: 0; }
.ccn-cfilter__pick::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--ccn-text-2); border-bottom: 1.5px solid var(--ccn-text-2); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.ccn-gallery .ccn-cfilter .ccn-cfilter__pick select { -webkit-appearance: none; appearance: none; height: 44px; min-width: 240px; max-width: 100%; margin: 0; padding: 0 44px 0 18px; border-radius: 999px; border: 1.5px solid var(--ccn-line-strong); background: rgba(11,22,48,.55); color: var(--ccn-text-2); font: 600 15px/1 var(--ccn-sans); cursor: pointer; box-shadow: none; }
.ccn-gallery .ccn-cfilter .ccn-cfilter__pick select:hover, .ccn-gallery .ccn-cfilter .ccn-cfilter__pick select:focus { border-color: var(--ccn-gold); color: var(--ccn-text); outline: none; }
.ccn-gallery .ccn-cfilter .ccn-cfilter__pick.is-active select { border-color: var(--ccn-gold); color: var(--ccn-gold); }
.ccn-gallery .ccn-cfilter .ccn-cfilter__pick select option { background: var(--ccn-surface); color: var(--ccn-text); }
@media (max-width: 480px) { .ccn-cfilter__pick, .ccn-gallery .ccn-cfilter .ccn-cfilter__pick select { min-width: 0; width: 100%; } }

/* Header Admin drop-down (Manage Stars, Manage Tokens, Balance & Thresholds, History) */
.ccn-admin-menu .ccn-admin-link { color: var(--ccn-gold); padding: 8px 14px; font-size: 14px; }
.ccn-admin-menu .ccn-admin-link::after { border-color: currentColor; }
.ccn-admin-menu .sub-menu { left: auto; right: 0; }
/* BuddyPress forces square selects; keep the circle picker a pill */
body #buddypress .ccn-cfilter .ccn-cfilter__pick select, .ccn-gallery .ccn-cfilter .ccn-cfilter__pick select { border-radius: 999px !important; height: 44px !important; padding: 0 44px 0 18px !important; background-image: none !important; }

/* Dashboard: Recent activity from star line items */
.ccn-recent { width: 100%; border-collapse: collapse; font-size: 15px; }
.ccn-recent th { text-align: left; font-weight: 600; color: var(--ccn-text); padding: 10px; border-bottom: 1px solid var(--ccn-line); }
.ccn-recent td { padding: 12px 10px; border-bottom: 1px solid var(--ccn-line); color: var(--ccn-text-2); vertical-align: top; }
.ccn-recent__n { text-align: right; white-space: nowrap; font-weight: 600; color: var(--ccn-text); }
.ccn-recent__dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }

/* Star Exchange: My history period filter + anchor from dashboard */
#my-history { scroll-margin-top: 90px; }
.ccn-hist__sum { margin: 0; font-size: 14px; }
.ccn-link { color: var(--ccn-gold); font-weight: 600; text-decoration: none; }
.ccn-link:hover { text-decoration: underline; }

/* ---------- Edit my Profile: beat BuddyPress's light field boxes ---------- */
body .buddypress-wrap .profile.edit .editfield, body .buddypress-wrap .profile.edit .editfield.alt, body .buddypress-wrap .profile.edit .editfield:hover { background: var(--ccn-surface-2); border: 1px solid var(--ccn-line); border-radius: 16px; padding: 20px; margin-bottom: 16px; color: var(--ccn-text); }
body .buddypress-wrap .profile.edit .editfield legend { color: var(--ccn-text); font-weight: 600; font-size: 16px; margin-bottom: 8px; }
body .buddypress-wrap .profile.edit .editfield p.description { background: transparent; color: var(--ccn-text-2); font-size: 15px; line-height: 1.55; margin: 8px 0 0; }
body .buddypress-wrap .profile.edit .field-visibility-settings-header, body .buddypress-wrap .profile.edit .field-visibility-settings-notoggle, body .buddypress-wrap .profile.edit .field-visibility-settings-toggle { color: var(--ccn-text-3); font-size: 13px; font-style: normal; margin-top: 10px; }
body .buddypress-wrap .profile.edit .current-visibility-level { color: var(--ccn-text-2); font-weight: 600; }
body .buddypress-wrap .profile.edit .visibility-toggle-link, body .buddypress-wrap .profile.edit .field-visibility-settings-close { background: transparent; border: 1px solid var(--ccn-line-strong); color: var(--ccn-gold); border-radius: 999px; padding: 4px 12px; font-size: 13px; box-shadow: none; text-shadow: none; }
body .buddypress-wrap .profile.edit .field-visibility-settings { background: var(--ccn-bg); border: 1px solid var(--ccn-line); border-radius: 12px; padding: 12px 16px; margin-top: 10px; color: var(--ccn-text); }
body .buddypress-wrap .profile.edit .field-visibility-settings legend, body .buddypress-wrap .profile.edit .field-visibility-settings label { color: var(--ccn-text); font-size: 14px; font-weight: 400; }
body .buddypress-wrap .profile.edit h2, body .buddypress-wrap .profile.edit h3 { color: var(--ccn-text); }
body .buddypress-wrap .standard-form input[type="submit"], body .buddypress-wrap #profile-group-edit-submit { background: var(--ccn-gold); color: var(--ccn-bg); border: 0; border-radius: 999px; padding: 12px 28px; font: 600 16px/1 var(--ccn-sans); cursor: pointer; box-shadow: none; text-shadow: none; }
body .buddypress-wrap .standard-form input[type="submit"]:hover { background: var(--ccn-gold-hover, #F6CF6B); }
body .buddypress-wrap .profile.edit .button-nav a, body .buddypress-wrap .profile.edit ul.button-tabs a { color: var(--ccn-text-2); }

/* ---------- Member profile tabs: more space, and a divider in the sub-tabs ---------- */
body .buddypress-wrap #object-nav.bp-navs ul { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
body .buddypress-wrap #subnav.bp-navs ul.subnav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; }
body .buddypress-wrap #subnav.bp-navs ul.subnav li { display: inline-flex; align-items: center; margin: 0; }
body .buddypress-wrap #subnav.bp-navs ul.subnav li + li::before { content: "|"; color: var(--ccn-line-strong); padding: 0 14px; font-weight: 400; }
body .buddypress-wrap #object-nav.bp-navs #member-primary-nav > li { margin-right: 26px !important; }
body .buddypress-wrap #object-nav.bp-navs #member-primary-nav > li:last-child { margin-right: 0 !important; }

/* ---------- My dashboard: avatar + profile links beside the greeting ---------- */
.ccn-dash-me { display: flex; align-items: center; gap: 22px; }
.ccn-dash-me__halo { flex: none; display: block; width: 96px; height: 96px; border-radius: 50%; padding: 3px; background: var(--ccn-gold); box-shadow: 0 0 0 6px rgba(242,193,78,.12), 0 0 28px rgba(242,193,78,.35); transition: box-shadow .2s, transform .2s; }
.ccn-dash-me__halo img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--ccn-bg); box-sizing: border-box; }
.ccn-dash-me__halo:hover, .ccn-dash-me__halo:focus-visible { transform: scale(1.03); box-shadow: 0 0 0 8px rgba(242,193,78,.18), 0 0 36px rgba(242,193,78,.5); }
.ccn-dash-me__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 12px 0 0; }
.ccn-dash-me__links a { display: inline-flex; align-items: center; gap: 7px; color: var(--ccn-text-2); text-decoration: none; font-size: 15px; font-weight: 600; padding: 6px 14px; border: 1px solid var(--ccn-line-strong); border-radius: 999px; transition: color .15s, border-color .15s; }
.ccn-dash-me__links a:hover, .ccn-dash-me__links a:focus-visible { color: var(--ccn-gold); border-color: var(--ccn-gold); }
@media (max-width: 560px) { .ccn-dash-me { gap: 16px; } .ccn-dash-me__halo { width: 72px; height: 72px; } }
@media (prefers-reduced-motion: reduce) { .ccn-dash-me__halo { transition: none; } }

/* ---------- Install-the-app card (My dashboard) + sign-in code ---------- */
.ccn-appcard { display: flex; align-items: flex-start; gap: 18px; margin: -12px 0 36px; border-color: rgba(242,193,78,.35); }
.ccn-appcard[hidden] { display: none; }
.ccn-appcard img { flex: none; border-radius: 14px; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.ccn-appcard h2 { font-size: 19px; font-weight: 600; margin: 0 0 6px; }
.ccn-appcard p { margin: 0; color: var(--ccn-text-2); line-height: 1.55; }
.ccn-appcard__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.ccn-magic__code { margin: 22px 0 6px; }
.ccn-magic__code label { display: block; font-weight: 600; color: var(--ccn-text); margin-bottom: 8px; }
.ccn-magic__code-row { display: flex; gap: 10px; }
.ccn-magic__code-row input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--ccn-line-strong); background: var(--ccn-bg); color: var(--ccn-text); font: 600 22px/1 var(--ccn-sans); letter-spacing: .3em; }
.ccn-magic__code-row input:focus { border-color: var(--ccn-gold); outline: none; }
/* Sign-in code: code box on its own full-width line, Sign in button below */
.ccn-magic__code-row { flex-direction: column; gap: 12px; }
.ccn-magic__code-row input { width: 100%; box-sizing: border-box; height: 60px; font-size: 26px; text-align: center; letter-spacing: .4em; padding: 0 12px; }
.ccn-magic__code-row .ccn-btn { width: 100%; justify-content: center; text-align: center; }

#empowerment-circle, #championship-circle { scroll-margin-top: 100px; }

/* ---------- Events & Space ---------- */
.ccn-events__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.ccn-events__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ccn-events__actions .ccn-btn { display: inline-flex; align-items: center; gap: 8px; }
.ccn-events__views { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.ccn-events__frame { background: #fff; border-radius: 20px; padding: 10px; border: 1px solid var(--ccn-line-strong); box-shadow: 0 20px 50px rgba(0,0,0,.35), 0 0 0 6px rgba(242,193,78,.06); }
.ccn-events__frame iframe { display: block; width: 100%; height: 720px; border: 0; border-radius: 12px; }
.ccn-events__how { margin-top: 24px; }
.ccn-events__how h2 { font-size: 20px; font-weight: 600; margin: 0 0 8px; }
.ccn-events__how p { color: var(--ccn-text-2); line-height: 1.6; }
@media (max-width: 640px) { .ccn-events__frame { padding: 6px; border-radius: 16px; } .ccn-events__frame iframe { height: 600px; } .ccn-events__actions { width: 100%; } .ccn-events__actions .ccn-btn { flex: 1 1 auto; justify-content: center; } }

/* ---------- Offerings & Wishlist editor (page + My Dashboard 2) ---------- */
.ccn-offw { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; align-items: start; }
.ccn-offw .ccn-card h2 { margin: 0 0 6px; }
.ccn-offw .ccn-card > p { margin: 0 0 18px; }
.ccn-offw__save { margin-top: 28px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.ccn-offw__note { padding: 12px 16px; border-radius: 12px; border: 1px solid var(--ccn-green); color: var(--ccn-green); margin: 0 0 24px; }

/* ---------- My Dashboard 2: stacked sections ---------- */
.ccn-dash2__section { margin: 0 0 56px; scroll-margin-top: 90px; }
.ccn-dash2__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin: 0 0 18px; }
.ccn-dash2__head h2 { font-family: var(--ccn-serif); font-weight: 500; font-size: 30px; margin: 0; }
.ccn-dash2__head p { margin: 6px 0 0; color: var(--ccn-text-2); max-width: 640px; }
.ccn-dash2__more { color: var(--ccn-gold); font-weight: 600; text-decoration: none; font-size: 15px; white-space: nowrap; }
.ccn-dash2__more:hover { text-decoration: underline; }
.ccn-dash2__section + .ccn-dash2__section { border-top: 1px solid var(--ccn-line); padding-top: 48px; }

/* Circles directory: admin-only sort and filter */
.ccn-afilter { margin-top: 10px; }
.ccn-afilter__tag { font: 700 11px/1 var(--ccn-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ccn-gold); border: 1px solid rgba(242,193,78,.45); border-radius: 999px; padding: 6px 10px; }
.ccn-gallery .ccn-afilter .ccn-cfilter__pick select { min-width: 220px; }
.ccn-gcard__seen { display: block; margin-top: 4px; font-size: 12px; color: var(--ccn-text-3, #8C9AB5); }

/* Star Exchange → My history: circle multi-select */
.ccn-cpick { position: relative; }
.ccn-cpick > summary { list-style: none; gap: 10px; }
.ccn-cpick > summary::-webkit-details-marker { display: none; }
.ccn-cpick__chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.ccn-cpick__menu { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; min-width: 260px; padding: 8px; background: var(--ccn-surface); border: 1px solid var(--ccn-line-strong); border-radius: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.4); display: flex; flex-direction: column; gap: 2px; }
.ccn-cpick__opt { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border-radius: 10px; cursor: pointer; color: var(--ccn-text); }
.ccn-cpick__opt:hover { background: var(--ccn-surface-2); }
.ccn-cpick__opt input { width: 18px; height: 18px; accent-color: var(--ccn-gold); margin: 0; }
.ccn-cpick__dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.ccn-cpick__clear { margin-top: 4px; min-height: 40px; border: 0; border-top: 1px solid var(--ccn-line); background: none; color: var(--ccn-gold); font: 600 14px var(--ccn-sans); cursor: pointer; text-align: left; padding: 0 10px; }

/* Recognize Contribution */
.ccn-rec { display: flex; flex-direction: column; gap: 24px; }
.ccn-rec__tabs { margin-top: 4px; }
.ccn-rec input[type="date"] { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; background: var(--ccn-bg); color: var(--ccn-text); border: 1.5px solid var(--ccn-line-strong); font: 16px var(--ccn-sans); color-scheme: dark; box-sizing: border-box; }
.ccn-rec textarea { min-height: 84px; }
.ccn-rec__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.ccn-rec__wide { grid-column: 1 / -1; }
.ccn-rec__field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; }
.ccn-rec__field > label, .ccn-rec__fs legend, .ccn-rec__label { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ccn-text); padding: 0; }
.ccn-rec__field select, .ccn-rec__field input[type="text"], .ccn-rec__field textarea { width: 100%; box-sizing: border-box; }
.ccn-rec__step { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--ccn-gold); color: var(--ccn-bg); font-size: 14px; font-weight: 700; }
.ccn-rec__opt { font-weight: 400; color: var(--ccn-text-3); }
.ccn-rec__help { font-size: 14px; color: var(--ccn-text-3); }
.ccn-rec__row { display: flex; gap: 8px; }
.ccn-rec__row select { flex: 1; min-width: 0; }
.ccn-rec__me { flex: none; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--ccn-line-strong); background: transparent; color: var(--ccn-text); font: 600 15px var(--ccn-sans); cursor: pointer; }
.ccn-rec__me:hover { border-color: var(--ccn-gold); color: var(--ccn-gold); }
.ccn-rec__fs { border: 0; padding: 0; margin: 0; min-width: 0; }
.ccn-rec__fs legend { margin-bottom: 10px; }
.ccn-rec__mags { display: flex; flex-wrap: wrap; gap: 10px; }
.ccn-rec__mags label { position: relative; cursor: pointer; }
.ccn-rec__mags input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ccn-rec__mags span { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 48px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--ccn-line-strong); font-weight: 600; font-size: 17px; box-sizing: border-box; }
.ccn-rec__mags input:checked + span { background: var(--ccn-gold); border-color: var(--ccn-gold); color: var(--ccn-bg); box-shadow: 0 0 0 4px rgba(242,193,78,.18); }
.ccn-rec__mags input:focus-visible + span { outline: 2px solid var(--ccn-gold); outline-offset: 3px; }
.ccn-rec__more summary, .ccn-rec__paste summary, .ccn-rec__howto summary { cursor: pointer; font-weight: 600; min-height: 32px; display: flex; align-items: center; gap: 8px; }
.ccn-rec__grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin-top: 14px; }
.ccn-rec__confirm { display: flex; align-items: center; gap: 10px; color: var(--ccn-text); }
.ccn-rec__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.ccn-rec__notice { padding: 16px 20px; border-radius: 14px; border: 1px solid var(--ccn-line-strong); background: var(--ccn-surface-2); }
.ccn-rec__notice.is-ok { border-color: var(--ccn-green); }
.ccn-rec__notice.is-error { border-color: #F2A65A; background: rgba(242,166,90,.08); }
.ccn-rec__notice.is-warn { border-color: var(--ccn-gold); background: rgba(242,193,78,.08); }
.ccn-rec__notice.is-info { border-color: #8FD0FF; }
.ccn-rec__saved { display: flex; flex-direction: column; gap: 14px; border-color: var(--ccn-gold); }
.ccn-rec__saved .ccn-h2 { display: flex; align-items: center; gap: 10px; }
.ccn-rec__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ccn-rec__chip { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ccn-line-strong); color: var(--ccn-text); cursor: pointer; }
.ccn-rec__chip:has(input:checked) { border-color: var(--ccn-gold); background: rgba(242,193,78,.1); }
.ccn-rec__chip.is-off { opacity: .6; cursor: not-allowed; }
.ccn-rec__chip.is-static { min-height: 30px; padding: 0 12px; font-size: 14px; cursor: default; }
.ccn-rec__chip small { color: var(--ccn-text-3); }
.ccn-rec__dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.ccn-rec__plain { margin-left: 14px; }
.ccn-rec__feed { display: flex; flex-direction: column; gap: 14px; }
.ccn-rec__post { display: flex; gap: 18px; align-items: flex-start; padding: 20px 24px; }
.ccn-rec__mag { flex: none; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-width: 40px; }
.ccn-rec__mag strong { color: var(--ccn-text); font-size: 15px; }
.ccn-rec__meta { margin: 6px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; color: var(--ccn-text-3); }
.ccn-rec__draft { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 20px 22px; }
.ccn-rec__draft.is-dup { border-color: rgba(242,193,78,.6); }
.ccn-rec__draft.is-fix { border-color: rgba(242,166,90,.6); }
.ccn-rec__draft-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.ccn-rec__badge { display: inline-block; padding: 3px 10px; margin-right: 8px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--ccn-line-strong); color: var(--ccn-text); }
.ccn-rec__badge.is-ready { background: #8FD0FF; color: var(--ccn-bg); }
.ccn-rec__badge.is-dup { background: var(--ccn-gold); color: var(--ccn-bg); }
.ccn-rec__badge.is-fix { background: #F2A65A; color: var(--ccn-bg); }
.ccn-rec__err { color: #FFC2A8; font-size: 15px; }
.ccn-rec__h3 { margin: 0; font-family: var(--ccn-serif); font-weight: 400; font-size: 20px; }
.ccn-rec__ol { margin: 0; padding-left: 20px; color: var(--ccn-text-2); display: flex; flex-direction: column; gap: 6px; }
.ccn-rec__code { display: block; margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: var(--ccn-bg); color: var(--ccn-gold); font-size: 13px; word-break: break-all; }
.ccn-rec__script { width: 100%; box-sizing: border-box; font: 13px/1.5 Menlo, Consolas, monospace; min-height: 300px; }
.ccn-xchg__recognize { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; }
@media (max-width: 720px) {
	.ccn-rec__form, .ccn-rec__grid2 { grid-template-columns: minmax(0, 1fr); }
	.ccn-rec__draft { grid-template-columns: 24px minmax(0, 1fr); }
	.ccn-rec__draft-actions { grid-column: 2; justify-content: flex-start; }
}

/* Feedback */
.ccn-fb { display: flex; flex-direction: column; gap: 24px; }
.ccn-fb__types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ccn-fb__choice { position: relative; cursor: pointer; }
.ccn-fb__choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ccn-fb__choice span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--ccn-line-strong); box-sizing: border-box; }
.ccn-fb__choice small { color: var(--ccn-text-3); font-size: 14px; }
.ccn-fb__choice input:checked + span { border-color: var(--ccn-gold); background: rgba(242,193,78,.1); box-shadow: 0 0 0 4px rgba(242,193,78,.14); }
.ccn-fb__choice input:focus-visible + span { outline: 2px solid var(--ccn-gold); outline-offset: 3px; }
.ccn-fb__file { color: var(--ccn-text-2); font: 15px var(--ccn-sans); min-height: 48px; }
.ccn-fb__file::file-selector-button { margin-right: 12px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ccn-line-strong); background: transparent; color: var(--ccn-text); font: 600 15px var(--ccn-sans); cursor: pointer; }
.ccn-fb__item { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px; }
.ccn-fb__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.ccn-fb__when { font-size: 14px; }
.ccn-fb__type, .ccn-fb__status { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.ccn-fb__type { border: 1px solid var(--ccn-line-strong); color: var(--ccn-text); }
.ccn-fb__type.is-bug { border-color: #F2A65A; color: #FFC2A8; }
.ccn-fb__type.is-feature { border-color: #8FD0FF; color: #BFE6FF; }
.ccn-fb__type.is-improvement { border-color: var(--ccn-gold); color: var(--ccn-gold); }
.ccn-fb__status.is-new { background: var(--ccn-gold); color: var(--ccn-bg); }
.ccn-fb__status.is-planned { background: #8FD0FF; color: var(--ccn-bg); }
.ccn-fb__status.is-done { background: var(--ccn-green); color: var(--ccn-bg); }
.ccn-fb__status.is-wont { background: var(--ccn-line-strong); color: var(--ccn-text); }
.ccn-fb__title { margin: 0; font-family: var(--ccn-serif); font-weight: 400; font-size: 22px; }
.ccn-fb__details { margin: 0; color: var(--ccn-text-2); }
.ccn-fb__links { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 15px; }
.ccn-fb__shot img { display: block; max-width: 220px; max-height: 140px; border-radius: 10px; border: 1px solid var(--ccn-line-strong); }
.ccn-fb__reply { padding: 12px 16px; border-radius: 12px; background: var(--ccn-surface-2); border: 1px solid var(--ccn-line-strong); display: flex; flex-direction: column; gap: 4px; }
.ccn-fb__lbl { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ccn-text-3); font-weight: 600; }
.ccn-fb__admin { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--ccn-line); }
.ccn-fb__admin select { max-width: 260px; }
.ccn-fb__row { display: flex; gap: 12px; align-items: center; }
.ccn-fb__del { align-self: flex-end; margin-top: -48px; }
.ccn-fb__filters { display: flex; flex-wrap: wrap; gap: 10px; }
.ccn-fb__filters select { width: auto; min-width: 200px; }
@media (max-width: 720px) {
	.ccn-fb__types { grid-template-columns: minmax(0, 1fr); }
	.ccn-fb__del { margin-top: 0; align-self: flex-start; }
}

/* ------------------------------------------------------------------ */
/* Manage Tokens on the members' site (page-templates/manage-tokens.php). */
/* The page reuses the WP Admin markup, so its classes are styled here.  */
/* ------------------------------------------------------------------ */
.ccn-mtf { display: flex; flex-direction: column; gap: 24px; }
.ccn-mtf__body { display: flex; flex-direction: column; gap: 20px; }
.ccn-mtf .ccn-ms-card { background: var(--ccn-surface); border: 1px solid var(--ccn-line); border-radius: var(--ccn-radius); padding: 24px 26px; margin: 0; overflow-x: auto; }
.ccn-mtf .ccn-ms-card h2 { font-family: var(--ccn-serif); font-weight: 400; font-size: 26px; margin: 0 0 14px; color: var(--ccn-text); }
.ccn-mtf .ccn-ms-card h3 { font-family: var(--ccn-serif); font-weight: 400; font-size: 21px; margin: 0 0 12px; color: var(--ccn-text); }
.ccn-mtf details.ccn-ms-card > summary { font-family: var(--ccn-serif); font-size: 24px !important; font-weight: 400 !important; color: var(--ccn-gold); list-style-position: inside; }
.ccn-mtf a:not(.ccn-filter):not(.button):not(.ccn-btn) { color: var(--ccn-gold); }
/* Form layout */
.ccn-mtf .ccn-ms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px 22px; }
.ccn-mtf .ccn-ms-wide { grid-column: 1 / -1; }
.ccn-mtf .ccn-ms-grid label, .ccn-mtf .ccn-mt-field > label, .ccn-mtf .ccn-mt-field > span[id] { display: block; font-weight: 600; color: var(--ccn-text); margin-bottom: 6px; }
.ccn-mtf .ccn-mt-field { margin: 0 0 14px; }
.ccn-mtf .ccn-ms-grid select, .ccn-mtf .ccn-ms-grid input[type="text"], .ccn-mtf .ccn-ms-grid input[type="date"], .ccn-mtf .ccn-ms-grid textarea,
.ccn-mtf .ccn-mt-field select, .ccn-mtf .ccn-mt-field input[type="text"], .ccn-mtf .ccn-mt-field input[type="date"], .ccn-mtf .ccn-mt-field textarea { width: 100%; max-width: none; box-sizing: border-box; }
.ccn-mtf input[type="date"] { background: var(--ccn-surface-2); color: var(--ccn-text); border: 1.5px solid var(--ccn-line-strong); border-radius: 12px; padding: 10px 12px; font: 16px var(--ccn-sans); color-scheme: dark; }
.ccn-mtf textarea { min-height: 72px; }
.ccn-mtf select:disabled { opacity: .6; }
/* One type-or-pick box for choosing a person (option C). */
.ccn-mtf .ccn-combo { position: relative; }
.ccn-mtf .ccn-combo__field { display: flex; align-items: center; background: var(--ccn-surface-2); border: 1.5px solid var(--ccn-line-strong); border-radius: 12px; }
.ccn-mtf .ccn-combo.is-open .ccn-combo__field, .ccn-mtf .ccn-combo__field:focus-within { border-color: var(--ccn-gold); }
.ccn-mtf .ccn-combo__input { flex: 1; min-width: 0; width: 100%; background: transparent !important; border: 0 !important; box-shadow: none !important; outline: none; color: var(--ccn-text); font: 16px var(--ccn-sans); padding: 11px 4px 11px 14px; margin: 0; }
.ccn-mtf .ccn-combo__input::placeholder { color: var(--ccn-text-3); }
.ccn-mtf .ccn-combo__btn { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none !important; border: 0 !important; min-height: 0 !important; padding: 0 !important; color: var(--ccn-text); cursor: pointer; border-radius: 0 12px 12px 0; }
.ccn-mtf .ccn-combo.is-open .ccn-combo__btn svg { transform: rotate(180deg); }
.ccn-mtf .ccn-combo__list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); max-height: 300px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: #0F1D40; border: 1px solid var(--ccn-line-strong); border-radius: 12px; box-shadow: 0 14px 34px rgba(0,0,0,.45); }
.ccn-mtf .ccn-combo__list[hidden] { display: none; }
.ccn-mtf .ccn-combo__group { margin: 8px 10px 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ccn-gold); }
.ccn-mtf .ccn-combo__group.is-muted { color: var(--ccn-text-3); }
.ccn-mtf .ccn-combo__group.is-empty { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 15px; color: var(--ccn-text-3); }
.ccn-mtf .ccn-combo__opt { display: flex; justify-content: space-between; gap: 12px; padding: 9px 10px; border-radius: 8px; font-size: 15px; color: var(--ccn-text); cursor: pointer; }
.ccn-mtf .ccn-combo__opt strong { color: var(--ccn-gold); font-weight: 700; }
.ccn-mtf .ccn-combo__opt.is-active, .ccn-mtf .ccn-combo__opt:hover { background: rgba(242,193,78,.14); }
.ccn-mtf .ccn-combo__opt[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--ccn-gold); }
.ccn-mtf .ccn-combo__count { flex: none; font-size: 13px; color: var(--ccn-text-3); }
.ccn-mtf .ccn-combo__native { position: absolute !important; left: 12px; bottom: 0; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; overflow: hidden; }
.ccn-mtf .ccn-mt-help, .ccn-mtf .ccn-ms-note, .ccn-mtf .ccn-ms-sum { display: block; font-size: 14px; color: var(--ccn-text-3); margin-top: 4px; }
.ccn-mtf .ccn-ms-sum { margin: 8px 0; }
.ccn-mtf .ccn-ms-mags { display: flex; flex-wrap: wrap; gap: 8px; }
.ccn-mtf .ccn-ms-mags label { position: relative; margin: 0; font-weight: 500; cursor: pointer; }
.ccn-mtf .ccn-ms-mags input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ccn-mtf .ccn-ms-mags span { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 42px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--ccn-line-strong); background: transparent; color: var(--ccn-text); font-weight: 600; box-sizing: border-box; }
.ccn-mtf .ccn-ms-mags input:checked + span { background: var(--ccn-gold); border-color: var(--ccn-gold); color: var(--ccn-bg); }
.ccn-mtf .ccn-ms-mags input:focus-visible + span { outline: 2px solid var(--ccn-gold); outline-offset: 3px; }
.ccn-mtf [data-ccn-item-fields] { border-left: 3px solid var(--ccn-line-strong) !important; }
/* Buttons (WP Admin classes) */
.ccn-mtf .button, .ccn-mtf input[type="submit"], .ccn-mtf button[type="submit"]:not(.button-link) { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--ccn-line-strong); background: transparent; color: var(--ccn-text); font: 600 15px/1 var(--ccn-sans); text-decoration: none; cursor: pointer; }
.ccn-mtf .button:hover, .ccn-mtf input[type="submit"]:hover, .ccn-mtf button[type="submit"]:not(.button-link):hover { background: var(--ccn-surface-2); color: var(--ccn-text); }
.ccn-mtf .button-primary, .ccn-mtf input[type="submit"].button-primary, .ccn-mtf button.button-primary { background: var(--ccn-gold); border-color: var(--ccn-gold); color: var(--ccn-bg); }
.ccn-mtf .button-primary:hover, .ccn-mtf input[type="submit"].button-primary:hover { background: var(--ccn-gold-hover); border-color: var(--ccn-gold-hover); color: var(--ccn-bg); }
.ccn-mtf .button-primary:disabled { opacity: .5; cursor: not-allowed; }
.ccn-mtf .button-small { min-height: 34px; padding: 0 14px; font-size: 14px; }
.ccn-mtf .button-link { background: none; border: 0; padding: 0; color: var(--ccn-gold); font: inherit; cursor: pointer; text-decoration: underline; }
.ccn-mtf .dashicons { font-size: 18px; width: 18px; height: 18px; }
/* Filters */
.ccn-mtf .ccn-ms-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin: 12px 0 14px; }
.ccn-mtf .ccn-ms-filters > div { min-width: 150px; }
.ccn-mtf .ccn-ms-filters label { display: block; font-size: 13px; color: var(--ccn-text-3); margin-bottom: 4px; }
.ccn-mtf .ccn-ms-filters select, .ccn-mtf .ccn-ms-filters input { padding: 8px 12px; font-size: 15px; }
/* Tables */
.ccn-mtf .widefat { width: 100%; border-collapse: collapse; font-size: 15px; background: transparent; border: 0; }
.ccn-mtf .widefat th, .ccn-mtf .widefat td { text-align: left; padding: 11px 10px; border-top: 1px solid var(--ccn-line); color: var(--ccn-text-2); vertical-align: top; }
.ccn-mtf .widefat thead th, .ccn-mtf .widefat thead td { background: var(--ccn-surface-2); color: var(--ccn-text-3); font-weight: 600; border-top: 0; }
.ccn-mtf .widefat.striped tbody tr:nth-child(odd) { background: rgba(255,255,255,.025); }
.ccn-mtf .widefat .check-column { width: 36px; }
.ccn-mtf .widefat input[type="checkbox"] { width: 18px; height: 18px; margin: 0; }
.ccn-mtf .row-actions { margin-top: 4px; color: var(--ccn-text-3); }
.ccn-mtf .tablenav { margin: 10px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ccn-mtf .tablenav .page-numbers { display: inline-flex; min-width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--ccn-line-strong); color: var(--ccn-text); text-decoration: none; margin-right: 4px; }
.ccn-mtf .tablenav .page-numbers.current { background: var(--ccn-gold); color: var(--ccn-bg); border-color: var(--ccn-gold); }
/* Token bits */
.ccn-mtf .ccn-mt-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: #fff; background: var(--c); }
.ccn-mtf .ccn-mt-code { font-family: Menlo, Consolas, monospace; font-size: 15px; letter-spacing: .06em; }
.ccn-mtf .ccn-mt-dl { display: grid; grid-template-columns: 170px 1fr; gap: 8px 16px; margin: 0; }
.ccn-mtf .ccn-mt-dl dt { color: var(--ccn-text-3); }
.ccn-mtf .ccn-mt-dl dd { margin: 0; color: var(--ccn-text); }
.ccn-mtf .ccn-mt-actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
/* Notices (WP Admin classes) */
.ccn-mtf .notice { padding: 14px 18px; border-radius: 14px; border: 1px solid var(--ccn-line-strong); background: var(--ccn-surface-2); color: var(--ccn-text); margin: 10px 0; }
.ccn-mtf .notice p { margin: 0; }
.ccn-mtf .notice-error { border-color: #F2A65A; background: rgba(242,166,90,.08); }
.ccn-mtf .notice-warning { border-color: var(--ccn-gold); background: rgba(242,193,78,.08); }
.ccn-mtf .notice-success { border-color: var(--ccn-green); }
.ccn-mtf .notice-info { border-color: #8FD0FF; }
/* Inline colours written for WP Admin's white background */
.ccn-mtf [style*="color:#50575e"], .ccn-mtf [style*="color:#8c8f94"] { color: var(--ccn-text-3) !important; }
.ccn-mtf [style*="color:#1d2327"] { color: var(--ccn-gold) !important; }
.ccn-mtf [style*="color:#b32d2e"] { color: #FF9B87 !important; }
.ccn-mtf [style*="color:#996800"] { color: var(--ccn-gold) !important; }
@media (max-width: 720px) {
	.ccn-mtf .ccn-mt-dl { grid-template-columns: 1fr; }
	.ccn-mtf .ccn-mt-dl dt { margin-top: 6px; }
	.ccn-mtf .ccn-mt-actions { grid-template-columns: minmax(0, 1fr); }
	.ccn-mtf .ccn-ms-card { padding: 20px 18px; }
}
