@charset "utf-8";
/* ==========================================================================
   tpl035 relayout —— 「雾玫瑰拟态」Rose Mist Neumorphism
   风格要点：雾玫瑰灰单底色 + 洋红强调；全部面板用「双向柔光浮雕」（亮/暗双阴影）
             表达凸起与凹陷，零描边、零硬投影；22px 超圆角；封面 5:4 微宽横版；
             导航为「凹槽轨道 + 凸起药丸」；分页当前页做「按下凹陷」态。
   类名前缀 t35- ，与旧主题类名完全隔离。本文件在 a1.css / style.css 之后加载。
   ========================================================================== */

:root {
    --t35-bg: #ece5eb;
    --t35-hi: #fdfafc;
    --t35-sh: #c7b8c4;
    --t35-ink: #463944;
    --t35-dim: #8b7b88;
    --t35-acc: #c62a72;
    --t35-acc2: #6e5aa8;
    --t35-r: 22px;
    --t35-up: -6px -6px 14px var(--t35-hi), 6px 6px 16px var(--t35-sh);
    --t35-up-s: -3px -3px 7px var(--t35-hi), 3px 3px 8px var(--t35-sh);
    --t35-in: inset -4px -4px 9px var(--t35-hi), inset 5px 5px 11px var(--t35-sh);
    --t35-in-s: inset -2px -2px 5px var(--t35-hi), inset 3px 3px 6px var(--t35-sh);
}

/* --- 复位旧主题的 body flex 布局 --- */
body {
    display: block;
    margin: 0;
    background-color: var(--t35-bg);
    color: var(--t35-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

.t35-wrap {
    box-sizing: border-box;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px 40px;
}

/* --- 广告横幅 --- */
.t35-ad {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
    border-radius: var(--t35-r);
    overflow: hidden;
}

.t35-ad img {
    display: block;
    width: 100%;
    border-radius: 14px;
}

/* --- 报头 --- */
.t35-head {
    padding: 26px 0 18px;
}

.t35-head__bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.t35-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 999px;
    background: var(--t35-bg);
    box-shadow: var(--t35-up);
    color: var(--t35-acc);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
}

.t35-brand:hover {
    color: var(--t35-acc2);
}

.t35-brand__dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--t35-acc);
    box-shadow: 0 0 0 4px rgba(198, 42, 114, .14);
}

/* --- 搜索：凹槽 --- */
.t35-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 420px;
    padding: 7px 7px 7px 20px;
    border-radius: 999px;
    background: var(--t35-bg);
    box-shadow: var(--t35-in);
}

.t35-search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--t35-ink);
    font-size: 15px;
    outline: 0;
    -webkit-appearance: none;
    appearance: none;
}

.t35-search input::placeholder {
    color: var(--t35-dim);
}

.t35-search button {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--t35-bg);
    box-shadow: var(--t35-up-s);
    color: var(--t35-acc);
    cursor: pointer;
}

.t35-search button:active {
    box-shadow: var(--t35-in-s);
}

.t35-search button svg {
    display: block;
    width: 16px;
    height: 16px;
    margin: 0 auto;
    fill: var(--t35-acc);
}

/* --- 导航：凹槽轨道 + 凸起药丸 --- */
.t35-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    padding: 12px;
    border-radius: 999px;
    background: var(--t35-bg);
    box-shadow: var(--t35-in);
}

.t35-nav a {
    padding: 8px 20px;
    border-radius: 999px;
    background: var(--t35-bg);
    box-shadow: var(--t35-up-s);
    color: var(--t35-ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.t35-nav a:hover {
    color: var(--t35-acc);
    box-shadow: var(--t35-in-s);
}

.t35-nav a.t35-nav--on {
    color: var(--t35-acc);
}

/* --- 通用面板 --- */
.t35-panel {
    margin-top: 22px;
    padding: 20px;
    border-radius: var(--t35-r);
    background: var(--t35-bg);
    box-shadow: var(--t35-up);
}

.t35-panel__hd {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.t35-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .5px;
    color: var(--t35-ink);
}

.t35-title::before {
    content: "";
    width: 8px;
    height: 20px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--t35-acc), var(--t35-acc2));
}

.t35-more {
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--t35-bg);
    box-shadow: var(--t35-up-s);
    color: var(--t35-dim);
    font-size: 12px;
    text-decoration: none;
}

.t35-more:hover {
    color: var(--t35-acc);
}

/* --- 卡片栅格 --- */
.t35-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.t35-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.t35-card__ph {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 4;
    border-radius: 18px;
    overflow: hidden;
    background: var(--t35-bg);
    box-shadow: var(--t35-in-s);
}

.t35-card__ph img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    transition: transform .35s ease;
}

.t35-card:hover .t35-card__ph img {
    transform: scale(1.05);
}

.t35-card__tt {
    display: block;
    overflow: hidden;
    margin-top: 10px;
    padding: 0 4px;
    color: var(--t35-ink);
    font-size: 13.5px;
    font-style: normal;
    line-height: 1.45;
    height: 2.9em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.t35-card:hover .t35-card__tt {
    color: var(--t35-acc);
}

/* --- 药丸型标签 / 友链 --- */
.t35-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0;
    padding: 0;
}

.t35-tags a {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--t35-bg);
    box-shadow: var(--t35-up-s);
    color: var(--t35-dim);
    font-size: 13px;
    text-decoration: none;
}

.t35-tags a:hover {
    box-shadow: var(--t35-in-s);
    color: var(--t35-acc);
}

.t35-tags--link a {
    color: var(--t35-acc2);
}

/* --- 详情页 --- */
.t35-detail__tt {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.45;
    color: var(--t35-ink);
}

.t35-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    background: #1b141a;
    box-shadow: var(--t35-in);
}

.t35-stage>* {
    width: 100%;
    height: 100%;
}

.t35-meta {
    padding: 18px 20px;
    border-radius: 18px;
    background: var(--t35-bg);
    box-shadow: var(--t35-in-s);
    color: var(--t35-ink);
    font-size: 14px;
    line-height: 2;
    word-break: break-all;
}

.t35-shots {
    overflow: hidden;
}

.t35-shots img {
    display: block;
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--t35-up-s);
}

.t35-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
}

.t35-btns .downbtn {
    margin: 0;
    padding: 0;
    border-radius: 999px;
    background: var(--t35-bg);
    box-shadow: var(--t35-up-s);
    font-weight: 700;
}

.t35-btns .downbtn a {
    display: block;
    padding: 11px 26px;
    border-radius: 999px;
    color: var(--t35-acc);
    font-size: 15px;
    text-decoration: none;
    width: auto;
}

.t35-btns .downbtn:hover {
    box-shadow: var(--t35-in-s);
}

.t35-clientlink {
    margin-top: 14px;
    font-size: 13px;
}

.t35-clientlink a {
    color: var(--t35-acc2);
    text-decoration: none;
}

.t35-clientlink a:hover {
    text-decoration: underline;
}

/* --- 分页 --- */
.t35-page {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 24px;
}

.t35-page a {
    min-width: 42px;
    padding: 9px 15px;
    border-radius: 999px;
    background: var(--t35-bg);
    box-shadow: var(--t35-up-s);
    color: var(--t35-ink);
    font-size: 13.5px;
    text-align: center;
    text-decoration: none;
}

.t35-page a:hover {
    color: var(--t35-acc);
}

.t35-page a.t35-page--cur {
    box-shadow: var(--t35-in-s);
    color: var(--t35-acc);
    font-weight: 800;
}

/* --- 页脚 --- */
.t35-foot {
    max-width: 1180px;
    margin: 0 auto;
    padding: 26px 16px 34px;
    text-align: center;
    color: var(--t35-dim);
    font-size: 13px;
}

.t35-foot__in {
    padding: 20px;
    border-radius: var(--t35-r);
    background: var(--t35-bg);
    box-shadow: var(--t35-in-s);
}

.t35-foot u,
.t35-foot a {
    color: var(--t35-acc);
    text-decoration: none;
}

.t35-foot u:hover,
.t35-foot a:hover {
    color: var(--t35-acc2);
}

/* --- 响应式 --- */
@media (min-width: 760px) {
    .t35-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .t35-panel {
        padding: 26px;
    }

    .t35-detail__tt {
        font-size: 24px;
    }
}

@media (max-width: 600px) {
    .t35-head {
        padding: 16px 0 12px;
    }

    .t35-brand {
        padding: 10px 18px;
        font-size: 18px;
    }

    .t35-search {
        max-width: none;
    }

    .t35-nav {
        border-radius: 26px;
        padding: 10px;
        gap: 8px;
    }

    .t35-nav a {
        padding: 7px 14px;
        font-size: 13px;
    }

    .t35-panel {
        padding: 14px;
        border-radius: 18px;
    }

    .t35-grid {
        gap: 12px;
    }

    .t35-wrap {
        padding: 0 12px 28px;
    }
}
