/* sheepdogfilter.com/ask (kid's "Ask to unblock") and the parent's answer page (/ask/r/...).
   Flat sheet on the page background, hairline lists, no boxes inside boxes. */
.ask-body { min-height: 100vh; background:
  radial-gradient(900px 420px at 50% -120px, rgba(30, 143, 110, .10), transparent 70%), var(--bg); }
.ask-top { padding: 18px 20px 0; max-width: 560px; margin: 0 auto; }
.ask-main { max-width: 560px; margin: 0 auto; padding: 8px 20px calc(48px + env(safe-area-inset-bottom)); }
.ask-sheet { animation: ask-in .5s cubic-bezier(.2, .8, .2, 1) both; }

.ask-hero { text-align: center; padding: 22px 0 6px; }
.ask-hero .pal { margin: 0 auto 8px; display: block; width: max-content; animation: ask-owl-in .7s cubic-bezier(.3, 1.4, .5, 1) both; }
.ask-kicker { margin: 0 0 8px; font: 700 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.ask-hero h1 { font-size: clamp(30px, 7vw, 40px); margin: 0 auto 10px; max-width: 15ch; }
.ask-sub { color: var(--ink-2); margin: 0 auto 8px; max-width: 38ch; font-size: 17px; }

.ask-shimmer { display: grid; gap: 12px; margin: 26px 0 0; }
.ask-shimmer i { display: block; height: 56px; border-radius: 14px; background: linear-gradient(90deg, var(--surface-2), #fff 50%, var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }

.ask-asker { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 14px; color: var(--ink-2); margin: 14px 0 6px; }
.ask-asker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(30, 143, 110, .5); animation: ask-live 2.4s ease-out infinite; }

.ask-h { font: 650 13px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 26px 0 8px; }
.ask-h span { text-transform: none; letter-spacing: 0; font-weight: 500; }

.ask-list, .ask-mine { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ask-list li, .ask-mine li { border-bottom: 1px solid var(--line); animation: ask-row .45s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 50ms + 120ms); }
.ask-opt { display: flex; align-items: center; gap: 14px; padding: 12px 4px; cursor: pointer; position: relative; transition: background .15s; border-radius: 12px; }
.ask-opt:hover { background: rgba(30, 143, 110, .04); }
.ask-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ask-opt .txt, .ask-mine .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ask-opt strong, .ask-mine strong { font-size: 17px; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ask-opt small, .ask-mine small { color: var(--ink-3); font-size: 13.5px; }
.ask-radio { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #cfc8bb; flex: none; position: relative; transition: border-color .2s; }
.ask-radio::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--brand); transform: scale(0); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.ask-opt.on .ask-radio { border-color: var(--brand); }
.ask-opt.on .ask-radio::after { transform: scale(1); }
.ask-opt.on strong { color: var(--brand-ink); }
.ask-opt:has(input:focus-visible) { outline: 3px solid var(--sky); outline-offset: 2px; }

.ask-logo { width: 40px; height: 40px; border-radius: 11px; flex: none; }
.ask-mono { width: 40px; height: 40px; border-radius: 11px; flex: none; display: grid; place-items: center; background: var(--ink); color: #fff; font: 700 19px/1 Georgia, "Times New Roman", serif; }

.ask-type { display: block; position: relative; }
.ask-type input { margin-top: 0; font-size: 17px; padding: 15px 16px; border-radius: 14px; background: #fff; }
.ask-type.on input { border-color: var(--brand); }

.ask-go { margin-top: 24px; font-size: 18px; padding: 17px 22px; transition: transform .12s, background .15s, opacity .2s; }
.ask-go.busy { position: relative; color: transparent; }
.ask-go.busy::after { content: "Sending…"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; animation: ask-breathe 1.2s ease-in-out infinite; }
.ask-error { color: var(--danger); font-weight: 600; margin: 14px 0 0; }

/* The latest answer: a flat band with an accent rule, not a floating card. */
.ask-answer { display: flex; align-items: center; gap: 14px; padding: 16px 4px 16px 16px; margin: 18px 0 4px; border-left: 4px solid var(--sun); background: linear-gradient(90deg, rgba(255, 184, 77, .12), transparent); border-radius: 4px 14px 14px 4px; position: relative; overflow: hidden; animation: ask-row .5s cubic-bezier(.2, .8, .2, 1) both; }
.ask-answer strong { display: block; font-size: 17px; line-height: 1.3; }
.ask-answer small { display: block; color: var(--ink-2); font-size: 14px; margin-top: 3px; }
.ask-answer.yes { border-left-color: var(--brand); background: linear-gradient(90deg, rgba(30, 143, 110, .13), transparent); }
.ask-answer.no { border-left-color: var(--ink-3); background: linear-gradient(90deg, rgba(122, 132, 153, .12), transparent); }
.ask-burst { position: absolute; left: 46px; top: 50%; width: 10px; height: 10px; pointer-events: none; }
.ask-burst::before, .ask-burst::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 -34px 0 -2px var(--brand), 26px -22px 0 -3px var(--sun), 34px 4px 0 -2px var(--coral), 20px 28px 0 -3px var(--sky), -20px 28px 0 -2px var(--brand), -34px 2px 0 -3px var(--sun), -26px -22px 0 -2px var(--coral); animation: ask-burst .9s cubic-bezier(.2, .8, .2, 1) both; }
.ask-burst::after { transform: rotate(25deg); animation-delay: .08s; }

.ask-mine li { display: flex; align-items: center; gap: 14px; padding: 12px 4px; }
.ask-pill { display: inline-flex; align-items: center; gap: 6px; font: 600 13px/1 var(--font); color: var(--ink-2); white-space: nowrap; }
.ask-pill.yes { color: var(--brand-ink); }
.ask-pill.no { color: var(--ink-3); }
.ask-pill.wait i { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); animation: cpw-pulse 1.6s ease-in-out infinite; }
.ask-pill .draw { stroke-dasharray: 24; stroke-dashoffset: 24; animation: ask-draw .5s .15s ease-out forwards; }

.ask-tip { margin: 30px 0 0; font-size: 14px; color: var(--ink-3); text-align: center; }
.ask-foot { text-align: center; margin-top: 20px; }

/* Parent's answer page */
.ask-site { display: flex; align-items: center; gap: 14px; padding: 16px 0; margin-top: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ask-site img { border-radius: 11px; flex: none; }
.ask-site strong { display: block; font-size: 18px; }
.ask-site small { color: var(--ink-3); font-size: 14px; }
.ask-note { margin: 18px 0 0; padding: 2px 0 2px 16px; border-left: 3px solid var(--brand); font: italic 20px/1.45 Georgia, "Times New Roman", serif; color: var(--ink); }
.ask-primary { margin-top: 24px; }
.ask-primary .btn { font-size: 18px; padding: 17px 22px; }
.ask-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ask-row form { margin: 0; }
.ask-row .btn { padding: 11px 16px; font-size: 15px; }
.ask-state { margin: 20px 0 6px; font-size: 18px; font-weight: 650; color: var(--brand-ink); }
.ask-fine { margin: 18px 0 0; font-size: 13.5px; color: var(--ink-3); }
.ask-change { margin: 18px 0 10px; }
.ask-change summary { cursor: pointer; color: var(--brand-ink); font-weight: 600; }

@keyframes ask-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes ask-row { from { opacity: 0; transform: translateY(8px); } }
@keyframes ask-owl-in { from { opacity: 0; transform: translateY(18px) scale(.85); } }
@keyframes ask-live { 0% { box-shadow: 0 0 0 0 rgba(30, 143, 110, .5); } 70%, to { box-shadow: 0 0 0 9px rgba(30, 143, 110, 0); } }
@keyframes ask-breathe { 0%, to { opacity: 1; } 50% { opacity: .55; } }
@keyframes ask-draw { to { stroke-dashoffset: 0; } }
@keyframes ask-burst { from { opacity: 1; transform: scale(.2); } 70% { opacity: 1; } to { opacity: 0; transform: scale(1.3); } }
@media (prefers-reduced-motion: reduce) {
  .ask-sheet, .ask-list li, .ask-mine li, .ask-answer, .ask-hero .pal, .ask-burst::before, .ask-burst::after { animation: none !important; }
}
