:root {
  --bg-base: #edf8ff;
  --bg-panel: rgba(255, 255, 255, 0.96);
  --bg-panel-strong: #ffffff;
  --ink: #083a52;
  --ink-soft: #2e6885;
  --accent: #00b0f0;
  --accent-strong: #0097cf;
  --accent-deep: #0079a7;
  --accent-ghost: rgba(0, 176, 240, 0.16);
  --warning: #e79b33;
  --danger: #c9483a;
  --border-soft: rgba(0, 112, 158, 0.17);
  --shadow: 0 14px 38px rgba(0, 80, 120, 0.16);
  --radius: 14px;
  --radius-sm: 10px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background: var(--bg-base);
  font-family: var(--font-display);
}

body {
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

body.access-locked {
  overflow: hidden;
}

body.is-resizing {
  cursor: row-resize;
  user-select: none;
}

.bg-layer {
  position: fixed;
  pointer-events: none;
  inset: -14%;
  z-index: 0;
}

.bg-layer-a {
  background:
    radial-gradient(circle at 9% 16%, rgba(0, 176, 240, 0.25), transparent 36%),
    radial-gradient(circle at 90% 8%, rgba(0, 121, 167, 0.19), transparent 32%);
  animation: driftA 20s ease-in-out infinite alternate;
}

.bg-layer-b {
  background: radial-gradient(circle at 52% 96%, rgba(0, 176, 240, 0.14), transparent 34%);
  animation: driftB 26s ease-in-out infinite alternate;
}

.app-shell {
  position: relative;
  z-index: 1;
  height: 100dvh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.85rem;
}

.access-gate-screen {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.access-gate-card {
  width: min(460px, 96vw);
  min-height: 0;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  padding: 1.1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.access-gate-logo {
  height: 56px;
  width: auto;
  margin-bottom: 0;
}

.access-gate-card h1 {
  margin: 1rem 0 0;
  font-size: 1.08rem;
}

.access-gate-message {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  min-height: 0;
}

.access-gate-status {
  display: grid;
  gap: 0.2rem;
  min-height: 0;
  margin-top: 0.2rem;
}

.access-gate-form {
  margin-top: 0.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
}

.access-gate-input-wrap {
  position: relative;
  min-width: 0;
}

.access-gate-input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(0, 106, 148, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 1rem;
  padding: 0.58rem 2.2rem 0.58rem 0.65rem;
}

.access-gate-input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 176, 240, 0.24);
  border-color: var(--accent-strong);
}

.access-gate-submit {
  white-space: nowrap;
}

.access-gate-reveal {
  position: absolute;
  right: 0.24rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.85rem;
  height: 1.85rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.access-gate-eye {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.access-gate-eye-open {
  display: none;
}

.access-gate-eye-closed {
  display: block;
}

.access-gate-reveal[aria-pressed='true'] .access-gate-eye-open {
  display: block;
}

.access-gate-reveal[aria-pressed='true'] .access-gate-eye-closed {
  display: none;
}

.access-gate-reveal:hover,
.access-gate-reveal:focus-visible,
.access-gate-reveal[aria-pressed='true'] {
  background: rgba(0, 176, 240, 0.14);
  color: var(--accent-deep);
}

.access-gate-error {
  margin: 0;
  min-height: 1.05rem;
  color: #a8382c;
  font-size: 0.82rem;
  display: none;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  padding: 0.8rem 1rem;
  animation: riseIn 340ms ease;
}

.topbar-left {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}

.brand-logo {
  height: 56px;
  width: auto;
  display: block;
}

.mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.22rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 106, 148, 0.2);
  background: rgba(255, 255, 255, 0.9);
}

.mode-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 0 0.24rem 0 0.28rem;
  white-space: nowrap;
}

.mode-btn {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.34rem 0.6rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 130ms ease;
}

.mode-btn.active {
  background: rgba(0, 176, 240, 0.18);
  color: #0a5f80;
}

.mode-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 176, 240, 0.24);
}

.action-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.serial-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.36rem 0.32rem 0.56rem;
  border: 1px solid rgba(0, 111, 155, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
}

.btn.btn-outline.btn-connect-connected {
  background: #2fb161;
  border-color: #22914d;
  color: #ffffff;
}

.btn.btn-outline.btn-connect-connected:hover:not(:disabled),
.btn.btn-outline.btn-connect-connected:focus-visible {
  background: #c9483a;
  border-color: #a8382c;
  color: #ffffff;
}

.serial-port-status {
  font-size: 0.73rem;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn {
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 130ms ease;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 138, 194, 0.34);
}

.btn-outline {
  border-color: rgba(0, 106, 148, 0.24);
  background: rgba(255, 255, 255, 0.9);
}

.btn-outline:hover:not(:disabled) {
  border-color: var(--accent-strong);
  background: var(--accent-ghost);
}

.btn-ghost {
  color: var(--ink-soft);
  border-color: rgba(0, 106, 148, 0.14);
  background: rgba(255, 255, 255, 0.78);
  padding: 0.34rem 0.6rem;
}

.workspace {
  height: 100%;
  min-height: 700px;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  gap: 0.85rem;
}

.sidebar,
.editor-pane {
  height: 100%;
  min-height: 0;
  min-width: 0;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.sidebar {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  overflow: visible;
  position: relative;
  z-index: 2205;
  animation: riseIn 420ms ease;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 0 0 auto;
}

.sidebar-header h2,
.project-section h3,
.log-header h3 {
  margin: 0;
}

.project-section {
  min-height: auto;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  overflow: visible;
}

.project-section + .project-section {
  margin-top: 0.15rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(0, 106, 148, 0.13);
}

.project-section h3 {
  color: var(--ink-soft);
  font-size: 0.81rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex: 0 0 auto;
}

.projects-title-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
}

.projects-warning-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 20;
}

.projects-warning-trigger {
  width: 1.28rem;
  height: 1.28rem;
  border-radius: 999px;
  border: 1px solid rgba(204, 128, 31, 0.45);
  background: rgba(255, 249, 237, 0.95);
  color: #c47b19;
  font-size: 0.82rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.projects-warning-trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 176, 240, 0.22);
}

.projects-warning-popout {
  position: absolute;
  z-index: 1200;
  left: 0;
  top: calc(100% + 0.35rem);
  width: min(320px, 76vw);
  padding: 0.55rem 0.62rem;
  border-radius: 10px;
  border: 1px solid rgba(204, 128, 31, 0.35);
  background: #fffdf8;
  color: #7d5823;
  font-size: 0.72rem;
  line-height: 1.35;
  box-shadow: 0 8px 20px rgba(124, 88, 35, 0.18);
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 120ms ease, transform 120ms ease;
}

.projects-warning-wrap:hover .projects-warning-popout,
.projects-warning-wrap:focus-within .projects-warning-popout {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.project-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.38rem;
  overflow: visible;
}

.project-item {
  padding: 0.6rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 111, 155, 0.16);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 130ms ease;
  min-width: 0;
}

.project-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 0;
}

.project-item-title {
  flex: 1 1 auto;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.24;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.variant-delete-btn {
  width: 1.42rem;
  height: 1.42rem;
  padding: 0;
  border: 1px solid rgba(170, 54, 41, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: #8c2e24;
  font-size: 0;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  flex: 0 0 auto;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
  transition: all 120ms ease;
}

.variant-delete-btn::before {
  content: 'x';
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
}

.project-item:hover .variant-delete-btn,
.project-item.active .variant-delete-btn,
.variant-delete-btn:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.variant-delete-btn:hover {
  background: rgba(201, 72, 58, 0.18);
  border-color: rgba(170, 54, 41, 0.5);
}

@media (hover: none) {
  .variant-delete-btn {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }
}

.project-item small {
  display: block;
  font-size: 0.73rem;
  color: var(--ink-soft);
  margin-top: 0.14rem;
}

.project-item:hover {
  border-color: rgba(0, 155, 214, 0.58);
  background: rgba(0, 176, 240, 0.12);
}

.project-item.active {
  border-color: var(--accent-strong);
  background: rgba(0, 176, 240, 0.2);
}

.editor-pane {
  --output-pane-height: 220px;
  overflow: hidden;
  padding: 0.85rem;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) 10px minmax(120px, var(--output-pane-height));
  gap: 0.38rem;
  animation: riseIn 500ms ease;
}

.editor-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.editor-title-wrap {
  min-width: 220px;
  display: flex;
  align-items: center;
  min-height: 2.5rem;
}

.active-project {
  margin: 0;
  font-size: 1.82rem;
  line-height: 1.2;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
}

.editor-status {
  display: none;
}

.project-action-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
  margin-left: auto;
}

.project-upload-input {
  display: none;
}

.code-panel {
  min-height: 0;
  min-width: 0;
  height: 100%;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}

.tabs-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.42rem;
  min-width: 0;
}

.tabs-track {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.btn-supporting-toggle {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.34rem 0.64rem;
  margin-bottom: 0.42rem;
  white-space: nowrap;
}

.tab-tools {
  display: none;
  grid-template-columns: minmax(150px, 1fr) minmax(170px, 280px);
  gap: 0.45rem;
  align-items: center;
  padding: 0.2rem 0.2rem 0.65rem;
}

.tab-tools.visible {
  display: grid;
}

.file-search-input,
.file-jump-select {
  height: 38px;
  border: 1px solid rgba(0, 116, 164, 0.24);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0 0.58rem;
}

.file-search-input:focus,
.file-jump-select:focus {
  outline: none;
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 2px rgba(0, 176, 240, 0.18);
}

.tab-strip-scrollbar {
  display: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  margin-bottom: 0.16rem;
}

.tab-strip-scrollbar.visible {
  display: block;
}

.tab-strip-scrollbar-sizer {
  height: 1px;
}

.tab-strip {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-end;
  gap: 0.26rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  min-height: 52px;
  padding: 0;
  border-bottom: 1px solid rgba(0, 116, 164, 0.24);
  scrollbar-width: none;
}

.tab-strip::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.file-tab {
  border: 1px solid rgba(0, 116, 164, 0.2);
  border-bottom: none;
  border-top-left-radius: 9px;
  border-top-right-radius: 9px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  padding: 0.66rem 0.78rem;
  font-size: 0.78rem;
  line-height: 1.1;
  font-family: var(--font-mono);
  background: rgba(0, 176, 240, 0.1);
  color: #0b5d7f;
  cursor: pointer;
  flex: 0 0 auto;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: all 110ms ease;
  margin-bottom: -1px;
}

.file-tab:hover {
  background: rgba(0, 176, 240, 0.16);
}

.file-tab.active {
  border-color: rgba(0, 116, 164, 0.42);
  border-bottom-color: var(--bg-panel-strong);
  background: var(--bg-panel-strong);
  color: #083a52;
  font-weight: 700;
}

.file-tab.dirty::after {
  content: ' *';
  color: var(--danger);
}

.editor-surface,
.log-surface {
  min-height: 0;
  border: 1px solid rgba(0, 116, 164, 0.2);
  background: var(--bg-panel-strong);
  overflow: hidden;
}

.editor-surface {
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  min-height: 220px;
  min-width: 0;
  height: auto;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.editor-container,
.fallback-editor {
  height: auto;
  min-height: 0;
  flex: 1 1 auto;
  width: 100%;
  font-family: var(--font-mono);
}

.editor-container {
  position: relative;
  min-height: 0;
}

.editor-container .monaco-editor .monaco-hover,
.editor-container .monaco-editor .suggest-widget {
  z-index: 2100 !important;
}

.editor-container .monaco-editor .scrollbar.vertical {
  right: 0 !important;
  left: auto !important;
}

.editor-container .monaco-editor .decorationsOverviewRuler {
  right: 0 !important;
  left: auto !important;
}

.fallback-editor {
  border: none;
  resize: none;
  padding: 1rem;
  display: none;
  background: transparent;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.5;
}

.editor-log-splitter {
  height: 10px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(0, 176, 240, 0.18), rgba(0, 176, 240, 0.35));
  border: 1px solid rgba(0, 116, 164, 0.24);
  cursor: row-resize;
  position: relative;
}

.editor-log-splitter::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 2px;
  border-radius: 999px;
  background: rgba(0, 80, 112, 0.45);
  transform: translate(-50%, -50%);
}

.editor-pane.output-collapsed {
  grid-template-rows: auto minmax(0, 1fr) 0 78px;
}

.editor-pane.output-collapsed .editor-log-splitter {
  display: none;
}

.log-surface {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border-radius: var(--radius-sm);
}

.log-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 46px;
  border-bottom: 1px solid rgba(0, 116, 164, 0.14);
  padding: 0.6rem 0.75rem;
  background: rgba(0, 176, 240, 0.07);
  cursor: pointer;
}

.log-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.log-title-group {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.btn-output-toggle {
  padding: 0.26rem 0.56rem;
  line-height: 1.1;
}

.log-surface.collapsed {
  grid-template-rows: auto;
  overflow: hidden;
}

.log-surface.collapsed .log-header {
  border-bottom: none;
}

.log-surface.collapsed .log-output {
  display: none;
}

.state-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  line-height: 1.1;
  font-weight: 600;
  text-transform: none;
  padding: 0.26rem 0.56rem;
  border-radius: 999px;
  font-family: var(--font-display);
  letter-spacing: normal;
  border: 1px solid rgba(0, 116, 164, 0.2);
  box-shadow: none;
}

.state-idle {
  background: rgba(46, 104, 133, 0.14);
  color: var(--ink-soft);
}

.state-running {
  background: rgba(231, 155, 51, 0.22);
  color: #855515;
}

.state-success {
  background: rgba(47, 177, 97, 0.24);
  color: #146b3e;
}

.state-error {
  background: rgba(201, 72, 58, 0.2);
  color: #8c2e24;
}

.log-output {
  margin: 0;
  padding: 0.75rem;
  white-space: pre-wrap;
  overflow: auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.45;
}

@media (max-width: 1100px) {
  .workspace {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(260px, 40vh) minmax(0, 1fr);
    height: auto;
    min-height: auto;
  }

  .editor-pane {
    min-height: 620px;
    height: auto;
    grid-template-rows: auto minmax(0, 1fr) 9px minmax(120px, var(--output-pane-height));
  }

  .editor-pane.output-collapsed {
    grid-template-rows: auto minmax(0, 1fr) 0 78px;
  }

  .project-list {
    overflow: visible;
  }
}

@media (max-width: 760px) {
  .app-shell {
    padding: 0.55rem;
    gap: 0.6rem;
  }

  .topbar,
  .sidebar,
  .editor-pane {
    border-radius: 10px;
    padding: 0.7rem;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-left {
    width: 100%;
    justify-content: space-between;
  }

  .brand-logo {
    height: 48px;
  }

  .action-wrap {
    justify-content: flex-start;
  }

  .serial-wrap {
    max-width: 100%;
  }

  .editor-pane {
    --output-pane-height: 170px;
    min-height: 560px;
    grid-template-rows: auto minmax(0, 1fr) 8px minmax(120px, var(--output-pane-height));
  }

  .editor-pane.output-collapsed {
    grid-template-rows: auto minmax(0, 1fr) 0 78px;
  }

  .access-gate-form {
    grid-template-columns: 1fr;
  }

  .editor-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }

  .project-action-wrap {
    margin-left: 0;
    justify-content: flex-start;
  }

  .tab-tools {
    grid-template-columns: 1fr;
    gap: 0.36rem;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes driftA {
  from {
    transform: scale(1) translate3d(-1.3%, 0, 0);
  }

  to {
    transform: scale(1.05) translate3d(1.3%, 0.5%, 0);
  }
}

@keyframes driftB {
  from {
    transform: scale(1) translate3d(0.8%, -1.2%, 0);
  }

  to {
    transform: scale(1.04) translate3d(-1%, 1.2%, 0);
  }
}
