/* 全画面にある上部バーの設定 */
.app-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  height: calc(56px + env(safe-area-inset-top));
  background: #348f82;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: env(safe-area-inset-top) 14px 0;
  z-index: 2600;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
}

.app-bar .app-bar-title {
  margin: 0;
  color: #fff;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
}

.pro-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #7a2d00;
  background: #ffd56a;
  border: 1px solid rgba(122, 45, 0, 0.35);
  font-family: inherit;
}

.app-bar-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.app-bar-icon-link {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  text-decoration: none;
}

.app-bar-icon-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.app-bar-spacer {
  height: calc(56px + env(safe-area-inset-top));
}
