﻿:root {
    --acc: #9CA3AF;
    --acc-dk: #6B7280;
    --acc-lt: #1F2937;
    --acc-md: #374151;
    --orange: #E07B39;
    --orange-lt: #1C1107;
    --green: #34D399;
    --green-lt: #052E16;
    --red: #F87171;
    --red-lt: #1F0606;
    --amber: #FCD34D;
    --amber-lt: #1C1500;
    --gray: #9CA3AF;
    --gray-lt: #111827;
    --border: #2D3748;
    --text: #F1F5F9;
    --muted: #6B7280;
    --android: #60A5FA;
    --ios: #9CA3AF;
    --win: #4ADE80;
}

#need-help-printer > * {
    font-family: "Sora", sans-serif !important;
}

.lang-bar {
    background: #111;
    border-bottom: 1px solid #222;
    padding: 8px 0;
    text-align: center
}

.lang-inner {
    display: inline-flex;
    gap: 4px;
    background: rgba(255,255,255,.05);
    border-radius: 30px;
    padding: 3px;
    border: 1px solid #333
}

.lang-btn {
    padding: 5px 18px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    color: rgba(255,255,255,.4);
    letter-spacing: .04em;
    transition: all .2s
}

    .lang-btn.active {
        background: #2D3748;
        color: #F1F5F9
    }

    .lang-btn:hover:not(.active) {
        color: #E5E7EB
    }

.site-header {
    background: #050505;
    color: #fff;
    padding: 52px 40px 44px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #1F2937
}

    .site-header::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url("data:image/svg+xml,%3Csvg width='52' height='52' viewBox='0 0 52 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M32 30v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM32 2V0h-2v2h-4v2h4v4h2V4h4V2h-4zM4 30v-4H2v4H0v2h2v4h2v-4h4v-2H4zM4 2V0H2v2H0v2h2v4h2V4h4V2H4z'/%3E%3C/g%3E%3C/svg%3E")
    }

.hd-inner {
    position: relative;
    max-width: 980px;
    margin: 0 auto
}

.hd-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.05);
    border: 1px solid #2D3748;
    border-radius: 100px;
    padding: 5px 16px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #6B7280
}

    .hd-badge .dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #4ADE80;
        animation: blink 2s infinite
    }

@keyframes blink {
    0%,100% {
        opacity: 1
    }

    50% {
        opacity: .35
    }
}

.site-header h1 {
    font-size: clamp(24px,4vw,44px);
    font-weight: 600;
    line-height: 1.13;
    letter-spacing: -.025em;
    margin-bottom: 12px;
    color: #F1F5F9
}

    .site-header h1 em {
        color: #D1D5DB;
        font-style: normal;
        border-bottom: 2px solid #4B5563
    }

.site-header .sub {
    font-size: 14.5px;
    color: #6B7280;
    max-width: 560px;
    line-height: 1.6
}

.hd-tags {
    display: flex;
    gap: 10px;
    margin-top: 28px;
    flex-wrap: wrap
}

.hd-tag {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.04);
    border: 1px solid #2D3748;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 12.5px;
    font-weight: 500;
    color: #6B7280
}

.toc-bar {
    background: #0A0A0A;
    border-bottom: 1px solid #1F2937;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 16px rgba(0,0,0,.6)
}

.toc-scroll {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none
}

    .toc-scroll::-webkit-scrollbar {
        display: none
    }

.toc-a {
    padding: 13px 16px;
    font-size: 12.5px;
    font-weight: 700;
    color: #4B5563;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all .18s
}

    .toc-a:hover {
        color: #D1D5DB;
        background: #111
    }

    .toc-a.on {
        color: #E5E7EB;
        border-bottom-color: #6B7280
    }

.wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px 80px
}

.sec {
    padding: 48px 0 0
}

.sec-title {
    font-size: 21px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #1F2937;
    margin-bottom: 28px;
    color: #F1F5F9
}

.sec-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #374151;
    color: #F1F5F9;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 600;
    flex-shrink: 0
}

.subsec {
    font-size: 15px;
    font-weight: 800;
    color: #9CA3AF;
    margin: 26px 0 12px;
    display: flex;
    align-items: center;
    gap: 8px
}

.flow {
    display: flex;
    align-items: stretch;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #1F2937;
    margin: 20px 0
}

.fn {
    flex: 1;
    padding: 20px 14px;
    text-align: center
}

.fn-ico {
    font-size: 28px;
    display: block;
    margin-bottom: 7px
}

.fn-lbl {
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.3
}

.fn-sub {
    font-size: 11px;
    margin-top: 4px;
    opacity: .55
}

.fa {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #374151;
    background: #080808;
    flex-shrink: 0;
    width: 30px
}

.pflow {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 18px 0
}

.pf-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
    background: #0F0F0F;
    border: 1px solid #1F2937;
    border-radius: 10px;
    margin-bottom: 6px;
    position: relative
}

    .pf-row:not(:last-child)::after {
        content: '↓';
        position: absolute;
        bottom: -19px;
        left: 30px;
        font-size: 15px;
        color: #374151;
        z-index: 2
    }

.pf-n {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: #374151;
    color: #F1F5F9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    margin-top: 1px
}

.pf-ico {
    font-size: 22px;
    margin-top: 3px
}

.pf-txt {
    flex: 1
}

    .pf-txt strong {
        font-size: 14px;
        font-weight: 700;
        display: block;
        margin-bottom: 3px;
        color: #E5E7EB
    }

    .pf-txt span {
        font-size: 12.5px;
        color: #6B7280;
        line-height: 1.55
    }

.pf-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    margin-top: 4px;
    align-self: flex-start
}

.badge-ok {
    background: #052E16;
    color: #34D399;
    border: 1px solid #064E3B
}

.badge-need {
    background: #1C1107;
    color: #FCD34D;
    border: 1px solid #292524
}

.badge-req {
    background: #1F2937;
    color: #9CA3AF;
    border: 1px solid #374151
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 12px 0
}

.step {
    display: flex;
    border: 1px solid #1F2937;
    border-radius: 12px;
    overflow: hidden;
    background: #0F0F0F;
    transition: all .2s
}

    .step:hover {
        border-color: #374151;
        box-shadow: 0 4px 24px rgba(0,0,0,.5)
    }

.sn {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 22px 0 0;
    width: 62px;
    min-width: 62px;
    background: #1F2937;
    font-size: 22px;
    font-weight: 600;
    color: #9CA3AF
}

.step.gs .sn {
    background: #052E16;
    color: #34D399
}

.sb {
    padding: 17px 20px;
    flex: 1
}

.st {
    font-size: 15px;
    font-weight: 700;
    color: #F1F5F9;
    margin-bottom: 5px
}

.sd {
    font-size: 13.5px;
    color: #9CA3AF;
    line-height: 1.65
}

    .sd code {
        font-family: 'JetBrains Mono',monospace;
        background: #1A1A1A;
        color: #D1D5DB;
        padding: 1px 6px;
        border-radius: 4px;
        font-size: 12px;
        border: 1px solid #2D3748
    }

.step-letter .sn {
    font-size: 18px
}

.callout {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border-radius: 10px;
    padding: 14px 18px;
    margin: 14px 0;
    border: 1px solid
}

    .callout .ci {
        font-size: 20px;
        flex-shrink: 0;
        margin-top: 1px
    }

    .callout .cb {
        font-size: 13.5px;
        line-height: 1.62
    }

        .callout .cb strong {
            display: block;
            font-weight: 800;
            margin-bottom: 3px;
            font-size: 13px
        }

    .callout.info {
        background: #0A1628;
        border-color: #1E3A5F;
        color: #9CA3AF
    }

    .callout.warn {
        background: #1A0D04;
        border-color: #7C2D12;
        color: #FDBA74
    }

    .callout.tip {
        background: #021A0E;
        border-color: #064E3B;
        color: #6EE7B7
    }

    .callout.crit {
        background: #1A0505;
        border-color: #7F1D1D;
        color: #FCA5A5
    }

.plat {
    margin-bottom: 30px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #2D3748
}

.plat-hd {
    padding: 17px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff
}

    .plat-hd .pi {
        font-size: 30px
    }

    .plat-hd .pt {
        font-size: 17px;
        font-weight: 800
    }

    .plat-hd .ps {
        font-size: 12px;
        opacity: .65;
        margin-top: 2px
    }

.plat-bd {
    padding: 24px;
    background: #0A0A0A;
    border-top: 1px solid #1F2937
}

.plat.android .plat-hd {
    background: linear-gradient(135deg,#0A1628,#0F2040)
}

.plat.ios .plat-hd {
    background: linear-gradient(135deg,#0A0A0A,#141414)
}

.plat.win .plat-hd {
    background: linear-gradient(135deg,#021A0E,#042B18)
}

.code {
    background: #050505;
    border-radius: 10px;
    padding: 16px 20px;
    font-family: 'JetBrains Mono',monospace;
    font-size: 12px;
    line-height: 1.75;
    color: #6B7280;
    margin: 12px 0;
    overflow-x: auto;
    border: 1px solid #1A1A1A
}

    .code .cm {
        color: #374151
    }

    .code .cmd {
        color: #9CA3AF
    }

    .code .str {
        color: #D1D5DB
    }

    .code .path {
        color: #6B7280
    }

.tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #1F2937
}

    .tbl th {
        background: #1A1A1A;
        color: #D1D5DB;
        padding: 10px 14px;
        text-align: left;
        font-weight: 700;
        font-size: 13px;
        border-bottom: 1px solid #2D3748
    }

    .tbl td {
        padding: 10px 14px;
        border-bottom: 1px solid #111;
        color: #D1D5DB
    }

    .tbl tr:last-child td {
        border-bottom: none
    }

    .tbl tr:nth-child(even) td {
        background: #080808
    }

    .tbl td:first-child {
        font-weight: 700;
        color: #9CA3AF
    }

    .tbl td code {
        font-family: 'JetBrains Mono',monospace;
        font-size: 12px;
        background: #1A1A1A;
        padding: 1px 5px;
        border-radius: 3px;
        color: #D1D5DB;
        border: 1px solid #2D3748
    }

    .tbl input {
        background: #0A0A0A;
        border: 1px solid #2D3748;
        color: #E5E7EB;
        border-radius: 4px;
        padding: 3px 8px;
        width: 100%;
        font-size: 13px
    }

        .tbl input::placeholder {
            color: #374151
        }

.ttbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin: 14px 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #1F2937
}

    .ttbl th {
        background: #111;
        color: #D1D5DB;
        padding: 10px 14px;
        text-align: left;
        font-size: 13px;
        font-weight: 700;
        border-bottom: 1px solid #1F2937
    }

    .ttbl td {
        padding: 11px 14px;
        border-bottom: 1px solid #111;
        vertical-align: top;
        color: #D1D5DB
    }

    .ttbl tr:last-child td {
        border-bottom: none
    }

    .ttbl tr:nth-child(odd) td {
        background: #050505
    }

    .ttbl tr:nth-child(even) td {
        background: #0A0A0A
    }

.sym {
    color: #F87171;
    font-weight: 700
}

.fix {
    color: #34D399;
    font-weight: 600
}

.os-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 14px;
    margin: 20px 0
}

.os-card {
    border: 1px solid #1F2937;
    border-radius: 14px;
    padding: 20px;
    background: #0F0F0F;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    color: inherit;
    display: block
}

    .os-card:hover {
        transform: translateY(-2px);
        border-color: #374151;
        box-shadow: 0 8px 32px rgba(0,0,0,.6)
    }

.os-ico {
    font-size: 36px;
    margin-bottom: 9px
}

.os-nm {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 4px;
    color: #E5E7EB
}

.os-ds {
    font-size: 12.5px;
    color: #6B7280;
    line-height: 1.5
}

.os-mth {
    font-size: 12px;
    font-weight: 700;
    margin-top: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-block
}

.android .os-mth {
    background: #1A1A1A;
    color: #9CA3AF;
    border: 1px solid #2D3748
}

.ios .os-mth {
    background: #1A1A1A;
    color: #9CA3AF;
    border: 1px solid #2D3748
}

.win .os-mth {
    background: #021A0E;
    color: #34D399;
    border: 1px solid #064E3B
}

.mock-wrap {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin: 20px 0;
    flex-wrap: wrap
}

.mock-phone {
    width: 190px;
    min-width: 190px;
    height: 350px;
    border: 3px solid #2D3748;
    border-radius: 28px;
    background: #111;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,.7)
}

.mock-screen {
    background: #0A0A0A;
    height: 100%;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 5px
}

.mock-bar {
    background: #1F2937;
    color: #9CA3AF;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 700;
    text-align: center
}

.mock-dlg {
    background: #111;
    border-radius: 8px;
    padding: 8px;
    border: 1px solid #2D3748;
    flex: 1
}

.mock-dlg-t {
    font-size: 10px;
    font-weight: 700;
    color: #D1D5DB;
    margin-bottom: 6px
}

.mock-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 4px;
    border-radius: 4px;
    font-size: 9px;
    border: 1px solid #1F2937;
    margin-bottom: 4px;
    background: #0A0A0A;
    color: #6B7280
}

    .mock-item.hi {
        border-color: #4B5563;
        background: #1F2937;
        font-weight: 700;
        color: #E5E7EB
    }

.mock-btn {
    background: #374151;
    color: #F1F5F9;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    font-size: 9px;
    font-weight: 700;
    margin-top: 4px
}

.ck-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 12px 0
}

    .ck-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 11px 16px;
        background: #0F0F0F;
        border: 1px solid #1F2937;
        border-radius: 9px;
        font-size: 13.5px;
        font-weight: 500;
        cursor: pointer;
        transition: all .15s;
        line-height: 1.5;
        color: #D1D5DB
    }

        .ck-list li:hover {
            border-color: #374151;
            background: #141414
        }

        .ck-list li.done {
            background: #021A0E;
            border-color: #064E3B;
            text-decoration: line-through;
            color: #4B5563
        }

.ck-box {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid #374151;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    transition: all .15s;
    flex-shrink: 0;
    margin-top: 1px;
    color: #E5E7EB
}

.done .ck-box {
    background: #34D399;
    border-color: #34D399;
    color: #000
}

    .done .ck-box::after {
        content: '✓'
    }

.dbox {
    border: 1px solid #1F2937;
    border-radius: 12px;
    overflow: hidden;
    margin: 18px 0;
    background: #0F0F0F
}

.dbox-t {
    background: #111;
    padding: 9px 18px;
    font-size: 11.5px;
    font-weight: 700;
    color: #4B5563;
    text-transform: uppercase;
    letter-spacing: .06em;
    border-bottom: 1px solid #1F2937
}

.dbox-b {
    padding: 20px
}

hr.sep {
    border: none;
    border-top: 1px solid #111;
    margin: 40px 0
}

@media(max-width:640px) {
    .site-header {
        padding: 32px 18px
    }

    .wrap {
        padding: 0 14px 60px
    }

    .flow {
        flex-direction: column
    }

    .fa {
        transform: rotate(90deg);
        width: 100%;
        height: 26px
    }

    .sn {
        width: 48px;
        min-width: 48px
    }

    .mock-wrap {
        flex-direction: column
    }
}

@media print {
    .toc-bar, .lang-bar {
        display: none
    }

    .sec {
        break-inside: avoid
    }
}

.modal-fullscreen .modal-content {
    height: fit-content;
    border: 0;
    border-radius: 0;
    min-height: 100vh;
    background: var(--bg-light) !important;
}
