/* Catalogue composition, inspired by the reference homepage; no extra JS library. */
body.animego .ag-home-panel{border-color:transparent}
body.animego.dark .ag-schedule-day summary{background:rgba(255,255,255,.02);border:1px solid rgba(255,255,255,.04)}
body.animego.dark .ag-schedule-day[open] summary{background:#dee2e6;color:#242525}
body.animego .ag-update-item{border-radius:9px;padding:6px;border:1px solid var(--ag-border)}
body.animego.dark .ag-update-item{background:rgba(255,255,255,.02);border-color:rgba(255,255,255,.04)}
body.animego.light .ag-update-item,body.animego.light .ag-schedule-day summary{background:rgba(0,0,0,.04);border-color:rgba(0,0,0,.06)}
body.animego .ag-home-panel{padding:16px}
body.animego .ag-home-panel h2{font-size:28px}
body.animego .ag-poster-rail h3{font-size:20px}
body.animego .ag-poster-rail .ag-card-title{font-size:20px;line-height:1.35;font-weight:400;margin:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.animego .ag-featured h1{font-size:32px;font-weight:600;letter-spacing:0}
body.light{--ag-muted:#61696e;--text_secondary:#61696e}
.ag-catalog-home{min-width:0}.ag-section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.ag-section-heading h1,.ag-section-heading h2{margin:0}.ag-section-heading>a{white-space:nowrap;font-size:14px}.ag-poster-rail{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x proximity;padding:0 0 12px;scrollbar-width:thin}.ag-poster-rail>.ag-catalog-card{flex:0 0 180px;min-width:0;scroll-snap-align:start}.ag-card-poster{display:block;position:relative;border-radius:6px;overflow:hidden;aspect-ratio:5/7;background:var(--ag-soft)}.ag-card-poster img{display:block;width:100%;height:100%;object-fit:cover}.ag-card-rating{position:absolute;left:0;top:8px;background:#23813a;color:#fff;font-size:14px;font-weight:700;padding:2px 10px;border-radius:0 3px 3px 0}.ag-catalog-card h3{font-size:18px;line-height:1.35;font-weight:400;margin:5px 0}.ag-catalog-card .ag-card-original{margin:8px 0 3px;font-size:13px;color:var(--ag-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ag-catalog-card .ag-card-meta{font-size:13px;color:var(--ag-muted);margin:4px 0}.ag-poster-rail h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ag-poster-rail .ag-card-meta{display:none}.ag-home-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:20px 0 28px}.ag-home-panel{min-width:0;padding:20px;background:var(--ag-surface);border:1px solid var(--ag-border);border-radius:7px;box-shadow:0 1px 3px #00000008}.ag-home-panel h2{font-size:26px;margin-bottom:14px}.ag-panel-note{color:var(--ag-muted);font-size:13px;line-height:1.55;margin:0 0 20px}.ag-schedule-day{margin:0 0 9px}.ag-schedule-day summary{display:flex;justify-content:space-between;gap:12px;min-height:44px;padding:10px 12px;border-radius:5px;background:var(--ag-soft);list-style:none;font-size:14px}.ag-schedule-day summary::-webkit-details-marker{display:none}.ag-schedule-day summary>span{text-transform:capitalize}.ag-schedule-day[open] summary{background:#e8ecef;color:#242727}.ag-schedule-empty{font-size:13px;color:var(--ag-muted);padding:12px;margin:0}.ag-updates-list{max-height:424px;overflow-y:auto;scrollbar-width:thin;padding-right:5px}.ag-update-item{display:flex;align-items:center;gap:12px;background:var(--ag-soft);border-radius:5px;margin:0 0 8px;padding:9px;color:var(--ag-text);font-size:14px}.ag-update-item:hover{color:var(--ag-accent);text-decoration:none}.ag-update-item>img{width:42px;height:60px;object-fit:cover;border-radius:4px;flex:none}.ag-update-item>span{min-width:0}.ag-update-item small{display:block;color:var(--ag-muted);font-size:12px;margin-top:5px}.ag-schedule-day .ag-update-item{margin-top:8px}.ag-results h1{font-size:28px;line-height:1.25;letter-spacing:-.3px}.ag-result-count{font-size:13px;white-space:nowrap;color:var(--ag-muted)}.ag-catalog-filters{display:grid;grid-template-columns:2fr 1.5fr 95px 1.4fr auto auto;gap:12px;align-items:end;padding:18px 0;border-block:1px solid var(--ag-border);margin-bottom:25px}.ag-catalog-filters label{display:flex;flex-direction:column;gap:6px;font-size:13px;min-width:0}.ag-catalog-filters input,.ag-catalog-filters select{width:100%;min-width:0;font-size:14px;min-height:44px}.ag-catalog-filters button{background:#c92f32;border-color:#c92f32;color:white;min-height:44px;font-size:14px}.ag-catalog-filters>a{font-size:13px;min-height:44px;display:flex;align-items:center}.ag-catalog-grid{margin-top:20px}.ag-grid-heading{font-size:25px}.ag-catalog-grid h3{font-size:16px}.ag-catalog-about{margin-top:30px}.ag-catalog-empty{padding:20px 0}.ag-catalog-home .ag-poster-empty{height:100%;font-size:13px}.ag-featured{margin-bottom:10px}body.dark .ag-schedule-day[open] summary{background:#e8ecef;color:#242727}
@media(max-width:1100px){.ag-catalog-filters{grid-template-columns:2fr 1.5fr 90px 1.5fr}.ag-catalog-filters button,.ag-catalog-filters>a{grid-row:2}.ag-poster-rail>.ag-catalog-card{flex-basis:165px}}
@media(max-width:760px){.ag-home-columns{grid-template-columns:1fr;gap:18px}.ag-poster-rail>.ag-catalog-card{flex-basis:150px}.ag-home-panel{padding:16px}.ag-section-heading{align-items:flex-start}.ag-section-heading h2,.ag-results h1{font-size:24px}.ag-catalog-filters{grid-template-columns:1fr 1fr}.ag-catalog-filters button,.ag-catalog-filters>a{grid-row:auto}.ag-updates-list{max-height:330px}.ag-results .ag-section-heading{flex-wrap:wrap;gap:8px}.ag-catalog-grid h3{font-size:16px}.ag-featured .ag-section-heading>a{font-size:12px;padding-top:5px}.ag-poster-rail{gap:14px}}
