/* AK Campus 专区：知识点练习 / 投稿专区 / 首页板块 */

/* 这两个页面走主题模板（Twenty Twenty-Five）：去掉重复的大标题、收紧留白、放宽内容宽度 */
body .wp-block-post-title {
	display: none !important;
}
body main#wp--skip-link--target {
	margin-top: 6px !important;
}
body main > .wp-block-group {
	padding-top: 4px !important;
	padding-bottom: 20px !important;
}
body .wp-block-post-content {
	max-width: none !important;
}
body .wp-block-post-content .akz,
body .wp-block-post-content .akz-nav {
	width: min(1000px, 100%) !important;
	max-width: 1000px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}


#akc-home-zones {
	display: block;
}

.akz {
	max-width: 1000px;
	margin: 0 auto;
	padding: 8px 0 48px;
	color: #1f2937;
	font-size: 14.5px;
	line-height: 1.7;
}

/* ---------- 页内导航 ---------- */
.akz-nav {
	max-width: 1000px;
	margin: 0 auto;
	padding: 10px 0 2px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.akz-nav-a {
	display: inline-block;
	position: relative;
	padding: 6px 13px;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	background: #fff;
	color: #475569;
	font-size: 13px;
	text-decoration: none;
	line-height: 1.4;
}
/* PK 未读挑战红点 */
.akz-nav-a.has-dot {
	padding-right: 22px;
}
.akz-nav-dot {
	position: absolute;
	top: -5px;
	right: -3px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: #f43f5e;
	color: #fff;
	font-size: 10px;
	font-style: normal;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
	box-sizing: border-box;
}
.akz-nav-a.is-on .akz-nav-dot {
	background: #fbbf24;
	color: #78350f;
}
.akz-nav-a:hover {
	border-color: #94a3b8;
	color: #0f172a;
}
.akz-nav-a.is-on {
	background: #2563eb;
	border-color: #2563eb;
	color: #fff;
	font-weight: 600;
}

/* ---------- 头部 ---------- */
.akz-hero {
	margin: 14px 0 18px;
	padding: 22px 24px;
	border-radius: 16px;
	background: linear-gradient(135deg, #f5f9ff 0%, #eef2ff 100%);
	border: 1px solid #e2e8f0;
}
.akz-kicker {
	display: inline-block;
	font-size: 11px;
	letter-spacing: 1.4px;
	color: #2563eb;
	font-weight: 700;
}
.akz-hero h1 {
	margin: 4px 0 8px;
	font-size: 26px;
	line-height: 1.3;
	color: #0f172a;
}
.akz-hero p {
	margin: 0 0 12px;
	color: #475569;
	font-size: 14px;
}
.akz-hero-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.akz-hero-stats span {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 9px;
	padding: 5px 12px;
	font-size: 12.5px;
	color: #64748b;
}
.akz-hero-stats b {
	font-size: 15px;
	color: #2563eb;
	margin-right: 2px;
}
.akz-hero-act {
	margin-top: 14px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}
.akz-hero-mine {
	font-size: 12.5px;
	color: #475569;
}
.akz-hero-mine b {
	color: #2563eb;
}

/* ---------- 考纲速览 ---------- */
.akz-syl {
	margin: 0 0 18px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}
.akz-syl summary {
	cursor: pointer;
	padding: 12px 16px;
	font-weight: 600;
	color: #334155;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: baseline;
}
.akz-syl summary::-webkit-details-marker {
	display: none;
}
.akz-syl summary em {
	font-style: normal;
	font-weight: 400;
	font-size: 12px;
	color: #94a3b8;
}
.akz-syl[open] summary {
	border-bottom: 1px solid #eef2f7;
	background: #f8fafc;
}
.akz-syl-body {
	padding: 6px 16px 16px;
}
.akz-syl-body h3 {
	margin: 14px 0 6px;
	font-size: 14px;
	color: #0f172a;
}
.akz-tb {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}
.akz-tb th,
.akz-tb td {
	border: 1px solid #e5e7eb;
	padding: 7px 10px;
	text-align: left;
	vertical-align: top;
}
.akz-tb th {
	background: #f8fafc;
	font-weight: 600;
	color: #475569;
	font-size: 12.5px;
}
.akz-tip {
	margin: 10px 0 0;
	font-size: 12.5px;
	color: #94a3b8;
}

/* ---------- 层级徽章 ---------- */
.akz-lv {
	display: inline-block;
	padding: 1px 8px;
	border-radius: 6px;
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1.7;
	white-space: nowrap;
}
.akz-lv.is-了解,
.akz-lv.is-其它 {
	background: #eff6ff;
	color: #1d4ed8;
}
.akz-lv.is-理解 {
	background: #fef3c7;
	color: #b45309;
}
.akz-lv.is-掌握 {
	background: #dcfce7;
	color: #15803d;
}

/* ---------- 筛选 ---------- */
.akz-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin: 0 0 14px;
}
.akz-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.akz-tab {
	border: 1px solid #d1d5db;
	background: #fff;
	border-radius: 8px;
	padding: 6px 13px;
	font-size: 13px;
	color: #475569;
	cursor: pointer;
	line-height: 1.4;
}
.akz-tab:hover {
	border-color: #94a3b8;
}
.akz-tab.is-on {
	background: #2563eb;
	border-color: #2563eb;
	color: #fff;
	font-weight: 600;
}
.akz-search {
	flex: 1;
	min-width: 180px;
	max-width: 280px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	padding: 7px 12px;
	font-size: 13px;
	background: #fff;
	color: #1f2937;
}
.akz-search:focus {
	outline: 2px solid #bfdbfe;
	border-color: #2563eb;
}

/* ---------- 知识节卡片 ---------- */
.akz-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 12px;
}
.akz-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 14px 15px 12px;
	transition: box-shadow .15s, border-color .15s;
}
.akz-card:hover {
	border-color: #bfdbfe;
	box-shadow: 0 6px 18px rgba(15, 118, 110, .07);
}
.akz-card-hd {
	display: flex;
	align-items: center;
	gap: 7px;
	flex-wrap: wrap;
	margin-bottom: 6px;
}
.akz-label {
	font-size: 12px;
	font-weight: 700;
	color: #2563eb;
	background: #f5f9ff;
	border-radius: 6px;
	padding: 1px 7px;
}
.akz-kpno {
	margin-left: auto;
	font-size: 11.5px;
	color: #94a3b8;
}
.akz-card h3 {
	margin: 0 0 8px;
	font-size: 15.5px;
	line-height: 1.45;
	color: #0f172a;
}
.akz-points {
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
	font-size: 12.5px;
	color: #64748b;
	line-height: 1.62;
}
.akz-points li {
	position: relative;
	padding-left: 13px;
	margin-bottom: 4px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.akz-points li::before {
	content: "·";
	position: absolute;
	left: 2px;
	color: #2563eb;
	font-weight: 700;
}
.akz-points li.akz-more {
	display: block;
	padding-left: 13px;
}
.akz-points li.akz-more.is-open {
	display: block;
}
.akz-more-btn {
	border: 0;
	background: none;
	padding: 0;
	color: #2563eb;
	font-size: 12px;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.akz-points li.extra {
	display: list-item;
	-webkit-line-clamp: unset;
	overflow: visible;
}
.akz-card-ft {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding-top: 8px;
	border-top: 1px dashed #eef2f7;
}
.akz-meta {
	font-size: 12px;
	color: #94a3b8;
}
.akz-none {
	font-size: 12px;
	color: #cbd5e1;
}

/* ---------- 按钮 ---------- */
.akz-btn {
	display: inline-block;
	border: 1px solid #2563eb;
	background: #2563eb;
	color: #fff;
	border-radius: 8px;
	padding: 7px 15px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	line-height: 1.5;
	white-space: nowrap;
}
.akz-btn:hover {
	background: #1d4ed8;
	border-color: #1d4ed8;
	color: #fff;
}
.akz-btn.ghost {
	background: #fff;
	color: #475569;
	border-color: #d1d5db;
	font-weight: 500;
}
.akz-btn.ghost:hover {
	background: #f8fafc;
	color: #0f172a;
}
.akz-btn[hidden] {
	display: none !important;
}
.akz-btn:disabled {
	opacity: .5;
	cursor: default;
}
.akz-empty {
	margin: 18px 0;
	padding: 26px;
	text-align: center;
	color: #94a3b8;
	font-size: 13px;
	border: 1px dashed #e5e7eb;
	border-radius: 12px;
}

/* ---------- 投稿页 ---------- */
.akz-blank {
	margin: 8px 0 0;
	padding: 34px 24px;
	text-align: center;
	background: #fff;
	border: 1px dashed #d9e2ec;
	border-radius: 14px;
}
.akz-blank-ico {
	font-size: 40px;
	line-height: 1;
	margin-bottom: 10px;
}
.akz-blank h2 {
	margin: 0 0 8px;
	font-size: 18px;
	color: #0f172a;
}
.akz-blank p {
	margin: 0 auto 16px;
	max-width: 560px;
	color: #64748b;
	font-size: 13.5px;
}
.akz-blank-tip {
	font-size: 12px !important;
	color: #94a3b8 !important;
	margin-top: 16px !important;
}
.akz-block {
	margin: 0 0 20px;
}
.akz-h2 {
	margin: 0 0 10px;
	font-size: 17px;
	color: #0f172a;
}
.akz-block-hd {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}
.akz-block-hd .akz-h2 {
	margin: 0;
}
.akz-rank {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.akz-rank-row {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 7px 14px;
	font-size: 13px;
}
.akz-rank-row.is-me {
	border-color: #2563eb;
	background: #f5f9ff;
}
.akz-rank-no {
	width: 20px;
	text-align: center;
	font-weight: 700;
	color: #94a3b8;
}
.akz-rank-nm {
	font-weight: 600;
	color: #0f172a;
}
.akz-rank-n {
	color: #2563eb;
	font-size: 12.5px;
}
.akz-qlist {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: 10px;
}
.akz-qitem {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 12px 14px;
}
.akz-qitem-hd {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 6px;
	font-size: 12px;
}
.akz-qtype {
	background: #eef2ff;
	color: #4338ca;
	border-radius: 6px;
	padding: 1px 7px;
	font-weight: 600;
}
.akz-qauthor {
	color: #94a3b8;
}
.akz-qstem {
	margin: 0 0 10px;
	font-size: 13.5px;
	line-height: 1.65;
	color: #1f2937;
}
.akz-qitem-ft {
	margin-top: auto;
}

/* ---------- 练习弹窗 ---------- */
.akz-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.akz-modal[hidden] {
	display: none !important;
}
.akz-modal-bg {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, .5);
}
.akz-dlg {
	position: relative;
	width: 100%;
	max-width: 620px;
	max-height: 88vh;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, .28);
	overflow: hidden;
}
.akz-dlg-hd {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	padding: 15px 18px 10px;
	border-bottom: 1px solid #eef2f7;
}
.akz-dlg-kicker {
	font-size: 11px;
	letter-spacing: 1.2px;
	color: #2563eb;
	font-weight: 700;
}
.akz-dlg-hd h3 {
	margin: 2px 0 0;
	font-size: 16px;
	color: #0f172a;
	line-height: 1.4;
}
.akz-x {
	border: 0;
	background: #f1f5f9;
	color: #64748b;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 14px;
	line-height: 1;
	flex: none;
}
.akz-x:hover {
	background: #e2e8f0;
	color: #0f172a;
}
.akz-dlg-bar {
	display: flex;
	justify-content: space-between;
	padding: 8px 18px 0;
	font-size: 12px;
	color: #94a3b8;
}
.akz-dlg-body {
	flex: 1;
	overflow-y: auto;
	padding: 10px 18px 16px;
}
.akz-stem {
	font-size: 15px;
	line-height: 1.75;
	color: #0f172a;
	white-space: pre-wrap;
	word-break: break-word;
}
.akz-opts {
	margin-top: 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.akz-opt {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	width: 100%;
	text-align: left;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 10px 13px;
	font-size: 14px;
	line-height: 1.6;
	color: #1f2937;
	cursor: pointer;
	transition: .12s;
}
.akz-opt:hover {
	border-color: #bfdbfe;
	background: #f8fdfc;
}
.akz-opt .k {
	flex: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #f1f5f9;
	color: #475569;
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 1px;
}
.akz-opt .t {
	flex: 1;
}
.akz-opt.is-pick {
	border-color: #2563eb;
	background: #f5f9ff;
}
.akz-opt.is-pick .k {
	background: #2563eb;
	color: #fff;
}
.akz-opt.is-right {
	border-color: #16a34a;
	background: #f0fdf4;
}
.akz-opt.is-right .k {
	background: #16a34a;
	color: #fff;
}
.akz-opt.is-wrong {
	border-color: #dc2626;
	background: #fef2f2;
}
.akz-opt.is-wrong .k {
	background: #dc2626;
	color: #fff;
}
.akz-opt[disabled] {
	cursor: default;
}
.akz-fb {
	margin-top: 14px;
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 13.5px;
	line-height: 1.72;
	white-space: pre-wrap;
	word-break: break-word;
}
.akz-fb[hidden] {
	display: none;
}
.akz-fb.ok {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #14532d;
}
.akz-fb.no {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #7f1d1d;
}
.akz-fb .fb-hd {
	font-weight: 700;
	margin-bottom: 4px;
}
.akz-dlg-ft {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
	padding: 12px 18px 16px;
	border-top: 1px solid #eef2f7;
	background: #fcfcfd;
}
.akz-dlg-ft .akz-btn {
	min-width: 92px;
}

/* ---------- 首页板块 ---------- */
.akc-zc-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 12px;
}
.akc-zc-strip span {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 9px;
	padding: 5px 12px;
	font-size: 12.5px;
	color: #64748b;
}
.akc-zc-strip b {
	color: #2563eb;
	font-size: 15px;
	margin-right: 2px;
}
.akc-zc-more {
	font-size: 13px;
	color: #2563eb;
	text-decoration: none;
	white-space: nowrap;
	font-weight: 600;
}
.akc-zc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
	gap: 10px;
}
.akc-zc-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 12px 14px;
	text-decoration: none;
	transition: .15s;
}
.akc-zc-card:hover {
	border-color: #bfdbfe;
	box-shadow: 0 6px 16px rgba(15, 118, 110, .08);
}
.akc-zc-card strong {
	font-size: 14px;
	color: #0f172a;
	line-height: 1.45;
}
.akc-zc-card em {
	font-style: normal;
	font-size: 12px;
	color: #94a3b8;
}
.akc-zc-lv {
	align-self: flex-start;
	font-size: 11px;
	font-weight: 700;
	border-radius: 5px;
	padding: 0 6px;
	line-height: 1.7;
}
.akc-zc-lv.is-了解,
.akc-zc-lv.is-其它 {
	background: #eff6ff;
	color: #1d4ed8;
}
.akc-zc-lv.is-理解 {
	background: #fef3c7;
	color: #b45309;
}
.akc-zc-lv.is-掌握 {
	background: #dcfce7;
	color: #15803d;
}
.akc-zc-act {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}
.akc-zc-btn {
	display: inline-block;
	background: #2563eb;
	color: #fff;
	border: 1px solid #2563eb;
	border-radius: 9px;
	padding: 8px 18px;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
	line-height: 1.5;
}
.akc-zc-btn:hover {
	background: #1d4ed8;
	color: #fff;
}
.akc-zc-btn.ghost {
	background: #fff;
	color: #475569;
	border-color: #d1d5db;
	font-weight: 500;
}
.akc-zc-btn.ghost:hover {
	background: #f8fafc;
	color: #0f172a;
}
.akc-zc-chip {
	display: inline-block;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	padding: 4px 12px;
	font-size: 12.5px;
	color: #475569;
}
.akc-zc-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 12px;
}
.akc-zc-qlist {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 10px;
}
.akc-zc-q {
	display: flex;
	flex-direction: column;
	gap: 5px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 11px 13px;
	text-decoration: none;
}
.akc-zc-q:hover {
	border-color: #bfdbfe;
}
.akc-zc-qmeta {
	font-size: 11.5px;
	color: #94a3b8;
}
.akc-zc-qstem {
	font-size: 13.5px;
	color: #1f2937;
	line-height: 1.6;
}
.akc-zc-blank {
	padding: 20px 18px;
	border: 1px dashed #d9e2ec;
	border-radius: 12px;
	background: #fbfdfd;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.akc-zc-blank strong {
	font-size: 14px;
	color: #0f172a;
}
.akc-zc-blank span {
	font-size: 12.5px;
	color: #64748b;
}

/* 首页：动画专区四张入口 */
.akc-zc-anims {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 10px;
}
.akc-zc-anim {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 11px 13px;
	text-decoration: none;
	transition: .15s;
}
.akc-zc-anim:hover {
	border-color: #bfdbfe;
	box-shadow: 0 6px 16px rgba(15, 118, 110, .08);
}
.akc-zc-anim-ico {
	font-size: 21px;
	line-height: 1;
}
.akc-zc-anim-tx {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}
.akc-zc-anim-tx strong {
	font-size: 13.5px;
	color: #0f172a;
	line-height: 1.4;
}
.akc-zc-anim-tx em {
	font-style: normal;
	font-size: 11.5px;
	color: #94a3b8;
	line-height: 1.45;
}

/* ---------- 手机 ---------- */
@media (max-width: 640px) {
	.akz {
		font-size: 14px;
	}
	.akz-hero {
		padding: 18px 16px;
		margin: 10px 0 14px;
	}
	.akz-hero h1 {
		font-size: 21px;
	}
	.akz-grid,
	.akz-qlist {
		grid-template-columns: 1fr;
	}
	.akz-search {
		max-width: none;
		width: 100%;
	}
	.akz-dlg {
		max-height: 92vh;
		border-radius: 14px;
	}
	.akz-dlg-body {
		padding: 8px 14px 14px;
	}
	.akz-dlg-ft {
		padding: 10px 14px 14px;
	}
	.akz-dlg-ft .akz-btn {
		min-width: 0;
		flex: 1;
		text-align: center;
	}
	.akz-tb {
		font-size: 12px;
	}
	.akz-tb th,
	.akz-tb td {
		padding: 6px 7px;
	}
	.akc-zc-grid,
	.akc-zc-qlist {
		grid-template-columns: 1fr;
	}
}
