/* Passwort-Generator (/de/passwort-generator/, /en/password-generator/).
   Laedt nur auf diesen zwei Seiten, nach site.css. Aufbau und Animationen
   stammen vom Generator auf vipmail.app (30.09.2026 uebernommen), das Aussehen
   folgt intelligent-pixel.com: schwarz, Rot als einzige Akzentfarbe, Ecken
   2px, Beschriftungen in gesperrten Versalien, Ueberschriften in Bebas Neue.
   Das Passwort selbst steht in Space Grotesk, weil Bebas nur Versalien kennt
   und Gross- und Kleinschreibung im Passwort sichtbar sein muss. */

.pg-page {
    --pg-red-rgb: 229, 51, 42;
    --pg-line: rgba(255, 255, 255, 0.1);
    --pg-ease: cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

@property --aurora-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}
@keyframes pg-aurora { to { --aurora-angle: 360deg; } }

.pw-sr {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0; border: 0;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
    white-space: nowrap;
}

/* ---------- Kopf ---------- */
.pg-lede { max-width: var(--inner-content-max); color: var(--text-strong); font-size: 1.02rem; line-height: 1.75; font-weight: 300; margin: 1.5rem 0 0; }
.pg-format {
    display: inline-flex; align-items: center; gap: 0.8rem; flex-wrap: wrap;
    margin: 1.8rem 0 0;
    font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-faint);
}
.pg-format code {
    font-family: 'Space Grotesk', sans-serif; font-size: 0.9rem; letter-spacing: 0.02em; text-transform: none;
    color: var(--white);
    border: 1px solid var(--pg-line); border-radius: 2px;
    background: var(--gray-dark);
    padding: 0.35rem 0.75rem;
}

/* ---------- Buehne und Karte ---------- */
.pg-wrap { max-width: var(--content-max); margin: 0 auto; padding: 4rem var(--page-pad-x) 6rem; }
.pg-stage { position: relative; }
/* Gepunktetes Raster und roter Schimmer hinter der Karte, zum Rand hin
   ausgeblendet. Reine Dekoration. */
.pg-stage::before {
    content: '';
    position: absolute; left: 50%; top: -6rem;
    width: min(1600px, 140vw); height: calc(100% + 12rem);
    transform: translateX(-50%);
    background:
        radial-gradient(closest-side at 50% 45%, rgba(var(--pg-red-rgb), 0.12), transparent 72%),
        radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.4px) 0 0 / 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 30%, transparent 75%);
            mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 30%, transparent 75%);
    pointer-events: none;
    z-index: -1;
}
.pwgen-halo {
    position: absolute; inset: 8% 6% auto; height: 70%;
    background: radial-gradient(closest-side, rgba(var(--pg-red-rgb), 0.2), transparent);
    filter: blur(40px);
    opacity: 0.7;
    pointer-events: none;
    z-index: -1;
}
.pg-stage:has(.pwgen-card.is-pulsing) .pwgen-halo { animation: pw-halo 1.2s var(--pg-ease); }
@keyframes pw-halo {
    0% { opacity: 0.7; transform: scale(1); }
    30% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0.7; transform: scale(1); }
}

.pwgen-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 2px;
    padding: clamp(24px, 4vw, 56px) clamp(18px, 4.4vw, 64px) clamp(26px, 3.6vw, 48px);
    box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.85);
    background:
        radial-gradient(560px circle at var(--spot-x, 50%) var(--spot-y, 0%), rgba(var(--pg-red-rgb), 0.1), transparent 60%) padding-box,
        linear-gradient(180deg, #0d0d0d, #050505 40%) padding-box,
        conic-gradient(from var(--aurora-angle, 0deg), rgba(255, 255, 255, 0.08) 0%, rgba(var(--pg-red-rgb), 0.85) 8%, rgba(255, 255, 255, 0.08) 24%, rgba(255, 255, 255, 0.08) 76%, rgba(var(--pg-red-rgb), 0.5) 92%, rgba(255, 255, 255, 0.08) 100%) border-box;
    animation: pg-aurora 9s linear infinite;
}
/* Scanstrahl, der bei jedem neuen Passwort einmal ueber die Karte zieht. */
.pwgen-card::after {
    content: '';
    position: absolute; top: 0; bottom: 0; left: 0;
    width: 40%;
    background: linear-gradient(100deg, transparent, rgba(var(--pg-red-rgb), 0.08) 40%, rgba(255, 150, 140, 0.14) 50%, rgba(var(--pg-red-rgb), 0.08) 60%, transparent);
    transform: translateX(-120%) skewX(-12deg);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
}
.pwgen-card.is-pulsing::after { animation: pw-scan 1.1s var(--pg-ease); }
@keyframes pw-scan {
    0% { transform: translateX(-120%) skewX(-12deg); opacity: 1; }
    100% { transform: translateX(320%) skewX(-12deg); opacity: 1; }
}

.pwgen-card__top {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px 20px; flex-wrap: wrap;
    margin-bottom: clamp(22px, 3vw, 36px);
}
.pg-label, .pw-label {
    display: block;
    font-size: 0.62rem; font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--red);
    margin: 0; padding: 0;
}
.pw-label { color: var(--text-faint); margin: 0 0 0.9rem; }
.pw-local {
    display: inline-flex; align-items: center; gap: 0.55rem;
    font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-mid);
    padding: 0.45rem 0.8rem 0.45rem 0.7rem;
    border: 1px solid var(--pg-line); border-radius: 2px;
    background: rgba(0, 0, 0, 0.5);
}
.pw-local svg { width: 14px; height: 14px; color: var(--red); flex-shrink: 0; }
/* Gruen bleibt: der Punkt heisst "laeuft lokal", nicht "Marke". */
.pw-local__dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #3ecf8e;
    box-shadow: 0 0 0 0 rgba(62, 207, 142, 0.6);
    animation: pw-live 2.4s ease-out infinite;
}
@keyframes pw-live {
    0% { box-shadow: 0 0 0 0 rgba(62, 207, 142, 0.55); }
    70%, 100% { box-shadow: 0 0 0 7px rgba(62, 207, 142, 0); }
}

/* ---------- das Passwort ---------- */
.pw-output {
    position: relative;
    padding: clamp(18px, 2.6vw, 34px) clamp(8px, 1.6vw, 24px);
    border-radius: 2px;
    background:
        linear-gradient(#000, #000) padding-box,
        linear-gradient(180deg, rgba(var(--pg-red-rgb), 0.45), rgba(255, 255, 255, 0.08) 55%) border-box;
    border: 1px solid transparent;
    box-shadow: 0 24px 60px -30px rgba(var(--pg-red-rgb), 0.35);
}
.pw-display {
    --pw-size: clamp(28px, 5.1vw, 74px);
    display: flex; flex-wrap: wrap;
    justify-content: center; align-content: center; align-items: baseline;
    gap: 0.12em 0;
    min-height: calc(2 * 1.18em + 0.12em);
    font-family: 'Space Grotesk', sans-serif;
    font-size: var(--pw-size);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: var(--white);
    font-feature-settings: 'tnum' 1;
    cursor: text;
}
.pw-display[data-count="5"] { --pw-size: clamp(26px, 4.5vw, 66px); }
.pw-display[data-count="6"] { --pw-size: clamp(24px, 3.9vw, 58px); }
.pw-display[data-count="7"] { --pw-size: clamp(22px, 3.45vw, 52px); }
.pw-display[data-count="8"] { --pw-size: clamp(21px, 3.1vw, 46px); }

.pw-block { position: relative; display: inline-block; white-space: nowrap; }
.pw-block__ghost { visibility: hidden; user-select: none; -webkit-user-select: none; }
.pw-block__live { position: absolute; left: 0; top: 0; white-space: nowrap; }
.pw-d { color: var(--red); text-shadow: 0 0 24px rgba(var(--pg-red-rgb), 0.55); }
.pw-sep { color: rgba(255, 255, 255, 0.35); font-weight: 400; margin: 0 -0.03em; }
.pw-x { color: #ff8a80; opacity: 0.6; }

.pw-display.is-decoding .pw-block {
    animation: pw-in 0.55s var(--pg-ease) both;
    animation-delay: calc(var(--i, 0) * 85ms);
}
@keyframes pw-in {
    from { opacity: 0; transform: translateY(0.28em); filter: blur(10px); }
    to { opacity: 1; transform: none; filter: blur(0); }
}

/* ---------- Knoepfe ---------- */
.pw-actions {
    display: flex; justify-content: center; flex-wrap: wrap;
    gap: 12px 14px;
    margin-top: clamp(22px, 3vw, 34px);
}
.pg-btn {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
    min-height: 52px; min-width: 200px;
    font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--white); background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 2px;
    padding: 0 2rem; cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pg-btn svg { width: 16px; height: 16px; flex-shrink: 0; stroke-width: 1.9; }
.pg-btn--primary { background: var(--red); border-color: var(--red); }
.pg-btn--primary::after {
    content: '';
    position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s var(--pg-ease);
    pointer-events: none;
}
.pg-btn--primary:hover::after { left: 120%; }
.pg-btn--primary:hover { background: #f03b31; }
.pg-btn--ghost:hover { border-color: var(--red); color: var(--white); }
.pg-btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.pw-new.is-spinning svg { animation: pw-spin 0.7s var(--pg-ease); }
@keyframes pw-spin { to { transform: rotate(360deg); } }
.pw-copy .pw-copy__done { display: none; }
.pw-copy.is-copied { border-color: var(--red); background: rgba(var(--pg-red-rgb), 0.12); }
.pw-copy.is-copied .pw-copy__idle { display: none; }
.pw-copy.is-copied .pw-copy__done { display: block; color: var(--red); animation: pw-pop 0.35s var(--pg-ease); }
.pw-copy__idle, .pw-copy__done { line-height: 0; }
@keyframes pw-pop {
    0% { transform: scale(0.4); opacity: 0; }
    60% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); }
}
.pw-keys {
    display: none;
    justify-content: center; gap: 1.2rem;
    margin-top: 1rem;
    font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-faint);
}
.pw-keys kbd {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px; padding: 0 5px; margin-right: 0.45rem;
    border: 1px solid var(--gray-light); border-bottom-width: 2px; border-radius: 2px;
    font-family: 'Space Grotesk', sans-serif; font-size: 0.68rem; letter-spacing: 0; color: var(--white);
    background: #000;
}
@media (hover: hover) and (pointer: fine) { .pw-keys { display: flex; } }

/* ---------- Wortanzahl und Staerke ---------- */
.pw-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 24px clamp(24px, 4vw, 56px);
    margin-top: clamp(26px, 3.4vw, 44px);
    padding-top: clamp(24px, 3vw, 36px);
    border-top: 1px solid var(--pg-line);
}
.pw-count { border: none; margin: 0; padding: 0; min-width: 0; }
.pw-count__track {
    --n: 5;
    position: relative;
    display: grid; grid-template-columns: repeat(var(--n), 1fr);
    padding: 4px;
    border: 1px solid var(--gray-light); border-radius: 2px;
    background: #000;
}
.pw-count__ind {
    position: absolute; top: 4px; bottom: 4px; left: 4px;
    width: calc((100% - 8px) / var(--n));
    border-radius: 1px;
    background: var(--red);
    box-shadow: 0 8px 22px -8px rgba(var(--pg-red-rgb), 0.7);
    transform: translateX(calc(var(--idx, 0) * 100%));
    transition: transform 0.35s var(--pg-ease);
}
.pw-count__opt {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: center;
    height: 44px;
    font-size: 0.95rem; font-weight: 700;
    color: var(--text-dim);
    cursor: pointer;
    transition: color 0.2s var(--pg-ease);
    -webkit-tap-highlight-color: transparent;
}
.pw-count__opt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.pw-count__opt:hover { color: var(--white); }
.pw-count__opt:has(input:checked) { color: var(--white); }
.pw-count__opt:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 3px; }
.pw-note { margin-top: 0.9rem; font-size: 0.82rem; line-height: 1.65; color: var(--text-dim); font-weight: 300; }

.pw-strength__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pw-strength__level { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); }
/* Acht Segmente fuer acht moegliche Woerter: Laenge und Staerke lesen sich
   als ein und dasselbe. */
.pw-meter {
    position: relative;
    height: 10px;
    overflow: hidden;
    -webkit-mask: repeating-linear-gradient(90deg, #000 0 calc(12.5% - 4px), transparent calc(12.5% - 4px) 12.5%);
            mask: repeating-linear-gradient(90deg, #000 0 calc(12.5% - 4px), transparent calc(12.5% - 4px) 12.5%);
}
.pw-meter::before { content: ''; position: absolute; inset: 0; background: var(--gray-mid); }
.pw-meter__fill {
    position: absolute; inset: 0;
    transform-origin: left;
    transform: scaleX(var(--fill, 0.5));
    background: linear-gradient(90deg, #9e1f18, var(--red) 45%, #ff7a70);
    transition: transform 0.6s var(--pg-ease);
}
.pw-meter__fill::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
    background-size: 40% 100%;
    background-repeat: no-repeat;
    animation: pw-shimmer 2.8s ease-in-out infinite;
}
@keyframes pw-shimmer {
    0% { background-position: -60% 0; }
    60%, 100% { background-position: 160% 0; }
}
.pw-strength__hint { margin-top: 0.9rem; font-size: 0.86rem; line-height: 1.65; color: var(--text-dim); font-weight: 300; }

.pw-stats {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: clamp(24px, 3vw, 36px) 0 0;
    border: 1px solid var(--pg-line);
    background: var(--pg-line);
}
.pw-stats > div { background: #000; padding: 1rem 1.15rem; min-width: 0; }
.pw-stats dt { font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.45rem; }
.pw-stats dd { margin: 0; font-size: clamp(16px, 1.5vw, 20px); font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pw-stats sup { font-size: 0.6em; line-height: 0; }
.pw-footnote { margin-top: 0.9rem; font-size: 0.78rem; line-height: 1.65; color: var(--text-dim); font-weight: 300; }

/* ---------- Abschnitte unter der Karte ---------- */
.pg-section { margin-top: clamp(72px, 9vw, 120px); }
.pg-section__head { max-width: var(--inner-content-max); margin-bottom: 2rem; }
/* Eigene Klasse statt .red-label: icon-init.js setzt vor manche .red-label ein
   Symbol, je nach Wortlaut, und die vier Abschnitte sollen gleich aussehen. */
.pg-eyebrow { display: block; font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--red); margin-bottom: 0.9rem; }
.pg-section__head h2 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1; letter-spacing: 0.04em; color: var(--white); margin-bottom: 1rem; }
.pg-section__head p { font-size: 0.975rem; line-height: 1.82; color: var(--text-dim); }

.pw-alts {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.pw-alt {
    display: flex; align-items: stretch;
    border: 1px solid var(--pg-line); border-radius: 2px;
    background: var(--gray-dark);
    overflow: hidden;
    transition: border-color 0.25s var(--pg-ease), transform 0.25s var(--pg-ease), box-shadow 0.25s var(--pg-ease);
}
.pw-alt:hover {
    border-color: rgba(var(--pg-red-rgb), 0.6);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px -20px rgba(var(--pg-red-rgb), 0.55);
}
.pw-alt.is-entering { animation: pw-alt-in 0.5s var(--pg-ease) both; animation-delay: calc(180ms + var(--i, 0) * 60ms); }
.pw-alt.is-swapped { animation: pw-alt-swap 0.6s var(--pg-ease); }
@keyframes pw-alt-in {
    from { opacity: 0; transform: translateY(14px) scale(0.98); }
    to { opacity: 1; transform: none; }
}
@keyframes pw-alt-swap {
    0% { box-shadow: 0 0 0 0 rgba(var(--pg-red-rgb), 0.6); }
    100% { box-shadow: 0 0 0 12px rgba(var(--pg-red-rgb), 0); }
}
.pw-alt__use {
    flex: 1; min-width: 0;
    display: flex; align-items: center; gap: 14px;
    padding: 1rem 1.15rem;
    background: none; border: none;
    font-family: 'Space Grotesk', sans-serif; text-align: left;
    color: var(--white);
    cursor: pointer;
}
.pw-alt__use:focus-visible, .pw-alt__copy:focus-visible { outline: 2px solid var(--red); outline-offset: -4px; }
.pw-alt__idx {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; flex-shrink: 0;
    border: 1px solid rgba(var(--pg-red-rgb), 0.5);
    color: var(--red);
    font-size: 0.68rem; letter-spacing: 0.08em;
}
.pw-alt__text { font-size: clamp(15px, 1.35vw, 18px); font-weight: 700; letter-spacing: -0.01em; overflow-wrap: anywhere; line-height: 1.4; }
.pw-alt__text .pw-d { text-shadow: none; }
.pw-alt__copy {
    display: flex; align-items: center; justify-content: center;
    width: 56px; flex-shrink: 0;
    background: none; border: none; border-left: 1px solid var(--pg-line);
    color: var(--text-dim);
    cursor: pointer;
    transition: color 0.2s var(--pg-ease), background 0.2s var(--pg-ease);
}
.pw-alt__copy svg { width: 18px; height: 18px; }
.pw-alt__copy:hover { color: var(--white); background: rgba(var(--pg-red-rgb), 0.12); }
.pw-alt__copy.is-copied { color: var(--red); }

.pw-anatomy { display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; gap: 14px; }
.pw-an__tile {
    flex: 1 1 150px;
    display: flex; flex-direction: column; justify-content: center;
    gap: 0.6rem;
    padding: 1.4rem 1.2rem;
    border: 1px solid var(--pg-line); border-radius: 2px;
    background: var(--gray-dark);
    text-align: center;
    min-width: 0;
}
.pw-an__tile--result { border-color: rgba(var(--pg-red-rgb), 0.55); background: linear-gradient(180deg, rgba(var(--pg-red-rgb), 0.12), var(--gray-dark)); }
.pw-an__value { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.02em; color: var(--white); overflow-wrap: anywhere; }
.pw-an__value--digit { color: var(--red); }
.pw-an__caption { font-size: 0.8rem; line-height: 1.5; color: var(--text-dim); font-weight: 300; }
.pw-an__op { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; font-size: 22px; font-weight: 300; color: var(--text-faint); }

.pg-features {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--pg-line);
    border: 1px solid var(--pg-line);
}
.pg-feature { background: #000; padding: 2rem 1.8rem; transition: background 0.3s var(--pg-ease); }
.pg-feature:hover { background: var(--gray-dark); }
.pg-feature .lucide { width: 24px; height: 24px; color: var(--red); margin-bottom: 1.3rem; stroke-width: 1.7; }
.pg-feature h3, .pw-rule h3 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 1.5rem; letter-spacing: 0.04em; color: var(--text-strong); margin-bottom: 0.6rem; line-height: 1.05; }
.pg-feature p, .pw-rule p { font-size: 0.9rem; line-height: 1.75; color: var(--text-dim); font-weight: 300; }

.pw-rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pw-rule {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1.4rem 1.4rem 1.4rem 1.25rem;
    border: 1px solid var(--pg-line); border-radius: 2px;
    background: var(--gray-dark);
    transition: border-color 0.25s var(--pg-ease);
}
.pw-rule:hover { border-color: rgba(var(--pg-red-rgb), 0.5); }
.pw-rule__icon {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; flex-shrink: 0;
    border: 1px solid rgba(var(--pg-red-rgb), 0.5);
    color: var(--red);
}
.pw-rule__icon .lucide { width: 18px; height: 18px; stroke-width: 1.7; }
.pw-rule h3 { margin-top: 0.3rem; }

.pg-credit { margin-top: 1.8rem; font-size: 0.78rem; line-height: 1.7; color: var(--text-dim); font-weight: 300; }
.pg-credit a { color: inherit; text-decoration: none; }

.pwgen-noscript {
    padding: 1.1rem 1.25rem;
    border: 1px solid rgba(var(--pg-red-rgb), 0.45);
    font-size: 0.9rem; color: var(--text-strong);
    text-align: center;
}

/* ---------- Breiten ---------- */
@media (max-width: 900px) {
    .pw-controls { grid-template-columns: 1fr; }
    .pw-alts { grid-template-columns: 1fr; }
    .pg-features { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .pg-wrap { padding: 3rem var(--page-pad-mobile) 4.5rem; }
    .pwgen-card__top { justify-content: center; }
    .pw-actions .pg-btn { flex: 1 1 200px; }
    .pw-stats { grid-template-columns: 1fr; }
    .pw-stats > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 0.85rem 1rem; }
    .pw-stats dt { margin: 0; }
    .pw-stats dd { text-align: right; }
    .pw-rules { grid-template-columns: 1fr; }
    .pw-anatomy { flex-direction: column; }
    .pw-an__tile { flex: 1 1 auto; }
    .pw-an__op { padding: 0; line-height: 1; }
}
@media (max-width: 400px) {
    .pw-alt__use { padding: 0.9rem 0.75rem; gap: 10px; }
    .pw-alt__copy { width: 50px; }
}
/* Kein eigener Rahmen fuer grosse Bildschirme: die Seite nutzt wie alle
   anderen --content-max, damit Titel, Karte und Menue auf einer Linie stehen. */

@media (prefers-reduced-motion: reduce) {
    .pwgen-card { animation: none; }
    .pwgen-card::after,
    .pg-stage:has(.pwgen-card.is-pulsing) .pwgen-halo { animation: none; }
    .pw-display.is-decoding .pw-block { animation: none; }
    .pw-meter__fill { transition: none; }
    .pw-meter__fill::after { animation: none; }
    .pw-local__dot { animation: none; }
    .pw-count__ind { transition: none; }
    .pw-new.is-spinning svg { animation: none; }
    .pw-alt.is-entering, .pw-alt.is-swapped { animation: none; }
}
