html.ppob-native {
  --ppob-app-bar: 56px;
  --ppob-tab-bar: 68px;
  background: #ffffff;
}

html.ppob-native body {
  background: #ffffff;
  overscroll-behavior-y: none;
  -webkit-tap-highlight-color: transparent;
}

html.ppob-native .ppob-native-tappable {
  touch-action: manipulation;
}

html.ppob-native .ppob-native-tappable:active {
  transform: scale(.985);
}

@media (max-width: 900px) {
  html.ppob-native .site-header {
    top: 0;
    padding-top: env(safe-area-inset-top);
    border-bottom: 1px solid rgba(238, 223, 230, .92);
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    backdrop-filter: blur(18px) saturate(1.15);
    box-shadow: 0 4px 16px rgba(89, 45, 66, .05);
  }

  html.ppob-native .header-inner {
    width: 100%;
    height: var(--ppob-app-bar);
    padding: 0 16px;
    gap: 8px;
  }

  html.ppob-native .brand {
    gap: 8px;
    font-size: 1.28rem;
  }

  html.ppob-native .brand-word {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  html.ppob-native .brand-word::after {
    content: "APP";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 18px;
    border-radius: 999px;
    background: #fff0f5;
    color: #d74480;
    font-family: system-ui, sans-serif;
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .04em;
  }

  html.ppob-native .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 12px 12px 12px 5px;
    box-shadow: 0 4px 10px rgba(218, 71, 131, .16);
  }

  html.ppob-native .brand-mark svg {
    width: 23px;
    height: 23px;
  }

  html.ppob-native .mobile-account-button,
  html.ppob-native .mobile-category-menu-button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 13px;
    background: #fff5f8;
    color: #9f466d;
  }

  html.ppob-native main {
    width: 100%;
    padding-top: 12px;
    padding-bottom: calc(var(--ppob-tab-bar) + env(safe-area-inset-bottom) + 24px);
  }

  html.ppob-native .mobile-search-wrap {
    padding: 0 14px;
  }

  html.ppob-native .mobile-search {
    min-height: 46px;
    border-color: #f0dde5;
    border-radius: 16px;
    background: #f8f5f7;
    box-shadow: none;
  }

  html.ppob-native .app-quick-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 9px 14px 12px;
  }

  html.ppob-native .app-quick-action {
    appearance: none;
    min-width: 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid #f0e4e9;
    border-radius: 14px;
    background: #ffffff;
    color: #65545c;
    box-shadow: 0 3px 10px rgba(77, 43, 58, .045);
    font: inherit;
    font-size: .75rem;
    font-weight: 750;
    line-height: 1;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  }

  html.ppob-native .app-quick-action:active {
    transform: scale(.97);
    box-shadow: 0 1px 5px rgba(77, 43, 58, .04);
  }

  html.ppob-native .app-quick-icon {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 10px;
    background: #fff2f6;
    color: #cc4f82;
  }

  html.ppob-native .app-quick-icon svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  html.ppob-native .app-quick-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  html.ppob-native .app-quick-action-primary {
    border-color: #ff6fa8;
    background: #ff6fa8;
    color: #ffffff;
    box-shadow: 0 5px 14px rgba(218, 71, 131, .18);
  }

  html.ppob-native .app-quick-action-primary .app-quick-icon {
    background: rgba(255, 255, 255, .18);
    color: #ffffff;
  }

  html.ppob-native .quick-area,
  html.ppob-native .category-section,
  html.ppob-native .market-section {
    margin-right: 0;
    margin-left: 0;
  }

  html.ppob-native .quick-area {
    padding-right: 14px;
    padding-left: 14px;
  }

  html.ppob-native .hero-slider,
  html.ppob-native .hero-slide {
    border-radius: 22px;
  }

  html.ppob-native .category-section {
    top: calc(var(--ppob-app-bar) + env(safe-area-inset-top));
    padding: 9px 0;
    box-shadow: 0 6px 14px rgba(93, 48, 68, .045);
  }

  html.ppob-native .category-scroll {
    width: 100%;
    padding: 1px 14px;
  }

  html.ppob-native .product-card,
  html.ppob-native .home-feature-card,
  html.ppob-native .grade-guide,
  html.ppob-native .market-filters {
    box-shadow: 0 6px 18px rgba(96, 54, 73, .07);
  }

  html.ppob-native .bottom-nav {
    left: 10px;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    width: auto;
    height: var(--ppob-tab-bar);
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border: 1px solid rgba(233, 215, 224, .96);
    border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    padding: 5px 4px;
    box-shadow: 0 10px 30px rgba(72, 38, 54, .14);
    -webkit-backdrop-filter: blur(20px) saturate(1.15);
    backdrop-filter: blur(20px) saturate(1.15);
    transform: translateY(0);
    opacity: 1;
    will-change: transform, opacity;
    transition: transform .24s cubic-bezier(.22, .8, .32, 1), opacity .18s ease;
  }

  html.ppob-native .bottom-nav.ppob-nav-hidden {
    transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom)));
    opacity: 0;
    pointer-events: none;
  }

  html.ppob-native .bottom-item {
    min-height: 56px;
    gap: 2px;
    border-radius: 17px;
    color: #9e8b94;
    font-size: .68rem;
    transition: background .16s ease, color .16s ease, transform .12s ease;
  }

  html.ppob-native .bottom-item svg {
    width: 22px;
    height: 22px;
  }

  html.ppob-native .bottom-item.active {
    background: #fff0f5;
    color: #d74480;
  }

  html.ppob-native .bottom-item:active {
    transform: scale(.94);
  }

  html.ppob-native .floating-register,
  html.ppob-native .back-to-top {
    display: none !important;
  }

  html.ppob-native .modal-layer {
    align-items: flex-end;
  }

  html.ppob-native .register-sheet,
  html.ppob-native .auth-sheet,
  html.ppob-native .chat-sheet,
  html.ppob-native .workspace-sheet,
  html.ppob-native .action-sheet {
    width: 100%;
    max-width: none;
    max-height: calc(94dvh - env(safe-area-inset-top));
    margin: 0;
    border-radius: 26px 26px 0 0;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
    box-shadow: 0 -14px 40px rgba(62, 34, 47, .18);
  }

  html.ppob-native .sheet-handle {
    width: 38px;
    height: 5px;
    border-radius: 99px;
    background: #ded5d9;
  }

  html.ppob-native input,
  html.ppob-native select,
  html.ppob-native textarea {
    font-size: 16px;
  }
}
