/* ============================================================
 * ESP32 智能家居 3D 沙盘 — 样式
 * 设计令牌继承 web/opencode-ui-snippets.css（opencode 落地页）
 * IBM Plex Mono 等宽 · 暖灰阶 + 暖黄高亮 · 4px 圆角 · 终端工具气质
 * 动效约束：仅 transform/opacity，<300ms，ease-out，带 reduce/hover 门控
 * ============================================================ */

:root {
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", SFMono-Regular,
    Menlo, Consolas, "Liberation Mono", monospace;
  --font-sans: var(--font-mono);

  /* 间距阶梯 (rem) */
  --space-0: 0;
  --space-0-5: 0.125rem;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* 字号 (rem) */
  --font-size-2xs: 0.6875rem;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.8125rem;
  --font-size-md: 0.9375rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;

  /* 圆角 */
  --radius-sm: 3px;
  --radius-md: 5px;
  --radius-lg: 8px;

  /* 动效令牌 */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --dur-fast: 0.15s;
  --dur-panel: 0.18s;
  --dur-btn: 0.12s;

  /* 亮色令牌（默认） */
  --color-background: hsl(0, 20%, 99%);
  --color-background-weak: hsl(0, 8%, 97%);
  --color-background-weak-hover: hsl(0, 8%, 94%);
  --color-background-strong: hsl(0, 5%, 12%);
  --color-background-strong-hover: hsl(0, 5%, 18%);
  --color-background-interactive: hsl(62, 84%, 88%);
  --color-background-interactive-weaker: hsl(64, 74%, 95%);
  --color-text: hsl(0, 1%, 39%);
  --color-text-weak: hsl(0, 1%, 60%);
  --color-text-weaker: hsl(30, 2%, 81%);
  --color-text-strong: hsl(0, 5%, 12%);
  --color-text-inverted: hsl(0, 20%, 99%);
  --color-border: hsl(30, 2%, 81%);
  --color-border-weak: hsla(0, 100%, 3%, 0.12);
  --color-icon: hsl(0, 1%, 55%);
  --color-ok: hsl(142, 60%, 38%);
  --color-warn: hsl(32, 95%, 45%);
  --color-err: hsl(2, 70%, 48%);
  --color-code-bg: hsl(0, 8%, 97%);
  --color-scene-bg: hsl(30, 6%, 94%);
  --shadow-pop: 0 4px 12px hsla(0, 100%, 3%, 0.1);
  --color-sdk: hsl(44, 70%, 34%);
  --color-str: hsl(130, 45%, 32%);
  --color-num: hsl(26, 85%, 38%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-background: hsl(0, 9%, 7%);
    --color-background-weak: hsl(0, 6%, 10%);
    --color-background-weak-hover: hsl(0, 6%, 15%);
    --color-background-strong: hsl(0, 15%, 94%);
    --color-background-strong-hover: hsl(0, 15%, 97%);
    --color-background-interactive: hsl(62, 100%, 90%);
    --color-background-interactive-weaker: hsl(60, 20%, 8%);
    --color-text: hsl(0, 4%, 71%);
    --color-text-weak: hsl(0, 2%, 49%);
    --color-text-weaker: hsl(0, 3%, 28%);
    --color-text-strong: hsl(0, 15%, 94%);
    --color-text-inverted: hsl(0, 9%, 7%);
    --color-border: hsl(0, 3%, 28%);
    --color-border-weak: hsl(0, 4%, 23%);
    --color-icon: hsl(10, 3%, 43%);
    --color-ok: hsl(142, 45%, 55%);
    --color-warn: hsl(40, 95%, 60%);
    --color-err: hsl(4, 75%, 62%);
    --color-code-bg: hsl(0, 5%, 9%);
    --color-scene-bg: hsl(0, 5%, 10%);
    --shadow-pop: 0 4px 12px hsla(0, 100%, 0%, 0.3);
    --color-sdk: hsl(52, 85%, 68%);
    --color-str: hsl(130, 42%, 58%);
    --color-num: hsl(30, 85%, 64%);
  }
}

/* ---------- 基础 ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
  color: var(--color-text-strong);
}

button {
  font-family: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  color: var(--color-text-strong);
}

a {
  color: var(--color-text-strong);
  text-decoration: underline;
  text-underline-offset: var(--space-1);
  text-decoration-thickness: 1px;
}

/* ---------- 顶栏 ---------- */

[data-component="topbar"] {
  flex: 0 0 auto;
  height: 76px;
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: 0 var(--space-6);
  background: var(--color-background);
  border-bottom: 1px solid var(--color-border-weak);
  z-index: 20;
}

[data-component="topbar"] [data-slot="brand"] {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  white-space: nowrap;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-background-interactive);
  align-self: center;
  box-shadow: 0 0 0 3px var(--color-background-interactive-weaker);
}

[data-component="topbar"] h1 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
}

[data-slot="subtitle"] {
  color: var(--color-text-weak);
  font-size: var(--font-size-2xs);
  white-space: nowrap;
}

[data-slot="clock"],
[data-slot="sun"],
[data-slot="voice"] {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

[data-slot="time-label"] {
  color: var(--color-text-weak);
  font-size: var(--font-size-2xs);
}

[data-slot="clock"] strong {
  font-size: var(--font-size-lg);
  color: var(--color-text-strong);
  font-weight: 500;
  min-width: 4.5em;
  font-variant-numeric: tabular-nums;
}

.speed-ctl,
.mini-ctl {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-weak);
  font-size: var(--font-size-2xs);
  white-space: nowrap;
}

.speed-ctl input[type="range"],
.mini-ctl input[type="range"] {
  accent-color: var(--color-background-strong);
  width: 88px;
  margin: 0;
}

.mini-ctl strong {
  color: var(--color-text-strong);
  font-weight: 500;
  font-size: var(--font-size-2xs);
  min-width: 3em;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

[data-slot="voice"] {
  margin-left: auto;
  flex: 0 1 320px;
}

[data-slot="voice"] input {
  flex: 1;
  min-width: 0;
  background: var(--color-background-weak);
  border: 1px solid var(--color-border-weak);
  border-radius: 4px;
  padding: 6px 10px;
  font-size: var(--font-size-sm);
}

[data-slot="voice"] input::placeholder {
  color: var(--color-text-weaker);
}

[data-slot="voice"] input:focus {
  outline: none;
  border-color: var(--color-background-strong);
  box-shadow: 0 0 0 3px var(--color-background-interactive);
}

/* 移动端「时间 ▾」折叠按钮（桌面隐藏） */
.sun-toggle {
  display: none;
  appearance: none;
  background: var(--color-background);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-weight: 500;
  font-size: var(--font-size-sm);
  padding: 6px 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--dur-btn) var(--ease-out),
    background-color var(--dur-fast) ease;
}

.sun-toggle:hover {
  background: var(--color-background-weak);
}

.sun-toggle:active {
  transform: scale(0.98);
}

/* ---------- 按钮 ---------- */

.action-button,
.primary-button,
.inject-btn {
  appearance: none;
  background: var(--color-background);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-weight: 500;
  font-size: var(--font-size-sm);
  padding: 6px 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--dur-btn) var(--ease-out),
    background-color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}

.primary-button {
  background: var(--color-background-strong);
  color: var(--color-text-inverted);
  border-color: var(--color-background-strong);
}

.primary-button:hover {
  background: var(--color-background-strong-hover);
  border-color: var(--color-background-strong-hover);
}

.action-button:hover {
  background: var(--color-background-weak);
}

.action-button:active,
.primary-button:active,
.inject-btn:active {
  transform: scale(0.98);
}

/* ---------- 主区 ---------- */

[data-component="main"] {
  flex: 1 1 auto;
  display: flex;
  min-height: 0;
}

/* ---------- 3D 场景 ---------- */

[data-component="scene"] {
  flex: 1 1 auto;
  position: relative;
  min-width: 0;
  background: var(--color-scene-bg);
  border-right: 1px solid var(--color-border-weak);
}

#scene-container {
  position: absolute;
  inset: 0;
}

#scene-container canvas {
  display: block;
  width: 100%;
  height: 100%;
}

[data-component="scene-overlay"] {
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--color-background);
  border: 1px solid var(--color-border-weak);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
  z-index: 5;
  transform-origin: bottom left;
  animation: overlay-in 0.2s var(--ease-out);
}

@keyframes overlay-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-slot="overlay-title"] {
  color: var(--color-text-weak);
  font-size: var(--font-size-2xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

[data-component="scene-overlay"] select {
  background: var(--color-background-weak);
  border: 1px solid var(--color-border-weak);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: var(--font-size-sm);
}

[data-slot="inject-buttons"] {
  display: flex;
  gap: var(--space-2);
}

.inject-btn {
  padding: 4px 10px;
  font-size: var(--font-size-sm);
}

[data-slot="hint"] {
  color: var(--color-text-weaker);
  font-size: var(--font-size-2xs);
  max-width: 260px;
}

/* ---------- 右侧面板 ---------- */

[data-component="panel"] {
  flex: 0 0 620px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--color-background);
}

[data-component="tabs"] {
  display: flex;
  gap: var(--space-8);
  align-items: center;
  padding: 0 var(--space-4);
  border-bottom: 1px solid var(--color-border-weak);
  flex: 0 0 auto;
  background: var(--color-background-weak);
}

.tab {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 14px 0;
  margin: 0;
  cursor: pointer;
  color: var(--color-text-weak);
  line-height: 1;
  border-bottom: 2px solid transparent;
  font-size: var(--font-size-sm);
  transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}

.tab:hover {
  color: var(--color-text);
}

.tab[aria-selected="true"] {
  color: var(--color-text-strong);
  border-bottom-color: var(--color-background-strong);
}

[data-slot="panels"] {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.panel {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: var(--space-3) var(--space-4) var(--space-4);
  gap: var(--space-3);
}

.panel[hidden] {
  display: none;
}

.panel.fade-in {
  animation: panel-in 0.18s var(--ease-out);
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- 设备选择 tabs ---------- */

[data-component="device-tabs"],
[data-component="todo-tabs"] {
  display: flex;
  gap: var(--space-1);
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.devtab {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 5px 12px;
  cursor: pointer;
  color: var(--color-text-weak);
  font-size: var(--font-size-sm);
  transition: color var(--dur-fast) ease, background-color var(--dur-fast) ease,
    border-color var(--dur-fast) ease;
}

.devtab:hover {
  color: var(--color-text-strong);
  background: var(--color-background-weak);
}

.devtab[aria-selected="true"] {
  color: var(--color-text-strong);
  border-color: var(--color-border);
  background: var(--color-background-interactive-weaker);
}

/* ---------- 编辑器 ---------- */

[data-component="editor"] {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1 1 auto;
  min-height: 0;
}

[data-slot="editor-head"] {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex: 0 0 auto;
}

[data-slot="editor-head"] strong {
  font-size: var(--font-size-md);
  color: var(--color-text-strong);
}

.chip {
  background: var(--color-background-interactive-weaker);
  color: var(--color-text);
  border: 1px solid var(--color-border-weak);
  border-radius: 4px;
  font-size: var(--font-size-2xs);
  padding: 2px 8px;
  line-height: 1.4;
}

.status {
  font-size: var(--font-size-2xs);
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--color-border-weak);
  color: var(--color-text-weak);
}

.status.off {
  color: var(--color-text-weak);
}

.status.run {
  color: var(--color-ok);
  border-color: var(--color-ok);
}

.status.err {
  color: var(--color-err);
  border-color: var(--color-err);
}

[data-slot="codebox"] {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  background: var(--color-code-bg);
  border: 1px solid var(--color-border-weak);
  border-radius: var(--radius-md);
  overflow: hidden;
}

#code-highlight,
#code-input {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  line-height: 1.55;
  tab-size: 4;
  white-space: pre;
  overflow: auto;
  border: none;
  background: transparent;
}

#code-highlight {
  pointer-events: none;
  color: var(--color-text);
}

#code-input {
  background: transparent;
  color: transparent;
  caret-color: var(--color-text-strong);
  resize: none;
  outline: none;
  z-index: 1;
  white-space: pre;
  overflow-wrap: normal;
}

#code-input:focus + #code-highlight,
#code-input:focus {
  outline: none;
}

#code-input::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

#code-highlight::-webkit-scrollbar,
#code-input::-webkit-scrollbar-thumb,
#code-highlight::-webkit-scrollbar-thumb {
  background: var(--color-border-weak);
  border-radius: 5px;
}

/* 代码高亮 token */
#code-highlight .tok-kw {
  color: var(--color-text-strong);
  font-weight: 500;
}
#code-highlight .tok-sdk {
  color: var(--color-sdk);
}
#code-highlight .tok-str {
  color: var(--color-str);
}
#code-highlight .tok-num {
  color: var(--color-num);
}
#code-highlight .tok-cmt {
  color: var(--color-text-weaker);
  font-style: italic;
}
#code-highlight .tok-fn {
  color: var(--color-text-strong);
}
#code-highlight .tok-id {
  color: var(--color-text);
}

[data-slot="editor-actions"] {
  display: flex;
  gap: var(--space-2);
  flex: 0 0 auto;
}

/* ---------- 编译输出 ---------- */

[data-component="output"] {
  flex: 0 0 auto;
  border: 1px solid var(--color-border-weak);
  border-radius: var(--radius-md);
  background: var(--color-background-weak);
  max-height: 160px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

[data-component="output"] summary {
  cursor: pointer;
  padding: 6px 12px;
  color: var(--color-text-weak);
  font-size: var(--font-size-2xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  user-select: none;
}

[data-component="output"] summary:hover {
  color: var(--color-text);
}

[data-component="output"] pre {
  margin: 0;
  padding: 0 var(--space-3) var(--space-2);
  overflow-y: auto;
  max-height: 118px;
  font-size: var(--font-size-sm);
  line-height: 1.6;
  color: var(--color-text);
  white-space: pre-wrap;
  word-break: break-word;
}

[data-component="output"] pre.err {
  color: var(--color-err);
}

[data-component="output"] pre.ok {
  color: var(--color-ok);
}

/* ---------- TODO 面板 ---------- */

#todo-body {
  flex: 1 1 auto;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.todo-group {
  border: 1px solid var(--color-border-weak);
  border-radius: var(--radius-md);
  background: var(--color-background-weak);
  padding: var(--space-3);
}

.todo-group-title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.todo-group-title strong {
  color: var(--color-text-strong);
  font-size: var(--font-size-sm);
}

.todo-count {
  color: var(--color-text-weak);
  font-size: var(--font-size-2xs);
}

.todo-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-1);
  border-radius: 4px;
  color: var(--color-text);
}

.todo-item:hover {
  background: var(--color-background-weak-hover);
}

.todo-item input {
  margin-top: 3px;
  accent-color: var(--color-background-strong);
}

.todo-item .todo-text {
  flex: 1;
  line-height: 1.5;
}

.todo-item.done .todo-text {
  color: var(--color-text-weaker);
  text-decoration: line-through;
  text-decoration-color: var(--color-text-weaker);
}

.todo-item .todo-cond {
  color: var(--color-text-weaker);
  font-size: var(--font-size-2xs);
  white-space: pre-wrap;
  margin-top: 2px;
}

/* ---------- MQTT 面板 ---------- */

[data-slot="mqtt-head"] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
}

#mqtt-log {
  flex: 1 1 auto;
  margin: 0;
  padding: var(--space-3);
  overflow: auto;
  font-size: var(--font-size-sm);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-code-bg);
  border: 1px solid var(--color-border-weak);
  border-radius: var(--radius-md);
  white-space: pre-wrap;
  word-break: break-word;
}

.mqtt-row-topic {
  color: var(--color-background-interactive);
}

/* ---------- 页脚 ---------- */

[data-component="footer"] {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: var(--space-2) var(--space-6);
  border-top: 1px solid var(--color-border-weak);
  color: var(--color-text-weak);
  font-size: var(--font-size-2xs);
}

[data-component="footer"] .copyright {
  justify-self: center;
  text-align: center;
}

[data-component="footer"] span:last-child {
  justify-self: end;
}

/* ---------- 响应式（移动端适配） ---------- */

@media (max-width: 1080px) {
  [data-component="panel"] {
    flex-basis: 480px;
  }
}

@media (max-width: 760px) {
  /* 顶栏：多行、自适应高度 */
  [data-component="topbar"] {
    position: relative;
    height: auto;
    flex-wrap: wrap;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
  }
  [data-slot="subtitle"] {
    display: none;
  }
  [data-slot="brand"] {
    min-width: 0;
  }
  [data-slot="brand"] h1 {
    font-size: var(--font-size-md);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  [data-slot="time-label"] {
    display: none;
  }
  [data-slot="clock"] {
    gap: var(--space-2);
  }
  [data-slot="clock"] strong {
    min-width: 3.5em;
  }
  .speed-ctl input[type="range"],
  .mini-ctl input[type="range"] {
    width: 64px;
  }

  /* 日出/日落 → 折叠到「时间 ▾」下拉菜单 */
  .sun-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
  }
  [data-slot="sun"] {
    display: none;
  }
  [data-slot="sun"].sun-open {
    display: flex;
    position: absolute;
    top: calc(100% + 6px);
    right: var(--space-3);
    z-index: 40;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
    min-width: 220px;
    padding: var(--space-3);
    background: var(--color-background);
    border: 1px solid var(--color-border-weak);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-pop);
  }
  [data-slot="sun"].sun-open .mini-ctl {
    justify-content: space-between;
  }
  [data-slot="sun"].sun-open .mini-ctl input {
    width: 110px;
  }

  /* 语音框独占一行 */
  [data-slot="voice"] {
    flex: 1 1 100%;
    margin-left: 0;
    order: 10;
  }

  /* 主区：纵向堆叠 */
  [data-component="main"] {
    flex-direction: column;
  }
  [data-component="scene"] {
    flex: 0 0 40vh;
    border-right: none;
    border-bottom: 1px solid var(--color-border-weak);
  }
  [data-component="panel"] {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
  }
  [data-slot="hint"] {
    display: none;
  }

  /* 触控目标 + tab 横向滚动 */
  .inject-btn,
  .action-button,
  .primary-button {
    min-height: 36px;
    padding: 8px 14px;
  }
  [data-component="tabs"],
  [data-component="device-tabs"],
  [data-component="todo-tabs"] {
    overflow-x: auto;
  }
  [data-slot="codebox"] #code-input,
  [data-slot="codebox"] #code-highlight {
    font-size: 12px;
  }

  /* 代码框：滚动容器里 flex-grow 失效，给显式高度，避免被压成一条缝 */
  [data-slot="codebox"] {
    flex: none;
    height: 38vh;
    min-height: 180px;
  }

  /* 编译输出：面板内可滚动、不溢出屏幕底部 */
  .panel[data-panel="device"] {
    overflow-y: auto;
  }
  [data-component="output"] {
    flex-shrink: 0;
  }

  /* 底部栏：单栏居中，只留版权 */
  [data-component="footer"] {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-3);
  }
  [data-component="footer"] span:first-child,
  [data-component="footer"] span:last-child {
    display: none;
  }
  [data-component="footer"] .copyright {
    justify-self: center;
  }
}

/* ---------- 动效门控 ---------- */

@media (prefers-reduced-motion: reduce) {
  [data-component="scene-overlay"] {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (hover: hover) and (pointer: fine) {
  .inject-btn:hover,
  .action-button:hover,
  .primary-button:hover {
    transform: translateY(-1px);
  }
}
