.akf-app-splash {
  position: fixed;
  inset: 0;
  z-index: 2147482000;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow: hidden;
  pointer-events: none;
  color: #f4f8fc;
  background:
    radial-gradient(560px 360px at 50% 38%, rgba(126, 238, 244, .28), transparent 68%),
    radial-gradient(520px 300px at 74% 64%, rgba(82, 176, 226, .2), transparent 72%),
    linear-gradient(155deg, #0b5573 0%, #087687 48%, #0a607c 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity .32s ease, visibility .32s ease;
}

.akf-app-splash,
.akf-app-splash *,
.akf-app-splash *::before,
.akf-app-splash *::after {
  box-sizing: border-box;
}

.akf-app-splash::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(211, 251, 255, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(211, 251, 255, .075) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at center, #000, transparent 72%);
  mask-image: radial-gradient(circle at center, #000, transparent 72%);
}

.akf-app-splash.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.akf-app-splash__panel {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(88vw, 270px);
  padding: 26px 24px 22px;
  overflow: hidden;
  border: 1px solid rgba(143, 200, 255, .18);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 0%, rgba(169, 249, 250, .2), transparent 48%),
    linear-gradient(145deg, rgba(13, 98, 121, .94), rgba(7, 72, 101, .94));
  box-shadow:
    0 32px 84px rgba(3, 58, 76, .38),
    0 0 0 1px rgba(255, 255, 255, .08) inset;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.akf-app-splash__panel::before {
  position: absolute;
  inset: -40% -70%;
  content: "";
  pointer-events: none;
  background: linear-gradient(112deg, transparent 43%, rgba(188, 251, 255, .16) 49%, rgba(255, 255, 255, .14) 52%, transparent 59%);
  transform: translate3d(-34%, 0, 0);
  animation: akf-splash-signal 3.8s ease-in-out infinite;
}

.akf-app-splash__emblem {
  position: relative;
  display: grid;
  width: clamp(116px, 22vw, 142px);
  aspect-ratio: 1;
  place-items: center;
  margin-bottom: 2px;
}

.akf-app-splash__emblem::before,
.akf-app-splash__emblem::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.akf-app-splash__emblem::before {
  inset: -7px;
  border: 1px solid rgba(121, 192, 255, .24);
  border-top-color: #79c0ff;
  border-right-color: rgba(216, 183, 106, .72);
  animation: akf-splash-orbit 2.2s linear infinite;
}

.akf-app-splash__emblem::after {
  inset: 3px;
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 0 34px rgba(41, 154, 226, .2);
  animation: akf-splash-pulse 1.7s ease-in-out infinite;
}

.akf-app-splash__emblem img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  padding: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  object-fit: contain;
  clip-path: circle(49% at 50% 50%);
  filter: drop-shadow(0 14px 26px rgba(4, 55, 73, .32));
}

.akf-app-splash__name {
  max-width: 220px;
  color: #f4f8fc;
  font: 800 12px/1.25 Bahnschrift, "Segoe UI", system-ui, sans-serif;
  letter-spacing: .075em;
  text-align: center;
  text-transform: uppercase;
}

.akf-app-splash__progress {
  position: relative;
  width: min(100%, 170px);
  height: 3px;
  margin-top: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(143, 200, 255, .14);
}

.akf-app-splash__progress > span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, #28a9e2, #79c0ff 68%, #d8b76a);
  box-shadow: 0 0 16px rgba(121, 192, 255, .48);
  animation: akf-splash-progress 1.15s ease-in-out infinite;
}

.akf-app-splash__text {
  color: #aebfd0;
  font: 650 12px/1.35 Bahnschrift, "Segoe UI", system-ui, sans-serif;
  letter-spacing: .045em;
}

@keyframes akf-splash-orbit {
  to { transform: rotate(360deg); }
}

@keyframes akf-splash-pulse {
  50% { opacity: .52; transform: scale(.965); }
}

@keyframes akf-splash-progress {
  0% { left: -45%; }
  55% { left: 58%; }
  100% { left: 105%; }
}

@keyframes akf-splash-signal {
  0%, 38% { opacity: 0; transform: translate3d(-34%, 0, 0); }
  54% { opacity: .9; }
  82%, 100% { opacity: 0; transform: translate3d(34%, 0, 0); }
}

@media (max-width: 430px) {
  .akf-app-splash {
    padding: 14px;
  }

  .akf-app-splash__panel {
    width: min(90vw, 235px);
    padding: 22px 18px 19px;
    border-radius: 26px;
  }

  .akf-app-splash__emblem {
    width: 116px;
  }

  .akf-app-splash__name {
    max-width: 190px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .akf-app-splash {
    transition: none;
  }

  .akf-app-splash__emblem::before,
  .akf-app-splash__emblem::after,
  .akf-app-splash__panel::before,
  .akf-app-splash__progress > span {
    animation: none;
  }

  .akf-app-splash__progress > span {
    left: 0;
    width: 100%;
  }
}

/*
 * Global mobile form and overflow safety.
 * Keeps typed content inside its container and prevents iOS focus zoom.
 */
html {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-x: clip;
}

:where(*, *::before, *::after) {
  box-sizing: border-box;
}

:where(button, input, select, textarea) {
  font: inherit;
}

:where(a, button) {
  -webkit-tap-highlight-color: transparent;
}

:where(
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea,
  [contenteditable="true"]
) {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

:where(
  input:not([type="checkbox"]):not([type="radio"]),
  textarea,
  [contenteditable="true"]
) {
  overflow-wrap: anywhere;
  word-break: normal;
}

:where(img, video, canvas, iframe) {
  max-width: 100%;
}

:where(pre, code, .table-responsive, .table-wrap, .data-table-wrap) {
  max-width: 100%;
}

:where(pre, code) {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 768px) {
  :where(
    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea,
    [contenteditable="true"]
  ) {
    font-size: 16px !important;
  }

  input[type="file"] {
    width: 100%;
  }
}
