/* --- 安全的基礎重置  --- */
html { line-height: 1.15; -webkit-text-size-adjust: 100%; }
img { border-style: none; }
textarea { resize: vertical; }
button, input, select, textarea { font-family: inherit; }
button, input { overflow: visible; }
button, select { text-transform: none; }

/* --- BASE & LAYOUT STYLES --- */
/* 全域設定 */
* { margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', 'Arial', 'Noto Sans TC', sans-serif;
    font-size: 16px; }

/* 主體樣式 */
body { background-color: #F5F5F4;
    color: #1f2937;
    line-height: 1.6rem;
    font-size: 1.6rem;
    transition: none; }

/* 連結樣式 */
a { font-size: 1em;
    text-decoration: none;
    color: #323338;
    transition: color 0.3s ease; position: relative;
    display: inline-block;
    padding: 0 2px;
    text-decoration: none;
    color: #2c3e50; }

a:visited { color: #323338; }

/* 頁首樣式 */
header { background: linear-gradient(135deg, #6b4e31, #4b3a25);
    color: #fff;
    padding: 1rem 2rem;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center; }

.use_block header { align-items: baseline;
	flex-direction: row; }

.header-top { display: grid;
    grid-template-columns: auto 1fr auto; /* 左中右三欄 */
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    max-width: 1900px;
    width: 100%; }

.header-top h1 { margin-right: 1rem;
    font-size: 2.25rem;
    margin: 0;
    display: flex;
    align-items: center; }

.header-top h1>i { margin-right: 0.5rem; }

.header-top h1 a { color: #fff !important;
    text-decoration: none;
    transition: none; }

.header-top h1 a:hover { color: #fff !important; }

.header-top h1 a i { color: #fff !important;
    margin-right: 0.5rem; }

.web_Name { color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 0 0 auto; /* 靠左固定 */ }

.web_logo { width: 160px;
    height: 60px;
    background: url("/images/softking_logo.png") no-repeat center center;
    background-size: contain;
    margin-bottom: 8px; }

/* 作業系統選單 */
.os-menu { display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0; }

.os-menu a { color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    transition: color 0.3s ease; }

.os-menu a:hover { color: #3b82f6; }

.os-menu a>i { margin-right: 0.5rem; }

.web_Name span { font-size: 1rem; }

.right-col { display: flex;
    flex: 1;
    justify-content: space-between; /* 右欄分成兩邊 */
    align-items: center;
    gap: 1rem; }

.os-menu { flex: 0 0 auto;
    display: flex;
    justify-content: flex-end; /* 靠右 */ }

#FavoriteList, #My-history, #My-remind { display: none;
    color: #f3cf6a;
    cursor: pointer; }

#My-download { display: none;
    color: #cc0000;
    cursor: pointer;
    padding-right: 1rem; }

/* 讓標題與按鈕左右分開 */
.remind-header-flex { display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* 手機版寬度不足時自動換行 */
    gap: 10px;
    padding: 5px 0; }

/* 筆數標籤的小裝飾 */
.count-badge { font-size: 0.8em;
    color: #666;
    font-weight: normal; }

/* 按鈕美化：使用淡灰色系，不搶走標題重點 */
.btn-mark-read { background-color: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
    padding: 6px 12px;
    border-radius: 20px; /* 圓角看起來比較現代 */
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); }

.btn-mark-read:hover { background-color: #e9ecef;
    border-color: #ced4da;
    color: #212529;
    transform: translateY(-1px); }

.btn-mark-read i { color: #28a745; /* 勾勾圖示用綠色點綴 */
    margin-right: 4px; }

/* 手機版微調 */
@media (max-width: 480px) { .remind-header-flex {
        flex-direction: column;
        align-items: flex-start;
    }
    .btn-mark-read {
        width: 100%;
        text-align: center;
    } }

/* 底部導航列 */
.bottom-nav { width: 100%;
    background: linear-gradient(135deg, #6b4e31, #4b3a25);
    padding: 0.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 2rem; }

.bottom-nav a { color: #fff;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    transition: color 0.3s ease; }

.bottom-nav a:hover { color: #3b82f6; }

.bottom-nav a>i,
.card_textline_block a>i { margin-right: 0.5rem; }

/* 漢堡選單 */
.hamburger { display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
    align-items: center; }

.hamburger>i { font-size: 1.5rem;
    color: #e0d1b9; }

/* 導航列 */
nav { background-color: #e0d1b9;
    padding: 0.5rem;
    transition: transform 0.3s ease; }

nav ul { list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.5rem;
	padding: 0; }

nav a { color: #4b5563;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    transition: color 0.3s ease; }

nav a:hover { color: #3b82f6; }

/* 下拉選單 */
.dropdown { position: relative; }

.dropdown>a { display: flex;
    align-items: center;
    justify-content: space-between; }

.dropdown-content { display: none;
    position: absolute;
    background-color: #fff;
    min-width: 170px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    z-index: 1;
    top: 100%;
    left: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease; }

.dropdown:hover .dropdown-content,
.dropdown.open .dropdown-content { display: block;
    height: auto;
    opacity: 1; }

.dropdown-content a { font-size: 0.95rem;
    padding: 0.5rem 1rem;
    color: #4b5563;
    display: flex;
    align-items: center; }

.dropdown-content a:hover { background-color: #f8fafc;
    color: #3b82f6; }

/* 導航底部選單 */
.nav-bottom-nav { display: none;
    background: linear-gradient(135deg, #6b4e31, #4b3a25);
    padding: 0.5rem;
    margin-top: 0;
    width: 100%;
    flex-direction: column;
    justify-content: flex-start; }

.nav-bottom-nav a { color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    padding: 0.5rem;
    text-align: left;
    white-space: nowrap;
    width: 100%; }

.nav-bottom-nav a:hover { color: #3b82f6; }

.nav-bottom-nav a>i { margin-right: 0.5rem; }

input::placeholder { font-size: 1rem;       /* 設定字型大小 */
    color: #888;           /* 設定顏色 */
    font-style: italic;    /* 可選，斜體 */
    font-weight: normal;   /* 可選 */ }

/* 如果有多種瀏覽器前綴，也可加 */
input::-webkit-input-placeholder { /* Chrome, Safari */
    font-size: 1rem;
    color: #888; }

input::-moz-placeholder { /* Firefox 19+ */
    font-size: 14px;
    color: #888; }

input:-ms-input-placeholder { /* IE 10+ */
    font-size: 14px;
    color: #888; }

input::-ms-input-placeholder { /* Edge */
    font-size: 14px;
    color: #888; }

/* 主內容與側邊欄容器 */
.container { max-width: min(1600px, 100% - 2rem);
    margin: 2rem auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 65% 31.7%;
    gap: 2rem;
    clear: both;
    overflow: hidden; }

.download-container { max-width: min(1500px, 100% - 2rem);
    margin: 2rem auto;
    padding: 0 1rem;
    display: block;
    clear: both;
    overflow: hidden; }

/* 主內容區域 */
.main-content { display: inline-block;
    grid-template-rows: repeat(11, minmax(0, auto));
    gap: 1.5rem;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden; }

/* 側邊欄 */
.sidebar { display: grid;
    grid-template-rows: repeat(2, auto);
    /* gap: 1.5rem; */
    align-self: start;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden; }

.right_sidebar { margin-bottom: 1rem;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden; }

/* 卡片樣式 */
.main-content .card,
.one-card-block .card { background-color: #fff;
    border-radius: 0.75rem;
    padding: 1rem;
	margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 4fr 6fr;
    grid-template-rows: auto auto 1fr auto;
    gap: 1rem;
    align-items: start;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden; }

.main-content .card:hover,
.one-card-block .card:hover,
.sidebar .card:hover,
.right_sidebar .card:hover { transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1); }

.main-content .card h3,
.one-card-block .card h3,
.right_sidebar .card h3 { font-size: 1.25rem;
    color: #323338;
    margin-bottom: 0.5rem;
    grid-column: 1 / -1;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
    word-break: break-word; }

.main-content .card p,
.one-card-block .card p { color: #374151;
    font-size: 0.95rem;
    align-self: start;
    grid-column: 2 / -1;
    width: 100% !important;
    max-width: 100% !important;
    overflow: auto; }

.one-card-block .card section { width: 100% !important;
    max-width: 100% !important;
    grid-column: 2 / -1;
    grid-row: 2 / 4; }

.one-card-block .card .card-bottom { grid-column: 1 / -1;
    grid-row: 4;
    overflow: hidden;
    flex-wrap: wrap; }

.one-card-block .card.no-image { grid-template-columns: 1fr !important; }

/* 雙卡片區塊 */
.two-card-block { display: flex;
    flex-direction: row;
    gap: 1.5rem;
    width: 100% !important;
    max-width: 100% !important;
    align-items: stretch;
    overflow: hidden;
    /* margin-bottom: 1.5rem; */ }

.two-card-block .card h2 { font-size: 1.5rem;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
    word-break: normal;
    width: 100% !important;
    flex: 0 0 auto;
    height: 1.85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; }

.two-card-block .card h3,
.right_sidebar .card h3 { height: 3.6rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; }

.two-card-block .card p { color: #374151;
    font-size: 1rem;
    max-height: 200px;
    overflow: hidden;
    flex: 1 1 auto; }

.two-card-block .card section { max-height: 212px;
    overflow: hidden; }

/* 右側邊欄卡片 */
.right_sidebar .card { flex: 1 1 0;
    margin-bottom: 1rem;
    background-color: #fff;
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease; }

/* 文字行區塊 */
.card_textline_block, .content.use_carousel { background-color: #fff;
    border-radius: 0.75rem;
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 2rem; }

.adsbygoogle { margin-bottom: 1rem; }

.card_textline_block:hover { transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1); }

.card_textline_block h2 { font-size: 1.5rem;
    color: #323338;
    margin-bottom: 0.5rem;
    word-break: normal;
    width: 100% !important; }

.card_textline_block h3 { font-size: 1.25rem;
    color: #323338;
    margin-bottom: 0.5rem;
    width: 100% !important; }

.card_textline_block p { color: #374151;
    font-size: 0.95rem; }

.card_textline_block li a { color: #374151;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease; }

.card_textline_block li a:hover { color: #3b82f6; }

.carousel_detailed_button { padding: 0 1em;
    background-color: #4d90fe;
    border-color: #3079ed;
    height: 2em;
    line-height: 2em;
    font-size: 1.2em;
    font-weight: 700;
    border-radius: 20px;
    margin-top: 10px;
    color: #fff;
    min-width: 10em;
    display: block; }

.use_carousel h3 { margin: 0 0 0.3em 0;
    overflow: hidden;
    height: 3em;
    display: flex;
    font-size: 1.15rem; }

.use_title { display: flex;
    align-items: center;
    justify-content: left;
    gap: 0.5rem;
    margin-bottom: 0.25rem; }

.footer-center { text-align: center;
    margin: 0 0 8px 0; }

/* 卡片底部 */
.card-bottom { display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    border-top: 1px solid #e5e7eb;
    width: 100% !important;
    max-width: 100% !important;
    flex-wrap: wrap;
    min-height: 1.5rem;
    overflow: hidden;
    margin-top: auto; }

.card-bottom .left { color: #4b5563;
    font-size: 0.85rem;
    white-space: nowrap;
    padding-right: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem; }

.card-bottom .right { color: #4b5563;
    font-size: 0.85rem;
    white-space: nowrap;
    padding-left: 0.5rem; }

/* 檔案類型標籤 */
.filetype { color: #ffffff;
    border-radius: 9999px;
    font-weight: 700;
    line-height: 1.5em;
    padding: 3px 10px;
    text-align: center;
    font-size: 1.1em; }

.shareware, .payware { background-color: #cc0000; }

.opensource { background-color: #539532; }

.MultiLanguage,
.zh-TW,
.zh-CN { background-color: #0088ff; }

.ja-JP { background-color: #d97e09; }

.ko-KR { background-color: #45a2c4; }

.en-US { background-color: #e74d36; }

/* 標題與推薦標籤 */
.headlines { color: #cc0000;
    margin: 0 0.5em 0 0;
    font-size: 1.5rem; }

.limit_free { color: #0088ff;
    margin: 0 0.5em 0 0;
    font-size: 1.5rem; }

.recommend { color: #ff6700;
    margin: 0 0.5em 0 0;
    font-size: 1.5rem; }

.computer_in { color: #388e3c;
    margin: 0 0.5em 0 0;
    font-size: 1.5rem; }

.arrow_recomd i { font-size: 1.5rem; }

/* 廣告佔位符 */
.ad-placeholder, .google-auto-placed { display: block;
    margin: 2px auto;
    text-align: center;
    overflow: hidden;
    width: 100% !important;
    max-width: 1220px !important; }

.download_info-left .ad-placeholder { max-width: 690px !important; }

.google-auto-placed { margin: 1rem auto; }

.ad-placeholder.above-fold { width: 100% !important;
    max-width: 100% !important; }

.ad-placeholder.in-content,
.ad-placeholder.sidebar-top { min-width: 100% !important;
    max-width: 100% !important;
    max-height: 480px; }

.adsbygoogle.adsbygoogle-noablate { background-color: #fff !important; }

/* 頁腳 */
footer { background-color: #e0d1b9;
    color: #4a2c2a;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 2rem;
    clear: both;
    transition: background-color 0.3s ease, color 0.3s ease; }

footer ul { list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem; }

footer a { color: #4a2c2a;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    transition: color 0.3s ease; }

footer a:hover { color: #3b82f6; }

footer a>i { margin-right: 0.5rem; }

footer p { font-size: 0.9rem;
    margin-top: 1rem; }

/* 滾動按鈕 */
.scroll-button { position: fixed;
    bottom: 40px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6b4e31, #4b3a25);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    transition: background-color 0.3s ease, transform 0.3s ease; }

.scroll-button:hover { background: linear-gradient(135deg, #3b82f6, #1e40af);
    transform: scale(1.1); }

.scroll-button i { font-size: 1.5rem; }

.scroll-button.scroll-to-top i { transform: rotate(0deg); }

.scroll-button.scroll-to-bottom i { transform: rotate(180deg); }

.toTop_block,
.toBottom_block { background-position: center;
    background-repeat: no-repeat;
    bottom: 150px;
    cursor: pointer;
    display: none;
    height: 48px;
    overflow: hidden;
    position: fixed;
    right: 30px;
    text-decoration: none;
    width: 48px;
    z-index: 999; }

.toBottom_block { bottom: 80px; }

.toTop_block .fa-chevron-up,
.toBottom_block .fa-chevron-down { color: #a2afb9;
    font-size: 2.5rem; }

.toTop_block.header_free,
.toBottom_block.header_free,
.toLeft.header_free,
.toRight.header_free { background-color: #4a5644; }

.toTop_block.header_www,
.toBottom_block.header_www,
.toLeft.header_www,
.toRight.header_www { background-color: #2C3E50; }

.open_on { display: block; }

/* 主題切換按鈕 */
.theme-toggle { position: absolute;
    top: 10px;
    right: 30px;
    padding: 8px 14px;
    border: none;
    border-radius: 12px;
    background: none;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    z-index: 1000;
    transition: background 0.3s; }

.theme-toggle:hover { /* background: rgba(13,71,161,0.9); */ }

.theme-toggle::first-letter { font-size: 0.8rem; }

/* Modal 視窗 */
.modal { position: fixed;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: none;
    opacity: 0;
    z-index: 1000;
    transition: opacity 0.2s ease-in-out; }

.modal.show { display: flex;
    opacity: 1; }

.modal-content { background-color: #fff;
    color: #222;
    border-radius: 8px;
    padding: 20px;
    width: 70rem;
    max-width: 95%;
    max-height: 90%;
    overflow-y: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative; }

.modal-content::-webkit-scrollbar { width: 8px; }

.modal-content::-webkit-scrollbar-track { background: #f0f0f0;
    border-radius: 4px; }

.modal-content::-webkit-scrollbar-thumb { background: #888;
    border-radius: 4px; }

.modal-content::-webkit-scrollbar-thumb:hover { background: #555; }

.modal-content .close-btn { position: absolute;
    top: 12px;
    right: 12px;
    font-size: 1.5rem;
    color: #222;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease; }

.modal-content .close-btn:hover { transform: scale(1.2);
    color: #f66; }

/* 廣告攔截 Modal */
.modal-overlay { position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease; }

.modal-overlay.show { display: flex;
    opacity: 1; }

#adblockModal .admodal { background: #fff;
    color: #000;
    border-radius: 12px;
    padding: 20px;
    max-width: 460px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease; }

#adblockModal.show .admodal { transform: translateY(0);
    opacity: 1; }

#adblockModal .admodal h2 { margin: 0;
    font-size: 20px; }

#adblockModal .admodal p { margin: 15px 0;
    font-size: 16px; }

#adblockModal .admodal button { background: #3b82f6;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer; }

/* Tooltip */
.custom-tooltip { position: absolute;
    background-color: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.875rem;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 2000; }

.custom-tooltip.show { opacity: 1;
    transform: translateY(0); opacity: 1;
    transform: translateY(-20px); }

/* 載入動畫 */
.spinner { border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 50px auto; }

.loading-overlay { position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    display: none; }

@keyframes spin { 0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }; 0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); } }

/* 其他樣式 */
.card h4 { color: #cc0000;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    overflow: auto; }

.tryout.filetype { background: #867f7a none repeat scroll 0 0;
    color: #ffffff; }

.selected-option { color: darkred; }

.close-btn { position: absolute;
    right: 12px;
    top: 8px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer; }

.category { background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  margin-bottom: 25px;
  padding: 20px;
  transition: transform 0.2s; }

.category:hover { transform: translateY(-3px); }

.category h2 { font-size: 1.5rem;
  color: #34495e;
  margin-bottom: 15px;
  padding-bottom: 5px; }

.category h2 a { font-size: 1.5rem; }

.category ul { display: grid;
  grid-template-columns: repeat(5, 1fr); /* 桌機：5 欄 */
  gap: 10px 20px; /* 行距 10px，列距 20px */
  list-style: none;
  padding: 0;
  margin: 0; }

.category ul li { background: #ecf0f1;
  padding: 10px 15px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  transition: background 0.2s; }

.category ul a { font-weight: 500; }

.category ul li:hover { background: #d6eaf8; }

.category ul li span { font-weight: bold;
  color: #2980b9; }

.use_container { display: flex;
    flex-wrap: wrap;
    min-height: calc(100vh - 60px);
    margin: 10px auto 0;
    max-width: min(85%, 100% - 2rem);
    width: 100%;
    padding: 0; }

.use_logo { text-align: center;
    margin: 2rem 0 0; }

.use_left { flex: 0 0 12%;
    background: var(--left-bg);
    padding: 15px;
    margin-bottom: 2rem;
    box-sizing: border-box; }

.use_center { flex: 0 0 55%;
    background: var(--center-bg);
    padding: 15px;
    box-sizing: border-box; }

.use_right { flex: 0 0 30%;
    background: var(--right-bg);
    padding: 15px;
    box-sizing: border-box; }

.use_classify { background-color: #fff;
    border-radius: 0.75rem;
    padding: 1rem 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    /* width: 100% !important; */
    /* max-width: 100% !important; */ }

.use_classify h2 { font-size: 1.2rem;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--text-color); }

.use_classify ul { list-style-type: none;  /* 移除圓點 */
  margin: 0;
  padding: 0; }

.use_classify li { margin: 8px 0; }

.use_classify a { display: block;
  padding: 6px 10px;
  text-decoration: none;
  color: var(--text-color);
  border-radius: 6px;
  transition: background 0.3s, padding-left 0.3s; }

.use_classify a:hover { background: rgba(0,0,0,0.08);
  padding-left: 16px; /* hover 時稍微縮排，提升互動感 */ }

.use_block header, .use_block blockquote { padding: 1rem 0.5rem 0.2rem 0.5rem;
    margin: 0; }

.use_block .use_title a { color: #fff;
	font-size: 1.25rem; }

.use_block .footer-right { float: right;
    clear: right;
    margin: 1rem 0 0 0; }

.use_detailed_button { padding: 0.2em 0.8em;
    background-color: #D20059;
    line-height: 2.2em;
    font-size: 1.3em;
    font-weight: 700;
    border-radius: 25px;
    margin-top: 0.5em;
    color: #fff; }

.use_block.content { background: #fff;
    display: inline-block;
	margin-top: 1rem;
    padding: 1rem; }

.top_block { background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    cursor: pointer;
	transition: transform 0.3s ease; }

.top_block:hover { transform: translateY(-4px); }

.f-left { float: left;
    text-align: left;
    margin-right: 0.5rem; }

.f-right { float: right;
    text-align: right;
    margin-left: 0.5rem; }

/* -------------------------- 暗色模式 ---------------------------------- */
body.dark-mode { background-color: #1f2937;
    color: #e5e7eb;
    transition: background-color 0.3s ease, color 0.3s ease;
    --bg-color: #181a1b;
    --text-color: #e5e5e5;
    --header-bg: #202324;
    --left-bg: #25282a;
    --center-bg: #1f2223;
    --right-bg: #2c2f31; }

body.dark-mode .top_block { background: none; }

body.dark-mode .category { background: #2c2c2c;
  box-shadow: 0 3px 8px rgba(0,0,0,0.5); }

body.dark-mode .category h2 { color: #ffffff;
  border-bottom-color: #3498db; /* 邊框可適度調整 */ }

body.dark-mode .category ul li { background: #3a3a3a;
  color: #e0e0e0; }

body.dark-mode .category ul li:hover { background: #4a4a4a; }

body.dark-mode .category ul li span { color: #3498db; }

body.dark-mode.nav-open { overflow: hidden; }

body.dark-mode a { /* color: #d1d5db; */; color: #d1d5db; }

body.dark-mode header, body.dark-mode .bottom-nav { background: linear-gradient(135deg, #2d3748, #1f2937); }

body.dark-mode .hamburger>i { color: #d1d5db; }

body.dark-mode nav { background-color: #2d3748; }

body.dark-mode nav a { color: #d1d5db; }

body.dark-mode .dropdown-content { background-color: #374151;
    border-left-color: #4b5563; }

body.dark-mode .dropdown-content a { color: #d1d5db; }

body.dark-mode .dropdown-content a:hover { background-color: #4b5563; }

body.dark-mode .nav-bottom-nav { background: linear-gradient(135deg, #2d3748, #1f2937); }

body.dark-mode .main-content .card,
body.dark-mode .one-card-block .card,
body.dark-mode .sidebar .card,
body.dark-mode .right_sidebar .card { background-color: #374151; }

body.dark-mode .main-content .card h3,
body.dark-mode .one-card-block .card h3,
body.dark-mode .right_sidebar .card h3,
body.dark-mode .sidebar .card h3 { color: #60a5fa; }

body.dark-mode .main-content .card p,
body.dark-mode .one-card-block .card p,
body.dark-mode .sidebar .card p { color: #d1d5db; }

body.dark-mode .two-card-block .card { background-color: #374151; }

body.dark-mode .two-card-block .card h2 { color: #60a5fa; }

body.dark-mode .two-card-block .card p { color: #d1d5db; }

body.dark-mode .card_textline_block, body.dark-mode .content.use_carousel { background: none; }

body.dark-mode .card_textline_block h2 { color: #60a5fa; }

body.dark-mode .card_textline_block h3 { color: #60a5fa; }

body.dark-mode .card_textline_block p { color: #d1d5db; }

body.dark-mode .card_textline_block li a { color: #d1d5db;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
    filter: brightness(1.3); }

body.dark-mode .card_textline_block li a:hover { color: #60a5fa; }

body.dark-mode .card-bottom { border-top-color: #4b5563; }

body.dark-mode .card-bottom .left { color: #d1d5db; }

body.dark-mode .card-bottom .right { color: #d1d5db; }

body.dark-mode .shareware { background-color: #e53e3e; }

body.dark-mode .opensource { background-color: #4a5568; }

body.dark-mode .MultiLanguage,
body.dark-mode .zh-TW,
body.dark-mode .zh-CN { background-color: #1e90ff; }

body.dark-mode .ja-JP { background-color: #f28c38; }

body.dark-mode .ko-KR { background-color: #63b3ed; }

body.dark-mode .en-US { background-color: #f56565; }

body.dark-mode .ad-placeholder { background-color: #4b5563;
    color: #f87171; }

body.dark-mode footer { background-color: #2d3748;
    color: #d1d5db; }

body.dark-mode footer a { color: #d1d5db; }

body.dark-mode footer p { color: #d1d5db; }

body.dark-mode .scroll-button { background: linear-gradient(135deg, #2d3748, #1f2937); }

body.dark-mode .modal { background-color: rgba(20, 20, 20, 0.85); }

body.dark-mode .modal-content { background-color: #222;
    color: #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); }

body.dark-mode .modal-content .close-btn { color: #eee; }

body.dark-mode .modal-content .close-btn:hover { color: #f66; }

body.dark-mode #adblockModal .admodal { background-color: #1e1e1e;
    color: #f0f0f0; }

body.dark-mode #adblockModal .admodal h2 { color: #f0f0f0; }

body.dark-mode #adblockModal .admodal p { color: #ddd; }

body.dark-mode #adblockModal .admodal button { background-color: #3b82f6;
    color: #fff; }

body.dark-mode .custom-tooltip { background-color: #333;
    color: #fff; }

body.dark-mode .glass-card { background: none; }

body.dark-mode .Horizontal .highlight-text,
body.dark-mode .Inline .highlight-text { color: #edf0f3; }

body.dark-mode .card h4 { color: #fff; }

body.dark-mode .use_classify a:hover { background: rgba(255,255,255,0.08); }

body.dark-mode .use_classify { background-color: #374151; }

body.dark-mode .use_block .use_title a { color: #edf0f3; }

/* 圖示容器：確保兩個圖示不會換行，且維持間距 */
.action-icons { display: flex;
    align-items: center;
    flex-shrink: 0; /* 確保圖示不會因為左邊文字長而被擠扁 */ }

.remind, .myfavorite { margin-left: 1px;
    cursor: pointer;
    padding: 1px; /* 增加點擊範圍，對手機觸控更友善 */
    transition: transform 0.1s; }

.action-icons .remind, .action-icons .myfavorite { margin-left: 8px; }

/* --- 手機版調整 (螢幕寬度小於 600px) --- */
@media (max-width: 600px) { li.software-item {
        padding: 15px 10px; /* 增加高度，方便手指點擊 */
    }

    span[itemprop="version"] {
        font-size: 14px; /* 縮小字體以容納更多內容 */
    }

    /* 放大圖示，讓手機更易點擊 */
    .fa-lg-2x {
        font-size: 1.5em !important; 
    }

    .remind, .myfavorite {
        margin-left: 8px; /* 稍微縮小間距 */
    	padding: 8px; /* 增加點擊範圍，對手機觸控更友善 */
    } }

/* ------------------ 媒體查詢 --------------------- */

/* 超大螢幕：3840px 以上 */
@media (min-width: 3840px) { .container, .use_container {
        max-width: 2400px;
    } }

/* 大螢幕：2560px 以上 */
@media (min-width: 2560px) { .container, .use_container {
        max-width: 1900px;
    } }

/* 大螢幕：2100px 以上 */
@media (min-width: 2100px) { .container, .use_container {
        max-width: 1900px;
    }
    nav a {
    	font-size: 1.25rem;
    }
	.dropdown-content a {
    	font-size: 1.05rem;
    } }

/* 桌面：1024px 以下 */
@media (max-width: 1024px) { header h1, .header-top h1  {
        font-size: 1.5rem;
    }
    
	nav ul {
    	gap: 0.4rem;
	}
    
    .container {
        max-width: 100%;
        padding: 0 1rem;
        grid-template-columns: 2fr 1fr;
        overflow: hidden;
    }

    .main-content,
    .sidebar {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden;
    }

    .os-menu {
        justify-content: right;
        width: 100%;
    }

    .os-menu i {
        font-size: 2rem;
    }

    .bottom-nav {
        padding: 0.5rem 0;
        gap: 1rem;
    }

    .bottom-nav a {
        font-size: 0.9rem;
    }
    
	.header-top .search-container {
		margin: 0;
	}
    .ad-placeholder.above-fold,
    .ad-placeholder.in-content,
    .ad-placeholder.sidebar-top {
        min-width: 100% !important;
        max-width: 100% !important;
        min-height: 50px;
    }

    .two-card-block {
        flex-direction: row;
        gap: 1.5rem;
        align-items: stretch;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden;
    }

    .two-card-block .card {
        flex: 1 1 0;
        width: 50%;
        max-width: calc(50% - 0.75rem);
    }

    .two-card-block .card h2,
    .two-card-block .card h3,
    .two-card-block .card .software-icon,
    .two-card-block .card p,
    .two-card-block .card section,
    .two-card-block .card .card-bottom {
        flex: 0 0 auto;
    }

    .one-card-block .card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto 1fr auto;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden;
    }

    .one-card-block .card h3 {
        grid-column: 1 / -1;
        grid-row: 1;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden;
        word-break: break-word;
    }

    .one-card-block .card .software-icon {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        max-width: 100% !important;
        aspect-ratio: 16 / 9;
    }

    .one-card-block .card section {
        grid-column: 1 / -1;
        grid-row: 3;
        width: 100% !important;
        max-width: 100% !important;
    }

    .one-card-block .card p {
        grid-column: 1 / -1;
        grid-row: 4;
        width: 100% !important;
        max-width: 100% !important;
        overflow: auto;
    }

    .one-card-block .card .card-bottom {
        grid-column: 1 / -1;
        grid-row: 5;
        overflow: hidden;
    }

    nav a {
        padding: 0.3rem 0.3rem;
    }

    .scroll-button {
        width: 40px;
        height: 40px;
        bottom: 30px;
        right: 15px;
    }

    .scroll-button i {
        font-size: 1.2rem;
    }

    .theme-toggle {
        right: 10px;
        width: 90px;
        height: 30px;
        top: 0;
    }

    .theme-toggle i {
        font-size: 0.9rem;
    }

    .theme-toggle::first-letter {
        font-size: 0.8rem;
    }
    
    .header-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .web_Name {
        flex: 0 0 50%; /* 左半邊 */
    }

    .right-col {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        width: 50%; /* 右半欄 */
    }

    .search-container {
        width: 100%;
        text-align: left;  /* 靠左 */
        display: block; 
    }

    .search-wrapper {
        width: 100%;       /* 撐滿右半欄 */
        max-width: none;   /* 移除桌面限制 */
        display: block;
    }
	.search-icon {
    	position: absolute;
		right: 0.5rem;
    	top: 50%;
    }
	.search-results {
    	top: 80% !important;
    }
    body.dark-mode .sys_class {
        background: none;
    } }

/* 介於1024px與769px之間 */
@media (max-width: 1024px) and (min-width: 769px) { .two-card-block {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .two-card-block .card {
        width: 100% !important;
        max-width: 100% !important;
    }

    .use_left {
        flex: 0 0 25%;
    }

    .use_center {
        flex: 0 0 75%;
    }

    .use_right {
        flex: 0 0 100%;
    }
    
   .category ul {
        grid-template-columns: repeat(3, 1fr);
   }
    .header-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .web_Name {
        flex: 0 0 30%; /* 左半邊 */
    }

    .right-col {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        width: 50%; /* 右半欄 */
    }
	.software-name {
    	font-size: 1.1rem !important;
	}
    .search-container {
        width: 100%;
        text-align: left;  /* 靠左 */
        display: block; 
    }

    .search-wrapper {
        width: 100%;       /* 撐滿右半欄 */
        max-width: 600px;   /* 移除桌面限制 */
        display: block;
    }
	.search-results {
    	top: 80% !important;
    } }

/* 平板：992px 以下 */
@media (max-width: 992px) { .use_left {
        flex: 0 0 25%;
        padding: 0 1rem;
    }

    .use_center {
        flex: 0 0 75%;
        padding: 0;
    }

    .use_right {
        flex: 0 0 100%;
        padding: 0;
    } }

/* 平板：768px 以下 */
@media (max-width: 768px) { body {
        padding: 2px;
    }
    .hamburger {
        display: flex;
    }

    header {
        padding: 1rem;
    }

    .header-top {
        align-items: center;
        margin-bottom: 0.5rem;
    }
    
	.search-wrapper {
        width: 92% !important;
    }
	input::placeholder {
    	font-size: 0.75rem !important;     /* 設定字型大小 */
	}
	
	.searchselect {
    	width: 100px !important;
		right: 32px !important;
		top: -37px !important;
	}

	.searchselect select {
    	font-size: 0.85rem !important;
	}
	
	.searchselect:before {
    	top: 9px !important;
    	right: 10px !important;
	}
	
    header h1 {
        margin-bottom: 0.5rem;
    }

    .os-menu {
        justify-content: right;
        width: 100%;
        margin: 0 0 0.5rem 0;
    }

    .bottom-nav {
        display: none;
    }

    .bottom-nav a {
        font-size: 0.85rem;
    }

    nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 300px;
        height: 100vh;
        transform: translateX(100%);
        z-index: 999;
        box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .nav-open nav {
        transform: translateX(0);
    }

    nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem 1rem 0 1rem;
    }

    .dropdown>a {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        cursor: pointer;
        min-height: 44px;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: #fff;
        border-left: 2px solid #d1d5db;
        border-radius: 0.5rem;
        min-width: 100%;
        max-height: 0;
        overflow: hidden;
    }

    .dropdown.open .dropdown-content {
        max-height: 500px;
    }

    .dropdown-content a {
        padding: 0.5rem 1rem 0.5rem 1.5rem;
        font-size: 0.9rem;
        min-height: 40px;
    }

    .search-container {
        max-width: 90%;
    }

    .container {
        max-width: 100%;
        padding: 0 1rem;
        grid-template-columns: 1fr;
        overflow: hidden;
    }

    .main-content,
    .sidebar {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden;
    }

    .main-content .card,
    .sidebar .card:not(.card_textline_block) {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr auto;
        width: 100% !important;
        max-width: 100% !important;
    }

    .sidebar .card:not(.card_textline_block) h2 {
        font-size: 1.5rem;
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .sidebar .card:not(.card_textline_block) h3 {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .sidebar .card:not(.card_textline_block) .software-icon {
        grid-column: 1;
        grid-row: 3;
        width: 100%;
        max-width: 100% !important;
        aspect-ratio: 16 / 9;
    }

    .sidebar .card:not(.card_textline_block) p {
        grid-column: 1;
        grid-row: 4;
        align-self: start;
    }

    .sidebar .card:not(.card_textline_block) .card-bottom {
        grid-column: 1 / -1;
        grid-row: 5;
    }

    .two-card-block {
        flex-direction: row;
        gap: 1rem;
        align-items: stretch;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden;
    }

    .two-card-block .card {
        flex: 1 1 0;
        width: 50%;
        max-width: calc(50% - 0.5rem);
    }

    .one-card-block .card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto 1fr auto;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden;
    }

    .scroll-button {
        width: 40px;
        height: 40px;
        bottom: 30px;
        right: 15px;
    }

    .scroll-button i {
        font-size: 1.2rem;
    }

    .theme-toggle {
        right: 35px;
        width: 90px;
        height: 30px;
        top: 0;
    }

    .theme-toggle i {
        font-size: 0.8rem;
    }
    .category ul {
      grid-template-columns: repeat(2, 1fr);
    } }

/* 手機：600px 以下 */
@media (max-width: 600px) { .modal-content {
        max-width: 95%;
        max-height: 95%;
        padding: 15px;
    }

    .modal-content .close-btn {
        top: 8px;
        right: 8px;
        font-size: 1.25rem;
    }

    .custom-tooltip {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    .use_left,
    .use_center,
    .use_right {
        flex: 0 0 100%;
    } }

/* 手機：480px 以下 */
@media (max-width: 480px) { header {
        padding: 0.75rem;
    }

    header h1 {
        font-size: 1.5rem;
    }
    
    .header-top {
        display: grid;
        grid-template-columns: 1fr; /* 只有一欄 */
        grid-template-rows: auto auto; /* 上下兩列 */
        gap: 0.5rem;
    }
    .search-wrapper {
        width: 92% !important;
        margin: 0 auto;
    }
    .web_Name {
        grid-row: 1; /* 第一列 */
    }

    .right-col {
        grid-row: 2; /* 第二列 */
        display: grid; 
        grid-template-columns: 1fr; /* 單欄 */
        grid-template-rows: auto auto; /* 2在上，3在下 */
        gap: 0.3rem;
        width: 100%;
    }

    .search-container {
        grid-row: 1; /* 上 */
        max-width: 100%;
    }
    .os-menu {
        grid-row: 2; /* 下 */
    	gap: 0.15rem;
		justify-content: center;
    }

    .os-menu a {
        font-size: 0;
    }

    .hamburger {
        top: 0.75rem;
        right: 0.75rem;
    }

    nav {
        max-width: 280px;
        padding: 0.5rem;
    }

    .nav-bottom-nav a {
        padding: 0.4rem;
        font-size: 0.9rem;
    }

    .dropdown>a {
        padding: 0.6rem 0.75rem;
        font-size: 0.9rem;
    }

    .dropdown-content a {
        padding: 0.4rem 0.75rem 0.4rem 1.25rem;
        font-size: 0.85rem;
    }

    .main-content,
    .sidebar {
        padding: 0;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden;
    }

    .main-content .card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr auto;
        width: 100% !important;
        max-width: 100% !important;
    }
	.use_container {
    	flex-wrap: wrap;
    }
    .card .software-icon {
        width: 100%;
        max-width: 100% !important;
        aspect-ratio: 16 / 9;
    }

    .footer ul {
        flex-direction: column;
        gap: 1rem;
    }

    .footer {
        padding: 1.5rem 1rem;
    }

    .ad-placeholder {
        padding: 1rem;
        min-width: 100% !important;
        max-width: 100% !important;
        min-height: 40px;
    }

    .two-card-block {
        flex-direction: column;
        gap: 1rem;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden;
    }

    .two-card-block .card {
        flex: none;
        width: 100% !important;
        max-width: 100% !important;
    }

    .two-card-block .card h2 {
        font-size: 1.5rem;
    }

    .scroll-button {
        width: 36px;
        height: 36px;
        bottom: 25px;
        right: 10px;
    }

    .scroll-button i {
        font-size: 1rem;
    }

    .theme-toggle {
        right: 45px;
        width: 40px;
        height: 26px;
        top: 6px;
        font-size: 0;
        cursor: pointer;
        background: none;
        border: none;
    }

    .theme-toggle i {
        font-size: 0.8rem;
    }

    .theme-toggle::first-letter {
        font-size: 0.8rem;
    }

    .review_result .sys_icon {
        position: relative !important;
        display: inline-block;
        float: right;
    }
    
    .category ul {
      grid-template-columns: 1fr;
    }

	.searchselect {
        width: 100px !important;
        right: 40px !important;
        top: -40px !important;
	}
	
	.searchselect select {
		font-size: 0.9rem !important;
	}
	
	input::placeholder {
    	font-size: 0.7rem;
	}
	
	#search-input {
		padding-left: 0.25rem;
	}
	
    .use_left {
        padding: 0;
    }
    
    .use_categories {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 兩欄等寬 */
        gap: 0.5rem; /* 欄間距，可自行調整 */
        padding: 0;
        margin: 0;
        list-style: none; /* 移除預設點 */
    }

    .use_categories li {
        margin: 0;       /* 移除多餘外距 */
    }

    .use_categories li a {
        display: block;  /* 讓連結填滿整個 li */
        padding: 0.4em 0.6em;
        text-decoration: none;
    } }

/* 手機：360px 以下 */
@media (max-width: 360px) { nav {
        max-width: 260px;
    }

    .nav-bottom-nav a {
        font-size: 0.85rem;
        padding: 0.3rem;
    }

    .dropdown>a {
        padding: 0.5rem 0.6rem;
        font-size: 0.85rem;
    }

    .dropdown-content a {
        padding: 0.35rem 0.6rem 0.35rem 1rem;
        font-size: 0.8rem;
    }

    .scroll-button {
        width: 32px;
        height: 32px;
        bottom: 20px;
        right: 8px;
    }

    .scroll-button i {
        font-size: 0.9rem;
    }

    .theme-toggle {
        right: 40px;
        width: 36px;
        height: 24px;
        top: 6px;
    }

    .theme-toggle i {
        font-size: 0.7rem;
    } }

/* 載入中動畫 */
.loading { padding: 20px;
    text-align: center;
    color: #999; }

.fa-spin { animation: fa-spin 2s infinite linear; }

@keyframes fa-spin { 0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); } }

.page_amount { margin-bottom: 8px;
    text-align: right;
    display: block; }

.page_amount span { margin-right: 0.5rem; }

.select-wrapper { text-decoration: none;
    display: inline-block;
    position: relative; }

.select-wrapper:before { color: rgba(144, 144, 144, 0.25);
    display: block;
    height: 2.75em;
    line-height: 2.75em;
    pointer-events: none;
    position: absolute;
    right: -0.8em;
    text-align: center;
    top: 0;
    width: 2.75em;
    content: "\f078";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    text-transform: none !important; }

.subnav .class2 { font-weight: 600;
    color: #fff; }

.snarl-icon .fa-lg { font-size: 3em; }

.display_os .fab.fa-lg { color: #fff;
    font-size: 2em;
    line-height: 1.6em; }

/* 按鈕和標籤 */
.toRight { background: url('/images/right_a.png') center no-repeat;
    background-position: center;
    background-repeat: no-repeat;
    bottom: 50%;
    cursor: pointer;
    display: none;
    height: 48px;
    overflow: hidden;
    position: fixed;
    right: 20px;
    text-decoration: none;
    text-indent: 100%;
    width: 5em;
    z-index: 9999;
    opacity: 0.4; }

.toLeft { background: url('/images/left_a.png') center no-repeat;
    background-position: center;
    background-repeat: no-repeat;
    bottom: 50%;
    cursor: pointer;
    display: none;
    height: 48px;
    overflow: hidden;
    position: fixed;
    left: 20px;
    text-decoration: none;
    text-indent: 100%;
    width: 5em;
    z-index: 9999;
    opacity: 0.4; }

.new_into { border-radius: 9999px;
    font-weight: 700;
    line-height: 1em;
    padding: 3px 10px;
    text-align: center;
    background: #e97200 none repeat scroll 0 0;
    color: #ffffff;
    margin-right: 6px;
    font-size: 1.25rem; }

.system_lang { border-radius: 9999px;
    font-weight: 700;
    line-height: 1em;
    padding: 3px 10px;
    text-align: center;
    color: #ffffff;
    margin-right: 0;
    font-size: 1.25rem; }

.fa-lg.card_name { color: #a5a0a0;
    font-size: 2rem;
    display: inline; }

.card a { color: #323338;
    padding: 2px 6px;
    line-height: 1.4em;
    font-size: 1.25rem; }

.To_edit .fas { color: #a5a0a0;
    margin-left: 0.5rem; }

.categories a { font-weight: bold;
    font-size: 1rem; }

.right.categories .fab.fa-lg { font-size: 1.5rem;
    color: #ea4c89; }

.noData h3 { text-align: center;
    font-size: 1.5rem;
    color: #c62828; }

.above-fold, .sidebar-top { padding: 1rem 0; }

.latest-focus { display: inline-block;
    margin-bottom: 0.25rem; }

.two-card-block .tags, .sidebar .card-info .tags { display: flex;
    align-items: center;
    justify-content: left;
    gap: 1px;
    margin-bottom: 0.25rem; }

.tag { display: flex;
  justify-content: space-between; /* 左右分佈 */
  align-items: center;            /* 垂直置中 */
  margin-bottom: 0.75rem;
  font-weight: 700; }

.card-info .tags { display: flex;
  	align-items: center;            /* 垂直置中 */
    margin-top: 1rem; }

.tags .delete-wrap { width: 40px;          /* 固定寬度 */
    margin-left: auto;   /* 這行是關鍵 */
    display: flex;
    justify-content: center;
    align-items: center; }

.tag-left { display: flex;
  gap: 8px; /* Free 與 多語間距 */ }

.tag-right { display: flex;
  align-items: center;
  gap: 8px; /* 日期 與 愛心間距 */ }

.content-section { display: flex;
    gap: 24px;
    margin-bottom: 24px;
	overflow: hidden;
    max-height: 500px; /* 設定一個大於內容高度的值 */
    transition: all 0.5s ease;
    opacity: 1; }

/* 隱藏狀態 */
.content-section.hidden, .text-section.hidden { max-height: 0;
    opacity: 0;
    margin-top: 0;
    margin-bottom: 0; }

.content-section_up { display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1; }

.text-section { flex: 5.5;
    min-width: 0;
    margin-top: 1rem; }

.image-section { flex: 4.5;
    min-width: 0;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    box-sizing: border-box;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem; }

.content-section.no-image { display: inline-block;
    width: 100%; }

.image-section:empty { display: none !important; }

.two-card-block .highlight-text { color: #cc0000;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
    height: 5rem; }

.Inline .highlight-text { color: #cc0000;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
    height: 5rem; }

.Horizontal .highlight-text { color: #cc0000;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
    max-height: 125px; }

.description-text { font-size: 1rem;
    color: #374151;
    margin-bottom: 12px;
    line-height: 1.7;
    overflow: hidden;
    min-height: 190px; }

.card-info .Horizontal .description-text { font-size: 1rem;
    color: #374151;
    margin-bottom: 8px;
    line-height: 1.7;
    max-height: 270px;
    overflow: hidden; }

.bottom-tags { display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 2px solid #2196F3; }

.left-tags { display: flex;
    align-items: center;
    gap: 8px; }

.separator { color: #374151;
    font-weight: bold; }

.right-tags { display: flex;
    align-items: center; }

.scrollable-section { margin-bottom: 10px;
	text-align: left; }

.basic_information_ul { list-style: none;
    padding: 0;
    margin: 0; }

.basic_information_ul li { padding: 10px 12px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center; }

.side_information_ul { list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%; }

.side_information_ul li { padding: 10px 12px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    display: block;
    justify-content: space-between;
    align-items: center; }

.side_information_ul li > div:first-child { margin-bottom: 10px; }

.side_information_ul li > div:last-child { margin: 0.5rem 0 0 0.5rem; margin-bottom: 0; }

.side_information_ul li > div { display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 10px; }

.side_information_ul li > span { display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 10px; }

.side_information_ul i { flex-shrink: 0;
    margin-right: 10px;
    min-width: 20px;
    text-align: center; }

.side_information_ul a { color: #2980b9;
    text-decoration: none;
    flex: 1;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto; }

.basic_information_ul li:last-child, .side_information_ul li:last-child { border-bottom: none; }

.modal_container .basic_information_ul li { padding: 6px 12px;
    width: 100%; }

.bg-danger { background: #f3f3f3; }

.myfavorite, .remind, .read_remind { cursor: pointer;
    color: #aaa;
    transition: color 0.3s; }

.remind { position: relative; }

.remind:hover::after { content: attr(title);
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 18px 6px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 100;
    font-weight: 100; }

.Limit_free_link { color: #3684bf;
    padding: 6px;
    margin-bottom: 2rem;
    font-weight: 800; }

.download_button { background: #7b68ee;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    transition: background 0.3s; }

.download_button:hover { background: #5d4dcf; }

/* ============================================================
   AI 智能亮點快讀 - 完整樣式表 (含流光動畫與響應式佈局)
   ============================================================ */

/* 1. 定義動畫：流光掃過與位移 */
@keyframes aiShimmer { 0% { background-position: -200% 0; }
    100% { background-position: 200% 0; } }

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

@keyframes aiBlink { 0%, 100% { opacity: 1; }
    50% { opacity: 0.5; } }

/* 2. 外層容器：淺藍色科技感背景 */
.ai-summary-container { background: #f8faff; 
    border: 1px solid #d1e3ff;
    border-radius: 12px;
    padding: 25px;
    margin: 10px 0 10px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    /* 容器浮現動畫 */
    animation: aiSlideUp 0.6s ease-out forwards; }

/* 3. 背景流光效果層 (::after) */
.ai-summary-container::after { content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.7) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 100%;
    animation: aiShimmer 3s infinite linear;
    pointer-events: none; }

/* 4. 標題與標籤 */
.ai-summary-title { font-weight: 700;
    color: #1a3a6d;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2; }

.ai-summary-title i { margin-right: 10px;
    color: #4a90e2;
    font-size: 1.5rem; }

/* 5. 亮點項目 (一行一個點的關鍵) */
.ai-summary-content { position: relative;
    z-index: 2; }

.ai-item { display: flex !important;
    width: 100% !important; /* 強制佔滿寬度，達成一行一個點 */
    align-items: flex-start;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
    font-size: 15px; }

.ai-item i { color: #218838; /* 鮮明綠色 */
    margin-right: 12px;
    margin-top: 4px;
    font-size: 16px;
    flex-shrink: 0; /* 確保圖示不會被擠壓 */ }

.ai-item span { display: inline-block;
    text-align: justify;
	font-size: 1.1rem; }

.ai-badge { background: #4a90e2;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: blink 2s infinite; /* 讓小標籤閃爍 */ }

/* 6. 響應式微調：螢幕小於等於 1024px */
@media screen and (max-width: 1024px) { .ai-summary-container {
        padding: 20px 15px;
        margin-bottom: 20px;
    }

    .ai-summary-title {
        font-size: 1.05rem;
        margin-bottom: 15px;
    }

    .ai-item {
        margin-bottom: 12px;
        padding-bottom: 12px;
        border-bottom: 1px dashed #d1e3ff; /* 行間虛線 */
        font-size: 14.5px;
    }

    .ai-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .ai-item i {
        margin-right: 10px;
        font-size: 14px;
    } }

.file_text ul { list-style: disc inside;
    margin: 10px 0 10px 20px;
    padding: 0; }

.file_text li { margin-bottom: 6px; }

.image_related ul { list-style: none;
    margin: 0;
    padding: 0; }

.image_related img { max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 10px;
    transition: transform 0.3s; }

.image_related img:hover { transform: scale(1.02); }

.footer-right { text-align: right;
    font-size: 0.85rem;
    color: #374151; }

.float-right { float: right;
    text-align: right;
    margin-right: 1rem; }

.float-left { float: left;
    text-align: left;
    margin-right: 1rem; }

.text-right { text-align: right; }

.text-left { text-align: left; }

.download_button_red, .detailed_button { padding: 0.6em;
    background-color: #D20059;
    line-height: 2.2em;
    font-size: 1.3em;
    font-weight: 700;
    border-radius: 25px;
    margin-top: 0.5em;
    color: #fff; }

a::after { content: '';
    position: absolute;
    width: 98%;
    height: 2px;
    bottom: -2px;
    left: 1%;
    background: #3498db;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease; }

a:hover::after { transform: scaleX(1);
    transform-origin: left; }

.fa-lg-blue { color: #3b82f6; }

/* 綠色標示 */
.fa-lg-green { color: #156427 !important;
    cursor: default;
    opacity: 0.7; }

/* 預設狀態增加轉場動畫，點擊感更順滑 */
.read_remind { cursor: pointer;
    transition: all 0.2s ease; }

.read_remind:hover { transform: scale(1.1); /* 滑鼠經過稍微放大 */ }

/* 只有尚未已讀的圖示才有游標與放大效果 */
.read_remind:not(.fa-lg-green) { cursor: pointer;
    transition: transform 0.2s ease; }

.read_remind:not(.fa-lg-green):hover { transform: scale(1.15);
    color: #28a745; /* 懸停時先變淡綠色提示 */ }

/* 在你的 CSS 中加入 */
.read_remind { position: relative; }

.read_remind:hover::after { content: attr(title);
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 18px 6px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 100;
    font-weight: 100; }

.read_remind:not(.fa-lg-green) { cursor: pointer; }

/* 消失動畫：透明度降至 0，並向左輕微位移 */
.item-fade-out { opacity: 0 !important;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none; /* 防止動畫期間再次被點擊 */ }

.item-fade-out-snappy { opacity: 0 !important;
    transform: scale(0.98) translateY(-5px); /* 輕微縮小並向上飄一點點 */
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    pointer-events: none; }

#btn-mark-all { display: none; }

.fa-lg-gray { color: #a2afb9;
    line-height: 2rem; }

.fa-lg-red { color: #cc0000 !important;
    /* line-height: 2rem; */ }

.pointer { cursor: pointer; }

.fa-lg-x { font-size: 1.5rem; }

.fa-lg-2x { font-size: 2rem;
    line-height: 1.5rem;
    padding-left: 0.5rem; }

.font-bold { font-weight: 800; }

.font-gray { color: #a2afb9; }

.font-left { text-align: left;
    float: inline-end; }

.font-right { text-align: right;
    float: inline-end; }

.custom-tooltip { position: absolute;
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9999; }

/* 時間軸樣式 */
.timeline { max-width: 1215px;
    margin: 2rem auto !important;
    padding: 0 16px;
    position: relative; }

.timeline-row { position: relative;
    margin: 28px 0; }

.timeline-left { position: absolute;
    left: -160px;
    top: 0;
    width: 160px;
    text-align: right; }

.timebox { color: #6b7c93;
    line-height: 1.2; }

.time-title { font-size: 14px;
    color: #90a4ae;
    margin-bottom: 6px; }

.time-text { font-size: 16px;
    font-weight: 700; }

.node { position: absolute;
    right: -22px;
    top: 6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 6px solid var(--blue);
    box-shadow: 0 0 0 4px #e8f3fb; }

.node.type-download { border-color: var(--orange);
    box-shadow: 0 0 0 4px #fdf0e3; }

.timeline_card { background: var(--card);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
    overflow: hidden;
    border: 6px solid var(--blue);
    padding: 10px 14px 16px; }

.timeline_card.type-download { border-color: var(--orange); }

.card-head { display: flex;
    align-items: center;
    justify-content: space-between; }

.badges .badge { display: inline-block;
    font-size: 12px;
    background: #e7f3ff;
    color: #1565c0;
    border-radius: 16px;
    padding: 2px 8px;
    margin-right: 6px; }

.timeline_card.type-download .badges .badge { background: #fff2df;
    color: #b66219; }

.btn-del { border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: #8d99a6; }

.btn-del:hover { color: #c62828; }

.card-body { display: flex;
    gap: 16px;
    margin-top: 10px; }

.thumb { width: 360px;
    max-width: 40%;
    background: #fafafa;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center; }

.thumb img { width: 100%;
    height: auto;
    display: block; }

.noimg { padding: 30px;
    color: #90a4ae;
    font-size: 14px; }

.content { flex: 1;
    min-width: 0; }

.title { margin: 4px 0 6px;
    font-size: 20px;
    font-weight: 800; }

.desc { margin: 0;
    color: #455a64;
    line-height: 1.7;
    font-size: 14px;
    max-height: 6.2em;
    overflow: hidden; }

.meta-line { margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #607d8b;
    font-size: 13px; }

.pill { display: inline-block;
    border-radius: 14px;
    padding: 2px 8px;
    background: #eaf3fb;
    color: #1565c0; }

.timeline_card.type-download .pill { background: #fff2e3;
    color: #b66219; }

.ago { color: #78909c; }

.pager { padding: 20px 0 40px 160px;
    text-align: left; }

.page-link.active { background: #1976d2;
    color: #fff;
    cursor: default; }

.page-link.disabled { opacity: .5;
    pointer-events: none; }

.webad_display { margin-bottom: 2rem; }

/* ====== 卡片整體區塊 ====== */
.download_section { margin: 20px auto;
  background: #fff;
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  line-height: 1.6;
  color: #333;
  transition: background 0.3s, color 0.3s; }

.download_section h2 { font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
  color: #444; }

/* ====== 規範列表 ====== */
.download_terms { list-style: disc inside;
  margin: 0 0 20px 15px;
  padding: 0; }

.download_terms li { margin-bottom: 8px;
  font-size: 0.95rem; }

/* ====== 下載連結列表 ====== */
.download_links { margin: 25px 0; }

.download_list { list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px; }

.download_list li { text-align: center; }

.download_homepage dt { font-size: 2rem;
    margin: 1rem auto;
    text-align: center;
    font-weight: 800;
    color: #cc0000; }

.download_rule dt { font-size: 1.25rem;
    font-weight: 800;
    margin: 0 2rem; }

.download_rule .rule_list { margin: 0 2rem; }

.responsive ul { list-style: none;
    padding: 1px; }

.download_info-left { width: 50%;
    text-align: center;
    display: inline-block; }

.download_info-right-xx { width: 50%;
    text-align: center;
	display: flex;
  	flex-direction: column;
  	justify-content: flex-start;
  	align-items: flex-start;
  	margin-top: 0;
  	padding-top: 0; }

.download_url_link-xx { margin: 2rem;
	display: flex;
    align-items: flex-start; /* 父容器內子元素靠頂 */ }

.download_url_link { display: flex;
    gap: 20px;               /* 左右間距 */
    padding: 10px;
    box-sizing: border-box; }

.download_info-left,
.download_info-right { flex: 1;                 /* 左右平分寬度 */
    display: flex;
    flex-direction: column;  /* 垂直排版 */
    padding: 10px;
    box-sizing: border-box; }

.download_info-right dt { margin-top: auto;        /* 把 dt 推到底部 */
    color: #fff;
    padding: 8px;
    text-align: left; }

/* 修正潛在的子元素樣式 */
.download_lid { margin-top: 0;
  padding-top: 0; }

.download_bigicon_blue li { margin: 1rem; }

.button_retry { background: #28a745;
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.3s; }

.button_retry:hover { background: #218838; }

/* loader 動畫 (轉圈圈) */
.loader { text-align: center;
  display: none; /* 預設隱藏 */
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  margin: 10px auto;
  animation: spin 1s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease; }

.loader.show { display: block;
  opacity: 1; }

.loader.hide { opacity: 0;
  transition: opacity 0.3s ease; }

.downloadDiv { text-align: center;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease; }

/* 顯示狀態 */
.downloadDiv.show { max-height: 500px; /* 足夠容納內文的高度，可以設大一點 */
  opacity: 1; }

.downloadDiv h2 { color: #cc0000; }

.buttonload { display: inline-block;
    background: #E70112;
    color: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s; }

.app_download_icon { width: 250px;
    height: 66px; }

span.apple_download-button { display: inline-block;
    width: 250px;
    height: 72px;
    background: url(/images/app-store.svg);
    background-size: 250px 72px; }

span.google_download-button { display: inline-block;
    width: 250px;
    height: 72px;
    background: url(/images/google-play.svg);
    background-size: 250px 72px; }

.glass-card { padding: 1rem;
    		margin-bottom: 2rem;
            border-radius: 15px;
            display: flex;
            flex-direction: column;
            color: #2c3e50;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            background-color: white; /* 白色背景 */
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }

/* 基礎玻璃邊框效果 */
        .glass-basic { border: 1px solid rgba(255, 255, 255, 0.9);
            box-shadow: 
                0 8px 32px rgba(0, 0, 0, 0.1),
                inset 0 0 0 1px rgba(255, 255, 255, 0.9),
                inset 0 0 20px rgba(255, 255, 255, 0.5); }

/* 高級玻璃邊框效果 */
        .glass-advanced { position: relative;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.95);
            box-shadow: 
                0 10px 35px rgba(0, 0, 0, 0.1),
                inset 0 0 0 1px rgba(255, 255, 255, 0.9),
                inset 0 0 30px rgba(255, 255, 255, 0.6); }

.glass-advanced::before { content: '';
            position: absolute;
            top: -10px;
            left: -10px;
            right: -10px;
            bottom: -10px;
            background: linear-gradient(45deg, 
                rgba(255, 255, 255, 0.1), 
                rgba(255, 255, 255, 0.3),
                rgba(255, 255, 255, 0.1));
            z-index: 0;
            filter: blur(15px); }

/* 彩色玻璃邊框效果 */
        .glass-colored { border: 1px solid rgba(200, 230, 255, 0.8);
            box-shadow: 
                0 10px 35px rgba(0, 0, 0, 0.1),
                inset 0 0 0 1px rgba(200, 230, 255, 0.7),
                inset 0 0 25px rgba(200, 230, 255, 0.4); }

/* 深色玻璃邊框效果 */
        .glass-dark { border: 1px solid rgba(0, 0, 0, 0.1);
            box-shadow: 
                0 10px 35px rgba(0, 0, 0, 0.1),
                inset 0 0 0 1px rgba(255, 255, 255, 0.9),
                inset 0 0 20px rgba(0, 0, 0, 0.05); }

.glass-card:hover { transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15); }

.glass-box { flex: 1;
            min-width: 250px;
            padding: 30px;
            border-radius: 15px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
            transition: transform 0.3s ease; }

.glass-box:hover { transform: translateY(-5px); }

/* 基礎玻璃效果 */
        .glass-effect-1 { background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); }

/* 更強烈的玻璃效果 */
        .glass-effect-2 { background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 
                0 8px 32px rgba(0, 0, 0, 0.2),
                inset 0 0 0 1px rgba(255, 255, 255, 0.1); }

/* 彩色玻璃效果 */
        .glass-effect-3 { background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.15), 
                rgba(255, 255, 255, 0.05));
            backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 
                0 10px 35px rgba(0, 0, 0, 0.2),
                inset 0 0 15px rgba(255, 255, 255, 0.1); }

/* 帶有內發光的玻璃效果 */
        .glass-effect-4 { background: rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 
                0 8px 32px rgba(0, 0, 0, 0.2),
                inset 0 0 20px rgba(255, 255, 255, 0.1); }

body.dark-mode .card a { color: #f5f5f5; }

body.dark-mode { background: #181a1b;
    color: #e4e6eb; }

body.dark-mode h2 { color: #ddd; color: #ddd;
  border-left-color: #9a85ff; }

body.dark-mode .basic_information_ul li { border-bottom: 1px solid #444; }

body.dark-mode .download_button { background: #9a85ff; }

body.dark-mode .download_button:hover { background: #7b68ee; }

body.dark-mode a:hover { color: #a6c1ff; }

body.dark-mode .footer-right { color: #aaa; }

body.dark-mode .bg-danger { background: #242526; }

body.dark-mode .Limit_free_link { color: #aaa; }

body.dark-mode .download_section { background: #242526;
  color: #ddd;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6); }

body.dark-mode blockquote { background: linear-gradient(135deg, #2d3748, #1f2937);
  color: #ccc; }

body.dark-mode .button_retry { background: #3fbf6f; }

body.dark-mode .button_retry:hover { background: #2fa35a; }

/* ----------------------- 響應式設計 ------------------------- */
@media (max-width: 1024px) { .content-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .image-section {
        flex: none;
        order: 1;
        margin-bottom: 0;
    }
    
    .text-section {
        flex: none;
        order: 2;
    }
    
    .software-card {
        padding: 20px;
    }
    
    .bottom-tags {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .right-tags {
        align-self: flex-end;
    }
    
	.fa-lg-2x {
    	font-size: 1.5rem;
    	line-height: 1.5rem;
    	padding-left: 0.5rem;
	} }

/* --- CONSOLIDATED MEDIA QUERIES --- */
@media (max-width: 1180px) and (min-width: 1025px) {
	.header-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .right-col {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        width: 50%;
    }
    
	.search-container {
    	width: 80%;
	}
	
	.search-wrapper {
		height: 50px;
	}
	
	nav ul {
    	gap: 0.25rem;
	}
	
	.os-menu {
    	width: 100%;
    }
    
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .software-card {
        padding: 0.5rem;
    }
    
    .software-name {
        font-size: 20px;
    }
    
    .software_container {
        padding: 1px;
    }
    
    h2 {
        font-size: 1.2rem;
    }
    
    .download_button {
        width: 100%;
        text-align: center;
    }
    
    .version_illustrate blockquote {
        grid-template-columns: 1fr;
    }
    
    .version-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .version-divider {
        display: none;
    }
    
    .version-item .arch {
        margin-bottom: 8px;
        min-width: auto;
    }
}

@media (max-width: 600px) {
  .download_list {
    grid-template-columns: 1fr;
  }
  .dl_btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
    .software-name {
        font-size: 18px;
    }
    
    .highlight-text {
        font-size: 15px;
    }
    
    .description-text {
        font-size: 13px;
    }
	.download_section {
    	margin: 1rem auto;
    	padding: 0;
	}
	.download-container {
    	margin: 1rem auto;
    	padding: 0;
	}
	.download_rule .rule_list {
    	margin: 0 1rem;
	}
	.download_software .softpage_data {
    	margin: 1rem;
	}
	.download_url_link {
    	margin: 1rem;
		display: inline;
	}
	.download_info-left, .download_info-right {
    	width: 100%;
	}
	ul.download_lid {
		padding-left: 0;
	}
	.download_homepage dt {
    	font-size: 1.5rem;
	}
    .sys_class .homepage_name {
        font-size: 1rem;
        width: 8rem;
    }
 	.sys_class .web_date {
        font-size: 1rem;
 	}
	.freeware_into, .system_lang {
		margin-right: 0;
        line-height: 1.1rem;
        font-size: 1.1rem;
		padding: 2px 10px;
	}
	.remind, .myfavorite {
        margin-left: 0;
        padding: 0;
    }
	.update_date {
		font-size: 1.1rem;
	}
}