/* 防騙須知 (/anti_scam) */
.antiScam p,
.antiScam .ui.bulleted.list > .item,
.antiScam .ui.message li {
    font-size: 16px;
    line-height: 1.6;
}
.antiScam .ui.warning.message > p {
    font-weight: bold;
}
.antiScam .ui.message .list {
    margin: 0.5em 0;
    padding-left: 1.2em;
}
.antiScam .ui.message .list li {
    margin: 0.3em 0;
}
.antiScam p.antiScamNote {
    color: rgba(0, 0, 0, 0.6);
    font-size: 15px;
}
.antiScam h4.ui.header {
    margin-top: 1.6em;
    font-size: 17px;
}

/* 標題大小：頁面標題 24px，四個段落標題 20px，手法標題 17px（內文 16px） */
.antiScam .ui.header.antiScamTitle {
    font-size: 24px;
}
.antiScam .ui.header.antiScamSection,
.antiScam .ui.message > .header.antiScamSection {
    font-size: 20px;
    line-height: 1.3;
}
.antiScam .ui.message > .header.antiScamSection {
    margin-bottom: 0.4em;
}
.antiScam .antiScamEmoji {
    margin-right: 0.3em;
}

/* 截圖列：手機版單行左右滑動，網頁版換行排列 */
.antiScam .antiScamShots {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0.8em 0 1.2em;
    padding-bottom: 6px;
}
.antiScam .antiScamShots > * {
    flex: 0 0 auto;
}
.antiScam .antiScamShots a {
    display: block;
}
.antiScam .antiScamShots img {
    display: block;
    width: 230px;
    height: auto;
    border: 1px solid rgba(34, 36, 38, 0.15);
    border-radius: 8px;
}
@media (min-width: 768px) {
    .antiScam .antiScamShots {
        flex-wrap: wrap;
        overflow-x: visible;
    }
    .antiScam .antiScamShots img {
        width: 260px;
    }
}

/* 手法索引：網站版分兩欄由上而下排列，窄螢幕一欄 */
.antiScam .antiScamToc {
    columns: 300px 2;
    column-gap: 32px;
    margin: 0 0 1.2em;
    padding: 10px 16px;
    background: #f6f8fa;
    border: 1px solid rgba(34, 36, 38, 0.12);
    border-radius: 6px;
}
.antiScam .antiScamToc a {
    display: block;
    padding: 3px 0;
    font-size: 15px;
    line-height: 1.5;
    color: #2172b8;
    break-inside: avoid;
}
.antiScam .antiScamToc a:hover {
    text-decoration: underline;
}
.antiScam [id^="anti_scam_"] {
    scroll-margin-top: 12px;
}

/* 截圖彈出視窗 */
.antiScam .antiScamShots a.antiScamShot img {
    cursor: zoom-in;
}
.antiScamViewer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.85);
    cursor: zoom-out;
}
.antiScamViewer[hidden] {
    display: none;
}
.antiScamViewer img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    background: #fff;
}
body.antiScamViewerOn {
    overflow: hidden;
}

/* 保護自己：淺紅色框，重點字眼加粗 */
.antiScam .antiScamProtect {
    margin: 1em 0 1.5em;
}
.antiScam .antiScamProtect strong {
    color: #912d2b;
}

/* 警號分組標題及重點字眼 */
.antiScam .antiScamGroup {
    font-weight: bold;
    margin: 0.8em 0 0.2em;
}
.antiScam .antiScamKey {
    color: #db2828;
}
