.ask-topbar { max-width: 620px; }
.ask-page { max-width: 620px; padding-top: clamp(4px, 4vw, 32px); }
.ask-card { overflow: hidden; }
.ask-card::before {
  content: ""; display: block; height: 8px; margin: -20px -20px 18px;
  background: linear-gradient(90deg, #24103f, #5a1656 25%, #b8285f 55%, #ff7a45 80%, #ffd36e);
}
.ask-decisions #ask-approve { padding: 12px 28px; font-size: 17px; }
.ask-return .btn { margin-top: 4px; }
.ask-card h1 { margin: 4px 0 8px; font-size: clamp(26px, 6vw, 38px); line-height: 1.15; }
.ask-card h2, .ask-details dd { overflow-wrap: anywhere; }
.ask-parody { display: inline-block; margin: 0; border: 1px solid currentColor; border-radius: 999px; padding: 2px 10px; color: var(--accent); font: 700 13px/1.6 var(--mono); letter-spacing: .06em; }
/* Still readable, but doesn't compete with the stamp-style verdict badge above it. */
.ask-parody-quiet { border: 0; padding: 0; color: var(--muted); font-weight: 600; font-size: 12px; }
.ask-details { margin: 10px 0 16px; }
.ask-details div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--border); }
.ask-details dt { color: var(--muted); }
.ask-details dd { margin: 0; }
.ask-card button { min-height: 44px; }
.ask-decisions { align-items: flex-start; }
.ask-deny-track {
  flex: 0 1 14rem; min-width: min(11.5rem, 100%); max-width: 100%;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(44px, auto)); gap: 6px;
}
.ask-deny { grid-area: 1 / 1; justify-self: start; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.ask-deny-track[data-slot="1"] .ask-deny { grid-area: 2 / 2; }
.ask-deny-track[data-slot="2"] .ask-deny { grid-area: 1 / 2; }
.ask-deny-track[data-slot="3"] .ask-deny { grid-area: 2 / 1; }
.ask-deny:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ask-deny-hint { margin: 8px 0 0; font-size: 13px; }
/* clip, not just hidden: the watermark overhangs the box, and a hidden box can still be
   scrolled by focus or scrollIntoView, which pushed the PARODY/verdict badges out the top. */
.ask-result { position: relative; isolation: isolate; overflow: hidden; overflow: clip; margin-top: 16px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); }
.ask-result h2 { margin-top: 6px; }
.ask-result p:not(.ask-parody) { margin: 4px 0 0; }
.ask-result .ask-result-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ask-result .ask-verdict { margin: 0; padding: 2px 10px; border: 2px dashed currentColor; border-radius: 8px; font: 700 13px/1.6 var(--mono); transform: rotate(-4deg); overflow-wrap: anywhere; }
.ask-result[data-decision="a"] .ask-verdict { color: #166534; background: #dcfce7; }
.ask-result[data-decision="d"] .ask-verdict { color: #9f1239; background: #ffe4e6; }
.ask-result p { overflow-wrap: anywhere; }
.ask-department, .ask-signature { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.ask-approve-reaction { font-style: italic; color: var(--muted); }
.ask-department { margin-top: 8px; }
.ask-department img { flex: none; }
.ask-signature { margin-top: 8px; }
.ask-signature #ask-signature { margin: 0; font-weight: 600; }
.ask-seal-watermark { position: absolute; z-index: -1; inset: auto -22px -22px auto; opacity: .09; pointer-events: none; transform: rotate(-12deg); }
.ask-message-choice { display: grid; gap: 5px; margin-bottom: 10px; }
.ask-message-choice select { width: 100%; min-height: 44px; }
#ask-result-actions { margin-top: 12px; }
#ask-result-actions button, .ask-reply-instruction { overflow-wrap: anywhere; }
.ask-result-fallback { width: 100%; margin-top: 8px; font: inherit; }
.ask-support { margin: 16px 0 0; text-align: center; }
.ask-result-brand { color: var(--muted); font-size: 13px; }
.ask-return { margin-bottom: 0; }
.ask-confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ask-confetti::before, .ask-confetti::after {
  content: ""; position: absolute; top: 12%; left: 50%; width: 6px; height: 6px;
  box-shadow: -54px 3px var(--accent), -28px 22px var(--accent-2), 0 -7px var(--sun), 28px 12px var(--accent), 54px -2px var(--accent-2);
  animation: ask-confetti-fall .75s ease-out both;
}
.ask-confetti::after { left: 42%; animation-delay: .1s; }
@keyframes ask-confetti-fall {
  from { opacity: 1; transform: translateY(-12px) rotate(-15deg); }
  to { opacity: 0; transform: translateY(95px) rotate(35deg); }
}
@media (prefers-reduced-motion: reduce) {
  .ask-confetti { display: none; }
}
