/*   
Theme Name: OneNav 子主题模板
Theme URI:https://www.iotheme.cn
Description:一导航， 集网址、资源、资讯于一体的导航主题。 <br /> 官网：<a href="https://www.iotheme.cn">一主题</a>
Template: onenav
Version: 1.0.0
Requires at least: 5.4
Tested up to: 5.8
Requires PHP: 7.2
Author:一为
Author URI: https://www.iowen.cn/
License URI: https://www.iotheme.cn/disclaimer
*/

/* =========================================================
   DuckWow 优惠中心
   Apple / 极简风格
   ========================================================= */

.dw-offers {
    width: 100%;
    margin: 38px 0;
    font-family: inherit;
}

.dw-offers *,
.dw-offers *::before,
.dw-offers *::after {
    box-sizing: border-box;
}


/* =========================
   顶部标题
   ========================= */

.dw-offers-heading { display:none !important; }

.dw-offers-heading h2 {
    margin: 0;
    font-size: 25px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.dw-offers-heading p {
    margin: 5px 0 0;
    font-size: 13px;
    opacity: .5;
}


/* =========================
   四栏布局
   ========================= */

.dw-offers-grid {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: stretch !important;
}

.dw-offers-grid > .dw-offer-category {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: none !important;
    margin: 0 !important;
}

/* =========================
   分类卡片
   ========================= */

.dw-offer-category {
    border: 1px solid rgba(128,128,128,.16);
    border-radius: 22px;
    padding: 18px;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.dw-offer-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0,0,0,.06);
}


/* 分类标题 */

.dw-category-header {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 13px;
}

.dw-category-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: rgba(0,170,144,.09);

    font-size: 20px;
}

.dw-category-header h3 {
    margin: 0;

    font-size: 16px;
    font-weight: 700;
}

.dw-category-header span {
    display: block;

    margin-top: 3px;

    font-size: 11px;
    opacity: .48;
}


/* =========================
   平台
   ========================= */

.dw-platform-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dw-platform-card {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    min-height: 48px;

    padding: 6px 5px;

    border-radius: 14px;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}

.dw-platform-card:hover {
    background: rgba(0,170,144,.055);
    transform: translateX(3px);
}


/* Logo */

.dw-platform-logo {
    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: rgba(0,170,144,.09);

    color: #00aa90;

    font-size: 12px;
    font-weight: 700;
}

.dw-platform-card {
    min-height: 48px;

    padding: 6px 5px;
}

.dw-platform-text {
    min-width: 0;
    flex: 1;

    margin-left: 8px;

    display: flex;
    align-items: center;
    gap: 7px;
}

.dw-platform-text strong {
    display: inline;

    font-size: 14px;
    line-height: 1.3;

    font-weight: 600;

    white-space: nowrap;
}

.dw-platform-text small {
    display: inline;

    margin: 0;

    font-size: 11px;

    opacity: .48;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dw-platform-text small::before {
    content: "·";
    margin-right: 7px;
    opacity: .5;
}

.dw-platform-arrow {
    margin-left: 7px;

    font-size: 21px;

    line-height: 1;

    opacity: .28;

    transition:
        color .2s ease,
        opacity .2s ease,
        transform .2s ease;
}

.dw-platform-card:hover .dw-platform-arrow {
    color: #00aa90;
    opacity: 1;
    transform: translateX(3px);
}


/* =========================================================
   弹窗
   ========================================================= */

.dw-offer-modal {
    position: fixed;
    inset: 0;

    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.dw-offer-modal.is-open {
    opacity: 1;
    visibility: visible;
}


/* 背景 */

.dw-modal-backdrop {
    position: absolute;
    inset: 0;

    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}


/* 弹窗主体 */

.dw-modal-panel {
    position: relative;
    z-index: 2;

    width: min(390px, 100%);

    padding: 29px 25px 25px;

    border: 1px solid rgba(128,128,128,.18);

    border-radius: 26px;

    background: rgba(255,255,255,.82);
    backdrop-filter: blur(28px) saturate(165%);
    -webkit-backdrop-filter: blur(28px) saturate(165%);

    box-shadow:
        0 25px 80px rgba(0,0,0,.22);

    text-align: center;

    transform:
        translateY(15px)
        scale(.97);

    transition:
        transform .3s cubic-bezier(.2,.8,.2,1);
}

.dw-offer-modal.is-open .dw-modal-panel {
    transform:
        translateY(0)
        scale(1);
}


/* 关闭 */

.dw-modal-close {
    position: absolute;

    top: 13px;
    right: 13px;

    width: 33px;
    height: 33px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(128,128,128,.09);

    color: inherit;

    font-size: 23px;
    line-height: 30px;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease;
}

.dw-modal-close:hover {
    background: rgba(0,170,144,.12);
    color: #00aa90;
}


/* 标题 */

.dw-modal-title {
    padding: 0 35px;

    font-size: 21px;
    font-weight: 700;
}

.dw-modal-desc {
    margin-top: 5px;

    font-size: 13px;

    opacity: .5;
}


/* Tab */

.dw-modal-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 7px;

    margin: 20px 0 17px;
}

.dw-modal-tab {
    padding: 7px 14px;

    border: 1px solid rgba(128,128,128,.18);

    border-radius: 999px;

    background: transparent;

    color: inherit;

    font-size: 12px;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.dw-modal-tab:hover {
    border-color: #00aa90;
}

.dw-modal-tab.active {
    border-color: #00aa90;

    background: #00aa90;

    color: #fff;
}


/* 二维码 */

.dw-modal-qr {
    width: 235px;
    height: 235px;

    margin: 0 auto;

    padding: 9px;

    border-radius: 19px;

    background: #fff;

    box-shadow:
        0 8px 30px rgba(0,0,0,.08);
}

.dw-modal-qr img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* 提示 */

.dw-modal-tip {
    margin-top: 13px;

    font-size: 12px;

    opacity: .48;
}


/* 其他优惠链接 */

.dw-modal-link {
    display: none;

    margin-top: 13px;

    color: #00aa90 !important;

    font-size: 13px;

    font-weight: 600;

    text-decoration: none !important;
}

.dw-modal-link:hover {
    opacity: .7;
}


/* =========================================================
   平板
   ========================================================= */

@media (max-width: 1150px) {

    .dw-offers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   手机
   ========================================================= */

@media (max-width: 600px) {

    .dw-offers {
        margin: 25px 0;
    }

    .dw-offers-heading h2 {
        font-size: 21px;
    }

    .dw-offers-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dw-offer-category {
        padding: 15px;

        border-radius: 18px;
    }

    .dw-category-icon {
        width: 38px;
        height: 38px;
    }

    .dw-platform-card {
        min-height: 55px;
    }

    .dw-modal-panel {
        padding: 27px 17px 23px;

        border-radius: 23px;
    }

    .dw-modal-qr {
        width: 220px;
        height: 220px;
    }

}


/* 打开弹窗禁止页面滚动 */

html.dw-offer-modal-lock,
body.dw-offer-modal-lock {
    overflow: hidden !important;
}

/* DuckWow 优惠中心：玻璃弹窗深色模式 */
.dark-mode .dw-modal-panel,
body.dark-mode .dw-modal-panel,
html.dark-mode .dw-modal-panel {
    background: rgba(30,32,34,.82);
    border-color: rgba(255,255,255,.12);
    color: inherit;
}

@media (min-width: 1151px) {
    .dw-offers-grid { grid-template-columns: repeat(4, minmax(0,1fr)) !important; }
}

@media (max-width: 1150px) and (min-width: 601px) {
    .dw-offers-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}

@media (max-width: 600px) {
    .dw-offers-grid { grid-template-columns: 1fr !important; }
    .dw-offers-heading { display:none !important; }
    .dw-platform-card { min-height: 48px !important; }
}


/* =========================================================
   DuckWow 最终布局覆盖
   防止 OneNav / Bootstrap 样式覆盖四栏布局
   ========================================================= */

.dw-offers .dw-offers-grid {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.dw-offers .dw-offers-grid > section.dw-offer-category {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
}

@media (max-width: 1100px) {
    .dw-offers .dw-offers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 600px) {
    .dw-offers .dw-offers-grid {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================
   DuckWow 二维码弹窗
   高性能玻璃效果
   不使用 backdrop-filter
   ========================================================= */

.dw-offer-modal {
    opacity: 0 !important;
    visibility: hidden !important;

    transition:
        opacity .12s ease,
        visibility 0s linear .12s !important;
}


.dw-offer-modal.is-open {
    opacity: 1 !important;
    visibility: visible !important;

    transition:
        opacity .12s ease,
        visibility 0s linear 0s !important;
}


/* 页面背景完全不处理 */

.dw-offer-modal .dw-modal-backdrop {
    background: transparent !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}


/* =========================================================
   弹窗主体
   ========================================================= */

.dw-offer-modal .dw-modal-panel {

    position: relative !important;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.82),
            rgba(255,255,255,.58)
        ) !important;

    border:
        1px solid rgba(255,255,255,.68) !important;

    box-shadow:
        0 24px 70px rgba(0,0,0,.18),
        inset 0 1px 0 rgba(255,255,255,.75),
        inset 0 -1px 0 rgba(255,255,255,.25) !important;

    transform:
        translate3d(0,8px,0)
        scale(.985) !important;

    transition:
        transform .16s cubic-bezier(.2,.8,.2,1) !important;

    will-change: transform;

    overflow: hidden !important;
}


/* 顶部玻璃高光 */

.dw-offer-modal .dw-modal-panel::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 45%;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.35),
            rgba(255,255,255,0)
        );

    opacity: .8;
}


/* 打开 */

.dw-offer-modal.is-open .dw-modal-panel {

    transform:
        translate3d(0,0,0)
        scale(1) !important;
}


/* =========================================================
   夜间模式
   ========================================================= */

.dark-mode .dw-offer-modal .dw-modal-panel,
body.dark-mode .dw-offer-modal .dw-modal-panel,
html.dark-mode .dw-offer-modal .dw-modal-panel {

    background:
        linear-gradient(
            145deg,
            rgba(0,0,0,.88),
            rgba(12,12,12,.76)
        ) !important;

    border-color:
        rgba(255,255,255,.13) !important;

    box-shadow:
        0 25px 80px rgba(0,0,0,.58),
        inset 0 1px 0 rgba(255,255,255,.08) !important;

    color: #fff !important;
}


/* 夜间高光 */

.dark-mode .dw-offer-modal .dw-modal-panel::before,
body.dark-mode .dw-offer-modal .dw-modal-panel::before,
html.dark-mode .dw-offer-modal .dw-modal-panel::before {

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,0)
        );

    opacity: 1;
}

/* =========================================================
   DuckWow 优惠中心 · 最终调整
   1. 电脑端四栏
   2. 分类内容顶部对齐
   3. 缩小行距、压低整体高度
   4. 夜间二维码弹窗黑色玻璃
   ========================================================= */

/* ---------- 四栏 ---------- */

.dw-offers,
.dw-offers .dw-offers-grid {
    width: 100% !important;
}

.dw-offers .dw-offers-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
    align-items: stretch !important;
}

.dw-offers .dw-offers-grid > .dw-offer-category {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-self: stretch !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: none !important;
    float: none !important;

    margin: 0 !important;
    padding: 13px 15px 14px !important;
    box-sizing: border-box !important;
}

/* ---------- 四个分类标题完全顶部对齐 ---------- */

.dw-offers .dw-category-header {
    display: flex !important;
    align-items: center !important;

    flex: 0 0 auto !important;

    margin: 0 0 8px !important;
    min-height: 36px !important;
}

.dw-offers .dw-category-icon {
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;

    border-radius: 10px !important;
    font-size: 17px !important;
}

.dw-offers .dw-category-header h3 {
    margin: 0 !important;
    line-height: 1.2 !important;
}

.dw-offers .dw-category-header span {
    margin-top: 2px !important;
    line-height: 1.15 !important;
}

/* ---------- 平台列表压缩 ---------- */

.dw-offers .dw-platform-list {
    display: flex !important;
    flex-direction: column !important;

    gap: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.dw-offers .dw-platform-card {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    min-height: 42px !important;

    padding: 4px 3px !important;
    margin: 0 !important;

    box-sizing: border-box !important;
}

.dw-offers .dw-platform-logo {
    width: 29px !important;
    height: 29px !important;
    flex: 0 0 29px !important;

    border-radius: 8px !important;
    font-size: 11px !important;
}

.dw-offers .dw-platform-text {
    margin-left: 7px !important;
    gap: 5px !important;
}

.dw-offers .dw-platform-text strong {
    font-size: 13px !important;
    line-height: 1.2 !important;
}

.dw-offers .dw-platform-text small {
    font-size: 10px !important;
    line-height: 1.2 !important;
}

.dw-offers .dw-platform-text small::before {
    margin-right: 5px !important;
}

.dw-offers .dw-platform-arrow {
    margin-left: 5px !important;
    font-size: 18px !important;
}

/* ---------- 夜间：黑色玻璃弹窗 ---------- */

.dw-offer-modal .dw-modal-backdrop {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.dark-mode .dw-offer-modal .dw-modal-panel,
body.dark-mode .dw-offer-modal .dw-modal-panel,
html.dark-mode .dw-offer-modal .dw-modal-panel {
    background: rgba(0, 0, 0, .68) !important;

    border: 1px solid rgba(255, 255, 255, .13) !important;

    backdrop-filter: blur(30px) saturate(155%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(155%) !important;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, .55),
        inset 0 1px 0 rgba(255, 255, 255, .08) !important;

    color: #fff !important;
}

/* 夜间弹窗文字保持清晰 */
.dark-mode .dw-offer-modal .dw-modal-title,
.dark-mode .dw-offer-modal .dw-modal-desc,
.dark-mode .dw-offer-modal .dw-modal-tip,
body.dark-mode .dw-offer-modal .dw-modal-title,
body.dark-mode .dw-offer-modal .dw-modal-desc,
body.dark-mode .dw-offer-modal .dw-modal-tip,
html.dark-mode .dw-offer-modal .dw-modal-title,
html.dark-mode .dw-offer-modal .dw-modal-desc,
html.dark-mode .dw-offer-modal .dw-modal-tip {
    color: #fff !important;
}

.dark-mode .dw-offer-modal .dw-modal-desc,
.dark-mode .dw-offer-modal .dw-modal-tip,
body.dark-mode .dw-offer-modal .dw-modal-desc,
body.dark-mode .dw-offer-modal .dw-modal-tip,
html.dark-mode .dw-offer-modal .dw-modal-desc,
html.dark-mode .dw-offer-modal .dw-modal-tip {
    opacity: .68 !important;
}

.dark-mode .dw-offer-modal .dw-modal-tab,
body.dark-mode .dw-offer-modal .dw-modal-tab,
html.dark-mode .dw-offer-modal .dw-modal-tab {
    color: #fff !important;
    border-color: rgba(255,255,255,.18) !important;
}

.dark-mode .dw-offer-modal .dw-modal-tab.active,
body.dark-mode .dw-offer-modal .dw-modal-tab.active,
html.dark-mode .dw-offer-modal .dw-modal-tab.active {
    color: #fff !important;
    background: #00aa90 !important;
    border-color: #00aa90 !important;
}

.dark-mode .dw-offer-modal .dw-modal-close,
body.dark-mode .dw-offer-modal .dw-modal-close,
html.dark-mode .dw-offer-modal .dw-modal-close {
    color: #fff !important;
}

/* ---------- 响应式 ---------- */

@media (max-width: 1100px) {
    .dw-offers .dw-offers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 600px) {
    .dw-offers .dw-offers-grid {
        grid-template-columns: 1fr !important;
    }
}

/* 防止打开二维码弹窗时滚动条消失导致页面横向跳动 */
html {
    scrollbar-gutter: stable;
}

/* =========================================================
   DuckWow 优惠中心 · 最终布局优化
   电脑：4栏
   手机：2栏
   平台内容：充分利用卡片横向空间
   ========================================================= */


/* =========================
   电脑端：四栏
   ========================= */

.dw-offers .dw-offers-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
}


/* =========================
   分类卡片
   ========================= */

.dw-offers .dw-offer-category {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    padding: 14px !important;
    box-sizing: border-box !important;
}


/* 分类标题 */

.dw-offers .dw-category-header {
    margin-bottom: 7px !important;
}


/* =========================
   平台列表
   ========================= */

.dw-offers .dw-platform-list {
    display: flex !important;
    flex-direction: column !important;

    gap: 0 !important;
}


/* 每个平台 */

.dw-offers .dw-platform-card {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    min-height: 43px !important;

    padding: 4px 3px !important;
    margin: 0 !important;

    box-sizing: border-box !important;
}


/* =========================
   Logo
   ========================= */

.dw-offers .dw-platform-logo {
    width: 29px !important;
    height: 29px !important;

    flex: 0 0 29px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 8px !important;
}


/* 如果以后使用图片 Logo */

.dw-offers .dw-platform-logo img {
    width: 100% !important;
    height: 100% !important;

    display: block !important;

    object-fit: contain !important;

    border-radius: inherit !important;
}


/* =========================================================
   关键修改
   平台名称在左
   优惠描述占据剩余空间
   ========================================================= */

.dw-offers .dw-platform-text {
    min-width: 0 !important;

    flex: 1 1 auto !important;

    margin-left: 8px !important;

    display: grid !important;

    grid-template-columns:
        auto
        minmax(0, 1fr) !important;

    align-items: center !important;

    column-gap: 8px !important;
}


/* 平台名称 */

.dw-offers .dw-platform-text strong {
    display: block !important;

    min-width: 0 !important;

    font-size: 14px !important;
    line-height: 1.2 !important;

    font-weight: 600 !important;

    white-space: nowrap !important;
}


/* 优惠说明 */

.dw-offers .dw-platform-text small {
    display: block !important;

    min-width: 0 !important;

    margin: 0 !important;

    font-size: 11px !important;
    line-height: 1.2 !important;

    text-align: right !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;

    opacity: .48 !important;
}


/* 去掉前面的 · */

.dw-offers .dw-platform-text small::before {
    content: "" !important;
    margin: 0 !important;
}


/* =========================
   右侧箭头
   ========================= */

.dw-offers .dw-platform-arrow {
    flex: 0 0 auto !important;

    margin-left: 8px !important;

    font-size: 20px !important;

    line-height: 1 !important;
}


/* =========================================================
   平板：两栏
   ========================================================= */

@media (max-width: 1100px) {

    .dw-offers .dw-offers-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

}


/* =========================================================
   手机：两栏
   ========================================================= */

@media (max-width: 600px) {

    .dw-offers .dw-offers-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 10px !important;
    }


    /* 手机分类卡片 */

    .dw-offers .dw-offer-category {
        padding: 12px !important;

        border-radius: 18px !important;
    }


    /* 分类标题 */

    .dw-offers .dw-category-header {
        gap: 8px !important;

        margin-bottom: 7px !important;
    }


    .dw-offers .dw-category-icon {
        width: 34px !important;
        height: 34px !important;

        flex: 0 0 34px !important;

        border-radius: 10px !important;

        font-size: 17px !important;
    }


    .dw-offers .dw-category-header h3 {
        font-size: 15px !important;
    }


    .dw-offers .dw-category-header span {
        font-size: 10px !important;
    }


    /* 手机平台行 */

    .dw-offers .dw-platform-card {
        min-height: 42px !important;

        padding: 3px 1px !important;
    }


    /* 手机 Logo */

    .dw-offers .dw-platform-logo {
        width: 28px !important;
        height: 28px !important;

        flex: 0 0 28px !important;

        border-radius: 8px !important;
    }


    /* 手机文字区域 */

    .dw-offers .dw-platform-text {
        margin-left: 6px !important;

        grid-template-columns:
            minmax(0, 1fr) !important;

        gap: 1px !important;
    }


    .dw-offers .dw-platform-text strong {
        font-size: 13px !important;

        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }


    /* 手机把优惠说明放到下一行 */

    .dw-offers .dw-platform-text small {
        text-align: left !important;

        font-size: 9px !important;

        opacity: .45 !important;
    }


    /* 手机箭头 */

    .dw-offers .dw-platform-arrow {
        margin-left: 3px !important;

        font-size: 18px !important;
    }

}

/* 平台 Logo 图片 */
.dw-platform-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: inherit;
}

.dw-platform-logo {
    width: 29px !important;
    height: 29px !important;
    flex: 0 0 29px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
    overflow: hidden;
}
.dw-platform-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
/* =========================================================
   防止主题 CSS 干扰
   ========================================================= */

.dw-offers .dw-offers-grid > * {
    box-sizing: border-box !important;
}

