/* Mobile header v10: logo + Daftar/Login Peserta + hamburger */
.mobile-login-v10 { display: none; }
.header-user-photo-v10 { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex: 0 0 22px; }

@media (max-width: 900px) {
  .site-header { overflow: visible; }
  .site-header .nav-wrap {
    width: min(100% - 20px, 1332px);
    min-width: 0;
    justify-content: flex-start;
    gap: 7px;
  }
  .site-header .brand {
    width: 154px !important;
    max-width: 154px;
    min-width: 0;
    height: 52px;
    flex: 0 1 154px;
  }
  .site-header .brand img {
    width: 154px !important;
    max-width: 100%;
    max-height: 52px;
  }
  .mobile-login-v10 {
    display: inline-flex !important;
    width: auto !important;
    min-width: 132px;
    max-width: 146px;
    height: 40px !important;
    margin: 0 0 0 auto !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 10px !important;
    overflow: hidden;
    border-radius: 8px;
    background: var(--blue-700, #075aa6);
    color: #fff;
    box-shadow: 0 5px 14px rgba(6, 78, 137, .18);
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
  }
  .mobile-login-v10 svg {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
  }
  .mobile-login-v10 .header-user-photo-v10 { width: 20px; height: 20px; flex-basis: 20px; }
  .site-header .mobile-toggle {
    display: block;
    width: 40px;
    height: 40px;
    margin: 0;
    flex: 0 0 40px;
    padding: 7px;
  }
  .site-header .main-nav .login-btn { display: none !important; }
}

@media (max-width: 410px) {
  .site-header .nav-wrap { width: calc(100% - 16px); gap: 5px; }
  .site-header .brand { width: 134px !important; max-width: 134px; flex-basis: 134px; }
  .site-header .brand img { width: 134px !important; }
  .mobile-login-v10 {
    min-width: 124px;
    max-width: 128px;
    height: 38px !important;
    padding: 0 7px !important;
    font-size: 9.5px;
    gap: 4px;
  }
  .site-header .mobile-toggle { width: 38px; height: 38px; flex-basis: 38px; }
}

@media (max-width: 355px) {
  .site-header .brand { width: 126px !important; max-width: 126px; flex-basis: 126px; }
  .site-header .brand img { width: 126px !important; }
  .mobile-login-v10 {
    width: 40px !important;
    min-width: 40px;
    max-width: 40px;
    padding: 0 !important;
  }
  .mobile-login-v10 span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
}
