.contact-page {
  --unit-accent: var(--pjsk-virtual-singer);
  background: #f7fbfb;
}

.contact-page main {
  overflow: hidden;
}

/* ============ Hero（V 家六子主题） ============ */
.contact-hero {
  position: relative;
  padding: 92px 0 78px;
  background:
    radial-gradient(circle at 82% 18%, rgba(57,197,187,.16), transparent 42%),
    radial-gradient(circle at 8% 88%, rgba(0,104,183,.08), transparent 46%),
    linear-gradient(90deg, rgba(57,197,187,.08) 1px, transparent 1px),
    linear-gradient(rgba(0,104,183,.06) 1px, transparent 1px),
    #f7fbfb;
  background-size: auto, auto, 48px 48px, 48px 48px, auto;
  border-bottom: 1px solid var(--border);
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #39C5BB 0 17%, #FFE211 17% 34%, #FFB000 34% 51%, #FF69B4 51% 68%, #E44D98 68% 84%, #0068B7 84%);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  gap: 72px;
  align-items: center;
}

.contact-hero-grid > * {
  min-width: 0;
}

.contact-intro h1 {
  margin-top: 22px;
  font-size: 72px;
  line-height: 1.04;
  font-weight: 780;
  letter-spacing: 0;
}

.contact-lede {
  max-width: 620px;
  margin-top: 30px;
  font-size: 18px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* ============ 开发者通行证 ============ */
.developer-ticket {
  position: relative;
  width: 100%;
  min-height: 390px;
  padding: 34px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(13,10,40,.16);
  border-radius: 8px;
  box-shadow: 14px 14px 0 rgba(57,197,187,.14);
}

.ticket-spectrum {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  height: 6px;
  margin: -34px -34px 28px;
}
.ticket-spectrum i:nth-child(1) { background: #39C5BB; }
.ticket-spectrum i:nth-child(2) { background: #FFE211; }
.ticket-spectrum i:nth-child(3) { background: #FFB000; }
.ticket-spectrum i:nth-child(4) { background: #FF69B4; }
.ticket-spectrum i:nth-child(5) { background: #E44D98; }
.ticket-spectrum i:nth-child(6) { background: #0068B7; }

.ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 26px;
  border-bottom: 1px dashed rgba(13,10,40,.22);
}
.ticket-head img { width: 62px; height: 62px; border-radius: 8px; }
.ticket-head span { font-size: 12px; font-weight: 800; color: var(--ink-muted); }
.ticket-label { margin-top: 28px; font-size: 12px; font-weight: 850; color: #168F84; }
.developer-ticket h2 { margin-top: 4px; font-size: 32px; line-height: 1.2; }
.developer-ticket > p:not(.ticket-label) { margin-top: 12px; color: var(--ink-soft); }
.developer-ticket dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.developer-ticket dl div { padding-top: 12px; border-top: 3px solid #39C5BB; }
.developer-ticket dl div:nth-child(2) { border-color: #0068B7; }
.developer-ticket dt { font-size: 11px; font-weight: 800; color: var(--ink-muted); }
.developer-ticket dd { margin-top: 3px; font-size: 15px; font-weight: 760; overflow-wrap: anywhere; }

.vocaloid-rule { display: grid; grid-template-columns: repeat(6, 1fr); height: 5px; }
.vocaloid-rule span:nth-child(1) { background: #39C5BB; }
.vocaloid-rule span:nth-child(2) { background: #FFE211; }
.vocaloid-rule span:nth-child(3) { background: #FFB000; }
.vocaloid-rule span:nth-child(4) { background: #FF69B4; }
.vocaloid-rule span:nth-child(5) { background: #E44D98; }
.vocaloid-rule span:nth-child(6) { background: #0068B7; }

/* ============ 分区标题（01/02 共用） ============ */
.contact-directory { padding: 96px 0 0; }
.contact-support { padding: 96px 0 0; }

.contact-heading {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 46px;
}
.contact-heading h2 { font-size: 54px; line-height: 1.08; }

/* ============ 统一卡片（Apple Support 式等宽结构） ============ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.contact-channel,
.support-card {
  --channel-color: #39C5BB;
  --channel-ink: #fff;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--border-b);
  border-top: 6px solid var(--channel-color);
  border-radius: 8px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-channel:hover,
.support-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* V 家六子成员色：KAITO / MEIKO / Miku / Len / Rin */
.channel-qq      { --channel-color: #0068B7; }
.channel-xhs     { --channel-color: #E44D98; }
.channel-email   { --channel-color: #39C5BB; --channel-ink: #0d0a28; }
.support-center  { --channel-color: #FFB000; --channel-ink: #0d0a28; }
.support-ticket  { --channel-color: #FFE211; --channel-ink: #0d0a28; }

.channel-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.channel-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 10px;
  background: var(--channel-color);
  color: var(--channel-ink);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: .02em;
}

.channel-type {
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .04em;
  color: var(--channel-color);
}

.contact-channel h3,
.support-card h3 {
  margin-top: 16px;
  font-size: 24px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.channel-email h3 { font-size: 19px; }

.channel-desc {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.channel-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 172px;
  margin-top: 20px;
  background: #f4f8f8;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.channel-media img {
  max-width: 100%;
  max-height: 148px;
  object-fit: contain;
}
.channel-media .channel-qr-img {
  width: 148px;
  aspect-ratio: 1;
  image-rendering: pixelated;
}
.channel-glyph {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: var(--channel-color);
}

.channel-foot {
  margin-top: auto;
  padding-top: 20px;
  font-size: 15px;
  font-weight: 780;
}
.channel-foot a { color: var(--channel-color); }
.channel-foot a:hover { text-decoration: underline; text-underline-offset: 5px; }
.channel-foot .channel-note {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
}

/* ============ 03 ABOUT MEQR ============ */
.about-app {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 96px;
  margin-bottom: 100px;
  padding: 58px;
  background: linear-gradient(150deg, #e9f8f6, #f5fbfa);
  border: 1px solid rgba(22,143,132,.22);
  border-radius: 8px;
  color: var(--ink);
}
.about-app .sec .lbl { color: var(--ink-muted); }
.about-app h2 { margin-top: 18px; font-size: 42px; line-height: 1.1; }
.about-app > div:last-child > p { color: var(--ink-soft); font-size: 17px; line-height: 1.85; }
.about-links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 28px; }
.about-links a { font-weight: 760; color: var(--teal-deep); }
.about-links a:hover { color: var(--ink); }

/* ============ 响应式 ============ */
@media (max-width: 980px) {
  .contact-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-intro h1 { font-size: 58px; }
  .developer-ticket { max-width: 560px; }
  .contact-heading { grid-template-columns: 1fr; gap: 16px; }
  .contact-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .about-app { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 620px) {
  .contact-hero { padding: 66px 0 58px; }
  .contact-intro h1 { font-size: 43px; }
  .contact-lede { font-size: 16px; }
  .developer-ticket { min-height: 0; padding: 26px; box-shadow: 8px 8px 0 rgba(57,197,187,.14); }
  .ticket-spectrum { margin: -26px -26px 24px; }
  .developer-ticket dl { grid-template-columns: 1fr; }
  .contact-directory { padding: 72px 0 0; }
  .contact-support { padding: 72px 0 0; }
  .contact-heading { margin-bottom: 32px; }
  .contact-heading h2 { font-size: 38px; }
  .contact-channel,
  .support-card { padding: 22px; }
  .channel-media { height: 152px; }
  .about-app { margin-top: 72px; margin-bottom: 72px; padding: 32px 24px; }
  .about-app h2 { font-size: 34px; }
}
