#fan-made-home .fan-image-grid,#fan-made .fan-image-grid{display:grid!important;gap:8px;align-items:start;min-width:0}
#fan-made-home .fan-image-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
#fan-made .fan-image-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
#fan-made-home .fan-image-grid>.fan-card,#fan-made .fan-image-grid>.fan-card{padding:0;border:0;border-radius:8px;background:transparent;overflow:hidden;min-width:0;margin:0}
#fan-made-home .fan-image-grid>.fan-card>a:first-child,#fan-made .fan-image-grid>.fan-card>a:first-child{display:block;line-height:0;border-radius:8px;overflow:hidden;transition:filter .2s ease}
#fan-made-home .fan-image-grid>.fan-card>a:first-child img,#fan-made .fan-image-grid>.fan-card>a:first-child img{display:block;width:100%;height:auto!important;aspect-ratio:auto!important;max-height:none!important;object-fit:contain;border-radius:8px}
#fan-made-home .fan-image-grid>.fan-card>:not(a:first-child):not(.fan-image-view-count),#fan-made .fan-image-grid>.fan-card>:not(a:first-child):not(.fan-image-view-count){display:none}
.fan-image-view-count{display:flex;align-items:center;justify-content:flex-end;gap:4px;min-height:24px;font-size:12px;line-height:1.2;color:var(--muted);padding:4px 2px}
.fan-image-view-count svg{width:14px;height:14px;flex:none}
.fan-image-view-count [data-view-total]{font-variant-numeric:tabular-nums}
.fan-show-more{display:flex;justify-content:center;margin:20px 0 0}
[data-show-more][hidden],.fan-image-grid>.fan-card[hidden]{display:none!important}
.fan-image-grid>.fan-card>a:first-child:focus-visible{outline:3px solid var(--accent-light);outline-offset:-3px}
.fan-post-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:16px 0}
.fan-post-actions form{margin:0}
.fan-post-actions.is-video,.fan-video-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:6px;margin-top:16px}
.fan-video-actions>*,.fan-post-actions.is-video>*{margin:0;min-width:0;width:100%;box-sizing:border-box}
.fan-video-actions .btn,.fan-post-actions.is-video .btn{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:44px;padding:8px 6px;font-size:13px;line-height:1.15;white-space:normal;text-align:center;box-sizing:border-box}
.fan-card-comments[data-inline-comments]:not([open]){display:none}
.fan-card-comments[data-inline-comments]>summary[hidden]{display:none}
.fan-image-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.fan-image-heading .fan-gallery-heading{margin:0}
.fan-image-heading .btn{flex-shrink:0}
.fan-gallery-share-fallback{margin:0 0 16px;font-size:14px}
.fan-gallery-share-fallback input{display:block;width:100%;box-sizing:border-box;margin-top:8px}
#fan-made-images{scroll-margin-top:100px}
#fan-made .fan-gallery-pagination{margin-top:18px}
#fan-made .fan-gallery-pagination nav>div:first-child{display:none}
#fan-made .fan-gallery-pagination nav>div:last-child{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px}
#fan-made .fan-gallery-pagination nav>div:last-child>div:first-child{flex-basis:100%;text-align:center;font-size:12px;color:var(--muted)}
#fan-made .fan-gallery-pagination nav>div:last-child>div:last-child>span{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px}
#fan-made .fan-gallery-pagination nav a,#fan-made .fan-gallery-pagination nav span[aria-current]>span,#fan-made .fan-gallery-pagination nav span[aria-disabled]>span{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin:0;padding:8px 12px;border:1px solid var(--line);border-radius:8px;font-size:14px;line-height:1;background:var(--surface)}
#fan-made .fan-gallery-pagination nav span[aria-current]>span{border-color:var(--accent-light);color:var(--accent-light)}
#fan-made .fan-gallery-pagination nav span[aria-disabled]>span{opacity:.45}
#fan-made .fan-gallery-pagination svg{display:block;width:18px;height:18px;max-width:18px;max-height:18px;flex:none}
@media(max-width:600px){#fan-made-home .fan-image-grid,#fan-made .fan-image-grid{gap:5px}#fan-made-home .fan-image-grid>.fan-card,#fan-made .fan-image-grid>.fan-card,#fan-made-home .fan-image-grid>.fan-card>a:first-child,#fan-made .fan-image-grid>.fan-card>a:first-child,#fan-made-home .fan-image-grid>.fan-card>a:first-child img,#fan-made .fan-image-grid>.fan-card>a:first-child img{border-radius:4px}.fan-image-view-count{font-size:11px;gap:3px}}
@media(hover:hover){.fan-image-grid>.fan-card>a:first-child:hover{filter:brightness(1.08)}}
@media(prefers-reduced-motion:reduce){.fan-image-grid>.fan-card>a:first-child{transition:none}}

/* Even homepage thumbnails, with clear interactive feedback. */
#fan-made-home .fan-image-grid>.fan-card>a:first-child{display:flex;align-items:center;justify-content:center;aspect-ratio:3/4;background:#08151d;cursor:pointer;transition:filter .18s ease,transform .18s ease}
#fan-made-home .fan-image-grid>.fan-card>a:first-child img{width:100%;height:100%!important;max-height:100%!important;object-fit:cover;object-position:center}
@media(hover:hover){#fan-made-home .fan-image-grid>.fan-card>a:first-child:hover{filter:brightness(1.1);outline:2px solid #71dce9;outline-offset:-2px}}
#fan-made-home .fan-image-grid>.fan-card>a:first-child:active{transform:scale(.98);filter:brightness(1.1)}
@media(prefers-reduced-motion:reduce){#fan-made-home .fan-image-grid>.fan-card>a:first-child{transition:none}#fan-made-home .fan-image-grid>.fan-card>a:first-child:active{transform:none}}

/* Align production artwork thumbnails without padding. */
#fan-made .fan-image-grid>.fan-card>a:first-child{position:relative;width:100%;aspect-ratio:2/3}
#fan-made .fan-image-grid>.fan-card>a:first-child img{position:absolute;inset:0;width:100%;height:100%!important;max-height:100%!important;object-fit:cover;object-position:center}

/* centred play button on fan video cards, 2026-11-21 */
.fan-video-shell{position:relative;display:block;width:100%;line-height:0;border-radius:4px;overflow:hidden;background:#08151d}
.fan-video-shell video.fan-card-video{display:block;width:100%;height:auto;border-radius:4px}
.fan-video-play{position:absolute;inset:0;margin:auto;width:64px;height:64px;padding:0;border-radius:50%;border:2px solid rgba(255,255,255,.85);background:rgba(8,21,29,.55);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .15s ease,background .15s ease}
.fan-video-play::before{content:"";display:block;width:0;height:0;margin-left:5px;border-style:solid;border-width:13px 0 13px 21px;border-color:transparent transparent transparent #fff}
.fan-video-play:hover{background:rgba(113,220,233,.75);transform:scale(1.06)}
.fan-video-play:focus-visible{outline:3px solid var(--accent-light,#71dce9);outline-offset:3px}
.fan-video-play[hidden]{display:none}
@media(max-width:560px){.fan-video-play{width:52px;height:52px}.fan-video-play::before{border-width:11px 0 11px 17px}}
.fan-card-title-link{color:inherit;text-decoration:none}
.fan-card-title-link:hover,.fan-card-title-link:focus-visible{color:var(--accent-light,#71dce9);text-decoration:underline}
