.rn-site-header {
  position:sticky;
  top:0;
  z-index:1000;
  width:100%;
  border-bottom:1px solid #d7e7f3;
  background:rgba(255,255,255,.96);
  box-shadow:0 8px 26px rgba(15,41,66,.06);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.rn-site-header .rn-site-nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  width:100%;
  max-width:1220px;
  margin:0 auto;
  padding:12px 18px;
}
.rn-site-header .rn-site-logo-link { display:block; flex:0 0 auto; }
.rn-site-header .rn-site-logo { display:block; width:auto; height:48px; }
.rn-site-header .rn-site-links { display:flex; align-items:center; gap:18px; font-size:14px; font-weight:850; }
.rn-site-header .rn-site-links > a:not(.rn-site-account) { color:#17334e; text-decoration:none; }
.rn-site-header .rn-site-links > a:not(.rn-site-account):hover { color:#0878bd; text-decoration:none; }
.rn-site-header .rn-site-account {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:42px;
  padding:8px 12px;
  border:1px solid #c9e1f2;
  border-radius:999px;
  background:#f8fcff;
  color:#17334e;
  font-weight:950;
  text-decoration:none;
}
.rn-site-header .rn-site-account:hover { border-color:#35aeee; background:#edf8ff; text-decoration:none; }
.rn-site-header .rn-site-account.is-premium { border-color:#69bdf2; background:linear-gradient(135deg,#38bdf8,#2563eb); color:#fff!important; box-shadow:0 10px 24px rgba(37,99,235,.18); }
.rn-site-header .rn-site-account svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.rn-site-header .rn-site-logout {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:8px 12px;
  border:1px solid #d8e5ee;
  border-radius:999px;
  background:#fff;
  color:#5d7185;
  font:900 13px/1 Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  cursor:pointer;
  box-shadow:none;
}
.rn-site-header .rn-site-logout:hover { border-color:#e6aaaa; background:#fff6f6; color:#a33a3a; }
.rn-site-header .rn-site-logout:disabled { opacity:.65; cursor:wait; }
.rn-site-header .rn-site-logout[hidden] { display:none!important; }
.rn-site-header .rn-site-menu-toggle {
  display:none;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  padding:0;
  border:1px solid #c9e1f2;
  border-radius:16px;
  background:#fff;
  color:#10263d;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(15,41,66,.08);
}
.rn-site-header .rn-site-menu-toggle span { display:block; width:19px; height:2px; border-radius:999px; background:currentColor; transition:transform .18s ease,opacity .18s ease; }
.rn-site-header .rn-site-menu-toggle span + span { margin-top:5px; }
.rn-site-header.menu-open .rn-site-menu-toggle span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.rn-site-header.menu-open .rn-site-menu-toggle span:nth-child(2) { opacity:0; }
.rn-site-header.menu-open .rn-site-menu-toggle span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
@media (max-width:760px) {
  .rn-site-header .rn-site-nav { position:relative; padding:9px 14px; }
  .rn-site-header .rn-site-logo { height:43px; }
  .rn-site-header .rn-site-menu-toggle { display:inline-flex; flex-direction:column; flex:0 0 auto; }
  .rn-site-header .rn-site-links {
    display:none;
    position:absolute;
    left:12px;
    right:12px;
    top:calc(100% + 8px);
    z-index:1010;
    grid-template-columns:1fr;
    gap:4px;
    padding:9px;
    border:1px solid #c9e1f2;
    border-radius:20px;
    background:rgba(255,255,255,.99);
    box-shadow:0 22px 60px rgba(15,41,66,.20);
  }
  .rn-site-header.menu-open .rn-site-links { display:grid; }
  .rn-site-header .rn-site-links > a,
  .rn-site-header .rn-site-links .rn-site-logout {
    display:flex;
    align-items:center;
    justify-content:flex-start;
    width:100%;
    min-height:42px;
    padding:10px 12px;
    border-radius:14px;
  }
  .rn-site-header .rn-site-links > a:not(.rn-site-account):hover { background:#f0f8ff; }
}
