body * {
  box-sizing: border-box;
  flex-shrink: 0;
}
body {
  font-family: PingFangSC-Regular, Roboto, Helvetica Neue, Helvetica, Tahoma,
    Arial, PingFang SC-Light, Microsoft YaHei;
}
input {
  background-color: transparent;
  border: 0;
}
button {
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  outline: none;
  background-color: transparent;
}

button:active {
  opacity: 0.6;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.flex-row {
  display: flex;
  flex-direction: row;
}
.justify-start {
  display: flex;
  justify-content: flex-start;
}
.justify-center {
  display: flex;
  justify-content: center;
}

.justify-end {
  display: flex;
  justify-content: flex-end;
}
.justify-evenly {
  display: flex;
  justify-content: space-evenly;
}
.justify-around {
  display: flex;
  justify-content: space-around;
}
.justify-between {
  display: flex;
  justify-content: space-between;
}
.align-start {
  display: flex;
  align-items: flex-start;
}
.align-center {
  display: flex;
  align-items: center;
}
.align-end {
  display: flex;
  align-items: flex-end;
}


/* === Global Mobile Performance === */
@media (max-width: 768px) {
  * {
    -webkit-tap-highlight-color: transparent;
  }
  html, body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overscroll-behavior: none;
    overflow-x: hidden;
  }
  input, textarea, select, button {
    font-size: 16px;
    touch-action: manipulation;
  }
  a, button {
    touch-action: manipulation;
  }
  /* Smooth scroll containers */
  [class*="-scroll"], [class*="-page"], [class*="-container"] {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  /* Prevent 300ms click delay */
  html {
    touch-action: manipulation;
  }
}

/* Pagination bar */
.pagination-bar{display:flex;align-items:center;justify-content:center;gap:6px;padding:20px 16px 30px;flex-wrap:wrap}
.page-btn{background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.1);color:rgba(255,255,255,0.6);padding:8px 14px;border-radius:8px;font-size:13px;cursor:pointer;transition:all .2s;min-width:36px;text-align:center}
.page-btn:hover:not(:disabled){background:rgba(255,255,255,0.12);color:#fff}
.page-btn.active{background:linear-gradient(135deg,#D8B46A,#C4A35A);color:#1a1a2e;border-color:transparent;font-weight:600}
.page-btn:disabled{opacity:0.3;cursor:not-allowed}
.page-dots{color:rgba(255,255,255,0.3);font-size:13px;padding:0 4px}

