/* ============================================
   BRICK CLICKER — Stats & Settings Panel
   ============================================ */

#Statss {
    position: fixed;
    background: linear-gradient(
        160deg,
        rgba(18, 8, 3, 0.97) 0%,
        rgba(32, 16, 6, 0.95) 100%
    );
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    width: 70%;
    height: 80%;
    top: 10%;
    left: 15%;
    z-index: 20;
    border: 2px solid rgba(220, 150, 60, 0.45);
    border-radius: 16px;
    transition: all 0.4s ease;
    padding: 2.5% 3%;
    overflow-y: scroll;
    box-shadow:
        0 25px 70px rgba(0,0,0,0.8),
        inset 0 1px 0 rgba(255,210,100,0.08),
        0 0 0 1px rgba(200,120,40,0.15);
}

/* Decorative top accent */
#Statss::before {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #e8a428, transparent);
    margin: 0 auto 18px;
    border-radius: 2px;
}

#statsFlex {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
    align-items: flex-start;
    gap: 5%;
}

/* Shared text styles */
#Statss ol, #Statss li, #Statss h2, #Statss p {
    color: #f4e9d8;
    text-shadow: -1px 0 #1a0802, 0 1px #1a0802, 1px 0 #1a0802, 0 -1px #1a0802;
    font-weight: 700;
    text-align: center;
    list-style: none;
    font-family: 'Nunito', Arial, sans-serif;
}

/* Scrollbar */
#Statss::-webkit-scrollbar { width: 10px; }
#Statss::-webkit-scrollbar-track { background: rgba(15,6,2,0.7); border-radius: 5px; }
#Statss::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #c0522a, #8b3a1f);
    border-radius: 5px;
    border: 2px solid #e8a428;
}

/* Stats column */
#numbers {
    font-size: 1.4vw;
    margin: 5px 0;
    font-weight: 700;
    color: #f4e9d8;
    text-shadow: -1px 0 #1a0802, 0 1px #1a0802, 1px 0 #1a0802, 0 -1px #1a0802;
    line-height: 1.9;
}

#numbers > p {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(200,130,50,0.15);
    padding: 4px 0;
}

/* Settings column */
#settings {
    font-size: 1.3vw;
    margin: 5px 0;
    width: 42%;
    font-weight: 700;
    color: #f4e9d8;
    text-shadow: -1px 0 #1a0802, 0 1px #1a0802, 1px 0 #1a0802, 0 -1px #1a0802;
    line-height: 1.9;
    text-align: center;
}

#settings > button {
    background: linear-gradient(135deg, #5a3020, #3a1a08);
    border: 2px solid #e8a428;
    border-radius: 8px;
    padding: 3px 14px;
    color: #f4e9d8;
    font-family: 'Nunito', Arial, sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 1.25vw;
    margin: 3px 0;
}

#settings > button:hover {
    background: linear-gradient(135deg, #7a4030, #5a2510);
    border-color: #ffd060;
    scale: 1.05;
}

#settings input[type="range"] {
    width: 14vw;
    height: 6px;
    cursor: pointer;
    margin: 6px 0 14px;
    accent-color: #e8a428;
    border-radius: 3px;
}

/* Credits section */
.creditsb {
    margin-top: 4vh;
    font-size: 2.5vw;
    font-family: 'Cinzel Decorative', serif;
    color: #e8a428 !important;
    text-shadow: 0 0 12px rgba(232,164,40,0.4), -1px 0 #1a0802, 0 1px #1a0802 !important;
    text-align: center;
}

.credits {
    font-size: 1.3vw;
    line-height: 2;
}

.credits li {
    border-bottom: 1px solid rgba(200,130,50,0.15);
    padding: 3px 0;
}