@import url('/css/theme-detail-base.css');
:root{--primary-color:#00FFCC;--secondary-color:#FF7A3D;--accent-color:#FFE14D;--success-color:#00FFCC;--warning-color:#FFE14D;--danger-color:#FF6FA8;--bg-primary:#101314;--bg-secondary:#1b2022;--bg-tertiary:#262c2f;--text-primary:#f2f5f4;--text-secondary:#c9d1d0;--text-tertiary:#a9b3b2;--glass-bg:#1b2022;--glass-border:#000000;--glass-shadow:none;--nav-bg:#101314;--search-input-bg:#f2f5f4;--panel-bg:#1b2022;--footer-bg:#0a0c0d;--gradient-primary:linear-gradient(135deg,#00FFCC,#00d9ad);--gradient-secondary:linear-gradient(135deg,#FF7A3D,#ff5f1a);--gradient-accent:linear-gradient(135deg,#FFE14D,#FF6FA8);--border-radius-sm:2px;--border-radius-md:4px;--border-radius-lg:6px;--transition:all .15s ease;--transition-bounce:all .15s ease;--shadow-sm:none;--shadow-md:none;--shadow-lg:none}

/* ── body 与导航：近黑底，页眉底边是 P1–P4 四色分段条 ── */
body.theme-split-screen{font-family:system-ui,'Segoe UI',Roboto,Arial,sans-serif;color:#f2f5f4;background:#101314}
.theme-split-screen .particle{display:none}
.theme-split-screen .main-content{margin-left:0}
.theme-split-screen .glass-nav{position:relative;top:auto;padding:0 0 6px;background:#101314;border-bottom:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;z-index:1000}
.theme-split-screen .glass-nav::after{content:'';position:absolute;right:0;bottom:0;left:0;height:6px;background:linear-gradient(90deg,#00FFCC 0 25%,#FF7A3D 25% 50%,#FFE14D 50% 75%,#FF6FA8 75%);pointer-events:none}
.theme-split-screen .glass-nav-container{min-height:62px}
.theme-split-screen .glass-logo{color:#f2f5f4;-webkit-text-fill-color:#f2f5f4;background:none;font-family:'Teko',Impact,sans-serif;font-size:2.1rem;font-weight:600;letter-spacing:.04em;line-height:1}
.theme-split-screen .glass-nav-link{padding:6px 14px;color:#f2f5f4;border-radius:2px;font-family:'Teko',Impact,sans-serif;font-size:1.35rem;font-weight:500;letter-spacing:.06em}
.theme-split-screen .glass-nav-link:hover,.theme-split-screen .glass-nav-link.active{color:#101314;background:#00FFCC}
.theme-split-screen .glass-nav-categories{display:none}
.theme-split-screen .glass-nav-actions{display:flex;align-items:center;gap:8px}
.theme-split-screen .glass-search-input{color:#101314;background:#f2f5f4;border:0;border-radius:2px}
.theme-split-screen .glass-search-input::placeholder{color:#4a5354}
.theme-split-screen .glass-search-btn{color:#101314;background:#00FFCC;border-radius:2px}
.theme-split-screen .hamburger{color:#f2f5f4}
.theme-split-screen .mobile-panel{background:#1b2022;box-shadow:none}
.theme-split-screen .panel-header{border-bottom:4px solid #00FFCC}
.theme-split-screen .panel-close,.theme-split-screen .mobile-link{color:#f2f5f4}
.theme-split-screen .mobile-link{border-radius:2px;font-family:'Teko',Impact,sans-serif;font-size:1.3rem;letter-spacing:.06em}
.theme-split-screen .mobile-link:hover,.theme-split-screen .mobile-link.active{color:#101314;background:#00FFCC}
.theme-split-screen .mobile-categories .nav-category-list{margin:0;padding:0;list-style:none}
.theme-split-screen .mobile-categories .cat-dot{display:inline-block;width:10px;height:10px;margin-right:10px;background:#FF7A3D;vertical-align:middle}
.theme-split-screen .nav-section-label{display:block;margin:10px 0;color:#FFE14D;font-family:'Teko',Impact,sans-serif;font-size:1.1rem;letter-spacing:.16em}
.theme-split-screen .mobile-search-form .glass-search-input{color:#101314;background:#f2f5f4;border:2px solid #00FFCC}

/* ── 首页：2×2 等分象限，黑色十字分隔，中心 VS；每象限 1 大 2 小 ── */
.theme-split-screen .sp-screens{width:min(1400px,100%);margin:auto;padding:24px 24px 10px}
.theme-split-screen .sp-header{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"eyebrow title" "eyebrow copy";align-items:center;gap:0 22px;margin-bottom:20px}
.theme-split-screen .sp-header span{grid-area:eyebrow;padding:10px 14px;color:#101314;background:#FFE14D;font-family:'Teko',Impact,sans-serif;font-size:1.2rem;font-weight:600;letter-spacing:.1em;line-height:1}
.theme-split-screen .sp-header h1{grid-area:title;margin:0;color:#f2f5f4;font-family:'Teko',Impact,sans-serif;font-size:clamp(2.2rem,4vw,3.4rem);font-weight:600;line-height:.95}
.theme-split-screen .sp-header p{grid-area:copy;margin:0;color:#c9d1d0}
.theme-split-screen .sp-quads{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px;background:#000}
.theme-split-screen .sp-quad{--p:#00FFCC;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);grid-template-rows:auto 1fr 1fr;grid-template-areas:"tag tag" "main a" "main b";gap:10px;min-width:0;padding:10px;background:#1b2022;border-top:5px solid var(--p)}
.theme-split-screen .sp-p2{--p:#FF7A3D}
.theme-split-screen .sp-p3{--p:#FFE14D}
.theme-split-screen .sp-p4{--p:#FF6FA8}
.theme-split-screen .sp-tag{grid-area:tag;justify-self:start;padding:2px 10px;color:#101314;background:var(--p);font-family:'Teko',Impact,sans-serif;font-size:1.15rem;font-weight:500;letter-spacing:.12em;line-height:1.3}
.theme-split-screen .sp-tag b{font-weight:600}
.theme-split-screen .sp-game{display:flex;flex-direction:column;gap:4px;min-width:0;color:#f2f5f4;text-decoration:none}
.theme-split-screen .sp-game:nth-of-type(2){grid-area:a}
.theme-split-screen .sp-game:nth-of-type(3){grid-area:b}
.theme-split-screen .sp-main{grid-area:main}
.theme-split-screen .sp-art{display:block;aspect-ratio:16/10;overflow:hidden;border:2px solid #000;outline:2px solid transparent;transition:outline-color .15s ease}
.theme-split-screen .sp-main .sp-art{flex:1;aspect-ratio:auto;min-height:200px}
.theme-split-screen .sp-game:hover .sp-art,.theme-split-screen .sp-game:focus-visible .sp-art{outline-color:var(--p)}
.theme-split-screen .sp-art img{display:block;width:100%;height:100%;object-fit:cover}
.theme-split-screen .sp-game strong{overflow:hidden;font-size:.9rem;white-space:nowrap;text-overflow:ellipsis}
.theme-split-screen .sp-main strong{font-family:'Teko',Impact,sans-serif;font-size:1.7rem;font-weight:500;line-height:1}
.theme-split-screen .sp-game small{overflow:hidden;color:#a9b3b2;font-size:.74rem;white-space:nowrap;text-overflow:ellipsis}
.theme-split-screen .sp-vs{position:absolute;top:calc(50% - 30px);left:calc(50% - 30px);display:grid;place-items:center;width:60px;height:60px;color:#101314;background:#f2f5f4;border:6px solid #000;border-radius:50%;font-family:'Teko',Impact,sans-serif;font-size:1.6rem;font-weight:600;line-height:1;pointer-events:none}

/* ── 首页共享区（Featured / Popular） ── */
.theme-split-screen .glass-title{color:#f2f5f4;font-family:'Teko',Impact,sans-serif;font-weight:600;letter-spacing:.04em}
.theme-split-screen .glass-subtitle{color:#c9d1d0}
.theme-split-screen .glass-card{color:#f2f5f4;background:#1b2022;border:0;border-top:4px solid #00FFCC;border-radius:2px;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.theme-split-screen .glass-card:nth-child(4n+2){border-top-color:#FF7A3D}
.theme-split-screen .glass-card:nth-child(4n+3){border-top-color:#FFE14D}
.theme-split-screen .glass-card:nth-child(4n){border-top-color:#FF6FA8}
.theme-split-screen .glass-card-title{color:#f2f5f4}
.theme-split-screen .glass-card-badge{color:#101314;background:#FFE14D;border-radius:2px}
.theme-split-screen .glass-card-category{color:#101314;background:#00FFCC;border-radius:2px}
.theme-split-screen .glass-button{color:#101314;background:#00FFCC;border:0;border-radius:2px;box-shadow:none;font-weight:700}
.theme-split-screen .glass-button:hover{color:#101314;background:#FFE14D;transform:none}
.theme-split-screen .glass-button.secondary{color:#101314;background:#FF7A3D}
.theme-split-screen .glass-button.secondary:hover{color:#101314;background:#FF6FA8}
.theme-split-screen .glass-card a:not(.glass-button){color:#00FFCC}
.theme-split-screen .static-page-body{color:#f2f5f4}

/* ── 列表页：4 列被中缝分成左右两个半屏，HUD 名牌压在封面底边，四色轮换 ── */
.theme-split-screen .ap-list-title{color:#f2f5f4;font-family:'Teko',Impact,sans-serif;font-weight:600}
.theme-split-screen .ap-list-title .ap-list-title-cat{color:#00FFCC}
.theme-split-screen .ap-list-count{color:#c9d1d0}
.theme-split-screen .ap-cat-track{scroll-snap-type:x mandatory}
.theme-split-screen .ap-cat-pill{scroll-snap-align:start;color:#f2f5f4;background:#1b2022;border:1px solid #3a4245;border-radius:2px;font-weight:700}
.theme-split-screen .ap-cat-pill:hover,.theme-split-screen .ap-cat-pill.active{color:#101314;background:#00FFCC;border-color:#00FFCC}
.theme-split-screen .ap-list-grid{grid-template-columns:repeat(2,minmax(0,1fr)) 22px repeat(2,minmax(0,1fr));gap:14px;background:linear-gradient(90deg,transparent calc(50% - 4px),#000 calc(50% - 4px) calc(50% + 4px),transparent calc(50% + 4px))}
.theme-split-screen .ap-game-card{--p:#00FFCC;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);background:#000;border:0;border-top:4px solid var(--p);border-radius:0;box-shadow:none}
.theme-split-screen .ap-game-card:nth-child(4n+1){grid-column:1}
.theme-split-screen .ap-game-card:nth-child(4n+2){--p:#FF7A3D;grid-column:2}
.theme-split-screen .ap-game-card:nth-child(4n+3){--p:#FFE14D;grid-column:4}
.theme-split-screen .ap-game-card:nth-child(4n){--p:#FF6FA8;grid-column:5}
.theme-split-screen .ap-card-thumb{grid-area:1/1;aspect-ratio:16/11}
.theme-split-screen .ap-card-badge{top:8px;right:auto;left:8px;color:#101314;background:var(--p);border-radius:2px}
.theme-split-screen .ap-card-play{align-items:start;justify-items:end;padding:10px;background:transparent}
.theme-split-screen .ap-play-btn{color:#101314;background:var(--p);border-radius:2px}
.theme-split-screen .ap-card-info{z-index:2;grid-area:1/1;align-self:end;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"cat name" "rating rating";align-items:center;gap:2px 8px;padding:7px 10px;background:#101314;border-left:4px solid var(--p)}
.theme-split-screen .ap-card-cat{grid-area:cat;padding:0 6px;color:#101314;background:var(--p);font-size:.64rem}
.theme-split-screen .ap-card-name{grid-area:name;color:#f2f5f4;font-family:'Teko',Impact,sans-serif;font-size:1.25rem;font-weight:500;line-height:1.1}
.theme-split-screen .ap-card-rating{grid-area:rating;min-height:0;color:#c9d1d0;font-size:.72rem}
.theme-split-screen .ap-card-rating i{color:#FFE14D}
.theme-split-screen .ap-page-btn{color:#f2f5f4;background:#1b2022;border:1px solid #3a4245;border-radius:2px}
.theme-split-screen .ap-page-btn:hover,.theme-split-screen .ap-page-btn.active{color:#101314;background:#00FFCC;border-color:#00FFCC}

/* ── 详情页：对半分屏 hero（海报满半幅、信息半幅，中缝黑线） ── */
.theme-split-screen .ap-detail-hero{background:#000;border:0;border-radius:0;box-shadow:none}
.theme-split-screen .ap-detail-hero-bg,.theme-split-screen .ap-detail-hero-overlay{display:none}
.theme-split-screen .ap-detail-hero-inner{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:8px;padding:0}
.theme-split-screen .ap-detail-poster{align-self:stretch;min-height:340px;border:0;border-top:5px solid #00FFCC;border-radius:0}
.theme-split-screen .ap-detail-poster img{height:100%;aspect-ratio:auto;min-height:340px}
.theme-split-screen .ap-detail-play-icon{color:#101314;background:#00FFCC;border-color:#000;border-radius:2px}
.theme-split-screen .ap-detail-info{display:flex;flex-direction:column;justify-content:center;padding:32px 34px;background:#1b2022;border-top:5px solid #FF7A3D}
.theme-split-screen .ap-detail-cat{align-self:flex-start;color:#101314;background:#FFE14D;border-radius:2px}
.theme-split-screen .ap-detail-title{color:#f2f5f4;font-family:'Teko',Impact,sans-serif;font-weight:600;line-height:.95}
.theme-split-screen .ap-detail-rating-row{color:#f2f5f4}
.theme-split-screen .ap-detail-score{color:#101314;background:#00FFCC}
.theme-split-screen .ap-detail-desc{color:#c9d1d0}
.theme-split-screen .ap-btn-play,.theme-split-screen .ap-btn-cat{border:0;border-radius:2px;font-family:'Teko',Impact,sans-serif;font-size:1.25rem;font-weight:500;letter-spacing:.06em}
.theme-split-screen .ap-btn-play{color:#101314;background:#00FFCC}
.theme-split-screen .ap-btn-cat{color:#101314;background:#FF7A3D}
.theme-split-screen .ap-btn-play:hover,.theme-split-screen .ap-btn-cat:hover{color:#101314;background:#FFE14D}
.theme-split-screen .ap-detail-card{color:#f2f5f4;background:#1b2022;border:0;border-left:4px solid #00FFCC;border-radius:0}
.theme-split-screen .ap-detail-sidebar .ap-detail-card{border-left-color:#FF6FA8}
.theme-split-screen .ap-detail-card-title{color:#f2f5f4;border-bottom:1px solid #3a4245;font-family:'Teko',Impact,sans-serif;font-size:1.6rem;font-weight:500}
.theme-split-screen .ap-detail-card-accent{background:#FFE14D;border-radius:0}
.theme-split-screen .ap-detail-card-text{color:#c9d1d0}
.theme-split-screen .ap-detail-info-list li{border-bottom:1px solid #3a4245}
.theme-split-screen .ap-info-label{color:#a9b3b2}
.theme-split-screen .ap-info-value,.theme-split-screen .ap-rec-name{color:#f2f5f4}
.theme-split-screen .ap-info-rating,.theme-split-screen .ap-rec-cat{color:#00FFCC}
.theme-split-screen .ap-rec-item:hover{background:#262c2f;border-color:#3a4245}

/* ── play 页：页头对半分屏（标题半 / 按钮半），About 对半 ── */
.theme-split-screen .glass-game-header{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;padding:8px!important;background:#000;border:0;border-radius:0!important}
.theme-split-screen .glass-game-header .glass-title{display:flex;align-items:center;padding:14px 20px;color:#f2f5f4;background:#1b2022;border-top:5px solid #00FFCC;font-size:clamp(1.8rem,3vw,2.6rem)}
.theme-split-screen .glass-game-controls{align-items:center;justify-content:flex-end;padding:14px 20px;background:#1b2022;border-top:5px solid #FF7A3D}
.theme-split-screen .glass-game-player{border:8px solid #000!important;border-radius:0!important;background:#000!important}
.theme-split-screen .glass-game-info .glass-card-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:24px}
.theme-split-screen .glass-game-info .glass-card-body p{margin:0!important;color:#c9d1d0!important}
.theme-split-screen .glass-meta-item{background:#262c2f!important;border-top:4px solid #FFE14D!important;box-shadow:none}
.theme-split-screen .glass-meta-value{color:#FFE14D!important}

/* ── 搜索页：沿用共享骨架，只换材质 ── */
.theme-split-screen .glass-search-input-group .glass-search-input{color:#101314;background:#f2f5f4;border:2px solid #00FFCC;border-radius:2px!important}
.theme-split-screen .glass-search-input-group .glass-search-input::placeholder{color:#4a5354}
.theme-split-screen .glass-card-category[style]{color:#101314!important;background:#00FFCC!important}
.theme-split-screen .glass-pagination-pages .glass-button{color:#101314!important;background:#00FFCC!important}
.theme-split-screen .glass-no-results-icon,.theme-split-screen .glass-search-icon{color:#00FFCC!important}

/* ── 页脚与 404 ── */
.theme-split-screen .cyber-footer{color:#c9d1d0;background:#0a0c0d;border-top:6px solid #000}
.theme-split-screen .cyber-footer .footer-content{background:#0a0c0d}
.theme-split-screen .cyber-footer .footer-title{color:#00FFCC;font-family:'Teko',Impact,sans-serif;font-size:1.5rem;font-weight:500}
.theme-split-screen .cyber-footer p{color:#c9d1d0!important}
.theme-split-screen .cyber-footer .footer-links a{color:#c9d1d0}
.theme-split-screen .cyber-footer .footer-links a:hover{color:#00FFCC}
.theme-split-screen .error-copy h1{font-family:'Teko',Impact,sans-serif;font-weight:600}
.theme-split-screen .error-code,.theme-split-screen .error-action-primary,.theme-split-screen .error-search button,.theme-split-screen .error-visual{color:#101314}
.theme-split-screen .error-eyebrow,.theme-split-screen .error-action-secondary,.theme-split-screen .error-breadcrumb a,.theme-split-screen .error-recovery-index{color:#00FFCC}
.theme-split-screen .error-search input{color:#101314}

/* ── 抽屉断点（≤992 汉堡出现） ── */
@media(max-width:992px){
.theme-split-screen .glass-nav-menu{display:none}
.theme-split-screen .hamburger{display:flex;min-width:44px;min-height:44px;align-items:center;justify-content:center}
.theme-split-screen .glass-search-input{width:200px}
}

/* ── 移动端：象限竖排，每象限大图在上、两小图并排；列表与详情取消中缝 ── */
@media(max-width:768px){
.theme-split-screen .glass-nav-container{min-height:54px;padding:0 12px}
.theme-split-screen .glass-logo{font-size:1.7rem}
.theme-split-screen .sp-screens{padding:12px 10px 4px}
.theme-split-screen .sp-quads{grid-template-columns:minmax(0,1fr);gap:6px;padding:6px}
.theme-split-screen .sp-quad{gap:6px 8px;padding:8px}
.theme-split-screen .sp-main .sp-art{min-height:0}
.theme-split-screen .sp-main strong{font-size:1.3rem}
.theme-split-screen .sp-game small{display:none}
.theme-split-screen .sp-game strong{font-size:.78rem}
.theme-split-screen .sp-vs{display:none}
.theme-split-screen .ap-list-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;background:none}
.theme-split-screen .ap-game-card:nth-child(n){grid-column:auto}
.theme-split-screen .ap-game-card{grid-template-rows:auto auto}
.theme-split-screen .ap-card-info{grid-area:2/1;grid-template-columns:minmax(0,1fr);grid-template-areas:"cat" "name";padding:5px 7px}
.theme-split-screen .ap-card-cat{justify-self:start}
.theme-split-screen .ap-card-name{font-size:1.05rem}
.theme-split-screen .ap-card-rating{display:none}
.theme-split-screen .ap-detail-hero-inner{grid-template-columns:minmax(0,1fr);gap:6px;padding:0;text-align:left}
.theme-split-screen .ap-detail-poster,.theme-split-screen .ap-detail-poster img{width:100%;min-height:0;aspect-ratio:16/9}
.theme-split-screen .ap-detail-info{align-items:flex-start;padding:20px 16px}
.theme-split-screen .ap-detail-body{grid-template-columns:minmax(0,1fr)}
.theme-split-screen .glass-game-header{grid-template-columns:minmax(0,1fr);gap:6px!important;padding:6px!important}
.theme-split-screen .glass-game-header .glass-title{padding:10px 14px}
.theme-split-screen .glass-game-controls{justify-content:flex-start;padding:10px 14px}
.theme-split-screen .glass-game-iframe{height:56vh!important}
.theme-split-screen .glass-game-info .glass-card-body{grid-template-columns:minmax(0,1fr)}
}
@media(min-width:600px) and (max-width:768px){
.theme-split-screen .sp-quads{grid-template-columns:repeat(2,minmax(0,1fr))}
.theme-split-screen .sp-quad{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"tag tag" "main main" "a b"}
.theme-split-screen .sp-main .sp-art{flex:none;aspect-ratio:16/9}
.theme-split-screen .ap-list-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* ── 平板：象限保持 2×2；列表保持中缝，半屏内两列 ── */
@media(min-width:769px) and (max-width:1199px){
.theme-split-screen .sp-quad{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}
.theme-split-screen .sp-main strong{font-size:1.35rem}
.theme-split-screen .sp-main .sp-art{min-height:150px}
.theme-split-screen .ap-list-grid{gap:10px}
.theme-split-screen .ap-card-name{font-size:1.05rem}
.theme-split-screen .ap-card-rating{display:none}
}
@media(min-width:769px) and (max-width:899px){
.theme-split-screen .ap-detail-body{grid-template-columns:minmax(0,1fr)}
}
