/* PlotSaga rc808: early first-paint styles copied from templates/single-fanart.php. */

/* rc802 is intentionally in the actual Fan Art page template, not a remote
   footer selector: the rail moves between player and comment panel via JS. */
html body.single-plotsaga_fanart nav.plotsaga-fanart-action-rail[data-ps-fanart-contract="rc803"]{
 display:flex!important;align-items:center!important;gap:7px!important;background:transparent!important;
 border:0!important;box-shadow:none!important;padding:0!important;backdrop-filter:none!important;
}
html body.single-plotsaga_fanart nav.plotsaga-fanart-action-rail[data-ps-fanart-contract="rc803"] > [data-fanart-like]{order:10!important}
html body.single-plotsaga_fanart nav.plotsaga-fanart-action-rail[data-ps-fanart-contract="rc803"] > [data-fanart-comments]{order:20!important;display:flex!important;visibility:visible!important}
html body.single-plotsaga_fanart nav.plotsaga-fanart-action-rail[data-ps-fanart-contract="rc803"] > [data-fanart-save]{order:30!important}
html body.single-plotsaga_fanart nav.plotsaga-fanart-action-rail[data-ps-fanart-contract="rc803"] > [data-fanart-share]{order:40!important}
html body.single-plotsaga_fanart nav.plotsaga-fanart-action-rail[data-ps-fanart-contract="rc803"] > .plotsaga-fanart-more{order:50!important}
html body.single-plotsaga_fanart nav.plotsaga-fanart-action-rail[data-ps-fanart-contract="rc803"] > .plotsaga-fanart-report-direct{display:none!important}
html body.single-plotsaga_fanart :is([data-plotsaga-moment-reaction],[data-moment-reaction],[data-psvc-moment],.psvc-moment-reaction,.psvc-video-extra-action[data-plotsaga-extra-action="moment"]){display:none!important}
html body.single-plotsaga_fanart nav.plotsaga-fanart-action-rail[data-ps-fanart-contract="rc803"] .plotsaga-fanart-action{
 display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
 gap:1px!important;min-width:40px!important;background:transparent!important;border:0!important;
 box-shadow:none!important;color:#fff!important;text-shadow:none!important;padding:0!important;
}
html body.single-plotsaga_fanart nav.plotsaga-fanart-action-rail[data-ps-fanart-contract="rc803"] .plotsaga-fanart-action > span{
 display:grid!important;place-items:center!important;width:36px!important;height:36px!important;border-radius:0!important;
 border:0!important;background:transparent!important;box-shadow:none!important;
}
html body.single-plotsaga_fanart nav.plotsaga-fanart-action-rail[data-ps-fanart-contract="rc803"] .plotsaga-fanart-action svg{
 width:20px!important;height:20px!important;stroke:currentColor!important;stroke-width:2!important;fill:none!important;
 stroke-linecap:round!important;stroke-linejoin:round!important;
}
html body.single-plotsaga_fanart nav.plotsaga-fanart-action-rail[data-ps-fanart-contract="rc803"] .plotsaga-fanart-action small{
 color:#fff!important;font-size:10px!important;line-height:1!important;font-weight:600!important;
}
@media(min-width:768px){
 html body.single-plotsaga_fanart .plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract="rc803"]{
  position:static!important;transform:none!important;flex-direction:row!important;flex-wrap:nowrap!important;
  justify-content:flex-start!important;margin:0 0 14px!important;
 }
 /* Share the actual Episode comment card layout, not a visual approximation
    confined to the comments footer. */
 html body.single-plotsaga_fanart .plotsaga-fanart-comments .plotsaga-comment-body > header{
  position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto auto!important;width:100%!important;align-items:start!important;
 }
 html body.single-plotsaga_fanart .plotsaga-fanart-comments .plotsaga-comment-primary-row{display:contents!important}
 html body.single-plotsaga_fanart .plotsaga-fanart-comments .plotsaga-comment-author-name{grid-column:1!important;grid-row:1!important}
 html body.single-plotsaga_fanart .plotsaga-fanart-comments .plotsaga-comment-actions{
  grid-column:2!important;grid-row:1!important;position:relative!important;top:auto!important;right:auto!important;
  display:flex!important;justify-content:flex-end!important;justify-self:end!important;gap:4px!important;
  width:max-content!important;min-width:0!important;max-width:none!important;margin:0!important;
 }
 html body.single-plotsaga_fanart .plotsaga-fanart-comments .plotsaga-comment-author-meta{
  grid-column:2!important;grid-row:2!important;position:static!important;justify-self:end!important;
  display:flex!important;justify-content:flex-end!important;margin:0!important;
 }
 html body.single-plotsaga_fanart .plotsaga-fanart-comments .plotsaga-comment-actions [data-like-count]{
  color:white!important;display:inline!important;visibility:visible!important;
 }
}
@media(max-width:767px){
 html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract="rc803"]{
  display:flex!important;flex-direction:column!important;gap:4px!important;right:12px!important;
 }
}



body.single-plotsaga_fanart{
    background:#050505!important;
}

.plotsaga-fanart-view{
    width:100%;
    max-width:1500px;
    margin:0 auto;
    padding:0 18px 18px;
    box-sizing:border-box;
    color:#fff;
}

.plotsaga-fanart-stage{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(360px,430px);
    gap:18px;
    align-items:stretch;
}

.plotsaga-fanart-player{
    position:relative;
    min-width:0;
    height:clamp(560px,calc(100dvh - 110px),900px);
    overflow:hidden;
    border-radius:0 0 20px 20px;
    background:#000;
}

.plotsaga-fanart-media{
    width:100%;
    height:100%;
    display:grid;
    place-items:center;
    background:#000;
}

.plotsaga-fanart-media img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
    background:#000;
}

.plotsaga-fanart-back{
    position:absolute;
    z-index:15;
    left:18px;
    top:18px;
    min-height:42px;
    padding:0 15px;
    display:flex;
    align-items:center;
    gap:8px;
    border-radius:999px;
    background:rgba(17,17,22,.90);
    border:1px solid rgba(255,255,255,.22);
    color:#fff!important;
    text-decoration:none!important;
    font-weight:850;
    box-shadow:0 8px 24px rgba(0,0,0,.35);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}

.plotsaga-fanart-back span{
    font-size:20px;
}

.plotsaga-fanart-back strong{
    font-size:13px;
}

.plotsaga-fanart-overlay{
    position:absolute;
    z-index:9;
    left:20px;
    right:84px;
    bottom:24px;
    color:#fff;
    pointer-events:none;
    text-shadow:
        -1px -1px 0 rgba(0,0,0,.75),
         1px -1px 0 rgba(0,0,0,.75),
        -1px  1px 0 rgba(0,0,0,.75),
         1px  1px 0 rgba(0,0,0,.75),
         0 2px 8px rgba(0,0,0,.9);
}

.plotsaga-fanart-overlay::before{
    content:"";
    position:absolute;
    z-index:-1;
    left:-20px;
    right:-84px;
    top:-55px;
    bottom:-24px;
    background:linear-gradient(
        0deg,
        rgba(0,0,0,.84) 0%,
        rgba(0,0,0,.46) 52%,
        rgba(0,0,0,.06) 82%,
        rgba(0,0,0,0) 100%
    );
}

.plotsaga-fanart-eyebrow{
    display:block;
    margin-bottom:4px;
    color:rgba(255,255,255,.80);
    font-size:11px;
    line-height:1.2;
    font-weight:800;
    letter-spacing:.05em;
    text-transform:uppercase;
}

.plotsaga-fanart-overlay h1{
    margin:0;
    color:#fff!important;
    font-size:clamp(20px,2.2vw,30px);
    line-height:1.1;
    font-weight:900;
    letter-spacing:-.015em;
    text-shadow:
        0 2px 4px rgba(0,0,0,.95),
        0 5px 16px rgba(0,0,0,.95),
        1px 1px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000;
}

.plotsaga-fanart-author{
    margin:5px 0 0!important;
    color:#fff!important;
    font-size:13px;
    font-weight:750;
    pointer-events:auto!important;
}
.plotsaga-fanart-author a{color:#fff!important;text-decoration:underline!important;text-underline-offset:2px;font-weight:850!important;pointer-events:auto!important}

.plotsaga-fanart-description{
    max-width:62ch;
    margin-top:5px;
    color:rgba(255,255,255,.90);
    font-size:13px;
    line-height:1.35;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
}

.plotsaga-fanart-description p{
    margin:0!important;
}

.plotsaga-fanart-action-rail{
    position:absolute;
    z-index:14;
    right:18px;
    top:50%;
    bottom:auto;
    transform:translateY(-50%);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    padding:9px 7px;
    border-radius:24px;
    background:rgba(10,10,14,.94);
    border:1px solid rgba(255,255,255,.18);
    box-shadow:0 12px 34px rgba(0,0,0,.5);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
}

.plotsaga-fanart-action{
    appearance:none;
    border:0;
    background:transparent;
    color:#fff!important;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:3px;
    min-width:48px;
    padding:0;
    cursor:pointer;
    font:inherit;
    text-decoration:none!important;
    text-shadow:0 2px 8px rgba(0,0,0,.75);
}

.plotsaga-fanart-action>span{
    width:40px;
    height:40px;
    border-radius:999px;
    display:grid;
    place-items:center;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.18);
    color:#fff;
}

.plotsaga-fanart-action svg{
    width:20px;
    height:20px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.plotsaga-fanart-action small{
    max-width:58px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#fff!important;
    font-size:11px;
    line-height:1.05;
    font-weight:850;
}

.plotsaga-fanart-action.is-active>span{
    background:#fff;
    color:#111;
}

.plotsaga-fanart-comments{
    position:relative;
    min-width:0;
    height:clamp(560px,calc(100dvh - 110px),900px);
    overflow:hidden;
    border-radius:20px;
    background:#111;
    padding:18px 16px 24px;
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
}

.plotsaga-fanart-comments-close{
    display:none;
}

/* Match the compact Episode comment presentation. */
.plotsaga-fanart-comments .plotsaga-comments-section{
    margin:0!important;
    padding:0!important;
    border-radius:18px!important;
    background:#111!important;
    color:#fff!important;
    box-shadow:none!important;
    display:flex!important;
    flex-direction:column!important;
    height:100%!important;
}

.plotsaga-fanart-comments .plotsaga-comments-heading{
    margin:0 0 10px!important;
    padding:0 4px!important;
}

.plotsaga-fanart-comments .plotsaga-comments-heading h2{
    margin:0!important;
    color:#fff!important;
    font-size:23px!important;
    font-weight:900!important;
}

.plotsaga-fanart-comments .plotsaga-comments-heading small{
    color:#8f8f98!important;
    font-size:13px!important;
    font-weight:700!important;
}

.plotsaga-fanart-comments .plotsaga-comment-form{
    margin-top:auto!important;
    padding:12px!important;
    border-radius:18px!important;
    background:#1b1b20!important;
    border:1px solid rgba(255,255,255,.10)!important;
}

.plotsaga-fanart-comments .plotsaga-comment-form textarea,
.plotsaga-fanart-comments textarea{
    min-height:62px!important;
    background:#111!important;
    color:#fff!important;
    border:1px solid rgba(255,255,255,.16)!important;
    border-radius:999px!important;
    padding:16px 22px!important;
}

.plotsaga-fanart-comments textarea::placeholder{
    color:#888!important;
}

.plotsaga-fanart-comments .plotsaga-comments-scroll{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow:auto!important;
    padding:0 4px 6px!important;
}
.plotsaga-fanart-comments .plotsaga-comment-list{
    display:grid!important;
    gap:6px!important;
    margin-top:10px!important;
}

.plotsaga-fanart-comments .plotsaga-comment{
    grid-template-columns:34px minmax(0,1fr)!important;
    gap:8px!important;
    padding:8px 9px!important;
    margin-bottom:0!important;
    border-radius:13px!important;
    background:#1b1b20!important;
    border:1px solid rgba(255,255,255,.07)!important;
    color:#fff!important;
}

.plotsaga-fanart-comments .plotsaga-comment-avatar,
.plotsaga-fanart-comments .plotsaga-comment-avatar img{
    width:34px!important;
    height:34px!important;
    border-radius:50%!important;
}

.plotsaga-fanart-comments .plotsaga-comment-author-meta strong{
    color:#fff!important;
}

.plotsaga-fanart-comments .plotsaga-comment-author-meta time{
    color:#8e8e93!important;
}

.plotsaga-fanart-comments .plotsaga-comment-text{
    margin-top:3px!important;
    color:#e6e6e8!important;
    font-size:13px!important;
    line-height:1.4!important;
}

.plotsaga-fanart-comments .plotsaga-comment-text p{
    margin-bottom:3px!important;
    color:inherit!important;
}

.plotsaga-fanart-comments .plotsaga-comment-likes{
    margin-top:3px!important;
    gap:3px!important;
}

.plotsaga-fanart-comments .plotsaga-comment-likes button,
.plotsaga-fanart-comments .plotsaga-comment-delete,
.plotsaga-fanart-comments .plotsaga-comment-report{
    min-height:24px!important;
    padding:3px 7px!important;
    border:1px solid rgba(255,255,255,.14)!important;
    border-radius:999px!important;
    background:#25252b!important;
    color:#ddd!important;
    font-size:10px!important;
    font-weight:800!important;
}

.plotsaga-fanart-comments .plotsaga-comment-likes button.is-active,
.plotsaga-fanart-comments .plotsaga-comment-likes button[aria-pressed="true"]{
    background:#fff!important;
    color:#111!important;
}

.plotsaga-fanart-comments .plotsaga-comment-form button,
.plotsaga-fanart-comments [data-submit-comment]{
    border:0!important;
    border-radius:999px!important;
    background:#fff!important;
    color:#111!important;
    font-weight:900!important;
    min-width:46px!important;
    min-height:46px!important;
}


.plotsaga-fanart-comments .plotsaga-comments-scroll::-webkit-scrollbar{width:8px}
.plotsaga-fanart-comments .plotsaga-comments-scroll::-webkit-scrollbar-thumb{background:rgba(255,255,255,.14);border-radius:999px}
.plotsaga-fanart-comments .plotsaga-comments-empty{
    padding:24px 8px!important;
    color:#8f8f98!important;
    text-align:center!important;
}
@media(max-width:1180px){
    .plotsaga-fanart-stage{grid-template-columns:minmax(0,1fr) minmax(320px,390px);gap:14px}
}

/* Never inherit the old red comment/like treatment. */
.plotsaga-fanart-comments button,
.plotsaga-fanart-comments a{
    --wp--preset--color--vivid-red-cyan:inherit;
}

@media(max-width:767px){

    /* Fanart should start immediately under the PlotSaga mobile header. */
    body.single-plotsaga_fanart #masthead,
    body.single-plotsaga_fanart .site-header{
        margin-bottom:0!important;
    }
    body.single-plotsaga_fanart #page,
    body.single-plotsaga_fanart #content,
    body.single-plotsaga_fanart .site-content,
    body.single-plotsaga_fanart .ast-container,
    body.single-plotsaga_fanart #primary,
    body.single-plotsaga_fanart .content-area,
    body.single-plotsaga_fanart .site-main,
    body.single-plotsaga_fanart .entry-content{
        margin-top:0!important;
        padding-top:0!important;
    }
    body.single-plotsaga_fanart .ast-container,
    body.single-plotsaga_fanart #content > .ast-container{
        padding-block-start:0!important;
        padding-top:0!important;
    }
    /* Astra/theme wrappers can add vertical block spacing outside the usual
       content container. Kill every known mobile top spacer on Fanart only. */
    body.single-plotsaga_fanart .site-content > *,
    body.single-plotsaga_fanart #content > *,
    body.single-plotsaga_fanart #primary,
    body.single-plotsaga_fanart main#main{
        margin-block-start:0!important;
        padding-block-start:0!important;
    }

    .plotsaga-fanart-view{
        width:100vw;
        max-width:none;
        margin:0;
        padding:0;
        overflow-x:hidden;
    }

    .plotsaga-fanart-stage{
        display:block;
    }

    .plotsaga-fanart-player{
        width:100vw;
        height:calc(100dvh - var(--plotsaga-mobile-header-height,68px));
        min-height:480px;
        border-radius:0;
    }

    .plotsaga-fanart-back{
        left:10px;
        top:10px;
        width:38px;
        min-height:38px;
        padding:0;
        justify-content:center;
    }

    .plotsaga-fanart-back strong{
        display:none;
    }

    .plotsaga-fanart-overlay{
        left:14px;
        right:70px;
        bottom:18px;
    }

    .plotsaga-fanart-overlay::before{
        left:-14px;
        right:-70px;
        bottom:-18px;
    }

    .plotsaga-fanart-overlay h1{
        font-size:18px;
    }

    .plotsaga-fanart-description{
        font-size:12px;
        -webkit-line-clamp:1;
    }

    .plotsaga-fanart-action-rail{
        right:8px;
        top:50%;
        bottom:auto;
        transform:translateY(-50%);
        gap:5px;
        padding:8px 6px;
        border-radius:20px;
        background:rgba(8,8,12,.78);
    }

    .plotsaga-fanart-action{
        min-width:42px;
    }

    .plotsaga-fanart-action>span{
        width:36px;
        height:36px;
    }

    .plotsaga-fanart-action svg{
        width:19px;
        height:19px;
    }

    .plotsaga-fanart-action small{
        max-width:48px;
        font-size:9px;
    }

    .plotsaga-fanart-comments{
        display:block!important;
        visibility:visible!important;
        position:fixed;
        z-index:100005;
        inset:var(--plotsaga-mobile-header-height,68px) 0 0;
        width:100%!important;
        height:auto!important;
        max-height:none!important;
        border-radius:0;
        background:#111;
        padding:48px 14px 24px;
        overflow:auto;
        overscroll-behavior:contain;
        transform:translateY(105%);
        transition:transform .25s ease;
        opacity:1!important;
    }

    .plotsaga-fanart-comments.is-open{
        transform:translateY(0);
    }

    .plotsaga-fanart-comments-close{
        display:grid;
        position:absolute;
        z-index:4;
        top:10px;
        right:12px;
        width:34px;
        height:34px;
        place-items:center;
        border:0;
        border-radius:999px;
        background:#2b2b30;
        color:#fff;
        font-size:24px;
        cursor:pointer;
    }

    .plotsaga-fanart-comments .plotsaga-comment{
        grid-template-columns:34px minmax(0,1fr)!important;
        gap:8px!important;
        padding:9px!important;
    }

    body.plotsaga-fanart-comments-open{
        overflow:hidden!important;
    }
}



@media(max-width:767px){
  .plotsaga-fanart-player{position:relative!important}
  .plotsaga-fanart-action-rail{
    position:absolute!important;
    top:auto!important;
    left:auto!important;
    right:max(8px,env(safe-area-inset-right))!important;
    bottom:max(14px,env(safe-area-inset-bottom))!important;
    transform:none!important;
    z-index:20!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:5px!important;
    margin:0!important;
  }
}


/* rc384: desktop Fanart interactions anchor to the image lower-right corner, matching mobile. */
@media(min-width:768px){
  .plotsaga-fanart-player{position:relative!important}
  .plotsaga-fanart-action-rail{
    position:absolute!important;
    top:auto!important;
    left:auto!important;
    right:18px!important;
    bottom:18px!important;
    transform:none!important;
    z-index:20!important;
    margin:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-end!important;
  }
}

/* rc503: mobile Fanart image-only pinch zoom. The gesture surface is limited
   to the media layer; header/action/comment UI never transforms with it. */
@media(max-width:767px){
    .plotsaga-fanart-media{
        overflow:hidden!important;
        touch-action:none!important;
        overscroll-behavior:contain!important;
        user-select:none!important;
        -webkit-user-select:none!important;
        -webkit-touch-callout:none!important;
    }
    .plotsaga-fanart-media img{
        transform-origin:50% 50%!important;
        will-change:transform!important;
        transition:none!important;
        touch-action:none!important;
        user-select:none!important;
        -webkit-user-select:none!important;
        -webkit-user-drag:none!important;
    }
}



@media(max-width:767px){
  /* Keep the artwork clear of the phone/browser bottom controls and keep all
     lower-left metadata inside the visible viewport. */
  .plotsaga-fanart-player{
    height:calc(100dvh - var(--plotsaga-mobile-header-height,68px) - max(12px,env(safe-area-inset-bottom)))!important;
    min-height:0!important;
  }
  .plotsaga-fanart-overlay{
    left:max(14px,env(safe-area-inset-left))!important;
    right:78px!important;
    bottom:max(24px,calc(env(safe-area-inset-bottom) + 16px))!important;
    max-width:calc(100vw - 96px)!important;
    min-width:0!important;
  }
  .plotsaga-fanart-overlay h1,
  .plotsaga-fanart-author,
  .plotsaga-fanart-description{
    max-width:100%!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
  .plotsaga-fanart-media,
  .plotsaga-fanart-media img{
    touch-action:pan-y!important;
  }
  .plotsaga-fanart-media{
    overscroll-behavior-y:auto!important;
  }
}


/* rc667: Fanart interaction controls are icon/count only: no rail panel,
   no circular bubbles, borders or hover backgrounds. */
.plotsaga-fanart-action-rail{
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    padding:0!important;
    border-radius:0!important;
}
.plotsaga-fanart-action,
.plotsaga-fanart-action:hover,
.plotsaga-fanart-action:focus-visible{
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    outline:none!important;
}
.plotsaga-fanart-action>span,
.plotsaga-fanart-action:hover>span,
.plotsaga-fanart-action:focus-visible>span,
.plotsaga-fanart-action.is-active>span{
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
}
.plotsaga-fanart-action.is-active>span{color:#fff!important}


/* rc708: Fanart uses the same clear media / information / comments hierarchy
   as Episodes. The artwork stays unobscured; all copy and actions live above
   the comment thread. */
body.single-plotsaga_fanart .plotsaga-fanart-player{
    border-radius:20px!important;
}

body.single-plotsaga_fanart .plotsaga-fanart-panel-intro{
    flex:0 0 auto;
    margin:0 4px 12px!important;
    color:#fff;
}

body.single-plotsaga_fanart .plotsaga-fanart-panel-intro .plotsaga-fanart-eyebrow{
    margin:0 0 5px!important;
    color:#9f9fa8!important;
    font-size:11px!important;
    line-height:1.25!important;
    font-weight:850!important;
    letter-spacing:.06em!important;
    text-transform:uppercase!important;
}

body.single-plotsaga_fanart .plotsaga-fanart-panel-intro h1{
    margin:0!important;
    color:#fff!important;
    font-size:clamp(22px,2vw,30px)!important;
    line-height:1.12!important;
    font-weight:900!important;
    letter-spacing:-.018em!important;
    text-shadow:none!important;
}

body.single-plotsaga_fanart .plotsaga-fanart-panel-intro .plotsaga-ai-disclosure{
    display:inline-flex!important;
    margin:8px 0 0!important;
}

body.single-plotsaga_fanart .plotsaga-fanart-panel-intro .plotsaga-fanart-author{
    margin:7px 0 0!important;
    color:#c8c8d0!important;
    font-size:13px!important;
    font-weight:750!important;
}

body.single-plotsaga_fanart .plotsaga-fanart-panel-intro .plotsaga-fanart-author a{
    color:#fff!important;
    text-decoration:underline!important;
    text-underline-offset:2px!important;
}

body.single-plotsaga_fanart .plotsaga-fanart-panel-intro .plotsaga-fanart-description{
    display:block!important;
    max-width:none!important;
    margin:10px 0 0!important;
    color:#dedee4!important;
    font-size:14px!important;
    line-height:1.45!important;
    overflow:visible!important;
    -webkit-line-clamp:unset!important;
}

body.single-plotsaga_fanart .plotsaga-fanart-panel-intro .plotsaga-fanart-description p{
    margin:0 0 7px!important;
}

body.single-plotsaga_fanart .plotsaga-fanart-comments > .plotsaga-fanart-action-rail{
    position:static!important;
    z-index:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    transform:none!important;
    display:flex!important;
    flex:0 0 auto!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    gap:12px!important;
    margin:0 4px 16px!important;
    padding:0!important;
}

body.single-plotsaga_fanart .plotsaga-fanart-comments > .plotsaga-fanart-action-rail .plotsaga-fanart-action{
    min-width:40px!important;
    gap:3px!important;
    color:#c7c7cf!important;
    text-shadow:none!important;
}

body.single-plotsaga_fanart .plotsaga-fanart-comments > .plotsaga-fanart-action-rail .plotsaga-fanart-action > span{
    width:36px!important;
    height:36px!important;
    background:transparent!important;
    border:0!important;
    color:inherit!important;
}

body.single-plotsaga_fanart .plotsaga-fanart-comments > .plotsaga-fanart-action-rail .plotsaga-fanart-action svg{
    width:20px!important;
    height:20px!important;
}

body.single-plotsaga_fanart .plotsaga-fanart-comments > .plotsaga-fanart-action-rail .plotsaga-fanart-action small{
    color:inherit!important;
    font-size:10px!important;
    line-height:1.1!important;
}

body.single-plotsaga_fanart .plotsaga-fanart-comments > .plotsaga-fanart-action-rail .plotsaga-fanart-action:hover,
body.single-plotsaga_fanart .plotsaga-fanart-comments > .plotsaga-fanart-action-rail .plotsaga-fanart-action:focus-visible{
    color:#fff!important;
    transform:scale(1.05)!important;
}

body.single-plotsaga_fanart .plotsaga-fanart-comments .plotsaga-comments-section{
    flex:1 1 auto!important;
    min-height:0!important;
    height:auto!important;
}

@media(max-width:767px){
    /* On a phone the information follows the artwork instead of being hidden
       in a second overlay; no control or text is placed over the image. */
    body.single-plotsaga_fanart .plotsaga-fanart-comments{
        display:flex!important;
        visibility:visible!important;
        position:relative!important;
        z-index:auto!important;
        inset:auto!important;
        width:100%!important;
        height:auto!important;
        max-height:none!important;
        margin:0!important;
        padding:22px 14px 28px!important;
        border-radius:0!important;
        overflow:visible!important;
        transform:none!important;
        transition:none!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-comments-close{
        display:none!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-panel-intro{
        margin:0 2px 13px!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-panel-intro h1{
        font-size:23px!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-panel-intro .plotsaga-fanart-description{
        font-size:14px!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-comments > .plotsaga-fanart-action-rail{
        gap:9px!important;
        margin:0 2px 17px!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-comments .plotsaga-comments-section{
        display:block!important;
        height:auto!important;
        min-height:0!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-comments .plotsaga-comments-scroll{
        max-height:none!important;
        overflow:visible!important;
    }
}


/* rc741: on phones Fanart remains a single visual surface. The desktop
   information and comments panel is deliberately left unchanged. */
.plotsaga-fanart-more{
    display:none;
    position:relative;
    flex:0 0 auto;
}

.plotsaga-fanart-more-popover{
    position:absolute;
    z-index:60;
    right:calc(100% + 8px);
    bottom:0;
    min-width:142px;
    padding:6px;
    border:1px solid rgba(255,255,255,.17);
    border-radius:14px;
    background:rgba(20,20,24,.98);
    box-shadow:0 14px 32px rgba(0,0,0,.46);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
}

.plotsaga-fanart-more-popover[hidden]{display:none!important}

.plotsaga-fanart-more-report{
    width:100%;
    min-height:38px;
    padding:7px 9px;
    display:flex;
    align-items:center;
    gap:8px;
    border:0;
    border-radius:10px;
    background:transparent;
    color:#fff;
    cursor:pointer;
    font:inherit;
    text-align:left;
}

.plotsaga-fanart-more-report:hover,
.plotsaga-fanart-more-report:focus-visible{
    background:rgba(255,255,255,.10);
    outline:0;
}

.plotsaga-fanart-more-report span{
    width:20px;
    height:20px;
    display:grid;
    place-items:center;
    color:#fff;
}

.plotsaga-fanart-more-report svg{
    width:18px;
    height:18px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.plotsaga-fanart-more-report strong{
    color:inherit;
    font-size:12px;
    font-weight:850;
}

@media(max-width:767px){
    body.single-plotsaga_fanart .plotsaga-fanart-player{
        position:relative!important;
        overflow:hidden!important;
        border-radius:0!important;
    }

    /* These two elements are moved into .plotsaga-fanart-player by the small
       responsive script above, only while the phone breakpoint is active. */
    body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-panel-intro{
        position:absolute!important;
        z-index:25!important;
        left:max(14px,env(safe-area-inset-left))!important;
        right:88px!important;
        bottom:max(18px,calc(env(safe-area-inset-bottom) + 12px))!important;
        max-width:calc(100vw - 102px)!important;
        margin:0!important;
        padding:0!important;
        color:#fff!important;
        pointer-events:none!important;
        isolation:isolate;
        text-shadow:0 2px 10px rgba(0,0,0,.96), 0 1px 2px rgba(0,0,0,.96)!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-panel-intro::before{
        content:"";
        position:absolute;
        z-index:-1;
        left:-18px;
        right:-106px;
        top:-64px;
        bottom:-20px;
        background:linear-gradient(0deg,rgba(0,0,0,.76) 0%,rgba(0,0,0,.40) 56%,rgba(0,0,0,0) 100%);
        pointer-events:none;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-panel-intro .plotsaga-fanart-eyebrow{
        margin:0 0 4px!important;
        color:rgba(255,255,255,.83)!important;
        font-size:10px!important;
        line-height:1.2!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-panel-intro h1{
        margin:0!important;
        color:#fff!important;
        font-size:clamp(18px,5vw,23px)!important;
        line-height:1.1!important;
        text-shadow:inherit!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-panel-intro .plotsaga-ai-disclosure{
        margin:6px 0 0!important;
        font-size:10px!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-panel-intro .plotsaga-fanart-author{
        margin:5px 0 0!important;
        color:#fff!important;
        font-size:11px!important;
        line-height:1.3!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-panel-intro .plotsaga-fanart-author a{
        pointer-events:auto!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-panel-intro .plotsaga-fanart-description{
        display:-webkit-box!important;
        margin:6px 0 0!important;
        color:rgba(255,255,255,.93)!important;
        font-size:12px!important;
        line-height:1.32!important;
        overflow:hidden!important;
        -webkit-box-orient:vertical!important;
        -webkit-line-clamp:2!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail{
        position:absolute!important;
        z-index:35!important;
        top:auto!important;
        right:max(8px,env(safe-area-inset-right))!important;
        bottom:max(14px,env(safe-area-inset-bottom))!important;
        left:auto!important;
        display:flex!important;
        flex-direction:column!important;
        flex-wrap:nowrap!important;
        align-items:center!important;
        justify-content:flex-end!important;
        gap:5px!important;
        margin:0!important;
        padding:0!important;
        transform:none!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail .plotsaga-fanart-action{
        min-width:42px!important;
        color:#fff!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail .plotsaga-fanart-action > span{
        width:36px!important;
        height:36px!important;
        color:#fff!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail .plotsaga-fanart-action small{
        max-width:48px!important;
        color:#fff!important;
        font-size:9px!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail .plotsaga-fanart-more{
        display:block!important;
        order:9999!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail .plotsaga-fanart-report-direct{
        display:none!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail .plotsaga-fanart-more-popover{
        right:calc(100% + 7px);
        bottom:0;
        width:176px!important;
        min-width:176px!important;
        max-width:calc(100vw - 72px)!important;
        padding:7px!important;
        box-sizing:border-box!important;
        overflow:visible!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail .plotsaga-fanart-more-report{
        width:100%!important;
        min-width:0!important;
        min-height:48px!important;
        padding:11px 13px!important;
        display:flex!important;
        align-items:center!important;
        gap:10px!important;
        box-sizing:border-box!important;
        white-space:nowrap!important;
        overflow:visible!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail .plotsaga-fanart-more-report span{
        flex:0 0 22px!important;
        width:22px!important;
        height:22px!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail .plotsaga-fanart-more-report svg{
        width:20px!important;
        height:20px!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail .plotsaga-fanart-more-report strong{
        display:block!important;
        min-width:0!important;
        overflow:visible!important;
        color:#fff!important;
        font-size:14px!important;
        line-height:1.2!important;
        font-weight:850!important;
        white-space:nowrap!important;
    }

    /* rc708 made this panel inline. Restore the mobile-only comment sheet so
       it appears only after the comment interaction is selected. */
    body.single-plotsaga_fanart .plotsaga-fanart-comments{
        display:flex!important;
        visibility:visible!important;
        position:fixed!important;
        z-index:100005!important;
        inset:var(--plotsaga-mobile-header-height,68px) 0 0!important;
        width:100vw!important;
        height:calc(100dvh - var(--plotsaga-mobile-header-height,68px))!important;
        max-height:none!important;
        margin:0!important;
        padding:48px 14px 24px!important;
        border-radius:0!important;
        background:#111!important;
        overflow:hidden!important;
        transform:translateY(105%)!important;
        transition:transform .25s ease!important;
        opacity:1!important;
        pointer-events:none!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-comments.is-open{
        transform:translateY(0)!important;
        pointer-events:auto!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-comments-close{
        display:grid!important;
        position:absolute!important;
        z-index:4!important;
        top:10px!important;
        right:12px!important;
        width:34px!important;
        height:34px!important;
        place-items:center!important;
        border:0!important;
        border-radius:999px!important;
        background:#2b2b30!important;
        color:#fff!important;
        font-size:24px!important;
        cursor:pointer!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-comments .plotsaga-comments-section{
        display:flex!important;
        flex:1 1 auto!important;
        flex-direction:column!important;
        min-height:0!important;
        height:100%!important;
        overflow:hidden!important;
    }

    body.single-plotsaga_fanart .plotsaga-fanart-comments .plotsaga-comments-scroll{
        flex:1 1 auto!important;
        min-height:0!important;
        max-height:none!important;
        overflow-y:auto!important;
    }
}


/* A description stays compact over the image on phones, but is itself the
 * control to reveal or collapse the complete text. */
@media(max-width:767px){
  body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-panel-intro .plotsaga-fanart-description.is-overflowing{
    cursor:pointer!important;
    pointer-events:auto!important;
    touch-action:manipulation;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-panel-intro .plotsaga-fanart-description.is-overflowing:focus-visible{
    outline:2px solid rgba(255,255,255,.92)!important;
    outline-offset:4px!important;
    border-radius:3px!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-panel-intro .plotsaga-fanart-description.is-expanded{
    display:block!important;
    overflow:auto!important;
    -webkit-line-clamp:unset!important;
    line-clamp:unset!important;
    max-height:36vh!important;
    padding-right:3px!important;
    pointer-events:auto!important;
  }
}


/* Keep confirmed Like/Save feedback consistent with Story and Saga: a filled
 * rose heart for Like and a filled gold bookmark for Save. */
body.single-plotsaga_fanart .plotsaga-fanart-action[data-fanart-like].is-active,
body.single-plotsaga_fanart .plotsaga-fanart-action[data-fanart-like].is-active > span,
body.single-plotsaga_fanart .plotsaga-fanart-action[data-fanart-like].is-active small{
  color:#ff657a!important;
}
body.single-plotsaga_fanart .plotsaga-fanart-action[data-fanart-save].is-active,
body.single-plotsaga_fanart .plotsaga-fanart-action[data-fanart-save].is-active > span,
body.single-plotsaga_fanart .plotsaga-fanart-action[data-fanart-save].is-active small{
  color:#f4c84d!important;
}
body.single-plotsaga_fanart .plotsaga-fanart-action[data-fanart-like].is-active svg,
body.single-plotsaga_fanart .plotsaga-fanart-action[data-fanart-save].is-active svg{
  fill:currentColor!important;
  stroke:currentColor!important;
}


/* rc774: Fanart uses the Episode icon language. The direct share glyph is
 * intentionally the Episode-style export arrow, not a social-network tree. */
body.single-plotsaga_fanart .plotsaga-fanart-action[data-fanart-like].is-active > span,
body.single-plotsaga_fanart .plotsaga-fanart-action[data-fanart-like].is-active > span svg{color:#ff657a!important;fill:currentColor!important;stroke:currentColor!important}
body.single-plotsaga_fanart .plotsaga-fanart-action[data-fanart-save].is-active > span,
body.single-plotsaga_fanart .plotsaga-fanart-action[data-fanart-save].is-active > span svg{color:#f4c84d!important;fill:currentColor!important;stroke:currentColor!important}
body.single-plotsaga_fanart .plotsaga-fanart-action[data-fanart-like].is-active small,
body.single-plotsaga_fanart .plotsaga-fanart-action[data-fanart-save].is-active small{color:#fff!important}

@media(min-width:768px){
  /* Same comment-panel rhythm as the desktop Episode sidebar. */
  body.single-plotsaga_fanart .plotsaga-fanart-comments{
    padding:18px 16px 24px!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-comments .plotsaga-comments-section{
    display:flex!important;
    flex-direction:column!important;
    min-height:0!important;
    height:100%!important;
    overflow:hidden!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-comments .plotsaga-comments-heading{
    flex:0 0 auto!important;
    margin:0!important;
    padding:0 2px 13px!important;
    border-bottom:1px solid rgba(255,255,255,.10)!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-comments .plotsaga-comments-heading h2{
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
    color:#fff!important;
    font-size:16px!important;
    line-height:1.2!important;
    font-weight:800!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-comments .plotsaga-comments-heading small{color:#8f8f98!important;font-size:13px!important;font-weight:700!important}
  body.single-plotsaga_fanart .plotsaga-fanart-comments .plotsaga-comments-scroll{
    flex:1 1 auto!important;
    min-height:0!important;
    padding:8px 3px 12px 0!important;
    overflow-y:auto!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-comments .plotsaga-comment-list{display:flex!important;flex-direction:column!important;gap:0!important;margin:0!important}
  body.single-plotsaga_fanart .plotsaga-fanart-comments .plotsaga-comment{
    grid-template-columns:38px minmax(0,1fr)!important;
    gap:10px!important;
    margin:0!important;
    padding:12px 2px!important;
    border:0!important;
    border-bottom:1px solid rgba(255,255,255,.075)!important;
    border-radius:0!important;
    background:transparent!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-comments .plotsaga-comment-avatar,
  body.single-plotsaga_fanart .plotsaga-fanart-comments .plotsaga-comment-avatar img{width:38px!important;height:38px!important}
}

@media(max-width:767px){
  /* Fanart follows Episode's compact, icon-only over-image rail. */
  body.single-plotsaga_fanart .plotsaga-fanart-back{
    left:8px!important;
    top:8px!important;
    width:36px!important;
    min-width:36px!important;
    height:36px!important;
    min-height:36px!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    border-radius:999px!important;
    background:#17171d!important;
    border:1px solid rgba(255,255,255,.2)!important;
    box-shadow:none!important;
    font-size:0!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-back strong{display:none!important}
  body.single-plotsaga_fanart .plotsaga-fanart-back span{font-size:0!important;line-height:1!important}
  body.single-plotsaga_fanart .plotsaga-fanart-back span::before{content:'×';font-size:22px!important;line-height:1!important}

  body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail{
    right:max(7px,env(safe-area-inset-right))!important;
    bottom:max(9px,env(safe-area-inset-bottom))!important;
    gap:2px!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > .plotsaga-fanart-action,
  body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > .psvc-video-extra-action{
    min-width:42px!important;
    min-height:42px!important;
    padding:0!important;
    gap:0!important;
    color:#fff!important;
    text-shadow:0 2px 8px rgba(0,0,0,.75)!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail .plotsaga-fanart-action > span,
  body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail .psvc-video-extra-action > span{
    width:36px!important;
    height:36px!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail :is(.plotsaga-fanart-action,.psvc-video-extra-action) svg{
    width:20px!important;
    height:20px!important;
    stroke-width:2!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail :is(.plotsaga-fanart-action,.psvc-video-extra-action) small{color:#fff!important;font-size:9px!important;line-height:1!important}
  body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > [data-fanart-like]{order:10!important}
  body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > [data-fanart-comments]{order:20!important}
  body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > .psvc-video-extra-action[data-plotsaga-extra-action="spatial"]{order:30!important}
  body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > [data-fanart-save]{order:40!important}
  body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > [data-fanart-share]{order:50!important}
  body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > .plotsaga-fanart-more{order:60!important}
}


/* This is deliberately the final Fanart visual rule, after the legacy
 * no-bubble styles. Fanart and Episode therefore use the same outlined,
 * icon-first controls without altering the action handlers. */
body.single-plotsaga_fanart .plotsaga-fanart-action > span{
  display:grid!important;
  place-items:center!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.single-plotsaga_fanart .plotsaga-fanart-action svg{
  width:20px!important;
  height:20px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
/* Same export-arrow glyph treatment as the Episode Share control. */
body.single-plotsaga_fanart .plotsaga-fanart-action[data-fanart-share] svg{fill:none!important;stroke:currentColor!important;stroke-width:2!important}
@media(max-width:767px){
  body.single-plotsaga_fanart .plotsaga-fanart-back{
    left:8px!important;
    top:8px!important;
    width:36px!important;
    min-width:36px!important;
    height:36px!important;
    min-height:36px!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    border-radius:999px!important;
    background:#17171d!important;
    border:1px solid rgba(255,255,255,.20)!important;
    font-size:0!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-back strong{display:none!important}
  body.single-plotsaga_fanart .plotsaga-fanart-back span{display:block!important;font-size:0!important;line-height:1!important}
  body.single-plotsaga_fanart .plotsaga-fanart-back span::before{content:'×'!important;display:block!important;font-size:22px!important;line-height:1!important}
}


/* Fanart uses the identical outlined interaction language as Episode. The
 * Fanart-only Share remains an export arrow, and there is deliberately no
 * Moment Reaction action for an image. */
body.single-plotsaga_fanart .plotsaga-fanart-action-rail .plotsaga-fanart-action{
  appearance:none!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:3px!important;
  min-width:40px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  color:#fff!important;
  text-decoration:none!important;
}
body.single-plotsaga_fanart .plotsaga-fanart-action-rail .plotsaga-fanart-action>span{
  display:grid!important;
  place-items:center!important;
  width:36px!important;
  height:36px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.single-plotsaga_fanart .plotsaga-fanart-action-rail .plotsaga-fanart-action svg{
  width:20px!important;
  height:20px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body.single-plotsaga_fanart .plotsaga-fanart-action-rail .plotsaga-fanart-action small{color:#fff!important;font-size:9px!important;line-height:1!important}
body.single-plotsaga_fanart .plotsaga-fanart-action-rail .plotsaga-fanart-more{display:block!important;order:999!important}
@media(max-width:767px){
  body.single-plotsaga_fanart .plotsaga-fanart-back{
    display:grid!important;
    place-items:center!important;
    left:10px!important;
    top:10px!important;
    width:36px!important;
    min-width:36px!important;
    height:36px!important;
    min-height:36px!important;
    padding:0!important;
    border-radius:50%!important;
    background:#17171d!important;
    border:1px solid rgba(255,255,255,.20)!important;
    z-index:100122!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-back strong{display:none!important}
  body.single-plotsaga_fanart .plotsaga-fanart-back span{display:block!important;font:400 24px/1 sans-serif!important}
  body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail{
    z-index:100121!important;
    pointer-events:auto!important;
    right:max(8px,env(safe-area-inset-right))!important;
    bottom:max(10px,env(safe-area-inset-bottom))!important;
    gap:5px!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > .plotsaga-fanart-action,
  body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > .plotsaga-fanart-more{position:relative!important;z-index:100121!important;pointer-events:auto!important}
}


/* rc788: Fanart uses the same desktop side-panel rhythm as an Episode:
 * information, actions, then the comment thread. Fanart is an image, so it
 * deliberately has no Moment Reaction control. */
body.single-plotsaga_fanart .plotsaga-fanart-back{
  width:44px!important;
  min-width:44px!important;
  height:44px!important;
  min-height:44px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  gap:0!important;
  font-size:26px!important;
  line-height:1!important;
}
body.single-plotsaga_fanart .plotsaga-fanart-back strong{display:none!important}
body.single-plotsaga_fanart .plotsaga-fanart-back span{font:400 26px/1 sans-serif!important}

/* An image has no timeline, therefore Moment Reaction must never be injected
 * into Fanart's information panel or its comment composer. */
body.single-plotsaga_fanart :is([data-plotsaga-moment-reaction],[data-moment-reaction],[data-psvc-moment]){
  display:none!important;
}

@media(min-width:768px){
  body.single-plotsaga_fanart .plotsaga-fanart-panel-intro{
    margin:0 2px 16px!important;
    padding:2px 2px 14px!important;
    border-bottom:1px solid rgba(255,255,255,.10)!important;
  }

  body.single-plotsaga_fanart .plotsaga-fanart-comments > .plotsaga-fanart-action-rail{
    position:static!important;
    z-index:auto!important;
    display:flex!important;
    flex:0 0 auto!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    gap:8px!important;
    width:auto!important;
    margin:0 2px 16px!important;
    padding:0 0 14px!important;
    transform:none!important;
    background:transparent!important;
    border:0!important;
    border-bottom:1px solid rgba(255,255,255,.10)!important;
    border-radius:0!important;
    box-shadow:none!important;
  }

  /* Desktop already shows the complete thread below the actions, just like
   * Episode. The Comment shortcut would only duplicate that destination.
   * Report remains safely inside the trailing More menu. */
  body.single-plotsaga_fanart .plotsaga-fanart-action-rail > [data-fanart-comments],
  body.single-plotsaga_fanart .plotsaga-fanart-action-rail > .plotsaga-fanart-report-direct{
    display:none!important;
  }

  body.single-plotsaga_fanart .plotsaga-fanart-action-rail > .plotsaga-fanart-more{
    position:relative!important;
    display:block!important;
    flex:0 0 auto!important;
    margin:0!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-action-rail .plotsaga-fanart-more-popover{
    right:0!important;
    bottom:calc(100% + 8px)!important;
    z-index:100060!important;
  }

  body.single-plotsaga_fanart .plotsaga-fanart-comments .plotsaga-comments-heading{
    flex:0 0 auto!important;
    display:flex!important;
    align-items:baseline!important;
    justify-content:space-between!important;
    gap:12px!important;
    margin:0!important;
    padding:0 2px 13px!important;
    border-bottom:1px solid rgba(255,255,255,.10)!important;
  }
}


/* rc789: the Fanart close control is intentionally only a plain ×. The
 * invisible 44/36px hit area remains for touch accessibility; no bubble,
 * fill, border, shadow or duplicated pseudo-element is rendered. */
body.single-plotsaga_fanart .plotsaga-fanart-back{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body.single-plotsaga_fanart .plotsaga-fanart-back span::before{
  content:none!important;
  display:none!important;
}

/* Fanart's desktop sidebar follows the Episode reading order and visual
 * rhythm: context → actions → Comments. Fanart deliberately has no Moment
 * Reaction; it is an image rather than a time-based Episode. */
@media(min-width:768px){
  body.single-plotsaga_fanart .plotsaga-fanart-comments{
    display:flex!important;
    flex-direction:column!important;
    min-height:0!important;
    height:clamp(560px,calc(100dvh - 110px),900px)!important;
    overflow:hidden!important;
    padding:18px 16px 24px!important;
    border-radius:20px!important;
    background:#111!important;
  }

  body.single-plotsaga_fanart .plotsaga-fanart-panel-intro{
    flex:0 0 auto!important;
    margin:0 2px 12px!important;
    padding:2px 2px 13px!important;
    border:0!important;
    border-bottom:1px solid rgba(255,255,255,.10)!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-panel-intro .plotsaga-fanart-eyebrow{
    margin:0 0 5px!important;
    color:rgba(255,255,255,.66)!important;
    font-size:11px!important;
    line-height:1.3!important;
    font-weight:750!important;
    letter-spacing:0!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-panel-intro h1{
    margin:0 0 4px!important;
    font-size:21px!important;
    line-height:1.2!important;
    font-weight:850!important;
    letter-spacing:0!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-panel-intro .plotsaga-fanart-author{
    margin:0 0 6px!important;
    color:rgba(255,255,255,.76)!important;
    font-size:12px!important;
    line-height:1.35!important;
    font-weight:650!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-panel-intro .plotsaga-fanart-description{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:3!important;
    line-clamp:3!important;
    overflow:hidden!important;
    max-height:none!important;
    margin:5px 0 0!important;
    color:rgba(255,255,255,.82)!important;
    font-size:12px!important;
    line-height:1.5!important;
    font-weight:430!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-panel-intro .plotsaga-fanart-description p{
    margin:0 0 7px!important;
    font-size:inherit!important;
    line-height:inherit!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-panel-intro .plotsaga-fanart-description p:last-child{
    margin-bottom:0!important;
  }

  body.single-plotsaga_fanart .plotsaga-fanart-comments > .plotsaga-fanart-action-rail{
    gap:8px!important;
    margin:0 2px 16px!important;
    padding:0 0 14px!important;
    border-bottom:1px solid rgba(255,255,255,.10)!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-action-rail .plotsaga-fanart-action{
    min-width:44px!important;
    padding:0!important;
    color:#fff!important;
    text-shadow:none!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-action-rail .plotsaga-fanart-action > span{
    display:grid!important;
    place-items:center!important;
    width:40px!important;
    min-width:40px!important;
    height:40px!important;
    min-height:40px!important;
    border:1px solid rgba(255,255,255,.18)!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.12)!important;
    box-shadow:none!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-action-rail .plotsaga-fanart-action svg{
    width:20px!important;
    height:20px!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:2!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-action-rail .plotsaga-fanart-action small{
    color:#fff!important;
    font-size:10px!important;
    line-height:1.1!important;
    font-weight:800!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-action-rail .plotsaga-fanart-action:hover > span,
  body.single-plotsaga_fanart .plotsaga-fanart-action-rail .plotsaga-fanart-action:focus-visible > span{
    background:rgba(255,255,255,.20)!important;
    border-color:rgba(255,255,255,.36)!important;
    outline:none!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-action-rail .plotsaga-fanart-more-popover{
    min-width:158px!important;
    padding:6px!important;
    border:1px solid rgba(255,255,255,.20)!important;
    border-radius:12px!important;
    background:rgba(17,18,23,.98)!important;
    box-shadow:0 12px 28px rgba(0,0,0,.42)!important;
  }

  body.single-plotsaga_fanart .plotsaga-fanart-comments .plotsaga-comments-section{
    display:flex!important;
    flex:1 1 auto!important;
    flex-direction:column!important;
    min-height:0!important;
    height:100%!important;
    max-height:none!important;
    overflow:hidden!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-comments .plotsaga-comments-heading{
    margin:0 0 12px!important;
    padding:0 2px 12px!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-comments .plotsaga-comments-scroll{
    display:block!important;
    flex:1 1 auto!important;
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    scrollbar-gutter:stable!important;
    touch-action:pan-y!important;
  }
}

@media(max-width:767px){
  body.single-plotsaga_fanart .plotsaga-fanart-back{
    width:36px!important;
    min-width:36px!important;
    height:36px!important;
    min-height:36px!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-back span{
    display:block!important;
    font:400 28px/1 sans-serif!important;
  }
  body.single-plotsaga_fanart .plotsaga-fanart-back span::before{
    content:none!important;
    display:none!important;
  }
}


/* This has to live in the Fanart template.  Earlier shared Episode rules are
 * not emitted on a Fanart request, while older Fanart rules disagree about
 * bubble, glyph and label dimensions.  This final desktop-only contract uses
 * the exact Episode action target, outlined glyph and label language. */
@media(min-width:768px){
  html body.single-plotsaga_fanart .plotsaga-fanart-comments > .plotsaga-fanart-action-rail{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    gap:8px!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-action-rail > .plotsaga-fanart-action,
  html body.single-plotsaga_fanart .plotsaga-fanart-action-rail > .plotsaga-fanart-more > .plotsaga-fanart-action{
    appearance:none!important;
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:3px!important;
    min-width:44px!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    color:#fff!important;
    text-decoration:none!important;
    text-shadow:none!important;
    cursor:pointer!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-action-rail > .plotsaga-fanart-action > span,
  html body.single-plotsaga_fanart .plotsaga-fanart-action-rail > .plotsaga-fanart-more > .plotsaga-fanart-action > span{
    display:grid!important;
    place-items:center!important;
    width:40px!important;
    min-width:40px!important;
    height:40px!important;
    min-height:40px!important;
    margin:0!important;
    padding:0!important;
    border:1px solid rgba(255,255,255,.18)!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.12)!important;
    box-shadow:none!important;
    color:inherit!important;
    transform:none!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-action-rail > :is(.plotsaga-fanart-action,.plotsaga-fanart-more > .plotsaga-fanart-action) svg{
    display:block!important;
    width:20px!important;
    height:20px!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:2!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-action-rail > :is(.plotsaga-fanart-action,.plotsaga-fanart-more > .plotsaga-fanart-action) small{
    display:block!important;
    max-width:58px!important;
    overflow:hidden!important;
    color:#fff!important;
    font-size:10px!important;
    font-weight:800!important;
    line-height:1.1!important;
    text-align:center!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-action-rail > .plotsaga-fanart-action:hover > span,
  html body.single-plotsaga_fanart .plotsaga-fanart-action-rail > .plotsaga-fanart-action:focus-visible > span,
  html body.single-plotsaga_fanart .plotsaga-fanart-action-rail > .plotsaga-fanart-more > .plotsaga-fanart-action:hover > span,
  html body.single-plotsaga_fanart .plotsaga-fanart-action-rail > .plotsaga-fanart-more > .plotsaga-fanart-action:focus-visible > span{
    background:rgba(255,255,255,.20)!important;
    border-color:rgba(255,255,255,.36)!important;
    outline:none!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-action-rail > [data-fanart-like].is-active > span,
  html body.single-plotsaga_fanart .plotsaga-fanart-action-rail > [data-fanart-like].is-active > span svg{
    color:#ff657a!important;
    fill:currentColor!important;
    stroke:currentColor!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-action-rail > [data-fanart-save].is-active > span,
  html body.single-plotsaga_fanart .plotsaga-fanart-action-rail > [data-fanart-save].is-active > span svg{
    color:#f4c84d!important;
    fill:currentColor!important;
    stroke:currentColor!important;
  }
}


/* Mobile Fanart uses the same compact Episode action language and the same
 * full-screen comments sheet.  This final rule is intentionally placed after
 * legacy mobile experiments so only one phone state wins. */
@media(max-width:767px){
  html body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail{
    position:absolute!important;
    top:auto!important;
    right:max(7px,env(safe-area-inset-right))!important;
    bottom:max(10px,env(safe-area-inset-bottom))!important;
    left:auto!important;
    z-index:100261!important;
    display:flex!important;
    flex-direction:column!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:2px!important;
    width:46px!important;
    max-width:46px!important;
    margin:0!important;
    padding:3px 1px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    transform:none!important;
    pointer-events:auto!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > .plotsaga-fanart-action,
  html body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > .plotsaga-fanart-more > .plotsaga-fanart-action{
    appearance:none!important;
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:0!important;
    width:46px!important;
    min-width:46px!important;
    min-height:45px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    color:#fff!important;
    text-decoration:none!important;
    text-shadow:0 2px 8px rgba(0,0,0,.75)!important;
    cursor:pointer!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > .plotsaga-fanart-action > span,
  html body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > .plotsaga-fanart-more > .plotsaga-fanart-action > span{
    display:grid!important;
    place-items:center!important;
    width:40px!important;
    min-width:40px!important;
    height:40px!important;
    min-height:40px!important;
    flex-basis:40px!important;
    margin:0!important;
    padding:0!important;
    border:1px solid rgba(255,255,255,.18)!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.12)!important;
    box-shadow:none!important;
    color:inherit!important;
    transform:none!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > :is(.plotsaga-fanart-action,.plotsaga-fanart-more > .plotsaga-fanart-action) svg{
    display:block!important;
    width:20px!important;
    height:20px!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:2!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > .plotsaga-fanart-more > .plotsaga-fanart-action svg{
    fill:currentColor!important;
    stroke:none!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > :is(.plotsaga-fanart-action,.plotsaga-fanart-more > .plotsaga-fanart-action) small{
    display:block!important;
    max-width:44px!important;
    overflow:hidden!important;
    color:#fff!important;
    font-size:9px!important;
    font-weight:800!important;
    line-height:1!important;
    text-align:center!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > [data-fanart-like]{order:10!important}
  html body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > [data-fanart-comments]{order:20!important}
  html body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > [data-fanart-save]{order:40!important}
  html body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > [data-fanart-share]{order:50!important}
  html body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > .plotsaga-fanart-more{
    display:block!important;
    position:relative!important;
    order:60!important;
    flex:0 0 auto!important;
    width:46px!important;
    margin:0!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > .plotsaga-fanart-more > .plotsaga-fanart-action:hover > span,
  html body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > .plotsaga-fanart-more > .plotsaga-fanart-action:focus-visible > span,
  html body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > .plotsaga-fanart-action:hover > span,
  html body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > .plotsaga-fanart-action:focus-visible > span{
    background:rgba(255,255,255,.20)!important;
    border-color:rgba(255,255,255,.36)!important;
    outline:none!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > [data-fanart-like].is-active > span,
  html body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > [data-fanart-like].is-active > span svg{
    color:#ff657a!important;
    fill:currentColor!important;
    stroke:currentColor!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > [data-fanart-save].is-active > span,
  html body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > [data-fanart-save].is-active > span svg{
    color:#f4c84d!important;
    fill:currentColor!important;
    stroke:currentColor!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-player > .plotsaga-fanart-action-rail > :is([data-fanart-like].is-active,[data-fanart-save].is-active) small{
    color:#fff!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-comments{
    display:block!important;
    position:fixed!important;
    z-index:100005!important;
    top:var(--plotsaga-mobile-header-height,68px)!important;
    right:0!important;
    bottom:0!important;
    left:0!important;
    width:100vw!important;
    max-width:100vw!important;
    min-width:0!important;
    height:calc(100dvh - var(--plotsaga-mobile-header-height,68px))!important;
    max-height:none!important;
    margin:0!important;
    padding:48px 14px 24px!important;
    box-sizing:border-box!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    background:#111!important;
    border:0!important;
    border-radius:0!important;
    transform:translate3d(0,105%,0)!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transition:transform .25s ease,opacity .18s ease,visibility 0s linear .25s!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-comments.is-open{
    transform:translate3d(0,0,0)!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transition:transform .25s ease,opacity .18s ease!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-comments .plotsaga-comments-section{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
}


/* Final single source of truth for the Fan Art action rail. Report is only in More. */
html body.single-plotsaga_fanart .plotsaga-fanart-action-rail > .plotsaga-fanart-report-direct{display:none!important}
html body.single-plotsaga_fanart .plotsaga-fanart-action-rail > .psvc-video-extra-action,
html body.single-plotsaga_fanart .plotsaga-fanart-action-rail > [data-moment-reaction],
html body.single-plotsaga_fanart .plotsaga-fanart-action-rail > [data-plotsaga-moment-reaction]{display:none!important}
html body.single-plotsaga_fanart .plotsaga-fanart-action-rail > [data-fanart-like]{order:10!important}
html body.single-plotsaga_fanart .plotsaga-fanart-action-rail > [data-fanart-comments]{order:20!important}
html body.single-plotsaga_fanart .plotsaga-fanart-action-rail > [data-fanart-save],
html body.single-plotsaga_fanart .plotsaga-fanart-action-rail > a[aria-label="Log in to save Fanart"]{order:50!important}
html body.single-plotsaga_fanart .plotsaga-fanart-action-rail > [data-fanart-share]{order:60!important}
html body.single-plotsaga_fanart .plotsaga-fanart-action-rail > .plotsaga-fanart-more{order:70!important}
html body.single-plotsaga_fanart .plotsaga-fanart-action-rail .plotsaga-fanart-action,
html body.single-plotsaga_fanart .plotsaga-fanart-action-rail .plotsaga-fanart-more-trigger{
  box-shadow:none!important;background:transparent!important;border:0!important;border-radius:0!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;
  padding:0!important;gap:2px!important;text-shadow:none!important;
}
html body.single-plotsaga_fanart .plotsaga-fanart-action-rail .plotsaga-fanart-action > span,
html body.single-plotsaga_fanart .plotsaga-fanart-action-rail .plotsaga-fanart-more-trigger > span{
  display:grid!important;place-items:center!important;width:36px!important;height:36px!important;
  min-width:36px!important;min-height:36px!important;background:transparent!important;border:0!important;
  border-radius:0!important;box-shadow:none!important;flex-basis:36px!important;
}
html body.single-plotsaga_fanart .plotsaga-fanart-action-rail .plotsaga-fanart-action svg{
  width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;
  stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important;
}
html body.single-plotsaga_fanart .plotsaga-fanart-action-rail .plotsaga-fanart-more-trigger svg{
  fill:currentColor!important;stroke:none!important;
}
html body.single-plotsaga_fanart .plotsaga-fanart-action-rail .plotsaga-fanart-action small{
  color:#fff!important;font-size:9px!important;font-weight:700!important;line-height:1!important;
}
@media(min-width:768px){
  /* Episode desktop already displays its comment thread; it hides the redundant Comment shortcut. */
  html body.single-plotsaga_fanart .plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail{
    position:static!important;inset:auto!important;display:flex!important;flex-direction:row!important;
    flex-wrap:wrap!important;align-items:flex-start!important;justify-content:flex-start!important;
    gap:12px!important;width:auto!important;margin:0 2px 16px!important;
    padding:0 0 14px!important;background:transparent!important;border:0!important;
    border-bottom:1px solid rgba(255,255,255,.10)!important;transform:none!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail > [data-fanart-comments]{display:none!important}
  html body.single-plotsaga_fanart .plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail .plotsaga-fanart-action{
    color:#c7c7cf!important;min-width:40px!important;width:auto!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail .plotsaga-fanart-action small{
    color:inherit!important;font-size:10px!important;font-weight:850!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-comments .plotsaga-comments-empty{
    background:transparent!important;border:1px solid rgba(255,255,255,.10)!important;
    color:#a7a8b0!important;border-radius:12px!important;
  }
}
@media(max-width:767px){
  html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail{
    display:flex!important;position:absolute!important;flex-direction:column!important;flex-wrap:nowrap!important;
    align-items:center!important;justify-content:flex-end!important;gap:2px!important;
    top:auto!important;left:auto!important;right:max(7px,env(safe-area-inset-right))!important;
    bottom:max(10px,env(safe-area-inset-bottom))!important;width:46px!important;
    padding:3px 1px!important;margin:0!important;box-shadow:none!important;border:0!important;
    border-radius:0!important;background:transparent!important;z-index:100261!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail > .plotsaga-fanart-action,
  html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail > .plotsaga-fanart-more{
    display:flex!important;visibility:visible!important;align-items:center!important;
    width:42px!important;min-width:42px!important;margin:0!important;padding:0!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail > .plotsaga-fanart-action{
    min-height:42px!important;color:#fff!important;text-shadow:0 2px 8px rgba(0,0,0,.75)!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail .plotsaga-fanart-action > span,
  html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail .plotsaga-fanart-more-trigger > span{
    background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;
    width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail .plotsaga-fanart-action small{
    display:block!important;margin:0!important;line-height:1!important;
  }
}


/* The same mobile interaction surface as Episode, without Moment Reaction.
   Scoped to the real Fan Art elements and placed LAST to supersede legacy layers. */
@media (max-width:767px) {
  html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] {
    display:flex!important; flex-direction:column!important; flex-wrap:nowrap!important;
    align-items:center!important; justify-content:flex-end!important;
    position:absolute!important; top:auto!important; left:auto!important;
    right:max(8px,env(safe-area-inset-right))!important;
    bottom:max(12px,env(safe-area-inset-bottom))!important;
    width:46px!important; min-width:46px!important; max-width:46px!important;
    gap:0!important; margin:0!important; padding:0!important;
    background:transparent!important; border:0!important; border-radius:0!important;
    box-shadow:none!important; backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important; transform:none!important;
    z-index:100261!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] > .plotsaga-fanart-action,
  html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] > .plotsaga-fanart-more,
  html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] > .plotsaga-fanart-more > .plotsaga-fanart-action {
    display:flex!important; visibility:visible!important; flex-direction:column!important;
    justify-content:center!important; align-items:center!important;
    box-sizing:border-box!important; width:46px!important; min-width:46px!important;
    min-height:40px!important; height:auto!important;
    padding:0!important; margin:0!important; gap:0!important;
    border:0!important; border-radius:0!important; background:transparent!important;
    box-shadow:none!important; color:#fff!important; text-decoration:none!important;
    text-shadow:0 2px 8px rgba(0,0,0,.8)!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] .plotsaga-fanart-action > span,
  html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] .plotsaga-fanart-more-trigger > span {
    display:grid!important; place-items:center!important;
    width:40px!important; min-width:40px!important;
    height:40px!important; min-height:40px!important; flex-basis:40px!important;
    padding:0!important; margin:0!important;
    background:transparent!important; border:0!important; border-radius:0!important;
    outline:0!important; box-shadow:none!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] .plotsaga-fanart-action:is(:hover,:focus,:active) > span,
  html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] .plotsaga-fanart-more-trigger:is(:hover,:focus,:active) > span {
    background:transparent!important; border:0!important; border-radius:0!important;
    box-shadow:none!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] .plotsaga-fanart-action svg {
    width:20px!important; height:20px!important; flex-shrink:0!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] .plotsaga-fanart-action small {
    display:block!important; margin:-7px 0 0!important;
    font-size:9px!important; line-height:1!important; font-weight:800!important;
    max-width:44px!important; min-height:0!important;
    text-align:center!important; color:#fff!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] > :not([data-fanart-like]):not([data-fanart-comments]) > small,
  html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] > .plotsaga-fanart-more .plotsaga-fanart-more-trigger small {
    display:none!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] > [data-fanart-like]{order:10!important}
  html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] > [data-fanart-comments]{order:20!important;display:flex!important}
  html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] > [data-fanart-save],
  html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] > a[aria-label="Log in to save Fanart"]{order:30!important}
  html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] > [data-fanart-share]{order:40!important}
  html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] > .plotsaga-fanart-more{order:50!important}
  html body.single-plotsaga_fanart .plotsaga-fanart-player > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] > :is(.plotsaga-fanart-report-direct,[data-plotsaga-moment-reaction],[data-moment-reaction],.psvc-video-extra-action){display:none!important}

  /* Episode's full-screen comments sheet: independent from artwork controls. */
  html body.single-plotsaga_fanart aside.plotsaga-fanart-comments[data-fanart-inline-comments] {
    display:flex!important; flex-direction:column!important; position:fixed!important;
    z-index:100500!important; inset:var(--plotsaga-mobile-header-height,68px) 0 0!important;
    width:100vw!important; max-width:100vw!important;
    height:calc(100dvh - var(--plotsaga-mobile-header-height,68px))!important;
    min-height:0!important; max-height:none!important;
    margin:0!important; padding:48px 12px max(10px,env(safe-area-inset-bottom))!important;
    background:#111!important; border:0!important; border-radius:0!important;
    box-shadow:none!important; overflow:hidden!important;
    transform:translate3d(0,105%,0)!important; opacity:0!important;
    visibility:hidden!important; pointer-events:none!important;
    transition:transform .25s ease,opacity .18s ease,visibility 0s linear .25s!important;
  }
  html body.single-plotsaga_fanart aside.plotsaga-fanart-comments[data-fanart-inline-comments].is-open {
    transform:translate3d(0,0,0)!important; opacity:1!important;
    visibility:visible!important; pointer-events:auto!important;
    transition:transform .25s ease,opacity .18s ease!important;
  }
  html body.single-plotsaga_fanart aside.plotsaga-fanart-comments .plotsaga-fanart-comments-close {
    display:grid!important; position:absolute!important; top:10px!important; right:12px!important;
    width:34px!important; height:34px!important; min-height:34px!important;
    place-items:center!important; z-index:100520!important;
    border:0!important; border-radius:999px!important;
    background:#2b2b30!important; color:#fff!important; font-size:24px!important;
  }
  html body.single-plotsaga_fanart aside.plotsaga-fanart-comments .plotsaga-fanart-panel-intro,
  html body.single-plotsaga_fanart aside.plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail {display:none!important}
  html body.single-plotsaga_fanart aside.plotsaga-fanart-comments .plotsaga-comments-section {
    display:flex!important; flex-direction:column!important; flex:1 1 auto!important;
    min-height:0!important; height:100%!important; width:100%!important;
    margin:0!important; padding:0!important; overflow:visible!important;
    background:transparent!important; border:0!important; box-shadow:none!important;
  }
  html body.single-plotsaga_fanart aside.plotsaga-fanart-comments .plotsaga-comments-scroll {
    flex:1 1 auto!important; min-height:0!important;
    overflow-y:auto!important; overflow-x:hidden!important; padding:0 4px 8px!important;
  }
  html body.single-plotsaga_fanart aside.plotsaga-fanart-comments .plotsaga-comment-form {
    display:block!important; visibility:visible!important; position:relative!important;
    z-index:100510!important; flex:0 0 auto!important; margin:8px 0 0!important;
    min-height:48px!important;
  }
  html body.single-plotsaga_fanart aside.plotsaga-fanart-comments .plotsaga-comment-form textarea {
    display:block!important; visibility:visible!important; min-height:44px!important;
  }
  html body.single-plotsaga_fanart aside.plotsaga-fanart-comments .plotsaga-comment-emoji-picker{z-index:100530!important}
  html body.plotsaga-fanart-comments-open{overflow:hidden!important}
}


@media (min-width:768px){
  html body.single-plotsaga_fanart .plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract]{
    position:static!important;inset:auto!important;transform:none!important;
    display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
    align-items:flex-start!important;justify-content:flex-start!important;
    gap:8px!important;width:auto!important;max-height:none!important;
    margin:0 0 14px!important;padding:0!important;
    overflow:visible!important;background:transparent!important;border:0!important;
    border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] > :is(.plotsaga-fanart-action,.plotsaga-fanart-more),
  html body.single-plotsaga_fanart .plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] > .plotsaga-fanart-more > .plotsaga-fanart-action{
    box-sizing:border-box!important;min-width:44px!important;min-height:0!important;
    width:auto!important;height:auto!important;margin:0!important;padding:0!important;
    background:transparent!important;border:0!important;border-radius:0!important;
    box-shadow:none!important;color:#fff!important;text-shadow:none!important;transform:none!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] .plotsaga-fanart-action{
    display:flex!important;flex-direction:column!important;align-items:center!important;
    justify-content:flex-start!important;gap:3px!important;cursor:pointer!important;
  }
  /* Identical to the desktop Episode icon circle (rc776 contract). */
  html body.single-plotsaga_fanart .plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] .plotsaga-fanart-action > span{
    box-sizing:border-box!important;display:grid!important;place-items:center!important;
    width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;
    margin:0!important;padding:0!important;border-radius:999px!important;
    background:rgba(255,255,255,.12)!important;
    border:1px solid rgba(255,255,255,.18)!important;
    box-shadow:none!important;color:inherit!important;transform:none!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] .plotsaga-fanart-action svg{
    display:block!important;width:20px!important;height:20px!important;fill:none!important;
    stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;
    stroke-linejoin:round!important;filter:none!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] .plotsaga-fanart-more-trigger svg circle{
    fill:currentColor!important;stroke:none!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] .plotsaga-fanart-action small{
    display:block!important;max-width:58px!important;min-height:0!important;margin:0!important;
    overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
    color:#fff!important;font-size:10px!important;font-weight:800!important;
    line-height:1.1!important;text-align:center!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] .plotsaga-fanart-action:is(:hover,:focus-visible) > span{
    background:rgba(255,255,255,.20)!important;
    border-color:rgba(255,255,255,.36)!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] [data-fanart-like].is-active > span,
  html body.single-plotsaga_fanart .plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] [data-fanart-like].is-active svg{
    color:#ff657a!important;fill:currentColor!important;stroke:currentColor!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] [data-fanart-save].is-active > span,
  html body.single-plotsaga_fanart .plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] [data-fanart-save].is-active svg{
    color:#f4c84d!important;fill:currentColor!important;stroke:currentColor!important;
  }
  html body.single-plotsaga_fanart .plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] :is([data-fanart-like].is-active,[data-fanart-save].is-active) small{color:#fff!important}
  html body.single-plotsaga_fanart .plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] > [data-fanart-like]{order:10!important}
  /* No Comment icon on desktop: the Comments panel is already directly below. */
  html body.single-plotsaga_fanart .plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] > [data-fanart-comments]{display:none!important}
  html body.single-plotsaga_fanart .plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] > [data-fanart-save],
  html body.single-plotsaga_fanart .plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] > a[aria-label="Log in to save Fanart"]{order:20!important}
  html body.single-plotsaga_fanart .plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] > [data-fanart-share]{order:30!important}
  html body.single-plotsaga_fanart .plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] > .plotsaga-fanart-more{order:40!important}
  html body.single-plotsaga_fanart .plotsaga-fanart-comments > nav.plotsaga-fanart-action-rail[data-ps-fanart-contract] > .plotsaga-fanart-report-direct{display:none!important}
}
