@charset "utf-8";
/* ==========================================================================
   tpl009 重排版样式「灰阶方格」
   纯无彩色（黑 / 白 / 灰）+ 全直角 + 细分隔线 + 1:1 正方形封面网格 +
   编号式栏目标题 + 无卡片阴影。所有类名以 t9- 前缀，与旧主题类名隔离。
   本文件在旧样式表之后加载，仅负责新版式。
   ========================================================================== */

:root {
    --t9-bg: #ffffff;
    --t9-bg-soft: #f4f4f4;
    --t9-ink: #111111;
    --t9-ink-2: #4a4a4a;
    --t9-ink-3: #8a8a8a;
    --t9-line: #dedede;
    --t9-line-strong: #111111;
    --t9-max: 1320px;
}

html {
    -webkit-text-size-adjust: 100%;
}

body.home,
body {
    background: var(--t9-bg);
    color: var(--t9-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
    padding: 0;
}

.t9-page {
    max-width: 100%;
    overflow-x: hidden;
}

.t9-page a {
    color: inherit;
    text-decoration: none;
}

.t9-page img {
    display: block;
    max-width: 100%;
    border: 0;
}

.t9-wrap {
    width: 100%;
    max-width: var(--t9-max);
    margin: 0 auto;
    padding: 0 18px;
    box-sizing: border-box;
}

/* ---------- 广告容器（容器写在广告标签外，空位不留死高度） ---------- */

.t9-ad-top {
    padding: 0;
    margin: 0 auto;
    max-width: var(--t9-max);
}

.t9-ad-top a {
    display: block;
}

.t9-ad-top img {
    width: 100%;
    object-fit: cover;
}

/* ---------- 报头 ---------- */

.t9-mast {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--t9-bg);
    border-bottom: 2px solid var(--t9-line-strong);
}

.t9-mast-in {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 64px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.t9-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.t9-logo-mark {
    display: inline-block;
    background: var(--t9-ink);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .06em;
    padding: 7px 12px;
    max-width: 46vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.t9-logo-sub {
    font-size: 11px;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--t9-ink-3);
}

.t9-search {
    flex: 1 1 auto;
    display: flex;
    align-items: stretch;
    max-width: 520px;
    margin-left: auto;
    border-bottom: 2px solid var(--t9-ink);
}

.t9-search-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 38px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--t9-ink);
    font-size: 14px;
    padding: 0 6px;
}

.t9-search-input::placeholder {
    color: var(--t9-ink-3);
}

.t9-search-btn {
    flex: 0 0 auto;
    height: 38px;
    padding: 0 16px;
    border: 0;
    background: var(--t9-ink);
    color: #fff;
    font-size: 13px;
    letter-spacing: .1em;
    cursor: pointer;
}

.t9-search-btn:hover {
    background: var(--t9-ink-2);
}

/* ---------- 导航条：横向可滑动的下划线文字导航 ---------- */

.t9-navbar {
    border-bottom: 1px solid var(--t9-line);
    background: var(--t9-bg);
}

.t9-navlist {
    display: flex;
    align-items: center;
    gap: 22px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-top: 12px;
    padding-bottom: 12px;
}

.t9-navlist::-webkit-scrollbar {
    display: none;
}

.t9-navlist a {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 600;
    color: var(--t9-ink-2);
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.t9-navlist a:hover,
.t9-navlist a.is-on {
    color: var(--t9-ink);
    border-bottom-color: var(--t9-ink);
}

.t9-nav-sep {
    flex: 0 0 auto;
    width: 1px;
    height: 16px;
    background: var(--t9-line);
}

/* ---------- 标签 / 链接行 ---------- */

.t9-strip {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--t9-line);
}

.t9-strip-label {
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--t9-ink-3);
    padding-top: 6px;
}

.t9-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.t9-chips a {
    display: inline-block;
    font-size: 12px;
    line-height: 1;
    padding: 7px 11px;
    border: 1px solid var(--t9-line);
    color: var(--t9-ink-2);
    background: var(--t9-bg);
}

.t9-chips a:hover {
    border-color: var(--t9-ink);
    background: var(--t9-ink);
    color: #fff;
}

/* ---------- 主体 / 区块 ---------- */

.t9-main {
    padding-top: 8px;
    padding-bottom: 40px;
}

.t9-sec {
    margin-top: 30px;
}

.t9-sec-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    border-bottom: 2px solid var(--t9-line-strong);
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.t9-sec-no {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    color: var(--t9-ink-3);
}

.t9-sec-title {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .02em;
    margin: 0;
    color: var(--t9-ink);
}

.t9-sec-more {
    margin-left: auto;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--t9-ink-3);
}

.t9-sec-more:hover {
    color: var(--t9-ink);
}

/* ---------- 1:1 方格网格 ---------- */

.t9-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px 14px;
}

.t9-item {
    display: block;
    min-width: 0;
}

.t9-thumb {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--t9-bg-soft);
    border: 1px solid var(--t9-line);
    overflow: hidden;
}

.t9-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease, opacity .3s ease;
}

.t9-item:hover .t9-thumb {
    border-color: var(--t9-ink);
}

.t9-item:hover .t9-thumb img {
    transform: scale(1.04);
}

.t9-thumb::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--t9-ink);
    transition: width .3s ease;
}

.t9-item:hover .t9-thumb::after {
    width: 100%;
}

.t9-name {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--t9-ink-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.t9-item:hover .t9-name {
    color: var(--t9-ink);
}

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

.t9-pager {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 34px 0 0;
    padding: 0;
}

.t9-pager li {
    list-style: none;
}

.t9-pager a {
    display: inline-block;
    min-width: 38px;
    text-align: center;
    padding: 8px 12px;
    font-size: 13px;
    border: 1px solid var(--t9-line);
    color: var(--t9-ink-2);
    background: var(--t9-bg);
}

.t9-pager a:hover {
    border-color: var(--t9-ink);
    color: var(--t9-ink);
}

.t9-pager .t9-pager-cur a {
    background: var(--t9-ink);
    border-color: var(--t9-ink);
    color: #fff;
    font-weight: 700;
}

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

.t9-detail {
    margin-top: 24px;
}

.t9-detail-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 12px;
    color: var(--t9-ink);
}

.t9-detail-rule {
    height: 2px;
    background: var(--t9-line-strong);
    margin-bottom: 18px;
}

.t9-player {
    background: #000;
    border: 1px solid var(--t9-line-strong);
    overflow: hidden;
}

.t9-player video,
.t9-player iframe {
    display: block;
    width: 100%;
}

/* 磁力信息表 */
.t9-meta {
    border: 1px solid var(--t9-line);
    padding: 16px;
    font-size: 14px;
    line-height: 2;
    color: var(--t9-ink-2);
    word-break: break-all;
}

.t9-shots {
    margin-top: 12px;
}

.t9-shots img {
    width: 100%;
    height: auto;
    margin-bottom: 8px;
    border: 1px solid var(--t9-line);
}

.t9-actions {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
}

.t9-actions li {
    list-style: none;
}

.t9-btn {
    display: inline-block;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid var(--t9-ink);
    background: var(--t9-bg);
    color: var(--t9-ink);
}

.t9-btn:hover {
    background: var(--t9-ink);
    color: #fff;
}

.t9-btn-solid {
    background: var(--t9-ink);
    color: #fff;
}

.t9-btn-solid:hover {
    background: var(--t9-ink-2);
    border-color: var(--t9-ink-2);
    color: #fff;
}

.t9-note {
    margin-top: 14px;
    font-size: 13px;
    color: var(--t9-ink-3);
}

.t9-note a {
    color: var(--t9-ink);
    border-bottom: 1px solid var(--t9-line);
}

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

.t9-foot {
    margin-top: 40px;
    background: var(--t9-ink);
    color: #d6d6d6;
    padding: 28px 0 34px;
}

.t9-foot .t9-strip {
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.t9-foot .t9-strip-label {
    color: #8f8f8f;
}

.t9-foot .t9-chips a {
    border-color: rgba(255, 255, 255, .22);
    background: transparent;
    color: #d6d6d6;
}

.t9-foot .t9-chips a:hover {
    background: #fff;
    border-color: #fff;
    color: var(--t9-ink);
}

.t9-foot-mark {
    margin-top: 22px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #fff;
}

.t9-foot-line {
    margin-top: 8px;
    font-size: 12px;
    color: #8f8f8f;
}

.t9-foot-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ---------- 三档响应式 ---------- */

@media (max-width: 1200px) {
    .t9-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .t9-mast-in {
        flex-wrap: wrap;
        gap: 10px;
    }

    .t9-search {
        max-width: none;
        width: 100%;
        margin-left: 0;
    }

    .t9-logo-sub {
        display: none;
    }

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

    .t9-sec {
        margin-top: 22px;
    }

    .t9-strip {
        flex-direction: column;
        gap: 8px;
    }

    .t9-strip-label {
        padding-top: 0;
    }
}

@media (max-width: 600px) {
    .t9-wrap {
        padding: 0 12px;
    }

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

    .t9-sec-title {
        font-size: 15px;
    }

    .t9-detail-title {
        font-size: 17px;
    }

    .t9-name {
        font-size: 12px;
    }

    .t9-btn {
        padding: 9px 14px;
        font-size: 13px;
    }
}

/* ---------- 全站原本没有定义过的两个显隐类 ---------- */
}
}
