/* Mobil keşif arayüzü — yumuşak yeşil, büyük kartlar, yüzen tab bar */
@media (max-width: 900px) {
  :root {
    --m-bg: #dce8dc;
    --m-bg-soft: #e8f0e6;
    --m-card: #ffffff;
    --m-ink: #142018;
    --m-muted: #5f6f64;
    --m-chip-on: #c9b89a;
    --m-shadow: 0 12px 32px rgba(20, 32, 24, 0.1);
  }

  body.m-app-shell {
    background: var(--m-bg);
  }

  body.is-home-mobile,
  body.is-cats-mobile {
    background: var(--m-bg);
  }

  body.m-app-shell .wa-wrap {
    padding: 10px 16px calc(96px + env(safe-area-inset-bottom, 0px));
  }

  /* ——— Ana sayfa ——— */
  .m-home {
    display: block;
    margin-bottom: 12px;
  }

  .mh-loc-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
  }

  .mh-loc {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-decoration: none;
    color: inherit;
  }

  .mh-loc-pin {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--m-card);
    display: grid;
    place-items: center;
    font-size: 18px;
    box-shadow: var(--m-shadow);
    flex: 0 0 auto;
  }

  .mh-loc small {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--m-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .mh-loc b {
    display: block;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mh-bell {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--m-card);
    box-shadow: var(--m-shadow);
    display: grid;
    place-items: center;
    font-size: 18px;
    flex: 0 0 auto;
  }

  .mh-hero-title {
    margin: 0 0 18px;
    font-size: clamp(2rem, 9vw, 2.65rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.04em;
    color: var(--m-ink);
  }

  .m-home .m-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--m-card);
    border-radius: 20px;
    padding: 8px 10px 8px 16px;
    box-shadow: var(--m-shadow);
    margin-bottom: 16px;
    border: 1px solid rgba(20, 32, 24, 0.04);
  }

  .m-home .m-search input {
    font-size: 15px;
    font-weight: 600;
    color: var(--m-ink);
  }

  .m-home .m-search-go {
    width: 44px;
    height: 44px;
    background: var(--forest);
    font-size: 18px;
  }

  .m-home .m-chip-row {
    padding-bottom: 16px;
  }

  .m-home .m-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--m-card);
    border: 1px solid rgba(20, 32, 24, 0.05);
    box-shadow: 0 4px 14px rgba(20, 32, 24, 0.05);
    font-size: 13px;
  }

  .m-home .m-chip span {
    font-size: 16px;
    line-height: 1;
  }

  .m-home .m-chip.on,
  .m-home .m-chip:active {
    background: var(--m-chip-on);
    color: var(--m-ink);
    border-color: transparent;
    font-weight: 800;
  }

  .mh-near-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--m-card);
    border-radius: 18px;
    padding: 12px 14px;
    margin-bottom: 18px;
    box-shadow: 0 6px 20px rgba(20, 32, 24, 0.07);
    text-decoration: none;
    color: inherit;
  }

  .mh-near-pill-ico {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--m-bg-soft);
    display: grid;
    place-items: center;
    font-size: 20px;
    flex: 0 0 auto;
  }

  .mh-near-pill b {
    display: block;
    font-size: 14px;
    font-weight: 800;
  }

  .mh-near-pill small {
    display: block;
    font-size: 12px;
    color: var(--m-muted);
    font-weight: 600;
  }

  .mh-near-pill-go {
    margin-left: auto;
    font-size: 20px;
    font-weight: 800;
    color: var(--forest);
    opacity: 0.7;
  }

  .mh-discover {
    margin-bottom: 22px;
  }

  .mh-discover-card {
    display: block;
    background: var(--m-card);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--m-shadow);
    text-decoration: none;
    color: inherit;
  }

  .mh-discover-img {
    position: relative;
    aspect-ratio: 4/3;
    background: #c5d4c8;
  }

  .mh-discover-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mh-discover-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    padding: 8px 12px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 800;
    color: var(--m-ink);
    max-width: calc(100% - 28px);
  }

  .mh-discover-rating {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(20, 32, 24, 0.78);
    color: #fff;
    padding: 8px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
  }

  .mh-discover-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 18px;
  }

  .mh-discover-foot b {
    display: block;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.3px;
    line-height: 1.2;
    margin-bottom: 4px;
  }

  .mh-discover-foot small {
    font-size: 13px;
    color: var(--m-muted);
    font-weight: 600;
  }

  .mh-discover-cta {
    flex: 0 0 auto;
    background: var(--forest);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 10px 14px;
    border-radius: 999px;
    white-space: nowrap;
  }

  .m-home .m-sec-h h2 {
    font-size: 17px;
  }

  .m-home .m-place-card {
    flex: 0 0 168px;
    border-radius: 22px;
    padding: 10px;
    border: 1px solid rgba(20, 32, 24, 0.04);
  }

  .m-home .m-place-img {
    border-radius: 16px;
    aspect-ratio: 1/1;
  }

  .m-home .m-cat-mini a {
    border-radius: 20px;
    border: 1px solid rgba(20, 32, 24, 0.04);
  }

  .m-news-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
    margin-bottom: 8px;
  }

  .m-news-scroll::-webkit-scrollbar {
    display: none;
  }

  .m-news-card {
    flex: 0 0 240px;
    background: var(--m-card);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(20, 32, 24, 0.08);
    text-decoration: none;
    color: inherit;
  }

  .m-news-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
  }

  .m-news-card-ph {
    display: block;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #12263a, #1a3a52);
  }

  .m-news-card-body {
    padding: 12px 14px 14px;
  }

  .m-news-card-body .bn-m-pill {
    margin-bottom: 8px;
  }

  .m-news-card-body b {
    display: block;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .m-news-card-body small {
    font-size: 11px;
    color: var(--m-muted);
    font-weight: 600;
  }

  .mh-more-menu {
    margin-top: 8px;
    background: var(--m-card);
    border-radius: 18px;
    padding: 4px 16px;
    box-shadow: 0 6px 18px rgba(20, 32, 24, 0.06);
  }

  .mh-more-menu summary {
    cursor: pointer;
    font-weight: 800;
    font-size: 14px;
    padding: 12px 0;
    list-style: none;
  }

  .mh-more-menu summary::-webkit-details-marker {
    display: none;
  }

  .mh-more-links {
    display: grid;
    gap: 4px;
    padding-bottom: 12px;
  }

  .mh-more-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 4px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 12px;
  }

  /* ——— Akış sayfası ——— */
  body.m-app-shell.is-feed-page {
    background: var(--m-bg);
  }

  body.m-app-shell.is-feed-page .wa-wrap {
    padding-top: 8px;
  }

  .m-feed-head h1 {
    font-size: clamp(1.75rem, 7vw, 2rem);
    letter-spacing: -0.04em;
  }

  .m-feed-tabs a {
    background: var(--m-card);
    border: 1px solid rgba(20, 32, 24, 0.05);
  }

  .m-feed-tabs a.on {
    background: var(--forest);
    color: #fff;
  }

  .m-compose,
  .m-login-card,
  .m-follow-card,
  .m-feed .ff-card {
    background: var(--m-card);
    border-radius: 22px;
    border: 1px solid rgba(20, 32, 24, 0.05);
    box-shadow: 0 8px 24px rgba(20, 32, 24, 0.06);
  }

  .m-feed-stream .ff-card {
    border-radius: 22px;
  }

  /* ——— Yüzen tab bar ——— */
  .m-tabbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 90;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 28px;
    padding: 8px 10px;
    border: 1px solid rgba(20, 32, 24, 0.07);
    box-shadow: 0 16px 40px rgba(20, 32, 24, 0.14);
  }

  .m-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--m-muted);
    font-size: 9px;
    font-weight: 800;
    padding: 8px 4px;
    border-radius: 18px;
    min-height: 48px;
    letter-spacing: 0.02em;
  }

  .m-tab svg {
    display: block;
    opacity: 0.85;
  }

  .m-tab.on {
    background: var(--forest);
    color: #fff;
  }

  .m-tab.on svg {
    opacity: 1;
  }

  .m-tab-fab {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    margin-top: -28px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--forest), var(--forest-2));
    color: #fff;
    box-shadow: 0 12px 28px rgba(27, 59, 43, 0.35);
    font-size: 24px;
    line-height: 1;
    padding: 0;
  }

  .m-tab-fab span {
    display: block;
    margin-top: -1px;
  }

  .m-tab-fab.on {
    background: linear-gradient(145deg, var(--orange), var(--orange-dark));
    color: #fff;
  }

  /* Liste / detay — daha ferah */
  body.m-app-shell .page-head {
    display: none;
  }

  body.m-app-shell .panel,
  body.m-app-shell .wa-card,
  body.m-app-shell .detail {
    border-radius: 22px;
  }

  body.m-app-shell .list-grid .wa-card {
    border-radius: 20px;
    overflow: hidden;
  }
}
