/*
Theme Name: ClawCave Nav
Theme URI: https://clawcave.wyld.cc/zh
Author: Codex
Description: 深色 AI Agent、模型、技能、案例与 AI 动态导航 WordPress 主题，包含自定义内容类型、API 栏目、筛选搜索和卡片式目录首页。
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clawcave-nav
Tags: blog, custom-logo, custom-menu, featured-images, grid-layout, dark
*/

:root {
	--cc-bg: #09090b;
	--cc-panel: rgba(24, 24, 27, 0.62);
	--cc-panel-strong: rgba(24, 24, 27, 0.86);
	--cc-card: rgba(18, 18, 21, 0.76);
	--cc-card-hover: rgba(24, 24, 27, 0.92);
	--cc-border: rgba(255, 255, 255, 0.08);
	--cc-border-strong: rgba(255, 255, 255, 0.14);
	--cc-text: #f4f4f5;
	--cc-muted: #a1a1aa;
	--cc-dim: #71717a;
	--cc-theme: #ff4d4d;
	--cc-theme-soft: rgba(255, 77, 77, 0.14);
	--cc-warm: #f59e0b;
	--cc-green: #22c55e;
	--cc-blue: #60a5fa;
	--cc-radius: 8px;
	--cc-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	min-height: 100%;
	background: var(--cc-bg);
	scroll-behavior: smooth;
}

body.cc-theme {
	min-height: 100vh;
	margin: 0;
	background:
		linear-gradient(180deg, rgba(39, 39, 42, 0.24) 0, rgba(9, 9, 11, 0) 260px),
		var(--cc-bg);
	color: var(--cc-text);
	font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: 0;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.cc-theme a {
	color: inherit;
	text-decoration: none;
}

body.cc-theme img,
body.cc-theme svg {
	display: block;
	max-width: 100%;
}

body.cc-theme button,
body.cc-theme input {
	font: inherit;
	letter-spacing: 0;
}

body.cc-theme button {
	cursor: pointer;
}

[hidden] {
	display: none !important;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.cc-page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.cc-shell {
	width: min(100% - 32px, 1216px);
	margin: 0 auto;
}

.cc-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	background: rgba(9, 9, 11, 0.72);
	backdrop-filter: blur(18px);
}

.cc-nav {
	min-height: 78px;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 18px;
}

.cc-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	font-size: 17px;
	font-weight: 700;
	color: var(--cc-text);
}

.cc-logo-mark,
.custom-logo {
	width: 32px;
	height: 32px;
	object-fit: contain;
	flex: 0 0 auto;
}

.cc-brand span {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cc-nav-center {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px;
	border: 1px solid var(--cc-border);
	border-radius: 999px;
	background: rgba(24, 24, 27, 0.7);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

.cc-nav-link {
	min-height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 7px 10px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: rgba(212, 212, 216, 0.78);
	font-size: 13px;
	font-weight: 600;
	transition: color 160ms ease, background-color 160ms ease;
	white-space: nowrap;
}

.cc-nav-link svg,
.cc-menu-toggle svg,
.cc-action svg,
.cc-inline-link svg,
.cc-search svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.cc-nav-link:hover,
.cc-nav-link.is-active {
	color: var(--cc-theme);
	background: rgba(39, 39, 42, 0.82);
}

.cc-nav-dropdown {
	position: relative;
}

.cc-dropdown-panel {
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	min-width: 168px;
	transform: translateX(-50%);
	padding: 8px;
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius);
	background: rgba(18, 18, 21, 0.96);
	box-shadow: var(--cc-shadow);
	opacity: 0;
	pointer-events: none;
	transition: opacity 160ms ease, transform 160ms ease;
}

.cc-nav-dropdown:hover .cc-dropdown-panel,
.cc-nav-dropdown:focus-within .cc-dropdown-panel {
	opacity: 1;
	pointer-events: auto;
	transform: translateX(-50%) translateY(2px);
}

.cc-dropdown-panel a {
	display: block;
	padding: 9px 10px;
	border-radius: 6px;
	color: var(--cc-muted);
	font-size: 14px;
}

.cc-dropdown-panel a:hover {
	background: rgba(255, 255, 255, 0.06);
	color: var(--cc-text);
}

.cc-nav-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.cc-login,
.cc-register,
.cc-menu-toggle {
	min-height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: var(--cc-radius);
	font-size: 14px;
	font-weight: 650;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.cc-login {
	padding: 7px 12px;
	color: var(--cc-text);
}

.cc-login:hover {
	background: rgba(39, 39, 42, 0.72);
}

.cc-register {
	padding: 7px 14px;
	background: var(--cc-theme);
	color: #fff;
}

.cc-register:hover {
	background: #ff6666;
}

.cc-menu-toggle {
	display: none;
	width: 38px;
	padding: 0;
	border: 1px solid var(--cc-border);
	background: rgba(24, 24, 27, 0.82);
	color: var(--cc-theme);
}

.cc-mobile-menu {
	width: min(100% - 32px, 1216px);
	margin: 0 auto 14px;
	padding: 8px;
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius);
	background: rgba(18, 18, 21, 0.98);
}

.cc-mobile-menu a {
	display: block;
	padding: 12px;
	border-radius: 6px;
	color: var(--cc-muted);
	font-weight: 650;
}

.cc-mobile-menu a:hover {
	background: rgba(255, 255, 255, 0.06);
	color: var(--cc-text);
}

.cc-main {
	flex: 1;
	padding-top: 116px;
	padding-bottom: 48px;
}

.cc-topbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, 388px);
	align-items: end;
	gap: 22px;
	margin-bottom: 28px;
}

.cc-heading-block h1,
.cc-panel-toolbar h2,
.cc-about-copy h2,
.cc-detail h1,
.cc-archive-head h1 {
	margin: 0;
	color: var(--cc-text);
	font-weight: 720;
	line-height: 1.18;
	letter-spacing: 0;
}

.cc-heading-block h1 {
	font-size: 22px;
}

.cc-eyebrow,
.cc-kicker {
	margin: 0 0 8px;
	color: var(--cc-theme);
	font-size: 12px;
	font-weight: 760;
	text-transform: uppercase;
	letter-spacing: 0;
}

.cc-search {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 44px;
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius);
	background: rgba(24, 24, 27, 0.7);
	color: var(--cc-dim);
}

.cc-search svg {
	position: absolute;
	left: 14px;
	width: 17px;
	height: 17px;
}

.cc-search input {
	width: 100%;
	min-width: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--cc-text);
	padding: 11px 14px 11px 42px;
}

.cc-search input::placeholder {
	color: #71717a;
}

.cc-panel {
	padding-bottom: 26px;
}

.cc-panel-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 22px;
}

.cc-panel-toolbar h2 {
	font-size: 18px;
}

.cc-panel-toolbar p {
	margin: 4px 0 0;
	color: var(--cc-dim);
	font-size: 14px;
}

.cc-filter-group {
	display: flex;
	align-items: center;
	gap: 8px;
	overflow-x: auto;
	padding: 2px;
	scrollbar-width: thin;
}

.cc-filter-group > span {
	flex: 0 0 auto;
	color: var(--cc-muted);
	font-size: 14px;
}

.cc-filter-group button {
	flex: 0 0 auto;
	min-height: 34px;
	padding: 7px 13px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: transparent;
	color: rgba(212, 212, 216, 0.78);
	font-size: 14px;
	font-weight: 650;
	white-space: nowrap;
	transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.cc-filter-group button:hover,
.cc-filter-group button.is-active {
	border-color: var(--cc-border);
	background: rgba(39, 39, 42, 0.76);
	color: var(--cc-theme);
}

.cc-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.cc-card,
.cc-hub,
.cc-about-grid article,
.cc-side-card,
.cc-detail,
.cc-archive-head {
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius);
	background: var(--cc-card);
}

.cc-card {
	position: relative;
	min-height: 318px;
	display: flex;
	flex-direction: column;
	padding: 24px;
	overflow: hidden;
	transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.cc-card:hover {
	transform: translateY(-3px);
	border-color: rgba(255, 77, 77, 0.38);
	background: var(--cc-card-hover);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.cc-ribbon {
	position: absolute;
	top: 15px;
	right: -34px;
	width: 112px;
	padding: 5px 0;
	transform: rotate(45deg);
	background: var(--cc-theme);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	text-align: center;
}

.cc-card-head {
	min-height: 56px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.cc-entry-icon {
	width: 56px;
	height: 56px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 56px;
	border-radius: var(--cc-radius);
	background:
		linear-gradient(135deg, #fff 0, #f4f4f5 100%);
	color: #18181b;
	font-weight: 800;
	overflow: hidden;
}

.cc-entry-icon-small {
	width: 48px;
	height: 48px;
	flex-basis: 48px;
}

.cc-entry-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 8px;
}

.cc-entry-icon span {
	font-size: 15px;
	line-height: 1;
}

.cc-difficulty {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--cc-dim);
	font-size: 12px;
	white-space: nowrap;
}

.cc-bars {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.cc-bars i {
	width: 11px;
	height: 6px;
	border-radius: 999px;
	background: rgba(63, 63, 70, 0.74);
}

.cc-bars i.is-on {
	background: var(--cc-theme);
}

.cc-title-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 4px;
}

.cc-title-row-tight {
	margin-bottom: 7px;
}

.cc-card h3,
.cc-post-card h2 {
	margin: 0;
	color: var(--cc-text);
	font-size: 21px;
	line-height: 1.26;
	font-weight: 780;
	letter-spacing: 0;
}

.cc-skill-card h3,
.cc-case-card h3,
.cc-post-card h2 {
	font-size: 19px;
}

.cc-pill,
.cc-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 24px;
	padding: 4px 10px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	background: rgba(63, 63, 70, 0.56);
	color: var(--cc-muted);
	font-size: 12px;
	font-weight: 650;
	white-space: nowrap;
}

.cc-pill-warm,
.cc-badge-warning,
.cc-badge-new {
	border-color: rgba(245, 158, 11, 0.34);
	background: rgba(245, 158, 11, 0.14);
	color: #fbbf24;
}

.cc-badge-verified,
.cc-badge-official,
.cc-badge-popular {
	border-color: rgba(34, 197, 94, 0.25);
	background: rgba(34, 197, 94, 0.12);
	color: #86efac;
}

.cc-muted {
	margin: 0 0 14px;
	color: var(--cc-dim);
	font-size: 14px;
}

.cc-card-copy {
	display: -webkit-box;
	min-height: 75px;
	margin: 0 0 18px;
	overflow: hidden;
	color: #d4d4d8;
	line-height: 1.6;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.cc-model-card .cc-card-copy,
.cc-case-card .cc-card-copy,
.cc-skill-card .cc-card-copy {
	min-height: 76px;
}

.cc-update-list {
	display: grid;
	gap: 8px;
	margin: 0 0 20px;
	padding: 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--cc-radius);
	background: rgba(9, 9, 11, 0.46);
}

.cc-update-heading {
	color: var(--cc-dim);
	font-size: 12px;
	font-weight: 760;
}

.cc-update-row {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	min-height: 28px;
}

.cc-update-row time {
	color: var(--cc-theme);
	font-size: 12px;
	font-weight: 740;
	white-space: nowrap;
}

.cc-update-row a,
.cc-update-row span {
	min-width: 0;
	overflow: hidden;
	color: #d4d4d8;
	font-size: 13px;
	font-weight: 650;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cc-update-row a:hover {
	color: var(--cc-theme);
}

.cc-tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 20px;
}

.cc-tag {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 5px 9px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 6px;
	background: rgba(39, 39, 42, 0.62);
	color: var(--cc-muted);
	font-size: 12px;
	font-weight: 650;
}

.cc-card-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: auto;
}

.cc-actions-stack {
	grid-template-columns: 1fr;
}

.cc-action {
	min-height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 9px 12px;
	border: 0;
	border-radius: var(--cc-radius);
	background: rgba(39, 39, 42, 0.76);
	color: var(--cc-muted);
	font-size: 14px;
	font-weight: 680;
	text-align: center;
	transition: background-color 160ms ease, color 160ms ease;
}

.cc-action:hover,
.cc-action.is-copied {
	background: rgba(63, 63, 70, 0.82);
	color: var(--cc-text);
}

.cc-action-accent:hover {
	background: var(--cc-theme-soft);
	color: var(--cc-theme);
}

.cc-command {
	display: block;
	width: 100%;
	margin: 0 0 16px;
	padding: 10px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 6px;
	background: rgba(9, 9, 11, 0.58);
	color: #e4e4e7;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12px;
	line-height: 1.45;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cc-hub-strip {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin: 0 0 24px;
}

.cc-hub {
	padding: 22px;
	background: linear-gradient(135deg, rgba(255, 77, 77, 0.1), rgba(24, 24, 27, 0.72));
}

.cc-hub span {
	display: inline-block;
	margin-bottom: 8px;
	color: var(--cc-theme);
	font-size: 12px;
	font-weight: 760;
}

.cc-hub h3 {
	margin: 0 0 8px;
	color: var(--cc-text);
	font-size: 20px;
}

.cc-hub p,
.cc-about-grid p,
.cc-about-copy p,
.cc-panel-toolbar p,
.cc-archive-description {
	color: var(--cc-muted);
}

.cc-about {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 28px;
	align-items: start;
	padding-top: 12px;
}

.cc-about-copy {
	padding: 24px 0;
}

.cc-about-copy h2 {
	font-size: 32px;
	margin-bottom: 16px;
}

.cc-about-copy p {
	margin: 0;
	font-size: 17px;
	line-height: 1.75;
}

.cc-about-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.cc-about-grid article {
	min-height: 182px;
	padding: 20px;
}

.cc-about-grid h3 {
	margin: 0 0 10px;
	color: var(--cc-text);
	font-size: 18px;
}

.cc-about-grid p {
	margin: 0;
	line-height: 1.65;
}

.cc-empty {
	margin: 28px 0;
	padding: 28px;
	border: 1px dashed var(--cc-border-strong);
	border-radius: var(--cc-radius);
	color: var(--cc-muted);
	text-align: center;
}

.cc-featured-feed {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.45fr);
	gap: 18px;
	align-items: start;
}

.cc-featured-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.cc-hot-card {
	min-width: 0;
	min-height: 238px;
	display: flex;
	flex-direction: column;
	padding: 18px;
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius);
	background: var(--cc-card);
	box-shadow: 0 16px 44px rgba(0, 0, 0, 0.2);
}

.cc-featured-lead {
	min-height: 100%;
	padding: 26px;
	background:
		linear-gradient(135deg, rgba(255, 77, 77, 0.14), rgba(34, 197, 94, 0.08)),
		var(--cc-card);
}

.cc-hot-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 14px;
	color: var(--cc-dim);
	font-size: 12px;
	font-weight: 740;
}

.cc-hot-meta span {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 4px 9px;
	border-radius: 999px;
	background: var(--cc-theme-soft);
	color: var(--cc-theme);
}

.cc-hot-meta time {
	white-space: nowrap;
}

.cc-hot-card h3 {
	margin: 0 0 10px;
	color: var(--cc-text);
	font-size: 18px;
	line-height: 1.34;
}

.cc-featured-lead h3 {
	font-size: 29px;
	line-height: 1.14;
}

.cc-hot-card h3 a:hover {
	color: var(--cc-theme);
}

.cc-hot-card p {
	margin: 0;
	color: var(--cc-muted);
	font-size: 14px;
	line-height: 1.62;
}

.cc-hot-card .cc-hot-source {
	margin-bottom: 9px;
	color: var(--cc-theme);
	font-size: 12px;
	font-weight: 720;
}

.cc-hot-card .cc-inline-link {
	margin-top: auto;
	padding-top: 18px;
}

.cc-daily {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.cc-daily-side {
	position: sticky;
	top: 104px;
	display: grid;
	gap: 14px;
}

.cc-daily-latest,
.cc-daily-archive,
.cc-daily-hero,
.cc-daily-stats {
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius);
	background: var(--cc-card);
}

.cc-daily-latest {
	display: block;
	padding: 13px 14px;
	color: var(--cc-theme);
	font-size: 13px;
	font-weight: 760;
}

.cc-daily-archive {
	padding: 16px;
}

.cc-daily-archive h3 {
	margin: 0 0 12px;
	color: var(--cc-text);
	font-size: 15px;
}

.cc-daily-archive ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cc-daily-archive a {
	display: -webkit-box;
	overflow: hidden;
	color: var(--cc-muted);
	font-size: 13px;
	line-height: 1.45;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.cc-daily-archive a:hover {
	color: var(--cc-text);
}

.cc-daily-main {
	display: grid;
	gap: 18px;
	min-width: 0;
}

.cc-daily-hero {
	padding: 28px;
	background:
		linear-gradient(135deg, rgba(255, 77, 77, 0.14), rgba(56, 189, 248, 0.08)),
		var(--cc-card);
}

.cc-daily-hero p,
.cc-daily-hero span {
	margin: 0;
	color: var(--cc-muted);
	font-size: 12px;
	font-weight: 760;
	text-transform: uppercase;
}

.cc-daily-hero h2 {
	margin: 6px 0 10px;
	color: var(--cc-text);
	font-size: 36px;
	line-height: 1.08;
}

.cc-daily-section {
	padding: 6px 0 0;
}

.cc-daily-section-head {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--cc-border);
}

.cc-daily-number {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--cc-radius);
	background: var(--cc-theme-soft);
	color: var(--cc-theme);
	font-weight: 800;
}

.cc-daily-section-head h3 {
	margin: 0;
	color: var(--cc-text);
	font-size: 19px;
}

.cc-daily-section-head p {
	margin: 2px 0 0;
	color: var(--cc-dim);
	font-size: 12px;
}

.cc-daily-section-head strong {
	color: var(--cc-muted);
	font-size: 13px;
	white-space: nowrap;
}

.cc-daily-story-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.cc-daily-story {
	min-height: 178px;
	padding: 16px;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: var(--cc-radius);
	background: rgba(9, 9, 11, 0.42);
}

.cc-daily-story h4 {
	margin: 0 0 8px;
	color: var(--cc-text);
	font-size: 17px;
	line-height: 1.35;
}

.cc-daily-story h4 a:hover {
	color: var(--cc-theme);
}

.cc-daily-story p {
	margin: 0;
	color: var(--cc-muted);
	font-size: 14px;
	line-height: 1.62;
}

.cc-daily-story .cc-daily-source {
	margin-bottom: 8px;
	color: var(--cc-theme);
	font-size: 12px;
	font-weight: 720;
}

.cc-daily-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.08);
}

.cc-daily-stats div {
	display: grid;
	gap: 3px;
	padding: 18px;
	background: rgba(18, 18, 21, 0.92);
	text-align: center;
}

.cc-daily-stats strong {
	color: var(--cc-text);
	font-size: 28px;
	line-height: 1;
}

.cc-daily-stats span {
	color: var(--cc-muted);
	font-size: 13px;
}

.cc-footer {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cc-footer-inner {
	min-height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	color: #71717a;
	font-size: 13px;
}

.cc-footer a:hover {
	color: #d4d4d8;
}

.cc-dot {
	color: #3f3f46;
}

.cc-footer-menu {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cc-archive-head,
.cc-detail {
	padding: 26px;
	margin-bottom: 24px;
}

.cc-archive-head h1,
.cc-detail h1 {
	font-size: 34px;
}

.cc-detail-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 28px;
	align-items: start;
	background: transparent;
	border: 0;
	padding: 0;
}

.cc-detail-main,
.cc-detail-aside {
	min-width: 0;
}

.cc-detail-main {
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius);
	background: var(--cc-card);
	padding: 28px;
}

.cc-detail-main h1 {
	margin-bottom: 22px;
}

.cc-featured {
	margin: 0 0 24px;
	overflow: hidden;
	border-radius: var(--cc-radius);
}

.cc-featured img {
	width: 100%;
	height: auto;
}

.cc-side-card {
	position: sticky;
	top: 104px;
	padding: 20px;
	background: var(--cc-panel-strong);
}

.cc-content {
	color: #d4d4d8;
	line-height: 1.8;
}

.cc-content > *:first-child {
	margin-top: 0;
}

.cc-content a {
	color: var(--cc-theme);
}

.cc-content img {
	border-radius: var(--cc-radius);
}

.cc-inline-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--cc-theme);
	font-weight: 700;
}

.cc-inline-link svg {
	width: 16px;
	height: 16px;
}

.cc-card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: auto;
	color: var(--cc-dim);
	font-size: 14px;
}

.navigation.pagination {
	margin-top: 28px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.page-numbers {
	min-width: 36px;
	min-height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius);
	background: rgba(24, 24, 27, 0.7);
	color: var(--cc-muted);
}

.page-numbers.current,
.page-numbers:hover {
	color: var(--cc-theme);
	border-color: rgba(255, 77, 77, 0.34);
}

@media (max-width: 1024px) {
	.cc-nav {
		grid-template-columns: 1fr auto;
	}

	.cc-nav-center {
		display: none;
	}

	.cc-login,
	.cc-register {
		display: none;
	}

	.cc-menu-toggle {
		display: inline-flex;
	}

	.cc-grid,
	.cc-grid-agents {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cc-about,
	.cc-featured-feed,
	.cc-daily,
	.cc-detail-grid {
		grid-template-columns: 1fr;
	}

	.cc-daily-side {
		position: static;
	}

	.cc-side-card {
		position: static;
	}
}

@media (max-width: 760px) {
	.cc-shell {
		width: min(100% - 24px, 1216px);
	}

	.cc-main {
		padding-top: 96px;
	}

	.cc-nav {
		min-height: 68px;
	}

	.cc-brand span {
		font-size: 15px;
	}

	.cc-topbar {
		grid-template-columns: 1fr;
		align-items: start;
		gap: 14px;
		margin-bottom: 20px;
	}

	.cc-heading-block h1 {
		font-size: 20px;
	}

	.cc-panel-toolbar {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.cc-filter-group {
		width: 100%;
	}

	.cc-grid,
	.cc-grid-agents,
	.cc-hub-strip,
	.cc-featured-list,
	.cc-daily-story-list,
	.cc-about-grid {
		grid-template-columns: 1fr;
	}

	.cc-card {
		min-height: 0;
		padding: 20px;
	}

	.cc-card-actions {
		grid-template-columns: 1fr;
	}

	.cc-about-copy h2,
	.cc-featured-lead h3,
	.cc-daily-hero h2,
	.cc-archive-head h1,
	.cc-detail h1 {
		font-size: 26px;
	}

	.cc-daily-section-head,
	.cc-daily-stats {
		grid-template-columns: 1fr;
	}

	.cc-detail-main,
	.cc-archive-head {
		padding: 22px;
	}
}
