/* Alipay render-compat V1 — additive only.
   1) Home artwork keeps its exact current box and hotspot geometry.
   2) The artwork container is sized by the image itself, so a failed/blocked
      image collapses instead of leaving a blank 764px box above the fold.
   3) A real, visible service copy block sits below the artwork and carries a
      working 开始测试 entry that delegates to the existing hotspot.
   No existing stylesheet file is modified; overrides use higher specificity. */

/* Make the artwork box follow the image height instead of a fixed aspect ratio.
   Specificity (1,2,0) beats exact-v3-bindings.css `#homeView.home-canvas > *`. */
#homeView.home-canvas { aspect-ratio: auto; }
#homeView.home-canvas > .home-visual-wrap {
  position: relative;
  display: block;
  width: 100%;
  z-index: auto;
  background: #fff;
}
.home-visual-wrap > .home-visual {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  z-index: 0;
}
.home-visual-wrap > .hotspot { z-index: 5; }

/* Visible service copy */
/* The service copy lives INSIDE #homeView, so it inherits the existing
   `.view{display:none}` / `.view-active{display:block}` class toggle.
   No :has() is involved, so it can never leak into the quiz or result views
   on any browser, and it never depends on a partially-supported selector. */
#homeView.home-canvas > .home-copy {
  position: static;
  z-index: auto;
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 24px 22px 28px;
  background: #fff;
  color: var(--deep);
  text-align: left;
}

.home-copy h2 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--blue);
}
.home-copy p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.8;
  color: #24508f;
}
.home-copy-start {
  display: block;
  width: 100%;
  height: 48px;
  margin: 0 0 16px;
  border: 0;
  border-radius: 24px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-size: 16px;
  letter-spacing: .08em;
  cursor: pointer;
}
.home-copy-facts {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.95;
  color: #24508f;
}
.home-copy-facts b { color: var(--deep); font-weight: 700; }

/* Real, plain hyperlink to the secondary page — works without JavaScript. */
.home-copy-link {
  display: inline-block;
  margin: 0 0 16px;
  padding: 9px 16px;
  border: 1px solid #83a9ef;
  border-radius: 20px;
  color: var(--blue);
  font-size: 14px;
  letter-spacing: .06em;
  text-decoration: none;
}
.home-copy-note {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #dbe7f8;
  font-size: 12px;
  line-height: 1.7;
  color: #6688c8;
}

@media (max-width: 480px) {
  .home-copy { padding: 22px 18px 26px; }
}
