@import url('/css/theme-detail-base.css');
:root{--primary-color:#FFEE99;--secondary-color:#2e2f2a;--accent-color:#b03a48;--success-color:#306230;--warning-color:#b98a12;--danger-color:#b03a48;--bg-primary:#f4f0e2;--bg-secondary:#ffffff;--bg-tertiary:#e8e3cf;--text-primary:#2e2f2a;--text-secondary:#4a4b44;--text-tertiary:#5e5f56;--glass-bg:#ffffff;--glass-border:#2e2f2a;--glass-shadow:0 5px 0 #2e2f2a;--nav-bg:#FFEE99;--search-input-bg:#9BBC0F;--panel-bg:#f4f0e2;--footer-bg:#2e2f2a;--gradient-primary:linear-gradient(135deg,#2e2f2a,#45463f);--gradient-secondary:linear-gradient(135deg,#FFEE99,#f2dc72);--gradient-accent:linear-gradient(135deg,#b03a48,#8c2c38);--border-radius-sm:6px;--border-radius-md:12px;--border-radius-lg:22px;--transition:all .15s ease;--transition-bounce:all .2s ease;--shadow-sm:0 3px 0 #2e2f2a;--shadow-md:0 5px 0 #2e2f2a;--shadow-lg:0 8px 0 #2e2f2a}

/* ── body 与导航：暖灰底；页眉是柠檬机身，logo 嵌在豌豆绿 LCD 屏里，菜单是斜排的圆形按键 ── */
body.theme-pocket-console{font-family:system-ui,'Segoe UI',Roboto,Arial,sans-serif;color:#2e2f2a;background:#f4f0e2 radial-gradient(circle at 2px 2px,rgba(46,47,42,.08) 1.5px,transparent 0) 0 0/18px 18px}
.theme-pocket-console .particle{display:none}
.theme-pocket-console .main-content{margin-left:0}
.theme-pocket-console .glass-nav{position:relative;top:auto;padding:0;background:#FFEE99;border-bottom:4px solid #2e2f2a;box-shadow:inset 0 -8px 0 #f2dc72;backdrop-filter:none;-webkit-backdrop-filter:none;z-index:1000}
.theme-pocket-console .glass-nav-container{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-areas:"logo gap search menu";align-items:center;gap:22px;width:min(1400px,100%);max-width:none;min-height:78px;margin:auto;padding:0 24px}
.theme-pocket-console .glass-logo{grid-area:logo;padding:8px 16px;color:#0f380f;-webkit-text-fill-color:#0f380f;background:#9BBC0F;border:5px solid #3b3d36;border-radius:8px 8px 22px 8px;box-shadow:inset 0 0 0 2px #8bac0f;font-family:'Russo One',system-ui,sans-serif;font-size:1.3rem;font-weight:400;letter-spacing:.04em}
.theme-pocket-console .glass-nav-menu{grid-area:menu;display:flex;align-items:center;gap:14px;margin:0;padding:0}
.theme-pocket-console .glass-nav-menu li:nth-child(odd){margin-top:16px}
.theme-pocket-console .glass-nav-menu li:nth-child(even){margin-top:-16px}
.theme-pocket-console .glass-nav-link{display:flex;flex-direction:column;align-items:center;gap:4px;padding:0;color:#2e2f2a;background:none;border-radius:0;font-family:'Russo One',system-ui,sans-serif;font-size:.68rem;font-weight:400;letter-spacing:.06em;text-transform:uppercase}
.theme-pocket-console .glass-nav-link::before{content:'';width:30px;height:30px;background:#b03a48;border-radius:50%;box-shadow:0 4px 0 #7d2531;transition:transform .1s ease,box-shadow .1s ease}
.theme-pocket-console .glass-nav-link:hover,.theme-pocket-console .glass-nav-link.active{color:#2e2f2a;background:none}
.theme-pocket-console .glass-nav-link:hover::before,.theme-pocket-console .glass-nav-link.active::before{background:#2e2f2a;box-shadow:0 1px 0 #000;transform:translateY(3px)}
.theme-pocket-console .glass-nav-categories{display:none}
.theme-pocket-console .glass-nav-actions{grid-area:search;display:flex;align-items:center;gap:8px}
.theme-pocket-console .glass-search-box{overflow:hidden;border:4px solid #3b3d36;border-radius:8px}
.theme-pocket-console .glass-search-input{width:230px;color:#0f380f;background:#9BBC0F;border:0;border-radius:0}
.theme-pocket-console .glass-search-input::placeholder{color:#1d4a1d}
.theme-pocket-console .glass-search-btn{color:#FFEE99;background:#3b3d36;border-radius:0}
.theme-pocket-console .hamburger{color:#2e2f2a}
.theme-pocket-console .mobile-panel{background:#f4f0e2;box-shadow:none}
.theme-pocket-console .panel-header{border-bottom:4px solid #2e2f2a}
.theme-pocket-console .panel-close,.theme-pocket-console .mobile-link{color:#2e2f2a}
.theme-pocket-console .mobile-link{border:3px solid transparent;border-radius:999px;font-weight:700}
.theme-pocket-console .mobile-link:hover,.theme-pocket-console .mobile-link.active{color:#2e2f2a;background:#FFEE99;border-color:#2e2f2a}
.theme-pocket-console .mobile-categories .nav-category-list{margin:0;padding:0;list-style:none}
.theme-pocket-console .mobile-categories .cat-dot{display:inline-block;width:12px;height:12px;margin-right:10px;background:#b03a48;border-radius:50%;vertical-align:middle}
.theme-pocket-console .nav-section-label{display:block;margin:10px 0;color:#2e2f2a;font-family:'Russo One',system-ui,sans-serif;font-size:.78rem;letter-spacing:.14em}
.theme-pocket-console .mobile-search-form .glass-search-input{color:#0f380f;background:#9BBC0F;border:3px solid #3b3d36}

/* ── 首页：横版掌机（左十字键与 SELECT、中屏幕 3×2 卡带、右 A / B 两键） ── */
.theme-pocket-console .pc-handheld{width:min(1400px,100%);margin:auto;padding:24px 24px 8px}
.theme-pocket-console .pc-brand{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"eyebrow eyebrow" "title copy";align-items:end;gap:6px 28px;margin-bottom:20px}
.theme-pocket-console .pc-brand span{grid-area:eyebrow;justify-self:start;padding:3px 12px;color:#FFEE99;background:#2e2f2a;border-radius:999px;font-family:'Russo One',system-ui,sans-serif;font-size:.74rem;letter-spacing:.16em}
.theme-pocket-console .pc-brand h1{grid-area:title;margin:0;color:#2e2f2a;font-family:'Russo One',system-ui,sans-serif;font-size:clamp(1.7rem,3.2vw,2.7rem);font-weight:400;line-height:1.1}
.theme-pocket-console .pc-brand p{grid-area:copy;max-width:520px;margin:0;color:#4a4b44}
.theme-pocket-console .pc-body{display:grid;grid-template-columns:190px minmax(0,1fr) 230px;align-items:center;gap:26px;padding:30px 34px;background:#FFEE99;border:4px solid #2e2f2a;border-radius:46px 46px 46px 96px;box-shadow:inset -10px -10px 0 #f2dc72,0 8px 0 #2e2f2a}
.theme-pocket-console .pc-left{display:grid;justify-items:center;gap:30px}
.theme-pocket-console .pc-dpad{display:block;width:118px;height:118px;background:#2e2f2a;clip-path:polygon(34% 0,66% 0,66% 34%,100% 34%,100% 66%,66% 66%,66% 100%,34% 100%,34% 66%,0 66%,0 34%,34% 34%)}
.theme-pocket-console .pc-pill{padding:8px 16px;color:#FFEE99;background:#2e2f2a;border-radius:999px;font-family:'Russo One',system-ui,sans-serif;font-size:.74rem;letter-spacing:.06em;text-decoration:none;transform:rotate(-18deg)}
.theme-pocket-console .pc-pill:hover{color:#2e2f2a;background:#9BBC0F}
.theme-pocket-console .pc-screen{display:grid;gap:10px;padding:14px 18px 22px;background:#3b3d36;border-radius:12px 12px 44px 12px}
.theme-pocket-console .pc-screen-bar{display:flex;align-items:center;gap:8px;color:#d8d6c8;font-family:'Russo One',system-ui,sans-serif;font-size:.72rem;letter-spacing:.14em}
.theme-pocket-console .pc-screen-bar::before{content:'';width:10px;height:10px;background:#e04a5a;border-radius:50%;box-shadow:0 0 6px #e04a5a}
.theme-pocket-console .pc-screen-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:14px;background:#9BBC0F;border-radius:4px}
.theme-pocket-console .pc-cart{display:grid;grid-template-rows:auto auto auto;gap:4px;min-width:0;padding:6px 6px 8px;color:#0f380f;background:#8bac0f;border:3px solid #0f380f;clip-path:polygon(0 0,calc(100% - 16px) 0,100% 16px,100% 100%,0 100%);text-decoration:none}
.theme-pocket-console .pc-cart:hover,.theme-pocket-console .pc-cart:focus-visible{background:#a9cc2a}
.theme-pocket-console .pc-label{display:block;aspect-ratio:16/10;overflow:hidden;border:2px solid #0f380f}
.theme-pocket-console .pc-label img{display:block;width:100%;height:100%;object-fit:cover}
.theme-pocket-console .pc-cart strong{overflow:hidden;font-size:.86rem;white-space:nowrap;text-overflow:ellipsis}
.theme-pocket-console .pc-cart small{overflow:hidden;color:#1d4a1d;font-size:.72rem;font-weight:700;white-space:nowrap;text-overflow:ellipsis}
.theme-pocket-console .pc-right{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px}
.theme-pocket-console .pc-key{display:grid;justify-items:center;gap:8px;min-width:0;color:#2e2f2a;text-decoration:none}
.theme-pocket-console .pc-key-a{grid-column:2;grid-row:1}
.theme-pocket-console .pc-key-b{grid-column:1;grid-row:1;margin-top:64px}
.theme-pocket-console .pc-cap{position:relative;display:block;width:96px;aspect-ratio:1;overflow:hidden;background:#b03a48;border:5px solid #b03a48;border-radius:50%;box-shadow:0 6px 0 #7d2531;transition:transform .1s ease,box-shadow .1s ease}
.theme-pocket-console .pc-key:hover .pc-cap{box-shadow:0 2px 0 #7d2531;transform:translateY(4px)}
.theme-pocket-console .pc-cap img{display:block;width:100%;height:100%;object-fit:cover}
.theme-pocket-console .pc-cap b{position:absolute;bottom:6px;left:50%;width:24px;height:24px;color:#fff;background:#b03a48;border-radius:50%;font-family:'Russo One',system-ui,sans-serif;font-size:.8rem;font-weight:400;line-height:24px;text-align:center;transform:translateX(-50%)}
.theme-pocket-console .pc-key strong{max-width:100%;overflow:hidden;font-size:.8rem;white-space:nowrap;text-overflow:ellipsis}

/* ── 首页共享区（Featured / Popular） ── */
.theme-pocket-console .glass-title{color:#2e2f2a;font-family:'Russo One',system-ui,sans-serif;font-weight:400;letter-spacing:.01em}
.theme-pocket-console .glass-subtitle{color:#4a4b44}
.theme-pocket-console .glass-card{color:#2e2f2a;background:#fff;border:3px solid #2e2f2a;border-radius:12px;box-shadow:0 5px 0 #2e2f2a;backdrop-filter:none;-webkit-backdrop-filter:none}
.theme-pocket-console .glass-card:hover{transform:translateY(-3px)}
.theme-pocket-console .glass-card-title{color:#2e2f2a}
.theme-pocket-console .glass-card-badge{color:#fff;background:#b03a48;border-radius:999px}
.theme-pocket-console .glass-card-category{color:#0f380f;background:#9BBC0F;border-radius:4px}
.theme-pocket-console .glass-button{color:#FFEE99;background:#2e2f2a;border:3px solid #2e2f2a;border-radius:999px;box-shadow:0 4px 0 #000;font-weight:700}
.theme-pocket-console .glass-button:hover{color:#2e2f2a;background:#FFEE99;transform:translateY(2px);box-shadow:0 2px 0 #000}
.theme-pocket-console .glass-button.secondary{color:#fff;background:#b03a48;border-color:#7d2531}
.theme-pocket-console .glass-button.secondary:hover{color:#2e2f2a;background:#FFEE99}
.theme-pocket-console .glass-card a:not(.glass-button){color:#8c2c38}

/* ── 列表页：4 列缺角卡带（顶部棱纹、标签区封面、底部柠檬标签名） ── */
.theme-pocket-console .ap-list-head{padding-bottom:14px;border-bottom:4px solid #2e2f2a}
.theme-pocket-console .ap-list-title{color:#2e2f2a;font-family:'Russo One',system-ui,sans-serif;font-weight:400}
.theme-pocket-console .ap-list-title-cat{color:#b03a48}
.theme-pocket-console .ap-list-count{color:#4a4b44}
.theme-pocket-console .ap-cat-track{scroll-snap-type:x mandatory}
.theme-pocket-console .ap-cat-pill{scroll-snap-align:start;color:#2e2f2a;background:#fff;border:3px solid #2e2f2a;border-radius:999px;font-weight:700}
.theme-pocket-console .ap-cat-pill:hover,.theme-pocket-console .ap-cat-pill.active{color:#2e2f2a;background:#FFEE99;border-color:#2e2f2a}
.theme-pocket-console .ap-list-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.theme-pocket-console .ap-game-card{display:grid;grid-template-rows:18px auto auto;padding:0 12px 14px;color:#2e2f2a;background:#c9c7bd;border:4px solid #2e2f2a;border-radius:6px 0 6px 6px;box-shadow:none;clip-path:polygon(0 0,calc(100% - 22px) 0,100% 22px,100% 100%,0 100%)}
.theme-pocket-console .ap-game-card::before{content:'';grid-row:1;margin:4px 18% 0;background:repeating-linear-gradient(90deg,#8f8d84 0 4px,transparent 4px 10px)}
.theme-pocket-console .ap-game-card:hover{background:#d8d6cc;transform:translateY(-4px)}
.theme-pocket-console .ap-card-thumb{grid-row:2;aspect-ratio:4/3;margin-top:6px;border:3px solid #2e2f2a;border-bottom:0;border-radius:6px 6px 0 0}
.theme-pocket-console .ap-card-badge{color:#fff;background:#b03a48;border-radius:999px}
.theme-pocket-console .ap-play-btn{color:#fff;background:#b03a48}
.theme-pocket-console .ap-card-info{grid-row:3;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name name" "cat rating";gap:4px 8px;padding:8px 10px;background:#FFEE99;border:3px solid #2e2f2a;border-top-width:0;border-radius:0 0 6px 6px}
.theme-pocket-console .ap-card-name{grid-area:name;color:#2e2f2a;font-family:'Russo One',system-ui,sans-serif;font-weight:400}
.theme-pocket-console .ap-card-cat{grid-area:cat;max-width:100%;overflow:hidden;color:#8c2c38;font-size:.74rem;font-weight:700;white-space:nowrap;text-overflow:ellipsis}
.theme-pocket-console .ap-card-rating{grid-area:rating;min-height:0;color:#4a4b44;font-size:.74rem}
.theme-pocket-console .ap-card-rating i{color:#8c2c38}
.theme-pocket-console .ap-page-btn{color:#2e2f2a;background:#fff;border:3px solid #2e2f2a;border-radius:999px}
.theme-pocket-console .ap-page-btn:hover,.theme-pocket-console .ap-page-btn.active{color:#2e2f2a;background:#FFEE99;border-color:#2e2f2a}

/* ── 详情页：掌机式 hero（标题在顶、海报作屏幕居中、Play / More 两枚圆键夹在两侧、简介在下） ── */
.theme-pocket-console .ap-detail-hero{background:#FFEE99;border:4px solid #2e2f2a;border-radius:36px 36px 36px 80px;box-shadow:inset -10px -10px 0 #f2dc72,0 8px 0 #2e2f2a}
.theme-pocket-console .ap-detail-hero-bg,.theme-pocket-console .ap-detail-hero-overlay{display:none}
.theme-pocket-console .ap-detail-hero-inner{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) minmax(0,1fr);grid-template-areas:"title title title" "cat poster rating" "play poster more" "desc desc desc";align-items:center;gap:14px 30px;padding:30px 36px}
.theme-pocket-console .ap-detail-info,.theme-pocket-console .ap-detail-actions{display:contents}
.theme-pocket-console .ap-detail-title{grid-area:title;margin:0;color:#2e2f2a;font-family:'Russo One',system-ui,sans-serif;font-size:clamp(1.6rem,3vw,2.5rem);font-weight:400;text-align:center}
.theme-pocket-console .ap-detail-cat{grid-area:cat;justify-self:center;color:#0f380f;background:#9BBC0F;border:3px solid #3b3d36;border-radius:6px;font-weight:700}
.theme-pocket-console .ap-detail-rating-row{grid-area:rating;justify-self:center;flex-wrap:wrap;justify-content:center;margin:0;color:#2e2f2a}
.theme-pocket-console .ap-detail-score{color:#FFEE99;background:#2e2f2a}
.theme-pocket-console .ap-detail-poster{grid-area:poster;padding:14px 16px 22px;background:#3b3d36;border:0;border-radius:12px 12px 40px 12px;box-shadow:none}
.theme-pocket-console .ap-detail-poster img{height:auto;border:4px solid #9BBC0F;border-radius:2px}
.theme-pocket-console .ap-detail-play-icon{color:#fff;background:#b03a48;border-color:#fff}
.theme-pocket-console .ap-btn-play,.theme-pocket-console .ap-btn-cat{display:flex;align-items:center;justify-content:center;justify-self:center;width:132px;height:132px;padding:12px;border:0;border-radius:50%;font-family:'Russo One',system-ui,sans-serif;font-size:.86rem;font-weight:400;text-align:center;transition:transform .1s ease,box-shadow .1s ease}
.theme-pocket-console .ap-btn-play{grid-area:play;color:#fff;background:#b03a48;box-shadow:0 7px 0 #7d2531}
.theme-pocket-console .ap-btn-cat{grid-area:more;color:#FFEE99;background:#2e2f2a;box-shadow:0 7px 0 #000}
.theme-pocket-console .ap-btn-play:hover,.theme-pocket-console .ap-btn-cat:hover{transform:translateY(4px);box-shadow:0 3px 0 #000}
.theme-pocket-console .ap-detail-desc{grid-area:desc;max-width:820px;justify-self:center;margin:6px 0 0;color:#4a4b44;text-align:center;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.theme-pocket-console .ap-detail-card{color:#2e2f2a;background:#fff;border:3px solid #2e2f2a;border-radius:12px;box-shadow:0 5px 0 #2e2f2a}
.theme-pocket-console .ap-detail-card-title{color:#2e2f2a;font-family:'Russo One',system-ui,sans-serif;font-weight:400}
.theme-pocket-console .ap-detail-card-accent{background:#b03a48;border-radius:50%}
.theme-pocket-console .ap-detail-card-text{color:#4a4b44}
.theme-pocket-console .ap-detail-info-list li{border-bottom:2px dotted #c9c7bd}
.theme-pocket-console .ap-info-label{color:#5e5f56}
.theme-pocket-console .ap-info-value,.theme-pocket-console .ap-rec-name{color:#2e2f2a}
.theme-pocket-console .ap-info-rating,.theme-pocket-console .ap-rec-cat{color:#8c2c38}
.theme-pocket-console .ap-rec-item:hover{background:#FFEE99;border-color:#2e2f2a}

/* ── play 页：沿用共享骨架，播放器嵌进深灰屏幕边框 ── */
.theme-pocket-console .glass-game-header{background:#FFEE99;border:3px solid #2e2f2a;box-shadow:0 5px 0 #2e2f2a}
.theme-pocket-console .glass-game-header .glass-title{font-size:clamp(1.4rem,2.6vw,2.1rem)}
.theme-pocket-console .glass-game-player{padding:14px 16px 26px;border:0!important;border-radius:14px 14px 48px 14px!important;background:#3b3d36!important}
.theme-pocket-console .glass-meta-item{background:#f4f0e2!important;border:3px solid #2e2f2a!important;box-shadow:none}
.theme-pocket-console .glass-meta-value{color:#8c2c38!important}

/* ── 搜索页：4 列缺角卡带 ── */
.theme-pocket-console .glass-search-header{padding-bottom:14px;border-bottom:4px solid #2e2f2a}
.theme-pocket-console .glass-search-input-group .glass-search-input{color:#0f380f;background:#9BBC0F;border:4px solid #3b3d36;border-radius:8px!important}
.theme-pocket-console .glass-search-input-group .glass-search-input::placeholder{color:#1d4a1d}
.theme-pocket-console .glass-games-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:22px!important}
.theme-pocket-console .glass-game-card{display:grid;grid-template-rows:18px auto 1fr;padding:0 12px 12px;background:#c9c7bd;border:4px solid #2e2f2a;border-radius:6px 0 6px 6px;box-shadow:none;clip-path:polygon(0 0,calc(100% - 22px) 0,100% 22px,100% 100%,0 100%)}
.theme-pocket-console .glass-game-card::before{content:'';margin:4px 18% 0;background:repeating-linear-gradient(90deg,#8f8d84 0 4px,transparent 4px 10px)}
.theme-pocket-console .glass-game-card .glass-card-media{margin-top:6px;border:3px solid #2e2f2a;border-bottom:0;border-radius:6px 6px 0 0}
.theme-pocket-console .glass-game-card .glass-card-image{height:150px!important}
.theme-pocket-console .glass-game-card .glass-card-content{padding:10px!important;background:#FFEE99;border:3px solid #2e2f2a;border-radius:0 0 6px 6px}
.theme-pocket-console .glass-game-card .glass-card-title{font-size:1rem!important}
.theme-pocket-console .glass-card-category[style]{color:#0f380f!important;background:#9BBC0F!important}
.theme-pocket-console .glass-game-card .glass-card-actions{gap:6px!important}
.theme-pocket-console .glass-game-card .glass-card-actions .glass-button{padding:6px 8px;font-size:.8rem}
.theme-pocket-console .glass-pagination-pages .glass-button{color:#2e2f2a!important;background:#FFEE99!important}
.theme-pocket-console .glass-no-results-icon,.theme-pocket-console .glass-search-icon{color:#b03a48!important}

/* ── 页脚与 404 ── */
.theme-pocket-console .cyber-footer{color:#e8e3cf;background:#2e2f2a;border-top:6px solid #FFEE99}
.theme-pocket-console .cyber-footer .footer-content{background:#2e2f2a}
.theme-pocket-console .cyber-footer .footer-title{color:#FFEE99;font-family:'Russo One',system-ui,sans-serif;font-weight:400}
.theme-pocket-console .cyber-footer p{color:#e8e3cf!important}
.theme-pocket-console .cyber-footer .footer-links a{color:#e8e3cf}
.theme-pocket-console .cyber-footer .footer-links a:hover{color:#FFEE99}
.theme-pocket-console .error-panel{background:#fff;border:4px solid #2e2f2a;border-radius:22px}
.theme-pocket-console .error-copy h1{font-family:'Russo One',system-ui,sans-serif;font-weight:400}
.theme-pocket-console .error-code,.theme-pocket-console .error-action-primary,.theme-pocket-console .error-search button,.theme-pocket-console .error-visual{color:#2e2f2a}
.theme-pocket-console .error-eyebrow,.theme-pocket-console .error-action-secondary,.theme-pocket-console .error-breadcrumb a,.theme-pocket-console .error-recovery-index{color:#8c2c38}
.theme-pocket-console .error-action,.theme-pocket-console .error-search,.theme-pocket-console .error-panel,.theme-pocket-console .error-recovery{border-color:#2e2f2a}
.theme-pocket-console .error-search input{color:#0f380f}

/* ── 抽屉断点（≤992 汉堡出现） ── */
@media(max-width:992px){
.theme-pocket-console .glass-nav-container{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"logo gap search"}
.theme-pocket-console .glass-nav-menu{display:none}
.theme-pocket-console .glass-search-input{width:170px}
.theme-pocket-console .hamburger{display:flex;min-width:44px;min-height:44px;align-items:center;justify-content:center}
}

/* ── 移动端：屏幕在上（2 列卡带），A / B 键一行，十字键与 SELECT 收进底部 ── */
@media(max-width:768px){
.theme-pocket-console .glass-nav{box-shadow:inset 0 -5px 0 #f2dc72}
.theme-pocket-console .glass-nav-container{min-height:60px;padding:0 12px}
.theme-pocket-console .glass-logo{padding:4px 10px;border-width:3px;font-size:.95rem}
.theme-pocket-console .pc-handheld{padding:12px 10px 4px}
.theme-pocket-console .pc-body{grid-template-columns:minmax(0,1fr);gap:14px;padding:12px;border-radius:24px 24px 24px 48px;box-shadow:inset -6px -6px 0 #f2dc72,0 5px 0 #2e2f2a}
.theme-pocket-console .pc-screen{order:-1;padding:8px 8px 14px;border-radius:8px 8px 24px 8px}
.theme-pocket-console .pc-screen-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px}
.theme-pocket-console .pc-cart strong{font-size:.8rem}
.theme-pocket-console .pc-left{order:2;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px}
.theme-pocket-console .pc-dpad{width:52px;height:52px}
.theme-pocket-console .pc-pill{justify-self:start;transform:none}
.theme-pocket-console .pc-right{gap:8px}
.theme-pocket-console .pc-key-a,.theme-pocket-console .pc-key-b{margin-top:0}
.theme-pocket-console .pc-cap{width:72px}
.theme-pocket-console .ap-list-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.theme-pocket-console .ap-game-card{padding:0 8px 10px;border-width:3px}
.theme-pocket-console .ap-card-info{grid-template-areas:"name name" "cat cat" "rating rating";padding:6px 8px}
.theme-pocket-console .ap-card-name{font-size:.84rem}
.theme-pocket-console .ap-detail-hero{border-radius:24px 24px 24px 48px}
.theme-pocket-console .ap-detail-hero-inner{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"title title" "poster poster" "cat rating" "play more" "desc desc";gap:12px;padding:16px}
.theme-pocket-console .ap-detail-info,.theme-pocket-console .ap-detail-actions{display:contents}
.theme-pocket-console .ap-detail-poster{width:auto;justify-self:stretch;padding:8px 8px 14px}
.theme-pocket-console .ap-detail-title{font-size:1.4rem}
.theme-pocket-console .ap-btn-play,.theme-pocket-console .ap-btn-cat{justify-self:stretch;width:auto;height:auto;min-height:48px;border-radius:999px}
.theme-pocket-console .ap-detail-body{grid-template-columns:minmax(0,1fr)}
.theme-pocket-console .glass-game-player{padding:8px 8px 16px}
.theme-pocket-console .glass-game-iframe{height:56vh!important}
.theme-pocket-console .glass-games-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.theme-pocket-console .glass-game-card{padding:0 8px 8px;border-width:3px}
.theme-pocket-console .glass-game-card .glass-card-image{height:100px!important}
.theme-pocket-console .glass-game-card .glass-card-content{padding:8px!important}
.theme-pocket-console .glass-game-card .glass-card-title{font-size:.88rem!important}
.theme-pocket-console .glass-game-card .glass-card-actions{flex-direction:column}
}
@media(min-width:600px) and (max-width:768px){
.theme-pocket-console .pc-screen-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.theme-pocket-console .ap-list-grid,.theme-pocket-console .glass-games-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

/* ── 平板 ── */
@media(min-width:769px) and (max-width:1199px){
.theme-pocket-console .pc-body{grid-template-columns:120px minmax(0,1fr) 150px;gap:16px;padding:22px}
.theme-pocket-console .pc-dpad{width:84px;height:84px}
.theme-pocket-console .pc-right{grid-template-columns:minmax(0,1fr)}
.theme-pocket-console .pc-key-a,.theme-pocket-console .pc-key-b{grid-column:1;grid-row:auto;margin-top:0}
.theme-pocket-console .pc-cap{width:78px}
.theme-pocket-console .ap-list-grid,.theme-pocket-console .glass-games-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.theme-pocket-console .ap-btn-play,.theme-pocket-console .ap-btn-cat{width:110px;height:110px}
}
@media(min-width:769px) and (max-width:899px){
.theme-pocket-console .ap-detail-body{grid-template-columns:minmax(0,1fr)}
}
