/* Masar PWA Install Guide — iPhone Safari & Android Chrome live visual mockups */
@media screen {
.pwa-page {
    min-height: 100vh;
    background: var(--bg, #efe8dc);
    color: var(--ink, #171412);
    overflow-x: clip;
}
.pwa-page-main {
    max-width: 1140px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3.5rem;
}
.pwa-page-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.75rem 1.75rem;
    border-radius: 24px;
    background: linear-gradient(135deg, #fffdf8 0%, #f8efe2 100%);
    border: 1px solid rgba(23, 20, 18, .09);
    box-shadow: 0 14px 36px rgba(23, 20, 18, .06);
    margin-bottom: 1.5rem;
}
.pwa-page-hero-copy {
    flex: 1 1 320px;
    min-width: 0;
}
.pwa-page-hero h1 {
    font-size: clamp(1.55rem, 3.2vw, 2.25rem);
    font-weight: 800;
    line-height: 1.25;
    margin: .35rem 0 .6rem;
    color: var(--ink, #171412);
}
.pwa-page-hero p {
    margin: 0;
    color: var(--muted, #5e554c);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 62ch;
}
.pwa-page-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1rem;
}
.pwa-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .38rem .78rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    background: rgba(232, 93, 4, .1);
    color: #c24b02;
    border: 1px solid rgba(232, 93, 4, .2);
}
.pwa-chip-neutral {
    background: rgba(23, 20, 18, .05);
    color: var(--ink, #171412);
    border-color: rgba(23, 20, 18, .1);
}
.pwa-chip-ok {
    background: rgba(22, 163, 74, .12);
    color: #15803d;
    border-color: rgba(22, 163, 74, .25);
}
.pwa-hero-icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .55rem;
    padding: 1rem 1.25rem;
    border-radius: 20px;
    background: #171412;
    color: #fffdf8;
    min-width: 152px;
    text-align: center;
    box-shadow: 0 12px 26px rgba(23, 20, 18, .18);
}
.pwa-hero-icon-box img {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
    display: block;
}
.pwa-hero-icon-box b {
    font-size: .88rem;
    font-weight: 700;
}
.pwa-hero-icon-box small {
    font-size: .74rem;
    color: rgba(255, 253, 248, .72);
}

/* Shared Guide Container */
.pwa-guide {
    position: relative;
    margin: 0;
}
.pwa-guide-home {
    padding: 1.65rem;
    border-radius: 24px;
    background: linear-gradient(180deg, #fffdf8 0%, #faf3e8 100%);
    border: 1px solid rgba(23, 20, 18, .09);
    box-shadow: 0 12px 32px rgba(23, 20, 18, .05);
}
.pwa-guide-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
}
.pwa-guide-head-copy {
    flex: 1 1 280px;
    min-width: 0;
}
.pwa-guide-head h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 800;
    margin: .2rem 0 .45rem;
    line-height: 1.3;
}
.pwa-guide-head p {
    margin: 0;
    color: var(--muted, #5e554c);
    font-size: .95rem;
    line-height: 1.6;
}
.pwa-guide-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
}
.pwa-direct-install-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .62rem 1.15rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: .92rem;
    background: #e85d04;
    color: #fff;
    border: 0;
    box-shadow: 0 8px 20px rgba(232, 93, 4, .28);
    cursor: pointer;
    transition: transform .15s ease, background .15s ease;
}
.pwa-direct-install-btn:hover {
    background: #cf5203;
    transform: translateY(-1px);
}
.pwa-direct-install-btn[hidden] {
    display: none !important;
}
.pwa-guide-link-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .58rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: .88rem;
    text-decoration: none;
    color: var(--ink, #171412);
    background: rgba(23, 20, 18, .06);
    border: 1px solid rgba(23, 20, 18, .12);
    transition: background .15s ease, border-color .15s ease;
}
.pwa-guide-link-btn:hover {
    background: rgba(232, 93, 4, .1);
    border-color: rgba(232, 93, 4, .3);
    color: #c24b02;
}

/* Status bar: detected device + standalone badge */
.pwa-detect-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
    padding: .75rem 1rem;
    border-radius: 14px;
    background: rgba(23, 20, 18, .045);
    border: 1px solid rgba(23, 20, 18, .08);
    margin-bottom: 1.1rem;
    font-size: .88rem;
}
.pwa-detect-msg {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 700;
    color: var(--ink, #171412);
}
.pwa-detect-msg i {
    color: #e85d04;
    font-size: 1rem;
}
.pwa-standalone-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .28rem .7rem;
    border-radius: 999px;
    background: rgba(22, 163, 74, .14);
    color: #15803d;
    font-weight: 700;
    font-size: .8rem;
}
.pwa-standalone-badge[hidden] {
    display: none !important;
}

/* Platform Accordion Blocks */
.pwa-platforms {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.pwa-plat {
    border-radius: 20px;
    background: #fffdf8;
    border: 1px solid rgba(23, 20, 18, .1);
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(23, 20, 18, .04);
}
.pwa-plat[open] {
    border-color: rgba(232, 93, 4, .34);
    box-shadow: 0 12px 28px rgba(232, 93, 4, .08);
}
.pwa-plat-sum {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 1rem 1.2rem;
    user-select: none;
    background: rgba(23, 20, 18, .02);
}
.pwa-plat-sum::-webkit-details-marker {
    display: none;
}
.pwa-plat-title {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}
.pwa-plat-ico {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex: 0 0 auto;
    background: #171412;
    color: #fffdf8;
}
.pwa-plat[data-plat="android"] .pwa-plat-ico {
    background: #14532d;
    color: #dcfce7;
}
.pwa-plat-title strong {
    display: block;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--ink, #171412);
}
.pwa-plat-title small {
    display: block;
    font-size: .82rem;
    color: var(--muted, #5e554c);
}
.pwa-plat-end {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    flex: 0 0 auto;
}
.pwa-plat-tag {
    font-size: .74rem;
    font-weight: 700;
    padding: .24rem .62rem;
    border-radius: 999px;
    background: rgba(232, 93, 4, .12);
    color: #c24b02;
}
.pwa-plat-chev {
    font-size: 1rem;
    color: var(--muted, #5e554c);
    transition: transform .2s ease;
}
.pwa-plat[open] .pwa-plat-chev {
    transform: rotate(180deg);
}
.pwa-plat-body {
    padding: 0 1.2rem 1.25rem;
}

/* Step Cards Grid */
.pwa-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .95rem;
    margin-top: .35rem;
}
.pwa-steps-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pwa-step-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    background: #f8f2e8;
    border: 1px solid rgba(23, 20, 18, .08);
    padding: .9rem;
    min-width: 0;
}
.pwa-step-head {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: .65rem;
}
.pwa-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e85d04;
    color: #fff;
    font-weight: 800;
    font-size: .84rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}
.pwa-step-head h3 {
    margin: 0;
    font-size: .94rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--ink, #171412);
}
.pwa-step-desc {
    margin: .65rem 0 0;
    font-size: .82rem;
    line-height: 1.55;
    color: var(--muted, #5e554c);
}

/* Phone Mockup Frame */
.pwa-mock {
    position: relative;
    border-radius: 16px;
    background: #171412;
    padding: 8px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 8px 18px rgba(23, 20, 18, .12);
    overflow: hidden;
    aspect-ratio: 4 / 3.35;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    direction: ltr;
}
.pwa-mock-screen {
    position: relative;
    flex: 1 1 auto;
    border-radius: 10px;
    background: #f2f2f7;
    color: #1c1c1e;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 11px;
}
.pwa-mock-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 8px 2px;
    font-size: 9px;
    font-weight: 700;
    color: #1c1c1e;
    opacity: .75;
}
.pwa-mock-urlbar {
    margin: 4px 8px;
    padding: 5px 8px;
    border-radius: 9px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, .09);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #1c1c1e;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
}
.pwa-mock-urlbar.is-pulse {
    border-color: #e85d04;
    animation: pwaGlow 2.2s ease-in-out infinite;
}
.pwa-mock-body-preview {
    margin: 4px 8px;
    flex: 1 1 auto;
    border-radius: 8px;
    background: linear-gradient(135deg, #efe8dc 0%, #fffdf8 100%);
    border: 1px solid rgba(23, 20, 18, .08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px;
    text-align: center;
}
.pwa-mock-mini-logo {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #171412;
    color: #e85d04;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 11px;
}
.pwa-mock-mini-bar {
    width: 64%;
    height: 5px;
    border-radius: 99px;
    background: rgba(23, 20, 18, .15);
}
.pwa-mock-mini-bar.sm {
    width: 42%;
    background: rgba(232, 93, 4, .35);
}

/* iOS Safari Bottom Bar */
.pwa-ios-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 6px 8px;
    background: rgba(255, 255, 255, .94);
    border-top: 1px solid rgba(0, 0, 0, .08);
    color: #007aff;
}
.pwa-ios-share-btn {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 93, 4, .14);
    color: #e85d04;
    animation: pwaTapBtn 2.2s ease-in-out infinite;
}
.pwa-ios-share-btn::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid #e85d04;
    opacity: 0;
    animation: pwaRipple 2.2s ease-out infinite;
}

/* iOS Share Sheet Mockup */
.pwa-ios-sheet {
    margin-top: auto;
    background: #f2f2f7;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    padding: 6px 7px 8px;
    box-shadow: 0 -6px 16px rgba(0, 0, 0, .14);
    animation: pwaSheetSlide 3.2s ease-in-out infinite;
}
.pwa-ios-sheet-handle {
    width: 26px;
    height: 3px;
    border-radius: 99px;
    background: rgba(0, 0, 0, .2);
    margin: 0 auto 5px;
}
.pwa-ios-sheet-list {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .06);
}
.pwa-ios-sheet-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 7px;
    font-size: 9.5px;
    color: #3a3a3c;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}
.pwa-ios-sheet-row:last-child {
    border-bottom: 0;
}
.pwa-ios-sheet-row.is-target {
    position: relative;
    background: rgba(232, 93, 4, .13);
    color: #b54502;
    font-weight: 800;
    animation: pwaRowPulse 2.2s ease-in-out infinite;
}
.pwa-ios-sheet-row.is-target .pwa-plus-box {
    width: 15px;
    height: 15px;
    border-radius: 4px;
    border: 1.5px solid #e85d04;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    line-height: 1;
    color: #e85d04;
}

/* iOS Add-to-Home-Screen Dialog */
.pwa-ios-dialog {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    background: #f2f2f7;
}
.pwa-ios-dialog-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    font-size: 9.5px;
}
.pwa-ios-add-btn {
    position: relative;
    padding: 2px 7px;
    border-radius: 6px;
    background: #e85d04;
    color: #ffffff;
    font-weight: 800;
    font-size: 9.5px;
    animation: pwaTapBtn 2.2s ease-in-out infinite;
}
.pwa-ios-add-btn::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 8px;
    border: 2px solid #e85d04;
    opacity: 0;
    animation: pwaRipple 2.2s ease-out infinite;
}
.pwa-ios-dialog-card {
    margin: 9px 8px;
    padding: 7px 8px;
    border-radius: 9px;
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0, 0, 0, .07);
}
.pwa-ios-dialog-meta {
    min-width: 0;
    flex: 1 1 auto;
}
.pwa-ios-dialog-meta b {
    display: block;
    font-size: 10px;
    color: #1c1c1e;
}
.pwa-ios-dialog-meta small {
    display: block;
    font-size: 8.5px;
    color: #6e6e73;
}

/* Android Chrome Mockups */
.pwa-and-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    padding: 5px 7px;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.pwa-and-pill {
    flex: 1 1 auto;
    padding: 4px 8px;
    border-radius: 99px;
    background: #f1f3f4;
    font-size: 9.5px;
    font-weight: 700;
    color: #202124;
    display: flex;
    align-items: center;
    gap: 4px;
}
.pwa-and-dots {
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 93, 4, .14);
    color: #e85d04;
    font-weight: 900;
    font-size: 13px;
    animation: pwaTapBtn 2.2s ease-in-out infinite;
}
.pwa-and-dots::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #e85d04;
    opacity: 0;
    animation: pwaRipple 2.2s ease-out infinite;
}
.pwa-and-menu {
    position: absolute;
    top: 26px;
    right: 8px;
    width: 78%;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
    border: 1px solid rgba(0, 0, 0, .08);
    overflow: hidden;
    animation: pwaMenuPop 2.8s ease-in-out infinite;
}
.pwa-and-confirm {
    margin: auto 10px;
    padding: 9px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
    border: 1px solid rgba(0, 0, 0, .08);
}
.pwa-and-confirm-foot {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 8px;
    font-size: 9.5px;
}
.pwa-and-install-cta {
    position: relative;
    padding: 3px 9px;
    border-radius: 99px;
    background: #e85d04;
    color: #fff;
    font-weight: 800;
    animation: pwaTapBtn 2.2s ease-in-out infinite;
}

/* Video Slot (only shown when real video file/link exists) */
.pwa-video-card {
    margin-top: 1.15rem;
    padding: 1.15rem;
    border-radius: 20px;
    background: #fffdf8;
    border: 1px solid rgba(23, 20, 18, .1);
}
.pwa-video-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .85rem;
}
.pwa-video-head h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}
.pwa-video-wrap {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background: #171412;
    aspect-ratio: 16 / 9;
}
.pwa-video-wrap video,
.pwa-video-wrap iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    object-fit: contain;
}

/* Post-install tips */
.pwa-tips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
    margin-top: 1.15rem;
}
.pwa-tip {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    padding: .9rem 1rem;
    border-radius: 16px;
    background: rgba(232, 93, 4, .07);
    border: 1px solid rgba(232, 93, 4, .18);
}
.pwa-tip-warn {
    background: rgba(23, 20, 18, .045);
    border-color: rgba(23, 20, 18, .1);
}
.pwa-tip i {
    font-size: 1.15rem;
    color: #e85d04;
    flex: 0 0 auto;
    margin-top: 2px;
}
.pwa-tip-warn i {
    color: var(--muted, #5e554c);
}
.pwa-tip b {
    display: block;
    font-size: .92rem;
    font-weight: 800;
    margin-bottom: .15rem;
    color: var(--ink, #171412);
}
.pwa-tip p {
    margin: 0;
    font-size: .84rem;
    line-height: 1.5;
    color: var(--muted, #5e554c);
}

/* Homepage Hero Install CTA pill */
.home-install-cta-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .55rem;
    font-size: .88rem;
    font-weight: 700;
    color: #c24b02;
    text-decoration: none;
    padding: .34rem .78rem;
    border-radius: 999px;
    background: rgba(232, 93, 4, .09);
    border: 1px solid rgba(232, 93, 4, .22);
    transition: background .15s ease, transform .15s ease;
}
.home-install-cta-link:hover {
    background: rgba(232, 93, 4, .16);
    color: #9a3412;
    transform: translateY(-1px);
}

/* Page footer bar on /install */
.pwa-page-foot {
    margin-top: 2rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(23, 20, 18, .1);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: .88rem;
}
.pwa-page-foot-links {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}
.pwa-page-foot-links a {
    color: var(--ink, #171412);
    text-decoration: none;
    font-weight: 700;
}
.pwa-page-foot-links a:hover {
    color: #e85d04;
}

/* Keyframes (CSS-only live visual animation) */
@keyframes pwaRipple {
    0% { transform: scale(.85); opacity: .9; }
    65% { transform: scale(1.42); opacity: 0; }
    100% { transform: scale(1.42); opacity: 0; }
}
@keyframes pwaTapBtn {
    0%, 100% { transform: scale(1); }
    35% { transform: scale(.92); }
    55% { transform: scale(1.06); }
}
@keyframes pwaGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(232, 93, 4, .28); }
    50% { box-shadow: 0 0 0 4px rgba(232, 93, 4, .16); }
}
@keyframes pwaRowPulse {
    0%, 100% { background: rgba(232, 93, 4, .12); }
    50% { background: rgba(232, 93, 4, .24); }
}
@keyframes pwaSheetSlide {
    0%, 15% { transform: translateY(10px); opacity: .88; }
    35%, 85% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(10px); opacity: .88; }
}
@keyframes pwaMenuPop {
    0%, 15% { transform: scale(.96); opacity: .88; }
    35%, 85% { transform: scale(1); opacity: 1; }
    100% { transform: scale(.96); opacity: .88; }
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .pwa-ios-share-btn,
    .pwa-ios-share-btn::after,
    .pwa-ios-sheet,
    .pwa-ios-sheet-row.is-target,
    .pwa-ios-add-btn,
    .pwa-ios-add-btn::after,
    .pwa-and-dots,
    .pwa-and-dots::after,
    .pwa-and-menu,
    .pwa-and-install-cta,
    .pwa-mock-urlbar.is-pulse {
        animation: none !important;
        transition: none !important;
    }
}

/* Dark Mode */
[data-mode="dark"] .pwa-page {
    background: #0d1117;
    color: #f3efe8;
}
[data-mode="dark"] .pwa-page-hero,
[data-mode="dark"] .pwa-guide-home,
[data-mode="dark"] .pwa-plat,
[data-mode="dark"] .pwa-video-card {
    background: #161b22;
    border-color: rgba(255, 255, 255, .1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}
[data-mode="dark"] .pwa-page-hero h1,
[data-mode="dark"] .pwa-guide-head h2,
[data-mode="dark"] .pwa-plat-title strong,
[data-mode="dark"] .pwa-step-head h3,
[data-mode="dark"] .pwa-tip b,
[data-mode="dark"] .pwa-detect-msg,
[data-mode="dark"] .pwa-page-foot-links a {
    color: #f3efe8;
}
[data-mode="dark"] .pwa-page-hero p,
[data-mode="dark"] .pwa-guide-head p,
[data-mode="dark"] .pwa-plat-title small,
[data-mode="dark"] .pwa-step-desc,
[data-mode="dark"] .pwa-tip p {
    color: #b4b9c2;
}
[data-mode="dark"] .pwa-step-card {
    background: #0f141b;
    border-color: rgba(255, 255, 255, .08);
}
[data-mode="dark"] .pwa-detect-bar,
[data-mode="dark"] .pwa-tip-warn,
[data-mode="dark"] .pwa-chip-neutral,
[data-mode="dark"] .pwa-guide-link-btn {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .12);
    color: #f3efe8;
}
[data-mode="dark"] .pwa-chip,
[data-mode="dark"] .pwa-plat-tag,
[data-mode="dark"] .home-install-cta-link {
    background: rgba(232, 93, 4, .18);
    color: #ff9c5a;
    border-color: rgba(232, 93, 4, .34);
}
[data-mode="dark"] .pwa-page-foot {
    border-top-color: rgba(255, 255, 255, .1);
}

/* Responsive */
@media (max-width: 1024px) {
    .pwa-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pwa-steps-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .pwa-page-main {
        padding: 1rem .85rem 2.75rem;
    }
    .pwa-page-hero,
    .pwa-guide-home {
        padding: 1.15rem 1rem;
        border-radius: 18px;
    }
    .pwa-hero-icon-box {
        width: 100%;
        flex-direction: row;
        text-align: start;
        justify-content: flex-start;
    }
    .pwa-steps-grid,
    .pwa-steps-grid-3,
    .pwa-tips {
        grid-template-columns: 1fr;
    }
    .pwa-plat-sum {
        padding: .85rem .95rem;
    }
    .pwa-plat-body {
        padding: 0 .9rem 1rem;
    }
}
}
