html { -webkit-text-size-adjust: 100%; }
button, summary, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.brand-header { background: #fff; }
#main-header.brand-header { padding: 0; }
.brand-header-inner { max-width: 1440px; margin: auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-header-logo { display: block; flex-shrink: 0; }
.brand-header-logo img { display: block; width: 220px; height: 78px; }
.brand-header-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.brand-header-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border: 1px solid #c81820; border-radius: 8px; font-weight: 700; font-size: 13px; text-align: center; }
.brand-bonus { background: #c81820; color: #fff; }
.brand-app { background: #fff; color: #b3131b; }
.brand-navigation { position: relative; z-index: 50; background: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #e5e5eb; }
.brand-menu-toggle { display: none; }
.brand-menu { max-width: 1440px; margin: auto; padding: 0 24px; list-style: none; display: flex; align-items: stretch; justify-content: space-between; gap: 4px; }
.brand-menu > li { position: relative; }
.brand-menu > li > a, .brand-menu summary { display: flex; align-items: center; gap: 7px; min-height: 56px; padding: 12px 10px; color: #27272a; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.brand-menu summary { list-style: none; }
.brand-menu summary::-webkit-details-marker { display: none; }
.brand-menu a:hover, .brand-menu summary:hover, .brand-menu details[open] > summary { color: #b3131b; background: #fff5f5; }
.brand-menu a:focus-visible, .brand-menu summary:focus-visible, .brand-header-actions a:focus-visible { outline: 2px solid #b3131b; outline-offset: -3px; border-radius: 4px; }
.brand-chevron { font-size: 10px; margin-left: 2px; transition: transform .15s; }
.brand-menu details[open] .brand-chevron { transform: rotate(180deg); }
.brand-submenu { position: absolute; top: 100%; left: 0; z-index: 51; min-width: 230px; margin: 0; padding: 8px; list-style: none; background: white; border: 1px solid #e5e5eb; border-radius: 0 0 8px 8px; box-shadow: 0 10px 24px #00000014; }
.brand-menu > li:last-child .brand-submenu { left: auto; right: 0; }
.brand-submenu a { display: block; padding: 10px 12px; color: #27272a; font-size: 14px; border-radius: 4px; white-space: nowrap; }
.brand-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; max-width: 1440px; margin: 0 auto 24px; padding: 16px 24px; border-bottom: 1px solid #eee; }
.brand-footer-links a { color: #52525b; }
.brand-footer-links a:hover { color: #b3131b; text-decoration: underline; }
@media (max-width: 1100px) {
  .brand-menu { flex-wrap: wrap; justify-content: flex-start; }
  .brand-menu > li { flex: 1 0 21%; }
  .brand-menu > li > a, .brand-menu summary { justify-content: center; }
}
@media (max-width: 760px) {
  .brand-navigation { padding: 6px 12px; }
  .brand-navigation.nav-ready .brand-menu-toggle { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #e5e5eb; border-radius: 6px; background: #fff; color: #27272a; font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
  .brand-menu-toggle .brand-chevron { margin-left: auto; }
  .brand-menu-toggle[aria-expanded="true"] .brand-chevron { transform: rotate(180deg); }
  .brand-menu-toggle:focus-visible { outline: 2px solid #b3131b; outline-offset: 2px; }
  .brand-navigation.nav-ready .brand-menu { display: none; position: absolute; top: calc(100% + 2px); left: 12px; right: 12px; max-height: min(65vh, 520px); overflow-y: auto; overscroll-behavior: contain; padding: 6px; border: 1px solid #e5e5eb; border-radius: 8px; background: #fff; box-shadow: 0 10px 24px #0000001a; }
  .brand-navigation.nav-ready.mobile-menu-open .brand-menu { display: block; }
  .brand-navigation .brand-menu > li > a, .brand-navigation .brand-menu summary { justify-content: flex-start; min-height: 44px; padding: 10px 12px; font-size: 14px; border-radius: 4px; }
  .brand-navigation .brand-menu summary .brand-chevron { margin-left: auto; }
  .brand-navigation .brand-submenu { position: static; min-width: 0; margin: 0 8px 6px 18px; padding: 0 0 0 8px; border: 0; border-left: 2px solid #f1d5d7; border-radius: 0; box-shadow: none; }
  .brand-navigation .brand-submenu a { min-height: 44px; padding: 10px; font-size: 13px; white-space: normal; }
}
@media (max-width: 600px) {
  .brand-header-inner { flex-direction: column; padding: 12px; gap: 12px; }
  .brand-header-actions { width: 100%; gap: 8px; }
  .brand-header-actions a { flex: 1; font-size: 12px; padding: 10px 8px; }
  .brand-menu { padding: 0 8px; gap: 0; }
  .brand-menu > li { flex: 1 0 50%; }
  .brand-menu > li > a, .brand-menu summary { min-height: 48px; font-size: 11px; padding: 10px 6px; }
  .brand-submenu { min-width: 210px; }
  .brand-menu > li:nth-child(even) .brand-submenu { left: auto; right: 0; }
}
@media (max-width: 760px) {
  .brand-header-inner { flex-direction: column; gap: 10px; padding: 10px 12px; }
  .brand-header-logo img { width: 180px; height: auto; }
  .brand-header-actions { width: 100%; gap: 8px; }
  .brand-header-actions a { flex: 1; min-width: 0; line-height: 1.4; }
  .brand-navigation { position: sticky; top: 0; }
  .brand-navigation .brand-menu { max-height: min(65dvh, 520px); }
  .brand-footer-links { gap: 4px 16px; padding: 12px; }
  .brand-footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-chevron { transition: none; }
}
