:root { color-scheme: only light; }

.topbar {
  height: 72px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0d3236;
  background-image: linear-gradient(#0d3236d9, #0d3236d9), url('/assets/sea-pattern.jpg');
  background-size: auto, 100% auto;
  background-position: center top, center top;
  box-shadow: none;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.brand-wordmark {
  display: block;
  width: 180px;
  height: 56px;
  background: #fff;
  -webkit-mask: url('/assets/whale-wordmark.png') center / contain no-repeat;
  mask: url('/assets/whale-wordmark.png') center / contain no-repeat;
  forced-color-adjust: none;
}

.topbar .install-btn { display: none !important; }
.app-shell.compact-header .topbar { height: 72px; }

.app-shell:not(.compact-header) .hero {
  background-color: #0d3236;
  background-image: linear-gradient(#0d3236d9, #0d3236d9), url('/assets/sea-pattern.jpg');
  background-size: auto, 100% auto;
  background-position: center top, center -72px;
}

.app-shell.compact-header .hero,
.app-shell.compact-header .page-head {
  background-color: #0d3236;
  background-image: linear-gradient(#0d3236d9, #0d3236d9), url('/assets/sea-pattern.jpg');
  background-size: auto, 100% auto;
  background-position: center top, center -72px;
}

.about-wordmark {
  display: block;
  width: min(180px, 75%);
  height: 56px;
  background: #fff;
  -webkit-mask: url('/assets/whale-wordmark.png') center / contain no-repeat;
  mask: url('/assets/whale-wordmark.png') center / contain no-repeat;
  forced-color-adjust: none;
  margin: 0 auto;
}

.app-shell[data-tab="about"] .topbar { display: none; }
.app-shell[data-tab="about"] .about-hero { padding-top: 48px; }
.app-shell.notifications-open .topbar { display: none; }
.app-shell.notifications-open .about-hero { padding-top: 48px; }

.app-shell[data-tab="settings"] .settings-hero h1 { margin-top: 10px; }
.bottom-nav button { min-width: 0; }
.bottom-nav button > span:last-child { max-width: 100%; font-size: 9px; line-height: 1.1; text-align: center; }
@media (max-width: 359px) {
  .bottom-nav { padding-left: 4px; padding-right: 4px; }
  .bottom-nav button > span:last-child { font-size: 8px; letter-spacing: -0.3px; }
}

.about-hero .about-slogan {
  margin: 8px 0 0;
  color: #c8e1dc;
  font-size: 29px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.4px;
}

.hero h1 { max-width: 340px; }
.page-head h1 { font-size: 29px; line-height: 1.15; letter-spacing: -1.4px; }
.page-head .favorite-hint {
  max-width: 440px;
  margin: 15px 0 0;
  color: #c8e8e2;
  font-size: 12px;
  line-height: 1.5;
}
.install-slot { margin-top: 22px; }
.hero-install {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 9px 15px 9px 10px;
  border: 1px solid #a5e7d7a3;
  border-radius: 16px;
  background: linear-gradient(110deg, #9be0d0, #80d1bf);
  box-shadow: 0 8px 24px #06292c45;
  color: #10383a;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  line-height: 1.25;
  letter-spacing: 0;
  white-space: normal;
}
.hero-install::before {
  content: '↓';
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 11px;
  background: #ffffff91;
  font-size: 21px;
  font-weight: 700;
}
.hero-install::after { content: '›'; margin-left: auto; font-size: 26px; font-weight: 500; }
.hero-install.ios-install::before { content: '↑'; }
.install-button-copy { display: flex; flex-direction: column; gap: 2px; }
.install-button-copy strong { font-size: 13px; line-height: 1.2; }
.install-button-copy small { font-size: 11px; line-height: 1.25; font-weight: 600; }
.hero-install:focus-visible { outline: 3px solid #f0aa56; outline-offset: 3px; }
.hero-install[hidden] { display: none !important; }

.point-popup-close {
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 0;
}
.point-popup-close svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.favorite,
.card-favorite { display: grid; place-items: center; padding: 0; }
.favorite svg,
.card-favorite svg {
  display: block;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.favorite.on svg,
.card-favorite svg { fill: currentColor; }
