.app-info-trigger {
  position: fixed;
  left: 14px;
  bottom: calc(var(--footer-height) + 14px + env(safe-area-inset-bottom, 0px));
  z-index: 1305;
  height: 42px;
  min-width: 98px;
  border-radius: 12px;
  border: 1px solid rgba(140, 171, 194, 0.58) !important;
  background: linear-gradient(180deg, #ffffff, #edf4fa) !important;
  color: #183a53 !important;
  font-size: 0.8rem;
  font-weight: 770;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0 0.8rem;
  box-shadow: 0 10px 20px rgba(7, 32, 51, 0.2) !important;
  cursor: pointer;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    border-color 140ms ease,
    background-color 140ms ease,
    color 140ms ease;
}

.app-info-trigger i {
  font-size: 0.9rem;
  color: #b25a18;
}

.app-info-trigger:hover {
  transform: translateY(-1px);
  border-color: rgba(214, 121, 39, 0.8) !important;
  background: linear-gradient(180deg, #fff8f2, #ffefe0) !important;
  color: #142f44 !important;
  box-shadow: 0 12px 24px rgba(8, 38, 58, 0.24) !important;
}

.app-info-trigger:active {
  transform: translateY(0);
}

.app-info-trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(217, 121, 41, 0.28), 0 10px 20px rgba(8, 38, 58, 0.2) !important;
}

.app-info-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(217, 121, 41, 0.26);
}

.app-info-overlay {
  position: fixed;
  inset: 0;
  z-index: 3100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(7, 16, 25, 0.66);
  backdrop-filter: blur(4px);
  padding: 1rem;
}

.app-info-overlay.is-open {
  display: flex;
}

.app-info-panel {
  width: min(860px, 96vw);
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  border-radius: 16px;
  border: 1px solid rgba(129, 159, 182, 0.32);
  background: linear-gradient(180deg, #ffffff, #f5f9fd);
  box-shadow: 0 24px 54px rgba(7, 16, 24, 0.34);
  padding: 1rem 1rem 0.95rem;
  position: relative;
}

.app-info-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none !important;
  background: rgba(16, 41, 61, 0.1) !important;
  color: #1f3d54 !important;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 1.2rem;
  cursor: pointer;
}

.app-info-panel h2 {
  margin: 0;
  color: #10293f;
  font-size: 1.2rem;
}

.app-info-subtitle {
  margin: 0.25rem 0 0.85rem;
  color: #4d6579;
  font-size: 0.9rem;
}

.app-info-section {
  border: 1px solid #d0dde9;
  border-radius: 12px;
  background: #ffffff;
  padding: 0.7rem;
  margin-bottom: 0.65rem;
}

.app-info-section h3 {
  margin: 0 0 0.48rem;
  color: #1f405c;
  font-size: 0.9rem;
}

.app-info-items {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.38rem;
}

.app-info-item {
  border: 1px solid #d9e5f0;
  border-radius: 10px;
  background: #f8fbff;
  padding: 0.46rem 0.55rem;
}

.app-info-item strong {
  display: block;
  color: #1d405b;
  font-size: 0.82rem;
}

.app-info-item span {
  display: block;
  margin-top: 0.12rem;
  color: #556a7b;
  font-size: 0.8rem;
}

body.dark-mode .app-info-trigger {
  border-color: rgba(99, 156, 195, 0.52) !important;
  background: linear-gradient(180deg, #1c334a, #13263a) !important;
  color: #eaf4ff !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.42) !important;
}

body.dark-mode .app-info-trigger i {
  color: #9ad8ff;
}

body.dark-mode .app-info-trigger:hover {
  border-color: rgba(128, 194, 234, 0.68) !important;
  background: linear-gradient(180deg, #264765, #19344c) !important;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.44) !important;
}

body.dark-mode .app-info-panel {
  border-color: #446b8c;
  background: linear-gradient(180deg, #122436, #0c1a29);
}

body.dark-mode .app-info-panel h2 {
  color: #f4faff;
}

body.dark-mode .app-info-subtitle {
  color: #9dbad1;
}

body.dark-mode .app-info-section {
  border-color: #426887;
  background: #102234;
}

body.dark-mode .app-info-section h3 {
  color: #9dd8ff;
}

body.dark-mode .app-info-item {
  border-color: #4b7191;
  background: #152a3f;
}

body.dark-mode .app-info-item strong {
  color: #d2ebff;
}

body.dark-mode .app-info-item span {
  color: #9fbfd9;
}

@media (max-width: 760px) {
  .app-info-trigger {
    left: 10px;
    bottom: calc(var(--footer-height) + 10px + env(safe-area-inset-bottom, 0px));
    min-width: 42px;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 10px;
    gap: 0;
  }

  .app-info-trigger span {
    display: none;
  }
}
