/* Coalition Kart — title screen: logo on top, the live 3D kart in the middle, driver pick and two buttons below. */
.home {
  --party: var(--gold);
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--gutter);
  padding-bottom: calc(var(--gutter) * 0.6 + var(--safe-b));
  overflow: hidden;
}
.home > :not(.home-bg) {
  position: relative;
  z-index: 1;
}

/* ——— Light over the 3D scene ——— */
.home-bg,
.home-bg > div {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.home-bg {
  z-index: 0;
}
.bg-rays {
  background: repeating-conic-gradient(from 0deg at 50% 0%, rgb(255 236 170 / 0.07) 0deg 4deg, transparent 4deg 13deg);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 10%, transparent 75%);
  mix-blend-mode: screen;
  animation: rays 40s linear infinite;
}
@keyframes rays {
  to {
    transform: rotate(8deg) scale(1.1);
  }
}
.bg-shade {
  background:
    linear-gradient(180deg, rgb(7 13 24 / 0.7), transparent 26%),
    linear-gradient(0deg, rgb(7 13 24 / 0.95) 8%, rgb(7 13 24 / 0.6) 30%, transparent 50%);
}

/* ——— Corner tools ——— */
.home-bar {
  position: absolute !important;
  inset: var(--gutter) var(--gutter) auto;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.home-bar > * {
  pointer-events: auto;
}
.home-tools {
  display: flex;
  gap: 8px;
}

/* ——— Logo ——— */
.home-hero {
  display: grid;
  justify-items: center;
  animation: hero-in 0.9s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
@keyframes hero-in {
  from {
    opacity: 0;
    transform: scale(1.5) translateY(-20px);
    filter: blur(8px);
  }
}
.logo {
  position: relative;
  margin: 0;
  display: grid;
  justify-items: center;
  line-height: 0.82;
  transform: skewX(-9deg) rotate(-3deg);
}
.logo-top {
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.02em;
  filter: drop-shadow(0 3px 0 #1d4fb8) drop-shadow(0 6px 14px rgb(0 0 0 / 0.55));
}
.logo-main {
  font-size: clamp(64px, 8vw, 120px);
  font-weight: 900;
  letter-spacing: -0.02em;
  background:
    linear-gradient(100deg, transparent 40%, rgb(255 255 255 / 0.95) 48%, rgb(255 255 255 / 0.95) 52%, transparent 60%)
      no-repeat,
    linear-gradient(180deg, #fff6c8 0%, #ffd75e 38%, #f2a81d 62%, #c86f05 100%);
  background-size:
    300% 100%,
    100% 100%;
  background-position:
    150% 0,
    0 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 #9c4f00) drop-shadow(0 3px 0 #1d4fb8) drop-shadow(0 3px 0 #163d93)
    drop-shadow(0 3px 0 #0f2c6e) drop-shadow(0 14px 22px rgb(0 0 0 / 0.6));
  animation: logo-shine 4.5s ease-in-out 1s infinite;
}
@keyframes logo-shine {
  0%,
  55% {
    background-position:
      150% 0,
      0 0;
  }
  85%,
  100% {
    background-position:
      -60% 0,
      0 0;
  }
}
.logo-seal {
  position: absolute;
  inset-inline-end: -0.95em;
  bottom: 0.35em;
  width: 1.9em;
  height: 1.9em;
  display: grid;
  place-items: center;
  font-size: clamp(16px, 1.8vw, 26px);
  font-weight: 900;
  color: #fff;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #6fa4ff, #2f6fe4 55%, #173f9c);
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 6px #f2c14e,
    0 10px 24px rgb(0 0 0 / 0.5);
  transform: skewX(9deg) rotate(14deg);
  animation:
    seal-pop 0.6s 0.7s cubic-bezier(0.3, 1.8, 0.5, 1) both,
    seal-pulse 2.4s 1.4s ease-in-out infinite;
}
@keyframes seal-pop {
  from {
    transform: skewX(9deg) rotate(-120deg) scale(0);
  }
}
@keyframes seal-pulse {
  50% {
    box-shadow:
      0 0 0 3px #fff,
      0 0 0 6px #f2c14e,
      0 0 30px 8px rgb(242 193 78 / 0.55);
  }
}

/* ——— Bottom block ——— */
.home-bottom {
  margin-top: auto;
  width: min(640px, 100%);
  display: grid;
  gap: 18px;
}

/* Driver pick: big name between arrows, a row of round portraits under it. */
.garage {
  display: grid;
  gap: 14px;
  animation: rise 0.6s 0.3s cubic-bezier(0.2, 1.2, 0.4, 1) both;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
}
.driver-pick {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}
.nav-arrow {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgb(255 255 255 / 0.1);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.25);
  backdrop-filter: blur(6px);
  transition:
    transform 0.15s,
    background 0.15s;
}
.nav-arrow:hover {
  background: rgb(255 255 255 / 0.2);
  transform: scale(1.08);
}
.nav-arrow:active {
  transform: scale(0.94);
}
.nav-arrow svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.8;
}
.driver-info {
  display: grid;
  justify-items: center;
  gap: 3px;
  text-align: center;
  text-shadow: 0 2px 10px rgb(0 0 0 / 0.7);
}
.driver-info h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
}
.garage-logo {
  width: 46px;
  height: 30px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 3px 5px;
  box-shadow: 0 0 0 2px var(--party);
}
#garageRide {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: rgb(255 255 255 / 0.75);
}
.ability-line {
  margin: 2px 0 0;
  font-size: 13px;
  color: rgb(255 255 255 / 0.7);
}
.ability-line b {
  color: var(--gold);
  font-weight: 800;
  margin-inline-end: 6px;
}
.driver-info.swap > * {
  animation: name-in 0.35s cubic-bezier(0.2, 1.3, 0.4, 1) both;
}
.driver-info.swap > :nth-child(2) {
  animation-delay: 0.04s;
}
.driver-info.swap > :nth-child(3) {
  animation-delay: 0.08s;
}
@keyframes name-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
}

.drivers {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(8px, 2vw, 16px);
  min-height: 98px;
}
.driver {
  display: grid;
  justify-items: center;
  gap: 6px;
  border: 0;
  padding: 0;
  background: none;
  animation: pop 0.45s calc(0.45s + var(--i) * 0.05s) cubic-bezier(0.3, 1.7, 0.5, 1) both;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.5);
  }
}
.driver-photo {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--party);
  box-shadow:
    0 0 0 3px var(--party),
    0 6px 14px rgb(0 0 0 / 0.5);
  transition:
    width 0.25s cubic-bezier(0.3, 1.6, 0.5, 1),
    height 0.25s cubic-bezier(0.3, 1.6, 0.5, 1),
    box-shadow 0.25s;
}
.driver-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  display: block;
  filter: grayscale(0.55) brightness(0.8);
  transition: filter 0.2s;
}
.driver-name {
  font-size: 12px;
  font-weight: 800;
  color: rgb(255 255 255 / 0.6);
  white-space: nowrap;
  text-shadow: 0 1px 4px #000;
}
.driver:hover .driver-photo img {
  filter: none;
}
.driver[aria-checked='true'] .driver-photo {
  width: 78px;
  height: 78px;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 6px var(--party),
    0 0 30px 6px color-mix(in srgb, var(--party) 70%, transparent),
    0 8px 18px rgb(0 0 0 / 0.5);
}
.driver[aria-checked='true'] .driver-photo img {
  filter: none;
}
.driver[aria-checked='true'] .driver-name {
  color: #fff;
}
.driver:focus-visible {
  outline: none;
}
.driver:focus-visible .driver-photo {
  outline: 2px solid var(--gold);
  outline-offset: 8px;
}

/* ——— The two buttons ——— */
.home-cta {
  display: grid;
  gap: 12px;
  animation: rise 0.6s 0.45s cubic-bezier(0.2, 1.2, 0.4, 1) both;
}
.cta-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cta {
  position: relative;
  overflow: hidden;
  min-height: 60px;
  border: 0;
  border-radius: 14px;
  font-size: 21px;
  font-weight: 900;
  transition:
    transform 0.15s cubic-bezier(0.3, 1.6, 0.5, 1),
    filter 0.15s,
    box-shadow 0.15s;
}
.cta-gp {
  color: #2a1a00;
  background: linear-gradient(180deg, #ffe48a, #f2b22e);
  box-shadow:
    inset 0 2px 0 rgb(255 255 255 / 0.6),
    0 5px 0 #a8650a,
    0 14px 30px rgb(242 178 46 / 0.35);
}
.cta-single {
  color: #fff;
  background: linear-gradient(180deg, #5b95ff, #2a63d6);
  box-shadow:
    inset 0 2px 0 rgb(255 255 255 / 0.35),
    0 5px 0 #163d93,
    0 14px 30px rgb(47 111 228 / 0.35);
}
.cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}
.cta:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.3);
}
.cta:disabled {
  opacity: 0.55;
  cursor: wait;
}
.cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.cta-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / 0.5) 50%, transparent 65%);
  transform: translateX(130%);
  animation: cta-shine 4s 1.5s ease-in-out infinite;
  pointer-events: none;
}
.cta-single .cta-shine {
  animation-delay: 3.5s;
}
@keyframes cta-shine {
  0%,
  70% {
    transform: translateX(130%);
  }
  100% {
    transform: translateX(-130%);
  }
}
/* The install button from pwa.js sits under the buttons as a quiet link. */
.home .install-app {
  justify-self: center;
  min-height: 0;
  padding: 6px 14px;
  font-size: 13px;
  background: none;
  box-shadow: none;
}

/* ——— Resume card ——— */
.resume-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgb(10 40 30 / 0.75);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgb(76 195 138 / 0.6);
}
.resume-card small {
  display: block;
  color: var(--green);
  font-weight: 700;
  font-size: 12px;
}
.resume-card b {
  font-weight: 800;
}
.resume-card .text-button {
  grid-column: 1 / -1;
  justify-self: start;
}

/* ——— Single race: course picker as a bottom sheet ——— */
.track-sheet {
  position: absolute !important;
  inset: 0;
  z-index: 5 !important;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: var(--gutter);
  padding-bottom: calc(var(--gutter) + var(--safe-b));
  background: rgb(4 8 16 / 0.55);
  backdrop-filter: blur(3px);
  animation: fade 0.2s both;
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
.track-panel {
  width: min(520px, 100%);
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 20px;
  background: rgb(12 22 40 / 0.95);
  box-shadow:
    inset 0 0 0 1px var(--line-strong),
    0 30px 80px rgb(0 0 0 / 0.6);
  animation: sheet-in 0.35s cubic-bezier(0.2, 1.3, 0.4, 1) both;
}
@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
}
.track-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.track-sheet-head b {
  font-size: 20px;
  font-weight: 900;
}
.track-picker {
  display: grid;
  gap: 8px;
}
.track {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 12px;
  text-align: right;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  background: linear-gradient(270deg, color-mix(in srgb, var(--track-color) 24%, transparent), rgb(255 255 255 / 0.04) 70%);
  box-shadow: inset 0 0 0 1px var(--line);
  border-inline-start: 4px solid var(--track-color);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.track:hover,
.track:focus-visible {
  transform: translateX(-4px);
  box-shadow: inset 0 0 0 2px var(--track-color);
}
.track b {
  font-weight: 900;
  font-size: 17px;
}
.track small {
  grid-column: 1;
  font-size: 13px;
  color: var(--muted);
}
.track .cc {
  grid-row: 1 / span 2;
  grid-column: 2;
  font-weight: 900;
  font-size: 15px;
  color: var(--track-color);
}

/* ——— Footer ——— */
.home-foot {
  width: 100%;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgb(255 255 255 / 0.55);
  padding-top: 10px;
}
.home-foot span {
  flex: 1;
  text-align: center;
}

/* ——— Phones ——— */
@media (max-width: 760px) {
  .home-hero {
    padding-top: 6px;
  }
  .logo-top {
    font-size: 24px;
  }
  .logo-main {
    font-size: 60px;
  }
  .logo-seal {
    font-size: 14px;
  }
  .home-bottom {
    gap: 14px;
  }
  .garage {
    gap: 10px;
  }
  .driver-info h2 {
    font-size: 22px;
  }
  #garageRide {
    font-size: 12px;
  }
  .ability-line span {
    display: none;
  }
  .nav-arrow {
    width: 38px;
    height: 38px;
  }
  .drivers {
    gap: 7px;
    min-height: 84px;
  }
  .driver-photo {
    width: 44px;
    height: 44px;
  }
  .driver[aria-checked='true'] .driver-photo {
    width: 60px;
    height: 60px;
  }
  .driver-name {
    font-size: 11px;
  }
  .cta {
    min-height: 56px;
    font-size: 19px;
  }
  .home-foot span {
    display: none;
  }
}

/* Narrow phones: eight portraits share the row, so they shrink with the screen and drop their
   names (the chosen leader's name is already the big heading above). */
@media (max-width: 480px) {
  .drivers {
    gap: clamp(3px, 1.2vw, 7px);
  }
  .driver-photo {
    width: clamp(28px, calc((100vw - 120px) / 8), 44px);
    height: clamp(28px, calc((100vw - 120px) / 8), 44px);
  }
  .driver[aria-checked='true'] .driver-photo {
    width: clamp(40px, calc((100vw - 120px) / 8 + 14px), 60px);
    height: clamp(40px, calc((100vw - 120px) / 8 + 14px), 60px);
  }
  .driver-name {
    display: none;
  }
}

/* ——— Landscape phones: logo top, everything else in one compact band ——— */
@media (pointer: coarse) and (max-height: 520px) and (min-width: 600px) {
  .logo-top {
    font-size: 18px;
  }
  .logo-main {
    font-size: 44px;
  }
  .logo-seal {
    font-size: 11px;
  }
  .home-foot,
  #garageRide,
  .ability-line {
    display: none;
  }
  .home-bottom {
    width: min(760px, 100%);
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
    gap: 16px;
  }
  .drivers {
    min-height: 0;
  }
  .driver-name {
    display: none;
  }
  .cta-buttons {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .cta {
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home *,
  .home *::before {
    animation: none !important;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* ——— Loading screen: poster art, a light glint, the logo and a race-bar ———
   The poster (assets/loading-art.webp) fades in only once it has loaded; without it the stage still reads. */
.loading {
  --art: url(./assets/loading-art.webp);
  overflow: hidden;
  display: grid;
  place-content: end center;
  background: radial-gradient(ellipse 90% 70% at 50% 30%, #2a56b8 0%, #12203d 55%, #060b16 100%);
  color: #fff;
  transition:
    opacity 0.7s ease,
    transform 0.9s cubic-bezier(0.5, 0, 0.75, 0);
}
/* Exit: punch forward into the race. */
.loading.done {
  opacity: 0;
  transform: scale(1.18);
  pointer-events: none;
}
.loading > :not(.load-content) {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.load-backdrop {
  opacity: 0;
  background: var(--art) center / cover no-repeat;
  filter: blur(30px) saturate(1.4) brightness(0.45);
  transform: scale(1.2);
  transition: opacity 0.8s;
}
.load-rays {
  background: repeating-conic-gradient(from 0deg at 50% 0%, rgb(255 236 170 / 0.12) 0deg 3deg, transparent 3deg 11deg);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, #000 5%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, #000 5%, transparent 70%);
  mix-blend-mode: screen;
  animation: rays 30s linear infinite;
}
/* Phones: the poster fills the screen. */
.load-poster {
  opacity: 0;
  overflow: hidden;
  background: var(--art) center 30% / cover no-repeat;
  transform: scale(1.15);
  transition:
    opacity 0.6s ease,
    transform 6s cubic-bezier(0.15, 0.6, 0.3, 1);
}
.loading.art-ready .load-poster {
  opacity: 1;
  transform: scale(1.02);
}
.loading.art-ready .load-backdrop {
  opacity: 1;
}
/* A diagonal glint sweeping across the art every few seconds. */
.load-glint {
  position: absolute;
  inset: -20% -60%;
  background: linear-gradient(
    115deg,
    transparent 42%,
    rgb(255 255 255 / 0.28) 49%,
    rgb(255 255 255 / 0.05) 52%,
    transparent 56%
  );
  transform: translateX(-60%);
  animation: glint 3.6s 0.8s ease-in-out infinite;
}
@keyframes glint {
  0% {
    transform: translateX(-60%);
  }
  45%,
  100% {
    transform: translateX(60%);
  }
}
.load-shade {
  background:
    linear-gradient(0deg, rgb(6 11 22 / 0.97) 0%, rgb(6 11 22 / 0.75) 22%, transparent 48%),
    linear-gradient(180deg, rgb(6 11 22 / 0.45), transparent 16%);
}
/* Wide screens: the tall poster stands centred like box art over a blurred copy of itself. */
@media (min-aspect-ratio: 3/4) {
  .loading .load-poster {
    inset: 4vh auto 4vh 50%;
    width: auto;
    aspect-ratio: 941 / 1672;
    translate: -50% 0;
    border-radius: 22px;
    background-position: center;
    box-shadow:
      0 0 0 2px rgb(255 255 255 / 0.25),
      0 0 0 8px rgb(242 193 78 / 0.18),
      0 40px 100px rgb(0 0 0 / 0.7),
      0 0 120px rgb(47 111 228 / 0.45);
  }
  .loading .load-shade {
    background:
      linear-gradient(0deg, rgb(6 11 22 / 0.95) 0%, rgb(6 11 22 / 0.6) 18%, transparent 40%),
      radial-gradient(ellipse at 50% 50%, transparent 40%, rgb(0 0 0 / 0.45));
  }
}

.load-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 0 16px calc(clamp(28px, 6vh, 56px) + var(--safe-b));
}
.load-content .logo {
  transform-origin: center;
  animation: logo-slam 0.65s 0.15s cubic-bezier(0.2, 1.5, 0.4, 1) both;
}
@keyframes logo-slam {
  from {
    opacity: 0;
    transform: skewX(-9deg) rotate(-3deg) scale(2.2);
    filter: blur(10px);
  }
}
.load-content .logo-main {
  font-size: clamp(72px, 10vw, 128px);
}
.load-content .logo-top {
  font-size: clamp(26px, 3.4vw, 46px);
}
.load-bar {
  position: relative;
  width: min(360px, 74vw);
  height: 12px;
  margin-top: 4px;
  border-radius: 6px;
  transform: skewX(-18deg);
  background: rgb(0 0 0 / 0.45);
  box-shadow:
    inset 0 0 0 2px rgb(255 255 255 / 0.55),
    0 6px 20px rgb(0 0 0 / 0.5);
  animation: fade-up 0.45s 0.5s both;
}
/* Fills right to left, as Hebrew reads, toward the chequered flag. */
.load-fill {
  position: absolute;
  inset: 3px 3px 3px auto;
  width: 0;
  border-radius: 4px;
  background:
    repeating-linear-gradient(-45deg, rgb(255 255 255 / 0.35) 0 5px, transparent 5px 10px),
    linear-gradient(270deg, #f2a81d, #ffe07a);
  background-size:
    14px 14px,
    100% 100%;
  box-shadow: 0 0 14px rgb(255 200 70 / 0.8);
  animation:
    load-fill 5s 0.5s cubic-bezier(0.1, 0.7, 0.3, 1) forwards,
    load-stripes 0.5s linear infinite;
}
@keyframes load-fill {
  to {
    width: calc(90% - 6px);
  }
}
@keyframes load-stripes {
  to {
    background-position:
      -14px 0,
      0 0;
  }
}
.loading.done .load-fill {
  width: calc(100% - 6px);
  transition: width 0.25s ease-out;
  animation: load-stripes 0.5s linear infinite;
}
.load-head {
  position: absolute;
  inset-block: -7px;
  left: -9px;
  width: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 18%, rgb(255 220 120 / 0.85) 42%, transparent 70%);
}
.load-finish {
  position: absolute;
  top: -8px;
  bottom: -8px;
  left: -18px;
  width: 16px;
  border-radius: 3px;
  background: conic-gradient(#fff 25%, #111 0 50%, #fff 0 75%, #111 0) 0 0 / 8px 7px;
  box-shadow: 0 0 0 2px #fff;
}
.load-text {
  min-height: 1.4em;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgb(255 255 255 / 0.85);
  text-shadow: 0 2px 8px #000;
  animation: fade-up 0.45s 0.6s both;
}
.load-text.tick {
  animation: fade-up 0.3s both;
}
@media (prefers-reduced-motion: reduce) {
  .loading *,
  .loading *::before {
    animation: none !important;
    transition: none !important;
  }
  .load-fill {
    width: 60%;
  }
}
.load-content .logo-seal {
  bottom: auto;
  top: -0.6em;
  inset-inline-end: -1.6em;
}
