/* cloned from original site subpages */
:root {
  --ppc-primary-color: #07c160;
  --ppc-body-width: 750px;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: #f5f5f5;
  color: #222;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
a { color: inherit; text-decoration: none; }
.bar {
  align-items: center;
  background-color: var(--ppc-primary-color, #07c160);
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 8px 10px;
  position: relative;
}
.bar .title {
  font-size: 20.5px !important;
  font-weight: 700;
  left: 50%;
  position: absolute;
  transform: translate(-50%);
}
.bar .left { width: 24px; height: 24px; cursor: pointer; display: flex; align-items: center; }
.bar .left img, .bar .left svg { height: 24px; width: 24px; display: block; }
.gallery-tab.bg-primary {
  background-color: var(--ppc-primary-color, #07c160);
  padding: 0 16px 8px;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 50;
}
.tab-list {
  display: flex;
  justify-content: flex-start;
  background: #fff;
  padding: 8px 0;
  border-radius: 8px;
  overflow-x: auto;
}
.tab-list .ant-tabs-tab {
  flex-shrink: 0;
  margin: 0 auto;
  padding: 0 10px;
  align-items: center;
  background: transparent;
  border: 0;
  color: #333;
  cursor: pointer;
  display: flex;
  font-size: 14px;
}
.ant-tabs-tab-btn {
  color: #000;
  font-weight: 700;
  outline: none;
  transition: all .3s;
  padding: 0;
  border-bottom: 3px solid transparent;
}
.ant-tabs-tab-active .ant-tabs-tab-btn {
  border-bottom: 3px solid var(--ppc-primary-color, #07c160);
  color: var(--ppc-primary-color, #07c160);
}
@media (min-width: 375px) {
  .gallery-tab .ant-tabs-tab-btn { font-size: 1.25rem; line-height: 1.75rem; }
}

/* article column */
.article-column {
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0 auto;
  max-width: 750px;
}
.article-column .content { flex: 1; overflow-y: auto; }
.article-column .container-sm { padding: 10px 5px 20px; }
.article-column ul.grid-cols-3 {
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
}
.article-column li {
  width: 100%;
  background: #fff;
  border-radius: .25rem;
}
.article-column li a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5rem;
  cursor: pointer;
}
.article-column h3 {
  color: #1d1d1d;
  font-size: 15px;
  line-height: 1.2;
  margin: 0;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

/* article list */
.article-list-page {
  background: #f1f2f5;
  margin: 0 auto;
  max-width: var(--ppc-body-width, 720px);
  min-height: 100vh;
}
.article-header {
  background: var(--ppc-primary-color, #07c160);
  box-sizing: border-box;
  height: 48px;
  justify-content: space-between;
  padding: 10px 12px;
  align-items: center;
  display: flex;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-btn {
  align-items: center;
  display: flex;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: .9rem;
  gap: 4px;
  min-width: 60px;
  padding: 4px;
}
.btn-back { justify-content: flex-start; }
.btn-share { justify-content: flex-end; }
.header-title {
  color: #fff;
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.article-list {
  background: #fff;
  border-radius: 12px;
  padding: 10px 16px;
  margin: 0;
}
.article-item { cursor: pointer; display: block; }
.article-item p {
  color: #666;
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
  margin: 0;
  word-break: break-all;
}
.divider {
  border: 0;
  border-top: 1px solid #666;
  margin: 16px 0;
  opacity: .25;
}

/* discover / tuku */
.discover-page {
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0 auto;
  max-width: 750px;
}
.discover-content { flex: 1; overflow-y: auto; padding: 12px 10px; }
.search-bar {
  align-items: center;
  background: #fff;
  border-radius: 8px;
  display: flex;
  margin-bottom: 10px;
  padding: 10px 14px;
}
.search-bar .search-input {
  background: transparent;
  border: none;
  color: #333;
  flex: 1;
  font-size: .95rem;
  outline: none;
}
.search-bar .search-input::placeholder { color: #aaa; }
.search-ico { color: #999; font-size: 20px; }
.color-switch {
  background: #e8e8e8;
  border-radius: 8px;
  display: flex;
  margin-bottom: 12px;
  padding: 4px;
}
.color-switch .color-tab {
  border-radius: 6px;
  color: #666;
  cursor: pointer;
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 0;
  text-align: center;
  transition: all .2s;
}
.color-switch .color-tab.active {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
  color: #333;
}
.van-row { display: flex; flex-wrap: wrap; }
.van-col--12 { flex: 0 0 50%; max-width: 50%; box-sizing: border-box; }
.van-col--12:nth-child(odd) { padding-right: 5px; }
.van-col--12:nth-child(even) { padding-left: 5px; }
.image-item { background: #fff; cursor: pointer; margin-bottom: 10px; }
.image-item-image img { width: 100%; display: block; height: auto; vertical-align: top; }
.text-info { align-items: center; display: flex; gap: 4px; padding: 6px; }
.text-info .am-ico{width:20px;height:20px;border-radius:50%;object-fit:cover;flex-shrink:0;}
.text-info .dot {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--ppc-primary-color, #07c160); flex-shrink: 0;
}
.text-info span { color: #000; font-size: 1rem; }

/* game 2048 - exact original */
.board-container {
  place-content: center;
  align-items: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  font-family: "Clear Sans", sans-serif;
  font-size: 21px;
  padding: 10px;
  width: 100%;
  min-height: 100vh;
  background: #000;
}
.board {
  background-color: #bbaa;
  background-color: rgb(187, 170, 170);
  border-radius: 7px;
  box-sizing: content-box;
  height: 440px;
  outline: none;
  padding: 5px;
  position: relative;
  touch-action: none;
  transform-origin: center center;
  width: 440px;
}
.cell, .tile {
  border-radius: 7px;
  color: rgb(119, 102, 102);
  display: inline-block;
  font-family: "Clear Sans", sans-serif;
  font-size: 55px;
  font-weight: 700;
  height: 100px;
  line-height: 90px;
  margin: 5px;
  text-align: center;
  vertical-align: middle;
  width: 100px;
  background-color: rgb(221, 204, 187);
  user-select: none;
}
.tile { position: absolute; }
.tile2 { background-color: rgb(238, 238, 238); }
.tile4 { background-color: rgb(238, 238, 204); }
.tile8 { background-color: rgb(255, 187, 136); color: rgb(255, 255, 238); }
.tile16 { background-color: rgb(255, 153, 102); color: rgb(255, 255, 238); }
.tile32 { background-color: rgb(255, 119, 85); color: rgb(255, 255, 238); }
.tile64 { background-color: rgb(255, 85, 51); color: rgb(255, 255, 238); }
.tile128 { background-color: rgb(238, 204, 119); color: rgb(255, 255, 238); font-size: 45px; }
.tile256 { background-color: rgb(238, 204, 102); color: rgb(255, 255, 238); font-size: 45px; }
.tile512 { background-color: rgb(238, 204, 85); color: rgb(255, 255, 238); font-size: 45px; }
.tile1024 { background-color: rgb(238, 204, 51); color: #fff; font-size: 35px; }
.tile2048 { background-color: rgb(238, 204, 34); color: #fff; font-size: 35px; }
.position_0_0:not(.isMoving) { left: 5px; top: 5px; }
.position_0_1:not(.isMoving) { left: 115px; top: 5px; }
.position_0_2:not(.isMoving) { left: 225px; top: 5px; }
.position_0_3:not(.isMoving) { left: 335px; top: 5px; }
.position_1_0:not(.isMoving) { left: 5px; top: 115px; }
.position_1_1:not(.isMoving) { left: 115px; top: 115px; }
.position_1_2:not(.isMoving) { left: 225px; top: 115px; }
.position_1_3:not(.isMoving) { left: 335px; top: 115px; }
.position_2_0:not(.isMoving) { left: 5px; top: 225px; }
.position_2_1:not(.isMoving) { left: 115px; top: 225px; }
.position_2_2:not(.isMoving) { left: 225px; top: 225px; }
.position_2_3:not(.isMoving) { left: 335px; top: 225px; }
.position_3_0:not(.isMoving) { left: 5px; top: 335px; }
.position_3_1:not(.isMoving) { left: 115px; top: 335px; }
.position_3_2:not(.isMoving) { left: 225px; top: 335px; }
.position_3_3:not(.isMoving) { left: 335px; top: 335px; }
.overlay {
  align-items: center;
  background-color: rgba(222, 222, 222, 0.5);
  border-radius: 7px;
  inset: 0;
  display: none;
  flex-direction: column;
  font-size: 55px;
  font-weight: bolder;
  justify-content: center;
  position: absolute;
  text-align: center;
}
.overlay.show { display: flex; }
.overlay .message { color: #666; margin: 0 0 12px; }
.tryAgain {
  background-color: rgb(136, 119, 102);
  border: none;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  height: 40px;
  width: 200px;
}
@media (max-width: 440px) { .board { transform: scale(0.9); } }
@media (max-width: 400px) { .board { transform: scale(0.8); } }
@media (max-width: 375px) { .board { transform: scale(0.75); } }
.game-back {
  position: fixed; left: 12px; top: 12px; z-index: 10;
  color: #fff; background: rgba(255,255,255,.15);
  border-radius: 20px; padding: 6px 12px; font-size: 14px;
}

/* trend center */
.statistics-container {
  --ppc-primary-color: #6387cd;
  background: color-mix(in srgb, var(--ppc-primary-color) 4%, #f5f5f5);
  min-height: 100vh;
  margin: 0 auto;
  max-width: 720px;
}
.statistics-tabbar {
  align-items: center;
  background: #fff;
  border-top: 1px solid #eee;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 56px;
  left: 50%;
  max-width: 720px;
  position: fixed;
  transform: translate(-50%);
  width: 100%;
  z-index: 100;
}
.statistics-tabbar .tab-item {
  align-items: center;
  color: #666;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  justify-content: center;
  cursor: pointer;
}
.statistics-tabbar .tab-item .icon {
  align-items: center;
  background: var(--ppc-primary-color);
  border-radius: 50%;
  display: flex;
  height: 28px;
  justify-content: center;
  margin-bottom: 4px;
  width: 28px;
  color: #fff;
  font-weight: 700;
}
.statistics-tabbar .tab-item.active { color: var(--ppc-primary-color); }
.trend-frame {
  width: 100%;
  height: calc(100vh - 56px);
  border: 0;
  display: block;
  background: #f5f5f5;
}
