@media (max-width: 980px) {
  .phototur-mobile-header {
    --mobile-header-ink: #f7ead6;
    --mobile-header-accent: #eec87b;
    --mobile-header-line: #e2c58d80;
  }

  .phototur-mobile-header.phototur-mobile-section {
    height: 64px;
    padding: 0 16px;
    color: var(--mobile-header-ink);
    background: #071729;
    border-bottom: 1px solid #e2c58d;
  }

  .phototur-mobile-section .topbar-inner {
    width: 100%;
    padding: 0;
  }

  .phototur-mobile-header .phototur-mobile-brand {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 44px;
  }

  .phototur-mobile-brand img {
    display: block;
    width: min(134px, 52vw);
    height: 38px;
    object-fit: contain;
    object-position: left center;
  }

  .phototur-mobile-brand.phototur-album-brand img {
    width: min(120px, 52vw);
  }

  .phototur-mobile-header .phototur-mobile-toggle {
    position: relative;
    display: block;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--mobile-header-line);
    border-radius: 12px;
    background: #ffffff0a;
    color: var(--mobile-header-ink);
    font-size: 0;
    cursor: pointer;
    touch-action: manipulation;
  }

  .phototur-mobile-header .phototur-mobile-toggle::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    box-shadow: 0 -6px currentColor, 0 6px currentColor;
  }

  .phototur-mobile-toggle > .hamburger-glyph {
    display: none;
  }

  .phototur-mobile-header .phototur-mobile-toggle[aria-expanded="true"]::before {
    content: "×";
    width: auto;
    height: auto;
    background: none;
    box-shadow: none;
    font: 25px/1 Arial, sans-serif;
  }

  .phototur-mobile-header .phototur-mobile-nav {
    display: none;
    position: absolute;
    inset: calc(100% + 8px) 12px auto;
    z-index: 2201;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    max-height: calc(100vh - 108px);
    max-height: calc(100dvh - 108px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #ddb8783d;
    border-radius: 14px;
    background: #091c31;
    box-shadow: 0 12px 25px #04101e66;
  }

  .phototur-mobile-section .phototur-mobile-nav {
    max-height: calc(100vh - 84px);
    max-height: calc(100dvh - 84px);
  }

  .phototur-mobile-header .phototur-mobile-nav.open {
    display: flex;
  }

  .phototur-mobile-header .phototur-mobile-nav a {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    flex-shrink: 0;
    padding: 7px 4px;
    border: 0;
    background: none;
    color: var(--mobile-header-ink);
    font: 700 14px/1.35 Inter, system-ui, sans-serif;
  }

  .phototur-mobile-header .phototur-mobile-nav a:hover,
  .phototur-mobile-header .phototur-mobile-nav a.active {
    color: var(--mobile-header-accent);
  }

  .phototur-mobile-header .phototur-mobile-toggle:focus-visible,
  .phototur-mobile-header .phototur-mobile-nav a:focus-visible {
    outline: 2px solid var(--mobile-header-accent);
    outline-offset: 2px;
  }
}
