/* keep the bottom menu at the bottom of short pages */
body { min-height: 100vh; display: flex; flex-direction: column; }
body > .sitefoot { margin-top: auto; }
body > :not(.sitebar):not(.sitefoot):not(script) { width: 100%; box-sizing: border-box; }

/* The same top bar and bottom menu on every page of arxlink.network. */
.sitebar { position: sticky; top: 0; z-index: 50; background: rgba(11, 16, 22, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid #24313F; margin: 0; padding: 0; }
.sitebar .sb-wrap, .sitefoot .sb-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.sitebar .sb-wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.sb-grow { flex: 1; }
.sb-wm { font-family: 'Cinzel', Georgia, serif; font-weight: 700; letter-spacing: .18em; color: #EEF1F4; text-decoration: none; font-size: 21px; white-space: nowrap; }
.sb-wm span { color: #D4A84B; }
.sb-buy { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 16px; border-radius: 12px; background: #D4A84B; color: #0B1016; font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap; font-family: 'Manrope', system-ui, sans-serif; }
.sb-buy:hover { background: #F0C76A; color: #0B1016; }
#langslot { display: flex; }
#langslot .seg { display: inline-flex; border: 2px solid #24313F; border-radius: 12px; padding: 3px; gap: 2px; background: #0E141B; }
#langslot .seg button { height: 32px; min-width: 40px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: #C9D1DA; font: inherit; font-family: 'Manrope', system-ui, sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .04em; cursor: pointer; }
#langslot .seg button[aria-pressed="true"] { background: #D4A84B; color: #0B1016; }
.sitefoot { border-top: 1px solid #24313F; padding: 28px 0 40px; margin: 0; color: #9AA6B2; font-size: 14px; text-align: left; font-family: 'Manrope', system-ui, sans-serif; background: #0B1016; }
.sitefoot .sb-wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.sitefoot .sb-wm { font-size: 16px; }
.sitefoot .sb-llc { flex: 1; min-width: 160px; }
.sitefoot .sb-links { display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: flex-start; margin: 0; padding: 0; flex: 0 1 auto; font-size: 14px; font-weight: 400; }
.sitefoot .sb-links a { color: #C9D1DA; font-size: 14px; font-weight: 400; text-decoration: underline; padding: 0; margin: 0; background: none; border: 0; }
.sitefoot .sb-links a:hover { color: #F0C76A; }
.sitefoot .sb-links a[aria-current="page"] { font-size: 14px; color: #D4A84B; font-weight: 800; text-decoration: none; }
/* main links in the top bar (computers) and the Menu button (phones and small windows) */
.sb-nav { display: flex; align-items: center; gap: 4px; margin: 0 0 0 18px; padding: 0; flex: 0 0 auto; flex-wrap: nowrap; justify-content: flex-start; font-size: 15px; font-weight: 700; }
.sb-nav a, .sb-drop a { color: #C9D1DA; text-decoration: none; font-family: 'Manrope', system-ui, sans-serif; font-weight: 700; font-size: 15px; padding: 8px 10px; border-radius: 10px; white-space: nowrap; }
.sb-nav a:hover, .sb-drop a:hover { color: #F0C76A; background: rgba(255,255,255,.04); }
.sb-nav a[aria-current="page"], .sb-drop a[aria-current="page"] { color: #D4A84B; }
.sb-menu { display: none; position: relative; border: 0; padding: 0; margin: 0; background: none; border-radius: 0; }
.sb-menu summary { list-style: none; margin: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 2px solid #24313F; border-radius: 12px; background: #0E141B; color: #EEF1F4; font-family: 'Manrope', system-ui, sans-serif; font-weight: 800; font-size: 14px; user-select: none; }
.sb-menu summary::-webkit-details-marker { display: none; }
.sb-menu[open] summary { border-color: #D4A84B; }
.sb-drop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; display: flex; flex-direction: column; gap: 2px; padding: 10px; background: #141C25; border: 2px solid #24313F; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.55); }
.sb-drop a { font-size: 16px; padding: 12px 12px; }
.sb-drop .sb-dbuy { background: #D4A84B; color: #0B1016; text-align: center; font-weight: 800; margin-bottom: 6px; }
.sb-drop .sb-dbuy:hover { background: #F0C76A; color: #0B1016; }
@media (max-width: 1140px) {
  .sb-nav, .sb-buy { display: none; }
  .sb-menu { display: block; }
}
@media (max-width: 560px) {
  .sitebar .sb-wrap { gap: 8px; padding: 0 12px; }
  .sb-wm { font-size: 17px; letter-spacing: .14em; }
  #langslot .seg button { min-width: 34px; padding: 0 7px; }
}
@media (max-width: 400px) {
  .sitebar .sb-wrap { gap: 6px; padding: 0 10px; }
  .sb-wm { font-size: 15px; letter-spacing: .1em; }
  #langslot .seg button { min-width: 30px; padding: 0 5px; }
  .sb-menu summary { padding: 0 9px; }
}

/* "Skip to content" link: hidden until a keyboard user tabs to it */
.skip { position: absolute; left: -9999px; top: 12px; z-index: 1000; padding: 10px 16px; border-radius: 10px; background: #D4A84B; color: #0B1016; font-weight: 800; text-decoration: none; font-family: 'Manrope', system-ui, sans-serif; }
.skip:focus { left: 12px; }
.sitefoot .sb-mail { color: #C9D1DA; text-decoration: underline; }
.sitefoot .sb-mail:hover { color: #F0C76A; }
