/* ===== 全局样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;
    background: #ffffff;
    color: #1d1d1f;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    /* 适配 iPhone 底部安全区域 */
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

a {
    text-decoration: none;
    color: inherit;
    -webkit-touch-callout: none;
}

/* 防止长按弹出菜单 */
img, a, button, input {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* 输入框允许选择 */
input {
    -webkit-user-select: auto;
    user-select: auto;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    /* 适配 iPhone 刘海屏 */
    padding-top: env(safe-area-inset-top);
    height: calc(48px + env(safe-area-inset-top));
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1d1d1f;
    font-size: 18px;
    font-weight: 600;
}

.apple-icon {
    width: 20px;
    height: 20px;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-link {
    font-size: 12px;
    color: #6e6e73;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0071e3;
}

/* ===== 首页 Hero 区域 ===== */
.home-page {
    padding-top: 48px;
    padding-top: calc(48px + env(safe-area-inset-top));
}

.hero {
    text-align: center;
    padding: 40px 16px 30px;
    position: relative;
}

/* iCloud 视频动画 */
.icloud-video-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 24px;
}

.icloud-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
}

.hero-title {
    font-size: 72px;
    font-weight: 600;
    letter-spacing: -1.44px;
    line-height: 72px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #1d1d1f 0%, #424245 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-login {
    background: #1d1d1f;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 980px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 16px;
    /* H5 触摸优化 */
    min-height: 44px;
    -webkit-appearance: none;
    appearance: none;
}

.btn-login:active {
    opacity: 0.8;
    transform: scale(0.98);
}

.hero-subtitle {
    font-family: SF Pro Display, Helvetica Neue, sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 32px;
    color: #1d1d1f;
    max-width: 320px;
    margin: 24px auto 16px;
    padding: 0 8px;
    text-align: center;
}

/* ===== 功能卡片区域 ===== */
.features {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.feature-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 0;
}

.feature-card:active {
    transform: scale(0.98);
}

.feature-icons {
    margin-bottom: 24px;
}

.feature-icon-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.app-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-icon svg {
    width: 30px;
    height: 30px;
}

.mail-icon { background: linear-gradient(135deg, #007AFF, #5856D6); }
.find-icon { background: linear-gradient(135deg, #34C759, #30D158); }
.notes-icon { background: linear-gradient(135deg, #FFD700, #FFA500); }
.calendar-icon { background: linear-gradient(135deg, #FF3B30, #FF6B6B); }
.folder-icon { background: linear-gradient(135deg, #5AC8FA, #007AFF); }
.contacts-icon { background: linear-gradient(135deg, #8E8E93, #636366); }
.charts-icon { background: linear-gradient(135deg, #34C759, #30D158); }
.pencil-icon { background: linear-gradient(135deg, #FF9500, #FF6B00); }
.photos-icon { background: linear-gradient(135deg, #FF2D55, #FF6B6B); }
.key-icon { background: linear-gradient(135deg, #5856D6, #AF52DE); }

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #1d1d1f;
    line-height: 1.4;
}

.feature-desc {
    font-size: 15px;
    color: #6e6e73;
    line-height: 1.7;
}

/* iCloud+ 卡片 */
.feature-icloud-plus {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.cloud-graphic {
    position: relative;
    width: 240px;
    height: 170px;
}

.cloud-svg {
    width: 100%;
    height: 100%;
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.float-icon {
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 122, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatIcon 4s ease-in-out infinite;
}

.float-icon svg {
    width: 18px;
    height: 18px;
}

.lock-icon {
    top: 15px;
    left: 10px;
    animation-delay: 0s;
}

.globe-icon {
    top: 10px;
    right: 15px;
    animation-delay: 1s;
}

.mail-float-icon {
    bottom: 25px;
    right: 10px;
    animation-delay: 2s;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-6px) scale(1.05); }
}

/* ===== 登录页面 ===== */
.login-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 16px 40px;
    padding-top: calc(48px + env(safe-area-inset-top) + 32px);
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
}

.login-container {
    width: 100%;
    max-width: 420px;
}

.login-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* Apple 标志动画 - 点阵圆环 */
.apple-logo-animation {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
}

.ring-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.apple-center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    color: #1d1d1f;
}

.login-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1d1d1f;
}

.login-form {
    text-align: left;
}

.input-group {
    position: relative;
    margin-bottom: 16px;
}

.login-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 16px; /* 防止 iOS 自动放大 */
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
    /* H5 触摸优化 */
    min-height: 44px;
    -webkit-appearance: none;
    appearance: none;
}

.login-input:focus {
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}

.input-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #86868b;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 4px;
}

.login-input:focus ~ .input-label,
.login-input:not(:placeholder-shown) ~ .input-label {
    top: 0;
    font-size: 12px;
    color: #0071e3;
}

.create-account-link {
    display: inline-block;
    color: #0071e3;
    font-size: 14px;
    margin-bottom: 20px;
    transition: color 0.3s ease;
    /* 增大点击区域 */
    padding: 8px 0;
    margin: -8px 0 20px;
}

.create-account-link:active {
    opacity: 0.7;
}

.login-info {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    padding: 14px;
    background: #f5f5f7;
    border-radius: 12px;
}

.info-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
}

.info-icon svg {
    width: 100%;
    height: 100%;
}

.info-text {
    font-size: 11px;
    color: #6e6e73;
    line-height: 1.5;
}

.login-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.btn {
    flex: 1;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    /* H5 触摸优化 */
    min-height: 44px;
    -webkit-appearance: none;
    appearance: none;
}

.btn:active {
    opacity: 0.8;
    transform: scale(0.98);
}

.btn-primary {
    background: #0071e3;
    color: white;
}

.btn-secondary {
    background: #1d1d1f;
    color: white;
}

.ios-note {
    font-size: 11px;
    color: #86868b;
    text-align: center;
    padding: 0 8px;
}

/* ===== 密码输入步骤 ===== */
.combined-input {
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.combined-input:focus-within {
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}

.combined-input-top {
    padding: 12px 16px 8px;
}

.combined-label {
    font-size: 12px;
    color: #86868b;
    display: block;
    margin-bottom: 2px;
}

.combined-email-input {
    width: 100%;
    padding: 4px 0;
    border: none;
    font-size: 16px;
    outline: none;
    background: transparent;
    color: #1d1d1f;
    -webkit-appearance: none;
    appearance: none;
}

.combined-divider {
    height: 1px;
    background: #e5e5ea;
    margin: 0 16px;
}

.combined-input-bottom {
    position: relative;
    padding: 16px 16px 12px;
}

.combined-password-input {
    width: 100%;
    padding: 10px 0 2px;
    border: none;
    font-size: 16px;
    outline: none;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
}

.combined-password-label {
    position: absolute;
    left: 16px;
    top: 18px;
    font-size: 16px;
    color: #86868b;
    pointer-events: none;
    transition: all 0.2s ease;
}

.combined-password-input:focus ~ .combined-password-label,
.combined-password-input:not(:placeholder-shown) ~ .combined-password-label {
    top: 10px;
    font-size: 12px;
    color: #0071e3;
}

.password-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.keep-signed-in {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #1d1d1f;
    cursor: pointer;
}

.keep-signed-in input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #0071e3;
    cursor: pointer;
}

.forgot-password-link {
    color: #0071e3;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.forgot-password-link::after {
    content: '↗';
    font-size: 12px;
}

.forgot-password-link:active {
    opacity: 0.7;
}

.btn-login-blue {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: #0071e3;
    color: white;
    min-height: 48px;
    -webkit-appearance: none;
    appearance: none;
}

.btn-login-blue:active {
    opacity: 0.8;
    transform: scale(0.98);
}

.change-account-link {
    display: block;
    text-align: center;
    color: #0071e3;
    font-size: 14px;
    margin-top: 16px;
    padding: 8px 0;
}

.change-account-link:active {
    opacity: 0.7;
}

/* 步骤切换动画 */
.login-step {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== 页脚 ===== */
.footer {
    background: #f5f5f7;
    padding: 16px;
    margin-top: 30px;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 11px;
    color: #6e6e73;
    transition: color 0.3s ease;
    /* 增大点击区域 */
    padding: 8px 4px;
    margin: -8px -4px;
}

.footer-links a:active {
    opacity: 0.7;
}

.footer-copyright {
    font-size: 11px;
    color: #86868b;
}

/* ===== 页面切换动画 ===== */
.home-page,
.login-page {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== H5 移动端适配 ===== */

/* 移动端功能卡片垂直排列 */
@media (max-width: 767px) {
    .features {
        grid-template-columns: 1fr;
    }
}

/* 小屏手机适配 (iPhone SE 等) */
@media (max-width: 375px) {
    .hero {
        padding: 24px 16px 16px;
    }

    .hero-title {
        font-size: 20px;
        letter-spacing: -0.3px;
        line-height: 24px;
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 20px;
        margin: 12px auto 8px;
        max-width: 240px;
    }

    .icloud-video-container {
        width: 160px;
        height: 160px;
        margin: 0 auto 12px;
    }

    .feature-card {
        padding: 20px 16px;
    }

    .feature-card h3 {
        font-size: 14px;
    }

    .feature-desc {
        font-size: 11px;
    }

    .login-card {
        padding: 24px 16px;
    }

    .login-title {
        font-size: 18px;
    }

    .apple-logo-animation {
        width: 90px;
        height: 90px;
    }

    .apple-center-icon {
        width: 32px;
        height: 32px;
    }
}

/* iPhone 大屏适配 (iPhone 12/13/14/15 等) */
@media (min-width: 376px) and (max-width: 430px) {
    .hero {
        padding: 24px 20px 16px;
    }

    .hero-title {
        font-size: 32px;
        letter-spacing: -0.5px;
        line-height: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
        line-height: 22px;
        margin: 14px auto 10px;
        max-width: 260px;
    }

    .icloud-video-container {
        width: 180px;
        height: 180px;
        margin: 0 auto 14px;
    }
}

/* 平板适配 */
@media (min-width: 768px) and (max-width: 1024px) {
    .features {
        gap: 24px;
    }

    .hero-title {
        font-size: 64px;
    }
}

/* PC 端放大卡片 */
@media (min-width: 1025px) {
    .features {
        gap: 30px;
        padding: 0 40px;
    }

    .feature-card {
        padding: 56px 48px;
        border-radius: 28px;
    }

    .feature-icons {
        margin-bottom: 28px;
    }

    .feature-icon-row {
        gap: 20px;
        margin-bottom: 20px;
    }

    .app-icon {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }

    .app-icon svg {
        width: 34px;
        height: 34px;
    }

    .feature-card h3 {
        font-size: 26px;
        margin-bottom: 16px;
    }

    .feature-desc {
        font-size: 17px;
        line-height: 1.8;
    }

    .feature-icloud-plus {
        margin-bottom: 28px;
    }

    .cloud-graphic {
        width: 280px;
        height: 200px;
    }

    .float-icon {
        width: 42px;
        height: 42px;
    }

    .float-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* 横屏适配 */
@media (orientation: landscape) and (max-height: 500px) {
    .hero {
        padding: 20px 16px;
    }

    .icloud-video-container {
        width: 120px;
        height: 120px;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .features {
        margin: 20px auto;
    }

    .login-page {
        padding: 20px 16px;
    }

    .apple-logo-animation {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }

    .login-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
}

/* 深色模式适配 */
@media (prefers-color-scheme: dark) {
    body {
        background: #000000;
        color: #f5f5f7;
    }

    .navbar {
        background: rgba(0, 0, 0, 0.8);
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

    .logo {
        color: #f5f5f7;
    }

    .nav-link {
        color: #a1a1a6;
    }

    .nav-link:hover {
        color: #f5f5f7;
    }

    .hero-title {
        background: linear-gradient(135deg, #f5f5f7 0%, #a1a1a6 100%);
        -webkit-background-clip: text;
        background-clip: text;
    }

    .hero-subtitle {
        color: #a1a1a6;
    }

    .btn-login {
        background: #f5f5f7;
        color: #000000;
    }

    /* 深色模式下视频使用正常混合模式 */
    .icloud-video {
        mix-blend-mode: normal;
    }

    .feature-card {
        background: #1c1c1e;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }

    .feature-card h3 {
        color: #f5f5f7;
    }

    .feature-desc {
        color: #a1a1a6;
    }

    .login-card {
        background: #1c1c1e;
    }

    .login-title {
        color: #f5f5f7;
    }

    .login-input {
        background: #2c2c2e;
        border-color: #48484a;
        color: #f5f5f7;
    }

    .input-label {
        background: #1c1c1e;
        color: #8e8e93;
    }

    .login-input:focus ~ .input-label,
    .login-input:not(:placeholder-shown) ~ .input-label {
        color: #0a84ff;
    }

    .login-info {
        background: #2c2c2e;
    }

    .info-text {
        color: #8e8e93;
    }

    .create-account-link {
        color: #0a84ff;
    }

    .btn-primary {
        background: #0a84ff;
        color: #ffffff;
    }

    .btn-secondary {
        background: #2c2c2e;
        color: #f5f5f7;
    }

    .footer {
        background: #1c1c1e;
    }

    .footer-links a {
        color: #a1a1a6;
    }

    .footer-copyright {
        color: #8e8e93;
    }

    /* 密码步骤深色模式 */
    .combined-input {
        border-color: #48484a;
    }

    .combined-label {
        color: #8e8e93;
    }

    .combined-email-input {
        color: #f5f5f7;
    }

    .combined-divider {
        background: #38383a;
    }

    .combined-password-input {
        color: #f5f5f7;
    }

    .combined-password-label {
        color: #8e8e93;
        background: #1c1c1e;
    }

    .keep-signed-in {
        color: #f5f5f7;
    }

    .forgot-password-link {
        color: #0a84ff;
    }

    .btn-login-blue {
        background: #0a84ff;
    }

    .change-account-link {
        color: #0a84ff;
    }

    .ios-note {
        color: #8e8e93;
    }

    /* Apple Logo 深色模式 */
    .apple-center-icon {
        color: #f5f5f7;
    }
}

/* ===== 验证码对话框 ===== */
.verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.verification-dialog {
    background: #ffffff;
    border-radius: 28px;
    padding: 48px 40px 40px;
    width: 90%;
    max-width: 480px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.verify-apple-logo {
    margin: 0 auto 24px;
    width: 100px;
    height: 100px;
}

.verify-apple-logo svg {
    width: 100%;
    height: 100%;
}

/* 验证码对话框中的 Apple Logo 动画 */
.verification-dialog .apple-logo-animation {
    margin: 0 auto 24px;
}

.verification-title {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 12px;
}

.verification-desc {
    font-size: 15px;
    color: #86868b;
    margin: 0 0 32px;
    line-height: 1.6;
}

.verification-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 24px;
}

.verify-code-input {
    width: 44px;
    height: 48px;
    border: 1.5px solid #d2d2d7;
    border-radius: 10px;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    color: #1d1d1f;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
    background: #ffffff;
}

.verify-code-input:focus {
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.resend-link,
.cant-use-link {
    display: block;
    font-size: 14px;
    color: #0071e3;
    text-decoration: none;
    padding: 6px 0;
    margin: 0 auto;
}

.resend-link:active,
.cant-use-link:active {
    opacity: 0.6;
}

.verify-divider {
    height: 1px;
    background: #e5e5ea;
    margin: 24px 0;
}

.verify-device-info {
    font-size: 13px;
    color: #86868b;
    line-height: 1.6;
    margin: 0 0 24px;
}

.verify-device-actions {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.device-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #86868b;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.device-action-btn:active {
    background: rgba(0, 0, 0, 0.05);
}

.device-action-btn svg {
    width: 28px;
    height: 28px;
    opacity: 0.6;
}

/* 深色模式 - 验证码对话框 */
@media (prefers-color-scheme: dark) {
    .verification-dialog {
        background: #1c1c1e;
    }

    .verification-title {
        color: #f5f5f7;
    }

    .verification-desc {
        color: #8e8e93;
    }

    .verify-code-input {
        background: #2c2c2e;
        border-color: #48484a;
        color: #f5f5f7;
    }

    .verify-code-input:focus {
        background: #3a3a3c;
    }

    .verify-divider {
        background: #38383a;
    }

    .verify-device-info {
        color: #8e8e93;
    }

    .device-action-btn {
        color: #8e8e93;
    }

    .device-action-btn:active {
        background: rgba(255, 255, 255, 0.05);
    }

    .device-action-btn svg {
        opacity: 0.5;
    }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
