/* 
 * custom-new.css
 * 创建时间：2024年
 * 描述：新的自定义样式文件
 */

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局样式 */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

/* 响应式布局基础类 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 工具类 */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* 响应式断点 */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 5px;
    }
}

.rigts {
    position: relative;
}
.rigts .hot-tag {
    position: absolute;
    left: 10px;
    top: 70%;
    transform: translateY(-50%);
    background: none;
    color: #303442;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    font-weight: bold;
    padding: 0;
    border-radius: 0;
    z-index: 2;
    pointer-events: none;
    box-shadow: none;
    display: flex;
    align-items: flex-end;
    gap: 2px;
}
.rigts .hot-tag .hot-num {
    position: relative;
    top: 4px;
    margin-top: 0;
    font-size: 30px;
    font-weight: bold;
    color: #303442;
    line-height: 1;
    font-family: 'AkrobatBold', 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
}
.rigts .hot-tag .hot-text {
    font-size: 12px;
    font-weight: normal;
    color: #303442;
    margin-left: 2px;
    line-height: 1.2;
}
.rigts {
    /* 保证父级有定位 */
    position: relative;
}

/* APP热门 - 侧边栏选项 */
.hot-game-tab {
    cursor: pointer;
}
.hot-game-tab img {
    width: 28px;
    height: 28px;
    display: block;
    margin: 0 auto 2px;
}
.hot-game-tab span {
    display: block;
    text-align: center;
    font-size: 11px;
}
.hot-game-tab.active {
    color: #ffffff !important;
}

/* APP热门 - 3列图标网格（对齐原生 .rigts 高度，否则无法下拉） */
.hot-games-panel {
    padding: 4px 6px 20px !important;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    height: 420px !important;
    max-height: 420px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    box-sizing: border-box;
}
.hot-games-panel::-webkit-scrollbar {
    display: none;
}

/* 默认隐藏热门面板 */
.gameBoxs .hot-games-panel {
    display: none !important;
}
.gameBoxs.hot-mode .hot-games-panel {
    display: block !important;
}
.gameBoxs.hot-mode > .rigts:not(.hot-games-panel) {
    display: none !important;
}
.gameBoxs .hot-games-panel::before {
    display: none !important;
    content: none !important;
}

.hot-games-grid {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.hot-game-item {
    width: 33.333%;
    box-sizing: border-box;
    padding: 6px 4px;
    text-align: center;
    cursor: pointer;
}

.hot-game-icon {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.hot-game-icon::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 28px !important;
    height: 28px !important;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAABGCAMAAABG8BK2AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAC0UExURUdwTDmq/zit/z+a/zmz/0iu/z+k/1em/1Sc/02T/////0Gh/zuo/0Of/z2m/zST/zmX/y2O/zGR/1Ok/zW0/zev/0Cb/0Kc/zaU//P6/6DR/zms/0Oe/1Ge/z+i/zyZ/4jG/zWx/yiL/0+w/zaw/1qr/+j0/3C5/7jc/53L/+fy/9vu/2Wy/3y//9Do/8Ti/0+Y/0yp/4S+/0yV/2C5/0qS/5TK/6vY/6zV/5LN/87l/1K2/x4Y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BzDEioj8tUpoxlWxjOsjGe+oTKWYWVsvrEynmFlPEPK+LAyPv+P8h9kZ9Tit/xQwwAAAABJRU5ErkJggg==') no-repeat center center / cover !important;
    border-radius: 8px 0 8px 0;
    z-index: 5 !important;
    pointer-events: none;
}

.hot-game-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    margin: 0 !important;
    border-radius: 0 !important;
}

.hot-game-icon-empty {
    background: #f2f4f7 !important;
}
.hot-game-missing {
    font-size: 12px;
    color: #999;
    line-height: 1.2;
}

.hot-game-name {
    margin-top: 6px;
    font-size: 12px;
    color: #333;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 2px;
}

.hot-games-empty {
    text-align: center;
    color: #999;
    padding: 40px 0;
    font-size: 14px;
    width: 100%;
}

/* 全站仅免转：隐藏手机端转账/免转切换 */
.mianzhuan {
    display: none !important;
}

/* 活动详情：修复 Excel 粘贴表格白字/不显示 */
[class*="content"] table,
.activeD__content__103MD table,
.style_content table {
    color: #333 !important;
    background: #fff !important;
    border-collapse: collapse !important;
    max-width: 100% !important;
    display: table !important;
}

[class*="content"] table td,
[class*="content"] table th,
[class*="content"] table span,
[class^="et"],
[class*=" et"],
[class^="font"] {
    color: #333 !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 12px !important;
}

[class*="content"] table td,
[class*="content"] table th {
    border: 1px solid #d0d7e2 !important;
    padding: 3px 2px !important;
    font-size: 12px !important;
}

@font-face {
    font-family: 'AkrobatBold';
    src: url('/static/font/Akrobat-Bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
} 