* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #070b16;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 0%, rgba(249,115,22,0.18), transparent 28%),
        radial-gradient(circle at 82% 8%, rgba(250,204,21,0.13), transparent 26%),
        linear-gradient(160deg, #070b16 0%, #0b1120 48%, #050816 100%);
    color: #eef2ff;
    scroll-behavior: smooth;
    line-height: 1.5;
    overflow-x: hidden;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.024) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 72%);
    z-index: -1;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #111827;
}
::-webkit-scrollbar-thumb {
    background: #f97316;
    border-radius: 12px;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.home {
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
}
.home .download-section {
    margin-top: auto;
}

.navbar {
    padding: 20px 0 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}
.logo-icon {
    background: linear-gradient(135deg, rgba(251,146,60,0.18), rgba(220,38,38,0.18));
    width: 46px;
    height: 46px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    box-shadow: 0 14px 28px -12px rgba(249,115,22,0.75);
    overflow: hidden;
}
.logo-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.logo-text {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(120deg, #FFFFFF, #facc15);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.badge {
    background: rgba(249,115,22,0.12);
    backdrop-filter: blur(8px);
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    border: 1px solid rgba(249,115,22,0.48);
    color: #ffbd6b;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
    white-space: nowrap;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 44px 0 24px;
}
.hero-badge {
    background: rgba(255,215,0,0.12);
    color: #ffd966;
    padding: 6px 22px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}
.hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.75rem);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.055em;
    max-width: 900px;
    background: linear-gradient(110deg, #fff7ed 0%, #facc15 48%, #fb923c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 18px;
    text-wrap: balance;
    text-shadow: 0 18px 48px rgba(249,115,22,0.12);
}
.hero h1 span {
    display: block;
}
.hero .highlight-slogan {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(120deg, #ffd93d, #ff7e2e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 15px 0 12px;
    letter-spacing: -0.3px;
}
.hero p {
    font-size: 1.08rem;
    color: #d6def4;
    max-width: 760px;
    margin-bottom: 24px;
    background: rgba(3, 7, 18, 0.52);
    padding: 11px 22px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.07);
    backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.platform-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin: 22px 0 10px;
    max-width: 760px;
}
.platform-item {
    background: linear-gradient(180deg, rgba(15,23,42,0.82), rgba(2,6,23,0.68));
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.94rem;
    border: 1px solid rgba(148,163,184,0.22);
    transition: transform 0.2s, border-color 0.2s, background 0.2s;
    box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}
.platform-item:hover {
    transform: translateY(-2px);
    border-color: rgba(250,204,21,0.35);
}
.platform-item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.download-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(30,41,59,0.82), rgba(9,14,28,0.86)),
        radial-gradient(circle at 50% 0%, rgba(250,204,21,0.18), transparent 42%);
    backdrop-filter: blur(16px);
    border-radius: 40px;
    padding: 42px 32px;
    margin: 32px auto 50px;
    width: 100%;
    max-width: 840px;
    text-align: center;
    border: 1px solid rgba(251,146,60,0.44);
    box-shadow: 0 28px 70px -28px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.08);
}
.download-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.06), transparent);
    transform: translateX(-70%);
    pointer-events: none;
}
.download-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff, #facc15);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.download-sub {
    color: #b7c4ee;
    margin-bottom: 28px;
    font-size: 1rem;
}
.btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}
.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 17px 38px;
    border-radius: 999px;
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s, filter 0.2s;
    background: #1f2937;
    color: white;
    border: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
    min-width: 220px;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 16px 34px rgba(0,0,0,0.35);
}
.btn-icon {
    display: block;
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    flex: 0 0 auto;
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0,0,0,0.22));
}
.btn-ios-lite .btn-icon {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(224,242,254,0.55));
}
.ui-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    min-width: 1em;
    line-height: 1;
    font-weight: 900;
}
.btn-android {
    background: linear-gradient(105deg, #0f5c35, #20a158);
    box-shadow: 0 12px 24px -6px rgba(34,197,94,0.4);
}
.btn-ios {
    background: linear-gradient(105deg, #1e2a3a, #2c3e50);
    box-shadow: 0 12px 24px -6px rgba(100,116,139,0.5);
}
.btn-ios-lite {
    background:
        linear-gradient(105deg, rgba(59,130,246,0.92), rgba(14,165,233,0.9) 48%, rgba(45,212,191,0.86));
    border-color: rgba(125,211,252,0.42);
    box-shadow:
        0 14px 28px -8px rgba(14,165,233,0.48),
        inset 0 1px 0 rgba(255,255,255,0.22);
}
.download-btn:hover {
    transform: translateY(-5px);
    filter: brightness(1.05);
}
.btn-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    font-size: 0.8rem;
    color: #8b9bc3;
}
.ios-lite-guide-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #bae6fd;
    background: rgba(14,165,233,0.1);
    border: 1px solid rgba(125,211,252,0.22);
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 700;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.ios-lite-guide-link:hover {
    transform: translateY(-1px);
    background: rgba(14,165,233,0.16);
    border-color: rgba(125,211,252,0.38);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 28px;
    margin: 60px 0;
}
.feature-card {
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    border-radius: 42px;
    padding: 32px 24px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.25s;
}
.feature-card:hover {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(249,115,22,0.4);
}
.feature-icon {
    font-size: 2.4rem;
    background: linear-gradient(145deg, #f97316, #facc15);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    width: fit-content;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.feature-card p {
    color: #cbd5e1;
    font-size: 0.95rem;
}

.partner-show {
    background: rgba(0,0,0,0.25);
    border-radius: 80px;
    padding: 30px 20px;
    margin: 40px 0 60px;
    text-align: center;
}
.partner-show h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 28px;
}
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    row-gap: 24px;
}
.partner {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #0f172a99;
    padding: 12px 28px;
    border-radius: 60px;
    min-width: 100px;
}
.partner img {
    width: 56px;
    height: 32px;
    object-fit: contain;
    display: block;
    margin-bottom: 8px;
}
.partner span {
    font-weight: 500;
    font-size: 0.9rem;
}
.footer {
    text-align: center;
    padding: 40px 0 48px;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 20px;
    color: #7c8bb0;
    font-size: 0.85rem;
}

@media (max-width: 680px) {
    body {
        background-color: #070b16;
    }
    .container {
        width: min(100%, 390px);
        max-width: 390px;
        margin-left: 0;
        margin-right: 0;
        padding: 0 14px;
        min-height: 100svh;
    }
    @media (max-width: 430px) {
        .container {
            width: 100%;
            max-width: none;
            margin-left: auto;
            margin-right: auto;
        }
    }
    .navbar {
        padding: 14px 0 11px;
        min-width: 0;
    }
    .logo {
        gap: 9px;
        min-width: 0;
        flex: 1 1 auto;
    }
    .logo-icon {
        width: 38px;
        height: 38px;
        border-radius: 14px;
        font-size: 20px;
    }
    .badge {
        display: none;
    }
    .hero {
        padding: clamp(12px, 3.2svh, 22px) 0 clamp(8px, 1.8svh, 12px);
    }
    .hero-badge {
        margin-bottom: clamp(10px, 2svh, 16px);
        padding: 5px 14px;
        font-size: 0.76rem;
    }
    .hero h1 {
        font-size: clamp(2rem, 8.6vw, 2.15rem);
        line-height: 1.04;
        letter-spacing: -0.06em;
        margin-bottom: 10px;
        max-width: 100%;
    }
    .hero .highlight-slogan {
        font-size: 1rem;
        line-height: 1.32;
        margin: 8px 0 9px;
        padding: 0 4px;
    }
    .hero p {
        font-size: 0.86rem;
        line-height: 1.58;
        padding: 9px 12px;
        border-radius: 18px;
        margin-bottom: 14px;
    }
    .platform-strip {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        max-width: min(330px, calc(100% - 12px));
        margin: 10px auto 8px;
    }
    .platform-item {
        flex: 0 1 calc((100% - 16px) / 3);
        justify-content: center;
        padding: 6px 7px;
        font-size: 0.74rem;
        gap: 5px;
        min-width: 0;
        overflow: hidden;
    }
    .platform-item span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .platform-item img {
        width: 20px;
        height: 20px;
        flex: 0 0 auto;
    }
    .download-btn {
        width: 100%;
        min-width: 0;
        justify-content: center;
        padding: 12px 18px;
        font-size: 1.02rem;
        gap: 10px;
    }
    .btn-icon {
        width: 1.6rem;
        height: 1.6rem;
    }
    .download-section {
        padding: clamp(14px, 2.8svh, 18px) 14px clamp(12px, 2.5svh, 16px);
        margin: clamp(8px, 1.8svh, 12px) auto clamp(18px, 3.4svh, 28px);
        width: calc(100% - 28px);
        border-radius: 24px;
        max-width: 100%;
    }
    .download-title {
        font-size: 1.34rem;
        line-height: 1.25;
        margin-bottom: 8px;
    }
    .download-sub {
        margin-bottom: 14px;
        font-size: 0.84rem;
        line-height: 1.5;
    }
    .logo-text {
        font-size: 1.5rem;
    }
    .btn-group {
        flex-direction: column;
        gap: 10px;
    }
    .btn-note {
        margin-top: 10px;
        line-height: 1.45;
        font-size: 0.72rem;
        gap: 6px;
    }
    .ios-lite-guide-link {
        padding: 3px 8px;
        font-size: 0.7rem;
        max-width: 100%;
    }
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 34px 0;
    }
    .feature-card {
        border-radius: 26px;
        padding: 22px 18px;
    }
    .feature-icon {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    .feature-card h3 {
        font-size: 1.22rem;
        margin-bottom: 8px;
    }
    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.65;
    }
    .partner-show {
        border-radius: 32px;
        padding: 24px 14px;
        margin: 28px 0 42px;
    }
    .partner-show h3 {
        font-size: 1.15rem;
        line-height: 1.45;
        margin-bottom: 20px;
    }
    .partner-logos {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .partner {
        min-width: 0;
        padding: 12px 8px;
        border-radius: 22px;
    }
    .partner:last-child {
        grid-column: 1 / -1;
    }
    .partner img {
        width: 64px;
        height: 30px;
    }
    .footer {
        padding: 28px 8px 36px;
        font-size: 0.78rem;
        line-height: 1.7;
    }
}

@media (max-width: 430px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    .logo {
        gap: 7px;
    }
    .logo-icon {
        width: 34px;
        height: 34px;
        border-radius: 12px;
        font-size: 18px;
    }
    .logo-text {
        font-size: 1.35rem;
    }
    .badge {
        display: none;
    }
    .download-section {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 680px) and (max-height: 720px) {
    .navbar {
        padding: 10px 0 8px;
    }
    .hero {
        padding: 10px 0 6px;
    }
    .hero-badge {
        display: none;
    }
    .hero h1 {
        font-size: clamp(1.72rem, 7.8vw, 2rem);
        margin-bottom: 7px;
    }
    .hero .highlight-slogan {
        font-size: 0.92rem;
        margin: 6px 0;
    }
    .hero p {
        font-size: 0.8rem;
        line-height: 1.45;
        padding: 8px 10px;
        margin-bottom: 8px;
    }
    .download-section {
        padding: 14px 12px 12px;
        margin: 8px auto 18px;
    }
    .home .download-section {
        margin-top: 8px;
    }
    .download-title {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
    .download-sub {
        font-size: 0.78rem;
        margin-bottom: 10px;
    }
    .download-btn {
        padding: 10px 16px;
        font-size: 0.98rem;
    }
    .btn-note {
        margin-top: 6px;
        font-size: 0.66rem;
        gap: 5px;
    }
    .ios-lite-guide-link {
        padding: 3px 7px;
        font-size: 0.64rem;
    }
}

@media (max-width: 680px) and (max-height: 600px) {
    .hero p {
        display: none;
    }
    .download-section {
        margin-top: 6px;
    }
}

.toast-msg {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: #1e293bdd;
    backdrop-filter: blur(16px);
    color: white;
    padding: 12px 28px;
    border-radius: 60px;
    font-weight: 500;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
    border: 1px solid #facc15;
    font-size: 0.9rem;
    white-space: nowrap;
}
@media (max-width: 500px) {
    .toast-msg {
        white-space: normal;
        text-align: center;
        width: 80%;
        font-size: 0.8rem;
    }
}

.download-btn:active { transform: scale(0.97); transition: 0.05s; }
.platform-item, .feature-card { cursor: default; }
.highlight-slogan {
    animation: glowPulse 2s infinite;
}
@keyframes glowPulse {
    0% { text-shadow: 0 0 0px rgba(250,204,21,0.3);}
    50% { text-shadow: 0 0 10px rgba(250,204,21,0.8);}
    100% { text-shadow: 0 0 0px rgba(250,204,21,0.3);}
}

.partner-description {
    margin-top: 28px;
    font-size: 0.85rem;
    opacity: 0.8;
}
.footer-contact {
    margin-top: 8px;
}

.guide-page {
    min-height: 100vh;
}
.guide-container {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px 56px;
}
.guide-hero {
    padding: 42px 0 22px;
    text-align: center;
}
.guide-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    border-radius: 999px;
    color: #bae6fd;
    background: rgba(14,165,233,0.12);
    border: 1px solid rgba(125,211,252,0.26);
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.guide-hero h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
    background: linear-gradient(120deg, #ffffff, #bae6fd 45%, #2dd4bf);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 12px;
}
.guide-hero p {
    color: #b7c4ee;
    font-size: 1rem;
}
.guide-card {
    background:
        linear-gradient(180deg, rgba(30,41,59,0.82), rgba(9,14,28,0.88)),
        radial-gradient(circle at 50% 0%, rgba(14,165,233,0.2), transparent 42%);
    border: 1px solid rgba(125,211,252,0.26);
    border-radius: 34px;
    padding: 28px;
    box-shadow: 0 24px 62px -30px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.08);
}
.guide-steps {
    display: grid;
    gap: 14px;
}
.guide-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 13px;
    align-items: start;
    padding: 16px;
    border-radius: 22px;
    background: rgba(2,6,23,0.34);
    border: 1px solid rgba(255,255,255,0.06);
}
.guide-step-num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #06111f;
    background: linear-gradient(135deg, #bae6fd, #2dd4bf);
    font-weight: 900;
}
.guide-step h2 {
    font-size: 1rem;
    margin-bottom: 4px;
}
.guide-step p {
    color: #b7c4ee;
    font-size: 0.9rem;
    line-height: 1.65;
}
.guide-step-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 16px;
    align-items: center;
}
.guide-step-copy {
    min-width: 0;
}
.guide-step-shot {
    position: relative;
    margin: 0;
    justify-self: end;
    width: 132px;
    padding: 7px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(15,23,42,0.72), rgba(2,6,23,0.88));
    border: 1px solid rgba(148,163,184,0.18);
    box-shadow: 0 16px 34px -24px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.08);
}
.guide-step-shot::after {
    content: '点击放大';
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    padding: 4px 8px;
    border-radius: 999px;
    color: #e0f2fe;
    background: rgba(2,6,23,0.72);
    border: 1px solid rgba(125,211,252,0.26);
    font-size: 0.68rem;
    font-weight: 800;
    white-space: nowrap;
    pointer-events: none;
}
.guide-step-shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    background: #020617;
}
.guide-step-shot img.is-previewable {
    cursor: zoom-in;
    transition: transform 0.18s ease, filter 0.18s ease;
}
.guide-step-shot img.is-previewable:hover {
    transform: scale(1.015);
    filter: brightness(1.06);
}
.guide-image-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(18px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));
    background: rgba(2,6,23,0.82);
    backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}
.guide-image-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}
.guide-image-modal-img {
    display: block;
    max-width: min(92vw, 520px);
    max-height: 86svh;
    width: auto;
    height: auto;
    border-radius: 24px;
    background: #020617;
    box-shadow: 0 26px 80px -30px rgba(0,0,0,0.95), 0 0 0 1px rgba(255,255,255,0.12);
    transform: scale(0.96);
    transition: transform 0.18s ease;
}
.guide-image-modal.is-open .guide-image-modal-img {
    transform: scale(1);
}
.guide-image-modal-close {
    position: fixed;
    top: max(14px, env(safe-area-inset-top));
    right: max(14px, env(safe-area-inset-right));
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: #e0f2fe;
    background: rgba(15,23,42,0.86);
    box-shadow: 0 12px 28px -14px rgba(0,0,0,0.9);
    cursor: pointer;
}
.guide-image-modal-tip {
    position: fixed;
    left: 50%;
    bottom: max(18px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    padding: 6px 12px;
    border-radius: 999px;
    color: #cbd5e1;
    background: rgba(15,23,42,0.72);
    font-size: 0.76rem;
}
body.modal-open {
    overflow: hidden;
}
.guide-step-with-gallery .guide-step-body {
    grid-template-columns: 1fr;
    gap: 14px;
}
.guide-shot-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    min-width: 0;
}
.guide-shot-grid .guide-step-shot {
    justify-self: stretch;
    width: 100%;
    max-width: 150px;
    margin: 0 auto;
}
.guide-tips {
    margin-top: 18px;
    padding: 15px 16px;
    border-radius: 22px;
    color: #fde68a;
    background: rgba(251,191,36,0.09);
    border: 1px solid rgba(251,191,36,0.22);
    font-size: 0.88rem;
    line-height: 1.65;
}
.guide-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}
.guide-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 180px;
    padding: 12px 20px;
    border-radius: 999px;
    color: #e0f2fe;
    text-decoration: none;
    font-weight: 800;
    background: rgba(15,23,42,0.82);
    border: 1px solid rgba(125,211,252,0.2);
}
.guide-back-link.primary {
    color: #fff;
    background:
        linear-gradient(105deg, rgba(59,130,246,0.92), rgba(14,165,233,0.9) 48%, rgba(45,212,191,0.86));
    border-color: rgba(125,211,252,0.42);
    box-shadow:
        0 14px 28px -8px rgba(14,165,233,0.48),
        inset 0 1px 0 rgba(255,255,255,0.22);
}

@media (max-width: 680px) {
    .guide-container {
        width: 100%;
        max-width: 100%;
        padding: 0 14px 36px;
        overflow-x: hidden;
    }
    .guide-hero {
        padding: 24px 0 14px;
    }
    .guide-hero h1 {
        max-width: 100%;
        font-size: clamp(1.56rem, 7.2vw, 1.98rem);
        line-height: 1.16;
        letter-spacing: -0.04em;
        overflow-wrap: anywhere;
    }
    .guide-card {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        border-radius: 26px;
        padding: 14px;
    }
    .guide-step {
        min-width: 0;
        overflow: hidden;
        padding: 13px;
        border-radius: 18px;
        grid-template-columns: auto minmax(0, 1fr);
    }
    .guide-step h2,
    .guide-step p {
        overflow-wrap: anywhere;
    }
    .guide-step-body {
        min-width: 0;
        width: 100%;
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .guide-step-shot {
        justify-self: center;
        width: min(156px, 100%);
        padding: 6px;
        border-radius: 20px;
    }
    .guide-shot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        justify-items: center;
    }
    .guide-shot-grid .guide-step-shot {
        width: 100%;
        max-width: 122px;
        padding: 5px;
    }
    .guide-step-shot::after {
        bottom: 10px;
        padding: 3px 7px;
        font-size: 0.64rem;
    }
    .guide-step-shot img {
        border-radius: 14px;
    }
    .guide-step-num {
        width: 30px;
        height: 30px;
    }
    .guide-actions {
        flex-direction: column;
    }
    .guide-back-link {
        width: 100%;
    }
}
