@import url('/css/theme-detail-base.css');
:root{--primary-color:#DDFF77;--secondary-color:#d7261e;--accent-color:#DDFF77;--success-color:#4a7a12;--warning-color:#e0a800;--danger-color:#d7261e;--bg-primary:#f6f4ec;--bg-secondary:#fffdf6;--bg-tertiary:#ebe7da;--text-primary:#141414;--text-secondary:#3a3a36;--text-tertiary:#55544e;--glass-bg:#fffdf6;--glass-border:#141414;--glass-shadow:none;--nav-bg:#f6f4ec;--search-input-bg:#fffdf6;--panel-bg:#fffdf6;--footer-bg:#141414;--gradient-primary:linear-gradient(135deg,#DDFF77,#c8f040);--gradient-secondary:linear-gradient(135deg,#141414,#2a2a28);--gradient-accent:linear-gradient(135deg,#d7261e,#b01d16);--border-radius-sm:0;--border-radius-md:0;--border-radius-lg:0;--transition:all .15s ease;--transition-bounce:all .15s ease;--shadow-sm:none;--shadow-md:none;--shadow-lg:none}

/* ── body 与导航：新闻纸底；刊头式双层顶栏（上细条菜单与搜索、下通栏大 logo） ── */
body.theme-game-mag{font-family:Georgia,'Times New Roman',serif;color:#141414;background:#f6f4ec}
.theme-game-mag .particle{display:none}
.theme-game-mag .main-content{margin-left:0}
.theme-game-mag .glass-nav{position:relative;top:auto;padding:0;background:#f6f4ec;border-bottom:5px double #141414;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;z-index:1000}
.theme-game-mag .glass-nav-container{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"menu actions" "logo logo";align-items:center;gap:0;width:min(1400px,100%);max-width:none;margin:auto;padding:0 24px}
.theme-game-mag .glass-nav-menu{grid-area:menu;justify-self:stretch;gap:0;margin:0;padding:6px 0;border-bottom:1px solid #141414}
.theme-game-mag .glass-nav-link{padding:2px 14px 2px 0;color:#141414;border-radius:0;font-family:system-ui,'Segoe UI',Arial,sans-serif;font-size:.78rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.theme-game-mag .glass-nav-link:hover,.theme-game-mag .glass-nav-link.active{color:#141414;background:linear-gradient(transparent 45%,#DDFF77 45%)}
.theme-game-mag .glass-nav-actions{grid-area:actions;display:flex;align-items:center;gap:8px;align-self:stretch;padding:4px 0;border-bottom:1px solid #141414}
.theme-game-mag .glass-logo{grid-area:logo;padding:4px 0 2px;color:#141414;-webkit-text-fill-color:#141414;background:none;font-family:'Bebas Neue',Impact,sans-serif;font-size:clamp(3rem,7vw,5.4rem);font-weight:400;line-height:.95;letter-spacing:.02em;text-transform:uppercase}
.theme-game-mag .glass-nav-categories{display:none}
.theme-game-mag .glass-search-input{height:32px;color:#141414;background:#fffdf6;border:1px solid #141414;border-radius:0;font-family:system-ui,Arial,sans-serif}
.theme-game-mag .glass-search-input::placeholder{color:#55544e}
.theme-game-mag .glass-search-btn{color:#141414;background:#DDFF77;border-radius:0}
.theme-game-mag .hamburger{color:#141414}
.theme-game-mag .mobile-panel{background:#fffdf6;box-shadow:none}
.theme-game-mag .panel-header{border-bottom:5px double #141414}
.theme-game-mag .panel-header .glass-logo{font-size:2rem}
.theme-game-mag .panel-close,.theme-game-mag .mobile-link{color:#141414}
.theme-game-mag .mobile-link{border-radius:0;font-family:system-ui,Arial,sans-serif;font-weight:800;letter-spacing:.08em}
.theme-game-mag .mobile-link:hover,.theme-game-mag .mobile-link.active{color:#141414;background:#DDFF77}
.theme-game-mag .mobile-categories .nav-category-list{margin:0;padding:0;list-style:none}
.theme-game-mag .mobile-categories .cat-dot{display:inline-block;width:10px;height:10px;margin-right:10px;background:#d7261e;vertical-align:middle}
.theme-game-mag .nav-section-label{display:block;margin:10px 0;color:#141414;font-family:'Bebas Neue',Impact,sans-serif;font-size:1.3rem;letter-spacing:.1em}
.theme-game-mag .mobile-search-form .glass-search-input{color:#141414;background:#fffdf6;border:1px solid #141414}

/* ── 首页：杂志封面，中央封面故事 + 左右两栏要目 + 底部 ALSO INSIDE ── */
.theme-game-mag .gm-cover{width:min(1400px,100%);margin:auto;padding:20px 24px 10px}
.theme-game-mag .gm-masthead{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"eyebrow copy" "title copy";align-items:end;gap:4px 40px;margin-bottom:20px;padding-bottom:14px;border-bottom:1px solid #141414}
.theme-game-mag .gm-masthead span{grid-area:eyebrow;justify-self:start;padding:1px 8px;color:#141414;background:#DDFF77;font-family:system-ui,Arial,sans-serif;font-size:.74rem;font-weight:800;letter-spacing:.16em}
.theme-game-mag .gm-masthead h1{grid-area:title;margin:0;color:#141414;font-family:'Bebas Neue',Impact,sans-serif;font-size:clamp(2.2rem,4vw,3.4rem);font-weight:400;line-height:.95}
.theme-game-mag .gm-masthead p{grid-area:copy;margin:0;color:#3a3a36;font-style:italic}
.theme-game-mag .gm-spread{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2.2fr) minmax(0,1fr);grid-template-areas:"left lead right";padding-bottom:20px;border-bottom:3px solid #141414}
.theme-game-mag .gm-story{display:grid;min-width:0;color:#141414;text-decoration:none}
.theme-game-mag .gm-lead{grid-area:lead;align-content:start;gap:8px;padding:0 24px;border-right:1px solid #141414;border-left:1px solid #141414}
.theme-game-mag .gm-lines{display:flex;flex-direction:column;gap:16px;min-width:0}
.theme-game-mag .gm-left{grid-area:left;padding-right:24px}
.theme-game-mag .gm-right{grid-area:right;padding-left:24px}
.theme-game-mag .gm-line{grid-template-columns:96px minmax(0,1fr);grid-template-areas:"art kicker" "art name";align-content:start;gap:4px 12px;padding-bottom:16px;border-bottom:1px solid #c9c5b6}
.theme-game-mag .gm-line:last-child{padding-bottom:0;border-bottom:0}
.theme-game-mag .gm-art{position:relative;grid-area:art;display:block;aspect-ratio:4/3;overflow:hidden;background:#141414}
.theme-game-mag .gm-lead .gm-art{grid-area:auto;aspect-ratio:16/10}
.theme-game-mag .gm-art img{display:block;width:100%;height:100%;object-fit:cover}
.theme-game-mag .gm-story:hover img,.theme-game-mag .gm-story:focus-visible img{opacity:.88}
.theme-game-mag .gm-score{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:84px;height:84px;color:#141414;background:#DDFF77;border:3px solid #141414;border-radius:50%;font-family:'Bebas Neue',Impact,sans-serif;font-size:2.4rem;font-weight:400;line-height:1;transform:rotate(-8deg)}
.theme-game-mag .gm-kicker{grid-area:kicker;overflow:hidden;color:#d7261e;font-family:system-ui,Arial,sans-serif;font-size:.7rem;font-weight:800;letter-spacing:.12em;white-space:nowrap;text-overflow:ellipsis}
.theme-game-mag .gm-story strong{grid-area:name;overflow:hidden;font-family:'Bebas Neue',Impact,sans-serif;font-size:1.45rem;font-weight:400;line-height:1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.theme-game-mag .gm-lead .gm-kicker,.theme-game-mag .gm-lead strong{grid-area:auto}
.theme-game-mag .gm-lead strong{font-size:clamp(2.4rem,4vw,3.6rem)}
.theme-game-mag .gm-inside{display:grid;grid-template-columns:auto repeat(4,minmax(0,1fr));align-items:start;gap:22px;padding:16px 0;border-bottom:1px solid #141414}
.theme-game-mag .gm-inside-label{align-self:stretch;padding:6px 4px;color:#141414;background:#DDFF77;font-family:'Bebas Neue',Impact,sans-serif;font-size:1.5rem;line-height:1;writing-mode:vertical-rl;transform:rotate(180deg)}
.theme-game-mag .gm-brief{grid-template-columns:72px minmax(0,1fr);grid-template-areas:"art kicker" "art name";gap:2px 10px}
.theme-game-mag .gm-brief strong{font-size:1.15rem}

/* ── 首页共享区（Featured / Popular）：报刊卡片 ── */
.theme-game-mag .glass-title{color:#141414;font-family:'Bebas Neue',Impact,sans-serif;font-weight:400;letter-spacing:.02em}
.theme-game-mag .glass-subtitle{color:#3a3a36;font-style:italic}
.theme-game-mag .glass-card{color:#141414;background:#fffdf6;border:1px solid #141414;border-radius:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.theme-game-mag .glass-card:hover{transform:none}
.theme-game-mag .glass-card-title{color:#141414}
.theme-game-mag .glass-card-badge{color:#fffdf6;background:#d7261e;border-radius:0}
.theme-game-mag .glass-card-category{color:#141414;background:#DDFF77;border-radius:0}
.theme-game-mag .glass-button{color:#141414;background:#DDFF77;border:1px solid #141414;border-radius:0;box-shadow:none;font-family:system-ui,Arial,sans-serif;font-weight:800}
.theme-game-mag .glass-button:hover{color:#fffdf6;background:#141414;transform:none}
.theme-game-mag .glass-button.secondary{color:#fffdf6;background:#141414}
.theme-game-mag .glass-button.secondary:hover{color:#141414;background:#DDFF77}
.theme-game-mag .glass-card a:not(.glass-button){color:#b01d16}
.theme-game-mag .static-page-body{color:#141414}

/* ── 列表页：3 栏报刊版面，细竖线分栏、无卡框，大号页码与标题在图上方 ── */
.theme-game-mag .ap-list-head{padding-bottom:12px;border-bottom:3px solid #141414}
.theme-game-mag .ap-list-title{color:#141414;font-family:'Bebas Neue',Impact,sans-serif;font-weight:400}
.theme-game-mag .ap-list-title .ap-list-title-cat{color:#141414;background:linear-gradient(transparent 55%,#DDFF77 55%)}
.theme-game-mag .ap-list-count{color:#3a3a36;font-style:italic}
.theme-game-mag .ap-cat-track{scroll-snap-type:x mandatory}
.theme-game-mag .ap-cat-pill{scroll-snap-align:start;color:#141414;background:#fffdf6;border:1px solid #141414;border-radius:0;font-family:system-ui,Arial,sans-serif;font-size:.8rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.theme-game-mag .ap-cat-pill:hover,.theme-game-mag .ap-cat-pill.active{color:#141414;background:#DDFF77;border-color:#141414}
.theme-game-mag .ap-list-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 0;counter-reset:pg}
.theme-game-mag .ap-game-card{display:flex;flex-direction:column;counter-increment:pg;overflow:visible;padding:0 24px;color:#141414;background:transparent;border:0;border-left:1px solid #141414;border-radius:0;box-shadow:none}
.theme-game-mag .ap-game-card:nth-child(3n+1){padding-left:0;border-left:0}
.theme-game-mag .ap-game-card:nth-child(3n){padding-right:0}
.theme-game-mag .ap-card-info{order:-1;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"num cat" "num name";align-items:end;gap:0 12px;padding:0 0 10px}
.theme-game-mag .ap-card-info::before{content:counter(pg,decimal-leading-zero);grid-area:num;color:#141414;font-family:'Bebas Neue',Impact,sans-serif;font-size:3.2rem;line-height:.85}
.theme-game-mag .ap-card-cat{grid-area:cat;color:#d7261e;font-family:system-ui,Arial,sans-serif;font-size:.68rem}
.theme-game-mag .ap-card-name{grid-area:name;color:#141414;font-family:'Bebas Neue',Impact,sans-serif;font-size:1.6rem;font-weight:400;line-height:1}
.theme-game-mag .ap-card-rating{order:2;padding-top:8px;color:#3a3a36;font-size:.78rem;font-style:italic}
.theme-game-mag .ap-card-rating i{color:#141414}
.theme-game-mag .ap-card-thumb{aspect-ratio:16/10}
.theme-game-mag .ap-card-badge{top:0;right:0;color:#141414;background:#DDFF77;border-radius:0}
.theme-game-mag .ap-play-btn{color:#141414;background:#DDFF77;border:2px solid #141414}
.theme-game-mag .ap-page-btn{color:#141414;background:#fffdf6;border:1px solid #141414;border-radius:0}
.theme-game-mag .ap-page-btn:hover,.theme-game-mag .ap-page-btn.active{color:#141414;background:#DDFF77;border-color:#141414}

/* ── 详情页：评测跨页，分类与标题通栏、评分圆标在标题右侧，海报与导语两栏 ── */
.theme-game-mag .ap-detail-hero{background:#fffdf6;border:0;border-top:6px solid #141414;border-bottom:3px solid #141414;border-radius:0;box-shadow:none}
.theme-game-mag .ap-detail-hero-bg,.theme-game-mag .ap-detail-hero-overlay{display:none}
.theme-game-mag .ap-detail-hero-inner{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-template-areas:"cat cat" "title score" "poster desc" "poster actions";align-items:start;gap:14px 34px;padding:28px 0}
.theme-game-mag .ap-detail-info{display:contents}
.theme-game-mag .ap-detail-cat{grid-area:cat;justify-self:start;margin:0;color:#141414;background:#DDFF77;border-radius:0;font-family:system-ui,Arial,sans-serif}
.theme-game-mag .ap-detail-title{grid-area:title;margin:0;color:#141414;font-family:'Bebas Neue',Impact,sans-serif;font-size:clamp(2.6rem,5vw,4.4rem);font-weight:400;line-height:.92}
.theme-game-mag .ap-detail-rating-row{grid-area:score;flex-direction:column;align-items:flex-end;justify-self:end;gap:6px;margin:0;color:#141414}
.theme-game-mag .ap-detail-score{order:-1;display:grid;place-items:center;width:96px;height:96px;padding:0;color:#141414;background:#DDFF77;border:3px solid #141414;border-radius:50%;font-family:'Bebas Neue',Impact,sans-serif;font-size:1.7rem;font-weight:400;transform:rotate(-8deg)}
.theme-game-mag .ap-detail-poster{grid-area:poster;border:0;border-radius:0}
.theme-game-mag .ap-detail-poster img{height:auto}
.theme-game-mag .ap-detail-play-icon{color:#141414;background:#DDFF77;border-color:#141414}
.theme-game-mag .ap-detail-desc{grid-area:desc;max-width:none;margin:0;padding-left:16px;color:#3a3a36;border-left:3px solid #DDFF77;font-size:1.05rem;font-style:italic}
.theme-game-mag .ap-detail-actions{grid-area:actions}
.theme-game-mag .ap-btn-play,.theme-game-mag .ap-btn-cat{border:1px solid #141414;border-radius:0;font-family:system-ui,Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase}
.theme-game-mag .ap-btn-play{color:#141414;background:#DDFF77}
.theme-game-mag .ap-btn-cat{color:#fffdf6;background:#141414}
.theme-game-mag .ap-btn-play:hover,.theme-game-mag .ap-btn-cat:hover{color:#fffdf6;background:#d7261e}
.theme-game-mag .ap-detail-card{color:#141414;background:#fffdf6;border:1px solid #141414;border-radius:0;box-shadow:none}
.theme-game-mag .ap-detail-card-title{color:#141414;border-bottom:1px solid #141414;font-family:'Bebas Neue',Impact,sans-serif;font-size:1.7rem;font-weight:400}
.theme-game-mag .ap-detail-card-accent{width:14px;height:14px;background:#DDFF77;border:2px solid #141414;border-radius:0}
.theme-game-mag .ap-detail-card-text{color:#3a3a36}
.theme-game-mag .ap-detail-info-list li{border-bottom:1px solid #c9c5b6}
.theme-game-mag .ap-info-label{color:#55544e}
.theme-game-mag .ap-info-value,.theme-game-mag .ap-rec-name{color:#141414}
.theme-game-mag .ap-info-rating,.theme-game-mag .ap-rec-cat{color:#b01d16}
.theme-game-mag .ap-rec-item:hover{background:#f6f4ec;border-color:#141414}

/* ── play 页：沿用共享骨架，报刊材质 ── */
.theme-game-mag .glass-game-header{border-top:6px solid #141414!important}
.theme-game-mag .glass-game-header .glass-title{color:#141414}
.theme-game-mag .glass-game-player{border:1px solid #141414!important;border-radius:0!important;background:#141414!important}
.theme-game-mag .glass-game-info .glass-card-body p{color:#3a3a36!important}
.theme-game-mag .glass-meta-item{background:#f6f4ec!important;border:1px solid #141414!important}
.theme-game-mag .glass-meta-value{color:#b01d16!important}

/* ── 搜索页：沿用共享骨架，报刊材质 ── */
.theme-game-mag .glass-search-input-group .glass-search-input{color:#141414;background:#fffdf6;border:1px solid #141414;border-radius:0!important}
.theme-game-mag .glass-search-input-group .glass-search-input::placeholder{color:#55544e}
.theme-game-mag .glass-card-category[style]{color:#141414!important;background:#DDFF77!important}
.theme-game-mag .glass-pagination-pages .glass-button{color:#141414!important;background:#DDFF77!important}
.theme-game-mag .glass-no-results-icon,.theme-game-mag .glass-search-icon{color:#141414!important}

/* ── 页脚与 404 ── */
.theme-game-mag .cyber-footer{color:#e8e5da;background:#141414;border-top:6px solid #DDFF77}
.theme-game-mag .cyber-footer .footer-content{background:#141414}
.theme-game-mag .cyber-footer .footer-title{color:#DDFF77;font-family:'Bebas Neue',Impact,sans-serif;font-size:1.6rem;font-weight:400}
.theme-game-mag .cyber-footer p{color:#e8e5da!important}
.theme-game-mag .cyber-footer .footer-links a{color:#e8e5da}
.theme-game-mag .cyber-footer .footer-links a:hover{color:#DDFF77}
.theme-game-mag .error-copy h1{font-family:'Bebas Neue',Impact,sans-serif;font-weight:400}
.theme-game-mag .error-code,.theme-game-mag .error-action-primary,.theme-game-mag .error-search button,.theme-game-mag .error-visual{color:#141414}
.theme-game-mag .error-eyebrow,.theme-game-mag .error-action-secondary,.theme-game-mag .error-breadcrumb a,.theme-game-mag .error-recovery-index{color:#b01d16}
.theme-game-mag .error-search input{color:#141414}

/* ── 抽屉断点（≤992 汉堡出现）：刊头收成单行（logo 左、搜索与汉堡右） ── */
@media(max-width:992px){
.theme-game-mag .glass-nav-container{grid-template-areas:"logo actions";min-height:64px}
.theme-game-mag .glass-nav-menu{display:none}
.theme-game-mag .glass-nav-actions{border-bottom:0}
.theme-game-mag .glass-logo{font-size:2.6rem}
.theme-game-mag .glass-search-input{width:200px}
.theme-game-mag .hamburger{display:flex;min-width:44px;min-height:44px;align-items:center;justify-content:center}
}

/* ── 移动端：封面故事在上，要目单列；列表两栏去掉页码大字 ── */
@media(max-width:768px){
.theme-game-mag .glass-nav-container{min-height:58px;padding:0 12px}
.theme-game-mag .glass-logo{font-size:2rem}
.theme-game-mag .gm-cover{padding:12px 10px 4px}
.theme-game-mag .gm-spread{grid-template-columns:minmax(0,1fr);grid-template-areas:"lead" "left" "right";gap:16px;padding-bottom:14px}
.theme-game-mag .gm-lead{padding:0;border:0}
.theme-game-mag .gm-lead strong{font-size:2.2rem}
.theme-game-mag .gm-score{width:60px;height:60px;font-size:1.7rem}
.theme-game-mag .gm-left,.theme-game-mag .gm-right{gap:12px;padding:0}
.theme-game-mag .gm-line{grid-template-columns:88px minmax(0,1fr);padding-bottom:12px}
.theme-game-mag .gm-right .gm-line:last-child,.theme-game-mag .gm-left .gm-line:last-child{padding-bottom:12px;border-bottom:1px solid #c9c5b6}
.theme-game-mag .gm-inside{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.theme-game-mag .gm-inside-label{grid-column:1/-1;justify-self:start;writing-mode:horizontal-tb;transform:none}
.theme-game-mag .gm-brief{grid-template-columns:minmax(0,1fr);grid-template-areas:"art" "kicker" "name"}
.theme-game-mag .ap-list-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 0}
.theme-game-mag .ap-game-card,.theme-game-mag .ap-game-card:nth-child(n){padding:0 0 0 12px;border-left:1px solid #141414}
.theme-game-mag .ap-game-card:nth-child(odd){padding:0 12px 0 0;border-left:0}
.theme-game-mag .ap-card-info{grid-template-columns:minmax(0,1fr);grid-template-areas:"cat" "name"}
.theme-game-mag .ap-card-info::before{display:none}
.theme-game-mag .ap-card-name{font-size:1.25rem}
.theme-game-mag .ap-detail-hero-inner{grid-template-columns:minmax(0,1fr);grid-template-areas:"cat" "title" "score" "poster" "desc" "actions";padding:18px 0;text-align:left}
.theme-game-mag .ap-detail-rating-row{flex-direction:row;align-items:center;justify-self:start}
.theme-game-mag .ap-detail-score{width:64px;height:64px;font-size:1.3rem}
.theme-game-mag .ap-detail-poster{width:100%}
.theme-game-mag .ap-detail-title{font-size:2.6rem}
.theme-game-mag .ap-detail-body{grid-template-columns:minmax(0,1fr)}
.theme-game-mag .glass-game-iframe{height:56vh!important}
}
@media(min-width:600px) and (max-width:768px){
.theme-game-mag .gm-spread{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"lead lead" "left right"}
.theme-game-mag .gm-inside{grid-template-columns:repeat(4,minmax(0,1fr))}
.theme-game-mag .gm-brief{grid-template-columns:minmax(0,1fr)}
}

/* ── 平板：封面三栏收窄，要目缩略图变小；列表保持 3 栏 ── */
@media(min-width:769px) and (max-width:1199px){
.theme-game-mag .gm-spread{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr) minmax(0,1fr)}
.theme-game-mag .gm-lead{padding:0 16px}
.theme-game-mag .gm-left{padding-right:16px}
.theme-game-mag .gm-right{padding-left:16px}
.theme-game-mag .gm-line{grid-template-columns:minmax(0,1fr);grid-template-areas:"art" "kicker" "name"}
.theme-game-mag .gm-inside{grid-template-columns:repeat(4,minmax(0,1fr))}
.theme-game-mag .gm-inside-label{grid-column:1/-1;justify-self:start;writing-mode:horizontal-tb;transform:none}
.theme-game-mag .gm-brief{grid-template-columns:minmax(0,1fr);grid-template-areas:"art" "kicker" "name"}
.theme-game-mag .ap-game-card{padding:0 14px}
.theme-game-mag .ap-card-name{font-size:1.3rem}
}
@media(min-width:769px) and (max-width:899px){
.theme-game-mag .ap-detail-body{grid-template-columns:minmax(0,1fr)}
}
