/*
 * Kura mobile application layer
 *
 * Desktop remains owned by main.css/app.css. Everything in this file is hidden
 * by default and activated only for phones and portrait tablets.
 */

.kura-mobile-only {
  display: none !important;
}

@media (max-width: 767.98px), (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  :root {
    --kura-mobile-header-height: 66px;
    --kura-mobile-nav-height: 74px;
    --kura-mobile-gutter: 14px;
    --kura-mobile-ink: #172033;
    --kura-mobile-muted: #6f7a8c;
    --kura-mobile-blue: #3974f6;
    --kura-mobile-blue-dark: #285bd0;
    --kura-mobile-surface: rgba(255, 255, 255, .96);
    --kura-mobile-soft: #f4f7fb;
    --kura-mobile-border: rgba(20, 31, 52, .085);
    --kura-mobile-shadow: 0 14px 38px rgba(22, 34, 55, .08);
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    overflow-x: clip;
  }

  html.kura-mobile-capable {
    background: #f4f7fb;
  }

  body.kura-mobile-enabled {
    min-height: 100dvh;
    margin: 0;
    overscroll-behavior-y: none;
    background:
      radial-gradient(circle at 5% -4%, rgba(57, 116, 246, .17), transparent 18rem),
      radial-gradient(circle at 100% 20%, rgba(66, 183, 132, .08), transparent 16rem),
      #f4f7fb;
    color: var(--kura-mobile-ink);
    -webkit-tap-highlight-color: transparent;
  }

  body.kura-mobile-enabled > #header,
  body.kura-mobile-enabled > main.main,
  body.kura-mobile-enabled > #footer,
  body.kura-mobile-enabled > #scroll-top,
  body.kura-mobile-enabled > #preloader {
    display: none !important;
  }

  .kura-mobile-only {
    display: block !important;
  }

  .kura-mobile-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1070;
    height: calc(var(--kura-mobile-header-height) + env(safe-area-inset-top));
    padding: calc(8px + env(safe-area-inset-top)) var(--kura-mobile-gutter) 8px;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(20, 31, 52, .07);
    background: rgba(248, 250, 253, .9);
    box-shadow: 0 8px 28px rgba(20, 31, 52, .055);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
  }

  .kura-mobile-header.kura-mobile-only {
    display: grid !important;
  }

  .kura-mobile-header-brand,
  .kura-mobile-header-action,
  .kura-mobile-avatar-button,
  .kura-mobile-icon-button {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid var(--kura-mobile-border);
    border-radius: 15px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 7px 20px rgba(20, 31, 52, .055);
    color: var(--kura-mobile-ink);
    text-decoration: none;
  }

  .kura-mobile-header-brand img {
    width: 31px;
    height: 31px;
    display: block;
    border-radius: 10px;
  }

  .kura-mobile-header-action,
  .kura-mobile-icon-button {
    color: var(--kura-mobile-blue);
    font-size: 1.06rem;
  }

  .kura-mobile-avatar-button {
    overflow: hidden;
    font-weight: 850;
  }

  .kura-mobile-avatar-button img,
  .kura-mobile-sheet-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .kura-mobile-header-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.08;
  }

  .kura-mobile-header-copy > span,
  .kura-mobile-sheet-kicker,
  .kura-mobile-eyebrow {
    color: #7a8495;
    font-size: .64rem;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
  }

  .kura-mobile-header-copy > strong {
    max-width: 100%;
    overflow: hidden;
    color: var(--kura-mobile-ink);
    font-size: .98rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .kura-mobile-main {
    width: 100%;
    min-width: 0;
    min-height: 100dvh;
    padding:
      calc(var(--kura-mobile-header-height) + env(safe-area-inset-top) + 14px)
      var(--kura-mobile-gutter)
      calc(var(--kura-mobile-nav-height) + env(safe-area-inset-bottom) + 28px);
  }

  .kura-mobile-main.kura-mobile-only {
    display: block !important;
  }

  .kura-mobile-page,
  .kura-mobile-fallback {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
  }

  .kura-mobile-page {
    display: grid;
    gap: 16px;
  }

  .kura-mobile-page-heading {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
  }

  .kura-mobile-page-heading > div {
    min-width: 0;
  }

  .kura-mobile-page-heading h1 {
    margin: 3px 0 0;
    color: var(--kura-mobile-ink);
    font-size: clamp(1.65rem, 7.2vw, 2.05rem);
    font-weight: 900;
    letter-spacing: -.045em;
    line-height: 1.06;
  }

  .kura-mobile-page-heading p {
    margin: 7px 0 0;
    color: var(--kura-mobile-muted);
    font-size: .9rem;
    line-height: 1.45;
  }

  .kura-mobile-hero-card {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 18px;
    padding: 20px;
    border-radius: 28px;
    background:
      radial-gradient(circle at 100% 0, rgba(133, 171, 255, .5), transparent 15rem),
      linear-gradient(145deg, #17243d, #315da9);
    box-shadow: 0 22px 48px rgba(30, 60, 112, .23);
    color: #fff;
  }

  .kura-mobile-hero-card::after {
    content: "";
    position: absolute;
    right: -55px;
    top: -68px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(255,255,255,.03), 0 0 0 56px rgba(255,255,255,.018);
    pointer-events: none;
  }

  .kura-mobile-hero-copy,
  .kura-mobile-search {
    position: relative;
    z-index: 1;
  }

  .kura-mobile-hero-copy > span {
    color: rgba(255, 255, 255, .68);
    font-size: .67rem;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
  }

  .kura-mobile-hero-copy h2 {
    max-width: 15ch;
    margin: 7px 0 8px;
    color: #fff;
    font-size: clamp(1.65rem, 7vw, 2.1rem);
    font-weight: 900;
    letter-spacing: -.05em;
    line-height: 1.04;
  }

  .kura-mobile-hero-copy p {
    max-width: 36rem;
    margin: 0;
    color: rgba(255, 255, 255, .75);
    font-size: .88rem;
    line-height: 1.5;
  }

  .kura-mobile-search,
  .kura-mobile-filter-search {
    min-width: 0;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 38px;
    align-items: center;
    gap: 8px;
    padding: 7px 7px 7px 13px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 17px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 12px 30px rgba(11, 25, 49, .16);
    color: #718096;
  }

  .kura-mobile-search input,
  .kura-mobile-filter-search input {
    min-width: 0;
    width: 100%;
    height: 38px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--kura-mobile-ink);
    font: inherit;
    font-size: .9rem;
  }

  .kura-mobile-search button,
  .kura-mobile-filter-search button {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 13px;
    background: var(--kura-mobile-blue);
    color: #fff;
  }

  .kura-mobile-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }

  .kura-mobile-stat-grid > a {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 13px 11px;
    border: 1px solid var(--kura-mobile-border);
    border-radius: 20px;
    background: var(--kura-mobile-surface);
    box-shadow: 0 10px 27px rgba(20, 31, 52, .055);
    color: var(--kura-mobile-ink);
    text-decoration: none;
  }

  .kura-mobile-stat-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    border-radius: 12px;
    background: rgba(57, 116, 246, .1);
    color: var(--kura-mobile-blue);
  }

  .kura-mobile-stat-icon.is-green { background: rgba(34, 155, 101, .1); color: #239b68; }
  .kura-mobile-stat-icon.is-red { background: rgba(218, 73, 93, .09); color: #d9495e; }

  .kura-mobile-stat-grid strong {
    font-size: 1.28rem;
    font-weight: 900;
    letter-spacing: -.035em;
  }

  .kura-mobile-stat-grid small {
    overflow: hidden;
    color: var(--kura-mobile-muted);
    font-size: .69rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .kura-mobile-section {
    display: grid;
    gap: 11px;
  }

  .kura-mobile-section-head {
    min-width: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
  }

  .kura-mobile-section-head h2 {
    margin: 2px 0 0;
    color: var(--kura-mobile-ink);
    font-size: 1.17rem;
    font-weight: 880;
    letter-spacing: -.025em;
  }

  .kura-mobile-section-head > a {
    color: var(--kura-mobile-blue);
    font-size: .77rem;
    font-weight: 800;
    text-decoration: none;
  }

  .kura-mobile-section-head > span {
    min-width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(57,116,246,.08);
    color: var(--kura-mobile-blue);
    font-size: .72rem;
    font-weight: 850;
  }

  .kura-mobile-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .kura-mobile-quick-grid > a {
    min-width: 0;
    min-height: 74px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 4px;
    border: 1px solid var(--kura-mobile-border);
    border-radius: 19px;
    background: var(--kura-mobile-surface);
    box-shadow: 0 9px 24px rgba(20,31,52,.045);
    color: #526073;
    font-size: .68rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
  }

  .kura-mobile-quick-grid i {
    color: var(--kura-mobile-blue);
    font-size: 1.12rem;
  }

  .kura-mobile-horizontal-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 72%);
    gap: 11px;
    margin-inline: calc(var(--kura-mobile-gutter) * -1);
    padding: 2px var(--kura-mobile-gutter) 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .kura-mobile-horizontal-list::-webkit-scrollbar,
  .kura-mobile-chip-scroll::-webkit-scrollbar {
    display: none;
  }

  .kura-mobile-recipe-tile {
    overflow: hidden;
    display: grid;
    grid-template-rows: 142px auto;
    border: 1px solid var(--kura-mobile-border);
    border-radius: 23px;
    background: var(--kura-mobile-surface);
    box-shadow: var(--kura-mobile-shadow);
    color: var(--kura-mobile-ink);
    text-decoration: none;
    scroll-snap-align: start;
  }

  .kura-mobile-recipe-media,
  .kura-mobile-discovery-media,
  .kura-mobile-list-media,
  .kura-mobile-recipe-hero-media {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #eaf0f8, #f8fafc);
  }

  .kura-mobile-recipe-media > img,
  .kura-mobile-discovery-media > img,
  .kura-mobile-list-media > img,
  .kura-mobile-recipe-hero-media > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .kura-mobile-placeholder {
    width: 100%;
    height: 100%;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
      radial-gradient(circle at 80% 15%, rgba(57,116,246,.17), transparent 8rem),
      linear-gradient(145deg, #eef3f9, #fafcff);
    color: #7190cc;
    font-size: 1.65rem;
  }

  .kura-mobile-recipe-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 13px;
  }

  .kura-mobile-recipe-copy small,
  .kura-mobile-discovery-copy small {
    color: var(--kura-mobile-muted);
    font-size: .67rem;
    font-weight: 750;
  }

  .kura-mobile-recipe-copy strong {
    display: -webkit-box;
    margin-top: 3px;
    overflow: hidden;
    font-size: .98rem;
    font-weight: 870;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .kura-mobile-recipe-copy em {
    margin-top: 9px;
    color: var(--kura-mobile-blue);
    font-size: .72rem;
    font-style: normal;
    font-weight: 820;
  }

  .kura-mobile-filter-card,
  .kura-mobile-detail-card,
  .kura-mobile-empty-card,
  .kura-mobile-tip-card,
  .kura-mobile-guest-cta {
    border: 1px solid var(--kura-mobile-border);
    border-radius: 24px;
    background: var(--kura-mobile-surface);
    box-shadow: var(--kura-mobile-shadow);
  }

  .kura-mobile-filter-card {
    display: grid;
    gap: 10px;
    padding: 12px;
  }

  .kura-mobile-filter-search {
    border-color: rgba(20,31,52,.08);
    background: #f7f9fc;
    box-shadow: none;
  }

  .kura-mobile-filter-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 9px;
  }

  .kura-mobile-filter-row label,
  .kura-mobile-filter-fields label,
  .kura-mobile-action-details label {
    min-width: 0;
    display: grid;
    gap: 5px;
  }

  .kura-mobile-filter-row label > span,
  .kura-mobile-filter-fields label > span,
  .kura-mobile-action-details label > span {
    color: #566274;
    font-size: .68rem;
    font-weight: 820;
  }

  .kura-mobile-filter-card select,
  .kura-mobile-filter-card input,
  .kura-mobile-action-details select,
  .kura-mobile-action-details input {
    width: 100%;
    min-height: 43px;
    padding: 9px 11px;
    border: 1px solid rgba(20,31,52,.12);
    border-radius: 13px;
    outline: 0;
    background: #fff;
    color: var(--kura-mobile-ink);
    font: inherit;
    font-size: .82rem;
  }

  .kura-mobile-filter-apply,
  .kura-mobile-filter-actions button,
  .kura-mobile-action-details form > button {
    min-height: 43px;
    padding: 9px 14px;
    border: 0;
    border-radius: 13px;
    background: var(--kura-mobile-blue);
    color: #fff;
    font-size: .77rem;
    font-weight: 830;
  }

  .kura-mobile-filter-details {
    border-top: 1px solid rgba(20,31,52,.07);
    padding-top: 4px;
  }

  .kura-mobile-filter-details > summary,
  .kura-mobile-action-details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 2px 5px;
    color: #526073;
    font-size: .77rem;
    font-weight: 820;
    list-style: none;
    cursor: pointer;
  }

  .kura-mobile-filter-details > summary::-webkit-details-marker,
  .kura-mobile-action-details > summary::-webkit-details-marker {
    display: none;
  }

  .kura-mobile-filter-details > summary > i,
  .kura-mobile-action-details > summary > i {
    transition: transform .18s ease;
  }

  .kura-mobile-filter-details[open] > summary > i,
  .kura-mobile-action-details[open] > summary > i {
    transform: rotate(180deg);
  }

  .kura-mobile-filter-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding-top: 9px;
  }

  .kura-mobile-filter-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 11px;
  }

  .kura-mobile-filter-actions a {
    color: #718096;
    font-size: .75rem;
    font-weight: 800;
    text-decoration: none;
  }

  .kura-mobile-chip-scroll,
  .kura-mobile-tag-row {
    display: flex;
    gap: 7px;
    margin-inline: calc(var(--kura-mobile-gutter) * -1);
    padding-inline: var(--kura-mobile-gutter);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .kura-mobile-chip-scroll > a,
  .kura-mobile-tag-row > a,
  .kura-mobile-tag-row > span {
    flex: 0 0 auto;
    min-height: 33px;
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border: 1px solid var(--kura-mobile-border);
    border-radius: 999px;
    background: rgba(255,255,255,.9);
    color: #627087;
    font-size: .7rem;
    font-weight: 780;
    text-decoration: none;
  }

  .kura-mobile-chip-scroll > a.is-active {
    border-color: rgba(57,116,246,.22);
    background: rgba(57,116,246,.1);
    color: var(--kura-mobile-blue-dark);
  }

  .kura-mobile-card-list,
  .kura-mobile-cookbook-grid {
    display: grid;
    gap: 11px;
  }

  .kura-mobile-list-card,
  .kura-mobile-discovery-card,
  .kura-mobile-cookbook-card {
    overflow: hidden;
    border: 1px solid var(--kura-mobile-border);
    border-radius: 23px;
    background: var(--kura-mobile-surface);
    box-shadow: var(--kura-mobile-shadow);
  }

  .kura-mobile-list-card-main {
    min-width: 0;
    display: grid;
    grid-template-columns: 106px minmax(0, 1fr);
    color: var(--kura-mobile-ink);
    text-decoration: none;
  }

  .kura-mobile-list-media {
    min-height: 126px;
  }

  .kura-mobile-list-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 12px;
  }

  .kura-mobile-list-topline {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .kura-mobile-list-topline small {
    min-width: 0;
    overflow: hidden;
    color: var(--kura-mobile-muted);
    font-size: .65rem;
    font-weight: 760;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .kura-mobile-list-topline em,
  .kura-mobile-cookbook-cover em,
  .kura-mobile-detail-topline > span {
    flex: 0 0 auto;
    min-height: 23px;
    display: inline-flex;
    align-items: center;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(111,122,140,.1);
    color: #657186;
    font-size: .59rem;
    font-style: normal;
    font-weight: 850;
    text-transform: uppercase;
  }

  .kura-mobile-list-topline em.is-public,
  .kura-mobile-cookbook-cover em.is-public,
  .kura-mobile-detail-topline > span.is-public { background: rgba(35,155,104,.11); color: #21845b; }
  .kura-mobile-list-topline em.is-unlisted,
  .kura-mobile-cookbook-cover em.is-unlisted,
  .kura-mobile-detail-topline > span.is-unlisted { background: rgba(230,154,35,.12); color: #9d6a15; }
  .kura-mobile-list-topline em.is-favorite { background: rgba(217,73,94,.1); color: #cc4056; }

  .kura-mobile-list-copy > strong {
    display: -webkit-box;
    margin-top: 7px;
    overflow: hidden;
    font-size: .95rem;
    font-weight: 870;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .kura-mobile-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 9px;
    margin-top: auto;
    padding-top: 9px;
  }

  .kura-mobile-list-meta small,
  .kura-mobile-list-description {
    color: var(--kura-mobile-muted);
    font-size: .66rem;
    line-height: 1.4;
  }

  .kura-mobile-list-description {
    display: -webkit-box;
    margin-top: 7px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .kura-mobile-list-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(20,31,52,.07);
  }

  .kura-mobile-list-actions > a,
  .kura-mobile-list-actions form,
  .kura-mobile-list-actions button {
    min-width: 0;
    min-height: 39px;
  }

  .kura-mobile-list-actions > a,
  .kura-mobile-list-actions button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    border: 0;
    background: transparent;
    color: #536176;
    font-size: .71rem;
    font-weight: 800;
    text-decoration: none;
  }

  .kura-mobile-list-actions > :first-child {
    border-right: 1px solid rgba(20,31,52,.07);
  }

  .kura-mobile-discovery-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    min-height: 154px;
    color: var(--kura-mobile-ink);
    text-decoration: none;
  }

  .kura-mobile-discovery-media > em {
    position: absolute;
    left: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 7px;
    border-radius: 999px;
    background: rgba(18,29,47,.76);
    color: #fff;
    font-size: .59rem;
    font-style: normal;
    font-weight: 800;
    backdrop-filter: blur(8px);
  }

  .kura-mobile-discovery-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 12px;
  }

  .kura-mobile-discovery-copy > strong {
    display: -webkit-box;
    margin-top: 4px;
    overflow: hidden;
    font-size: .96rem;
    font-weight: 870;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .kura-mobile-discovery-copy > span {
    display: -webkit-box;
    margin-top: 6px;
    overflow: hidden;
    color: var(--kura-mobile-muted);
    font-size: .69rem;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .kura-mobile-discovery-copy > b {
    margin-top: auto;
    padding-top: 8px;
    color: var(--kura-mobile-blue);
    font-size: .69rem;
  }

  .kura-mobile-pagination {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    padding-top: 3px;
  }

  .kura-mobile-pagination a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 10px;
    border: 1px solid var(--kura-mobile-border);
    border-radius: 13px;
    background: #fff;
    color: #526073;
    font-size: .7rem;
    font-weight: 800;
    text-decoration: none;
  }

  .kura-mobile-pagination a:last-child { justify-self: stretch; }
  .kura-mobile-pagination strong { color: var(--kura-mobile-muted); font-size: .68rem; }

  .kura-mobile-empty-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 26px 20px;
    text-align: center;
  }

  .kura-mobile-empty-card > span {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(57,116,246,.1);
    color: var(--kura-mobile-blue);
    font-size: 1.25rem;
  }

  .kura-mobile-empty-card h3 {
    margin: 13px 0 5px;
    color: var(--kura-mobile-ink);
    font-size: 1.05rem;
    font-weight: 870;
  }

  .kura-mobile-empty-card p,
  .kura-mobile-tip-card p,
  .kura-mobile-guest-cta p,
  .kura-mobile-muted-copy {
    margin: 0;
    color: var(--kura-mobile-muted);
    font-size: .8rem;
    line-height: 1.5;
  }

  .kura-mobile-button,
  .kura-mobile-guest-cta > a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    padding: 9px 15px;
    border-radius: 13px;
    background: var(--kura-mobile-blue);
    color: #fff;
    font-size: .76rem;
    font-weight: 830;
    text-decoration: none;
  }

  .kura-mobile-cookbook-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 156px;
    color: var(--kura-mobile-ink);
    text-decoration: none;
  }

  .kura-mobile-cookbook-cover {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
      radial-gradient(circle at 85% 12%, rgba(57,116,246,.22), transparent 8rem),
      linear-gradient(145deg, #edf4ff, #f9fbff);
  }

  .kura-mobile-cookbook-cover > strong {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 21px;
    background: rgba(255,255,255,.93);
    box-shadow: 0 13px 28px rgba(20,31,52,.09);
    color: var(--kura-mobile-blue);
    font-size: 1.65rem;
    font-weight: 900;
  }

  .kura-mobile-cookbook-cover > em {
    position: absolute;
    left: 8px;
    bottom: 8px;
  }

  .kura-mobile-cookbook-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 13px;
  }

  .kura-mobile-cookbook-copy small { color: var(--kura-mobile-muted); font-size: .65rem; font-weight: 760; }
  .kura-mobile-cookbook-copy > strong { margin-top: 4px; font-size: 1rem; font-weight: 880; line-height: 1.22; }
  .kura-mobile-cookbook-copy > span { display: -webkit-box; margin-top: 6px; overflow: hidden; color: var(--kura-mobile-muted); font-size: .69rem; line-height: 1.42; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .kura-mobile-cookbook-copy b { margin-top: auto; padding-top: 8px; color: var(--kura-mobile-blue); font-size: .69rem; }

  .kura-mobile-tip-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: start;
    gap: 11px;
    padding: 14px;
  }

  .kura-mobile-tip-card > span {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(238,170,52,.12);
    color: #ae7415;
  }

  .kura-mobile-tip-card strong { display: block; margin-bottom: 3px; font-size: .82rem; }

  .kura-mobile-guest-cta {
    padding: 19px;
    background:
      radial-gradient(circle at 100% 0, rgba(128,165,255,.35), transparent 12rem),
      linear-gradient(145deg, #1a2944, #315da9);
    color: #fff;
  }

  .kura-mobile-guest-cta h2 { margin: 5px 0 7px; color: #fff; font-size: 1.35rem; font-weight: 900; letter-spacing: -.035em; }
  .kura-mobile-guest-cta p { color: rgba(255,255,255,.74); }
  .kura-mobile-guest-cta > a { background: #fff; color: var(--kura-mobile-blue-dark); }

  .kura-mobile-back-link {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #637085;
    font-size: .73rem;
    font-weight: 800;
    text-decoration: none;
  }

  .kura-mobile-recipe-hero {
    overflow: hidden;
    border: 1px solid var(--kura-mobile-border);
    border-radius: 27px;
    background: var(--kura-mobile-surface);
    box-shadow: 0 18px 44px rgba(20,31,52,.09);
  }

  .kura-mobile-recipe-hero-media {
    height: clamp(230px, 64vw, 390px);
  }

  .kura-mobile-floating-action {
    position: absolute;
    top: 12px;
    right: 12px;
  }

  .kura-mobile-floating-action button {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 15px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 10px 26px rgba(20,31,52,.13);
    color: #d9485e;
    font-size: 1.05rem;
    backdrop-filter: blur(10px);
  }

  .kura-mobile-recipe-hero-copy {
    display: grid;
    gap: 10px;
    padding: 17px;
  }

  .kura-mobile-detail-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .kura-mobile-detail-topline small { color: var(--kura-mobile-muted); font-size: .68rem; font-weight: 760; }

  .kura-mobile-recipe-hero-copy h1 {
    margin: 0;
    color: var(--kura-mobile-ink);
    font-size: clamp(1.75rem, 7vw, 2.35rem);
    font-weight: 920;
    letter-spacing: -.05em;
    line-height: 1.04;
  }

  .kura-mobile-recipe-hero-copy > p {
    margin: 0;
    color: var(--kura-mobile-muted);
    font-size: .83rem;
    line-height: 1.55;
  }

  .kura-mobile-recipe-stats,
  .kura-mobile-nutrition-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .kura-mobile-recipe-stats > div,
  .kura-mobile-nutrition-grid > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 9px 7px;
    border-radius: 14px;
    background: #f5f7fb;
    text-align: center;
  }

  .kura-mobile-recipe-stats strong,
  .kura-mobile-nutrition-grid strong {
    overflow: hidden;
    color: var(--kura-mobile-ink);
    font-size: .76rem;
    font-weight: 870;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .kura-mobile-recipe-stats span,
  .kura-mobile-nutrition-grid span {
    color: var(--kura-mobile-muted);
    font-size: .58rem;
    font-weight: 760;
  }

  .kura-mobile-tag-row { margin-inline: 0; padding-inline: 0; }

  .kura-mobile-recipe-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .kura-mobile-recipe-action-grid > a,
  .kura-mobile-recipe-action-grid > button,
  .kura-mobile-recipe-action-grid > form > button {
    width: 100%;
    min-height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 5px;
    border: 1px solid var(--kura-mobile-border);
    border-radius: 17px;
    background: var(--kura-mobile-surface);
    box-shadow: 0 9px 24px rgba(20,31,52,.05);
    color: #526073;
    font-size: .68rem;
    font-weight: 810;
    text-align: center;
    text-decoration: none;
  }

  .kura-mobile-recipe-action-grid > a.is-primary {
    border-color: transparent;
    background: var(--kura-mobile-blue);
    color: #fff;
  }

  .kura-mobile-recipe-action-grid i { font-size: 1.05rem; }

  .kura-mobile-share-status {
    justify-self: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(35,155,104,.1);
    color: #21845b;
    font-size: .67rem;
    font-weight: 800;
  }

  .kura-mobile-detail-card {
    display: grid;
    gap: 13px;
    padding: 16px;
  }

  .kura-mobile-video {
    overflow: hidden;
    border-radius: 17px;
  }

  .kura-mobile-ingredient-groups {
    display: grid;
    gap: 14px;
  }

  .kura-mobile-ingredient-groups h3 {
    margin: 0 0 7px;
    color: #536176;
    font-size: .73rem;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  .kura-mobile-ingredient-groups ul {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .kura-mobile-ingredient-groups li {
    min-width: 0;
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 3px 9px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(20,31,52,.07);
  }

  .kura-mobile-ingredient-groups li:last-child { border-bottom: 0; }
  .kura-mobile-ingredient-groups li > span { color: var(--kura-mobile-blue-dark); font-size: .73rem; font-weight: 850; }
  .kura-mobile-ingredient-groups li > strong { min-width: 0; font-size: .79rem; font-weight: 820; }
  .kura-mobile-ingredient-groups li > em { grid-column: 2; color: var(--kura-mobile-muted); font-size: .66rem; font-style: normal; }

  .kura-mobile-step-list {
    display: grid;
    gap: 15px;
  }

  .kura-mobile-step-list article {
    min-width: 0;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    gap: 11px;
  }

  .kura-mobile-step-list article > span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--kura-mobile-blue);
    color: #fff;
    font-size: .75rem;
    font-weight: 900;
  }

  .kura-mobile-markdown,
  .kura-mobile-markdown p,
  .kura-mobile-markdown li {
    color: #3f4b5f;
    font-size: .8rem;
    line-height: 1.58;
  }

  .kura-mobile-markdown p:last-child { margin-bottom: 0; }
  .kura-mobile-step-list img { width: 100%; margin-top: 10px; border-radius: 16px; }

  .kura-mobile-related-list {
    display: grid;
    gap: 8px;
  }

  .kura-mobile-related-list > a {
    min-width: 0;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 15px;
    background: #f6f8fb;
    color: var(--kura-mobile-ink);
    text-decoration: none;
  }

  .kura-mobile-related-list img,
  .kura-mobile-related-list > a > .kura-mobile-placeholder {
    width: 50px;
    height: 50px;
    min-height: 0;
    border-radius: 13px;
    object-fit: cover;
  }

  .kura-mobile-related-list strong { display: block; overflow: hidden; font-size: .77rem; text-overflow: ellipsis; white-space: nowrap; }
  .kura-mobile-related-list small { color: var(--kura-mobile-muted); font-size: .63rem; }
  .kura-mobile-related-list > a > i { color: #8a94a4; }

  .kura-mobile-action-details {
    padding-top: 10px;
  }

  .kura-mobile-action-details > summary {
    padding: 5px 0;
    color: var(--kura-mobile-ink);
    font-size: .8rem;
  }

  .kura-mobile-action-details form {
    display: grid;
    gap: 10px;
    padding-top: 10px;
  }

  .kura-mobile-settings-actions {
    display: grid;
    gap: 8px;
    padding-top: 10px;
  }

  .kura-mobile-settings-actions > a,
  .kura-mobile-settings-actions button {
    width: 100%;
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 13px;
    border: 1px solid var(--kura-mobile-border);
    border-radius: 13px;
    background: #fff;
    color: #536176;
    font-size: .75rem;
    font-weight: 810;
    text-decoration: none;
  }

  .kura-mobile-danger-details button { border-color: rgba(217,73,94,.16); color: #c33b50; background: rgba(217,73,94,.05); }

  .kura-mobile-bottom-nav {
    position: fixed;
    inset: auto 0 0;
    z-index: 1070;
    min-height: calc(var(--kura-mobile-nav-height) + env(safe-area-inset-bottom));
    padding: 7px max(8px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    border-top: 1px solid rgba(20,31,52,.08);
    background: rgba(255,255,255,.94);
    box-shadow: 0 -12px 34px rgba(20,31,52,.08);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    transition: transform .18s ease, opacity .18s ease;
  }

  .kura-mobile-bottom-nav.kura-mobile-only {
    display: grid !important;
  }

  .kura-mobile-bottom-nav-guest {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.kura-mobile-keyboard-open .kura-mobile-bottom-nav {
    pointer-events: none;
    opacity: 0;
    transform: translateY(110%);
  }

  .kura-mobile-bottom-nav > a,
  .kura-mobile-bottom-nav > button {
    position: relative;
    min-width: 0;
    min-height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    padding: 5px 2px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #788396;
    font: inherit;
    font-size: .61rem;
    font-weight: 790;
    text-decoration: none;
  }

  .kura-mobile-bottom-nav > a > i,
  .kura-mobile-bottom-nav > button > i {
    font-size: 1.15rem;
    line-height: 1;
  }

  .kura-mobile-bottom-nav > .is-active {
    color: var(--kura-mobile-blue);
  }

  .kura-mobile-nav-add {
    justify-content: center !important;
    margin-top: -20px;
  }

  .kura-mobile-nav-add > span {
    width: 47px;
    height: 47px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 5px solid rgba(255,255,255,.96);
    border-radius: 17px;
    background: var(--kura-mobile-blue);
    box-shadow: 0 10px 24px rgba(57,116,246,.3);
    color: #fff;
    font-size: 1.15rem;
  }

  .kura-mobile-nav-add > small {
    color: #657186;
    font-size: .61rem;
    font-weight: 790;
  }

  .kura-mobile-nav-primary {
    color: var(--kura-mobile-blue) !important;
  }

  .kura-mobile-sheet {
    z-index: 1090;
    height: auto !important;
    max-height: min(86dvh, 760px);
    border: 0 !important;
    border-radius: 28px 28px 0 0;
    background: #f8fafc;
    box-shadow: 0 -24px 60px rgba(20,31,52,.2);
  }

  .kura-mobile-sheet .offcanvas-header {
    align-items: flex-start;
    padding: 18px 18px 10px;
  }

  .kura-mobile-sheet .offcanvas-title {
    margin: 3px 0 0;
    color: var(--kura-mobile-ink);
    font-size: 1.2rem;
    font-weight: 880;
    letter-spacing: -.03em;
  }

  .kura-mobile-sheet .offcanvas-body {
    padding: 8px 14px calc(18px + env(safe-area-inset-bottom));
  }

  .kura-mobile-action-list {
    display: grid;
    gap: 8px;
  }

  .kura-mobile-action-list > a {
    min-width: 0;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 11px;
    padding: 11px;
    border: 1px solid var(--kura-mobile-border);
    border-radius: 17px;
    background: #fff;
    color: var(--kura-mobile-ink);
    text-decoration: none;
  }

  .kura-mobile-action-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(57,116,246,.1);
    color: var(--kura-mobile-blue);
  }

  .kura-mobile-action-icon.is-violet { background: rgba(123,92,222,.11); color: #7658d3; }
  .kura-mobile-action-icon.is-green { background: rgba(35,155,104,.1); color: #239b68; }
  .kura-mobile-action-icon.is-orange { background: rgba(230,154,35,.12); color: #a96f12; }

  .kura-mobile-action-list strong { display: block; font-size: .81rem; font-weight: 850; }
  .kura-mobile-action-list small { display: block; margin-top: 2px; color: var(--kura-mobile-muted); font-size: .66rem; line-height: 1.35; }
  .kura-mobile-action-list > a > i { color: #9aa3b1; }

  .kura-mobile-profile-row {
    min-width: 0;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
  }

  .kura-mobile-sheet-avatar {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(57,116,246,.1);
    color: var(--kura-mobile-blue);
    font-weight: 900;
  }

  .kura-mobile-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .kura-mobile-menu-grid > a {
    min-width: 0;
    min-height: 78px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 5px;
    border: 1px solid var(--kura-mobile-border);
    border-radius: 17px;
    background: #fff;
    color: #596679;
    font-size: .69rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
  }

  .kura-mobile-menu-grid > a > i { color: var(--kura-mobile-blue); font-size: 1.12rem; }
  .kura-mobile-menu-grid > a.is-active { border-color: rgba(57,116,246,.22); background: rgba(57,116,246,.08); color: var(--kura-mobile-blue-dark); }

  .kura-mobile-menu-list {
    display: grid;
    gap: 0;
    margin-top: 12px;
    overflow: hidden;
    border: 1px solid var(--kura-mobile-border);
    border-radius: 18px;
    background: #fff;
  }

  .kura-mobile-menu-list > a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 13px;
    border-bottom: 1px solid rgba(20,31,52,.07);
    color: #526073;
    font-size: .76rem;
    font-weight: 800;
    text-decoration: none;
  }

  .kura-mobile-menu-list > a:last-child { border-bottom: 0; }
  .kura-mobile-menu-list > a.is-danger { color: #c63c52; }

  /* Existing-page fallback ------------------------------------------------ */
  .kura-mobile-fallback {
    min-width: 0;
  }

  .kura-mobile-fallback > .page,
  .kura-mobile-fallback > section,
  .kura-mobile-fallback > .container,
  .kura-mobile-fallback .cb-page-shell > .container,
  .kura-mobile-fallback .section > .container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .kura-mobile-fallback .page,
  .kura-mobile-fallback .cb-page-shell,
  .kura-mobile-fallback .section {
    display: grid !important;
    gap: 14px !important;
  }

  .kura-mobile-fallback .page-head,
  .kura-mobile-fallback .cb-page-head,
  .kura-mobile-fallback .section-title {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .kura-mobile-fallback .page-head h1,
  .kura-mobile-fallback .cb-page-head h1,
  .kura-mobile-fallback .section-title h2 {
    margin: 0 !important;
    color: var(--kura-mobile-ink) !important;
    font-size: clamp(1.55rem, 7vw, 2rem) !important;
    font-weight: 900 !important;
    letter-spacing: -.045em !important;
    line-height: 1.05 !important;
  }

  .kura-mobile-fallback .page-head p,
  .kura-mobile-fallback .cb-page-head p,
  .kura-mobile-fallback .section-title p {
    margin: 6px 0 0 !important;
    color: var(--kura-mobile-muted) !important;
    font-size: .82rem !important;
    line-height: 1.45 !important;
  }

  .kura-mobile-fallback .btn-row,
  .kura-mobile-fallback .kura-shopping-actions,
  .kura-mobile-fallback .kura-shopping-button-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .kura-mobile-fallback .btn,
  .kura-mobile-fallback button:not(.btn-close),
  .kura-mobile-fallback input[type="submit"] {
    min-height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 9px 13px !important;
    border-radius: 13px !important;
    font-size: .75rem !important;
    font-weight: 810 !important;
  }

  .kura-mobile-fallback .btn.primary,
  .kura-mobile-fallback .btn-danger,
  .kura-mobile-fallback button.btn-primary {
    border-color: var(--kura-mobile-blue) !important;
    background: var(--kura-mobile-blue) !important;
    color: #fff !important;
  }

  .kura-mobile-fallback .panel,
  .kura-mobile-fallback .card,
  .kura-mobile-fallback .cb-filter-panel,
  .kura-mobile-fallback .cb-surface-panel,
  .kura-mobile-fallback .note-card,
  .kura-mobile-fallback fieldset {
    min-width: 0 !important;
    overflow: hidden !important;
    border: 1px solid var(--kura-mobile-border) !important;
    border-radius: 22px !important;
    background: var(--kura-mobile-surface) !important;
    box-shadow: var(--kura-mobile-shadow) !important;
  }

  .kura-mobile-fallback .panel-head,
  .kura-mobile-fallback .card-header,
  .kura-mobile-fallback .panel-body,
  .kura-mobile-fallback .card-body,
  .kura-mobile-fallback .cb-filter-panel,
  .kura-mobile-fallback fieldset {
    padding: 14px !important;
  }

  .kura-mobile-fallback .content-grid,
  .kura-mobile-fallback .summary-grid,
  .kura-mobile-fallback .recipe-list-grid,
  .kura-mobile-fallback .kura-collection-grid,
  .kura-mobile-fallback .recipe-primary-grid,
  .kura-mobile-fallback .recipe-secondary-grid,
  .kura-mobile-fallback .kura-planner-grid,
  .kura-mobile-fallback .kura-manual-grid,
  .kura-mobile-fallback .kura-add-plan-grid,
  .kura-mobile-fallback .filter-grid,
  .kura-mobile-fallback .advanced-filter-grid,
  .kura-mobile-fallback .row {
    grid-template-columns: 1fr !important;
    gap: 11px !important;
  }

  .kura-mobile-fallback .row > * {
    width: 100% !important;
    max-width: 100% !important;
  }

  .kura-mobile-fallback label {
    min-width: 0 !important;
  }

  .kura-mobile-fallback .form-control,
  .kura-mobile-fallback .form-select,
  .kura-mobile-fallback input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  .kura-mobile-fallback select,
  .kura-mobile-fallback textarea {
    width: 100% !important;
    min-height: 44px !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(20,31,52,.13) !important;
    border-radius: 13px !important;
    background: #fff !important;
    color: var(--kura-mobile-ink) !important;
    font-size: .82rem !important;
  }

  .kura-mobile-fallback textarea {
    min-height: 118px !important;
  }

  .kura-mobile-fallback .table-responsive,
  .kura-mobile-fallback table {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
  }

  .kura-mobile-fallback table {
    display: block !important;
    white-space: nowrap;
  }

  .kura-mobile-fallback .recipe-card,
  .kura-mobile-fallback .kura-collection-card,
  .kura-mobile-fallback .kura-day-card {
    min-height: 0 !important;
    border-radius: 22px !important;
  }

  .kura-mobile-fallback .recipe-img,
  .kura-mobile-fallback .recipe-hero-media,
  .kura-mobile-fallback .cb-recipe-hero-media {
    height: auto !important;
    max-height: 360px !important;
    aspect-ratio: 16 / 10 !important;
  }

  .kura-mobile-fallback .kura-day-card {
    min-height: 330px !important;
  }

  .kura-mobile-fallback .pagination {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
  }

  .kura-mobile-fallback img,
  .kura-mobile-fallback iframe,
  .kura-mobile-fallback video {
    max-width: 100% !important;
  }

  .kura-mobile-fallback .modal,
  .kura-mobile-fallback .offcanvas {
    max-width: 100vw !important;
  }
}

@media (max-width: 390px) {
  .kura-mobile-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kura-mobile-list-card-main,
  .kura-mobile-discovery-card,
  .kura-mobile-cookbook-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .kura-mobile-filter-fields {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kura-mobile-bottom-nav,
  .kura-mobile-filter-details > summary > i,
  .kura-mobile-action-details > summary > i {
    transition: none !important;
  }
}
