/* ==========================================================================
   PickSafe PWA Dedicated Install Guide Page Styles
   ========================================================================== */

.guide-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 1rem 0.5rem 2.5rem 0.5rem;
}

/* Header & Back Button */
.guide-header {
    margin-bottom: 1.5rem;
}

.guide-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-secondary, #64748b);
    text-decoration: none;
    padding: 0.4rem 0.75rem;
    border-radius: 10px;
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--card-border, #e2e8f0);
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.guide-back-btn:hover {
    color: var(--text-primary, #0f172a);
    background: var(--bg-sidebar, #f8fafc);
}

.guide-app-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 0.25rem 0.25rem 0.5rem;
}

.guide-app-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
    object-fit: contain;
    padding: 7px;
    box-sizing: border-box;
}

.guide-main-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary, #0f172a);
    margin: 0 0 4px 0;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.guide-main-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary, #64748b);
    margin: 0;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* OS Tab Switcher - Strict Container Fit */
.guide-tab-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 4px;
    gap: 4px;
    margin-bottom: 1.25rem;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden; /* Prevent any child overflow */
}

.guide-tab-btn {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0.65rem 0.5rem;
    border-radius: 10px;
    border: none;
    background: transparent;
    font-size: clamp(0.78rem, 2.5vw, 0.9rem);
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    margin: 0;
    overflow: hidden;
}

.guide-tab-btn .tab-browser-icon {
    flex-shrink: 0;
    transition: transform 0.2s ease;
    opacity: 0.85;
}

.guide-tab-btn .tab-label-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.guide-tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.65);
    color: #1e293b;
}

/* Crystal Clear Selected Tab Style (Strictly bounds within container) */
.guide-tab-btn.active {
    background: linear-gradient(135deg, var(--accent, #5ABFAD) 0%, #297b6b 100%) !important;
    color: #ffffff !important;
    font-weight: 800;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(90, 191, 173, 0.35);
    transform: none !important; /* No translateY overflow */
}

.guide-tab-btn.active .tab-label-text {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.guide-tab-btn.active .tab-browser-icon {
    opacity: 1;
    transform: scale(1.05);
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.2));
}

/* ==========================================================================
   Real-Time Browser Diagnostic Status Card (Traffic Light System)
   ========================================================================== */
.browser-status-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 1rem 1.15rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.status-indicator {
    padding-top: 3px;
    flex-shrink: 0;
}

.status-dot {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #94a3b8;
    position: relative;
}

/* Green (Safe / Success) Status */
.browser-status-card.status-success {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-color: #86efac;
}

.browser-status-card.status-success .status-dot {
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.browser-status-card.status-success .status-title {
    color: #065f46;
}

.browser-status-card.status-success .status-badge {
    background: #d1fae5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.browser-status-card.status-success .status-desc {
    color: #047857;
}

/* Amber/Orange (Warning / Action Required) Status */
.browser-status-card.status-warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fcd34d;
}

.browser-status-card.status-warning .status-dot {
    background: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
    animation: pulse-dot 1.8s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.75; }
}

.browser-status-card.status-warning .status-title {
    color: #92400e;
}

.browser-status-card.status-warning .status-badge {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
    font-weight: 800;
}

.browser-status-card.status-warning .status-desc {
    color: #b45309;
}

/* Blue (Info / Device Mismatch) Status */
.browser-status-card.status-mismatch {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #93c5fd;
}

.browser-status-card.status-mismatch .status-dot {
    background: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
    animation: pulse-dot 1.8s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

.browser-status-card.status-mismatch .status-title {
    color: #1e40af;
}

.browser-status-card.status-mismatch .status-badge {
    background: #bfdbfe;
    color: #1e3a8a;
    border: 1px solid #93c5fd;
    font-weight: 800;
}

.browser-status-card.status-mismatch .status-desc {
    color: #1d4ed8;
}

/* Device Switch Tab CTA Button */
.btn-switch-tab {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-align: center;
    user-select: none;
}

.btn-switch-tab:active {
    transform: scale(0.98);
}

.btn-switch-tab:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.status-content {
    flex: 1;
    min-width: 0;
}

.status-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 3px;
    flex-wrap: wrap;
}

.status-title {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.3;
}

.status-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    white-space: nowrap;
}

.status-desc {
    font-size: 0.82rem;
    line-height: 1.45;
    margin: 0;
}

/* In-App Browser Action Buttons */
.browser-fix-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(180, 83, 9, 0.25);
}

.btn-launch-browser {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: none;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-align: left;
}

.btn-launch-browser:active {
    transform: scale(0.98);
}

.btn-launch-browser svg {
    flex-shrink: 0;
    margin-right: 6px;
}

.btn-launch-browser .btn-arrow-badge {
    font-size: 0.78rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.25);
    white-space: nowrap;
}

/* Chrome CTA button */
.btn-launch-browser.btn-chrome {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
}

.btn-launch-browser.btn-chrome:hover {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
}

/* Safari CTA button */
.btn-launch-browser.btn-safari {
    background: linear-gradient(135deg, #007aff 0%, #0056b3 100%);
    color: #ffffff;
}

.btn-launch-browser.btn-safari:hover {
    background: linear-gradient(135deg, #1a88ff 0%, #0066cc 100%);
}

.btn-copy-url {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(180, 83, 9, 0.3);
    background: #ffffff;
    color: #92400e;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn-copy-url:hover {
    background: #fffbeb;
}

/* ==========================================================================
   Safari In-App Escape Modal / Overlay
   ========================================================================== */
.safari-escape-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem;
}

.safari-escape-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.safari-escape-dialog {
    position: relative;
    z-index: 10;
    max-width: 420px;
    width: 100%;
    margin-top: 1rem;
    animation: modal-slide-down 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-slide-down {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.safari-escape-pointer {
    background: #2563eb;
    color: #ffffff;
    padding: 0.65rem 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
    margin-bottom: 0.75rem;
    animation: pointer-bounce 1.4s infinite ease-in-out;
}

@keyframes pointer-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.pointer-arrow {
    font-size: 1.1rem;
}

.safari-escape-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.35rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.safari-escape-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #f1f5f9;
}

.safari-escape-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.safari-escape-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 2px 0;
}

.safari-escape-sub {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0;
}

.safari-escape-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.25rem;
}

.escape-step-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.escape-step-row.highlight {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}

.escape-step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--text-secondary, #64748b);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.escape-step-row.highlight .escape-step-num {
    background: #2563eb;
}

.escape-step-info {
    font-size: 0.84rem;
    color: #334155;
    line-height: 1.35;
}

.escape-step-row.highlight .escape-step-info {
    color: #1e40af;
}

.safari-escape-btn-close {
    width: 100%;
    padding: 0.75rem;
    border-radius: 12px;
    border: none;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.safari-escape-btn-close:hover {
    background: #1e293b;
}

/* Alert Boxes */
.guide-alert-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    margin-bottom: 1.25rem;
    font-size: 0.82rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.guide-alert-warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
    color: #92400e;
}

.guide-alert-success {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.alert-icon {
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
}

/* Steps List */
.guide-steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.step-card {
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--card-border, #e2e8f0);
    border-radius: 20px;
    padding: 1.25rem 1.15rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    min-width: 0;
    overflow: hidden;
}

.step-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.4rem;
    min-width: 0;
}

.step-badge {
    background: linear-gradient(135deg, var(--accent, #5ABFAD) 0%, #348575 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 8px;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.step-title {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--text-primary, #0f172a);
    margin: 0;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
}

.step-desc {
    font-size: 0.84rem;
    color: var(--text-secondary, #64748b);
    line-height: 1.5;
    margin: 0 0 1rem 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Safari Mockup Frame */
.safari-mockup-frame {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    padding: 0.75rem;
    overflow: hidden;
    position: relative;
}

.safari-mockup-body {
    background: #ffffff;
    border-radius: 10px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #cbd5e1;
    margin-bottom: 0.75rem;
}

.safari-page-placeholder {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 600;
}

/* Safari Bottom Toolbar */
.safari-bottom-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border-radius: 12px;
    padding: 6px 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.toolbar-nav-arrow {
    font-size: 1.2rem;
    color: #94a3b8;
    user-select: none;
    padding: 0 2px;
}

.safari-url-pill {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 5px 8px;
    font-size: 0.76rem;
    color: #334155;
}

.lock-icon {
    font-size: 0.65rem;
}

.url-text {
    font-weight: 600;
}

/* Highlighted Safari More Circle Button */
.safari-more-circle-highlight {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    cursor: pointer;
    position: relative;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
    flex-shrink: 0;
}

.circle-dots {
    font-size: 1.15rem;
    letter-spacing: -1px;
    line-height: 1;
    margin-top: -3px;
}

.pulse-ring {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid #2563eb;
    animation: ring-pulse 1.6s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes ring-pulse {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

.mockup-caption {
    margin-top: 0.65rem;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1d4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Safari Popup Menu Mockup */
.safari-popup-menu {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid #f1f5f9;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-icon-box {
    width: 28px;
    height: 28px;
    background: #eff6ff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-share-item {
    background: #eff6ff;
    border: 1.5px solid #2563eb;
    border-radius: 10px;
    margin: 4px;
}

.text-blue {
    color: #1d4ed8;
}

.font-bold {
    font-weight: 700;
}

.select-check-badge {
    font-size: 0.8rem;
    font-weight: 800;
    color: #2563eb;
    background: #dbeafe;
    padding: 3px 8px;
    border-radius: 6px;
}

.muted-item {
    opacity: 0.55;
    font-size: 0.8rem;
}

/* Safari Share Sheet Step 3 Mockup */
.safari-sheet-part {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.safari-step-tag {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--accent, #5ABFAD);
    padding-left: 2px;
    letter-spacing: 0.02em;
}

.ios-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    gap: 8px;
}

.ios-action-row.highlight-action-row {
    background: #f0fdf4;
    border-color: #86efac;
}

.ios-action-text {
    flex: 1;
    min-width: 0;
}

.ios-action-main {
    font-size: 0.88rem;
    color: #0f172a;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ios-action-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ios-action-icon {
    width: 32px;
    height: 32px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.highlight-action-row .ios-action-icon {
    border-color: #86efac;
    color: #059669;
    background: #ffffff;
}

.ios-confirm-box {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 14px;
    padding: 0.65rem 0.85rem 0.85rem 0.85rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.ios-confirm-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.5rem;
    margin-bottom: 0.65rem;
}

.ios-btn-cancel {
    font-size: 0.82rem;
    font-weight: 400;
    color: #007aff;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: default;
}

.ios-confirm-title {
    font-size: clamp(0.68rem, 2.1vw, 0.82rem);
    font-weight: 600;
    color: #000000;
    text-align: center;
    white-space: nowrap;
    overflow: visible;
    letter-spacing: -0.01em;
    padding: 0 2px;
}

.ios-btn-add {
    font-size: 0.82rem;
    font-weight: 600;
    color: #007aff;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    padding: 2px 4px;
    border-radius: 4px;
    animation: ios-action-pulse 2s infinite ease-in-out;
}

@keyframes ios-action-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

.ios-preview-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
}

.ios-preview-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    object-fit: contain;
    padding: 6px;
    box-sizing: border-box;
}

.ios-preview-info {
    display: flex;
    flex-direction: column;
}

.ios-preview-name {
    font-size: 0.85rem;
    color: #0f172a;
}

.ios-preview-url {
    font-size: 0.72rem;
    color: #94a3b8;
}

.click-hand {
    font-size: 0.78rem;
    font-weight: 800;
    color: #059669;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Android Section Styles */
.android-install-card {
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--card-border, #e2e8f0);
    border-radius: 20px;
    padding: 1.5rem 1.15rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    text-align: center;
    min-width: 0;
    overflow: hidden;
}

.android-install-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-align: left;
    margin-bottom: 1.25rem;
    min-width: 0;
}

.android-app-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
    object-fit: contain;
    padding: 7px;
    box-sizing: border-box;
}

.android-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary, #0f172a);
    margin: 0 0 4px 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.android-card-desc {
    font-size: 0.82rem;
    color: var(--text-secondary, #64748b);
    margin: 0;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.android-cta-btn {
    width: 100%;
    padding: 0.85rem 0.5rem;
    font-size: clamp(0.82rem, 3.6vw, 1.02rem);
    font-weight: 800;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, var(--accent, #5ABFAD) 0%, #348575 100%);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(90, 191, 173, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.android-cta-btn:active {
    transform: scale(0.98);
}

/* Chrome New UI Mockup Styles (설치 및 바로가기 만들기 > 설치) */
.chrome-mockup-frame {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    padding: 0.85rem;
}

.chrome-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-radius: 10px;
    padding: 7px 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.chrome-url {
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
}

.chrome-dots-highlight {
    font-size: 1.15rem;
    font-weight: 900;
    color: #2563eb;
    background: #eff6ff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #93c5fd;
    position: relative;
    cursor: pointer;
}

.dots-icon {
    line-height: 1;
    margin-top: -2px;
}

.pulse-ring-chrome {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid #2563eb;
    animation: ring-pulse 1.8s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
}

.chrome-flow-box {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.chrome-menu-step {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chrome-step-tag {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--accent, #5ABFAD);
    padding-left: 2px;
    letter-spacing: 0.02em;
}

.chrome-menu-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.65rem 0.85rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.highlight-menu-row {
    background: #f0fdf4;
    border-color: #86efac;
}

.chrome-submenu-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1.5px solid #059669;
    border-radius: 12px;
    padding: 0.65rem 0.85rem;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.12);
}

.highlight-sub-row {
    background: #ecfdf5;
}

.chrome-menu-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.chrome-icon-box {
    width: 28px;
    height: 28px;
    background: #ffffff;
    border: 1px solid #d1fae5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.chrome-label-main {
    font-size: 0.85rem;
    color: #0f172a;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.text-accent {
    color: #059669;
}

.chrome-label-sub {
    font-size: 0.7rem;
    color: #64748b;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-word;
    margin-left: 0;
}

.chrome-step-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.chrome-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    background: var(--accent, #5ABFAD);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 50%;
}

.chrome-step-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-secondary, #64748b);
}

.chrome-sub-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.chrome-submenu-row.muted-row {
    border: 1px dashed #e2e8f0;
    background: #f8fafc;
    box-shadow: none;
    opacity: 0.65;
}

.chrome-icon-box.muted-icon {
    border-color: #e2e8f0;
    background: #f1f5f9;
    font-size: 0.8rem;
}

.chrome-label-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    gap: 1px;
}

.text-muted {
    color: #64748b !important;
}

.chrome-menu-arrow {
    font-size: 1.1rem;
    color: #059669;
    font-weight: 800;
}

