/* ==========================================================================
   10. Spotlight strip (top of home — recent posters row)
   ========================================================================== */

.gj-spot {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 14px;
    margin: 12px 0 20px;
}
.gj-spot__item {
    display: block; position: relative;
    background: var(--gj-c-surface);
    border: 1px solid var(--gj-c-line);
    border-radius: var(--gj-radius);
    overflow: hidden;
}
.gj-spot__poster { aspect-ratio: 2 / 3; overflow: hidden; }
.gj-spot__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.gj-spot__item:hover .gj-spot__poster img { transform: scale(1.04); }
.gj-spot__cap {
    background: rgba(0,0,0,.7); color: #fff;
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 4px 6px; font-size: var(--gj-fz-xs);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    text-align: center;
}

/* ==========================================================================
   11. Filter tabs (Recent / Popular / Genre / Year / A-Z)
   ========================================================================== */

.gj-tabs {
    background: var(--gj-c-surface);
    border: 1px solid var(--gj-c-line);
    border-radius: var(--gj-radius);
    padding: 6px 8px;
    display: flex; flex-wrap: wrap; gap: 4px;
    align-items: center;
    margin-bottom: 12px;
    font-size: var(--gj-fz-md);
}
.gj-tabs__item {
    padding: 3px 10px;
    color: var(--gj-c-text);
    border-radius: 2px;
    font-weight: 500;
}
.gj-tabs__item:hover { background: var(--gj-c-brand-tint); text-decoration: none; }
.gj-tabs__item.is-current {
    background: var(--gj-c-brand);
    color: #fff;
    font-weight: 600;
}
.gj-tabs__item.is-current:hover { background: var(--gj-c-brand-deep); color: #fff; }

.gj-tabs--sub {
    background: #fff;
    border-top: 0;
    margin-top: -12px; margin-bottom: 14px;
    border-radius: 0 0 var(--gj-radius) var(--gj-radius);
    padding-top: 8px;
}

.gj-tabs__more {
    position: relative;
    margin-left: auto;
}
.gj-tabs__more > summary {
    list-style: none; cursor: pointer;
    padding: 3px 10px; border-radius: 2px;
    color: var(--gj-c-text-soft); font-weight: 500;
}
.gj-tabs__more > summary::-webkit-details-marker { display: none; }
.gj-tabs__more[open] > summary { background: var(--gj-c-brand-tint); }
.gj-tabs__more > div {
    position: absolute; top: 100%; right: 0; z-index: 50;
    background: #fff; border: 1px solid var(--gj-c-line);
    box-shadow: 0 6px 18px rgba(28, 37, 48, .12);
    padding: 6px; min-width: 180px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
    border-radius: var(--gj-radius);
}
.gj-tabs__more a {
    padding: 4px 8px; font-size: var(--gj-fz-sm); color: var(--gj-c-text);
    border-radius: 2px;
}
.gj-tabs__more a:hover { background: var(--gj-c-brand-tint); text-decoration: none; }
.gj-tabs__more a.is-current { background: var(--gj-c-brand); color: #fff; }

/* ==========================================================================
   12. List rows (text-only listing — Goojara's signature look)
   ========================================================================== */

.gj-rowlist { display: block; margin: 0 0 14px; }

.gj-row {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 6px 10px;
    border-bottom: 1px solid var(--gj-c-line-soft);
    font-size: var(--gj-fz-md);
    color: var(--gj-c-text);
    text-decoration: none;
}
.gj-row:nth-child(odd) { background: #fff; }
.gj-row:nth-child(even) { background: var(--gj-c-surface); }
.gj-row:hover { background: var(--gj-c-brand-tint); text-decoration: none; }
.gj-row__icon {
    width: 18px; height: 18px;
    color: var(--gj-c-brand);
    display: grid; place-items: center;
}
.gj-row__title b { font-weight: 700; color: var(--gj-c-text); }
.gj-row__meta { color: var(--gj-c-text-soft); margin-left: 6px; font-size: var(--gj-fz-sm); }
.gj-row__qual { justify-self: end; }

/* ==========================================================================
   13. Poster grid (movies/series listing)
   ========================================================================== */

.gj-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 14px 10px;
}
.gj-card {
    display: block;
    color: var(--gj-c-text);
    text-decoration: none;
    font-size: var(--gj-fz-sm);
    min-width: 0;
}
.gj-card:hover { color: var(--gj-c-brand-deep); text-decoration: none; }
.gj-card__poster {
    position: relative;
    width: 100%;
    padding-top: 150%;
    background: var(--gj-c-surface);
    border-radius: var(--gj-radius);
    overflow: hidden;
    border: 1px solid var(--gj-c-line);
    margin-bottom: 6px;
}
.gj-card__poster img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gj-card__year {
    position: absolute; top: 4px; right: 4px;
    background: rgba(0,0,0,.7); color: #fff;
    font-size: var(--gj-fz-xs);
    padding: 1px 5px; border-radius: 2px;
}
.gj-card__qual {
    position: absolute; left: 4px; top: 4px;
    background: var(--gj-c-brand); color: #fff;
    font-size: var(--gj-fz-xs); padding: 1px 5px; border-radius: 2px;
    font-weight: 600;
}
.gj-card__rate {
    position: absolute; bottom: 4px; right: 4px;
    background: rgba(0,0,0,.7); color: #ffd954;
    font-size: var(--gj-fz-xs); padding: 1px 5px; border-radius: 2px;
}
.gj-card__title {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    font-weight: 500;
    width: 100%;
    max-width: 100%;
    height: 20px;
    line-height: 20px;
    font-size: var(--gj-fz-sm);
}
.gj-grid > .gj-card { min-width: 0; }

/* ==========================================================================
   14. Pagination
   ========================================================================== */

.gj-pager {
    display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center;
    gap: 4px; margin: 20px 0 12px;
    font-size: var(--gj-fz-sm);
}
.gj-pager .pagination {
    display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; align-items: center;
    margin: 0; padding: 0; list-style: none;
}
.gj-pager .pagination__list {
    display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end;
    list-style: none; margin: 0; padding: 0;
}
.gj-pager ol { list-style: none; display: contents; padding: 0; margin: 0; }
.gj-pager li { display: contents; }
.gj-pager a, .gj-pager > span,
.gj-pager li a, .gj-pager li span,
.gj-pager .pagination__link {
    display: inline-flex; align-items: center;
    min-width: 32px; height: 32px; padding: 0 10px;
    border: 1px solid var(--gj-c-line);
    border-radius: 3px; background: #fff;
    color: var(--gj-c-text);
    text-decoration: none;
    justify-content: center;
    font-weight: 500;
    transition: all .15s;
}
.gj-pager a:hover, .gj-pager li a:hover, .gj-pager .pagination__link:hover {
    background: var(--gj-c-brand-tint); border-color: var(--gj-c-brand);
    color: var(--gj-c-brand-deep); text-decoration: none;
}
.gj-pager .pagination__link--active,
.gj-pager [aria-current="page"],
.gj-pager .active a, .gj-pager .current a {
    background: var(--gj-c-brand); color: #fff; border-color: var(--gj-c-brand-deep);
}
.gj-pager .pagination__ellipsis,
.gj-pager .disabled a, .gj-pager .disabled span {
    border: 0; background: transparent; color: var(--gj-c-muted);
}

/* ==========================================================================
   15. Detail page — player + side server panel + meta card
   ========================================================================== */

.gj-detail { padding-top: 6px; }

.gj-pwrap {
    display: grid;
    grid-template-columns: 1fr 140px;
    gap: 8px;
    margin-bottom: 14px;
}
.gj-player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1px solid var(--gj-c-line);
    border-radius: var(--gj-radius);
    overflow: hidden;
}
.gj-player iframe { width: 100%; height: 100%; border: 0; display: block; }
.gj-player.is-pending iframe { display: none; }
.gj-player__cover {
    position: absolute; inset: 0; background: #0e1114; cursor: pointer;
    display: grid; place-items: center;
}
.gj-player__cover img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: .65;
}
.gj-player__play {
    position: relative;
    width: 78px; height: 78px;
    border: 0; background: var(--gj-c-brand); border-radius: 50%;
    color: #fff;
    display: grid; place-items: center;
    box-shadow: 0 4px 18px rgba(0,0,0,.4);
}
.gj-player__play svg { transform: translateX(2px); }
.gj-player.is-loaded .gj-player__cover { display: none; }

.gj-srvbox {
    background: var(--gj-c-surface);
    border: 1px solid var(--gj-c-line);
    border-radius: 0 var(--gj-radius) var(--gj-radius) 0;
    overflow: hidden;
    display: flex; flex-direction: column;
    max-height: 100%;
}
.gj-srvbox__hd {
    background: var(--gj-c-brand);
    color: #fff;
    font: 600 var(--gj-fz-sm)/1 var(--gj-font);
    padding: 8px 10px;
}
.gj-srvbox__list {
    list-style: none; padding: 0; margin: 0;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 220px;
    max-height: 420px;
}
.gj-srvbox__item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 10px;
    border-bottom: 1px solid var(--gj-c-line-soft);
    background: #fff;
    color: var(--gj-c-text);
    font-size: var(--gj-fz-sm);
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer; border-left: 0; border-right: 0; border-top: 0;
    width: 100%; text-align: left;
}
.gj-srvbox__item:last-child { border-bottom: 0; }
.gj-srvbox__item:hover { background: var(--gj-c-brand-tint); }
.gj-srvbox__item.is-current {
    background: var(--gj-c-brand-deep);
    color: #fff;
}
.gj-srvbox__qual {
    color: var(--gj-c-muted);
    font-size: var(--gj-fz-xs);
    font-weight: 600; text-transform: none;
    letter-spacing: .3px;
}
.gj-srvbox__item.is-current .gj-srvbox__qual { color: rgba(255,255,255,.85); }

/* Episode strip (under player on series detail) */
.gj-eps {
    background: #fff;
    border: 1px solid var(--gj-c-line);
    border-radius: var(--gj-radius);
    padding: 8px 10px;
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
    margin-bottom: 14px;
    font-size: var(--gj-fz-sm);
}
.gj-eps__season {
    color: var(--gj-c-warn);
    font-weight: 700;
    margin-right: 6px;
}
.gj-eps__num {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 24px; height: 22px; padding: 0 6px;
    border-radius: 2px; background: #fff; color: var(--gj-c-brand);
    border: 1px solid var(--gj-c-line);
    font-weight: 600; text-decoration: none;
}
.gj-eps__num:hover { background: var(--gj-c-brand-tint); text-decoration: none; }
.gj-eps__num.is-current { background: var(--gj-c-text-soft); color: #fff; border-color: var(--gj-c-text-soft); }
.gj-eps__num.is-future { color: var(--gj-c-muted); cursor: not-allowed; }

/* Meta card under player */
.gj-meta {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--gj-c-line);
    border-radius: var(--gj-radius);
    padding: 12px;
    margin-bottom: 18px;
}
.gj-meta__poster {
    aspect-ratio: 2 / 3;
    background: var(--gj-c-surface);
    border-radius: var(--gj-radius);
    overflow: hidden;
}
.gj-meta__poster img { width: 100%; height: 100%; object-fit: cover; }
.gj-meta__body { min-width: 0; }
.gj-meta__title {
    font: 700 var(--gj-fz-xl)/1.25 var(--gj-font-head);
    margin: 0 0 6px;
}
.gj-meta__line {
    color: var(--gj-c-text-soft);
    font-size: var(--gj-fz-sm);
    margin-bottom: 8px;
    display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.gj-meta__line span.sep { color: var(--gj-c-muted); }
.gj-meta__imdb { color: var(--gj-c-warn); font-weight: 700; }
.gj-meta__desc {
    font-size: var(--gj-fz-md);
    margin: 0 0 8px;
    line-height: 1.55;
}
.gj-meta__row {
    font-size: var(--gj-fz-sm);
    margin: 4px 0;
}
.gj-meta__row b { color: var(--gj-c-text); margin-right: 4px; }
.gj-meta__row a { color: var(--gj-c-brand); }

.gj-meta__seasons {
    margin-top: 6px;
    display: flex; gap: 4px; flex-wrap: wrap;
    font-size: var(--gj-fz-sm);
}
.gj-meta__seasons a {
    display: inline-grid; place-items: center;
    min-width: 22px; height: 22px;
    background: #fff; color: var(--gj-c-brand);
    border: 1px solid var(--gj-c-line);
    border-radius: 2px;
    text-decoration: none;
}
.gj-meta__seasons a:hover { background: var(--gj-c-brand-tint); }
.gj-meta__seasons a.is-current { background: var(--gj-c-text-soft); color: #fff; border-color: var(--gj-c-text-soft); }

.gj-direct {
    display: none !important;
}
.gj-direct__legacy {
    background: var(--gj-c-surface);
    border: 1px solid var(--gj-c-line);
    border-radius: var(--gj-radius);
    overflow: hidden;
    align-self: start;
    max-height: 360px;
    display: flex; flex-direction: column;
}
.gj-direct__hd {
    background: var(--gj-c-brand-deep); color: #fff;
    padding: 6px 10px; font: 600 var(--gj-fz-sm)/1 var(--gj-font);
}
.gj-direct__list {
    list-style: none; padding: 0; margin: 0;
    overflow-y: auto; flex: 1 1 auto;
}
.gj-direct__item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 4px 10px;
    background: #fff;
    border-bottom: 1px solid var(--gj-c-line-soft);
    font-size: var(--gj-fz-xs);
    text-transform: uppercase;
    color: var(--gj-c-text);
    font-weight: 600;
    cursor: pointer;
    width: 100%; text-align: left;
    border-left: 0; border-right: 0; border-top: 0;
}
.gj-direct__item:last-child { border-bottom: 0; }
.gj-direct__item:hover { background: var(--gj-c-brand-tint); }
.gj-direct__item.is-current {
    background: var(--gj-c-brand);
    color: #fff;
}
.gj-direct__qual {
    color: var(--gj-c-muted);
    font-weight: 600;
}
.gj-direct__item.is-current .gj-direct__qual { color: rgba(255,255,255,.85); }

/* ==========================================================================
   16. Episode list (series detail)
   ========================================================================== */

.gj-epblock { margin-top: 18px; }
.gj-epblock__head {
    display: flex; gap: 10px; align-items: center; margin-bottom: 10px;
    flex-wrap: wrap;
}
.gj-epblock__season-pick {
    padding: 5px 8px; border: 1px solid var(--gj-c-line);
    border-radius: 2px; background: #fff;
    font-size: var(--gj-fz-md);
}

.gj-eplist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 10px;
}
.gj-ep {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    gap: 8px; align-items: center;
    padding: 6px 8px;
    background: #fff;
    border: 1px solid var(--gj-c-line);
    border-radius: var(--gj-radius);
    font-size: var(--gj-fz-sm);
    color: var(--gj-c-text); text-decoration: none;
    cursor: pointer;
    border-left: 0; border-right: 0; border-top: 0;
    width: 100%; text-align: left; border-bottom: 1px solid var(--gj-c-line-soft);
}
.gj-ep:hover { background: var(--gj-c-brand-tint); text-decoration: none; }
.gj-ep__num {
    background: var(--gj-c-brand); color: #fff;
    text-align: center; padding: 2px 0; border-radius: 2px;
    font-weight: 700;
}
.gj-ep__title {
    color: var(--gj-c-text); font-weight: 500;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.gj-ep__air {
    color: var(--gj-c-muted); font-size: var(--gj-fz-xs);
}
.gj-ep.is-future { opacity: .55; cursor: not-allowed; }
.gj-ep.is-future .gj-ep__num { background: var(--gj-c-text-soft); }

/* ==========================================================================
   17. Index / landing page
   ========================================================================== */

.gj-hero {
    text-align: center;
    padding: 26px 12px 18px;
    background: var(--gj-c-brand-tint);
    border-bottom: 1px solid var(--gj-c-brand-soft);
    margin-bottom: 16px;
}
.gj-hero h1 {
    font: 700 clamp(22px, 4vw, var(--gj-fz-3xl))/1.2 var(--gj-font-head);
    margin: 0 0 6px; color: var(--gj-c-text);
}
.gj-hero p { margin: 0 auto; max-width: 560px; color: var(--gj-c-text-soft); }
.gj-hero__form {
    display: flex; gap: 0; max-width: 480px; margin: 14px auto 6px;
}
.gj-hero__form input {
    flex: 1 1 auto; height: 34px; padding: 0 10px;
    border: 1px solid var(--gj-c-brand-deep);
    border-radius: 2px 0 0 2px;
    font: var(--gj-fz-md) var(--gj-font);
}
.gj-hero__form button {
    border: 1px solid var(--gj-c-brand-deep);
    background: var(--gj-c-brand); color: #fff;
    padding: 0 16px; border-radius: 0 2px 2px 0;
    font: 600 var(--gj-fz-md) var(--gj-font);
}
.gj-hero__quick {
    margin-top: 6px;
    font-size: var(--gj-fz-sm);
    color: var(--gj-c-text-soft);
}
.gj-hero__quick a { margin: 0 6px; }

.gj-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 0 0 18px;
}
.gj-stats__cell {
    padding: 10px;
    background: var(--gj-c-surface);
    border: 1px solid var(--gj-c-line);
    border-radius: var(--gj-radius);
    text-align: center;
}
.gj-stats__num {
    display: block; font: 700 var(--gj-fz-xl)/1 var(--gj-font-head); color: var(--gj-c-brand-deep);
}
.gj-stats__lbl {
    display: block; font-size: var(--gj-fz-sm); color: var(--gj-c-text-soft);
    margin-top: 4px; text-transform: uppercase; letter-spacing: .04em;
}

.gj-faq details {
    background: #fff; border: 1px solid var(--gj-c-line);
    border-radius: var(--gj-radius);
    margin: 6px 0;
}
.gj-faq summary {
    list-style: none; cursor: pointer; padding: 8px 12px;
    font: 600 var(--gj-fz-md)/1.4 var(--gj-font);
}
.gj-faq summary::-webkit-details-marker { display: none; }
.gj-faq summary::after { content: "+"; float: right; color: var(--gj-c-brand); font-weight: 400; }
.gj-faq details[open] summary::after { content: "−"; }
.gj-faq details[open] summary { border-bottom: 1px solid var(--gj-c-line-soft); }
.gj-faq__body {
    padding: 8px 12px 12px;
    font-size: var(--gj-fz-md);
    color: var(--gj-c-text-soft);
    line-height: 1.6;
}
.gj-faq__body a { color: var(--gj-c-brand); }

.gj-genrehub {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px; margin: 8px 0 18px;
}
.gj-genrehub a {
    padding: 8px 6px; text-align: center;
    background: var(--gj-c-surface); color: var(--gj-c-text);
    border: 1px solid var(--gj-c-line);
    border-radius: var(--gj-radius);
    font-size: var(--gj-fz-sm); font-weight: 600;
    text-decoration: none;
}
.gj-genrehub a:hover { background: var(--gj-c-brand-tint); color: var(--gj-c-brand-deep); }
.gj-genrehub a small { display: block; color: var(--gj-c-muted); font-weight: 400; }

.gj-prose {
    background: var(--gj-c-surface);
    border: 1px solid var(--gj-c-line);
    border-radius: var(--gj-radius);
    padding: 14px 16px;
    margin: 14px 0;
    font-size: var(--gj-fz-md);
    line-height: 1.65;
    color: var(--gj-c-text-soft);
}
.gj-prose h2 { font: 700 var(--gj-fz-lg)/1.3 var(--gj-font-head); margin: 12px 0 6px; color: var(--gj-c-text); }
.gj-prose h2:first-child { margin-top: 0; }
.gj-prose ul { margin: 6px 0 6px 22px; }
.gj-prose a { color: var(--gj-c-brand); }

/* ==========================================================================
   18. Search page
   ========================================================================== */

.gj-search-empty {
    text-align: center; padding: 40px 12px;
    background: var(--gj-c-surface);
    border: 1px solid var(--gj-c-line);
    border-radius: var(--gj-radius);
}
.gj-search-empty h1 { font-size: var(--gj-fz-2xl); margin: 6px 0; }
.gj-search-empty p { color: var(--gj-c-text-soft); margin: 0 0 14px; }
.gj-search-empty form { max-width: 460px; margin: 0 auto; display: flex; }
.gj-search-empty input {
    flex: 1 1 auto; height: 34px; padding: 0 10px;
    border: 1px solid var(--gj-c-brand-deep);
    border-radius: 2px 0 0 2px;
    font: var(--gj-fz-md) var(--gj-font);
}
.gj-search-empty button {
    border: 1px solid var(--gj-c-brand-deep);
    background: var(--gj-c-brand); color: #fff;
    padding: 0 16px; border-radius: 0 2px 2px 0;
}

.gj-search-head {
    display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
    margin-bottom: 12px;
}
.gj-search-head form { display: flex; flex: 1 1 220px; }
.gj-search-head input {
    flex: 1 1 auto; height: 28px; padding: 0 8px;
    border: 1px solid var(--gj-c-brand-deep); border-radius: 2px 0 0 2px;
    font: var(--gj-fz-sm) var(--gj-font);
}
.gj-search-head button {
    border: 1px solid var(--gj-c-brand-deep); background: var(--gj-c-brand);
    color: #fff; padding: 0 12px; border-radius: 0 2px 2px 0;
    font-size: var(--gj-fz-sm);
}
.gj-search-head__type label {
    display: inline-block; padding: 3px 10px; margin-right: 4px;
    background: #fff; border: 1px solid var(--gj-c-line); border-radius: 2px;
    font-size: var(--gj-fz-sm); cursor: pointer;
}
.gj-search-head__type label.is-current {
    background: var(--gj-c-brand); color: #fff; border-color: var(--gj-c-brand-deep);
}
.gj-search-head__type input { display: none; }

.gj-search-count {
    color: var(--gj-c-text-soft); font-size: var(--gj-fz-sm);
    margin: 0 0 8px;
}

.gj-search-none {
    padding: 30px 12px; text-align: center;
    background: var(--gj-c-surface); border: 1px solid var(--gj-c-line);
    border-radius: var(--gj-radius);
}
.gj-search-none p { margin: 4px 0; color: var(--gj-c-text-soft); }

/* ==========================================================================
   19. Request form
   ========================================================================== */

.gj-rqgrid {
    display: grid; grid-template-columns: 260px 1fr; gap: 18px;
}
.gj-rq-info {
    background: var(--gj-c-brand-tint);
    border: 1px solid var(--gj-c-brand-soft);
    border-radius: var(--gj-radius);
    padding: 14px;
    font-size: var(--gj-fz-sm);
    color: var(--gj-c-text-soft);
}
.gj-rq-info h1 { font-size: var(--gj-fz-xl); margin: 4px 0 6px; color: var(--gj-c-text); }
.gj-rq-info ol { margin: 8px 0 0 18px; padding: 0; line-height: 1.65; }

.gj-rq-form {
    background: #fff; border: 1px solid var(--gj-c-line);
    border-radius: var(--gj-radius); padding: 14px;
}
.gj-rq-form .form-group { margin-bottom: 10px; }
.gj-rq-form label {
    display: block; margin-bottom: 4px; font-size: var(--gj-fz-sm);
    font-weight: 600; color: var(--gj-c-text);
}
.gj-rq-form input, .gj-rq-form select, .gj-rq-form textarea {
    width: 100%; padding: 6px 8px;
    border: 1px solid var(--gj-c-line);
    border-radius: 2px; background: #fff;
    font: var(--gj-fz-sm) var(--gj-font);
}
.gj-rq-form .gj-rq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gj-rq-form button[type="submit"] {
    background: var(--gj-c-brand); color: #fff; border: 1px solid var(--gj-c-brand-deep);
    padding: 8px 16px; border-radius: 2px;
    font-size: var(--gj-fz-sm); font-weight: 600;
}
.gj-alert {
    padding: 8px 10px; margin-bottom: 10px; border-radius: 2px;
    font-size: var(--gj-fz-sm);
}
.gj-alert--ok { background: #e7f5ec; border: 1px solid #b0deba; color: #1f6b34; }
.gj-alert--err { background: #fdecea; border: 1px solid #f3b6b1; color: #8a1f17; }

/* ==========================================================================
   20. 404 / error page
   ========================================================================== */

.gj-err {
    text-align: center; padding: 50px 12px;
    background: var(--gj-c-surface);
    border: 1px solid var(--gj-c-line);
    border-radius: var(--gj-radius);
}
.gj-err__code { font: 700 80px/1 var(--gj-font-head); color: var(--gj-c-brand-deep); }
.gj-err h1 { font-size: var(--gj-fz-xl); margin: 8px 0; }
.gj-err p { color: var(--gj-c-text-soft); margin: 0 0 18px; }
.gj-err__nav { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }

/* ==========================================================================
   21. Trailer modal
   ========================================================================== */

.gj-trailer {
    position: fixed; inset: 0; z-index: 5000;
    background: rgba(0,0,0,.85);
    display: none; align-items: center; justify-content: center;
}
.gj-trailer.is-shown { display: flex; }
.gj-trailer__inner {
    width: min(960px, 92vw);
    aspect-ratio: 16/9;
    background: #000; border-radius: 4px;
    position: relative;
}
.gj-trailer__inner iframe { width: 100%; height: 100%; border: 0; border-radius: 4px; }
.gj-trailer__close {
    position: absolute; top: -36px; right: 0;
    background: #fff; color: var(--gj-c-text); border: 0; border-radius: 2px;
    padding: 4px 10px; font-size: var(--gj-fz-sm);
}

/* ==========================================================================
   22. Share buttons (engine partial)
   ========================================================================== */

.gj-share { text-align: center; margin: 18px auto; max-width: 520px; }
.gj-share p { margin: 0 0 6px; font-size: var(--gj-fz-md); color: var(--gj-c-text); font-weight: 600; }
.gj-share .sharethis-inline-share-buttons {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 6px;
}

/* ==========================================================================
   23. Responsive
   ========================================================================== */

@media (max-width: 980px) {
    .gj-page-grid { grid-template-columns: 1fr; }
    .gj-aside { order: 2; }
    .gj-spot { grid-template-columns: repeat(5, 1fr); }
    .gj-grid { grid-template-columns: repeat(5, 1fr); }
    .gj-genrehub { grid-template-columns: repeat(4, 1fr); }
    .gj-stats { grid-template-columns: repeat(2, 1fr); }
    .gj-pwrap { grid-template-columns: 1fr; }
    .gj-srvbox { max-height: none; }
    .gj-srvbox__list { max-height: 200px; }
    .gj-meta { grid-template-columns: 100px 1fr; }
    .gj-direct { grid-column: 1 / -1; max-height: 280px; }
    .gj-eplist { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .gj-mast__menu { display: inline-flex; }
    .gj-subnav__row { gap: 12px; overflow-x: auto; white-space: nowrap; }
    .gj-spot { grid-template-columns: repeat(3, 1fr); }
    .gj-grid { grid-template-columns: repeat(3, 1fr); }
    .gj-genrehub { grid-template-columns: repeat(3, 1fr); }
    .gj-rqgrid { grid-template-columns: 1fr; }
    .gj-meta { grid-template-columns: 1fr; }
    .gj-meta__poster { max-width: 140px; margin: 0 auto; }
}

@media (max-width: 480px) {
    .gj-spot { grid-template-columns: repeat(2, 1fr); }
    .gj-grid { grid-template-columns: repeat(2, 1fr); }
    .gj-stats { grid-template-columns: repeat(2, 1fr); }
    .gj-genrehub { grid-template-columns: repeat(2, 1fr); }
    .gj-mast__brand { font-size: 18px; }
}

@media (max-width: 720px) {
    .gj-mast__nav-desk { display: none; }
}

/* Mobile drawer */
.gj-drawer {
    position: fixed; top: 0; bottom: 0; left: 0;
    width: 260px; background: #fff; z-index: 4000;
    transform: translateX(-100%); transition: transform .25s;
    box-shadow: 2px 0 16px rgba(0,0,0,.15);
    overflow-y: auto;
    padding: 12px 0;
}
.gj-drawer.is-opened { transform: translateX(0); }
.gj-drawer a {
    display: block; padding: 10px 16px;
    color: var(--gj-c-text); border-bottom: 1px solid var(--gj-c-line-soft);
}
.gj-drawer a:hover { background: var(--gj-c-brand-tint); text-decoration: none; }
.gj-drawer-back {
    position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 3500;
    display: none;
}
.gj-drawer-back.is-shown { display: block; }
