#detective-wiki {
    --wiki-bg: #162433;
    --wiki-bg2: #1d3044;
    --wiki-border: rgba(255, 255, 255, .05);
    --wiki-text: #fff;
    --wiki-text2: #9bb1c8;
    --wiki-blue: #0d6efd;
}

:root {
    --bg-card: #1d2d42;
    --bg-card-dark: #101924;
    --bg-page: #0f1824;
    --border-subtle: rgba(255, 255, 255, .08);

    --blue: #2f80ed;
    --blue-light: #56a3ff;
    --green: #34c759;
    --green-light: #4cd964;
    --orange: #ff9500;
    --orange-light: #ffae32;
    --red: #ff4d4f;
    --red-light: #ff6b6b;
    --accent: #3b82f6;

    --text-muted: rgba(255, 255, 255, .78);
    --text-faint: #7188a7;

    --radius-lg: 18px;
    --radius-md: 16px;
    --radius-sm: 12px;
}


.wiki-app {
    display: flex;
    height: calc(100vh - 90px);
    gap: 30px;
    align-items: stretch;
}

.wiki-sidebar {
    width: 320px;
    position: sticky;
    top: 95px;
    border: 1px solid var(--wiki-border);
    border-radius: 22px;
    padding: 28px;
    flex-shrink: 0;
    height: 100%;
    overflow: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}

.wiki-sidebar::-webkit-scrollbar {
    width: 6px;
}

.wiki-sidebar::-webkit-scrollbar-thumb {
    background: #3d8bfd;
    border-radius: 30px;
}

.wiki-brand {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 35px;
}

.wiki-brand-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0d6efd, #3d8bfd);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    color: white;
    box-shadow: 0 12px 30px rgba(13, 110, 253, .35);
}

.wiki-brand h3 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
}

.wiki-brand p {
    margin: 4px 0 0;
    color: var(--wiki-text2);
}

.wiki-menu-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #6f8499;
    margin: 25px 0 15px;
}

.wiki-sidebar hr {
    border-color: rgba(255, 255, 255, .05);
    margin: 20px 0;
}

.wiki-nav-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    border: none;
    background: transparent;
    color: white;
    padding: 14px 18px;
    border-radius: 14px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: .25s;
    text-align: left;
}

.wiki-nav-item i {
    width: 22px;
    color: #53a2ff;
    font-size: 18px;
}

.wiki-nav-item:hover {
    background: #22364b;
    transform: translateX(6px);
}

.wiki-nav-item.active {
    background: linear-gradient(90deg, #0d6efd, #3d8bfd);
    color: white;
    box-shadow: 0 10px 25px rgba(13, 110, 253, .35);
}

.wiki-nav-item.active i {
    color: white;
}

.wiki-nav-item.disabled {
    cursor: default;
    opacity: .7;
}

.wiki-nav-item.disabled:hover {
    background: transparent;
    transform: none;
}

.wiki-soon {
    margin-left: auto;
    background: #32465b;
    padding: 3px 10px;
    border-radius: 30px;
    font-size: 11px;
}

.wiki-main {
    flex: 1;
    border-radius: 22px;
    border: 1px solid var(--wiki-border);
    min-height: 900px;
    padding: 40px;
    overflow-y: auto;
    height: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}

.page-icon {
    width: 82px;
    height: 82px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0d6efd, #3d8bfd);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 34px;
    box-shadow: 0 15px 35px rgba(13, 110, 253, .35);
}

.page-breadcrumb {
    color: #7c91a5;
    font-size: 13px;
    margin-bottom: 10px;
}

.page-header h1 {
    margin: 0 0 12px;
    font-size: 48px;
    font-weight: 700;
}

.page-header p {
    margin-top: 10px;
    color: #9eb3c8;
    font-size: 17px;
    max-width: 900px;
    line-height: 1.8;
}

.wiki-card {
    background: var(--wiki-bg2);
    border-radius: 18px;
    border: 1px solid var(--wiki-border);
    padding: 30px;
    transition: .25s;
}

.wiki-card:hover {
    transform: translateY(-6px);
}

.wiki-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.wiki-box {
    background: #1e3145;
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 22px;
    padding: 35px;
    transition: .25s;
    position: relative;
    overflow: hidden;
}

.wiki-box:hover {
    transform: translateY(-8px);
    border-color: #2f89ff;
    box-shadow: 0 18px 35px rgba(0, 0, 0, .25);
}

.wiki-box h3 {
    margin-bottom: 20px;
    color: #fff;
}

.wiki-box p {
    color: #a8bfd4;
    line-height: 1.8;
}

.wiki-info {
    margin-top: 60px;
}

.wiki-info h2 {
    margin-bottom: 30px;
}

.wiki-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.wiki-item {
    background: #21364b;
    border-radius: 15px;
    padding: 25px;
    font-size: 17px;
    transition: .2s;
}

.wiki-item:hover {
    background: #2b4560;
    transform: translateY(-5px);
}

.wiki-check {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.wiki-check li {
    position: relative;
    padding: 14px 0 14px 38px;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    color: #c3d5e7;
}

.wiki-check li:last-child {
    border-bottom: none;
}

.wiki-check li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2f89ff, #5ca9ff);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
}

.rank-top {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.rank-top h3 {
    margin: 0;
    color: #fff;
}

.rank-top span {
    color: #93abc1;
    font-size: 14px;
}

.rank-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 28px;
    flex-shrink: 0;
}

.bg-success {
    background: linear-gradient(135deg, #28c76f, #57e096);
}

.bg-warning {
    background: linear-gradient(135deg, #ff9800, #ffbe55);
}

.bg-danger {
    background: linear-gradient(135deg, #ff4b5f, #ff7687);
}

.bg-info {
    background: linear-gradient(135deg, #00b8ff, #59d5ff);
}

.rank-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .05);
}

.rank-footer small {
    display: block;
    color: #8ea6bd;
    margin-bottom: 6px;
}

.rank-footer strong {
    color: #fff;
}

.wiki-section-title {
    display: flex;
    align-items: center;
    font-size: 38px;
    font-weight: 700;
    margin: 70px 0 35px;
    color: #fff;
    position: relative;
}

.wiki-section-title:after {
    content: "";
    flex: 1;
    height: 2px;
    margin-left: 25px;
    border-radius: 20px;
    background: linear-gradient(to right, #2f89ff, transparent);
}

code {
    display: inline-block;
    padding: 6px 12px;
    margin: 2px;
    border-radius: 8px;
    background: #2f89ff;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.step-card {
    background: #1e3145;
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 22px;
    padding: 35px;
    transition: .25s;
    position: relative;
    overflow: hidden;
    margin-top: 30px;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, .25);
}

.step-card:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
}

.step-title {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    flex-wrap: wrap;
}

.step-title h3 {
    margin: 0;
}

.step-title span {
    color: #8ea9c1;
    font-size: 14px;
}

.blue-card {
    border-left: 5px solid #2f89ff;
}

.green-card {
    border-left: 5px solid #29c76f;
}

.orange-card {
    border-left: 5px solid #ff9800;
}

.red-card {
    border-left: 5px solid #ff5a5a;
}

.blue-card:before {
    background: #2f89ff;
}

.green-card:before {
    background: #2dcc70;
}

.orange-card:before {
    background: #ff9800;
}

.red-card:before {
    background: #ff4b5f;
}

.info-banner {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 35px;
    border-radius: 22px;
    margin-bottom: 45px;
    background: linear-gradient(135deg, #244869, #1c3044);
    border: 1px solid rgba(255, 255, 255, .06);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .18);
}

.info-banner i {
    font-size: 40px;
    color: #2f89ff;
}

.info-banner h3 {
    margin-bottom: 10px;
}

.info-banner p {
    margin: 0;
    color: #b9cbdd;
}

.wiki-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 16px;
    margin-top: 25px;
}

.wiki-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.wiki-table th {
    background: #22405f;
    padding: 18px;
    text-align: left;
    color: #fff;
}

.wiki-table td {
    padding: 18px;
    color: #bdd0e2;
}

.feature-grid {
    display: grid;
    grid-template-columns:repeat(4, minmax(250px, 1fr));
    gap: 28px;
    margin-top: 25px;
}

.feature {
    background: #22364b;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, .05);
    min-height: 270px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 35px 25px;
    transition: .25s;
}

.feature:hover {
    transform: translateY(-8px);
    border-color: #2f89ff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
}

.feature i {
    width: 74px;
    height: 74px;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #0d6efd, #4b9dff);
    color: #fff;
    font-size: 30px;
}

.feature h2 {
    margin: 0;
    font-size: 58px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.feature h4 {
    margin: 20px 0 12px;
    font-size: 22px;
}

.feature p {
    margin: 0;
    color: #9fb6cc;
    font-size: 15px;
    line-height: 1.6;
}

.wiki-section {
    margin-top: 50px;
}

.wiki-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 30px;
    font-size: 42px;
    font-weight: 700;
    color: #fff;
}

.wiki-title i {
    color: #4b8cff;
}

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.leader-card {
    background: #22364b;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 22px;
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 22px;
    transition: .25s;
}

.leader-card:hover {
    transform: translateY(-8px);
    border-color: #2f89ff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .30);
}

.leader-photo {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #31475d;
    border: 3px solid rgba(255, 255, 255, .08);
}

.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.leader-info {
    flex: 1;
    min-width: 0;
}

.leader-info h3 {
    margin: 0;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.leader-info span {
    display: block;
    margin-top: 8px;
    color: #8fb0d4;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.leader-rank {
    margin-top: 10px;
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    background: #2d4b67;
    color: #74b4ff;
    font-size: 13px;
    font-weight: 600;
}

.important-box {
    display: flex;
    justify-content: space-between;
    background: #1f3347;
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 24px;
    padding: 30px;
    margin-top: 25px;
}

.important-text {
    flex: 1;
    min-width: 0;
}

.important-quote {
    font-size: 38px;
    line-height: 1.45;
    font-style: italic;
    color: #dbe9f8;
    margin-bottom: 30px;
}

.important-image {
    flex-shrink: 0;
}

.important-image img {
    width: 760px;
    max-width: 100%;
    display: block;
}

.wiki-preview {
    margin-left: 10px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 10px;
    background: #2f89ff;
    color: #fff;
    cursor: pointer;
    transition: .2s;
}

.wiki-preview:hover {
    transform: scale(1.08);
    background: #4da2ff;
}

.wiki-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 20px;
}

.wiki-modal.show {
    display: flex;
}

#wikiModalImg {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

.wiki-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}


@media (max-width: 1400px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .wiki-app {
        flex-direction: column;
    }

    .wiki-sidebar {
        width: 100%;
        position: sticky;
        top: 20px;
        height: calc(100vh - 120px);
        max-height: none;
    }

    .leaders-grid {
        grid-template-columns: 1fr;
    }

    .important-box {
        flex-direction: column-reverse;
        text-align: center;
    }

    .important-image {
        align-self: center;
    }

    .important-image img {
        width: 280px;
    }

    .important-quote {
        font-size: 28px;
    }
}

@media (max-width: 991px) {
    .wiki-app {
        display: block;
        height: auto;
    }

    .wiki-sidebar {
        position: relative;
        top: 0;
        width: 100%;
        height: auto;
        max-height: none;
        overflow: visible;
        margin-bottom: 25px;
    }

    .wiki-main {
        height: auto;
        min-height: auto;
        overflow: visible;
        padding: 30px;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .leaders-grid,
    .wiki-grid,
    .wiki-items,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .rank-top {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .wiki-box {
        padding: 20px;
    }

    .wiki-main {
        padding: 25px;
    }

    .page-header h1 {
        font-size: 34px;
    }

    .page-icon {
        width: 64px;
        height: 64px;
        font-size: 26px;
    }

    .wiki-section-title {
        font-size: 30px;
        margin: 50px 0 25px;
    }

    .step-card {
        padding: 25px;
    }

    .info-banner {
        padding: 25px;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .leader-card {
        flex-direction: column;
        text-align: center;
    }

    .leader-info {
        text-align: center;
    }

    .wiki-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    .wiki-sidebar {
        padding: 20px;
    }

    .wiki-brand-icon {
        width: 54px;
        height: 54px;
        font-size: 22px;
    }

    .wiki-brand h3 {
        font-size: 24px;
    }

    .wiki-nav-item {
        padding: 12px 14px;
        font-size: 14px;
    }

    .wiki-main {
        padding: 20px;
    }

    .page-header h1 {
        font-size: 28px;
        line-height: 1.2;
    }

    .page-header p {
        font-size: 15px;
    }

    .wiki-title {
        font-size: 26px;
    }

    .wiki-section-title {
        font-size: 24px;
        margin: 40px 0 20px;
    }

    .wiki-section-title:after {
        display: none;
    }

    .wiki-box {
        padding: 18px;
    }

    .wiki-item {
        padding: 18px;
        font-size: 15px;
    }

    .rank-icon,
    .feature i {
        width: 54px;
        height: 54px;
        font-size: 22px;
    }

    .rank-footer {
        flex-direction: column;
        gap: 12px;
    }

    .step-card {
        padding: 18px;
    }

    .step-title {
        gap: 10px;
    }

    .info-banner {
        padding: 20px;
    }

    .info-banner i {
        font-size: 30px;
    }

    .important-box {
        padding: 18px;
    }

    .important-quote {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .important-image img {
        width: 100%;
        max-width: 220px;
    }

    .leader-photo {
        width: 75px;
        height: 75px;
    }

    .leader-info h3 {
        font-size: 22px;
    }

    .wiki-close {
        top: 14px;
        right: 18px;
        font-size: 30px;
    }
}

@media (max-width: 380px) {
    .wiki-brand {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .page-header h1 {
        font-size: 24px;
    }

    .wiki-title {
        font-size: 22px;
        flex-wrap: wrap;
    }

    .feature-grid,
    .wiki-grid,
    .wiki-items,
    .leaders-grid {
        gap: 16px;
    }

    .wiki-box,
    .step-card,
    .wiki-item {
        padding: 16px;
    }

    .important-quote {
        font-size: 18px;
    }
}

.lab-step {
    position: relative;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: .25s;
    height: 100%;
}

.lab-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
}

.lab-step.blue {
    border-color: var(--blue);
}

.lab-step.green {
    border-color: var(--green);
}

.lab-step.orange {
    border-color: var(--orange);
}

.lab-step.red {
    border-color: var(--red);
}

.lab-step-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.lab-number {
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
}

.lab-step-head i {
    font-size: 30px;
    line-height: 1;
}

.lab-step.blue .lab-number {
    background: var(--blue);
}

.lab-step.green .lab-number {
    background: var(--green);
}

.lab-step.orange .lab-number {
    background: var(--orange);
}

.lab-step.red .lab-number {
    background: var(--red);
}

.lab-step.blue .lab-step-head i {
    color: var(--blue-light);
}

.lab-step.green .lab-step-head i {
    color: var(--green-light);
}

.lab-step.orange .lab-step-head i {
    color: var(--orange-light);
}

.lab-step.red .lab-step-head i {
    color: var(--red-light);
}

.lab-step h3 {
    margin-bottom: 18px;
    font-weight: 700;
}

.lab-step ul {
    padding-left: 18px;
    margin: 0;
}

.lab-step li {
    margin-bottom: 10px;
}


.lab-status {
    border-radius: 14px;
    padding: 20px;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 18px;
}

.lab-status i {
    font-size: 40px;
}

.lab-status.green {
    border-color: var(--green);
}

.lab-status.orange {
    border-color: var(--orange);
}

.lab-status.red {
    border-color: var(--red);
}

.lab-status.green i {
    color: var(--green);
}

.lab-status.orange i {
    color: var(--orange);
}

.lab-status.red i {
    color: var(--red);
}

.lab-status-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    height: 100%;
    transition: .25s;
}

.lab-status-card:hover {
    transform: translateY(-3px);
}

.lab-status-card i {
    font-size: 42px;
    margin-top: 4px;
    flex: none;
}

.lab-status-card h4 {
    margin-bottom: 8px;
    font-weight: 700;
}

.lab-status-card p {
    margin: 0;
    opacity: .8;
}

.lab-status-card.success {
    border-color: #31c56b;
    background: rgba(49, 197, 107, .05);
}

.lab-status-card.success i {
    color: #31c56b;
}

.lab-status-card.warning {
    border-color: var(--orange);
    background: rgba(255, 152, 0, .05);
}

.lab-status-card.warning i {
    color: var(--orange);
}

.lab-status-card.danger {
    border-color: #ff5b5b;
    background: rgba(255, 91, 91, .05);
}

.lab-status-card.danger i {
    color: #ff5b5b;
}


.wiki-image {
    position: relative;
    height: 320px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: #121d2a;
    overflow: hidden;
}

.wiki-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: block;
}

.wiki-image-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-faint);
    text-align: center;
    padding: 20px;
}

.wiki-image-placeholder i {
    font-size: 70px;
    margin-bottom: 20px;
}

.wiki-image-placeholder span {
    font-size: 17px;
    opacity: .8;
}

.wiki-image .wiki-preview {
    position: absolute;
    top: 15px;
    right: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.requirements {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.requirement {
    position: relative;
    text-align: center;
}

.req-icon {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1b2b40;
    border: 2px solid var(--border-subtle);
    font-size: 34px;
    color: #5fa8ff;
    margin-bottom: 22px;
    transition: .25s;
}

.req-number {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-page);
}

.requirement h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.requirement p {
    opacity: .75;
    line-height: 1.6;
    font-size: 14.5px;
}

.req-meta {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    background: rgba(59, 130, 246, .12);
    color: var(--blue-light);
}

.req-arrow {
    position: absolute;
    top: 32px;
    right: -18px;
    font-size: 40px;
    color: rgba(255, 255, 255, .12);
}

.requirement:last-child .req-arrow {
    display: none;
}

.requirement:hover .req-icon {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 0 25px rgba(59, 130, 246, .25);
}


.rp-example {
    margin-top: 28px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    overflow: hidden;
}

.rp-example summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    color: #fff;
}

.rp-example summary::-webkit-details-marker {
    display: none;
}

.rp-example summary i:first-child {
    color: var(--blue-light);
    font-size: 20px;
}

.rp-example summary::after {
    content: "\f107";
    font-family: "FontAwesome";
    margin-left: auto;
    transition: .2s;
    opacity: .6;
}

.rp-example[open] summary::after {
    transform: rotate(180deg);
}

.rp-example-body {
    padding: 0 22px 22px;
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.9;
    border-top: 1px solid var(--border-subtle);
}

.rp-example-body code,
.rp-line {
    display: block;
    color: #e8eef6;
    background: var(--bg-card-dark);
    border-radius: 8px;
    padding: 4px 10px;
    margin: 6px 0;
    font-size: 13.5px;
}

.rp-line.do {
    color: #de640d;
}

.rp-line.me {
    color: #f83d9f;
}

.rp-line.wait {
    color: #7d93ad;
    font-style: italic;
}


.lab-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 35px;
}

.lab-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: .25s;
}

.lab-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.lab-card-top {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.lab-card-icon {
    width: 68px;
    height: 68px;
    flex: none;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    font-size: 28px;
}

.lab-card h3 {
    margin-bottom: 12px;
    font-size: 26px;
}

.lab-card p {
    opacity: .82;
    line-height: 1.7;
    margin-bottom: 0;
}

.closing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 35px;
}

.closing-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border-subtle);
}

.closing-head {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.closing-icon {
    width: 68px;
    height: 68px;
    flex: none;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    font-size: 28px;
}

.bg-success {
    background: #3abf67 !important;
}

.success-list {
    list-style: none;
    padding: 0;
}

.success-list li {
    margin-bottom: 15px;
    padding-left: 34px;
    position: relative;
}

.success-list li:before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #38d16a;
    font-weight: bold;
}

.robbery-bar {
    margin-top: 30px;
}

.robbery-title {
    background: #8c342e;
    color: #fff;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 10px 10px 0 0;
    display: inline-block;
}

.robbery-progress {
    height: 18px;
    background: #2f3542;
    overflow: hidden;
    border-radius: 0 10px 10px 10px;
}

.robbery-fill {
    width: 38%;
    height: 100%;
    background: #d84d4d;
}

.danger-alert {
    margin-top: 22px;
    background: #7d2c2c;
    color: #fff;
    border-radius: 10px;
    padding: 16px;
}

.danger-alert i {
    margin-right: 8px;
}

.finish-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 35px;
}

.finish-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.finish-top {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.finish-icon {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-md);
    background: #28a745;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    flex: none;
}

.finish-icon.blue {
    background: var(--accent);
}

.wiki-code {
    margin-top: 25px;
    background: var(--bg-card-dark);
    border-radius: 12px;
    padding: 20px;
    color: #e8eef6;
    font-size: 14px;
    line-height: 1.8;
    border: 1px solid rgba(255, 255, 255, .06);
    white-space: pre-wrap;
}

.note-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.note-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    gap: 16px;
}

.note-card i {
    font-size: 26px;
    color: var(--blue-light);
    flex: none;
    margin-top: 2px;
}

.note-card h4 {
    margin-bottom: 8px;
    font-weight: 700;
}

.note-card p {
    margin: 0;
    opacity: .8;
    line-height: 1.7;
    font-size: 14.5px;
}

.note-card a {
    color: var(--blue-light);
    text-decoration: underline;
}


.lab-checklist {
    display: grid;
    gap: 18px;
    margin-top: 35px;
}

.lab-check {
    display: flex;
    align-items: center;
    gap: 22px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    cursor: pointer;
    transition: .25s;
}

.lab-check:hover {
    transform: translateY(-2px);
    border-color: #4da3ff;
}

.lab-check input {
    display: none;
}

.checkmark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 2px solid #4da3ff;
    position: relative;
    flex: none;
    transition: .25s;
}

.lab-check input:checked + .checkmark {
    background: #28a745;
    border-color: #28a745;
}

.lab-check input:checked + .checkmark:after {
    content: "✓";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.lab-check h4 {
    margin-bottom: 6px;
    transition: .25s;
}

.lab-check p {
    margin: 0;
    color: #b8c5d0;
    transition: .25s;
}

.lab-check input:checked ~ div {
    opacity: .6;
}

.lab-check input:checked ~ div h4 {
    text-decoration: line-through;
}


@media (max-width: 992px) {
    .requirements {
        grid-template-columns: repeat(3, 1fr);
        gap: 26px;
    }

    .req-arrow {
        display: none;
    }

    .lab-grid,
    .closing-grid,
    .finish-grid,
    .note-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .requirements {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .lab-step,
    .lab-card,
    .closing-card,
    .finish-card,
    .note-card {
        padding: 20px;
    }

    .wiki-image {
        height: 220px;
    }

    .lab-card h3 {
        font-size: 22px;
    }
}

@media (max-width: 420px) {
    .requirements {
        grid-template-columns: 1fr;
    }

    .lab-step-head i {
        font-size: 26px;
    }
}