/* Dark Blue Video Portal - Premium Sports Style */

:root {
    --clr-primary: #f5a623;
    --clr-primary-dark: #e09010;
    --clr-accent: #3d8ef8;
    --clr-navy: #0d1b2a;
    --clr-navy2: #152438;
    --clr-navy3: #1e3450;
    --clr-panel: #1a2d44;
    --clr-panel2: #213349;
    --clr-border: #2a3f58;
    --clr-border2: #354f6e;
    --clr-text: #e8f0f8;
    --clr-text2: #a8bcce;
    --clr-text3: #6a8aaa;
    --clr-white: #ffffff;
    --clr-shadow: rgba(0, 0, 0, 0.35);
    --clr-shadow2: rgba(0, 0, 0, 0.55);
    --grad-primary: linear-gradient(135deg, #f5a623 0%, #e05c2a 100%);
    --grad-blue: linear-gradient(160deg, #1e3a5c 0%, #0d1b2a 100%);
    --grad-accent: linear-gradient(135deg, #3d8ef8 0%, #1a5cc4 100%);
    --rad: 8px;
    --rad-sm: 5px;
    --trans: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: var(--clr-navy);
    color: var(--clr-text);
    line-height: 1.55;
    font-size: 14px;
    overflow-x: hidden;
}

/* HEADER */
.site-hd {
    background: var(--grad-blue);
    border-bottom: 2px solid var(--clr-navy3);
    padding: 14px 0 10px;
    box-shadow: 0 3px 12px var(--clr-shadow2);
}

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

.site-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.logo {
    text-decoration: none;
    display: inline-block;
    transition: var(--trans);
}

.logo:hover {
    opacity: 0.88;
}

.site-nm {
    font-size: 32px;
    font-weight: 900;
    color: var(--clr-white);
    letter-spacing: 2px;
    text-shadow: 0 2px 16px rgba(245, 166, 35, 0.35);
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.latest-domain {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 166, 35, 0.1);
    border: 1px solid rgba(245, 166, 35, 0.4);
    border-radius: 4px;
    padding: 5px 14px;
}

.domain-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--clr-primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.domain-val {
    font-size: 15px;
    font-weight: 800;
    color: var(--clr-white);
    letter-spacing: 0.5px;
    font-family: 'Courier New', monospace;
}

/* LAYOUT */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 14px;
}

.content {
    padding: 14px 0;
}

/* NAV */
.nav-wrapper {
    background: var(--clr-panel);
    border-radius: var(--rad);
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid var(--clr-border);
    box-shadow: 0 2px 10px var(--clr-shadow);
}

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

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

.nav-row .nav-label {
    font-weight: 700;
    font-size: 13px;
    color: var(--clr-text2);
    white-space: normal;
    word-break: break-all;
    line-height: 1.3;
    width: 10%;
    text-align: center;
    border-right: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 5px;
    flex-shrink: 0;
    background: rgba(13, 27, 42, 0.5);
}

.nav-row .nav-links {
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 10px;
    align-items: center;
}

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

.nav-row .nav-links a:hover {
    background: var(--clr-primary);
    color: var(--clr-navy);
    border-color: var(--clr-primary);
    box-shadow: 0 3px 10px rgba(245,166,35,0.3);
    font-weight: 600;
}

.nav-row .nav-links a.active {
    background: var(--grad-primary);
    color: var(--clr-navy);
    border-color: var(--clr-primary);
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(245,166,35,0.3);
}

/* SEARCH */
.seach {
    background: var(--clr-panel);
    border-radius: var(--rad);
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid var(--clr-border);
    box-shadow: 0 2px 8px var(--clr-shadow);
}

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

.seach input[type="text"] {
    flex: 1;
    min-width: 180px;
    padding: 10px 14px;
    border: 1px solid var(--clr-border2);
    border-radius: var(--rad-sm);
    background: var(--clr-navy);
    color: var(--clr-text);
    font-size: 14px;
    transition: var(--trans);
    outline: none;
}

.seach input[type="text"]:focus {
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(245,166,35,0.15);
}

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

.seach button {
    padding: 10px 16px;
    border: none;
    border-radius: var(--rad-sm);
    background: var(--grad-primary);
    color: var(--clr-navy);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: var(--trans);
    white-space: nowrap;
    flex-shrink: 0;
}

.seach button:hover {
    box-shadow: 0 4px 14px rgba(245,166,35,0.4);
    filter: brightness(1.08);
}

/* HOT TAGS */
.grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    list-style: none;
    padding: 12px;
    background: var(--clr-panel);
    border-radius: var(--rad);
    margin-bottom: 12px;
    border: 1px solid var(--clr-border);
    box-shadow: 0 2px 8px var(--clr-shadow);
}

.grid-item {
    padding: 5px 13px;
    background: var(--clr-navy2);
    border-radius: 4px;
    color: var(--clr-text2);
    text-decoration: none;
    font-size: 12px;
    transition: var(--trans);
    border: 1px solid var(--clr-border);
}

.grid-item:hover {
    background: var(--clr-primary);
    color: var(--clr-navy);
    border-color: var(--clr-primary);
    font-weight: 600;
}

/* SECTION */
.mhlleset {
    margin-bottom: 20px;
}

.mhlleset-main {
    background: var(--clr-panel);
    border-radius: var(--rad);
    padding: 16px;
    border: 1px solid var(--clr-border);
    box-shadow: 0 2px 10px var(--clr-shadow);
}

.mhlleset-heading {
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--clr-border);
    position: relative;
}

.mhlleset-heading::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 56px;
    height: 2px;
    background: var(--grad-primary);
    border-radius: 2px;
}

.mhlleset-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--clr-white);
    letter-spacing: 0.3px;
}

.mhlleset-title a {
    color: var(--clr-white);
    text-decoration: none;
    transition: var(--trans);
}

.mhlleset-title a:hover {
    color: var(--clr-primary);
}

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

.thumbnail2-group li {
    position: relative;
    animation: fadeUp 0.5s 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 fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.thumbnail2 {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--rad);
    aspect-ratio: 600 / 350;
    background: var(--clr-navy3);
    border: 1px solid var(--clr-border);
}

.thumbnail2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.42s ease;
    display: block;
}

.thumbnail2:hover img {
    transform: scale(1.07);
}

.thumbnail2::before {
    content: '▶';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: rgba(255,255,255,0.9);
    background: rgba(0,0,0,0.38);
    opacity: 0;
    transition: opacity 0.28s ease;
    z-index: 2;
}

.thumbnail2:hover::before {
    opacity: 1;
}

.video-info {
    padding: 8px 0 4px;
}

.video-info h5 {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}

.video-info h5 a {
    color: var(--clr-text2);
    text-decoration: none;
    transition: var(--trans);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-info h5 a:hover {
    color: var(--clr-primary);
}

/* VIDEO PLAYER */
.video-container {
    width: 100%;
    height: 620px;
    max-height: 620px;
    margin-bottom: 18px;
    background: #000;
    border-radius: var(--rad);
    overflow: hidden;
    box-shadow: 0 6px 24px var(--clr-shadow2);
    position: relative;
    border: 1px solid var(--clr-border);
}

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

.MacPlayer {
    background: #000;
    border-radius: var(--rad);
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: 0 6px 24px var(--clr-shadow2);
}

/* TORRENT CAPTURE */
.torrent-capture-grid picture {
    display: block;
    width: 100%;
}

.torrent-capture-grid img,
.torrent-capture-grid .img_item img {
    width: 100%;
    height: auto;
    border-radius: var(--rad-sm);
    border: 1px solid var(--clr-border);
    display: block;
}

.torrent-capture-grid .img_item {
    width: 100%;
}

/* DOWNLOAD BUTTONS */
.download {
    text-align: center;
    padding: 16px;
    background: var(--clr-panel);
    border-radius: var(--rad);
    margin: 14px 0;
    border: 1px solid var(--clr-border);
    box-shadow: 0 2px 8px var(--clr-shadow);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
}

.down_btn {
    display: inline-block;
    padding: 11px 22px;
    background: var(--grad-primary);
    color: var(--clr-navy);
    text-decoration: none;
    border-radius: var(--rad-sm);
    font-weight: 700;
    font-size: 14px;
    transition: var(--trans);
    margin: 0;
    border: 2px solid transparent;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
}

.down_btn:hover {
    box-shadow: 0 5px 16px rgba(245,166,35,0.45);
    filter: brightness(1.1);
}

/* SHARE */
.share-section {
    background: var(--clr-panel);
    border-radius: var(--rad);
    padding: 16px 18px;
    margin: 16px 0;
    border: 1px solid var(--clr-border);
    box-shadow: 0 2px 8px var(--clr-shadow);
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-url-display {
    background: var(--clr-navy);
    border: 1px solid var(--clr-border2);
    border-radius: var(--rad-sm);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

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

.share-url {
    font-size: 12px;
    color: var(--clr-text3);
    font-family: 'Courier New', monospace;
    word-break: break-all;
    flex: 1;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
}

.share-copy-btn {
    padding: 11px 22px;
    background: var(--grad-accent);
    color: white;
    border: none;
    border-radius: var(--rad-sm);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: var(--trans);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.share-copy-btn:hover {
    box-shadow: 0 4px 14px rgba(61,142,248,0.4);
    filter: brightness(1.1);
}

.share-copy-btn:active {
    transform: scale(0.97);
}

.share-icon {
    font-size: 16px;
}

/* SHARE BOX legacy */
.share-box {
    background: var(--clr-panel);
    border-radius: var(--rad);
    padding: 12px;
    margin: 12px 0;
    border: 1px solid var(--clr-border);
}

.share-box span {
    color: var(--clr-text3);
    font-size: 12px;
    word-break: break-all;
}

.share-box a {
    color: var(--clr-primary);
    text-decoration: none;
    font-weight: 600;
}

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

.a_page_info,
.page_info_focus {
    display: inline-block;
    padding: 8px 14px;
    border-radius: var(--rad-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: var(--trans);
    min-width: 38px;
    text-align: center;
}

.a_page_info {
    background: var(--clr-panel);
    color: var(--clr-text2);
    border: 1px solid var(--clr-border);
}

.a_page_info:hover {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    color: var(--clr-navy);
    font-weight: 700;
}

.page_info_focus {
    background: var(--grad-primary);
    color: var(--clr-navy);
    border: 1px solid var(--clr-primary);
    cursor: default;
    font-weight: 700;
}

/* FOOTER */
.footer {
    padding: 24px 0;
    text-align: center;
    border-top: 1px solid var(--clr-border);
    margin-top: 28px;
    background: var(--clr-navy2);
}

.footer p {
    margin: 6px 0;
    color: var(--clr-text3);
    font-size: 12px;
}

.footer a {
    color: var(--clr-text3);
    text-decoration: none;
}

.footer a:hover {
    color: var(--clr-primary);
}

/* FRIENDLY LINKS */
.txtguanggao2 {
    padding: 12px;
    background: var(--clr-panel);
    border-radius: var(--rad);
    border: 1px solid var(--clr-border);
}

.txtguanggao2 dl { margin: 0; }

.txtguanggao2 dd {
    display: inline-block;
    margin: 4px;
}

.txtguanggao2 a {
    color: var(--clr-text3);
    text-decoration: none;
    transition: var(--trans);
    font-size: 13px;
}

.txtguanggao2 a:hover {
    color: var(--clr-primary);
}

.pd5 { padding: 5px; }

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

.hide_mobile { display: block; }
.hide_pc { display: block; }

img[data-original] { background: var(--clr-navy3); }

/* RESPONSIVE ≤768px */
@media (max-width: 768px) {
    .container { padding: 0 8px; }
    .site-nm { font-size: 24px; }
    .domain-tag { font-size: 10px; }
    .domain-val { font-size: 13px; }
    .content { padding: 10px 0; }

    .nav-row .nav-label {
        width: 15%;
        font-size: 10px;
        padding: 8px 3px;
    }

    .nav-row .nav-links {
        width: 85%;
        gap: 4px;
        padding: 8px 5px;
    }

    .nav-row .nav-links a {
        font-size: 14px;
        padding: 5px 2px;
        width: calc((100% - 12px) / 4);
        flex-shrink: 0;
        flex-grow: 0;
    }

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

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

    .share-section {
        padding: 12px;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .share-url-display {
        padding: 8px 10px;
        gap: 6px;
        flex: 1;
        min-width: 0;
    }

    .share-label { font-size: 11px; }
    .share-url { font-size: 10px; }

    .share-copy-btn {
        padding: 10px 12px;
        font-size: 12px;
        flex-shrink: 0;
    }

    .share-icon { font-size: 15px; }

    .download {
        padding: 12px 8px;
        gap: 8px;
    }

    .down_btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .mhlleset-title { font-size: 16px; }

    .page_info_div { gap: 5px; }

    .a_page_info,
    .page_info_focus {
        padding: 7px 11px;
        font-size: 12px;
        min-width: 32px;
    }

    .hide_mobile { display: none !important; }
}

/* LARGE PHONE 480-768 */
@media (min-width: 480px) and (max-width: 768px) {
    .nav-row .nav-links a { font-size: 14px; }
}

/* SMALL PHONE ≤479px */
@media (max-width: 479px) {
    .site-nm { font-size: 20px; }
    .domain-val { font-size: 12px; }

    .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 {
        font-size: 12px;
        padding: 4px 1px;
        width: calc((100% - 9px) / 4);
    }

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

    .video-info h5 { font-size: 12px; }
    .mhlleset-title { font-size: 15px; }

    .down_btn {
        padding: 9px 12px;
        font-size: 12px;
    }

    .download {
        gap: 6px;
        padding: 10px 6px;
    }

    .share-section {
        padding: 8px;
        gap: 6px;
        flex-wrap: nowrap;
    }

    .share-url-display { padding: 7px 8px; gap: 4px; }
    .share-label { font-size: 10px; }
    .share-url { font-size: 10px; }

    .share-copy-btn {
        padding: 8px 9px;
        font-size: 11px;
    }

    .share-icon { font-size: 13px; }

    .mhlleset-main { padding: 12px 10px; }
}

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