/* themeCreditReset20261031a */
*{box-sizing:border-box}body{margin:0;min-height:100vh;font:14px/1.5 "Microsoft YaHei",system-ui,sans-serif;color:#e8eef5;background:#0b1410}
.wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:radial-gradient(1200px 600px at 50% -10%,#1a3d2e 0%,#0b1410 55%)}
.card{width:min(420px,100%);background:rgba(16,28,22,.92);border:1px solid rgba(212,175,55,.35);border-radius:16px;padding:28px 24px 22px;box-shadow:0 20px 60px rgba(0,0,0,.45)}
h1{margin:0 0 18px;text-align:center;font-size:28px;letter-spacing:.35em;margin-left:.35em;color:#f3e6b0;font-weight:800}
.lines{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}
.line{appearance:none;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.04);color:#dfe8e2;border-radius:12px;padding:14px 10px;cursor:pointer;font-weight:700}
.line.on{border-color:#d4af37;background:linear-gradient(180deg,#1f4a36,#143226);color:#ffe9a6;box-shadow:0 0 0 1px rgba(212,175,55,.25) inset}
.field{display:flex;gap:8px;align-items:center;margin:10px 0;background:rgba(0,0,0,.25);border:1px solid rgba(255,255,255,.12);border-radius:10px;padding:10px 12px}
.field input{flex:1;border:0;outline:0;background:transparent;color:#fff;font-size:15px}
.btn{width:100%;margin-top:14px;border:0;border-radius:12px;padding:12px;font-size:16px;font-weight:800;cursor:pointer;color:#1a1408;background:linear-gradient(180deg,#f0d78c,#d4af37)}
.toast{display:none;position:fixed;left:50%;bottom:28px;transform:translateX(-50%);background:#0a5;color:#fff;padding:10px 14px;border-radius:8px;z-index:9}


/* ===== 用戶協議與規則 ===== */
.agreeWrap{position:fixed;inset:0;z-index:10050;display:flex;align-items:center;justify-content:center;
  background:rgba(20,28,36,.55);padding:16px;box-sizing:border-box;overflow:auto}
.agreePanel{width:min(92vw,720px);max-height:min(92vh,860px);display:flex;flex-direction:column;
  background:#f2f2f2;border:1px solid #9ab;border-radius:4px;box-shadow:0 12px 40px rgba(0,0,0,.35);
  font-family:"Microsoft YaHei","PingFang TC",Arial,sans-serif;color:#222}
.agreeHd{flex:0 0 auto;text-align:center;padding:12px 16px;background:#fff;border-bottom:2px solid #2a6bb5;
  font-size:20px;font-weight:800;color:#1a5aa0;letter-spacing:2px}
.agreeBody{flex:1 1 auto;overflow:auto;padding:14px 18px 8px;background:#fff;line-height:1.75;font-size:14px}
.agreeBody ol{margin:0;padding-left:1.6em}
.agreeBody li{margin:0 0 8px}
.agreeTip{margin:14px 0 6px;padding:10px 12px;background:#e8f2ff;border:1px solid #b7d0ef;border-radius:3px}
.agreeTip h4{margin:0 0 6px;color:#c00;font-size:14px}
.agreeTip p{margin:0;color:#333;font-size:13px;line-height:1.6}
.agreeFt{flex:0 0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;
  padding:12px 16px;background:#e8e8e8;border-top:1px solid #ccc}
.agreeFt .agreeAsk{color:#c00;font-weight:700;font-size:14px;margin-right:8px}
.agreeFt .btnA,.agreeFt .btnD{min-width:96px;height:36px;border:1px solid #888;border-radius:3px;cursor:pointer;
  font-size:14px;font-weight:700;padding:0 18px}
.agreeFt .btnA{background:linear-gradient(#fff,#dfe8f5);color:#163a6b;border-color:#4a70a0}
.agreeFt .btnD{background:linear-gradient(#fff,#eee);color:#444}
.agreeFt .btnA:hover{filter:brightness(1.05)}
.agreeFt .btnD:hover{filter:brightness(.97)}
@media (max-width:480px){
  .agreeHd{font-size:17px;padding:10px}
  .agreeBody{font-size:13px;padding:10px 12px}
  .agreeFt{gap:8px}
  .agreeFt .agreeAsk{width:100%;text-align:center;margin:0 0 4px}
}



/* brandSealTerms20261031a shore + mobile harden */
body.shoreBody{margin:0;min-height:100vh;background:#0b1220;overflow:hidden}
.shoreScene{position:relative;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;text-align:center;overflow:hidden;color:#f0d9a0}
.shoreGlow{position:absolute;inset:-20%;background:radial-gradient(ellipse 55% 40% at 50% 38%,rgba(212,176,106,.18),transparent 70%),radial-gradient(ellipse 80% 50% at 50% 100%,rgba(40,70,120,.35),transparent 65%);pointer-events:none;animation:shoreBreathe 8s ease-in-out infinite}
@keyframes shoreBreathe{0%,100%{opacity:.85;transform:scale(1)}50%{opacity:1;transform:scale(1.03)}}
.shoreHorizon{position:absolute;left:0;right:0;bottom:18%;height:1px;background:linear-gradient(90deg,transparent,rgba(240,217,160,.12),#d4b06a,rgba(240,217,160,.12),transparent);opacity:.55}
.shoreWave{position:absolute;left:-10%;right:-10%;bottom:8%;height:80px;opacity:.22;background:radial-gradient(ellipse 40% 60% at 20% 50%,#d4b06a,transparent),radial-gradient(ellipse 35% 55% at 55% 60%,#f0d9a0,transparent);filter:blur(18px);animation:shoreDrift 12s ease-in-out infinite}
@keyframes shoreDrift{0%,100%{transform:translateX(0)}50%{transform:translateX(3%)}}
.shoreBrand{position:relative;z-index:2;font-size:13px;letter-spacing:.35em;color:rgba(240,217,160,.55);margin-bottom:28px;font-weight:600}
.shoreMsg{position:relative;z-index:2;font-size:clamp(26px,6.5vw,44px);font-weight:700;letter-spacing:.28em;line-height:1.55;color:#f0d9a0;text-shadow:0 0 40px rgba(212,176,106,.25);animation:shoreFade 1.2s ease both}
@keyframes shoreFade{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
.shoreSub{position:relative;z-index:2;margin-top:22px;font-size:13px;letter-spacing:.18em;color:rgba(240,217,160,.42)}
.shoreDot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#d4b06a;margin:0 10px 2px;opacity:.7;box-shadow:0 0 12px #d4b06a}
@media (max-width:820px){
  html,body{overflow-x:hidden;max-width:100vw}
  .loginWrap .lgBtn,.agreeFt .btnA,.agreeFt .btnD{min-height:44px;min-width:96px;font-size:15px}
  .agreePanel{width:min(96vw,720px);max-height:min(88vh,860px)}
  .agreeBody{font-size:13px;-webkit-overflow-scrolling:touch}
  .agreeAsk input{min-width:18px;min-height:18px}
  .top .btn,button.btn,button.lgBtn{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
}


/* themeCreditReset20261031a: 永利澳门=绿金（默认）；html.line-hk 时切蓝紫 */
html.line-macau body, body.line-macau { /* default greens already */ }
html.line-hk body, body.line-hk {
  color:#1a1840 !important;
  background:#e8ecf8 !important;
}
html.line-hk .top, body.line-hk .top {
  background:linear-gradient(120deg,#1a2058,#3d2f8a 55%,#2a1a6e) !important;
  box-shadow:0 2px 10px rgba(20,16,60,.28) !important;
}
html.line-hk .top h1, body.line-hk .top h1 {
  text-shadow:0 0 8px rgba(180,170,255,.55) !important;
}
html.line-hk .topMeta b, html.line-hk .top .cd, body.line-hk .topMeta b, body.line-hk .top .cd { color:#d4c6ff !important; }
html.line-hk .infoTable, body.line-hk .infoTable { border-color:#3d2f8a !important; }
html.line-hk .infoTable .title td, body.line-hk .infoTable .title td { background:#3d2f8a !important; }
html.line-hk .main, body.line-hk .main { border-color:#3d2f8a !important; }
html.line-hk .navRow, body.line-hk .navRow { background:#eef0fa !important; border-bottom-color:#c5cae8 !important; }
html.line-hk .navRow a, html.line-hk .navRow span.nav, body.line-hk .navRow a, body.line-hk .navRow span.nav {
  border-color:#c5cae8 !important; color:#2a2860 !important;
}
html.line-hk .navRow .on, body.line-hk .navRow .on { background:#3d2f8a !important; color:#fff !important; }
html.line-hk .tabRow, body.line-hk .tabRow { border-bottom-color:#3d2f8a !important; }
html.line-hk .tabRow .t, body.line-hk .tabRow .t {
  border-color:#3d2f8a !important; color:#1a2058 !important; background:#eef0fa !important;
}
html.line-hk .tabRow .t.on, body.line-hk .tabRow .t.on { background:#3d2f8a !important; color:#fff !important; }
html.line-hk .hd, body.line-hk .hd { background:linear-gradient(#5b4db8,#3d2f8a) !important; }
html.line-hk .btn, body.line-hk .btn { background:#3d2f8a !important; }
html.line-hk .btn.gold, body.line-hk .btn.gold { background:linear-gradient(180deg,#c4b0ff,#6a5acd) !important; color:#12082a !important; }
html.line-hk table.list th, body.line-hk table.list th { background:#e8eaf8 !important; color:#1a2058 !important; }
html.line-hk .subBtn, body.line-hk .subBtn { border-color:#3d2f8a !important; background:#eef0fa !important; color:#1a2058 !important; }
html.line-hk .subBtn.on, body.line-hk .subBtn.on { background:#3d2f8a !important; color:#fff !important; }
html.line-hk .menuTabBorder, body.line-hk .menuTabBorder { border-color:#3d2f8a !important; }
html.line-hk .tabA, body.line-hk .tabA { background:#3d2f8a !important; }
html.line-hk .tab, body.line-hk .tab { background:#e8eaf8 !important; color:#1a2058 !important; border-color:#3d2f8a !important; }
html.line-hk .betTable th, body.line-hk .betTable th { background:#e8eaf8 !important; color:#1a2058 !important; border-color:#c5cae8 !important; }
html.line-hk .toast, body.line-hk .toast { background:#4a3a9a !important; }
html.line-hk a, body.line-hk a { color:#4a3a9a !important; }
/* login theme-hk → 蓝紫（原红金改为蓝紫，与澳绿金一眼可分） */
.loginWrap.theme-hk { --accent:#b8a8ff; --jade:#1a2058; --jade2:#3d2f8a; background:#0a0c1a; }
.theme-hk .lgMesh {
  background:
    radial-gradient(90% 60% at 50% -10%,rgba(180,170,255,.22),transparent 55%),
    radial-gradient(50% 40% at 20% 85%,rgba(61,47,138,.35),transparent 60%),
    linear-gradient(165deg,#0a0c1a 0%,#1a1840 45%,#0c0e22 100%) !important;
}
.theme-hk .loginCard {
  border-color:rgba(180,170,255,.45) !important;
  background:linear-gradient(165deg,rgba(26,32,88,.94),rgba(12,14,34,.97)) !important;
}
.theme-hk .lgBtn {
  color:#f4f0ff !important;
  background:linear-gradient(180deg,#9a8cff,#3d2f8a 60%,#1a2058) !important;
  box-shadow:0 10px 24px rgba(40,30,120,.5),inset 0 1px 0 rgba(255,255,255,.25) !important;
}
.lineCard.hk.on {
  background:linear-gradient(145deg,rgba(61,47,138,.55),rgba(18,16,48,.88)) !important;
  border-color:rgba(180,170,255,.7) !important;
}
.lineCard.hk .lcIc { background:linear-gradient(160deg,#d4c6ff,#3d2f8a) !important; color:#fff !important; }
.lineBadge {
  display:inline-block;margin-left:8px;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.06em;vertical-align:middle;
}
html.line-macau .lineBadge, body.line-macau .lineBadge { background:rgba(212,168,75,.25); color:#ffe9a8; border:1px solid rgba(212,168,75,.5); }
html.line-hk .lineBadge, body.line-hk .lineBadge { background:rgba(180,170,255,.28); color:#e8e0ff; border:1px solid rgba(180,170,255,.55); }
/* themeCreditReset20261031a end */
