/* ======================================================
   1. Reset / Normalize
   ====================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  padding: 0;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #222;
  background-color: #fff;
}

/* ======================================================
   2. Basic Elements
   ====================================================== */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 600;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
  outline: none;
  border: none;
  background: none;
}

textarea {
  resize: vertical;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ======================================================
   3. Layout
   ====================================================== */
.page {
  min-height: 100%;
  overflow-x: hidden;
}

/* PC定宽容器 */
.container {
  width: 600px;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}

/* ======================================================
   4. Common Utility
   ====================================================== */
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.hide {
  display: none !important;
}

.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ======================================================
   5. Buttons (基础样式)
   ====================================================== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  line-height: 1;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  user-select: none;
  /* background-color: #1677ff; */
  color: #fff;
}

.btn:active {
  opacity: 0.85;
}

.btn.disabled,
.btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* ======================================================
   6. Responsive (Mobile)
   ====================================================== */
@media screen and (max-width: 1200px) {
  .container {
    width: 100%;

  }
}

@media screen and (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .btn {
    width: 100%;
    padding: 14px 0;
    font-size: 16px;
  }
}
