.special-reader-body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0) 34%),
        linear-gradient(180deg, var(--special-chrome, #8d19f5) 0%, var(--special-chrome, #8d19f5) 74px, #f8f8fc 74px, #f8f8fc calc(100% - 56px), var(--special-chrome, #8d19f5) calc(100% - 56px), var(--special-chrome, #8d19f5) 100%);
    color: #151515;
    overflow-x: hidden;
}

.special-reader-body::before,
.special-reader-body::after {
    content: '';
    position: fixed;
    inset: auto 0 0 0;
    pointer-events: none;
}

.special-reader-body::before {
    top: 0;
    height: 74px;
    background: linear-gradient(90deg, #b84bff 0%, var(--special-chrome, #8d19f5) 52%, #5200ff 100%);
    z-index: 0;
}

.special-reader-body::after {
    height: 56px;
    background: linear-gradient(90deg, #b84bff 0%, var(--special-chrome, #8d19f5) 52%, #5200ff 100%);
    z-index: 0;
}

.special-reader-body .scrollToTop {
    display: none !important;
}

.special-app-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.special-appbar {
    position: relative;
    z-index: 2;
    min-height: 74px;
    padding: 14px clamp(18px, 2.8vw, 34px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #fff95f;
}

.special-appbar__brand {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.special-appbar__brand-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #fff;
}

.special-appbar__brand-link:hover {
    color: #fff;
    opacity: 0.94;
}

.special-appbar__brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.72);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.special-appbar__brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1;
}

.special-appbar__brand-copy strong {
    color: #fff;
    font-size: 28px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.special-appbar__eyebrow {
    color: rgba(255, 255, 255, 0.74);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.special-appbar__edition {
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 420px;
}

.special-appbar__edition span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.special-appbar__edition strong {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.special-appbar__tools {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
}

.special-icon-button,
.special-appbar__counter {
    min-height: 44px;
    border-radius: 999px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 249, 95, 0.24);
    color: #fff95f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(17, 24, 39, 0.12);
    backdrop-filter: blur(10px);
}

.special-icon-button:hover {
    color: #fff95f;
    background: rgba(255, 255, 255, 0.12);
}

.special-icon-button i {
    font-size: 17px;
}

.special-icon-button.is-muted {
    color: rgba(255, 255, 255, 0.74);
}

.special-appbar__counter {
    min-width: 138px;
}

.special-appbar__cta {
    flex: 0 0 auto;
    min-height: 52px;
    border-radius: 999px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, var(--special-chrome, #8d19f5) 0%, #5200ff 100%);
    color: #fff95f;
    font-size: 17px;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(44, 11, 83, 0.25);
    border: 2px solid rgba(255, 249, 95, 0.16);
}

.special-appbar__cta:hover {
    color: #fff95f;
    transform: translateY(-1px);
}

.special-appbar__cta-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.special-appbar__cta--secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 249, 95, 0.24);
    box-shadow: 0 10px 20px rgba(17, 24, 39, 0.12);
}

.special-app-main {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(18px, 2.4vw, 34px) clamp(12px, 2.8vw, 36px);
}

.special-stage-panel {
    width: min(1580px, 100%);
    background: rgba(255, 255, 255, 0.94);
    border-radius: 28px;
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
    padding: 18px 24px 24px;
    backdrop-filter: blur(8px);
}

.special-stage-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 24px 12px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.special-stage-strip__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.special-stage-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(255, 249, 95, 0.8);
    color: var(--special-chrome, #8d19f5);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.special-stage-strip__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.special-stage-strip__title {
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.special-reader-shell {
    background: linear-gradient(135deg, #f7f0e4 0%, #fff8ee 100%);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
    padding: 32px;
}

.special-reader-toolbar,
.special-reader-footer,
.special-reader-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.special-reader-status,
.special-reader-indicator {
    color: #111827;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.special-reader-stage-wrap {
    position: relative;
    margin-top: 16px;
    padding: 18px 98px;
    border-radius: 24px;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.94) 0%, rgba(252, 250, 255, 0.92) 48%, rgba(242, 236, 255, 0.9) 100%);
    overflow: hidden;
    min-height: 780px;
    perspective: 2800px;
}

.special-reader-stage {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
}

.special-sheet {
    position: relative;
    flex: 0 0 auto;
    width: 520px;
    height: 736px;
    padding: 12px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow:
        0 26px 40px rgba(17, 24, 39, 0.18),
        0 0 0 1px rgba(0, 0, 0, 0.16);
}

.special-sheet::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    pointer-events: none;
}

.special-sheet.left {
    transform-origin: left center;
}

.special-sheet.right {
    transform-origin: right center;
}

.special-sheet-frame {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 2px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.08);
}

.special-sheet-scroll {
    width: 100%;
    height: 100%;
    overflow: auto;
    padding: 24px;
    scrollbar-width: thin;
    scrollbar-color: var(--special-accent, #d63535) rgba(17, 24, 39, 0.08);
}

.special-sheet-scroll::-webkit-scrollbar {
    width: 8px;
}

.special-sheet-scroll::-webkit-scrollbar-thumb {
    background: var(--special-accent, #d63535);
    border-radius: 999px;
}

.special-sheet-scroll::-webkit-scrollbar-track {
    background: rgba(17, 24, 39, 0.06);
}

.special-flipbook-page {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.special-flipbook-page--cover,
.special-flipbook-page--quote {
    justify-content: center;
}

.special-flipbook-page--cover .special-block-media img {
    min-height: 260px;
}

.special-flipbook-page--media .special-block-video::before {
    padding-top: 62%;
}

.special-page-chip {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(214, 53, 53, 0.1);
    color: var(--special-accent, #d63535);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.special-page-heading h2 {
    font-size: clamp(28px, 2.4vw, 38px);
    line-height: 1.04;
    color: #111827;
    margin: 0 0 10px;
}

.special-page-heading p {
    color: #6b7280;
    font-size: 15px;
    margin: 0;
}

.special-block-eyebrow {
    display: inline-block;
    color: var(--special-accent, #d63535);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.special-block-title {
    margin: 0;
    color: #111827;
    font-size: clamp(28px, 2.2vw, 34px);
    line-height: 1.06;
}

.special-block-text p {
    color: #374151;
    font-size: 16px;
    line-height: 1.72;
    margin: 0 0 12px;
}

.special-block-text p:last-child {
    margin-bottom: 0;
}

.special-block-quote {
    margin: 0;
    padding: 18px 20px;
    border-left: 4px solid var(--special-accent, #d63535);
    background: rgba(214, 53, 53, 0.06);
    border-radius: 16px;
    color: #111827;
    font-size: 22px;
    line-height: 1.45;
    font-weight: 700;
}

.special-block-media {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.special-block-media img {
    width: 100%;
    display: block;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
}

.special-block-media figcaption {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.55;
}

.special-block-video {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: #111827;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.15);
}

.special-block-video::before {
    content: '';
    display: block;
    padding-top: 56.25%;
}

.special-block-video iframe,
.special-block-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.special-block-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--special-accent, #d63535);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 14px 26px rgba(214, 53, 53, 0.22);
}

.special-block-button:hover {
    color: #fff;
    opacity: 0.94;
}

.special-page-number {
    position: absolute;
    right: 18px;
    bottom: 16px;
    z-index: 3;
    min-height: 34px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.88);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.special-reader-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 7;
    border: 0;
    background: transparent;
    color: #111827;
    font-size: 60px;
    line-height: 1;
    width: 64px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.special-reader-nav.prev {
    left: 12px;
}

.special-reader-nav.next {
    right: 12px;
}

.special-reader-nav:hover {
    color: var(--special-accent, #d63535);
}

.special-reader-nav:disabled {
    opacity: 0.28;
    cursor: not-allowed;
}

.special-turn-overlay {
    position: absolute;
    z-index: 6;
    pointer-events: none;
    transform-style: preserve-3d;
}

.special-turn-overlay.next {
    transform-origin: right center;
}

.special-turn-overlay.prev {
    transform-origin: left center;
}

.special-turn-overlay .special-sheet {
    width: 100%;
    height: 100%;
    margin: 0;
}

.special-turn-shadow {
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.04) 0%, rgba(17, 24, 39, 0.32) 52%, rgba(17, 24, 39, 0.06) 100%);
    opacity: 0.08;
}

.special-turn-hotspot {
    position: absolute;
    z-index: 5;
    background: transparent;
    touch-action: none;
}

.special-turn-hotspot.edge-left,
.special-turn-hotspot.edge-right {
    top: 0;
    width: 28px;
    height: 100%;
}

.special-turn-hotspot.edge-left {
    left: 0;
    cursor: w-resize;
}

.special-turn-hotspot.edge-right {
    right: 0;
    cursor: e-resize;
}

.special-turn-hotspot.corner-left,
.special-turn-hotspot.corner-right {
    top: 0;
    width: 90px;
    height: 90px;
}

.special-turn-hotspot.corner-left {
    left: 0;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    cursor: nw-resize;
}

.special-turn-hotspot.corner-right {
    right: 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    cursor: ne-resize;
}

.special-app-footer {
    position: relative;
    z-index: 2;
    min-height: 56px;
    padding: 10px clamp(16px, 2.4vw, 34px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #fff95f;
}

.special-app-footer__copy {
    display: flex;
    align-items: baseline;
    gap: 12px;
    min-width: 0;
}

.special-app-footer__copy strong {
    color: #fff95f;
    font-size: 18px;
    font-weight: 800;
}

.special-app-footer__copy span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.special-footer-button {
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 249, 95, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #fff95f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.special-footer-button:hover {
    background: rgba(255, 255, 255, 0.13);
}

.special-footer-button:disabled {
    opacity: 0.35;
}

.special-page-empty {
    text-align: center;
    color: #6b7280;
    padding: 40px 20px;
}

.special-page-templates {
    display: none;
}

@media (max-width: 1400px) {
    .special-appbar__edition {
        display: none;
    }

    .special-reader-stage-wrap {
        min-height: 720px;
        padding: 16px 88px;
    }
}

@media (max-width: 1199px) {
    .special-appbar {
        flex-wrap: wrap;
        justify-content: center;
    }

    .special-appbar__brand,
    .special-appbar__tools {
        justify-content: center;
    }

    .special-appbar__cta-group {
        order: 4;
    }

    .special-appbar__cta {
        order: 4;
    }

    .special-stage-strip {
        flex-direction: column;
        align-items: stretch;
    }

    .special-stage-strip__meta {
        justify-content: space-between;
    }
}

@media (max-width: 991px) {
    .special-app-main {
        padding: 16px 12px;
    }

    .special-stage-panel {
        padding: 14px 16px 18px;
        border-radius: 22px;
    }

    .special-reader-stage-wrap {
        min-height: 660px;
        padding: 12px 66px;
    }

    .special-reader-nav {
        font-size: 50px;
        width: 52px;
    }

    .special-app-footer {
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        padding: 10px 14px;
    }

    .special-app-footer__copy {
        justify-content: center;
        flex-wrap: wrap;
    }

    .special-reader-actions {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .special-reader-body {
        background:
            linear-gradient(180deg, var(--special-chrome, #8d19f5) 0%, var(--special-chrome, #8d19f5) 108px, #f8f8fc 108px, #f8f8fc calc(100% - 74px), var(--special-chrome, #8d19f5) calc(100% - 74px), var(--special-chrome, #8d19f5) 100%);
    }

    .special-reader-body::before {
        height: 108px;
    }

    .special-reader-body::after {
        height: 74px;
    }

    .special-appbar {
        min-height: 0;
        padding: 10px 10px 12px;
        gap: 10px;
    }

    .special-appbar__brand {
        gap: 12px;
    }

    .special-appbar__brand-mark {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .special-appbar__brand-copy strong {
        font-size: 18px;
    }

    .special-appbar__eyebrow {
        margin-bottom: 4px;
        font-size: 9px;
    }

    .special-appbar__tools {
        width: 100%;
        flex-wrap: wrap;
        gap: 6px;
    }

    .special-icon-button,
    .special-appbar__counter {
        min-height: 32px;
        padding: 0 10px;
        font-size: 10px;
        gap: 6px;
        border-radius: 16px;
    }

    .special-icon-button i {
        font-size: 13px;
    }

    .special-appbar__counter {
        min-width: 96px;
    }

    .special-appbar__cta-group {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .special-appbar__cta {
        min-height: 36px;
        padding: 0 14px;
        font-size: 12px;
        border-width: 1px;
    }

    .special-stage-strip {
        padding: 0 0 6px;
    }

    .special-stage-strip__meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .special-reader-stage-wrap {
        padding: 8px 10px 68px;
        min-height: 536px;
    }

    .special-reader-stage {
        min-height: 458px;
    }

    .special-sheet {
        width: 320px;
        height: 454px;
        padding: 10px;
    }

    .special-sheet-scroll {
        padding: 18px;
    }

    .special-page-heading h2,
    .special-block-title {
        font-size: 24px;
    }

    .special-reader-nav {
        top: auto;
        bottom: 12px;
        transform: none;
        font-size: 34px;
        width: 36px;
        height: 36px;
    }

    .special-reader-nav.prev {
        left: calc(50% - 56px);
    }

    .special-reader-nav.next {
        right: calc(50% - 56px);
    }

    .special-app-footer {
        min-height: 0;
        gap: 8px;
        padding: 6px 10px 8px;
    }

    .special-app-footer__copy strong {
        font-size: 14px;
    }

    .special-reader-actions {
        gap: 8px;
    }

    .special-footer-button {
        min-height: 30px;
        padding: 0 12px;
        font-size: 10px;
    }

    .special-app-footer__copy span {
        display: none;
    }
}

@media (max-width: 430px) {
    .special-reader-body {
        background:
            linear-gradient(180deg, var(--special-chrome, #8d19f5) 0%, var(--special-chrome, #8d19f5) 90px, #f8f8fc 90px, #f8f8fc calc(100% - 62px), var(--special-chrome, #8d19f5) calc(100% - 62px), var(--special-chrome, #8d19f5) 100%);
    }

    .special-reader-body::before {
        height: 90px;
    }

    .special-reader-body::after {
        height: 62px;
    }

    .special-app-main {
        padding: 10px 8px;
    }

    .special-stage-panel {
        padding: 10px 10px 12px;
        border-radius: 18px;
    }

    .special-appbar {
        padding: 8px 8px 8px;
        gap: 8px;
    }

    .special-appbar__brand {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }

    .special-appbar__brand-mark {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .special-appbar__brand-copy strong {
        font-size: 16px;
        letter-spacing: 0.04em;
    }

    .special-appbar__eyebrow {
        font-size: 8px;
        letter-spacing: 0.16em;
    }

    .special-appbar__tools {
        gap: 4px;
    }

    .special-icon-button {
        min-width: 28px;
        min-height: 28px;
        padding: 0 8px;
        gap: 0;
        border-radius: 14px;
    }

    .special-icon-button span {
        width: 0;
        overflow: hidden;
        font-size: 0;
        line-height: 0;
    }

    .special-icon-button i {
        font-size: 12px;
    }

    .special-appbar__counter {
        min-width: 74px;
        min-height: 28px;
        padding: 0 8px;
        font-size: 9px;
    }

    .special-appbar__cta-group {
        gap: 6px;
    }

    .special-appbar__cta {
        min-height: 30px;
        padding: 0 12px;
        font-size: 11px;
        border-radius: 15px;
    }

    .special-stage-strip__title {
        font-size: 12px;
    }

    .special-reader-indicator {
        font-size: 12px;
    }

    .special-reader-stage-wrap {
        padding: 6px 6px 56px;
        min-height: 510px;
        border-radius: 18px;
    }

    .special-reader-stage {
        min-height: 432px;
    }

    .special-sheet {
        padding: 8px;
    }

    .special-sheet-scroll {
        padding: 14px;
    }

    .special-reader-nav {
        bottom: 10px;
        font-size: 30px;
        width: 32px;
        height: 32px;
    }

    .special-reader-nav.prev {
        left: calc(50% - 50px);
    }

    .special-reader-nav.next {
        right: calc(50% - 50px);
    }

    .special-app-footer {
        gap: 6px;
        padding: 4px 8px 6px;
    }

    .special-app-footer__copy strong {
        font-size: 12px;
    }

    .special-reader-actions {
        gap: 6px;
    }

    .special-footer-button {
        min-height: 26px;
        padding: 0 9px;
        font-size: 9px;
    }
}
