/* 全站设计变量：深蓝紫主色、轻盈留白与自适应布局。 */
:root{--ink:#20233f;--muted:#85859a;--primary:#6558e8;--line:#eeedf5;--surface:#f7f8fc;--radius:16px;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:var(--ink);background:#fff;font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button,a,input,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}img{display:block;max-width:100%;object-fit:cover}h1,h2,h3,p{margin-top:0}h1{font-size:42px;letter-spacing:-1.5px;line-height:1.4}h2{font-size:27px;letter-spacing:-.7px}h3{font-size:18px}p{line-height:1.9;color:var(--muted)}.container{width:min(1240px,calc(100% - 96px));margin:auto}.section{padding-top:64px;padding-bottom:70px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2.8px;color:var(--primary);margin-bottom:20px}.subtle{font-size:12px;color:var(--muted);line-height:1.8}.button{display:inline-flex;align-items:center;justify-content:center;gap:28px;border:0;background:var(--primary);color:white;padding:15px 25px;border-radius:8px;font-size:14px;font-weight:600;transition:transform .2s,background .2s}.button:hover{background:#5546d3;transform:translateY(-1px)}.full{width:100%}.text-button{border:0;background:none;padding:8px;color:var(--primary);font-size:13px}.panel{border:1px solid var(--line);border-radius:var(--radius);background:white;padding:30px}.loading{text-align:center;padding:20vh 20px}.page-heading{margin-bottom:36px}.page-heading h1{margin-bottom:12px}.page-heading p{font-size:14px}.page-heading .eyebrow{margin-bottom:12px}
/* 导航和底部保持统一对齐，移动端允许菜单横向滚动。 */
header{height:94px;border-bottom:1px solid var(--line);background:#fff}.header-inner{height:100%;display:flex;align-items:center;gap:55px}.brand{display:flex;align-items:center;gap:12px;font-size:22px;font-weight:800;white-space:nowrap}.brand small{display:block;font-size:8px;letter-spacing:3px;margin-top:3px}.brand-icon{height:40px;width:40px;background:var(--primary);color:white;border-radius:12px;font-size:31px;line-height:38px;text-align:center;font-style:italic}.brand-icon span{color:#c8ffad;font-size:18px}.header-inner nav{display:flex;align-items:center;gap:30px;height:100%;flex:1}.header-inner nav a{height:100%;display:flex;align-items:center;font-size:14px;position:relative;white-space:nowrap}.header-inner nav a.active{color:var(--primary);font-weight:600}.header-inner nav a.active:after{content:"";position:absolute;bottom:19px;left:calc(50% - 9px);height:3px;width:18px;background:var(--primary);border-radius:3px}.user-nav{display:flex;align-items:center;gap:12px;font-size:12px}.login-button{padding:11px 17px;border:1px solid var(--line);border-radius:7px;white-space:nowrap}.login-button span{margin-left:20px;color:var(--primary)}footer{background:#f8f9fc;margin-top:25px;padding:38px 0 20px}.footer-top,.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px}.footer-top{padding-bottom:30px;border-bottom:1px solid #e9eaf1}.footer-tag{font-weight:400;font-size:12px;color:var(--muted);margin-left:15px}.footer-top>div{display:flex;gap:25px;font-size:12px;color:#777b90}.footer-bottom{padding-top:22px;font-size:10px;color:#9699ac}
/* 首页的轨道插画及游戏卡片均使用本地资源。 */
.hero{background:linear-gradient(110deg,#f5f7ff,#f1f0fc 60%,#e8e7fa);overflow:hidden}.hero-inner{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:540px;gap:40px}.hero-copy{padding:35px 0}.hero-copy h1{font-size:64px;line-height:1.24;margin:22px 0}.hero-copy h1 span{color:var(--primary)}.hero-copy p{font-size:15px;color:#75758d;margin-bottom:30px}.hero-link{font-size:13px;margin-left:24px;color:#666382}.hero-note{display:flex;gap:8px;align-items:center;margin-top:37px;font-size:11px;color:#9291a9}.hero-note>span{width:6px;height:6px;background:#9ca58b;border-radius:50%}.hero-art{position:relative;transform:rotate(-4deg);border:9px solid #ffffff70;border-radius:100px 25px 100px 25px;box-shadow:0 25px 70px #7464c830;overflow:hidden}.hero-art img{width:100%;height:385px}.orbit-label{position:absolute;top:25px;left:30px;letter-spacing:2px;font-size:10px;color:white}.art-caption{position:absolute;bottom:35px;left:34px;color:white}.art-caption span{display:block;font-size:27px;font-weight:600;margin-bottom:7px}.art-caption small{font-size:12px;color:#e3e0ff}.hero-bottom{display:flex;justify-content:space-between;padding-bottom:26px;color:#8b89a6;font-size:10px;letter-spacing:1.5px}.hero-bottom>span:first-child{display:flex;align-items:center;gap:12px}.hero-bottom i{width:65px;height:2px;background:linear-gradient(to right,var(--primary) 25%,#d3d0e9 25%)}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 25px;gap:20px}.section-heading .eyebrow{font-size:9px;margin-bottom:12px}.section-heading h2{margin:0}.section-heading>a{font-size:12px;color:#7e7d97}.section-heading h2 small{color:var(--muted);font-size:14px;font-weight:400}.game-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.game-card{border:1px solid var(--line);border-radius:13px;overflow:hidden;transition:transform .2s}.game-card:hover{transform:translateY(-4px)}.game-card>img{width:100%;height:185px}.game-card>div{padding:20px}.game-card small{font-size:9px;color:var(--muted);letter-spacing:1px}.game-card h3{margin:10px 0 0;display:flex;justify-content:space-between}.game-card h3 span{font-weight:400;color:var(--primary)}.game-card p{font-size:13px;margin-top:12px}.game-card a{font-size:13px;color:var(--primary)}.game-grid.large{grid-template-columns:repeat(2,1fr)}.game-grid.large img{height:270px}.feature-strip{display:grid;grid-template-columns:repeat(3,1fr);padding:32px;background:#fafaff;border:1px solid var(--line);border-radius:12px;margin-bottom:60px;gap:30px}.feature-strip span{font-size:9px;letter-spacing:2px;color:#9893bc}.feature-strip h3{font-size:16px;margin:14px 0 7px}.feature-strip p{font-size:12px;margin:0}
/* 商品筛选、购买卡片和订单页面。 */
.shop-banner{background:linear-gradient(115deg,#f0f1fd,#f7f6ff);overflow:hidden}.shop-banner>.container{position:relative;padding-top:45px;padding-bottom:40px}.shop-banner .page-heading{margin:0}.shop-banner h1{font-size:37px}.shop-banner p{margin:0}.banner-orb{position:absolute;right:80px;top:-10px;font-size:190px;color:#c8c0fa;transform:rotate(15deg);text-shadow:25px 15px 0 #e2dcfc}.shop-section{padding-top:40px}.shop-intro{display:flex;justify-content:space-between;align-items:center}.shop-intro h2{font-size:21px}.shop-intro h2 span{font-size:10px;font-weight:400;letter-spacing:2px;color:#a0a0b2;margin-left:12px}.shop-intro>a{font-size:12px;color:var(--primary)}.filters{display:flex;justify-content:space-between;gap:20px;margin:12px 0 28px;align-items:center}.tabs{display:flex;gap:10px;flex-wrap:wrap}.tabs button{border:0;background:#f6f6fa;color:#797b90;font-size:12px;padding:11px 21px;border-radius:6px}.tabs button.selected{color:white;background:var(--primary)}.search{display:flex;align-items:center;gap:12px;border:1px solid var(--line);padding:0 14px;border-radius:7px;width:240px}.search span{font-size:24px;color:#a1a0b1}.search input{border:0;padding:11px 0;background:transparent;font-size:12px;width:100%;outline:none}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:27px}.product-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:box-shadow .2s,transform .2s}.product-card:hover{transform:translateY(-3px);box-shadow:0 12px 35px #25214a10}.product-art{position:relative;background:#f5f4fb}.product-art img{width:100%;height:205px}.image-tag{position:absolute;left:15px;top:15px;font-size:10px;background:#ffffffdd;backdrop-filter:blur(6px);padding:6px 10px;border-radius:4px;color:#55516a}.product-body{padding:22px}.product-body>small{font-size:10px;color:var(--muted)}.product-body h3{margin:9px 0;font-size:17px}.product-body>p{font-size:12px;min-height:46px;margin-bottom:23px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-bottom{display:flex;align-items:center;justify-content:space-between;padding-top:17px;border-top:1px solid var(--line)}.product-bottom>strong{font-size:24px;color:var(--primary);letter-spacing:-.5px}.product-bottom strong small{font-size:13px;margin-right:4px}.buy-button{font-size:12px;background:#f1efff;color:var(--primary);padding:10px 14px;border-radius:6px}.buy-button:hover{background:var(--primary);color:#fff}.shop-tips{display:flex;justify-content:center;gap:55px;background:#fafafe;margin-top:38px;padding:22px;font-size:12px;color:#9b99af;border-radius:9px}.empty{text-align:center;padding:100px 0;min-height:60vh}.empty-icon{font-size:38px;color:var(--primary);background:#f0edff;width:78px;height:78px;line-height:78px;border-radius:50%;margin:0 auto 22px}.empty h1{font-size:30px}.no-results{grid-column:1/-1;text-align:center;padding:65px;color:var(--muted)}.back{display:inline-block;font-size:12px;color:var(--muted);margin-bottom:30px}.steps{display:flex;justify-content:center;gap:80px;font-size:12px;color:#b1b0bf;margin:15px 0 40px}.steps b{color:#8d87b5;font-weight:400}.steps .current{color:var(--primary);font-weight:600}.checkout-layout{display:grid;grid-template-columns:1.8fr 1fr;gap:26px}.checkout-layout h2{font-size:18px}.checkout-product{display:flex;gap:24px;padding:5px 0 30px;margin-bottom:30px;border-bottom:1px solid var(--line)}.checkout-product img{width:150px;height:125px;border-radius:9px}.checkout-product small{font-size:12px;color:var(--muted)}.checkout-product h3{margin:7px 0}.checkout-product p{font-size:12px;margin-bottom:10px}.checkout-product strong{color:var(--primary)}.summary{align-self:start}.summary dl,.payment-panel dl{display:grid;grid-template-columns:auto 1fr;gap:20px;font-size:12px;padding:20px 0}.summary dt,.payment-panel dt{color:var(--muted)}dd{margin:0;text-align:right;overflow-wrap:anywhere}.total{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:23px 0;font-size:13px}.total strong{font-size:30px;color:var(--primary)}.quantity{max-width:100px}.payment-section{padding:65px 0}.payment-panel{max-width:600px;margin:auto;text-align:center}.payment-panel h1{font-size:27px;margin:23px 0 10px}.payment-panel>a{display:inline-block;margin-top:20px;color:var(--primary);font-size:13px}.payment-total{font-size:40px;color:var(--primary)}.notice{font-size:12px;line-height:1.9;background:#fff8e9;color:#a57e37;padding:15px;margin:20px 0;border-radius:8px}
/* 表单、管理后台、错误反馈与帮助页。 */
label{display:block;font-size:12px;color:#656479;margin:16px 0}input:not([type=checkbox]),textarea{display:block;width:100%;border:1px solid #e5e5ef;border-radius:7px;padding:12px 13px;margin-top:9px;background:#fff;color:var(--ink)}input:focus,textarea:focus{outline:2px solid #b7aff5;outline-offset:1px}.search input{margin:0;border:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.check-label{display:flex;align-items:flex-start;gap:8px;font-size:11px;line-height:1.8}.check-label input{accent-color:var(--primary);margin-top:4px}.form-error{color:#ce405f;font-size:12px;margin:10px 0}.form-error:empty{display:none}.auth-section{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:95px;padding-top:65px;padding-bottom:65px;max-width:1080px}.auth-copy h1{font-size:36px}.auth-copy img{border-radius:50px 10px 50px 10px;height:245px;width:100%}.auth-panel{padding:40px}.auth-panel h2{margin-bottom:10px}.auth-panel>p{font-size:12px}.auth-panel .button{margin-top:15px}.auth-switch{text-align:center;margin-top:23px}.auth-switch a{color:var(--primary)}.admin-heading{display:flex;justify-content:space-between;gap:20px}.admin-badge{align-self:start;color:var(--primary);background:#f1eeff;padding:10px 15px;border-radius:6px;font-size:12px}.setting-panel{display:flex;align-items:center;justify-content:space-between;margin-bottom:40px;background:#faf9ff}.setting-panel h3{margin-bottom:6px}.setting-panel p{margin:0;font-size:12px}.toggle{background:#a5a4b3;color:white;display:flex;gap:10px;align-items:center;border:0;border-radius:24px;padding:10px 15px;font-size:12px;white-space:nowrap}.toggle.on{background:var(--primary)}.toggle span{width:16px;height:16px;background:white;border-radius:50%}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{color:var(--muted);font-weight:400;white-space:nowrap}th,td{padding:18px 12px;border-bottom:1px solid var(--line)}td strong{font-weight:500}td small{display:block;font-size:10px;color:var(--muted);margin-top:8px}td .text-button{white-space:nowrap}tr:last-child td{border:0}.admin-product{display:flex;gap:15px;align-items:center;min-width:200px}.admin-product img{width:65px;height:50px;border-radius:6px}.status{background:#f0edff;color:var(--primary);padding:6px 9px;border-radius:4px;font-size:10px;white-space:nowrap}.status.offline{background:#f1f2f5;color:#8e8e9d}.table-wrap+.section-heading{margin-top:40px}.editor{margin-bottom:25px;background:#fcfcff;scroll-margin-top:20px}#image-preview img{max-width:220px;height:130px;border-radius:8px}.about-layout{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.about-layout>img{border-radius:20px;width:100%}.about-layout p{font-size:14px}.faq{max-width:900px}.faq details{padding:22px 0;border-bottom:1px solid var(--line)}.faq details:last-child{border:0}.faq summary{cursor:pointer;list-style:none;font-size:16px}.faq summary span{float:right;color:var(--primary)}.faq p{font-size:14px;margin:20px 0 0}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);background:#29243f;color:#fff;padding:14px 24px;border-radius:9px;font-size:13px;opacity:0;pointer-events:none;transition:.2s;z-index:10;max-width:90vw}#toast.visible{opacity:1;transform:translate(-50%,0)}
/* 小屏幕调整导航、商品栅格与结算表单，避免横向溢出。 */
@media(max-width:1100px){.container{width:calc(100% - 48px)}.header-inner{gap:25px}.header-inner nav{gap:20px}.user-nav{gap:5px}.hero-copy h1{font-size:53px}.hero-art img{height:340px}.hero-link{display:inline-block;margin:20px 0 0 15px}.auth-section{gap:45px}.product-grid{gap:18px}.hero-inner{gap:25px}}@media(max-width:800px){header{height:auto}.header-inner{flex-wrap:wrap;padding:18px 0 0;gap:12px;justify-content:space-between}.brand{font-size:19px}.header-inner nav{order:3;width:100%;height:48px;flex:auto;justify-content:space-between;overflow-x:auto;gap:25px}.header-inner nav a{font-size:12px}.header-inner nav a.active:after{bottom:0}.user-nav{flex-wrap:wrap;justify-content:flex-end;max-width:60%}.user-nav .text-button{font-size:11px}.hero-inner{min-height:450px}.hero-copy h1{font-size:43px}.hero-art img{height:290px}.hero-art{border-radius:55px 15px}.hero-copy p{font-size:12px}.hero-link{margin-left:0}.hero-note{margin-top:18px}.game-grid{grid-template-columns:repeat(2,1fr)}.product-grid{grid-template-columns:repeat(2,1fr)}.feature-strip{gap:15px;padding:25px}.feature-strip p{font-size:11px}.checkout-layout{grid-template-columns:1fr}.auth-section{gap:25px}.auth-copy h1{font-size:27px}.auth-panel{padding:25px}.footer-bottom{align-items:flex-start;line-height:1.9}.banner-orb{right:10px;font-size:160px;opacity:.5}.shop-tips{gap:20px;font-size:10px}.steps{gap:35px}.about-layout{gap:25px}.filters{align-items:flex-start;flex-direction:column}.search{width:100%}.admin-heading .page-heading h1{font-size:30px}.admin-badge{font-size:10px}}@media(max-width:520px){.container{width:calc(100% - 36px)}h1{font-size:30px}h2{font-size:22px}.section{padding-top:35px;padding-bottom:40px}.hero-inner{grid-template-columns:1fr;gap:0}.hero-copy{padding:38px 0 20px}.hero-copy h1{font-size:48px}.hero-copy .eyebrow{font-size:9px}.hero-link{margin-left:15px}.hero-art{margin:5px 15px 30px;transform:rotate(-2deg)}.hero-art img{height:225px}.hero-bottom{font-size:8px}.hero-note{display:none}.section-heading{align-items:flex-start}.section-heading h2{font-size:22px}.section-heading .eyebrow{font-size:8px;letter-spacing:1.5px}.game-grid{gap:12px}.game-card>img{height:135px}.game-card>div{padding:14px}.game-card h3{font-size:16px}.feature-strip{grid-template-columns:1fr;gap:25px;padding:25px}.footer-tag{display:none}.footer-top{align-items:flex-start}.footer-top>div{gap:14px;font-size:10px}.footer-bottom{flex-direction:column;gap:7px}.shop-banner h1{font-size:29px}.banner-orb{font-size:100px;right:0;top:15px;opacity:.4}.product-grid{grid-template-columns:1fr}.product-art img{height:210px}.shop-tips{flex-wrap:wrap;gap:12px}.tabs{gap:6px}.tabs button{padding:10px 13px;font-size:11px}.shop-intro h2 span{font-size:8px;letter-spacing:1px}.auth-section{grid-template-columns:1fr;padding:35px 0}.auth-copy{display:none}.panel{padding:22px}.form-grid{grid-template-columns:1fr;gap:0}.checkout-product{gap:15px}.checkout-product img{width:95px;height:100px}.checkout-product h3{font-size:16px}.steps{font-size:10px;gap:25px}.payment-panel h1{font-size:22px}.payment-panel dl{grid-template-columns:1fr;gap:10px}.payment-panel dd{text-align:center;margin-bottom:10px}.setting-panel{gap:15px}.setting-panel p{font-size:11px}.admin-heading{display:block}.admin-badge{display:inline-block;margin-bottom:20px}.about-layout,.game-grid.large{grid-template-columns:1fr}.game-grid.large img{height:210px}.page-heading h1{font-size:29px}}
