/* Production-only pieces the design does not draw: the bot check box (shown only when the browser has to prove itself)
   and its message. It sits under the step in the design's own type and spacing. */
.website-security { display: grid; justify-items: start; gap: 10px; margin-top: 16px; }
.website-security[hidden] { display: none; }
.website-security p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.website-security-widget:empty { display: none; }

/* The design keeps the three promises on one line on phones (≤ 480 px). In English and German they are longer than
   the screen (the V76 reference scrolls sideways by 20 px at 390 px in English, German by 31 px); there they may
   wrap, Czech stays exactly as designed. */
@media (max-width: 480px) { html[lang="en"] .w-sure, html[lang="de"] .w-sure { flex-wrap: wrap; white-space: normal; } }

/* „Zkusit znovu“ after a failed bot check, in the design's text-button style, right after the sentence. */
.w-hint [data-retry] { margin-left: 4px; }

/* Step changes: the design cross-fades the old and the new screen from the same moment, so for ~0.2 s both are
   composited (and lighten each other). Here the old screen leaves first and the new one comes in after it, both
   painted normally; the shared address and score still move across, the header stays. */
::view-transition-old(root) { animation: .16s ease-in both vtOut; }
::view-transition-new(root) { animation: .4s var(--ease) .16s both vtIn; }
::view-transition-image-pair(root) { isolation: auto; }
::view-transition-old(root), ::view-transition-new(root) { mix-blend-mode: normal; }

/* Removing a suggested competitor must be possible without discovering a hover: the × on the „Sedí to takhle?“
   chips stays visible on desktop too (the design shows it only on hover there); hover still darkens it. */
@media (hover: hover) and (pointer: fine) { .sc-cf .chipx > button { opacity: 1; } }

/* AF-18: an answer that never came is said plainly („nezměřeno“), quieter than a measured miss. */
.am-c.na.on { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.am-c.na .v { color: var(--ink-3); font-weight: 500; }

/* AF-13/AF-31: the login for existing accounts next to the paused sign-up message, in the design's text-link style. */
.an-login { display: inline-block; font-size: 13.5px; font-weight: 600; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
#mailf .an-login { margin: -4px 0 12px; }

/* AF-28: a failed CTA says so under the button, in the error colour (the cards' own span colour would grey it out). */
.rh-next .err, .rp-end .err, .rc-t .err { color: var(--bad-ink); }
.rp-end:has(> .err) { flex-wrap: wrap; }
.rp-end > .err { width: 100%; margin: -10px 0 0; text-align: right; }
@media (max-width: 640px) { .rp-end > .err { margin-top: 0; text-align: left; } }

/* AF-60: the long „Analyzuji …“ heading wraps on phones instead of being cut off. */
@media (max-width: 640px) { .sn-t h1 > span { white-space: normal; overflow-wrap: anywhere; text-overflow: clip; } }

/* AF-41 (Q16 a): the locked teaser's answer lead is a masked placeholder: drawn blurred, not selectable. */
.tz-ans .ans-a > p { filter: blur(4px); user-select: none; }
