/* Elegant Rose Theme - Video Platform Stylesheet */

:root {
    --ros-primary: #e8336d;
    --ros-primary2: #f0547e;
    --ros-primary-light: #fce4ec;
    --ros-accent: #e8336d;
    --ros-pink-soft: #fdf0f4;
    --ros-pink-mid: #fad7e3;
    --ros-bg: #fafafa;
    --ros-bg2: #ffffff;
    --ros-border: #f0d9e2;
    --ros-border2: #e8c8d4;
    --ros-text: #333340;
    --ros-text2: #666672;
    --ros-text3: #aaaabc;
    --ros-white: #ffffff;
    --grd-rose: linear-gradient(135deg, #e8336d 0%, #f0547e 100%);
    --grd-soft: linear-gradient(135deg, #fce4ec 0%, #fff0f5 100%);
    --grd-header: linear-gradient(180deg, #ffffff 0%, #fff5f8 100%);
    --shd-sm: 0 1px 5px rgba(232,51,109,0.08);
    --shd-md: 0 3px 12px rgba(232,51,109,0.13);
    --shd-lg: 0 6px 24px rgba(232,51,109,0.16);
    --rd: 6px;
    --rd-sm: 4px;
    --rd-lg: 10px;
    --ease: all 0.22s ease;
}

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

body {
    font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    background: var(--ros-bg);
    color: var(--ros-text);
    line-height: 1.6;
    font-size: 14px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ====== HEADER ====== */
.site-header {
    background: var(--ros-bg2);
    border-bottom: 2px solid var(--ros-border);
    padding: 0.55rem 0;
    box-shadow: 0 2px 10px rgba(232,51,109,0.07);
}

.hd-inner { display: flex; justify-content: center; align-items: center; }

.site-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.brand-link { text-decoration: none; display: inline-flex; align-items: center; transition: opacity 0.2s; }
.brand-link:hover { opacity: 0.82; }

.brand-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--ros-primary);
    letter-spacing: 2px;
    font-style: normal;
    text-decoration: none;
    border-bottom: none;
}

.newest-domain {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--ros-pink-soft);
    border: 1px solid var(--ros-border2);
    border-radius: 20px;
    padding: 5px 14px;
}

.domain-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--ros-primary);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.domain-val {
    font-size: 18px;
    font-weight: 700;
    color: var(--ros-text);
    letter-spacing: 0.3px;
    font-family: 'Courier New', 'Consolas', monospace;
}

/* ====== LAYOUT ====== */
.container { max-width: 1060px; margin: 0 auto; padding: 0 14px; }
.content { padding: 8px 0; }

/* ====== NAV ====== */
.nav-container {
    background: var(--ros-bg2);
    border-radius: var(--rd);
    overflow: hidden;
    margin-bottom: 8px;
    border: 1px solid var(--ros-border);
    box-shadow: var(--shd-sm);
}

.nav-row { display: flex; align-items: stretch; border-bottom: 1px solid var(--ros-border); }
.nav-row:last-child { border-bottom: none; }

.nav-row .nav-label {
    font-weight: 700;
    font-size: 13px;
    color: var(--ros-primary);
    white-space: nowrap;
    width: 10%;
    text-align: center;
    border-right: 1px solid var(--ros-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 5px;
    flex-shrink: 0;
    background: var(--ros-pink-soft);
}

.nav-row .nav-links {
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 8px 10px;
    align-items: center;
    background: var(--ros-bg2);
}

.nav-row .nav-links a {
    display: inline-block;
    color: var(--ros-text2);
    text-decoration: none;
    padding: 4px 2px;
    border-radius: var(--rd-sm);
    transition: var(--ease);
    background: var(--ros-bg);
    border: 1px solid var(--ros-border);
    white-space: nowrap;
    text-align: center;
    width: calc((100% - 35px) / 8);
    flex-shrink: 0;
    flex-grow: 0;
    font-size: 13px;
}

.nav-row .nav-links a:hover {
    background: var(--ros-primary);
    color: var(--ros-white);
    border-color: var(--ros-primary);
    box-shadow: 0 2px 6px rgba(232,51,109,0.28);
}

.nav-row .nav-links a.active {
    background: var(--ros-primary);
    color: var(--ros-white);
    border-color: var(--ros-primary);
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(232,51,109,0.28);
}

/* ====== SEARCH ====== */
.seach {
    background: var(--ros-bg2);
    border-radius: var(--rd);
    padding: 10px 12px;
    margin-bottom: 8px;
    border: 1px solid var(--ros-border);
    box-shadow: var(--shd-sm);
}

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

.seach input[type="text"] {
    flex: 1;
    min-width: 180px;
    padding: 9px 14px;
    border: 1px solid var(--ros-border2);
    border-radius: 20px;
    background: var(--ros-bg);
    color: var(--ros-text);
    font-size: 13px;
    transition: var(--ease);
    outline: none;
}

.seach input[type="text"]:focus {
    border-color: var(--ros-primary);
    box-shadow: 0 0 0 3px rgba(232,51,109,0.10);
    background: #fff;
}

.seach input[type="text"]::placeholder { color: var(--ros-text3); }

.seach button {
    padding: 9px 16px;
    border: none;
    border-radius: 20px;
    background: var(--grd-rose);
    color: white;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--ease);
    white-space: nowrap;
    flex-shrink: 0;
}

.seach button:hover { opacity: 0.88; box-shadow: var(--shd-md); }

/* ====== TAG CLOUD ====== */
.grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    list-style: none;
    padding: 10px 12px;
    background: var(--ros-bg2);
    border-radius: var(--rd);
    margin-bottom: 8px;
    border: 1px solid var(--ros-border);
    box-shadow: var(--shd-sm);
}

.grid-item {
    padding: 4px 12px;
    background: var(--ros-pink-soft);
    border-radius: 12px;
    color: var(--ros-primary);
    text-decoration: none;
    font-size: 12px;
    transition: var(--ease);
    border: 1px solid var(--ros-border);
}

.grid-item:hover {
    background: var(--ros-primary);
    color: white;
    border-color: var(--ros-primary);
    box-shadow: 0 2px 6px rgba(232,51,109,0.22);
}

/* ====== SECTION BLOCK ====== */
.mhlleset { margin-bottom: 14px; }

.mhlleset-heading {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ros-border);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}

/* Pink left bar + bottom underline accent like 潇湘 */
.mhlleset-heading::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 18px;
    background: var(--grd-rose);
    border-radius: 2px;
    margin-right: 8px;
    flex-shrink: 0;
}

.mhlleset-heading::after { display: none; }

.mhlleset-title { font-size: 17px; font-weight: 700; margin: 0; color: var(--ros-primary); }
.mhlleset-title a { color: var(--ros-primary); text-decoration: none; transition: var(--ease); }
.mhlleset-title a:hover { color: var(--ros-primary2); }

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

.thumbnail2-group li { position: relative; animation: roseIn 0.42s ease backwards; }
.thumbnail2-group li:nth-child(1) { animation-delay: 0.04s; }
.thumbnail2-group li:nth-child(2) { animation-delay: 0.08s; }
.thumbnail2-group li:nth-child(3) { animation-delay: 0.12s; }
.thumbnail2-group li:nth-child(4) { animation-delay: 0.16s; }
.thumbnail2-group li:nth-child(5) { animation-delay: 0.20s; }
.thumbnail2-group li:nth-child(6) { animation-delay: 0.24s; }
.thumbnail2-group li:nth-child(7) { animation-delay: 0.28s; }
.thumbnail2-group li:nth-child(8) { animation-delay: 0.32s; }

@keyframes roseIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.thumbnail2 {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--rd);
    aspect-ratio: 600 / 350;
    background: var(--ros-pink-soft);
    border: 1px solid var(--ros-border);
    box-shadow: var(--shd-sm);
}

.thumbnail2 img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; display: block; }
.thumbnail2:hover img { transform: scale(1.07); }

.thumbnail2::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(232,51,109,0.55) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.22s ease;
    pointer-events: none;
}

.thumbnail2:hover::after { opacity: 1; }
.thumbnail2:hover { border-color: var(--ros-primary); box-shadow: var(--shd-md); }

.video-info { padding: 6px 0 2px; }
.video-info h5 { margin: 0; font-size: 13px; font-weight: 500; line-height: 1.4; }
.video-info h5 a {
    color: var(--ros-text2);
    text-decoration: none;
    transition: var(--ease);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.video-info h5 a:hover { color: var(--ros-primary); }

/* ====== VIDEO PLAYER ====== */
.video-container {
    width: 100%;
    height: 600px;
    max-height: 600px;
    margin-bottom: 14px;
    background: #000;
    border-radius: var(--rd);
    overflow: hidden;
    box-shadow: var(--shd-lg);
    position: relative;
}

.video-container iframe,
.video-container video,
.video-container #video-container { width: 100%; height: 100%; border: none; }

.MacPlayer {
    background: #000;
    border-radius: var(--rd);
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: var(--shd-lg);
}

/* ====== TORRENT CAPTURE ====== */
.torrent-capture-grid { width: 100%; }
.torrent-capture-grid img,
.torrent-capture-grid .img_item img {
    width: 100%;
    height: auto;
    border-radius: var(--rd-sm);
    border: 1px solid var(--ros-border);
    display: block;
}
.torrent-capture-grid .img_item { width: 100%; }

/* ====== DOWNLOAD BUTTONS ====== */
.download {
    text-align: center;
    padding: 12px;
    background: var(--ros-bg2);
    border-radius: var(--rd);
    margin: 12px 0;
    border: 1px solid var(--ros-border);
    box-shadow: var(--shd-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
}

.down_btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--grd-rose);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--ease);
    border: 1px solid transparent;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
}

.down_btn:hover { opacity: 0.88; box-shadow: var(--shd-md); transform: translateY(-1px); }

/* ====== SHARE SECTION ====== */
.share-section {
    background: var(--ros-bg2);
    border-radius: var(--rd);
    padding: 14px;
    margin: 12px 0;
    border: 1px solid var(--ros-border);
    box-shadow: var(--shd-sm);
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-url-display {
    background: var(--ros-pink-soft);
    border: 1px solid var(--ros-border);
    border-radius: 16px;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.share-label { font-weight: 700; font-size: 12px; color: var(--ros-primary); white-space: nowrap; flex-shrink: 0; }

.share-url {
    font-size: 12px;
    color: var(--ros-text2);
    font-family: 'Courier New', monospace;
    word-break: break-all;
    flex: 1;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.share-copy-btn {
    padding: 9px 18px;
    background: var(--grd-rose);
    color: white;
    border: 1px solid transparent;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.share-copy-btn:hover { opacity: 0.88; box-shadow: var(--shd-md); }
.share-copy-btn:active { transform: scale(0.98); }
.share-icon { font-size: 15px; }

/* ====== PAGINATION ====== */
.page_info_div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    padding: 16px 0;
}

.a_page_info,
.page_info_focus {
    display: inline-block;
    padding: 7px 13px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: var(--ease);
    min-width: 36px;
    text-align: center;
}

.a_page_info { background: var(--ros-bg2); color: var(--ros-text2); border: 1px solid var(--ros-border); }
.a_page_info:hover { background: var(--ros-primary); border-color: var(--ros-primary); color: white; }
.page_info_focus { background: var(--grd-rose); color: white; border: 1px solid var(--ros-primary); cursor: default; }

/* ====== FOOTER ====== */
.footer {
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid var(--ros-border);
    margin-top: 14px;
    background: var(--ros-bg2);
}

.footer p { margin: 5px 0; color: var(--ros-text3); font-size: 12px; }
.footer a { color: var(--ros-text3); text-decoration: none; transition: var(--ease); }
.footer a:hover { color: var(--ros-primary); }

.txtguanggao2 { padding: 10px 12px; background: var(--ros-bg2); border-radius: var(--rd); border: 1px solid var(--ros-border); }
.txtguanggao2 dl { margin: 0; }
.txtguanggao2 dd { display: inline-block; margin: 3px; }
.txtguanggao2 a { color: var(--ros-text2); text-decoration: none; transition: var(--ease); font-size: 13px; }
.txtguanggao2 a:hover { color: var(--ros-primary); }
.txtguanggao2 .pd5 { padding: 0 5px; }

/* ====== HIDE UTILS ====== */
.hide_mobile { display: block; }
.hide_pc     { display: block; }

@media (max-width: 768px) { .hide_mobile { display: none !important; } }
@media (min-width: 769px) { .hide_pc { display: none !important; } }

.clearfix::after { content: ""; display: table; clear: both; }

/* ====== RESPONSIVE: Mobile ====== */
@media (max-width: 768px) {
    .container { padding: 0 8px; }
    .site-header { padding: 0.45rem 0; }
    .site-brand { gap: 10px; }
    .brand-title { font-size: 20px; }
    .domain-tag { font-size: 10px; }
    .domain-val { font-size: 15px; }
    .content { padding: 6px 0; }

    .nav-row .nav-label { width: 15%; font-size: 10px; padding: 7px 3px; }
    .nav-row .nav-links { width: 85%; gap: 4px; padding: 7px 4px; }
    .nav-row .nav-links a { width: calc((100% - 12px) / 4); font-size: 14px; padding: 4px 2px; border-radius: 3px; }

    .thumbnail2-group { grid-template-columns: repeat(2, 1fr); gap: 8px; }

    .video-container { height: 56.25vw; max-height: 380px; margin-bottom: 12px; }

    .mhlleset { margin-bottom: 10px; }
    .mhlleset-title { font-size: 15px; }

    .share-section { padding: 10px; margin: 10px 0; gap: 7px; }
    .share-url { font-size: 11px; }
    .share-copy-btn { padding: 8px 12px; font-size: 12px; border-radius: 14px; }
    .down_btn { padding: 9px 16px; font-size: 13px; border-radius: 16px; }
    .download { padding: 10px 8px; gap: 7px; }

    .page_info_div { padding: 12px 0; gap: 4px; }
    .a_page_info, .page_info_focus { padding: 6px 10px; font-size: 12px; min-width: 30px; border-radius: 12px; }

    .grid-container { padding: 8px 10px; gap: 5px; }
    .grid-item { font-size: 11px; padding: 3px 10px; border-radius: 10px; }
    .footer { padding: 14px 0; margin-top: 10px; }
}

/* ====== RESPONSIVE: Small phone ====== */
@media (max-width: 480px) {
    .brand-title { font-size: 18px; }
    .domain-val { font-size: 14px; }
    .nav-row .nav-label { width: 15%; font-size: 10px; padding: 6px 2px; }
    .nav-row .nav-links { width: 85%; gap: 3px; padding: 6px 3px; }
    .nav-row .nav-links a { width: calc((100% - 9px) / 4); font-size: 12px; padding: 3px 1px; }
    .thumbnail2-group { grid-template-columns: repeat(2, 1fr); gap: 7px; }
    .video-info h5 { font-size: 12px; }
    .mhlleset-title { font-size: 14px; }
    .video-container { height: 56.25vw; max-height: 280px; }
    .down_btn { padding: 8px 12px; font-size: 12px; }
    .download { gap: 5px; padding: 8px 6px; }
    .share-section { padding: 8px; gap: 5px; }
    .share-copy-btn { padding: 8px 10px; font-size: 11px; }
    .share-icon { font-size: 13px; }
}

img[data-original] { background: var(--ros-pink-soft); }
