/* =========================================
   MOONECLIPSE
   GŁÓWNY STYL STRONY + CZYTNIK
========================================= */

:root {
    --black: #09070a;
    --black-light: #110d12;
    --black-card: #151016;

    --pink-dark: #6d4658;
    --pink: #a56d83;
    --pink-light: #c995a8;

    --white: #eee7e9;
    --gray: #a9a0a5;
    --gray-dark: #696168;

    --border: rgba(201, 149, 168, 0.2);

    --max-width: 1200px;
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Marcellus", serif;

    background:
        radial-gradient(
            circle at 70% 10%,
            rgba(109, 70, 88, 0.2),
            transparent 30%
        ),
        radial-gradient(
            circle at 20% 60%,
            rgba(165, 109, 131, 0.08),
            transparent 30%
        ),
        var(--black);

    color: var(--white);

    min-height: 100vh;

    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font-family: inherit;
}


/* =========================================
   GWIAZDY
========================================= */

.stars {
    position: fixed;

    inset: 0;

    pointer-events: none;

    opacity: 0.3;

    background-image:
        radial-gradient(circle, white 1px, transparent 1px),
        radial-gradient(circle, #c995a8 1px, transparent 1px);

    background-size:
        130px 130px,
        190px 190px;

    background-position:
        20px 30px,
        90px 80px;

    z-index: -1;
}


/* =========================================
   NAWIGACJA
========================================= */

.navbar {
    position: sticky;

    top: 0;

    z-index: 100;

    width: 100%;

    height: 75px;

    display: grid;

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

    align-items: center;

    column-gap: 22px;

    padding: 0 6%;

    background: rgba(9, 7, 10, 0.94);

    backdrop-filter: blur(14px);

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

.logo {
    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 21px;

    letter-spacing: 1px;

    white-space: nowrap;
}

.moon {
    color: var(--pink-light);

    font-size: 30px;

    line-height: 1;
}

.navbar nav {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 28px;

    min-width: 0;
}

.navbar nav a,
.discord-top {
    color: var(--gray);

    font-size: 14px;

    font-weight: normal;

    white-space: nowrap;

    transition:
        color 0.3s ease,
        text-shadow 0.3s ease;
}

.navbar nav a:hover,
.discord-top:hover {
    color: #f0d8e6;

    text-shadow:
        0 0 12px rgba(220, 170, 205, 0.62),
        0 0 4px rgba(240, 210, 230, 0.35);
}


/* Delikatne, tekstowe przyciski po prawej */
.discord-top {
    padding: 6px 0;

    color: var(--pink-light);
}

.navbar > a[href*="discord.gg"],
.navbar > a[href="admin.html"] {
    margin-left: 0;
}


/* =========================================
   HERO / BANER GŁÓWNY
========================================= */

.hero {
    width: 100%;

    padding: 0;

    margin: 0;

    position: relative;

    overflow: hidden;

    background: #09070a;
}


.hero-banner {
    width: 100%;

    position: relative;

    line-height: 0;
}


.hero-banner img {
    display: block;

    width: 100%;

    height: auto;

    min-height: 520px;

    object-fit: cover;

    object-position: center;
}


/* Delikatne przyciemnienie na dole,
   żeby przejście do strony było ładniejsze */

.hero-banner::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    height: 120px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            var(--black)
        );

    pointer-events: none;
}


/* =========================================
   OGÓLNE SEKCJE
========================================= */

.section {
    padding: 110px 8%;
}

.section-heading {
    max-width: 700px;

    text-align: center;

    margin: 0 auto 55px;
}

.section-heading h2,
.about-box h2,
.social-section h2 {
    font-size: clamp(32px, 5vw, 52px);

    font-weight: normal;

    line-height: 1.15;

    margin-bottom: 20px;
}

.section-heading > p:last-child,
.social-section > p {
    color: var(--gray);

    line-height: 1.8;
}


/* =========================================
   WYSZUKIWARKA
========================================= */

.search-container {
    position: relative;

    max-width: 650px;

    margin: 0 auto 35px;
}

.search-container input {
    width: 100%;

    padding: 18px 55px;

    background: rgba(17, 13, 18, 0.9);

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

    color: white;

    font-size: 15px;

    outline: none;

    transition: border-color 0.3s ease;
}

.search-container input:focus {
    border-color: var(--pink);
}

.search-container input::placeholder {
    color: var(--gray-dark);
}

.search-icon {
    position: absolute;

    left: 20px;

    top: 50%;

    transform: translateY(-50%);

    color: var(--pink-light);

    font-size: 25px;

    z-index: 2;

    pointer-events: none;
}

.search-results {
    position: absolute;

    left: 0;

    right: 0;

    top: calc(100% + 5px);

    background: #110d12;

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

    z-index: 50;

    display: none;

    max-height: 350px;

    overflow-y: auto;
}

.search-results.show {
    display: block;
}

.search-result {
    padding: 15px 20px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.05);

    cursor: pointer;

    transition: background 0.2s ease;
}

.search-result:last-child {
    border-bottom: none;
}

.search-result:hover {
    background: var(--pink-dark);
}

.search-result-title {
    color: var(--white);

    margin-bottom: 5px;
}

.search-result-status {
    color: var(--pink-light);

    font-size: 11px;
}


/* =========================================
   KATEGORIE
========================================= */

.categories {
    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 45px;
}

.category {
    background: transparent;

    color: var(--gray);

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

    padding: 11px 20px;

    font-size: 13px;

    cursor: pointer;

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

.category:hover,
.category.active {
    background: var(--pink-dark);

    border-color: var(--pink);

    color: white;
}


/* =========================================
   LISTA KOMIKSÓW
========================================= */

.comic-grid {
    width: 100%;

    max-width: var(--max-width);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(230px, 1fr));

    gap: 25px;
}

.comic-card {
    background:
        linear-gradient(
            145deg,
            rgba(31, 22, 28, 0.95),
            rgba(13, 10, 14, 0.95)
        );

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

    overflow: hidden;

    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.5s ease,
        box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.comic-card:hover {
    transform: translateY(-5px);

    border-color: rgba(201, 149, 168, 0.45);

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


/* =========================================
   OKŁADKA KOMIKSU
========================================= */

.comic-card-header {
    min-height: 76px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 14px;

    padding: 16px 18px;

    background:
        linear-gradient(
            145deg,
            rgba(31, 22, 28, 0.98),
            rgba(13, 10, 14, 0.98)
        );

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

.cover-title {
    flex: 1;

    min-width: 0;

    font-size: 18px;

    line-height: 1.3;

    color: #f0e5e8;

    overflow-wrap: anywhere;
}

.status {
    flex-shrink: 0;

    padding: 6px 9px;

    font-size: 9px;

    letter-spacing: 1px;

    white-space: nowrap;

    background: rgba(9, 7, 10, 0.85);

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

.status.ongoing {
    color: #d7a8ba;
}

.status.completed {
    color: #c9c2c5;
}

.status.planned {
    color: #9b8790;
}

.comic-cover {
    height: 300px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            var(--pink-dark),
            #171017 70%
        );
}

.comic-cover::after {
    content: "";

    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.12);

    z-index: 1;

    pointer-events: none;
}


/* =========================================
   OKŁADKI MANHW
========================================= */

.comic-cover-image {
    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    z-index: 0;
}


/* =========================================
   INFORMACJE KOMIKSU
========================================= */

.comic-info {
    padding: 20px;
}

.comic-info h3 {
    font-size: 19px;

    font-weight: normal;

    line-height: 1.3;

    margin-bottom: 10px;
}

.comic-info p {
    color: var(--gray);

    font-size: 13px;

    line-height: 1.6;

    min-height: 42px;
}

.comic-footer {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;

    margin-top: 20px;

    padding-top: 15px;

    border-top: 1px solid rgba(255, 255, 255, 0.06);

    font-size: 11px;

    color: var(--gray-dark);
}

.read-button {
    color: var(--pink-light);

    transition: color 0.3s ease;

    cursor: pointer;

    background: none;

    border: none;
}

.read-button:hover {
    color: white;
}

.disabled-read {
    color: var(--gray-dark);

    cursor: default;
}


/* =========================================
   BRAK WYNIKÓW
========================================= */

.no-results {
    grid-column: 1 / -1;

    text-align: center;

    padding: 70px 20px;

    color: var(--gray);

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

    background: rgba(17, 13, 18, 0.5);
}

.no-results span {
    display: block;

    color: var(--pink-light);

    font-size: 45px;

    margin-bottom: 15px;
}


/* =========================================
   AKTUALIZACJE
========================================= */

.updates-section {

    padding-top: 90px;

    padding-bottom: 100px;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(109, 70, 88, 0.06),
            transparent
        );
}


.updates-container {

    width: 100%;

    max-width: 1000px;

    margin: 0 auto;
}


.update-card {

    display: grid;

    grid-template-columns:
        170px 1fr;

    gap: 35px;

    padding: 32px 0;

    border-top:
        1px solid var(--border);
}


.update-card:last-child {

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


.update-date {

    color:
        var(--pink-light);

    font-size: 13px;

    padding-top: 2px;
}


.update-label {

    display: block;

    color:
        var(--pink-light);

    font-size: 10px;

    letter-spacing: 3px;

    margin-bottom: 9px;
}


.update-content h3 {

    font-size: 26px;

    font-weight: normal;

    line-height: 1.4;

    margin-bottom: 9px;

    color:
        var(--white);
}


.update-content p {

    color:
        var(--gray);

    line-height: 1.7;

    font-size: 17px;
}


/* =========================================
   PRZYCISK „CZYTAJ” W AKTUALIZACJACH
========================================= */

.update-read-button {

    display: none;

    align-items: center;

    justify-content: center;

    width: fit-content;

    margin-top: 16px;

    padding: 9px 18px;

    border: 1px solid var(--pink);

    border-radius: 8px;

    background: var(--pink-dark);

    color: var(--white);

    text-decoration: none;

    font-family: inherit;
    font-size: 12px;

    letter-spacing: 0.08em;

    text-transform: uppercase;

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

.update-read-button:hover {

    background: var(--pink);

    border-color: var(--pink-light);

    transform: translateY(-1px);
}


/* =========================================
   O NAS
========================================= */

.about-section {
    padding: 100px 8%;
}

.about-box {
    max-width: 1000px;

    margin: auto;

    display: grid;

    grid-template-columns: 180px 1fr;

    gap: 50px;

    padding: 60px;

    background:
        linear-gradient(
            135deg,
            rgba(109, 70, 88, 0.15),
            rgba(17, 13, 18, 0.7)
        );

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

.about-symbol {
    font-size: 150px;

    color: var(--pink-dark);

    display: flex;

    justify-content: center;

    align-items: center;
}

.about-box p:not(.section-small) {
    color: var(--gray);

    line-height: 1.8;

    margin-bottom: 15px;
}


/* =========================================
   DISCORD
========================================= */

.social-section {
    text-align: center;

    padding: 120px 20px;
}

.discord-button {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-top: 30px;

    padding: 15px 35px;

    border: 1px solid var(--pink);

    background: var(--pink-dark);

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.discord-button:hover {
    background: var(--pink);

    transform: translateY(-3px);
}


/* =========================================
   STOPKA
========================================= */

footer {
    text-align: center;

    padding: 60px 20px 35px;

    background: #060508;

    border-top: 1px solid var(--border);
}

.footer-logo {
    font-size: 21px;

    margin-bottom: 10px;
}

footer > p {
    color: var(--gray-dark);

    font-size: 12px;
}

.footer-line {
    max-width: 300px;

    height: 1px;

    background: var(--border);

    margin: 30px auto;
}


/* =========================================
   CZYTNIK KOMIKSÓW
========================================= */

.reader-header {
    position: sticky;

    top: 0;

    z-index: 100;

    height: 65px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 6%;

    background: rgba(9, 7, 10, 0.96);

    backdrop-filter: blur(12px);

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

.reader-header a {
    color: var(--pink-light);

    transition: color 0.3s ease;
}

.reader-header a:hover {
    color: white;
}

.reader-header span {
    color: var(--gray);

    font-size: 13px;
}


/* =========================================
   OBSZAR CZYTNIKA
========================================= */

.reader {
    width: 100%;

    min-height: 100vh;

    background: #050405;

    padding-bottom: 80px;
}


/* =========================================
   TYTUŁ ROZDZIAŁU
========================================= */

.reader-title {
    text-align: center;

    padding: 80px 20px 60px;
}

.reader-title p {
    color: var(--pink-light);

    font-size: 10px;

    letter-spacing: 4px;

    margin-bottom: 20px;
}

.reader-title h1 {
    font-size: 42px;

    line-height: 1.2;

    font-weight: normal;

    margin-bottom: 10px;
}

.reader-title h2 {
    color: var(--gray);

    font-size: 17px;

    font-weight: normal;
}


/* =========================================
   STRONY KOMIKSU
========================================= */

.comic-pages {
    width: 100%;

    max-width: 1000px;

    margin: 0 auto;

    line-height: 0;

    background: #000;
}

.comic-pages img {
    display: block;

    width: 100%;

    height: auto;

    margin: 0;

    padding: 0;

    border: none;
}


/* =========================================
   NAWIGACJA ROZDZIAŁÓW
========================================= */

.reader-navigation {
    width: 100%;

    max-width: 1000px;

    margin: 60px auto 0;

    padding: 0 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;
}

.reader-navigation a {
    padding: 13px 20px;

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

    color: var(--gray);

    font-size: 12px;

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

.reader-navigation a:hover {
    background: var(--pink-dark);

    border-color: var(--pink);

    color: white;
}


/* =========================================
   LISTA ROZDZIAŁÓW
========================================= */

.chapter-list {

    max-width: 900px;

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    gap: 12px;
}


.chapter-card {

    display: grid;

    grid-template-columns: 1fr auto auto;

    align-items: center;

    gap: 25px;

    padding: 22px 25px;

    background:
        linear-gradient(
            135deg,
            rgba(31, 22, 28, 0.95),
            rgba(13, 10, 14, 0.95)
        );

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

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


.chapter-card:hover {

    transform: translateX(6px);

    border-color:
        rgba(201, 149, 168, 0.5);

    background:
        linear-gradient(
            135deg,
            rgba(109, 70, 88, 0.35),
            rgba(13, 10, 14, 0.95)
        );
}


.chapter-number {

    color: var(--white);

    font-size: 16px;
}


.chapter-number strong {

    color: var(--pink-light);

    font-weight: normal;

    margin-left: 5px;
}


.chapter-info {

    color: var(--gray);

    font-size: 12px;
}


.chapter-arrow {

    color: var(--pink-light);

    font-size: 20px;

    transition:
        transform 0.25s ease;
}


.chapter-card:hover .chapter-arrow {

    transform: translateX(5px);
}


/* =========================================================
   NOWY CZYTNIK — WYBÓR ROZDZIAŁÓW
========================================================= */

.chapter-selector {
    width: 100%;

    max-width: 1100px;

    margin: 0 auto;

    padding: 20px 30px 80px;
}

.selector-heading {
    text-align: center;

    margin-bottom: 45px;
}

.selector-heading h2 {
    font-size: 38px;

    font-weight: normal;

    margin: 0;
}


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

.sections-container {
    display: flex;

    flex-direction: column;

    gap: 25px;
}


/* =========================================================
   POJEDYNCZA SEKCJA
========================================================= */

.reader-section {
    background:
        linear-gradient(
            145deg,
            rgba(31, 22, 28, 0.95),
            rgba(13, 10, 14, 0.95)
        );

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

    overflow: hidden;
}


/* =========================================================
   NAGŁÓWEK SEKCJI
========================================================= */

.reader-section-heading {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 20px 24px;

    border-bottom: 1px solid var(--border);

    background:
        rgba(109, 70, 88, 0.10);

    color: var(--white);

    font-size: 18px;
}


.reader-section-heading small {

    color: var(--gray);

    font-size: 11px;

    letter-spacing: 1px;
}


/* =========================================================
   LISTA ROZDZIAŁÓW
========================================================= */

.reader-chapter-list {
    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(220px, 1fr));

    gap: 10px;

    padding: 18px;
}


/* =========================================================
   POJEDYNCZY ROZDZIAŁ
========================================================= */

.reader-chapter {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding: 14px 16px;

    background:
        rgba(9, 7, 10, 0.75);

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

    color: var(--gray);

    font-family: inherit;

    font-size: 13px;

    text-align: left;

    cursor: pointer;

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


.reader-chapter:hover {

    background:
        rgba(109, 70, 88, 0.35);

    border-color:
        rgba(201, 149, 168, 0.5);

    color: var(--white);

    transform: translateY(-2px);
}


.reader-chapter span:last-child {

    color: var(--pink-light);

    font-size: 16px;
}


/* =========================================================
   AKTYWNY ROZDZIAŁ
========================================================= */

.reader-chapter.active {

    background: var(--pink-dark);

    border-color: var(--pink);

    color: white;
}


/* =========================================================
   CZYTNIK
========================================================= */

.comic-reader {

    width: 100%;

    background: #050405;

    padding-bottom: 80px;
}


.comic-pages {

    width: 100%;

    max-width: 1000px;

    margin: 0 auto;
}


.comic-pages img {

    display: block;

    width: 100%;

    height: auto;

    margin: 0;

    padding: 0;

    border: none;
}


/* =========================================================
   INFORMACJA O BRAKU OBRAZKÓW
========================================================= */

.comic-pages .no-results {

    max-width: 700px;

    margin: 60px auto;

    padding: 40px;

    text-align: center;

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

    color: var(--gray);
}


/* =========================================================
   NAWIGACJA CZYTNIKA
========================================================= */

.reader-navigation {

    width: 100%;

    max-width: 1000px;

    margin: 0 auto;

    padding: 40px 20px 80px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;
}


.reader-navigation button {

    padding: 13px 20px;

    background:
        rgba(17, 13, 18, 0.9);

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

    color: var(--gray);

    font-family: inherit;

    font-size: 12px;

    cursor: pointer;

    transition: 0.3s;
}


.reader-navigation button:hover:not(:disabled) {

    background: var(--pink-dark);

    border-color: var(--pink);

    color: white;
}


.reader-navigation button:disabled {

    opacity: 0.3;

    cursor: not-allowed;
}


/* =========================================================
   PRZYCISK W GÓRNEJ BELCE
========================================================= */

.reader-header button {

    padding: 9px 16px;

    background: transparent;

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

    color: var(--pink-light);

    font-family: inherit;

    cursor: pointer;

    transition: 0.3s;
}


.reader-header button:hover {

    background: var(--pink-dark);

    color: white;
}


/* =========================================================
   OKŁADKA / BANER MANHWY W CZYTNIKU
========================================================= */

/*
   Ten element jest osobnym obrazkiem nad informacjami
   o manhwie.

   Jest przygotowany głównie pod szerokie,
   podłużne grafiki.
*/

.manhwa-reader-cover {

    display: flex;

    justify-content: center;

    align-items: center;

    width: 100%;

    margin: 10px 0 45px;

    padding: 0 20px;

}


/* =========================================================
   GŁÓWNY OBRAZEK
========================================================= */

.manhwa-reader-cover img {

    display: block;

    width: min(760px, 92vw);

    height: auto;

    max-height: 430px;

    object-fit: cover;

    background: #09070a;

    border:
        1px solid
        rgba(201, 149, 168, 0.32);

    border-radius: 18px;

    box-shadow:

        0 25px 60px
        rgba(0, 0, 0, 0.60),

        0 8px 25px
        rgba(0, 0, 0, 0.35),

        0 0 45px
        rgba(109, 70, 88, 0.10);

    transition:

        transform 0.35s ease,

        box-shadow 0.35s ease,

        border-color 0.35s ease;
}


/* =========================================================
   EFEKT HOVER
========================================================= */

.manhwa-reader-cover img:hover {

    transform:
        translateY(-6px);

    border-color:
        rgba(201, 149, 168, 0.55);

    box-shadow:

        0 32px 70px
        rgba(0, 0, 0, 0.68),

        0 10px 30px
        rgba(0, 0, 0, 0.40),

        0 0 55px
        rgba(109, 70, 88, 0.16);
}


/* =========================================================
   DODATKOWA STARA KLASA
   ZOSTAWIONA DLA KOMPATYBILNOŚCI
========================================================= */

.manhwa-cover-reader {

    width: 100%;

    max-width: 320px;

    margin: 0 auto 55px;

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

    background:
        linear-gradient(
            145deg,
            rgba(31, 22, 28, 0.95),
            rgba(13, 10, 14, 0.95)
        );

    overflow: hidden;

    box-shadow:
        0 20px 50px
        rgba(0, 0, 0, 0.45);

}


.manhwa-cover-reader img {

    display: block;

    width: 100%;

    height: auto;

    aspect-ratio: 2 / 3;

    object-fit: cover;

}


/* =========================================
   RESPONSYWNOŚĆ
   TABLET
========================================= */

@media (max-width: 1000px) {

    .navbar nav {

        gap: 18px;
    }

    .moon-decoration {

        right: -100px;

        opacity: 0.3;
    }

    .comic-grid {

        grid-template-columns:
            repeat(auto-fill, minmax(210px, 1fr));
    }

}


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

@media (max-width: 900px) {

    .navbar nav {

        display: none;
    }

    .moon-decoration {

        right: -150px;

        opacity: 0.25;
    }

    .about-box {

        grid-template-columns: 1fr;

        padding: 35px;

        gap: 20px;
    }

    .about-symbol {

        font-size: 90px;
    }

}


/* =========================================
   MAŁY TELEFON
========================================= */

@media (max-width: 600px) {

    .navbar {

        height: 65px;

        padding: 0 5%;
    }

    .logo {

        font-size: 17px;
    }

    .moon {

        font-size: 25px;
    }

    .discord-top {

        padding: 8px 12px;

        font-size: 12px;
    }

    .navbar {
        grid-template-columns: 1fr auto auto;
        column-gap: 8px;
    }


    /* HERO */

    .hero {

        min-height: auto;

        padding: 0;
    }

    .hero h1 {

        font-size: 48px;
    }

    .hero-description {

        font-size: 14px;

        line-height: 1.8;
    }


    /* SEKCJE */

    .section {

        padding: 80px 6%;
    }

    .section-heading {

        margin-bottom: 40px;
    }


    /* AKTUALIZACJE */

    .updates-section {

        padding-top: 70px;

        padding-bottom: 75px;
    }

    .updates-container {

        width: 100%;
    }

    .update-card {

        grid-template-columns: 1fr;

        gap: 8px;

        padding: 25px 0;
    }

    .update-date {

        font-size: 12px;
    }

    .update-content h3 {

        font-size: 19px;
    }

    .update-read-button {

        display: inline-flex;
    }

    .update-read-button-hint {

        cursor: not-allowed;

        opacity: 0.65;

        user-select: none;
    }


    /* KATEGORIE */

    .categories {

        width: 100%;

        display: flex;
        flex-wrap: nowrap;
        gap: 5px;
        overflow: hidden;
    }

    .category {

        flex: 1 1 0;
        min-width: 0;
        white-space: nowrap;
        padding: 10px 6px;
        font-size: 11px;
        text-align: center;
    }


    /* KOMIKSY */

    .comic-grid {

        grid-template-columns: 1fr;

        gap: 20px;
    }

    .comic-card {

        max-width: 420px;

        width: 100%;

        margin: 0 auto;
    }

    .comic-cover {

        height: 360px;
    }


    /* O NAS */

    .about-section {

        padding: 80px 6%;
    }

    .about-box {

        padding: 30px 25px;
    }


    /* DISCORD */

    .social-section {

        padding: 90px 20px;
    }


    /* CZYTNIK */

    .reader-header {

        padding: 0 20px;
    }

    .reader-header span {

        display: none;
    }

    .reader-title {

        padding: 55px 15px 40px;
    }

    .reader-title h1 {

        font-size: 30px;
    }

    .reader-title h2 {

        font-size: 15px;
    }

    .comic-pages {

        width: 100%;
    }

    .reader-navigation {

        flex-direction: column;

        padding: 0 15px;
    }

    .reader-navigation a {

        width: 100%;

        text-align: center;
    }

    .reader-navigation button {

        width: 100%;
    }


    /* LISTA ROZDZIAŁÓW */

    .chapter-card {

        grid-template-columns: 1fr auto;

        gap: 10px;

        padding: 18px;
    }


    .chapter-info {

        grid-column: 1;
    }


    .chapter-arrow {

        grid-column: 2;

        grid-row: 1 / 3;
    }


    /* WYBÓR ROZDZIAŁÓW */

    .chapter-selector {

        padding: 20px 15px 60px;
    }


    .selector-heading h2 {

        font-size: 30px;
    }


    .reader-chapter-list {

        grid-template-columns: 1fr;

        padding: 12px;
    }


    .reader-section-heading {

        padding: 17px;

        font-size: 16px;
    }


    /* =========================================
       BANER MANHWY — TELEFON
    ========================================= */

    .manhwa-reader-cover {

        margin:
            5px 0 30px;

        padding:
            0 15px;

    }


    .manhwa-reader-cover img {

        width: 100%;

        max-width: 100%;

        max-height: 280px;

        height: auto;

        border-radius: 12px;

        box-shadow:

            0 18px 40px
            rgba(0, 0, 0, 0.55),

            0 0 30px
            rgba(109, 70, 88, 0.10);

    }


    .manhwa-reader-cover img:hover {

        transform:
            translateY(-3px);

    }


    /* STARA KLASA — TELEFON */

    .manhwa-cover-reader {

        max-width: 260px;

        margin-bottom: 40px;

    }

}


/* =========================================
   BARDZO MAŁE EKRANY
========================================= */

@media (max-width: 400px) {

    .hero h1 {

        font-size: 40px;
    }

    .comic-card-header {

        min-height: 70px;

        padding: 14px;

        gap: 10px;
    }

    .cover-title {

        font-size: 17px;
    }

    .status {

        padding: 5px 7px;

        font-size: 8px;
    }

    .comic-cover {

        height: 320px;
    }

    .reader-title h1 {

        font-size: 26px;
    }

}


/* =========================================================
   KLIKALNE AKTUALIZACJE ROZDZIAŁÓW
========================================================= */

.update-link {

    cursor: pointer;

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

}


/* NAJECHANIE MYSZKĄ */

.update-link:hover {

    background:
        linear-gradient(
            90deg,
            rgba(109, 70, 88, 0.18),
            rgba(109, 70, 88, 0.04),
            transparent
        );

    border-color:
        rgba(201, 149, 168, 0.45);

    padding-left: 12px;

}


/* TYTUŁ PO NAJECHANIU */

.update-link:hover .update-content h3 {

    color:
        var(--pink-light);

}


/* DATA */

.update-link:hover .update-date {

    color:
        var(--white);

}


/* DELIKATNY EFEKT DLA OPISU */

.update-link:hover .update-content p {

    color:
        var(--white);

}


/* KLAWIATURA */

.update-link:focus {

    outline:
        1px solid var(--pink);

    outline-offset:
        4px;

}


/* STRZAŁKA PO PRAWEJ */

.update-link .update-content {

    position: relative;

}


.update-link .update-content::after {

    content: "→";

    position: absolute;

    right: 5px;

    top: 50%;

    transform:
        translateY(-50%);

    color:
        var(--pink-light);

    font-size: 22px;

    opacity: 0;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;

}


.update-link:hover .update-content::after {

    opacity: 1;

    transform:
        translate(
            5px,
            -50%
        );

}


/* TELEFON */

@media (max-width: 600px) {

    .update-link:hover {

        padding-left: 0;

    }

    .update-link .update-content::after {

        display: none;

    }

}

/* =========================================
   KARUZELA BIBLIOTEKI — TELEFON
   Desktop pozostaje bez zmian.
========================================= */

.comic-carousel {
    position: relative;
    width: 100%;
}

.comic-carousel-arrow {
    display: none;
}

@media (max-width: 900px) {

    .comic-carousel {
        width: 100%;
    }

    .comic-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 7%;
        gap: 20px;
        max-width: none;
    }

    .comic-grid::-webkit-scrollbar {
        display: none;
    }

    .comic-grid .comic-card {
        flex: 0 0 84%;
        width: 84%;
        max-width: 420px;
        margin: 0;
        scroll-snap-align: center;
    }

    .comic-carousel-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 5;

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

        width: 38px;
        height: 58px;
        padding: 0;

        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 999px;
        background: rgba(9, 7, 10, 0.22);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);

        color: rgba(238, 231, 233, 0.72);
        font-family: inherit;
        font-size: 34px;
        font-weight: normal;
        line-height: 1;
        cursor: pointer;

        opacity: 0.58;
        transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
    }

    .comic-carousel-arrow:hover:not(:disabled),
    .comic-carousel-arrow:focus-visible {
        opacity: 0.9;
        background: rgba(9, 7, 10, 0.42);
        color: var(--white);
        outline: none;
    }

    .comic-carousel-arrow:disabled {
        opacity: 0.16;
        cursor: default;
        pointer-events: none;
    }

    .comic-carousel-prev {
        left: 3px;
    }

    .comic-carousel-next {
        right: 3px;
    }

}

/* =========================================
   MENU MOBILNE — NAWIGACJA
   (dodatek, bez zmian wyglądu desktopu)
========================================= */

.mobile-menu-toggle,
.mobile-menu {
    display: none;
}

@media (max-width: 900px) {

    .navbar {
        position: sticky;
        grid-template-columns: auto 1fr;
        column-gap: 14px;
        padding: 0 5%;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 10px;
        background: rgba(20, 16, 22, 0.78);
        cursor: pointer;
        flex-shrink: 0;
        z-index: 102;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 19px;
        height: 1px;
        background: var(--pink-light);
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .mobile-menu-toggle.is-open span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .mobile-menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .navbar .logo {
        min-width: 0;
        justify-self: start;
    }

    .navbar nav {
        display: none;
    }

    .navbar > .discord-top {
        display: none;
    }

    .mobile-menu {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        z-index: 101;
        display: block;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        background: rgba(9, 7, 10, 0.98);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border);
        transition: max-height 0.3s ease, opacity 0.2s ease;
    }

    .mobile-menu.is-open {
        max-height: calc(100vh - 75px);
        overflow-y: auto;
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-menu-nav {
        display: flex;
        flex-direction: column;
        padding: 10px 5% 18px;
    }

    .mobile-menu > a {
        display: flex;
        align-items: center;
        min-height: 50px;
        padding: 0 4px;
        color: var(--pink-light);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 15px;
        text-decoration: none;
        transition: color 0.2s ease, padding-left 0.2s ease;
    }

    .mobile-menu > a:last-child {
        border-bottom: 0;
    }

    .mobile-menu > a:hover,
    .mobile-menu > a:focus-visible {
        color: #f0d8e6;
        padding-left: 9px;
        outline: none;
    }

}

@media (max-width: 600px) {

    .navbar {
        height: 65px;
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: 12px;
        padding: 0 5%;
    }

    .mobile-menu {
        top: 65px;
    }

    .mobile-menu.is-open {
        max-height: calc(100vh - 65px);
    }

    .mobile-menu-toggle {
        width: 38px;
        height: 38px;
    }

    .mobile-menu > a {
        min-height: 48px;
    }

}
/* =====================================================
   TAGI MANHWY — OSOBNE PROSTOKĄTY
===================================================== */

.manhwa-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border: none;
    background: none;
    padding: 0;
}

.manhwa-tags span {
    display: inline-block;
    width: auto;
    padding: 7px 11px;
    margin: 0;

    border: 1px solid var(--border);
    background: rgba(109, 70, 88, 0.18);

    color: var(--gray);
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    box-sizing: border-box;
}

.manhwa-tags em {
    border: none;
    background: none;
    padding: 0;
    color: var(--gray-dark);
    font-size: 12px;
}

/* =========================================
   ZESPÓŁ — PODSTRONA
========================================= */

.team-page {
    padding: 110px 6% 120px;
}

.team-page-header {
    max-width: 900px;
    margin: 0 auto 42px;
    text-align: center;
}

.team-page-header h1 {
    margin: 10px 0 12px;
    font-family: "Marcellus", serif;
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 400;
    color: var(--white);
}

.team-page-header p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--gray);
    line-height: 1.8;
}

.team-carousel {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    align-items: center;
    gap: 16px;
}

.team-carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px, 220px);
    justify-content: center;
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 8px 4px 18px;
}

.team-carousel-track::-webkit-scrollbar {
    display: none;
}

.team-card {
    min-width: 0;
    padding: 24px 18px 22px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(109,70,88,.16), rgba(17,13,18,.78));
    text-align: center;
    scroll-snap-align: center;
    box-shadow: 0 12px 35px rgba(0,0,0,.22);
}

.team-card-image {
    width: 118px;
    height: 118px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    background: #11101c;
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink-dark);
    font-size: 42px;
    font-family: "Marcellus", serif;
}

.team-card h2 {
    margin: 0 0 6px;
    font-family: "Marcellus", serif;
    font-size: 20px;
    font-weight: 400;
    color: var(--white);
}

.team-card-role {
    margin: 0 0 12px;
    color: var(--pink-dark);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.team-card-description {
    margin: 0;
    color: var(--gray);
    font-size: 13px;
    line-height: 1.7;
}

.team-carousel-arrow {
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: rgba(20,15,22,.82);
    color: var(--white);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.team-carousel-arrow:hover {
    transform: translateY(-1px);
    background: rgba(109,70,88,.28);
    border-color: rgba(205,160,194,.35);
}

.team-empty {
    grid-column: 1 / -1;
    max-width: 620px;
    margin: 20px auto 0;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
    color: var(--gray);
    background: rgba(20,15,22,.62);
}

.team-loading {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--gray);
    padding: 30px;
}

@media (max-width: 760px) {
    .team-page {
        padding: 80px 18px 90px;
    }

    .team-carousel {
        grid-template-columns: 38px minmax(0,1fr) 38px;
        gap: 8px;
    }

    .team-carousel-track {
        grid-auto-columns: minmax(210px, 76vw);
        justify-content: start;
        gap: 14px;
    }

    .team-carousel-arrow {
        width: 38px;
        height: 38px;
        font-size: 23px;
    }
}

/* =====================================================
   LICZNIK — STRONA GŁÓWNA
===================================================== */

.stats-section {
    width: min(88%, 1200px);
    margin: 0 auto;
    padding: 78px 0 88px;
    box-sizing: border-box;
}

.stats-header {
    text-align: center;
    margin-bottom: 38px;
}

.stats-title {
    margin: 0;
    font-family: "Marcellus", serif;
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--white);
}

.stats-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 18px auto 0;
}

.stats-divider span {
    width: 70px;
    height: 1px;
    background: rgba(205, 160, 194, .55);
}

.stats-divider b {
    color: var(--white);
    font-size: 14px;
    font-weight: 400;
    transform: rotate(45deg);
}

.site-stats-carousel {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.site-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.site-stat-card {
    min-width: 0;
    min-height: 245px;
    padding: 26px 16px 24px;
    box-sizing: border-box;

    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    background: rgba(8, 8, 10, .96);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .18);

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

.site-stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(205, 160, 194, .42);
    box-shadow: 0 22px 48px rgba(0, 0, 0, .28);
}

.site-stat-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex: 0 0 auto;
}

.site-stat-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--white);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-stat-value {
    font-family: "Marcellus", serif;
    font-size: clamp(40px, 3.2vw, 58px);
    line-height: 1;
    color: var(--white);
    margin-bottom: 14px;
}

.site-stat-label {
    max-width: 175px;
    font-family: "Marcellus", serif;
    font-size: 15px;
    line-height: 1.4;
    color: var(--pink-dark);
}

.site-stats-arrow {
    display: none;
}


/* =====================================================
   LICZNIK — TABLET
===================================================== */

@media (max-width: 1099px) {
    .site-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }

    .site-stat-card {
        min-height: 250px;
    }
}


/* =====================================================
   LICZNIK — TELEFON / KARUZELA
===================================================== */

@media (max-width: 759px) {
    .stats-section {
        width: calc(100% - 30px);
        max-width: 520px;
        margin: 0 auto;
        padding: 60px 0 70px;
        box-sizing: border-box;
    }

    .stats-header {
        margin-bottom: 30px;
    }

    .site-stats-carousel {
        display: grid;
        grid-template-columns: 32px minmax(0, 1fr) 32px;
        align-items: center;
        gap: 8px;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    .site-stats-grid {
        display: flex;
        width: 100%;
        min-width: 0;
        overflow-x: auto;
        overflow-y: visible;
        gap: 14px;
        padding: 6px 2px 12px;
        margin: 0;
        box-sizing: border-box;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
    }

    .site-stats-grid::-webkit-scrollbar {
        display: none;
    }

    .site-stat-card {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        min-height: 235px;
        height: 235px;
        box-sizing: border-box;

        padding: 24px 16px;

        scroll-snap-align: center;
        scroll-snap-stop: always;
        overflow: hidden;
    }

    .site-stat-card:hover {
        transform: translateY(-2px);
    }

    .site-stat-icon {
        width: 68px;
        height: 68px;
        margin-bottom: 14px;
        flex: 0 0 auto;
    }

    .site-stat-value {
        font-size: 46px;
        line-height: 1;
        margin-bottom: 10px;
    }

    .site-stat-label {
        max-width: 240px;
        font-size: 15px;
        line-height: 1.35;
    }

    .site-stats-arrow {
        display: flex;
        width: 32px;
        height: 42px;
        padding: 0;
        margin: 0;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;

        border: 1px solid var(--border);
        border-radius: 12px;
        background: rgba(20, 15, 22, .72);
        color: var(--white);

        font-size: 28px;
        line-height: 1;
        cursor: pointer;

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

    .site-stats-arrow:hover:not(:disabled) {
        transform: translateY(-2px);
        background: rgba(109, 70, 88, .28);
        border-color: rgba(205, 160, 194, .35);
    }

    .site-stats-arrow:disabled {
        opacity: .28;
        cursor: default;
    }
}


/* =====================================================
   LICZNIK — FINALNA POPRAWKA UKŁADU MOBILNEGO
   Nie zmienia wyglądu desktopu.
===================================================== */

.site-stats-grid {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.site-stat-card {
    position: relative;
    box-sizing: border-box;
}

.site-stat-icon,
.site-stat-value,
.site-stat-label {
    position: static;
    float: none;
}

.site-stat-icon svg {
    display: block;
}

@media (max-width: 759px) {
    .stats-section {
        width: calc(100% - 30px);
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
        padding: 60px 0 70px;
        overflow: visible;
    }

    .stats-header {
        width: 100%;
        text-align: center;
        margin: 0 0 30px;
    }

    .stats-title {
        width: 100%;
        text-align: center;
    }

    .site-stats-carousel {
        width: 100%;
        min-width: 0;
        display: grid;
        grid-template-columns: 32px minmax(0, 1fr) 32px;
        align-items: center;
        gap: 8px;
        box-sizing: border-box;
        overflow: hidden;
    }

    .site-stats-grid {
        width: 100%;
        min-width: 0;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 14px;
        margin: 0;
        padding: 6px 2px 12px;
        box-sizing: border-box;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .site-stats-grid::-webkit-scrollbar {
        display: none;
    }

    .site-stat-card {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        height: 235px;
        min-height: 235px;
        margin: 0;
        padding: 24px 16px;
        box-sizing: border-box;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center;
        overflow: hidden;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .site-stat-icon {
        width: 68px;
        height: 68px;
        margin: 0 0 14px;
        flex: 0 0 auto;
    }

    .site-stat-icon svg {
        width: 100%;
        height: 100%;
        display: block;
    }

    .site-stat-value {
        margin: 0 0 10px;
        font-size: 46px;
        line-height: 1;
        flex: 0 0 auto;
    }

    .site-stat-label {
        max-width: 240px;
        margin: 0;
        font-size: 15px;
        line-height: 1.35;
        flex: 0 0 auto;
    }

    .site-stats-arrow {
        display: flex;
        width: 32px;
        height: 42px;
        padding: 0;
        margin: 0;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        border: 1px solid var(--border);
        border-radius: 12px;
        background: rgba(20, 15, 22, .72);
        color: var(--white);
        font-size: 28px;
        line-height: 1;
    }
}

/* MoonEclipse — zabezpieczenie ikon SVG licznika */
.site-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: visible;
    opacity: 1;
    overflow: visible;
}

.site-stat-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 58px;
    max-height: 58px;
    visibility: visible;
    opacity: 1;
    overflow: visible;
    stroke: currentColor;
    fill: none;
    color: var(--white);
    flex: 0 0 auto;
}


/* =====================================================
   HARMONOGRAM — ROZWIJANE PANELE NA MOBILE
   ===================================================== */
@media (max-width: 900px) {
    .schedule-collapsible {
        overflow: hidden;
    }

    .schedule-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        border: 0;
        padding: 0;
        margin: 0;
        background: transparent;
        color: inherit;
        font: inherit;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .schedule-toggle-icon {
        font-size: 18px;
        line-height: 1;
        transition: transform 0.25s ease;
        opacity: 0.75;
    }

    .schedule-collapsible .schedule-divider,
    .schedule-collapsible .schedule-list {
        display: none !important;
    }

    .schedule-collapsible.is-open .schedule-divider,
    .schedule-collapsible.is-open .schedule-list {
        display: block !important;
    }

    .schedule-collapsible.is-open .schedule-toggle-icon {
        transform: rotate(180deg);
    }
}

@media (min-width: 901px) {
    .schedule-toggle > span:first-child {
        display: block;
        font-family: "Marcellus", serif;
        font-size: 23px;
        font-weight: 400;
        color: #f3edf5;
        letter-spacing: 0.02em;
    }

    .schedule-toggle {
        border: 0;
        padding: 0;
        margin: 0;
        background: transparent;
        color: inherit;
        font: inherit;
        cursor: default;
    }

    .schedule-toggle-icon {
        display: none;
    }
}


/* =====================================================
   HARMONOGRAM — MOBILE FLEX HEIGHT FIX
   ===================================================== */
@media (max-width: 900px) {
    .schedule-collapsible {
        flex: 0 0 auto !important;
        align-self: stretch !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }
}

/* =====================================================
   AKTUALIZACJE — KARTA NIE JEST KLIKALNA
   Przycisk „Czytaj” jest jedynym elementem prowadzącym
   do linku aktualizacji.
===================================================== */
.update-card {
    -webkit-tap-highlight-color: transparent;
}

.update-read-button {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* =====================================================
   KATEGORIE — CZTERY PRZYCISKI W JEDNYM RZĘDZIE NA MOBILE
===================================================== */
@media (max-width: 900px) {
    .categories {
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        justify-content: stretch !important;
        gap: 5px !important;
        overflow: visible !important;
    }

    .categories .category {
        flex: 1 1 0 !important;
        width: 0 !important;
        min-width: 0 !important;
        max-width: none !important;
        box-sizing: border-box !important;
        padding: 10px 2px !important;
        margin: 0 !important;
        white-space: nowrap !important;
        text-align: center !important;
        font-size: 10px !important;
        line-height: 1.2 !important;
    }
}

@media (max-width: 360px) {
    .categories { gap: 3px !important; }
    .categories .category {
        padding-left: 1px !important;
        padding-right: 1px !important;
        font-size: 9px !important;
    }
}

/* „Czytaj” jest widocznym przyciskiem na telefonie. */
@media (max-width: 900px) {
    .update-read-button {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        min-height: 38px;
        padding: 9px 16px;
        border-radius: 7px;
    }

    .update-read-button-hint { cursor: default; }
}


/* =====================================================
   AKTUALIZACJE — PŁYNNY HOVER (DESKTOP)
   Bez dodatkowej strzałki — link jest już obsługiwany przez kartę.
   Na telefonie pozostaje bez hovera/podświetlenia.
   ===================================================== */
@media (min-width: 901px) {
    .update-card {
        cursor: pointer;
        transition:
            background 0.45s cubic-bezier(0.22, 1, 0.36, 1),
            border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .update-card:hover {
        background: rgba(109, 70, 88, 0.08);
        border-color: rgba(201, 149, 168, 0.32);
        transform: translateY(-2px);
    }
}

/* Telefon: brak efektu hover/podświetlenia całej aktualizacji. */
@media (max-width: 900px) {
    .update-card {
        cursor: default;
    }

    .update-card:hover {
        background: transparent;
        border-color: inherit;
        transform: none;
    }
}
