/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Child theme for Dramaland 2.0.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 2.0-RC1.7
Updated: 2026-07-06 20:03:56
*/

/* =========================================
   DRAMALAND — MOONLIGHT FOX
========================================= */

:root {
    --dl-bg: #081c24;
    --dl-bg-dark: #07181e;
    --dl-surface: #10333a;
    --dl-surface-light: #184a54;

    --dl-text: #fdf4e7;
    --dl-text-soft: #d7c6af;

    --dl-accent: #d9a441;
    --dl-accent-hover: #f3c969;

    --dl-border: rgba(217, 164, 65, 0.24);
    --dl-border-strong: rgba(217, 164, 65, 0.48);

    --dl-radius: 20px;
    --dl-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--dl-bg);
}

/* =========================================
   GŁÓWNE TŁO
========================================= */

.dl-single-drama,
.dl-single-episode {
    position: relative;
    min-height: 100vh;
    padding: 80px 20px;
    overflow: hidden;

    color: var(--dl-text);

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(217, 164, 65, 0.13),
            transparent 24%
        ),
        radial-gradient(
            circle at 8% 88%,
            rgba(24, 74, 84, 0.48),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            #071920 0%,
            #081c24 48%,
            #07181e 100%
        );
}

.dl-container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================
   DEKORACYJNY KSIĘŻYC
========================================= */

.dl-moon {
    position: absolute;
    z-index: 1;

    top: -120px;
    right: -220px;

    width: 700px;
    height: 700px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.025) 58%,
            transparent 72%
        );

    pointer-events: none;
}

/* =========================================
   HERO DRAMY
========================================= */

.dl-hero-grid {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}

.dl-poster img {
    display: block;

    width: 100%;
    height: auto;

    border: 1px solid var(--dl-border);
    border-radius: var(--dl-radius);

    box-shadow: var(--dl-shadow);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.dl-poster img:hover {
    transform: translateY(-6px) scale(1.02);

    border-color: var(--dl-border-strong);

    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.58),
        0 0 34px rgba(217, 164, 65, 0.08);
}

.dl-drama-info {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;
    padding-top: 12px;
}

.dl-drama-hero h1,
.dl-episode-player h1 {
    position: relative;

    margin: 0 0 20px;
    padding-bottom: 20px;

    color: var(--dl-text);

    font-size: clamp(40px, 5vw, 56px);
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.dl-drama-hero h1::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: 0;

    width: 96px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--dl-accent),
            transparent
        );
}

.dl-original-title {
    margin: 0 0 4px;

    color: var(--dl-text-soft);

    font-size: 20px;
    line-height: 1.5;
}

/* =========================================
   OCENY
========================================= */

.dl-ratings-row {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.25fr);
    gap: 16px;

    margin: 32px 0 20px;
}

.dl-rating-card {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-height: 132px;
    padding: 18px 20px;

    background:
        linear-gradient(
            145deg,
            rgba(16, 51, 58, 0.96),
            rgba(12, 43, 50, 0.92)
        );

    border: 1px solid var(--dl-border);
    border-radius: 18px;

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.22);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.dl-rating-card:hover {
    transform: translateY(-3px);
    border-color: var(--dl-border-strong);
}

.dl-rating-card-community {
    background:
        linear-gradient(
            145deg,
            rgba(24, 74, 84, 0.9),
            rgba(16, 51, 58, 0.94)
        );
}

.dl-rating-label {
    margin-bottom: 9px;

    color: var(--dl-text-soft);

    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.dl-rating-stars {
    min-height: 27px;

    color: var(--dl-accent);

    font-size: 25px;
    line-height: 1;
    letter-spacing: 2px;
    white-space: nowrap;
}

.dl-rating-score {
    margin-top: 10px;

    color: var(--dl-text);

    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.dl-rating-votes {
    margin-top: 5px;

    color: var(--dl-text-soft);

    font-size: 13px;
    line-height: 1.4;
}

/* Przyszła ocena użytkowników */

.dl-user-rating-stars {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;

    margin-top: 10px;
}

.dl-user-rating-stars button {
    padding: 0;

    color: var(--dl-accent);
    background: transparent;
    border: 0;

    font-size: 27px;
    line-height: 1;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        color 0.2s ease;
}

.dl-user-rating-stars button:hover {
    color: var(--dl-accent-hover);
    transform: scale(1.12);
}

/* =========================================
   META
========================================= */

.dl-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin: 0 0 26px;
}

.dl-meta span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 46px;
    padding: 9px 17px;

    color: var(--dl-text);
    background: rgba(16, 51, 58, 0.88);

    border: 1px solid var(--dl-border);
    border-radius: 999px;

    font-size: 15px;
    line-height: 1;

    white-space: nowrap;
}

/* =========================================
   GATUNEK I KRAJ
========================================= */

.dl-taxonomies {
    margin-bottom: 38px;

    color: var(--dl-text-soft);

    font-size: 17px;
    line-height: 1.9;
}

.dl-taxonomies strong {
    color: var(--dl-accent);
}

.dl-taxonomies a {
    color: var(--dl-text);
    text-decoration: none;

    transition: color 0.2s ease;
}

.dl-taxonomies a:hover {
    color: var(--dl-accent-hover);
}

/* =========================================
   PRZYCISKI
========================================= */

.dl-watch-button,
.dl-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: max-content;
    min-height: 58px;
    padding: 16px 38px;

    color: var(--dl-bg);
    text-decoration: none;

    background:
        linear-gradient(
            135deg,
            var(--dl-accent),
            var(--dl-accent-hover)
        );

    border-radius: 999px;

    box-shadow:
        0 14px 36px rgba(217, 164, 65, 0.28);

    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.3px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.dl-watch-button:hover,
.dl-nav-btn:hover {
    color: var(--dl-bg);

    transform: translateY(-3px);
    filter: brightness(1.05);

    box-shadow:
        0 18px 42px rgba(217, 164, 65, 0.36);
}

/* =========================================
   SEKCJE
========================================= */

.dl-drama-description,
.dl-cast-section,
.dl-team-section,
.dl-drama-episodes {
    padding: 0 20px 74px;

    color: var(--dl-text);
    background: transparent;
}

.dl-drama-description {
    padding-top: 56px;
}

.dl-drama-description h2,
.dl-cast-section h2,
.dl-team-section h2,
.dl-drama-episodes h2 {
    margin: 0 0 26px;

    color: var(--dl-accent);

    font-size: 36px;
    line-height: 1.2;
}

.dl-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dl-section-icon,
.dl-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;

    width: 42px;
    height: 42px;
    margin-right: 2px;

    background: rgba(217, 164, 65, 0.1);

    border: 1px solid var(--dl-border);
    border-radius: 12px;

    box-shadow:
        inset 0 0 0 1px rgba(217, 164, 65, 0.05);

    font-size: 21px;
    line-height: 1;
}

/* =========================================
   OPIS I TŁUMACZENIE
========================================= */

.dl-content,
.dl-team-box {
    padding: 34px;

    background: rgba(16, 51, 58, 0.92);

    border: 1px solid var(--dl-border);
    border-radius: var(--dl-radius);

    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.25);
}

.dl-content {
    max-width: 100%;

    color: var(--dl-text);

    font-size: 18px;
    line-height: 1.9;
}

.dl-content > :first-child {
    margin-top: 0;
}

.dl-content > :last-child {
    margin-bottom: 0;
}

.dl-team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.dl-team-box h3 {
    margin-top: 0;
    color: var(--dl-accent);
}

.dl-team-box p {
    margin: 8px 0;
    color: var(--dl-text-soft);
}

/* =========================================
   OBSADA — KARTY NA STRONIE DRAMY
========================================= */

.dl-cast-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fill, minmax(190px, 1fr));
    gap: 24px;

    align-items: start;
    justify-items: center;
}

.dl-cast-card {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    max-width: 210px;
    padding: 18px;

    color: var(--dl-text);
    text-align: center;
    text-decoration: none;

    background: rgba(16, 51, 58, 0.92);

    border: 1px solid var(--dl-border);
    border-radius: 20px;

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.dl-cast-card:hover {
    color: var(--dl-text);

    transform: translateY(-5px);

    border-color: var(--dl-accent);
    background: var(--dl-surface-light);

    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.28);
}

.dl-cast-avatar {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 160px;
    height: 220px;
    margin: 0 auto 14px;

    overflow: hidden;

    background: var(--dl-surface);

    border: 1px solid var(--dl-border);
    border-radius: 18px;
}

.dl-cast-avatar img {
    display: block;

    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;

    object-fit: cover;
    object-position: center 15%;

    border: 0;
    border-radius: 0;
}

.dl-cast-avatar span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    font-size: 44px;
}

.dl-cast-name {
    width: 100%;
    margin-top: 2px;

    color: var(--dl-text);

    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

/* miejsce pod przyszłą rolę aktora */

.dl-cast-role {
    width: 100%;
    margin-top: 6px;

    color: var(--dl-text-soft);

    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}

/* =========================================
   KARTY ODCINKÓW
========================================= */

.dl-episodes-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fill, minmax(190px, 1fr));
    gap: 18px;
}

.dl-episode-card {
    display: flex;
    flex-direction: column;
    gap: 12px;

    min-height: 112px;
    padding: 20px;

    color: var(--dl-text);
    text-decoration: none;

    background: rgba(16, 51, 58, 0.92);

    border: 1px solid var(--dl-border);
    border-radius: 18px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.dl-episode-card:hover {
    color: var(--dl-text);

    transform: translateY(-4px);

    background: var(--dl-surface-light);
    border-color: var(--dl-accent);

    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.25);
}

.dl-episode-card strong {
    color: var(--dl-accent);
}

/* =========================================
   STRONA ODCINKA
========================================= */

.dl-back-to-drama {
    display: inline-block;

    margin-bottom: 28px;

    color: var(--dl-accent);

    font-weight: 700;
    text-decoration: none;

    transition: color 0.2s ease;
}

.dl-back-to-drama:hover {
    color: var(--dl-accent-hover);
}

.dl-player-box {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.dl-player-box iframe {
    display: block;

    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    border: 1px solid var(--dl-border);
    border-radius: var(--dl-radius);

    box-shadow: var(--dl-shadow);
}

.dl-episode-nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;

    width: 100%;
    max-width: 1200px;
    margin: 42px auto 0;
}

/* =========================================
   PROFIL OBSADY
========================================= */

.dl-single-cast {
    min-height: 100vh;
    padding: 80px 20px;

    color: var(--dl-text);

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(217, 164, 65, 0.12),
            transparent 25%
        ),
        linear-gradient(
            180deg,
            #071920 0%,
            #081c24 55%,
            #07181e 100%
        );
}

.dl-cast-profile-grid {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 58px;
    align-items: start;
}

.dl-cast-profile-photo img,
.dl-cast-profile-placeholder {
    display: block;

    width: 100%;
    aspect-ratio: 3 / 4;

    object-fit: cover;
    object-position: center top;

    border: 1px solid var(--dl-border);
    border-radius: var(--dl-radius);

    box-shadow: var(--dl-shadow);
}

.dl-cast-profile-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--dl-surface);

    font-size: 70px;
}

.dl-cast-profile-info h1 {
    position: relative;

    margin: 14px 0 14px;
    padding-bottom: 20px;

    color: var(--dl-text);

    font-size: clamp(42px, 5vw, 58px);
    line-height: 1.05;
}

.dl-cast-profile-info h1::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 96px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--dl-accent),
            transparent
        );
}

.dl-cast-original-name {
    margin: 0 0 30px;

    color: var(--dl-text-soft);

    font-size: 21px;
}

.dl-back-link {
    color: var(--dl-accent);

    text-decoration: none;
    font-weight: 700;
}

.dl-back-link:hover {
    color: var(--dl-accent-hover);
}

.dl-cast-details {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(140px, 1fr));
    gap: 16px;

    margin-top: 30px;
}

.dl-cast-details > div {
    padding: 18px;

    background: rgba(16, 51, 58, 0.92);

    border: 1px solid var(--dl-border);
    border-radius: 16px;
}

.dl-cast-details strong,
.dl-cast-details span {
    display: block;
}

.dl-cast-details strong {
    margin-bottom: 8px;

    color: var(--dl-accent);

    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.dl-cast-details span {
    color: var(--dl-text);
}

.dl-cast-biography,
.dl-cast-filmography {
    padding: 70px 20px 0;
}

.dl-cast-drama-card {
    display: flex;
    flex-direction: column;
    gap: 12px;

    padding: 14px;

    color: var(--dl-text);
    text-decoration: none;

    background: rgba(16, 51, 58, 0.92);

    border: 1px solid var(--dl-border);
    border-radius: 18px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.dl-cast-drama-card:hover {
    color: var(--dl-text);

    transform: translateY(-4px);

    border-color: var(--dl-accent);
    background: var(--dl-surface-light);
}

.dl-cast-drama-card img {
    display: block;

    width: 100%;
    aspect-ratio: 2 / 3;

    object-fit: cover;

    border-radius: 12px;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {
    .dl-hero-grid {
        grid-template-columns: 250px minmax(0, 1fr);
        gap: 36px;
    }

.dl-ratings-row {
    grid-template-columns: 1fr;
    max-width: 520px;
}

    .dl-rating-card {
        min-width: 0;
    }

    .dl-drama-hero h1,
    .dl-episode-player h1 {
        font-size: 42px;
    }

    .dl-cast-profile-grid {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 34px;
    }

    .dl-cast-details {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   TELEFON
========================================= */

@media (max-width: 700px) {
    .dl-single-drama,
    .dl-single-episode {
        padding: 42px 16px;
    }

    .dl-moon {
        top: -90px;
        right: -180px;

        width: 420px;
        height: 420px;
    }

    .dl-hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .dl-poster img {
        max-width: 270px;
        margin: 0 auto;
    }

    .dl-drama-info {
        align-items: center;
        text-align: center;
    }

    .dl-drama-hero h1,
    .dl-episode-player h1 {
        font-size: 36px;
    }

    .dl-drama-hero h1::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .dl-original-title {
        font-size: 18px;
    }

    .dl-ratings-row {
        width: 100%;
        max-width: 340px;

        grid-template-columns: 1fr;
    }

    .dl-rating-card {
        width: 100%;
        text-align: center;
    }

    .dl-meta {
        justify-content: center;
    }

    .dl-taxonomies {
        margin-bottom: 34px;
        text-align: center;
    }

    .dl-watch-button {
        width: 100%;
        max-width: 340px;
    }

    .dl-drama-description,
    .dl-cast-section,
    .dl-team-section,
    .dl-drama-episodes {
        padding-right: 16px;
        padding-left: 16px;
    }

    .dl-drama-description h2,
    .dl-cast-section h2,
    .dl-team-section h2,
    .dl-drama-episodes h2 {
        font-size: 29px;
    }

    .dl-section-title {
        justify-content: center;
    }

    .dl-content,
    .dl-team-box {
        padding: 25px;
    }

    .dl-content {
        font-size: 16px;
    }

    .dl-team-grid {
        grid-template-columns: 1fr;
    }

    .dl-cast-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .dl-cast-card {
        max-width: 190px;
        padding: 14px;
    }

    .dl-cast-avatar {
        width: 100%;
        max-width: 150px;
        height: auto;

        aspect-ratio: 8 / 11;
    }

    .dl-episodes-grid {
        grid-template-columns: 1fr;
    }

    .dl-episode-nav {
        flex-direction: column;
    }

    .dl-nav-btn {
        width: 100%;
        text-align: center;
    }

    .dl-single-cast {
        padding: 44px 16px;
    }

    .dl-cast-profile-grid {
        grid-template-columns: 1fr;
    }

    .dl-cast-profile-photo {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .dl-cast-profile-info {
        text-align: center;
    }

    .dl-cast-profile-info h1::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .dl-cast-biography,
    .dl-cast-filmography {
        padding-right: 16px;
        padding-left: 16px;
    }

}

/* =========================================
   BARDZO MAŁE TELEFONY
========================================= */

@media (max-width: 420px) {
    .dl-single-drama,
    .dl-single-episode {
        padding-right: 12px;
        padding-left: 12px;
    }

    .dl-meta span {
        min-height: 44px;
        padding: 8px 14px;

        font-size: 14px;
    }

    .dl-rating-stars {
        font-size: 23px;
    }

    .dl-watch-button,
    .dl-nav-btn {
        padding-right: 24px;
        padding-left: 24px;

        font-size: 16px;
    }

    .dl-cast-grid {
        grid-template-columns: 1fr;
    }

    .dl-cast-card {
        max-width: 210px;
    }
}
/* =========================================
   KOMENTARZE
========================================= */

.dl-comments-section {
    padding: 0 20px 74px;
    color: var(--dl-text);
}

.dl-comments-section h2 {
    margin: 0 0 26px;
    color: var(--dl-accent);
    font-size: 36px;
    line-height: 1.2;
}

.dl-comments-box {
    padding: 32px;
    background: rgba(16, 51, 58, 0.92);
    border: 1px solid var(--dl-border);
    border-radius: var(--dl-radius);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.25);
}

.dl-comments-box,
.dl-comments-box label,
.dl-comments-box p,
.dl-comments-box .comment-author,
.dl-comments-box .comment-metadata {
    color: var(--dl-text);
}

.dl-comments-box a {
    color: var(--dl-accent);
}

.dl-comments-box textarea,
.dl-comments-box input[type="text"],
.dl-comments-box input[type="email"],
.dl-comments-box input[type="url"] {
    width: 100%;
    color: var(--dl-text);
    background: rgba(7, 24, 30, 0.75);
    border: 1px solid var(--dl-border);
    border-radius: 12px;
}

.dl-comments-box textarea {
    min-height: 150px;
    padding: 16px;
}

.dl-comments-box input[type="text"],
.dl-comments-box input[type="email"],
.dl-comments-box input[type="url"] {
    padding: 12px 14px;
}

.dl-comments-box input[type="submit"] {
    padding: 14px 28px;
    color: var(--dl-bg);
    background: linear-gradient(
        135deg,
        var(--dl-accent),
        var(--dl-accent-hover)
    );
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
}

@media (max-width: 700px) {
    .dl-comments-section {
        padding-right: 16px;
        padding-left: 16px;
    }

    .dl-comments-section h2 {
        font-size: 29px;
    }

    .dl-comments-box {
        padding: 24px;
    }
}
/* =========================================
   STATUS I POSTĘP TŁUMACZENIA
========================================= */

.dl-translation-progress {
    width: 100%;
    max-width: 540px;
    margin-top: 24px;
    padding: 20px 22px;

    background: rgba(16, 51, 58, 0.78);

    border: 1px solid var(--dl-border);
    border-radius: 18px;

    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.dl-drama-info .dl-translation-progress {
    align-self: flex-start;
}

.dl-translation-progress-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;

    margin-bottom: 20px;
}

.dl-translation-status {
    display: inline-flex;
    align-items: center;

    min-height: 34px;
    padding: 7px 14px;

    border: 1px solid transparent;
    border-radius: 999px;

    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.dl-status-progress {
    color: #bff4cf;
    background: rgba(57, 166, 91, 0.15);
    border-color: rgba(91, 209, 126, 0.35);
}

.dl-status-complete {
    color: #d9f7ff;
    background: rgba(61, 155, 184, 0.16);
    border-color: rgba(90, 194, 224, 0.35);
}

.dl-status-paused {
    color: #ffe1a3;
    background: rgba(217, 164, 65, 0.15);
    border-color: rgba(217, 164, 65, 0.36);
}

.dl-status-announced {
    color: #e3d4ff;
    background: rgba(145, 105, 205, 0.16);
    border-color: rgba(177, 137, 235, 0.34);
}

.dl-status-default {
    color: var(--dl-text);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--dl-border);
}

.dl-update-day {
    color: var(--dl-text-soft);

    font-size: 14px;
    line-height: 1.4;
}

.dl-progress-label {
    display: flex;
    justify-content: space-between;
    gap: 18px;

    margin-bottom: 10px;

    color: var(--dl-text);

    font-size: 15px;
}

.dl-progress-label strong {
    color: var(--dl-accent);
}

.dl-progress-track {
    width: 100%;
    height: 12px;

    overflow: hidden;

    background: rgba(7, 24, 30, 0.8);

    border: 1px solid rgba(217, 164, 65, 0.18);
    border-radius: 999px;
}

.dl-progress-bar {
    display: block;

    height: 100%;

    background:
        linear-gradient(
            90deg,
            var(--dl-accent),
            var(--dl-accent-hover)
        );

    border-radius: inherit;

    box-shadow:
        0 0 18px rgba(217, 164, 65, 0.35);

    transition: width 0.5s ease;
}

.dl-progress-percent {
    margin-top: 8px;

    color: var(--dl-text-soft);

    font-size: 13px;
    text-align: right;
}

@media (max-width: 700px) {
    .dl-translation-progress {
        max-width: 340px;
        margin-right: auto;
        margin-left: auto;

        text-align: left;
    }

    .dl-translation-progress-top {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* =========================================
   OCENA DRAMALAND — SKALA 1–10
========================================= */

.dl-rating-card-community {
    min-width: 0;
    overflow: hidden;
}




.dl-community-summary {
    margin-top: 6px;
    padding-top: 22px;

    border-top: 1px solid rgba(217, 164, 65, 0.18);
}

.dl-community-summary-label {
    margin-bottom: 10px;

    color: var(--dl-text-soft);

    font-size: 15px;
    line-height: 1.4;
}

.dl-community-summary .dl-rating-score {
    margin-top: 0;

    color: var(--dl-text);

    font-size: 28px;
    font-weight: 800;
}

.dl-community-summary .dl-rating-votes {
    margin-top: 10px;

    color: var(--dl-text-soft);

    font-size: 14px;
}

.dl-user-own-rating {
    min-height: 20px;
    margin-top: 12px;

    color: var(--dl-text-soft);

    font-size: 13px;
}

.dl-user-own-rating strong {
    color: var(--dl-accent);
}

.dl-rating-login-note {
    margin-top: 10px;

    color: var(--dl-text-soft);

    font-size: 13px;
}

.dl-rating-message {
    min-height: 20px;
    margin-top: 10px;

    color: var(--dl-accent-hover);

    font-size: 13px;
}
/* =========================================
   OCENA DRAMALAND — 5 GWIAZDEK
========================================= */

.dl-ratings-row {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    max-width: 620px;
}

.dl-rating-card {
    min-height: 190px;
    padding: 24px;
}

.dl-rating-score-main {
    margin-top: 16px;
    font-size: 34px;
}

.dl-user-rating-stars {
    display: flex;
    align-items: center;
    gap: 9px;

    margin: 24px 0 20px;
}

.dl-rating-star {
    padding: 0;

    color: rgba(217, 164, 65, 0.3);
    background: transparent;
    border: 0;

    font-size: 31px;
    line-height: 1;

    cursor: pointer;

    transition:
        color 0.2s ease,
        transform 0.2s ease,
        filter 0.2s ease;
}

.dl-rating-star:hover,
.dl-rating-star.is-active {
    color: var(--dl-accent);
}

.dl-rating-star:hover {
    transform: translateY(-2px) scale(1.08);
    filter: drop-shadow(
        0 5px 10px rgba(217, 164, 65, 0.28)
    );
}

.dl-rating-star:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.dl-community-summary {
    margin-top: 4px;
    padding-top: 18px;

    border-top: 1px solid rgba(217, 164, 65, 0.16);
}

.dl-community-summary-label {
    margin-bottom: 8px;

    color: var(--dl-text-soft);

    font-size: 14px;
}

.dl-community-summary .dl-rating-score {
    margin-top: 0;
    font-size: 26px;
}

@media (max-width: 700px) {
    .dl-ratings-row {
        grid-template-columns: 1fr;
        max-width: 340px;
    }

    .dl-user-rating-stars {
        justify-content: center;
    }
}

/* =========================================
   HERO — KOŃCOWE WYRÓWNANIE
========================================= */

.dl-drama-info {
    width: 100%;
}

.dl-ratings-row,
.dl-meta,
.dl-taxonomies,
.dl-watch-button,
.dl-translation-progress {
    position: relative;
    z-index: 2;
}

.dl-translation-progress + * {
    clear: both;
}

@media (max-width: 700px) {
    .dl-drama-info .dl-translation-progress {
        align-self: center;
    }
}


/* =========================================
   HERO — PANEL POSTĘPU POD PLAKATEM
========================================= */

.dl-poster-column {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
}

.dl-poster-column .dl-translation-progress {
    width: 100%;
    max-width: none;
    margin-top: 24px;
    padding: 20px;
}

.dl-poster-column .dl-translation-progress-top {
    align-items: flex-start;
}

.dl-poster-column .dl-update-day {
    text-align: right;
}

@media (max-width: 900px) {
    .dl-poster-column .dl-translation-progress {
        padding: 17px;
    }

    .dl-poster-column .dl-translation-progress-top {
        flex-direction: column;
        gap: 10px;
    }

    .dl-poster-column .dl-update-day {
        text-align: left;
    }
}

@media (max-width: 700px) {
    .dl-poster-column {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }

    .dl-poster-column .dl-translation-progress {
        max-width: none;
        margin-right: 0;
        margin-left: 0;
    }
}
/* =========================================
   STRONA FILMU
========================================= */

.dl-film-left {
    min-width: 0;
}

.dl-film-left .dl-translation-progress {
    max-width: 100%;
    margin-top: 24px;
}

.dl-film-rating-row {
    grid-template-columns: minmax(220px, 300px);
    max-width: 300px;
}

.dl-film-player-section {
    padding: 0 20px 74px;
    color: var(--dl-text);
}

.dl-film-player-section h2 {
    margin: 0 0 26px;
    color: var(--dl-accent);
    font-size: 36px;
    line-height: 1.2;
}

@media (max-width: 700px) {
    .dl-film-left {
        width: 100%;
    }

    .dl-film-left .dl-translation-progress {
        max-width: 340px;
        margin-right: auto;
        margin-left: auto;
    }

    .dl-film-rating-row {
        width: 100%;
        max-width: 340px;
    }

    .dl-film-player-section {
        padding-right: 16px;
        padding-left: 16px;
    }

    .dl-film-player-section h2 {
        font-size: 29px;
    }
}

/* =========================================
   STRONA FILMU — POPRAWIONY UKŁAD
========================================= */

.dl-single-film .dl-hero-grid {
    align-items: start;
}

.dl-film-left {
    min-width: 0;
}

.dl-film-left .dl-translation-progress {
    width: 100%;
    max-width: 100%;
    margin-top: 24px;
}

.dl-single-film .dl-ratings-row {
    width: 100%;
    max-width: 620px;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.dl-single-film .dl-rating-card {
    width: 100%;
    min-width: 0;
}

.dl-film-player-section {
    padding: 0 20px 74px;
    color: var(--dl-text);
}

.dl-film-player-section h2 {
    margin: 0 0 26px;
    color: var(--dl-accent);
    font-size: 36px;
    line-height: 1.2;
}

@media (max-width: 900px) {
    .dl-single-film .dl-ratings-row {
        grid-template-columns: 1fr;
        max-width: 520px;
    }
}

@media (max-width: 700px) {
    .dl-film-left {
        width: 100%;
    }

    .dl-film-left .dl-translation-progress {
        max-width: 340px;
        margin-right: auto;
        margin-left: auto;
    }

    .dl-single-film .dl-ratings-row {
        width: 100%;
        max-width: 340px;
        grid-template-columns: 1fr;
    }

    .dl-film-player-section {
        padding-right: 16px;
        padding-left: 16px;
    }

    .dl-film-player-section h2 {
        font-size: 29px;
    }
}
/* =========================================
   BIBLIOTEKA UŻYTKOWNIKA — PANEL
========================================= */

.dl-library-actions {
    display: grid;
    gap: 8px;

    width: 100%;
    margin-top: 20px;
    padding: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(16, 51, 58, 0.94),
            rgba(10, 38, 45, 0.92)
        );

    border: 1px solid var(--dl-border);
    border-radius: 18px;

    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.2);
}

.dl-library-heading {
    display: flex;
    align-items: center;
    gap: 11px;

    margin-bottom: 8px;
    padding: 0 2px 14px;

    border-bottom: 1px solid rgba(217, 164, 65, 0.16);
}

.dl-library-heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    background: rgba(217, 164, 65, 0.1);
    border: 1px solid var(--dl-border);
    border-radius: 11px;

    font-size: 18px;
    line-height: 1;
}

.dl-library-title {
    color: var(--dl-text);

    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
}

.dl-library-subtitle {
    margin-top: 2px;

    color: var(--dl-text-soft);

    font-size: 12px;
    line-height: 1.3;
}

.dl-library-button {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 10px;

    width: 100%;
    min-height: 46px;
    padding: 9px 11px;

    color: var(--dl-text);
    text-align: left;

    background: transparent;

    border: 1px solid transparent;
    border-radius: 12px;

    font: inherit;
    cursor: pointer;

    transition:
        transform 0.2s ease,
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.dl-library-button:hover:not(:disabled) {
    color: var(--dl-text);

    background: rgba(24, 74, 84, 0.54);
    border-color: rgba(217, 164, 65, 0.2);

    transform: translateX(2px);
}

.dl-library-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--dl-accent);

    font-size: 19px;
    font-weight: 800;
    line-height: 1;
}

.dl-library-button-text {
    min-width: 0;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.dl-library-indicator {
    position: relative;

    display: inline-block;

    width: 17px;
    height: 17px;

    background: rgba(7, 24, 30, 0.72);

    border: 1px solid rgba(217, 164, 65, 0.45);
    border-radius: 50%;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.dl-library-button.is-active {
    color: var(--dl-text);

    background: rgba(217, 164, 65, 0.1);
    border-color: rgba(217, 164, 65, 0.25);
}

.dl-library-button.is-active .dl-library-indicator {
    background: var(--dl-accent);
    border-color: var(--dl-accent-hover);

    box-shadow:
        0 0 0 3px rgba(217, 164, 65, 0.11),
        0 0 14px rgba(217, 164, 65, 0.26);
}

.dl-library-button.is-active .dl-library-indicator::after {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;

    width: 5px;
    height: 5px;

    background: var(--dl-bg);
    border-radius: 50%;

    transform: translate(-50%, -50%);
}

.dl-library-button:disabled {
    cursor: not-allowed;
    opacity: 0.52;
}

.dl-library-message {
    min-height: 17px;
    padding: 2px 3px 0;

    color: var(--dl-accent-hover);

    font-size: 12px;
    line-height: 1.35;
}

.dl-library-login-note {
    margin: 0;
    padding: 0 3px;

    color: var(--dl-text-soft);

    font-size: 12px;
    line-height: 1.45;
}

@media (max-width: 700px) {
    .dl-library-actions {
        max-width: 340px;
        margin-right: auto;
        margin-left: auto;
    }
}
/* =========================================
   PROFIL — MOJA BIBLIOTEKA
========================================= */

.dl-profile-library {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 42px;

    color: var(--dl-text);

    background:
        linear-gradient(
            145deg,
            rgba(16, 51, 58, 0.96),
            rgba(8, 32, 39, 0.96)
        );

    border: 1px solid var(--dl-border);
    border-radius: 24px;

    box-shadow: var(--dl-shadow);
}

.dl-profile-library-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;

    margin-bottom: 30px;
}

.dl-profile-library-eyebrow {
    color: var(--dl-accent);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.dl-profile-library-header h2 {
    margin: 8px 0 8px;

    color: var(--dl-text);

    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
}

.dl-profile-library-header p {
    margin: 0;

    color: var(--dl-text-soft);
}

.dl-profile-library-total {
    min-width: 150px;
    padding: 18px;

    color: var(--dl-accent);
    text-align: center;

    background: rgba(217, 164, 65, 0.08);

    border: 1px solid var(--dl-border);
    border-radius: 16px;

    font-size: 28px;
    font-weight: 800;
}

.dl-profile-library-total small {
    display: block;
    margin-top: 4px;

    color: var(--dl-text-soft);

    font-size: 11px;
    font-weight: 600;
}

.dl-library-tabs-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;

    margin-bottom: 28px;
}

.dl-library-tab-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 52px;
    padding: 12px 16px;

    color: var(--dl-text-soft);

    background: rgba(7, 24, 30, 0.58);

    border: 1px solid var(--dl-border);
    border-radius: 14px;

    font: inherit;
    font-weight: 700;
    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.dl-library-tab-button:hover {
    color: var(--dl-text);

    transform: translateY(-2px);
    border-color: var(--dl-border-strong);
}

.dl-library-tab-button.is-active {
    color: var(--dl-bg);

    background:
        linear-gradient(
            135deg,
            var(--dl-accent),
            var(--dl-accent-hover)
        );

    border-color: var(--dl-accent-hover);
}

.dl-library-tab-button strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 24px;
    height: 24px;
    padding: 0 6px;

    background: rgba(0, 0, 0, 0.15);
    border-radius: 999px;

    font-size: 12px;
}

.dl-library-tab-panel[hidden] {
    display: none;
}

.dl-profile-library-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fill, minmax(180px, 1fr));
    gap: 22px;
}

.dl-profile-library-card {
    overflow: hidden;

    background: rgba(16, 51, 58, 0.9);

    border: 1px solid var(--dl-border);
    border-radius: 18px;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        border-color 0.25s ease;
}

.dl-profile-library-card:hover {
    transform: translateY(-5px);
    border-color: var(--dl-accent);
}

.dl-profile-library-card.is-removing {
    opacity: 0;
    transform: scale(0.92);
}

.dl-profile-library-poster {
    position: relative;

    display: block;
    overflow: hidden;

    aspect-ratio: 2 / 3;

    background: var(--dl-surface);
}

.dl-profile-library-poster img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}

.dl-profile-library-card:hover
.dl-profile-library-poster img {
    transform: scale(1.04);
}

.dl-profile-library-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    font-size: 52px;
}

.dl-profile-library-type {
    position: absolute;
    top: 12px;
    left: 12px;

    padding: 6px 10px;

    color: var(--dl-bg);

    background: var(--dl-accent);
    border-radius: 999px;

    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.dl-profile-library-content {
    padding: 16px;
}

.dl-profile-library-content h3 {
    margin: 0 0 8px;

    font-size: 16px;
    line-height: 1.35;
}

.dl-profile-library-content h3 a {
    color: var(--dl-text);
    text-decoration: none;
}

.dl-profile-library-content h3 a:hover {
    color: var(--dl-accent-hover);
}

.dl-profile-library-year {
    color: var(--dl-text-soft);

    font-size: 13px;
}

.dl-profile-library-actions {
    margin-top: 14px;
    padding: 0;

    background: transparent;
    border: 0;
    box-shadow: none;
}

.dl-library-remove-button {
    width: 100%;
    padding: 10px 12px;

    color: var(--dl-text-soft);

    background: rgba(7, 24, 30, 0.55);

    border: 1px solid var(--dl-border);
    border-radius: 10px;

    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.dl-library-remove-button:hover {
    color: var(--dl-accent-hover);
    border-color: var(--dl-border-strong);
}

.dl-library-empty,
.dl-library-login-box {
    padding: 46px 24px;

    color: var(--dl-text-soft);
    text-align: center;

    background: rgba(7, 24, 30, 0.45);

    border: 1px dashed var(--dl-border);
    border-radius: 18px;
}

.dl-library-empty-icon {
    display: block;
    margin-bottom: 12px;

    font-size: 42px;
}

.dl-library-empty p {
    margin: 0;
}

.dl-library-login-box h2 {
    color: var(--dl-text);
}

@media (max-width: 700px) {
    .dl-profile-library {
        padding: 24px 16px;
    }

    .dl-profile-library-header {
        flex-direction: column;
    }

    .dl-profile-library-total {
        width: 100%;
    }

    .dl-library-tabs-nav {
        grid-template-columns: 1fr;
    }

    .dl-profile-library-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 420px) {
    .dl-profile-library-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================
   STRONA „MOJA BIBLIOTEKA” — MOONLIGHT FOX
========================================= */

body.page .dl-profile-library,
body.page .dl-library-login-box {
    color: var(--dl-text);
}

/* Główny obszar zwykłej strony WordPress */
body.page .site-main,
body.page main.site-main,
body.page .page-content,
body.page .entry-content {
    color: var(--dl-text);
}

/* Tło całej strony z biblioteką */
body.page:has(.dl-profile-library),
body.page:has(.dl-library-login-box) {
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(217, 164, 65, 0.12),
            transparent 25%
        ),
        radial-gradient(
            circle at 8% 88%,
            rgba(24, 74, 84, 0.4),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            #071920 0%,
            #081c24 55%,
            #07181e 100%
        );
}

/* Kontener treści strony */
body.page:has(.dl-profile-library) .site-main,
body.page:has(.dl-library-login-box) .site-main {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    padding: 70px 20px;
}

/* Ukrywamy domyślny tytuł strony WordPress */
body.page:has(.dl-profile-library) .entry-title,
body.page:has(.dl-library-login-box) .entry-title {
    display: none;
}

/* Usuwamy marginesy zwykłego edytora */
body.page:has(.dl-profile-library) .entry-content,
body.page:has(.dl-library-login-box) .entry-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Nagłówki i teksty */
.dl-profile-library,
.dl-profile-library h2,
.dl-profile-library h3,
.dl-profile-library p,
.dl-profile-library span,
.dl-library-login-box,
.dl-library-login-box h2,
.dl-library-login-box p {
    color: var(--dl-text);
}

.dl-profile-library-eyebrow {
    color: var(--dl-accent);
}

.dl-profile-library-header p,
.dl-profile-library-year,
.dl-library-empty,
.dl-library-empty p,
.dl-library-login-box p {
    color: var(--dl-text-soft);
}

/* Zakładki — usuwamy róż Hello Elementor */
.dl-library-tab-button {
    appearance: none;
    color: var(--dl-text-soft) !important;

    background: rgba(7, 24, 30, 0.65) !important;

    border: 1px solid var(--dl-border) !important;
    border-radius: 14px !important;

    box-shadow: none !important;
    text-shadow: none !important;
}

.dl-library-tab-button:hover {
    color: var(--dl-text) !important;

    background: rgba(24, 74, 84, 0.7) !important;
    border-color: var(--dl-border-strong) !important;
}

.dl-library-tab-button.is-active {
    color: var(--dl-bg) !important;

    background:
        linear-gradient(
            135deg,
            var(--dl-accent),
            var(--dl-accent-hover)
        ) !important;

    border-color: var(--dl-accent-hover) !important;
}

/* Pusty stan */
.dl-library-empty {
    background: rgba(16, 51, 58, 0.72);

    border: 1px dashed var(--dl-border);
    border-radius: 18px;
}

.dl-library-empty-icon {
    filter: none;
}

/* Linki wewnątrz kart */
.dl-profile-library-content h3 a {
    color: var(--dl-text) !important;
}

.dl-profile-library-content h3 a:hover {
    color: var(--dl-accent-hover) !important;
}

/* Przycisk usuwania */
.dl-library-remove-button {
    appearance: none;

    color: var(--dl-text-soft) !important;
    background: rgba(7, 24, 30, 0.6) !important;

    border: 1px solid var(--dl-border) !important;
    box-shadow: none !important;
}

.dl-library-remove-button:hover {
    color: var(--dl-accent-hover) !important;
    border-color: var(--dl-border-strong) !important;
}

/* Telefon */
@media (max-width: 700px) {
    body.page:has(.dl-profile-library) .site-main,
    body.page:has(.dl-library-login-box) .site-main {
        padding: 42px 16px;
    }
}
/* =========================================
   STRONA GŁÓWNA — MOONLIGHT FOX HERO
========================================= */

.dl-home {
    min-height: 100vh;
    color: var(--dl-text);
    background: var(--dl-bg);
}

.dl-home-hero-premium {
    position: relative;
    min-height: 720px;
    padding: 120px 20px 90px;
    overflow: hidden;

    background-image:
        linear-gradient(
            90deg,
            rgba(7, 24, 30, 0.82) 0%,
            rgba(7, 24, 30, 0.60) 46%,
            rgba(7, 24, 30, 0.25) 72%,
            rgba(7, 24, 30, 0.35) 100%
        ),
        url("assets/images/dramaland-moonlight-hero.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.dl-home-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 34% 28%,
            rgba(217, 164, 65, 0.10),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            transparent 58%,
            var(--dl-bg) 100%
        );

    pointer-events: none;
}

.dl-home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: center;
    gap: 70px;
    min-height: 650px;
}

.dl-home-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.dl-home-hero-kicker {
    display: inline-block;
    margin-bottom: 16px;

    color: var(--dl-accent);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.dl-home-hero-copy h1 {
    margin: 0 0 18px;

    color: var(--dl-text);

    font-size: clamp(48px, 6vw, 76px);
    line-height: 1.02;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.dl-home-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.dl-home-hero-meta span {
    padding: 8px 13px;

    color: var(--dl-text-soft);
    background: rgba(7, 24, 30, 0.58);

    border: 1px solid var(--dl-border);
    border-radius: 999px;

    font-size: 13px;

    backdrop-filter: blur(8px);
}

.dl-home-hero-ratings {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.dl-home-rating-box,
.dl-home-status-box {
    min-width: 112px;
    padding: 14px 16px;

    background: rgba(7, 24, 30, 0.64);

    border: 1px solid var(--dl-border);
    border-radius: 14px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);

    backdrop-filter: blur(12px);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.dl-home-rating-box:hover,
.dl-home-status-box:hover {
    transform: translateY(-4px);
    border-color: var(--dl-border-strong);
    background: rgba(16, 51, 58, 0.72);
}

.dl-home-rating-box strong {
    display: block;

    color: var(--dl-text);

    font-size: 26px;
    line-height: 1;
}

.dl-home-rating-box span {
    display: block;
    margin-top: 6px;

    color: var(--dl-text-soft);

    font-size: 11px;
    text-transform: uppercase;
}

.dl-home-status-box {
    min-width: 180px;
}

.dl-home-status-box > span {
    display: block;

    color: var(--dl-accent);

    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.dl-home-status-box small {
    display: block;
    margin-top: 6px;

    color: var(--dl-text-soft);
}

.dl-home-status-track {
    height: 5px;
    margin-top: 10px;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.dl-home-status-track i {
    display: block;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            var(--dl-accent),
            var(--dl-accent-hover)
        );

    border-radius: inherit;
}

.dl-home-hero-description {
    max-width: 650px;
    margin: 0;

    color: var(--dl-text-soft);

    font-size: 18px;
    line-height: 1.75;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}

.dl-home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.dl-home-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 58px;
    padding: 16px 28px;

    color: var(--dl-text);
    text-decoration: none;

    background: rgba(7, 24, 30, 0.7);

    border: 1px solid var(--dl-border);
    border-radius: 999px;

    font-weight: 800;

    backdrop-filter: blur(10px);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.dl-home-secondary-button:hover {
    color: var(--dl-text);

    transform: translateY(-2px);

    background: rgba(24, 74, 84, 0.8);
    border-color: var(--dl-border-strong);
}

.dl-home-hero-poster {
    position: relative;
    z-index: 2;
}

.dl-home-hero-poster img {
    display: block;

    width: 100%;
    max-width: 270px;
    margin-left: auto;

    aspect-ratio: 2 / 3;
    object-fit: cover;

    border: 1px solid var(--dl-border-strong);
    border-radius: 24px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.55),
        0 0 40px rgba(217, 164, 65, 0.1);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.dl-home-hero-poster img:hover {
    transform: translateY(-7px) scale(1.03) rotate(0.3deg);

    box-shadow:
        0 38px 90px rgba(0, 0, 0, 0.62),
        0 0 54px rgba(217, 164, 65, 0.16);
}

/* =========================================
   NASTROJE
========================================= */

.dl-home-moods {
    position: relative;
    z-index: 3;


    margin-top:0;
    
    padding: 0 20px 76px;
}

.dl-home-moods .dl-container {
    padding: 26px;

    background: rgba(7, 24, 30, 0.9);

    border: 1px solid var(--dl-border);
    border-radius: 22px;

    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.3);

    backdrop-filter: blur(16px);
}

.dl-home-moods-header {
    margin-bottom: 20px;
}

.dl-home-moods-header span {
    color: var(--dl-accent);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.dl-home-moods-header h2 {
    margin: 8px 0 0;

    color: var(--dl-text);

    font-size: 30px;
}

.dl-home-moods-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.dl-home-moods-grid a {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 90px;
    padding: 14px;

    color: var(--dl-text);
    text-align: center;
    text-decoration: none;

    background: rgba(16, 51, 58, 0.78);

    border: 1px solid var(--dl-border);
    border-radius: 14px;

    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;

    transition:
        transform 0.2s ease,
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.dl-home-moods-grid a:hover {
    color: var(--dl-bg);

    transform: translateY(-3px);

    background:
        linear-gradient(
            135deg,
            var(--dl-accent),
            var(--dl-accent-hover)
        );

    border-color: var(--dl-accent-hover);
}

@media (max-width: 900px) {
    .dl-home-hero-premium {
        min-height: auto;
    }

    .dl-home-hero-grid {
        grid-template-columns: minmax(0, 1fr) 250px;
        gap: 38px;
    }

    .dl-home-moods-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .dl-home-hero-premium {
        padding: 92px 16px 90px;
        background-position: 35% center;
    }

    .dl-home-hero-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .dl-home-hero-copy {
        text-align: center;
    }

    .dl-home-hero-copy h1 {
        font-size: 46px;
    }

    .dl-home-hero-meta,
    .dl-home-hero-ratings,
    .dl-home-hero-actions {
        justify-content: center;
    }

    .dl-home-hero-poster {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .dl-home-hero-poster img {
        margin: 0 auto;
    }

    .dl-home-hero-actions {
        flex-direction: column;
    }

    .dl-home-hero-actions a {
        width: 100%;
    }

    .dl-home-moods {
        margin-top: -26px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .dl-home-moods-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================
   STRONA GŁÓWNA — KONTYNUUJ OGLĄDANIE
========================================= */

.dl-home-continue {
    position: relative;
    z-index: 4;

    padding:20px 20px 40px;
    margin-bottom:40px;

    color: var(--dl-text);
    background: var(--dl-bg);
}

.dl-home-continue[hidden] {
    display: none;
}

.dl-home-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 24px;
}

.dl-home-section-kicker {
    display: inline-block;

    color: var(--dl-accent);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.dl-home-section-heading h2 {
    margin: 7px 0 0;

    color: var(--dl-text);

    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
}

.dl-continue-home-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    align-items: stretch;

    max-width: 820px;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(16, 51, 58, 0.96),
            rgba(8, 32, 39, 0.94)
        );

    border: 1px solid var(--dl-border);
    border-radius: 22px;

    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.dl-continue-home-poster {
    display: block;
    min-height: 300px;
    overflow: hidden;

    background: var(--dl-surface);
}

.dl-continue-home-poster img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}

.dl-continue-home-card:hover
.dl-continue-home-poster img {
    transform: scale(1.035);
}

.dl-continue-home-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;
    padding: 34px;
}

.dl-continue-home-eyebrow {
    color: var(--dl-accent);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.dl-continue-home-content h3 {
    margin: 10px 0 12px;

    color: var(--dl-text);

    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
}

.dl-continue-home-content p {
    margin: 0;

    color: var(--dl-text-soft);

    font-size: 17px;
}

.dl-continue-home-content p strong {
    color: var(--dl-accent-hover);
}

.dl-continue-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 28px;
}

@media (max-width: 700px) {
    .dl-home-continue {
        padding-right: 16px;
        padding-left: 16px;
    }

    .dl-continue-home-card {
        grid-template-columns: 1fr;
    }

    .dl-continue-home-poster {
        min-height: auto;
        aspect-ratio: 16 / 9;
    }

    .dl-continue-home-content {
        padding: 26px 22px;
        text-align: center;
    }

    .dl-continue-home-actions {
        flex-direction: column;
    }

    .dl-continue-home-actions a {
        width: 100%;
    }
}
/* =========================================
   KONTYNUUJ OGLĄDANIE — ETAP 1 PREMIUM
========================================= */

.dl-continue-home-card {
    position: relative;
    isolation: isolate;

    grid-template-columns: 245px minmax(0, 1fr);

    width: 100%;
    max-width: 960px;
    min-height: 360px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(10, 40, 47, 0.97),
            rgba(7, 25, 31, 0.95)
        );
}

.dl-continue-home-backdrop {
    position: absolute;
    z-index: -2;
    inset: -45px;

    background-image:
        linear-gradient(
            90deg,
            rgba(7, 24, 30, 0.94) 0%,
            rgba(7, 24, 30, 0.76) 52%,
            rgba(7, 24, 30, 0.9) 100%
        ),
        var(--dl-continue-background);

    background-size: cover;
    background-position: center;

    filter: blur(28px) saturate(0.85);
    opacity: 0.48;

    transform: scale(1.12);
}

.dl-continue-home-card::after {
    content: "";

    position: absolute;
    z-index: -1;
    inset: 0;

    background:
        radial-gradient(
            circle at 18% 50%,
            rgba(217, 164, 65, 0.12),
            transparent 34%
        ),
        linear-gradient(
            90deg,
            rgba(7, 24, 30, 0.18),
            rgba(7, 24, 30, 0.72)
        );

    pointer-events: none;
}

.dl-continue-home-poster {
    position: relative;
    z-index: 1;

    min-height: 360px;

    border-right: 1px solid var(--dl-border);
}

.dl-continue-home-content {
    position: relative;
    z-index: 1;

    padding: 42px;
}

.dl-continue-home-content h3 {
    margin: 10px 0 12px;

    font-size: clamp(38px, 5vw, 54px);
    line-height: 1.05;
}

.dl-continue-home-episode {
    color: var(--dl-text-soft);

    font-size: 18px;
    line-height: 1.5;
}

.dl-continue-home-episode strong {
    color: var(--dl-text);
}

.dl-continue-progress {
    width: 100%;
    max-width: 520px;
    margin-top: 24px;
}

.dl-continue-progress-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 9px;

    color: var(--dl-text-soft);

    font-size: 13px;
}

.dl-continue-progress-top strong {
    color: var(--dl-accent-hover);
}

.dl-continue-progress-track {
    width: 100%;
    height: 10px;

    overflow: hidden;

    background: rgba(7, 24, 30, 0.78);

    border: 1px solid rgba(217, 164, 65, 0.2);
    border-radius: 999px;
}

.dl-continue-progress-bar {
    display: block;

    width: 0;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            var(--dl-accent),
            var(--dl-accent-hover)
        );

    border-radius: inherit;

    box-shadow:
        0 0 18px rgba(217, 164, 65, 0.42);

    transition: width 0.7s ease;
}

.dl-continue-fox-message {
    display: flex;
    align-items: center;
    gap: 13px;

    max-width: 520px;
    margin-top: 22px;
    padding: 14px 16px;

    background: rgba(7, 24, 30, 0.54);

    border: 1px solid rgba(217, 164, 65, 0.18);
    border-radius: 14px;

    backdrop-filter: blur(10px);
}

.dl-continue-fox-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    background: rgba(217, 164, 65, 0.1);

    border: 1px solid var(--dl-border);
    border-radius: 12px;

    font-size: 22px;
}

.dl-continue-fox-message strong {
    display: block;

    color: var(--dl-accent);

    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.dl-continue-fox-message p {
    margin: 4px 0 0;

    color: var(--dl-text-soft);

    font-size: 14px;
    line-height: 1.4;
}

@media (max-width: 700px) {
    .dl-continue-home-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .dl-continue-home-poster {
        min-height: 0;
        aspect-ratio: 16 / 9;

        border-right: 0;
        border-bottom: 1px solid var(--dl-border);
    }

    .dl-continue-home-content {
        padding: 28px 22px;
    }

    .dl-continue-home-content h3 {
        font-size: 36px;
    }

    .dl-continue-progress {
        text-align: left;
    }

    .dl-continue-fox-message {
        text-align: left;
    }
}
/* =========================================
   NASTROJE — KARTY LANDUSIA
========================================= */

.dl-home-mood-card {
    display: grid !important;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    gap: 16px;

    min-height: 112px !important;
    padding: 18px !important;

    text-align: left !important;
}

.dl-home-mood-emoji{
    display:flex;
    align-items:center;
    justify-content:center;

    flex-shrink:0;

    width:64px;
    height:64px;

    font-size:38px;
    line-height:1;
}

.dl-home-mood-content {
    display: block;
    min-width: 0;
}

.dl-home-mood-content strong {
    display: block;

    color: inherit;

    font-size: 16px;
    line-height: 1.3;
}

.dl-home-mood-content small {
    display: block;
    margin-top: 5px;

    color: var(--dl-text-soft);

    font-size: 12px;
    line-height: 1.45;

    transition: color 0.2s ease;
}

.dl-home-mood-card:hover
.dl-home-mood-content small {
    color: rgba(7, 24, 30, 0.74);
}

@media (max-width: 700px) {
    .dl-home-mood-card {
        grid-template-columns: 46px minmax(0, 1fr);
        min-height: 100px !important;
    }

    .dl-home-mood-emoji {
        width: 46px;
        height: 46px;

        font-size: 24px;
    }
}
/* =========================================
   ARCHIWUM NASTROJU — LANDUŚ PREMIUM
========================================= */

.dl-mood-archive {
    min-height: 100vh;

    color: var(--dl-text);

    background:
        radial-gradient(
            circle at 82% 8%,
            rgba(var(--dl-mood-accent-rgb), 0.13),
            transparent 27%
        ),
        radial-gradient(
            circle at 8% 92%,
            rgba(24, 74, 84, 0.42),
            transparent 40%
        ),
        linear-gradient(
            180deg,
            #071920 0%,
            #081c24 54%,
            #07181e 100%
        );
}

/* HERO */

.dl-mood-archive-hero {
    position: relative;

    min-height: 620px;
    padding: 130px 20px 80px;

    overflow: hidden;

    border-bottom: 1px solid
        rgba(var(--dl-mood-accent-rgb), 0.16);
}

.dl-mood-hero-glow {
    position: absolute;
    top: -180px;
    left: -80px;

    width: 720px;
    height: 720px;

    background:
        radial-gradient(
            circle,
            rgba(var(--dl-mood-accent-rgb), 0.16),
            transparent 68%
        );

    pointer-events: none;
}

.dl-mood-hero-grid {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    align-items: center;
    gap: 70px;

    min-height: 400px;
}

.dl-mood-landus {
    position: relative;

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

    min-height: 390px;
}

.dl-mood-landus img {
    display: block;

    width: 100%;
    max-width: 330px;
    max-height: 430px;

    object-fit: contain;

    filter:
        drop-shadow(0 28px 34px rgba(0, 0, 0, 0.38))
        drop-shadow(
            0 0 25px
            rgba(var(--dl-mood-accent-rgb), 0.15)
        );
}

.dl-mood-landus-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 280px;
    height: 280px;

    background:
        radial-gradient(
            circle,
            rgba(var(--dl-mood-accent-rgb), 0.14),
            transparent 70%
        );

    font-size: 150px;
}

.dl-mood-archive-intro {
    max-width: 820px;
}

.dl-mood-archive-kicker,
.dl-mood-results-kicker {
    display: inline-block;

    color: var(--dl-mood-accent);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.dl-mood-archive-intro h1 {
    display: flex;
    align-items: center;
    gap: 18px;

    margin: 16px 0 22px;

    color: var(--dl-text);

    font-size: clamp(52px, 7vw, 88px);
    line-height: 1.02;
}

.dl-mood-title-emoji {
    font-size: 0.78em;
    line-height: 1;
}

.dl-mood-archive-description {
    max-width: 720px;
    margin: 0;

    color: var(--dl-text-soft);

    font-size: 20px;
    line-height: 1.75;
}

.dl-mood-landus-message {
    display: flex;
    align-items: center;
    gap: 14px;

    max-width: 620px;
    margin-top: 28px;
    padding: 17px 20px;

    background:
        linear-gradient(
            135deg,
            rgba(var(--dl-mood-accent-rgb), 0.11),
            rgba(7, 24, 30, 0.56)
        );

    border: 1px solid
        rgba(var(--dl-mood-accent-rgb), 0.28);

    border-radius: 16px;

    backdrop-filter: blur(12px);
}

.dl-mood-landus-message > span {
    font-size: 28px;
}

.dl-mood-landus-message strong {
    color: var(--dl-mood-accent);

    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.dl-mood-landus-message p {
    margin: 4px 0 0;

    color: var(--dl-text-soft);

    font-size: 14px;
    line-height: 1.5;
}

/* WYNIKI */

.dl-mood-results {
    padding: 82px 20px 100px;
}

.dl-mood-results-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;

    margin-bottom: 32px;
}

.dl-mood-results-header h2 {
    margin: 8px 0 0;

    color: var(--dl-text);

    font-size: clamp(34px, 4vw, 46px);
}

.dl-mood-results-count {
    padding: 9px 14px;

    color: var(--dl-text-soft);

    background: rgba(16, 51, 58, 0.75);

    border: 1px solid var(--dl-border);
    border-radius: 999px;

    font-size: 13px;
}

.dl-mood-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fill, minmax(240px, 1fr));
    gap: 26px;
}

.dl-mood-card {
    display: flex;
    flex-direction: column;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(16, 51, 58, 0.96),
            rgba(9, 35, 42, 0.94)
        );

    border: 1px solid var(--dl-border);
    border-radius: 20px;

    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);

    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.dl-mood-card:hover {
    transform: translateY(-7px);

    border-color: var(--dl-mood-accent);

    box-shadow:
        0 24px 52px rgba(0, 0, 0, 0.34),
        0 0 24px
        rgba(var(--dl-mood-accent-rgb), 0.1);
}

.dl-mood-card-poster {
    position: relative;

    display: block;
    overflow: hidden;

    aspect-ratio: 2 / 3;

    background: var(--dl-surface);
}

.dl-mood-card-poster img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.dl-mood-card:hover
.dl-mood-card-poster img {
    transform: scale(1.055);
    filter: brightness(0.74);
}

.dl-mood-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    font-size: 58px;
}

.dl-mood-card-type {
    position: absolute;
    top: 13px;
    left: 13px;

    padding: 6px 11px;

    color: #07181e;

    background: var(--dl-mood-accent);
    border-radius: 999px;

    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.dl-mood-card-overlay {
    position: absolute;
    top: 50%;
    left: 50%;

    padding: 11px 17px;

    color: var(--dl-text);

    background: rgba(7, 24, 30, 0.82);

    border: 1px solid
        rgba(var(--dl-mood-accent-rgb), 0.55);

    border-radius: 999px;

    font-size: 13px;
    font-weight: 800;

    opacity: 0;

    transform:
        translate(-50%, -42%)
        scale(0.94);

    transition:
        opacity 0.28s ease,
        transform 0.28s ease;
}

.dl-mood-card:hover
.dl-mood-card-overlay {
    opacity: 1;

    transform:
        translate(-50%, -50%)
        scale(1);
}

.dl-mood-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 20px;
}

.dl-mood-card-content h2 {
    margin: 0;

    font-size: 20px;
    line-height: 1.3;
}

.dl-mood-card-content h2 a {
    color: var(--dl-text);
    text-decoration: none;
}

.dl-mood-card-content h2 a:hover {
    color: var(--dl-mood-accent);
}

.dl-mood-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    margin-top: 13px;
}

.dl-mood-card-meta span {
    color: var(--dl-text-soft);

    font-size: 13px;
}

.dl-mood-card-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    margin-top: 14px;
}

.dl-mood-card-genres span {
    padding: 6px 9px;

    color: var(--dl-text-soft);

    background:
        rgba(var(--dl-mood-accent-rgb), 0.08);

    border: 1px solid
        rgba(var(--dl-mood-accent-rgb), 0.18);

    border-radius: 999px;

    font-size: 11px;
}

.dl-mood-card-button {
    display: inline-flex;
    align-items: center;

    width: max-content;
    margin-top: auto;
    padding-top: 18px;

    color: var(--dl-mood-accent);
    text-decoration: none;

    font-size: 13px;
    font-weight: 800;
}

.dl-mood-card-button:hover {
    color: var(--dl-text);
}

/* PAGINACJA */

.dl-mood-pagination {
    margin-top: 48px;
}

.dl-mood-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.dl-mood-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 44px;
    min-height: 44px;
    padding: 8px 13px;

    color: var(--dl-text);
    text-decoration: none;

    background: rgba(16, 51, 58, 0.86);

    border: 1px solid var(--dl-border);
    border-radius: 11px;
}

.dl-mood-pagination .page-numbers.current,
.dl-mood-pagination .page-numbers:hover {
    color: #07181e;

    background: var(--dl-mood-accent);
    border-color: var(--dl-mood-accent);
}

/* PUSTY WYNIK */

.dl-mood-empty {
    padding: 64px 24px;

    color: var(--dl-text-soft);
    text-align: center;

    background: rgba(16, 51, 58, 0.72);

    border: 1px dashed
        rgba(var(--dl-mood-accent-rgb), 0.42);

    border-radius: 22px;
}

.dl-mood-empty-landus img {
    width: 190px;
    max-height: 220px;

    object-fit: contain;
}

.dl-mood-empty-landus span {
    display: block;

    font-size: 70px;
}

.dl-mood-empty h2 {
    margin: 18px 0 10px;

    color: var(--dl-text);
}

.dl-mood-empty p {
    max-width: 540px;
    margin: 0 auto 26px;
}

/* TABLET */

@media (max-width: 900px) {
    .dl-mood-hero-grid {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 38px;
    }

    .dl-mood-landus {
        min-height: 310px;
    }

    .dl-mood-archive-intro h1 {
        font-size: 54px;
    }
}

/* TELEFON */

@media (max-width: 700px) {
    .dl-mood-archive-hero {
        min-height: auto;
        padding: 88px 16px 56px;
    }

    .dl-mood-hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;

        text-align: center;
    }

    .dl-mood-landus {
        min-height: 0;
    }

    .dl-mood-landus img {
        max-width: 210px;
        max-height: 250px;
    }

    .dl-mood-landus-placeholder {
        width: 170px;
        height: 170px;

        margin: 0 auto;

        font-size: 90px;
    }

    .dl-mood-archive-intro h1 {
        justify-content: center;

        font-size: 44px;
    }

    .dl-mood-archive-description {
        font-size: 17px;
    }

    .dl-mood-landus-message {
        margin-right: auto;
        margin-left: auto;

        text-align: left;
    }

    .dl-mood-results {
        padding: 56px 16px 76px;
    }

    .dl-mood-results-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .dl-mood-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 15px;
    }

    .dl-mood-card-content {
        padding: 15px;
    }

    .dl-mood-card-content h2 {
        font-size: 16px;
    }

    .dl-mood-card-genres {
        display: none;
    }
}

@media (max-width: 430px) {
    .dl-mood-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================
   ARCHIWUM NASTROJU — KOŃCOWE WYRÓWNANIE
========================================= */

/* Hero — lepsze proporcje bez grafiki Landusia */

.dl-mood-hero-grid {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 54px;
}

.dl-mood-landus {
    min-height: 330px;
}

.dl-mood-landus-placeholder {
    width: 240px;
    height: 240px;

    margin: 0 auto;

    border: 1px solid
        rgba(var(--dl-mood-accent-rgb), 0.22);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(var(--dl-mood-accent-rgb), 0.18),
            rgba(16, 51, 58, 0.34) 48%,
            transparent 72%
        );

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.3),
        0 0 38px
        rgba(var(--dl-mood-accent-rgb), 0.12);

    font-size: 120px;
}

/* Sekcja wyników — bardziej premium */

.dl-mood-results {
    position: relative;

    padding-top: 88px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(var(--dl-mood-accent-rgb), 0.055),
            transparent 34%
        );
}

.dl-mood-results .dl-container {
    padding: 34px;

    background:
        linear-gradient(
            145deg,
            rgba(10, 39, 46, 0.5),
            rgba(7, 27, 34, 0.28)
        );

    border: 1px solid
        rgba(var(--dl-mood-accent-rgb), 0.11);

    border-radius: 26px;
}

/* Nagłówek wyników */

.dl-mood-results-header {
    padding-bottom: 24px;

    border-bottom: 1px solid
        rgba(var(--dl-mood-accent-rgb), 0.14);
}

/* Karty — centrowanie przy małej liczbie wyników */

.dl-mood-grid {
    grid-template-columns:
        repeat(auto-fit, minmax(240px, 280px));

    justify-content: center;
    align-items: stretch;

    margin-top: 32px;
}

/* Karta ma pełną równą szerokość */

.dl-mood-card {
    width: 100%;
    max-width: 280px;
}

/* Nieco lepszy dół karty */

.dl-mood-card-content {
    min-height: 190px;
}

.dl-mood-card-button {
    margin-top: auto;
}

/* Tablet */

@media (max-width: 900px) {
    .dl-mood-hero-grid {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 34px;
    }

    .dl-mood-landus-placeholder {
        width: 190px;
        height: 190px;

        font-size: 94px;
    }

    .dl-mood-results .dl-container {
        padding: 26px;
    }
}

/* Telefon */

@media (max-width: 700px) {
    .dl-mood-hero-grid {
        grid-template-columns: 1fr;
    }

    .dl-mood-landus {
        min-height: 0;
    }

    .dl-mood-landus-placeholder {
        width: 160px;
        height: 160px;

        font-size: 78px;
    }

    .dl-mood-results .dl-container {
        padding: 20px 14px;
        border-radius: 20px;
    }

    .dl-mood-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        justify-content: stretch;
    }

    .dl-mood-card {
        max-width: none;
    }
}

@media (max-width: 430px) {
    .dl-mood-grid {
        grid-template-columns: 1fr;
    }

    .dl-mood-card {
        max-width: 320px;
        margin: 0 auto;
    }
}
/* =========================================
   OFICJALNA KARTA DRAMALAND
========================================= */

.dl-title-card {
    display: flex;
    flex-direction: column;

    width: 100%;
    min-width: 0;
    overflow: hidden;

    color: var(--dl-text);

    background:
        linear-gradient(
            145deg,
            rgba(16, 51, 58, 0.96),
            rgba(8, 31, 38, 0.96)
        );

    border: 1px solid var(--dl-border);
    border-radius: 20px;

    box-shadow:
        0 15px 38px rgba(0, 0, 0, 0.24);

    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.dl-title-card:hover {
    transform: translateY(-7px);

    border-color: var(--dl-season-accent, var(--dl-accent));

    box-shadow:
        0 24px 54px rgba(0, 0, 0, 0.36),
        0 0 25px
        var(
            --dl-season-glow,
            rgba(217, 164, 65, 0.1)
        );
}

.dl-title-card-poster {
    position: relative;

    display: block;
    overflow: hidden;

    aspect-ratio: 2 / 3;

    background: var(--dl-surface);
}

.dl-title-card-poster img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.dl-title-card:hover
.dl-title-card-poster img {
    transform: scale(1.055);
    filter: brightness(0.72);
}

.dl-title-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    font-size: 58px;
}

.dl-title-card-type,
.dl-title-card-badge {
    position: absolute;
    top: 13px;

    padding: 6px 10px;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.dl-title-card-type {
    left: 13px;

    color: var(--dl-bg);

    background:
        var(
            --dl-season-accent,
            var(--dl-accent)
        );
}

.dl-title-card-badge {
    right: 13px;

    color: var(--dl-text);

    background: rgba(7, 24, 30, 0.82);

    border: 1px solid var(--dl-border);

    backdrop-filter: blur(9px);
}

.dl-title-card-hover {
    position: absolute;
    top: 50%;
    left: 50%;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 11px 16px;

    color: var(--dl-text);

    background: rgba(7, 24, 30, 0.84);

    border: 1px solid
        var(
            --dl-season-accent,
            var(--dl-accent)
        );

    border-radius: 999px;

    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;

    opacity: 0;

    transform:
        translate(-50%, -43%)
        scale(0.94);

    transition:
        opacity 0.28s ease,
        transform 0.28s ease;
}

.dl-title-card:hover
.dl-title-card-hover {
    opacity: 1;

    transform:
        translate(-50%, -50%)
        scale(1);
}

.dl-title-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 18px;
}

.dl-title-card-title {
    margin: 0;

    font-size: 19px;
    line-height: 1.3;
}

.dl-title-card-title a {
    color: var(--dl-text);
    text-decoration: none;
}

.dl-title-card-title a:hover {
    color:
        var(
            --dl-season-accent,
            var(--dl-accent-hover)
        );
}

.dl-title-card-meta,
.dl-title-card-ratings {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 13px;

    margin-top: 12px;
}

.dl-title-card-meta span,
.dl-title-card-ratings span {
    color: var(--dl-text-soft);

    font-size: 12px;
    line-height: 1.4;
}

.dl-title-card-ratings small {
    margin-left: 3px;

    color: rgba(215, 198, 175, 0.68);

    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.dl-title-card-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;

    margin-top: 13px;
}

.dl-title-card-genres span {
    padding: 5px 8px;

    color: var(--dl-text-soft);

    background:
        var(
            --dl-season-soft,
            rgba(217, 164, 65, 0.07)
        );

    border: 1px solid
        var(
            --dl-season-border,
            rgba(217, 164, 65, 0.16)
        );

    border-radius: 999px;

    font-size: 10px;
}

.dl-title-card-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    margin-top: 15px;
}

.dl-title-card-status {
    display: inline-flex;

    padding: 6px 9px;

    border: 1px solid transparent;
    border-radius: 999px;

    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.dl-card-status-progress {
    color: #bff4cf;
    background: rgba(57, 166, 91, 0.14);
    border-color: rgba(91, 209, 126, 0.3);
}

.dl-card-status-complete {
    color: #d9f7ff;
    background: rgba(61, 155, 184, 0.14);
    border-color: rgba(90, 194, 224, 0.3);
}

.dl-card-status-paused {
    color: #ffe1a3;
    background: rgba(217, 164, 65, 0.13);
    border-color: rgba(217, 164, 65, 0.3);
}

.dl-card-status-announced {
    color: #e3d4ff;
    background: rgba(145, 105, 205, 0.14);
    border-color: rgba(177, 137, 235, 0.3);
}

.dl-card-status-default {
    color: var(--dl-text-soft);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--dl-border);
}

.dl-title-card-episodes {
    color: var(--dl-text-soft);

    font-size: 11px;
}

.dl-title-card-progress {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;

    margin-top: 11px;
}

.dl-title-card-progress-track {
    height: 7px;
    overflow: hidden;

    background: rgba(7, 24, 30, 0.82);

    border: 1px solid var(--dl-border);
    border-radius: 999px;
}

.dl-title-card-progress-track span {
    display: block;

    width: 0;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            var(
                --dl-season-accent,
                var(--dl-accent)
            ),
            var(--dl-accent-hover)
        );

    border-radius: inherit;

    box-shadow:
        0 0 13px
        var(
            --dl-season-glow,
            rgba(217, 164, 65, 0.3)
        );
}

.dl-title-card-progress small {
    color: var(--dl-text-soft);

    font-size: 10px;
}

.dl-title-card-link {
    display: inline-flex;

    width: max-content;
    margin-top: auto;
    padding-top: 17px;

    color:
        var(
            --dl-season-accent,
            var(--dl-accent)
        );

    text-decoration: none;

    font-size: 12px;
    font-weight: 800;
}

.dl-title-card-link:hover {
    color: var(--dl-text);
}
/* =========================================
   DRAMALAND — AUTOMATYCZNE PORY ROKU
========================================= */

/* WIOSNA */

body.dl-season-spring {
    --dl-season-accent: #eeb0c5;
    --dl-season-soft: rgba(238, 176, 197, 0.09);
    --dl-season-border: rgba(238, 176, 197, 0.22);
    --dl-season-glow: rgba(238, 176, 197, 0.28);
}

/* LATO */

body.dl-season-summer {
    --dl-season-accent: #f3c969;
    --dl-season-soft: rgba(243, 201, 105, 0.09);
    --dl-season-border: rgba(243, 201, 105, 0.23);
    --dl-season-glow: rgba(243, 201, 105, 0.3);
}

/* JESIEŃ */

body.dl-season-autumn {
    --dl-season-accent: #d9864f;
    --dl-season-soft: rgba(217, 134, 79, 0.09);
    --dl-season-border: rgba(217, 134, 79, 0.24);
    --dl-season-glow: rgba(217, 134, 79, 0.3);
}

/* ZIMA */

body.dl-season-winter {
    --dl-season-accent: #a9d7e8;
    --dl-season-soft: rgba(169, 215, 232, 0.09);
    --dl-season-border: rgba(169, 215, 232, 0.22);
    --dl-season-glow: rgba(169, 215, 232, 0.3);
}
/* =========================================
   STRONA GŁÓWNA — NAJNOWSZE TŁUMACZENIA
========================================= */

.dl-home-latest-translations {
    padding: 78px 20px 88px;

    color: var(--dl-text);

    background:
        radial-gradient(
            circle at 85% 0%,
            var(
                --dl-season-soft,
                rgba(217, 164, 65, 0.07)
            ),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            rgba(7, 24, 30, 0.2),
            rgba(7, 24, 30, 0.52)
        );
}

.dl-home-section-link {
    color:
        var(
            --dl-season-accent,
            var(--dl-accent)
        );

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.dl-home-section-link:hover {
    color: var(--dl-text);
    transform: translateX(3px);
}

.dl-home-title-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 1000px) {
    .dl-home-title-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .dl-home-latest-translations {
        padding: 58px 16px 72px;
    }

    .dl-home-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .dl-home-title-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 15px;
    }
}

@media (max-width: 430px) {
    .dl-home-title-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================
   NAJNOWSZE TŁUMACZENIA — MNIEJSZE KARTY
========================================= */

.dl-home-title-grid {
    grid-template-columns:
        repeat(auto-fit, minmax(220px, 260px));

    justify-content: start;
    align-items: stretch;
}

.dl-home-title-grid .dl-title-card {
    width: 100%;
    max-width: 260px;
}

.dl-home-title-grid .dl-title-card-poster {
    aspect-ratio: 2 / 3;
}

.dl-home-title-grid .dl-title-card-content {
    padding: 16px;
}

.dl-home-title-grid .dl-title-card-title {
    font-size: 18px;
}

@media (max-width: 700px) {
    .dl-home-title-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        justify-content: stretch;
    }

    .dl-home-title-grid .dl-title-card {
        max-width: none;
    }
}

@media (max-width: 430px) {
    .dl-home-title-grid {
        grid-template-columns: 1fr;
    }

    .dl-home-title-grid .dl-title-card {
        max-width: 300px;
        margin: 0 auto;
    }
}
/* =========================================
   STRONA GŁÓWNA — OSTATNIO DODANE
========================================= */

.dl-home-recent-titles {
    padding: 78px 20px 88px;

    color: var(--dl-text);

    background:
        radial-gradient(
            circle at 12% 0%,
            var(
                --dl-season-soft,
                rgba(217, 164, 65, 0.07)
            ),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            rgba(7, 24, 30, 0.48),
            rgba(7, 24, 30, 0.18)
        );
}

@media (max-width: 700px) {
    .dl-home-recent-titles {
        padding: 58px 16px 72px;
    }
}
/* OSTATNIO DODANE — WYŚRODKOWANIE MAŁEJ LICZBY KART */

.dl-home-recent-titles .dl-home-title-grid {
    justify-content: center;
}
.dl-home-recent-titles .dl-home-title-grid {
    gap: 32px;
}
/* =========================================
   STRONA GŁÓWNA — LANDUŚ POLECA
========================================= */

.dl-home-landus-picks {
    position: relative;

    padding: 82px 20px 92px;

    color: var(--dl-text);

    background:
        radial-gradient(
            circle at 86% 12%,
            var(
                --dl-season-soft,
                rgba(217, 164, 65, 0.09)
            ),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            rgba(7, 24, 30, 0.52),
            rgba(7, 24, 30, 0.22)
        );
}

.dl-landus-picks-panel {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) 240px;
    align-items: center;
    gap: 42px;

    margin-bottom: 34px;
    padding: 34px 38px;

    background:
        linear-gradient(
            135deg,
            rgba(16, 51, 58, 0.92),
            rgba(8, 31, 38, 0.9)
        );

    border: 1px solid
        var(
            --dl-season-border,
            var(--dl-border)
        );

    border-radius: 26px;

    box-shadow:
        0 22px 54px rgba(0, 0, 0, 0.28);
}

.dl-landus-picks-copy h2 {
    margin: 10px 0 14px;

    color: var(--dl-text);

    font-size: clamp(38px, 5vw, 56px);
    line-height: 1.05;
}

.dl-landus-picks-copy > p {
    max-width: 680px;
    margin: 0;

    color: var(--dl-text-soft);

    font-size: 17px;
    line-height: 1.7;
}

.dl-landus-picks-message {
    display: flex;
    align-items: center;
    gap: 13px;

    max-width: 620px;
    margin-top: 22px;
    padding: 15px 17px;

    background:
        rgba(7, 24, 30, 0.54);

    border: 1px solid
        var(
            --dl-season-border,
            var(--dl-border)
        );

    border-radius: 15px;
}

.dl-landus-picks-message > span {
    font-size: 27px;
}

.dl-landus-picks-message strong {
    color:
        var(
            --dl-season-accent,
            var(--dl-accent)
        );

    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.dl-landus-picks-message p {
    margin: 4px 0 0;

    color: var(--dl-text-soft);

    font-size: 14px;
    line-height: 1.5;
}

.dl-landus-picks-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dl-landus-picks-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 190px;
    height: 190px;

    background:
        radial-gradient(
            circle,
            var(
                --dl-season-soft,
                rgba(217, 164, 65, 0.13)
            ),
            transparent 70%
        );

    border: 1px solid
        var(
            --dl-season-border,
            var(--dl-border)
        );

    border-radius: 50%;

    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.3),
        0 0 32px
        var(
            --dl-season-glow,
            rgba(217, 164, 65, 0.18)
        );

    font-size: 96px;
}

.dl-landus-picks-grid {
    grid-template-columns:
        repeat(3, minmax(220px, 260px));

    justify-content: center;
    gap: 30px;
}

.dl-landus-picks-grid .dl-title-card {
    max-width: 260px;
}

.dl-landus-picks-grid .dl-title-card-badge {
    color: #07181e;

    background:
        var(
            --dl-season-accent,
            var(--dl-accent)
        );

    border-color:
        var(
            --dl-season-accent,
            var(--dl-accent)
        );
}

@media (max-width: 900px) {
    .dl-landus-picks-panel {
        grid-template-columns:
            minmax(0, 1fr) 180px;

        gap: 28px;
    }

    .dl-landus-picks-placeholder {
        width: 155px;
        height: 155px;

        font-size: 76px;
    }
}

@media (max-width: 700px) {
    .dl-home-landus-picks {
        padding: 60px 16px 74px;
    }

    .dl-landus-picks-panel {
        grid-template-columns: 1fr;
        padding: 27px 22px;

        text-align: center;
    }

    .dl-landus-picks-message {
        margin-right: auto;
        margin-left: auto;

        text-align: left;
    }

    .dl-landus-picks-visual {
        order: -1;
    }

    .dl-landus-picks-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        justify-content: stretch;
        gap: 15px;
    }

    .dl-landus-picks-grid .dl-title-card {
        max-width: none;
    }
}

@media (max-width: 430px) {
    .dl-landus-picks-grid {
        grid-template-columns: 1fr;
    }

    .dl-landus-picks-grid .dl-title-card {
        max-width: 300px;
        margin: 0 auto;
    }
}
/* =========================================
   STRONA GŁÓWNA — WYSZUKIWARKA LANDUSIA
========================================= */

.dl-home-search {
    padding: 82px 20px 92px;

    color: var(--dl-text);

    background:
        radial-gradient(
            circle at 12% 15%,
            var(
                --dl-season-soft,
                rgba(217, 164, 65, 0.08)
            ),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            rgba(7, 24, 30, 0.28),
            rgba(7, 24, 30, 0.56)
        );
}

.dl-home-search-panel {
    padding: 38px;

    background:
        linear-gradient(
            145deg,
            rgba(16, 51, 58, 0.94),
            rgba(8, 31, 38, 0.94)
        );

    border: 1px solid
        var(
            --dl-season-border,
            var(--dl-border)
        );

    border-radius: 26px;

    box-shadow:
        0 22px 54px rgba(0, 0, 0, 0.28);
}

.dl-home-search-copy {
    max-width: 760px;
}

.dl-home-search-copy h2 {
    margin: 10px 0 14px;

    color: var(--dl-text);

    font-size: clamp(40px, 5vw, 58px);
    line-height: 1.05;
}

.dl-home-search-copy p {
    margin: 0;

    color: var(--dl-text-soft);

    font-size: 16px;
    line-height: 1.7;
}

.dl-home-search-form {
    margin-top: 28px;
}

.dl-home-search-field {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;

    padding: 10px 10px 10px 18px;

    background: rgba(7, 24, 30, 0.78);

    border: 1px solid
        var(
            --dl-season-border,
            var(--dl-border)
        );

    border-radius: 18px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.dl-home-search-field:focus-within {
    border-color:
        var(
            --dl-season-accent,
            var(--dl-accent)
        );

    box-shadow:
        0 0 0 3px
        var(
            --dl-season-soft,
            rgba(217, 164, 65, 0.08)
        );
}

.dl-home-search-field > span {
    font-size: 24px;
}

.dl-home-search-field input[type="search"] {
    width: 100%;
    min-height: 54px;
    padding: 0;

    color: var(--dl-text);

    background: transparent;

    border: 0;
    outline: 0;

    font-size: 17px;
}

.dl-home-search-field input::placeholder {
    color: rgba(215, 198, 175, 0.58);
}

.dl-home-search-field button {
    min-height: 54px;
    padding: 0 24px;

    color: #07181e;

    background:
        var(
            --dl-season-accent,
            var(--dl-accent)
        );

    border: 0;
    border-radius: 13px;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        filter 0.2s ease;
}

.dl-home-search-field button:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.dl-home-search-hints {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 16px;
}

.dl-home-search-hints span,
.dl-home-search-hints a {
    color: var(--dl-text-soft);

    font-size: 12px;
}

.dl-home-search-hints a {
    padding: 5px 9px;

    text-decoration: none;

    background:
        var(
            --dl-season-soft,
            rgba(217, 164, 65, 0.07)
        );

    border: 1px solid
        var(
            --dl-season-border,
            var(--dl-border)
        );

    border-radius: 999px;
}

.dl-home-search-hints a:hover {
    color:
        var(
            --dl-season-accent,
            var(--dl-accent)
        );
}

@media (max-width: 700px) {
    .dl-home-search {
        padding: 60px 16px 74px;
    }

    .dl-home-search-panel {
        padding: 26px 20px;
    }

    .dl-home-search-field {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .dl-home-search-field button {
        grid-column: 1 / -1;

        width: 100%;
    }
}
/* =========================================
   WYSZUKIWARKA LANDUSIA — FILTRY
========================================= */

.dl-home-filter-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 16px;

    margin-top: 22px;
}

.dl-home-filter {
    min-width: 0;
}

.dl-home-filter label {
    display: block;

    margin-bottom: 7px;

    color: var(--dl-text-soft);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.dl-home-filter select,
.dl-home-filter-select {
    width: 100%;
    min-height: 50px;
    padding: 0 40px 0 14px;

    color: var(--dl-text);

    background-color: rgba(7, 24, 30, 0.78);

    border: 1px solid
        var(
            --dl-season-border,
            var(--dl-border)
        );

    border-radius: 13px;
    outline: 0;

    font-size: 14px;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.dl-home-filter select:focus,
.dl-home-filter-select:focus {
    border-color:
        var(
            --dl-season-accent,
            var(--dl-accent)
        );

    box-shadow:
        0 0 0 3px
        var(
            --dl-season-soft,
            rgba(217, 164, 65, 0.08)
        );
}

.dl-home-filter select option {
    color: var(--dl-text);
    background: #0b252c;
}

.dl-home-filter-actions {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-top: 22px;
}

.dl-home-filter-submit {
    min-height: 52px;
    padding: 0 24px;

    color: #07181e;

    background:
        var(
            --dl-season-accent,
            var(--dl-accent)
        );

    border: 0;
    border-radius: 13px;

    font-size: 14px;
    font-weight: 900;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        filter 0.2s ease;
}

.dl-home-filter-submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

.dl-home-filter-reset {
    color: var(--dl-text-soft);
    text-decoration: none;

    font-size: 13px;
    font-weight: 700;
}

.dl-home-filter-reset:hover {
    color:
        var(
            --dl-season-accent,
            var(--dl-accent)
        );
}

@media (max-width: 900px) {
    .dl-home-filter-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .dl-home-filter-grid {
        grid-template-columns: 1fr;
    }

    .dl-home-filter-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .dl-home-filter-submit {
        width: 100%;
    }

    .dl-home-filter-reset {
        text-align: center;
    }
}
/* =========================================
   WYNIKI WYSZUKIWANIA LANDUSIA
========================================= */

.dl-search-results {
    min-height: 100vh;

    color: var(--dl-text);

    background:
        radial-gradient(
            circle at 85% 5%,
            var(
                --dl-season-soft,
                rgba(217, 164, 65, 0.09)
            ),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #071920 0%,
            #081c24 55%,
            #07181e 100%
        );
}

.dl-search-results-hero {
    padding: 120px 20px 68px;

    border-bottom: 1px solid
        var(
            --dl-season-border,
            var(--dl-border)
        );
}

.dl-search-results-hero h1 {
    max-width: 950px;
    margin: 14px 0 16px;

    color: var(--dl-text);

    font-size: clamp(44px, 7vw, 78px);
    line-height: 1.05;
}

.dl-search-results-hero p {
    margin: 0;

    color: var(--dl-text-soft);

    font-size: 18px;
}

.dl-search-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 22px;
}

.dl-search-active-filters span {
    padding: 7px 11px;

    color:
        var(
            --dl-season-accent,
            var(--dl-accent)
        );

    background:
        var(
            --dl-season-soft,
            rgba(217, 164, 65, 0.08)
        );

    border: 1px solid
        var(
            --dl-season-border,
            var(--dl-border)
        );

    border-radius: 999px;

    font-size: 12px;
    font-weight: 800;
}

.dl-search-results-content {
    padding: 72px 20px 96px;
}

.dl-search-results-grid {
    grid-template-columns:
        repeat(auto-fill, minmax(220px, 260px));

    justify-content: center;
    gap: 28px;
}

.dl-search-results-grid .dl-title-card {
    max-width: 260px;
}

.dl-search-empty {
    padding: 64px 24px;

    color: var(--dl-text-soft);
    text-align: center;

    background: rgba(16, 51, 58, 0.72);

    border: 1px dashed
        var(
            --dl-season-border,
            var(--dl-border)
        );

    border-radius: 24px;
}

.dl-search-empty > span {
    display: block;

    font-size: 72px;
}

.dl-search-empty h2 {
    margin: 18px 0 10px;

    color: var(--dl-text);

    font-size: 34px;
}

.dl-search-empty p {
    max-width: 570px;
    margin: 0 auto 26px;

    line-height: 1.7;
}

@media (max-width: 700px) {
    .dl-search-results-hero {
        padding: 88px 16px 52px;
    }

    .dl-search-results-content {
        padding: 54px 16px 76px;
    }

    .dl-search-results-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        justify-content: stretch;
        gap: 15px;
    }

    .dl-search-results-grid .dl-title-card {
        max-width: none;
    }
}

@media (max-width: 430px) {
    .dl-search-results-grid {
        grid-template-columns: 1fr;
    }

    .dl-search-results-grid .dl-title-card {
        max-width: 300px;
        margin: 0 auto;
    }
}
/* =========================================
   LANDUŚ FINDER — DOPRACOWANE WYNIKI
========================================= */

.dl-search-results-hero {
    padding: 110px 20px 76px;
}

.dl-search-results-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    align-items: center;
    gap: 54px;
}

.dl-search-results-copy {
    max-width: 920px;
}

.dl-search-results-count {
    max-width: 760px;
}

.dl-search-active-filters span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.dl-search-active-filters span i {
    font-style: normal;
    line-height: 1;
}

.dl-search-landus-message {
    display: flex;
    align-items: center;
    gap: 14px;

    max-width: 680px;
    margin-top: 26px;
    padding: 16px 18px;

    background: rgba(7, 24, 30, 0.55);

    border: 1px solid
        var(
            --dl-season-border,
            var(--dl-border)
        );

    border-radius: 16px;
}

.dl-search-landus-message > span {
    font-size: 28px;
}

.dl-search-landus-message strong {
    color:
        var(
            --dl-season-accent,
            var(--dl-accent)
        );

    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.dl-search-landus-message p {
    margin: 4px 0 0;

    color: var(--dl-text-soft);

    font-size: 14px;
    line-height: 1.55;
}

.dl-search-results-landus {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dl-search-results-landus span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 210px;
    height: 210px;

    background:
        radial-gradient(
            circle,
            var(
                --dl-season-soft,
                rgba(217, 164, 65, 0.13)
            ),
            transparent 70%
        );

    border: 1px solid
        var(
            --dl-season-border,
            var(--dl-border)
        );

    border-radius: 50%;

    box-shadow:
        0 22px 52px rgba(0, 0, 0, 0.32),
        0 0 36px
        var(
            --dl-season-glow,
            rgba(217, 164, 65, 0.2)
        );

    font-size: 104px;
}

.dl-search-results-content .dl-container {
    padding: 34px;

    background:
        linear-gradient(
            145deg,
            rgba(10, 39, 46, 0.5),
            rgba(7, 27, 34, 0.3)
        );

    border: 1px solid
        var(
            --dl-season-border,
            var(--dl-border)
        );

    border-radius: 26px;
}

.dl-search-results-topbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;

    margin-bottom: 30px;
    padding-bottom: 24px;

    border-bottom: 1px solid
        var(
            --dl-season-border,
            var(--dl-border)
        );
}

.dl-search-results-topbar h2 {
    margin: 8px 0 0;

    color: var(--dl-text);

    font-size: clamp(34px, 4vw, 46px);
}

.dl-search-change-filters {
    color:
        var(
            --dl-season-accent,
            var(--dl-accent)
        );

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;
}

.dl-search-change-filters:hover {
    color: var(--dl-text);
}

@media (max-width: 800px) {
    .dl-search-results-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;

        text-align: center;
    }

    .dl-search-results-landus {
        order: -1;
    }

    .dl-search-results-landus span {
        width: 165px;
        height: 165px;

        font-size: 82px;
    }

    .dl-search-landus-message {
        margin-right: auto;
        margin-left: auto;

        text-align: left;
    }
}

@media (max-width: 700px) {
    .dl-search-results-content .dl-container {
        padding: 22px 14px;
        border-radius: 20px;
    }

    .dl-search-results-topbar {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* =========================================
   SUBTELNE ANIMACJE LANDUSIA
========================================= */

@keyframes dl-landus-breathe {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-4px) scale(1.025);
    }
}

.dl-search-results-landus span,
.dl-landus-picks-placeholder,
.dl-mood-landus-placeholder {
    animation:
        dl-landus-breathe
        6s
        ease-in-out
        infinite;
}
@keyframes dl-card-reveal {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dl-search-results-grid .dl-title-card {
    opacity: 0;

    animation:
        dl-card-reveal
        0.55s
        ease
        forwards;
}

.dl-search-results-grid .dl-title-card:nth-child(1) {
    animation-delay: 0.05s;
}

.dl-search-results-grid .dl-title-card:nth-child(2) {
    animation-delay: 0.12s;
}

.dl-search-results-grid .dl-title-card:nth-child(3) {
    animation-delay: 0.19s;
}

.dl-search-results-grid .dl-title-card:nth-child(4) {
    animation-delay: 0.26s;
}

.dl-search-results-grid .dl-title-card:nth-child(5) {
    animation-delay: 0.33s;
}

.dl-search-results-grid .dl-title-card:nth-child(6) {
    animation-delay: 0.4s;
}
@keyframes dl-filter-glow {
    0%,
    100% {
        box-shadow:
            0 0 0
            rgba(217, 164, 65, 0);
    }

    50% {
        box-shadow:
            0 0 16px
            var(
                --dl-season-glow,
                rgba(217, 164, 65, 0.16)
            );
    }
}

.dl-search-active-filters span {
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.dl-search-active-filters span:hover {
    transform: translateY(-2px);

    border-color:
        var(
            --dl-season-accent,
            var(--dl-accent)
        );

    animation:
        dl-filter-glow
        2.5s
        ease-in-out
        infinite;
}
@media (prefers-reduced-motion: reduce) {
    .dl-search-results-landus span,
    .dl-landus-picks-placeholder,
    .dl-mood-landus-placeholder,
    .dl-search-results-grid .dl-title-card,
    .dl-search-active-filters span {
        animation: none !important;
        transition: none !important;
    }
}
.dl-search-results-grid:has(.dl-title-card:only-child) {
    justify-content: start;
}

.dl-search-results-grid:has(.dl-title-card:only-child)::after {
    content:
        "🦊 Nie znalazłaś jeszcze idealnego tytułu? Zmień jeden filtr albo sprawdź polecenia Landusia.";

    align-self: center;

    max-width: 430px;
    padding: 24px;

    color: var(--dl-text-soft);

    background:
        rgba(7, 24, 30, 0.48);

    border: 1px dashed
        var(
            --dl-season-border,
            var(--dl-border)
        );

    border-radius: 18px;

    font-size: 15px;
    line-height: 1.7;
}
/* =========================================
   NAGŁÓWEK DRAMALAND 2.0
========================================= */

.dl-site-header {
    position: sticky;
    top: 0;
    z-index: 999;

    width: 100%;

    background:
        linear-gradient(
            180deg,
            rgba(5, 22, 28, 0.96),
            rgba(5, 22, 28, 0.9)
        );

    border-bottom: 1px solid
        var(
            --dl-season-border,
            rgba(217, 164, 65, 0.16)
        );

    box-shadow:
        0 10px 34px rgba(0, 0, 0, 0.24);

    backdrop-filter: blur(18px);
}

.admin-bar .dl-site-header {
    top: 32px;
}

.dl-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;

    width: min(1500px, calc(100% - 40px));
    min-height: 76px;
    margin: 0 auto;
}

.dl-header-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--dl-text);
    text-decoration: none;

    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.dl-header-logo:hover {
    color:
        var(
            --dl-season-accent,
            var(--dl-accent)
        );
}

.dl-header-logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    background:
        var(
            --dl-season-soft,
            rgba(217, 164, 65, 0.1)
        );

    border: 1px solid
        var(
            --dl-season-border,
            rgba(217, 164, 65, 0.2)
        );

    border-radius: 50%;

    font-size: 21px;
}

.dl-header-navigation-wrap {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.dl-header-navigation {
    display: flex;
    align-items: center;
    gap: 22px;
}

.dl-header-navigation a {
    position: relative;

    color: var(--dl-text-soft);
    text-decoration: none;

    font-size: 13px;
    font-weight: 800;
}

.dl-header-navigation a::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;

    height: 2px;

    background:
        var(
            --dl-season-accent,
            var(--dl-accent)
        );

    border-radius: 999px;

    content: "";

    opacity: 0;

    transform: scaleX(0.35);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.dl-header-navigation a:hover {
    color: var(--dl-text);
}

.dl-header-navigation a:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.dl-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dl-header-actions a {
    text-decoration: none;
}

.dl-header-library,
.dl-header-login,
.dl-header-account,
.dl-header-logout {
    color: var(--dl-text-soft);

    font-size: 12px;
    font-weight: 800;
}

.dl-header-library:hover,
.dl-header-login:hover,
.dl-header-account:hover,
.dl-header-logout:hover {
    color:
        var(
            --dl-season-accent,
            var(--dl-accent)
        );
}

.dl-header-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 0 17px;

    color: #07181e;

    background:
        var(
            --dl-season-accent,
            var(--dl-accent)
        );

    border-radius: 999px;

    font-size: 12px;
    font-weight: 900;

    box-shadow:
        0 8px 22px
        var(
            --dl-season-glow,
            rgba(217, 164, 65, 0.18)
        );

    transition:
        transform 0.2s ease,
        filter 0.2s ease;
}

.dl-header-register:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

.dl-header-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dl-header-toggle {
    display: none;

    width: 44px;
    height: 44px;
    padding: 10px;

    background: transparent;

    border: 1px solid
        var(
            --dl-season-border,
            var(--dl-border)
        );

    border-radius: 12px;

    cursor: pointer;
}

.dl-header-toggle span:not(.screen-reader-text) {
    display: block;

    width: 100%;
    height: 2px;
    margin: 5px 0;

    background: var(--dl-text);

    border-radius: 999px;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.dl-header-toggle[aria-expanded="true"]
span:nth-of-type(1) {
    transform: translateY(7px) rotate(45deg);
}

.dl-header-toggle[aria-expanded="true"]
span:nth-of-type(2) {
    opacity: 0;
}

.dl-header-toggle[aria-expanded="true"]
span:nth-of-type(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1080px) {
    .dl-header-toggle {
        display: block;
    }

    .dl-header-navigation-wrap {
        position: absolute;
        top: calc(100% + 1px);
        right: 20px;
        left: 20px;

        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 20px;

        padding: 22px;

        background: rgba(5, 22, 28, 0.98);

        border: 1px solid
            var(
                --dl-season-border,
                var(--dl-border)
            );

        border-radius: 0 0 18px 18px;

        box-shadow:
            0 22px 44px rgba(0, 0, 0, 0.35);
    }

    .dl-header-navigation-wrap.is-open {
        display: flex;
    }

    .dl-header-navigation {
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }

    .dl-header-navigation a {
        padding: 12px 0;

        border-bottom: 1px solid
            rgba(255, 255, 255, 0.06);
    }

    .dl-header-navigation a::after {
        display: none;
    }

    .dl-header-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .dl-header-user {
        align-items: stretch;
        flex-direction: column;
    }

    .dl-header-register {
        width: 100%;
    }
}

@media (max-width: 782px) {
    .admin-bar .dl-site-header {
        top: 46px;
    }
}

@media (max-width: 600px) {
    .dl-header-inner {
        width: min(100% - 28px, 1500px);
        min-height: 66px;
    }

    .dl-header-logo {
        font-size: 20px;
    }

    .dl-header-logo-icon {
        width: 34px;
        height: 34px;

        font-size: 18px;
    }

    .dl-header-navigation-wrap {
        right: 14px;
        left: 14px;
    }
}
/* =========================================
   MOJA BIBLIOTEKA — DRAMALAND
========================================= */

.dl-account-page {
    min-height: 100vh;

    color: var(--dl-text);

    background:
        radial-gradient(
            circle at 86% 5%,
            var(
                --dl-season-soft,
                rgba(217, 164, 65, 0.09)
            ),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #071920 0%,
            #081c24 58%,
            #07181e 100%
        );
}

.dl-account-hero {
    padding: 96px 20px 54px;
}

.dl-account-hero-panel,
.dl-account-login-panel {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(560px, 620px);

    align-items: center;
    gap: 28px;

    padding: 38px;

    background:
        linear-gradient(
            145deg,
            rgba(16, 51, 58, 0.95),
            rgba(8, 31, 38, 0.95)
        );

    border: 1px solid
        var(
            --dl-season-border,
            var(--dl-border)
        );

    border-radius: 26px;

    box-shadow:
        0 24px 58px rgba(0, 0, 0, 0.3);
}

/* =========================================
   MOJA BIBLIOTEKA — LANDUŚ I DYMEK
   Stabilny układ bez nachodzenia na statystyki
========================================= */

.dl-account-copy {
    min-width: 0;
}

.dl-account-landus-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    width: 100%;
    min-width: 0;

    overflow: visible;
}

.dl-account-landus-wrap .dl-account-landus-component {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: flex-end;

    width: 100%;
    max-width: 620px;
    min-width: 0;

    gap: 18px;

    overflow: visible;
}

.dl-account-landus-wrap
.dl-account-landus-component
.dl-landus-visual {
    flex: 0 0 280px;

    width: 280px;
    max-width: 280px;
}

.dl-account-landus-wrap
.dl-account-landus-component
.dl-landus-message {
    flex: 0 1 310px;

    width: 310px;
    min-width: 250px;
    max-width: 310px;

    margin: 0;

    transform: none;
}


.dl-account-copy h1,
.dl-account-login-panel h1 {
    margin: 12px 0 14px;

    color: var(--dl-text);

    font-size: clamp(44px, 6vw, 72px);
    line-height: 1.04;
}

.dl-account-copy > p,
.dl-account-login-panel > p {
    max-width: 720px;
    margin: 0;

    color: var(--dl-text-soft);

    font-size: 17px;
    line-height: 1.7;
}

.dl-account-fox,
.dl-account-landus {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 190px;
    height: 190px;
    margin: 0 auto;

    background:
        radial-gradient(
            circle,
            var(
                --dl-season-soft,
                rgba(217, 164, 65, 0.13)
            ),
            transparent 70%
        );

    border: 1px solid
        var(
            --dl-season-border,
            var(--dl-border)
        );

    border-radius: 50%;

    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.3),
        0 0 34px
        var(
            --dl-season-glow,
            rgba(217, 164, 65, 0.18)
        );

    font-size: 94px;

    animation:
        dl-landus-breathe
        6s
        ease-in-out
        infinite;
}

.dl-account-stats {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(120px, 1fr));
    gap: 12px;

    margin-top: 28px;
}

.dl-account-stats > div {
    padding: 16px;

    background: rgba(7, 24, 30, 0.54);

    border: 1px solid
        var(
            --dl-season-border,
            var(--dl-border)
        );

    border-radius: 15px;
}

.dl-account-stats strong,
.dl-account-stats span {
    display: block;
}

.dl-account-stats strong {
    color:
        var(
            --dl-season-accent,
            var(--dl-accent)
        );

    font-size: 28px;
}

.dl-account-stats span {
    margin-top: 4px;

    color: var(--dl-text-soft);

    font-size: 12px;
}

.dl-account-library {
    padding: 18px 20px 96px;
}

.dl-account-library-panel {
    padding: 30px;

    background:
        linear-gradient(
            145deg,
            rgba(10, 39, 46, 0.66),
            rgba(7, 27, 34, 0.46)
        );

    border: 1px solid
        var(
            --dl-season-border,
            var(--dl-border)
        );

    border-radius: 26px;
}

.dl-account-tabs {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 10px;

    margin-bottom: 30px;
}

.dl-account-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 54px;
    padding: 12px 16px;

    color: var(--dl-text-soft);

    background: rgba(7, 24, 30, 0.6);

    border: 1px solid
        var(
            --dl-season-border,
            var(--dl-border)
        );

    border-radius: 14px;

    font: inherit;
    font-weight: 800;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.dl-account-tab:hover {
    color: var(--dl-text);
    transform: translateY(-2px);
}

.dl-account-tab.is-active {
    color: #07181e;

    background:
        var(
            --dl-season-accent,
            var(--dl-accent)
        );

    border-color:
        var(
            --dl-season-accent,
            var(--dl-accent)
        );
}

.dl-account-tab strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 25px;
    height: 25px;
    padding: 0 7px;

    color: inherit;

    background: rgba(255, 255, 255, 0.17);

    border-radius: 999px;

    font-size: 11px;
}

.dl-account-tab-panel[hidden] {
    display: none;
}

.dl-account-grid {
    grid-template-columns:
        repeat(auto-fill, minmax(220px, 260px));

    justify-content: center;
    gap: 28px;
}

.dl-account-grid .dl-title-card {
    max-width: 260px;
}

.dl-account-empty {
    padding: 64px 24px;

    color: var(--dl-text-soft);
    text-align: center;

    background: rgba(7, 24, 30, 0.42);

    border: 1px dashed
        var(
            --dl-season-border,
            var(--dl-border)
        );

    border-radius: 20px;
}

.dl-account-empty > span {
    display: block;

    font-size: 70px;
}

.dl-account-empty h2 {
    margin: 16px 0 10px;

    color: var(--dl-text);

    font-size: 32px;
}

.dl-account-empty p {
    margin: 0 auto 25px;

    max-width: 560px;

    line-height: 1.7;
}

.dl-account-login {
    padding: 110px 20px 100px;
}

.dl-account-login-panel {
    max-width: 980px;
    margin: 0 auto;
}

.dl-account-login-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 26px;
}

@media (max-width: 1100px) {
    .dl-account-landus-wrap {
        justify-content: center;
    }

    .dl-account-landus-wrap
    .dl-account-landus-component {
        justify-content: center;

        max-width: 620px;
        margin: 0 auto;
    }
}

@media (max-width: 1100px) {
    .dl-account-hero-panel,
    .dl-account-login-panel {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .dl-account-fox,
    .dl-account-landus {
        order: -1;
    }

    .dl-account-stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .dl-account-login-actions {
        justify-content: center;
    }
}

@media (max-width: 650px) {
    .dl-account-hero {
        padding: 70px 16px 40px;
    }

    .dl-account-hero-panel,
    .dl-account-login-panel {
        padding: 26px 20px;
    }

    .dl-account-library {
        padding: 12px 16px 74px;
    }

    .dl-account-library-panel {
        padding: 20px 14px;
    }

    .dl-account-tabs {
        grid-template-columns: 1fr;
    }

    .dl-account-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        justify-content: stretch;
        gap: 15px;
    }

    .dl-account-grid .dl-title-card {
        max-width: none;
    }

    .dl-account-landus-wrap
    .dl-account-landus-component {
        flex-direction: column;

        gap: 18px;
    }

    .dl-account-landus-wrap
    .dl-account-landus-component
    .dl-landus-visual {
        flex-basis: auto;

        width: min(230px, 72vw);
        max-width: min(230px, 72vw);
    }

    .dl-account-landus-wrap
    .dl-account-landus-component
    .dl-landus-message {
        width: min(100%, 380px);
        min-width: 0;
        max-width: 380px;
    }

    .dl-account-landus-wrap
    .dl-account-landus-component
    .dl-landus-message::before {
        top: -9px;
        left: 50%;

        transform:
            translateX(-50%)
            rotate(135deg);
    }
}

@media (max-width: 430px) {
    .dl-account-stats {
        grid-template-columns: 1fr;
    }

    .dl-account-grid {
        grid-template-columns: 1fr;
    }

    .dl-account-grid .dl-title-card {
        max-width: 300px;
        margin: 0 auto;
    }
}
/* =========================================
   WYSZUKIWARKA — LANDUŚ
========================================= */

.dl-home-search-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
    align-items: center;
    gap: 32px;

    margin-bottom: 24px;
}

.dl-home-search-landus {
    min-width: 0;
}

.dl-home-search-landus-component {
    width: 100%;
}

.dl-home-search-landus-component .dl-landus {
    grid-template-columns: 160px minmax(160px, 1fr);
}

.dl-home-search-landus-component .dl-landus-visual {
    width: 160px;
    max-width: 160px;
}

.dl-home-search-landus-component .dl-landus-message {
    padding: 16px;
}

@media (max-width: 900px) {
    .dl-home-search-intro {
        grid-template-columns: 1fr;
    }

    .dl-home-search-landus {
        max-width: 560px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .dl-home-search-landus-component .dl-landus {
        grid-template-columns: 1fr;
    }

    .dl-home-search-landus-component .dl-landus-visual {
        width: 180px;
        max-width: 180px;
        margin: 0 auto;
    }
}

/* =========================================
   MOJA BIBLIOTEKA — KOŃCOWE ZABEZPIECZENIE
========================================= */

.dl-account-hero-panel .dl-account-landus-wrap {
    min-width: 0;
    overflow: visible;
}

.dl-account-hero-panel
.dl-account-landus-wrap
.dl-account-landus-component {
    flex-flow: row nowrap;
    justify-content: flex-end;

    width: 100%;
    max-width: 620px;

    overflow: visible;
}

.dl-account-hero-panel
.dl-account-landus-wrap
.dl-account-landus-component
.dl-landus-visual {
    flex: 0 0 280px;

    width: 280px;
    max-width: 280px;
}

.dl-account-hero-panel
.dl-account-landus-wrap
.dl-account-landus-component
.dl-landus-message {
    flex: 0 1 310px;

    width: 310px;
    min-width: 250px;
    max-width: 310px;

    margin: 0;

    transform: none;
}

@media (max-width: 1100px) {
    .dl-account-hero-panel
    .dl-account-landus-wrap
    .dl-account-landus-component {
        justify-content: center;

        margin: 0 auto;
    }
}

@media (max-width: 650px) {
    .dl-account-hero-panel
    .dl-account-landus-wrap
    .dl-account-landus-component {
        flex-direction: column;

        gap: 18px;
    }

    .dl-account-hero-panel
    .dl-account-landus-wrap
    .dl-account-landus-component
    .dl-landus-visual {
        flex-basis: auto;

        width: min(230px, 72vw);
        max-width: min(230px, 72vw);
    }

    .dl-account-hero-panel
    .dl-account-landus-wrap
    .dl-account-landus-component
    .dl-landus-message {
        width: min(100%, 380px);
        min-width: 0;
        max-width: 380px;
    }

    .dl-account-hero-panel
    .dl-account-landus-wrap
    .dl-account-landus-component
    .dl-landus-message::before {
        top: -9px;
        left: 50%;

        transform:
            translateX(-50%)
            rotate(135deg);
    }
}


/* =========================================
   WYSZUKIWANIE — LANDUŚ EXCITED / SAD
   Korekta bez zmiany układu kompletnej wersji.
========================================= */

.dl-search-results-landus > img {
    display: block;
    width: min(230px, 100%);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.34));
    animation: dl-landus-breathe 6s ease-in-out infinite;
}

/* Stare reguły były przeznaczone dla emoji i obejmowały wszystkie
   zagnieżdżone span, przez co tekst „Landuś mówi” robił się ogromny. */
.dl-search-results-landus .dl-landus-message span,
.dl-search-results-landus .dl-landus-message strong,
.dl-search-results-landus .dl-landus-message p {
    width: auto;
    height: auto;
    font-size: inherit;
}

.dl-search-empty-landus {
    display: flex;
    justify-content: center;
    margin: 0 auto 12px;
}

.dl-search-empty-landus > img {
    display: block;
    width: min(230px, 62vw);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.28));
}

.dl-search-fallback {
    margin-top: 44px;
    padding-top: 34px;
    border-top: 1px solid var(--dl-season-border, var(--dl-border));
}

.dl-search-fallback .dl-search-results-topbar {
    margin-bottom: 26px;
}

@media (max-width: 800px) {
    .dl-search-results-landus > img {
        width: min(180px, 52vw);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dl-search-results-landus > img {
        animation: none !important;
    }
}


/* =========================================
   WYRÓŻNIENIA TYTUŁÓW
========================================= */

.dl-title-collection-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -4px 0 22px;
}

.dl-title-collection-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 12px;
    color: var(--dl-accent-hover);
    background: rgba(217, 164, 65, 0.09);
    border: 1px solid var(--dl-border);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}

.dl-title-collection-badge--drama-urodzinowa-tlumacza {
    color: #ffe4ad;
    background:
        linear-gradient(
            135deg,
            rgba(217, 164, 65, 0.16),
            rgba(255, 212, 133, 0.08)
        );
}

/* =========================================
   STRONA GŁÓWNA — URODZINOWE TYTUŁY
========================================= */

.dl-home-birthday-list {
    display: grid;
    gap: 22px;
}

.dl-home-birthday-feature {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    padding: 24px;
    background:
        linear-gradient(
            145deg,
            rgba(16, 51, 58, 0.78),
            rgba(7, 27, 34, 0.52)
        );
    border: 1px solid var(--dl-border);
    border-radius: 22px;
}

.dl-home-birthday-person-wrap {
    min-width: 0;
}

.dl-home-birthday-label {
    display: block;
    margin-bottom: 12px;
    color: var(--dl-accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.dl-home-birthday-title-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.dl-home-birthday-title {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 8px;
    color: var(--dl-text);
    text-decoration: none;
    background: rgba(7, 24, 30, 0.62);
    border: 1px solid rgba(217, 164, 65, 0.18);
    border-radius: 14px;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.dl-home-birthday-title:hover {
    color: var(--dl-text);
    transform: translateY(-2px);
    background: rgba(24, 74, 84, 0.62);
    border-color: var(--dl-border-strong);
}

.dl-home-birthday-title img {
    display: block;
    width: 56px;
    height: 74px;
    object-fit: cover;
    border-radius: 9px;
}

.dl-home-birthday-title span {
    min-width: 0;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.dl-home-birthday-awaiting {
    margin: 0;
    color: var(--dl-text-soft);
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 980px) {
    .dl-home-birthday-feature {
        grid-template-columns: 1fr;
    }

    .dl-home-birthday-title-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .dl-title-collection-badges {
        justify-content: center;
    }

    .dl-home-birthday-title-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   FILMOWY PIĄTEK — STRONA GŁÓWNA
========================================= */

.dl-home-movie-friday {
    padding: 72px 20px;
}

.dl-home-movie-friday-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px) 190px;
    align-items: center;
    gap: 34px;
    padding: 34px;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 18%, rgba(217, 164, 65, 0.14), transparent 32%),
        linear-gradient(145deg, rgba(16, 51, 58, 0.94), rgba(7, 24, 30, 0.94));
    border: 1px solid var(--dl-border);
    border-radius: 26px;
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
}

.dl-home-movie-friday-copy h2 {
    margin: 8px 0 12px;
    color: var(--dl-text);
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.08;
}

.dl-home-movie-friday-copy p {
    max-width: 560px;
    margin: 0 0 22px;
    color: var(--dl-text-soft);
    font-size: 16px;
    line-height: 1.7;
}

.dl-home-movie-friday-posters {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 10px 18px;
}

.dl-home-movie-friday-posters a {
    position: relative;
    display: block;
    flex: 0 0 112px;
    margin-left: -28px;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: var(--dl-surface);
    border: 1px solid var(--dl-border);
    border-radius: 14px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
    transform: rotate(-3deg);
    transition:
        transform 0.22s ease,
        z-index 0.22s ease,
        border-color 0.22s ease;
}

.dl-home-movie-friday-posters a:first-child {
    margin-left: 0;
}

.dl-home-movie-friday-posters a:nth-child(even) {
    transform: rotate(3deg) translateY(6px);
}

.dl-home-movie-friday-posters a:hover {
    z-index: 5;
    transform: translateY(-7px) scale(1.04);
    border-color: var(--dl-border-strong);
}

.dl-home-movie-friday-posters img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dl-home-movie-friday-landus img,
.dl-home-soon-landus img,
.dl-home-chronicle-landus img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.28));
}

.dl-home-movie-friday-landus {
    align-self: end;
}

/* =========================================
   WKRÓTCE — ZAPOWIEDZI
========================================= */

.dl-home-editorial-heading--with-landus {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    align-items: center;
    gap: 28px;
}

.dl-home-soon-landus {
    justify-self: end;
    width: 180px;
}

.dl-home-announcement-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.dl-home-announcement-card {
    overflow: hidden;
    background: rgba(16, 51, 58, 0.78);
    border: 1px solid var(--dl-border);
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.dl-home-announcement-poster {
    display: block;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: var(--dl-surface);
}

.dl-home-announcement-poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dl-home-announcement-card:hover .dl-home-announcement-poster img {
    transform: scale(1.04);
}

.dl-home-announcement-copy {
    padding: 16px;
}

.dl-home-announcement-date {
    color: var(--dl-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.dl-home-announcement-copy h3 {
    margin: 8px 0;
    font-size: 18px;
    line-height: 1.3;
}

.dl-home-announcement-copy h3 a {
    color: var(--dl-text);
    text-decoration: none;
}

.dl-home-announcement-copy p {
    margin: 0;
    color: var(--dl-text-soft);
    font-size: 13px;
    line-height: 1.55;
}

/* =========================================
   KRONIKA — LANDUŚ CZYTA
========================================= */

.dl-home-chronicle-inner {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) 210px;
    align-items: center;
    gap: 26px;
}

.dl-home-chronicle-copy h2 {
    margin: 8px 0 10px;
}

.dl-home-chronicle-copy p {
    margin: 0 0 14px;
}

.dl-home-chronicle-landus {
    width: 200px;
    justify-self: end;
}

/* =========================================
   URODZINY — OCZEKIWANIE NA TYTUŁ
========================================= */

.dl-home-birthday-awaiting {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    color: var(--dl-text-soft);
}

.dl-home-birthday-awaiting img {
    display: block;
    flex: 0 0 120px;
    width: 120px;
    height: auto;
    object-fit: contain;
}

.dl-home-birthday-awaiting p {
    margin: 0;
    color: var(--dl-text-soft);
}

/* =========================================
   POJEDYNCZE WPISY REDAKCYJNE
========================================= */

.dl-editorial-single {
    min-height: 100vh;
    color: var(--dl-text);
    background:
        radial-gradient(circle at 85% 10%, rgba(217, 164, 65, 0.1), transparent 28%),
        linear-gradient(180deg, #071920 0%, #081c24 55%, #07181e 100%);
}

.dl-editorial-hero {
    padding: 110px 20px 60px;
    border-bottom: 1px solid var(--dl-border);
}

.dl-editorial-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    align-items: center;
    gap: 44px;
}

.dl-editorial-hero h1 {
    margin: 10px 0 14px;
    color: var(--dl-text);
    font-size: clamp(44px, 6vw, 72px);
    line-height: 1.05;
}

.dl-editorial-hero p {
    margin: 0;
    color: var(--dl-text-soft);
    font-size: 17px;
}

.dl-editorial-landus {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
    justify-self: end;
}

.dl-editorial-content {
    padding: 60px 20px 90px;
}

.dl-editorial-featured-image {
    max-width: 760px;
    margin: 0 auto 30px;
}

.dl-editorial-featured-image img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--dl-border);
    border-radius: 22px;
}

.dl-editorial-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.dl-editorial-film-grid {
    margin-top: 34px;
}

@media (max-width: 1000px) {
    .dl-home-movie-friday-panel {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    }

    .dl-home-movie-friday-landus {
        display: none;
    }

    .dl-home-announcement-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .dl-home-movie-friday {
        padding-right: 16px;
        padding-left: 16px;
    }

    .dl-home-movie-friday-panel,
    .dl-home-editorial-heading--with-landus,
    .dl-home-chronicle-inner,
    .dl-editorial-hero-grid {
        grid-template-columns: 1fr;
    }

    .dl-home-movie-friday-panel {
        padding: 24px 18px;
    }

    .dl-home-movie-friday-copy {
        text-align: center;
    }

    .dl-home-movie-friday-posters {
        overflow-x: auto;
        justify-content: flex-start;
        padding: 14px 6px 20px;
    }

    .dl-home-movie-friday-posters a {
        flex-basis: 104px;
        margin-left: -18px;
    }

    .dl-home-soon-landus,
    .dl-home-chronicle-landus,
    .dl-editorial-landus {
        justify-self: center;
        width: 170px;
    }

    .dl-home-announcement-grid {
        grid-template-columns: 1fr;
    }

    .dl-home-announcement-card {
        display: grid;
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .dl-home-announcement-poster {
        height: 100%;
        aspect-ratio: auto;
    }

    .dl-home-birthday-awaiting {
        flex-direction: column;
        text-align: center;
    }

    .dl-home-birthday-awaiting img {
        flex-basis: auto;
        width: 145px;
    }

    .dl-editorial-hero {
        padding-top: 84px;
        text-align: center;
    }
}
/* =========================================
   DRAMA — KOLEJNY SEZON
========================================= */

.dl-next-season-section {
    padding: 0 20px 74px;
    color: var(--dl-text);
}

.dl-next-season-heading {
    margin-bottom: 24px;
}

.dl-next-season-kicker {
    display: inline-block;
    margin-bottom: 8px;

    color: var(--dl-accent);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.dl-next-season-heading h2 {
    margin: 0 0 8px;

    color: var(--dl-text);

    font-size: 36px;
    line-height: 1.2;
}

.dl-next-season-heading p {
    margin: 0;

    color: var(--dl-text-soft);

    font-size: 16px;
}

.dl-next-season-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(260px, 420px));
    gap: 20px;
}

.dl-next-season-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;

    min-width: 0;
    padding: 16px;

    color: var(--dl-text);
    text-decoration: none;

    background:
        linear-gradient(
            145deg,
            rgba(16, 51, 58, 0.92),
            rgba(7, 28, 35, 0.92)
        );

    border: 1px solid var(--dl-border);
    border-radius: 20px;

    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.22);

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease;
}

.dl-next-season-card:hover {
    color: var(--dl-text);

    transform: translateY(-4px);

    background:
        linear-gradient(
            145deg,
            rgba(24, 74, 84, 0.92),
            rgba(10, 39, 46, 0.92)
        );

    border-color: var(--dl-border-strong);
}

.dl-next-season-poster {
    overflow: hidden;

    aspect-ratio: 2 / 3;

    background: var(--dl-surface);

    border-radius: 14px;
}

.dl-next-season-poster img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.dl-next-season-poster span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    font-size: 42px;
}

.dl-next-season-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.dl-next-season-content > span {
    color: var(--dl-accent);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.dl-next-season-content h3 {
    margin: 8px 0 14px;

    color: var(--dl-text);

    font-size: 22px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.dl-next-season-content strong {
    color: var(--dl-accent-hover);

    font-size: 13px;
}

@media (max-width: 700px) {
    .dl-next-season-section {
        padding-right: 16px;
        padding-left: 16px;
    }

    .dl-next-season-heading {
        text-align: center;
    }

    .dl-next-season-heading h2 {
        font-size: 29px;
    }

    .dl-next-season-grid {
        grid-template-columns: 1fr;
    }

    .dl-next-season-card {
        grid-template-columns: 92px minmax(0, 1fr);
        padding: 13px;
    }

    .dl-next-season-content h3 {
        font-size: 18px;
    }
}


/* =========================================================
   STAŁE MENU I PRZYCISK „WRÓĆ DO GÓRY”
========================================================= */

:root {
    --dl-sticky-header-height: 76px;
}

body.dl-has-fixed-header {
    padding-top: var(--dl-sticky-header-height);
}

.dl-site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 9999;
    transition:
        background .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.admin-bar .dl-site-header {
    top: 32px !important;
}

.dl-site-header.is-compact {
    background: rgba(5, 22, 28, .985);
    border-bottom-color: rgba(217, 164, 65, .28);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .38);
}

.dl-site-header .dl-header-inner,
.dl-site-header .dl-header-logo-image img,
.dl-site-header .dl-header-mobile-brand img {
    transition:
        min-height .22s ease,
        width .22s ease,
        height .22s ease,
        transform .22s ease;
}

.dl-site-header.is-compact .dl-header-inner {
    min-height: 62px;
}

.dl-site-header.is-compact .dl-header-logo-image img {
    transform: scale(.88);
    transform-origin: left center;
}

.dl-back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9980;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    padding: 0;
    color: #071920;
    background: linear-gradient(135deg, #d9a441, #ffd485);
    border: 1px solid rgba(255, 225, 164, .68);
    border-radius: 50%;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .34);
    font-size: 22px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(.92);
    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.dl-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dl-back-to-top:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 20px 40px rgba(217, 164, 65, .25);
}

.dl-back-to-top::after {
    content: "Do góry";
    position: absolute;
    right: 64px;
    padding: 7px 10px;
    color: #fee9ce;
    background: rgba(5, 22, 28, .96);
    border: 1px solid rgba(217, 164, 65, .25);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(6px);
    transition: opacity .2s ease, transform .2s ease;
}

.dl-back-to-top:hover::after {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 782px) {
    .admin-bar .dl-site-header {
        top: 46px !important;
    }
}

@media (max-width: 680px) {
    .dl-back-to-top {
        right: 16px;
        bottom: 18px;
        width: 48px;
        height: 48px;
        font-size: 19px;
    }

    .dl-back-to-top::after {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dl-site-header,
    .dl-site-header .dl-header-inner,
    .dl-site-header .dl-header-logo-image img,
    .dl-site-header .dl-header-mobile-brand img,
    .dl-back-to-top {
        transition: none !important;
    }
}

/* Dramaland 2.0 — rozwijana lista odcinków */
.dl-episode-card[hidden] {
    display: none !important;
}

.dl-episodes-more-wrap {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.dl-episodes-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 22px;
    color: var(--dl-text, #fee9ce);
    background: rgba(7, 25, 32, 0.82);
    border: 1px solid var(--dl-border, rgba(217, 164, 65, 0.4));
    border-radius: 999px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.dl-episodes-more-button:hover,
.dl-episodes-more-button:focus-visible {
    color: #071920;
    background: var(--dl-accent, #d9a441);
    border-color: var(--dl-accent, #d9a441);
    transform: translateY(-1px);
    outline: none;
}

.dl-episodes-more-icon {
    display: inline-block;
    transition: transform 0.2s ease;
}

.dl-episodes-more-button.is-expanded .dl-episodes-more-icon {
    transform: rotate(180deg);
}

/* =========================================
   STRONA GŁÓWNA — KARTY URODZIN TŁUMACZY 2.0
========================================= */

.dl-home-birthday-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 22px;
}

.dl-home-birthday-feature {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    min-width: 0;
    padding: 24px;
    background:
        radial-gradient(circle at 100% 0%, rgba(217, 164, 65, 0.12), transparent 34%),
        linear-gradient(145deg, rgba(16, 51, 58, 0.92), rgba(7, 27, 34, 0.78));
    border: 1px solid rgba(217, 164, 65, 0.34);
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.dl-home-birthday-feature:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.dl-home-birthday-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(217, 164, 65, 0.18);
}

.dl-home-birthday-person {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    color: var(--dl-text);
    text-decoration: none;
}

.dl-home-birthday-person:hover {
    color: var(--dl-text);
}

.dl-home-birthday-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 66px;
    width: 66px;
    height: 66px;
    overflow: hidden;
    color: var(--dl-accent);
    background: rgba(7, 24, 30, 0.72);
    border: 2px solid rgba(217, 164, 65, 0.46);
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.dl-home-birthday-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dl-home-birthday-person-copy {
    min-width: 0;
}

.dl-home-birthday-person-copy strong {
    display: block;
    overflow: hidden;
    color: var(--dl-text);
    font-size: 20px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dl-home-birthday-person-copy small {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 7px;
    color: var(--dl-text-soft);
    font-size: 14px;
}

.dl-home-birthday-count {
    flex: 0 0 auto;
    padding: 7px 11px;
    color: var(--dl-accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    background: rgba(217, 164, 65, 0.1);
    border: 1px solid rgba(217, 164, 65, 0.26);
    border-radius: 999px;
}

.dl-home-birthday-titles {
    min-width: 0;
}

.dl-home-birthday-label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 14px;
    color: var(--dl-accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.dl-home-birthday-title-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.dl-home-birthday-title,
.dl-home-birthday-more {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    color: var(--dl-text);
    text-decoration: none;
    background: rgba(7, 24, 30, 0.66);
    border: 1px solid rgba(217, 164, 65, 0.2);
    border-radius: 15px;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.dl-home-birthday-title:hover,
.dl-home-birthday-more:hover {
    color: var(--dl-text);
    transform: translateY(-4px);
    border-color: rgba(217, 164, 65, 0.62);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.24);
}

.dl-home-birthday-title-poster {
    display: grid;
    place-items: center;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: rgba(4, 17, 22, 0.78);
}

.dl-home-birthday-title-poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.28s ease;
}

.dl-home-birthday-title:hover .dl-home-birthday-title-poster img {
    transform: scale(1.045);
}

.dl-home-birthday-title-placeholder {
    color: var(--dl-accent);
    font-size: 30px;
}

.dl-home-birthday-title-name {
    display: -webkit-box;
    min-height: 52px;
    padding: 10px 9px 11px;
    overflow: hidden;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.dl-home-birthday-more {
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 18px 10px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 32%, rgba(217, 164, 65, 0.18), transparent 38%),
        rgba(7, 24, 30, 0.72);
}

.dl-home-birthday-more strong {
    color: var(--dl-accent);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1;
}

.dl-home-birthday-more span {
    margin-top: 9px;
    color: var(--dl-text-soft);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

.dl-home-birthday-awaiting {
    min-height: 170px;
    padding: 18px;
    background: rgba(7, 24, 30, 0.46);
    border: 1px dashed rgba(217, 164, 65, 0.28);
    border-radius: 16px;
}

@media (max-width: 1100px) {
    .dl-home-birthday-list {
        grid-template-columns: 1fr;
    }

    .dl-home-birthday-feature:last-child:nth-child(odd) {
        grid-column: auto;
    }
}

@media (max-width: 680px) {
    .dl-home-birthday-feature {
        padding: 19px;
        border-radius: 20px;
    }

    .dl-home-birthday-card-header {
        align-items: flex-start;
    }

    .dl-home-birthday-avatar {
        flex-basis: 58px;
        width: 58px;
        height: 58px;
    }

    .dl-home-birthday-person-copy strong {
        font-size: 17px;
    }

    .dl-home-birthday-count {
        padding: 6px 9px;
        font-size: 10px;
    }

    .dl-home-birthday-title-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dl-home-birthday-title-name {
        min-height: 50px;
    }
}

@media (max-width: 390px) {
    .dl-home-birthday-card-header {
        flex-direction: column;
    }
}

/* =========================================
   URODZINY TŁUMACZY — KARUZELA PREZENTÓW 3.0
========================================= */
.dl-home-birthday-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.dl-home-birthday-label-row .dl-home-birthday-label {
    margin: 0;
}

.dl-home-birthday-controls {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}

.dl-home-birthday-arrow {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    color: var(--dl-accent);
    font-size: 19px;
    line-height: 1;
    background: rgba(217, 164, 65, 0.08);
    border: 1px solid rgba(217, 164, 65, 0.28);
    border-radius: 50%;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, opacity .2s ease;
}

.dl-home-birthday-arrow:hover:not(:disabled) {
    transform: translateY(-2px);
    background: rgba(217, 164, 65, 0.16);
    border-color: rgba(217, 164, 65, 0.62);
}

.dl-home-birthday-arrow:disabled {
    opacity: .3;
    cursor: default;
}

.dl-home-birthday-carousel {
    display: flex;
    gap: 14px;
    max-width: 100%;
    padding: 2px 2px 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(217,164,65,.42) transparent;
    overscroll-behavior-inline: contain;
}

.dl-home-birthday-carousel::-webkit-scrollbar { height: 6px; }
.dl-home-birthday-carousel::-webkit-scrollbar-track { background: transparent; }
.dl-home-birthday-carousel::-webkit-scrollbar-thumb {
    background: rgba(217,164,65,.36);
    border-radius: 999px;
}

.dl-home-birthday-carousel .dl-home-birthday-title {
    flex: 0 0 148px;
    width: 148px;
    scroll-snap-align: start;
}

.dl-home-birthday-carousel .dl-home-birthday-title-poster {
    aspect-ratio: 2 / 3;
}

.dl-home-birthday-carousel .dl-home-birthday-title-poster img {
    opacity: 1 !important;
    visibility: visible !important;
}

@media (max-width: 680px) {
    .dl-home-birthday-label-row {
        align-items: flex-start;
    }

    .dl-home-birthday-carousel {
        margin-right: -19px;
        padding-right: 19px;
    }

    .dl-home-birthday-carousel .dl-home-birthday-title {
        flex-basis: 132px;
        width: 132px;
    }

    .dl-home-birthday-arrow {
        width: 34px;
        height: 34px;
        font-size: 17px;
    }
}

/* Urodziny tłumaczy — dodatkowe dopracowanie bardzo małych ekranów */
@media (max-width: 480px) {
    .dl-home-birthday-label-row {
        gap: 10px;
    }

    .dl-home-birthday-controls {
        display: none;
    }

    .dl-home-birthday-carousel {
        gap: 12px;
        margin-right: -19px;
        padding-right: 42px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .dl-home-birthday-carousel::-webkit-scrollbar {
        display: none;
    }

    .dl-home-birthday-carousel .dl-home-birthday-title {
        flex: 0 0 min(42vw, 132px);
        width: min(42vw, 132px);
    }
}

@media (max-width: 360px) {
    .dl-home-birthday-feature {
        padding: 16px;
    }

    .dl-home-birthday-carousel {
        margin-right: -16px;
        padding-right: 36px;
    }

    .dl-home-birthday-carousel .dl-home-birthday-title {
        flex-basis: min(68vw, 150px);
        width: min(68vw, 150px);
    }
}

/* =========================================
   DRAMALAND 2.0 — RELEASE CANDIDATE 1
   Drobne szlify bez zmiany charakteru strony
========================================= */

/* Jeden Landuś dla całej sekcji urodzin. */
.dl-home-birthday-section-heading {
    align-items: center;
}

.dl-home-birthday-section-landus {
    flex: 0 0 clamp(86px, 10vw, 132px);
    align-self: flex-end;
}

.dl-home-birthday-section-landus img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .18));
}

.dl-home-birthday-awaiting {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 108px;
}

.dl-home-birthday-awaiting-gift {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    font-size: 25px;
    background: rgba(217, 164, 65, .10);
    border: 1px solid rgba(217, 164, 65, .22);
    border-radius: 15px;
}

.dl-home-birthday-awaiting strong {
    display: block;
    margin-bottom: 4px;
    color: var(--dl-text, #fee9ce);
    font-size: 15px;
}

.dl-home-birthday-awaiting p {
    margin: 0;
}

/* Odcinek i NOWOŚĆ mają być natychmiast widoczne, ale nadal subtelne. */
.dl-home-flow-section--episodes .dl-card-badge,
.dl-home-flow-section--recent .dl-card-badge,
.dl-home-flow-section--episodes [class*="badge"],
.dl-home-flow-section--recent [class*="badge"] {
    font-weight: 900;
    letter-spacing: .055em;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .20);
}

.dl-home-flow-section--episodes .dl-card-badge,
.dl-home-flow-section--episodes [class*="badge"] {
    font-size: 12px;
}

/* Ranking: lepsza czytelność i spokojny efekt premium. */
.dl-home-ranking-item {
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.dl-home-ranking-item:hover {
    transform: translateY(-3px);
    border-color: rgba(217, 164, 65, .42);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .16);
}

.dl-home-ranking-poster {
    overflow: hidden;
}

.dl-home-ranking-poster img {
    transition: transform .3s ease;
}

.dl-home-ranking-item:hover .dl-home-ranking-poster img {
    transform: scale(1.045);
}

.dl-home-ranking-number:not(.is-plain) {
    filter: drop-shadow(0 5px 9px rgba(0, 0, 0, .18));
}

/* Puste zapowiedzi nie wyglądają jak niedokończona sekcja. */
.dl-home-flow-section--soon .dl-home-empty-note p {
    max-width: 650px;
    line-height: 1.65;
}

.dl-home-flow-section--soon .dl-home-empty-note strong {
    color: var(--dl-text, #fee9ce);
}

/* Równy rytm sekcji, bez naruszania ich indywidualnego wyglądu. */
.dl-home-flow-section {
    scroll-margin-top: 90px;
}

@media (max-width: 680px) {
    .dl-home-birthday-section-heading {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 78px;
        gap: 10px;
    }

    .dl-home-birthday-section-landus {
        width: 78px;
    }

    .dl-home-birthday-awaiting {
        min-height: 96px;
        padding: 15px;
    }
}

@media (max-width: 420px) {
    .dl-home-birthday-section-heading {
        grid-template-columns: 1fr;
    }

    .dl-home-birthday-section-landus {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dl-home-ranking-item,
    .dl-home-ranking-poster img {
        transition: none !important;
    }

    .dl-home-ranking-item:hover,
    .dl-home-ranking-item:hover .dl-home-ranking-poster img {
        transform: none !important;
    }
}

/* =========================================
   RC1.4 — OSTATNIO DODANE: MNIEJSZE, SPÓJNE KARTY
   Zmiana dotyczy wyłącznie sekcji .dl-home-recent-titles.
========================================= */
.dl-home-recent-titles .dl-home-title-grid {
    grid-template-columns: repeat(4, minmax(0, 220px));
    justify-content: center;
    align-items: stretch;
    gap: 24px;
}

.dl-home-recent-titles .dl-title-card {
    width: 100%;
    max-width: 220px;
    margin: 0;
}

@media (max-width: 1020px) {
    .dl-home-recent-titles .dl-home-title-grid {
        grid-template-columns: repeat(3, minmax(0, 210px));
        gap: 22px;
    }

    .dl-home-recent-titles .dl-title-card {
        max-width: 210px;
    }
}

@media (max-width: 740px) {
    .dl-home-recent-titles .dl-home-title-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .dl-home-recent-titles .dl-title-card {
        max-width: none;
    }
}

@media (max-width: 370px) {
    .dl-home-recent-titles .dl-home-title-grid {
        grid-template-columns: 1fr;
    }

    .dl-home-recent-titles .dl-title-card {
        max-width: 280px;
        margin: 0 auto;
    }
}


/* =========================================
   RC1.5 — SPÓJNY ROZMIAR PLAKATÓW NA GŁÓWNEJ
   Polecane, Nowe odcinki i Ostatnio dodane korzystają
   z tej samej szerokości i proporcji kart.
========================================= */
.dl-home-flow-section--recommendations .dl-home-title-grid,
.dl-home-flow-section--episodes .dl-home-title-grid,
.dl-home-flow-section--recent .dl-home-title-grid {
    grid-template-columns: repeat(4, minmax(0, 260px));
    justify-content: start;
    align-items: stretch;
    gap: 24px;
}

.dl-home-flow-section--recommendations .dl-title-card,
.dl-home-flow-section--episodes .dl-title-card,
.dl-home-flow-section--recent .dl-title-card {
    width: 100%;
    max-width: 260px;
    margin: 0;
}

.dl-home-flow-section--recommendations .dl-title-card-poster,
.dl-home-flow-section--episodes .dl-title-card-poster,
.dl-home-flow-section--recent .dl-title-card-poster {
    aspect-ratio: 2 / 3;
}

/* Obie plakietki mają identyczną wysokość, bez zmiany stylu. */
.dl-home-flow-section--recommendations .dl-title-card-type,
.dl-home-flow-section--recommendations .dl-title-card-badge,
.dl-home-flow-section--episodes .dl-title-card-type,
.dl-home-flow-section--episodes .dl-title-card-badge,
.dl-home-flow-section--recent .dl-title-card-type,
.dl-home-flow-section--recent .dl-title-card-badge {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

@media (max-width: 1160px) {
    .dl-home-flow-section--recommendations .dl-home-title-grid,
    .dl-home-flow-section--episodes .dl-home-title-grid,
    .dl-home-flow-section--recent .dl-home-title-grid {
        grid-template-columns: repeat(3, minmax(0, 240px));
        gap: 22px;
    }

    .dl-home-flow-section--recommendations .dl-title-card,
    .dl-home-flow-section--episodes .dl-title-card,
    .dl-home-flow-section--recent .dl-title-card {
        max-width: 240px;
    }
}

@media (max-width: 820px) {
    .dl-home-flow-section--recommendations .dl-home-title-grid,
    .dl-home-flow-section--episodes .dl-home-title-grid,
    .dl-home-flow-section--recent .dl-home-title-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
        gap: 16px;
    }

    .dl-home-flow-section--recommendations .dl-title-card,
    .dl-home-flow-section--episodes .dl-title-card,
    .dl-home-flow-section--recent .dl-title-card {
        max-width: none;
    }
}

@media (max-width: 390px) {
    .dl-home-flow-section--recommendations .dl-home-title-grid,
    .dl-home-flow-section--episodes .dl-home-title-grid,
    .dl-home-flow-section--recent .dl-home-title-grid {
        grid-template-columns: 1fr;
    }

    .dl-home-flow-section--recommendations .dl-title-card,
    .dl-home-flow-section--episodes .dl-title-card,
    .dl-home-flow-section--recent .dl-title-card {
        max-width: 280px;
        margin-inline: auto;
    }
}

/* =========================================
   QUIZ FORMINATOR — DRAMALAND
========================================= */
.dl-quiz-single .dl-editorial-content .dl-container {
    max-width: 1000px;
}

.dl-quiz-intro {
    max-width: 820px;
    margin: 0 auto 30px;
}

.dl-quiz-shell {
    max-width: 820px;
    margin: 34px auto 0;
    padding: clamp(18px, 3vw, 34px);
    border: 1px solid var(--dl-border);
    border-radius: var(--dl-radius);
    background: rgba(16, 51, 58, 0.62);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.dl-quiz-shell .forminator-ui,
.dl-quiz-shell .forminator-quiz {
    margin: 0 !important;
}

.dl-quiz-empty {
    padding: 26px;
    text-align: center;
    color: var(--dl-text-soft);
}

.dl-quiz-empty strong {
    display: block;
    margin-bottom: 8px;
    color: var(--dl-text);
    font-size: 20px;
}

.dl-quiz-empty p {
    margin: 0;
}

@media (max-width: 768px) {
    .dl-quiz-shell {
        margin-top: 24px;
        padding: 16px;
        border-radius: 16px;
    }
}

/* =========================================
   QUIZ FORMINATOR — DRAMALAND UI OVERRIDES
   Scope: only quiz pages rendered inside .dl-quiz-shell
========================================= */
.dl-quiz-shell .forminator-ui.forminator-quiz,
.dl-quiz-shell .forminator-quiz,
.dl-quiz-shell .forminator-ui,
.dl-quiz-shell .forminator-quiz--content,
.dl-quiz-shell .forminator-quiz--result,
.dl-quiz-shell .forminator-quiz--summary,
.dl-quiz-shell .forminator-quiz--question,
.dl-quiz-shell .forminator-pagination-steps,
.dl-quiz-shell .forminator-pagination-footer,
.dl-quiz-shell .forminator-pagination--content {
    background: transparent !important;
    color: var(--dl-text) !important;
    box-shadow: none !important;
}

.dl-quiz-shell .forminator-ui,
.dl-quiz-shell .forminator-ui * {
    box-sizing: border-box;
}

.dl-quiz-shell .forminator-ui h1,
.dl-quiz-shell .forminator-ui h2,
.dl-quiz-shell .forminator-ui h3,
.dl-quiz-shell .forminator-ui h4,
.dl-quiz-shell .forminator-ui h5,
.dl-quiz-shell .forminator-ui h6,
.dl-quiz-shell .forminator-ui p,
.dl-quiz-shell .forminator-ui .forminator-title,
.dl-quiz-shell .forminator-ui .forminator-subtitle,
.dl-quiz-shell .forminator-ui .forminator-label,
.dl-quiz-shell .forminator-ui .forminator-checkbox-label,
.dl-quiz-shell .forminator-ui .forminator-radio-label,
.dl-quiz-shell .forminator-ui .forminator-description,
.dl-quiz-shell .forminator-ui .forminator-quiz--title,
.dl-quiz-shell .forminator-ui .forminator-quiz--question-title,
.dl-quiz-shell .forminator-ui .forminator-quiz--question-description {
    color: var(--dl-text) !important;
}

.dl-quiz-shell .forminator-ui .forminator-description,
.dl-quiz-shell .forminator-ui .forminator-quiz--question-description,
.dl-quiz-shell .forminator-ui .forminator-pagination-steps {
    color: var(--dl-text-soft) !important;
}

.dl-quiz-shell .forminator-ui .forminator-row,
.dl-quiz-shell .forminator-ui .forminator-field,
.dl-quiz-shell .forminator-ui .forminator-col {
    background: transparent !important;
}

.dl-quiz-shell .forminator-ui input.forminator-input,
.dl-quiz-shell .forminator-ui input[type="text"],
.dl-quiz-shell .forminator-ui input[type="email"],
.dl-quiz-shell .forminator-ui input[type="tel"],
.dl-quiz-shell .forminator-ui input[type="url"],
.dl-quiz-shell .forminator-ui input[type="number"],
.dl-quiz-shell .forminator-ui textarea.forminator-textarea,
.dl-quiz-shell .forminator-ui select.forminator-select,
.dl-quiz-shell .forminator-ui .select2-selection {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--dl-border-strong) !important;
    border-radius: 12px !important;
    background: rgba(7, 24, 30, 0.72) !important;
    color: var(--dl-text) !important;
    box-shadow: none !important;
    outline: none !important;
}

.dl-quiz-shell .forminator-ui textarea.forminator-textarea {
    min-height: 120px;
}

.dl-quiz-shell .forminator-ui input::placeholder,
.dl-quiz-shell .forminator-ui textarea::placeholder {
    color: rgba(215, 198, 175, 0.62) !important;
}

.dl-quiz-shell .forminator-ui input:focus,
.dl-quiz-shell .forminator-ui textarea:focus,
.dl-quiz-shell .forminator-ui select:focus,
.dl-quiz-shell .forminator-ui .select2-selection:focus {
    border-color: var(--dl-accent) !important;
    box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.12) !important;
}

.dl-quiz-shell .forminator-ui .forminator-button,
.dl-quiz-shell .forminator-ui button.forminator-button,
.dl-quiz-shell .forminator-ui .forminator-button-submit,
.dl-quiz-shell .forminator-ui .forminator-button-next,
.dl-quiz-shell .forminator-ui .forminator-button-back {
    min-height: 46px;
    padding: 12px 22px !important;
    border: 1px solid var(--dl-accent) !important;
    border-radius: 999px !important;
    background: var(--dl-accent) !important;
    color: #07181e !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    box-shadow: none !important;
    transition: transform .18s ease, background .18s ease, border-color .18s ease !important;
}

.dl-quiz-shell .forminator-ui .forminator-button:hover,
.dl-quiz-shell .forminator-ui button.forminator-button:hover,
.dl-quiz-shell .forminator-ui .forminator-button-submit:hover,
.dl-quiz-shell .forminator-ui .forminator-button-next:hover,
.dl-quiz-shell .forminator-ui .forminator-button-back:hover {
    background: var(--dl-accent-hover) !important;
    border-color: var(--dl-accent-hover) !important;
    color: #07181e !important;
    transform: translateY(-1px);
}

.dl-quiz-shell .forminator-ui .forminator-checkbox,
.dl-quiz-shell .forminator-ui .forminator-radio {
    color: var(--dl-text) !important;
}

.dl-quiz-shell .forminator-ui .forminator-checkbox-box,
.dl-quiz-shell .forminator-ui .forminator-radio-bullet {
    border: 1px solid var(--dl-border-strong) !important;
    background: rgba(7, 24, 30, 0.72) !important;
}

.dl-quiz-shell .forminator-ui .forminator-checkbox input:checked + .forminator-checkbox-box,
.dl-quiz-shell .forminator-ui .forminator-radio input:checked + .forminator-radio-bullet,
.dl-quiz-shell .forminator-ui .forminator-checkbox-box.forminator-is_checked,
.dl-quiz-shell .forminator-ui .forminator-radio-bullet.forminator-is_checked {
    border-color: var(--dl-accent) !important;
    background: var(--dl-accent) !important;
}

.dl-quiz-shell .forminator-ui a,
.dl-quiz-shell .forminator-ui .forminator-link {
    color: var(--dl-accent-hover) !important;
}

.dl-quiz-shell .forminator-ui a:hover,
.dl-quiz-shell .forminator-ui .forminator-link:hover {
    color: var(--dl-text) !important;
}

.dl-quiz-shell .forminator-ui .forminator-error-message,
.dl-quiz-shell .forminator-ui .forminator-response-message.forminator-error,
.dl-quiz-shell .forminator-ui .forminator-alert.forminator-error {
    border-radius: 10px !important;
    background: rgba(151, 42, 42, 0.20) !important;
    color: #ffd7d7 !important;
}

.dl-quiz-shell .forminator-ui .forminator-response-message.forminator-success,
.dl-quiz-shell .forminator-ui .forminator-alert.forminator-success {
    border-radius: 10px !important;
    background: rgba(55, 121, 84, 0.20) !important;
    color: #dff6e7 !important;
}

/* Quiz answers / selectable cards. */
.dl-quiz-shell .forminator-ui .forminator-answer,
.dl-quiz-shell .forminator-ui .forminator-quiz--answer,
.dl-quiz-shell .forminator-ui .forminator-quiz--answers label,
.dl-quiz-shell .forminator-ui .forminator-field--choice {
    border-color: var(--dl-border) !important;
    border-radius: 14px !important;
    background: rgba(7, 24, 30, 0.50) !important;
    color: var(--dl-text) !important;
}

.dl-quiz-shell .forminator-ui .forminator-answer:hover,
.dl-quiz-shell .forminator-ui .forminator-quiz--answer:hover,
.dl-quiz-shell .forminator-ui .forminator-quiz--answers label:hover,
.dl-quiz-shell .forminator-ui .forminator-field--choice:hover {
    border-color: var(--dl-border-strong) !important;
    background: rgba(16, 51, 58, 0.78) !important;
}

/* Remove the bright/white card that Forminator themes can inject around intro/lead capture. */
.dl-quiz-shell .forminator-ui .forminator-quiz--intro,
.dl-quiz-shell .forminator-ui .forminator-quiz--lead,
.dl-quiz-shell .forminator-ui .forminator-quiz--lead-form,
.dl-quiz-shell .forminator-ui .forminator-quiz--form,
.dl-quiz-shell .forminator-ui .forminator-quiz--content,
.dl-quiz-shell .forminator-ui .forminator-module-edit-link + div {
    background: transparent !important;
}

@media (max-width: 768px) {
    .dl-quiz-shell .forminator-ui .forminator-button,
    .dl-quiz-shell .forminator-ui button.forminator-button,
    .dl-quiz-shell .forminator-ui .forminator-button-submit,
    .dl-quiz-shell .forminator-ui .forminator-button-next,
    .dl-quiz-shell .forminator-ui .forminator-button-back {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}


/* Zapowiedzi — grafika z zewnętrznego linku */
.dl-announcement-preview-image {
    width: min(100%, 700px);
    max-width: 700px;
    margin: 46px auto 36px;
    padding: 10px;
    background: rgba(16, 51, 58, 0.58);
    border: 1px solid var(--dl-border);
    border-radius: 24px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.dl-announcement-preview-image img {
    width: 100%;
    height: auto;
    border: 0;
    border-radius: 16px;
}

@media (max-width: 760px) {
    .dl-announcement-preview-image {
        width: 100%;
        margin-top: 32px;
        margin-bottom: 28px;
        padding: 7px;
        border-radius: 18px;
    }

    .dl-announcement-preview-image img {
        border-radius: 12px;
    }
}


/* =========================================================
   DRAMALAND 2.0 — POPRAWKI PO TESTACH UŻYTKOWNIKA
========================================================= */

/* Dodatkowy CSS przeniesiony z Wygląd → Dodatkowy CSS. */
html,
body,
#page,
.site,
.site-main,
.elementor,
.elementor-location-single,
.elementor-page {
    background: #071920 !important;
}

body {
    margin: 0;
}

/* Rejestracja: zostawiamy jeden główny CTA; logowanie jest niżej w sekcji „Masz już konto?”. */
.dl-um-page--register .dl-um-native-form .um-col-alt .um-right {
    display: none !important;
}

.dl-um-page--register .dl-um-native-form .um-col-alt .um-left {
    float: none !important;
    width: 100% !important;
}

.dl-um-page--register .dl-um-native-form .um-col-alt .um-left .um-button {
    width: 100% !important;
}

/* Forminator: pytania i komunikaty po odpowiedzi muszą mieć kontrast na ciemnym tle. */
.dl-quiz-shell .forminator-ui .forminator-quiz--question h1,
.dl-quiz-shell .forminator-ui .forminator-quiz--question h2,
.dl-quiz-shell .forminator-ui .forminator-quiz--question h3,
.dl-quiz-shell .forminator-ui .forminator-question,
.dl-quiz-shell .forminator-ui .forminator-question-title,
.dl-quiz-shell .forminator-ui [class*="question"] > h1,
.dl-quiz-shell .forminator-ui [class*="question"] > h2,
.dl-quiz-shell .forminator-ui [class*="question"] > h3,
.dl-quiz-shell .forminator-ui [class*="feedback"],
.dl-quiz-shell .forminator-ui [class*="feedback"] p,
.dl-quiz-shell .forminator-ui [class*="message"] p {
    color: var(--dl-text, #fee9ce) !important;
}


/* Urodziny tłumaczy — wariant bez prezentu w danym roku. */
.dl-home-birthday-no-gift {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 170px;
    padding: 18px 20px;
    border: 1px dashed rgba(217, 164, 65, .28);
    border-radius: 18px;
    background: rgba(1, 32, 50, .20);
}
.dl-home-birthday-no-gift img {
    flex: 0 0 132px;
    width: 132px;
    height: 132px;
    object-fit: contain;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .18));
}
.dl-home-birthday-no-gift strong {
    display: block;
    margin-bottom: 7px;
    color: var(--dl-text, #fee9ce);
    font-size: 17px;
}
.dl-home-birthday-no-gift p { margin: 0; line-height: 1.6; }
@media (max-width: 600px) {
    .dl-home-birthday-no-gift { align-items: flex-start; gap: 14px; padding: 16px; }
    .dl-home-birthday-no-gift img { flex-basis: 92px; width: 92px; height: 92px; }
}
/* =========================================
   URODZINY TŁUMACZY — równe karty w rzędzie
========================================= */

/* Grid ma rozciągać karty do wysokości najwyższej karty w rzędzie */
.dl-home-birthday-list {
    align-items: stretch;
}

/* Każda karta wypełnia wysokość swojego pola w gridzie */
.dl-home-birthday-feature {
    height: 100%;
}

/* Wariant bez prezentu wypełnia wolne miejsce */
.dl-home-birthday-no-gift {
    flex: 1;
    min-height: 230px;
    padding: 24px 28px;
    gap: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Większy urodzinowy Landuś */
.dl-home-birthday-no-gift img {
    flex: 0 0 175px;
    width: 175px;
    height: 175px;
}

/* Nagłówek życzeń */
.dl-home-birthday-no-gift strong {
    font-size: 19px;
    margin-bottom: 10px;
}

/* Sekcja z prezentami może wykorzystać wolne miejsce */
.dl-home-birthday-titles {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Jeden prezent — wyśrodkuj w wolnej przestrzeni */
.dl-home-birthday-carousel:has(.dl-home-birthday-title:only-child) {
    flex: 1;
    justify-content: center;
    align-items: center;
}

/* Telefon — tam nie wymuszamy równych wysokości */
@media (max-width: 1100px) {
    .dl-home-birthday-feature {
        height: auto;
    }

    .dl-home-birthday-no-gift {
        min-height: 190px;
    }
}

@media (max-width: 600px) {
    .dl-home-birthday-no-gift {
        padding: 18px;
        gap: 16px;
    }

    .dl-home-birthday-no-gift img {
        flex: 0 0 115px;
        width: 115px;
        height: 115px;
    }

    .dl-home-birthday-no-gift strong {
        font-size: 17px;
    }
}