.qt-home-page :is(.qt-mobile-home-brand, .qt-mh-categories, .qt-mobile-home-search, .qt-home-menu-mobile, .qt-home-menu-links) {
  display: none;
}

@media screen and (max-width: 760px) {
  html[data-qt-fixed-header] body.qt-home-page {
    padding-block-start: 0;
  }

  html body.qt-home-page > header.top,
  html[data-qt-fixed-header] body.qt-home-page > header.top {
    position: sticky;
    inset: 0 0 auto;
    z-index: 35;
    padding-block-start: env(safe-area-inset-top, 0px);
  }

  .qt-home-page .top .home-top-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
    height: 62px;
    padding-inline: max(12px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-right, 0px));
  }

  .qt-home-page .home-top-inner > :is(.brand, .top-action, .qt-pro-compact),
  .qt-home-page > .top .portal-nav,
  .qt-home-page .qt-home-menu-desktop,
  .qt-home-page > .layout :is(.sidebar, .mobile-nav),
  .qt-home-page .home-content > :is(.portal-notice, .qt-start, .qt-specialized-links, .directory) {
    display: none;
  }

  .qt-home-page .qt-home-menu-links {
    display: block;
  }

  .qt-home-page .top .qt-mobile-home-search {
    display: flex;
    max-width: none;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
    box-shadow: none;
  }

  .qt-home-page .top .qt-mobile-home-search:focus-within {
    border-color: var(--refined-brass, #ffda50);
    box-shadow: 0 0 0 2px var(--refined-brass, #ffda50);
  }

  .qt-home-page .top .qt-mobile-home-search input {
    min-width: 0;
    height: 44px;
    padding: 0 42px 0 13px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--ink);
    font: 600 16px/1 system-ui, sans-serif;
  }

  .qt-home-page .top .qt-mobile-home-search input::placeholder {
    color: var(--muted);
    opacity: 1;
  }

  .qt-home-page .top .qt-mobile-home-search input:focus-visible {
    outline: 0;
  }

  .qt-home-page .top .qt-mobile-home-search button {
    display: grid;
    place-items: center;
    width: 43px;
    height: 44px;
    color: var(--ink);
  }

  .qt-home-search-icon {
    position: relative;
    width: 13px;
    height: 13px;
    margin: -3px 3px 0 0;
    border: 2px solid currentColor;
    border-radius: 50%;
  }

  .qt-home-search-icon::after {
    position: absolute;
    top: 8px;
    left: 9px;
    width: 7px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    content: "";
    transform: rotate(45deg);
    transform-origin: left;
  }

  .qt-home-page .top .search-pop {
    z-index: 1;
    top: calc(100% + 7px);
    max-height: min(380px, calc(100dvh - 128px));
    border-radius: 14px;
  }

  .qt-home-page .top .my-menu-trigger {
    display: grid;
    place-items: center;
    min-height: 44px;
    padding: 0 11px;
    border-radius: 14px;
  }

  .qt-home-page .qt-home-menu-mobile {
    display: flex;
    align-items: center;
    gap: 7px;
    font: 750 13px/1 system-ui, sans-serif;
    white-space: nowrap;
  }

  .qt-home-menu-icon {
    width: 15px;
    height: 11px;
    border-block: 2px solid currentColor;
    background: linear-gradient(currentColor,currentColor) center / 100% 2px no-repeat;
  }

  .qt-home-page .top .my-menu-panel {
    max-height: calc(100dvh - var(--qt-header-height, 62px) - var(--qt-footer-height, 40px) - 70px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .qt-home-page > .layout {
    display: block;
    width: min(100%, 540px);
    margin: 0 auto;
    padding: 12px max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px));
  }

  .qt-home-page .home-content {
    display: grid;
    gap: 13px;
  }

  .qt-home-page .qt-mobile-home-brand {
    display: block;
    width: min(100%, 540px);
    margin-inline: auto;
    padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 12px max(12px, env(safe-area-inset-left, 0px));
  }

  .qt-mh-hero {
    display: grid;
    justify-items: center;
    padding: 19px 12px 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background:
      radial-gradient(ellipse at 15% 12%, var(--soft) 0%, transparent 61%),
      var(--paper);
    color: var(--ink);
    text-align: center;
  }

  .qt-mh-logo {
    display: block;
    position: relative;
    width: min(220px, 76%);
    aspect-ratio: 1634 / 537;
    overflow: hidden;
  }

  .qt-mh-logo img {
    position: absolute;
    inset-block-start: calc(-100% * 188 / 537);
    inset-inline-start: calc(-100% * 18 / 1634);
    width: calc(100% * 1672 / 1634);
    max-width: none;
    height: auto;
  }

  .qt-mh-hero h1 {
    margin: 6px 0 2px;
    color: var(--ink);
    font-size: clamp(20px, 5.35vw, 24px);
    letter-spacing: -.055em;
    line-height: 1.3;
  }

  .qt-mobile-tool-count {
    margin: 2px 0 0;
    color: var(--muted);
    font: 600 12px/1.5 system-ui, sans-serif;
  }

  .qt-home-page .qt-mh-categories {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .qt-mh-categories a {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 5px;
    min-height: 69px;
    padding: 6px 2px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
    color: var(--ink);
    font: 750 clamp(11px, 3.05vw, 13px)/1.15 system-ui, sans-serif;
    text-align: center;
    text-decoration: none;
  }

  .qt-mh-categories a:focus-visible,
  .qt-mh-categories a:active {
    border-color: var(--accent);
    background: var(--soft);
  }

  .qt-mh-category-art {
    width: 34px;
    height: 31px;
    border-radius: 10px;
    background: var(--nav-art) center / 23px 23px no-repeat var(--tint, var(--soft));
  }

  .qt-home-page #featured.work-directory {
    margin: 0;
    padding: 11px;
    border-radius: 18px;
  }

  .qt-home-page #featured .work-directory-title {
    margin-block-end: 8px;
  }

  .qt-home-page #featured .work-directory-title p {
    display: none;
  }

  .qt-home-page #featured .work-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .qt-home-page #featured .work-item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    min-height: 62px;
    gap: 6px;
    align-items: center;
    justify-items: start;
    padding: 6px;
    border-radius: 11px;
    text-align: start;
  }

  .qt-home-page #featured .tool-icon-art {
    width: 30px;
    height: 30px;
  }

  .qt-home-page #featured .work-copy {
    min-width: 0;
  }

  .qt-home-page #featured .work-copy strong {
    font-size: 11px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .qt-home-page #featured .work-copy small {
    margin-block-start: 3px;
    font: 600 10px/1.3 system-ui, sans-serif;
    white-space: normal;
  }
}
