/* ===========================================================
   奕渊新框架 · 外壳样式（源自 evolution 模板，2026-11-08 本地化）
   布局：悬浮胶囊顶栏 + 二级导航条 + 左导航 + 中间内容 + 右投注单
   =========================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: #030a20;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 流光 */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(100, 150, 255, .08) 50%, transparent 100%);
    animation: lightFlow 4s linear infinite;
    pointer-events: none;
    z-index: 1;
}
@keyframes lightFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ---------- 顶栏 ---------- */
.header {
    position: fixed;
    top: 10px;
    left: 250px;
    right: 250px;
    width: auto;
    height: 52px;
    background: var(--ao-bg2,#1a2d5c);
    border: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 32%,#12141a);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 100;
}

/* 顶栏 logo：左侧粉色手写字标（云朵已去掉） */
.header-left { flex: 0 0 auto; }
.header-logo { display: flex; align-items: center; text-decoration: none; }
.header-logo .logo-img { height: 25px; width: auto; display: block; }
.header-right { margin-left: auto; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 16px;
}
.logo-cloud { width: 38px; height: 30px; display: block; flex: 0 0 auto; }
.logo-img { height: 26px; width: auto; display: block; }
.logo-text span { display: block; font-size: 11px; font-weight: 400; opacity: .65; letter-spacing: 2px; margin-top: 1px; }
.logo-text { font-size: 18px; font-weight: 900; line-height: 1.2; }
.logo-text span { display: block; font-size: 12px; font-weight: 400; opacity: .7; }

.header-right { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; }

/* 登录后的紧凑胶囊（代理中心 / 用户名 / 退出） */
.acc-pill {
    padding: 8px 14px; border-radius: 20px; background: var(--ao-bg2,#13224e);
    border: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 32%,#12141a); color: #dfe6fb; font-size: 12.5px;
    font-weight: 700; text-decoration: none; white-space: nowrap;
}
.acc-pill:hover { border-color: var(--ao-accent,#ffd700); color: var(--ao-accent,#ffd700); }
.acc-pill.hot { background: linear-gradient(90deg, #ff4d8d, #ff7a45); border: none; color: #fff; }
.acc-pill.hot:hover { color: #fff; opacity: .92; }

/* 顶栏个人资料：头像 + 用户名 + 下拉 */
.prof-wrap { position: relative; }
.prof-btn {
    display: flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px;
    background: var(--ao-bg2,#13224e); border: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 32%,#12141a); border-radius: 22px;
    color: #dfe6fb; cursor: pointer; font-family: inherit;
}
.prof-btn:hover { border-color: var(--ao-accent,#ffd700); }
.prof-av {
    width: 28px; height: 28px; border-radius: 50%; flex: 0 0 28px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #7a5cff, #ff6b81);
    color: #fff; font-size: 13px; font-weight: 900;
}
.prof-meta { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.prof-meta b { font-size: 12px; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prof-meta i { font-style: normal; font-size: 9.5px; color: #8fa0cc; letter-spacing: .06em; }
.prof-caret { font-size: 10px; color: #8fa0cc; }
.prof-panel {
    position: absolute; right: 0; top: calc(100% + 8px); width: 190px;
    background: #0c1a3a; border: 1px solid #1f3462; border-radius: 12px; padding: 6px;
    display: none; z-index: 1500; box-shadow: 0 14px 34px rgba(0,0,0,.55);
}
.prof-panel.on { display: block; }
.prof-item {
    display: flex; align-items: center; width: 100%; box-sizing: border-box;
    padding: 9px 12px; border-radius: 8px; color: #dfe6fb; text-decoration: none;
    font-size: 12.5px; font-family: inherit; background: none; border: none;
    cursor: pointer; text-align: left;
}
.prof-item:hover { background: #16264d; color: var(--ao-accent,#ffd700); }
.prof-dep { color: var(--ao-accent,#ffd700); }
.prof-panel .prof-item:last-child { border-top: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 24%,#12141a); margin-top: 4px; color: #ff8aa1; }

/* ---------- 充值窗口 ---------- */
.dep-open { cursor: pointer; font-family: inherit; }
.dep-modal { position: fixed; inset: 0; z-index: 900; display: flex; align-items: flex-start;
    justify-content: center; overflow-y: auto; padding: 20px 0; }
.dep-modal[hidden] { display: none; }
.dep-mask { position: absolute; inset: 0; background: rgba(3, 10, 32, .72); backdrop-filter: blur(3px); }
.dep-card {
    position: relative; margin: auto; width: min(420px, calc(100vw - 40px));
    background: var(--ao-bg2,#101d42); border: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 32%,#12141a); border-radius: 16px;
    padding: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
    color: #dfe6fb; font-size: 13px;
    animation: depIn .18s ease-out;
}
@keyframes depIn { from { transform: translateY(10px); opacity: .7; } to { transform: none; opacity: 1; } }
.dep-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.dep-head h3 { font-size: 16px; font-weight: 900; }
.dep-x {
    width: 28px; height: 28px; border-radius: 50%; border: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 32%,#12141a);
    background: transparent; color: #aab6d6; font-size: 16px; cursor: pointer;
}
.dep-x:hover { border-color: var(--ao-accent,#ffd700); color: var(--ao-accent,#ffd700); }
.dep-bal {
    background: var(--ao-bg2,#13224e); border: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 24%,#12141a); border-radius: 10px;
    padding: 10px 12px; font-size: 12px; color: #8fa0cc;
}
.dep-bal b { color: var(--ao-accent,#ffd700); font-size: 15px; margin-left: 6px; }
.dep-quick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 12px 0; }
.dep-chip {
    padding: 9px 0; border-radius: 10px; border: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 32%,#12141a);
    background: var(--ao-bg2,#13224e); color: #dfe6fb; font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.dep-chip.is-on, .dep-chip:hover { border-color: var(--ao-accent,#ffd700); color: var(--ao-accent,#ffd700); }
.dep-field { display: block; margin-bottom: 12px; color: #8fa0cc; font-size: 12px; }
.dep-field input {
    display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border-radius: 10px;
    border: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 32%,#12141a); background: var(--ao-bg,#0b1430); color: #fff; font-size: 14px; outline: none;
}
.dep-field input:focus { border-color: var(--ao-accent,#ffd700); }
.dep-methods { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.dep-method {
    flex: 1; min-width: 140px; padding: 9px 10px; border-radius: 10px; font-size: 12px;
    border: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 32%,#12141a); background: transparent; color: #aab6d6; cursor: pointer;
}
.dep-method.is-on { border-color: #2ed573; color: #2ed573; }
.dep-method[disabled] { opacity: .45; cursor: not-allowed; }
.dep-note { font-size: 11px; color: #8fa0cc; line-height: 1.7; margin-bottom: 14px; }
.dep-actions { display: flex; gap: 10px; }
.dep-submit {
    flex: 1; padding: 11px 0; border: none; border-radius: 10px; cursor: pointer;
    background: linear-gradient(90deg, var(--ao-accent,#ffd700), #ff9f1a); color: #131b3a; font-size: 13.5px; font-weight: 900;
}
.dep-submit[disabled] { opacity: .7; cursor: wait; }
.dep-cancel {
    padding: 11px 18px; border-radius: 10px; border: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 32%,#12141a);
    background: transparent; color: #aab6d6; font-size: 13px; cursor: pointer;
}
.dep-result { margin-top: 12px; padding: 10px 12px; border-radius: 10px; font-size: 12px; line-height: 1.7; }
.dep-result.ok { background: rgba(46, 213, 115, .12); border: 1px solid rgba(46, 213, 115, .4); color: #8ef0b0; }
.dep-result.err { background: rgba(255, 71, 87, .12); border: 1px solid rgba(255, 71, 87, .4); color: #ff9aa4; }

/* 真实通道：页签与订单卡 */
.dep-tabs { display: flex; gap: 6px; margin: 12px 0 10px; }
.dep-tab {
    flex: 1; padding: 8px 0; border-radius: 9px; border: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 32%,#12141a);
    background: transparent; color: #aab6d6; font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.dep-tab.is-on { background: var(--ao-bg3,#1b2b5a); border-color: var(--ao-accent,#ffd700); color: #fff; }
.dep-order {
    margin-top: 12px; padding: 12px; border-radius: 12px;
    background: var(--ao-bg,#0d1836); border: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 32%,#12141a);
}
.dep-order .ord-title { font-size: 13px; font-weight: 800; color: #dfe6fb; margin-bottom: 8px; }
.dep-order .ord-title b { color: var(--ao-accent,#ffd700); letter-spacing: .5px; }
.dep-order .ord-row {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    font-size: 12px; color: #8fa0cc; margin-bottom: 6px;
}
.dep-order .ord-row > span { min-width: 64px; }
.dep-order .ord-row b { color: #2ed573; font-size: 13px; }
.dep-order .ord-row code {
    flex: 1; min-width: 180px; word-break: break-all; font-size: 11.5px; color: #dfe6fb; background: #06102a;
    padding: 6px 8px; border-radius: 8px; border: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 24%,#12141a);
}
.dep-mini {
    padding: 5px 10px; border-radius: 8px; border: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 32%,#12141a);
    background: transparent; color: #aab6d6; font-size: 11px; cursor: pointer;
}
.dep-mini:hover { border-color: var(--ao-accent,#ffd700); color: var(--ao-accent,#ffd700); }
.dep-order .ord-note { font-size: 11px; color: #8fa0cc; line-height: 1.7; margin: 8px 0 10px; }
.dep-order .ord-note b { color: var(--ao-accent,#ffd700); }
.dep-order .ord-pay { font-size: 12px; color: #8fa0cc; margin-bottom: 8px; }
.dep-order .ord-pay b { color: #2ed573; font-size: 15px; margin-left: 6px; }
.dep-order .ord-qr {
    display: block; width: 190px; max-width: 100%; margin: 6px auto 10px;
    border-radius: 12px; border: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 32%,#12141a); background: #fff;
}

.btn-login {
    padding: 7px 16px; background: transparent; border: none; color: #fff;
    cursor: pointer; font-weight: 600; font-size: 14.5px; text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    white-space: nowrap; flex: 0 0 auto;
}
.btn-login::before { content: '\21AA'; font-size: 15px; }

.btn-forgot {
    padding: 8px 12px; color: #8fa0cc; font-size: 13px; text-decoration: none;
    border-bottom: 1px dashed rgba(143, 160, 204, .45); transition: color .15s;
    white-space: nowrap; flex: 0 0 auto;
}
.btn-forgot:hover { color: var(--ao-accent,#ffd700); border-bottom-color: var(--ao-accent,#ffd700); }

.btn-register {
    padding: 6px 16px; border-radius: 50px;
    background: linear-gradient(90deg, #ff4d8d, #ff7a45);
    border: none; color: #fff; cursor: pointer; font-weight: 700; font-size: 13px;
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
    white-space: nowrap; flex: 0 0 auto;
}
.btn-register::before { content: '\21AA'; font-size: 13px; }

/* ---------- 二级导航 ---------- */
.sub-nav {
    position: fixed;
    top: 71px;
    left: 239px;
    right: 232px;
    height: 42px;
    background: var(--ao-bg2,#13224e);
    border: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 24%,#12141a);
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 18px;
    z-index: 99;
    overflow-x: auto;
    scrollbar-width: none;
    transition: left .3s ease, right .3s ease;
}
.sub-nav::-webkit-scrollbar { display: none; }
/* 主功能条右侧：忘记密码 + 语言切换，滚动时钉在右边 */
.sub-nav-right {
    margin-left: auto; position: sticky; right: 0;
    display: flex; align-items: center; gap: 12px;
    background: var(--ao-bg2,#13224e); padding-left: 16px;
}
.sub-nav-right .lang-wrap { margin-left: 0; }
.sub-nav-right .lang-btn { padding: 5px 9px; font-size: 12px; }
.sub-forgot { color: #9fb3de; font-size: 13px; }
.sub-forgot:hover { color: var(--ao-accent,#ffd700); }
/* 导航条里的原版彩色图标（礼物盒 / 皇冠） */
.nav-ico { width: 16px; height: 16px; display: block; object-fit: contain; }
.sub-nav-item {
    display: flex; align-items: center; gap: 6px;
    color: #cbd9f6; cursor: pointer; font-size: 14px; white-space: nowrap;
    text-decoration: none;
}
.sub-nav-item:hover { color: #fff; }
.sub-nav-item.active { color: #fff; }
.live-tag {
    background: #ff4757; color: #fff; font-size: 10px;
    padding: 2px 6px; border-radius: 4px; font-weight: 700;
}

/* ---------- 左导航 ---------- */
.sidebar {
    position: fixed; top: 10px; left: 6px; bottom: 20px; width: 238px;
    background: var(--ao-bg2,#13224e); border: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 24%,#12141a);
    padding: 10px 0; overflow-y: auto; overflow-x: hidden;
    z-index: 98; scrollbar-width: none; transition: width .3s;
}
.sidebar::-webkit-scrollbar { display: none; }
.sidebar.collapsed { width: 62px; }
.sidebar.collapsed .side-label,
.sidebar.collapsed .side-group-label,
.sidebar.collapsed .side-divider { display: none; }
.sidebar.collapsed .side-item { justify-content: center; margin: 0 6px; }

/* 侧栏顶部：收缩按钮 + CASINO / SPORTS 切换 */
.side-topbar { display: flex; align-items: center; gap: 8px; padding: 2px 8px 10px; }
.side-menu-btn {
    flex: 0 0 38px; width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: color-mix(in srgb,var(--ao-accent,#ffd700) 24%,#12141a); border: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 32%,#12141a); border-radius: 10px;
    color: #cfd8f5; cursor: pointer; font-size: 15px; user-select: none;
    transition: border-color .15s, color .15s;
}
.side-menu-btn:hover { border-color: var(--ao-accent,#ffd700); color: #fff; }
.seg-switch {
    flex: 1; display: flex; background: var(--ao-bg,#0b1430);
    border: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 32%,#12141a); border-radius: 10px; overflow: hidden;
}
.seg-item {
    flex: 1; text-align: center; padding: 10px 4px;
    font-size: 11.5px; font-weight: 800; letter-spacing: .03em;
    color: #8fa0cc; text-decoration: none; white-space: nowrap;
    transition: color .15s;
}
.seg-item:hover { color: #fff; }
.seg-item.on { background: linear-gradient(90deg, #ff5a6e, #ff8a5b); color: #fff; }
.sidebar.collapsed .seg-switch { display: none; }
.sidebar.collapsed .side-topbar { padding: 2px 6px 8px; justify-content: center; }

.sidebar-toggle {
    position: fixed; top: 115px; left: 155px; width: 20px; height: 20px;
    background: color-mix(in srgb,var(--ao-accent,#ffd700) 24%,#12141a); border: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 32%,#12141a); border-left: none;
    border-radius: 0 8px 0 0; display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 97; transition: left .3s; font-size: 12px;
}
.sidebar-toggle.collapsed { left: 81px; }

.side-item {
    display: flex; align-items: center; gap: 8px;
    padding: 10px; margin: 0 6px; border-radius: 8px;
    cursor: pointer; color: #999; transition: all .2s;
}
.side-item:hover { background: color-mix(in srgb,var(--ao-accent,#ffd700) 20%,transparent); color: #fff; }
.side-item.active { background: var(--ao-accent,#ffd700); color: #fff; }
.side-item a { text-decoration: none; color: inherit; display: flex; align-items: center; width: 100%; gap: 8px; }
.side-icon { font-size: 18px; width: 24px; text-align: center; }
.side-icon img { width: 22px; height: 22px; }
.side-icon .si { width: 22px; height: 22px; display: block; margin: 0 auto; stroke: #78a6ff; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .85; transition: stroke .2s, opacity .2s; }
.side-item:hover .side-icon .si, .side-item.active .side-icon .si { stroke: #dbeaff; opacity: 1; }
/* 分组标题里的小地球等图标 */
.side-group .si-sm, .si-sm {
    width: 14px; height: 14px; display: inline-block; vertical-align: -2px;
    stroke: #78a6ff; fill: none; stroke-width: 1.6;
    stroke-linecap: round; stroke-linejoin: round; margin-right: 5px;
}
.side-label { font-size: 14px; }
.side-divider { height: 1px; background: #2a2a2e; margin: 12px 10px; }
.side-group-label {
    text-align: center; font-size: 10px; color: #666;
    margin: 8px 0; text-transform: uppercase; letter-spacing: .08em;
}

/* ---------- 右投注单 ---------- */
.right-sidebar {
    position: fixed; top: 10px; right: 20px; bottom: 20px; width: 210px;
    background: var(--ao-bg2,#13224e); border: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 24%,#12141a);
    padding: 10px 0; overflow-y: auto; overflow-x: hidden;
    z-index: 97; scrollbar-width: none; transition: width .3s ease, transform .3s ease;
}
.right-sidebar::-webkit-scrollbar { display: none; }
.right-sidebar.collapsed { width: 0; border: none; transform: translateX(230px); }
.right-sidebar-title {
    padding: 12px 16px; font-size: 16px; font-weight: 900;
    border-bottom: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 24%,#12141a); margin-bottom: 10px;
}
.right-sidebar-toggle {
    position: fixed; right: 20px; top: 50%; transform: translateY(-50%);
    width: 24px; height: 60px; background: color-mix(in srgb,var(--ao-accent,#ffd700) 24%,#12141a); border: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 32%,#12141a);
    border-right: none; border-radius: 8px 0 0 8px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 98; color: var(--ao-accent,#ffd700); font-size: 16px; transition: all .3s ease;
}
.right-sidebar-toggle.collapsed { right: 0; }

/* ---------- 主内容 ---------- */
.main {
    margin-left: 251px; margin-right: 240px; margin-top: 128px;
    transition: margin .3s ease; padding: 20px 20px 40px;
}

.hero-banner {
    width: 100%; height: 220px; border-radius: 12px; margin-bottom: 20px;
    background: linear-gradient(90deg, var(--ao-bg2,#13224e) 0%, #1a3a7a 100%);
    position: relative; overflow: hidden; display: flex; align-items: center; padding: 0 40px;
}
.hero-banner img { position: absolute; right: 20px; bottom: 0; height: 90%; }
.hero-banner-text { position: relative; z-index: 2; }
.hero-banner h2 {
    font-size: 32px; font-weight: 800; margin-bottom: 8px;
    background: linear-gradient(90deg, #ff6b6b, #ffa500);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-banner p { font-size: 16px; color: rgba(255, 255, 255, .8); margin-bottom: 16px; }
.hero-banner button {
    background: linear-gradient(90deg, #ff4757, #ff6b81); color: #fff;
    border: none; padding: 12px 32px; border-radius: 24px;
    font-size: 16px; font-weight: 600; cursor: pointer;
}

.three-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.card {
    height: 140px; background: var(--ao-bg2,#13224e); border-radius: 12px;
    position: relative; overflow: hidden; display: flex; align-items: flex-end;
    padding: 16px; cursor: pointer; transition: transform .2s;
}
.card:hover { transform: translateY(-4px); }
.card img { position: absolute; right: 0; bottom: 0; height: 100%; }
.card-title { position: relative; z-index: 2; font-size: 16px; font-weight: 700; }

.inplay-title { font-size: 20px; font-weight: 900; margin-bottom: 16px; }

.match-list { display: flex; flex-direction: column; gap: 12px; }
.match-item { min-height: 80px; background: var(--ao-bg2,#13224e); border-radius: 12px; }
.match-row {
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; padding: 14px 20px;
}
.match-meta { font-size: 11px; color: #8fa0cc; font-weight: 700; margin-bottom: 4px; }
.match-meta.live { color: #ff4757; }
.match-teams { font-weight: 600; font-size: 15px; }
.match-score { color: #ff4757; margin: 0 8px; font-size: 18px; font-weight: 700; }
.match-vs { color: #8fa0cc; margin: 0 8px; }
.odds { display: flex; gap: 8px; }
.odd {
    background: #0f1838; padding: 8px 14px; border-radius: 8px;
    text-align: center; cursor: pointer; min-width: 62px; transition: background .15s;
}
.odd:hover { background: #1b2a56; }
.odd b { display: block; color: var(--ao-accent,#ffd700); font-weight: 700; font-size: 14px; }
.odd i { display: block; font-style: normal; font-size: 10px; color: #8fa0cc; }

/* 投注单内部 */
.bet-card {
    background: #0f1838; border-radius: 8px; padding: 12px;
    margin-bottom: 10px; font-size: 12px;
}
.bet-card .bet-match { color: #fff; font-weight: 600; margin-bottom: 4px; }
.bet-card .bet-pick { color: var(--ao-accent,#ffd700); }
.bet-input-label { display: block; font-size: 11px; color: #8fa0cc; margin-bottom: 6px; }
.bet-input {
    width: 100%; padding: 10px; border-radius: 8px;
    background: #0f1838; border: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 24%,#12141a); color: #fff; box-sizing: border-box;
}
.bet-total {
    display: flex; justify-content: space-between; padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; margin-bottom: 12px;
}
.bet-total span:first-child { color: #8fa0cc; }
.bet-total span:last-child { color: var(--ao-accent,#ffd700); font-weight: 700; }
.bet-submit {
    width: 100%; padding: 14px; border-radius: 10px; border: none;
    background: linear-gradient(135deg, var(--ao-accent,#ffd700) 0%, var(--ao-accent2,#ffb800) 100%);
    color: #131b3a; font-weight: 700; cursor: pointer;
}

.promo-cta {
    display: inline-block; padding: 9px 18px; border-radius: 20px;
    background: linear-gradient(90deg, #ff4d8d, #ff7a45); color: #fff;
    font-size: 12.5px; font-weight: 700; text-decoration: none; border: none; cursor: pointer;
}

@media (max-width: 980px) {
    .sidebar { display: none; }
    .sidebar-toggle { display: none; }
    .header { left: 10px; right: 10px; }
    .sub-nav { left: 20px; right: 20px; }
    .main { margin-left: 20px; margin-right: 20px; }
}
@media (max-width: 900px) {
    .right-sidebar, .right-sidebar-toggle { display: none; }
    .main { margin-right: 20px; }
    .three-cards { grid-template-columns: 1fr; }
}

/* 窄屏：登录后的顶栏胶囊收窄，避免挤出屏幕 */
@media (max-width: 1100px) {
    .header-right { gap: 6px; }
    .acc-pill { padding: 6px 10px; font-size: 11.5px; border-radius: 14px; }
    .acc-name { max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .acc-hide-sm { display: none; }
}
@media (max-width: 760px) {
    .logo-text { font-size: 15px; }
    .acc-pill { padding: 5px 8px; font-size: 11px; }
    .acc-name { max-width: 64px; }
    .lang-btn { padding: 5px 8px; }
    .lang-cur { display: none; }   /* 窄屏只留国旗 + 箭头 */
}
@media (max-width: 620px) {
    .header-right .dep-open { display: none; }   /* 手机上顶栏只留用户名 / 退出 / 语言 */
}

/* ---- 站点页脚：小图标 ---- */
.site-foot {
    margin: 26px 0 34px; padding-top: 18px; border-top: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 24%,#12141a);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.foot-icons { display: flex; gap: 10px; }
.foot-ico {
    width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--ao-bg2,#13224e); border: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 24%,#12141a); transition: background .15s, transform .15s;
}
.foot-ico svg { width: 17px; height: 17px; fill: #9fb3de; transition: fill .15s; }
.foot-ico:hover { transform: translateY(-2px); }
.foot-ico.tg { background: #229ed9; border-color: #229ed9; }
.foot-ico.tg svg { fill: #fff; }
.foot-ico.mail { background: #f0a52f; border-color: #f0a52f; }
.foot-ico.mail svg { fill: #16213f; }
.foot-ico.chat { background: #3a56a8; border-color: #3a56a8; }
.foot-ico.chat svg { fill: #fff; }
.foot-ico.tg:hover { background: #36b4ef; border-color: #36b4ef; }
.foot-ico.mail:hover { background: #ffc155; border-color: #ffc155; }
.foot-ico.chat:hover { background: #4a68c2; border-color: #4a68c2; }
.foot-note {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
    font-size: 11.5px; color: #7f90bb;
}
.foot-note a { color: #8fa0cc; text-decoration: none; }
.foot-note a:hover { color: var(--ao-accent,#ffd700); }
.foot-sep { color: #3a4a76; }
/* ---- 浮动客服气泡 + 留言面板 ---- */
.chat-bubble {
    position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%;
    background: var(--ao-accent,#ffd700); display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 1580; box-shadow: 0 6px 20px rgba(0,0,0,.45);
    transition: transform .15s, box-shadow .15s;
}
.chat-bubble svg { width: 26px; height: 26px; fill: #16213f; }
.chat-bubble:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 24px rgba(255,215,0,.3); }
.chat-bubble.hidden { opacity: 0; pointer-events: none; transform: scale(.85); }

.chat-mask {
    position: fixed; inset: 0; background: rgba(4, 10, 26, .55);
    opacity: 0; pointer-events: none; transition: opacity .18s; z-index: 1600;
}
.chat-mask.on { opacity: 1; pointer-events: auto; }

.chat-panel {
    position: fixed; top: 0; right: 0; height: 100vh; width: 420px; max-width: 92vw;
    background: #0c1a3a; border-left: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 24%,#12141a); z-index: 1620;
    transform: translateX(100%); transition: transform .22s ease;
    display: flex; flex-direction: column; overflow: hidden;
    box-shadow: -12px 0 30px rgba(0,0,0,.45);
}
.chat-panel.on { transform: translateX(0); }
.chat-head {
    padding: 16px 18px; border-bottom: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 24%,#12141a);
    display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.chat-head b { font-size: 15px; color: #fff; display: block; margin-bottom: 4px; }
.chat-sub { font-size: 11.5px; color: #8fa0cc; line-height: 1.6; }
.chat-close {
    background: none; border: 0; color: #9fb3de; font-size: 18px; cursor: pointer; line-height: 1; padding: 2px 4px;
}
.chat-close:hover { color: var(--ao-accent,#ffd700); }
.chat-body { padding: 16px 18px 24px; overflow-y: auto; flex: 1; }
.chat-hours { font-size: 11.5px; color: #8fa0cc; line-height: 1.7; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid #16305c; }
.chat-field { display: block; margin-bottom: 16px; }
.chat-field span, .chat-field { font-size: 12px; color: #c9d6f5; }
.chat-field input, .chat-field textarea {
    display: block; width: 100%; margin-top: 6px; background: transparent; border: 0;
    border-bottom: 1px solid #24406f; color: #e8eeff; font-size: 13px; padding: 8px 0; outline: none;
    font-family: inherit; resize: vertical;
}
.chat-field input:focus, .chat-field textarea:focus { border-bottom-color: var(--ao-accent,#ffd700); }
.chat-field textarea { border: 1px solid #24406f; border-radius: 8px; padding: 10px; margin-top: 8px; }
.chat-send {
    width: 100%; padding: 11px; border: 0; border-radius: 8px; cursor: pointer;
    background: var(--ao-accent,#ffd700); color: #16213f; font-weight: 800; font-size: 14px;
}
.chat-send:hover { background: #ffe14d; }
.chat-hint { font-size: 12px; margin-top: 10px; min-height: 16px; color: #8fa0cc; }
.chat-hint.ok { color: #7ce38b; }
.chat-hint.bad { color: #ff8f8f; }
.chat-alt { margin-top: 20px; padding-top: 14px; border-top: 1px solid #16305c; font-size: 12px; color: #8fa0cc; line-height: 1.9; }
.chat-alt a { color: #8fd3ff; text-decoration: none; }
.chat-alt a:hover { color: var(--ao-accent,#ffd700); }
.chat-alt span { margin: 0 4px; }
/* ---- 语言切换 ---- */
.lang-wrap { position: relative; margin-left: 10px; }
.lang-btn {
    display: flex; align-items: center; gap: 6px; padding: 6px 10px; cursor: pointer;
    background: var(--ao-bg2,#13224e); border: 1px solid #22345f; border-radius: 8px; color: #dfe6fb;
    font-size: 12px; font-weight: 700; font-family: inherit;
}
.lang-btn:hover { border-color: var(--ao-accent,#ffd700); }
.lang-caret { font-size: 10px; color: #8fa0cc; }
.lang-panel {
    position: absolute; right: 0; top: calc(100% + 8px); width: 230px;
    background: #0c1a3a; border: 1px solid #1f3462; border-radius: 10px;
    padding: 6px; display: none; z-index: 1500; box-shadow: 0 12px 30px rgba(0,0,0,.5);
}
.lang-panel.on { display: block; }
.lang-item {
    display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 6px;
    color: #dfe6fb; text-decoration: none; font-size: 12.5px;
}
.lang-item:hover { background: #16264d; }
.lang-item.on { background: #22376b; color: var(--ao-accent,#ffd700); }
.flag {
    width: 20px; height: 14px; border-radius: 3px; display: inline-block; flex: 0 0 20px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.flag-cn { background: #de2910; position: relative; }
.flag-cn::after { content: ""; position: absolute; left: 3px; top: 3px; width: 5px; height: 5px; border-radius: 50%; background: #ffde00; }
.flag-gb { background:
    linear-gradient(to bottom right, transparent 44%, #fff 44% 56%, transparent 56%),
    linear-gradient(to bottom left, transparent 44%, #fff 44% 56%, transparent 56%),
    linear-gradient(to bottom, transparent 32%, #fff 32% 68%, transparent 68%),
    linear-gradient(to right, transparent 40%, #fff 40% 60%, transparent 60%),
    #012169; }
.flag-gb::after { content: ""; }
.flag-it { background: linear-gradient(90deg, #009246 0 33.3%, #fff 33.3% 66.6%, #ce2b37 66.6% 100%); }
.flag-de { background: linear-gradient(#000 0 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6% 100%); }
.flag-es { background: linear-gradient(#c60b1e 0 25%, #ffc400 25% 75%, #c60b1e 75% 100%); }
.flag-pt { background: linear-gradient(90deg, #006600 0 40%, #ff0000 40% 100%); position: relative; }
.flag-pt::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #ffcc00; }
.flag-ru { background: linear-gradient(#fff 0 33.3%, #0039a6 33.3% 66.6%, #d52b1e 66.6% 100%); }
/* ============ 登录 / 注册 · 站内弹窗（不是全屏） ============ */
.auth-modal { position: fixed; inset: 0; z-index: 9000; display: none; align-items: center; justify-content: center;
  background: rgba(4, 8, 20, .58); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); padding: 20px; }
.auth-modal.show { display: flex; }
.auth-win { position: relative; width: 400px; max-width: 92vw; max-height: 86vh; overflow-y: auto;
  background: linear-gradient(180deg, #131d38 0%, #0a1224 100%);
  border: 1px solid rgba(255, 215, 0, .3); border-radius: 16px; padding: 18px 20px 20px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .78), 0 0 50px rgba(255, 180, 60, .12); }
.auth-x { position: absolute; top: 10px; right: 12px; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); border: none; color: #9fb0d5; font-size: 13px; cursor: pointer; }
.auth-x:hover { background: rgba(255, 215, 0, .22); color: #fff; }
.auth-tabs { display: flex; gap: 6px; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.auth-tab { flex: 1; padding: 9px 0; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04); color: #9fb0d5; font-size: 13px; cursor: pointer; }
.auth-tab.on { background: linear-gradient(90deg, #ff9a3c, #ff6b81); border-color: transparent; color: #fff; font-weight: 700; }
.auth-pane { display: none; }
.auth-pane.on { display: block; }
.auth-f { display: block; margin-bottom: 12px; font-size: 12px; color: #a9b8da; letter-spacing: .5px; }
.auth-f input { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .12); background: #060c1a; color: #fff; font-size: 13px; box-sizing: border-box; outline: none; }
.auth-f input:focus { border-color: #ffb44d; box-shadow: 0 0 0 3px rgba(255, 180, 60, .16); }
.auth-check { display: flex; align-items: center; gap: 7px; margin: 2px 0 14px; font-size: 12px; color: #a9b8da; }
.auth-check input { accent-color: #ff9a3c; }
.auth-check a { color: #ffd15c; text-decoration: none; }
.auth-submit { width: 100%; padding: 12px 0; border: none; border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 700;
  color: #fff; background: linear-gradient(90deg, #ff9a3c, #ff6b81); }
.auth-submit:hover { opacity: .93; }
.auth-note { margin: 12px 0 0; text-align: center; font-size: 12px; }
.auth-note a { color: #ffd15c; text-decoration: none; }
.auth-tip { margin: 8px 0 0; min-height: 16px; font-size: 12px; color: #ff7a86; }

/* ---------- ao_mobile_drawer_v2: 手机上左侧栏改成可滑出的抽屉 ---------- */
.ao-mobile-menu, .ao-mobile-mask { display: none; }
@media (max-width: 980px) {
  .sidebar {
    display: flex !important;
    flex-direction: column;
    top: 0; left: 0; bottom: 0;
    width: min(76vw, 290px) !important;
    height: 100vh; padding: 10px 0 80px;
    transform: translateX(-103%);
    transition: transform .25s ease;
    z-index: 1002; box-shadow: 10px 0 30px rgba(0,0,0,.5);
  }
  .sidebar.ao-open { transform: translateX(0); }
  .sidebar.collapsed { width: min(76vw, 290px) !important; }
  .sidebar.collapsed .side-label,
  .sidebar.collapsed .side-group-label,
  .sidebar.collapsed .side-divider { display: block; }
  .sidebar.collapsed .side-item { justify-content: flex-start; margin: 0; }
  .ao-mobile-menu {
    display: flex; align-items: center; justify-content: center;
    position: fixed; top: 12px; left: 12px; z-index: 1001;
    width: 40px; height: 40px; border-radius: 10px;
    background: color-mix(in srgb,var(--ao-accent,#ffd700) 24%,#12141a); border: 1px solid color-mix(in srgb,var(--ao-accent,#ffd700) 32%,#12141a); color: #cfd8f5;
    font-size: 16px; cursor: pointer; user-select: none;
  }
  .ao-mobile-mask {
    display: none; position: fixed; inset: 0; background: rgba(4,8,20,.6); z-index: 1000;
  }
  .sidebar.ao-open ~ .ao-mobile-mask { display: block; }
  .main { margin-left: 12px !important; margin-right: 12px !important; }
  .header { left: 60px !important; right: 12px !important; }
  .sub-nav { left: 12px !important; right: 12px !important; }
}

/* === 手机端顶栏收口（全局 2026-11-10） === */
@media (max-width:640px){
  .header{left:10px !important;right:10px !important;padding:0 10px !important;}
  .header-right{gap:4px !important;min-width:0 !important;}
  #aoBar{gap:6px !important;}
  #aoBar a[data-ao-btn]{font-size:11.5px !important;padding:7px 11px !important;gap:3px !important;}
  #aoBar a[data-ao-btn] > span:first-child{display:none !important;}
  .header-logo .logo-img{height:24px !important;}
  .sub-nav{gap:6px;padding:0 10px;}
  .sub-nav-item{font-size:11.5px;}
  .sub-nav-right{display:none !important;}
}

/* === 手机端搜索行自适应（2026-11-10） === */
@media (max-width:640px){
  .filter-search{width:100% !important;max-width:100% !important;flex-wrap:wrap !important;margin-left:0 !important;margin-right:0 !important;}
  .filter-search > *{min-width:0 !important;}
  .filter-search input, .filter-search select{width:100% !important;box-sizing:border-box !important;}
  .hall-head, .hall-bar, .game-hall{padding-left:10px !important;padding-right:10px !important;box-sizing:border-box !important;}
}

/* === 侧栏 CASINO/SPORTS 按模块着色（2026-11-10 v5）：casino=logo粉红 / 体育=蓝，都是白字 === */
/* 娱乐城页：点中的 CASINO = logo 同款粉底白字，没点的 SPORTS = 蓝字 */
.seg-switch.pink{background:#0f1a33 !important; border-color:rgba(34,195,240,.32) !important;}
.seg-switch.pink .seg-item{color:#5ec8f5 !important; background:rgba(34,195,240,.08) !important;}
.seg-switch.pink .seg-item:hover{color:#fff !important; background:rgba(34,195,240,.20) !important;}
.seg-switch.pink .seg-item.on{background:linear-gradient(90deg,#f4578c,#ff7ba9) !important; color:#fff !important;}

/* 体育页：点中的 SPORTS = 蓝底白字，没点的 CASINO = 同款粉红字 */
.seg-switch.blue{background:#0f1a33 !important; border-color:rgba(34,195,240,.32) !important;}
.seg-switch.blue .seg-item{color:#ff8fb0 !important; background:rgba(244,87,140,.10) !important;}
.seg-switch.blue .seg-item:hover{color:#fff !important; background:rgba(244,87,140,.22) !important;}
.seg-switch.blue .seg-item.on{background:linear-gradient(90deg,#1fa8e0,#3fd0ff) !important; color:#fff !important;}

/* 其它页面（首页/优惠/法务等）：中性蓝 */
.seg-switch:not(.blue):not(.pink){background:#0f1a33 !important; border-color:rgba(34,195,240,.32) !important;}
.seg-switch:not(.blue):not(.pink) .seg-item{color:#5ec8f5 !important; background:rgba(34,195,240,.08) !important;}


/* === 二级导航间距放宽（2026-11-10） === */
/* 图标和文字之间、每个入口之间都拉开一点，别挤在一起 */
@media (min-width:641px){
  .sub-nav{gap:18px !important; padding:0 20px !important;}
  .sub-nav-item{gap:9px !important;}
  .sub-nav-item .nav-i{margin-right:1px;}
  .sub-nav-right{gap:14px !important;}
}



/* === 侧栏选中态按模块着色（体育/优惠/VIP 蓝，娱乐城粉）2026-11-10 === */
.side-item.active{background:transparent !important;box-shadow:none !important;}
body:has(.seg-switch.pink) .side-item.active{background:transparent !important;box-shadow:none !important;}

/* === 二级导航右侧固定 + 语言按钮不换行（2026-11-10） === */
@media (min-width:641px){
  .sub-nav{ padding-right:190px !important; }
  .sub-nav-right{
    position:absolute !important; right:0 !important; top:0 !important;
    height:100%; margin-left:0 !important;
    padding:0 18px 0 14px !important;
    background:var(--ao-bg2,#13224e) !important;
    box-shadow:-14px 0 16px rgba(3,10,32,.95);
    z-index:5;
  }
  .sub-nav-right .lang-btn{
    white-space:nowrap; min-width:78px; justify-content:center;
  }
  .sub-nav-right .lang-cur{ white-space:nowrap; }
  .sub-forgot{ white-space:nowrap; }
}

/* === 全站背景统一为体育页底色（2026-11-10） === */
html, body{background:#030a20 !important;}

/* === 顶栏钉在内容区内 + 禁止横向溢出（2026-11-10） === */
@media (min-width:981px){
  .header{position:fixed !important;left:282px !important;right:262px !important;width:auto !important;max-width:calc(100% - 544px) !important;box-sizing:border-box;}
}
html,body{overflow-x:hidden;max-width:100%;}

/* v172 选中态只亮图标，不铺底色卡片 */
.side-item.active .side-icon .si{
  stroke:#eaf4ff;opacity:1;
  filter:drop-shadow(0 0 5px rgba(120,190,255,.85));
}
.side-item.active .side-label{color:#eaf4ff;font-weight:600;}
.side-item.active .side-icon{background:transparent;}
.sidebar.collapsed .side-item.active{background:transparent !important;}

/* v190 折叠态：顶栏跟随侧栏/投注单收起，与下面两层保持左缘一致 */
@media (min-width: 981px){
  body.sbcol .header{left:70px !important;max-width:calc(100% - 332px) !important;}
  body.rbcol .header{right:20px !important;max-width:calc(100% - 302px) !important;}
  body.sbcol.rbcol .header{left:70px !important;right:20px !important;max-width:calc(100% - 90px) !important;}
}

/* v192 折叠态：不点亮任何按钮（含 active/hover 的图标底），右投注单把手锁右侧 */
.sidebar.collapsed .side-item,
.sidebar.collapsed .side-item:hover,
.sidebar.collapsed .side-item.active{background:transparent !important;}
.sidebar.collapsed .side-item .side-icon,
.sidebar.collapsed .side-item:hover .side-icon,
.sidebar.collapsed .side-item.active .side-icon{background:transparent !important;box-shadow:none !important;}
.right-sidebar-toggle{left:auto !important;}
.right-sidebar-toggle.collapsed{left:auto !important;right:0 !important;}

/* v202 段切换自适应宽度，保证两项完整显示 */
.side-topbar{ flex-wrap:nowrap !important; }
.seg-switch{ flex:1 1 auto !important; min-width:0 !important; overflow:hidden !important; box-sizing:border-box !important; }
.seg-item{ flex:1 1 0 !important; min-width:0 !important; padding:9px 2px !important;
  font-size:10.5px !important; letter-spacing:0 !important; line-height:1.1 !important;
  text-overflow:ellipsis !important; overflow:hidden !important; }

/* v203 段切换：未选中=中性深蓝底 + 浅字；选中 CASINO 粉 / SPORTS 蓝 */
.seg-switch, .seg-switch.pink, .seg-switch.blue,
.seg-switch:not(.blue):not(.pink){
  background:#0f1a33 !important; border-color:rgba(120,150,220,.26) !important;
}
.seg-switch .seg-item, .seg-switch.pink .seg-item, .seg-switch.blue .seg-item,
.seg-switch:not(.blue):not(.pink) .seg-item{
  color:#cbd9f6 !important; background:transparent !important; font-weight:700 !important;
}
.seg-switch .seg-item:hover, .seg-switch.pink .seg-item:hover, .seg-switch.blue .seg-item:hover,
.seg-switch:not(.blue):not(.pink) .seg-item:hover{
  color:#fff !important; background:rgba(255,255,255,.07) !important;
}
/* 选中：粉页用粉，体育页用蓝 */
.seg-switch.pink .seg-item.on, .seg-switch:not(.blue):not(.pink) .seg-item.on{
  background:linear-gradient(90deg,#f4578c,#ff7ba9) !important; color:#fff !important;
  box-shadow:0 4px 14px rgba(244,87,140,.42), 0 0 0 1px rgba(255,123,169,.35) !important;
}
.seg-switch.blue .seg-item.on{
  background:linear-gradient(90deg,#1fa8e0,#3fd0ff) !important; color:#fff !important;
  box-shadow:0 4px 14px rgba(31,168,224,.42), 0 0 0 1px rgba(63,208,255,.35) !important;
}

/* v207 右下角「礼物盒注册」浮卡：整卡缩小 */
#aoFloat{ right:12px !important; bottom:12px !important; }
#aoFloat [data-ao="reg-float"]{
  width:186px !important; padding:7px 9px !important; border-radius:11px !important;
  transform:scale(.9) !important; transform-origin:right bottom !important;
}
#aoFloat [data-ao="reg-float"] *{ font-size:10px !important; line-height:1.25 !important; }
#aoFloat [data-ao="reg-float"] img,
#aoFloat [data-ao="reg-float"] .ico{ max-width:22px !important; max-height:22px !important; }

/* v209 登录/注册弹窗底部：自有英文 logo，放大 */
.auth-brand{
  display:flex; align-items:center; justify-content:center;
  margin:16px 0 2px; padding-top:14px;
  border-top:1px solid rgba(255,255,255,.08);
}
.auth-brand img{ height:44px; width:auto; display:block; filter:drop-shadow(0 6px 18px rgba(255,90,150,.28)); }
.auth-brand-page{ margin:0 0 14px; padding-top:0; border-top:0; }
.auth-brand-page img{ height:52px; }

/* ao-sideleft：折叠态侧栏按钮与图标统一左对齐（2026-11-13） */
.sidebar.collapsed .side-topbar{justify-content:center !important;padding:2px 0 8px !important;}
.sidebar.collapsed .side-item{justify-content:center !important;margin:0 !important;padding-left:0 !important;}
.sidebar.collapsed .side-item a{justify-content:center !important;}
.sidebar.collapsed .side-icon{margin:0 auto !important;text-align:center !important;}

/* ao-headbig：顶栏加高 1/3 + 宽度收窄（2026-11-13） */
.header{height:68px !important;padding:0 22px !important;}
.header-logo .logo-img{height:36px !important;}
@media (min-width:981px){
  .header{left:302px !important;right:276px !important;max-width:calc(100% - 578px) !important;}
  body.sbcol .header{left:78px !important;max-width:calc(100% - 354px) !important;}
  body.rbcol .header{right:34px !important;max-width:calc(100% - 330px) !important;}
  body.sbcol.rbcol .header{left:78px !important;right:34px !important;max-width:calc(100% - 112px) !important;}
}

/* ao-sideleft2：侧栏条目图标左移，与顶部 ☰ 左缘对齐（2026-11-13） */
.side-item{margin-left:0 !important;padding-left:8px !important;}
.side-item a{padding-left:0 !important;}
.side-topbar{padding-left:8px !important;}
.sidebar.collapsed .side-item{margin-left:0 !important;padding-left:8px !important;}


/* ao-seg2color：CASINO 红 / SPORTS 蓝（id 级联，必胜） */
#aoSegCasino{
  background:linear-gradient(135deg,#e8223f 0%,#ff6a3d 100%) !important;
  color:#fff !important; opacity:.7;
}
#aoSegSport{
  background:linear-gradient(135deg,#1250d8 0%,#2fb6ff 100%) !important;
  color:#fff !important; opacity:.7;
}
#aoSegCasino:hover,#aoSegSport:hover{opacity:.95;}
#aoSegCasino.on,#aoSegSport.on{
  opacity:1 !important;
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.92), 0 0 10px rgba(0,0,0,.34) !important;
}

/* ao-btnfix：顶栏登录/注册固定配色，不随主题轮换 */
.header .btn-login{color:#fff !important;background:transparent !important;border:none !important;}
.header .btn-login:hover{color:#ffd0e4 !important;}
.header .btn-register{background:linear-gradient(90deg,#ff4d8d,#ff7a45) !important;color:#fff !important;border:none !important;}
.header .btn-register:hover{background:linear-gradient(90deg,#ff649c,#ff8f5f) !important;}

/* ao-subnav-fit：二级导航压到一行，右侧给语言按钮留位（2026-11-14） */
.sub-nav{gap:2px !important;padding:0 80px 0 8px !important;}
.sub-nav-item{font-size:13.5px !important;gap:4px !important;}
.sub-nav-item .nav-i{width:14px !important;height:14px !important;flex:0 0 14px !important;}

/* ao-sidehi：侧栏选中项点亮 + 图标提亮，不再灰糊（2026-11-14） */
.side-item, .side-item .side-label{color:#c2ccdf !important;}
.side-item .side-icon .si{stroke:#b7c9e8 !important;opacity:1 !important;}
.side-item:hover{background:color-mix(in srgb,var(--ao-accent,#ffd700) 14%,transparent) !important;}
.side-item:hover .side-label{color:#fff !important;}
.side-item:hover .side-icon .si{stroke:#fff !important;opacity:1 !important;}
.side-item.active, .sidebar.collapsed .side-item.active{
  background:linear-gradient(90deg,color-mix(in srgb,var(--ao-accent,#ffd700) 34%,transparent),color-mix(in srgb,var(--ao-accent,#ffd700) 8%,transparent)) !important;
  box-shadow:inset 3px 0 0 var(--ao-accent,#ffd700),0 0 18px color-mix(in srgb,var(--ao-accent,#ffd700) 22%,transparent) !important;
}
.side-item.active .side-label{color:#fff !important;font-weight:700 !important;}
.side-item.active .side-icon .si{stroke:color-mix(in srgb,var(--ao-accent,#ffd700) 70%,#ffffff) !important;opacity:1 !important;}
.sidebar.collapsed .side-item.active{box-shadow:0 0 0 1px color-mix(in srgb,var(--ao-accent,#ffd700) 55%,transparent),0 0 14px color-mix(in srgb,var(--ao-accent,#ffd700) 26%,transparent) !important;border-radius:10px !important;}
