/* 设计哲学：生活技能动漫实验室。以斜向时间线、岛屿式内容群落、纸纹层次、鼠尾草绿与杏橙为主色，持续强化海角的动漫主题、品牌辨识与移动端浏览体验。 */
:root {
  --bg: #f7f4ec;
  --paper: #fffdf8;
  --ink: #173f38;
  --muted: #5d6f67;
  --line: #d9d3c5;
  --accent: #f29e72;
  --accent-deep: #df7f54;
  --sage: #7fb5a6;
  --sage-deep: #385f54;
  --sky: #e4f1f3;
  --soft: #f2ece0;
  --shadow: 0 18px 50px rgba(23, 63, 56, 0.08);
  --radius: 28px;
  --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans SC', sans-serif;
  line-height: 1.72;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(127,181,166,0.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(242,158,114,0.12), transparent 24%),
    var(--bg);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; border-radius: 24px; }
button, input { font: inherit; }
.page-shell { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.top-ticker {
  background: linear-gradient(90deg, rgba(23,63,56,0.97), rgba(44,85,76,0.96));
  color: #eef7f3;
  font-size: 14px;
}
.top-ticker-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 10px 0;
}
.top-ticker p { margin: 0; max-width: 860px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(247, 244, 236, 0.9);
  border-bottom: 1px solid rgba(217,211,197,0.86);
}
.header-branding {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px 0 12px;
}
.logo-link img { width: 250px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.eyebrow::before {
  content: '';
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.header-copy h1,
.hero-copy h2,
.section-heading h2,
.content-panel h2,
.sub-hero h2,
.video-meta h3,
.trust-card h3,
.bullet-card h3,
.json-card h3,
.expert-card h3,
.join-step h3,
.contact-card h3,
.review-card h3,
.footer-card h2 {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
}
.header-copy h1 { margin: 0 0 8px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.12; }
.header-copy p { margin: 0; color: var(--muted); }
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.82);
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}
.main-nav a:hover,
.main-nav a:focus-visible { border-color: var(--accent); background: #fff; transform: translateY(-2px); }
.search-strip { display: grid; gap: 8px; padding: 0 0 18px; }
.search-strip label { font-weight: 700; }
.search-box { display: grid; grid-template-columns: 1fr 132px; gap: 10px; }
.search-box input {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  outline: none;
  background: rgba(255,255,255,.88);
}
.search-box input:focus { border-color: var(--sage); box-shadow: 0 0 0 4px rgba(127,181,166,.14); }
.fake-search-button,
.button-primary,
.button-secondary,
.play-layer,
.share-button,
.expert-actions a {
  border: none;
  border-radius: 18px;
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}
.fake-search-button,
.button-primary,
.expert-actions .primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: white;
  box-shadow: 0 14px 30px rgba(223,127,84,.24);
}
.button-secondary,
.expert-actions .secondary {
  background: rgba(255,255,255,.82);
  color: var(--ink);
  border: 1px solid var(--line);
}
.fake-search-button:hover,
.button-primary:hover,
.button-secondary:hover,
.share-button:hover,
.expert-actions a:hover { transform: translateY(-2px); }
.fake-search-button { padding: 0 18px; }
.search-tip, .breadcrumb { margin: 0; color: var(--muted); font-size: 14px; }
.breadcrumb { padding-bottom: 18px; }
.hero-section, .sub-hero { padding: 40px 0 18px; }
.hero-grid, .sub-hero-grid, .split-grid, .two-column-lab {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 28px;
  align-items: center;
}
.hero-copy,
.content-panel,
.sub-hero-grid .content-panel,
.trust-card,
.bullet-card,
.json-card,
.expert-card,
.join-step,
.contact-card,
.review-card,
.share-button,
.footer-card {
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(217,211,197,.82);
  box-shadow: var(--shadow);
}
.hero-copy,
.content-panel,
.sub-hero-grid .content-panel { border-radius: 36px; padding: 34px; position: relative; }
.hero-copy::after {
  content: '海角';
  position: absolute;
  right: 16px;
  bottom: 12px;
  font-family: 'Ma Shan Zheng', cursive;
  font-size: clamp(3rem, 8vw, 5.8rem);
  color: rgba(127,181,166,.16);
  pointer-events: none;
}
.hero-copy h2, .sub-hero h2 { margin: 0 0 14px; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.16; }
.hero-copy p, .content-panel p { margin: 0 0 18px; color: var(--muted); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0;
}
.hero-stats article {
  background: rgba(247,244,236,.95);
  border-radius: 20px;
  padding: 18px;
}
.hero-stats strong { display: block; font-family: 'Manrope', sans-serif; font-size: 1.6rem; }
.hero-actions, .expert-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button-primary, .button-secondary, .expert-actions a { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; min-height: 50px; }
.hero-visual, .sub-hero-image { position: relative; }
.hero-visual img, .sub-hero-image img { min-height: 420px; width: 100%; object-fit: cover; box-shadow: 0 24px 50px rgba(23,63,56,.12); }
.floating-note {
  position: absolute;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(217,211,197,.92);
  box-shadow: var(--shadow);
  font-weight: 700;
  backdrop-filter: blur(10px);
}
.note-a { left: 18px; bottom: 18px; }
.note-b { right: 18px; top: 18px; }
.section-block { padding: 28px 0 38px; }
.alt-bg { background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(228,241,243,.46)); }
.section-heading { max-width: 920px; margin: 0 auto 22px; text-align: center; }
.section-heading.left { margin-left: 0; text-align: left; }
.section-heading h2 { margin: 0 0 12px; font-size: clamp(1.85rem, 3vw, 3rem); }
.section-heading p { margin: 0; color: var(--muted); }
.trust-grid, .bullet-grid, .json-grid, .expert-grid, .review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust-card, .bullet-card, .json-card, .expert-card, .join-step, .contact-card, .review-card { border-radius: 24px; padding: 22px; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.video-card {
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(217,211,197,.82);
  box-shadow: var(--shadow);
  transition: transform .45s ease, box-shadow .45s ease;
}
.video-card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 28px 60px rgba(23,63,56,.14); }
.video-poster { position: relative; overflow: hidden; }
.video-poster img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 28px 28px 0 0;
  transition: transform .55s ease;
}
.video-card:hover .video-poster img { transform: scale(1.04); }
.play-layer {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: rgba(23,63,56,.8);
  color: white;
  opacity: 0;
  transform: translateY(10px);
}
.video-card:hover .play-layer,
.video-card:focus-within .play-layer { opacity: 1; transform: translateY(0); }
.video-meta { padding: 20px 20px 24px; }
.video-meta .tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(127,181,166,.16);
  color: var(--sage-deep);
  font-size: 13px;
  font-weight: 700;
}
.video-meta h3 { margin: 0 0 10px; font-size: 1.26rem; line-height: 1.42; }
.video-meta p { margin: 0 0 14px; color: var(--muted); }
.video-meta dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.video-meta dl div { padding: 12px; border-radius: 18px; background: rgba(247,244,236,.95); }
.video-meta dt { font-size: 13px; color: var(--muted); }
.video-meta dd { margin: 6px 0 0; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.04rem; }
.image-panel {
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(217,211,197,.82);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: 18px;
}
.image-panel img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.caption { margin: 12px 4px 0; color: var(--muted); font-size: 14px; }
.feature-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}
.feature-list li {
  position: relative;
  padding: 14px 16px 14px 48px;
  border-radius: 18px;
  background: rgba(247,244,236,.96);
}
.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 16px;
  top: 12px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 12px;
}
.tag-cloud, .logo-wall { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud span, .logo-wall span {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  border: 1px solid var(--line);
}
.json-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 18px; align-items: start; }
.compact-json { grid-template-columns: .88fr 1.12fr; }
.json-pre, .code-box {
  margin: 0;
  min-height: 100%;
  white-space: pre-wrap;
  word-break: break-word;
  background: #163f38;
  color: #e9f4ef;
  border-radius: 26px;
  padding: 22px;
  overflow: auto;
  box-shadow: var(--shadow);
}
.join-steps { display: grid; gap: 14px; }
.join-step figure { margin: 0 0 14px; }
.join-step img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.join-step .step-no {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(242,158,114,.18);
  color: var(--accent-deep);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
}
.contact-card ul, .expert-card ul { margin: 14px 0 0; padding-left: 18px; }
.contact-card img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; margin: 0 0 16px; }
.review-card blockquote { margin: 0 0 12px; font-family: 'Noto Serif SC', serif; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 20px;
}
.faq-list summary { cursor: pointer; font-weight: 800; }
.faq-list p { margin: 12px 0 0; color: var(--muted); }
.share-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.share-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: 88px;
  padding: 18px;
  color: var(--ink);
  font-weight: 800;
}
.share-button small { color: var(--muted); font-weight: 500; }
.site-footer {
  padding: 34px 0 26px;
  border-top: 1px solid rgba(217,211,197,.92);
  background: linear-gradient(180deg, rgba(255,252,246,.96), rgba(241,246,242,.98));
}
.footer-grid { display: grid; grid-template-columns: 1.08fr .92fr 1fr; gap: 18px; }
.footer-card { border-radius: 30px; padding: 24px; }
.footer-logo { width: 220px; margin: 0 0 18px; }
.qr-wrap { display: flex; gap: 14px; flex-wrap: wrap; }
.qr-wrap figure { margin: 0; }
.qr-wrap img { width: 152px; height: 180px; object-fit: contain; background: white; }
.qr-wrap figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.footer-meta { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; color: var(--muted); }
.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(120px);
  background: rgba(23,63,56,.92);
  color: white;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 18px 35px rgba(23,63,56,.18);
  transition: transform .35s ease, opacity .35s ease;
  opacity: 0;
  z-index: 80;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 1120px) {
  .hero-grid, .sub-hero-grid, .split-grid, .two-column-lab, .footer-grid, .header-branding, .json-layout {
    grid-template-columns: 1fr;
  }
  .video-grid, .trust-grid, .bullet-grid, .json-grid, .expert-grid, .review-grid, .share-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .top-ticker-inner, .footer-meta { flex-direction: column; align-items: flex-start; }
  .search-box { grid-template-columns: 1fr; }
  .hero-stats, .video-grid, .trust-grid, .bullet-grid, .json-grid, .expert-grid, .review-grid, .share-row { grid-template-columns: 1fr; }
  .hero-copy, .content-panel, .sub-hero-grid .content-panel, .trust-card, .bullet-card, .json-card, .expert-card, .join-step, .contact-card, .review-card, .footer-card { padding: 20px; }
  .header-copy h1, .hero-copy h2, .sub-hero h2 { font-size: 1.95rem; }
  .video-meta dl { grid-template-columns: 1fr; }
}
