:root {
    --spec-bg: #0b0d12;
    --spec-bg-2: #11141b;
    --spec-panel: rgba(22, 25, 32, .82);
    --spec-card: #151922;
    --spec-line: rgba(255, 255, 255, .12);
    --spec-text: #f7f9ff;
    --spec-muted: #c9d0df;
    --spec-dim: #8a93a7;
    --spec-blue: #4f7bff;
    --spec-cyan: #4ee4ff;
    --spec-red: #ff3f4f;
    --spec-yellow: #ffd45a;
    --spec-radius: 8px;
    --spec-shadow: 0 28px 90px rgba(0, 0, 0, .48);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    background: var(--spec-bg);
}

body.spec-body {
    min-height: 100vh;
    color: var(--spec-text);
    background: linear-gradient(180deg, #090b10 0%, #11141b 54%, #090b10 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.66;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input {
    font: inherit;
}

.spec-app > :not(.spec-header):not(.spec-drawer):not(.spec-main):not(.spec-hotwords):not(.spec-float):not(.spec-footer),
.spec-main > :not(.spec-hero):not(.spec-container):not(.spec-detail):not(.spec-empty),
.spec-header__inner > :not(.spec-brand):not(.spec-nav):not(.spec-search):not(.spec-menu-btn),
.spec-hero__inner > :not(.spec-hero__content):not(.spec-hero-rank),
.spec-hero__content > :not(.spec-slogan):not(.spec-kicker):not(h1):not(p):not(.spec-meta):not(.spec-actions),
.spec-hero-tags > :not(a),
.spec-section > :not(.spec-section__head):not(.spec-card-grid),
.spec-section__head > :not(div):not(.spec-more),
.spec-card-grid > :not(.spec-card),
.spec-list-grid > :not(.spec-card),
.spec-card > :not(.spec-card__poster):not(h2):not(h3):not(p),
.spec-detail-hero__inner > :not(.spec-detail-poster):not(.spec-detail-info),
.spec-detail-info > :not(.spec-breadcrumb):not(.spec-kicker):not(h1):not(p):not(.spec-meta):not(.spec-info-list):not(.spec-actions),
.spec-detail-layout > :not(.spec-detail-main):not(.spec-related),
.spec-watch-layout > :not(.spec-watch-main):not(.spec-related),
.spec-panel > :not(.spec-panel__head):not(.spec-source):not(.spec-story__content),
.spec-panel__head > :not(div):not(button),
.spec-source > :not(h3):not(.spec-episode-list),
.spec-episode-list > :not(.spec-episode),
.spec-related > :not(h2):not(a),
.spec-related a > :not(img):not(span),
.spec-related span > :not(strong):not(em),
.spec-meta > :not(span),
.spec-actions > :not(a):not(button),
.spec-filter > :not(a),
.spec-pagination > :not(a):not(span),
.spec-nextprev > :not(a):not(span),
.spec-hotwords div > :not(a) {
    display: none !important;
}

.spec-container {
    width: min(1460px, calc(100% - 56px));
    margin: 0 auto;
}

.spec-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(3, 5, 10, .72), rgba(3, 5, 10, .16));
    backdrop-filter: blur(16px);
}

.spec-header__inner {
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.spec-brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 20px;
    font-weight: 950;
}

.spec-brand__mark {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 4px solid var(--spec-blue);
    position: relative;
    box-shadow: 0 0 28px rgba(79, 123, 255, .46);
}

.spec-brand__mark::after {
    content: "";
    position: absolute;
    right: -3px;
    top: 8px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--spec-cyan);
}

.spec-nav {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.spec-nav > a,
.spec-nav__trigger {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: rgba(255, 255, 255, .84);
    background: transparent;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 850;
    transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.spec-nav > a:hover,
.spec-nav > a.is-active,
.spec-nav__group:hover .spec-nav__trigger,
.spec-nav__trigger.is-active {
    color: #fff;
    border-color: rgba(255, 255, 255, .18);
    background: linear-gradient(135deg, rgba(79, 123, 255, .86), rgba(53, 167, 255, .72));
    box-shadow: 0 12px 26px rgba(79, 123, 255, .2);
}

.spec-nav__group {
    position: relative;
}

.spec-nav__trigger {
    cursor: default;
}

.spec-nav__trigger span {
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.spec-nav__menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 170px;
    padding: 8px;
    border: 1px solid var(--spec-line);
    border-radius: var(--spec-radius);
    background: rgba(18, 22, 31, .96);
    box-shadow: var(--spec-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.spec-nav__group:hover .spec-nav__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.spec-nav__menu a {
    display: block;
    padding: 9px 10px;
    border-radius: 7px;
    color: var(--spec-muted);
    white-space: nowrap;
}

.spec-nav__menu a:hover,
.spec-nav__menu a.is-active {
    color: #fff;
    background: rgba(79, 123, 255, .18);
}

.spec-search {
    flex: 0 0 310px;
    height: 36px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, .1);
}

.spec-search input {
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 12px;
    color: #fff;
    background: transparent;
}

.spec-search input::placeholder {
    color: rgba(255, 255, 255, .56);
}

.spec-search button {
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.spec-search button::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 9px;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, .82);
    border-radius: 50%;
}

.spec-search button::after {
    content: "";
    position: absolute;
    left: 24px;
    top: 22px;
    width: 8px;
    height: 2px;
    background: rgba(255, 255, 255, .82);
    transform: rotate(45deg);
}

.spec-menu-btn {
    display: none;
    width: 38px;
    height: 38px;
    border: 1px solid var(--spec-line);
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
}

.spec-menu-btn span {
    display: block;
    width: 17px;
    height: 2px;
    margin: 4px auto;
    background: #fff;
}

.spec-hero {
    position: relative;
    min-height: 790px;
    overflow: hidden;
    display: grid;
    align-items: end;
}

.spec-hero__bg,
.spec-detail-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.spec-hero__bg img,
.spec-detail-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.18) contrast(1.04);
}

.spec-hero__color {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(170, 0, 0, .62) 0%, rgba(124, 0, 82, .38) 24%, rgba(0, 76, 198, .25) 43%, rgba(221, 149, 0, .28) 58%, rgba(209, 0, 18, .32) 73%, rgba(0, 0, 0, .66) 100%),
        linear-gradient(180deg, rgba(5, 7, 12, .08) 0%, rgba(5, 7, 12, .14) 46%, rgba(11, 13, 18, .92) 88%, #0b0d12 100%);
}

.spec-hero__inner {
    position: relative;
    z-index: 2;
    min-height: 650px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 42px;
    align-items: center;
    padding-top: 96px;
}

.spec-hero__content {
    max-width: 620px;
    padding-top: 170px;
}

.spec-slogan {
    display: inline-flex;
    max-width: 420px;
    min-height: 46px;
    align-items: center;
    padding: 0 18px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}

.spec-kicker {
    margin-top: 18px;
    margin-bottom: 9px;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
}

.spec-hero h1,
.spec-detail-info h1,
.spec-page-head h1,
.spec-watch-head h1 {
    color: #fff;
    font-size: clamp(42px, 6vw, 82px);
    line-height: 1.02;
    letter-spacing: 0;
}

.spec-hero__content > p:not(.spec-slogan):not(.spec-kicker),
.spec-detail-info > p,
.spec-page-head p {
    max-width: 660px;
    margin-top: 14px;
    color: rgba(255, 255, 255, .76);
    font-size: 16px;
}

.spec-meta,
.spec-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.spec-meta span,
.spec-hero-tags a,
.spec-filter a,
.spec-pagination a,
.spec-pagination span {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 12px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .86);
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(12px);
    font-size: 13px;
}

.spec-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(16px);
    font-weight: 950;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 16px 40px rgba(0, 0, 0, .2);
    cursor: pointer;
}

.spec-btn--primary span {
    width: 0;
    height: 0;
    border-left: 12px solid #fff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.spec-btn--icon {
    width: 58px;
    padding: 0;
    font-size: 22px;
}

.spec-hero-rank {
    justify-self: end;
    display: grid;
    gap: 18px;
    color: rgba(255, 255, 255, .74);
    text-align: right;
    font-size: 16px;
    font-weight: 850;
}

.spec-hero-rank a:hover {
    color: #fff;
}

.spec-hero-tags {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-bottom: 92px;
}

.spec-section,
.spec-page-head,
.spec-watch {
    padding-top: 36px;
    padding-bottom: 16px;
}

.spec-hot {
    margin-top: -74px;
    position: relative;
    z-index: 3;
}

.spec-section__head,
.spec-panel__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.spec-section__head h2,
.spec-panel__head h2,
.spec-related h2,
.spec-hotwords h2 {
    color: #fff;
    font-size: 27px;
    line-height: 1.2;
}

.spec-more {
    color: rgba(255, 255, 255, .78);
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
}

.spec-card-grid,
.spec-list-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.spec-card__poster {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: var(--spec-radius);
    background: var(--spec-card);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

.spec-card__poster img,
.spec-detail-poster img,
.spec-related img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spec-card__poster span {
    position: absolute;
    left: 8px;
    top: 8px;
    max-width: calc(100% - 16px);
    padding: 3px 8px;
    border-radius: 6px;
    color: #fff;
    background: linear-gradient(135deg, rgba(79, 123, 255, .95), rgba(64, 194, 255, .9));
    font-size: 12px;
    font-weight: 900;
}

.spec-card h2,
.spec-card h3 {
    margin-top: 9px;
    color: #fff;
    font-size: 15px;
    line-height: 1.36;
}

.spec-card p {
    margin-top: 4px;
    color: var(--spec-dim);
    font-size: 13px;
}

.spec-page-head {
    padding-top: 110px;
}

.spec-filter,
.spec-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    margin-bottom: 22px;
}

.spec-page-count {
    margin-top: 10px;
    font-size: 14px;
    color: var(--spec-muted);
}

.spec-page-count strong {
    color: var(--spec-cyan);
    font-weight: 900;
}

.spec-filter-cta {
    margin-top: 12px;
    margin-bottom: 0;
    font-size: 14px;
}

.spec-filter-cta__link {
    color: var(--spec-cyan);
    border-bottom: 1px dashed rgba(78, 228, 255, 0.45);
    transition: color 0.18s ease, border-color 0.18s ease;
}

.spec-filter-cta__link:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

/* 站内索引筛选（勿用 .spec-filter 作外层：该组件只允许子级为 a） */
.spec-index-filter {
    margin-top: 8px;
    margin-bottom: 28px;
    padding: 20px 22px;
    border-radius: calc(var(--spec-radius) + 4px);
    border: 1px solid var(--spec-line);
    background: var(--spec-panel);
    box-shadow: var(--spec-shadow);
}

.spec-index-filter__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--spec-line);
}

.spec-index-filter__title {
    font-size: 15px;
    font-weight: 900;
    color: #fff;
}

.spec-index-filter__badge {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(79, 123, 255, 0.45);
    color: var(--spec-cyan);
    background: rgba(79, 123, 255, 0.12);
}

.spec-index-filter__hint {
    font-size: 13px;
    color: var(--spec-dim);
    margin: -4px 0 16px;
    line-height: 1.5;
}

.spec-index-filter__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px 16px;
    margin-bottom: 14px;
}

.spec-index-filter__row:last-of-type {
    margin-bottom: 0;
}

.spec-index-filter__label {
    flex: 0 0 auto;
    min-width: 3em;
    padding-top: 6px;
    font-size: 13px;
    font-weight: 800;
    color: var(--spec-dim);
}

.spec-index-filter__chips {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.spec-index-filter__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.15s ease;
}

.spec-index-filter__chip:hover {
    color: #fff;
    border-color: rgba(79, 123, 255, 0.55);
    background: rgba(79, 123, 255, 0.12);
    transform: translateY(-1px);
}

.spec-index-filter__chip.is-active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, rgba(79, 123, 255, 0.95), rgba(53, 167, 255, 0.88));
    box-shadow: 0 8px 22px rgba(79, 123, 255, 0.28);
}

.spec-index-filter__footer {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--spec-line);
}

.spec-index-filter__back {
    font-size: 13px;
    font-weight: 750;
    color: var(--spec-cyan);
}

.spec-index-filter__back:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .spec-index-filter {
        padding: 16px 14px;
    }

    .spec-index-filter__row {
        flex-direction: column;
        gap: 8px;
    }

    .spec-index-filter__label {
        padding-top: 0;
    }
}

.spec-filter a.is-active,
.spec-pagination span {
    background: var(--spec-blue);
}

.spec-empty {
    margin-top: 110px;
    padding: 36px;
    border-radius: var(--spec-radius);
    color: var(--spec-muted);
    background: rgba(255, 255, 255, .08);
    text-align: center;
}

.spec-detail-hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
}

.spec-detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 8, 14, .94), rgba(6, 8, 14, .58), rgba(6, 8, 14, .92)),
        linear-gradient(180deg, rgba(6, 8, 14, .18), #0b0d12 100%);
}

.spec-detail-hero__bg img {
    filter: blur(13px) saturate(1.2);
    transform: scale(1.08);
}

.spec-detail-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
    padding-top: 110px;
    padding-bottom: 58px;
}

.spec-detail-poster {
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: var(--spec-radius);
    box-shadow: var(--spec-shadow);
}

.spec-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
}

.spec-info-list {
    display: grid;
    gap: 8px;
    margin-top: 18px;
    color: var(--spec-muted);
}

.spec-info-list div {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
}

.spec-info-list dt {
    color: #fff;
    font-weight: 900;
}

.spec-detail-layout,
.spec-watch-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 22px;
    padding-top: 28px;
}

.spec-panel,
.spec-related {
    padding: 22px;
    border: 1px solid var(--spec-line);
    border-radius: var(--spec-radius);
    background: var(--spec-panel);
    box-shadow: 0 18px 54px rgba(0, 0, 0, .22);
}

.spec-panel {
    margin-bottom: 20px;
}

.spec-panel__head button {
    min-height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    cursor: pointer;
}

.spec-source + .spec-source {
    margin-top: 18px;
}

.spec-source h3 {
    margin-bottom: 10px;
    color: var(--spec-muted);
}

.spec-episode-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 9px;
}

.spec-episode {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--spec-muted);
    background: rgba(255, 255, 255, .09);
    font-size: 13px;
    text-align: center;
}

.spec-episode:hover,
.spec-episode.is-active {
    color: #fff;
    background: var(--spec-blue);
}

.spec-story-title {
    margin-top: 18px;
    color: #fff;
    font-size: 18px;
    font-weight: 950;
}

.spec-story-title:first-child {
    margin-top: 0;
}

.spec-story-text {
    margin-top: 8px;
    color: var(--spec-muted);
}

.spec-related {
    position: sticky;
    top: 86px;
    align-self: start;
}

.spec-related a {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid var(--spec-line);
}

.spec-related img {
    aspect-ratio: 2 / 3;
    border-radius: 6px;
    background: var(--spec-card);
}

.spec-related strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
}

.spec-related em {
    color: var(--spec-dim);
    font-size: 12px;
    font-style: normal;
}

.spec-watch {
    padding-top: 110px;
}

.spec-watch-head {
    margin-bottom: 20px;
}

.spec-watch-head h1 small {
    display: block;
    margin-top: 8px;
    color: var(--spec-muted);
    font-size: 18px;
}

.spec-player {
    overflow: hidden;
    border-radius: var(--spec-radius);
    background: #000;
    box-shadow: var(--spec-shadow);
}

.spec-player-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 390px;
    background: #000;
}

.spec-nextprev {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.spec-nextprev a,
.spec-nextprev > span {
    padding: 14px;
    border-radius: var(--spec-radius);
    background: rgba(255, 255, 255, .09);
}

.spec-nextprev span {
    display: block;
    color: var(--spec-dim);
    font-size: 12px;
}

.spec-nextprev strong {
    display: block;
    margin-top: 4px;
    color: #fff;
}

.spec-hotwords,
.spec-footer {
    padding: 28px 0;
}

.spec-hotwords h2 {
    font-size: 22px;
}

.spec-hotwords div {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 12px;
}

.spec-hotwords a {
    padding: 6px 11px;
    border-radius: 999px;
    color: var(--spec-muted);
    background: rgba(255, 255, 255, .09);
}

.spec-footer {
    color: var(--spec-dim);
    text-align: center;
}

.spec-float {
    position: fixed;
    right: 20px;
    bottom: 34px;
    z-index: 900;
    display: grid;
    gap: 12px;
}

.spec-float a {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .22);
    backdrop-filter: blur(12px);
    font-size: 22px;
    font-weight: 900;
}

.spec-drawer {
    position: fixed;
    top: 62px;
    right: 0;
    bottom: 0;
    z-index: 999;
    width: min(340px, 88vw);
    background: rgba(16, 20, 28, .96);
    transform: translateX(105%);
    transition: transform .22s ease;
}

body.is-drawer-open .spec-drawer {
    transform: translateX(0);
}

.spec-drawer__inner {
    height: 100%;
    overflow: auto;
    padding: 18px;
}

.spec-drawer__search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 68px;
    gap: 8px;
    margin-bottom: 14px;
}

.spec-drawer input,
.spec-drawer button,
.spec-drawer a,
.spec-drawer summary {
    min-height: 40px;
    border: 1px solid var(--spec-line);
    border-radius: var(--spec-radius);
}

.spec-drawer input {
    min-width: 0;
    padding: 0 10px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.spec-drawer button {
    color: #fff;
    background: var(--spec-blue);
}

.spec-drawer a,
.spec-drawer summary {
    display: block;
    margin-top: 8px;
    padding: 9px 10px;
    color: var(--spec-muted);
    background: rgba(255, 255, 255, .08);
}

@media (max-width: 1180px) {
    .spec-nav,
    .spec-search {
        display: none;
    }

    .spec-menu-btn {
        display: block;
        margin-left: auto;
    }

    .spec-hero__inner,
    .spec-detail-layout,
    .spec-watch-layout {
        grid-template-columns: 1fr;
    }

    .spec-hero-rank {
        display: none;
    }

    .spec-card-grid,
    .spec-list-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .spec-related {
        position: static;
    }
}

@media (max-width: 860px) {
    .spec-container {
        width: min(100% - 28px, 1460px);
    }

    .spec-hero {
        min-height: 620px;
    }

    .spec-hero__content {
        padding-top: 110px;
    }

    .spec-hero-tags {
        padding-bottom: 66px;
    }

    .spec-card-grid,
    .spec-list-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .spec-detail-hero__inner {
        grid-template-columns: 1fr;
    }

    .spec-detail-poster {
        width: min(240px, 70vw);
    }

    .spec-player-container {
        min-height: 250px;
    }
}

@media (max-width: 560px) {
    .spec-hero h1,
    .spec-detail-info h1,
    .spec-page-head h1,
    .spec-watch-head h1 {
        font-size: 36px;
    }

    .spec-card-grid,
    .spec-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .spec-nextprev {
        grid-template-columns: 1fr;
    }

    .spec-float {
        display: none;
    }
}
