.is-contact-page .home-header, .is-contact-page .home-footer { display: none; }
.is-contact-page .home-section {
  position: relative; display: flex; flex-direction: column; width: 100%; height: 100dvh;
  margin: 0; padding: clamp(20px, 3dvh, 32px) clamp(20px, 4vw, 64px) 16px;
  overflow-y: auto; overflow-x: hidden;
}
.is-contact-page #homeSectionTitle { flex: none; margin: 0; text-align: center; font-size: clamp(28px, 2.8vw, 48px); font-weight: 500; letter-spacing: .16em; line-height: 1.4; }
.is-contact-page #homeSectionTitle::first-letter { color: var(--home-red); }
.is-contact-page .home-back { position: absolute; top: 22px; right: clamp(20px, 3vw, 48px); border-color: transparent; color: #646d7a; font-size: clamp(12px, 1.2vw, 18px); letter-spacing: .1em; direction: ltr; unicode-bidi: isolate; writing-mode: horizontal-tb; }
.is-contact-page .home-back:hover { color: var(--home-red); border-color: currentColor; }
.contact-page { display: flex; flex: 1 1 0; min-height: 0; flex-direction: column; width: min(100%, 1120px); margin: 0 auto; color: var(--ink); }
.contact-phone-heading { position: relative; left: 60%; transform: translateX(-50%); width: max-content; max-width: 100%; margin-bottom: 12px; text-align: center; }
.contact-subtitle { margin: 0; font-size: 20px; letter-spacing: .1em; line-height: 1.4; }
.contact-hint { margin: 3px 0 0; font-size: 13.75px; line-height: 1.4; color: #69717c; }
.contact-state { width: fit-content; max-width: 100%; margin: 0 auto 12px; padding: 6px 10px; border: 1px solid rgb(43 46 56 / 12%); border-radius: 999px; background: rgb(255 255 255 / 45%); font-size: 13.75px; line-height: 1.4; color: #69717c; text-align: center; overflow-wrap: anywhere; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; flex: 1; min-height: 0; gap: clamp(16px, 3vw, 48px); width: 100%; margin: 12px 0 0; }
.contact-phone-stage { position: relative; justify-self: center; width: min(100%, calc((100dvh - 205px) * 1535 / 1024)); }
.contact-panel-stage { width: 100%; min-width: 0; }
.contact-phone { position: relative; width: 100%; transform-origin: 58% 90%; filter: drop-shadow(0 5px 9px rgb(43 38 28 / 18%)); }
.contact-phone-image { display: block; width: 100%; height: auto; user-select: none; pointer-events: none; }
.contact-dial { position: absolute; aspect-ratio: 1; pointer-events: none; }
.contact-dial-plate, .contact-dial-artwork { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: hidden; }
.contact-dial-artwork { border-radius: 50%; }
.contact-rotor { position: absolute; inset: 0; transform-origin: 50% 50%; }
.contact-hotspots { position: absolute; inset: 0; pointer-events: none; }
.contact-hole { position: absolute; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 0; padding: 0; background: transparent; color: transparent; font-size: 0; pointer-events: auto; }
.contact-hole:hover, .contact-hole:focus-visible { box-shadow: 0 0 0 2px var(--home-red); outline: none; }
.contact-hole:disabled { cursor: wait; opacity: 1; }
.contact-screen { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact-image-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; padding: 20px; border: 1px solid rgb(43 46 56 / 16%); border-radius: 12px; background: rgb(255 255 255 / 60%); color: #69717c; font-size: 13px; text-align: center; line-height: 1.6; }
.contact-phone.is-image-missing .contact-phone-image { visibility: hidden; }
.contact-card { width: 100%; min-width: 0; padding: 14px 16px; border: 1px solid rgb(43 46 56 / 12%); border-radius: 14px; background: rgb(255 255 255 / 78%); box-shadow: 0 8px 24px rgb(43 46 56 / 7%); color: var(--ink); font-family: "Microsoft YaHei", "PingFang SC", sans-serif; }
.contact-panel { width: 100%; min-width: 0; }
.contact-panel h3 { margin: 0 0 10px; font-size: 16px; font-weight: 500; line-height: 1.4; }
.contact-directory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.contact-directory button { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 44px; padding: 6px 8px; border: 1px solid rgb(43 46 56 / 13%); border-radius: 8px; background: rgb(255 255 255 / 35%); text-align: left; font: inherit; font-size: 12px; color: var(--ink); }
.contact-directory button:hover { color: var(--home-red); border-color: currentColor; }
.contact-directory button:disabled { cursor: wait; }
.contact-directory b { order: -1; color: var(--home-red); font-family: ui-monospace, monospace; font-size: 16px; font-weight: 500; }
.contact-note { margin: 10px 0 0; color: #727986; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.contact-connected { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: #727986; font-size: 12px; line-height: 1.4; }
.contact-connected-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #3baf4b; }
#contactTopic { font-size: 20px; margin: 0 0 10px; }
#contactTopic:focus { outline: none; }
.contact-intro, .contact-points { margin: 0 0 14px; font-size: 13px; line-height: 1.7; color: #68717c; }
.contact-points { padding-left: 1.4em; }
.contact-rows { border-top: 1px solid rgb(43 46 56 / 12%); }
.contact-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) minmax(0, .9fr) auto; align-items: center; gap: 6px 10px; padding: 12px 0; border-bottom: 1px solid rgb(43 46 56 / 12%); }
.contact-row:last-child { border-bottom: 0; }
.contact-row-label { grid-column: 1; grid-row: 1; color: #8b8e95; font-size: 12px; }
.contact-value { grid-column: 2; grid-row: 1; min-width: 0; font-size: 14px; line-height: 1.5; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; user-select: text; }
a.contact-value { color: var(--home-red); }
a.contact-value:hover { text-decoration: underline; }
.contact-row-hint { grid-column: 3; grid-row: 1; min-width: 0; color: #94979d; font-size: 11px; line-height: 1.5; text-align: right; overflow-wrap: anywhere; }
.contact-row-action { grid-column: 4; grid-row: 1; justify-self: end; width: max-content; display: inline-block; min-height: 36px; padding: 7px 12px; border: 1px solid rgb(43 46 56 / 20%); border-radius: 9px; background: rgb(247 247 243 / 80%); color: var(--ink); font: inherit; font-size: 12px; line-height: 1.5; text-align: center; text-decoration: none; white-space: nowrap; }
.contact-row-action:hover { color: var(--home-red); border-color: currentColor; }
.contact-row-action:disabled { cursor: wait; }
.contact-copy-status { margin: 8px 0 0; color: #68717c; font-size: 11px; line-height: 1.5; }
.contact-redial { display: block; margin: 12px 0 0 auto; padding: 3px 0; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; background: transparent; color: #68717c; font: inherit; font-size: 11px; }
@media (max-width: 1100px) {
  .contact-row { grid-template-columns: 38px minmax(0, 1fr) auto; }
  .contact-row-label { grid-column: 1; grid-row: 1; }
  .contact-value { grid-column: 2; grid-row: 1; }
  .contact-row-hint { grid-column: 2; grid-row: 2; text-align: left; }
  .contact-row-action { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 600px) {
  .is-contact-page .home-section { padding: 30px 16px 12px; }
  .is-contact-page #homeSectionTitle { font-size: clamp(23px, 5.8vw, 32px); }
  .contact-subtitle { font-size: calc(13.75px * .85); letter-spacing: .04em; }
  .contact-hint { margin-top: 2px; font-size: calc(11.25px * .85); }
  .contact-state { padding: 4px 7px; margin-bottom: 10px; font-size: 10px; }
  .contact-page { flex: 1 0 auto; width: min(100%, 620px); }
  .contact-layout { display: flex; flex: none; flex-direction: column; gap: 12px; margin-top: 10px; }
  /* 上版电话再缩 10%；同排最多占 65%，给右侧说明保留可读列宽。 */
  .contact-phone-stage {
    --contact-phone-before: min(calc((100vw - 32px) * .8), 360px, max(96px, calc((100dvh - 500px) * 1535 / 1024)));
    --contact-phone-size: min(calc(var(--contact-phone-before) * 1.25 * .9), 65%);
    width: 100%; display: grid; grid-template-columns: var(--contact-phone-size) minmax(0, 1fr); align-items: center; gap: 10px;
  }
  .contact-phone { grid-column: 1; grid-row: 1; width: 100%; max-width: 100%; }
  .contact-phone-heading { grid-column: 2; grid-row: 1; position: static; transform: none; width: 100%; max-width: 100%; min-width: 0; margin: 0; text-align: center; overflow-wrap: anywhere; }
  .contact-card { padding: 8px 10px; }
  .contact-panel h3 { margin-bottom: 8px; font-size: 14px; }
  .contact-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .contact-directory button { font-size: 11px; padding: 6px; }
  .contact-directory b { font-size: 14px; }
  .contact-note { margin-top: 8px; font-size: 10px; line-height: 1.45; }
  .contact-connected { margin-bottom: 6px; font-size: 10px; }
  #contactTopic { margin-bottom: 8px; font-size: 16px; }
  .contact-intro, .contact-points { margin-bottom: 10px; font-size: 11px; line-height: 1.6; }
  .contact-row { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 3px 6px; padding: 8px 0; }
  .contact-row-label { font-size: 10px; }
  .contact-value { font-size: 12px; }
  .contact-row-hint { font-size: 9px; }
  .contact-row-action { padding: 6px 8px; font-size: 11px; }
  .contact-copy-status { font-size: 10px; }
  .contact-redial { margin-top: 8px; font-size: 10px; }
}
