:root{
  --bg:#f3f7fa;--card:#fff;--ink:#0f1a2b;--muted:#5b6b80;--line:#e3eaf1;--soft:#eef3f8;
  --p1:#16c2a8;--p2:#3b82f6;--accent:#ff8a3d;--accent-ink:#1a0d00;--danger:#d93a3a;--ok:#1e9d6a;
  --navy:#0b1220;--navy2:#10263f;
  --r:14px;--r-lg:22px;--shadow:0 6px 24px rgba(15,26,43,.08);--shadow-lg:0 18px 50px rgba(15,26,43,.16);
  --font:"PingFang SC","Microsoft YaHei","Noto Sans SC","Helvetica Neue",Arial,sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);color:var(--ink);background:var(--bg);line-height:1.6;font-size:15px}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
h1,h2,h3{margin:0;line-height:1.25;font-weight:700}
p{margin:0}
button{font:inherit;cursor:pointer}
input{font:inherit}
.wrap{width:min(1180px,calc(100% - 32px));margin:0 auto}
.muted{color:var(--muted)}
.inline{display:inline}
.linkish{background:none;border:0;padding:6px 8px;color:var(--muted);border-radius:8px}
.linkish:hover{color:var(--ink);background:var(--soft)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 18px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink);font-weight:600;transition:transform .12s,box-shadow .12s,background .12s}
.btn:hover{transform:translateY(-1px);box-shadow:var(--shadow)}
.btn:active{transform:translateY(0)}
.btn-primary{background:linear-gradient(135deg,#f0d48a,#c4923a);color:#1a1204;border-color:transparent}
.btn-ghost{background:transparent}
.btn-sm{padding:6px 12px;font-size:13px}
.btn-lg{padding:14px 28px;font-size:16px}
.btn-block{width:100%}
.btn.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.pill{display:inline-block;padding:2px 10px;border-radius:999px;background:var(--soft);color:var(--muted);font-size:12px;white-space:nowrap}

/* 顶栏：公司服务入口 */
.util-bar{background:var(--navy);color:#c6d3e2;font-size:12px}
.util-row{display:flex;align-items:center;gap:16px;min-height:34px}
.util-co{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.util-nav{margin-left:auto;display:flex;gap:2px;flex:0 0 auto}
.util-nav a{padding:6px 8px;border-radius:6px;color:#c6d3e2}
.util-nav a:hover{color:#fff;background:rgba(255,255,255,.08)}

/* header */
.site-header{background:rgba(12,14,18,.82);backdrop-filter:blur(16px);border-bottom:1px solid rgba(212,175,90,.28);position:sticky;top:0;z-index:20;color:#f6e7c1}
.btn-gold{background:linear-gradient(135deg,#f0d48a,#c4923a);color:#1a1204;border-color:transparent}
.badge{display:inline-block;margin-left:6px;padding:1px 6px;border-radius:999px;background:#c4923a;color:#1a1204;font-size:10px;font-style:normal;font-weight:800;letter-spacing:.4px}
.header-row{display:flex;align-items:center;gap:14px;height:64px}
.head-links{display:flex;align-items:center;gap:8px;flex:1;min-width:0}
.brand{display:flex;align-items:center;gap:10px}
.brand img{border-radius:10px}
.brand-name{font-size:20px;font-weight:800;letter-spacing:.5px;color:#f6e7c1}
.brand-en{font-size:11px;color:#b7a98a;letter-spacing:2px;text-transform:uppercase;margin-top:4px}
.main-nav,.hub-nav{display:flex;gap:4px;flex-wrap:nowrap;align-items:center}
.main-nav{margin-left:4px}
.hub-nav{margin-left:4px}
.main-nav a,.hub-nav a{padding:6px 11px;border-radius:999px;color:#d9ccb0;font-weight:600;white-space:nowrap}
.hub-nav a{border:1px solid rgba(240,212,138,.45);color:#f0d48a}
.brand{flex:0 0 auto}
#catalog-open{white-space:nowrap;flex:0 0 auto}
.main-nav a:hover{color:#fff;background:rgba(255,255,255,.08)}
.main-nav a[aria-current],.hub-nav a[aria-current]{background:linear-gradient(135deg,#f0d48a,#c4923a);color:#1a1204;border-color:transparent}
.account-nav{margin-left:auto;display:flex;align-items:center;gap:8px}
.site-header .linkish{color:#d9ccb0}
.account-nav .me{font-weight:700;padding:6px 12px;border-radius:999px;background:rgba(240,212,138,.12);color:#f0d48a;border:1px solid rgba(240,212,138,.4)}
.cat-row{display:flex;gap:8px;overflow-x:auto;padding:0 0 10px;scrollbar-width:none}
.cat-row::-webkit-scrollbar{display:none}
.chip{flex:0 0 auto;padding:6px 14px;border-radius:999px;background:rgba(255,255,255,.06);color:#e6d7b2;font-size:13px;font-weight:600}
.chip.on,.chip:hover{background:#c4923a;color:#1a1204}

/* hero：游戏头图轮播。每张幻灯片自带封面 + 压暗 + 文案，当前那张在文档流里撑高度，其余绝对定位叠在同一位置做交叉淡入淡出；
   「今日推荐」小卡和指示点固定在底部，不随幻灯片切换。无 JS 时第一张正常显示。 */
.hero{position:relative;overflow:hidden;background:#07080c;color:#f6e7c1;isolation:isolate}
.hero-slides{position:relative;z-index:0}
.hero-slide{position:absolute;inset:0;z-index:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .9s ease,visibility 0s linear .9s}
.hero-slide.on{position:relative;z-index:1;opacity:1;visibility:visible;pointer-events:auto;transition:opacity .9s ease,visibility 0s}
.hero-slide .hero-text{opacity:0;transform:translateY(10px);transition:opacity .6s ease,transform .6s ease}
.hero-slide.on .hero-text{opacity:1;transform:none;transition:opacity .7s ease .15s,transform .7s ease .15s}
/* 电脑：头图落在右侧面板完整显示（居中 cover），左侧留给文案；手机仍用上图下文。
   旧版 background-position:right 会把宽图裁成「只剩右边缘」，主体残缺。 */
.hero-bg{position:absolute;inset:0;z-index:0;background-size:cover;background-position:center center;background-repeat:no-repeat;background-color:#07080c}
.hero-shade{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(7,8,12,.4) 0%,rgba(7,8,12,0) 22%,rgba(7,8,12,0) 58%,rgba(7,8,12,.55) 84%,#07080c 100%),linear-gradient(90deg,#07080c 0%,#07080c 28%,rgba(7,8,12,.82) 40%,rgba(7,8,12,.35) 52%,transparent 68%)}
@media (min-width:1001px){
  .hero-bg{left:34%;right:0;top:0;bottom:0;background-position:center center;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 10%,#000 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 10%,#000 100%)}
  .hero-shade{background:linear-gradient(180deg,rgba(7,8,12,.35) 0%,transparent 20%,transparent 70%,rgba(7,8,12,.5) 88%,#07080c 100%),linear-gradient(90deg,#07080c 0%,#07080c 30%,rgba(7,8,12,.7) 38%,rgba(7,8,12,.2) 48%,transparent 58%)}
}
.hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;z-index:3;background:linear-gradient(90deg,transparent,rgba(240,212,138,.6) 30%,rgba(240,212,138,.6) 70%,transparent)}
.hero-inner{position:relative;z-index:2;display:flex;align-items:center;min-height:620px;padding:40px 0 228px}
.hero-text{width:min(600px,100%);min-width:0}
.eyebrow{color:#e2b657;letter-spacing:3px;font-size:12px;margin-bottom:14px}
.hero .eyebrow{letter-spacing:4px;font-size:13px;font-weight:700;margin-bottom:16px;display:flex;align-items:center;gap:10px}
.hero .eyebrow .badge{margin:0;letter-spacing:.4px}
.hero h1,.hero .hero-h1{font-size:clamp(48px,6.6vw,88px);font-weight:900;letter-spacing:3px;line-height:1.05;margin-bottom:14px;filter:drop-shadow(0 3px 14px rgba(0,0,0,.65));white-space:nowrap}
.hero-sub{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;font-size:20px;font-weight:600;color:#f6e7c1;margin-bottom:12px}
.hero-plays{font-style:normal;font-size:13px;font-weight:700;letter-spacing:.5px;color:#e2b657;padding-left:14px;border-left:1px solid rgba(240,212,138,.4)}
.hero .lead{font-size:16px;color:#cbbda6;max-width:460px;margin-bottom:28px;min-height:3.2em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:34px}
.hero .hero-cta{margin-bottom:0}
.hero .btn-lg{padding:14px 30px;font-size:16px;font-weight:800}
.hero .btn-ghost,body.portal .hero .btn-ghost{color:#f6e7c1;border-color:rgba(240,212,138,.6);background:rgba(7,8,12,.35)}
.hero .btn-ghost:hover{border-color:#e2b657;color:#f0d48a}
.hero-foot{position:absolute;left:0;right:0;bottom:30px;z-index:3;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;pointer-events:none}
.hero-foot>*{pointer-events:auto}
.hero-picks{max-width:100%;min-width:0}
.picks-title{font-size:12px;letter-spacing:3px;font-weight:700;color:#e2b657;margin-bottom:10px}
.picks-row{display:flex;gap:12px}
.pick{flex:0 0 152px;display:flex;flex-direction:column;gap:8px;padding:6px 6px 8px;border-radius:12px;background:rgba(22,18,12,.86);border:1px solid rgba(240,212,138,.28);color:#f6e7c1;transition:transform .15s,border-color .15s}
.pick:hover{transform:translateY(-4px);border-color:#e2b657}
.pick img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:8px;background:#14110c}
.pick span{font-size:13px;font-weight:700;padding:0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero-nav{display:flex;align-items:center;gap:14px;margin-bottom:8px;flex:0 0 auto}
.hero-dots{display:flex;align-items:center;gap:8px}
.hero-dot{width:8px;height:8px;padding:0;border:0;border-radius:999px;background:rgba(240,212,138,.35);cursor:pointer;transition:width .3s ease,background .3s ease}
.hero-dot:hover{background:rgba(240,212,138,.7)}
.hero-dot.on{width:28px;background:linear-gradient(90deg,#f0d48a,#c4923a)}
.hero-dot:focus-visible,.hero-arrow:focus-visible{outline:2px solid #e2b657;outline-offset:2px}
.hero-arrow{width:34px;height:34px;padding:0 0 3px;border-radius:50%;border:1px solid rgba(240,212,138,.55);background:rgba(7,8,12,.45);color:#f0d48a;font-size:22px;line-height:1;display:grid;place-items:center;transition:border-color .15s,background .15s}
.hero-arrow:hover{border-color:#e2b657;background:rgba(240,212,138,.14)}
@media (prefers-reduced-motion:reduce){
  .hero-slide,.hero-slide .hero-text,.hero-dot{transition:none}
}

/* sections */
.section{padding:44px 0}
.section-head{display:flex;align-items:baseline;gap:16px;margin-bottom:22px;flex-wrap:wrap}
.section-head h1,.section-head h2{font-size:26px}
.section-head p{color:var(--muted)}
.grid{display:grid;gap:18px}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.card{background:var(--card);border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column;transition:transform .18s,box-shadow .18s}
.card:hover{transform:translateY(-8px);box-shadow:0 16px 40px rgba(196,146,58,.28)}
.card-hit{display:flex;flex-direction:column;color:inherit;flex:1}
.card-actions{display:flex;gap:6px;padding:0 14px 14px}
.card-actions a{flex:1;text-align:center;font-size:12px;font-weight:700;padding:6px 4px;border-radius:999px;border:1px solid var(--line);color:var(--ink)}
.card-actions a{background:linear-gradient(135deg,#f0d48a,#c4923a);color:#1a1204;border-color:transparent}
.cover img{width:100%;aspect-ratio:16/10;object-fit:cover}
.card-body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:6px;flex:1}
.card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.card-top h3{font-size:17px}
.card-body p{color:var(--muted);font-size:13px;flex:1}
.card-meta{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted);margin-top:6px}
.play-cta{color:var(--p2);font-weight:700}
/* 游戏中心：只在 .wrap 内容区内自动滚动（不铺满整屏）。
   display:grid + minmax(0,1fr) 把轨道裁在栏宽内，避免 max-content 撑破页面。 */
.cat-marquee{display:grid;grid-template-columns:minmax(0,1fr);overflow:hidden;width:100%;max-width:100%;padding:4px 0 8px;min-width:0}
.cat-marquee-track{display:flex;width:max-content;gap:14px;will-change:transform;min-width:0}
@keyframes fyh-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.animate-marquee{animation:fyh-marquee 21s linear infinite}
.marquee-pausable:hover .animate-marquee{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){
  .animate-marquee{animation:none}
}
.cat-tile{position:relative;flex:0 0 auto;width:200px;aspect-ratio:3/4;border-radius:var(--r-lg);overflow:hidden;display:block;padding:0;background:#0a0c10;border:1px solid rgba(240,212,138,.28);color:#f6e7c1;transition:transform .18s,border-color .18s,box-shadow .18s}
.cat-tile:hover{transform:translateY(-4px);border-color:#e2b657;box-shadow:0 16px 34px rgba(196,146,58,.26)}
.cat-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.cat-tile:hover .cat-img{transform:scale(1.06)}
.cat-tile::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,6,4,0) 36%,rgba(8,6,4,.55) 64%,rgba(6,4,2,.94) 100%);pointer-events:none}
.cat-count{position:absolute;top:10px;left:10px;z-index:2;font-style:normal;font-size:11px;color:#e2b657;background:rgba(8,6,4,.66);border:1px solid rgba(240,212,138,.45);padding:3px 9px;border-radius:999px;backdrop-filter:blur(4px)}
.cat-overlay{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:14px 14px 16px;display:flex;flex-direction:column;gap:3px}
.cat-overlay strong{font-size:18px;letter-spacing:.5px;text-shadow:0 2px 10px rgba(0,0,0,.65)}
.cat-overlay span{font-size:12px;color:#daccb0;line-height:1.4;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-shadow:0 1px 6px rgba(0,0,0,.6)}
.how{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.how-item{background:rgba(22,18,12,.86);border:1px solid rgba(240,212,138,.28);border-radius:var(--r);padding:0 0 18px;display:flex;flex-direction:column;gap:8px;color:#f6e7c1;overflow:hidden}
.how-img{width:100%;aspect-ratio:3/2;object-fit:cover;background:#0a0c10}
.how-item strong,.how-item span{padding:0 16px}
.how-item strong{color:#e2b657;margin-top:4px}
.how-item span{color:#cbbda6;font-size:14px}
.page-banner{display:block;width:100%;aspect-ratio:8/3;object-fit:cover;border-radius:var(--r-lg);margin:0 0 22px;border:1px solid rgba(240,212,138,.28);background:#0a0c10}
.news-months{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}
.news-months a{padding:6px 12px;border-radius:999px;border:1px solid rgba(240,212,138,.35);color:#f6e7c1;font-size:13px}
.news-months a.on,.news-months a:hover{background:#c4923a;color:#1a1204;border-color:#c4923a}
.news-rows{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.news-row{display:grid;grid-template-columns:168px 1fr;gap:14px;align-items:center;padding:10px;border-radius:16px;background:rgba(22,18,12,.86);border:1px solid rgba(240,212,138,.28);color:#f6e7c1}
.news-row img{width:168px;height:105px;object-fit:cover;border-radius:10px;background:#14110c}
.news-row time{display:block;color:#b7a98a;font-size:12px}
.news-row strong{display:block;margin:4px 0;font-size:18px}
.news-row em{display:block;color:#cbbda6;font-style:normal;font-size:13px;line-height:1.5}
.news-pager{display:flex;gap:16px;align-items:center;justify-content:center;margin-top:22px;color:#f6e7c1}
.news-pager a{color:#f0d48a;font-weight:700}
.news-hero{width:100%;max-width:960px;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:18px;margin:16px 0 18px;border:1px solid rgba(240,212,138,.28)}
.news-prose h1{color:#f6e7c1;font-size:32px;margin-bottom:8px}
.news-lead{color:#cbbda6;margin-bottom:8px}
body.portal .news-prose p{color:#e7dcc6}
body.portal .news-prose .crumbs a{color:#f0d48a}
.news-list{list-style:none;margin:0;padding:0;background:#fff;border-radius:var(--r);box-shadow:var(--shadow)}
.news-list li{display:flex;gap:14px;align-items:baseline;padding:12px 16px;border-bottom:1px solid var(--line)}
.news-list li:last-child{border-bottom:0}
.news-list time{color:var(--muted);font-variant-numeric:tabular-nums;flex:0 0 auto}
.news-list a{font-weight:650}
.news-list a:hover{color:var(--p2)}
.news-cards{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.news-cards li{background:#fff;border-radius:var(--r);padding:18px 20px;box-shadow:var(--shadow)}
.news-cards time{color:var(--muted);font-size:13px}
.news-cards h2{font-size:20px;margin:6px 0}
.news-cards h2 a:hover{color:var(--p2)}
.news-cards p{color:var(--muted)}
.plain-list{margin:0 0 12px;padding-left:1.2em;color:#2b3a4d}
.plain-list li{margin:6px 0}
.odds{width:100%;border-collapse:collapse;background:#fff;border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow)}
.odds th,.odds td{padding:10px 12px;text-align:left;border-bottom:1px solid var(--line);font-size:14px}
.odds th{background:var(--soft);font-size:13px}
.chest-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:16px 0}
.chest-results{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;margin:12px 0 20px}
.loot{background:#fff;border-radius:14px;padding:12px;box-shadow:var(--shadow);border-top:4px solid var(--muted);display:flex;flex-direction:column;gap:4px;position:relative;overflow:hidden}
.loot.common{border-top-color:#8fa4bb}
.loot.rare{border-top-color:#3b82f6}
.loot.epic{border-top-color:#8b5cf6}
.loot.legend{border-top-color:#ff8a3d}
.loot strong{display:block}
.loot span{color:var(--muted);font-size:12px}
.loot-art{display:block;width:100%;aspect-ratio:4/3;border-radius:10px;margin:0 0 6px;background:
  radial-gradient(circle at 50% 40%,rgba(240,212,138,.45),transparent 55%),
  linear-gradient(160deg,#2a2112,#0a0c10);position:relative;box-shadow:inset 0 0 0 1px rgba(240,212,138,.28)}
.loot-art::before,.loot-art::after{content:"";position:absolute;inset:0;margin:auto}
.loot-skin .loot-art::before{width:42%;height:54%;top:22%;border-radius:8px 8px 4px 4px;background:linear-gradient(180deg,#e2b657,#8a6a32);box-shadow:0 0 16px rgba(226,182,87,.35)}
.loot-skin .loot-art::after{width:10%;height:28%;top:8%;background:#c4923a;border-radius:2px}
.loot-ticket .loot-art::before{width:58%;height:36%;border-radius:6px;background:repeating-linear-gradient(90deg,#f0d48a 0 8px,#c4923a 8px 12px);transform:rotate(-8deg)}
.loot-ticket .loot-art::after{width:18%;height:18%;border-radius:50%;border:3px solid #e2b657;background:transparent;top:28%}
.loot-title .loot-art::before{width:0;height:0;border-left:22px solid transparent;border-right:22px solid transparent;border-bottom:36px solid #e2b657;top:28%;filter:drop-shadow(0 0 8px rgba(226,182,87,.5))}
.loot-title .loot-art::after{width:28%;height:8%;top:62%;background:#f0d48a;border-radius:2px}
.loot.legend .loot-art{animation:loot-glow 1.6s ease-in-out infinite alternate}
@keyframes loot-glow{from{box-shadow:inset 0 0 0 1px rgba(240,212,138,.35),0 0 0 rgba(240,212,138,0)}to{box-shadow:inset 0 0 0 1px rgba(240,212,138,.7),0 0 18px rgba(226,182,87,.35)}}
.checkline{display:flex;gap:8px;align-items:flex-start;font-size:14px}
.empty{color:var(--muted);background:#fff;border:1px dashed var(--line);border-radius:var(--r);padding:28px;text-align:center}

/* game page */
.game-head{display:grid;grid-template-columns:420px 1fr;gap:34px;align-items:center}
.game-cover img{border-radius:var(--r-lg);box-shadow:var(--shadow-lg);aspect-ratio:16/10;object-fit:cover}
.crumbs{color:var(--muted);font-size:13px;margin-bottom:10px}
.game-info h1{font-size:36px;margin-bottom:8px}
.game-info .lead{font-size:17px;color:var(--muted);margin-bottom:16px}
.game-stats{display:flex;gap:18px;color:var(--muted);font-size:14px;margin-bottom:22px}
.game-actions{display:flex;gap:12px;flex-wrap:wrap}
.fav-btn.on{background:#fff4ec;border-color:var(--accent);color:#b4501a}
.hint{margin-top:14px;color:var(--muted);font-size:13px}
.hint a{color:#e2b657;font-weight:600}
.two-col{display:grid;grid-template-columns:1.4fr .8fr;gap:34px;align-items:start}
.prose h2{font-size:20px;margin:22px 0 8px}
.prose h2:first-child{margin-top:0}
.prose h1{font-size:32px;margin-bottom:8px}
.prose p{color:#cbbda6;margin-bottom:16px}
.prose.narrow{max-width:760px}
.board{background:#fff;border-radius:var(--r-lg);padding:20px 22px;box-shadow:var(--shadow)}
.board h2{font-size:18px;display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.board .more{font-size:13px;color:#e2b657;font-weight:600}
.rank-list{list-style:none;margin:0;padding:0}
.rank-list li{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}
.rank-list li:last-child{border-bottom:0}
.rank-list .no{width:26px;height:26px;border-radius:8px;background:var(--soft);display:grid;place-items:center;font-size:12px;font-weight:700;color:var(--muted)}
.rank-list li:nth-child(1) .no{background:#ffe8a3;color:#7a5200}
.rank-list li:nth-child(2) .no{background:#e6ecf3;color:#3e4c5c}
.rank-list li:nth-child(3) .no{background:#f6d9c3;color:#7a3f12}
.rank-list .score{font-weight:800;font-variant-numeric:tabular-nums}
.rank-full{background:#fff;border-radius:var(--r-lg);padding:8px 22px;box-shadow:var(--shadow)}
.rank-full li{grid-template-columns:40px 1fr auto auto;padding:12px 0}
.rank-full .rounds{color:var(--muted);font-size:13px}
.rank-head{display:flex;gap:18px;align-items:center;margin:18px 0}
.rank-head img{width:160px;border-radius:var(--r);aspect-ratio:16/10;object-fit:cover}
.rank-head h2{font-size:22px}
.rank-head a{color:#e2b657;font-weight:600}
.tabs{display:flex;gap:8px;flex-wrap:wrap}
.tab{padding:7px 14px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:13px;font-weight:600;color:var(--muted)}
.tab.on,.tab:hover{background:var(--ink);color:#fff;border-color:var(--ink)}

/* auth */
.auth{display:flex;justify-content:center}
.auth-card{background:#fff;border-radius:var(--r-lg);box-shadow:var(--shadow);padding:34px 32px;width:min(440px,100%)}
.auth-card h1{font-size:26px;margin-bottom:6px}
.auth-card .muted{margin-bottom:20px;font-size:14px}
.auth-card.center{text-align:center}
.form{display:flex;flex-direction:column;gap:14px}
.form label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--muted);font-weight:600}
.form input[type=text],.form input[type=tel],.form input[type=password],.form input[type=number]{padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fbfdff;color:var(--ink);font-size:15px;width:100%}
.form input:focus{outline:2px solid var(--p2);outline-offset:0;border-color:transparent}
.code-row{display:flex;gap:8px}
.code-row input{flex:1}
.code-row .btn{white-space:nowrap;border-radius:12px}
.check{flex-direction:row!important;align-items:flex-start;gap:8px!important;font-weight:400!important}
.check input{margin-top:4px}
.check a{color:#e2b657}
.form-msg{padding:10px 12px;border-radius:10px;background:#fdecec;color:var(--danger);font-size:14px}
.form-msg.ok{background:#e7f7ef;color:var(--ok)}
.ok-msg{color:var(--ok);margin-bottom:10px}
.auth-switch{margin-top:18px;font-size:14px;color:var(--muted);text-align:center}
.auth-switch a{color:#e2b657;font-weight:600}
.flashes{margin-top:16px}
.flashes p{background:#fff;border-left:4px solid var(--p1);padding:10px 14px;border-radius:10px;box-shadow:var(--shadow)}

/* user */
.user-head{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.avatar{width:64px;height:64px;border-radius:20px;background:linear-gradient(135deg,var(--p1),var(--p2));color:#fff;display:grid;place-items:center;font-size:28px;font-weight:800}
.user-head h1{font-size:26px}
.nick-form{margin-left:auto;display:flex;gap:8px}
.nick-form input{padding:10px 12px;border:1px solid var(--line);border-radius:12px}
.table{width:100%;border-collapse:collapse;background:#fff;border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow)}
.table th,.table td{padding:12px 14px;text-align:left;border-bottom:1px solid var(--line);font-size:14px;vertical-align:middle}
.table th{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.5px;background:var(--soft)}
.table .num{font-variant-numeric:tabular-nums;font-weight:700}
.table .tiny{width:70px;padding:6px;border:1px solid var(--line);border-radius:8px}
.plain-list{list-style:none;margin:0;padding:0;background:#fff;border-radius:var(--r);box-shadow:var(--shadow)}
.plain-list li{display:flex;justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--line);font-size:14px}
.plain-list li:last-child{border-bottom:0}
.stats{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.stats li{background:#fff;border-radius:var(--r);padding:18px;box-shadow:var(--shadow);display:flex;flex-direction:column}
.stats strong{font-size:28px}
.stats span{color:var(--muted);font-size:13px}

/* footer */
.site-footer{margin-top:40px;background:#0c0e14;border-top:1px solid rgba(240,212,138,.22);padding:36px 0 44px;color:#cbbda6;font-size:13px}
.foot-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:28px}
.foot-brand{display:flex;align-items:center;gap:8px;color:#f6e7c1;font-size:16px;margin-bottom:10px}
.foot-brand img{border-radius:8px}
.site-footer h2{font-size:13px;color:#e2b657;margin:0 0 8px;letter-spacing:1px}
.site-footer a{color:#e6d7b2}
.site-footer a:hover{color:#f0d48a}
.site-footer p{margin-bottom:4px}
.foot-k{color:#e2b657}
.foot-code,.nowrap{white-space:nowrap}
.foot-links{display:flex;flex-wrap:wrap;gap:8px 14px}
.site-footer div>h2:not(:first-child){margin-top:16px}

/* player：顶栏 + 舞台。舞台后面铺该游戏的封面（模糊、压暗、放大消边、暗角、底部融进 #07080c），游戏画布透明浮在上面。
   电脑端（≥1000px）三栏：左栏游戏说明，中间舞台占满高度，右栏排行榜与风币服务；窄屏只有顶栏 + 舞台。 */
body.player{background:#07080c;color:#efe7d6;height:100dvh;display:flex;flex-direction:column;overflow:hidden}
.player-bar{height:52px;display:flex;align-items:center;gap:12px;padding:0 10px 0 4px;background:#07080c;border-bottom:1px solid rgba(240,212,138,.35);flex:0 0 auto;position:relative;z-index:2}
.player-bar .back{width:40px;height:40px;display:grid;place-items:center;font-size:28px;line-height:1;color:#efe7d6;border-radius:10px}
.player-bar .back:hover{background:rgba(255,255,255,.08)}
.player-title{display:flex;flex-direction:column;line-height:1.15}
.player-title strong{font-size:15px}
.player-title span{font-size:11px;color:#b7a98a}
.player-score{margin-left:auto;display:flex;gap:14px;font-size:13px;color:#b7a98a}
.player-score b{color:#fff;font-size:16px;font-variant-numeric:tabular-nums}
.restart{width:40px;height:40px;border-radius:10px;border:1px solid rgba(240,212,138,.35);background:transparent;color:#efe7d6;font-size:20px}
.restart:hover{background:rgba(255,255,255,.08)}
.player-body{position:relative;flex:1;min-height:0;display:flex;align-items:stretch;isolation:isolate}
.player-backdrop{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;background:#07080c}
.player-backdrop i{position:absolute;inset:-40px;display:block;background-size:cover;background-position:50% 40%;background-repeat:no-repeat;filter:blur(28px) brightness(.38) saturate(.9);transform:scale(1.12)}
.player-backdrop::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 72% 64% at 50% 42%,rgba(7,8,12,0) 0%,rgba(7,8,12,.32) 62%,rgba(7,8,12,.78) 100%),linear-gradient(180deg,rgba(7,8,12,.35) 0%,rgba(7,8,12,0) 20%,rgba(7,8,12,0) 58%,rgba(7,8,12,.72) 88%,#07080c 100%)}
.player-stage{position:relative;z-index:1;flex:1;min-width:0;min-height:0}
.player-stage iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent}
.player-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#b7a98a;background:rgba(7,8,12,.55);pointer-events:none;transition:opacity .25s}
.player-loading.hide{opacity:0}
.spinner{width:36px;height:36px;border-radius:50%;border:3px solid rgba(240,212,138,.2);border-top-color:#e2b657;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.player-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(7,8,12,.72);backdrop-filter:blur(6px);padding:20px}
.player-overlay[hidden]{display:none}
.overlay-card{background:rgba(22,18,12,.96);border:1px solid rgba(240,212,138,.3);border-radius:24px;padding:30px 28px;width:min(400px,100%);text-align:center;box-shadow:0 24px 60px rgba(0,0,0,.55)}
.overlay-kicker{color:#b7a98a;letter-spacing:3px;font-size:12px;margin-bottom:8px}
.overlay-score{display:flex;align-items:baseline;justify-content:center;gap:6px;margin-bottom:8px}
.overlay-score b{font-size:56px;line-height:1;background:linear-gradient(90deg,#fff6df,#e2b657);-webkit-background-clip:text;background-clip:text;color:transparent}
.overlay-score span{color:#b7a98a}
.overlay-sub{color:#e6d7b2;min-height:24px;margin-bottom:20px}
.overlay-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.overlay-actions .btn-ghost{color:#f6e7c1;border-color:rgba(240,212,138,.55)}
.overlay-login{margin-top:18px;font-size:13px;color:#b7a98a}
.overlay-login a{color:#e2b657;font-weight:600}
/* 电脑端侧栏（窄屏不显示） */
.player-side{display:none}
.side-card{background:rgba(22,18,12,.78);border:1px solid rgba(240,212,138,.28);border-radius:16px;padding:16px 18px;color:#efe7d6;backdrop-filter:blur(12px);flex:0 0 auto}
.side-card h3{font-size:12px;letter-spacing:3px;font-weight:700;color:#e2b657;margin:0 0 8px}
.side-card p{color:#cbbda6;font-size:13.5px;line-height:1.75}
.side-card p a{color:#e2b657;font-weight:600}
.side-head h2{font-size:22px;color:#f6e7c1;margin:8px 0 4px;letter-spacing:1px}
.side-cat{display:flex;align-items:center;gap:8px}
.side-cat .badge{margin:0}
body.player .pill{background:rgba(240,212,138,.12);color:#f0d48a}
.side-tag{color:#cbbda6}
.side-best{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px}
.side-best h3{margin:0}
.side-best b{font-size:24px;color:#f0d48a;font-variant-numeric:tabular-nums;line-height:1}
.side-best p{flex-basis:100%;font-size:13px}
body.player .board{box-shadow:none}
body.player .board h2{color:#f6e7c1;font-size:16px;margin-bottom:10px}
body.player .rank-list li{border-bottom-color:rgba(240,212,138,.16);padding:8px 0}
body.player .rank-list .no{background:rgba(240,212,138,.1);color:#cbbda6}
body.player .rank-list li:nth-child(1) .no{background:linear-gradient(135deg,#f6e7c1,#c4923a);color:#1a1204}
body.player .rank-list li:nth-child(2) .no{background:linear-gradient(135deg,#ececf0,#a9adb8);color:#2b2f3a}
body.player .rank-list li:nth-child(3) .no{background:linear-gradient(135deg,#e2b088,#9c5f33);color:#2a1406}
body.player .rank-list .name{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.player .rank-list .name.vip{color:#f0d48a}
body.player .rank-list .score{color:#f6e7c1}
body.player .empty{background:transparent;border:1px dashed rgba(240,212,138,.4);color:#cbbda6;padding:18px 12px;font-size:13px}
.side-shop a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;margin-top:8px;border-radius:12px;border:1px solid rgba(240,212,138,.3);color:#f6e7c1;font-size:14px;font-weight:700;transition:border-color .15s,background .15s}
.side-shop a span{font-size:12px;color:#e2b657;font-weight:600;white-space:nowrap}
.side-shop a:hover{border-color:#e2b657;background:rgba(240,212,138,.08)}
@media (min-width:1000px){
  .player-body{gap:14px;padding:14px}
  .player-side{display:flex;flex-direction:column;gap:12px;flex:0 0 268px;min-height:0;overflow-y:auto;position:relative;z-index:1;scrollbar-width:thin;scrollbar-color:rgba(240,212,138,.35) transparent}
  .player-side-r{padding-bottom:64px}
}
@media (min-width:1280px){
  .player-side{flex-basis:300px}
}
.overlay-revive{margin:0 0 14px}
.overlay-revive[hidden]{display:none}
.btn-revive{width:100%;background:linear-gradient(135deg,#f0d48a,#c4923a);color:#1a1204;border:0;font-weight:800}
.btn-revive:disabled{opacity:.6}
.overlay-revive-msg{min-height:18px;margin:8px 0 0;font-size:13px;color:#ffd166}
.overlay-revive-msg a{color:#e2b657;font-weight:600}
.rank-list .name.vip{color:#b8860b;font-weight:700}
.vip-badge{display:inline-block;font-style:normal;font-size:10px;line-height:1;padding:3px 6px;margin-left:6px;border-radius:999px;background:linear-gradient(135deg,#f0d48a,#c4923a);color:#1a1204;vertical-align:middle;font-weight:700}

@media (max-width:1000px){
  .grid-4{grid-template-columns:repeat(3,1fr)}
  .how{grid-template-columns:repeat(2,1fr)}
  /* 头图改为上图下文：封面在上，文字落在深色底上；指示点居中，推荐卡横向滚动 */
  .hero{--img-h:min(80vw,520px)}
  .hero-bg{bottom:auto;height:var(--img-h);background-position:center top}
  .hero-shade{background:linear-gradient(180deg,rgba(7,8,12,.3) 0,rgba(7,8,12,0) 18%,rgba(7,8,12,0) calc(var(--img-h) - 260px),rgba(7,8,12,.6) calc(var(--img-h) - 150px),rgba(7,8,12,.96) calc(var(--img-h) - 50px),#07080c var(--img-h))}
  .hero-inner{display:block;min-height:0;padding:calc(var(--img-h) - 80px) 0 0}
  .hero-text{width:auto;min-height:270px}
  .hero-foot{position:static;flex-direction:column;align-items:stretch;gap:18px;padding:22px 0 26px}
  .hero-nav{order:-1;justify-content:center;margin:0}
  .hero-picks{width:100%}
  .picks-row{overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;scrollbar-width:none}
  .picks-row::-webkit-scrollbar{display:none}
  .pick{flex-basis:150px;scroll-snap-align:start}
  .section.vip-band{margin-top:40px}
  .game-head{grid-template-columns:1fr}
  .two-col{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr 1fr}
  .stats{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:640px){
  body{font-size:14px}
  .header-row{height:auto;flex-wrap:wrap;align-items:center;padding:8px 0;gap:8px}
  .head-links{display:flex;order:5;flex:1 0 100%;width:100%;overflow-x:auto;flex-wrap:nowrap;gap:6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .head-links::-webkit-scrollbar{display:none}
  .head-links .main-nav,.head-links .hub-nav{width:auto;margin:0;flex:0 0 auto}
  #catalog-open{flex:0 0 auto}
  .brand-en{display:none}
  .grid-3,.grid-4{grid-template-columns:repeat(2,1fr)}
  .cat-tile{width:150px}
  .cat-overlay strong{font-size:16px}
  .how{grid-template-columns:1fr}
  .section{padding:30px 0}
  .card-body{padding:10px 12px 12px}
  .card-top h3{font-size:15px}
  .game-info h1{font-size:28px}
  .hero h1,.hero .hero-h1{font-size:clamp(36px,10.5vw,48px);letter-spacing:1px}
  .hero-sub{font-size:17px;gap:10px}
  .hero .lead{font-size:14px;margin-bottom:20px}
  .hero .hero-cta{gap:10px}
  .hero .btn-lg{padding:12px 22px;font-size:15px}
  .hero-text{min-height:250px}
  .hero-arrow{display:none}
  .pick{flex-basis:140px}
  .section.vip-band{margin-top:30px}
  .vip-band-body{flex-direction:column;align-items:flex-start}
  .page-banner{aspect-ratio:16/7;margin-bottom:16px}
  .foot-grid{grid-template-columns:1fr}
  .stats{grid-template-columns:repeat(2,1fr)}
  .nick-form{margin-left:0;width:100%}
  .nick-form input{flex:1}
  .player-score{gap:8px;font-size:12px}
  .player-title span{display:none}
  .desk-page{padding-top:18px}
  .desk-page h1{font-size:28px}
}
@media (max-width:1000px){
  body.player .float-sdk{top:58px;right:8px;bottom:auto}
}

body.portal{background:#07080c;color:#efe7d6;overflow-x:clip}
.hero h1,.hero .hero-h1,body.portal .hero h1,body.portal .hero .hero-h1{background:linear-gradient(90deg,#fff6df 0%,#f0d48a 45%,#e2b657 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
body.portal .section-head h1,body.portal .section-head h2,body.portal .desk-page h1{color:#f6e7c1}
.cover{background:#14110c}
body.portal .section-head p,body.portal .lead{color:#cbbda6}
.tab-bar{display:flex;gap:6px;margin-bottom:10px;flex-wrap:wrap}
.tab-bar button{background:transparent;border:1px solid rgba(240,212,138,.3);color:#f6e7c1;border-radius:999px;padding:4px 10px;font-size:12px}
.tab-bar button.on{background:#c4923a;color:#1a1204;border-color:#c4923a}
.tab-panel p{color:#e6d7b2;font-size:13px;margin-bottom:8px}
.tab-panel a{color:#f0d48a;font-weight:700}
.vip-band{position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:56px;padding:0;border-radius:22px;overflow:hidden;border:1px solid rgba(240,212,138,.35);color:#f6e7c1;min-height:148px;background:#120e08}
.vip-band-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}
.vip-band-body{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;padding:22px 24px;background:linear-gradient(90deg,rgba(10,8,4,.88) 0%,rgba(10,8,4,.55) 55%,rgba(10,8,4,.25) 100%)}
.vip-band p{color:#cbbda6;margin-top:6px}
.desk-page{padding-top:36px}
.desk-page .eyebrow{letter-spacing:3px;color:#e2b657;font-size:12px}
.desk-page h1{font-size:40px;margin:8px 0 12px}
.vip-grid{margin:22px 0}
.catalog{position:fixed;inset:0;z-index:40;background:rgba(0,0,0,.55);display:flex;justify-content:flex-end}
.catalog[hidden]{display:none}
.catalog-panel{width:min(640px,100%);height:100%;overflow:auto;background:rgba(12,14,18,.94);color:#f6e7c1;padding:24px;backdrop-filter:blur(18px)}
.catalog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.catalog-group{margin-bottom:18px}
.catalog-group h3{font-size:14px;letter-spacing:2px;color:#e2b657;margin-bottom:8px}
.catalog-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.catalog-grid a{padding:12px;border-radius:12px;background:rgba(255,255,255,.05);border:1px solid rgba(240,212,138,.18)}
.float-sdk{position:fixed;right:16px;bottom:16px;z-index:30;display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.float-sdk button,.float-sdk a{background:rgba(12,14,18,.9);color:#f6e7c1;border:1px solid rgba(240,212,138,.4);border-radius:999px;padding:10px 14px;font-weight:700}
.float-sdk div{display:flex;flex-direction:column;gap:6px}
.float-sdk div[hidden]{display:none}
body.portal .card{background:rgba(22,18,12,.86);border:1px solid rgba(240,212,138,.28);color:#f6e7c1;box-shadow:none}
body.portal .card-body p,body.portal .card .muted{color:#cbbda6}
body.portal .pill{background:rgba(240,212,138,.12);color:#f0d48a}
body.portal .play-cta{color:#e2b657}
body.portal .news-list{background:rgba(22,18,12,.86);border:1px solid rgba(240,212,138,.28);box-shadow:none}
body.portal .news-list li{border-bottom-color:rgba(240,212,138,.16)}
body.portal .news-list time{color:#b7a98a}
body.portal .news-list a{color:#f6e7c1}
body.portal .news-list a:hover{color:#f0d48a}
.btn-line{background:transparent;border:1px solid rgba(240,212,138,.55);color:#efe7d6;border-radius:999px}
.flag-banner{display:grid;grid-template-columns:minmax(240px,420px) 1fr;gap:28px;align-items:center;padding:16px;border-radius:22px;background:rgba(22,18,12,.86);border:1px solid rgba(240,212,138,.35);color:#f6e7c1}
.flag-banner img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:14px;background:#14110c}
.flag-banner h2{font-size:32px;margin:6px 0 8px;color:#f6e7c1}
.flag-banner p{color:#cbbda6}
.flag-banner .btn{margin-top:16px}
.news-lines{list-style:none;margin:0;padding:0}
.news-lines a{display:grid;grid-template-columns:110px minmax(180px,1fr) minmax(0,1.4fr);gap:16px;align-items:baseline;padding:14px 4px;border-bottom:1px solid rgba(240,212,138,.18);color:#efe7d6}
.news-lines a:hover{background:rgba(240,212,138,.06)}
.news-lines time{color:#e2b657;font-family:Consolas,Menlo,monospace;font-size:13px}
.news-lines strong{font-size:16px;color:#f6e7c1}
.news-lines em{font-style:normal;color:#cbbda6;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.back-news{margin-top:28px}
.back-news a{display:inline-flex;padding:8px 16px;border-radius:999px;border:1px solid rgba(240,212,138,.55);color:#f0d48a}
.mail{color:#e2b657}
.co-lines{margin:8px 0 16px}
.co-lines div{display:grid;grid-template-columns:88px 1fr;gap:12px;padding:6px 0}
.co-lines dt{color:#e2b657}
.co-lines dd{margin:0;color:#cbbda6}
.vip-layout{display:grid;grid-template-columns:1.4fr .8fr;gap:16px;margin:22px 0}
.vip-side{display:grid;gap:16px}
.gift-hero{margin:8px 0 16px;border-color:#e2b657}
.gift-row,.gift-note{margin-top:16px}
.grid-2{grid-template-columns:1fr 1fr}
body.portal .auth-card{background:rgba(22,18,12,.92);border:1px solid rgba(240,212,138,.35);color:#f6e7c1;box-shadow:none}
body.portal .form input[type=text],body.portal .form input[type=tel],body.portal .form input[type=password],body.portal .form input[type=number]{background:#120f0c;border:1px solid rgba(240,212,138,.35);color:#f6e7c1}
body.portal .form input:focus{outline:2px solid #e2b657;border-color:transparent}
body.portal .board,body.portal .rank-full,body.portal .table,body.portal .odds{background:rgba(22,18,12,.86);border:1px solid rgba(240,212,138,.28);color:#f6e7c1;box-shadow:none}
body.portal .odds th,body.portal .table th{background:transparent;color:#e2b657}
body.portal .odds td,body.portal .odds th,body.portal .table td,body.portal .table th{border-bottom-color:rgba(240,212,138,.18)}
body.portal .empty{background:transparent;border:1px dashed rgba(240,212,138,.4);color:#efe7d6}
body.portal .tab{background:transparent;border:1px solid rgba(240,212,138,.45);color:#f0d48a}
body.portal .tab.on,body.portal .tab:hover{background:linear-gradient(135deg,#f0d48a,#c4923a);color:#1a1204;border-color:transparent}
body.portal .rank-list li{border-bottom-color:rgba(240,212,138,.18)}
body.portal .prose h2,body.portal .news-prose h2{color:#f6e7c1}
body.portal .prose .plain-list,body.portal .news-prose .plain-list{background:transparent;box-shadow:none;padding:0;list-style:none}
body.portal .prose .plain-list li,body.portal .news-prose .plain-list li{display:block;padding:12px 14px;margin:8px 0;border:0;border-left:2px solid #e2b657;border-radius:0 10px 10px 0;background:rgba(22,18,12,.86);color:#efe7d6}
body.portal .loot{background:#1a140c;color:#e7d3a1;box-shadow:none;border:1px solid rgba(240,212,138,.28);border-top-width:4px}
body.portal .loot.common{border-top-color:#8a6a32}
body.portal .loot.rare{border-top-color:#e2b657;color:#f6e7c1}
body.portal .loot.epic{border-top-color:#f6e7c1;color:#fff6df}
body.portal .loot.legend{background:linear-gradient(135deg,#f0d48a,#c4923a);color:#1a1204;border-top-color:#1a1204}
body.portal .loot span{color:inherit;opacity:.8}
body.portal .btn-ghost{border-color:rgba(240,212,138,.55);color:#efe7d6;background:transparent}
body.portal .section-head a{color:#e2b657;font-weight:700}
.tier-show .tier-hot{grid-column:span 2;border-color:#e2b657}

/* 卡片顶部色带 + 贴纸式角标。思路来自软新粗野主义建议，颜色收进黑金体系：三种暖金轮换，角标金底深褐描边加硬阴影 */
body.portal .card,.how-item{border-top-width:6px;border-top-style:solid;border-top-color:#f0c860}
body.portal .grid>.card:nth-child(3n+2),.how>.how-item:nth-child(3n+2){border-top-color:#d9a441}
body.portal .grid>.card:nth-child(3n),.how>.how-item:nth-child(3n){border-top-color:#b5782c}
.pick{border-top-width:3px;border-top-style:solid;border-top-color:#d9a441}
.gift-hero,.vip-main{border-top-color:#f0d48a}
.badge{padding:2px 9px;font-size:11px;line-height:1.3;background:#e2b657;color:#1a1204;border:1.5px solid #1a1204;box-shadow:0 3px 0 #6b4a16;vertical-align:middle;margin-bottom:2px}
.tier-show .tier-hot .badge{position:absolute;top:10px;right:12px;margin:0}
.tier-show .tier-hot{position:relative}
.brand-name,.account-nav .linkish,.account-nav .me,.account-nav .btn{white-space:nowrap}
@media(max-width:1400px){.brand-en{display:none}}
@media(max-width:1180px) and (min-width:641px){
  .header-row{height:auto;flex-wrap:wrap;padding:8px 0;row-gap:6px}
  .head-links{flex:1 0 100%;order:5;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
  .head-links::-webkit-scrollbar{display:none}
}
@media(max-width:800px){
  .news-lines a{grid-template-columns:1fr;gap:2px}
  .news-lines em{white-space:normal}
  .flag-banner,.vip-layout{grid-template-columns:1fr}
  .foot-code{white-space:normal}
}

/* 站内登录 / 注册弹层（黑金，所有页面共用，含游戏页） */
.am{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(5,6,9,.74);backdrop-filter:blur(6px)}
.am[hidden]{display:none}
body.am-open{overflow:hidden}
.am-panel{position:relative;width:min(420px,100%);max-height:calc(100dvh - 32px);overflow:auto;background:linear-gradient(180deg,rgba(28,22,14,.98),rgba(14,12,9,.98));border:1px solid rgba(240,212,138,.38);border-radius:22px;padding:26px 24px 22px;color:#f6e7c1;box-shadow:0 24px 70px rgba(0,0,0,.6)}
.am-title{font-size:22px;color:#f6e7c1;margin-bottom:14px}
.am-close{position:absolute;top:10px;right:12px;width:34px;height:34px;border-radius:50%;border:1px solid rgba(240,212,138,.3);background:transparent;color:#efe7d6;font-size:22px;line-height:1;padding:0}
.am-close:hover{background:rgba(240,212,138,.12)}
.am-tabs{display:flex;gap:8px;margin-bottom:12px}
.am-tab{flex:1;padding:8px 0;border-radius:999px;border:1px solid rgba(240,212,138,.4);background:transparent;color:#f0d48a;font-weight:700}
.am-tab.on{background:linear-gradient(135deg,#f0d48a,#c4923a);color:#1a1204;border-color:transparent}
.am-lead{font-size:13px;color:#b7a98a;margin-bottom:14px}
.am-form{display:flex;flex-direction:column;gap:12px}
.am-form[hidden]{display:none}
.am-form label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:#cbbda6}
.am-form input[type=text],.am-form input[type=tel],.am-form input[type=password]{width:100%;padding:12px 14px;border-radius:12px;border:1px solid rgba(240,212,138,.35);background:#120f0c;color:#f6e7c1;font-size:15px}
.am-form input::placeholder{color:#7d7360}
.am-form input:focus{outline:2px solid #e2b657;outline-offset:0;border-color:transparent}
.am-code{display:flex;gap:8px}
.am-code input{flex:1;min-width:0}
.am-code .btn{white-space:nowrap;border-radius:12px;padding:10px 12px;font-size:13px}
.am-check{flex-direction:row!important;align-items:flex-start;gap:8px!important;font-weight:400!important;font-size:12.5px!important}
.am-check input{margin-top:3px;accent-color:#e2b657}
.am-check a{color:#e2b657}
.am-msg{padding:9px 12px;border-radius:10px;background:rgba(217,58,58,.16);color:#ff9d93;font-size:13.5px}
.am-msg.ok{background:rgba(30,157,106,.18);color:#7fe0b4}
.am-msg[hidden]{display:none}
.am-switch{text-align:center;font-size:13px;color:#b7a98a}
.am-link{background:none;border:0;padding:0 2px;color:#e2b657;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.am .btn-primary:disabled{opacity:.6;cursor:default}
@media(max-width:600px){
  .am{align-items:flex-end;padding:0}
  .am-panel{width:100%;max-height:92dvh;border-radius:22px 22px 0 0;padding-bottom:calc(22px + env(safe-area-inset-bottom))}
}

/* 微信内置浏览器引导：提示点右上角 ··· 用默认浏览器打开（深底金线，与站内一致） */
.wx-tip{position:fixed;inset:0;z-index:120;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(5,6,9,.9);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.wx-tip[hidden]{display:none}
body.wx-tip-open{overflow:hidden}
.wx-tip-point{position:absolute;top:max(8px,env(safe-area-inset-top));right:14px;display:flex;flex-direction:column;align-items:flex-end;gap:2px;pointer-events:none}
.wx-tip-dots{font-size:30px;font-weight:900;line-height:1;color:#f6e7c1;letter-spacing:1px;text-shadow:0 1px 6px rgba(0,0,0,.6)}
.wx-tip-arrow{margin-right:14px;filter:drop-shadow(0 2px 6px rgba(0,0,0,.5));animation:wxTipBob 1.4s ease-in-out infinite}
@keyframes wxTipBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.wx-tip-card{position:relative;width:min(380px,100%);margin-top:132px;padding:28px 24px 24px;border-radius:20px;background:linear-gradient(180deg,rgba(26,21,13,.98),rgba(16,13,8,.98));border:1px solid rgba(240,212,138,.4);box-shadow:0 20px 60px rgba(0,0,0,.6);text-align:center;color:#f6e7c1}
.wx-tip-badge{width:52px;height:52px;margin:0 auto 14px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:linear-gradient(135deg,#f0d48a,#c4923a);color:#1a1204;font-size:26px;font-weight:900;letter-spacing:1px;box-shadow:0 6px 18px rgba(196,146,58,.4)}
.wx-tip-card h2{font-size:19px;font-weight:800;color:#f0d48a;margin-bottom:12px}
.wx-tip-step{font-size:15px;line-height:1.7;color:#f6e7c1;margin-bottom:10px}
.wx-tip-step b{color:#f0d48a;font-weight:800}
.wx-tip-note{font-size:13px;line-height:1.7;color:#b7a98a;margin-bottom:20px}
.wx-tip-ok{width:100%;padding:12px;font-size:16px;font-weight:800}
@media(max-width:600px){
  .wx-tip-card{margin-top:124px}
}
