:root {
    --pk-rose: #f0508c;
    --pk-rose-dark: #d43a74;
    --pk-rose-light: #fce4ec;
    --pk-pink: #ff80ab;
    --pk-pink-soft: #ffd6e7;
    --pk-purple: #ce93d8;
    --pk-purple-soft: #f3e5f5;
    --pk-lavender: #e8d5f5;
    --pk-bg: #fff8fc;
    --pk-white: #ffffff;
    --pk-border: #f8bbd0;
    --pk-border2: #fce4ec;
    --pk-text: #333333;
    --pk-text-dim: #666666;
    --pk-text-muted: #aaaaaa;
    --pk-heading: #e91e8c;
    --pk-nav-bg: #f0508c;
    --pk-nav-text: #ffffff;
    --r-sm: 4px;
    --r-md: 8px;
    --r-lg: 12px;
    --r-pill: 30px;
    --sh: 0 2px 10px rgba(240,80,140,0.12);
    --sh2: 0 1px 6px rgba(0,0,0,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--pk-bg);
    color: var(--pk-text);
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.65;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--pk-rose); }
img { max-width: 100%; display: block; }

/* ===== LAYOUT ===== */
.page-shell {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 12px;
}

.cf::after { content: ''; display: table; clear: both; }

/* ===== TOPBAR ===== */
.site-topbar {
    background: linear-gradient(135deg, var(--pk-rose) 0%, #e91e8c 60%, var(--pk-purple) 100%);
    padding: 0;
    box-shadow: 0 2px 8px rgba(240,80,140,0.3);
}

.site-topbar .page-shell {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 9px;
    padding-bottom: 9px;
}

.brand-name-link {
    font-size: 20px;
    font-weight: 800;
    color: var(--pk-white);
    letter-spacing: 0.3px;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.brand-name-link:hover { color: #ffe0f0; }

.newest-domain-box {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: var(--r-pill);
    padding: 3px 14px;
}

.domain-hint-txt {
    font-size: 11px;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
    font-weight: 500;
}

.domain-value-txt {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* ===== BANNER ===== */
.promo-banner { margin: 5px 0; }
.promo-banner img { border-radius: var(--r-md); box-shadow: var(--sh2); }

/* ===== NAV PANEL ===== */
.cate-nav-panel {
    background: var(--pk-white);
    border: 1px solid var(--pk-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin: 5px 0;
    box-shadow: var(--sh2);
}

.cate-nav-row {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--pk-border2);
}

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

.zone-label {
    background: linear-gradient(135deg, var(--pk-rose) 0%, #e91e8c 100%);
    color: var(--pk-white);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 4px;
    width: 15%;
    min-width: 40px;
    flex-shrink: 0;
    text-align: center;
    line-height: 1.3;
    word-break: break-all;
}

.cate-links-area {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    padding: 4px 8px;
    gap: 3px;
    align-items: center;
    background: var(--pk-white);
}

.cate-links-area a {
    color: var(--pk-text-dim);
    font-size: 13px;
    padding: 4px 9px;
    border-radius: var(--r-pill);
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.cate-links-area a:hover,
.cate-links-area a.active {
    background: var(--pk-rose);
    color: var(--pk-white);
    font-weight: 600;
}

/* ===== SEARCH ===== */
.keyword-search-bar {
    background: var(--pk-white);
    border: 1px solid var(--pk-border);
    border-radius: var(--r-lg);
    padding: 10px 14px;
    margin: 5px 0;
    box-shadow: var(--sh2);
}

.keyword-search-bar form {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.keyword-search-bar input[type="text"] {
    flex: 1;
    min-width: 0;
    background: var(--pk-rose-light);
    border: 1.5px solid var(--pk-border);
    border-radius: var(--r-pill);
    color: var(--pk-text);
    font-size: 14px;
    padding: 7px 16px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.keyword-search-bar input[type="text"]:focus {
    border-color: var(--pk-rose);
    box-shadow: 0 0 0 3px rgba(240,80,140,0.1);
}

.keyword-search-bar input[type="text"]::placeholder { color: var(--pk-text-muted); }

.keyword-search-bar button {
    background: var(--pk-rose);
    color: var(--pk-white);
    border: none;
    border-radius: var(--r-pill);
    padding: 7px 13px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s, transform 0.1s;
    box-shadow: 0 2px 6px rgba(240,80,140,0.3);
}

.keyword-search-bar button:hover {
    background: var(--pk-rose-dark);
    transform: translateY(-1px);
}

/* ===== HOT TAGS ===== */
.hot-keywords-block {
    background: var(--pk-white);
    border: 1px solid var(--pk-border);
    border-radius: var(--r-lg);
    padding: 10px 14px;
    margin: 5px 0;
    box-shadow: var(--sh2);
}

.hot-keywords-block h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--pk-rose);
    margin-bottom: 8px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 0;
}

.tag-cloud a {
    display: inline-block;
    background: var(--pk-rose-light);
    border: 1px solid var(--pk-border);
    color: var(--pk-rose);
    font-size: 12px;
    padding: 3px 11px;
    border-radius: var(--r-pill);
    transition: all 0.15s;
    font-weight: 500;
}

.tag-cloud a:hover {
    background: var(--pk-rose);
    color: var(--pk-white);
    border-color: var(--pk-rose);
}

/* ===== SECTION HEADING ===== */
.block-title-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 8px;
}

.block-title-row::before {
    content: '❤';
    color: var(--pk-rose);
    font-size: 14px;
    flex-shrink: 0;
}

.block-title-row h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--pk-heading);
}

.block-title-row h3 a { color: inherit; }
.block-title-row h3 a:hover { color: var(--pk-purple); }

.block-title-row h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--pk-heading);
}

.qty-note {
    font-size: 0.75em;
    font-weight: 400;
    color: var(--pk-text-muted);
    margin-left: 6px;
}

/* ===== MOVIE GRID ===== */
.film-grid-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    list-style: none;
    padding: 0;
    width: 100%;
}

.film-grid-list li {
    min-width: 0;
    overflow: hidden;
}

.film-cover-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--r-md);
    background: var(--pk-rose-light);
    aspect-ratio: 600 / 350;
    box-shadow: 0 2px 8px rgba(240,80,140,0.15);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--pk-border2);
    width: 100%;
    max-width: 100%;
}

.film-cover-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(240,80,140,0.25);
}

.film-cover-link img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.film-cover-link:hover img { transform: scale(1.06); }

.film-title-row { padding: 5px 2px 2px; }

.film-title-row h5 {
    font-size: 12px;
    color: var(--pk-text-dim);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 500;
}

.film-title-row h5 a:hover { color: var(--pk-rose); }

/* ===== CONTENT BLOCK ===== */
.content-card {
    background: var(--pk-white);
    border: 1px solid var(--pk-border);
    border-radius: var(--r-lg);
    padding: 14px;
    margin: 5px 0;
    box-shadow: var(--sh2);
}

/* ===== PAGE TITLE ===== */
.entry-title-bar {
    background: var(--pk-white);
    border: 1px solid var(--pk-border);
    border-left: 4px solid var(--pk-rose);
    border-radius: var(--r-md);
    padding: 12px 18px;
    font-size: 16px;
    font-weight: 700;
    word-break: break-all;
    margin: 5px 0;
    box-shadow: var(--sh2);
}

.entry-title-bar .cate-ref-link {
    color: var(--pk-rose);
    margin-right: 8px;
    font-weight: 800;
}

/* ===== TORRENT META ===== */
.torrent-detail-card {
    background: var(--pk-white);
    border: 1px solid var(--pk-border);
    border-radius: var(--r-lg);
    padding: 18px 20px;
    font-size: 15px;
    line-height: 1.9;
    margin: 5px 0;
    box-shadow: var(--sh2);
}

.preview-shots picture,
.preview-shots img {
    width: 100%;
    display: block;
    border-radius: var(--r-md);
    margin-top: 8px;
    border: 1px solid var(--pk-border2);
}

/* ===== DOWNLOAD BUTTONS ===== */
.action-btns-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 12px 0;
}

.action-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--pk-rose) 0%, #e91e8c 100%);
    color: var(--pk-white);
    font-size: 15px;
    font-weight: 700;
    padding: 10px 26px;
    border-radius: var(--r-pill);
    border: none;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.12s, box-shadow 0.15s;
    box-shadow: 0 4px 14px rgba(240,80,140,0.35);
}

.action-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240,80,140,0.45);
    color: var(--pk-white);
}

/* ===== BT CLIENT ===== */
.bt-client-tip {
    text-align: center;
    padding: 8px;
    font-size: 13px;
}

.bt-client-tip a { color: var(--pk-rose); font-weight: 600; }
.bt-client-tip a:hover { text-decoration: underline; }

/* ===== SHARE ===== */
.share-info-bar {
    background: var(--pk-white);
    border: 1px solid var(--pk-border);
    border-radius: var(--r-md);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 5px 0;
    box-shadow: var(--sh2);
}

.share-url-section {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    overflow: hidden;
}

.share-label-badge {
    font-size: 11px;
    color: var(--pk-rose);
    white-space: nowrap;
    font-weight: 700;
    background: var(--pk-rose-light);
    padding: 2px 8px;
    border-radius: var(--r-sm);
    border: 1px solid var(--pk-border);
}

.share-url-display {
    font-size: 12px;
    color: var(--pk-text-dim);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.share-copy-action {
    background: var(--pk-rose-light);
    color: var(--pk-rose);
    border: 1px solid var(--pk-border);
    border-radius: var(--r-pill);
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s;
    flex-shrink: 0;
}

.share-copy-action:hover {
    background: var(--pk-rose);
    border-color: var(--pk-rose);
    color: var(--pk-white);
}

/* ===== PLAYER ===== */
.video-player-wrap {
    background: #000;
    border-radius: var(--r-lg);
    overflow: hidden;
    margin: 5px 0;
    box-shadow: var(--sh);
}

/* ===== PAGINATION ===== */
.page-nav-row {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
    padding: 14px 0;
}

.page-nav-row a,
.page-nav-cur {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: var(--r-sm);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.15s;
}

.page-nav-row a {
    background: var(--pk-white);
    border: 1px solid var(--pk-border);
    color: var(--pk-text-dim);
}

.page-nav-row a:hover {
    background: var(--pk-rose);
    border-color: var(--pk-rose);
    color: var(--pk-white);
}

.page-nav-cur {
    background: var(--pk-rose);
    color: var(--pk-white);
    border: 1px solid var(--pk-rose);
}

/* ===== FOOTER LINKS ===== */
.friend-links-box {
    background: var(--pk-white);
    border: 1px solid var(--pk-border);
    border-radius: var(--r-lg);
    padding: 12px 16px;
    margin: 5px 0;
    box-shadow: var(--sh2);
}

.friend-links-box dl { display: flex; flex-wrap: wrap; gap: 7px; }
.friend-links-box dd { margin: 0; }

.frd-link {
    display: inline-block;
    padding: 3px 11px;
    background: var(--pk-rose-light);
    border: 1px solid var(--pk-border);
    border-radius: var(--r-pill);
    color: var(--pk-rose);
    font-size: 12px;
    transition: all 0.15s;
    font-weight: 500;
}

.frd-link:hover {
    background: var(--pk-rose);
    color: var(--pk-white);
    border-color: var(--pk-rose);
}

.site-copyright {
    text-align: center;
    padding: 12px 0 8px;
    font-size: 12px;
    color: var(--pk-text-muted);
    border-top: 1px solid var(--pk-border2);
    margin-top: 5px;
}

/* ===== UTILS ===== */
.hide-mobile { display: block; }
.hide-pc { display: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .film-grid-list { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .hide-mobile { display: none !important; }
    .hide-pc { display: block !important; }
    .zone-label { font-size: 10px; width: 15%; min-width: 38px; padding: 4px 2px; }
    .cate-links-area a { font-size: 12px; padding: 3px 5px; }
}

@media (max-width: 640px) {
    .cate-links-area { display: grid; grid-template-columns: repeat(4, 1fr); }
    .cate-links-area a { font-size: 12px; text-align: center; }
    .brand-name-link { font-size: 17px; }
    .domain-value-txt { font-size: 13px; }
    .keyword-search-bar button { padding: 7px 9px; font-size: 12px; }
}

@media (min-width: 641px) and (max-width: 960px) {
    .cate-links-area { display: grid; grid-template-columns: repeat(4, 1fr); }
    .cate-links-area a { font-size: 13px; text-align: center; }
}

@media (min-width: 961px) {
    .zone-label { font-size: 13px; width: auto; min-width: 70px; padding: 6px 10px; }
    .cate-links-area { display: flex; flex-wrap: nowrap; }
    .cate-links-area a { flex: 1; text-align: center; }
    .film-grid-list { grid-template-columns: repeat(4, 1fr); }
}
