/* BBSYX mobile experience · 2026-11-27
   Mobile-only visual layer. Desktop layout stays untouched. */

/* 双产品入口：桌面与手机共用 */
.product-gateways{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:17px 0 18px}
.product-gateway{position:relative;display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:14px;min-height:110px;padding:17px 19px;overflow:hidden;border-radius:24px;border:1px solid #dfe9f7;background:linear-gradient(135deg,#fff,#f4f9ff);box-shadow:0 16px 38px rgba(42,79,139,.08);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;isolation:isolate}
.product-gateway:before{content:"";position:absolute;width:180px;height:180px;right:-90px;top:-105px;border-radius:50%;background:radial-gradient(circle,rgba(69,135,255,.18),transparent 68%);pointer-events:none}
.product-gateway:hover{transform:translateY(-2px);border-color:#bfd4f2;box-shadow:0 22px 48px rgba(42,79,139,.13)}
.product-gateway.game{color:#fff;border-color:rgba(255,220,132,.42);background:radial-gradient(280px 170px at 100% 0,rgba(255,238,169,.3),transparent 66%),linear-gradient(135deg,#6f4607,#a86e10 54%,#5b3905);box-shadow:0 18px 42px rgba(112,71,9,.24)}
.product-gateway.game:before{background:radial-gradient(circle,rgba(255,225,125,.28),transparent 68%)}
.gateway-icon{display:grid;width:54px;height:54px;place-items:center;border-radius:18px;background:linear-gradient(145deg,#ffe9ad,#f2b62e);color:#503000;font-size:24px;font-weight:900;box-shadow:0 12px 25px rgba(195,124,8,.2),inset 0 1px 0 rgba(255,255,255,.7)}
.product-gateway.game .gateway-icon{background:linear-gradient(145deg,#fff0b9,#e0a62a);border:1px solid rgba(255,246,204,.62);color:#4f3000;box-shadow:0 10px 24px rgba(78,47,0,.24),inset 0 1px 0 rgba(255,255,255,.72)}
.gateway-copy{display:grid;min-width:0;gap:2px;text-align:left}
.gateway-copy small{color:#7b8da5;font-size:10px;font-weight:900;letter-spacing:.13em}
.gateway-copy strong{color:#10213c;font-size:22px;font-weight:900;letter-spacing:-.035em;line-height:1.16}
.gateway-copy em{overflow:hidden;color:#667992;font-size:12.5px;font-style:normal;line-height:1.55;text-overflow:ellipsis;white-space:nowrap}
.product-gateway.game .gateway-copy small{color:#f2d993}.product-gateway.game .gateway-copy strong{color:#fff9e8}.product-gateway.game .gateway-copy em{color:#f4dda6}
.gateway-go{display:inline-flex;align-items:center;gap:5px;padding:8px 11px;border:1px solid #dce8f8;border-radius:999px;background:rgba(255,255,255,.8);color:#245bb6;font-size:12px;font-weight:900;white-space:nowrap}
.gateway-go i{font-style:normal;font-size:14px}
.product-gateway.game .gateway-go{border-color:rgba(255,239,178,.42);background:rgba(255,247,214,.14);color:#fff2bd}

/* 移动端底部导航，桌面隐藏 */
.mobile-dock{display:none}

@media(max-width:820px){
  :root{--m-ink:#0d1a2f;--m-muted:#718097;--m-line:#e2eaf5;--m-blue:#2467e8;--m-cyan:#13a6b8;--m-green:#0c8c68;--m-gold:#e7ac31;--m-radius:24px}
  html{overflow-x:clip}
  body:not([data-app-view]){overflow:visible!important;transform:none!important}
  body:not([data-app-view]){padding-bottom:calc(88px + env(safe-area-inset-bottom));background:radial-gradient(450px 300px at 100% 0,rgba(90,157,255,.14),transparent 65%),linear-gradient(180deg,#f8fbff,#f4f8fe 42%,#fff)}
  body:not([data-app-view]) .shell{width:100%;max-width:none;padding-left:14px;padding-right:14px}
  body:not([data-app-view]) .topbar{position:fixed;top:0;left:0;right:0;z-index:60;height:68px;width:100%;margin:0;padding:10px 14px;border-bottom:1px solid rgba(221,231,244,.8);background:rgba(248,251,255,.88);backdrop-filter:blur(20px) saturate(1.2);-webkit-backdrop-filter:blur(20px) saturate(1.2)}
  body:not([data-app-view]) .brand{gap:9px;min-width:0}
  body:not([data-app-view]) .brand img{width:40px;height:40px;border-radius:13px;box-shadow:0 8px 20px rgba(32,70,136,.15)}
  body:not([data-app-view]) .brand span{font-size:17px;letter-spacing:-.02em;white-space:nowrap}
  body:not([data-app-view]) .brand small{display:none}
  body:not([data-app-view]) .nav{gap:6px;margin-left:auto}
  body:not([data-app-view]) .nav a:not(.login){display:none}
  body:not([data-app-view]) .nav a.login{display:inline-flex;min-height:38px;align-items:center;padding:0 13px;font-size:13.5px!important;font-weight:800;white-space:nowrap}
  body:not([data-app-view]) main.shell{padding-top:10px}
  body:not([data-app-view]) section[id]{scroll-margin-top:82px}
  body:not([data-app-view]) footer.shell{padding-top:24px;padding-bottom:14px;color:#8492a6;font-size:12.5px;line-height:1.8}
  body:not([data-app-view]) .footer-links{display:flex;flex-wrap:wrap;gap:9px 14px;font-size:12.5px}

  /* 手机端双产品分流：两张并排的大入口，清楚区分软件 */
  .product-gateways{grid-template-columns:1fr 1fr;gap:9px;margin:11px 0 13px}
  .product-gateway{display:flex;flex-direction:column;align-items:flex-start;min-height:172px;padding:15px 13px 13px;border-radius:23px;gap:8px}
  .product-gateway:before{width:140px;height:140px;right:-72px;top:-76px}
  .gateway-icon{width:44px;height:44px;border-radius:15px;font-size:21px}
  .gateway-copy{gap:2px}
  .gateway-copy small{font-size:9.2px!important;letter-spacing:.01em;white-space:nowrap;line-height:1.35}
  .gateway-copy strong{font-size:22px;line-height:1.08}
  .gateway-copy em{display:-webkit-box;overflow:hidden;font-size:11.5px;line-height:1.45;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:3}
  .gateway-go{margin-top:auto;padding:7px 10px;font-size:12px}

  /* 首页 */
  body.home .poster{padding:21px 18px 18px;border:1px solid #e4edf9;border-radius:27px;background:radial-gradient(300px 210px at 100% 0,rgba(92,154,255,.11),transparent 70%),linear-gradient(155deg,#fff 0%,#f9fcff 62%,#f5f9ff);box-shadow:0 18px 44px rgba(45,84,146,.08);gap:22px}
  body.home .poster-tag{padding:7px 10px;font-size:12px!important;line-height:1.4;border-radius:999px;background:rgba(255,255,255,.92)}
  body.home .poster h1{margin:16px 0 13px;font-size:clamp(34px,9.1vw,39px);line-height:1.1;letter-spacing:-.06em}
  body.home .poster-lead{font-size:15px!important;line-height:1.78;color:#5c6c83}
  body.home .poster-actions{display:grid;grid-template-columns:1fr;gap:9px;margin-top:19px}
  body.home .poster-actions .btn{width:100%;min-height:48px;border-radius:15px;font-size:15px!important}
  body.home .poster-actions .btn.soft{display:none}
  body.home .poster-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-top:22px;padding-top:17px;border-top:1px solid #e6eef9}
  body.home .poster-stats div{min-width:0;padding:0 5px 0 10px}
  body.home .poster-stats div:first-child{padding-left:0}
  body.home .poster-stats div+div{border-left:1px solid #e6eef9}
  body.home .poster-stats b{font-size:19px!important;line-height:1.1;white-space:nowrap}
  body.home .poster-stats span{margin-top:4px;font-size:11px!important;line-height:1.3;white-space:nowrap}
  body.home .poster-visual{padding:0;margin-top:0;max-width:none}
  body.home .hero-slide{padding:0 0 22px}
  body.home .main-shot{transform:none;border-radius:21px;border-color:rgba(255,255,255,.8);box-shadow:0 22px 48px rgba(21,48,94,.2)}
  body.home .shot-frame img{aspect-ratio:16/10;object-fit:cover;object-position:top center}
  body.home .platform-chips,body.home .float-glass{display:none}
  body.home .shot-tag{left:11px;bottom:10px;padding:6px 9px;font-size:10.5px!important}
  body.home .hero-carousel-bar{right:0;bottom:2px;padding:6px 8px 6px 10px;border-radius:999px;font-size:11px}
  body.home .hero-carousel-bar b{font-size:11.5px}
  body.home .hero-carousel-live{display:none}

  body.home .showcase{margin-top:15px;padding:17px 14px 15px;border-radius:25px;box-shadow:0 16px 38px rgba(45,84,146,.07)}
  body.home .showcase-head{display:block;margin-bottom:15px}
  body.home .showcase-kicker{font-size:10.5px!important;letter-spacing:.1em}
  body.home .showcase-head h2{margin-top:7px;font-size:23px!important;line-height:1.16;letter-spacing:-.05em}
  body.home .showcase-head p{margin-top:6px;font-size:13.5px!important;line-height:1.65}
  body.home .showcase-tabs{display:flex;width:100%;max-width:100%;overflow-x:auto;gap:5px;margin-top:12px;padding:4px;border-radius:16px;scrollbar-width:none}
  body.home .showcase-tabs::-webkit-scrollbar{display:none}
  body.home .showcase-tab{flex:1 0 0;min-width:0;width:auto;padding:9px 8px;gap:7px;border-radius:12px}
  body.home .tab-icon{width:29px;height:29px;flex-basis:29px;border-radius:10px;font-size:12px}
  body.home .showcase-tab b{font-size:12.5px!important;line-height:1.25;white-space:nowrap}
  body.home .showcase-tab small{display:none}
  body.home .showcase-panel{grid-template-columns:1fr;gap:9px}
  body.home .showcase-main{border-radius:19px}
  body.home .showcase-main img{aspect-ratio:16/10}
  body.home .showcase-live{left:10px;top:10px;padding:5px 8px;font-size:9.5px!important}
  body.home .showcase-caption{left:10px;right:10px;bottom:9px;padding:8px 10px;border-radius:10px;font-size:10.5px!important}
  body.home .showcase-thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  body.home .showcase-thumb{display:grid;grid-template-columns:1fr;gap:6px;padding:5px;border-radius:13px}
  body.home .showcase-thumb img{width:100%;height:auto;aspect-ratio:16/10;border-radius:9px}
  body.home .showcase-thumb span{padding:0 2px 2px}
  body.home .showcase-thumb b{font-size:11.5px!important;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.home .showcase-thumb small{display:none}

  body.home .shot-row{display:flex;grid-template-columns:none;overflow-x:auto;gap:11px;margin:16px -14px 0;padding:0 14px 8px;scroll-snap-type:x mandatory;scrollbar-width:none}
  body.home .shot-row::-webkit-scrollbar{display:none}
  body.home .shot-row .shot-card,body.home .shot-row .shot-card:first-child{flex:0 0 min(84vw,335px);grid-column:auto;scroll-snap-align:start;border-radius:22px}
  body.home .shot-row .shot-card .thumb,body.home .shot-row .shot-card:first-child .thumb{height:188px}
  body.home .shot-card .body{padding:15px 15px 17px}
  body.home .shot-card h3{font-size:18px!important;line-height:1.35}
  body.home .shot-card p{font-size:13.5px!important;line-height:1.65}
  body.home .shot-card .pills span{font-size:10.5px!important}

  body.home .home-section{padding:20px 0 0}
  body.home .home-head{display:flex;align-items:flex-end;gap:10px;margin-bottom:12px}
  body.home .home-head h2{font-size:26px!important;line-height:1.18}
  body.home .home-head p{margin-top:5px;font-size:13.5px!important;line-height:1.6}
  body.home .home-head .link{display:none}
  body.home .cap-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  body.home .cap{padding:14px 13px 15px;border-radius:18px}
  body.home .cap .ico{width:34px;height:34px;border-radius:12px;font-size:15px;margin-bottom:9px}
  body.home .cap h3{font-size:15px!important;line-height:1.35}
  body.home .cap p{margin-top:5px;font-size:13.5px!important;line-height:1.62}
  body.home .dual{grid-template-columns:1fr;gap:11px}
  body.home .product{min-height:0;padding:24px 20px;border-radius:25px}
  body.home .product h3{font-size:28px}
  body.home .product p{font-size:14px!important;line-height:1.72}
  body.home .prod-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:20px}
  body.home .prod-actions .btn{width:100%;min-height:46px}
  body.home .cta-band{padding:24px 18px;border-radius:24px;margin-top:18px}
  body.home .cta-band h2{font-size:25px!important}
  body.home .cta-band .actions{display:grid;grid-template-columns:1fr;gap:8px}
  body.home .cta-band .btn{width:100%;min-height:46px}

  /* 产品页 */
  body.product main.shell{padding-top:8px}
  body.product .product-page{grid-template-columns:1fr;gap:24px;padding:17px 0 24px}
  body.product .big-icon{width:63px;height:63px;border-radius:21px;font-size:27px;margin-bottom:15px}
  body.product .product-page h1{font-size:clamp(37px,10vw,43px);line-height:1.1}
  body.product .product-page .lead{margin-top:12px;font-size:15px!important;line-height:1.75}
  body.product .hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px}
  body.product .hero-actions .btn{min-height:46px;padding:0 8px;font-size:13.5px!important;line-height:1.25}
  body.product .download-panel{padding:21px 18px;border-radius:26px}
  body.product .download-panel h2{font-size:25px!important}
  body.product .download-panel p{font-size:13.5px!important}
  body.product .big-download{min-height:56px;padding:0 14px;border-radius:17px;font-size:17px;margin-top:18px}
  body.product .download-panel .meta{gap:8px}
  body.product .meta-box{padding:11px;font-size:11.5px!important;line-height:1.45}
  body.product .meta-box b{margin-top:3px;font-size:13px!important}
  body.product .hash{margin-top:12px;padding:10px;font-size:10px!important;line-height:1.55;border-radius:10px}
  body.product .download-panel .alt{display:grid;grid-template-columns:1fr 1fr;gap:7px}
  body.product .download-panel .alt .btn{min-height:43px;font-size:12.5px!important;padding:0 7px}
  body.product .section{padding:21px 0}
  body.product .section-head{margin-bottom:13px}
  body.product .section-head h2{font-size:23.5px!important;line-height:1.22}
  body.product .section-head p{margin-top:6px;font-size:13.5px!important;line-height:1.6}
  body.product .feature-list{grid-template-columns:1fr 1fr;gap:8px;margin-top:0}
  body.product .feature-chip{padding:12px 12px 13px;border-radius:16px;font-size:13.5px!important;line-height:1.55}
  body.product .feature-chip b{font-size:13.5px!important;margin-bottom:3px}
  body.product .steps{grid-template-columns:1fr;gap:8px}
  body.product .step{display:grid;grid-template-columns:34px minmax(0,1fr);gap:2px 10px;padding:14px;border-radius:17px}
  body.product .step>b{grid-row:1/3;width:34px;height:34px;margin:0;font-size:13px}
  body.product .step h4{font-size:15px!important;align-self:end}
  body.product .step p{margin-top:2px;font-size:13.5px!important;line-height:1.55}

  /* 登录 / 注册 */
  body.account main.shell{padding-top:8px}
  body.account .auth-page{display:flex;flex-direction:column;gap:12px;padding:5px 0 18px;min-height:0}
  body.account .auth-card{order:1;width:100%;padding:20px 16px;border-radius:26px;box-shadow:0 20px 48px rgba(39,72,130,.1)}
  body.account .auth-card h1{font-size:29px!important}
  body.account .auth-card .sub{font-size:13.5px!important}
  body.account .tabs{margin:18px 0 16px;padding:4px;border-radius:14px}
  body.account .tabs button{min-height:39px;font-size:13.5px!important;padding:8px 4px}
  body.account .auth-qr-card{grid-template-columns:1fr;justify-items:center;gap:11px;padding:16px 14px;border-radius:22px;text-align:center}
  body.account .auth-qr-frame{width:154px;height:154px;padding:8px;border-radius:20px}
  body.account .auth-qr-side{align-items:center;gap:7px}
  body.account .auth-qr-side>strong{font-size:18px!important}
  body.account .auth-qr-side>p{font-size:13px!important;line-height:1.55}
  body.account .auth-qr-expire{font-size:12px!important}
  body.account .auth-qr-refresh{min-height:36px;padding:0 14px;font-size:12.5px!important}
  body.account .auth-qr-security{font-size:11.5px!important;line-height:1.55}
  body.account .field{margin-top:11px}
  body.account .field label{font-size:13px!important}
  body.account .field input{min-height:47px;padding:11px 13px;font-size:16px!important;border-radius:13px}
  body.account .auth-submit{min-height:49px;border-radius:14px;font-size:15px!important}
  body.account .auth-foot{font-size:12px!important;line-height:1.7}
  body.account .auth-intro{order:2;padding:23px 19px;border-radius:26px}
  body.account .auth-intro h2{font-size:28px!important;margin:13px 0 10px}
  body.account .auth-intro p{font-size:14px!important;line-height:1.7}
  body.account .auth-points{gap:9px;margin-top:18px}
  body.account .auth-points li{font-size:13px!important;line-height:1.55}

  /* 用户后台 / 管理员后台 */
  body.console{background:linear-gradient(180deg,#f7faff,#f3f7fd 38%,#fff);padding-bottom:24px}
  body.console .rail{position:sticky;top:0;z-index:50;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 10px;width:auto;padding:10px 14px;border-right:0;border-bottom:1px solid rgba(218,229,243,.9);background:rgba(248,251,255,.9);box-shadow:0 8px 26px rgba(44,76,128,.06);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
  body.console .rail .brand{grid-column:1;grid-row:1;padding:0;gap:9px;min-width:0}
  body.console .rail .brand img{width:38px;height:38px;border-radius:12px}
  body.console .rail .brand span{font-size:16px;white-space:nowrap}
  body.console .rail .brand small{display:none}
  body.console .rail-nav{grid-column:1/-1;grid-row:2;display:flex;gap:5px;overflow-x:auto;margin:2px 0 0;padding-bottom:2px;scrollbar-width:none}
  body.console .rail-nav::-webkit-scrollbar{display:none}
  body.console .rail-nav a{display:flex;flex:0 0 auto;flex-direction:row;align-items:center;gap:6px;justify-content:center;padding:7px 10px;border-radius:12px;font-size:12.5px!important;line-height:1.2;white-space:nowrap}
  body.console .rail-nav .nav-ico{width:22px;height:22px;border-radius:8px;font-size:10px}
  body.console .rail-foot{grid-column:2;grid-row:1;display:flex;align-items:center;gap:5px;margin:0;padding:0;border:0;background:transparent}
  body.console .rail-user{display:none}
  body.console .rail-foot>button,body.console .rail-actions a,body.console .rail-actions button{width:auto;margin:0;padding:8px 10px;border:1px solid #dbe6f3;border-radius:999px;background:#fff;color:#5e6f86;font-size:11.5px!important;line-height:1.2;white-space:nowrap}
  body.console .rail-actions{display:flex;gap:5px;margin:0}
  body.console .main{margin:0;padding:17px 14px 36px;max-width:none}
  body.console .main-head{display:block;margin-bottom:18px}
  body.console .kicker{font-size:10.5px!important;letter-spacing:.12em}
  body.console .main-head h1{margin-top:4px;font-size:33px!important;line-height:1.12}
  body.console .main-head p{margin-top:7px;font-size:14px!important;line-height:1.65}
  body.console .head-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}
  body.console .head-actions .btn{min-height:41px;padding:0 12px;font-size:12.5px!important}
  body.console .admin-entry{width:41px;height:41px}
  body.console .summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  body.console .stat{padding:14px 13px;border-radius:18px}
  body.console .stat .icon{width:30px;height:30px;border-radius:10px;margin-bottom:9px;font-size:12px}
  body.console .stat b{font-size:24px!important}
  body.console .stat span{font-size:12px!important;line-height:1.4}
  body.console .section{margin-top:22px;scroll-margin-top:128px}
  body.console .section-title{display:flex;align-items:flex-end;gap:9px;margin-bottom:11px}
  body.console .section-title h2{font-size:23px!important;line-height:1.2}
  body.console .section-title p{margin-top:4px;font-size:12.5px!important;line-height:1.5}
  body.console .section-title>.btn,body.console .section-title>button{min-height:39px;padding:0 11px;font-size:12px!important;white-space:nowrap}
  body.console .notice{padding:11px 12px;border-radius:14px;font-size:12.5px!important;line-height:1.65}
  body.console .serial-card{padding:15px;border-radius:18px}
  body.console .serial-name{font-size:17px!important}
  body.console .serial-badges .badge{font-size:10.5px!important;padding:4px 8px}
  body.console .serial-code{font-size:12px!important;padding:9px 10px;line-height:1.55}
  body.console .serial-code button{font-size:10.5px!important;padding:4px 7px}
  body.console .serial-meta{grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}
  body.console .serial-meta .meta-box{padding:9px 10px;font-size:11px!important;line-height:1.4}
  body.console .serial-meta .meta-box b{font-size:12.5px!important}
  body.console .device{font-size:12px!important;gap:7px;padding:8px}
  body.console .device code{font-size:10.5px!important}
  body.console .device .btn{font-size:10.5px!important;padding:5px 7px}
  body.console .serial-actions .btn{font-size:11.5px!important;padding:8px 10px}
  body.console .help{padding:17px 15px;border-radius:20px;gap:12px}
  body.console .help b{font-size:16px!important}
  body.console .help p{font-size:12.5px!important;line-height:1.6}
  body.console .help .btn{width:100%;min-height:43px}
  body.console .footer-note{font-size:11px!important;line-height:1.6}
  body.console .issue-grid{grid-template-columns:1fr;gap:18px}
  body.console .issue-form{grid-template-columns:1fr 1fr;gap:9px}
  body.console .issue-form .field:nth-of-type(3),body.console .issue-form .field:nth-of-type(4){grid-column:auto}
  body.console .field{font-size:12px!important;gap:5px}
  body.console .field input,body.console .field select{min-height:44px;padding:10px 11px;font-size:15px!important}
  body.console .user-results{max-height:280px}
  body.console .user-row{padding:10px}
  body.console .admin-table-head{display:none}
  body.console .admin-row{grid-template-columns:1fr;gap:10px;padding:15px 3px}
  body.console .admin-main,body.console .admin-meta,body.console .admin-usage,body.console .admin-actions,body.console .admin-edit{grid-column:1;grid-row:auto}
  body.console .admin-actions{flex-direction:row;justify-content:flex-start;flex-wrap:wrap}
  body.console .admin-actions .btn{width:auto}
  body.console .admin-edit form{grid-template-columns:1fr 1fr;gap:8px}
  body.console .admin-edit .field:nth-of-type(3),body.console .admin-edit .field:nth-of-type(4){grid-column:auto}
  body.console .table-wrap{overflow-x:auto}
  body.console table{min-width:620px}

  /* 移动端底部导航 */
  .mobile-dock{position:fixed;left:50%;bottom:calc(9px + env(safe-area-inset-bottom));z-index:90;display:grid;grid-template-columns:repeat(4,1fr);width:calc(100% - 22px);max-width:430px;padding:7px;transform:translateX(-50%);border:1px solid rgba(255,255,255,.18);border-radius:24px;background:rgba(12,25,44,.93);box-shadow:0 18px 44px rgba(8,24,50,.28),inset 0 1px 0 rgba(255,255,255,.12);backdrop-filter:blur(22px) saturate(1.2);-webkit-backdrop-filter:blur(22px) saturate(1.2)}
  .mobile-dock a{display:flex;min-height:52px;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:18px;color:#9fb0c7;transition:background .18s,color .18s,transform .18s}
  .mobile-dock a span{display:grid;width:25px;height:25px;place-items:center;border-radius:9px;background:rgba(255,255,255,.07);font-size:13px;line-height:1}
  .mobile-dock a b{font-size:11.5px;font-weight:800;letter-spacing:.02em;line-height:1}
  .mobile-dock a.is-active{background:linear-gradient(145deg,rgba(77,143,255,.3),rgba(28,88,192,.2));color:#fff;box-shadow:inset 0 0 0 1px rgba(116,173,255,.22)}
  .mobile-dock a.is-active span{background:linear-gradient(145deg,#4b91ff,#1e5fca);box-shadow:0 6px 15px rgba(35,104,219,.3)}

  /* 饱巴适大厅：保留原有视觉，只修手机端密度、搜索和操作按钮 */
  body[data-app-view] .topbar{padding-left:12px;padding-right:12px;box-shadow:0 9px 28px rgba(0,0,0,.18)}
  body[data-app-view] .global-search-main{gap:6px;padding:7px 8px;border-radius:15px}
  body[data-app-view] .global-search-icon{width:32px;height:32px;flex:0 0 32px}
  body[data-app-view] .global-search-main input{min-width:0!important;font-size:14px!important;padding:7px 2px}
  body[data-app-view] .global-search-main input::placeholder{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body[data-app-view] .global-search-main .button{min-height:34px;padding:0 11px;font-size:13px!important;border-radius:10px;white-space:nowrap}
  body[data-app-view="lobby"] .app-main{padding-top:112px!important;padding-bottom:146px!important}
  body[data-app-view="lobby"] .lobby-live-layout{gap:12px!important}
  body[data-app-view="lobby"] .lobby-feature-row{gap:8px!important;margin-left:-12px!important;margin-right:-12px!important;padding-left:12px!important;padding-right:12px!important;scroll-snap-type:x mandatory}
  body[data-app-view="lobby"] .lobby-feature-card{width:calc((100vw - 44px)/3.12)!important;flex-basis:calc((100vw - 44px)/3.12)!important;scroll-snap-align:start;border-radius:18px!important}
  body[data-app-view="lobby"] .lobby-feature-art{height:174px!important}
  body[data-app-view="lobby"] .lobby-feature-copy{padding:9px 8px 10px!important}
  body[data-app-view="lobby"] .lobby-feature-copy>strong{font-size:15px!important;line-height:1.3!important}
  body[data-app-view="lobby"] .lobby-feature-copy>small{font-size:11.5px!important;line-height:1.45!important}
  body[data-app-view="lobby"] .lobby-card-meta{gap:4px!important;margin-top:6px!important}
  body[data-app-view="lobby"] .lobby-online-pill,body[data-app-view="lobby"] .lobby-card-services b{font-size:9.5px!important;padding:3px 5px!important}
  body[data-app-view="lobby"] .lobby-mini-row{padding:0 1px!important}
  body[data-app-view="lobby"] .lobby-mini-card strong{font-size:12px!important}
  body[data-app-view="lobby"] .lobby-promo-card{border-radius:21px!important;padding:14px!important}
  body[data-app-view="lobby"] .lobby-promo-text strong{font-size:16.2px!important;line-height:1.35!important;letter-spacing:-.02em}
  body[data-app-view="lobby"] .lobby-promo-text small{font-size:11.5px!important;line-height:1.5!important}
  body[data-app-view="lobby"] .lobby-promo-copy{min-height:40px!important;font-size:12.5px!important}
  body[data-app-view="lobby"] .lobby-task-alerts{border-radius:21px!important}
  body[data-app-view="lobby"] .lobby-action-glass{border-radius:22px!important;padding:15px!important}
  body[data-app-view="lobby"] .lobby-action-glass-copy>strong{font-size:23px!important;line-height:1.25!important}
  body[data-app-view="lobby"] .lobby-action-glass-copy>small{font-size:11.5px!important}
  body[data-app-view="lobby"] .lobby-action-button{min-height:64px!important;padding:9px 11px!important;border-radius:16px!important}
  body[data-app-view="lobby"] .lobby-action-label b{font-size:15px!important;white-space:nowrap}
  body[data-app-view="lobby"] .lobby-action-label small{display:none!important}
  body[data-app-view="lobby"] .lobby-featured-section .companion-card{grid-template-columns:1fr 1fr!important;gap:9px!important}
  body[data-app-view="lobby"] .companion-card{padding:13px!important;border-radius:18px!important}
  body[data-app-view="lobby"] .companion-card .companion-identity strong{font-size:15px!important}
  body[data-app-view="lobby"] .companion-card .companion-card-actions .button{min-height:34px!important;font-size:12px!important}
}

@media(max-width:380px){
  .gateway-copy strong{font-size:20px}
  .gateway-copy em{font-size:11px}
  body.home .poster h1{font-size:33px}
  body.home .poster-stats span{font-size:10px!important}
  body.product .feature-list{grid-template-columns:1fr}
  body.console .issue-form{grid-template-columns:1fr}
  body.console .issue-form .field{grid-column:auto!important}
}


@media(max-width:820px){
  body[data-app-view="lobby"] .lobby-mini-art{background:radial-gradient(circle at 32% 22%,rgba(106,208,255,.35),transparent 38%),linear-gradient(145deg,#173c67,#0d223e)!important;border:1px solid rgba(139,201,255,.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 9px 20px rgba(0,0,0,.18)}
  body[data-app-view="lobby"] .lobby-mini-art img{opacity:.94;mix-blend-mode:screen}
  body[data-app-view="lobby"] .lobby-action-button{padding-inline:9px!important}
  body[data-app-view] .main-nav{box-shadow:0 -10px 30px rgba(4,13,28,.26)!important;border-top-color:rgba(255,255,255,.1)!important}
  body[data-app-view] .nav-button .nav-label{font-size:12.5px!important}
}


@media(max-width:820px){
  body[data-app-view="lobby"] .lobby-feature-art{background:radial-gradient(120px 95px at 26% 12%,rgba(92,181,255,.4),transparent 68%),linear-gradient(155deg,#163f68,#0a1b31)!important}
  body[data-app-view="lobby"] .lobby-feature-card:nth-child(2n) .lobby-feature-art{background:radial-gradient(120px 95px at 70% 8%,rgba(255,112,164,.3),transparent 66%),linear-gradient(155deg,#45234d,#171429)!important}
  body[data-app-view="lobby"] .lobby-feature-card:nth-child(3n) .lobby-feature-art{background:radial-gradient(120px 95px at 44% 0,rgba(109,255,189,.26),transparent 66%),linear-gradient(155deg,#174a3b,#0b241f)!important}
  body[data-app-view="lobby"] .lobby-feature-art img{mix-blend-mode:screen;opacity:.86}
  body[data-app-view="lobby"] .lobby-feature-art:after{background:linear-gradient(180deg,rgba(5,13,25,.02) 16%,rgba(4,11,21,.82))!important}
  body[data-app-view="lobby"] .lobby-feature-copy{background:linear-gradient(180deg,rgba(7,17,29,.18),rgba(4,11,20,.82))!important}
}


@media(max-width:820px){
  body:not([data-app-view]) main.shell{padding-top:78px!important}
  body:not([data-app-view]) .topbar{box-shadow:0 8px 28px rgba(35,65,112,.06)}
}
