/* Finance-News Portal — Deep Blue Nav · White Body · Blue Accent */

:root {
    --jw-navy:      #1a3a6b;
    --jw-navy-dark: #122850;
    --jw-navy-mid:  #1f4a88;
    --jw-blue:      #1677cc;
    --jw-blue2:     #0e60b8;
    --jw-blue-lt:   #e8f2fc;
    --jw-red:       #d0021b;
    --jw-white:     #ffffff;
    --jw-body:      #f2f4f7;
    --jw-card:      #ffffff;
    --jw-text:      #1a1a2a;
    --jw-text-soft: #4a5568;
    --jw-muted:     #8899aa;
    --jw-border:    #dde3ec;
    --jw-border-lt: #eef1f6;
    --jw-tag-bg:    #eef2f8;
    --jw-radius:    6px;
    --jw-radius-sm: 4px;
    --jw-pill:      999px;
    --jw-shadow:    0 1px 6px rgba(26,58,107,0.09);
    --jw-shadow-md: 0 4px 16px rgba(26,58,107,0.13);
    --jw-shadow-hover: 0 6px 22px rgba(26,58,107,0.18);
    --jw-trans:     all 0.2s ease;
    --jw-font:      'Noto Sans SC','PingFang SC','Microsoft YaHei','Helvetica Neue',sans-serif;
}

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

body {
    font-family: var(--jw-font);
    background: var(--jw-body);
    color: var(--jw-text);
    font-size: 14px;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════════════════════
   HEADER — deep blue band, NOT sticky/fixed
   ══════════════════════════════════════════ */
.header {
    background: var(--jw-navy);
    padding: 0;
    border-bottom: 2px solid var(--jw-blue);
    /* NOT position:fixed/sticky */
}

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

.site-branding {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px 0;
}

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

.site-name {
    font-size: 24px;
    font-weight: 900;
    color: var(--jw-white);
    letter-spacing: 0.3px;
    font-family: var(--jw-font);
    line-height: 1;
}

.domain-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--jw-navy-dark);
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: var(--jw-radius);
    padding: 5px 14px;
}

.domain-label {
    font-size: 10px;
    font-weight: 800;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.domain-url {
    font-size: 13px;
    font-weight: 700;
    color: var(--jw-white);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.3px;
}

/* ══════════════════════════════════════════
   LAYOUT
   ══════════════════════════════════════════ */
.container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 16px;
}

.content { padding: 12px 0; }

/* ══════════════════════════════════════════
   CATEGORY NAV
   ══════════════════════════════════════════ */
.nav-container {
    background: var(--jw-card);
    border-radius: var(--jw-radius);
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: var(--jw-shadow);
    border: 1px solid var(--jw-border);
}

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

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

.nav-row .nav-label {
    width: 10%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: var(--jw-white);
    background: var(--jw-navy);
    padding: 10px 4px;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.3px;
    border-right: 2px solid var(--jw-blue);
}

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

.nav-row .nav-links a {
    display: inline-block;
    text-decoration: none;
    color: var(--jw-text-soft);
    font-size: 12px;
    font-weight: 600;
    background: var(--jw-tag-bg);
    border: 1px solid var(--jw-border);
    border-radius: var(--jw-radius-sm);
    padding: 4px 4px;
    text-align: center;
    white-space: nowrap;
    transition: var(--jw-trans);
    width: calc((100% - 35px) / 8);
    flex-shrink: 0;
    flex-grow: 0;
}

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

.nav-row .nav-links a.active {
    background: var(--jw-blue);
    color: var(--jw-white);
    border-color: var(--jw-blue);
    font-weight: 800;
}

/* ══════════════════════════════════════════
   SEARCH BAR
   ══════════════════════════════════════════ */
.seach {
    background: var(--jw-card);
    border: 1px solid var(--jw-border);
    border-radius: var(--jw-radius);
    padding: 12px 14px;
    margin-bottom: 12px;
    box-shadow: var(--jw-shadow);
}

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

.seach input[type="text"] {
    flex: 1;
    min-width: 120px;
    padding: 8px 14px;
    border: 1px solid var(--jw-border);
    border-radius: var(--jw-radius-sm);
    font-size: 13px;
    color: var(--jw-text);
    background: var(--jw-body);
    outline: none;
    transition: var(--jw-trans);
    font-family: var(--jw-font);
}

.seach input[type="text"]:focus {
    border-color: var(--jw-blue);
    background: var(--jw-white);
    box-shadow: 0 0 0 3px rgba(22,119,204,0.12);
}

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

.seach button {
    padding: 8px 16px;
    border: none;
    border-radius: var(--jw-radius-sm);
    background: var(--jw-blue);
    color: var(--jw-white);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: var(--jw-trans);
    font-family: var(--jw-font);
    letter-spacing: 0.3px;
}

.seach button:hover {
    background: var(--jw-blue2);
    box-shadow: 0 3px 10px rgba(22,119,204,0.3);
}

/* ══════════════════════════════════════════
   HOT TAG CLOUD
   ══════════════════════════════════════════ */
.grid-container {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 12px 14px;
    background: var(--jw-card);
    border: 1px solid var(--jw-border);
    border-radius: var(--jw-radius);
    margin-bottom: 12px;
    box-shadow: var(--jw-shadow);
}

.grid-item {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--jw-radius-sm);
    border: 1px solid var(--jw-border);
    background: var(--jw-tag-bg);
    color: var(--jw-text-soft);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--jw-trans);
}

.grid-item:hover {
    background: var(--jw-blue-lt);
    color: var(--jw-blue);
    border-color: var(--jw-blue);
}

/* ══════════════════════════════════════════
   SECTION HEADING
   ══════════════════════════════════════════ */
.mhlleset { margin-bottom: 22px; }
.mhlleset-main { width: 100%; }

.mhlleset-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 9px;
    margin-bottom: 14px;
    border-bottom: 2px solid var(--jw-navy);
    position: relative;
}

.mhlleset-heading::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 56px;
    height: 2px;
    background: var(--jw-blue);
}

.mhlleset-title {
    font-size: 18px;
    font-weight: 900;
    color: var(--jw-navy);
    letter-spacing: 0.2px;
    margin: 0;
    font-family: var(--jw-font);
}

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

.mhlleset-title a:hover { color: var(--jw-blue); }

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

.thumbnail2-group li { animation: newsIn 0.42s ease backwards; }
.thumbnail2-group li:nth-child(1) { animation-delay: 0.03s; }
.thumbnail2-group li:nth-child(2) { animation-delay: 0.07s; }
.thumbnail2-group li:nth-child(3) { animation-delay: 0.11s; }
.thumbnail2-group li:nth-child(4) { animation-delay: 0.15s; }
.thumbnail2-group li:nth-child(5) { animation-delay: 0.19s; }
.thumbnail2-group li:nth-child(6) { animation-delay: 0.22s; }
.thumbnail2-group li:nth-child(7) { animation-delay: 0.25s; }
.thumbnail2-group li:nth-child(8) { animation-delay: 0.28s; }

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

.thumbnail2 {
    display: block;
    overflow: hidden;
    border-radius: var(--jw-radius);
    aspect-ratio: 600 / 350;
    background: var(--jw-tag-bg);
    border: 1px solid var(--jw-border);
    position: relative;
    transition: var(--jw-trans);
}

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

.thumbnail2:hover {
    box-shadow: var(--jw-shadow-hover);
    border-color: var(--jw-blue);
}

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

.thumbnail2::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18,40,80,0.52) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.28s ease;
}

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

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

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

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

.video-info h5 a:hover { color: var(--jw-blue); }

/* ══════════════════════════════════════════
   VIDEO PLAYER
   ══════════════════════════════════════════ */
.MacPlayer {
    background: #000;
    border-radius: var(--jw-radius);
    overflow: hidden;
    margin-bottom: 14px;
}

/* ══════════════════════════════════════════
   TORRENT CAPTURE
   ══════════════════════════════════════════ */
.torrent-capture-grid { }

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

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

/* ══════════════════════════════════════════
   DOWNLOAD BUTTONS
   ══════════════════════════════════════════ */
.download {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 16px;
    margin: 14px 0;
    background: var(--jw-card);
    border: 1px solid var(--jw-border);
    border-radius: var(--jw-radius);
    box-shadow: var(--jw-shadow);
}

.down_btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--jw-blue);
    color: var(--jw-white);
    text-decoration: none;
    border-radius: var(--jw-radius-sm);
    font-size: 13px;
    font-weight: 700;
    border: 2px solid var(--jw-blue);
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    transition: var(--jw-trans);
    font-family: var(--jw-font);
    letter-spacing: 0.3px;
}

.down_btn:hover {
    background: var(--jw-blue2);
    border-color: var(--jw-blue2);
    box-shadow: 0 4px 14px rgba(22,119,204,0.35);
}

/* ══════════════════════════════════════════
   SHARE BOX
   ══════════════════════════════════════════ */
.share-section {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    margin: 14px 0;
    background: var(--jw-card);
    border: 1px solid var(--jw-border);
    border-radius: var(--jw-radius);
    box-shadow: var(--jw-shadow);
}

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

.share-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--jw-navy);
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

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

.share-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 18px;
    background: var(--jw-blue);
    color: var(--jw-white);
    border: 2px solid var(--jw-blue);
    border-radius: var(--jw-radius-sm);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: var(--jw-trans);
    font-family: var(--jw-font);
}

.share-copy-btn:hover { background: var(--jw-blue2); border-color: var(--jw-blue2); }
.share-copy-btn:active { transform: scale(0.97); }
.share-icon { font-size: 14px; }

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

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

.a_page_info {
    background: var(--jw-card);
    color: var(--jw-text-soft);
    border: 1px solid var(--jw-border);
}

.a_page_info:hover {
    background: var(--jw-blue-lt);
    color: var(--jw-blue);
    border-color: var(--jw-blue);
}

.page_info_focus {
    background: var(--jw-blue);
    color: var(--jw-white);
    border: 1px solid var(--jw-blue);
    cursor: default;
    font-weight: 800;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
    background: var(--jw-navy-dark);
    border-top: 3px solid var(--jw-blue);
    padding: 22px 0 14px;
    margin-top: 28px;
    text-align: center;
}

.footer p { color: rgba(255,255,255,0.5); font-size: 12px; margin: 6px 0; }
.footer a { color: rgba(255,255,255,0.5); text-decoration: none; transition: var(--jw-trans); }
.footer a:hover { color: var(--jw-white); }

.txtguanggao2 {
    padding: 12px 14px;
    background: var(--jw-card);
    border: 1px solid var(--jw-border);
    border-radius: var(--jw-radius);
}

.txtguanggao2 dl { margin: 0; }
.txtguanggao2 dd { display: inline-block; margin: 4px; }
.txtguanggao2 a { color: var(--jw-text-soft); text-decoration: none; font-size: 13px; transition: var(--jw-trans); padding: 3px 8px; }
.txtguanggao2 a:hover { color: var(--jw-blue); }
.pd5 { padding: 4px 8px; }

/* ══════════════════════════════════════════
   VISIBILITY
   ══════════════════════════════════════════ */
.hide_mobile { display: block; }
.hide_pc { display: block; }

/* ══════════════════════════════════════════
   MISC
   ══════════════════════════════════════════ */
img[data-original] { background: var(--jw-tag-bg); }
.clearfix::after { content: ""; display: table; clear: both; }

/* ══════════════════════════════════════════
   RESPONSIVE — 768px
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
    .container { padding: 0 10px; }
    .content { padding: 8px 0; }

    .site-name { font-size: 20px; }
    .domain-url { font-size: 12px; }

    /* Nav mobile: narrow label, bigger link text, 2×4 grid */
    .nav-row .nav-label {
        width: 13%;
        font-size: 12px;
        padding: 8px 2px;
    }

    .nav-row .nav-links {
        width: 87%;
        font-size: 14px;
        gap: 5px;
        padding: 7px 5px;
    }

    .nav-row .nav-links a {
        font-size: 14px;
        padding: 6px 2px;
        width: calc((100% - 15px) / 4);
        flex-shrink: 0;
        flex-grow: 0;
        border-radius: var(--jw-radius-sm);
    }

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

    .seach { padding: 10px; }
    .seach input[type="text"] { padding: 8px 12px; }
    .seach button { padding: 8px 10px; font-size: 11px; }

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

    .share-section { padding: 10px 12px; gap: 8px; }
    .share-copy-btn { padding: 8px 12px; font-size: 11px; }
    .share-url { font-size: 11px; }

    .down_btn { padding: 9px 14px; font-size: 12px; }
    .download { padding: 12px 8px; gap: 8px; }

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

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

    .hide_mobile { display: none !important; }
}

@media (max-width: 480px) {
    .site-name { font-size: 18px; }

    .nav-row .nav-label { width: 14%; font-size: 11px; padding: 6px 2px; }
    .nav-row .nav-links { width: 86%; font-size: 13px; gap: 4px; padding: 6px 4px; }
    .nav-row .nav-links a { font-size: 13px; padding: 5px 1px; width: calc((100% - 12px) / 4); }

    .thumbnail2-group { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .mhlleset-title { font-size: 14px; }
    .down_btn { padding: 8px 10px; font-size: 11px; }
    .download { gap: 6px; }
}

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