/* ConnectPage.css — 移植自 vipbic.com /connect 页面样式真值 */
/* 来源: inline-1.css (11KB) + inline-0.css (4.1KB), 已去除 data-v 属性选择器 */

body.connect-page-body {
  min-width: 0;
}

@font-face {
  font-family: "Connect Display";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/connect/noto-sans-sc-hero-900.woff2) format("woff2");
}

.connect-stage {
  background: #fff;
  padding: 0;
}

.connect-shell {
  width: 100%;
  max-width: 1600px;
  min-height: 100dvh;
  box-shadow: none;
  background: #fff;
  border: 0;
  border-radius: 0;
  flex-direction: column;
  padding: 0 clamp(24px, 3.65vw, 56px);
  display: flex;
  overflow: hidden;
}

.connect-header {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 96px;
  display: flex;
}

.connect-brand-group {
  align-items: center;
  gap: 34px;
  display: flex;
}

.connect-header .site-brand {
  color: #161717;
  gap: 14px;
  font-size: 32px;
}

.connect-header .site-brand img {
  width: 36px;
  height: 36px;
}

.connect-header-label {
  color: #676c6c;
  border-left: 1px solid #dcdedc;
  padding-left: 34px;
  font-size: 16px;
  line-height: 24px;
}

.connect-home {
  color: #505656;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-size: 16px;
  display: inline-flex;
}

.connect-main {
  width: min(1220px, 100%);
  margin-inline: auto;
}

/* ── Hero ── */
.connect-hero {
  grid-template-columns: minmax(0, 1.43fr) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: 20px 16px 18px;
  display: grid;
}

.connect-intro {
  position: relative;
}

.connect-hello-arrow {
  color: #447aa6;
  position: absolute;
  top: 0;
  left: -80px;
  transform: rotate(-17deg);
}

.connect-eyebrow {
  color: #3d719c;
  letter-spacing: .025em;
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
}

.connect-intro h1 {
  isolation: isolate;
  color: #080a08;
  letter-spacing: -.035em;
  white-space: nowrap;
  margin: 0;
  font-family: "Connect Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(64px, 6.25vw, 96px);
  font-weight: 900;
  line-height: 1.06;
  position: relative;
}

.connect-highlight {
  position: relative;
}

.connect-highlight img {
  z-index: -1;
  object-fit: fill;
  pointer-events: none;
  width: 130%;
  max-width: none;
  height: 88%;
  position: absolute;
  bottom: -9%;
  left: -15%;
}

.connect-lead {
  color: #5e6667;
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.65;
}

/* ── Creator Identity Card ── */
.connect-creator {
  margin-top: 8px;
  position: relative;
}

.connect-creator-identity {
  align-items: center;
  gap: 22px;
  display: flex;
}

.connect-creator-identity > img {
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  width: 128px;
  height: 128px;
}

.connect-creator-identity strong {
  color: #131715;
  font-size: 36px;
  font-weight: 800;
}

.connect-creator-identity p {
  color: #657073;
  white-space: nowrap;
  margin: 11px 0 0;
  font-size: 17px;
}

.connect-greeting {
  object-fit: contain;
  mix-blend-mode: multiply;
  width: 164px;
  height: 82px;
  position: absolute;
  top: -12px;
  right: -35px;
  transform: rotate(-9deg);
}

.connect-creator-star {
  color: #e49c41;
  position: absolute;
  top: 88px;
  right: -40px;
  transform: rotate(10deg);
}

/* ── Options / Cards Section ── */
.connect-options {
  grid-template-columns: minmax(0, 1.07fr) minmax(0, 1fr) minmax(0, 1.06fr);
  gap: 27px;
  scroll-margin-top: 20px;
  display: grid;
  position: relative;
}

.connect-cards-spark {
  color: #b5d338;
  top: 300px;
  left: -101px;
  transform: rotate(-13deg);
  z-index: 1;
  pointer-events: none;
  position: absolute;
}

.connect-plane {
  opacity: .8;
  width: 145px;
  height: 190px;
  top: 190px;
  right: -100px;
  z-index: 1;
  pointer-events: none;
  position: absolute;
}

.connect-copy {
  color: #74796b;
  cursor: pointer;
  background: 0 0;
  border: 0;
  border-radius: 7px;
  flex-shrink: 0;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
}

.connect-copy:hover {
  color: #216a9e;
  background: #dceafa;
}

.connect-footer-label {
  align-items: center;
  gap: 10px;
  display: inline-flex;
}

.connect-footer-label svg,
.connect-text-link svg {
  flex-shrink: 0;
}

.connect-icon-official {
  color: #a7662c;
}

.connect-icon-group {
  color: #536825;
}

.connect-icon-personal {
  color: #457fa7;
}

.connect-text-link {
  width: 100%;
  min-height: 44px;
  color: inherit;
  align-items: center;
  gap: 9px;
  display: inline-flex;
}

.connect-text-link > span {
  flex: 1;
}

.connect-footer a:hover,
.connect-text-link:hover {
  color: #216a9e;
  text-underline-offset: 4px;
  text-decoration: underline;
}

.connect-selectable {
  -webkit-user-select: text;
  user-select: text;
  overflow-wrap: anywhere;
}

.connect-wechat-id {
  overflow-wrap: anywhere;
  min-width: 0;
}

.connect-scan-note {
  color: #252b28;
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 32px 0 18px;
  font-size: 24px;
  font-weight: 650;
  line-height: 40px;
  display: flex;
}

.connect-scan-note svg {
  flex-shrink: 0;
}

.connect-footer {
  color: #737d80;
  border-top: 1px dashed #d6dcdb;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  min-height: 74px;
  margin-top: auto;
  padding: 14px 0;
  font-size: 15px;
  line-height: 1.8;
  display: flex;
}

.connect-footer > :first-child {
  color: #4e585d;
}

.connect-footer a {
  color: #5c6d7b;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  display: inline-flex;
}

.connect-shell :is(a, button):focus-visible,
.connect-dialog :is(a, button):focus-visible {
  outline-offset: 4px;
  border-radius: 5px;
  outline: 3px solid #397ba9;
}

.connect-skip {
  z-index: 50;
  color: #fff;
  background: #20303a;
  border-radius: 8px;
  padding: 12px 18px;
  position: fixed;
  top: 8px;
  left: 24px;
  transform: translateY(-150%);
}

.connect-skip:focus {
  transform: translateY(0);
}

.connect-announcement {
  z-index: 60;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  background: #25333a;
  border-radius: 12px;
  width: max-content;
  max-width: calc(100vw - 32px);
  margin: 0;
  padding: 12px 18px;
  font-size: 14px;
  line-height: 1.6;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%);
  box-shadow: 0 8px 32px #17171920;
}

.connect-announcement.is-visible {
  opacity: 1;
}

.connect-dialog {
  color: #26222e;
  background: #fff;
  border: 1px solid #ede9f4;
  border-radius: 22px;
  width: min(440px, 100vw - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  box-shadow: 0 24px 100px #17171933;
}

.connect-dialog::backdrop {
  background: #211c35a6;
}

.connect-preview {
  text-align: center;
  padding: 35px 24px 27px;
  position: relative;
}

.connect-preview-close {
  color: #6f657e;
  cursor: pointer;
  background: #f5f2fa;
  border: 0;
  border-radius: 50%;
  place-items: center;
  width: 36px;
  height: 36px;
  display: grid;
  position: absolute;
  top: 12px;
  right: 12px;
}

.connect-preview-label {
  color: #84758d;
  letter-spacing: .12em;
  margin: 0 0 9px;
  font-size: 12px;
}

.connect-preview h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 750;
}

.connect-preview-image {
  background: #fff;
  align-items: center;
  width: min(320px, 100%);
  min-height: 180px;
  margin: 24px auto 16px;
  padding: 16px;
  display: grid;
}

.connect-preview-image img {
  object-fit: contain;
  width: 100%;
  height: auto;
  max-height: 42dvh;
  display: block;
}

.connect-preview-image p {
  font-size: 14px;
  line-height: 1.7;
}

#connect-preview-hint {
  color: #716777;
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}

.connect-preview-remark {
  color: #716777;
  margin: 7px 0 0;
  font-size: 12px;
}

.connect-preview > a {
  color: #6a4bb2;
  text-underline-offset: 4px;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  margin-top: 12px;
  font-size: 14px;
  text-decoration: underline;
  display: inline-flex;
}

/* ══════════════════════════════════════
   Card Styles (from inline-0.css)
   ══════════════════════════════════════ */

.connect-card {
  background: #fffcf6;
  border: 1px solid #f3dcb8;
  border-radius: 18px;
  flex-direction: column;
  min-width: 0;
  min-height: 448px;
  padding: 24px 24px 14px;
  scroll-margin-top: 24px;
  display: flex;
  transition: transform .22s ease, box-shadow .22s ease;
}

.connect-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px #00000014;
}

.connect-card-group {
  background: #edff7a;
  border-color: #dbe968;
}

.connect-card-personal {
  background: #edf6ff;
  border-color: #cadfec;
}

.connect-card-header {
  align-items: center;
  gap: 18px;
  min-height: 69px;
  display: flex;
}

.connect-card-header > div {
  min-width: 0;
}

.connect-card-icon {
  color: #382a19;
  background: #ffcd96;
  border-radius: 50%;
  flex: 0 0 60px;
  place-items: center;
  width: 60px;
  height: 60px;
  display: grid;
}

.connect-card-group .connect-card-icon {
  background: #d7ed38;
}

.connect-card-personal .connect-card-icon {
  background: #b4d5ed;
}

.connect-card h2 {
  color: #161717;
  letter-spacing: -.045em;
  margin: 0;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.45;
}

.connect-card-description {
  color: #616564;
  margin: 7px 0 0;
  font-size: 15px;
  line-height: 1.65;
}

.connect-card-code {
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 20px 0 16px;
  display: flex;
}

.connect-qr-button,
.connect-qr-empty {
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid #eeece6;
  border-radius: 7px;
  flex-shrink: 0;
  width: 212px;
  max-width: 100%;
  height: auto;
}

.connect-qr-button {
  cursor: zoom-in;
  place-items: center;
  padding: 15px;
  transition: border-color .16s, box-shadow .16s;
  display: grid;
}

.connect-qr-button:hover {
  border-color: #3d78ad;
  box-shadow: 0 4px 18px #1a304b0a;
}

.connect-qr-button:focus-visible {
  outline-offset: 5px;
  outline: 3px solid #397ba9;
}

.connect-qr-button img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
}

.connect-qr-empty {
  text-align: center;
  color: #617078;
  background: #ffffffb3;
  border-style: dashed;
  border-color: #abb8ad;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 16px;
  display: flex;
}

.connect-qr-empty strong {
  color: #394c54;
  font-size: 15px;
  font-weight: 650;
}

.connect-qr-empty span {
  color: #5c696d;
  max-width: 160px;
  font-size: 12px;
  line-height: 1.7;
}

.connect-card-code figcaption {
  color: #5a605c;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
}

.connect-card-footer {
  color: #565e57;
  border-top: 1px solid #303a3021;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  min-height: 57px;
  margin-top: auto;
  padding-top: 10px;
  font-size: 15px;
  line-height: 1.7;
  display: flex;
}

/* ── Responsive (inline-1 media queries) ── */
@media (width <= 1250px) {
  .connect-hero {
    grid-template-columns: 1.4fr 1fr;
    padding-inline: 0;
  }

  .connect-creator-identity {
    gap: 16px;
  }

  .connect-creator-identity > img {
    width: 90px;
    height: 90px;
  }

  .connect-creator-identity strong {
    font-size: 29px;
  }

  .connect-creator-identity p {
    font-size: 14px;
  }

  .connect-greeting {
    width: 140px;
    height: 70px;
    top: -57px;
    right: -8px;
  }

  .connect-creator-star {
    width: 28px;
    height: 28px;
    top: 86px;
    right: 15px;
  }

  .connect-cards-spark,
  .connect-hello-arrow,
  .connect-plane {
    display: none;
  }
}

@media (width <= 1100px) {
  .connect-shell {
    padding-inline: 28px;
  }

  .connect-header {
    min-height: 86px;
  }

  .connect-hero {
    gap: 24px;
    padding-top: 28px;
    padding-bottom: 30px;
  }

  .connect-intro h1 {
    font-size: clamp(46px, 6.1vw, 68px);
  }

  .connect-eyebrow {
    font-size: 14px;
  }

  .connect-lead {
    max-width: 390px;
    font-size: 15px;
  }

  .connect-creator-identity {
    gap: 12px;
  }

  .connect-creator-identity > img {
    width: 76px;
    height: 76px;
  }

  .connect-creator-identity p {
    white-space: normal;
  }

  .connect-options {
    gap: 16px;
  }

  .connect-scan-note {
    font-size: 20px;
  }

  .connect-footer {
    font-size: 12px;
  }
}

@media (width <= 760px) {
  .connect-shell {
    padding-inline: 22px;
  }

  .connect-header {
    gap: 10px;
    min-height: 78px;
  }

  .connect-brand-group {
    gap: 0;
  }

  .connect-header .site-brand {
    gap: 8px;
    font-size: 25px;
  }

  .connect-header .site-brand img {
    width: 29px;
    height: 29px;
  }

  .connect-header-label {
    display: none;
  }

  .connect-home {
    font-size: 13px;
  }

  .connect-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 25px 0 28px;
  }

  .connect-eyebrow {
    letter-spacing: .03em;
    margin-bottom: 12px;
    font-size: 13px;
  }

  .connect-intro h1 {
    letter-spacing: -.065em;
    font-size: clamp(40px, 12.6vw, 72px);
    line-height: 1.16;
  }

  .connect-lead {
    max-width: 100%;
    margin-top: 17px;
    font-size: 14px;
    line-height: 1.8;
  }

  .connect-creator {
    margin: 0;
    padding-top: 6px;
  }

  .connect-creator-identity {
    gap: 13px;
  }

  .connect-creator-identity > img {
    width: 58px;
    height: 58px;
  }

  .connect-creator-identity strong {
    font-size: 22px;
  }

  .connect-creator-identity p {
    margin-top: 5px;
    font-size: 12px;
  }

  .connect-greeting {
    width: 108px;
    height: 54px;
    top: -18px;
    right: -3px;
  }

  .connect-creator-star {
    width: 24px;
    height: 24px;
    top: 47px;
    right: 3px;
  }

  .connect-options {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .connect-scan-note {
    text-align: left;
    gap: 12px;
    margin-block: 25px;
    font-size: 15px;
    line-height: 1.8;
  }

  .connect-scan-note svg {
    width: 30px;
    height: 30px;
  }

  .connect-mobile-note {
    display: block;
  }

  .connect-note-dot {
    display: none;
  }

  .connect-footer {
    text-align: center;
    justify-content: center;
    gap: 6px;
    padding-block: 17px;
    font-size: 12px;
  }

  .connect-footer > * {
    flex-basis: 100%;
    justify-content: center;
  }
}

@media (width <= 359px) {
  .connect-shell {
    padding-inline: 16px;
  }

  .connect-intro h1 {
    font-size: 40px;
  }

  .connect-greeting {
    width: 90px;
    height: 45px;
    top: -27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .connect-stage {
    scroll-behavior: auto;
  }

  .connect-card {
    transition: none;
  }

  .connect-qr-button {
    transition: none;
  }
}

/* ── Card responsive (from inline-0 media queries) ── */
@media (width >= 761px) and (width <= 1100px) {
  .connect-card {
    min-height: 428px;
    padding: 18px 14px 12px;
  }

  .connect-card-header {
    align-items: flex-start;
    gap: 10px;
  }

  .connect-card-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .connect-card-icon svg {
    width: 22px;
    height: 22px;
  }

  .connect-card-description {
    font-size: 13px;
  }

  .connect-card h2 {
    font-size: 19px;
  }

  .connect-qr-button,
  .connect-qr-empty {
    aspect-ratio: 1;
    width: 190px;
    height: auto;
  }

  .connect-card-code figcaption,
  .connect-card-footer {
    font-size: 12px;
  }
}

@media (width <= 760px) {
  .connect-card {
    min-height: 426px;
    padding: 20px 20px 12px;
  }

  .connect-card-header {
    gap: 15px;
  }

  .connect-card-icon {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
  }

  .connect-card h2 {
    font-size: 23px;
  }

  .connect-card-description {
    font-size: 13px;
  }

  .connect-card-code {
    margin-top: 22px;
  }

  .connect-qr-button,
  .connect-qr-empty {
    aspect-ratio: 1;
    width: 220px;
    height: auto;
  }

  .connect-card-footer {
    font-size: 13px;
  }
}

@media (width <= 359px) {
  .connect-card {
    padding-inline: 15px;
  }

  .connect-card-header {
    gap: 10px;
  }

  .connect-card-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .connect-card h2 {
    font-size: 21px;
  }
}
