* {
    box-sizing: border-box;
}

:root {
    --member-design-width: 390px;
    --member-mobile-scale: 1;
    --member-mobile-height: 100vh;
    --member-scaled-height: 100vh;
    --member-modal-top: 72px;
    --member-receipt-bottom-gap: 0px;
}

html,
body {
    margin: 0;
    min-height: 100%;
    max-width: 100%;
    overflow-x: hidden;
    touch-action: manipulation;
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 14px;
    color: #111;
    background: #eee;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

button,
input {
    font: inherit;
}

.member-shell,
button,
input,
select,
textarea,
label,
[role="button"] {
    touch-action: manipulation;
}

[hidden] {
    display: none !important;
}

.member-shell {
    width: 100%;
    min-height: 100vh;
}

html.member-mobile-scale-enabled,
html.member-mobile-scale-enabled body {
    width: 100%;
    min-height: var(--member-mobile-height);
    overflow-x: hidden;
}

html.member-mobile-scale-enabled .member-shell {
    width: 100%;
    max-width: 100vw;
    min-height: var(--member-mobile-height);
    transform: none;
}

html.member-mobile-scale-enabled .login-page,
html.member-mobile-scale-enabled .notice-page,
html.member-mobile-scale-enabled .member-main-page,
html.member-mobile-scale-enabled .member-content-panel,
html.member-mobile-scale-enabled #memberQuickSelectMount,
html.member-mobile-scale-enabled .huiyuan2-quickselect-layout {
    min-height: var(--member-mobile-height);
}

.login-page {
    min-height: 100vh;
    background: #e9e9e9;
}

.login-panel {
    width: 100%;
}

.panel-title {
    height: 42px;
    line-height: 42px;
    text-align: center;
    font-weight: 700;
    background: #f7f7f7;
    border: 1px solid #ddd;
}

.login-row {
    display: grid;
    grid-template-columns: 64px 1fr;
    align-items: center;
    height: 44px;
    border-bottom: 1px solid #e3e3e3;
    background: #fff;
}

.login-row span {
    padding-left: 10px;
}

.login-row input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    text-align: center;
    color: #333;
    background: transparent;
}

.login-row input::placeholder {
    color: #777;
}

.login-message {
    min-height: 22px;
    padding: 4px 10px 0;
    color: #d60000;
    text-align: center;
    background: #e9e9e9;
}

.submit-button {
    display: block;
    width: calc(100% - 20px);
    height: 30px;
    margin: 0 10px;
    border: 0;
    border-radius: 2px;
    color: #fff;
    font-weight: 700;
    background: #1296db;
    cursor: pointer;
}

.submit-button:disabled {
    cursor: wait;
    opacity: .7;
}

.notice-page {
    min-height: 100vh;
    padding: 8px;
    background: #fff;
}

.notice-box {
    border: 1px solid #333;
    background: #fff;
}

.notice-title {
    height: 24px;
    line-height: 24px;
    text-align: center;
    font-weight: 700;
    background: #c9c9d1;
    border-bottom: 1px solid #333;
}

.notice-content {
    min-height: 394px;
    padding: 10px 12px 8px;
    line-height: 2.05;
}

.notice-content p {
    margin: 0 0 2px;
}

.notice-content strong {
    color: #ff0000;
}

.notice-special {
    color: #ff0000;
}

.notice-actions {
    padding: 4px 0 12px;
    text-align: center;
}

.notice-confirm-text {
    margin-bottom: 8px;
}

.notice-button {
    min-width: 36px;
    height: 24px;
    padding: 0 10px;
    border: 0;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
}

.notice-button-primary {
    background: #1296db;
}

.notice-button-primary:disabled {
    cursor: not-allowed;
    opacity: .95;
}

.notice-button-muted {
    background: #c9c9d1;
}

.member-main-page {
    width: 100%;
    min-height: 100vh;
    padding: 6px 7px 0;
    background: #f3f3f3;
}

.member-topbar {
    border-radius: 4px 4px 0 0;
    text-align: center;
    background: #4d9834;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    overflow: visible;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .28);
    position: relative;
    z-index: 2;
}

.member-title {
    padding-top: 4px;
    color: #ffd600;
    font-size: 21px;
    line-height: 24px;
    font-weight: 900;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .28);
}

.member-summary {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    min-height: 18px;
    line-height: 18px;
    font-weight: 900;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .22);
}

.member-subnav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 27px;
    padding: 2px 0 4px;
    background: #fff;
    border-bottom: 1px solid #cfcfcf;
}

.member-subnav button {
    border: 0;
    padding: 0;
    color: #0070c0;
    font-size: 15px;
    line-height: 19px;
    font-weight: 900;
    background: transparent;
    cursor: pointer;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}

.member-subnav button.active,
.member-subnav button:hover {
    color: #ff0000;
}

.member-more-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.member-more-menu {
    position: absolute;
    top: 24px;
    left: 50%;
    z-index: 10;
    width: 84px;
    transform: translateX(-50%);
    border: 1px solid #fff;
    background: #ff5a25;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .25);
}

.member-more-menu button {
    display: block;
    width: 100%;
    height: 29px;
    border: 0;
    border-bottom: 1px solid #fff;
    color: #fff;
    font-size: 14px;
    line-height: 29px;
    font-weight: 900;
    text-align: center;
    background: #ff5a25;
    cursor: pointer;
}

.member-more-menu button:last-child {
    border-bottom: 0;
}

.member-more-menu button:hover,
.member-more-menu button.active {
    color: #fff;
    background: #e94918;
}

.member-content-area {
    margin-top: 13px;
    min-height: calc(100vh - 102px);
    border: 1px solid #b9e7b0;
    background: #fff;
    box-shadow: inset 0 1px 0 #f8f8f8;
}

.member-content-panel {
    width: 100%;
    min-height: calc(100vh - 102px);
}

.member-section-strip,
.member-current-row,
.member-bet-confirm-title {
    height: 24px;
    line-height: 24px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #111;
    background: #e0f8d9;
    border-bottom: 1px solid #b9e7b0;
}

.member-open-state {
    height: 200px;
    display: none;
    align-items: center;
    justify-content: center;
    color: #111;
    font-size: 12px;
    font-weight: 700;
    border-bottom: 1px solid #b9e7b0;
}

.member-quick-panel.is-closed .member-open-state {
    display: flex;
}

.member-quick-panel.is-closed [data-runtime-open-only] {
    display: none;
}

.member-current-row {
    display: grid;
    grid-template-columns: 1fr 90px 1fr;
    align-items: center;
    text-align: left;
}

.member-current-row span {
    padding-left: 8px;
}

.member-current-row select {
    width: 70px;
    height: 20px;
    margin: 0 auto;
    font-size: 12px;
}

.member-kuaida-open {
    width: 100%;
    background: #fff;
}

.member-kuaida-current-scroll {
    max-height: 526px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.member-kuaida-current-scroll::-webkit-scrollbar {
    display: none;
}

.member-kuaida-current-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 12px;
}

.member-kuaida-current-table th,
.member-kuaida-current-table td {
    height: 25px;
    border: 1px solid #b9e7b0;
    text-align: center;
    vertical-align: middle;
    background: #fbfbfb;
}

.member-kuaida-current-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f2f6f8;
    font-weight: 700;
}

.member-kuaida-number {
    color: #079b35;
    font-weight: 900;
}

.member-xian-mark {
    color: #ff1a1a;
    font-weight: 900;
}

.member-kuaida-amount {
    color: #ff1a1a;
    font-weight: 900;
}

.member-kuaida-current-table th:nth-child(1),
.member-kuaida-current-table td:nth-child(1),
.member-kuaida-current-table th:nth-child(2),
.member-kuaida-current-table td:nth-child(2),
.member-kuaida-current-table th:nth-child(3),
.member-kuaida-current-table td:nth-child(3),
.member-kuaida-current-table th:nth-child(4),
.member-kuaida-current-table td:nth-child(4) {
    width: 25%;
}

.member-kuaida-select-head input,
.member-bet-confirm-table input {
    width: 13px;
    height: 13px;
    margin-left: 2px;
    vertical-align: -2px;
}

.member-kuaida-select-head button {
    min-width: 40px;
    height: 22px;
    margin-left: 4px;
    border: 0;
    border-radius: 4px;
    color: #fff;
    background: #1296db;
    font-size: 12px;
    font-weight: 700;
    line-height: 22px;
    cursor: pointer;
}

.member-kuaida-empty {
    height: 35px;
    color: #666;
}

.member-kuaida-tools {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-bottom: 1px solid #b9e7b0;
    background: #fff;
}

.member-kuaida-tools button,
.member-kuaida-input-row button {
    min-width: 48px;
    height: 26px;
    border: 0;
    border-radius: 4px;
    color: #fff;
    background: #1296db;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.member-kuaida-mode-row {
    height: 24px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding-left: 5px;
    border-bottom: 1px solid #b9e7b0;
    background: #e0f8d9;
    font-size: 12px;
    font-weight: 700;
}

.member-kuaida-mode-row label {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.member-kuaida-mode-row input {
    width: 13px;
    height: 13px;
    margin: 0;
}

.member-kuaida-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 38px;
    border-bottom: 1px solid #b9e7b0;
    background: #fff;
}

.member-kuaida-input-row label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    height: 100%;
    padding-left: 5px;
    border-right: 1px solid #b9e7b0;
    font-size: 18px;
    font-weight: 700;
}

.member-kuaida-input-row label:last-child {
    border-right: 0;
}

.member-kuaida-input-row input {
    width: 88px;
    height: 30px;
    border: 1px solid #888;
    padding: 0 4px;
    font-size: 18px;
}

.member-kuaida-xian-marker {
    color: #ff1a1a;
    font-size: 12px;
}

.member-kuaida-keypad {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-bottom: 1px solid #b9e7b0;
    background: #fff;
}

.member-kuaida-keypad button {
    height: 33px;
    border: 1px solid #b9e7b0;
    color: #ffff00;
    background: #367c2a;
    font-size: 20px;
    line-height: 33px;
    font-weight: 900;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.member-kuaida-open.is-number-ready .member-kuaida-keypad button {
    background: #e4147b;
}

.member-kuaida-keypad button:last-child {
    font-size: 18px;
}

.member-kuaida-meta {
    min-height: 24px;
    line-height: 24px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid #b9e7b0;
    color: #1b5f14;
    background: #e0f8d9;
    font-size: 12px;
    font-weight: 700;
}

.member-kuaida-meta[hidden] {
    display: none;
}

.member-kuaida-meta span:nth-child(2) {
    color: #1296db;
}

.member-kuaida-meta span:nth-child(3) {
    color: #ff1a1a;
}

.member-kuaida-meta.is-error {
    color: #c40000;
}

.member-kuaida-meta.is-error span {
    color: inherit;
}

.member-kuaida-stop-row {
    grid-template-columns: 2fr 90px 1fr;
    margin-top: 8px;
    border-top: 1px solid #b9e7b0;
}

.member-kuaida-stop-row span {
    padding-left: 8px;
}

.member-kuaida-stop-row select {
    justify-self: center;
}

.member-kuaida-protect-title {
    margin-top: 8px;
    border-top: 1px solid #b9e7b0;
}

.member-kuaida-protect-table {
    grid-template-columns: 1fr 1fr;
}

.member-bet-table,
.member-bet-confirm-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #b9e7b0;
}

.member-bet-confirm-table.member-kuaida-stop-table {
    grid-template-columns: 1fr 1fr 1fr;
    max-height: 588px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.member-bet-confirm-table.member-kuaida-stop-table::-webkit-scrollbar {
    display: none;
}

.member-bet-confirm-table.member-kuaida-stop-table div:nth-child(-n + 3) {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #fff;
}

.member-bet-head,
.member-bet-cell,
.member-bet-confirm-table div {
    min-height: 28px;
    line-height: 28px;
    text-align: center;
    border-right: 1px solid #b9e7b0;
    color: #111;
    font-size: 12px;
}

.member-bet-head:nth-child(2),
.member-bet-cell:nth-child(4),
.member-bet-confirm-table div:last-child {
    border-right: 0;
}

.member-bet-cell input {
    width: 90%;
    height: 22px;
    border: 0;
    outline: 0;
    text-align: center;
    background: transparent;
}

.member-bet-summary {
    height: 38px;
    line-height: 38px;
    padding-left: 8px;
    color: #111;
    font-size: 12px;
    font-weight: 700;
    border-bottom: 1px solid #b9e7b0;
}

.member-bet-actions {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #b9e7b0;
    background: #fff;
}

.member-bet-actions button {
    min-width: 46px;
    height: 24px;
    border: 0;
    border-radius: 4px;
    color: #fff;
    background: #1296db;
    cursor: pointer;
}

.member-empty-text {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 12px;
    font-weight: 700;
}

.member-profile-card {
    border-bottom: 1px solid #b9e7b0;
    background: #fff;
}

.member-profile-info-table,
.member-profile-limit-table,
.member-history-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 12px;
}

.member-profile-info-table th,
.member-profile-info-table td,
.member-profile-limit-table th,
.member-profile-limit-table td,
.member-history-table th,
.member-history-table td {
    height: 22px;
    border: 1px solid #b9e7b0;
    text-align: center;
    vertical-align: middle;
    background: #fbfbfb;
}

.member-profile-info-table th {
    width: 25%;
    text-align: left;
    padding-left: 6px;
    font-weight: 700;
    background: #fbfbfb;
}

.member-profile-info-table td {
    text-align: left;
    padding-left: 8px;
}

.member-profile-limit-table select {
    min-width: 74px;
    max-width: 100%;
}

.member-profile-mode-title {
    text-align: left !important;
    padding-left: 6px;
    font-weight: 700;
    background: #e0f8d9 !important;
}

.member-profile-sale-input {
    width: 185px;
    height: 20px;
    border: 1px solid #888;
    padding: 0 4px;
    font-size: 12px;
}

.member-profile-sale-row {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: auto;
}

.member-profile-sale-row span {
    font-weight: 700;
}

.member-profile-actions {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-bottom: 1px solid #b9e7b0;
    background: #fff;
}

.member-profile-actions button {
    min-width: 48px;
    height: 24px;
    border: 0;
    border-radius: 4px;
    color: #fff;
    background: #1296db;
    cursor: pointer;
}

.member-profile-actions button:disabled {
    cursor: wait;
    opacity: .75;
}

#memberProfileMessage {
    color: #168300;
    font-weight: 700;
}

#memberProfileMessage.is-error {
    color: #d60000;
}

.member-profile-limit-table th,
.member-history-table th,
.member-detail-table th,
.member-log-table th,
.member-profile-group-row td {
    background: #e0f8d9;
    font-weight: 700;
}

.member-detail-title-bar {
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid #b9e7b0;
    border-bottom: 0;
    color: #111;
    background: #e0f8d9;
    font-size: 12px;
    font-weight: 700;
}

.member-detail-title-bar button {
    height: 21px;
    min-width: 54px;
    border: 0;
    border-radius: 4px;
    padding: 0 7px;
    color: #fff;
    background: #1296db;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.member-detail-title-bar button.active {
    background: #ff7b00;
}

.member-detail-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 12px;
}

.member-detail-table th,
.member-detail-table td {
    height: 25px;
    border: 1px solid #b9e7b0;
    padding: 2px 6px;
    text-align: center;
    vertical-align: middle;
    background: #fbfbfb;
}

.member-detail-table th:nth-child(1),
.member-detail-table td:nth-child(1) {
    width: 20%;
    font-weight: 700;
}

.member-detail-table th:nth-child(2),
.member-detail-table td:nth-child(2),
.member-detail-table th:nth-child(3),
.member-detail-table td:nth-child(3),
.member-detail-table th:nth-child(4),
.member-detail-table td:nth-child(4),
.member-detail-table th:nth-child(5),
.member-detail-table td:nth-child(5) {
    width: 20%;
}

.member-detail-select-head {
    white-space: nowrap;
}

.member-detail-select-head input {
    width: 13px;
    height: 13px;
    margin: 0 0 0 2px;
    vertical-align: -2px;
}

.member-detail-empty {
    color: #666;
    font-weight: 400 !important;
}

.member-detail-total-row td {
    background: #fff;
    font-weight: 700;
}

.member-detail-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 0;
    color: #111;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
}

.member-detail-pagination strong {
    color: #ff2600;
}

.member-detail-pagination button {
    min-width: 0;
    height: auto;
    border: 0;
    border-radius: 0;
    padding: 0;
    color: #153dce;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.member-detail-pagination button:disabled {
    cursor: default;
    color: #999;
    opacity: 1;
}

.member-detail-pagination input {
    width: 34px;
    height: 18px;
    border: 1px solid #9a9a9a;
    padding: 0 3px;
    font-size: 12px;
}

#memberDetailGoButton {
    min-width: 30px;
    height: 20px;
    border-radius: 6px;
    padding: 0 6px;
    color: #fff;
    background: #b8bec6;
}

.member-log-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 12px;
}

.member-log-table th,
.member-log-table td {
    height: 25px;
    border: 1px solid #b9e7b0;
    padding: 2px 6px;
    vertical-align: middle;
    background: #fbfbfb;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-log-table th:nth-child(1),
.member-log-table td:nth-child(1),
.member-log-table th:nth-child(2),
.member-log-table td:nth-child(2) {
    width: 54px;
    text-align: left;
}

.member-log-table th:nth-child(4),
.member-log-table td:nth-child(4) {
    width: 104px;
    text-align: left;
}

.member-log-operation {
    color: #111;
    line-height: 25px;
}

.member-log-highlight {
    color: #ff0000;
}

.member-log-empty {
    text-align: center;
    color: #666;
}

.member-log-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 8px 0;
    background: #fff;
}

.member-log-pagination button {
    min-width: 58px;
    height: 24px;
    border: 1px solid #9ecf98;
    border-radius: 2px;
    color: #111;
    background: #f5fff2;
    cursor: pointer;
}

.member-log-pagination button:disabled {
    cursor: default;
    opacity: .45;
}

.member-profile-group-row td {
    text-align: left;
    color: #0047b3;
}

.member-profile-limit-table th:first-child,
.member-profile-limit-table td:first-child {
    width: 22px;
    padding: 0;
}

.member-profile-limit-table th:nth-child(2),
.member-profile-limit-table td:nth-child(2) {
    width: 34%;
    text-align: left;
    padding-left: 6px;
}

.member-profile-limit-table th:nth-child(3),
.member-profile-limit-table td:nth-child(3),
.member-profile-limit-table th:nth-child(4),
.member-profile-limit-table td:nth-child(4) {
    width: 33%;
}

.member-profile-limit-table th:nth-child(3),
.member-profile-limit-table th:nth-child(4) {
    text-align: center;
}

.member-profile-limit-table td:nth-child(3),
.member-profile-limit-table td:nth-child(4) {
    text-align: left;
}

.member-profile-limit-table th:nth-child(2) {
    text-align: center;
}

.member-profile-limit-table select {
    width: auto;
    min-width: 64px;
}

.member-profile-group-row span {
    display: inline-flex;
    width: 18px;
    height: 18px;
    margin: 0 8px 0 5px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: #ffcf24;
    font-size: 16px;
    line-height: 18px;
}

.member-profile-limit-table select {
    width: 72px !important;
    min-width: 72px !important;
    height: 21px;
    font-size: 12px;
}

.member-profile-limit-table tr[data-play-code="xian2"] td:nth-child(4) select,
.member-profile-limit-table tr[data-play-code="xian3"] td:nth-child(4) select,
.member-profile-limit-table tr[data-play-code="xian4"] td:nth-child(4) select {
    width: max-content !important;
    min-width: 96px !important;
    max-width: 100%;
}

.member-profile-limit-table thead th {
    text-align: center;
}

.member-profile-limit-table tbody td {
    text-align: left;
}

.member-profile-limit-table tbody td:first-child {
    text-align: center;
}

.member-profile-limit-table tbody td:nth-child(3),
.member-profile-limit-table tbody td:nth-child(4) {
    padding-left: 6px;
}

.member-history-total-row td {
    background: #fff;
    font-weight: 700;
}

.member-history-table .is-loss {
    color: #001a9e;
    font-weight: 700;
}

.member-history-table .is-profit {
    color: #111;
    font-weight: 700;
}

.member-profile-save-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: var(--member-modal-top);
    background: rgba(0, 0, 0, .45);
}

.member-profile-save-modal[hidden] {
    display: none;
}

.member-profile-save-dialog {
    width: calc(100vw - 28px);
    min-height: 195px;
    border-radius: 2px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.member-profile-save-title {
    height: 40px;
    line-height: 40px;
    padding-left: 12px;
    border-bottom: 1px solid #d7dbe0;
    color: #111;
    font-size: 16px;
}

.member-profile-save-body {
    min-height: 82px;
    padding: 14px 12px;
    color: #111;
    font-size: 13px;
}

.member-profile-save-actions {
    display: flex;
    justify-content: center;
    padding-top: 3px;
}

.member-profile-save-actions button {
    min-width: 44px;
    height: 28px;
    border: 0;
    border-radius: 4px;
    color: #fff;
    background: #1296db;
    cursor: pointer;
}

.member-action-modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: var(--member-modal-top);
    background: rgba(0, 0, 0, .35);
}

.member-action-modal[hidden] {
    display: none;
}

.member-action-dialog {
    width: 310px;
    min-height: 150px;
    border-radius: 3px;
    background: #ffffff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .28);
    overflow: hidden;
}

.member-action-title {
    height: 34px;
    line-height: 34px;
    padding: 0 12px;
    border-bottom: 1px solid #d6dce3;
    color: #111;
    font-size: 14px;
    font-weight: 700;
}

.member-action-body {
    min-height: 60px;
    padding: 16px 14px 12px;
    color: #222;
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-line;
    text-align: left;
}

.member-action-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 6px 12px 14px;
}

.member-action-actions button {
    min-width: 56px;
    height: 28px;
    border: 0;
    border-radius: 4px;
    color: #ffffff;
    background: #1296db;
    cursor: pointer;
}

#memberActionModalCancel {
    background: #c9ced6;
    color: #ffffff;
}

.member-draw-title {
    height: 24px;
    line-height: 24px;
    padding-left: 6px;
    border-bottom: 1px solid #b9e7b0;
    color: #111;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
    background: #e0f8d9;
}

.member-draw-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 12px;
}

.member-draw-table th,
.member-draw-table td {
    height: 25px;
    border: 1px solid #b9e7b0;
    padding: 0 2px;
    text-align: center;
    vertical-align: middle;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    background: #fbfbfb;
}

.member-draw-table th:nth-child(1),
.member-draw-table td:nth-child(1) {
    width: 84px;
}

.member-draw-table th {
    height: 24px;
    background: #fff;
    font-weight: 700;
}

.member-draw-ball {
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 18px;
    background: #98009a;
}

.member-draw-ball.pending.main {
    background: #ff0000;
}

.member-draw-ball.extra {
    background: #83898c;
}

.member-draw-ball.pending.extra {
    background: #83898c;
}

.member-rule-paper,
.member-full-desc {
    min-height: calc(100vh - 126px);
    padding: 18px 16px;
    border-top: 1px solid #b9e7b0;
    color: #111;
    font-size: 13px;
    line-height: 2;
    background: #fff;
}

.member-rule-paper h3 {
    margin: 0 0 18px;
    text-align: center;
    font-size: 13px;
}

.member-rule-paper h4 {
    margin: 12px 0 8px;
    font-size: 13px;
}

.member-rule-paper p,
.member-full-desc p {
    margin: 0 0 8px;
}

.member-rule-paper span,
.member-rule-hot,
.member-full-desc strong,
.member-full-desc span {
    color: #ff0090;
    font-weight: 900;
}

.member-rule-table {
    width: 50%;
    min-width: 560px;
    margin: 8px 0;
    border-collapse: collapse;
    color: #ff0090;
}

.member-rule-table th,
.member-rule-table td {
    height: 26px;
    border: 1px solid #ff6aae;
    text-align: left;
    padding-left: 8px;
}

.member-full-desc {
    line-height: 2.2;
}

.member-full-desc ol {
    margin: 10px 0 0 18px;
    padding: 0;
}

.member-password-form {
    width: 100%;
    font-size: 13px;
}

.member-password-form label,
.member-password-rules {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    min-height: 34px;
    border-bottom: 1px solid #b9e7b0;
}

.member-password-form label span {
    padding-left: 8px;
}

.member-password-form input {
    width: 190px;
    max-width: calc(100% - 8px);
    height: 24px;
    border: 1px solid #8c8c8c;
}

.member-password-rules {
    padding: 0;
    font-size: 12px;
}

.member-password-rules-label {
    padding-left: 8px;
    color: #111;
    font-size: 13px;
}

.member-password-rules-list {
    min-width: 0;
    padding: 8px 8px 8px 0;
    color: #003cff;
    font-weight: 900;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.member-password-message {
    min-height: 28px;
    line-height: 28px;
    text-align: center;
    color: #d00000;
    font-weight: 700;
}

.member-password-message.success {
    color: #0f7a2a;
}

.member-password-form button {
    display: block;
    min-width: 48px;
    height: 26px;
    margin: 8px auto 0;
    border: 0;
    border-radius: 4px;
    color: #fff;
    font-weight: 700;
    background: #1296db;
    cursor: pointer;
}

.member-password-form button:disabled {
    cursor: wait;
    opacity: .7;
}

.member-line-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: var(--member-modal-top);
    background: rgba(0, 0, 0, .35);
}

.member-line-modal[hidden] {
    display: none;
}

.member-receipt-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: var(--member-modal-top) 8px 0;
    background: rgba(0, 0, 0, .35);
}

.member-receipt-modal[hidden] {
    display: none;
}

.member-receipt-dialog {
    width: min(560px, 100%);
    height: calc(var(--member-mobile-height, 100vh) - var(--member-modal-top) - var(--member-receipt-bottom-gap));
    max-height: calc(var(--member-mobile-height, 100vh) - var(--member-modal-top) - var(--member-receipt-bottom-gap));
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .32);
}

.member-receipt-title-row {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px 0 18px;
    border-bottom: 1px solid #ddd;
}

.member-receipt-title {
    font-size: 22px;
    line-height: 45px;
}

.member-receipt-close {
    width: 34px;
    height: 34px;
    border: 0;
    color: #c8cdd2;
    background: transparent;
    font-size: 38px;
    line-height: 30px;
    cursor: pointer;
}

.member-receipt-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid #8c8c8c;
    color: #777;
    font-size: 16px;
}

.member-receipt-toolbar span {
    white-space: nowrap;
}

.member-receipt-toolbar button,
.member-receipt-clear {
    min-width: 58px;
    height: 36px;
    border: 0;
    border-radius: 5px;
    color: #fff;
    background: #1296db;
    font-size: 16px;
    cursor: pointer;
}

.member-receipt-toolbar button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.member-receipt-toolbar .member-receipt-warn {
    margin-left: auto;
    background: #f5a300;
}

.member-receipt-toolbar .member-receipt-danger {
    background: #f56a00;
}

@media (max-width: 420px) {
    .member-receipt-modal {
        --member-receipt-bottom-gap: calc(18px + env(safe-area-inset-bottom));
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: var(--member-receipt-bottom-gap);
    }

    .member-receipt-dialog {
        width: min(520px, calc(100% - 20px));
    }

    .member-receipt-toolbar {
        gap: 4px;
        padding: 8px 6px;
        font-size: 13px;
    }

    .member-receipt-toolbar button,
    .member-receipt-clear {
        min-width: 42px;
        height: 30px;
        padding: 0 6px;
        font-size: 13px;
        white-space: nowrap;
    }

    .member-receipt-size-row {
        padding: 10px 12px;
        font-size: 13px;
    }

    .member-receipt-size-row select {
        font-size: 13px;
    }

    .member-receipt-paper {
        padding: 10px 12px 14px;
        font-size: 14px;
        line-height: 1.25;
    }

    .member-receipt-unit {
        font-size: 18px;
    }

    .member-receipt-game-title {
        padding: 4px 6px;
        font-size: 20px;
    }

    .member-receipt-notice {
        padding: 6px;
        font-size: 14px;
    }

    .member-receipt-meta {
        padding: 5px 6px;
        font-size: 14px;
    }

    .member-receipt-table th {
        font-size: 11px;
    }

    .member-receipt-table td {
        font-size: 17px;
    }

    .member-receipt-summary {
        padding: 6px;
        font-size: 15px;
    }

    .member-receipt-actions {
        padding: 6px;
    }

    .member-receipt-issue {
        padding: 6px 2px 0;
        font-size: 17px;
    }

    .member-receipt-grand-total {
        padding-top: 3px;
        font-size: 18px;
    }
}

.member-receipt-size-row {
    padding: 12px 18px;
    border-bottom: 1px solid #8c8c8c;
    color: #777;
    font-size: 16px;
}

.member-receipt-size-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    border-radius: 14px;
    background: #eef3f7;
}

.member-receipt-size-select-wrap::before,
.member-receipt-size-select-wrap::after {
    content: "";
    position: absolute;
    right: 7px;
    width: 0;
    height: 0;
    pointer-events: none;
}

.member-receipt-size-select-wrap::before {
    top: 8px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 5px solid #1296db;
}

.member-receipt-size-select-wrap::after {
    bottom: 8px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #1296db;
}

.member-receipt-size-row select {
    min-width: 48px;
    height: 28px;
    border: 0;
    border-radius: 14px;
    padding: 0 20px 0 8px;
    color: #1296db;
    background: transparent;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.member-receipt-paper {
    padding: 14px 18px 20px;
    color: #111;
    background: #fff;
    font-size: 18px;
    line-height: 1.35;
}

.member-receipt-unit {
    text-align: right;
    font-size: 22px;
}

.member-receipt-box {
    border: 1px solid #111;
}

.member-receipt-game-title {
    padding: 6px 8px;
    border-bottom: 1px solid #111;
    color: #ff0000;
    font-size: 24px;
    font-weight: 900;
    text-align: center;
}

.member-receipt-notice {
    padding: 8px;
    border-bottom: 1px solid #111;
    font-size: 20px;
    text-align: center;
}

.member-receipt-meta {
    padding: 6px 8px;
    border-bottom: 1px solid #111;
    font-size: 19px;
}

.member-receipt-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.member-receipt-table th,
.member-receipt-table td {
    border-right: 1px solid #111;
    border-bottom: 1px solid #111;
    text-align: center;
}

.member-receipt-table th:last-child,
.member-receipt-table td:last-child {
    border-right: 0;
}

.member-receipt-table th {
    font-size: 13px;
    font-weight: 400;
}

.member-receipt-table td {
    font-size: 22px;
}

.member-receipt-summary {
    padding: 7px 8px;
    border-bottom: 1px solid #111;
    font-size: 20px;
}

.member-receipt-actions {
    padding: 8px;
    border-bottom: 1px solid #111;
    text-align: center;
}

.member-receipt-issue {
    padding: 8px 2px 0;
    font-size: 21px;
}

.member-receipt-grand-total {
    padding-top: 4px;
    font-size: 22px;
    font-weight: 900;
}

.member-receipt-grand-total strong {
    color: #ff0000;
}

@media (max-width: 420px) {
    .member-receipt-modal {
        --member-modal-top: 0px;
        --member-receipt-bottom-gap: calc(8px + env(safe-area-inset-bottom));
        padding: 0 6px var(--member-receipt-bottom-gap);
    }

    .member-receipt-dialog {
        width: min(520px, calc(100% - 8px));
        height: calc(var(--member-mobile-height, 100vh) - var(--member-receipt-bottom-gap));
        max-height: calc(var(--member-mobile-height, 100vh) - var(--member-receipt-bottom-gap));
    }

    .member-receipt-title-row {
        height: 26px;
        padding: 0 6px 0 10px;
    }

    .member-receipt-title {
        font-size: 15px;
        line-height: 26px;
    }

    .member-receipt-close {
        width: 24px;
        height: 24px;
        font-size: 28px;
        line-height: 20px;
    }

    .member-receipt-toolbar {
        gap: 3px;
        padding: 3px 8px;
        font-size: 11px;
    }

    .member-receipt-toolbar button,
    .member-receipt-clear {
        min-width: 34px;
        height: 22px;
        padding: 0 4px;
        font-size: 11px;
    }

    .member-receipt-size-row {
        padding: 3px 8px;
        font-size: 11px;
    }

    .member-receipt-size-select-wrap {
        border-radius: 12px;
    }

    .member-receipt-size-select-wrap::before {
        top: 6px;
        right: 6px;
    }

    .member-receipt-size-select-wrap::after {
        right: 6px;
        bottom: 6px;
    }

    .member-receipt-size-row select {
        min-width: 38px;
        height: 20px;
        padding: 0 14px 0 6px;
        font-size: 13px;
    }

    .member-receipt-paper {
        width: min(326px, calc(100% - 22px));
        margin: 0 auto;
        padding: 2px 8px 8px;
        line-height: 1.12;
    }

    .member-receipt-unit {
        font-size: 10px;
        line-height: 12px;
    }

    .member-receipt-game-title {
        padding: 1px 6px;
        font-size: 15px;
        line-height: 18px;
    }

    .member-receipt-notice {
        padding: 2px 5px;
        font-size: 10px;
        line-height: 14px;
        white-space: nowrap;
        overflow: visible;
    }

    .member-receipt-meta {
        padding: 2px 5px;
        font-size: 11px;
        line-height: 15px;
    }

    .member-receipt-table th {
        height: 15px;
        padding: 0 3px;
        font-size: 10px;
        line-height: 15px;
    }

    .member-receipt-table td {
        height: 16px;
        padding: 0 3px;
        font-size: 12px;
        line-height: 16px;
    }

    .member-receipt-summary {
        padding: 2px 6px;
        font-size: 17px;
        line-height: 1.2;
    }

    .member-receipt-actions {
        padding: 2px 5px;
    }

    .member-receipt-actions .member-receipt-clear {
        height: 26px;
        min-width: 42px;
        font-size: 12px;
    }

    .member-receipt-issue {
        padding: 4px 2px 0;
        font-size: 17px;
        line-height: 1.25;
    }

    .member-receipt-grand-total {
        padding-top: 3px;
        font-size: 19px;
        line-height: 1.2;
    }
}

.member-line-dialog {
    position: relative;
    width: 304px;
    margin: 0;
    padding: 8px 10px 18px;
    border: 1px solid #777;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
}

.member-line-title {
    height: 32px;
    line-height: 32px;
    font-size: 18px;
}

.member-line-close {
    position: absolute;
    top: 3px;
    right: 4px;
    width: 30px;
    height: 30px;
    border: 0;
    color: #bfc5ca;
    font-size: 34px;
    line-height: 28px;
    background: transparent;
    cursor: pointer;
}

.member-line-info,
.member-line-subtitle {
    border: 1px solid #b9e7b0;
    margin: 6px 0 10px;
    padding: 5px;
    color: #111;
    font-size: 12px;
    line-height: 2;
}

.member-line-info span,
.member-line-table .best {
    color: #ff0000;
}

.member-line-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.member-line-table th,
.member-line-table td {
    height: 30px;
    border: 1px solid #b9e7b0;
    text-align: left;
    padding: 0 5px;
}

.member-line-table th {
    font-weight: 400;
}

.member-line-table button {
    width: 46px;
    height: 28px;
    border: 0;
    border-radius: 5px;
    color: #fff;
    background: #1296db;
    cursor: pointer;
}

.member-line-table td:first-child {
    color: #0000cc;
}

.member-line-site-table td:first-child {
    color: #111;
}

@media (max-width: 640px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    html::-webkit-scrollbar,
    body::-webkit-scrollbar,
    .member-main-page::-webkit-scrollbar,
    .member-content-area::-webkit-scrollbar,
    .member-content-panel::-webkit-scrollbar {
        width: 0;
        height: 0;
        display: none;
    }

    .login-page {
        min-height: 100vh;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding: 0;
        background: #eaf3ff;
    }

    .login-panel {
        width: 100%;
        min-height: 100vh;
        border: 0;
        border-radius: 0;
        overflow: hidden;
        background: #e9e9e9;
    }

    .member-main-page {
        padding: 3px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .member-topbar,
    .member-content-area,
    .member-content-panel {
        max-width: 100%;
        overflow-x: hidden;
    }

    .member-topbar {
        overflow: visible;
    }

    .member-more-menu {
        left: auto;
        right: 0;
        z-index: 50;
        transform: none;
    }

    .member-kuaida-keypad button {
        height: 34px;
        font-size: 24px;
        line-height: 34px;
    }

    .member-kuaida-keypad button:last-child {
        font-size: 21px;
    }

    .member-rule-paper,
    .member-full-desc {
        padding-left: 10px;
        padding-right: 10px;
        overflow-x: hidden;
        word-break: break-word;
    }

    .member-rule-table {
        width: 100%;
        min-width: 0;
        table-layout: fixed;
    }

    .member-rule-table th,
    .member-rule-table td {
        padding-left: 0;
        text-align: center;
    }

    .member-summary,
    .member-subnav {
        gap: 8px;
    }

    .member-open-state {
        height: 150px;
    }
}