
.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url(../images/shillong/img_bg.webp) no-repeat center center;
    background-size: cover;
    z-index: -1;
    max-width: 640px;
}

.shillong-container {
    /* 移除原来的背景相关属性 */
    margin: 0 auto;
    padding: 0.5rem 1rem;
    position: relative; /* 保持relative以建立新的 stacking context */
    max-width: 640px;

}
.shillong-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFD700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding: 0 0.5rem;
    /* 添加木质背景图片 */
    background: url('../images/shillong/img_wood.png') no-repeat center;
    background-size: 100% 100%;
    height: 2.5rem;
}

.shillong-date-info {
    /* 移除背景色和边框，只保留简单的文字样式 */
    text-align: left;
    text-shadow: -1px -1px 0 rgba(55, 28, 7, 1),
    1px -1px 0 rgba(55, 28, 7, 1),
    -1px 1px 0 rgba(55, 28, 7, 1),
    1px 1px 0 rgba(55, 28, 7, 1); /* 四个方向的阴影模拟描边 */
    color: rgba(255, 227, 187, 1);
}

/* 修改中间数字样式，移除边框和背景，保持简单的文字显示 */
.issue-number {
    color: rgba(255, 227, 187, 1);
    font-weight: bold;
    display: flex; /* 新增 */
    align-items: center; /* 新增 */
    justify-content: center; /* 新增 */
    flex: 0.7;
    margin: 0 0.5rem;
    background: rgba(55, 28, 7, 0.7);
    border-radius: 0.5rem;
    height: 1.3rem;
}

.shillong-time-info {
    /* 移除背景色和边框，只保留简单的文字样式 */
    /*flex: 1;*/
    text-align: right;
    text-shadow: -1px -1px 0 rgba(55, 28, 7, 1),
    1px -1px 0 rgba(55, 28, 7, 1),
    -1px 1px 0 rgba(55, 28, 7, 1),
    1px 1px 0 rgba(55, 28, 7, 1); /* 四个方向的阴影模拟描边 */
    color: rgba(255, 227, 187, 1);
}
.shillong-time-info span {
    font-size: 1rem;
    color: rgba(255, 203, 91, 1);
    text-shadow: -1px -1px 0 rgba(55, 28, 7, 1),
    1px -1px 0 rgba(55, 28, 7, 1),
    -1px 1px 0 rgba(55, 28, 7, 1),
    1px 1px 0 rgba(55, 28, 7, 1); /* 四个方向的阴影模拟描边 */
}

.game-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFD700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding: 0 0.5rem;
    /* 添加木质背景图片 */
    background: url('../images/shillong/bg_01.png') no-repeat center;
    background-size: 200% 100%;
    height: 2.5rem;
}

.fistResult {
    /* 移除背景色和边框，只保留简单的文字样式 */
    text-align: left;
    text-shadow: -1px -1px 0 rgba(55, 28, 7, 1),
    1px -1px 0 rgba(55, 28, 7, 1),
    -1px 1px 0 rgba(55, 28, 7, 1),
    1px 1px 0 rgba(55, 28, 7, 1); /* 四个方向的阴影模拟描边 */
    color: rgba(255, 227, 187, 1);
    margin: 0 1rem;
}

.secondResult {
    /* 移除背景色和边框，只保留简单的文字样式 */
    text-align: left;
    text-shadow: -1px -1px 0 rgba(55, 28, 7, 1),
    1px -1px 0 rgba(55, 28, 7, 1),
    -1px 1px 0 rgba(55, 28, 7, 1),
    1px 1px 0 rgba(55, 28, 7, 1); /* 四个方向的阴影模拟描边 */
    color: rgba(255, 227, 187, 1);
    margin: 0 1rem;
}

/* 修改中间数字样式，移除边框和背景，保持简单的文字显示 */
.open-no {
    color: rgba(255, 227, 187, 1);
    font-weight: bold;
    display: flex; /* 新增 */
    align-items: center; /* 新增 */
    justify-content: center; /* 新增 */
    flex: 0.7;
    margin: 0 0.5rem;
    background: rgba(55, 28, 7, 0.7);
    border-radius: 0.5rem;
    height: 1.3rem;
}

.shillong-time-info {
    /* 移除背景色和边框，只保留简单的文字样式 */
    /*flex: 1;*/
    text-align: right;
    text-shadow: -1px -1px 0 rgba(55, 28, 7, 1),
    1px -1px 0 rgba(55, 28, 7, 1),
    -1px 1px 0 rgba(55, 28, 7, 1),
    1px 1px 0 rgba(55, 28, 7, 1); /* 四个方向的阴影模拟描边 */
    color: rgba(255, 227, 187, 1);
}

/* 添加Game Rates按钮样式 */
.game-rates-btn-main {
    background: linear-gradient(145deg, #FF4500, #DC143C);
    border: 1px solid #FFFFFF;
    border-radius: 1rem;
    color: white;
    font-weight: bold;
    font-size: 0.875rem;
    padding: 0 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    height: 1.5rem;
    width: auto;
}

.game-rates-btn-main:hover {
    background: linear-gradient(145deg, #DC143C, #FF4500);
    transform: scale(1.05);
}

.shillong-wheel-container {
    text-align: center;
    margin-bottom: 2rem;
}

.shillong-wheel {
    height: 12rem;
    margin: 0 auto 1rem;
    background-size: contain;
}

/* 添加bet-header样式，让PLACE YOUR BET和Game Rates按钮在同一行 */
.bet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.place-bet-title {
    background: url('../images/shillong/text_1.png') no-repeat center;
    background-size: contain;
    height: 2rem;
    width: 12rem;
}

.game-buttons {
    display: flex;
    justify-content: center;
    /* 移除gap，让按钮紧密排列填满宽度 */
    margin-bottom: 0.5rem;
}

.game-btn {
    background: url('../images/shillong/bt_A01_1st-2.png') no-repeat center;
    background-size: cover;
    height: 2rem;
    border: none;
    cursor: pointer;
    width: 33%;
    margin: 0 0.3rem;
    position: relative;
}

.game-btn.second {
    background-image: url('../images/shillong/bt_A01_2nd-2.png');
}

.game-btn.forecast {
    background-image: url('../images/shillong/bt_A01_forecast.png');
}

/*当game-btn点击 添加active 修改背景图片*/
.game-btn.active {
    background-image: url('../images/shillong/bt_A02_1st-2.png');
}
.game-btn.active.second {
    background-image: url('../images/shillong/bt_A02_2nd-2.png');
}
.game-btn.active.forecast {
    background-image: url('../images/shillong/bt_A02_forecast.png');
}

.game-btn:hover, .game-btn:active{
    opacity: 1;
}

/* 禁用状态样式 */
.game-btn:disabled {
    position: relative;
}

/* 灰色蒙版效果 */
.game-btn:disabled::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

.game-btn span.time-fn {
    position: absolute; /* 绝对定位 */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45%;
    height: 70%;
    left: 40%;
    top: 50%; /* 垂直居中 */
    transform: translateY(-50%); /* 精确垂直居中 */
    color: rgba(255, 227, 187, 1);
    font-size: 0.7rem;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.main-panel {
    background: url('../images/shillong/img_wood2.webp') no-repeat center;
    background-size: 100% 100%;
    padding: 3.5rem 1.8rem;
    margin-bottom: 0.5rem;
    position: relative;
}

/* 禁用状态 */
.main-panel.disabled {
    pointer-events: none; /* 禁用鼠标事件 */
}

/* 蒙版效果 */
.main-panel.disabled::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9); /* 半透明黑色蒙版 */
    z-index: 1; /* 确保蒙版在内容之上 */
    border-radius: inherit; /* 继承父元素的圆角 */
}

.disabled-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 2; /* 在蒙版之上 */
    width: 20rem;
    text-align: center;
}
.pick-number-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.pick-number-title {
    background: url(../images/shillong/text_2.png) no-repeat center;
    background-size: contain;
    height: 1.5rem;
    width: 40%;
}

.pick-number-input {
    width: 60%;
    color: #F4E4BC;
    display: flex;          /* 启用弹性布局 */
    justify-content: flex-end; /* 替代 text-align: end */
    align-items: center;    /* 垂直居中 */
    gap: 8px;               /* 标签和输入框间距 */
}
/* 添加数字输入框样式 */
.shillong-container input[type="number"],
.number-input {
    width: 3rem;
    min-width: 3rem; /* 保持最小宽度 */
    background: #F4E4BC;
    border: 0.0625rem solid #8B4513;
    border-radius: 0.25rem;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    color: #8B4513;
    padding: 0.25rem;
    display: inline-block;
    line-height: 1.5rem;

    /* 滚动相关属性 */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;

    /* iOS优化 */
    -webkit-user-select: text;
    user-select: text;
    -webkit-tap-highlight-color: transparent; /* 移除点击高亮 */
}

.number-input:focus {
    outline: none;
    border-color: #FFD700;
    background: #FFF8DC;
}

.shillong-number-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
    justify-items: center;
}

/* 通用按钮样式 */
.number-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: none;
    background-color: transparent;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: transparent;
    cursor: pointer;
    transition: all 0.2s;
}

/* 为每个按钮指定对应的背景图片 */
.number-btn[data-number="0"] {
    background-image: url('../images/shillong/bt_kb0.png');
}

.number-btn[data-number="1"] {
    background-image: url('../images/shillong/bt_kb1.png');
}

.number-btn[data-number="2"] {
    background-image: url('../images/shillong/bt_kb2.png');
}

.number-btn[data-number="3"] {
    background-image: url('../images/shillong/bt_kb3.png');
}

.number-btn[data-number="4"] {
    background-image: url('../images/shillong/bt_kb4.png');
}

.number-btn[data-number="5"] {
    background-image: url('../images/shillong/bt_kb5.png');
}

.number-btn[data-number="6"] {
    background-image: url('../images/shillong/bt_kb6.png');
}

.number-btn[data-number="7"] {
    background-image: url('../images/shillong/bt_kb7.png');
}

.number-btn[data-number="8"] {
    background-image: url('../images/shillong/bt_kb8.png');
}

.number-btn[data-number="9"] {
    background-image: url('../images/shillong/bt_kb9.png');
}

.number-btn[data-number="00"] {
    background-image: url('../images/shillong/bt_kb00.png');
}

.number-btn[data-number="del"] {
    background-image: url('../images/shillong/bt_kbdt.png');
}

.number-btn[data-number="del"]:hover {
    filter: brightness(1.1) hue-rotate(-10deg);
}

.amount-section {
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    /* padding: 0 0.5rem; */
}

/* 修改amount区域布局，让标签和按钮在同一行 */
.amount-row {
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

.amount-label {
    color: rgba(55, 28, 7, 1);
    font-weight: bold;
    white-space: nowrap;
    min-width: 4rem;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.1rem;
    flex: 1;
}

.amount-btn,
.multiplier-btn {
    padding: 0.3rem;
    border: 1px solid rgba(55, 28, 7, 1);
    background: rgba(255, 227, 187, 0.3);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.4) inset;
    opacity: 1;
    /* gap: 10px; */
    border-radius: 8px;
    color: rgba(55, 28, 7, 1);
}

.amount-btn:hover,
.amount-btn.selected,
.multiplier-btn:hover,
.multiplier-btn.selected{
    background:rgba(255, 227, 187, 1);
    font-weight: bold;
}



/* 修改购买区域布局，让信息和按钮在同一行 */
.purchase-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(139, 69, 19, 0.1);
    padding: 0.5rem 0.5rem;
    border-radius: 0.25rem;
    gap: 0.5rem;
}

.purchase-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: rgba(255, 227, 187, 1);
    font-size: 1rem;
    font-weight: bold;
    width: 60%;
}

.purchase-info-row {
    display: flex;
    gap: 0.2rem;
}

.buy-btn {
    width: 6rem;
    height: 2.5rem;
    background: linear-gradient(92.64deg, #FA6311 0%, #D00407 100%);
    border: 1px solid;
    border-radius: 1rem;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.buy-btn:hover {
    transform: translateY(-0.125rem);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.3);
}

.results-section {
    background: rgba(55, 28, 7, 1);
    border: 1px solid rgba(200, 165, 112, 1);
    border-radius: 0.5rem;
    padding: 0.5rem;
    color: white;
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.2);
    margin: 0 1rem;
    position: relative;
    max-width: 640px;
    margin-bottom: 15rem;
}

.results-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.results-tab {
    background: rgba(55, 28, 7, 1);
    padding: 0.5rem 0.5rem;
    border: none;
    border-radius: 0.25rem;
    color: white;
    cursor: pointer;
    font-size: 0.85rem;
}

.results-tab.active {
    background: rgba(255, 227, 187, 1);
    color: rgba(55, 28, 7, 1);

}

.results-table {
    width: 100%;
    font-size: 0.85rem;
}

.results-table th,
.results-table td {
    padding: 0.25rem;
    text-align: center;
    border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.2);
}

.results-table td {
    color:rgba(255, 227, 187, 1) ;
}

.results-table th {
    background: rgba(255, 255, 255, 0.1);
}

.results-section .pagination .page-info{
    padding: 2px 4px;
    text-decoration: none;
    border: 1px solid rgba(200, 165, 112, 1);
    margin: 0 4px;
    color: rgba(200, 165, 112, 1);
    font-size: 1rem;
}

.results-section .pagination a, .results-section .pagination span {
    padding: 2px 4px;
    text-decoration: none;
    border: 1px solid rgba(200, 165, 112, 1);
    margin: 0 4px;
    color: rgba(200, 165, 112, 1);
    font-size: 1rem;
}

.results-section .pagination a.active, .results-section .pagination a:hover {
    background-color: rgba(200, 165, 112, 1);
    color: white;
    border: 1px solid rgba(200, 165, 112, 1);
}

.shillong-iframe-container {
    width: 100%;
    border: 2px solid rgba(200, 165, 112, 1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    background: white;
    box-sizing: border-box;
    height: 13rem;
}

.shillong-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    opacity: inherit;

}
.shilling-stepper {
    justify-content: center;
}

.shilling-stepper .stepper-button-plus,
.shilling-stepper .stepper-button-minus {
    background: transparent;
    color: #ffffff;
}
.shilling-stepper {
    border-radius: 12px;
    text-align: center;
    display: flex;
}

.shilling-stepper .stepper-button-minus {
    border-radius: 12px 0 0;
    border: 0;
    width: 20px;
}

.shilling-stepper .stepper-button-minus::after {
    width: 10px;
    height: 2px;
    background: #000000;
}

.shilling-stepper .stepper-input-wrap {
    border: 0;
}

.shilling-stepper .stepper-input-wrap input {
    padding: 0.3rem;
    border: 1px solid rgba(55, 28, 7, 1);
    background: rgba(255, 227, 187, 0.3);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.4) inset;
    opacity: 1;
    /* gap: 10px; */
    border-radius: 8px;
    color: rgba(55, 28, 7, 1);
    width: 3rem;
    text-align: center;
}

.shilling-stepper .stepper-button-plus {
    border-radius: 0 0 12px 0;
    border: 0;
    width: 20px;
}

.shilling-stepper .stepper-button-plus::before {
    height: 10px !important;
    height: 2px;
    background: #000000;
}

.shilling-stepper .stepper-button-plus::after {
    width: 10px;
    height: 2px;
    background: #000000;
}

.shillong-grid-hint {
    font-size: 1.2rem;
    color: #9aa0a6;
    margin: .8rem 0 1.2rem;
}

.shillong-grid-2d {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    /*gap: .1rem;*/
    justify-items: center;
}

.shillong-grid-2d .shillong-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid transparent;
    inline-size: var(--ball-size);
}

.shillong-grid-2d .shillong-ball-white {
    background: rgba(255, 227, 187, 1);
    color: rgba(55, 28, 7, 1);
    border-color: rgba(255, 227, 187, 1);
}

.shillong-grid-2d .shillong-ball-black {
    background: rgba(55, 28, 7, 1);
    color: rgba(255, 227, 187, 1);
    border-color: rgba(55, 28, 7, 1);
}

.shillong-grid-2d .shillong-cell.shillong-is-selected {
    background: #dc2626 !important;
    color: #f3f4f6 !important;
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 2px #dc2626 inset;
}

/* 列头全选与容器 */
.shillong-grid-wrap {
    border-radius: 1rem;
    --ball-size: 2.2rem;
}

.shillong-grid-wrap.shillong-alt {
    background: #eef2f7;
}

.shillong-grid-head {
    display: grid;
    grid-template-columns: repeat(10, 1fr); /* gap:.5rem; */
    margin-bottom: .5rem;
    justify-items: center;
}

.shillong-col-select {
    position: relative;
    background: rgba(55, 28, 7, 1);
    color: #fff;
    border: 0;
    border-radius: 1rem;
    padding: .4rem 0 .2rem;
    cursor: pointer;
    inline-size: var(--ball-size);
}

.shillong-col-select .shillong-num {
    display: block;
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.6rem;
}

.shillong-col-select .shillong-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background: #fff;
    color: rgba(55, 28, 7, 1);
    margin: .2rem auto 0;
}

.shillong-col-select .shillong-icon svg {
    width: 1.2rem;
    height: 1.2rem;
    display: block;
    fill: currentColor;
}

.shillong-col-select.shillong-is-active {
    background: #dc2626;
    color: #f3f4f6;
}

.shillong-col-select.shillong-is-active .shillong-icon {
    background: #f3f4f6;
    color: #dc2626;
}

.purchase-numbers-row {
    display: flex;
    align-items: center;
    color: rgba(255, 227, 187, 1);
    font-size: 1rem;
    font-weight: bold;
    padding: 0.1rem 0.5rem;
}
.purchase-numbers-row span {
    margin-right: 10px;
}
.purchase-numbers-row .number-input {
    flex: 1;
}
.shillong-total-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    text-align: right;
    flex-shrink: 0;
}
.shillong-numbers-count {
    font-size: 0.8rem;
    color: rgba(255, 227, 187, 1);
    font-weight: 500;
}
.shillong-expand-btn {
    background: rgba(255, 227, 187, 1);
    color: rgba(55, 28, 7, 1);
    border: none;
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    position: relative;
}

.shillong-expand-btn::before {
    content: '▼';
    transition: transform 0.2s ease;
}

.shillong-expand-btn.shillong-expanded::before {
    transform: rotate(180deg);
}

.shillong-expand-btn:hover {
    background: rgba(255, 227, 187, 1);
    transform: translateY(-1px);
}

.shillong-expand-btn:active {
    transform: translateY(0);
}

/* 底部工具栏样式 */
.shillong-toolbar {
    height: auto;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background:#ab6627 !important;
    padding: 0.5rem;
    z-index: 1000;
    box-shadow: 0 -4px 20px #ab6627, 0 -1px 0 rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 1rem 1rem 0 0;
    /* 添加动画效果 */
    animation: slideUp 0.5s ease-out forwards;

}

@keyframes slideUp {
    from {
        bottom: -100px;
        opacity: 0;
    }
    to {
        bottom: 0;
        opacity: 1;
    }
}


.shillong-toolbar-content {
    /* background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); */
    border-radius: 0.5rem;
    padding: 0.2rem 0.5rem;
    /* margin-bottom: 1.2rem; */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 117, 255, 0.1);
    position: relative;
    overflow: hidden;
}



.shillong-toolbar-row {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.2rem;
}


.shillong-toolbar-row:last-child {
    margin-bottom: 0;
}

.shillong-toolbar-label {
    color: #ffffff;
    font-weight: 400;
    font-size: 0.9rem;
    min-width: 2rem;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* 号码显示区域 */
.shillong-numbers-display {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
    position: relative;
}


.shillong-numbers-input {
    /* 保持你原有的样式 */
    flex: 1;
    padding: 0.5rem 0.6rem;
    border: 2px solid rgba(55, 28, 7, 1);
    border-radius: 0.6rem;
    font-size: 1rem;
    font-weight: 600;
    background: #fff;
    color: #111827;
    font-family: inherit;
    -webkit-overflow-scrolling: touch !important;
    overflow-x: auto !important;
    user-select: text;
    white-space: nowrap;
    line-height: 1.2;
    transition: none;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    display: flex;
    align-items: center;
    scroll-behavior: smooth;

    /* 新增的样式 */
    touch-action: pan-x !important; /* 允许水平滚动 */
    pointer-events: auto !important; /* 确保输入框可以接收触摸事件 */
}

.shillong-numbers-input:focus {
    outline: none;
    border-color: rgba(55, 28, 7, 1);
    box-shadow: 0 0 0 3px rgba(55, 28, 7, 0.2), inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transform: none;
}

.shillong-numbers-input::-webkit-scrollbar {
    height: 4px;
}

.shillong-numbers-input::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.shillong-numbers-input::-webkit-scrollbar-thumb {
    background:rgba(55, 28, 7, 1);
    border-radius: 2px;
}

.shillong-clear-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #ccc;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: none;
    box-shadow: none;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
}

.shillong-clear-btn:hover {
    background: transparent;
    color: #ccc;
    transform: none;
    box-shadow: none;
}


.shillong-clear-btn svg {
    width: 1.8rem;
    height: 1.8rem;
    display: block; /* 防止行高影响 */
    flex: 0 0 auto; /* 防止 flex 布局缩放 */
}

/* 筹码容器 */
.shillong-chips-container {
    display: flex;
    gap: 0.1rem;
    flex: 1;
}

/* 金额输入框 */
.shillong-amount-input {
    padding: 0.1rem 0.2rem;
    border: 2px solid rgba(55, 28, 7, 1);
    border-radius: 0.6rem;
    font-size: 1rem;
    font-weight: 600;
    background: #fff;
    color: #111827;
    width: 5rem;
    max-width: 5rem;
    min-height: 2rem;
    line-height: 1.2;
    text-align: left;
    transition: none;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    display: flex;
    align-items: center;
}

.shillong-amount-input:focus {
    outline: none;
    border-color: rgba(55, 28, 7, 1);
    box-shadow: 0 0 0 3px rgba(55, 28, 7, 0.2), inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transform: none;
}

/* 底部信息栏 */
.shillong-toolbar-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    padding: 0.2rem 0.5rem 0;
}


.shillong-toolbar-info {
    display: flex;
    flex-direction: column;
    /*gap: 0.4rem;*/
}

.shillong-tickets,
.shillong-balance {
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.shillong-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.shillong-total-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    text-align: right;
    flex-shrink: 0;
}

.shillong-quick-buy-btn {
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 0.8rem;
    background: linear-gradient(92.64deg, #FA6311 0%, #D00407 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.shillong-quick-buy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: none;
}

.shillong-quick-buy-btn:hover {
    transform: none;
}

.shillong-quick-buy-btn:hover::before {
    left: 100%;
}

.shillong-quick-buy-btn:active {
    transform: none;
}