/* Shared return link; no account, storage, or business behavior. */
.lucaslab-home-link {
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 4px;
  outline-offset: 4px;
}
.lucaslab-home-link:focus-visible {
  outline: 2px solid currentColor;
}
.world-header.world-header nav > .lucaslab-home-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.world-header.world-header {
  height: auto;
  min-height: 86px;
  gap: 12px 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.world-header.world-header nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 24px;
}
.standalone-reader .reader-topbar > span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.standalone-reader .reader-topbar > a {
  flex-shrink: 0;
  white-space: nowrap;
}
.lucaslab-home-nav {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 44px;
  padding: 0 20px;
  border-bottom: 1px solid #dce7e2;
  background: #fff;
  font-family: system-ui, "Microsoft YaHei", sans-serif;
}
.lucaslab-home-nav .lucaslab-home-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #056b61;
  font-size: 14px;
  line-height: 1.5;
}
@media (max-width: 480px) {
  /* Preserve the existing small-screen hiding of the landscape shortcut. */
  .world-header.world-header nav > a[href="#bookscape"] {
    display: none;
  }
}
@media (max-width: 600px) {
  .world-header.world-header {
    flex-wrap: wrap;
    gap: 4px 16px;
  }
  .world-header.world-header nav {
    width: 100%;
    justify-content: space-between;
    gap: 4px 12px;
    font-size: 12px;
    letter-spacing: .03em;
  }
  .standalone-reader .reader-topbar {
    gap: 10px;
    padding-left: 14px;
    padding-right: 14px;
    font-size: 12px;
  }
  .lucaslab-home-nav {
    padding: 0 14px;
  }
}
