/* 幻游阁 1.1.5 界面精修：只调整视觉，不改结构、数据与交互 */
:root{--hy-p:#7c3aed;--hy-p-d:#6d28d9;--hy-p-l:#f5f3ff;--hy-ink:#1f1633;--hy-sub:#6b6280;--hy-line:#ece8f5;--hy-r:14px;--hy-sh:0 1px 2px rgba(46,16,101,.05),0 8px 24px rgba(46,16,101,.07);--hy-sh-h:0 4px 10px rgba(46,16,101,.08),0 18px 36px rgba(46,16,101,.14)}

/* ---------- 首页热卖账号卡片 ---------- */
html body .hot-accounts-section .account-card{display:flex;flex-direction:column;height:100%;overflow:hidden}
html body .account-card .account-img{height:auto!important;aspect-ratio:16/10;overflow:hidden;background:#f3effa}
html body .account-card .account-img a{display:block;width:100%;height:100%}
html body .account-card .account-info{display:flex;flex:1;flex-direction:column;padding:12px 14px 14px}
html body .account-card .account-info a{text-decoration:none!important;color:inherit}
html body .account-card .account-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:42px;margin:0 0 10px;font-size:14px!important;font-weight:500;line-height:21px!important;color:var(--hy-ink);text-decoration:none!important;transition:color .2s}
html body .account-card:hover .account-title{color:var(--hy-p)}
html body .account-card .account-price{margin-top:auto;font-size:18px!important;font-weight:700;color:var(--hy-p)!important;letter-spacing:.2px}
html body .hot-accounts-header,html body .hot-accounts-section>div:first-child{align-items:center}
html body .more-btn{padding:6px 14px!important;background:var(--hy-p-l)!important;color:var(--hy-p)!important}
html body .more-btn:hover{background:#ede9fe!important}
/* 游戏区：只有少量游戏时不留大片空白 */
html body .game-section .game-grid{min-height:0!important}
html body .game-item{transition:transform .2s}
html body .game-item:hover{transform:translateY(-3px)}
html body .game-item .game-icon{box-shadow:0 6px 16px rgba(46,16,101,.15)!important}

/* ---------- 列表页：卡片改成上图下文 ---------- */
html body .product-search-box,html body .new-banner-wrap+.tab{background:transparent}
html body .nav-x li a{border-radius:999px!important;height:40px!important;line-height:40px!important;margin:14px 6px!important;padding:0 26px!important}
html body a.product-item{display:flex!important;flex-direction:column;align-items:stretch!important;height:calc(100% - 16px);margin:0 0 16px;padding:0!important;border:1px solid var(--hy-line)!important;border-radius:var(--hy-r)!important;background:#fff!important;box-shadow:var(--hy-sh);overflow:hidden;text-decoration:none!important;transition:transform .25s ease,box-shadow .25s ease}
html body a.product-item:hover{transform:translateY(-4px);box-shadow:var(--hy-sh-h)!important}
html body a.product-item .product-img{width:100%!important;max-width:none!important;margin:0!important;aspect-ratio:16/10;border-radius:0!important;background:#f3effa}
html body a.product-item .product-img img{width:100%!important;height:100%!important;object-fit:cover;border-radius:0!important;transition:transform .4s ease}
html body a.product-item:hover .product-img img{transform:scale(1.05)}
html body a.product-item .product-info{display:flex;flex:1;flex-direction:column;padding:12px 14px 14px!important}
html body a.product-item .product-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:42px;font-size:14px!important;font-weight:500;line-height:21px!important;color:var(--hy-ink)!important;white-space:normal!important}
html body a.product-item:hover .product-title{color:var(--hy-p)!important}
html body a.product-item .product-price-box{margin-top:auto;padding-top:10px}
html body a.product-item .product-price{font-size:18px!important;font-weight:700;color:var(--hy-p)!important}
html body .filter-box{padding:18px 22px!important}
html body .filter-nav{padding:3px 0}
html body .sort-bar a,html body .sort-bar span{border-radius:999px!important}

/* ---------- 商品详情：参数区回到版心 ---------- */
html body .layout>section.product-overview.hy-live{box-sizing:border-box;max-width:1200px;margin:24px auto;padding:26px 28px;background:#fff;border:1px solid var(--hy-line);border-radius:18px;box-shadow:var(--hy-sh)}
html body .layout>section.product-overview.hy-live h2{position:relative;margin:4px 0 18px;padding-left:14px;font-size:20px;font-weight:700;color:var(--hy-ink)}
html body .layout>section.product-overview.hy-live h2:not(:first-child){margin-top:30px}
html body .layout>section.product-overview.hy-live h2::before{content:"";position:absolute;left:0;top:4px;bottom:4px;width:4px;border-radius:4px;background:var(--hy-p)}
html body .hy-specs{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px!important}
html body .hy-specs>div{padding:12px 16px!important;border:1px solid var(--hy-line);border-radius:12px!important;background:#faf8ff!important}
html body .hy-specs dt{font-size:12px;color:var(--hy-sub)!important;margin-bottom:4px}
html body .hy-specs dd{margin:0;font-size:15px;font-weight:600;color:var(--hy-ink)}
html body .layout>section.product-overview.hy-live img{max-width:100%;height:auto;border-radius:12px!important}
html body .european-frame{background:#fff!important;padding:10px!important;box-shadow:var(--hy-sh-h)!important}
html body .european-frame::before{border:1px solid #ddd6fe!important}
html body .european-frame::after{display:none!important}
html body .hy-purchase h1{font-size:24px;line-height:1.45;color:var(--hy-ink)}
html body .hy-purchase .hy-product-price{display:inline-block;margin:6px 0 10px;padding:6px 14px;border-radius:12px;background:var(--hy-p-l);color:var(--hy-p)!important;font-size:30px;font-weight:800}
html body .hy-purchase .hy-actions{gap:10px}

/* ---------- 通用按钮与表单 ---------- */
html body .hy-btn{border-radius:12px!important;padding:11px 22px!important;font-weight:600;transition:transform .15s,box-shadow .2s,background .2s}
html body .hy-btn:not(.hy-secondary){background:var(--hy-p)!important;border-color:var(--hy-p)!important;color:#fff!important;box-shadow:0 6px 16px rgba(124,58,237,.28)}
html body .hy-btn:not(.hy-secondary):hover{background:var(--hy-p-d)!important;transform:translateY(-1px)}
html body .hy-btn.hy-secondary{background:#fff!important;border:1px solid #ddd6fe!important;color:var(--hy-p)!important}
html body .hy-btn.hy-secondary:hover{background:var(--hy-p-l)!important}
html body .hy-live input:not([type=checkbox]):not([type=radio]):not([type=file]),html body .hy-live select,html body .hy-live textarea{border:1px solid #e3ddf0!important;border-radius:12px!important;background:#fbfaff!important;transition:border-color .2s,box-shadow .2s}
html body .hy-live input:focus,html body .hy-live select:focus,html body .hy-live textarea:focus{border-color:var(--hy-p)!important;background:#fff!important;box-shadow:0 0 0 4px rgba(124,58,237,.12)!important;outline:none}

/* ---------- 登录 / 注册 ---------- */
html body .hy-flow{padding:40px 16px 56px!important}
html body .hy-auth{box-sizing:border-box;max-width:440px!important;margin:0 auto!important;padding:36px 36px 28px!important;background:#fff;border:1px solid var(--hy-line);border-radius:20px;box-shadow:var(--hy-sh-h);position:relative;overflow:hidden}
html body .hy-auth::before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:var(--hy-p)}
html body .hy-auth h1{margin:0 0 6px!important;font-size:24px!important;text-align:center}
html body .hy-auth form{display:flex;flex-direction:column;gap:14px;margin-top:20px}
html body .hy-auth label{margin:0!important;display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--hy-sub)}
html body .hy-auth input{height:46px;padding:0 14px!important}
html body .hy-auth .hy-btn{width:100%;height:48px;margin-top:4px;font-size:16px}
html body .hy-auth .hy-form-status:empty{display:none}
html body .hy-auth>p{margin-top:18px;text-align:center;color:#b3abc4}
html body .hy-flow:has(.hy-auth){background:radial-gradient(1200px 400px at 50% -10%,#ede9fe,transparent 70%)}

/* ---------- 客服 / 申请页 ---------- */
html body .cs .ci{border:1px solid var(--hy-line);box-shadow:var(--hy-sh);padding:14px 18px!important}
html body .cs .ci p{margin:0!important}
html body .cs .ct{font-weight:500;color:var(--hy-ink)}
html body .cs .cbtn{background:var(--hy-p)!important;border-radius:999px!important;padding:7px 18px!important}
html body .article.bg-white{border-radius:18px;box-shadow:var(--hy-sh)}

/* ---------- 资讯列表 ---------- */
html body .hy-article-list{display:grid;gap:14px}
html body .hy-article-list article{padding:20px 24px!important;background:#fff;border:1px solid var(--hy-line)!important;border-radius:var(--hy-r);box-shadow:var(--hy-sh);transition:transform .2s,box-shadow .2s}
html body .hy-article-list article:hover{transform:translateY(-2px);box-shadow:var(--hy-sh-h)}
html body .hy-article-list h2{margin:0 0 6px!important;font-size:18px!important}
html body .hy-article-list h2 a{color:var(--hy-ink)!important;text-decoration:none}
html body .hy-article-list article:hover h2 a{color:var(--hy-p)!important}
html body .hy-article-list .hy-muted{font-size:12px;color:#9a91ad!important}

/* ---------- 页脚 ---------- */
html body footer.bg-main{padding:0!important}
html body footer.bg-main .container-layout{padding:22px 24px!important}
html body footer.bg-main .copyright{border-top:0!important;padding:0!important;font-size:13px}
html body .nav-bread{padding:14px 0!important}

/* ---------- 手机 ---------- */
@media (max-width:768px){
 html body .accounts-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 html body .account-card .account-img{aspect-ratio:4/3}
 html body .account-card .account-info{padding:9px 10px 11px}
 html body .account-card .account-title{font-size:13px!important;line-height:19px!important;min-height:38px}
 html body .account-card .account-price{font-size:16px!important}
 html body .layout>section.product-overview.hy-live{margin:14px 12px;padding:18px 16px;border-radius:16px}
 html body .hy-specs{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body .hy-auth{padding:28px 22px 22px!important}
 html body .hy-purchase .hy-product-price{font-size:24px}
}
