/* hga030.link 手机版导航。深色金线，整行点击跳转。 */

:root {
  --gold: #e4c36a;
  --ivory: #f4efe6;
  --muted: #9a8b76;
  --line: rgba(228, 195, 106, 0.22);
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ivory);
  line-height: 1.5;
  background:
    radial-gradient(ellipse 70% 28% at 50% -4%, rgba(120, 84, 32, 0.42), transparent 62%),
    #0c0a08;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.mast,
.wrap {
  width: min(440px, 100%);
  margin: 0 auto;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.35rem 1.2rem 0;
  text-align: center;
  text-decoration: none;
}

.brand img {
  width: 132px;
  height: auto;
  mix-blend-mode: screen;
}

.mark {
  margin: 0.2rem 0 0;
  padding-left: 0.32em;
  color: var(--gold);
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: 0.32em;
}

h1 {
  margin: 0.45rem 0 0;
  padding-left: 0.22em;
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.25;
}

.lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
  margin: 0.85rem 1rem 0.2rem;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-align: center;
}

.lead span {
  white-space: nowrap;
}

.wrap {
  padding: 0.4rem 1rem 2.2rem;
}

h2 {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 1.45rem 0.15rem 0.75rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

.rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rows li + li {
  margin-top: 0.75rem;
}

.row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 82px;
  padding: 0.85rem 1rem;
  border: 1px solid transparent;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 236, 205, 0.08), rgba(255, 236, 205, 0) 32%),
    linear-gradient(180deg, #1a1714 0%, #0e0c0a 100%) padding-box,
    linear-gradient(165deg, rgba(244, 224, 176, 0.95), rgba(122, 94, 48, 0.55) 52%, rgba(244, 224, 176, 0.28)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 220, 0.14),
    0 14px 28px rgba(0, 0, 0, 0.42);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.row:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 220, 0.08),
    0 6px 14px rgba(0, 0, 0, 0.4);
}

.row-main {
  min-height: 96px;
  background:
    linear-gradient(165deg, #f8edd4 0%, #e6d2a4 48%, #c6a56a 100%) padding-box,
    linear-gradient(180deg, #fff8e8, #8d6b34) border-box;
  color: #2a1c10;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 16px 30px rgba(0, 0, 0, 0.38);
}

.row-main:active {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 8px 16px rgba(0, 0, 0, 0.34);
}

.text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08rem;
  width: 100%;
  min-width: 0;
  padding: 0 2.6rem;
  text-align: center;
}

.rows-member .text {
  padding: 0 4.6rem;
}

.role {
  padding-left: 0.16em;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

.row-main .role {
  color: #7a5b28;
}

.host {
  position: relative;
  z-index: 1;
  color: var(--ivory);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.row-main .host {
  color: #24180f;
  font-size: 1.38rem;
}

.blurb {
  max-width: 100%;
  overflow: hidden;
  color: #b7a48a;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.row-main .blurb {
  color: #6e542c;
}

.speed {
  position: absolute;
  z-index: 1;
  right: calc(1rem + 28px + 0.5rem);
  top: 50%;
  min-width: 3.2rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: right;
  transform: translateY(-50%);
}

.speed-fast {
  color: var(--gold);
  font-weight: 700;
}

.speed-ok {
  color: var(--ivory);
}

.speed-slow {
  color: #d7a07a;
}

.speed-fail {
  color: #6f6254;
}

.go {
  position: absolute;
  z-index: 1;
  right: 1rem;
  top: 50%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(228, 195, 106, 0.55);
  transform: translateY(-50%);
}

.go::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid var(--gold);
  border-right: 1.5px solid var(--gold);
  transform: rotate(45deg);
}

.row-main .go {
  box-shadow: inset 0 0 0 1px rgba(42, 28, 16, 0.35);
}

.row-main .go::before {
  border-color: #24180f;
}

.row-main::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: translateX(-180%);
  animation: gold-sheen 5.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gold-sheen {
  0%,
  62% {
    transform: translateX(-180%);
  }

  100% {
    transform: translateX(380%);
  }
}

.row:hover .host,
.row:focus-visible .host {
  color: #f8e7be;
}

.row-main:hover,
.row-main:focus-visible {
  filter: brightness(1.05);
}

.row:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.note {
  margin: 1.5rem 0 0;
  color: #6f6254;
  font-size: 0.75rem;
  text-align: center;
}

.miss {
  width: min(440px, 100%);
  min-height: 36vh;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 2rem 1rem;
  color: var(--muted);
}

.miss a {
  color: var(--gold);
  font-weight: 700;
}

@media (max-width: 360px) {
  .rows-member .text {
    padding: 0 3.7rem;
  }

  .speed {
    right: 0.85rem;
    top: 34%;
    min-width: 0;
  }

  .rows-member .go {
    top: 70%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .row,
  .row:active,
  .row-main:active {
    transition: none;
    transform: none;
  }

  .row-main::after {
    animation: none;
    display: none;
  }

  .row-main:hover,
  .row-main:focus-visible {
    filter: none;
  }
}
