/**
 * NFTCollectibles design layer — distinct identity, same rigor as the flagship.
 *
 * Palette: archival/cabinet feel.
 *   ink        #123B3F  (deep teal-ink — headings, footer)
 *   accent     #D97706  (slab-label amber — CTAs, links-on-hover, pills)
 *   paper      #FAF7F2  (warm off-white background tint)
 *   line       #D8D2C7  (warm hairline)
 *   status hues follow the flagship pill semantics (green/amber/red/grey).
 *
 * All rules are scoped under .nc-* component classes plus a few body-level
 * vars. Responsive floor is 390px; comfortable max-width at 1440px.
 */

:root {
	--nc-ink: #123b3f;
	--nc-ink-soft: #2e565b;
	--nc-accent: #d97706;
	--nc-accent-dark: #b45309;
	--nc-paper: #faf7f2;
	--nc-line: #d8d2c7;
	--nc-ok-bg: #e7f4ea;
	--nc-ok-fg: #1d6b3a;
	--nc-warn-bg: #fdf3e3;
	--nc-warn-fg: #8a4b08;
	--nc-bad-bg: #fbeaea;
	--nc-bad-fg: #9b2c2c;
	--nc-neutral-bg: #eef0f2;
	--nc-neutral-fg: #4b5563;
}

/* --- Callouts --------------------------------------------------------- */

.nc-note,
.nc-warn,
.nc-cta,
.nc-provenance,
.nc-disclosure {
	border-radius: 8px;
	padding: 1rem 1.25rem;
	margin: 1.5rem 0;
}

.nc-note {
	background: var(--nc-paper);
	border-left: 4px solid var(--nc-ink-soft);
}

.nc-warn {
	background: var(--nc-warn-bg);
	border-left: 4px solid var(--nc-accent);
}

.nc-cta {
	background: #ffffff;
	border: 1px solid var(--nc-line);
}

.nc-disclosure {
	background: var(--nc-paper);
	border-left: 4px solid var(--nc-accent);
	font-size: 0.95rem;
}

/* Provenance card: "what you own / who holds it" block on profiles. */
.nc-provenance {
	background: var(--nc-paper);
	border: 1px solid var(--nc-line);
	border-left: 4px solid var(--nc-ink);
}

/* --- Status pills ------------------------------------------------------ */

.nc-status {
	display: inline-block;
	padding: 0.15rem 0.7rem;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.nc-status--active,
.nc-status--early-access,
.nc-status--in-development {
	background: var(--nc-ok-bg);
	color: var(--nc-ok-fg);
}

.nc-status--unknown,
.nc-status--paused {
	background: var(--nc-neutral-bg);
	color: var(--nc-neutral-fg);
}

.nc-status--sunset,
.nc-status--pivoted {
	background: var(--nc-warn-bg);
	color: var(--nc-warn-fg);
}

.nc-status--shut-down {
	background: var(--nc-bad-bg);
	color: var(--nc-bad-fg);
}

.nc-profile-head {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-bottom: 0.5rem;
}

.nc-verified,
.nc-verified-note {
	color: var(--nc-neutral-fg);
	font-size: 0.85rem;
}

/* --- Registry info table ------------------------------------------------ */

.nc-info {
	border-collapse: collapse;
	width: 100%;
	margin: 1.5rem 0;
	font-size: 0.95rem;
}

.nc-info th,
.nc-info td {
	border-bottom: 1px solid var(--nc-line);
	padding: 0.6rem 0.75rem;
	text-align: left;
	vertical-align: top;
}

.nc-info th {
	color: var(--nc-ink);
	font-weight: 600;
	white-space: nowrap;
	width: 11rem;
}

/* Wide tables scroll horizontally instead of overflowing the viewport (390px floor). */
.nc-table-scroll {
	overflow-x: auto;
}

/* Registry index table ([nc_registry_index] shortcode output). */
.nc-registry-index thead th {
	background: var(--nc-ink);
	color: #ffffff;
	border-bottom: none;
}

.nc-registry-index td:first-child .nc-verified {
	font-size: 0.8rem;
}

/* Comparison tables inside content. */
.nc-comparison table {
	border-collapse: collapse;
	width: 100%;
	font-size: 0.95rem;
}

.nc-comparison th,
.nc-comparison td {
	border: 1px solid var(--nc-line);
	padding: 0.6rem 0.75rem;
	text-align: left;
}

.nc-comparison thead th {
	background: var(--nc-ink);
	color: #ffffff;
}

/* --- Hero / homepage ---------------------------------------------------- */

.nc-hero {
	background: var(--nc-ink);
	color: #ffffff;
	padding: 3.5rem 1.5rem;
	border-radius: 12px;
}

.nc-hero h1,
.nc-hero .nc-tagline {
	color: #ffffff;
}

.nc-hero .nc-accent {
	color: var(--nc-accent);
}

/* Section cards grid — wraps cleanly at 390px. */
.nc-card-grid {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 240px, 1fr ) );
	gap: 1rem;
	margin: 1.5rem 0;
}

.nc-card {
	border: 1px solid var(--nc-line);
	border-radius: 10px;
	padding: 1.25rem;
	background: #ffffff;
}

.nc-card h3 {
	margin-top: 0;
}

/* Newsletter signup block. */
.nc-signup {
	background: var(--nc-paper);
	border: 1px solid var(--nc-line);
	border-radius: 10px;
	padding: 1.5rem;
	margin: 2rem 0;
}

/* --- Accessibility & small screens -------------------------------------- */

.nc-status,
a {
	text-decoration-thickness: auto;
}

@media ( max-width: 480px ) {
	.nc-info th {
		width: auto;
	}

	.nc-hero {
		padding: 2rem 1rem;
	}
}
