/* Device feedback follows the incumbent white/cobalt/yellow storefront. */
body.storefront #flash .flash-sidebar .flash-panel { padding:22px; }
body.storefront #flash .flash-state-list { gap:0; margin:18px 0 22px; }
body.storefront #flash .flash-state-item { grid-template-columns:36px minmax(0,1fr); gap:12px; padding:14px 0; border:0; border-bottom:1px solid var(--yst-line); border-radius:0; background:transparent; box-shadow:none; animation:none; transform:none; }
body.storefront #flash .flash-state-item strong { color:var(--yst-ink); font-size:16px; line-height:1.4; font-weight:650; }
body.storefront #flash .flash-state-item small { font-size:14px; line-height:1.5; color:var(--yst-muted); font-weight:400; overflow-wrap:anywhere; }
body.storefront #flash .flash-state-dot { width:36px; height:36px; border-radius:10px; color:var(--yst-muted); background:#edf1f7; box-shadow:none; animation:none; }
body.storefront :is(.flash-state-dot,.flash-live-dot,.flash-toast-icon)::before,
body.storefront :is(.flash-state-dot,.flash-live-dot,.flash-toast-icon)::after { content:none !important; }
.device-state-icon { display:block; width:22px; height:22px; flex-shrink:0; }
body.storefront #flash .flash-state-item[data-state="busy"] .flash-state-dot { color:var(--yst-blue); background:#e9f1ff; }
body.storefront #flash .flash-state-item[data-state="good"] .flash-state-dot { color:#08724c; background:#e6f5ed; }
body.storefront #flash .flash-state-item[data-state="bad"] .flash-state-dot { color:#a11e30; background:#fff0f1; }
body.storefront #flash .flash-state-item[data-state="warn"] .flash-state-dot { color:#805600; background:#fff5d6; }
body.storefront #flash .flash-state-item[data-state="bad"] small { color:#a11e30; }
body.storefront #flash .flash-state-item[data-state="warn"] small { color:#805600; }
body.storefront #flash .flash-action-row { display:grid; grid-template-columns:1fr; gap:10px; }
body.storefront #flash .flash-action-row button { width:100%; min-height:48px; padding:12px 16px; white-space:normal; font-size:16px; }
body.storefront #flash #flashConnectButton::before,body.storefront #flash #flashBuildButton::before,body.storefront #flash #flashBuildSlowButton::before { content:none; }
body.storefront #flash #flashBuildSlowButton:not(:disabled) { background:#fff; color:#1f2a3c; border:1px solid #b9c4d6; box-shadow:none; }
body.storefront #flash #flashBuildSlowButton:not(:disabled):hover { background:#f3f6fb; }
body.storefront #flash .flash-speed-hint { margin:0; color:#405775; font-size:13px; text-align:center; }
body.storefront #flash #flashBuildSlowButton[hidden] ~ .flash-speed-hint { display:none; }
body.storefront #flash .flash-action-row button:disabled { opacity:1; background:#edf1f7; color:#617087; box-shadow:none; cursor:not-allowed; }
body.storefront #flash .device-connect-hint { margin:8px 0 0; color:var(--yst-muted); font-size:14px; line-height:1.5; }
body.storefront #flash .flash-live-notice { gap:12px; padding:16px; margin:18px 0 0; border:0; border-radius:12px; background:#edf4ff; box-shadow:none; }
body.storefront #flash .flash-live-notice strong { font-size:16px; line-height:1.4; letter-spacing:normal; font-weight:650; color:var(--yst-blue); text-transform:none; }
body.storefront #flash .flash-live-notice small { margin-top:6px; font-size:14px; line-height:1.55; color:#274c7c; font-weight:400; overflow-wrap:anywhere; }
body.storefront #flash .flash-live-dot { width:24px; height:24px; color:var(--yst-blue); background:transparent; box-shadow:none; animation:none; }
body.storefront #flash .flash-live-notice[data-state="bad"] { background:#fff0f1; }
body.storefront #flash .flash-live-notice[data-state="bad"] :is(strong,small,.flash-live-dot) { color:#a11e30; }
body.storefront #flash .flash-live-notice[data-state="good"] { background:#e6f5ed; }
body.storefront #flash .flash-live-notice[data-state="good"] :is(strong,small,.flash-live-dot) { color:#08724c; }
body.storefront #flash .flash-live-notice[data-state="warn"] { background:#fff5d6; }
body.storefront #flash .flash-live-notice[data-state="warn"] :is(strong,small,.flash-live-dot) { color:#805600; }
body.storefront #flash .device-recovery { margin-top:12px; }
body.storefront #flash .device-recovery button { min-height:48px; padding:12px 16px; width:100%; font-size:16px; }
body.storefront :is(#flash,#firmware-update) .device-progress-region { margin-top:20px; min-width:0; padding:0; background:transparent; border:0; }
body.storefront .device-progress-heading { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:6px 12px; color:var(--yst-ink); font-size:14px; line-height:1.5; margin-bottom:10px; }
body.storefront .device-progress-heading strong { font-variant-numeric:tabular-nums; color:var(--yst-blue); font-size:14px; font-weight:650; margin:0; }
body.storefront #flash .flash-progress-shell { height:8px; margin:0; background:#e3eaf4; }
body.storefront :is(.flash-progress-shell,.flash-toast-progress) span { width:100%; background:var(--yst-blue); transform-origin:left; transition:transform 160ms ease-out; }
body.storefront .device-progress-region[data-tone="bad"] strong { color:#a11e30; }
body.storefront .device-progress-region[data-tone="good"] strong { color:#08724c; }
body.storefront .device-progress-region[data-tone="warn"] strong { color:#805600; }
body.storefront .device-progress-region[data-mode="idle"] :is(.flash-progress-shell,progress),
body.storefront .device-progress-region[data-mode="error"] :is(.flash-progress-shell,progress) { opacity:.55; }
body.storefront .device-progress-region[data-mode="error"] .flash-progress-shell span { background:#a11e30; }
body.storefront .device-progress-region[data-mode="complete"][data-tone="good"] .flash-progress-shell span { background:#08724c; }
body.storefront #flash .flash-build-timer { color:var(--yst-muted); font-size:14px; line-height:1.5; margin-top:10px; font-weight:400; }
body.storefront #flash .flash-turnstile-container { display:block; margin-top:20px; padding:0; border:0; background:transparent; }
body.storefront #flash .flash-turnstile-container[hidden] { display:none; }
body.storefront #flash .device-challenge-status { margin:10px 0; padding:0; color:var(--yst-muted); font-size:14px; line-height:1.5; background:transparent; border:0; }
body.storefront #flash .device-challenge-status[data-tone="bad"] { color:#a11e30; }
body.storefront #flash .device-challenge-status[data-tone="good"] { color:#08724c; }
body.storefront #flash #flashChallengeRetry { min-height:44px; padding:10px 12px; color:var(--yst-blue); font-size:14px; }
body.storefront .flash-toast { background:#fff; color:var(--yst-ink); border:0; border-radius:16px; box-shadow:0 12px 40px rgba(15,35,64,.2); backdrop-filter:none; padding:20px; width:min(400px,calc(100vw - 32px)); max-height:calc(70vh - 32px); overflow:auto; }
body.storefront .flash-toast-body { grid-template-columns:24px minmax(0,1fr); gap:12px; padding-right:30px; }
body.storefront .flash-toast-icon { color:var(--yst-blue); width:24px; height:24px; border-radius:0; background:transparent; box-shadow:none; animation:none; }
body.storefront .flash-toast-copy strong { color:var(--yst-ink); font-size:16px; font-weight:650; line-height:1.4; text-transform:none; }
body.storefront .flash-toast-copy small { color:var(--yst-muted); font-size:14px; line-height:1.5; font-weight:400; overflow-wrap:anywhere; }
body.storefront .flash-toast[data-state="bad"] :is(.flash-toast-icon,.flash-toast-copy strong) { color:#a11e30; }
body.storefront .flash-toast[data-state="good"] :is(.flash-toast-icon,.flash-toast-copy strong) { color:#08724c; }
body.storefront .flash-toast[data-state="warn"] :is(.flash-toast-icon,.flash-toast-copy strong) { color:#805600; }
body.storefront .flash-toast-close { top:6px; right:6px; width:44px; height:44px; padding:11px; border:0; color:var(--yst-muted); background:transparent; box-shadow:none; }
body.storefront .flash-toast-progress { margin-top:16px; height:6px; background:#e3eaf4; }
body.storefront .flash-toast-percent { margin-top:8px; color:var(--yst-muted); font-size:14px; line-height:1.5; font-weight:400; }
body.storefront .flash-toast[data-mode="idle"] :is(.flash-toast-progress,.flash-toast-percent),
body.storefront .flash-toast[data-mode="error"] .flash-toast-progress { display:none; }
body.storefront #firmware-update .repair-status { display:flex; align-items:flex-start; gap:10px; padding:16px; font-size:16px; line-height:1.6; background:#f3f7fd; border:0; border-radius:12px; }
body.storefront #firmware-update .repair-status .device-state-icon { margin-top:2px; }
body.storefront #firmware-update .repair-status[data-tone="good"] { color:#08724c; background:#e6f5ed; }
body.storefront #firmware-update .repair-status[data-tone="busy"] { color:#274c7c; background:#edf4ff; }
body.storefront #firmware-update .repair-status[data-tone="bad"] { color:#a11e30; padding:16px; }
body.storefront #firmware-update .repair-challenge-status { margin:10px 0; padding:0; background:transparent; border:0; border-radius:0; color:var(--yst-muted); font-size:14px; line-height:1.5; }
body.storefront #firmware-update .repair-challenge-status[data-tone="bad"] { color:#a11e30; padding:0; background:transparent; }
body.storefront #firmware-update .repair-challenge-status[data-tone="good"] { color:#08724c; background:transparent; }
body.storefront #firmware-update :is(#repairConnect,#repairDisconnect,#repairUpload,#repairChallengeRetry) { min-height:44px; padding:12px 16px; font-size:16px; }
body.storefront #firmware-update button:disabled { opacity:1; color:#617087; background:#edf1f7; box-shadow:none; cursor:not-allowed; }
body.storefront #firmware-update progress { display:block; width:100%; height:8px; border:0; border-radius:20px; overflow:hidden; accent-color:var(--yst-blue); background:#e3eaf4; }
body.storefront #firmware-update progress::-webkit-progress-bar { background:#e3eaf4; border-radius:20px; }
body.storefront #firmware-update progress::-webkit-progress-value { background:var(--yst-blue); border-radius:20px; }
body.storefront #firmware-update progress::-moz-progress-bar { background:var(--yst-blue); border-radius:20px; }
body.storefront :is(#flash,#firmware-update,.flash-toast) button:focus-visible { outline:2px solid var(--yst-blue); outline-offset:3px; }
body.storefront :is(#flash,#firmware-update) ::selection { background:#c8dcff; color:#102744; }
body.storefront .device-in-view .is-working { animation:device-working 1s linear infinite; }
body.storefront .device-progress-region[data-mode="indeterminate"] .flash-progress-shell span,
body.storefront .flash-toast[data-mode="indeterminate"] .flash-toast-progress span { transform:scaleX(.3) !important; }
body.storefront .device-progress-region.device-in-view[data-mode="indeterminate"] .flash-progress-shell span,
body.storefront .flash-toast.device-in-view[data-mode="indeterminate"] .flash-toast-progress span { animation:device-waiting 1.4s ease-in-out infinite; }
body.storefront .device-in-view .is-live-connect .du-plug { animation:du-plug 1.2s ease-in-out infinite; }
body.storefront .device-in-view .is-live-connect .du-cable { animation:du-cable 1.2s ease-in-out infinite; }
body.storefront .device-in-view .is-live-verify .du-check { stroke-dasharray:14; animation:du-check 1.4s ease-in-out infinite; }
body.storefront .device-in-view .is-live-flash .du-arrow { animation:du-arrow 1s ease-in-out infinite; }
@keyframes du-plug { 0%,100% { transform:translateY(-3px); } 50% { transform:translateY(0); } }
@keyframes du-cable { 0%,100% { opacity:.25; } 50% { opacity:1; } }
@keyframes du-check { 0% { stroke-dashoffset:14; } 55%,100% { stroke-dashoffset:0; } }
@keyframes du-arrow { 0% { transform:translateY(-3px); opacity:.3; } 60% { transform:translateY(3px); opacity:1; } 100% { transform:translateY(3px); opacity:0; } }
@keyframes device-working { to { transform:rotate(360deg); } }
@keyframes device-waiting { 0% { transform:translateX(-30%) scaleX(.3); } 100% { transform:translateX(100%) scaleX(.3); } }
@media (max-width:600px) {
  body.storefront #flash .flash-sidebar .flash-panel { padding:20px; }
  body.storefront .flash-toast { right:16px; bottom:16px; padding:18px; }
}
@media (prefers-reduced-motion:reduce) {
  body.storefront .device-in-view .is-working,
  body.storefront .device-in-view .is-live :is(.du-plug,.du-cable,.du-check,.du-arrow),
  body.storefront .device-progress-region.device-in-view[data-mode="indeterminate"] .flash-progress-shell span,
  body.storefront .flash-toast.device-in-view[data-mode="indeterminate"] .flash-toast-progress span { animation:none; }
  body.storefront :is(.flash-progress-shell,.flash-toast-progress) span { transition:none; }
  body.storefront .flash-toast { animation:none; }
}
body.storefront[data-device-hidden="true"] :is(.is-working,.is-live .du-plug,.is-live .du-cable,.is-live .du-check,.is-live .du-arrow),
body.storefront[data-device-hidden="true"] :is(.flash-progress-shell,.flash-toast-progress) span { animation-play-state:paused !important; }

body.storefront #flash #flashConnectButton[data-connected="true"]:not(:disabled) { background:#30343b; color:#fff; border-color:#30343b; }
body.storefront #flash #flashConnectButton[data-connected="true"]:not(:disabled):hover { background:#1e2228; }

body.storefront #flash .flash-sound-budget { margin: 14px 0; padding: 14px 16px; border: 1px solid #dce5f0; border-radius: 10px; color: #152c48; background: #f6f9fd; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
body.storefront #flash .flash-budget-heading { display:flex; align-items:center; justify-content:space-between; gap:8px 14px; flex-wrap:wrap; }
body.storefront #flash .flash-budget-status { color:#08724c; font-weight:600; font-size:13px; }
body.storefront #flash .flash-budget-meter { height:9px; margin-top:10px; overflow:hidden; border-radius:9px; background:#dce7f4; }
body.storefront #flash .flash-budget-fill { display:block; height:100%; border-radius:inherit; background:#0066dc; }
body.storefront #flash .flash-sound-budget[data-tone="warn"] .flash-budget-status { color:#805600; }
body.storefront #flash .flash-sound-budget[data-tone="warn"] .flash-budget-fill { background:#c47e00; }
body.storefront #flash .flash-sound-budget[data-tone="danger"] .flash-budget-status { color:#a11e30; }
body.storefront #flash .flash-sound-budget[data-tone="danger"] .flash-budget-fill { background:#bb263e; }
body.storefront #flash .flash-sound-budget p { margin:6px 0 0; }
body.storefront #flash .flash-budget-detail { color:#405775; font-size:13px; }
body.storefront #flash .flash-budget-advice { color:#593c00; }
/* Upgrade dialog: one centred column, using the same type as the update panel. */
body.storefront .flash-upgrade-modal { justify-content:center; align-items:center; padding:16px; }
body.storefront .flash-upgrade-backdrop { background:rgba(11,14,23,.52); backdrop-filter:blur(2px); }
body.storefront .flash-upgrade-dialog { width:min(400px,100%); max-width:100%; border-radius:16px; box-shadow:0 20px 60px rgba(18,45,85,.28); text-align:center; }
/* The focus guards must not add height, or the dialog shows a scrollbar for one pixel. */
body.storefront .flash-upgrade-dialog > .ui-focus-guard { top:0; left:0; }
body.storefront .flash-upgrade-dialog .flash-upgrade-close { position:absolute; top:10px; right:10px; z-index:1; width:40px; height:40px; min-width:40px; min-height:40px; background:transparent; color:var(--yst-muted); font-size:24px; }
body.storefront .flash-upgrade-dialog .flash-upgrade-close:hover { background:var(--yst-soft); color:var(--yst-ink); }
body.storefront .flash-upgrade-dialog .flash-upgrade-head { display:block; position:static; padding:28px 48px 0; border-bottom:0; background:transparent; }
body.storefront #flashUpgradeModal :is(h2,h3) { margin:0; color:var(--yst-ink); font-family:inherit; font-size:20px; font-weight:600; line-height:1.35; }
body.storefront .flash-upgrade-board-text { margin:2px 0 0; color:var(--yst-muted); font-size:14px; line-height:1.5; }
body.storefront .flash-upgrade-body { gap:6px; padding:6px 28px 28px; }
body.storefront .flash-upgrade-detail,
body.storefront .flash-upgrade-reason { margin:0; font-size:14px; font-weight:400; line-height:1.5; }
body.storefront #flashUpgradeModal :is(.flash-upgrade-detail,.flash-upgrade-reason,.flash-upgrade-status,.flash-upgrade-buy p) { text-wrap:balance; }
body.storefront .flash-upgrade-form { display:grid; gap:10px; margin-top:14px; }
body.storefront .flash-upgrade-form[hidden] { display:none; }
body.storefront #flashUpgradeKey { width:100%; min-height:48px; padding:0 12px; box-sizing:border-box; border:1px solid #c9d3e3; border-radius:12px; background:#fff; color:var(--yst-ink); -webkit-text-fill-color:var(--yst-ink); font-family:inherit; font-size:15px; text-align:center; }
body.storefront #flashUpgradeKey::placeholder { color:#8b95a8; -webkit-text-fill-color:#8b95a8; font-size:14px; }
body.storefront #flashUpgradeKey:focus { border-color:var(--yst-blue); outline:2px solid rgba(0,87,217,.2); outline-offset:0; }
body.storefront .flash-upgrade-status { margin:0; font-size:14px; line-height:1.45; }
body.storefront .flash-upgrade-status:empty { display:none; }
body.storefront #flashUpgradeModal #flashUpgradeStatus[data-state="bad"] { color:#a11e30; }
body.storefront #flashUpgradeModal #flashUpgradeStatus[data-state="warn"] { color:#805600; }
body.storefront #flashUpgradeModal #flashUpgradeStatus[data-state="good"] { color:#08724c; }
body.storefront #flashUpgradeModal :is(.accent-button,.secondary-button) { display:flex; align-items:center; justify-content:center; width:100%; min-height:48px; box-sizing:border-box; font-size:14px; font-weight:800; text-decoration:none; }
body.storefront .flash-upgrade-buy { display:grid; gap:10px; margin-top:8px; padding-top:18px; border-top:1px solid var(--yst-line); }
body.storefront .flash-upgrade-buy p { margin:0; font-size:14px; line-height:1.5; }
body.storefront .flash-upgrade-mac { display:flex; align-items:center; justify-content:center; gap:10px; min-height:48px; padding:0 12px; border:1px solid var(--yst-line); border-radius:12px; background:var(--yst-soft); font-family:inherit; cursor:pointer; }
body.storefront .flash-upgrade-mac:hover { border-color:var(--yst-blue); }
body.storefront #flashUpgradeModal .flash-upgrade-mac strong { color:var(--yst-ink); font-size:15px; font-weight:600; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
body.storefront .flash-upgrade-mac span { flex:none; color:var(--yst-blue); font-size:13px; font-weight:700; }
body.storefront #flashUpgradeModal .flash-upgrade-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:0 28px 28px; border:0; }
body.storefront #flashUpgradeModal .flash-upgrade-actions :is(.accent-button,.secondary-button) { min-width:0; }
body.storefront #flashUpgradeModal[data-state="form"] :is(.flash-upgrade-reason,.flash-upgrade-actions) { display:none; }
body.storefront .flash-upgrade-success { display:none; justify-items:center; padding:32px 28px 28px; }
body.storefront .flash-upgrade-success-icon { display:grid; place-items:center; width:52px; height:52px; border-radius:50%; background:#e6f5ed; color:#08724c; }
body.storefront .flash-upgrade-success-icon svg { width:26px; height:26px; }
body.storefront #flashUpgradeModal .flash-upgrade-success h3 { margin:14px 0 2px; }
body.storefront .flash-upgrade-success p { margin:0 0 20px; font-size:14px; line-height:1.5; }
body.storefront .flash-upgrade-modal[data-state="success"] .flash-upgrade-dialog { width:min(340px,100%); }
body.storefront #flashUpgradeModal[data-state="success"] :is(.flash-upgrade-close,.flash-upgrade-head,.flash-upgrade-body,.flash-upgrade-actions) { display:none; }
body.storefront .flash-upgrade-modal[data-state="success"] .flash-upgrade-success { display:grid; }
@media (max-width:560px) {
  body.storefront .flash-upgrade-modal { padding:12px; }
  body.storefront .flash-upgrade-dialog .flash-upgrade-head { padding:24px 44px 0; }
  body.storefront .flash-upgrade-body { padding:6px 20px 22px; }
  body.storefront .flash-upgrade-dialog .flash-upgrade-close { top:6px; right:6px; width:44px; height:44px; min-width:44px; min-height:44px; }
  body.storefront #flashUpgradeModal .flash-upgrade-actions { padding:0 20px 22px; }
}
@media (max-width:380px) {
  body.storefront #flashUpgradeKey { padding:0 6px; font-size:13px; }
  body.storefront #flashUpgradeKey::placeholder { font-size:12px; }
}
/* CH340 driver help: same centred column and type as the upgrade dialog. */
body.storefront .driver-help-link { display:block; margin:0 auto; padding:6px 8px; border:0; background:none; color:var(--yst-blue); font-size:14px; font-weight:600; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
body.storefront .driver-help-link[hidden] { display:none; }
body.storefront #flash .device-recovery #flashDriverPromptButton { margin-top:8px; }
body.storefront #flash .device-recovery #flashDriverPromptButton[hidden] { display:none; }
body.storefront .driver-dialog { width:min(400px,calc(100vw - 24px)); max-height:calc(100dvh - 24px); padding:28px; overflow:auto; box-sizing:border-box; border:0; border-radius:16px; background:#fff; color:var(--yst-ink); box-shadow:0 20px 60px rgba(18,45,85,.28); text-align:center; }
body.storefront .driver-dialog::backdrop { background:rgba(11,14,23,.52); backdrop-filter:blur(2px); }
body.storefront .driver-dialog > .flash-upgrade-close { position:absolute; top:10px; right:10px; width:40px; height:40px; min-width:40px; min-height:40px; background:transparent; color:var(--yst-muted); font-size:24px; }
body.storefront .driver-dialog > .flash-upgrade-close:hover { background:var(--yst-soft); color:var(--yst-ink); }
body.storefront .driver-dialog h2 { margin:0; padding:0 20px; color:var(--yst-ink); font-family:inherit; font-size:20px; font-weight:600; line-height:1.35; }
body.storefront .driver-dialog p { margin:0; color:var(--yst-muted); font-size:14px; line-height:1.5; text-wrap:balance; }
body.storefront .driver-dialog strong { color:var(--yst-ink); font-weight:600; }
body.storefront .driver-dialog-lead { margin-top:6px !important; }
body.storefront .driver-os { display:grid; grid-template-columns:repeat(3,1fr); gap:4px; margin-top:14px; padding:4px; border-radius:12px; background:var(--yst-soft); }
body.storefront .driver-os button { min-height:40px; border:0; border-radius:9px; background:transparent; color:var(--yst-muted); font-family:inherit; font-size:14px; font-weight:600; cursor:pointer; }
body.storefront .driver-os button[aria-pressed="true"] { background:#fff; color:var(--yst-blue); box-shadow:0 1px 3px rgba(18,45,85,.18); }
body.storefront .driver-panel { display:grid; gap:8px; margin-top:12px; }
body.storefront .driver-panel[hidden] { display:none; }
body.storefront #driverHelpDialog :is(.accent-button,.secondary-button) { display:flex; align-items:center; justify-content:center; width:100%; min-height:48px; box-sizing:border-box; font-size:14px; font-weight:800; text-decoration:none; }
body.storefront .driver-panel .accent-button { margin-bottom:2px; }
body.storefront .driver-panel code { display:block; padding:9px 10px; border-radius:9px; background:var(--yst-soft); color:var(--yst-ink); font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:13px; overflow-wrap:anywhere; }
body.storefront .driver-dialog-foot { display:grid; gap:10px; margin-top:18px; padding-top:18px; border-top:1px solid var(--yst-line); }
@media (max-width:560px) {
  body.storefront .driver-dialog { padding:24px 20px 22px; }
  body.storefront .driver-dialog > .flash-upgrade-close { top:6px; right:6px; width:44px; height:44px; min-width:44px; min-height:44px; }
}

body.storefront .repair-status-mark, body.storefront :is(.flash-live-dot,.flash-toast-icon) { display:grid; place-items:center; flex:none; }
body.storefront .repair-status-mark { width:24px; height:24px; margin-top:1px; }
body.storefront #flash :is(.flash-state-item,.flash-live-notice)[data-state="busy"] :is(.flash-state-dot,.flash-live-dot),
body.storefront .flash-toast[data-state="busy"] .flash-toast-icon,
body.storefront #firmware-update .repair-status[data-tone="busy"] .repair-status-mark { animation:du-pulse 1.8s ease-in-out infinite; }
@keyframes du-pulse { 0%,100% { opacity:1; } 50% { opacity:.45; } }
@media (prefers-reduced-motion:reduce) {
  body.storefront #flash :is(.flash-state-item,.flash-live-notice)[data-state="busy"] :is(.flash-state-dot,.flash-live-dot),
  body.storefront .flash-toast[data-state="busy"] .flash-toast-icon,
  body.storefront #firmware-update .repair-status[data-tone="busy"] .repair-status-mark { animation:none; }
}
body.storefront[data-device-hidden="true"] :is(.flash-state-dot,.flash-live-dot,.flash-toast-icon,.repair-status-mark) { animation-play-state:paused !important; }
