.intro {
  max-width: 46rem;
  color: var(--ak-text);
  font-size: 18px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
  gap: var(--ak-s4);
  align-items: start;
}

.layout > * { min-width: 0; }

.side {
  display: flex;
  flex-direction: column;
  gap: var(--ak-s4);
  min-width: 0;
}

.disease-chip {
  min-height: 48px;
  height: auto;
  padding: 8px 16px;
  font-size: 24px;
  line-height: 1.15;
  white-space: normal;
  text-align: left;
}

.q-chip {
  min-height: 44px;
  height: auto;
  white-space: normal;
  text-align: left;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.lead {
  font-size: 18px;
  line-height: 1.4;
  color: var(--ak-text);
}

.scene-label {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ak-text);
}

.stage {
  background: var(--ak-stone-10);
  border-radius: var(--ak-r-lg);
  overflow: hidden;
  max-width: 100%;
}

.stage svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.caption {
  color: var(--ak-text);
  font-size: 18px;
  line-height: 1.35;
  min-height: 4.4em;
}

.ak-btn.stage-action {
  font-size: 24px;
  line-height: 1.15;
  min-height: 52px;
  height: auto;
  white-space: normal;
  padding: 8px 18px;
}

#pause-btn {
  min-height: 48px;
  height: auto;
  font-size: 18px;
  padding: 8px 18px;
}

.answer {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 18px;
  line-height: 1.4;
  color: var(--ak-text);
}

#answer { min-height: 48px; }

#safety-note {
  font-size: 16px;
  color: var(--ak-text);
}

#count { color: var(--ak-text-2); }

.ak-page,
.ak-card,
.ak-chip,
.ak-btn,
h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

body.ak { overflow-x: clip; }

@media (max-width: 800px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .disease-chip { width: 100%; }
  #play-btn,
  #pause-btn,
  #ask-btn { width: 100%; }
}
