.shillong-container {
    /*width: 100%;*/
    background: url('../images/shillong/img_bg.webp') no-repeat center center;
    background-size: 100% 95%;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    position: relative;
    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: 2rem 2rem;
    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: 1rem;
}

.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;
    height: 1.5rem;
    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
}

.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: 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(6, 1fr);
    gap: 0.25rem;
    flex: 1;
}

.amount-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 {
    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.75rem 0.5rem;
    border-radius: 0.25rem;
}

.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: 40%;
    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: 1rem;
    color: white;
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.2);
    margin: 0 1rem;
    position: relative;
    max-width: 640px;
}

.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;

}

