/* Covozi v1.62 — Creator Hub mobile-first readability, navigation & adaptive-density repair.
 * Scope: public creator Hub home only, <= 900px. Desktop/tablet wide layouts remain v1.59.
 */
@media (max-width: 900px) {
  body.stanloop-loop-layout-page .stanloop-loop-page--public-creator[data-stanloop-loop-context="home"] {
    background: #f8f9fb !important;
  }

  /* Compact creator-site shell. */
  .covozi-public-shell--creator-hub {
    width: calc(100% - 16px) !important;
    margin: 8px auto 0 !important;
    border-radius: 14px !important;
  }
  .covozi-public-shell__inner--creator-hub {
    min-height: 58px !important;
    padding: 0 10px !important;
    gap: 8px !important;
  }
  .covozi-public-shell--creator-hub .covozi-shell-logo {
    width: 116px !important;
    min-width: 116px !important;
  }
  .covozi-public-shell--creator-hub .covozi-profile-header-action--primary {
    min-height: 38px !important;
    padding: 0 12px !important;
    border-radius: 9px !important;
    font-size: 12px !important;
  }

  /* Page rail: keep useful navigation but make it touchable/readable rather than miniature. */
  body.stanloop-loop-layout-page .stanloop-loop-page--public-creator[data-stanloop-loop-context="home"] {
    padding: 10px 8px 28px !important;
  }
  .stanloop-loop-page--public-creator[data-stanloop-loop-context="home"] .covozi-creator-profile-nav {
    margin: 0 0 10px !important;
  }
  .stanloop-loop-page--public-creator[data-stanloop-loop-context="home"] .covozi-creator-profile-nav__links {
    gap: 6px !important;
    padding: 6px !important;
    border-radius: 12px !important;
    scroll-snap-type: x proximity;
  }
  .stanloop-loop-page--public-creator[data-stanloop-loop-context="home"] .covozi-creator-profile-nav__item {
    min-height: 42px !important;
    padding: 0 12px !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    scroll-snap-align: start;
  }
  .stanloop-loop-page--public-creator[data-stanloop-loop-context="home"] .covozi-creator-profile-nav__icon {
    width: 18px !important;
    flex-basis: 18px !important;
    font-size: 13px !important;
  }

  /* Every surface gets the same readable mobile card language. */
  .stanloop-creator-hub-layout { gap: 12px !important; }
  .stanloop-creator-hub-layout .stanloop-loop-card,
  .stanloop-creator-hub-layout .stanloop-loop-section {
    border-radius: 14px !important;
    box-shadow: 0 8px 22px rgba(23,35,58,.05) !important;
  }
  .stanloop-creator-hub-layout .stanloop-loop-section {
    padding: 14px !important;
  }
  .stanloop-creator-hub-layout .stanloop-loop-section-head {
    margin-bottom: 12px !important;
    gap: 10px !important;
  }
  .stanloop-creator-hub-layout .stanloop-loop-section-head h2 {
    font: 850 18px/1.15 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif !important;
    letter-spacing: -.025em !important;
  }
  .stanloop-creator-hub-layout .stanloop-loop-section-head h2::before {
    width: 4px !important;
    height: 17px !important;
    margin-right: 7px !important;
  }
  .stanloop-creator-hub-layout .stanloop-loop-section-head a {
    flex: 0 0 auto;
    font-size: 12px !important;
  }

  /* Intro: identity first, then the creator story/actions, then stats. */
  .stanloop-creator-hub-intro {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 15px !important;
  }
  .stanloop-creator-hub-identity {
    order: 1 !important;
    grid-template-columns: 62px minmax(0,1fr) !important;
    gap: 3px 12px !important;
    padding: 10px 0 12px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--covozi-hub-border) !important;
    border-radius: 0 !important;
    background: transparent !important;
  }
  .stanloop-creator-hub-identity > img {
    grid-row: 1 / span 4 !important;
    width: 58px !important;
    height: 58px !important;
    border-width: 3px !important;
  }
  .stanloop-creator-hub-identity h2 {
    margin: 0 !important;
    font: 850 17px/1.15 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif !important;
  }
  .stanloop-creator-hub-identity p,
  .stanloop-creator-hub-identity > span,
  .stanloop-creator-hub-identity > a {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }
  .stanloop-creator-hub-intro__main { order: 2 !important; }
  .stanloop-creator-hub-intro h1 {
    margin-bottom: 9px !important;
    font: 850 25px/1.08 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif !important;
    letter-spacing: -.035em !important;
  }
  .stanloop-creator-hub-intro h1::after {
    width: 38px !important;
    margin-top: 8px !important;
  }
  .stanloop-creator-hub-intro__bio {
    max-width: none !important;
    margin-bottom: 11px !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
  }
  .stanloop-creator-hub-tags {
    gap: 6px !important;
    margin-bottom: 11px !important;
  }
  .stanloop-creator-hub-tags span {
    padding: 6px 9px !important;
    font-size: 11.5px !important;
  }
  .stanloop-creator-hub-connections {
    display: flex !important;
    gap: 7px !important;
    overflow-x: auto !important;
    padding-bottom: 2px !important;
    scrollbar-width: none;
  }
  .stanloop-creator-hub-connections::-webkit-scrollbar { display: none; }
  .stanloop-creator-hub-connection {
    min-height: 38px !important;
    flex: 0 0 auto !important;
    padding: 0 10px !important;
    border-radius: 9px !important;
    font-size: 12px !important;
  }
  .stanloop-creator-hub-socials {
    gap: 8px !important;
    margin-top: 10px !important;
  }
  .stanloop-creator-hub-socials a {
    width: 38px !important;
    height: 38px !important;
    font-size: 14px !important;
  }
  .stanloop-creator-hub-actions {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 8px !important;
    margin-top: 11px !important;
  }
  .stanloop-creator-hub-action {
    min-height: 46px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
  }
  .stanloop-creator-hub-stats {
    order: 3 !important;
    grid-column: 1 !important;
    border-radius: 10px !important;
  }
  .stanloop-creator-hub-stats .stanloop-loop-stat {
    padding: 10px 4px !important;
  }
  .stanloop-creator-hub-stats .stanloop-loop-stat strong {
    font-size: 20px !important;
    line-height: 1 !important;
  }
  .stanloop-creator-hub-stats .stanloop-loop-stat small {
    margin-top: 4px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
  }

  /* Email is a primary mobile action, not a micro strip. */
  .stanloop-creator-hub-email {
    grid-template-columns: 46px minmax(0,1fr) !important;
    gap: 10px !important;
    padding: 14px !important;
  }
  .stanloop-creator-hub-email__icon {
    width: 44px !important;
    height: 44px !important;
    font-size: 20px !important;
  }
  .stanloop-creator-hub-email__copy h2 {
    font: 850 18px/1.15 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif !important;
  }
  .stanloop-creator-hub-email__copy p {
    margin-top: 4px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
  .stanloop-creator-hub-email__form {
    grid-column: 1 / -1 !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .stanloop-creator-hub-email__form input[type=email],
  .stanloop-creator-hub-email__form button {
    width: 100% !important;
    min-height: 46px !important;
    font-size: 13px !important;
  }
  .stanloop-creator-hub-email > small {
    grid-column: 1 / -1 !important;
    margin: 0 !important;
    font-size: 10.5px !important;
    line-height: 1.4 !important;
  }

  /* Mentioned links become readable media rows. */
  .stanloop-creator-hub-right .stanloop-loop-mentioned-links .stanloop-loop-link-grid {
    gap: 9px !important;
  }
  .stanloop-creator-hub-right .stanloop-loop-link-card {
    grid-template-columns: 108px minmax(0,1fr) !important;
    min-height: 86px !important;
    border-radius: 11px !important;
  }
  .stanloop-creator-hub-right .stanloop-loop-link-card__image {
    height: 86px !important;
    min-height: 86px !important;
  }
  .stanloop-creator-hub-right .stanloop-loop-link-card__body {
    padding: 8px 9px 8px 0 !important;
  }
  .stanloop-creator-hub-right .stanloop-loop-link-card__body h3 {
    font-size: 13.5px !important;
    line-height: 1.3 !important;
  }
  .stanloop-creator-hub-right .stanloop-loop-link-card__body p {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
  }

  /* Gallery: fan-friendly visual rail. */
  .stanloop-creator-hub-center .stanloop-loop-gallery-grid {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    padding-bottom: 2px !important;
  }
  .stanloop-creator-hub-center .stanloop-loop-gallery-item {
    flex: 0 0 72% !important;
    height: 142px !important;
    min-height: 142px !important;
    scroll-snap-align: start;
  }

  /* FAQs and resources need proper touch targets. */
  .stanloop-creator-hub-right .stanloop-loop-accordion-preview {
    gap: 8px !important;
  }
  .stanloop-creator-hub-right .stanloop-loop-accordion-preview a {
    min-height: 48px !important;
    padding: 8px 11px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }
  .stanloop-creator-hub-right .stanloop-loop-resource-list { gap: 8px !important; }
  .stanloop-creator-hub-right .stanloop-loop-resource-item {
    min-height: 60px !important;
    padding: 9px !important;
  }
  .stanloop-creator-hub-right .stanloop-loop-resource-item__visual {
    width: 40px !important;
    height: 40px !important;
    flex-basis: 40px !important;
  }
  .stanloop-creator-hub-right .stanloop-loop-resource-item__copy small { font-size: 9px !important; }
  .stanloop-creator-hub-right .stanloop-loop-resource-item__copy strong { font-size: 13px !important; }
  .stanloop-creator-hub-right .stanloop-loop-resource-item__copy em { font-size: 11px !important; }

  /* Paths remain stacked, but gain readable product-card proportions. */
  .stanloop-creator-hub-center .stanloop-loop-path-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .stanloop-creator-hub-center .stanloop-loop-path-card__image {
    height: 150px !important;
  }
  .stanloop-creator-hub-center .stanloop-loop-path-card__body {
    padding: 13px !important;
  }
  .stanloop-creator-hub-center .stanloop-loop-path-card__body h3 {
    font-size: 16px !important;
    line-height: 1.25 !important;
  }
  .stanloop-creator-hub-center .stanloop-loop-path-card__body p {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }
  .stanloop-creator-hub-center .stanloop-loop-card-button {
    min-height: 42px !important;
    font-size: 13px !important;
  }

  /* Courses and landing pages become swipe rails instead of tiny 2-column tiles. */
  .stanloop-creator-hub-course-grid,
  .stanloop-creator-hub-page-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 10px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 2px !important;
  }
  .stanloop-creator-hub-course-grid::-webkit-scrollbar,
  .stanloop-creator-hub-page-grid::-webkit-scrollbar { display: none; }
  .stanloop-creator-hub-course,
  .stanloop-creator-hub-page-card {
    flex: 0 0 78% !important;
    scroll-snap-align: start;
    border-radius: 11px !important;
  }
  .stanloop-creator-hub-course__media,
  .stanloop-creator-hub-page-card__visual {
    height: 132px !important;
  }
  .stanloop-creator-hub-course strong,
  .stanloop-creator-hub-page-card strong {
    padding: 11px 11px 3px !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
  }
  .stanloop-creator-hub-course small,
  .stanloop-creator-hub-page-card small {
    padding: 0 11px 12px !important;
    font-size: 11.5px !important;
    line-height: 1.4 !important;
  }

  /* Message CTA: deliberate endpoint. */
  .stanloop-creator-hub-message {
    padding: 15px !important;
  }
  .stanloop-creator-hub-message h2 {
    font: 850 18px/1.15 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif !important;
  }
  .stanloop-creator-hub-message p {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }
  .stanloop-creator-hub-message .stanloop-loop-card-button {
    min-height: 44px !important;
    padding-inline: 16px !important;
    font-size: 13px !important;
  }

  /* Creator-hub footer: compact enough for a long mobile website surface. */
  .stanloop-loop-page--public-creator[data-stanloop-loop-context="home"] + .stanloop-loop-site-footer,
  body.stanloop-loop-layout-page .stanloop-loop-site-footer {
    width: calc(100% - 16px) !important;
    margin-inline: auto !important;
  }
  body.stanloop-loop-layout-page .stanloop-loop-site-footer__inner {
    grid-template-columns: 1fr 1fr !important;
    gap: 18px 12px !important;
    padding: 20px 16px 16px !important;
  }
  body.stanloop-loop-layout-page .stanloop-loop-footer-brand {
    grid-column: 1 / -1 !important;
  }
  body.stanloop-loop-layout-page .stanloop-loop-footer-brand .stanloop-loop-site-logo {
    max-width: 112px !important;
  }
  body.stanloop-loop-layout-page .stanloop-loop-site-footer h3 {
    margin-bottom: 6px !important;
    font-size: 12px !important;
  }
  body.stanloop-loop-layout-page .stanloop-loop-site-footer p,
  body.stanloop-loop-layout-page .stanloop-loop-site-footer a {
    font-size: 11px !important;
    line-height: 1.45 !important;
  }
  body.stanloop-loop-layout-page .stanloop-loop-site-footer__bottom {
    padding: 11px 16px 14px !important;
    font-size: 10px !important;
  }
}

@media (max-width: 420px) {
  .covozi-public-shell--creator-hub .covozi-shell-logo {
    width: 108px !important;
    min-width: 108px !important;
  }
  .covozi-public-shell--creator-hub .covozi-profile-header-action--primary {
    padding-inline: 10px !important;
    font-size: 11px !important;
  }
  .stanloop-creator-hub-intro h1 { font-size: 23px !important; }
  .stanloop-creator-hub-intro__bio { font-size: 14.5px !important; }
  .stanloop-creator-hub-actions { grid-template-columns: 1fr 1fr !important; }
  .stanloop-creator-hub-action { font-size: 12.5px !important; }
  .stanloop-creator-hub-center .stanloop-loop-gallery-item { flex-basis: 76% !important; }
  .stanloop-creator-hub-course,
  .stanloop-creator-hub-page-card { flex-basis: 82% !important; }
}

/* Covozi v1.62 — Creator Hub mobile editorial refinement.
 * Goal: make the Hub feel like a creator-owned mobile website rather than a
 * collapsed desktop dashboard. Desktop remains the approved v1.59 layout.
 */
@media (max-width: 900px) {
  body.stanloop-loop-layout-page .stanloop-loop-page--public-creator[data-stanloop-loop-context="home"] {
    padding: 8px 8px 92px !important;
    background: #f7f8fa !important;
  }

  /* The desktop left rail becomes a persistent thumb dock. */
  .stanloop-loop-page--public-creator[data-stanloop-loop-context="home"] .covozi-creator-profile-nav {
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .stanloop-loop-page--public-creator[data-stanloop-loop-context="home"] .covozi-creator-profile-nav__toggle,
  .stanloop-loop-page--public-creator[data-stanloop-loop-context="home"] .covozi-creator-profile-nav__panel {
    display: none !important;
  }
  .covozi-creator-mobile-dock {
    position: fixed;
    z-index: 10020;
    left: max(8px, env(safe-area-inset-left));
    right: max(8px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
    min-height: 62px;
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    align-items: stretch;
    padding: 5px;
    border: 1px solid rgba(23,35,58,.12);
    border-radius: 18px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 14px 38px rgba(13,28,54,.16);
    backdrop-filter: blur(16px);
  }
  .covozi-creator-mobile-dock__item,
  .covozi-creator-mobile-dock__more > summary {
    min-width: 0;
    min-height: 52px;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 2px;
    padding: 4px 2px;
    border: 0;
    border-radius: 13px;
    color: #17233a;
    text-decoration: none;
    cursor: pointer;
    list-style: none;
  }
  .covozi-creator-mobile-dock__more > summary::-webkit-details-marker { display: none; }
  .covozi-creator-mobile-dock__item > span,
  .covozi-creator-mobile-dock__more > summary > span {
    font-size: 18px;
    line-height: 1;
  }
  .covozi-creator-mobile-dock__item small,
  .covozi-creator-mobile-dock__more > summary small {
    font: 800 10px/1.1 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  }
  .covozi-creator-mobile-dock__item.is-active,
  .covozi-creator-mobile-dock__more.is-active > summary {
    background: #fff3c8;
    color: #0d1f3c;
    box-shadow: inset 0 0 0 1px #f7c948;
  }
  .covozi-creator-mobile-dock__more { position: relative; }
  .covozi-creator-mobile-dock__sheet {
    position: absolute;
    right: 0;
    bottom: 68px;
    width: min(300px, calc(100vw - 28px));
    max-height: min(62vh, 470px);
    overflow-y: auto;
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid rgba(23,35,58,.12);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(13,28,54,.20);
  }
  .covozi-creator-mobile-dock__more:not([open]) .covozi-creator-mobile-dock__sheet { display: none; }
  .covozi-creator-mobile-dock__sheet > strong {
    padding: 2px 4px 7px;
    color: #0d1f3c;
    font: 850 14px/1.2 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  }
  .covozi-creator-mobile-dock__sheet > a {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 11px;
    border-radius: 10px;
    color: #17233a;
    text-decoration: none;
    font: 750 13px/1.2 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  }
  .covozi-creator-mobile-dock__sheet > a.is-active,
  .covozi-creator-mobile-dock__sheet > a:focus-visible {
    background: #fff7dc;
    outline: none;
  }

  /* Calm, compact creator header. */
  .covozi-public-shell--creator-hub {
    width: calc(100% - 16px) !important;
    margin-top: 6px !important;
    border-radius: 13px !important;
  }
  .covozi-public-shell__inner--creator-hub {
    min-height: 54px !important;
    padding: 0 9px !important;
  }
  .covozi-public-shell--creator-hub .covozi-shell-logo {
    width: 104px !important;
    min-width: 104px !important;
  }
  .covozi-public-shell__creator-hub-actions { gap: 5px !important; }
  .covozi-public-shell--creator-hub .covozi-profile-header-action--primary {
    min-height: 36px !important;
    padding-inline: 10px !important;
    font-size: 11px !important;
  }

  /* Content that does not exist should not turn a public creator site into an
     inventory of empty CMS modules. Empty states remain available on desktop. */
  .stanloop-creator-hub-layout .stanloop-loop-section.is-empty { display: none !important; }

  /* Intro: identity is the first thing a fan understands; the rest is secondary. */
  .stanloop-creator-hub-intro {
    gap: 10px !important;
    padding: 14px !important;
  }
  .stanloop-creator-hub-identity {
    grid-template-columns: 68px minmax(0,1fr) !important;
    gap: 4px 12px !important;
    padding: 2px 0 12px !important;
  }
  .stanloop-creator-hub-identity > img {
    width: 64px !important;
    height: 64px !important;
  }
  .stanloop-creator-hub-identity h2 {
    font-size: 18px !important;
    letter-spacing: -.02em !important;
  }
  .stanloop-creator-hub-identity p,
  .stanloop-creator-hub-identity > span,
  .stanloop-creator-hub-identity > a {
    font-size: 12.5px !important;
  }
  .stanloop-creator-hub-intro h1 {
    margin-top: 1px !important;
    margin-bottom: 8px !important;
    font-size: 23px !important;
    line-height: 1.06 !important;
  }
  .stanloop-creator-hub-intro__bio {
    margin-bottom: 10px !important;
    color: #33425c !important;
    font-size: 15.5px !important;
    line-height: 1.48 !important;
  }
  .stanloop-creator-hub-tags span {
    padding: 5px 8px !important;
    font-size: 11.5px !important;
  }
  .stanloop-creator-hub-connection {
    min-height: 40px !important;
    padding-inline: 11px !important;
    font-size: 12.5px !important;
  }
  .stanloop-creator-hub-socials a {
    width: 40px !important;
    height: 40px !important;
  }
  .stanloop-creator-hub-actions {
    gap: 9px !important;
    margin-top: 12px !important;
  }
  .stanloop-creator-hub-action {
    min-height: 48px !important;
    border-radius: 11px !important;
    font-size: 13.5px !important;
  }
  .stanloop-creator-hub-stats .stanloop-loop-stat {
    min-height: 64px !important;
    padding: 11px 3px !important;
  }
  .stanloop-creator-hub-stats .stanloop-loop-stat strong { font-size: 21px !important; }
  .stanloop-creator-hub-stats .stanloop-loop-stat small { font-size: 10.5px !important; }

  /* Email opt-in gets a clear conversion hierarchy. */
  .stanloop-creator-hub-email {
    grid-template-columns: 44px minmax(0,1fr) !important;
    gap: 10px !important;
    padding: 15px !important;
    border-color: rgba(247,201,72,.65) !important;
    background: linear-gradient(180deg,#fff 0%,#fffdf5 100%) !important;
  }
  .stanloop-creator-hub-email__copy h2 { font-size: 19px !important; }
  .stanloop-creator-hub-email__copy p { font-size: 13.5px !important; }
  .stanloop-creator-hub-email__form input[type=email],
  .stanloop-creator-hub-email__form button {
    min-height: 48px !important;
    border-radius: 11px !important;
    font-size: 14px !important;
  }
  .stanloop-creator-hub-email > small { font-size: 10.5px !important; }

  /* Section headers are readable but no longer shout equally loudly. */
  .stanloop-creator-hub-layout .stanloop-loop-section { padding: 13px !important; }
  .stanloop-creator-hub-layout .stanloop-loop-section-head { margin-bottom: 10px !important; }
  .stanloop-creator-hub-layout .stanloop-loop-section-head h2 { font-size: 17px !important; }
  .stanloop-creator-hub-layout .stanloop-loop-section-head a { font-size: 11.5px !important; }

  /* Mentioned links: large enough to recognise the video that created intent. */
  .stanloop-creator-hub-right .stanloop-loop-link-card {
    grid-template-columns: 112px minmax(0,1fr) !important;
    min-height: 90px !important;
  }
  .stanloop-creator-hub-right .stanloop-loop-link-card__image {
    height: 90px !important;
    min-height: 90px !important;
  }
  .stanloop-creator-hub-right .stanloop-loop-link-card__body h3 { font-size: 14px !important; }
  .stanloop-creator-hub-right .stanloop-loop-link-card__body p { font-size: 12px !important; }

  /* Gallery intentionally shows a strong next-card peek. */
  .stanloop-creator-hub-center .stanloop-loop-gallery-item {
    flex: 0 0 80% !important;
    height: 156px !important;
    min-height: 156px !important;
  }

  /* Path cards stay single-column but lose unnecessary vertical weight. */
  .stanloop-creator-hub-center .stanloop-loop-path-grid { gap: 10px !important; }
  .stanloop-creator-hub-center .stanloop-loop-path-card__image { height: 124px !important; }
  .stanloop-creator-hub-center .stanloop-loop-path-card__body { padding: 11px !important; }
  .stanloop-creator-hub-center .stanloop-loop-path-card__body h3 { font-size: 15.5px !important; }
  .stanloop-creator-hub-center .stanloop-loop-path-card__body p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 12.5px !important;
    line-height: 1.4 !important;
  }
  .stanloop-creator-hub-center .stanloop-loop-mini-meta {
    gap: 7px !important;
    font-size: 10.5px !important;
  }
  .stanloop-creator-hub-center .stanloop-loop-card-button { min-height: 40px !important; }

  /* Courses and landing pages are visual products: one large card with an
     intentional peek of the next card is clearer than two miniature columns. */
  .stanloop-creator-hub-course-grid,
  .stanloop-creator-hub-page-grid {
    margin-inline: -2px !important;
    padding: 0 2px 5px !important;
  }
  .stanloop-creator-hub-course,
  .stanloop-creator-hub-page-card {
    flex: 0 0 min(82vw, 310px) !important;
    min-width: min(82vw, 310px) !important;
    max-width: 310px !important;
  }
  .stanloop-creator-hub-course__media,
  .stanloop-creator-hub-page-card__visual { height: 138px !important; }

  /* Larger utility rows. */
  .stanloop-creator-hub-right .stanloop-loop-accordion-preview a {
    min-height: 50px !important;
    font-size: 13.5px !important;
  }
  .stanloop-creator-hub-right .stanloop-loop-resource-item { min-height: 64px !important; }
  .stanloop-creator-hub-right .stanloop-loop-resource-item__copy strong { font-size: 13.5px !important; }

  /* Personal message remains a clean endpoint rather than another dense widget. */
  .stanloop-creator-hub-message { padding: 15px !important; }
  .stanloop-creator-hub-message .stanloop-loop-card-button {
    min-height: 46px !important;
    border-radius: 10px !important;
  }

  /* Short creator-site footer. Keep brand + Company + Legal; the marketing
     audience link collections belong on the marketing site, not at the end of
     a creator's long mobile Hub. */
  body.stanloop-loop-layout-page .stanloop-loop-site-footer__inner {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px 12px !important;
    padding: 18px 15px 14px !important;
  }
  body.stanloop-loop-layout-page .stanloop-loop-site-footer__inner > div:nth-child(2),
  body.stanloop-loop-layout-page .stanloop-loop-site-footer__inner > div:nth-child(3) {
    display: none !important;
  }
  body.stanloop-loop-layout-page .stanloop-loop-footer-brand {
    grid-column: 1 / -1 !important;
  }
  body.stanloop-loop-layout-page .stanloop-loop-site-footer__bottom {
    padding: 9px 15px 12px !important;
  }
}

@media (min-width: 901px) {
  .covozi-creator-mobile-dock { display: none !important; }
}

@media (max-width: 420px) {
  .covozi-public-shell--creator-hub .covozi-shell-logo {
    width: 100px !important;
    min-width: 100px !important;
  }
  .stanloop-creator-hub-intro h1 { font-size: 22px !important; }
  .stanloop-creator-hub-intro__bio { font-size: 15px !important; }
  .stanloop-creator-hub-center .stanloop-loop-gallery-item { flex-basis: 82% !important; }
  .stanloop-creator-hub-course,
  .stanloop-creator-hub-page-card {
    flex-basis: min(84vw, 300px) !important;
    min-width: min(84vw, 300px) !important;
  }
}
