/* ToyToy：Toy 目录平台（商店 / 库版式） */
:root{
  --bg:#1b2838; --bg2:#171a21; --panel:#16202d; --line:#2a475e;
  --txt:#c6d4df; --dim:#8f98a0; --hi:#fff; --link:#66c0f4; --blue:#1a9fff;
  --green1:#75b022; --green2:#588a1b; --gtxt:#d2efa9;
  --safe-top:0px; --safe-right:0px;
  --w:940px;
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{background:var(--bg);color:var(--txt);font:14px/1.45 "Microsoft YaHei","PingFang SC",Arial,sans-serif;-webkit-tap-highlight-color:transparent}
body{min-height:100vh;background:radial-gradient(ellipse 90% 520px at 50% 0,#2c4a66 0%,rgba(27,40,56,0) 100%) var(--bg) no-repeat}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
img{display:block}
.logo-svg{display:inline-block;width:34px;height:34px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -7.7 56 63.7'%3E%3Crect x='1.1' y='1.1' width='11.8' height='11.8' rx='2' fill='%23723ba5'/%3E%3Crect x='1.1' y='1.1' width='10.2' height='10.2' rx='2' fill='%23d3a5ff'/%3E%3Crect x='2.7' y='2.7' width='8.6' height='8.6' rx='1.4' fill='%23b05cff'/%3E%3Crect x='15.1' y='1.1' width='11.8' height='11.8' rx='2' fill='%23723ba5'/%3E%3Crect x='15.1' y='1.1' width='10.2' height='10.2' rx='2' fill='%23d3a5ff'/%3E%3Crect x='16.7' y='2.7' width='8.6' height='8.6' rx='1.4' fill='%23b05cff'/%3E%3Crect x='29.1' y='1.1' width='11.8' height='11.8' rx='2' fill='%23723ba5'/%3E%3Crect x='29.1' y='1.1' width='10.2' height='10.2' rx='2' fill='%23d3a5ff'/%3E%3Crect x='30.7' y='2.7' width='8.6' height='8.6' rx='1.4' fill='%23b05cff'/%3E%3Crect x='15.1' y='15.1' width='11.8' height='11.8' rx='2' fill='%23723ba5'/%3E%3Crect x='15.1' y='15.1' width='10.2' height='10.2' rx='2' fill='%23d3a5ff'/%3E%3Crect x='16.7' y='16.7' width='8.6' height='8.6' rx='1.4' fill='%23b05cff'/%3E%3Crect x='1.1' y='15.1' width='11.8' height='11.8' rx='2' fill='%23a5641d'/%3E%3Crect x='1.1' y='15.1' width='10.2' height='10.2' rx='2' fill='%23ffc78c'/%3E%3Crect x='2.7' y='16.7' width='8.6' height='8.6' rx='1.4' fill='%23ff9a2e'/%3E%3Crect x='1.1' y='29.1' width='11.8' height='11.8' rx='2' fill='%23a5641d'/%3E%3Crect x='1.1' y='29.1' width='10.2' height='10.2' rx='2' fill='%23ffc78c'/%3E%3Crect x='2.7' y='30.7' width='8.6' height='8.6' rx='1.4' fill='%23ff9a2e'/%3E%3Crect x='1.1' y='43.1' width='11.8' height='11.8' rx='2' fill='%23a5641d'/%3E%3Crect x='1.1' y='43.1' width='10.2' height='10.2' rx='2' fill='%23ffc78c'/%3E%3Crect x='2.7' y='44.7' width='8.6' height='8.6' rx='1.4' fill='%23ff9a2e'/%3E%3Crect x='15.1' y='43.1' width='11.8' height='11.8' rx='2' fill='%23a5641d'/%3E%3Crect x='15.1' y='43.1' width='10.2' height='10.2' rx='2' fill='%23ffc78c'/%3E%3Crect x='16.7' y='44.7' width='8.6' height='8.6' rx='1.4' fill='%23ff9a2e'/%3E%3Crect x='29.1' y='15.1' width='11.8' height='11.8' rx='2' fill='%233b8827'/%3E%3Crect x='29.1' y='15.1' width='10.2' height='10.2' rx='2' fill='%23a5e693'/%3E%3Crect x='30.7' y='16.7' width='8.6' height='8.6' rx='1.4' fill='%235cd23c'/%3E%3Crect x='29.1' y='29.1' width='11.8' height='11.8' rx='2' fill='%233b8827'/%3E%3Crect x='29.1' y='29.1' width='10.2' height='10.2' rx='2' fill='%23a5e693'/%3E%3Crect x='30.7' y='30.7' width='8.6' height='8.6' rx='1.4' fill='%235cd23c'/%3E%3Crect x='29.1' y='43.1' width='11.8' height='11.8' rx='2' fill='%233b8827'/%3E%3Crect x='29.1' y='43.1' width='10.2' height='10.2' rx='2' fill='%23a5e693'/%3E%3Crect x='30.7' y='44.7' width='8.6' height='8.6' rx='1.4' fill='%235cd23c'/%3E%3Crect x='15.1' y='29.1' width='11.8' height='11.8' rx='2' fill='%233b8827'/%3E%3Crect x='15.1' y='29.1' width='10.2' height='10.2' rx='2' fill='%23a5e693'/%3E%3Crect x='16.7' y='30.7' width='8.6' height='8.6' rx='1.4' fill='%235cd23c'/%3E%3Crect x='43.1' y='-6.6' width='11.8' height='11.8' rx='2' fill='%231b89a5'/%3E%3Crect x='43.1' y='-6.6' width='10.2' height='10.2' rx='2' fill='%2389e7ff'/%3E%3Crect x='44.7' y='-5.0' width='8.6' height='8.6' rx='1.4' fill='%232ad4ff'/%3E%3Crect x='43.1' y='7.4' width='11.8' height='11.8' rx='2' fill='%231b89a5'/%3E%3Crect x='43.1' y='7.4' width='10.2' height='10.2' rx='2' fill='%2389e7ff'/%3E%3Crect x='44.7' y='9.0' width='8.6' height='8.6' rx='1.4' fill='%232ad4ff'/%3E%3Crect x='43.1' y='21.4' width='11.8' height='11.8' rx='2' fill='%231b89a5'/%3E%3Crect x='43.1' y='21.4' width='10.2' height='10.2' rx='2' fill='%2389e7ff'/%3E%3Crect x='44.7' y='23.0' width='8.6' height='8.6' rx='1.4' fill='%232ad4ff'/%3E%3Crect x='43.1' y='35.4' width='11.8' height='11.8' rx='2' fill='%231b89a5'/%3E%3Crect x='43.1' y='35.4' width='10.2' height='10.2' rx='2' fill='%2389e7ff'/%3E%3Crect x='44.7' y='37.0' width='8.6' height='8.6' rx='1.4' fill='%232ad4ff'/%3E%3C/svg%3E") center/contain no-repeat;vertical-align:middle}

/* 加载 */
#loading{position:fixed;inset:0;z-index:99;background:var(--bg2);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;transition:opacity .35s}
#loading.out{opacity:0;pointer-events:none}
.ld-logo{width:84px;height:84px;background:inherit}
.ld-logo{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='2' y='2' width='60' height='60' rx='15' fill='%231a9fff'/%3E%3Cpath d='M15 14h34v8H36v9h-8v-9H15z' fill='%23fff'/%3E%3Cg fill='none' stroke='%23fff' stroke-width='5'%3E%3Ccircle cx='22' cy='43' r='6.5'/%3E%3Ccircle cx='42' cy='43' r='6.5'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;animation:ldp 1.2s ease-in-out infinite}
@keyframes ldp{50%{transform:translateY(-6px)}}
.ld-bar{width:220px;height:4px;background:#2a3f5a;border-radius:2px;overflow:hidden}
.ld-bar i{display:block;height:100%;width:30%;background:var(--blue);animation:ldb 1s linear infinite}
@keyframes ldb{from{transform:translateX(-100%)}to{transform:translateX(340%)}}
.ld-txt{color:var(--dim);font-size:13px}

/* 全局顶栏 */
#global{background:var(--bg2);padding-top:var(--safe-top)}
.g-inner{max-width:var(--w);margin:0 auto;height:104px;display:flex;align-items:center;gap:40px;padding:0 10px}
.g-logo{display:flex;align-items:center;gap:8px;color:#c5c3c0;flex:none}
.g-logo .logo-svg{width:44px;height:44px}
.g-logo b{font-size:30px;letter-spacing:4px;font-weight:700}
.g-logo sup{font-size:11px;letter-spacing:1px;margin-left:-4px;align-self:flex-start;margin-top:30px}
.g-nav{display:flex;gap:6px}
.g-nav a{font-size:16px;color:#dcdedf;text-transform:uppercase;padding:42px 8px 38px;border-bottom:3px solid transparent;letter-spacing:.5px}
.g-nav a:hover{color:#fff}
.g-nav a.on{color:var(--blue);border-bottom-color:var(--blue)}
.g-user{margin-left:auto;display:flex;align-items:center;gap:10px;font-size:12px;color:#b8b6b4;align-self:flex-start;margin-top:12px;margin-right:var(--safe-right)}
.g-user .install{background:#5c7e10;color:#fff;height:26px;padding:0 11px 0 9px;display:flex;gap:6px;align-items:center;border-radius:2px;font-size:13px;line-height:1;white-space:nowrap}
.g-user .install .dice{width:15px;height:15px;flex:none;transition:transform .3s}
.g-user .install:hover .dice{transform:rotate(15deg)}
.g-user .install:hover{background:#7ea64b}
.g-user .avatar{width:32px;height:32px;border:1px solid #4c91ac;background:#2a475e}
.g-burger{display:none;width:40px;height:40px;flex:none;flex-direction:column;justify-content:center;gap:5px;align-items:center}
.g-burger i{display:block;width:22px;height:2px;background:#c5c3c0}

/* 商店子导航 */
#storenav{max-width:var(--w);margin:0 auto 18px;position:relative;z-index:20}
.sn-inner{height:35px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(90deg,rgba(62,103,150,.92) 11.38%,rgba(58,120,177,.8) 25.23%,rgb(15,33,110) 100%);box-shadow:0 0 3px rgba(0,0,0,.4)}
.sn-tabs{display:flex;height:100%}
.sn-tab{position:relative;display:flex;align-items:center;padding:0 15px;color:#e5e5e5;font-size:13px;cursor:pointer;white-space:nowrap}
.sn-tab:hover{background:linear-gradient(90deg,rgba(116,169,216,.6),rgba(116,169,216,.1));color:#fff}
.sn-drop:after{content:"";border:4px solid transparent;border-top-color:#e5e5e5;margin:4px 0 0 6px}
.sn-menu{display:none;position:absolute;top:35px;left:0;min-width:200px;background:#3d4450;box-shadow:0 0 12px #000;padding:8px 0;z-index:30}
.sn-drop:hover .sn-menu,.sn-drop.open .sn-menu{display:block}
.sn-menu a{display:block;padding:7px 18px;color:#dcdedf;font-size:13px}
.sn-menu a:hover{background:#dcdedf;color:#171a21}
.sn-menu-wide{min-width:420px;columns:2}
.sn-menu h5{color:#7193a6;font-size:11px;padding:6px 18px;text-transform:uppercase;letter-spacing:1px;font-weight:400}
#favcount{color:#a4d007}
.sn-search{position:relative;margin-right:4px;display:flex}
.sn-search input{width:200px;height:27px;background:#316282;border:1px solid #1d3447;border-radius:3px;color:#fff;padding:0 30px 0 9px;font-size:14px;outline:none;box-shadow:inset 1px 1px 0 rgba(0,0,0,.3)}
.sn-search input::placeholder{color:#0e1c25;font-style:italic}
.sn-search input:focus::placeholder{color:#76a2c0}
.sn-search button{position:absolute;right:2px;top:2px;width:25px;height:23px;background:#67c1f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10' cy='10' r='6.5' fill='none' stroke='%23fff' stroke-width='2.6'/%3E%3Cpath d='M15 15l6 6' stroke='%23fff' stroke-width='2.8' stroke-linecap='round'/%3E%3C/svg%3E") center/15px no-repeat;border-radius:3px}
.sn-suggest{display:none;position:absolute;top:30px;right:0;width:360px;background:#3d4450;box-shadow:0 0 12px #000;z-index:40}
.sn-suggest.show{display:block}
.sg-item{display:flex;gap:10px;padding:6px;align-items:center;cursor:pointer;color:#dcdedf}
.sg-item:hover,.sg-item.sel{background:#dcdedf;color:#171a21}
.sg-item img{width:120px;height:45px;object-fit:cover;flex:none;background:#222}
.sg-item .sg-t{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sg-item .sg-p{font-size:12px;opacity:.75}

main{max-width:var(--w);margin:0 auto;padding:0 0 40px;min-height:60vh}

/* 区块标题 */
.sec{margin:32px 0 0}
.sec-h{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:10px;padding-bottom:4px}
.sec-h h2{font-size:14px;font-weight:400;color:#fff;text-transform:uppercase;letter-spacing:.04em}
.btn-more{font-size:11px;color:#fff;border:1px solid rgba(255,255,255,.4);border-radius:2px;padding:3px 12px;text-transform:uppercase;letter-spacing:.06em}
.btn-more:hover{border-color:#fff;background:rgba(255,255,255,.1)}
.sec-h .sub{color:var(--dim);font-size:12px;text-transform:none;margin-left:10px}

/* 推荐轮播 */
.feat{position:relative;margin-top:6px}
.feat-frame{display:flex;height:353px;box-shadow:0 0 7px rgba(0,0,0,.6);cursor:pointer;background:#0f1922}
.feat-main{width:616px;flex:none;position:relative;overflow:hidden;background:#000}
.feat-main img{width:100%;height:100%;object-fit:cover}
.feat-side{flex:1;padding:14px 14px 10px;display:flex;flex-direction:column;background:linear-gradient(135deg,#0e1c25 0%,#1b2f42 100%);min-width:0}
.feat-side h3{font-size:24px;color:#fff;font-weight:400;line-height:1.15;margin-bottom:10px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.feat-shots{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:10px}
.feat-shots div{aspect-ratio:162/69;background:#000 center/cover no-repeat;opacity:.85}
.feat-shots div:hover{opacity:1}
.feat-reason{font-size:19px;color:#fff;margin-bottom:2px}
.feat-reason small{display:block;font-size:13px;color:var(--dim)}
.feat-tags{display:flex;flex-wrap:wrap;gap:3px;margin:6px 0}
.tag{display:inline-block;background:rgba(255,255,255,.2);color:#fff;font-size:11px;padding:1px 7px;border-radius:2px;white-space:nowrap;max-width:140px;overflow:hidden;text-overflow:ellipsis}
.tag-blue{background:rgba(103,193,245,.2);color:var(--link)}
.tag-blue:hover{background:var(--link);color:#fff}
.feat-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px}
.feat-bottom .plat{color:var(--dim);font-size:12px}
.arrow{position:absolute;top:0;bottom:0;width:46px;display:flex;align-items:center;justify-content:center}
.arrow:before{content:"";width:23px;height:36px;background:linear-gradient(90deg,rgba(0,0,0,.3) 5%,rgba(0,0,0,0) 95%);display:block}
.arrow i{position:absolute;border:solid #fff;border-width:0 4px 4px 0;padding:7px;opacity:.75}
.arrow:hover i{opacity:1}
.arrow.l{left:-46px}.arrow.l i{transform:rotate(135deg)}
.arrow.r{right:-46px}.arrow.r i{transform:rotate(-45deg)}
.dots{display:flex;justify-content:center;gap:4px;margin-top:10px}
.dots i{width:15px;height:9px;border-radius:2px;background:hsla(202,60%,100%,.2);cursor:pointer;transition:background .2s}
.dots i.on{background:hsla(202,60%,100%,.4)}

/* 价格 / 免费块 */
.price{display:inline-flex;align-items:center;background:rgba(0,0,0,.2);height:28px;font-size:13px;color:#beee11;padding:0 8px}
.price .disc{background:#4c6b22;color:#beee11;font-size:16px;font-weight:600;height:28px;line-height:28px;padding:0 6px;margin-left:-8px;margin-right:8px}
.price .orig{text-decoration:line-through;color:#738895;font-size:11px;margin-right:6px}
.price.plain{color:#fff;background:transparent;padding:0}

/* 横排胶囊 */
.capsules{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:start}
.capsules.c3{grid-template-columns:repeat(3,minmax(0,1fr))}
.cap{position:relative;display:block;background:#1b2838;box-shadow:0 0 5px #000;transition:transform .15s}
.cap:hover{transform:translateY(-2px);box-shadow:0 4px 14px #000}
.cap .img{aspect-ratio:460/215;background:#0e141b center/cover no-repeat}
.cap .cap-b{padding:6px 8px;background:linear-gradient(180deg,#203243,#1b2838);display:flex;align-items:center;justify-content:space-between;gap:6px}
.cap .cap-t{min-width:0;font-size:13px;color:#dcdedf;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cap .cap-n{font-size:11px;color:var(--dim);white-space:nowrap}
.cap.tall .img{aspect-ratio:4/3}
.cap .rank{position:absolute;top:6px;left:6px;background:rgba(0,0,0,.65);color:#fff;font-size:12px;padding:1px 7px;border-radius:2px}

/* 横向滚动条（特别推荐） */
.strip{position:relative}
.strip-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 30px)/4);gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:4px 0 8px}
.strip-track::-webkit-scrollbar{display:none}
.strip-track>*{scroll-snap-align:start}

/* 分类方块 */
.cats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.catbox{position:relative;height:120px;overflow:hidden;box-shadow:0 0 5px #000;background:#0e141b}
.catbox .bgs{position:absolute;inset:0;display:grid;grid-template-columns:1fr 1fr;opacity:.55;filter:saturate(.7);transition:transform .4s}
.catbox .bgs div{background:center/cover no-repeat}
.catbox:hover .bgs{transform:scale(1.06);opacity:.7}
.catbox:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 30%,var(--cc,#1a44c2) 100%);opacity:.85}
.catbox span{position:absolute;left:0;right:0;bottom:12px;text-align:center;color:#fff;font-size:17px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;z-index:2;text-shadow:0 0 8px #000}

/* 首页标签页：新品 / 热门 */
.tabarea{display:flex;gap:0}
.tablist{flex:1;min-width:0}
.tabs{display:flex;gap:2px}
.tabs button{padding:8px 14px;background:rgba(0,0,0,.2);color:#4f94bc;font-size:14px}
.tabs button:hover{color:#fff}
.tabs button.on{background:#2a475e;color:#fff}
.tabrows{background:#2a475e;padding:6px 0 10px 0}
.trow{display:flex;height:69px;margin:0 0 5px;background:rgba(0,0,0,.2);cursor:pointer;position:relative}
.trow:hover,.trow.on{background:#95bcd3}
.trow:hover *,.trow.on *{color:#10161b!important}
.trow img{width:184px;height:69px;object-fit:cover;flex:none;background:#0e141b}
.trow .tr-m{flex:1;padding:8px 12px;min-width:0}
.trow .tr-t{color:#c7d5e0;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.trow .tr-s{font-size:11px;color:#384959;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:4px}
.trow .tr-s .tg{color:#5d7b93}
.trow .tr-r{padding:0 12px;display:flex;align-items:center;color:#beee11;font-size:13px}
.tabprev{width:308px;flex:none;background:#95bcd3;padding:16px;margin-top:37px;color:#263645;display:flex;flex-direction:column;gap:8px}
.tabprev h4{font-size:21px;color:#263645;font-weight:400;line-height:1.2}
.tabprev .tp-r{font-size:12px}
.tabprev .tp-r b{color:#1a4d6e}
.tabprev .tp-tags{display:flex;flex-wrap:wrap;gap:3px}
.tabprev .tp-tags .tag{background:#7ea7c0;color:#263645}
.tabprev .tp-img{aspect-ratio:4/3;background:#000 center/cover no-repeat;box-shadow:0 0 6px rgba(0,0,0,.4)}
.tabprev .tp-icon{width:64px;height:64px;border-radius:12px;background:#000 center/cover}

/* 按钮 */
.btn-green{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:2px;padding:0 15px;height:32px;font-size:15px;color:var(--gtxt);background:linear-gradient(to right,var(--green1) 5%,var(--green2) 95%);white-space:nowrap}
.btn-green:hover{color:#fff;background:linear-gradient(to right,#8ed629 5%,#6aa621 95%)}
.btn-blue{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:2px;padding:0 15px;height:30px;font-size:14px;color:var(--link);background:rgba(103,193,245,.2);white-space:nowrap}
.btn-blue:hover{color:#fff;background:linear-gradient(-60deg,#417a9b 5%,#67c1f5 95%)}
.btn-blue.on{color:#fff;background:#4b7d9b}
.btn-gray{display:inline-flex;align-items:center;justify-content:center;border-radius:2px;padding:0 12px;height:30px;font-size:13px;color:#fff;background:rgba(255,255,255,.1)}
.btn-gray:hover{background:rgba(255,255,255,.25)}

/* 搜索页 */
.crumb{font-size:12px;color:var(--dim);margin:6px 0 4px}
.crumb a{color:var(--dim)}.crumb a:hover{color:#fff}
.srch{display:flex;gap:14px;align-items:flex-start}
.srch-main{flex:1;min-width:0}
.srch-bar{display:flex;gap:8px;align-items:center;background:linear-gradient(90deg,rgba(0,0,0,.2),rgba(0,0,0,.1));padding:10px;margin-bottom:10px;flex-wrap:wrap}
.srch-bar input{flex:1;min-width:140px;height:30px;background:#222b35;border:1px solid #000;border-radius:3px;color:#fff;padding:0 8px;font-size:14px;outline:none}
.srch-bar input:focus{border-color:#4e92b9}
.srch-bar select{height:30px;background:#384959;color:#fff;border:0;border-radius:3px;padding:0 6px;font:inherit;font-size:13px}
.srch-count{color:var(--dim);font-size:12px;margin:0 0 6px 2px}
.srow{display:flex;align-items:center;height:56px;margin-bottom:4px;background:rgba(0,0,0,.2);cursor:pointer}
.srow:nth-child(odd){background:rgba(0,0,0,.28)}
.srow:hover{background:linear-gradient(90deg,rgba(255,255,255,.08),rgba(0,0,0,.15))}
.srow img{width:120px;height:45px;object-fit:cover;margin:0 10px 0 6px;flex:none;background:#0e141b}
.srow .sr-t{flex:1;min-width:0}
.srow .sr-t b{display:block;font-weight:400;color:#c7d5e0;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.srow .sr-t small{color:#4c6c8c;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.srow .sr-d{width:110px;font-size:11px;color:#4c6c8c;flex:none}
.srow .sr-h{width:120px;flex:none;font-size:12px}
.srow .sr-p{width:92px;flex:none;text-align:right;padding-right:10px;color:#beee11;font-size:12px}
.srch-side{width:260px;flex:none;display:flex;flex-direction:column;gap:10px}
.fbox{background:#316282;background:linear-gradient(180deg,rgba(49,98,130,.6),rgba(32,59,82,.6))}
.fbox h4{padding:7px 10px;font-size:12px;color:#fff;font-weight:400;text-transform:uppercase;letter-spacing:.06em;background:rgba(0,0,0,.2)}
.fbox .fb-c{padding:6px 0;max-height:320px;overflow:auto}
.fopt{display:flex;align-items:center;gap:8px;padding:4px 10px;font-size:12px;color:#dcdedf;cursor:pointer}
.fopt:hover{background:rgba(255,255,255,.1)}
.fopt i{width:15px;height:15px;border:1px solid #6b8aaa;background:rgba(0,0,0,.3);flex:none;position:relative}
.fopt.on i:after{content:"";position:absolute;left:4px;top:0;width:4px;height:9px;border:solid #67c1f5;border-width:0 2px 2px 0;transform:rotate(45deg)}
.fopt.on{color:#67c1f5}
.fopt em{margin-left:auto;font-style:normal;color:var(--dim)}
.loadmore{display:flex;justify-content:center;margin:16px 0}
.empty{padding:40px 10px;text-align:center;color:var(--dim)}

/* 详情页 */
.app-head{margin-top:4px}
.app-head h1{font-size:26px;color:#fff;font-weight:400;line-height:1.2;margin:2px 0 10px}
.app-top{display:flex;gap:14px;background:rgba(0,0,0,.2);padding:0 0 0 0}
.app-media{width:600px;flex:none}
.app-media .big{aspect-ratio:600/338;background:#000 center/contain no-repeat;position:relative}
.app-media .thumbs{display:flex;gap:4px;margin-top:4px;overflow-x:auto;background:rgba(0,0,0,.2);padding:4px}
.app-media .thumbs div{width:116px;height:65px;flex:none;background:#000 center/cover no-repeat;opacity:.6;cursor:pointer;border:2px solid transparent}
.app-media .thumbs div.on{opacity:1;border-color:#fff}
.app-info{flex:1;min-width:0;padding:0 0 10px}
.app-info .hdr{aspect-ratio:460/215;background:#000 center/cover no-repeat;margin-bottom:10px}
.app-info .desc{font-size:13px;color:#c6d4df;margin-bottom:10px;line-height:1.5}
.irow{display:flex;font-size:11px;margin:3px 0;line-height:1.6}
.irow>span:first-child{width:96px;flex:none;color:#556772;text-transform:uppercase}
.irow b{font-weight:400;color:var(--link)}
.irow a{color:var(--link)}.irow a:hover{color:#fff}
.heat{color:var(--link)}
.heat.h1{color:#66c0f4}.heat.h0{color:#a8926a}
.app-tags{margin-top:10px}
.app-tags .lbl{font-size:11px;color:#556772;margin-bottom:4px;text-transform:uppercase}
.app-tags .tag{margin:0 2px 3px 0;cursor:pointer}
.app-body{display:flex;gap:20px;margin-top:20px}
.app-left{flex:1;min-width:0}
.app-right{width:308px;flex:none;display:flex;flex-direction:column;gap:12px}
.buybox{position:relative;padding:16px 16px 26px;margin-bottom:28px;background:linear-gradient(-60deg,rgba(226,244,255,.3) 5%,rgba(84,107,115,.3) 95%);border-radius:4px}
.buybox h3{font-size:21px;color:#fff;font-weight:400;margin-bottom:6px;font-family:inherit;padding-right:12px}
.buybox .bb-note{font-size:12px;color:#c6d4df}
.buybox .bb-act{position:absolute;right:16px;bottom:-17px;display:flex;background:#000;padding:2px;border-radius:2px}
.buybox .bb-act .pr{padding:0 12px;display:flex;align-items:center;color:#acdbf5;font-size:13px}
.buybox .bb-act .btn-green{height:30px}
.queue{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 18px;padding:10px;background:linear-gradient(90deg,rgba(103,193,245,.12),rgba(0,0,0,0))}
.app-sec h2{font-size:14px;color:#fff;font-weight:400;text-transform:uppercase;letter-spacing:.04em;padding-bottom:4px;border-bottom:1px solid;border-image:linear-gradient(90deg,#3b6e8c 5%,rgba(0,0,0,0) 70%) 1;margin:20px 0 10px}
.app-sec p{font-size:14px;line-height:1.7;color:#acb2b8}
.rbox{background:rgba(0,0,0,.2);padding:12px;font-size:12px}
.rbox h5{font-size:12px;color:#fff;text-transform:uppercase;font-weight:400;margin-bottom:8px;letter-spacing:.04em}
.rbox .dev{display:flex;gap:10px;align-items:center;cursor:pointer}
.rbox .dev img{width:46px;height:46px;border-radius:2px;background:#000}
.rbox .dev b{color:var(--link);font-size:14px;font-weight:400}
.mini{display:flex;gap:8px;align-items:center;padding:4px 0;cursor:pointer}
.mini:hover b{color:#fff}
.mini img{width:92px;height:43px;object-fit:cover;background:#000;flex:none}
.mini b{font-weight:400;color:#c6d4df;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.mini small{color:var(--dim);font-size:11px}

/* 开发者页 */
.devhead{display:flex;gap:16px;align-items:center;padding:20px;background:linear-gradient(90deg,rgba(26,68,194,.35),rgba(0,0,0,.1));margin-bottom:10px}
.devhead img{width:96px;height:96px;border-radius:3px;border:2px solid #4c91ac}
.devhead h1{color:#fff;font-weight:400;font-size:28px}
.devhead .stats{display:flex;gap:24px;color:var(--dim);font-size:12px;margin-top:6px}
.devhead .stats b{display:block;color:#fff;font-size:18px;font-weight:400}

/* 库 */
body.lib{background:#1e2329}
.library{display:flex;max-width:none;min-height:calc(100vh - 140px);margin:-18px 0 0;background:#1e2329}
.lib-side{width:280px;flex:none;background:linear-gradient(180deg,#2c3340,#1e2329 50%);border-right:1px solid #0c0f13;display:flex;flex-direction:column}
.lib-side .ls-home{padding:10px 14px;color:#b8bcbf;font-size:13px;text-transform:uppercase;letter-spacing:.06em;cursor:pointer;display:flex;align-items:center;gap:8px}
.lib-side .ls-home:hover,.lib-side .ls-home.on{color:#fff;background:#3d4450}
.lib-side .ls-filter{padding:6px 10px;display:flex;gap:6px}
.lib-side .ls-filter input{flex:1;height:28px;background:#171a21;border:1px solid #0c0f13;border-radius:3px;color:#fff;padding:0 8px;outline:none;font-size:13px}
.lib-side .ls-group{padding:8px 14px 4px;color:#626366;font-size:11px;text-transform:uppercase;letter-spacing:.08em}
.lib-side .ls-list{overflow-y:auto;flex:1;max-height:calc(100vh - 260px)}
.ls-item{display:flex;align-items:center;gap:8px;padding:3px 14px 3px 22px;font-size:13px;color:#bdbdbd;cursor:pointer;white-space:nowrap}
.ls-item img{width:16px;height:16px;border-radius:2px;flex:none;background:#333}
.ls-item span{overflow:hidden;text-overflow:ellipsis}
.ls-item:hover{background:#3d4450;color:#fff}
.ls-item.on{background:linear-gradient(90deg,#3e76cb,#2f61b3);color:#fff}
.lib-main{flex:1;min-width:0;overflow:hidden}
.lib-hero{position:relative;height:340px;background:#000 center/cover no-repeat}
.lib-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 45%,#1e2329 100%)}
.lib-hero .lh-logo{position:absolute;left:36px;bottom:36px;z-index:2;color:#fff;font-size:40px;font-weight:700;text-shadow:0 2px 14px #000,0 0 4px #000;max-width:70%;line-height:1.1}
.lib-bar{display:flex;align-items:center;gap:22px;padding:14px 30px;background:rgba(30,35,41,.9);border-bottom:1px solid #0c0f13}
.btn-play{display:inline-flex;align-items:center;gap:10px;height:46px;padding:0 30px 0 22px;border-radius:3px;font-size:19px;color:#fff;font-weight:600;letter-spacing:.04em;background:linear-gradient(90deg,#70d61d 0%,#01a75b 60%);box-shadow:0 0 0 rgba(112,214,29,.5)}
.btn-play:before{content:"";border:9px solid transparent;border-left:14px solid #fff;border-right:0}
.btn-play:hover{background:linear-gradient(90deg,#8af032 0%,#0ac770 60%)}
.lib-stat{color:#8b929a;font-size:11px;text-transform:uppercase;letter-spacing:.06em}
.lib-stat b{display:block;color:#dcdedf;font-size:13px;font-weight:400;text-transform:none;letter-spacing:0;margin-top:2px}
.lib-bar .ic{margin-left:auto;display:flex;gap:6px}
.lib-content{padding:20px 30px;display:flex;gap:20px}
.lib-content .lc-l{flex:1;min-width:0}
.lib-card{background:#23262e;padding:14px;margin-bottom:14px;box-shadow:0 2px 10px rgba(0,0,0,.4)}
.lib-card h5{color:#8b929a;font-size:11px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px;font-weight:400}
.lib-shelf{padding:20px 30px}
.lib-shelf h3{color:#fff;font-size:15px;font-weight:400;margin:0 0 10px;letter-spacing:.04em}
.lib-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px}
.lib-grid .lg{min-width:0;cursor:pointer;transition:transform .15s}
.lib-grid .lg:hover{transform:scale(1.04)}
.lib-grid .lg div{aspect-ratio:3/4;background:#000 center/cover no-repeat;box-shadow:0 4px 12px rgba(0,0,0,.5)}
.lib-grid .lg span{display:block;font-size:12px;color:#bdbdbd;margin-top:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* 关于 */
.about{background:rgba(0,0,0,.2);padding:24px;line-height:1.8}
.about h1{font-size:26px;color:#fff;font-weight:400;margin-bottom:10px}
.about p{color:#acb2b8;margin-bottom:10px}
.about .changelog{font-size:13px}
.about .changelog b{color:#fff;font-weight:400}

/* 页脚 */
#footer{background:#171a21;padding:20px 10px 40px;margin-top:20px}
.f-inner{max-width:var(--w);margin:0 auto;border-top:1px solid #363c44;padding-top:16px;color:#8f98a0;font-size:12px}
.f-logo{display:flex;align-items:center;gap:6px;color:#c5c3c0;margin-bottom:8px}
.f-logo b{font-size:18px;letter-spacing:3px}
.f-small{color:#61686d;margin-top:6px}

/* 窗口内游玩 */
#player{position:fixed;inset:0;z-index:80;background:#000;display:flex;flex-direction:column}
#player[hidden]{display:none}
.pl-bar{height:36px;flex:none;display:flex;align-items:center;gap:8px;padding:calc(var(--safe-top)) 10px 0;background:#171a21;color:#dcdedf;font-size:13px}
.pl-bar .pl-title{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.pl-bar button{background:rgba(255,255,255,.1);padding:4px 10px;border-radius:2px;font-size:12px}
.pl-bar button:hover{background:rgba(255,255,255,.25)}
#plframe{flex:1;border:0;width:100%;background:#000}

#toast{position:fixed;left:50%;bottom:30px;transform:translateX(-50%) translateY(20px);background:#3d4450;color:#fff;padding:10px 18px;border-radius:3px;box-shadow:0 0 12px #000;opacity:0;pointer-events:none;transition:.25s;z-index:90;font-size:13px}
#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}

/* —— 中等宽度：缩到可用 —— */
@media (max-width:980px){
  :root{--w:100%}
  main{padding:0 10px 40px}
  .arrow{display:none}
  .feat-main{width:62%}
  .app-media{width:58%}
  #storenav{margin:0 0 14px}
}

@media (max-width:720px){
  .g-inner{height:56px;gap:10px}
  .g-burger{display:flex}
  .g-logo .logo-svg{width:30px;height:30px}
  .g-logo b{font-size:22px}
  .g-logo sup{margin-top:18px}
  .g-nav{display:none;position:absolute;top:calc(56px + var(--safe-top));left:0;right:0;flex-direction:column;background:#171a21;z-index:50;box-shadow:0 8px 20px #000;gap:0}
  .g-nav.open{display:flex}
  .g-nav a{padding:14px 20px;border:0;border-left:3px solid transparent}
  .g-nav a.on{border-left-color:var(--blue)}
  .g-user{margin-top:0;align-self:center}
  .g-user .install{height:28px;padding:0 10px 0 8px;font-size:14px}
  .sn-inner{height:auto;flex-wrap:wrap;padding:6px}
  .sn-tabs{order:2;width:100%;overflow-x:auto;scrollbar-width:none;height:34px}
  .sn-tabs::-webkit-scrollbar{display:none}
  .sn-tab{padding:0 10px}
  .sn-drop .sn-menu{position:fixed;top:auto;left:6px;right:6px;min-width:0}
  .sn-menu-wide{columns:1;max-height:60vh;overflow:auto}
  .sn-search{order:1;width:100%;margin:0}
  .sn-search input{width:100%;height:34px;font-size:16px}
  .sn-search button{top:3px;height:28px;width:30px}
  .sn-suggest{left:0;right:0;width:auto;top:38px}
  .feat-frame{flex-direction:column;height:auto}
  .feat-main{width:100%;aspect-ratio:4/3}
  .feat-shots{display:none}
  .feat-side h3{font-size:19px}
  .capsules{grid-template-columns:repeat(2,minmax(0,1fr))}
  .capsules.c3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .strip-track{grid-auto-columns:72%}
  .cats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tabprev{display:none}
  .trow img{width:120px;height:69px}
  .trow .tr-r{display:none}
  .srch{flex-direction:column}
  .srch-side{width:100%;order:-1;flex-direction:row;overflow-x:auto}
  .srch-side .fbox{min-width:220px}
  .srch-side .fbox .fb-c{max-height:150px}
  .srow .sr-d,.srow .sr-h{display:none}
  .srow img{width:96px;height:45px}
  .app-top{flex-direction:column}
  .app-media{width:100%}
  .app-info{padding:0 10px 10px}
  .app-info .hdr{display:none}
  .app-body{flex-direction:column}
  .app-right{width:100%}
  .buybox .bb-act{position:static;margin-top:12px;justify-content:space-between}
  .buybox{padding-bottom:16px;margin-bottom:10px}
  .library{flex-direction:column;margin:-14px 0 0}
  .lib-side{width:100%;border-right:0}
  .lib-side .ls-list{max-height:200px}
  .lib-hero{height:200px}
  .lib-hero .lh-logo{font-size:26px;left:16px;bottom:16px}
  .lib-bar{padding:10px 14px;gap:12px;flex-wrap:wrap}
  .btn-play{height:40px;font-size:16px}
  .lib-content,.lib-shelf{padding:14px}
  .lib-content{flex-direction:column}
  .lib-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
}
img.img{width:100%;object-fit:cover}
.bgi{position:relative;overflow:hidden}
.bgi>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.bgi.contain>img{object-fit:contain}
body.lib #storenav{display:none}
body.lib .library{margin-top:0}
.lib-bar{flex-wrap:wrap}
.btn-play,.lib-stat b,.lib-bar .btn-gray{white-space:nowrap}
@media (max-width:980px){.lib-bar .ic{margin-left:0}}
.ld-ver{color:#61686d;font-size:12px}

/* ===== 1126：登录 / 关注 / 队列 / 排行榜 / 播放器 ===== */
body.noscroll{overflow:hidden}
.btn-signin{display:inline-flex;align-items:center;justify-content:center;height:46px;padding:0 28px;border-radius:2px;font-size:16px;color:#fff;background:linear-gradient(90deg,#06bfff 0%,#2d73ff 100%);white-space:nowrap}
.btn-signin:hover{filter:brightness(1.12)}
.btn-signin:disabled{opacity:.6;cursor:default}
.g-me{display:flex;align-items:center;gap:8px;cursor:pointer}
.g-me .g-name{color:#b8b6b4;font-size:13px;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.g-me .g-name em{font-style:normal;color:#a4d007;font-size:11px}
.g-me:hover .g-name{color:#fff}
img.avatar{object-fit:cover}

/* 权益列表 */
.perks{list-style:none;display:flex;flex-direction:column;gap:10px;margin:14px 0}
.perks li{display:flex;gap:12px;align-items:center;padding:10px 12px;background:rgba(0,0,0,.25);border-left:3px solid transparent;border-radius:2px}
.perks li.hi{border-left-color:#1999ff;background:rgba(25,153,255,.12)}
.perks .pi{width:34px;height:34px;flex:none;color:#1999ff;display:flex}
.perks .pi svg{width:100%;height:100%}
.perks b{display:block;color:#fff;font-weight:400;font-size:15px}
.perks small{color:#8f98a0;font-size:12px}
.perks.unlocked .pi{color:#a4d007}

/* 登录页 */
#login{position:fixed;inset:0;z-index:70;overflow:auto;background:radial-gradient(ellipse 80% 60% at 50% 0,#22406a 0%,#181a21 70%) #181a21;transition:opacity .3s;padding-top:var(--safe-top)}
#login.out{opacity:0}
#login[hidden]{display:none}
.lg-top{display:flex;align-items:center;gap:8px;color:#c5c3c0;max-width:860px;margin:0 auto;padding:22px 20px 0}
.lg-top .logo-svg{width:40px;height:40px}
.lg-top b{font-size:26px;letter-spacing:4px}
.lg-top sup{font-size:10px;margin-top:20px}
.lg-wrap{max-width:860px;margin:0 auto;padding:30px 20px 40px}
.lg-wrap h1{color:#fff;font-size:32px;font-weight:700;margin-bottom:18px;letter-spacing:.02em}
.lg-panel{display:flex;gap:40px;background:#181a21;padding:32px 38px;border-radius:4px;box-shadow:0 0 18px rgba(0,0,0,.6)}
.lg-left{flex:1.1;min-width:0;display:flex;flex-direction:column}
.lg-right{flex:1;min-width:0;border-left:1px solid #2a2e36;padding-left:38px}
.lg-label{color:#1999ff;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px}
.lg-acct{display:flex;align-items:center;gap:12px;background:#32353c;border-radius:2px;padding:10px 12px;margin-bottom:12px;min-height:64px}
.lg-acct img,.lg-ph{width:44px;height:44px;border-radius:2px;background:#4b5568;flex:none;object-fit:cover}
.lg-acct b{display:block;color:#fff;font-weight:400;font-size:16px}
.lg-acct small{color:#8f98a0;font-size:12px}
.lg-remember{display:flex;align-items:center;gap:8px;color:#afafaf;font-size:13px;cursor:pointer;margin-bottom:22px;user-select:none}
.lg-remember i{width:18px;height:18px;background:#32353c;border-radius:2px;position:relative}
.lg-remember i.on:after{content:"";position:absolute;left:6px;top:2px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.lg-left .btn-signin{width:100%;max-width:270px;align-self:center}
.lg-msg{color:#c6d4df;font-size:13px;text-align:center;min-height:20px;margin:12px 0 4px}
.lg-skip{color:#afafaf;font-size:13px;text-align:center;text-decoration:underline;cursor:pointer;margin-top:auto;padding-top:14px}
.lg-skip:hover{color:#fff}
.lg-author,.gate-author{display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.07);padding:12px;border-radius:2px}
.lg-author img,.gate-author img{width:56px;height:56px;border-radius:50%;background:#333;flex:none;object-fit:cover}
.lg-author b,.gate-author b{display:block;color:#fff;font-weight:400;font-size:16px}
.lg-author small,.gate-author small{color:#8f98a0;font-size:12px}
.lg-author .btn-blue{margin-left:auto}
.lg-note{color:#8f98a0;font-size:12px;line-height:1.6}

/* 关注提示弹窗 */
#gate{position:fixed;inset:0;z-index:75;background:rgba(0,0,0,.7);display:flex;align-items:center;justify-content:center;padding:20px}
#gate[hidden]{display:none}
.gate-box{position:relative;width:100%;max-width:460px;max-height:100%;overflow:auto;background:radial-gradient(circle at top left,rgba(74,81,92,.4) 0%,rgba(75,81,92,0) 60%),#25282e;padding:26px 24px 20px;box-shadow:0 0 30px #000;border-radius:3px}
.gate-box h3{color:#fff;font-size:20px;font-weight:400;margin:0 30px 14px 0}
.gate-x{position:absolute;right:12px;top:10px;color:#8f98a0;font-size:18px;width:30px;height:30px}
.gate-x:hover{color:#fff}
.gate-msg{color:#c6d4df;font-size:13px;min-height:18px;margin-bottom:10px}
.gate-btns{display:flex;gap:10px;flex-wrap:wrap}
.gate-btns .btn-signin{flex:1;height:40px;font-size:15px}
.gate-btns .btn-blue{height:40px}
.gate-later{display:block;text-align:center;color:#8f98a0;font-size:12px;margin-top:14px;cursor:pointer;text-decoration:underline}

/* 锁住的页面 */
.locked{text-align:center;padding:50px 20px;background:rgba(0,0,0,.2)}
.locked .lk-icon{width:64px;height:64px;margin:0 auto 12px;color:#1999ff}
.locked h1{color:#fff;font-weight:400;font-size:26px;margin-bottom:10px}
.locked p{color:#acb2b8;margin-bottom:18px}

/* 首页：探索队列入口 */
.qteaser{display:flex;align-items:center;gap:24px;height:150px;padding:0 20px 0 30px;background:linear-gradient(90deg,rgba(33,112,169,.55) 0%,rgba(20,45,74,.6) 60%,rgba(0,0,0,.2) 100%);box-shadow:0 0 5px #000;overflow:hidden}
.qteaser:hover{background:linear-gradient(90deg,rgba(53,142,209,.6) 0%,rgba(20,45,74,.6) 60%,rgba(0,0,0,.2) 100%)}
.qt-stack{position:relative;width:300px;height:120px;flex:none}
.qt-c{position:absolute;top:calc(var(--i) * 6px);left:calc(var(--i) * 46px);width:184px;height:86px;box-shadow:-4px 0 12px rgba(0,0,0,.7);z-index:calc(10 - var(--i));transform:scale(calc(1 - var(--i) * .06));transform-origin:left center}
.qt-c img{width:100%;height:100%;object-fit:cover}
.qt-txt{flex:1;min-width:0}
.qt-txt b{display:block;color:#fff;font-size:20px;font-weight:400}
.qt-txt small{color:#acdbf5;font-size:13px}
.qt-lock{display:inline-block;margin-left:8px;color:#a4d007;font-size:12px;border:1px solid #a4d007;padding:0 6px;border-radius:2px}
.qt-arrow{width:20px;height:20px;border:solid #fff;border-width:0 4px 4px 0;transform:rotate(-45deg);opacity:.8;flex:none;margin-right:10px}

/* 探索队列页 */
.q-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:4px 0 12px;flex-wrap:wrap}
.q-head h1{color:#fff;font-size:26px;font-weight:400}
.q-prog{display:flex;align-items:center;gap:10px;color:#8f98a0;font-size:13px}
.q-bar{width:200px;height:6px;background:#1c2a38;border-radius:3px;overflow:hidden}
.q-bar i{display:block;height:100%;background:linear-gradient(90deg,#06bfff,#2d73ff)}
.q-card{display:flex;gap:18px;background:rgba(0,0,0,.25);padding:14px;box-shadow:0 0 6px #000}
.q-media{width:560px;flex:none;aspect-ratio:4/3;background:#000}
.q-info{flex:1;min-width:0;display:flex;flex-direction:column}
.q-info h2{font-size:24px;font-weight:400;color:#fff;line-height:1.2;margin-bottom:12px}
.q-why{background:rgba(103,193,245,.12);border-left:3px solid #67c1f5;padding:8px 10px;color:#c6d4df;font-size:13px;margin-bottom:12px}
.q-why b{display:block;color:#67c1f5;font-weight:400;font-size:11px;text-transform:uppercase;letter-spacing:.06em}
.q-play{margin-top:auto;display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding-top:14px}
.q-actions{display:flex;gap:10px;align-items:center;margin-top:14px;flex-wrap:wrap}
.q-next{margin-left:auto;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;position:relative;min-width:240px;height:64px;padding:0 50px 0 18px;color:#fff;background:linear-gradient(90deg,#06bfff 0%,#2d73ff 100%);border-radius:2px;text-align:left}
.q-next span{font-size:18px}
.q-next small{font-size:12px;opacity:.85;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.q-next i{position:absolute;right:20px;top:50%;width:14px;height:14px;border:solid #fff;border-width:0 3px 3px 0;transform:translateY(-50%) rotate(-45deg)}
.q-next:hover{filter:brightness(1.12)}
.q-end{text-align:center;padding:30px 10px;background:rgba(0,0,0,.2)}
.q-end h1{color:#fff;font-weight:400;font-size:26px;margin-bottom:8px}
.q-end p{color:#acb2b8;margin-bottom:16px}
.q-end-btns{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;align-items:center}

/* 排行榜 */
.rk-tabs{display:flex;gap:2px;overflow-x:auto;scrollbar-width:none}
.rk-tabs::-webkit-scrollbar{display:none}
.rk-tabs button{padding:9px 16px;background:rgba(0,0,0,.2);color:#4f94bc;white-space:nowrap}
.rk-tabs button.on{background:#2a475e;color:#fff}
.rk-body{display:flex;gap:16px;background:rgba(42,71,94,.2)}
.rk-list{flex:1;min-width:0;background:#2a475e;padding:10px}
.rk-per{display:flex;gap:6px;margin-bottom:10px}
.rk-per button{font-size:12px;padding:3px 10px;border-radius:2px;background:rgba(0,0,0,.25);color:#c6d4df}
.rk-per button.on{background:#67c1f5;color:#10161b}
.rk-row{display:flex;align-items:center;gap:10px;height:46px;padding:0 10px;margin-bottom:3px;background:rgba(0,0,0,.2)}
.rk-row:nth-child(odd){background:rgba(0,0,0,.3)}
.rk-n{width:34px;text-align:center;color:#8f98a0;font-size:16px}
.rk-row img{width:32px;height:32px;border-radius:2px;background:#000}
.rk-name{flex:1;min-width:0;color:#c6d4df;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rk-s{color:#a4d007;font-size:13px;white-space:nowrap}
.rk-row.r1 .rk-n{color:#ffd24a;font-weight:700}.rk-row.r2 .rk-n{color:#d8e1ea;font-weight:700}.rk-row.r3 .rk-n{color:#e0985a;font-weight:700}
.rk-side{width:280px;flex:none;display:flex;flex-direction:column;gap:12px;padding:10px 10px 10px 0}
.rk-my b{display:block;color:#fff;font-size:26px;font-weight:400}
.rk-my span{color:#67c1f5}

/* 库：云存档状态 */
.ls-cloud{display:flex;align-items:center;gap:8px;padding:10px 14px;border-top:1px solid #0c0f13;color:#8b929a;font-size:12px;cursor:pointer}
.ls-cloud svg{width:18px;height:18px;flex:none;color:#67c1f5}
.ls-cloud:hover{color:#fff}

/* 轮播滑动 */
.feat-frame{touch-action:pan-y;transition:transform .2s,opacity .2s}
.feat-frame.in-r .feat-main img{animation:inR .3s ease-out}
.feat-frame.in-l .feat-main img{animation:inL .3s ease-out}
@keyframes inR{from{transform:translateX(40px);opacity:.3}}
@keyframes inL{from{transform:translateX(-40px);opacity:.3}}

/* 播放器：铺满 + 横屏兜底旋转 */
#player{width:100vw;height:100vh;height:100dvh}
.pl-bar{height:auto;min-height:34px;padding:var(--safe-top) calc(10px + var(--safe-right)) 0 10px}
.pl-stage{flex:1;position:relative;min-height:0}
.pl-stage iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}
#player.rot{inset:auto;top:0;left:100vw;width:100vh;width:100dvh;height:100vw;transform-origin:0 0;transform:rotate(90deg)}
#player.rot .pl-bar{padding-top:0}
body.playing{overflow:hidden}

@media (max-width:720px){
  .lg-wrap{padding:16px 14px 30px}
  .lg-wrap h1{font-size:24px}
  .lg-panel{flex-direction:column;gap:22px;padding:20px 16px}
  .lg-right{border-left:0;padding-left:0;border-top:1px solid #2a2e36;padding-top:18px}
  .qteaser{height:auto;padding:16px;gap:14px;flex-wrap:wrap}
  .qt-stack{width:100%;height:96px}
  .qt-c{width:150px;height:70px;left:calc(var(--i) * 40px)}
  .qt-txt b{font-size:17px}
  .qt-arrow{display:none}
  .q-card{flex-direction:column;padding:10px}
  .q-media{width:100%}
  .q-info h2{font-size:20px}
  .q-next{min-width:0;flex:1 1 100%;margin-left:0}
  .q-bar{width:120px}
  .rk-body{flex-direction:column}
  .rk-side{width:100%;padding:0 10px 10px}
  .g-me .g-name{display:none}
}

/* ===== 1125.4：登录页改为「关注置顶 + 登录在下」单栏 ===== */
.lg-wrap{max-width:560px}
.lg-top{max-width:560px}
.lg-panel{flex-direction:column;gap:0;padding:0;overflow:hidden}
.lg-follow{padding:26px 26px 22px;background:linear-gradient(160deg,rgba(25,153,255,.28) 0%,rgba(45,115,255,.08) 45%,rgba(24,26,33,0) 100%);border-bottom:1px solid #2a2e36}
.lg-ftitle{color:#fff;font-size:22px;font-weight:700;margin-bottom:14px;letter-spacing:.02em}
.lg-follow .lg-author{background:rgba(0,0,0,.3)}
.lg-follow .lg-author img{width:64px;height:64px;border:2px solid #1999ff}
.lg-follow .lg-author b{font-size:18px}
.lg-follow .perks li{background:rgba(0,0,0,.3)}
.lg-follow .perks b{font-size:16px}
.lg-follow .perks small{font-size:13px}
.lg-fbtn{display:flex;align-items:center;justify-content:center;width:100%;height:52px;border-radius:3px;font-size:18px;font-weight:700;color:#fff;letter-spacing:.06em;background:linear-gradient(90deg,#75b022 5%,#588a1b 95%);box-shadow:0 0 18px rgba(117,176,34,.35);animation:fpulse 2.4s ease-in-out infinite}
.lg-fbtn:hover{background:linear-gradient(90deg,#8ed629 5%,#6aa621 95%)}
.lg-fbtn.done{background:rgba(164,208,7,.14);color:#a4d007;box-shadow:none;animation:none;font-weight:400;font-size:15px;cursor:default}
@keyframes fpulse{50%{box-shadow:0 0 28px rgba(117,176,34,.65)}}
.lg-bottom{display:flex;flex-direction:column;align-items:center;padding:22px 26px 24px}
.lg-bottom .btn-signin{width:100%;max-width:320px}
.lg-bottom .lg-skip{margin-top:4px;padding-top:6px}
@media (max-width:720px){
  .lg-panel{padding:0}
  .lg-follow{padding:20px 16px 18px}
  .lg-ftitle{font-size:20px}
  .lg-bottom{padding:18px 16px 22px}
}


.g-hist{display:flex;gap:6px;flex:none;margin-right:-16px}
.g-hist button{width:34px;height:34px;border-radius:3px;display:flex;align-items:center;justify-content:center;color:#b8bcbf}
.g-hist button:before{content:"";width:22px;height:22px;background:currentColor;-webkit-mask:var(--m) center/contain no-repeat;mask:var(--m) center/contain no-repeat}
#navback{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 11H7.8l5.6-5.6L12 4l-8 8 8 8 1.4-1.4L7.8 13H20z'/%3E%3C/svg%3E")}
#navfwd{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 11h12.2l-5.6-5.6L12 4l8 8-8 8-1.4-1.4 5.6-5.6H4z'/%3E%3C/svg%3E")}
.g-hist button:hover:not(:disabled){color:#fff;background:rgba(255,255,255,.1)}
.g-hist button:disabled{color:#4b5563;cursor:default}
@media (max-width:720px){
  .g-hist{gap:0;margin-right:-6px}
  .g-hist button{width:30px;height:30px}
  .g-hist button:before{width:20px;height:20px}
  .g-logo sup{display:none}
}
.lg-fbtn .ck{width:18px;height:18px;margin-right:8px;flex:none}
.lg-wrap{padding-top:18px}

/* ===== 1125.7：品牌改为 ToyToy ===== */
.g-logo b,.lg-top b,.f-logo b{letter-spacing:1px;font-weight:800;font-family:"Segoe UI","Arial Rounded MT Bold","Microsoft YaHei",sans-serif}
.g-logo b{font-size:30px;color:#e6e7e8}
.g-logo .logo-svg{width:40px;height:40px}
.lg-top b{color:#e6e7e8}
.ld-logo{animation:ldp 1.2s ease-in-out infinite}
@media (max-width:720px){.g-logo b{font-size:23px}.g-logo .logo-svg{width:30px;height:30px}}
@media (max-width:720px){.g-logo b{font-size:20px;letter-spacing:0}.g-logo{gap:6px}.g-inner{gap:8px}.g-user{gap:6px}}

/* ===== 1125.9：点随机时骰子转一圈 ===== */
.g-user .install .dice.roll{animation:diceRoll .6s cubic-bezier(.25,.8,.35,1.15)}
@keyframes diceRoll{0%{transform:rotate(0) scale(1)}45%{transform:rotate(260deg) scale(1.3)}100%{transform:rotate(360deg) scale(1)}}

/* ===== 1125.10：详情页手机快捷键（随机 / 开始游玩） ===== */
.qk-rand,.qk-play{display:none}
.qk-rand .dice{width:26px;height:26px;flex:none}
.qk-rand .dice.roll,.g-user .install .dice.roll{animation:diceRoll .6s cubic-bezier(.25,.8,.35,1.15)}
@media (max-width:720px){
  .ai-grid{display:grid;grid-template-columns:minmax(0,1fr) 112px;column-gap:12px;row-gap:10px;align-items:stretch}
  .ai-grid .irow>span:first-child{width:72px}
  .ai-grid .app-tags{margin-top:0;min-width:0}
  .qk-rand{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border-radius:3px;background:#5c7e10;color:#fff;font-size:16px;letter-spacing:.1em}
  .qk-rand:active{background:#7ea64b}
  .qk-play{display:flex;height:auto;min-height:52px;align-self:stretch;font-size:16px;white-space:normal;line-height:1.2;padding:0 8px}
}

/* ===== 1125.11：悬浮信息卡 + 新品与热门预览框按内容高度 ===== */
.tabprev{align-self:flex-start;position:sticky;top:10px}
#hovercard{position:fixed;z-index:60;width:310px;padding:12px 14px 14px;background:linear-gradient(to bottom,#e3eaef 5%,#c7d5e0 95%);color:#30455a;box-shadow:0 0 12px #000;border-radius:2px;pointer-events:none;font-size:12px;animation:hcIn .15s ease-out}
#hovercard[hidden]{display:none}
@keyframes hcIn{from{opacity:0;transform:translateY(4px)}}
#hovercard:before{content:"";position:absolute;top:20px;left:-7px;border:7px solid transparent;border-left:0;border-right-color:#e3eaef}
#hovercard.left:before{left:auto;right:-7px;border-right:0;border-left:7px solid #e3eaef;border-top-color:transparent;border-bottom-color:transparent}
#hovercard h4{color:#222d3d;font-size:17px;font-weight:400;line-height:1.2;margin-bottom:2px}
#hovercard .hc-date{color:#6c7e8e;font-size:11px;margin-bottom:8px}
#hovercard .hc-img{aspect-ratio:4/3;background:#9eb3c4;margin-bottom:8px;box-shadow:0 1px 4px rgba(0,0,0,.3)}
#hovercard .hc-img img{width:100%;height:100%;object-fit:cover}
#hovercard .hc-row{line-height:1.7}
#hovercard .hc-row b{font-weight:400;color:#1a4d6e}
#hovercard .hc-row b.h0{color:#8a6d2d}
#hovercard .hc-mine{margin-top:6px;padding:4px 8px;background:#a4d00733;color:#4c6b22;border-radius:2px}
#hovercard .hc-tags{margin-top:8px;display:flex;flex-wrap:wrap;gap:3px;align-items:center}
#hovercard .hc-tags div{width:100%;color:#6c7e8e;font-size:11px}
#hovercard .hc-tags span{background:#96a3ae;color:#e3eaef;padding:1px 7px;border-radius:2px;font-size:11px}

/* ===== 1125.12：轮播大图完整显示（4:3 封面不裁），两侧模糊补齐 ===== */
.feat-main .fm-blur{position:absolute;inset:-20px;width:calc(100% + 40px);height:calc(100% + 40px);object-fit:cover;filter:blur(18px) brightness(.55) saturate(1.2)}
.feat-main .fm-img{position:relative;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 0 12px rgba(0,0,0,.6))}
.feat-frame.in-r .feat-main .fm-blur,.feat-frame.in-l .feat-main .fm-blur{animation:none}

/* ===== 1125.13：横条小卡片从封面顶部取图（4:3 封面的标题多在上方） ===== */
.cap:not(.tall) .img,.trow img,.srow img,.sg-item img,.mini img,.app-info .hdr img,.qt-c img,.lib-hero>img{object-fit:cover;object-position:50% 0}

/* ===== 1125.15：横滑后退 / 前进的跟手箭头 ===== */
#swipenav{position:fixed;top:50%;z-index:85;width:46px;height:46px;margin-top:-23px;border-radius:50%;background:rgba(23,26,33,.88);box-shadow:0 0 10px rgba(0,0,0,.6);pointer-events:none;display:flex;align-items:center;justify-content:center;opacity:calc(.35 + var(--p) * .65);transition:background .12s}
#swipenav[hidden]{display:none}
#swipenav.l{left:calc(-46px + var(--p) * 64px)}
#swipenav.r{right:calc(-46px + var(--p) * 64px)}
#swipenav:before{content:"";width:24px;height:24px;background:#dcdedf;-webkit-mask:var(--m) center/contain no-repeat;mask:var(--m) center/contain no-repeat}
#swipenav.l{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 11H7.8l5.6-5.6L12 4l-8 8 8 8 1.4-1.4L7.8 13H20z'/%3E%3C/svg%3E")}
#swipenav.r{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 11h12.2l-5.6-5.6L12 4l8 8-8 8-1.4-1.4 5.6-5.6H4z'/%3E%3C/svg%3E")}
#swipenav.go{background:#1a9fff}
#swipenav.go:before{background:#fff}
#swipenav.off:before{background:#4b5563}

/* ===== 1125.16：开机式加载画面（黑底白标 + 五颗转圈圆点） ===== */
#loading{background:#000;gap:0}
#loading .ld-logo{width:96px;height:96px;margin-bottom:64px;animation:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -7.7 56 63.7'%3E%3Crect x='1.1' y='1.1' width='12.9' height='11.8' rx='1' fill='%23fff'/%3E%3Crect x='14.0' y='1.1' width='14.0' height='12.9' rx='1' fill='%23fff'/%3E%3Crect x='28.0' y='1.1' width='12.9' height='11.8' rx='1' fill='%23fff'/%3E%3Crect x='15.1' y='14.0' width='11.8' height='12.9' rx='1' fill='%23fff'/%3E%3Crect x='1.1' y='15.1' width='11.8' height='12.9' rx='1' fill='%23fff'/%3E%3Crect x='1.1' y='28.0' width='11.8' height='14.0' rx='1' fill='%23fff'/%3E%3Crect x='1.1' y='42.0' width='12.9' height='12.9' rx='1' fill='%23fff'/%3E%3Crect x='14.0' y='43.1' width='12.9' height='11.8' rx='1' fill='%23fff'/%3E%3Crect x='29.1' y='15.1' width='11.8' height='12.9' rx='1' fill='%23fff'/%3E%3Crect x='28.0' y='28.0' width='12.9' height='14.0' rx='1' fill='%23fff'/%3E%3Crect x='29.1' y='42.0' width='11.8' height='12.9' rx='1' fill='%23fff'/%3E%3Crect x='15.1' y='29.1' width='12.9' height='11.8' rx='1' fill='%23fff'/%3E%3Crect x='43.1' y='-6.6' width='11.8' height='12.9' rx='1' fill='%23fff'/%3E%3Crect x='43.1' y='6.3' width='11.8' height='14.0' rx='1' fill='%23fff'/%3E%3Crect x='43.1' y='20.3' width='11.8' height='14.0' rx='1' fill='%23fff'/%3E%3Crect x='43.1' y='34.3' width='11.8' height='12.9' rx='1' fill='%23fff'/%3E%3C/svg%3E") center/contain no-repeat}
.ld-spin{position:relative;width:52px;height:52px}
.ld-spin i{position:absolute;inset:0;opacity:0;animation:ldOrbit 5.5s infinite}
.ld-spin i:before{content:"";position:absolute;left:50%;top:0;width:7px;height:7px;margin-left:-3.5px;border-radius:50%;background:#fff}
.ld-spin i:nth-child(2){animation-delay:.24s}.ld-spin i:nth-child(3){animation-delay:.48s}.ld-spin i:nth-child(4){animation-delay:.72s}.ld-spin i:nth-child(5){animation-delay:.96s}
@keyframes ldOrbit{
  0%{transform:rotate(225deg);opacity:1;animation-timing-function:ease-out}
  7%{transform:rotate(345deg);animation-timing-function:linear}
  30%{transform:rotate(455deg);animation-timing-function:ease-in-out}
  39%{transform:rotate(690deg);animation-timing-function:linear}
  70%{transform:rotate(815deg);opacity:1;animation-timing-function:ease-out}
  75%{transform:rotate(945deg);animation-timing-function:ease-out}
  76%{transform:rotate(945deg);opacity:0}
  100%{transform:rotate(945deg);opacity:0}
}
#loading .ld-ver{position:absolute;bottom:calc(24px + var(--safe-bottom,0px));left:0;right:0;text-align:center;color:#3a3f46;font-size:12px}

/* ===== 1125.17：登录页——登录按钮第一视觉，关注卡片在下 ===== */
.lg-hero{display:flex;flex-direction:column;align-items:center;text-align:center;padding:26px 0 24px}
.lg-slogan{color:#c6d4df;font-size:20px;line-height:1.5;margin-bottom:22px}
.lg-main{width:100%;max-width:360px;height:58px;font-size:22px;font-weight:700;letter-spacing:.3em;text-indent:.3em;border-radius:4px;box-shadow:0 6px 26px rgba(26,159,255,.45);animation:lgGlow 2.4s ease-in-out infinite}
@keyframes lgGlow{50%{box-shadow:0 6px 34px rgba(26,159,255,.75)}}
.lg-hero .lg-skip{margin-top:14px;padding-top:0}
.lg-follow{padding:20px 22px 18px}
.lg-ftitle{font-size:17px;margin-bottom:12px}
.lg-follow .lg-author{padding:10px}
.lg-follow .lg-author img{width:48px;height:48px}
.lg-follow .lg-author b{font-size:16px}
.lg-follow .perks{gap:6px;margin:10px 0}
.lg-follow .perks li{padding:7px 10px}
.lg-follow .perks .pi{width:26px;height:26px}
.lg-follow .perks b{font-size:14px}
.lg-follow .perks small{font-size:12px}
.lg-fbtn{height:44px;font-size:16px;animation:none;box-shadow:none}
.lg-follow .lg-msg{margin:10px 0 0}
@media (max-width:720px){
  .lg-hero{padding:18px 0 20px}
  .lg-slogan{font-size:17px;margin-bottom:18px}
  .lg-main{height:54px;font-size:20px}
  .lg-follow{padding:16px 14px 14px}
}


#login{background:radial-gradient(ellipse 90% 70% at 50% 0,#1f3a5c 0%,#181a21 65%) #181a21}
.lg-top{max-width:780px}
.lg-wrap{max-width:780px;padding-top:30px}
.sl-step[hidden]{display:none}
.sl-step{animation:slIn .28s ease-out}
@keyframes slIn{from{opacity:0;transform:translateX(24px)}}
.sl-h1{color:#fff;font-size:32px;font-weight:700;margin:0 0 14px;letter-spacing:.02em}
.sl-sub{color:#acb2b8;font-size:14px;margin:-6px 0 14px;line-height:1.6}
.sl-panel{display:flex;gap:40px;background:#181a21;padding:32px 40px;border-radius:4px;box-shadow:0 0 18px rgba(0,0,0,.55)}
.sl-panel.sl-col{flex-direction:column;gap:14px}
.sl-left{flex:1.25;min-width:0;display:flex;flex-direction:column}
.sl-right{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center}
.sl-label{color:#1999ff;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;margin-bottom:10px;align-self:flex-start}
.sl-right .sl-label{align-self:center}
.sl-acct{display:flex;align-items:center;gap:12px;background:#32353c;border-radius:2px;padding:10px 12px;margin-bottom:26px;min-height:64px}
.sl-acct img,.sl-ph{width:44px;height:44px;border-radius:2px;background:#4b5568;flex:none;object-fit:cover}
.sl-acct b{display:block;color:#fff;font-weight:400;font-size:16px}
.sl-acct small{color:#8f98a0;font-size:12px}
.sl-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;max-width:270px;height:46px;align-self:center;border-radius:2px;font-size:16px;color:#fff;background:linear-gradient(90deg,#06bfff 0%,#2d73ff 100%)}
.sl-btn:hover{filter:brightness(1.12)}
.sl-btn:disabled{opacity:.55;cursor:default;filter:none}
.sl-btn.done{background:linear-gradient(90deg,#75b022 5%,#588a1b 95%)}
.sl-btn .ck{width:18px;height:18px}
.sl-prog{display:flex;align-items:center;justify-content:center;gap:10px;color:#c6d4df;font-size:13px;margin-top:14px}
.sl-prog[hidden]{display:none}
.sl-throb{display:flex;gap:3px;align-items:center;height:18px}
.sl-throb i{width:4px;height:100%;background:#1999ff;animation:slThrob .9s ease-in-out infinite}
.sl-throb i:nth-child(2){animation-delay:.15s}.sl-throb i:nth-child(3){animation-delay:.3s}
@keyframes slThrob{0%,100%{transform:scaleY(.35);opacity:.5}50%{transform:scaleY(1);opacity:1}}
.sl-left .lg-msg{margin:10px 0 0}
.sl-left .lg-skip{margin-top:auto;padding-top:18px}
.sl-qr{width:200px;height:200px;background:#fff;border-radius:8px;padding:12px;display:flex;align-items:center;justify-content:center}
.sl-qr img{width:100%;height:100%;image-rendering:pixelated}
.sl-qr-ph{width:100%;height:100%;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#9aa4ae;font-weight:700;letter-spacing:2px;background:repeating-linear-gradient(45deg,#eef1f4 0 8px,#e3e8ed 8px 16px)}
.sl-qrtip{color:#afafaf;font-size:13px;line-height:1.6;margin-top:14px;max-width:220px}
.sl-qrtip b{color:#1999ff;font-weight:400}
.sl-foot{color:#8f98a0;font-size:13px;margin-top:18px}
.sl-foot span{color:#fff;margin-right:8px}
/* 第二步：支持作者（照 Windows 10 复刻的「支持作者」那一步） */
.sl-up{display:flex;align-items:center;gap:14px;background:rgba(255,255,255,.06);padding:14px;border-radius:2px}
.sl-up img{width:60px;height:60px;border-radius:50%;object-fit:cover;background:#333;flex:none;border:2px solid #1999ff}
.sl-up-tx{flex:1;min-width:0}
.sl-up-tx b{display:block;color:#fff;font-weight:400;font-size:18px}
.sl-up-tx em{font-style:normal;color:#8f98a0;font-size:12px;line-height:1.5}
.sl-tag{flex:none;align-self:flex-start;font-size:11px;color:#1999ff;border:1px solid #1999ff;border-radius:2px;padding:1px 6px}
.sl-status{color:#c6d4df;font-size:14px;min-height:20px}
.sl-status.ok{color:#a4d007}
.sl-status.bad{color:#ff8a80}
.sl-status.busy{color:#67c1f5}
.sl-btns{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.sl-btns .sl-btn{align-self:auto;max-width:220px}
.sl-link{color:#afafaf;font-size:13px;text-decoration:underline}
.sl-link:hover{color:#fff}
.sl-link[hidden]{display:none}
#slStep2 .perks{margin:4px 0 0}
.sl-note{color:#8f98a0;font-size:12px;line-height:1.6}
@media (max-width:720px){
  .lg-wrap{padding:14px 14px 30px}
  .sl-h1{font-size:26px}
  .sl-panel{flex-direction:column;gap:24px;padding:22px 18px}
  .sl-right{border-top:1px solid #2a2e36;padding-top:20px}
  .sl-qr{width:170px;height:170px}
  .sl-btns{gap:12px}
  .sl-btns .sl-btn{max-width:none;flex:1 1 100%}
}
#login{overflow-x:hidden}

/* ===== 1125.19：支持作者页最左「关注作者」按钮 ===== */
.sl-btns .sl-follow{background:linear-gradient(90deg,#75b022 5%,#588a1b 95%);color:#fff;max-width:200px}
.sl-btns .sl-follow:hover{background:linear-gradient(90deg,#8ed629 5%,#6aa621 95%);filter:none}
.sl-btns .sl-btn[hidden]{display:none}
@media (min-width:721px){.sl-btns .sl-btn{flex:0 1 200px}}
@media (max-width:720px){.sl-btns .sl-follow{max-width:none}}

/* ===== 1125.20：俄罗斯方块风图标 ===== */
.g-logo .logo-svg,.lg-top .logo-svg,.f-logo .logo-svg{background-size:contain}
#loading .ld-logo{width:88px;height:100px}
.rk-av{width:32px;height:32px;border-radius:2px;flex:none;display:flex;align-items:center;justify-content:center;color:#fff;font-size:15px;font-weight:700}

/* ===== 1125.21：图标定稿（方案 1：蓝色渐变底 + 白色倒角方块拼的竖长 T） ===== */
.logo-svg,.g-logo .logo-svg,.lg-top .logo-svg,.f-logo .logo-svg{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 80'%3E%3Crect x='1.2' y='1.2' width='17.6' height='17.6' rx='3' fill='%23fff'/%3E%3Cpath d='M4.0 16.0L16.0 16.0L16.0 4.0L18.8 1.2L18.8 18.8L1.2 18.8Z' fill='%230b3a8f' opacity='.2'/%3E%3Crect x='4.0' y='4.0' width='12.0' height='12.0' rx='1.5' fill='%23f4f9ff'/%3E%3Crect x='21.2' y='1.2' width='17.6' height='17.6' rx='3' fill='%23fff'/%3E%3Cpath d='M24.0 16.0L36.0 16.0L36.0 4.0L38.8 1.2L38.8 18.8L21.2 18.8Z' fill='%230b3a8f' opacity='.2'/%3E%3Crect x='24.0' y='4.0' width='12.0' height='12.0' rx='1.5' fill='%23f4f9ff'/%3E%3Crect x='41.2' y='1.2' width='17.6' height='17.6' rx='3' fill='%23fff'/%3E%3Cpath d='M44.0 16.0L56.0 16.0L56.0 4.0L58.8 1.2L58.8 18.8L41.2 18.8Z' fill='%230b3a8f' opacity='.2'/%3E%3Crect x='44.0' y='4.0' width='12.0' height='12.0' rx='1.5' fill='%23f4f9ff'/%3E%3Crect x='21.2' y='21.2' width='17.6' height='17.6' rx='3' fill='%23fff'/%3E%3Cpath d='M24.0 36.0L36.0 36.0L36.0 24.0L38.8 21.2L38.8 38.8L21.2 38.8Z' fill='%230b3a8f' opacity='.2'/%3E%3Crect x='24.0' y='24.0' width='12.0' height='12.0' rx='1.5' fill='%23f4f9ff'/%3E%3Crect x='21.2' y='41.2' width='17.6' height='17.6' rx='3' fill='%23fff'/%3E%3Cpath d='M24.0 56.0L36.0 56.0L36.0 44.0L38.8 41.2L38.8 58.8L21.2 58.8Z' fill='%230b3a8f' opacity='.2'/%3E%3Crect x='24.0' y='44.0' width='12.0' height='12.0' rx='1.5' fill='%23f4f9ff'/%3E%3Crect x='21.2' y='61.2' width='17.6' height='17.6' rx='3' fill='%23fff'/%3E%3Cpath d='M24.0 76.0L36.0 76.0L36.0 64.0L38.8 61.2L38.8 78.8L21.2 78.8Z' fill='%230b3a8f' opacity='.2'/%3E%3Crect x='24.0' y='64.0' width='12.0' height='12.0' rx='1.5' fill='%23f4f9ff'/%3E%3C/svg%3E") center/48% auto no-repeat,linear-gradient(135deg,#06bfff,#2d73ff)!important;border-radius:22%}
#loading .ld-logo{width:66px;height:88px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 80'%3E%3Crect x='1.2' y='1.2' width='17.6' height='17.6' rx='3' fill='%23fff'/%3E%3Crect x='21.2' y='1.2' width='17.6' height='17.6' rx='3' fill='%23fff'/%3E%3Crect x='41.2' y='1.2' width='17.6' height='17.6' rx='3' fill='%23fff'/%3E%3Crect x='21.2' y='21.2' width='17.6' height='17.6' rx='3' fill='%23fff'/%3E%3Crect x='21.2' y='41.2' width='17.6' height='17.6' rx='3' fill='%23fff'/%3E%3Crect x='21.2' y='61.2' width='17.6' height='17.6' rx='3' fill='%23fff'/%3E%3C/svg%3E") center/contain no-repeat!important;border-radius:0}

/* ===== 1125.22：电脑版也显示「随机 / 开始游玩」快捷按钮 ===== */
.ai-grid{display:grid;grid-template-columns:minmax(0,1fr) 92px;column-gap:10px;row-gap:10px;align-items:stretch}
.ai-grid .irow>span:first-child{width:70px}
.ai-grid .app-tags{margin-top:0;min-width:0}
.qk-rand{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border-radius:3px;background:#5c7e10;color:#fff;font-size:15px;letter-spacing:.1em;cursor:pointer;transition:background .15s}
.qk-rand:hover{background:#7ea64b}
.qk-rand:active{background:#8ec15a}
.qk-play{display:flex;height:auto;min-height:44px;align-self:stretch;font-size:15px;white-space:normal;line-height:1.2;padding:0 6px}
@media (max-width:720px){
  .ai-grid{grid-template-columns:minmax(0,1fr) 112px;column-gap:12px}
  .ai-grid .irow>span:first-child{width:72px}
  .qk-rand{font-size:16px}
  .qk-play{min-height:52px;font-size:16px}
}

/* ===== 1125.23：图标改为竖 3 格的 T（方块放大） ===== */
.logo-svg,.g-logo .logo-svg,.lg-top .logo-svg,.f-logo .logo-svg{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Crect x='1.2' y='1.2' width='17.6' height='17.6' rx='3' fill='%23fff'/%3E%3Cpath d='M4.0 16.0L16.0 16.0L16.0 4.0L18.8 1.2L18.8 18.8L1.2 18.8Z' fill='%230b3a8f' opacity='.2'/%3E%3Crect x='4.0' y='4.0' width='12.0' height='12.0' rx='1.5' fill='%23f4f9ff'/%3E%3Crect x='21.2' y='1.2' width='17.6' height='17.6' rx='3' fill='%23fff'/%3E%3Cpath d='M24.0 16.0L36.0 16.0L36.0 4.0L38.8 1.2L38.8 18.8L21.2 18.8Z' fill='%230b3a8f' opacity='.2'/%3E%3Crect x='24.0' y='4.0' width='12.0' height='12.0' rx='1.5' fill='%23f4f9ff'/%3E%3Crect x='41.2' y='1.2' width='17.6' height='17.6' rx='3' fill='%23fff'/%3E%3Cpath d='M44.0 16.0L56.0 16.0L56.0 4.0L58.8 1.2L58.8 18.8L41.2 18.8Z' fill='%230b3a8f' opacity='.2'/%3E%3Crect x='44.0' y='4.0' width='12.0' height='12.0' rx='1.5' fill='%23f4f9ff'/%3E%3Crect x='21.2' y='21.2' width='17.6' height='17.6' rx='3' fill='%23fff'/%3E%3Cpath d='M24.0 36.0L36.0 36.0L36.0 24.0L38.8 21.2L38.8 38.8L21.2 38.8Z' fill='%230b3a8f' opacity='.2'/%3E%3Crect x='24.0' y='24.0' width='12.0' height='12.0' rx='1.5' fill='%23f4f9ff'/%3E%3Crect x='21.2' y='41.2' width='17.6' height='17.6' rx='3' fill='%23fff'/%3E%3Cpath d='M24.0 56.0L36.0 56.0L36.0 44.0L38.8 41.2L38.8 58.8L21.2 58.8Z' fill='%230b3a8f' opacity='.2'/%3E%3Crect x='24.0' y='44.0' width='12.0' height='12.0' rx='1.5' fill='%23f4f9ff'/%3E%3C/svg%3E") center/62% auto no-repeat,linear-gradient(135deg,#06bfff,#2d73ff)!important;border-radius:22%}
#loading .ld-logo{width:84px;height:84px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Crect x='1.2' y='1.2' width='17.6' height='17.6' rx='3' fill='%23fff'/%3E%3Crect x='21.2' y='1.2' width='17.6' height='17.6' rx='3' fill='%23fff'/%3E%3Crect x='41.2' y='1.2' width='17.6' height='17.6' rx='3' fill='%23fff'/%3E%3Crect x='21.2' y='21.2' width='17.6' height='17.6' rx='3' fill='%23fff'/%3E%3Crect x='21.2' y='41.2' width='17.6' height='17.6' rx='3' fill='%23fff'/%3E%3C/svg%3E") center/contain no-repeat!important;border-radius:0}

/* ===== 1125.24：登录页只留登录（去掉扫码区） ===== */
#slStep1 .sl-panel{max-width:520px}
#slStep1 .sl-foot{max-width:520px}

/* ===== 1125.25：成就系统（右下角弹出、成就页）+ 支持作者四项 ===== */
.ach-ic{width:48px;height:48px;flex:none;display:inline-flex;align-items:center;justify-content:center;font-size:26px;line-height:1;border-radius:4px;position:relative;box-shadow:inset 0 0 0 2px rgba(255,255,255,.14),0 2px 6px rgba(0,0,0,.45)}
.ach-ic.big{width:64px;height:64px;font-size:34px}
.ach-ic.t1{background:linear-gradient(135deg,#8a5a34,#4f3220)}
.ach-ic.t2{background:linear-gradient(135deg,#8c99a6,#4d5763)}
.ach-ic.t3{background:linear-gradient(135deg,#d7a531,#7d5a12)}
.ach-ic.t4{background:linear-gradient(135deg,#6fd6ff,#3c56c9 55%,#9c4dd8)}
.ach-ic.q{background:#23262e;color:#5b6370;font-size:24px;font-weight:700;box-shadow:inset 0 0 0 2px #2f343d}
#achpop{position:fixed;right:calc(14px + var(--safe-right,0px));bottom:calc(14px + var(--safe-bottom,0px));z-index:95;display:flex;flex-direction:column;gap:8px;pointer-events:none}
.ap-card{pointer-events:auto;cursor:pointer;width:300px;max-width:calc(100vw - 28px);display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:4px;background:linear-gradient(135deg,#2a475e 0%,#1b2838 70%);box-shadow:0 6px 24px rgba(0,0,0,.7),inset 0 0 0 1px rgba(103,193,245,.25);transform:translateY(130%);opacity:0;transition:transform .45s cubic-bezier(.2,.9,.3,1.1),opacity .35s}
.ap-card.in{transform:none;opacity:1}
.ap-card.out{transform:translateY(130%);opacity:0}
.ap-tx{min-width:0;display:flex;flex-direction:column;gap:2px}
.ap-tx small{color:#8f98a0;font-size:12px}
.ap-tx b{color:#fff;font-size:16px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ap-tx em{font-style:normal;color:#acdbf5;font-size:12px;line-height:1.4}
.ap-icons{display:flex;flex:none}
.ap-icons .ach-ic{width:40px;height:40px;font-size:22px;margin-left:-10px}
.ap-icons .ach-ic:first-child{margin-left:0}
.ach-head{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;background:linear-gradient(90deg,rgba(103,193,245,.12),rgba(0,0,0,0));padding:16px;border-radius:3px;margin:8px 0 14px}
.ah-l{display:flex;align-items:center;gap:14px;min-width:0}
.ah-l h1{color:#fff;font-size:26px;font-weight:400}
.ah-l small{color:#8f98a0;font-size:13px}
.ah-r{min-width:220px;flex:0 1 320px}
.ah-n{color:#8f98a0;font-size:14px;margin-bottom:6px}
.ah-n b{color:#fff;font-size:22px;font-weight:400}
.ah-bar{height:8px;background:#0e141b;border-radius:4px;overflow:hidden}
.ah-bar i{display:block;height:100%;background:linear-gradient(90deg,#47bfff,#1a44c2);border-radius:4px}
.ach-sup{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:rgba(0,0,0,.25);padding:10px 14px;border-radius:3px;margin-bottom:12px;color:#c6d4df;font-size:14px}
.ach-list{display:flex;flex-direction:column;gap:4px;margin-bottom:30px}
.ach-row{display:flex;align-items:center;gap:14px;padding:10px 14px;background:rgba(0,0,0,.2);border-radius:2px}
.ach-row .ar-tx{flex:1;min-width:0}
.ach-row .ar-tx b{display:block;color:#fff;font-size:16px;font-weight:400}
.ach-row .ar-tx small{color:#acb2b8;font-size:13px}
.ach-row .ar-r{text-align:right;flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:3px}
.ach-row .ar-r small{color:#8f98a0;font-size:12px}
.ach-row .ar-r em{font-style:normal;font-size:11px;padding:1px 6px;border-radius:2px;color:#fff}
.ar-r em.t1{background:#7a4f2c}.ar-r em.t2{background:#66717d}.ar-r em.t3{background:#a37a1b}.ar-r em.t4{background:linear-gradient(90deg,#3c8fd9,#8a4dd8)}
.ach-row.lock{opacity:.7}
.ach-row.lock .ar-tx b{color:#5b6370;letter-spacing:.2em}
.ach-row.lock .ar-tx small{color:#4c535c}
@media (max-width:720px){
  #achpop{left:14px;right:calc(14px + var(--safe-right,0px));align-items:flex-end}
  .ach-row{padding:10px}
  .ach-row .ar-r small{font-size:11px;max-width:96px}
  .ah-l h1{font-size:22px}
  .ah-r{flex:1 1 100%}
}
.sl-tasks{display:flex;flex-direction:column;gap:6px}
.st-row{display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.05);padding:10px 12px;border-radius:2px}
.st-ck{width:22px;height:22px;flex:none;border-radius:50%;border:2px solid #4b5568;display:flex;align-items:center;justify-content:center;color:#fff}
.st-ck .ck{width:14px;height:14px}
.st-row.done .st-ck{background:#5c7e10;border-color:#7ea64b}
.st-tx{flex:1;min-width:0}
.st-tx b{display:block;color:#fff;font-weight:400;font-size:15px}
.st-tx small{color:#8f98a0;font-size:12px}
.st-row em{font-style:normal;color:#a4d007;font-size:13px}
.st-row .btn-blue{flex:none}
.st-foot{color:#8f98a0;font-size:12px;padding:2px 2px 0}
body.playing #achpop{visibility:hidden}
.ap-more{margin-left:8px;color:#67c1f5}

/* ===== 1125.28：支持作者页压缩 + 绿色「进入游戏」 ===== */
.sl-up{padding:10px 12px;gap:12px}
.sl-up img{width:44px;height:44px}
.sl-up-name{flex:1;min-width:0;color:#fff;font-weight:400;font-size:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sl-up .sl-tag{align-self:center}
#slStep2 .sl-sub{margin:-6px 0 12px;color:#c6d4df;font-size:15px}
.sl-btns .sl-go{background:linear-gradient(90deg,#75b022 5%,#588a1b 95%);color:#fff;font-size:18px;height:50px}
.sl-btns .sl-go:hover{background:linear-gradient(90deg,#8ed629 5%,#6aa621 95%);filter:none}
@media (max-width:720px){
  #slStep2 .sl-h1{margin-bottom:8px}
  #slStep2 .sl-panel{padding:14px 12px;gap:10px}
  .st-row{padding:8px 10px}
  .sl-btns .sl-go{flex:1 1 100%}
  .sl-btns{justify-content:center;gap:10px}
}

/* ===== 1125.29：顶栏常驻奖杯入口（成就） ===== */
.g-user .g-ach{height:26px;padding:0 9px 0 7px;display:flex;gap:4px;align-items:center;border-radius:2px;background:linear-gradient(135deg,#d7a531,#8a6214);color:#fff;font-size:13px;line-height:1;white-space:nowrap}
.g-user .g-ach:hover{filter:brightness(1.15)}
.g-user .g-ach .g-cup{font-size:15px}
.g-user .g-ach b{font-weight:700}
@media (max-width:720px){.g-user .g-ach{height:28px;font-size:14px;padding:0 8px 0 6px}}
@media (max-width:420px){.g-logo b{display:none}} /* 窄屏顶栏放不下奖杯 + 随机 + 头像，只留 T 图标 */

/* ===== 1125.31：成就页分享（图鉴长图） ===== */
.ah-share{margin-top:10px;width:100%;height:34px;font-size:14px}
#achcard{position:fixed;inset:0;z-index:96;background:rgba(0,0,0,.82);display:flex;align-items:center;justify-content:center;padding:calc(16px + var(--safe-top,0px)) 14px calc(16px + var(--safe-bottom,0px))}
#achcard[hidden]{display:none}
.acd-box{width:100%;max-width:520px;max-height:100%;display:flex;flex-direction:column;gap:12px}
.acd-img{flex:1;min-height:120px;overflow:auto;border-radius:6px;background:#0e141b;box-shadow:0 8px 30px rgba(0,0,0,.7)}
.acd-img img{display:block;width:100%;height:auto}
.acd-wait{padding:60px 20px;text-align:center;color:#8f98a0}
.acd-btns{flex:none;display:flex;flex-wrap:wrap;gap:10px;justify-content:center;align-items:center}
.acd-btns button{height:40px;padding:0 20px;font-size:15px}
.acd-btns small{flex:1 1 100%;text-align:center;color:#8f98a0;font-size:12px}

/* ===== 1125.33：电脑网页顶栏不换行（加了奖杯后导航被挤成两行） ===== */
@media (min-width:721px){
  .g-nav{gap:2px;flex:none}
  .g-nav a{white-space:nowrap;padding-left:7px;padding-right:7px;letter-spacing:0}
  .g-inner{gap:22px}
  .g-user{flex:none}
}
@media (min-width:721px) and (max-width:1000px){.g-me .g-name{display:none}.g-inner{gap:14px}}
@media (min-width:721px) and (max-width:800px){.g-logo b{display:none}}

/* ---------- 登录第三步：选择去处 ---------- */
.go-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:6px 0 14px}
.go-card{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:26px 24px 24px;border-radius:6px;background:#181a21;box-shadow:0 0 18px rgba(0,0,0,.55);border:1px solid #2a3f5a;cursor:pointer;transition:border-color .15s,transform .15s}
.go-card:hover{border-color:#1a9fff;transform:translateY(-2px)}
.go-card b{color:#fff;font-size:22px}
.go-card span{color:#8f98a0;font-size:14px;line-height:1.5}
.go-ico{width:56px;height:56px;border-radius:12px;margin-bottom:6px;background:center/34px no-repeat}
.go-store{background-color:#1a9fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M4 9h16l-1.5 11h-13z'/%3E%3Cpath d='M8 9V7a4 4 0 0 1 8 0v2'/%3E%3C/svg%3E")}
.go-db{background-color:#2f81f7;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='13' width='4' height='7' rx='1' fill='%23fff' opacity='.7'/%3E%3Crect x='10' y='9' width='4' height='11' rx='1' fill='%23fff' opacity='.85'/%3E%3Crect x='16' y='4' width='4' height='16' rx='1' fill='%23fff'/%3E%3C/svg%3E")}
@media (max-width:720px){.go-cards{grid-template-columns:1fr}.go-card{padding:18px}}
/* ToyDB 区：藏起商店的子导航 / 正文 / 页脚 */
body.db #storenav, body.db #page, body.db #footer{display:none}
body.db{background:#121519}
