@import url("/fonts.css?v=2026-11-27");
@import url("/themes.css");
@import url("/player.css");

[hidden] {
    display: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Serif 4', Georgia, serif;
    color: var(--t-text);
    line-height: 1.5;
    /* Основной фон: SVG-текстура поверх базового цвета темы (--t-bg). */
    background-color: var(--t-bg);
    background-image: url("/background.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    /* Прижать футер к низу, если содержимое короче экрана. */
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.header { flex-shrink: 0; }
.footer { flex-shrink: 0; margin-top: auto; }

#pjax-content {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    min-width: 0;
}

.post__listen-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.post__listen-actions .post__listen-btn { margin-top: 0; }

/* Мобильные: «Слушать» и «Слушать везде» — одной строкой по центру */
@media (max-width: 640px) {
    .post__listen-actions {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 8px;
    }
    .post__listen-actions .post__listen-btn {
        flex: 0 1 auto;
        gap: 6px;
        padding: 10px 14px;
        font-size: 14px;
        white-space: nowrap;
    }
    .post__listen-actions .post__listen-btn::before { font-size: 11px; }
}

@media (max-width: 380px) {
    .post__listen-actions .post__listen-btn {
        padding: 9px 10px;
        font-size: 13px;
    }
}

html.pjax-loading::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1200;
    width: 100%;
    height: 3px;
    background: var(--t-accent);
    animation: pjax-progress 1s ease-in-out infinite;
    transform-origin: left center;
}

@keyframes pjax-progress {
    0% { transform: scaleX(0.05); opacity: 0.4; }
    50% { transform: scaleX(0.65); opacity: 1; }
    100% { transform: scaleX(1); opacity: 0.35; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background: var(--t-bg2);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--t-hover);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--t-heading);
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.header__logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.header__mood-label {
    align-self: flex-end;
    margin-top: 2px;
    color: var(--t-accent);
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 12px;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.2;
    white-space: nowrap;
}
.header__mood-label[hidden] { display: none; }

.header__logo-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.header__nav {
    display: flex;
    gap: 28px;
}

.header__nav-item {
    position: relative;
}

.header__nav-link {
    text-decoration: none;
    color: var(--t-text);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.2s;
    letter-spacing: -0.01em;
}

.header__nav-link:hover {
    opacity: 0.7;
}

.header__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 160px;
    padding: 8px 0;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 100;
}

.header__nav-item:hover .header__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header__dropdown-link {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: var(--t-text);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    transition: background 0.2s;
    letter-spacing: -0.01em;
}

.header__dropdown-link:hover {
    background: var(--t-bg);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Текущее настроение в шапке (десктоп) */
.header__mood-open {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    margin-right: 4px;
    border: 1px solid var(--t-hover);
    border-radius: 50%;
    background: var(--t-body);
    cursor: pointer;
    isolation: isolate;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

/* Пульсирующий градиент вокруг смайлика настроения */
.header__mood-open::before {
    content: "";
    position: absolute;
    inset: -4px;
    z-index: -1;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
        #C06A4A, #E8C547, #8FA6B5, #D2A8A1, #A7A3C3, #6FAF8B, #C06A4A);
    filter: blur(5px);
    opacity: 0.7;
    pointer-events: none;
    animation: header-mood-spin 7s linear infinite,
               header-mood-pulse 3.2s ease-in-out infinite;
}

.header__mood-open::after {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
        #C06A4A, #E8C547, #8FA6B5, #D2A8A1, #A7A3C3, #6FAF8B, #C06A4A);
    -webkit-mask: radial-gradient(farthest-side,
        transparent calc(100% - 3px), #000 calc(100% - 2px));
    mask: radial-gradient(farthest-side,
        transparent calc(100% - 3px), #000 calc(100% - 2px));
    opacity: 0.85;
    pointer-events: none;
    animation: header-mood-spin 7s linear infinite reverse;
}

@keyframes header-mood-spin {
    to { transform: rotate(360deg); }
}

@keyframes header-mood-pulse {
    0%, 100% { opacity: 0.45; transform: scale(0.96); }
    50% { opacity: 0.9; transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    .header__mood-open::before,
    .header__mood-open::after { animation: none; }
}

.header__mood-open:hover {
    background: var(--t-hover);
    border-color: var(--t-muted);
    transform: scale(1.04);
}

.header__mood-open.is-active {
    border-color: var(--t-accent);
    box-shadow: 0 0 0 2px rgba(192, 106, 74, 0.18);
}

.header__mood-open.is-active::before { opacity: 0.95; }

.header__mood-open-emoji {
    font-size: 20px;
    line-height: 1;
    display: block;
}

/* iframe-попап выбора настроения */
.mood-pop {
    position: fixed;
    inset: 0;
    z-index: 320;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.mood-pop[hidden] { display: none; }

.mood-pop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mood-pop__overlay {
    position: absolute;
    inset: 0;
    background: rgba(47, 36, 31, 0.52);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mood-pop.is-open .mood-pop__overlay { opacity: 1; }

.mood-pop__dialog {
    position: relative;
    width: min(92vw, 560px);
    height: min(88vh, 640px);
    background: var(--t-bg);
    border: 1px solid var(--t-hover);
    border-radius: 24px;
    box-shadow: 0 26px 70px rgba(47, 36, 31, 0.3);
    overflow: hidden;
    opacity: 0;
    transform: translateY(18px) scale(0.96);
    transition: opacity 0.28s ease,
                transform 0.48s cubic-bezier(.34, 1.2, .5, 1);
}

.mood-pop.is-open .mood-pop__dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.mood-pop__frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: var(--t-bg);
}

.mood-pop__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border: 1px solid var(--t-hover);
    border-radius: 50%;
    background: var(--t-body);
    color: var(--t-heading);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

.mood-pop__close:hover { background: var(--t-hover); }

@media (max-width: 1024px) {
    .header__mood-open { display: none; }
}

.header__auth-name {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--t-text);
    letter-spacing: -0.01em;
}

.header__auth-btn {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--t-text);
    text-decoration: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 14px;
    transition: background 0.2s, color 0.2s;
}
.header__auth-btn:hover { color: var(--t-accent); background: var(--t-hover); }
.header__auth-btn--primary { background: var(--t-accent); color: #fff; }
.header__auth-btn--primary:hover { background: var(--t-accent-hover); color: #fff; }
.header__auth-btn--ghost { border: 1px solid var(--t-muted); }
.header__auth-btn--ghost:hover { border-color: var(--t-accent); }

/* Профиль: имя пользователя + выпадающее меню (кабинет и выход) */
.header__profile { position: relative; display: inline-flex; }

.header__profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 0;
    border-radius: 14px;
    background: none;
    color: var(--t-text);
    cursor: pointer;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.header__profile-btn:hover { color: var(--t-accent); background: var(--t-hover); }

.header__profile-name {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header__profile-caret {
    font-size: 10px;
    opacity: 0.6;
    transition: transform 0.2s;
}

.header__profile.is-open .header__profile-caret { transform: rotate(180deg); }

.header__profile-menu {
    left: auto;
    right: 0;
    min-width: 200px;
    max-height: min(70vh, 420px);
    overflow-y: auto;
}

.header__profile:hover .header__profile-menu,
.header__profile.is-open .header__profile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header__profile-logout {
    width: 100%;
    margin-top: 4px;
    text-align: left;
    border: 0;
    border-top: 1px solid var(--t-hover);
    background: none;
    color: var(--t-secondary);
    cursor: pointer;
}

.header__profile-logout:hover { background: var(--t-bg); color: var(--t-accent); }

/* «Твоё настроение» — выпадающий список настроений в шапке */
.header__mood { position: relative; display: inline-flex; }

.header__mood-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 14px;
    color: var(--t-text);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: background 0.2s;
}

.header__mood-btn:hover { background: var(--t-hover); }

.header__mood-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--mood-color, var(--t-muted));
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
    flex: 0 0 auto;
}

.header__mood-menu {
    left: auto;
    right: 0;
    min-width: 200px;
}

.header__mood:hover .header__mood-menu,
.header__mood.is-open .header__mood-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header__mood-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: left;
    border: 0;
    cursor: pointer;
    background: none;
    white-space: nowrap;
}

.header__mood-item.is-active { font-weight: 700; }

.header__mood-item--reset {
    border-top: 1px solid var(--t-hover);
    margin-top: 4px;
    color: var(--t-secondary);
}

/* Цвета настроений (значения из themes.css) */
[data-mood-color="letgo"] { --mood-color: #8FA6B5; }
[data-mood-color="sad"] { --mood-color: #A7B3C4; }
[data-mood-color="strength"] { --mood-color: #C9A27E; }
[data-mood-color="love"] { --mood-color: #D2A8A1; }
[data-mood-color="dream"] { --mood-color: #A7A3C3; }
[data-mood-color="restart"] { --mood-color: #6FAF8B; }
[data-mood-color="calm"] { --mood-color: #6F8A84; }

.mobile-mood {
    border-top: 1px solid var(--t-hover);
    margin-top: 8px;
    padding-top: 12px;
}

.mobile-mood__title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--t-secondary);
    margin-bottom: 8px;
}

.mobile-mood__item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 0;
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--t-text);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    text-align: left;
}

.mobile-mood__item.is-active { font-weight: 700; }

.mobile-mood__item--reset {
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--t-hover);
    color: var(--t-secondary);
}

.mobile-menu__extra {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--t-hover);
}

.mobile-menu__extra a,
.mobile-menu__extra button {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
    color: var(--t-secondary);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.mobile-menu__extra a:hover,
.mobile-menu__extra button:hover { color: var(--t-accent); }

body.menu-open { overflow: hidden; }

/* Нижняя навигация — как в нативном приложении */
.bottom-nav { display: none; }

@media (max-width: 1024px) {
    .bottom-nav {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 150;
        background: var(--t-bg2, var(--t-bg));
        border-top: 1px solid var(--t-hover);
        padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    }

    .bottom-nav__item {
        flex: 1 1 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        padding: 6px 2px;
        border-radius: 12px;
        text-decoration: none;
        color: var(--t-muted);
        font-family: 'Source Sans 3', sans-serif;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: -0.01em;
        line-height: 1.1;
        text-align: center;
        transition: color 0.2s, background 0.2s;
    }

    .bottom-nav__item svg {
        width: 22px;
        height: 22px;
        flex: 0 0 auto;
    }

    .bottom-nav__item:hover { color: var(--t-secondary); }

    .bottom-nav__item.is-active {
        color: var(--t-accent);
        background: var(--t-hover);
    }

    .bottom-nav__label {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body {
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }
}

.header__music-link {
    text-decoration: none;
    color: var(--t-text);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.header__burger {
    display: none;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.header__burger-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.header__burger-lines span {
    width: 24px;
    height: 2px;
    background: var(--t-text);
    transition: 0.3s;
}

.header__burger-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--mood-color, var(--t-muted));
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
    flex: 0 0 auto;
}

.header__burger[aria-expanded="true"] .header__burger-lines span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__burger[aria-expanded="true"] .header__burger-lines span:nth-child(2) {
    opacity: 0;
}

.header__burger[aria-expanded="true"] .header__burger-lines span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--t-bg);
    z-index: 200;
    transition: right 0.3s ease;
    padding: 20px 20px 48px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.mobile-menu__close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--t-text);
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu__link {
    text-decoration: none;
    color: var(--t-text);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.mobile-menu__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu__cat {
    display: flex;
    align-items: center;
    width: 100%;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
    padding: 0;
}

.mobile-menu__link.mobile-menu__cat { font-size: 22px; }

.mobile-menu__caret {
    margin-left: auto;
    font-size: 22px;
    line-height: 1;
    color: var(--t-secondary);
    transition: transform 0.2s;
}

.mobile-menu__group.is-open .mobile-menu__caret { transform: rotate(45deg); }

.mobile-menu__sub {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding-left: 8px;
}

.mobile-menu__group.is-open .mobile-menu__sub { display: flex; }

.mobile-menu__sublink {
    text-decoration: none;
    color: var(--t-secondary);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.mobile-menu__sublink:hover { color: var(--t-accent); }

/* «Пирог» — круговое меню разделов */
.pie {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0 24px;
}

.pie__ring {
    position: relative;
    width: min(78vw, 440px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 45%,
        var(--t-body) 0 30%, var(--t-hover) 31% 32%, transparent 33%);
    box-shadow: inset 0 0 0 1px var(--t-hover);
}

.pie__item,
.pie__center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--t-heading);
    background: var(--t-body);
    border: 1px solid var(--t-hover);
    border-radius: 999px;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.pie__item {
    width: 30%;
    min-height: 58px;
    padding: 8px 12px;
    font-size: clamp(13px, 3.6vw, 16px);
    line-height: 1.15;
}

.pie__item:hover,
.pie__center:hover {
    background: var(--t-accent);
    color: #fff;
    transform: translate(-50%, -50%) scale(1.04);
}

.pie__item--0 { left: 50%; top: 9%; }
.pie__item--1 { left: 88%; top: 39%; }
.pie__item--2 { left: 72%; top: 87%; }
.pie__item--3 { left: 28%; top: 87%; }
.pie__item--4 { left: 12%; top: 39%; }

.pie__center {
    width: 31%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    font-size: clamp(13px, 3.6vw, 16px);
    background: var(--t-hover);
}

.pie-menu .mobile-menu__extra {
    justify-content: center;
    text-align: center;
}

/* Круг настроений (главная и бургер-меню) */
.mobile-menu__block { margin-bottom: 22px; }

.mobile-menu__block-title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--t-secondary);
    margin-bottom: 10px;
}

.mobile-menu__sections {
    gap: 14px;
    margin-bottom: 22px;
}

.mobile-menu__cabinet {
    gap: 12px;
    margin-bottom: 22px;
}

.mobile-menu__cabinet[hidden] { display: none; }

.mobile-menu__cabinet .header__dropdown-link {
    padding: 2px 0;
    background: none;
    color: var(--t-text);
    font-size: 18px;
    font-weight: 600;
}

.mobile-menu__cabinet .header__dropdown-link:hover {
    background: none;
    color: var(--t-accent);
}

.mobile-menu__sections .mobile-menu__link { font-size: 20px; }

.mood-sun {
    position: relative;
    width: min(84vw, 500px);
    aspect-ratio: 1 / 1;
    margin: 20px auto 4px;
    background: radial-gradient(circle, var(--t-hover) 0 18%, transparent 19%);
}

.mood-sun[hidden] { display: none; }

.mood-sun--menu {
    width: min(78vw, 390px);
    margin: 10px auto 0;
}

.mood-sun__item {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: clamp(80px, 14vw, 108px);
    min-height: 64px;
    padding: 6px 4px;
    border: 1px solid var(--t-hover);
    border-radius: 18px;
    background: var(--t-body);
    color: var(--t-heading);
    font-family: 'Source Sans 3', sans-serif;
    font-size: clamp(11px, 2.8vw, 13px);
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
    z-index: 2;
}

.mood-sun--menu .mood-sun__item {
    width: clamp(72px, 17vw, 96px);
    min-height: 58px;
    font-size: 11px;
}

.mood-sun__item:hover,
.mood-sun__item.is-active {
    background: var(--t-accent);
    border-color: var(--t-accent);
    color: #fff;
    box-shadow: 0 10px 22px rgba(192, 106, 74, 0.25);
}

.mood-sun__item--normal {
    left: 50%;
    top: 50%;
    width: clamp(92px, 17vw, 126px);
    min-height: 76px;
    border-radius: 999px;
    border-style: dashed;
    z-index: 3;
}

.mood-sun--menu .mood-sun__item--normal {
    width: clamp(84px, 20vw, 112px);
    min-height: 66px;
}

.mood-sun__item--0 { left: 50%; top: 7%; }
.mood-sun__item--1 { left: 79%; top: 20%; }
.mood-sun__item--2 { left: 88%; top: 50%; }
.mood-sun__item--3 { left: 74%; top: 80%; }
.mood-sun__item--4 { left: 26%; top: 80%; }
.mood-sun__item--5 { left: 12%; top: 50%; }
.mood-sun__item--6 { left: 21%; top: 20%; }

.mood-ico {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    font-size: 24px;
    line-height: 1;
}

.mood-ico__hand { position: absolute; font-size: 18px; transition: transform 0.2s; }
.mood-ico__hand--l { left: 0; transform: rotate(-12deg); }
.mood-ico__hand--r { right: 0; transform: scaleX(-1) rotate(-12deg); }
.mood-ico__rain { position: absolute; inset: 0; opacity: 0; }
.mood-ico__rain span {
    position: absolute;
    top: 2px;
    width: 2px;
    height: 7px;
    border-radius: 2px;
    background: currentColor;
    opacity: 0.7;
}
.mood-ico__rain span:nth-child(1) { left: 6px; }
.mood-ico__rain span:nth-child(2) { left: 15px; }
.mood-ico__rain span:nth-child(3) { left: 24px; }
.mood-ico__figure { display: inline-block; transform-origin: 50% 100%; }

.is-playing .mood-ico__hand--l { animation: mood-hands-l 0.65s ease; }
.is-playing .mood-ico__hand--r { animation: mood-hands-r 0.65s ease; }
.is-playing .mood-ico__rain { opacity: 1; }
.is-playing .mood-ico__rain span { animation: mood-rain 0.55s linear infinite; }
.is-playing .mood-ico--strength .mood-ico__main { animation: mood-flex 0.6s ease; }
.is-playing .mood-ico--love .mood-ico__main { animation: mood-beat 0.65s ease; }
.is-playing .mood-ico--dream { animation: mood-jump 0.65s ease; }
.is-playing .mood-ico--restart { animation: mood-press 0.6s ease; }
.is-playing .mood-ico--calm { animation: mood-float 0.9s ease; }
.is-playing .mood-ico__figure { animation: mood-sway 0.7s ease; }

@keyframes mood-hands-l {
    0%, 100% { transform: translateX(0) rotate(-12deg); }
    45% { transform: translateX(-16px) rotate(-26deg); }
}
@keyframes mood-hands-r {
    0%, 100% { transform: translateX(0) scaleX(-1) rotate(-12deg); }
    45% { transform: translateX(16px) scaleX(-1) rotate(-26deg); }
}
@keyframes mood-rain {
    0% { transform: translateY(-3px); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}
@keyframes mood-flex {
    0%, 100% { transform: scale(1) rotate(0); }
    45% { transform: scale(1.22, 0.85) rotate(-6deg); }
}
@keyframes mood-beat {
    0%, 100% { transform: scale(1); }
    20% { transform: scale(1.28); }
    40% { transform: scale(0.95); }
    60% { transform: scale(1.18); }
}
@keyframes mood-jump {
    0%, 100% { transform: translateY(0); }
    40% { transform: translateY(-12px); }
    70% { transform: translateY(-4px); }
}
@keyframes mood-press {
    0%, 100% { transform: scale(1) rotate(0); }
    50% { transform: scale(0.72) rotate(120deg); }
}
@keyframes mood-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes mood-sway {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(9deg); }
    75% { transform: rotate(-9deg); }
}

.mood-sun__item.is-flying .mood-ico { opacity: 0; }

.mood-fly {
    position: fixed;
    z-index: 9999;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(1);
    transform-origin: center center;
    transition: transform 0.62s cubic-bezier(.2, .8, .2, 1),
                opacity 0.45s ease;
    will-change: transform, opacity;
}
.mood-fly .mood-ico { width: 100%; height: 100%; font-size: 26px; }
.mood-fly.is-gone { opacity: 0; }

/* --- Виниловое радиальное колесо настроения --- */
.mood-sun.mood-vinyl,
.home-mood .mood-sun.mood-vinyl {
    position: relative;
    border-radius: 50%;
    background:
        repeating-conic-gradient(from -25.714deg,
            rgba(255, 255, 255, 0.22) 0deg 0.35deg,
            transparent 0.35deg 51.4286deg),
        conic-gradient(from -25.714deg,
            rgba(255, 255, 255, 0.06) 0deg 360deg),
        repeating-radial-gradient(circle at 50% 50%,
            rgba(255, 255, 255, 0.055) 0 1px,
            rgba(255, 255, 255, 0) 1px 7px),
        radial-gradient(circle at 50% 48%,
            #2d2d2d 0 30%, #171717 58%, #0b0b0b 100%);
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.22),
        0 0 0 9px rgba(0, 0, 0, 0.22),
        0 24px 52px rgba(0, 0, 0, 0.38),
        inset 0 0 60px rgba(0, 0, 0, 0.55);
    isolation: isolate;
}

/* Подсветка выбранного сектора, как в меню покупки */
.mood-sun.mood-vinyl::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from -25.714deg,
        transparent 0deg,
        transparent var(--mood-hl-start, 0deg),
        rgba(255, 255, 255, 0.30) var(--mood-hl-start, 0deg),
        rgba(255, 255, 255, 0.30) var(--mood-hl-end, 0deg),
        transparent var(--mood-hl-end, 0deg),
        transparent 360deg);
    opacity: var(--mood-hl-opacity, 0);
    transition: opacity 0.15s ease;
    pointer-events: none;
    z-index: 2;
}

.mood-sun.mood-vinyl .mood-sun__item {
    width: clamp(82px, 20%, 122px);
    min-height: 0;
    padding: 4px 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    box-shadow: none;
    font-size: clamp(12px, 2.8vw, 15px);
    font-weight: 700;
    line-height: 1.15;
    gap: 3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
    z-index: 3;
    transition: color 0.15s ease, transform 0.15s ease;
}

.mood-sun.mood-vinyl .mood-sun__item:hover,
.mood-sun.mood-vinyl .mood-sun__item.is-active {
    background: transparent;
    border-color: transparent;
    color: #fff;
    box-shadow: none;
    transform: translate(-50%, -50%) scale(1.06);
}

/* Центральная наклейка пластинки — кнопка «Обычное» */
.mood-sun.mood-vinyl .mood-sun__item--normal {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: clamp(122px, 33.8%, 184px);
    height: clamp(122px, 33.8%, 184px);
    min-height: 0;
    margin: auto;
    padding: 8px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 50%;
    background: linear-gradient(180deg, #fbf9f5 0%, #e9e5dd 100%);
    color: #2f241f;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
    text-shadow: none;
    transform: none;
    overflow: hidden;
    z-index: 4;
}

.mood-sun.mood-vinyl .mood-sun__item--normal::before {
    content: "";
    position: absolute;
    inset: 6%;
    border-radius: 50%;
    background: url("/logo.png") center / contain no-repeat;
    filter: brightness(0);
    opacity: 0.20;
    pointer-events: none;
    z-index: -1;
}

.mood-sun.mood-vinyl .mood-sun__item--normal:hover,
.mood-sun.mood-vinyl .mood-sun__item--normal.is-active {
    background: linear-gradient(180deg, #fffdf9 0%, #efebe3 100%);
    color: #2f241f;
    transform: scale(1.04);
}

.mood-sun.mood-vinyl .mood-sun__item--normal .mood-ico {
    width: 32px;
    height: 32px;
    font-size: 27px;
    filter: none;
}

.mood-sun.mood-vinyl .mood-sun__item--0 { left: 50%; top: 16%; }
.mood-sun.mood-vinyl .mood-sun__item--1 { left: 77%; top: 29%; }
.mood-sun.mood-vinyl .mood-sun__item--2 { left: 83%; top: 58%; }
.mood-sun.mood-vinyl .mood-sun__item--3 { left: 65%; top: 81%; }
.mood-sun.mood-vinyl .mood-sun__item--4 { left: 35%; top: 81%; }
.mood-sun.mood-vinyl .mood-sun__item--5 { left: 17%; top: 58%; }
.mood-sun.mood-vinyl .mood-sun__item--6 { left: 23%; top: 29%; }

.mood-vinyl .mood-ico {
    width: 24px;
    height: 24px;
    font-size: 19px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.9));
}

.mood-ico__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header__mood-open-emoji img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 640px) {
    .mood-sun { width: 90vw; }
    .mood-sun--menu { width: 86vw; }
    .mood-sun__item { min-height: 58px; font-size: 10px; }
    .mood-ico { width: 30px; height: 30px; font-size: 21px; }
}

/* Sections */
.section {
    padding: 48px 0;
}

.section--alt {
    background: transparent;
}

.section__title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--t-heading);
    line-height: 34px;
    letter-spacing: -0.01em;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 384px);
    gap: 32px;
    justify-content: center;
}

.article-card {
    width: 100%;
    max-width: 384px;
    height: 488px;
    background: var(--t-body);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Без mood/state карточка всегда в стандартных цветах.
   Перекраску на hover даёт только тема (data-theme) — см. themes.css. */

.article-card__image {
    width: auto;
    height: 220px;
    margin: 16px;
    border-radius: 20px;
    overflow: hidden;
}

.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card__content {
    padding: 0 16px 16px;
}

.article-card__category {
    display: inline-block;
    background: var(--t-bg);
    color: var(--t-secondary);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 15px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.article-card__title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 29px;
    margin-bottom: 8px;
    color: var(--t-heading);
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.article-card__desc {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 16px;
    line-height: 19px;
    color: var(--t-secondary);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Podcasts Grid */
.podcasts-grid {
    display: grid;
    grid-template-columns: repeat(3, 384px);
    gap: 32px;
    justify-content: center;
}

.podcast-card {
    width: 100%;
    max-width: 384px;
    background: var(--t-body);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.podcast-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.podcast-card__image {
    width: auto;
    height: 200px;
    margin: 16px;
    border-radius: 20px;
    overflow: hidden;
}

.podcast-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.podcast-card__content {
    padding: 0 16px 16px;
}

.podcast-card__title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 29px;
    margin-bottom: 8px;
    color: var(--t-heading);
    letter-spacing: -0.01em;
}

.podcast-card__desc {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 16px;
    line-height: 19px;
    color: var(--t-secondary);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.podcast-card__btn {
    display: inline-block;
    background: var(--t-body);
    color: var(--t-secondary);
    text-decoration: none;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 44px;
    border-radius: 20px;
    transition: all 0.2s;
    letter-spacing: -0.01em;
}

.podcast-card__btn:hover {
    background: var(--t-hover);
    color: var(--t-text);
}

/* Review Card */
.review-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: default;
}

.review-card__image {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.review-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-card__content {
    padding: 32px 32px 32px 0;
}

.review-card__title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 29px;
    margin-bottom: 20px;
    color: var(--t-heading);
    letter-spacing: -0.01em;
}

.review-card__text {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 16px;
    line-height: 19px;
    color: var(--t-text);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.review-card__highlight {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 16px;
    line-height: 19px;
    color: var(--t-accent);
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.review-card__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 12px 22px;
    border: 1px solid var(--t-accent);
    border-radius: 12px;
    background: transparent;
    color: var(--t-accent);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.review-card__more:hover {
    background: var(--t-accent);
    color: #fff;
}

/* Similar Grid */
.similar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.similar-header .section__title {
    margin-bottom: 0;
}

.similar-nav {
    display: flex;
    gap: 8px;
}

.similar-nav__btn {
    width: 48px;
    height: 48px;
    border: 1px solid var(--t-body);
    background: transparent;
    border-radius: 20px;
    font-size: 24px;
    color: var(--t-secondary);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.similar-nav__btn:hover {
    background: var(--t-hover);
    border-color: var(--t-hover);
    color: var(--t-text);
}

.similar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 384px));
    gap: 32px;
    justify-content: center;
    padding: 8px 0 16px;
}

@media (max-width: 1024px) {
    .similar-grid {
        grid-template-columns: repeat(2, minmax(0, 384px));
        gap: 16px;
    }
}

@media (max-width: 640px) {
    /* На телефонах — горизонтальная лента, чтобы не загромождать экран */
    .similar-grid {
        display: flex;
        gap: 16px;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .similar-grid::-webkit-scrollbar { display: none; }

    .similar-grid > .similar-card {
        flex: 0 0 auto;
        width: 78vw;
        max-width: 340px;
        scroll-snap-align: start;
    }
}

.similar-card {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    max-width: 384px;
    background: var(--t-body);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.similar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.similar-card__image {
    width: auto;
    height: 200px;
    margin: 16px;
    border-radius: 20px;
    overflow: hidden;
}

.similar-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.similar-card__content {
    padding: 0 16px 16px;
}

.similar-card__tag {
    display: inline-block;
    background: var(--t-bg);
    color: var(--t-secondary);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 15px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.similar-card__title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 29px;
    margin-bottom: 8px;
    color: var(--t-heading);
    letter-spacing: -0.01em;
}

.similar-card__desc {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 16px;
    line-height: 19px;
    color: var(--t-secondary);
    letter-spacing: -0.01em;
}

/* Footer */
.footer {
    background: transparent;
    padding: 48px 0 24px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--t-heading);
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.footer__desc {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 16px;
    line-height: 19px;
    color: var(--t-secondary);
    letter-spacing: -0.01em;
}

.footer__heading {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--t-heading);
    letter-spacing: -0.01em;
}

.footer__list {
    list-style: none;
}

.footer__list li {
    margin-bottom: 10px;
}

.footer__list a {
    text-decoration: none;
    color: var(--t-secondary);
    font-size: 16px;
    transition: color 0.2s;
    letter-spacing: -0.01em;
}

.footer__list a:hover {
    color: var(--t-heading);
}

.footer__support-text {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 16px;
    line-height: 19px;
    color: var(--t-secondary);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.footer__support-btn {
    display: inline-block;
    background: var(--t-body);
    color: var(--t-secondary);
    text-decoration: none;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 44px;
    border-radius: 20px;
    transition: all 0.2s;
    letter-spacing: -0.01em;
}

.footer__support-btn:hover {
    background: var(--t-hover);
    color: var(--t-text);
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding-top: 24px;
    border-top: 1px solid var(--t-muted);
}

.footer__bottom p {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: var(--t-muted);
    letter-spacing: -0.01em;
}

.cookie-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1200;
    max-width: 980px;
    margin: 0 auto;
    padding: 16px 18px;
    border: 1px solid var(--t-muted);
    border-radius: 16px;
    background: var(--t-body);
    color: var(--t-text);
    box-shadow: 0 12px 40px rgba(47, 36, 31, 0.18);
}
.cookie-consent[hidden] { display: none !important; }
.cookie-consent__text {
    margin: 0 0 12px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    line-height: 1.45;
}
.cookie-consent__text a { color: var(--t-accent); }
.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.cookie-consent__btn {
    flex: 1 1 180px;
    min-height: 42px;
    padding: 9px 16px;
    border: 1px solid var(--t-muted);
    border-radius: 12px;
    background: transparent;
    color: var(--t-heading);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.cookie-consent__btn--primary {
    border-color: var(--t-accent);
    background: var(--t-accent);
    color: #fff;
}
.cookie-consent__close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--t-secondary);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}
.cookie-consent__close:hover { background: var(--t-hover); }
@media (max-width: 640px) {
    .cookie-consent {
        left: 10px;
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        padding: 14px;
    }
    .cookie-consent__btn { flex-basis: 100%; }
}

/* Responsive */
@media (max-width: 1280px) {
    .articles-grid,
    .podcasts-grid {
        grid-template-columns: repeat(2, 384px);
    }
}

@media (max-width: 1024px) {
    .header__nav {
        display: none;
    }
    
    .header__actions {
        display: none;
    }
    
    .header__burger {
        display: flex;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        max-width: 384px;
    }
    
    /* «Подкасты» на мобильных — горизонтальная карусель */
    .podcasts-grid {
        display: flex;
        gap: 16px;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 8px 0 16px;
    }
    
    .podcasts-grid::-webkit-scrollbar { display: none; }
    
    .podcasts-grid > * {
        flex: 0 0 auto;
        width: 78vw;
        max-width: 340px;
        scroll-snap-align: start;
    }
    
    .review-card {
        grid-template-columns: 1fr;
    }
    
    .review-card__content {
        padding: 24px;
    }
    
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 32px 0;
    }

    .similar-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 8px;
    }
    
    .section__title {
        font-size: 28px;
    }
    
    .review-card__title {
        font-size: 24px;
    }
}


/* Единая панель админских ссылок на страницах обзора/интервью */
.admin-edit-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin: 0 0 18px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.admin-edit-links a {
    color: var(--t-accent);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.admin-edit-links a:hover {
    color: var(--t-accent-hover);
}

.review2-page .admin-edit-links {
    max-width: 1010px;
    margin-left: auto;
    margin-right: auto;
}

.interview-section .admin-edit-links {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.posts-admin-links {
    margin-bottom: 14px;
}

/* Модальное подтверждение в стиле сайта */
.site-confirm {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.16s ease;
}
.site-confirm.is-open { opacity: 1; }
.site-confirm__overlay {
    position: absolute;
    inset: 0;
    background: rgba(47, 36, 31, 0.55);
}
.site-confirm__card {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 28px 24px 22px;
    background: var(--t-body);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(47, 36, 31, 0.3);
    text-align: center;
    transform: translateY(8px) scale(0.98);
    transition: transform 0.16s ease;
}
.site-confirm.is-open .site-confirm__card {
    transform: translateY(0) scale(1);
}
.site-confirm__title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--t-heading);
    margin: 0 0 10px;
}
.site-confirm__text {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--t-secondary);
    margin: 0 0 18px;
}
.site-confirm__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
.site-confirm__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--t-text);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.site-confirm__btn--cancel {
    border-color: var(--t-muted);
}
.site-confirm__btn--cancel:hover { border-color: var(--t-accent); }
.site-confirm__btn--danger {
    background: #B0453C;
    border-color: #B0453C;
    color: #fff;
}
.site-confirm__btn--danger:hover {
    background: #98382f;
    border-color: #98382f;
}
