/* 원본 상세페이지 디자인 시스템 완벽 보존 */
    .wiki-page-wrapper { padding: 40px; max-width: 1000px; margin: 0 auto; width: 100%; }

    .page-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    .page-title {
        color: #ffbc05;
        font-size: 1.8rem;
        font-weight: bold;
        margin: 0;
    }

    .back-to-list-btn {
        background: #2a2d37;
        border: 1px solid #444;
        color: #ffbc05;
        padding: 10px 18px;
        cursor: pointer;
        border-radius: 6px;
        text-decoration: none;
        font-size: 0.9rem;
        transition: all 0.2s ease;
    }
    .back-to-list-btn:hover { background: #3f4352; border-color: #ffbc05; }

    .wiki-page-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 8px;
    }

    .wiki-discord-share {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 39px;
        padding: 0 14px;
        border: 1px solid #5865F2;
        border-radius: 6px;
        background: rgba(88, 101, 242, 0.12);
        color: #dbe1ff;
        font-size: 0.9rem;
        font-weight: 800;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    .wiki-discord-share:hover { background: #5865F2; color: #fff; }

    .page-divider { border: 0; height: 1px; background: #333; margin: 20px 0 40px 0; }

    .wiki-trust-panel {
        margin: -18px 0 34px;
        padding: 18px 20px;
        background: #171d27;
        border: 1px solid #343b4a;
        border-radius: 10px;
        color: #b9c1cf;
    }

    .wiki-trust-panel > summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        cursor: pointer;
        list-style: none;
    }

    .wiki-trust-panel > summary::-webkit-details-marker { display: none; }

    .wiki-trust-panel > summary::after {
        content: '펼치기';
        margin-left: auto;
        color: #ffcf45;
        font-size: 0.82rem;
        font-weight: 800;
    }

    .wiki-trust-panel[open] > summary::after { content: '접기'; }

    .wiki-trust-panel[open] > summary { margin-bottom: 14px; }

    .wiki-trust-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 14px;
    }

    .wiki-trust-title {
        margin: 0;
        color: #f3f6fb;
        font-size: 1rem;
    }

    .wiki-quality-badge {
        display: inline-flex;
        align-items: center;
        min-height: 28px;
        padding: 0 10px;
        border: 1px solid #8b6d17;
        border-radius: 999px;
        background: rgba(255, 188, 5, 0.09);
        color: #ffd867;
        font-size: 0.76rem;
        font-weight: 800;
        white-space: nowrap;
    }

    .wiki-quality-badge.is-reviewed {
        border-color: #23784a;
        background: rgba(46, 204, 113, 0.09);
        color: #7ee2a8;
    }

    .wiki-trust-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 24px;
        margin: 0;
    }

    .wiki-trust-item {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 8px;
        line-height: 1.55;
        font-size: 0.84rem;
    }

    .wiki-trust-item dt { color: #7f899b; }
    .wiki-trust-item dd { margin: 0; color: #d5dbe5; }

    .wiki-source-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin: 14px 0 0;
        padding: 14px 0 0;
        border-top: 1px solid #2c3442;
        list-style: none;
    }

    .wiki-source-list a,
    .wiki-correction-link {
        color: #8bb7ff;
        text-decoration: underline;
        text-underline-offset: 3px;
        font-size: 0.82rem;
    }

    .wiki-source-list li:not(:last-child)::after {
        content: '·';
        margin-left: 8px;
        color: #596273;
    }

    .wiki-trust-note {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 18px;
        margin-top: 12px;
        color: #8791a3;
        font-size: 0.78rem;
        line-height: 1.6;
    }

    .wiki-review-contract {
        margin: 0 0 24px;
        padding: 22px;
        border: 1px solid #31516a;
        border-left: 4px solid #39c6b4;
        border-radius: 12px;
        background:
            linear-gradient(135deg, rgba(57, 198, 180, 0.08), transparent 46%),
            #0b1422;
        color: #dbe5f1;
    }

    .wiki-review-answer {
        padding-bottom: 18px;
        border-bottom: 1px solid #26364d;
    }

    .wiki-review-kicker,
    .wiki-review-label {
        display: block;
        margin-bottom: 7px;
        color: #64d9c9;
        font-size: 0.72rem;
        font-weight: 900;
        letter-spacing: 0.08em;
    }

    .wiki-review-answer h2 {
        margin: 0;
        color: #f8fafc;
        font-size: clamp(1.2rem, 2.4vw, 1.65rem);
        line-height: 1.35;
        word-break: keep-all;
    }

    .wiki-review-answer p,
    .wiki-review-verification p,
    .wiki-review-stop p {
        margin: 9px 0 0;
        line-height: 1.7;
        word-break: keep-all;
    }

    .wiki-review-verification {
        margin-top: 18px;
        padding: 16px 18px;
        border: 1px solid #3d4b60;
        border-radius: 9px;
        background: rgba(4, 10, 20, 0.48);
    }

    .wiki-review-verification a {
        display: inline;
        margin-left: 5px;
        color: #8bb7ff;
        font-weight: 800;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .wiki-review-date {
        display: inline-block;
        margin-left: 8px;
        color: #aeb9c9;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .wiki-review-scope {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin: 18px 0 0;
    }

    .wiki-review-scope > div {
        padding: 13px 14px;
        border: 1px solid #2b3a4e;
        border-radius: 8px;
        background: rgba(8, 17, 31, 0.62);
    }

    .wiki-review-scope > div:last-child {
        grid-column: 1 / -1;
    }

    .wiki-review-scope dt {
        margin-bottom: 5px;
        color: #9aa8bc;
        font-size: 0.74rem;
        font-weight: 900;
    }

    .wiki-review-scope dd {
        margin: 0;
        color: #d4deeb;
        font-size: 0.86rem;
        line-height: 1.62;
        word-break: keep-all;
    }

    .wiki-review-stop {
        margin-top: 14px;
        padding: 15px 17px;
        border: 1px solid #8a4c32;
        border-radius: 8px;
        background: rgba(230, 126, 34, 0.08);
        color: #efc5a7;
    }

    .wiki-review-stop strong {
        color: #ffb27d;
        font-size: 0.8rem;
    }

    .wiki-data-warning {
        margin: -18px 0 34px;
        padding: 16px 18px;
        border: 1px solid #8a4c32;
        border-left: 4px solid #e67e22;
        border-radius: 8px;
        background: rgba(230, 126, 34, 0.08);
        color: #f0c29f;
        line-height: 1.65;
        word-break: keep-all;
    }

    .wiki-toc-wrap {
        margin: -16px 0 34px 0;
        padding: 16px;
        background: #1d222c;
        border: 1px solid #343b4a;
        border-radius: 8px;
    }

    .wiki-toc-head {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
        gap: 4px;
        margin-bottom: 12px;
    }

    .wiki-toc-kicker {
        color: #7aa8ff;
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .wiki-toc-title {
        margin: 0;
        color: #f3f6fb;
        font-size: 1rem;
        line-height: 1.35;
    }

    .wiki-toc-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .wiki-toc-link {
        display: inline-flex;
        align-items: center;
        min-height: 34px;
        padding: 0 12px;
        background: #222733;
        border: 1px solid #3a4252;
        border-radius: 8px;
        color: #c8cdd8;
        text-decoration: none;
        font-size: 0.86rem;
        font-weight: 700;
        transition: all 0.18s ease;
    }

    .wiki-toc-link:hover {
        border-color: #ffbc05;
        color: #ffbc05;
        background: #282f3d;
        transform: translateY(-1px);
    }

    /* 표 스타일 공통 적용 원본 유지 */
    table { width: 100%; border-collapse: collapse; background: #2a2d37; border-radius: 8px; overflow: hidden; }
    th, td { padding: 12px; border: 1px solid #3f4352; text-align: center; }
    th { background: #3f4352; color: #ffbc05; }

    .wiki-table-scroll {
        width: 100%;
        margin: 16px 0;
        overflow-x: auto;
        border-radius: 8px;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
    }

    .wiki-table-scroll table { min-width: 620px; margin: 0; }

    .wiki-table-scroll:focus-visible {
        outline: 2px solid #ffbc05;
        outline-offset: 3px;
    }

.wiki-content p,
.wiki-content li {
    word-break: keep-all;
}

.wiki-content img {
    max-width: 100%;
    height: auto;
}

    h2.section-subtitle {
        line-height: 1.35;
    }

    .wiki-answer-box,
    .wiki-note-box {
        background: #23262e;
        border: 1px solid #3f4352;
        border-left: 3px solid #ffbc05;
        border-radius: 8px;
        padding: 18px 20px;
        color: #c8cdd8;
        line-height: 1.75;
        margin: 18px 0;
    }

    .wiki-note-box {
        border-left-color: #3b82f6;
    }

    .wiki-action-grid,
    .wiki-mini-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 16px;
    }

    .wiki-action-card {
        display: block;
        background: #22252e;
        border: 1px solid #3f4352;
        border-radius: 8px;
        padding: 14px 16px;
        color: #e2e8f0;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .wiki-action-card:hover {
        border-color: #ffbc05;
        color: #ffbc05;
        background: #2a2d37;
        transform: translateY(-2px);
    }

    .wiki-action-card strong {
        display: block;
        color: inherit;
        margin-bottom: 5px;
    }

    .wiki-action-card span {
        display: block;
        color: #8b92a5;
        font-size: 0.86rem;
        line-height: 1.5;
    }

    .wiki-link-list,
    .wiki-faq-list {
        margin: 12px 0 0 0;
        padding-left: 20px;
        color: #c8cdd8;
        line-height: 1.75;
    }

    .wiki-link-list a,
    .wiki-faq-list a {
        color: #ffbc05;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    /* 모바일 대응 (반응형 뼈대) 원본 유지 */
@media (max-width: 768px) {
        .wiki-page-wrapper { padding: 20px; }
        .page-header { flex-direction: column; align-items: flex-start; gap: 15px; }
        .page-title { font-size: 1.5rem; }
        .wiki-page-actions { justify-content: flex-start; }
        .back-to-list-btn { align-self: flex-start; }
        .wiki-trust-panel > summary { flex-wrap: wrap; gap: 10px 12px; }
        .wiki-trust-title {
            flex: 1 0 100%;
            word-break: keep-all;
        }
        .wiki-trust-head,
        .wiki-trust-note { align-items: flex-start; flex-direction: column; }
        .wiki-trust-grid { grid-template-columns: 1fr; }
        .wiki-review-contract { padding: 17px 15px; }
        .wiki-review-scope { grid-template-columns: 1fr; }
        .wiki-review-scope > div:last-child { grid-column: auto; }
        .wiki-action-grid,
        .wiki-mini-grid { grid-template-columns: 1fr; }
        .wiki-table-scroll { margin-inline: -4px; width: calc(100% + 8px); }
}

@media (prefers-reduced-motion: reduce) {
    .wiki-page-wrapper *,
    .wiki-page-wrapper *::before,
    .wiki-page-wrapper *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

    /* ── 관련 가이드 섹션 ── */
    .wiki-feature-wrap {
        margin-top: 42px;
        padding: 22px;
        background: #1d222c;
        border: 1px solid #343b4a;
        border-radius: 8px;
    }

    .wiki-feature-head {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 16px;
    }

    .wiki-feature-kicker {
        color: #7aa8ff;
        font-size: 0.74rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        margin-bottom: 5px;
    }

    .wiki-feature-title {
        margin: 0;
        color: #f3f6fb;
        font-size: 1.05rem;
        line-height: 1.35;
    }

    .wiki-feature-desc {
        margin: 0;
        color: #8b92a5;
        font-size: 0.86rem;
        line-height: 1.5;
        max-width: 360px;
    }

    .wiki-feature-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .wiki-feature-card {
        display: flex;
        flex-direction: column;
        gap: 8px;
        min-height: 132px;
        padding: 15px;
        background: #222733;
        border: 1px solid #3a4252;
        border-radius: 8px;
        color: #e2e8f0;
        text-decoration: none;
        transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    }

    .wiki-feature-card:hover {
        transform: translateY(-2px);
        border-color: #ffbc05;
        background: #282f3d;
    }

    .wiki-feature-label {
        color: #ffbc05;
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.06em;
    }

    .wiki-feature-card strong {
        color: #f3f6fb;
        font-size: 0.96rem;
        line-height: 1.35;
    }

    .wiki-feature-card span:last-child {
        color: #9aa3b5;
        font-size: 0.82rem;
        line-height: 1.5;
    }

    @media (max-width: 900px) {
        .wiki-feature-grid { grid-template-columns: 1fr; }
        .wiki-feature-head { align-items: flex-start; flex-direction: column; }
        .wiki-feature-wrap { padding: 18px; }
    }

    .wiki-related-wrap {
        margin-top: 50px;
        padding-top: 28px;
        border-top: 1px solid #333745;
    }
    .wiki-related-title {
        color: #8b92a5;
        font-size: 0.8rem;
        font-weight: bold;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        margin-bottom: 14px;
    }
    .wiki-related-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .wiki-related-card {
        background: #22252e;
        border: 1px solid #3f4352;
        color: #c8cdd8;
        padding: 9px 16px;
        border-radius: 8px;
        text-decoration: none;
        font-size: 0.88rem;
        font-weight: 600;
        transition: all 0.2s ease;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }
    .wiki-related-card::after { content: ' →'; color: #ffbc05; font-weight: bold; }
    .wiki-related-card:hover {
        background: #2a2d37;
        border-color: #ffbc05;
        color: #ffbc05;
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(255, 204, 0, 0.1);
    }
    @media (max-width: 768px) {
        .wiki-related-grid { gap: 8px; }
        .wiki-related-card { font-size: 0.82rem; padding: 8px 12px; }
    }
