html,
body {
    margin: 0;
    min-height: 100%;
    font-family: "Microsoft YaHei", sans-serif;
    background: #cfe3f4;
    color: #101010;
}

body {
    min-height: 100vh;
}

.huiyuan2-shell {
    min-height: 100vh;
    padding: 4px 0 0;
    box-sizing: border-box;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.huiyuan2-shell-locked {
    filter: blur(2px);
    transform: scale(0.995);
    pointer-events: none;
    user-select: none;
}

.huiyuan2-home {
    width: 100%;
    margin: 0 auto;
}

.huiyuan2-frame {
    width: 100%;
    height: calc(100vh - 4px);
    min-height: calc(100vh - 4px);
    border-top: 1px solid #8cab6f;
    display: flex;
    flex-direction: column;
}

.huiyuan2-header {
    background: #4f972b;
    color: #ffffff;
}

.huiyuan2-nav-top {
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 10px 0;
}

.huiyuan2-brand-block {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 180px;
}

.huiyuan2-brand-mark {
    width: 182px;
    height: 56px;
    background: linear-gradient(135deg, #2d6c15 0%, #88cf38 38%, #efffc3 100%);
    border-radius: 0 0 20px 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.huiyuan2-brand-text {
    margin-left: -148px;
    color: #ffef00;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
    white-space: nowrap;
}

.huiyuan2-main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    flex-wrap: wrap;
    min-width: 0;
}

.huiyuan2-nav-button {
    height: 34px;
    padding: 0 14px;
    border: 1px solid #6f7d87;
    border-radius: 5px;
    background: linear-gradient(180deg, #f4f4f4, #d2d2d2);
    color: #1f1f1f;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.huiyuan2-nav-button.is-active {
    color: #ff0000;
}

.huiyuan2-nav-button.huiyuan2-nav-danger {
    color: #ff0000;
}

.huiyuan2-nav-middle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px 6px 200px;
    font-size: 12px;
    color: #ffffff;
    flex-wrap: nowrap;
}

.huiyuan2-site-line {
    flex: 1 1 auto;
    min-width: 0;
    height: 18px;
    overflow: hidden;
    position: relative;
    font-size: 12px;
    color: #eef7ff;
}

.huiyuan2-sites-track {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: max-content;
    min-width: 100%;
    white-space: nowrap;
    animation: huiyuan2-sites-marquee 20s linear infinite;
}

.huiyuan2-site-line:hover .huiyuan2-sites-track {
    animation-play-state: paused;
}

.huiyuan2-site-item {
    display: inline-flex;
    color: #dcefff;
    text-decoration: none;
    white-space: nowrap;
}

@keyframes huiyuan2-sites-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.huiyuan2-countdown {
    flex: 0 0 auto;
    white-space: nowrap;
    color: #fff16e;
    font-weight: 700;
}

.huiyuan2-countdown strong {
    font-weight: 700;
}

.huiyuan2-nav-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 12px 6px 200px;
    background: #275e10;
    border-top: 1px solid #73985d;
    flex-wrap: wrap;
}

.huiyuan2-subnav-button {
    padding: 0;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.huiyuan2-subnav-button.is-highlight {
    color: #fff200;
}

.huiyuan2-subnav-button.huiyuan2-subnav-danger {
    color: #ff0000;
}

.huiyuan2-main-layout {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex: 1 1 auto;
    min-height: 0;
    border-top: 1px solid #8db0ca;
}

.huiyuan2-sidebar {
    width: 172px;
    flex: 0 0 172px;
    background: linear-gradient(180deg, #e7f8df, #d3efc8 60%, #cae8c0 100%);
    border-right: 1px solid #86aa7f;
    padding-bottom: 16px;
}

.huiyuan2-side-card {
    margin: 0;
    border-bottom: 1px solid #9db590;
    background: rgba(255, 255, 255, 0.42);
}

.huiyuan2-side-card-title {
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #45b317;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    border-top: 2px solid #cde9c4;
    border-bottom: 1px solid #86aa7f;
}

.huiyuan2-side-card-title-red {
    color: #ff2c2c;
    background: #f4f4f4;
}

.huiyuan2-side-info-row,
.huiyuan2-side-ticket-row {
    min-height: 26px;
    display: flex;
    align-items: center;
    padding: 0 6px;
    border-bottom: 1px solid rgba(135, 159, 126, 0.32);
    color: #2b2b2b;
    font-size: 12px;
}

.huiyuan2-side-info-row strong,
.huiyuan2-side-ticket-value {
    margin-left: 4px;
    color: #8f0000;
}

.huiyuan2-side-ticket-value {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.huiyuan2-side-ticket-order-no-line {
    line-height: 1.2;
    word-break: break-all;
}

.huiyuan2-side-ticket-row-order-no {
    align-items: flex-start;
    gap: 6px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.huiyuan2-side-ticket-label-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 14px;
    line-height: 1.1;
    color: #2b2b2b;
}

.huiyuan2-side-ticket-row-order-no .huiyuan2-side-ticket-value {
    margin-left: 0;
}

.huiyuan2-side-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 8px 6px 10px;
}

.huiyuan2-side-action-button,
.huiyuan2-side-ticket-button {
    min-width: 48px;
    height: 24px;
    border: 1px solid #808080;
    border-radius: 3px;
    background: linear-gradient(180deg, #ffffff, #dbdbdb);
    color: #1c1c1c;
    font-size: 12px;
    cursor: pointer;
}

.huiyuan2-side-card-ticket {
    margin-top: 18px;
}

.huiyuan2-side-ticket-table-head {
    display: grid;
    grid-template-columns: 1fr 44px 44px;
    min-height: 24px;
    align-items: center;
    padding: 0 6px;
    border-top: 1px solid #9db590;
    border-bottom: 1px solid #9db590;
    background: rgba(255, 255, 255, 0.52);
    color: #222;
    font-size: 12px;
    font-weight: 700;
}

.huiyuan2-side-ticket-empty {
    min-height: 76px;
    padding: 8px 6px;
    border-bottom: 1px solid rgba(135, 159, 126, 0.32);
    color: #1d1d1d;
    font-size: 12px;
}

.huiyuan2-side-ticket-list {
    max-height: 476px;
    overflow-y: auto;
    border-bottom: 1px solid rgba(135, 159, 126, 0.32);
    background: rgba(255, 255, 255, 0.66);
}

.huiyuan2-side-ticket-list::-webkit-scrollbar {
    width: 8px;
}

.huiyuan2-side-ticket-list::-webkit-scrollbar-thumb {
    background: rgba(92, 122, 78, 0.55);
}

.huiyuan2-side-ticket-item {
    display: grid;
    grid-template-columns: 1fr 44px 44px;
    min-height: 24px;
    align-items: center;
    padding: 0 6px;
    border-bottom: 1px solid rgba(135, 159, 126, 0.26);
    color: #1d1d1d;
    font-size: 12px;
}

.huiyuan2-side-ticket-item span:nth-child(2),
.huiyuan2-side-ticket-item span:nth-child(3) {
    text-align: center;
}

.huiyuan2-side-ticket-summary {
    min-height: 24px;
    padding: 4px 6px;
}

.huiyuan2-side-ticket-actions {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 8px 6px;
}

.huiyuan2-side-ticket-foot {
    min-height: 24px;
    display: flex;
    align-items: center;
    padding: 0 6px 8px;
    color: #202020;
    font-size: 12px;
}

.huiyuan2-common-panel {
    flex: 1 1 auto;
    min-width: 0;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.huiyuan2-common-head {
    height: 24px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    background: #45b317;
    color: #ff1f1f;
    font-size: 13px;
    font-weight: 700;
    border-top: 2px solid #cde9c4;
    border-left: 1px solid #9db590;
    border-bottom: 1px solid #9db590;
}

.huiyuan2-common-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 24px 28px;
    border-left: 1px solid #9db590;
}

.huiyuan2-common-body.huiyuan2-common-body-compact-top {
    padding: 0;
}

.huiyuan2-common-body.huiyuan2-common-body-quickselect {
    display: flex;
    flex-direction: column;
    padding: 4px;
}

.huiyuan2-common-body.huiyuan2-common-body-kuaida {
    display: flex;
    flex-direction: column;
    padding: 4px;
}

.huiyuan2-common-body.huiyuan2-common-body-detail {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.huiyuan2-common-body.huiyuan2-common-body-txtimport {
    padding: 4px;
}

.huiyuan2-common-view[hidden] {
    display: none;
}

.huiyuan2-common-view.is-active {
    display: block;
}

.huiyuan2-common-body.huiyuan2-common-body-quickselect .huiyuan2-common-view.is-active {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
}

.huiyuan2-common-body.huiyuan2-common-body-kuaida .huiyuan2-common-view.is-active {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
}

.huiyuan2-common-body.huiyuan2-common-body-detail .huiyuan2-common-view.is-active {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
}

#huiyuan2QuickSelectMount {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
}

#huiyuan2ErdingSummaryMount {
    width: 100%;
}

#huiyuan2KuaidaMount {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
}

.huiyuan2-profile-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
}

.huiyuan2-profile-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
}

.huiyuan2-profile-panel-title {
    min-height: 28px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    background: linear-gradient(180deg, #45b317, #32940f);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #8b5d3f;
    border-bottom: none;
}

.huiyuan2-profile-info-table,
.huiyuan2-profile-mode-table,
.huiyuan2-profile-limit-table {
    width: 100%;
    height: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: #ffffff;
}

.huiyuan2-profile-info-table th,
.huiyuan2-profile-info-table td,
.huiyuan2-profile-mode-table th,
.huiyuan2-profile-mode-table td,
.huiyuan2-profile-limit-table th,
.huiyuan2-profile-limit-table td {
    border: 1px solid #c8e9c2;
    padding: 8px 6px;
    font-size: 12px;
    color: #111111;
    background: #ffffff;
}

.huiyuan2-profile-info-table th,
.huiyuan2-profile-mode-table th {
    width: 22%;
    text-align: left;
    font-weight: 700;
}

.huiyuan2-profile-info-table td,
.huiyuan2-profile-mode-table td {
    text-align: left;
}

.huiyuan2-profile-checkbox-cell {
    text-align: left;
}

.huiyuan2-profile-sale-input {
    width: 310px;
    max-width: 100%;
    height: 24px;
    border: 1px solid #bdbdbd;
}

.huiyuan2-profile-sale-input-wide {
    width: 100%;
}

.huiyuan2-profile-submit-row {
    display: flex;
    justify-content: center;
    padding: 10px 0 12px;
}

.huiyuan2-profile-submit-button {
    min-width: 48px;
    height: 24px;
    border: 1px solid #6e8a17;
    border-radius: 4px;
    background: linear-gradient(180deg, #c4ef65, #7faf18);
    color: #1f4300;
    font-size: 12px;
    cursor: pointer;
}

.huiyuan2-profile-note-list {
    margin-bottom: 10px;
    color: #ff2200;
    font-size: 12px;
    line-height: 1.9;
    font-weight: 700;
}

.huiyuan2-profile-limit-table thead th {
    background: linear-gradient(180deg, #45b317, #32940f);
    color: #ffffff;
    text-align: center;
    font-weight: 700;
}

.huiyuan2-profile-limit-table td {
    text-align: left;
}

.huiyuan2-profile-limit-table td:nth-child(6),
.huiyuan2-profile-limit-table td:nth-child(7) {
    text-align: center;
}

.huiyuan2-profile-limit-table select {
    width: 72px;
    height: 24px;
    border: 1px solid #bdbdbd;
    background: #ffffff;
}

.huiyuan2-profile-group-row td {
    background: #ffffff;
    font-weight: 700;
}

.huiyuan2-profile-limit-table tbody tr:not(.huiyuan2-profile-group-row):hover td {
    background: #fff9a8;
}

.huiyuan2-profile-group-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffd24c;
    color: #ff8a00;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
}

.huiyuan2-content-block {
    margin-top: 8px;
}

.huiyuan2-theme-table {
    width: 100%;
    border-collapse: collapse;
}

.huiyuan2-theme-table th,
.huiyuan2-theme-table td {
    border: 1px solid #a7c8e2;
    padding: 6px 8px;
    font-size: 12px;
    text-align: left;
    background: #ffffff;
}

.huiyuan2-theme-table th {
    background: #f0f0f0;
}

.huiyuan2-erding-summary {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.huiyuan2-erding-summary-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 130px;
    gap: 12px;
    align-items: start;
}

.huiyuan2-erding-summary-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.huiyuan2-erding-summary-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
}

.huiyuan2-erding-summary-tab {
    min-width: 96px;
    height: 28px;
    padding: 0 12px;
    border: 1px solid #7ea467;
    border-radius: 4px;
    background: linear-gradient(180deg, #ffffff, #dcefd0);
    color: #25620f;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.huiyuan2-erding-summary-tab.is-active {
    background: linear-gradient(180deg, #49b71b, #308f10);
    border-color: #2c7e11;
    color: #fff6a3;
}

.huiyuan2-erding-summary-meta {
    color: #4a4a4a;
    font-size: 12px;
    font-weight: 700;
}

.huiyuan2-erding-summary-panel {
    border: 1px solid #95bc88;
    background: #f5fff0;
    box-shadow: inset 0 0 0 1px #d5ebcc;
}

.huiyuan2-erding-summary-side-card {
    border: 1px solid #ffd1b7;
    background: #fffef0;
}

.huiyuan2-erding-summary-side-title {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #fffcdc, #f5ffd6);
    color: #ff0000;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid #ffd1b7;
}

.huiyuan2-erding-summary-title {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 12px;
    background: linear-gradient(180deg, #45b317, #32940f);
    color: #fff59c;
    font-size: 14px;
    font-weight: 700;
}

.huiyuan2-erding-summary-title .huiyuan2-erding-summary-tabs {
    flex: 1 1 auto;
    justify-content: flex-end;
    margin-left: 16px;
}

.huiyuan2-erding-summary-title .huiyuan2-erding-summary-tab {
    min-width: 88px;
    height: 26px;
}

.huiyuan2-erding-summary-note {
    color: #eef7df;
    font-size: 12px;
    font-weight: 400;
}

.huiyuan2-erding-summary-grid {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid #c8e9c2;
    border-left: 1px solid #c8e9c2;
    background: #ffffff;
}

.huiyuan2-erding-summary-cell {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #c8e9c2;
    border-bottom: 1px solid #c8e9c2;
    color: #111111;
    font-size: 20px;
    line-height: 1;
    background: #ffffff;
}

.huiyuan2-erding-summary-empty {
    padding: 24px 12px;
    color: #666666;
    font-size: 13px;
    text-align: center;
    background: #ffffff;
}

.huiyuan2-erding-summary-table-wrap {
    width: 100%;
    height: 520px;
    overflow-x: auto;
    overflow-y: auto;
    background: linear-gradient(90deg, #f9fff5 0%, #effbe7 100%);
}

.huiyuan2-erding-summary-table-wrap::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.huiyuan2-erding-summary-table-wrap::-webkit-scrollbar-thumb {
    background: rgba(86, 130, 64, 0.45);
    border-radius: 999px;
}

.huiyuan2-erding-summary-table-wrap::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.6);
}

.huiyuan2-erding-summary-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: transparent;
}

.huiyuan2-erding-summary-table tbody tr {
    height: 38px;
}

.huiyuan2-erding-summary-table td {
    width: 10%;
    padding: 4px 0;
    text-align: center;
    vertical-align: middle;
    color: #111111;
    font-size: 17px;
    line-height: 1.1;
    white-space: nowrap;
}

.huiyuan2-siding-summary .huiyuan2-erding-summary-layout {
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 8px;
}

.huiyuan2-siding-summary-table td {
    font-size: 14px;
    letter-spacing: -0.2px;
}

.huiyuan2-erding-summary-odds-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: #ffffff;
}

.huiyuan2-erding-summary-odds-table th,
.huiyuan2-erding-summary-odds-table td {
    border: 1px solid #ffd1b7;
    text-align: center;
    padding: 6px 4px;
    font-size: 12px;
}

.huiyuan2-erding-summary-odds-table th {
    background: #edf8e7;
    color: #111111;
    font-weight: 700;
}

.huiyuan2-erding-summary-odds-table td:nth-child(2) {
    color: #2d38d1;
}

@media (max-width: 1200px) {
    .huiyuan2-erding-summary-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .huiyuan2-erding-summary-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.huiyuan2-theme-table-empty {
    text-align: left;
    color: #222222;
    font-weight: 700;
}

.huiyuan2-draw-table {
    table-layout: fixed;
}

.huiyuan2-draw-table th,
.huiyuan2-draw-table td {
    vertical-align: middle;
    text-align: center;
}

.huiyuan2-draw-table thead th {
    height: 30px;
    padding: 5px 6px;
    background: linear-gradient(180deg, #21addb, #0f96c8);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    border-color: #88caef;
}

.huiyuan2-draw-table tbody td {
    height: 41px;
    padding: 4px 6px;
    background: #ffffff;
    border-color: #b8dcf2;
    color: #111111;
}

.huiyuan2-draw-table tbody tr:hover td {
    background: #f7fbff;
}

.huiyuan2-draw-table th:nth-child(1),
.huiyuan2-draw-table td:nth-child(1) {
    width: 172px;
}

.huiyuan2-draw-table th:nth-child(2),
.huiyuan2-draw-table td:nth-child(2) {
    width: 132px;
}

.huiyuan2-draw-ball-cell {
    text-align: center !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

.huiyuan2-draw-ball {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18));
}

.huiyuan2-draw-ball-icon {
    width: 36px;
    height: 36px;
    display: block;
}

.huiyuan2-draw-ball-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    color: #ffffff;
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
    font-family: Tahoma, Arial, sans-serif;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.32);
}

.huiyuan2-draw-ball.is-empty .huiyuan2-draw-ball-text {
    display: none;
}

.huiyuan2-history-wrap {
    min-height: 520px;
    border: 1px solid #8ab66a;
    background: #dff3d8;
}

.huiyuan2-history-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: #ffffff;
}

.huiyuan2-history-table th,
.huiyuan2-history-table td {
    border: 1px solid #c8e9c2;
    padding: 8px 6px;
    text-align: center;
    font-size: 12px;
    background: #ffffff;
    color: #111111;
}

.huiyuan2-history-table thead th {
    font-weight: 700;
}

.huiyuan2-history-total-row td {
    background: #fff9a8;
    color: #ff2600;
    font-weight: 700;
}

.huiyuan2-summary-wrap {
    min-height: 520px;
    background: #dff3d8;
}

.huiyuan2-summary-block {
    margin-bottom: 8px;
    border: 1px solid #8ab66a;
    background: #dff3d8;
}

.huiyuan2-summary-block-title {
    min-height: 24px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    background: linear-gradient(180deg, #45b317, #32940f);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    border-bottom: 1px solid #8b5d3f;
}

.huiyuan2-summary-block-title-center {
    justify-content: center;
}

.huiyuan2-summary-filter-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 4px 6px;
    background: #ffffff;
    font-size: 12px;
    color: #111111;
}

.huiyuan2-summary-filter-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
}

.huiyuan2-summary-issue-input,
.huiyuan2-summary-text-input,
.huiyuan2-summary-select,
.huiyuan2-summary-go-input {
    height: 22px;
    border: 1px solid #b9b9b9;
    background: #ffffff;
    padding: 0 6px;
    font-size: 12px;
    color: #111111;
}

.huiyuan2-summary-issue-input {
    width: 56px;
}

.huiyuan2-summary-text-input {
    width: 62px;
}

.huiyuan2-summary-range-input {
    width: 52px;
}

.huiyuan2-summary-select {
    min-width: 58px;
}

.huiyuan2-summary-select-small {
    min-width: 54px;
}

.huiyuan2-summary-range-sep {
    font-weight: 700;
}

.huiyuan2-summary-action-button,
.huiyuan2-summary-go-button {
    height: 24px;
    padding: 0 10px;
    border: 1px solid #7ea93b;
    border-radius: 4px;
    background: linear-gradient(180deg, #d0f15f, #8ec515);
    color: #2c4d00;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.huiyuan2-summary-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: #ffffff;
}

.huiyuan2-summary-table th,
.huiyuan2-summary-table td {
    border: 1px solid #c8e9c2;
    padding: 6px 6px;
    text-align: center;
    font-size: 12px;
    background: #ffffff;
    color: #111111;
}

.huiyuan2-summary-table thead th {
    font-weight: 700;
}

.huiyuan2-summary-empty {
    height: 40px;
    font-weight: 700;
}

.huiyuan2-summary-delete-row {
    display: flex;
    justify-content: center;
    padding: 2px 0 6px;
}

.huiyuan2-summary-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 12px;
    font-weight: 700;
    color: #111111;
}

.huiyuan2-summary-pagination strong {
    color: #ff2600;
}

.huiyuan2-summary-pagination a {
    color: #153dce;
    text-decoration: none;
}

.huiyuan2-summary-go-input {
    width: 34px;
}

.huiyuan2-detail-wrap {
    min-height: 520px;
    background: #dff3d8;
}

.huiyuan2-detail-block {
    margin-bottom: 8px;
    border: 1px solid #8ab66a;
    background: #dff3d8;
}

.huiyuan2-detail-records-block {
    margin-bottom: 0;
    border: 0;
    background: transparent;
}

.huiyuan2-detail-block-title {
    min-height: 24px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    background: linear-gradient(180deg, #45b317, #32940f);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    border-bottom: 1px solid #8b5d3f;
}

.huiyuan2-detail-block-title-center {
    justify-content: center;
}

.huiyuan2-detail-block-title-between {
    justify-content: space-between;
}

.huiyuan2-detail-block-title#huiyuan2DetailRecordsTitle {
    display: none;
}

#huiyuan2DetailRecordsMount .huiyuan2-detail-records-table thead th {
    background: linear-gradient(180deg, #45b317, #32940f);
    color: #ffffff;
    border-color: #8b5d3f #c8e9c2 #c8e9c2 #c8e9c2;
}

#huiyuan2DetailRecordsMount {
    width: 100%;
}

.huiyuan2-detail-records-shell {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    min-height: 0;
}

.huiyuan2-detail-table-wrap {
    width: 100%;
    height: clamp(320px, 56vh, 430px);
    overflow: auto;
    background: #ffffff;
    border: 0;
    box-sizing: border-box;
}

.huiyuan2-detail-records-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.huiyuan2-detail-records-table th,
.huiyuan2-detail-records-table td {
    border: 1px solid #c8e9c2;
    padding: 3px 4px;
    text-align: center;
    font-size: 12px;
    line-height: 1.2;
    color: #111111;
}

.huiyuan2-detail-records-table tbody tr.huiyuan2-detail-row-tuima td {
    color: #c40000;
}

.huiyuan2-detail-checkbox-cell input {
    width: 14px;
    height: 14px;
}

.huiyuan2-detail-empty {
    padding: 18px 0;
    color: #6b6b6b;
}

.huiyuan2-detail-filter-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 4px 6px;
    background: #ffffff;
    font-size: 12px;
    color: #111111;
}

.huiyuan2-detail-filter-item,
.huiyuan2-detail-filter-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
}

.huiyuan2-detail-text-input,
.huiyuan2-detail-select,
.huiyuan2-detail-ticket-input,
.huiyuan2-detail-go-input {
    height: 22px;
    border: 1px solid #b9b9b9;
    background: #ffffff;
    padding: 0 6px;
    font-size: 12px;
    color: #111111;
}

.huiyuan2-detail-text-input {
    width: 62px;
}

.huiyuan2-detail-range-input {
    width: 52px;
}

.huiyuan2-detail-select {
    min-width: 64px;
}

.huiyuan2-detail-ticket-input {
    width: 112px;
}

.huiyuan2-detail-range-sep {
    font-weight: 700;
}

.huiyuan2-detail-action-button,
.huiyuan2-detail-go-button {
    height: 24px;
    padding: 0 10px;
    border: 1px solid #7ea93b;
    border-radius: 4px;
    background: linear-gradient(180deg, #d0f15f, #8ec515);
    color: #2c4d00;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.huiyuan2-detail-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: #ffffff;
}

.huiyuan2-detail-table th,
.huiyuan2-detail-table td {
    border: 1px solid #c8e9c2;
    padding: 6px 6px;
    text-align: center;
    font-size: 12px;
    background: #ffffff;
    color: #111111;
}

.huiyuan2-detail-table thead th {
    font-weight: 700;
}

.huiyuan2-detail-empty {
    height: 40px;
    font-weight: 700;
}

.huiyuan2-detail-pagination-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.huiyuan2-detail-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 12px;
    font-weight: 700;
    color: #111111;
}

.huiyuan2-detail-pagination strong {
    color: #ff2600;
}

.huiyuan2-detail-pagination a {
    color: #153dce;
    text-decoration: none;
}

.huiyuan2-detail-go-input {
    width: 34px;
}

.huiyuan2-detail-row-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.huiyuan2-quickselect-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.52fr);
    gap: 10px;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 0;
    padding: 4px;
    box-sizing: border-box;
    background: #dff3d8;
}

.huiyuan2-quickselect-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    min-width: 0;
    border: 1px solid #8b5d3f;
    background: #ffffff;
}

.huiyuan2-quickselect-panel-head {
    min-height: 24px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    background: linear-gradient(180deg, #45b317, #32940f);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    border-bottom: 1px solid #8b5d3f;
}

.huiyuan2-quickselect-left-body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    color: #111111;
    font-size: 12px;
    font-weight: 700;
    background: #ffffff;
    overflow: auto;
}

.huiyuan2-quickselect-empty {
    width: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    color: #333333;
    font-size: 14px;
}

.huiyuan2-quickselect-empty-error {
    color: #c6002b;
}

.huiyuan2-quickselect-result-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    border-top: 1px solid #8b5d3f;
    border-left: 1px solid #8b5d3f;
    box-sizing: border-box;
}

.huiyuan2-quickselect-result-cell {
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #8b5d3f;
    border-bottom: 1px solid #8b5d3f;
    background: #ffffff;
    color: #111111;
    font-size: 12px;
    font-weight: 400;
}

.huiyuan2-quickselect-send-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 94px;
    min-height: 42px;
    background: #ffffff;
}

.huiyuan2-quickselect-send-left {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-right: 1px solid #c8e9c2;
}

.huiyuan2-quickselect-send-right {
    display: grid;
    grid-template-rows: 1fr 1fr;
}

.huiyuan2-quickselect-send-stat {
    display: flex;
    align-items: center;
    padding: 0 8px;
    border-bottom: 1px solid #c8e9c2;
    font-size: 12px;
    color: #111111;
}

.huiyuan2-quickselect-send-stat:last-child {
    border-bottom: none;
}

.huiyuan2-quickselect-send-label {
    color: #111111;
    font-size: 14px;
    font-weight: 700;
}

.huiyuan2-quickselect-send-input {
    width: 74px;
    height: 30px;
    border: 1px solid #b9b9b9;
    background: #ffffff;
    padding: 0 6px;
    box-sizing: border-box;
    font-size: 14px;
    color: #111111;
}

.huiyuan2-quickselect-send-button {
    height: 30px;
    padding: 0 12px;
    border: 1px solid #7ea93b;
    border-radius: 4px;
    background: linear-gradient(180deg, #d0f15f, #8ec515);
    color: #2c4d00;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.huiyuan2-quickselect-right-body {
    width: 100%;
    min-height: 0;
    overflow: auto;
    background: #ffffff;
}

.huiyuan2-kuaida-page {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    gap: 8px;
    padding: 4px;
    box-sizing: border-box;
    background: #dff3d8;
}

.huiyuan2-kuaida-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 8px;
    flex: 0 0 auto;
    height: clamp(320px, 56vh, 430px);
    min-height: 0;
}

.huiyuan2-kuaida-side {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
}

.huiyuan2-kuaida-panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border: 1px solid #8b5d3f;
    background: #ffffff;
}

.huiyuan2-kuaida-panel-side {
    flex: 1 1 0;
}

.huiyuan2-kuaida-panel-title {
    min-height: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 7px;
    background: linear-gradient(180deg, #45b317, #32940f);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    border-bottom: 1px solid #8b5d3f;
}

.huiyuan2-kuaida-panel-title-between {
    justify-content: space-between;
}

.huiyuan2-kuaida-order-no {
    color: #fff5c4;
    font-weight: 700;
}

.huiyuan2-kuaida-mode {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.huiyuan2-kuaida-issue-select {
    width: 72px;
    height: 20px;
    border: 1px solid #b6b6b6;
    font-size: 12px;
}

.huiyuan2-kuaida-table-wrap,
.huiyuan2-kuaida-reserve-wrap {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

.huiyuan2-kuaida-table,
.huiyuan2-kuaida-reserve-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.huiyuan2-kuaida-table th,
.huiyuan2-kuaida-table td,
.huiyuan2-kuaida-reserve-table th,
.huiyuan2-kuaida-reserve-table td {
    border: 1px solid #c8e9c2;
    padding: 3px 4px;
    text-align: center;
    font-size: 12px;
    line-height: 1.2;
    color: #111111;
}

.huiyuan2-kuaida-table thead th,
.huiyuan2-kuaida-reserve-table thead th {
    background: #ffffff;
    font-weight: 700;
}

.huiyuan2-kuaida-table tbody tr.huiyuan2-kuaida-row-tuima td {
    color: #c40000;
}

.huiyuan2-kuaida-checkbox-cell input {
    width: 14px;
    height: 14px;
}

.huiyuan2-kuaida-empty {
    padding: 18px 6px;
    color: #5e5e5e;
}

.huiyuan2-kuaida-side-foot {
    padding: 8px;
    text-align: right;
    font-size: 12px;
    color: #111111;
}

.huiyuan2-kuaida-side-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0 0 10px;
}

.huiyuan2-kuaida-mini-button,
.huiyuan2-kuaida-action-button {
    height: 26px;
    padding: 0 10px;
    border: 1px solid #7ea93b;
    border-radius: 4px;
    background: linear-gradient(180deg, #d0f15f, #8ec515);
    color: #2c4d00;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.huiyuan2-kuaida-action-button:disabled {
    opacity: 0.6;
    cursor: default;
}

.huiyuan2-kuaida-action-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 6px 10px;
}

.huiyuan2-kuaida-action-label {
    font-size: 13px;
    font-weight: 700;
    color: #111111;
}

.huiyuan2-kuaida-input {
    width: 220px;
    height: 26px;
    border: 1px solid #b9b9b9;
    padding: 0 6px;
    box-sizing: border-box;
    font-size: 13px;
}

.huiyuan2-kuaida-input-amount {
    width: 90px;
}

.huiyuan2-kuaida-action-summary {
    margin-left: auto;
    font-size: 12px;
    font-weight: 700;
    color: #111111;
}

@media (max-width: 1180px) {
    .huiyuan2-kuaida-main {
        grid-template-columns: 1fr;
    }

    .huiyuan2-kuaida-action-summary {
        margin-left: 0;
        width: 100%;
    }
}

.huiyuan2-quickselect-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.huiyuan2-quickselect-tab {
    height: 36px;
    border: 0;
    border-right: 1px solid #c8e9c2;
    border-bottom: 1px solid #c8e9c2;
    background: #ffffff;
    color: #111111;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.huiyuan2-quickselect-tab:last-child {
    border-right: none;
}

.huiyuan2-quickselect-tab.is-active {
    background: #b5e58a;
}

.huiyuan2-quickselect-form {
    border-top: none;
}

.huiyuan2-quickselect-split-title {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 1px solid #c8e9c2;
    background: #ffffff;
}

.huiyuan2-quickselect-split-title-cell {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 8px;
    box-sizing: border-box;
    border-right: 1px solid #c8e9c2;
    font-size: 12px;
}

.huiyuan2-quickselect-split-title-cell-quanzhuan {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.huiyuan2-quickselect-split-title-cell:last-child {
    border-right: none;
}

.huiyuan2-quickselect-quanzhuan-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.huiyuan2-quickselect-quanzhuan-inline[hidden] {
    display: none;
}

.huiyuan2-quickselect-mini-input.huiyuan2-quickselect-quanzhuan-input {
    width: 72px;
}

.huiyuan2-quickselect-quanzhuan-sep {
    color: #111111;
    font-weight: 700;
}

.huiyuan2-quickselect-section-title {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-bottom: 1px solid #c8e9c2;
    font-size: 12px;
    background: #ffffff;
}

.huiyuan2-quickselect-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-bottom: 1px solid #c8e9c2;
}

.huiyuan2-quickselect-row--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.huiyuan2-quickselect-row--single {
    grid-template-columns: minmax(0, 1fr);
}

.huiyuan2-quickselect-row--single .huiyuan2-quickselect-cell,
.huiyuan2-quickselect-row--wide .huiyuan2-quickselect-cell {
    justify-content: flex-start;
    padding-left: 10px;
}

.huiyuan2-quickselect-cell {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 8px;
    box-sizing: border-box;
    border-right: 1px solid #c8e9c2;
    font-size: 12px;
    color: #111111;
}

.huiyuan2-quickselect-cell-stack {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.huiyuan2-quickselect-cell-top,
.huiyuan2-quickselect-cell-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
}

.huiyuan2-quickselect-hefen-extra-row {
    flex-wrap: wrap;
}

.huiyuan2-quickselect-row .huiyuan2-quickselect-cell:last-child,
.huiyuan2-quickselect-row--wide .huiyuan2-quickselect-cell:last-child,
.huiyuan2-quickselect-row--single .huiyuan2-quickselect-cell:last-child {
    border-right: none;
}

.huiyuan2-quickselect-label {
    color: #c6002b;
    font-weight: 700;
}

.huiyuan2-quickselect-muted {
    color: #111111;
    font-weight: 700;
}

.huiyuan2-quickselect-inline-note {
    color: #0b63c9;
    font-weight: 700;
    white-space: nowrap;
}

.huiyuan2-quickselect-hefen-note {
    color: #0b63c9;
    font-weight: 700;
}

.huiyuan2-quickselect-input,
.huiyuan2-quickselect-mini-input {
    height: 20px;
    border: 1px solid #b9b9b9;
    background: #ffffff;
    padding: 0 4px;
    box-sizing: border-box;
    font-size: 12px;
    color: #111111;
}

.huiyuan2-quickselect-input {
    width: 88px;
}

.huiyuan2-quickselect-mini-input {
    width: 38px;
}

.huiyuan2-quickselect-checkbox-line,
.huiyuan2-quickselect-numbers {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
}


.huiyuan2-quickselect-radio-group {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.huiyuan2-quickselect-radio-box {
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.huiyuan2-quickselect-radio-box input {
    appearance: none;
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    margin: 0;
    border: 1px solid #7f7f7f;
    border-radius: 0;
    background: #ffffff;
    cursor: pointer;
}

.huiyuan2-quickselect-radio-box input:checked {
    background: #2e7d87;
}

.huiyuan2-quickselect-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px 0 8px;
    background: #ffffff;
}

.huiyuan2-quickselect-action-button {
    height: 30px;
    padding: 0 12px;
    border: 1px solid #7ea93b;
    border-radius: 4px;
    background: linear-gradient(180deg, #d0f15f, #8ec515);
    color: #2c4d00;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.huiyuan2-quickselect-action-button:disabled {
    border-color: #c8c8c8;
    background: linear-gradient(180deg, #f7f7f7, #dedede);
    color: #7d7d7d;
    cursor: default;
}

.huiyuan2-txtimport-page {
    min-height: calc(100vh - 220px);
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #d9efd4 0%, #d4eccf 100%);
    border: 1px solid #8ab66a;
}

.huiyuan2-txtimport-panel {
    display: flex;
    flex-direction: column;
    border: 1px solid #8b5d3f;
    background: #ffffff;
}

.huiyuan2-txtimport-panel+.huiyuan2-txtimport-panel {
    margin-top: 8px;
}

.huiyuan2-txtimport-panel:last-child {
    flex: 1 1 auto;
    min-height: 0;
}

.huiyuan2-txtimport-panel-title {
    min-height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    background: linear-gradient(180deg, #54bb1c, #399d10);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    border-bottom: 1px solid #8b5d3f;
}

.huiyuan2-txtimport-toolbar {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 120px;
    align-items: stretch;
    border-bottom: 1px solid #d8d8d8;
}

.huiyuan2-txtimport-label,
.huiyuan2-txtimport-file-cell,
.huiyuan2-txtimport-submit-cell {
    min-height: 30px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    box-sizing: border-box;
    font-size: 12px;
    color: #111111;
}

.huiyuan2-txtimport-label,
.huiyuan2-txtimport-file-cell {
    border-right: 1px solid #d8d8d8;
}

.huiyuan2-txtimport-label {
    font-weight: 700;
}

.huiyuan2-txtimport-file-cell {
    gap: 8px;
}

.huiyuan2-txtimport-file-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    height: 24px;
    border: 1px solid #a9a9a9;
    background: linear-gradient(180deg, #ffffff, #dcdcdc);
    color: #111111;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
}

.huiyuan2-txtimport-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.huiyuan2-txtimport-file-name {
    color: #111111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.huiyuan2-txtimport-submit-button {
    min-width: 42px;
    height: 24px;
    border: 1px solid #7ea93b;
    border-radius: 3px;
    background: linear-gradient(180deg, #d0f15f, #8ec515);
    color: #2c4d00;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.huiyuan2-txtimport-rule-row,
.huiyuan2-txtimport-notice-row {
    padding: 6px 8px;
    border-bottom: 1px solid #e6e6e6;
    color: #111111;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 700;
}

.huiyuan2-txtimport-rule-row:last-child,
.huiyuan2-txtimport-notice-row:last-child {
    border-bottom: none;
}

.huiyuan2-txtimport-highlight {
    color: #ff2a00;
}

.huiyuan2-txtimport-detail-body {
    flex: 1 1 auto;
    min-height: 0;
    background: rgba(215, 240, 208, 0.8);
}

.huiyuan2-txtimport-empty {
    min-height: 100%;
    display: flex;
    align-items: flex-start;
    padding: 10px 12px;
    box-sizing: border-box;
    color: #50705b;
    font-size: 12px;
}

.huiyuan2-txtimport-file-meta {
    color: #3d5f49;
}

.huiyuan2-txtimport-matrix-wrap {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

.huiyuan2-txtimport-matrix-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: #ffffff;
}

.huiyuan2-txtimport-matrix-table th,
.huiyuan2-txtimport-matrix-table td {
    border: 1px solid #c8e9c2;
    padding: 5px 6px;
    text-align: center;
    font-size: 12px;
    color: #111111;
    background: #ffffff;
}

.huiyuan2-txtimport-matrix-table thead th {
    font-weight: 700;
}

.huiyuan2-txtimport-summary-matrix-row td {
    font-weight: 700;
}

.huiyuan2-txtimport-action-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding: 12px 8px 10px;
    border-top: 1px solid #c8e9c2;
    background: #ffffff;
}

.huiyuan2-txtimport-action-bar-number {
    gap: 10px;
}

.huiyuan2-txtimport-action-button {
    min-width: 42px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #6b970c;
    border-radius: 4px;
    background: linear-gradient(180deg, #b2eb30, #7dbf1a);
    color: #224800;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.huiyuan2-txtimport-amount-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #111111;
}

.huiyuan2-txtimport-amount-input {
    width: 64px;
    height: 34px;
    border: 1px solid #6eb7ea;
    box-shadow: inset 0 0 4px rgba(89, 175, 239, 0.5);
    font-size: 18px;
    text-align: center;
}

.huiyuan2-txtimport-result {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.huiyuan2-txtimport-result-meta {
    padding: 10px 12px 8px;
    border-bottom: 1px solid #a8cb99;
    background: rgba(255, 255, 255, 0.6);
    color: #20402c;
    font-size: 12px;
}

.huiyuan2-txtimport-result-title {
    font-weight: 700;
    color: #17491d;
}

.huiyuan2-txtimport-summary-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.huiyuan2-txtimport-summary-item {
    color: #234330;
}

.huiyuan2-txtimport-summary-item strong {
    color: #c92000;
}

.huiyuan2-txtimport-preview-line {
    margin-top: 6px;
    color: #486055;
}

.huiyuan2-txtimport-table-wrap {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

.huiyuan2-txtimport-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: #ffffff;
}

.huiyuan2-txtimport-table th,
.huiyuan2-txtimport-table td {
    border: 1px solid #b7d3ad;
    padding: 6px 8px;
    font-size: 12px;
    color: #111111;
    background: rgba(255, 255, 255, 0.92);
    vertical-align: top;
    word-break: break-all;
}

.huiyuan2-txtimport-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #edf8e7;
    font-weight: 700;
}

.huiyuan2-txtimport-table th:nth-child(1),
.huiyuan2-txtimport-table td:nth-child(1) {
    width: 56px;
    text-align: center;
}

.huiyuan2-txtimport-table th:nth-child(2),
.huiyuan2-txtimport-table td:nth-child(2) {
    width: 88px;
    text-align: center;
}

.huiyuan2-txtimport-table th:nth-child(3),
.huiyuan2-txtimport-table td:nth-child(3) {
    width: 160px;
}

.huiyuan2-txtimport-table th:nth-child(4),
.huiyuan2-txtimport-table td:nth-child(4) {
    width: 120px;
    text-align: center;
}

.huiyuan2-txtimport-raw-cell {
    color: #486055;
}

@media (max-width: 900px) {
    .huiyuan2-txtimport-page {
        min-height: calc(100vh - 260px);
    }

    .huiyuan2-txtimport-action-bar,
    .huiyuan2-txtimport-action-bar-number {
        flex-wrap: wrap;
        justify-content: center;
    }

    .huiyuan2-txtimport-toolbar {
        grid-template-columns: 1fr;
    }

    .huiyuan2-txtimport-label,
    .huiyuan2-txtimport-file-cell,
    .huiyuan2-txtimport-submit-cell {
        border-right: none;
        border-bottom: 1px solid #d8d8d8;
    }

    .huiyuan2-txtimport-submit-cell {
        justify-content: flex-start;
        border-bottom: none;
    }
}

.huiyuan2-odds-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px 8px;
    align-items: start;
}

.huiyuan2-odds-card {
    background: #ffffff;
}

.huiyuan2-odds-card-wide {
    grid-column: span 1;
}

.huiyuan2-odds-card-title {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffd1b7;
    border-bottom: none;
    background: linear-gradient(180deg, #fffcdc, #f5ffd6);
    color: #ff0000;
    font-size: 18px;
    font-weight: 700;
}

.huiyuan2-odds-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: #ffffff;
}

.huiyuan2-odds-table th,
.huiyuan2-odds-table td {
    border: 1px solid #ffd1b7;
    padding: 4px 8px;
    text-align: center;
    font-size: 16px;
    background: #ffffff;
}

.huiyuan2-odds-table thead th {
    background: #effbda;
    color: #111111;
    font-weight: 700;
}

.huiyuan2-odds-table td:nth-child(2) {
    color: #3140d8;
}

.huiyuan2-logs-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
    background: #ffffff;
}

.huiyuan2-logs-table th,
.huiyuan2-logs-table td {
    border: 1px solid #c8e9c2;
    padding: 8px 6px;
    font-size: 12px;
    text-align: center;
    background: #ffffff;
    color: #111111;
}

.huiyuan2-logs-table thead th {
    font-weight: 700;
}

.huiyuan2-logs-table th:nth-child(1),
.huiyuan2-logs-table td:nth-child(1) {
    width: 18%;
}

.huiyuan2-logs-table th:nth-child(2),
.huiyuan2-logs-table td:nth-child(2) {
    width: 8%;
}

.huiyuan2-logs-table th:nth-child(3),
.huiyuan2-logs-table td:nth-child(3) {
    width: 9%;
}

.huiyuan2-logs-table th:nth-child(4),
.huiyuan2-logs-table td:nth-child(4) {
    width: 43%;
    text-align: left;
}

.huiyuan2-logs-table th:nth-child(5),
.huiyuan2-logs-table td:nth-child(5) {
    width: 8%;
}

.huiyuan2-logs-table th:nth-child(6),
.huiyuan2-logs-table td:nth-child(6) {
    width: 14%;
}

.huiyuan2-logs-head-note {
    padding: 6px 10px;
    border: 1px solid #8ab66a;
    border-bottom: none;
    background: #eef9dc;
    color: #3046ff;
    font-size: 12px;
    font-weight: 700;
}

.huiyuan2-logs-empty {
    height: 26px;
    color: #111111;
    font-weight: 700;
}

.huiyuan2-logs-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 7px 12px 8px;
    color: #111111;
    font-size: 12px;
    font-weight: 700;
    background: #e6f8df;
    border-left: 1px solid #8ab66a;
    border-right: 1px solid #8ab66a;
    border-bottom: 1px solid #8ab66a;
}

.huiyuan2-logs-pagination strong {
    color: #ff2a00;
}

.huiyuan2-logs-page-link {
    border: none;
    background: transparent;
    padding: 0;
    color: #153dce;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.huiyuan2-logs-page-link:disabled {
    color: #8ea08b;
    cursor: default;
}

.huiyuan2-logs-page-input {
    width: 32px;
    height: 24px;
    border: 1px solid #c0c0c0;
    background: #ffffff;
    text-align: center;
}

.huiyuan2-logs-go-button {
    min-width: 28px;
    height: 24px;
    border: 1px solid #7faa56;
    background: linear-gradient(180deg, #fbffea, #bedb78);
    color: #3f7200;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.huiyuan2-kuaixuan-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.12);
}

.huiyuan2-kuaixuan-confirm-overlay[hidden] {
    display: none;
}

.huiyuan2-kuaixuan-confirm-dialog {
    width: min(360px, calc(100vw - 24px));
    border: 1px solid #8f8f8f;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.huiyuan2-kuaixuan-confirm-head {
    min-height: 40px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-bottom: 1px solid #cfcfcf;
    color: #111111;
    font-size: 14px;
    font-weight: 700;
}

.huiyuan2-kuaixuan-confirm-body {
    min-height: 96px;
    padding: 14px;
    color: #111111;
    font-size: 14px;
    line-height: 1.6;
}

.huiyuan2-kuaixuan-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 0 14px 18px;
}

.huiyuan2-kuaixuan-confirm-button {
    min-width: 46px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #79ad2d;
    border-radius: 4px;
    background: linear-gradient(180deg, #fafff5, #e4f5d5);
    color: #4b6f1f;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.huiyuan2-kuaixuan-confirm-button-primary {
    background: linear-gradient(180deg, #b8ed33, #7fc11b);
    color: #244600;
}

.huiyuan2-common-title {
    font-size: 26px;
    font-weight: 700;
    color: #214f93;
}

.huiyuan2-common-text {
    margin-top: 12px;
    max-width: 820px;
    color: #43505e;
    font-size: 15px;
    line-height: 1.8;
}

.huiyuan2-rules-page {
    min-height: 100%;
    padding: 18px 28px 28px;
    border: 1px solid #c8dcca;
    background: #ffffff;
    color: #111111;
    font-size: 14px;
    line-height: 1.9;
}

.huiyuan2-rules-main-title {
    margin: 8px 0 22px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}

.huiyuan2-rules-section-title {
    margin: 20px 0 10px;
    font-size: 14px;
    font-weight: 700;
}

.huiyuan2-rules-paragraph,
.huiyuan2-rules-subtitle,
.huiyuan2-rules-award-title,
.huiyuan2-rules-award-text,
.huiyuan2-rules-example-title {
    margin: 0 0 10px;
}

.huiyuan2-rules-paragraph,
.huiyuan2-rules-subtitle,
.huiyuan2-rules-award-title,
.huiyuan2-rules-award-text {
    padding-left: 18px;
}

.huiyuan2-rules-highlight,
.huiyuan2-rules-example-title,
.huiyuan2-rules-award-text {
    color: #ff33aa;
    font-weight: 700;
}

.huiyuan2-rules-subtitle,
.huiyuan2-rules-award-title {
    font-weight: 700;
    color: #111111;
}

.huiyuan2-rules-table-wrap {
    max-width: 630px;
    margin: 6px 0 10px 18px;
}

.huiyuan2-rules-table {
    width: 100%;
    border-collapse: collapse;
}

.huiyuan2-rules-table th,
.huiyuan2-rules-table td {
    border: 1px solid #ff7aa7;
    padding: 4px 8px;
    text-align: left;
    font-size: 14px;
}

.huiyuan2-rules-table td {
    color: #ff33aa;
    font-weight: 700;
}

.huiyuan2-password-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #9a6a4d;
}

.huiyuan2-password-table th,
.huiyuan2-password-table td {
    border: 1px solid #c3ddb8;
    background: #ffffff;
    font-size: 12px;
    text-align: left;
}

.huiyuan2-password-table th {
    width: 116px;
    padding: 6px 8px;
    color: #232323;
    font-weight: 700;
    background: #f4f4f4;
}

.huiyuan2-password-table td {
    padding: 6px 8px;
}

.huiyuan2-password-header {
    background: #45b317 !important;
    color: #ff1f1f !important;
    font-size: 13px !important;
}

.huiyuan2-password-table input {
    width: 144px;
    max-width: 100%;
    height: 20px;
    border: 1px solid #bdbdbd;
}

.huiyuan2-password-rules-cell {
    padding-top: 8px;
    padding-bottom: 8px;
}

.huiyuan2-password-rules {
    color: #003dff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.7;
}

.huiyuan2-password-message {
    min-height: 20px;
    margin-top: 8px;
    color: #c20000;
    font-size: 12px;
    font-weight: 700;
}

.huiyuan2-password-message.success {
    color: #196400;
}

.huiyuan2-password-actions {
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.huiyuan2-password-submit {
    min-width: 42px;
    height: 22px;
    border: 1px solid #6e8a17;
    border-radius: 4px;
    background: linear-gradient(180deg, #c4ef65, #7faf18);
    color: #1f4300;
    font-size: 12px;
    cursor: pointer;
}

.huiyuan-bet-confirm-dialog {
    width: min(420px, calc(100vw - 24px));
}

.huiyuan-bet-confirm-body {
    min-height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.huiyuan-bet-confirm-message {
    margin: 0;
    white-space: pre-line;
    font-size: 16px;
    line-height: 1.8;
}

.huiyuan-disclaimer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(50, 68, 59, 0.18);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 10px 14px 24px;
    z-index: 100;
    overflow: auto;
}

.huiyuan-disclaimer-overlay[hidden] {
    display: none;
}

.huiyuan-disclaimer-card {
    width: min(100%, 1720px);
    min-height: 76vh;
    max-height: calc(100dvh - 34px);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #545454;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.14);
    display: flex;
    flex-direction: column;
}

.huiyuan-disclaimer-head {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #111;
    background: #d2d3db;
    border-bottom: 1px solid #707070;
}

.huiyuan-disclaimer-body {
    flex: 1;
    min-height: 0;
    padding: 14px 18px 10px;
    font-size: 16px;
    line-height: 1.56;
    color: #111;
    overflow: auto;
}

.huiyuan-disclaimer-line {
    margin: 0 0 10px;
}

.huiyuan-disclaimer-line-danger,
.huiyuan-disclaimer-special-title,
.huiyuan-disclaimer-highlight {
    color: #ff2020;
    font-weight: 700;
}

.huiyuan-disclaimer-special-title {
    margin: 8px 0;
    font-size: 18px;
}

.huiyuan-disclaimer-tip {
    padding: 6px 18px 0;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}

.huiyuan-disclaimer-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 18px 20px 24px;
}

.huiyuan-disclaimer-button {
    min-width: 76px;
    height: 30px;
    border: 1px solid #8a8a8a;
    background: #f5f5f5;
    color: #000;
    font-size: 15px;
    cursor: pointer;
}

.huiyuan-disclaimer-button-primary {
    border: 2px solid #2d2d2d;
    background: #fafafa;
    font-weight: 700;
}

@media (max-width: 900px) {
    .huiyuan2-shell {
        padding-top: 0;
    }

    .huiyuan2-nav-top,
    .huiyuan2-nav-middle,
    .huiyuan2-nav-bottom {
        padding-left: 10px;
        padding-right: 10px;
    }

    .huiyuan2-nav-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .huiyuan2-brand-block {
        min-width: 0;
    }

    .huiyuan2-brand-mark {
        width: 132px;
        height: 42px;
    }

    .huiyuan2-brand-text {
        margin-left: -108px;
        font-size: 22px;
    }

    .huiyuan2-main-nav {
        width: 100%;
    }

    .huiyuan2-nav-button {
        height: 30px;
        font-size: 12px;
        padding: 0 10px;
    }

    .huiyuan2-member-strip {
        gap: 8px 16px;
    }

    .huiyuan2-main-layout {
        flex-direction: column;
    }

    .huiyuan2-sidebar {
        width: 100%;
        flex-basis: auto;
    }

    .huiyuan2-common-head,
    .huiyuan2-common-body {
        border-left: none;
    }

    .huiyuan-disclaimer-overlay {
        padding: 8px;
        align-items: stretch;
    }

    .huiyuan-disclaimer-card {
        min-height: auto;
        max-height: calc(100dvh - 16px);
    }

    .huiyuan-disclaimer-body {
        font-size: 14px;
        padding: 12px;
    }

    .huiyuan-disclaimer-tip {
        font-size: 16px;
        padding-left: 12px;
        padding-right: 12px;
    }
}