.zga-game-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 20px;
}

.zga-game-table th,
.zga-game-table td {
    border: 1px solid #d9a400;
    padding: 8px 10px;
    text-align: center;
}

.zga-game-table thead th {
    background: #b91f1f;
    color: #fff;
    font-weight: 600;
}

.zga-game-table tbody tr:nth-child(odd) {
    background: #fff9d9;
}

.zga-game-table tbody tr:nth-child(even) {
    background: #fff3b0;
}

.zga-game-table .zga-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    background: #b91f1f;
    color: #fff;
    border-radius: 4px;
}

.zga-publish-button {
    display: inline-block;
    margin: 10px 0;
    padding: 8px 16px;
    background: #d64527;
    color: #fff;
    border-radius: 4px;
}

.zga-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.zga-modal.active {
    display: flex;
}

.zga-modal__content {
    background: #fff;
    width: 90%;
    max-width: 720px;
    max-height: 90vh;
    overflow: auto;
    border-radius: 6px;
    padding: 20px;
}

.zga-date-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.zga-date-card {
    border: 1px solid #ffd966;
    padding: 8px;
    border-radius: 4px;
    text-align: center;
}

/* 游戏广告表格样式 - Element Plus风格 */
.zibll-games-ad-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ebeef5;
    margin-bottom: 0;
}

.zibll-games-ad-table thead {
    background-color: #f5f7fa;
}

.zibll-games-ad-table th {
    padding: 12px;
    text-align: left;
    font-weight: 500;
    color: #303133;
    border-bottom: 1px solid #ebeef5;
    font-size: 14px;
    vertical-align: middle;
    background-color: #f5f7fa;
}

.zibll-games-ad-table td {
    padding: 12px;
    border-bottom: 1px solid #ebeef5;
    color: #606266;
    font-size: 14px;
    vertical-align: middle;
}

.zibll-games-ad-table tbody tr {
    background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 100%);
    box-shadow: 0 1px 3px rgba(212, 175, 55, 0.15), 
                0 1px 2px rgba(212, 175, 55, 0.1);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.zibll-games-ad-table tbody tr:hover {
    background: linear-gradient(to bottom, #fffef5 0%, #fffbe6 100%);
    box-shadow: 0 4px 6px rgba(212, 175, 55, 0.25), 
                0 2px 4px rgba(212, 175, 55, 0.2);
    border-left-color: #d4af37;
    transform: translateY(-1px);
}

.zibll-games-ad-table tbody tr:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.zibll-games-ad-table tbody tr:last-child td {
    border-bottom: none;
}

.zibll-games-ad-table .game-intro {
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zibll-games-ad-table .game-launch-time {
    white-space: nowrap;
    color: #ff6b6b;
    font-weight: 500;
}

.zibll-games-ad-table .game-action-btn {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid #409eff;
    background-color: #409eff;
    color: white;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
}

.zibll-games-ad-table .game-action-btn:hover {
    background-color: #66b1ff;
    border-color: #66b1ff;
    color: white;
}

/* Element Plus风格容器 */
.zibll-games-ad-widget .theme-box {
    background: transparent;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0;
}

.zibll-games-ad-empty {
    text-align: center;
    padding: 40px 20px;
    background: transparent;
}

.zibll-games-ad-empty .muted-2-color {
    margin-bottom: 15px;
    font-size: 14px;
    color: #909399;
}

/* 表格响应式容器 */
.zibll-games-ad-widget .table-responsive {
    overflow-x: auto;
    border: none;
}

/* 电脑端样式调整 */
@media (min-width: 769px) {
    .zibll-games-ad-table {
        color: rgb(51, 51, 51);
        line-height: 1.42857;
        font-size: 15px;
        border-collapse: collapse;
        border: 1px solid #ff9900;
    }

    /* 确保单元格继承或使用指定样式覆盖默认样式 */
    .zibll-games-ad-table th,
    .zibll-games-ad-table td {
        font-size: 15px;
        color: rgb(51, 51, 51);
        line-height: 1.42857;
        border: 1px solid #ff9900;
        padding: 8px;
        text-align: center;
    }

    /* 表头样式：介于下方金黄色和上方深橙色之间 */
    .zibll-games-ad-table thead th {
        background: linear-gradient(to bottom, #ffe58f 0%, #ffc107 100%);
        font-weight: bold;
        border-bottom: 1px solid #ff9900;
    }

    /* 行背景：从上到下白色到金色渐变 */
    .zibll-games-ad-table tbody tr {
        background: linear-gradient(to bottom, #ffffff 0%, #ffe58f 100%) !important;
        box-shadow: none !important;
        border-left: none !important;
        transform: none !important;
    }

    /* 鼠标悬停：变为纯白色 */
    .zibll-games-ad-table tbody tr:hover {
        background: #ffffff !important;
        transform: none !important;
        box-shadow: none !important;
        border-left: none !important;
        transition: none !important;
    }

    /* 修复最后一行边框 */
    .zibll-games-ad-table tbody tr:last-child td {
        border-bottom: 1px solid #ff9900;
    }

    /* 按钮样式调整：橙色风格 */
    .zibll-games-ad-table .game-action-btn {
        background-color: #eb6100 !important;
        border: 1px solid #eb6100 !important;
        color: #fff !important;
        border-radius: 4px;
        font-size: 13px;
        padding: 5px 15px;
    }

    .zibll-games-ad-table .game-action-btn:hover {
        background-color: #d45500 !important;
        border-color: #d45500 !important;
    }

    /* 日期分组头部样式 PC端适配 - 深橙色 */
    .game-date-header {
        background: linear-gradient(to bottom, #ffc107 0%, #ff8800 100%);
        border: 1px solid #ff9900;
        border-bottom: none; /* 与表格连接 */
        color: rgb(51, 51, 51);
        font-family: "Microsoft YaHei", 宋体, Verdana, Arial, sans-serif;
    }

    .game-date-title {
        color: rgb(51, 51, 51);
    }

    /* 深色模式适配 (PC端) - 强制保持浅色模式的金黄色样式 */
    body.dark-theme .zibll-games-ad-table {
        border: 1px solid #ff9900 !important;
        border-collapse: collapse;
        color: rgb(51, 51, 51) !important;
    }

    body.dark-theme .zibll-games-ad-table th,
    body.dark-theme .zibll-games-ad-table td {
        border: 1px solid #ff9900 !important;
        color: rgb(51, 51, 51) !important;
        background: transparent;
    }

    body.dark-theme .zibll-games-ad-table thead th {
        background: linear-gradient(to bottom, #ffe58f 0%, #ffc107 100%) !important;
        color: rgb(51, 51, 51) !important;
        border: 1px solid #ff9900 !important;
    }

    body.dark-theme .zibll-games-ad-table tbody tr {
        background: linear-gradient(to bottom, #ffffff 0%, #ffe58f 100%) !important;
    }

    body.dark-theme .zibll-games-ad-table tbody tr:hover {
        background: #ffffff !important;
    }

    body.dark-theme .game-date-header {
        background: linear-gradient(to bottom, #ffc107 0%, #ff8800 100%) !important;
        border: 1px solid #ff9900 !important;
        border-bottom: none !important;
        color: rgb(51, 51, 51) !important;
    }

    body.dark-theme .game-date-title {
        color: rgb(51, 51, 51) !important;
    }
}

/* 响应式：移动端卡片式布局 */
@media (max-width: 768px) {
    /* 调整 widget 容器内边距 */
    .zib-widget.zibll-games-ad-widget,
    .zibll-games-ad-widget .zib-widget {
        padding: 6px !important;
    }

    /* 隐藏表头 */
    .zibll-games-ad-table thead {
        display: none;
    }

    /* 表格转卡片容器 */
    .zibll-games-ad-table, 
    .zibll-games-ad-table tbody, 
    .zibll-games-ad-table tr {
        display: block;
        width: 100%;
        border: none;
    }

    /* 修复移动端间距，让卡片更充实 */
    .zibll-games-ad-widget .table-responsive {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .zibll-games-ad-table tbody {
        display: flex;
        flex-direction: column;
        gap: 3px;
        padding: 0;
        margin-top: 2px;
    }

    /* 卡片样式 */
    .zibll-games-ad-table tbody tr {
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        padding: 12px;
        position: relative;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        border: 1px solid #ebeef5;
    }

    /* 单元格重置 */
    .zibll-games-ad-table td {
        display: block;
        padding: 0;
        border: none;
        text-align: left;
        width: auto;
    }

    /* 1. 游戏名称 */
    .zibll-games-ad-table .game-name {
        order: 1;
        width: 100%; /* 占据整行，强制后续元素换行 */
        padding-right: 90px; /* 留出按钮空间 */
        font-size: 17px;
        font-weight: bold;
        color: #d64527;
        margin-bottom: 4px;
        line-height: 1.3;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    /* 连体广告星星图标 - Element Plus Tag 样式 */
    .zibll-games-ad-table .ad-quantity-star {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        flex-shrink: 0;
        /* Element Plus Tag 样式 - 金黄色 */
        background-color: #fffbe6;
        border: none;
        color: #d4a017;
        border-radius: 4px;
        padding: 2px 8px;
        font-size: 12px;
        line-height: 1.5;
        white-space: nowrap;
        box-sizing: border-box;
        vertical-align: middle;
    }

    .zibll-games-ad-table .ad-quantity-star .star-icon {
        width: 14px;
        height: 14px;
        display: inline-block;
        vertical-align: middle;
        flex-shrink: 0;
    }

    .zibll-games-ad-table .ad-quantity-star .star-count {
        font-size: 12px;
        font-weight: 500;
        color: #d4a017;
        line-height: 1;
    }

    /* 2. 按钮（绝对定位到右上角） */
    .zibll-games-ad-table .game-action {
        position: absolute;
        right: 12px;
        top: 40%;
        transform: translateY(-50%);
        width: 70px;
        display: flex;
        justify-content: flex-end;
    }

    .zibll-games-ad-table .game-action-btn {
        width: 100%;
        padding: 4px 0;
        text-align: center;
        border: 1px solid #409eff;
        background-color: #409eff;
        color: white;
        font-weight: normal;
        border-radius: 4px;
        box-shadow: none;
        font-size: 12px;
    }
    
    .zibll-games-ad-table .game-action-btn:hover {
        background-color: #66b1ff;
        border-color: #66b1ff;
    }
    
    /* 3. 开服日期 - Element Plus Tag样式 */
    .zibll-games-ad-table .game-launch-time {
        order: 2;
        font-size: 12px;
        color: #67c23a;
        background: #f0f9ff;
        padding: 0 8px;
        border-radius: 4px;
        margin-right: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 24px;
        line-height: 1;
        box-sizing: border-box;
        border: none;
        white-space: nowrap;
        margin-top: 0;
    }

    /* 4. 版本类型 */
    .zibll-games-ad-table .game-version {
        order: 3;
        font-size: 12px;
        color: #ff6600; /* 深橙色文字 */
        font-weight: 500;
        padding: 2px 0;
        display: inline-block;
        margin-top: 0;
        line-height: 24px; /* 对齐开服日期 */
    }

    /* 5. 游戏介绍 */
    .zibll-games-ad-table .game-intro {
        order: 4;
        width: 100%;
        margin-top: 4px;
        font-size: 13px;
        color: #d4a017;
        line-height: 1.5;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: none;
        /* 上边框分割 */
        border-top: none;
        padding-top: 0;
    }

    /* 1. 游戏名称 - 深色模式适配 */
    body.dark-theme .zibll-games-ad-table .game-name {
        color: #ff7875;
    }

    /* 消除移动端点击/悬停时的金色效果 */
    .zibll-games-ad-table tbody tr:hover,
    .zibll-games-ad-table tbody tr:active {
        background: #fff !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
        border-left-color: transparent !important;
        transform: none !important;
    }
    
    /* 深色模式适配 */
    body.dark-theme .zibll-games-ad-table tr {
        background: #2d2d2d !important;
        border-color: #4c4d4f;
        box-shadow: none;
    }
    
    body.dark-theme .zibll-games-ad-table tbody tr:hover,
    body.dark-theme .zibll-games-ad-table tbody tr:active {
        background: #2d2d2d !important;
        box-shadow: none !important;
    }
    
    body.dark-theme .zibll-games-ad-table .game-launch-time {
        background: #4c4d4f;
        color: #cfd3dc;
        border-color: #4c4d4f;
    }
    
    body.dark-theme .zibll-games-ad-table .game-version {
        color: #e6a23c;
    }
    
    body.dark-theme .zibll-games-ad-table .game-intro {
        border-top-color: #4c4d4f;
        color: #a3a6ad;
    }

    /* 深色模式下的连体广告标签 - 金黄色 */
    body.dark-theme .zibll-games-ad-table .ad-quantity-star {
        background-color: rgba(255, 215, 0, 0.15);
        border-color: rgba(255, 215, 0, 0.4);
        color: #ffd700;
    }

    body.dark-theme .zibll-games-ad-table .ad-quantity-star .star-count {
        color: #ffd700;
    }
}

/* 卡片头部样式 - Element Plus风格 */
.zibll-games-ad-widget .card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 5px;
    border-bottom: 1px solid #ebeef5;
    background-color: transparent;
    margin: 0;
}

.zibll-games-ad-widget .card-head .text-sm {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #303133;
}

.zibll-games-ad-widget .card-head .icon-hot svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.zibll-games-ad-widget .card-head .icon-ad-copy svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* 卡片头部按钮样式 */
.zibll-games-ad-widget .card-head .btn {
    padding: 3px 10px;
    font-size: 13px;
    border-radius: 3px;
    transition: all 0.2s;
}

.zibll-games-ad-widget .card-head .btn-outline {
    background-color: transparent;
    border: 1px solid #dcdfe6;
    color: #606266;
}

.zibll-games-ad-widget .card-head .btn-outline:hover {
    color: #409eff;
    border-color: #409eff;
    background-color: #ecf5ff;
}

.zibll-games-ad-purchase-trigger {
    cursor: pointer;
    transition: all 0.3s ease;
}

.zibll-games-ad-purchase-trigger:hover {
    opacity: 0.8;
}

#zibll-games-ad-purchase-modal .modal-dialog.modal-lg {
    margin: 20px auto !important;
}

/* 自定义天数数字输入框 - 响应式宽度 */
.custom-days-input,
.ad-quantity-input {
    width: 100%;
}

/* 自定义天数步进控件 - 右侧占满高度 */
.number-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}
.number-input-wrapper .custom-days-input,
.number-input-wrapper .ad-quantity-input {
    padding-right: 34px; /* 为步进按钮预留空间 */
}

/* 隐藏浏览器原生的数字输入框上下箭头 */
.number-input-wrapper .custom-days-input::-webkit-inner-spin-button,
.number-input-wrapper .custom-days-input::-webkit-outer-spin-button,
.number-input-wrapper .ad-quantity-input::-webkit-inner-spin-button,
.number-input-wrapper .ad-quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.number-input-wrapper .custom-days-input[type="number"],
.number-input-wrapper .ad-quantity-input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
    appearance: textfield; /* 标准属性 */
}
.number-stepper {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 34px;
    display: flex;
    flex-direction: column;
}
.number-stepper .step {
    flex: 1;
    background: transparent;
    border: none;
    border-left: 1px solid #dcdfe6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.number-stepper .step:hover {
    background-color: #f5f7fa;
    color: #409eff;
}
.number-stepper .step + .step {
    border-top: 1px solid #dcdfe6;
}

/* 电脑端：固定合适宽度 */
@media (min-width: 768px) {
    .custom-days-input {
        width: 200px;
    }
}

/* 深色模式：数字步进控件 */
body.dark-theme .number-stepper .step {
    border-left-color: #3a3a3a;
}
body.dark-theme .number-stepper .step:hover {
    background-color: #333333;
    color: #409eff;
}
body.dark-theme .number-stepper .step + .step {
    border-top-color: #3a3a3a;
}

/* 深色模式：游戏广告表格 */
body.dark-theme .zibll-games-ad-table {
    border-color: #4c4d4f;
    background-color: transparent;
}

body.dark-theme .zibll-games-ad-table thead {
    background-color: #262729;
}

body.dark-theme .zibll-games-ad-table th {
    background-color: #262729;
    color: #e5eaf3;
    border-bottom-color: #4c4d4f;
}

body.dark-theme .zibll-games-ad-table td {
    color: #cfd3dc;
    border-bottom-color: #4c4d4f;
}

body.dark-theme .zibll-games-ad-table tbody tr {
    background: linear-gradient(to bottom, #2d2d2d 0%, #262729 100%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 
                0 1px 2px rgba(0, 0, 0, 0.2);
}

body.dark-theme .zibll-games-ad-table tbody tr:hover {
    background: linear-gradient(to bottom, #2f2a1f 0%, #2a251a 100%);
    box-shadow: 0 4px 6px rgba(184, 134, 11, 0.25), 
                0 2px 4px rgba(184, 134, 11, 0.2);
    border-left-color: #b8860b;
    transform: translateY(-1px);
}

body.dark-theme .zibll-games-ad-table tbody tr:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

body.dark-theme .zibll-games-ad-widget .theme-box {
    background-color: transparent;
}

body.dark-theme .zibll-games-ad-widget .card-head {
    background-color: transparent;
    border-bottom-color: #4c4d4f;
}

body.dark-theme .zibll-games-ad-widget .card-head .text-sm {
    color: #e5eaf3;
}

body.dark-theme .zibll-games-ad-widget .card-head .btn-outline {
    background-color: transparent;
    border-color: #4c4d4f;
    color: #cfd3dc;
}

body.dark-theme .zibll-games-ad-widget .card-head .btn-outline:hover {
    color: #409eff;
    border-color: #409eff;
    background-color: #212327;
}

body.dark-theme .zibll-games-ad-empty {
    background-color: transparent;
}

body.dark-theme .zibll-games-ad-empty .muted-2-color {
    color: #8a8f99;
}

/* 日期分组样式 */
.game-date-group {
    margin-bottom: 0;
    background: transparent;
}

.game-date-group:last-child {
    margin-bottom: 0;
}

.game-date-header {
    padding: 10px 15px;
    background-color: #f5f7fa;
    border-bottom: 1px solid #ebeef5;
    border-radius: 0;
    margin-bottom: 0;
}

.game-date-title {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #303133;
    text-align: center;
    display: block;
    position: relative;
    padding-left: 0;
}

.game-date-title::before {
    display: none;
}

/* 深色模式：日期分组 */
body.dark-theme .game-date-header {
    background-color: #262729;
    border-bottom-color: #4c4d4f;
}

body.dark-theme .game-date-title {
    color: #e5eaf3;
}

body.dark-theme .game-date-title::before {
    background: linear-gradient(135deg, #66b1ff 0%, #85c1ff 100%);
}

/* ============================================
   游戏广告搜索框样式 - Element Plus风格
   ============================================ */
.game-search-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background-color: transparent;
    border-bottom: 1px solid #ebeef5;
}

/* 预设搜索关键词容器 */
.game-search-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    flex: 1;
    min-width: 0;
}

/* 广告筛选标签 */
.game-search-presets-label {
    font-size: 13px;
    color: #606266;
    white-space: nowrap;
    margin-right: 4px;
}

/* 预设搜索关键词标签 */
.game-search-preset-tag {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    font-size: 12px;
    color: #606266;
    background-color: #f4f4f5;
    border: 1px solid #e9e9eb;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    white-space: nowrap;
    user-select: none;
}

.game-search-preset-tag:hover {
    color: #409eff;
    background-color: #ecf5ff;
    border-color: #b3d8ff;
}

.game-search-preset-tag.active {
    color: #fff;
    background-color: #409eff;
    border-color: #409eff;
}

.game-search-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 260px;
    max-width: 100%;
}

.game-search-input {
    width: 100%;
    height: 32px;
    padding: 0 30px 0 30px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    background-color: #fff;
    color: #606266;
    font-size: 13px;
    line-height: 32px;
    outline: none;
    transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    box-sizing: border-box;
}

.game-search-input::placeholder {
    color: #c0c4cc;
}

.game-search-input:hover {
    border-color: #c0c4cc;
}

.game-search-input:focus {
    border-color: #409eff;
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.1);
}

.game-search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c0c4cc;
    pointer-events: none;
    transition: color 0.2s;
}

.game-search-input:focus + .game-search-icon,
.game-search-wrapper:focus-within .game-search-icon {
    color: #409eff;
}

.game-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c0c4cc;
    cursor: pointer;
    transition: color 0.2s;
}

.game-search-clear:hover {
    color: #909399;
}

/* 搜索无结果提示 */
.game-search-no-result {
    padding: 30px 15px;
    text-align: center;
    color: #909399;
    font-size: 14px;
    background-color: #fafafa;
    border-radius: 4px;
    margin: 10px 0;
}

/* 无结果行样式：确保在PC端不显示单元格边框，让内容占满 */
.game-search-no-result-row td {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* PC端特定调整 */
@media (min-width: 769px) {
    .game-search-no-result-row:hover {
        background: transparent !important;
        transform: none !important;
        box-shadow: none !important;
    }
}

.game-search-no-result .no-result-icon {
    font-size: 48px;
    margin-bottom: 10px;
    color: #dcdfe6;
}

/* 搜索高亮样式 */
.game-search-highlight {
    background-color: #fff7e6;
    color: #fa8c16;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 500;
}

/* 隐藏不匹配的行 */
.zibll-games-ad-table tr.search-hidden {
    display: none !important;
}

/* 隐藏无匹配结果的日期分组 */
.game-date-group.search-hidden {
    display: none !important;
}

/* 深色模式适配 */
body.dark-theme .game-search-bar {
    border-bottom-color: #4c4d4f;
}

body.dark-theme .game-search-presets-label {
    color: #a3a6ad;
}

body.dark-theme .game-search-preset-tag {
    color: #cfd3dc;
    background-color: #3a3a3c;
    border-color: #4c4d4f;
}

body.dark-theme .game-search-preset-tag:hover {
    color: #409eff;
    background-color: #212327;
    border-color: #409eff;
}

body.dark-theme .game-search-preset-tag.active {
    color: #fff;
    background-color: #409eff;
    border-color: #409eff;
}

body.dark-theme .game-search-input {
    background-color: #2d2d2d;
    border-color: #4c4d4f;
    color: #cfd3dc;
}

body.dark-theme .game-search-input::placeholder {
    color: #6c6e72;
}

body.dark-theme .game-search-input:hover {
    border-color: #606266;
}

body.dark-theme .game-search-input:focus {
    border-color: #409eff;
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.15);
}

body.dark-theme .game-search-icon {
    color: #6c6e72;
}

body.dark-theme .game-search-clear {
    color: #6c6e72;
}

body.dark-theme .game-search-clear:hover {
    color: #a3a6ad;
}

body.dark-theme .game-search-no-result {
    background-color: #262729;
    color: #8a8f99;
}

body.dark-theme .game-search-no-result .no-result-icon {
    color: #4c4d4f;
}

body.dark-theme .game-search-highlight {
    background-color: rgba(250, 140, 22, 0.15);
    color: #fa8c16;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .game-search-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 8px 10px;
    }
    
    /* 手机端搜索框在上方，预设关键词在下方 */
    .game-search-wrapper {
        order: -1;
        width: 100%;
    }
    
    .game-search-presets {
        order: 1;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .game-search-presets::-webkit-scrollbar {
        display: none;
    }
    
    .game-search-presets-label {
        flex-shrink: 0;
        font-size: 12px;
    }
    
    .game-search-preset-tag {
        flex-shrink: 0;
    }
    
    .game-search-input {
        font-size: 14px;
        height: 36px;
        line-height: 36px;
    }
}

/* PC端适配 - 与表格金色边框风格统一 */
@media (min-width: 769px) {
    .game-search-bar {
        border-bottom: 1px solid #ff9900;
        padding: 8px 10px;
    }
    
    .game-search-presets-label {
        color: #8b4513;
    }
    
    .game-search-preset-tag {
        color: #8b4513;
        background-color: #fff8e6;
        border-color: #ffd666;
    }
    
    .game-search-preset-tag:hover {
        color: #eb6100;
        background-color: #fff1cc;
        border-color: #eb6100;
    }
    
    .game-search-preset-tag.active {
        color: #fff;
        background-color: #eb6100;
        border-color: #eb6100;
    }
    
    .game-search-input {
        border-color: #ff9900;
    }
    
    .game-search-input:hover {
        border-color: #ffb833;
    }
    
    .game-search-input:focus {
        border-color: #eb6100;
        box-shadow: 0 0 0 2px rgba(235, 97, 0, 0.1);
    }
    
    .game-search-wrapper:focus-within .game-search-icon {
        color: #eb6100;
    }
    
    body.dark-theme .game-search-bar {
        border-bottom-color: #ff9900;
    }
    
    body.dark-theme .game-search-presets-label {
        color: #d4a574;
    }
    
    body.dark-theme .game-search-preset-tag {
        color: #ffd666;
        background-color: rgba(255, 153, 0, 0.1);
        border-color: rgba(255, 153, 0, 0.3);
    }
    
    body.dark-theme .game-search-preset-tag:hover {
        color: #ffa940;
        background-color: rgba(255, 153, 0, 0.2);
        border-color: #ffa940;
    }
    
    body.dark-theme .game-search-preset-tag.active {
        color: #fff;
        background-color: #eb6100;
        border-color: #eb6100;
    }
    
    body.dark-theme .game-search-input {
        border-color: #ff9900;
    }
    
    body.dark-theme .game-search-input:hover {
        border-color: #ffb833;
    }
    
    body.dark-theme .game-search-input:focus {
        border-color: #eb6100;
        box-shadow: 0 0 0 2px rgba(235, 97, 0, 0.15);
    }
}

/* 修复移动端日期分组标题样式 */
@media (max-width: 768px) {
    .zibll-games-ad-table tr.game-date-header-row {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0;
        margin-top: 4px;
        display: block;
    }

    .zibll-games-ad-table tr.game-date-header-row td {
        display: block;
        padding: 0;
        border: none;
        width: 100%;
    }
}

/* ============================================
   购买模态框 - 广告位信息提示
   ============================================ */
.zibll-games-ad-alert-info {
    display: flex;
    align-items: flex-start;
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 4px;
    background-color: #f4f4f5;
    border: none;
    color: #909399;
    font-size: 14px;
    line-height: 1.5;
}

.zibll-games-ad-alert-info .alert-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    font-style: normal;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #909399;
}

.zibll-games-ad-alert-info .alert-content {
    flex: 1;
    color: #909399;
}

.zibll-games-ad-alert-info .alert-title {
    font-weight: 600;
    color: #606266;
}

/* 深色模式适配 */
body.dark-theme .zibll-games-ad-alert-info {
    background-color: #3a3a3c;
    color: #a3a6ad;
}

body.dark-theme .zibll-games-ad-alert-info .alert-icon {
    color: #a3a6ad;
}

body.dark-theme .zibll-games-ad-alert-info .alert-content {
    color: #a3a6ad;
}

body.dark-theme .zibll-games-ad-alert-info .alert-title {
    color: #cfd3dc;
}

/* ============================================
   登录提示界面样式（Element Plus 风格）
   ============================================ */
.zibll-games-ad-login-required {
    text-align: center;
    padding: 40px 20px;
}

.zibll-games-ad-login-required .login-required-icon {
    color: #f59e0b;
    margin-bottom: 20px;
    opacity: 0.9;
}

.zibll-games-ad-login-required .login-required-icon svg {
    width: 64px;
    height: 64px;
}

.zibll-games-ad-login-required .login-required-title {
    font-size: 20px;
    font-weight: 600;
    color: #303133;
    margin-bottom: 12px;
    margin-top: 0;
}

.zibll-games-ad-login-required .login-required-desc {
    color: #909399;
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.zibll-games-ad-login-required .login-required-actions {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.zibll-games-ad-login-required .login-required-actions .btn {
    min-width: 120px;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
}

/* 立即登录按钮 - Element UI 金黄色风格 */
.zibll-games-ad-login-required .login-required-actions .btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-color: #f59e0b;
    color: #fff;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
    font-weight: 500;
}

.zibll-games-ad-login-required .login-required-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.45);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.zibll-games-ad-login-required .login-required-actions .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.35);
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

/* 注册账号按钮 - Element UI 金黄色边框风格 */
.zibll-games-ad-login-required .login-required-actions .btn-default {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    color: #b45309;
    font-weight: 500;
}

.zibll-games-ad-login-required .login-required-actions .btn-default:hover {
    color: #92400e;
    border-color: #f59e0b;
    background-color: #fef3c7;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

/* 深色模式适配 */
body.dark-theme .zibll-games-ad-login-required .login-required-title {
    color: #e5eaf3;
}

body.dark-theme .zibll-games-ad-login-required .login-required-desc {
    color: #a3a6ad;
}

body.dark-theme .zibll-games-ad-login-required .login-required-actions .btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-color: #f59e0b;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

body.dark-theme .zibll-games-ad-login-required .login-required-actions .btn-primary:hover {
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

body.dark-theme .zibll-games-ad-login-required .login-required-actions .btn-default {
    background: #3a3019;
    border-color: #b45309;
    color: #fcd34d;
}

body.dark-theme .zibll-games-ad-login-required .login-required-actions .btn-default:hover {
    color: #fbbf24;
    border-color: #f59e0b;
    background-color: #44381c;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .zibll-games-ad-login-required {
        padding: 30px 15px;
    }

    .zibll-games-ad-login-required .login-required-icon svg {
        width: 48px;
        height: 48px;
    }

    .zibll-games-ad-login-required .login-required-title {
        font-size: 18px;
    }

    .zibll-games-ad-login-required .login-required-desc {
        font-size: 13px;
    }

    .zibll-games-ad-login-required .login-required-actions {
        flex-direction: column;
        gap: 10px;
    }

    .zibll-games-ad-login-required .login-required-actions .btn {
        width: 100%;
        max-width: 200px;
    }
}

/* ============================================
   我的广告列表样式
   ============================================ */
.zibll-games-ad-my-ads-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zibll-games-ad-my-ad-item {
    background: #fff;
    border: 1px solid #ebeef5;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.zibll-games-ad-my-ad-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #dcdfe6;
}

.zibll-games-ad-my-ad-item.expired {
    opacity: 0.7;
    background: #f5f7fa;
}

.zibll-games-ad-my-ad-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.zibll-games-ad-my-ad-name {
    font-size: 16px;
    font-weight: 600;
    color: #303133;
}

.zibll-games-ad-my-ad-status {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    font-size: 12px;
    border-radius: 4px;
}

.zibll-games-ad-my-ad-status.active {
    background-color: #f0f9ff;
    color: #67c23a;
    border: 1px solid #b3e19d;
}

.zibll-games-ad-my-ad-status.expired {
    background-color: #f4f4f5;
    color: #909399;
    border: 1px solid #e9e9eb;
}

.zibll-games-ad-my-ad-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #606266;
}

.zibll-games-ad-my-ad-info p {
    margin: 0;
    display: flex;
    gap: 4px;
}

.zibll-games-ad-my-ad-info strong {
    color: #909399;
    font-weight: normal;
}

.zibll-games-ad-my-ad-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.zibll-games-ad-my-ad-actions .btn {
    padding: 6px 16px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.zibll-games-ad-my-ad-actions .btn-edit {
    background: #f59e0b;
    color: #fff;
    border: none;
}

.zibll-games-ad-my-ad-actions .btn-edit:hover {
    background: #d97706;
}

/* 我的广告列表空状态 */
.zibll-games-ad-my-ads-empty {
    text-align: center;
    padding: 40px 20px;
    color: #909399;
}

.zibll-games-ad-my-ads-empty p {
    margin-bottom: 16px;
}

/* 编辑表单样式 */
.zibll-games-ad-edit-form {
    padding: 0;
}

.zibll-games-ad-edit-form .form-group {
    margin-bottom: 16px;
}

.zibll-games-ad-edit-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #606266;
    font-weight: 500;
}

.zibll-games-ad-edit-form .form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    color: #606266;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.zibll-games-ad-edit-form .form-control:focus {
    border-color: var(--theme-color, #409eff);
    outline: none;
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.1);
}

.zibll-games-ad-edit-form textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

.zibll-games-ad-edit-form .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #ebeef5;
}

.zibll-games-ad-edit-form .form-actions .btn {
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.zibll-games-ad-edit-form .form-actions .btn-back {
    background: #fff;
    border: 1px solid #dcdfe6;
    color: #606266;
}

.zibll-games-ad-edit-form .form-actions .btn-back:hover {
    color: #374151;
    border-color: #9ca3af;
    background: #f9fafb;
}

.zibll-games-ad-edit-form .form-actions .btn-save {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    color: #fff;
}

.zibll-games-ad-edit-form .form-actions .btn-save:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.zibll-games-ad-edit-form .form-actions .btn-save:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 深色模式适配 - 我的广告 */
body.dark-theme .zibll-games-ad-my-ad-item {
    background: #2d2d2d;
    border-color: #4c4d4f;
}

body.dark-theme .zibll-games-ad-my-ad-item:hover {
    border-color: #606266;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

body.dark-theme .zibll-games-ad-my-ad-item.expired {
    background: #262729;
}

body.dark-theme .zibll-games-ad-my-ad-name {
    color: #e5eaf3;
}

body.dark-theme .zibll-games-ad-my-ad-info {
    color: #cfd3dc;
}

body.dark-theme .zibll-games-ad-my-ad-info strong {
    color: #a3a6ad;
}

body.dark-theme .zibll-games-ad-my-ad-status.active {
    background-color: rgba(103, 194, 58, 0.1);
    border-color: rgba(103, 194, 58, 0.3);
}

body.dark-theme .zibll-games-ad-my-ad-status.expired {
    background-color: #3a3a3c;
    border-color: #4c4d4f;
    color: #8a8f99;
}

body.dark-theme .zibll-games-ad-edit-form label {
    color: #cfd3dc;
}

body.dark-theme .zibll-games-ad-edit-form .form-control {
    background: #2d2d2d;
    border-color: #4c4d4f;
    color: #cfd3dc;
}

body.dark-theme .zibll-games-ad-edit-form .form-control:focus {
    border-color: var(--theme-color, #409eff);
}

body.dark-theme .zibll-games-ad-edit-form .form-actions {
    border-top-color: #4c4d4f;
}

body.dark-theme .zibll-games-ad-edit-form .form-actions .btn-back {
    background: #2d2d2d;
    border-color: #4c4d4f;
    color: #cfd3dc;
}

body.dark-theme .zibll-games-ad-edit-form .form-actions .btn-back:hover {
    border-color: #6b7280;
    color: #e5e7eb;
    background: #374151;
}
