html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ff4d1f;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.df {
  --den-1: #e6d0ad;
  --den-2: #dab88a;
  --den-3: #c9985e;
  --den-paper: #fff7ea;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 424px;
}

.df__hint {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-weight: 700;
  font-size: clamp(10px, 2.8vw, 12px);
  line-height: 1.35;
  color: #17141a;
}

.df__ico {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: #17141a;
}

.df__duo {
  position: relative;
  height: 208px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  cursor: crosshair;
  touch-action: none;
}

.df__duo:focus-visible {
  outline: 2px solid #17141a;
  outline-offset: 2px;
}

.df__pane {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #fff7ea;
  box-shadow: inset 0 0 0 1px rgba(23, 20, 26, 0.22);
}

.df__cv {
  display: block;
  width: 100%;
  height: 100%;
}

.df__tag {
  position: absolute;
  left: 4px;
  bottom: 4px;
  padding: 0 4px;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.82);
  color: #fff7e6;
  font-weight: 700;
  font-size: 10px;
  line-height: 18px;
}

.df__badge {
  position: absolute;
  right: 4px;
  top: 4px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.82);
  color: #fff7e6;
  font-weight: 700;
  font-size: 11px;
}

.df__badgeUnit {
  font-weight: 700;
}

@media (max-width: 340px) {
  .df {
    gap: 4px;
  }
  .df__duo {
    height: 124px;
  }
  .df__badge {
    font-size: 10px;
    padding: 0 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .df.is-still .df__duo {
    cursor: default !important;
  }
}
