/* One header for Andrei Efremov's English sites (owner 24.10.2026: the English sites are one ecosystem, a copy of the Russian one).
   The same sections and the same "Sign in" / "My space" button on efremovmethod.com, the stories site, mindchat.info, efremov.help and inflammaging.
   Colors come from the site (background and text are inherited), so it fits the light and the dark theme of each site.
   A site may set its own colors and stickiness: --efh-bg, --efh-fg, --efh-mark, --efh-line, --efh-position.
   On a phone the six sections take a second full-width line; from 375 pixels it fits, narrower it scrolls sideways.
   For a signed-in visitor on a narrow phone the name next to "Space" does not fit, so only the "E." mark stays and the header does not grow to three lines. */
.efh{position:var(--efh-position,relative);top:0;z-index:40;background:var(--efh-bg,inherit);color:var(--efh-fg,inherit);border-bottom:1px solid var(--efh-line,rgba(128,128,128,.24));font:500 14px/1.25 -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,"Golos Text",Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased;text-align:left}
.efh *{box-sizing:border-box}
.efh__in{max-width:1240px;margin:0 auto;padding:12px 24px;display:flex;align-items:center;gap:20px;min-height:64px}
.efh__brand{display:inline-flex;align-items:center;gap:10px;color:inherit!important;text-decoration:none!important;flex:none}
.efh__mark{font:700 23px/1 Georgia,"Times New Roman",serif;letter-spacing:-.02em;color:var(--efh-mark,inherit)}
.efh__name{font-weight:650;font-size:12.5px;letter-spacing:.09em;text-transform:uppercase;white-space:nowrap}
.efh__nav{display:flex;align-items:center;gap:2px;flex:1 1 auto;min-width:0}
.efh__nav a{color:inherit!important;text-decoration:none!important;padding:8px 10px;border-radius:8px;opacity:.76;white-space:nowrap;transition:opacity .15s,background-color .15s}
.efh__nav a[aria-current="page"]{opacity:1;font-weight:650;box-shadow:inset 0 -2px 0 currentColor;border-radius:0}
.efh__tools{display:flex;align-items:center;gap:10px;flex:none;margin-left:auto}
.efh__account{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 15px;border:1px solid currentColor;border-radius:999px;color:inherit!important;text-decoration:none!important;font-weight:600;white-space:nowrap;transition:background-color .15s}
.efh__short{display:none}
@media (hover:hover){.efh__nav a:hover{opacity:1;background:rgba(128,128,128,.13)}.efh__nav a[aria-current="page"]:hover{background:transparent}.efh__account:hover{background:rgba(128,128,128,.13)}}
.efh a:focus-visible{outline:2px solid currentColor;outline-offset:2px}
@media (max-width:960px){
 .efh{position:relative}
 .efh__in{flex-wrap:wrap;gap:6px 14px;padding:10px 16px 0;min-height:0}
 .efh__nav{order:3;flex:1 0 100%;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;margin:0 -16px;padding:0 8px 4px}
 .efh__nav::-webkit-scrollbar{display:none}
 .efh__nav a{padding:9px 10px}
}
@media (max-width:520px){.efh__name{font-size:11.5px;letter-spacing:.06em}.efh__long{display:none}.efh__short{display:inline}.efh__account{min-height:36px;padding:7px 13px}
 .efh__nav{justify-content:space-between;gap:0}.efh__nav a{font-size:13px;padding:10px 5px}}
@media (max-width:440px){[data-efh-signed-in] .efh__name{display:none}}
@media (max-width:360px){.efh__name{display:none}}
@media print{.efh{display:none}}
