.ffd-mount {
  margin: 0 0 1.5rem;
  padding: 1rem 1rem 1.25rem;
  border: 1px solid #c5d0da;
  background: linear-gradient(180deg, #f7fafc 0%, #eef3f7 100%);
  color: #1a2b3c;
}

.ffd-mount__title {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.ffd-mount__note {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.9;
}

.ffd-mount__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.65rem;
}

.ffd-mount__btn {
  appearance: none;
  border: 1px solid #9aaebd;
  background: #fff;
  color: #163047;
  font: 600 12px/1.2 system-ui, sans-serif;
  padding: 0.45rem 0.55rem;
  min-height: 36px;
  min-width: 36px;
  border-radius: 2px;
  cursor: pointer;
}

.ffd-mount__btn[aria-pressed='true'] {
  background: #163047;
  color: #fff;
  border-color: #163047;
}

.ffd-mount__btn:active {
  transform: translateY(1px);
}

.ffd-mount__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 240px);
  gap: 0.75rem;
  align-items: stretch;
}

@media (max-width: 720px) {
  .ffd-mount__layout {
    grid-template-columns: 1fr;
  }
}

.ffd-mount__stage {
  position: relative;
  min-height: 300px;
  background:
    linear-gradient(90deg, rgba(15, 40, 70, 0.04) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(rgba(15, 40, 70, 0.04) 1px, transparent 1px) 0 0 / 20px 20px,
    #fff;
  border: 1px solid #b7c4d2;
  border-radius: 2px;
  overflow: hidden;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.ffd-mount__stage .konvajs-content,
.ffd-mount__stage canvas {
  touch-action: none;
}

.ffd-mount__side {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ffd-mount__hud {
  margin: 0;
  padding: 0.65rem 0.75rem;
  background: #102433;
  color: #d7e8f7;
  font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
  border-radius: 2px;
  min-height: 8.5rem;
}

.ffd-mount__status {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.35;
}

.ffd-mount__status--error {
  color: #9b1c1c;
  font-weight: 600;
}

.ffd-mount__hints {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  opacity: 0.85;
}

.ffd-mount__hints li {
  margin: 0.15rem 0;
}
