* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --brand: #00c250;
  --text-muted: #6c757d;
  --text-dark: #343a40;
}

body {
  background-color: var(--brand);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC",
    "WenQuanYi Micro Hei", sans-serif;
}

#main {
  margin: 10px auto;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 8px 24px;
}

.brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: #000;
  font-size: 28px;
  font-weight: 200;
  padding: 20px 10px;
  width: 100%;
}

.brand span.name {
  color: #fff;
  font-weight: 600;
}

.brand span.flag {
  color: var(--brand);
  background: #fff;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 700;
  padding: 4px 8px;
}

.field {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #fff;
  color: var(--text-muted);
  font-size: 16px;
  padding: 16px;
  margin: 6px 0;
  border-radius: 8px;
}

.field.foot {
  font-size: 14px;
  text-align: center;
}

.field .title {
  margin-bottom: 14px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
}

a,
a:active,
a:focus,
a:hover,
a:visited {
  color: inherit;
  text-decoration: none;
}

.c_blue {
  color: var(--brand);
}

.c_black {
  color: #333;
  line-height: 1.6;
  font-size: 13px;
  margin: 6px 0;
}

.c_link {
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
  margin-top: 12px;
}

.hero-cta {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--brand);
  color: #fff !important;
  font-size: 17px;
  font-weight: 600;
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 14px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.hero-cta:hover {
  opacity: 0.92;
}

.hero-hint {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin: -6px 0 14px;
}

.entries-divider {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  margin: 16px 0 10px;
  padding-top: 12px;
  border-top: 1px dashed #dee2e6;
}

.entry-card.entry-card--fixed {
  grid-template-columns: 40px 1fr;
}

.entry-card {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--brand);
  border-radius: 6px;
  padding: 10px 10px 10px 8px;
  margin-bottom: 12px;
  background: #fff;
}

.entry-card.is-recommended {
  border-width: 2px;
  box-shadow: 0 0 0 2px rgba(0, 194, 80, 0.15);
}

.entry-icon {
  width: 36px;
  height: 36px;
  background: var(--brand);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.entry-badge {
  min-width: 52px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  border-radius: 4px;
  padding: 6px 4px;
  line-height: 1.2;
}

.entry-badge.muted {
  background: #adb5bd;
  font-weight: 500;
}

.entry-link {
  min-width: 0;
}

.entry-link a {
  display: block;
  word-break: break-all;
}

.entry-title {
  font-weight: 600;
  color: var(--brand);
  font-size: 15px;
}

.entry-url {
  font-size: 12px;
  color: #868e96;
  margin-top: 2px;
}

.entry-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 2px;
}

.btn-copy {
  font-size: 12px;
  padding: 4px 10px;
  border: 1px solid var(--brand);
  color: var(--brand);
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
}

.btn-copy:active {
  background: #e8faf0;
}

.field.desc ul {
  list-style: none;
  padding: 0 4px;
}

.field.desc ul > li {
  text-align: left;
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.contacts ul {
  list-style: none;
  width: 100%;
}

.contacts li {
  margin-bottom: 10px;
  text-align: center;
}

.icon {
  width: 20px;
  height: 20px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  vertical-align: middle;
}

.icon_hand {
  width: 24px;
  height: 24px;
  background-image: url(data:image/png;base64,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);
}

.loading {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
}

/* QQ / 微信内置浏览器引导 */
body.in-app-browser-active {
  overflow: hidden;
}

.inapp-mask {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.88);
  color: #fff;
  padding: 56px 20px 24px;
  overflow-y: auto;
}

.inapp-arrow {
  position: fixed;
  top: 8px;
  right: 18px;
  width: 56px;
  height: 56px;
  pointer-events: none;
}

.inapp-arrow::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  border-radius: 0 8px 0 0;
}

.inapp-arrow::after {
  content: "↗";
  position: absolute;
  right: 2px;
  top: -4px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.inapp-panel {
  max-width: 400px;
  margin: 0 auto;
}

.inapp-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}

.inapp-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 18px;
  line-height: 1.5;
}

.inapp-steps {
  margin: 0 0 20px 1.2em;
  font-size: 15px;
  line-height: 1.6;
}

.inapp-steps li {
  margin-bottom: 10px;
}

.inapp-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inapp-btn {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 15px;
  border: none;
  cursor: pointer;
}

.inapp-btn-primary {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}

.inapp-btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.inapp-tip {
  margin-top: 12px;
  font-size: 13px;
  color: #8ce99a;
  min-height: 1.2em;
  line-height: 1.4;
}

@media (max-width: 500px) {
  .brand {
    font-size: 22px;
  }
  .entry-card {
    grid-template-columns: 36px 1fr;
  }
  .entry-badge {
    grid-column: 2;
    justify-self: start;
    margin-top: -4px;
  }
}
