/* Stable local templates; responsive grids and colors come from catalog-20261002.css. */
.xsg-cgdj-catalog[data-cgdj-template="1"]{min-height:100vh;display:flex;flex-direction:column}
[data-cgdj-template] .cgdj-local-brand{font-size:18px;font-weight:700;color:#fc7203;white-space:nowrap;margin-left:15px}
[data-cgdj-template] #cgdj-public-nav a[aria-current=page] span{color:#fff;border-bottom:2px solid #fc7203}
[data-cgdj-template] .cgdj-section-heading{font-size:2.8rem;line-height:1.4;font-weight:700;color:#f1f1f1}
[data-cgdj-template] .cgdj-page-heading{font-size:2.8rem;line-height:1.4;font-weight:700;margin:2rem 3rem}
[data-cgdj-template] .cgdj-more{display:inline-flex;align-items:center;min-height:44px;color:#c0c0c0;font-size:2.4rem}
[data-cgdj-template] .cgdj-card-detail{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:62px;padding:4px 10px;border-radius:6px;background:#3a3a3a;font-size:12px;color:#fff}
[data-cgdj-template] .cgdj-empty{margin:16px;font-size:14px;color:#b0b1b3}
[data-cgdj-template] .cgdj-filter-group{margin-bottom:16px;font-size:14px}
[data-cgdj-template] .cgdj-filter-group:last-child{margin-bottom:0}
[data-cgdj-template] .cgdj-filter-group h2{color:#b0b1b3;margin-bottom:8px;font-size:14px}
[data-cgdj-template] .cgdj-filter-options{display:flex;flex-wrap:wrap;gap:8px 12px}
[data-cgdj-template] .cgdj-filter-options a,[data-cgdj-template] .cgdj-filter-options>span{display:inline-flex;align-items:center;min-height:44px;padding:6px 12px;color:#ddd;border-radius:6px;background:#27282d}
[data-cgdj-template] .cgdj-filter-options a[aria-current=page]{background:#bf4e00;color:#fff}
[data-cgdj-template] .cgdj-breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:14px;padding:16px;color:#c0c0c0;overflow-wrap:anywhere}
[data-cgdj-template] .cgdj-breadcrumbs>*+*:before{content:"/";color:#777;margin-right:8px}
[data-cgdj-template] .cgdj-breadcrumbs a{min-height:44px;display:inline-flex;align-items:center}
[data-cgdj-template] .cgdj-pagination{margin:24px 10px;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;font-size:14px}
[data-cgdj-template] .cgdj-page-links{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
[data-cgdj-template] .cgdj-page-links a,[data-cgdj-template] .cgdj-page-links span,[data-cgdj-template] .cgdj-page-jump a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:6px;border-radius:6px;background:#27282d;color:#ddd}
[data-cgdj-template] .cgdj-page-links [aria-current=page]{background:#bf4e00;color:#fff}
[data-cgdj-template] .cgdj-page-jump{display:flex;align-items:center;gap:8px}
[data-cgdj-template] .cgdj-page-jump input{width:64px;padding:6px;border:1px solid #565963;border-radius:6px;background:#1a1b1e;color:#fff}
[data-cgdj-template] .cgdj-detail-cover img{display:block;width:100%;height:100%;object-fit:cover}
[data-cgdj-template] .cgdj-detail-info{min-width:0}
[data-cgdj-template] .cgdj-detail-info h1{font-size:4rem;line-height:1.3;font-weight:700;overflow-wrap:anywhere}
[data-cgdj-template] .cgdj-detail-meta{margin:14px 0;font-size:14px;color:#f0ceb3}
[data-cgdj-template] .cgdj-description{white-space:pre-line;margin:16px 0;font-size:14px;line-height:1.6;color:#e8eced;overflow-wrap:anywhere}
[data-cgdj-template] .cgdj-primary,[data-cgdj-template] .cgdj-episode{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:48px;padding:10px 16px;border-radius:6px;background:#27282d;font-size:14px;color:#fff}
[data-cgdj-template] .cgdj-primary{background:#bf4e00;margin-top:12px}
[data-cgdj-template] .cgdj-local-search{padding:0 16px}
[data-cgdj-template] .cgdj-local-search .cgdj-page-heading{margin-left:0}
[data-cgdj-template] .cgdj-local-footer{max-width:1280px;margin:auto;padding:24px 16px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;color:#999;font-size:14px}
[data-cgdj-template] .cgdj-local-footer nav{display:flex;flex-wrap:wrap;gap:12px}
[data-cgdj-template] .cgdj-local-footer a{display:inline-flex;align-items:center;min-height:44px}
[data-cgdj-template] .cgdj-text-blocks{padding:16px;font-size:14px;line-height:1.7;overflow-wrap:anywhere}
[data-cgdj-template] .cgdj-text-blocks h2{font-size:22px;margin:12px 0}
[data-cgdj-template] .cgdj-text-blocks p{white-space:pre-line;margin:12px 0}
[data-cgdj-template] .cgdj-text-blocks ul{list-style:disc;padding-left:22px}
[data-cgdj-template] .cgdj-text-links{display:flex;flex-wrap:wrap;gap:12px}
[data-cgdj-template] .cgdj-text-links a{min-height:44px;display:inline-flex;align-items:center;color:#f0ceb3}
@media(min-width:960px){[data-cgdj-template] .cgdj-local-brand{margin-left:0;font-size:20px}[data-cgdj-template] .cgdj-section-heading{font-size:24px}[data-cgdj-template] .cgdj-page-heading{font-size:28px;margin-left:13px}[data-cgdj-template] .cgdj-more{font-size:14px}[data-cgdj-template] .cgdj-detail-info h1{font-size:30px}[data-cgdj-template] .cgdj-filter-group{display:flex;align-items:flex-start;gap:20px}[data-cgdj-template] .cgdj-filter-group h2{min-width:44px;margin-top:12px}}

[data-cgdj-template] .cgdj-card-desktop-detail{margin-left:6px}
[data-cgdj-template] .cgdj-text-blocks h3{font-size:18px;margin:10px 0}
