:root {
    --phoenix-red: #e93323;
    --phoenix-red-hover: #d42a1c;
    --phoenix-text: #222;
    --phoenix-text-muted: #666;
    --phoenix-nav-bg: #fff;
    --phoenix-border: #e3eaf2;
    --phoenix-font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

body.has-phoenix-header {
    padding-top: 84px;
}

body.has-phoenix-header .header-plus,
body.has-phoenix-header .site-header {
    display: none !important;
}

body.sport-news-body.has-phoenix-header #liansai-wrap {
    top: 84px;
}

.sn-phoenix-header {
    background: #fff;
    border-bottom: 1px solid #edf1f6;
    color: var(--phoenix-text);
    font-family: var(--phoenix-font);
    font-weight: 600;
    -webkit-font-smoothing: antialiased;
    left: 0;
    overflow: visible;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
}

.sn-phoenix-header,
.sn-phoenix-header * {
    box-sizing: border-box;
}

.sn-phoenix-header .sn-phoenix-logo,
.sn-phoenix-header .sn-phoenix-nav-shell,
.sn-phoenix-header .sn-phoenix-nav,
.sn-phoenix-header .sn-phoenix-nav-item,
.sn-phoenix-header .sn-phoenix-tools,
.sn-phoenix-header .sn-phoenix-balance,
.sn-phoenix-header .sn-phoenix-user,
.sn-phoenix-header .sn-phoenix-register-wrap {
    float: none !important;
}

.sn-phoenix-inner {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    gap: 20px;
    height: 84px;
    margin: 0 auto;
    overflow: visible;
    padding: 0 8px;
    width: 1200px;
}

.sn-phoenix-header.is-login .sn-phoenix-inner {
    gap: 12px;
}

.sn-phoenix-logo {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    text-decoration: none;
}

.sn-phoenix-logo img {
    display: block;
    height: 50px;
    width: auto;
}

.sn-phoenix-nav-shell {
    background: var(--phoenix-nav-bg);
    border: 1px solid #ececec;
    border-radius: 999px;
    flex: 1;
    min-width: 0;
    padding: 4px 8px;
}

.sn-phoenix-nav {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 2px;
    justify-content: space-between;
    min-width: 0;
}

.sn-phoenix-header.is-login .sn-phoenix-nav-link,
.sn-phoenix-header.is-login a.sn-phoenix-nav-link,
.sn-phoenix-header.is-login a.sn-phoenix-nav-link:link,
.sn-phoenix-header.is-login a.sn-phoenix-nav-link:visited {
    font-size: 14px;
    padding: 0 10px;
}

.sn-phoenix-nav-item {
    position: relative;
}

.sn-phoenix-nav-link,
a.sn-phoenix-nav-link,
a.sn-phoenix-nav-link:link,
a.sn-phoenix-nav-link:visited {
    align-items: center;
    border-radius: 999px;
    color: #222;
    display: inline-flex;
    font-size: 15px;
    font-weight: 600;
    gap: 4px;
    line-height: 36px;
    padding: 0 18px;
    position: relative;
    text-decoration: none;
    transition: color .15s ease, background .15s ease;
    white-space: nowrap;
}

a.sn-phoenix-nav-link:hover,
.sn-phoenix-nav-link:hover {
    color: var(--phoenix-red);
    text-decoration: none;
}

.sn-phoenix-header a.sn-phoenix-nav-link.is-active,
.sn-phoenix-header a.sn-phoenix-nav-link.is-active:link,
.sn-phoenix-header a.sn-phoenix-nav-link.is-active:visited,
.sn-phoenix-header a.sn-phoenix-nav-link.is-active:hover,
.sn-phoenix-header a.sn-phoenix-nav-link.is-active:active,
.sn-phoenix-header a.sn-phoenix-nav-link.is-active:focus,
.sn-phoenix-nav-link.is-active {
    background: var(--phoenix-red);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.sn-phoenix-nav-link.is-active .sn-phoenix-nav-arrow {
    border-color: #fff transparent transparent;
}

.sn-phoenix-dot {
    background: var(--phoenix-red);
    border-radius: 50%;
    height: 6px;
    position: absolute;
    right: 8px;
    top: 8px;
    width: 6px;
}

.sn-phoenix-nav-link.is-active .sn-phoenix-dot {
    background: #fff;
}

.sn-phoenix-nav-arrow {
    border-color: var(--phoenix-text-muted) transparent transparent;
    border-style: solid;
    border-width: 4px 4px 0;
    display: inline-block;
    height: 0;
    margin-top: 2px;
    width: 0;
}

.sn-phoenix-nav-shell,
.sn-phoenix-nav {
    overflow: visible;
}

.sn-phoenix-dropdown {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .1);
    display: none;
    left: 50%;
    min-width: 120px;
    padding: 6px 0;
    position: absolute;
    top: 100% !important;
    margin-top: 0;
    transform: translateX(-50%);
    z-index: 30;
}

.sn-phoenix-nav-games::after {
    content: "";
    display: none;
    height: 48px;
    left: 0;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 29;
}

.sn-phoenix-nav-games:hover::after {
    display: block;
}

.sn-phoenix-nav-item:hover .sn-phoenix-dropdown {
    display: block;
}

.sn-phoenix-dropdown a {
    color: #555;
    display: block;
    font-size: 13px;
    font-weight: 600;
    line-height: 34px;
    padding: 0 14px;
    text-decoration: none;
    white-space: nowrap;
}

.sn-phoenix-dropdown a:hover {
    background: #fafafa;
    color: var(--phoenix-red);
}

.sn-phoenix-games-dropdown {
    min-width: 208px;
    padding: 0;
}

.sn-phoenix-games-dropdown .sn-phoenix-games-all {
    background: var(--phoenix-red);
    border-radius: 10px 10px 0 0;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 40px;
    text-align: center;
}

.sn-phoenix-games-dropdown .sn-phoenix-games-all:hover {
    background: var(--phoenix-red-hover);
    color: #fff;
}

.sn-phoenix-games-item {
    align-items: center;
    border-bottom: 1px solid #eaeaea;
    color: #333 !important;
    display: flex !important;
    height: 48px;
    line-height: 48px !important;
    padding: 0 10px !important;
}

.sn-phoenix-games-item:last-child {
    border-bottom: none;
}

.sn-phoenix-games-item:hover {
    background: #fafafa;
    color: var(--phoenix-red) !important;
}

.sn-phoenix-games-icon {
    flex-shrink: 0;
    text-align: center;
    width: 40px;
}

.sn-phoenix-games-icon img {
    display: block;
    height: 28px;
    margin: 0 auto;
    width: 28px;
}

.sn-phoenix-games-name {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    padding-left: 6px;
}

.sn-phoenix-nav-games .sn-phoenix-dropdown {
    max-height: 70vh;
    overflow-y: auto;
}

.sn-phoenix-tools {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    gap: 10px;
    height: 36px;
    overflow: visible;
}

.sn-phoenix-tools-login {
    gap: 8px;
    max-width: 420px;
}

.sn-phoenix-pill-btn,
a.sn-phoenix-pill-btn,
a.sn-phoenix-pill-btn:link,
a.sn-phoenix-pill-btn:visited {
    align-items: center;
    background: #fff;
    border: 1px solid var(--phoenix-border);
    border-radius: 999px;
    box-sizing: border-box;
    color: var(--phoenix-text);
    display: inline-flex;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    height: 36px;
    justify-content: center;
    line-height: 1;
    min-width: 72px;
    padding: 0 18px;
    text-decoration: none;
    white-space: nowrap;
}

a.sn-phoenix-pill-btn:hover,
a.sn-phoenix-pill-btn:active {
    border-color: var(--phoenix-red);
    color: var(--phoenix-red);
}

.sn-phoenix-btn-primary,
a.sn-phoenix-btn-primary,
a.sn-phoenix-btn-primary:link,
a.sn-phoenix-btn-primary:visited,
a.sn-phoenix-btn-primary:hover,
a.sn-phoenix-btn-primary:active {
    align-items: center;
    background: var(--phoenix-red);
    border: none;
    border-radius: 999px;
    box-sizing: border-box;
    color: #fff;
    display: inline-flex;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    height: 36px;
    justify-content: center;
    line-height: 1;
    min-width: 92px;
    padding: 0 20px;
    text-decoration: none;
    white-space: nowrap;
}

a.sn-phoenix-btn-primary:hover,
a.sn-phoenix-btn-primary:active {
    background: var(--phoenix-red-hover);
    color: #fff;
}

.sn-phoenix-register-wrap {
    align-items: center;
    display: inline-flex;
    flex-shrink: 0;
    height: 36px;
    position: relative;
}

.sn-phoenix-register-wrap .sn-phoenix-promo-badge {
    background: var(--phoenix-red);
    border-radius: 10px;
    bottom: calc(100% - 2px);
    box-shadow: 0 2px 6px rgba(233, 51, 35, .28);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    left: auto;
    line-height: 16px;
    padding: 2px 8px;
    pointer-events: none;
    position: absolute;
    right: -50px;
    transform: translateX(12%);
    white-space: nowrap;
    z-index: 5;
}

.sn-phoenix-register-wrap .sn-phoenix-promo-badge::after {
    border-color: var(--phoenix-red) transparent transparent;
    border-style: solid;
    border-width: 3px 3px 0;
    bottom: -3px;
    content: "";
    position: absolute;
    right: 16px;
}

.sn-phoenix-register-wrap .sn-phoenix-btn-primary {
    position: relative;
    z-index: 1;
}

.sn-phoenix-guest-trial,
a.sn-phoenix-guest-trial,
a.sn-phoenix-guest-trial:link,
a.sn-phoenix-guest-trial:visited {
    align-items: center;
    color: var(--phoenix-text);
    display: inline-flex;
    font-size: 14px;
    font-weight: 600;
    height: 36px;
    line-height: 1;
    padding: 0 4px;
    text-decoration: none;
    white-space: nowrap;
}

a.sn-phoenix-guest-trial:hover,
a.sn-phoenix-guest-trial:active {
    color: var(--phoenix-red);
}

.sn-phoenix-header.is-login .sn-phoenix-btn-primary,
.sn-phoenix-header.is-login a.sn-phoenix-btn-primary {
    min-width: 64px;
    padding: 0 14px;
}

.sn-phoenix-balance {
    align-items: center;
    background: #f5f5f5;
    border-radius: 999px;
    display: inline-flex;
    flex-shrink: 0;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
}

.sn-phoenix-balance .label {
    color: #999;
    font-size: 12px;
}

.sn-phoenix-balance .amount {
    color: #b8860b;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

.sn-phoenix-link {
    color: #666;
    font-size: 13px;
    font-weight: 600;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
}

.sn-phoenix-link:hover {
    color: var(--phoenix-red);
}

.sn-phoenix-msg .dot {
    background: var(--phoenix-red);
    border-radius: 50%;
    height: 6px;
    position: absolute;
    right: -6px;
    top: -2px;
    width: 6px;
}

.sn-phoenix-user {
    position: relative;
}

.sn-phoenix-user-btn {
    align-items: center;
    background: #fff;
    border: 1px solid var(--phoenix-border);
    border-radius: 999px;
    color: var(--phoenix-text);
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
    gap: 6px;
    height: 34px;
    outline: none;
    padding: 0 12px;
}

.sn-phoenix-user-btn .arrow {
    border-color: #999 transparent transparent;
    border-style: solid;
    border-width: 4px 4px 0;
    display: inline-block;
    height: 0;
    width: 0;
}

.sn-phoenix-user-menu {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .1);
    display: none;
    min-width: 120px;
    padding: 6px 0;
    position: absolute;
    right: 0;
    top: 40px;
    z-index: 30;
}

.sn-phoenix-user.is-open .sn-phoenix-user-menu {
    display: block;
}

.sn-phoenix-user-menu a {
    color: #555;
    display: block;
    font-size: 13px;
    line-height: 34px;
    padding: 0 14px;
    text-decoration: none;
}

.sn-phoenix-user-menu a:hover {
    background: #fafafa;
    color: var(--phoenix-red);
}

.sn-phoenix-release-btn {
    display: none !important;
    flex-shrink: 0;
    margin-left: 8px;
    border: 0;
    border-radius: 8px;
    padding: 8px 12px;
    background: #fff7ed;
    color: #9a3412;
    font: 600 12px/1.3 var(--phoenix-font);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(154, 52, 18, .12);
}
.sn-phoenix-release-btn.is-on {
    display: inline-flex !important;
    align-items: center;
}
.sn-phoenix-release-btn:hover {
    background: #ffedd5;
}
