:root {
  color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%;
  min-height: 100vh;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  font-weight: 500;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background: #040002;
  -webkit-tap-highlight-color: transparent;
}

#cpp { display: none; }
#app { width: 100%; min-height: 100vh; }

.bg {
  width: 100%;
  max-width: 690px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 0 28px;
  color: #fff;
  background: #040002;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo { width: 100%; font-size: 0; }
.logo img { width: 100%; height: auto; display: block; }

.content { width: 100%; padding: 0 20px; }

.list { display: grid; gap: 16px; margin-top: 28px; }

.list a {
  position: relative;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  text-decoration: none;
  border: 1px solid #ff4886;
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 39, 138, 0.12);
}

.line-title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.btnTitle { font-size: 20px; line-height: 1.3; }

.line-badge {
  padding: 4px 9px;
  color: #ff2680;
  font-size: 14px;
  line-height: 1.35;
  background: rgba(252, 22, 111, 0.19);
  border-radius: 5px;
}

.line-badge.healthy { color: #00f59a; background: #0e211a; }

.btnLink {
  margin-top: 8px;
  color: #9a9a9a;
  font-size: 18px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

#app-btns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

#app-btns a {
  padding: 25px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: #fff;
  font-size: 19px;
  text-decoration: none;
  background: #0c0b0c;
  border: 1px solid #29272a;
  border-radius: 10px;
}

#app-btns img { width: 27px; height: 27px; flex: 0 0 27px; object-fit: contain; }

.contact {
  margin: 42px 0 52px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.contact a {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.contact img { width: 42px; height: 42px; object-fit: contain; }

.footer { color: #888; font-size: 16px; line-height: 1.8; text-align: center; }
.footer > p:first-child { color: #ddd; }
.footer a { color: #ff2680; text-underline-offset: 2px; }

@media (hover: hover) {
  .list a, #app-btns a, .contact a { transition: transform 0.2s, border-color 0.2s; }
  .list a:hover, #app-btns a:hover, .contact a:hover { transform: translateY(-2px); }
}

@media (max-width: 720px), (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .content { padding: 0 10px; }
  .list { gap: 12px; margin-top: 18px; }
  .list a { padding: 12px; }
  .btnTitle { font-size: 14px; }
  .line-badge { padding: 3px 7px; font-size: 11px; }
  .btnLink { font-size: 13px; margin-top: 3px; }
  #app-btns { gap: 10px; margin-top: 12px; }
  #app-btns a { padding: 12px 8px; gap: 8px; font-size: 13px; }
  #app-btns img { width: 23px; height: 23px; flex-basis: 23px; }
  .contact { margin: 28px 0 34px; gap: 5px; }
  .contact a { gap: 7px; font-size: 11px; }
  .footer { font-size: 12px; line-height: 1.7; }
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .bg { max-width: 450px; }
}
