.system-card.system-card-blush {
  border-color: #55404b;
  box-shadow: 0 16px 45px #0002;
}

.system-card.system-card-blush:hover {
  transform: translateY(-5px);
  border-color: #d094a4;
  box-shadow: 0 20px 55px #0004;
}

.system-card.system-card-blush:focus-visible { outline-color: #f2b3c6; }
.system-card-art-blush { background: #382736; }
.system-card-art-blush::after { background: linear-gradient(transparent 65%, #1b172173); mask-image: none; }
.system-card-art-blush img { display: block; width: 100%; height: 100%; object-fit: cover; }
.system-card-blush .system-card-arrow { background: #48303e; color: #ffd5e0; border-color: #705064; }
.system-card-blush:hover .system-card-arrow { background: #663d52; transform: translate(2px, -2px); }

.blush-workspace {
  --blush-border: #42354a;
  --blush-muted: #bdb0c8;
  --blush-text: #f3eaf5;
  --blush-accent: #f4b9ce;
  min-height: 100vh;
  background: radial-gradient(ellipse at 82% 0, #2b2036, transparent 52%), #141119;
  color: var(--blush-text);
}

.blush-workspace [hidden] { display: none; }
.blush-workspace :focus-visible { outline-color: var(--blush-accent); }

.blush-topbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(22px, 6vw, 84px);
  border-bottom: 1px solid var(--blush-border);
}

.blush-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 4px;
  color: var(--blush-muted);
}

.blush-back span { color: var(--blush-accent); font-size: 20px; line-height: 1; }
.blush-back:hover { color: var(--blush-text); }
.blush-topbar .blush-brand { margin: 0; }

.blush-main {
  max-width: 1120px;
  padding: clamp(37px, 6vw, 73px) clamp(20px, 5vw, 48px) 54px;
}

.blush-main h1 {
  margin: 0 0 clamp(24px, 4vw, 38px);
  font-size: clamp(31px, 5vw, 49px);
  line-height: 1.12;
  font-weight: 690;
  letter-spacing: -.045em;
}

.blush-notice {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--blush-muted);
}

.blush-notice p { margin: 0; }

.blush-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 24px);
}

.blush-scene {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--blush-border);
  border-radius: 22px;
  background: #1d1824;
  box-shadow: 0 16px 36px #0002;
}

.blush-scene-art {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #3e2d3d;
}

.blush-scene-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 70%, #1d182453);
  pointer-events: none;
}

.blush-scene-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.blush-scene-body { padding: clamp(18px, 3vw, 26px); }
.blush-scene-body h2 { color: var(--blush-text); font-size: 22px; font-weight: 650; margin: 0 0 18px; }
.blush-choices { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.blush-choices legend { color: var(--blush-muted); padding: 0; margin: 0 0 8px; font-size: 13px; }
.blush-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.blush-option { position: relative; min-width: 0; }

.blush-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.blush-option span {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 7px;
  border: 1px solid var(--blush-border);
  border-radius: 9px;
  color: var(--blush-muted);
  background: #17131c;
  text-align: center;
  cursor: pointer;
}

.blush-option span:hover { border-color: #846578; }
.blush-option input:checked + span { background: #412c3e; border-color: #a1788f; color: #ffdaea; font-weight: 650; }
.blush-option input:focus-visible + span { outline: 2px solid var(--blush-accent); outline-offset: 3px; }
.blush-option input:disabled + span { cursor: wait; opacity: .68; }

.blush-button {
  min-height: 43px;
  padding: 9px 13px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 650;
  text-align: center;
}

.blush-button:disabled { cursor: default; opacity: .52; }
.blush-secondary { color: var(--blush-text); background: #272030; border-color: var(--blush-border); }
.blush-secondary:hover { background: #392c41; border-color: #7a617e; }
.blush-preview span { color: var(--blush-accent); font-size: 15px; }
.blush-primary { color: #2e2030; background: var(--blush-accent); border-color: var(--blush-accent); }
.blush-primary:hover:not(:disabled) { background: #ffd3e2; border-color: #ffd3e2; }

.blush-source { border-top: 1px solid var(--blush-border); margin-top: 20px; padding-top: 16px; }
.blush-source label { display: block; color: var(--blush-muted); font-size: 13px; margin-bottom: 8px; }
.blush-url-row { display: flex; align-items: stretch; gap: 8px; }

.blush-url-row input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 8px 11px;
  border: 1px solid var(--blush-border);
  border-radius: 9px;
  background: #16121b;
  color: #e7d7ee;
  font-family: 'IBM Plex Mono', Consolas, monospace;
  font-size: 12px;
  text-overflow: ellipsis;
}

.blush-url-row input:focus { text-overflow: clip; }
.blush-actionbar { display: flex; flex-wrap: wrap; gap: 9px 16px; align-items: center; justify-content: space-between; margin: 24px 0 15px; }
.blush-actionbar p { margin: 0; color: var(--blush-muted); flex: 1 1 205px; }
.blush-actionbar p[data-error], .blush-notice p[data-error] { color: #ffbdbf; }
.blush-description { color: var(--blush-muted); margin: 5px 0; font-size: 12px; line-height: 1.6; }

@media (max-width: 670px) {
  .blush-grid { grid-template-columns: 1fr; }
  .blush-topbar { min-height: 68px; }
  .blush-scene { border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .system-card.system-card-blush,
  .system-card-blush .system-card-arrow { transition: none; }
  .system-card.system-card-blush:hover,
  .system-card-blush:hover .system-card-arrow { transform: none; }
}
