* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: #0a0a0a;
  font-family: system-ui, sans-serif;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.split-dl {
  background: none;
  border: none;
  padding: 0;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #2e2e2e;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s;
  white-space: nowrap;
}

.split-dl:hover { color: #555; }
.split-dl:disabled { color: #333; cursor: default; }

#cards-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
}

.section-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.section-label {
  font-size: 13px;
  letter-spacing: 0.25em;
  color: #444;
  text-transform: uppercase;
}

.card-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
}

.card-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
}

canvas {
  display: block;
  width: min(320px, calc(100vw - 40px));
  aspect-ratio: 9 / 16;
  border: 1px solid #1e1e1e;
}

.home-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: #111;
  border: 1px solid #2a2a2a;
  color: #444;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, color 0.15s, border-color 0.15s;
  pointer-events: none;
  z-index: 100;
}

.home-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.home-btn:hover {
  background: #1a1a1a;
  border-color: #444;
  color: #aaa;
}
