/* Media Portal — Warm Editorial Theme */

:root {
    --cream:        #f4f1ec;
    --cream-dark:   #ede8e0;
    --cream-mid:    #e8e2d8;
    --parchment:    #faf8f4;
    --brown:        #382110;
    --brown-mid:    #5c3d2e;
    --brown-light:  #7a5c48;
    --tan:          #9d7a5f;
    --gold:         #c2941a;
    --gold-hover:   #d4a535;
    --gold-pale:    #f5e6c0;
    --teal:         #2d6a6a;
    --teal-light:   #3d8a8a;
    --teal-pale:    #e0efef;
    --border:       #d5ccc0;
    --border-dk:    #bbb0a2;
    --txt:          #382110;
    --txt-mid:      #5c3d2e;
    --txt-muted:    #8a7060;
    --txt-dim:      #b0a090;
    --white:        #ffffff;
    --shadow-sm:    0 1px 4px rgba(56,33,16,.10);
    --shadow-md:    0 3px 10px rgba(56,33,16,.13);
    --shadow-lg:    0 6px 20px rgba(56,33,16,.18);
    --r:            5px;
    --r-sm:         3px;
    --ease:         all 0.22s ease;
    --grad-teal:    linear-gradient(135deg,#2d6a6a 0%,#3d8a8a 100%);
    --grad-gold:    linear-gradient(135deg,#c2941a 0%,#d4a535 100%);
}

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

body {
    font-family: Georgia,'Times New Roman','STSong',serif;
    background: var(--cream);
    color: var(--txt);
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
}

/* ── HEADER ── */
.header {
    background: var(--parchment);
    border-bottom: 2px solid var(--border);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

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

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

.logo {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--ease);
}
.logo:hover { opacity: .82; }

.site-name {
    font-family: Georgia,'Times New Roman',serif;
    font-size: 28px;
    font-weight: 700;
    font-style: italic;
    color: var(--brown);
    letter-spacing: .4px;
    line-height: 1;
}

.domain-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: var(--gold-pale);
    border-radius: var(--r);
    border: 1.5px solid var(--gold);
}

.domain-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--brown-mid);
    text-transform: uppercase;
    letter-spacing: .8px;
    font-family: Arial,sans-serif;
    white-space: nowrap;
}

.domain-url {
    font-size: 17px;
    font-weight: 700;
    color: var(--teal);
    font-family: Georgia,serif;
    letter-spacing: .2px;
}

/* ── CONTAINER ── */
.container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 15px;
}
.content { padding: 7px 0; }

/* ── NAV ── */
.nav-container {
    background: var(--parchment);
    border-radius: var(--r);
    overflow: hidden;
    margin-bottom: 7px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

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

.nav-row .nav-label {
    font-family: Arial,sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: var(--white);
    background: var(--teal);
    white-space: nowrap;
    width: 10%;
    min-width: 56px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 5px;
    flex-shrink: 0;
}

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

.nav-row .nav-links a {
    display: inline-block;
    color: var(--txt-mid);
    text-decoration: none;
    padding: 4px 4px;
    border-radius: var(--r-sm);
    transition: var(--ease);
    background: var(--parchment);
    border: 1px solid var(--border);
    white-space: nowrap;
    text-align: center;
    font-family: Arial,sans-serif;
    font-size: 13px;
    width: calc((100% - 35px) / 8);
    flex-shrink: 0;
    flex-grow: 0;
}

.nav-row .nav-links a:hover {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}

.nav-row .nav-links a.active {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal-light);
    font-weight: 700;
}

/* ── SEARCH ── */
.seach {
    background: var(--parchment);
    border-radius: var(--r);
    padding: 10px 12px;
    margin-bottom: 7px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

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

.seach input[type="text"] {
    flex: 1;
    min-width: 160px;
    padding: 9px 13px;
    border: 1.5px solid var(--border-dk);
    border-radius: var(--r-sm);
    background: var(--white);
    color: var(--brown);
    font-size: 14px;
    font-family: Georgia,serif;
    transition: var(--ease);
    outline: none;
    font-style: italic;
}
.seach input[type="text"]:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 2px rgba(45,106,106,.15);
}
.seach input[type="text"]::placeholder { color: var(--txt-dim); }

.seach button {
    padding: 9px 15px;
    border: none;
    border-radius: var(--r-sm);
    background: var(--grad-teal);
    color: var(--white);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: var(--ease);
    white-space: nowrap;
    flex-shrink: 0;
    font-family: Arial,sans-serif;
    letter-spacing: .3px;
}
.seach button:hover {
    background: var(--teal-light);
    box-shadow: 0 3px 8px rgba(45,106,106,.3);
}

/* ── TAG CLOUD ── */
.grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 9px;
    background: var(--parchment);
    border-radius: var(--r);
    margin-bottom: 7px;
    border: 1px solid var(--border);
}

.grid-item {
    padding: 4px 12px;
    background: var(--cream-dark);
    border-radius: 20px;
    color: var(--txt-mid);
    text-decoration: none;
    font-size: 12px;
    font-family: Arial,sans-serif;
    transition: var(--ease);
    border: 1px solid var(--border);
}
.grid-item:hover {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}

/* ── SECTION BLOCKS ── */
.mhlleset { margin-bottom: 12px; }

.mhlleset-heading {
    margin-bottom: 9px;
    padding-bottom: 7px;
    border-bottom: 2px solid var(--border);
    position: relative;
}
.mhlleset-heading::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--gold);
}

.mhlleset-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    color: var(--brown);
    font-family: Georgia,serif;
    font-style: italic;
}
.mhlleset-title a { color: var(--brown); text-decoration: none; transition: var(--ease); }
.mhlleset-title a:hover { color: var(--teal); }

/* ── MEDIA GRID ── */
.thumbnail2-group {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 11px;
    list-style: none;
    padding: 0;
}
.thumbnail2-group li { position: relative; }

@keyframes fadeUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
.thumbnail2-group li:nth-child(1){animation:fadeUp .3s ease .04s both}
.thumbnail2-group li:nth-child(2){animation:fadeUp .3s ease .08s both}
.thumbnail2-group li:nth-child(3){animation:fadeUp .3s ease .12s both}
.thumbnail2-group li:nth-child(4){animation:fadeUp .3s ease .16s both}
.thumbnail2-group li:nth-child(5){animation:fadeUp .3s ease .20s both}
.thumbnail2-group li:nth-child(6){animation:fadeUp .3s ease .24s both}
.thumbnail2-group li:nth-child(7){animation:fadeUp .3s ease .28s both}
.thumbnail2-group li:nth-child(8){animation:fadeUp .3s ease .32s both}

.thumbnail2 {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--r-sm);
    aspect-ratio: 600 / 350;
    background: var(--cream-mid);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.thumbnail2 img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
    display: block;
}
.thumbnail2:hover { box-shadow: var(--shadow-md); }
.thumbnail2:hover img { transform: scale(1.06); }
.thumbnail2::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,rgba(56,33,16,.55) 0%,transparent 55%);
    opacity: 0;
    transition: opacity .26s ease;
}
.thumbnail2:hover::after { opacity: 1; }

.video-info { padding: 6px 0 3px; }
.video-info h5 { margin: 0; font-size: 13px; font-weight: normal; line-height: 1.45; font-family: Arial,sans-serif; }
.video-info h5 a {
    color: var(--txt-mid);
    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(--teal); }

/* ── VIDEO PLAYER ── */
.video-container {
    width: 100%; height: 640px; max-height: 640px;
    margin-bottom: 14px;
    background: #1a0e06;
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.video-container iframe,
.video-container video,
.video-container #video-container { width:100%; height:100%; border:none; }

.MacPlayer {
    background: #1a0e06;
    border-radius: var(--r);
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: var(--shadow-lg);
}

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

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

.down_btn {
    display: inline-block;
    padding: 10px 22px;
    background: var(--grad-teal);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--r-sm);
    font-weight: 700;
    font-size: 13px;
    font-family: Arial,sans-serif;
    transition: var(--ease);
    margin: 0;
    border: 2px solid transparent;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    letter-spacing: .3px;
}
.down_btn:hover {
    background: var(--teal-light);
    box-shadow: 0 4px 12px rgba(45,106,106,.38);
    color: var(--white);
}

/* ── SHARE ── */
.share-section {
    background: var(--parchment);
    border-radius: var(--r);
    padding: 12px 15px;
    margin: 12px 0;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-url-display {
    background: var(--cream-dark);
    border: 1px solid var(--border-dk);
    border-radius: var(--r-sm);
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.share-label {
    font-weight: 700;
    font-size: 11px;
    color: var(--teal);
    white-space: nowrap;
    flex-shrink: 0;
    font-family: Arial,sans-serif;
    text-transform: uppercase;
    letter-spacing: .6px;
}

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

.share-copy-btn {
    padding: 9px 16px;
    background: var(--grad-teal);
    color: var(--white);
    border: none;
    border-radius: var(--r-sm);
    font-weight: 700;
    font-size: 13px;
    font-family: Arial,sans-serif;
    cursor: pointer;
    transition: var(--ease);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: .3px;
}
.share-copy-btn:hover { background: var(--teal-light); box-shadow: 0 3px 10px rgba(45,106,106,.32); }
.share-copy-btn:active { transform: scale(.97); }
.share-icon { font-size: 15px; }

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

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

.a_page_info { background: var(--parchment); color: var(--txt-mid); border: 1px solid var(--border); }
.a_page_info:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }
.page_info_focus { background: var(--teal); color: var(--white); border: 1px solid var(--teal-light); cursor: default; }
.p_c { cursor: default; }

/* ── FOOTER ── */
.footer {
    padding: 16px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: 14px;
    background: var(--cream-dark);
}
.footer p { margin: 5px 0; color: var(--txt-muted); font-size: 12px; font-family: Arial,sans-serif; }
.footer a { color: var(--txt-muted); text-decoration: none; transition: var(--ease); }
.footer a:hover { color: var(--teal); }

.txtguanggao2 { padding: 9px; background: var(--parchment); border-radius: var(--r); border: 1px solid var(--border); }
.txtguanggao2 dl { margin: 0; }
.txtguanggao2 dd { display: inline-block; margin: 3px 4px; }
.txtguanggao2 a { color: var(--teal); text-decoration: none; transition: var(--ease); font-size: 13px; font-family: Arial,sans-serif; }
.txtguanggao2 a:hover { color: var(--gold); }
.pd5 { padding: 2px 4px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .container { padding: 0 8px; }
    .header { padding: 8px 0; }
    .site-branding { gap: 10px; }
    .site-name { font-size: 22px; }
    .domain-info { padding: 4px 10px; gap: 6px; }
    .domain-label { font-size: 9px; }
    .domain-url { font-size: 15px; }
    .content { padding: 5px 0; }

    .nav-row .nav-label { width: 15%; min-width: 0; font-size: 10px; padding: 7px 3px; line-height: 1.3; text-align: center; }
    .nav-row .nav-links { width: 85%; font-size: 12px; gap: 4px; padding: 6px 5px; }
    .nav-row .nav-links a { padding: 4px 2px; font-size: 12px; width: calc((100% - 12px) / 4); flex-shrink: 0; flex-grow: 0; }

    .thumbnail2-group { grid-template-columns: repeat(2,1fr); gap: 9px; }
    .video-container { height: 56.25vw; max-height: 400px; margin-bottom: 10px; }
    .mhlleset { margin-bottom: 10px; }
    .mhlleset-heading { margin-bottom: 7px; padding-bottom: 6px; }
    .mhlleset-title { font-size: 16px; }

    .seach { padding: 8px; }
    .seach form { gap: 5px; }
    .seach input[type="text"] { min-width: 100px; padding: 8px 10px; font-size: 13px; }
    .seach button { padding: 8px 10px; font-size: 12px; }

    .grid-container { padding: 8px; gap: 5px; }
    .grid-item { padding: 3px 10px; font-size: 12px; }

    .download { padding: 10px 8px; margin: 10px 0; gap: 7px; flex-wrap: nowrap; }
    .down_btn { padding: 9px 14px; font-size: 12px; }

    .share-section { padding: 9px; margin: 10px 0; gap: 7px; flex-wrap: nowrap; }
    .share-url-display { padding: 8px 10px; gap: 6px; flex: 1; min-width: 0; }
    .share-label { font-size: 10px; }
    .share-url { font-size: 10px; }
    .share-copy-btn { padding: 9px 10px; font-size: 11px; flex-shrink: 0; }
    .share-icon { font-size: 13px; }

    .page_info_div { padding: 12px 0; gap: 4px; }
    .a_page_info,.page_info_focus { padding: 6px 11px; font-size: 12px; min-width: 32px; }
    .footer { padding: 13px 0; margin-top: 10px; }
}

@media (min-width: 481px) and (max-width: 768px) {
    .nav-row .nav-links a { font-size: 14px; }
}

@media (max-width: 480px) {
    .header { padding: 6px 0; }
    .site-name { font-size: 19px; }
    .domain-info { padding: 3px 8px; gap: 5px; }
    .domain-label { font-size: 9px; }
    .domain-url { font-size: 13px; }

    .nav-row .nav-label { width: 15%; font-size: 10px; padding: 6px 2px; }
    .nav-row .nav-links { width: 85%; gap: 3px; padding: 5px 4px; }
    .nav-row .nav-links a { padding: 3px 1px; font-size: 12px; width: calc((100% - 9px) / 4); }

    .thumbnail2-group { grid-template-columns: repeat(2,1fr); gap: 8px; }
    .video-container { height: 56.25vw; max-height: 300px; margin-bottom: 8px; }
    .video-info h5 { font-size: 12px; }
    .mhlleset-title { font-size: 15px; }

    .seach input[type="text"] { min-width: 80px; padding: 7px 9px; font-size: 12px; }
    .seach button { padding: 7px 8px; font-size: 11px; }

    .download { padding: 8px 4px; gap: 4px; }
    .down_btn { padding: 7px 10px; font-size: 11px; }

    .share-section { padding: 7px; margin: 8px 0; gap: 5px; flex-wrap: nowrap; }
    .share-url-display { padding: 7px 8px; gap: 4px; }
    .share-label { font-size: 9px; }
    .share-url { font-size: 9px; }
    .share-copy-btn { padding: 7px 9px; font-size: 10px; gap: 3px; flex-shrink: 0; }
    .share-icon { font-size: 12px; }
}

/* ── VISIBILITY ── */
.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; } }

/* ── MISC ── */
img[data-original] { background: var(--cream-mid); }
.clearfix::after { content:""; display:table; clear:both; }
