#box5 {
    display: flex;
    align-items: center;
    gap: 18px;
}

#box5 .stat-info {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.moon-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 110px;
}

.moon-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    gap: 6px;
    min-width: 120px;
    height: 65px;
}

.moon-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.2;
}

.moon-line strong {
    font-weight: 700;
}

.moon-visual-wrap {
    width: 100px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
    transform: translateX(-15px);
}

.moon-real {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    background: radial-gradient(circle at 30% 30%, #ffb3b3 0%, #ff6666 35%, #cc2a2a 65%, #7a0d0d 100%);
    box-shadow: 0 0 25px rgba(255, 80, 80, 0.35), inset -10px -10px 20px rgba(0, 0, 0, 0.4);
}

.moon-light {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 180, 180, 0.9), transparent 60%);
    mix-blend-mode: screen;
    z-index: 2;
}

.moon-dark {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 50%;
    background: #4d0d0d;
    border-radius: 50%;
    transition: all 0.6s ease;
    z-index: 3;
}

.moon-texture {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-image:
        radial-gradient(circle at 20% 25%, rgba(0, 0, 0, 0.25) 2px, transparent 3px),
        radial-gradient(circle at 70% 40%, rgba(0, 0, 0, 0.2) 2px, transparent 3px),
        radial-gradient(circle at 50% 70%, rgba(0, 0, 0, 0.3) 3px, transparent 4px),
        radial-gradient(circle at 30% 60%, rgba(0, 0, 0, 0.2) 2px, transparent 3px);
    opacity: 0.6;
    z-index: 4;
}

.moon-days-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.moon-day {
    padding: 12px 6px;
    border-radius: 16px;
    text-align: center;
    background-color: #911a1a52;
    font-size: 12px;
    position: relative;
    border: 1px solid transparent;
}

.moon-day.active {
    border: 1px solid rgba(239, 68, 68, 0.55);
    box-shadow: 0 0 0 1px rgba(41, 22, 22, 0.2) inset, 0 0 18px rgba(239, 68, 68, 0.18);
    background: rgba(255, 0, 0, 0.14);
}

.moon-day-num {
    font-size: 11px;
    opacity: 0.7;
    margin-bottom: 8px;
}

.moon-day-mini {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    margin: 0 auto 8px;
    background: radial-gradient(circle at 30% 30%, #ffb3b3 0%, #ff6666 35%, #cc2a2a 65%, #7a0d0d 100%);
    box-shadow: 0 0 10px rgba(255, 80, 80, 0.2), inset -4px -4px 8px rgba(0, 0, 0, 0.35);
}

.moon-day-mini-dark {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 50%;
    background: #120303;
    border-radius: 50%;
}

.moon-day-text {
    font-size: 11px;
    line-height: 1.2;
    opacity: 0.8;
}

.moon-center {
    width: 100%;
    margin: 0 auto;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.moon-big {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 30% 30%, #ffb3b3 0%, #ff6666 35%, #cc2a2a 65%, #7a0d0d 100%);
    box-shadow: 0 0 45px rgba(255, 80, 80, 0.28), inset -20px -20px 35px rgba(0, 0, 0, 0.38);
}

.moon-phase {
    margin-top: 22px;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
}

.moon-sub {
    margin-top: 6px;
    font-size: 14px;
    opacity: 0.7;
    text-align: center;
}

.moon-progress {
    width: 100%;
    margin: 30px auto 0;
}

.moon-progress-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    margin-bottom: 10px;
}

.moon-bar {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(145, 145, 145, 0.178);
    overflow: hidden;
}

.moon-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, #7a0d0d 0%, #cc2a2a 55%, #ff8e8e 100%);
    transition: width 0.5s ease;
}

.moon-days {
    width: 100%;
    margin: 30px auto 0;
}

.moon-days-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

#moonScreen {
    overflow: auto;
    z-index: 10000000;
}

.moon-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 24px 0 0;
}

.moon-stat-box {
    background: rgba(145, 26, 26, 0.1);
    border: 1px solid rgba(192, 57, 43, 0.18);
    border-radius: 14px;
    padding: 12px 8px;
    text-align: center;
}

.moon-stat-label {
    font-size: 10px;
    opacity: 0.55;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 5px;
}

.moon-stat-val {
    font-size: 13px;
    font-weight: 700;
}

.moon-stat-red {
    color: #c0392b;
}

.moon-progress-red {
    color: #c0392b;
    font-weight: 700;
}