/* EdoorService PWA — splash, install, update */

html.hf-pwa-boot,
html.hf-pwa-boot body {
  overflow: hidden;
}

html.hf-pwa-boot .hf-nav,
html.hf-pwa-boot .hf-main,
html.hf-pwa-boot .hf-footer,
html.hf-pwa-boot #hfMobileNav,
html.hf-pwa-boot #hfNotifPanel,
html.hf-pwa-boot #hfNotifAllModal {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

html.hf-pwa-boot #hfPwaSplash {
  display: grid !important;
  opacity: 1 !important;
}

.hf-pwa-splash {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  overflow: hidden;
  background: #120a08;
  opacity: 0;
  transition: opacity 0.38s ease;
}

.hf-pwa-splash.is-visible {
  opacity: 1;
}

.hf-pwa-splash.is-leaving {
  opacity: 0;
}

.hf-pwa-splash__stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding:
    calc(1.5rem + env(safe-area-inset-top, 0px))
    1.25rem
    calc(1.5rem + env(safe-area-inset-bottom, 0px));
}

.hf-pwa-splash__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hf-pwa-splash__mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 18% 22%, rgba(251, 146, 60, 0.42), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(239, 68, 68, 0.28), transparent 32%),
    radial-gradient(circle at 52% 88%, rgba(234, 88, 12, 0.22), transparent 38%),
    linear-gradient(145deg, #1a0f0c 0%, #2a1510 36%, #3d2018 68%, #120a08 100%);
  animation: hf-pwa-mesh-shift 8s ease-in-out infinite alternate;
}

.hf-pwa-splash__grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, #000 35%, transparent 88%);
  animation: hf-pwa-grid-drift 14s linear infinite;
}

.hf-pwa-splash__orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.75;
}

.hf-pwa-splash__orb--1 {
  top: 8%;
  left: -4%;
  width: 12rem;
  height: 12rem;
  background: rgba(251, 146, 60, 0.55);
  animation: hf-pwa-orb-1 6s ease-in-out infinite;
}

.hf-pwa-splash__orb--2 {
  top: 58%;
  right: -6%;
  width: 14rem;
  height: 14rem;
  background: rgba(239, 68, 68, 0.38);
  animation: hf-pwa-orb-2 7.2s ease-in-out infinite;
}

.hf-pwa-splash__orb--3 {
  bottom: 10%;
  left: 28%;
  width: 9rem;
  height: 9rem;
  background: rgba(234, 179, 8, 0.28);
  animation: hf-pwa-orb-3 5.4s ease-in-out infinite;
}

.hf-pwa-splash__spark {
  position: absolute;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: #fff7ed;
  box-shadow: 0 0 16px rgba(251, 146, 60, 0.95);
  animation: hf-pwa-spark 2.4s ease-in-out infinite;
}

.hf-pwa-splash__spark--1 { top: 22%; left: 18%; animation-delay: 0s; }
.hf-pwa-splash__spark--2 { top: 34%; right: 22%; animation-delay: 0.8s; }
.hf-pwa-splash__spark--3 { bottom: 28%; left: 62%; animation-delay: 1.4s; }

.hf-pwa-splash__art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hf-pwa-splash__glyph {
  position: absolute;
  font-size: clamp(1.75rem, 5vw, 2.6rem);
  color: rgba(255, 247, 237, 0.88);
  text-shadow: 0 8px 28px rgba(234, 88, 12, 0.45);
  animation: hf-pwa-glyph-float 4.8s ease-in-out infinite;
}

.hf-pwa-splash__glyph--1 { top: 14%; left: 10%; color: #fdba74; animation-delay: 0s; }
.hf-pwa-splash__glyph--2 { top: 18%; right: 12%; color: #fde68a; animation-delay: 0.5s; }
.hf-pwa-splash__glyph--3 { top: 42%; left: 6%; color: #bae6fd; animation-delay: 1s; }
.hf-pwa-splash__glyph--4 { bottom: 24%; right: 10%; color: #bbf7d0; animation-delay: 1.5s; }
.hf-pwa-splash__glyph--5 { bottom: 16%; left: 18%; color: #fecaca; animation-delay: 2s; }
.hf-pwa-splash__glyph--6 { top: 36%; right: 24%; color: #fed7aa; animation-delay: 2.5s; }

.hf-pwa-splash__content {
  position: relative;
  z-index: 2;
  width: min(100%, 26rem);
  text-align: center;
  display: grid;
  gap: 0.85rem;
}

.hf-pwa-splash__eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(253, 186, 116, 0.92);
  animation: hf-pwa-fade-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.hf-pwa-splash__headline {
  margin: 0;
  display: grid;
  gap: 0.15rem;
  font-size: clamp(2rem, 8vw, 2.85rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hf-pwa-splash__line {
  display: block;
}

.hf-pwa-splash__line--1 {
  color: #fff7ed;
  animation: hf-pwa-fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

.hf-pwa-splash__line--2 {
  background: linear-gradient(90deg, #fb923c 0%, #f97316 35%, #ef4444 70%, #fbbf24 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation:
    hf-pwa-fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both,
    hf-pwa-shimmer 2.8s linear 0.8s infinite;
}

.hf-pwa-splash__tagline {
  margin: 0;
  font-size: clamp(0.875rem, 3.6vw, 1rem);
  font-weight: 700;
  line-height: 1.45;
  color: rgba(255, 237, 213, 0.82);
  animation: hf-pwa-fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.42s both;
}

.hf-pwa-splash__loader {
  display: inline-flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
  animation: hf-pwa-fade-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

.hf-pwa-splash__loader span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #fb923c, #ef4444);
  animation: hf-pwa-loader-bounce 0.9s ease-in-out infinite;
}

.hf-pwa-splash__loader span:nth-child(2) { animation-delay: 0.12s; }
.hf-pwa-splash__loader span:nth-child(3) { animation-delay: 0.24s; }

@keyframes hf-pwa-mesh-shift {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.08) translate3d(2%, -2%, 0); }
}

@keyframes hf-pwa-grid-drift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(28px, 28px, 0); }
}

@keyframes hf-pwa-orb-1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(12%, 8%, 0) scale(1.08); }
}

@keyframes hf-pwa-orb-2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-10%, -6%, 0) scale(1.12); }
}

@keyframes hf-pwa-orb-3 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(8%, -10%, 0); }
}

@keyframes hf-pwa-spark {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.35); }
}

@keyframes hf-pwa-glyph-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0.72; }
  50% { transform: translate3d(0, -10px, 0) rotate(6deg); opacity: 1; }
}

@keyframes hf-pwa-fade-up {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes hf-pwa-shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes hf-pwa-loader-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.55; }
  40% { transform: translateY(-7px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hf-pwa-splash__mesh,
  .hf-pwa-splash__grid,
  .hf-pwa-splash__orb,
  .hf-pwa-splash__spark,
  .hf-pwa-splash__glyph,
  .hf-pwa-splash__line--2,
  .hf-pwa-splash__loader span {
    animation: none !important;
  }
}

@media (max-width: 1023.98px) {
  html.hf-pwa-mobile-dock-visible body {
    padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
  }

  html.hf-pwa-standalone.hf-pwa-mobile-dock-visible body {
    padding-bottom: 0;
  }
}

.hf-pwa-cert-gate {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.hf-pwa-cert-gate:not(.hidden) {
  pointer-events: auto;
}

.hf-pwa-cert-gate.is-visible {
  opacity: 1;
}

.hf-pwa-cert-gate__panel {
  width: min(100%, 420px);
  padding: 1.25rem 1.1rem 1.1rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 247, 237, 0.98), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(249, 115, 22, 0.22);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
  text-align: center;
}

.hf-pwa-cert-gate__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(230, 57, 70, 0.24);
  margin-bottom: 0.85rem;
}

.hf-pwa-cert-gate__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.94);
  margin-bottom: 0.45rem;
}

.hf-pwa-cert-gate__lead {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(15, 23, 42, 0.68);
  margin-bottom: 0.75rem;
}

.hf-pwa-cert-gate__status {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ea580c;
  margin-bottom: 0.85rem;
}

.hf-pwa-cert-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hf-pwa-cert-gate__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border: 0;
}

.hf-pwa-cert-gate__btn--primary {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff7ed;
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.28);
}

.hf-pwa-cert-gate__btn--ghost {
  background: rgba(15, 23, 42, 0.06);
  color: rgba(15, 23, 42, 0.72);
}

.hf-pwa-cert-gate__steps {
  margin-top: 0.85rem;
  text-align: left;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(15, 23, 42, 0.62);
  padding-left: 1.1rem;
}

body.hf-pwa-cert-gate-open {
  overflow: hidden;
}

@media (max-width: 1023.98px) {
  html.hf-pwa-mobile-dock-visible body {
    padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
  }

  html.hf-pwa-standalone.hf-pwa-mobile-dock-visible body {
    padding-bottom: 0;
  }
}

.hf-pwa-mobile-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1240;
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
  padding: 0.55rem 0.55rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(26, 15, 12, 0) 0%, rgba(26, 15, 12, 0.82) 28%, rgba(26, 15, 12, 0.96) 100%);
  pointer-events: none;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.34s ease;
}

.hf-pwa-mobile-dock:not(.hidden) {
  pointer-events: auto;
}

.hf-pwa-mobile-dock.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.hf-pwa-mobile-dock__main {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(251, 146, 60, 0.35);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.98), rgba(255, 237, 213, 0.94));
  box-shadow: 0 14px 36px rgba(234, 88, 12, 0.28);
  color: rgba(15, 23, 42, 0.92);
  cursor: pointer;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hf-pwa-mobile-dock__main:active {
  transform: scale(0.985);
}

.hf-pwa-mobile-dock__main.is-ready {
  animation: hf-pwa-ready-pulse 1.8s ease-in-out infinite;
}

.hf-pwa-mobile-dock__main.is-loading {
  opacity: 0.78;
  pointer-events: none;
}

.hf-pwa-mobile-dock__icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(230, 57, 70, 0.24);
}

.hf-pwa-mobile-dock__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hf-pwa-mobile-dock__title {
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.2;
}

.hf-pwa-mobile-dock__sub {
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(15, 23, 42, 0.58);
}

.hf-pwa-mobile-dock__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff7ed;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.32);
}

.hf-pwa-mobile-dock__cta .hf-mi {
  font-size: 1rem;
}

.hf-pwa-mobile-dock__close {
  flex-shrink: 0;
  align-self: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .hf-pwa-mobile-dock {
    display: none !important;
  }
}

html.hf-pwa-standalone .hf-pwa-mobile-dock {
  display: none !important;
}

.hf-pwa-install,
.hf-pwa-update {
  position: fixed;
  left: 50%;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 1250;
  width: min(calc(100vw - 1.5rem), 420px);
  transform: translate(-50%, 120%);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
}

.hf-pwa-install.is-visible,
.hf-pwa-update.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.hf-pwa-install__sheet,
.hf-pwa-update__sheet {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(249, 115, 22, 0.18);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(10px);
}

.hf-pwa-install__icon,
.hf-pwa-update__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.22);
}

.hf-mnav-item--install {
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid rgba(249, 115, 22, 0.22);
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.98), rgba(255, 237, 213, 0.92));
  color: rgba(15, 23, 42, 0.92);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.hf-mnav-item--install .hf-mnav-title {
  color: rgba(15, 23, 42, 0.92);
}

.hf-mnav-item--install .hf-mnav-sub {
  color: rgba(15, 23, 42, 0.58);
}

.hf-mnav-item--install .hf-mnav-app-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.25);
}

.hf-mnav-item--install .hf-mnav-arrow {
  color: #ea580c;
}

.hf-pwa-install__copy,
.hf-pwa-update__copy {
  flex: 1;
  min-width: 0;
}

.hf-pwa-install__title,
.hf-pwa-update__title {
  font-size: 0.875rem;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.92);
}

.hf-pwa-install__sub,
.hf-pwa-update__sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.58);
  line-height: 1.35;
}

.hf-pwa-install__actions,
.hf-pwa-update__actions {
  display: grid;
  gap: 0.35rem;
}

.hf-pwa-install__btn,
.hf-pwa-update__btn,
.hf-pwa-install__dismiss {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.hf-pwa-install__btn,
.hf-pwa-update__btn {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.28);
}

.hf-pwa-install__dismiss {
  padding: 0.2rem;
  background: transparent;
  color: rgba(15, 23, 42, 0.45);
  font-size: 0.6875rem;
  font-weight: 700;
}

@media (max-width: 1023.98px) {
  .hf-pwa-install {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .hf-pwa-install,
  .hf-pwa-update {
    left: 50%;
    right: auto;
    bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
    width: min(calc(100vw - 1rem), 420px);
    transform: translate(-50%, 120%);
  }

  .hf-pwa-install.is-visible,
  .hf-pwa-update.is-visible {
    transform: translate(-50%, 0);
  }
}

@media (min-width: 1024px) {
  .hf-pwa-install,
  .hf-pwa-update {
    bottom: 1.25rem;
    right: 1.25rem;
    left: auto;
    transform: translate(0, 120%);
  }

  .hf-pwa-install.is-visible,
  .hf-pwa-update.is-visible {
    transform: translate(0, 0);
  }
}

@keyframes hf-pwa-splash-rise {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Standalone / installed app */
html.hf-pwa-standalone .hf-nav {
  padding-top: env(safe-area-inset-top, 0px);
}

html.hf-pwa-standalone .hf-main {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

html.hf-pwa-standalone .hf-mobile-sheet {
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.hf-nav-pwa-install-mobile {
  display: none;
}

@media (max-width: 1023.98px) {
  .hf-nav-pwa-install-mobile {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    border: 1px solid rgba(251, 146, 60, 0.42);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.28), rgba(234, 88, 12, 0.2));
    color: #fff7ed;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  }

  .hf-nav-pwa-install-mobile.hidden,
  html.hf-pwa-standalone .hf-nav-pwa-install-mobile {
    display: none !important;
  }

  .hf-nav-pwa-install-mobile .hf-mi {
    font-size: 1.15rem;
  }

  .hf-nav-pwa-install-mobile.is-ready {
    animation: hf-pwa-ready-pulse 1.8s ease-in-out infinite;
  }

  .hf-nav-pwa-install-mobile.is-loading {
    opacity: 0.72;
    pointer-events: none;
  }
}

.hf-nav-pwa-install {
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 146, 60, 0.35);
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.18), rgba(234, 88, 12, 0.12));
  color: #fff7ed;
  font-size: 0.8125rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hf-nav-pwa-install:hover {
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.25);
}

.hf-nav-pwa-install-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 146, 60, 0.42);
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.28), rgba(234, 88, 12, 0.2));
  color: #fff7ed;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.22);
}

.hf-nav-pwa-install-mobile .hf-mi {
  font-size: 1.25rem;
}

.hf-nav-pwa-install-mobile.is-loading,
.hf-nav-pwa-install-mobile.is-ready,
.hf-nav-pwa-install.is-loading,
.hf-nav-pwa-install.is-ready,
.hf-mnav-item--install.is-ready {
  box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.55), 0 8px 20px rgba(234, 88, 12, 0.28);
}

.hf-nav-pwa-install-mobile.is-loading,
.hf-nav-pwa-install.is-loading,
.hf-pwa-install__btn.is-loading,
.hf-mnav-item--install.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.hf-pwa-guide {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.hf-pwa-guide.is-visible {
  opacity: 1;
}

.hf-pwa-guide__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.hf-pwa-guide__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  max-height: min(88vh, 640px);
  overflow: auto;
  padding: 1.35rem 1.25rem 1.1rem;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
  text-align: center;
}

.hf-pwa-guide__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  border: 0;
  background: transparent;
  color: rgba(15, 23, 42, 0.55);
  cursor: pointer;
}

.hf-pwa-guide__icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(234, 88, 12, 0.28);
}

.hf-pwa-guide__title {
  margin-top: 0.85rem;
  font-size: 1.25rem;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.92);
}

.hf-pwa-guide__lead {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(15, 23, 42, 0.62);
}

.hf-pwa-guide__platform {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(234, 88, 12, 0.12);
  color: #c2410c;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hf-pwa-guide__steps {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  text-align: left;
}

.hf-pwa-guide__step {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: start;
  gap: 0.55rem;
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
  background: rgba(255, 247, 237, 0.85);
  border: 1px solid rgba(249, 115, 22, 0.14);
}

.hf-pwa-guide__step-num {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fb923c, #ea580c);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
}

.hf-pwa-guide__step-icon {
  font-size: 1.35rem;
  color: #ea580c;
  line-height: 1;
}

.hf-pwa-guide__step-text {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(15, 23, 42, 0.82);
  padding-top: 0.1rem;
}

.hf-pwa-guide__copy {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.hf-pwa-guide__copy-input {
  min-width: 0;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  font: inherit;
  font-size: 0.75rem;
  color: rgba(15, 23, 42, 0.75);
  background: #f8fafc;
}

.hf-pwa-guide__copy-btn {
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.hf-pwa-guide__note {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin-top: 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(241, 245, 249, 0.95);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(15, 23, 42, 0.72);
  text-align: left;
}

.hf-pwa-guide__note .hf-mi {
  font-size: 1.1rem;
  color: #ea580c;
  flex-shrink: 0;
}

.hf-pwa-guide__extras:empty {
  display: none;
}

.hf-pwa-guide__btn {
  margin-top: 1rem;
  width: 100%;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 800;
  cursor: pointer;
}

html[data-hf-pwa-install="ready"] .hf-nav-pwa-install:not(.hidden),
html[data-hf-pwa-install="ready"] .hf-mnav-item--install:not(.hidden) {
  animation: hf-pwa-ready-pulse 1.8s ease-in-out infinite;
}

@keyframes hf-pwa-ready-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251, 146, 60, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(251, 146, 60, 0); }
}

body.hf-pwa-guide-open {
  overflow: hidden;
}

.hf-pwa-toast {
  position: fixed;
  left: 50%;
  bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  z-index: 1300;
  width: min(calc(100vw - 2rem), 380px);
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.94);
  color: #fff7ed;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.28);
  transform: translate(-50%, 12px);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.hf-pwa-toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

@media (min-width: 1024px) {
  .hf-pwa-toast {
    bottom: 1.5rem;
  }
}
