/* ===============================
   GLOBAL
=================================*/
.main-header{
  font-family:'Segoe UI',sans-serif;
  position:relative;
  z-index:var(--z-sticky);
  margin-bottom:10px;
}

.main-header.is-scrolled .navbar,
.main-header.is-scrolled .mobile-header{
  box-shadow:none;
  border-bottom-color:#e2e8f0;
}

/* ===============================
   TOP BANNER
=================================*/
.top-banner{
  position:relative;
  padding:18px 16px;
  min-height:132px;
  overflow:hidden;
  background:#1e3c72;
  border-bottom:1px solid #1a3470;
  box-shadow:none;
}

.top-banner::before{
  display:none;
}

.top-banner > *{
  position:relative;
  z-index:var(--z-base);
}

.top-banner-inner{
  width:100%;
  max-width:none;
  padding:0 16px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  box-sizing:border-box;
  position:relative;
}

/* TITLE CENTER */
.logo-section{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  flex:1 1 100%;
}

.title{
  text-align:center;
}

.title .site-brand-title{
  font-size:40px;
  font-weight:800;
  line-height:1.12;
  letter-spacing:-0.025em;
  color:#fff;
  margin:0;
  text-shadow:none;
}
.title .site-brand-title span{color:#edb440;}

.title p{
  font-size:14px;
  font-weight:400;
  line-height:1.35;
  color:#e2e8f0;
  margin:4px 0 0;
}
.title p span{
  color:inherit;
  font-weight:inherit;
}

/* ===============================
   RIGHT SECTION (DESKTOP FIXED)
=================================*/
.right-section{
  position:absolute;
  right:16px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
  margin-left:0;
}

/* ===============================
   UPDATED INDICATOR
=================================*/
.site-updated-indicator{
  position:relative;
  display:none;
  align-items:center;
  gap:8px;
  flex-shrink:0;
  user-select:none;
  cursor:default;
  outline:none;
  padding:0;
  border:none;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
}

.site-updated-indicator__dot{
  position:relative;
  width:10px;
  height:10px;
  border-radius:50%;
  background:#4ade80;
  box-shadow:0 0 8px rgba(74,222,128,0.85);
  flex-shrink:0;
  animation:site-updated-blink 1.1s steps(1, end) infinite;
}

.site-updated-indicator__dot::after{
  content:"";
  position:absolute;
  inset:-4px;
  border-radius:50%;
  border:2px solid rgba(74,222,128,0.75);
  animation:site-updated-ring 1.1s ease-out infinite;
  pointer-events:none;
}

.site-updated-indicator__label{
  font-size:11px;
  font-weight:500;
  letter-spacing:0.07em;
  text-transform:uppercase;
  line-height:1;
  white-space:nowrap;
  color:#cbd5e1;
}

.site-updated-indicator__tooltip{
  position:absolute;
  top:calc(100% + 8px);
  left:50%;
  transform:translateX(-50%) translateY(4px);
  min-width:max-content;
  max-width:220px;
  padding:7px 10px;
  border-radius:8px;
  font-size:12px;
  font-weight:500;
  line-height:1.35;
  text-transform:none;
  letter-spacing:normal;
  white-space:normal;
  text-align:center;
  pointer-events:none;
  opacity:0;
  visibility:hidden;
  transition:opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index:calc(var(--z-sticky) + 2);
  background:#0f172a;
  color:#f8fafc;
  border:1px solid #334155;
  box-shadow:none;
}

.site-updated-indicator__tooltip::before{
  content:"";
  position:absolute;
  top:-5px;
  left:50%;
  transform:translateX(-50%) rotate(45deg);
  width:8px;
  height:8px;
  background:#0f172a;
}

/* Below tagline — solid chip (secondary to title) */
.site-updated-indicator--title{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  margin:8px auto 0;
  padding:4px 10px;
  border-radius:999px;
  background:#1d4ed8;
  border:1px solid #3b82f6;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}

.site-updated-indicator--title .site-updated-indicator__dot{
  width:7px;
  height:7px;
}

.site-updated-indicator--title .site-updated-indicator__label{
  font-size:8.5px;
  font-weight:600;
  letter-spacing:0.06em;
  color:#fff;
  opacity:1;
}

/* Mobile: below social icons */
.site-updated-indicator--below-social .site-updated-indicator__tooltip{
  left:auto;
  right:50%;
  transform:translate(50%, 4px);
}

.site-updated-indicator--below-social .site-updated-indicator__tooltip::before{
  left:auto;
  right:50%;
  transform:translateX(50%) rotate(45deg);
}

.site-updated-indicator--below-social{
  margin-top:2px;
}

@keyframes site-updated-blink{
  0%, 49%{
    opacity:1;
    background:#4ade80;
    box-shadow:0 0 10px rgba(74,222,128,0.95);
    transform:scale(1);
  }
  50%, 100%{
    opacity:0.2;
    background:#f87171;
    box-shadow:none;
    transform:scale(0.88);
  }
}

@keyframes site-updated-ring{
  0%{
    transform:scale(0.75);
    opacity:0.95;
  }
  100%{
    transform:scale(2.4);
    opacity:0;
  }
}

@media (min-width: 769px){
  .site-updated-indicator--title{
    display:inline-flex;
  }

  .site-updated-indicator--below-social{
    display:none !important;
  }

  .site-updated-indicator--title:hover .site-updated-indicator__tooltip,
  .site-updated-indicator--title:focus-visible .site-updated-indicator__tooltip{
    opacity:1;
    visibility:visible;
    transform:translateX(-50%) translateY(0);
  }
}

.site-updated-indicator.is-tooltip-visible .site-updated-indicator__tooltip{
  opacity:1;
  visibility:visible;
}

.site-updated-indicator--title.is-tooltip-visible .site-updated-indicator__tooltip{
  transform:translateX(-50%) translateY(0);
}

.site-updated-indicator--below-social.is-tooltip-visible .site-updated-indicator__tooltip{
  transform:translate(50%, 0);
}

@media (prefers-reduced-motion: reduce){
  .site-updated-indicator__dot{
    animation:none;
    opacity:1;
    background:#4ade80;
  }

  .site-updated-indicator__dot::after{
    animation:none;
    display:none;
  }
}

/* ===============================
   SOCIAL (desktop banner only — hidden on mobile)
=================================*/
.social-icons{
  display:flex;
  align-items:center;
  gap:8px;
}

.social-icons a{
  text-decoration:none;
  outline:none;
  display:inline-flex;
  -webkit-tap-highlight-color:transparent;
}

.social-icons a:focus{
  outline:none;
}

.social-icons a:focus-visible i{
  outline:2px solid rgba(255,255,255,0.95);
  outline-offset:2px;
}

.social-icons i{
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  border-radius:10px;
  border:1px solid var(--social-icon-border);
  background:var(--social-facebook-bg);
  color:#fff;
  transition:background-color 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

.social-icons a.social-telegram i{
  background:var(--social-telegram-bg);
}

.social-icons a.social-whatsapp i{
  background:var(--social-whatsapp-bg);
}

.social-icons a.social-facebook i{
  background:var(--social-facebook-bg);
}

@media (min-width: 769px) {
  .social-icons{
    gap:10px;
  }

  .social-icons i{
    width:38px;
    height:38px;
    min-width:38px;
    min-height:38px;
    font-size:16px;
    border-radius:11px;
    box-shadow:none;
  }

  .social-icons a:hover i{
    filter:brightness(1.06);
    box-shadow:none;
  }

  .social-icons a:active i{
    filter:brightness(0.96);
    box-shadow:none;
  }
}

/* Desktop: brand block — title, 2-line tagline, room for right section */
@media (min-width: 769px) {
  .top-banner{
    min-height:168px;
    padding:24px 20px;
    box-shadow:none;
  }

  .logo-section{
    padding-right:160px;
    padding-left:20px;
    box-sizing:border-box;
  }

  .title .site-brand-title{
    font-size:42px;
    white-space:nowrap;
    text-shadow:none;
  }

  .title p{
    font-size:14px;
    font-weight:400;
    line-height:1.4;
    color:#e2e8f0;
    margin:6px auto 0;
    max-width:min(560px, calc(100vw - 280px));
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    white-space:normal;
    overflow:hidden;
    text-overflow:ellipsis;
  }
}

/* ===============================
   TOOLS BUTTON
=================================*/
.tools-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:38px;
  padding:8px 14px;
  border-radius:11px;
  border:1px solid var(--ui-control-border);
  background:var(--ui-control-bg);
  color:var(--ui-control-text);
  font-size:13px;
  font-weight:600;
  line-height:1.2;
  cursor:pointer;
  box-shadow:none;
  transition:background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color:transparent;
}

.tools-btn::after{
  content:"";
  width:0;
  height:0;
  margin-top:2px;
  border-left:4px solid transparent;
  border-right:4px solid transparent;
  border-top:5px solid currentColor;
  transition:transform 0.2s ease;
}

.tools-btn.is-open::after{
  transform:rotate(180deg);
}

.tools-btn:hover{
  background:var(--ui-control-bg-hover);
  border-color:var(--ui-control-border-hover);
  color:var(--ui-control-text);
}

.tools-btn:active{
  background:var(--ui-soft-bg-hover);
  border-color:var(--ui-soft-border);
}

@media (min-width: 769px) {
  .right-section .tools-btn{
    display:inline-flex;
  }
}

/* ===============================
   DESKTOP NAVBAR
=================================*/
.navbar{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:nowrap;
  gap:6px 4px;
  width:var(--layout-desktop-width, 80%);
  max-width:var(--layout-desktop-max, 1200px);
  padding:10px 16px;
  margin:0 auto;
  box-sizing:border-box;
  position:sticky;
  top:0;
  z-index:var(--z-sticky);
  background:#fff;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  border-bottom:1px solid #e2e8f0;
  transition:border-color 0.2s ease;
}

/* 9 nav items need ~1025px; default 80% bar is too narrow at 1024–1280 */
@media (min-width: 769px) and (max-width: 1365px) {
  .navbar {
    width: min(calc(100% - 20px), var(--layout-desktop-max, 1200px));
    max-width: calc(100% - 20px);
    gap: 3px;
    padding: 9px 12px;
  }

  .navbar .nav-item {
    padding: 10px 10px;
    font-size: 13px;
    white-space: nowrap;
    flex: 0 1 auto;
  }

  .navbar .nav-item i {
    margin-right: 5px;
  }

  .navbar .nav-item::after {
    left: 10px;
    right: 10px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .navbar {
    width: calc(100% - 12px);
    max-width: 100%;
    gap: 2px;
    padding: 8px 8px;
  }

  .navbar .nav-item {
    padding: 10px 8px;
    font-size: 12.5px;
  }

  .navbar .nav-item i {
    margin-right: 4px;
    font-size: 0.88em;
  }
}

.navbar .nav-item{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  padding:10px 14px;
  min-height:44px;
  border-radius:10px;
  border:1px solid transparent;
  font-weight:600;
  font-size:14px;
  line-height:1.2;
  color:var(--nav-text);
  background:transparent;
  transition:color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color:transparent;
}

.navbar .nav-item i{
  margin-right:6px;
  font-size:0.95em;
  opacity:0.9;
}

.navbar .nav-item::after{
  content:"";
  position:absolute;
  left:12px;
  right:12px;
  bottom:7px;
  height:2px;
  border-radius:1px;
  background:var(--brand-blue);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform 0.2s ease;
}

.navbar .nav-item:hover:not(.active){
  background:var(--nav-hover-bg);
  color:var(--nav-text-hover);
}

.navbar .nav-item:hover:not(.active)::after{
  transform:scaleX(1);
}

.navbar .nav-item.active{
  background:var(--nav-active-bg);
  color:var(--nav-active-text);
  border:1px solid var(--nav-active-border);
  box-shadow:none;
}

.navbar .nav-item.active::after{
  display:none;
}

.navbar .nav-item.active i{
  opacity:1;
  color:var(--nav-active-text);
}

/* ===============================
   MOBILE HEADER
=================================*/
.mobile-header{
  display:none;
}

.hamburger{
  display:none;
}

/* ===============================
   MOBILE STYLE
=================================*/
@media (max-width: 768px) {

  .main-header{
    margin-bottom:0;
  }

  .top-banner{
    min-height:124px;
    padding:16px 12px 10px;
    display:flex;
    align-items:center;
  }

  .top-banner::before{
    display:none;
  }

.title .site-brand-title{
  font-size:27px;
  font-weight:800;
  letter-spacing:-0.025em;
  line-height:1.08;
  text-shadow:none;
}
.title p{
  display:block;
  font-size:11px;
  font-weight:500;
  line-height:1.35;
  color:#e2e8f0;
  margin:4px auto 0;
  padding:0 12px;
  max-width:340px;
  white-space:normal;
  overflow:visible;
  text-overflow:unset;
}

.top-banner-inner{
  width:100%;
  max-width:100%;
  padding:0 10px;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:0;
}

.logo-section{
  width:100%;
  justify-content:center;
}

.title{
  text-align:center;
}

.right-section{
  display:none;
}

.top-banner .social-icons{
  display:none !important;
}

.site-updated-indicator--title{
  margin-top:4px;
  padding:5px 11px;
}

.site-updated-indicator--below-social{
  display:none !important;
}

/* HIDE DESKTOP NAV */
.navbar{
  display:none;
}

/* MOBILE HEADER */
.mobile-header{
  display:block;
  background:#fff;
  position:sticky;
  top:0;
  z-index:var(--z-sticky);
  border-bottom:1px solid #e2e8f0;
  transition:border-color 0.2s ease;
  overflow:visible;
}

/* NAV */
.mobile-nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:2px 12px;
  min-height:44px;
  box-sizing:border-box;
}

/* TOGGLE */
.hamburger{
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  min-width:44px;
  min-height:44px;
  border-radius:11px;
  border:1px solid var(--mobile-tools-border);
  background:var(--mobile-tools-bg);
  color:var(--mobile-tools-text);
  font-size:18px;
  line-height:1;
  cursor:pointer;
  box-shadow:none;
  transition:background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color:transparent;
}

.hamburger:hover{
  background:var(--mobile-tools-bg-hover);
  border-color:var(--mobile-tools-border-hover);
}

.hamburger:active{
  transform:scale(0.98);
  background:var(--mobile-tools-bg-hover);
}

/* RIGHT */
.mobile-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

/* SEARCH */
.header-search-mobile-btn,
.mobile-actions > i{
  width:44px;
  height:44px;
  min-width:44px;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:11px;
  border:1px solid var(--mobile-tools-border);
  background:var(--mobile-tools-bg);
  color:var(--ui-control-icon);
}

.header-search-mobile-btn{
  padding:0;
  cursor:pointer;
  box-shadow:none;
  transition:background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color:transparent;
}

.header-search-mobile-btn:hover{
  background:var(--mobile-tools-bg-hover);
  border-color:var(--mobile-tools-border-hover);
  color:var(--brand-blue-dark);
}

/* TOOLS */
.mobile-tools{
  min-height:44px;
  padding:9px 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  border-radius:11px;
  border:1px solid var(--mobile-tools-border);
  background:var(--mobile-tools-bg);
  color:var(--mobile-tools-text);
  font-size:13px;
  font-weight:600;
  line-height:1.2;
  box-shadow:none;
  transition:background-color 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color:transparent;
}

.mobile-tools:hover{
  background:var(--mobile-tools-bg-hover);
  border-color:var(--mobile-tools-border-hover);
}

.mobile-tools:active{
  transform:scale(0.98);
  background:var(--mobile-tools-bg-hover);
  box-shadow:none;
}

/* MOBILE MENU — fixed drawer above overlay (not clipped by header overflow) */
#navbar{
  position:fixed;
  top:var(--mobile-nav-offset, 56px);
  left:0;
  bottom:0;
  width:min(85vw, 360px);
  max-width:360px;

  background:#f8fafc;

  display:flex;
  flex-direction:column;
  gap:8px;

  padding:16px 12px;
  padding-bottom:max(16px, env(safe-area-inset-bottom));
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;

  transform:translateX(-100%);
  transition:transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change:transform;

  box-shadow:none;
  border-right:1px solid #e2e8f0;
  z-index:calc(var(--z-overlay) + 1);
  pointer-events:auto;
}

#navbar.active{
  transform:translateX(0);
}

/* Keep tap bar above dimmer while menu is open */
body.mobile-nav-open .mobile-nav{
  position:relative;
  z-index:calc(var(--z-overlay) + 2);
}

#navbar .nav-item{
  box-sizing:border-box;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  min-height:48px;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid #e2e8f0;
  font-size:15px;
  font-weight:600;
  line-height:1.3;
  color:#334155;
  text-decoration:none;
  text-transform:none;
  background:#fff;
  box-shadow:none;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    transform 0.1s ease;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}

#navbar .nav-item i{
  flex:0 0 22px;
  width:22px;
  margin-right:0;
  text-align:center;
  font-size:16px;
  color:#64748b;
}

#navbar .nav-item:hover{
  background:var(--nav-hover-bg);
  border-color:var(--ui-soft-border);
  color:var(--nav-text-hover);
}

#navbar .nav-item:active{
  transform:scale(0.985);
  background:var(--ui-soft-bg);
  border-color:var(--ui-soft-border);
}

#navbar .nav-item.active{
  background:var(--nav-active-bg);
  border-color:var(--nav-active-border);
  color:var(--nav-active-text);
  font-weight:600;
  font-size:15px;
  box-shadow:none;
}

#navbar .nav-item.active i{
  color:var(--nav-active-text);
}

.mobile-legal{
  margin-top:8px;
  padding-top:12px;
  border-top:1px solid #e5e7eb;
}

.mobile-legal-toggle{
  width:100%;
  box-sizing:border-box;
  border:1px solid #e2e8f0;
  background:#fff;
  border-radius:12px;
  min-height:48px;
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:15px;
  font-weight:600;
  color:#334155;
  cursor:pointer;
  box-shadow:none;
  transition:background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}

.mobile-legal-toggle:active{
  transform:scale(0.985);
  background:#eef2ff;
  border-color:#c7d2fe;
}

.mobile-legal-toggle span{
  display:flex;
  align-items:center;
  gap:8px;
}

.legal-chevron{
  transition:transform .25s ease;
}

.mobile-legal.active .legal-chevron{
  transform:rotate(180deg);
}

.mobile-legal-menu{
  max-height:0;
  overflow:hidden;
  transition:max-height 0.22s ease, margin-top 0.22s ease;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.mobile-legal.active .mobile-legal-menu{
  max-height:220px;
  margin-top:8px;
}

.mobile-legal-link{
  display:flex;
  align-items:center;
  min-height:44px;
  text-decoration:none;
  color:#334155;
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:10px;
  padding:10px 14px;
  font-size:14px;
  font-weight:500;
  transition:background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}

.mobile-legal-link:active{
  transform:scale(0.985);
  background:#f8fafc;
}

.mobile-legal-link:hover{
  border-color:#cbd5e1;
  background:#f8fafc;
}

/* HIDE DESKTOP TOOLS */
.right-section .tools-btn{
  display:none;
}

}

/* ===============================
   TOOLS MENU
=================================*/
.tools-menu{
  position:absolute;
  top:85px;
  right:15px;
  z-index:var(--z-toast);

  background:#fff;
  border-radius:10px;
  border:1px solid #e2e8f0;

  padding:6px;
  min-width:200px;

  display:flex;
  flex-direction:column;

  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.tools-menu.active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0);
  box-shadow:none;
}

.tools-menu a{
  padding:10px 12px;
  min-height:44px;
  display:flex;
  align-items:center;
  text-decoration:none;
  color:#334155;
  font-weight:500;
  border-radius:8px;
  transition:background-color 0.2s ease, color 0.2s ease;
}

.tools-menu a:hover{
  background:#f1f5f9;
  color:#1e40af;
}

/* OVERLAY — below tools dropdown so menu stays clickable */
.tools-overlay{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:var(--z-modal);
  background:rgba(0,0,0,0.3);
  display:none;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity 0.2s ease, visibility 0.2s ease;
}

.tools-overlay.active{
  display:block;
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

/* Mobile full-screen dimmer (below slide-in #navbar) */
.menu-overlay{
  display:none;
  position:fixed;
  inset:0;
  z-index:var(--z-overlay);
  background:rgba(0,0,0,0.35);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity 0.25s ease, visibility 0.25s ease;
}

.menu-overlay.active{
  display:block;
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

body.mobile-nav-open{
  overflow:hidden;
}

body.tools-menu-open{
  overflow:hidden;
}

@media (prefers-reduced-motion: reduce) {
  .navbar,
  #navbar,
  .tools-menu,
  .tools-btn::after,
  .legal-chevron,
  .mobile-legal-menu,
  .menu-overlay,
  .tools-overlay{
    transition:none;
  }
}

@media (max-width: 768px) {

  /* Mobile banner: tighter block; toolbar stays compact below */
  .top-banner{
    display:flex;
    align-items:center;
    min-height:124px;
    padding:16px 12px 10px;
  }

  .title p{
    font-size:11px;
    font-weight:500;
    line-height:1.35;
    color:#e2e8f0;
    margin:4px auto 0;
    max-width:340px;
    white-space:normal;
    overflow:visible;
    text-overflow:unset;
  }

  /* Header shell: full-width flex row, no horizontal overflow */
  .main-header,
  .header{
    box-sizing:border-box;
    width:100%;
    max-width:100%;
  }

  .mobile-header{
    box-sizing:border-box;
    width:100%;
    max-width:100%;
    overflow:visible;
  }

  .mobile-nav{
    box-sizing:border-box;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    width:100%;
    max-width:100%;
    min-height:44px;
    padding:2px max(12px, env(safe-area-inset-left)) 2px max(12px, env(safe-area-inset-right));
  }

  .mobile-actions{
    display:flex;
    align-items:center;
    gap:8px;
    flex:0 0 auto;
  }

  .header-search-mobile-btn{
    box-sizing:border-box;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    min-width:44px;
    min-height:44px;
    padding:0;
    border:1px solid var(--mobile-tools-border);
    border-radius:11px;
    background:var(--mobile-tools-bg);
    color:var(--ui-control-icon);
    cursor:pointer;
    flex-shrink:0;
    box-shadow:none;
  }

  .header-search-mobile-btn i{
    font-size:18px;
    pointer-events:none;
  }

  /* Icon inside old markup (if any) */
  .mobile-actions > i{
    box-sizing:border-box;
    min-width:44px;
    min-height:44px;
    width:44px;
    height:44px;
  }
  
  }