:root {
  --miguo-bg: #0f0e0d;
  --miguo-surface: #171512;
  --miguo-elevated: #211e1a;
  --miguo-border: rgba(216, 164, 71, 0.38);
  --miguo-line: rgba(216, 164, 71, 0.5);
  --miguo-gold: #d8a447;
  --miguo-gold-light: #f1c66d;
  --miguo-gold-deep: #a96e28;
  --miguo-text: #f3efe8;
  --miguo-text-secondary: #b9b0a4;
  --miguo-text-muted: #888;
  --miguo-success: #69a486;
  --miguo-danger: #ce6767;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html, body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--miguo-bg);
  color: var(--miguo-text);
  font-family: "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#cpp { height: 100vh; max-height: 100%; overflow: hidden; display: none; }

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

.bg {
  width: 100%;
  max-width: 690px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--miguo-text);
}

.logo {
  width: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 16px 6px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(216, 164, 71, 0.14), transparent 58%),
    linear-gradient(180deg, #17120b 0%, var(--miguo-bg) 100%);
}

.logo-mark {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.logo-word {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #f1c66d 0%, #d8a447 55%, #a96e28 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-en {
  margin: 0;
  color: var(--miguo-text-secondary);
  font-size: 12px;
  letter-spacing: 0.32em;
}

.logo-tag {
  color: var(--miguo-gold-light);
  font-size: 14px;
  letter-spacing: 0.1em;
}

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

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

.list a,
.list-card {
  position: relative;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--miguo-text);
  text-decoration: none;
  background: var(--miguo-elevated);
  border: 1px solid var(--miguo-line);
  border-radius: 10px;
  box-shadow: inset 0 1px rgba(241, 198, 109, 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: var(--miguo-gold-light);
  font-size: 14px;
  line-height: 1.35;
  background: rgba(216, 164, 71, 0.16);
  border-radius: 5px;
}

.line-badge.healthy { color: var(--miguo-success); background: rgba(105, 164, 134, 0.16); }
.line-badge.wait { color: var(--miguo-text-secondary); background: rgba(119, 113, 106, 0.2); }
.line-badge.down { color: var(--miguo-danger); background: rgba(206, 103, 103, 0.16); }

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

.line-arrow {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: grid;
  place-items: center;
  color: #17120b;
  font-size: 15px;
  line-height: 1;
  background: linear-gradient(135deg, #f1c66d 0%, #d8a447 55%, #a96e28 100%);
  border-radius: 50%;
}

#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: var(--miguo-text);
  font-size: 19px;
  text-decoration: none;
  background: var(--miguo-surface);
  border: 1px solid #29272a;
  border-radius: 10px;
}

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

[hidden] { display: none !important; }

.email-box {
  min-height: 110px;
  margin-top: 24px;
  padding: 25px 29px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  color: var(--miguo-text);
  font-size: 18px;
  line-height: 1.55;
  background:
    linear-gradient(120deg, rgba(216, 164, 71, 0.14), transparent 46%),
    var(--miguo-elevated);
  border: 1px solid var(--miguo-border);
  border-radius: 10px;
}

.email-box a { color: var(--miguo-gold-light); text-underline-offset: 3px; }

.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: var(--miguo-text);
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.contact .icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #1b1814;
  border-radius: 50%;
}

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

.footer {
  color: var(--miguo-text-muted);
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
}

.footer > p:first-child { color: #ddd; }
.footer a {
  color: var(--miguo-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

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

@media (max-width: 720px), (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .logo { min-height: 188px; padding: 28px 12px 4px; }
  .logo-mark { width: 72px; height: 72px; }
  .logo-word { font-size: 28px; }
  .content { padding: 0 10px; }
  .list { gap: 12px; margin-top: 18px; }
  .list a, .list-card { padding: 12px; }
  .btnTitle { font-size: 14px; }
  .line-badge { padding: 3px 7px; font-size: 11px; }
  .btnLink { font-size: 13px; margin-top: 3px; }
  .line-arrow { width: 15px; height: 15px; font-size: 12px; }
  #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; }
  .email-box { min-height: 82px; margin-top: 14px; padding: 16px 12px; font-size: 12px; }
  .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; }
}

@media (hover: none) and (pointer: coarse) {
  .list a:hover, #app-btns a:hover, .contact a:hover { transform: none; }
}
