@charset "UTF-8";
/* ============================================================
   tpl005 重排版样式表  ——  主题「暮青侧栏 / Slate Sidebar」
   深板岩底 + 单色薄荷绿点缀（无渐变） + 大圆角(16px) + 阴影浮起
   PC 端左侧常驻侧栏导航 + 右侧内容区；列表页为「行式列表」而非网格
   首页用 2:3 竖版海报，与 tpl004 的浅色 16:9 描边风完全区分
   全部类名以 t5- 开头，与 app.css（tailwind 产物）的原子类隔离。
   本表在 app.css 之后加载。
   注意：本文件内禁止出现 “花括号 + ad / list / nav / link” 这类字符序列，
   会被模板解析器的正则误匹配。故所有规则一律换行书写。
   ============================================================ */

.t5-scope,
.t5-scope *,
.t5-scope *::before,
.t5-scope *::after {
    box-sizing: border-box;
}

:root {
    --t5-bg: #12161b;
    --t5-bg-2: #171d24;
    --t5-panel: #1c232b;
    --t5-panel-2: #222a34;
    --t5-line: rgba(255, 255, 255, .07);
    --t5-text: #e6ebf0;
    --t5-text-2: #a5b1bd;
    --t5-text-3: #6f7d8a;
    --t5-mint: #3ddc97;
    --t5-mint-dim: rgba(61, 220, 151, .14);
    --t5-r: 16px;
    --t5-r-sm: 10px;
    --t5-shadow: 0 10px 30px rgba(0, 0, 0, .38);
}

html,
body {
    background: var(--t5-bg);
    background-image: none;
}

.t5-scope {
    color: var(--t5-text);
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.t5-scope a {
    color: inherit;
    text-decoration: none;
    transition: color .15s;
}

.t5-scope a:hover {
    color: var(--t5-mint);
    text-decoration: none;
}

.t5-scope img {
    border: 0;
    display: block;
    max-width: 100%;
}

.t5-scope ul,
.t5-scope ol,
.t5-scope dl,
.t5-scope dd,
.t5-scope h1,
.t5-scope h2,
.t5-scope h3,
.t5-scope h4 {
    margin: 0;
    padding: 0;
}

.t5-scope li {
    list-style: none;
}

/* app.js 会在 .content-without-search / .content-with-search 之间来回换类，
   本版式的顶栏是常规文档流里的 sticky 元素，展开搜索条会自然把内容顶下去，
   因此这两个类只需要归零 app.css 里为固定顶栏预留的补白。 */
.content-without-search,
.content-with-search {
    padding-top: 0;
}

/* ---------------------------------------------------------- 顶栏 */

.t5-top {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(18, 22, 27, .92);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--t5-line);
}

.t5-top-in {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.t5-logo img {
    height: 46px;
    width: auto;
}

.t5-acts {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.t5-iconbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--t5-panel);
    color: var(--t5-text-2);
    cursor: pointer;
    border: 1px solid var(--t5-line);
}

.t5-iconbtn:hover {
    color: var(--t5-mint);
    background: var(--t5-mint-dim);
}

.t5-iconbtn svg {
    width: 20px;
    height: 20px;
}

.t5-menuwrap {
    position: relative;
}

/* .menuDropdown 是 app.js 的钩子，它靠增删 hidden 类控制显隐。
   本表在 app.css 之后加载，必须用更高特异性把 hidden 的效果保住。 */
.t5-menu-drop {
    position: absolute;
    right: 0;
    top: 48px;
    width: 230px;
    max-height: 70vh;
    overflow-y: auto;
    padding: 8px;
    border-radius: var(--t5-r-sm);
    background: var(--t5-panel);
    border: 1px solid var(--t5-line);
    box-shadow: var(--t5-shadow);
    z-index: 950;
}

.t5-menu-drop.hidden {
    display: none;
}

.t5-menu-drop a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--t5-text-2);
}

.t5-menu-drop a:hover {
    background: var(--t5-mint-dim);
    color: var(--t5-mint);
}

/* ---------------------------------------------------------- 搜索条 */

.t5-searchbar {
    display: block;
    border-top: 1px solid var(--t5-line);
    background: var(--t5-bg-2);
    margin: 0;
}

.t5-searchbar.hidden {
    display: none;
}

.t5-searchbar-in {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    gap: 10px;
}

.t5-searchbar input[type="text"] {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--t5-line);
    background: var(--t5-panel);
    color: var(--t5-text);
    font-size: 15px;
    outline: none;
}

.t5-searchbar input[type="text"]::placeholder {
    color: var(--t5-text-3);
}

.t5-searchbar input[type="text"]:focus {
    border-color: var(--t5-mint);
}

.t5-searchbar button {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: var(--t5-mint);
    color: #0b2019;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.t5-searchbar button:hover {
    filter: brightness(1.08);
}

/* ---------------------------------------------------------- 主骨架 */

.t5-shell {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 28px 24px 40px;
    display: grid;
    grid-template-columns: 236px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.t5-side {
    position: sticky;
    top: 92px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.t5-main {
    min-width: 0;
}

.t5-card {
    background: var(--t5-panel);
    border: 1px solid var(--t5-line);
    border-radius: var(--t5-r);
    box-shadow: var(--t5-shadow);
    padding: 18px;
}

.t5-card-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--t5-mint);
    margin-bottom: 12px;
}

/* 无启用项时广告位 / 链接位整块被替换成空串，这里让空卡片整体消失 */
.t5-card:has(.t5-sidelinks:empty),
.t5-card:has(.t5-icons:empty) {
    display: none;
}

.t5-sidelinks {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.t5-sidelinks a {
    display: block;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--t5-text-2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.t5-sidelinks a:hover {
    background: var(--t5-mint-dim);
    color: var(--t5-mint);
}

.t5-icons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.t5-icons a {
    display: block;
    text-align: center;
    font-size: 11px;
    color: var(--t5-text-3);
}

.t5-icons img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--t5-r-sm);
    background: var(--t5-panel-2);
}

.t5-icons span {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------------------------------------------------------- 通栏广告 */

.t5-band {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 22px 24px 0;
}

.t5-ad-banner {
    line-height: 0;
    border-radius: var(--t5-r);
    overflow: hidden;
}

.t5-ad-banner:empty {
    display: none;
}

.t5-ad-banner a {
    display: block;
    width: 100%;
}

.t5-ad-banner img {
    width: 100%;
    object-fit: cover;
}

/* ---------------------------------------------------------- 区块标题 */

.t5-sec {
    margin-bottom: 40px;
}

.t5-sechead {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.t5-sechead h1,
.t5-sechead h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .5px;
    line-height: 1.3;
    color: var(--t5-text);
}

.t5-sechead .t5-more {
    flex: 0 0 auto;
    font-size: 13px;
    color: var(--t5-text-3);
}

.t5-sechead .t5-more:hover {
    color: var(--t5-mint);
}

/* ---------------------------------------------------------- 首页主搜索区 */

.t5-hero {
    padding: 34px 32px 38px;
    border-radius: var(--t5-r);
    background: var(--t5-panel);
    border: 1px solid var(--t5-line);
    box-shadow: var(--t5-shadow);
}

.t5-hero h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.t5-hero h1 em {
    font-style: normal;
    color: var(--t5-mint);
}

.t5-hero-form {
    display: flex;
    gap: 12px;
    margin: 0;
    max-width: 640px;
}

.t5-hero-form input[type="text"] {
    flex: 1 1 auto;
    min-width: 0;
    height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--t5-line);
    background: var(--t5-bg-2);
    color: var(--t5-text);
    font-size: 15px;
    outline: none;
}

.t5-hero-form input[type="text"]::placeholder {
    color: var(--t5-text-3);
}

.t5-hero-form input[type="text"]:focus {
    border-color: var(--t5-mint);
}

.t5-hero-form button {
    flex: 0 0 auto;
    height: 48px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: var(--t5-mint);
    color: #0b2019;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.t5-hero-form button:hover {
    filter: brightness(1.08);
}

/* ---------------------------------------------------------- 海报栅格 2:3 */

.t5-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.t5-item {
    display: block;
}

.t5-poster {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: var(--t5-r);
    overflow: hidden;
    background: var(--t5-panel-2);
    box-shadow: var(--t5-shadow);
    transition: transform .22s ease, box-shadow .22s ease;
}

.t5-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t5-item:hover .t5-poster {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
}

.t5-name {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--t5-text-2);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.t5-item:hover .t5-name {
    color: var(--t5-mint);
}

/* ---------------------------------------------------------- 行式列表 */

.t5-rows {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.t5-row {
    display: grid;
    grid-template-columns: 224px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 14px;
    border-radius: var(--t5-r);
    background: var(--t5-panel);
    border: 1px solid var(--t5-line);
    transition: background .18s, transform .18s;
}

.t5-row:hover {
    background: var(--t5-panel-2);
    transform: translateX(4px);
}

.t5-row-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--t5-r-sm);
    overflow: hidden;
    background: var(--t5-bg-2);
}

.t5-row-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t5-row-body {
    min-width: 0;
}

.t5-row-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--t5-text);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.t5-row:hover .t5-row-title {
    color: var(--t5-mint);
}

.t5-row-sub {
    margin-top: 6px;
    font-size: 12px;
    color: var(--t5-text-3);
}

/* 紧凑行（详情页的相关推荐） */
.t5-rows-mini {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.t5-rows-mini .t5-row {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
}

.t5-rows-mini .t5-row-title {
    font-size: 13px;
    font-weight: 400;
}

/* ---------------------------------------------------------- 分页 */

.t5-page {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.t5-page a,
.t5-page span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 14px;
    color: var(--t5-text-2);
    background: var(--t5-panel);
    border: 1px solid var(--t5-line);
}

.t5-page a:hover {
    color: var(--t5-mint);
    border-color: var(--t5-mint);
}

.t5-page .t5-page-cur {
    color: #0b2019;
    background: var(--t5-mint);
    border-color: var(--t5-mint);
    font-weight: 700;
}

.t5-jump {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    font-size: 13px;
    color: var(--t5-text-3);
}

.t5-jump form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.t5-jump input[type="text"] {
    width: 84px;
    height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--t5-line);
    background: var(--t5-panel);
    color: var(--t5-text);
    outline: none;
}

/* ---------------------------------------------------------- 详情页 */

.t5-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 18px;
    word-break: break-all;
    overflow-wrap: break-word;
}

.t5-player {
    border-radius: var(--t5-r);
    overflow: hidden;
    background: #000000;
    box-shadow: var(--t5-shadow);
    margin-bottom: 28px;
}

.t5-player video,
.t5-player iframe {
    display: block;
    width: 100%;
    border: 0;
}

.t5-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
    font-size: 14px;
    color: var(--t5-text-2);
    word-break: break-all;
}

.t5-info>div {
    padding: 8px 0;
    border-bottom: 1px solid var(--t5-line);
}

.t5-shots {
    margin-top: 18px;
}

.t5-shots img {
    width: 100%;
    height: auto;
    margin-bottom: 12px;
    border-radius: var(--t5-r-sm);
}

.t5-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 22px 0 8px;
}

.t5-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 15px;
    cursor: pointer;
    border: 1px solid var(--t5-mint);
    color: var(--t5-mint);
    background: transparent;
}

.t5-btn:hover {
    background: var(--t5-mint-dim);
    color: var(--t5-mint);
}

.t5-btn-solid {
    background: var(--t5-mint);
    color: #0b2019;
    font-weight: 700;
}

.t5-btn-solid:hover {
    background: var(--t5-mint);
    color: #0b2019;
    filter: brightness(1.08);
}

.t5-client {
    font-size: 13px;
    color: var(--t5-text-3);
    margin-bottom: 6px;
}

.t5-client a {
    color: var(--t5-mint);
}

/* ---------------------------------------------------------- 页脚 */

.t5-backtop {
    text-align: center;
    padding: 10px 0 26px;
}

.t5-backtop svg {
    width: 30px;
    height: 30px;
    margin: 0 auto;
    color: var(--t5-text-3);
}

.t5-backtop a:hover svg {
    color: var(--t5-mint);
}

.t5-foot {
    border-top: 1px solid var(--t5-line);
    background: var(--t5-bg-2);
}

.t5-foot-in {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 36px 24px 44px;
}

.t5-foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 28px;
}

.t5-foot h3 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--t5-text-3);
    margin-bottom: 12px;
}

.t5-foot li {
    margin-bottom: 8px;
}

.t5-foot li a,
.t5-foot-brand p {
    font-size: 13px;
    color: var(--t5-text-2);
}

.t5-foot-brand img {
    height: 52px;
    width: auto;
    margin-bottom: 12px;
}

.t5-foot-brand p {
    line-height: 1.8;
}

.t5-foot-grid>div:has(ul:empty) {
    display: none;
}

.t5-friends:empty {
    display: none;
}

.t5-friends {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--t5-line);
}

.t5-friends a {
    font-size: 12px;
    line-height: 26px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--t5-text-3);
    background: var(--t5-panel);
}

.t5-friends a:hover {
    color: var(--t5-mint);
}

.t5-copy {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--t5-line);
    text-align: center;
    font-size: 13px;
    color: var(--t5-text-3);
}

/* ---------------------------------------------------------- 端上显隐工具类
   模板里大量使用 .hide_mobile / .hide_pc，站内原本没有任何样式表定义过它们，
   PC 与手机两套区块会同时渲染。这里补上按视口的定义。 */
}
}

/* ---------------------------------------------------------- 响应式 */

@media (max-width: 1280px) {
    .t5-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1080px) {
    /* 侧栏收起，栏目改由顶栏的下拉菜单提供 */
    .t5-shell {
        grid-template-columns: minmax(0, 1fr);
        padding: 20px 16px 32px;
        gap: 0;
    }

    .t5-side {
        display: none;
    }

    .t5-top-in,
    .t5-searchbar-in,
    .t5-foot-in,
    .t5-band {
        padding-left: 16px;
        padding-right: 16px;
    }

    .t5-foot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .t5-rows-mini {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .t5-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .t5-sechead h1,
    .t5-sechead h2 {
        font-size: 18px;
    }

    .t5-row {
        grid-template-columns: 132px minmax(0, 1fr);
        gap: 12px;
        padding: 10px;
    }

    .t5-rows-mini .t5-row {
        grid-template-columns: 132px minmax(0, 1fr);
    }

    .t5-row-title {
        font-size: 14px;
    }

    .t5-info {
        grid-template-columns: minmax(0, 1fr);
    }

    .t5-btn {
        flex: 1 1 44%;
        min-width: 0;
        padding: 0 12px;
        font-size: 14px;
    }

    .t5-foot-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .t5-logo img {
        height: 38px;
    }

    .t5-hero {
        padding: 22px 18px 26px;
    }

    .t5-hero h1 {
        font-size: 21px;
    }

    .t5-hero-form {
        flex-direction: column;
    }

    .t5-hero-form button {
        width: 100%;
    }
}
