.place-global-header {
  position: relative;
  z-index: 100;
  width: 100%;
  background: var(--semantic-white);
}

.place-global-header__top {
  display: flex;
  width: 100%;
  height: 80px;
  align-items: center;
  justify-content: center;
  border-bottom: var(--stroke-1) solid var(--semantic-input-border);
  background: var(--semantic-white);
}

.place-global-header__inner {
  display: flex;
  width: 100%;
  max-width: 1320px;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
}

.place-global-header__title {
  margin: 0;
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-28);
}

.place-global-header__title-link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--neutral-tx1-hero);
  text-decoration: none;
}

.place-global-header__back {
  display: inline-flex;
  width: 10px;
  flex: 0 0 10px;
  align-items: center;
  justify-content: center;
}

.place-global-header__back img {
  display: block;
  width: 10px;
}

.place-global-header__actions {
  display: flex;
  flex: 1 0 0;
  align-items: center;
  justify-content: flex-end;
  gap: var(--spacing-lg);
}

.place-global-header__action,
.place-global-header__profile {
  display: inline-flex;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
}

.place-global-header__action img {
  display: block;
  width: 26px;
}

.place-global-header__profile {
  overflow: hidden;
  border: var(--stroke-1) solid var(--status-border-hover, #e7e5dd);
  background: var(--semantic-border);
}

.place-global-header__profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.place-global-header__subnav {
  display: flex;
  width: 100%;
  height: 60px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: var(--stroke-1) solid var(--semantic-border);
  background: var(--semantic-bg);
}

.place-global-header__subnav-inner {
  display: flex;
  width: 100%;
  max-width: 1320px;
  align-items: center;
  gap: 20px;
  padding: 12px 20px 12px 42px;
}

.place-global-header__subnav-scroll {
  min-width: 0;
  flex: 1 1 auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.place-global-header__subnav-scroll::-webkit-scrollbar {
  display: none;
}

.place-global-header__subnav-list {
  display: flex;
  width: max-content;
  min-width: 440px;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.place-global-header__subnav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
  color: var(--neutral-tx2-title);
  font-size: var(--font-size-base-2, 14px);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-20);
  text-decoration: none;
  white-space: nowrap;
}

.place-global-header__subnav-link.is-active {
  color: var(--neutral-tx1-hero);
  font-weight: var(--font-weight-bold);
}

.place-global-header__view-toggle {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  border-radius: var(--radius-full);
  background: var(--semantic-border);
}

.place-global-header__view-button {
  display: inline-flex;
  height: 36px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border: var(--stroke-1) solid transparent;
  border-radius: var(--radius-full);
  color: var(--neutral-tx3-sub);
  background: transparent;
  font-size: var(--font-size-base-2, 14px);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-20);
  white-space: nowrap;
}

.place-global-header__view-button.is-active {
  border-color: var(--semantic-white);
  color: var(--semantic-white);
  background: var(--neutral-tx1-hero);
}

.place-global-header__view-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
}

.place-global-header__view-icon img {
  display: block;
}

.place-global-header__view-icon--list img {
  width: 13px;
}

.place-global-header__view-icon--map img {
  width: 16px;
}

.place-global-header__view-icon img:last-child,
.place-global-header__view-button.is-active .place-global-header__view-icon img:first-child {
  display: none;
}

.place-global-header__view-button.is-active .place-global-header__view-icon img:last-child {
  display: block;
}

.place-global-header__title-link:focus-visible,
.place-global-header__action:focus-visible,
.place-global-header__profile:focus-visible,
.place-global-header__subnav-link:focus-visible,
.place-global-header__view-button:focus-visible {
  outline: var(--stroke-2) solid var(--brand-primary-dark);
  outline-offset: var(--stroke-2);
}

@media (max-width: 767px) {
  .place-global-header__top {
    height: 64px;
  }

  .place-global-header__inner {
    min-height: 0;
    padding: 12px 20px;
  }

  .place-global-header__title {
    font-size: var(--font-size-xl, 16px);
    line-height: var(--line-height-22);
  }

  .place-global-header__subnav-inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  .place-global-header__view-button {
    width: 36px;
    padding-right: 0;
    padding-left: 0;
  }

  .place-global-header__view-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

