
/* ── The question ─────────────────────────────────────────── */
.ua-right {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(18px, 2vw, 30px);
  border-radius: 16px;
  background: var(--sp-sheen), var(--sp-glass);
  -webkit-backdrop-filter: var(--sp-blur);
  backdrop-filter: var(--sp-blur);
  box-shadow: var(--sp-rim), var(--sp-lift);
}
.ua-head { display: flex; align-items: center; gap: 14px; }
.ua-head h2 {
  margin: 0;
  font-family: var(--wn-display);
  font-size: clamp(27px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--sp-text);
}
.ua-sub {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--sp-muted);
}

.ua-cards {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: clamp(12px, 2vh, 20px);
}
.ua-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 12px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--sp-well);
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease;
}
.ua-card:hover { background: var(--sp-well-hover); }
/* The row starts with the focus, for the arrows and for a screen reader; the ring waits for
   the first key, or it would be one more mark on the row that already shows it is chosen. */
.ua-card:focus-visible { outline: none; }
.ua-overlay.is-keyed .ua-card:focus-visible { outline: 2px solid var(--sp-focus); outline-offset: 2px; }
.ua-card.is-on { background: var(--sp-on); }

/* The chosen row: a green disc with a tick. */
.ua-ring {
  position: relative;
  flex: none;
  order: 2;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--sp-line);
  transition: background 0.18s ease, box-shadow 0.18s ease;
}
.ua-card.is-on .ua-ring { background: var(--wn-main); box-shadow: none; }
.ua-card.is-on .ua-ring::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 6px;
  height: 11px;
  border: solid var(--wn-main-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

.ua-words { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ua-row-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.ua-row-title b { font-size: 16.5px; font-weight: 700; color: var(--sp-text); }
.ua-rec { font-size: 13.5px; font-weight: 600; color: var(--wn-main); }
.ua-body { font-size: 14px; line-height: 1.4; color: var(--sp-muted); overflow-wrap: anywhere; }

.ua-go {
  align-self: stretch;
  min-height: 48px;
  margin-top: clamp(12px, 2vh, 20px);
  border: 0;
  border-radius: 10px;
  background: var(--wn-main);
  color: var(--wn-main-ink);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.ua-go:hover { filter: brightness(1.06); }
.ua-go:focus-visible { outline: 2px solid var(--sp-focus); outline-offset: 2px; }

.ua-phone {
  display: none;
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--sp-muted);
}
.ua-phone.is-on { display: block; }
.ua-phone-go {
  min-height: 32px;
  padding: 0 4px;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--sp-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.ua-phone-go:focus-visible { outline: 2px solid var(--sp-focus); outline-offset: 2px; border-radius: 4px; }

/* A window as short as an Edge: everything a little closer. */
@media (max-height: 760px) and (min-width: 901px) {
  .ua-map { --stage-h: min(560px, 78dvh); }
  .ua-card { padding: 9px 12px; }
  .ua-go { min-height: 44px; }
}

@media (max-width: 900px) {
  .ua-box { grid-template-columns: 1fr; }
  .ua-map { --stage-h: 230px; }
}

/* A monitor on its side: the picture above, where it has the room. */
@media (orientation: portrait) and (min-width: 901px) {
  .ua-box { grid-template-columns: minmax(0, 860px); justify-content: center; }
  .ua-map { --stage-h: 40dvh; }
}

@media (prefers-reduced-motion: reduce) {
  .ua-layer, .ua-pic, .ua-layer > .ua-w, .ua-face, .ua-phone-shape, .ua-card, .ua-ring { transition: none; }
  .ua-layer > .ua-w, .ua-phone-shape { transform: none; }
}
