.install-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.install-banner.visible {
  transform: translateY(0);
}

.install-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  padding-bottom: calc(14px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--stone-100, #e7e5e4);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
}

.install-icon {
  border-radius: 10px;
  flex-shrink: 0;
}

.install-text {
  flex: 1;
  min-width: 0;
}

.install-text strong {
  display: block;
  font-size: 14px;
  color: var(--stone-900, #1c1917);
}

.install-text span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--stone-500, #78716c);
  line-height: 1.4;
}

.install-text svg {
  display: inline-block;
  vertical-align: -3px;
}

.install-btn {
  background: var(--coral, #e63b5a);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

.install-close {
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: var(--stone-400, #a8a29e);
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.offline-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  background: var(--stone-800, #292524);
  color: #fff;
  text-align: center;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

@media (display-mode: standalone) {
  .splash-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #fff8f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
  }

  .splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
  }

  .splash-logo {
    font-family: "Playfair Display", serif;
    font-size: 32px;
    color: var(--stone-900, #1c1917);
    margin-bottom: 8px;
  }

  .splash-sub {
    font-size: 13px;
    color: var(--stone-400, #a8a29e);
    letter-spacing: 1px;
  }
}

@media (max-width: 480px) {
  .install-banner-inner {
    gap: 10px;
    padding: 12px 14px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .install-btn {
    padding: 8px 14px;
  }
}
