.wpws-control-mobile {
    display: none !important;
}

/* Let the WordPress document own vertical scrolling. The original fixed-height
   reader created a second scrollbar inside the edition canvas. */
.wpws-reader-grid,
.wpws-sidebar-right .wpws-reader-grid {
    height: auto;
    min-height: 0;
}

.wpws-stage {
    overflow: visible;
}

.wpws-reader-grid {
    align-items: start;
}

.wpws-thumbnails {
    align-self: start;
    max-height: none;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.wpws-reader.is-zoomed .wpws-stage {
    overflow: hidden;
}

.wpws-reader.is-zoomed:not(.is-clipping) .wpws-page-shell {
    cursor: grab;
    touch-action: none;
    user-select: none;
    will-change: transform;
}

.wpws-reader.is-panning:not(.is-clipping) .wpws-page-shell {
    cursor: grabbing;
}

.wpws-reader.is-zoomed .wpws-public-hotspot {
    cursor: pointer;
}

.wpws-icon {
    display: block;
    height: 20px;
    pointer-events: none;
    width: 20px;
}

.wpws-sr-only {
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.wpws-share-actions button {
    align-items: center;
    border-radius: 50%;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    padding: 0;
    position: relative;
    width: 44px;
}

.wpws-share-actions button::after {
    background: #111827;
    border-radius: 5px;
    bottom: calc(100% + 7px);
    color: white;
    content: attr(data-tooltip);
    font-size: 11px;
    left: 50%;
    opacity: 0;
    padding: 5px 7px;
    pointer-events: none;
    position: absolute;
    transform: translate(-50%, 4px);
    transition: .15s ease;
    visibility: hidden;
    white-space: nowrap;
    z-index: 4;
}

.wpws-share-actions button:hover::after,
.wpws-share-actions button:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0);
    visibility: visible;
}

.wpws-share-actions button:focus-visible,
.wpws-reader button:focus-visible,
.wpws-reader a:focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 2px;
}

.wpws-epaper-theme-page {
    clear: both;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    width: 100%;
}

.wpws-epaper-archive-page {
    background: #e8edf5;
    min-height: 60vh;
}

.wpws-epaper-theme-page .wpws-archive {
    padding-bottom: 32px;
    padding-top: 24px;
}

.wpws-epaper-theme-page .wpws-archive > header {
    border-radius: 16px;
    margin-bottom: 18px;
    padding: 20px 28px;
}

.wpws-epaper-theme-page .wpws-archive > header span {
    font-size: 13px;
}

.wpws-epaper-theme-page .wpws-archive h1 {
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.1;
    margin: 5px 0;
}

.wpws-epaper-theme-page .wpws-archive > header p {
    font-size: 14px;
    margin: 6px 0 0;
}

.wpws-reader-header .wpws-icon-button {
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 6px;
}

.wpws-control-all,
.wpws-control-desktop {
    display: inline-flex !important;
}

.wpws-reader-toolbar {
    position: sticky;
}

.wpws-reader-toolbar button,
.wpws-reader-toolbar a {
    appearance: none;
    align-items: center;
    font-family: inherit;
    font-size: 13px;
    font-style: normal;
    font-weight: 650;
    justify-content: center;
    line-height: 1.15;
    text-align: center;
}

.wpws-reader-toolbar .wpws-page-position select {
    background: #fff;
    border: 1px solid #ccd6e3;
    border-radius: 6px;
    color: #17315c;
    font-family: inherit;
    font-size: 13px;
    font-weight: 650;
    line-height: 1;
    height: 36px;
    min-width: 64px;
    padding: 4px 24px 4px 8px;
    text-align: center;
    width: 68px;
}

@media (min-width: 761px) {
    .wpws-reader-toolbar {
        background: linear-gradient(180deg,#132230,#09151f);
        border-bottom-color: #2d4254;
        box-shadow: 0 4px 14px rgba(3,12,20,.28);
        gap: 4px;
        min-height: 58px;
        padding: 4px 12px;
    }

    .wpws-reader-toolbar button,
    .wpws-reader-toolbar a {
        background: transparent;
        border: 0;
        border-radius: 5px;
        color: #f8fafc;
        display: inline-flex;
        flex-direction: column;
        gap: 3px;
        min-height: 48px;
        min-width: 50px;
        padding: 5px 9px;
    }

    .wpws-reader-toolbar button:hover,
    .wpws-reader-toolbar a:hover,
    .wpws-reader-toolbar button:focus-visible,
    .wpws-reader-toolbar a:focus-visible { background: #253848; color: #fff; }
    .wpws-reader-toolbar button:disabled { opacity: .38; }
    .wpws-reader-toolbar .wpws-control-symbol { align-items: center; display: flex; justify-content: center; order: -1; }
    .wpws-reader-toolbar .wpws-control-symbol svg,.wpws-reader-toolbar button > svg { height: 21px; width: 21px; }
    .wpws-reader-toolbar .wpws-control-text { color: inherit; display: block; font-size: 11px; line-height: 1; }
    .wpws-reader-toolbar .wpws-page-position select { background: #0e1b26; border-color: #344959; color: #fff; height: 42px; }
    .wpws-reader-toolbar .wpws-page-nav-toolbar,.wpws-reader-toolbar .wpws-zoom-control { border: 1px solid #344959; min-height: 34px; min-width: 36px; padding: 5px; }
    .wpws-reader-toolbar .wpws-page-nav-toolbar svg,.wpws-reader-toolbar .wpws-zoom-control svg { height: 18px; width: 18px; }
    .wpws-zoom-value { align-items: center; background: #0e1b26; border-block: 1px solid #344959; color: #fff; display: inline-flex !important; font-size: 12px; font-weight: 750; height: 34px; justify-content: center; margin-inline: -4px; min-width: 48px; }
    .wpws-floating-share-anchor.wpws-control-desktop,
    .wpws-floating-share-anchor.wpws-control-all { display: none !important; }
}

.wpws-pages-picker {
    align-items: center;
    background: rgba(6, 15, 28, .82);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 28px;
    position: fixed;
    z-index: 95;
}

.wpws-pages-picker[hidden] { display: none; }
.wpws-pages-picker-panel { background: #fff; border-radius: 16px; box-shadow: 0 24px 70px rgba(0, 0, 0, .3); max-height: min(82vh, 850px); max-width: 1050px; overflow: hidden; width: 100%; }
.wpws-pages-picker-panel > header { align-items: center; border-bottom: 1px solid #d8e0ea; display: flex; justify-content: space-between; padding: 14px 18px; }
.wpws-pages-picker-panel h2 { color: #172033; font-size: 20px; margin: 0; }
.wpws-pages-picker-panel > header button { align-items: center; background: #eef2f7; border: 0; border-radius: 50%; color: #172033; display: flex; height: 36px; justify-content: center; padding: 0; width: 36px; }
.wpws-pages-picker-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); max-height: calc(min(82vh, 850px) - 66px); overflow-y: auto; padding: 18px; }
.wpws-pages-picker-grid button { background: #f8fafc; border: 2px solid transparent; border-radius: 10px; color: #172033; padding: 7px; }
.wpws-pages-picker-grid button.active { border-color: var(--wpws-accent); box-shadow: 0 0 0 2px rgba(37, 99, 235, .15); }
.wpws-pages-picker-grid img { aspect-ratio: 3/4; display: block; object-fit: contain; width: 100%; }
.wpws-pages-picker-grid span { display: block; font-size: 12px; font-weight: 700; padding-top: 6px; text-align: center; }

.wpws-reader-share {
    align-items: center;
    background: rgba(6, 15, 28, .82);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 96;
}

.wpws-reader-share[hidden] { display: none; }
.wpws-reader-share-panel { background: #fff; border-radius: 16px; box-shadow: 0 24px 70px rgba(0, 0, 0, .3); color: #172033; max-width: 560px; overflow: visible; width: 100%; }
.wpws-reader-share-panel > header { align-items: center; border-bottom: 1px solid #d8e0ea; display: flex; justify-content: space-between; padding: 14px 18px; }
.wpws-reader-share-panel h2 { font-size: 20px; margin: 0; }
.wpws-reader-share-panel > header button { align-items: center; background: #eef2f7; border: 0; border-radius: 50%; color: #172033; display: flex; height: 36px; justify-content: center; padding: 0; width: 36px; }
.wpws-reader-share-body { padding: 20px; text-align: center; }
.wpws-reader-share-scope { background: #eef2f7; border-radius: 10px; display: grid; gap: 5px; grid-template-columns: 1fr 1fr; padding: 5px; }
.wpws-reader-share-scope button { background: transparent; border: 0; border-radius: 7px; color: #334155; font-family: inherit; font-size: 13px; font-weight: 700; line-height: 1.2; min-height: 38px; padding: 7px 12px; }
.wpws-reader-share-scope button.active { background: #fff; box-shadow: 0 2px 8px rgba(15, 35, 64, .12); color: var(--wpws-accent); }
.wpws-reader-share-body > p { color: #64748b; margin: 16px 0 12px; }
.wpws-reader-share-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 6px 0 12px; }
.wpws-reader-share-actions button { align-items: center; background: #17315c; border: 0; border-radius: 50%; color: #fff; display: flex; height: 44px; justify-content: center; padding: 0; position: relative; width: 44px; }
.wpws-reader-share-actions button::after { background: #111827; border-radius: 5px; bottom: calc(100% + 7px); color: #fff; content: attr(data-tooltip); font-size: 11px; left: 50%; opacity: 0; padding: 5px 7px; pointer-events: none; position: absolute; transform: translate(-50%, 4px); transition: .15s ease; visibility: hidden; white-space: nowrap; z-index: 4; }
.wpws-reader-share-actions button:hover::after,
.wpws-reader-share-actions button:focus-visible::after { opacity: 1; transform: translate(-50%, 0); visibility: visible; }
.wpws-reader-share-body small { color: #166534; display: block; min-height: 18px; }

.wpws-floating-share-anchor {
    position: fixed;
    z-index: 72;
}
.wpws-floating-share-anchor.position-right { right: 20px; top: 50%; transform: translateY(-50%); }
.wpws-floating-share-anchor.position-left { left: 20px; top: 50%; transform: translateY(-50%); }
.wpws-floating-share-anchor.position-bottom { bottom: 20px; left: 50%; transform: translateX(-50%); }
.wpws-floating-share {
    align-items: center;
    background: var(--wpws-accent, #2563eb);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(15, 35, 64, .28);
    color: #fff;
    cursor: pointer;
    gap: 7px;
    min-height: 46px;
    padding: 10px 15px;
    display: inline-flex;
    justify-content: center;
}
.wpws-floating-share span { font-size: 13px; font-weight: 750; }

.wpws-direct-share-bar { background: rgba(15,35,64,.96); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; box-shadow: 0 10px 30px rgba(15,35,64,.3); display: flex; gap: 5px; padding: 7px; position: fixed; z-index: 48; }
.wpws-direct-share-bar.position-right { flex-direction: column; right: 18px; top: 50%; transform: translateY(-50%); }
.wpws-direct-share-bar.position-left { flex-direction: column; left: 18px; top: 50%; transform: translateY(-50%); }
.wpws-direct-share-bar.position-bottom { bottom: 18px; left: 50%; transform: translateX(-50%); }
.wpws-direct-share-bar button { align-items: center; background: transparent; border: 0; border-radius: 50%; color: #fff; display: flex; height: 40px; justify-content: center; padding: 0; position: relative; width: 40px; }
.wpws-direct-share-bar button:hover,.wpws-direct-share-bar button:focus-visible { background: var(--wpws-accent); color: #fff; outline: 2px solid #fff; outline-offset: 1px; }
.wpws-direct-share-bar button.is-edition { background: var(--wpws-accent); box-shadow: 0 0 0 2px #fff inset; }
.wpws-direct-share-bar button svg { height: 20px; width: 20px; }
.wpws-direct-share-bar button::after { background: #111827; border-radius: 5px; color: #fff; content: attr(data-tooltip); font-size: 11px; opacity: 0; padding: 5px 7px; pointer-events: none; position: absolute; right: calc(100% + 7px); top: 50%; transform: translate(4px,-50%); transition: .15s ease; visibility: hidden; white-space: nowrap; }
.wpws-direct-share-bar.position-left button::after { left: calc(100% + 7px); right: auto; }
.wpws-direct-share-bar.position-bottom button::after { bottom: calc(100% + 7px); left: 50%; right: auto; top: auto; transform: translate(-50%,4px); }
.wpws-direct-share-bar button:hover::after,.wpws-direct-share-bar button:focus-visible::after { opacity: 1; transform: translate(0,-50%); visibility: visible; }
.wpws-direct-share-bar.position-bottom button:hover::after,.wpws-direct-share-bar.position-bottom button:focus-visible::after { transform: translate(-50%,0); }
.wpws-direct-share-bar > small { background: #fff; border-radius: 5px; bottom: calc(100% + 6px); color: #166534; font-size: 11px; left: 50%; min-width: max-content; padding: 4px 7px; position: absolute; transform: translateX(-50%); }
.wpws-direct-share-bar > small:empty { display: none; }
.wpws-mobile-page-nav { display: none; }

.wpws-control-symbol {
    display: none;
}

.wpws-archive-picker {
    background: white;
    border: 1px solid #d7e0eb;
    border-radius: 12px;
    box-shadow: 0 16px 45px rgba(15, 35, 64, .2);
    color: #172033;
    padding: 14px;
    position: absolute;
    right: 14px;
    top: calc(100% + 8px);
    width: min(280px, calc(100vw - 28px));
    z-index: 60;
}

.wpws-archive-picker[hidden] { display: none; }
.wpws-archive-picker label { display: grid; gap: 6px; }
.wpws-archive-picker label span { font-size: 12px; font-weight: 700; }
.wpws-archive-picker input { min-height: 42px; width: 100%; }
.wpws-archive-picker small { color: #64748b; display: block; margin-top: 7px; }

.wpws-pdf-frame {
    background: white;
    border: 0;
    height: calc(100vh - 168px);
    max-width: 1200px;
    width: 100%;
}

.wpws-pdf-frame[hidden] {
    display: none;
}

.wpws-selection {
    pointer-events: auto;
    touch-action: none;
}

.wpws-clip-handle {
    background: white;
    border: 2px solid #2563eb;
    border-radius: 50%;
    height: 16px;
    position: absolute;
    width: 16px;
}

.wpws-clip-handle::after {
    content: "";
    inset: -8px;
    position: absolute;
}
.wpws-clip-handle.handle-n { cursor: ns-resize; left: 50%; top: -9px; transform: translateX(-50%); }
.wpws-clip-handle.handle-ne { cursor: nesw-resize; right: -9px; top: -9px; }
.wpws-clip-handle.handle-e { cursor: ew-resize; right: -9px; top: 50%; transform: translateY(-50%); }
.wpws-clip-handle.handle-se { bottom: -9px; cursor: nwse-resize; right: -9px; }
.wpws-clip-handle.handle-s { bottom: -9px; cursor: ns-resize; left: 50%; transform: translateX(-50%); }
.wpws-clip-handle.handle-sw { bottom: -9px; cursor: nesw-resize; left: -9px; }
.wpws-clip-handle.handle-w { cursor: ew-resize; left: -9px; top: 50%; transform: translateY(-50%); }
.wpws-clip-handle.handle-nw { cursor: nwse-resize; left: -9px; top: -9px; }

@media (max-width: 760px) {
    .wpws-pages-picker { display: none !important; }
    .wpws-reader-share { align-items: flex-end; padding: 0; }
    .wpws-reader-share-panel { border-radius: 18px 18px 0 0; max-width: none; padding-bottom: env(safe-area-inset-bottom); }
    .wpws-reader-share-body { padding: 16px; }
    .wpws-clip-handle { border-width: 2px; height: 14px; width: 14px; }
    .wpws-clip-handle.handle-n { top: -8px; }
    .wpws-clip-handle.handle-ne { right: -8px; top: -8px; }
    .wpws-clip-handle.handle-e { right: -8px; }
    .wpws-clip-handle.handle-se { bottom: -8px; right: -8px; }
    .wpws-clip-handle.handle-s { bottom: -8px; }
    .wpws-clip-handle.handle-sw { bottom: -8px; left: -8px; }
    .wpws-clip-handle.handle-w { left: -8px; }
    .wpws-clip-handle.handle-nw { left: -8px; top: -8px; }
}

.wpws-clip-actions button {
    font-family: inherit;
    font-size: 14px;
    font-style: normal;
    font-weight: 650;
    line-height: 1.15;
}

.wpws-archive-months {
    display: flex;
    gap: 8px;
    margin: 0 0 24px;
    overflow-x: auto;
    padding: 2px;
}

.wpws-archive-months a {
    background: white;
    border: 1px solid #d8e0ea;
    border-radius: 999px;
    color: #17315c;
    flex: 0 0 auto;
    font-weight: 700;
    padding: 8px 13px;
    text-decoration: none;
}

.wpws-filter-form {
    align-items: end;
    display: flex;
    gap: 12px;
}

.wpws-edition-card img {
    background: #eef2f7;
    object-fit: contain;
    object-position: center top;
}

/* Public archive: compact introduction and polished edition cards. */
.wpws-archive {
    padding-top: 24px;
}

.wpws-archive > header,
.wpws-epaper-theme-page .wpws-archive > header {
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(30, 64, 175, .13);
    margin-bottom: 20px;
    min-height: 0;
    padding: 18px 30px;
}

.wpws-archive > header span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    opacity: .88;
    text-transform: uppercase;
}

.wpws-archive h1,
.wpws-epaper-theme-page .wpws-archive h1 {
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.05;
    margin: 5px 0;
}

.wpws-archive > header p,
.wpws-epaper-theme-page .wpws-archive > header p {
    font-size: 14px;
    margin: 4px 0 0;
    opacity: .9;
}

.wpws-edition-grid {
    gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.wpws-edition-card {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 35, 64, .09);
    min-width: 0;
    overflow: hidden;
    transform: translateY(0);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.wpws-edition-card:hover,
.wpws-edition-card:focus-within {
    border-color: color-mix(in srgb, var(--wpws-accent) 42%, #d7e0eb);
    box-shadow: 0 18px 42px rgba(15, 35, 64, .16);
    transform: translateY(-5px);
}

.wpws-edition-card > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    outline: none;
}

.wpws-edition-card > a:focus-visible {
    box-shadow: inset 0 0 0 3px var(--wpws-accent);
}

.wpws-edition-cover {
    align-items: flex-start;
    aspect-ratio: 3 / 4;
    background: linear-gradient(145deg, #eef3f9, #f8fafc);
    display: flex;
    justify-content: center;
    margin: 0;
    overflow: hidden;
    padding: 12px 12px 0;
    position: relative;
}

.wpws-edition-cover::after {
    background: linear-gradient(180deg, transparent 78%, rgba(15, 23, 42, .08));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.wpws-edition-card .wpws-edition-cover img {
    aspect-ratio: auto;
    background: #fff;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .13);
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center top;
    transition: transform .28s ease;
    width: 100%;
}

.wpws-edition-card:hover .wpws-edition-cover img {
    transform: scale(1.018);
}

.wpws-edition-placeholder {
    align-items: center;
    color: #94a3b8;
    display: flex;
    height: 100%;
    justify-content: center;
}

.wpws-edition-placeholder .wpws-icon {
    height: 54px;
    width: 54px;
}

.wpws-edition-card .wpws-edition-details {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 17px 18px 18px;
}

.wpws-edition-card time {
    color: #64748b;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.wpws-edition-card h2 {
    color: #172033;
    font-size: 20px;
    line-height: 1.25;
    margin: 7px 0 18px;
}

.wpws-edition-read {
    align-items: center;
    color: var(--wpws-accent);
    display: inline-flex;
    font-size: 14px;
    font-weight: 750;
    gap: 5px;
    margin-top: auto;
}

.wpws-edition-read .wpws-icon {
    height: 17px;
    transition: transform .2s ease;
    width: 17px;
}

.wpws-edition-card:hover .wpws-edition-read .wpws-icon {
    transform: translateX(3px);
}

@media (max-width: 760px) {
    .wpws-reader-toolbar {
        display: flex;
        flex-wrap: nowrap;
        gap: 3px;
        justify-content: center;
        overflow: visible;
        padding: 6px 4px;
        width: 100%;
    }

    .wpws-reader-toolbar button,
    .wpws-reader-toolbar a {
        flex: 1 1 0;
        font-size: 14px;
        height: 36px;
        line-height: 1;
        max-width: 42px;
        min-width: 0;
        min-height: 36px;
        padding: 3px 2px;
        white-space: nowrap;
        width: auto;
    }

    .wpws-reader-toolbar .wpws-control-text { display: none; }
    .wpws-reader-toolbar .wpws-control-symbol { display: inline; font-size: 16px; font-style: normal; font-weight: 700; }
    .wpws-reader-toolbar [data-reader-action="mode-pdf"] .wpws-control-symbol { font-size: 9px; letter-spacing: -.04em; }

    .wpws-control-desktop {
        display: none !important;
    }

    .wpws-control-mobile {
        display: inline-flex !important;
    }

    .wpws-reader-toolbar .wpws-page-position {
        display: none;
    }

    .wpws-reader-toolbar .wpws-page-position.wpws-page-position-mobile {
        display: inline-flex;
        flex: 0 0 58px;
    }

    .wpws-reader-toolbar .wpws-page-position.wpws-page-position-mobile select {
        height: 36px;
        min-width: 58px;
        padding-left: 5px;
        width: 58px;
    }

    .wpws-page-nav-toolbar { display: none !important; }

    .wpws-reader.is-mobile-page-visible .wpws-mobile-page-nav {
        align-items: center;
        background: rgba(23, 49, 92, .92);
        border: 2px solid #fff;
        border-radius: 50%;
        box-shadow: 0 6px 20px rgba(15, 35, 64, .28);
        color: #fff;
        display: flex;
        height: 44px;
        justify-content: center;
        padding: 0;
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        z-index: 68;
    }
    .wpws-reader.is-mobile-page-visible .wpws-mobile-page-nav.is-previous { left: 8px; }
    .wpws-reader.is-mobile-page-visible .wpws-mobile-page-nav.is-next { right: 8px; }
    .wpws-mobile-page-nav:disabled { opacity: .3; pointer-events: none; }

    .wpws-floating-share-anchor,
    .wpws-floating-share-anchor.position-left,
    .wpws-floating-share-anchor.position-right,
    .wpws-floating-share-anchor.position-bottom {
        bottom: max(12px, env(safe-area-inset-bottom));
        left: auto;
        right: auto;
        top: auto;
        transform: none;
    }
    .wpws-floating-share {
        height: 48px;
        min-height: 48px;
        padding: 0;
        width: 48px;
    }
    .wpws-floating-share span { display: none; }
    .wpws-floating-share-anchor.mobile-position-left { left: 14px !important; right: auto !important; transform: none !important; }
    .wpws-floating-share-anchor.mobile-position-middle { left: 50% !important; right: auto !important; transform: translateX(-50%) !important; }
    .wpws-floating-share-anchor.mobile-position-right { left: auto !important; right: 14px !important; transform: none !important; }

    .wpws-direct-share-bar,
    .wpws-direct-share-bar.position-left,
    .wpws-direct-share-bar.position-right,
    .wpws-direct-share-bar.position-bottom { bottom: calc(12px + env(safe-area-inset-bottom)); flex-direction: row; left: auto; right: auto; top: auto; transform: none; }
    .wpws-direct-share-bar.mobile-position-left { left: 10px; }
    .wpws-direct-share-bar.mobile-position-middle { left: 50%; transform: translateX(-50%); }
    .wpws-direct-share-bar.mobile-position-right { right: 10px; }
    .wpws-direct-share-bar { gap: 2px; max-width: calc(100vw - 20px); padding: 5px; }
    .wpws-direct-share-bar button { height: 37px; width: 37px; }
    .wpws-direct-share-bar button::after { display: none; }

    .wpws-reader-grid,
    .wpws-sidebar-right .wpws-reader-grid {
        height: auto;
        min-height: 0;
    }

    .wpws-epaper-theme-page .wpws-archive > header {
        padding: 14px 18px;
    }

    .wpws-archive > header {
        border-radius: 14px;
        margin-bottom: 16px;
        padding: 14px 18px;
    }

    .wpws-archive h1,
    .wpws-epaper-theme-page .wpws-archive h1 {
        font-size: 27px;
    }

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

    .wpws-edition-cover {
        padding: 7px 7px 0;
    }

    .wpws-edition-card {
        border-radius: 13px;
    }

    .wpws-edition-card .wpws-edition-details {
        padding: 12px;
    }

    .wpws-edition-card h2 {
        font-size: 16px;
        margin: 5px 0 12px;
    }

    .wpws-edition-read {
        font-size: 12px;
    }
}

@media (max-width: 420px) {
    .wpws-edition-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wpws-edition-card,
    .wpws-edition-card img,
    .wpws-edition-read .wpws-icon {
        transition: none;
    }
}

.wpws-page-shell {
    width: var(--wpws-page-width, 100%);
}

.wpws-layout-full.wpws-sidebar-none .wpws-stage {
    padding-left: 0;
    padding-right: 0;
}

.wpws-layout-full.wpws-sidebar-none .wpws-page-shell {
    max-width: none;
}

.wpws-watermark-layer {
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

.wpws-watermark-layer img {
    height: auto;
    opacity: var(--wm-opacity, .3);
    position: absolute;
    width: var(--wm-size, 32%);
}

.wpws-watermark-layer.style-crossed img {
    transform: rotate(-32deg);
}

.wpws-watermark-layer.color-grayscale img {
    filter: grayscale(1);
}

.wpws-watermark-layer.is-single img { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.wpws-watermark-layer.is-single.style-crossed img { transform: translate(-50%, -50%) rotate(-32deg); }
.wpws-watermark-layer.is-single.align-top-left img { left: 3%; top: 3%; transform-origin: center; }
.wpws-watermark-layer.is-single.align-top-right img { left: auto; right: 3%; top: 3%; transform-origin: center; }
.wpws-watermark-layer.is-single.align-bottom-left img { bottom: 3%; left: 3%; top: auto; transform-origin: center; }
.wpws-watermark-layer.is-single.align-bottom-right img { bottom: 3%; left: auto; right: 3%; top: auto; transform-origin: center; }
.wpws-watermark-layer.is-single.align-top-left:not(.style-crossed) img,
.wpws-watermark-layer.is-single.align-top-right:not(.style-crossed) img,
.wpws-watermark-layer.is-single.align-bottom-left:not(.style-crossed) img,
.wpws-watermark-layer.is-single.align-bottom-right:not(.style-crossed) img { transform: none; }
.wpws-watermark-layer.is-single.style-crossed.align-top-left img,
.wpws-watermark-layer.is-single.style-crossed.align-top-right img,
.wpws-watermark-layer.is-single.style-crossed.align-bottom-left img,
.wpws-watermark-layer.is-single.style-crossed.align-bottom-right img { transform: rotate(-32deg); }
.wpws-watermark-layer.is-multiple { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); place-items: center; }
.wpws-watermark-layer.is-multiple img { position: static; width: 70%; }
