
/* SeboaDraws comic-interface typography */
.seboa-comic-page,
.seboa-reader,
.seboa-complete,
.seboa-library,
.seboa-series-page,
.seboa-reader button,
.seboa-complete button,
.seboa-library button,
.seboa-series-page button,
.seboa-reader select,
.seboa-library select{
    font-family:"Comic Sans MS","Comic Sans",cursive;
}


.seboa-comic-page{width:100%;margin:0;padding:0}
.seboa-reader{width:min(100%,980px);margin:0 auto;background:#111;color:#fff;overflow:visible}
.seboa-head{position:sticky;top:0;z-index:60;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:12px 16px;background:#181818;box-shadow:0 1px 0 rgba(255,255,255,.08)}
.seboa-head a{color:#fff;text-decoration:none}
.seboa-reader-title{text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.seboa-page-count{text-align:right}
.seboa-back-short{display:none}

.seboa-stage{position:relative;min-height:60vh;display:flex;align-items:center;justify-content:center;padding:10px;background:#080808}
.seboa-image{display:block;max-width:100%;max-height:80vh;width:auto;height:auto;object-fit:contain}

.seboa-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto auto minmax(0,1fr);gap:10px;padding:12px;background:#181818}
.seboa-bottom button{min-height:48px;padding:10px 14px;background:#252525;color:#fff;border:1px solid #555;border-radius:6px;font:inherit}
.seboa-bottom .seboa-prev{justify-self:stretch}
.seboa-bottom .seboa-skip-end,.seboa-bottom .seboa-fullscreen{justify-self:center}
.seboa-bottom .seboa-next{justify-self:stretch}
.seboa-bottom button:disabled{opacity:.45}

.seboa-progress{height:4px;background:#333}
.seboa-progress span{display:block;height:100%;width:0;background:#fff}

.seboa-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:18px 0}
.seboa-actions button,.seboa-favorite,.seboa-favorite-link{padding:8px 12px;border:1px solid #bbb;background:#fff;color:#000;border-radius:6px;cursor:pointer;box-sizing:border-box}
.seboa-favorite-link{display:inline-block;text-decoration:none}
.seboa-picker{display:flex;gap:6px;flex-wrap:wrap}
.seboa-picker button{min-width:48px;padding:9px 10px;border:1px solid #bbb;background:#fff;border-radius:6px;cursor:pointer}
.seboa-picker button.is-selected{font-weight:700;border-color:#111}

.seboa-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:25px}
.seboa-grid article a{color:inherit;text-decoration:none}
.seboa-cover{aspect-ratio:2/3;background:#eee;overflow:hidden}
.seboa-cover img{width:100%;height:100%;object-fit:cover}
.seboa-grid h2{font-size:1rem;margin:9px 0 4px}
.seboa-library-save{margin-top:8px}

.seboa-library-meta{
    margin:2px 0 5px;
    font-size:.82rem;
    line-height:1.35;
    opacity:.65;
}
.seboa-library-rating{
    display:inline-block;
}
.seboa-share{
    background:#fff!important;
    color:#000!important;
    border:2px solid #000!important;
}

.seboa-library-favorite{font-size:.9rem;padding:7px 10px}

.seboa-complete{min-height:100vh;background:#fff;color:#000;padding:28px 18px;box-sizing:border-box}
.seboa-complete[hidden]{display:none!important}
.seboa-complete-inner{width:min(100%,620px);margin:0 auto;text-align:center;padding:42px 24px;background:#fff;border:2px solid #000;border-radius:0;box-sizing:border-box}
.seboa-complete-kicker{text-transform:uppercase;letter-spacing:.15em;font-size:.75rem;color:#000;margin:0 0 8px;font-weight:700}
.seboa-complete-rating{padding:24px 0;border-top:2px solid #000;border-bottom:2px solid #000}

.seboa-complete-rating-first{
    border-top:0;
    padding-top:0;
}

.seboa-complete-rating-first > p{
    font-size:1.35rem;
    line-height:1.25;
    font-weight:700;
    margin:0 0 16px;
}


.seboa-complete-rating p{margin:0 0 10px}
.seboa-rating-summary{font-size:1.15rem;margin-bottom:16px;color:#000;font-weight:700}
.seboa-complete-picker{justify-content:center}
.seboa-complete-actions{display:flex;flex-direction:column;gap:10px;margin:24px auto 0;max-width:320px}
.seboa-complete-actions a,.seboa-complete-actions button{display:block;width:100%;box-sizing:border-box;padding:13px 16px;border-radius:0;text-decoration:none;font:inherit;font-weight:700;cursor:pointer}
.seboa-primary-link{background:#000;color:#fff;border:2px solid #000}
.seboa-secondary-link{background:#fff;border:2px solid #000;color:#000}
.seboa-complete-favorite{background:#fff!important;color:#000!important;border:2px solid #000!important}
.seboa-socials{margin-top:32px;padding-top:24px;border-top:2px solid #000}
.seboa-socials p{margin:0 0 14px;color:#000;font-weight:700}
.seboa-social-links{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.seboa-social-links a{background:#fff;color:#000;border:2px solid #000;border-radius:999px;padding:8px 13px;text-decoration:none;font-weight:700}
.seboa-read-again{margin-top:28px;background:#fff;border:0;color:#000;text-decoration:underline;cursor:pointer;font-weight:700}


body.admin-bar .seboa-head{top:32px}
.seboa-reader:fullscreen .seboa-head{top:0}
.seboa-toolbar{display:flex;align-items:center;gap:8px;margin-bottom:18px}
.seboa-toolbar select{padding:7px 10px}
.seboa-library-message{padding:28px 18px;text-align:center;border:1px solid #ddd;border-radius:8px}
.seboa-library-login{display:inline-block;margin-top:4px;padding:9px 14px;border:1px solid currentColor;border-radius:6px;text-decoration:none}


.seboa-library-description{
    margin:6px 0 7px;
    font-size:.88rem;
    line-height:1.4;
    opacity:.78;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

/* Series landing page */
body.seboa-series-body{
    margin:0!important;
    padding:0!important;
    min-height:100vh;
    background:#f6f6f6!important;
    color:#111!important;
}
.seboa-series-page{
    width:min(1180px,calc(100% - 32px));
    margin:0 auto;
    padding:30px 0 60px;
    box-sizing:border-box;
}
.seboa-series-header{
    margin-bottom:28px;
}
.seboa-series-back{
    display:inline-block;
    margin-bottom:22px;
    color:inherit;
    text-decoration:none;
    font-weight:600;
}
.seboa-series-header h1{
    margin:0 0 8px;
    font-size:clamp(2rem,6vw,3.4rem);
    line-height:1.05;
}
.seboa-series-description{
    max-width:720px;
    font-size:1rem;
    line-height:1.55;
    opacity:.78;
}
.seboa-series-description p{
    margin:0 0 8px;
}
.seboa-series-count{
    margin:10px 0 0;
    font-size:.9rem;
    opacity:.6;
}
.seboa-series-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:24px;
}
.seboa-series-card{
    min-width:0;
}
.seboa-series-comic-link{
    color:inherit;
    text-decoration:none;
}
.seboa-series-cover{
    aspect-ratio:2/3;
    background:#e7e7e7;
    overflow:hidden;
    border:1px solid #ddd;
}
.seboa-series-cover img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.seboa-series-episode{
    margin-top:10px;
    font-size:.78rem;
    font-weight:700;
    letter-spacing:.06em;
    text-transform:uppercase;
    opacity:.58;
}
.seboa-series-card h2{
    margin:4px 0 6px;
    font-size:1.05rem;
    line-height:1.25;
}
.seboa-series-card-description{
    margin:0 0 8px;
    font-size:.88rem;
    line-height:1.4;
    opacity:.76;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.seboa-series-rating{
    font-size:.88rem;
}
.seboa-series-card-actions{
    display:flex;
    gap:8px;
    align-items:center;
    flex-wrap:wrap;
    margin-top:10px;
}
.seboa-series-favorite,
.seboa-series-read{
    box-sizing:border-box;
    padding:8px 10px;
    border-radius:6px;
    font-size:.86rem;
}
.seboa-series-read{
    display:inline-block;
    border:1px solid #111;
    background:#111;
    color:#fff;
    text-decoration:none;
}


/* Strict monochrome completion screen */
.seboa-complete h2,
.seboa-complete p,
.seboa-complete .seboa-rating-summary{
    color:#fff;
}
.seboa-complete .seboa-picker button{
    background:#fff;
    color:#000;
    border:2px solid #000;
    border-radius:0;
}
.seboa-complete .seboa-picker button:hover,
.seboa-complete .seboa-picker button:focus-visible,
.seboa-complete .seboa-picker button.is-selected{
    background:#000;
    color:#fff;
    border-color:#000;
}
.seboa-complete .seboa-complete-favorite:hover,
.seboa-complete .seboa-complete-favorite:focus-visible,
.seboa-complete .seboa-share:hover,
.seboa-complete .seboa-share:focus-visible,
.seboa-complete .seboa-secondary-link:hover,
.seboa-complete .seboa-secondary-link:focus-visible,
.seboa-complete .seboa-social-links a:hover,
.seboa-complete .seboa-social-links a:focus-visible{
    background:#000!important;
    color:#fff!important;
    border-color:#000!important;
}
.seboa-complete .seboa-primary-link:hover,
.seboa-complete .seboa-primary-link:focus-visible{
    background:#fff;
    color:#000;
}


/* Completion screen text must remain black on the white finish page. */
.seboa-complete,
.seboa-complete-inner,
.seboa-complete h1,
.seboa-complete h2,
.seboa-complete h3,
.seboa-complete p,
.seboa-complete strong,
.seboa-complete span,
.seboa-complete .seboa-complete-kicker,
.seboa-complete .seboa-complete-rating,
.seboa-complete .seboa-rating-summary,
.seboa-complete .seboa-socials p{
    color:#000 !important;
}

/* Preserve white text only on intentionally black controls. */
.seboa-complete .seboa-primary-link,
.seboa-complete .seboa-picker button:hover,
.seboa-complete .seboa-picker button:focus-visible,
.seboa-complete .seboa-picker button.is-selected,
.seboa-complete .seboa-complete-favorite:hover,
.seboa-complete .seboa-complete-favorite:focus-visible,
.seboa-complete .seboa-share:hover,
.seboa-complete .seboa-share:focus-visible,
.seboa-complete .seboa-secondary-link:hover,
.seboa-complete .seboa-secondary-link:focus-visible,
.seboa-complete .seboa-social-links a:hover,
.seboa-complete .seboa-social-links a:focus-visible{
    color:#fff !important;
}

@media(max-width:700px){

    .seboa-auth-page{
        width:calc(100% - 20px);
        padding-top:14px;
    }
    .seboa-auth-card{
        margin-top:22px;
        padding:22px 18px;
    }
    .seboa-account-header{
        flex-direction:column;
    }
    .seboa-account-section-head{
        align-items:flex-start;
        flex-direction:column;
        gap:5px;
    }
    .seboa-toolbar{
        flex-wrap:wrap;
    }
    .seboa-library-account{
        width:100%;
        margin-left:0;
        justify-content:flex-start;
    }
    .seboa-series-topline{
        flex-direction:column;
        gap:0;
    }
    .seboa-series-account{
        margin-bottom:18px;
    }

    .seboa-series-page{
        width:calc(100% - 20px);
        padding-top:16px;
    }
    .seboa-series-header{
        margin-bottom:20px;
    }
    .seboa-series-back{
        margin-bottom:16px;
    }
    .seboa-series-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:14px 10px;
    }
    .seboa-series-card-actions{
        align-items:stretch;
        flex-direction:column;
        gap:6px;
    }
    .seboa-series-favorite,
    .seboa-series-read{
        width:100%;
        text-align:center;
    }

    body.admin-bar .seboa-head{top:46px}
    .seboa-grid{grid-template-columns:repeat(2,1fr);gap:14px}

    .seboa-reader{
        width:calc(100% - 16px);
        max-width:980px;
        margin:8px auto 0;
        border-radius:8px;
        box-sizing:border-box;
    }

    .seboa-head{
        grid-template-columns:1fr auto;
        padding:12px;
        font-size:.95rem;
    }

    .seboa-reader-title{display:none}
    .seboa-back-long{display:none}
    .seboa-back-short{display:inline}
    .seboa-page-count{text-align:right}

    .seboa-stage{
        min-height:0;
        padding:4px;
    }

    .seboa-image{
        width:100%;
        max-width:100%;
        max-height:calc(100vh - 155px);
        height:auto;
    }

    .seboa-bottom{
        gap:6px;
        padding:10px;
    }

    .seboa-bottom button{
        min-height:52px;
        padding:10px 8px;
        font-size:.9rem;
    }

    .seboa-complete{
        width:calc(100% - 16px);
        max-width:980px;
        margin:8px auto 0;
        padding:8px;
        box-sizing:border-box;
    }

    .seboa-complete-inner{
        min-height:calc(100vh - 16px);
        display:flex;
        flex-direction:column;
        justify-content:center;
        padding:28px 18px;
    }
}


.seboa-comic-page{
    display:flex;
    flex-direction:column;
    align-items:center;
}


/* ---------------------------------------------------------
   Reader account UI
   --------------------------------------------------------- */
body.seboa-auth-body{
    margin:0!important;
    min-height:100vh;
    background:#fff!important;
    color:#000!important;
}
.seboa-auth-page{
    width:min(1100px,calc(100% - 32px));
    margin:0 auto;
    padding:24px 0 64px;
    box-sizing:border-box;
    font-family:"Comic Sans MS","Comic Sans",cursive;
    color:#000;
}
.seboa-auth-top{
    display:flex;
    justify-content:space-between;
    gap:18px;
    margin-bottom:28px;
}
.seboa-auth-top a,
.seboa-account-section-head a,
.seboa-account-empty a{
    color:#000;
    font-weight:700;
}
.seboa-auth-card{
    width:min(100%,480px);
    margin:40px auto 0;
    padding:30px;
    border:2px solid #000;
    background:#fff;
    box-sizing:border-box;
}
.seboa-auth-card h1{
    margin:0 0 8px;
    font-size:2rem;
    line-height:1.1;
}
.seboa-auth-intro{
    margin:0 0 24px;
    line-height:1.5;
}
.seboa-auth-card form{
    display:flex;
    flex-direction:column;
    gap:8px;
}
.seboa-auth-card label{
    margin-top:8px;
    font-weight:700;
}
.seboa-auth-card input[type="text"],
.seboa-auth-card input[type="email"],
.seboa-auth-card input[type="password"]{
    width:100%;
    min-height:46px;
    padding:9px 11px;
    border:2px solid #000;
    border-radius:0;
    background:#fff;
    color:#000;
    box-sizing:border-box;
    font:inherit;
}
.seboa-auth-card small{
    margin-top:-3px;
}
.seboa-auth-check{
    display:flex;
    align-items:center;
    gap:8px;
    margin:10px 0 6px!important;
    font-weight:400!important;
}
.seboa-auth-check input{
    width:18px;
    height:18px;
}
.seboa-auth-primary{
    min-height:48px;
    margin-top:10px;
    padding:10px 16px;
    border:2px solid #000;
    border-radius:0;
    background:#000;
    color:#fff;
    font:inherit;
    font-weight:700;
    cursor:pointer;
}
.seboa-auth-primary:disabled{
    opacity:.35;
    cursor:not-allowed;
}
.seboa-auth-primary:hover,
.seboa-auth-primary:focus-visible{
    background:#fff;
    color:#000;
}
.seboa-auth-links{
    display:flex;
    justify-content:space-between;
    gap:14px;
    flex-wrap:wrap;
    margin-top:22px;
    padding-top:18px;
    border-top:2px solid #000;
}
.seboa-auth-links a{
    color:#000;
    font-weight:700;
}
.seboa-auth-errors{
    margin:0 0 18px;
    padding:12px 14px;
    border:2px solid #000;
    background:#fff;
}
.seboa-auth-errors p{
    margin:0 0 6px;
}
.seboa-auth-errors p:last-child{
    margin-bottom:0;
}
.seboa-honeypot{
    position:absolute!important;
    left:-10000px!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
}

/* Account dashboard */
.seboa-account-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:22px;
    padding:26px 0 28px;
    border-bottom:2px solid #000;
}
.seboa-account-header h1{
    margin:2px 0 6px;
    font-size:clamp(2rem,7vw,3.4rem);
    line-height:1;
}
.seboa-account-header p{
    margin:0;
}
.seboa-account-eyebrow{
    font-size:.8rem;
    text-transform:uppercase;
    letter-spacing:.12em;
    font-weight:700;
}
.seboa-account-logout{
    display:inline-block;
    padding:9px 13px;
    border:2px solid #000;
    color:#000;
    text-decoration:none;
    font-weight:700;
    white-space:nowrap;
}
.seboa-account-section{
    padding-top:30px;
}
.seboa-account-section-head{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    gap:16px;
    margin-bottom:20px;
}
.seboa-account-section-head h2{
    margin:0;
    font-size:1.5rem;
}
.seboa-account-empty{
    padding:30px 18px;
    border:2px solid #000;
    text-align:center;
}
.seboa-account-empty p{
    margin-top:0;
}

/* Account links in Library / Series */
.seboa-library-account,
.seboa-series-account{
    display:flex;
    gap:12px;
    align-items:center;
}
.seboa-library-account{
    margin-left:auto;
}
.seboa-account-link{
    color:inherit;
    font-weight:700;
    text-decoration:none;
}
.seboa-account-create-link{
    padding:6px 9px;
    border:1px solid currentColor;
}
.seboa-series-topline{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:18px;
}
.seboa-series-topline .seboa-series-back{
    margin-bottom:22px;
}


.seboa-account-benefits{margin:0 0 22px;padding:16px 18px;border:2px solid #000;background:#fff}
.seboa-account-benefits ul{margin:10px 0 0;padding-left:22px}
.seboa-account-benefits li{margin:5px 0}
.seboa-auth-remember-note{display:block;margin-top:-4px;line-height:1.35}
.seboa-notification-optin{margin-top:14px!important}
.seboa-turnstile-wrap{margin:14px 0 4px;min-height:65px}
.seboa-account-notifications{padding-bottom:30px;border-bottom:2px solid #000}
.seboa-notification-form{max-width:560px}
.seboa-notification-form .seboa-auth-check{margin:0 0 14px!important}
.seboa-account-save{min-height:44px;padding:9px 14px;border:2px solid #000;background:#000;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.seboa-account-save:hover,.seboa-account-save:focus-visible{background:#fff;color:#000}
.seboa-account-saved{display:inline-block;margin:0 0 16px;padding:9px 12px;border:2px solid #000;background:#fff;color:#000;font-weight:700}


.seboa-rating-summary{
    display:flex;
    flex-direction:column;
    gap:5px;
    align-items:center;
}
.seboa-community-rating-label{
    font-size:.9rem;
    font-weight:400;
}
.seboa-community-rating{
    font-size:1.15rem;
}
.seboa-your-rating{
    margin:0 0 14px;
    font-size:.95rem;
}
.seboa-your-rating[hidden]{
    display:none!important;
}


.seboa-progress-label{
    margin:6px 0 7px;
    font-size:.82rem;
    font-weight:700;
}


/* Fullscreen contains both the reader and finished-comic screen. */
.seboa-comic-page:fullscreen{
    width:100vw!important;
    height:100vh!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    overflow:auto;
    background:#000;
    display:flex;
    flex-direction:column;
    align-items:center;
}
.seboa-comic-page:fullscreen .seboa-reader{
    width:min(100%,980px);
    max-width:980px;
    margin:0 auto;
}
.seboa-comic-page:fullscreen .seboa-head{
    top:0!important;
}
.seboa-comic-page:fullscreen .seboa-complete{
    width:min(100%,980px);
    max-width:980px;
    min-height:100vh;
    margin:0 auto;
}

/* ---------------------------------------------------------
   Reader zoom + quick navigation
   --------------------------------------------------------- */
.seboa-stage{overflow:hidden}
.seboa-image{
    transform-origin:center center;
    will-change:transform;
    user-select:none;
    -webkit-user-drag:none;
}
.seboa-stage.is-zoomed{cursor:grab;touch-action:none}
.seboa-stage.is-dragging{cursor:grabbing}
.seboa-zoom-controls{
    display:none;
    position:absolute;
    right:14px;
    bottom:14px;
    z-index:75;
    align-items:center;
    gap:4px;
    padding:4px;
    background:rgba(0,0,0,.82);
    border:1px solid rgba(255,255,255,.35);
}
.seboa-zoom-controls button{
    min-width:36px;
    min-height:36px;
    padding:4px 7px;
    border:1px solid #666;
    border-radius:0;
    background:#181818;
    color:#fff;
    font:inherit;
    font-size:.88rem;
    font-weight:700;
    cursor:pointer;
}
.seboa-zoom-controls .seboa-zoom-reset{min-width:58px}
.seboa-zoom-controls button:disabled{opacity:.45;cursor:default}
.seboa-comic-page:fullscreen .seboa-zoom-controls{display:flex}
.seboa-comic-page:fullscreen .seboa-head{top:0}
.seboa-comic-page:fullscreen .seboa-stage{
    height:calc(100vh - 132px);
    min-height:0;
    box-sizing:border-box;
}
.seboa-comic-page:fullscreen .seboa-image{
    max-height:calc(100vh - 148px);
}
.seboa-bottom .seboa-skip-end{
    min-width:48px;
    padding:10px 14px;
    font-size:1.25rem;
    line-height:1;
}
.seboa-complete .seboa-back-start{font:inherit;font-weight:700}

/* ---------------------------------------------------------
   Comic comments
   --------------------------------------------------------- */
.seboa-comments{
    width:min(100%,980px);
    margin:0 auto;
    padding:34px 18px 70px;
    box-sizing:border-box;
    background:#fff;
    color:#000;
    scroll-margin-top:16px;
}
.seboa-comments-inner{width:min(100%,760px);margin:0 auto}
.seboa-comments button,.seboa-comments textarea,.seboa-comments a{font-family:inherit}
.seboa-comments-head{
    display:flex;
    align-items:center;
    gap:10px;
    padding-bottom:14px;
    border-bottom:2px solid #000;
}
.seboa-comments-head h2{margin:0;font-size:1.8rem}
.seboa-comments-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:28px;
    min-height:28px;
    padding:2px 7px;
    box-sizing:border-box;
    border:2px solid #000;
    border-radius:999px;
    font-weight:700;
}
.seboa-comments-status{min-height:24px;margin:8px 0 2px;font-size:.9rem;font-weight:700}
.seboa-comments-status.is-error{border-left:3px solid #000;padding-left:8px}
.seboa-new-comment-form,.seboa-comment-reply-form,.seboa-comment-edit-form{
    margin:18px 0;
    padding:16px;
    border:2px solid #000;
    background:#fff;
}
.seboa-new-comment-form label,.seboa-comment-reply-form label{display:block;margin-bottom:8px;font-weight:700}
.seboa-new-comment-form textarea,.seboa-comment-reply-form textarea,.seboa-comment-edit-form textarea{
    display:block;
    width:100%;
    min-height:110px;
    padding:10px;
    box-sizing:border-box;
    resize:vertical;
    border:2px solid #000;
    border-radius:0;
    background:#fff;
    color:#000;
    font:inherit;
}
.seboa-new-comment-form button,.seboa-comment-reply-form button,.seboa-comment-edit-form button{
    margin-top:10px;
    margin-right:7px;
    min-height:40px;
    padding:8px 12px;
    border:2px solid #000;
    border-radius:0;
    background:#000;
    color:#fff;
    font:inherit;
    font-weight:700;
    cursor:pointer;
}
.seboa-comment-reply-form button+button,.seboa-comment-edit-form button+button{background:#fff;color:#000}
.seboa-comments-login{margin:18px 0;padding:16px;border:2px solid #000}
.seboa-comments-login p{margin-top:0}
.seboa-comments-login a{
    display:inline-block;
    margin:4px 7px 0 0;
    padding:8px 12px;
    border:2px solid #000;
    color:#000;
    text-decoration:none;
    font-weight:700;
}
.seboa-comments-empty{padding:24px 0;text-align:center}
.seboa-comment-thread{padding:18px 0;border-bottom:1px solid #bbb}
.seboa-comment{padding:2px 0}
.seboa-comment-head{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-bottom:8px}
.seboa-comment-head span{font-size:.8rem;opacity:.65;white-space:nowrap}
.seboa-comment-content p{margin:0 0 10px;line-height:1.55;overflow-wrap:anywhere}
.seboa-comment-placeholder{font-style:italic;opacity:.65}
.seboa-comment-edited{margin-left:5px;font-size:.75rem;font-style:italic;opacity:.65}
.seboa-comment-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.seboa-comment-reply-control{margin:0;padding:0}
.seboa-comment-reply-control[open]{flex-basis:100%;width:100%;margin-top:4px}
.seboa-comment-reply-control summary{
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:5px 8px;
    box-sizing:border-box;
    border:1px solid #000;
    background:#fff;
    color:#000;
    font:inherit;
    font-size:.82rem;
    cursor:pointer;
    list-style:none;
}
.seboa-comment-reply-control summary::-webkit-details-marker{display:none}
.seboa-comment-reply-control[open] summary{background:#000;color:#fff}
.seboa-comment-reply-control .seboa-comment-reply-form{margin:10px 0 0;width:100%}
.seboa-comment-actions button,.seboa-comment-like-static{
    min-height:34px;
    padding:5px 8px;
    border:1px solid #000;
    border-radius:0;
    background:#fff;
    color:#000;
    font:inherit;
    font-size:.82rem;
    cursor:pointer;
}
.seboa-comment-like-static{display:inline-flex;align-items:center;cursor:default}
.seboa-comment-like.is-active{background:#000;color:#fff}
.seboa-comment-report.is-reported{opacity:.55;cursor:default}
.seboa-comment-replies{margin:16px 0 0 24px;padding-left:16px;border-left:2px solid #000}
.seboa-comment-reply{padding:12px 0;border-bottom:1px solid #ddd}
.seboa-comment-reply:last-child{border-bottom:0}

/* ---------------------------------------------------------
   Website notification bell + account notification center
   --------------------------------------------------------- */
.seboa-notification-bell-wrap{position:relative;display:inline-flex;align-items:center}
.seboa-mobile-nav-notification-bell{display:none}

.seboa-notification-bell{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:36px;
    min-height:36px;
    padding:4px 7px;
    border:0;
    background:transparent;
    color:#000;
    font:inherit;
    cursor:pointer;
}
.seboa-bell-icon{display:block;width:22px;height:22px;color:#000}
.seboa-notification-badge{
    position:absolute;
    top:-2px;
    right:-5px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:18px;
    height:18px;
    padding:0 4px;
    box-sizing:border-box;
    border:1px solid currentColor;
    border-radius:999px;
    background:#000;
    color:#fff;
    font-size:.68rem;
    font-weight:700;
}
.seboa-notification-popover{
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    z-index:9999;
    width:min(360px,calc(100vw - 24px));
    padding:10px;
    box-sizing:border-box;
    border:2px solid #000;
    background:#fff;
    color:#000;
    box-shadow:0 10px 30px rgba(0,0,0,.2);
}
.seboa-notification-popover[hidden]{display:none!important}
.seboa-notification-popover-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline;padding:4px 4px 9px;border-bottom:1px solid #aaa}
.seboa-notification-popover-head a{color:#000;text-decoration:underline;font-size:.82rem}
.seboa-notification-list{display:flex;flex-direction:column}
.seboa-notification-item{
    display:flex;
    flex-direction:column;
    gap:4px;
    padding:12px 10px;
    border-bottom:1px solid #ddd;
    color:#000;
    text-decoration:none;
}
.seboa-notification-item:last-child{border-bottom:0}
.seboa-notification-item.is-unread{font-weight:700;background:#f3f3f3}
.seboa-notification-time{font-size:.78rem;font-weight:400;opacity:.65}
.seboa-notification-empty{margin:12px 4px}
.seboa-account-notification-center{margin-bottom:30px;padding-bottom:28px;border-bottom:1px solid #bbb}
.seboa-account-notification-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}
.seboa-account-notification-toolbar p{margin:0;font-weight:700}
.seboa-mark-read{
    min-height:38px;
    padding:7px 10px;
    border:2px solid #000;
    background:#fff;
    color:#000;
    font:inherit;
    font-weight:700;
    cursor:pointer;
}
.seboa-notification-settings-title{margin:0 0 16px;font-size:1.15rem}

@media(max-width:700px){
    .seboa-comic-page:fullscreen .seboa-stage{height:calc(100vh - 142px)}
    .seboa-comic-page:fullscreen .seboa-image{max-height:calc(100vh - 154px)}
    .seboa-zoom-controls{right:8px;bottom:8px;gap:3px;padding:3px}
    .seboa-zoom-controls button{min-width:34px;min-height:34px;padding:3px 6px;font-size:.82rem}
    .seboa-zoom-controls .seboa-zoom-reset{min-width:54px}
    .seboa-comments{width:calc(100% - 16px);margin:8px auto 0;padding:26px 12px 55px}
    .seboa-comment-replies{margin-left:10px;padding-left:10px}
    .seboa-comment-head{align-items:flex-start;flex-direction:column;gap:2px}
    .seboa-account-notification-toolbar{align-items:flex-start;flex-direction:column}
    .seboa-notification-popover{position:fixed;top:70px;right:12px;left:12px;width:auto;max-height:70vh;overflow:auto}
}



/* Account form usability */
.seboa-password-field{position:relative;width:100%}
.seboa-auth-card .seboa-password-field input[type="password"],
.seboa-auth-card .seboa-password-field input[type="text"]{padding-right:76px}
.seboa-password-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);min-width:58px;min-height:32px;padding:4px 8px;border:2px solid #000;background:#fff;color:#000;font:inherit;font-size:.88rem;font-weight:700;line-height:1;cursor:pointer}
.seboa-password-toggle:hover,.seboa-password-toggle:focus-visible{background:#000;color:#fff}
.seboa-password-status{display:block;line-height:1.35}
.seboa-password-status.is-valid{font-weight:700}
.seboa-password-status.is-invalid{font-weight:700;text-decoration:underline}
.seboa-auth-links-login span,.seboa-auth-links-register span{line-height:1.45}
.seboa-auth-links-register{justify-content:flex-start}

/* ---------------------------------------------------------
   SeboaDraws Comics 2.0 long-term polish
   --------------------------------------------------------- */
.seboa-account-global-message{max-width:960px;margin:0 auto 18px;padding:12px 14px;border:2px solid #000;background:#fff;color:#000;font-weight:700}
.seboa-account-global-message.is-error{border-style:double}
.seboa-creator-badge{display:inline-flex;align-items:center;min-height:20px;padding:1px 6px;border:1px solid currentColor;border-radius:999px;font-size:.65em;font-weight:800;letter-spacing:.06em;vertical-align:middle}
.seboa-account-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.seboa-account-stats>div{display:flex;flex-direction:column;gap:4px;padding:16px;border:2px solid #000;background:#fff}
.seboa-account-stats strong{font-size:1.65rem;line-height:1}.seboa-account-stats span{font-size:.84rem;font-weight:700}
.seboa-history-list{display:flex;flex-direction:column;border-top:1px solid #bbb}
.seboa-history-item{display:grid;grid-template-columns:84px minmax(0,1fr);gap:14px;padding:14px 0;border-bottom:1px solid #bbb}
.seboa-history-thumb{display:block}.seboa-history-thumb img{display:block;width:84px;height:84px;object-fit:cover;border:1px solid #000}
.seboa-history-copy{min-width:0}.seboa-history-title{display:inline-block;color:#000;font-weight:800;text-decoration:none;font-size:1.05rem}.seboa-history-title:hover{text-decoration:underline}
.seboa-history-meta{margin-top:4px;font-size:.83rem;opacity:.72}.seboa-history-actions{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;margin-top:10px}
.seboa-history-actions a,.seboa-history-actions button,.seboa-history-footer button{border:0;background:transparent;color:#000;padding:0;font:inherit;font-size:.82rem;font-weight:700;text-decoration:underline;cursor:pointer}
.seboa-inline-form{display:inline;margin:0}.seboa-history-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:center;margin-top:14px}
.seboa-account-view-all{display:inline-block;margin-top:14px;color:#000;font-weight:700}
.seboa-account-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.seboa-account-detail-card{display:flex;flex-direction:column;gap:8px;padding:16px;border:2px solid #000}.seboa-account-detail-card h3{margin:0 0 4px}.seboa-account-detail-card input{box-sizing:border-box;width:100%;min-height:44px;padding:8px 10px;border:2px solid #000;background:#fff;color:#000;font:inherit}
.seboa-account-detail-card>button,.seboa-account-detail-card .seboa-password-field+button{align-self:flex-start;min-height:40px;padding:7px 12px;border:2px solid #000;background:#000;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.seboa-delete-account{margin-top:24px;padding-top:18px;border-top:1px solid #bbb}.seboa-delete-account summary{cursor:pointer;font-weight:800}.seboa-delete-account form{max-width:520px;margin-top:12px}.seboa-danger-button{margin-top:12px;min-height:42px;padding:8px 12px;border:2px solid #000;background:#fff;color:#000;font:inherit;font-weight:800;cursor:pointer}
.seboa-button-link{display:inline-block;text-decoration:none;text-align:center}

.seboa-library-controls{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:12px;align-items:end}
.seboa-library-controls>div:not(.seboa-library-account){display:flex;flex-direction:column;gap:4px}.seboa-library-controls label{font-size:.78rem;font-weight:800}.seboa-library-controls input,.seboa-library-controls select{min-height:42px;padding:7px 9px;border:2px solid #000;background:#fff;color:#000;font:inherit}
.seboa-library-search-field{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:6px;align-items:stretch}.seboa-library-search-field input{width:100%;min-width:0}.seboa-library-search-button{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;padding:0;border:2px solid #000;background:#fff;color:#000;font:inherit;font-size:1.3rem;font-weight:900;line-height:1;cursor:pointer}.seboa-library-search-button:hover,.seboa-library-search-button:focus-visible{background:#000;color:#fff}.seboa-library-search-icon{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.seboa-library-load-more,.seboa-series-load-more,.seboa-load-more-comments{display:block;min-width:180px;min-height:44px;margin:26px auto 0;padding:8px 16px;border:2px solid #000;background:#fff;color:#000;font:inherit;font-weight:800;cursor:pointer}
.seboa-library-load-more:hover,.seboa-series-load-more:hover,.seboa-load-more-comments:hover{background:#000;color:#fff}
.seboa-cover,.seboa-series-cover{position:relative}.seboa-new-badge{position:absolute;top:8px;left:8px;z-index:2;display:inline-flex;align-items:center;min-height:28px;padding:3px 8px;border:2px solid #000;background:#fff;color:#000;font-size:.72rem;font-weight:900;letter-spacing:.04em}
.seboa-series-progress-mini{display:flex;flex-direction:column;gap:5px;margin:8px 0;font-size:.8rem;font-weight:700}.seboa-series-progress-mini>div{height:5px;background:#ddd;overflow:hidden}.seboa-series-progress-mini>div>span{display:block;height:100%;background:#000}
.seboa-series-continue-small{display:inline-flex;align-items:center;min-height:36px;padding:6px 10px;border:2px solid #000;color:#000;text-decoration:none;font-weight:800}.seboa-series-continue-small:hover{background:#000;color:#fff}
.seboa-latest-comics{width:min(1180px,calc(100% - 24px));margin:32px auto}.seboa-latest-head{display:flex;justify-content:space-between;align-items:baseline;gap:18px;margin-bottom:16px}.seboa-latest-head h2{margin:0}.seboa-latest-head a{color:#000;font-weight:800}

.seboa-series-hero-cover{width:min(260px,55vw);margin:0 auto 20px}.seboa-series-hero-cover img{display:block;width:100%;height:auto}
.seboa-series-overall-progress{max-width:620px;margin:22px auto 0}.seboa-series-progress-copy{display:flex;justify-content:space-between;gap:16px;margin-bottom:7px}.seboa-series-progress-bar{height:10px;background:#ddd;overflow:hidden}.seboa-series-progress-bar span{display:block;height:100%;background:#000}.seboa-series-continue{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:14px;padding:8px 16px;border:2px solid #000;background:#000;color:#fff;text-decoration:none;font-weight:800}

.seboa-image-loading{position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%);padding:8px 10px;background:#fff;color:#000;border:2px solid #000;font-size:.8rem;font-weight:800;pointer-events:none}.seboa-stage:not(.is-loading) .seboa-image-loading{display:none}.seboa-image-retry{position:absolute;z-index:4;left:50%;top:50%;transform:translate(-50%,-50%);min-height:44px;padding:8px 14px;border:2px solid #000;background:#fff;color:#000;font:inherit;font-weight:800;cursor:pointer}.seboa-stage.has-image-error .seboa-image{opacity:.18}.seboa-reader-status{min-height:1.2em;padding:5px 8px 0;text-align:center;font-size:.75rem;opacity:.8}
.seboa-pinned-label{display:inline-flex;margin:0 0 8px;padding:3px 7px;border:1px solid #000;font-size:.72rem;font-weight:800}.seboa-comment.is-pinned{border-width:3px}.seboa-comment-pin.is-active{background:#000;color:#fff}.seboa-comment-form-meta{display:flex;justify-content:space-between;gap:12px;align-items:center}.seboa-comment-form-meta small{opacity:.65}

.seboa-email-verification{border:2px solid #000}.seboa-email-verification p{margin-top:0}

/* Consistent keyboard focus across the custom reader/account UI. */
.seboa-comic-page :focus-visible,.seboa-series-page :focus-visible,.seboa-auth-page :focus-visible,.seboa-library :focus-visible{outline:3px solid currentColor;outline-offset:3px}

@media(max-width:599px){
    .seboa-mobile-nav-notification-bell{
        display:inline-flex;
        align-items:center;
        justify-content:center;
        margin-left:auto;
        margin-right:4px;
        position:relative;
        z-index:100001;
    }
    .seboa-mobile-nav-notification-bell .seboa-notification-bell{min-width:40px;min-height:40px;padding:4px 6px}
    .seboa-mobile-nav-notification-bell .seboa-notification-popover{right:0;left:auto}
    .seboa-nav-notification-bell{display:none!important}
}
@media(min-width:600px){
    .seboa-mobile-nav-notification-bell{display:none!important}
}
@media(max-width:800px){
    .seboa-account-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
    .seboa-account-detail-grid{grid-template-columns:1fr}
    .seboa-library-controls{grid-template-columns:1fr 1fr}.seboa-library-search-wrap{grid-column:1/-1}
}
@media(max-width:520px){
    .seboa-account-stats{grid-template-columns:1fr 1fr}
    .seboa-history-item{grid-template-columns:62px minmax(0,1fr)}.seboa-history-thumb img{width:62px;height:62px}
    .seboa-library-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 10px;margin-bottom:10px}
    .seboa-library-search-wrap{grid-column:1/-1}
    .seboa-latest-head{align-items:flex-start;flex-direction:column}
    .seboa-comment-form-meta{align-items:flex-start;flex-direction:column}
}
@media(prefers-reduced-motion:reduce){
    .seboa-comic-page *,.seboa-series-page *,.seboa-auth-page *,.seboa-library *{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}
}
.seboa-account-detail-card .seboa-password-field input[type="password"],.seboa-account-detail-card .seboa-password-field input[type="text"],.seboa-delete-account .seboa-password-field input[type="password"],.seboa-delete-account .seboa-password-field input[type="text"]{padding-right:76px}

.seboa-register-submit-status{min-height:1.4em;margin:8px 0 0;font-size:.9rem}
.seboa-register-submit-status.is-error{font-weight:600}
.seboa-auth-primary:disabled{opacity:.58;cursor:not-allowed}

/* 2.0.12 native reader action wrappers */
.seboa-native-action-form{display:contents;}

/* 2.0.17: native background forms for all comment controls. */
.seboa-comment-actions .seboa-inline-comment-action{display:inline-flex;margin:0;padding:0}
.seboa-comment-actions .seboa-inline-comment-action button{margin:0}

.seboa-comment-char-count{display:inline-block;font-size:12px;line-height:1.3;font-weight:700;opacity:.7}
.seboa-comment-char-count.is-max{opacity:1;text-decoration:underline}


/* 2.0.26: guest rating links match the star controls while routing directly
   to Log In / Create Account instead of attempting an account-only write. */
.seboa-picker .seboa-rating-login{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    min-width:48px;
    padding:9px 10px;
    border:1px solid #bbb;
    background:#fff;
    border-radius:6px;
    text-decoration:none;
    color:#000;
    cursor:pointer;
}
.seboa-complete .seboa-picker .seboa-rating-login{
    background:#fff;
    color:#000;
    border:2px solid #000;
    border-radius:0;
}
.seboa-complete .seboa-picker .seboa-rating-login:hover,
.seboa-complete .seboa-picker .seboa-rating-login:focus-visible{
    background:#000;
    color:#fff;
    border-color:#000;
}


/* Share Comic fallback: shown only when a browser blocks automatic copying. */
.seboa-share-fallback{
    width:100%;
    margin-top:10px;
    text-align:left;
    font-size:.85rem;
}
.seboa-share-fallback label{
    display:block;
    margin-bottom:5px;
    font-weight:700;
}
.seboa-share-fallback-row{
    display:flex;
    gap:6px;
    align-items:stretch;
}
.seboa-share-fallback input{
    min-width:0;
    flex:1 1 auto;
    padding:8px 9px;
    border:2px solid #000;
    border-radius:0;
    background:#fff;
    color:#000;
    font:inherit;
}
.seboa-share-fallback .seboa-share-select{
    flex:0 0 auto;
    padding:8px 10px;
    border:2px solid #000;
    border-radius:0;
    background:#fff;
    color:#000;
    font:inherit;
    font-weight:700;
    cursor:pointer;
}
.seboa-share-fallback .seboa-share-select:hover,
.seboa-share-fallback .seboa-share-select:focus-visible{
    background:#000;
    color:#fff;
}
@media(max-width:520px){
    .seboa-share-fallback-row{flex-direction:column;}
    .seboa-share-fallback .seboa-share-select{width:100%;}
}


/* 2.0.28: Share Comic is server-rendered so the URL is always available,
   even when clipboard JavaScript is blocked or stale. */
.seboa-share-panel{
    width:100%;
    margin:0;
    text-align:left;
}
.seboa-share-toggle{
    display:block;
    width:100%;
    box-sizing:border-box;
    padding:13px 16px;
    border:2px solid #000;
    border-radius:0;
    background:#fff;
    color:#000;
    font:inherit;
    font-weight:700;
    text-align:center;
    cursor:pointer;
    list-style:none;
}
.seboa-share-toggle::-webkit-details-marker{display:none;}
.seboa-share-toggle::marker{content:'';}
.seboa-share-toggle:hover,
.seboa-share-toggle:focus-visible,
.seboa-share-panel[open] > .seboa-share-toggle{
    background:#000;
    color:#fff;
}
.seboa-share-box{
    margin-top:8px;
    padding:10px;
    border:2px solid #000;
    background:#fff;
    color:#000;
}
.seboa-share-box label{
    display:block;
    margin:0 0 6px;
    font-size:.84rem;
    font-weight:700;
}
.seboa-share-row{
    display:flex;
    gap:6px;
    align-items:stretch;
}
.seboa-share-url{
    min-width:0;
    flex:1 1 auto;
    box-sizing:border-box;
    padding:8px 9px;
    border:2px solid #000;
    border-radius:0;
    background:#fff;
    color:#000;
    font:inherit;
    font-size:.8rem;
}
.seboa-complete-actions .seboa-share-copy{
    flex:0 0 auto;
    width:auto;
    padding:8px 10px;
    border:2px solid #000;
    background:#fff;
    color:#000;
    font:inherit;
    font-weight:700;
}
.seboa-complete-actions .seboa-share-copy:hover,
.seboa-complete-actions .seboa-share-copy:focus-visible{
    background:#000;
    color:#fff;
}
.seboa-share-status{
    margin-top:7px;
    font-size:.76rem;
    line-height:1.35;
}
@media(max-width:520px){
    .seboa-share-row{flex-direction:column;}
    .seboa-complete-actions .seboa-share-copy{width:100%;}
    .seboa-share-url{font-size:.75rem;}
}
