/* ==========================================================================
   Spider: sign-in / password pages (index.php, forgot_password.php, reset_password.php)
   All black, glass card, animated entrance, walking Walk With Web man (bottom right).
   Markup: sections/index_header.php + sections/auth_footer.php. Brand: #0d6efd, black, white.
   ========================================================================== */
:root {
  --ww-blue: #0d6efd;
  --ww-blue-2: #3d8bfd;
  --ww-blue-soft: #8fb6ff;
  --ww-ink: #f5f7fb;
  --ww-muted: #9aa3b2;
  --ww-faint: #5d6573;
  --ww-glass: rgba(255, 255, 255, .055);
  --ww-glass-2: rgba(255, 255, 255, .02);
  --ww-line: rgba(255, 255, 255, .1);
  --ww-line-2: rgba(255, 255, 255, .18);
  --ww-ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

@property --ww-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

html, body { min-height: 100%; }
body.ww-auth {
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* visible height on mobile, so the bottom isn't under the browser toolbars */
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ww-ink);
  background: #000;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Background ---------- */
.ww-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ww-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.ww-orb.o1 { width: 520px; height: 520px; left: -140px; top: -160px; background: radial-gradient(circle, rgba(13, 110, 253, .75), transparent 70%); animation: wwDrift1 26s ease-in-out infinite alternate; }
.ww-orb.o2 { width: 460px; height: 460px; right: -120px; top: 18%; background: radial-gradient(circle, rgba(61, 139, 253, .45), transparent 70%); animation: wwDrift2 32s ease-in-out infinite alternate; }
.ww-orb.o3 { width: 600px; height: 600px; left: 30%; bottom: -320px; background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 70%); animation: wwDrift3 38s ease-in-out infinite alternate; }
@keyframes wwDrift1 { to { transform: translate(180px, 120px) scale(1.15); } }
@keyframes wwDrift2 { to { transform: translate(-160px, 90px) scale(.9); } }
@keyframes wwDrift3 { to { transform: translate(-120px, -80px) scale(1.1); } }
.ww-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 10%, transparent 65%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 10%, transparent 65%);
}
#wwWeb { position: absolute; inset: 0; width: 100%; height: 100%; }
.ww-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, transparent 40%, rgba(0, 0, 0, .75) 100%); }

/* ---------- Layout ---------- */
.ww-auth-shell {
  position: relative; z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: 2.5rem 1.25rem 8rem;
}

/* ---------- Glass card ---------- */
.ww-auth-card {
  position: relative;
  width: 100%; max-width: 420px;
  padding: 2.75rem 2.25rem 2.25rem;
  border-radius: 26px;
  background: linear-gradient(150deg, var(--ww-glass), var(--ww-glass-2));
  -webkit-backdrop-filter: blur(26px) saturate(140%);
  backdrop-filter: blur(26px) saturate(140%);
  border: 1px solid var(--ww-line);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .12);
  isolation: isolate;
  animation: wwCardIn 1.1s var(--ww-ease) both;
}
/* Light that travels around the border */
.ww-auth-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1;
  background: conic-gradient(from var(--ww-angle), transparent 0 70%, rgba(143, 182, 255, .9) 80%, rgba(255, 255, 255, .9) 84%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: wwSpin 7s linear infinite;
  opacity: .8;
}
/* Soft spotlight that follows the pointer (position set by auth_footer.php) */
.ww-auth-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .07), transparent 60%);
  transition: opacity .4s ease;
}
@keyframes wwSpin { to { --ww-angle: 360deg; } }
@keyframes wwCardIn {
  from { opacity: 0; transform: translateY(28px) scale(.97); filter: blur(10px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

/* Staggered rise of everything inside the card */
.ww-auth-card > *, .ww-auth-card .ww-step:not(.is-in-left):not(.is-in-right) > * { animation: wwRise .9s var(--ww-ease) both; }
.ww-auth-card > :nth-child(1) { animation-delay: .25s; }
.ww-auth-card > :nth-child(2) { animation-delay: .35s; }
.ww-auth-card > :nth-child(3) { animation-delay: .45s; }
.ww-auth-card > :nth-child(4) { animation-delay: .55s; }
.ww-auth-card > :nth-child(5) { animation-delay: .65s; }
.ww-auth-card > :nth-child(6) { animation-delay: .75s; }
.ww-auth-card .ww-step > :nth-child(1), .ww-auth-card form > :nth-child(1) { animation-delay: .5s; }
.ww-auth-card .ww-step > :nth-child(2), .ww-auth-card form > :nth-child(2) { animation-delay: .62s; }
.ww-auth-card .ww-step > :nth-child(3), .ww-auth-card form > :nth-child(3) { animation-delay: .74s; }
.ww-auth-card .ww-step > :nth-child(4), .ww-auth-card form > :nth-child(4) { animation-delay: .86s; }
.ww-auth-card .ww-step > :nth-child(5), .ww-auth-card form > :nth-child(5) { animation-delay: .98s; }
.ww-auth-card form:not(#wwLogin) > * { animation: wwRise .9s var(--ww-ease) both; }
@keyframes wwRise {
  from { opacity: 0; transform: translateY(16px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

/* ---------- Headings ---------- */
.ww-auth-card h1 {
  font-size: 1.9rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.1;
  margin: 0 0 .5rem;
  background: linear-gradient(100deg, #fff 0%, #fff 35%, var(--ww-blue-soft) 50%, #fff 65%, #fff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #fff;
  animation: wwRise .9s var(--ww-ease) .25s both, wwShimmer 7s ease-in-out 1.4s infinite;
}
.ww-auth-card h1.ww-title { font-size: clamp(2.6rem, 7vw, 3.2rem); letter-spacing: -.05em; margin-bottom: .35rem; }
@keyframes wwShimmer { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.ww-auth-card .lead-sub { color: var(--ww-muted); margin: 0 0 2rem; font-size: .95rem; line-height: 1.55; }

/* ---------- Fields ---------- */
.ww-field { margin-bottom: 1rem; }
.ww-field > label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--ww-muted); margin-bottom: .45rem; }
.ww-field-row { display: flex; align-items: baseline; justify-content: space-between; }
.ww-input-wrap { position: relative; border-radius: 15px; }
.ww-input-wrap > i {
  position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%);
  color: var(--ww-faint); font-size: .92rem; pointer-events: none; z-index: 1;
  transition: color .25s ease, transform .35s var(--ww-ease);
}
.ww-input-wrap:focus-within > i { color: var(--ww-blue-soft); transform: translateY(-50%) scale(1.12); }
/* Underline that draws across on focus */
.ww-input-wrap::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--ww-blue-2), #fff, var(--ww-blue-2), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ww-ease); pointer-events: none;
}
.ww-input-wrap:focus-within::after { transform: scaleX(1); }

.ww-input {
  display: block; width: 100%; height: 56px;
  padding: 0 1rem 0 2.9rem;
  font: inherit; font-size: .98rem; color: #fff;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--ww-line);
  border-radius: 15px;
  outline: none;
  transition: background .25s ease, border-color .25s ease, box-shadow .35s ease;
}
.ww-input.has-toggle { padding-right: 3rem; }
.ww-input::placeholder { color: var(--ww-faint); }
.ww-input:hover:not(:focus) { border-color: var(--ww-line-2); background: rgba(255, 255, 255, .06); }
.ww-input:focus {
  background: rgba(255, 255, 255, .075);
  border-color: rgba(61, 139, 253, .7);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, .18), 0 12px 40px -14px rgba(13, 110, 253, .7);
}
.ww-input:-webkit-autofill,
.ww-input:-webkit-autofill:hover,
.ww-input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px #0c1220 inset;
  caret-color: #fff;
  transition: background-color 9999s ease-out 0s;
}

/* Floating labels (sign-in page: label comes after the input, placeholder=" ") */
.ww-float .ww-input { padding-top: 1.05rem; }
.ww-float .ww-input::placeholder { color: transparent; }
.ww-float .ww-input-wrap > label {
  position: absolute; left: 2.9rem; top: 50%; transform: translateY(-50%);
  margin: 0; font-size: .95rem; font-weight: 500; color: var(--ww-muted);
  pointer-events: none; transform-origin: left center;
  transition: top .3s var(--ww-ease), transform .3s var(--ww-ease), color .25s ease, letter-spacing .3s ease;
}
.ww-float .ww-input:focus + label,
.ww-float .ww-input:not(:placeholder-shown) + label,
.ww-float .ww-input:-webkit-autofill + label {
  top: 11px; transform: translateY(0) scale(.72);
  color: var(--ww-blue-soft); letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
}

.ww-input-toggle {
  position: absolute; right: .55rem; top: 50%; transform: translateY(-50%); z-index: 1;
  width: 40px; height: 40px; border: 0; border-radius: 11px;
  background: transparent; color: var(--ww-faint);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.ww-input-toggle:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.ww-input-toggle:focus-visible { outline: none; color: #fff; box-shadow: 0 0 0 3px rgba(13, 110, 253, .45); }

.ww-forgot { display: flex; justify-content: flex-end; margin: -.2rem 0 1.4rem; }

/* ---------- Button ---------- */
.ww-submit {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  width: 100%; height: 56px; margin-top: .5rem;
  border: 0; border-radius: 15px;
  font: inherit; font-size: 1rem; font-weight: 700; letter-spacing: .01em; color: #fff !important;
  background: linear-gradient(135deg, var(--ww-blue) 0%, var(--ww-blue-2) 100%);
  box-shadow: 0 14px 36px -14px rgba(13, 110, 253, .9), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .25s var(--ww-ease), box-shadow .3s ease, filter .2s ease;
  cursor: pointer;
}
/* Shine that sweeps across once after the page loads, and again on hover */
.ww-submit::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg);
  animation: wwShine 1.2s var(--ww-ease) 1.6s both;
}
.ww-submit:hover:not(:disabled)::after { animation: wwShine .9s var(--ww-ease) both; }
@keyframes wwShine { from { left: -60%; } to { left: 130%; } }
.ww-submit i { transition: transform .3s var(--ww-ease); }
.ww-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 20px 44px -14px rgba(13, 110, 253, 1), inset 0 1px 0 rgba(255, 255, 255, .3); }
.ww-submit:hover:not(:disabled) i { transform: translateX(4px); }
.ww-submit:active:not(:disabled) { transform: translateY(0) scale(.985); }
.ww-submit:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(143, 182, 255, .5), 0 14px 36px -14px rgba(13, 110, 253, .9); }
.ww-submit:disabled { cursor: progress; filter: saturate(.8) brightness(.95); }
.ww-submit.is-loading i { transform: none !important; animation: wwSpinIcon .8s linear infinite; }
.ww-submit.is-loading i::before { content: "\f110"; font-family: "Font Awesome 5 Free"; font-weight: 900; }
@keyframes wwSpinIcon { to { transform: rotate(360deg); } }

/* ---------- Two-step sign-in (index.php) ---------- */
.ww-steps { transition: height .42s var(--ww-ease); }
.ww-step[hidden] { display: none !important; }
.ww-step.is-in-right { animation: wwStepInR .55s var(--ww-ease) both; }
.ww-step.is-in-left { animation: wwStepInL .55s var(--ww-ease) both; }
@keyframes wwStepInR { from { opacity: 0; transform: translateX(32px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes wwStepInL { from { opacity: 0; transform: translateX(-32px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }

.ww-who { text-align: center; margin: .25rem 0 1.5rem; }
.ww-who-av {
  position: relative; width: 92px; height: 92px; margin: 0 auto 1rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; font-weight: 800; letter-spacing: .02em; color: #fff;
  background: linear-gradient(135deg, var(--ww-blue), var(--ww-blue-2));
  box-shadow: 0 18px 44px -16px rgba(13, 110, 253, .9);
}
.ww-who-av > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; border-radius: 50%; }
.ww-who-av.ww-has-photo > span { opacity: 0; }
/* Spinning light ring around the photo */
.ww-who-av::before {
  content: ""; position: absolute; inset: -7px; border-radius: 50%; padding: 2px;
  background: conic-gradient(from var(--ww-angle), transparent 0 55%, var(--ww-blue-2) 75%, #fff 85%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: wwSpin 3.2s linear infinite;
}
.ww-step.is-in-right .ww-who-av, .ww-step:not(.is-in-left):not(.is-in-right) .ww-who-av { animation: wwPop .7s var(--ww-ease) .1s both; }
@keyframes wwPop { from { opacity: 0; transform: scale(.6); } 60% { opacity: 1; transform: scale(1.06); } to { transform: none; } }
.ww-who-q { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ww-blue-soft); margin-bottom: .3rem; }
.ww-who-name { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; color: #fff; overflow-wrap: anywhere; }
.ww-who-email {
  display: inline-block; width: auto; max-width: 100%; margin-top: .6rem; padding: .4rem 1rem;
  font: inherit; font-size: .85rem; color: var(--ww-muted); text-align: center;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--ww-line); border-radius: 999px;
  outline: none; pointer-events: none; field-sizing: content;
}

.ww-notyou {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  margin-top: 1.1rem; padding: .55rem; border-radius: 12px;
  font-size: .86rem; font-weight: 600; color: var(--ww-muted); text-decoration: none;
  transition: color .2s ease, background .2s ease;
}
.ww-notyou i { font-size: .75rem; transition: transform .3s var(--ww-ease); }
.ww-notyou:hover, .ww-notyou:focus-visible { color: #fff; background: rgba(255, 255, 255, .05); outline: none; }
.ww-notyou:hover i { transform: translateX(-4px); }

/* ---------- Links, alerts, help ---------- */
.ww-link { color: var(--ww-blue-soft); font-size: .85rem; font-weight: 600; text-decoration: none; position: relative; transition: color .2s ease; }
.ww-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ww-ease); }
.ww-link:hover { color: #fff; }
.ww-link:hover::after { transform: scaleX(1); transform-origin: left; }

.ww-alert {
  display: flex; align-items: flex-start; gap: .65rem;
  padding: .85rem 1rem; margin-bottom: 1.25rem;
  border-radius: 14px; font-size: .88rem; line-height: 1.45;
  border: 1px solid; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.ww-alert i { margin-top: .15rem; }
.ww-alert a { color: inherit; font-weight: 700; }
.ww-alert.error { background: rgba(239, 68, 68, .1); border-color: rgba(239, 68, 68, .35); color: #fca5a5; animation: wwRise .6s var(--ww-ease) both, wwShake .5s ease .5s; }
.ww-alert.success { background: rgba(34, 197, 94, .1); border-color: rgba(34, 197, 94, .35); color: #86efac; }
.ww-alert.info { background: rgba(13, 110, 253, .12); border-color: rgba(61, 139, 253, .4); color: var(--ww-blue-soft); }
@keyframes wwShake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

.ww-auth-help, .ww-auth-alt { margin-top: 1.75rem; text-align: center; font-size: .84rem; color: var(--ww-muted); }

/* ---------- Walking man (bottom right) ---------- */
.ww-stage { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 2; pointer-events: none; overflow: hidden; }
.ww-path {
  position: absolute; left: 0; bottom: 34px; height: 1px; width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08) 20%, rgba(143, 182, 255, .55));
  transform-origin: left; transform: scaleX(0);
  transition: opacity 1.6s ease;
}
.ww-path.is-faded { opacity: 0; }
.ww-print {
  position: absolute; bottom: 33px; width: 6px; height: 3px; margin-left: -3px; border-radius: 50%;
  background: rgba(143, 182, 255, .9); box-shadow: 0 0 8px rgba(61, 139, 253, .9);
  animation: wwStepFade 2.4s ease-out forwards;
}
@keyframes wwStepFade { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(.4); } }

.ww-walker {
  position: absolute; right: clamp(18px, 3vw, 44px); bottom: 34px;
  display: flex; align-items: flex-end; gap: .8rem;
}
.ww-man { position: relative; width: 52px; height: 60px; flex: none; will-change: transform; }
.ww-man img { display: block; width: 100%; height: 100%; object-fit: contain; transform-origin: 50% 100%; filter: drop-shadow(0 0 10px rgba(61, 139, 253, .55)); }
/* Shadow on the ground */
.ww-man::after {
  content: ""; position: absolute; left: 50%; bottom: -4px; width: 38px; height: 6px; margin-left: -19px;
  border-radius: 50%; background: radial-gradient(ellipse, rgba(61, 139, 253, .55), transparent 70%);
}
.ww-man.is-walking img { animation: wwWalk .4s ease-in-out infinite alternate; }
.ww-man.is-walking::after { animation: wwShadow .4s ease-in-out infinite alternate; }
@keyframes wwWalk { from { transform: translateY(0) rotate(-4deg); } to { transform: translateY(-6px) rotate(3deg); } }
@keyframes wwShadow { from { transform: scaleX(1); opacity: 1; } to { transform: scaleX(.7); opacity: .6; } }
.ww-man.is-arrived img { animation: wwArrive .7s var(--ww-ease) both, wwBreathe 4.5s ease-in-out .7s infinite; }
@keyframes wwArrive { 0% { transform: translateY(0) rotate(4deg); } 40% { transform: translateY(-10px) rotate(-2deg); } 100% { transform: none; } }
@keyframes wwBreathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px) rotate(-1deg); } }

.ww-words { display: flex; gap: .45rem; padding-bottom: 6px; font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; white-space: nowrap; position: relative; }
.ww-words span { display: inline-block; transition: opacity .7s var(--ww-ease), transform .7s var(--ww-ease), filter .7s var(--ww-ease); }
/* With JavaScript on, the man and the words wait for the walk (see auth_footer.php) */
.ww-js .ww-man:not(.is-walking):not(.is-arrived) { visibility: hidden; }
.ww-js .ww-words span { opacity: 0; transform: translateY(10px); filter: blur(8px); }
.ww-words span:nth-child(2) { transition-delay: .18s; }
.ww-words span:nth-child(3) { transition-delay: .36s; background: linear-gradient(135deg, #fff, var(--ww-blue-soft)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ww-words::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: linear-gradient(90deg, rgba(143, 182, 255, .8), transparent);
  transform-origin: left; transition: transform 1s var(--ww-ease) .6s;
}
.ww-js .ww-words::after { transform: scaleX(0); }
.ww-js .ww-walker.is-done .ww-words span { opacity: 1; transform: none; filter: blur(0); }
.ww-js .ww-walker.is-done .ww-words::after { transform: scaleX(1); }

.ww-auth-foot { position: absolute; left: clamp(18px, 3vw, 44px); bottom: 40px; z-index: 2; font-size: .75rem; color: var(--ww-faint); }

/* ---------- Small screens ---------- */
@media (max-width: 576px) {
  /* --ww-safe: clearance above the home indicator / bottom browser bar */
  .ww-auth { --ww-safe: max(16px, env(safe-area-inset-bottom)); }
  .ww-auth-shell { padding: 1.5rem 1rem calc(8rem + var(--ww-safe)); align-items: flex-start; padding-top: 9vh; padding-top: 9svh; }
  .ww-auth-card { padding: 2.25rem 1.4rem 1.75rem; border-radius: 22px; }
  .ww-man { width: 40px; height: 46px; }
  .ww-words { font-size: 1rem; }
  .ww-auth-foot { bottom: var(--ww-safe); left: 50%; transform: translateX(-50%); white-space: nowrap; }
  .ww-stage { height: calc(120px + var(--ww-safe)); }
  .ww-path, .ww-walker { bottom: calc(34px + var(--ww-safe)); }
  .ww-print { bottom: calc(33px + var(--ww-safe)); }
}

/* ---------- Reduced motion: final state, no movement ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ww-js .ww-words span { opacity: 1; transform: none; filter: none; }
  .ww-js .ww-words::after { transform: scaleX(1); }
}
