.native-home {
  min-height: 100svh;
  padding: 0 20px max(12px, env(safe-area-inset-bottom));
}

.native-status {
  position: relative;
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  padding-inline: 4px;
  font-size: 13px;
  font-weight: 650;
}

.native-status-icons {
  display: flex;
  align-items: center;
  gap: 7px;
}

.native-status-icons svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.dynamic-island {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 112px;
  height: 32px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--ink);
}

.camera-hole {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translateX(-50%);
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--fg);
}

.mobile-product {
  width: min(100%, 460px);
  margin-inline: auto;
  padding-bottom: 96px;
}

.mobile-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 30px;
}

.mobile-topbar .app-logo {
  width: 84px;
}

.mobile-intro {
  margin-bottom: 32px;
}

.mobile-intro h1 {
  max-width: 100%;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 11vw, 53px);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: .96;
  overflow-wrap: break-word;
}

.mobile-intro h1 em {
  font-family: var(--font-editorial);
  font-weight: 600;
}

.mobile-intro p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.mobile-section {
  margin-top: 42px;
  scroll-margin-top: 20px;
}

.mobile-section .section-heading {
  align-items: center;
  margin-bottom: 16px;
}

.mobile-section .section-heading h2 {
  font-size: 30px;
}

.native-home,
.native-home > *,
.mobile-product,
.mobile-product > *,
.ministry-card {
  min-width: 0;
}

.ministry-card {
  overflow-wrap: anywhere;
}

.mobile-section .section-heading p {
  font-size: 11px;
}

.native-home .agenda-card {
  padding: 16px;
  border-radius: 24px;
}

.native-home .week-strip {
  grid-template-columns: repeat(7, 52px);
  gap: 7px;
  margin-inline: -4px;
  padding: 0 4px 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.native-home .week-strip::-webkit-scrollbar {
  display: none;
}

.native-home .day-button {
  min-height: 72px;
  border-radius: 17px;
}

.native-home .day-number {
  font-size: 20px;
}

.native-home .agenda-detail {
  grid-template-columns: 1fr;
  gap: 15px;
  padding-top: 17px;
}

.native-home .agenda-date {
  flex-direction: row;
  align-items: center;
}

.native-home .agenda-date strong {
  font-size: 17px;
}

.native-home .agenda-item {
  grid-template-columns: 55px 1fr;
  gap: 10px;
  min-height: 68px;
  padding: 11px 12px;
}

.native-home .agenda-status {
  display: none;
}

.native-home .event-card {
  min-height: 290px;
}

.native-home .event-copy h3 {
  font-size: 35px;
}

.native-home .event-copy p {
  display: none;
}

.native-home .ministry-section {
  position: static;
}

.native-home .ministry-card {
  min-height: 370px;
  padding: 24px;
  border-radius: 26px;
}

.native-home .ministry-body {
  margin-top: 55px;
}

.native-home .ministry-body h2 {
  font-size: 44px;
}

.native-home .ministry-action {
  right: 24px;
  bottom: 24px;
  left: 24px;
}

.native-bottom-nav {
  position: fixed;
  z-index: 18;
  right: max(18px, calc((100vw - 460px) / 2 + 18px));
  bottom: max(12px, env(safe-area-inset-bottom));
  left: max(18px, calc((100vw - 460px) / 2 + 18px));
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-around;
  padding: 7px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: var(--shadow-soft);
}

.native-bottom-nav a {
  display: flex;
  min-width: 58px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 999px;
  color: color-mix(in oklch, var(--surface) 54%, transparent);
}

.native-bottom-nav a span {
  display: none;
}

.native-bottom-nav a[aria-current="page"] {
  padding-inline: 18px;
  background: var(--surface);
  color: var(--fg);
}

.native-bottom-nav a[aria-current="page"] span {
  display: inline;
  font-size: 12px;
  font-weight: 650;
}

.android-home .native-bottom-nav {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
}

.android-home .native-bottom-nav a {
  color: var(--muted);
}

.android-home .native-bottom-nav a[aria-current="page"] {
  background: var(--ink);
  color: var(--surface);
}

.home-indicator {
  position: fixed;
  z-index: 19;
  bottom: 4px;
  left: 50%;
  width: 128px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--fg);
}

.android-system-nav {
  position: fixed;
  z-index: 19;
  bottom: 2px;
  left: 50%;
  display: flex;
  transform: translateX(-50%);
  gap: 62px;
  color: var(--muted);
}

.android-system-nav span:nth-child(1) {
  width: 8px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.android-system-nav span:nth-child(2) {
  width: 8px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-radius: 1px;
}

.android-system-nav span:nth-child(3) {
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-right: 7px solid currentColor;
  border-bottom: 4px solid transparent;
}

@media (max-width: 390px) {
  .native-home {
    padding-inline: 16px;
  }
}
