/* Глобальный reset */
* {
    box-sizing: border-box;
}

body.poetry-night {
    margin: 0;
    padding: 0;
    font-family: "Inter", "Segoe UI", sans-serif;
    color: #C9D4E6;
    background: radial-gradient(circle at 50% 20%, #0a1f3a 0%, #071426 70%);
    position: relative;
    overflow-x: hidden;
}

/* Фоновый glow */
body.poetry-night::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 50% 20%, rgba(60,80,120,0.35), transparent 70%);
    z-index: -1;
    pointer-events: none;
}
body.poetry-night main,
body.poetry-night .content,
body.poetry-night .poetry-list,
body.poetry-night .poem {
    position: relative;
    z-index: 1;
}
body.poetry-night .poem {
    background: rgba(20, 30, 50, 0.55);
    border: 1px solid rgba(120, 140, 170, 0.35);
    border-radius: 14px;
    padding: 22px 26px;
    margin-bottom: 26px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
body.poetry-night .poem-tags > span,
body.poetry-night .poem-tags > a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.92rem;

    color: #4169E1;
    background: rgba(199, 227, 251, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.40);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(7px);

    transition: all 0.22s ease;
}

body.poetry-night .poem-tags > span:hover,
body.poetry-night .poem-tags > a:hover {
    color: #163d5b;
    background: rgba(255, 255, 255, 0.48);
    border-color: rgba(255, 255, 255, 0.62);
    box-shadow: 0 0 12px rgba(181, 224, 255, 0.22);
}
body.poetry-night .fav-btn,
body.poetry-night .fav-btn.active {
    all: unset;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;
    border-radius: 50%;

    font-size: 20px;
    cursor: pointer;

    color: #C9D4E6;
    background: rgba(70, 80, 110, 0.55);
    border: 1px solid rgba(120, 140, 170, 0.55);

    transition: 0.25s ease;
    position: relative;
    z-index: 10;
}

body.poetry-night .fav-btn:hover {
    background: rgba(90, 110, 150, 0.65);
    border-color: rgba(150, 170, 200, 0.65);
    transform: scale(1.08);
}

/* Активная звезда — золотая */
body.poetry-night .fav-btn.active {
    color: #8FCBFF !important; /* мягкий голубой */
    background: rgba(143, 203, 255, 0.18) !important;
    border-color: rgba(143, 203, 255, 0.35) !important;

    border-width: 1px !important; /* уменьшенный ободок */
    transform: scale(1.12);

    text-shadow: 0 0 6px rgba(143, 203, 255, 0.45);
}
body.poetry-night .poem-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #DCE4F2;
}

body.poetry-night .poem-date {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 14px;
}

