@media (max-width: 767px) {
  #navbar,
  #navbar-spacer {
    display: none !important;
  }

  main {
    min-height: auto !important;
  }

  #mobile-menu-btn,
  #mobile-menu,
  #mobile-menu-backdrop {
    display: none !important;
  }

  #mobile-times-overlay,
  #mobile-confirm-overlay {
    display: none !important;
    pointer-events: none !important;
  }

  #portal-main-wrap {
    padding-top: calc(env(safe-area-inset-top, 0px) + 1.65rem) !important;
    padding-bottom: calc(160px + env(safe-area-inset-bottom, 0px)) !important;
  }

  #portal-bug-footer {
    display: none !important;
  }

  #portal-mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 72;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    min-height: var(--portal-mobile-tabbar-height);
    padding: 0.45rem 0.45rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(224, 197, 132, 0.16);
    background:
      linear-gradient(180deg, rgba(8, 8, 8, 0.9), rgba(5, 5, 5, 0.98)),
      linear-gradient(145deg, rgba(20, 20, 20, 0.86), rgba(8, 8, 8, 0.92));
    backdrop-filter: blur(16px);
    box-shadow: 0 -14px 34px rgba(0, 0, 0, 0.34);
  }

  .portal-mobile-tab {
    min-height: 60px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: rgba(240, 226, 192, 0.58);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }

  .portal-mobile-tab:hover,
  .portal-mobile-tab:focus-visible {
    background: rgba(224, 197, 132, 0.08);
    border-color: rgba(224, 197, 132, 0.18);
    color: rgba(240, 226, 192, 0.88);
    transform: translateY(-1px);
  }

  .portal-mobile-tab.is-active {
    background: rgba(224, 197, 132, 0.11);
    border-color: rgba(224, 197, 132, 0.28);
    color: #f0e2c0;
    box-shadow: inset 0 0 0 1px rgba(224, 197, 132, 0.08);
  }

  .portal-mobile-tab svg {
    width: 1rem;
    height: 1rem;
  }

  #portal-mobile-more-backdrop {
    position: fixed;
    inset: 0;
    z-index: 73;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(10px);
  }

  #portal-mobile-more-sheet {
    position: fixed;
    left: 0.7rem;
    right: 0.7rem;
    bottom: calc(var(--portal-mobile-sheet-offset) + 0.55rem);
    z-index: 74;
    background: linear-gradient(145deg, rgba(16, 16, 16, 0.94), rgba(6, 6, 6, 0.98));
    border: 1px solid rgba(224, 197, 132, 0.18);
    box-shadow: 0 -18px 42px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(16px);
    padding: 0.9rem;
    animation: portalMobileSheetUp 0.22s ease-out;
  }

  .portal-mobile-more-sheet__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(224, 197, 132, 0.12);
  }

  .portal-mobile-more-sheet__eyebrow {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(224, 197, 132, 0.68);
  }

  .portal-mobile-more-sheet__title {
    margin-top: 0.2rem;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.4rem;
    color: #f0e2c0;
  }

  .portal-mobile-icon-btn {
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(224, 197, 132, 0.16);
    color: #e0c584;
    background: rgba(224, 197, 132, 0.04);
    border-radius: var(--radius);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }

  .portal-mobile-icon-btn:hover,
  .portal-mobile-icon-btn:focus-visible {
    background: rgba(224, 197, 132, 0.1);
    border-color: rgba(224, 197, 132, 0.28);
    color: #f0e2c0;
  }

  .portal-mobile-more-sheet__body {
    display: grid;
    gap: 0.55rem;
  }

  .portal-mobile-more-action {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 48px;
    padding: 0.85rem 0.9rem;
    border: 1px solid rgba(224, 197, 132, 0.12);
    background: rgba(224, 197, 132, 0.03);
    color: #f0e2c0;
    border-radius: var(--radius);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  }

  .portal-mobile-more-action:hover,
  .portal-mobile-more-action:focus-visible {
    background: rgba(224, 197, 132, 0.08);
    border-color: rgba(224, 197, 132, 0.24);
    transform: translateY(-1px);
  }

  .portal-mobile-more-action--danger {
    color: #fca5a5;
    border-color: rgba(248, 113, 113, 0.18);
    background: rgba(127, 29, 29, 0.18);
  }

  #dashboard-welcome-panel,
  #dashboard-stats-grid {
    display: none !important;
  }

  #portal-mobile-home-hub {
    display: block !important;
    margin-bottom: 0.85rem !important;
  }

  .portal-mobile-home-hero {
    display: block !important;
    padding: 0.95rem 1rem !important;
    margin-bottom: 0.7rem !important;
  }

  .portal-mobile-home-hero__eyebrow,
  .portal-mobile-home-kpi__label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(224, 197, 132, 0.74);
  }

  .portal-mobile-home-hero__title {
    margin-top: 0.15rem;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.3rem;
    line-height: 1.08;
    color: #f0e2c0;
  }

  .portal-mobile-home-hero__copy {
    margin-top: 0.18rem;
    font-size: 0.72rem;
    line-height: 1.35;
    color: rgba(240, 226, 192, 0.74);
  }

  .portal-mobile-home-hero__actions {
    display: none !important;
  }

  .portal-mobile-home-hero__actions .btn-filled,
  .portal-mobile-home-hero__actions .btn-outline {
    justify-content: center;
    min-height: 46px;
    font-size: 0.72rem !important;
    letter-spacing: 0.1em !important;
    padding: 0.55rem 0.65rem !important;
    border-radius: var(--radius) !important;
  }

  .portal-mobile-home-kpis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .portal-mobile-home-kpi {
    min-height: 108px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.85rem !important;
  }

  .portal-mobile-home-kpi__value {
    margin-top: 0.4rem;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    line-height: 1;
    color: #f0e2c0;
  }

  .portal-mobile-home-kpi__copy {
    margin-top: 0.45rem;
    font-size: 0.74rem;
    line-height: 1.3;
    color: rgba(240, 226, 192, 0.66);
  }

  #tab-dashboard .glass-panel,
  #tab-loyalty .glass-panel,
  #tab-membership .glass-panel,
  #tab-billing .glass-panel,
  #tab-profile .glass-panel,
  #tab-rebook .glass-panel,
  #tab-history .glass-panel {
    padding: 0.95rem !important;
  }

  #tab-dashboard,
  #tab-loyalty,
  #tab-membership,
  #tab-billing,
  #tab-profile,
  #tab-rebook,
  #tab-history {
    padding-top: 1.35rem !important;
  }

  #portal-mobile-home-hub,
  #dashboard-stats-grid {
    margin-top: 1.15rem !important;
  }

  #tab-dashboard .card-fancy,
  #tab-loyalty .card-fancy,
  #tab-membership .card-fancy,
  #tab-billing .card-fancy,
  #tab-profile .card-fancy,
  #tab-rebook .card-fancy,
  #tab-history .card-fancy {
    padding: 0.82rem !important;
  }

  #tab-dashboard h2,
  #tab-loyalty h2,
  #tab-membership h2,
  #tab-billing h2,
  #tab-profile h2,
  #tab-rebook h2,
  #tab-history h2 {
    font-size: 1.38rem !important;
    line-height: 1.12 !important;
  }

  #tab-dashboard .muted,
  #tab-loyalty .muted,
  #tab-membership .muted,
  #tab-billing .muted,
  #tab-profile .muted,
  #tab-rebook .muted,
  #tab-history .muted {
    font-size: 0.74rem !important;
  }

  #tab-dashboard .btn-filled,
  #tab-dashboard .btn-outline,
  #tab-loyalty .btn-filled,
  #tab-loyalty .btn-outline,
  #tab-membership .btn-filled,
  #tab-membership .btn-outline,
  #tab-billing .btn-filled,
  #tab-billing .btn-outline,
  #tab-profile .btn-filled,
  #tab-profile .btn-outline,
  #tab-rebook .btn-filled,
  #tab-rebook .btn-outline,
  #tab-history .btn-filled,
  #tab-history .btn-outline {
    font-size: 0.68rem !important;
    letter-spacing: 0.08em !important;
    padding: 0.42rem 0.68rem !important;
    border-radius: var(--radius) !important;
  }

  #next-appt-inline {
    border-radius: var(--radius) !important;
    background: linear-gradient(145deg, rgba(16, 16, 16, 0.82), rgba(9, 9, 9, 0.94)) !important;
    border-color: rgba(224, 197, 132, 0.16) !important;
  }

  #appointments-list .card-fancy,
  #appointments-loading .card-fancy,
  #appointments-error .card-fancy,
  #appointments-empty .card-fancy,
  #tab-loyalty .card-fancy,
  #tab-membership .card-fancy,
  #tab-billing .card-fancy,
  #tab-history .card-fancy,
  #tab-profile .card-fancy {
    border-radius: var(--radius) !important;
  }

  #tab-rebook #rebook-calendar-panel {
    padding: 1rem !important;
    max-width: 38rem;
  }

  #booking-stepper,
  #selected-date-info,
  #time-slots-container,
  #no-slots,
  #summary-confirm-panel,
  #summary-confirm-anchor {
    display: none !important;
  }

  #rebook-intro-panel {
    margin-bottom: 0.85rem !important;
  }

  #rebook-booking-grid {
    gap: 0 !important;
  }

  #treatment-select,
  #duration-select {
    min-height: 52px;
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
    font-size: 0.96rem !important;
    border-radius: var(--radius) !important;
  }

  #prev-month-btn,
  #next-month-btn {
    min-width: 44px;
    min-height: 44px;
    border-radius: var(--radius) !important;
  }

  #calendar-month-label {
    font-size: 1.2rem !important;
  }

  #tab-rebook .calendar-day {
    min-height: 40px !important;
    font-size: 0.84rem !important;
    border-radius: var(--radius) !important;
  }

  #tab-rebook .grid.grid-cols-7.gap-2.text-center {
    font-size: 0.58rem !important;
  }

  #portal-mobile-footer {
    bottom: var(--portal-mobile-sheet-offset) !important;
    left: 0;
    right: 0;
    z-index: 69;
    border-top-width: 1px !important;
    border-radius: 0 !important;
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.92), rgba(5, 5, 5, 0.98)) !important;
    box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.36);
    max-height: 102px;
  }

  #portal-mobile-footer.expanded {
    max-height: 76vh;
    border-width: 1px !important;
  }

  #portal-footer-collapsed,
  #portal-footer-expanded {
    border-radius: 0 !important;
  }

  #portal-selection-summary {
    margin-bottom: 0.35rem !important;
    padding-bottom: 0.45rem !important;
  }

  #portal-mobile-summary-label {
    font-size: 0.72rem !important;
  }

  .step-circle-mini,
  #portal-time-slots-container .time-slot-btn,
  #portal-continue-btn,
  #portal-confirm-drawer .btn-filled,
  #portal-confirm-drawer .btn-outline,
  #portal-confirm-drawer .input {
    border-radius: var(--radius) !important;
  }

  #portal-time-slots-container .time-slot-btn {
    min-height: 52px;
    padding: 0.75rem 0.5rem !important;
    font-size: 0.88rem !important;
  }

  #portal-time-slots-grid {
    gap: 0.75rem !important;
  }

  #portal-confirm-drawer {
    z-index: 75 !important;
  }

  #portal-confirm-drawer > div {
    border-radius: 0 !important;
    max-height: 88vh !important;
    border-top-width: 1px !important;
  }

  #portal-confirm-drawer .portal-confirm-summary,
  #portal-confirm-drawer .bg-white\/5,
  #portal-confirm-drawer .bg-brand-gold\/10 {
    border-radius: var(--radius) !important;
  }

  #portal-confirm-drawer .portal-confirm-summary {
    padding: 0.95rem !important;
  }

  #portal-confirm-drawer .portal-confirm-summary .summary-row {
    padding: 0.52rem 0 !important;
  }

  #portal-confirm-drawer .portal-confirm-summary .summary-label {
    font-size: 0.66rem !important;
  }

  #portal-confirm-drawer .portal-confirm-summary .summary-value {
    font-size: 0.98rem !important;
  }

  #tab-membership .membership-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
  }

  #tab-membership > .max-w-3xl > .card-fancy:first-child,
  #tab-billing > .max-w-3xl > h2,
  #tab-history > h2,
  #tab-profile .glass-panel:first-child h2 {
    margin-bottom: 0.25rem !important;
  }

  #membership-active .glass-panel:first-child,
  #billing-membership-card,
  #billing-membership-empty,
  #history-review-prompt .glass-panel,
  #tab-profile .glass-panel,
  #tab-profile .card-fancy {
    border-radius: var(--radius) !important;
  }

  #tab-membership > .max-w-3xl,
  #tab-billing > .max-w-3xl,
  #tab-loyalty > .max-w-5xl {
    max-width: none !important;
  }

  #membership-active .glass-panel:first-child > .flex,
  #billing-membership-card > .flex {
    align-items: flex-start !important;
    gap: 0.9rem !important;
  }

  #tab-membership .membership-metric-card {
    min-height: 6.35rem;
    padding: 0.9rem !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(145deg, rgba(18, 18, 18, 0.76), rgba(8, 8, 8, 0.94)) !important;
    border-color: rgba(224, 197, 132, 0.16) !important;
  }

  #tab-membership .membership-metric-card .text-xs {
    font-size: 0.6rem !important;
    letter-spacing: 0.14em !important;
  }

  #tab-membership .membership-metric-card .text-lg {
    font-size: 1.08rem !important;
    line-height: 1.18 !important;
  }

  #m_status_pill,
  #billing_m_status_pill,
  #history-empty .pill {
    border-radius: var(--radius) !important;
  }

  #membership-active .glass-panel:first-child {
    padding: 1rem !important;
    border-color: rgba(224, 197, 132, 0.18) !important;
    background: linear-gradient(145deg, rgba(18, 18, 18, 0.86), rgba(8, 8, 8, 0.96)) !important;
  }

  #membership-active .glass-panel:last-child,
  #billing-membership-card,
  #billing-membership-empty {
    padding: 1rem !important;
  }

  #m_status_pill,
  #billing_m_status_pill {
    min-height: 38px;
    padding: 0.45rem 0.7rem !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.1em !important;
  }

  #membership-action-hint,
  #billing-membership-hint {
    margin-top: 0.75rem !important;
    padding: 0.85rem 0.95rem !important;
    border: 1px solid rgba(224, 197, 132, 0.14) !important;
    background: rgba(224, 197, 132, 0.05) !important;
    text-align: left !important;
    line-height: 1.45 !important;
  }

  #m_bonus_50_mobile_chip {
    padding: 0.95rem !important;
    border-radius: var(--radius) !important;
    background: linear-gradient(145deg, rgba(224, 197, 132, 0.08), rgba(224, 197, 132, 0.03)) !important;
  }

  #membership-none,
  #membership-error {
    padding: 1.1rem !important;
  }

  #membership-none .btn-filled,
  #membership-error .btn-outline,
  #billing-membership-empty .btn-filled,
  #billing-btn-request-cancel,
  #btn-stripe-portal {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  #billing-membership-card .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
  }

  #billing-membership-card .card-fancy {
    padding: 0.9rem !important;
    min-height: 5.8rem;
    background: linear-gradient(145deg, rgba(18, 18, 18, 0.76), rgba(8, 8, 8, 0.94)) !important;
    border-color: rgba(224, 197, 132, 0.16) !important;
  }

  #billing-membership-card .sm\:col-span-2 {
    grid-column: span 2 / span 2 !important;
  }

  #tab-billing .glass-panel:first-of-type,
  #billing-membership-card,
  #billing-membership-empty {
    background: linear-gradient(145deg, rgba(18, 18, 18, 0.84), rgba(8, 8, 8, 0.96)) !important;
    border-color: rgba(224, 197, 132, 0.18) !important;
  }

  #billing-membership-card .text-lg,
  #history-list .text-lg,
  #tab-profile .text-xl {
    line-height: 1.15 !important;
  }

  #tab-billing .glass-panel,
  #tab-loyalty .glass-panel,
  #tab-history .glass-panel,
  #tab-profile .glass-panel,
  #tab-profile .card-fancy {
    padding: 1rem !important;
  }

  #tab-profile .grid.grid-cols-1.lg\\:grid-cols-2 {
    gap: 0.85rem !important;
  }

  #tab-profile .rounded-xl,
  #tab-profile .rounded-full,
  #tab-profile .input-dark,
  #tab-profile .btn,
  #tab-profile .btn-outline,
  #tab-profile .btn-filled {
    border-radius: var(--radius) !important;
  }

  #tab-profile .input-dark {
    min-height: 48px;
  }

  #history-list .card-fancy,
  #appointments-list .card-fancy {
    padding: 0.95rem !important;
  }

  #history-empty,
  #history-error {
    border-radius: var(--radius) !important;
  }

  #tab-billing .grid,
  #tab-loyalty .grid,
  #tab-history .grid,
  #tab-profile .grid {
    gap: 0.75rem !important;
  }

  #loyalty-cycle-progress-text,
  #loyalty-lifetime-count,
  #loyalty-available-count {
    line-height: 1.05 !important;
  }

  #loyalty-milestone-grid .card-fancy,
  #loyalty-earned-history .card-fancy,
  #loyalty-selected-card {
    border-radius: var(--radius) !important;
  }

  .loyalty-stepper-wrap {
    overflow: visible;
    padding-bottom: 0.2rem;
    margin-inline: 0;
  }

  .loyalty-stepper-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    min-width: 0;
    padding: 0.1rem 0 0;
  }

  .loyalty-stepper-item {
    text-align: center;
    padding: 0.8rem 0.45rem 0.65rem;
    border: 1px solid rgba(224, 197, 132, 0.14);
    background: linear-gradient(145deg, rgba(18, 18, 18, 0.82), rgba(8, 8, 8, 0.94));
  }

  .loyalty-stepper-item--redeemable {
    border-color: rgba(224, 197, 132, 0.26);
    background: linear-gradient(145deg, rgba(31, 24, 12, 0.94), rgba(10, 10, 10, 0.96));
    box-shadow: 0 0 0 1px rgba(224, 197, 132, 0.08), 0 0 18px rgba(224, 197, 132, 0.1);
  }

  .loyalty-stepper-badge {
    width: 2.6rem;
    height: 2.6rem;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(224, 197, 132, 0.2);
    background: linear-gradient(145deg, rgba(18, 18, 18, 0.92), rgba(8, 8, 8, 0.98));
    color: rgba(240, 226, 192, 0.58);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transform: rotate(45deg);
  }

  .loyalty-stepper-tier {
    margin-top: 0.82rem;
    color: rgba(224, 197, 132, 0.62);
    font-size: 0.48rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .loyalty-stepper-item--earned .loyalty-stepper-badge,
  .loyalty-stepper-item--redeemable .loyalty-stepper-badge,
  .loyalty-stepper-item--next .loyalty-stepper-badge {
    border-color: rgba(224, 197, 132, 0.38);
    color: rgba(224, 197, 132, 0.9);
  }

  .loyalty-stepper-item--redeemable .loyalty-stepper-badge {
    animation: loyaltyBadgeGlowMobile 2.8s ease-in-out infinite;
  }

  .loyalty-stepper-item--redeemable .loyalty-stepper-badge::after {
    content: "";
    position: absolute;
    inset: -46%;
    background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0) 22%,
      rgba(255, 244, 214, 0.08) 40%,
      rgba(255, 233, 176, 0.72) 50%,
      rgba(255, 244, 214, 0.08) 60%,
      rgba(255, 255, 255, 0) 78%
    );
    transform: translateX(-180%) rotate(-8deg);
    animation: loyaltyBadgeShimmerMobile 3.4s ease-in-out infinite;
    pointer-events: none;
  }

  .loyalty-stepper-item--redeemable .loyalty-stepper-badge {
    border-color: rgba(224, 197, 132, 0.7);
    background: linear-gradient(145deg, rgba(224, 197, 132, 0.14), rgba(18, 18, 18, 0.98));
    color: rgba(255, 232, 171, 0.98);
    box-shadow: 0 0 0 1px rgba(224, 197, 132, 0.18), 0 0 22px rgba(224, 197, 132, 0.18), 0 14px 28px rgba(224, 197, 132, 0.14);
  }

  .loyalty-stepper-badge-label {
    transform: rotate(-45deg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif, "Cormorant Garamond", serif);
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 0.02em;
  }

  .loyalty-stepper-title {
    margin-top: 0.32rem;
    color: rgba(240, 226, 192, 0.95);
    font-family: var(--font-serif, "Cormorant Garamond", serif);
    font-size: 0.84rem;
    letter-spacing: 0.02em;
    line-height: 1.1;
  }

  .loyalty-stepper-subtitle,
  .loyalty-stepper-footnote {
    margin-top: 0.2rem;
    color: rgba(240, 226, 192, 0.6);
    font-size: 0.62rem;
    line-height: 1.25;
  }

  .loyalty-stepper-reward {
    margin-top: 0.24rem;
    color: rgba(224, 197, 132, 0.88);
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
  }

  .loyalty-stepper-status {
    margin-top: 0.5rem;
    min-height: 2.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(224, 197, 132, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(240, 226, 192, 0.82);
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.18rem;
    line-height: 1.15;
  }

  .loyalty-stepper-item--locked .loyalty-stepper-status {
    color: rgba(240, 226, 192, 0.5);
  }

  .loyalty-stepper-item--next .loyalty-stepper-status {
    color: rgba(224, 197, 132, 0.88);
    border-color: rgba(224, 197, 132, 0.28);
  }

  .loyalty-stepper-item--earned .loyalty-stepper-status {
    color: rgba(224, 197, 132, 0.92);
    border-color: rgba(224, 197, 132, 0.3);
  }

  .loyalty-stepper-action {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
    min-height: 2.1rem;
    padding: 0.4rem 0.2rem;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    gap: 0.25rem;
  }

  .loyalty-stepper-action i {
    display: none;
  }

  .loyalty-stepper-item--redeemable .loyalty-stepper-action {
    animation: loyaltyRedeemPulseMobile 1.8s ease-in-out infinite;
    box-shadow: 0 0 0 1px rgba(224, 197, 132, 0.16), 0 0 18px rgba(224, 197, 132, 0.16);
  }

  .loyalty-stepper-item--redeemable .loyalty-stepper-action:active {
    animation-play-state: paused;
  }

  @keyframes loyaltyBadgeGlowMobile {
    0%, 100% {
      box-shadow: 0 0 0 1px rgba(224, 197, 132, 0.12), 0 0 14px rgba(224, 197, 132, 0.08), 0 14px 28px rgba(0, 0, 0, 0.18);
    }
    50% {
      box-shadow: 0 0 0 1px rgba(224, 197, 132, 0.28), 0 0 24px rgba(224, 197, 132, 0.22), 0 14px 30px rgba(224, 197, 132, 0.15);
    }
  }

  @keyframes loyaltyBadgeShimmerMobile {
    0%,
    68%,
    100% {
      transform: translateX(-180%) rotate(-8deg);
      opacity: 0;
    }
    18% {
      opacity: 0.95;
    }
    38% {
      transform: translateX(185%) rotate(-8deg);
      opacity: 0.9;
    }
    39% {
      opacity: 0;
    }
  }

  @keyframes loyaltyRedeemPulseMobile {
    0%,
    100% {
      transform: translateY(0) rotate(0deg);
      box-shadow: 0 0 0 1px rgba(224, 197, 132, 0.16), 0 0 16px rgba(224, 197, 132, 0.14);
    }
    20% {
      transform: translateY(-1px) rotate(-0.35deg);
    }
    40% {
      transform: translateY(0) rotate(0.35deg);
    }
    60% {
      transform: translateY(-2px) rotate(-0.25deg);
      box-shadow: 0 0 0 1px rgba(224, 197, 132, 0.28), 0 0 24px rgba(224, 197, 132, 0.22);
    }
    80% {
      transform: translateY(0) rotate(0.25deg);
    }
  }

  #rebook-loyalty-lock .grid {
    gap: 0.65rem !important;
  }

  #rebook-loyalty-lock .card-fancy {
    padding: 0.8rem !important;
  }

  #tab-history > h2 {
    margin-bottom: 0.85rem !important;
  }

  #history-review-prompt .glass-panel,
  #history-list .card-fancy,
  #history-empty,
  #history-error {
    background: linear-gradient(145deg, rgba(18, 18, 18, 0.82), rgba(8, 8, 8, 0.94)) !important;
    border-color: rgba(224, 197, 132, 0.16) !important;
  }

  #history-list .card-fancy {
    padding: 1rem !important;
  }

  #history-list .card-fancy .flex.flex-col.sm\:flex-row {
    gap: 0.85rem !important;
  }

  #history-list .btn-outline,
  #history-list .btn-danger {
    width: 100%;
    justify-content: center;
    min-height: 46px;
  }

  #tab-profile .glass-panel:first-child {
    background: linear-gradient(145deg, rgba(18, 18, 18, 0.84), rgba(8, 8, 8, 0.96)) !important;
    border-color: rgba(224, 197, 132, 0.18) !important;
  }

  #tab-profile .glass-panel:first-child > .flex {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  #tab-profile .glass-panel:first-child .flex.items-center.gap-2 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem !important;
    width: 100%;
  }

  #profile-edit-btn,
  #profile-save-btn,
  #profile-cancel-btn {
    width: 100%;
    justify-content: center;
    min-height: 46px;
  }

  #profile-save-hint {
    padding: 0.95rem !important;
    background: rgba(224, 197, 132, 0.06) !important;
  }

  #tab-profile #profile-view-personal > div,
  #tab-profile #profile-view-contact > div {
    flex-direction: column !important;
    gap: 0.3rem !important;
  }

  #tab-profile #profile-view-personal .text-right,
  #tab-profile #profile-view-contact .text-right {
    text-align: left !important;
  }

  #tab-profile #profile-view-address {
    grid-template-columns: 1fr !important;
  }

  #tab-profile .rounded-full,
  #tab-profile .rounded-xl,
  #tab-membership .rounded-full,
  #tab-membership .rounded-xl,
  #tab-billing .rounded-full,
  #tab-billing .rounded-xl,
  #tab-history .rounded-full,
  #tab-history .rounded-xl {
    border-radius: var(--radius) !important;
  }

  #tab-rebook .portal-mobile-spacer {
    height: calc(172px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@keyframes portalMobileSheetUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
