/* 喜劳转扩支持站：Apple Support 式信息层级，Leo/need 配色 */
:root {
  --ln: #00a0e9;
  --ln-deep: #0077b6;
  --ln-ick: #33aaee;
  --ln-saki: #ffdd45;
  --ln-hnm: #ee6666;
  --ln-shiho: #bbdd22;
  --ink: #101828;
  --ink-soft: #475467;
  --ink-muted: #7b8497;
  --line: rgba(16, 24, 40, .11);
  --paper: #fff;
  --paper-soft: #f5f7fa;
  --wrap: 1040px;
  --radius: 22px;
  --shadow: 0 12px 30px rgba(16, 24, 40, .075);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.wrap {
  width: min(calc(100% - 40px), var(--wrap));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(16, 24, 40, .08);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}

.site-header .wrap {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
}

.brand img { width: 30px; height: 30px; border-radius: 9px; }
.brand small { margin-left: 6px; color: var(--ink-muted); font-size: 11px; font-weight: 700; }

.header-back {
  padding: 8px 15px;
  border-radius: 999px;
  color: var(--ln-deep);
  background: rgba(0, 160, 233, .09);
  font-size: 13px;
  font-weight: 750;
  transition: background .18s ease, color .18s ease;
}

.header-back:hover { color: #fff; background: var(--ln-deep); }

.hero {
  padding: 76px 0 82px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(51, 170, 238, .14), transparent 42%),
    var(--paper);
}

.hero-mark {
  width: 82px;
  height: 82px;
  margin: 0 auto 26px;
  padding: 5px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: conic-gradient(var(--ln-ick), var(--ln-saki), var(--ln-hnm), var(--ln-shiho), var(--ln-ick));
  box-shadow: 0 16px 34px rgba(0, 160, 233, .18);
}

.hero-mark img {
  width: 100%;
  height: 100%;
  border: 5px solid #fff;
  border-radius: 21px;
}

.hero h1 { font-size: clamp(40px, 5vw, 58px); line-height: 1.08; letter-spacing: -.035em; }
.hero > .wrap > p { margin-top: 16px; color: var(--ink-soft); font-size: 18px; }

.support-search {
  position: relative;
  width: min(100%, 650px);
  margin: 34px auto 0;
}

.support-search input {
  width: 100%;
  height: 56px;
  padding: 0 74px 0 52px;
  border: 1px solid rgba(16, 24, 40, .18);
  border-radius: 14px;
  outline: none;
  color: var(--ink);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 7px 20px rgba(16, 24, 40, .055);
  font-size: 16px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.support-search input:focus {
  border-color: var(--ln);
  box-shadow: 0 0 0 4px rgba(0, 160, 233, .13), 0 8px 24px rgba(16, 24, 40, .06);
}

.search-icon {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 20px;
  width: 17px;
  height: 17px;
  border: 2px solid var(--ink-muted);
  border-radius: 50%;
  pointer-events: none;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  right: -6px;
  bottom: -3px;
  border-radius: 2px;
  background: var(--ink-muted);
  transform: rotate(45deg);
}

.support-search button {
  position: absolute;
  top: 0;
  right: 8px;
  height: 56px;
  padding: 0 12px;
  border: 0;
  color: var(--ln-deep);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  opacity: 0;
  pointer-events: none;
}

.support-search.has-value button { opacity: 1; pointer-events: auto; }

.primary-support { padding: 82px 0 94px; }

.section-heading { text-align: center; }
.section-heading > p { color: var(--ln-deep); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.section-heading h2 { margin-top: 10px; font-size: clamp(30px, 4vw, 40px); line-height: 1.14; letter-spacing: -.025em; }

.topics {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.topic {
  --topic-color: var(--ln);
  min-width: 0;
  min-height: 310px;
  padding: 30px 26px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(16, 24, 40, .07);
  border-radius: var(--radius);
  background: var(--paper-soft);
  box-shadow: 0 3px 12px rgba(16, 24, 40, .035);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.topic:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: var(--shadow);
}

.topic-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  background: var(--topic-color);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--topic-color) 24%, transparent);
  font-size: 28px;
  font-weight: 850;
}

.topic-type { margin-top: 22px; color: var(--topic-color); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.topic h3 { margin-top: 8px; font-size: 21px; line-height: 1.32; }
.topic > p:not(.topic-type) { margin-top: 10px; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.topic-link { margin-top: auto; padding-top: 18px; color: var(--topic-color); font-size: 14px; font-weight: 760; }
.topic-link i { font-style: normal; }
.topic:hover .topic-link { text-decoration: underline; text-underline-offset: 4px; }

.topic-a { --topic-color: var(--ln); }
.topic-b { --topic-color: var(--ln-ick); }
.topic-c { --topic-color: var(--ln-hnm); }
.topic-d { --topic-color: var(--ln); }
.topic-e { --topic-color: #729300; }
.topic-f { --topic-color: #987900; }

.support-lower { padding: 86px 0 96px; background: var(--paper-soft); }
.more-support { padding-bottom: 88px; }

.support-links {
  max-width: 820px;
  margin: 38px auto 0;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 40, .08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 24, 40, .045);
}

.support-link {
  --topic-color: var(--ln);
  min-height: 88px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.support-link.topic-d { --topic-color: var(--ln); }
.support-link.topic-e { --topic-color: #648600; }
.support-link.topic-f { --topic-color: #8a6c00; }

.support-link + .support-link { border-top: 1px solid var(--line); }
.support-link:hover { background: rgba(0, 160, 233, .035); }

.support-link-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--topic-color);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--topic-color) 13%, transparent);
}

.support-link span:nth-child(2) { min-width: 0; }
.support-link strong { display: block; font-size: 17px; }
.support-link small { display: block; margin-top: 5px; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.support-link i { color: var(--topic-color); font-style: normal; font-size: 20px; font-weight: 800; }

.faq { padding-bottom: 10px; }
.faq-list { max-width: 820px; margin: 38px auto 0; }

.faq-list details {
  border: 1px solid rgba(16, 24, 40, .09);
  border-radius: 16px;
  background: #fff;
}

.faq-list details + details { margin-top: 12px; }

.faq-list summary {
  min-height: 64px;
  padding: 17px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--ln);
  font-size: 22px;
  font-weight: 700;
}

.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 20px 20px; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }

.search-empty {
  padding: 56px 20px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 16px;
}

.search-empty a { color: var(--ln-deep); font-weight: 750; }

.is-filtered-out { display: none !important; }

.report-cta {
  max-width: 820px;
  margin-top: 76px;
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid rgba(0, 160, 233, .17);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 160, 233, .09), rgba(51, 170, 238, .035));
}

.report-cta p { color: var(--ln-deep); font-size: 12px; font-weight: 800; }
.report-cta strong { display: block; margin-top: 6px; font-size: 17px; line-height: 1.5; }

.report-cta > a {
  flex-shrink: 0;
  padding: 11px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--ln-deep);
  font-size: 14px;
  font-weight: 760;
}

.report-cta > a:hover { background: var(--ln); }

.hos-article {
  max-width: 760px;
  padding-top: 88px;
  padding-bottom: 100px;
}

.hos-kicker { color: var(--ln-deep); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.hos-article h1 { margin-top: 14px; font-size: clamp(34px, 5vw, 48px); line-height: 1.14; letter-spacing: -.025em; }
.hos-article > p { margin-top: 24px; color: var(--ink-soft); font-size: 16px; line-height: 1.9; }
.hos-article a { color: var(--ln-deep); font-weight: 700; }
.hos-article a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hos-back { margin-top: 44px !important; padding-top: 28px; border-top: 1px solid var(--line); }

.site-footer { border-top: 1px solid var(--line); background: #fff; }
.site-footer .wrap { min-height: 76px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; color: var(--ink-muted); font-size: 13px; }
.site-footer a:hover { color: var(--ln-deep); }

@media (max-width: 820px) {
  .topics { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .topic { min-height: 0; }
}

@media (max-width: 560px) {
  .wrap { width: min(calc(100% - 32px), var(--wrap)); }
  .site-header .wrap { height: 56px; }
  .hero { padding: 54px 0 62px; }
  .hero-mark { width: 72px; height: 72px; margin-bottom: 22px; border-radius: 23px; }
  .hero-mark img { border-radius: 18px; }
  .hero h1 { font-size: 39px; }
  .hero > .wrap > p { font-size: 16px; line-height: 1.65; }
  .support-search { margin-top: 28px; }
  .support-search input { height: 54px; }
  .primary-support { padding: 64px 0 72px; }
  .section-heading h2 { font-size: 30px; }
  .topics { margin-top: 32px; gap: 14px; }
  .topic { padding: 26px 22px 24px; border-radius: 18px; }
  .topic-icon { width: 56px; height: 56px; border-radius: 18px; font-size: 25px; }
  .support-lower { padding: 70px 0 78px; }
  .more-support { padding-bottom: 72px; }
  .support-links, .faq-list { margin-top: 30px; }
  .support-link { padding: 17px 18px; gap: 15px; }
  .support-link small { font-size: 13px; }
  .faq-list summary { font-size: 15px; }
  .report-cta { margin-top: 62px; padding: 24px; display: block; }
  .report-cta > a { display: inline-flex; margin-top: 18px; }
  .hos-article { padding-top: 64px; padding-bottom: 76px; }
  .site-footer .wrap { padding: 18px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .topic, .header-back { transition: none; }
}
