/* Everfall side menu: compact (icons + short labels), or a slim icon rail when hidden.
   html[data-sidemenu] is set by js/sidemenu.js in <head> from localStorage ef.sidemenu, before the first paint. */
.nav-fold,.side-tip{display:none}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a{--sm-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a[href="/"]{--sm-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11 12 4l8 7'/%3E%3Cpath d='M6 9.5V20h4.5v-5h3v5H18V9.5'/%3E%3C/svg%3E")}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a[href="/live"]{--sm-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='2.2'/%3E%3Cpath d='M7.8 7.8a6 6 0 0 0 0 8.4M16.2 7.8a6 6 0 0 1 0 8.4M5 5a10 10 0 0 0 0 14M19 5a10 10 0 0 1 0 14'/%3E%3C/svg%3E")}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a[href="/map"]{--sm-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4 3.5 6v14L9 18l6 2 5.5-2V4L15 6 9 4Z'/%3E%3Cpath d='M9 4v14M15 6v14'/%3E%3C/svg%3E")}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a[href="/games"]{--sm-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 7.5h9a4.5 4.5 0 0 1 4.4 5.5l-.8 3.6a2 2 0 0 1-3.4.9L14.5 15h-5l-2.2 2.5a2 2 0 0 1-3.4-.9l-.8-3.6a4.5 4.5 0 0 1 4.4-5.5Z'/%3E%3Cpath d='M8 10v3.4M6.3 11.7h3.4'/%3E%3Ccircle cx='15.4' cy='10.8' r='.7'/%3E%3Ccircle cx='17.3' cy='12.7' r='.7'/%3E%3C/svg%3E")}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a[href="/everpass"]{--sm-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7.5h16v3a1.8 1.8 0 0 0 0 3.6v3H4v-3a1.8 1.8 0 0 0 0-3.6Z'/%3E%3Cpath d='M14.5 8v1.4M14.5 11.3v1.4M14.5 14.6V16'/%3E%3C/svg%3E")}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a[href="/quests"]{--sm-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 21V4'/%3E%3Cpath d='M5.5 4.5h11l-2 3.5 2 3.5h-11'/%3E%3C/svg%3E")}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a[href="/bounty"]{--sm-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='7.5'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3Cpath d='M12 2.5v4M12 17.5v4M2.5 12h4M17.5 12h4'/%3E%3C/svg%3E")}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a[href="/boards"]{--sm-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4.5h10v3.2a5 5 0 0 1-10 0Z'/%3E%3Cpath d='M7 5.6H4.4v1.2A3.2 3.2 0 0 0 7 9.9M17 5.6h2.6v1.2A3.2 3.2 0 0 1 17 9.9'/%3E%3Cpath d='M12 12.9v3.4M8.8 19.5h6.4'/%3E%3C/svg%3E")}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a[href="/store"]{--sm-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12H6.2Z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E")}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a[href="/studio"]{--sm-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5a8.5 8.5 0 0 0 0 17c1.4 0 2.2-.8 2.2-1.8 0-1.3-1.3-1.6-1.3-2.7 0-.9.7-1.5 1.8-1.5h1.9a3.9 3.9 0 0 0 3.9-3.9C20.5 6.6 16.7 3.5 12 3.5Z'/%3E%3Ccircle cx='7.8' cy='11' r='1'/%3E%3Ccircle cx='10.3' cy='7.3' r='1'/%3E%3Ccircle cx='14.7' cy='7.6' r='1'/%3E%3C/svg%3E")}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a[href="/skinshop"]{--sm-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 12.2V4.5a1 1 0 0 1 1-1h7.7l8.3 8.3-8.5 8.5Z'/%3E%3Ccircle cx='8' cy='8' r='1.5'/%3E%3C/svg%3E")}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a[href="/streamers"]{--sm-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='6.5' width='12' height='11' rx='2'/%3E%3Cpath d='m15.5 10.5 5-3v9l-5-3'/%3E%3C/svg%3E")}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a[href="/rules"]{--sm-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4.5h9.5a2 2 0 0 1 2 2V20H7a2 2 0 0 1-2-2Z'/%3E%3Cpath d='M5 18a2 2 0 0 1 2-2h9.5M8.5 8.5h5M8.5 11.5h5'/%3E%3C/svg%3E")}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a[href="/support"]{--sm-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 17.5h16M4.5 7.5 8 11l4-5.5 4 5.5 3.5-3.5-1.4 8H5.9Z'/%3E%3C/svg%3E")}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a[href="/download"]{--sm-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 4 8.5 4.5L12 13 3.5 8.5Z'/%3E%3Cpath d='m3.5 12.5 8.5 4.5 8.5-4.5M3.5 16.5 12 21l8.5-4.5'/%3E%3C/svg%3E")}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a[href="/admin"]{--sm-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 5 5.8v5.6c0 4.4 3 7.8 7 9.1 4-1.3 7-4.7 7-9.1V5.8Z'/%3E%3Cpath d='m9.2 12 2 2 3.6-4'/%3E%3C/svg%3E")}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a.ef-cc-navlink{--sm-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 7.5A1.5 1.5 0 0 1 5 6h14a1.5 1.5 0 0 1 1.5 1.5v2a2.5 2.5 0 0 0 0 5v2A1.5 1.5 0 0 1 19 18H5a1.5 1.5 0 0 1-1.5-1.5v-2a2.5 2.5 0 0 0 0-5z'/%3E%3Cpath d='M14.5 6v2.2M14.5 10.9v2.2M14.5 15.8V18'/%3E%3Cpath d='m8.3 10.4.75 1.5 1.65.25-1.2 1.15.3 1.65-1.5-.8-1.5.8.3-1.65-1.2-1.15 1.65-.25z' stroke-width='1.3'/%3E%3C/svg%3E")}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-fold{--sm-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m14.5 6-6 6 6 6'/%3E%3Cpath d='M19 5v14'/%3E%3C/svg%3E")}
:root[data-site-shell="rail"][data-sidemenu="hidden"]:not([data-embed]) body:not(.map-explorer) .nav .nav-fold{--sm-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9.5 6 6 6-6 6'/%3E%3Cpath d='M5 5v14'/%3E%3C/svg%3E")}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a::before,:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-fold::before{content:"";display:block;flex:0 0 auto;width:16px;height:16px;margin:0;border:0;background:currentColor;-webkit-mask:var(--sm-ico) center/100% 100% no-repeat;mask:var(--sm-ico) center/100% 100% no-repeat}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a::after{content:none;display:none}
@media (min-width:821px){
:root[data-site-shell="rail"][data-sidemenu="shown"]:not([data-embed]) body:not(.map-explorer){--rl-w:176px;--rl-icon-w:176px}
:root[data-site-shell="rail"][data-sidemenu="hidden"]:not([data-embed]) body:not(.map-explorer){--rl-w:64px;--rl-icon-w:64px}
:root[data-site-shell="rail"][data-sidemenu]:not([data-embed]) body:not(.map-explorer) .nav .nav-in{padding:22px 0 12px}
:root[data-site-shell="rail"][data-sidemenu]:not([data-embed]) body:not(.map-explorer) .nav .nav-links{gap:2px;margin:0 0 12px}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>.wc-ink{display:none}
:root[data-site-shell="rail"][data-sidemenu]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a{width:auto;height:32px;margin:0 8px;padding:0 12px;gap:10px;justify-content:flex-start;border-radius:8px;background:none;color:var(--rl-ink-50);font-size:10.5px;letter-spacing:var(--rl-label);line-height:1;white-space:nowrap;overflow:hidden}
:root[data-site-shell="rail"][data-sidemenu]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a:hover,:root[data-site-shell="rail"][data-sidemenu]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a:focus-visible{color:var(--fg);background:color-mix(in srgb,var(--fg) 6%,transparent)}
:root[data-site-shell="rail"][data-sidemenu]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a[aria-current="page"]{color:var(--accent-hi);background:var(--rl-wash)}
:root[data-site-shell="rail"][data-sidemenu]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a:focus-visible,:root[data-site-shell="rail"][data-sidemenu]:not([data-embed]) body:not(.map-explorer) .nav .nav-fold:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
:root[data-site-shell="rail"][data-sidemenu="shown"]:not([data-embed]) body:not(.map-explorer) .nav .brand{display:flex;align-items:center;justify-content:flex-start;gap:10px;margin:0 0 10px;padding:0 16px 12px}
:root[data-site-shell="rail"][data-sidemenu="shown"]:not([data-embed]) body:not(.map-explorer) .nav .brand img{width:34px;height:34px}
:root[data-site-shell="rail"][data-sidemenu="shown"]:not([data-embed]) body:not(.map-explorer) .nav .brand-txt{display:grid;justify-items:start;gap:2px;text-align:left}
:root[data-site-shell="rail"][data-sidemenu="shown"]:not([data-embed]) body:not(.map-explorer) .nav .brand-txt,:root[data-site-shell="rail"][data-sidemenu="shown"]:not([data-embed]) body:not(.map-explorer) .nav .brand-txt>span:not(.brand-cursor){position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto;clip-path:none}
:root[data-site-shell="rail"][data-sidemenu="shown"]:not([data-embed]) body:not(.map-explorer) .nav .brand-txt>span:not(.brand-cursor){display:block}
:root[data-site-shell="rail"][data-sidemenu="hidden"]:not([data-embed]) body:not(.map-explorer) .nav .brand{display:flex;justify-content:center;margin:0 0 10px;padding:0 0 12px}
:root[data-site-shell="rail"][data-sidemenu="hidden"]:not([data-embed]) body:not(.map-explorer) .nav .brand img{width:36px;height:36px}
:root[data-site-shell="rail"][data-sidemenu="hidden"]:not([data-embed]) body:not(.map-explorer) .nav .brand-txt{display:none}
:root[data-site-shell="rail"][data-sidemenu="hidden"]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a{height:38px;margin:0 12px;padding:0;gap:0;justify-content:center;font-size:0;letter-spacing:0}
:root[data-site-shell="rail"][data-sidemenu="hidden"]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a::before{width:19px;height:19px}
:root[data-site-shell="rail"][data-sidemenu]:not([data-embed]) body:not(.map-explorer) .nav .nav-fold{display:flex;align-items:center;gap:10px;flex:0 0 auto;margin:auto 8px 0;padding:0 12px;height:36px;border:1px solid var(--rl-line);border-radius:8px;background:var(--rl-wash-soft);color:var(--rl-ink-50);font-family:var(--font-ui);font-size:12px;font-weight:500;letter-spacing:.03em;line-height:1;white-space:nowrap;cursor:pointer}
:root[data-site-shell="rail"][data-sidemenu]:not([data-embed]) body:not(.map-explorer) .nav .nav-fold:hover{color:var(--fg);border-color:var(--rl-line-lit)}
:root[data-site-shell="rail"][data-sidemenu="hidden"]:not([data-embed]) body:not(.map-explorer) .nav .nav-fold{justify-content:center;margin:auto 12px 0;padding:0;height:38px}
:root[data-site-shell="rail"][data-sidemenu="hidden"]:not([data-embed]) body:not(.map-explorer) .nav .nav-fold>span{display:none}
.side-tip{position:fixed;z-index:calc(var(--z-nav,60) + 5);display:block;transform:translateY(-50%);padding:7px 12px;border:1px solid var(--rl-line-lit);border-radius:7px;background:color-mix(in srgb,var(--surface-2) 96%,transparent);color:var(--fg);font-family:var(--font-ui);font-size:13px;font-weight:600;letter-spacing:.03em;white-space:nowrap;pointer-events:none;box-shadow:0 10px 26px color-mix(in srgb,var(--bg-deep) 70%,transparent)}
.side-tip[hidden]{display:none}
}
@media (max-width:820px){
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav{overflow:visible}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-links[data-open="true"]{justify-content:flex-start;min-height:calc(100vh - 100%);background:var(--bg-deep);-webkit-backdrop-filter:none;backdrop-filter:none}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .burger{order:1;margin-left:auto}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-util{order:2;flex:1 0 100%;justify-content:flex-start}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a{justify-content:flex-start;gap:14px;padding:0 20px;min-height:44px;font-size:12.5px;letter-spacing:var(--rl-label);text-align:left}
:root[data-site-shell="rail"]:not([data-embed]) body:not(.map-explorer) .nav .nav-links>a::before{width:18px;height:18px}
}
