.ls-page { --hi-accent: #e6d643; }

.ls-card.hi-card {
  grid-template-columns: 72px minmax(0, 1fr);
}

.ls-shell:not(.detail-open) .ls-card.hi-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  min-height: 86px;
  padding: 10px;
}

.ls-kind-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--hi-line);
  background: #d8e4ff;
  color: var(--hi-ink);
  font-size: 13px;
  font-weight: 1000;
}

.ls-card[data-kind="class"] .ls-kind-badge { background: #ffe8cc; }

.ls-shell:not(.detail-open) .ls-card > span:not(.ls-kind-badge) {
  margin: 0;
  padding: 0;
}

.ls-animations {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.ls-animation {
  min-height: 34px;
  padding: 6px 10px;
  border: 2px solid var(--hi-line);
  background: #fff;
  color: var(--hi-ink);
  font-weight: 900;
  cursor: pointer;
}

.ls-animation.active { background: var(--hi-accent); }

.ls-scale-control {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) 48px;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
  padding: 8px 10px;
  border: 2px solid var(--hi-line);
  background: #fff;
  color: var(--hi-muted);
  font-size: 11px;
  font-weight: 900;
}

.ls-scale-control input {
  appearance: none;
  width: 100%;
  height: 16px;
  border: 2px solid var(--hi-line);
  background: var(--hi-panel);
  cursor: pointer;
}

.ls-scale-control input::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 24px;
  border: 2px solid var(--hi-line);
  background: var(--hi-accent);
}

.ls-scale-control input::-moz-range-thumb {
  width: 14px;
  height: 24px;
  border: 2px solid var(--hi-line);
  border-radius: 0;
  background: var(--hi-accent);
}

.ls-scale-control output {
  color: var(--hi-ink);
  text-align: right;
}

.ls-animation.has-voice::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-radius: 999px;
  background: #26845f;
  vertical-align: middle;
}

.ls-file-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.ls-file {
  padding: 8px 10px;
  border: 1px solid rgba(23, 23, 23, 0.16);
  background: #fafaf7;
  color: var(--hi-muted);
  font-size: 11px;
  font-weight: 800;
  word-break: break-all;
}

.ls-empty {
  padding: 12px;
  border: 1px dashed rgba(23, 23, 23, 0.28);
  color: var(--hi-muted);
  font-weight: 800;
}

.ls-game-window {
  background: #ecece7;
  border: 0;
  box-shadow: none;
  touch-action: none;
  cursor: grab;
}

.ls-shell.detail-open {
  cursor: grab;
}

.ls-shell.detail-open.panning,
.ls-shell.detail-open.panning .ls-game-window {
  cursor: grabbing;
}

.ls-spine .spine-player {
  background: transparent !important;
}

@media (max-width: 760px) {
  .ls-shell:not(.detail-open) .ls-card.hi-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .ls-kind-badge { width: 64px; }
}
