:root {
    --yeb-topbar-height: 49px;
    --yeb-topbar-title-size: 19px;
    --yeb-ink: #0f172a;
    --yeb-kefu-icon: 20px;
    --yeb-back-draw: 22px;
}

.yeb-page {
    margin: 0;
    background: #f6f7fb;
    color: #0f172a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

a.yeb-kefu-link,
a.yeb-kefu-link:visited {
    display: -webkit-inline-flex !important;
    display: inline-flex !important;
    -webkit-box-orient: horizontal !important;
    -webkit-box-direction: normal !important;
    -webkit-flex-direction: row !important;
    flex-direction: row !important;
    -webkit-flex-wrap: nowrap !important;
    flex-wrap: nowrap !important;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    box-sizing: border-box;
    color: var(--yeb-ink) !important;
    fill: currentColor;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    white-space: nowrap;
    -webkit-tap-highlight-color: rgba(15, 23, 42, 0.08);
    height: var(--yeb-topbar-height);
    padding: 0 4px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a.yeb-kefu-link img {
    width: var(--yeb-kefu-icon) !important;
    height: var(--yeb-kefu-icon) !important;
    display: block;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    -webkit-align-self: center;
    align-self: center;
    margin: 0 4px 0 0 !important;
    padding: 0 !important;
    object-fit: contain;
    filter: brightness(0.15) saturate(1.1);
    -webkit-filter: brightness(0.15) saturate(1.1);
}

a.yeb-kefu-link span {
    color: inherit !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: var(--yeb-kefu-icon) !important;
    min-height: var(--yeb-kefu-icon);
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-align-self: center;
    align-self: center;
}

a.yeb-kefu-link:hover,
a.yeb-kefu-link:focus,
a.yeb-kefu-link:active {
    color: #0f172a !important;
    opacity: 1;
    text-decoration: none !important;
}

a.yeb-kefu-link:hover img,
a.yeb-kefu-link:focus img,
a.yeb-kefu-link:active img {
    filter: brightness(0.15) saturate(1.1);
    -webkit-filter: brightness(0.15) saturate(1.1);
    opacity: 1;
}

.yeb-topbar {
    height: var(--yeb-topbar-height);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    position: relative;
    box-sizing: border-box;
}

.yeb-topbar .title {
    color: #0f172a !important;
    font-size: var(--yeb-topbar-title-size);
    font-weight: 400;
    line-height: var(--yeb-topbar-height);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: var(--yeb-topbar-height);
    margin: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
}

.yeb-topbar a:not(.yeb-kefu-link) {
    color: var(--yeb-ink) !important;
    text-decoration: none;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

.yeb-topbar a:not(.yeb-kefu-link):hover,
.yeb-topbar a:not(.yeb-kefu-link):focus,
.yeb-topbar a:not(.yeb-kefu-link):active {
    color: var(--yeb-ink) !important;
    opacity: 1;
}

.yeb-topbar-left {
    position: absolute;
    left: 10px;
    top: 0;
    width: 64px;
    height: var(--yeb-topbar-height);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 2;
    box-sizing: border-box;
}

.yeb-topbar-right {
    position: absolute;
    right: 10px;
    top: 0;
    width: auto;
    min-width: 44px;
    max-width: 52%;
    height: var(--yeb-topbar-height);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    z-index: 2;
    box-sizing: border-box;
}

.yeb-topbar-right > * + * {
    margin-left: 8px;
}

.yeb-top-icon-btn {
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    width: 40px;
    height: var(--yeb-topbar-height);
    padding: 0;
    margin: 0;
    color: #0f172a !important;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

.yeb-top-icon-btn svg {
    width: 22px;
    height: 22px;
    display: block;
    flex-shrink: 0;
    overflow: visible;
}

.yeb-topbar-left a {
    display: flex;
    align-items: center;
    height: var(--yeb-topbar-height);
}

.yeb-topbar-left #yeb-back-btn {
    justify-content: center;
    -webkit-box-pack: center;
    font-size: 0;
    line-height: 0;
}

.ui-header {
    height: var(--yeb-topbar-height) !important;
    background: rgba(255, 255, 255, 0.72) !important;
    backdrop-filter: saturate(180%) blur(18px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(18px) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
    color: #0f172a !important;
}

.ui-header h1 {
    color: #0f172a !important;
    font-size: var(--yeb-topbar-title-size) !important;
    font-weight: 400 !important;
    line-height: var(--yeb-topbar-height) !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 1.4rem !important;
    box-sizing: border-box !important;
}

.ui-header .rui-l-btn {
    left: 10px !important;
    top: 0 !important;
    width: 64px !important;
    height: var(--yeb-topbar-height) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.ui-header .rui-l-btn.rui-icon-back {
    background: none !important;
    background-image: none !important;
    background-size: 0 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: 0 !important;
}

.yeb-topbar-left #yeb-back-btn,
header.ui-header > a.rui-l-btn[aria-label="返回"],
header.am-header.am-topbar-yeb .am-header-left > a[aria-label="返回"],
header.am-header.am-topbar-yeb .yeb-topbar-left > a[aria-label="返回"]:not([data-game-back]),
header.am-header.am-topbar-yeb .yeb-topbar-left #yeb-back-btn[aria-label="返回"],
.yeb-topbar .yeb-topbar-left > a[aria-label="返回"] {
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230f172a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M15 6l-6 6 6 6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    -webkit-background-size: var(--yeb-back-draw) var(--yeb-back-draw) !important;
    background-size: var(--yeb-back-draw) var(--yeb-back-draw) !important;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    outline: none;
    box-shadow: none;
    -webkit-transition: background-color 0.2s ease;
    transition: background-color 0.2s ease;
}

.yeb-topbar-left #yeb-back-btn:active,
header.ui-header > a.rui-l-btn[aria-label="返回"]:active,
header.am-header.am-topbar-yeb .am-header-left > a[aria-label="返回"]:active,
header.am-header.am-topbar-yeb .yeb-topbar-left > a[aria-label="返回"]:not([data-game-back]):active,
header.am-header.am-topbar-yeb .yeb-topbar-left #yeb-back-btn[aria-label="返回"]:active,
.yeb-topbar .yeb-topbar-left > a[aria-label="返回"]:active {
    background-color: rgba(15, 23, 42, 0.09) !important;
}

.ui-header .rui-r-btn2 {
    right: 10px !important;
    top: 0 !important;
    height: var(--yeb-topbar-height) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap;
}

.ui-header .rui-r-btn2 img {
    width: var(--yeb-kefu-icon) !important;
    height: var(--yeb-kefu-icon) !important;
    margin: 0 4px 0 0 !important;
    filter: brightness(0.15) saturate(1.1) !important;
    -webkit-filter: brightness(0.15) saturate(1.1) !important;
}

header.ui-header a.rui-r-btn2.yeb-kefu-link,
header.am-header.am-topbar-yeb .am-header-right a.yeb-kefu-link,
.yeb-topbar .yeb-topbar-right a.yeb-kefu-link {
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    color: var(--yeb-ink) !important;
    height: var(--yeb-topbar-height) !important;
    min-height: var(--yeb-topbar-height) !important;
    padding: 0 4px !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

header.am-header.am-topbar-yeb .am-header-left > a[aria-label="返回"],
header.am-header.am-topbar-yeb .yeb-topbar-left > a[aria-label="返回"]:not([data-game-back]),
header.am-header.am-topbar-yeb .yeb-topbar-left #yeb-back-btn[aria-label="返回"],
.yeb-topbar .yeb-topbar-left > a[aria-label="返回"] {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center !important;
    -webkit-justify-content: center !important;
    justify-content: center !important;
    box-sizing: border-box;
    font-size: 0 !important;
    line-height: 0 !important;
    text-decoration: none !important;
    overflow: visible;
    position: relative;
    z-index: 3;
}

header.am-header.am-topbar-yeb {
    background: rgba(255, 255, 255, 0.72) !important;
    backdrop-filter: saturate(180%) blur(18px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(18px) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
    height: var(--yeb-topbar-height) !important;
    min-height: var(--yeb-topbar-height) !important;
    color: #0f172a !important;
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-box-align: center !important;
    -webkit-align-items: center !important;
    align-items: center !important;
    -webkit-box-pack: center !important;
    -webkit-justify-content: center !important;
    justify-content: center !important;
    -webkit-box-orient: horizontal !important;
    -webkit-box-direction: normal !important;
    -webkit-flex-direction: row !important;
    flex-direction: row !important;
    box-sizing: border-box !important;
    padding: 0 10px !important;
    float: none !important;
}

header.am-header.am-topbar-yeb.am-header-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1010 !important;
}

header.am-header.am-topbar-yeb .am-header-left,
header.am-header.am-topbar-yeb .yeb-topbar-left {
    position: absolute !important;
    left: 10px !important;
    right: auto !important;
    top: 0 !important;
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    height: var(--yeb-topbar-height) !important;
    z-index: 10 !important;
    overflow: visible !important;
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-box-align: center !important;
    -webkit-align-items: center !important;
    align-items: center !important;
    -webkit-box-pack: start !important;
    -webkit-justify-content: flex-start !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    -webkit-box-flex: 0 !important;
    -webkit-flex: 0 0 auto !important;
    flex: 0 0 auto !important;
}

header.am-header.am-topbar-yeb .am-header-right.am-header-nav,
header.am-header.am-topbar-yeb .am-header-right {
    position: absolute !important;
    right: 10px !important;
    left: auto !important;
    top: 0 !important;
    width: auto !important;
    min-width: 44px !important;
    max-width: 52% !important;
    height: var(--yeb-topbar-height) !important;
    z-index: 2 !important;
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-box-align: center !important;
    -webkit-align-items: center !important;
    align-items: center !important;
    -webkit-box-pack: end !important;
    -webkit-justify-content: flex-end !important;
    justify-content: flex-end !important;
    -webkit-flex-wrap: nowrap !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    -webkit-box-flex: 0 !important;
    -webkit-flex: 0 0 auto !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
}

header.am-header.am-topbar-yeb .am-header-right > * + * {
    margin-left: 8px;
}

header.am-header.am-topbar-yeb .am-header-right a {
    color: #0f172a !important;
}

header.am-header.am-topbar-yeb .am-header-right .iconfont,
header.am-header.am-topbar-yeb .am-header-right em {
    color: #0f172a !important;
}

header.am-header.am-topbar-yeb h1.am-header-title,
header.am-header.am-topbar-yeb div.am-header-title:not(.winners_tab) {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    text-align: center !important;
    color: #0f172a !important;
    font-size: var(--yeb-topbar-title-size) !important;
    font-weight: 400 !important;
    line-height: var(--yeb-topbar-height) !important;
    height: var(--yeb-topbar-height) !important;
    margin: 0 !important;
    padding: 0 1.4rem !important;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
    width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    z-index: 1 !important;
    -webkit-align-self: center !important;
    align-self: center !important;
    float: none !important;
    -webkit-box-flex: 0 !important;
    -webkit-flex: 0 0 auto !important;
    flex: 0 0 auto !important;
    display: block !important;
}

header.am-header.am-topbar-yeb h1.am-header-title {
    pointer-events: none;
}

header.am-header.am-topbar-yeb div.winners_tab.am-header-title,
header.am-header.am-topbar-yeb div.am-header-title.winners_tab {
    pointer-events: auto !important;
    white-space: normal !important;
    text-overflow: initial !important;
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: 50% !important;
    -webkit-transform: translate(-50%, -50%) !important;
    transform: translate(-50%, -50%) !important;
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 100px) !important;
    max-width: min(280px, calc(100% - 100px)) !important;
    min-height: 32px !important;
    max-height: 40px !important;
    height: auto !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    z-index: 2 !important;
    overflow: visible !important;
    -webkit-justify-content: center !important;
    justify-content: center !important;
    -webkit-flex-direction: row !important;
    flex-direction: row !important;
    -webkit-align-items: center !important;
    align-items: center !important;
    padding: 0 2px !important;
    font-size: inherit !important;
    font-weight: 400 !important;
}

header.am-header.am-topbar-yeb div.winners_tab.am-header-title em,
header.am-header.am-topbar-yeb div.am-header-title.winners_tab em {
    font-weight: 400 !important;
    font-style: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
}

header.am-header.am-topbar-yeb h1.am-header-title.header_logo {
    pointer-events: auto !important;
    white-space: normal !important;
    line-height: normal !important;
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-box-align: center !important;
    -webkit-align-items: center !important;
    align-items: center !important;
    -webkit-box-pack: center !important;
    -webkit-justify-content: center !important;
    justify-content: center !important;
    padding: 0 0.4rem !important;
    height: var(--yeb-topbar-height) !important;
}

header.am-header.am-topbar-yeb h1.am-header-title.header_logo img {
    max-height: 34px;
    width: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

body.login-page header.am-header.am-topbar-yeb {
    height: auto !important;
    min-height: var(--yeb-topbar-height) !important;
    min-height: calc(var(--yeb-topbar-height) + constant(safe-area-inset-top)) !important;
    min-height: calc(var(--yeb-topbar-height) + env(safe-area-inset-top, 0px)) !important;
    padding: 0 10px 0 !important;
    padding: constant(safe-area-inset-top) 10px 0 !important;
    padding: env(safe-area-inset-top, 0px) 10px 0 !important;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
}

body.login-page header.am-header.am-topbar-yeb .am-header-left,
body.login-page header.am-header.am-topbar-yeb .yeb-topbar-left,
body.login-page header.am-header.am-topbar-yeb .am-header-right.am-header-nav,
body.login-page header.am-header.am-topbar-yeb .am-header-right {
    top: 0 !important;
    top: constant(safe-area-inset-top) !important;
    top: env(safe-area-inset-top, 0px) !important;
    height: var(--yeb-topbar-height) !important;
}

body.login-page header.am-header.am-topbar-yeb h1.am-header-title,
body.login-page header.am-header.am-topbar-yeb div.am-header-title {
    top: 0 !important;
    top: constant(safe-area-inset-top) !important;
    top: env(safe-area-inset-top, 0px) !important;
    height: var(--yeb-topbar-height) !important;
    line-height: var(--yeb-topbar-height) !important;
}

body.login-page header.am-header.am-topbar-yeb .am-header-left a {
    -webkit-tap-highlight-color: rgba(15, 23, 42, 0.08);
}

@media (max-width: 420px) {
    header.am-header.am-topbar-yeb h1.am-header-title:not(.header_logo) {
        padding-left: 0.55rem !important;
        padding-right: 0.55rem !important;
    }
}
@media (max-width: 360px) {
    header.am-header.am-topbar-yeb h1.am-header-title:not(.header_logo) {
        padding-left: 0.4rem !important;
        padding-right: 0.4rem !important;
    }
}
