/* Mobile home only. Other views and desktop keep their existing layout. */
@media (max-width: 767px) {
  body.user-body .app-main:has(.home-fastpass) {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0 !important;
    padding: var(--ss-header-h, 54px) 0 80px;
    right: auto;
    z-index: auto;
    box-shadow: none;
    overflow-x: visible;
  }

  body.user-body .app-main > main#main-content.content:has(.home-fastpass) {
    width: 100%;
    max-width: 560px;
    min-width: 0;
    margin: 0 auto;
    padding: 20px 16px 28px;
  }

  body.user-body #user-content-container:has(.home-fastpass) {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body.user-body .home-fastpass {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.6;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  body.user-body .home-fastpass .hm-hero {
    position: relative;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  body.user-body .home-fastpass .hm-hero-grid {
    display: block;
    min-width: 0;
  }

  body.user-body .home-fastpass .hm-hero-copy {
    min-width: 0;
  }

  body.user-body .home-fastpass .hm-top-badges {
    margin: 0 0 18px;
  }

  body.user-body .home-fastpass .hm-promo-pill {
    max-width: 100%;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1.5;
  }

  body.user-body .home-fastpass .hm-hero-title {
    position: relative;
    z-index: 1;
    max-width: calc(100% - 90px);
    margin: 0 0 16px;
    font-size: 28px;
    line-height: 1.3;
    letter-spacing: -.8px;
    word-break: keep-all;
  }

  body.user-body .home-fastpass .hm-title-hl {
    display: block;
  }

  body.user-body .home-fastpass .hm-hero-visual {
    display: block;
    position: absolute;
    top: 55px;
    right: 0;
    width: 98px;
    height: 112px;
    pointer-events: none;
  }

  body.user-body .home-fastpass .hm-mascot-card,
  body.user-body .home-fastpass .hm-mascot-pic {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.user-body .home-fastpass .hm-mascot-pic img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    transform: none;
  }

  body.user-body .home-fastpass .hm-mascot-bubble {
    display: none;
  }

  body.user-body .home-fastpass .hm-hero-lead {
    max-width: none;
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--ss-text, #334155);
  }

  body.user-body .home-fastpass .hm-quick-topics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 16px;
  }

  body.user-body .home-fastpass .hm-qchip {
    min-width: 0;
    min-height: 44px;
    padding: 8px 4px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.4;
    white-space: normal;
  }

  body.user-body .home-fastpass .hm-cta-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 12px;
  }

  body.user-body .home-fastpass .hm-cta-row .primary-button {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 15px;
    line-height: 1.4;
  }

  body.user-body .home-fastpass .hm-cta-row .secondary-button {
    align-self: flex-end;
    width: auto;
    min-height: 40px;
    padding: 8px 12px;
    border: 0;
    background: transparent;
    font-size: 13px;
    line-height: 1.4;
  }

  body.user-body .home-fastpass .hm-trust-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
  }

  body.user-body .home-fastpass .hm-section {
    margin-top: 28px;
  }

  body.user-body .home-fastpass .hm-section-head--tight {
    margin-bottom: 16px;
  }

  body.user-body .home-fastpass h2 {
    font-size: 22px;
    line-height: 1.4;
    letter-spacing: -.6px;
  }

  body.user-body .home-fastpass .hm-eyebrow {
    margin-bottom: 5px;
    font-size: 12px;
    line-height: 1.5;
  }

  body.user-body .home-fastpass .hm-section-desc {
    margin-top: 9px;
    font-size: 14px;
    line-height: 1.65;
  }

  body.user-body .home-fastpass .hm-preview-section {
    padding: 20px 16px;
    border: 1px solid var(--ss-line, #e4e9f2);
    border-radius: 16px;
    background: var(--ss-surface, #fff);
  }

  body.user-body .home-fastpass .hm-preview-split {
    display: block;
    min-width: 0;
  }

  body.user-body .home-fastpass .hm-preview-form {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    gap: 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.user-body .home-fastpass .hm-preview-form-head {
    display: none;
  }

  body.user-body .home-fastpass .hm-field-label {
    font-size: 14px;
    line-height: 1.5;
  }

  body.user-body .home-fastpass .hm-field-hint {
    font-size: 12px;
  }

  body.user-body .home-fastpass .hm-date-bar {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    box-shadow: none;
  }

  body.user-body .home-fastpass .hm-date-part {
    min-width: 0;
    border: 1px solid #d8e1ed;
    border-radius: 9px;
    background: var(--ss-surface, #fff);
  }

  body.user-body .home-fastpass .hm-date-part::before {
    display: none;
  }

  body.user-body .home-fastpass .hm-date-part--cal {
    grid-column: 1 / -1;
    justify-self: start;
    width: 160px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  body.user-body .home-fastpass .hm-date-bar input,
  body.user-body .home-fastpass .hm-date-bar select {
    min-width: 0;
    width: 100%;
    height: 46px;
    min-height: 46px;
    font-size: 16px;
    padding-left: 10px;
    padding-right: 25px;
  }

  body.user-body .home-fastpass .hm-date-unit {
    right: 9px;
    font-size: 13px;
  }

  body.user-body .home-fastpass .hm-seg-pill button {
    min-height: 42px;
    padding: 8px 10px;
    font-size: 13px;
    line-height: 1.4;
  }

  body.user-body .home-fastpass .hm-leap-pill {
    font-size: 13px;
    line-height: 1.5;
  }

  body.user-body .home-fastpass .hm-topic-pills {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  body.user-body .home-fastpass .hm-topic-chip {
    min-width: 0;
    min-height: 44px;
    padding: 8px 3px;
    justify-content: center;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.4;
    white-space: normal;
  }

  body.user-body .home-fastpass .hm-topic-ico {
    display: none;
  }

  body.user-body .home-fastpass .hm-meta-row {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  body.user-body .home-fastpass .hm-select-clean,
  body.user-body .home-fastpass .hm-time-extra input,
  body.user-body .home-fastpass .hm-time-extra select {
    min-height: 46px;
    font-size: 16px;
  }

  body.user-body .home-fastpass .hm-fp-submit {
    width: 100%;
    min-height: 48px;
    padding: 12px 10px;
    border-radius: 10px;
    background: var(--ss-blue, #0070ff);
    box-shadow: none;
    font-size: 15px;
    line-height: 1.4;
  }

  body.user-body .home-fastpass .hm-form-note {
    font-size: 12px;
    line-height: 1.6;
    margin-top: 0;
  }

  body.user-body .home-fastpass .hm-preview-result {
    margin-top: 20px;
    padding: 18px 0 0;
    border: 0;
    border-top: 1px solid var(--ss-line, #e4e9f2);
    border-radius: 0;
    box-shadow: none;
  }

  body.user-body .home-fastpass .hm-cat-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
    overflow: visible;
  }

  body.user-body .home-fastpass .hm-cat-tab {
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
    white-space: normal;
  }

  body.user-body .home-fastpass .hm-featured-grid--6 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 14px 10px;
  }

  body.user-body .home-fastpass .hm-prod-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    padding: 0;
    border-radius: 12px;
    text-align: left;
  }

  body.user-body .home-fastpass .hm-prod-card[hidden] {
    display: none !important;
  }

  body.user-body .home-fastpass .hm-prod-thumb {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1.5;
  }

  body.user-body .home-fastpass .hm-prod-body {
    width: 100%;
    min-width: 0;
    padding: 12px 11px;
  }

  body.user-body .home-fastpass .hm-prod-body > strong {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 6px;
  }

  body.user-body .home-fastpass .hm-prod-desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ss-text, #334155);
  }

  body.user-body .home-fastpass .hm-prod-meta {
    font-size: 12px;
    line-height: 1.5;
  }

  body.user-body .home-fastpass .hm-prod-pill {
    top: 8px;
    left: 8px;
    padding: 3px 6px;
    font-size: 11px;
  }

  body.user-body .home-fastpass .hm-prod-price-row {
    flex-wrap: wrap;
    gap: 6px;
  }

  body.user-body .home-fastpass .hm-price-box {
    gap: 5px;
  }

  body.user-body .home-fastpass .hm-price-now {
    font-size: 17px;
  }

  body.user-body .home-fastpass .hm-go-label,
  body.user-body .home-fastpass .hm-price-box del,
  body.user-body .home-fastpass .hm-free-chip {
    font-size: 12px;
  }

  body.user-body .home-fastpass .hm-dual-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  body.user-body .home-fastpass .hm-mini-feature {
    padding: 18px 16px;
    gap: 9px;
  }

  body.user-body .home-fastpass .hm-mini-feature h3 {
    font-size: 19px;
    line-height: 1.45;
  }

  body.user-body .home-fastpass .hm-mini-feature p {
    font-size: 14px;
    line-height: 1.65;
  }

  body.user-body .home-fastpass .hm-mini-feature--tarot p {
    color: rgba(255, 255, 255, .86);
  }

  body.user-body .home-fastpass .hm-mini-actions {
    gap: 8px;
  }

  body.user-body .home-fastpass .hm-mini-actions .primary-button,
  body.user-body .home-fastpass .hm-mini-actions .secondary-button {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.5;
  }

  body.user-body .home-fastpass .hm-faq-compact {
    padding: 18px 16px;
    margin-top: 28px;
  }

  body.user-body .home-fastpass .hm-faq-head-compact {
    align-items: flex-start;
    gap: 12px;
  }

  body.user-body .home-fastpass .home-faq-list summary {
    min-height: 56px;
    padding: 16px 0;
    font-size: 15px;
    line-height: 1.6;
  }

  body.user-body .home-fastpass .home-faq-list details p {
    padding-right: 0;
    font-size: 15px;
    line-height: 1.75;
  }

  body.user-body .home-fastpass .hm-notes-compact {
    margin-top: 28px;
    padding-top: 20px;
  }

  body.user-body .home-fastpass .hm-notes-compact .notes-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  body.user-body .home-fastpass .hm-notes-compact .note-card {
    padding: 16px 0;
    border: 0;
    border-bottom: 1px solid var(--ss-line, #e4e9f2);
    border-radius: 0;
    background: transparent;
  }

  body.user-body .home-fastpass .hm-notes-compact .note-card-link {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: start;
    gap: 13px;
  }

  body.user-body .home-fastpass .hm-notes-compact .note-card-image {
    width: 84px;
    height: 84px;
    aspect-ratio: 1;
    border-radius: 8px;
  }

  body.user-body .home-fastpass .hm-notes-compact .note-card-copy {
    min-width: 0;
    padding: 0;
  }

  body.user-body .home-fastpass .hm-notes-compact .note-card h2 {
    font-size: 15px;
    line-height: 1.5;
    margin: 5px 0;
    letter-spacing: -.2px;
  }

  body.user-body .home-fastpass .hm-notes-compact .note-card-copy p {
    font-size: 13px;
    line-height: 1.6;
  }

  body.user-body .home-fastpass .hm-notes-compact .note-kicker,
  body.user-body .home-fastpass .hm-notes-compact .note-card-meta {
    font-size: 12px;
    line-height: 1.5;
  }
}

@media (max-width: 370px) {
  body.user-body .app-main > main#main-content.content:has(.home-fastpass) {
    padding-left: 14px;
    padding-right: 14px;
  }

  body.user-body .home-fastpass .hm-hero-title {
    font-size: 26px;
    max-width: calc(100% - 84px);
  }

  body.user-body .home-fastpass .hm-hero-visual {
    width: 88px;
    height: 104px;
  }

  body.user-body .home-fastpass .hm-preview-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  body.user-body .home-fastpass .hm-meta-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
