body {
    background-color: #0c0c0c
}

.input-group-text {
    color: #a8b5c1;
    background-color: #0c0c0c
}

.bg-dark {
    background-color: #0c0c0c !important
}

.card {
    box-shadow: 0 0 3px 0 rgba(154, 161, 171, .15)
}

.nav-link.active {
    background-color: #0c0c0c !important
}

.text-light {
    color: #7f7f7f !important
}
.text-renshu {
    color: #161515 !important
}

.text-jin_success {
    color: #217300 !important
}

.text-jin {
    color: #8f0000 !important
}

.card-footer {
    border-top: 1px solid #0c0c0c
}

.card-header {
    border-bottom: 1px solid #651919
}

a {
    color: #30356b;
    background-color: transparent
}

.nav-tabs.nav-bordered li a.active {
    border-bottom: 2px solid #30356b
}

.form-control {
    border: 1px solid #6d4646;
    text-align: center;
    background-color: #0c0c0c !important
}

.input-group-text {
    border: 1px solid #434343;
    color: #7f7f7f
}

.text-zhuyi {
    color: #654a00 !important
}

.card {
    box-shadow: 0 0 0 0 rgba(154, 161, 171, .15);
    background-color: #0c0c0c
}

.col-lg-5 {
    padding-right: 1px;
    padding-left: 1px
}

.alert-warning {
    color: #c79300;
    background-color: #1a1a1a;
    border-color: #3d0000
}

.bg-foot {
    background-color: #0c0c0c !important
}

.pt {
    font-size: .6rem
}

.d_bk {
    border: 1px solid transparent
}

.spinner-grow-sm {
    width: 0.6rem;
    height: 0.6rem
}

.card-header:first-child {
    border-bottom: 2px solid #3d0000;
    border-radius: 0 0 30px 30px;
    background-clip: padding-box
}

img {
    vertical-align: sub
}

.alarm-clock {
    width: 250px;
    height: 250px;
    background: linear-gradient(145deg, #121212, #0c0c0c);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.9), inset 0 4px 6px rgba(255, 255, 255, 0.03);
    border: 6px solid #1a1a1a;
    text-align: center !important;
    margin-left: auto;
    margin-right: auto
}

.alarm-clock::before {
    content: '';
    position: absolute;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05)
}

.alarm-bell {
    position: absolute;
    top: -30px;
    width: 120px;
    display: flex;
    justify-content: space-between;
    z-index: 5
}

.bell {
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, #1a1a1a, #0c0c0c);
    border-radius: 50%;
    border: 2px solid #222;
    position: relative;
    animation: bell-swing 0.5s infinite alternate ease-in-out;
}

.bell:nth-child(2) {
    animation-delay: 0.6s
}

.bell::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 7px;
    height: 7px;
    background: #222;
    border-radius: 50%
}

@keyframes bell-swing {
    0% {
        transform: rotate(-3deg)
    }

    100% {
        transform: rotate(3deg)
    }
}

.alarm-marks {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: 1
}

.main-mark {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 10px;
    background: #2a2a2a;
    transform-origin: 50% 100px
}

.sub-mark {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 6px;
    background: #222;
    transform-origin: 50% 100px
}

.main-mark:nth-child(1) {
    transform: rotate(0deg)
}

.main-mark:nth-child(2) {
    transform: rotate(90deg)
}

.main-mark:nth-child(3) {
    transform: rotate(180deg)
}

.main-mark:nth-child(4) {
    transform: rotate(270deg)
}

.number-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 2
}

.number-group {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative
}

.num-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 1px solid #222;
    color: #c8e6c9;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.1s ease
}

.num-btn:active {
    background: #222;
    transform: scale(0.95)
}

.main-number {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 2px;
    transition: all 0.2s ease
}
.sub-number_top {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -50px;
    font-size: 11px;
    white-space: nowrap;
}
.sub-number {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -5px;
    font-size: 11px;
    white-space: nowrap
}

.float-cards {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 99
}

.small-card {
    width: 80px;
    height: 55px;
    background: #0c0c0c;
    border: 1px solid #333;
    border-radius: 10px 10px 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6d6b6b;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
    white-space: nowrap;
    /* width: 250px; */
    /* height: 250px; */
    /* background: linear-gradient(145deg, #121212, #0c0c0c); */
    /* border-radius: 50%; */
    /* display: flex; */
    /* flex-direction: column; */
    /* justify-content: center; */
    /* align-items: center; */
    /* position: relative; */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.9), inset 0 4px 6px rgba(255, 255, 255, 0.03);
    /* border: 6px solid #1a1a1a; */
    /* text-align: center !important; */
    /* margin-left: auto; */
    /* margin-right: auto; */
}

.small-card:hover {
    background: #2d2d2d;
    transform: translateY(-3px)
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease
}

.overlay.active {
    opacity: 1;
    visibility: visible
}

.big-card {
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    background: #0e0e0e;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    z-index: 101;
    transition: bottom 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow-y: auto;
    padding: 24px
}

.big-card.active {
    bottom: 0
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 18px
}

.close-btn:hover {
    background: #444
}

.card-content {
    display: none
}

.card-content.active {
    display: block
}

.card-title {
    font-size: 15px;
    margin-bottom: 16px
}

.card-text {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 12px
}

.jin_shuju {
    border-top: 2px solid #3d0000;
    border-radius: 300px 300px 0 0;
    background-clip: padding-box;
}