@tailwind base;
@tailwind components;
@tailwind utilities;

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* 底部固定导航高度 4rem(64px)，预留底部内边距避免内容被遮挡，并兼容刘海屏安全区 */
.pb-bottom-nav {
  padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
}

/* 确保整页可滚动，避免移动端内容被导航挡住 */
html {
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}
body {
  min-height: 100vh;
  overflow-y: auto;
}
