.banner-fixed {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #6b4e16;
}

.help-body {
  margin: 0.35rem 0 0;
  max-width: 28rem;
  font-size: 0.78rem;
  line-height: 1.45;
}

.help-body ul {
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
}

.unit-chip {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.78rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  align-self: flex-end;
}

.session-hint {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.session-hint input {
  width: min(22rem, 100%);
  margin: 0;
}

.face-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  align-items: center;
}

.face-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.face-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.face-toggle button.active {
  background: var(--accent);
  color: #fff;
}

.face-caption {
  margin: 0;
  font-size: 0.78rem;
}

#token-canvas {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 1;
  background: #efe6d6;
  border-radius: 10px;
  border: 1px solid var(--line);
  touch-action: none;
  cursor: default;
}

#token-canvas.cursor-rotate {
  cursor: grab;
}

#token-canvas.cursor-resize {
  cursor: nwse-resize;
}

.status.error {
  color: var(--danger);
}

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

@media (prefers-color-scheme: dark) {
  .banner-fixed {
    color: #e2c48a;
  }
}
