.rw-page .pf-hero {
  background: radial-gradient(ellipse at 94% 12%, #bc8df745, transparent 62%), linear-gradient(125deg, #3d254f, #251630);
}

.rw-page .pf-hero-art {
  background: linear-gradient(140deg, #9060bb44, #352144);
  border-color: #b38bcd;
}

.rw-page .rw-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
}

.rw-page .rw-table-scroll {
  max-width: 100%;
  overflow: auto;
}

.rw-page .rw-verdict {
  font-size: 20px !important;
  font-weight: 700;
  color: #603885;
}

.rw-page .rw-pill {
  display: inline-block;
  border: 1px solid #c5a3de;
  border-radius: 20px;
  padding: 4px 10px;
  color: #683d84;
  background: #ede0f7;
  font-size: 12px;
}

.rw-page .rw-choice-grid {
  display: grid;
  gap: 14px;
}

.rw-page .rw-choice-grid button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 22px 12px;
  min-width: 0;
  min-height: 140px;
  color: #4b2868;
  background: linear-gradient(135deg, #f9f0ff, #e9daf6);
  border: 2px solid #c5a2dc;
  border-radius: 15px;
  font-size: 17px;
}

.rw-page .rw-choice-grid button[aria-pressed="true"] {
  border-color: #856114;
  box-shadow: inset 0 0 0 2px #f1c962;
}

.rw-page .lw-result .rw-choice-grid button:hover {
  background: #6a3a96;
  color: #fff;
}

.rw-page .rw-symbol {
  font-size: 40px;
  line-height: 1.2;
}

.rw-page .rw-choice-grid img {
  width: 85px;
  height: 85px;
  object-fit: contain;
}

.rw-page .rw-easy section {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid #d2bce0;
}

.rw-page .rw-easy p {
  font-size: 20px;
  line-height: 1.9;
}

.rw-page .lw-result .rw-large p,
.rw-page .lw-result .reading-content p {
  font: inherit;
  line-height: inherit;
  color: inherit;
}

.rw-page .lw-result .reading-content h2 {
  color: inherit;
  font-family: inherit;
}

.rw-page .rw-easy img {
  width: 120px;
  max-height: 170px;
  object-fit: contain;
}

.rw-page .rw-scanning {
  background: #f6dfa5 !important;
  color: #39280b !important;
  outline: 3px solid #956407;
}

.rw-page [data-scan-stage] {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px;
  border: 1px dashed #a77cc2;
  border-radius: 13px;
}

.rw-page .rw-timer {
  text-align: center;
  padding: 28px 18px;
  border: 1px solid #c4a3db;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8f0ff, #eee2f8);
}

.rw-page .rw-timer [role="timer"] {
  font: 750 clamp(30px, 4.6vw, 75px)/1.4 ui-monospace, monospace;
  letter-spacing: -2px;
  color: #603581;
}

.rw-page .rw-timer .rw-actions {
  justify-content: center;
}

.rw-page .rw-step-form label,
.rw-page .rw-step-form small {
  display: block;
}

.rw-page .rw-step-form input {
  width: min(100%, 480px);
}

.rw-page .rw-step-form fieldset {
  min-width: 0;
  border: 1px solid #c4a3db;
  border-radius: 13px;
  padding: 22px;
}

.rw-page .rw-step-form legend {
  color: #623982;
  font-weight: 750;
  padding: 0 8px;
}

.rw-page [data-step-progress] {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 18px;
  background: #e4d1f1;
  color: #663b84;
  font-weight: 650;
}

.rw-page svg.rw-marking {
  cursor: crosshair;
  touch-action: none;
}

@media (max-width: 600px) {
  .rw-page .rw-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }

  .rw-page .rw-choice-grid button {
    padding: 15px 8px;
    min-height: 110px;
    font-size: 14px;
  }

  .rw-page .rw-easy section {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .rw-page .rw-timer {
    padding: 18px 10px;
  }

  .rw-page .rw-timer [role="timer"] {
    font-size: 29px;
  }
}
