/*
 * Rabbit Office Portal Style
 * �ο� mobanbus_dmanv3 �Ż��ṹ + gameshare.org �Ӿ���ʽ
 * ��������Ұ˻õ�Ƭ + �·��ֻ���Ϸ��Ƭ
 * �����°��Ҳ��������ɫ #4080ff �����ɫ��
 */

/* ====== ���� Discuz DIY ������Ĭ�ϱ߿�/����/��Ӱ ====== */
.rabbit_slider .frame,
.rabbit_slider .column,
.rabbit_slider .block,
.rabbit_slider .block.move-span,
.gs_main .frame,
.gs_main .column,
.gs_main .block,
.gs_main .block.move-span,
.gs_sidebar .frame,
.gs_sidebar .column,
.gs_sidebar .block,
.gs_sidebar .block.move-span {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    border-radius: 0;
}

/* ====== �Ƴ�����ģ�����ӵ�Ĭ�� hover �»��� ====== */
.rabbit_slider a, .rabbit_slider a:hover,
.gs_main a, .gs_main a:hover,
.gs_sidebar a, .gs_sidebar a:hover {
    text-decoration: none;
}

/* ===== �����õ�Ƭ������ʽ ===== */
.bus_slider.bus_sd.rabbit_slider {
    width: 100%;
    margin: 0 auto 20px;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
}

/* ====== GameShare ͬ����õ�Ƭ���񲼾� ====== */
.gs_hero {
    display: grid;
    grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 0.75fr));
    grid-template-rows: repeat(2, 1fr);
    gap: 6px;
    width: 100%;
    height: 340px;
    border-radius: 10px;
    overflow: hidden;
}

.gs_hero_card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(135deg, #e8f0ff 0%, #f0e8ff 100%);
    text-decoration: none;
}
.gs_hero_card:hover {
    text-decoration: none;
}
.gs_hero_card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
    border-radius: 10px;
}
.gs_hero_card:hover img {
    transform: scale(1.05);
}

.gs_hero_mask {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.4) 55%, rgba(0,0,0,0) 100%);
    border-radius: 0 0 10px 10px;
}
.gs_hero_title {
    margin: 0;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- ��1�ſ�Ƭ��2����ʾΪ��ͼ ---------- */
.gs_hero > .gs_hero_card:first-child {
    grid-column: 1 / 2;
    grid-row: 1 / span 2;
    min-height: 0;
}
.gs_hero > .gs_hero_card:first-child img {
    height: 100%;
    width: 100%;
}
.gs_hero > .gs_hero_card:first-child .gs_hero_mask {
    padding: 16px 20px 20px;
    padding-top: 60px;
}
.gs_hero > .gs_hero_card:first-child .gs_hero_title {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: clamp(16px, 1.5vw, 24px);
    font-weight: 700;
    line-height: 1.3;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

/* ---------- ����8��Сͼ4��x2������ ---------- */
.gs_hero > .gs_hero_card:not(:first-child) {
    min-height: 0;
}
.gs_hero > .gs_hero_card:not(:first-child) .gs_hero_mask {
    padding: 8px 10px 10px;
    padding-top: 28px;
}
.gs_hero > .gs_hero_card:not(:first-child) .gs_hero_title {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

/* ---------- ��Ӧʽ�ϵ� ---------- */
@media screen and (max-width: 1024px) {
    .gs_hero {
        grid-template-columns: minmax(0, 1fr) repeat(4, minmax(0, 1fr));
        height: 300px;
    }
}
@media screen and (max-width: 768px) {
    .gs_hero {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto repeat(4, 1fr);
        gap: 8px;
        height: auto;
    }
    .gs_hero > .gs_hero_card:first-child {
        grid-column: 1 / -1;
        grid-row: auto;
        aspect-ratio: 16 / 9;
    }
    .gs_hero > .gs_hero_card:not(:first-child) {
        aspect-ratio: 4 / 3;
    }
}

/* ====== ˫������ - �������� + �Ҳ���� ====== */
.gs_two_col {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin: 24px auto 0;
}
.gs_main {
    flex: 1 1 auto;
    min-width: 0;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}
.gs_sidebar {
    width: 300px;
    flex: 0 0 300px;
    min-width: 0;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    overflow: visible;
    border: 0;
}

/* ====== ��������ʽ ====== */
.gs_section_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid #eef2f8;
}
.gs_section_title_main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.gs_title_bar {
    display: inline-block;
    width: 4px;
    height: 20px;
    border-radius: 2px;
    background: linear-gradient(180deg, #4080ff 0%, #4080ff 100%);
}
.gs_title_text {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: 0.3px;
}
.gs_section_more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #6b7c93;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 16px;
    background: #f4f7fc;
    transition: color .2s ease;
}
.gs_section_more:hover {
    text-decoration: none;
    color: #6b7c93;
    background: #f4f7fc;
}

/* ====== ͨ�� SVG ͼ����ʽ ====== */
.gs_icon {
    width: 12px;
    height: 12px;
    display: inline-block;
    vertical-align: -1px;
    margin-right: 3px;
    flex-shrink: 0;
}

/* ====== �ֻ���Ϸ��Ƭ���񣨲ο� gameshare.org ��ʽ�� ====== */
.gs_card_grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.gs_game_card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease;
}
.gs_game_card:hover {
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(64, 128, 255, 0.12);
}

/* ����16:10 ���� */
.gs_card_cover {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f0ff 0%, #f0e8ff 100%);
}
.gs_card_cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.gs_game_card:hover .gs_card_cover img {
    transform: scale(1.06);
}

/* ��Ƭ��ǩ�� */
.gs_card_tags {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 16px 8px 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0) 100%);
}
.gs_card_tag {
    display: inline-block;
    font-size: 11px;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 10px;
    font-weight: 600;
    color: #fff;
    background: rgba(64, 128, 255, 0.7);
    backdrop-filter: blur(4px);
}

/* ��Ƭ��Ϣ�� */
.gs_card_info {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.gs_card_title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    color: #2c3e50;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .18s ease;
}
.gs_game_card:hover .gs_card_title {
    color: #4080ff;
}
.gs_card_summary {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #8a98ab;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gs_card_meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 6px;
    font-size: 11.5px;
    color: #8a98ab;
}
.gs_card_stats {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    color: #8a98ab;
}
.gs_card_stats svg {
    color: #b5bfcd;
}

/* ====== �����°� Widget��GameShare ͬ� ====== */
.gs_rank_widget {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #eef2f8;
    box-shadow: 0 2px 12px rgba(64, 128, 255, 0.05);
}

.gs_rank_head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: 0.3px;
    border-bottom: 1px solid #eef2f8;
}
.gs_rank_svg {
    width: 15px;
    height: 15px;
    color: #4080ff;
    flex-shrink: 0;
}

.gs_rank_body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
}

.gs_rank_item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: background .18s ease;
    min-height: 68px;
}
.gs_rank_item:hover {
    text-decoration: none;
    background: #f3f1fc;
}

.gs_rank_thumb {
    flex: 0 0 96px;
    width: 96px;
    height: 64px;
    overflow: hidden;
    border-radius: 8px;
    border: 0;
    flex-shrink: 0;
    background: linear-gradient(135deg, #e8f0ff 0%, #f0e8ff 100%);
}
.gs_rank_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .36s ease;
}
.gs_rank_item:hover .gs_rank_thumb img {
    transform: scale(1.08);
}

.gs_rank_content {
    flex: 1 1 auto;
    min-width: 0;
    z-index: 2;
    padding-right: 4px;
}
.gs_rank_title {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    color: #2c3e50;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .18s ease;
}
.gs_rank_item:hover .gs_rank_title {
    color: #4080ff;
}

.gs_rank_meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
    font-size: 10.5px;
    color: #8a98ab;
}
.gs_rank_date,
.gs_rank_views {
    display: inline-flex;
    align-items: center;
}
.gs_rank_date svg,
.gs_rank_views svg {
    color: #b5bfcd;
}

/* ��������ˮӡ�����б�壩 */
.gs_rank_watermark {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 34px;
    font-weight: 700;
    font-style: italic;
    color: rgba(200, 210, 226, 0.45);
    user-select: none;
    pointer-events: none;
    z-index: 1;
    line-height: 1;
    transition: color .2s ease;
}
.gs_rank_item:hover .gs_rank_watermark {
    color: rgba(64, 128, 255, 0.1);
}

/* ====== ��Ӧʽ ====== */
@media screen and (max-width: 1200px) {
    .gs_card_grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media screen and (max-width: 1024px) {
    .gs_hero {
        height: 280px;
    }
    .gs_sidebar {
        width: 260px;
        flex: 0 0 260px;
    }
    .gs_card_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
}
@media screen and (max-width: 768px) {
    .gs_two_col {
        flex-direction: column;
        gap: 16px;
    }
    .gs_main {
        padding: 0;
    }
    .gs_sidebar {
        width: 100%;
        flex: 1 1 auto;
    }
    .gs_title_text {
        font-size: 16px;
    }
    .gs_title_bar {
        height: 16px;
    }
    .gs_section_more {
        padding: 3px 10px;
        font-size: 12px;
    }

    .gs_card_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .gs_card_title {
        font-size: 13px;
    }
    .gs_card_summary {
        font-size: 11px;
    }

    .gs_rank_head {
        padding: 10px 12px;
        font-size: 12px;
    }
    .gs_rank_watermark {
        font-size: 28px;
    }
    .gs_rank_thumb {
        flex: 0 0 84px;
        width: 84px;
        height: 56px;
    }
}

/* ===== ������ ===== */
.clear { clear: both; }
.mt20 { margin-top: 20px; }
.pd10 { padding: 10px; }
.bus_w100 { width: 100%; }
.bus_fl { float: left; }
.ml20 { margin-left: 20px; }
/* ===================================================================
   GAME DOWNLOAD DETAIL PAGE (portal/view.htm & view_15.htm)
   - 2-column main + sidebar
   - Purple gradient page header / media carousel / info grid card /
     download CTA card with Baidu pan validation / related links / comments
   =================================================================== */

/* ---------- [Layout wrapper] ---------- */
.gs_view_wrap { width: 1200px; margin: 0 auto; display: grid;
    grid-template-columns: minmax(0,1fr) 540px; gap: 16px; align-items: start; }
.gs_view_main { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.gs_view_side { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 16px; }

/* ---------- [1] Purple gradient page header (breadcrumb + title + meta) ---------- */
.gs_page_head {
    background: linear-gradient(135deg,#4080ff 0%,#5c9fff 45%,#7eb3ff 100%);
    color:#fff; padding: 28px 0 24px 0; margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(64,128,255,.18);
}
.gs_page_head_inner { max-width: 1200px; margin: 0 auto; padding: 0 10px; }
.gs_breadcrumb { font-size: 13px; color: rgba(255,255,255,.88); margin-bottom: 14px; line-height: 1.6; }
.gs_breadcrumb a { color: rgba(255,255,255,.94); text-decoration: none; transition: opacity .2s; }
.gs_breadcrumb a:hover { color:#fff; text-decoration: none; opacity: .9; }
.gs_breadcrumb .gs_sep { margin: 0 6px; opacity:.7; }
.gs_breadcrumb .gs_cur { opacity: .92; font-weight: 500; }
.gs_game_title {
    font-size: 28px; font-weight: 700; line-height: 1.3; color:#fff; margin: 0 0 12px;
    letter-spacing: .2px; text-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.gs_game_meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0; font-size: 14px; }
.gs_game_meta > * { vertical-align: middle; }
.gs_game_meta .gs_mini_icon {
    width: 14px; height:14px; stroke-width:2; display:inline-block; vertical-align:-2px; margin-right:4px;
}
.gs_game_meta .gs_date, .gs_game_meta .gs_author, .gs_game_meta .gs_views, .gs_game_meta .gs_comments {
    display: inline-flex; align-items: center;
}
.gs_game_meta a { color: #fff; text-decoration: none; }
.gs_game_meta a:hover { color: #ffe8a3; text-decoration: none; }
.gs_pipe { padding: 0 10px; color: rgba(255,255,255,.5); }
.gs_edit_btn { color: #fff; text-decoration: none; opacity: .92; }
.gs_edit_btn:hover { color:#fde68a; text-decoration: none; }

/* ---------- [Generic purple card heads] ---------- */
.gs_card_head { display:flex; align-items:center; padding:14px 20px; border-bottom:1px solid #eef0f5; margin-bottom:16px; }
.gs_card_head h3 { margin:0; font-size:17px; font-weight:700; color:#1f2430; }
.gs_head_bar { display:inline-block; width:4px; height:18px; border-radius:2px; background:linear-gradient(180deg,#4080ff,#7eb3ff); margin-right:10px; }

/* ---------- [2] Slideshow (left preview + right thumbnails) ----------
 * No separate container — .gs_sc_wrap is transparent, no background/border.
 * Only the preview area (.gs_sc_main) has dark bg for video/image display.
 */
.gs_sc_wrap {
    display: flex;
    gap: 6px;
    margin: 8px 0;
}
.gs_sc_main {
    flex: 1;
    min-width: 0;
    height: 480px;
    position: relative;
    overflow: hidden;
    background: transparent;
}
.gs_sc_item {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.gs_sc_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 0;
    margin: 0;
    padding: 0;
}
.gs_sc_item video,
.gs_sc_item iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border: 0;
    margin: 0;
    padding: 0;
    background: #000;
}
/* Right: vertical thumbnail column */
.gs_sc_list {
    width: 84px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    overflow-x: hidden;
}
.gs_sc_list::-webkit-scrollbar { width: 3px; }
.gs_sc_list::-webkit-scrollbar-thumb { background: rgba(64,128,255,.3); border-radius: 2px; }
.gs_sc_tbox {
    width: 84px;
    height: 50px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    background: #f1f5f9;
    position: relative;
    flex-shrink: 0;
    transition: border-color .2s;
}
.gs_sc_tbox img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gs_sc_tbox img,
.gs_sc_tbox .gs_sc_tri,
.gs_sc_tbox .gs_sc_vlabel { pointer-events: none; }
.gs_sc_tbox.gs_sc_on { border-color: #4080ff; box-shadow: 0 0 6px rgba(64,128,255,.3); }
.gs_sc_tbox.gs_sc_vid { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); }
.gs_sc_tri {
    position: absolute; top: 50%; left: 38%; transform: translate(-50%, -50%);
    width: 0; height: 0;
    border-style: solid; border-width: 8px 0 8px 13px;
    border-color: transparent transparent transparent rgba(255,255,255,.9);
}
.gs_sc_vlabel {
    position: absolute; right: 4px; bottom: 2px;
    font-size: 10px; color: rgba(255,255,255,.9);
    line-height: 1; font-weight: 600;
}
.gs_sc_tbox.gs_sc_vid.gs_sc_on .gs_sc_tri {
    border-color: transparent transparent transparent #4080ff;
}
@media (max-width: 768px) {
    .gs_sc_main { height: 320px; }
    .gs_sc_list { width: 64px; }
    .gs_sc_tbox { width: 64px; height: 40px; }
}

/* ---------- [3] Game info grid card + Download CTA ---------- */
.gs_info_card { background:#fff; border-radius:14px; padding:0; box-shadow: 0 2px 10px rgba(15,23,42,.05); }
.gs_info_card_head { margin-bottom: 16px; position: relative; padding-bottom: 14px; border-bottom: 1px dashed #eef0f5; }
.gs_info_title_tag {
    display:inline-block; position:absolute; top:2px; right:0; font-size:11px; color:#4080ff;
    padding:3px 10px; border:1px solid rgba(64,128,255,.25); border-radius:999px; letter-spacing: .5px; text-transform: uppercase;
}
.gs_info_title { margin:0; font-size:22px; font-weight:700; color:#111827; line-height:1.35; padding-right: 120px; }
.gs_info_grid {
    display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px 16px;
    padding: 4px 0 18px; border-bottom: 1px dashed #eef0f5; margin-bottom: 22px;
}
.gs_info_cell {
    display: flex; flex-direction: column; gap: 6px;
    padding: 10px 12px; background: #f5f6fb; border-radius: 10px; min-height: 60px; justify-content: center;
}
.gs_info_cell[colspan="2"] { grid-column: span 2; }
.gs_info_cell label { font-size: 12px; color: #6b7280; font-weight: 500; letter-spacing: .1px; }
.gs_info_cell > span:last-child { font-size: 15px; color: #111827; font-weight: 600; line-height: 1.3; word-break: break-all; }
.gs_badge_cell { flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; }
.gs_badge_cell label { margin: 0; }
.gs_badge {
    display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:600; padding:5px 11px;
    border-radius:999px; letter-spacing: .2px;
}
.gs_badge::before { content:""; width:6px; height:6px; border-radius:50%; display:inline-block; }
.gs_badge_ok { background: #ecfdf5; color:#059669; }
.gs_badge_ok::before { background:#10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.15); }
.gs_badge_warn { background: #fffbeb; color:#b45309; }
.gs_badge_warn::before { background:#f59e0b; }
.gs_badge_err { background: #fef2f2; color:#b91c1c; }
.gs_badge_err::before { background:#ef4444; }

/* --- Download CTA block --- */
.gs_download_card {
    background: linear-gradient(135deg,#f0f7ff 0%,#eef5ff 100%);
    border: 1px solid #ddd6fe; border-radius: 14px; padding: 16px 20px;
}
.gs_dl_head { display:flex; align-items:center; gap:10px; margin-bottom: 16px; }
.gs_dl_head h3 { margin:0; font-size:18px; font-weight:700; color:#1f2937; }
.gs_dl_icon { width:24px; height:24px; color:#4080ff; stroke-width:2.2; }
.gs_dl_list { display:flex; flex-direction:column; gap:14px; }
.gs_dl_entry {
    background:#fff; border-radius:12px; padding:16px 18px; border:1px solid #ede9fe;
    display: grid; grid-template-columns: 1fr; gap: 14px; transition: box-shadow .2s, transform .2s;
}
.gs_dl_entry:hover { box-shadow: 0 8px 24px rgba(64,128,255,.15); transform: translateY(-1px); }
.gs_dl_entry_row1 {
    display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px; align-items: center;
}
.gs_dl_host { display:flex; align-items:center; gap:12px; min-width:0; }
.gs_dl_host_logo {
    width:42px; height:42px; border-radius:10px; background:linear-gradient(135deg,#3b82f6,#4080ff);
    display:flex; align-items:center; justify-content:center; color:#fff; font-weight:800; font-size:16px; flex-shrink:0;
}
.gs_dl_host_logo.gs_host_baidu { background: linear-gradient(135deg,#2563eb,#1d4ed8); }
.gs_dl_host_logo.gs_host_other { background: linear-gradient(135deg,#64748b,#475569); }
.gs_dl_host_meta { display:flex; flex-direction:column; gap:4px; min-width:0; }
.gs_dl_host_title { font-size:15px; font-weight:700; color:#1e293b; line-height: 1.2; }
.gs_dl_host_url { font-size: 12px; color:#64748b; word-break: break-all; line-height: 1.4; }

.gs_dl_entry_row2 { display:grid; grid-template-columns: 1fr auto auto; gap: 10px 14px; align-items: center; }
.gs_dl_pwd {
    display:flex; align-items:center; gap:8px; background:#f5f6fb; border:1px dashed #c5dcff;
    border-radius: 10px; padding: 8px 12px; min-height: 40px;
}
.gs_dl_pwd_label { font-size: 12px; color: #6b7280; font-weight:500; flex-shrink:0; }
.gs_dl_pwd_code {
    font-family: ui-monospace,Menlo,Consolas,monospace; font-size: 16px; font-weight: 700; color:#3370e0;
    letter-spacing: 2px; padding: 0 8px; background: #fff; border-radius: 6px; min-width: 72px; text-align:center;
    border:1px solid #e0e7ff; display:inline-flex; align-items:center; justify-content:center; min-height:28px;
}
.gs_dl_pwd_empty { color:#9ca3af; font-weight:500; font-size: 13px; font-family: inherit; letter-spacing:0; }
.gs_dl_copy {
    height: 36px; padding: 0 14px; border-radius: 8px; border:1px solid #c5dcff; background:#fff;
    color:#3370e0; font-size:13px; font-weight:600; cursor:pointer; transition: all .18s;
    display:inline-flex; align-items:center; gap:6px; justify-content:center; flex-shrink:0;
}
.gs_dl_copy:hover { background:#eef5ff; border-color:#a5c8ff; color:#1e40af; }
.gs_dl_copy.gs_copied { background:#10b981; border-color:#10b981; color:#fff; }
.gs_dl_btn {
    height: 48px; padding: 0 26px; border-radius: 10px; border:0;
    background: linear-gradient(135deg,#4080ff 0%,#5c9fff 50%,#7eb3ff 100%);
    color:#fff; font-size:15px; font-weight: 700; letter-spacing:.3px;
    display:inline-flex; align-items:center; justify-content:center; gap:8px; cursor:pointer;
    text-decoration:none; box-shadow: 0 4px 14px rgba(64,128,255,.35); transition: transform .18s, box-shadow .18s;
    flex-shrink:0; min-width: 180px;
}
.gs_dl_btn:hover { text-decoration:none; color:#fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(64,128,255,.42); }
.gs_dl_btn svg { width:18px; height:18px; stroke-width: 2.3; }
.gs_dl_empty { padding: 30px 10px; text-align:center; color: #64748b; font-size:14px; }
.gs_dl_empty a { color: #4080ff; font-weight:600; text-decoration:none; }
.gs_dl_empty.gs_state_loading { color:#3370e0; font-weight: 500; }

/* Spinner shared */
.gs_spin {
    display:inline-block; width:14px; height:14px; border-radius:50%; margin-right:6px; vertical-align:-2px;
    border:2px solid #c5dcff; border-top-color:#3370e0; animation: gsSpin .8s linear infinite;
}
@keyframes gsSpin { to { transform: rotate(360deg); } }

/* ---------- [4] Introduction / content card ---------- */
.gs_summary_box { background: #f0f7ff; border-left:4px solid #5c9fff; border-radius: 0 12px 12px 0;
    padding: 14px 18px; margin-bottom: 0; }
.gs_summary_box strong { color:#1f2937; font-weight:700; font-size:14px; display:block; margin-bottom:6px; }
.gs_summary_box p { margin:0; color:#374151; font-size:14px; line-height: 1.75; }
.gs_content_card { background:#fff; border-radius:14px; padding: 16px 20px; box-shadow: 0 2px 10px rgba(15,23,42,.05); overflow: hidden; }
.gs_content_head { display:flex; align-items:center; padding: 2px 0 16px; border-bottom:1px solid #eef0f5; margin-bottom: 16px; }
.gs_content_head h2 { margin:0; font-size:19px; font-weight:700; color:#1f2937; }
.gs_content_body { color:#1f2937; font-size:15px; line-height: 1.85; width:100%; max-width:100%; box-sizing:border-box; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; hyphens:auto; }
.gs_content_body p { margin: 0 0 14px; max-width:100%; box-sizing:border-box; overflow-wrap:anywhere; word-break:break-word; }
.gs_content_body h1,.gs_content_body h2,.gs_content_body h3,.gs_content_body h4 { color:#111827; font-weight:700; line-height: 1.4; margin: 22px 0 12px; max-width:100%; box-sizing:border-box; overflow-wrap:anywhere; word-break:break-word; }
.gs_content_body img { max-width:100%; height:auto; border-radius: 10px; margin: 10px 0; }
.gs_content_body a { color: #4080ff; font-weight:500; text-decoration: none; border-bottom: 1px dashed rgba(64,128,255,.5); overflow-wrap:anywhere; word-break:break-word; }
.gs_content_body a:hover { color:#5b21b6; border-bottom-color:#5b21b6; text-decoration:none; }
/* ===== Article body width + word-wrap FALLBACK (fixes "文字溢出容器不换行") =====
 * Root cause: previous JS cleanup was too aggressive; stripped paragraph width HTML
 * attrs + inline style.width on user-content <div>/<p>/<span>/<li> → paragraph width
 * collapsed to shrink-to-content → text no longer wraps → single long word/URL pushed
 * way beyond the right edge of .gs_content_card.
 *
 * Defence layers applied here (belt-and-suspenders; each line is an independent
 * guarantee so even if one or two fail, the remaining rules still prevent overflow):
 *   (1) Container-level: #article_content + .gs_content_body are forced width:100%.
 *       This is the "outer fence" — without it, any child max-width:100% has no
 *       reference frame because the parent itself could be narrower than the card.
 *   (2) Horizontal overflow is HIDDEN at container level. Even if a pathological
 *       200-character zero-space string somehow escapes the word-break rules, the
 *       user will not see layout-destroying horizontal scroll / card bleed-through.
 *   (3) Children max-width:100% + box-sizing:border-box. Every p/li/h1-h4/div
 *       inside the article must respect the container's calculated content box.
 *   (4) WORD-BREAK TRIPLE PLAY (this is what actually forces line-wraps):
 *         overflow-wrap:anywhere  — strictest CSS3 rule; allowed to break an
 *                                  otherwise-unbreakable token at ANY grapheme
 *                                  boundary (including mid-CJK, mid-URL).
 *         word-break:break-word    — legacy equivalent for older Safari/Chrome.
 *         word-wrap:break-word     — IE / old-Edge alias of overflow-wrap.
 *       Together these 3 declarations cover every engine from IE11 → Canary.
 *   (5) Tables: user-inserted content tables (not Discuz player tables) commonly
 *       carry width="100%" HTML attrs (we stopped wiping them in JS v3), but
 *       without table-layout:fixed, a <td> containing one 400-char URL will
 *       happily grow the whole table past the card boundary. table-layout:fixed
 *       forces each column to respect declared widths → cell wrapping works.
 *   (6) Preformatted text (<pre>, <code>): Discuz code blocks / inline code very
 *       commonly contain long hex hashes / raw URLs. white-space:pre-wrap keeps
 *       meaningful indentation visible while allowing line-wrap between any two
 *       characters via overflow-wrap:anywhere. Horizontal scroll inside pre only
 *       (overflow-x:auto) so long code is readable without breaking the card.
 */
#article_content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-wrap: break-word;   /* line (1) */
    word-wrap: break-word;       /* line (1) legacy */
    word-break: break-word;      /* line (1) old-WebKit */
    hyphens: auto;
}
#article_content > *,
#article_content p,
#article_content li,
#article_content dl,
#article_content dt,
#article_content dd,
#article_content h1,
#article_content h2,
#article_content h3,
#article_content h4,
#article_content h5,
#article_content h6,
#article_content blockquote,
#article_content pre {
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-break: break-word;
}
#article_content span,
#article_content div {
    overflow-wrap: anywhere;
    word-break: break-word;
}
#article_content a,
#article_content code,
#article_content kbd,
#article_content samp {
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}
#article_content pre {
    white-space: pre-wrap;
    overflow-x: auto;
}
#article_content table {
    table-layout: fixed;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
}
#article_content td,
#article_content th {
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    box-sizing: border-box;
}
/* ===== Slideshow video overrides (higher specificity than any base rule) ===== */
#article_content .gs_sc_wrap .gs_sc_item video,
#article_content .gs_sc_wrap .gs_sc_item iframe {
    margin: 0 !important;
    border-radius: 0 !important;
    height: 100% !important;
    width: 100% !important;
}
.gs_inner_nav { border-top:1px solid #eef0f5; padding-top: 18px; margin-top: 18px; }
.gs_inner_nav h3 { font-size:14px; font-weight:700; color:#374151; margin-bottom:10px; }

/* ---------- [5] Action card (share/fav/prev-next) ---------- */
.gs_actions_card { background:#fff; border-radius:14px; padding: 16px 20px; box-shadow: 0 2px 10px rgba(15,23,42,.05); }
.gs_share_btn {
    display:inline-flex; align-items:center; gap:6px; padding: 8px 16px; border-radius: 8px;
    background: #f5f6fb; color: #374151; font-size: 13px; font-weight:600; text-decoration:none; margin-right:8px; margin-bottom:6px;
    border:1px solid #e5e7eb; transition: all .18s;
}
.gs_share_btn:hover { background: linear-gradient(135deg,#eef5ff,#f0f7ff); color:#3370e0; border-color:#c5dcff; text-decoration:none; transform: translateY(-1px); }
.gs_prenext_card {
    margin-top: 10px; display:grid; grid-template-columns: 1fr 1fr; gap:12px; border-top:1px dashed #eef0f5; padding-top: 16px;
}
.gs_prenext_card em { display:block; font-style: normal; }
.gs_prenext_card em a {
    display:block; padding: 10px 14px; border-radius: 10px; background: #f5f6fb; color:#374151;
    font-size: 13px; line-height:1.5; text-decoration:none; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;
    transition: all .18s;
}
.gs_prenext_card em a:hover { background: linear-gradient(135deg,#eef5ff,#f0f7ff); color:#3370e0; text-decoration:none; }
.gs_prenext_card .gs_next { text-align:right; }
.gs_prenext_card .gs_next a { text-align: right; }

/* ---------- [6] Related card ---------- */
.gs_related_card { background:#fff; border-radius:14px; padding: 0; box-shadow: 0 2px 10px rgba(15,23,42,.05); overflow:hidden; }
.gs_related_card .gs_card_head { margin-bottom: 4px; }
.gs_related_grid { padding: 4px 20px 16px; }
.gs_related_grid ul { list-style: none; margin:0; padding:0; display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 18px; }
.gs_related_item { margin:0; }
.gs_related_link {
    display:flex; align-items:flex-start; gap:8px; padding:8px 10px; border-radius:8px; text-decoration:none; transition: background .18s;
}
.gs_related_link:hover { background: #f0f7ff; text-decoration:none; }
.gs_related_dot { color:#7eb3ff; font-size: 20px; line-height: 1; flex-shrink:0; margin-top: -1px; }
.gs_related_title { font-size:14px; color:#1f2937; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow:hidden; }
.gs_related_link:hover .gs_related_title { color:#3370e0; }

/* ---------- [7] Comment card ---------- */
.gs_comment_card { background:#fff; border-radius:14px; padding: 16px 20px; box-shadow: 0 2px 10px rgba(15,23,42,.05); }

/* ---------- [Sidebar: ranking + categories] ---------- */
.gs_side_rank, .gs_side_cats { background:#fff; border-radius:14px; padding: 0 0 16px 0; box-shadow: 0 2px 10px rgba(15,23,42,.05); overflow:hidden; }
.gs_side_rank .gs_card_head, .gs_side_cats .gs_card_head { padding-left:20px; padding-right:20px; }
.gs_rank_list { list-style: none; margin: 0; padding: 0 20px; display:flex; flex-direction: column; }
.gs_rank_item {
    display:flex; align-items:center; gap:10px; padding:9px 0; border-bottom: 1px dashed #eef0f5;
}
.gs_rank_item:last-child { border-bottom: 0; }
.gs_rank_idx {
    width:22px; height:22px; border-radius:6px; background:#f1f5f9; color:#64748b; font-size:12px; font-weight:700;
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.gs_rank_item:nth-child(1) .gs_rank_idx { background: linear-gradient(135deg,#ef4444,#dc2626); color:#fff; }
.gs_rank_item:nth-child(2) .gs_rank_idx { background: linear-gradient(135deg,#f97316,#ea580c); color:#fff; }
.gs_rank_item:nth-child(3) .gs_rank_idx { background: linear-gradient(135deg,#eab308,#ca8a04); color:#fff; }
.gs_rank_info { flex:1; min-width:0; display:flex; flex-direction: column; gap:3px; }
.gs_rank_title {
    font-size: 13px; color:#111827; line-height: 1.4; text-decoration:none; font-weight:500;
    display:-webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.gs_rank_title:hover { color:#4080ff; text-decoration:none; }
.gs_rank_stats { font-size: 11px; color:#94a3b8; }
.gs_rank_empty { justify-content:center; color:#64748b; font-size:13px; padding: 20px 0; }

.gs_cat_list { list-style:none; margin:0; padding: 0 20px; display:flex; flex-wrap:wrap; gap: 8px; }
.gs_cat_list li { margin:0; }
.gs_cat_list a {
    display:inline-block; padding: 6px 12px; background: #f5f6fb; border-radius: 999px; color:#374151;
    font-size:12px; font-weight:500; text-decoration:none; transition: all .18s; border:1px solid transparent;
}
.gs_cat_list a:hover { background: linear-gradient(135deg,#eef5ff,#f0f7ff); color:#3370e0; border-color:#c5dcff; text-decoration:none; transform: translateY(-1px); }

/* ---------- [Sidebar: Portal Hot Rank DIY widget (.gs_ph_*) ---------- */
.gs_ph_widget { background:#fff; border-radius:14px; box-shadow: 0 2px 10px rgba(15,23,42,.05); overflow:hidden; }
.gs_ph_head { display:flex; align-items:center; gap:8px; padding: 14px 20px; border-bottom: 1px solid #eef0f5; }
.gs_ph_head .gs_ph_bar { width:4px; height:16px; border-radius:2px; background: linear-gradient(180deg,#4080ff,#7eb3ff); }
.gs_ph_head h3 { margin:0; font-size:16px; font-weight:700; color:#1f2937; }
.gs_ph_body { padding: 8px 12px; display:flex; flex-direction:column; gap:2px; }
.gs_ph_item {
    display:flex; align-items:center; gap:10px;
    padding: 8px 8px; border-radius: 10px;
    text-decoration: none; transition: background .2s;
}
.gs_ph_item:hover { background: #f0f7ff; text-decoration: none; }
.gs_ph_badge {
    flex-shrink:0; width: 22px; height: 22px; border-radius: 6px;
    display:flex; align-items:center; justify-content:center;
    font-size: 11px; font-weight:700; color:#fff;
    background: linear-gradient(135deg,#ef4444,#dc2626);
}
.gs_ph_badge.gs_ph_new { background: linear-gradient(135deg,#4080ff,#5c9fff); }
.gs_ph_avatar {
    flex-shrink:0; width: 36px; height: 36px; border-radius: 50%;
    overflow: hidden; background:#f1f5f9;
    border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(15,23,42,.08);
}
.gs_ph_avatar img { width:100%; height:100%; object-fit: cover; display:block; }
.gs_ph_title {
    flex: 1; min-width: 0; font-size: 14px; font-weight: 500;
    color: #1f2937; line-height: 1.4;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.gs_ph_item:hover .gs_ph_title { color: #4080ff; }

/* ---------- [Reset container chrome for Discuz default .bm / .frame classes that inject borders shadows bg] ---------- */
.gs_view_wrap .frame,
.gs_view_wrap .block,
.gs_view_wrap .bm { border: 0 !important; background: transparent !important; box-shadow: none !important; margin: 0 !important; padding: 0 !important; }
.gs_view_wrap .bm_h, .gs_view_wrap .bm_c { padding:0 !important; background:transparent !important; border:0 !important; }
.gs_view_wrap .bm { position: relative; }
/* Undo for our explicit cards that ARE .bm and legitimately need their own styles */
.gs_view_wrap .gs_sc_wrap,
.gs_view_wrap .gs_info_card.bm,
.gs_view_wrap .gs_content_card.bm,
.gs_view_wrap .gs_related_card.bm,
.gs_view_wrap .gs_comment_card.bm,
.gs_view_side .gs_side_rank.bm,
.gs_view_side .gs_side_cats.bm {
    border-radius: 14px !important;
    box-shadow: 0 2px 10px rgba(15,23,42,.05) !important;
    background: #fff !important;
}

/* ---------- [Responsive: 1200/1024/768] ---------- */
@media (max-width: 1279px) {
    .gs_view_wrap { width: 100%; padding: 0 14px; grid-template-columns: minmax(0,1fr) 400px; gap: 16px; }
    .gs_page_head_inner { padding: 0 14px; }
}
@media (max-width: 1023px) {
    .gs_view_wrap { grid-template-columns: 1fr; }
    .gs_view_side { position: static; }
    .gs_info_grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .gs_info_cell[colspan="2"] { grid-column: span 2; }
    .gs_related_grid ul { grid-template-columns: 1fr; }
    .gs_game_title { font-size: 22px; }
}
@media (max-width: 767px) {
    .gs_page_head { padding: 22px 0 18px; }
    .gs_game_title { font-size: 18px; line-height: 1.35; }
    .gs_info_grid { grid-template-columns: 1fr; }
    .gs_info_cell[colspan="2"] { grid-column: auto; }
    .gs_info_title { padding-right: 0; font-size:18px; }
    .gs_info_title_tag { position: static; display:inline-block; margin-top:8px; margin-bottom: 4px; }
    .gs_dl_entry_row2 { grid-template-columns: 1fr; }
    .gs_dl_btn { width:100%; }
    .gs_dl_copy { justify-self: end; }
    .gs_prenext_card { grid-template-columns: 1fr; }
    .gs_download_card, .gs_info_card, .gs_content_card,
    .gs_actions_card, .gs_related_card, .gs_comment_card { padding-left: 14px; padding-right:14px; border-radius:12px; }
    .gs_sc_main { height: 240px; border-radius: 8px; }
    .gs_sc_list { width: 64px; }
    .gs_sc_tbox { width: 64px; height: 40px; }
    .gs_card_head { padding:14px; }
}

/* ---------- [Utility] ---------- */
.gs_state_loading { color:#3370e0; }
.gs_diy_top { padding-top: 0; margin-bottom: 0; }
.gs_view_wrap a { text-decoration: none; }

/* ---------- [List Page] ---------- */
.gs_feed { width:100%; }
.gs_feed .gs_post { display:flex; gap:16px; background:#fff; border:1px solid #e8ecf3;
  border-radius:14px; padding:16px; margin-bottom:16px; transition:.18s; }
.gs_feed .gs_post:hover { box-shadow:0 10px 26px rgba(30,50,90,.08); transform:translateY(-2px); }
.gs_feed .gs_post:hover h3 { color:#2f6feb; }
.gs_feed .gs_thumb { width:150px; height:104px; border-radius:10px; flex:none;
  overflow:hidden; background:#eef1f6; }
.gs_feed .gs_thumb img { width:100%; height:100%; object-fit:cover; border-radius:10px; }
.gs_feed .gs_body { flex:1; min-width:0; }
.gs_feed .gs_cat { font-size:12px; color:#2f6feb; font-weight:700; }
.gs_feed h3 { font-size:17px; line-height:1.4; margin:5px 0 6px; color:#1b2330; font-weight:600; }
.gs_feed .gs_ex { font-size:13.5px; color:#7a8499; display:-webkit-box; -webkit-line-clamp:2;
  -webkit-box-orient:vertical; overflow:hidden; line-height:1.5; }
.gs_feed .gs_meta { display:flex; gap:12px; font-size:12px; color:#7a8499; margin-top:10px; }

@media (max-width:640px) {
  .gs_feed .gs_thumb { width:110px; height:84px; }
  .gs_feed h3 { font-size:15px; }
}
.gs_view_wrap a:hover { text-decoration: none; }

/* ---------- [List Page Kaiyuan] ---------- */
.gs_kaiyuan_wrap {
  width: 100%;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid #eceef1;
  border-radius: 12px;
  overflow: hidden;
}
.gs_kaiyuan_side {
  background: #f3f4f6;
  border-right: 0;
  padding: 22px 16px;
  box-sizing: border-box;
}
.gs_kaiyuan_grp {
  font-size: 11px;
  letter-spacing: 1px;
  color: #8a9099;
  text-transform: uppercase;
  margin: 14px 6px 6px;
}
.gs_kaiyuan_nav { }
a.gs_kaiyuan_nava {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  color: #454b54;
  cursor: pointer;
  text-decoration: none;
  transition: background .12s, color .12s;
}
a.gs_kaiyuan_nava:hover { background: #e9ebef; color: #1f2329; }
a.gs_kaiyuan_nava.gs_active { background: #e3ecff; color: #2f6feb; font-weight: 600; }

.gs_kaiyuan_main { padding: 30px 40px; max-width: 100%; box-sizing: border-box; }
.gs_kaiyuan_title { font-size: 22px; font-weight: 800; margin-bottom: 16px; color: #1f2329; }

.gs_kaiyuan_list { display: flex; flex-direction: column; }
a.gs_kaiyuan_row {
  display: flex;
  gap: 14px;
  padding: 16px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  align-items: flex-start;
  cursor: pointer;
  transition: background .12s, border-color .12s;
}
a.gs_kaiyuan_row:hover { background: #fafbfc; border-color: #eceef1; box-shadow: 0 2px 10px rgba(30,50,90,.04); }
a.gs_kaiyuan_row:hover h3 { color: #2f6feb; }
.gs_kaiyuan_ic {
  width: 34px; height: 34px;
  border-radius: 8px;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 15px;
  background: #f3f4f6;
  color: #2f6feb;
  font-weight: 700;
}
.gs_kaiyuan_info { flex: 1; min-width: 0; }
.gs_kaiyuan_info h3 {
  font-size: 15.5px; font-weight: 600;
  margin-bottom: 3px;
  color: #1f2329;
  line-height: 1.4;
}
.gs_kaiyuan_info p {
  font-size: 13px; color: #8a9099;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.gs_kaiyuan_when { font-size: 12px; color: #8a9099; white-space: nowrap; padding-top: 2px; }

@media (max-width: 760px) {
  .gs_kaiyuan_wrap {
    grid-template-columns: 1fr;
  }
  .gs_kaiyuan_side {
    min-height: auto;
    padding: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }
  .gs_kaiyuan_grp {
    width: 100%;
    margin: 4px 0 4px 6px;
  }
  .gs_kaiyuan_main { padding: 22px; }
  .gs_kaiyuan_when { display: none; }
}