/* Video Site Template - Dark Purple Stream Theme */

:root {
    --clr-accent: #8b5cf6;
    --clr-accent-bright: #a78bfa;
    --clr-accent-dark: #6d28d9;
    --clr-accent2: #c084fc;
    --clr-bg: #12092a;
    --clr-bg2: #1a0f36;
    --clr-bg3: #231548;
    --clr-bg4: #2e1a5e;
    --clr-surface: #1e1040;
    --clr-surface2: #261350;
    --clr-border: rgba(139, 92, 246, 0.2);
    --clr-border2: rgba(139, 92, 246, 0.35);
    --clr-text: #f0ebff;
    --clr-text2: #c4b5fd;
    --clr-text3: #9d8ec4;
    --clr-muted: #6b5fa0;
    --clr-white: #ffffff;
    --grad-main: linear-gradient(135deg, #8b5cf6 0%, #c084fc 100%);
    --grad-subtle: linear-gradient(135deg, rgba(139,92,246,0.15) 0%, rgba(192,132,252,0.1) 100%);
    --grad-card: linear-gradient(180deg, rgba(30,16,64,0) 0%, rgba(30,16,64,0.95) 100%);
    --radius-lg: 10px;
    --radius-md: 7px;
    --radius-sm: 5px;
    --ease: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --shade-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shade-md: 0 4px 16px rgba(0,0,0,0.4);
    --shade-lg: 0 8px 28px rgba(0,0,0,0.5);
    --shade-glow: 0 0 20px rgba(139,92,246,0.3);
}

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

html {
    scroll-behavior: smooth;
}

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

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-main);
    z-index: 9999;
}

/* ======== HEADER ======== */
.site-header {
    background: var(--clr-bg2);
    border-bottom: 1px solid var(--clr-border2);
    padding: 0.65rem 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

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

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

.brand-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--ease);
}

.brand-link:hover {
    opacity: 0.85;
}

.brand-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--clr-white);
    letter-spacing: -0.5px;
    font-style: normal;
    text-decoration: none;
    border-bottom: none;
    display: inline-block;
}

.brand-sep {
    width: 1px;
    height: 24px;
    background: var(--clr-border2);
    flex-shrink: 0;
}

.addr-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    background: rgba(139,92,246,0.12);
    border: 1px solid var(--clr-border2);
    border-radius: 20px;
}

.addr-tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--clr-accent-bright);
    white-space: nowrap;
    letter-spacing: 0.2px;
}

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

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

.sect {
    padding: 10px 0;
}

/* ======== NAV CATEGORIES ======== */
.cat-panel {
    background: var(--clr-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shade-sm);
}

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

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

.cat-zone {
    font-size: 13px;
    font-weight: 700;
    color: var(--clr-accent-bright);
    white-space: nowrap;
    width: 10%;
    text-align: center;
    border-right: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 6px;
    flex-shrink: 0;
    background: rgba(139,92,246,0.08);
    letter-spacing: 0.2px;
}

.cat-links {
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 9px 8px;
    align-items: center;
}

.cat-links a {
    display: inline-block;
    color: var(--clr-text2);
    text-decoration: none;
    padding: 5px 4px;
    border-radius: var(--radius-sm);
    transition: var(--ease);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--clr-border);
    white-space: nowrap;
    text-align: center;
    font-size: 13px;
    width: calc((100% - 35px) / 8);
    flex-shrink: 0;
    flex-grow: 0;
}

.cat-links a:hover {
    background: var(--clr-accent);
    color: var(--clr-white);
    border-color: var(--clr-accent);
    box-shadow: 0 2px 10px rgba(139,92,246,0.35);
}

.cat-links a.active {
    background: var(--grad-main);
    color: var(--clr-white);
    border-color: var(--clr-accent);
    box-shadow: 0 2px 10px rgba(139,92,246,0.4);
    font-weight: 600;
}

/* ======== SEARCH ======== */
.srch-block {
    background: var(--clr-surface);
    border-radius: var(--radius-lg);
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shade-sm);
}

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

.srch-block input[type="text"] {
    flex: 1;
    min-width: 120px;
    padding: 9px 13px;
    border: 1px solid var(--clr-border2);
    border-radius: var(--radius-md);
    background: var(--clr-bg3);
    color: var(--clr-text);
    font-size: 14px;
    transition: var(--ease);
    outline: none;
}

.srch-block input[type="text"]:focus {
    border-color: var(--clr-accent);
    background: var(--clr-bg4);
    box-shadow: 0 0 0 3px rgba(139,92,246,0.18);
}

.srch-block input[type="text"]::placeholder {
    color: var(--clr-muted);
}

.srch-block button {
    padding: 9px 14px;
    border: none;
    border-radius: var(--radius-md);
    background: var(--grad-main);
    color: white;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--ease);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.2px;
}

.srch-block button:hover {
    box-shadow: 0 4px 14px rgba(139,92,246,0.45);
    filter: brightness(1.1);
}

.srch-block button:active {
    transform: scale(0.97);
}

/* ======== TAG CLOUD ======== */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    list-style: none;
    padding: 12px;
    background: var(--clr-surface);
    border-radius: var(--radius-lg);
    margin-bottom: 10px;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shade-sm);
}

.tag-item {
    padding: 5px 13px;
    background: rgba(139,92,246,0.1);
    border-radius: 15px;
    color: var(--clr-text2);
    text-decoration: none;
    font-size: 13px;
    transition: var(--ease);
    border: 1px solid var(--clr-border);
}

.tag-item:hover {
    background: var(--clr-accent);
    color: var(--clr-white);
    border-color: var(--clr-accent);
    box-shadow: 0 2px 10px rgba(139,92,246,0.3);
}

/* ======== SECTION BLOCKS ======== */
.media-block {
    margin-bottom: 16px;
}

.media-block-inner {
    /* wrapper div */
}

.block-head {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--clr-border);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.block-head::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--grad-main);
    border-radius: 2px;
}

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

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

.block-title a:hover {
    color: var(--clr-accent-bright);
}

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

.media-grid li {
    animation: fadeRise 0.5s ease both;
}

.media-grid li:nth-child(1) { animation-delay: 0.04s; }
.media-grid li:nth-child(2) { animation-delay: 0.08s; }
.media-grid li:nth-child(3) { animation-delay: 0.12s; }
.media-grid li:nth-child(4) { animation-delay: 0.16s; }
.media-grid li:nth-child(5) { animation-delay: 0.20s; }
.media-grid li:nth-child(6) { animation-delay: 0.24s; }
.media-grid li:nth-child(7) { animation-delay: 0.28s; }
.media-grid li:nth-child(8) { animation-delay: 0.32s; }

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

.media-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 600 / 350;
    background: var(--clr-surface2);
    border: 1px solid var(--clr-border);
    box-shadow: var(--shade-sm);
}

.media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.media-thumb:hover img {
    transform: scale(1.07);
}

.media-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-card);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-thumb:hover::after {
    opacity: 1;
}

.media-thumb::before {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    color: white;
    font-size: 28px;
    z-index: 2;
    opacity: 0;
    transition: var(--ease);
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.media-thumb:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.item-info {
    padding: 8px 2px 0;
}

.item-info h5 {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--clr-text2);
}

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

.item-info h5 a:hover {
    color: var(--clr-accent-bright);
}

/* ======== VIDEO PLAYER ======== */
.video-container {
    width: 100%;
    height: 600px;
    max-height: 600px;
    margin-bottom: 16px;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shade-lg), var(--shade-glow);
    position: relative;
    border: 1px solid var(--clr-border2);
}

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

.MacPlayer {
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: var(--shade-lg);
    border: 1px solid var(--clr-border2);
}

/* ======== TORRENT CAPTURES ======== */
.capture-zone {
    /* no special styles needed, full width */
}

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

.capture-zone .img_item {
    width: 100%;
}

/* ======== DOWNLOAD BUTTONS ======== */
.dl-row {
    text-align: center;
    padding: 14px;
    background: var(--clr-surface);
    border-radius: var(--radius-lg);
    margin: 14px 0;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shade-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
}

.dl-btn {
    display: inline-block;
    padding: 10px 22px;
    background: var(--grad-main);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    transition: var(--ease);
    margin: 0;
    border: none;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.dl-btn:hover {
    box-shadow: 0 4px 16px rgba(139,92,246,0.45);
    filter: brightness(1.1);
}

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

/* ======== SHARE SECTION ======== */
.link-share {
    background: var(--clr-surface);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin: 16px 0;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shade-sm);
    display: flex;
    align-items: center;
    gap: 10px;
}

.link-display {
    background: var(--clr-bg3);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 10px 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.share-label {
    font-weight: 700;
    font-size: 12px;
    color: var(--clr-accent-bright);
    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.4;
    overflow: hidden;
    text-overflow: ellipsis;
}

.copy-link-btn {
    padding: 10px 20px;
    background: var(--grad-main);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    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;
}

.copy-link-btn:hover {
    box-shadow: 0 4px 14px rgba(139,92,246,0.4);
    filter: brightness(1.1);
}

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

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

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

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

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

.a_page_info:hover {
    background: var(--clr-accent);
    border-color: var(--clr-accent);
    color: white;
    box-shadow: 0 2px 10px rgba(139,92,246,0.3);
}

.page_info_focus {
    background: var(--grad-main);
    color: white;
    border: 1px solid var(--clr-accent);
    cursor: default;
}

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

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

.site-footer a {
    color: var(--clr-muted);
    text-decoration: none;
    transition: var(--ease);
}

.site-footer a:hover {
    color: var(--clr-accent-bright);
}

.flink-area {
    padding: 10px;
    background: var(--clr-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
}

.flink-area dl {
    margin: 0;
}

.flink-area dd {
    display: inline-block;
    margin: 3px 4px;
}

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

.flink-area a:hover {
    color: var(--clr-accent-bright);
}

/* ======== MHLLESET ALIASES (template compatibility) ======== */
.mhlleset {
    margin-bottom: 16px;
}

.mhlleset-main {
    /* wrapper */
}

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

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

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

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

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

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

.thumbnail2-group li {
    animation: fadeRise 0.5s ease both;
}

.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; }

.thumbnail2 {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 600 / 350;
    background: var(--clr-surface2);
    border: 1px solid var(--clr-border);
    box-shadow: var(--shade-sm);
}

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

.thumbnail2:hover {
    box-shadow: 0 4px 18px rgba(139,92,246,0.25);
}

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

.thumbnail2::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-card);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

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

.video-info h5 a {
    color: var(--clr-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(--clr-accent-bright);
}

/* Search compatibility aliases */
.seach {
    background: var(--clr-surface);
    border-radius: var(--radius-lg);
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shade-sm);
}

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

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

.seach input[type="text"]:focus {
    border-color: var(--clr-accent);
    background: var(--clr-bg4);
    box-shadow: 0 0 0 3px rgba(139,92,246,0.18);
}

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

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

.seach button:hover {
    box-shadow: 0 4px 14px rgba(139,92,246,0.45);
    filter: brightness(1.1);
}

.grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    list-style: none;
    padding: 12px;
    background: var(--clr-surface);
    border-radius: var(--radius-lg);
    margin-bottom: 10px;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shade-sm);
}

.grid-item {
    padding: 5px 13px;
    background: rgba(139,92,246,0.1);
    border-radius: 15px;
    color: var(--clr-text2);
    text-decoration: none;
    font-size: 13px;
    transition: var(--ease);
    border: 1px solid var(--clr-border);
}

.grid-item:hover {
    background: var(--clr-accent);
    color: var(--clr-white);
    border-color: var(--clr-accent);
    box-shadow: 0 2px 10px rgba(139,92,246,0.3);
}

.nav-container {
    background: var(--clr-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shade-sm);
}

.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-accent-bright);
    white-space: nowrap;
    width: 10%;
    text-align: center;
    border-right: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 6px;
    flex-shrink: 0;
    background: rgba(139,92,246,0.08);
}

.nav-row .nav-links {
    width: 90%;
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    padding: 9px 8px;
    align-items: center;
}

.nav-row .nav-links a {
    display: inline-block;
    color: var(--clr-text2);
    text-decoration: none;
    padding: 5px 4px;
    border-radius: var(--radius-sm);
    transition: var(--ease);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--clr-border);
    white-space: nowrap;
    text-align: center;
    font-size: 13px;
    flex: 1 1 0;
    min-width: 0;
}

.nav-row .nav-links a:hover {
    background: var(--clr-accent);
    color: var(--clr-white);
    border-color: var(--clr-accent);
    box-shadow: 0 2px 10px rgba(139,92,246,0.35);
}

.nav-row .nav-links a.active {
    background: var(--grad-main);
    color: var(--clr-white);
    border-color: var(--clr-accent);
    font-weight: 600;
}

/* Download button alias */
.download {
    text-align: center;
    padding: 14px;
    background: var(--clr-surface);
    border-radius: var(--radius-lg);
    margin: 14px 0;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shade-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-main);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    transition: var(--ease);
    margin: 0;
    border: none;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
}

.down_btn:hover {
    box-shadow: 0 4px 16px rgba(139,92,246,0.45);
    filter: brightness(1.1);
}

/* Share section alias */
.share-section {
    background: var(--clr-surface);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin: 16px 0;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shade-sm);
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-url-display {
    background: var(--clr-bg3);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 10px 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.share-copy-btn {
    padding: 10px 20px;
    background: var(--grad-main);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    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 {
    box-shadow: 0 4px 14px rgba(139,92,246,0.4);
    filter: brightness(1.1);
}

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

/* txtguanggao2 alias */
.txtguanggao2 {
    padding: 10px;
    background: var(--clr-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
}

.txtguanggao2 dl { margin: 0; }

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

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

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

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

/* ======== CONTAINER / CONTENT aliases ======== */
.container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 14px;
}

.content {
    padding: 8px 0;
}

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

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

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

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

.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; }
}

/* ======== RESPONSIVE: TABLET 769px+ PC layout refinements ======== */
@media (min-width: 769px) {
    .thumbnail2-group {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ======== RESPONSIVE: MOBILE <= 768px ======== */
@media (max-width: 768px) {
    .container, .wrap {
        padding: 0 8px;
    }

    .content, .sect {
        padding: 6px 0;
    }

    .site-header {
        padding: 0.5rem 0;
    }

    .brand-wrap {
        gap: 10px;
        flex-wrap: wrap;
    }

    .brand-title {
        font-size: 20px;
    }

    .brand-sep {
        display: none;
    }

    .addr-badge {
        padding: 4px 10px;
        gap: 5px;
    }

    .addr-tag {
        font-size: 10px;
    }

    .addr-val {
        font-size: 14px;
    }

    /* Nav: label 15%, links 85%, 4 per row */
    .nav-row .nav-label,
    .cat-zone {
        width: 15%;
        min-width: 15%;
        font-size: 12px;
        padding: 8px 2px;
        text-align: center;
        white-space: normal;
        word-break: break-all;
        line-height: 1.3;
        letter-spacing: 0;
    }

    .nav-row .nav-links,
    .cat-links {
        width: 85%;
        flex-wrap: wrap;
        gap: 3px;
        padding: 6px 4px;
    }

    .nav-row .nav-links a,
    .cat-links a {
        font-size: 12px;
        padding: 5px 2px;
        width: calc((100% - 9px) / 4);
        flex: none;
        flex-shrink: 0;
        flex-grow: 0;
        text-align: center;
    }

    /* Thumbnail grid: 2 per row on mobile */
    .thumbnail2-group,
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Search: all in one row, no wrap */
    .seach form,
    .srch-block form {
        flex-wrap: nowrap;
        gap: 5px;
    }

    .seach input[type="text"],
    .srch-block input[type="text"] {
        min-width: 80px;
        padding: 8px 10px;
        font-size: 13px;
    }

    .seach button,
    .srch-block button {
        padding: 8px 9px;
        font-size: 12px;
    }

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

    .mhlleset {
        margin-bottom: 12px;
    }

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

    .grid-container, .tag-cloud {
        padding: 9px;
        gap: 5px;
    }

    .grid-item, .tag-item {
        padding: 4px 10px;
        font-size: 12px;
    }

    .down_btn, .dl-btn {
        padding: 9px 14px;
        font-size: 13px;
    }

    .download, .dl-row {
        padding: 10px 6px;
        gap: 7px;
        flex-wrap: nowrap;
    }

    .share-section, .link-share {
        padding: 10px;
        margin: 12px 0;
        gap: 7px;
        flex-wrap: nowrap;
    }

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

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

    .share-copy-btn, .copy-link-btn {
        padding: 8px 11px;
        font-size: 12px;
        flex-shrink: 0;
    }

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

    .pg-nav, .page_info_div {
        padding: 13px 0;
        gap: 4px;
    }

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

    .site-footer { padding: 18px 0; margin-top: 18px; }

    .media-block { margin-bottom: 12px; }
}

/* ======== RESPONSIVE: SMALL MOBILE <= 480px ======== */
@media (max-width: 480px) {
    .brand-title {
        font-size: 18px;
    }

    .addr-tag { font-size: 9px; }
    .addr-val  { font-size: 13px; }

    .nav-row .nav-label,
    .cat-zone {
        width: 15%;
        min-width: 15%;
        font-size: 12px;
        padding: 6px 2px;
        white-space: normal;
        word-break: break-all;
        line-height: 1.3;
    }

    .nav-row .nav-links a,
    .cat-links a {
        font-size: 12px;
        padding: 4px 1px;
        width: calc((100% - 9px) / 4);
        flex: none;
    }

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

    .seach input[type="text"],
    .srch-block input[type="text"] {
        min-width: 60px;
        padding: 7px 8px;
        font-size: 12px;
    }

    .seach button,
    .srch-block button {
        padding: 7px 7px;
        font-size: 11px;
    }

    .video-container {
        height: 56.25vw;
        max-height: 280px;
    }

    .item-info h5, .video-info h5 {
        font-size: 12px;
    }

    .mhlleset-title, .block-title {
        font-size: 15px;
    }

    .down_btn, .dl-btn {
        padding: 8px 10px;
        font-size: 12px;
    }

    .share-section, .link-share {
        padding: 8px;
        gap: 5px;
    }
}
