body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio-panel {
    position: relative;
    overflow-x: clip;
    --chapters-rail-inset: 0.75rem;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(196, 160, 85, 0.15) 12%,
        rgba(196, 160, 85, 0.55) 50%,
        rgba(196, 160, 85, 0.15) 88%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 2;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio-panel__head {
    position: relative;
    padding-bottom: 0.85rem;
    padding-inline-end: var(--chapters-rail-inset);
    margin-bottom: 0.35rem;
    border-bottom: 1px solid rgba(196, 160, 85, 0.22);
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio-panel__tools {
    flex-shrink: 0;
    width: auto;
    max-width: min(100%, 16.5rem);
    margin-inline-start: auto;
    padding-inline-end: 0.15rem;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio-panel__head::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.45rem;
    transform: translateX(-50%) rotate(45deg);
    width: 0.55rem;
    height: 0.55rem;
    background: linear-gradient(135deg, #d4b060 0%, #8b1a1a 100%);
    box-shadow: 0 0 0 3px rgba(255, 253, 248, 0.95);
    border-radius: 1px;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-detail-issue-panel__kicker {
    letter-spacing: 0.22em;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio-panel__subtitle {
    font-size: 0.875rem;
    color: var(--pro-muted, #6b5344);
    letter-spacing: 0.04em;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-filter,
body.zgds-home-pro.zgds-chapters-page .gzd-chapters-filter {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.45rem 0.55rem;
    width: min(16.5rem, 100%);
    min-width: min(100%, 14rem);
    padding: 0.38rem 0.9rem 0.38rem 0.72rem;
    border: 1px solid rgba(196, 160, 85, 0.38);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0%, rgba(250, 242, 228, 0.92) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 2px 8px rgba(74, 24, 24, 0.06);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-filter:hover,
body.zgds-home-pro.zgds-chapters-page .gzd-chapters-filter:hover {
    border-color: rgba(196, 160, 85, 0.52);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 3px 12px rgba(74, 24, 24, 0.08);
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-filter:focus-within,
body.zgds-home-pro.zgds-chapters-page .gzd-chapters-filter:focus-within {
    border-color: rgba(139, 26, 26, 0.42);
    background:
        linear-gradient(180deg, rgba(255, 255, 253, 1) 0%, rgba(255, 248, 238, 0.96) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.98),
        0 2px 10px rgba(74, 24, 24, 0.07);
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-filter__icon,
body.zgds-home-pro.zgds-chapters-page .gzd-chapters-filter__icon {
    position: static !important;
    left: auto !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.65rem;
    height: 1.65rem;
    color: var(--pro-red-deep, #6b1414);
    opacity: 0.58;
    pointer-events: none;
    border-radius: 50%;
    background: transparent;
    transition:
        opacity 0.2s ease,
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-filter:hover .gzd-chapters-filter__icon,
body.zgds-home-pro.zgds-chapters-page .gzd-chapters-filter:hover .gzd-chapters-filter__icon {
    opacity: 0.82;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-filter:focus-within .gzd-chapters-filter__icon,
body.zgds-home-pro.zgds-chapters-page .gzd-chapters-filter:focus-within .gzd-chapters-filter__icon {
    opacity: 0.92;
    color: var(--pro-red-deep, #6b1414);
    background: transparent;
    box-shadow: none;
    transform: none;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-filter__input,
body.zgds-home-pro.zgds-chapters-page .gzd-chapters-filter__input {
    width: 100%;
    min-width: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0.28rem 0 !important;
    font-size: 0.9375rem;
    color: var(--pro-ink, #2c1810);
    writing-mode: horizontal-tb;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-filter__input::placeholder,
body.zgds-home-pro.zgds-chapters-page .gzd-chapters-filter__input::placeholder {
    color: rgba(120, 90, 70, 0.55);
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-filter__input:focus,
body.zgds-home-pro.zgds-chapters-page .gzd-chapters-filter__input:focus,
body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-filter__input:focus-visible,
body.zgds-home-pro.zgds-chapters-page .gzd-chapters-filter__input:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio,
body.zgds-home-pro[data-page-role="chapters"] .gzd-detail-issue-catalog.gzd-chapters-folio {
    position: relative;
    min-width: 0;
    max-width: 100%;
    padding: 0.15rem 0 0;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio__scroll {
    position: relative;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
    overflow-y: visible;
    padding: 0.35rem var(--chapters-rail-inset) 0.35rem 0.15rem;
    border-radius: 0.65rem;
    background: transparent;
    box-shadow: none;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio__scroll::before {
    display: none;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio__list {
    display: flex;
    flex-direction: column;
    gap: 0.72rem;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio-item-wrap {
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.zgds-home-pro[data-page-role="chapters"] a.gzd-chapters-folio-item {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio-item {
    position: relative;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
        "seq content read";
    align-items: center;
    gap: 0.85rem 0.9rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 4.75rem;
    padding: 0.95rem 0.85rem 0.95rem 0.85rem;
    border: 1px solid rgba(196, 160, 85, 0.2);
    border-left: 3px solid rgba(196, 160, 85, 0.35);
    border-radius: 0.62rem;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(252, 246, 235, 0.92) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 2px 10px rgba(42, 18, 18, 0.04);
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio-item:not(:has(.gzd-chapters-index__read)) {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "seq content";
}

body.zgds-home-pro[data-page-role="chapters"] a.gzd-chapters-folio-item:hover,
body.zgds-home-pro[data-page-role="chapters"] a.gzd-chapters-folio-item:focus-visible {
    border-color: rgba(196, 160, 85, 0.38);
    border-left-color: var(--pro-red-deep, #6b1414);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 248, 238, 0.98) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.98),
        0 8px 22px rgba(74, 24, 24, 0.09);
    transform: translateY(-1px);
    outline: none;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio-item--static {
    opacity: 0.72;
    cursor: default;
    border-style: dashed;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio-item__seq {
    grid-area: seq;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    flex-shrink: 0;
    align-self: start;
    margin-top: 0.08rem;
    font-family: var(--ui-font-serif, "Noto Serif SC", serif);
    font-size: 0.8125rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--pro-red-deep, #6b1414);
    border-radius: 50%;
    border: 1px solid rgba(196, 160, 85, 0.38);
    background: linear-gradient(180deg, rgba(255, 248, 238, 0.98), rgba(250, 236, 220, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
    transition: border-color 0.2s ease, background 0.2s ease;
}

body.zgds-home-pro[data-page-role="chapters"] a.gzd-chapters-folio-item:hover .gzd-chapters-folio-item__seq,
body.zgds-home-pro[data-page-role="chapters"] a.gzd-chapters-folio-item:focus-visible .gzd-chapters-folio-item__seq {
    border-color: rgba(139, 26, 26, 0.35);
    background: linear-gradient(180deg, rgba(255, 252, 245, 1), rgba(255, 240, 225, 0.95));
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio-item__content {
    grid-area: content;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio-item__head {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio-item__title {
    display: block;
    flex: 1 1 0%;
    min-width: 0;
    font-family: var(--ui-font-serif, "Noto Serif SC", serif);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: var(--pro-ink, #2c1810);
    word-break: break-word;
    overflow-wrap: anywhere;
}

body.zgds-home-pro[data-page-role="chapters"] a.gzd-chapters-folio-item:hover .gzd-chapters-folio-item__title,
body.zgds-home-pro[data-page-role="chapters"] a.gzd-chapters-folio-item:focus-visible .gzd-chapters-folio-item__title {
    color: var(--pro-red-deep, #6b1414);
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio-item--page-only .gzd-chapters-folio-item__title {
    color: var(--pro-muted, #6b5344);
    font-style: italic;
    font-weight: 600;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio-item__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.55rem;
    width: 100%;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio-item__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
    min-height: 1.65rem;
    padding: 0.12rem 0.55rem 0.12rem 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(196, 160, 85, 0.22);
    background: rgba(255, 252, 245, 0.92);
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio-item__chip-k {
    flex-shrink: 0;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(107, 83, 68, 0.58);
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio-item__chip-v {
    min-width: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--pro-muted, #6b5344);
    word-break: break-word;
    overflow-wrap: anywhere;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-index__read {
    grid-area: read;
    position: relative;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.32rem;
    flex: 0 0 auto;
    align-self: center;
    margin: 0;
    min-height: 2rem;
    padding: 0.38rem 0.82rem 0.38rem 0.78rem;
    font-family: var(--ui-font-serif, "Noto Serif SC", serif);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #fffef9;
    white-space: nowrap;
    border: 1px solid rgba(212, 176, 101, 0.58);
    border-radius: 0.45rem;
    background: linear-gradient(168deg, #a82828 0%, #6b1414 55%, #4a1010 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2),
        0 3px 10px rgba(74, 24, 24, 0.28);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    transition:
        filter 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.18s ease,
        border-color 0.2s ease;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-index__read::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, #e8c868 0%, #c4a055 52%, #a88838 100%);
    opacity: 0.92;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-index__read::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.16) 0%, transparent 38%),
        radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.12) 0%, transparent 42%);
    opacity: 0.85;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-index__read-text,
body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-index__read-icon {
    position: relative;
    z-index: 1;
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-index__read-icon {
    flex-shrink: 0;
    color: #f5e6c8;
    opacity: 0.95;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

body.zgds-home-pro[data-page-role="chapters"] a.gzd-chapters-folio-item:hover .gzd-chapters-index__read,
body.zgds-home-pro[data-page-role="chapters"] a.gzd-chapters-folio-item:focus-visible .gzd-chapters-index__read {
    filter: brightness(1.07);
    border-color: rgba(232, 200, 104, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.16),
        0 6px 16px rgba(74, 24, 24, 0.34);
    transform: translateY(-1px);
}

body.zgds-home-pro[data-page-role="chapters"] a.gzd-chapters-folio-item:hover .gzd-chapters-index__read-icon,
body.zgds-home-pro[data-page-role="chapters"] a.gzd-chapters-folio-item:focus-visible .gzd-chapters-index__read-icon {
    opacity: 1;
    transform: translateX(2px);
}

body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-filter-empty {
    margin-top: 0.85rem;
    padding: 0.65rem 1rem;
    border-radius: 0.45rem;
    border: 1px dashed rgba(196, 160, 85, 0.45);
    background: rgba(255, 251, 242, 0.65);
    text-align: center;
    font-size: 0.875rem;
    color: var(--pro-muted, #6b5344);
}

@media (max-width: 767px) {
    body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio-panel__head {
        padding-inline-end: 0;
    }

    body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio-panel__tools {
        width: 100%;
        max-width: none;
        padding-inline-end: 0;
    }

    body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-filter {
        width: 100%;
        min-width: 0;
    }

    body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio__scroll {
        padding-inline: 0.1rem 0.35rem;
    }

    body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-filter__input {
        min-width: 0;
        flex: 1;
    }

    body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio-item {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "seq content"
            "read read";
        gap: 0.65rem 0.75rem;
        padding: 0.85rem 0.75rem 0.85rem 0.75rem;
        align-items: start;
    }

    body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio-item:not(:has(.gzd-chapters-index__read)) {
        grid-template-areas: "seq content";
    }

    body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-index__read {
        justify-self: end;
        margin-top: 0.15rem;
        min-height: 1.9rem;
        padding: 0.34rem 0.72rem;
        font-size: 0.75rem;
    }

    body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio-item__head {
        width: 100%;
        min-width: 0;
    }

    body.zgds-home-pro[data-page-role="chapters"] .gzd-chapters-folio-item__title {
        font-size: 1rem;
    }
}
