/**
 * 配合适配设置
 */
body {
    display: none;
    margin: auto;
}
/**
 * 适配完成
 */
html.dy-adapter-complete body {
    display: block;
    /* background: url(https://shark.douyucdn.cn/app/douyu-mobile/m-public-vendor/images/loading-569331.gif) center center no-repeat;
    background-size: 33% auto;
    background-color: #F8F8F8; */
}
/**
 * iPhoneX适配
 */
@media only screen and (device-width: 375px) and (device-height: 812px) and
(-webkit-device-pixel-ratio: 3) {
    /* 这里写iPhoneX的样式hack */
    body {
        padding: 0 0 constant(safe-area-inset-bottom) 0!important;
        padding: 0 0 env(safe-area-inset-bottom) 0!important;
        box-sizing: border-box;
    }
}
html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%
}
body {
    margin: 0;
}
p {
    margin: 0;
    padding: 0;
}
h1 {
    font-size: 2em;
    margin: .67em 0
}
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible
}
ul {
    margin: 0;
    padding: 0;
}
li {
    list-style: none;
}
pre {
    font-family: monospace,monospace;
    font-size: 1em
}
a {
    background-color: transparent;
    -webkit-text-decoration: none;
    text-decoration: none;
}
abbr[title]{
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline;
    -webkit-text-decoration: underline dotted;
            text-decoration: underline dotted;
}
b, strong {
    font-weight: bolder;
}
code, kbd, samp {
    font-family: monospace,monospace;
    font-size: 1em;
}
small {
    font-size: 80%;
}
sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sub {
    bottom: -.25em;
}
sup {
    top: -.5em;
}
img {
    border-style: none
}
button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}
button, input {
    overflow: visible;
}

[data-biz-client="app"] .bacpCommonError .bacpCommonError-desc > p {
                padding: 0;
                font-size: 28px;
                color: #fff;
            }
            [data-biz-client="app"] .bacpCommonError .bacpCommonError-desc > span {
                font-size: 24px;
                color: #999;
            }

.bacpCommonError {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-color: #333;
}

.bacpCommonError > i {
        display: inline-block;
        width: 110px;
        height: 142px;
        margin-bottom: 10px;
        background: url(https://shark2.douyucdn.cn/front-publish/biz-activity-cooperation-platform-master/assets/image/error_a6e2d01.png) center center/contain no-repeat;
    }

.bacpCommonError .bacpCommonError-desc {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

.bacpCommonError .bacpCommonError-desc > p {
            padding: 4px 0;
            font-size: 24px;
            color: #fff;
        }

.bacpCommonError .bacpCommonError-desc > span {
            font-size: 18px;
            color: #999;
        }
/* 最大化减少各端emoji差异性 */
@font-face {
    font-family: Emoji;
    src: local('Apple Color Emojiji'), local('Segoe UI Emoji'), local('Segoe UI Symbol'), local('Noto Color Emoji');
    unicode-range: U+1F000-1F644, U+203C-3299;
}
body {
    padding: 0;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Emoji, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        'Microsoft Yahei', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
code {
    font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
li {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
b,
strong,
em,
i {
    box-sizing: border-box;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
}
div,
span {
    box-sizing: border-box;
}
/* svg根据字体大小变化尺寸，与文字排列时方便对齐 */
svg {
    box-sizing: border-box;
    width: 1em;
    height: 1em;
}
[data-biz-theme="light"] #root {
        background-color: #fbf7e9;
    }
[data-biz-theme="dark"] #root {
        background-color: #0a0a0a;
    }
[data-biz-client="app"] html,
    [data-biz-client="app"] body,
    [data-biz-client="app"] #root {
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        overflow: hidden;
        background-color: #fbf7e9;
        -webkit-user-select: none;
           -moz-user-select: none;
                user-select: none;
        -webkit-tap-highlight-color: transparent;
        line-height: 1.4 !important;
    }
[data-biz-client="app"] body {
        height: 100vh;
    }
[data-biz-client="web"] {
    width: 100%;
    min-width: 1400px;
    overflow-x: auto;
    overflow-y: scroll;
}
[data-biz-client="web"] #root {
        width: 100%;
        height: auto;
        overflow: hidden;
    }
[data-biz-theme="dark"][data-biz-client="app"] .bacpCommonToast-content {
        background-color: #372E16 ;
        border-color: #D1B05A;
    }
[data-biz-theme="light"][data-biz-client="web"] .bacpCommonToast-content {
        padding: 8px 60px;
        background-color: rgba(204, 171, 98, 1);
        border: 1px solid rgba(178, 132, 76, 1);
        font-size: 18px;
    }
[data-biz-theme="dark"][data-biz-client="web"] .bacpCommonToast-content {
        padding: 8px 60px;
        background-color: rgba(55, 46, 22, 1);
        border: 1px solid rgba(209, 176, 90, 1);
        font-size: 18px;
    }
/* 衬线字体 */
.font-serif {
    font-family: Georgia, Cambria, 'Times New Roman', Times, serif;
}
/* 等宽字体 */
.font-mono {
    font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}
.AbsoluteCenter {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
.EllipsisHiddenTxt {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.bacpCommonToast {
    box-sizing: border-box;
    overflow: hidden;
    z-index: 10000000;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.bacpCommonToast-content {
    padding: 16px 60px;
    box-sizing: border-box;
    max-width: 80%;
    line-height: 44px;
    font-size: 26px;
    text-align: center;
    word-break: break-all;
    color: #fff;
    /* border-radius: 6px; */
    animation: toastfadeIn 0.3s;
    pointer-events: auto;
    background-color: #CCAB62;
    border: 1px solid #F488B3;
    border-radius: 0px;
}
@keyframes toastfadeIn {
    0% {
        opacity: 0;
        transform: translate(0, 150%);
        transform-origin: 50% 50%;
    }

    100% {
        opacity: 1;
        transform: translate(0, -10%);
        transform-origin: 50% 50%;
    }
}

