* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html, body {
	height: 100vh;
	overflow: hidden;
	background-color: #ffffff;
	font-family: "Microsoft YaHei", system-ui, -apple-system, sans-serif;
	color: #1a1a1a;
}
body {
	display: flex;
	flex-direction: column;
}
:root {
	--green-main: #00b341;
	--gray-light: #f3f4f6;
	--gray-border: #e5e7eb;
	--gray-text: #6b7280;
	--shadow-light: 0 1px 6px rgba(0,0,0,0.03);
	--shadow-card: 0 2px 12px rgba(0,0,0,0.05);
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 16px;
	--content-max-width: 680px;
	--pc-body-height: 740px;
	--sidebar-pc-width: 160px;
	--active-yellow: #fff0b3;
}
.top-header {
	text-align: center;
	padding: 24px 16px 12px;
}
.logo-wrap {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	position: relative;
	justify-content: center;
}
.logo-text-group {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.logo-title {
	font-size: 30px;
	font-weight: 700;
	letter-spacing: 1px;
	font-family: cursive;
}
.logo-eng {
	font-size: 12px;
	color: var(--gray-text);
	letter-spacing: 2px;
	margin-top: 2px;
	font-family: cursive;
}
.logo-tag {
    position: absolute;
    top: 6px;
    right: -88px;
    background: #d3374d;
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 50px; 
}
.nav-tab-bar {
	display: flex;
	justify-content: center;
	margin-top: 16px;
	gap: 0;
}
.nav-tab-item {
	padding: 10px 24px;
	background: #ffffff;
	box-shadow: var(--shadow-light);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	cursor: default;
}
.nav-tab-item:first-child {
	border-radius: var(--radius-md) 0 0 var(--radius-md);
	position: relative;
	top: -4px;
}
.nav-tab-item:last-child {
	border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.nav-tab-item i {
	color: var(--green-main);
	font-size: 16px;
}
.main-container {
	width: min(94%, var(--content-max-width));
	margin: 20px auto;
	display: flex;
	gap: 18px;
	align-items: stretch;
	flex: 1;
	min-height: 0;
}
.sidebar-category {
	width: var(--sidebar-pc-width);
	background: #ffffff;
	border-radius: var(--radius-md);
	padding: 14px 10px;
	overflow-y: auto;
	border: 1px solid #e0e0e0;
}
.sidebar-category::-webkit-scrollbar {
	width: 4px;
}
.sidebar-category::-webkit-scrollbar-thumb {
	background: #ddd;
	border-radius: 4px;
}
.category-btn {
	display: block;
	width: 100%;
	text-align: center;
	font-size: 14px;
	padding: 9px 6px;
	margin-bottom: 8px;
	border-radius: var(--radius-sm);
	background: var(--gray-light);
	color: var(--gray-text);
	cursor: pointer;
	border: 1px solid transparent;
	font-weight: bold;
}
.category-btn:hover {
	background: #eef0f5;
}
.category-btn.active {
	background: #07C160;
	color: #fff;
	font-weight: bold;
	border-color: #07C160;
}
.fhzy{
	background: #000;
	display: block;
	width: 100%;
	text-align: center;
	font-size: 14px;
	padding: 9px 6px;
	margin-bottom: 8px;
	border-radius: var(--radius-sm);
	color: var(--gray-text);
	cursor: pointer;
	border: 1px solid transparent;
	font-weight: bold;
}
.fhzy:hover{
	background: #222;
}
.fhzy a{
	text-decoration: none;
	color: #fff;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}
.fhzy img{
	width: 16px;
	height: 16px;
}
.video-card-box {
	flex: 1;
	background: #ffffff;
	border-radius: var(--radius-lg);
	padding: 22px;
	display: flex;
	flex-direction: column;
	border: 1px solid #e0e0e0;
}
#player {
	width: 100%;
	height: calc(100% - 64px);
	border-radius: var(--radius-md);
	background: #000;
	display: block;
	object-fit: cover;
}
.control-btn-wrap {
	display: flex;
	gap: 16px;
	margin-top: 18px;
	justify-content: center;
}
.control-btn-wrap button {
	min-width: 100px;
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	border: 1px solid #ccc;
	background: var(--gray-light);
	font-size: 14px;
	cursor: pointer;
	font-weight: bold;
}
#home {
	color: var(--green-main);
	font-weight: bold;
}
#switch.off {
	color: var(--gray-text);
}
.control-btn-wrap button:hover {
	background: #e9ebf0;
}
.footer-tip {
	text-align: center;
	margin-top: 24px;
	font-size: 14px;
	color: #9ca3af;
}
.footer-tip kbd {
	background: #e5e7eb;
	padding: 3px 8px;
	border-radius: 4px;
	font-family: monospace;
	margin: 0 4px;
}
.copyright-text {
	text-align: center;
	font-size: 12px;
	color: #aaa;
	margin-top: 10px;
}
@media (max-width: 760px) {
	html, body {
		overflow: hidden;
		height: 100vh;
	}
	:root {
		--content-max-width: 100%;
	}
	.top-header {
		padding: 12px 8px 6px;
	}
	.logo-title {
		font-size: 22px;
	}
	.logo-tag {
		position: relative;
		right: auto;
		top: -4px;
		font-size: 10px;
		padding: 2px 6px
	}
	.main-container {
		flex-direction: column;
		height: auto;
		flex: 1;
		gap: 10px;
		width: 96%;
		margin: 10px auto;
		min-height: 0;
	}
	.sidebar-category {
		width: 100%;
		height: auto;
		flex-shrink: 0;
		overflow-x: auto;
		overflow-y: hidden;
		display: flex;
		gap: 6px;
		padding: 10px 8px;
		scrollbar-width: none;
	}
	.sidebar-category::-webkit-scrollbar {
		display: none;
	}
	.category-btn, .fhzy {
		flex-shrink: 0;
		width: auto;
		margin-bottom: 0;
		padding: 7px 12px;
		font-size: 13px;
		white-space: nowrap;
	}
	.video-card-box {
		padding: 12px;
		flex: 1;
		min-height: 0;
	}
	#player {
		width: 100%;
		height: calc(100% - 64px);
		min-height: 0;
	}
	.nav-tab-item {
		padding: 7px 12px;
		font-size: 13px;
	}
	.control-btn-wrap {
		flex-wrap: wrap;
		gap: 8px;
		margin-top: 12px;
	}
	.control-btn-wrap button {
		min-width: 95px;
		padding: 10px 8px;
		font-size: 14px;
	}
	.footer-tip {
		margin-top: 14px;
		font-size: 13px;
		padding: 0 10px;
	}
	.copyright-text {
		margin-top: 6px;
		padding-bottom: 12px;
	}
}
@media print {
	.print-ignore {
		display: none !important;
	}
}
