/* Screen viewer (index.html #viewer): a control desk. The phone stands lit on a dark stage, everything else stays quiet
   and never moves by itself: the link chip (state + fps), the status line and the key row each keep a reserved place.
   Colors: mint = live, amber = connecting, red = lost; the orange accent is kept for what the user presses.
   The picture always shows whole: the canvas takes the largest box of the phone's own ratio inside the stage
   (--screen-ratio, set by phones-view.js). Never size it with object-fit: touches are mapped from its bounding box.
   - phones, portrait: slim bar / picture / one row of icons; the rest opens from "⋯" as a sheet.
   - phones, landscape: close | picture | icon rail.
   - wide screens: picture, Back/Home/Recents/typing right under it, every other tool in a column at its right. */
.viewer {
  --dock-btn: 44px; --sheet-bg: #111a22; --edge: rgb(255 255 255 / 12%); --edge-soft: rgb(255 255 255 / 7%);
  --ink: #eef3f8; --ink-2: #a9b6c6; --fill: rgb(255 255 255 / 5%); --fill-2: rgb(255 255 255 / 10%);
  --mint-v: #43dbb1; --link: #e3ad4c; --ease: cubic-bezier(.16, 1, .3, 1); /* own tones: the page's change with its light theme, the viewer is always dark */
  --bezel: 0px; /* body of the drawn phone around the picture (0 where the picture needs every pixel) */
  position: fixed; z-index: 30; left: 0; right: 0;
  /* 100dvh excludes the browser bars; --vv-* are set by phones-tools.js only while the on-screen keyboard is open */
  top: var(--vv-top, 0px); height: 100vh; height: var(--vv-height, 100dvh);
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto auto;
  grid-template-areas: "bar" "stage" "text" "dock";
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  background:
    radial-gradient(60% 55% at 42% 46%, color-mix(in srgb, #123c3a 70%, transparent), transparent 75%),
    linear-gradient(180deg, #0a1016, #05080b);
  color: var(--ink); overflow: hidden; overscroll-behavior: none; color-scheme: dark;
}
.viewer[data-link="live"] { --link: var(--mint-v); }
.viewer[data-link="lost"] { --link: #ff7a6e; }
.viewer .muted { color: var(--ink-2); }
.viewer .btn { background: var(--fill-2); border-color: var(--edge); color: var(--ink); }
.viewer .btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.viewer .btn.primary:hover { background: color-mix(in srgb, var(--accent) 86%, #fff); }
.viewer input:not([type=checkbox]), .viewer select { width: 100%; background: rgb(0 0 0 / 28%); border-color: var(--edge); color: var(--ink); transition: border-color .15s; }
.viewer input:not([type=checkbox]):hover, .viewer select:hover { border-color: rgb(255 255 255 / 24%); }
/* 16px: iOS zooms the page into any smaller field */
.viewer input, .viewer select { font-size: 16px; }
.viewer ::placeholder { color: #8493a5; opacity: 1; }
.viewer select option { color: #202b30; background: #fff; }
.vgroup, .panel-head { display: none; }

/* ---- bar: name + link chip ---- */
.viewer-bar { grid-area: bar; display: flex; align-items: center; gap: 4px; padding: 4px 4px 4px 12px; min-height: 52px; }
.viewer-title { flex: 1 1 auto; min-width: 0; display: grid; gap: 1px; justify-items: start; line-height: 1.3; }
.viewer-title strong { max-width: 100%; font-size: 14.5px; font-weight: 650; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* fixed width whatever it says: the dot, the longest state and two digits of fps */
.link-chip { display: grid; grid-template-columns: 8px 72px 44px; align-items: center; column-gap: 7px; width: 160px; height: 22px; padding: 0 10px; border-radius: 11px; background: var(--fill-2); font-size: 12px; line-height: 22px; white-space: nowrap; color: var(--ink-2); }
.link-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--link); box-shadow: 0 0 0 3px color-mix(in srgb, var(--link) 22%, transparent); }
.viewer[data-link="connecting"] .link-dot { animation: viewer-pulse 1.2s ease-in-out infinite; }
.link-text { font-weight: 600; color: color-mix(in srgb, var(--link) 72%, #fff); }
.link-fps { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.link-fps.idle { opacity: .72; }
@keyframes viewer-pulse { 50% { opacity: .35; } }

/* ---- status line of the tools: its own reserved place in every layout ---- */
/* phones, portrait: floats over the top of the picture for a moment (.fresh, phones-tools.js), so it takes no room */
.tool-status {
  grid-area: stage; align-self: start; justify-self: center; z-index: 1; margin: 10px 16px 0; padding: 8px 14px; max-width: 420px; min-width: 0; border: 1px solid var(--edge); border-radius: 12px; background: rgb(6 10 14 / 88%);
  font-size: 13px; line-height: 18px; color: var(--ink); overflow: hidden; overflow-wrap: anywhere; pointer-events: none; opacity: 0; transition: opacity .25s;
}
.tool-status.fresh { opacity: 1; }
.viewer .tool-status.bad { color: #ff9b8f; }

/* ---- icon buttons ---- */
.vbtn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; width: var(--dock-btn); height: var(--dock-btn); padding: 0; flex: none;
  border: 1px solid transparent; border-radius: 12px; background: transparent; color: #dbe4ef; cursor: pointer;
  transition: background .15s, border-color .15s, transform .1s; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.vbtn .lbl { display: none; }
.vbtn svg { width: 22px; height: 22px; flex: none; }
.vbtn:hover { background: var(--fill-2); }
.vbtn:active { background: rgb(255 255 255 / 18%); transform: scale(.95); }
.vbtn:disabled { opacity: .45; cursor: progress; transform: none; }
.vbtn[aria-expanded="true"] { background: color-mix(in srgb, var(--accent) 30%, transparent); color: #fff; }
.viewer .vbtn:focus-visible, .viewer .btn:focus-visible, .viewer .vitem:focus-visible { outline: 2px solid var(--mint-v); outline-offset: 2px; }

/* ---- picture ---- */
.viewer-stage { grid-area: stage; position: relative; min-width: 0; min-height: 0; container-type: size; display: grid; place-items: center; overflow: hidden; }
.device-frame { position: relative; display: block; line-height: 0; padding: var(--bezel); }
.device-frame canvas {
  --r: var(--screen-ratio, .4737);
  display: block; width: min(100cqw - 8px - 2 * var(--bezel), (100cqh - 4px - 2 * var(--bezel)) * var(--r)); height: auto; aspect-ratio: var(--r);
  background: #000; border-radius: 8px; box-shadow: 0 0 0 1px rgb(255 255 255 / 16%); touch-action: none; cursor: crosshair; user-select: none; -webkit-user-select: none;
}
.device-frame canvas:focus { outline: none; }
.device-frame canvas:focus-visible { outline: 2px solid var(--mint-v); outline-offset: 1px; }
.viewer-state {
  position: absolute; left: 0; right: 0; bottom: 28px; margin: 0 auto; width: fit-content; max-width: calc(100% - 32px); padding: 9px 14px; border-radius: 12px; box-sizing: border-box;
  background: rgb(6 10 14 / 84%); border: 1px solid var(--edge); color: #fff; font-size: 13.5px; line-height: 1.4; text-align: center; pointer-events: none;
}
.viewer-state:empty { display: none; }

/* ---- dock (navigation + most used tools) ---- */
.viewer-dock { grid-area: dock; display: flex; align-items: center; justify-content: space-between; gap: 2px; margin: 4px 8px 8px; padding: 3px 6px; background: rgb(255 255 255 / 6%); border: 1px solid var(--edge-soft); border-radius: 18px; }
.dock-nav, .dock-tools { display: contents; }
.viewer-dock .sep { width: 1px; align-self: stretch; margin: 10px 0; background: var(--edge); }

/* ---- sheet: the menu and the forms ---- */
.viewer-backdrop { display: none; position: absolute; inset: 0; z-index: 1; background: rgb(0 0 0 / 50%); }
.viewer.has-sheet .viewer-backdrop { display: block; }
.viewer-sheet { min-width: 0; z-index: 2; }
.viewer-panel { display: grid; gap: 12px; padding: 14px; }
.viewer-panel p { margin: 0; }
.viewer-panel label { display: grid; gap: 5px; font-size: 13px; color: #c5d0de; }
.viewer-panel label.check { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.viewer-panel label.check input { width: 20px; height: 20px; min-height: 0; flex: none; accent-color: var(--accent); }
.viewer-panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.viewer-panel-grid > .wide { grid-column: 1 / -1; }
.viewer-panel-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.panel-head h2 { font-size: 16px; }
.viewer-menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.vitem {
  display: grid; justify-items: center; align-content: center; text-align: center; gap: 7px; min-height: 74px; padding: 8px 4px; border: 1px solid var(--edge-soft); border-radius: 14px;
  background: var(--fill); color: var(--ink); font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s, transform .1s; touch-action: manipulation;
}
.vitem svg { width: 22px; height: 22px; color: var(--mint-v); }
.vitem:hover { background: var(--fill-2); border-color: var(--edge); }
.vitem:active { transform: scale(.98); }
.vitem:disabled { opacity: .45; cursor: progress; }
.vitem[aria-expanded="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 20%, transparent); }
.viewer-text { grid-area: text; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px; padding: 6px 8px 2px; }

@media (max-width: 899.98px), (max-height: 519.98px) {
  /* the forms lie over the picture only while the user has them open; the typing row sits in the layout instead,
     so the field being typed into stays visible */
  .viewer-panel:not(.viewer-text) {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; max-height: 86%; overflow-y: auto; overscroll-behavior: contain;
    padding-bottom: calc(14px + env(safe-area-inset-bottom)); background: var(--sheet-bg); border-top: 1px solid var(--edge); border-radius: 22px 22px 0 0;
    box-shadow: 0 -12px 40px rgb(0 0 0 / 55%); animation: viewer-sheet .2s var(--ease);
  }
  .panel-head { display: block; }
  .panel-head .vbtn { display: none; }
}
@keyframes viewer-sheet { from { transform: translateY(24px); opacity: 0; } }

/* ---- phones in landscape: close | picture | rail ---- */
@media (max-height: 519.98px) and (orientation: landscape) {
  .viewer { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr) auto; grid-template-areas: "bar stage dock" "text text text"; }
  .viewer-bar { flex-direction: column; align-items: flex-start; justify-content: flex-start; width: 174px; padding: 4px 4px 4px 10px; }
  .viewer-bar #viewClose { order: -1; }
  .viewer-title { width: 100%; flex: none; }
  .viewer-title strong { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .tool-status { grid-area: bar; align-self: end; justify-self: start; width: 154px; margin: 0 0 10px 10px; padding: 0; border: 0; background: none; opacity: 1; font-size: 12px; color: var(--ink-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; }
  .viewer-dock {
    display: grid; grid-auto-flow: column; grid-template-rows: repeat(auto-fill, 40px); grid-auto-columns: 44px; align-content: center; justify-content: center; gap: 2px;
    /* wide enough for the second column a short screen needs */
    --dock-btn: 40px; width: 98px; height: calc(100% - 8px); min-height: 0; margin: 4px; padding: 2px 4px;
  }
  .viewer-dock .sep { display: none; }
  .viewer-panel:not(.viewer-text) { left: auto; top: 0; width: min(420px, 70%); max-height: none; border-top: 0; border-left: 1px solid var(--edge); border-radius: 22px 0 0 22px; align-content: start; }
}

/* ---- wide screens: picture + keys under it | tool column ---- */
@media (min-width: 900px) and (min-height: 520px) {
  .viewer {
    --side: 296px; --nav-h: 76px; --gap: 18px; --bezel: 9px;
    /* the picture column is as wide as the drawn phone, so the tool column stands right next to it; never narrower than the keys need */
    --pic-h: calc(var(--vv-height, 100dvh) - var(--nav-h) - 1.5 * var(--gap) - 2 * var(--bezel));
    grid-template-columns: minmax(0, 1fr) clamp(464px, var(--pic-h) * var(--screen-ratio, .4737) + 8px + 2 * var(--bezel), 100vw - var(--side) - 2 * var(--gap)) var(--side) minmax(0, 1fr);
    grid-template-rows: auto auto minmax(0, 1fr) var(--nav-h);
    grid-template-areas: ". stage bar ." ". stage tools ." ". stage sheet ." ". nav status .";
    column-gap: 0;
    padding: var(--gap) env(safe-area-inset-right) max(var(--gap) / 2, env(safe-area-inset-bottom)) env(safe-area-inset-left);
  }
  /* the desk: one card behind the whole column */
  .viewer::before {
    content: ""; grid-area: 1 / 3 / -1 / 4; margin-left: var(--gap); border: 1px solid var(--edge); border-radius: 22px;
    background: linear-gradient(180deg, rgb(255 255 255 / 6%), rgb(255 255 255 / 2.5%)); box-shadow: inset 0 1px 0 rgb(255 255 255 / 7%), 0 24px 60px rgb(0 0 0 / 35%);
  }
  .viewer-bar, .dock-tools, .viewer-sheet { margin-left: var(--gap); }

  /* the phone: body, and a faint glow in the color of the link */
  .viewer-stage { place-items: end center; overflow: visible; animation: viewer-rise .35s var(--ease); }
  .device-frame {
    border-radius: 30px; background: linear-gradient(145deg, #2b343f, #12181f 35%, #0c1116 70%, #232b35);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 14%), inset 0 0 0 3px #05080b, 0 0 0 1px #000, 0 26px 70px rgb(0 0 0 / 60%), 0 0 90px color-mix(in srgb, var(--link) 14%, transparent);
    transition: box-shadow .4s;
  }
  .device-frame canvas { border-radius: 21px; box-shadow: none; }

  .viewer-bar { padding: 14px 8px 12px 18px; min-height: 92px; align-items: flex-start; gap: 0; border-bottom: 1px solid var(--edge-soft); }
  .viewer-title { gap: 6px; padding-top: 2px; }
  .viewer-title strong { font-size: 16px; line-height: 20px; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .viewer-bar .vbtn { --dock-btn: 40px; }

  /* keys under the picture: Back, Home, Recents and the typing row in one capsule */
  .viewer-dock { display: contents; }
  .dock-nav, .viewer-text { grid-area: nav; align-self: end; align-items: center; }
  .dock-nav {
    display: flex; gap: 4px; height: 60px; padding: 5px; border: 1px solid var(--edge); border-radius: 20px;
    background: rgb(255 255 255 / 6%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 7%), 0 12px 30px rgb(0 0 0 / 35%);
  }
  .dock-nav .vbtn { width: 62px; height: 48px; flex-direction: column; gap: 3px; border-radius: 14px; }
  .dock-nav .vbtn svg { width: 20px; height: 20px; }
  .dock-nav .vbtn .lbl { display: block; font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; color: var(--ink-2); }
  .dock-nav .vbtn:hover .lbl { color: var(--ink); }
  .viewer #viewTextForm.hidden { display: grid !important; }
  .viewer-text { position: relative; z-index: 1; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; height: 44px; margin: 0 0 8px 206px; padding: 0 8px; border-left: 1px solid var(--edge-soft); }
  .viewer-text input, .viewer-text .btn { min-height: 44px; border-radius: 13px; }
  .viewer-text [data-tool-close], .viewer-dock .vbtn.only-touch, .viewer-dock .sep { display: none; }

  /* tool column: groups of rows; a form takes the place of the list and has its own way back */
  .vgroup { display: block; margin: 0; grid-column: 1 / -1; padding: 10px 6px 2px; font-size: 12px; font-weight: 600; letter-spacing: .01em; color: var(--ink-2); }
  .dock-tools { grid-area: tools; display: grid; gap: 4px; padding: 4px 12px 0; }
  .dock-tools .vbtn, .viewer-menu-grid .vitem {
    display: flex; justify-content: flex-start; align-items: center; gap: 12px; width: 100%; min-height: 48px; height: auto; padding: 5px 12px 5px 6px; text-align: left;
    border: 1px solid transparent; border-radius: 14px; background: transparent; color: var(--ink); font-size: 14.5px; font-weight: 600;
  }
  .dock-tools .vbtn .lbl { display: inline; }
  .dock-tools .vbtn svg, .viewer-menu-grid .vitem svg { box-sizing: border-box; width: 36px; height: 36px; padding: 8px; border-radius: 11px; background: color-mix(in srgb, var(--mint-v) 13%, transparent); color: var(--mint-v); flex: none; }
  .dock-tools .vbtn:hover, .viewer-menu-grid .vitem:hover { background: var(--fill-2); border-color: var(--edge-soft); }
  .dock-tools .vbtn:active, .viewer-menu-grid .vitem:active { transform: scale(.985); }
  .viewer-menu-grid .vitem[data-tool-open]::after { content: ""; width: 7px; height: 7px; margin-left: auto; border: solid var(--ink-2); border-width: 2px 2px 0 0; transform: rotate(45deg); transition: transform .15s; }
  .viewer-menu-grid .vitem[data-tool-open]:hover::after { transform: translateX(2px) rotate(45deg); }
  .viewer-sheet { grid-area: sheet; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / 22%) transparent; min-height: 0; }
  .viewer-sheet #viewMenu.hidden { display: grid !important; }
  .viewer-menu { padding: 0 12px 12px; gap: 8px; align-content: start; }
  .viewer-menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .viewer-menu-grid .vitem:not(.half) { grid-column: 1 / -1; }
  .viewer-menu-grid .vitem.half { gap: 9px; padding-right: 4px; white-space: nowrap; }
  .viewer-menu > label { padding: 8px 6px 0; font-size: 12px; font-weight: 600; color: var(--ink-2); }
  .viewer.has-form .dock-tools, .viewer.has-form .viewer-sheet #viewMenu, .viewer.has-form .viewer-sheet #viewMenu.hidden { display: none !important; }
  .viewer.has-sheet .viewer-backdrop { display: none; }
  .viewer-sheet .viewer-panel:not(.viewer-menu) { padding: 8px 16px 16px; align-content: start; animation: viewer-drill .2s var(--ease); }
  .viewer-sheet .panel-head { display: flex; align-items: center; gap: 4px; margin-left: -10px; }
  .viewer-panel-actions .btn { flex: 1 1 auto; }
  #proxyStaticFields > label:nth-child(-n+2) { grid-column: 1 / -1; }

  /* status: the foot of the column, always there (full text in its tooltip) */
  .tool-status {
    grid-area: status; justify-self: stretch; height: 67px; max-width: none; margin: 0 0 0 var(--gap); padding: 12px 18px 0; border: 0; border-top: 1px solid var(--edge-soft); border-radius: 0;
    background: none; color: var(--ink-2); opacity: 1; pointer-events: auto;
  }
  .tool-status:empty::before { content: "Sẵn sàng. Chọn một công cụ ở trên."; color: #8493a5; }
}
@keyframes viewer-rise { from { transform: translateY(14px); opacity: 0; } }
@keyframes viewer-drill { from { transform: translateX(16px); opacity: 0; } }
/* short windows: smaller rows before the column has to scroll */
@media (min-width: 900px) and (min-height: 520px) and (max-height: 759.98px) {
  .viewer { --gap: 12px; --side: 288px; }
  .dock-tools .vbtn, .viewer-menu-grid .vitem { min-height: 42px; padding-top: 2px; padding-bottom: 2px; }
  .dock-tools .vbtn svg, .viewer-menu-grid .vitem svg { width: 32px; height: 32px; padding: 7px; }
  .vgroup { padding-top: 6px; }
  .viewer-bar { min-height: 82px; padding-top: 9px; padding-bottom: 8px; }
}

/* ---- guide popup (a modal dialog; always dark like the viewer) ---- */
.guide {
  width: min(760px, 100vw - 24px); max-width: none; max-height: min(720px, 100vh - 24px); max-height: min(720px, 100dvh - 24px); padding: 0; overflow: hidden;
  border: 1px solid var(--edge); border-radius: 22px; background: linear-gradient(180deg, #16222b, var(--sheet-bg) 40%); color: var(--ink); box-shadow: 0 30px 80px rgb(0 0 0 / 60%);
}
.guide[open] { display: grid; animation: viewer-sheet .2s var(--ease); }
.guide::backdrop { background: rgb(3 6 9 / 66%); }
.guide-box { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-height: 0; max-height: inherit; }
.guide-head { display: flex; align-items: center; gap: 8px; padding: 12px 10px 12px 22px; border-bottom: 1px solid var(--edge-soft); }
.guide-head h2 { flex: 1; font-size: 18px; }
.guide-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / 22%) transparent; padding: 16px 22px 20px; display: grid; gap: 20px; align-content: start; }
.guide-section h3 { margin-bottom: 10px; font-size: 13px; color: var(--mint-v); }
.guide-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 12px 22px; margin: 0; padding: 0; list-style: none; }
.guide-item { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.guide-icon { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: color-mix(in srgb, var(--mint-v) 13%, transparent); color: var(--mint-v); font-size: 12px; font-weight: 700; }
.guide-icon svg { width: 20px; height: 20px; }
.guide-text { display: grid; min-width: 0; line-height: 1.4; font-size: 13.5px; color: #b9c5d4; }
.guide-text strong { color: var(--ink); font-size: 14px; }
.guide-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 22px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--edge-soft); }
.guide-check { display: flex; align-items: center; gap: 10px; min-height: 40px; color: var(--ink); font-size: 14px; cursor: pointer; }
.guide-check input { width: 20px; height: 20px; min-height: 0; flex: none; accent-color: var(--accent); }
.guide-foot .btn { min-width: 120px; min-height: 44px; }
@media (max-width: 559.98px) { .guide-foot .btn { width: 100%; } .guide-head, .guide-body, .guide-foot { padding-left: 16px; padding-right: 16px; } }
@media (max-height: 519.98px) { .guide-foot .btn { width: auto; } .guide-foot { padding-top: 6px; padding-bottom: 6px; flex-wrap: nowrap; } .guide-head { padding-top: 2px; padding-bottom: 2px; } }
@media (prefers-reduced-motion: reduce) {
  .viewer-panel, .viewer-stage, .guide[open], .link-dot { animation: none !important; }
  .vbtn, .vitem, .device-frame, .vitem::after, .tool-status { transition: none !important; }
}
