/* 基类：基于 最大屏幕 + 有侧边栏 下进行适配 */

@media (max-width: 1760px) {}

@media (max-width: 1400px) {
	html .eeaccn_vplayer {
		height: 450px
	}

	html .eeaccn_wallpaper__list {
		grid-template-columns: repeat(3, 1fr)
	}

	html .eeaccn_video__list-item .item .thumb {
		height: 210px
	}

	html .eeaccn_video__detail-info .thumbnail {
		width: 165px;
		height: 235px
	}

	html .eeaccn_video__player-play {
		height: 480px
	}

	html .eeaccn_live__play-player {
		height: 500px
	}

	/* html .eeaccn_detail__article-video .play .box iframe {
		min-height: 500px
	} */

	html .eeaccn_detail__leaving-list {
		height: 450px
	}

	html .eeaccn_detail__related-content .item {
		height: 110px
	}

	html .eeaccn_list__item.single .thumbnail {
		height: 250px
	}

	html .eeaccn_list__item.multiple .thumbnail {
		grid-template-rows: 160px
	}

	html .eeaccn_census__server-item .content #work,
	html .eeaccn_census__server-item .content #flow {
		height: 300px
	}
}

@media (max-width: 1400px) {
	/* 1024–1400 桌面宽度下顶栏导航 + 搜索框会超出视口，收起行内搜索框，改用搜索图标 */
	html .eeaccn_header__above-search {
		display: none
	}

	html .eeaccn_header__above-searchicon {
		display: flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 34px;
		width: 34px;
		min-width: 34px;
		height: 34px;
		margin-left: 10px;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--main);
		cursor: pointer
	}

	html .eeaccn_header__above-nav .item {
		margin-right: 8px;
		padding: 0 6px;
		font-size: 14px
	}

	html .eeaccn_header__above-nav .eeaccn_dropdown__link a {
		font-size: 14px;
		padding-left: 6px
	}

	html .eeaccn_header__above-logo {
		flex: 0 0 auto
	}

	html .eeaccn_header__above-logo img {
		/* 与 1440 以上保持同一高度：避免 Edge 窗口 1366 时 Logo 被压到 36px，
		   而夸克窗口更宽时仍为 48px，看起来像“不同浏览器字号不一样”。 */
		height: 48px
	}

	html .eeaccn_header__above-nav {
		flex: 1 1 auto;
		min-width: 0;
		overflow-x: auto;
		overflow-y: hidden;
		scrollbar-width: none
	}

	html .eeaccn_header__above-nav::-webkit-scrollbar {
		display: none
	}
}

@media (max-width: 1200px) {
	html .eeaccn_vplayer {
		height: 430px
	}

	html .eeaccn_detail__friends {
		grid-template-columns: repeat(2, 1fr)
	}

	/* html .eeaccn_detail__article-video .play .box iframe {
		min-height: 430px
	} */

	/* html .eeaccn_detail__article-video .episodes .box {
		grid-template-columns: repeat(5, 1fr)
	} */

	html .eeaccn_detail__leaving-list {
		height: 400px
	}

	html .eeaccn_detail__related-content .item {
		height: 90px
	}

	html .eeaccn_video__list-item {
		grid-template-columns: repeat(4, 1fr)
	}

	html .eeaccn_video__list-item .item .title {
		height: 34px;
		line-height: 34px
	}

	html .eeaccn_video__detail-info .thumbnail {
		width: 155px;
		height: 220px
	}

	html .eeaccn_video__player-play {
		height: 450px
	}

	html .eeaccn_video__source-list {
		grid-template-columns: repeat(5, 1fr)
	}

	html .eeaccn_owo__contain .box .scroll .item {
		width: calc(100% / 10)
	}

	html .eeaccn_owo__contain .box .scroll:nth-child(5) .item {
		width: calc(100% / 3);
	}

	html .eeaccn_live__play-player {
		height: 430px
	}

	html .eeaccn_live__list {
		grid-template-columns: repeat(2, 1fr)
	}

	html .eeaccn_list__item.single .thumbnail {
		height: 210px
	}

	html .eeaccn_list__item.multiple .thumbnail {
		grid-template-rows: 125px
	}

	/*
	html .eeaccn_list__item.default .thumbnail,
	html .eeaccn_list__loading .item .thumbnail {
		width: 185px;
		height: 125px
	}
	*/

	html .eeaccn_index__hot-list {
		-webkit-column-gap: 10px;
		column-gap: 10px
	}

	html .eeaccn_index__hot-list .item .link .inner .image {
		height: 90px
	}

	html .eeaccn_index__banner {
		display: block
	}

	html .eeaccn_index__banner-recommend {
		grid-template-columns: repeat(3, 1fr);
	}

	html .eeaccn_census__basic-item.category #category {
		height: 220px
	}

	html .eeaccn_census__server {
		grid-template-columns: 45% 1fr
	}

	html .eeaccn_census__server-item .content #work,
	html .eeaccn_census__server-item .content #flow {
		height: 280px
	}

	html .eeaccn_census__lately .content #lately {
		height: 280px
	}

	html .eeaccn_index__banner>.swiper-container {
		height: 280px
	}

	html .eeaccn_index__banner>.swiper-container .item {
		height: 280px
	}

	/* 
	html .eeaccn_list__item.default .information .abstract {
		-webkit-line-clamp: 1;
		max-height: 22px;
	}
	*/
}

@media (max-width: 992px) {
	html .eeaccn_vplayer {
		height: 400px
	}

	html .eeaccn_aside {
		display: none
	}

	html .eeaccn_video__player-play {
		height: 400px
	}

	html .eeaccn_live__play-player {
		height: 400px
	}

	/* html .eeaccn_detail__article-video .play .box iframe {
		min-height: 400px
	} */

	/* html .eeaccn_detail__article-video .episodes .box {
		grid-template-columns: repeat(5, 1fr)
	} */

	html .eeaccn_detail__leaving-list {
		height: 350px
	}

	html .eeaccn_detail__related-content .item {
		height: 100px;
	}

	html .eeaccn_index__hot-list .item .link .inner .image {
		height: 100px;
	}

	html .eeaccn_index__banner-recommend .item {
		height: 135px;
		/*margin: 0 !important*/
	}

	html .eeaccn_header__above-logo {
		padding-right: 0
	}

	/* html .eeaccn_header__above-logo::after {
		display: none
	} */

	html .eeaccn_header__above-search {
		display: none
	}

	html .eeaccn_header__above-searchicon {
		display: block
	}

	html .eeaccn_census__basic {
		grid-template-columns: unset
	}

	html .eeaccn_census__lately .content #lately {
		height: 265px
	}

	html .eeaccn_census__server {
		grid-template-columns: unset
	}

	html .eeaccn_census__server-item .content #work,
	html .eeaccn_census__server-item .content #flow {
		height: 250px
	}

	html .eeaccn_index__banner>.swiper-container {
		height: 250px
	}

	html .eeaccn_index__banner>.swiper-container .item {
		height: 250px
	}
}

@media (max-width: 768px) {
	/* 手机导航栏恢复原尺寸，桌面端的 48px 对齐不影响移动端。 */
	html .eeaccn_header__above-logo img {
		height: 36px
	}

	html .eeaccn_vplayer {
		height: 225px
	}

	html .eeaccn_header.active,
	html .eeaccn_header:target {
		top: 0;
	}

	html .body-scroll .eeaccn_header {
		box-shadow: 0 4px 10px var(--main-shadow);
	}

	/* html #HeaderCounter {
		bottom: -4px;
	} */

	html .eeaccn_header__above .eeaccn_container {
		justify-content: space-between;
		padding: 0 18px;
		border: 1px solid transparent;
	}

	html .eeaccn_header__above-nav {
		display: none
	}

	html .eeaccn_header__above-logo {
		height: 50px;
		margin-right: 0
	}

	html .eeaccn_header__above-searchicon {
		margin-left: 0
	}

	html .eeaccn_header__above-slideicon {
		display: block;
		position: relative;
		background-color: transparent;
		background-image: none;
		border: 1px solid transparent;
	}

	html .eeaccn_header__below {
		display: none
	}

	html .eeaccn_index__banner-recommend {
		gap: 10px;
		grid-template-columns: repeat(2, 1fr);
	}

	html .eeaccn_index__banner-recommend .item {
		height: 110px;
	}

	html .eeaccn_index__hot-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px
	}

	html .eeaccn_index__title {
		display: block;
	}

	html .eeaccn_index__title-content {
		margin-bottom: 5px;
	}

	html .eeaccn_list__item .information .title {
		font-size: 16px;
		line-height: unset;
	}

	html .eeaccn_list__item .information .title::after {
		height: 1.5px;
		transition: all 0.5s;
	}

	html .eeaccn_list__item.default .information .abstract {
		display: none
	}

	html .eeaccn_list__item.single .thumbnail {
		height: 130px;
		/* margin-bottom: 0 */
	}

	html .eeaccn_list__item.single .thumbnail time,
	html .eeaccn_list__item.single .thumbnail svg {
		display: none
	}

	html .eeaccn_list__item.default .information .title {
		font-size: 15px;
	}

	html .eeaccn_list__item.default .thumbnail,
	html .eeaccn_list__loading .item .thumbnail {
		width: 138px;
		height: 97px;
		margin-right: 15px;
	}

	html .eeaccn_list__item.default .thumbnail time,
	html .eeaccn_list__item.default .thumbnail svg {
		display: none
	}

	html .eeaccn_list__item.default .title {
		/* padding-bottom: 2px;
		margin-bottom: 3px; */
	}

	html .eeaccn_list__item.default .meta .items {
		width: 100%
	}

	html .eeaccn_list__item.default .meta .items li:nth-child(1) {
		display: none;
	}

	html .eeaccn_list__item.multiple .thumbnail {
		grid-template-rows: 70px;
		gap: 10px
	}

	html .eeaccn_list__item.none .information {
		height: 120px
	}

	html .eeaccn_list__item.none .abstract {
		display: -webkit-box;
		font-size: 13px
	}

	html .eeaccn_list__loading .item .information .title {
		margin-bottom: 10px;
		height: 20px
	}

	html .eeaccn_list__loading .item .information p {
		height: 15px
	}

	html .eeaccn_wallpaper__list {
		grid-template-columns: repeat(2, 1fr)
	}

	/* html .eeaccn_wallpaper__pagination {
		justify-content: center
	} */

	html .eeaccn_detail__friends {
		grid-template-columns: repeat(1, 1fr)
	}

	html .eeaccn_detail__title {
		font-size: 18px
	}

	html .eeaccn_detail__count-information {
		width: 100%
	}

	html .eeaccn_detail__count-information .meta {
		width: 100%;
		height: unset
	}

	html .eeaccn_detail__count-information .meta .item {
		font-size: 12px;
	}

	html .eeaccn_detail__count::after {
		display: none
	}

	html .eeaccn_detail__overdue-wrapper {
		padding: 10px
	}

	html .eeaccn_detail__overdue-wrapper .title {
		margin-bottom: 5px;
		font-size: 14px
	}

	html .eeaccn_detail__overdue-wrapper .title .icon {
		margin-right: 5px
	}

	html .eeaccn_detail__overdue-wrapper .content {
		font-size: 13px;
		padding-left: 0
	}

	html .eeaccn_detail__article {
		/* font-size: 14px */
		font-size: 15px
	}

	html .eeaccn_detail__article pre[class*='language-'] {
		font-size: 13px
	}

	html .eeaccn_detail__article img:not([class]) {
		max-height: unset;
	}

	/* html .eeaccn_detail__article-video .play .box iframe {
		min-height: 225px
	} */

	/* html .eeaccn_detail__article-video .episodes .box {
		grid-template-columns: repeat(3, 1fr);
		gap: 10px
	} */

	html .eeaccn_detail__leaving-list {
		height: 300px
	}

	html .eeaccn_detail__leaving-list .item {
		font-size: 12px;
		width: 160px;
		min-height: unset
	}

	html .eeaccn_detail__leaving-list .item .user {
		padding: 0 8px;
		height: 35px
	}

	html .eeaccn_detail__leaving-list .item .user .avatar {
		width: 15px;
		height: 15px
	}

	html .eeaccn_detail__leaving-list .item .wrapper {
		padding: 8px
	}

	html .eeaccn_detail__leaving-list .item .wrapper .content {
		height: 109px;
		line-height: 18px
	}

	html .eeaccn_detail__leaving-list .item .wrapper .content .owo_image {
		max-height: 18px
	}

	html .eeaccn_detail__copyright .content .item {
		font-size: 13px
	}

	html .eeaccn_detail__copyright .content .item .icon {
		width: 16px;
		height: 16px
	}

	html .eeaccn_detail__related-content {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px
	}

	html .eeaccn_detail__related-content .item {
		height: 120px
	}

	html .eeaccn_detail__related-content .item h6 {
		font-size: 12px
	}

	html .eeaccn_video__list-item {
		grid-template-columns: repeat(2, 1fr)
	}

	html .eeaccn_video__list-item .item .thumb {
		height: 200px
	}

	html .eeaccn_video__pagination {
		justify-content: center
	}

	html .eeaccn_video__detail-info .thumbnail {
		width: 125px;
		height: 180px
	}

	html .eeaccn_video__detail-info .description dt {
		font-size: 16px;
		margin-bottom: 8px
	}

	html .eeaccn_video__detail-info .description dd {
		font-size: 12px;
		margin-bottom: 5px;
		line-height: 20px;
		max-height: 40px
	}

	html .eeaccn_video__detail-info .description dd:not(:last-child) {
		-webkit-line-clamp: 1
	}

	html .eeaccn_video__player-play {
		height: 225px
	}

	html .eeaccn_video__source-list {
		grid-template-columns: repeat(3, 1fr)
	}

	html .eeaccn_live__pagination {
		justify-content: center
	}

	html .eeaccn_live__list {
		grid-template-columns: repeat(1, 1fr)
	}

	html .eeaccn_live__play-player {
		height: 185px
	}

	html .eeaccn_footer .eeaccn_container {
		flex-direction: column;
		justify-content: center;
		padding-top: 10px;
		padding-bottom: 10px
	}

	html .eeaccn_footer .eeaccn_container>.item {
		padding: 5px 0
	}

	html .eeaccn_footer .eeaccn_container .run {
		margin: 0
	}

	html .eeaccn_owo__contain .box .scroll .item {
		width: calc(100% / 8)
	}

	html .eeaccn_owo__contain .box .scroll:nth-child(5) .item {
		width: calc(100% / 2);
	}

	html .eeaccn_comment {
		position: relative
	}

	html .eeaccn_comment__respond-form .head {
		display: block;
		border-bottom: none
	}

	html .eeaccn_comment__respond-form .head .list {
		border-bottom: 1px solid var(--classB)
	}

	html .eeaccn_comment__respond-form .head .list:nth-child(2)::before,
	html .eeaccn_comment__respond-form .head .list:nth-child(2)::after {
		display: none
	}

	html .eeaccn_comment__respond-form .body .text {
		height: 100px
	}

	html .eeaccn_comment .comment-list__item-contain .term .avatar {
		width: 34px;
		height: 34px;
		margin-right: 10px
	}

	html .eeaccn_comment .comment-list__item-contain .term .content .substance .mobile-author {
		display: inline;
	}

	html .eeaccn_comment .comment-list__item-contain .term .avatar {
		margin-top: 0;
	}

	html .eeaccn_comment .comment-list__item-contain .term .content .substance {
		margin-bottom: 0;
		padding: 8px;
	}

	html .eeaccn_comment .comment-list__item-contain .term {
		align-items: center;
	}

	html .eeaccn_comment .comment-list__item-contain .term .content .user {
		display: none;
	}

	html .eeaccn_comment .comment-list__item-contain .term .content .mobile-handle {
		display: inline;
		float: right;
	}

	html .eeaccn_comment .comment-list__item-contain .term .content .handle .reply .icon {
		margin-right: 0px;
	}

	html .eeaccn_comment .comment-list__item-contain .term .content .handle .date {
		margin-right: 5px;
		font-size: 12px;
	}

	html .eeaccn_comment .comment-list__item-contain .term .content .handle .reply {
		display: inline;
		font-size: 12px;
	}

	html .eeaccn_comment .comment-list__item-contain .term .content .substance .draw_image {
		max-width: 50%;
	}

	/* html .eeaccn_comment .comment-list__item-contain .term .content .user .agent {
		display: none
	} */

	html .eeaccn_comment .comment-list__item-children {
		padding-left: 15px;
	}

	html .eeaccn_comment .comment-list__item .eeaccn_comment__respond {
		margin-left: 0
	}

	html .eeaccn_comment .comment-list__item .eeaccn_comment__respond-type {
		position: static
	}

	html .eeaccn_comment .comment-list__item .eeaccn_comment__respond-type .item:first-child {
		border-bottom-left-radius: 0
	}

	html .eeaccn_comment .comment-list__item .eeaccn_comment__respond-type .item:last-child {
		border-bottom-right-radius: 0
	}

	html .eeaccn_census__basic-item.list .list {
		padding: 10px 15px
	}

	html .eeaccn_census__basic-item.list .list .count p {
		font-size: 22px
	}

	html .eeaccn_census__lately .content {
		padding: 5px
	}

	html .eeaccn_census__lately .content #lately {
		height: 240px
	}

	html .eeaccn_census__server {
		grid-template-columns: unset
	}

	html .eeaccn_census__server-item .content {
		padding: 5px
	}

	html .eeaccn_census__server-item .content #work,
	html .eeaccn_census__server-item .content #flow {
		height: 240px
	}

	html .eeaccn_index__banner>.swiper-container {
		height: 200px
	}

	html .eeaccn_index__banner>.swiper-container .item {
		height: 200px
	}

	html .eeaccn_main .eeaccn_detail .single-metabox {
		font-size: 13px;
	}

	html .eeaccn_main .eeaccn_detail .single-metabox .post-metas item {
		margin: 0 2px;
	}

	html .eeaccn_detail {
		padding: 15px 15px;
	}

	html .eeaccn_index__hot-list .item>.item-body>.item-meta>.meta-right>.meta-comm {
		display: none;
	}

	html .eeaccn_index__hot-list .item .link .inner .image {
		height: 150px;
	}

	::-webkit-scrollbar {
		width: 2.5px;
		height: 2.5px;
	}

	html .eeaccn_bread {
		font-size: 12px;
	}

	html .swiper-button-next,
	html .swiper-button-prev {
		display: none;
	}

	html .eeaccn_list__item,
	html .eeaccn_list__loading .item {
		padding: 10px;
		margin-bottom: 10px;
	}

	html .eeaccn_list__item.default .line {
		top: 11px;
		left: 3.5px;
		width: 3px;
		height: 25px;
	}

	html .relates-thumb .swiper-slide {
		width: 180px;
	}

	html .footer {
		padding: 24px 0 5px;
	}

	html .hidden-xs {
		display: none !important;
	}

	html .footer .list-inline>li+li+li {
		float: unset;
	}

	html .footer .container-footer {
		text-align: center;
	}
}

@media (max-width: 640px) {
	html .hide-sm {
		display: none !important;
	}

	html .eeaccn_detail__article {
		font-size: 15px;
	}
}

@media (max-width: 500px) {
	html .eeaccn_detail__related-content .item {
		height: 120px;
	}

	html .eeaccn_owo__contain .box .scroll .item {
		width: calc(100% / 6)
	}
}

@media (max-width: 480px) {
	html .eeaccn_list__item .item-meta .meta-comm {
		display: none;
	}

	.eeaccn_container,
	.container {
		padding-right: 10px;
		padding-left: 10px;
	}
}

@media (max-width: 450px) {
	html .eeaccn_detail__related-content .item {
		height: 110px;
	}

	html .eeaccn_index__hot-list .item .link .inner .image {
		height: 120px;
	}

	html .eeaccn_index__hot-list .item>.item-body>.item-meta>.meta-right>.meta-like {
		display: none;
	}

	html .eeaccn_owo__contain .box .scroll:nth-child(5) .item {
		width: calc(100% / 1);
	}

	html .eeaccn_pagination li.prev,
	html .eeaccn_pagination li.next {
		display: none;
	}
}

@media (max-width: 440px) {
	html .eeaccn_list__item .item-meta .meta-like {
		display: none;
	}
}

@media (max-width: 425px) {
	html .eeaccn_detail__related-content .item {
		height: 110px;
	}

	html .eeaccn_index__hot-list .item .link .inner .image {
		height: 110px;
	}

	html .eeaccn_index__hot-list .item>.item-body>.item-meta>.meta-right>.meta-like {
		display: none;
	}
}

@media (max-width: 400px) {
	html .eeaccn_list__item .item-meta item>.hide-sm {
		display: none;
	}
}

@media (max-width: 380px) {
	html .eeaccn_index__hot-list .item>.item-body>.item-meta>.meta-author>span>span {
		display: none;
	}
}

@media (max-width: 372px) {
	html .eeaccn_index__title-notice {
		display: none
	}

	html .eeaccn_index__title-title .item>span {
		display: none
	}
}

@media (max-width: 340px) {
	html .eeaccn_owo__contain .box .scroll .item {
		width: calc(100% / 5);
	}
}
/* ===== 平板/鸿蒙设备顶栏：宽度不足时统一收进抽屉菜单 =====
   仅靠 UA 会误判（MatePad 的 UA 常带 Android，但屏宽在 800–1280 之间）。
   这里按实际宽度切换：>1200 显示一级横排导航，<=1200 显示汉堡 + 抽屉。
   横屏 1280 平板保留横排导航，但必须取消 overflow 裁剪，否则“推荐”下拉会被下面一条导航栏盖住。 */
@media (max-width: 1200px) and (orientation: portrait), (max-width: 899px) {
	html .eeaccn_header__above-nav {
		display: none !important;
	}
	html .eeaccn_header__below {
		display: none !important;
	}
	html .eeaccn_header__above-slideicon {
		display: block;
		position: relative;
		flex: 0 0 auto;
		background-color: transparent;
		background-image: none;
		border: 1px solid transparent;
	}
	html .eeaccn_header__above-logo {
		height: 50px;
		margin-right: 0;
	}
	html .eeaccn_header__above-searchicon {
		margin-left: auto;
	}
	html .eeaccn_header__above .eeaccn_container {
		justify-content: space-between;
		gap: 6px;
	}
}

/* 平板横屏按电脑模式：900–1200 宽保留一级横排导航，只压缩间距，不换成抽屉 */
@media (orientation: landscape) and (min-width: 900px) and (max-width: 1200px) {
	html .eeaccn_header__above-nav {
		display: flex !important;
		overflow: visible !important;
		flex: 1 1 auto;
		min-width: 0;
	}
	html .eeaccn_header__below {
		display: block !important;
	}
	html .eeaccn_header__above-slideicon {
		display: none !important;
	}
	html .eeaccn_header__above-logo {
		height: 48px;
		margin-right: 8px;
		flex: 0 0 auto;
	}
	html .eeaccn_header__above-nav .item {
		margin-right: 4px;
	}
	html .eeaccn_header__above-nav .link {
		padding-left: 6px !important;
		padding-right: 6px !important;
		font-size: 13px;
		letter-spacing: -.2px;
	}
	html .eeaccn_header__above .eeaccn_container {
		gap: 2px !important;
	}
	html .eeaccn_header__above-search {
		display: none !important;
	}
	html .eeaccn_header__above-searchicon {
		margin-left: 4px !important;
		flex-basis: 30px;
		width: 30px;
		min-width: 30px;
	}
	html .eeaccn_header__above-nav .eeaccn_dropdown__menu {
		right: 0;
	}
}

/* 平板竖屏按手机模式：只覆盖 768–1024，不要把手机 390 首页推荐也压成一张一张大图 */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
	html .eeaccn_container {
		padding-left: 16px;
		padding-right: 16px;
	}
	html .eeaccn_index__banner {
		grid-template-columns: 1fr !important;
	}
	html .eeaccn_index__banner-recommend,
	html .eeaccn_index__hot-list {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
	html .eeaccn_wallpaper__list {
		grid-template-columns: 1fr !important;
	}
	html .eeaccn_index__title {
		display: block;
	}
	html .eeaccn_list__item.multiple {
		grid-template-columns: 1fr !important;
	}
	html .eeaccn_detail__related-content,
	html .eeaccn_detail__leaving-list {
		grid-template-columns: 1fr !important;
	}
	html .eeaccn_footer .eeaccn_container {
		flex-direction: column;
	}
}

/* 平板竖屏（768–1200）：顶栏收成“汉堡 + 品牌 + 右侧工具组”，
   抽屉显式撑满视口。header 的 backdrop-filter 会把 fixed 子元素变成
   以 header 为包含块，不显式给高度就会只剩封面图那一条。 */
@media (min-width: 768px) and (max-width: 1200px) and (orientation: portrait) {
	html .eeaccn_header__above .eeaccn_container {
		justify-content: flex-start !important;
		gap: 8px !important;
	}
	html .eeaccn_header__above-translate {
		margin-left: auto !important;
	}
	html .eeaccn_header__above-music,
	html .eeaccn_header__above-searchicon {
		margin-left: 0 !important;
	}
	html body .eeaccn_header__slideout {
		top: 0 !important;
		bottom: auto !important;
		height: 100vh !important;
		height: 100dvh !important;
		max-height: 100dvh !important;
		width: min(86vw, 380px) !important;
		overflow-y: auto !important;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		z-index: 1021;
	}
	html body .eeaccn_header__slideout.active {
		display: flex;
		flex-direction: column;
	}
	html body .eeaccn_header__slideout-profile,
	html body .eeaccn_header__slideout-menu,
	html body .eeaccn_header__slideout-notice {
		flex: 0 0 auto;
	}
}

/* 手机横屏（769–1200）：同样要给抽屉显式高度。
   顶栏的 backdrop-filter 会成为 fixed 子元素的包含块，横屏时没有这条规则，
   抽屉会被压成只有顶栏那么高的一条，看起来像菜单只露出一行。 */
@media (min-width: 769px) and (max-width: 1200px) {
	html body .eeaccn_header__slideout {
		top: 0 !important;
		bottom: auto !important;
		height: 100vh !important;
		height: 100dvh !important;
		max-height: 100dvh !important;
		width: min(82vw, 380px) !important;
		overflow-y: auto !important;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		z-index: 1021;
	}
	html body .eeaccn_header__slideout.active {
		display: flex;
		flex-direction: column;
	}
	html body .eeaccn_header__slideout > * {
		flex-shrink: 0;
	}
}

/* 横屏且高度很短的手机：保留封面和博主卡，按“封面 → 博主 → 菜单 → 登录 → 公告”排列。
   封面压到 96px 并与博主卡轻微叠压，博主卡只留头像、昵称和三项统计，
   让 320px 高的屏幕也能在首屏看到菜单开头，其余内容照常滚动。 */
@media (orientation: landscape) and (max-height: 520px) and (max-width: 1200px) {
	html body .eeaccn_header__slideout {
		padding: 10px 12px 12px !important;
		width: min(78vw, 380px) !important;
	}
	html .eeaccn_header__slideout-image {
		display: block !important;
		order: 1;
		height: 96px !important;
		min-height: 96px !important;
		width: 100% !important;
		object-fit: cover;
		border-radius: 12px;
	}
	html .eeaccn_header__slideout-profile {
		order: 2;
		position: relative;
		z-index: 2;
		margin: 52px 4px 8px !important;
		padding: 8px 10px 6px !important;
		border-radius: 12px;
	}
	html .eeaccn_header__slideout-author {
		padding: 2px 0 6px !important;
	}
	html .eeaccn_header__slideout-author .avatar,
	html .eeaccn_header__slideout-author img.avatar {
		width: 42px !important;
		height: 42px !important;
	}
	html .eeaccn_header__slideout-about,
	html .eeaccn_header__slideout-social {
		display: none !important;
	}
	html .eeaccn_header__slideout-count {
		margin: 4px 0 0 !important;
		padding: 5px 8px !important;
	}
	html .eeaccn_header__slideout-count .item strong {
		font-size: 15px;
	}
	html .eeaccn_header__slideout-count .item span {
		font-size: 10px;
	}
	html .eeaccn_header__slideout-menu {
		order: 3;
		margin: 0 !important;
		padding: 6px !important;
	}
	html .eeaccn_header__slideout-login {
		order: 4;
		margin: 8px 0 0 !important;
	}
	html .eeaccn_header__slideout-notice {
		order: 5;
		margin: 8px 0 0 !important;
	}
	html .eeaccn_header__slideout-menu .link,
	html .eeaccn_header__slideout-menu .slides .link {
		min-height: 34px;
		padding: 5px 8px !important;
	}
}

/* 横屏平板/小笔记本：一级导航能放下，取消 overflow 以让下拉菜单完整露出 */
@media (min-width: 1201px) and (max-width: 1500px) {
	html .eeaccn_header__above-nav {
		overflow: visible !important;
	}
}

/* 抽屉里的“推荐”子菜单：触屏点击由 JS 展开，这里只保证层级和可点击面积 */
@media (max-width: 1200px) {
	html .eeaccn_header__slideout-menu .slides.panel-body {
		display: none;
	}
	html .eeaccn_header__slideout-menu .panel.in + .slides.panel-body {
		display: block !important;
	}
}

/* 手机抽屉：作者、简介、社交、统计合并为一张卡；登录与公告提前到菜单之前 */
@media (max-width: 768px) {
	html .eeaccn_header__slideout {
		display: flex;
		flex-direction: column;
		padding: calc(var(--eeaccn-slideout-cover, 160px) / 2) 14px 18px;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
		scrollbar-gutter: stable;
		scrollbar-color: rgba(96, 125, 170, .65) rgba(148, 163, 184, .12);
	}
	html .eeaccn_header__slideout::-webkit-scrollbar {
		width: 6px;
	}
	html .eeaccn_header__slideout::-webkit-scrollbar-thumb {
		border-radius: 999px;
		background: rgba(96, 125, 170, .6);
	}
	html .eeaccn_header__slideout::-webkit-scrollbar-track {
		border-radius: 999px;
		background: rgba(148, 163, 184, .12);
	}
	html .eeaccn_header__slideout > * {
		flex-shrink: 0;
	}
	html .eeaccn_header__slideout-profile {
		margin: 0 0 10px;
		padding: 10px 12px 6px;
		border-radius: var(--radius-wrap);
		background: var(--background);
		box-shadow: var(--box-shadow);
	}
	html .eeaccn_header__slideout-author {
		margin: 0;
		padding: 6px 2px 10px;
		border-radius: 0;
		background: transparent !important;
		box-shadow: none !important;
	}
	html .eeaccn_header__slideout-about {
		margin: 0 !important;
		padding: 10px 2px 8px !important;
		border: 0 !important;
		border-top: 1px solid var(--main-border-color) !important;
		border-radius: 0;
		background: transparent !important;
		box-shadow: none !important;
	}
	html .eeaccn_header__slideout-about p {
		word-break: normal !important;
		overflow-wrap: break-word;
	}
	html .eeaccn_header__slideout-social {
		padding: 8px 0 10px !important;
		border: 0 !important;
		border-top: 1px solid var(--main-border-color) !important;
	}
	html .eeaccn_header__slideout-count {
		margin: 0 0 8px !important;
		padding: 8px 10px !important;
		border: 1px solid rgba(148, 163, 184, .16);
		border-top: 0;
		border-radius: 10px;
		background: rgba(148, 163, 184, .07);
		box-shadow: none !important;
	}
	html .eeaccn_header__slideout-count .item strong {
		font-size: 18px;
		font-weight: 800;
		letter-spacing: -.01em;
	}
	html .eeaccn_header__slideout-count .item span {
		font-size: 10.5px;
		letter-spacing: .03em;
		opacity: .7;
	}
	html .eeaccn_header__slideout-login {
		margin: 0 0 10px !important;
	}
	html .eeaccn_header__slideout-notice {
		margin: 0 0 10px !important;
	}
	html .eeaccn_header__slideout-menu .link,
	html .eeaccn_header__slideout-menu .slides .link {
		display: flex;
		align-items: center;
		gap: 9px;
		min-height: 38px;
		padding: 7px 10px !important;
		border-radius: 9px;
		transition: background-color .18s ease, color .18s ease;
	}
	html .eeaccn_header__slideout-menu .link > span {
		display: flex;
		align-items: center;
		gap: 9px;
		min-width: 0;
	}
	html .eeaccn_header__slideout-menu .slides .link {
		padding-left: 30px !important;
		font-size: 13px;
		opacity: .9;
	}
	html .eeaccn_header__slideout-menu .link:hover,
	html .eeaccn_header__slideout-menu .link:focus-visible,
	html .eeaccn_header__slideout-menu .link.current {
		background: rgba(37, 99, 235, .07);
		color: var(--theme-color);
	}
	html .eeaccn_header__slideout-menu .link .arrow {
		margin-left: auto;
		opacity: .35;
	}
	html #custom_html-2 #container-box-1 {
		font-size: 14px;
		line-height: 34px;
	}
}

/* 短屏手机（含浏览器工具栏占高）：进一步压缩，登录和条幅仍留在首屏 */
@media (max-width: 768px) and (max-height: 760px) {
	html .eeaccn_header__slideout {
		padding: calc(var(--eeaccn-slideout-cover, 160px) / 2) 14px 12px;
	}
	html .eeaccn_header__slideout-profile {
		margin-bottom: 8px;
		padding: 8px 10px 4px;
	}
	html .eeaccn_header__slideout-author {
		padding: 2px 2px 6px;
	}
	html .eeaccn_header__slideout-about {
		padding: 6px 2px !important;
	}
	html .eeaccn_header__slideout-about p {
		font-size: 11.5px !important;
		line-height: 1.5 !important;
	}
	html .eeaccn_header__slideout-social {
		padding: 4px 0 6px !important;
	}
	html .eeaccn_header__slideout-count {
		padding: 6px 8px !important;
		margin-bottom: 6px !important;
	}
	html .eeaccn_header__slideout-menu .link,
	html .eeaccn_header__slideout-menu .slides .link {
		min-height: 32px;
		padding: 4px 8px !important;
	}
	html .eeaccn_header__slideout-login {
		margin-bottom: 6px !important;
	}
	html .eeaccn_header__slideout-notice {
		margin-bottom: 8px !important;
	}
	html #custom_html-2 #container-box-1 {
		font-size: 13px;
		line-height: 30px;
	}
}

@media (min-width: 1201px) {
	html .eeaccn_header__above-nav .eeaccn_dropdown__menu {
		left: 50%;
		right: auto;
		-webkit-transform: translateX(-50%) perspective(600px) rotateX(-45deg);
		transform: translateX(-50%) perspective(600px) rotateX(-45deg);
	}
	html .eeaccn_header__above-nav .eeaccn_dropdown.active .eeaccn_dropdown__menu {
		-webkit-transform: translateX(-50%) perspective(600px) rotateX(0);
		transform: translateX(-50%) perspective(600px) rotateX(0);
	}
}

/* 20261201：手机抽屉不再显示滚动条/进度条，内容仍可正常滑动 */
html .eeaccn_header__slideout {
	scrollbar-width: none;
	-ms-overflow-style: none;
}
html .eeaccn_header__slideout::-webkit-scrollbar {
	width: 0;
	height: 0;
	display: none;
}

/* 20261204：灯箱不显示图片标题/标签，手机和平板也能看到左右切换按钮 */
.glightbox-container .gslide-description,
.glightbox-container .gslide-title,
.glightbox-container .gslide-desc {
	display: none !important;
}

@media (max-width: 1024px) {
	.glightbox-clean .gprev,
	.glightbox-clean .gnext {
		display: flex !important;
		top: 50% !important;
		width: 44px !important;
		height: 44px !important;
		margin-top: -22px !important;
		background: rgba(0, 0, 0, .55) !important;
		border: 1px solid rgba(255, 255, 255, .35) !important;
		border-radius: 50% !important;
		opacity: 1 !important;
		visibility: visible !important;
		align-items: center !important;
		justify-content: center !important;
		padding: 0 !important;
		box-shadow: 0 2px 10px rgba(0, 0, 0, .35) !important;
		z-index: 100000 !important;
	}
	.glightbox-clean .gprev {
		left: 10px !important;
		right: auto !important;
	}
	.glightbox-clean .gnext {
		right: 10px !important;
		left: auto !important;
	}
	.glightbox-clean .gprev svg,
	.glightbox-clean .gnext svg {
		width: 22px !important;
		height: 22px !important;
	}
	.glightbox-clean .gclose {
		top: 10px !important;
		right: 8px !important;
		width: 40px !important;
		height: 40px !important;
	}
}
