.gallery-shell{width:min(1240px,100%);margin:0 auto;padding:56px 28px 90px;color:#f5f5f5}.gallery-heading{max-width:800px;margin-bottom:38px}.gallery-eyebrow{text-transform:uppercase;letter-spacing:.17em;font-size:.72rem;font-weight:700;color:#e879f9;margin-bottom:14px}.gallery-heading h1{font-size:clamp(2.4rem,5.3vw,4.5rem);line-height:1.08;letter-spacing:-.055em;font-weight:750;margin:0 0 20px}.gallery-heading>p{color:#a6a6a6;line-height:1.8;max-width:680px}.gallery-filters{--color-base-100:#252525;--color-base-300:#363636;--color-base-content:#f5f5f5;--depth:0}
.gallery-detail .breadcrumbs>ul>li+li::before{opacity:.75;border-top-width:2px;border-right-width:2px}
.gallery-toolbar{display:flex;align-items:end;gap:12px}
.gallery-filters label{display:flex;flex-direction:column;gap:9px;font-size:.8rem;font-weight:600;color:#d4d4d4;min-width:0}
.gallery-search{flex:0 1 360px;width:360px;max-width:100%}
.gallery-filters :is(input[type="search"],select){width:100%;min-width:0;min-height:44px;border:1px solid #363636;border-radius:8px;background-color:#252525;color:#f5f5f5;font-size:.875rem;box-shadow:none}
.gallery-filters :is(input[type="search"],select):focus-visible{outline:2px solid #e879f9;outline-offset:3px}
.gallery-filter-anchor{position:relative}
.gallery-filter-anchor[data-active="true"]>[data-gallery-open-filters]{border-color:#e879f9}
.gallery-filter-clear{position:absolute;z-index:1;top:-7px;right:-7px;display:flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border:1px solid #e879f9;border-radius:50%;background:#252525;color:#e879f9;cursor:pointer}
.gallery-filter-clear:hover{background:#363636}
.gallery-filter-clear:focus-visible{outline:2px solid #e879f9;outline-offset:3px}
.gallery-filter-panel{position:absolute;z-index:30;right:0;top:calc(100% + 8px);width:min(300px,calc(100vw - 40px));max-height:65dvh;overflow-y:auto;padding:20px;border:1px solid #363636;border-radius:12px;background:#1a1a1a;color:#f5f5f5;box-shadow:0 12px 30px #0005;display:grid;gap:20px}
.gallery-filter-panel fieldset{display:grid;gap:10px;min-width:0;border:0;padding:0;margin:0}
.gallery-filter-panel legend{font-size:.8rem;font-weight:600;margin-bottom:12px}
.gallery-filter-panel .gallery-filter-option{flex-direction:row;align-items:center;gap:10px;cursor:pointer}
.gallery-filter-option .checkbox{flex:none}
.gallery-request-error{margin-top:12px;color:#fca5a5;font-size:.8rem}
.gallery-results-meta{display:flex;justify-content:space-between;margin:26px 0 20px;font-size:.82rem;color:#a6a6a6}.gallery-results-meta a,.gallery-back{color:#e879f9;text-decoration:none}.gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:23px;align-items:stretch}.gallery-card__body{flex:1;padding:18px}.gallery-card h2{font-weight:650;font-size:1.05rem;line-height:1.4;margin:0 0 5px}.gallery-card__body>p{font-size:.76rem;color:#a6a6a6;line-height:1.5;margin-bottom:13px}.gallery-tags{display:flex;flex-wrap:wrap;gap:6px}.gallery-tags span{font-size:.66rem;border:1px solid #363636;border-radius:5px;color:#d4d4d4;background:#252525;padding:4px 7px}.gallery-button{display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:10px;border:1px solid #363636;padding:19px 22px;font-size:1.05rem;font-weight:700;color:#f5f5f5;background:#252525;text-decoration:none;min-height:62px;cursor:pointer}.gallery-button--small{justify-content:center;padding:11px 15px;min-height:44px;font-size:.81rem}.gallery-button--primary{background:#c026d3;color:#ffffff;border-color:#c026d3}.gallery-button--civit{background:#202c39;border-color:#3e6082;color:#d4e9ff}.gallery-button:hover{filter:brightness(1.1)}.gallery-button:focus-visible{outline:2px solid #e879f9;outline-offset:4px}.gallery-empty{grid-column:1/-1;padding:45px 22px;text-align:center;border:1px dashed #363636;border-radius:14px;color:#a6a6a6;line-height:1.8}.gallery-empty h2{color:#f5f5f5;font-size:1.3rem}.gallery-pagination{display:flex;align-items:center;justify-content:center;gap:25px;margin-top:38px;color:#a6a6a6;font-size:.8rem}.gallery-back{display:inline-block;font-size:.82rem;margin-bottom:35px}.gallery-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:48px;align-items:start}.gallery-sidebar{width:100%;max-width:300px;grid-column:2;grid-row:1;position:sticky;top:110px}.gallery-sidebar__inner{padding:24px;border:0;border-radius:12px;background:#1a1a1a;color:#f5f5f5;--color-base-100:#1a1a1a;--color-base-200:#111;--color-base-300:#363636;--color-base-content:#f5f5f5;--color-neutral:#252525;--depth:0}
.gallery-sidebar h2{font-size:1.4rem;letter-spacing:-.025em;line-height:1.3;font-weight:650;margin:0 0 22px}
.gallery-sidebar__actions{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:8px;margin-top:10px}
.gallery-sidebar .gallery-button,.gallery-make-lora-button{justify-content:center;min-height:48px;padding:12px 14px;border:1px solid #363636;border-radius:8px;background:#252525;color:#f5f5f5;font-size:.875rem;font-weight:600;box-shadow:none}
.gallery-sidebar .gallery-button:hover,.gallery-make-lora-button:hover{background:#303030;filter:none}
.gallery-sidebar .gallery-button:focus-visible,.gallery-make-lora-button:focus-visible{outline:2px solid #fff;outline-offset:3px}
.gallery-sidebar .gallery-button--primary,.gallery-make-lora-button{background:#fff;border-color:#fff;color:#111;gap:8px}
.gallery-sidebar .gallery-button--primary:hover,.gallery-make-lora-button:hover{background:#ffffffe6;border-color:#fff}
.gallery-sidebar .gallery-button--download{padding:0}
.gallery-sidebar .gallery-button--civit{background:#23333f;border-color:#1c4358;color:#d4d8dc;gap:4px;font-weight:700}
.gallery-sidebar .gallery-button--civit:hover{background:#253947;border-color:#286083}
.gallery-button--civit img{display:block;width:24px;height:24px;object-fit:contain}
.gallery-version{position:relative;display:block;width:100%;margin:24px 0 0}
.gallery-version summary{display:flex;align-items:center;width:100%;min-width:0;height:44px;border-color:#363636;border-radius:8px;background-color:#252525;color:#f5f5f5;font-size:.875rem;box-shadow:none;cursor:pointer;list-style:none}
.gallery-version summary::-webkit-details-marker{display:none}
.gallery-version summary:focus-visible{outline:2px solid #fff;outline-offset:3px}
.gallery-version__menu{position:absolute;inset:calc(100% + 6px) 0 auto;z-index:20;width:100%;max-height:260px;overflow-y:auto;padding:4px;border:1px solid #363636;border-radius:8px;background:#252525;box-shadow:0 8px 16px #0004}
.gallery-version__menu a{display:block;padding:10px 12px;border-radius:4px;color:#f5f5f5;font-size:.875rem;text-decoration:none}
.gallery-version__menu a:hover,.gallery-version__menu a:focus-visible,.gallery-version__menu a[aria-current]{background:#363636}
.gallery-character-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px}
.gallery-character-franchise{margin:0;color:#a6a6a6;font-size:.9rem;line-height:1.6}
.gallery-character-meta .gallery-tags span{border-color:#363636;background:#252525;color:#d4d4d4}
.gallery-section-heading>span{color:#a6a6a6;font-size:.75rem}.gallery-lightbox{margin:auto;padding:0;border:0;border-radius:16px;background:transparent;max-width:none;max-height:none;overflow:visible;box-shadow:none;outline:none}.gallery-lightbox::backdrop{background:#000d}.gallery-lightbox img{display:block;width:auto;height:auto;max-width:90vw;max-height:90dvh;border-radius:16px}.gallery-shell [hidden]{display:none}
@media(max-width:1100px){.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.gallery-detail-layout{gap:28px;grid-template-columns:minmax(0,1fr) 280px}}
@media(max-width:800px){.gallery-shell{padding:34px 20px 65px}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.gallery-detail-layout{display:flex;flex-direction:column;gap:32px}.gallery-sidebar{position:static;width:100%}}
@media(max-width:540px){.gallery-toolbar{flex-wrap:wrap}.gallery-search{flex-basis:100%}.gallery-toolbar>.gallery-filter-anchor{margin-left:auto}.gallery-heading{margin-bottom:27px}.gallery-card__body{padding:13px}.gallery-card h2{font-size:.9rem}.gallery-card__body>p{font-size:.7rem}.gallery-detail .gallery-heading h1{font-size:2.7rem}.gallery-sidebar__inner{display:block}.gallery-pagination{gap:12px}.gallery-back{margin-bottom:24px}}

.gallery-download-spinner{display:none;width:20px;height:20px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:gallery-download-spin .75s linear infinite}
.gallery-button--download[aria-busy="true"]{cursor:wait;opacity:.6}
.gallery-button--download[aria-busy="true"] svg{display:none}
.gallery-button--download[aria-busy="true"] .gallery-download-spinner{display:block}
.gallery-download-error{margin:12px 0 0;color:#fca5a5;font-size:.8rem;line-height:1.5}
@keyframes gallery-download-spin{to{transform:rotate(360deg)}}

.gallery-details{margin-top:20px;padding-top:20px;border-top:1px solid #363636}
.gallery-sidebar .gallery-details h2{margin:0 0 14px;font-size:.9rem;letter-spacing:normal;font-weight:600}
.gallery-details dl{margin:0;display:grid;gap:14px}
.gallery-details dl>div{display:grid;grid-template-columns:80px minmax(0,1fr);gap:12px;align-items:baseline;font-size:.75rem;line-height:1.5}
.gallery-details dt{color:#a6a6a6}
.gallery-details dd{min-width:0;margin:0;text-align:right;color:#f5f5f5;overflow-wrap:anywhere}
.gallery-details code{display:inline-block;box-sizing:border-box;max-width:100%;white-space:normal;overflow-wrap:anywhere;vertical-align:middle;padding:3px 6px;border:1px solid #363636;border-radius:4px;background:#252525;font-size:.72rem}

.gallery-details__downloads{display:flex;align-items:center;justify-content:flex-end;gap:5px}
.gallery-details__downloads svg{flex:none}
[data-gallery-review-percentage][data-rating="positive"]{color:#4ade80}
[data-gallery-review-percentage][data-rating="mixed"]{color:#facc15}
[data-gallery-review-percentage][data-rating="negative"]{color:#f87171}
[data-gallery-review-count]{color:#a6a6a6}
.gallery-related{margin-top:40px;min-width:0}
.gallery-related__header{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.gallery-related__header .all-loras-button{position:relative;top:3px}
.gallery-related h2{margin:0;font-size:clamp(1.1rem,3vw,2.5rem);line-height:1.4;font-weight:600;color:#fff}

.gallery-heading>p+p{margin-top:12px}.gallery-heading__actions{margin-top:20px}

.gallery-heading__actions .gallery-make-lora-button{display:inline-flex;max-width:100%}
.gallery-empty .gallery-button{display:inline-flex;justify-content:center;box-sizing:border-box;width:220px;max-width:100%;min-height:44px;padding:10px 24px;margin-top:18px;border-radius:8px;background:#fff;border-color:#fff;color:#111;font-size:.875rem;font-weight:600}
.gallery-empty .gallery-button:hover{background:#ffffffe6;border-color:#fff;filter:none}

[data-gallery-list]{display:grid;grid-template-columns:minmax(320px,32%) minmax(0,1fr);align-items:start;gap:40px;width:100%}
.gallery-list-panel{position:sticky;top:calc(var(--header-spacer-height) + 24px);z-index:10}
[data-gallery-list] .gallery-heading{margin-bottom:28px}
[data-gallery-list] .gallery-heading h1{font-family:"Bebas Neue",Impact,sans-serif;font-size:5.5rem;font-weight:400;letter-spacing:.015em}
[data-gallery-list] .gallery-heading>p{font-size:.875rem;line-height:1.7}
[data-gallery-list] .gallery-toolbar{flex-wrap:nowrap}
[data-gallery-list] .gallery-search{min-width:0}
[data-gallery-list] .gallery-filter-anchor{flex:none}
[data-gallery-list] [data-gallery-results]{min-width:0}
[data-gallery-list] .gallery-results-meta{margin-top:0}
[data-gallery-list] .gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
@media(min-width:801px){[data-gallery-list] .gallery-filter-panel{top:auto;right:auto;bottom:0;left:calc(100% + 12px)}}
@media(min-width:1400px){[data-gallery-list] .gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){[data-gallery-list]{grid-template-columns:minmax(300px,34%) minmax(0,1fr);gap:24px}[data-gallery-list] .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){[data-gallery-list]{grid-template-columns:minmax(0,1fr);gap:28px}.gallery-list-panel{position:static}[data-gallery-list] .gallery-toolbar>.gallery-filter-anchor{margin-left:0}[data-gallery-list] .gallery-search{flex-basis:360px}[data-gallery-list] .gallery-grid{gap:15px}}
