/*
Theme Name: Han Software Hub
Theme URI: https://aidown.local
Author: Codex
Description: A clean rebuild theme for staged migration of the software site.
Version: 0.1.0
Text Domain: han-software-hub
*/

:root {
	--bg: #06101d;
	--bg-soft: #0a1728;
	--panel: rgba(9, 19, 35, 0.9);
	--panel-soft: rgba(12, 28, 50, 0.82);
	--panel-border: rgba(117, 151, 194, 0.16);
	--text: #e6f0ff;
	--muted: #8ea2c2;
	--accent: #22c55e;
	--accent-hover: #16a34a;
	--link-accent: #3e81ff;
	--link-accent-hover: #2c67df;
	--shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
	--radius: 22px;
	--container: 1560px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
	color: var(--text);
	line-height: 1.75;
	background:
		radial-gradient(circle at 0 0, rgba(62, 129, 255, 0.22), transparent 24%),
		radial-gradient(circle at 100% 0, rgba(34, 197, 94, 0.12), transparent 22%),
		linear-gradient(180deg, #06101d 0%, #091526 38%, #0c1b2f 100%);
}

body.admin-bar .site-header {
	top: 32px;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

button,
input,
textarea,
select {
	font: inherit;
}

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

.site-shell {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-container {
	width: min(calc(100% - 28px), var(--container));
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(3, 10, 19, 0.8);
	border-bottom: 1px solid var(--panel-border);
	backdrop-filter: blur(16px);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 14px 0;
}

.brand {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.brand__logo {
	width: 58px;
	height: 58px;
	flex: 0 0 58px;
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.98);
	border: 1px solid rgba(255, 255, 255, 0.78);
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.brand__logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.brand__logo-fallback {
	font-size: 24px;
	font-weight: 700;
	color: var(--link-accent);
}

.brand__content {
	min-width: 0;
}

.brand__title {
	margin: 0;
	font-size: 22px;
	line-height: 1.1;
	letter-spacing: 0.5px;
}

.brand__title a:hover {
	color: #dce9ff;
}

.brand__tagline {
	margin-top: 4px;
	color: var(--muted);
	font-size: 13px;
}

.site-nav {
	flex: 1 1 auto;
	min-width: 0;
}

.nav-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-menu li {
	margin: 0;
}

.nav-menu__link {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 999px;
	color: var(--muted);
	font-size: 14px;
	white-space: nowrap;
	background: transparent;
	transition: 0.2s ease;
}

.nav-menu__link:hover,
.nav-menu__link.is-current {
	color: #d6e6ff;
	background: rgba(62, 129, 255, 0.14);
	box-shadow: inset 0 0 0 1px rgba(96, 152, 255, 0.18);
}

.site-main {
	flex: 1;
	padding: 24px 0 64px;
}

.panel {
	margin-bottom: 22px;
	background: var(--panel);
	border: 1px solid var(--panel-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.hero-search {
	position: relative;
	padding: 34px;
	background:
		linear-gradient(135deg, rgba(62, 129, 255, 0.15), rgba(34, 197, 94, 0.05) 42%, rgba(8, 17, 31, 0.92) 100%),
		linear-gradient(180deg, rgba(10, 21, 38, 0.96), rgba(7, 15, 28, 0.96));
}

.hero-search::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(124, 163, 214, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(124, 163, 214, 0.05) 1px, transparent 1px);
	background-size: 22px 22px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent);
}

.hero-search__layout {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) 360px;
	gap: 24px;
	align-items: center;
}

.hero-search__title,
.section-title {
	margin: 0 0 10px;
	line-height: 1.12;
}

.hero-search__title {
	max-width: 860px;
	font-size: clamp(32px, 4vw, 52px);
}

.hero-search__desc,
.section-desc {
	color: #b2c5e2;
}

.hero-search__desc {
	margin: 0 0 24px;
	max-width: 820px;
	font-size: 15px;
	line-height: 1.9;
}

.search-form {
	display: grid;
	grid-template-columns: 1fr 170px;
	gap: 12px;
	max-width: 860px;
}

.search-form input[type="search"] {
	min-height: 60px;
	padding: 0 20px;
	border-radius: 16px;
	border: 1px solid rgba(118, 156, 204, 0.2);
	background: rgba(255, 255, 255, 0.05);
	color: var(--text);
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.search-form input[type="search"]:focus {
	border-color: rgba(120, 173, 255, 0.62);
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 0 0 4px rgba(62, 129, 255, 0.14);
}

.button,
.search-form button,
.button-row a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 20px;
	border: 0;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--accent), var(--accent-hover));
	color: #ffffff;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.button:hover,
.search-form button:hover,
.button-row a:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 26px rgba(22, 163, 74, 0.28);
}

.search-form__message {
	grid-column: 1 / -1;
	margin: -2px 0 0;
	padding: 12px 16px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 13px;
	line-height: 1.8;
}

.search-form__message--error {
	color: #ffd7d7;
	background: rgba(127, 29, 29, 0.3);
	border-color: rgba(248, 113, 113, 0.2);
}

.hero-search__side {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 14px;
}

.hero-stat-card {
	padding: 18px;
	border-radius: 18px;
	background: var(--panel-soft);
	border: 1px solid rgba(111, 148, 194, 0.16);
}

.hero-stat-card strong {
	display: block;
	margin-bottom: 6px;
	font-size: 28px;
}

.hero-stat-card span {
	display: block;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.8;
}

.archive-panel,
.featured-zone,
.content-panel,
.home-frame-panel {
	padding: 24px;
}

.section-headline {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
	margin-bottom: 16px;
}

.section-title {
	font-size: 21px;
}

.section-desc {
	margin: 0;
	font-size: 14px;
}

.section-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 16px;
	border-radius: 999px;
	color: #d9e8ff;
	font-size: 14px;
	font-weight: 600;
	background: rgba(62, 129, 255, 0.08);
	border: 1px solid rgba(96, 152, 255, 0.16);
	transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.section-link:hover {
	color: #ffffff;
	background: rgba(62, 129, 255, 0.16);
	border-color: rgba(120, 173, 255, 0.26);
	transform: translateY(-1px);
}

.empty-note,
.empty-state {
	margin: 0;
	color: var(--muted);
}

.featured-grid {
	display: grid;
	gap: 18px;
}

.featured-grid--ai-featured {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.featured-zone--ai-featured .section-headline {
	align-items: flex-start;
	margin-bottom: 18px;
}

.featured-software-card {
	min-width: 0;
	height: 100%;
}

.featured-software-card__link {
	display: grid;
	grid-template-rows: auto auto 1fr;
	gap: 16px;
	height: 100%;
	padding: 24px;
	border-radius: 22px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)),
		rgba(8, 20, 38, 0.92);
	border: 1px solid rgba(255, 255, 255, 0.07);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.featured-software-card__link:hover {
	transform: translateY(-3px);
	border-color: rgba(151, 188, 255, 0.32);
	box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.featured-software-card__media {
	width: 72px;
	height: 72px;
	border-radius: 22px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.04);
}

.featured-software-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.featured-software-card__content {
	display: grid;
	grid-template-rows: auto auto 1fr;
	gap: 10px;
	min-width: 0;
}

.featured-software-card__title {
	color: #ffffff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}

.featured-software-card__term {
	color: #8fb4ff;
	font-size: 14px;
	line-height: 1.5;
}

.featured-software-card__excerpt {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.85;
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.ai-tools-home__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 18px;
}

.ai-tools-home__tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.04);
	color: #b9c9e2;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ai-tools-home__tab:hover,
.ai-tools-home__tab:focus-visible,
.ai-tools-home__tab.is-active {
	color: #e9f1ff;
	background: rgba(62, 129, 255, 0.16);
	border-color: rgba(96, 152, 255, 0.22);
	transform: translateY(-1px);
	outline: none;
}

.ai-tools-home__panels {
	position: relative;
}

.ai-tools-home__panel.is-active {
	animation: aidownPanelFadeIn 0.18s ease;
}

.ai-tools-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.ai-tools-card {
	min-width: 0;
	height: 100%;
}

.ai-tools-card__link {
	display: grid;
	grid-template-rows: auto 1fr;
	gap: 14px;
	height: 100%;
	padding: 20px;
	border-radius: 20px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)),
		rgba(8, 20, 38, 0.92);
	border: 1px solid rgba(255, 255, 255, 0.07);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ai-tools-card__link:hover {
	transform: translateY(-3px);
	border-color: rgba(151, 188, 255, 0.3);
	box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.ai-tools-card__media {
	width: 60px;
	height: 60px;
	border-radius: 18px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.04);
}

.ai-tools-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ai-tools-card__content {
	display: grid;
	grid-template-rows: auto 1fr;
	gap: 10px;
	min-width: 0;
}

.ai-tools-card__title {
	color: #ffffff;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.ai-tools-card__excerpt {
	color: var(--muted);
	font-size: 13px;
	line-height: 1.8;
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

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

.rank-board {
	min-width: 0;
	padding: 22px 22px 10px;
	border-radius: 22px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.025)),
		rgba(8, 20, 38, 0.88);
	border: 1px solid rgba(255, 255, 255, 0.07);
}

.rank-board__head {
	margin-bottom: 10px;
}

.rank-board__title {
	margin: 0;
	font-size: 22px;
	line-height: 1.2;
}

.rank-board__list {
	display: grid;
}

.rank-line-card {
	padding: 14px 0 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rank-line-card:first-child {
	padding-top: 2px;
	border-top: 0;
}

.rank-line-card__title {
	margin: 0 0 6px;
	font-size: 18px;
	line-height: 1.35;
}

.rank-line-card__title a {
	color: #eef4ff;
}

.rank-line-card__title a:hover {
	color: #ffffff;
}

.rank-line-card__excerpt {
	margin: 0;
	font-size: 14px;
	line-height: 1.75;
	color: var(--muted);
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.rank-line-card__excerpt a {
	color: inherit;
}

.rank-line-card__excerpt a:hover {
	color: #dfeaff;
}

.pc-software-home__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 24px;
	align-items: start;
}

.pc-software-home__board {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.pc-software-home__box {
	display: grid;
	align-content: start;
	min-height: 206px;
	padding: 22px 22px 20px;
	border-radius: 22px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
		rgba(8, 20, 38, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.07);
}

.pc-software-home__box-title {
	position: relative;
	margin: 0 0 18px;
	padding-left: 14px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.pc-software-home__box-title::before {
	content: "";
	position: absolute;
	top: 4px;
	left: 0;
	width: 4px;
	height: 18px;
	border-radius: 999px;
	background: linear-gradient(180deg, #4f8dff, #34d399);
}

.pc-software-home__box-title a {
	color: #eef4ff;
}

.pc-software-home__box-title a:hover {
	color: #ffffff;
}

.pc-software-home__links {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px 18px;
	align-content: start;
}

.pc-software-home__link {
	display: block;
	color: #d6e4f8;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.55;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pc-software-home__link:hover {
	color: #ffffff;
}

.pc-software-home__rank {
	min-width: 0;
	padding-left: 24px;
	border-left: 1px solid rgba(117, 151, 194, 0.16);
}

.pc-software-home__rank-title {
	margin: 0 0 18px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}

.pc-software-home__rank-top {
	display: grid;
	grid-template-columns: auto 76px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	margin-bottom: 18px;
	padding: 16px;
	border-radius: 20px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)),
		rgba(8, 20, 38, 0.92);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.pc-software-home__rank-num {
	font-size: 42px;
	font-weight: 700;
	line-height: 1;
	color: #ff8c4a;
}

.pc-software-home__rank-media {
	display: block;
	width: 76px;
	height: 76px;
	border-radius: 20px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.04);
}

.pc-software-home__rank-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pc-software-home__rank-top-title {
	margin: 0 0 8px;
	font-size: 20px;
	line-height: 1.35;
}

.pc-software-home__rank-top-title a {
	color: #ffffff;
}

.pc-software-home__rank-top-title a:hover {
	color: #dfeaff;
}

.pc-software-home__rank-top-excerpt {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.75;
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.pc-software-home__rank-top-more {
	display: inline-flex;
	align-items: center;
	margin-top: 10px;
	color: #8fb4ff;
	font-size: 14px;
	font-weight: 600;
}

.pc-software-home__rank-top-more:hover {
	color: #dce8ff;
}

.pc-software-home__rank-list {
	list-style: none;
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
}

.pc-software-home__rank-item {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
}

.pc-software-home__rank-index {
	color: #ff9b61;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
}

.pc-software-home__rank-link {
	display: block;
	color: #eef4ff;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.55;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pc-software-home__rank-link:hover {
	color: #ffffff;
}

.icon-grid-home__grid {
	display: grid;
	grid-template-columns: repeat(10, minmax(0, 1fr));
	gap: 20px;
}

.icon-grid-home__item {
	min-width: 0;
	text-align: center;
}

.icon-grid-home__link {
	display: grid;
	justify-items: center;
	gap: 14px;
}

.icon-grid-home__link:hover .icon-grid-home__name {
	color: #ffffff;
}

.icon-grid-home__icon {
	width: 90px;
	height: 90px;
	border-radius: 24px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.04);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.icon-grid-home__icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.icon-grid-home__name {
	width: 100%;
	color: #d4e4fb;
	font-size: 14px;
	line-height: 1.65;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color 0.2s ease;
}

@keyframes aidownPanelFadeIn {
	from {
		opacity: 0;
		transform: translateY(4px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

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

.software-single__related-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.software-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 20px;
	border-radius: 20px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)),
		rgba(8, 20, 38, 0.92);
	border: 1px solid rgba(255, 255, 255, 0.07);
	transition: 0.2s ease;
}

.software-card:hover {
	transform: translateY(-3px);
	border-color: rgba(151, 188, 255, 0.32);
	box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.software-card__media {
	width: 72px;
	height: 72px;
	margin-bottom: 16px;
	border-radius: 22px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.04);
}

.software-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.software-card__body {
	min-width: 0;
	flex: 1 1 auto;
}

.software-card__title {
	margin: 0 0 10px;
	font-size: 18px;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.software-card__excerpt {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.8;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.software-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: auto;
	padding-top: 16px;
	color: var(--muted);
	font-size: 13px;
}

.single-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	color: var(--muted);
	font-size: 13px;
}

.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 0 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: #d6e6ff;
	font-size: 14px;
	font-weight: 600;
	transition: 0.2s ease;
}

.pagination a.page-numbers:hover {
	background: rgba(62, 129, 255, 0.16);
	border-color: rgba(120, 173, 255, 0.26);
	transform: translateY(-1px);
}

.pagination .page-numbers.current {
	background: rgba(34, 197, 94, 0.12);
	border-color: rgba(34, 197, 94, 0.22);
	color: #c8f6d4;
}

.channel-page__hero .hero-search__layout {
	align-items: start;
}

.channel-page__eyebrow {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 12px;
	margin-bottom: 14px;
	border-radius: 999px;
	background: rgba(62, 129, 255, 0.1);
	border: 1px solid rgba(96, 152, 255, 0.16);
	color: #cfe0ff;
	font-size: 13px;
	font-weight: 600;
}

.channel-page__eyebrow a:hover {
	color: #ffffff;
}

.channel-page__nav-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.channel-page__nav-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 18px;
	border-radius: 999px;
	color: #d7e6ff;
	font-size: 14px;
	font-weight: 600;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: 0.2s ease;
}

.channel-page__nav-pill:hover,
.channel-page__nav-pill.is-current {
	background: rgba(62, 129, 255, 0.14);
	border-color: rgba(120, 173, 255, 0.26);
	color: #ffffff;
}

.channel-page__software-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.channel-page__software-grid .software-card {
	padding: 18px;
	border-radius: 18px;
}

.channel-page__software-grid .software-card__media {
	width: 64px;
	height: 64px;
	margin-bottom: 14px;
	border-radius: 18px;
}

.channel-page__software-grid .software-card__title {
	margin-bottom: 8px;
	font-size: 16px;
}

.channel-page__software-grid .software-card__excerpt {
	font-size: 13px;
	line-height: 1.7;
}

.tag {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	color: #d5e5fb;
	font-size: 12px;
	border: 1px solid rgba(255, 255, 255, 0.07);
}

.tag--accent {
	background: rgba(34, 197, 94, 0.12);
	color: #baf7cc;
	border-color: rgba(34, 197, 94, 0.2);
}

.stack {
	display: grid;
	gap: 24px;
}

.content-panel h2 {
	margin: 0 0 16px;
	font-size: 24px;
}

.content-panel p,
.content-panel li {
	color: #c8d6ea;
	line-height: 1.85;
}

.single-hero {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.single-cover {
	padding: 24px;
	background: rgba(255, 255, 255, 0.04);
	border-radius: 24px;
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.single-cover img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

.single-title {
	margin: 0;
	font-size: clamp(34px, 4vw, 54px);
	line-height: 1.06;
	letter-spacing: -0.03em;
}

.review-article {
	width: min(820px, 100%);
	margin: 0 auto;
	gap: 14px;
}

.review-article__hero,
.review-article__body {
	padding: 26px 30px;
}

.review-article__hero {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(140deg, rgba(60, 120, 255, 0.08), rgba(10, 24, 44, 0) 40%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)),
		rgba(9, 20, 37, 0.96);
}

.review-article__hero .single-title {
	max-width: 680px;
	font-size: clamp(30px, 4.2vw, 42px);
}

.review-article__eyebrow {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 12px;
	margin-bottom: 14px;
	border-radius: 999px;
	background: rgba(67, 115, 255, 0.1);
	border: 1px solid rgba(99, 145, 255, 0.16);
	color: #d8e6ff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.review-article__excerpt {
	max-width: 100%;
	margin: 14px 0 0;
	color: #d9e6f8;
	font-size: 15px;
	line-height: 1.9;
}

.review-article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	color: #98aac7;
	font-size: 13px;
	line-height: 1.8;
}

.review-article__meta-item {
	color: #aebed6;
}

.review-article__meta-sep {
	color: rgba(142, 162, 194, 0.55);
}

.review-article__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.review-article__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-size: 12px;
	font-weight: 700;
	transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.review-article__action:hover {
	transform: translateY(-1px);
}

.review-article__action--primary {
	background: linear-gradient(135deg, #3a76ef, #2559d7);
	color: #ffffff;
	box-shadow: 0 12px 24px rgba(25, 79, 211, 0.2);
}

.review-article__action--secondary {
	background: rgba(255, 255, 255, 0.03);
	border-color: rgba(120, 173, 255, 0.16);
	color: #d6e6ff;
}

.review-article__action--download {
	background: rgba(34, 197, 94, 0.1);
	border-color: rgba(34, 197, 94, 0.16);
	color: #c7f7d5;
}

.review-article__content {
	max-width: 680px;
	margin: 0 auto;
	color: #cad7eb;
	font-size: 15px;
}

.review-article__content > *:first-child {
	margin-top: 0;
}

.review-article__content > *:last-child {
	margin-bottom: 0;
}

.review-article__content h2,
.review-article__content h3 {
	margin-top: 1.9em;
	margin-bottom: 0.8em;
	color: #eff5ff;
	letter-spacing: -0.02em;
}

.review-article__content h2 {
	padding-left: 14px;
	border-left: 3px solid rgba(82, 137, 255, 0.75);
	font-size: 26px;
}

.review-article__content h3 {
	font-size: 20px;
}

.review-article__content p,
.review-article__content li {
	color: #cad7eb;
	line-height: 1.92;
}

.review-article__content ul,
.review-article__content ol {
	padding-left: 24px;
}

.review-article__content strong {
	color: #f3f7ff;
}

.review-article__content blockquote {
	margin: 24px 0;
	padding: 18px 20px;
	border-radius: 18px;
	border: 1px solid rgba(120, 173, 255, 0.14);
	background: rgba(255, 255, 255, 0.03);
	color: #dce8fb;
}

.review-article__content table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
}

.review-article__content th,
.review-article__content td {
	padding: 14px 16px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	text-align: left;
	vertical-align: top;
}

.review-article__content th {
	color: #eef5ff;
	background: rgba(255, 255, 255, 0.04);
}

.software-single__hero-panel {
	padding: 34px;
}

.software-single__hero {
	display: grid;
	grid-template-columns: 290px minmax(0, 1fr);
	gap: 30px;
	align-items: start;
}

.software-single__visual {
	display: grid;
	gap: 14px;
}

.software-single__cover {
	padding: 20px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
		rgba(8, 20, 38, 0.96);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 28px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.software-single__cover img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.22));
}

.software-single__overview {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.software-single__overview-card {
	padding: 16px 18px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.07);
}

.software-single__overview-card span {
	display: block;
	margin-bottom: 8px;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.5;
}

.software-single__overview-card strong {
	display: block;
	color: #eef4ff;
	font-size: 15px;
	line-height: 1.55;
	word-break: break-word;
}

.software-single__main {
	min-width: 0;
	display: grid;
	align-content: start;
	gap: 18px;
	padding-top: 6px;
}

.software-single__eyebrow {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 12px;
	margin-bottom: 16px;
	border-radius: 999px;
	background: rgba(62, 129, 255, 0.12);
	border: 1px solid rgba(96, 152, 255, 0.18);
	color: #cfe0ff;
	font-size: 13px;
	font-weight: 600;
	justify-self: start;
}

.software-single__summary {
	margin: 0;
	max-width: 820px;
	color: #d6e1f3;
	font-size: 16px;
	line-height: 1.95;
}

.software-single__access-grid {
	display: grid;
	gap: 16px;
	width: min(820px, 100%);
	max-width: 100%;
	justify-self: start;
	margin-top: 14px;
}

.software-single__access-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	align-items: stretch;
}

.software-single__access-row--with-secondary {
	grid-template-columns: minmax(0, 1fr) 138px;
}

.software-single__access-row--secondary-only {
	grid-template-columns: 138px;
}

.software-single__access-card {
	position: relative;
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr) 44px;
	gap: 18px;
	align-items: center;
	padding: 20px 20px 20px 22px;
	border-radius: 26px;
	background:
		linear-gradient(135deg, rgba(72, 124, 214, 0.075), rgba(15, 28, 48, 0) 44%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
		rgba(8, 20, 38, 0.94);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.software-single__side-action {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 10px;
	min-height: 100%;
	padding: 14px 10px;
	border-radius: 20px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
		rgba(8, 20, 38, 0.94);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: #f3f7ff;
	text-align: center;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
	cursor: pointer;
}

.software-single__side-action:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.software-single__side-action--article {
	border-color: rgba(110, 156, 255, 0.22);
}

.software-single__side-action--article:hover {
	border-color: rgba(140, 182, 255, 0.38);
}

.software-single__side-action--video {
	border-color: rgba(255, 157, 104, 0.22);
}

.software-single__side-action--video:hover {
	border-color: rgba(255, 184, 142, 0.38);
}

.software-single__side-action-icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 16px;
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.16),
		0 12px 22px rgba(0, 0, 0, 0.2);
}

.software-single__side-action--article .software-single__side-action-icon {
	background: linear-gradient(135deg, #4b7cff, #2758d8);
}

.software-single__side-action--video .software-single__side-action-icon {
	background: linear-gradient(135deg, #ff8a4c, #e25f26);
}

.software-single__side-action-icon svg {
	width: 22px;
	height: 22px;
}

.software-single__side-action-label {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

.software-single__access-card:hover {
	transform: translateY(-2px);
	border-color: rgba(120, 173, 255, 0.28);
	box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.software-single__access-card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 40%);
	opacity: 0.9;
}

.software-single__access-icon {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	border-radius: 20px;
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.16),
		0 12px 22px rgba(0, 0, 0, 0.2);
}

.software-single__access-icon--website {
	background: linear-gradient(135deg, #3478ff, #2351d6);
}

.software-single__access-icon--download {
	background: linear-gradient(135deg, #1fbf74, #128f56);
}

.software-single__access-icon svg {
	width: 30px;
	height: 30px;
}

.software-single__access-body {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 5px;
	min-width: 0;
}

.software-single__access-label {
	color: #f1f6ff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}

.software-single__access-note {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.8;
	word-break: break-word;
}

.software-single__access-arrow {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: #a8c4ff;
	transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.software-single__access-arrow svg {
	width: 18px;
	height: 18px;
}

.software-single__access-card:hover .software-single__access-arrow {
	transform: translate(2px, -2px);
	border-color: rgba(144, 184, 255, 0.24);
	color: #d6e4ff;
}

.software-single__section {
	padding: 28px;
}

.software-video-modal[hidden] {
	display: none;
}

.software-video-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	pointer-events: none;
}

.software-video-modal__backdrop {
	position: absolute;
	inset: 0;
	background: transparent;
	pointer-events: auto;
}

.software-video-modal__dialog {
	position: fixed;
	top: var(--software-video-modal-top, 96px);
	left: var(--software-video-modal-left, calc(100vw - 388px));
	z-index: 1;
	width: min(344px, calc(100vw - 48px));
	border-radius: 24px;
	overflow: visible;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
		rgba(7, 18, 34, 0.98);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
	opacity: 0;
	transform: translateY(10px) scale(0.96);
	transform-origin: left center;
	transition: opacity 0.18s ease, transform 0.18s ease;
	pointer-events: auto;
}

.software-video-modal.is-open .software-video-modal__dialog {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.software-video-modal__dialog::before {
	content: "";
	position: absolute;
	top: var(--software-video-modal-arrow-top, 92px);
	left: -9px;
	width: 18px;
	height: 18px;
	border-left: 1px solid rgba(255, 255, 255, 0.1);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 5px 0 0 0;
	background: rgba(9, 21, 39, 0.98);
	transform: translateY(-50%) rotate(-45deg);
	box-shadow: -8px -8px 22px rgba(0, 0, 0, 0.12);
}

.software-video-modal[data-pointer-side="right"] .software-video-modal__dialog {
	transform-origin: right center;
}

.software-video-modal[data-pointer-side="right"] .software-video-modal__dialog::before {
	left: auto;
	right: -9px;
	border-left: 0;
	border-top: 0;
	border-right: 1px solid rgba(255, 255, 255, 0.1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 0 5px 0 0;
	transform: translateY(-50%) rotate(-45deg);
	box-shadow: 8px -8px 22px rgba(0, 0, 0, 0.12);
}

.software-video-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.software-video-modal__header h2 {
	margin: 0;
	font-size: 15px;
	line-height: 1.35;
	color: #f3f7ff;
}

.software-video-modal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: #f7fbff;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.software-video-modal__close span {
	font-size: 22px;
	line-height: 1;
}

.software-video-modal__close:hover {
	background: rgba(255, 255, 255, 0.12);
	transform: scale(1.04);
}

.software-video-modal__body {
	padding: 12px;
}

.software-video-modal__player {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 16px;
	background: #000;
}

body.software-video-modal-open {
	overflow: hidden;
}

.software-single__section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
	margin-bottom: 18px;
}

.software-single__section-head p {
	margin: 8px 0 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.8;
}

.software-single__richtext {
	color: #cad7eb;
}

.software-single__richtext > *:first-child {
	margin-top: 0;
}

.software-single__richtext > *:last-child {
	margin-bottom: 0;
}

.software-single__lead {
	margin: 0 0 18px;
	padding: 18px 20px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.07);
	color: #dce8fb;
	font-size: 15px;
	line-height: 1.95;
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.button--ghost {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(188, 209, 255, 0.3);
	color: #d4e4ff;
}

.site-footer {
	background: transparent;
}

.site-footer__inner {
	padding: 0 0 34px;
	color: var(--muted);
	text-align: center;
}

.site-disclaimer {
	margin-top: 18px;
	padding: 18px 20px;
	border-radius: 16px;
	border: 1px solid rgba(117, 151, 194, 0.14);
	background: rgba(255, 255, 255, 0.03);
	text-align: left;
}

.site-disclaimer__title {
	margin: 0 0 10px;
	font-size: 15px;
	color: #d7e6ff;
}

.site-disclaimer p {
	margin: 0 0 8px;
	color: #91a7c8;
	font-size: 13px;
	line-height: 1.9;
}

.site-disclaimer p:last-child {
	margin-bottom: 0;
}

@media (max-width: 1320px) {
	.hero-search__layout {
		grid-template-columns: 1fr;
	}

	.featured-grid--ai-featured,
	.ai-tools-grid,
	.rank-columns-home__grid,
	.software-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.software-single__related-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.channel-page__software-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.icon-grid-home__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

@media (max-width: 1080px) {
	.single-hero {
		grid-template-columns: 1fr;
	}

	.software-single__hero {
		grid-template-columns: 1fr;
	}

	.software-single__access-grid {
		grid-template-columns: 1fr;
	}

	.pc-software-home__layout {
		grid-template-columns: 1fr;
	}

	.pc-software-home__rank {
		padding-left: 0;
		border-left: 0;
		padding-top: 4px;
	}
}

@media (max-width: 860px) {
	.software-single__access-row--with-secondary,
	.software-single__access-row--secondary-only {
		grid-template-columns: 1fr;
	}

	.software-single__side-action {
		flex-direction: row;
		justify-content: flex-start;
		text-align: left;
		min-height: auto;
	}

	.software-video-modal {
		pointer-events: auto;
	}

	.software-video-modal__backdrop {
		background: rgba(3, 8, 18, 0.72);
		backdrop-filter: blur(8px);
	}

	.software-video-modal__dialog {
		position: relative;
		top: auto;
		left: auto;
		width: min(520px, calc(100vw - 36px));
		margin: 18px auto;
		transform-origin: center center;
	}

	.software-video-modal__dialog::before {
		display: none;
	}

	.software-video-modal__header {
		padding: 16px 16px 12px;
	}

	.software-video-modal__header h2 {
		font-size: 18px;
	}

	.software-video-modal__body {
		padding: 0 16px 16px;
	}

	.software-video-modal__player {
		border-radius: 18px;
	}
}

@media (max-width: 980px) {
	.site-header__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-nav {
		width: 100%;
	}

	.nav-menu {
		justify-content: flex-start;
	}

	.icon-grid-home__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

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

@media (max-width: 820px) {
	.search-form {
		grid-template-columns: 1fr;
	}

	.review-article__hero .single-title {
		font-size: clamp(30px, 10vw, 42px);
	}

	.review-article__hero,
	.review-article__body {
		padding: 24px 22px;
	}

	.ai-tools-home__tabs {
		gap: 10px;
	}

	.ai-tools-home__tab {
		min-height: 40px;
		padding: 0 16px;
	}

	.software-single__overview {
		grid-template-columns: 1fr;
	}

	.pc-software-home__board {
		grid-template-columns: 1fr;
	}

	.icon-grid-home__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

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

@media (max-width: 640px) {
	body.admin-bar .site-header {
		top: 46px;
	}

	.review-article__meta {
		gap: 6px;
		font-size: 12px;
	}

	.review-article__meta-sep {
		display: none;
	}

	.review-article__actions {
		flex-direction: column;
	}

	.review-article__action {
		width: 100%;
	}

	.site-container {
		width: calc(100% - 12px);
	}

	.hero-search,
	.archive-panel,
	.featured-zone,
	.content-panel,
	.home-frame-panel {
		padding: 20px;
	}

	.software-single__hero-panel,
	.software-single__section {
		padding: 20px;
	}

	.featured-grid--ai-featured,
	.ai-tools-grid,
	.rank-columns-home__grid,
	.software-grid {
		grid-template-columns: 1fr;
	}

	.software-single__related-grid {
		grid-template-columns: 1fr;
	}

	.channel-page__software-grid {
		grid-template-columns: 1fr;
	}

	.pc-software-home__links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pc-software-home__rank-top {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.pc-software-home__rank-media {
		grid-column: 2;
		grid-row: 1 / span 2;
		justify-self: end;
	}

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

	.section-headline {
		flex-direction: column;
		align-items: flex-start;
	}

	.search-form button {
		width: 100%;
	}

	.brand__title {
		font-size: 20px;
	}
}
