/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #ffffff;
    --bg-soft: #f5faf8;
    --bg-muted: #e8f5f0;
    --bg-card: #ffffff;
    --topbar: #1a3c34;
    --teal: #00b38a;
    --teal-dk: #009070;
    --teal-lt: #e6f7f3;
    --teal-bd: #80d9c4;
    --teal-btn: #00c49a;
    --cyan: #00bcd4;
    --txt: #1a1a1a;
    --txt2: #333333;
    --txt3: #666666;
    --txt4: #999999;
    --border: #d8ede8;
    --border2: #bcdfd6;
    --sh1: 0 1px 4px rgba(0,179,138,.07);
    --sh2: 0 3px 14px rgba(0,179,138,.13);
    --sh3: 0 6px 24px rgba(0,179,138,.17);
    --r: 6px;
    --r2: 4px;
    --r3: 10px;
}

html { font-size: 15px; }

body {
    background: var(--bg-soft);
    color: var(--txt);
    font-family: 'PingFang SC','Hiragino Sans GB','Microsoft YaHei','Helvetica Neue',Arial,sans-serif;
    line-height: 1.6;
}

a { color: var(--teal); text-decoration: none; transition: color .15s; }
a:hover { color: var(--teal-dk); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.cf::after { content: ''; display: table; clear: both; }

/* ===== WRAPPER ===== */
.bz-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== SITE HEADER ===== */
.bz-hd {
    background: var(--topbar);
    padding: 9px 0;
}

.bz-hd .bz-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}

.bz-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.bz-logo-lnk {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.bz-sitename {
    font-size: 1.28rem;
    font-weight: 900;
    color: var(--teal-btn);
    letter-spacing: .3px;
    border-bottom: none;
    text-decoration: none;
    font-style: normal;
}

.bz-domain-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(0,196,154,.15);
    border: 1px solid rgba(0,196,154,.3);
    border-radius: var(--r2);
    padding: 3px 12px;
}

.bz-domain-tag .bdt-lbl {
    font-size: 0.66rem;
    color: rgba(255,255,255,.5);
    white-space: nowrap;
}

.bz-domain-tag .bdt-url {
    font-size: 1.10rem;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
    letter-spacing: .1px;
}

/* ===== BANNER ===== */
.bz-promo {
    margin: 4px 0 3px;
}
.bz-promo img { border-radius: var(--r); width: 100%; }

/* ===== CATEGORY NAV ===== */
.bz-nav {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    margin: 3px 0;
    box-shadow: var(--sh1);
}

.bz-nav-row {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--border);
    min-height: 36px;
}

.bz-nav-row:last-child { border-bottom: none; }

.bz-zone-tag {
    background: var(--teal);
    color: #ffffff;
    font-size: .72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 2px;
    width: 62px;
    min-width: 62px;
    border-right: none;
    text-align: center;
    line-height: 1.3;
    letter-spacing: .2px;
    flex-shrink: 0;
}

.bz-zone-links {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    align-items: center;
    padding: 3px 8px;
    gap: 3px;
    flex: 1;
}

.bz-zone-links a {
    font-size: .81rem;
    color: var(--txt2);
    padding: 3px 4px;
    border-radius: var(--r2);
    transition: all .15s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    border: 1px solid transparent;
    text-decoration: none;
    display: block;
}

.bz-zone-links a:hover {
    background: var(--teal-lt);
    color: var(--teal-dk);
    border-color: var(--teal-bd);
}

.bz-zone-links a.active {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
    font-weight: 700;
}

/* ===== SEARCH ===== */
.bz-search {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 7px 12px;
    margin: 3px 0;
    box-shadow: var(--sh1);
}

.bz-search form {
    display: flex;
    gap: 5px;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
}

.bz-search input[type="text"] {
    flex: 1;
    min-width: 0;
    height: 36px;
    border: 1.5px solid var(--border2);
    border-radius: var(--r2);
    padding: 0 12px;
    font-size: .87rem;
    color: var(--txt);
    background: var(--bg-soft);
    outline: none;
    transition: border-color .18s, box-shadow .18s;
}

.bz-search input[type="text"]::placeholder { color: var(--txt4); }

.bz-search input[type="text"]:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 2px rgba(0,179,138,.12);
    background: var(--bg);
}

.bz-search button {
    height: 36px;
    padding: 0 12px;
    border: none;
    border-radius: var(--r2);
    background: var(--bg-muted);
    color: var(--txt2);
    font-size: .81rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s;
    flex-shrink: 0;
}

.bz-search button:hover { background: var(--teal-lt); color: var(--teal-dk); }

.bz-search button[value="1"] {
    background: var(--teal-btn);
    color: #fff;
    font-weight: 700;
}
.bz-search button[value="1"]:hover { background: var(--teal-dk); }

.bz-search button[value="2"] {
    background: var(--topbar);
    color: #fff;
    font-weight: 600;
}
.bz-search button[value="2"]:hover { background: #0d2820; }

/* ===== HOT TAGS ===== */
.bz-hot {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 6px 12px;
    margin: 3px 0;
    box-shadow: var(--sh1);
}

.bz-hot h4 {
    font-size: .77rem;
    font-weight: 700;
    color: var(--txt3);
    margin-bottom: 5px;
}

.bz-kwds {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.bz-kwds .bz-kwd {
    display: inline-block;
    background: var(--bg-soft);
    color: var(--txt3);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2px 10px;
    font-size: .75rem;
    text-decoration: none;
    transition: all .15s;
}

.bz-kwds .bz-kwd:hover {
    background: var(--teal-lt);
    color: var(--teal-dk);
    border-color: var(--teal-bd);
}

/* ===== CONTENT SECTION ===== */
.bz-sect {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r3);
    padding: 12px 12px 10px;
    margin: 4px 0;
    box-shadow: var(--sh1);
}

.bz-sect-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 7px;
    border-bottom: 2px solid var(--teal);
}

.bz-sect-hd h3 {
    font-size: .97rem;
    font-weight: 800;
    color: var(--txt);
    letter-spacing: .1px;
}

.bz-sect-hd h3 a { color: var(--txt); }
.bz-sect-hd h3 a:hover { color: var(--teal-dk); }

.bz-sect-hd h4 {
    font-size: .94rem;
    font-weight: 800;
    color: var(--txt);
}

/* ===== FILM GRID ===== */
.bz-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.bz-grid li {
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    transition: box-shadow .2s, transform .2s;
}

.bz-grid li:hover {
    box-shadow: var(--sh2);
    transform: translateY(-2px);
}

.bz-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 600 / 350;
    overflow: hidden;
    background: var(--bg-muted);
}

.bz-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.bz-thumb:hover img { transform: scale(1.05); }

.bz-cap {
    padding: 5px 7px 7px;
    border-top: 1px solid var(--border);
}

.bz-cap h5 {
    font-size: .77rem;
    font-weight: 500;
    color: var(--txt2);
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.bz-cap h5 a { color: var(--txt2); }
.bz-cap h5 a:hover { color: var(--teal-dk); }

/* ===== PAGINATION ===== */
.bz-pager {
    margin: 12px 0 5px;
    display: flex;
    justify-content: center;
}

.bz-pager-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.bz-pager-btns a.bzpb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 9px;
    background: var(--bg);
    border: 1px solid var(--border2);
    border-radius: var(--r2);
    font-size: .83rem;
    color: var(--txt2);
    text-decoration: none;
    transition: all .15s;
}

.bz-pager-btns a.bzpb:hover {
    background: var(--teal-lt);
    border-color: var(--teal-bd);
    color: var(--teal-dk);
}

.bz-pager-btns a.bzpb-on {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 9px;
    background: var(--teal);
    border: 1px solid var(--teal);
    border-radius: var(--r2);
    font-size: .83rem;
    font-weight: 700;
    color: #fff;
    cursor: default;
}

/* ===== FOOTER ===== */
.bz-foot {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 8px 12px;
    margin: 4px 0;
    box-shadow: var(--sh1);
}

.bz-flinks {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.bz-flinks dd { display: inline; }

.bz-flinks a {
    display: inline-block;
    font-size: .76rem;
    color: var(--txt3);
    padding: 2px 9px;
    border-radius: var(--r2);
    border: 1px solid var(--border);
    background: var(--bg-soft);
    text-decoration: none;
    transition: all .15s;
}

.bz-flinks a:hover { color: var(--teal-dk); border-color: var(--teal-bd); }

.bz-copy {
    text-align: center;
    padding: 7px 0 12px;
    color: var(--txt4);
    font-size: .74rem;
}

/* ===== DETAIL PAGES ===== */
.bz-dtl-title {
    line-height: 1.8;
    text-align: center;
    padding: 12px 15px;
    font-size: .97rem;
    margin: 4px 0;
    word-break: break-all;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--teal);
    border-radius: var(--r);
    box-shadow: var(--sh1);
}

.bz-dtl-title a {
    color: var(--teal);
    font-weight: 700;
    margin-right: 6px;
}

.bz-dtl-body {
    font-size: .9rem;
    line-height: 2;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: var(--sh1);
    margin: 4px 0;
    color: var(--txt2);
}

.bz-pic-zone {
    display: block;
    width: 100%;
    margin-top: 10px;
}

.bz-pic-zone picture,
.bz-pic-zone img {
    width: 100%;
    height: auto;
    border-radius: var(--r2);
    display: block;
}

/* ===== DL BUTTONS ===== */
.bz-dl-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0;
}

.bz-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 22px;
    background: var(--teal-btn);
    color: #fff;
    border: none;
    border-radius: var(--r2);
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .18s;
    text-decoration: none;
}

.bz-dl-btn:hover {
    background: var(--teal-dk);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,179,138,.3);
}

.bz-cli-tip {
    text-align: center;
    padding: 6px;
    font-size: .81rem;
}

.bz-cli-tip a { color: var(--teal); font-weight: 600; }
.bz-cli-tip a:hover { color: var(--teal-dk); }

/* ===== SHARE ===== */
.bz-share {
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 7px 12px;
    margin: 4px 0;
    flex-wrap: wrap;
}

.bz-share .bzs-lbl { font-size: .76rem; color: var(--txt4); white-space: nowrap; }
.bz-share .bzs-url { font-size: .78rem; color: var(--txt2); flex: 1; min-width: 0; word-break: break-all; }

.bz-share .bzs-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 13px;
    background: var(--topbar);
    color: #fff;
    border: none;
    border-radius: var(--r2);
    font-size: .79rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
    flex-shrink: 0;
}

.bz-share .bzs-btn:hover { background: var(--teal); }

/* ===== VIS HELPERS ===== */
.bz-pc { display: block; }
.bz-mb { display: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .bz-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .bz-pc { display: none; }
    .bz-mb { display: block; }
}

@media (max-width: 768px) {
    html { font-size: 14px; }

    .bz-sitename { font-size: 1.05rem; }
    .bz-domain-tag .bdt-url { font-size: .95rem; }

    .bz-nav-row { align-items: stretch; }

    .bz-zone-tag {
        width: 15%;
        min-width: 15%;
        max-width: 15%;
        font-size: 10px;
        padding: 4px 2px;
        letter-spacing: 0;
        line-height: 1.4;
        word-break: break-all;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .bz-zone-links {
        width: 85%;
        flex: 1;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 3px;
        padding: 4px 5px;
        align-items: center;
    }

    .bz-zone-links a {
        font-size: 12px;
        padding: 5px 2px;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }

    .bz-search form {
        flex-wrap: nowrap;
        gap: 4px;
    }

    .bz-search input[type="text"] {
        height: 33px;
        font-size: .77rem;
        padding: 0 7px;
    }

    .bz-search button {
        height: 33px;
        padding: 0 7px;
        font-size: .72rem;
    }

    .bz-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 7px;
    }

    .bz-thumb { aspect-ratio: 600 / 350; }
    .bz-cap h5 { font-size: .71rem; }
    .bz-sect { padding: 9px 9px 7px; }
    .bz-dl-btn { padding: 8px 14px; font-size: .83rem; }
}

@media (min-width: 481px) and (max-width: 768px) {
    .bz-zone-tag { font-size: 10px; }
    .bz-zone-links a { font-size: 13px; }
}

@media (max-width: 380px) {
    .bz-zone-tag { font-size: 10px; }
    .bz-zone-links a { font-size: 12px; }
    .bz-search button { padding: 0 5px; font-size: .66rem; }
}
