:root {
    --md-sys-color-background: #7ebaf0;
    --md-sys-color-on-background: #002952;
    --md-sys-color-surface: rgba(255,255,255,0.5);
    --md-sys-color-surface-container: rgba(255,255,255,0.6);
    --md-sys-color-surface-variant: rgba(255,255,255,0.6);
    --md-sys-color-on-surface-variant: #44474f;
    --md-sys-color-primary: #00539c;
    --md-sys-color-on-primary: #7ebaf0;
    --md-sys-color-primary-container: #d1e4ff;
    --md-sys-color-on-primary-container: #001d36;

    --weather-sun: #ffb300;
    --weather-moon: #5c6065;
    --weather-star: rgba(0, 0, 0, 0.18);
    --weather-lightning: #ffb300;
    --weather-dust-stream: #e5c483;
    --weather-dust-particle: #d4b26f;

    --md-sys-curve-emphasized: cubic-bezier(0.1, 0.9, 0.2, 1);
    --md-sys-curve-fluid: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
    :root {
        --weather-moon: #ffffff;
        --weather-star: rgba(255, 255, 255, 0.85);
        --weather-lightning: #fff59d;
        --weather-dust-stream: #a88a52;
        --weather-dust-particle: #bfa065;
    }
}

html, body {
    width: 100%; height: 100%; overflow: hidden; margin: 0; padding: 0;
    background-color: var(--md-sys-color-background);
    color: var(--md-sys-color-on-background);
    display: flex; justify-content: center; align-items: center;
    font-family: 'Roboto', sans-serif; box-sizing: border-box;
    transition: background-color 0.8s var(--md-sys-curve-emphasized);
}

.fast-bg-transition, .fast-bg-transition body, .fast-bg-transition .desk-container {
    transition: background-color 0.15s ease-out !important;
}

.desk-container {
    width: 100%; height: 100%; background: var(--md-sys-color-surface);
    display: flex; flex-direction: row; overflow: hidden; position: relative;
    transition: background-color 0.8s var(--md-sys-curve-emphasized);
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
}

.weather-canvas { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2;
}
.weather-space { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 1; overflow: hidden; 
}

.pane { 
    height: 100%; position: relative; box-sizing: border-box; display: flex; flex-direction: column; z-index: 3;
}
.pane-left { 
    width: 40%; padding: 40px; justify-content: space-between; gap: 20px; overflow: hidden;
}
.pane-right { 
    width: 60%; padding: 40px; background: transparent; justify-content: flex-start; overflow: visible;
}
.panel-content-router { flex: 1; width: 100%; display: flex; flex-direction: column; overflow: visible; }
.view-panel { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: space-between; overflow: visible; }
.view-panel.hidden { display: none !important; }
.widget-grid-strict { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; width: 100%; flex: 1; align-content: space-between; overflow: visible; }

.time-area { display: flex; flex-direction: column; align-items: flex-start; }
.time-display-stacked {
    display: flex; flex-direction: column; line-height: 0.82;
    font-size: clamp(70px, 9vw, 110px); font-weight: 700; letter-spacing: -4px;
}
.time-display-stacked .hour-part { color: var(--md-sys-color-primary); transition: color 0.8s ease; }
.time-display-stacked .min-part { color: var(--md-sys-color-on-background); font-weight: 300; opacity: 0.85; transition: color 0.8s ease; }
.date-container { margin-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.date-display { font-size: 16px; font-weight: 700; opacity: 0.85; letter-spacing: 0.5px; }
.lunar-display { font-size: 13px; font-weight: 500; opacity: 0.65; letter-spacing: 0.3px; color: var(--md-sys-color-primary); transition: color 0.8s ease; }
.poetic-display { font-size: 13px; font-weight: 500; opacity: 0; color: var(--md-sys-color-primary); margin-top: 6px; transition: opacity 0.5s ease; height: 18px; letter-spacing: 0.5px; }

.weather-status-area { display: flex; flex-direction: column; gap: 6px; }
.temp-display { font-size: clamp(32px, 3.8vw, 40px); font-weight: 300; }
.weather-desc-row { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
.desc-text { opacity: 0.85; }
.forecast-text-box { font-size: 13px; opacity: 0.8; font-weight: 500; margin-top: 6px; color: var(--md-sys-color-primary); min-height: 18px; transition: all 0.3s ease; }

.aqi-pill { 
    padding: 4px 10px; border-radius: 12px; font-size: 11px; font-weight: 700;
    background: color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent); 
    color: var(--md-sys-color-primary); letter-spacing: 0.5px; transition: all 0.8s ease; 
}

/* 拟真低高斯物理面板（唯一保留背景模糊层） */
.widget-card-glass {
    background: var(--md-sys-color-surface-container);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border-radius: 28px; padding: 22px;
    display: flex; flex-direction: column; justify-content: space-between; box-sizing: border-box; 
    will-change: transform, box-shadow;
    transform: translateZ(0);
    transition: transform 0.3s var(--md-sys-curve-emphasized), 
                background-color 0.8s var(--md-sys-curve-emphasized), 
                box-shadow 0.3s var(--md-sys-curve-emphasized),
                border-color 0.8s ease;
    border: 1px solid color-mix(in srgb, var(--md-sys-color-on-surface-variant) 12%, transparent);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.2), 0 12px 32px rgba(0, 0, 0, 0.03);
}
@media (prefers-color-scheme: dark) {
    .widget-card-glass {
        box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 12px 32px rgba(0, 0, 0, 0.08);
        border: 1px solid color-mix(in srgb, var(--md-sys-color-on-surface-variant) 14%, transparent);
    }
}

.widget-card-glass:hover { 
    transform: translateY(-2px);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3), 0 16px 36px rgba(0, 0, 0, 0.04);
}
.widget-card-glass:active { transform: translateY(0); }

.large-action-card { 
    background: color-mix(in srgb, var(--md-sys-color-primary-container) 40%, transparent) !important; 
    color: var(--md-sys-color-on-primary-container) !important; 
    border: 1px solid color-mix(in srgb, var(--md-sys-color-primary) 18%, transparent) !important;
}
@media (prefers-color-scheme: dark) {
    .large-action-card { background: color-mix(in srgb, var(--md-sys-color-primary-container) 22%, transparent) !important; }
}
.large-action-card .giant-icon { color: var(--md-sys-color-primary); }

.right-pane-header { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-bottom: 20px; flex-shrink: 0; }
.pane-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; opacity: 0.5; margin: 0; }

.mode-toggle-capsule { 
    display: flex; background: color-mix(in srgb, var(--md-sys-color-surface-container) 65%, transparent); 
    padding: 4px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--md-sys-color-surface-variant) 30%, transparent); 
    /* 移除内部的 backdrop-filter 以免叠加发脏 */
}
.mode-tab-btn { padding: 6px 14px; font-size: 12px; font-weight: 500; border: none; background: transparent; color: var(--md-sys-color-on-background); cursor: pointer; border-radius: 99px; transition: all 0.3s ease; display: flex; align-items: center; gap: 4px; }
.mode-tab-btn.active { background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); font-weight: 700; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }

.widget-header h3 { margin: 0; font-size: 14px; font-weight: 700; opacity: 0.85; }
.widget-icon { color: var(--md-sys-color-primary); font-size: 22px; transition: color 0.8s ease; }
.widget-body { font-size: 12px; line-height: 1.4; opacity: 0.8; }
.text-center-widget { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; }
.giant-icon { font-size: 54px !important; transition: transform 0.3s var(--md-sys-curve-emphasized); }
.widget-title-clean { font-size: 15px; font-weight: 700; letter-spacing: 0.5px; }

.contact-row-hub { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 12px; margin-top: 6px; }
.voice-avatar-btn { 
    flex: 1; background: color-mix(in srgb, var(--md-sys-color-surface) 40%, transparent); border: 1px solid color-mix(in srgb, var(--md-sys-color-surface-variant) 40%, transparent);
    padding: 10px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; transition: all 0.3s var(--md-sys-curve-emphasized);
    /* 移除了内部背景模糊层级叠化 */
}
.voice-avatar-btn:hover { background: color-mix(in srgb, var(--md-sys-color-surface-variant) 60%, transparent); transform: translateY(-1px); }
.voice-avatar-btn:active { transform: scale(0.95); }
.avatar-circle { width: 36px; height: 36px; border-radius: 50%; background: var(--md-sys-color-primary-container); color: var(--md-sys-color-on-primary-container); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: bold; box-shadow: inset 0 2px 4px rgba(0,0,0,0.05); }
.avatar-circle.color-b { background: #e8f5e9; color: #2e7d32; }
.avatar-circle.color-c { background: #ffebee; color: #ff3b30; }
.contact-name { font-size: 11px; font-weight: 700; opacity: 0.8; }

.ha-ext-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 100%; margin-top: 4px; }
.ha-mini-pill-btn { 
    padding: 12px 6px; border-radius: 16px; border: 1px dashed color-mix(in srgb, var(--md-sys-color-surface-variant) 60%, transparent); background: color-mix(in srgb, var(--md-sys-color-surface-container) 30%, transparent); color: var(--md-sys-color-on-background); font-size: 11px; font-weight: 700; cursor: pointer; text-align: center; transition: all 0.3s var(--md-sys-curve-emphasized); display: flex; flex-direction: column; align-items: center; gap: 4px; 
    /* 移除了内部背景模糊层级叠化 */
}
.ha-mini-pill-btn:hover { background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); border-style: solid; border-color: transparent; }
.ha-mini-pill-btn .material-symbols-rounded { font-size: 16px; opacity: 0.8; }

.lightning-flash-overlay { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.65) 0%, transparent 85%); opacity: 0; pointer-events: none; z-index: 3; mix-blend-mode: screen; 
}
.flash-active .lightning-flash-overlay { animation: soft-flash 0.42s var(--md-sys-curve-fluid); }

.w-element { position: absolute; opacity: 0; pointer-events: none; will-change: transform, opacity; transition: opacity 1.5s var(--md-sys-curve-fluid), filter 1.5s ease; }
.ele-sun { width: 85px; height: 85px; background: var(--weather-sun); border-radius: 50%; top: 12%; left: 22%; box-shadow: 0 0 45px rgba(255, 179, 0, 0.5); }
.ele-sun::before { content: ''; position: absolute; top: -45px; left: -45px; right: -45px; bottom: -45px; background: radial-gradient(circle, rgba(255, 235, 59, 0.3) 0%, rgba(255, 179, 0, 0.1) 50%, transparent 75%); border-radius: 50%; z-index: -1; animation: sun-halo-rotate 22s infinite linear; }
.is-daytime.m-sunny .ele-sun { opacity: 0.95; pointer-events: auto; animation: sun-pulse 6s infinite alternate var(--md-sys-curve-fluid); filter: none; }
.is-daytime.m-cloudy .ele-sun { opacity: 0.35; pointer-events: auto; filter: blur(4px); transform: scale(0.95); }

.ele-moon { width: 60px; height: 60px; border-radius: 50%; top: 14%; left: 23%; box-shadow: -15px 15px 0 0 var(--weather-moon); filter: drop-shadow(0 0 14px var(--weather-moon)); transform: rotate(-15deg); transition: all 1.5s ease;}
.is-nighttime.m-sunny .ele-moon { opacity: 1; pointer-events: auto; animation: moon-float 8s infinite var(--md-sys-curve-fluid); filter: drop-shadow(0 0 14px var(--weather-moon)); }
.is-nighttime.m-cloudy .ele-moon { opacity: 0.38; pointer-events: auto; animation: moon-float 12s infinite linear; filter: blur(5px) rotate(-10deg); }

.ele-moon.m-full-moon {
    box-shadow: 0 0 35px rgba(255, 235, 150, 0.6), inset 0 0 20px rgba(255, 235, 150, 0.5);
    background: radial-gradient(circle at 35% 35%, #fffde7 0%, #fff59d 100%);
    filter: drop-shadow(0 0 20px #fff59d);
    transform: none !important;
}
.is-nighttime.m-sunny .ele-moon.m-full-moon { animation: moon-float-full 8s infinite var(--md-sys-curve-fluid) !important; }

.ele-star { width: 3px; height: 3px; background: var(--weather-star); border-radius: 50%; }
.star-1 { left: 4%; top: 12%; }   .star-2 { left: 14%; top: 28%; }
.star-3 { left: 22%; top: 8%; }   .star-4 { left: 31%; top: 22%; }
.star-5 { left: 39%; top: 15%; }  .star-6 { left: 48%; top: 33%; }
.star-7 { left: 55%; top: 9%; }   .star-8 { left: 62%; top: 25%; }
.star-9 { left: 69%; top: 14%; }  .star-10 { left: 74%; top: 38%; }
.star-11 { left: 81%; top: 7%; }  .star-12 { left: 86%; top: 21%; }
.star-13 { left: 91%; top: 32%; } .star-14 { left: 96%; top: 11%; }
.star-15 { left: 10%; top: 68%; } .star-16 { left: 50%; top: 75%; }
.is-nighttime.m-sunny .ele-star { opacity: 0.85; animation: star-twinkle 2.5s infinite var(--md-sys-curve-fluid); }
.is-nighttime.m-sunny .star-1, .is-nighttime.m-sunny .star-5, .is-nighttime.m-sunny .star-9, .is-nighttime.m-sunny .star-13 { animation-delay: 0.3s; animation-duration: 2s; }
.is-nighttime.m-sunny .star-2, .is-nighttime.m-sunny .star-6, .is-nighttime.m-sunny .star-10, .is-nighttime.m-sunny .star-14 { animation-delay: 0.7s; animation-duration: 3s; }
.is-nighttime.m-sunny .star-3, .is-nighttime.m-sunny .star-7, .is-nighttime.m-sunny .star-11, .is-nighttime.m-sunny .star-15 { animation-delay: 1.2s; animation-duration: 2.4s; }
.is-nighttime.m-sunny .star-4, .is-nighttime.m-sunny .star-8, .is-nighttime.m-sunny .star-12, .is-nighttime.m-sunny .star-16 { animation-delay: 1.8s; animation-duration: 3.5s; }
.is-nighttime.m-cloudy .ele-star { opacity: 0.15; animation: star-twinkle 4s infinite linear; }

.milky-way { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 2s ease; z-index: 1; }
.is-qixi .milky-way { opacity: 1; }
.mw-star { position: absolute; background: white; border-radius: 50%; animation: mw-twinkle var(--duration) infinite alternate ease-in-out; opacity: 0.8; }

.ele-cloud-box { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0; will-change: opacity; transition: opacity 1.8s var(--md-sys-curve-fluid); }
.m-cloudy .ele-cloud-box, .m-thunder .ele-cloud-box, .m-storm .ele-cloud-box, .m-storm_thunder .ele-cloud-box, .m-rain .ele-cloud-box, .m-snow .ele-cloud-box { opacity: 1; }

.cloud-puff { position: absolute; background: radial-gradient(circle at 35% 35%, var(--weather-cloud-start, #ffffff) 0%, var(--weather-cloud-end, #cbd5e1) 100%); border-radius: 50%; filter: blur(12px); box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08), inset -6px -6px 14px rgba(0,0,0,0.03); opacity: 0.92; will-change: transform; }
.cp-1 { width: 310px; height: 190px; left: -5%; top: 5%; animation: cloud-full-drift-right 12s infinite ease-in-out alternate; }
.cp-2 { width: 380px; height: 220px; left: 22%; top: -6%; animation: cloud-full-drift-left 15s infinite ease-in-out alternate 0.5s; }
.cp-3 { width: 330px; height: 180px; left: 48%; top: 4%; animation: cloud-full-drift-right 10s infinite ease-in-out alternate 0.2s; }
.cp-4 { width: 390px; height: 210px; left: 76%; top: -3%; border-radius: 120px; animation: cloud-full-drift-left 14s infinite ease-in-out alternate; }
.cp-5 { width: 260px; height: 160px; left: 10%; top: 16%; animation: cloud-full-drift-right 9s infinite ease-in-out alternate 1.2s; }
.cp-6 { width: 340px; height: 170px; left: 38%; top: 22%; animation: cloud-full-drift-left 11s infinite ease-in-out alternate 0.8s; }
.cp-7 { width: 280px; height: 150px; left: 82%; top: 15%; animation: cloud-full-drift-right 13s infinite ease-in-out alternate 0.4s; }

.ele-typhoon-eye { width: 80px; height: 80px; border: 6px dashed rgba(180,185,200,0.5); border-radius: 50%; top: 20%; left: 46%; animation: typhoon-spin 4s infinite linear; }
.m-typhoon .ele-typhoon-eye { opacity: 0.7; pointer-events: auto; }

.ele-haze-stream-box { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; opacity: 0; transition: opacity 2.0s ease-in-out; }
.aqi-moderate .ele-haze-stream-box, .aqi-heavy .ele-haze-stream-box { opacity: 1; }
.haze-cloud-wave { position: absolute; background: var(--weather-dust-stream); border-radius: 50%; filter: blur(40px); opacity: 0; will-change: transform, opacity; }
.aqi-moderate .hcw-1 { width: 400px; height: 120px; left: -100px; top: 30%; animation: haze-swell-left 18s infinite alternate ease-in-out; --haze-op: 0.45; }
.aqi-heavy .hcw-1 { width: 500px; height: 150px; left: -100px; top: 25%; animation: haze-swell-left 13s infinite alternate ease-in-out; --haze-op: 0.75; }

.ele-dust-box { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; }
.dust-particle { position: absolute; background: var(--weather-dust-particle); border-radius: 50%; opacity: 0; display: none; }
.aqi-heavy .dust-particle { display: block; --dust-op: 0.75; --dust-sc: 1.3; }
.dp-1 { width: 4px; height: 4px; left: -20px; top: 55%; animation: dust-tur-1 6.2s infinite linear; }
.dp-2 { width: 3px; height: 3px; left: -20px; top: 25%; animation: dust-tur-2 7.0s infinite linear 0.4s; }
.dp-3 { width: 5px; height: 5px; left: -20px; top: 15%; animation: dust-tur-1 6.8s infinite linear 1.5s; }
.dp-4 { width: 3px; height: 3px; left: -20px; top: 42%; animation: dust-tur-2 7.5s infinite linear 2.2s; }
.dp-5 { width: 4px; height: 4px; left: -20px; top: 70%; animation: dust-tur-1 5.8s infinite linear 3.1s; }
.dp-6 { width: 2.5px; height: 2.5px; left: -20px; top: 85%; animation: dust-tur-2 8.0s infinite linear 0.9s; }
.dp-7 { width: 3.5px; height: 3.5px; left: -20px; top: 33%; animation: dust-tur-1 6.5s infinite linear 4.5s; }
.dp-8 { width: 4.5px; height: 4.5px; left: -20px; top: 62%; animation: dust-tur-2 7.2s infinite linear 5.2s; }

.sim-select { width: 100%; padding: 6px 10px; font-size: 12px; border-radius: 10px; border: 1px solid var(--md-sys-color-surface-variant); background: var(--md-sys-color-surface); color: var(--md-sys-color-on-background); outline: none; margin-top: 4px; cursor: pointer; }
.sim-group { display: flex; gap: 6px; margin-top: 4px; }
.sim-mini-btn { flex: 1; padding: 5px; font-size: 11px; border: none; border-radius: 8px; background: var(--md-sys-color-surface); color: var(--md-sys-color-on-background); cursor: pointer; transition: all 0.3s; text-align: center; }
.sim-mini-btn.active { background: var(--md-sys-color-primary-container); color: var(--md-sys-color-on-primary-container); font-weight: 700; }

.log-box { 
    height: 95px; background: color-mix(in srgb, var(--md-sys-color-on-surface-variant) 10%, transparent); border-radius: 14px; padding: 10px; font-family: monospace; font-size: 11px; overflow-y: auto; white-space: pre-wrap; box-sizing: border-box; color: var(--md-sys-color-on-surface-variant); margin-top: 4px;
    border: 1px solid color-mix(in srgb, var(--md-sys-color-on-surface-variant) 10%, transparent);
    /* 移除了内部背景模糊层级叠化 */
}

@keyframes sun-pulse { 0%, 100% { transform: scale(1); opacity: 0.95; } 50% { transform: scale(1.04); opacity: 1; } }
@keyframes sun-halo-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes moon-float { 0%, 100% { transform: rotate(-15deg) translateY(0); } 50% { transform: rotate(-11deg) translateY(-3px); } }
@keyframes moon-float-full { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes star-twinkle { 0%, 100% { opacity: 0.15; transform: scale(0.8); } 50% { opacity: 0.95; transform: scale(1.25); } }
@keyframes mw-twinkle { 0% { transform: scale(0.5); opacity: 0.3; } 100% { transform: scale(1.5); opacity: 1; box-shadow: 0 0 6px rgba(255,255,255,0.8); } }
@keyframes cloud-full-drift-right { 0% { transform: translate(-30px, 0) scale(1); } 100% { transform: translate(65px, -10px) scale(1.06); } }
@keyframes cloud-full-drift-left { 0% { transform: translate(30px, 0) scale(1); } 100% { transform: translate(-60px, 12px) scale(0.95); } }
@keyframes typhoon-spin { to { transform: rotate(360deg); } }
@keyframes haze-swell-left { 0% { transform: translateX(0) scale(1) rotate(0deg); opacity: 0; } 20%, 80% { opacity: var(--haze-op, 0.5); } 100% { transform: translateX(700px) scale(1.4) rotate(10deg); opacity: 0; } }
@keyframes dust-tur-1 { 0% { transform: translate(0, 0) scale(calc(0.6 * var(--dust-sc, 1))); opacity: 0; } 15%, 85% { opacity: var(--dust-op, 0.5); } 100% { transform: translate(1300px, -5px) scale(calc(0.7 * var(--dust-sc, 1))); opacity: 0; } }
@keyframes dust-tur-2 { 0% { transform: translate(0, 0) scale(calc(0.8 * var(--dust-sc, 1))); opacity: 0; } 20%, 75% { opacity: var(--dust-op, 0.5); } 100% { transform: translate(1300px, -30px) scale(calc(1.2 * var(--dust-sc, 1))); opacity: 0; } }
@keyframes soft-flash { 0%, 26%, 100% { opacity: 0; } 8%, 20% { opacity: 0.42; } }